From 84236b1a97dac6fc43ba593b98577f7b820a1c36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Fri, 5 Jul 2013 20:20:56 +0200 Subject: RPM Packaging: rename lots of SPEC files --- redhat/applications/abakus/abakus-3.5.12.spec | 93 + redhat/applications/abakus/abakus-3.5.13.1.spec | 126 + redhat/applications/abakus/abakus-3.5.13.2.spec | 126 + redhat/applications/abakus/abakus-3.5.13.spec | 107 + .../applications/abakus/trinity-abakus-3.5.12.spec | 93 - .../abakus/trinity-abakus-3.5.13.1.spec | 126 - .../abakus/trinity-abakus-3.5.13.2.spec | 126 - .../applications/abakus/trinity-abakus-3.5.13.spec | 107 - redhat/applications/adept/adept-3.5.13.2.spec | 198 ++ .../applications/adept/trinity-adept-3.5.13.2.spec | 198 -- redhat/applications/amarok/amarok-3.5.13.1.spec | 406 +++ redhat/applications/amarok/amarok-3.5.13.2.spec | 430 +++ redhat/applications/amarok/amarok-3.5.13.spec | 381 +++ .../amarok/trinity-amarok-3.5.13.1.spec | 406 --- .../amarok/trinity-amarok-3.5.13.2.spec | 430 --- .../applications/amarok/trinity-amarok-3.5.13.spec | 381 --- redhat/applications/basket/basket-3.5.12.spec | 118 + redhat/applications/basket/basket-3.5.13.1.spec | 165 + redhat/applications/basket/basket-3.5.13.2.spec | 164 + redhat/applications/basket/basket-3.5.13.spec | 164 + .../applications/basket/trinity-basket-3.5.12.spec | 118 - .../basket/trinity-basket-3.5.13.1.spec | 165 - .../basket/trinity-basket-3.5.13.2.spec | 164 - .../applications/basket/trinity-basket-3.5.13.spec | 164 - .../applications/bibletime/bibletime-3.5.13.1.spec | 164 + .../applications/bibletime/bibletime-3.5.13.2.spec | 157 + .../applications/bibletime/bibletime-3.5.13.spec | 159 + .../bibletime/trinity-bibletime-3.5.13.1.spec | 164 - .../bibletime/trinity-bibletime-3.5.13.2.spec | 157 - .../bibletime/trinity-bibletime-3.5.13.spec | 159 - .../compizconfig-backend-kconfig-3.5.12.spec | 90 + ...rinity-compizconfig-backend-kconfig-3.5.12.spec | 90 - redhat/applications/digikam/digikam-3.5.13.1.spec | 341 ++ redhat/applications/digikam/digikam-3.5.13.2.spec | 345 ++ redhat/applications/digikam/digikam-3.5.13.spec | 297 ++ .../digikam/trinity-digikam-3.5.13.1.spec | 341 -- .../digikam/trinity-digikam-3.5.13.2.spec | 345 -- .../digikam/trinity-digikam-3.5.13.spec | 297 -- redhat/applications/dolphin/dolphin-3.5.12.spec | 134 + redhat/applications/dolphin/dolphin-3.5.13.1.spec | 197 ++ redhat/applications/dolphin/dolphin-3.5.13.2.spec | 196 ++ redhat/applications/dolphin/dolphin-3.5.13.spec | 180 + .../dolphin/trinity-dolphin-3.5.12.spec | 134 - .../dolphin/trinity-dolphin-3.5.13.1.spec | 197 -- .../dolphin/trinity-dolphin-3.5.13.2.spec | 196 -- .../dolphin/trinity-dolphin-3.5.13.spec | 180 - .../filelight-l10n/filelight-l10n.spec | 123 + .../filelight-l10n/trinity-filelight-l10n.spec | 123 - .../applications/filelight/filelight-3.5.12.spec | 106 + .../applications/filelight/filelight-3.5.13.1.spec | 158 + .../applications/filelight/filelight-3.5.13.2.spec | 161 + .../applications/filelight/filelight-3.5.13.spec | 141 + .../filelight/trinity-filelight-3.5.12.spec | 106 - .../filelight/trinity-filelight-3.5.13.1.spec | 158 - .../filelight/trinity-filelight-3.5.13.2.spec | 161 - .../filelight/trinity-filelight-3.5.13.spec | 141 - redhat/applications/fusion-icon/fusion-icon.spec | 119 + .../fusion-icon/trinity-fusion-icon.spec | 119 - .../gtk-qt-engine/gtk-qt-engine-3.5.13.1.spec | 149 + .../gtk-qt-engine/gtk-qt-engine-3.5.13.2.spec | 152 + .../gtk-qt-engine/gtk-qt-engine-3.5.13.spec | 145 + .../trinity-gtk-qt-engine-3.5.13.1.spec | 149 - .../trinity-gtk-qt-engine-3.5.13.2.spec | 152 - .../trinity-gtk-qt-engine-3.5.13.spec | 145 - .../gwenview-i18n/gwenview-i18n-3.5.13.1.spec | 180 + .../gwenview-i18n/gwenview-i18n-3.5.13.2.spec | 184 + .../trinity-gwenview-i18n-3.5.13.1.spec | 180 - .../trinity-gwenview-i18n-3.5.13.2.spec | 184 - redhat/applications/gwenview/gwenview-3.5.12.spec | 153 + .../applications/gwenview/gwenview-3.5.13.1.spec | 255 ++ .../applications/gwenview/gwenview-3.5.13.2.spec | 246 ++ redhat/applications/gwenview/gwenview-3.5.13.spec | 269 ++ .../gwenview/trinity-gwenview-3.5.12.spec | 153 - .../gwenview/trinity-gwenview-3.5.13.1.spec | 255 -- .../gwenview/trinity-gwenview-3.5.13.2.spec | 246 -- .../gwenview/trinity-gwenview-3.5.13.spec | 269 -- .../applications/k3b-i18n/k3b-i18n-3.5.13.1.spec | 325 ++ .../applications/k3b-i18n/k3b-i18n-3.5.13.2.spec | 328 ++ redhat/applications/k3b-i18n/k3b-i18n-3.5.13.spec | 308 ++ .../k3b-i18n/trinity-k3b-i18n-3.5.13.1.spec | 325 -- .../k3b-i18n/trinity-k3b-i18n-3.5.13.2.spec | 328 -- .../k3b-i18n/trinity-k3b-i18n-3.5.13.spec | 308 -- redhat/applications/k3b/k3b-3.5.12.spec | 282 ++ redhat/applications/k3b/k3b-3.5.13.1.spec | 409 +++ redhat/applications/k3b/k3b-3.5.13.2.spec | 492 +++ redhat/applications/k3b/k3b-3.5.13.spec | 319 ++ redhat/applications/k3b/trinity-k3b-3.5.12.spec | 282 -- redhat/applications/k3b/trinity-k3b-3.5.13.1.spec | 409 --- redhat/applications/k3b/trinity-k3b-3.5.13.2.spec | 492 --- redhat/applications/k3b/trinity-k3b-3.5.13.spec | 319 -- redhat/applications/k9copy/k9copy-3.5.13.1.spec | 148 + redhat/applications/k9copy/k9copy-3.5.13.2.spec | 161 + redhat/applications/k9copy/k9copy-3.5.13.spec | 164 + .../k9copy/trinity-k9copy-3.5.13.1.spec | 148 - .../k9copy/trinity-k9copy-3.5.13.2.spec | 161 - .../applications/k9copy/trinity-k9copy-3.5.13.spec | 164 - .../kaffeine-mozilla-3.5.13.1.spec | 134 + .../kaffeine-mozilla-3.5.13.2.spec | 143 + .../kaffeine-mozilla/kaffeine-mozilla-3.5.13.spec | 121 + .../trinity-kaffeine-mozilla-3.5.13.1.spec | 134 - .../trinity-kaffeine-mozilla-3.5.13.2.spec | 143 - .../trinity-kaffeine-mozilla-3.5.13.spec | 121 - .../applications/kaffeine/kaffeine-3.5.13.1.spec | 284 ++ .../applications/kaffeine/kaffeine-3.5.13.2.spec | 304 ++ redhat/applications/kaffeine/kaffeine-3.5.13.spec | 305 ++ .../kaffeine/trinity-kaffeine-3.5.13.1.spec | 284 -- .../kaffeine/trinity-kaffeine-3.5.13.2.spec | 304 -- .../kaffeine/trinity-kaffeine-3.5.13.spec | 305 -- redhat/applications/katapult/katapult-3.5.12.spec | 120 + .../applications/katapult/katapult-3.5.13.1.spec | 196 ++ .../applications/katapult/katapult-3.5.13.2.spec | 199 ++ redhat/applications/katapult/katapult-3.5.13.spec | 189 ++ .../katapult/trinity-katapult-3.5.12.spec | 120 - .../katapult/trinity-katapult-3.5.13.1.spec | 196 -- .../katapult/trinity-katapult-3.5.13.2.spec | 199 -- .../katapult/trinity-katapult-3.5.13.spec | 189 -- .../applications/kbarcode/kbarcode-3.5.13.1.spec | 160 + .../applications/kbarcode/kbarcode-3.5.13.2.spec | 163 + redhat/applications/kbarcode/kbarcode-3.5.13.spec | 161 + .../kbarcode/trinity-kbarcode-3.5.13.1.spec | 160 - .../kbarcode/trinity-kbarcode-3.5.13.2.spec | 163 - .../kbarcode/trinity-kbarcode-3.5.13.spec | 161 - redhat/applications/kbfx/kbfx-3.5.13.1.spec | 169 + redhat/applications/kbfx/kbfx-3.5.13.2.spec | 175 + redhat/applications/kbfx/kbfx-3.5.13.spec | 165 + .../applications/kbfx/trinity-kbfx-3.5.13.1.spec | 169 - .../applications/kbfx/trinity-kbfx-3.5.13.2.spec | 175 - redhat/applications/kbfx/trinity-kbfx-3.5.13.spec | 165 - .../kbookreader/kbookreader-3.5.13.1.spec | 156 + .../kbookreader/kbookreader-3.5.13.2.spec | 159 + .../kbookreader/kbookreader-3.5.13.spec | 147 + .../kbookreader/trinity-kbookreader-3.5.13.1.spec | 156 - .../kbookreader/trinity-kbookreader-3.5.13.2.spec | 159 - .../kbookreader/trinity-kbookreader-3.5.13.spec | 147 - .../kchmviewer/kchmviewer-3.5.13.1.spec | 158 + .../kchmviewer/kchmviewer-3.5.13.2.spec | 162 + .../applications/kchmviewer/kchmviewer-3.5.13.spec | 149 + .../kchmviewer/trinity-kchmviewer-3.5.13.1.spec | 158 - .../kchmviewer/trinity-kchmviewer-3.5.13.2.spec | 162 - .../kchmviewer/trinity-kchmviewer-3.5.13.spec | 149 - .../applications/kcpuload/kcpuload-3.5.13.1.spec | 139 + .../applications/kcpuload/kcpuload-3.5.13.2.spec | 142 + redhat/applications/kcpuload/kcpuload-3.5.13.spec | 130 + .../kcpuload/trinity-kcpuload-3.5.13.1.spec | 139 - .../kcpuload/trinity-kcpuload-3.5.13.2.spec | 142 - .../kcpuload/trinity-kcpuload-3.5.13.spec | 130 - .../kdbusnotification-3.5.13.1.spec | 129 + .../kdbusnotification-3.5.13.2.spec | 132 + .../kdbusnotification-3.5.13.spec | 119 + .../trinity-kdbusnotification-3.5.13.1.spec | 129 - .../trinity-kdbusnotification-3.5.13.2.spec | 132 - .../trinity-kdbusnotification-3.5.13.spec | 119 - redhat/applications/kdiff3/kdiff3-3.5.12.spec | 111 + redhat/applications/kdiff3/kdiff3-3.5.13.1.spec | 159 + redhat/applications/kdiff3/kdiff3-3.5.13.2.spec | 168 + redhat/applications/kdiff3/kdiff3-3.5.13.spec | 160 + .../applications/kdiff3/trinity-kdiff3-3.5.12.spec | 111 - .../kdiff3/trinity-kdiff3-3.5.13.1.spec | 159 - .../kdiff3/trinity-kdiff3-3.5.13.2.spec | 168 - .../applications/kdiff3/trinity-kdiff3-3.5.13.spec | 160 - .../applications/kdirstat/kdirstat-3.5.13.1.spec | 148 + .../applications/kdirstat/kdirstat-3.5.13.2.spec | 151 + redhat/applications/kdirstat/kdirstat-3.5.13.spec | 139 + .../kdirstat/trinity-kdirstat-3.5.13.1.spec | 148 - .../kdirstat/trinity-kdirstat-3.5.13.2.spec | 151 - .../kdirstat/trinity-kdirstat-3.5.13.spec | 139 - redhat/applications/keep/keep-3.5.13.1.spec | 139 + redhat/applications/keep/keep-3.5.13.2.spec | 142 + redhat/applications/keep/keep-3.5.13.spec | 130 + .../applications/keep/trinity-keep-3.5.13.1.spec | 139 - .../applications/keep/trinity-keep-3.5.13.2.spec | 142 - redhat/applications/keep/trinity-keep-3.5.13.spec | 130 - redhat/applications/kerry/kerry-3.5.13.1.spec | 158 + redhat/applications/kerry/kerry-3.5.13.2.spec | 161 + redhat/applications/kerry/kerry-3.5.13.spec | 153 + .../applications/kerry/trinity-kerry-3.5.13.1.spec | 158 - .../applications/kerry/trinity-kerry-3.5.13.2.spec | 161 - .../applications/kerry/trinity-kerry-3.5.13.spec | 153 - .../applications/kgtk-qt3/kgtk-qt3-3.5.13.1.spec | 145 + .../applications/kgtk-qt3/kgtk-qt3-3.5.13.2.spec | 148 + redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13.spec | 138 + .../kgtk-qt3/trinity-kgtk-qt3-3.5.13.1.spec | 145 - .../kgtk-qt3/trinity-kgtk-qt3-3.5.13.2.spec | 148 - .../kgtk-qt3/trinity-kgtk-qt3-3.5.13.spec | 138 - redhat/applications/kile/kile-3.5.13.1.spec | 210 ++ redhat/applications/kile/kile-3.5.13.2.spec | 213 ++ redhat/applications/kile/kile-3.5.13.spec | 648 ++++ .../applications/kile/trinity-kile-3.5.13.1.spec | 210 -- .../applications/kile/trinity-kile-3.5.13.2.spec | 213 -- redhat/applications/kile/trinity-kile-3.5.13.spec | 648 ---- redhat/applications/kima/kima-3.5.13.1.spec | 127 + redhat/applications/kima/kima-3.5.13.2.spec | 130 + redhat/applications/kima/kima-3.5.13.spec | 118 + .../applications/kima/trinity-kima-3.5.13.1.spec | 127 - .../applications/kima/trinity-kima-3.5.13.2.spec | 130 - redhat/applications/kima/trinity-kima-3.5.13.spec | 118 - .../applications/kiosktool/kiosktool-3.5.13.1.spec | 159 + .../applications/kiosktool/kiosktool-3.5.13.2.spec | 162 + .../applications/kiosktool/kiosktool-3.5.13.spec | 150 + .../kiosktool/trinity-kiosktool-3.5.13.1.spec | 159 - .../kiosktool/trinity-kiosktool-3.5.13.2.spec | 162 - .../kiosktool/trinity-kiosktool-3.5.13.spec | 150 - .../applications/kmplayer/kmplayer-3.5.13.1.spec | 247 ++ .../applications/kmplayer/kmplayer-3.5.13.2.spec | 252 ++ redhat/applications/kmplayer/kmplayer-3.5.13.spec | 232 ++ .../kmplayer/trinity-kmplayer-3.5.13.1.spec | 247 -- .../kmplayer/trinity-kmplayer-3.5.13.2.spec | 252 -- .../kmplayer/trinity-kmplayer-3.5.13.spec | 232 -- .../kmyfirewall/kmyfirewall-3.5.13.1.spec | 208 ++ .../kmyfirewall/kmyfirewall-3.5.13.2.spec | 211 ++ .../kmyfirewall/kmyfirewall-3.5.13.spec | 207 ++ .../kmyfirewall/trinity-kmyfirewall-3.5.13.1.spec | 208 -- .../kmyfirewall/trinity-kmyfirewall-3.5.13.2.spec | 211 -- .../kmyfirewall/trinity-kmyfirewall-3.5.13.spec | 207 -- .../applications/kmymoney/kmymoney-3.5.13.1.spec | 277 ++ .../applications/kmymoney/kmymoney-3.5.13.2.spec | 303 ++ redhat/applications/kmymoney/kmymoney-3.5.13.spec | 278 ++ .../kmymoney/trinity-kmymoney-3.5.13.1.spec | 277 -- .../kmymoney/trinity-kmymoney-3.5.13.2.spec | 303 -- .../kmymoney/trinity-kmymoney-3.5.13.spec | 278 -- redhat/applications/knemo/knemo-3.5.13.1.spec | 143 + redhat/applications/knemo/knemo-3.5.13.2.spec | 150 + redhat/applications/knemo/knemo-3.5.13.spec | 135 + .../applications/knemo/trinity-knemo-3.5.13.1.spec | 143 - .../applications/knemo/trinity-knemo-3.5.13.2.spec | 150 - .../applications/knemo/trinity-knemo-3.5.13.spec | 135 - .../applications/knetload/knetload-3.5.13.1.spec | 144 + .../applications/knetload/knetload-3.5.13.2.spec | 147 + redhat/applications/knetload/knetload-3.5.13.spec | 136 + .../knetload/trinity-knetload-3.5.13.1.spec | 144 - .../knetload/trinity-knetload-3.5.13.2.spec | 147 - .../knetload/trinity-knetload-3.5.13.spec | 136 - .../applications/knetstats/knetstats-3.5.13.1.spec | 132 + .../applications/knetstats/knetstats-3.5.13.2.spec | 135 + .../applications/knetstats/knetstats-3.5.13.spec | 124 + .../knetstats/trinity-knetstats-3.5.13.1.spec | 132 - .../knetstats/trinity-knetstats-3.5.13.2.spec | 135 - .../knetstats/trinity-knetstats-3.5.13.spec | 124 - .../knetworkmanager8/knetworkmanager-3.5.13.1.spec | 186 ++ .../knetworkmanager8/knetworkmanager-3.5.13.2.spec | 189 ++ .../knetworkmanager8/knetworkmanager-3.5.13.spec | 180 + .../trinity-knetworkmanager-3.5.13.1.spec | 186 -- .../trinity-knetworkmanager-3.5.13.2.spec | 189 -- .../trinity-knetworkmanager-3.5.13.spec | 180 - redhat/applications/knights/knights-3.5.13.1.spec | 145 + redhat/applications/knights/knights-3.5.13.2.spec | 148 + redhat/applications/knights/knights-3.5.13.spec | 137 + .../knights/trinity-knights-3.5.13.1.spec | 145 - .../knights/trinity-knights-3.5.13.2.spec | 148 - .../knights/trinity-knights-3.5.13.spec | 137 - redhat/applications/knowit/knowit-3.5.13.1.spec | 142 + redhat/applications/knowit/knowit-3.5.13.2.spec | 145 + redhat/applications/knowit/knowit-3.5.13.spec | 134 + .../knowit/trinity-knowit-3.5.13.1.spec | 142 - .../knowit/trinity-knowit-3.5.13.2.spec | 145 - .../applications/knowit/trinity-knowit-3.5.13.spec | 134 - .../knutclient/knutclient-3.5.13.1.spec | 141 + .../knutclient/knutclient-3.5.13.2.spec | 144 + .../applications/knutclient/knutclient-3.5.13.spec | 133 + .../knutclient/trinity-knutclient-3.5.13.1.spec | 141 - .../knutclient/trinity-knutclient-3.5.13.2.spec | 144 - .../knutclient/trinity-knutclient-3.5.13.spec | 133 - .../koffice-i18n/koffice-i18n-3.5.13.1.spec | 1086 ++++++ .../koffice-i18n/koffice-i18n-3.5.13.2.spec | 1089 ++++++ .../koffice-i18n/koffice-l10n-3.5.13.spec | 1090 ++++++ .../trinity-koffice-i18n-3.5.13.1.spec | 1086 ------ .../trinity-koffice-i18n-3.5.13.2.spec | 1089 ------ .../koffice-i18n/trinity-koffice-l10n-3.5.13.spec | 1090 ------ redhat/applications/koffice/koffice-3.5.13.1.spec | 1081 ++++++ redhat/applications/koffice/koffice-3.5.13.2.spec | 1206 +++++++ redhat/applications/koffice/koffice-3.5.13.spec | 1081 ++++++ .../koffice/trinity-koffice-3.5.13.1.spec | 1081 ------ .../koffice/trinity-koffice-3.5.13.2.spec | 1206 ------- .../koffice/trinity-koffice-3.5.13.spec | 1081 ------ .../konversation/konversation-3.5.13.1.spec | 190 ++ .../konversation/konversation-3.5.13.2.spec | 197 ++ .../konversation/konversation-3.5.13.spec | 196 ++ .../trinity-konversation-3.5.13.1.spec | 190 -- .../trinity-konversation-3.5.13.2.spec | 197 -- .../konversation/trinity-konversation-3.5.13.spec | 196 -- .../kopete-otr/kopete-otr-3.5.13.1.spec | 153 + .../kopete-otr/kopete-otr-3.5.13.2.spec | 161 + .../applications/kopete-otr/kopete-otr-3.5.13.spec | 145 + .../kopete-otr/trinity-kopete-otr-3.5.13.1.spec | 153 - .../kopete-otr/trinity-kopete-otr-3.5.13.2.spec | 161 - .../kopete-otr/trinity-kopete-otr-3.5.13.spec | 145 - .../applications/kpicosim/kpicosim-3.5.13.1.spec | 135 + .../applications/kpicosim/kpicosim-3.5.13.2.spec | 138 + redhat/applications/kpicosim/kpicosim-3.5.13.spec | 131 + .../kpicosim/trinity-kpicosim-3.5.13.1.spec | 135 - .../kpicosim/trinity-kpicosim-3.5.13.2.spec | 138 - .../kpicosim/trinity-kpicosim-3.5.13.spec | 131 - redhat/applications/kpilot/kpilot-3.5.13.1.spec | 184 + redhat/applications/kpilot/kpilot-3.5.13.2.spec | 187 ++ redhat/applications/kpilot/kpilot-3.5.13.spec | 185 ++ .../kpilot/trinity-kpilot-3.5.13.1.spec | 184 - .../kpilot/trinity-kpilot-3.5.13.2.spec | 187 -- .../applications/kpilot/trinity-kpilot-3.5.13.spec | 185 -- .../kpowersave/kpowersave-3.5.13.1.spec | 158 + .../kpowersave/kpowersave-3.5.13.2.spec | 165 + .../applications/kpowersave/kpowersave-3.5.13.spec | 150 + .../kpowersave/trinity-kpowersave-3.5.13.1.spec | 158 - .../kpowersave/trinity-kpowersave-3.5.13.2.spec | 165 - .../kpowersave/trinity-kpowersave-3.5.13.spec | 150 - redhat/applications/krename/krename-3.5.12.spec | 105 + redhat/applications/krename/krename-3.5.13.1.spec | 155 + redhat/applications/krename/krename-3.5.13.2.spec | 154 + redhat/applications/krename/krename-3.5.13.spec | 144 + .../krename/trinity-krename-3.5.12.spec | 105 - .../krename/trinity-krename-3.5.13.1.spec | 155 - .../krename/trinity-krename-3.5.13.2.spec | 154 - .../krename/trinity-krename-3.5.13.spec | 144 - .../applications/krusader/krusader-3.5.13.1.spec | 164 + .../applications/krusader/krusader-3.5.13.2.spec | 167 + redhat/applications/krusader/krusader-3.5.13.spec | 163 + .../krusader/trinity-krusader-3.5.13.1.spec | 164 - .../krusader/trinity-krusader-3.5.13.2.spec | 167 - .../krusader/trinity-krusader-3.5.13.spec | 163 - .../ksplash-engine-moodin-3.5.13.1.spec | 134 + .../ksplash-engine-moodin-3.5.13.2.spec | 137 + .../ksplash-engine-moodin-3.5.13.spec | 126 + .../trinity-ksplash-engine-moodin-3.5.13.1.spec | 134 - .../trinity-ksplash-engine-moodin-3.5.13.2.spec | 137 - .../trinity-ksplash-engine-moodin-3.5.13.spec | 126 - .../applications/ksquirrel/ksquirrel-3.5.13.1.spec | 154 + .../applications/ksquirrel/ksquirrel-3.5.13.2.spec | 162 + .../applications/ksquirrel/ksquirrel-3.5.13.spec | 146 + .../ksquirrel/trinity-ksquirrel-3.5.13.1.spec | 154 - .../ksquirrel/trinity-ksquirrel-3.5.13.2.spec | 162 - .../ksquirrel/trinity-ksquirrel-3.5.13.spec | 146 - .../kstreamripper/kstreamripper-3.5.13.1.spec | 129 + .../kstreamripper/kstreamripper-3.5.13.2.spec | 129 + .../kstreamripper/kstreamripper-3.5.13.spec | 125 + .../trinity-kstreamripper-3.5.13.1.spec | 129 - .../trinity-kstreamripper-3.5.13.2.spec | 129 - .../trinity-kstreamripper-3.5.13.spec | 125 - .../ksystemlog/ksystemlog-3.5.13.1.spec | 134 + .../ksystemlog/ksystemlog-3.5.13.2.spec | 137 + .../applications/ksystemlog/ksystemlog-3.5.13.spec | 126 + .../ksystemlog/trinity-ksystemlog-3.5.13.1.spec | 134 - .../ksystemlog/trinity-ksystemlog-3.5.13.2.spec | 137 - .../ksystemlog/trinity-ksystemlog-3.5.13.spec | 126 - .../applications/ktechlab/ktechlab-3.5.13.1.spec | 145 + .../applications/ktechlab/ktechlab-3.5.13.2.spec | 144 + redhat/applications/ktechlab/ktechlab-3.5.13.spec | 140 + .../ktechlab/trinity-ktechlab-3.5.13.1.spec | 145 - .../ktechlab/trinity-ktechlab-3.5.13.2.spec | 144 - .../ktechlab/trinity-ktechlab-3.5.13.spec | 140 - .../applications/ktorrent/ktorrent-3.5.13.1.spec | 182 + .../applications/ktorrent/ktorrent-3.5.13.2.spec | 184 + redhat/applications/ktorrent/ktorrent-3.5.13.spec | 204 ++ .../ktorrent/trinity-ktorrent-3.5.13.1.spec | 182 - .../ktorrent/trinity-ktorrent-3.5.13.2.spec | 184 - .../ktorrent/trinity-ktorrent-3.5.13.spec | 204 -- .../applications/kuickshow/kuickshow-3.5.12.spec | 110 + .../applications/kuickshow/kuickshow-3.5.13.1.spec | 151 + .../applications/kuickshow/kuickshow-3.5.13.2.spec | 157 + .../applications/kuickshow/kuickshow-3.5.13.spec | 156 + .../kuickshow/trinity-kuickshow-3.5.12.spec | 110 - .../kuickshow/trinity-kuickshow-3.5.13.1.spec | 151 - .../kuickshow/trinity-kuickshow-3.5.13.2.spec | 157 - .../kuickshow/trinity-kuickshow-3.5.13.spec | 156 - redhat/applications/kvirc/kvirc-3.5.13.1.spec | 230 ++ redhat/applications/kvirc/kvirc-3.5.13.2.spec | 233 ++ redhat/applications/kvirc/kvirc-3.5.13.spec | 246 ++ .../applications/kvirc/trinity-kvirc-3.5.13.1.spec | 230 -- .../applications/kvirc/trinity-kvirc-3.5.13.2.spec | 233 -- .../applications/kvirc/trinity-kvirc-3.5.13.spec | 246 -- redhat/applications/kvkbd/kvkbd-3.5.13.1.spec | 128 + redhat/applications/kvkbd/kvkbd-3.5.13.2.spec | 131 + redhat/applications/kvkbd/kvkbd-3.5.13.spec | 120 + .../applications/kvkbd/trinity-kvkbd-3.5.13.1.spec | 128 - .../applications/kvkbd/trinity-kvkbd-3.5.13.2.spec | 131 - .../applications/kvkbd/trinity-kvkbd-3.5.13.spec | 120 - redhat/applications/kvpnc/kvpnc.spec | 113 + redhat/applications/kvpnc/trinity-kvpnc.spec | 113 - redhat/applications/piklab/piklab-3.5.13.1.spec | 161 + redhat/applications/piklab/piklab-3.5.13.2.spec | 160 + redhat/applications/piklab/piklab-3.5.13.spec | 153 + .../piklab/trinity-piklab-3.5.13.1.spec | 161 - .../piklab/trinity-piklab-3.5.13.2.spec | 160 - .../applications/piklab/trinity-piklab-3.5.13.spec | 153 - .../potracegui/potracegui-3.5.13.1.spec | 134 + .../potracegui/potracegui-3.5.13.2.spec | 137 + .../applications/potracegui/potracegui-3.5.13.spec | 126 + .../potracegui/trinity-potracegui-3.5.13.1.spec | 134 - .../potracegui/trinity-potracegui-3.5.13.2.spec | 137 - .../potracegui/trinity-potracegui-3.5.13.spec | 126 - .../rosegarden/rosegarden-3.5.13.1.spec | 222 ++ .../rosegarden/rosegarden-3.5.13.2.spec | 221 ++ .../applications/rosegarden/rosegarden-3.5.13.spec | 222 ++ .../rosegarden/trinity-rosegarden-3.5.13.1.spec | 222 -- .../rosegarden/trinity-rosegarden-3.5.13.2.spec | 221 -- .../rosegarden/trinity-rosegarden-3.5.13.spec | 222 -- .../smartcardauth/smartcardauth-3.5.13.1.spec | 156 + .../smartcardauth/smartcardauth-3.5.13.2.spec | 157 + .../smartcardauth/smartcardauth-3.5.13.spec | 144 + .../trinity-smartcardauth-3.5.13.1.spec | 156 - .../trinity-smartcardauth-3.5.13.2.spec | 157 - .../trinity-smartcardauth-3.5.13.spec | 144 - redhat/applications/smb4k/smb4k-3.5.13.1.spec | 188 ++ redhat/applications/smb4k/smb4k-3.5.13.2.spec | 192 ++ redhat/applications/smb4k/smb4k-3.5.13.spec | 184 + .../applications/smb4k/trinity-smb4k-3.5.13.1.spec | 188 -- .../applications/smb4k/trinity-smb4k-3.5.13.2.spec | 192 -- .../applications/smb4k/trinity-smb4k-3.5.13.spec | 184 - .../soundkonverter/soundkonverter-3.5.13.1.spec | 181 + .../soundkonverter/soundkonverter-3.5.13.2.spec | 184 + .../soundkonverter/soundkonverter-3.5.13.spec | 173 + .../trinity-soundkonverter-3.5.13.1.spec | 181 - .../trinity-soundkonverter-3.5.13.2.spec | 184 - .../trinity-soundkonverter-3.5.13.spec | 173 - .../tde-guidance/guidance-3.5.13.1.spec | 414 +++ .../applications/tde-guidance/guidance-3.5.13.spec | 390 +++ .../tde-guidance/tde-guidance-3.5.13.2.spec | 449 +++ .../tde-guidance/trinity-guidance-3.5.13.1.spec | 414 --- .../tde-guidance/trinity-guidance-3.5.13.spec | 390 --- .../trinity-tde-guidance-3.5.13.2.spec | 449 --- .../kde-style-lipstik-3.5.12.spec | 108 + .../kde-style-lipstik-3.5.13.1.spec | 129 + .../kde-style-lipstik-3.5.13.spec | 120 + .../tde-style-lipstik-3.5.13.2.spec | 135 + .../trinity-kde-style-lipstik-3.5.12.spec | 108 - .../trinity-kde-style-lipstik-3.5.13.1.spec | 129 - .../trinity-kde-style-lipstik-3.5.13.spec | 120 - .../trinity-tde-style-lipstik-3.5.13.2.spec | 135 - .../kde-style-qtcurve-3.5.13.1.spec | 141 + .../kde-style-qtcurve-3.5.13.spec | 140 + .../tde-style-qtcurve-3.5.13.2.spec | 160 + .../trinity-kde-style-qtcurve-3.5.13.1.spec | 141 - .../trinity-kde-style-qtcurve-3.5.13.spec | 140 - .../trinity-tde-style-qtcurve-3.5.13.2.spec | 160 - .../kde-systemsettings-3.5.13.1.spec | 159 + .../kde-systemsettings-3.5.13.spec | 150 + .../tde-systemsettings-3.5.13.2.spec | 168 + .../trinity-kde-systemsettings-3.5.13.1.spec | 159 - .../trinity-kde-systemsettings-3.5.13.spec | 150 - .../trinity-tde-systemsettings-3.5.13.2.spec | 168 - .../applications/tdeio-apt/tdeio-apt-3.5.13.2.spec | 127 + .../tdeio-apt/trinity-tdeio-apt-3.5.13.2.spec | 127 - .../tdeio-locate/kio-locate-3.5.12.spec | 111 + .../tdeio-locate/kio-locate-3.5.13.1.spec | 135 + .../tdeio-locate/kio-locate-3.5.13.spec | 113 + .../tdeio-locate/tdeio-locate-3.5.13.2.spec | 148 + .../tdeio-locate/trinity-kio-locate-3.5.12.spec | 111 - .../tdeio-locate/trinity-kio-locate-3.5.13.1.spec | 135 - .../tdeio-locate/trinity-kio-locate-3.5.13.spec | 113 - .../trinity-tdeio-locate-3.5.13.2.spec | 148 - .../kio-umountwrapper-3.5.13.1.spec | 157 + .../kio-umountwrapper-3.5.13.spec | 140 + .../tdeio-umountwrapper-3.5.13.2.spec | 154 + .../trinity-kio-umountwrapper-3.5.13.1.spec | 157 - .../trinity-kio-umountwrapper-3.5.13.spec | 140 - .../trinity-tdeio-umountwrapper-3.5.13.2.spec | 154 - redhat/applications/tderadio/kradio-3.5.13.1.spec | 182 + redhat/applications/tderadio/kradio-3.5.13.spec | 164 + .../applications/tderadio/tderadio-3.5.13.2.spec | 196 ++ .../tderadio/trinity-kradio-3.5.13.1.spec | 182 - .../tderadio/trinity-kradio-3.5.13.spec | 164 - .../tderadio/trinity-tderadio-3.5.13.2.spec | 196 -- redhat/applications/tdesudo/kdesudo-3.5.13.1.spec | 139 + redhat/applications/tdesudo/kdesudo-3.5.13.spec | 130 + redhat/applications/tdesudo/tdesudo-3.5.13.2.spec | 146 + .../tdesudo/trinity-kdesudo-3.5.13.1.spec | 139 - .../tdesudo/trinity-kdesudo-3.5.13.spec | 130 - .../tdesudo/trinity-tdesudo-3.5.13.2.spec | 146 - redhat/applications/tdesvn/kdesvn-3.5.13.1.spec | 287 ++ redhat/applications/tdesvn/kdesvn-3.5.13.spec | 274 ++ redhat/applications/tdesvn/tdesvn-3.5.13.2.spec | 289 ++ .../tdesvn/trinity-kdesvn-3.5.13.1.spec | 287 -- .../applications/tdesvn/trinity-kdesvn-3.5.13.spec | 274 -- .../tdesvn/trinity-tdesvn-3.5.13.2.spec | 289 -- .../applications/tdmtheme/kdmtheme-3.5.13.1.spec | 130 + redhat/applications/tdmtheme/kdmtheme-3.5.13.spec | 121 + .../applications/tdmtheme/tdmtheme-3.5.13.2.spec | 144 + .../tdmtheme/trinity-kdmtheme-3.5.13.1.spec | 130 - .../tdmtheme/trinity-kdmtheme-3.5.13.spec | 121 - .../tdmtheme/trinity-tdmtheme-3.5.13.2.spec | 144 - redhat/applications/tellico/tellico-3.5.13.1.spec | 239 ++ redhat/applications/tellico/tellico-3.5.13.2.spec | 233 ++ redhat/applications/tellico/tellico-3.5.13.spec | 226 ++ .../tellico/trinity-tellico-3.5.13.1.spec | 239 -- .../tellico/trinity-tellico-3.5.13.2.spec | 233 -- .../tellico/trinity-tellico-3.5.13.spec | 226 -- .../kwin-style-crystal-3.5.12.spec | 109 + .../kwin-style-crystal-3.5.13.1.spec | 124 + .../kwin-style-crystal-3.5.13.spec | 116 + .../trinity-kwin-style-crystal-3.5.12.spec | 109 - .../trinity-kwin-style-crystal-3.5.13.1.spec | 124 - .../trinity-kwin-style-crystal-3.5.13.spec | 116 - .../trinity-twin-style-crystal-3.5.13.2.spec | 129 - .../twin-style-crystal-3.5.13.2.spec | 129 + .../wlassistant/trinity-wlassistant-3.5.13.1.spec | 134 - .../wlassistant/trinity-wlassistant-3.5.13.2.spec | 143 - .../wlassistant/trinity-wlassistant-3.5.13.spec | 128 - .../wlassistant/wlassistant-3.5.13.1.spec | 134 + .../wlassistant/wlassistant-3.5.13.2.spec | 143 + .../wlassistant/wlassistant-3.5.13.spec | 128 + .../yakuake/trinity-yakuake-3.5.12.spec | 97 - .../yakuake/trinity-yakuake-3.5.13.1.spec | 134 - .../yakuake/trinity-yakuake-3.5.13.2.spec | 138 - .../yakuake/trinity-yakuake-3.5.13.spec | 126 - redhat/applications/yakuake/yakuake-3.5.12.spec | 97 + redhat/applications/yakuake/yakuake-3.5.13.1.spec | 134 + redhat/applications/yakuake/yakuake-3.5.13.2.spec | 138 + redhat/applications/yakuake/yakuake-3.5.13.spec | 126 + redhat/dependencies/arts/arts-14.0.0.spec | 239 ++ redhat/dependencies/arts/arts-3.5.12.spec | 153 + redhat/dependencies/arts/arts-3.5.13.1.spec | 182 + redhat/dependencies/arts/arts-3.5.13.2.spec | 243 ++ redhat/dependencies/arts/arts-3.5.13.spec | 201 ++ redhat/dependencies/arts/trinity-arts-14.0.0.spec | 239 -- redhat/dependencies/arts/trinity-arts-3.5.12.spec | 153 - .../dependencies/arts/trinity-arts-3.5.13.1.spec | 182 - .../dependencies/arts/trinity-arts-3.5.13.2.spec | 243 -- redhat/dependencies/arts/trinity-arts-3.5.13.spec | 201 -- redhat/dependencies/tqca-tls/tqca-tls-14.0.0.spec | 87 + .../dependencies/tqca-tls/tqca-tls-3.5.13.2.spec | 106 + .../tqca-tls/trinity-tqca-tls-14.0.0.spec | 87 - .../tqca-tls/trinity-tqca-tls-3.5.13.2.spec | 106 - redhat/dependencies/tqca/tqca-14.0.0.spec | 123 + redhat/dependencies/tqca/tqca-3.5.13.2.spec | 131 + redhat/dependencies/tqca/trinity-tqca-14.0.0.spec | 123 - .../dependencies/tqca/trinity-tqca-3.5.13.2.spec | 131 - redhat/dependencies/tqt3/tqt3-14.0.0.spec | 580 ++++ redhat/dependencies/tqt3/trinity-tqt3-14.0.0.spec | 580 ---- redhat/extras/akode/akode-3.5.13.1.spec | 270 ++ redhat/extras/akode/akode-3.5.13.2.spec | 353 ++ redhat/extras/akode/akode-3.5.13.spec | 251 ++ redhat/extras/akode/trinity-akode-3.5.13.1.spec | 270 -- redhat/extras/akode/trinity-akode-3.5.13.2.spec | 353 -- redhat/extras/akode/trinity-akode-3.5.13.spec | 251 -- redhat/extras/kasablanca/kasablanca-3.5.13.1.spec | 182 + redhat/extras/kasablanca/kasablanca-3.5.13.2.spec | 188 ++ redhat/extras/kasablanca/kasablanca-3.5.13.spec | 169 + .../kasablanca/trinity-kasablanca-3.5.13.1.spec | 182 - .../kasablanca/trinity-kasablanca-3.5.13.2.spec | 188 -- .../kasablanca/trinity-kasablanca-3.5.13.spec | 169 - redhat/extras/kdebluetooth/kdebluetooth.spec | 495 +++ .../extras/kdebluetooth/trinity-kdebluetooth.spec | 495 --- .../extras/kickoff-i18n/kickoff-i18n-3.5.13.1.spec | 101 + .../extras/kickoff-i18n/kickoff-i18n-3.5.13.2.spec | 104 + .../extras/kickoff-i18n/kickoff-i18n-3.5.13.spec | 89 + .../trinity-kickoff-i18n-3.5.13.1.spec | 101 - .../trinity-kickoff-i18n-3.5.13.2.spec | 104 - .../kickoff-i18n/trinity-kickoff-i18n-3.5.13.spec | 89 - redhat/extras/ksensors/ksensors-3.5.13.1.spec | 268 ++ redhat/extras/ksensors/ksensors-3.5.13.2.spec | 271 ++ redhat/extras/ksensors/ksensors-3.5.13.spec | 212 ++ .../extras/ksensors/trinity-ksensors-3.5.13.1.spec | 268 -- .../extras/ksensors/trinity-ksensors-3.5.13.2.spec | 271 -- .../extras/ksensors/trinity-ksensors-3.5.13.spec | 212 -- .../extras/style-ia-ora/style-ia-ora-3.5.13.1.spec | 288 ++ .../extras/style-ia-ora/style-ia-ora-3.5.13.2.spec | 291 ++ .../extras/style-ia-ora/style-ia-ora-3.5.13.spec | 274 ++ .../trinity-style-ia-ora-3.5.13.1.spec | 288 -- .../trinity-style-ia-ora-3.5.13.2.spec | 291 -- .../style-ia-ora/trinity-style-ia-ora-3.5.13.spec | 274 -- .../theme-baghira/theme-baghira-3.5.13.1.spec | 204 ++ .../theme-baghira/theme-baghira-3.5.13.2.spec | 211 ++ .../trinity-theme-baghira-3.5.13.1.spec | 204 -- .../trinity-theme-baghira-3.5.13.2.spec | 211 -- .../trinity-desktop/trinity-desktop-3.5.13.2.spec | 375 +++ redhat/extras/trinity-desktop/trinity-desktop.spec | 375 --- redhat/libraries/libkdcraw/libkdcraw-14.0.0.spec | 165 + redhat/libraries/libkdcraw/libkdcraw-3.5.13.1.spec | 166 + redhat/libraries/libkdcraw/libkdcraw-3.5.13.2.spec | 172 + redhat/libraries/libkdcraw/libkdcraw-3.5.13.spec | 146 + .../libkdcraw/trinity-libkdcraw-14.0.0.spec | 165 - .../libkdcraw/trinity-libkdcraw-3.5.13.1.spec | 166 - .../libkdcraw/trinity-libkdcraw-3.5.13.2.spec | 172 - .../libkdcraw/trinity-libkdcraw-3.5.13.spec | 146 - redhat/libraries/libkexiv2/libkexiv2-14.0.0.spec | 154 + redhat/libraries/libkexiv2/libkexiv2-3.5.13.1.spec | 150 + redhat/libraries/libkexiv2/libkexiv2-3.5.13.2.spec | 161 + redhat/libraries/libkexiv2/libkexiv2-3.5.13.spec | 139 + .../libkexiv2/trinity-libkexiv2-14.0.0.spec | 154 - .../libkexiv2/trinity-libkexiv2-3.5.13.1.spec | 150 - .../libkexiv2/trinity-libkexiv2-3.5.13.2.spec | 161 - .../libkexiv2/trinity-libkexiv2-3.5.13.spec | 139 - redhat/libraries/libkipi/libkipi-14.0.0.spec | 169 + redhat/libraries/libkipi/libkipi-3.5.13.1.spec | 172 + redhat/libraries/libkipi/libkipi-3.5.13.2.spec | 176 + redhat/libraries/libkipi/libkipi-3.5.13.spec | 150 + .../libraries/libkipi/trinity-libkipi-14.0.0.spec | 169 - .../libkipi/trinity-libkipi-3.5.13.1.spec | 172 - .../libkipi/trinity-libkipi-3.5.13.2.spec | 176 - .../libraries/libkipi/trinity-libkipi-3.5.13.spec | 150 - .../libksquirrel/libksquirrel-3.5.13.1.spec | 444 +++ .../libksquirrel/libksquirrel-3.5.13.2.spec | 502 +++ .../libksquirrel/libksquirrel-3.5.13.spec | 423 +++ .../trinity-libksquirrel-3.5.13.1.spec | 444 --- .../trinity-libksquirrel-3.5.13.2.spec | 502 --- .../libksquirrel/trinity-libksquirrel-3.5.13.spec | 423 --- .../pytdeextensions/pykdeextensions-3.5.13.1.spec | 212 ++ .../pytdeextensions/pykdeextensions-3.5.13.spec | 215 ++ .../pytdeextensions/pytdeextensions-3.5.13.2.spec | 227 ++ .../trinity-pykdeextensions-3.5.13.1.spec | 212 -- .../trinity-pykdeextensions-3.5.13.spec | 215 -- .../trinity-pytdeextensions-3.5.13.2.spec | 227 -- .../python-trinity/python-trinity-3.5.13.2.spec | 196 ++ .../trinity-python-trinity-3.5.13.2.spec | 196 -- redhat/tde-i18n/i18n-3.5.13.1.spec | 1274 +++++++ redhat/tde-i18n/kde-i18n-3.5.12.spec | 1195 +++++++ redhat/tde-i18n/kde-i18n-3.5.13.spec | 1193 +++++++ redhat/tde-i18n/tde-i18n-3.5.13.2.spec | 1284 +++++++ redhat/tde-i18n/trinity-i18n-3.5.13.1.spec | 1274 ------- redhat/tde-i18n/trinity-kde-i18n-3.5.12.spec | 1195 ------- redhat/tde-i18n/trinity-kde-i18n-3.5.13.spec | 1193 ------- redhat/tde-i18n/trinity-tde-i18n-3.5.13.2.spec | 1284 ------- .../tdeaccessibility/kdeaccessibility-3.5.12.spec | 180 + .../kdeaccessibility-3.5.13.1.spec | 525 +++ .../tdeaccessibility/kdeaccessibility-3.5.13.spec | 523 +++ .../tdeaccessibility-3.5.13.2.spec | 519 +++ .../trinity-kdeaccessibility-3.5.12.spec | 180 - .../trinity-kdeaccessibility-3.5.13.1.spec | 525 --- .../trinity-kdeaccessibility-3.5.13.spec | 523 --- .../trinity-tdeaccessibility-3.5.13.2.spec | 519 --- redhat/tdeaddons/kdeaddons-3.5.12.spec | 249 ++ redhat/tdeaddons/kdeaddons-3.5.13.1.spec | 730 ++++ redhat/tdeaddons/kdeaddons-3.5.13.spec | 757 +++++ redhat/tdeaddons/tdeaddons-3.5.13.2.spec | 755 +++++ redhat/tdeaddons/trinity-kdeaddons-3.5.12.spec | 249 -- redhat/tdeaddons/trinity-kdeaddons-3.5.13.1.spec | 730 ---- redhat/tdeaddons/trinity-kdeaddons-3.5.13.spec | 757 ----- redhat/tdeaddons/trinity-tdeaddons-3.5.13.2.spec | 755 ----- redhat/tdeadmin/kdeadmin-3.5.12.spec | 197 ++ redhat/tdeadmin/kdeadmin-3.5.13.1.spec | 482 +++ redhat/tdeadmin/kdeadmin-3.5.13.spec | 506 +++ redhat/tdeadmin/tdeadmin-14.0.0.spec | 484 +++ redhat/tdeadmin/tdeadmin-3.5.13.2.spec | 494 +++ redhat/tdeadmin/trinity-kdeadmin-3.5.12.spec | 197 -- redhat/tdeadmin/trinity-kdeadmin-3.5.13.1.spec | 482 --- redhat/tdeadmin/trinity-kdeadmin-3.5.13.spec | 506 --- redhat/tdeadmin/trinity-tdeadmin-14.0.0.spec | 484 --- redhat/tdeadmin/trinity-tdeadmin-3.5.13.2.spec | 494 --- redhat/tdeartwork/kdeartwork-3.5.12.spec | 186 ++ redhat/tdeartwork/kdeartwork-3.5.13.1.spec | 701 ++++ redhat/tdeartwork/kdeartwork-3.5.13.spec | 666 ++++ redhat/tdeartwork/tdeartwork-3.5.13.2.spec | 710 ++++ redhat/tdeartwork/trinity-kdeartwork-3.5.12.spec | 186 -- redhat/tdeartwork/trinity-kdeartwork-3.5.13.1.spec | 701 ---- redhat/tdeartwork/trinity-kdeartwork-3.5.13.spec | 666 ---- redhat/tdeartwork/trinity-tdeartwork-3.5.13.2.spec | 710 ---- redhat/tdebase/kdebase-3.5.12.spec | 757 +++++ redhat/tdebase/kdebase-3.5.13.1.spec | 3266 ++++++++++++++++++ redhat/tdebase/kdebase-3.5.13.spec | 3467 +++++++++++++++++++ redhat/tdebase/tdebase-14.0.0.spec | 3423 +++++++++++++++++++ redhat/tdebase/tdebase-3.5.13.2.spec | 3511 ++++++++++++++++++++ redhat/tdebase/trinity-kdebase-3.5.12.spec | 757 ----- redhat/tdebase/trinity-kdebase-3.5.13.1.spec | 3266 ------------------ redhat/tdebase/trinity-kdebase-3.5.13.spec | 3467 ------------------- redhat/tdebase/trinity-tdebase-14.0.0.spec | 3423 ------------------- redhat/tdebase/trinity-tdebase-3.5.13.2.spec | 3511 -------------------- redhat/tdebindings/kdebindings-3.5.12.spec | 295 ++ redhat/tdebindings/kdebindings-3.5.13.1.spec | 1112 +++++++ redhat/tdebindings/kdebindings-3.5.13.spec | 1061 ++++++ redhat/tdebindings/tdebindings-14.0.0.spec | 1101 ++++++ redhat/tdebindings/tdebindings-3.5.13.2.spec | 1112 +++++++ redhat/tdebindings/trinity-kdebindings-3.5.12.spec | 295 -- .../tdebindings/trinity-kdebindings-3.5.13.1.spec | 1112 ------- redhat/tdebindings/trinity-kdebindings-3.5.13.spec | 1061 ------ redhat/tdebindings/trinity-tdebindings-14.0.0.spec | 1101 ------ .../tdebindings/trinity-tdebindings-3.5.13.2.spec | 1112 ------- redhat/tdeedu/kdeedu-3.5.12.spec | 235 ++ redhat/tdeedu/kdeedu-3.5.13.1.spec | 1400 ++++++++ redhat/tdeedu/kdeedu-3.5.13.spec | 1429 ++++++++ redhat/tdeedu/tdeedu-3.5.13.2.spec | 1395 ++++++++ redhat/tdeedu/trinity-kdeedu-3.5.12.spec | 235 -- redhat/tdeedu/trinity-kdeedu-3.5.13.1.spec | 1400 -------- redhat/tdeedu/trinity-kdeedu-3.5.13.spec | 1429 -------- redhat/tdeedu/trinity-tdeedu-3.5.13.2.spec | 1395 -------- redhat/tdegames/kdegames-3.5.12.spec | 196 ++ redhat/tdegames/kdegames-3.5.13.1.spec | 1604 +++++++++ redhat/tdegames/kdegames-3.5.13.spec | 1610 +++++++++ redhat/tdegames/tdegames-3.5.13.2.spec | 1603 +++++++++ redhat/tdegames/trinity-kdegames-3.5.12.spec | 196 -- redhat/tdegames/trinity-kdegames-3.5.13.1.spec | 1604 --------- redhat/tdegames/trinity-kdegames-3.5.13.spec | 1610 --------- redhat/tdegames/trinity-tdegames-3.5.13.2.spec | 1603 --------- redhat/tdegraphics/kdegraphics-3.5.12.spec | 369 ++ redhat/tdegraphics/kdegraphics-3.5.13.1.spec | 1312 ++++++++ redhat/tdegraphics/kdegraphics-3.5.13.spec | 1007 ++++++ redhat/tdegraphics/tdegraphics-3.5.13.2.spec | 1324 ++++++++ redhat/tdegraphics/trinity-kdegraphics-3.5.12.spec | 369 -- .../tdegraphics/trinity-kdegraphics-3.5.13.1.spec | 1312 -------- redhat/tdegraphics/trinity-kdegraphics-3.5.13.spec | 1007 ------ .../tdegraphics/trinity-tdegraphics-3.5.13.2.spec | 1324 -------- redhat/tdelibs/kdelibs-3.5.12.spec | 369 ++ redhat/tdelibs/kdelibs-3.5.13.1.spec | 434 +++ redhat/tdelibs/kdelibs-3.5.13.spec | 520 +++ redhat/tdelibs/tdelibs-14.0.0.spec | 456 +++ redhat/tdelibs/tdelibs-3.5.13.2.spec | 481 +++ redhat/tdelibs/trinity-kdelibs-3.5.12.spec | 369 -- redhat/tdelibs/trinity-kdelibs-3.5.13.1.spec | 434 --- redhat/tdelibs/trinity-kdelibs-3.5.13.spec | 520 --- redhat/tdelibs/trinity-tdelibs-14.0.0.spec | 456 --- redhat/tdelibs/trinity-tdelibs-3.5.13.2.spec | 481 --- redhat/tdemultimedia/kdemultimedia-3.5.12.spec | 396 +++ redhat/tdemultimedia/kdemultimedia-3.5.13.1.spec | 1185 +++++++ redhat/tdemultimedia/kdemultimedia-3.5.13.spec | 1204 +++++++ redhat/tdemultimedia/tdemultimedia-14.0.0.spec | 1228 +++++++ redhat/tdemultimedia/tdemultimedia-3.5.13.2.spec | 1241 +++++++ .../trinity-kdemultimedia-3.5.12.spec | 396 --- .../trinity-kdemultimedia-3.5.13.1.spec | 1185 ------- .../trinity-kdemultimedia-3.5.13.spec | 1204 ------- .../trinity-tdemultimedia-14.0.0.spec | 1228 ------- .../trinity-tdemultimedia-3.5.13.2.spec | 1241 ------- redhat/tdenetwork/kdenetwork-3.5.12.spec | 502 +++ redhat/tdenetwork/kdenetwork-3.5.13.1.spec | 1188 +++++++ redhat/tdenetwork/kdenetwork-3.5.13.spec | 1182 +++++++ redhat/tdenetwork/tdenetwork-14.0.0.spec | 1197 +++++++ redhat/tdenetwork/tdenetwork-3.5.13.2.spec | 1199 +++++++ redhat/tdenetwork/trinity-kdenetwork-3.5.12.spec | 502 --- redhat/tdenetwork/trinity-kdenetwork-3.5.13.1.spec | 1188 ------- redhat/tdenetwork/trinity-kdenetwork-3.5.13.spec | 1182 ------- redhat/tdenetwork/trinity-tdenetwork-14.0.0.spec | 1197 ------- redhat/tdenetwork/trinity-tdenetwork-3.5.13.2.spec | 1199 ------- redhat/tdepim/kdepim-3.5.12.spec | 153 + redhat/tdepim/kdepim-3.5.13.1.spec | 2166 ++++++++++++ redhat/tdepim/kdepim-3.5.13.spec | 2198 ++++++++++++ redhat/tdepim/tdepim-14.0.0.spec | 2250 +++++++++++++ redhat/tdepim/tdepim-3.5.13.2.spec | 2251 +++++++++++++ redhat/tdepim/trinity-kdepim-3.5.12.spec | 153 - redhat/tdepim/trinity-kdepim-3.5.13.1.spec | 2166 ------------ redhat/tdepim/trinity-kdepim-3.5.13.spec | 2198 ------------ redhat/tdepim/trinity-tdepim-14.0.0.spec | 2250 ------------- redhat/tdepim/trinity-tdepim-3.5.13.2.spec | 2251 ------------- redhat/tdesdk/kdesdk-3.5.12.spec | 245 ++ redhat/tdesdk/kdesdk-3.5.13.1.spec | 1161 +++++++ redhat/tdesdk/kdesdk-3.5.13.spec | 1130 +++++++ redhat/tdesdk/tdesdk-3.5.13.2.spec | 1159 +++++++ redhat/tdesdk/trinity-kdesdk-3.5.12.spec | 245 -- redhat/tdesdk/trinity-kdesdk-3.5.13.1.spec | 1161 ------- redhat/tdesdk/trinity-kdesdk-3.5.13.spec | 1130 ------- redhat/tdesdk/trinity-tdesdk-3.5.13.2.spec | 1159 ------- redhat/tdetoys/kdetoys-3.5.12.spec | 165 + redhat/tdetoys/kdetoys-3.5.13.1.spec | 450 +++ redhat/tdetoys/kdetoys-3.5.13.spec | 459 +++ redhat/tdetoys/tdetoys-3.5.13.2.spec | 451 +++ redhat/tdetoys/trinity-kdetoys-3.5.12.spec | 165 - redhat/tdetoys/trinity-kdetoys-3.5.13.1.spec | 450 --- redhat/tdetoys/trinity-kdetoys-3.5.13.spec | 459 --- redhat/tdetoys/trinity-tdetoys-3.5.13.2.spec | 451 --- redhat/tdeutils/kdeutils-3.5.12.spec | 361 ++ redhat/tdeutils/kdeutils-3.5.13.1.spec | 1038 ++++++ redhat/tdeutils/kdeutils-3.5.13.spec | 1076 ++++++ redhat/tdeutils/tdeutils-3.5.13.2.spec | 1086 ++++++ redhat/tdeutils/trinity-kdeutils-3.5.12.spec | 361 -- redhat/tdeutils/trinity-kdeutils-3.5.13.1.spec | 1038 ------ redhat/tdeutils/trinity-kdeutils-3.5.13.spec | 1076 ------ redhat/tdeutils/trinity-tdeutils-3.5.13.2.spec | 1086 ------ redhat/tdevelop/kdevelop-3.5.12.spec | 254 ++ redhat/tdevelop/kdevelop-3.5.13.1.spec | 636 ++++ redhat/tdevelop/kdevelop-3.5.13.spec | 292 ++ redhat/tdevelop/tdevelop-3.5.13.2.spec | 646 ++++ redhat/tdevelop/trinity-kdevelop-3.5.12.spec | 254 -- redhat/tdevelop/trinity-kdevelop-3.5.13.1.spec | 636 ---- redhat/tdevelop/trinity-kdevelop-3.5.13.spec | 292 -- redhat/tdevelop/trinity-tdevelop-3.5.13.2.spec | 646 ---- redhat/tdewebdev/kdewebdev-3.5.12.spec | 228 ++ redhat/tdewebdev/kdewebdev-3.5.13.1.spec | 566 ++++ redhat/tdewebdev/kdewebdev-3.5.13.spec | 556 ++++ redhat/tdewebdev/tdewebdev-3.5.13.2.spec | 573 ++++ redhat/tdewebdev/trinity-kdewebdev-3.5.12.spec | 228 -- redhat/tdewebdev/trinity-kdewebdev-3.5.13.1.spec | 566 ---- redhat/tdewebdev/trinity-kdewebdev-3.5.13.spec | 556 ---- redhat/tdewebdev/trinity-tdewebdev-3.5.13.2.spec | 573 ---- 768 files changed, 141482 insertions(+), 141482 deletions(-) create mode 100644 redhat/applications/abakus/abakus-3.5.12.spec create mode 100644 redhat/applications/abakus/abakus-3.5.13.1.spec create mode 100644 redhat/applications/abakus/abakus-3.5.13.2.spec create mode 100644 redhat/applications/abakus/abakus-3.5.13.spec delete mode 100644 redhat/applications/abakus/trinity-abakus-3.5.12.spec delete mode 100644 redhat/applications/abakus/trinity-abakus-3.5.13.1.spec delete mode 100644 redhat/applications/abakus/trinity-abakus-3.5.13.2.spec delete mode 100644 redhat/applications/abakus/trinity-abakus-3.5.13.spec create mode 100644 redhat/applications/adept/adept-3.5.13.2.spec delete mode 100644 redhat/applications/adept/trinity-adept-3.5.13.2.spec create mode 100644 redhat/applications/amarok/amarok-3.5.13.1.spec create mode 100644 redhat/applications/amarok/amarok-3.5.13.2.spec create mode 100644 redhat/applications/amarok/amarok-3.5.13.spec delete mode 100644 redhat/applications/amarok/trinity-amarok-3.5.13.1.spec delete mode 100644 redhat/applications/amarok/trinity-amarok-3.5.13.2.spec delete mode 100644 redhat/applications/amarok/trinity-amarok-3.5.13.spec create mode 100644 redhat/applications/basket/basket-3.5.12.spec create mode 100644 redhat/applications/basket/basket-3.5.13.1.spec create mode 100644 redhat/applications/basket/basket-3.5.13.2.spec create mode 100644 redhat/applications/basket/basket-3.5.13.spec delete mode 100644 redhat/applications/basket/trinity-basket-3.5.12.spec delete mode 100644 redhat/applications/basket/trinity-basket-3.5.13.1.spec delete mode 100644 redhat/applications/basket/trinity-basket-3.5.13.2.spec delete mode 100644 redhat/applications/basket/trinity-basket-3.5.13.spec create mode 100644 redhat/applications/bibletime/bibletime-3.5.13.1.spec create mode 100644 redhat/applications/bibletime/bibletime-3.5.13.2.spec create mode 100644 redhat/applications/bibletime/bibletime-3.5.13.spec delete mode 100644 redhat/applications/bibletime/trinity-bibletime-3.5.13.1.spec delete mode 100644 redhat/applications/bibletime/trinity-bibletime-3.5.13.2.spec delete mode 100644 redhat/applications/bibletime/trinity-bibletime-3.5.13.spec create mode 100644 redhat/applications/compizconfig-backend-kconfig/compizconfig-backend-kconfig-3.5.12.spec delete mode 100644 redhat/applications/compizconfig-backend-kconfig/trinity-compizconfig-backend-kconfig-3.5.12.spec create mode 100644 redhat/applications/digikam/digikam-3.5.13.1.spec create mode 100644 redhat/applications/digikam/digikam-3.5.13.2.spec create mode 100644 redhat/applications/digikam/digikam-3.5.13.spec delete mode 100644 redhat/applications/digikam/trinity-digikam-3.5.13.1.spec delete mode 100644 redhat/applications/digikam/trinity-digikam-3.5.13.2.spec delete mode 100644 redhat/applications/digikam/trinity-digikam-3.5.13.spec create mode 100644 redhat/applications/dolphin/dolphin-3.5.12.spec create mode 100644 redhat/applications/dolphin/dolphin-3.5.13.1.spec create mode 100644 redhat/applications/dolphin/dolphin-3.5.13.2.spec create mode 100644 redhat/applications/dolphin/dolphin-3.5.13.spec delete mode 100644 redhat/applications/dolphin/trinity-dolphin-3.5.12.spec delete mode 100644 redhat/applications/dolphin/trinity-dolphin-3.5.13.1.spec delete mode 100644 redhat/applications/dolphin/trinity-dolphin-3.5.13.2.spec delete mode 100644 redhat/applications/dolphin/trinity-dolphin-3.5.13.spec create mode 100644 redhat/applications/filelight-l10n/filelight-l10n.spec delete mode 100644 redhat/applications/filelight-l10n/trinity-filelight-l10n.spec create mode 100644 redhat/applications/filelight/filelight-3.5.12.spec create mode 100644 redhat/applications/filelight/filelight-3.5.13.1.spec create mode 100644 redhat/applications/filelight/filelight-3.5.13.2.spec create mode 100644 redhat/applications/filelight/filelight-3.5.13.spec delete mode 100644 redhat/applications/filelight/trinity-filelight-3.5.12.spec delete mode 100644 redhat/applications/filelight/trinity-filelight-3.5.13.1.spec delete mode 100644 redhat/applications/filelight/trinity-filelight-3.5.13.2.spec delete mode 100644 redhat/applications/filelight/trinity-filelight-3.5.13.spec create mode 100644 redhat/applications/fusion-icon/fusion-icon.spec delete mode 100644 redhat/applications/fusion-icon/trinity-fusion-icon.spec create mode 100644 redhat/applications/gtk-qt-engine/gtk-qt-engine-3.5.13.1.spec create mode 100644 redhat/applications/gtk-qt-engine/gtk-qt-engine-3.5.13.2.spec create mode 100644 redhat/applications/gtk-qt-engine/gtk-qt-engine-3.5.13.spec delete mode 100644 redhat/applications/gtk-qt-engine/trinity-gtk-qt-engine-3.5.13.1.spec delete mode 100644 redhat/applications/gtk-qt-engine/trinity-gtk-qt-engine-3.5.13.2.spec delete mode 100644 redhat/applications/gtk-qt-engine/trinity-gtk-qt-engine-3.5.13.spec create mode 100644 redhat/applications/gwenview-i18n/gwenview-i18n-3.5.13.1.spec create mode 100644 redhat/applications/gwenview-i18n/gwenview-i18n-3.5.13.2.spec delete mode 100644 redhat/applications/gwenview-i18n/trinity-gwenview-i18n-3.5.13.1.spec delete mode 100644 redhat/applications/gwenview-i18n/trinity-gwenview-i18n-3.5.13.2.spec create mode 100644 redhat/applications/gwenview/gwenview-3.5.12.spec create mode 100644 redhat/applications/gwenview/gwenview-3.5.13.1.spec create mode 100644 redhat/applications/gwenview/gwenview-3.5.13.2.spec create mode 100644 redhat/applications/gwenview/gwenview-3.5.13.spec delete mode 100644 redhat/applications/gwenview/trinity-gwenview-3.5.12.spec delete mode 100644 redhat/applications/gwenview/trinity-gwenview-3.5.13.1.spec delete mode 100644 redhat/applications/gwenview/trinity-gwenview-3.5.13.2.spec delete mode 100644 redhat/applications/gwenview/trinity-gwenview-3.5.13.spec create mode 100644 redhat/applications/k3b-i18n/k3b-i18n-3.5.13.1.spec create mode 100644 redhat/applications/k3b-i18n/k3b-i18n-3.5.13.2.spec create mode 100644 redhat/applications/k3b-i18n/k3b-i18n-3.5.13.spec delete mode 100644 redhat/applications/k3b-i18n/trinity-k3b-i18n-3.5.13.1.spec delete mode 100644 redhat/applications/k3b-i18n/trinity-k3b-i18n-3.5.13.2.spec delete mode 100644 redhat/applications/k3b-i18n/trinity-k3b-i18n-3.5.13.spec create mode 100644 redhat/applications/k3b/k3b-3.5.12.spec create mode 100644 redhat/applications/k3b/k3b-3.5.13.1.spec create mode 100644 redhat/applications/k3b/k3b-3.5.13.2.spec create mode 100644 redhat/applications/k3b/k3b-3.5.13.spec delete mode 100644 redhat/applications/k3b/trinity-k3b-3.5.12.spec delete mode 100644 redhat/applications/k3b/trinity-k3b-3.5.13.1.spec delete mode 100644 redhat/applications/k3b/trinity-k3b-3.5.13.2.spec delete mode 100644 redhat/applications/k3b/trinity-k3b-3.5.13.spec create mode 100644 redhat/applications/k9copy/k9copy-3.5.13.1.spec create mode 100644 redhat/applications/k9copy/k9copy-3.5.13.2.spec create mode 100644 redhat/applications/k9copy/k9copy-3.5.13.spec delete mode 100644 redhat/applications/k9copy/trinity-k9copy-3.5.13.1.spec delete mode 100644 redhat/applications/k9copy/trinity-k9copy-3.5.13.2.spec delete mode 100644 redhat/applications/k9copy/trinity-k9copy-3.5.13.spec create mode 100644 redhat/applications/kaffeine-mozilla/kaffeine-mozilla-3.5.13.1.spec create mode 100644 redhat/applications/kaffeine-mozilla/kaffeine-mozilla-3.5.13.2.spec create mode 100644 redhat/applications/kaffeine-mozilla/kaffeine-mozilla-3.5.13.spec delete mode 100644 redhat/applications/kaffeine-mozilla/trinity-kaffeine-mozilla-3.5.13.1.spec delete mode 100644 redhat/applications/kaffeine-mozilla/trinity-kaffeine-mozilla-3.5.13.2.spec delete mode 100644 redhat/applications/kaffeine-mozilla/trinity-kaffeine-mozilla-3.5.13.spec create mode 100644 redhat/applications/kaffeine/kaffeine-3.5.13.1.spec create mode 100644 redhat/applications/kaffeine/kaffeine-3.5.13.2.spec create mode 100644 redhat/applications/kaffeine/kaffeine-3.5.13.spec delete mode 100644 redhat/applications/kaffeine/trinity-kaffeine-3.5.13.1.spec delete mode 100644 redhat/applications/kaffeine/trinity-kaffeine-3.5.13.2.spec delete mode 100644 redhat/applications/kaffeine/trinity-kaffeine-3.5.13.spec create mode 100644 redhat/applications/katapult/katapult-3.5.12.spec create mode 100644 redhat/applications/katapult/katapult-3.5.13.1.spec create mode 100644 redhat/applications/katapult/katapult-3.5.13.2.spec create mode 100644 redhat/applications/katapult/katapult-3.5.13.spec delete mode 100644 redhat/applications/katapult/trinity-katapult-3.5.12.spec delete mode 100644 redhat/applications/katapult/trinity-katapult-3.5.13.1.spec delete mode 100644 redhat/applications/katapult/trinity-katapult-3.5.13.2.spec delete mode 100644 redhat/applications/katapult/trinity-katapult-3.5.13.spec create mode 100644 redhat/applications/kbarcode/kbarcode-3.5.13.1.spec create mode 100644 redhat/applications/kbarcode/kbarcode-3.5.13.2.spec create mode 100644 redhat/applications/kbarcode/kbarcode-3.5.13.spec delete mode 100644 redhat/applications/kbarcode/trinity-kbarcode-3.5.13.1.spec delete mode 100644 redhat/applications/kbarcode/trinity-kbarcode-3.5.13.2.spec delete mode 100644 redhat/applications/kbarcode/trinity-kbarcode-3.5.13.spec create mode 100644 redhat/applications/kbfx/kbfx-3.5.13.1.spec create mode 100644 redhat/applications/kbfx/kbfx-3.5.13.2.spec create mode 100644 redhat/applications/kbfx/kbfx-3.5.13.spec delete mode 100644 redhat/applications/kbfx/trinity-kbfx-3.5.13.1.spec delete mode 100644 redhat/applications/kbfx/trinity-kbfx-3.5.13.2.spec delete mode 100644 redhat/applications/kbfx/trinity-kbfx-3.5.13.spec create mode 100644 redhat/applications/kbookreader/kbookreader-3.5.13.1.spec create mode 100644 redhat/applications/kbookreader/kbookreader-3.5.13.2.spec create mode 100644 redhat/applications/kbookreader/kbookreader-3.5.13.spec delete mode 100644 redhat/applications/kbookreader/trinity-kbookreader-3.5.13.1.spec delete mode 100644 redhat/applications/kbookreader/trinity-kbookreader-3.5.13.2.spec delete mode 100644 redhat/applications/kbookreader/trinity-kbookreader-3.5.13.spec create mode 100644 redhat/applications/kchmviewer/kchmviewer-3.5.13.1.spec create mode 100644 redhat/applications/kchmviewer/kchmviewer-3.5.13.2.spec create mode 100644 redhat/applications/kchmviewer/kchmviewer-3.5.13.spec delete mode 100644 redhat/applications/kchmviewer/trinity-kchmviewer-3.5.13.1.spec delete mode 100644 redhat/applications/kchmviewer/trinity-kchmviewer-3.5.13.2.spec delete mode 100644 redhat/applications/kchmviewer/trinity-kchmviewer-3.5.13.spec create mode 100644 redhat/applications/kcpuload/kcpuload-3.5.13.1.spec create mode 100644 redhat/applications/kcpuload/kcpuload-3.5.13.2.spec create mode 100644 redhat/applications/kcpuload/kcpuload-3.5.13.spec delete mode 100644 redhat/applications/kcpuload/trinity-kcpuload-3.5.13.1.spec delete mode 100644 redhat/applications/kcpuload/trinity-kcpuload-3.5.13.2.spec delete mode 100644 redhat/applications/kcpuload/trinity-kcpuload-3.5.13.spec create mode 100644 redhat/applications/kdbusnotification/kdbusnotification-3.5.13.1.spec create mode 100644 redhat/applications/kdbusnotification/kdbusnotification-3.5.13.2.spec create mode 100644 redhat/applications/kdbusnotification/kdbusnotification-3.5.13.spec delete mode 100644 redhat/applications/kdbusnotification/trinity-kdbusnotification-3.5.13.1.spec delete mode 100644 redhat/applications/kdbusnotification/trinity-kdbusnotification-3.5.13.2.spec delete mode 100644 redhat/applications/kdbusnotification/trinity-kdbusnotification-3.5.13.spec create mode 100644 redhat/applications/kdiff3/kdiff3-3.5.12.spec create mode 100644 redhat/applications/kdiff3/kdiff3-3.5.13.1.spec create mode 100644 redhat/applications/kdiff3/kdiff3-3.5.13.2.spec create mode 100644 redhat/applications/kdiff3/kdiff3-3.5.13.spec delete mode 100644 redhat/applications/kdiff3/trinity-kdiff3-3.5.12.spec delete mode 100644 redhat/applications/kdiff3/trinity-kdiff3-3.5.13.1.spec delete mode 100644 redhat/applications/kdiff3/trinity-kdiff3-3.5.13.2.spec delete mode 100644 redhat/applications/kdiff3/trinity-kdiff3-3.5.13.spec create mode 100644 redhat/applications/kdirstat/kdirstat-3.5.13.1.spec create mode 100644 redhat/applications/kdirstat/kdirstat-3.5.13.2.spec create mode 100644 redhat/applications/kdirstat/kdirstat-3.5.13.spec delete mode 100644 redhat/applications/kdirstat/trinity-kdirstat-3.5.13.1.spec delete mode 100644 redhat/applications/kdirstat/trinity-kdirstat-3.5.13.2.spec delete mode 100644 redhat/applications/kdirstat/trinity-kdirstat-3.5.13.spec create mode 100644 redhat/applications/keep/keep-3.5.13.1.spec create mode 100644 redhat/applications/keep/keep-3.5.13.2.spec create mode 100644 redhat/applications/keep/keep-3.5.13.spec delete mode 100644 redhat/applications/keep/trinity-keep-3.5.13.1.spec delete mode 100644 redhat/applications/keep/trinity-keep-3.5.13.2.spec delete mode 100644 redhat/applications/keep/trinity-keep-3.5.13.spec create mode 100644 redhat/applications/kerry/kerry-3.5.13.1.spec create mode 100644 redhat/applications/kerry/kerry-3.5.13.2.spec create mode 100644 redhat/applications/kerry/kerry-3.5.13.spec delete mode 100644 redhat/applications/kerry/trinity-kerry-3.5.13.1.spec delete mode 100644 redhat/applications/kerry/trinity-kerry-3.5.13.2.spec delete mode 100644 redhat/applications/kerry/trinity-kerry-3.5.13.spec create mode 100644 redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13.1.spec create mode 100644 redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13.2.spec create mode 100644 redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13.spec delete mode 100644 redhat/applications/kgtk-qt3/trinity-kgtk-qt3-3.5.13.1.spec delete mode 100644 redhat/applications/kgtk-qt3/trinity-kgtk-qt3-3.5.13.2.spec delete mode 100644 redhat/applications/kgtk-qt3/trinity-kgtk-qt3-3.5.13.spec create mode 100644 redhat/applications/kile/kile-3.5.13.1.spec create mode 100644 redhat/applications/kile/kile-3.5.13.2.spec create mode 100644 redhat/applications/kile/kile-3.5.13.spec delete mode 100644 redhat/applications/kile/trinity-kile-3.5.13.1.spec delete mode 100644 redhat/applications/kile/trinity-kile-3.5.13.2.spec delete mode 100644 redhat/applications/kile/trinity-kile-3.5.13.spec create mode 100644 redhat/applications/kima/kima-3.5.13.1.spec create mode 100644 redhat/applications/kima/kima-3.5.13.2.spec create mode 100644 redhat/applications/kima/kima-3.5.13.spec delete mode 100644 redhat/applications/kima/trinity-kima-3.5.13.1.spec delete mode 100644 redhat/applications/kima/trinity-kima-3.5.13.2.spec delete mode 100644 redhat/applications/kima/trinity-kima-3.5.13.spec create mode 100644 redhat/applications/kiosktool/kiosktool-3.5.13.1.spec create mode 100644 redhat/applications/kiosktool/kiosktool-3.5.13.2.spec create mode 100644 redhat/applications/kiosktool/kiosktool-3.5.13.spec delete mode 100644 redhat/applications/kiosktool/trinity-kiosktool-3.5.13.1.spec delete mode 100644 redhat/applications/kiosktool/trinity-kiosktool-3.5.13.2.spec delete mode 100644 redhat/applications/kiosktool/trinity-kiosktool-3.5.13.spec create mode 100644 redhat/applications/kmplayer/kmplayer-3.5.13.1.spec create mode 100644 redhat/applications/kmplayer/kmplayer-3.5.13.2.spec create mode 100644 redhat/applications/kmplayer/kmplayer-3.5.13.spec delete mode 100644 redhat/applications/kmplayer/trinity-kmplayer-3.5.13.1.spec delete mode 100644 redhat/applications/kmplayer/trinity-kmplayer-3.5.13.2.spec delete mode 100644 redhat/applications/kmplayer/trinity-kmplayer-3.5.13.spec create mode 100644 redhat/applications/kmyfirewall/kmyfirewall-3.5.13.1.spec create mode 100644 redhat/applications/kmyfirewall/kmyfirewall-3.5.13.2.spec create mode 100644 redhat/applications/kmyfirewall/kmyfirewall-3.5.13.spec delete mode 100644 redhat/applications/kmyfirewall/trinity-kmyfirewall-3.5.13.1.spec delete mode 100644 redhat/applications/kmyfirewall/trinity-kmyfirewall-3.5.13.2.spec delete mode 100644 redhat/applications/kmyfirewall/trinity-kmyfirewall-3.5.13.spec create mode 100644 redhat/applications/kmymoney/kmymoney-3.5.13.1.spec create mode 100644 redhat/applications/kmymoney/kmymoney-3.5.13.2.spec create mode 100644 redhat/applications/kmymoney/kmymoney-3.5.13.spec delete mode 100644 redhat/applications/kmymoney/trinity-kmymoney-3.5.13.1.spec delete mode 100644 redhat/applications/kmymoney/trinity-kmymoney-3.5.13.2.spec delete mode 100644 redhat/applications/kmymoney/trinity-kmymoney-3.5.13.spec create mode 100644 redhat/applications/knemo/knemo-3.5.13.1.spec create mode 100644 redhat/applications/knemo/knemo-3.5.13.2.spec create mode 100644 redhat/applications/knemo/knemo-3.5.13.spec delete mode 100644 redhat/applications/knemo/trinity-knemo-3.5.13.1.spec delete mode 100644 redhat/applications/knemo/trinity-knemo-3.5.13.2.spec delete mode 100644 redhat/applications/knemo/trinity-knemo-3.5.13.spec create mode 100644 redhat/applications/knetload/knetload-3.5.13.1.spec create mode 100644 redhat/applications/knetload/knetload-3.5.13.2.spec create mode 100644 redhat/applications/knetload/knetload-3.5.13.spec delete mode 100644 redhat/applications/knetload/trinity-knetload-3.5.13.1.spec delete mode 100644 redhat/applications/knetload/trinity-knetload-3.5.13.2.spec delete mode 100644 redhat/applications/knetload/trinity-knetload-3.5.13.spec create mode 100644 redhat/applications/knetstats/knetstats-3.5.13.1.spec create mode 100644 redhat/applications/knetstats/knetstats-3.5.13.2.spec create mode 100644 redhat/applications/knetstats/knetstats-3.5.13.spec delete mode 100644 redhat/applications/knetstats/trinity-knetstats-3.5.13.1.spec delete mode 100644 redhat/applications/knetstats/trinity-knetstats-3.5.13.2.spec delete mode 100644 redhat/applications/knetstats/trinity-knetstats-3.5.13.spec create mode 100644 redhat/applications/knetworkmanager8/knetworkmanager-3.5.13.1.spec create mode 100644 redhat/applications/knetworkmanager8/knetworkmanager-3.5.13.2.spec create mode 100644 redhat/applications/knetworkmanager8/knetworkmanager-3.5.13.spec delete mode 100644 redhat/applications/knetworkmanager8/trinity-knetworkmanager-3.5.13.1.spec delete mode 100644 redhat/applications/knetworkmanager8/trinity-knetworkmanager-3.5.13.2.spec delete mode 100644 redhat/applications/knetworkmanager8/trinity-knetworkmanager-3.5.13.spec create mode 100644 redhat/applications/knights/knights-3.5.13.1.spec create mode 100644 redhat/applications/knights/knights-3.5.13.2.spec create mode 100644 redhat/applications/knights/knights-3.5.13.spec delete mode 100644 redhat/applications/knights/trinity-knights-3.5.13.1.spec delete mode 100644 redhat/applications/knights/trinity-knights-3.5.13.2.spec delete mode 100644 redhat/applications/knights/trinity-knights-3.5.13.spec create mode 100644 redhat/applications/knowit/knowit-3.5.13.1.spec create mode 100644 redhat/applications/knowit/knowit-3.5.13.2.spec create mode 100644 redhat/applications/knowit/knowit-3.5.13.spec delete mode 100644 redhat/applications/knowit/trinity-knowit-3.5.13.1.spec delete mode 100644 redhat/applications/knowit/trinity-knowit-3.5.13.2.spec delete mode 100644 redhat/applications/knowit/trinity-knowit-3.5.13.spec create mode 100644 redhat/applications/knutclient/knutclient-3.5.13.1.spec create mode 100644 redhat/applications/knutclient/knutclient-3.5.13.2.spec create mode 100644 redhat/applications/knutclient/knutclient-3.5.13.spec delete mode 100644 redhat/applications/knutclient/trinity-knutclient-3.5.13.1.spec delete mode 100644 redhat/applications/knutclient/trinity-knutclient-3.5.13.2.spec delete mode 100644 redhat/applications/knutclient/trinity-knutclient-3.5.13.spec create mode 100644 redhat/applications/koffice-i18n/koffice-i18n-3.5.13.1.spec create mode 100644 redhat/applications/koffice-i18n/koffice-i18n-3.5.13.2.spec create mode 100644 redhat/applications/koffice-i18n/koffice-l10n-3.5.13.spec delete mode 100644 redhat/applications/koffice-i18n/trinity-koffice-i18n-3.5.13.1.spec delete mode 100644 redhat/applications/koffice-i18n/trinity-koffice-i18n-3.5.13.2.spec delete mode 100644 redhat/applications/koffice-i18n/trinity-koffice-l10n-3.5.13.spec create mode 100644 redhat/applications/koffice/koffice-3.5.13.1.spec create mode 100644 redhat/applications/koffice/koffice-3.5.13.2.spec create mode 100644 redhat/applications/koffice/koffice-3.5.13.spec delete mode 100644 redhat/applications/koffice/trinity-koffice-3.5.13.1.spec delete mode 100644 redhat/applications/koffice/trinity-koffice-3.5.13.2.spec delete mode 100644 redhat/applications/koffice/trinity-koffice-3.5.13.spec create mode 100644 redhat/applications/konversation/konversation-3.5.13.1.spec create mode 100644 redhat/applications/konversation/konversation-3.5.13.2.spec create mode 100644 redhat/applications/konversation/konversation-3.5.13.spec delete mode 100644 redhat/applications/konversation/trinity-konversation-3.5.13.1.spec delete mode 100644 redhat/applications/konversation/trinity-konversation-3.5.13.2.spec delete mode 100644 redhat/applications/konversation/trinity-konversation-3.5.13.spec create mode 100644 redhat/applications/kopete-otr/kopete-otr-3.5.13.1.spec create mode 100644 redhat/applications/kopete-otr/kopete-otr-3.5.13.2.spec create mode 100644 redhat/applications/kopete-otr/kopete-otr-3.5.13.spec delete mode 100644 redhat/applications/kopete-otr/trinity-kopete-otr-3.5.13.1.spec delete mode 100644 redhat/applications/kopete-otr/trinity-kopete-otr-3.5.13.2.spec delete mode 100644 redhat/applications/kopete-otr/trinity-kopete-otr-3.5.13.spec create mode 100644 redhat/applications/kpicosim/kpicosim-3.5.13.1.spec create mode 100644 redhat/applications/kpicosim/kpicosim-3.5.13.2.spec create mode 100644 redhat/applications/kpicosim/kpicosim-3.5.13.spec delete mode 100644 redhat/applications/kpicosim/trinity-kpicosim-3.5.13.1.spec delete mode 100644 redhat/applications/kpicosim/trinity-kpicosim-3.5.13.2.spec delete mode 100644 redhat/applications/kpicosim/trinity-kpicosim-3.5.13.spec create mode 100644 redhat/applications/kpilot/kpilot-3.5.13.1.spec create mode 100644 redhat/applications/kpilot/kpilot-3.5.13.2.spec create mode 100644 redhat/applications/kpilot/kpilot-3.5.13.spec delete mode 100644 redhat/applications/kpilot/trinity-kpilot-3.5.13.1.spec delete mode 100644 redhat/applications/kpilot/trinity-kpilot-3.5.13.2.spec delete mode 100644 redhat/applications/kpilot/trinity-kpilot-3.5.13.spec create mode 100644 redhat/applications/kpowersave/kpowersave-3.5.13.1.spec create mode 100644 redhat/applications/kpowersave/kpowersave-3.5.13.2.spec create mode 100644 redhat/applications/kpowersave/kpowersave-3.5.13.spec delete mode 100644 redhat/applications/kpowersave/trinity-kpowersave-3.5.13.1.spec delete mode 100644 redhat/applications/kpowersave/trinity-kpowersave-3.5.13.2.spec delete mode 100644 redhat/applications/kpowersave/trinity-kpowersave-3.5.13.spec create mode 100644 redhat/applications/krename/krename-3.5.12.spec create mode 100644 redhat/applications/krename/krename-3.5.13.1.spec create mode 100644 redhat/applications/krename/krename-3.5.13.2.spec create mode 100644 redhat/applications/krename/krename-3.5.13.spec delete mode 100644 redhat/applications/krename/trinity-krename-3.5.12.spec delete mode 100644 redhat/applications/krename/trinity-krename-3.5.13.1.spec delete mode 100644 redhat/applications/krename/trinity-krename-3.5.13.2.spec delete mode 100644 redhat/applications/krename/trinity-krename-3.5.13.spec create mode 100644 redhat/applications/krusader/krusader-3.5.13.1.spec create mode 100644 redhat/applications/krusader/krusader-3.5.13.2.spec create mode 100644 redhat/applications/krusader/krusader-3.5.13.spec delete mode 100644 redhat/applications/krusader/trinity-krusader-3.5.13.1.spec delete mode 100644 redhat/applications/krusader/trinity-krusader-3.5.13.2.spec delete mode 100644 redhat/applications/krusader/trinity-krusader-3.5.13.spec create mode 100644 redhat/applications/ksplash-engine-moodin/ksplash-engine-moodin-3.5.13.1.spec create mode 100644 redhat/applications/ksplash-engine-moodin/ksplash-engine-moodin-3.5.13.2.spec create mode 100644 redhat/applications/ksplash-engine-moodin/ksplash-engine-moodin-3.5.13.spec delete mode 100644 redhat/applications/ksplash-engine-moodin/trinity-ksplash-engine-moodin-3.5.13.1.spec delete mode 100644 redhat/applications/ksplash-engine-moodin/trinity-ksplash-engine-moodin-3.5.13.2.spec delete mode 100644 redhat/applications/ksplash-engine-moodin/trinity-ksplash-engine-moodin-3.5.13.spec create mode 100644 redhat/applications/ksquirrel/ksquirrel-3.5.13.1.spec create mode 100644 redhat/applications/ksquirrel/ksquirrel-3.5.13.2.spec create mode 100644 redhat/applications/ksquirrel/ksquirrel-3.5.13.spec delete mode 100644 redhat/applications/ksquirrel/trinity-ksquirrel-3.5.13.1.spec delete mode 100644 redhat/applications/ksquirrel/trinity-ksquirrel-3.5.13.2.spec delete mode 100644 redhat/applications/ksquirrel/trinity-ksquirrel-3.5.13.spec create mode 100644 redhat/applications/kstreamripper/kstreamripper-3.5.13.1.spec create mode 100644 redhat/applications/kstreamripper/kstreamripper-3.5.13.2.spec create mode 100644 redhat/applications/kstreamripper/kstreamripper-3.5.13.spec delete mode 100644 redhat/applications/kstreamripper/trinity-kstreamripper-3.5.13.1.spec delete mode 100644 redhat/applications/kstreamripper/trinity-kstreamripper-3.5.13.2.spec delete mode 100644 redhat/applications/kstreamripper/trinity-kstreamripper-3.5.13.spec create mode 100644 redhat/applications/ksystemlog/ksystemlog-3.5.13.1.spec create mode 100644 redhat/applications/ksystemlog/ksystemlog-3.5.13.2.spec create mode 100644 redhat/applications/ksystemlog/ksystemlog-3.5.13.spec delete mode 100644 redhat/applications/ksystemlog/trinity-ksystemlog-3.5.13.1.spec delete mode 100644 redhat/applications/ksystemlog/trinity-ksystemlog-3.5.13.2.spec delete mode 100644 redhat/applications/ksystemlog/trinity-ksystemlog-3.5.13.spec create mode 100644 redhat/applications/ktechlab/ktechlab-3.5.13.1.spec create mode 100644 redhat/applications/ktechlab/ktechlab-3.5.13.2.spec create mode 100644 redhat/applications/ktechlab/ktechlab-3.5.13.spec delete mode 100644 redhat/applications/ktechlab/trinity-ktechlab-3.5.13.1.spec delete mode 100644 redhat/applications/ktechlab/trinity-ktechlab-3.5.13.2.spec delete mode 100644 redhat/applications/ktechlab/trinity-ktechlab-3.5.13.spec create mode 100644 redhat/applications/ktorrent/ktorrent-3.5.13.1.spec create mode 100644 redhat/applications/ktorrent/ktorrent-3.5.13.2.spec create mode 100644 redhat/applications/ktorrent/ktorrent-3.5.13.spec delete mode 100644 redhat/applications/ktorrent/trinity-ktorrent-3.5.13.1.spec delete mode 100644 redhat/applications/ktorrent/trinity-ktorrent-3.5.13.2.spec delete mode 100644 redhat/applications/ktorrent/trinity-ktorrent-3.5.13.spec create mode 100644 redhat/applications/kuickshow/kuickshow-3.5.12.spec create mode 100644 redhat/applications/kuickshow/kuickshow-3.5.13.1.spec create mode 100644 redhat/applications/kuickshow/kuickshow-3.5.13.2.spec create mode 100644 redhat/applications/kuickshow/kuickshow-3.5.13.spec delete mode 100644 redhat/applications/kuickshow/trinity-kuickshow-3.5.12.spec delete mode 100644 redhat/applications/kuickshow/trinity-kuickshow-3.5.13.1.spec delete mode 100644 redhat/applications/kuickshow/trinity-kuickshow-3.5.13.2.spec delete mode 100644 redhat/applications/kuickshow/trinity-kuickshow-3.5.13.spec create mode 100644 redhat/applications/kvirc/kvirc-3.5.13.1.spec create mode 100644 redhat/applications/kvirc/kvirc-3.5.13.2.spec create mode 100644 redhat/applications/kvirc/kvirc-3.5.13.spec delete mode 100644 redhat/applications/kvirc/trinity-kvirc-3.5.13.1.spec delete mode 100644 redhat/applications/kvirc/trinity-kvirc-3.5.13.2.spec delete mode 100644 redhat/applications/kvirc/trinity-kvirc-3.5.13.spec create mode 100644 redhat/applications/kvkbd/kvkbd-3.5.13.1.spec create mode 100644 redhat/applications/kvkbd/kvkbd-3.5.13.2.spec create mode 100644 redhat/applications/kvkbd/kvkbd-3.5.13.spec delete mode 100644 redhat/applications/kvkbd/trinity-kvkbd-3.5.13.1.spec delete mode 100644 redhat/applications/kvkbd/trinity-kvkbd-3.5.13.2.spec delete mode 100644 redhat/applications/kvkbd/trinity-kvkbd-3.5.13.spec create mode 100644 redhat/applications/kvpnc/kvpnc.spec delete mode 100644 redhat/applications/kvpnc/trinity-kvpnc.spec create mode 100644 redhat/applications/piklab/piklab-3.5.13.1.spec create mode 100644 redhat/applications/piklab/piklab-3.5.13.2.spec create mode 100644 redhat/applications/piklab/piklab-3.5.13.spec delete mode 100644 redhat/applications/piklab/trinity-piklab-3.5.13.1.spec delete mode 100644 redhat/applications/piklab/trinity-piklab-3.5.13.2.spec delete mode 100644 redhat/applications/piklab/trinity-piklab-3.5.13.spec create mode 100644 redhat/applications/potracegui/potracegui-3.5.13.1.spec create mode 100644 redhat/applications/potracegui/potracegui-3.5.13.2.spec create mode 100644 redhat/applications/potracegui/potracegui-3.5.13.spec delete mode 100644 redhat/applications/potracegui/trinity-potracegui-3.5.13.1.spec delete mode 100644 redhat/applications/potracegui/trinity-potracegui-3.5.13.2.spec delete mode 100644 redhat/applications/potracegui/trinity-potracegui-3.5.13.spec create mode 100644 redhat/applications/rosegarden/rosegarden-3.5.13.1.spec create mode 100644 redhat/applications/rosegarden/rosegarden-3.5.13.2.spec create mode 100644 redhat/applications/rosegarden/rosegarden-3.5.13.spec delete mode 100644 redhat/applications/rosegarden/trinity-rosegarden-3.5.13.1.spec delete mode 100644 redhat/applications/rosegarden/trinity-rosegarden-3.5.13.2.spec delete mode 100644 redhat/applications/rosegarden/trinity-rosegarden-3.5.13.spec create mode 100644 redhat/applications/smartcardauth/smartcardauth-3.5.13.1.spec create mode 100644 redhat/applications/smartcardauth/smartcardauth-3.5.13.2.spec create mode 100644 redhat/applications/smartcardauth/smartcardauth-3.5.13.spec delete mode 100644 redhat/applications/smartcardauth/trinity-smartcardauth-3.5.13.1.spec delete mode 100644 redhat/applications/smartcardauth/trinity-smartcardauth-3.5.13.2.spec delete mode 100644 redhat/applications/smartcardauth/trinity-smartcardauth-3.5.13.spec create mode 100644 redhat/applications/smb4k/smb4k-3.5.13.1.spec create mode 100644 redhat/applications/smb4k/smb4k-3.5.13.2.spec create mode 100644 redhat/applications/smb4k/smb4k-3.5.13.spec delete mode 100644 redhat/applications/smb4k/trinity-smb4k-3.5.13.1.spec delete mode 100644 redhat/applications/smb4k/trinity-smb4k-3.5.13.2.spec delete mode 100644 redhat/applications/smb4k/trinity-smb4k-3.5.13.spec create mode 100644 redhat/applications/soundkonverter/soundkonverter-3.5.13.1.spec create mode 100644 redhat/applications/soundkonverter/soundkonverter-3.5.13.2.spec create mode 100644 redhat/applications/soundkonverter/soundkonverter-3.5.13.spec delete mode 100644 redhat/applications/soundkonverter/trinity-soundkonverter-3.5.13.1.spec delete mode 100644 redhat/applications/soundkonverter/trinity-soundkonverter-3.5.13.2.spec delete mode 100644 redhat/applications/soundkonverter/trinity-soundkonverter-3.5.13.spec create mode 100644 redhat/applications/tde-guidance/guidance-3.5.13.1.spec create mode 100644 redhat/applications/tde-guidance/guidance-3.5.13.spec create mode 100644 redhat/applications/tde-guidance/tde-guidance-3.5.13.2.spec delete mode 100644 redhat/applications/tde-guidance/trinity-guidance-3.5.13.1.spec delete mode 100644 redhat/applications/tde-guidance/trinity-guidance-3.5.13.spec delete mode 100644 redhat/applications/tde-guidance/trinity-tde-guidance-3.5.13.2.spec create mode 100644 redhat/applications/tde-style-lipstik/kde-style-lipstik-3.5.12.spec create mode 100644 redhat/applications/tde-style-lipstik/kde-style-lipstik-3.5.13.1.spec create mode 100644 redhat/applications/tde-style-lipstik/kde-style-lipstik-3.5.13.spec create mode 100644 redhat/applications/tde-style-lipstik/tde-style-lipstik-3.5.13.2.spec delete mode 100644 redhat/applications/tde-style-lipstik/trinity-kde-style-lipstik-3.5.12.spec delete mode 100644 redhat/applications/tde-style-lipstik/trinity-kde-style-lipstik-3.5.13.1.spec delete mode 100644 redhat/applications/tde-style-lipstik/trinity-kde-style-lipstik-3.5.13.spec delete mode 100644 redhat/applications/tde-style-lipstik/trinity-tde-style-lipstik-3.5.13.2.spec create mode 100644 redhat/applications/tde-style-qtcurve/kde-style-qtcurve-3.5.13.1.spec create mode 100644 redhat/applications/tde-style-qtcurve/kde-style-qtcurve-3.5.13.spec create mode 100644 redhat/applications/tde-style-qtcurve/tde-style-qtcurve-3.5.13.2.spec delete mode 100644 redhat/applications/tde-style-qtcurve/trinity-kde-style-qtcurve-3.5.13.1.spec delete mode 100644 redhat/applications/tde-style-qtcurve/trinity-kde-style-qtcurve-3.5.13.spec delete mode 100644 redhat/applications/tde-style-qtcurve/trinity-tde-style-qtcurve-3.5.13.2.spec create mode 100644 redhat/applications/tde-systemsettings/kde-systemsettings-3.5.13.1.spec create mode 100644 redhat/applications/tde-systemsettings/kde-systemsettings-3.5.13.spec create mode 100644 redhat/applications/tde-systemsettings/tde-systemsettings-3.5.13.2.spec delete mode 100644 redhat/applications/tde-systemsettings/trinity-kde-systemsettings-3.5.13.1.spec delete mode 100644 redhat/applications/tde-systemsettings/trinity-kde-systemsettings-3.5.13.spec delete mode 100644 redhat/applications/tde-systemsettings/trinity-tde-systemsettings-3.5.13.2.spec create mode 100644 redhat/applications/tdeio-apt/tdeio-apt-3.5.13.2.spec delete mode 100644 redhat/applications/tdeio-apt/trinity-tdeio-apt-3.5.13.2.spec create mode 100644 redhat/applications/tdeio-locate/kio-locate-3.5.12.spec create mode 100644 redhat/applications/tdeio-locate/kio-locate-3.5.13.1.spec create mode 100644 redhat/applications/tdeio-locate/kio-locate-3.5.13.spec create mode 100644 redhat/applications/tdeio-locate/tdeio-locate-3.5.13.2.spec delete mode 100644 redhat/applications/tdeio-locate/trinity-kio-locate-3.5.12.spec delete mode 100644 redhat/applications/tdeio-locate/trinity-kio-locate-3.5.13.1.spec delete mode 100644 redhat/applications/tdeio-locate/trinity-kio-locate-3.5.13.spec delete mode 100644 redhat/applications/tdeio-locate/trinity-tdeio-locate-3.5.13.2.spec create mode 100644 redhat/applications/tdeio-umountwrapper/kio-umountwrapper-3.5.13.1.spec create mode 100644 redhat/applications/tdeio-umountwrapper/kio-umountwrapper-3.5.13.spec create mode 100644 redhat/applications/tdeio-umountwrapper/tdeio-umountwrapper-3.5.13.2.spec delete mode 100644 redhat/applications/tdeio-umountwrapper/trinity-kio-umountwrapper-3.5.13.1.spec delete mode 100644 redhat/applications/tdeio-umountwrapper/trinity-kio-umountwrapper-3.5.13.spec delete mode 100644 redhat/applications/tdeio-umountwrapper/trinity-tdeio-umountwrapper-3.5.13.2.spec create mode 100644 redhat/applications/tderadio/kradio-3.5.13.1.spec create mode 100644 redhat/applications/tderadio/kradio-3.5.13.spec create mode 100644 redhat/applications/tderadio/tderadio-3.5.13.2.spec delete mode 100644 redhat/applications/tderadio/trinity-kradio-3.5.13.1.spec delete mode 100644 redhat/applications/tderadio/trinity-kradio-3.5.13.spec delete mode 100644 redhat/applications/tderadio/trinity-tderadio-3.5.13.2.spec create mode 100644 redhat/applications/tdesudo/kdesudo-3.5.13.1.spec create mode 100644 redhat/applications/tdesudo/kdesudo-3.5.13.spec create mode 100644 redhat/applications/tdesudo/tdesudo-3.5.13.2.spec delete mode 100644 redhat/applications/tdesudo/trinity-kdesudo-3.5.13.1.spec delete mode 100644 redhat/applications/tdesudo/trinity-kdesudo-3.5.13.spec delete mode 100644 redhat/applications/tdesudo/trinity-tdesudo-3.5.13.2.spec create mode 100644 redhat/applications/tdesvn/kdesvn-3.5.13.1.spec create mode 100644 redhat/applications/tdesvn/kdesvn-3.5.13.spec create mode 100644 redhat/applications/tdesvn/tdesvn-3.5.13.2.spec delete mode 100644 redhat/applications/tdesvn/trinity-kdesvn-3.5.13.1.spec delete mode 100644 redhat/applications/tdesvn/trinity-kdesvn-3.5.13.spec delete mode 100644 redhat/applications/tdesvn/trinity-tdesvn-3.5.13.2.spec create mode 100644 redhat/applications/tdmtheme/kdmtheme-3.5.13.1.spec create mode 100644 redhat/applications/tdmtheme/kdmtheme-3.5.13.spec create mode 100644 redhat/applications/tdmtheme/tdmtheme-3.5.13.2.spec delete mode 100644 redhat/applications/tdmtheme/trinity-kdmtheme-3.5.13.1.spec delete mode 100644 redhat/applications/tdmtheme/trinity-kdmtheme-3.5.13.spec delete mode 100644 redhat/applications/tdmtheme/trinity-tdmtheme-3.5.13.2.spec create mode 100644 redhat/applications/tellico/tellico-3.5.13.1.spec create mode 100644 redhat/applications/tellico/tellico-3.5.13.2.spec create mode 100644 redhat/applications/tellico/tellico-3.5.13.spec delete mode 100644 redhat/applications/tellico/trinity-tellico-3.5.13.1.spec delete mode 100644 redhat/applications/tellico/trinity-tellico-3.5.13.2.spec delete mode 100644 redhat/applications/tellico/trinity-tellico-3.5.13.spec create mode 100644 redhat/applications/twin-style-crystal/kwin-style-crystal-3.5.12.spec create mode 100644 redhat/applications/twin-style-crystal/kwin-style-crystal-3.5.13.1.spec create mode 100644 redhat/applications/twin-style-crystal/kwin-style-crystal-3.5.13.spec delete mode 100644 redhat/applications/twin-style-crystal/trinity-kwin-style-crystal-3.5.12.spec delete mode 100644 redhat/applications/twin-style-crystal/trinity-kwin-style-crystal-3.5.13.1.spec delete mode 100644 redhat/applications/twin-style-crystal/trinity-kwin-style-crystal-3.5.13.spec delete mode 100644 redhat/applications/twin-style-crystal/trinity-twin-style-crystal-3.5.13.2.spec create mode 100644 redhat/applications/twin-style-crystal/twin-style-crystal-3.5.13.2.spec delete mode 100644 redhat/applications/wlassistant/trinity-wlassistant-3.5.13.1.spec delete mode 100644 redhat/applications/wlassistant/trinity-wlassistant-3.5.13.2.spec delete mode 100644 redhat/applications/wlassistant/trinity-wlassistant-3.5.13.spec create mode 100644 redhat/applications/wlassistant/wlassistant-3.5.13.1.spec create mode 100644 redhat/applications/wlassistant/wlassistant-3.5.13.2.spec create mode 100644 redhat/applications/wlassistant/wlassistant-3.5.13.spec delete mode 100644 redhat/applications/yakuake/trinity-yakuake-3.5.12.spec delete mode 100644 redhat/applications/yakuake/trinity-yakuake-3.5.13.1.spec delete mode 100644 redhat/applications/yakuake/trinity-yakuake-3.5.13.2.spec delete mode 100644 redhat/applications/yakuake/trinity-yakuake-3.5.13.spec create mode 100644 redhat/applications/yakuake/yakuake-3.5.12.spec create mode 100644 redhat/applications/yakuake/yakuake-3.5.13.1.spec create mode 100644 redhat/applications/yakuake/yakuake-3.5.13.2.spec create mode 100644 redhat/applications/yakuake/yakuake-3.5.13.spec create mode 100644 redhat/dependencies/arts/arts-14.0.0.spec create mode 100644 redhat/dependencies/arts/arts-3.5.12.spec create mode 100644 redhat/dependencies/arts/arts-3.5.13.1.spec create mode 100644 redhat/dependencies/arts/arts-3.5.13.2.spec create mode 100644 redhat/dependencies/arts/arts-3.5.13.spec delete mode 100644 redhat/dependencies/arts/trinity-arts-14.0.0.spec delete mode 100644 redhat/dependencies/arts/trinity-arts-3.5.12.spec delete mode 100644 redhat/dependencies/arts/trinity-arts-3.5.13.1.spec delete mode 100644 redhat/dependencies/arts/trinity-arts-3.5.13.2.spec delete mode 100644 redhat/dependencies/arts/trinity-arts-3.5.13.spec create mode 100644 redhat/dependencies/tqca-tls/tqca-tls-14.0.0.spec create mode 100644 redhat/dependencies/tqca-tls/tqca-tls-3.5.13.2.spec delete mode 100644 redhat/dependencies/tqca-tls/trinity-tqca-tls-14.0.0.spec delete mode 100644 redhat/dependencies/tqca-tls/trinity-tqca-tls-3.5.13.2.spec create mode 100644 redhat/dependencies/tqca/tqca-14.0.0.spec create mode 100644 redhat/dependencies/tqca/tqca-3.5.13.2.spec delete mode 100644 redhat/dependencies/tqca/trinity-tqca-14.0.0.spec delete mode 100644 redhat/dependencies/tqca/trinity-tqca-3.5.13.2.spec create mode 100644 redhat/dependencies/tqt3/tqt3-14.0.0.spec delete mode 100644 redhat/dependencies/tqt3/trinity-tqt3-14.0.0.spec create mode 100644 redhat/extras/akode/akode-3.5.13.1.spec create mode 100644 redhat/extras/akode/akode-3.5.13.2.spec create mode 100644 redhat/extras/akode/akode-3.5.13.spec delete mode 100644 redhat/extras/akode/trinity-akode-3.5.13.1.spec delete mode 100644 redhat/extras/akode/trinity-akode-3.5.13.2.spec delete mode 100644 redhat/extras/akode/trinity-akode-3.5.13.spec create mode 100644 redhat/extras/kasablanca/kasablanca-3.5.13.1.spec create mode 100644 redhat/extras/kasablanca/kasablanca-3.5.13.2.spec create mode 100644 redhat/extras/kasablanca/kasablanca-3.5.13.spec delete mode 100644 redhat/extras/kasablanca/trinity-kasablanca-3.5.13.1.spec delete mode 100644 redhat/extras/kasablanca/trinity-kasablanca-3.5.13.2.spec delete mode 100644 redhat/extras/kasablanca/trinity-kasablanca-3.5.13.spec create mode 100644 redhat/extras/kdebluetooth/kdebluetooth.spec delete mode 100644 redhat/extras/kdebluetooth/trinity-kdebluetooth.spec create mode 100644 redhat/extras/kickoff-i18n/kickoff-i18n-3.5.13.1.spec create mode 100644 redhat/extras/kickoff-i18n/kickoff-i18n-3.5.13.2.spec create mode 100644 redhat/extras/kickoff-i18n/kickoff-i18n-3.5.13.spec delete mode 100644 redhat/extras/kickoff-i18n/trinity-kickoff-i18n-3.5.13.1.spec delete mode 100644 redhat/extras/kickoff-i18n/trinity-kickoff-i18n-3.5.13.2.spec delete mode 100644 redhat/extras/kickoff-i18n/trinity-kickoff-i18n-3.5.13.spec create mode 100644 redhat/extras/ksensors/ksensors-3.5.13.1.spec create mode 100644 redhat/extras/ksensors/ksensors-3.5.13.2.spec create mode 100644 redhat/extras/ksensors/ksensors-3.5.13.spec delete mode 100644 redhat/extras/ksensors/trinity-ksensors-3.5.13.1.spec delete mode 100644 redhat/extras/ksensors/trinity-ksensors-3.5.13.2.spec delete mode 100644 redhat/extras/ksensors/trinity-ksensors-3.5.13.spec create mode 100644 redhat/extras/style-ia-ora/style-ia-ora-3.5.13.1.spec create mode 100644 redhat/extras/style-ia-ora/style-ia-ora-3.5.13.2.spec create mode 100644 redhat/extras/style-ia-ora/style-ia-ora-3.5.13.spec delete mode 100644 redhat/extras/style-ia-ora/trinity-style-ia-ora-3.5.13.1.spec delete mode 100644 redhat/extras/style-ia-ora/trinity-style-ia-ora-3.5.13.2.spec delete mode 100644 redhat/extras/style-ia-ora/trinity-style-ia-ora-3.5.13.spec create mode 100644 redhat/extras/theme-baghira/theme-baghira-3.5.13.1.spec create mode 100644 redhat/extras/theme-baghira/theme-baghira-3.5.13.2.spec delete mode 100644 redhat/extras/theme-baghira/trinity-theme-baghira-3.5.13.1.spec delete mode 100644 redhat/extras/theme-baghira/trinity-theme-baghira-3.5.13.2.spec create mode 100644 redhat/extras/trinity-desktop/trinity-desktop-3.5.13.2.spec delete mode 100644 redhat/extras/trinity-desktop/trinity-desktop.spec create mode 100644 redhat/libraries/libkdcraw/libkdcraw-14.0.0.spec create mode 100644 redhat/libraries/libkdcraw/libkdcraw-3.5.13.1.spec create mode 100644 redhat/libraries/libkdcraw/libkdcraw-3.5.13.2.spec create mode 100644 redhat/libraries/libkdcraw/libkdcraw-3.5.13.spec delete mode 100644 redhat/libraries/libkdcraw/trinity-libkdcraw-14.0.0.spec delete mode 100644 redhat/libraries/libkdcraw/trinity-libkdcraw-3.5.13.1.spec delete mode 100644 redhat/libraries/libkdcraw/trinity-libkdcraw-3.5.13.2.spec delete mode 100644 redhat/libraries/libkdcraw/trinity-libkdcraw-3.5.13.spec create mode 100644 redhat/libraries/libkexiv2/libkexiv2-14.0.0.spec create mode 100644 redhat/libraries/libkexiv2/libkexiv2-3.5.13.1.spec create mode 100644 redhat/libraries/libkexiv2/libkexiv2-3.5.13.2.spec create mode 100644 redhat/libraries/libkexiv2/libkexiv2-3.5.13.spec delete mode 100644 redhat/libraries/libkexiv2/trinity-libkexiv2-14.0.0.spec delete mode 100644 redhat/libraries/libkexiv2/trinity-libkexiv2-3.5.13.1.spec delete mode 100644 redhat/libraries/libkexiv2/trinity-libkexiv2-3.5.13.2.spec delete mode 100644 redhat/libraries/libkexiv2/trinity-libkexiv2-3.5.13.spec create mode 100644 redhat/libraries/libkipi/libkipi-14.0.0.spec create mode 100644 redhat/libraries/libkipi/libkipi-3.5.13.1.spec create mode 100644 redhat/libraries/libkipi/libkipi-3.5.13.2.spec create mode 100644 redhat/libraries/libkipi/libkipi-3.5.13.spec delete mode 100644 redhat/libraries/libkipi/trinity-libkipi-14.0.0.spec delete mode 100644 redhat/libraries/libkipi/trinity-libkipi-3.5.13.1.spec delete mode 100644 redhat/libraries/libkipi/trinity-libkipi-3.5.13.2.spec delete mode 100644 redhat/libraries/libkipi/trinity-libkipi-3.5.13.spec create mode 100644 redhat/libraries/libksquirrel/libksquirrel-3.5.13.1.spec create mode 100644 redhat/libraries/libksquirrel/libksquirrel-3.5.13.2.spec create mode 100644 redhat/libraries/libksquirrel/libksquirrel-3.5.13.spec delete mode 100644 redhat/libraries/libksquirrel/trinity-libksquirrel-3.5.13.1.spec delete mode 100644 redhat/libraries/libksquirrel/trinity-libksquirrel-3.5.13.2.spec delete mode 100644 redhat/libraries/libksquirrel/trinity-libksquirrel-3.5.13.spec create mode 100644 redhat/libraries/pytdeextensions/pykdeextensions-3.5.13.1.spec create mode 100644 redhat/libraries/pytdeextensions/pykdeextensions-3.5.13.spec create mode 100644 redhat/libraries/pytdeextensions/pytdeextensions-3.5.13.2.spec delete mode 100644 redhat/libraries/pytdeextensions/trinity-pykdeextensions-3.5.13.1.spec delete mode 100644 redhat/libraries/pytdeextensions/trinity-pykdeextensions-3.5.13.spec delete mode 100644 redhat/libraries/pytdeextensions/trinity-pytdeextensions-3.5.13.2.spec create mode 100644 redhat/libraries/python-trinity/python-trinity-3.5.13.2.spec delete mode 100644 redhat/libraries/python-trinity/trinity-python-trinity-3.5.13.2.spec create mode 100644 redhat/tde-i18n/i18n-3.5.13.1.spec create mode 100644 redhat/tde-i18n/kde-i18n-3.5.12.spec create mode 100644 redhat/tde-i18n/kde-i18n-3.5.13.spec create mode 100644 redhat/tde-i18n/tde-i18n-3.5.13.2.spec delete mode 100644 redhat/tde-i18n/trinity-i18n-3.5.13.1.spec delete mode 100644 redhat/tde-i18n/trinity-kde-i18n-3.5.12.spec delete mode 100644 redhat/tde-i18n/trinity-kde-i18n-3.5.13.spec delete mode 100644 redhat/tde-i18n/trinity-tde-i18n-3.5.13.2.spec create mode 100644 redhat/tdeaccessibility/kdeaccessibility-3.5.12.spec create mode 100644 redhat/tdeaccessibility/kdeaccessibility-3.5.13.1.spec create mode 100644 redhat/tdeaccessibility/kdeaccessibility-3.5.13.spec create mode 100644 redhat/tdeaccessibility/tdeaccessibility-3.5.13.2.spec delete mode 100644 redhat/tdeaccessibility/trinity-kdeaccessibility-3.5.12.spec delete mode 100644 redhat/tdeaccessibility/trinity-kdeaccessibility-3.5.13.1.spec delete mode 100644 redhat/tdeaccessibility/trinity-kdeaccessibility-3.5.13.spec delete mode 100644 redhat/tdeaccessibility/trinity-tdeaccessibility-3.5.13.2.spec create mode 100644 redhat/tdeaddons/kdeaddons-3.5.12.spec create mode 100644 redhat/tdeaddons/kdeaddons-3.5.13.1.spec create mode 100644 redhat/tdeaddons/kdeaddons-3.5.13.spec create mode 100644 redhat/tdeaddons/tdeaddons-3.5.13.2.spec delete mode 100644 redhat/tdeaddons/trinity-kdeaddons-3.5.12.spec delete mode 100644 redhat/tdeaddons/trinity-kdeaddons-3.5.13.1.spec delete mode 100644 redhat/tdeaddons/trinity-kdeaddons-3.5.13.spec delete mode 100644 redhat/tdeaddons/trinity-tdeaddons-3.5.13.2.spec create mode 100644 redhat/tdeadmin/kdeadmin-3.5.12.spec create mode 100644 redhat/tdeadmin/kdeadmin-3.5.13.1.spec create mode 100644 redhat/tdeadmin/kdeadmin-3.5.13.spec create mode 100644 redhat/tdeadmin/tdeadmin-14.0.0.spec create mode 100644 redhat/tdeadmin/tdeadmin-3.5.13.2.spec delete mode 100644 redhat/tdeadmin/trinity-kdeadmin-3.5.12.spec delete mode 100644 redhat/tdeadmin/trinity-kdeadmin-3.5.13.1.spec delete mode 100644 redhat/tdeadmin/trinity-kdeadmin-3.5.13.spec delete mode 100644 redhat/tdeadmin/trinity-tdeadmin-14.0.0.spec delete mode 100644 redhat/tdeadmin/trinity-tdeadmin-3.5.13.2.spec create mode 100644 redhat/tdeartwork/kdeartwork-3.5.12.spec create mode 100644 redhat/tdeartwork/kdeartwork-3.5.13.1.spec create mode 100644 redhat/tdeartwork/kdeartwork-3.5.13.spec create mode 100644 redhat/tdeartwork/tdeartwork-3.5.13.2.spec delete mode 100644 redhat/tdeartwork/trinity-kdeartwork-3.5.12.spec delete mode 100644 redhat/tdeartwork/trinity-kdeartwork-3.5.13.1.spec delete mode 100644 redhat/tdeartwork/trinity-kdeartwork-3.5.13.spec delete mode 100644 redhat/tdeartwork/trinity-tdeartwork-3.5.13.2.spec create mode 100644 redhat/tdebase/kdebase-3.5.12.spec create mode 100644 redhat/tdebase/kdebase-3.5.13.1.spec create mode 100644 redhat/tdebase/kdebase-3.5.13.spec create mode 100644 redhat/tdebase/tdebase-14.0.0.spec create mode 100644 redhat/tdebase/tdebase-3.5.13.2.spec delete mode 100644 redhat/tdebase/trinity-kdebase-3.5.12.spec delete mode 100644 redhat/tdebase/trinity-kdebase-3.5.13.1.spec delete mode 100644 redhat/tdebase/trinity-kdebase-3.5.13.spec delete mode 100644 redhat/tdebase/trinity-tdebase-14.0.0.spec delete mode 100644 redhat/tdebase/trinity-tdebase-3.5.13.2.spec create mode 100644 redhat/tdebindings/kdebindings-3.5.12.spec create mode 100644 redhat/tdebindings/kdebindings-3.5.13.1.spec create mode 100644 redhat/tdebindings/kdebindings-3.5.13.spec create mode 100644 redhat/tdebindings/tdebindings-14.0.0.spec create mode 100644 redhat/tdebindings/tdebindings-3.5.13.2.spec delete mode 100644 redhat/tdebindings/trinity-kdebindings-3.5.12.spec delete mode 100644 redhat/tdebindings/trinity-kdebindings-3.5.13.1.spec delete mode 100644 redhat/tdebindings/trinity-kdebindings-3.5.13.spec delete mode 100644 redhat/tdebindings/trinity-tdebindings-14.0.0.spec delete mode 100644 redhat/tdebindings/trinity-tdebindings-3.5.13.2.spec create mode 100644 redhat/tdeedu/kdeedu-3.5.12.spec create mode 100644 redhat/tdeedu/kdeedu-3.5.13.1.spec create mode 100644 redhat/tdeedu/kdeedu-3.5.13.spec create mode 100644 redhat/tdeedu/tdeedu-3.5.13.2.spec delete mode 100644 redhat/tdeedu/trinity-kdeedu-3.5.12.spec delete mode 100644 redhat/tdeedu/trinity-kdeedu-3.5.13.1.spec delete mode 100644 redhat/tdeedu/trinity-kdeedu-3.5.13.spec delete mode 100644 redhat/tdeedu/trinity-tdeedu-3.5.13.2.spec create mode 100644 redhat/tdegames/kdegames-3.5.12.spec create mode 100644 redhat/tdegames/kdegames-3.5.13.1.spec create mode 100644 redhat/tdegames/kdegames-3.5.13.spec create mode 100644 redhat/tdegames/tdegames-3.5.13.2.spec delete mode 100644 redhat/tdegames/trinity-kdegames-3.5.12.spec delete mode 100644 redhat/tdegames/trinity-kdegames-3.5.13.1.spec delete mode 100644 redhat/tdegames/trinity-kdegames-3.5.13.spec delete mode 100644 redhat/tdegames/trinity-tdegames-3.5.13.2.spec create mode 100644 redhat/tdegraphics/kdegraphics-3.5.12.spec create mode 100644 redhat/tdegraphics/kdegraphics-3.5.13.1.spec create mode 100644 redhat/tdegraphics/kdegraphics-3.5.13.spec create mode 100644 redhat/tdegraphics/tdegraphics-3.5.13.2.spec delete mode 100644 redhat/tdegraphics/trinity-kdegraphics-3.5.12.spec delete mode 100644 redhat/tdegraphics/trinity-kdegraphics-3.5.13.1.spec delete mode 100644 redhat/tdegraphics/trinity-kdegraphics-3.5.13.spec delete mode 100644 redhat/tdegraphics/trinity-tdegraphics-3.5.13.2.spec create mode 100644 redhat/tdelibs/kdelibs-3.5.12.spec create mode 100644 redhat/tdelibs/kdelibs-3.5.13.1.spec create mode 100644 redhat/tdelibs/kdelibs-3.5.13.spec create mode 100644 redhat/tdelibs/tdelibs-14.0.0.spec create mode 100644 redhat/tdelibs/tdelibs-3.5.13.2.spec delete mode 100644 redhat/tdelibs/trinity-kdelibs-3.5.12.spec delete mode 100644 redhat/tdelibs/trinity-kdelibs-3.5.13.1.spec delete mode 100644 redhat/tdelibs/trinity-kdelibs-3.5.13.spec delete mode 100644 redhat/tdelibs/trinity-tdelibs-14.0.0.spec delete mode 100644 redhat/tdelibs/trinity-tdelibs-3.5.13.2.spec create mode 100644 redhat/tdemultimedia/kdemultimedia-3.5.12.spec create mode 100644 redhat/tdemultimedia/kdemultimedia-3.5.13.1.spec create mode 100644 redhat/tdemultimedia/kdemultimedia-3.5.13.spec create mode 100644 redhat/tdemultimedia/tdemultimedia-14.0.0.spec create mode 100644 redhat/tdemultimedia/tdemultimedia-3.5.13.2.spec delete mode 100644 redhat/tdemultimedia/trinity-kdemultimedia-3.5.12.spec delete mode 100644 redhat/tdemultimedia/trinity-kdemultimedia-3.5.13.1.spec delete mode 100644 redhat/tdemultimedia/trinity-kdemultimedia-3.5.13.spec delete mode 100644 redhat/tdemultimedia/trinity-tdemultimedia-14.0.0.spec delete mode 100644 redhat/tdemultimedia/trinity-tdemultimedia-3.5.13.2.spec create mode 100644 redhat/tdenetwork/kdenetwork-3.5.12.spec create mode 100644 redhat/tdenetwork/kdenetwork-3.5.13.1.spec create mode 100644 redhat/tdenetwork/kdenetwork-3.5.13.spec create mode 100644 redhat/tdenetwork/tdenetwork-14.0.0.spec create mode 100644 redhat/tdenetwork/tdenetwork-3.5.13.2.spec delete mode 100644 redhat/tdenetwork/trinity-kdenetwork-3.5.12.spec delete mode 100644 redhat/tdenetwork/trinity-kdenetwork-3.5.13.1.spec delete mode 100644 redhat/tdenetwork/trinity-kdenetwork-3.5.13.spec delete mode 100644 redhat/tdenetwork/trinity-tdenetwork-14.0.0.spec delete mode 100644 redhat/tdenetwork/trinity-tdenetwork-3.5.13.2.spec create mode 100644 redhat/tdepim/kdepim-3.5.12.spec create mode 100644 redhat/tdepim/kdepim-3.5.13.1.spec create mode 100644 redhat/tdepim/kdepim-3.5.13.spec create mode 100644 redhat/tdepim/tdepim-14.0.0.spec create mode 100644 redhat/tdepim/tdepim-3.5.13.2.spec delete mode 100644 redhat/tdepim/trinity-kdepim-3.5.12.spec delete mode 100644 redhat/tdepim/trinity-kdepim-3.5.13.1.spec delete mode 100644 redhat/tdepim/trinity-kdepim-3.5.13.spec delete mode 100644 redhat/tdepim/trinity-tdepim-14.0.0.spec delete mode 100644 redhat/tdepim/trinity-tdepim-3.5.13.2.spec create mode 100644 redhat/tdesdk/kdesdk-3.5.12.spec create mode 100644 redhat/tdesdk/kdesdk-3.5.13.1.spec create mode 100644 redhat/tdesdk/kdesdk-3.5.13.spec create mode 100644 redhat/tdesdk/tdesdk-3.5.13.2.spec delete mode 100644 redhat/tdesdk/trinity-kdesdk-3.5.12.spec delete mode 100644 redhat/tdesdk/trinity-kdesdk-3.5.13.1.spec delete mode 100644 redhat/tdesdk/trinity-kdesdk-3.5.13.spec delete mode 100644 redhat/tdesdk/trinity-tdesdk-3.5.13.2.spec create mode 100644 redhat/tdetoys/kdetoys-3.5.12.spec create mode 100644 redhat/tdetoys/kdetoys-3.5.13.1.spec create mode 100644 redhat/tdetoys/kdetoys-3.5.13.spec create mode 100644 redhat/tdetoys/tdetoys-3.5.13.2.spec delete mode 100644 redhat/tdetoys/trinity-kdetoys-3.5.12.spec delete mode 100644 redhat/tdetoys/trinity-kdetoys-3.5.13.1.spec delete mode 100644 redhat/tdetoys/trinity-kdetoys-3.5.13.spec delete mode 100644 redhat/tdetoys/trinity-tdetoys-3.5.13.2.spec create mode 100644 redhat/tdeutils/kdeutils-3.5.12.spec create mode 100644 redhat/tdeutils/kdeutils-3.5.13.1.spec create mode 100644 redhat/tdeutils/kdeutils-3.5.13.spec create mode 100644 redhat/tdeutils/tdeutils-3.5.13.2.spec delete mode 100644 redhat/tdeutils/trinity-kdeutils-3.5.12.spec delete mode 100644 redhat/tdeutils/trinity-kdeutils-3.5.13.1.spec delete mode 100644 redhat/tdeutils/trinity-kdeutils-3.5.13.spec delete mode 100644 redhat/tdeutils/trinity-tdeutils-3.5.13.2.spec create mode 100644 redhat/tdevelop/kdevelop-3.5.12.spec create mode 100644 redhat/tdevelop/kdevelop-3.5.13.1.spec create mode 100644 redhat/tdevelop/kdevelop-3.5.13.spec create mode 100644 redhat/tdevelop/tdevelop-3.5.13.2.spec delete mode 100644 redhat/tdevelop/trinity-kdevelop-3.5.12.spec delete mode 100644 redhat/tdevelop/trinity-kdevelop-3.5.13.1.spec delete mode 100644 redhat/tdevelop/trinity-kdevelop-3.5.13.spec delete mode 100644 redhat/tdevelop/trinity-tdevelop-3.5.13.2.spec create mode 100644 redhat/tdewebdev/kdewebdev-3.5.12.spec create mode 100644 redhat/tdewebdev/kdewebdev-3.5.13.1.spec create mode 100644 redhat/tdewebdev/kdewebdev-3.5.13.spec create mode 100644 redhat/tdewebdev/tdewebdev-3.5.13.2.spec delete mode 100644 redhat/tdewebdev/trinity-kdewebdev-3.5.12.spec delete mode 100644 redhat/tdewebdev/trinity-kdewebdev-3.5.13.1.spec delete mode 100644 redhat/tdewebdev/trinity-kdewebdev-3.5.13.spec delete mode 100644 redhat/tdewebdev/trinity-tdewebdev-3.5.13.2.spec diff --git a/redhat/applications/abakus/abakus-3.5.12.spec b/redhat/applications/abakus/abakus-3.5.12.spec new file mode 100644 index 000000000..54880e8ae --- /dev/null +++ b/redhat/applications/abakus/abakus-3.5.12.spec @@ -0,0 +1,93 @@ +# Default version for this component +%define kdecomp abakus +%define version 0.91 +%define release 1 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_prefix}/share/doc +%endif + +# TDE 3.5.12 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir} +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/kde3 + + +Name: trinity-%{kdecomp} +Summary: Calculator for TDE +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Source0: %{kdecomp}-3.5.12.tar.gz + +Patch0: abakus-0.91-link-dcop.patch + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: trinity-kdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: scons + +%description +AbaKus is a complex calculator, which provides +many different kinds of calculations. +Think of it as bc (the command-line calculator) with a nice GUI. +It also gives information about mathematical variables and +has the user-friendly menu options of a normal KDE application. + +%prep +%setup -q -n applications/%{kdecomp} +%patch0 -p1 + +%build +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" +export CXXFLAGS="-I%{_includedir}/tqt" + +./configure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot}%{_prefix} + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + +%postun +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{_bindir}/* +%{_datadir}/apps/*/ +%{_datadir}/icons/*/*/*/* +%{tde_docdir}/HTML/*/*/ +%{_datadir}/applnk/Utilities/abakus.desktop + +%changelog +* Tue Sep 14 2011 Francois Andriot - 0.91-1 +- Initial build for RHEL 6 and Fedora 15 +- Import to GIT diff --git a/redhat/applications/abakus/abakus-3.5.13.1.spec b/redhat/applications/abakus/abakus-3.5.13.1.spec new file mode 100644 index 000000000..3a5e75aad --- /dev/null +++ b/redhat/applications/abakus/abakus-3.5.13.1.spec @@ -0,0 +1,126 @@ +# Default version for this component +%define kdecomp abakus + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +Name: trinity-%{kdecomp} +Summary: Calculator for TDE +Version: 0.91 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +# [abakus] Fix install icon +Patch1: abakus-3.5.13.1-fix_install_icon.patch + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-arts-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: cmake >= 2.8 +BuildRequires: bison + +%description +AbaKus is a complex calculator, which provides +many different kinds of calculations. +Think of it as bc (the command-line calculator) with a nice GUI. +It also gives information about mathematical variables and +has the user-friendly menu options of a normal TDE application. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 +%patch1 -p1 -b .icon + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" + +# Do not build against any "/usr" installed KDE +export KDEDIR=%{tde_prefix} + +# Specific path for RHEL4 +if [ -d /usr/X11R6 ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/abakus +%{tde_datadir}/apps/abakus/ +%{tde_datadir}/icons/hicolor/*/apps/abakus.png +%{tde_tdedocdir}/HTML/en/abakus/ +%{tde_datadir}/applnk/Utilities/abakus.desktop + +%changelog +* Tue Oct 02 2012 Francois Andriot - 0.91-4 +- Initial release for TDE 3.5.13.1 diff --git a/redhat/applications/abakus/abakus-3.5.13.2.spec b/redhat/applications/abakus/abakus-3.5.13.2.spec new file mode 100644 index 000000000..92c5c4c0a --- /dev/null +++ b/redhat/applications/abakus/abakus-3.5.13.2.spec @@ -0,0 +1,126 @@ +# Default version for this component +%define tdecomp abakus + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +Name: trinity-%{tdecomp} +Summary: Calculator for TDE +Version: 0.91 +Release: 5%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-arts-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: cmake >= 2.8 +BuildRequires: bison + +%description +AbaKus is a complex calculator, which provides +many different kinds of calculations. +Think of it as bc (the command-line calculator) with a nice GUI. +It also gives information about mathematical variables and +has the user-friendly menu options of a normal TDE application. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" + +# Do not build against any "/usr" installed KDE +export KDEDIR="%{tde_prefix}" + +# Specific path for RHEL4 +if [ -d "/usr/X11R6" ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/abakus +%{tde_datadir}/apps/abakus/ +%{tde_datadir}/icons/hicolor/*/apps/abakus.png +%{tde_tdedocdir}/HTML/en/abakus/ +%{tde_datadir}/applnk/Utilities/abakus.desktop + +%changelog +* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 +- Initial release for TDE 3.5.13.2 + +* Tue Oct 02 2012 Francois Andriot - 0.91-4 +- Initial release for TDE 3.5.13.1 diff --git a/redhat/applications/abakus/abakus-3.5.13.spec b/redhat/applications/abakus/abakus-3.5.13.spec new file mode 100644 index 000000000..881134d4e --- /dev/null +++ b/redhat/applications/abakus/abakus-3.5.13.spec @@ -0,0 +1,107 @@ +# Default version for this component +%define kdecomp abakus + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +Name: trinity-%{kdecomp} +Summary: Calculator for TDE +Version: 0.91 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +BuildRequires: tqtinterface-devel >= 3.5.13 +BuildRequires: trinity-tdelibs-devel >= 3.5.13 +BuildRequires: trinity-tdebase-devel >= 3.5.13 +BuildRequires: desktop-file-utils +BuildRequires: scons +BuildRequires: bison + +%description +AbaKus is a complex calculator, which provides +many different kinds of calculations. +Think of it as bc (the command-line calculator) with a nice GUI. +It also gives information about mathematical variables and +has the user-friendly menu options of a normal TDE application. + +%prep +%setup -q -n applications/%{kdecomp} + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export CXXFLAGS="-I%{tde_includedir}/tqt" + +# We are using a specific (non-autotool) configure script. +./configure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot}%{tde_prefix} + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/abakus +%{tde_datadir}/apps/abakus/ +%{tde_datadir}/icons/hicolor/*/apps/abakus.png +%{tde_tdedocdir}/HTML/en/abakus/ +%{tde_datadir}/applnk/Utilities/abakus.desktop + +%changelog +* Wed Apr 25 2012 Francois Andriot - 0.91-3 +- Fix postinstall + +* Sun Oct 30 2011 Francois Andriot - 0.91-2 +- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 + +* Tue Sep 14 2011 Francois Andriot - 0.91-1 +- Initial build for RHEL 6 and Fedora 15 +- Import to GIT diff --git a/redhat/applications/abakus/trinity-abakus-3.5.12.spec b/redhat/applications/abakus/trinity-abakus-3.5.12.spec deleted file mode 100644 index 54880e8ae..000000000 --- a/redhat/applications/abakus/trinity-abakus-3.5.12.spec +++ /dev/null @@ -1,93 +0,0 @@ -# Default version for this component -%define kdecomp abakus -%define version 0.91 -%define release 1 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_includedir %{_includedir}/kde -%define tde_libdir %{_libdir}/kde3 - - -Name: trinity-%{kdecomp} -Summary: Calculator for TDE -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Source0: %{kdecomp}-3.5.12.tar.gz - -Patch0: abakus-0.91-link-dcop.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: trinity-kdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: scons - -%description -AbaKus is a complex calculator, which provides -many different kinds of calculations. -Think of it as bc (the command-line calculator) with a nice GUI. -It also gives information about mathematical variables and -has the user-friendly menu options of a normal KDE application. - -%prep -%setup -q -n applications/%{kdecomp} -%patch0 -p1 - -%build -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" -export CXXFLAGS="-I%{_includedir}/tqt" - -./configure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot}%{_prefix} - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : - -%postun -touch --no-create %{_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{_bindir}/* -%{_datadir}/apps/*/ -%{_datadir}/icons/*/*/*/* -%{tde_docdir}/HTML/*/*/ -%{_datadir}/applnk/Utilities/abakus.desktop - -%changelog -* Tue Sep 14 2011 Francois Andriot - 0.91-1 -- Initial build for RHEL 6 and Fedora 15 -- Import to GIT diff --git a/redhat/applications/abakus/trinity-abakus-3.5.13.1.spec b/redhat/applications/abakus/trinity-abakus-3.5.13.1.spec deleted file mode 100644 index 3a5e75aad..000000000 --- a/redhat/applications/abakus/trinity-abakus-3.5.13.1.spec +++ /dev/null @@ -1,126 +0,0 @@ -# Default version for this component -%define kdecomp abakus - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -Name: trinity-%{kdecomp} -Summary: Calculator for TDE -Version: 0.91 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -# [abakus] Fix install icon -Patch1: abakus-3.5.13.1-fix_install_icon.patch - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-arts-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: cmake >= 2.8 -BuildRequires: bison - -%description -AbaKus is a complex calculator, which provides -many different kinds of calculations. -Think of it as bc (the command-line calculator) with a nice GUI. -It also gives information about mathematical variables and -has the user-friendly menu options of a normal TDE application. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 -%patch1 -p1 -b .icon - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" - -# Do not build against any "/usr" installed KDE -export KDEDIR=%{tde_prefix} - -# Specific path for RHEL4 -if [ -d /usr/X11R6 ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/abakus -%{tde_datadir}/apps/abakus/ -%{tde_datadir}/icons/hicolor/*/apps/abakus.png -%{tde_tdedocdir}/HTML/en/abakus/ -%{tde_datadir}/applnk/Utilities/abakus.desktop - -%changelog -* Tue Oct 02 2012 Francois Andriot - 0.91-4 -- Initial release for TDE 3.5.13.1 diff --git a/redhat/applications/abakus/trinity-abakus-3.5.13.2.spec b/redhat/applications/abakus/trinity-abakus-3.5.13.2.spec deleted file mode 100644 index 92c5c4c0a..000000000 --- a/redhat/applications/abakus/trinity-abakus-3.5.13.2.spec +++ /dev/null @@ -1,126 +0,0 @@ -# Default version for this component -%define tdecomp abakus - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -Name: trinity-%{tdecomp} -Summary: Calculator for TDE -Version: 0.91 -Release: 5%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-arts-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: cmake >= 2.8 -BuildRequires: bison - -%description -AbaKus is a complex calculator, which provides -many different kinds of calculations. -Think of it as bc (the command-line calculator) with a nice GUI. -It also gives information about mathematical variables and -has the user-friendly menu options of a normal TDE application. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" - -# Do not build against any "/usr" installed KDE -export KDEDIR="%{tde_prefix}" - -# Specific path for RHEL4 -if [ -d "/usr/X11R6" ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/abakus -%{tde_datadir}/apps/abakus/ -%{tde_datadir}/icons/hicolor/*/apps/abakus.png -%{tde_tdedocdir}/HTML/en/abakus/ -%{tde_datadir}/applnk/Utilities/abakus.desktop - -%changelog -* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 -- Initial release for TDE 3.5.13.2 - -* Tue Oct 02 2012 Francois Andriot - 0.91-4 -- Initial release for TDE 3.5.13.1 diff --git a/redhat/applications/abakus/trinity-abakus-3.5.13.spec b/redhat/applications/abakus/trinity-abakus-3.5.13.spec deleted file mode 100644 index 881134d4e..000000000 --- a/redhat/applications/abakus/trinity-abakus-3.5.13.spec +++ /dev/null @@ -1,107 +0,0 @@ -# Default version for this component -%define kdecomp abakus - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -Name: trinity-%{kdecomp} -Summary: Calculator for TDE -Version: 0.91 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel >= 3.5.13 -BuildRequires: trinity-tdelibs-devel >= 3.5.13 -BuildRequires: trinity-tdebase-devel >= 3.5.13 -BuildRequires: desktop-file-utils -BuildRequires: scons -BuildRequires: bison - -%description -AbaKus is a complex calculator, which provides -many different kinds of calculations. -Think of it as bc (the command-line calculator) with a nice GUI. -It also gives information about mathematical variables and -has the user-friendly menu options of a normal TDE application. - -%prep -%setup -q -n applications/%{kdecomp} - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export CXXFLAGS="-I%{tde_includedir}/tqt" - -# We are using a specific (non-autotool) configure script. -./configure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot}%{tde_prefix} - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/abakus -%{tde_datadir}/apps/abakus/ -%{tde_datadir}/icons/hicolor/*/apps/abakus.png -%{tde_tdedocdir}/HTML/en/abakus/ -%{tde_datadir}/applnk/Utilities/abakus.desktop - -%changelog -* Wed Apr 25 2012 Francois Andriot - 0.91-3 -- Fix postinstall - -* Sun Oct 30 2011 Francois Andriot - 0.91-2 -- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 - -* Tue Sep 14 2011 Francois Andriot - 0.91-1 -- Initial build for RHEL 6 and Fedora 15 -- Import to GIT diff --git a/redhat/applications/adept/adept-3.5.13.2.spec b/redhat/applications/adept/adept-3.5.13.2.spec new file mode 100644 index 000000000..14e09acf1 --- /dev/null +++ b/redhat/applications/adept/adept-3.5.13.2.spec @@ -0,0 +1,198 @@ +# Default version for this component +%define tdecomp adept + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: Package management suite for Trinity +Version: 2.1.3 +Release: 1%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://lpnotfr.free.fr/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils + +Requires: %{name}-manager = %{version}-%{release} +Requires: %{name}-installer = %{version}-%{release} +Requires: %{name}-updater = %{version}-%{release} +Requires: %{name}-notifier = %{version}-%{release} +Requires: %{name}-batch = %{version}-%{release} + + +%description +These packages belong to the adept suite: + * adept-manager - package manager + * adept-installer - application manager + * adept-updater - system upgrade wizard + * adept-notifier - systray notification of available updates + + +%files +%defattr(-,root,root,-) +%doc AUTHORS CHANGELOG ChangeLog COPYING + +########## + +%package common +Requires: trinity-konsole +Summary: Package manager for Trinity -- common files + +%description common +Icons and other common files for all adept components. + +########## + +%package manager +Requires: %{name}-common = %{version}-%{release} +Summary: package manager for Trinity + +%description manager +Adept Manager is a graphical user interface for package management. + +Besides these basic functions the following features are provided: + * Search and filter the list of available packages (also using debtags) + * Perform smart system upgrades + * Edit the list of used repositories (sources.list) + * Configure packages through the debconf system + +Please also install libtqt-perl if you want the KDE Debconf frontend +to function. + +########## + +%package installer +Requires: %{name}-common = %{version}-%{release} +Summary: simple user interface for application management (for Trinity) + +%description installer +Adept Installer presents a list of applications available through the +Advanced Package Tool (APT). An application is considered a package +that contains a .desktop file for use with KDE, GNOME or other +desktop environment. + +########## + +%package updater +Requires: %{name}-common = %{version}-%{release} +Summary: system update tool for Trinity + +%description updater +Adept Updater provides a simple wizard-style user interface to system +upgrades. It uses same algorithms as apt-get dist-upgrade. + +########## + +%package notifier +Requires: %{name}-common = %{version}-%{release} +Requires: %{name}-updater = %{version}-%{release} +Summary: System tray notifier of available system updates + +%description notifier +Adept Notifier provides a system tray icon notifying the user of +available updates. It will run Adept Updater for the user when +clicked. + +########## + +%package batch +Requires: %{name}-manager = %{version}-%{release} +Summary: command line install for Adept + +%description batch +Adept Batch lets you install packages with Adept from the +command line. It is intended for shell scripts and being run +by external applications. + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} -C adept + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang adept + + +%clean +%__rm -rf %{buildroot} + + + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 2.1.3-1 +- Initial release for TDE 3.5.13.2 + diff --git a/redhat/applications/adept/trinity-adept-3.5.13.2.spec b/redhat/applications/adept/trinity-adept-3.5.13.2.spec deleted file mode 100644 index 14e09acf1..000000000 --- a/redhat/applications/adept/trinity-adept-3.5.13.2.spec +++ /dev/null @@ -1,198 +0,0 @@ -# Default version for this component -%define tdecomp adept - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: Package management suite for Trinity -Version: 2.1.3 -Release: 1%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://lpnotfr.free.fr/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils - -Requires: %{name}-manager = %{version}-%{release} -Requires: %{name}-installer = %{version}-%{release} -Requires: %{name}-updater = %{version}-%{release} -Requires: %{name}-notifier = %{version}-%{release} -Requires: %{name}-batch = %{version}-%{release} - - -%description -These packages belong to the adept suite: - * adept-manager - package manager - * adept-installer - application manager - * adept-updater - system upgrade wizard - * adept-notifier - systray notification of available updates - - -%files -%defattr(-,root,root,-) -%doc AUTHORS CHANGELOG ChangeLog COPYING - -########## - -%package common -Requires: trinity-konsole -Summary: Package manager for Trinity -- common files - -%description common -Icons and other common files for all adept components. - -########## - -%package manager -Requires: %{name}-common = %{version}-%{release} -Summary: package manager for Trinity - -%description manager -Adept Manager is a graphical user interface for package management. - -Besides these basic functions the following features are provided: - * Search and filter the list of available packages (also using debtags) - * Perform smart system upgrades - * Edit the list of used repositories (sources.list) - * Configure packages through the debconf system - -Please also install libtqt-perl if you want the KDE Debconf frontend -to function. - -########## - -%package installer -Requires: %{name}-common = %{version}-%{release} -Summary: simple user interface for application management (for Trinity) - -%description installer -Adept Installer presents a list of applications available through the -Advanced Package Tool (APT). An application is considered a package -that contains a .desktop file for use with KDE, GNOME or other -desktop environment. - -########## - -%package updater -Requires: %{name}-common = %{version}-%{release} -Summary: system update tool for Trinity - -%description updater -Adept Updater provides a simple wizard-style user interface to system -upgrades. It uses same algorithms as apt-get dist-upgrade. - -########## - -%package notifier -Requires: %{name}-common = %{version}-%{release} -Requires: %{name}-updater = %{version}-%{release} -Summary: System tray notifier of available system updates - -%description notifier -Adept Notifier provides a system tray icon notifying the user of -available updates. It will run Adept Updater for the user when -clicked. - -########## - -%package batch -Requires: %{name}-manager = %{version}-%{release} -Summary: command line install for Adept - -%description batch -Adept Batch lets you install packages with Adept from the -command line. It is intended for shell scripts and being run -by external applications. - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} -C adept - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang adept - - -%clean -%__rm -rf %{buildroot} - - - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 2.1.3-1 -- Initial release for TDE 3.5.13.2 - diff --git a/redhat/applications/amarok/amarok-3.5.13.1.spec b/redhat/applications/amarok/amarok-3.5.13.1.spec new file mode 100644 index 000000000..08d594486 --- /dev/null +++ b/redhat/applications/amarok/amarok-3.5.13.1.spec @@ -0,0 +1,406 @@ +# Basic package informations +%define kdecomp amarok + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Media player +Version: 1.4.10 +Release: 8%{?dist}%{?_variant} + +Group: Applications/Multimedia +License: GPLv2+ +Url: http://amarok.kde.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: amarok-3.5.13.1.tar.gz + +Patch1: amarok-3.5.13.1-add_xine12_support.patch +Patch2: amarok-3.5.13.1-fix_inotify_detection.patch +Patch3: amarok-3.5.13.1-fix_rhel4_libs.patch + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: trinity-akode-devel +BuildRequires: trinity-konqueror-devel >= 3.5.13.1 + +BuildRequires: alsa-lib-devel +BuildRequires: desktop-file-utils +BuildRequires: esound-devel +BuildRequires: gettext +BuildRequires: pcre-devel +BuildRequires: taglib-devel + +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: libmp4v2-devel +%endif + +BuildRequires: libtool +%if 0%{?fedora} > 4 || 0%{?rhel} > 4 +BuildRequires: libtool-ltdl-devel +%endif +BuildRequires: libusb-devel +BuildRequires: mysql-devel +BuildRequires: postgresql-devel +BuildRequires: SDL-devel +BuildRequires: taglib-devel +BuildRequires: sqlite-devel +# not used anymore, in favor of libvisual ? -- Rex +#%{?fedora:BuildRequires: xmms-devel} + + +# DBUS support +%if 0%{?suse_version} +BuildRequires: dbus-1-devel +%else +BuildRequires: dbus-devel +%endif +%if 0%{?rhel} == 4 +BuildRequires: dbus-qt +%else +BuildRequires: trinity-dbus-tqt-devel >= 3.5.13.1 +%endif + +# IFP support +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_ifp 1 +BuildRequires: libifp-devel +%endif + +# KARMA support +%if 0%{?mgaversion} || 0%{?mdkversion} +%define with_karma 1 +BuildRequires: libkarma-devel +BuildRequires: karma-sharp +%endif + +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} + +# GPOD (ipod) support +%define with_gpod 1 +%if 0%{?rhel} == 5 +BuildRequires: trinity-libgpod-devel >= 0.4.2 +%else +BuildRequires: libgpod-devel >= 0.4.2 +%endif + +# MTP players +%define with_mtp 1 +BuildRequires: libmtp-devel +BuildRequires: libmusicbrainz-devel + +# Creative Nomad Jukebox +%define with_njb 1 +BuildRequires: libnjb-devel + +# VISUAL support +%define with_libvisual 1 +BuildRequires: libvisual-devel + +# TUNEPIMP support +BuildRequires: libtunepimp-devel + +# INOTIFY support +%define with_inotify 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}inotifytools-devel +%endif + +# XINE support +%define with_xine 1 +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +BuildRequires: libxine-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: xine-lib-devel +%endif + +# YAUAP support +%define with_yauap 1 + +%endif + +# ruby +BuildRequires: ruby +BuildRequires: ruby-devel + +# To open the selected browser, works with Patch2 +Requires: xdg-utils +Requires(post): xdg-utils +Requires(postun): xdg-utils + + +%description +Amarok is a multimedia player with: + - fresh playlist concept, very fast to use, with drag and drop + - plays all formats supported by the various engines + - audio effects, like reverb and compressor + - compatible with the .m3u and .pls formats for playlists + - nice GUI, integrates into the TDE look, but with a unique touch + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc COPYING AUTHORS ChangeLog README +%{tde_bindir}/amarok +%{tde_bindir}/amarokapp +%{tde_bindir}/amarokcollectionscanner +%{tde_bindir}/amarok_proxy.rb +%{tde_datadir}/apps/amarok/ +%{tde_datadir}/icons/hicolor/*/*/* +%{tde_datadir}/applications/kde/*.desktop +%{tde_datadir}/servicetypes/*.desktop +%{tde_datadir}/apps/profiles/amarok.profile.xml +%{tde_datadir}/config/amarokrc +%{tde_datadir}/config.kcfg/*.kcfg +%{tde_datadir}/services/amarokitpc.protocol +%{tde_datadir}/services/amaroklastfm.protocol +%{tde_datadir}/services/amarokpcast.protocol +# -libs ? -- Rex +%{tde_libdir}/libamarok.so.0 +%{tde_libdir}/libamarok.so.0.0.0 +# DAAP +%{tde_bindir}/amarok_daapserver.rb +%{tde_tdelibdir}/libamarok_daap-mediadevice.* +%{tde_datadir}/services/amarok_daap-mediadevice.desktop +# Mass-storage +%{tde_datadir}/services/amarok_massstorage-device.desktop +%{tde_tdelibdir}/libamarok_massstorage-device.* +# NFS +%{tde_datadir}/services/amarok_nfs-device.desktop +%{tde_tdelibdir}/libamarok_nfs-device.* +# SMB +%{tde_datadir}/services/amarok_smb-device.desktop +%{tde_tdelibdir}/libamarok_smb-device.* +# IPod +%if 0%{?with_gpod} +%{tde_datadir}/services/amarok_ipod-mediadevice.desktop +%{tde_tdelibdir}/libamarok_ipod-mediadevice.* +%endif +# VFAT +%{tde_datadir}/services/amarok_generic-mediadevice.desktop +%{tde_tdelibdir}/libamarok_generic-mediadevice.* +# iRiver +%if 0%{?with_ifp} +%{tde_datadir}/services/amarok_ifp-mediadevice.desktop +%{tde_tdelibdir}/libamarok_ifp-mediadevice.* +%endif +# Creative Zen +%if 0%{?with_njb} +%{tde_datadir}/services/amarok_njb-mediadevice.desktop +%{tde_tdelibdir}/libamarok_njb-mediadevice.* +%endif +# MTP players +%if 0%{?with_mtp} +%{tde_datadir}/services/amarok_mtp-mediadevice.desktop +%{tde_tdelibdir}/libamarok_mtp-mediadevice.* +%endif +# Rio Karma +%if 0%{?with_karma} +%{tde_datadir}/services/amarok_riokarma-mediadevice.desktop +%{tde_tdelibdir}/libamarok_riokarma-mediadevice.* +%endif +# Void engine (noop) +%{tde_datadir}/services/amarok_void-engine_plugin.desktop +%{tde_tdelibdir}/libamarok_void-engine_plugin.* +# Xine engine +%if 0%{?with_xine} +%{tde_datadir}/services/amarok_xine-engine.desktop +%{tde_tdelibdir}/libamarok_xine-engine.* +%endif +## Gstreamer engine +#%{tde_datadir}/services/amarok_gst10engine_plugin.desktop +#%{tde_tdelibdir}/libamarok_gst10engine_plugin.* +# YAUAP +%if 0%{?with_yauap} +%{tde_datadir}/services/amarok_yauap-engine_plugin.desktop +%{tde_tdelibdir}/libamarok_yauap-engine_plugin.* +%endif +# AKODE +%{tde_datadir}/services/amarok_aKode-engine.desktop +%{tde_tdelibdir}/libamarok_aKode-engine.* + +%post +/sbin/ldconfig +xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || : +xdg-desktop-menu forceupdate 2> /dev/null || : + +%postun +/sbin/ldconfig +xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || : +xdg-desktop-menu forceupdate 2> /dev/null || : + + +########## + +%package ruby +Summary: %{name} Ruby support +Group: Applications/Multimedia +Requires: %{name} = %{version}-%{release} +# For dir ownership and some default plugins (lyrics) +Requires: ruby + +%description ruby +%{summary}. + +%files ruby +%defattr(-,root,root,-) +%{tde_libdir}/ruby_lib/* + +########## + +%package konqueror +Summary: Amarok konqueror (service menus, sidebar) support +Group: Applications/Multimedia + +Requires: %{name} = %{version}-%{release} +Requires: trinity-konqueror + +%description konqueror +%{summary}. + +%files konqueror +%defattr(-,root,root,-) +%{tde_datadir}/apps/konqueror/servicemenus/*.desktop +%{tde_tdelibdir}/konqsidebar_universalamarok.* +%{tde_datadir}/apps/konqsidebartng/*/amarok.desktop + + +########## + +%if 0%{?with_libvisual} + +%package visualisation +Summary: Visualisation plugins for Amarok +Group: Applications/Multimedia +Requires: %{name} = %{version}-%{release} +# No plugins by default, we need libvisual-plugins +#Requires: libvisual-plugins + +%description visualisation +Amarok can use visualisation plugins from different origins. +Right now, only xmms is supported, which means that you can +use any of xmms' visualisation plugins with Amarok. + +%files visualisation +%defattr(-,root,root,-) +%{tde_bindir}/amarok_libvisual + +%endif + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n amarok-3.5.13.1 +%patch1 -p1 -b .xine +%patch2 -p1 -b .inotify +%if 0%{?rhel} == 4 +%patch3 -p1 -b .rhel4 +%endif + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt:%{tde_tdeincludedir}" + +# Do not build against any "/usr" installed KDE +export KDEDIR=%{tde_prefix} + +# Specific path for RHEL4 +if [ -d /usr/X11R6 ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DQT_LIBRARY_DIRS="${QTLIB:-${QTDIR}/%{_lib}}" \ + %{?with_libvisual:-DWITH_LIBVISUAL=ON} \ + -DWITH_KONQSIDEBAR=ON \ + %{?with_xine:-DWITH_XINE=ON} \ + %{?with_yauap:-DWITH_YAUAP=ON} \ + -DWITH_AKODE=ON \ + %{?with_gpod:-DWITH_IPOD=ON} \ + %{?with_ifp:-DWITH_IFP=ON} \ + %{?with_njb:-DWITH_NJB=ON} \ + %{?with_mtp:-DWITH_MTP=ON} \ + %{?with_karma:-DWITH_RIOKARMA=ON} \ + %{?with_inotify:-DWITH_INOTIFY=ON} \ + -DWITH_DAAP=ON \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} + +%install +%__rm -fr $RPM_BUILD_ROOT +%__make install DESTDIR=$RPM_BUILD_ROOT -C build + + +# unpackaged files +%__rm -f $RPM_BUILD_ROOT%{tde_libdir}/lib*.la +# Removes '.so' to avoid automatic -devel dependency +%__rm -f $RPM_BUILD_ROOT%{tde_libdir}/libamarok.so + +# HTML +for lang_dir in $RPM_BUILD_ROOT%{tde_tdedocdir}/HTML/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + [ "$lang" == "en" ] && d=en/amarok || d=$lang + echo "%lang($lang) %doc %{tde_tdedocdir}/HTML/$d" >> %{name}.lang + fi +done + +# Locales +for locale in $RPM_BUILD_ROOT%{tde_datadir}/locale/* ; do + if [ -r $locale/LC_MESSAGES/amarok.mo ]; then + lang=$(basename $locale) + echo "%lang($lang) %{tde_datadir}/locale/$lang/LC_MESSAGES/amarok.mo" >> %{name}.lang + fi +done + + +%clean +%__rm -fr $RPM_BUILD_ROOT + + +%changelog +* Tue Oct 02 2012 Francois Andriot - 1.4.10-8 +- Initial release for TDE 3.5.13.1 diff --git a/redhat/applications/amarok/amarok-3.5.13.2.spec b/redhat/applications/amarok/amarok-3.5.13.2.spec new file mode 100644 index 000000000..01baf11e7 --- /dev/null +++ b/redhat/applications/amarok/amarok-3.5.13.2.spec @@ -0,0 +1,430 @@ +# Basic package informations +%define tdecomp amarok +%define tdeversion 3.5.13.2 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: Media player +Version: 1.4.10 +Release: 9%{?dist}%{?_variant} + +Group: Applications/Multimedia +License: GPLv2+ +Url: http://amarok.kde.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tdeversion}%{?preversion:~%{preversion}}.tar.gz + +Patch3: amarok-3.5.13.1-fix_rhel4_libs.patch + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: trinity-konqueror-devel >= 3.5.13.2 + +BuildRequires: alsa-lib-devel +BuildRequires: desktop-file-utils +BuildRequires: esound-devel +BuildRequires: gettext +BuildRequires: pcre-devel +BuildRequires: taglib-devel + +BuildRequires: libtool +%if 0%{?fedora} > 4 || 0%{?rhel} > 4 +BuildRequires: libtool-ltdl-devel +%endif +BuildRequires: libusb-devel +BuildRequires: mysql-devel +BuildRequires: postgresql-devel +BuildRequires: SDL-devel +BuildRequires: taglib-devel +BuildRequires: sqlite-devel +# not used anymore, in favor of libvisual ? -- Rex +#{?fedora:BuildRequires: xmms-devel} + + +# DBUS support +%if 0%{?suse_version} +BuildRequires: dbus-1-devel +%else +BuildRequires: dbus-devel +%endif + +# DBUS-(T)QT support +%if 0%{?rhel} == 4 +BuildRequires: dbus-qt +%else +BuildRequires: trinity-dbus-tqt-devel >= 3.5.13.2 +%endif + +# IFP support +# IFP package is broken under PCLinuxOS. +%if 0%{?pclinuxos} == 0 +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_ifp 1 +BuildRequires: libifp-devel +%endif +%endif + +# KARMA support +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} == 0 +%define with_karma 1 +BuildRequires: libkarma-devel +BuildRequires: karma-sharp +%endif +%endif + +# GPOD (ipod) support +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} +%define with_gpod 1 +BuildRequires: libgpod-devel >= 0.4.2 +%endif + +# MTP players +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} +%define with_mtp 1 +BuildRequires: libmtp-devel +BuildRequires: libmusicbrainz-devel +%endif + +# Creative Nomad Jukebox +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} >= 1220 +%define with_njb 1 +BuildRequires: libnjb-devel +%endif + +# VISUAL support +%if 0%{?rhel} >= 4 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} +%define with_libvisual 1 +BuildRequires: libvisual-devel +%endif + +# TUNEPIMP support +%if 0%{?mgaversion} && 0%{?mgaversion} <= 2 +BuildRequires: libtunepimp-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?suse_version} +BuildRequires: libtunepimp-devel +%endif + +# INOTIFY support +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} +%define with_inotify 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}inotifytools-devel +%endif +%endif + +# XINE support +%if 0%{?rhel} >= 4 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} +%define with_xine 1 +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +BuildRequires: libxine-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: xine-lib-devel +%endif +%endif + +# YAUAP support +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} +%define with_yauap 1 +%endif + +# AKODE support +%if 0 +%define with_akode 1 +BuildRequires: trinity-akode-devel +%endif + +# MP4V2 support +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_mp4v2 1 +BuildRequires: libmp4v2-devel +%endif + +# ruby +BuildRequires: ruby +BuildRequires: ruby-devel + +# To open the selected browser, works with Patch2 +Requires: xdg-utils +Requires(post): xdg-utils +Requires(postun): xdg-utils + + +%description +Amarok is a multimedia player with: + - fresh playlist concept, very fast to use, with drag and drop + - plays all formats supported by the various engines + - audio effects, like reverb and compressor + - compatible with the .m3u and .pls formats for playlists + - nice GUI, integrates into the TDE look, but with a unique touch + +%files -f amarok.lang +%defattr(-,root,root,-) +%doc COPYING AUTHORS ChangeLog README +%{tde_bindir}/amarok +%{tde_bindir}/amarokapp +%{tde_bindir}/amarokcollectionscanner +%{tde_bindir}/amarok_proxy.rb +%{tde_datadir}/apps/amarok/ +%{tde_datadir}/icons/hicolor/*/*/* +%{tde_datadir}/applications/kde/*.desktop +%{tde_datadir}/servicetypes/*.desktop +%{tde_datadir}/apps/profiles/amarok.profile.xml +%{tde_datadir}/config/amarokrc +%{tde_datadir}/config.kcfg/*.kcfg +%{tde_datadir}/services/amarokitpc.protocol +%{tde_datadir}/services/amaroklastfm.protocol +%{tde_datadir}/services/amarokpcast.protocol +# -libs ? -- Rex +%{tde_libdir}/libamarok.so.0 +%{tde_libdir}/libamarok.so.0.0.0 +# DAAP +%{tde_bindir}/amarok_daapserver.rb +%{tde_tdelibdir}/libamarok_daap-mediadevice.* +%{tde_datadir}/services/amarok_daap-mediadevice.desktop +# Mass-storage +%{tde_datadir}/services/amarok_massstorage-device.desktop +%{tde_tdelibdir}/libamarok_massstorage-device.* +# NFS +%{tde_datadir}/services/amarok_nfs-device.desktop +%{tde_tdelibdir}/libamarok_nfs-device.* +# SMB +%{tde_datadir}/services/amarok_smb-device.desktop +%{tde_tdelibdir}/libamarok_smb-device.* +# IPod +%if 0%{?with_gpod} +%{tde_datadir}/services/amarok_ipod-mediadevice.desktop +%{tde_tdelibdir}/libamarok_ipod-mediadevice.* +%endif +# VFAT +%{tde_datadir}/services/amarok_generic-mediadevice.desktop +%{tde_tdelibdir}/libamarok_generic-mediadevice.* +# iRiver +%if 0%{?with_ifp} +%{tde_datadir}/services/amarok_ifp-mediadevice.desktop +%{tde_tdelibdir}/libamarok_ifp-mediadevice.* +%endif +# Creative Zen +%if 0%{?with_njb} +%{tde_datadir}/services/amarok_njb-mediadevice.desktop +%{tde_tdelibdir}/libamarok_njb-mediadevice.* +%endif +# MTP players +%if 0%{?with_mtp} +%{tde_datadir}/services/amarok_mtp-mediadevice.desktop +%{tde_tdelibdir}/libamarok_mtp-mediadevice.* +%endif +# Rio Karma +%if 0%{?with_karma} +%{tde_datadir}/services/amarok_riokarma-mediadevice.desktop +%{tde_tdelibdir}/libamarok_riokarma-mediadevice.* +%endif +# Void engine (noop) +%{tde_datadir}/services/amarok_void-engine_plugin.desktop +%{tde_tdelibdir}/libamarok_void-engine_plugin.* +# Xine engine +%if 0%{?with_xine} +%{tde_datadir}/services/amarok_xine-engine.desktop +%{tde_tdelibdir}/libamarok_xine-engine.* +%endif +## Gstreamer engine +#%{tde_datadir}/services/amarok_gst10engine_plugin.desktop +#%{tde_tdelibdir}/libamarok_gst10engine_plugin.* +# YAUAP +%if 0%{?with_yauap} +%{tde_datadir}/services/amarok_yauap-engine_plugin.desktop +%{tde_tdelibdir}/libamarok_yauap-engine_plugin.* +%endif +# AKODE +%if 0%{?with_akode} +%{tde_datadir}/services/amarok_aKode-engine.desktop +%{tde_tdelibdir}/libamarok_aKode-engine.* +%endif + +%post +/sbin/ldconfig +xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || : +xdg-desktop-menu forceupdate 2> /dev/null || : + +%postun +/sbin/ldconfig +xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || : +xdg-desktop-menu forceupdate 2> /dev/null || : + + +########## + +%package ruby +Summary: %{name} Ruby support +Group: Applications/Multimedia +Requires: %{name} = %{version}-%{release} +# For dir ownership and some default plugins (lyrics) +Requires: ruby + +%description ruby +%{summary}. + +%files ruby +%defattr(-,root,root,-) +%{tde_libdir}/ruby_lib/* + +########## + +%package konqueror +Summary: Amarok konqueror (service menus, sidebar) support +Group: Applications/Multimedia + +Requires: %{name} = %{version}-%{release} +Requires: trinity-konqueror + +%description konqueror +%{summary}. + +%files konqueror +%defattr(-,root,root,-) +%{tde_datadir}/apps/konqueror/servicemenus/*.desktop +%{tde_tdelibdir}/konqsidebar_universalamarok.* +%{tde_datadir}/apps/konqsidebartng/*/amarok.desktop + + +########## + +%if 0%{?with_libvisual} + +%package visualisation +Summary: Visualisation plugins for Amarok +Group: Applications/Multimedia +Requires: %{name} = %{version}-%{release} +# No plugins by default, we need libvisual-plugins +#Requires: libvisual-plugins + +%description visualisation +Amarok can use visualisation plugins from different origins. +Right now, only xmms is supported, which means that you can +use any of xmms' visualisation plugins with Amarok. + +%files visualisation +%defattr(-,root,root,-) +%{tde_bindir}/amarok_libvisual + +%endif + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tdeversion}%{?preversion:~%{preversion}} +%if 0%{?rhel} == 4 +%patch3 -p1 -b .rhel4 +%endif + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt:%{tde_tdeincludedir}" + +# Do not build against any "/usr" installed KDE +export KDEDIR=%{tde_prefix} + +# Specific path for RHEL4 +if [ -d /usr/X11R6 ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DQT_LIBRARY_DIRS="${QTLIB:-${QTDIR}/%{_lib}}" \ + %{?with_libvisual:-DWITH_LIBVISUAL=ON} \ + -DWITH_KONQSIDEBAR=ON \ + %{?with_xine:-DWITH_XINE=ON} \ + %{?with_yauap:-DWITH_YAUAP=ON} \ + %{?with_akode:-DWITH_AKODE=ON} \ + %{?with_gpod:-DWITH_IPOD=ON} \ + %{?with_ifp:-DWITH_IFP=ON} \ + %{?with_njb:-DWITH_NJB=ON} \ + %{?with_mtp:-DWITH_MTP=ON} \ + %{?with_karma:-DWITH_RIOKARMA=ON} \ + -DWITH_DAAP=ON \ + %{?with_mp4v2:-DWITH_MP4V2=ON} \ + %{?with_inotify:-DWITH_INOTIFY=ON} \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} || %__make + +%install +%__rm -fr $RPM_BUILD_ROOT +%__make install DESTDIR=$RPM_BUILD_ROOT -C build + + +# unpackaged files +%__rm -f $RPM_BUILD_ROOT%{tde_libdir}/lib*.la +# Removes '.so' to avoid automatic -devel dependency +%__rm -f $RPM_BUILD_ROOT%{tde_libdir}/libamarok.so + +# Locales +%find_lang amarok + +# HTML +for lang_dir in $RPM_BUILD_ROOT%{tde_tdedocdir}/HTML/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + [ "$lang" == "en" ] && d=en/amarok || d=$lang + echo "%lang($lang) %doc %{tde_tdedocdir}/HTML/$d" >> amarok.lang + fi +done + + + +%clean +%__rm -fr $RPM_BUILD_ROOT + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 1.4.10-9 +- Initial release for TDE 3.5.13.2 + +* Tue Oct 02 2012 Francois Andriot - 1.4.10-8 +- Initial release for TDE 3.5.13.1 diff --git a/redhat/applications/amarok/amarok-3.5.13.spec b/redhat/applications/amarok/amarok-3.5.13.spec new file mode 100644 index 000000000..a5eb0d8ae --- /dev/null +++ b/redhat/applications/amarok/amarok-3.5.13.spec @@ -0,0 +1,381 @@ +# Basic package informations +%define kdecomp amarok + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Media player +Version: 1.4.10 +Release: 7%{?dist}%{?_variant} + +Group: Applications/Multimedia +License: GPLv2+ +Url: http://amarok.kde.org + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: amarok-3.5.13.tar.gz + +# RedHat / Fedora legacy patches +Patch1: amarok-1.4.8-gcc43.patch + +# TDE 3.5.13 RHEL/Fedora patches +Patch2: amarok-3.5.13-cmake_konqsidebar.patch +Patch3: amarok-3.5.13-taglib_include.patch +Patch4: amarok-3.5.13-enable_riokarma.patch +Patch5: amarok-3.5.13-enable_akode.patch + +Patch6: amarok-3.5.13-adds_ruby_1.9_support.patch +Patch7: amarok-3.5.13-fix_gcc47_compilation.patch + +# [amarok] Fix inotify detection [Commit #899586da] +Patch11: amarok-3.5.13-fix_inotify_support.patch +# [amarok] Fix linear alphabet string errors [Commit #6e5a3b66] +Patch12: amarok-3.5.13-fix_linear_alphabet.patch + +BuildRequires: alsa-lib-devel +BuildRequires: desktop-file-utils +BuildRequires: esound-devel +BuildRequires: gettext +BuildRequires: tqtinterface-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: trinity-kdebase-devel +BuildRequires: pcre-devel +BuildRequires: taglib-devel +BuildRequires: libifp-devel +# Ipod +%if 0%{?rhel} == 5 +BuildRequires: trinity-libgpod-devel >= 0.4.2 +%else +BuildRequires: libgpod-devel >= 0.4.2 +%endif +BuildRequires: libmp4v2-devel +# MTP players +BuildRequires: libmtp-devel +BuildRequires: libmusicbrainz-devel +# Creative Nomad Jukebox +BuildRequires: libnjb-devel +BuildRequires: libtool +%if 0%{?fedora} > 4 || 0%{?rhel} > 4 +BuildRequires: libtool-ltdl-devel +%endif +BuildRequires: libtunepimp-devel +BuildRequires: libusb-devel +BuildRequires: libvisual-devel +BuildRequires: mysql-devel +BuildRequires: postgresql-devel +BuildRequires: SDL-devel +BuildRequires: taglib-devel +BuildRequires: sqlite-devel +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: trinity-libkarma-devel +BuildRequires: trinity-karma-sharp +%else +BuildRequires: libkarma-devel +BuildRequires: karma-sharp +%endif +# not used anymore, in favor of libvisual ? -- Rex +#%{?fedora:BuildRequires: xmms-devel} +BuildRequires: dbus-devel +BuildRequires: dbus-tqt-devel +BuildRequires: trinity-akode-devel +BuildRequires: trinity-konqueror-devel + +# ruby +BuildRequires: ruby +BuildRequires: ruby-devel + +# To open the selected browser, works with Patch2 +Requires: xdg-utils +Requires(post): xdg-utils +Requires(postun): xdg-utils + +# xine-lib +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: libxine-devel +%else +BuildRequires: xine-lib-devel +%endif + + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}inotifytools-devel +%else +%endif + + +%description +Amarok is a multimedia player with: + - fresh playlist concept, very fast to use, with drag and drop + - plays all formats supported by the various engines + - audio effects, like reverb and compressor + - compatible with the .m3u and .pls formats for playlists + - nice GUI, integrates into the TDE look, but with a unique touch + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc COPYING AUTHORS ChangeLog README +%{tde_bindir}/amarok +%{tde_bindir}/amarokapp +%{tde_bindir}/amarokcollectionscanner +%{tde_bindir}/amarok_proxy.rb +%{tde_datadir}/apps/amarok/ +%{tde_datadir}/icons/hicolor/*/*/* +%{tde_datadir}/applications/kde/*.desktop +%{tde_datadir}/servicetypes/*.desktop +%{tde_datadir}/apps/profiles/amarok.profile.xml +%{tde_datadir}/config/amarokrc +%{tde_datadir}/config.kcfg/*.kcfg +%{tde_datadir}/services/amarokitpc.protocol +%{tde_datadir}/services/amaroklastfm.protocol +%{tde_datadir}/services/amarokpcast.protocol +# -libs ? -- Rex +%{tde_libdir}/libamarok.so.0 +%{tde_libdir}/libamarok.so.0.0.0 +# DAAP +%{tde_bindir}/amarok_daapserver.rb +%{tde_tdelibdir}/libamarok_daap-mediadevice.* +%{tde_datadir}/services/amarok_daap-mediadevice.desktop +# Mass-storage +%{tde_datadir}/services/amarok_massstorage-device.desktop +%{tde_tdelibdir}/libamarok_massstorage-device.* +# NFS +%{tde_datadir}/services/amarok_nfs-device.desktop +%{tde_tdelibdir}/libamarok_nfs-device.* +# SMB +%{tde_datadir}/services/amarok_smb-device.desktop +%{tde_tdelibdir}/libamarok_smb-device.* +# IPod +%{tde_datadir}/services/amarok_ipod-mediadevice.desktop +%{tde_tdelibdir}/libamarok_ipod-mediadevice.* +# VFAT +%{tde_datadir}/services/amarok_generic-mediadevice.desktop +%{tde_tdelibdir}/libamarok_generic-mediadevice.* +# iRiver +%{tde_datadir}/services/amarok_ifp-mediadevice.desktop +%{tde_tdelibdir}/libamarok_ifp-mediadevice.* +# Creative Zen +%{tde_datadir}/services/amarok_njb-mediadevice.desktop +%{tde_tdelibdir}/libamarok_njb-mediadevice.* +# MTP players +%{tde_datadir}/services/amarok_mtp-mediadevice.desktop +%{tde_tdelibdir}/libamarok_mtp-mediadevice.* +# Rio Karma +%{tde_datadir}/services/amarok_riokarma-mediadevice.desktop +%{tde_tdelibdir}/libamarok_riokarma-mediadevice.* +# Void engine (noop) +%{tde_datadir}/services/amarok_void-engine_plugin.desktop +%{tde_tdelibdir}/libamarok_void-engine_plugin.* +# Xine engine +%{tde_datadir}/services/amarok_xine-engine.desktop +%{tde_tdelibdir}/libamarok_xine-engine.* +## Gstreamer engine +#%{tde_datadir}/services/amarok_gst10engine_plugin.desktop +#%{tde_tdelibdir}/libamarok_gst10engine_plugin.* +# YAUAP +%{tde_datadir}/services/amarok_yauap-engine_plugin.desktop +%{tde_tdelibdir}/libamarok_yauap-engine_plugin.* +# AKODE +%{tde_datadir}/services/amarok_aKode-engine.desktop +%{tde_tdelibdir}/libamarok_aKode-engine.* + +%post +/sbin/ldconfig +xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || : +xdg-desktop-menu forceupdate 2> /dev/null || : + +%postun +/sbin/ldconfig +xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || : +xdg-desktop-menu forceupdate 2> /dev/null || : + + +########## + +%package ruby +Summary: %{name} Ruby support +Group: Applications/Multimedia +Requires: %{name} = %{version}-%{release} +# For dir ownership and some default plugins (lyrics) +Requires: ruby + +%description ruby +%{summary}. + +%files ruby +%defattr(-,root,root,-) +%{tde_libdir}/ruby_lib/* + +########## + +%package konqueror +Summary: Amarok konqueror (service menus, sidebar) support +Group: Applications/Multimedia + +Requires: %{name} = %{version}-%{release} +Requires: trinity-konqueror + +%description konqueror +%{summary}. + +%files konqueror +%defattr(-,root,root,-) +%{tde_datadir}/apps/konqueror/servicemenus/*.desktop +%{tde_tdelibdir}/konqsidebar_universalamarok.* +%{tde_datadir}/apps/konqsidebartng/*/amarok.desktop + + +########## + +%package visualisation +Summary: Visualisation plugins for Amarok +Group: Applications/Multimedia +Requires: %{name} = %{version}-%{release} +# No plugins by default, we need libvisual-plugins +#Requires: libvisual-plugins + +%description visualisation +Amarok can use visualisation plugins from different origins. +Right now, only xmms is supported, which means that you can +use any of xmms' visualisation plugins with Amarok. + +%files visualisation +%defattr(-,root,root,-) +%{tde_bindir}/amarok_libvisual + +########## + + +%prep +%setup -q -n applications/amarok +%patch1 -p1 -b .gcc43 +%patch2 -p0 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 -b .ruby +%patch7 -p1 + +%patch11 -p1 -b .inotify +%patch12 -p1 -b .alphabet + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt:%{tde_tdeincludedir}" + +%if 0%{?rhel} || 0%{?fedora} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DQT_LIBRARY_DIRS="${QTLIB}" \ + -DWITH_LIBVISUAL=ON \ + -DWITH_KONQSIDEBAR=ON \ + -DWITH_XINE=ON \ + -DWITH_YAUAP=ON \ + -DWITH_AKODE=ON \ + -DWITH_IPOD=ON \ + -DWITH_IFP=ON \ + -DWITH_NJB=ON \ + -DWITH_MTP=ON \ + -DWITH_RIOKARMA=ON \ + -DWITH_DAAP=ON \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} + +%install +%__rm -fr $RPM_BUILD_ROOT +%__make install DESTDIR=$RPM_BUILD_ROOT -C build + + +# unpackaged files +%__rm -f $RPM_BUILD_ROOT%{tde_libdir}/lib*.la +# Removes '.so' to avoid automatic -devel dependency +%__rm -f $RPM_BUILD_ROOT%{tde_libdir}/libamarok.so + +# HTML +for lang_dir in $RPM_BUILD_ROOT%{tde_tdedocdir}/HTML/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + [ "$lang" == "en" ] && d=en/amarok || d=$lang + echo "%lang($lang) %doc %{tde_tdedocdir}/HTML/$d" >> %{name}.lang + fi +done + +# Locales +for locale in $RPM_BUILD_ROOT%{tde_datadir}/locale/* ; do + if [ -r $locale/LC_MESSAGES/amarok.mo ]; then + lang=$(basename $locale) + echo "%lang($lang) %{tde_datadir}/locale/$lang/LC_MESSAGES/amarok.mo" >> %{name}.lang + fi +done + + + +%clean +%__rm -fr $RPM_BUILD_ROOT + + + + + + +%changelog +* Sat Aug 04 2012 Francois Andriot - 1.4.10-7 +- Fix linear alphabet string errors [Commit #6e5a3b66] +- Fix dependencies issues with -devel packages. + +* Mon Apr 29 2012 Francois Andriot - 1.4.10-6 +- Rebuilt for Fedora 17 +- Fix compilation with GCC 4.7 +- Fix inotify detection [Commit #899586da] + +* Mon Mar 19 2012 Francois Andriot - 1.4.10-5 +- Replaces BR "libgpod" with "trinity-libgpod" for EL5 + +* Mon Jan 16 2012 Francois Andriot - 1.4.10-4 +- Enable 'akode' support +- Removes 'libvisual-plugins' dependency (obsolete ?) + +* Mon Nov 28 2011 Francois Andriot - 1.4.10-3 +- Enable riokarma support +- Enhance localized files packaging + +* Sat Nov 26 2011 Francois Andriot - 1.4.10-2 +- Enable RHEL 5 compilation +- Add konqueror sidebar + +* Wed Nov 09 2011 Francois Andriot - 1.4.10-1 +- Initial build for TDE 3.5.13 on RHEL 5, RHEL 6, Fedora 15, Fedora 16 +- Spec file based on Fedora 8 'amarok-1.4.10-1' diff --git a/redhat/applications/amarok/trinity-amarok-3.5.13.1.spec b/redhat/applications/amarok/trinity-amarok-3.5.13.1.spec deleted file mode 100644 index 08d594486..000000000 --- a/redhat/applications/amarok/trinity-amarok-3.5.13.1.spec +++ /dev/null @@ -1,406 +0,0 @@ -# Basic package informations -%define kdecomp amarok - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Media player -Version: 1.4.10 -Release: 8%{?dist}%{?_variant} - -Group: Applications/Multimedia -License: GPLv2+ -Url: http://amarok.kde.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: amarok-3.5.13.1.tar.gz - -Patch1: amarok-3.5.13.1-add_xine12_support.patch -Patch2: amarok-3.5.13.1-fix_inotify_detection.patch -Patch3: amarok-3.5.13.1-fix_rhel4_libs.patch - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: trinity-akode-devel -BuildRequires: trinity-konqueror-devel >= 3.5.13.1 - -BuildRequires: alsa-lib-devel -BuildRequires: desktop-file-utils -BuildRequires: esound-devel -BuildRequires: gettext -BuildRequires: pcre-devel -BuildRequires: taglib-devel - -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: libmp4v2-devel -%endif - -BuildRequires: libtool -%if 0%{?fedora} > 4 || 0%{?rhel} > 4 -BuildRequires: libtool-ltdl-devel -%endif -BuildRequires: libusb-devel -BuildRequires: mysql-devel -BuildRequires: postgresql-devel -BuildRequires: SDL-devel -BuildRequires: taglib-devel -BuildRequires: sqlite-devel -# not used anymore, in favor of libvisual ? -- Rex -#%{?fedora:BuildRequires: xmms-devel} - - -# DBUS support -%if 0%{?suse_version} -BuildRequires: dbus-1-devel -%else -BuildRequires: dbus-devel -%endif -%if 0%{?rhel} == 4 -BuildRequires: dbus-qt -%else -BuildRequires: trinity-dbus-tqt-devel >= 3.5.13.1 -%endif - -# IFP support -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_ifp 1 -BuildRequires: libifp-devel -%endif - -# KARMA support -%if 0%{?mgaversion} || 0%{?mdkversion} -%define with_karma 1 -BuildRequires: libkarma-devel -BuildRequires: karma-sharp -%endif - -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} - -# GPOD (ipod) support -%define with_gpod 1 -%if 0%{?rhel} == 5 -BuildRequires: trinity-libgpod-devel >= 0.4.2 -%else -BuildRequires: libgpod-devel >= 0.4.2 -%endif - -# MTP players -%define with_mtp 1 -BuildRequires: libmtp-devel -BuildRequires: libmusicbrainz-devel - -# Creative Nomad Jukebox -%define with_njb 1 -BuildRequires: libnjb-devel - -# VISUAL support -%define with_libvisual 1 -BuildRequires: libvisual-devel - -# TUNEPIMP support -BuildRequires: libtunepimp-devel - -# INOTIFY support -%define with_inotify 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}inotifytools-devel -%endif - -# XINE support -%define with_xine 1 -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -BuildRequires: libxine-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: xine-lib-devel -%endif - -# YAUAP support -%define with_yauap 1 - -%endif - -# ruby -BuildRequires: ruby -BuildRequires: ruby-devel - -# To open the selected browser, works with Patch2 -Requires: xdg-utils -Requires(post): xdg-utils -Requires(postun): xdg-utils - - -%description -Amarok is a multimedia player with: - - fresh playlist concept, very fast to use, with drag and drop - - plays all formats supported by the various engines - - audio effects, like reverb and compressor - - compatible with the .m3u and .pls formats for playlists - - nice GUI, integrates into the TDE look, but with a unique touch - -%files -f %{name}.lang -%defattr(-,root,root,-) -%doc COPYING AUTHORS ChangeLog README -%{tde_bindir}/amarok -%{tde_bindir}/amarokapp -%{tde_bindir}/amarokcollectionscanner -%{tde_bindir}/amarok_proxy.rb -%{tde_datadir}/apps/amarok/ -%{tde_datadir}/icons/hicolor/*/*/* -%{tde_datadir}/applications/kde/*.desktop -%{tde_datadir}/servicetypes/*.desktop -%{tde_datadir}/apps/profiles/amarok.profile.xml -%{tde_datadir}/config/amarokrc -%{tde_datadir}/config.kcfg/*.kcfg -%{tde_datadir}/services/amarokitpc.protocol -%{tde_datadir}/services/amaroklastfm.protocol -%{tde_datadir}/services/amarokpcast.protocol -# -libs ? -- Rex -%{tde_libdir}/libamarok.so.0 -%{tde_libdir}/libamarok.so.0.0.0 -# DAAP -%{tde_bindir}/amarok_daapserver.rb -%{tde_tdelibdir}/libamarok_daap-mediadevice.* -%{tde_datadir}/services/amarok_daap-mediadevice.desktop -# Mass-storage -%{tde_datadir}/services/amarok_massstorage-device.desktop -%{tde_tdelibdir}/libamarok_massstorage-device.* -# NFS -%{tde_datadir}/services/amarok_nfs-device.desktop -%{tde_tdelibdir}/libamarok_nfs-device.* -# SMB -%{tde_datadir}/services/amarok_smb-device.desktop -%{tde_tdelibdir}/libamarok_smb-device.* -# IPod -%if 0%{?with_gpod} -%{tde_datadir}/services/amarok_ipod-mediadevice.desktop -%{tde_tdelibdir}/libamarok_ipod-mediadevice.* -%endif -# VFAT -%{tde_datadir}/services/amarok_generic-mediadevice.desktop -%{tde_tdelibdir}/libamarok_generic-mediadevice.* -# iRiver -%if 0%{?with_ifp} -%{tde_datadir}/services/amarok_ifp-mediadevice.desktop -%{tde_tdelibdir}/libamarok_ifp-mediadevice.* -%endif -# Creative Zen -%if 0%{?with_njb} -%{tde_datadir}/services/amarok_njb-mediadevice.desktop -%{tde_tdelibdir}/libamarok_njb-mediadevice.* -%endif -# MTP players -%if 0%{?with_mtp} -%{tde_datadir}/services/amarok_mtp-mediadevice.desktop -%{tde_tdelibdir}/libamarok_mtp-mediadevice.* -%endif -# Rio Karma -%if 0%{?with_karma} -%{tde_datadir}/services/amarok_riokarma-mediadevice.desktop -%{tde_tdelibdir}/libamarok_riokarma-mediadevice.* -%endif -# Void engine (noop) -%{tde_datadir}/services/amarok_void-engine_plugin.desktop -%{tde_tdelibdir}/libamarok_void-engine_plugin.* -# Xine engine -%if 0%{?with_xine} -%{tde_datadir}/services/amarok_xine-engine.desktop -%{tde_tdelibdir}/libamarok_xine-engine.* -%endif -## Gstreamer engine -#%{tde_datadir}/services/amarok_gst10engine_plugin.desktop -#%{tde_tdelibdir}/libamarok_gst10engine_plugin.* -# YAUAP -%if 0%{?with_yauap} -%{tde_datadir}/services/amarok_yauap-engine_plugin.desktop -%{tde_tdelibdir}/libamarok_yauap-engine_plugin.* -%endif -# AKODE -%{tde_datadir}/services/amarok_aKode-engine.desktop -%{tde_tdelibdir}/libamarok_aKode-engine.* - -%post -/sbin/ldconfig -xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || : -xdg-desktop-menu forceupdate 2> /dev/null || : - -%postun -/sbin/ldconfig -xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || : -xdg-desktop-menu forceupdate 2> /dev/null || : - - -########## - -%package ruby -Summary: %{name} Ruby support -Group: Applications/Multimedia -Requires: %{name} = %{version}-%{release} -# For dir ownership and some default plugins (lyrics) -Requires: ruby - -%description ruby -%{summary}. - -%files ruby -%defattr(-,root,root,-) -%{tde_libdir}/ruby_lib/* - -########## - -%package konqueror -Summary: Amarok konqueror (service menus, sidebar) support -Group: Applications/Multimedia - -Requires: %{name} = %{version}-%{release} -Requires: trinity-konqueror - -%description konqueror -%{summary}. - -%files konqueror -%defattr(-,root,root,-) -%{tde_datadir}/apps/konqueror/servicemenus/*.desktop -%{tde_tdelibdir}/konqsidebar_universalamarok.* -%{tde_datadir}/apps/konqsidebartng/*/amarok.desktop - - -########## - -%if 0%{?with_libvisual} - -%package visualisation -Summary: Visualisation plugins for Amarok -Group: Applications/Multimedia -Requires: %{name} = %{version}-%{release} -# No plugins by default, we need libvisual-plugins -#Requires: libvisual-plugins - -%description visualisation -Amarok can use visualisation plugins from different origins. -Right now, only xmms is supported, which means that you can -use any of xmms' visualisation plugins with Amarok. - -%files visualisation -%defattr(-,root,root,-) -%{tde_bindir}/amarok_libvisual - -%endif - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n amarok-3.5.13.1 -%patch1 -p1 -b .xine -%patch2 -p1 -b .inotify -%if 0%{?rhel} == 4 -%patch3 -p1 -b .rhel4 -%endif - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt:%{tde_tdeincludedir}" - -# Do not build against any "/usr" installed KDE -export KDEDIR=%{tde_prefix} - -# Specific path for RHEL4 -if [ -d /usr/X11R6 ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - -DQT_LIBRARY_DIRS="${QTLIB:-${QTDIR}/%{_lib}}" \ - %{?with_libvisual:-DWITH_LIBVISUAL=ON} \ - -DWITH_KONQSIDEBAR=ON \ - %{?with_xine:-DWITH_XINE=ON} \ - %{?with_yauap:-DWITH_YAUAP=ON} \ - -DWITH_AKODE=ON \ - %{?with_gpod:-DWITH_IPOD=ON} \ - %{?with_ifp:-DWITH_IFP=ON} \ - %{?with_njb:-DWITH_NJB=ON} \ - %{?with_mtp:-DWITH_MTP=ON} \ - %{?with_karma:-DWITH_RIOKARMA=ON} \ - %{?with_inotify:-DWITH_INOTIFY=ON} \ - -DWITH_DAAP=ON \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} - -%install -%__rm -fr $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT -C build - - -# unpackaged files -%__rm -f $RPM_BUILD_ROOT%{tde_libdir}/lib*.la -# Removes '.so' to avoid automatic -devel dependency -%__rm -f $RPM_BUILD_ROOT%{tde_libdir}/libamarok.so - -# HTML -for lang_dir in $RPM_BUILD_ROOT%{tde_tdedocdir}/HTML/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - [ "$lang" == "en" ] && d=en/amarok || d=$lang - echo "%lang($lang) %doc %{tde_tdedocdir}/HTML/$d" >> %{name}.lang - fi -done - -# Locales -for locale in $RPM_BUILD_ROOT%{tde_datadir}/locale/* ; do - if [ -r $locale/LC_MESSAGES/amarok.mo ]; then - lang=$(basename $locale) - echo "%lang($lang) %{tde_datadir}/locale/$lang/LC_MESSAGES/amarok.mo" >> %{name}.lang - fi -done - - -%clean -%__rm -fr $RPM_BUILD_ROOT - - -%changelog -* Tue Oct 02 2012 Francois Andriot - 1.4.10-8 -- Initial release for TDE 3.5.13.1 diff --git a/redhat/applications/amarok/trinity-amarok-3.5.13.2.spec b/redhat/applications/amarok/trinity-amarok-3.5.13.2.spec deleted file mode 100644 index 01baf11e7..000000000 --- a/redhat/applications/amarok/trinity-amarok-3.5.13.2.spec +++ /dev/null @@ -1,430 +0,0 @@ -# Basic package informations -%define tdecomp amarok -%define tdeversion 3.5.13.2 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: Media player -Version: 1.4.10 -Release: 9%{?dist}%{?_variant} - -Group: Applications/Multimedia -License: GPLv2+ -Url: http://amarok.kde.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tdeversion}%{?preversion:~%{preversion}}.tar.gz - -Patch3: amarok-3.5.13.1-fix_rhel4_libs.patch - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: trinity-konqueror-devel >= 3.5.13.2 - -BuildRequires: alsa-lib-devel -BuildRequires: desktop-file-utils -BuildRequires: esound-devel -BuildRequires: gettext -BuildRequires: pcre-devel -BuildRequires: taglib-devel - -BuildRequires: libtool -%if 0%{?fedora} > 4 || 0%{?rhel} > 4 -BuildRequires: libtool-ltdl-devel -%endif -BuildRequires: libusb-devel -BuildRequires: mysql-devel -BuildRequires: postgresql-devel -BuildRequires: SDL-devel -BuildRequires: taglib-devel -BuildRequires: sqlite-devel -# not used anymore, in favor of libvisual ? -- Rex -#{?fedora:BuildRequires: xmms-devel} - - -# DBUS support -%if 0%{?suse_version} -BuildRequires: dbus-1-devel -%else -BuildRequires: dbus-devel -%endif - -# DBUS-(T)QT support -%if 0%{?rhel} == 4 -BuildRequires: dbus-qt -%else -BuildRequires: trinity-dbus-tqt-devel >= 3.5.13.2 -%endif - -# IFP support -# IFP package is broken under PCLinuxOS. -%if 0%{?pclinuxos} == 0 -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_ifp 1 -BuildRequires: libifp-devel -%endif -%endif - -# KARMA support -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} == 0 -%define with_karma 1 -BuildRequires: libkarma-devel -BuildRequires: karma-sharp -%endif -%endif - -# GPOD (ipod) support -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -%define with_gpod 1 -BuildRequires: libgpod-devel >= 0.4.2 -%endif - -# MTP players -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -%define with_mtp 1 -BuildRequires: libmtp-devel -BuildRequires: libmusicbrainz-devel -%endif - -# Creative Nomad Jukebox -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} >= 1220 -%define with_njb 1 -BuildRequires: libnjb-devel -%endif - -# VISUAL support -%if 0%{?rhel} >= 4 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -%define with_libvisual 1 -BuildRequires: libvisual-devel -%endif - -# TUNEPIMP support -%if 0%{?mgaversion} && 0%{?mgaversion} <= 2 -BuildRequires: libtunepimp-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?suse_version} -BuildRequires: libtunepimp-devel -%endif - -# INOTIFY support -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -%define with_inotify 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}inotifytools-devel -%endif -%endif - -# XINE support -%if 0%{?rhel} >= 4 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -%define with_xine 1 -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -BuildRequires: libxine-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: xine-lib-devel -%endif -%endif - -# YAUAP support -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -%define with_yauap 1 -%endif - -# AKODE support -%if 0 -%define with_akode 1 -BuildRequires: trinity-akode-devel -%endif - -# MP4V2 support -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define with_mp4v2 1 -BuildRequires: libmp4v2-devel -%endif - -# ruby -BuildRequires: ruby -BuildRequires: ruby-devel - -# To open the selected browser, works with Patch2 -Requires: xdg-utils -Requires(post): xdg-utils -Requires(postun): xdg-utils - - -%description -Amarok is a multimedia player with: - - fresh playlist concept, very fast to use, with drag and drop - - plays all formats supported by the various engines - - audio effects, like reverb and compressor - - compatible with the .m3u and .pls formats for playlists - - nice GUI, integrates into the TDE look, but with a unique touch - -%files -f amarok.lang -%defattr(-,root,root,-) -%doc COPYING AUTHORS ChangeLog README -%{tde_bindir}/amarok -%{tde_bindir}/amarokapp -%{tde_bindir}/amarokcollectionscanner -%{tde_bindir}/amarok_proxy.rb -%{tde_datadir}/apps/amarok/ -%{tde_datadir}/icons/hicolor/*/*/* -%{tde_datadir}/applications/kde/*.desktop -%{tde_datadir}/servicetypes/*.desktop -%{tde_datadir}/apps/profiles/amarok.profile.xml -%{tde_datadir}/config/amarokrc -%{tde_datadir}/config.kcfg/*.kcfg -%{tde_datadir}/services/amarokitpc.protocol -%{tde_datadir}/services/amaroklastfm.protocol -%{tde_datadir}/services/amarokpcast.protocol -# -libs ? -- Rex -%{tde_libdir}/libamarok.so.0 -%{tde_libdir}/libamarok.so.0.0.0 -# DAAP -%{tde_bindir}/amarok_daapserver.rb -%{tde_tdelibdir}/libamarok_daap-mediadevice.* -%{tde_datadir}/services/amarok_daap-mediadevice.desktop -# Mass-storage -%{tde_datadir}/services/amarok_massstorage-device.desktop -%{tde_tdelibdir}/libamarok_massstorage-device.* -# NFS -%{tde_datadir}/services/amarok_nfs-device.desktop -%{tde_tdelibdir}/libamarok_nfs-device.* -# SMB -%{tde_datadir}/services/amarok_smb-device.desktop -%{tde_tdelibdir}/libamarok_smb-device.* -# IPod -%if 0%{?with_gpod} -%{tde_datadir}/services/amarok_ipod-mediadevice.desktop -%{tde_tdelibdir}/libamarok_ipod-mediadevice.* -%endif -# VFAT -%{tde_datadir}/services/amarok_generic-mediadevice.desktop -%{tde_tdelibdir}/libamarok_generic-mediadevice.* -# iRiver -%if 0%{?with_ifp} -%{tde_datadir}/services/amarok_ifp-mediadevice.desktop -%{tde_tdelibdir}/libamarok_ifp-mediadevice.* -%endif -# Creative Zen -%if 0%{?with_njb} -%{tde_datadir}/services/amarok_njb-mediadevice.desktop -%{tde_tdelibdir}/libamarok_njb-mediadevice.* -%endif -# MTP players -%if 0%{?with_mtp} -%{tde_datadir}/services/amarok_mtp-mediadevice.desktop -%{tde_tdelibdir}/libamarok_mtp-mediadevice.* -%endif -# Rio Karma -%if 0%{?with_karma} -%{tde_datadir}/services/amarok_riokarma-mediadevice.desktop -%{tde_tdelibdir}/libamarok_riokarma-mediadevice.* -%endif -# Void engine (noop) -%{tde_datadir}/services/amarok_void-engine_plugin.desktop -%{tde_tdelibdir}/libamarok_void-engine_plugin.* -# Xine engine -%if 0%{?with_xine} -%{tde_datadir}/services/amarok_xine-engine.desktop -%{tde_tdelibdir}/libamarok_xine-engine.* -%endif -## Gstreamer engine -#%{tde_datadir}/services/amarok_gst10engine_plugin.desktop -#%{tde_tdelibdir}/libamarok_gst10engine_plugin.* -# YAUAP -%if 0%{?with_yauap} -%{tde_datadir}/services/amarok_yauap-engine_plugin.desktop -%{tde_tdelibdir}/libamarok_yauap-engine_plugin.* -%endif -# AKODE -%if 0%{?with_akode} -%{tde_datadir}/services/amarok_aKode-engine.desktop -%{tde_tdelibdir}/libamarok_aKode-engine.* -%endif - -%post -/sbin/ldconfig -xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || : -xdg-desktop-menu forceupdate 2> /dev/null || : - -%postun -/sbin/ldconfig -xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || : -xdg-desktop-menu forceupdate 2> /dev/null || : - - -########## - -%package ruby -Summary: %{name} Ruby support -Group: Applications/Multimedia -Requires: %{name} = %{version}-%{release} -# For dir ownership and some default plugins (lyrics) -Requires: ruby - -%description ruby -%{summary}. - -%files ruby -%defattr(-,root,root,-) -%{tde_libdir}/ruby_lib/* - -########## - -%package konqueror -Summary: Amarok konqueror (service menus, sidebar) support -Group: Applications/Multimedia - -Requires: %{name} = %{version}-%{release} -Requires: trinity-konqueror - -%description konqueror -%{summary}. - -%files konqueror -%defattr(-,root,root,-) -%{tde_datadir}/apps/konqueror/servicemenus/*.desktop -%{tde_tdelibdir}/konqsidebar_universalamarok.* -%{tde_datadir}/apps/konqsidebartng/*/amarok.desktop - - -########## - -%if 0%{?with_libvisual} - -%package visualisation -Summary: Visualisation plugins for Amarok -Group: Applications/Multimedia -Requires: %{name} = %{version}-%{release} -# No plugins by default, we need libvisual-plugins -#Requires: libvisual-plugins - -%description visualisation -Amarok can use visualisation plugins from different origins. -Right now, only xmms is supported, which means that you can -use any of xmms' visualisation plugins with Amarok. - -%files visualisation -%defattr(-,root,root,-) -%{tde_bindir}/amarok_libvisual - -%endif - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tdeversion}%{?preversion:~%{preversion}} -%if 0%{?rhel} == 4 -%patch3 -p1 -b .rhel4 -%endif - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt:%{tde_tdeincludedir}" - -# Do not build against any "/usr" installed KDE -export KDEDIR=%{tde_prefix} - -# Specific path for RHEL4 -if [ -d /usr/X11R6 ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - -DQT_LIBRARY_DIRS="${QTLIB:-${QTDIR}/%{_lib}}" \ - %{?with_libvisual:-DWITH_LIBVISUAL=ON} \ - -DWITH_KONQSIDEBAR=ON \ - %{?with_xine:-DWITH_XINE=ON} \ - %{?with_yauap:-DWITH_YAUAP=ON} \ - %{?with_akode:-DWITH_AKODE=ON} \ - %{?with_gpod:-DWITH_IPOD=ON} \ - %{?with_ifp:-DWITH_IFP=ON} \ - %{?with_njb:-DWITH_NJB=ON} \ - %{?with_mtp:-DWITH_MTP=ON} \ - %{?with_karma:-DWITH_RIOKARMA=ON} \ - -DWITH_DAAP=ON \ - %{?with_mp4v2:-DWITH_MP4V2=ON} \ - %{?with_inotify:-DWITH_INOTIFY=ON} \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} || %__make - -%install -%__rm -fr $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT -C build - - -# unpackaged files -%__rm -f $RPM_BUILD_ROOT%{tde_libdir}/lib*.la -# Removes '.so' to avoid automatic -devel dependency -%__rm -f $RPM_BUILD_ROOT%{tde_libdir}/libamarok.so - -# Locales -%find_lang amarok - -# HTML -for lang_dir in $RPM_BUILD_ROOT%{tde_tdedocdir}/HTML/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - [ "$lang" == "en" ] && d=en/amarok || d=$lang - echo "%lang($lang) %doc %{tde_tdedocdir}/HTML/$d" >> amarok.lang - fi -done - - - -%clean -%__rm -fr $RPM_BUILD_ROOT - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 1.4.10-9 -- Initial release for TDE 3.5.13.2 - -* Tue Oct 02 2012 Francois Andriot - 1.4.10-8 -- Initial release for TDE 3.5.13.1 diff --git a/redhat/applications/amarok/trinity-amarok-3.5.13.spec b/redhat/applications/amarok/trinity-amarok-3.5.13.spec deleted file mode 100644 index a5eb0d8ae..000000000 --- a/redhat/applications/amarok/trinity-amarok-3.5.13.spec +++ /dev/null @@ -1,381 +0,0 @@ -# Basic package informations -%define kdecomp amarok - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Media player -Version: 1.4.10 -Release: 7%{?dist}%{?_variant} - -Group: Applications/Multimedia -License: GPLv2+ -Url: http://amarok.kde.org - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: amarok-3.5.13.tar.gz - -# RedHat / Fedora legacy patches -Patch1: amarok-1.4.8-gcc43.patch - -# TDE 3.5.13 RHEL/Fedora patches -Patch2: amarok-3.5.13-cmake_konqsidebar.patch -Patch3: amarok-3.5.13-taglib_include.patch -Patch4: amarok-3.5.13-enable_riokarma.patch -Patch5: amarok-3.5.13-enable_akode.patch - -Patch6: amarok-3.5.13-adds_ruby_1.9_support.patch -Patch7: amarok-3.5.13-fix_gcc47_compilation.patch - -# [amarok] Fix inotify detection [Commit #899586da] -Patch11: amarok-3.5.13-fix_inotify_support.patch -# [amarok] Fix linear alphabet string errors [Commit #6e5a3b66] -Patch12: amarok-3.5.13-fix_linear_alphabet.patch - -BuildRequires: alsa-lib-devel -BuildRequires: desktop-file-utils -BuildRequires: esound-devel -BuildRequires: gettext -BuildRequires: tqtinterface-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: trinity-kdebase-devel -BuildRequires: pcre-devel -BuildRequires: taglib-devel -BuildRequires: libifp-devel -# Ipod -%if 0%{?rhel} == 5 -BuildRequires: trinity-libgpod-devel >= 0.4.2 -%else -BuildRequires: libgpod-devel >= 0.4.2 -%endif -BuildRequires: libmp4v2-devel -# MTP players -BuildRequires: libmtp-devel -BuildRequires: libmusicbrainz-devel -# Creative Nomad Jukebox -BuildRequires: libnjb-devel -BuildRequires: libtool -%if 0%{?fedora} > 4 || 0%{?rhel} > 4 -BuildRequires: libtool-ltdl-devel -%endif -BuildRequires: libtunepimp-devel -BuildRequires: libusb-devel -BuildRequires: libvisual-devel -BuildRequires: mysql-devel -BuildRequires: postgresql-devel -BuildRequires: SDL-devel -BuildRequires: taglib-devel -BuildRequires: sqlite-devel -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: trinity-libkarma-devel -BuildRequires: trinity-karma-sharp -%else -BuildRequires: libkarma-devel -BuildRequires: karma-sharp -%endif -# not used anymore, in favor of libvisual ? -- Rex -#%{?fedora:BuildRequires: xmms-devel} -BuildRequires: dbus-devel -BuildRequires: dbus-tqt-devel -BuildRequires: trinity-akode-devel -BuildRequires: trinity-konqueror-devel - -# ruby -BuildRequires: ruby -BuildRequires: ruby-devel - -# To open the selected browser, works with Patch2 -Requires: xdg-utils -Requires(post): xdg-utils -Requires(postun): xdg-utils - -# xine-lib -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: libxine-devel -%else -BuildRequires: xine-lib-devel -%endif - - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}inotifytools-devel -%else -%endif - - -%description -Amarok is a multimedia player with: - - fresh playlist concept, very fast to use, with drag and drop - - plays all formats supported by the various engines - - audio effects, like reverb and compressor - - compatible with the .m3u and .pls formats for playlists - - nice GUI, integrates into the TDE look, but with a unique touch - -%files -f %{name}.lang -%defattr(-,root,root,-) -%doc COPYING AUTHORS ChangeLog README -%{tde_bindir}/amarok -%{tde_bindir}/amarokapp -%{tde_bindir}/amarokcollectionscanner -%{tde_bindir}/amarok_proxy.rb -%{tde_datadir}/apps/amarok/ -%{tde_datadir}/icons/hicolor/*/*/* -%{tde_datadir}/applications/kde/*.desktop -%{tde_datadir}/servicetypes/*.desktop -%{tde_datadir}/apps/profiles/amarok.profile.xml -%{tde_datadir}/config/amarokrc -%{tde_datadir}/config.kcfg/*.kcfg -%{tde_datadir}/services/amarokitpc.protocol -%{tde_datadir}/services/amaroklastfm.protocol -%{tde_datadir}/services/amarokpcast.protocol -# -libs ? -- Rex -%{tde_libdir}/libamarok.so.0 -%{tde_libdir}/libamarok.so.0.0.0 -# DAAP -%{tde_bindir}/amarok_daapserver.rb -%{tde_tdelibdir}/libamarok_daap-mediadevice.* -%{tde_datadir}/services/amarok_daap-mediadevice.desktop -# Mass-storage -%{tde_datadir}/services/amarok_massstorage-device.desktop -%{tde_tdelibdir}/libamarok_massstorage-device.* -# NFS -%{tde_datadir}/services/amarok_nfs-device.desktop -%{tde_tdelibdir}/libamarok_nfs-device.* -# SMB -%{tde_datadir}/services/amarok_smb-device.desktop -%{tde_tdelibdir}/libamarok_smb-device.* -# IPod -%{tde_datadir}/services/amarok_ipod-mediadevice.desktop -%{tde_tdelibdir}/libamarok_ipod-mediadevice.* -# VFAT -%{tde_datadir}/services/amarok_generic-mediadevice.desktop -%{tde_tdelibdir}/libamarok_generic-mediadevice.* -# iRiver -%{tde_datadir}/services/amarok_ifp-mediadevice.desktop -%{tde_tdelibdir}/libamarok_ifp-mediadevice.* -# Creative Zen -%{tde_datadir}/services/amarok_njb-mediadevice.desktop -%{tde_tdelibdir}/libamarok_njb-mediadevice.* -# MTP players -%{tde_datadir}/services/amarok_mtp-mediadevice.desktop -%{tde_tdelibdir}/libamarok_mtp-mediadevice.* -# Rio Karma -%{tde_datadir}/services/amarok_riokarma-mediadevice.desktop -%{tde_tdelibdir}/libamarok_riokarma-mediadevice.* -# Void engine (noop) -%{tde_datadir}/services/amarok_void-engine_plugin.desktop -%{tde_tdelibdir}/libamarok_void-engine_plugin.* -# Xine engine -%{tde_datadir}/services/amarok_xine-engine.desktop -%{tde_tdelibdir}/libamarok_xine-engine.* -## Gstreamer engine -#%{tde_datadir}/services/amarok_gst10engine_plugin.desktop -#%{tde_tdelibdir}/libamarok_gst10engine_plugin.* -# YAUAP -%{tde_datadir}/services/amarok_yauap-engine_plugin.desktop -%{tde_tdelibdir}/libamarok_yauap-engine_plugin.* -# AKODE -%{tde_datadir}/services/amarok_aKode-engine.desktop -%{tde_tdelibdir}/libamarok_aKode-engine.* - -%post -/sbin/ldconfig -xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || : -xdg-desktop-menu forceupdate 2> /dev/null || : - -%postun -/sbin/ldconfig -xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || : -xdg-desktop-menu forceupdate 2> /dev/null || : - - -########## - -%package ruby -Summary: %{name} Ruby support -Group: Applications/Multimedia -Requires: %{name} = %{version}-%{release} -# For dir ownership and some default plugins (lyrics) -Requires: ruby - -%description ruby -%{summary}. - -%files ruby -%defattr(-,root,root,-) -%{tde_libdir}/ruby_lib/* - -########## - -%package konqueror -Summary: Amarok konqueror (service menus, sidebar) support -Group: Applications/Multimedia - -Requires: %{name} = %{version}-%{release} -Requires: trinity-konqueror - -%description konqueror -%{summary}. - -%files konqueror -%defattr(-,root,root,-) -%{tde_datadir}/apps/konqueror/servicemenus/*.desktop -%{tde_tdelibdir}/konqsidebar_universalamarok.* -%{tde_datadir}/apps/konqsidebartng/*/amarok.desktop - - -########## - -%package visualisation -Summary: Visualisation plugins for Amarok -Group: Applications/Multimedia -Requires: %{name} = %{version}-%{release} -# No plugins by default, we need libvisual-plugins -#Requires: libvisual-plugins - -%description visualisation -Amarok can use visualisation plugins from different origins. -Right now, only xmms is supported, which means that you can -use any of xmms' visualisation plugins with Amarok. - -%files visualisation -%defattr(-,root,root,-) -%{tde_bindir}/amarok_libvisual - -########## - - -%prep -%setup -q -n applications/amarok -%patch1 -p1 -b .gcc43 -%patch2 -p0 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -b .ruby -%patch7 -p1 - -%patch11 -p1 -b .inotify -%patch12 -p1 -b .alphabet - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt:%{tde_tdeincludedir}" - -%if 0%{?rhel} || 0%{?fedora} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - -DQT_LIBRARY_DIRS="${QTLIB}" \ - -DWITH_LIBVISUAL=ON \ - -DWITH_KONQSIDEBAR=ON \ - -DWITH_XINE=ON \ - -DWITH_YAUAP=ON \ - -DWITH_AKODE=ON \ - -DWITH_IPOD=ON \ - -DWITH_IFP=ON \ - -DWITH_NJB=ON \ - -DWITH_MTP=ON \ - -DWITH_RIOKARMA=ON \ - -DWITH_DAAP=ON \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} - -%install -%__rm -fr $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT -C build - - -# unpackaged files -%__rm -f $RPM_BUILD_ROOT%{tde_libdir}/lib*.la -# Removes '.so' to avoid automatic -devel dependency -%__rm -f $RPM_BUILD_ROOT%{tde_libdir}/libamarok.so - -# HTML -for lang_dir in $RPM_BUILD_ROOT%{tde_tdedocdir}/HTML/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - [ "$lang" == "en" ] && d=en/amarok || d=$lang - echo "%lang($lang) %doc %{tde_tdedocdir}/HTML/$d" >> %{name}.lang - fi -done - -# Locales -for locale in $RPM_BUILD_ROOT%{tde_datadir}/locale/* ; do - if [ -r $locale/LC_MESSAGES/amarok.mo ]; then - lang=$(basename $locale) - echo "%lang($lang) %{tde_datadir}/locale/$lang/LC_MESSAGES/amarok.mo" >> %{name}.lang - fi -done - - - -%clean -%__rm -fr $RPM_BUILD_ROOT - - - - - - -%changelog -* Sat Aug 04 2012 Francois Andriot - 1.4.10-7 -- Fix linear alphabet string errors [Commit #6e5a3b66] -- Fix dependencies issues with -devel packages. - -* Mon Apr 29 2012 Francois Andriot - 1.4.10-6 -- Rebuilt for Fedora 17 -- Fix compilation with GCC 4.7 -- Fix inotify detection [Commit #899586da] - -* Mon Mar 19 2012 Francois Andriot - 1.4.10-5 -- Replaces BR "libgpod" with "trinity-libgpod" for EL5 - -* Mon Jan 16 2012 Francois Andriot - 1.4.10-4 -- Enable 'akode' support -- Removes 'libvisual-plugins' dependency (obsolete ?) - -* Mon Nov 28 2011 Francois Andriot - 1.4.10-3 -- Enable riokarma support -- Enhance localized files packaging - -* Sat Nov 26 2011 Francois Andriot - 1.4.10-2 -- Enable RHEL 5 compilation -- Add konqueror sidebar - -* Wed Nov 09 2011 Francois Andriot - 1.4.10-1 -- Initial build for TDE 3.5.13 on RHEL 5, RHEL 6, Fedora 15, Fedora 16 -- Spec file based on Fedora 8 'amarok-1.4.10-1' diff --git a/redhat/applications/basket/basket-3.5.12.spec b/redhat/applications/basket/basket-3.5.12.spec new file mode 100644 index 000000000..a97f0bc9f --- /dev/null +++ b/redhat/applications/basket/basket-3.5.12.spec @@ -0,0 +1,118 @@ +# Default version for this component +%define kdecomp basket +%define version 1.0.3.1 +%define release 3 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_prefix}/share/doc +%endif + +# TDE 3.5.12 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir} +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/kde3 + + +Name: trinity-%{kdecomp} +Summary: Taking care of your ideas. +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Source0: %{kdecomp}-3.5.12.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: trinity-kdebase-devel +BuildRequires: desktop-file-utils + +%description +This application is mainly an all-purpose notes taker. It provide several baskets where +to drop every sort of items: text, rich text, links, images, sounds, files, colors, +application launcher... Objects can be edited, copied, dragged... So, you can arrange +them as you want ! This application can be used to quickly drop web objects (link, text, +images...) or notes, as well as to free your clutered desktop (if any). It is also useful +to collect informations for a report. Those data can be shared with co-workers by exporting +baskets to HTML. + + +%prep +%setup -q -n applications/%{kdecomp} + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%configure \ + --disable-rpath \ + --with-extra-includes=%{_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} +%make_install + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + +%postun +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{_bindir}/* +%{_datadir}/applications/*/*.desktop +%{_datadir}/apps/*/ +%{_datadir}/icons/*/*/*/* +%{_datadir}/locale/*/*/*.mo +%{tde_docdir}/HTML/en/*/ +%{_datadir}/services/*.desktop +%{_datadir}/mimelnk/application/*.desktop +%{_datadir}/services/*/*.desktop +%{_datadir}/config/magic/*.magic +%{_libdir}/*.so +%{tde_libdir}/*.so + +%exclude %{_libdir}/*.la +%exclude %{tde_libdir}/*.la + + +%Changelog +* Tue Sep 14 2011 Francois Andriot - 1.0.3.1-3 +- Import to GIT + +* Tue Aug 23 2011 Francois Andriot - 1.0.3.1-2 +- Add correction for Fedora 15 + +* Mon Aug 22 2011 Francois Andriot - 1.0.3.1-1 +- Correct macro to install under "/opt", if desired + +* Sun Aug 14 2011 Francois Andriot - 1.0.3.1-0 +- Initial build for RHEL 6.0 + diff --git a/redhat/applications/basket/basket-3.5.13.1.spec b/redhat/applications/basket/basket-3.5.13.1.spec new file mode 100644 index 000000000..e490398ca --- /dev/null +++ b/redhat/applications/basket/basket-3.5.13.1.spec @@ -0,0 +1,165 @@ +# Default version for this component +%define kdecomp basket + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Taking care of your ideas. +Version: 1.0.3.1 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +# [basket] Fix compilation with GCC 4.7 +Patch1: basket-3.5.13-fix_gcc47_compilation.patch + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: trinity-tdepim-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils + +BuildRequires: gpgme-devel + +%description +This application is mainly an all-purpose notes taker. It provide several baskets where +to drop every sort of items: text, rich text, links, images, sounds, files, colors, +application launcher... Objects can be edited, copied, dragged... So, you can arrange +them as you want ! This application can be used to quickly drop web objects (link, text, +images...) or notes, as well as to free your clutered desktop (if any). It is also useful +to collect informations for a report. Those data can be shared with co-workers by exporting +baskets to HTML. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 +%patch1 -p1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --disable-static + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig + +%postun +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/basket +%{tde_tdeappdir}/basket.desktop +%{tde_datadir}/apps/basket/ +%{tde_datadir}/apps/kontact/ksettingsdialog/kontact_basketplugin.setdlg +%{tde_libdir}/libbasketcommon.la +%{tde_libdir}/libbasketcommon.so +%{tde_tdelibdir}/basketthumbcreator.la +%{tde_tdelibdir}/basketthumbcreator.so +%{tde_tdelibdir}/kcm_basket.la +%{tde_tdelibdir}/kcm_basket.so +%{tde_tdelibdir}/libbasketpart.la +%{tde_tdelibdir}/libbasketpart.so +%{tde_tdelibdir}/libkontact_basket.la +%{tde_tdelibdir}/libkontact_basket.so +%{tde_datadir}/config/magic/basket.magic +%{tde_datadir}/icons/crystalsvg/*/*/* +%{tde_datadir}/mimelnk/application/x-basket-archive.desktop +%{tde_datadir}/mimelnk/application/x-basket-template.desktop +%{tde_datadir}/services/basket_config_apps.desktop +%{tde_datadir}/services/basket_config_baskets.desktop +%{tde_datadir}/services/basket_config_features.desktop +%{tde_datadir}/services/basket_config_general.desktop +%{tde_datadir}/services/basket_config_new_notes.desktop +%{tde_datadir}/services/basket_config_notes.desktop +%{tde_datadir}/services/basket_config_notes_appearance.desktop +%{tde_datadir}/services/basket_part.desktop +%{tde_datadir}/services/basketthumbcreator.desktop +%{tde_datadir}/services/kontact/basket.desktop +%{tde_datadir}/services/kontact/basket_v4.desktop +%{tde_tdedocdir}/HTML/en/basket/ + + +%Changelog +* Tue Oct 02 2012 Francois Andriot - 1.0.3.1-3 +- Initial release for TDE 3.5.13.1 diff --git a/redhat/applications/basket/basket-3.5.13.2.spec b/redhat/applications/basket/basket-3.5.13.2.spec new file mode 100644 index 000000000..991e859e2 --- /dev/null +++ b/redhat/applications/basket/basket-3.5.13.2.spec @@ -0,0 +1,164 @@ +# Default version for this component +%define kdecomp basket + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Taking care of your ideas. +Version: 1.0.3.1 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: trinity-tdepim-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils + +BuildRequires: gpgme-devel + +%description +This application is mainly an all-purpose notes taker. It provide several baskets where +to drop every sort of items: text, rich text, links, images, sounds, files, colors, +application launcher... Objects can be edited, copied, dragged... So, you can arrange +them as you want ! This application can be used to quickly drop web objects (link, text, +images...) or notes, as well as to free your clutered desktop (if any). It is also useful +to collect informations for a report. Those data can be shared with co-workers by exporting +baskets to HTML. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --disable-static + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig + +%postun +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/basket +%{tde_tdeappdir}/basket.desktop +%{tde_datadir}/apps/basket/ +%{tde_datadir}/apps/kontact/ksettingsdialog/kontact_basketplugin.setdlg +%{tde_libdir}/libbasketcommon.la +%{tde_libdir}/libbasketcommon.so +%{tde_tdelibdir}/basketthumbcreator.la +%{tde_tdelibdir}/basketthumbcreator.so +%{tde_tdelibdir}/kcm_basket.la +%{tde_tdelibdir}/kcm_basket.so +%{tde_tdelibdir}/libbasketpart.la +%{tde_tdelibdir}/libbasketpart.so +%{tde_tdelibdir}/libkontact_basket.la +%{tde_tdelibdir}/libkontact_basket.so +%{tde_datadir}/config/magic/basket.magic +%{tde_datadir}/icons/crystalsvg/*/*/* +%{tde_datadir}/mimelnk/application/x-basket-archive.desktop +%{tde_datadir}/mimelnk/application/x-basket-template.desktop +%{tde_datadir}/services/basket_config_apps.desktop +%{tde_datadir}/services/basket_config_baskets.desktop +%{tde_datadir}/services/basket_config_features.desktop +%{tde_datadir}/services/basket_config_general.desktop +%{tde_datadir}/services/basket_config_new_notes.desktop +%{tde_datadir}/services/basket_config_notes.desktop +%{tde_datadir}/services/basket_config_notes_appearance.desktop +%{tde_datadir}/services/basket_part.desktop +%{tde_datadir}/services/basketthumbcreator.desktop +%{tde_datadir}/services/kontact/basket.desktop +%{tde_datadir}/services/kontact/basket_v4.desktop +%{tde_tdedocdir}/HTML/en/basket/ + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 1.0.3.1-4 +- Initial release for TDE 3.5.13.2 + +* Tue Oct 02 2012 Francois Andriot - 1.0.3.1-3 +- Initial release for TDE 3.5.13.1 diff --git a/redhat/applications/basket/basket-3.5.13.spec b/redhat/applications/basket/basket-3.5.13.spec new file mode 100644 index 000000000..07e8e4951 --- /dev/null +++ b/redhat/applications/basket/basket-3.5.13.spec @@ -0,0 +1,164 @@ +# Default version for this component +%define kdecomp basket + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Taking care of your ideas. +Version: 1.0.3.1 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +# [basket] Fix compilation with GCC 4.7 +Patch1: basket-3.5.13-fix_gcc47_compilation.patch + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: trinity-kdebase-devel +BuildRequires: desktop-file-utils + +BuildRequires: gpgme-devel +BuildRequires: trinity-tdepim-devel >= 3.5.13 + +%description +This application is mainly an all-purpose notes taker. It provide several baskets where +to drop every sort of items: text, rich text, links, images, sounds, files, colors, +application launcher... Objects can be edited, copied, dragged... So, you can arrange +them as you want ! This application can be used to quickly drop web objects (link, text, +images...) or notes, as well as to free your clutered desktop (if any). It is also useful +to collect informations for a report. Those data can be shared with co-workers by exporting +baskets to HTML. + + +%prep +%setup -q -n applications/%{kdecomp} +%patch1 -p1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --disable-rpath \ + --with-extra-includes=%{_includedir}/tqt \ + --disable-static + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig + +%postun +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/basket +%{tde_tdeappdir}/basket.desktop +%{tde_datadir}/apps/basket/ +%{tde_datadir}/apps/kontact/ksettingsdialog/kontact_basketplugin.setdlg +%{tde_libdir}/libbasketcommon.la +%{tde_libdir}/libbasketcommon.so +%{tde_tdelibdir}/basketthumbcreator.la +%{tde_tdelibdir}/basketthumbcreator.so +%{tde_tdelibdir}/kcm_basket.la +%{tde_tdelibdir}/kcm_basket.so +%{tde_tdelibdir}/libbasketpart.la +%{tde_tdelibdir}/libbasketpart.so +%{tde_tdelibdir}/libkontact_basket.la +%{tde_tdelibdir}/libkontact_basket.so +%{tde_datadir}/config/magic/basket.magic +%{tde_datadir}/icons/crystalsvg/*/*/* +%{tde_datadir}/mimelnk/application/x-basket-archive.desktop +%{tde_datadir}/mimelnk/application/x-basket-template.desktop +%{tde_datadir}/services/basket_config_apps.desktop +%{tde_datadir}/services/basket_config_baskets.desktop +%{tde_datadir}/services/basket_config_features.desktop +%{tde_datadir}/services/basket_config_general.desktop +%{tde_datadir}/services/basket_config_new_notes.desktop +%{tde_datadir}/services/basket_config_notes.desktop +%{tde_datadir}/services/basket_config_notes_appearance.desktop +%{tde_datadir}/services/basket_part.desktop +%{tde_datadir}/services/basketthumbcreator.desktop +%{tde_datadir}/services/kontact/basket.desktop +%{tde_datadir}/services/kontact/basket_v4.desktop +%{tde_tdedocdir}/HTML/en/basket/ + + +%Changelog +* Tue May 01 2012 Francois Andriot - 1.0.3.1-2 +- Fix build, post and postun +- Fix compilation with GCC 4.7 + +* Mon Aug 22 2011 Francois Andriot - 1.0.3.1-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/basket/trinity-basket-3.5.12.spec b/redhat/applications/basket/trinity-basket-3.5.12.spec deleted file mode 100644 index a97f0bc9f..000000000 --- a/redhat/applications/basket/trinity-basket-3.5.12.spec +++ /dev/null @@ -1,118 +0,0 @@ -# Default version for this component -%define kdecomp basket -%define version 1.0.3.1 -%define release 3 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_includedir %{_includedir}/kde -%define tde_libdir %{_libdir}/kde3 - - -Name: trinity-%{kdecomp} -Summary: Taking care of your ideas. -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Source0: %{kdecomp}-3.5.12.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: trinity-kdebase-devel -BuildRequires: desktop-file-utils - -%description -This application is mainly an all-purpose notes taker. It provide several baskets where -to drop every sort of items: text, rich text, links, images, sounds, files, colors, -application launcher... Objects can be edited, copied, dragged... So, you can arrange -them as you want ! This application can be used to quickly drop web objects (link, text, -images...) or notes, as well as to free your clutered desktop (if any). It is also useful -to collect informations for a report. Those data can be shared with co-workers by exporting -baskets to HTML. - - -%prep -%setup -q -n applications/%{kdecomp} - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -%configure \ - --disable-rpath \ - --with-extra-includes=%{_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{buildroot} -%make_install - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : - -%postun -touch --no-create %{_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{_bindir}/* -%{_datadir}/applications/*/*.desktop -%{_datadir}/apps/*/ -%{_datadir}/icons/*/*/*/* -%{_datadir}/locale/*/*/*.mo -%{tde_docdir}/HTML/en/*/ -%{_datadir}/services/*.desktop -%{_datadir}/mimelnk/application/*.desktop -%{_datadir}/services/*/*.desktop -%{_datadir}/config/magic/*.magic -%{_libdir}/*.so -%{tde_libdir}/*.so - -%exclude %{_libdir}/*.la -%exclude %{tde_libdir}/*.la - - -%Changelog -* Tue Sep 14 2011 Francois Andriot - 1.0.3.1-3 -- Import to GIT - -* Tue Aug 23 2011 Francois Andriot - 1.0.3.1-2 -- Add correction for Fedora 15 - -* Mon Aug 22 2011 Francois Andriot - 1.0.3.1-1 -- Correct macro to install under "/opt", if desired - -* Sun Aug 14 2011 Francois Andriot - 1.0.3.1-0 -- Initial build for RHEL 6.0 - diff --git a/redhat/applications/basket/trinity-basket-3.5.13.1.spec b/redhat/applications/basket/trinity-basket-3.5.13.1.spec deleted file mode 100644 index e490398ca..000000000 --- a/redhat/applications/basket/trinity-basket-3.5.13.1.spec +++ /dev/null @@ -1,165 +0,0 @@ -# Default version for this component -%define kdecomp basket - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Taking care of your ideas. -Version: 1.0.3.1 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -# [basket] Fix compilation with GCC 4.7 -Patch1: basket-3.5.13-fix_gcc47_compilation.patch - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: trinity-tdepim-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - -BuildRequires: gpgme-devel - -%description -This application is mainly an all-purpose notes taker. It provide several baskets where -to drop every sort of items: text, rich text, links, images, sounds, files, colors, -application launcher... Objects can be edited, copied, dragged... So, you can arrange -them as you want ! This application can be used to quickly drop web objects (link, text, -images...) or notes, as well as to free your clutered desktop (if any). It is also useful -to collect informations for a report. Those data can be shared with co-workers by exporting -baskets to HTML. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 -%patch1 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --disable-static - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig - -%postun -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/basket -%{tde_tdeappdir}/basket.desktop -%{tde_datadir}/apps/basket/ -%{tde_datadir}/apps/kontact/ksettingsdialog/kontact_basketplugin.setdlg -%{tde_libdir}/libbasketcommon.la -%{tde_libdir}/libbasketcommon.so -%{tde_tdelibdir}/basketthumbcreator.la -%{tde_tdelibdir}/basketthumbcreator.so -%{tde_tdelibdir}/kcm_basket.la -%{tde_tdelibdir}/kcm_basket.so -%{tde_tdelibdir}/libbasketpart.la -%{tde_tdelibdir}/libbasketpart.so -%{tde_tdelibdir}/libkontact_basket.la -%{tde_tdelibdir}/libkontact_basket.so -%{tde_datadir}/config/magic/basket.magic -%{tde_datadir}/icons/crystalsvg/*/*/* -%{tde_datadir}/mimelnk/application/x-basket-archive.desktop -%{tde_datadir}/mimelnk/application/x-basket-template.desktop -%{tde_datadir}/services/basket_config_apps.desktop -%{tde_datadir}/services/basket_config_baskets.desktop -%{tde_datadir}/services/basket_config_features.desktop -%{tde_datadir}/services/basket_config_general.desktop -%{tde_datadir}/services/basket_config_new_notes.desktop -%{tde_datadir}/services/basket_config_notes.desktop -%{tde_datadir}/services/basket_config_notes_appearance.desktop -%{tde_datadir}/services/basket_part.desktop -%{tde_datadir}/services/basketthumbcreator.desktop -%{tde_datadir}/services/kontact/basket.desktop -%{tde_datadir}/services/kontact/basket_v4.desktop -%{tde_tdedocdir}/HTML/en/basket/ - - -%Changelog -* Tue Oct 02 2012 Francois Andriot - 1.0.3.1-3 -- Initial release for TDE 3.5.13.1 diff --git a/redhat/applications/basket/trinity-basket-3.5.13.2.spec b/redhat/applications/basket/trinity-basket-3.5.13.2.spec deleted file mode 100644 index 991e859e2..000000000 --- a/redhat/applications/basket/trinity-basket-3.5.13.2.spec +++ /dev/null @@ -1,164 +0,0 @@ -# Default version for this component -%define kdecomp basket - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Taking care of your ideas. -Version: 1.0.3.1 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: trinity-tdepim-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils - -BuildRequires: gpgme-devel - -%description -This application is mainly an all-purpose notes taker. It provide several baskets where -to drop every sort of items: text, rich text, links, images, sounds, files, colors, -application launcher... Objects can be edited, copied, dragged... So, you can arrange -them as you want ! This application can be used to quickly drop web objects (link, text, -images...) or notes, as well as to free your clutered desktop (if any). It is also useful -to collect informations for a report. Those data can be shared with co-workers by exporting -baskets to HTML. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --disable-static - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig - -%postun -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/basket -%{tde_tdeappdir}/basket.desktop -%{tde_datadir}/apps/basket/ -%{tde_datadir}/apps/kontact/ksettingsdialog/kontact_basketplugin.setdlg -%{tde_libdir}/libbasketcommon.la -%{tde_libdir}/libbasketcommon.so -%{tde_tdelibdir}/basketthumbcreator.la -%{tde_tdelibdir}/basketthumbcreator.so -%{tde_tdelibdir}/kcm_basket.la -%{tde_tdelibdir}/kcm_basket.so -%{tde_tdelibdir}/libbasketpart.la -%{tde_tdelibdir}/libbasketpart.so -%{tde_tdelibdir}/libkontact_basket.la -%{tde_tdelibdir}/libkontact_basket.so -%{tde_datadir}/config/magic/basket.magic -%{tde_datadir}/icons/crystalsvg/*/*/* -%{tde_datadir}/mimelnk/application/x-basket-archive.desktop -%{tde_datadir}/mimelnk/application/x-basket-template.desktop -%{tde_datadir}/services/basket_config_apps.desktop -%{tde_datadir}/services/basket_config_baskets.desktop -%{tde_datadir}/services/basket_config_features.desktop -%{tde_datadir}/services/basket_config_general.desktop -%{tde_datadir}/services/basket_config_new_notes.desktop -%{tde_datadir}/services/basket_config_notes.desktop -%{tde_datadir}/services/basket_config_notes_appearance.desktop -%{tde_datadir}/services/basket_part.desktop -%{tde_datadir}/services/basketthumbcreator.desktop -%{tde_datadir}/services/kontact/basket.desktop -%{tde_datadir}/services/kontact/basket_v4.desktop -%{tde_tdedocdir}/HTML/en/basket/ - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 1.0.3.1-4 -- Initial release for TDE 3.5.13.2 - -* Tue Oct 02 2012 Francois Andriot - 1.0.3.1-3 -- Initial release for TDE 3.5.13.1 diff --git a/redhat/applications/basket/trinity-basket-3.5.13.spec b/redhat/applications/basket/trinity-basket-3.5.13.spec deleted file mode 100644 index 07e8e4951..000000000 --- a/redhat/applications/basket/trinity-basket-3.5.13.spec +++ /dev/null @@ -1,164 +0,0 @@ -# Default version for this component -%define kdecomp basket - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Taking care of your ideas. -Version: 1.0.3.1 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# [basket] Fix compilation with GCC 4.7 -Patch1: basket-3.5.13-fix_gcc47_compilation.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: trinity-kdebase-devel -BuildRequires: desktop-file-utils - -BuildRequires: gpgme-devel -BuildRequires: trinity-tdepim-devel >= 3.5.13 - -%description -This application is mainly an all-purpose notes taker. It provide several baskets where -to drop every sort of items: text, rich text, links, images, sounds, files, colors, -application launcher... Objects can be edited, copied, dragged... So, you can arrange -them as you want ! This application can be used to quickly drop web objects (link, text, -images...) or notes, as well as to free your clutered desktop (if any). It is also useful -to collect informations for a report. Those data can be shared with co-workers by exporting -baskets to HTML. - - -%prep -%setup -q -n applications/%{kdecomp} -%patch1 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --disable-rpath \ - --with-extra-includes=%{_includedir}/tqt \ - --disable-static - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig - -%postun -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/basket -%{tde_tdeappdir}/basket.desktop -%{tde_datadir}/apps/basket/ -%{tde_datadir}/apps/kontact/ksettingsdialog/kontact_basketplugin.setdlg -%{tde_libdir}/libbasketcommon.la -%{tde_libdir}/libbasketcommon.so -%{tde_tdelibdir}/basketthumbcreator.la -%{tde_tdelibdir}/basketthumbcreator.so -%{tde_tdelibdir}/kcm_basket.la -%{tde_tdelibdir}/kcm_basket.so -%{tde_tdelibdir}/libbasketpart.la -%{tde_tdelibdir}/libbasketpart.so -%{tde_tdelibdir}/libkontact_basket.la -%{tde_tdelibdir}/libkontact_basket.so -%{tde_datadir}/config/magic/basket.magic -%{tde_datadir}/icons/crystalsvg/*/*/* -%{tde_datadir}/mimelnk/application/x-basket-archive.desktop -%{tde_datadir}/mimelnk/application/x-basket-template.desktop -%{tde_datadir}/services/basket_config_apps.desktop -%{tde_datadir}/services/basket_config_baskets.desktop -%{tde_datadir}/services/basket_config_features.desktop -%{tde_datadir}/services/basket_config_general.desktop -%{tde_datadir}/services/basket_config_new_notes.desktop -%{tde_datadir}/services/basket_config_notes.desktop -%{tde_datadir}/services/basket_config_notes_appearance.desktop -%{tde_datadir}/services/basket_part.desktop -%{tde_datadir}/services/basketthumbcreator.desktop -%{tde_datadir}/services/kontact/basket.desktop -%{tde_datadir}/services/kontact/basket_v4.desktop -%{tde_tdedocdir}/HTML/en/basket/ - - -%Changelog -* Tue May 01 2012 Francois Andriot - 1.0.3.1-2 -- Fix build, post and postun -- Fix compilation with GCC 4.7 - -* Mon Aug 22 2011 Francois Andriot - 1.0.3.1-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/bibletime/bibletime-3.5.13.1.spec b/redhat/applications/bibletime/bibletime-3.5.13.1.spec new file mode 100644 index 000000000..69683bfae --- /dev/null +++ b/redhat/applications/bibletime/bibletime-3.5.13.1.spec @@ -0,0 +1,164 @@ +# Default version for this component +%define kdecomp bibletime + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: A bible study tool for Trinity +Version: 1.6.6.0 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +# Fix detection of older versions of clucene in Fedora >= 16 +Patch0: bibletime-3.5.13-clucene_detection.patch +# [bibletime] Fix FTBFS on Mageia 2, error at linking with 'sword' +Patch2: bibletime-3.5.13-fix_sword_linking.patch + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +# Bibletime only works with clucene 0.9 ! Mageia 2 does not ship with that old version ! +%if 0%{?fedora} >= 16 || 0%{?suse_version} +BuildRequires: clucene09-core-devel +%else +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: clucene-devel < 1.0 +%else +BuildRequires: clucene-core-devel +%endif +%endif + +BuildRequires: sword-devel +Requires: sword + +%description +BibleTime is a free and easy to use bible study tool for UNIX systems. +It requires a working KDE environment and the SWORD library. +BibleTime provides easy handling of digitized texts (Bibles, commentaries +and lexicons) and powerful features to work with these texts (search in +texts, write own notes, save, print etc.). + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 +%patch0 -p0 -b .clucene +%patch2 -p1 -b .ftbfs + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +# Not SMP safe ! +%__make -C bibletime/frontend + +# SMP safe ! +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%__chmod 644 %{buildroot}%{tde_datadir}/apps/bibletime/pics/* +%__chmod 644 %{buildroot}%{tde_datadir}/apps/bibletime/bibletimeui.rc +%__chmod 644 %{buildroot}%{tde_datadir}/apps/bibletime/tips + + + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +/sbin/ldconfig || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +/sbin/ldconfig || : + + +%files +%defattr(-,root,root,-) +%{tde_bindir}/bibletime +%{tde_tdeincludedir}/bibletimeinterface.h +%{tde_datadir}/applications/bibletime.desktop +%{tde_datadir}/apps/bibletime/ +%{tde_datadir}/icons/hicolor/*/*/*.png +%{tde_tdedocdir}/HTML/en/bibletime/ + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 1.6.6.0-3 +- Initial build for TDE 3.5.13.1 + +* Tue May 01 2012 Francois Andriot - 1.6.6.0-2 +- Fix compilation on RHEL 5 +- Fix compilation with GCC 4.7 + +* Tue Nov 29 2011 Francois Andriot - 1.6.6.0-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/bibletime/bibletime-3.5.13.2.spec b/redhat/applications/bibletime/bibletime-3.5.13.2.spec new file mode 100644 index 000000000..11885837c --- /dev/null +++ b/redhat/applications/bibletime/bibletime-3.5.13.2.spec @@ -0,0 +1,157 @@ +# Default version for this component +%define kdecomp bibletime + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: A bible study tool for Trinity +Version: 1.6.6.0 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: trinity-arts-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +# Requires: clucene +%if 0%{?fedora} || 0%{?suse_version} +BuildRequires: clucene-core-devel +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}clucene-devel +%endif + +# Requires: sword +BuildRequires: sword-devel +Requires: sword + +%description +BibleTime is a free and easy to use bible study tool for UNIX systems. +It requires a working KDE environment and the SWORD library. +BibleTime provides easy handling of digitized texts (Bibles, commentaries +and lexicons) and powerful features to work with these texts (search in +texts, write own notes, save, print etc.). + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +# Not SMP safe ! +%__make -C bibletime/frontend + +# SMP safe ! +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%__chmod 644 %{buildroot}%{tde_datadir}/apps/bibletime/pics/* +%__chmod 644 %{buildroot}%{tde_datadir}/apps/bibletime/bibletimeui.rc +%__chmod 644 %{buildroot}%{tde_datadir}/apps/bibletime/tips + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +/sbin/ldconfig || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +/sbin/ldconfig || : + + +%files +%defattr(-,root,root,-) +%{tde_bindir}/bibletime +%{tde_tdeincludedir}/bibletimeinterface.h +%{tde_datadir}/applications/bibletime.desktop +%{tde_datadir}/apps/bibletime/ +%{tde_datadir}/icons/hicolor/*/*/*.png +%{tde_tdedocdir}/HTML/en/bibletime/ + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 1.6.6.0-4 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 1.6.6.0-3 +- Initial build for TDE 3.5.13.1 + +* Tue May 01 2012 Francois Andriot - 1.6.6.0-2 +- Fix compilation on RHEL 5 +- Fix compilation with GCC 4.7 + +* Tue Nov 29 2011 Francois Andriot - 1.6.6.0-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/bibletime/bibletime-3.5.13.spec b/redhat/applications/bibletime/bibletime-3.5.13.spec new file mode 100644 index 000000000..d88da085b --- /dev/null +++ b/redhat/applications/bibletime/bibletime-3.5.13.spec @@ -0,0 +1,159 @@ +# Default version for this component +%define kdecomp bibletime + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: A bible study tool for Trinity +Version: 1.6.6.0 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +# Fix detection of older versions of clucene in Fedora >= 16 +Patch0: bibletime-3.5.13-clucene_detection.patch +# [bibletime] Fix compilation with GCC 4.7 +Patch1: bibletime-3.5.13-fix_gcc47_compilation.patch +# [bibletime] Fix FTBFS on Mageia 2, error at linking with 'sword' +Patch2: bibletime-3.5.13-fix_sword_linking.patch + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: trinity-kdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + +# Bibletime only works with clucene 0.9 ! Mageia 2 does not ship with that old version ! +%if 0%{?fedora} >= 16 +BuildRequires: clucene09-core-devel +%else +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: clucene-devel +%else +BuildRequires: clucene-core-devel +%endif +%endif + +BuildRequires: sword-devel +Requires: sword + +%description +BibleTime is a free and easy to use bible study tool for UNIX systems. +It requires a working KDE environment and the SWORD library. +BibleTime provides easy handling of digitized texts (Bibles, commentaries +and lexicons) and powerful features to work with these texts (search in +texts, write own notes, save, print etc.). + + +%prep +%setup -q -n applications/%{kdecomp} +%patch0 -p0 +%patch1 -p1 -b .gcc47 +%patch2 -p1 -b .ftbfs + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +# Not SMP safe ! +%__make -C bibletime/frontend + +# SMP safe ! +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%__chmod 644 %{buildroot}%{tde_datadir}/apps/bibletime/pics/* +%__chmod 644 %{buildroot}%{tde_datadir}/apps/bibletime/bibletimeui.rc +%__chmod 644 %{buildroot}%{tde_datadir}/apps/bibletime/tips + + + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +/sbin/ldconfig || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +/sbin/ldconfig || : + + +%files +%defattr(-,root,root,-) +%{tde_bindir}/bibletime +%{tde_tdeincludedir}/bibletimeinterface.h +%{tde_datadir}/applications/bibletime.desktop +%{tde_datadir}/apps/bibletime/ +%{tde_datadir}/icons/hicolor/*/*/*.png +%{tde_tdedocdir}/HTML/en/bibletime/ + + +%Changelog +* Tue May 01 2012 Francois Andriot - 1.6.6.0-2 +- Fix compilation on RHEL 5 +- Fix compilation with GCC 4.7 + +* Tue Nov 29 2011 Francois Andriot - 1.6.6.0-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/bibletime/trinity-bibletime-3.5.13.1.spec b/redhat/applications/bibletime/trinity-bibletime-3.5.13.1.spec deleted file mode 100644 index 69683bfae..000000000 --- a/redhat/applications/bibletime/trinity-bibletime-3.5.13.1.spec +++ /dev/null @@ -1,164 +0,0 @@ -# Default version for this component -%define kdecomp bibletime - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: A bible study tool for Trinity -Version: 1.6.6.0 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -# Fix detection of older versions of clucene in Fedora >= 16 -Patch0: bibletime-3.5.13-clucene_detection.patch -# [bibletime] Fix FTBFS on Mageia 2, error at linking with 'sword' -Patch2: bibletime-3.5.13-fix_sword_linking.patch - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -# Bibletime only works with clucene 0.9 ! Mageia 2 does not ship with that old version ! -%if 0%{?fedora} >= 16 || 0%{?suse_version} -BuildRequires: clucene09-core-devel -%else -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: clucene-devel < 1.0 -%else -BuildRequires: clucene-core-devel -%endif -%endif - -BuildRequires: sword-devel -Requires: sword - -%description -BibleTime is a free and easy to use bible study tool for UNIX systems. -It requires a working KDE environment and the SWORD library. -BibleTime provides easy handling of digitized texts (Bibles, commentaries -and lexicons) and powerful features to work with these texts (search in -texts, write own notes, save, print etc.). - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 -%patch0 -p0 -b .clucene -%patch2 -p1 -b .ftbfs - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -# Not SMP safe ! -%__make -C bibletime/frontend - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%__chmod 644 %{buildroot}%{tde_datadir}/apps/bibletime/pics/* -%__chmod 644 %{buildroot}%{tde_datadir}/apps/bibletime/bibletimeui.rc -%__chmod 644 %{buildroot}%{tde_datadir}/apps/bibletime/tips - - - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig || : - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/bibletime -%{tde_tdeincludedir}/bibletimeinterface.h -%{tde_datadir}/applications/bibletime.desktop -%{tde_datadir}/apps/bibletime/ -%{tde_datadir}/icons/hicolor/*/*/*.png -%{tde_tdedocdir}/HTML/en/bibletime/ - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 1.6.6.0-3 -- Initial build for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 1.6.6.0-2 -- Fix compilation on RHEL 5 -- Fix compilation with GCC 4.7 - -* Tue Nov 29 2011 Francois Andriot - 1.6.6.0-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/bibletime/trinity-bibletime-3.5.13.2.spec b/redhat/applications/bibletime/trinity-bibletime-3.5.13.2.spec deleted file mode 100644 index 11885837c..000000000 --- a/redhat/applications/bibletime/trinity-bibletime-3.5.13.2.spec +++ /dev/null @@ -1,157 +0,0 @@ -# Default version for this component -%define kdecomp bibletime - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: A bible study tool for Trinity -Version: 1.6.6.0 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: trinity-arts-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -# Requires: clucene -%if 0%{?fedora} || 0%{?suse_version} -BuildRequires: clucene-core-devel -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}clucene-devel -%endif - -# Requires: sword -BuildRequires: sword-devel -Requires: sword - -%description -BibleTime is a free and easy to use bible study tool for UNIX systems. -It requires a working KDE environment and the SWORD library. -BibleTime provides easy handling of digitized texts (Bibles, commentaries -and lexicons) and powerful features to work with these texts (search in -texts, write own notes, save, print etc.). - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -# Not SMP safe ! -%__make -C bibletime/frontend - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%__chmod 644 %{buildroot}%{tde_datadir}/apps/bibletime/pics/* -%__chmod 644 %{buildroot}%{tde_datadir}/apps/bibletime/bibletimeui.rc -%__chmod 644 %{buildroot}%{tde_datadir}/apps/bibletime/tips - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig || : - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/bibletime -%{tde_tdeincludedir}/bibletimeinterface.h -%{tde_datadir}/applications/bibletime.desktop -%{tde_datadir}/apps/bibletime/ -%{tde_datadir}/icons/hicolor/*/*/*.png -%{tde_tdedocdir}/HTML/en/bibletime/ - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 1.6.6.0-4 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 1.6.6.0-3 -- Initial build for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 1.6.6.0-2 -- Fix compilation on RHEL 5 -- Fix compilation with GCC 4.7 - -* Tue Nov 29 2011 Francois Andriot - 1.6.6.0-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/bibletime/trinity-bibletime-3.5.13.spec b/redhat/applications/bibletime/trinity-bibletime-3.5.13.spec deleted file mode 100644 index d88da085b..000000000 --- a/redhat/applications/bibletime/trinity-bibletime-3.5.13.spec +++ /dev/null @@ -1,159 +0,0 @@ -# Default version for this component -%define kdecomp bibletime - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: A bible study tool for Trinity -Version: 1.6.6.0 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# Fix detection of older versions of clucene in Fedora >= 16 -Patch0: bibletime-3.5.13-clucene_detection.patch -# [bibletime] Fix compilation with GCC 4.7 -Patch1: bibletime-3.5.13-fix_gcc47_compilation.patch -# [bibletime] Fix FTBFS on Mageia 2, error at linking with 'sword' -Patch2: bibletime-3.5.13-fix_sword_linking.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: trinity-kdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - -# Bibletime only works with clucene 0.9 ! Mageia 2 does not ship with that old version ! -%if 0%{?fedora} >= 16 -BuildRequires: clucene09-core-devel -%else -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: clucene-devel -%else -BuildRequires: clucene-core-devel -%endif -%endif - -BuildRequires: sword-devel -Requires: sword - -%description -BibleTime is a free and easy to use bible study tool for UNIX systems. -It requires a working KDE environment and the SWORD library. -BibleTime provides easy handling of digitized texts (Bibles, commentaries -and lexicons) and powerful features to work with these texts (search in -texts, write own notes, save, print etc.). - - -%prep -%setup -q -n applications/%{kdecomp} -%patch0 -p0 -%patch1 -p1 -b .gcc47 -%patch2 -p1 -b .ftbfs - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -# Not SMP safe ! -%__make -C bibletime/frontend - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%__chmod 644 %{buildroot}%{tde_datadir}/apps/bibletime/pics/* -%__chmod 644 %{buildroot}%{tde_datadir}/apps/bibletime/bibletimeui.rc -%__chmod 644 %{buildroot}%{tde_datadir}/apps/bibletime/tips - - - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig || : - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/bibletime -%{tde_tdeincludedir}/bibletimeinterface.h -%{tde_datadir}/applications/bibletime.desktop -%{tde_datadir}/apps/bibletime/ -%{tde_datadir}/icons/hicolor/*/*/*.png -%{tde_tdedocdir}/HTML/en/bibletime/ - - -%Changelog -* Tue May 01 2012 Francois Andriot - 1.6.6.0-2 -- Fix compilation on RHEL 5 -- Fix compilation with GCC 4.7 - -* Tue Nov 29 2011 Francois Andriot - 1.6.6.0-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/compizconfig-backend-kconfig/compizconfig-backend-kconfig-3.5.12.spec b/redhat/applications/compizconfig-backend-kconfig/compizconfig-backend-kconfig-3.5.12.spec new file mode 100644 index 000000000..c21e3fa98 --- /dev/null +++ b/redhat/applications/compizconfig-backend-kconfig/compizconfig-backend-kconfig-3.5.12.spec @@ -0,0 +1,90 @@ +# Default version for this component +%if "%{?version}" == "" +%define kdecomp compizconfig-backend-kconfig +%define version 3.5.12 +%endif +%define release 1 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{tde_prefix}/share/doc +%endif + +# TDE 3.5.12 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir} +%define tde_libdir %{tde_libdir}/kde3 + + +Name: trinity-%{?kdecomp} +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} +Vendor: Trinity Project +Packager: Francois Andriot +Summary: kconfig backend for compizconfig + +Group: System Environment/Libraries +License: GPLv2+ +URL: http://www.opencompositing.org + +Prefix: %{tde_prefix} + +Source0: %{kdecomp}-%{version}.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils + +BuildRequires: libcompizconfig-devel intltool +Requires: compiz + + +%description +The Compiz Fusion Project brings 3D desktop visual effects that improve +usability of the X Window System and provide increased productivity +through plugins and themes contributed by the community giving a +rich desktop experience. + +This package contains the kconfig backend for libcompizconfig + +%prep +%setup -q -n applications/%{kdecomp} + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f admin/Makefile.common + + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{?buildroot} +%make_install + + +%clean +%__rm -rf %{?buildroot} + + +%files +%defattr(-,root,root,-) +%doc COPYING.GPL COPYING.LGPL +%{_usr}/%{_lib}/compizconfig/backends/*.so +%exclude %{_usr}/%{_lib}/compizconfig/backends/*.la + +%changelog +* Tue Sep 06 2011 Francois Andriot - 3.5.12-1 +- Initial package +- Import to GIT diff --git a/redhat/applications/compizconfig-backend-kconfig/trinity-compizconfig-backend-kconfig-3.5.12.spec b/redhat/applications/compizconfig-backend-kconfig/trinity-compizconfig-backend-kconfig-3.5.12.spec deleted file mode 100644 index c21e3fa98..000000000 --- a/redhat/applications/compizconfig-backend-kconfig/trinity-compizconfig-backend-kconfig-3.5.12.spec +++ /dev/null @@ -1,90 +0,0 @@ -# Default version for this component -%if "%{?version}" == "" -%define kdecomp compizconfig-backend-kconfig -%define version 3.5.12 -%endif -%define release 1 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{tde_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_libdir %{tde_libdir}/kde3 - - -Name: trinity-%{?kdecomp} -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} -Vendor: Trinity Project -Packager: Francois Andriot -Summary: kconfig backend for compizconfig - -Group: System Environment/Libraries -License: GPLv2+ -URL: http://www.opencompositing.org - -Prefix: %{tde_prefix} - -Source0: %{kdecomp}-%{version}.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils - -BuildRequires: libcompizconfig-devel intltool -Requires: compiz - - -%description -The Compiz Fusion Project brings 3D desktop visual effects that improve -usability of the X Window System and provide increased productivity -through plugins and themes contributed by the community giving a -rich desktop experience. - -This package contains the kconfig backend for libcompizconfig - -%prep -%setup -q -n applications/%{kdecomp} - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f admin/Makefile.common - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{?buildroot} -%make_install - - -%clean -%__rm -rf %{?buildroot} - - -%files -%defattr(-,root,root,-) -%doc COPYING.GPL COPYING.LGPL -%{_usr}/%{_lib}/compizconfig/backends/*.so -%exclude %{_usr}/%{_lib}/compizconfig/backends/*.la - -%changelog -* Tue Sep 06 2011 Francois Andriot - 3.5.12-1 -- Initial package -- Import to GIT diff --git a/redhat/applications/digikam/digikam-3.5.13.1.spec b/redhat/applications/digikam/digikam-3.5.13.1.spec new file mode 100644 index 000000000..b853f6c16 --- /dev/null +++ b/redhat/applications/digikam/digikam-3.5.13.1.spec @@ -0,0 +1,341 @@ +# Default version for this component +%define kdecomp digikam + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: digital photo management application for KDE [Trinity] +Version: 0.9.6 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +# [digikam] Fix FTBFS on png >= 0.15 [Commit #18ecd512] +Patch9: digikam-3.5.13-fix_ftbfs_png_015.patch + + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-arts-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: trinity-libkexiv2-devel >= 3.5.13.1 +BuildRequires: trinity-libkdcraw-devel >= 3.5.13.1 +BuildRequires: trinity-libkipi-devel >= 3.5.13.1 +%if 0%{?rhel} == 5 || 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: gphoto2-devel +%else +BuildRequires: libgphoto2-devel +%endif +BuildRequires: libtiff-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + +# JASPER support +%if 0%{?suse_version} +BuildRequires: libjasper-devel +%else +BuildRequires: jasper-devel +%endif + +# EXIV2 support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}exiv2-devel +%endif +%if 0%{?suse_version} +BuildRequires: libexiv2-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: exiv2-devel +%endif + +Requires: trinity-libkexiv2 >= 3.5.13.1 +Requires: trinity-libkdcraw >= 3.5.13.1 +Requires: trinity-libkipi >= 3.5.13.1 + +%description +An easy to use and powerful digital photo management +application, which makes importing, organizing and manipulating +digital photos a "snap". An interface is provided to connect to +your digital camera, preview the images and download and/or +delete them. + +The digiKam built-in image editor makes the common photo correction +a simple task. The image editor is extensible via plugins and, +the digikamimageplugins project has been merged to digiKam core +since release 0.9.2, all useful image editor plugins are available +in the base installation. + +digiKam can also make use of the KIPI image handling plugins to +extend its capabilities even further for photo manipulations, +import and export, etc. The kipi-plugins package contains many +very useful extentions. + +digiKam is based in part on the work of the Independent JPEG Group. + + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{version} + +%description devel +%{summary} + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 +%patch9 -p1 -b .png015 + + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; source /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_tdeincludedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_tdeincludedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%find_lang %{kdecomp} + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +/sbin/ldconfig +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +/sbin/ldconfig +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/digikam +%{tde_bindir}/digikamthemedesigner +%{tde_bindir}/digitaglinktree +%{tde_bindir}/showfoto +%{tde_libdir}/libdigikam.so.0 +%{tde_libdir}/libdigikam.so.0.0.0 +%{tde_tdelibdir}/kio_digikamalbums.la +%{tde_tdelibdir}/kio_digikamalbums.so +%{tde_tdelibdir}/kio_digikamdates.la +%{tde_tdelibdir}/kio_digikamdates.so +%{tde_tdelibdir}/digikamimageplugin_adjustcurves.la +%{tde_tdelibdir}/digikamimageplugin_adjustcurves.so +%{tde_tdelibdir}/digikamimageplugin_adjustlevels.la +%{tde_tdelibdir}/digikamimageplugin_adjustlevels.so +%{tde_tdelibdir}/digikamimageplugin_antivignetting.la +%{tde_tdelibdir}/digikamimageplugin_antivignetting.so +%{tde_tdelibdir}/digikamimageplugin_blurfx.la +%{tde_tdelibdir}/digikamimageplugin_blurfx.so +%{tde_tdelibdir}/digikamimageplugin_border.la +%{tde_tdelibdir}/digikamimageplugin_border.so +%{tde_tdelibdir}/digikamimageplugin_channelmixer.la +%{tde_tdelibdir}/digikamimageplugin_channelmixer.so +%{tde_tdelibdir}/digikamimageplugin_charcoal.la +%{tde_tdelibdir}/digikamimageplugin_charcoal.so +%{tde_tdelibdir}/digikamimageplugin_colorfx.la +%{tde_tdelibdir}/digikamimageplugin_colorfx.so +%{tde_tdelibdir}/digikamimageplugin_core.la +%{tde_tdelibdir}/digikamimageplugin_core.so +%{tde_tdelibdir}/digikamimageplugin_distortionfx.la +%{tde_tdelibdir}/digikamimageplugin_distortionfx.so +%{tde_tdelibdir}/digikamimageplugin_emboss.la +%{tde_tdelibdir}/digikamimageplugin_emboss.so +%{tde_tdelibdir}/digikamimageplugin_filmgrain.la +%{tde_tdelibdir}/digikamimageplugin_filmgrain.so +%{tde_tdelibdir}/digikamimageplugin_freerotation.la +%{tde_tdelibdir}/digikamimageplugin_freerotation.so +%{tde_tdelibdir}/digikamimageplugin_hotpixels.la +%{tde_tdelibdir}/digikamimageplugin_hotpixels.so +%{tde_tdelibdir}/digikamimageplugin_infrared.la +%{tde_tdelibdir}/digikamimageplugin_infrared.so +%{tde_tdelibdir}/digikamimageplugin_inpainting.la +%{tde_tdelibdir}/digikamimageplugin_inpainting.so +%{tde_tdelibdir}/digikamimageplugin_inserttext.la +%{tde_tdelibdir}/digikamimageplugin_inserttext.so +%{tde_tdelibdir}/digikamimageplugin_lensdistortion.la +%{tde_tdelibdir}/digikamimageplugin_lensdistortion.so +%{tde_tdelibdir}/digikamimageplugin_noisereduction.la +%{tde_tdelibdir}/digikamimageplugin_noisereduction.so +%{tde_tdelibdir}/digikamimageplugin_oilpaint.la +%{tde_tdelibdir}/digikamimageplugin_oilpaint.so +%{tde_tdelibdir}/digikamimageplugin_perspective.la +%{tde_tdelibdir}/digikamimageplugin_perspective.so +%{tde_tdelibdir}/digikamimageplugin_raindrop.la +%{tde_tdelibdir}/digikamimageplugin_raindrop.so +%{tde_tdelibdir}/digikamimageplugin_restoration.la +%{tde_tdelibdir}/digikamimageplugin_restoration.so +%{tde_tdelibdir}/digikamimageplugin_sheartool.la +%{tde_tdelibdir}/digikamimageplugin_sheartool.so +%{tde_tdelibdir}/digikamimageplugin_superimpose.la +%{tde_tdelibdir}/digikamimageplugin_superimpose.so +%{tde_tdelibdir}/digikamimageplugin_texture.la +%{tde_tdelibdir}/digikamimageplugin_texture.so +%{tde_tdelibdir}/digikamimageplugin_whitebalance.la +%{tde_tdelibdir}/digikamimageplugin_whitebalance.so +%{tde_tdelibdir}/kio_digikamsearch.la +%{tde_tdelibdir}/kio_digikamsearch.so +%{tde_tdelibdir}/kio_digikamtags.la +%{tde_tdelibdir}/kio_digikamtags.so +%{tde_tdelibdir}/kio_digikamthumbnail.la +%{tde_tdelibdir}/kio_digikamthumbnail.so +%{tde_tdeappdir}/digikam.desktop +%{tde_tdeappdir}/showfoto.desktop +%{tde_datadir}/apps/digikam/ +%{tde_datadir}/apps/konqueror/servicemenus/digikam-download.desktop +%{tde_datadir}/apps/konqueror/servicemenus/digikam-gphoto2-camera.desktop +%{tde_datadir}/apps/konqueror/servicemenus/digikam-mount-and-download.desktop +%{tde_datadir}/apps/showfoto/ +%{tde_datadir}/icons/hicolor/*/apps/digikam.png +%{tde_datadir}/icons/hicolor/*/apps/showfoto.png +%{tde_datadir}/services/digikamalbums.protocol +%{tde_datadir}/services/digikamdates.protocol +%{tde_datadir}/services/digikamimageplugin_adjustcurves.desktop +%{tde_datadir}/services/digikamimageplugin_adjustlevels.desktop +%{tde_datadir}/services/digikamimageplugin_antivignetting.desktop +%{tde_datadir}/services/digikamimageplugin_blurfx.desktop +%{tde_datadir}/services/digikamimageplugin_border.desktop +%{tde_datadir}/services/digikamimageplugin_channelmixer.desktop +%{tde_datadir}/services/digikamimageplugin_charcoal.desktop +%{tde_datadir}/services/digikamimageplugin_colorfx.desktop +%{tde_datadir}/services/digikamimageplugin_core.desktop +%{tde_datadir}/services/digikamimageplugin_distortionfx.desktop +%{tde_datadir}/services/digikamimageplugin_emboss.desktop +%{tde_datadir}/services/digikamimageplugin_filmgrain.desktop +%{tde_datadir}/services/digikamimageplugin_freerotation.desktop +%{tde_datadir}/services/digikamimageplugin_hotpixels.desktop +%{tde_datadir}/services/digikamimageplugin_infrared.desktop +%{tde_datadir}/services/digikamimageplugin_inpainting.desktop +%{tde_datadir}/services/digikamimageplugin_inserttext.desktop +%{tde_datadir}/services/digikamimageplugin_lensdistortion.desktop +%{tde_datadir}/services/digikamimageplugin_noisereduction.desktop +%{tde_datadir}/services/digikamimageplugin_oilpaint.desktop +%{tde_datadir}/services/digikamimageplugin_perspective.desktop +%{tde_datadir}/services/digikamimageplugin_raindrop.desktop +%{tde_datadir}/services/digikamimageplugin_restoration.desktop +%{tde_datadir}/services/digikamimageplugin_sheartool.desktop +%{tde_datadir}/services/digikamimageplugin_superimpose.desktop +%{tde_datadir}/services/digikamimageplugin_texture.desktop +%{tde_datadir}/services/digikamimageplugin_whitebalance.desktop +%{tde_datadir}/services/digikamsearch.protocol +%{tde_datadir}/services/digikamtags.protocol +%{tde_datadir}/services/digikamthumbnail.protocol +%{tde_datadir}/servicetypes/digikamimageplugin.desktop +%{tde_mandir}/man*/* +#%{tde_tdedocdir}/HTML/en/digikam-apidocs/ + + +%files devel +%{tde_tdeincludedir}/digikam_export.h +%{tde_tdeincludedir}/digikam/ +%{tde_libdir}/libdigikam.so +%{tde_libdir}/libdigikam.la + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.9.6-4 +- Initial build for TDE 3.5.13.1 + +* Fri Aug 03 2012 Francois Andriot - 0.9.6-3 +- Add support for Mageia 2 and Mandriva 2011 +- Removes old patches, adds GIT patches. +- Fix digikam FTBFS due to jpeg code [Commit #b9419cd5] +- Fix FTBFS due to png code [Bug #595] [Commit #3e27b07f] +- Remove version.h. Cruft from an older version prior to 0.9.6. +- Fix usage of obsolete libpng jmpbuf member [Commit #7d0d82b7] +- GCC 4.7 fix. [Bug #958] [Commit #a9489034] +- GCC 4.7 fix. [Bug #958] [Commit #a209c81b] +- Fix 'format not a string literal' error [Commit #029218cd] +- Update patch in GIT hash a9489034 to use reinterpret_cast. [Commit #5a043853] +- Fix FTBFS on png >= 0.15 [Commit #18ecd512] + +* Sun Jul 08 2012 Francois Andriot - 0.9.6-3 +- Fix man directory location +- Fix postinstall +- Fix description +- Add "BuildRequires: exiv2-devel" + +* Tue May 01 2012 Francois Andriot - 0.9.6-2 +- gcc 4.7 + libpng 1.5 patch for digikam (consolidated) [Bug #958] + +* Sun Nov 06 2011 Francois Andriot - 0.9.6-1 +- Initial release for RHEL 6, RHEL 5 and Fedora 15 + diff --git a/redhat/applications/digikam/digikam-3.5.13.2.spec b/redhat/applications/digikam/digikam-3.5.13.2.spec new file mode 100644 index 000000000..92e48cadb --- /dev/null +++ b/redhat/applications/digikam/digikam-3.5.13.2.spec @@ -0,0 +1,345 @@ +# Default version for this component +%define kdecomp digikam + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: digital photo management application for KDE [Trinity] +Version: 0.9.6 +Release: 5%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +# [Digikam] Revert PNG support to libpng12 (for RHEL4) +Patch1: digikam-3.5.13.2-fix_png12_support.patch + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-arts-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: trinity-libkexiv2-devel >= 3.5.13.2 +BuildRequires: trinity-libkdcraw-devel >= 3.5.13.2 +BuildRequires: trinity-libkipi-devel >= 3.5.13.2 +%if 0%{?rhel} == 4 || 0%{?rhel} == 5 || 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: gphoto2-devel +%else +BuildRequires: libgphoto2-devel +%endif +BuildRequires: libtiff-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + +# JASPER support +%if 0%{?suse_version} +BuildRequires: libjasper-devel +%else +BuildRequires: jasper-devel +%endif + +# EXIV2 support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}exiv2-devel +%endif +%if 0%{?suse_version} +BuildRequires: libexiv2-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: exiv2-devel +%endif + +Requires: trinity-libkexiv2 >= 3.5.13.1 +Requires: trinity-libkdcraw >= 3.5.13.1 +Requires: trinity-libkipi >= 3.5.13.1 + +%description +An easy to use and powerful digital photo management +application, which makes importing, organizing and manipulating +digital photos a "snap". An interface is provided to connect to +your digital camera, preview the images and download and/or +delete them. + +The digiKam built-in image editor makes the common photo correction +a simple task. The image editor is extensible via plugins and, +the digikamimageplugins project has been merged to digiKam core +since release 0.9.2, all useful image editor plugins are available +in the base installation. + +digiKam can also make use of the KIPI image handling plugins to +extend its capabilities even further for photo manipulations, +import and export, etc. The kipi-plugins package contains many +very useful extentions. + +digiKam is based in part on the work of the Independent JPEG Group. + + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{version} + +%description devel +%{summary} + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 +%if 0%{?rhel} == 4 +%patch1 -p1 -b .png12 +%endif + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; source /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_tdeincludedir}" +export KDEDIR="%{tde_prefix}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_tdeincludedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%find_lang %{kdecomp} + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +/sbin/ldconfig +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +/sbin/ldconfig +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/digikam +%{tde_bindir}/digikamthemedesigner +%{tde_bindir}/digitaglinktree +%{tde_bindir}/showfoto +%{tde_libdir}/libdigikam.so.0 +%{tde_libdir}/libdigikam.so.0.0.0 +%{tde_tdelibdir}/kio_digikamalbums.la +%{tde_tdelibdir}/kio_digikamalbums.so +%{tde_tdelibdir}/kio_digikamdates.la +%{tde_tdelibdir}/kio_digikamdates.so +%{tde_tdelibdir}/digikamimageplugin_adjustcurves.la +%{tde_tdelibdir}/digikamimageplugin_adjustcurves.so +%{tde_tdelibdir}/digikamimageplugin_adjustlevels.la +%{tde_tdelibdir}/digikamimageplugin_adjustlevels.so +%{tde_tdelibdir}/digikamimageplugin_antivignetting.la +%{tde_tdelibdir}/digikamimageplugin_antivignetting.so +%{tde_tdelibdir}/digikamimageplugin_blurfx.la +%{tde_tdelibdir}/digikamimageplugin_blurfx.so +%{tde_tdelibdir}/digikamimageplugin_border.la +%{tde_tdelibdir}/digikamimageplugin_border.so +%{tde_tdelibdir}/digikamimageplugin_channelmixer.la +%{tde_tdelibdir}/digikamimageplugin_channelmixer.so +%{tde_tdelibdir}/digikamimageplugin_charcoal.la +%{tde_tdelibdir}/digikamimageplugin_charcoal.so +%{tde_tdelibdir}/digikamimageplugin_colorfx.la +%{tde_tdelibdir}/digikamimageplugin_colorfx.so +%{tde_tdelibdir}/digikamimageplugin_core.la +%{tde_tdelibdir}/digikamimageplugin_core.so +%{tde_tdelibdir}/digikamimageplugin_distortionfx.la +%{tde_tdelibdir}/digikamimageplugin_distortionfx.so +%{tde_tdelibdir}/digikamimageplugin_emboss.la +%{tde_tdelibdir}/digikamimageplugin_emboss.so +%{tde_tdelibdir}/digikamimageplugin_filmgrain.la +%{tde_tdelibdir}/digikamimageplugin_filmgrain.so +%{tde_tdelibdir}/digikamimageplugin_freerotation.la +%{tde_tdelibdir}/digikamimageplugin_freerotation.so +%{tde_tdelibdir}/digikamimageplugin_hotpixels.la +%{tde_tdelibdir}/digikamimageplugin_hotpixels.so +%{tde_tdelibdir}/digikamimageplugin_infrared.la +%{tde_tdelibdir}/digikamimageplugin_infrared.so +%{tde_tdelibdir}/digikamimageplugin_inpainting.la +%{tde_tdelibdir}/digikamimageplugin_inpainting.so +%{tde_tdelibdir}/digikamimageplugin_inserttext.la +%{tde_tdelibdir}/digikamimageplugin_inserttext.so +%{tde_tdelibdir}/digikamimageplugin_lensdistortion.la +%{tde_tdelibdir}/digikamimageplugin_lensdistortion.so +%{tde_tdelibdir}/digikamimageplugin_noisereduction.la +%{tde_tdelibdir}/digikamimageplugin_noisereduction.so +%{tde_tdelibdir}/digikamimageplugin_oilpaint.la +%{tde_tdelibdir}/digikamimageplugin_oilpaint.so +%{tde_tdelibdir}/digikamimageplugin_perspective.la +%{tde_tdelibdir}/digikamimageplugin_perspective.so +%{tde_tdelibdir}/digikamimageplugin_raindrop.la +%{tde_tdelibdir}/digikamimageplugin_raindrop.so +%{tde_tdelibdir}/digikamimageplugin_restoration.la +%{tde_tdelibdir}/digikamimageplugin_restoration.so +%{tde_tdelibdir}/digikamimageplugin_sheartool.la +%{tde_tdelibdir}/digikamimageplugin_sheartool.so +%{tde_tdelibdir}/digikamimageplugin_superimpose.la +%{tde_tdelibdir}/digikamimageplugin_superimpose.so +%{tde_tdelibdir}/digikamimageplugin_texture.la +%{tde_tdelibdir}/digikamimageplugin_texture.so +%{tde_tdelibdir}/digikamimageplugin_whitebalance.la +%{tde_tdelibdir}/digikamimageplugin_whitebalance.so +%{tde_tdelibdir}/kio_digikamsearch.la +%{tde_tdelibdir}/kio_digikamsearch.so +%{tde_tdelibdir}/kio_digikamtags.la +%{tde_tdelibdir}/kio_digikamtags.so +%{tde_tdelibdir}/kio_digikamthumbnail.la +%{tde_tdelibdir}/kio_digikamthumbnail.so +%{tde_tdeappdir}/digikam.desktop +%{tde_tdeappdir}/showfoto.desktop +%{tde_datadir}/apps/digikam/ +%{tde_datadir}/apps/konqueror/servicemenus/digikam-download.desktop +%{tde_datadir}/apps/konqueror/servicemenus/digikam-gphoto2-camera.desktop +%{tde_datadir}/apps/konqueror/servicemenus/digikam-mount-and-download.desktop +%{tde_datadir}/apps/showfoto/ +%{tde_datadir}/icons/hicolor/*/apps/digikam.png +%{tde_datadir}/icons/hicolor/*/apps/showfoto.png +%{tde_datadir}/services/digikamalbums.protocol +%{tde_datadir}/services/digikamdates.protocol +%{tde_datadir}/services/digikamimageplugin_adjustcurves.desktop +%{tde_datadir}/services/digikamimageplugin_adjustlevels.desktop +%{tde_datadir}/services/digikamimageplugin_antivignetting.desktop +%{tde_datadir}/services/digikamimageplugin_blurfx.desktop +%{tde_datadir}/services/digikamimageplugin_border.desktop +%{tde_datadir}/services/digikamimageplugin_channelmixer.desktop +%{tde_datadir}/services/digikamimageplugin_charcoal.desktop +%{tde_datadir}/services/digikamimageplugin_colorfx.desktop +%{tde_datadir}/services/digikamimageplugin_core.desktop +%{tde_datadir}/services/digikamimageplugin_distortionfx.desktop +%{tde_datadir}/services/digikamimageplugin_emboss.desktop +%{tde_datadir}/services/digikamimageplugin_filmgrain.desktop +%{tde_datadir}/services/digikamimageplugin_freerotation.desktop +%{tde_datadir}/services/digikamimageplugin_hotpixels.desktop +%{tde_datadir}/services/digikamimageplugin_infrared.desktop +%{tde_datadir}/services/digikamimageplugin_inpainting.desktop +%{tde_datadir}/services/digikamimageplugin_inserttext.desktop +%{tde_datadir}/services/digikamimageplugin_lensdistortion.desktop +%{tde_datadir}/services/digikamimageplugin_noisereduction.desktop +%{tde_datadir}/services/digikamimageplugin_oilpaint.desktop +%{tde_datadir}/services/digikamimageplugin_perspective.desktop +%{tde_datadir}/services/digikamimageplugin_raindrop.desktop +%{tde_datadir}/services/digikamimageplugin_restoration.desktop +%{tde_datadir}/services/digikamimageplugin_sheartool.desktop +%{tde_datadir}/services/digikamimageplugin_superimpose.desktop +%{tde_datadir}/services/digikamimageplugin_texture.desktop +%{tde_datadir}/services/digikamimageplugin_whitebalance.desktop +%{tde_datadir}/services/digikamsearch.protocol +%{tde_datadir}/services/digikamtags.protocol +%{tde_datadir}/services/digikamthumbnail.protocol +%{tde_datadir}/servicetypes/digikamimageplugin.desktop +%{tde_mandir}/man*/* +#%{tde_tdedocdir}/HTML/en/digikam-apidocs/ + + +%files devel +%{tde_tdeincludedir}/digikam_export.h +%{tde_tdeincludedir}/digikam/ +%{tde_libdir}/libdigikam.so +%{tde_libdir}/libdigikam.la + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 0.9.6-5 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.9.6-4 +- Initial build for TDE 3.5.13.1 + +* Fri Aug 03 2012 Francois Andriot - 0.9.6-3 +- Add support for Mageia 2 and Mandriva 2011 +- Removes old patches, adds GIT patches. +- Fix digikam FTBFS due to jpeg code [Commit #b9419cd5] +- Fix FTBFS due to png code [Bug #595] [Commit #3e27b07f] +- Remove version.h. Cruft from an older version prior to 0.9.6. +- Fix usage of obsolete libpng jmpbuf member [Commit #7d0d82b7] +- GCC 4.7 fix. [Bug #958] [Commit #a9489034] +- GCC 4.7 fix. [Bug #958] [Commit #a209c81b] +- Fix 'format not a string literal' error [Commit #029218cd] +- Update patch in GIT hash a9489034 to use reinterpret_cast. [Commit #5a043853] +- Fix FTBFS on png >= 0.15 [Commit #18ecd512] + +* Sun Jul 08 2012 Francois Andriot - 0.9.6-3 +- Fix man directory location +- Fix postinstall +- Fix description +- Add "BuildRequires: exiv2-devel" + +* Tue May 01 2012 Francois Andriot - 0.9.6-2 +- gcc 4.7 + libpng 1.5 patch for digikam (consolidated) [Bug #958] + +* Sun Nov 06 2011 Francois Andriot - 0.9.6-1 +- Initial release for RHEL 6, RHEL 5 and Fedora 15 + diff --git a/redhat/applications/digikam/digikam-3.5.13.spec b/redhat/applications/digikam/digikam-3.5.13.spec new file mode 100644 index 000000000..f1ff6d1ab --- /dev/null +++ b/redhat/applications/digikam/digikam-3.5.13.spec @@ -0,0 +1,297 @@ +# Default version for this component +%define kdecomp digikam + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: digital photo management application for KDE [Trinity] +Version: 0.9.6 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +# [digikam] Fix digikam FTBFS due to jpeg code [Commit #b9419cd5] +Patch1: digikam-3.5.13-fix_ftbfs_jpeg_code.patch +# [digikam] Fix FTBFS due to png code [Bug #595] [Commit #3e27b07f] +Patch2: digikam-3.5.13-fix_ftbfs_png_code.patch +# [digikam] Remove version.h. Cruft from an older version prior to 0.9.6. +# Part of an extensive cleanup of various problems with kipi-plugins, digikam, +# and gwenview to resolve bug reports 241, 962, 963. +Patch3: digikam-3.5.13-remove_version_h.patch +# [digikam] Fix usage of obsolete libpng jmpbuf member [Commit #7d0d82b7] +Patch4: digikam-3.5.13-fix_obsolete_libpng_jmpbuf.patch +# [digikam] GCC 4.7 fix. [Bug #958] [Commit #a9489034] +Patch5: digikam-3.5.13-gcc_47_fix.patch +# [digikam] GCC 4.7 fix. [Bug #958] [Commit #a209c81b] +Patch6: digikam-3.5.13-gcc_47_fix2.patch +# [digikam] Fix 'format not a string literal' error [Commit #029218cd] +Patch7: digikam-3.5.13-fix_fomat_not_string_literal.patch +# [digikam] Update patch in GIT hash a9489034 to use reinterpret_cast. [Commit #5a043853] +Patch8: digikam-3.5.13-fix_reinterpret_cast.patch +# [digikam] Fix FTBFS on png >= 0.15 [Commit #18ecd512] +Patch9: digikam-3.5.13-fix_ftbfs_png_015.patch +# [digikam] Missing LDFLAGS cause FTBFS on Mageia 2 / Mandriva 2011 +Patch10: digikam-3.5.13-missing_ldflags.patch + + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-arts-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: trinity-kdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext +BuildRequires: trinity-libkexiv2-devel +BuildRequires: trinity-libkdcraw-devel +BuildRequires: trinity-libkipi-devel +%if 0%{?rhel} == 5 || 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: gphoto2-devel +%else +BuildRequires: libgphoto2-devel +%endif +BuildRequires: libtiff-devel +BuildRequires: jasper-devel + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}exiv2-devel +%else +BuildRequires: exiv2-devel +%endif + +Requires: trinity-libkexiv2 +Requires: trinity-libkdcraw +Requires: trinity-libkipi + +%description +An easy to use and powerful digital photo management +application, which makes importing, organizing and manipulating +digital photos a "snap". An interface is provided to connect to +your digital camera, preview the images and download and/or +delete them. + +The digiKam built-in image editor makes the common photo correction +a simple task. The image editor is extensible via plugins and, +the digikamimageplugins project has been merged to digiKam core +since release 0.9.2, all useful image editor plugins are available +in the base installation. + +digiKam can also make use of the KIPI image handling plugins to +extend its capabilities even further for photo manipulations, +import and export, etc. The kipi-plugins package contains many +very useful extentions. + +digiKam is based in part on the work of the Independent JPEG Group. + + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{version} + +%description devel +%{summary} + + +%prep +%setup -q -n applications/%{kdecomp} +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 -E +%patch4 -p1 +%patch5 -p1 -b .gcc47 +%patch6 -p1 -b .gcc47 +%patch7 -p1 -b .ftbfs +%patch8 -p1 +%patch9 -p1 -b .png015 +%patch10 -p1 -b .ftbfs + + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; source /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_tdeincludedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_tdeincludedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%find_lang %{kdecomp} + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +/sbin/ldconfig +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +/sbin/ldconfig +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/digikam +%{tde_bindir}/digikamthemedesigner +%{tde_bindir}/digitaglinktree +%{tde_bindir}/showfoto +%{tde_libdir}/libdigikam.so.0 +%{tde_libdir}/libdigikam.so.0.0.0 +%{tde_tdelibdir}/kio_digikamalbums.la +%{tde_tdelibdir}/kio_digikamalbums.so +%{tde_tdelibdir}/kio_digikamdates.la +%{tde_tdelibdir}/kio_digikamdates.so +%{tde_tdelibdir}/kio_digikamsearch.la +%{tde_tdelibdir}/kio_digikamsearch.so +%{tde_tdelibdir}/kio_digikamtags.la +%{tde_tdelibdir}/kio_digikamtags.so +%{tde_tdelibdir}/kio_digikamthumbnail.la +%{tde_tdelibdir}/kio_digikamthumbnail.so +%{tde_tdeappdir}/digikam.desktop +%{tde_tdeappdir}/showfoto.desktop +%{tde_datadir}/apps/digikam/ +%{tde_datadir}/apps/konqueror/servicemenus/digikam-download.desktop +%{tde_datadir}/apps/konqueror/servicemenus/digikam-gphoto2-camera.desktop +%{tde_datadir}/apps/konqueror/servicemenus/digikam-mount-and-download.desktop +%{tde_datadir}/apps/showfoto/ +%{tde_datadir}/icons/hicolor/*/apps/digikam.png +%{tde_datadir}/icons/hicolor/*/apps/showfoto.png +%{tde_datadir}/services/digikamalbums.protocol +%{tde_datadir}/services/digikamdates.protocol +%{tde_datadir}/services/digikamimageplugin_adjustcurves.desktop +%{tde_datadir}/services/digikamimageplugin_adjustlevels.desktop +%{tde_datadir}/services/digikamimageplugin_antivignetting.desktop +%{tde_datadir}/services/digikamimageplugin_blurfx.desktop +%{tde_datadir}/services/digikamimageplugin_border.desktop +%{tde_datadir}/services/digikamimageplugin_channelmixer.desktop +%{tde_datadir}/services/digikamimageplugin_charcoal.desktop +%{tde_datadir}/services/digikamimageplugin_colorfx.desktop +%{tde_datadir}/services/digikamimageplugin_core.desktop +%{tde_datadir}/services/digikamimageplugin_distortionfx.desktop +%{tde_datadir}/services/digikamimageplugin_emboss.desktop +%{tde_datadir}/services/digikamimageplugin_filmgrain.desktop +%{tde_datadir}/services/digikamimageplugin_freerotation.desktop +%{tde_datadir}/services/digikamimageplugin_hotpixels.desktop +%{tde_datadir}/services/digikamimageplugin_infrared.desktop +%{tde_datadir}/services/digikamimageplugin_inpainting.desktop +%{tde_datadir}/services/digikamimageplugin_inserttext.desktop +%{tde_datadir}/services/digikamimageplugin_lensdistortion.desktop +%{tde_datadir}/services/digikamimageplugin_noisereduction.desktop +%{tde_datadir}/services/digikamimageplugin_oilpaint.desktop +%{tde_datadir}/services/digikamimageplugin_perspective.desktop +%{tde_datadir}/services/digikamimageplugin_raindrop.desktop +%{tde_datadir}/services/digikamimageplugin_restoration.desktop +%{tde_datadir}/services/digikamimageplugin_sheartool.desktop +%{tde_datadir}/services/digikamimageplugin_superimpose.desktop +%{tde_datadir}/services/digikamimageplugin_texture.desktop +%{tde_datadir}/services/digikamimageplugin_whitebalance.desktop +%{tde_datadir}/services/digikamsearch.protocol +%{tde_datadir}/services/digikamtags.protocol +%{tde_datadir}/services/digikamthumbnail.protocol +%{tde_datadir}/servicetypes/digikamimageplugin.desktop +%{tde_mandir}/man*/* +%{tde_tdedocdir}/HTML/en/digikam-apidocs/ + + +%files devel +%{tde_tdeincludedir}/digikam_export.h +%{tde_tdeincludedir}/digikam/ +%{tde_libdir}/libdigikam.so +%{tde_libdir}/libdigikam.la + + +%Changelog +* Fri Aug 03 2012 Francois Andriot - 0.9.6-3 +- Add support for Mageia 2 and Mandriva 2011 +- Removes old patches, adds GIT patches. +- Fix digikam FTBFS due to jpeg code [Commit #b9419cd5] +- Fix FTBFS due to png code [Bug #595] [Commit #3e27b07f] +- Remove version.h. Cruft from an older version prior to 0.9.6. +- Fix usage of obsolete libpng jmpbuf member [Commit #7d0d82b7] +- GCC 4.7 fix. [Bug #958] [Commit #a9489034] +- GCC 4.7 fix. [Bug #958] [Commit #a209c81b] +- Fix 'format not a string literal' error [Commit #029218cd] +- Update patch in GIT hash a9489034 to use reinterpret_cast. [Commit #5a043853] +- Fix FTBFS on png >= 0.15 [Commit #18ecd512] + +* Sun Jul 08 2012 Francois Andriot - 0.9.6-3 +- Fix man directory location +- Fix postinstall +- Fix description +- Add "BuildRequires: exiv2-devel" + +* Tue May 01 2012 Francois Andriot - 0.9.6-2 +- gcc 4.7 + libpng 1.5 patch for digikam (consolidated) [Bug #958] + +* Sun Nov 06 2011 Francois Andriot - 0.9.6-1 +- Initial release for RHEL 6, RHEL 5 and Fedora 15 + diff --git a/redhat/applications/digikam/trinity-digikam-3.5.13.1.spec b/redhat/applications/digikam/trinity-digikam-3.5.13.1.spec deleted file mode 100644 index b853f6c16..000000000 --- a/redhat/applications/digikam/trinity-digikam-3.5.13.1.spec +++ /dev/null @@ -1,341 +0,0 @@ -# Default version for this component -%define kdecomp digikam - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: digital photo management application for KDE [Trinity] -Version: 0.9.6 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -# [digikam] Fix FTBFS on png >= 0.15 [Commit #18ecd512] -Patch9: digikam-3.5.13-fix_ftbfs_png_015.patch - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-arts-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: trinity-libkexiv2-devel >= 3.5.13.1 -BuildRequires: trinity-libkdcraw-devel >= 3.5.13.1 -BuildRequires: trinity-libkipi-devel >= 3.5.13.1 -%if 0%{?rhel} == 5 || 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: gphoto2-devel -%else -BuildRequires: libgphoto2-devel -%endif -BuildRequires: libtiff-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - -# JASPER support -%if 0%{?suse_version} -BuildRequires: libjasper-devel -%else -BuildRequires: jasper-devel -%endif - -# EXIV2 support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}exiv2-devel -%endif -%if 0%{?suse_version} -BuildRequires: libexiv2-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: exiv2-devel -%endif - -Requires: trinity-libkexiv2 >= 3.5.13.1 -Requires: trinity-libkdcraw >= 3.5.13.1 -Requires: trinity-libkipi >= 3.5.13.1 - -%description -An easy to use and powerful digital photo management -application, which makes importing, organizing and manipulating -digital photos a "snap". An interface is provided to connect to -your digital camera, preview the images and download and/or -delete them. - -The digiKam built-in image editor makes the common photo correction -a simple task. The image editor is extensible via plugins and, -the digikamimageplugins project has been merged to digiKam core -since release 0.9.2, all useful image editor plugins are available -in the base installation. - -digiKam can also make use of the KIPI image handling plugins to -extend its capabilities even further for photo manipulations, -import and export, etc. The kipi-plugins package contains many -very useful extentions. - -digiKam is based in part on the work of the Independent JPEG Group. - - -%package devel -Group: Development/Libraries -Summary: Development files for %{name} -Requires: %{name} = %{version} - -%description devel -%{summary} - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 -%patch9 -p1 -b .png015 - - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; source /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_tdeincludedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_tdeincludedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%find_lang %{kdecomp} - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/digikam -%{tde_bindir}/digikamthemedesigner -%{tde_bindir}/digitaglinktree -%{tde_bindir}/showfoto -%{tde_libdir}/libdigikam.so.0 -%{tde_libdir}/libdigikam.so.0.0.0 -%{tde_tdelibdir}/kio_digikamalbums.la -%{tde_tdelibdir}/kio_digikamalbums.so -%{tde_tdelibdir}/kio_digikamdates.la -%{tde_tdelibdir}/kio_digikamdates.so -%{tde_tdelibdir}/digikamimageplugin_adjustcurves.la -%{tde_tdelibdir}/digikamimageplugin_adjustcurves.so -%{tde_tdelibdir}/digikamimageplugin_adjustlevels.la -%{tde_tdelibdir}/digikamimageplugin_adjustlevels.so -%{tde_tdelibdir}/digikamimageplugin_antivignetting.la -%{tde_tdelibdir}/digikamimageplugin_antivignetting.so -%{tde_tdelibdir}/digikamimageplugin_blurfx.la -%{tde_tdelibdir}/digikamimageplugin_blurfx.so -%{tde_tdelibdir}/digikamimageplugin_border.la -%{tde_tdelibdir}/digikamimageplugin_border.so -%{tde_tdelibdir}/digikamimageplugin_channelmixer.la -%{tde_tdelibdir}/digikamimageplugin_channelmixer.so -%{tde_tdelibdir}/digikamimageplugin_charcoal.la -%{tde_tdelibdir}/digikamimageplugin_charcoal.so -%{tde_tdelibdir}/digikamimageplugin_colorfx.la -%{tde_tdelibdir}/digikamimageplugin_colorfx.so -%{tde_tdelibdir}/digikamimageplugin_core.la -%{tde_tdelibdir}/digikamimageplugin_core.so -%{tde_tdelibdir}/digikamimageplugin_distortionfx.la -%{tde_tdelibdir}/digikamimageplugin_distortionfx.so -%{tde_tdelibdir}/digikamimageplugin_emboss.la -%{tde_tdelibdir}/digikamimageplugin_emboss.so -%{tde_tdelibdir}/digikamimageplugin_filmgrain.la -%{tde_tdelibdir}/digikamimageplugin_filmgrain.so -%{tde_tdelibdir}/digikamimageplugin_freerotation.la -%{tde_tdelibdir}/digikamimageplugin_freerotation.so -%{tde_tdelibdir}/digikamimageplugin_hotpixels.la -%{tde_tdelibdir}/digikamimageplugin_hotpixels.so -%{tde_tdelibdir}/digikamimageplugin_infrared.la -%{tde_tdelibdir}/digikamimageplugin_infrared.so -%{tde_tdelibdir}/digikamimageplugin_inpainting.la -%{tde_tdelibdir}/digikamimageplugin_inpainting.so -%{tde_tdelibdir}/digikamimageplugin_inserttext.la -%{tde_tdelibdir}/digikamimageplugin_inserttext.so -%{tde_tdelibdir}/digikamimageplugin_lensdistortion.la -%{tde_tdelibdir}/digikamimageplugin_lensdistortion.so -%{tde_tdelibdir}/digikamimageplugin_noisereduction.la -%{tde_tdelibdir}/digikamimageplugin_noisereduction.so -%{tde_tdelibdir}/digikamimageplugin_oilpaint.la -%{tde_tdelibdir}/digikamimageplugin_oilpaint.so -%{tde_tdelibdir}/digikamimageplugin_perspective.la -%{tde_tdelibdir}/digikamimageplugin_perspective.so -%{tde_tdelibdir}/digikamimageplugin_raindrop.la -%{tde_tdelibdir}/digikamimageplugin_raindrop.so -%{tde_tdelibdir}/digikamimageplugin_restoration.la -%{tde_tdelibdir}/digikamimageplugin_restoration.so -%{tde_tdelibdir}/digikamimageplugin_sheartool.la -%{tde_tdelibdir}/digikamimageplugin_sheartool.so -%{tde_tdelibdir}/digikamimageplugin_superimpose.la -%{tde_tdelibdir}/digikamimageplugin_superimpose.so -%{tde_tdelibdir}/digikamimageplugin_texture.la -%{tde_tdelibdir}/digikamimageplugin_texture.so -%{tde_tdelibdir}/digikamimageplugin_whitebalance.la -%{tde_tdelibdir}/digikamimageplugin_whitebalance.so -%{tde_tdelibdir}/kio_digikamsearch.la -%{tde_tdelibdir}/kio_digikamsearch.so -%{tde_tdelibdir}/kio_digikamtags.la -%{tde_tdelibdir}/kio_digikamtags.so -%{tde_tdelibdir}/kio_digikamthumbnail.la -%{tde_tdelibdir}/kio_digikamthumbnail.so -%{tde_tdeappdir}/digikam.desktop -%{tde_tdeappdir}/showfoto.desktop -%{tde_datadir}/apps/digikam/ -%{tde_datadir}/apps/konqueror/servicemenus/digikam-download.desktop -%{tde_datadir}/apps/konqueror/servicemenus/digikam-gphoto2-camera.desktop -%{tde_datadir}/apps/konqueror/servicemenus/digikam-mount-and-download.desktop -%{tde_datadir}/apps/showfoto/ -%{tde_datadir}/icons/hicolor/*/apps/digikam.png -%{tde_datadir}/icons/hicolor/*/apps/showfoto.png -%{tde_datadir}/services/digikamalbums.protocol -%{tde_datadir}/services/digikamdates.protocol -%{tde_datadir}/services/digikamimageplugin_adjustcurves.desktop -%{tde_datadir}/services/digikamimageplugin_adjustlevels.desktop -%{tde_datadir}/services/digikamimageplugin_antivignetting.desktop -%{tde_datadir}/services/digikamimageplugin_blurfx.desktop -%{tde_datadir}/services/digikamimageplugin_border.desktop -%{tde_datadir}/services/digikamimageplugin_channelmixer.desktop -%{tde_datadir}/services/digikamimageplugin_charcoal.desktop -%{tde_datadir}/services/digikamimageplugin_colorfx.desktop -%{tde_datadir}/services/digikamimageplugin_core.desktop -%{tde_datadir}/services/digikamimageplugin_distortionfx.desktop -%{tde_datadir}/services/digikamimageplugin_emboss.desktop -%{tde_datadir}/services/digikamimageplugin_filmgrain.desktop -%{tde_datadir}/services/digikamimageplugin_freerotation.desktop -%{tde_datadir}/services/digikamimageplugin_hotpixels.desktop -%{tde_datadir}/services/digikamimageplugin_infrared.desktop -%{tde_datadir}/services/digikamimageplugin_inpainting.desktop -%{tde_datadir}/services/digikamimageplugin_inserttext.desktop -%{tde_datadir}/services/digikamimageplugin_lensdistortion.desktop -%{tde_datadir}/services/digikamimageplugin_noisereduction.desktop -%{tde_datadir}/services/digikamimageplugin_oilpaint.desktop -%{tde_datadir}/services/digikamimageplugin_perspective.desktop -%{tde_datadir}/services/digikamimageplugin_raindrop.desktop -%{tde_datadir}/services/digikamimageplugin_restoration.desktop -%{tde_datadir}/services/digikamimageplugin_sheartool.desktop -%{tde_datadir}/services/digikamimageplugin_superimpose.desktop -%{tde_datadir}/services/digikamimageplugin_texture.desktop -%{tde_datadir}/services/digikamimageplugin_whitebalance.desktop -%{tde_datadir}/services/digikamsearch.protocol -%{tde_datadir}/services/digikamtags.protocol -%{tde_datadir}/services/digikamthumbnail.protocol -%{tde_datadir}/servicetypes/digikamimageplugin.desktop -%{tde_mandir}/man*/* -#%{tde_tdedocdir}/HTML/en/digikam-apidocs/ - - -%files devel -%{tde_tdeincludedir}/digikam_export.h -%{tde_tdeincludedir}/digikam/ -%{tde_libdir}/libdigikam.so -%{tde_libdir}/libdigikam.la - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.9.6-4 -- Initial build for TDE 3.5.13.1 - -* Fri Aug 03 2012 Francois Andriot - 0.9.6-3 -- Add support for Mageia 2 and Mandriva 2011 -- Removes old patches, adds GIT patches. -- Fix digikam FTBFS due to jpeg code [Commit #b9419cd5] -- Fix FTBFS due to png code [Bug #595] [Commit #3e27b07f] -- Remove version.h. Cruft from an older version prior to 0.9.6. -- Fix usage of obsolete libpng jmpbuf member [Commit #7d0d82b7] -- GCC 4.7 fix. [Bug #958] [Commit #a9489034] -- GCC 4.7 fix. [Bug #958] [Commit #a209c81b] -- Fix 'format not a string literal' error [Commit #029218cd] -- Update patch in GIT hash a9489034 to use reinterpret_cast. [Commit #5a043853] -- Fix FTBFS on png >= 0.15 [Commit #18ecd512] - -* Sun Jul 08 2012 Francois Andriot - 0.9.6-3 -- Fix man directory location -- Fix postinstall -- Fix description -- Add "BuildRequires: exiv2-devel" - -* Tue May 01 2012 Francois Andriot - 0.9.6-2 -- gcc 4.7 + libpng 1.5 patch for digikam (consolidated) [Bug #958] - -* Sun Nov 06 2011 Francois Andriot - 0.9.6-1 -- Initial release for RHEL 6, RHEL 5 and Fedora 15 - diff --git a/redhat/applications/digikam/trinity-digikam-3.5.13.2.spec b/redhat/applications/digikam/trinity-digikam-3.5.13.2.spec deleted file mode 100644 index 92e48cadb..000000000 --- a/redhat/applications/digikam/trinity-digikam-3.5.13.2.spec +++ /dev/null @@ -1,345 +0,0 @@ -# Default version for this component -%define kdecomp digikam - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: digital photo management application for KDE [Trinity] -Version: 0.9.6 -Release: 5%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -# [Digikam] Revert PNG support to libpng12 (for RHEL4) -Patch1: digikam-3.5.13.2-fix_png12_support.patch - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-arts-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: trinity-libkexiv2-devel >= 3.5.13.2 -BuildRequires: trinity-libkdcraw-devel >= 3.5.13.2 -BuildRequires: trinity-libkipi-devel >= 3.5.13.2 -%if 0%{?rhel} == 4 || 0%{?rhel} == 5 || 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: gphoto2-devel -%else -BuildRequires: libgphoto2-devel -%endif -BuildRequires: libtiff-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - -# JASPER support -%if 0%{?suse_version} -BuildRequires: libjasper-devel -%else -BuildRequires: jasper-devel -%endif - -# EXIV2 support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}exiv2-devel -%endif -%if 0%{?suse_version} -BuildRequires: libexiv2-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: exiv2-devel -%endif - -Requires: trinity-libkexiv2 >= 3.5.13.1 -Requires: trinity-libkdcraw >= 3.5.13.1 -Requires: trinity-libkipi >= 3.5.13.1 - -%description -An easy to use and powerful digital photo management -application, which makes importing, organizing and manipulating -digital photos a "snap". An interface is provided to connect to -your digital camera, preview the images and download and/or -delete them. - -The digiKam built-in image editor makes the common photo correction -a simple task. The image editor is extensible via plugins and, -the digikamimageplugins project has been merged to digiKam core -since release 0.9.2, all useful image editor plugins are available -in the base installation. - -digiKam can also make use of the KIPI image handling plugins to -extend its capabilities even further for photo manipulations, -import and export, etc. The kipi-plugins package contains many -very useful extentions. - -digiKam is based in part on the work of the Independent JPEG Group. - - -%package devel -Group: Development/Libraries -Summary: Development files for %{name} -Requires: %{name} = %{version} - -%description devel -%{summary} - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 -%if 0%{?rhel} == 4 -%patch1 -p1 -b .png12 -%endif - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; source /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_tdeincludedir}" -export KDEDIR="%{tde_prefix}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_tdeincludedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%find_lang %{kdecomp} - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/digikam -%{tde_bindir}/digikamthemedesigner -%{tde_bindir}/digitaglinktree -%{tde_bindir}/showfoto -%{tde_libdir}/libdigikam.so.0 -%{tde_libdir}/libdigikam.so.0.0.0 -%{tde_tdelibdir}/kio_digikamalbums.la -%{tde_tdelibdir}/kio_digikamalbums.so -%{tde_tdelibdir}/kio_digikamdates.la -%{tde_tdelibdir}/kio_digikamdates.so -%{tde_tdelibdir}/digikamimageplugin_adjustcurves.la -%{tde_tdelibdir}/digikamimageplugin_adjustcurves.so -%{tde_tdelibdir}/digikamimageplugin_adjustlevels.la -%{tde_tdelibdir}/digikamimageplugin_adjustlevels.so -%{tde_tdelibdir}/digikamimageplugin_antivignetting.la -%{tde_tdelibdir}/digikamimageplugin_antivignetting.so -%{tde_tdelibdir}/digikamimageplugin_blurfx.la -%{tde_tdelibdir}/digikamimageplugin_blurfx.so -%{tde_tdelibdir}/digikamimageplugin_border.la -%{tde_tdelibdir}/digikamimageplugin_border.so -%{tde_tdelibdir}/digikamimageplugin_channelmixer.la -%{tde_tdelibdir}/digikamimageplugin_channelmixer.so -%{tde_tdelibdir}/digikamimageplugin_charcoal.la -%{tde_tdelibdir}/digikamimageplugin_charcoal.so -%{tde_tdelibdir}/digikamimageplugin_colorfx.la -%{tde_tdelibdir}/digikamimageplugin_colorfx.so -%{tde_tdelibdir}/digikamimageplugin_core.la -%{tde_tdelibdir}/digikamimageplugin_core.so -%{tde_tdelibdir}/digikamimageplugin_distortionfx.la -%{tde_tdelibdir}/digikamimageplugin_distortionfx.so -%{tde_tdelibdir}/digikamimageplugin_emboss.la -%{tde_tdelibdir}/digikamimageplugin_emboss.so -%{tde_tdelibdir}/digikamimageplugin_filmgrain.la -%{tde_tdelibdir}/digikamimageplugin_filmgrain.so -%{tde_tdelibdir}/digikamimageplugin_freerotation.la -%{tde_tdelibdir}/digikamimageplugin_freerotation.so -%{tde_tdelibdir}/digikamimageplugin_hotpixels.la -%{tde_tdelibdir}/digikamimageplugin_hotpixels.so -%{tde_tdelibdir}/digikamimageplugin_infrared.la -%{tde_tdelibdir}/digikamimageplugin_infrared.so -%{tde_tdelibdir}/digikamimageplugin_inpainting.la -%{tde_tdelibdir}/digikamimageplugin_inpainting.so -%{tde_tdelibdir}/digikamimageplugin_inserttext.la -%{tde_tdelibdir}/digikamimageplugin_inserttext.so -%{tde_tdelibdir}/digikamimageplugin_lensdistortion.la -%{tde_tdelibdir}/digikamimageplugin_lensdistortion.so -%{tde_tdelibdir}/digikamimageplugin_noisereduction.la -%{tde_tdelibdir}/digikamimageplugin_noisereduction.so -%{tde_tdelibdir}/digikamimageplugin_oilpaint.la -%{tde_tdelibdir}/digikamimageplugin_oilpaint.so -%{tde_tdelibdir}/digikamimageplugin_perspective.la -%{tde_tdelibdir}/digikamimageplugin_perspective.so -%{tde_tdelibdir}/digikamimageplugin_raindrop.la -%{tde_tdelibdir}/digikamimageplugin_raindrop.so -%{tde_tdelibdir}/digikamimageplugin_restoration.la -%{tde_tdelibdir}/digikamimageplugin_restoration.so -%{tde_tdelibdir}/digikamimageplugin_sheartool.la -%{tde_tdelibdir}/digikamimageplugin_sheartool.so -%{tde_tdelibdir}/digikamimageplugin_superimpose.la -%{tde_tdelibdir}/digikamimageplugin_superimpose.so -%{tde_tdelibdir}/digikamimageplugin_texture.la -%{tde_tdelibdir}/digikamimageplugin_texture.so -%{tde_tdelibdir}/digikamimageplugin_whitebalance.la -%{tde_tdelibdir}/digikamimageplugin_whitebalance.so -%{tde_tdelibdir}/kio_digikamsearch.la -%{tde_tdelibdir}/kio_digikamsearch.so -%{tde_tdelibdir}/kio_digikamtags.la -%{tde_tdelibdir}/kio_digikamtags.so -%{tde_tdelibdir}/kio_digikamthumbnail.la -%{tde_tdelibdir}/kio_digikamthumbnail.so -%{tde_tdeappdir}/digikam.desktop -%{tde_tdeappdir}/showfoto.desktop -%{tde_datadir}/apps/digikam/ -%{tde_datadir}/apps/konqueror/servicemenus/digikam-download.desktop -%{tde_datadir}/apps/konqueror/servicemenus/digikam-gphoto2-camera.desktop -%{tde_datadir}/apps/konqueror/servicemenus/digikam-mount-and-download.desktop -%{tde_datadir}/apps/showfoto/ -%{tde_datadir}/icons/hicolor/*/apps/digikam.png -%{tde_datadir}/icons/hicolor/*/apps/showfoto.png -%{tde_datadir}/services/digikamalbums.protocol -%{tde_datadir}/services/digikamdates.protocol -%{tde_datadir}/services/digikamimageplugin_adjustcurves.desktop -%{tde_datadir}/services/digikamimageplugin_adjustlevels.desktop -%{tde_datadir}/services/digikamimageplugin_antivignetting.desktop -%{tde_datadir}/services/digikamimageplugin_blurfx.desktop -%{tde_datadir}/services/digikamimageplugin_border.desktop -%{tde_datadir}/services/digikamimageplugin_channelmixer.desktop -%{tde_datadir}/services/digikamimageplugin_charcoal.desktop -%{tde_datadir}/services/digikamimageplugin_colorfx.desktop -%{tde_datadir}/services/digikamimageplugin_core.desktop -%{tde_datadir}/services/digikamimageplugin_distortionfx.desktop -%{tde_datadir}/services/digikamimageplugin_emboss.desktop -%{tde_datadir}/services/digikamimageplugin_filmgrain.desktop -%{tde_datadir}/services/digikamimageplugin_freerotation.desktop -%{tde_datadir}/services/digikamimageplugin_hotpixels.desktop -%{tde_datadir}/services/digikamimageplugin_infrared.desktop -%{tde_datadir}/services/digikamimageplugin_inpainting.desktop -%{tde_datadir}/services/digikamimageplugin_inserttext.desktop -%{tde_datadir}/services/digikamimageplugin_lensdistortion.desktop -%{tde_datadir}/services/digikamimageplugin_noisereduction.desktop -%{tde_datadir}/services/digikamimageplugin_oilpaint.desktop -%{tde_datadir}/services/digikamimageplugin_perspective.desktop -%{tde_datadir}/services/digikamimageplugin_raindrop.desktop -%{tde_datadir}/services/digikamimageplugin_restoration.desktop -%{tde_datadir}/services/digikamimageplugin_sheartool.desktop -%{tde_datadir}/services/digikamimageplugin_superimpose.desktop -%{tde_datadir}/services/digikamimageplugin_texture.desktop -%{tde_datadir}/services/digikamimageplugin_whitebalance.desktop -%{tde_datadir}/services/digikamsearch.protocol -%{tde_datadir}/services/digikamtags.protocol -%{tde_datadir}/services/digikamthumbnail.protocol -%{tde_datadir}/servicetypes/digikamimageplugin.desktop -%{tde_mandir}/man*/* -#%{tde_tdedocdir}/HTML/en/digikam-apidocs/ - - -%files devel -%{tde_tdeincludedir}/digikam_export.h -%{tde_tdeincludedir}/digikam/ -%{tde_libdir}/libdigikam.so -%{tde_libdir}/libdigikam.la - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 0.9.6-5 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.9.6-4 -- Initial build for TDE 3.5.13.1 - -* Fri Aug 03 2012 Francois Andriot - 0.9.6-3 -- Add support for Mageia 2 and Mandriva 2011 -- Removes old patches, adds GIT patches. -- Fix digikam FTBFS due to jpeg code [Commit #b9419cd5] -- Fix FTBFS due to png code [Bug #595] [Commit #3e27b07f] -- Remove version.h. Cruft from an older version prior to 0.9.6. -- Fix usage of obsolete libpng jmpbuf member [Commit #7d0d82b7] -- GCC 4.7 fix. [Bug #958] [Commit #a9489034] -- GCC 4.7 fix. [Bug #958] [Commit #a209c81b] -- Fix 'format not a string literal' error [Commit #029218cd] -- Update patch in GIT hash a9489034 to use reinterpret_cast. [Commit #5a043853] -- Fix FTBFS on png >= 0.15 [Commit #18ecd512] - -* Sun Jul 08 2012 Francois Andriot - 0.9.6-3 -- Fix man directory location -- Fix postinstall -- Fix description -- Add "BuildRequires: exiv2-devel" - -* Tue May 01 2012 Francois Andriot - 0.9.6-2 -- gcc 4.7 + libpng 1.5 patch for digikam (consolidated) [Bug #958] - -* Sun Nov 06 2011 Francois Andriot - 0.9.6-1 -- Initial release for RHEL 6, RHEL 5 and Fedora 15 - diff --git a/redhat/applications/digikam/trinity-digikam-3.5.13.spec b/redhat/applications/digikam/trinity-digikam-3.5.13.spec deleted file mode 100644 index f1ff6d1ab..000000000 --- a/redhat/applications/digikam/trinity-digikam-3.5.13.spec +++ /dev/null @@ -1,297 +0,0 @@ -# Default version for this component -%define kdecomp digikam - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: digital photo management application for KDE [Trinity] -Version: 0.9.6 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# [digikam] Fix digikam FTBFS due to jpeg code [Commit #b9419cd5] -Patch1: digikam-3.5.13-fix_ftbfs_jpeg_code.patch -# [digikam] Fix FTBFS due to png code [Bug #595] [Commit #3e27b07f] -Patch2: digikam-3.5.13-fix_ftbfs_png_code.patch -# [digikam] Remove version.h. Cruft from an older version prior to 0.9.6. -# Part of an extensive cleanup of various problems with kipi-plugins, digikam, -# and gwenview to resolve bug reports 241, 962, 963. -Patch3: digikam-3.5.13-remove_version_h.patch -# [digikam] Fix usage of obsolete libpng jmpbuf member [Commit #7d0d82b7] -Patch4: digikam-3.5.13-fix_obsolete_libpng_jmpbuf.patch -# [digikam] GCC 4.7 fix. [Bug #958] [Commit #a9489034] -Patch5: digikam-3.5.13-gcc_47_fix.patch -# [digikam] GCC 4.7 fix. [Bug #958] [Commit #a209c81b] -Patch6: digikam-3.5.13-gcc_47_fix2.patch -# [digikam] Fix 'format not a string literal' error [Commit #029218cd] -Patch7: digikam-3.5.13-fix_fomat_not_string_literal.patch -# [digikam] Update patch in GIT hash a9489034 to use reinterpret_cast. [Commit #5a043853] -Patch8: digikam-3.5.13-fix_reinterpret_cast.patch -# [digikam] Fix FTBFS on png >= 0.15 [Commit #18ecd512] -Patch9: digikam-3.5.13-fix_ftbfs_png_015.patch -# [digikam] Missing LDFLAGS cause FTBFS on Mageia 2 / Mandriva 2011 -Patch10: digikam-3.5.13-missing_ldflags.patch - - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-arts-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: trinity-kdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext -BuildRequires: trinity-libkexiv2-devel -BuildRequires: trinity-libkdcraw-devel -BuildRequires: trinity-libkipi-devel -%if 0%{?rhel} == 5 || 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: gphoto2-devel -%else -BuildRequires: libgphoto2-devel -%endif -BuildRequires: libtiff-devel -BuildRequires: jasper-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}exiv2-devel -%else -BuildRequires: exiv2-devel -%endif - -Requires: trinity-libkexiv2 -Requires: trinity-libkdcraw -Requires: trinity-libkipi - -%description -An easy to use and powerful digital photo management -application, which makes importing, organizing and manipulating -digital photos a "snap". An interface is provided to connect to -your digital camera, preview the images and download and/or -delete them. - -The digiKam built-in image editor makes the common photo correction -a simple task. The image editor is extensible via plugins and, -the digikamimageplugins project has been merged to digiKam core -since release 0.9.2, all useful image editor plugins are available -in the base installation. - -digiKam can also make use of the KIPI image handling plugins to -extend its capabilities even further for photo manipulations, -import and export, etc. The kipi-plugins package contains many -very useful extentions. - -digiKam is based in part on the work of the Independent JPEG Group. - - -%package devel -Group: Development/Libraries -Summary: Development files for %{name} -Requires: %{name} = %{version} - -%description devel -%{summary} - - -%prep -%setup -q -n applications/%{kdecomp} -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -E -%patch4 -p1 -%patch5 -p1 -b .gcc47 -%patch6 -p1 -b .gcc47 -%patch7 -p1 -b .ftbfs -%patch8 -p1 -%patch9 -p1 -b .png015 -%patch10 -p1 -b .ftbfs - - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; source /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_tdeincludedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_tdeincludedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%find_lang %{kdecomp} - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/digikam -%{tde_bindir}/digikamthemedesigner -%{tde_bindir}/digitaglinktree -%{tde_bindir}/showfoto -%{tde_libdir}/libdigikam.so.0 -%{tde_libdir}/libdigikam.so.0.0.0 -%{tde_tdelibdir}/kio_digikamalbums.la -%{tde_tdelibdir}/kio_digikamalbums.so -%{tde_tdelibdir}/kio_digikamdates.la -%{tde_tdelibdir}/kio_digikamdates.so -%{tde_tdelibdir}/kio_digikamsearch.la -%{tde_tdelibdir}/kio_digikamsearch.so -%{tde_tdelibdir}/kio_digikamtags.la -%{tde_tdelibdir}/kio_digikamtags.so -%{tde_tdelibdir}/kio_digikamthumbnail.la -%{tde_tdelibdir}/kio_digikamthumbnail.so -%{tde_tdeappdir}/digikam.desktop -%{tde_tdeappdir}/showfoto.desktop -%{tde_datadir}/apps/digikam/ -%{tde_datadir}/apps/konqueror/servicemenus/digikam-download.desktop -%{tde_datadir}/apps/konqueror/servicemenus/digikam-gphoto2-camera.desktop -%{tde_datadir}/apps/konqueror/servicemenus/digikam-mount-and-download.desktop -%{tde_datadir}/apps/showfoto/ -%{tde_datadir}/icons/hicolor/*/apps/digikam.png -%{tde_datadir}/icons/hicolor/*/apps/showfoto.png -%{tde_datadir}/services/digikamalbums.protocol -%{tde_datadir}/services/digikamdates.protocol -%{tde_datadir}/services/digikamimageplugin_adjustcurves.desktop -%{tde_datadir}/services/digikamimageplugin_adjustlevels.desktop -%{tde_datadir}/services/digikamimageplugin_antivignetting.desktop -%{tde_datadir}/services/digikamimageplugin_blurfx.desktop -%{tde_datadir}/services/digikamimageplugin_border.desktop -%{tde_datadir}/services/digikamimageplugin_channelmixer.desktop -%{tde_datadir}/services/digikamimageplugin_charcoal.desktop -%{tde_datadir}/services/digikamimageplugin_colorfx.desktop -%{tde_datadir}/services/digikamimageplugin_core.desktop -%{tde_datadir}/services/digikamimageplugin_distortionfx.desktop -%{tde_datadir}/services/digikamimageplugin_emboss.desktop -%{tde_datadir}/services/digikamimageplugin_filmgrain.desktop -%{tde_datadir}/services/digikamimageplugin_freerotation.desktop -%{tde_datadir}/services/digikamimageplugin_hotpixels.desktop -%{tde_datadir}/services/digikamimageplugin_infrared.desktop -%{tde_datadir}/services/digikamimageplugin_inpainting.desktop -%{tde_datadir}/services/digikamimageplugin_inserttext.desktop -%{tde_datadir}/services/digikamimageplugin_lensdistortion.desktop -%{tde_datadir}/services/digikamimageplugin_noisereduction.desktop -%{tde_datadir}/services/digikamimageplugin_oilpaint.desktop -%{tde_datadir}/services/digikamimageplugin_perspective.desktop -%{tde_datadir}/services/digikamimageplugin_raindrop.desktop -%{tde_datadir}/services/digikamimageplugin_restoration.desktop -%{tde_datadir}/services/digikamimageplugin_sheartool.desktop -%{tde_datadir}/services/digikamimageplugin_superimpose.desktop -%{tde_datadir}/services/digikamimageplugin_texture.desktop -%{tde_datadir}/services/digikamimageplugin_whitebalance.desktop -%{tde_datadir}/services/digikamsearch.protocol -%{tde_datadir}/services/digikamtags.protocol -%{tde_datadir}/services/digikamthumbnail.protocol -%{tde_datadir}/servicetypes/digikamimageplugin.desktop -%{tde_mandir}/man*/* -%{tde_tdedocdir}/HTML/en/digikam-apidocs/ - - -%files devel -%{tde_tdeincludedir}/digikam_export.h -%{tde_tdeincludedir}/digikam/ -%{tde_libdir}/libdigikam.so -%{tde_libdir}/libdigikam.la - - -%Changelog -* Fri Aug 03 2012 Francois Andriot - 0.9.6-3 -- Add support for Mageia 2 and Mandriva 2011 -- Removes old patches, adds GIT patches. -- Fix digikam FTBFS due to jpeg code [Commit #b9419cd5] -- Fix FTBFS due to png code [Bug #595] [Commit #3e27b07f] -- Remove version.h. Cruft from an older version prior to 0.9.6. -- Fix usage of obsolete libpng jmpbuf member [Commit #7d0d82b7] -- GCC 4.7 fix. [Bug #958] [Commit #a9489034] -- GCC 4.7 fix. [Bug #958] [Commit #a209c81b] -- Fix 'format not a string literal' error [Commit #029218cd] -- Update patch in GIT hash a9489034 to use reinterpret_cast. [Commit #5a043853] -- Fix FTBFS on png >= 0.15 [Commit #18ecd512] - -* Sun Jul 08 2012 Francois Andriot - 0.9.6-3 -- Fix man directory location -- Fix postinstall -- Fix description -- Add "BuildRequires: exiv2-devel" - -* Tue May 01 2012 Francois Andriot - 0.9.6-2 -- gcc 4.7 + libpng 1.5 patch for digikam (consolidated) [Bug #958] - -* Sun Nov 06 2011 Francois Andriot - 0.9.6-1 -- Initial release for RHEL 6, RHEL 5 and Fedora 15 - diff --git a/redhat/applications/dolphin/dolphin-3.5.12.spec b/redhat/applications/dolphin/dolphin-3.5.12.spec new file mode 100644 index 000000000..30b0eeb2f --- /dev/null +++ b/redhat/applications/dolphin/dolphin-3.5.12.spec @@ -0,0 +1,134 @@ +# Default version for this component +%define kdecomp dolphin +%define version 0.9.2 +%define release 1 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_prefix}/share/doc +%endif + +# TDE 3.5.12 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir} +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/kde3 + + +Name: trinity-%{kdecomp} +Summary: File manager for KDE focusing on usability +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Source0: %{kdecomp}-3.5.12.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: trinity-kdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +Dolphin focuses on being only a file manager. +This approach allows to optimize the user +interface for the task of file management. + + +%prep +%setup -q -n applications/%{kdecomp} + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%configure \ + --disable-rpath \ + --with-extra-includes=%{_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} +%make_install + +# TDE 3.5.12: dirty hack to prevent duplicate line in file 'd3lphin.desktop' +sed -i "%{buildroot}%{_datadir}/applications/kde/d3lphin.desktop" \ + -e "/^Name\[pa\].*/d" + +desktop-file-install --vendor "" \ + --delete-original \ + --dir %{buildroot}%{_datadir}/applications/ \ + %{buildroot}%{_datadir}/applications/kde/d3lphin.desktop + + +## File lists +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi +done +fi + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + +%postun +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING TODO +%{_bindir}/* +%{_datadir}/applications/*.desktop +%{_datadir}/apps/*/ +%{tde_docdir}/HTML/en/*/ +%{_datadir}/icons/hicolor/128x128/apps/*.png +%{_datadir}/icons/hicolor/??x??/apps/*.png +%{_datadir}/locale/*/*/d3lphin.mo + + +%Changelog +* Tue Sep 14 2011 Francois Andriot - 0.9.2-2 +- Import to GIT + +* Mon Aug 22 2011 Francois Andriot - 0.9.2-1 +- Correct macro to install under "/opt", if desired + +* Thu Jun 30 2011 Francois Andriot - 0.9.2-0 +- Initial build for RHEL 6.0 +- Based on FC7 'Dolphin 0.8.2-2" SPEC file. + diff --git a/redhat/applications/dolphin/dolphin-3.5.13.1.spec b/redhat/applications/dolphin/dolphin-3.5.13.1.spec new file mode 100644 index 000000000..fa40c513f --- /dev/null +++ b/redhat/applications/dolphin/dolphin-3.5.13.1.spec @@ -0,0 +1,197 @@ +# Default version for this component +%define kdecomp dolphin + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: File manager for TDE focusing on usability +Version: 0.9.2 +Release: 6%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +Dolphin focuses on being only a file manager. +This approach allows to optimize the user +interface for the task of file management. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --docdir=%{tde_tdedocdir} \ + --libdir=%{tde_libdir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# TDE 3.5.12: dirty hack to prevent duplicate line in file 'd3lphin.desktop' +sed -i "%{buildroot}%{tde_datadir}/applications/kde/d3lphin.desktop" \ + -e "/^Name\[pa\].*/d" + +desktop-file-install --vendor "" \ + --delete-original \ + --dir %{buildroot}%{tde_datadir}/applications/ \ + %{buildroot}%{tde_datadir}/applications/kde/d3lphin.desktop + + +## File lists +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi +done +fi + +# Makes 'media_safelyremove.desktop' an alternative +%__mv -f %{buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop %{buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_d3lphin +%__ln_s /etc/alternatives/media_safelyremove.desktop_d3lphin %{buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop + +%find_lang d3lphin + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +%if 0%{?suse_version} +update-alternatives --install \ +%else +alternatives --install \ +%endif + %{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop \ + media_safelyremove.desktop_d3lphin \ + %{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_d3lphin \ + 10 + + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +if [ $1 -eq 0 ]; then +%if 0%{?suse_version} + update-alternatives --remove \ +%else + alternatives --remove \ +%endif + media_safelyremove.desktop_d3lphin \ + %{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_d3lphin +fi + + +%files -f d3lphin.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING TODO +%{tde_bindir}/d3lphin +%{tde_datadir}/applications/d3lphin.desktop +%{tde_datadir}/apps/d3lphin/ +%{tde_datadir}/icons/hicolor/*/apps/d3lphin.png +%lang(en) %{tde_tdedocdir}/HTML/en/d3lphin/ + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.9.2-6 +- Initial build for TDE 3.5.13.1 + +* Sun Jul 08 2012 Francois Andriot - 0.9.2-5 +- Add alternatives with 'kio-umountwrapper' + +* Tue May 01 2012 Francois Andriot - 0.9.2-4 +- Rebuild for Fedora 17 +- Fix HTML installation directory + +* Sun Oct 30 2011 Francois Andriot - 0.9.2-3 +- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 + +* Tue Sep 14 2011 Francois Andriot - 0.9.2-2 +- Import to GIT + +* Mon Aug 22 2011 Francois Andriot - 0.9.2-1 +- Correct macro to install under "/opt", if desired + +* Thu Jun 30 2011 Francois Andriot - 0.9.2-0 +- Initial build for RHEL 6.0 +- Based on FC7 'Dolphin 0.8.2-2" SPEC file. + diff --git a/redhat/applications/dolphin/dolphin-3.5.13.2.spec b/redhat/applications/dolphin/dolphin-3.5.13.2.spec new file mode 100644 index 000000000..632aaaaa3 --- /dev/null +++ b/redhat/applications/dolphin/dolphin-3.5.13.2.spec @@ -0,0 +1,196 @@ +# Default version for this component +%define kdecomp dolphin + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: File manager for TDE focusing on usability +Version: 0.9.2 +Release: 7%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +Dolphin focuses on being only a file manager. +This approach allows to optimize the user +interface for the task of file management. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --docdir=%{tde_tdedocdir} \ + --libdir=%{tde_libdir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# TDE 3.5.12: dirty hack to prevent duplicate line in file 'd3lphin.desktop' +sed -i "%{buildroot}%{tde_datadir}/applications/kde/d3lphin.desktop" \ + -e "/^Name\[pa\].*/d" + +desktop-file-install --vendor "" \ + --delete-original \ + --dir %{buildroot}%{tde_datadir}/applications/ \ + %{buildroot}%{tde_datadir}/applications/kde/d3lphin.desktop + + +## File lists +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi +done +fi + +# Makes 'media_safelyremove.desktop' an alternative +%__mv -f %{buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop %{buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_d3lphin +%__ln_s %{_sysconfdir}/alternatives/media_safelyremove.desktop_d3lphin %{buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop +%__mkdir_p %{?buildroot}%{_sysconfdir}/alternatives +%__ln_s %{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop %{?buildroot}%{_sysconfdir}/alternatives/media_safelyremove.desktop_d3lphin + +%find_lang d3lphin + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +update-alternatives --install \ + %{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop \ + media_safelyremove.desktop_d3lphin \ + %{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_d3lphin \ + 15 + +%preun +if [ $1 -eq 0 ]; then + update-alternatives --remove \ + media_safelyremove.desktop_d3lphin \ + %{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_d3lphin +fi + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files -f d3lphin.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING TODO +%{tde_bindir}/d3lphin +%{tde_datadir}/applications/d3lphin.desktop +%{tde_datadir}/apps/d3lphin/ +%{tde_datadir}/icons/hicolor/*/apps/d3lphin.png +%lang(en) %{tde_tdedocdir}/HTML/en/d3lphin/ +%{_sysconfdir}/alternatives/media_safelyremove.desktop_d3lphin + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 0.9.2-7 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.9.2-6 +- Initial build for TDE 3.5.13.1 + +* Sun Jul 08 2012 Francois Andriot - 0.9.2-5 +- Add alternatives with 'kio-umountwrapper' + +* Tue May 01 2012 Francois Andriot - 0.9.2-4 +- Rebuild for Fedora 17 +- Fix HTML installation directory + +* Sun Oct 30 2011 Francois Andriot - 0.9.2-3 +- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 + +* Tue Sep 14 2011 Francois Andriot - 0.9.2-2 +- Import to GIT + +* Mon Aug 22 2011 Francois Andriot - 0.9.2-1 +- Correct macro to install under "/opt", if desired + +* Thu Jun 30 2011 Francois Andriot - 0.9.2-0 +- Initial build for RHEL 6.0 +- Based on FC7 'Dolphin 0.8.2-2" SPEC file. + diff --git a/redhat/applications/dolphin/dolphin-3.5.13.spec b/redhat/applications/dolphin/dolphin-3.5.13.spec new file mode 100644 index 000000000..667efc4f7 --- /dev/null +++ b/redhat/applications/dolphin/dolphin-3.5.13.spec @@ -0,0 +1,180 @@ +# Default version for this component +%define kdecomp dolphin + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: File manager for TDE focusing on usability +Version: 0.9.2 +Release: 5%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +Dolphin focuses on being only a file manager. +This approach allows to optimize the user +interface for the task of file management. + + +%prep +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --docdir=%{tde_tdedocdir} \ + --libdir=%{tde_libdir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# TDE 3.5.12: dirty hack to prevent duplicate line in file 'd3lphin.desktop' +sed -i "%{buildroot}%{tde_datadir}/applications/kde/d3lphin.desktop" \ + -e "/^Name\[pa\].*/d" + +desktop-file-install --vendor "" \ + --delete-original \ + --dir %{buildroot}%{tde_datadir}/applications/ \ + %{buildroot}%{tde_datadir}/applications/kde/d3lphin.desktop + + +## File lists +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi +done +fi + +# Makes 'media_safelyremove.desktop' an alternative +%__mv -f %{buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop %{buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_d3lphin +%__ln_s /etc/alternatives/media_safelyremove.desktop_d3lphin %{buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop + +%find_lang d3lphin + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +alternatives --install \ + %{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop \ + media_safelyremove.desktop_d3lphin \ + %{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_d3lphin \ + 10 + + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +if [ $1 -eq 0 ]; then + alternatives --remove \ + media_safelyremove.desktop_d3lphin \ + %{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_d3lphin +fi + + +%files -f d3lphin.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING TODO +%{tde_bindir}/d3lphin +%{tde_datadir}/applications/d3lphin.desktop +%{tde_datadir}/apps/d3lphin/ +%{tde_datadir}/icons/hicolor/*/apps/d3lphin.png +%lang(en) %{tde_tdedocdir}/HTML/en/d3lphin/ + + +%Changelog +* Sun Jul 08 2012 Francois Andriot - 0.9.2-5 +- Add alternatives with 'kio-umountwrapper' + +* Tue May 01 2012 Francois Andriot - 0.9.2-4 +- Rebuild for Fedora 17 +- Fix HTML installation directory + +* Sun Oct 30 2011 Francois Andriot - 0.9.2-3 +- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 + +* Tue Sep 14 2011 Francois Andriot - 0.9.2-2 +- Import to GIT + +* Mon Aug 22 2011 Francois Andriot - 0.9.2-1 +- Correct macro to install under "/opt", if desired + +* Thu Jun 30 2011 Francois Andriot - 0.9.2-0 +- Initial build for RHEL 6.0 +- Based on FC7 'Dolphin 0.8.2-2" SPEC file. + diff --git a/redhat/applications/dolphin/trinity-dolphin-3.5.12.spec b/redhat/applications/dolphin/trinity-dolphin-3.5.12.spec deleted file mode 100644 index 30b0eeb2f..000000000 --- a/redhat/applications/dolphin/trinity-dolphin-3.5.12.spec +++ /dev/null @@ -1,134 +0,0 @@ -# Default version for this component -%define kdecomp dolphin -%define version 0.9.2 -%define release 1 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_includedir %{_includedir}/kde -%define tde_libdir %{_libdir}/kde3 - - -Name: trinity-%{kdecomp} -Summary: File manager for KDE focusing on usability -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Source0: %{kdecomp}-3.5.12.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: trinity-kdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -Dolphin focuses on being only a file manager. -This approach allows to optimize the user -interface for the task of file management. - - -%prep -%setup -q -n applications/%{kdecomp} - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -%configure \ - --disable-rpath \ - --with-extra-includes=%{_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{buildroot} -%make_install - -# TDE 3.5.12: dirty hack to prevent duplicate line in file 'd3lphin.desktop' -sed -i "%{buildroot}%{_datadir}/applications/kde/d3lphin.desktop" \ - -e "/^Name\[pa\].*/d" - -desktop-file-install --vendor "" \ - --delete-original \ - --dir %{buildroot}%{_datadir}/applications/ \ - %{buildroot}%{_datadir}/applications/kde/d3lphin.desktop - - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : - -%postun -touch --no-create %{_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING TODO -%{_bindir}/* -%{_datadir}/applications/*.desktop -%{_datadir}/apps/*/ -%{tde_docdir}/HTML/en/*/ -%{_datadir}/icons/hicolor/128x128/apps/*.png -%{_datadir}/icons/hicolor/??x??/apps/*.png -%{_datadir}/locale/*/*/d3lphin.mo - - -%Changelog -* Tue Sep 14 2011 Francois Andriot - 0.9.2-2 -- Import to GIT - -* Mon Aug 22 2011 Francois Andriot - 0.9.2-1 -- Correct macro to install under "/opt", if desired - -* Thu Jun 30 2011 Francois Andriot - 0.9.2-0 -- Initial build for RHEL 6.0 -- Based on FC7 'Dolphin 0.8.2-2" SPEC file. - diff --git a/redhat/applications/dolphin/trinity-dolphin-3.5.13.1.spec b/redhat/applications/dolphin/trinity-dolphin-3.5.13.1.spec deleted file mode 100644 index fa40c513f..000000000 --- a/redhat/applications/dolphin/trinity-dolphin-3.5.13.1.spec +++ /dev/null @@ -1,197 +0,0 @@ -# Default version for this component -%define kdecomp dolphin - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: File manager for TDE focusing on usability -Version: 0.9.2 -Release: 6%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -Dolphin focuses on being only a file manager. -This approach allows to optimize the user -interface for the task of file management. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --docdir=%{tde_tdedocdir} \ - --libdir=%{tde_libdir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# TDE 3.5.12: dirty hack to prevent duplicate line in file 'd3lphin.desktop' -sed -i "%{buildroot}%{tde_datadir}/applications/kde/d3lphin.desktop" \ - -e "/^Name\[pa\].*/d" - -desktop-file-install --vendor "" \ - --delete-original \ - --dir %{buildroot}%{tde_datadir}/applications/ \ - %{buildroot}%{tde_datadir}/applications/kde/d3lphin.desktop - - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - -# Makes 'media_safelyremove.desktop' an alternative -%__mv -f %{buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop %{buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_d3lphin -%__ln_s /etc/alternatives/media_safelyremove.desktop_d3lphin %{buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop - -%find_lang d3lphin - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -%if 0%{?suse_version} -update-alternatives --install \ -%else -alternatives --install \ -%endif - %{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop \ - media_safelyremove.desktop_d3lphin \ - %{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_d3lphin \ - 10 - - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -if [ $1 -eq 0 ]; then -%if 0%{?suse_version} - update-alternatives --remove \ -%else - alternatives --remove \ -%endif - media_safelyremove.desktop_d3lphin \ - %{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_d3lphin -fi - - -%files -f d3lphin.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING TODO -%{tde_bindir}/d3lphin -%{tde_datadir}/applications/d3lphin.desktop -%{tde_datadir}/apps/d3lphin/ -%{tde_datadir}/icons/hicolor/*/apps/d3lphin.png -%lang(en) %{tde_tdedocdir}/HTML/en/d3lphin/ - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.9.2-6 -- Initial build for TDE 3.5.13.1 - -* Sun Jul 08 2012 Francois Andriot - 0.9.2-5 -- Add alternatives with 'kio-umountwrapper' - -* Tue May 01 2012 Francois Andriot - 0.9.2-4 -- Rebuild for Fedora 17 -- Fix HTML installation directory - -* Sun Oct 30 2011 Francois Andriot - 0.9.2-3 -- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 - -* Tue Sep 14 2011 Francois Andriot - 0.9.2-2 -- Import to GIT - -* Mon Aug 22 2011 Francois Andriot - 0.9.2-1 -- Correct macro to install under "/opt", if desired - -* Thu Jun 30 2011 Francois Andriot - 0.9.2-0 -- Initial build for RHEL 6.0 -- Based on FC7 'Dolphin 0.8.2-2" SPEC file. - diff --git a/redhat/applications/dolphin/trinity-dolphin-3.5.13.2.spec b/redhat/applications/dolphin/trinity-dolphin-3.5.13.2.spec deleted file mode 100644 index 632aaaaa3..000000000 --- a/redhat/applications/dolphin/trinity-dolphin-3.5.13.2.spec +++ /dev/null @@ -1,196 +0,0 @@ -# Default version for this component -%define kdecomp dolphin - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: File manager for TDE focusing on usability -Version: 0.9.2 -Release: 7%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -Dolphin focuses on being only a file manager. -This approach allows to optimize the user -interface for the task of file management. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --docdir=%{tde_tdedocdir} \ - --libdir=%{tde_libdir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# TDE 3.5.12: dirty hack to prevent duplicate line in file 'd3lphin.desktop' -sed -i "%{buildroot}%{tde_datadir}/applications/kde/d3lphin.desktop" \ - -e "/^Name\[pa\].*/d" - -desktop-file-install --vendor "" \ - --delete-original \ - --dir %{buildroot}%{tde_datadir}/applications/ \ - %{buildroot}%{tde_datadir}/applications/kde/d3lphin.desktop - - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - -# Makes 'media_safelyremove.desktop' an alternative -%__mv -f %{buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop %{buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_d3lphin -%__ln_s %{_sysconfdir}/alternatives/media_safelyremove.desktop_d3lphin %{buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop -%__mkdir_p %{?buildroot}%{_sysconfdir}/alternatives -%__ln_s %{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop %{?buildroot}%{_sysconfdir}/alternatives/media_safelyremove.desktop_d3lphin - -%find_lang d3lphin - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-alternatives --install \ - %{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop \ - media_safelyremove.desktop_d3lphin \ - %{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_d3lphin \ - 15 - -%preun -if [ $1 -eq 0 ]; then - update-alternatives --remove \ - media_safelyremove.desktop_d3lphin \ - %{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_d3lphin -fi - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f d3lphin.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING TODO -%{tde_bindir}/d3lphin -%{tde_datadir}/applications/d3lphin.desktop -%{tde_datadir}/apps/d3lphin/ -%{tde_datadir}/icons/hicolor/*/apps/d3lphin.png -%lang(en) %{tde_tdedocdir}/HTML/en/d3lphin/ -%{_sysconfdir}/alternatives/media_safelyremove.desktop_d3lphin - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 0.9.2-7 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.9.2-6 -- Initial build for TDE 3.5.13.1 - -* Sun Jul 08 2012 Francois Andriot - 0.9.2-5 -- Add alternatives with 'kio-umountwrapper' - -* Tue May 01 2012 Francois Andriot - 0.9.2-4 -- Rebuild for Fedora 17 -- Fix HTML installation directory - -* Sun Oct 30 2011 Francois Andriot - 0.9.2-3 -- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 - -* Tue Sep 14 2011 Francois Andriot - 0.9.2-2 -- Import to GIT - -* Mon Aug 22 2011 Francois Andriot - 0.9.2-1 -- Correct macro to install under "/opt", if desired - -* Thu Jun 30 2011 Francois Andriot - 0.9.2-0 -- Initial build for RHEL 6.0 -- Based on FC7 'Dolphin 0.8.2-2" SPEC file. - diff --git a/redhat/applications/dolphin/trinity-dolphin-3.5.13.spec b/redhat/applications/dolphin/trinity-dolphin-3.5.13.spec deleted file mode 100644 index 667efc4f7..000000000 --- a/redhat/applications/dolphin/trinity-dolphin-3.5.13.spec +++ /dev/null @@ -1,180 +0,0 @@ -# Default version for this component -%define kdecomp dolphin - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: File manager for TDE focusing on usability -Version: 0.9.2 -Release: 5%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -Dolphin focuses on being only a file manager. -This approach allows to optimize the user -interface for the task of file management. - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --docdir=%{tde_tdedocdir} \ - --libdir=%{tde_libdir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# TDE 3.5.12: dirty hack to prevent duplicate line in file 'd3lphin.desktop' -sed -i "%{buildroot}%{tde_datadir}/applications/kde/d3lphin.desktop" \ - -e "/^Name\[pa\].*/d" - -desktop-file-install --vendor "" \ - --delete-original \ - --dir %{buildroot}%{tde_datadir}/applications/ \ - %{buildroot}%{tde_datadir}/applications/kde/d3lphin.desktop - - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - -# Makes 'media_safelyremove.desktop' an alternative -%__mv -f %{buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop %{buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_d3lphin -%__ln_s /etc/alternatives/media_safelyremove.desktop_d3lphin %{buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop - -%find_lang d3lphin - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -alternatives --install \ - %{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop \ - media_safelyremove.desktop_d3lphin \ - %{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_d3lphin \ - 10 - - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -if [ $1 -eq 0 ]; then - alternatives --remove \ - media_safelyremove.desktop_d3lphin \ - %{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_d3lphin -fi - - -%files -f d3lphin.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING TODO -%{tde_bindir}/d3lphin -%{tde_datadir}/applications/d3lphin.desktop -%{tde_datadir}/apps/d3lphin/ -%{tde_datadir}/icons/hicolor/*/apps/d3lphin.png -%lang(en) %{tde_tdedocdir}/HTML/en/d3lphin/ - - -%Changelog -* Sun Jul 08 2012 Francois Andriot - 0.9.2-5 -- Add alternatives with 'kio-umountwrapper' - -* Tue May 01 2012 Francois Andriot - 0.9.2-4 -- Rebuild for Fedora 17 -- Fix HTML installation directory - -* Sun Oct 30 2011 Francois Andriot - 0.9.2-3 -- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 - -* Tue Sep 14 2011 Francois Andriot - 0.9.2-2 -- Import to GIT - -* Mon Aug 22 2011 Francois Andriot - 0.9.2-1 -- Correct macro to install under "/opt", if desired - -* Thu Jun 30 2011 Francois Andriot - 0.9.2-0 -- Initial build for RHEL 6.0 -- Based on FC7 'Dolphin 0.8.2-2" SPEC file. - diff --git a/redhat/applications/filelight-l10n/filelight-l10n.spec b/redhat/applications/filelight-l10n/filelight-l10n.spec new file mode 100644 index 000000000..cb1920957 --- /dev/null +++ b/redhat/applications/filelight-l10n/filelight-l10n.spec @@ -0,0 +1,123 @@ +# Default version for this component +%define kdecomp filelight-l10n + +%define debug_package %{nil} + + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +Name: trinity-%{kdecomp} +Summary: Localization (l10n) for Filelight, disk space usage tool [Trinity] +Version: 1.0 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities +%if 0%{?fedora} > 0 || 0%{?rhel} >= 6 +BuildArch: noarch +%endif + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +Source0: %{kdecomp}-3.5.13.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + +Requires: trinity-filelight + +%description +This package provides localization(l10n) files (translations and docs) for +Filelight, Filelight allows you to understand your disk usage by graphically +representing your filesystem as a set of concentric, segmented rings. + +See the 'filelight' package description for more information. + + + +%prep +%setup -q -n applications/%{kdecomp} + +# Removes 'en' (primary) language HTML doc, since it is already in main package. +%__rm -rf doc/filelight + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{_includedir}" + +./configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --datadir=%{tde_datadir} \ + --docdir=%{tde_tdedocdir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang filelight --with-kde + + +%clean +%__rm -rf %{buildroot} + + + + +%files -f filelight.lang +%defattr(-,root,root,-) + + +%Changelog +* Tue May 01 2012 Francois Andriot - 1.0-2 +- Rebuilt for Fedora 17 +- Removes useless post and postun + +* Fri Nov 25 2011 Francois Andriot - 1.0-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/filelight-l10n/trinity-filelight-l10n.spec b/redhat/applications/filelight-l10n/trinity-filelight-l10n.spec deleted file mode 100644 index cb1920957..000000000 --- a/redhat/applications/filelight-l10n/trinity-filelight-l10n.spec +++ /dev/null @@ -1,123 +0,0 @@ -# Default version for this component -%define kdecomp filelight-l10n - -%define debug_package %{nil} - - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -Name: trinity-%{kdecomp} -Summary: Localization (l10n) for Filelight, disk space usage tool [Trinity] -Version: 1.0 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities -%if 0%{?fedora} > 0 || 0%{?rhel} >= 6 -BuildArch: noarch -%endif - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildArch: noarch - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - -Requires: trinity-filelight - -%description -This package provides localization(l10n) files (translations and docs) for -Filelight, Filelight allows you to understand your disk usage by graphically -representing your filesystem as a set of concentric, segmented rings. - -See the 'filelight' package description for more information. - - - -%prep -%setup -q -n applications/%{kdecomp} - -# Removes 'en' (primary) language HTML doc, since it is already in main package. -%__rm -rf doc/filelight - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{_includedir}" - -./configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --datadir=%{tde_datadir} \ - --docdir=%{tde_tdedocdir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang filelight --with-kde - - -%clean -%__rm -rf %{buildroot} - - - - -%files -f filelight.lang -%defattr(-,root,root,-) - - -%Changelog -* Tue May 01 2012 Francois Andriot - 1.0-2 -- Rebuilt for Fedora 17 -- Removes useless post and postun - -* Fri Nov 25 2011 Francois Andriot - 1.0-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/filelight/filelight-3.5.12.spec b/redhat/applications/filelight/filelight-3.5.12.spec new file mode 100644 index 000000000..8340303f6 --- /dev/null +++ b/redhat/applications/filelight/filelight-3.5.12.spec @@ -0,0 +1,106 @@ +# Default version for this component +%define kdecomp filelight +%define version 1.0 +%define release 2 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_prefix}/share/doc +%endif + +# TDE 3.5.12 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir} +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/kde3 + + +Name: trinity-%{kdecomp} +Summary: Graphical disk usage display +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Source0: %{kdecomp}-3.5.12.tar.gz + + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: trinity-kdebase-devel +BuildRequires: desktop-file-utils + +%description +Filelight creates a complex, but data-rich graphical representation of the files and +directories on your computer. + + +%prep +%setup -q -n applications/%{kdecomp} + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%configure \ + --disable-rpath \ + --with-extra-includes=%{_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} +%make_install + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + +%postun +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{_bindir}/* +%{_datadir}/applications/*/*.desktop +%{_datadir}/apps/*/ +%{_datadir}/icons/*/*/*/* +%{_datadir}/locale/*/*/*.mo +%{_datadir}/config/filelightrc +%{_datadir}/services/*.desktop +%{tde_docdir}/HTML/*/*/ + +%{_libdir}/*/*.so +%exclude %{_libdir}/*/*.la + +%Changelog +* Tue Sep 14 2011 Francois Andriot - 1.0-2 +- Import to GIT + +* Wed Aug 24 2011 Francois Andriot - 1.0-1 +- Correct macro to install under "/opt", if desired + +* Sun Aug 14 2011 Francois Andriot - 1.0-0 +- Initial build for RHEL 6.0 + diff --git a/redhat/applications/filelight/filelight-3.5.13.1.spec b/redhat/applications/filelight/filelight-3.5.13.1.spec new file mode 100644 index 000000000..7d2172a5e --- /dev/null +++ b/redhat/applications/filelight/filelight-3.5.13.1.spec @@ -0,0 +1,158 @@ +# Default version for this component +%define kdecomp filelight + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Graphical disk usage display +Version: 1.0 +Release: 5%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils + +Obsoletes: filelight-l10n < %{version}-%{release} +Provides: filelight-l10n = %{version}-%{release} + +%description +Filelight creates a complex, but data-rich graphical representation of the files and +directories on your computer. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --docdir=%{tde_tdedocdir} \ + --libdir=%{tde_libdir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} --with-kde + +%clean +%__rm -rf %{buildroot} + + +%post +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + +%postun +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/filelight +%{tde_tdeappdir}/filelight.desktop +%{tde_datadir}/apps/filelight/ +%{tde_datadir}/icons/crystalsvg/*/actions/view_filelight.png +%{tde_datadir}/icons/hicolor/*/apps/filelight.png +%{tde_datadir}/config/filelightrc +%{tde_datadir}/services/*.desktop +%{tde_tdelibdir}/libfilelight.so +%{tde_tdelibdir}/libfilelight.la +%lang(da) %{tde_tdedocdir}/HTML/da/filelight/ +%lang(en) %{tde_tdedocdir}/HTML/en/filelight/ +%lang(es) %{tde_tdedocdir}/HTML/es/filelight/ +%lang(et) %{tde_tdedocdir}/HTML/et/filelight/ +%lang(it) %{tde_tdedocdir}/HTML/it/filelight/ +%lang(pt) %{tde_tdedocdir}/HTML/pt/filelight/ +%lang(ru) %{tde_tdedocdir}/HTML/ru/filelight/ +%lang(sv) %{tde_tdedocdir}/HTML/sv/filelight/ + +%changelog +* Wed Oct 03 2012 Francois Andriot - 1.0-5 +- Initial build for TDE 3.5.13.1 +- Obsoletes package 'filelight-l10n' + +* Tue May 01 2012 Francois Andriot - 1.0-4 +- Rebuilt for Fedora 17 +- Fix HTML directory location + +* Sun Oct 30 2011 Francois Andriot - 1.0-3 +- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 + +* Tue Sep 14 2011 Francois Andriot - 1.0-2 +- Import to GIT + +* Wed Aug 24 2011 Francois Andriot - 1.0-1 +- Correct macro to install under "/opt", if desired + +* Sun Aug 14 2011 Francois Andriot - 1.0-0 +- Initial build for RHEL 6.0 + diff --git a/redhat/applications/filelight/filelight-3.5.13.2.spec b/redhat/applications/filelight/filelight-3.5.13.2.spec new file mode 100644 index 000000000..8857edebd --- /dev/null +++ b/redhat/applications/filelight/filelight-3.5.13.2.spec @@ -0,0 +1,161 @@ +# Default version for this component +%define kdecomp filelight + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Graphical disk usage display +Version: 1.0 +Release: 6%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils + +Obsoletes: filelight-l10n < %{version}-%{release} +Provides: filelight-l10n = %{version}-%{release} + +%description +Filelight creates a complex, but data-rich graphical representation of the files and +directories on your computer. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --docdir=%{tde_tdedocdir} \ + --libdir=%{tde_libdir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} --with-kde + +%clean +%__rm -rf %{buildroot} + + +%post +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + +%postun +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/filelight +%{tde_tdeappdir}/filelight.desktop +%{tde_datadir}/apps/filelight/ +%{tde_datadir}/icons/crystalsvg/*/actions/view_filelight.png +%{tde_datadir}/icons/hicolor/*/apps/filelight.png +%{tde_datadir}/config/filelightrc +%{tde_datadir}/services/*.desktop +%{tde_tdelibdir}/libfilelight.so +%{tde_tdelibdir}/libfilelight.la +%lang(da) %{tde_tdedocdir}/HTML/da/filelight/ +%lang(en) %{tde_tdedocdir}/HTML/en/filelight/ +%lang(es) %{tde_tdedocdir}/HTML/es/filelight/ +%lang(et) %{tde_tdedocdir}/HTML/et/filelight/ +%lang(it) %{tde_tdedocdir}/HTML/it/filelight/ +%lang(pt) %{tde_tdedocdir}/HTML/pt/filelight/ +%lang(ru) %{tde_tdedocdir}/HTML/ru/filelight/ +%lang(sv) %{tde_tdedocdir}/HTML/sv/filelight/ + +%changelog +* Mon Jun 03 2013 Francois Andriot - 1.0-6 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 1.0-5 +- Initial build for TDE 3.5.13.1 +- Obsoletes package 'filelight-l10n' + +* Tue May 01 2012 Francois Andriot - 1.0-4 +- Rebuilt for Fedora 17 +- Fix HTML directory location + +* Sun Oct 30 2011 Francois Andriot - 1.0-3 +- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 + +* Tue Sep 14 2011 Francois Andriot - 1.0-2 +- Import to GIT + +* Wed Aug 24 2011 Francois Andriot - 1.0-1 +- Correct macro to install under "/opt", if desired + +* Sun Aug 14 2011 Francois Andriot - 1.0-0 +- Initial build for RHEL 6.0 + diff --git a/redhat/applications/filelight/filelight-3.5.13.spec b/redhat/applications/filelight/filelight-3.5.13.spec new file mode 100644 index 000000000..77fc17afa --- /dev/null +++ b/redhat/applications/filelight/filelight-3.5.13.spec @@ -0,0 +1,141 @@ +# Default version for this component +%define kdecomp filelight + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Graphical disk usage display +Version: 1.0 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +# [filelight] Disable translation build, it is a separate package +Patch1: filelight-3.5.13-disable_l10n.patch + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils + +%description +Filelight creates a complex, but data-rich graphical representation of the files and +directories on your computer. + + +%prep +%setup -q -n applications/%{kdecomp} +%patch1 -p1 -b .l10n + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --docdir=%{tde_tdedocdir} \ + --libdir=%{tde_libdir} \ + --disable-rpath \ + --with-extra-includes=%{_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%post +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + +%postun +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/filelight +%{tde_tdeappdir}/filelight.desktop +%{tde_datadir}/apps/filelight/ +%{tde_datadir}/icons/crystalsvg/*/actions/view_filelight.png +%{tde_datadir}/icons/hicolor/*/apps/filelight.png +%{tde_datadir}/config/filelightrc +%{tde_datadir}/services/*.desktop +%{tde_tdelibdir}/libfilelight.so +%{tde_tdelibdir}/libfilelight.la +%{tde_tdedocdir}/HTML/en/filelight/ + +%Changelog +* Tue May 01 2012 Francois Andriot - 1.0-4 +- Rebuilt for Fedora 17 +- Fix HTML directory location + +* Sun Oct 30 2011 Francois Andriot - 1.0-3 +- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 + +* Tue Sep 14 2011 Francois Andriot - 1.0-2 +- Import to GIT + +* Wed Aug 24 2011 Francois Andriot - 1.0-1 +- Correct macro to install under "/opt", if desired + +* Sun Aug 14 2011 Francois Andriot - 1.0-0 +- Initial build for RHEL 6.0 + diff --git a/redhat/applications/filelight/trinity-filelight-3.5.12.spec b/redhat/applications/filelight/trinity-filelight-3.5.12.spec deleted file mode 100644 index 8340303f6..000000000 --- a/redhat/applications/filelight/trinity-filelight-3.5.12.spec +++ /dev/null @@ -1,106 +0,0 @@ -# Default version for this component -%define kdecomp filelight -%define version 1.0 -%define release 2 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_includedir %{_includedir}/kde -%define tde_libdir %{_libdir}/kde3 - - -Name: trinity-%{kdecomp} -Summary: Graphical disk usage display -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Source0: %{kdecomp}-3.5.12.tar.gz - - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: trinity-kdebase-devel -BuildRequires: desktop-file-utils - -%description -Filelight creates a complex, but data-rich graphical representation of the files and -directories on your computer. - - -%prep -%setup -q -n applications/%{kdecomp} - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -%configure \ - --disable-rpath \ - --with-extra-includes=%{_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{buildroot} -%make_install - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : - -%postun -touch --no-create %{_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{_bindir}/* -%{_datadir}/applications/*/*.desktop -%{_datadir}/apps/*/ -%{_datadir}/icons/*/*/*/* -%{_datadir}/locale/*/*/*.mo -%{_datadir}/config/filelightrc -%{_datadir}/services/*.desktop -%{tde_docdir}/HTML/*/*/ - -%{_libdir}/*/*.so -%exclude %{_libdir}/*/*.la - -%Changelog -* Tue Sep 14 2011 Francois Andriot - 1.0-2 -- Import to GIT - -* Wed Aug 24 2011 Francois Andriot - 1.0-1 -- Correct macro to install under "/opt", if desired - -* Sun Aug 14 2011 Francois Andriot - 1.0-0 -- Initial build for RHEL 6.0 - diff --git a/redhat/applications/filelight/trinity-filelight-3.5.13.1.spec b/redhat/applications/filelight/trinity-filelight-3.5.13.1.spec deleted file mode 100644 index 7d2172a5e..000000000 --- a/redhat/applications/filelight/trinity-filelight-3.5.13.1.spec +++ /dev/null @@ -1,158 +0,0 @@ -# Default version for this component -%define kdecomp filelight - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Graphical disk usage display -Version: 1.0 -Release: 5%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - -Obsoletes: filelight-l10n < %{version}-%{release} -Provides: filelight-l10n = %{version}-%{release} - -%description -Filelight creates a complex, but data-rich graphical representation of the files and -directories on your computer. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --docdir=%{tde_tdedocdir} \ - --libdir=%{tde_libdir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} --with-kde - -%clean -%__rm -rf %{buildroot} - - -%post -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/filelight -%{tde_tdeappdir}/filelight.desktop -%{tde_datadir}/apps/filelight/ -%{tde_datadir}/icons/crystalsvg/*/actions/view_filelight.png -%{tde_datadir}/icons/hicolor/*/apps/filelight.png -%{tde_datadir}/config/filelightrc -%{tde_datadir}/services/*.desktop -%{tde_tdelibdir}/libfilelight.so -%{tde_tdelibdir}/libfilelight.la -%lang(da) %{tde_tdedocdir}/HTML/da/filelight/ -%lang(en) %{tde_tdedocdir}/HTML/en/filelight/ -%lang(es) %{tde_tdedocdir}/HTML/es/filelight/ -%lang(et) %{tde_tdedocdir}/HTML/et/filelight/ -%lang(it) %{tde_tdedocdir}/HTML/it/filelight/ -%lang(pt) %{tde_tdedocdir}/HTML/pt/filelight/ -%lang(ru) %{tde_tdedocdir}/HTML/ru/filelight/ -%lang(sv) %{tde_tdedocdir}/HTML/sv/filelight/ - -%changelog -* Wed Oct 03 2012 Francois Andriot - 1.0-5 -- Initial build for TDE 3.5.13.1 -- Obsoletes package 'filelight-l10n' - -* Tue May 01 2012 Francois Andriot - 1.0-4 -- Rebuilt for Fedora 17 -- Fix HTML directory location - -* Sun Oct 30 2011 Francois Andriot - 1.0-3 -- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 - -* Tue Sep 14 2011 Francois Andriot - 1.0-2 -- Import to GIT - -* Wed Aug 24 2011 Francois Andriot - 1.0-1 -- Correct macro to install under "/opt", if desired - -* Sun Aug 14 2011 Francois Andriot - 1.0-0 -- Initial build for RHEL 6.0 - diff --git a/redhat/applications/filelight/trinity-filelight-3.5.13.2.spec b/redhat/applications/filelight/trinity-filelight-3.5.13.2.spec deleted file mode 100644 index 8857edebd..000000000 --- a/redhat/applications/filelight/trinity-filelight-3.5.13.2.spec +++ /dev/null @@ -1,161 +0,0 @@ -# Default version for this component -%define kdecomp filelight - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Graphical disk usage display -Version: 1.0 -Release: 6%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils - -Obsoletes: filelight-l10n < %{version}-%{release} -Provides: filelight-l10n = %{version}-%{release} - -%description -Filelight creates a complex, but data-rich graphical representation of the files and -directories on your computer. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --docdir=%{tde_tdedocdir} \ - --libdir=%{tde_libdir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} --with-kde - -%clean -%__rm -rf %{buildroot} - - -%post -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/filelight -%{tde_tdeappdir}/filelight.desktop -%{tde_datadir}/apps/filelight/ -%{tde_datadir}/icons/crystalsvg/*/actions/view_filelight.png -%{tde_datadir}/icons/hicolor/*/apps/filelight.png -%{tde_datadir}/config/filelightrc -%{tde_datadir}/services/*.desktop -%{tde_tdelibdir}/libfilelight.so -%{tde_tdelibdir}/libfilelight.la -%lang(da) %{tde_tdedocdir}/HTML/da/filelight/ -%lang(en) %{tde_tdedocdir}/HTML/en/filelight/ -%lang(es) %{tde_tdedocdir}/HTML/es/filelight/ -%lang(et) %{tde_tdedocdir}/HTML/et/filelight/ -%lang(it) %{tde_tdedocdir}/HTML/it/filelight/ -%lang(pt) %{tde_tdedocdir}/HTML/pt/filelight/ -%lang(ru) %{tde_tdedocdir}/HTML/ru/filelight/ -%lang(sv) %{tde_tdedocdir}/HTML/sv/filelight/ - -%changelog -* Mon Jun 03 2013 Francois Andriot - 1.0-6 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 1.0-5 -- Initial build for TDE 3.5.13.1 -- Obsoletes package 'filelight-l10n' - -* Tue May 01 2012 Francois Andriot - 1.0-4 -- Rebuilt for Fedora 17 -- Fix HTML directory location - -* Sun Oct 30 2011 Francois Andriot - 1.0-3 -- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 - -* Tue Sep 14 2011 Francois Andriot - 1.0-2 -- Import to GIT - -* Wed Aug 24 2011 Francois Andriot - 1.0-1 -- Correct macro to install under "/opt", if desired - -* Sun Aug 14 2011 Francois Andriot - 1.0-0 -- Initial build for RHEL 6.0 - diff --git a/redhat/applications/filelight/trinity-filelight-3.5.13.spec b/redhat/applications/filelight/trinity-filelight-3.5.13.spec deleted file mode 100644 index 77fc17afa..000000000 --- a/redhat/applications/filelight/trinity-filelight-3.5.13.spec +++ /dev/null @@ -1,141 +0,0 @@ -# Default version for this component -%define kdecomp filelight - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Graphical disk usage display -Version: 1.0 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# [filelight] Disable translation build, it is a separate package -Patch1: filelight-3.5.13-disable_l10n.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils - -%description -Filelight creates a complex, but data-rich graphical representation of the files and -directories on your computer. - - -%prep -%setup -q -n applications/%{kdecomp} -%patch1 -p1 -b .l10n - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --docdir=%{tde_tdedocdir} \ - --libdir=%{tde_libdir} \ - --disable-rpath \ - --with-extra-includes=%{_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%post -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/filelight -%{tde_tdeappdir}/filelight.desktop -%{tde_datadir}/apps/filelight/ -%{tde_datadir}/icons/crystalsvg/*/actions/view_filelight.png -%{tde_datadir}/icons/hicolor/*/apps/filelight.png -%{tde_datadir}/config/filelightrc -%{tde_datadir}/services/*.desktop -%{tde_tdelibdir}/libfilelight.so -%{tde_tdelibdir}/libfilelight.la -%{tde_tdedocdir}/HTML/en/filelight/ - -%Changelog -* Tue May 01 2012 Francois Andriot - 1.0-4 -- Rebuilt for Fedora 17 -- Fix HTML directory location - -* Sun Oct 30 2011 Francois Andriot - 1.0-3 -- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 - -* Tue Sep 14 2011 Francois Andriot - 1.0-2 -- Import to GIT - -* Wed Aug 24 2011 Francois Andriot - 1.0-1 -- Correct macro to install under "/opt", if desired - -* Sun Aug 14 2011 Francois Andriot - 1.0-0 -- Initial build for RHEL 6.0 - diff --git a/redhat/applications/fusion-icon/fusion-icon.spec b/redhat/applications/fusion-icon/fusion-icon.spec new file mode 100644 index 000000000..276c357c5 --- /dev/null +++ b/redhat/applications/fusion-icon/fusion-icon.spec @@ -0,0 +1,119 @@ +# Default version for this component +%define kdecomp fusion-icon + +%if "%{?python2_sitelib}" == "" +%define python2_sitelib %(python2 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())") +%endif + + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: tray icon to launch and manage Compiz Fusion [Trinity] +Version: 0.0.0+git20071028 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +# [fusion-icon] Allow python installation under /usr instead of tde_prefix +Patch1: fusion-icon-3.5.13-fix_python_sitelib.patch + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: python +Requires: python +Requires: trinity-compizconfig-backend-kconfig + +%description +The OpenCompositing Project brings 3D desktop visual effects that +improve the usability and eye candy of the X Window System and provide +increased productivity. + +This package contains a tray icon that can launch Compiz and its +decorators. + + +%prep +%setup -q -n applications/%{kdecomp} +%patch1 -p1 + + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install \ + DESTDIR=%{buildroot} \ + PREFIX=%{tde_prefix} \ + PYTHON_SITELIB=%{?python2_sitelib} + +# Removes 'egg-info' +find "%{?buildroot}%{python2_sitelib}" -name "*.egg-info" -delete + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%{tde_bindir}/fusion-icon +%{python2_sitelib}/FusionIcon/ +%{tde_datadir}/applications/fusion-icon.desktop +%{tde_datadir}/icons/hicolor/*/apps/fusion-icon.png +%{tde_datadir}/icons/hicolor/scalable/apps/fusion-icon.svg + + +%Changelog +* Sat Aug 04 2012 Francois Andriot - 0.0.0+git20071028-2 +- Fix python module installation + +* Sat Nov 19 2011 Francois Andriot - 0.0.0+git20071028-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/fusion-icon/trinity-fusion-icon.spec b/redhat/applications/fusion-icon/trinity-fusion-icon.spec deleted file mode 100644 index 276c357c5..000000000 --- a/redhat/applications/fusion-icon/trinity-fusion-icon.spec +++ /dev/null @@ -1,119 +0,0 @@ -# Default version for this component -%define kdecomp fusion-icon - -%if "%{?python2_sitelib}" == "" -%define python2_sitelib %(python2 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())") -%endif - - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: tray icon to launch and manage Compiz Fusion [Trinity] -Version: 0.0.0+git20071028 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# [fusion-icon] Allow python installation under /usr instead of tde_prefix -Patch1: fusion-icon-3.5.13-fix_python_sitelib.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: python -Requires: python -Requires: trinity-compizconfig-backend-kconfig - -%description -The OpenCompositing Project brings 3D desktop visual effects that -improve the usability and eye candy of the X Window System and provide -increased productivity. - -This package contains a tray icon that can launch Compiz and its -decorators. - - -%prep -%setup -q -n applications/%{kdecomp} -%patch1 -p1 - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -%__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install \ - DESTDIR=%{buildroot} \ - PREFIX=%{tde_prefix} \ - PYTHON_SITELIB=%{?python2_sitelib} - -# Removes 'egg-info' -find "%{?buildroot}%{python2_sitelib}" -name "*.egg-info" -delete - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/fusion-icon -%{python2_sitelib}/FusionIcon/ -%{tde_datadir}/applications/fusion-icon.desktop -%{tde_datadir}/icons/hicolor/*/apps/fusion-icon.png -%{tde_datadir}/icons/hicolor/scalable/apps/fusion-icon.svg - - -%Changelog -* Sat Aug 04 2012 Francois Andriot - 0.0.0+git20071028-2 -- Fix python module installation - -* Sat Nov 19 2011 Francois Andriot - 0.0.0+git20071028-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/gtk-qt-engine/gtk-qt-engine-3.5.13.1.spec b/redhat/applications/gtk-qt-engine/gtk-qt-engine-3.5.13.1.spec new file mode 100644 index 000000000..387bb7ffe --- /dev/null +++ b/redhat/applications/gtk-qt-engine/gtk-qt-engine-3.5.13.1.spec @@ -0,0 +1,149 @@ +# Default version for this component +%define kdecomp gtk-qt-engine + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: theme engine using Qt for GTK+ 2.x and Trinity +Version: 0.8 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz +Source1: gtk-qt-engine.rc.sh +Source2: gtkrc-2.0-kde4 +Source3: gtkrc-2.0-kde-kde4 + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +The GTK-Qt Theme Engine (also known as gtk-qt-engine) is a GTK 2 theme engine +that calls Qt to do the actual drawing. This makes your GTK 2 applications +look almost like real Qt applications and gives you a more unified desktop +experience. + +Please note that this package is targeted at Trinity users and therefore provides +a way to configure it from within KControl. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Renames the '.po' files +for f in po/*/*.po; do + pushd ${f%/*} + mv -f *.po gtk-qt-engine.po + popd +done + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "CMakeLists.txt" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DDATA_INSTALL_DIR=%{tde_datadir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + .. + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang %{kdecomp} + +# Adds TDE's specific GTKRC +%__install -D -m 644 %{SOURCE1} %{buildroot}%{tde_datadir}/kgtk/gtk-qt-engine.rc.sh +%__install -D -m 644 %{SOURCE2} %{buildroot}%{tde_datadir}/kgtk/.gtkrc-2.0-kde4 +%__install -D -m 644 %{SOURCE3} %{buildroot}%{tde_datadir}/kgtk/.gtkrc-2.0-kde-kde4 + +%clean +%__rm -rf %{buildroot} + + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{tde_tdelibdir}/kcm_kcmgtk.la +%{tde_tdelibdir}/kcm_kcmgtk.so +%{tde_appdir}/kcmgtk.desktop +%{tde_datadir}/kgtk/gtk-qt-engine.rc.sh +%{tde_datadir}/kgtk/.gtkrc-2.0-kde4 +%{tde_datadir}/kgtk/.gtkrc-2.0-kde-kde4 + +# The following files are outside TDE's directory +%{_libdir}/gtk-2.0/2.10.0/engines/libqtengine.so +%{_datadir}/themes/Qt/gtk-2.0/gtkrc + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.8-4 +- Initial build for TDE 3.5.13.1 + +* Mon Aug 27 2012 Francois Andriot - 0.8-3 +- Add missing gtkrc files + +* Tue May 01 2012 Francois Andriot - 0.8-2 +- Rebuilt for Fedora 17 +- Fix FTBFS with newer glib +- Removes useless post and postun + +* Sun Nov 20 2011 Francois Andriot - 0.8-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/gtk-qt-engine/gtk-qt-engine-3.5.13.2.spec b/redhat/applications/gtk-qt-engine/gtk-qt-engine-3.5.13.2.spec new file mode 100644 index 000000000..f94b6e9e4 --- /dev/null +++ b/redhat/applications/gtk-qt-engine/gtk-qt-engine-3.5.13.2.spec @@ -0,0 +1,152 @@ +# Default version for this component +%define kdecomp gtk-qt-engine + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: theme engine using Qt for GTK+ 2.x and Trinity +Version: 0.8 +Release: 5%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2%{?preversion:~%{preversion}}.tar.gz +Source1: gtk-qt-engine.rc.sh +Source2: gtkrc-2.0-kde4 +Source3: gtkrc-2.0-kde-kde4 + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +The GTK-Qt Theme Engine (also known as gtk-qt-engine) is a GTK 2 theme engine +that calls Qt to do the actual drawing. This makes your GTK 2 applications +look almost like real Qt applications and gives you a more unified desktop +experience. + +Please note that this package is targeted at Trinity users and therefore provides +a way to configure it from within KControl. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2%{?preversion:~%{preversion}} + +# Renames the '.po' files +for f in po/*/*.po; do + pushd ${f%/*} + mv -f *.po gtk-qt-engine.po + popd +done + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "CMakeLists.txt" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DDATA_INSTALL_DIR=%{tde_datadir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + .. + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang %{kdecomp} + +# Adds TDE's specific GTKRC +%__install -D -m 644 %{SOURCE1} %{buildroot}%{tde_datadir}/kgtk/gtk-qt-engine.rc.sh +%__install -D -m 644 %{SOURCE2} %{buildroot}%{tde_datadir}/kgtk/.gtkrc-2.0-kde4 +%__install -D -m 644 %{SOURCE3} %{buildroot}%{tde_datadir}/kgtk/.gtkrc-2.0-kde-kde4 + +%clean +%__rm -rf %{buildroot} + + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{tde_tdelibdir}/kcm_kcmgtk.la +%{tde_tdelibdir}/kcm_kcmgtk.so +%{tde_appdir}/kcmgtk.desktop +%{tde_datadir}/kgtk/gtk-qt-engine.rc.sh +%{tde_datadir}/kgtk/.gtkrc-2.0-kde4 +%{tde_datadir}/kgtk/.gtkrc-2.0-kde-kde4 + +# The following files are outside TDE's directory +%{_libdir}/gtk-2.0/2.10.0/engines/libqtengine.so +%{_datadir}/themes/Qt/gtk-2.0/gtkrc + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 0.8-5 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.8-4 +- Initial build for TDE 3.5.13.1 + +* Mon Aug 27 2012 Francois Andriot - 0.8-3 +- Add missing gtkrc files + +* Tue May 01 2012 Francois Andriot - 0.8-2 +- Rebuilt for Fedora 17 +- Fix FTBFS with newer glib +- Removes useless post and postun + +* Sun Nov 20 2011 Francois Andriot - 0.8-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/gtk-qt-engine/gtk-qt-engine-3.5.13.spec b/redhat/applications/gtk-qt-engine/gtk-qt-engine-3.5.13.spec new file mode 100644 index 000000000..409e4c706 --- /dev/null +++ b/redhat/applications/gtk-qt-engine/gtk-qt-engine-3.5.13.spec @@ -0,0 +1,145 @@ +# Default version for this component +%define kdecomp gtk-qt-engine + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: theme engine using Qt for GTK+ 2.x and Trinity +Version: 0.8 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz +Source1: gtk-qt-engine.rc.sh +Source2: gtkrc-2.0-kde4 +Source3: gtkrc-2.0-kde-kde4 + +# [gtk-qt-engine] Fix inclusion of 'glib.h' +Patch1: gtk-qt-engine-3.5.13-fix_glib_include.patch + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +The GTK-Qt Theme Engine (also known as gtk-qt-engine) is a GTK 2 theme engine +that calls Qt to do the actual drawing. This makes your GTK 2 applications +look almost like real Qt applications and gives you a more unified desktop +experience. + +Please note that this package is targeted at Trinity users and therefore provides +a way to configure it from within KControl. + + +%prep +%setup -q -n applications/%{kdecomp} +%patch1 -p1 + +# Renames the '.po' files +for f in po/*/*.po; do + pushd ${f%/*} + mv -f *.po gtk-qt-engine.po + popd +done + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "CMakeLists.txt" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +%if 0%{?rhel} || 0%{?fedora} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DDATA_INSTALL_DIR=%{tde_datadir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + .. + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang %{kdecomp} + +# Adds TDE's specific GTKRC +%__install -D -m 644 %{SOURCE1} %{buildroot}%{tde_datadir}/kgtk/gtk-qt-engine.rc.sh +%__install -D -m 644 %{SOURCE2} %{buildroot}%{tde_datadir}/kgtk/.gtkrc-2.0-kde4 +%__install -D -m 644 %{SOURCE3} %{buildroot}%{tde_datadir}/kgtk/.gtkrc-2.0-kde-kde4 + +%clean +%__rm -rf %{buildroot} + + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{tde_tdelibdir}/kcm_kcmgtk.la +%{tde_tdelibdir}/kcm_kcmgtk.so +%{tde_appdir}/kcmgtk.desktop +%{tde_datadir}/kgtk/gtk-qt-engine.rc.sh +%{tde_datadir}/kgtk/.gtkrc-2.0-kde4 +%{tde_datadir}/kgtk/.gtkrc-2.0-kde-kde4 + +# The following files are outside TDE's directory +%{_libdir}/gtk-2.0/2.10.0/engines/libqtengine.so +%{_datadir}/themes/Qt/gtk-2.0/gtkrc + + +%Changelog +* Mon Aug 27 2012 Francois Andriot - 0.8-3 +- Add missing gtkrc files + +* Tue May 01 2012 Francois Andriot - 0.8-2 +- Rebuilt for Fedora 17 +- Fix FTBFS with newer glib +- Removes useless post and postun + +* Sun Nov 20 2011 Francois Andriot - 0.8-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/gtk-qt-engine/trinity-gtk-qt-engine-3.5.13.1.spec b/redhat/applications/gtk-qt-engine/trinity-gtk-qt-engine-3.5.13.1.spec deleted file mode 100644 index 387bb7ffe..000000000 --- a/redhat/applications/gtk-qt-engine/trinity-gtk-qt-engine-3.5.13.1.spec +++ /dev/null @@ -1,149 +0,0 @@ -# Default version for this component -%define kdecomp gtk-qt-engine - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: theme engine using Qt for GTK+ 2.x and Trinity -Version: 0.8 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz -Source1: gtk-qt-engine.rc.sh -Source2: gtkrc-2.0-kde4 -Source3: gtkrc-2.0-kde-kde4 - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -The GTK-Qt Theme Engine (also known as gtk-qt-engine) is a GTK 2 theme engine -that calls Qt to do the actual drawing. This makes your GTK 2 applications -look almost like real Qt applications and gives you a more unified desktop -experience. - -Please note that this package is targeted at Trinity users and therefore provides -a way to configure it from within KControl. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Renames the '.po' files -for f in po/*/*.po; do - pushd ${f%/*} - mv -f *.po gtk-qt-engine.po - popd -done - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "CMakeLists.txt" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DDATA_INSTALL_DIR=%{tde_datadir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - .. - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang %{kdecomp} - -# Adds TDE's specific GTKRC -%__install -D -m 644 %{SOURCE1} %{buildroot}%{tde_datadir}/kgtk/gtk-qt-engine.rc.sh -%__install -D -m 644 %{SOURCE2} %{buildroot}%{tde_datadir}/kgtk/.gtkrc-2.0-kde4 -%__install -D -m 644 %{SOURCE3} %{buildroot}%{tde_datadir}/kgtk/.gtkrc-2.0-kde-kde4 - -%clean -%__rm -rf %{buildroot} - - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_tdelibdir}/kcm_kcmgtk.la -%{tde_tdelibdir}/kcm_kcmgtk.so -%{tde_appdir}/kcmgtk.desktop -%{tde_datadir}/kgtk/gtk-qt-engine.rc.sh -%{tde_datadir}/kgtk/.gtkrc-2.0-kde4 -%{tde_datadir}/kgtk/.gtkrc-2.0-kde-kde4 - -# The following files are outside TDE's directory -%{_libdir}/gtk-2.0/2.10.0/engines/libqtengine.so -%{_datadir}/themes/Qt/gtk-2.0/gtkrc - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.8-4 -- Initial build for TDE 3.5.13.1 - -* Mon Aug 27 2012 Francois Andriot - 0.8-3 -- Add missing gtkrc files - -* Tue May 01 2012 Francois Andriot - 0.8-2 -- Rebuilt for Fedora 17 -- Fix FTBFS with newer glib -- Removes useless post and postun - -* Sun Nov 20 2011 Francois Andriot - 0.8-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/gtk-qt-engine/trinity-gtk-qt-engine-3.5.13.2.spec b/redhat/applications/gtk-qt-engine/trinity-gtk-qt-engine-3.5.13.2.spec deleted file mode 100644 index f94b6e9e4..000000000 --- a/redhat/applications/gtk-qt-engine/trinity-gtk-qt-engine-3.5.13.2.spec +++ /dev/null @@ -1,152 +0,0 @@ -# Default version for this component -%define kdecomp gtk-qt-engine - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: theme engine using Qt for GTK+ 2.x and Trinity -Version: 0.8 -Release: 5%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2%{?preversion:~%{preversion}}.tar.gz -Source1: gtk-qt-engine.rc.sh -Source2: gtkrc-2.0-kde4 -Source3: gtkrc-2.0-kde-kde4 - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -The GTK-Qt Theme Engine (also known as gtk-qt-engine) is a GTK 2 theme engine -that calls Qt to do the actual drawing. This makes your GTK 2 applications -look almost like real Qt applications and gives you a more unified desktop -experience. - -Please note that this package is targeted at Trinity users and therefore provides -a way to configure it from within KControl. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2%{?preversion:~%{preversion}} - -# Renames the '.po' files -for f in po/*/*.po; do - pushd ${f%/*} - mv -f *.po gtk-qt-engine.po - popd -done - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "CMakeLists.txt" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DDATA_INSTALL_DIR=%{tde_datadir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - .. - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang %{kdecomp} - -# Adds TDE's specific GTKRC -%__install -D -m 644 %{SOURCE1} %{buildroot}%{tde_datadir}/kgtk/gtk-qt-engine.rc.sh -%__install -D -m 644 %{SOURCE2} %{buildroot}%{tde_datadir}/kgtk/.gtkrc-2.0-kde4 -%__install -D -m 644 %{SOURCE3} %{buildroot}%{tde_datadir}/kgtk/.gtkrc-2.0-kde-kde4 - -%clean -%__rm -rf %{buildroot} - - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_tdelibdir}/kcm_kcmgtk.la -%{tde_tdelibdir}/kcm_kcmgtk.so -%{tde_appdir}/kcmgtk.desktop -%{tde_datadir}/kgtk/gtk-qt-engine.rc.sh -%{tde_datadir}/kgtk/.gtkrc-2.0-kde4 -%{tde_datadir}/kgtk/.gtkrc-2.0-kde-kde4 - -# The following files are outside TDE's directory -%{_libdir}/gtk-2.0/2.10.0/engines/libqtengine.so -%{_datadir}/themes/Qt/gtk-2.0/gtkrc - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 0.8-5 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.8-4 -- Initial build for TDE 3.5.13.1 - -* Mon Aug 27 2012 Francois Andriot - 0.8-3 -- Add missing gtkrc files - -* Tue May 01 2012 Francois Andriot - 0.8-2 -- Rebuilt for Fedora 17 -- Fix FTBFS with newer glib -- Removes useless post and postun - -* Sun Nov 20 2011 Francois Andriot - 0.8-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/gtk-qt-engine/trinity-gtk-qt-engine-3.5.13.spec b/redhat/applications/gtk-qt-engine/trinity-gtk-qt-engine-3.5.13.spec deleted file mode 100644 index 409e4c706..000000000 --- a/redhat/applications/gtk-qt-engine/trinity-gtk-qt-engine-3.5.13.spec +++ /dev/null @@ -1,145 +0,0 @@ -# Default version for this component -%define kdecomp gtk-qt-engine - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: theme engine using Qt for GTK+ 2.x and Trinity -Version: 0.8 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz -Source1: gtk-qt-engine.rc.sh -Source2: gtkrc-2.0-kde4 -Source3: gtkrc-2.0-kde-kde4 - -# [gtk-qt-engine] Fix inclusion of 'glib.h' -Patch1: gtk-qt-engine-3.5.13-fix_glib_include.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -The GTK-Qt Theme Engine (also known as gtk-qt-engine) is a GTK 2 theme engine -that calls Qt to do the actual drawing. This makes your GTK 2 applications -look almost like real Qt applications and gives you a more unified desktop -experience. - -Please note that this package is targeted at Trinity users and therefore provides -a way to configure it from within KControl. - - -%prep -%setup -q -n applications/%{kdecomp} -%patch1 -p1 - -# Renames the '.po' files -for f in po/*/*.po; do - pushd ${f%/*} - mv -f *.po gtk-qt-engine.po - popd -done - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "CMakeLists.txt" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -%if 0%{?rhel} || 0%{?fedora} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DDATA_INSTALL_DIR=%{tde_datadir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - .. - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang %{kdecomp} - -# Adds TDE's specific GTKRC -%__install -D -m 644 %{SOURCE1} %{buildroot}%{tde_datadir}/kgtk/gtk-qt-engine.rc.sh -%__install -D -m 644 %{SOURCE2} %{buildroot}%{tde_datadir}/kgtk/.gtkrc-2.0-kde4 -%__install -D -m 644 %{SOURCE3} %{buildroot}%{tde_datadir}/kgtk/.gtkrc-2.0-kde-kde4 - -%clean -%__rm -rf %{buildroot} - - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_tdelibdir}/kcm_kcmgtk.la -%{tde_tdelibdir}/kcm_kcmgtk.so -%{tde_appdir}/kcmgtk.desktop -%{tde_datadir}/kgtk/gtk-qt-engine.rc.sh -%{tde_datadir}/kgtk/.gtkrc-2.0-kde4 -%{tde_datadir}/kgtk/.gtkrc-2.0-kde-kde4 - -# The following files are outside TDE's directory -%{_libdir}/gtk-2.0/2.10.0/engines/libqtengine.so -%{_datadir}/themes/Qt/gtk-2.0/gtkrc - - -%Changelog -* Mon Aug 27 2012 Francois Andriot - 0.8-3 -- Add missing gtkrc files - -* Tue May 01 2012 Francois Andriot - 0.8-2 -- Rebuilt for Fedora 17 -- Fix FTBFS with newer glib -- Removes useless post and postun - -* Sun Nov 20 2011 Francois Andriot - 0.8-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/gwenview-i18n/gwenview-i18n-3.5.13.1.spec b/redhat/applications/gwenview-i18n/gwenview-i18n-3.5.13.1.spec new file mode 100644 index 000000000..81fb352a0 --- /dev/null +++ b/redhat/applications/gwenview-i18n/gwenview-i18n-3.5.13.1.spec @@ -0,0 +1,180 @@ +# Default version for this component +%define kdecomp gwenview-i18n + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Gwenview is an image viewer for KDE. +Version: 1.4.2 +Release: 1%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch + +Source0: %{kdecomp}-3.5.13.1.tar.gz + + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-arts-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +# EXIV2 support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}exiv2-devel +%endif +%if 0%{?suse_version} +BuildRequires: libexiv2-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: exiv2-devel +%endif + +%if "%{?tde_prefix}" == "/usr" +Conflicts: kdegraphics +%endif + + +%description +Gwenview is a fast and easy to use image viewer/browser for TDE. +All common image formats are supported, such as PNG(including transparency), +JPEG(including EXIF tags and lossless transformations), GIF, XCF (Gimp +image format), BMP, XPM and others. Standard features include slideshow, +fullscreen view, image thumbnails, drag'n'drop, image zoom, full network +transparency using the KIO framework, including basic file operations and +browsing in compressed archives, non-blocking GUI with adjustable views. +Gwenview also provides image and directory KParts components for use e.g. in +Konqueror. Additional features, such as image renaming, comparing, +converting, and batch processing, HTML gallery and others are provided by the +KIPI image framework. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; source /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +./configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --docdir=%{tde_tdedocdir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + + + +## File lists +%find_lang gwenview + +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> gwenview.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi +done +fi + + +# Removes useless files (-devel ?) +%__rm -f %{?buildroot}%{tde_libdir}/libgwenviewcore.so + +%clean +%__rm -rf %{buildroot} + + +%post +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig + +%postun +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig + +%files -f gwenview.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING TODO + +%changelog +* Wed Oct 03 2012 Francois Andriot - 1.4.2-1 +- Initial build for TDE 3.5.13.1 + diff --git a/redhat/applications/gwenview-i18n/gwenview-i18n-3.5.13.2.spec b/redhat/applications/gwenview-i18n/gwenview-i18n-3.5.13.2.spec new file mode 100644 index 000000000..9f822adac --- /dev/null +++ b/redhat/applications/gwenview-i18n/gwenview-i18n-3.5.13.2.spec @@ -0,0 +1,184 @@ +# Default version for this component +%define kdecomp gwenview-i18n + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Gwenview is an image viewer for KDE. +Version: 1.4.2 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch + +Source0: %{name}-3.5.13.2.tar.gz + + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-arts-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +# EXIV2 support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}exiv2-devel +%endif +%if 0%{?suse_version} +BuildRequires: libexiv2-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: exiv2-devel +%endif + +%if "%{?tde_prefix}" == "/usr" +Conflicts: kdegraphics +%endif + + +%description +Gwenview is a fast and easy to use image viewer/browser for TDE. +All common image formats are supported, such as PNG(including transparency), +JPEG(including EXIF tags and lossless transformations), GIF, XCF (Gimp +image format), BMP, XPM and others. Standard features include slideshow, +fullscreen view, image thumbnails, drag'n'drop, image zoom, full network +transparency using the KIO framework, including basic file operations and +browsing in compressed archives, non-blocking GUI with adjustable views. +Gwenview also provides image and directory KParts components for use e.g. in +Konqueror. Additional features, such as image renaming, comparing, +converting, and batch processing, HTML gallery and others are provided by the +KIPI image framework. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; source /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export KDEDIR="%{tde_prefix}" + +./configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --docdir=%{tde_tdedocdir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + + + +## File lists +%find_lang gwenview + +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> gwenview.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi +done +fi + + +# Removes useless files (-devel ?) +%__rm -f %{?buildroot}%{tde_libdir}/libgwenviewcore.so + +%clean +%__rm -rf %{buildroot} + + +%post +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig + +%postun +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig + +%files -f gwenview.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING TODO + +%changelog +* Mon Jun 03 2013 Francois Andriot - 1.4.2-2 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 1.4.2-1 +- Initial build for TDE 3.5.13.1 + diff --git a/redhat/applications/gwenview-i18n/trinity-gwenview-i18n-3.5.13.1.spec b/redhat/applications/gwenview-i18n/trinity-gwenview-i18n-3.5.13.1.spec deleted file mode 100644 index 81fb352a0..000000000 --- a/redhat/applications/gwenview-i18n/trinity-gwenview-i18n-3.5.13.1.spec +++ /dev/null @@ -1,180 +0,0 @@ -# Default version for this component -%define kdecomp gwenview-i18n - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Gwenview is an image viewer for KDE. -Version: 1.4.2 -Release: 1%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildArch: noarch - -Source0: %{kdecomp}-3.5.13.1.tar.gz - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-arts-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -# EXIV2 support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}exiv2-devel -%endif -%if 0%{?suse_version} -BuildRequires: libexiv2-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: exiv2-devel -%endif - -%if "%{?tde_prefix}" == "/usr" -Conflicts: kdegraphics -%endif - - -%description -Gwenview is a fast and easy to use image viewer/browser for TDE. -All common image formats are supported, such as PNG(including transparency), -JPEG(including EXIF tags and lossless transformations), GIF, XCF (Gimp -image format), BMP, XPM and others. Standard features include slideshow, -fullscreen view, image thumbnails, drag'n'drop, image zoom, full network -transparency using the KIO framework, including basic file operations and -browsing in compressed archives, non-blocking GUI with adjustable views. -Gwenview also provides image and directory KParts components for use e.g. in -Konqueror. Additional features, such as image renaming, comparing, -converting, and batch processing, HTML gallery and others are provided by the -KIPI image framework. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; source /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -./configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --docdir=%{tde_tdedocdir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - - - -## File lists -%find_lang gwenview - -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> gwenview.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - - -# Removes useless files (-devel ?) -%__rm -f %{?buildroot}%{tde_libdir}/libgwenviewcore.so - -%clean -%__rm -rf %{buildroot} - - -%post -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig - -%postun -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig - -%files -f gwenview.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING TODO - -%changelog -* Wed Oct 03 2012 Francois Andriot - 1.4.2-1 -- Initial build for TDE 3.5.13.1 - diff --git a/redhat/applications/gwenview-i18n/trinity-gwenview-i18n-3.5.13.2.spec b/redhat/applications/gwenview-i18n/trinity-gwenview-i18n-3.5.13.2.spec deleted file mode 100644 index 9f822adac..000000000 --- a/redhat/applications/gwenview-i18n/trinity-gwenview-i18n-3.5.13.2.spec +++ /dev/null @@ -1,184 +0,0 @@ -# Default version for this component -%define kdecomp gwenview-i18n - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Gwenview is an image viewer for KDE. -Version: 1.4.2 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildArch: noarch - -Source0: %{name}-3.5.13.2.tar.gz - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-arts-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -# EXIV2 support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}exiv2-devel -%endif -%if 0%{?suse_version} -BuildRequires: libexiv2-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: exiv2-devel -%endif - -%if "%{?tde_prefix}" == "/usr" -Conflicts: kdegraphics -%endif - - -%description -Gwenview is a fast and easy to use image viewer/browser for TDE. -All common image formats are supported, such as PNG(including transparency), -JPEG(including EXIF tags and lossless transformations), GIF, XCF (Gimp -image format), BMP, XPM and others. Standard features include slideshow, -fullscreen view, image thumbnails, drag'n'drop, image zoom, full network -transparency using the KIO framework, including basic file operations and -browsing in compressed archives, non-blocking GUI with adjustable views. -Gwenview also provides image and directory KParts components for use e.g. in -Konqueror. Additional features, such as image renaming, comparing, -converting, and batch processing, HTML gallery and others are provided by the -KIPI image framework. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; source /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export KDEDIR="%{tde_prefix}" - -./configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --docdir=%{tde_tdedocdir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - - - -## File lists -%find_lang gwenview - -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> gwenview.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - - -# Removes useless files (-devel ?) -%__rm -f %{?buildroot}%{tde_libdir}/libgwenviewcore.so - -%clean -%__rm -rf %{buildroot} - - -%post -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig - -%postun -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig - -%files -f gwenview.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING TODO - -%changelog -* Mon Jun 03 2013 Francois Andriot - 1.4.2-2 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 1.4.2-1 -- Initial build for TDE 3.5.13.1 - diff --git a/redhat/applications/gwenview/gwenview-3.5.12.spec b/redhat/applications/gwenview/gwenview-3.5.12.spec new file mode 100644 index 000000000..a46d016e2 --- /dev/null +++ b/redhat/applications/gwenview/gwenview-3.5.12.spec @@ -0,0 +1,153 @@ +# Default version for this component +%define kdecomp gwenview +%define version 1.4.2 +%define release 3 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_prefix}/share/doc +%endif + +# TDE 3.5.12 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir} +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/kde3 + + +Name: trinity-%{kdecomp} +Summary: Gwenview is an image viewer for KDE. +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Source0: %{kdecomp}-3.5.12.tar.gz + + + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: trinity-kdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext +BuildRequires: exiv2-devel + +%if "%{?_prefix}" == "/usr" +Conflicts: kdegraphics +%endif + + +%description +Gwenview is a fast and easy to use image viewer/browser for KDE. +All common image formats are supported, such as PNG(including transparency), +JPEG(including EXIF tags and lossless transformations), GIF, XCF (Gimp +image format), BMP, XPM and others. Standard features include slideshow, +fullscreen view, image thumbnails, drag'n'drop, image zoom, full network +transparency using the KIO framework, including basic file operations and +browsing in compressed archives, non-blocking GUI with adjustable views. +Gwenview also provides image and directory KParts components for use e.g. in +Konqueror. Additional features, such as image renaming, comparing, +converting, and batch processing, HTML gallery and others are provided by the +KIPI image framework. + + +%prep +%setup -q -n applications/%{kdecomp} + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%configure \ + --disable-rpath \ + --with-extra-includes=%{_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} +%make_install + + + +## File lists +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi +done +fi + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + +%postun +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{_bindir}/* +%{_libdir}/*.so.* +%{_datadir}/applications/*/*.desktop +%{_datadir}/services/*.desktop +%{_datadir}/apps/*/ +%{_datadir}/config.kcfg/* +%{tde_docdir}/HTML/en/*/ +%{_datadir}/icons/*/*/*/* +%{_mandir}/man*/* + +%{_libdir}/libkdeinit_gwenview.so +%exclude %{_libdir}/libgwenviewcore.so + +%exclude %{_libdir}/*.la +%exclude %{_libdir}/*/*.so +%exclude %{_libdir}/*/*.la + + + +%Changelog +* Tue Sep 14 2011 Francois Andriot - 1.4.2-3 +- Import to GIT + +* Wed Aug 24 2011 Francois Andriot - 1.4.2-2 +- Add fix for Fedora 15 + +* Mon Aug 22 2011 Francois Andriot - 1.4.2-1 +- Correct macro to install under "/opt", if desired + +* Sat Aug 13 2011 Francois Andriot - 1.4.2-0 +- Initial build for RHEL 6.0 + diff --git a/redhat/applications/gwenview/gwenview-3.5.13.1.spec b/redhat/applications/gwenview/gwenview-3.5.13.1.spec new file mode 100644 index 000000000..8cd9660bd --- /dev/null +++ b/redhat/applications/gwenview/gwenview-3.5.13.1.spec @@ -0,0 +1,255 @@ +# Default version for this component +%define kdecomp gwenview + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Gwenview is an image viewer for KDE. +Version: 1.4.2 +Release: 9%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +# [gwenview] Define QT_CLEAN_NAMESPACE during libmng checks [Commit #59c7639f] +Patch11: gwenview-3.5.13-fix_libmng_check.patch + + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-arts-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +# EXIV2 support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}exiv2-devel +%endif +%if 0%{?suse_version} +BuildRequires: libexiv2-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: exiv2-devel +%endif + +%if "%{?tde_prefix}" == "/usr" +Conflicts: kdegraphics +%endif + + +%description +Gwenview is a fast and easy to use image viewer/browser for TDE. +All common image formats are supported, such as PNG(including transparency), +JPEG(including EXIF tags and lossless transformations), GIF, XCF (Gimp +image format), BMP, XPM and others. Standard features include slideshow, +fullscreen view, image thumbnails, drag'n'drop, image zoom, full network +transparency using the KIO framework, including basic file operations and +browsing in compressed archives, non-blocking GUI with adjustable views. +Gwenview also provides image and directory KParts components for use e.g. in +Konqueror. Additional features, such as image renaming, comparing, +converting, and batch processing, HTML gallery and others are provided by the +KIPI image framework. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 +%patch4 -p1 +%patch5 -p1 +%patch11 -p1 -b .libmng + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; source /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --docdir=%{tde_tdedocdir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + + +## File lists +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi +done +fi + +%if 0%{?rhel} == 5 +echo "%lang(en) %{tde_tdedocdir}/HTML/en/gwenview/" >"%{kdecomp}.lang" +%else +%find_lang %{kdecomp} --with-kde --without-mo +%endif + +# Removes useless files (-devel ?) +%__rm -f %{?buildroot}%{tde_libdir}/libgwenviewcore.so + +%clean +%__rm -rf %{buildroot} + + +%post +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig + +%postun +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/gwenview +%{tde_libdir}/libgwenviewcore.la +%{tde_libdir}/libgwenviewcore.so.1 +%{tde_libdir}/libgwenviewcore.so.1.0.0 +%{tde_libdir}/libkdeinit_gwenview.la +%{tde_libdir}/libkdeinit_gwenview.so +%{tde_tdelibdir}/gwenview.la +%{tde_tdelibdir}/gwenview.so +%{tde_tdelibdir}/libgvdirpart.la +%{tde_tdelibdir}/libgvdirpart.so +%{tde_tdelibdir}/libgvimagepart.la +%{tde_tdelibdir}/libgvimagepart.so +%{tde_tdeappdir}/gwenview.desktop +%{tde_datadir}/apps/gwenview/ +%{tde_datadir}/apps/gvdirpart/gvdirpart.rc +%{tde_datadir}/apps/gvimagepart/gvimagepart.rc +%{tde_datadir}/apps/gvimagepart/gvimagepartpopup.rc +%{tde_datadir}/apps/kconf_update/gwenview_1.4_osdformat.sh +%{tde_datadir}/apps/kconf_update/gwenview_1.4_osdformat.upd +%{tde_datadir}/apps/kconf_update/gwenview_thumbnail_size.sh +%{tde_datadir}/apps/kconf_update/gwenview_thumbnail_size.upd +%{tde_datadir}/apps/konqueror/servicemenus/konqgwenview.desktop +%{tde_datadir}/config.kcfg/fileoperationconfig.kcfg +%{tde_datadir}/config.kcfg/fileviewconfig.kcfg +%{tde_datadir}/config.kcfg/fullscreenconfig.kcfg +%{tde_datadir}/config.kcfg/gvdirpartconfig.kcfg +%{tde_datadir}/config.kcfg/imageviewconfig.kcfg +%{tde_datadir}/config.kcfg/miscconfig.kcfg +%{tde_datadir}/config.kcfg/slideshowconfig.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/gvdirpart.png +%{tde_datadir}/icons/crystalsvg/scalable/apps/gvdirpart.svg +%{tde_datadir}/icons/hicolor/*/apps/gwenview.png +%{tde_datadir}/icons/hicolor/*/apps/gvdirpart.png +%{tde_datadir}/icons/hicolor/scalable/apps/gvdirpart.svg +%{tde_datadir}/icons/hicolor/scalable/apps/gwenview.svgz +%{tde_datadir}/man/man1/gwenview.1* +%{tde_datadir}/services/gvdirpart.desktop +%{tde_datadir}/services/gvimagepart.desktop +%{tde_tdedocdir}/HTML/en/gwenview/ + +%changelog +* Wed Oct 03 2012 Francois Andriot - 1.4.2-9 +- Initial build for TDE 3.5.13.1 + +* Sat Aug 04 2012 Francois Andriot - 1.4.2-8 +- Add support for Mageia 2 and Mandriva 2011 +- Define QT_CLEAN_NAMESPACE during libmng checks [Commit #59c7639f] + +* Tue May 01 2012 Francois Andriot - 1.4.2-7 +- Rebuilt for Fedora 17 +- Fix post and postun +- Adds patches from GIT + +* Fri Nov 25 2011 Francois Andriot - 1.4.2-6 +- Fix HTML directory location + +* Fri Nov 04 2011 Francois Andriot - 1.4.2-5 +- Adds missing files + +* Sun Oct 30 2011 Francois Andriot - 1.4.2-4 +- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 + +* Tue Sep 14 2011 Francois Andriot - 1.4.2-3 +- Import to GIT + +* Wed Aug 24 2011 Francois Andriot - 1.4.2-2 +- Add fix for Fedora 15 + +* Mon Aug 22 2011 Francois Andriot - 1.4.2-1 +- Correct macro to install under "/opt", if desired + +* Sat Aug 13 2011 Francois Andriot - 1.4.2-0 +- Initial build for RHEL 6.0 + diff --git a/redhat/applications/gwenview/gwenview-3.5.13.2.spec b/redhat/applications/gwenview/gwenview-3.5.13.2.spec new file mode 100644 index 000000000..c5d8fe144 --- /dev/null +++ b/redhat/applications/gwenview/gwenview-3.5.13.2.spec @@ -0,0 +1,246 @@ +# Default version for this component +%define kdecomp gwenview + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Gwenview is an image viewer for KDE. +Version: 1.4.2 +Release: 10%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-arts-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +# EXIV2 support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}exiv2-devel +%endif +%if 0%{?suse_version} +BuildRequires: libexiv2-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: exiv2-devel +%endif + +%if "%{?tde_prefix}" == "/usr" +Conflicts: kdegraphics +%endif + + +%description +Gwenview is a fast and easy to use image viewer/browser for TDE. +All common image formats are supported, such as PNG(including transparency), +JPEG(including EXIF tags and lossless transformations), GIF, XCF (Gimp +image format), BMP, XPM and others. Standard features include slideshow, +fullscreen view, image thumbnails, drag'n'drop, image zoom, full network +transparency using the KIO framework, including basic file operations and +browsing in compressed archives, non-blocking GUI with adjustable views. +Gwenview also provides image and directory KParts components for use e.g. in +Konqueror. Additional features, such as image renaming, comparing, +converting, and batch processing, HTML gallery and others are provided by the +KIPI image framework. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; source /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --docdir=%{tde_tdedocdir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + + +## File lists +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi +done +fi + +# Removes useless files (-devel ?) +%__rm -f %{?buildroot}%{tde_libdir}/libgwenviewcore.so + +%clean +%__rm -rf %{buildroot} + + +%post +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig + +%postun +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/gwenview +%{tde_libdir}/libgwenviewcore.la +%{tde_libdir}/libgwenviewcore.so.1 +%{tde_libdir}/libgwenviewcore.so.1.0.0 +%{tde_libdir}/libkdeinit_gwenview.la +%{tde_libdir}/libkdeinit_gwenview.so +%{tde_tdelibdir}/gwenview.la +%{tde_tdelibdir}/gwenview.so +%{tde_tdelibdir}/libgvdirpart.la +%{tde_tdelibdir}/libgvdirpart.so +%{tde_tdelibdir}/libgvimagepart.la +%{tde_tdelibdir}/libgvimagepart.so +%{tde_tdeappdir}/gwenview.desktop +%{tde_datadir}/apps/gwenview/ +%{tde_datadir}/apps/gvdirpart/gvdirpart.rc +%{tde_datadir}/apps/gvimagepart/gvimagepart.rc +%{tde_datadir}/apps/gvimagepart/gvimagepartpopup.rc +%{tde_datadir}/apps/kconf_update/gwenview_1.4_osdformat.sh +%{tde_datadir}/apps/kconf_update/gwenview_1.4_osdformat.upd +%{tde_datadir}/apps/kconf_update/gwenview_thumbnail_size.sh +%{tde_datadir}/apps/kconf_update/gwenview_thumbnail_size.upd +%{tde_datadir}/apps/konqueror/servicemenus/konqgwenview.desktop +%{tde_datadir}/config.kcfg/fileoperationconfig.kcfg +%{tde_datadir}/config.kcfg/fileviewconfig.kcfg +%{tde_datadir}/config.kcfg/fullscreenconfig.kcfg +%{tde_datadir}/config.kcfg/gvdirpartconfig.kcfg +%{tde_datadir}/config.kcfg/imageviewconfig.kcfg +%{tde_datadir}/config.kcfg/miscconfig.kcfg +%{tde_datadir}/config.kcfg/slideshowconfig.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/gvdirpart.png +%{tde_datadir}/icons/crystalsvg/scalable/apps/gvdirpart.svg +%{tde_datadir}/icons/hicolor/*/apps/gwenview.png +%{tde_datadir}/icons/hicolor/*/apps/gvdirpart.png +%{tde_datadir}/icons/hicolor/scalable/apps/gvdirpart.svg +%{tde_datadir}/icons/hicolor/scalable/apps/gwenview.svgz +%{tde_datadir}/man/man1/gwenview.1* +%{tde_datadir}/services/gvdirpart.desktop +%{tde_datadir}/services/gvimagepart.desktop +%lang(en) %{tde_tdedocdir}/HTML/en/gwenview/ + +%changelog +* Mon Jun 03 2013 Francois Andriot - 1.4.2-10 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 1.4.2-9 +- Initial build for TDE 3.5.13.1 + +* Sat Aug 04 2012 Francois Andriot - 1.4.2-8 +- Add support for Mageia 2 and Mandriva 2011 +- Define QT_CLEAN_NAMESPACE during libmng checks [Commit #59c7639f] + +* Tue May 01 2012 Francois Andriot - 1.4.2-7 +- Rebuilt for Fedora 17 +- Fix post and postun +- Adds patches from GIT + +* Fri Nov 25 2011 Francois Andriot - 1.4.2-6 +- Fix HTML directory location + +* Fri Nov 04 2011 Francois Andriot - 1.4.2-5 +- Adds missing files + +* Sun Oct 30 2011 Francois Andriot - 1.4.2-4 +- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 + +* Tue Sep 14 2011 Francois Andriot - 1.4.2-3 +- Import to GIT + +* Wed Aug 24 2011 Francois Andriot - 1.4.2-2 +- Add fix for Fedora 15 + +* Mon Aug 22 2011 Francois Andriot - 1.4.2-1 +- Correct macro to install under "/opt", if desired + +* Sat Aug 13 2011 Francois Andriot - 1.4.2-0 +- Initial build for RHEL 6.0 + diff --git a/redhat/applications/gwenview/gwenview-3.5.13.spec b/redhat/applications/gwenview/gwenview-3.5.13.spec new file mode 100644 index 000000000..e2c3d63bc --- /dev/null +++ b/redhat/applications/gwenview/gwenview-3.5.13.spec @@ -0,0 +1,269 @@ +# Default version for this component +%define kdecomp gwenview + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Gwenview is an image viewer for KDE. +Version: 1.4.2 +Release: 8%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +# [gwenview] Rename old tq methods that no longer need a unique name [Commit #d0bdd0d7] +Patch1: gwenview-3.5.13-rename_old_tq_method.patch +# [gwenview] Remove additional unneeded tq method conversions [Commit #eba1d381] +Patch2: gwenview-3.5.13-remove_additional_tq_conversions.patch +# [gwenview] Rename obsolete tq methods to standard names [Commit #04fccf73] +Patch3: gwenview-3.5.13-rename_obsolete_tq_methods.patch +# [gwenview] Rename a few stragglers [Commit #b4881a61] +Patch4: gwenview-3.5.13-rename_a_few_stragglers.patch +# [gwenview] Fix FTBFS [Commit #1ca2f739] +Patch5: gwenview-3.5.13-fix_ftbfs.patch +# [gwenview] Fix FTBFS in jpeg code [Commit #ace6f270] +Patch6: gwenview-3.5.13-fix_ftbfs_in_jpeg_code.patch +# [gwenview] Fix linear alphabet string errors [Commit #9cb99cdb] +Patch7: gwenview-3.5.13-fix_alphabet_string_error.patch +# [gwenview] Fix building with libpng 1.5. [Commit #303be455] +Patch8: gwenview-3.5.13-fix_building_libpng15.patch +# [gwenview] Fix inadvertent tqt changes. Part of an extensive cleanup of various problems +# with kipi-plugins, digikam, and gwenview to resolve bug reports 241, 962, 963. [Commit #1eac443e] +Patch9: gwenview-3.5.13-fix_various_problems.patch +# [gwenview] Missing LDFLAGS cause FTBFS on Mageia 2 / Mandriva 2011 +Patch10: gwenview-3.5.13-missing_ldflags.patch +# [gwenview] Define QT_CLEAN_NAMESPACE during libmng checks [Commit #59c7639f] +Patch11: gwenview-3.5.13-fix_libmng_check.patch + + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-arts-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}exiv2-devel +%else +BuildRequires: exiv2-devel +%endif + +%if "%{?tde_prefix}" == "/usr" +Conflicts: kdegraphics +%endif + + +%description +Gwenview is a fast and easy to use image viewer/browser for TDE. +All common image formats are supported, such as PNG(including transparency), +JPEG(including EXIF tags and lossless transformations), GIF, XCF (Gimp +image format), BMP, XPM and others. Standard features include slideshow, +fullscreen view, image thumbnails, drag'n'drop, image zoom, full network +transparency using the KIO framework, including basic file operations and +browsing in compressed archives, non-blocking GUI with adjustable views. +Gwenview also provides image and directory KParts components for use e.g. in +Konqueror. Additional features, such as image renaming, comparing, +converting, and batch processing, HTML gallery and others are provided by the +KIPI image framework. + + +%prep +%setup -q -n applications/%{kdecomp} +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 +%patch8 -p1 +%patch9 -p1 +%patch10 -p1 -b .ldflags +%patch11 -p1 -b .libmng + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; source /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --docdir=%{tde_tdedocdir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + + +## File lists +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi +done +fi + +%if 0%{?rhel} == 5 +echo "%lang(en) %{tde_tdedocdir}/HTML/en/gwenview/" >"%{kdecomp}.lang" +%else +%find_lang %{kdecomp} --with-kde --without-mo +%endif + +# Removes useless files (-devel ?) +%__rm -f %{?buildroot}%{tde_libdir}/libgwenviewcore.so + +%clean +%__rm -rf %{buildroot} + + +%post +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig + +%postun +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/gwenview +%{tde_libdir}/libgwenviewcore.la +%{tde_libdir}/libgwenviewcore.so.1 +%{tde_libdir}/libgwenviewcore.so.1.0.0 +%{tde_libdir}/libkdeinit_gwenview.la +%{tde_libdir}/libkdeinit_gwenview.so +%{tde_tdelibdir}/gwenview.la +%{tde_tdelibdir}/gwenview.so +%{tde_tdelibdir}/libgvdirpart.la +%{tde_tdelibdir}/libgvdirpart.so +%{tde_tdelibdir}/libgvimagepart.la +%{tde_tdelibdir}/libgvimagepart.so +%{tde_tdeappdir}/gwenview.desktop +%{tde_datadir}/apps/gwenview/ +%{tde_datadir}/apps/gvdirpart/gvdirpart.rc +%{tde_datadir}/apps/gvimagepart/gvimagepart.rc +%{tde_datadir}/apps/gvimagepart/gvimagepartpopup.rc +%{tde_datadir}/apps/kconf_update/gwenview_1.4_osdformat.sh +%{tde_datadir}/apps/kconf_update/gwenview_1.4_osdformat.upd +%{tde_datadir}/apps/kconf_update/gwenview_thumbnail_size.sh +%{tde_datadir}/apps/kconf_update/gwenview_thumbnail_size.upd +%{tde_datadir}/apps/konqueror/servicemenus/konqgwenview.desktop +%{tde_datadir}/config.kcfg/fileoperationconfig.kcfg +%{tde_datadir}/config.kcfg/fileviewconfig.kcfg +%{tde_datadir}/config.kcfg/fullscreenconfig.kcfg +%{tde_datadir}/config.kcfg/gvdirpartconfig.kcfg +%{tde_datadir}/config.kcfg/imageviewconfig.kcfg +%{tde_datadir}/config.kcfg/miscconfig.kcfg +%{tde_datadir}/config.kcfg/slideshowconfig.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/gvdirpart.png +%{tde_datadir}/icons/crystalsvg/scalable/apps/gvdirpart.svg +%{tde_datadir}/icons/hicolor/*/apps/gwenview.png +%{tde_datadir}/icons/hicolor/*/apps/gvdirpart.png +%{tde_datadir}/icons/hicolor/scalable/apps/gvdirpart.svg +%{tde_datadir}/icons/hicolor/scalable/apps/gwenview.svgz +%{tde_datadir}/man/man1/gwenview.1* +%{tde_datadir}/services/gvdirpart.desktop +%{tde_datadir}/services/gvimagepart.desktop + + +%Changelog +* Sat Aug 04 2012 Francois Andriot - 1.4.2-8 +- Add support for Mageia 2 and Mandriva 2011 +- Define QT_CLEAN_NAMESPACE during libmng checks [Commit #59c7639f] + +* Tue May 01 2012 Francois Andriot - 1.4.2-7 +- Rebuilt for Fedora 17 +- Fix post and postun +- Adds patches from GIT + +* Fri Nov 25 2011 Francois Andriot - 1.4.2-6 +- Fix HTML directory location + +* Fri Nov 04 2011 Francois Andriot - 1.4.2-5 +- Adds missing files + +* Sun Oct 30 2011 Francois Andriot - 1.4.2-4 +- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 + +* Tue Sep 14 2011 Francois Andriot - 1.4.2-3 +- Import to GIT + +* Wed Aug 24 2011 Francois Andriot - 1.4.2-2 +- Add fix for Fedora 15 + +* Mon Aug 22 2011 Francois Andriot - 1.4.2-1 +- Correct macro to install under "/opt", if desired + +* Sat Aug 13 2011 Francois Andriot - 1.4.2-0 +- Initial build for RHEL 6.0 + diff --git a/redhat/applications/gwenview/trinity-gwenview-3.5.12.spec b/redhat/applications/gwenview/trinity-gwenview-3.5.12.spec deleted file mode 100644 index a46d016e2..000000000 --- a/redhat/applications/gwenview/trinity-gwenview-3.5.12.spec +++ /dev/null @@ -1,153 +0,0 @@ -# Default version for this component -%define kdecomp gwenview -%define version 1.4.2 -%define release 3 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_includedir %{_includedir}/kde -%define tde_libdir %{_libdir}/kde3 - - -Name: trinity-%{kdecomp} -Summary: Gwenview is an image viewer for KDE. -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Source0: %{kdecomp}-3.5.12.tar.gz - - - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: trinity-kdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext -BuildRequires: exiv2-devel - -%if "%{?_prefix}" == "/usr" -Conflicts: kdegraphics -%endif - - -%description -Gwenview is a fast and easy to use image viewer/browser for KDE. -All common image formats are supported, such as PNG(including transparency), -JPEG(including EXIF tags and lossless transformations), GIF, XCF (Gimp -image format), BMP, XPM and others. Standard features include slideshow, -fullscreen view, image thumbnails, drag'n'drop, image zoom, full network -transparency using the KIO framework, including basic file operations and -browsing in compressed archives, non-blocking GUI with adjustable views. -Gwenview also provides image and directory KParts components for use e.g. in -Konqueror. Additional features, such as image renaming, comparing, -converting, and batch processing, HTML gallery and others are provided by the -KIPI image framework. - - -%prep -%setup -q -n applications/%{kdecomp} - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -%configure \ - --disable-rpath \ - --with-extra-includes=%{_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{buildroot} -%make_install - - - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : - -%postun -touch --no-create %{_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{_bindir}/* -%{_libdir}/*.so.* -%{_datadir}/applications/*/*.desktop -%{_datadir}/services/*.desktop -%{_datadir}/apps/*/ -%{_datadir}/config.kcfg/* -%{tde_docdir}/HTML/en/*/ -%{_datadir}/icons/*/*/*/* -%{_mandir}/man*/* - -%{_libdir}/libkdeinit_gwenview.so -%exclude %{_libdir}/libgwenviewcore.so - -%exclude %{_libdir}/*.la -%exclude %{_libdir}/*/*.so -%exclude %{_libdir}/*/*.la - - - -%Changelog -* Tue Sep 14 2011 Francois Andriot - 1.4.2-3 -- Import to GIT - -* Wed Aug 24 2011 Francois Andriot - 1.4.2-2 -- Add fix for Fedora 15 - -* Mon Aug 22 2011 Francois Andriot - 1.4.2-1 -- Correct macro to install under "/opt", if desired - -* Sat Aug 13 2011 Francois Andriot - 1.4.2-0 -- Initial build for RHEL 6.0 - diff --git a/redhat/applications/gwenview/trinity-gwenview-3.5.13.1.spec b/redhat/applications/gwenview/trinity-gwenview-3.5.13.1.spec deleted file mode 100644 index 8cd9660bd..000000000 --- a/redhat/applications/gwenview/trinity-gwenview-3.5.13.1.spec +++ /dev/null @@ -1,255 +0,0 @@ -# Default version for this component -%define kdecomp gwenview - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Gwenview is an image viewer for KDE. -Version: 1.4.2 -Release: 9%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -# [gwenview] Define QT_CLEAN_NAMESPACE during libmng checks [Commit #59c7639f] -Patch11: gwenview-3.5.13-fix_libmng_check.patch - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-arts-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -# EXIV2 support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}exiv2-devel -%endif -%if 0%{?suse_version} -BuildRequires: libexiv2-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: exiv2-devel -%endif - -%if "%{?tde_prefix}" == "/usr" -Conflicts: kdegraphics -%endif - - -%description -Gwenview is a fast and easy to use image viewer/browser for TDE. -All common image formats are supported, such as PNG(including transparency), -JPEG(including EXIF tags and lossless transformations), GIF, XCF (Gimp -image format), BMP, XPM and others. Standard features include slideshow, -fullscreen view, image thumbnails, drag'n'drop, image zoom, full network -transparency using the KIO framework, including basic file operations and -browsing in compressed archives, non-blocking GUI with adjustable views. -Gwenview also provides image and directory KParts components for use e.g. in -Konqueror. Additional features, such as image renaming, comparing, -converting, and batch processing, HTML gallery and others are provided by the -KIPI image framework. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 -%patch4 -p1 -%patch5 -p1 -%patch11 -p1 -b .libmng - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; source /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --docdir=%{tde_tdedocdir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - -%if 0%{?rhel} == 5 -echo "%lang(en) %{tde_tdedocdir}/HTML/en/gwenview/" >"%{kdecomp}.lang" -%else -%find_lang %{kdecomp} --with-kde --without-mo -%endif - -# Removes useless files (-devel ?) -%__rm -f %{?buildroot}%{tde_libdir}/libgwenviewcore.so - -%clean -%__rm -rf %{buildroot} - - -%post -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig - -%postun -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/gwenview -%{tde_libdir}/libgwenviewcore.la -%{tde_libdir}/libgwenviewcore.so.1 -%{tde_libdir}/libgwenviewcore.so.1.0.0 -%{tde_libdir}/libkdeinit_gwenview.la -%{tde_libdir}/libkdeinit_gwenview.so -%{tde_tdelibdir}/gwenview.la -%{tde_tdelibdir}/gwenview.so -%{tde_tdelibdir}/libgvdirpart.la -%{tde_tdelibdir}/libgvdirpart.so -%{tde_tdelibdir}/libgvimagepart.la -%{tde_tdelibdir}/libgvimagepart.so -%{tde_tdeappdir}/gwenview.desktop -%{tde_datadir}/apps/gwenview/ -%{tde_datadir}/apps/gvdirpart/gvdirpart.rc -%{tde_datadir}/apps/gvimagepart/gvimagepart.rc -%{tde_datadir}/apps/gvimagepart/gvimagepartpopup.rc -%{tde_datadir}/apps/kconf_update/gwenview_1.4_osdformat.sh -%{tde_datadir}/apps/kconf_update/gwenview_1.4_osdformat.upd -%{tde_datadir}/apps/kconf_update/gwenview_thumbnail_size.sh -%{tde_datadir}/apps/kconf_update/gwenview_thumbnail_size.upd -%{tde_datadir}/apps/konqueror/servicemenus/konqgwenview.desktop -%{tde_datadir}/config.kcfg/fileoperationconfig.kcfg -%{tde_datadir}/config.kcfg/fileviewconfig.kcfg -%{tde_datadir}/config.kcfg/fullscreenconfig.kcfg -%{tde_datadir}/config.kcfg/gvdirpartconfig.kcfg -%{tde_datadir}/config.kcfg/imageviewconfig.kcfg -%{tde_datadir}/config.kcfg/miscconfig.kcfg -%{tde_datadir}/config.kcfg/slideshowconfig.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/gvdirpart.png -%{tde_datadir}/icons/crystalsvg/scalable/apps/gvdirpart.svg -%{tde_datadir}/icons/hicolor/*/apps/gwenview.png -%{tde_datadir}/icons/hicolor/*/apps/gvdirpart.png -%{tde_datadir}/icons/hicolor/scalable/apps/gvdirpart.svg -%{tde_datadir}/icons/hicolor/scalable/apps/gwenview.svgz -%{tde_datadir}/man/man1/gwenview.1* -%{tde_datadir}/services/gvdirpart.desktop -%{tde_datadir}/services/gvimagepart.desktop -%{tde_tdedocdir}/HTML/en/gwenview/ - -%changelog -* Wed Oct 03 2012 Francois Andriot - 1.4.2-9 -- Initial build for TDE 3.5.13.1 - -* Sat Aug 04 2012 Francois Andriot - 1.4.2-8 -- Add support for Mageia 2 and Mandriva 2011 -- Define QT_CLEAN_NAMESPACE during libmng checks [Commit #59c7639f] - -* Tue May 01 2012 Francois Andriot - 1.4.2-7 -- Rebuilt for Fedora 17 -- Fix post and postun -- Adds patches from GIT - -* Fri Nov 25 2011 Francois Andriot - 1.4.2-6 -- Fix HTML directory location - -* Fri Nov 04 2011 Francois Andriot - 1.4.2-5 -- Adds missing files - -* Sun Oct 30 2011 Francois Andriot - 1.4.2-4 -- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 - -* Tue Sep 14 2011 Francois Andriot - 1.4.2-3 -- Import to GIT - -* Wed Aug 24 2011 Francois Andriot - 1.4.2-2 -- Add fix for Fedora 15 - -* Mon Aug 22 2011 Francois Andriot - 1.4.2-1 -- Correct macro to install under "/opt", if desired - -* Sat Aug 13 2011 Francois Andriot - 1.4.2-0 -- Initial build for RHEL 6.0 - diff --git a/redhat/applications/gwenview/trinity-gwenview-3.5.13.2.spec b/redhat/applications/gwenview/trinity-gwenview-3.5.13.2.spec deleted file mode 100644 index c5d8fe144..000000000 --- a/redhat/applications/gwenview/trinity-gwenview-3.5.13.2.spec +++ /dev/null @@ -1,246 +0,0 @@ -# Default version for this component -%define kdecomp gwenview - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Gwenview is an image viewer for KDE. -Version: 1.4.2 -Release: 10%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-arts-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -# EXIV2 support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}exiv2-devel -%endif -%if 0%{?suse_version} -BuildRequires: libexiv2-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: exiv2-devel -%endif - -%if "%{?tde_prefix}" == "/usr" -Conflicts: kdegraphics -%endif - - -%description -Gwenview is a fast and easy to use image viewer/browser for TDE. -All common image formats are supported, such as PNG(including transparency), -JPEG(including EXIF tags and lossless transformations), GIF, XCF (Gimp -image format), BMP, XPM and others. Standard features include slideshow, -fullscreen view, image thumbnails, drag'n'drop, image zoom, full network -transparency using the KIO framework, including basic file operations and -browsing in compressed archives, non-blocking GUI with adjustable views. -Gwenview also provides image and directory KParts components for use e.g. in -Konqueror. Additional features, such as image renaming, comparing, -converting, and batch processing, HTML gallery and others are provided by the -KIPI image framework. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; source /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --docdir=%{tde_tdedocdir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - -# Removes useless files (-devel ?) -%__rm -f %{?buildroot}%{tde_libdir}/libgwenviewcore.so - -%clean -%__rm -rf %{buildroot} - - -%post -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig - -%postun -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/gwenview -%{tde_libdir}/libgwenviewcore.la -%{tde_libdir}/libgwenviewcore.so.1 -%{tde_libdir}/libgwenviewcore.so.1.0.0 -%{tde_libdir}/libkdeinit_gwenview.la -%{tde_libdir}/libkdeinit_gwenview.so -%{tde_tdelibdir}/gwenview.la -%{tde_tdelibdir}/gwenview.so -%{tde_tdelibdir}/libgvdirpart.la -%{tde_tdelibdir}/libgvdirpart.so -%{tde_tdelibdir}/libgvimagepart.la -%{tde_tdelibdir}/libgvimagepart.so -%{tde_tdeappdir}/gwenview.desktop -%{tde_datadir}/apps/gwenview/ -%{tde_datadir}/apps/gvdirpart/gvdirpart.rc -%{tde_datadir}/apps/gvimagepart/gvimagepart.rc -%{tde_datadir}/apps/gvimagepart/gvimagepartpopup.rc -%{tde_datadir}/apps/kconf_update/gwenview_1.4_osdformat.sh -%{tde_datadir}/apps/kconf_update/gwenview_1.4_osdformat.upd -%{tde_datadir}/apps/kconf_update/gwenview_thumbnail_size.sh -%{tde_datadir}/apps/kconf_update/gwenview_thumbnail_size.upd -%{tde_datadir}/apps/konqueror/servicemenus/konqgwenview.desktop -%{tde_datadir}/config.kcfg/fileoperationconfig.kcfg -%{tde_datadir}/config.kcfg/fileviewconfig.kcfg -%{tde_datadir}/config.kcfg/fullscreenconfig.kcfg -%{tde_datadir}/config.kcfg/gvdirpartconfig.kcfg -%{tde_datadir}/config.kcfg/imageviewconfig.kcfg -%{tde_datadir}/config.kcfg/miscconfig.kcfg -%{tde_datadir}/config.kcfg/slideshowconfig.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/gvdirpart.png -%{tde_datadir}/icons/crystalsvg/scalable/apps/gvdirpart.svg -%{tde_datadir}/icons/hicolor/*/apps/gwenview.png -%{tde_datadir}/icons/hicolor/*/apps/gvdirpart.png -%{tde_datadir}/icons/hicolor/scalable/apps/gvdirpart.svg -%{tde_datadir}/icons/hicolor/scalable/apps/gwenview.svgz -%{tde_datadir}/man/man1/gwenview.1* -%{tde_datadir}/services/gvdirpart.desktop -%{tde_datadir}/services/gvimagepart.desktop -%lang(en) %{tde_tdedocdir}/HTML/en/gwenview/ - -%changelog -* Mon Jun 03 2013 Francois Andriot - 1.4.2-10 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 1.4.2-9 -- Initial build for TDE 3.5.13.1 - -* Sat Aug 04 2012 Francois Andriot - 1.4.2-8 -- Add support for Mageia 2 and Mandriva 2011 -- Define QT_CLEAN_NAMESPACE during libmng checks [Commit #59c7639f] - -* Tue May 01 2012 Francois Andriot - 1.4.2-7 -- Rebuilt for Fedora 17 -- Fix post and postun -- Adds patches from GIT - -* Fri Nov 25 2011 Francois Andriot - 1.4.2-6 -- Fix HTML directory location - -* Fri Nov 04 2011 Francois Andriot - 1.4.2-5 -- Adds missing files - -* Sun Oct 30 2011 Francois Andriot - 1.4.2-4 -- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 - -* Tue Sep 14 2011 Francois Andriot - 1.4.2-3 -- Import to GIT - -* Wed Aug 24 2011 Francois Andriot - 1.4.2-2 -- Add fix for Fedora 15 - -* Mon Aug 22 2011 Francois Andriot - 1.4.2-1 -- Correct macro to install under "/opt", if desired - -* Sat Aug 13 2011 Francois Andriot - 1.4.2-0 -- Initial build for RHEL 6.0 - diff --git a/redhat/applications/gwenview/trinity-gwenview-3.5.13.spec b/redhat/applications/gwenview/trinity-gwenview-3.5.13.spec deleted file mode 100644 index e2c3d63bc..000000000 --- a/redhat/applications/gwenview/trinity-gwenview-3.5.13.spec +++ /dev/null @@ -1,269 +0,0 @@ -# Default version for this component -%define kdecomp gwenview - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Gwenview is an image viewer for KDE. -Version: 1.4.2 -Release: 8%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# [gwenview] Rename old tq methods that no longer need a unique name [Commit #d0bdd0d7] -Patch1: gwenview-3.5.13-rename_old_tq_method.patch -# [gwenview] Remove additional unneeded tq method conversions [Commit #eba1d381] -Patch2: gwenview-3.5.13-remove_additional_tq_conversions.patch -# [gwenview] Rename obsolete tq methods to standard names [Commit #04fccf73] -Patch3: gwenview-3.5.13-rename_obsolete_tq_methods.patch -# [gwenview] Rename a few stragglers [Commit #b4881a61] -Patch4: gwenview-3.5.13-rename_a_few_stragglers.patch -# [gwenview] Fix FTBFS [Commit #1ca2f739] -Patch5: gwenview-3.5.13-fix_ftbfs.patch -# [gwenview] Fix FTBFS in jpeg code [Commit #ace6f270] -Patch6: gwenview-3.5.13-fix_ftbfs_in_jpeg_code.patch -# [gwenview] Fix linear alphabet string errors [Commit #9cb99cdb] -Patch7: gwenview-3.5.13-fix_alphabet_string_error.patch -# [gwenview] Fix building with libpng 1.5. [Commit #303be455] -Patch8: gwenview-3.5.13-fix_building_libpng15.patch -# [gwenview] Fix inadvertent tqt changes. Part of an extensive cleanup of various problems -# with kipi-plugins, digikam, and gwenview to resolve bug reports 241, 962, 963. [Commit #1eac443e] -Patch9: gwenview-3.5.13-fix_various_problems.patch -# [gwenview] Missing LDFLAGS cause FTBFS on Mageia 2 / Mandriva 2011 -Patch10: gwenview-3.5.13-missing_ldflags.patch -# [gwenview] Define QT_CLEAN_NAMESPACE during libmng checks [Commit #59c7639f] -Patch11: gwenview-3.5.13-fix_libmng_check.patch - - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-arts-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}exiv2-devel -%else -BuildRequires: exiv2-devel -%endif - -%if "%{?tde_prefix}" == "/usr" -Conflicts: kdegraphics -%endif - - -%description -Gwenview is a fast and easy to use image viewer/browser for TDE. -All common image formats are supported, such as PNG(including transparency), -JPEG(including EXIF tags and lossless transformations), GIF, XCF (Gimp -image format), BMP, XPM and others. Standard features include slideshow, -fullscreen view, image thumbnails, drag'n'drop, image zoom, full network -transparency using the KIO framework, including basic file operations and -browsing in compressed archives, non-blocking GUI with adjustable views. -Gwenview also provides image and directory KParts components for use e.g. in -Konqueror. Additional features, such as image renaming, comparing, -converting, and batch processing, HTML gallery and others are provided by the -KIPI image framework. - - -%prep -%setup -q -n applications/%{kdecomp} -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 -%patch8 -p1 -%patch9 -p1 -%patch10 -p1 -b .ldflags -%patch11 -p1 -b .libmng - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; source /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --docdir=%{tde_tdedocdir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - -%if 0%{?rhel} == 5 -echo "%lang(en) %{tde_tdedocdir}/HTML/en/gwenview/" >"%{kdecomp}.lang" -%else -%find_lang %{kdecomp} --with-kde --without-mo -%endif - -# Removes useless files (-devel ?) -%__rm -f %{?buildroot}%{tde_libdir}/libgwenviewcore.so - -%clean -%__rm -rf %{buildroot} - - -%post -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig - -%postun -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/gwenview -%{tde_libdir}/libgwenviewcore.la -%{tde_libdir}/libgwenviewcore.so.1 -%{tde_libdir}/libgwenviewcore.so.1.0.0 -%{tde_libdir}/libkdeinit_gwenview.la -%{tde_libdir}/libkdeinit_gwenview.so -%{tde_tdelibdir}/gwenview.la -%{tde_tdelibdir}/gwenview.so -%{tde_tdelibdir}/libgvdirpart.la -%{tde_tdelibdir}/libgvdirpart.so -%{tde_tdelibdir}/libgvimagepart.la -%{tde_tdelibdir}/libgvimagepart.so -%{tde_tdeappdir}/gwenview.desktop -%{tde_datadir}/apps/gwenview/ -%{tde_datadir}/apps/gvdirpart/gvdirpart.rc -%{tde_datadir}/apps/gvimagepart/gvimagepart.rc -%{tde_datadir}/apps/gvimagepart/gvimagepartpopup.rc -%{tde_datadir}/apps/kconf_update/gwenview_1.4_osdformat.sh -%{tde_datadir}/apps/kconf_update/gwenview_1.4_osdformat.upd -%{tde_datadir}/apps/kconf_update/gwenview_thumbnail_size.sh -%{tde_datadir}/apps/kconf_update/gwenview_thumbnail_size.upd -%{tde_datadir}/apps/konqueror/servicemenus/konqgwenview.desktop -%{tde_datadir}/config.kcfg/fileoperationconfig.kcfg -%{tde_datadir}/config.kcfg/fileviewconfig.kcfg -%{tde_datadir}/config.kcfg/fullscreenconfig.kcfg -%{tde_datadir}/config.kcfg/gvdirpartconfig.kcfg -%{tde_datadir}/config.kcfg/imageviewconfig.kcfg -%{tde_datadir}/config.kcfg/miscconfig.kcfg -%{tde_datadir}/config.kcfg/slideshowconfig.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/gvdirpart.png -%{tde_datadir}/icons/crystalsvg/scalable/apps/gvdirpart.svg -%{tde_datadir}/icons/hicolor/*/apps/gwenview.png -%{tde_datadir}/icons/hicolor/*/apps/gvdirpart.png -%{tde_datadir}/icons/hicolor/scalable/apps/gvdirpart.svg -%{tde_datadir}/icons/hicolor/scalable/apps/gwenview.svgz -%{tde_datadir}/man/man1/gwenview.1* -%{tde_datadir}/services/gvdirpart.desktop -%{tde_datadir}/services/gvimagepart.desktop - - -%Changelog -* Sat Aug 04 2012 Francois Andriot - 1.4.2-8 -- Add support for Mageia 2 and Mandriva 2011 -- Define QT_CLEAN_NAMESPACE during libmng checks [Commit #59c7639f] - -* Tue May 01 2012 Francois Andriot - 1.4.2-7 -- Rebuilt for Fedora 17 -- Fix post and postun -- Adds patches from GIT - -* Fri Nov 25 2011 Francois Andriot - 1.4.2-6 -- Fix HTML directory location - -* Fri Nov 04 2011 Francois Andriot - 1.4.2-5 -- Adds missing files - -* Sun Oct 30 2011 Francois Andriot - 1.4.2-4 -- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 - -* Tue Sep 14 2011 Francois Andriot - 1.4.2-3 -- Import to GIT - -* Wed Aug 24 2011 Francois Andriot - 1.4.2-2 -- Add fix for Fedora 15 - -* Mon Aug 22 2011 Francois Andriot - 1.4.2-1 -- Correct macro to install under "/opt", if desired - -* Sat Aug 13 2011 Francois Andriot - 1.4.2-0 -- Initial build for RHEL 6.0 - diff --git a/redhat/applications/k3b-i18n/k3b-i18n-3.5.13.1.spec b/redhat/applications/k3b-i18n/k3b-i18n-3.5.13.1.spec new file mode 100644 index 000000000..2691b3956 --- /dev/null +++ b/redhat/applications/k3b-i18n/k3b-i18n-3.5.13.1.spec @@ -0,0 +1,325 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-k3b-i18n +Summary: Locale files for K3B +Version: 1.0.5 +Release: 2%{?dist}%{?_variant} + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +BuildArch: noarch + +# Speed build options +%define debug_package %{nil} +%define __spec_install_post %{nil} +AutoReq: no + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Group: Applications/Archiving +License: GPLv2+ + +Source0: k3b-i18n-3.5.13.1.tar.gz + +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +Requires(post): coreutils +Requires(postun): coreutils + +Requires: trinity-k3b + + +%description +K3b provides a comfortable user interface to perform most CD/DVD +burning tasks. While the experienced user can take influence in all +steps of the burning process the beginner may find comfort in the +automatic settings and the reasonable k3b defaults which allow a quick +start. + +%package da +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Danish (da) translations for K3B [Trinity] +%description da +This package contains the Danish translations for K3B. + +%package de +Group: Applications/Archiving +Requires: trinity-k3b +Summary: German (de) translations for K3B [Trinity] +%description de +This package contains the German translations for K3B. + +%package el +Group: Applications/Archiving +Requires: trinity-k3b >= %{version} +Summary: Greek (el) translations for K3B [Trinity] +%description el +This package contains the greek translations for K3B. + +%package es +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Spanish (es) translations for K3B [Trinity] +%description es +This package contains the Spanish translations for K3B. + +%package et +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Estonian (et) translations for K3B [Trinity] +%description et +This package contains the Estonian translations for K3B. + +%package fr +Group: Applications/Archiving +Requires: trinity-k3b +Summary: French (fr) translations for K3B [Trinity] +%description fr +This package contains the French translations for K3B. + +%package it +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Italian (it) translations for K3B [Trinity] +%description it +This package contains the Italian translations for K3B. + +%package nl +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Dutch (nl) translations for K3B [Trinity] +%description nl +This package contains the Dutch translations for K3B. + +%package pl +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Polish (pl) translations for K3B [Trinity] +%description pl +This package contains the Polish translations for K3B. + +%package pt +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Portuguese (pt) translations for K3B [Trinity] +%description pt +This package contains the Portuguese translations for K3B. + +%package ptbr +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Brazilian Portuguese (pt_BR) translations for K3B [Trinity] +%description ptbr +This package contains the Brazilian Portuguese translations for K3B. + +%package ru +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Russian (ru) translations for K3B [Trinity] +%description ru +This package contains the Russian translations for K3B. + +%package sv +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Swedish (sv) translations for K3B [Trinity] +%description sv +This package contains the Swedish translations for K3B. + +%package uk +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Ukrainian (uk) translations for K3B [Trinity] +%description uk +This package contains the Ukrainian translations for K3B. + + +%prep +%setup -q -n k3b-i18n-3.5.13.1 + + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +./configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --docdir=%{tde_tdedocdir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + +%install +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%__rm -rf %{buildroot}%{tde_datadir}/locale/af +%__rm -rf %{buildroot}%{tde_datadir}/locale/ar +%__rm -rf %{buildroot}%{tde_datadir}/locale/bg +%__rm -rf %{buildroot}%{tde_datadir}/locale/br +%__rm -rf %{buildroot}%{tde_datadir}/locale/bs +%__rm -rf %{buildroot}%{tde_datadir}/locale/ca +%__rm -rf %{buildroot}%{tde_datadir}/locale/cs +%__rm -rf %{buildroot}%{tde_datadir}/locale/cy +%__rm -rf %{buildroot}%{tde_datadir}/locale/en_GB +%__rm -rf %{buildroot}%{tde_datadir}/locale/eu +%__rm -rf %{buildroot}%{tde_datadir}/locale/fa +%__rm -rf %{buildroot}%{tde_datadir}/locale/fi +%__rm -rf %{buildroot}%{tde_datadir}/locale/ga +%__rm -rf %{buildroot}%{tde_datadir}/locale/gl +%__rm -rf %{buildroot}%{tde_datadir}/locale/he +%__rm -rf %{buildroot}%{tde_datadir}/locale/hi +%__rm -rf %{buildroot}%{tde_datadir}/locale/hu +%__rm -rf %{buildroot}%{tde_datadir}/locale/is +%__rm -rf %{buildroot}%{tde_datadir}/locale/ja +%__rm -rf %{buildroot}%{tde_datadir}/locale/ka +%__rm -rf %{buildroot}%{tde_datadir}/locale/km +%__rm -rf %{buildroot}%{tde_datadir}/locale/lt +%__rm -rf %{buildroot}%{tde_datadir}/locale/mk +%__rm -rf %{buildroot}%{tde_datadir}/locale/ms +%__rm -rf %{buildroot}%{tde_datadir}/locale/nb +%__rm -rf %{buildroot}%{tde_datadir}/locale/nds +%__rm -rf %{buildroot}%{tde_datadir}/locale/ne +%__rm -rf %{buildroot}%{tde_datadir}/locale/nn +%__rm -rf %{buildroot}%{tde_datadir}/locale/pa +%__rm -rf %{buildroot}%{tde_datadir}/locale/rw +%__rm -rf %{buildroot}%{tde_datadir}/locale/se +%__rm -rf %{buildroot}%{tde_datadir}/locale/sk +%__rm -rf %{buildroot}%{tde_datadir}/locale/sr +%__rm -rf %{buildroot}%{tde_datadir}/locale/sr@Latn +%__rm -rf %{buildroot}%{tde_datadir}/locale/ta +%__rm -rf %{buildroot}%{tde_datadir}/locale/tr +%__rm -rf %{buildroot}%{tde_datadir}/locale/uz +%__rm -rf %{buildroot}%{tde_datadir}/locale/uz@cyrillic +%__rm -rf %{buildroot}%{tde_datadir}/locale/zh_CN +%__rm -rf %{buildroot}%{tde_datadir}/locale/zh_TW + + +%clean +%__rm -rf %{buildroot} + + +%files da +%defattr(-,root,root,-) +%lang(da) %{tde_tdedocdir}/HTML/da/k3b +%lang(da) %{tde_datadir}/locale/da/LC_MESSAGES/*.mo + +%files de +%defattr(-,root,root,-) +%lang(de) %{tde_tdedocdir}/HTML/de/k3b +%lang(de) %{tde_datadir}/locale/de/LC_MESSAGES/*.mo + +%files el +%defattr(-,root,root,-) +#%lang(el) %{tde_tdedocdir}/HTML/el/k3b +%lang(el) %{tde_datadir}/locale/el/LC_MESSAGES/*.mo + +%files es +%defattr(-,root,root,-) +%lang(es) %{tde_tdedocdir}/HTML/es/k3b +%lang(es) %{tde_datadir}/locale/es/LC_MESSAGES/*.mo + +%files et +%defattr(-,root,root,-) +%lang(et) %{tde_tdedocdir}/HTML/et/k3b +%lang(et) %{tde_datadir}/locale/et/LC_MESSAGES/*.mo + +%files fr +%defattr(-,root,root,-) +%lang(fr) %{tde_tdedocdir}/HTML/fr/k3b +%lang(fr) %{tde_datadir}/locale/fr/LC_MESSAGES/*.mo + +%files it +%defattr(-,root,root,-) +%lang(it) %{tde_tdedocdir}/HTML/it/k3b +%lang(it) %{tde_datadir}/locale/it/LC_MESSAGES/*.mo + +%files nl +%defattr(-,root,root,-) +%lang(nl) %{tde_tdedocdir}/HTML/nl/k3b +%lang(nl) %{tde_datadir}/locale/nl/LC_MESSAGES/*.mo + +%files pl +%defattr(-,root,root,-) +%lang(pl) %{tde_tdedocdir}/HTML/pl/k3b +%lang(pl) %{tde_datadir}/locale/pl/LC_MESSAGES/*.mo + +%files pt +%defattr(-,root,root,-) +%lang(pt) %{tde_tdedocdir}/HTML/pt/k3b +%lang(pt) %{tde_datadir}/locale/pt/LC_MESSAGES/*.mo + +%files ptbr +%defattr(-,root,root,-) +%lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/k3b +%lang(pt_BR) %{tde_datadir}/locale/pt_BR/LC_MESSAGES/*.mo + +%files ru +%defattr(-,root,root,-) +%lang(ru) %{tde_tdedocdir}/HTML/ru/k3b +%lang(ru) %{tde_datadir}/locale/ru/LC_MESSAGES/*.mo + +%files sv +%defattr(-,root,root,-) +%lang(sv) %{tde_tdedocdir}/HTML/sv/k3b +%lang(sv) %{tde_datadir}/locale/sv/LC_MESSAGES/*.mo + +%files uk +%defattr(-,root,root,-) +%lang(uk) %{tde_tdedocdir}/HTML/uk/k3b +%lang(uk) %{tde_datadir}/locale/uk/LC_MESSAGES/*.mo + + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 1.0.5-2 +- Initial build for TDE 3.5.13.1 + +* Thu May 10 2012 Francois Andriot - 1.0.5-1 +- Initial build for TDE 3.5.13 diff --git a/redhat/applications/k3b-i18n/k3b-i18n-3.5.13.2.spec b/redhat/applications/k3b-i18n/k3b-i18n-3.5.13.2.spec new file mode 100644 index 000000000..493a84511 --- /dev/null +++ b/redhat/applications/k3b-i18n/k3b-i18n-3.5.13.2.spec @@ -0,0 +1,328 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-k3b-i18n +Summary: Locale files for K3B +Version: 1.0.5 +Release: 3%{?dist}%{?_variant} + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +BuildArch: noarch + +# Speed build options +%define debug_package %{nil} +%define __spec_install_post %{nil} +AutoReq: no + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Group: Applications/Archiving +License: GPLv2+ + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +Requires(post): coreutils +Requires(postun): coreutils + +Requires: trinity-k3b + + +%description +K3b provides a comfortable user interface to perform most CD/DVD +burning tasks. While the experienced user can take influence in all +steps of the burning process the beginner may find comfort in the +automatic settings and the reasonable k3b defaults which allow a quick +start. + +%package da +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Danish (da) translations for K3B [Trinity] +%description da +This package contains the Danish translations for K3B. + +%package de +Group: Applications/Archiving +Requires: trinity-k3b +Summary: German (de) translations for K3B [Trinity] +%description de +This package contains the German translations for K3B. + +%package el +Group: Applications/Archiving +Requires: trinity-k3b >= %{version} +Summary: Greek (el) translations for K3B [Trinity] +%description el +This package contains the greek translations for K3B. + +%package es +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Spanish (es) translations for K3B [Trinity] +%description es +This package contains the Spanish translations for K3B. + +%package et +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Estonian (et) translations for K3B [Trinity] +%description et +This package contains the Estonian translations for K3B. + +%package fr +Group: Applications/Archiving +Requires: trinity-k3b +Summary: French (fr) translations for K3B [Trinity] +%description fr +This package contains the French translations for K3B. + +%package it +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Italian (it) translations for K3B [Trinity] +%description it +This package contains the Italian translations for K3B. + +%package nl +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Dutch (nl) translations for K3B [Trinity] +%description nl +This package contains the Dutch translations for K3B. + +%package pl +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Polish (pl) translations for K3B [Trinity] +%description pl +This package contains the Polish translations for K3B. + +%package pt +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Portuguese (pt) translations for K3B [Trinity] +%description pt +This package contains the Portuguese translations for K3B. + +%package ptbr +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Brazilian Portuguese (pt_BR) translations for K3B [Trinity] +%description ptbr +This package contains the Brazilian Portuguese translations for K3B. + +%package ru +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Russian (ru) translations for K3B [Trinity] +%description ru +This package contains the Russian translations for K3B. + +%package sv +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Swedish (sv) translations for K3B [Trinity] +%description sv +This package contains the Swedish translations for K3B. + +%package uk +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Ukrainian (uk) translations for K3B [Trinity] +%description uk +This package contains the Ukrainian translations for K3B. + + +%prep +%setup -q -n %{name}-3.5.13.2 + + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +./configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --docdir=%{tde_tdedocdir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + +%install +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%__rm -rf %{buildroot}%{tde_datadir}/locale/af +%__rm -rf %{buildroot}%{tde_datadir}/locale/ar +%__rm -rf %{buildroot}%{tde_datadir}/locale/bg +%__rm -rf %{buildroot}%{tde_datadir}/locale/br +%__rm -rf %{buildroot}%{tde_datadir}/locale/bs +%__rm -rf %{buildroot}%{tde_datadir}/locale/ca +%__rm -rf %{buildroot}%{tde_datadir}/locale/cs +%__rm -rf %{buildroot}%{tde_datadir}/locale/cy +%__rm -rf %{buildroot}%{tde_datadir}/locale/en_GB +%__rm -rf %{buildroot}%{tde_datadir}/locale/eu +%__rm -rf %{buildroot}%{tde_datadir}/locale/fa +%__rm -rf %{buildroot}%{tde_datadir}/locale/fi +%__rm -rf %{buildroot}%{tde_datadir}/locale/ga +%__rm -rf %{buildroot}%{tde_datadir}/locale/gl +%__rm -rf %{buildroot}%{tde_datadir}/locale/he +%__rm -rf %{buildroot}%{tde_datadir}/locale/hi +%__rm -rf %{buildroot}%{tde_datadir}/locale/hu +%__rm -rf %{buildroot}%{tde_datadir}/locale/is +%__rm -rf %{buildroot}%{tde_datadir}/locale/ja +%__rm -rf %{buildroot}%{tde_datadir}/locale/ka +%__rm -rf %{buildroot}%{tde_datadir}/locale/km +%__rm -rf %{buildroot}%{tde_datadir}/locale/lt +%__rm -rf %{buildroot}%{tde_datadir}/locale/mk +%__rm -rf %{buildroot}%{tde_datadir}/locale/ms +%__rm -rf %{buildroot}%{tde_datadir}/locale/nb +%__rm -rf %{buildroot}%{tde_datadir}/locale/nds +%__rm -rf %{buildroot}%{tde_datadir}/locale/ne +%__rm -rf %{buildroot}%{tde_datadir}/locale/nn +%__rm -rf %{buildroot}%{tde_datadir}/locale/pa +%__rm -rf %{buildroot}%{tde_datadir}/locale/rw +%__rm -rf %{buildroot}%{tde_datadir}/locale/se +%__rm -rf %{buildroot}%{tde_datadir}/locale/sk +%__rm -rf %{buildroot}%{tde_datadir}/locale/sr +%__rm -rf %{buildroot}%{tde_datadir}/locale/sr@Latn +%__rm -rf %{buildroot}%{tde_datadir}/locale/ta +%__rm -rf %{buildroot}%{tde_datadir}/locale/tr +%__rm -rf %{buildroot}%{tde_datadir}/locale/uz +%__rm -rf %{buildroot}%{tde_datadir}/locale/uz@cyrillic +%__rm -rf %{buildroot}%{tde_datadir}/locale/zh_CN +%__rm -rf %{buildroot}%{tde_datadir}/locale/zh_TW + + +%clean +%__rm -rf %{buildroot} + + +%files da +%defattr(-,root,root,-) +%lang(da) %{tde_tdedocdir}/HTML/da/k3b +%lang(da) %{tde_datadir}/locale/da/LC_MESSAGES/*.mo + +%files de +%defattr(-,root,root,-) +%lang(de) %{tde_tdedocdir}/HTML/de/k3b +%lang(de) %{tde_datadir}/locale/de/LC_MESSAGES/*.mo + +%files el +%defattr(-,root,root,-) +#%lang(el) %{tde_tdedocdir}/HTML/el/k3b +%lang(el) %{tde_datadir}/locale/el/LC_MESSAGES/*.mo + +%files es +%defattr(-,root,root,-) +%lang(es) %{tde_tdedocdir}/HTML/es/k3b +%lang(es) %{tde_datadir}/locale/es/LC_MESSAGES/*.mo + +%files et +%defattr(-,root,root,-) +%lang(et) %{tde_tdedocdir}/HTML/et/k3b +%lang(et) %{tde_datadir}/locale/et/LC_MESSAGES/*.mo + +%files fr +%defattr(-,root,root,-) +%lang(fr) %{tde_tdedocdir}/HTML/fr/k3b +%lang(fr) %{tde_datadir}/locale/fr/LC_MESSAGES/*.mo + +%files it +%defattr(-,root,root,-) +%lang(it) %{tde_tdedocdir}/HTML/it/k3b +%lang(it) %{tde_datadir}/locale/it/LC_MESSAGES/*.mo + +%files nl +%defattr(-,root,root,-) +%lang(nl) %{tde_tdedocdir}/HTML/nl/k3b +%lang(nl) %{tde_datadir}/locale/nl/LC_MESSAGES/*.mo + +%files pl +%defattr(-,root,root,-) +%lang(pl) %{tde_tdedocdir}/HTML/pl/k3b +%lang(pl) %{tde_datadir}/locale/pl/LC_MESSAGES/*.mo + +%files pt +%defattr(-,root,root,-) +%lang(pt) %{tde_tdedocdir}/HTML/pt/k3b +%lang(pt) %{tde_datadir}/locale/pt/LC_MESSAGES/*.mo + +%files ptbr +%defattr(-,root,root,-) +%lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/k3b +%lang(pt_BR) %{tde_datadir}/locale/pt_BR/LC_MESSAGES/*.mo + +%files ru +%defattr(-,root,root,-) +%lang(ru) %{tde_tdedocdir}/HTML/ru/k3b +%lang(ru) %{tde_datadir}/locale/ru/LC_MESSAGES/*.mo + +%files sv +%defattr(-,root,root,-) +%lang(sv) %{tde_tdedocdir}/HTML/sv/k3b +%lang(sv) %{tde_datadir}/locale/sv/LC_MESSAGES/*.mo + +%files uk +%defattr(-,root,root,-) +%lang(uk) %{tde_tdedocdir}/HTML/uk/k3b +%lang(uk) %{tde_datadir}/locale/uk/LC_MESSAGES/*.mo + + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 1.0.5-3 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 1.0.5-2 +- Initial build for TDE 3.5.13.1 + +* Thu May 10 2012 Francois Andriot - 1.0.5-1 +- Initial build for TDE 3.5.13 diff --git a/redhat/applications/k3b-i18n/k3b-i18n-3.5.13.spec b/redhat/applications/k3b-i18n/k3b-i18n-3.5.13.spec new file mode 100644 index 000000000..fa2b67c60 --- /dev/null +++ b/redhat/applications/k3b-i18n/k3b-i18n-3.5.13.spec @@ -0,0 +1,308 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_datadir}/doc +%endif + +# TDE 3.5.13 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir}/kde +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/trinity + + +Name: trinity-k3b-i18n +Summary: Locale files for K3B +Version: 1.0.5 +Release: 1%{?dist}%{?_variant} + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +BuildArch: noarch + +# Speed build options +%define debug_package %{nil} +%define __spec_install_post %{nil} +AutoReq: no + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Group: Applications/Archiving +License: GPLv2+ + +Source0: k3b-i18n-1.0.5.tar.bz2 + +# [kde-i18n] Fix automake detection +Patch1: k3b-i18n-trinity.patch + +BuildRequires: trinity-kdelibs-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + +Requires(post): coreutils +Requires(postun): coreutils + +Requires: trinity-k3b + + +%description +K3b provides a comfortable user interface to perform most CD/DVD +burning tasks. While the experienced user can take influence in all +steps of the burning process the beginner may find comfort in the +automatic settings and the reasonable k3b defaults which allow a quick +start. + +%package da +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Danish (da) translations for K3B [Trinity] +%description da +This package contains the Danish translations for K3B. + +%package de +Group: Applications/Archiving +Requires: trinity-k3b +Summary: German (de) translations for K3B [Trinity] +%description de +This package contains the German translations for K3B. + +%package el +Group: Applications/Archiving +Requires: trinity-k3b >= %{version} +Summary: Greek (el) translations for K3B [Trinity] +%description el +This package contains the greek translations for K3B. + +%package es +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Spanish (es) translations for K3B [Trinity] +%description es +This package contains the Spanish translations for K3B. + +%package et +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Estonian (et) translations for K3B [Trinity] +%description et +This package contains the Estonian translations for K3B. + +%package fr +Group: Applications/Archiving +Requires: trinity-k3b +Summary: French (fr) translations for K3B [Trinity] +%description fr +This package contains the French translations for K3B. + +%package it +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Italian (it) translations for K3B [Trinity] +%description it +This package contains the Italian translations for K3B. + +%package nl +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Dutch (nl) translations for K3B [Trinity] +%description nl +This package contains the Dutch translations for K3B. + +%package pl +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Polish (pl) translations for K3B [Trinity] +%description pl +This package contains the Polish translations for K3B. + +%package pt +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Portuguese (pt) translations for K3B [Trinity] +%description pt +This package contains the Portuguese translations for K3B. + +%package ptbr +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Brazilian Portuguese (pt_BR) translations for K3B [Trinity] +%description ptbr +This package contains the Brazilian Portuguese translations for K3B. + +%package ru +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Russian (ru) translations for K3B [Trinity] +%description ru +This package contains the Russian translations for K3B. + +%package sv +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Swedish (sv) translations for K3B [Trinity] +%description sv +This package contains the Swedish translations for K3B. + +%package uk +Group: Applications/Archiving +Requires: trinity-k3b +Summary: Ukrainian (uk) translations for K3B [Trinity] +%description uk +This package contains the Ukrainian translations for K3B. + + +%prep +%setup -q -n k3b-i18n-%{version} + +# set in k3brc too +%patch1 -p1 -b .automake + + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/opt/kde3|%{_prefix}|g" \ + -e "s|kde3/plugins|trinity/plugins|g" \ + -e "s|/usr/include/tqt|%{_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_docdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%configure \ + --target=%{_host} +%__make %{?_smp_mflags} + +%install +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%clean +%__rm -rf %{buildroot} + + +%files da +%defattr(-,root,root,-) +%lang(da) %{tde_docdir}/HTML/da/k3b +%lang(da) %{_datadir}/locale/da/LC_MESSAGES/*.mo + +%files de +%defattr(-,root,root,-) +%lang(de) %{tde_docdir}/HTML/de/k3b +%lang(de) %{_datadir}/locale/de/LC_MESSAGES/*.mo + +%files el +%defattr(-,root,root,-) +#%lang(el) %{tde_docdir}/HTML/el/k3b +%lang(el) %{_datadir}/locale/el/LC_MESSAGES/*.mo + +%files es +%defattr(-,root,root,-) +%lang(es) %{tde_docdir}/HTML/es/k3b +%lang(es) %{_datadir}/locale/es/LC_MESSAGES/*.mo + +%files et +%defattr(-,root,root,-) +%lang(et) %{tde_docdir}/HTML/et/k3b +%lang(et) %{_datadir}/locale/et/LC_MESSAGES/*.mo + +%files fr +%defattr(-,root,root,-) +%lang(fr) %{tde_docdir}/HTML/fr/k3b +%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/*.mo + +%files it +%defattr(-,root,root,-) +%lang(it) %{tde_docdir}/HTML/it/k3b +%lang(it) %{_datadir}/locale/it/LC_MESSAGES/*.mo + +%files nl +%defattr(-,root,root,-) +%lang(nl) %{tde_docdir}/HTML/nl/k3b +%lang(nl) %{_datadir}/locale/nl/LC_MESSAGES/*.mo + +%files pl +%defattr(-,root,root,-) +%lang(pl) %{tde_docdir}/HTML/pl/k3b +%lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/*.mo + +%files pt +%defattr(-,root,root,-) +%lang(pt) %{tde_docdir}/HTML/pt/k3b +%lang(pt) %{_datadir}/locale/pt/LC_MESSAGES/*.mo + +%files ptbr +%defattr(-,root,root,-) +%lang(pt_BR) %{tde_docdir}/HTML/pt_BR/k3b +%lang(pt_BR) %{_datadir}/locale/pt_BR/LC_MESSAGES/*.mo + +%files ru +%defattr(-,root,root,-) +%lang(ru) %{tde_docdir}/HTML/ru/k3b +%lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/*.mo + +%files sv +%defattr(-,root,root,-) +%lang(sv) %{tde_docdir}/HTML/sv/k3b +%lang(sv) %{_datadir}/locale/sv/LC_MESSAGES/*.mo + +%files uk +%defattr(-,root,root,-) +%lang(uk) %{tde_docdir}/HTML/uk/k3b +%lang(uk) %{_datadir}/locale/uk/LC_MESSAGES/*.mo + +%exclude %{_datadir}/locale/af +%exclude %{_datadir}/locale/ar +%exclude %{_datadir}/locale/bg +%exclude %{_datadir}/locale/br +%exclude %{_datadir}/locale/bs +%exclude %{_datadir}/locale/ca +%exclude %{_datadir}/locale/cs +%exclude %{_datadir}/locale/cy +%exclude %{_datadir}/locale/en_GB +%exclude %{_datadir}/locale/eu +%exclude %{_datadir}/locale/fa +%exclude %{_datadir}/locale/fi +%exclude %{_datadir}/locale/ga +%exclude %{_datadir}/locale/gl +%exclude %{_datadir}/locale/he +%exclude %{_datadir}/locale/hi +%exclude %{_datadir}/locale/hu +%exclude %{_datadir}/locale/is +%exclude %{_datadir}/locale/ja +%exclude %{_datadir}/locale/ka +%exclude %{_datadir}/locale/km +%exclude %{_datadir}/locale/lt +%exclude %{_datadir}/locale/mk +%exclude %{_datadir}/locale/ms +%exclude %{_datadir}/locale/nb +%exclude %{_datadir}/locale/nds +%exclude %{_datadir}/locale/ne +%exclude %{_datadir}/locale/nn +%exclude %{_datadir}/locale/pa +%exclude %{_datadir}/locale/rw +%exclude %{_datadir}/locale/se +%exclude %{_datadir}/locale/sk +%exclude %{_datadir}/locale/sr +%exclude %{_datadir}/locale/sr@Latn +%exclude %{_datadir}/locale/ta +%exclude %{_datadir}/locale/tr +%exclude %{_datadir}/locale/uz +%exclude %{_datadir}/locale/uz@cyrillic +%exclude %{_datadir}/locale/zh_CN +%exclude %{_datadir}/locale/zh_TW + + +%changelog +* Thu May 10 2012 Francois Andriot - 1.0.5-1 +- Initial build for TDE 3.5.13 diff --git a/redhat/applications/k3b-i18n/trinity-k3b-i18n-3.5.13.1.spec b/redhat/applications/k3b-i18n/trinity-k3b-i18n-3.5.13.1.spec deleted file mode 100644 index 2691b3956..000000000 --- a/redhat/applications/k3b-i18n/trinity-k3b-i18n-3.5.13.1.spec +++ /dev/null @@ -1,325 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-k3b-i18n -Summary: Locale files for K3B -Version: 1.0.5 -Release: 2%{?dist}%{?_variant} - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -BuildArch: noarch - -# Speed build options -%define debug_package %{nil} -%define __spec_install_post %{nil} -AutoReq: no - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Group: Applications/Archiving -License: GPLv2+ - -Source0: k3b-i18n-3.5.13.1.tar.gz - -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -Requires(post): coreutils -Requires(postun): coreutils - -Requires: trinity-k3b - - -%description -K3b provides a comfortable user interface to perform most CD/DVD -burning tasks. While the experienced user can take influence in all -steps of the burning process the beginner may find comfort in the -automatic settings and the reasonable k3b defaults which allow a quick -start. - -%package da -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Danish (da) translations for K3B [Trinity] -%description da -This package contains the Danish translations for K3B. - -%package de -Group: Applications/Archiving -Requires: trinity-k3b -Summary: German (de) translations for K3B [Trinity] -%description de -This package contains the German translations for K3B. - -%package el -Group: Applications/Archiving -Requires: trinity-k3b >= %{version} -Summary: Greek (el) translations for K3B [Trinity] -%description el -This package contains the greek translations for K3B. - -%package es -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Spanish (es) translations for K3B [Trinity] -%description es -This package contains the Spanish translations for K3B. - -%package et -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Estonian (et) translations for K3B [Trinity] -%description et -This package contains the Estonian translations for K3B. - -%package fr -Group: Applications/Archiving -Requires: trinity-k3b -Summary: French (fr) translations for K3B [Trinity] -%description fr -This package contains the French translations for K3B. - -%package it -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Italian (it) translations for K3B [Trinity] -%description it -This package contains the Italian translations for K3B. - -%package nl -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Dutch (nl) translations for K3B [Trinity] -%description nl -This package contains the Dutch translations for K3B. - -%package pl -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Polish (pl) translations for K3B [Trinity] -%description pl -This package contains the Polish translations for K3B. - -%package pt -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Portuguese (pt) translations for K3B [Trinity] -%description pt -This package contains the Portuguese translations for K3B. - -%package ptbr -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Brazilian Portuguese (pt_BR) translations for K3B [Trinity] -%description ptbr -This package contains the Brazilian Portuguese translations for K3B. - -%package ru -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Russian (ru) translations for K3B [Trinity] -%description ru -This package contains the Russian translations for K3B. - -%package sv -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Swedish (sv) translations for K3B [Trinity] -%description sv -This package contains the Swedish translations for K3B. - -%package uk -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Ukrainian (uk) translations for K3B [Trinity] -%description uk -This package contains the Ukrainian translations for K3B. - - -%prep -%setup -q -n k3b-i18n-3.5.13.1 - - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -./configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --docdir=%{tde_tdedocdir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - -%install -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%__rm -rf %{buildroot}%{tde_datadir}/locale/af -%__rm -rf %{buildroot}%{tde_datadir}/locale/ar -%__rm -rf %{buildroot}%{tde_datadir}/locale/bg -%__rm -rf %{buildroot}%{tde_datadir}/locale/br -%__rm -rf %{buildroot}%{tde_datadir}/locale/bs -%__rm -rf %{buildroot}%{tde_datadir}/locale/ca -%__rm -rf %{buildroot}%{tde_datadir}/locale/cs -%__rm -rf %{buildroot}%{tde_datadir}/locale/cy -%__rm -rf %{buildroot}%{tde_datadir}/locale/en_GB -%__rm -rf %{buildroot}%{tde_datadir}/locale/eu -%__rm -rf %{buildroot}%{tde_datadir}/locale/fa -%__rm -rf %{buildroot}%{tde_datadir}/locale/fi -%__rm -rf %{buildroot}%{tde_datadir}/locale/ga -%__rm -rf %{buildroot}%{tde_datadir}/locale/gl -%__rm -rf %{buildroot}%{tde_datadir}/locale/he -%__rm -rf %{buildroot}%{tde_datadir}/locale/hi -%__rm -rf %{buildroot}%{tde_datadir}/locale/hu -%__rm -rf %{buildroot}%{tde_datadir}/locale/is -%__rm -rf %{buildroot}%{tde_datadir}/locale/ja -%__rm -rf %{buildroot}%{tde_datadir}/locale/ka -%__rm -rf %{buildroot}%{tde_datadir}/locale/km -%__rm -rf %{buildroot}%{tde_datadir}/locale/lt -%__rm -rf %{buildroot}%{tde_datadir}/locale/mk -%__rm -rf %{buildroot}%{tde_datadir}/locale/ms -%__rm -rf %{buildroot}%{tde_datadir}/locale/nb -%__rm -rf %{buildroot}%{tde_datadir}/locale/nds -%__rm -rf %{buildroot}%{tde_datadir}/locale/ne -%__rm -rf %{buildroot}%{tde_datadir}/locale/nn -%__rm -rf %{buildroot}%{tde_datadir}/locale/pa -%__rm -rf %{buildroot}%{tde_datadir}/locale/rw -%__rm -rf %{buildroot}%{tde_datadir}/locale/se -%__rm -rf %{buildroot}%{tde_datadir}/locale/sk -%__rm -rf %{buildroot}%{tde_datadir}/locale/sr -%__rm -rf %{buildroot}%{tde_datadir}/locale/sr@Latn -%__rm -rf %{buildroot}%{tde_datadir}/locale/ta -%__rm -rf %{buildroot}%{tde_datadir}/locale/tr -%__rm -rf %{buildroot}%{tde_datadir}/locale/uz -%__rm -rf %{buildroot}%{tde_datadir}/locale/uz@cyrillic -%__rm -rf %{buildroot}%{tde_datadir}/locale/zh_CN -%__rm -rf %{buildroot}%{tde_datadir}/locale/zh_TW - - -%clean -%__rm -rf %{buildroot} - - -%files da -%defattr(-,root,root,-) -%lang(da) %{tde_tdedocdir}/HTML/da/k3b -%lang(da) %{tde_datadir}/locale/da/LC_MESSAGES/*.mo - -%files de -%defattr(-,root,root,-) -%lang(de) %{tde_tdedocdir}/HTML/de/k3b -%lang(de) %{tde_datadir}/locale/de/LC_MESSAGES/*.mo - -%files el -%defattr(-,root,root,-) -#%lang(el) %{tde_tdedocdir}/HTML/el/k3b -%lang(el) %{tde_datadir}/locale/el/LC_MESSAGES/*.mo - -%files es -%defattr(-,root,root,-) -%lang(es) %{tde_tdedocdir}/HTML/es/k3b -%lang(es) %{tde_datadir}/locale/es/LC_MESSAGES/*.mo - -%files et -%defattr(-,root,root,-) -%lang(et) %{tde_tdedocdir}/HTML/et/k3b -%lang(et) %{tde_datadir}/locale/et/LC_MESSAGES/*.mo - -%files fr -%defattr(-,root,root,-) -%lang(fr) %{tde_tdedocdir}/HTML/fr/k3b -%lang(fr) %{tde_datadir}/locale/fr/LC_MESSAGES/*.mo - -%files it -%defattr(-,root,root,-) -%lang(it) %{tde_tdedocdir}/HTML/it/k3b -%lang(it) %{tde_datadir}/locale/it/LC_MESSAGES/*.mo - -%files nl -%defattr(-,root,root,-) -%lang(nl) %{tde_tdedocdir}/HTML/nl/k3b -%lang(nl) %{tde_datadir}/locale/nl/LC_MESSAGES/*.mo - -%files pl -%defattr(-,root,root,-) -%lang(pl) %{tde_tdedocdir}/HTML/pl/k3b -%lang(pl) %{tde_datadir}/locale/pl/LC_MESSAGES/*.mo - -%files pt -%defattr(-,root,root,-) -%lang(pt) %{tde_tdedocdir}/HTML/pt/k3b -%lang(pt) %{tde_datadir}/locale/pt/LC_MESSAGES/*.mo - -%files ptbr -%defattr(-,root,root,-) -%lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/k3b -%lang(pt_BR) %{tde_datadir}/locale/pt_BR/LC_MESSAGES/*.mo - -%files ru -%defattr(-,root,root,-) -%lang(ru) %{tde_tdedocdir}/HTML/ru/k3b -%lang(ru) %{tde_datadir}/locale/ru/LC_MESSAGES/*.mo - -%files sv -%defattr(-,root,root,-) -%lang(sv) %{tde_tdedocdir}/HTML/sv/k3b -%lang(sv) %{tde_datadir}/locale/sv/LC_MESSAGES/*.mo - -%files uk -%defattr(-,root,root,-) -%lang(uk) %{tde_tdedocdir}/HTML/uk/k3b -%lang(uk) %{tde_datadir}/locale/uk/LC_MESSAGES/*.mo - - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 1.0.5-2 -- Initial build for TDE 3.5.13.1 - -* Thu May 10 2012 Francois Andriot - 1.0.5-1 -- Initial build for TDE 3.5.13 diff --git a/redhat/applications/k3b-i18n/trinity-k3b-i18n-3.5.13.2.spec b/redhat/applications/k3b-i18n/trinity-k3b-i18n-3.5.13.2.spec deleted file mode 100644 index 493a84511..000000000 --- a/redhat/applications/k3b-i18n/trinity-k3b-i18n-3.5.13.2.spec +++ /dev/null @@ -1,328 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-k3b-i18n -Summary: Locale files for K3B -Version: 1.0.5 -Release: 3%{?dist}%{?_variant} - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -BuildArch: noarch - -# Speed build options -%define debug_package %{nil} -%define __spec_install_post %{nil} -AutoReq: no - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Group: Applications/Archiving -License: GPLv2+ - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -Requires(post): coreutils -Requires(postun): coreutils - -Requires: trinity-k3b - - -%description -K3b provides a comfortable user interface to perform most CD/DVD -burning tasks. While the experienced user can take influence in all -steps of the burning process the beginner may find comfort in the -automatic settings and the reasonable k3b defaults which allow a quick -start. - -%package da -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Danish (da) translations for K3B [Trinity] -%description da -This package contains the Danish translations for K3B. - -%package de -Group: Applications/Archiving -Requires: trinity-k3b -Summary: German (de) translations for K3B [Trinity] -%description de -This package contains the German translations for K3B. - -%package el -Group: Applications/Archiving -Requires: trinity-k3b >= %{version} -Summary: Greek (el) translations for K3B [Trinity] -%description el -This package contains the greek translations for K3B. - -%package es -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Spanish (es) translations for K3B [Trinity] -%description es -This package contains the Spanish translations for K3B. - -%package et -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Estonian (et) translations for K3B [Trinity] -%description et -This package contains the Estonian translations for K3B. - -%package fr -Group: Applications/Archiving -Requires: trinity-k3b -Summary: French (fr) translations for K3B [Trinity] -%description fr -This package contains the French translations for K3B. - -%package it -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Italian (it) translations for K3B [Trinity] -%description it -This package contains the Italian translations for K3B. - -%package nl -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Dutch (nl) translations for K3B [Trinity] -%description nl -This package contains the Dutch translations for K3B. - -%package pl -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Polish (pl) translations for K3B [Trinity] -%description pl -This package contains the Polish translations for K3B. - -%package pt -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Portuguese (pt) translations for K3B [Trinity] -%description pt -This package contains the Portuguese translations for K3B. - -%package ptbr -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Brazilian Portuguese (pt_BR) translations for K3B [Trinity] -%description ptbr -This package contains the Brazilian Portuguese translations for K3B. - -%package ru -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Russian (ru) translations for K3B [Trinity] -%description ru -This package contains the Russian translations for K3B. - -%package sv -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Swedish (sv) translations for K3B [Trinity] -%description sv -This package contains the Swedish translations for K3B. - -%package uk -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Ukrainian (uk) translations for K3B [Trinity] -%description uk -This package contains the Ukrainian translations for K3B. - - -%prep -%setup -q -n %{name}-3.5.13.2 - - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -./configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --docdir=%{tde_tdedocdir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - -%install -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%__rm -rf %{buildroot}%{tde_datadir}/locale/af -%__rm -rf %{buildroot}%{tde_datadir}/locale/ar -%__rm -rf %{buildroot}%{tde_datadir}/locale/bg -%__rm -rf %{buildroot}%{tde_datadir}/locale/br -%__rm -rf %{buildroot}%{tde_datadir}/locale/bs -%__rm -rf %{buildroot}%{tde_datadir}/locale/ca -%__rm -rf %{buildroot}%{tde_datadir}/locale/cs -%__rm -rf %{buildroot}%{tde_datadir}/locale/cy -%__rm -rf %{buildroot}%{tde_datadir}/locale/en_GB -%__rm -rf %{buildroot}%{tde_datadir}/locale/eu -%__rm -rf %{buildroot}%{tde_datadir}/locale/fa -%__rm -rf %{buildroot}%{tde_datadir}/locale/fi -%__rm -rf %{buildroot}%{tde_datadir}/locale/ga -%__rm -rf %{buildroot}%{tde_datadir}/locale/gl -%__rm -rf %{buildroot}%{tde_datadir}/locale/he -%__rm -rf %{buildroot}%{tde_datadir}/locale/hi -%__rm -rf %{buildroot}%{tde_datadir}/locale/hu -%__rm -rf %{buildroot}%{tde_datadir}/locale/is -%__rm -rf %{buildroot}%{tde_datadir}/locale/ja -%__rm -rf %{buildroot}%{tde_datadir}/locale/ka -%__rm -rf %{buildroot}%{tde_datadir}/locale/km -%__rm -rf %{buildroot}%{tde_datadir}/locale/lt -%__rm -rf %{buildroot}%{tde_datadir}/locale/mk -%__rm -rf %{buildroot}%{tde_datadir}/locale/ms -%__rm -rf %{buildroot}%{tde_datadir}/locale/nb -%__rm -rf %{buildroot}%{tde_datadir}/locale/nds -%__rm -rf %{buildroot}%{tde_datadir}/locale/ne -%__rm -rf %{buildroot}%{tde_datadir}/locale/nn -%__rm -rf %{buildroot}%{tde_datadir}/locale/pa -%__rm -rf %{buildroot}%{tde_datadir}/locale/rw -%__rm -rf %{buildroot}%{tde_datadir}/locale/se -%__rm -rf %{buildroot}%{tde_datadir}/locale/sk -%__rm -rf %{buildroot}%{tde_datadir}/locale/sr -%__rm -rf %{buildroot}%{tde_datadir}/locale/sr@Latn -%__rm -rf %{buildroot}%{tde_datadir}/locale/ta -%__rm -rf %{buildroot}%{tde_datadir}/locale/tr -%__rm -rf %{buildroot}%{tde_datadir}/locale/uz -%__rm -rf %{buildroot}%{tde_datadir}/locale/uz@cyrillic -%__rm -rf %{buildroot}%{tde_datadir}/locale/zh_CN -%__rm -rf %{buildroot}%{tde_datadir}/locale/zh_TW - - -%clean -%__rm -rf %{buildroot} - - -%files da -%defattr(-,root,root,-) -%lang(da) %{tde_tdedocdir}/HTML/da/k3b -%lang(da) %{tde_datadir}/locale/da/LC_MESSAGES/*.mo - -%files de -%defattr(-,root,root,-) -%lang(de) %{tde_tdedocdir}/HTML/de/k3b -%lang(de) %{tde_datadir}/locale/de/LC_MESSAGES/*.mo - -%files el -%defattr(-,root,root,-) -#%lang(el) %{tde_tdedocdir}/HTML/el/k3b -%lang(el) %{tde_datadir}/locale/el/LC_MESSAGES/*.mo - -%files es -%defattr(-,root,root,-) -%lang(es) %{tde_tdedocdir}/HTML/es/k3b -%lang(es) %{tde_datadir}/locale/es/LC_MESSAGES/*.mo - -%files et -%defattr(-,root,root,-) -%lang(et) %{tde_tdedocdir}/HTML/et/k3b -%lang(et) %{tde_datadir}/locale/et/LC_MESSAGES/*.mo - -%files fr -%defattr(-,root,root,-) -%lang(fr) %{tde_tdedocdir}/HTML/fr/k3b -%lang(fr) %{tde_datadir}/locale/fr/LC_MESSAGES/*.mo - -%files it -%defattr(-,root,root,-) -%lang(it) %{tde_tdedocdir}/HTML/it/k3b -%lang(it) %{tde_datadir}/locale/it/LC_MESSAGES/*.mo - -%files nl -%defattr(-,root,root,-) -%lang(nl) %{tde_tdedocdir}/HTML/nl/k3b -%lang(nl) %{tde_datadir}/locale/nl/LC_MESSAGES/*.mo - -%files pl -%defattr(-,root,root,-) -%lang(pl) %{tde_tdedocdir}/HTML/pl/k3b -%lang(pl) %{tde_datadir}/locale/pl/LC_MESSAGES/*.mo - -%files pt -%defattr(-,root,root,-) -%lang(pt) %{tde_tdedocdir}/HTML/pt/k3b -%lang(pt) %{tde_datadir}/locale/pt/LC_MESSAGES/*.mo - -%files ptbr -%defattr(-,root,root,-) -%lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/k3b -%lang(pt_BR) %{tde_datadir}/locale/pt_BR/LC_MESSAGES/*.mo - -%files ru -%defattr(-,root,root,-) -%lang(ru) %{tde_tdedocdir}/HTML/ru/k3b -%lang(ru) %{tde_datadir}/locale/ru/LC_MESSAGES/*.mo - -%files sv -%defattr(-,root,root,-) -%lang(sv) %{tde_tdedocdir}/HTML/sv/k3b -%lang(sv) %{tde_datadir}/locale/sv/LC_MESSAGES/*.mo - -%files uk -%defattr(-,root,root,-) -%lang(uk) %{tde_tdedocdir}/HTML/uk/k3b -%lang(uk) %{tde_datadir}/locale/uk/LC_MESSAGES/*.mo - - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 1.0.5-3 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 1.0.5-2 -- Initial build for TDE 3.5.13.1 - -* Thu May 10 2012 Francois Andriot - 1.0.5-1 -- Initial build for TDE 3.5.13 diff --git a/redhat/applications/k3b-i18n/trinity-k3b-i18n-3.5.13.spec b/redhat/applications/k3b-i18n/trinity-k3b-i18n-3.5.13.spec deleted file mode 100644 index fa2b67c60..000000000 --- a/redhat/applications/k3b-i18n/trinity-k3b-i18n-3.5.13.spec +++ /dev/null @@ -1,308 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_datadir}/doc -%endif - -# TDE 3.5.13 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir}/kde -%define tde_includedir %{_includedir}/kde -%define tde_libdir %{_libdir}/trinity - - -Name: trinity-k3b-i18n -Summary: Locale files for K3B -Version: 1.0.5 -Release: 1%{?dist}%{?_variant} - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -BuildArch: noarch - -# Speed build options -%define debug_package %{nil} -%define __spec_install_post %{nil} -AutoReq: no - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Group: Applications/Archiving -License: GPLv2+ - -Source0: k3b-i18n-1.0.5.tar.bz2 - -# [kde-i18n] Fix automake detection -Patch1: k3b-i18n-trinity.patch - -BuildRequires: trinity-kdelibs-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - -Requires(post): coreutils -Requires(postun): coreutils - -Requires: trinity-k3b - - -%description -K3b provides a comfortable user interface to perform most CD/DVD -burning tasks. While the experienced user can take influence in all -steps of the burning process the beginner may find comfort in the -automatic settings and the reasonable k3b defaults which allow a quick -start. - -%package da -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Danish (da) translations for K3B [Trinity] -%description da -This package contains the Danish translations for K3B. - -%package de -Group: Applications/Archiving -Requires: trinity-k3b -Summary: German (de) translations for K3B [Trinity] -%description de -This package contains the German translations for K3B. - -%package el -Group: Applications/Archiving -Requires: trinity-k3b >= %{version} -Summary: Greek (el) translations for K3B [Trinity] -%description el -This package contains the greek translations for K3B. - -%package es -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Spanish (es) translations for K3B [Trinity] -%description es -This package contains the Spanish translations for K3B. - -%package et -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Estonian (et) translations for K3B [Trinity] -%description et -This package contains the Estonian translations for K3B. - -%package fr -Group: Applications/Archiving -Requires: trinity-k3b -Summary: French (fr) translations for K3B [Trinity] -%description fr -This package contains the French translations for K3B. - -%package it -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Italian (it) translations for K3B [Trinity] -%description it -This package contains the Italian translations for K3B. - -%package nl -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Dutch (nl) translations for K3B [Trinity] -%description nl -This package contains the Dutch translations for K3B. - -%package pl -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Polish (pl) translations for K3B [Trinity] -%description pl -This package contains the Polish translations for K3B. - -%package pt -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Portuguese (pt) translations for K3B [Trinity] -%description pt -This package contains the Portuguese translations for K3B. - -%package ptbr -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Brazilian Portuguese (pt_BR) translations for K3B [Trinity] -%description ptbr -This package contains the Brazilian Portuguese translations for K3B. - -%package ru -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Russian (ru) translations for K3B [Trinity] -%description ru -This package contains the Russian translations for K3B. - -%package sv -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Swedish (sv) translations for K3B [Trinity] -%description sv -This package contains the Swedish translations for K3B. - -%package uk -Group: Applications/Archiving -Requires: trinity-k3b -Summary: Ukrainian (uk) translations for K3B [Trinity] -%description uk -This package contains the Ukrainian translations for K3B. - - -%prep -%setup -q -n k3b-i18n-%{version} - -# set in k3brc too -%patch1 -p1 -b .automake - - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/opt/kde3|%{_prefix}|g" \ - -e "s|kde3/plugins|trinity/plugins|g" \ - -e "s|/usr/include/tqt|%{_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_docdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -%configure \ - --target=%{_host} -%__make %{?_smp_mflags} - -%install -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%clean -%__rm -rf %{buildroot} - - -%files da -%defattr(-,root,root,-) -%lang(da) %{tde_docdir}/HTML/da/k3b -%lang(da) %{_datadir}/locale/da/LC_MESSAGES/*.mo - -%files de -%defattr(-,root,root,-) -%lang(de) %{tde_docdir}/HTML/de/k3b -%lang(de) %{_datadir}/locale/de/LC_MESSAGES/*.mo - -%files el -%defattr(-,root,root,-) -#%lang(el) %{tde_docdir}/HTML/el/k3b -%lang(el) %{_datadir}/locale/el/LC_MESSAGES/*.mo - -%files es -%defattr(-,root,root,-) -%lang(es) %{tde_docdir}/HTML/es/k3b -%lang(es) %{_datadir}/locale/es/LC_MESSAGES/*.mo - -%files et -%defattr(-,root,root,-) -%lang(et) %{tde_docdir}/HTML/et/k3b -%lang(et) %{_datadir}/locale/et/LC_MESSAGES/*.mo - -%files fr -%defattr(-,root,root,-) -%lang(fr) %{tde_docdir}/HTML/fr/k3b -%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/*.mo - -%files it -%defattr(-,root,root,-) -%lang(it) %{tde_docdir}/HTML/it/k3b -%lang(it) %{_datadir}/locale/it/LC_MESSAGES/*.mo - -%files nl -%defattr(-,root,root,-) -%lang(nl) %{tde_docdir}/HTML/nl/k3b -%lang(nl) %{_datadir}/locale/nl/LC_MESSAGES/*.mo - -%files pl -%defattr(-,root,root,-) -%lang(pl) %{tde_docdir}/HTML/pl/k3b -%lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/*.mo - -%files pt -%defattr(-,root,root,-) -%lang(pt) %{tde_docdir}/HTML/pt/k3b -%lang(pt) %{_datadir}/locale/pt/LC_MESSAGES/*.mo - -%files ptbr -%defattr(-,root,root,-) -%lang(pt_BR) %{tde_docdir}/HTML/pt_BR/k3b -%lang(pt_BR) %{_datadir}/locale/pt_BR/LC_MESSAGES/*.mo - -%files ru -%defattr(-,root,root,-) -%lang(ru) %{tde_docdir}/HTML/ru/k3b -%lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/*.mo - -%files sv -%defattr(-,root,root,-) -%lang(sv) %{tde_docdir}/HTML/sv/k3b -%lang(sv) %{_datadir}/locale/sv/LC_MESSAGES/*.mo - -%files uk -%defattr(-,root,root,-) -%lang(uk) %{tde_docdir}/HTML/uk/k3b -%lang(uk) %{_datadir}/locale/uk/LC_MESSAGES/*.mo - -%exclude %{_datadir}/locale/af -%exclude %{_datadir}/locale/ar -%exclude %{_datadir}/locale/bg -%exclude %{_datadir}/locale/br -%exclude %{_datadir}/locale/bs -%exclude %{_datadir}/locale/ca -%exclude %{_datadir}/locale/cs -%exclude %{_datadir}/locale/cy -%exclude %{_datadir}/locale/en_GB -%exclude %{_datadir}/locale/eu -%exclude %{_datadir}/locale/fa -%exclude %{_datadir}/locale/fi -%exclude %{_datadir}/locale/ga -%exclude %{_datadir}/locale/gl -%exclude %{_datadir}/locale/he -%exclude %{_datadir}/locale/hi -%exclude %{_datadir}/locale/hu -%exclude %{_datadir}/locale/is -%exclude %{_datadir}/locale/ja -%exclude %{_datadir}/locale/ka -%exclude %{_datadir}/locale/km -%exclude %{_datadir}/locale/lt -%exclude %{_datadir}/locale/mk -%exclude %{_datadir}/locale/ms -%exclude %{_datadir}/locale/nb -%exclude %{_datadir}/locale/nds -%exclude %{_datadir}/locale/ne -%exclude %{_datadir}/locale/nn -%exclude %{_datadir}/locale/pa -%exclude %{_datadir}/locale/rw -%exclude %{_datadir}/locale/se -%exclude %{_datadir}/locale/sk -%exclude %{_datadir}/locale/sr -%exclude %{_datadir}/locale/sr@Latn -%exclude %{_datadir}/locale/ta -%exclude %{_datadir}/locale/tr -%exclude %{_datadir}/locale/uz -%exclude %{_datadir}/locale/uz@cyrillic -%exclude %{_datadir}/locale/zh_CN -%exclude %{_datadir}/locale/zh_TW - - -%changelog -* Thu May 10 2012 Francois Andriot - 1.0.5-1 -- Initial build for TDE 3.5.13 diff --git a/redhat/applications/k3b/k3b-3.5.12.spec b/redhat/applications/k3b/k3b-3.5.12.spec new file mode 100644 index 000000000..0d17f7958 --- /dev/null +++ b/redhat/applications/k3b/k3b-3.5.12.spec @@ -0,0 +1,282 @@ +# Default version for this component +%if "%{?version}" == "" +%define version 3.5.12 +%endif +%define release 7 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_prefix}/share/doc +%endif + +# TDE 3.5.12 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir} +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/kde3 + + +Name: trinity-k3b +Summary: CD/DVD burning application +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +%if "%{?_prefix}" == "/usr" +Obsoletes: k3b +%endif + +Group: Applications/Archiving +License: GPLv2+ + +Source0: k3b-%{version}.tar.gz +Source1: k3b-i18n-1.0.5.tar.bz2 +Source2: k3brc + +# Legacy RedHat / Fedora patches +Patch2: k3b-1.0.3-umount.patch +# manual bufsize (upstream?) +Patch4: k3b-1.0.4-manualbufsize.patch +# 3rd time is a charm, https://bugs.kde.org/show_bug.cgi?id=156684#c30 +Patch102: reload-for-verification.diff +# put k3b-(iso,cue).desktop to xdg_apps_DATA , see http://bugzilla.redhat.com/419681 +# upstreamed 2008-08-27 +Patch105: k3b-1.0.5-hidden.patch +# RHEL6: Fix K3B icon +Patch106: trinity-k3b-icons.patch + + +BuildRequires: trinity-kdelibs-devel +BuildRequires: desktop-file-utils +BuildRequires: alsa-lib-devel +BuildRequires: audiofile-devel +BuildRequires: dbus-qt-devel hal-devel +BuildRequires: flac-devel +BuildRequires: gettext +BuildRequires: libdvdread-devel +%if 0%{?fedora} >= 15 || 0%{?rhel} <= 5 +BuildRequires: libmpcdec-devel +%else +BuildRequires: musepack-tools-devel +%endif +BuildRequires: libmusicbrainz-devel +BuildRequires: libsamplerate-devel +BuildRequires: libsndfile-devel +BuildRequires: libvorbis-devel +BuildRequires: taglib-devel +BuildRequires: zlib-devel + +Obsoletes: k3b-extras < 0:1.0-1 +Provides: k3b-extras = %{version}-%{release} + +Obsoletes: %{name}-i18n +Provides: %{name}-i18n + +Requires(post): coreutils +Requires(postun): coreutils + +Requires: %{name}-libs = %{version}-%{release} +Requires: %{name}-common = %{version}-%{release} + +Requires: cdrecord mkisofs +Requires: cdrdao +Requires: dvd+rw-tools + +%description +K3b provides a comfortable user interface to perform most CD/DVD +burning tasks. While the experienced user can take influence in all +steps of the burning process the beginner may find comfort in the +automatic settings and the reasonable k3b defaults which allow a quick +start. + +%package common +Summary: Common files of %{name} +Group: Applications/Archiving +Requires: %{name} = %{version}-%{release} +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 +BuildArch: noarch +%endif +%description common +%{summary}. + +%package libs +Summary: Runtime libraries for %{name} +Group: System Environment/Libraries +Requires: %{name} = %{version}-%{release} +%description libs +%{summary}. + +%package devel +Summary: Files for the development of applications which will use %{name} +Group: Development/Libraries +Requires: %{name}-libs = %{version}-%{release} +%description devel +%{summary}. + + +%prep +%setup -q -a 1 -n applications/k3b + +%patch2 -p1 -b .umount +# set in k3brc too +%patch4 -p1 -b .manualbufsize +%patch102 -p0 -b .kde#156684 +%patch106 -p1 -b .desktopfile + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + +%patch105 -p1 -b .hidden + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +CFLAGS="%optflags -fno-strict-aliasing" \ +CXXFLAGS="%optflags -fno-strict-aliasing" \ +%configure \ + --includedir=%{_includedir}/k3b \ + --disable-rpath \ + --enable-new-ldflags \ + --disable-debug --disable-warnings \ + --disable-dependency-tracking --enable-final \ + --with-k3bsetup=no \ + --without-cdrecord-suid-root \ + --with-oggvorbis \ + --with-flac \ + --with-external-libsamplerate \ + --with-libdvdread \ + --with-musicbrainz \ + --with-sndfile \ + --without-ffmpeg --without-lame --without-libmad \ + --with-musepack \ + --with-extra-includes=%{_includedir}/tqt + +%__make %{?_smp_mflags} + +# Build for i18n tarball +pushd k3b-i18n-1.0.5 +%configure +%__make %{?_smp_mflags} +popd + +%install +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} +%__make install DESTDIR=%{buildroot} -C k3b-i18n-1.0.5 +%__install -D -m 644 -p %{SOURCE2} %{buildroot}%{_datadir}/config/k3brc + +# remove the .la files +%__rm -f %{buildroot}%{_libdir}/libk3b*.la + +# remove i18n for Plattdeutsch (Low Saxon) +%__rm -fr %{buildroot}%{_datadir}/locale/nds + +%find_lang k3b --with-kde +%find_lang k3bsetup +%find_lang libk3b +%find_lang libk3bdevice +cat k3b.lang k3bsetup.lang libk3b.lang libk3bdevice.lang >> all.lang + + +%check +export PATH="%{_bindir}:${PATH}" +desktop-file-validate %{buildroot}%{_datadir}/applications/kde/k3b.desktop + + +%clean +%__rm -rf %{buildroot} + + +%post libs +/sbin/ldconfig + +%postun libs +/sbin/ldconfig + +%post common +touch --no-create %{_datadir}/icons/hicolor ||: + +%postun common +if [ $1 -eq 0 ] ; then +touch --no-create %{_datadir}/icons/hicolor &> /dev/null +gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : +update-desktop-database -q &> /dev/null +fi + +%posttrans common +gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : +update-desktop-database -q &> /dev/null + + +%files +%defattr(-,root,root,-) +%doc AUTHORS README COPYING TODO ChangeLog +%{_bindir}/k3b +%{tde_libdir}/*.so +%{tde_libdir}/*.la +%doc %{tde_docdir}/HTML/*/k3b/* + +%files common -f all.lang +%defattr(-,root,root,-) +%{_datadir}/applications/kde/*.desktop +%{_datadir}/apps/k3b/ +%{_datadir}/apps/konqueror/servicemenus/*.desktop +%{_datadir}/apps/konqsidebartng/virtual_folders/services/videodvd.desktop +%{_datadir}/config/k3brc +%{_datadir}/mimelnk/application/x-k3b.desktop +%{_datadir}/icons/hicolor/*/*/* +%{_datadir}/services/kfile_k3b.desktop +%{_datadir}/services/videodvd.protocol +%{_datadir}/sounds/k3b_*.wav + +%files libs +%defattr(-,root,root,-) +%{_libdir}/libk3b.so.3* +%{_libdir}/libk3bdevice.so.5* + +%files devel +%defattr(-,root,root,-) +%{_includedir}/* +%{_libdir}/libk3b.so +%{_libdir}/libk3bdevice.so + + +%changelog +* Mon Sep 19 2011 Francois Andriot - 3.5.12-7 +- Add support for RHEL5 + +* Sun Sep 11 2011 Francois Andriot - 3.5.12-6 +- Import to GIT + +* Wed Aug 24 2011 Francois Andriot - 3.5.12-5 +- Add fix for Fedora 15 + +* Mon Aug 22 2011 Francois Andriot - 3.5.12-4 +- Correct macro to install under "/opt", if desired + +* Thu Apr 28 2011 Francois Andriot - 3.5.12-3 +- Fix config file '/usr/share/config/k3brc' + +* Sun Dec 19 2010 Francois Andriot - 3.5.12-2 +- Add i18n translations +- Add patches from RHEL 6.0 (except Patch106, redundant with our 'patch0') +- Renamed 'patch0' to 'patch106' + +* Fri Dec 17 2010 Francois Andriot - 3.5.12-1 +- Add macro _kde3_prefix to define custom installation prefix (ex: /opt/kde3) +- Add '--with-extra-includes=%{_includedir}/tqt' + +* Wed Dec 15 2010 Francois Andriot - 3.5.12-0 +- Initial version built for RHEL 6.0 +- Add 'patch0' : invalid syntax in 'k3b.desktop' + diff --git a/redhat/applications/k3b/k3b-3.5.13.1.spec b/redhat/applications/k3b/k3b-3.5.13.1.spec new file mode 100644 index 000000000..3c3ed5ba9 --- /dev/null +++ b/redhat/applications/k3b/k3b-3.5.13.1.spec @@ -0,0 +1,409 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-k3b +Summary: CD/DVD burning application +Version: 3.5.13.1 +Release: 2%{?dist}%{?_variant} + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Group: Applications/Archiving +License: GPLv2+ + +Source0: k3b-%{version}.tar.gz +Source2: k3brc + +# Legacy RedHat / Fedora patches +# manual bufsize (upstream?) +Patch4: k3b-1.0.4-manualbufsize.patch +# RHEL6: Fix K3B icon +Patch106: trinity-k3b-icons.patch + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-dbus-tqt-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-arts-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: alsa-lib-devel +BuildRequires: audiofile-devel +BuildRequires: hal-devel +BuildRequires: gettext +BuildRequires: libdvdread-devel +BuildRequires: libmpcdec-devel +BuildRequires: libmusicbrainz-devel +BuildRequires: libsamplerate-devel +BuildRequires: libsndfile-devel +BuildRequires: libvorbis-devel +BuildRequires: taglib-devel +BuildRequires: zlib-devel + +Requires(post): coreutils +Requires(postun): coreutils + +Requires: %{name}-libs = %{version}-%{release} +Requires: %{name}-common = %{version}-%{release} + +Requires: cdrecord mkisofs +Requires: cdrdao +Requires: dvd+rw-tools + +# FLAC support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}flac-devel +BuildRequires: %{_lib}flac++-devel +%else +BuildRequires: flac-devel +%endif + +# MAD support +%if 0%{?mdkversion} || 0%{?mgaversion} +%define with_mad 1 +BuildRequires: %{_lib}mad-devel +%endif + +# LAME support +%if 0%{?mdkversion} || 0%{?mgaversion} +%define with_lame 1 +BuildRequires: %{_lib}lame-devel +%endif + +# FFMPEG support +%if 0%{?mdkversion} || 0%{?mgaversion} +%define with_ffmpeg 1 +BuildRequires: %{_lib}ffmpeg-devel +%endif + +%description +K3b provides a comfortable user interface to perform most CD/DVD +burning tasks. While the experienced user can take influence in all +steps of the burning process the beginner may find comfort in the +automatic settings and the reasonable k3b defaults which allow a quick +start. + +%files +%defattr(-,root,root,-) +%doc AUTHORS README COPYING TODO ChangeLog +%{tde_bindir}/k3b +%{tde_tdelibdir}/kfile_k3b.la +%{tde_tdelibdir}/kfile_k3b.so +%{tde_tdelibdir}/kio_videodvd.la +%{tde_tdelibdir}/kio_videodvd.so +%{tde_tdelibdir}/libk3balsaoutputplugin.la +%{tde_tdelibdir}/libk3balsaoutputplugin.so +%{tde_tdelibdir}/libk3bartsoutputplugin.la +%{tde_tdelibdir}/libk3bartsoutputplugin.so +%{tde_tdelibdir}/libk3baudiometainforenamerplugin.la +%{tde_tdelibdir}/libk3baudiometainforenamerplugin.so +%{tde_tdelibdir}/libk3baudioprojectcddbplugin.la +%{tde_tdelibdir}/libk3baudioprojectcddbplugin.so +%{tde_tdelibdir}/libk3bexternalencoder.la +%{tde_tdelibdir}/libk3bexternalencoder.so +%{tde_tdelibdir}/libk3bflacdecoder.la +%{tde_tdelibdir}/libk3bflacdecoder.so +%{tde_tdelibdir}/libk3blibsndfiledecoder.la +%{tde_tdelibdir}/libk3blibsndfiledecoder.so +%{tde_tdelibdir}/libk3bmpcdecoder.la +%{tde_tdelibdir}/libk3bmpcdecoder.so +%{tde_tdelibdir}/libk3boggvorbisdecoder.la +%{tde_tdelibdir}/libk3boggvorbisdecoder.so +%{tde_tdelibdir}/libk3boggvorbisencoder.la +%{tde_tdelibdir}/libk3boggvorbisencoder.so +%{tde_tdelibdir}/libk3bsoxencoder.la +%{tde_tdelibdir}/libk3bsoxencoder.so +%{tde_tdelibdir}/libk3bwavedecoder.la +%{tde_tdelibdir}/libk3bwavedecoder.so +%lang(en) %{tde_tdedocdir}/HTML/en/k3b/ + + +########## + +%package common +Summary: Common files of %{name} +Group: Applications/Archiving +Requires: %{name} = %{version}-%{release} +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} +BuildArch: noarch +%endif + +%description common +%{summary}. + +%files common +%defattr(-,root,root,-) +%{tde_tdeappdir}/k3b.desktop +%{tde_datadir}/applnk/.hidden/k3b-cue.desktop +%{tde_datadir}/applnk/.hidden/k3b-iso.desktop +%{tde_datadir}/apps/k3b/ +%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/videodvd.desktop +%{tde_datadir}/apps/konqueror/servicemenus/k3b_audiocd_rip.desktop +%{tde_datadir}/apps/konqueror/servicemenus/k3b_cd_copy.desktop +%{tde_datadir}/apps/konqueror/servicemenus/k3b_dvd_copy.desktop +%{tde_datadir}/apps/konqueror/servicemenus/k3b_handle_empty_cd.desktop +%{tde_datadir}/apps/konqueror/servicemenus/k3b_handle_empty_dvd.desktop +%{tde_datadir}/apps/konqueror/servicemenus/k3b_videodvd_rip.desktop +%{tde_datadir}/config/k3brc +%{tde_datadir}/mimelnk/application/x-k3b.desktop +%{tde_datadir}/icons/hicolor/*/apps/k3b.png +%{tde_datadir}/services/kfile_k3b.desktop +%{tde_datadir}/services/videodvd.protocol +%{tde_datadir}/sounds/k3b_error1.wav +%{tde_datadir}/sounds/k3b_success1.wav +%{tde_datadir}/sounds/k3b_wait_media1.wav + + +%post common +touch --no-create %{tde_datadir}/icons/hicolor ||: + +%postun common +if [ $1 -eq 0 ] ; then + touch --no-create %{tde_datadir}/icons/hicolor &> /dev/null + gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : + update-desktop-database %{tde_appdir} -q &> /dev/null +fi + +%posttrans common +gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : +update-desktop-database %{tde_appdir} -q &> /dev/null + +########## + +%package libs +Summary: Runtime libraries for %{name} +Group: System Environment/Libraries +Requires: %{name} = %{version}-%{release} + +%description libs +%{summary}. + +%files libs +%defattr(-,root,root,-) +%{tde_libdir}/libk3b.so.3 +%{tde_libdir}/libk3b.so.3.0.0 +%{tde_libdir}/libk3bdevice.so.5 +%{tde_libdir}/libk3bdevice.so.5.0.0 + +%post libs +/sbin/ldconfig + +%postun libs +/sbin/ldconfig + +########## + +%package devel +Summary: Files for the development of applications which will use %{name} +Group: Development/Libraries +Requires: %{name}-libs = %{version}-%{release} + +%description devel +%{summary}. + +%files devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/*.h +%{tde_libdir}/libk3b.so +%{tde_libdir}/libk3bdevice.so + +%post devel +/sbin/ldconfig + +%postun devel +/sbin/ldconfig + +########## + +%if 0%{?with_mad} +%package plugin-mad +Summary: The MAD plugin for K3B +Group: System Environment/Libraries +Requires: %{name} = %{version}-%{release} + +%description plugin-mad +%{summary}. + +MAD is a high-quality MPEG audio decoder. It currently supports MPEG-1 +and the MPEG-2 extension to Lower Sampling Frequencies, as well as the +so-called MPEG 2.5 format. All three audio layers (Layer I, Layer II, +and Layer III a.k.a. MP3) are fully implemented. + +%files plugin-mad +%defattr(-,root,root,-) +%{tde_tdelibdir}/libk3bmaddecoder.la +%{tde_tdelibdir}/libk3bmaddecoder.so +%endif + +########## + +%if 0%{?with_lame} +%package plugin-lame +Summary: The LAME plugin for K3B +Group: System Environment/Libraries +Requires: %{name} = %{version}-%{release} + +%description plugin-lame +%{summary}. + +Personal and commercial use of compiled versions of LAME (or any other mp3 +encoder) requires a patent license in some countries. + +This package is in tainted, as MP3 encoding is covered by software patents. + +%files plugin-lame +%defattr(-,root,root,-) +%{tde_tdelibdir}/libk3blameencoder.la +%{tde_tdelibdir}/libk3blameencoder.so +%endif + +########## + +%if 0%{?with_ffmpeg} +%package plugin-ffmpeg +Summary: The FFMPEG plugin for K3B +Group: System Environment/Libraries +Requires: %{name} = %{version}-%{release} + +%description plugin-ffmpeg +%{summary}. + +ffmpeg is a hyper fast realtime audio/video encoder, a streaming server +and a generic audio and video file converter. + +%files plugin-ffmpeg +%defattr(-,root,root,-) +%{tde_tdelibdir}/libk3bffmpegdecoder.la +%{tde_tdelibdir}/libk3bffmpegdecoder.so +%endif + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -a 0 -n k3b-3.5.13.1 + +# set in k3brc too +%patch4 -p1 -b .manualbufsize +%patch106 -p1 -b .desktopfile + + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --enable-new-ldflags \ + --disable-debug --disable-warnings \ + --disable-dependency-tracking --enable-final \ + --with-k3bsetup=no \ + --without-cdrecord-suid-root \ + --with-oggvorbis \ + --with-flac \ + --with-external-libsamplerate \ + --with-libdvdread \ + --with-musicbrainz \ + --with-sndfile \ + %{?with_ffmpeg:--with-ffmpeg} %{?!with_ffmpeg:--without-ffmpeg} \ + %{?with_lame:--with-lame} %{?!with_lame:--without-lame} \ + %{?with_mad:--with-libmad} %{?!with_mad:--without-libmad} \ + --with-musepack \ + --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} + +%__make %{?_smp_mflags} + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} +%__install -D -m 644 -p %{SOURCE2} %{buildroot}%{tde_datadir}/config/k3brc + +# remove the .la files +%__rm -f %{buildroot}%{tde_libdir}/libk3b*.la + +# remove i18n for Plattdeutsch (Low Saxon) +#%__rm -fr %{buildroot}%{tde_datadir}/locale/nds + + + +%clean +%__rm -rf %{buildroot} + + + +%changelog +* Sun Jan 06 2013 Francois Andriot - 3.5.13.1-2 +- Enables FFMPEG support +- Enables LAME support +- Enables MAD support + +* Wed Oct 03 2012 Francois Andriot - 3.5.13.1-1 +- Initial build for TDE 3.5.13.1 +- Remove requirement for resmgr + +* Sat Aug 04 2012 Francois Andriot - 3.5.13-5 +- Add support for Mageia 2 and Mandriva 2011 +- Fix DBUS-TQT detection that prevented HAL support +- Adds requirement for resmgr + +* Wed May 09 2012 Francois Andriot - 3.5.13-4 +- Removes i18 files (built separately) + +* Tue May 01 2012 Francois Andriot - 3.5.13-3 +- Rebuilt for Fedora 17 +- Fix compilation with GCC 4.7 [Bug #958] + +* Sat Nov 05 2011 Francois Andriot - 3.5.13-2 +- Updates BuildRequires + +* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 +- Initial release for RHEL 6, RHEL 5 and Fedora 15 + +* Sun Sep 11 2011 Francois Andriot - 3.5.13-0 +- Import to GIT diff --git a/redhat/applications/k3b/k3b-3.5.13.2.spec b/redhat/applications/k3b/k3b-3.5.13.2.spec new file mode 100644 index 000000000..140701e95 --- /dev/null +++ b/redhat/applications/k3b/k3b-3.5.13.2.spec @@ -0,0 +1,492 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-k3b +Summary: CD/DVD burning application +Version: 3.5.13.2 +Release: 1%{?dist}%{?_variant} + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Group: Applications/Archiving +License: GPLv2+ + +Source0: %{name}-3.5.13.2.tar.gz +Source2: k3brc + +# Legacy RedHat / Fedora patches +# manual bufsize (upstream?) +Patch4: k3b-1.0.4-manualbufsize.patch +# RHEL6: Fix K3B icon +Patch106: trinity-k3b-icons.patch + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-arts-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: alsa-lib-devel +BuildRequires: audiofile-devel +BuildRequires: hal-devel +BuildRequires: gettext +BuildRequires: libmpcdec-devel +BuildRequires: libmusicbrainz-devel +BuildRequires: libvorbis-devel +BuildRequires: taglib-devel +BuildRequires: zlib-devel + +Requires(post): coreutils +Requires(postun): coreutils + +Requires: %{name}-libs = %{version}-%{release} +Requires: %{name}-common = %{version}-%{release} + +Requires: cdrecord mkisofs +Requires: dvd+rw-tools + +# CDRDAO support +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 5 +Requires: cdrdao +%endif + +# DBUS support +# TQT bindings not available for RHEL4 +%if 0%{?rhel} == 4 +# Dbus bindings were rebuilt with Qt support +BuildRequires: dbus-devel >= 0.22-12.EL.9p1 +Requires: dbus-qt +%else +BuildRequires: trinity-dbus-tqt-devel +Requires: trinity-dbus-tqt >= %{version} +%endif + +# SNDFILE support +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 4 +%define with_sndfile 1 +BuildRequires: libsndfile-devel +%endif + +# SAMPLERATE support +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 4 +%define with_samplerate 1 +BuildRequires: libsamplerate-devel +%endif + +# DVDREAD support +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 4 +%define with_dvdread 1 +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: %{_lib}dvdread-devel +%else +BuildRequires: libdvdread-devel +%endif +%endif + +# FLAC support +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} +BuildRequires: libflac-devel +BuildRequires: libflac++-devel +%else +BuildRequires: %{_lib}flac-devel +BuildRequires: %{_lib}flac++-devel +%endif +%else +BuildRequires: flac-devel +%endif + +# MAD support +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} +%define with_libmad 1 +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: %{_lib}mad-devel +%endif +%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} +BuildRequires: libmad-devel +%endif +%endif + +# LAME support +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} +%define with_lame 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} +BuildRequires: liblame-devel +%else +BuildRequires: %{_lib}lame-devel +%endif +%endif +%if 0%{?suse_version} +BuildRequires: libmp3lame-devel +%endif +%if 0%{?fedora} || 0%{?rhel} +BuildRequires: lame-devel +%endif +%endif + +# FFMPEG support +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} +%define with_ffmpeg 1 +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: %{_lib}ffmpeg-devel +%endif +%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} +BuildRequires: ffmpeg-devel +%endif +%endif + + +%description +K3b provides a comfortable user interface to perform most CD/DVD +burning tasks. While the experienced user can take influence in all +steps of the burning process the beginner may find comfort in the +automatic settings and the reasonable k3b defaults which allow a quick +start. + + +%files +%defattr(-,root,root,-) +%doc AUTHORS README COPYING TODO ChangeLog +%{tde_bindir}/k3b +%{tde_tdelibdir}/kfile_k3b.la +%{tde_tdelibdir}/kfile_k3b.so +%{tde_tdelibdir}/kio_videodvd.la +%{tde_tdelibdir}/kio_videodvd.so +%{tde_tdelibdir}/libk3balsaoutputplugin.la +%{tde_tdelibdir}/libk3balsaoutputplugin.so +%{tde_tdelibdir}/libk3bartsoutputplugin.la +%{tde_tdelibdir}/libk3bartsoutputplugin.so +%{tde_tdelibdir}/libk3baudiometainforenamerplugin.la +%{tde_tdelibdir}/libk3baudiometainforenamerplugin.so +%{tde_tdelibdir}/libk3baudioprojectcddbplugin.la +%{tde_tdelibdir}/libk3baudioprojectcddbplugin.so +%{tde_tdelibdir}/libk3bexternalencoder.la +%{tde_tdelibdir}/libk3bexternalencoder.so +%{tde_tdelibdir}/libk3bflacdecoder.la +%{tde_tdelibdir}/libk3bflacdecoder.so +%if 0%{?with_sndfile} +%{tde_tdelibdir}/libk3blibsndfiledecoder.la +%{tde_tdelibdir}/libk3blibsndfiledecoder.so +%endif +%{tde_tdelibdir}/libk3bmpcdecoder.la +%{tde_tdelibdir}/libk3bmpcdecoder.so +%{tde_tdelibdir}/libk3boggvorbisdecoder.la +%{tde_tdelibdir}/libk3boggvorbisdecoder.so +%{tde_tdelibdir}/libk3boggvorbisencoder.la +%{tde_tdelibdir}/libk3boggvorbisencoder.so +%{tde_tdelibdir}/libk3bsoxencoder.la +%{tde_tdelibdir}/libk3bsoxencoder.so +%{tde_tdelibdir}/libk3bwavedecoder.la +%{tde_tdelibdir}/libk3bwavedecoder.so +%lang(en) %{tde_tdedocdir}/HTML/en/k3b/ + + +########## + +%package common +Summary: Common files of %{name} +Group: Applications/Archiving +Requires: %{name} = %{version}-%{release} +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} +BuildArch: noarch +%endif + +%description common +%{summary}. + +%files common +%defattr(-,root,root,-) +%{tde_tdeappdir}/k3b.desktop +%{tde_datadir}/applnk/.hidden/k3b-cue.desktop +%{tde_datadir}/applnk/.hidden/k3b-iso.desktop +%{tde_datadir}/apps/k3b/ +%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/videodvd.desktop +%{tde_datadir}/apps/konqueror/servicemenus/k3b_audiocd_rip.desktop +%{tde_datadir}/apps/konqueror/servicemenus/k3b_cd_copy.desktop +%{tde_datadir}/apps/konqueror/servicemenus/k3b_dvd_copy.desktop +%{tde_datadir}/apps/konqueror/servicemenus/k3b_handle_empty_cd.desktop +%{tde_datadir}/apps/konqueror/servicemenus/k3b_handle_empty_dvd.desktop +%{tde_datadir}/apps/konqueror/servicemenus/k3b_videodvd_rip.desktop +%{tde_datadir}/config/k3brc +%{tde_datadir}/mimelnk/application/x-k3b.desktop +%{tde_datadir}/icons/hicolor/*/apps/k3b.png +%{tde_datadir}/services/kfile_k3b.desktop +%{tde_datadir}/services/videodvd.protocol +%{tde_datadir}/sounds/k3b_error1.wav +%{tde_datadir}/sounds/k3b_success1.wav +%{tde_datadir}/sounds/k3b_wait_media1.wav + + +%post common +touch --no-create %{tde_datadir}/icons/hicolor ||: + +%postun common +if [ $1 -eq 0 ] ; then + touch --no-create %{tde_datadir}/icons/hicolor &> /dev/null + gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : + update-desktop-database %{tde_appdir} -q &> /dev/null +fi + +%posttrans common +gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : +update-desktop-database %{tde_appdir} -q &> /dev/null + +########## + +%package libs +Summary: Runtime libraries for %{name} +Group: System Environment/Libraries +Requires: %{name} = %{version}-%{release} + +%description libs +%{summary}. + +%files libs +%defattr(-,root,root,-) +%{tde_libdir}/libk3b.so.3 +%{tde_libdir}/libk3b.so.3.0.0 +%{tde_libdir}/libk3bdevice.so.5 +%{tde_libdir}/libk3bdevice.so.5.0.0 + +%post libs +/sbin/ldconfig + +%postun libs +/sbin/ldconfig + +########## + +%package devel +Summary: Files for the development of applications which will use %{name} +Group: Development/Libraries +Requires: %{name}-libs = %{version}-%{release} + +%description devel +%{summary}. + +%files devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/*.h +%{tde_libdir}/libk3b.so +%{tde_libdir}/libk3bdevice.so + +%post devel +/sbin/ldconfig + +%postun devel +/sbin/ldconfig + +########## + +%if 0%{?with_libmad} +%package plugin-mad +Summary: The MAD plugin for K3B +Group: System Environment/Libraries +Requires: %{name} = %{version}-%{release} + +%description plugin-mad +%{summary}. + +MAD is a high-quality MPEG audio decoder. It currently supports MPEG-1 +and the MPEG-2 extension to Lower Sampling Frequencies, as well as the +so-called MPEG 2.5 format. All three audio layers (Layer I, Layer II, +and Layer III a.k.a. MP3) are fully implemented. + +%files plugin-mad +%defattr(-,root,root,-) +%{tde_tdelibdir}/libk3bmaddecoder.la +%{tde_tdelibdir}/libk3bmaddecoder.so +%endif + +########## + +%if 0%{?with_lame} +%package plugin-lame +Summary: The LAME plugin for K3B +Group: System Environment/Libraries +Requires: %{name} = %{version}-%{release} + +%description plugin-lame +%{summary}. + +Personal and commercial use of compiled versions of LAME (or any other mp3 +encoder) requires a patent license in some countries. + +This package is in tainted, as MP3 encoding is covered by software patents. + +%files plugin-lame +%defattr(-,root,root,-) +%{tde_tdelibdir}/libk3blameencoder.la +%{tde_tdelibdir}/libk3blameencoder.so +%endif + +########## + +%if 0%{?with_ffmpeg} +%package plugin-ffmpeg +Summary: The FFMPEG plugin for K3B +Group: System Environment/Libraries +Requires: %{name} = %{version}-%{release} + +%description plugin-ffmpeg +%{summary}. + +ffmpeg is a hyper fast realtime audio/video encoder, a streaming server +and a generic audio and video file converter. + +%files plugin-ffmpeg +%defattr(-,root,root,-) +%{tde_tdelibdir}/libk3bffmpegdecoder.la +%{tde_tdelibdir}/libk3bffmpegdecoder.so +%endif + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# set in k3brc too +%patch4 -p1 -b .manualbufsize +%patch106 -p1 -b .desktopfile + + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +# FFMPEG trick ... +if [ -d /usr/include/ffmpeg ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/include/ffmpeg" +fi + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --enable-new-ldflags \ + --disable-debug --disable-warnings \ + --disable-dependency-tracking --enable-final \ + --with-k3bsetup=no \ + --without-cdrecord-suid-root \ + --with-oggvorbis \ + --with-flac \ + %{?with_samplerate:--with-external-libsamplerate} \ + %{?with_dvdread:--with-libdvdread} %{?!with_dvdread:--without-libdvdread} \ + --with-musicbrainz \ + %{?with_sndfile:--with-sndfile} %{?!with_sndfile:--without-sndfile} \ + %{?with_ffmpeg:--with-ffmpeg} %{?!with_ffmpeg:--without-ffmpeg} \ + %{?with_lame:--with-lame} %{?!with_lame:--without-lame} \ + %{?with_libmad:--with-libmad} %{?!with_libmad:--without-libmad} \ + --with-musepack \ + --without-resmgr \ + --with-hal \ + --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} + +# Strange behaviour on RHEL4 ... +%if 0%{?rhel} == 4 +%__sed -i "libk3b/jobs/Makefile" -e "/^am_libjobs_la_final_OBJECTS/ s/ lo//g" +%__mkdir_p "libk3bdevice/.libs" +%__ln_s . "libk3bdevice/.libs/.libs" +%endif + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} +%__install -D -m 644 -p %{SOURCE2} %{buildroot}%{tde_datadir}/config/k3brc + +# remove the .la files +%__rm -f %{buildroot}%{tde_libdir}/libk3b*.la + +# remove i18n for Plattdeutsch (Low Saxon) +#%__rm -fr %{buildroot}%{tde_datadir}/locale/nds + + +%clean +%__rm -rf %{buildroot} + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 +- Initial release for TDE 3.5.13.2 + +* Sun Jan 06 2013 Francois Andriot - 3.5.13.1-2 +- Enables FFMPEG support +- Enables LAME support +- Enables MAD support + +* Wed Oct 03 2012 Francois Andriot - 3.5.13.1-1 +- Initial build for TDE 3.5.13.1 +- Remove requirement for resmgr + +* Sat Aug 04 2012 Francois Andriot - 3.5.13-5 +- Add support for Mageia 2 and Mandriva 2011 +- Fix DBUS-TQT detection that prevented HAL support +- Adds requirement for resmgr + +* Wed May 09 2012 Francois Andriot - 3.5.13-4 +- Removes i18 files (built separately) + +* Tue May 01 2012 Francois Andriot - 3.5.13-3 +- Rebuilt for Fedora 17 +- Fix compilation with GCC 4.7 [Bug #958] + +* Sat Nov 05 2011 Francois Andriot - 3.5.13-2 +- Updates BuildRequires + +* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 +- Initial release for RHEL 6, RHEL 5 and Fedora 15 + +* Sun Sep 11 2011 Francois Andriot - 3.5.13-0 +- Import to GIT diff --git a/redhat/applications/k3b/k3b-3.5.13.spec b/redhat/applications/k3b/k3b-3.5.13.spec new file mode 100644 index 000000000..aca04f95e --- /dev/null +++ b/redhat/applications/k3b/k3b-3.5.13.spec @@ -0,0 +1,319 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-k3b +Summary: CD/DVD burning application +Version: 3.5.13 +Release: 5%{?dist}%{?_variant} + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Group: Applications/Archiving +License: GPLv2+ + +Source0: k3b-%{version}.tar.gz +Source2: k3brc + +# Legacy RedHat / Fedora patches +# manual bufsize (upstream?) +Patch4: k3b-1.0.4-manualbufsize.patch +# RHEL6: Fix K3B icon +Patch106: trinity-k3b-icons.patch +# [k3b] Fix compilation with GCC 4.7 [Bug #958] +Patch108: k3b-3.5.13-fix_Range_r_3-gcc47.patch +# [k3b] Missing LDFLAGS cause FTBFS on Mageia 2 / Mandriva 2011 +Patch109: k3b-3.5.13-missing_ldflags.patch +# [k3b] Fix dbus-tqt header detection, required for HAL support +Patch110: k3b-3.5.13-fix_dbus_tqt_detection.patch + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-arts-devel +BuildRequires: desktop-file-utils +BuildRequires: alsa-lib-devel +BuildRequires: audiofile-devel +BuildRequires: dbus-tqt-devel hal-devel +BuildRequires: gettext +BuildRequires: libdvdread-devel +BuildRequires: libmpcdec-devel +BuildRequires: libmusicbrainz-devel +BuildRequires: libsamplerate-devel +BuildRequires: libsndfile-devel +BuildRequires: libvorbis-devel +BuildRequires: taglib-devel +BuildRequires: zlib-devel +BuildRequires: %{_lib}resmgr-devel + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}flac-devel +BuildRequires: %{_lib}flac++-devel +%else +BuildRequires: flac-devel +%endif + +Requires(post): coreutils +Requires(postun): coreutils + +Requires: %{name}-libs = %{version}-%{release} +Requires: %{name}-common = %{version}-%{release} + +Requires: cdrecord mkisofs +Requires: cdrdao +Requires: dvd+rw-tools + +%description +K3b provides a comfortable user interface to perform most CD/DVD +burning tasks. While the experienced user can take influence in all +steps of the burning process the beginner may find comfort in the +automatic settings and the reasonable k3b defaults which allow a quick +start. + +%files +%defattr(-,root,root,-) +%doc AUTHORS README COPYING TODO ChangeLog +%{tde_bindir}/k3b +%{tde_tdelibdir}/kfile_k3b.la +%{tde_tdelibdir}/kfile_k3b.so +%{tde_tdelibdir}/kio_videodvd.la +%{tde_tdelibdir}/kio_videodvd.so +%{tde_tdelibdir}/libk3balsaoutputplugin.la +%{tde_tdelibdir}/libk3balsaoutputplugin.so +%{tde_tdelibdir}/libk3bartsoutputplugin.la +%{tde_tdelibdir}/libk3bartsoutputplugin.so +%{tde_tdelibdir}/libk3baudiometainforenamerplugin.la +%{tde_tdelibdir}/libk3baudiometainforenamerplugin.so +%{tde_tdelibdir}/libk3baudioprojectcddbplugin.la +%{tde_tdelibdir}/libk3baudioprojectcddbplugin.so +%{tde_tdelibdir}/libk3bexternalencoder.la +%{tde_tdelibdir}/libk3bexternalencoder.so +%{tde_tdelibdir}/libk3bflacdecoder.la +%{tde_tdelibdir}/libk3bflacdecoder.so +%{tde_tdelibdir}/libk3blibsndfiledecoder.la +%{tde_tdelibdir}/libk3blibsndfiledecoder.so +%{tde_tdelibdir}/libk3bmpcdecoder.la +%{tde_tdelibdir}/libk3bmpcdecoder.so +%{tde_tdelibdir}/libk3boggvorbisdecoder.la +%{tde_tdelibdir}/libk3boggvorbisdecoder.so +%{tde_tdelibdir}/libk3boggvorbisencoder.la +%{tde_tdelibdir}/libk3boggvorbisencoder.so +%{tde_tdelibdir}/libk3bsoxencoder.la +%{tde_tdelibdir}/libk3bsoxencoder.so +%{tde_tdelibdir}/libk3bwavedecoder.la +%{tde_tdelibdir}/libk3bwavedecoder.so +%lang(en) %{tde_tdedocdir}/HTML/en/k3b/ + + +########## + +%package common +Summary: Common files of %{name} +Group: Applications/Archiving +Requires: %{name} = %{version}-%{release} +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} +BuildArch: noarch +%endif + +%description common +%{summary}. + +%files common +%defattr(-,root,root,-) +%{tde_tdeappdir}/k3b.desktop +%{tde_datadir}/applnk/.hidden/k3b-cue.desktop +%{tde_datadir}/applnk/.hidden/k3b-iso.desktop +%{tde_datadir}/apps/k3b/ +%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/videodvd.desktop +%{tde_datadir}/apps/konqueror/servicemenus/k3b_audiocd_rip.desktop +%{tde_datadir}/apps/konqueror/servicemenus/k3b_cd_copy.desktop +%{tde_datadir}/apps/konqueror/servicemenus/k3b_dvd_copy.desktop +%{tde_datadir}/apps/konqueror/servicemenus/k3b_handle_empty_cd.desktop +%{tde_datadir}/apps/konqueror/servicemenus/k3b_handle_empty_dvd.desktop +%{tde_datadir}/apps/konqueror/servicemenus/k3b_videodvd_rip.desktop +%{tde_datadir}/config/k3brc +%{tde_datadir}/mimelnk/application/x-k3b.desktop +%{tde_datadir}/icons/hicolor/*/apps/k3b.png +%{tde_datadir}/services/kfile_k3b.desktop +%{tde_datadir}/services/videodvd.protocol +%{tde_datadir}/sounds/k3b_error1.wav +%{tde_datadir}/sounds/k3b_success1.wav +%{tde_datadir}/sounds/k3b_wait_media1.wav + + +%post common +touch --no-create %{tde_datadir}/icons/hicolor ||: + +%postun common +if [ $1 -eq 0 ] ; then + touch --no-create %{tde_datadir}/icons/hicolor &> /dev/null + gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : + update-desktop-database %{tde_appdir} -q &> /dev/null +fi + +%posttrans common +gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : +update-desktop-database %{tde_appdir} -q &> /dev/null + +########## + +%package libs +Summary: Runtime libraries for %{name} +Group: System Environment/Libraries +Requires: %{name} = %{version}-%{release} + +%description libs +%{summary}. + +%files libs +%defattr(-,root,root,-) +%{tde_libdir}/libk3b.so.3 +%{tde_libdir}/libk3b.so.3.0.0 +%{tde_libdir}/libk3bdevice.so.5 +%{tde_libdir}/libk3bdevice.so.5.0.0 + +%post libs +/sbin/ldconfig + +%postun libs +/sbin/ldconfig + +########## + +%package devel +Summary: Files for the development of applications which will use %{name} +Group: Development/Libraries +Requires: %{name}-libs = %{version}-%{release} + +%description devel +%{summary}. + +%files devel +%defattr(-,root,root,-) +%{tde_includedir}/k3b/ +%{tde_libdir}/libk3b.so +%{tde_libdir}/libk3bdevice.so + +%post devel +/sbin/ldconfig + +%postun devel +/sbin/ldconfig + +########## + +%prep +%setup -q -a 0 -n applications/k3b + +# set in k3brc too +%patch4 -p1 -b .manualbufsize +%patch106 -p1 -b .desktopfile +%patch108 -p1 +%patch109 -p1 -b .ldflags +%patch110 -p1 -b .dbustqt + + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_includedir}/k3b \ + --disable-rpath \ + --enable-new-ldflags \ + --disable-debug --disable-warnings \ + --disable-dependency-tracking --enable-final \ + --with-k3bsetup=no \ + --without-cdrecord-suid-root \ + --with-oggvorbis \ + --with-flac \ + --with-external-libsamplerate \ + --with-libdvdread \ + --with-musicbrainz \ + --with-sndfile \ + --without-ffmpeg --without-lame --without-libmad \ + --with-musepack \ + --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} + +%__make %{?_smp_mflags} + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} +%__install -D -m 644 -p %{SOURCE2} %{buildroot}%{tde_datadir}/config/k3brc + +# remove the .la files +%__rm -f %{buildroot}%{tde_libdir}/libk3b*.la + +# remove i18n for Plattdeutsch (Low Saxon) +#%__rm -fr %{buildroot}%{tde_datadir}/locale/nds + + + +%clean +%__rm -rf %{buildroot} + + + +%changelog +* Sat Aug 04 2012 Francois Andriot - 3.5.13-5 +- Add support for Mageia 2 and Mandriva 2011 +- Fix DBUS-TQT detection that prevented HAL support +- Adds requirement for resmgr + +* Wed May 09 2012 Francois Andriot - 3.5.13-4 +- Removes i18 files (built separately) + +* Tue May 01 2012 Francois Andriot - 3.5.13-3 +- Rebuilt for Fedora 17 +- Fix compilation with GCC 4.7 [Bug #958] + +* Sat Nov 05 2011 Francois Andriot - 3.5.13-2 +- Updates BuildRequires + +* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 +- Initial release for RHEL 6, RHEL 5 and Fedora 15 + +* Sun Sep 11 2011 Francois Andriot - 3.5.13-0 +- Import to GIT diff --git a/redhat/applications/k3b/trinity-k3b-3.5.12.spec b/redhat/applications/k3b/trinity-k3b-3.5.12.spec deleted file mode 100644 index 0d17f7958..000000000 --- a/redhat/applications/k3b/trinity-k3b-3.5.12.spec +++ /dev/null @@ -1,282 +0,0 @@ -# Default version for this component -%if "%{?version}" == "" -%define version 3.5.12 -%endif -%define release 7 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_includedir %{_includedir}/kde -%define tde_libdir %{_libdir}/kde3 - - -Name: trinity-k3b -Summary: CD/DVD burning application -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -%if "%{?_prefix}" == "/usr" -Obsoletes: k3b -%endif - -Group: Applications/Archiving -License: GPLv2+ - -Source0: k3b-%{version}.tar.gz -Source1: k3b-i18n-1.0.5.tar.bz2 -Source2: k3brc - -# Legacy RedHat / Fedora patches -Patch2: k3b-1.0.3-umount.patch -# manual bufsize (upstream?) -Patch4: k3b-1.0.4-manualbufsize.patch -# 3rd time is a charm, https://bugs.kde.org/show_bug.cgi?id=156684#c30 -Patch102: reload-for-verification.diff -# put k3b-(iso,cue).desktop to xdg_apps_DATA , see http://bugzilla.redhat.com/419681 -# upstreamed 2008-08-27 -Patch105: k3b-1.0.5-hidden.patch -# RHEL6: Fix K3B icon -Patch106: trinity-k3b-icons.patch - - -BuildRequires: trinity-kdelibs-devel -BuildRequires: desktop-file-utils -BuildRequires: alsa-lib-devel -BuildRequires: audiofile-devel -BuildRequires: dbus-qt-devel hal-devel -BuildRequires: flac-devel -BuildRequires: gettext -BuildRequires: libdvdread-devel -%if 0%{?fedora} >= 15 || 0%{?rhel} <= 5 -BuildRequires: libmpcdec-devel -%else -BuildRequires: musepack-tools-devel -%endif -BuildRequires: libmusicbrainz-devel -BuildRequires: libsamplerate-devel -BuildRequires: libsndfile-devel -BuildRequires: libvorbis-devel -BuildRequires: taglib-devel -BuildRequires: zlib-devel - -Obsoletes: k3b-extras < 0:1.0-1 -Provides: k3b-extras = %{version}-%{release} - -Obsoletes: %{name}-i18n -Provides: %{name}-i18n - -Requires(post): coreutils -Requires(postun): coreutils - -Requires: %{name}-libs = %{version}-%{release} -Requires: %{name}-common = %{version}-%{release} - -Requires: cdrecord mkisofs -Requires: cdrdao -Requires: dvd+rw-tools - -%description -K3b provides a comfortable user interface to perform most CD/DVD -burning tasks. While the experienced user can take influence in all -steps of the burning process the beginner may find comfort in the -automatic settings and the reasonable k3b defaults which allow a quick -start. - -%package common -Summary: Common files of %{name} -Group: Applications/Archiving -Requires: %{name} = %{version}-%{release} -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 -BuildArch: noarch -%endif -%description common -%{summary}. - -%package libs -Summary: Runtime libraries for %{name} -Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} -%description libs -%{summary}. - -%package devel -Summary: Files for the development of applications which will use %{name} -Group: Development/Libraries -Requires: %{name}-libs = %{version}-%{release} -%description devel -%{summary}. - - -%prep -%setup -q -a 1 -n applications/k3b - -%patch2 -p1 -b .umount -# set in k3brc too -%patch4 -p1 -b .manualbufsize -%patch102 -p0 -b .kde#156684 -%patch106 -p1 -b .desktopfile - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - -%patch105 -p1 -b .hidden - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -CFLAGS="%optflags -fno-strict-aliasing" \ -CXXFLAGS="%optflags -fno-strict-aliasing" \ -%configure \ - --includedir=%{_includedir}/k3b \ - --disable-rpath \ - --enable-new-ldflags \ - --disable-debug --disable-warnings \ - --disable-dependency-tracking --enable-final \ - --with-k3bsetup=no \ - --without-cdrecord-suid-root \ - --with-oggvorbis \ - --with-flac \ - --with-external-libsamplerate \ - --with-libdvdread \ - --with-musicbrainz \ - --with-sndfile \ - --without-ffmpeg --without-lame --without-libmad \ - --with-musepack \ - --with-extra-includes=%{_includedir}/tqt - -%__make %{?_smp_mflags} - -# Build for i18n tarball -pushd k3b-i18n-1.0.5 -%configure -%__make %{?_smp_mflags} -popd - -%install -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -%__make install DESTDIR=%{buildroot} -C k3b-i18n-1.0.5 -%__install -D -m 644 -p %{SOURCE2} %{buildroot}%{_datadir}/config/k3brc - -# remove the .la files -%__rm -f %{buildroot}%{_libdir}/libk3b*.la - -# remove i18n for Plattdeutsch (Low Saxon) -%__rm -fr %{buildroot}%{_datadir}/locale/nds - -%find_lang k3b --with-kde -%find_lang k3bsetup -%find_lang libk3b -%find_lang libk3bdevice -cat k3b.lang k3bsetup.lang libk3b.lang libk3bdevice.lang >> all.lang - - -%check -export PATH="%{_bindir}:${PATH}" -desktop-file-validate %{buildroot}%{_datadir}/applications/kde/k3b.desktop - - -%clean -%__rm -rf %{buildroot} - - -%post libs -/sbin/ldconfig - -%postun libs -/sbin/ldconfig - -%post common -touch --no-create %{_datadir}/icons/hicolor ||: - -%postun common -if [ $1 -eq 0 ] ; then -touch --no-create %{_datadir}/icons/hicolor &> /dev/null -gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : -update-desktop-database -q &> /dev/null -fi - -%posttrans common -gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : -update-desktop-database -q &> /dev/null - - -%files -%defattr(-,root,root,-) -%doc AUTHORS README COPYING TODO ChangeLog -%{_bindir}/k3b -%{tde_libdir}/*.so -%{tde_libdir}/*.la -%doc %{tde_docdir}/HTML/*/k3b/* - -%files common -f all.lang -%defattr(-,root,root,-) -%{_datadir}/applications/kde/*.desktop -%{_datadir}/apps/k3b/ -%{_datadir}/apps/konqueror/servicemenus/*.desktop -%{_datadir}/apps/konqsidebartng/virtual_folders/services/videodvd.desktop -%{_datadir}/config/k3brc -%{_datadir}/mimelnk/application/x-k3b.desktop -%{_datadir}/icons/hicolor/*/*/* -%{_datadir}/services/kfile_k3b.desktop -%{_datadir}/services/videodvd.protocol -%{_datadir}/sounds/k3b_*.wav - -%files libs -%defattr(-,root,root,-) -%{_libdir}/libk3b.so.3* -%{_libdir}/libk3bdevice.so.5* - -%files devel -%defattr(-,root,root,-) -%{_includedir}/* -%{_libdir}/libk3b.so -%{_libdir}/libk3bdevice.so - - -%changelog -* Mon Sep 19 2011 Francois Andriot - 3.5.12-7 -- Add support for RHEL5 - -* Sun Sep 11 2011 Francois Andriot - 3.5.12-6 -- Import to GIT - -* Wed Aug 24 2011 Francois Andriot - 3.5.12-5 -- Add fix for Fedora 15 - -* Mon Aug 22 2011 Francois Andriot - 3.5.12-4 -- Correct macro to install under "/opt", if desired - -* Thu Apr 28 2011 Francois Andriot - 3.5.12-3 -- Fix config file '/usr/share/config/k3brc' - -* Sun Dec 19 2010 Francois Andriot - 3.5.12-2 -- Add i18n translations -- Add patches from RHEL 6.0 (except Patch106, redundant with our 'patch0') -- Renamed 'patch0' to 'patch106' - -* Fri Dec 17 2010 Francois Andriot - 3.5.12-1 -- Add macro _kde3_prefix to define custom installation prefix (ex: /opt/kde3) -- Add '--with-extra-includes=%{_includedir}/tqt' - -* Wed Dec 15 2010 Francois Andriot - 3.5.12-0 -- Initial version built for RHEL 6.0 -- Add 'patch0' : invalid syntax in 'k3b.desktop' - diff --git a/redhat/applications/k3b/trinity-k3b-3.5.13.1.spec b/redhat/applications/k3b/trinity-k3b-3.5.13.1.spec deleted file mode 100644 index 3c3ed5ba9..000000000 --- a/redhat/applications/k3b/trinity-k3b-3.5.13.1.spec +++ /dev/null @@ -1,409 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-k3b -Summary: CD/DVD burning application -Version: 3.5.13.1 -Release: 2%{?dist}%{?_variant} - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Group: Applications/Archiving -License: GPLv2+ - -Source0: k3b-%{version}.tar.gz -Source2: k3brc - -# Legacy RedHat / Fedora patches -# manual bufsize (upstream?) -Patch4: k3b-1.0.4-manualbufsize.patch -# RHEL6: Fix K3B icon -Patch106: trinity-k3b-icons.patch - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-dbus-tqt-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-arts-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: alsa-lib-devel -BuildRequires: audiofile-devel -BuildRequires: hal-devel -BuildRequires: gettext -BuildRequires: libdvdread-devel -BuildRequires: libmpcdec-devel -BuildRequires: libmusicbrainz-devel -BuildRequires: libsamplerate-devel -BuildRequires: libsndfile-devel -BuildRequires: libvorbis-devel -BuildRequires: taglib-devel -BuildRequires: zlib-devel - -Requires(post): coreutils -Requires(postun): coreutils - -Requires: %{name}-libs = %{version}-%{release} -Requires: %{name}-common = %{version}-%{release} - -Requires: cdrecord mkisofs -Requires: cdrdao -Requires: dvd+rw-tools - -# FLAC support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}flac-devel -BuildRequires: %{_lib}flac++-devel -%else -BuildRequires: flac-devel -%endif - -# MAD support -%if 0%{?mdkversion} || 0%{?mgaversion} -%define with_mad 1 -BuildRequires: %{_lib}mad-devel -%endif - -# LAME support -%if 0%{?mdkversion} || 0%{?mgaversion} -%define with_lame 1 -BuildRequires: %{_lib}lame-devel -%endif - -# FFMPEG support -%if 0%{?mdkversion} || 0%{?mgaversion} -%define with_ffmpeg 1 -BuildRequires: %{_lib}ffmpeg-devel -%endif - -%description -K3b provides a comfortable user interface to perform most CD/DVD -burning tasks. While the experienced user can take influence in all -steps of the burning process the beginner may find comfort in the -automatic settings and the reasonable k3b defaults which allow a quick -start. - -%files -%defattr(-,root,root,-) -%doc AUTHORS README COPYING TODO ChangeLog -%{tde_bindir}/k3b -%{tde_tdelibdir}/kfile_k3b.la -%{tde_tdelibdir}/kfile_k3b.so -%{tde_tdelibdir}/kio_videodvd.la -%{tde_tdelibdir}/kio_videodvd.so -%{tde_tdelibdir}/libk3balsaoutputplugin.la -%{tde_tdelibdir}/libk3balsaoutputplugin.so -%{tde_tdelibdir}/libk3bartsoutputplugin.la -%{tde_tdelibdir}/libk3bartsoutputplugin.so -%{tde_tdelibdir}/libk3baudiometainforenamerplugin.la -%{tde_tdelibdir}/libk3baudiometainforenamerplugin.so -%{tde_tdelibdir}/libk3baudioprojectcddbplugin.la -%{tde_tdelibdir}/libk3baudioprojectcddbplugin.so -%{tde_tdelibdir}/libk3bexternalencoder.la -%{tde_tdelibdir}/libk3bexternalencoder.so -%{tde_tdelibdir}/libk3bflacdecoder.la -%{tde_tdelibdir}/libk3bflacdecoder.so -%{tde_tdelibdir}/libk3blibsndfiledecoder.la -%{tde_tdelibdir}/libk3blibsndfiledecoder.so -%{tde_tdelibdir}/libk3bmpcdecoder.la -%{tde_tdelibdir}/libk3bmpcdecoder.so -%{tde_tdelibdir}/libk3boggvorbisdecoder.la -%{tde_tdelibdir}/libk3boggvorbisdecoder.so -%{tde_tdelibdir}/libk3boggvorbisencoder.la -%{tde_tdelibdir}/libk3boggvorbisencoder.so -%{tde_tdelibdir}/libk3bsoxencoder.la -%{tde_tdelibdir}/libk3bsoxencoder.so -%{tde_tdelibdir}/libk3bwavedecoder.la -%{tde_tdelibdir}/libk3bwavedecoder.so -%lang(en) %{tde_tdedocdir}/HTML/en/k3b/ - - -########## - -%package common -Summary: Common files of %{name} -Group: Applications/Archiving -Requires: %{name} = %{version}-%{release} -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} -BuildArch: noarch -%endif - -%description common -%{summary}. - -%files common -%defattr(-,root,root,-) -%{tde_tdeappdir}/k3b.desktop -%{tde_datadir}/applnk/.hidden/k3b-cue.desktop -%{tde_datadir}/applnk/.hidden/k3b-iso.desktop -%{tde_datadir}/apps/k3b/ -%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/videodvd.desktop -%{tde_datadir}/apps/konqueror/servicemenus/k3b_audiocd_rip.desktop -%{tde_datadir}/apps/konqueror/servicemenus/k3b_cd_copy.desktop -%{tde_datadir}/apps/konqueror/servicemenus/k3b_dvd_copy.desktop -%{tde_datadir}/apps/konqueror/servicemenus/k3b_handle_empty_cd.desktop -%{tde_datadir}/apps/konqueror/servicemenus/k3b_handle_empty_dvd.desktop -%{tde_datadir}/apps/konqueror/servicemenus/k3b_videodvd_rip.desktop -%{tde_datadir}/config/k3brc -%{tde_datadir}/mimelnk/application/x-k3b.desktop -%{tde_datadir}/icons/hicolor/*/apps/k3b.png -%{tde_datadir}/services/kfile_k3b.desktop -%{tde_datadir}/services/videodvd.protocol -%{tde_datadir}/sounds/k3b_error1.wav -%{tde_datadir}/sounds/k3b_success1.wav -%{tde_datadir}/sounds/k3b_wait_media1.wav - - -%post common -touch --no-create %{tde_datadir}/icons/hicolor ||: - -%postun common -if [ $1 -eq 0 ] ; then - touch --no-create %{tde_datadir}/icons/hicolor &> /dev/null - gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : - update-desktop-database %{tde_appdir} -q &> /dev/null -fi - -%posttrans common -gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : -update-desktop-database %{tde_appdir} -q &> /dev/null - -########## - -%package libs -Summary: Runtime libraries for %{name} -Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} - -%description libs -%{summary}. - -%files libs -%defattr(-,root,root,-) -%{tde_libdir}/libk3b.so.3 -%{tde_libdir}/libk3b.so.3.0.0 -%{tde_libdir}/libk3bdevice.so.5 -%{tde_libdir}/libk3bdevice.so.5.0.0 - -%post libs -/sbin/ldconfig - -%postun libs -/sbin/ldconfig - -########## - -%package devel -Summary: Files for the development of applications which will use %{name} -Group: Development/Libraries -Requires: %{name}-libs = %{version}-%{release} - -%description devel -%{summary}. - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/*.h -%{tde_libdir}/libk3b.so -%{tde_libdir}/libk3bdevice.so - -%post devel -/sbin/ldconfig - -%postun devel -/sbin/ldconfig - -########## - -%if 0%{?with_mad} -%package plugin-mad -Summary: The MAD plugin for K3B -Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} - -%description plugin-mad -%{summary}. - -MAD is a high-quality MPEG audio decoder. It currently supports MPEG-1 -and the MPEG-2 extension to Lower Sampling Frequencies, as well as the -so-called MPEG 2.5 format. All three audio layers (Layer I, Layer II, -and Layer III a.k.a. MP3) are fully implemented. - -%files plugin-mad -%defattr(-,root,root,-) -%{tde_tdelibdir}/libk3bmaddecoder.la -%{tde_tdelibdir}/libk3bmaddecoder.so -%endif - -########## - -%if 0%{?with_lame} -%package plugin-lame -Summary: The LAME plugin for K3B -Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} - -%description plugin-lame -%{summary}. - -Personal and commercial use of compiled versions of LAME (or any other mp3 -encoder) requires a patent license in some countries. - -This package is in tainted, as MP3 encoding is covered by software patents. - -%files plugin-lame -%defattr(-,root,root,-) -%{tde_tdelibdir}/libk3blameencoder.la -%{tde_tdelibdir}/libk3blameencoder.so -%endif - -########## - -%if 0%{?with_ffmpeg} -%package plugin-ffmpeg -Summary: The FFMPEG plugin for K3B -Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} - -%description plugin-ffmpeg -%{summary}. - -ffmpeg is a hyper fast realtime audio/video encoder, a streaming server -and a generic audio and video file converter. - -%files plugin-ffmpeg -%defattr(-,root,root,-) -%{tde_tdelibdir}/libk3bffmpegdecoder.la -%{tde_tdelibdir}/libk3bffmpegdecoder.so -%endif - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -a 0 -n k3b-3.5.13.1 - -# set in k3brc too -%patch4 -p1 -b .manualbufsize -%patch106 -p1 -b .desktopfile - - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --enable-new-ldflags \ - --disable-debug --disable-warnings \ - --disable-dependency-tracking --enable-final \ - --with-k3bsetup=no \ - --without-cdrecord-suid-root \ - --with-oggvorbis \ - --with-flac \ - --with-external-libsamplerate \ - --with-libdvdread \ - --with-musicbrainz \ - --with-sndfile \ - %{?with_ffmpeg:--with-ffmpeg} %{?!with_ffmpeg:--without-ffmpeg} \ - %{?with_lame:--with-lame} %{?!with_lame:--without-lame} \ - %{?with_mad:--with-libmad} %{?!with_mad:--without-libmad} \ - --with-musepack \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} - -%__make %{?_smp_mflags} - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -%__install -D -m 644 -p %{SOURCE2} %{buildroot}%{tde_datadir}/config/k3brc - -# remove the .la files -%__rm -f %{buildroot}%{tde_libdir}/libk3b*.la - -# remove i18n for Plattdeutsch (Low Saxon) -#%__rm -fr %{buildroot}%{tde_datadir}/locale/nds - - - -%clean -%__rm -rf %{buildroot} - - - -%changelog -* Sun Jan 06 2013 Francois Andriot - 3.5.13.1-2 -- Enables FFMPEG support -- Enables LAME support -- Enables MAD support - -* Wed Oct 03 2012 Francois Andriot - 3.5.13.1-1 -- Initial build for TDE 3.5.13.1 -- Remove requirement for resmgr - -* Sat Aug 04 2012 Francois Andriot - 3.5.13-5 -- Add support for Mageia 2 and Mandriva 2011 -- Fix DBUS-TQT detection that prevented HAL support -- Adds requirement for resmgr - -* Wed May 09 2012 Francois Andriot - 3.5.13-4 -- Removes i18 files (built separately) - -* Tue May 01 2012 Francois Andriot - 3.5.13-3 -- Rebuilt for Fedora 17 -- Fix compilation with GCC 4.7 [Bug #958] - -* Sat Nov 05 2011 Francois Andriot - 3.5.13-2 -- Updates BuildRequires - -* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 -- Initial release for RHEL 6, RHEL 5 and Fedora 15 - -* Sun Sep 11 2011 Francois Andriot - 3.5.13-0 -- Import to GIT diff --git a/redhat/applications/k3b/trinity-k3b-3.5.13.2.spec b/redhat/applications/k3b/trinity-k3b-3.5.13.2.spec deleted file mode 100644 index 140701e95..000000000 --- a/redhat/applications/k3b/trinity-k3b-3.5.13.2.spec +++ /dev/null @@ -1,492 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-k3b -Summary: CD/DVD burning application -Version: 3.5.13.2 -Release: 1%{?dist}%{?_variant} - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Group: Applications/Archiving -License: GPLv2+ - -Source0: %{name}-3.5.13.2.tar.gz -Source2: k3brc - -# Legacy RedHat / Fedora patches -# manual bufsize (upstream?) -Patch4: k3b-1.0.4-manualbufsize.patch -# RHEL6: Fix K3B icon -Patch106: trinity-k3b-icons.patch - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-arts-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: alsa-lib-devel -BuildRequires: audiofile-devel -BuildRequires: hal-devel -BuildRequires: gettext -BuildRequires: libmpcdec-devel -BuildRequires: libmusicbrainz-devel -BuildRequires: libvorbis-devel -BuildRequires: taglib-devel -BuildRequires: zlib-devel - -Requires(post): coreutils -Requires(postun): coreutils - -Requires: %{name}-libs = %{version}-%{release} -Requires: %{name}-common = %{version}-%{release} - -Requires: cdrecord mkisofs -Requires: dvd+rw-tools - -# CDRDAO support -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 5 -Requires: cdrdao -%endif - -# DBUS support -# TQT bindings not available for RHEL4 -%if 0%{?rhel} == 4 -# Dbus bindings were rebuilt with Qt support -BuildRequires: dbus-devel >= 0.22-12.EL.9p1 -Requires: dbus-qt -%else -BuildRequires: trinity-dbus-tqt-devel -Requires: trinity-dbus-tqt >= %{version} -%endif - -# SNDFILE support -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 4 -%define with_sndfile 1 -BuildRequires: libsndfile-devel -%endif - -# SAMPLERATE support -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 4 -%define with_samplerate 1 -BuildRequires: libsamplerate-devel -%endif - -# DVDREAD support -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 4 -%define with_dvdread 1 -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: %{_lib}dvdread-devel -%else -BuildRequires: libdvdread-devel -%endif -%endif - -# FLAC support -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} -BuildRequires: libflac-devel -BuildRequires: libflac++-devel -%else -BuildRequires: %{_lib}flac-devel -BuildRequires: %{_lib}flac++-devel -%endif -%else -BuildRequires: flac-devel -%endif - -# MAD support -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} -%define with_libmad 1 -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: %{_lib}mad-devel -%endif -%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} -BuildRequires: libmad-devel -%endif -%endif - -# LAME support -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} -%define with_lame 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} -BuildRequires: liblame-devel -%else -BuildRequires: %{_lib}lame-devel -%endif -%endif -%if 0%{?suse_version} -BuildRequires: libmp3lame-devel -%endif -%if 0%{?fedora} || 0%{?rhel} -BuildRequires: lame-devel -%endif -%endif - -# FFMPEG support -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} -%define with_ffmpeg 1 -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: %{_lib}ffmpeg-devel -%endif -%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} -BuildRequires: ffmpeg-devel -%endif -%endif - - -%description -K3b provides a comfortable user interface to perform most CD/DVD -burning tasks. While the experienced user can take influence in all -steps of the burning process the beginner may find comfort in the -automatic settings and the reasonable k3b defaults which allow a quick -start. - - -%files -%defattr(-,root,root,-) -%doc AUTHORS README COPYING TODO ChangeLog -%{tde_bindir}/k3b -%{tde_tdelibdir}/kfile_k3b.la -%{tde_tdelibdir}/kfile_k3b.so -%{tde_tdelibdir}/kio_videodvd.la -%{tde_tdelibdir}/kio_videodvd.so -%{tde_tdelibdir}/libk3balsaoutputplugin.la -%{tde_tdelibdir}/libk3balsaoutputplugin.so -%{tde_tdelibdir}/libk3bartsoutputplugin.la -%{tde_tdelibdir}/libk3bartsoutputplugin.so -%{tde_tdelibdir}/libk3baudiometainforenamerplugin.la -%{tde_tdelibdir}/libk3baudiometainforenamerplugin.so -%{tde_tdelibdir}/libk3baudioprojectcddbplugin.la -%{tde_tdelibdir}/libk3baudioprojectcddbplugin.so -%{tde_tdelibdir}/libk3bexternalencoder.la -%{tde_tdelibdir}/libk3bexternalencoder.so -%{tde_tdelibdir}/libk3bflacdecoder.la -%{tde_tdelibdir}/libk3bflacdecoder.so -%if 0%{?with_sndfile} -%{tde_tdelibdir}/libk3blibsndfiledecoder.la -%{tde_tdelibdir}/libk3blibsndfiledecoder.so -%endif -%{tde_tdelibdir}/libk3bmpcdecoder.la -%{tde_tdelibdir}/libk3bmpcdecoder.so -%{tde_tdelibdir}/libk3boggvorbisdecoder.la -%{tde_tdelibdir}/libk3boggvorbisdecoder.so -%{tde_tdelibdir}/libk3boggvorbisencoder.la -%{tde_tdelibdir}/libk3boggvorbisencoder.so -%{tde_tdelibdir}/libk3bsoxencoder.la -%{tde_tdelibdir}/libk3bsoxencoder.so -%{tde_tdelibdir}/libk3bwavedecoder.la -%{tde_tdelibdir}/libk3bwavedecoder.so -%lang(en) %{tde_tdedocdir}/HTML/en/k3b/ - - -########## - -%package common -Summary: Common files of %{name} -Group: Applications/Archiving -Requires: %{name} = %{version}-%{release} -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} -BuildArch: noarch -%endif - -%description common -%{summary}. - -%files common -%defattr(-,root,root,-) -%{tde_tdeappdir}/k3b.desktop -%{tde_datadir}/applnk/.hidden/k3b-cue.desktop -%{tde_datadir}/applnk/.hidden/k3b-iso.desktop -%{tde_datadir}/apps/k3b/ -%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/videodvd.desktop -%{tde_datadir}/apps/konqueror/servicemenus/k3b_audiocd_rip.desktop -%{tde_datadir}/apps/konqueror/servicemenus/k3b_cd_copy.desktop -%{tde_datadir}/apps/konqueror/servicemenus/k3b_dvd_copy.desktop -%{tde_datadir}/apps/konqueror/servicemenus/k3b_handle_empty_cd.desktop -%{tde_datadir}/apps/konqueror/servicemenus/k3b_handle_empty_dvd.desktop -%{tde_datadir}/apps/konqueror/servicemenus/k3b_videodvd_rip.desktop -%{tde_datadir}/config/k3brc -%{tde_datadir}/mimelnk/application/x-k3b.desktop -%{tde_datadir}/icons/hicolor/*/apps/k3b.png -%{tde_datadir}/services/kfile_k3b.desktop -%{tde_datadir}/services/videodvd.protocol -%{tde_datadir}/sounds/k3b_error1.wav -%{tde_datadir}/sounds/k3b_success1.wav -%{tde_datadir}/sounds/k3b_wait_media1.wav - - -%post common -touch --no-create %{tde_datadir}/icons/hicolor ||: - -%postun common -if [ $1 -eq 0 ] ; then - touch --no-create %{tde_datadir}/icons/hicolor &> /dev/null - gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : - update-desktop-database %{tde_appdir} -q &> /dev/null -fi - -%posttrans common -gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : -update-desktop-database %{tde_appdir} -q &> /dev/null - -########## - -%package libs -Summary: Runtime libraries for %{name} -Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} - -%description libs -%{summary}. - -%files libs -%defattr(-,root,root,-) -%{tde_libdir}/libk3b.so.3 -%{tde_libdir}/libk3b.so.3.0.0 -%{tde_libdir}/libk3bdevice.so.5 -%{tde_libdir}/libk3bdevice.so.5.0.0 - -%post libs -/sbin/ldconfig - -%postun libs -/sbin/ldconfig - -########## - -%package devel -Summary: Files for the development of applications which will use %{name} -Group: Development/Libraries -Requires: %{name}-libs = %{version}-%{release} - -%description devel -%{summary}. - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/*.h -%{tde_libdir}/libk3b.so -%{tde_libdir}/libk3bdevice.so - -%post devel -/sbin/ldconfig - -%postun devel -/sbin/ldconfig - -########## - -%if 0%{?with_libmad} -%package plugin-mad -Summary: The MAD plugin for K3B -Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} - -%description plugin-mad -%{summary}. - -MAD is a high-quality MPEG audio decoder. It currently supports MPEG-1 -and the MPEG-2 extension to Lower Sampling Frequencies, as well as the -so-called MPEG 2.5 format. All three audio layers (Layer I, Layer II, -and Layer III a.k.a. MP3) are fully implemented. - -%files plugin-mad -%defattr(-,root,root,-) -%{tde_tdelibdir}/libk3bmaddecoder.la -%{tde_tdelibdir}/libk3bmaddecoder.so -%endif - -########## - -%if 0%{?with_lame} -%package plugin-lame -Summary: The LAME plugin for K3B -Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} - -%description plugin-lame -%{summary}. - -Personal and commercial use of compiled versions of LAME (or any other mp3 -encoder) requires a patent license in some countries. - -This package is in tainted, as MP3 encoding is covered by software patents. - -%files plugin-lame -%defattr(-,root,root,-) -%{tde_tdelibdir}/libk3blameencoder.la -%{tde_tdelibdir}/libk3blameencoder.so -%endif - -########## - -%if 0%{?with_ffmpeg} -%package plugin-ffmpeg -Summary: The FFMPEG plugin for K3B -Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} - -%description plugin-ffmpeg -%{summary}. - -ffmpeg is a hyper fast realtime audio/video encoder, a streaming server -and a generic audio and video file converter. - -%files plugin-ffmpeg -%defattr(-,root,root,-) -%{tde_tdelibdir}/libk3bffmpegdecoder.la -%{tde_tdelibdir}/libk3bffmpegdecoder.so -%endif - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# set in k3brc too -%patch4 -p1 -b .manualbufsize -%patch106 -p1 -b .desktopfile - - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -# FFMPEG trick ... -if [ -d /usr/include/ffmpeg ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/include/ffmpeg" -fi - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --enable-new-ldflags \ - --disable-debug --disable-warnings \ - --disable-dependency-tracking --enable-final \ - --with-k3bsetup=no \ - --without-cdrecord-suid-root \ - --with-oggvorbis \ - --with-flac \ - %{?with_samplerate:--with-external-libsamplerate} \ - %{?with_dvdread:--with-libdvdread} %{?!with_dvdread:--without-libdvdread} \ - --with-musicbrainz \ - %{?with_sndfile:--with-sndfile} %{?!with_sndfile:--without-sndfile} \ - %{?with_ffmpeg:--with-ffmpeg} %{?!with_ffmpeg:--without-ffmpeg} \ - %{?with_lame:--with-lame} %{?!with_lame:--without-lame} \ - %{?with_libmad:--with-libmad} %{?!with_libmad:--without-libmad} \ - --with-musepack \ - --without-resmgr \ - --with-hal \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} - -# Strange behaviour on RHEL4 ... -%if 0%{?rhel} == 4 -%__sed -i "libk3b/jobs/Makefile" -e "/^am_libjobs_la_final_OBJECTS/ s/ lo//g" -%__mkdir_p "libk3bdevice/.libs" -%__ln_s . "libk3bdevice/.libs/.libs" -%endif - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -%__install -D -m 644 -p %{SOURCE2} %{buildroot}%{tde_datadir}/config/k3brc - -# remove the .la files -%__rm -f %{buildroot}%{tde_libdir}/libk3b*.la - -# remove i18n for Plattdeutsch (Low Saxon) -#%__rm -fr %{buildroot}%{tde_datadir}/locale/nds - - -%clean -%__rm -rf %{buildroot} - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 -- Initial release for TDE 3.5.13.2 - -* Sun Jan 06 2013 Francois Andriot - 3.5.13.1-2 -- Enables FFMPEG support -- Enables LAME support -- Enables MAD support - -* Wed Oct 03 2012 Francois Andriot - 3.5.13.1-1 -- Initial build for TDE 3.5.13.1 -- Remove requirement for resmgr - -* Sat Aug 04 2012 Francois Andriot - 3.5.13-5 -- Add support for Mageia 2 and Mandriva 2011 -- Fix DBUS-TQT detection that prevented HAL support -- Adds requirement for resmgr - -* Wed May 09 2012 Francois Andriot - 3.5.13-4 -- Removes i18 files (built separately) - -* Tue May 01 2012 Francois Andriot - 3.5.13-3 -- Rebuilt for Fedora 17 -- Fix compilation with GCC 4.7 [Bug #958] - -* Sat Nov 05 2011 Francois Andriot - 3.5.13-2 -- Updates BuildRequires - -* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 -- Initial release for RHEL 6, RHEL 5 and Fedora 15 - -* Sun Sep 11 2011 Francois Andriot - 3.5.13-0 -- Import to GIT diff --git a/redhat/applications/k3b/trinity-k3b-3.5.13.spec b/redhat/applications/k3b/trinity-k3b-3.5.13.spec deleted file mode 100644 index aca04f95e..000000000 --- a/redhat/applications/k3b/trinity-k3b-3.5.13.spec +++ /dev/null @@ -1,319 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-k3b -Summary: CD/DVD burning application -Version: 3.5.13 -Release: 5%{?dist}%{?_variant} - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Group: Applications/Archiving -License: GPLv2+ - -Source0: k3b-%{version}.tar.gz -Source2: k3brc - -# Legacy RedHat / Fedora patches -# manual bufsize (upstream?) -Patch4: k3b-1.0.4-manualbufsize.patch -# RHEL6: Fix K3B icon -Patch106: trinity-k3b-icons.patch -# [k3b] Fix compilation with GCC 4.7 [Bug #958] -Patch108: k3b-3.5.13-fix_Range_r_3-gcc47.patch -# [k3b] Missing LDFLAGS cause FTBFS on Mageia 2 / Mandriva 2011 -Patch109: k3b-3.5.13-missing_ldflags.patch -# [k3b] Fix dbus-tqt header detection, required for HAL support -Patch110: k3b-3.5.13-fix_dbus_tqt_detection.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-arts-devel -BuildRequires: desktop-file-utils -BuildRequires: alsa-lib-devel -BuildRequires: audiofile-devel -BuildRequires: dbus-tqt-devel hal-devel -BuildRequires: gettext -BuildRequires: libdvdread-devel -BuildRequires: libmpcdec-devel -BuildRequires: libmusicbrainz-devel -BuildRequires: libsamplerate-devel -BuildRequires: libsndfile-devel -BuildRequires: libvorbis-devel -BuildRequires: taglib-devel -BuildRequires: zlib-devel -BuildRequires: %{_lib}resmgr-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}flac-devel -BuildRequires: %{_lib}flac++-devel -%else -BuildRequires: flac-devel -%endif - -Requires(post): coreutils -Requires(postun): coreutils - -Requires: %{name}-libs = %{version}-%{release} -Requires: %{name}-common = %{version}-%{release} - -Requires: cdrecord mkisofs -Requires: cdrdao -Requires: dvd+rw-tools - -%description -K3b provides a comfortable user interface to perform most CD/DVD -burning tasks. While the experienced user can take influence in all -steps of the burning process the beginner may find comfort in the -automatic settings and the reasonable k3b defaults which allow a quick -start. - -%files -%defattr(-,root,root,-) -%doc AUTHORS README COPYING TODO ChangeLog -%{tde_bindir}/k3b -%{tde_tdelibdir}/kfile_k3b.la -%{tde_tdelibdir}/kfile_k3b.so -%{tde_tdelibdir}/kio_videodvd.la -%{tde_tdelibdir}/kio_videodvd.so -%{tde_tdelibdir}/libk3balsaoutputplugin.la -%{tde_tdelibdir}/libk3balsaoutputplugin.so -%{tde_tdelibdir}/libk3bartsoutputplugin.la -%{tde_tdelibdir}/libk3bartsoutputplugin.so -%{tde_tdelibdir}/libk3baudiometainforenamerplugin.la -%{tde_tdelibdir}/libk3baudiometainforenamerplugin.so -%{tde_tdelibdir}/libk3baudioprojectcddbplugin.la -%{tde_tdelibdir}/libk3baudioprojectcddbplugin.so -%{tde_tdelibdir}/libk3bexternalencoder.la -%{tde_tdelibdir}/libk3bexternalencoder.so -%{tde_tdelibdir}/libk3bflacdecoder.la -%{tde_tdelibdir}/libk3bflacdecoder.so -%{tde_tdelibdir}/libk3blibsndfiledecoder.la -%{tde_tdelibdir}/libk3blibsndfiledecoder.so -%{tde_tdelibdir}/libk3bmpcdecoder.la -%{tde_tdelibdir}/libk3bmpcdecoder.so -%{tde_tdelibdir}/libk3boggvorbisdecoder.la -%{tde_tdelibdir}/libk3boggvorbisdecoder.so -%{tde_tdelibdir}/libk3boggvorbisencoder.la -%{tde_tdelibdir}/libk3boggvorbisencoder.so -%{tde_tdelibdir}/libk3bsoxencoder.la -%{tde_tdelibdir}/libk3bsoxencoder.so -%{tde_tdelibdir}/libk3bwavedecoder.la -%{tde_tdelibdir}/libk3bwavedecoder.so -%lang(en) %{tde_tdedocdir}/HTML/en/k3b/ - - -########## - -%package common -Summary: Common files of %{name} -Group: Applications/Archiving -Requires: %{name} = %{version}-%{release} -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} -BuildArch: noarch -%endif - -%description common -%{summary}. - -%files common -%defattr(-,root,root,-) -%{tde_tdeappdir}/k3b.desktop -%{tde_datadir}/applnk/.hidden/k3b-cue.desktop -%{tde_datadir}/applnk/.hidden/k3b-iso.desktop -%{tde_datadir}/apps/k3b/ -%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/videodvd.desktop -%{tde_datadir}/apps/konqueror/servicemenus/k3b_audiocd_rip.desktop -%{tde_datadir}/apps/konqueror/servicemenus/k3b_cd_copy.desktop -%{tde_datadir}/apps/konqueror/servicemenus/k3b_dvd_copy.desktop -%{tde_datadir}/apps/konqueror/servicemenus/k3b_handle_empty_cd.desktop -%{tde_datadir}/apps/konqueror/servicemenus/k3b_handle_empty_dvd.desktop -%{tde_datadir}/apps/konqueror/servicemenus/k3b_videodvd_rip.desktop -%{tde_datadir}/config/k3brc -%{tde_datadir}/mimelnk/application/x-k3b.desktop -%{tde_datadir}/icons/hicolor/*/apps/k3b.png -%{tde_datadir}/services/kfile_k3b.desktop -%{tde_datadir}/services/videodvd.protocol -%{tde_datadir}/sounds/k3b_error1.wav -%{tde_datadir}/sounds/k3b_success1.wav -%{tde_datadir}/sounds/k3b_wait_media1.wav - - -%post common -touch --no-create %{tde_datadir}/icons/hicolor ||: - -%postun common -if [ $1 -eq 0 ] ; then - touch --no-create %{tde_datadir}/icons/hicolor &> /dev/null - gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : - update-desktop-database %{tde_appdir} -q &> /dev/null -fi - -%posttrans common -gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : -update-desktop-database %{tde_appdir} -q &> /dev/null - -########## - -%package libs -Summary: Runtime libraries for %{name} -Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} - -%description libs -%{summary}. - -%files libs -%defattr(-,root,root,-) -%{tde_libdir}/libk3b.so.3 -%{tde_libdir}/libk3b.so.3.0.0 -%{tde_libdir}/libk3bdevice.so.5 -%{tde_libdir}/libk3bdevice.so.5.0.0 - -%post libs -/sbin/ldconfig - -%postun libs -/sbin/ldconfig - -########## - -%package devel -Summary: Files for the development of applications which will use %{name} -Group: Development/Libraries -Requires: %{name}-libs = %{version}-%{release} - -%description devel -%{summary}. - -%files devel -%defattr(-,root,root,-) -%{tde_includedir}/k3b/ -%{tde_libdir}/libk3b.so -%{tde_libdir}/libk3bdevice.so - -%post devel -/sbin/ldconfig - -%postun devel -/sbin/ldconfig - -########## - -%prep -%setup -q -a 0 -n applications/k3b - -# set in k3brc too -%patch4 -p1 -b .manualbufsize -%patch106 -p1 -b .desktopfile -%patch108 -p1 -%patch109 -p1 -b .ldflags -%patch110 -p1 -b .dbustqt - - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_includedir}/k3b \ - --disable-rpath \ - --enable-new-ldflags \ - --disable-debug --disable-warnings \ - --disable-dependency-tracking --enable-final \ - --with-k3bsetup=no \ - --without-cdrecord-suid-root \ - --with-oggvorbis \ - --with-flac \ - --with-external-libsamplerate \ - --with-libdvdread \ - --with-musicbrainz \ - --with-sndfile \ - --without-ffmpeg --without-lame --without-libmad \ - --with-musepack \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} - -%__make %{?_smp_mflags} - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -%__install -D -m 644 -p %{SOURCE2} %{buildroot}%{tde_datadir}/config/k3brc - -# remove the .la files -%__rm -f %{buildroot}%{tde_libdir}/libk3b*.la - -# remove i18n for Plattdeutsch (Low Saxon) -#%__rm -fr %{buildroot}%{tde_datadir}/locale/nds - - - -%clean -%__rm -rf %{buildroot} - - - -%changelog -* Sat Aug 04 2012 Francois Andriot - 3.5.13-5 -- Add support for Mageia 2 and Mandriva 2011 -- Fix DBUS-TQT detection that prevented HAL support -- Adds requirement for resmgr - -* Wed May 09 2012 Francois Andriot - 3.5.13-4 -- Removes i18 files (built separately) - -* Tue May 01 2012 Francois Andriot - 3.5.13-3 -- Rebuilt for Fedora 17 -- Fix compilation with GCC 4.7 [Bug #958] - -* Sat Nov 05 2011 Francois Andriot - 3.5.13-2 -- Updates BuildRequires - -* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 -- Initial release for RHEL 6, RHEL 5 and Fedora 15 - -* Sun Sep 11 2011 Francois Andriot - 3.5.13-0 -- Import to GIT diff --git a/redhat/applications/k9copy/k9copy-3.5.13.1.spec b/redhat/applications/k9copy/k9copy-3.5.13.1.spec new file mode 100644 index 000000000..9766a9dcf --- /dev/null +++ b/redhat/applications/k9copy/k9copy-3.5.13.1.spec @@ -0,0 +1,148 @@ +# Default version for this component +%define kdecomp k9copy + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: DVD backup tool for Trinity +Version: 1.2.3 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: trinity-arts-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils + +# Warning: the target distribution must have ffmpeg ! +BuildRequires: ffmpeg-devel +#Requires: ffmpeg + +%description +k9copy is a tabbed tool that allows to copy of one or more titles from a DVD9 +to a DVD5, in thesame way than DVDShrink for Microsoft Windows (R). +This is the Trinity version + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +update-desktop-database %{tde_appdir} &> /dev/null + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +update-desktop-database %{tde_appdir} &> /dev/null + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/k9copy +%{tde_tdeappdir}/k9copy.desktop +%{tde_datadir}/apps/k9copy/ +%{tde_datadir}/apps/konqueror/servicemenus/k9copy_open.desktop +%lang(en) %{tde_tdedocdir}/HTML/en/k9copy/ +%{tde_datadir}/icons/hicolor/*/apps/k9copy.png + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 1.2.3-3 +- Initial build for TDE 3.5.13.1 + +* Sat Aug 04 2012 Francois Andriot - 1.2.3-2 +- Add support for MGA2 and MDV2011 +- Fix 'format not a string literal' error. Clean up warning. [Commit #3bfc84b0] +- Fix FTBFS [Commit #62acebb7] +- Fix 'format not a string literal' error [Commit #d9ed8b32] +- Fix remaining string format errors [Commit #a8e98ad9] +- Fix another string format error [Commit #b3bb8a8f] +- Fix FTBFS [Commit #ca864ede] +- Fix format string error [Commit #a016df82] + +* Fri Nov 25 2011 Francois Andriot - 1.2.3-2 +- Fix HTML directory location + +* Sat Nov 19 2011 Francois Andriot - 1.2.3-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/k9copy/k9copy-3.5.13.2.spec b/redhat/applications/k9copy/k9copy-3.5.13.2.spec new file mode 100644 index 000000000..78a5fcbc9 --- /dev/null +++ b/redhat/applications/k9copy/k9copy-3.5.13.2.spec @@ -0,0 +1,161 @@ +# Default version for this component +%define tdecomp k9copy +%define tdeversion 3.5.13.2 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: DVD backup tool for Trinity +Version: 1.2.3 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tdeversion}%{?preversion:~%{preversion}}.tar.gz + +Patch1: k9copy-3.5.13.2-fix_k3b_link.patch + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: trinity-arts-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: trinity-k3b-devel + +# Warning: the target distribution must have ffmpeg ! +BuildRequires: ffmpeg-devel +Requires: ffmpeg + +%description +k9copy is a tabbed tool that allows to copy of one or more titles from a DVD9 +to a DVD5, in thesame way than DVDShrink for Microsoft Windows (R). +This is the Trinity version + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-%{tdeversion}%{?preversion:~%{preversion}} +%patch1 -p1 -b .ftbfs + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +# FFMPEG ... +if [ -d /usr/include/ffmpeg ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/include/ffmpeg" +fi + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{tdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +update-desktop-database %{tde_appdir} &> /dev/null + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +update-desktop-database %{tde_appdir} &> /dev/null + + +%files -f %{tdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/k9copy +%{tde_tdeappdir}/k9copy.desktop +%{tde_datadir}/apps/k9copy/ +%{tde_datadir}/apps/konqueror/servicemenus/k9copy_open.desktop +%lang(en) %{tde_tdedocdir}/HTML/en/k9copy/ +%{tde_datadir}/icons/hicolor/*/apps/k9copy.png + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 1.2.3-4 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 1.2.3-3 +- Initial build for TDE 3.5.13.1 + +* Sat Aug 04 2012 Francois Andriot - 1.2.3-2 +- Add support for MGA2 and MDV2011 +- Fix 'format not a string literal' error. Clean up warning. [Commit #3bfc84b0] +- Fix FTBFS [Commit #62acebb7] +- Fix 'format not a string literal' error [Commit #d9ed8b32] +- Fix remaining string format errors [Commit #a8e98ad9] +- Fix another string format error [Commit #b3bb8a8f] +- Fix FTBFS [Commit #ca864ede] +- Fix format string error [Commit #a016df82] + +* Fri Nov 25 2011 Francois Andriot - 1.2.3-2 +- Fix HTML directory location + +* Sat Nov 19 2011 Francois Andriot - 1.2.3-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/k9copy/k9copy-3.5.13.spec b/redhat/applications/k9copy/k9copy-3.5.13.spec new file mode 100644 index 000000000..cf6993ed6 --- /dev/null +++ b/redhat/applications/k9copy/k9copy-3.5.13.spec @@ -0,0 +1,164 @@ +# Default version for this component +%define kdecomp k9copy + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: DVD backup tool for Trinity +Version: 1.2.3 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +# [k9copy] Missing LDFLAGS cause FTBFS +Patch0: k9copy-3.5.13-missing_ldflags.patch +# [k9copy] Fix 'format not a string literal' error. Clean up warning. [Commit #3bfc84b0] +Patch1: k9copy-3.5.13-fix_format_not_string_literal.patch +# [k9copy] Fix FTBFS [Commit #62acebb7] +Patch2: k9copy-3.5.13-fix_ftbfs.patch +# [k9copy] Fix 'format not a string literal' error [Commit #d9ed8b32] +Patch3: k9copy-3.5.13-fix_format_not_string_literal_2.patch +# [k9copy] Fix remaining string format errors [Commit #a8e98ad9] +Patch4: k9copy-3.5.13-fix_remaining_string_format_errors.patch +# [k9copy] Fix another string format error [Commit #b3bb8a8f] +Patch5: k9copy-3.5.13-fix_another_string_format_error.patch +# [k9copy] Fix FTBFS [Commit #ca864ede] +Patch6: k9copy-3.5.13-fix_ftbfs_2.patch +# [k9copy] Fix format string error [Commit #a016df82] +Patch7: k9copy-3.5.13-fix_format_string_error.patch + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: trinity-arts-devel +BuildRequires: desktop-file-utils + +# Warning: the target distribution must have ffmpeg ! +BuildRequires: ffmpeg-devel +#Requires: ffmpeg + +%description +k9copy is a tabbed tool that allows to copy of one or more titles from a DVD9 +to a DVD5, in thesame way than DVDShrink for Microsoft Windows (R). +This is the Trinity version + + +%prep +%setup -q -n applications/%{kdecomp} +%patch0 -p1 -b .ldflags +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +update-desktop-database %{tde_appdir} &> /dev/null + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +update-desktop-database %{tde_appdir} &> /dev/null + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/k9copy +%{tde_tdeappdir}/k9copy.desktop +%{tde_datadir}/apps/k9copy/ +%{tde_datadir}/apps/konqueror/servicemenus/k9copy_open.desktop +%lang(en) %{tde_tdedocdir}/HTML/en/k9copy/ +%{tde_datadir}/icons/hicolor/*/apps/k9copy.png + + +%Changelog +* Sat Aug 04 2012 Francois Andriot - 1.2.3-2 +- Add support for MGA2 and MDV2011 +- Fix 'format not a string literal' error. Clean up warning. [Commit #3bfc84b0] +- Fix FTBFS [Commit #62acebb7] +- Fix 'format not a string literal' error [Commit #d9ed8b32] +- Fix remaining string format errors [Commit #a8e98ad9] +- Fix another string format error [Commit #b3bb8a8f] +- Fix FTBFS [Commit #ca864ede] +- Fix format string error [Commit #a016df82] + +* Fri Nov 25 2011 Francois Andriot - 1.2.3-2 +- Fix HTML directory location + +* Sat Nov 19 2011 Francois Andriot - 1.2.3-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/k9copy/trinity-k9copy-3.5.13.1.spec b/redhat/applications/k9copy/trinity-k9copy-3.5.13.1.spec deleted file mode 100644 index 9766a9dcf..000000000 --- a/redhat/applications/k9copy/trinity-k9copy-3.5.13.1.spec +++ /dev/null @@ -1,148 +0,0 @@ -# Default version for this component -%define kdecomp k9copy - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: DVD backup tool for Trinity -Version: 1.2.3 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: trinity-arts-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - -# Warning: the target distribution must have ffmpeg ! -BuildRequires: ffmpeg-devel -#Requires: ffmpeg - -%description -k9copy is a tabbed tool that allows to copy of one or more titles from a DVD9 -to a DVD5, in thesame way than DVDShrink for Microsoft Windows (R). -This is the Trinity version - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/k9copy -%{tde_tdeappdir}/k9copy.desktop -%{tde_datadir}/apps/k9copy/ -%{tde_datadir}/apps/konqueror/servicemenus/k9copy_open.desktop -%lang(en) %{tde_tdedocdir}/HTML/en/k9copy/ -%{tde_datadir}/icons/hicolor/*/apps/k9copy.png - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 1.2.3-3 -- Initial build for TDE 3.5.13.1 - -* Sat Aug 04 2012 Francois Andriot - 1.2.3-2 -- Add support for MGA2 and MDV2011 -- Fix 'format not a string literal' error. Clean up warning. [Commit #3bfc84b0] -- Fix FTBFS [Commit #62acebb7] -- Fix 'format not a string literal' error [Commit #d9ed8b32] -- Fix remaining string format errors [Commit #a8e98ad9] -- Fix another string format error [Commit #b3bb8a8f] -- Fix FTBFS [Commit #ca864ede] -- Fix format string error [Commit #a016df82] - -* Fri Nov 25 2011 Francois Andriot - 1.2.3-2 -- Fix HTML directory location - -* Sat Nov 19 2011 Francois Andriot - 1.2.3-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/k9copy/trinity-k9copy-3.5.13.2.spec b/redhat/applications/k9copy/trinity-k9copy-3.5.13.2.spec deleted file mode 100644 index 78a5fcbc9..000000000 --- a/redhat/applications/k9copy/trinity-k9copy-3.5.13.2.spec +++ /dev/null @@ -1,161 +0,0 @@ -# Default version for this component -%define tdecomp k9copy -%define tdeversion 3.5.13.2 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: DVD backup tool for Trinity -Version: 1.2.3 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tdeversion}%{?preversion:~%{preversion}}.tar.gz - -Patch1: k9copy-3.5.13.2-fix_k3b_link.patch - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: trinity-arts-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: trinity-k3b-devel - -# Warning: the target distribution must have ffmpeg ! -BuildRequires: ffmpeg-devel -Requires: ffmpeg - -%description -k9copy is a tabbed tool that allows to copy of one or more titles from a DVD9 -to a DVD5, in thesame way than DVDShrink for Microsoft Windows (R). -This is the Trinity version - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tdeversion}%{?preversion:~%{preversion}} -%patch1 -p1 -b .ftbfs - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -# FFMPEG ... -if [ -d /usr/include/ffmpeg ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/include/ffmpeg" -fi - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{tdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - - -%files -f %{tdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/k9copy -%{tde_tdeappdir}/k9copy.desktop -%{tde_datadir}/apps/k9copy/ -%{tde_datadir}/apps/konqueror/servicemenus/k9copy_open.desktop -%lang(en) %{tde_tdedocdir}/HTML/en/k9copy/ -%{tde_datadir}/icons/hicolor/*/apps/k9copy.png - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 1.2.3-4 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 1.2.3-3 -- Initial build for TDE 3.5.13.1 - -* Sat Aug 04 2012 Francois Andriot - 1.2.3-2 -- Add support for MGA2 and MDV2011 -- Fix 'format not a string literal' error. Clean up warning. [Commit #3bfc84b0] -- Fix FTBFS [Commit #62acebb7] -- Fix 'format not a string literal' error [Commit #d9ed8b32] -- Fix remaining string format errors [Commit #a8e98ad9] -- Fix another string format error [Commit #b3bb8a8f] -- Fix FTBFS [Commit #ca864ede] -- Fix format string error [Commit #a016df82] - -* Fri Nov 25 2011 Francois Andriot - 1.2.3-2 -- Fix HTML directory location - -* Sat Nov 19 2011 Francois Andriot - 1.2.3-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/k9copy/trinity-k9copy-3.5.13.spec b/redhat/applications/k9copy/trinity-k9copy-3.5.13.spec deleted file mode 100644 index cf6993ed6..000000000 --- a/redhat/applications/k9copy/trinity-k9copy-3.5.13.spec +++ /dev/null @@ -1,164 +0,0 @@ -# Default version for this component -%define kdecomp k9copy - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: DVD backup tool for Trinity -Version: 1.2.3 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# [k9copy] Missing LDFLAGS cause FTBFS -Patch0: k9copy-3.5.13-missing_ldflags.patch -# [k9copy] Fix 'format not a string literal' error. Clean up warning. [Commit #3bfc84b0] -Patch1: k9copy-3.5.13-fix_format_not_string_literal.patch -# [k9copy] Fix FTBFS [Commit #62acebb7] -Patch2: k9copy-3.5.13-fix_ftbfs.patch -# [k9copy] Fix 'format not a string literal' error [Commit #d9ed8b32] -Patch3: k9copy-3.5.13-fix_format_not_string_literal_2.patch -# [k9copy] Fix remaining string format errors [Commit #a8e98ad9] -Patch4: k9copy-3.5.13-fix_remaining_string_format_errors.patch -# [k9copy] Fix another string format error [Commit #b3bb8a8f] -Patch5: k9copy-3.5.13-fix_another_string_format_error.patch -# [k9copy] Fix FTBFS [Commit #ca864ede] -Patch6: k9copy-3.5.13-fix_ftbfs_2.patch -# [k9copy] Fix format string error [Commit #a016df82] -Patch7: k9copy-3.5.13-fix_format_string_error.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: trinity-arts-devel -BuildRequires: desktop-file-utils - -# Warning: the target distribution must have ffmpeg ! -BuildRequires: ffmpeg-devel -#Requires: ffmpeg - -%description -k9copy is a tabbed tool that allows to copy of one or more titles from a DVD9 -to a DVD5, in thesame way than DVDShrink for Microsoft Windows (R). -This is the Trinity version - - -%prep -%setup -q -n applications/%{kdecomp} -%patch0 -p1 -b .ldflags -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/k9copy -%{tde_tdeappdir}/k9copy.desktop -%{tde_datadir}/apps/k9copy/ -%{tde_datadir}/apps/konqueror/servicemenus/k9copy_open.desktop -%lang(en) %{tde_tdedocdir}/HTML/en/k9copy/ -%{tde_datadir}/icons/hicolor/*/apps/k9copy.png - - -%Changelog -* Sat Aug 04 2012 Francois Andriot - 1.2.3-2 -- Add support for MGA2 and MDV2011 -- Fix 'format not a string literal' error. Clean up warning. [Commit #3bfc84b0] -- Fix FTBFS [Commit #62acebb7] -- Fix 'format not a string literal' error [Commit #d9ed8b32] -- Fix remaining string format errors [Commit #a8e98ad9] -- Fix another string format error [Commit #b3bb8a8f] -- Fix FTBFS [Commit #ca864ede] -- Fix format string error [Commit #a016df82] - -* Fri Nov 25 2011 Francois Andriot - 1.2.3-2 -- Fix HTML directory location - -* Sat Nov 19 2011 Francois Andriot - 1.2.3-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kaffeine-mozilla/kaffeine-mozilla-3.5.13.1.spec b/redhat/applications/kaffeine-mozilla/kaffeine-mozilla-3.5.13.1.spec new file mode 100644 index 000000000..ac832b16f --- /dev/null +++ b/redhat/applications/kaffeine-mozilla/kaffeine-mozilla-3.5.13.1.spec @@ -0,0 +1,134 @@ +# Default version for this component +%define kdecomp kaffeine-mozilla + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: mozilla plugin that lanches kaffeine for supported media types [Trinity] +Version: 0.4.3.1 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Multimedia + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +# Fix 'nspr' includes location +Patch1: kaffeine-mozilla-3.5.13-fix_nspr_include.patch + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils + +%if 0%{?suse_version} +BuildRequires: mozilla-nspr-devel +%else +BuildRequires: nspr-devel +%endif + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xaw-devel +%else +BuildRequires: libXaw-devel +%endif + +Requires: trinity-kaffeine + +%description +This mozilla plugin launches kaffeine, the xine-based media player for KDE, +when a page containing a supported media format is loaded. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +unset QTDIR; . /etc/profile.d/qt3.sh +%setup -q -n %{kdecomp}-3.5.13.1 +%patch1 -p1 + +%__cp -f "/usr/share/aclocal/libtool.m4" . +%__cp -f "/usr/share/libtool/config/ltmain.sh" . || %__cp "/usr/share/libtool/ltmain.sh" . + +autoreconf -fiv + + +%build +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure \ + --prefix=%{_libdir}/mozilla + +%__make %{?_smp_mflags} + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# Remove useless filess +%__rm -f %{?buildroot}%{_libdir}/mozilla/plugins/kaffeineplugin.a + +%clean +%__rm -rf %{buildroot} + + +%post +/sbin/ldconfig || : + +%postun +/sbin/ldconfig || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README +# These files are installed outside TDE prefix +%{_libdir}/mozilla/plugins/kaffeineplugin.la +%{_libdir}/mozilla/plugins/kaffeineplugin.so + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.4.3.1-3 +- Initial build for TDE 3.5.13.1 + +* Thu Apr 26 2012 Francois Andriot - 0.4.3.1-2 +- Rebuild with nicer patch. + +* Sat Dec 03 2011 Francois Andriot - 0.4.3.1.dfsg-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/kaffeine-mozilla/kaffeine-mozilla-3.5.13.2.spec b/redhat/applications/kaffeine-mozilla/kaffeine-mozilla-3.5.13.2.spec new file mode 100644 index 000000000..b059206e1 --- /dev/null +++ b/redhat/applications/kaffeine-mozilla/kaffeine-mozilla-3.5.13.2.spec @@ -0,0 +1,143 @@ +# Default version for this component +%define kdecomp kaffeine-mozilla + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: mozilla plugin that lanches kaffeine for supported media types [Trinity] +Version: 0.4.3.1 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Multimedia + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +# Fix 'nspr' includes location +Patch1: kaffeine-mozilla-3.5.13-fix_nspr_include.patch + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils + +%if 0%{?suse_version} +BuildRequires: mozilla-nspr-devel +%else +BuildRequires: nspr-devel +%endif + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xaw-devel +%endif +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1220 +BuildRequires: libXaw-devel +%endif + +Requires: trinity-kaffeine + +%description +This mozilla plugin launches kaffeine, the xine-based media player for KDE, +when a page containing a supported media format is loaded. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +unset QTDIR; . /etc/profile.d/qt3.sh +%setup -q -n %{name}-3.5.13.2 +%patch1 -p1 -b .nspr + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure \ + --prefix=%{_libdir}/mozilla + +%__make %{?_smp_mflags} + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# Remove useless filess +%__rm -f %{?buildroot}%{_libdir}/mozilla/plugins/kaffeineplugin.a + +%clean +%__rm -rf %{buildroot} + + +%post +/sbin/ldconfig || : + +%postun +/sbin/ldconfig || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README +# These files are installed outside TDE prefix +%{_libdir}/mozilla/plugins/kaffeineplugin.la +%{_libdir}/mozilla/plugins/kaffeineplugin.so + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 0.4.3.1-4 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.4.3.1-3 +- Initial build for TDE 3.5.13.1 + +* Thu Apr 26 2012 Francois Andriot - 0.4.3.1-2 +- Rebuild with nicer patch. + +* Sat Dec 03 2011 Francois Andriot - 0.4.3.1.dfsg-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/kaffeine-mozilla/kaffeine-mozilla-3.5.13.spec b/redhat/applications/kaffeine-mozilla/kaffeine-mozilla-3.5.13.spec new file mode 100644 index 000000000..01b03b014 --- /dev/null +++ b/redhat/applications/kaffeine-mozilla/kaffeine-mozilla-3.5.13.spec @@ -0,0 +1,121 @@ +# Default version for this component +%define kdecomp kaffeine-mozilla + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: mozilla plugin that lanches kaffeine for supported media types [Trinity] +Version: 0.4.3.1 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Multimedia + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +# Fix 'nspr' includes location +Patch1: kaffeine-mozilla-3.5.13-fix_nspr_include.patch + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: nspr-devel + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xaw-devel +%else +BuildRequires: libXaw-devel +%endif + +Requires: trinity-kaffeine + +%description +This mozilla plugin launches kaffeine, the xine-based media player for KDE, +when a page containing a supported media format is loaded. + + +%prep +unset QTDIR; . /etc/profile.d/qt.sh +%setup -q -n applications/%{kdecomp} +%patch1 -p1 + +%__cp -f "/usr/share/aclocal/libtool.m4" . +%__cp -f "/usr/share/libtool/config/ltmain.sh" . || %__cp "/usr/share/libtool/ltmain.sh" . + +autoreconf -fiv + + +%build +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure \ + --prefix=%{_libdir}/mozilla + +%__make %{?_smp_mflags} + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# Remove useless filess +%__rm -f %{?buildroot}%{_libdir}/mozilla/plugins/kaffeineplugin.a + +%clean +%__rm -rf %{buildroot} + + +%post +/sbin/ldconfig || : + +%postun +/sbin/ldconfig || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README +# These files are installed outside TDE prefix +%{_libdir}/mozilla/plugins/kaffeineplugin.la +%{_libdir}/mozilla/plugins/kaffeineplugin.so + + +%Changelog +* Thu Apr 26 2012 Francois Andriot - 0.4.3.1-2 +- Rebuild with nicer patch. + +* Sat Dec 03 2011 Francois Andriot - 0.4.3.1.dfsg-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/kaffeine-mozilla/trinity-kaffeine-mozilla-3.5.13.1.spec b/redhat/applications/kaffeine-mozilla/trinity-kaffeine-mozilla-3.5.13.1.spec deleted file mode 100644 index ac832b16f..000000000 --- a/redhat/applications/kaffeine-mozilla/trinity-kaffeine-mozilla-3.5.13.1.spec +++ /dev/null @@ -1,134 +0,0 @@ -# Default version for this component -%define kdecomp kaffeine-mozilla - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: mozilla plugin that lanches kaffeine for supported media types [Trinity] -Version: 0.4.3.1 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Multimedia - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -# Fix 'nspr' includes location -Patch1: kaffeine-mozilla-3.5.13-fix_nspr_include.patch - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - -%if 0%{?suse_version} -BuildRequires: mozilla-nspr-devel -%else -BuildRequires: nspr-devel -%endif - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xaw-devel -%else -BuildRequires: libXaw-devel -%endif - -Requires: trinity-kaffeine - -%description -This mozilla plugin launches kaffeine, the xine-based media player for KDE, -when a page containing a supported media format is loaded. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -unset QTDIR; . /etc/profile.d/qt3.sh -%setup -q -n %{kdecomp}-3.5.13.1 -%patch1 -p1 - -%__cp -f "/usr/share/aclocal/libtool.m4" . -%__cp -f "/usr/share/libtool/config/ltmain.sh" . || %__cp "/usr/share/libtool/ltmain.sh" . - -autoreconf -fiv - - -%build -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure \ - --prefix=%{_libdir}/mozilla - -%__make %{?_smp_mflags} - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Remove useless filess -%__rm -f %{?buildroot}%{_libdir}/mozilla/plugins/kaffeineplugin.a - -%clean -%__rm -rf %{buildroot} - - -%post -/sbin/ldconfig || : - -%postun -/sbin/ldconfig || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README -# These files are installed outside TDE prefix -%{_libdir}/mozilla/plugins/kaffeineplugin.la -%{_libdir}/mozilla/plugins/kaffeineplugin.so - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.4.3.1-3 -- Initial build for TDE 3.5.13.1 - -* Thu Apr 26 2012 Francois Andriot - 0.4.3.1-2 -- Rebuild with nicer patch. - -* Sat Dec 03 2011 Francois Andriot - 0.4.3.1.dfsg-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/kaffeine-mozilla/trinity-kaffeine-mozilla-3.5.13.2.spec b/redhat/applications/kaffeine-mozilla/trinity-kaffeine-mozilla-3.5.13.2.spec deleted file mode 100644 index b059206e1..000000000 --- a/redhat/applications/kaffeine-mozilla/trinity-kaffeine-mozilla-3.5.13.2.spec +++ /dev/null @@ -1,143 +0,0 @@ -# Default version for this component -%define kdecomp kaffeine-mozilla - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: mozilla plugin that lanches kaffeine for supported media types [Trinity] -Version: 0.4.3.1 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Multimedia - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -# Fix 'nspr' includes location -Patch1: kaffeine-mozilla-3.5.13-fix_nspr_include.patch - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils - -%if 0%{?suse_version} -BuildRequires: mozilla-nspr-devel -%else -BuildRequires: nspr-devel -%endif - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xaw-devel -%endif -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1220 -BuildRequires: libXaw-devel -%endif - -Requires: trinity-kaffeine - -%description -This mozilla plugin launches kaffeine, the xine-based media player for KDE, -when a page containing a supported media format is loaded. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -unset QTDIR; . /etc/profile.d/qt3.sh -%setup -q -n %{name}-3.5.13.2 -%patch1 -p1 -b .nspr - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure \ - --prefix=%{_libdir}/mozilla - -%__make %{?_smp_mflags} - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Remove useless filess -%__rm -f %{?buildroot}%{_libdir}/mozilla/plugins/kaffeineplugin.a - -%clean -%__rm -rf %{buildroot} - - -%post -/sbin/ldconfig || : - -%postun -/sbin/ldconfig || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README -# These files are installed outside TDE prefix -%{_libdir}/mozilla/plugins/kaffeineplugin.la -%{_libdir}/mozilla/plugins/kaffeineplugin.so - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 0.4.3.1-4 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.4.3.1-3 -- Initial build for TDE 3.5.13.1 - -* Thu Apr 26 2012 Francois Andriot - 0.4.3.1-2 -- Rebuild with nicer patch. - -* Sat Dec 03 2011 Francois Andriot - 0.4.3.1.dfsg-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/kaffeine-mozilla/trinity-kaffeine-mozilla-3.5.13.spec b/redhat/applications/kaffeine-mozilla/trinity-kaffeine-mozilla-3.5.13.spec deleted file mode 100644 index 01b03b014..000000000 --- a/redhat/applications/kaffeine-mozilla/trinity-kaffeine-mozilla-3.5.13.spec +++ /dev/null @@ -1,121 +0,0 @@ -# Default version for this component -%define kdecomp kaffeine-mozilla - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: mozilla plugin that lanches kaffeine for supported media types [Trinity] -Version: 0.4.3.1 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Multimedia - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# Fix 'nspr' includes location -Patch1: kaffeine-mozilla-3.5.13-fix_nspr_include.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: nspr-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xaw-devel -%else -BuildRequires: libXaw-devel -%endif - -Requires: trinity-kaffeine - -%description -This mozilla plugin launches kaffeine, the xine-based media player for KDE, -when a page containing a supported media format is loaded. - - -%prep -unset QTDIR; . /etc/profile.d/qt.sh -%setup -q -n applications/%{kdecomp} -%patch1 -p1 - -%__cp -f "/usr/share/aclocal/libtool.m4" . -%__cp -f "/usr/share/libtool/config/ltmain.sh" . || %__cp "/usr/share/libtool/ltmain.sh" . - -autoreconf -fiv - - -%build -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure \ - --prefix=%{_libdir}/mozilla - -%__make %{?_smp_mflags} - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Remove useless filess -%__rm -f %{?buildroot}%{_libdir}/mozilla/plugins/kaffeineplugin.a - -%clean -%__rm -rf %{buildroot} - - -%post -/sbin/ldconfig || : - -%postun -/sbin/ldconfig || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README -# These files are installed outside TDE prefix -%{_libdir}/mozilla/plugins/kaffeineplugin.la -%{_libdir}/mozilla/plugins/kaffeineplugin.so - - -%Changelog -* Thu Apr 26 2012 Francois Andriot - 0.4.3.1-2 -- Rebuild with nicer patch. - -* Sat Dec 03 2011 Francois Andriot - 0.4.3.1.dfsg-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/kaffeine/kaffeine-3.5.13.1.spec b/redhat/applications/kaffeine/kaffeine-3.5.13.1.spec new file mode 100644 index 000000000..57eda8d5d --- /dev/null +++ b/redhat/applications/kaffeine/kaffeine-3.5.13.1.spec @@ -0,0 +1,284 @@ +# Default version for this component +%define kdecomp kaffeine + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +Name: trinity-%{kdecomp} +Summary: Xine-based media player + +Version: 0.8.8 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Multimedia +URL: http://kaffeine.sourceforge.net/ + +Source0: kaffeine-3.5.13.1.tar.gz + +# [kaffeine] Add Xine 1.2 support +Patch1: kaffeine-3.5.13.1-add_xine12_support.patch + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: gettext +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: libvorbis-devel +BuildRequires: libcdio-devel + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: libcdda-devel +BuildRequires: %{_lib}xext%{?mgaversion:6}-devel +BuildRequires: %{_lib}xtst-devel +BuildRequires: %{_lib}xinerama%{?mgaversion:1}-devel +# dvb +%if 0%{?pclinuxos} == 0 +BuildRequires: kernel-headers +%endif +BuildRequires: libgstreamer-devel >= 0.10 +BuildRequires: libgstreamer-plugins-base-devel >= 0.10 +%else +BuildRequires: cdparanoia +BuildRequires: cdparanoia-devel +%if 0%{?suse_version} +BuildRequires: libcdio-paranoia-devel +%endif +BuildRequires: libXext-devel +BuildRequires: libXtst-devel +BuildRequires: libXinerama-devel +# dvb +BuildRequires: gstreamer-devel >= 0.10 +%if 0%{?suse_version} +BuildRequires: gstreamer-0_10-plugins-base-devel +%else +BuildRequires: gstreamer-plugins-base-devel >= 0.10 +BuildRequires: glibc-kernheaders +%endif +%endif + +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 +BuildRequires: libxcb-devel +%endif + +# xine-lib +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +BuildRequires: libxine-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: xine-lib-devel +%endif + +Requires: %{name}-libs = %{version}-%{release} + +%description +Kaffeine is a xine-based media player for KDE. It plays back CDs, +and VCDs, and can decode all (local or streamed) multimedia formats +supported by xine-lib. +Additionally, Kaffeine is fully integrated in KDE, it supports drag +and drop and provides an editable playlist, a bookmark system, a +Konqueror plugin, OSD and much more. + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README TODO +%{tde_bindir}/kaffeine +%{tde_libdir}/libkaffeinepart.so +%{tde_tdelibdir}/lib*.* +%{tde_datadir}/appl*/*/*.desktop +%{tde_datadir}/apps/gstreamerpart/ +%{tde_datadir}/apps/kaffeine/ +%{tde_datadir}/apps/konqueror/servicemenus/*.desktop +%{tde_datadir}/apps/profiles/ +%{tde_datadir}/icons/hicolor/*/*/* +%{tde_datadir}/mimelnk/*/*.desktop +%{tde_datadir}/service*/*.desktop +%{tde_tdedocdir}/HTML/en/kaffeine/ + +%post +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database >& /dev/null ||: +/sbin/ldconfig || : + +%postun +touch --no-create %{_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database >& /dev/null ||: +/sbin/ldconfig || : + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name}-libs = %{version}-%{release} +Requires: trinity-tdelibs-devel + +%description devel +%{summary}. + +%files devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kaffeine/ +%{tde_libdir}/lib*.so +%exclude %{tde_libdir}/libkaffeinepart.so + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + +########## + +%package libs +Summary: %{name} runtime libraries +Group: System Environment/Libraries + +# include to be paranoid, installing libs-only is still mostly untested -- Rex +Requires: %{name} = %{version}-%{release} + +%description libs +%{summary}. + +%files libs +%defattr(-,root,root,-) +%{tde_libdir}/lib*.so.* + +%post libs +/sbin/ldconfig || : + +%postun libs +/sbin/ldconfig || : + +########## + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n kaffeine-3.5.13.1 +%patch1 -p1 -b .xine12 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + +%build +unset QTDIR || : ; source /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export KDEDIR=%{tde_prefix} + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --mandir=%{tde_mandir} \ + --enable-new-ldflags \ + --disable-debug --disable-warnings \ + --disable-dependency-tracking --enable-final \ + --disable-rpath \ + --with-xinerama \ + --with-gstreamer \ + --without-lame \ + --with-extra-includes=%{tde_includedir}/tqt \ + --with-extra-libs=%{_prefix}/%{_lib} \ + --enable-closure \ +%if 0%{?rhel} > 0 && 0%{?rhel} <= 5 + --without-dvb \ +%endif + + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf $RPM_BUILD_ROOT +%__make install DESTDIR=$RPM_BUILD_ROOT + +## File lists +# locale's +%find_lang %{kdecomp} +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then +for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi +done +fi + +# Unpackaged files +rm -f $RPM_BUILD_ROOT%{tde_libdir}/lib*.la +rm -f $RPM_BUILD_ROOT%{tde_datadir}/mimelnk/application/x-mplayer2.desktop + +%clean +rm -rf $RPM_BUILD_ROOT + + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.8.8-4 +- Initial build for TDE 3.5.13.1 + +* Fri Aug 03 2012 Francois Andriot - 0.8.8-3 +- Add support for Mageia 2 and Mandriva 2011 +- Added automake initialization with proper program name and version [Bug #858] [Commit #4e982fa3] +- Fixed online hyperlink to win32 codecs download location. [Commit #5086f358] + +* Tue May 01 2012 Francois Andriot - 0.8.8-2 +- Rebuilt for Fedora 17 +- Adds more patches from GIT. + +* Mon Apr 23 2012 Francois Andriot - 0.8.8-1 +- Updates version to 0.8.8 +- Fix nominal "tqt" typos and fix slow DVB start. [Bug #729, #899] +- Change location where Kaffeine stores temporary pipe files from $HOME to the more appropriate $KDEHOME/tmp-$HOSTNAME. +- Work around Xine crash when displaying still logo image by creating a small movie file to replace it [Bug #511, #559] +- Add man page + +* Sun Dec 04 2011 Francois Andriot - 0.8.6-2 +- Disable 'libxcb-devel' for RHEL 5 compilation +- Fix HTML directory location + +* Wed Nov 09 2011 Francois Andriot - 0.8.6-1 +- Spec file based on Fedora 8 'kaffeine-0.8.6-3' diff --git a/redhat/applications/kaffeine/kaffeine-3.5.13.2.spec b/redhat/applications/kaffeine/kaffeine-3.5.13.2.spec new file mode 100644 index 000000000..3105fd8ef --- /dev/null +++ b/redhat/applications/kaffeine/kaffeine-3.5.13.2.spec @@ -0,0 +1,304 @@ +# Default version for this component +%define kdecomp kaffeine + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +Name: trinity-%{kdecomp} +Summary: Xine-based media player + +Version: 0.8.8 +Release: 5%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Multimedia +URL: http://kaffeine.sourceforge.net/ + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: gettext +BuildRequires: libvorbis-devel +BuildRequires: libcdio-devel + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: libcdda-devel +BuildRequires: %{_lib}xext%{?mgaversion:6}-devel +BuildRequires: %{_lib}xtst%{?mgaversion:6}-devel +BuildRequires: %{_lib}xinerama%{?mgaversion:1}-devel +# dvb +%if 0%{?pclinuxos} == 0 +BuildRequires: kernel-headers +%endif +BuildRequires: libgstreamer-devel >= 0.10 +BuildRequires: libgstreamer-plugins-base-devel >= 0.10 +%else +BuildRequires: cdparanoia +BuildRequires: cdparanoia-devel +%if 0%{?suse_version} >= 1220 +BuildRequires: libcdio-paranoia-devel +%endif + +# X11 stuff +%if 0%{?rhel} || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} >= 1220 +%if 0%{?rhel} == 4 +BuildRequires: xorg-x11-devel +%else +BuildRequires: libXext-devel +BuildRequires: libXtst-devel +BuildRequires: libXinerama-devel +%endif +%endif + +# dvb +BuildRequires: gstreamer-devel +%if 0%{?suse_version} +BuildRequires: gstreamer-0_10-plugins-base-devel +%endif +%if 0%{?rhel} == 4 +BuildRequires: gstreamer-devel +BuildRequires: gstreamer-plugins-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: gstreamer-plugins-base-devel >= 0.10 +BuildRequires: glibc-kernheaders +%endif +%endif + +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 +BuildRequires: libxcb-devel +%endif + +# xine-lib +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +BuildRequires: libxine-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: xine-lib-devel +%endif + +# LAME +%if 0%{?suse_version} +BuildRequires: libmp3lame-devel +%else +BuildRequires: lame-devel +%endif + +Requires: %{name}-libs = %{version}-%{release} + +%description +Kaffeine is a xine-based media player for KDE. It plays back CDs, +and VCDs, and can decode all (local or streamed) multimedia formats +supported by xine-lib. +Additionally, Kaffeine is fully integrated in KDE, it supports drag +and drop and provides an editable playlist, a bookmark system, a +Konqueror plugin, OSD and much more. + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README TODO +%{tde_bindir}/kaffeine +%{tde_libdir}/libkaffeinepart.so +%{tde_tdelibdir}/lib*.* +%{tde_datadir}/appl*/*/*.desktop +%{tde_datadir}/apps/gstreamerpart/ +%{tde_datadir}/apps/kaffeine/ +%{tde_datadir}/apps/konqueror/servicemenus/*.desktop +%{tde_datadir}/apps/profiles/ +%{tde_datadir}/icons/hicolor/*/*/* +%{tde_datadir}/mimelnk/*/*.desktop +%{tde_datadir}/service*/*.desktop +%{tde_tdedocdir}/HTML/en/kaffeine/ + +%post +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database >& /dev/null ||: +/sbin/ldconfig || : + +%postun +touch --no-create %{_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database >& /dev/null ||: +/sbin/ldconfig || : + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name}-libs = %{version}-%{release} +Requires: trinity-tdelibs-devel + +%description devel +%{summary}. + +%files devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kaffeine/ +%{tde_libdir}/lib*.so +%exclude %{tde_libdir}/libkaffeinepart.so + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + +########## + +%package libs +Summary: %{name} runtime libraries +Group: System Environment/Libraries + +# include to be paranoid, installing libs-only is still mostly untested -- Rex +Requires: %{name} = %{version}-%{release} + +%description libs +%{summary}. + +%files libs +%defattr(-,root,root,-) +%{tde_libdir}/lib*.so.* + +%post libs +/sbin/ldconfig || : + +%postun libs +/sbin/ldconfig || : + +########## + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + +%build +unset QTDIR || : ; source /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export KDEDIR=%{tde_prefix} + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --mandir=%{tde_mandir} \ + --enable-new-ldflags \ + --disable-debug --disable-warnings \ + --disable-dependency-tracking --enable-final \ + --disable-rpath \ + --with-xinerama \ + --with-gstreamer \ + --with-lame \ + --with-extra-includes=%{tde_includedir}/tqt \ + --with-extra-libs=%{_prefix}/%{_lib} \ + --enable-closure \ +%if 0%{?rhel} > 0 && 0%{?rhel} <= 5 + --without-dvb \ +%endif + + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf $RPM_BUILD_ROOT +%__make install DESTDIR=$RPM_BUILD_ROOT + +## File lists +# locale's +%find_lang %{kdecomp} +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then +for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi +done +fi + +# Unpackaged files +rm -f $RPM_BUILD_ROOT%{tde_libdir}/lib*.la +rm -f $RPM_BUILD_ROOT%{tde_datadir}/mimelnk/application/x-mplayer2.desktop + +%clean +rm -rf $RPM_BUILD_ROOT + + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 0.8.8-5 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.8.8-4 +- Initial build for TDE 3.5.13.1 + +* Fri Aug 03 2012 Francois Andriot - 0.8.8-3 +- Add support for Mageia 2 and Mandriva 2011 +- Added automake initialization with proper program name and version [Bug #858] [Commit #4e982fa3] +- Fixed online hyperlink to win32 codecs download location. [Commit #5086f358] + +* Tue May 01 2012 Francois Andriot - 0.8.8-2 +- Rebuilt for Fedora 17 +- Adds more patches from GIT. + +* Mon Apr 23 2012 Francois Andriot - 0.8.8-1 +- Updates version to 0.8.8 +- Fix nominal "tqt" typos and fix slow DVB start. [Bug #729, #899] +- Change location where Kaffeine stores temporary pipe files from $HOME to the more appropriate $KDEHOME/tmp-$HOSTNAME. +- Work around Xine crash when displaying still logo image by creating a small movie file to replace it [Bug #511, #559] +- Add man page + +* Sun Dec 04 2011 Francois Andriot - 0.8.6-2 +- Disable 'libxcb-devel' for RHEL 5 compilation +- Fix HTML directory location + +* Wed Nov 09 2011 Francois Andriot - 0.8.6-1 +- Spec file based on Fedora 8 'kaffeine-0.8.6-3' diff --git a/redhat/applications/kaffeine/kaffeine-3.5.13.spec b/redhat/applications/kaffeine/kaffeine-3.5.13.spec new file mode 100644 index 000000000..dbc3aefbc --- /dev/null +++ b/redhat/applications/kaffeine/kaffeine-3.5.13.spec @@ -0,0 +1,305 @@ +# Default version for this component +%define kdecomp kaffeine + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +Name: trinity-%{kdecomp} +Summary: Xine-based media player + +Version: 0.8.8 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Multimedia +URL: http://kaffeine.sourceforge.net/ + +Source0: kaffeine-3.5.13.tar.gz +Source2: kaffeine.1 + +# [kaffeine] Work around Xine crash when displaying still logo image by creating a small movie file to replace it [Bug #511, #559] +Source1: 508cb342-logo + + + +# [kaffeine] Rename old tq methods that no longer need a unique name[Commit #60ed202f] +Patch1: kaffeine-3.5.13-rename_old_tq_methods.patch +# [kaffeine] Remove additional unneeded tq method conversions [Commit #701a1249] +Patch2: kaffeine-3.5.13-remove_additional_tq_conversions.patch +# [kaffeine] Rename obsolete tq methods to standard names [Commit #66805baf] +Patch3: kaffeine-3.5.13-rename_obsolete_tq_methods.patch +# [kaffeine] Rename a few stragglers [Commit #89b5fd35] +Patch4: kaffeine-3.5.13-renames_a_few_stragglers.patch +# [kaffeine] Error out if critical OSD-related defines are not set [Commit #25b89439] +Patch5: kaffeine-3.5.13-error_out_if_critical_osd_defines_not_set.patch +# [kaffeine] Fix nominal "tqt" typos and fix slow DVB start. [Bug #729, #899] [Commit #fd68e4c4] +Patch6: kaffeine-3.5.13-fix_slow_dvb_start.patch +# [kaffeine] Change location where Kaffeine stores temporary pipe files from $HOME to the more appropriate $TDEHOME/tmp-$HOSTNAME. [Commit #b480e3db] +Patch7: kaffeine-3.5.13-fix_temporary_location.patch +# [kaffeine] Fix typos, branding, and inadvertent tqt changes. [Commit #0e3d0ed6] +Patch8: kaffeine-3.5.13-fix_typos_branding_tqt.patch +# [kaffeine] Fix installation of localization files [Bug #858] +Patch9: kaffeine-3.5.13-fix_localization_files.patch +# [kaffeine] Added automake initialization with proper program name and version [Bug #858] [Commit #4e982fa3] +Patch10: kaffeine-3.5.13-fix_program_name.patch +# [kaffeine] Fixed online hyperlink to win32 codecs download location. [Commit #5086f358] +Patch11: kaffeine-3.5.13-fix_win32_codec_url.patch +# [kaffeine] Missing LDFLAGS cause FTBFS under MGA2/MDV2011 +Patch12: kaffeine-3.5.13-missing_ldflags.patch + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: gettext +BuildRequires: trinity-kdelibs-devel +BuildRequires: libvorbis-devel +BuildRequires: libcdio-devel + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: libcdda-devel +BuildRequires: %{_lib}xine-devel +BuildRequires: %{_lib}xext%{?mgaversion:6}-devel +BuildRequires: %{_lib}xtst-devel +BuildRequires: %{_lib}xinerama%{?mgaversion:1}-devel +# dvb +BuildRequires: kernel-headers +BuildRequires: libgstreamer-devel >= 0.10 +BuildRequires: libgstreamer-plugins-base-devel >= 0.10 +%else +BuildRequires: cdparanoia-devel cdparanoia +BuildRequires: xine-lib-devel +BuildRequires: libXext-devel +BuildRequires: libXtst-devel +BuildRequires: libXinerama-devel +# dvb +BuildRequires: glibc-kernheaders +BuildRequires: gstreamer-devel >= 0.10 +BuildRequires: gstreamer-plugins-base-devel >= 0.10 +%endif + +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 +BuildRequires: libxcb-devel +%endif + + +Requires: %{name}-libs = %{version}-%{release} + +%description +Kaffeine is a xine-based media player for KDE. It plays back CDs, +and VCDs, and can decode all (local or streamed) multimedia formats +supported by xine-lib. +Additionally, Kaffeine is fully integrated in KDE, it supports drag +and drop and provides an editable playlist, a bookmark system, a +Konqueror plugin, OSD and much more. + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README TODO +%{tde_bindir}/kaffeine +%{tde_libdir}/libkaffeinepart.so +%{tde_tdelibdir}/lib*.* +%{tde_datadir}/appl*/*/*.desktop +%{tde_datadir}/apps/gstreamerpart/ +%{tde_datadir}/apps/kaffeine/ +%{tde_datadir}/apps/konqueror/servicemenus/*.desktop +%{tde_datadir}/apps/profiles/ +%{tde_datadir}/icons/hicolor/*/*/* +%{tde_datadir}/mimelnk/*/*.desktop +%{tde_datadir}/service*/*.desktop +%{tde_tdedocdir}/HTML/en/kaffeine +%{tde_mandir}/*/* + +%post +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database >& /dev/null ||: +/sbin/ldconfig || : + +%postun +touch --no-create %{_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database >& /dev/null ||: +/sbin/ldconfig || : + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name}-libs = %{version}-%{release} +Requires: trinity-tdelibs-devel + +%description devel +%{summary}. + +%files devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kaffeine/ +%{tde_libdir}/lib*.so +%exclude %{tde_libdir}/libkaffeinepart.so + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + +########## + +%package libs +Summary: %{name} runtime libraries +Group: System Environment/Libraries + +# include to be paranoid, installing libs-only is still mostly untested -- Rex +Requires: %{name} = %{version}-%{release} + +%description libs +%{summary}. + +%files libs +%defattr(-,root,root,-) +%{tde_libdir}/lib*.so.* + +%post libs +/sbin/ldconfig || : + +%postun libs +/sbin/ldconfig || : + +########## + + +%prep +%setup -q -n applications/kaffeine + +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 +%patch8 -p1 +%patch9 -p1 +%patch10 -p1 +%patch11 -p1 +%patch12 -p1 -b .ftbfs + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + +%build +unset QTDIR || : ; source /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --mandir=%{tde_mandir} \ + --enable-new-ldflags \ + --disable-debug --disable-warnings \ + --disable-dependency-tracking --enable-final \ + --disable-rpath \ + --with-xinerama \ + --with-gstreamer \ + --without-lame \ + --with-extra-includes=%{tde_includedir}/tqt \ + --with-extra-libs=%{_prefix}/%{_lib} \ + --enable-closure \ +%if 0%{?rhel} > 0 && 0%{?rhel} <= 5 + --without-dvb \ +%endif + + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf $RPM_BUILD_ROOT +%__make install DESTDIR=$RPM_BUILD_ROOT + +## File lists +# locale's +%find_lang %{kdecomp} +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then +for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi +done +fi + +# Unpackaged files +rm -f $RPM_BUILD_ROOT%{tde_libdir}/lib*.la +rm -f $RPM_BUILD_ROOT%{tde_datadir}/mimelnk/application/x-mplayer2.desktop + +%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/apps/kaffeine/logo +%__install -D -m 644 %{SOURCE2} %{?buildroot}%{tde_mandir}/man1/kaffeine.1 + +%clean +rm -rf $RPM_BUILD_ROOT + + + +%changelog +* Fri Aug 03 2012 Francois Andriot - 0.8.8-3 +- Add support for Mageia 2 and Mandriva 2011 +- Added automake initialization with proper program name and version [Bug #858] [Commit #4e982fa3] +- Fixed online hyperlink to win32 codecs download location. [Commit #5086f358] + +* Tue May 01 2012 Francois Andriot - 0.8.8-2 +- Rebuilt for Fedora 17 +- Adds more patches from GIT. + +* Mon Apr 23 2012 Francois Andriot - 0.8.8-1 +- Updates version to 0.8.8 +- Fix nominal "tqt" typos and fix slow DVB start. [Bug #729, #899] +- Change location where Kaffeine stores temporary pipe files from $HOME to the more appropriate $KDEHOME/tmp-$HOSTNAME. +- Work around Xine crash when displaying still logo image by creating a small movie file to replace it [Bug #511, #559] +- Add man page + +* Sun Dec 04 2011 Francois Andriot - 0.8.6-2 +- Disable 'libxcb-devel' for RHEL 5 compilation +- Fix HTML directory location + +* Wed Nov 09 2011 Francois Andriot - 0.8.6-1 +- Spec file based on Fedora 8 'kaffeine-0.8.6-3' diff --git a/redhat/applications/kaffeine/trinity-kaffeine-3.5.13.1.spec b/redhat/applications/kaffeine/trinity-kaffeine-3.5.13.1.spec deleted file mode 100644 index 57eda8d5d..000000000 --- a/redhat/applications/kaffeine/trinity-kaffeine-3.5.13.1.spec +++ /dev/null @@ -1,284 +0,0 @@ -# Default version for this component -%define kdecomp kaffeine - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -Name: trinity-%{kdecomp} -Summary: Xine-based media player - -Version: 0.8.8 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Multimedia -URL: http://kaffeine.sourceforge.net/ - -Source0: kaffeine-3.5.13.1.tar.gz - -# [kaffeine] Add Xine 1.2 support -Patch1: kaffeine-3.5.13.1-add_xine12_support.patch - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: gettext -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: libvorbis-devel -BuildRequires: libcdio-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: libcdda-devel -BuildRequires: %{_lib}xext%{?mgaversion:6}-devel -BuildRequires: %{_lib}xtst-devel -BuildRequires: %{_lib}xinerama%{?mgaversion:1}-devel -# dvb -%if 0%{?pclinuxos} == 0 -BuildRequires: kernel-headers -%endif -BuildRequires: libgstreamer-devel >= 0.10 -BuildRequires: libgstreamer-plugins-base-devel >= 0.10 -%else -BuildRequires: cdparanoia -BuildRequires: cdparanoia-devel -%if 0%{?suse_version} -BuildRequires: libcdio-paranoia-devel -%endif -BuildRequires: libXext-devel -BuildRequires: libXtst-devel -BuildRequires: libXinerama-devel -# dvb -BuildRequires: gstreamer-devel >= 0.10 -%if 0%{?suse_version} -BuildRequires: gstreamer-0_10-plugins-base-devel -%else -BuildRequires: gstreamer-plugins-base-devel >= 0.10 -BuildRequires: glibc-kernheaders -%endif -%endif - -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 -BuildRequires: libxcb-devel -%endif - -# xine-lib -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -BuildRequires: libxine-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: xine-lib-devel -%endif - -Requires: %{name}-libs = %{version}-%{release} - -%description -Kaffeine is a xine-based media player for KDE. It plays back CDs, -and VCDs, and can decode all (local or streamed) multimedia formats -supported by xine-lib. -Additionally, Kaffeine is fully integrated in KDE, it supports drag -and drop and provides an editable playlist, a bookmark system, a -Konqueror plugin, OSD and much more. - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README TODO -%{tde_bindir}/kaffeine -%{tde_libdir}/libkaffeinepart.so -%{tde_tdelibdir}/lib*.* -%{tde_datadir}/appl*/*/*.desktop -%{tde_datadir}/apps/gstreamerpart/ -%{tde_datadir}/apps/kaffeine/ -%{tde_datadir}/apps/konqueror/servicemenus/*.desktop -%{tde_datadir}/apps/profiles/ -%{tde_datadir}/icons/hicolor/*/*/* -%{tde_datadir}/mimelnk/*/*.desktop -%{tde_datadir}/service*/*.desktop -%{tde_tdedocdir}/HTML/en/kaffeine/ - -%post -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database >& /dev/null ||: -/sbin/ldconfig || : - -%postun -touch --no-create %{_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database >& /dev/null ||: -/sbin/ldconfig || : - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name}-libs = %{version}-%{release} -Requires: trinity-tdelibs-devel - -%description devel -%{summary}. - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kaffeine/ -%{tde_libdir}/lib*.so -%exclude %{tde_libdir}/libkaffeinepart.so - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - -########## - -%package libs -Summary: %{name} runtime libraries -Group: System Environment/Libraries - -# include to be paranoid, installing libs-only is still mostly untested -- Rex -Requires: %{name} = %{version}-%{release} - -%description libs -%{summary}. - -%files libs -%defattr(-,root,root,-) -%{tde_libdir}/lib*.so.* - -%post libs -/sbin/ldconfig || : - -%postun libs -/sbin/ldconfig || : - -########## - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n kaffeine-3.5.13.1 -%patch1 -p1 -b .xine12 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - -%build -unset QTDIR || : ; source /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export KDEDIR=%{tde_prefix} - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --mandir=%{tde_mandir} \ - --enable-new-ldflags \ - --disable-debug --disable-warnings \ - --disable-dependency-tracking --enable-final \ - --disable-rpath \ - --with-xinerama \ - --with-gstreamer \ - --without-lame \ - --with-extra-includes=%{tde_includedir}/tqt \ - --with-extra-libs=%{_prefix}/%{_lib} \ - --enable-closure \ -%if 0%{?rhel} > 0 && 0%{?rhel} <= 5 - --without-dvb \ -%endif - - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT - -## File lists -# locale's -%find_lang %{kdecomp} -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then -for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - -# Unpackaged files -rm -f $RPM_BUILD_ROOT%{tde_libdir}/lib*.la -rm -f $RPM_BUILD_ROOT%{tde_datadir}/mimelnk/application/x-mplayer2.desktop - -%clean -rm -rf $RPM_BUILD_ROOT - - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.8.8-4 -- Initial build for TDE 3.5.13.1 - -* Fri Aug 03 2012 Francois Andriot - 0.8.8-3 -- Add support for Mageia 2 and Mandriva 2011 -- Added automake initialization with proper program name and version [Bug #858] [Commit #4e982fa3] -- Fixed online hyperlink to win32 codecs download location. [Commit #5086f358] - -* Tue May 01 2012 Francois Andriot - 0.8.8-2 -- Rebuilt for Fedora 17 -- Adds more patches from GIT. - -* Mon Apr 23 2012 Francois Andriot - 0.8.8-1 -- Updates version to 0.8.8 -- Fix nominal "tqt" typos and fix slow DVB start. [Bug #729, #899] -- Change location where Kaffeine stores temporary pipe files from $HOME to the more appropriate $KDEHOME/tmp-$HOSTNAME. -- Work around Xine crash when displaying still logo image by creating a small movie file to replace it [Bug #511, #559] -- Add man page - -* Sun Dec 04 2011 Francois Andriot - 0.8.6-2 -- Disable 'libxcb-devel' for RHEL 5 compilation -- Fix HTML directory location - -* Wed Nov 09 2011 Francois Andriot - 0.8.6-1 -- Spec file based on Fedora 8 'kaffeine-0.8.6-3' diff --git a/redhat/applications/kaffeine/trinity-kaffeine-3.5.13.2.spec b/redhat/applications/kaffeine/trinity-kaffeine-3.5.13.2.spec deleted file mode 100644 index 3105fd8ef..000000000 --- a/redhat/applications/kaffeine/trinity-kaffeine-3.5.13.2.spec +++ /dev/null @@ -1,304 +0,0 @@ -# Default version for this component -%define kdecomp kaffeine - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -Name: trinity-%{kdecomp} -Summary: Xine-based media player - -Version: 0.8.8 -Release: 5%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Multimedia -URL: http://kaffeine.sourceforge.net/ - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: gettext -BuildRequires: libvorbis-devel -BuildRequires: libcdio-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: libcdda-devel -BuildRequires: %{_lib}xext%{?mgaversion:6}-devel -BuildRequires: %{_lib}xtst%{?mgaversion:6}-devel -BuildRequires: %{_lib}xinerama%{?mgaversion:1}-devel -# dvb -%if 0%{?pclinuxos} == 0 -BuildRequires: kernel-headers -%endif -BuildRequires: libgstreamer-devel >= 0.10 -BuildRequires: libgstreamer-plugins-base-devel >= 0.10 -%else -BuildRequires: cdparanoia -BuildRequires: cdparanoia-devel -%if 0%{?suse_version} >= 1220 -BuildRequires: libcdio-paranoia-devel -%endif - -# X11 stuff -%if 0%{?rhel} || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} >= 1220 -%if 0%{?rhel} == 4 -BuildRequires: xorg-x11-devel -%else -BuildRequires: libXext-devel -BuildRequires: libXtst-devel -BuildRequires: libXinerama-devel -%endif -%endif - -# dvb -BuildRequires: gstreamer-devel -%if 0%{?suse_version} -BuildRequires: gstreamer-0_10-plugins-base-devel -%endif -%if 0%{?rhel} == 4 -BuildRequires: gstreamer-devel -BuildRequires: gstreamer-plugins-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: gstreamer-plugins-base-devel >= 0.10 -BuildRequires: glibc-kernheaders -%endif -%endif - -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 -BuildRequires: libxcb-devel -%endif - -# xine-lib -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -BuildRequires: libxine-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: xine-lib-devel -%endif - -# LAME -%if 0%{?suse_version} -BuildRequires: libmp3lame-devel -%else -BuildRequires: lame-devel -%endif - -Requires: %{name}-libs = %{version}-%{release} - -%description -Kaffeine is a xine-based media player for KDE. It plays back CDs, -and VCDs, and can decode all (local or streamed) multimedia formats -supported by xine-lib. -Additionally, Kaffeine is fully integrated in KDE, it supports drag -and drop and provides an editable playlist, a bookmark system, a -Konqueror plugin, OSD and much more. - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README TODO -%{tde_bindir}/kaffeine -%{tde_libdir}/libkaffeinepart.so -%{tde_tdelibdir}/lib*.* -%{tde_datadir}/appl*/*/*.desktop -%{tde_datadir}/apps/gstreamerpart/ -%{tde_datadir}/apps/kaffeine/ -%{tde_datadir}/apps/konqueror/servicemenus/*.desktop -%{tde_datadir}/apps/profiles/ -%{tde_datadir}/icons/hicolor/*/*/* -%{tde_datadir}/mimelnk/*/*.desktop -%{tde_datadir}/service*/*.desktop -%{tde_tdedocdir}/HTML/en/kaffeine/ - -%post -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database >& /dev/null ||: -/sbin/ldconfig || : - -%postun -touch --no-create %{_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database >& /dev/null ||: -/sbin/ldconfig || : - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name}-libs = %{version}-%{release} -Requires: trinity-tdelibs-devel - -%description devel -%{summary}. - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kaffeine/ -%{tde_libdir}/lib*.so -%exclude %{tde_libdir}/libkaffeinepart.so - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - -########## - -%package libs -Summary: %{name} runtime libraries -Group: System Environment/Libraries - -# include to be paranoid, installing libs-only is still mostly untested -- Rex -Requires: %{name} = %{version}-%{release} - -%description libs -%{summary}. - -%files libs -%defattr(-,root,root,-) -%{tde_libdir}/lib*.so.* - -%post libs -/sbin/ldconfig || : - -%postun libs -/sbin/ldconfig || : - -########## - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - -%build -unset QTDIR || : ; source /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export KDEDIR=%{tde_prefix} - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --mandir=%{tde_mandir} \ - --enable-new-ldflags \ - --disable-debug --disable-warnings \ - --disable-dependency-tracking --enable-final \ - --disable-rpath \ - --with-xinerama \ - --with-gstreamer \ - --with-lame \ - --with-extra-includes=%{tde_includedir}/tqt \ - --with-extra-libs=%{_prefix}/%{_lib} \ - --enable-closure \ -%if 0%{?rhel} > 0 && 0%{?rhel} <= 5 - --without-dvb \ -%endif - - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT - -## File lists -# locale's -%find_lang %{kdecomp} -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then -for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - -# Unpackaged files -rm -f $RPM_BUILD_ROOT%{tde_libdir}/lib*.la -rm -f $RPM_BUILD_ROOT%{tde_datadir}/mimelnk/application/x-mplayer2.desktop - -%clean -rm -rf $RPM_BUILD_ROOT - - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 0.8.8-5 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.8.8-4 -- Initial build for TDE 3.5.13.1 - -* Fri Aug 03 2012 Francois Andriot - 0.8.8-3 -- Add support for Mageia 2 and Mandriva 2011 -- Added automake initialization with proper program name and version [Bug #858] [Commit #4e982fa3] -- Fixed online hyperlink to win32 codecs download location. [Commit #5086f358] - -* Tue May 01 2012 Francois Andriot - 0.8.8-2 -- Rebuilt for Fedora 17 -- Adds more patches from GIT. - -* Mon Apr 23 2012 Francois Andriot - 0.8.8-1 -- Updates version to 0.8.8 -- Fix nominal "tqt" typos and fix slow DVB start. [Bug #729, #899] -- Change location where Kaffeine stores temporary pipe files from $HOME to the more appropriate $KDEHOME/tmp-$HOSTNAME. -- Work around Xine crash when displaying still logo image by creating a small movie file to replace it [Bug #511, #559] -- Add man page - -* Sun Dec 04 2011 Francois Andriot - 0.8.6-2 -- Disable 'libxcb-devel' for RHEL 5 compilation -- Fix HTML directory location - -* Wed Nov 09 2011 Francois Andriot - 0.8.6-1 -- Spec file based on Fedora 8 'kaffeine-0.8.6-3' diff --git a/redhat/applications/kaffeine/trinity-kaffeine-3.5.13.spec b/redhat/applications/kaffeine/trinity-kaffeine-3.5.13.spec deleted file mode 100644 index dbc3aefbc..000000000 --- a/redhat/applications/kaffeine/trinity-kaffeine-3.5.13.spec +++ /dev/null @@ -1,305 +0,0 @@ -# Default version for this component -%define kdecomp kaffeine - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -Name: trinity-%{kdecomp} -Summary: Xine-based media player - -Version: 0.8.8 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Multimedia -URL: http://kaffeine.sourceforge.net/ - -Source0: kaffeine-3.5.13.tar.gz -Source2: kaffeine.1 - -# [kaffeine] Work around Xine crash when displaying still logo image by creating a small movie file to replace it [Bug #511, #559] -Source1: 508cb342-logo - - - -# [kaffeine] Rename old tq methods that no longer need a unique name[Commit #60ed202f] -Patch1: kaffeine-3.5.13-rename_old_tq_methods.patch -# [kaffeine] Remove additional unneeded tq method conversions [Commit #701a1249] -Patch2: kaffeine-3.5.13-remove_additional_tq_conversions.patch -# [kaffeine] Rename obsolete tq methods to standard names [Commit #66805baf] -Patch3: kaffeine-3.5.13-rename_obsolete_tq_methods.patch -# [kaffeine] Rename a few stragglers [Commit #89b5fd35] -Patch4: kaffeine-3.5.13-renames_a_few_stragglers.patch -# [kaffeine] Error out if critical OSD-related defines are not set [Commit #25b89439] -Patch5: kaffeine-3.5.13-error_out_if_critical_osd_defines_not_set.patch -# [kaffeine] Fix nominal "tqt" typos and fix slow DVB start. [Bug #729, #899] [Commit #fd68e4c4] -Patch6: kaffeine-3.5.13-fix_slow_dvb_start.patch -# [kaffeine] Change location where Kaffeine stores temporary pipe files from $HOME to the more appropriate $TDEHOME/tmp-$HOSTNAME. [Commit #b480e3db] -Patch7: kaffeine-3.5.13-fix_temporary_location.patch -# [kaffeine] Fix typos, branding, and inadvertent tqt changes. [Commit #0e3d0ed6] -Patch8: kaffeine-3.5.13-fix_typos_branding_tqt.patch -# [kaffeine] Fix installation of localization files [Bug #858] -Patch9: kaffeine-3.5.13-fix_localization_files.patch -# [kaffeine] Added automake initialization with proper program name and version [Bug #858] [Commit #4e982fa3] -Patch10: kaffeine-3.5.13-fix_program_name.patch -# [kaffeine] Fixed online hyperlink to win32 codecs download location. [Commit #5086f358] -Patch11: kaffeine-3.5.13-fix_win32_codec_url.patch -# [kaffeine] Missing LDFLAGS cause FTBFS under MGA2/MDV2011 -Patch12: kaffeine-3.5.13-missing_ldflags.patch - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: gettext -BuildRequires: trinity-kdelibs-devel -BuildRequires: libvorbis-devel -BuildRequires: libcdio-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: libcdda-devel -BuildRequires: %{_lib}xine-devel -BuildRequires: %{_lib}xext%{?mgaversion:6}-devel -BuildRequires: %{_lib}xtst-devel -BuildRequires: %{_lib}xinerama%{?mgaversion:1}-devel -# dvb -BuildRequires: kernel-headers -BuildRequires: libgstreamer-devel >= 0.10 -BuildRequires: libgstreamer-plugins-base-devel >= 0.10 -%else -BuildRequires: cdparanoia-devel cdparanoia -BuildRequires: xine-lib-devel -BuildRequires: libXext-devel -BuildRequires: libXtst-devel -BuildRequires: libXinerama-devel -# dvb -BuildRequires: glibc-kernheaders -BuildRequires: gstreamer-devel >= 0.10 -BuildRequires: gstreamer-plugins-base-devel >= 0.10 -%endif - -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 -BuildRequires: libxcb-devel -%endif - - -Requires: %{name}-libs = %{version}-%{release} - -%description -Kaffeine is a xine-based media player for KDE. It plays back CDs, -and VCDs, and can decode all (local or streamed) multimedia formats -supported by xine-lib. -Additionally, Kaffeine is fully integrated in KDE, it supports drag -and drop and provides an editable playlist, a bookmark system, a -Konqueror plugin, OSD and much more. - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README TODO -%{tde_bindir}/kaffeine -%{tde_libdir}/libkaffeinepart.so -%{tde_tdelibdir}/lib*.* -%{tde_datadir}/appl*/*/*.desktop -%{tde_datadir}/apps/gstreamerpart/ -%{tde_datadir}/apps/kaffeine/ -%{tde_datadir}/apps/konqueror/servicemenus/*.desktop -%{tde_datadir}/apps/profiles/ -%{tde_datadir}/icons/hicolor/*/*/* -%{tde_datadir}/mimelnk/*/*.desktop -%{tde_datadir}/service*/*.desktop -%{tde_tdedocdir}/HTML/en/kaffeine -%{tde_mandir}/*/* - -%post -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database >& /dev/null ||: -/sbin/ldconfig || : - -%postun -touch --no-create %{_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database >& /dev/null ||: -/sbin/ldconfig || : - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name}-libs = %{version}-%{release} -Requires: trinity-tdelibs-devel - -%description devel -%{summary}. - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kaffeine/ -%{tde_libdir}/lib*.so -%exclude %{tde_libdir}/libkaffeinepart.so - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - -########## - -%package libs -Summary: %{name} runtime libraries -Group: System Environment/Libraries - -# include to be paranoid, installing libs-only is still mostly untested -- Rex -Requires: %{name} = %{version}-%{release} - -%description libs -%{summary}. - -%files libs -%defattr(-,root,root,-) -%{tde_libdir}/lib*.so.* - -%post libs -/sbin/ldconfig || : - -%postun libs -/sbin/ldconfig || : - -########## - - -%prep -%setup -q -n applications/kaffeine - -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 -%patch8 -p1 -%patch9 -p1 -%patch10 -p1 -%patch11 -p1 -%patch12 -p1 -b .ftbfs - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - -%build -unset QTDIR || : ; source /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --mandir=%{tde_mandir} \ - --enable-new-ldflags \ - --disable-debug --disable-warnings \ - --disable-dependency-tracking --enable-final \ - --disable-rpath \ - --with-xinerama \ - --with-gstreamer \ - --without-lame \ - --with-extra-includes=%{tde_includedir}/tqt \ - --with-extra-libs=%{_prefix}/%{_lib} \ - --enable-closure \ -%if 0%{?rhel} > 0 && 0%{?rhel} <= 5 - --without-dvb \ -%endif - - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT - -## File lists -# locale's -%find_lang %{kdecomp} -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then -for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - -# Unpackaged files -rm -f $RPM_BUILD_ROOT%{tde_libdir}/lib*.la -rm -f $RPM_BUILD_ROOT%{tde_datadir}/mimelnk/application/x-mplayer2.desktop - -%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/apps/kaffeine/logo -%__install -D -m 644 %{SOURCE2} %{?buildroot}%{tde_mandir}/man1/kaffeine.1 - -%clean -rm -rf $RPM_BUILD_ROOT - - - -%changelog -* Fri Aug 03 2012 Francois Andriot - 0.8.8-3 -- Add support for Mageia 2 and Mandriva 2011 -- Added automake initialization with proper program name and version [Bug #858] [Commit #4e982fa3] -- Fixed online hyperlink to win32 codecs download location. [Commit #5086f358] - -* Tue May 01 2012 Francois Andriot - 0.8.8-2 -- Rebuilt for Fedora 17 -- Adds more patches from GIT. - -* Mon Apr 23 2012 Francois Andriot - 0.8.8-1 -- Updates version to 0.8.8 -- Fix nominal "tqt" typos and fix slow DVB start. [Bug #729, #899] -- Change location where Kaffeine stores temporary pipe files from $HOME to the more appropriate $KDEHOME/tmp-$HOSTNAME. -- Work around Xine crash when displaying still logo image by creating a small movie file to replace it [Bug #511, #559] -- Add man page - -* Sun Dec 04 2011 Francois Andriot - 0.8.6-2 -- Disable 'libxcb-devel' for RHEL 5 compilation -- Fix HTML directory location - -* Wed Nov 09 2011 Francois Andriot - 0.8.6-1 -- Spec file based on Fedora 8 'kaffeine-0.8.6-3' diff --git a/redhat/applications/katapult/katapult-3.5.12.spec b/redhat/applications/katapult/katapult-3.5.12.spec new file mode 100644 index 000000000..4f1b16493 --- /dev/null +++ b/redhat/applications/katapult/katapult-3.5.12.spec @@ -0,0 +1,120 @@ +# Default version for this component +%define kdecomp katapult +%define version 0.3.2.1 +%define release 1 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_prefix}/share/doc +%endif + +# TDE 3.5.12 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir} +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/kde3 + + +Name: trinity-%{kdecomp} +Summary: Faster access to applications, bookmarks, and other items. +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Source0: %{kdecomp}-3.5.12.tar.gz +Patch0: katapult-0.3.2.1_to_0.3.2.2.patch + +# TQt4 port Katapult. This enables compilation under both Qt3 and Qt4. +Patch1: r1233929.diff + + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: trinity-kdebase-devel +BuildRequires: desktop-file-utils + +%description +Katapult is an application for KDE, designed to allow faster access to +applications, bookmarks, and other items. It is plugin-based, so it can +launch anything that is has a plugin for. Its display is driven by +plugins as well, so its appearance is completely customizable. It was +inspired by Quicksilver for OS X. + + +%prep +%setup -q -n applications/%{kdecomp} +%patch0 -p1 +#patch1 -p2 + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +export CXXFLAGS="-DTQ_OBJECT=//" + +chmod +x ./configure + +%configure \ + --disable-rpath \ + --with-extra-includes=%{_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} +%make_install + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +/sbin/ldconfig + +%postun +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +/sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{_bindir}/* +%{_datadir}/applications/*/*.desktop +%{_datadir}/icons/*/*/*/* +%{_datadir}/locale/*/*/*.mo +%{_datadir}/services/*.desktop +%{_datadir}/servicetypes/*.desktop +%{tde_libdir}/*.so +%{_libdir}/*.so.* +%{tde_docdir}/HTML/en/katapult + + +%exclude %{tde_libdir}/*.la +%exclude %{_libdir}/*.so +%exclude %{_libdir}/*.la + +%Changelog +* Tue Sep 14 2011 Francois Andriot - 0.3.2.1-1 +- Initial build for RHEL 6.0 +- Import to GIT + diff --git a/redhat/applications/katapult/katapult-3.5.13.1.spec b/redhat/applications/katapult/katapult-3.5.13.1.spec new file mode 100644 index 000000000..03ab13a35 --- /dev/null +++ b/redhat/applications/katapult/katapult-3.5.13.1.spec @@ -0,0 +1,196 @@ +# Default version for this component +%define kdecomp katapult + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Faster access to applications, bookmarks, and other items. +Version: 0.3.2.1 +Release: 5%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils + +%description +Katapult is an application for TDE, designed to allow faster access to +applications, bookmarks, and other items. It is plugin-based, so it can +launch anything that is has a plugin for. Its display is driven by +plugins as well, so its appearance is completely customizable. It was +inspired by Quicksilver for OS X. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f admin/Makefile.common + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +# Removes useless files (-devel ?) +%__rm -f %{?buildroot}%{tde_libdir}/*.so +%__rm -f %{?buildroot}%{tde_libdir}/*.la + +%clean +%__rm -rf %{buildroot} + + +%post +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig || : +update-desktop-database %{tde_appdir} &> /dev/null + +%postun +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig || : +update-desktop-database %{tde_appdir} &> /dev/null + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/katapult +%{tde_libdir}/libkatapult.so.2 +%{tde_libdir}/libkatapult.so.2.0.0 +%{tde_tdelibdir}/katapult_amarokcatalog.la +%{tde_tdelibdir}/katapult_amarokcatalog.so +%{tde_tdelibdir}/katapult_bookmarkcatalog.la +%{tde_tdelibdir}/katapult_bookmarkcatalog.so +%{tde_tdelibdir}/katapult_calculatorcatalog.la +%{tde_tdelibdir}/katapult_calculatorcatalog.so +%{tde_tdelibdir}/katapult_documentcatalog.la +%{tde_tdelibdir}/katapult_documentcatalog.so +%{tde_tdelibdir}/katapult_execcatalog.la +%{tde_tdelibdir}/katapult_execcatalog.so +%{tde_tdelibdir}/katapult_glassdisplay.la +%{tde_tdelibdir}/katapult_glassdisplay.so +%{tde_tdelibdir}/katapult_googlecatalog.la +%{tde_tdelibdir}/katapult_googlecatalog.so +%{tde_tdelibdir}/katapult_o2display.la +%{tde_tdelibdir}/katapult_o2display.so +%{tde_tdelibdir}/katapult_programcatalog.la +%{tde_tdelibdir}/katapult_programcatalog.so +%{tde_tdelibdir}/katapult_puredisplay.la +%{tde_tdelibdir}/katapult_puredisplay.so +%{tde_tdelibdir}/katapult_spellcatalog.la +%{tde_tdelibdir}/katapult_spellcatalog.so +%{tde_tdeappdir}/katapult.desktop +%{tde_datadir}/icons/crystalsvg/128x128/actions/katapultspellcheck.png +%{tde_datadir}/icons/crystalsvg/scalable/actions/katapultspellcheck.svgz +%{tde_datadir}/icons/hicolor/128x128/actions/checkmark.png +%{tde_datadir}/icons/hicolor/128x128/actions/no.png +%{tde_datadir}/icons/hicolor/128x128/apps/xcalc.png +%{tde_datadir}/icons/hicolor/*/apps/katapult.png +%{tde_datadir}/icons/hicolor/scalable/apps/katapult.svgz +%{tde_datadir}/services/katapult_amarokcatalog.desktop +%{tde_datadir}/services/katapult_bookmarkcatalog.desktop +%{tde_datadir}/services/katapult_calculatorcatalog.desktop +%{tde_datadir}/services/katapult_documentcatalog.desktop +%{tde_datadir}/services/katapult_execcatalog.desktop +%{tde_datadir}/services/katapult_glassdisplay.desktop +%{tde_datadir}/services/katapult_googlecatalog.desktop +%{tde_datadir}/services/katapult_o2display.desktop +%{tde_datadir}/services/katapult_programcatalog.desktop +%{tde_datadir}/services/katapult_puredisplay.desktop +%{tde_datadir}/services/katapult_spellcatalog.desktop +%{tde_datadir}/servicetypes/katapultcatalog.desktop +%{tde_datadir}/servicetypes/katapultdisplay.desktop +%{tde_tdedocdir}/HTML/en/katapult/ + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.3.2.1-5 +- Initial build for TDE 3.5.13.1 + +* Tue May 01 2012 Francois Andriot - 0.3.2.1-4 +- Rebuilt for Fedora 17 +- Fix post and postun + +* Fri Nov 25 2011 Francois Andriot - 0.3.2.1-3 +- Fix HTML directory location + +* Sun Oct 30 2011 Francois Andriot - 0.3.2.1-2 +- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 + +* Tue Sep 14 2011 Francois Andriot - 0.3.2.1-1 +- Initial build for RHEL 6.0 +- Import to GIT + diff --git a/redhat/applications/katapult/katapult-3.5.13.2.spec b/redhat/applications/katapult/katapult-3.5.13.2.spec new file mode 100644 index 000000000..2d15344db --- /dev/null +++ b/redhat/applications/katapult/katapult-3.5.13.2.spec @@ -0,0 +1,199 @@ +# Default version for this component +%define kdecomp katapult + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Faster access to applications, bookmarks, and other items. +Version: 0.3.2.1 +Release: 6%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils + +%description +Katapult is an application for TDE, designed to allow faster access to +applications, bookmarks, and other items. It is plugin-based, so it can +launch anything that is has a plugin for. Its display is driven by +plugins as well, so its appearance is completely customizable. It was +inspired by Quicksilver for OS X. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f admin/Makefile.common + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +# Removes useless files (-devel ?) +%__rm -f %{?buildroot}%{tde_libdir}/*.so +%__rm -f %{?buildroot}%{tde_libdir}/*.la + +%clean +%__rm -rf %{buildroot} + + +%post +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig || : +update-desktop-database %{tde_appdir} &> /dev/null + +%postun +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig || : +update-desktop-database %{tde_appdir} &> /dev/null + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/katapult +%{tde_libdir}/libkatapult.so.2 +%{tde_libdir}/libkatapult.so.2.0.0 +%{tde_tdelibdir}/katapult_amarokcatalog.la +%{tde_tdelibdir}/katapult_amarokcatalog.so +%{tde_tdelibdir}/katapult_bookmarkcatalog.la +%{tde_tdelibdir}/katapult_bookmarkcatalog.so +%{tde_tdelibdir}/katapult_calculatorcatalog.la +%{tde_tdelibdir}/katapult_calculatorcatalog.so +%{tde_tdelibdir}/katapult_documentcatalog.la +%{tde_tdelibdir}/katapult_documentcatalog.so +%{tde_tdelibdir}/katapult_execcatalog.la +%{tde_tdelibdir}/katapult_execcatalog.so +%{tde_tdelibdir}/katapult_glassdisplay.la +%{tde_tdelibdir}/katapult_glassdisplay.so +%{tde_tdelibdir}/katapult_googlecatalog.la +%{tde_tdelibdir}/katapult_googlecatalog.so +%{tde_tdelibdir}/katapult_o2display.la +%{tde_tdelibdir}/katapult_o2display.so +%{tde_tdelibdir}/katapult_programcatalog.la +%{tde_tdelibdir}/katapult_programcatalog.so +%{tde_tdelibdir}/katapult_puredisplay.la +%{tde_tdelibdir}/katapult_puredisplay.so +%{tde_tdelibdir}/katapult_spellcatalog.la +%{tde_tdelibdir}/katapult_spellcatalog.so +%{tde_tdeappdir}/katapult.desktop +%{tde_datadir}/icons/crystalsvg/128x128/actions/katapultspellcheck.png +%{tde_datadir}/icons/crystalsvg/scalable/actions/katapultspellcheck.svgz +%{tde_datadir}/icons/hicolor/128x128/actions/checkmark.png +%{tde_datadir}/icons/hicolor/128x128/actions/no.png +%{tde_datadir}/icons/hicolor/128x128/apps/xcalc.png +%{tde_datadir}/icons/hicolor/*/apps/katapult.png +%{tde_datadir}/icons/hicolor/scalable/apps/katapult.svgz +%{tde_datadir}/services/katapult_amarokcatalog.desktop +%{tde_datadir}/services/katapult_bookmarkcatalog.desktop +%{tde_datadir}/services/katapult_calculatorcatalog.desktop +%{tde_datadir}/services/katapult_documentcatalog.desktop +%{tde_datadir}/services/katapult_execcatalog.desktop +%{tde_datadir}/services/katapult_glassdisplay.desktop +%{tde_datadir}/services/katapult_googlecatalog.desktop +%{tde_datadir}/services/katapult_o2display.desktop +%{tde_datadir}/services/katapult_programcatalog.desktop +%{tde_datadir}/services/katapult_puredisplay.desktop +%{tde_datadir}/services/katapult_spellcatalog.desktop +%{tde_datadir}/servicetypes/katapultcatalog.desktop +%{tde_datadir}/servicetypes/katapultdisplay.desktop +%{tde_tdedocdir}/HTML/en/katapult/ + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 0.3.2.1-6 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.3.2.1-5 +- Initial build for TDE 3.5.13.1 + +* Tue May 01 2012 Francois Andriot - 0.3.2.1-4 +- Rebuilt for Fedora 17 +- Fix post and postun + +* Fri Nov 25 2011 Francois Andriot - 0.3.2.1-3 +- Fix HTML directory location + +* Sun Oct 30 2011 Francois Andriot - 0.3.2.1-2 +- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 + +* Tue Sep 14 2011 Francois Andriot - 0.3.2.1-1 +- Initial build for RHEL 6.0 +- Import to GIT + diff --git a/redhat/applications/katapult/katapult-3.5.13.spec b/redhat/applications/katapult/katapult-3.5.13.spec new file mode 100644 index 000000000..8f31e7360 --- /dev/null +++ b/redhat/applications/katapult/katapult-3.5.13.spec @@ -0,0 +1,189 @@ +# Default version for this component +%define kdecomp katapult + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Faster access to applications, bookmarks, and other items. +Version: 0.3.2.1 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils + +%description +Katapult is an application for TDE, designed to allow faster access to +applications, bookmarks, and other items. It is plugin-based, so it can +launch anything that is has a plugin for. Its display is driven by +plugins as well, so its appearance is completely customizable. It was +inspired by Quicksilver for OS X. + + +%prep +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f admin/Makefile.common + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +# Removes useless files (-devel ?) +%__rm -f %{?buildroot}%{tde_libdir}/*.so +%__rm -f %{?buildroot}%{tde_libdir}/*.la + +%clean +%__rm -rf %{buildroot} + + +%post +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig || : +update-desktop-database %{tde_appdir} &> /dev/null + +%postun +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig || : +update-desktop-database %{tde_appdir} &> /dev/null + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/katapult +%{tde_libdir}/libkatapult.so.2 +%{tde_libdir}/libkatapult.so.2.0.0 +%{tde_tdelibdir}/katapult_amarokcatalog.la +%{tde_tdelibdir}/katapult_amarokcatalog.so +%{tde_tdelibdir}/katapult_bookmarkcatalog.la +%{tde_tdelibdir}/katapult_bookmarkcatalog.so +%{tde_tdelibdir}/katapult_calculatorcatalog.la +%{tde_tdelibdir}/katapult_calculatorcatalog.so +%{tde_tdelibdir}/katapult_documentcatalog.la +%{tde_tdelibdir}/katapult_documentcatalog.so +%{tde_tdelibdir}/katapult_execcatalog.la +%{tde_tdelibdir}/katapult_execcatalog.so +%{tde_tdelibdir}/katapult_glassdisplay.la +%{tde_tdelibdir}/katapult_glassdisplay.so +%{tde_tdelibdir}/katapult_googlecatalog.la +%{tde_tdelibdir}/katapult_googlecatalog.so +%{tde_tdelibdir}/katapult_o2display.la +%{tde_tdelibdir}/katapult_o2display.so +%{tde_tdelibdir}/katapult_programcatalog.la +%{tde_tdelibdir}/katapult_programcatalog.so +%{tde_tdelibdir}/katapult_puredisplay.la +%{tde_tdelibdir}/katapult_puredisplay.so +%{tde_tdelibdir}/katapult_spellcatalog.la +%{tde_tdelibdir}/katapult_spellcatalog.so +%{tde_tdeappdir}/katapult.desktop +%{tde_datadir}/icons/crystalsvg/128x128/actions/katapultspellcheck.png +%{tde_datadir}/icons/crystalsvg/scalable/actions/katapultspellcheck.svgz +%{tde_datadir}/icons/hicolor/128x128/actions/checkmark.png +%{tde_datadir}/icons/hicolor/128x128/actions/no.png +%{tde_datadir}/icons/hicolor/128x128/apps/xcalc.png +%{tde_datadir}/icons/hicolor/*/apps/katapult.png +%{tde_datadir}/icons/hicolor/scalable/apps/katapult.svgz +%{tde_datadir}/services/katapult_amarokcatalog.desktop +%{tde_datadir}/services/katapult_bookmarkcatalog.desktop +%{tde_datadir}/services/katapult_calculatorcatalog.desktop +%{tde_datadir}/services/katapult_documentcatalog.desktop +%{tde_datadir}/services/katapult_execcatalog.desktop +%{tde_datadir}/services/katapult_glassdisplay.desktop +%{tde_datadir}/services/katapult_googlecatalog.desktop +%{tde_datadir}/services/katapult_o2display.desktop +%{tde_datadir}/services/katapult_programcatalog.desktop +%{tde_datadir}/services/katapult_puredisplay.desktop +%{tde_datadir}/services/katapult_spellcatalog.desktop +%{tde_datadir}/servicetypes/katapultcatalog.desktop +%{tde_datadir}/servicetypes/katapultdisplay.desktop +%{tde_tdedocdir}/HTML/en/katapult/ + + + + +%Changelog +* Tue May 01 2012 Francois Andriot - 0.3.2.1-4 +- Rebuilt for Fedora 17 +- Fix post and postun + +* Fri Nov 25 2011 Francois Andriot - 0.3.2.1-3 +- Fix HTML directory location + +* Sun Oct 30 2011 Francois Andriot - 0.3.2.1-2 +- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 + +* Tue Sep 14 2011 Francois Andriot - 0.3.2.1-1 +- Initial build for RHEL 6.0 +- Import to GIT + diff --git a/redhat/applications/katapult/trinity-katapult-3.5.12.spec b/redhat/applications/katapult/trinity-katapult-3.5.12.spec deleted file mode 100644 index 4f1b16493..000000000 --- a/redhat/applications/katapult/trinity-katapult-3.5.12.spec +++ /dev/null @@ -1,120 +0,0 @@ -# Default version for this component -%define kdecomp katapult -%define version 0.3.2.1 -%define release 1 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_includedir %{_includedir}/kde -%define tde_libdir %{_libdir}/kde3 - - -Name: trinity-%{kdecomp} -Summary: Faster access to applications, bookmarks, and other items. -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Source0: %{kdecomp}-3.5.12.tar.gz -Patch0: katapult-0.3.2.1_to_0.3.2.2.patch - -# TQt4 port Katapult. This enables compilation under both Qt3 and Qt4. -Patch1: r1233929.diff - - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: trinity-kdebase-devel -BuildRequires: desktop-file-utils - -%description -Katapult is an application for KDE, designed to allow faster access to -applications, bookmarks, and other items. It is plugin-based, so it can -launch anything that is has a plugin for. Its display is driven by -plugins as well, so its appearance is completely customizable. It was -inspired by Quicksilver for OS X. - - -%prep -%setup -q -n applications/%{kdecomp} -%patch0 -p1 -#patch1 -p2 - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -export CXXFLAGS="-DTQ_OBJECT=//" - -chmod +x ./configure - -%configure \ - --disable-rpath \ - --with-extra-includes=%{_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{buildroot} -%make_install - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : -/sbin/ldconfig - -%postun -touch --no-create %{_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : -/sbin/ldconfig - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{_bindir}/* -%{_datadir}/applications/*/*.desktop -%{_datadir}/icons/*/*/*/* -%{_datadir}/locale/*/*/*.mo -%{_datadir}/services/*.desktop -%{_datadir}/servicetypes/*.desktop -%{tde_libdir}/*.so -%{_libdir}/*.so.* -%{tde_docdir}/HTML/en/katapult - - -%exclude %{tde_libdir}/*.la -%exclude %{_libdir}/*.so -%exclude %{_libdir}/*.la - -%Changelog -* Tue Sep 14 2011 Francois Andriot - 0.3.2.1-1 -- Initial build for RHEL 6.0 -- Import to GIT - diff --git a/redhat/applications/katapult/trinity-katapult-3.5.13.1.spec b/redhat/applications/katapult/trinity-katapult-3.5.13.1.spec deleted file mode 100644 index 03ab13a35..000000000 --- a/redhat/applications/katapult/trinity-katapult-3.5.13.1.spec +++ /dev/null @@ -1,196 +0,0 @@ -# Default version for this component -%define kdecomp katapult - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Faster access to applications, bookmarks, and other items. -Version: 0.3.2.1 -Release: 5%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - -%description -Katapult is an application for TDE, designed to allow faster access to -applications, bookmarks, and other items. It is plugin-based, so it can -launch anything that is has a plugin for. Its display is driven by -plugins as well, so its appearance is completely customizable. It was -inspired by Quicksilver for OS X. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f admin/Makefile.common - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -# Removes useless files (-devel ?) -%__rm -f %{?buildroot}%{tde_libdir}/*.so -%__rm -f %{?buildroot}%{tde_libdir}/*.la - -%clean -%__rm -rf %{buildroot} - - -%post -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} &> /dev/null - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/katapult -%{tde_libdir}/libkatapult.so.2 -%{tde_libdir}/libkatapult.so.2.0.0 -%{tde_tdelibdir}/katapult_amarokcatalog.la -%{tde_tdelibdir}/katapult_amarokcatalog.so -%{tde_tdelibdir}/katapult_bookmarkcatalog.la -%{tde_tdelibdir}/katapult_bookmarkcatalog.so -%{tde_tdelibdir}/katapult_calculatorcatalog.la -%{tde_tdelibdir}/katapult_calculatorcatalog.so -%{tde_tdelibdir}/katapult_documentcatalog.la -%{tde_tdelibdir}/katapult_documentcatalog.so -%{tde_tdelibdir}/katapult_execcatalog.la -%{tde_tdelibdir}/katapult_execcatalog.so -%{tde_tdelibdir}/katapult_glassdisplay.la -%{tde_tdelibdir}/katapult_glassdisplay.so -%{tde_tdelibdir}/katapult_googlecatalog.la -%{tde_tdelibdir}/katapult_googlecatalog.so -%{tde_tdelibdir}/katapult_o2display.la -%{tde_tdelibdir}/katapult_o2display.so -%{tde_tdelibdir}/katapult_programcatalog.la -%{tde_tdelibdir}/katapult_programcatalog.so -%{tde_tdelibdir}/katapult_puredisplay.la -%{tde_tdelibdir}/katapult_puredisplay.so -%{tde_tdelibdir}/katapult_spellcatalog.la -%{tde_tdelibdir}/katapult_spellcatalog.so -%{tde_tdeappdir}/katapult.desktop -%{tde_datadir}/icons/crystalsvg/128x128/actions/katapultspellcheck.png -%{tde_datadir}/icons/crystalsvg/scalable/actions/katapultspellcheck.svgz -%{tde_datadir}/icons/hicolor/128x128/actions/checkmark.png -%{tde_datadir}/icons/hicolor/128x128/actions/no.png -%{tde_datadir}/icons/hicolor/128x128/apps/xcalc.png -%{tde_datadir}/icons/hicolor/*/apps/katapult.png -%{tde_datadir}/icons/hicolor/scalable/apps/katapult.svgz -%{tde_datadir}/services/katapult_amarokcatalog.desktop -%{tde_datadir}/services/katapult_bookmarkcatalog.desktop -%{tde_datadir}/services/katapult_calculatorcatalog.desktop -%{tde_datadir}/services/katapult_documentcatalog.desktop -%{tde_datadir}/services/katapult_execcatalog.desktop -%{tde_datadir}/services/katapult_glassdisplay.desktop -%{tde_datadir}/services/katapult_googlecatalog.desktop -%{tde_datadir}/services/katapult_o2display.desktop -%{tde_datadir}/services/katapult_programcatalog.desktop -%{tde_datadir}/services/katapult_puredisplay.desktop -%{tde_datadir}/services/katapult_spellcatalog.desktop -%{tde_datadir}/servicetypes/katapultcatalog.desktop -%{tde_datadir}/servicetypes/katapultdisplay.desktop -%{tde_tdedocdir}/HTML/en/katapult/ - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.3.2.1-5 -- Initial build for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 0.3.2.1-4 -- Rebuilt for Fedora 17 -- Fix post and postun - -* Fri Nov 25 2011 Francois Andriot - 0.3.2.1-3 -- Fix HTML directory location - -* Sun Oct 30 2011 Francois Andriot - 0.3.2.1-2 -- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 - -* Tue Sep 14 2011 Francois Andriot - 0.3.2.1-1 -- Initial build for RHEL 6.0 -- Import to GIT - diff --git a/redhat/applications/katapult/trinity-katapult-3.5.13.2.spec b/redhat/applications/katapult/trinity-katapult-3.5.13.2.spec deleted file mode 100644 index 2d15344db..000000000 --- a/redhat/applications/katapult/trinity-katapult-3.5.13.2.spec +++ /dev/null @@ -1,199 +0,0 @@ -# Default version for this component -%define kdecomp katapult - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Faster access to applications, bookmarks, and other items. -Version: 0.3.2.1 -Release: 6%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils - -%description -Katapult is an application for TDE, designed to allow faster access to -applications, bookmarks, and other items. It is plugin-based, so it can -launch anything that is has a plugin for. Its display is driven by -plugins as well, so its appearance is completely customizable. It was -inspired by Quicksilver for OS X. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f admin/Makefile.common - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -# Removes useless files (-devel ?) -%__rm -f %{?buildroot}%{tde_libdir}/*.so -%__rm -f %{?buildroot}%{tde_libdir}/*.la - -%clean -%__rm -rf %{buildroot} - - -%post -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} &> /dev/null - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/katapult -%{tde_libdir}/libkatapult.so.2 -%{tde_libdir}/libkatapult.so.2.0.0 -%{tde_tdelibdir}/katapult_amarokcatalog.la -%{tde_tdelibdir}/katapult_amarokcatalog.so -%{tde_tdelibdir}/katapult_bookmarkcatalog.la -%{tde_tdelibdir}/katapult_bookmarkcatalog.so -%{tde_tdelibdir}/katapult_calculatorcatalog.la -%{tde_tdelibdir}/katapult_calculatorcatalog.so -%{tde_tdelibdir}/katapult_documentcatalog.la -%{tde_tdelibdir}/katapult_documentcatalog.so -%{tde_tdelibdir}/katapult_execcatalog.la -%{tde_tdelibdir}/katapult_execcatalog.so -%{tde_tdelibdir}/katapult_glassdisplay.la -%{tde_tdelibdir}/katapult_glassdisplay.so -%{tde_tdelibdir}/katapult_googlecatalog.la -%{tde_tdelibdir}/katapult_googlecatalog.so -%{tde_tdelibdir}/katapult_o2display.la -%{tde_tdelibdir}/katapult_o2display.so -%{tde_tdelibdir}/katapult_programcatalog.la -%{tde_tdelibdir}/katapult_programcatalog.so -%{tde_tdelibdir}/katapult_puredisplay.la -%{tde_tdelibdir}/katapult_puredisplay.so -%{tde_tdelibdir}/katapult_spellcatalog.la -%{tde_tdelibdir}/katapult_spellcatalog.so -%{tde_tdeappdir}/katapult.desktop -%{tde_datadir}/icons/crystalsvg/128x128/actions/katapultspellcheck.png -%{tde_datadir}/icons/crystalsvg/scalable/actions/katapultspellcheck.svgz -%{tde_datadir}/icons/hicolor/128x128/actions/checkmark.png -%{tde_datadir}/icons/hicolor/128x128/actions/no.png -%{tde_datadir}/icons/hicolor/128x128/apps/xcalc.png -%{tde_datadir}/icons/hicolor/*/apps/katapult.png -%{tde_datadir}/icons/hicolor/scalable/apps/katapult.svgz -%{tde_datadir}/services/katapult_amarokcatalog.desktop -%{tde_datadir}/services/katapult_bookmarkcatalog.desktop -%{tde_datadir}/services/katapult_calculatorcatalog.desktop -%{tde_datadir}/services/katapult_documentcatalog.desktop -%{tde_datadir}/services/katapult_execcatalog.desktop -%{tde_datadir}/services/katapult_glassdisplay.desktop -%{tde_datadir}/services/katapult_googlecatalog.desktop -%{tde_datadir}/services/katapult_o2display.desktop -%{tde_datadir}/services/katapult_programcatalog.desktop -%{tde_datadir}/services/katapult_puredisplay.desktop -%{tde_datadir}/services/katapult_spellcatalog.desktop -%{tde_datadir}/servicetypes/katapultcatalog.desktop -%{tde_datadir}/servicetypes/katapultdisplay.desktop -%{tde_tdedocdir}/HTML/en/katapult/ - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 0.3.2.1-6 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.3.2.1-5 -- Initial build for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 0.3.2.1-4 -- Rebuilt for Fedora 17 -- Fix post and postun - -* Fri Nov 25 2011 Francois Andriot - 0.3.2.1-3 -- Fix HTML directory location - -* Sun Oct 30 2011 Francois Andriot - 0.3.2.1-2 -- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 - -* Tue Sep 14 2011 Francois Andriot - 0.3.2.1-1 -- Initial build for RHEL 6.0 -- Import to GIT - diff --git a/redhat/applications/katapult/trinity-katapult-3.5.13.spec b/redhat/applications/katapult/trinity-katapult-3.5.13.spec deleted file mode 100644 index 8f31e7360..000000000 --- a/redhat/applications/katapult/trinity-katapult-3.5.13.spec +++ /dev/null @@ -1,189 +0,0 @@ -# Default version for this component -%define kdecomp katapult - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Faster access to applications, bookmarks, and other items. -Version: 0.3.2.1 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils - -%description -Katapult is an application for TDE, designed to allow faster access to -applications, bookmarks, and other items. It is plugin-based, so it can -launch anything that is has a plugin for. Its display is driven by -plugins as well, so its appearance is completely customizable. It was -inspired by Quicksilver for OS X. - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f admin/Makefile.common - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -# Removes useless files (-devel ?) -%__rm -f %{?buildroot}%{tde_libdir}/*.so -%__rm -f %{?buildroot}%{tde_libdir}/*.la - -%clean -%__rm -rf %{buildroot} - - -%post -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} &> /dev/null - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/katapult -%{tde_libdir}/libkatapult.so.2 -%{tde_libdir}/libkatapult.so.2.0.0 -%{tde_tdelibdir}/katapult_amarokcatalog.la -%{tde_tdelibdir}/katapult_amarokcatalog.so -%{tde_tdelibdir}/katapult_bookmarkcatalog.la -%{tde_tdelibdir}/katapult_bookmarkcatalog.so -%{tde_tdelibdir}/katapult_calculatorcatalog.la -%{tde_tdelibdir}/katapult_calculatorcatalog.so -%{tde_tdelibdir}/katapult_documentcatalog.la -%{tde_tdelibdir}/katapult_documentcatalog.so -%{tde_tdelibdir}/katapult_execcatalog.la -%{tde_tdelibdir}/katapult_execcatalog.so -%{tde_tdelibdir}/katapult_glassdisplay.la -%{tde_tdelibdir}/katapult_glassdisplay.so -%{tde_tdelibdir}/katapult_googlecatalog.la -%{tde_tdelibdir}/katapult_googlecatalog.so -%{tde_tdelibdir}/katapult_o2display.la -%{tde_tdelibdir}/katapult_o2display.so -%{tde_tdelibdir}/katapult_programcatalog.la -%{tde_tdelibdir}/katapult_programcatalog.so -%{tde_tdelibdir}/katapult_puredisplay.la -%{tde_tdelibdir}/katapult_puredisplay.so -%{tde_tdelibdir}/katapult_spellcatalog.la -%{tde_tdelibdir}/katapult_spellcatalog.so -%{tde_tdeappdir}/katapult.desktop -%{tde_datadir}/icons/crystalsvg/128x128/actions/katapultspellcheck.png -%{tde_datadir}/icons/crystalsvg/scalable/actions/katapultspellcheck.svgz -%{tde_datadir}/icons/hicolor/128x128/actions/checkmark.png -%{tde_datadir}/icons/hicolor/128x128/actions/no.png -%{tde_datadir}/icons/hicolor/128x128/apps/xcalc.png -%{tde_datadir}/icons/hicolor/*/apps/katapult.png -%{tde_datadir}/icons/hicolor/scalable/apps/katapult.svgz -%{tde_datadir}/services/katapult_amarokcatalog.desktop -%{tde_datadir}/services/katapult_bookmarkcatalog.desktop -%{tde_datadir}/services/katapult_calculatorcatalog.desktop -%{tde_datadir}/services/katapult_documentcatalog.desktop -%{tde_datadir}/services/katapult_execcatalog.desktop -%{tde_datadir}/services/katapult_glassdisplay.desktop -%{tde_datadir}/services/katapult_googlecatalog.desktop -%{tde_datadir}/services/katapult_o2display.desktop -%{tde_datadir}/services/katapult_programcatalog.desktop -%{tde_datadir}/services/katapult_puredisplay.desktop -%{tde_datadir}/services/katapult_spellcatalog.desktop -%{tde_datadir}/servicetypes/katapultcatalog.desktop -%{tde_datadir}/servicetypes/katapultdisplay.desktop -%{tde_tdedocdir}/HTML/en/katapult/ - - - - -%Changelog -* Tue May 01 2012 Francois Andriot - 0.3.2.1-4 -- Rebuilt for Fedora 17 -- Fix post and postun - -* Fri Nov 25 2011 Francois Andriot - 0.3.2.1-3 -- Fix HTML directory location - -* Sun Oct 30 2011 Francois Andriot - 0.3.2.1-2 -- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 - -* Tue Sep 14 2011 Francois Andriot - 0.3.2.1-1 -- Initial build for RHEL 6.0 -- Import to GIT - diff --git a/redhat/applications/kbarcode/kbarcode-3.5.13.1.spec b/redhat/applications/kbarcode/kbarcode-3.5.13.1.spec new file mode 100644 index 000000000..f1816a467 --- /dev/null +++ b/redhat/applications/kbarcode/kbarcode-3.5.13.1.spec @@ -0,0 +1,160 @@ +# Default version for this component +%define kdecomp kbarcode + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: barcode and label printing application for Trinity +Version: 2.0.6 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.kbarcode.net + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +KBarcode is a barcode and label printing application for Trinity. It can be used +to print everything from simple business cards up to complex labels with +several barcodes (e.g. article descriptions). + +KBarcode comes with an easy to use WYSIWYG label designer, a setup wizard, +batch import of data for batch printing labels (directly from the delivery +note), thousands of predefined labels, database management tools and +translations in many languages. Even printing more than 10.000 labels in one +go is no problem for KBarcode. Data for printing can be imported from several +different data sources, including SQL databases, CSV files and the KDE address +book. + +Additionally it is a simple barcode generator (similar to the old xbarcode you +might know). All major types of barcodes like EAN, UPC, CODE39 and ISBN are +supported. Even complex 2D barcodes are supported using third party tools. The +generated barcodes can be directly printed or you can export them into images +to use them in another application. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{_includedir}/tqt + +# SMP safe ! +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%find_lang %{kdecomp} || touch %{kdecomp}.lang + + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +update-desktop-database %{tde_appdir} &> /dev/null + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +update-desktop-database %{tde_appdir} &> /dev/null + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{tde_bindir}/kbarcode +%{tde_tdelibdir}/kfile_kbarcode.la +%{tde_tdelibdir}/kfile_kbarcode.so +%{tde_tdeappdir}/kbarcode-batch.desktop +%{tde_tdeappdir}/kbarcode-editor.desktop +%{tde_tdeappdir}/kbarcode-label.desktop +%{tde_tdeappdir}/kbarcode-single.desktop +%{tde_tdeappdir}/kbarcode.desktop +%{tde_datadir}/apps/kbarcode/ +%{tde_datadir}/icons/hicolor/*/actions/barcode.png +%{tde_datadir}/icons/hicolor/*/actions/kbarcodeellipse.png +%{tde_datadir}/icons/hicolor/*/actions/kbarcodegrid.png +%{tde_datadir}/icons/hicolor/*/actions/kbarcodelinetool.png +%{tde_datadir}/icons/hicolor/*/actions/kbarcoderect.png +%{tde_datadir}/icons/hicolor/*/apps/kbarcode.png +%{tde_datadir}/services/kfile_kbarcode.desktop + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 2.0.6-2 +- Initial build for TDE 3.5.13.1 + +* Wed Nov 30 2011 Francois Andriot - 2.0.6-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kbarcode/kbarcode-3.5.13.2.spec b/redhat/applications/kbarcode/kbarcode-3.5.13.2.spec new file mode 100644 index 000000000..868dfc956 --- /dev/null +++ b/redhat/applications/kbarcode/kbarcode-3.5.13.2.spec @@ -0,0 +1,163 @@ +# Default version for this component +%define kdecomp kbarcode + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: barcode and label printing application for Trinity +Version: 2.0.6 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.kbarcode.net + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +KBarcode is a barcode and label printing application for Trinity. It can be used +to print everything from simple business cards up to complex labels with +several barcodes (e.g. article descriptions). + +KBarcode comes with an easy to use WYSIWYG label designer, a setup wizard, +batch import of data for batch printing labels (directly from the delivery +note), thousands of predefined labels, database management tools and +translations in many languages. Even printing more than 10.000 labels in one +go is no problem for KBarcode. Data for printing can be imported from several +different data sources, including SQL databases, CSV files and the KDE address +book. + +Additionally it is a simple barcode generator (similar to the old xbarcode you +might know). All major types of barcodes like EAN, UPC, CODE39 and ISBN are +supported. Even complex 2D barcodes are supported using third party tools. The +generated barcodes can be directly printed or you can export them into images +to use them in another application. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt:%{_includedir}/pcre + +# SMP safe ! +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%find_lang %{kdecomp} || touch %{kdecomp}.lang + + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +update-desktop-database %{tde_appdir} &> /dev/null + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +update-desktop-database %{tde_appdir} &> /dev/null + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{tde_bindir}/kbarcode +%{tde_tdelibdir}/kfile_kbarcode.la +%{tde_tdelibdir}/kfile_kbarcode.so +%{tde_tdeappdir}/kbarcode-batch.desktop +%{tde_tdeappdir}/kbarcode-editor.desktop +%{tde_tdeappdir}/kbarcode-label.desktop +%{tde_tdeappdir}/kbarcode-single.desktop +%{tde_tdeappdir}/kbarcode.desktop +%{tde_datadir}/apps/kbarcode/ +%{tde_datadir}/icons/hicolor/*/actions/barcode.png +%{tde_datadir}/icons/hicolor/*/actions/kbarcodeellipse.png +%{tde_datadir}/icons/hicolor/*/actions/kbarcodegrid.png +%{tde_datadir}/icons/hicolor/*/actions/kbarcodelinetool.png +%{tde_datadir}/icons/hicolor/*/actions/kbarcoderect.png +%{tde_datadir}/icons/hicolor/*/apps/kbarcode.png +%{tde_datadir}/services/kfile_kbarcode.desktop + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 2.0.6-3 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 2.0.6-2 +- Initial build for TDE 3.5.13.1 + +* Wed Nov 30 2011 Francois Andriot - 2.0.6-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kbarcode/kbarcode-3.5.13.spec b/redhat/applications/kbarcode/kbarcode-3.5.13.spec new file mode 100644 index 000000000..83e71e5a2 --- /dev/null +++ b/redhat/applications/kbarcode/kbarcode-3.5.13.spec @@ -0,0 +1,161 @@ +# Default version for this component +%define kdecomp kbarcode + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: barcode and label printing application for Trinity +Version: 2.0.6 +Release: 1%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.kbarcode.net + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +# [kbarcode] Fix 'format not a string literal' error [Commit #14ba7d8a] +Patch1: kbarcode-3.5.13-fix_format_not_a_string_literal.patch +# [kbarcode] Fix FTBFS [Commit #62777d27] +Patch2: kbarcode-3.5.13-fix_ftbfs.patch +# [kbarcode] Fix remaining string format errors [Commit #b8dc3f57] +Patch3: kbarcode-3.5.13-fix_remaining_string_literal.patch + + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +KBarcode is a barcode and label printing application for Trinity. It can be used +to print everything from simple business cards up to complex labels with +several barcodes (e.g. article descriptions). + +KBarcode comes with an easy to use WYSIWYG label designer, a setup wizard, +batch import of data for batch printing labels (directly from the delivery +note), thousands of predefined labels, database management tools and +translations in many languages. Even printing more than 10.000 labels in one +go is no problem for KBarcode. Data for printing can be imported from several +different data sources, including SQL databases, CSV files and the KDE address +book. + +Additionally it is a simple barcode generator (similar to the old xbarcode you +might know). All major types of barcodes like EAN, UPC, CODE39 and ISBN are +supported. Even complex 2D barcodes are supported using third party tools. The +generated barcodes can be directly printed or you can export them into images +to use them in another application. + + +%prep +%setup -q -n applications/%{kdecomp} +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --disable-rpath \ + --with-extra-includes=%{_includedir}/tqt + +# SMP safe ! +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%find_lang %{kdecomp} || touch %{kdecomp}.lang + + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +update-desktop-database %{tde_appdir} &> /dev/null + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +update-desktop-database %{tde_appdir} &> /dev/null + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{tde_bindir}/kbarcode +%{tde_tdelibdir}/kfile_kbarcode.la +%{tde_tdelibdir}/kfile_kbarcode.so +%{tde_tdeappdir}/kbarcode-batch.desktop +%{tde_tdeappdir}/kbarcode-editor.desktop +%{tde_tdeappdir}/kbarcode-label.desktop +%{tde_tdeappdir}/kbarcode-single.desktop +%{tde_tdeappdir}/kbarcode.desktop +%{tde_datadir}/apps/kbarcode/ +%{tde_datadir}/icons/hicolor/*/actions/barcode.png +%{tde_datadir}/icons/hicolor/*/actions/kbarcodeellipse.png +%{tde_datadir}/icons/hicolor/*/actions/kbarcodegrid.png +%{tde_datadir}/icons/hicolor/*/actions/kbarcodelinetool.png +%{tde_datadir}/icons/hicolor/*/actions/kbarcoderect.png +%{tde_datadir}/icons/hicolor/*/apps/kbarcode.png +%{tde_datadir}/services/kfile_kbarcode.desktop + + +%Changelog +* Wed Nov 30 2011 Francois Andriot - 2.0.6-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kbarcode/trinity-kbarcode-3.5.13.1.spec b/redhat/applications/kbarcode/trinity-kbarcode-3.5.13.1.spec deleted file mode 100644 index f1816a467..000000000 --- a/redhat/applications/kbarcode/trinity-kbarcode-3.5.13.1.spec +++ /dev/null @@ -1,160 +0,0 @@ -# Default version for this component -%define kdecomp kbarcode - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: barcode and label printing application for Trinity -Version: 2.0.6 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.kbarcode.net - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -KBarcode is a barcode and label printing application for Trinity. It can be used -to print everything from simple business cards up to complex labels with -several barcodes (e.g. article descriptions). - -KBarcode comes with an easy to use WYSIWYG label designer, a setup wizard, -batch import of data for batch printing labels (directly from the delivery -note), thousands of predefined labels, database management tools and -translations in many languages. Even printing more than 10.000 labels in one -go is no problem for KBarcode. Data for printing can be imported from several -different data sources, including SQL databases, CSV files and the KDE address -book. - -Additionally it is a simple barcode generator (similar to the old xbarcode you -might know). All major types of barcodes like EAN, UPC, CODE39 and ISBN are -supported. Even complex 2D barcodes are supported using third party tools. The -generated barcodes can be directly printed or you can export them into images -to use them in another application. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{_includedir}/tqt - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%find_lang %{kdecomp} || touch %{kdecomp}.lang - - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_bindir}/kbarcode -%{tde_tdelibdir}/kfile_kbarcode.la -%{tde_tdelibdir}/kfile_kbarcode.so -%{tde_tdeappdir}/kbarcode-batch.desktop -%{tde_tdeappdir}/kbarcode-editor.desktop -%{tde_tdeappdir}/kbarcode-label.desktop -%{tde_tdeappdir}/kbarcode-single.desktop -%{tde_tdeappdir}/kbarcode.desktop -%{tde_datadir}/apps/kbarcode/ -%{tde_datadir}/icons/hicolor/*/actions/barcode.png -%{tde_datadir}/icons/hicolor/*/actions/kbarcodeellipse.png -%{tde_datadir}/icons/hicolor/*/actions/kbarcodegrid.png -%{tde_datadir}/icons/hicolor/*/actions/kbarcodelinetool.png -%{tde_datadir}/icons/hicolor/*/actions/kbarcoderect.png -%{tde_datadir}/icons/hicolor/*/apps/kbarcode.png -%{tde_datadir}/services/kfile_kbarcode.desktop - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 2.0.6-2 -- Initial build for TDE 3.5.13.1 - -* Wed Nov 30 2011 Francois Andriot - 2.0.6-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kbarcode/trinity-kbarcode-3.5.13.2.spec b/redhat/applications/kbarcode/trinity-kbarcode-3.5.13.2.spec deleted file mode 100644 index 868dfc956..000000000 --- a/redhat/applications/kbarcode/trinity-kbarcode-3.5.13.2.spec +++ /dev/null @@ -1,163 +0,0 @@ -# Default version for this component -%define kdecomp kbarcode - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: barcode and label printing application for Trinity -Version: 2.0.6 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.kbarcode.net - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -KBarcode is a barcode and label printing application for Trinity. It can be used -to print everything from simple business cards up to complex labels with -several barcodes (e.g. article descriptions). - -KBarcode comes with an easy to use WYSIWYG label designer, a setup wizard, -batch import of data for batch printing labels (directly from the delivery -note), thousands of predefined labels, database management tools and -translations in many languages. Even printing more than 10.000 labels in one -go is no problem for KBarcode. Data for printing can be imported from several -different data sources, including SQL databases, CSV files and the KDE address -book. - -Additionally it is a simple barcode generator (similar to the old xbarcode you -might know). All major types of barcodes like EAN, UPC, CODE39 and ISBN are -supported. Even complex 2D barcodes are supported using third party tools. The -generated barcodes can be directly printed or you can export them into images -to use them in another application. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt:%{_includedir}/pcre - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%find_lang %{kdecomp} || touch %{kdecomp}.lang - - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_bindir}/kbarcode -%{tde_tdelibdir}/kfile_kbarcode.la -%{tde_tdelibdir}/kfile_kbarcode.so -%{tde_tdeappdir}/kbarcode-batch.desktop -%{tde_tdeappdir}/kbarcode-editor.desktop -%{tde_tdeappdir}/kbarcode-label.desktop -%{tde_tdeappdir}/kbarcode-single.desktop -%{tde_tdeappdir}/kbarcode.desktop -%{tde_datadir}/apps/kbarcode/ -%{tde_datadir}/icons/hicolor/*/actions/barcode.png -%{tde_datadir}/icons/hicolor/*/actions/kbarcodeellipse.png -%{tde_datadir}/icons/hicolor/*/actions/kbarcodegrid.png -%{tde_datadir}/icons/hicolor/*/actions/kbarcodelinetool.png -%{tde_datadir}/icons/hicolor/*/actions/kbarcoderect.png -%{tde_datadir}/icons/hicolor/*/apps/kbarcode.png -%{tde_datadir}/services/kfile_kbarcode.desktop - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 2.0.6-3 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 2.0.6-2 -- Initial build for TDE 3.5.13.1 - -* Wed Nov 30 2011 Francois Andriot - 2.0.6-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kbarcode/trinity-kbarcode-3.5.13.spec b/redhat/applications/kbarcode/trinity-kbarcode-3.5.13.spec deleted file mode 100644 index 83e71e5a2..000000000 --- a/redhat/applications/kbarcode/trinity-kbarcode-3.5.13.spec +++ /dev/null @@ -1,161 +0,0 @@ -# Default version for this component -%define kdecomp kbarcode - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: barcode and label printing application for Trinity -Version: 2.0.6 -Release: 1%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.kbarcode.net - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# [kbarcode] Fix 'format not a string literal' error [Commit #14ba7d8a] -Patch1: kbarcode-3.5.13-fix_format_not_a_string_literal.patch -# [kbarcode] Fix FTBFS [Commit #62777d27] -Patch2: kbarcode-3.5.13-fix_ftbfs.patch -# [kbarcode] Fix remaining string format errors [Commit #b8dc3f57] -Patch3: kbarcode-3.5.13-fix_remaining_string_literal.patch - - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -KBarcode is a barcode and label printing application for Trinity. It can be used -to print everything from simple business cards up to complex labels with -several barcodes (e.g. article descriptions). - -KBarcode comes with an easy to use WYSIWYG label designer, a setup wizard, -batch import of data for batch printing labels (directly from the delivery -note), thousands of predefined labels, database management tools and -translations in many languages. Even printing more than 10.000 labels in one -go is no problem for KBarcode. Data for printing can be imported from several -different data sources, including SQL databases, CSV files and the KDE address -book. - -Additionally it is a simple barcode generator (similar to the old xbarcode you -might know). All major types of barcodes like EAN, UPC, CODE39 and ISBN are -supported. Even complex 2D barcodes are supported using third party tools. The -generated barcodes can be directly printed or you can export them into images -to use them in another application. - - -%prep -%setup -q -n applications/%{kdecomp} -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --disable-rpath \ - --with-extra-includes=%{_includedir}/tqt - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%find_lang %{kdecomp} || touch %{kdecomp}.lang - - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_bindir}/kbarcode -%{tde_tdelibdir}/kfile_kbarcode.la -%{tde_tdelibdir}/kfile_kbarcode.so -%{tde_tdeappdir}/kbarcode-batch.desktop -%{tde_tdeappdir}/kbarcode-editor.desktop -%{tde_tdeappdir}/kbarcode-label.desktop -%{tde_tdeappdir}/kbarcode-single.desktop -%{tde_tdeappdir}/kbarcode.desktop -%{tde_datadir}/apps/kbarcode/ -%{tde_datadir}/icons/hicolor/*/actions/barcode.png -%{tde_datadir}/icons/hicolor/*/actions/kbarcodeellipse.png -%{tde_datadir}/icons/hicolor/*/actions/kbarcodegrid.png -%{tde_datadir}/icons/hicolor/*/actions/kbarcodelinetool.png -%{tde_datadir}/icons/hicolor/*/actions/kbarcoderect.png -%{tde_datadir}/icons/hicolor/*/apps/kbarcode.png -%{tde_datadir}/services/kfile_kbarcode.desktop - - -%Changelog -* Wed Nov 30 2011 Francois Andriot - 2.0.6-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kbfx/kbfx-3.5.13.1.spec b/redhat/applications/kbfx/kbfx-3.5.13.1.spec new file mode 100644 index 000000000..78b6bd502 --- /dev/null +++ b/redhat/applications/kbfx/kbfx-3.5.13.1.spec @@ -0,0 +1,169 @@ +# Default version for this component +%define kdecomp kbfx + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: an alternative to K-Menu for KDE [Trinity] +Version: 0.4.9.3.1 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +# [kbfx] Some files are installed in wrong directories ... +Patch2: kbfx-3.5.13.1-fix_install_directories.patch + + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils + +%description +KBFX is an alternative to the classical K-Menu button and its menu. +It improves the user experience by enabling him to set a bigger (and thus more +visible) start button and by finally replacing the Win95-like K-Menu. +If you still want the old menu, because you're used to it, it is still +available as an option in kbfx. We recommend, however, that you give the Spinx +bar a try. + +Homepage: http://www.kbfx.org + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 +%patch2 -p1 -b .dir + +# Fix TDE executable path in 'CMakeLists.txt' ... +%__sed -i "CMakeLists.txt" \ + -e "s|/usr/bin/uic-tqt|%{tde_bindir}/uic-tqt|" \ + -e "s|/usr/bin/tmoc|%{tde_bindir}/tmoc|" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|" + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_tdeincludedir}:%{tde_includedir}/tqt" + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DDATA_INSTALL_DIR=%{tde_datadir}/apps \ + -DMIME_INSTALL_DIR=%{tde_datadir}/mimelnk \ + -DXDG_APPS_INSTALL_DIR=%{tde_tdeappdir} \ + -DDOC_INSTALL_DIR=%{tde_tdedocdir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DUSE_STRIGI=OFF \ + -DUSE_MENUDRAKE=OFF \ + -DBUILD_DOC=ON \ + -DBUILD_ALL=OFF \ + .. + +# Not SMP safe ! +%__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build VERBOSE=1 + + +%clean +%__rm -rf %{buildroot} + + +%post +/sbin/ldconfig +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +update-desktop-database %{tde_appdir} &> /dev/null + +%postun +/sbin/ldconfig +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +update-desktop-database %{tde_appdir} &> /dev/null + + +%files +%defattr(-,root,root,-) +%{tde_bindir}/kbfxconfigapp +%{tde_tdeincludedir}/kbfx/ +%{tde_libdir}/kbfx/plugins/libkbfxplasmadataplasmoid.la +%{tde_libdir}/kbfx/plugins/libkbfxplasmadataplasmoid.so +%{tde_libdir}/kbfx/plugins/libkbfxplasmadatasettings.la +%{tde_libdir}/kbfx/plugins/libkbfxplasmadatasettings.so +%{tde_libdir}/kbfx/plugins/libkbfxplasmadatastub.la +%{tde_libdir}/kbfx/plugins/libkbfxplasmadatastub.so +%{tde_libdir}/kbfx/plugins/libkbfxplasmarecentstuff.la +%{tde_libdir}/kbfx/plugins/libkbfxplasmarecentstuff.so +%{tde_libdir}/libkbfxcommon.la +%{tde_libdir}/libkbfxcommon.so +%{tde_libdir}/libkbfxdata.la +%{tde_libdir}/libkbfxdata.so +%{tde_tdelibdir}/kbfxspinx.la +%{tde_tdelibdir}/kbfxspinx.so +%{tde_tdeappdir}/kbfx_theme.desktop +%{tde_tdeappdir}/kbfxconfigapp.desktop +%{tde_datadir}/apps/kbfx/skins/*/* +%{tde_datadir}/apps/kbfxconfigapp/kbfxconfigappui.rc +%{tde_datadir}/apps/kicker/applets/kbfxspinx.desktop +%{tde_datadir}/apps/konqueror/servicemenus/kbfx_install_theme.desktop +%{tde_datadir}/apps/konqueror/servicemenus/kbfx_prepare_theme.desktop +#%{tde_tdedocdir}/HTML/en/common/kbfx-*.jpg +#%{tde_tdedocdir}/HTML/en/kbfxconfigapp/ +%{tde_tdedocdir}/kbfx/ +%{tde_datadir}/icons/hicolor/*/apps/kbfx.png +%{tde_datadir}/icons/hicolor/*/apps/kbfxconfigapp.png +#%{tde_datadir}/locale/*/LC_MESSAGES/kbfxconfigapp.mo +%{tde_datadir}/mimelnk/application/x-kbfxtheme.desktop + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.4.9.3.1-2 +- Initial build for TDE 3.5.13.1 + +* Sun Nov 20 2011 Francois Andriot - 0.4.9.3.1-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kbfx/kbfx-3.5.13.2.spec b/redhat/applications/kbfx/kbfx-3.5.13.2.spec new file mode 100644 index 000000000..151e1a240 --- /dev/null +++ b/redhat/applications/kbfx/kbfx-3.5.13.2.spec @@ -0,0 +1,175 @@ +# Default version for this component +%define kdecomp kbfx + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: an alternative to K-Menu for KDE [Trinity] +Version: 0.4.9.3.1 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils + +%description +KBFX is an alternative to the classical K-Menu button and its menu. +It improves the user experience by enabling him to set a bigger (and thus more +visible) start button and by finally replacing the Win95-like K-Menu. +If you still want the old menu, because you're used to it, it is still +available as an option in kbfx. We recommend, however, that you give the Spinx +bar a try. + +Homepage: http://www.kbfx.org + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Fix TDE executable path in 'CMakeLists.txt' ... +%__sed -i "CMakeLists.txt" \ + -e "s|/usr/bin/uic-tqt|%{tde_bindir}/uic-tqt|" \ + -e "s|/usr/bin/tmoc|%{tde_bindir}/tmoc|" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|" + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_tdeincludedir}:%{tde_includedir}/tqt" + +# Shitty hack for RHEL4 ... +if [ -d "/usr/X11R6" ]; then + export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/X11R6/include:/usr/X11R6/%{_lib}" + export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DDATA_INSTALL_DIR=%{tde_datadir}/apps \ + -DMIME_INSTALL_DIR=%{tde_datadir}/mimelnk \ + -DXDG_APPS_INSTALL_DIR=%{tde_tdeappdir} \ + -DDOC_INSTALL_DIR=%{tde_tdedocdir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DUSE_STRIGI=OFF \ + -DUSE_MENUDRAKE=OFF \ + -DBUILD_DOC=ON \ + -DBUILD_ALL=OFF \ + .. + +# Not SMP safe ! +%__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build VERBOSE=1 + + +%clean +%__rm -rf %{buildroot} + + +%post +/sbin/ldconfig +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +update-desktop-database %{tde_appdir} &> /dev/null + +%postun +/sbin/ldconfig +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +update-desktop-database %{tde_appdir} &> /dev/null + + +%files +%defattr(-,root,root,-) +%{tde_bindir}/kbfxconfigapp +%{tde_tdeincludedir}/kbfx/ +%{tde_libdir}/kbfx/plugins/libkbfxplasmadataplasmoid.la +%{tde_libdir}/kbfx/plugins/libkbfxplasmadataplasmoid.so +%{tde_libdir}/kbfx/plugins/libkbfxplasmadatasettings.la +%{tde_libdir}/kbfx/plugins/libkbfxplasmadatasettings.so +%{tde_libdir}/kbfx/plugins/libkbfxplasmadatastub.la +%{tde_libdir}/kbfx/plugins/libkbfxplasmadatastub.so +%{tde_libdir}/kbfx/plugins/libkbfxplasmarecentstuff.la +%{tde_libdir}/kbfx/plugins/libkbfxplasmarecentstuff.so +%{tde_libdir}/libkbfxcommon.la +%{tde_libdir}/libkbfxcommon.so +%{tde_libdir}/libkbfxdata.la +%{tde_libdir}/libkbfxdata.so +%{tde_tdelibdir}/kbfxspinx.la +%{tde_tdelibdir}/kbfxspinx.so +%{tde_tdeappdir}/kbfx_theme.desktop +%{tde_tdeappdir}/kbfxconfigapp.desktop +%{tde_datadir}/apps/kbfx/skins/*/* +%{tde_datadir}/apps/kbfxconfigapp/kbfxconfigappui.rc +%{tde_datadir}/apps/kicker/applets/kbfxspinx.desktop +%{tde_datadir}/apps/konqueror/servicemenus/kbfx_install_theme.desktop +%{tde_datadir}/apps/konqueror/servicemenus/kbfx_prepare_theme.desktop +#%{tde_tdedocdir}/HTML/en/common/kbfx-*.jpg +#%{tde_tdedocdir}/HTML/en/kbfxconfigapp/ +%{tde_tdedocdir}/kbfx/ +%{tde_datadir}/icons/hicolor/*/apps/kbfx.png +%{tde_datadir}/icons/hicolor/*/apps/kbfxconfigapp.png +#%{tde_datadir}/locale/*/LC_MESSAGES/kbfxconfigapp.mo +%{tde_datadir}/mimelnk/application/x-kbfxtheme.desktop + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 0.4.9.3.1-3 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.4.9.3.1-2 +- Initial build for TDE 3.5.13.1 + +* Sun Nov 20 2011 Francois Andriot - 0.4.9.3.1-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kbfx/kbfx-3.5.13.spec b/redhat/applications/kbfx/kbfx-3.5.13.spec new file mode 100644 index 000000000..7c8887c04 --- /dev/null +++ b/redhat/applications/kbfx/kbfx-3.5.13.spec @@ -0,0 +1,165 @@ +# Default version for this component +%define kdecomp kbfx + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: an alternative to K-Menu for KDE [Trinity] +Version: 0.4.9.3.1 +Release: 1%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +# [kbfx] Missing LDFLAGS cause FTBFS on Mageia 2 and Mandriva 2011 +Patch1: kbfx-3.5.13-missing_ldflags.patch +# [kbfx] Some files are installed in wrong directories ... +Patch2: kbfx-3.5.13-fix_install_directories.patch + + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils + +%description +KBFX is an alternative to the classical K-Menu button and its menu. +It improves the user experience by enabling him to set a bigger (and thus more +visible) start button and by finally replacing the Win95-like K-Menu. +If you still want the old menu, because you're used to it, it is still +available as an option in kbfx. We recommend, however, that you give the Spinx +bar a try. + +Homepage: http://www.kbfx.org + + +%prep +%setup -q -n applications/%{kdecomp} +%patch1 -p1 -b .ldflags +%patch2 -p1 -b .dir + +# Fix TDE executable path in 'CMakeLists.txt' ... +%__sed -i "CMakeLists.txt" \ + -e "s|/usr/bin/uic-tqt|%{tde_bindir}/uic-tqt|" \ + -e "s|/usr/bin/tmoc|%{tde_bindir}/tmoc|" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|" + +# Prevents hardcoded TDE directories ... +%__sed -i "cmakemodules/FindKdeLibs.cmake" \ + -e "s|^\(set(HTML_INSTALL_DIR.*\)|#\1|" \ + -e "s|^\(set(INCLUDE_INSTALL_DIR.*\)|#\1|" + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_tdeincludedir}:%{tde_includedir}/tqt" + +%if 0%{?rhel} || 0%{?fedora} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DDOC_INSTALL_DIR=%{tde_tdedocdir} \ + -DHTML_INSTALL_DIR=%{tde_tdedocdir}/HTML \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DUSE_STRIGI=OFF \ + -DUSE_MENUDRAKE=OFF \ + -DUSE_KDE4=OFF \ + .. + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build VERBOSE=1 + + +%clean +%__rm -rf %{buildroot} + + +%post +/sbin/ldconfig +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +update-desktop-database %{tde_appdir} &> /dev/null + +%postun +/sbin/ldconfig +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +update-desktop-database %{tde_appdir} &> /dev/null + + +%files +%defattr(-,root,root,-) +%{tde_bindir}/kbfxconfigapp +%{tde_tdeincludedir}/kbfx/ +%{tde_libdir}/kbfx/plugins/libkbfxplasmadataplasmoid.la +%{tde_libdir}/kbfx/plugins/libkbfxplasmadataplasmoid.so +%{tde_libdir}/kbfx/plugins/libkbfxplasmadatasettings.la +%{tde_libdir}/kbfx/plugins/libkbfxplasmadatasettings.so +%{tde_libdir}/kbfx/plugins/libkbfxplasmadatastub.la +%{tde_libdir}/kbfx/plugins/libkbfxplasmadatastub.so +%{tde_libdir}/kbfx/plugins/libkbfxplasmarecentstuff.la +%{tde_libdir}/kbfx/plugins/libkbfxplasmarecentstuff.so +%{tde_libdir}/libkbfxcommon.la +%{tde_libdir}/libkbfxcommon.so +%{tde_libdir}/libkbfxdata.la +%{tde_libdir}/libkbfxdata.so +%{tde_tdelibdir}/libkbfxspinx.la +%{tde_tdelibdir}/libkbfxspinx.so +%{tde_tdeappdir}/kbfx_theme.desktop +%{tde_tdeappdir}/kbfxconfigapp.desktop +%{tde_datadir}/apps/kbfx/skins/*/* +%{tde_datadir}/apps/kbfxconfigapp/kbfxconfigappui.rc +%{tde_datadir}/apps/kicker/applets/kbfxspinx.desktop +%{tde_datadir}/apps/konqueror/servicemenus/kbfx_install_theme.desktop +%{tde_datadir}/apps/konqueror/servicemenus/kbfx_prepare_theme.desktop +%{tde_tdedocdir}/HTML/en/common/kbfx-*.jpg +%{tde_tdedocdir}/HTML/en/kbfxconfigapp/index.cache.bz2 +%{tde_tdedocdir}/HTML/en/kbfxconfigapp/index.docbook +%{tde_tdedocdir}/kbfx/ +%{tde_datadir}/icons/hicolor/*/apps/kbfx.png +%{tde_datadir}/icons/hicolor/*/apps/kbfxconfigapp.png +%{tde_datadir}/locale/*/LC_MESSAGES/kbfxconfigapp.mo +%{tde_datadir}/mimelnk/application/x-kbfxtheme.desktop + + +%Changelog +* Sun Nov 20 2011 Francois Andriot - 0.4.9.3.1-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kbfx/trinity-kbfx-3.5.13.1.spec b/redhat/applications/kbfx/trinity-kbfx-3.5.13.1.spec deleted file mode 100644 index 78b6bd502..000000000 --- a/redhat/applications/kbfx/trinity-kbfx-3.5.13.1.spec +++ /dev/null @@ -1,169 +0,0 @@ -# Default version for this component -%define kdecomp kbfx - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: an alternative to K-Menu for KDE [Trinity] -Version: 0.4.9.3.1 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -# [kbfx] Some files are installed in wrong directories ... -Patch2: kbfx-3.5.13.1-fix_install_directories.patch - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - -%description -KBFX is an alternative to the classical K-Menu button and its menu. -It improves the user experience by enabling him to set a bigger (and thus more -visible) start button and by finally replacing the Win95-like K-Menu. -If you still want the old menu, because you're used to it, it is still -available as an option in kbfx. We recommend, however, that you give the Spinx -bar a try. - -Homepage: http://www.kbfx.org - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 -%patch2 -p1 -b .dir - -# Fix TDE executable path in 'CMakeLists.txt' ... -%__sed -i "CMakeLists.txt" \ - -e "s|/usr/bin/uic-tqt|%{tde_bindir}/uic-tqt|" \ - -e "s|/usr/bin/tmoc|%{tde_bindir}/tmoc|" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|" - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_tdeincludedir}:%{tde_includedir}/tqt" - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DDATA_INSTALL_DIR=%{tde_datadir}/apps \ - -DMIME_INSTALL_DIR=%{tde_datadir}/mimelnk \ - -DXDG_APPS_INSTALL_DIR=%{tde_tdeappdir} \ - -DDOC_INSTALL_DIR=%{tde_tdedocdir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DUSE_STRIGI=OFF \ - -DUSE_MENUDRAKE=OFF \ - -DBUILD_DOC=ON \ - -DBUILD_ALL=OFF \ - .. - -# Not SMP safe ! -%__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build VERBOSE=1 - - -%clean -%__rm -rf %{buildroot} - - -%post -/sbin/ldconfig -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -/sbin/ldconfig -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/kbfxconfigapp -%{tde_tdeincludedir}/kbfx/ -%{tde_libdir}/kbfx/plugins/libkbfxplasmadataplasmoid.la -%{tde_libdir}/kbfx/plugins/libkbfxplasmadataplasmoid.so -%{tde_libdir}/kbfx/plugins/libkbfxplasmadatasettings.la -%{tde_libdir}/kbfx/plugins/libkbfxplasmadatasettings.so -%{tde_libdir}/kbfx/plugins/libkbfxplasmadatastub.la -%{tde_libdir}/kbfx/plugins/libkbfxplasmadatastub.so -%{tde_libdir}/kbfx/plugins/libkbfxplasmarecentstuff.la -%{tde_libdir}/kbfx/plugins/libkbfxplasmarecentstuff.so -%{tde_libdir}/libkbfxcommon.la -%{tde_libdir}/libkbfxcommon.so -%{tde_libdir}/libkbfxdata.la -%{tde_libdir}/libkbfxdata.so -%{tde_tdelibdir}/kbfxspinx.la -%{tde_tdelibdir}/kbfxspinx.so -%{tde_tdeappdir}/kbfx_theme.desktop -%{tde_tdeappdir}/kbfxconfigapp.desktop -%{tde_datadir}/apps/kbfx/skins/*/* -%{tde_datadir}/apps/kbfxconfigapp/kbfxconfigappui.rc -%{tde_datadir}/apps/kicker/applets/kbfxspinx.desktop -%{tde_datadir}/apps/konqueror/servicemenus/kbfx_install_theme.desktop -%{tde_datadir}/apps/konqueror/servicemenus/kbfx_prepare_theme.desktop -#%{tde_tdedocdir}/HTML/en/common/kbfx-*.jpg -#%{tde_tdedocdir}/HTML/en/kbfxconfigapp/ -%{tde_tdedocdir}/kbfx/ -%{tde_datadir}/icons/hicolor/*/apps/kbfx.png -%{tde_datadir}/icons/hicolor/*/apps/kbfxconfigapp.png -#%{tde_datadir}/locale/*/LC_MESSAGES/kbfxconfigapp.mo -%{tde_datadir}/mimelnk/application/x-kbfxtheme.desktop - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.4.9.3.1-2 -- Initial build for TDE 3.5.13.1 - -* Sun Nov 20 2011 Francois Andriot - 0.4.9.3.1-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kbfx/trinity-kbfx-3.5.13.2.spec b/redhat/applications/kbfx/trinity-kbfx-3.5.13.2.spec deleted file mode 100644 index 151e1a240..000000000 --- a/redhat/applications/kbfx/trinity-kbfx-3.5.13.2.spec +++ /dev/null @@ -1,175 +0,0 @@ -# Default version for this component -%define kdecomp kbfx - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: an alternative to K-Menu for KDE [Trinity] -Version: 0.4.9.3.1 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils - -%description -KBFX is an alternative to the classical K-Menu button and its menu. -It improves the user experience by enabling him to set a bigger (and thus more -visible) start button and by finally replacing the Win95-like K-Menu. -If you still want the old menu, because you're used to it, it is still -available as an option in kbfx. We recommend, however, that you give the Spinx -bar a try. - -Homepage: http://www.kbfx.org - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Fix TDE executable path in 'CMakeLists.txt' ... -%__sed -i "CMakeLists.txt" \ - -e "s|/usr/bin/uic-tqt|%{tde_bindir}/uic-tqt|" \ - -e "s|/usr/bin/tmoc|%{tde_bindir}/tmoc|" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|" - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_tdeincludedir}:%{tde_includedir}/tqt" - -# Shitty hack for RHEL4 ... -if [ -d "/usr/X11R6" ]; then - export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/X11R6/include:/usr/X11R6/%{_lib}" - export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DDATA_INSTALL_DIR=%{tde_datadir}/apps \ - -DMIME_INSTALL_DIR=%{tde_datadir}/mimelnk \ - -DXDG_APPS_INSTALL_DIR=%{tde_tdeappdir} \ - -DDOC_INSTALL_DIR=%{tde_tdedocdir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DUSE_STRIGI=OFF \ - -DUSE_MENUDRAKE=OFF \ - -DBUILD_DOC=ON \ - -DBUILD_ALL=OFF \ - .. - -# Not SMP safe ! -%__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build VERBOSE=1 - - -%clean -%__rm -rf %{buildroot} - - -%post -/sbin/ldconfig -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -/sbin/ldconfig -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/kbfxconfigapp -%{tde_tdeincludedir}/kbfx/ -%{tde_libdir}/kbfx/plugins/libkbfxplasmadataplasmoid.la -%{tde_libdir}/kbfx/plugins/libkbfxplasmadataplasmoid.so -%{tde_libdir}/kbfx/plugins/libkbfxplasmadatasettings.la -%{tde_libdir}/kbfx/plugins/libkbfxplasmadatasettings.so -%{tde_libdir}/kbfx/plugins/libkbfxplasmadatastub.la -%{tde_libdir}/kbfx/plugins/libkbfxplasmadatastub.so -%{tde_libdir}/kbfx/plugins/libkbfxplasmarecentstuff.la -%{tde_libdir}/kbfx/plugins/libkbfxplasmarecentstuff.so -%{tde_libdir}/libkbfxcommon.la -%{tde_libdir}/libkbfxcommon.so -%{tde_libdir}/libkbfxdata.la -%{tde_libdir}/libkbfxdata.so -%{tde_tdelibdir}/kbfxspinx.la -%{tde_tdelibdir}/kbfxspinx.so -%{tde_tdeappdir}/kbfx_theme.desktop -%{tde_tdeappdir}/kbfxconfigapp.desktop -%{tde_datadir}/apps/kbfx/skins/*/* -%{tde_datadir}/apps/kbfxconfigapp/kbfxconfigappui.rc -%{tde_datadir}/apps/kicker/applets/kbfxspinx.desktop -%{tde_datadir}/apps/konqueror/servicemenus/kbfx_install_theme.desktop -%{tde_datadir}/apps/konqueror/servicemenus/kbfx_prepare_theme.desktop -#%{tde_tdedocdir}/HTML/en/common/kbfx-*.jpg -#%{tde_tdedocdir}/HTML/en/kbfxconfigapp/ -%{tde_tdedocdir}/kbfx/ -%{tde_datadir}/icons/hicolor/*/apps/kbfx.png -%{tde_datadir}/icons/hicolor/*/apps/kbfxconfigapp.png -#%{tde_datadir}/locale/*/LC_MESSAGES/kbfxconfigapp.mo -%{tde_datadir}/mimelnk/application/x-kbfxtheme.desktop - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 0.4.9.3.1-3 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.4.9.3.1-2 -- Initial build for TDE 3.5.13.1 - -* Sun Nov 20 2011 Francois Andriot - 0.4.9.3.1-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kbfx/trinity-kbfx-3.5.13.spec b/redhat/applications/kbfx/trinity-kbfx-3.5.13.spec deleted file mode 100644 index 7c8887c04..000000000 --- a/redhat/applications/kbfx/trinity-kbfx-3.5.13.spec +++ /dev/null @@ -1,165 +0,0 @@ -# Default version for this component -%define kdecomp kbfx - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: an alternative to K-Menu for KDE [Trinity] -Version: 0.4.9.3.1 -Release: 1%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# [kbfx] Missing LDFLAGS cause FTBFS on Mageia 2 and Mandriva 2011 -Patch1: kbfx-3.5.13-missing_ldflags.patch -# [kbfx] Some files are installed in wrong directories ... -Patch2: kbfx-3.5.13-fix_install_directories.patch - - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils - -%description -KBFX is an alternative to the classical K-Menu button and its menu. -It improves the user experience by enabling him to set a bigger (and thus more -visible) start button and by finally replacing the Win95-like K-Menu. -If you still want the old menu, because you're used to it, it is still -available as an option in kbfx. We recommend, however, that you give the Spinx -bar a try. - -Homepage: http://www.kbfx.org - - -%prep -%setup -q -n applications/%{kdecomp} -%patch1 -p1 -b .ldflags -%patch2 -p1 -b .dir - -# Fix TDE executable path in 'CMakeLists.txt' ... -%__sed -i "CMakeLists.txt" \ - -e "s|/usr/bin/uic-tqt|%{tde_bindir}/uic-tqt|" \ - -e "s|/usr/bin/tmoc|%{tde_bindir}/tmoc|" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|" - -# Prevents hardcoded TDE directories ... -%__sed -i "cmakemodules/FindKdeLibs.cmake" \ - -e "s|^\(set(HTML_INSTALL_DIR.*\)|#\1|" \ - -e "s|^\(set(INCLUDE_INSTALL_DIR.*\)|#\1|" - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_tdeincludedir}:%{tde_includedir}/tqt" - -%if 0%{?rhel} || 0%{?fedora} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DDOC_INSTALL_DIR=%{tde_tdedocdir} \ - -DHTML_INSTALL_DIR=%{tde_tdedocdir}/HTML \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DUSE_STRIGI=OFF \ - -DUSE_MENUDRAKE=OFF \ - -DUSE_KDE4=OFF \ - .. - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build VERBOSE=1 - - -%clean -%__rm -rf %{buildroot} - - -%post -/sbin/ldconfig -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -/sbin/ldconfig -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/kbfxconfigapp -%{tde_tdeincludedir}/kbfx/ -%{tde_libdir}/kbfx/plugins/libkbfxplasmadataplasmoid.la -%{tde_libdir}/kbfx/plugins/libkbfxplasmadataplasmoid.so -%{tde_libdir}/kbfx/plugins/libkbfxplasmadatasettings.la -%{tde_libdir}/kbfx/plugins/libkbfxplasmadatasettings.so -%{tde_libdir}/kbfx/plugins/libkbfxplasmadatastub.la -%{tde_libdir}/kbfx/plugins/libkbfxplasmadatastub.so -%{tde_libdir}/kbfx/plugins/libkbfxplasmarecentstuff.la -%{tde_libdir}/kbfx/plugins/libkbfxplasmarecentstuff.so -%{tde_libdir}/libkbfxcommon.la -%{tde_libdir}/libkbfxcommon.so -%{tde_libdir}/libkbfxdata.la -%{tde_libdir}/libkbfxdata.so -%{tde_tdelibdir}/libkbfxspinx.la -%{tde_tdelibdir}/libkbfxspinx.so -%{tde_tdeappdir}/kbfx_theme.desktop -%{tde_tdeappdir}/kbfxconfigapp.desktop -%{tde_datadir}/apps/kbfx/skins/*/* -%{tde_datadir}/apps/kbfxconfigapp/kbfxconfigappui.rc -%{tde_datadir}/apps/kicker/applets/kbfxspinx.desktop -%{tde_datadir}/apps/konqueror/servicemenus/kbfx_install_theme.desktop -%{tde_datadir}/apps/konqueror/servicemenus/kbfx_prepare_theme.desktop -%{tde_tdedocdir}/HTML/en/common/kbfx-*.jpg -%{tde_tdedocdir}/HTML/en/kbfxconfigapp/index.cache.bz2 -%{tde_tdedocdir}/HTML/en/kbfxconfigapp/index.docbook -%{tde_tdedocdir}/kbfx/ -%{tde_datadir}/icons/hicolor/*/apps/kbfx.png -%{tde_datadir}/icons/hicolor/*/apps/kbfxconfigapp.png -%{tde_datadir}/locale/*/LC_MESSAGES/kbfxconfigapp.mo -%{tde_datadir}/mimelnk/application/x-kbfxtheme.desktop - - -%Changelog -* Sun Nov 20 2011 Francois Andriot - 0.4.9.3.1-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kbookreader/kbookreader-3.5.13.1.spec b/redhat/applications/kbookreader/kbookreader-3.5.13.1.spec new file mode 100644 index 000000000..725bd59f6 --- /dev/null +++ b/redhat/applications/kbookreader/kbookreader-3.5.13.1.spec @@ -0,0 +1,156 @@ +# Default version for this component +%define kdecomp kbookreader + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: eBook reader for Trinity. +Version: 0.2.0 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-arts-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils + + +%description +kbookreader is an application which allows you to view eBooks +within the Trinity Desktop Environment. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f admin/Makefile.common + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + + +## File lists +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi +done +fi + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/bookreader +%{tde_bindir}/bookreader_client +%{tde_datadir}/applnk/Utilities/bookreader.desktop +%{tde_datadir}/apps/bookreader/ +%{tde_datadir}/config.kcfg/bookreader.kcfg +%{tde_tdedocdir}/HTML/en/bookreader/ +%{tde_datadir}/icons/hicolor/*/apps/bookreader.png + + + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.2.0-3 +- Initial build for TDE 3.5.13.1 + +* Tue May 01 2012 Francois Andriot - 0.2.0-2 +- Rebuilt for Fedora 17 +- Fix post and postun +- Fix HTML directory location + +* Sun Oct 30 2011 Francois Andriot - 0.2.0-1 +- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/applications/kbookreader/kbookreader-3.5.13.2.spec b/redhat/applications/kbookreader/kbookreader-3.5.13.2.spec new file mode 100644 index 000000000..ab4368d07 --- /dev/null +++ b/redhat/applications/kbookreader/kbookreader-3.5.13.2.spec @@ -0,0 +1,159 @@ +# Default version for this component +%define kdecomp kbookreader + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: eBook reader for Trinity. +Version: 0.2.0 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-arts-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils + + +%description +kbookreader is an application which allows you to view eBooks +within the Trinity Desktop Environment. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f admin/Makefile.common + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + + +## File lists +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi +done +fi + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/bookreader +%{tde_bindir}/bookreader_client +%{tde_datadir}/applnk/Utilities/bookreader.desktop +%{tde_datadir}/apps/bookreader/ +%{tde_datadir}/config.kcfg/bookreader.kcfg +%{tde_tdedocdir}/HTML/en/bookreader/ +%{tde_datadir}/icons/hicolor/*/apps/bookreader.png + + + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 0.2.0-4 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.2.0-3 +- Initial build for TDE 3.5.13.1 + +* Tue May 01 2012 Francois Andriot - 0.2.0-2 +- Rebuilt for Fedora 17 +- Fix post and postun +- Fix HTML directory location + +* Sun Oct 30 2011 Francois Andriot - 0.2.0-1 +- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/applications/kbookreader/kbookreader-3.5.13.spec b/redhat/applications/kbookreader/kbookreader-3.5.13.spec new file mode 100644 index 000000000..5f4263f6f --- /dev/null +++ b/redhat/applications/kbookreader/kbookreader-3.5.13.spec @@ -0,0 +1,147 @@ +# Default version for this component +%define kdecomp kbookreader + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: eBook reader for Trinity. +Version: 0.2.0 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-arts-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils + + +%description +kbookreader is an application which allows you to view eBooks +within the Trinity Desktop Environment. + + +%prep +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f admin/Makefile.common + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + + +## File lists +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi +done +fi + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/bookreader +%{tde_bindir}/bookreader_client +%{tde_datadir}/applnk/Utilities/bookreader.desktop +%{tde_datadir}/apps/bookreader/ +%{tde_datadir}/config.kcfg/bookreader.kcfg +%{tde_tdedocdir}/HTML/en/bookreader/ +%{tde_datadir}/icons/hicolor/*/apps/bookreader.png + + + + +%Changelog +* Tue May 01 2012 Francois Andriot - 0.2.0-2 +- Rebuilt for Fedora 17 +- Fix post and postun +- Fix HTML directory location + +* Sun Oct 30 2011 Francois Andriot - 0.2.0-1 +- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/applications/kbookreader/trinity-kbookreader-3.5.13.1.spec b/redhat/applications/kbookreader/trinity-kbookreader-3.5.13.1.spec deleted file mode 100644 index 725bd59f6..000000000 --- a/redhat/applications/kbookreader/trinity-kbookreader-3.5.13.1.spec +++ /dev/null @@ -1,156 +0,0 @@ -# Default version for this component -%define kdecomp kbookreader - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: eBook reader for Trinity. -Version: 0.2.0 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-arts-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - - -%description -kbookreader is an application which allows you to view eBooks -within the Trinity Desktop Environment. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f admin/Makefile.common - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/bookreader -%{tde_bindir}/bookreader_client -%{tde_datadir}/applnk/Utilities/bookreader.desktop -%{tde_datadir}/apps/bookreader/ -%{tde_datadir}/config.kcfg/bookreader.kcfg -%{tde_tdedocdir}/HTML/en/bookreader/ -%{tde_datadir}/icons/hicolor/*/apps/bookreader.png - - - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.2.0-3 -- Initial build for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 0.2.0-2 -- Rebuilt for Fedora 17 -- Fix post and postun -- Fix HTML directory location - -* Sun Oct 30 2011 Francois Andriot - 0.2.0-1 -- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/applications/kbookreader/trinity-kbookreader-3.5.13.2.spec b/redhat/applications/kbookreader/trinity-kbookreader-3.5.13.2.spec deleted file mode 100644 index ab4368d07..000000000 --- a/redhat/applications/kbookreader/trinity-kbookreader-3.5.13.2.spec +++ /dev/null @@ -1,159 +0,0 @@ -# Default version for this component -%define kdecomp kbookreader - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: eBook reader for Trinity. -Version: 0.2.0 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-arts-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils - - -%description -kbookreader is an application which allows you to view eBooks -within the Trinity Desktop Environment. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f admin/Makefile.common - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/bookreader -%{tde_bindir}/bookreader_client -%{tde_datadir}/applnk/Utilities/bookreader.desktop -%{tde_datadir}/apps/bookreader/ -%{tde_datadir}/config.kcfg/bookreader.kcfg -%{tde_tdedocdir}/HTML/en/bookreader/ -%{tde_datadir}/icons/hicolor/*/apps/bookreader.png - - - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 0.2.0-4 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.2.0-3 -- Initial build for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 0.2.0-2 -- Rebuilt for Fedora 17 -- Fix post and postun -- Fix HTML directory location - -* Sun Oct 30 2011 Francois Andriot - 0.2.0-1 -- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/applications/kbookreader/trinity-kbookreader-3.5.13.spec b/redhat/applications/kbookreader/trinity-kbookreader-3.5.13.spec deleted file mode 100644 index 5f4263f6f..000000000 --- a/redhat/applications/kbookreader/trinity-kbookreader-3.5.13.spec +++ /dev/null @@ -1,147 +0,0 @@ -# Default version for this component -%define kdecomp kbookreader - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: eBook reader for Trinity. -Version: 0.2.0 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-arts-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils - - -%description -kbookreader is an application which allows you to view eBooks -within the Trinity Desktop Environment. - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f admin/Makefile.common - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/bookreader -%{tde_bindir}/bookreader_client -%{tde_datadir}/applnk/Utilities/bookreader.desktop -%{tde_datadir}/apps/bookreader/ -%{tde_datadir}/config.kcfg/bookreader.kcfg -%{tde_tdedocdir}/HTML/en/bookreader/ -%{tde_datadir}/icons/hicolor/*/apps/bookreader.png - - - - -%Changelog -* Tue May 01 2012 Francois Andriot - 0.2.0-2 -- Rebuilt for Fedora 17 -- Fix post and postun -- Fix HTML directory location - -* Sun Oct 30 2011 Francois Andriot - 0.2.0-1 -- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/applications/kchmviewer/kchmviewer-3.5.13.1.spec b/redhat/applications/kchmviewer/kchmviewer-3.5.13.1.spec new file mode 100644 index 000000000..a940e3c07 --- /dev/null +++ b/redhat/applications/kchmviewer/kchmviewer-3.5.13.1.spec @@ -0,0 +1,158 @@ +# Default version for this component +%define kdecomp kchmviewer + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: CHM viewer for Trinity +Version: 3.1.2 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +# [kchmviewer] Missing LDFLAGS cause FTBFS on Mageia 2 / Mandriva 2011 +Patch0: kchmviewer-3.5.13-missing_ldflags.patch + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils + +%description +KchmViewer is a chm (MS HTML help file format) viewer, written in C++. +Unlike most existing CHM viewers for Unix, it uses Trolltech Qt widget +library, and does not depend on KDE or GNOME. However, it may be compiled +with full Trinity support, including Trinity widgets and KIO/KHTML. + +The main advantage of KchmViewer is non-English language support. Unlike +others, KchmViewer in most cases correctly detects help file encoding, +correctly shows tables of context of Russian, Korean, Chinese and Japanese +help files, and correctly searches in non-English help files (search for +MBCS languages - ja/ko/ch is still in progress). + +Completely safe and harmless. Does not support JavaScript in any way, +optionally warns you before opening an external web page, or switching to +another help file. Shows an appropriate image for every TOC entry. + +KchmViewer Has complete chm index support, including multiple index entries, +cross-links and parent/child entries in index as well as Persistent bookmarks +support. Correctly detects and shows encoding of any valid chm file. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 +%patch0 -p1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-x \ + --with-kde \ + --with-extra-includes=%{_includedir}/tqt \ + --enable-closure + + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +# Removes useless files +%__rm -f %{?buildroot}%{tde_libdir}/*.a + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/crystalsvg || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : + +%postun +touch --no-create %{tde_datadir}/icons/crystalsvg || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc ChangeLog COPYING FAQ README +%{tde_bindir}/kchmviewer +%{tde_tdelibdir}/kio_msits.la +%{tde_tdelibdir}/kio_msits.so +%{tde_datadir}/applnk/kchmviewer.desktop +%{tde_datadir}/icons/crystalsvg/*/apps/kchmviewer.png +%{tde_datadir}/services/msits.protocol + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 3.1.2-3 +- Initial build for TDE 3.5.13.1 + +* Tue May 01 2012 Francois Andriot - 3.1.2-2 +- Rebuilt for Fedora 17 +- Fix post and postun +- Fix HTML directory location + +* Sat Nov 19 2011 Francois Andriot - 3.1.2-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kchmviewer/kchmviewer-3.5.13.2.spec b/redhat/applications/kchmviewer/kchmviewer-3.5.13.2.spec new file mode 100644 index 000000000..df86ff206 --- /dev/null +++ b/redhat/applications/kchmviewer/kchmviewer-3.5.13.2.spec @@ -0,0 +1,162 @@ +# Default version for this component +%define kdecomp kchmviewer + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: CHM viewer for Trinity +Version: 3.1.2 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils + +%description +KchmViewer is a chm (MS HTML help file format) viewer, written in C++. +Unlike most existing CHM viewers for Unix, it uses Trolltech Qt widget +library, and does not depend on KDE or GNOME. However, it may be compiled +with full Trinity support, including Trinity widgets and KIO/KHTML. + +The main advantage of KchmViewer is non-English language support. Unlike +others, KchmViewer in most cases correctly detects help file encoding, +correctly shows tables of context of Russian, Korean, Chinese and Japanese +help files, and correctly searches in non-English help files (search for +MBCS languages - ja/ko/ch is still in progress). + +Completely safe and harmless. Does not support JavaScript in any way, +optionally warns you before opening an external web page, or switching to +another help file. Shows an appropriate image for every TOC entry. + +KchmViewer Has complete chm index support, including multiple index entries, +cross-links and parent/child entries in index as well as Persistent bookmarks +support. Correctly detects and shows encoding of any valid chm file. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{_includedir}" + +# Specific path for RHEL4 +if [ -d /usr/X11R6 ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-x \ + --with-kde \ + --with-extra-includes=%{_includedir}/tqt \ + --enable-closure + + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +# Removes useless files +%__rm -f %{?buildroot}%{tde_libdir}/*.a + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/crystalsvg || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : + +%postun +touch --no-create %{tde_datadir}/icons/crystalsvg || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc ChangeLog COPYING FAQ README +%{tde_bindir}/kchmviewer +%{tde_tdelibdir}/kio_msits.la +%{tde_tdelibdir}/kio_msits.so +%{tde_datadir}/applnk/kchmviewer.desktop +%{tde_datadir}/icons/crystalsvg/*/apps/kchmviewer.png +%{tde_datadir}/services/msits.protocol + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 3.1.2-4 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 3.1.2-3 +- Initial build for TDE 3.5.13.1 + +* Tue May 01 2012 Francois Andriot - 3.1.2-2 +- Rebuilt for Fedora 17 +- Fix post and postun +- Fix HTML directory location + +* Sat Nov 19 2011 Francois Andriot - 3.1.2-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kchmviewer/kchmviewer-3.5.13.spec b/redhat/applications/kchmviewer/kchmviewer-3.5.13.spec new file mode 100644 index 000000000..c3fb589ab --- /dev/null +++ b/redhat/applications/kchmviewer/kchmviewer-3.5.13.spec @@ -0,0 +1,149 @@ +# Default version for this component +%define kdecomp kchmviewer + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: CHM viewer for Trinity +Version: 3.1.2 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +# [kchmviewer] Missing LDFLAGS cause FTBFS on Mageia 2 / Mandriva 2011 +Patch0: kchmviewer-3.5.13-missing_ldflags.patch + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: trinity-kdebase-devel +BuildRequires: desktop-file-utils + +%description +KchmViewer is a chm (MS HTML help file format) viewer, written in C++. +Unlike most existing CHM viewers for Unix, it uses Trolltech Qt widget +library, and does not depend on KDE or GNOME. However, it may be compiled +with full Trinity support, including Trinity widgets and KIO/KHTML. + +The main advantage of KchmViewer is non-English language support. Unlike +others, KchmViewer in most cases correctly detects help file encoding, +correctly shows tables of context of Russian, Korean, Chinese and Japanese +help files, and correctly searches in non-English help files (search for +MBCS languages - ja/ko/ch is still in progress). + +Completely safe and harmless. Does not support JavaScript in any way, +optionally warns you before opening an external web page, or switching to +another help file. Shows an appropriate image for every TOC entry. + +KchmViewer Has complete chm index support, including multiple index entries, +cross-links and parent/child entries in index as well as Persistent bookmarks +support. Correctly detects and shows encoding of any valid chm file. + + +%prep +%setup -q -n applications/%{kdecomp} +%patch0 -p1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --disable-rpath \ + --with-x \ + --with-kde \ + --with-extra-includes=%{_includedir}/tqt \ + --enable-closure + + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +# Removes useless files +%__rm -f %{?buildroot}%{tde_libdir}/*.a + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/crystalsvg || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : + +%postun +touch --no-create %{tde_datadir}/icons/crystalsvg || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc ChangeLog COPYING FAQ README +%{tde_bindir}/kchmviewer +%{tde_tdelibdir}/kio_msits.la +%{tde_tdelibdir}/kio_msits.so +%{tde_datadir}/applnk/kchmviewer.desktop +%{tde_datadir}/icons/crystalsvg/*/apps/kchmviewer.png +%{tde_datadir}/services/msits.protocol + + +%Changelog +* Tue May 01 2012 Francois Andriot - 3.1.2-2 +- Rebuilt for Fedora 17 +- Fix post and postun +- Fix HTML directory location + +* Sat Nov 19 2011 Francois Andriot - 3.1.2-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kchmviewer/trinity-kchmviewer-3.5.13.1.spec b/redhat/applications/kchmviewer/trinity-kchmviewer-3.5.13.1.spec deleted file mode 100644 index a940e3c07..000000000 --- a/redhat/applications/kchmviewer/trinity-kchmviewer-3.5.13.1.spec +++ /dev/null @@ -1,158 +0,0 @@ -# Default version for this component -%define kdecomp kchmviewer - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: CHM viewer for Trinity -Version: 3.1.2 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -# [kchmviewer] Missing LDFLAGS cause FTBFS on Mageia 2 / Mandriva 2011 -Patch0: kchmviewer-3.5.13-missing_ldflags.patch - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - -%description -KchmViewer is a chm (MS HTML help file format) viewer, written in C++. -Unlike most existing CHM viewers for Unix, it uses Trolltech Qt widget -library, and does not depend on KDE or GNOME. However, it may be compiled -with full Trinity support, including Trinity widgets and KIO/KHTML. - -The main advantage of KchmViewer is non-English language support. Unlike -others, KchmViewer in most cases correctly detects help file encoding, -correctly shows tables of context of Russian, Korean, Chinese and Japanese -help files, and correctly searches in non-English help files (search for -MBCS languages - ja/ko/ch is still in progress). - -Completely safe and harmless. Does not support JavaScript in any way, -optionally warns you before opening an external web page, or switching to -another help file. Shows an appropriate image for every TOC entry. - -KchmViewer Has complete chm index support, including multiple index entries, -cross-links and parent/child entries in index as well as Persistent bookmarks -support. Correctly detects and shows encoding of any valid chm file. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 -%patch0 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-x \ - --with-kde \ - --with-extra-includes=%{_includedir}/tqt \ - --enable-closure - - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -# Removes useless files -%__rm -f %{?buildroot}%{tde_libdir}/*.a - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : - -%postun -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc ChangeLog COPYING FAQ README -%{tde_bindir}/kchmviewer -%{tde_tdelibdir}/kio_msits.la -%{tde_tdelibdir}/kio_msits.so -%{tde_datadir}/applnk/kchmviewer.desktop -%{tde_datadir}/icons/crystalsvg/*/apps/kchmviewer.png -%{tde_datadir}/services/msits.protocol - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 3.1.2-3 -- Initial build for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 3.1.2-2 -- Rebuilt for Fedora 17 -- Fix post and postun -- Fix HTML directory location - -* Sat Nov 19 2011 Francois Andriot - 3.1.2-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kchmviewer/trinity-kchmviewer-3.5.13.2.spec b/redhat/applications/kchmviewer/trinity-kchmviewer-3.5.13.2.spec deleted file mode 100644 index df86ff206..000000000 --- a/redhat/applications/kchmviewer/trinity-kchmviewer-3.5.13.2.spec +++ /dev/null @@ -1,162 +0,0 @@ -# Default version for this component -%define kdecomp kchmviewer - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: CHM viewer for Trinity -Version: 3.1.2 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils - -%description -KchmViewer is a chm (MS HTML help file format) viewer, written in C++. -Unlike most existing CHM viewers for Unix, it uses Trolltech Qt widget -library, and does not depend on KDE or GNOME. However, it may be compiled -with full Trinity support, including Trinity widgets and KIO/KHTML. - -The main advantage of KchmViewer is non-English language support. Unlike -others, KchmViewer in most cases correctly detects help file encoding, -correctly shows tables of context of Russian, Korean, Chinese and Japanese -help files, and correctly searches in non-English help files (search for -MBCS languages - ja/ko/ch is still in progress). - -Completely safe and harmless. Does not support JavaScript in any way, -optionally warns you before opening an external web page, or switching to -another help file. Shows an appropriate image for every TOC entry. - -KchmViewer Has complete chm index support, including multiple index entries, -cross-links and parent/child entries in index as well as Persistent bookmarks -support. Correctly detects and shows encoding of any valid chm file. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{_includedir}" - -# Specific path for RHEL4 -if [ -d /usr/X11R6 ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-x \ - --with-kde \ - --with-extra-includes=%{_includedir}/tqt \ - --enable-closure - - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -# Removes useless files -%__rm -f %{?buildroot}%{tde_libdir}/*.a - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : - -%postun -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc ChangeLog COPYING FAQ README -%{tde_bindir}/kchmviewer -%{tde_tdelibdir}/kio_msits.la -%{tde_tdelibdir}/kio_msits.so -%{tde_datadir}/applnk/kchmviewer.desktop -%{tde_datadir}/icons/crystalsvg/*/apps/kchmviewer.png -%{tde_datadir}/services/msits.protocol - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 3.1.2-4 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 3.1.2-3 -- Initial build for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 3.1.2-2 -- Rebuilt for Fedora 17 -- Fix post and postun -- Fix HTML directory location - -* Sat Nov 19 2011 Francois Andriot - 3.1.2-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kchmviewer/trinity-kchmviewer-3.5.13.spec b/redhat/applications/kchmviewer/trinity-kchmviewer-3.5.13.spec deleted file mode 100644 index c3fb589ab..000000000 --- a/redhat/applications/kchmviewer/trinity-kchmviewer-3.5.13.spec +++ /dev/null @@ -1,149 +0,0 @@ -# Default version for this component -%define kdecomp kchmviewer - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: CHM viewer for Trinity -Version: 3.1.2 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# [kchmviewer] Missing LDFLAGS cause FTBFS on Mageia 2 / Mandriva 2011 -Patch0: kchmviewer-3.5.13-missing_ldflags.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: trinity-kdebase-devel -BuildRequires: desktop-file-utils - -%description -KchmViewer is a chm (MS HTML help file format) viewer, written in C++. -Unlike most existing CHM viewers for Unix, it uses Trolltech Qt widget -library, and does not depend on KDE or GNOME. However, it may be compiled -with full Trinity support, including Trinity widgets and KIO/KHTML. - -The main advantage of KchmViewer is non-English language support. Unlike -others, KchmViewer in most cases correctly detects help file encoding, -correctly shows tables of context of Russian, Korean, Chinese and Japanese -help files, and correctly searches in non-English help files (search for -MBCS languages - ja/ko/ch is still in progress). - -Completely safe and harmless. Does not support JavaScript in any way, -optionally warns you before opening an external web page, or switching to -another help file. Shows an appropriate image for every TOC entry. - -KchmViewer Has complete chm index support, including multiple index entries, -cross-links and parent/child entries in index as well as Persistent bookmarks -support. Correctly detects and shows encoding of any valid chm file. - - -%prep -%setup -q -n applications/%{kdecomp} -%patch0 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --disable-rpath \ - --with-x \ - --with-kde \ - --with-extra-includes=%{_includedir}/tqt \ - --enable-closure - - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -# Removes useless files -%__rm -f %{?buildroot}%{tde_libdir}/*.a - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : - -%postun -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc ChangeLog COPYING FAQ README -%{tde_bindir}/kchmviewer -%{tde_tdelibdir}/kio_msits.la -%{tde_tdelibdir}/kio_msits.so -%{tde_datadir}/applnk/kchmviewer.desktop -%{tde_datadir}/icons/crystalsvg/*/apps/kchmviewer.png -%{tde_datadir}/services/msits.protocol - - -%Changelog -* Tue May 01 2012 Francois Andriot - 3.1.2-2 -- Rebuilt for Fedora 17 -- Fix post and postun -- Fix HTML directory location - -* Sat Nov 19 2011 Francois Andriot - 3.1.2-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kcpuload/kcpuload-3.5.13.1.spec b/redhat/applications/kcpuload/kcpuload-3.5.13.1.spec new file mode 100644 index 000000000..39dfe5af2 --- /dev/null +++ b/redhat/applications/kcpuload/kcpuload-3.5.13.1.spec @@ -0,0 +1,139 @@ +# Default version for this component +%define kdecomp kcpuload + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: a CPU meter for Kicker [Trinity] +Version: 2.00 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +KCPULoad is a small program for Kicker (the TDE panel). It shows a +recent history of CPU usage in the form of one or two configurable +diagrams in the system tray. These diagrams have settings for colours +and various different styles. + +KCPULoad has support for SMP and separate user/system loads. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%post +for f in crystalsvg locolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + +%postun +for f in crystalsvg locolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + + +%files +%defattr(-,root,root,-) +%{tde_bindir}/kcpuload +%{tde_datadir}/applnk/System/kcpuload.desktop +%{tde_datadir}/apps/kcpuload/icons/*/*/*/*.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcpuload.png +%{tde_datadir}/icons/locolor/*/apps/kcpuload.png +%{tde_tdedocdir}/HTML/en/kcpuload/ + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 2.00-3 +- Initial build for TDE 3.5.13.1 + +* Tue May 01 2012 Francois Andriot - 2.00-2 +- Rebuilt for Fedora 17 +- Fix post and postun +- Fix HTML directory location + +* Sat Nov 19 2011 Francois Andriot - 2.00-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kcpuload/kcpuload-3.5.13.2.spec b/redhat/applications/kcpuload/kcpuload-3.5.13.2.spec new file mode 100644 index 000000000..848897372 --- /dev/null +++ b/redhat/applications/kcpuload/kcpuload-3.5.13.2.spec @@ -0,0 +1,142 @@ +# Default version for this component +%define kdecomp kcpuload + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: a CPU meter for Kicker [Trinity] +Version: 2.00 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +KCPULoad is a small program for Kicker (the TDE panel). It shows a +recent history of CPU usage in the form of one or two configurable +diagrams in the system tray. These diagrams have settings for colours +and various different styles. + +KCPULoad has support for SMP and separate user/system loads. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%post +for f in crystalsvg locolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + +%postun +for f in crystalsvg locolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + + +%files +%defattr(-,root,root,-) +%{tde_bindir}/kcpuload +%{tde_datadir}/applnk/System/kcpuload.desktop +%{tde_datadir}/apps/kcpuload/icons/*/*/*/*.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcpuload.png +%{tde_datadir}/icons/locolor/*/apps/kcpuload.png +%{tde_tdedocdir}/HTML/en/kcpuload/ + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 2.00-4 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 2.00-3 +- Initial build for TDE 3.5.13.1 + +* Tue May 01 2012 Francois Andriot - 2.00-2 +- Rebuilt for Fedora 17 +- Fix post and postun +- Fix HTML directory location + +* Sat Nov 19 2011 Francois Andriot - 2.00-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kcpuload/kcpuload-3.5.13.spec b/redhat/applications/kcpuload/kcpuload-3.5.13.spec new file mode 100644 index 000000000..e1fde24ab --- /dev/null +++ b/redhat/applications/kcpuload/kcpuload-3.5.13.spec @@ -0,0 +1,130 @@ +# Default version for this component +%define kdecomp kcpuload + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: a CPU meter for Kicker [Trinity] +Version: 2.00 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: trinity-kdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +KCPULoad is a small program for Kicker (the TDE panel). It shows a +recent history of CPU usage in the form of one or two configurable +diagrams in the system tray. These diagrams have settings for colours +and various different styles. + +KCPULoad has support for SMP and separate user/system loads. + + +%prep +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%post +for f in crystalsvg locolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + +%postun +for f in crystalsvg locolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + + +%files +%defattr(-,root,root,-) +%{tde_bindir}/kcpuload +%{tde_datadir}/applnk/System/kcpuload.desktop +%{tde_datadir}/apps/kcpuload/icons/*/*/*/*.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcpuload.png +%{tde_datadir}/icons/locolor/*/apps/kcpuload.png +%{tde_tdedocdir}/HTML/en/kcpuload/ + + +%Changelog +* Tue May 01 2012 Francois Andriot - 2.00-2 +- Rebuilt for Fedora 17 +- Fix post and postun +- Fix HTML directory location + +* Sat Nov 19 2011 Francois Andriot - 2.00-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kcpuload/trinity-kcpuload-3.5.13.1.spec b/redhat/applications/kcpuload/trinity-kcpuload-3.5.13.1.spec deleted file mode 100644 index 39dfe5af2..000000000 --- a/redhat/applications/kcpuload/trinity-kcpuload-3.5.13.1.spec +++ /dev/null @@ -1,139 +0,0 @@ -# Default version for this component -%define kdecomp kcpuload - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: a CPU meter for Kicker [Trinity] -Version: 2.00 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -KCPULoad is a small program for Kicker (the TDE panel). It shows a -recent history of CPU usage in the form of one or two configurable -diagrams in the system tray. These diagrams have settings for colours -and various different styles. - -KCPULoad has support for SMP and separate user/system loads. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%post -for f in crystalsvg locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -for f in crystalsvg locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/kcpuload -%{tde_datadir}/applnk/System/kcpuload.desktop -%{tde_datadir}/apps/kcpuload/icons/*/*/*/*.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcpuload.png -%{tde_datadir}/icons/locolor/*/apps/kcpuload.png -%{tde_tdedocdir}/HTML/en/kcpuload/ - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 2.00-3 -- Initial build for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 2.00-2 -- Rebuilt for Fedora 17 -- Fix post and postun -- Fix HTML directory location - -* Sat Nov 19 2011 Francois Andriot - 2.00-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kcpuload/trinity-kcpuload-3.5.13.2.spec b/redhat/applications/kcpuload/trinity-kcpuload-3.5.13.2.spec deleted file mode 100644 index 848897372..000000000 --- a/redhat/applications/kcpuload/trinity-kcpuload-3.5.13.2.spec +++ /dev/null @@ -1,142 +0,0 @@ -# Default version for this component -%define kdecomp kcpuload - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: a CPU meter for Kicker [Trinity] -Version: 2.00 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -KCPULoad is a small program for Kicker (the TDE panel). It shows a -recent history of CPU usage in the form of one or two configurable -diagrams in the system tray. These diagrams have settings for colours -and various different styles. - -KCPULoad has support for SMP and separate user/system loads. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%post -for f in crystalsvg locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -for f in crystalsvg locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/kcpuload -%{tde_datadir}/applnk/System/kcpuload.desktop -%{tde_datadir}/apps/kcpuload/icons/*/*/*/*.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcpuload.png -%{tde_datadir}/icons/locolor/*/apps/kcpuload.png -%{tde_tdedocdir}/HTML/en/kcpuload/ - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 2.00-4 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 2.00-3 -- Initial build for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 2.00-2 -- Rebuilt for Fedora 17 -- Fix post and postun -- Fix HTML directory location - -* Sat Nov 19 2011 Francois Andriot - 2.00-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kcpuload/trinity-kcpuload-3.5.13.spec b/redhat/applications/kcpuload/trinity-kcpuload-3.5.13.spec deleted file mode 100644 index e1fde24ab..000000000 --- a/redhat/applications/kcpuload/trinity-kcpuload-3.5.13.spec +++ /dev/null @@ -1,130 +0,0 @@ -# Default version for this component -%define kdecomp kcpuload - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: a CPU meter for Kicker [Trinity] -Version: 2.00 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: trinity-kdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -KCPULoad is a small program for Kicker (the TDE panel). It shows a -recent history of CPU usage in the form of one or two configurable -diagrams in the system tray. These diagrams have settings for colours -and various different styles. - -KCPULoad has support for SMP and separate user/system loads. - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%post -for f in crystalsvg locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -for f in crystalsvg locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/kcpuload -%{tde_datadir}/applnk/System/kcpuload.desktop -%{tde_datadir}/apps/kcpuload/icons/*/*/*/*.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcpuload.png -%{tde_datadir}/icons/locolor/*/apps/kcpuload.png -%{tde_tdedocdir}/HTML/en/kcpuload/ - - -%Changelog -* Tue May 01 2012 Francois Andriot - 2.00-2 -- Rebuilt for Fedora 17 -- Fix post and postun -- Fix HTML directory location - -* Sat Nov 19 2011 Francois Andriot - 2.00-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kdbusnotification/kdbusnotification-3.5.13.1.spec b/redhat/applications/kdbusnotification/kdbusnotification-3.5.13.1.spec new file mode 100644 index 000000000..784edb28d --- /dev/null +++ b/redhat/applications/kdbusnotification/kdbusnotification-3.5.13.1.spec @@ -0,0 +1,129 @@ +# Default version for this component +%define kdecomp kdbusnotification + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: a DBUS notification service [Trinity] + +Version: 0.1 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-arts-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gtk2-devel + +%if 0%{?suse_version} +BuildRequires: dbus-1-glib-devel +%else +BuildRequires: dbus-glib-devel +%endif + +%description +kdbusnotification is a small program for Trinity that displays +DBUS notifications via unobtrusive, easily dismissed passive popups. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + + +%clean +%__rm -rf %{buildroot} + + + +%files +%defattr(-,root,root,-) +%{tde_bindir}/notification-daemon-tde +%{tde_datadir}/autostart/kdbusnotification-autostart.desktop + + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.1-3 +- Initial build for TDE 3.5.13.1 + +* Tue May 01 2012 Francois Andriot - 0.1-2 +- Rebuilt for Fedora 17 +- Fix HTML directory location +- Removes post and postun + +* Sun Oct 30 2011 Francois Andriot - 0.1-1 +- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/applications/kdbusnotification/kdbusnotification-3.5.13.2.spec b/redhat/applications/kdbusnotification/kdbusnotification-3.5.13.2.spec new file mode 100644 index 000000000..5d5919651 --- /dev/null +++ b/redhat/applications/kdbusnotification/kdbusnotification-3.5.13.2.spec @@ -0,0 +1,132 @@ +# Default version for this component +%define kdecomp kdbusnotification + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: a DBUS notification service [Trinity] + +Version: 0.1 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-arts-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gtk2-devel + +%if 0%{?suse_version} +BuildRequires: dbus-1-glib-devel +%else +BuildRequires: dbus-glib-devel +%endif + +%description +kdbusnotification is a small program for Trinity that displays +DBUS notifications via unobtrusive, easily dismissed passive popups. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + + +%clean +%__rm -rf %{buildroot} + + + +%files +%defattr(-,root,root,-) +%{tde_bindir}/notification-daemon-tde +%{tde_datadir}/autostart/kdbusnotification-autostart.desktop + + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 0.1-4 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.1-3 +- Initial build for TDE 3.5.13.1 + +* Tue May 01 2012 Francois Andriot - 0.1-2 +- Rebuilt for Fedora 17 +- Fix HTML directory location +- Removes post and postun + +* Sun Oct 30 2011 Francois Andriot - 0.1-1 +- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/applications/kdbusnotification/kdbusnotification-3.5.13.spec b/redhat/applications/kdbusnotification/kdbusnotification-3.5.13.spec new file mode 100644 index 000000000..597505ee4 --- /dev/null +++ b/redhat/applications/kdbusnotification/kdbusnotification-3.5.13.spec @@ -0,0 +1,119 @@ +# Default version for this component +%define kdecomp kdbusnotification + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: a DBUS notification service [Trinity] + +Version: 0.1 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +# [kdbusnotification/src/daemon] Missing QT LDFLAGS +Patch1: kdbusnotification-3.5.13-missing_ldlflags.patch + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-arts-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: dbus-glib-devel +BuildRequires: gtk2-devel + +%description +kdbusnotification is a small program for Trinity that displays +DBUS notifications via unobtrusive, easily dismissed passive popups. + + +%prep +%setup -q -n applications/%{kdecomp} +%patch1 -p1 -b .ldflags + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + + +%clean +%__rm -rf %{buildroot} + + + +%files +%defattr(-,root,root,-) +%{tde_bindir}/notification-daemon-tde +%{tde_datadir}/autostart/kdbusnotification-autostart.desktop + + + +%Changelog +* Tue May 01 2012 Francois Andriot - 0.1-2 +- Rebuilt for Fedora 17 +- Fix HTML directory location +- Removes post and postun + +* Sun Oct 30 2011 Francois Andriot - 0.1-1 +- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/applications/kdbusnotification/trinity-kdbusnotification-3.5.13.1.spec b/redhat/applications/kdbusnotification/trinity-kdbusnotification-3.5.13.1.spec deleted file mode 100644 index 784edb28d..000000000 --- a/redhat/applications/kdbusnotification/trinity-kdbusnotification-3.5.13.1.spec +++ /dev/null @@ -1,129 +0,0 @@ -# Default version for this component -%define kdecomp kdbusnotification - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: a DBUS notification service [Trinity] - -Version: 0.1 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-arts-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gtk2-devel - -%if 0%{?suse_version} -BuildRequires: dbus-1-glib-devel -%else -BuildRequires: dbus-glib-devel -%endif - -%description -kdbusnotification is a small program for Trinity that displays -DBUS notifications via unobtrusive, easily dismissed passive popups. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - - -%clean -%__rm -rf %{buildroot} - - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/notification-daemon-tde -%{tde_datadir}/autostart/kdbusnotification-autostart.desktop - - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.1-3 -- Initial build for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 0.1-2 -- Rebuilt for Fedora 17 -- Fix HTML directory location -- Removes post and postun - -* Sun Oct 30 2011 Francois Andriot - 0.1-1 -- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/applications/kdbusnotification/trinity-kdbusnotification-3.5.13.2.spec b/redhat/applications/kdbusnotification/trinity-kdbusnotification-3.5.13.2.spec deleted file mode 100644 index 5d5919651..000000000 --- a/redhat/applications/kdbusnotification/trinity-kdbusnotification-3.5.13.2.spec +++ /dev/null @@ -1,132 +0,0 @@ -# Default version for this component -%define kdecomp kdbusnotification - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: a DBUS notification service [Trinity] - -Version: 0.1 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-arts-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gtk2-devel - -%if 0%{?suse_version} -BuildRequires: dbus-1-glib-devel -%else -BuildRequires: dbus-glib-devel -%endif - -%description -kdbusnotification is a small program for Trinity that displays -DBUS notifications via unobtrusive, easily dismissed passive popups. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - - -%clean -%__rm -rf %{buildroot} - - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/notification-daemon-tde -%{tde_datadir}/autostart/kdbusnotification-autostart.desktop - - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 0.1-4 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.1-3 -- Initial build for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 0.1-2 -- Rebuilt for Fedora 17 -- Fix HTML directory location -- Removes post and postun - -* Sun Oct 30 2011 Francois Andriot - 0.1-1 -- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/applications/kdbusnotification/trinity-kdbusnotification-3.5.13.spec b/redhat/applications/kdbusnotification/trinity-kdbusnotification-3.5.13.spec deleted file mode 100644 index 597505ee4..000000000 --- a/redhat/applications/kdbusnotification/trinity-kdbusnotification-3.5.13.spec +++ /dev/null @@ -1,119 +0,0 @@ -# Default version for this component -%define kdecomp kdbusnotification - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: a DBUS notification service [Trinity] - -Version: 0.1 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# [kdbusnotification/src/daemon] Missing QT LDFLAGS -Patch1: kdbusnotification-3.5.13-missing_ldlflags.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-arts-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: dbus-glib-devel -BuildRequires: gtk2-devel - -%description -kdbusnotification is a small program for Trinity that displays -DBUS notifications via unobtrusive, easily dismissed passive popups. - - -%prep -%setup -q -n applications/%{kdecomp} -%patch1 -p1 -b .ldflags - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - - -%clean -%__rm -rf %{buildroot} - - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/notification-daemon-tde -%{tde_datadir}/autostart/kdbusnotification-autostart.desktop - - - -%Changelog -* Tue May 01 2012 Francois Andriot - 0.1-2 -- Rebuilt for Fedora 17 -- Fix HTML directory location -- Removes post and postun - -* Sun Oct 30 2011 Francois Andriot - 0.1-1 -- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/applications/kdiff3/kdiff3-3.5.12.spec b/redhat/applications/kdiff3/kdiff3-3.5.12.spec new file mode 100644 index 000000000..6383af2d2 --- /dev/null +++ b/redhat/applications/kdiff3/kdiff3-3.5.12.spec @@ -0,0 +1,111 @@ +# Default version for this component +%define kdecomp kdiff3 +%define version 0.9.91 +%define release 2 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_prefix}/share/doc +%endif + +# TDE 3.5.12 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir} +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/kde3 + + +Name: trinity-%{kdecomp} +Summary: KDiff3 is a utility for comparing and/or merging two or three text files or directories. +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Source0: %{kdecomp}-3.5.12.tar.gz + + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: trinity-kdebase-devel +BuildRequires: desktop-file-utils + +%description +Shows the differences line by line and character by character (!). +Provides an automatic merge-facility and +an integrated editor for comfortable solving of merge-conflicts. +Supports KIO on KDE (allows accessing ftp, sftp, fish, smb etc.). +Unicode & UTF-8 support + + +%prep +%setup -q -n applications/%{kdecomp} + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%configure \ + --disable-rpath \ + --with-extra-includes=%{_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} +%make_install + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + +%postun +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{_bindir}/* +%{_datadir}/apps/*/ +%{_datadir}/icons/*/*/*/* +%{_datadir}/locale/*/*/*.mo +%{tde_docdir}/HTML/*/* +%{_datadir}/services/*.desktop +%{tde_libdir}/*.so +%{_datadir}/applnk/Development/*.desktop +%{_datadir}/applnk/.hidden/*.desktop +%{_mandir}/man*/* + +%{tde_libdir}/*.la + +%Changelog +* Tue Sep 14 2011 Francois Andriot - 0.9.91-2 +- Import to GIT + +* Wed Aug 24 2011 Francois Andriot - 0.9.91-1 +- Correct macro to install under "/opt", if desired + +* Sun Aug 14 2011 Francois Andriot - 0.9.91-0 +- Initial build for RHEL 6.0 + diff --git a/redhat/applications/kdiff3/kdiff3-3.5.13.1.spec b/redhat/applications/kdiff3/kdiff3-3.5.13.1.spec new file mode 100644 index 000000000..625cd5991 --- /dev/null +++ b/redhat/applications/kdiff3/kdiff3-3.5.13.1.spec @@ -0,0 +1,159 @@ +# Default version for this component +%define kdecomp kdiff3 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: KDiff3 is a utility for comparing and/or merging two or three text files or directories. +Version: 0.9.91 +Release: 5%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-arts-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils + +%description +Shows the differences line by line and character by character (!). +Provides an automatic merge-facility and +an integrated editor for comfortable solving of merge-conflicts. +Supports KIO on TDE (allows accessing ftp, sftp, fish, smb etc.). +Unicode & UTF-8 support + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +for f in hicolor locolor; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} &>/dev/null || : +done + +%postun +for f in hicolor locolor; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} &>/dev/null || : +done + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/* +%{tde_datadir}/apps/*/ +%{tde_datadir}/icons/hicolor/*/*/* +%{tde_datadir}/icons/locolor/*/*/* +%{tde_tdedocdir}/HTML/*/* +%{tde_datadir}/services/*.desktop +%{tde_datadir}/applnk/Development/*.desktop +%{tde_datadir}/applnk/.hidden/kdiff3plugin.desktop +%{tde_mandir}/man*/* + +%{tde_tdelibdir}/*.so +%{tde_tdelibdir}/*.la + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.9.91-5 +- Initial build for TDE 3.5.13.1 + +* Tue May 01 2012 Francois Andriot - 0.9.91-4 +- Rebuilt for Fedora 17 +- Fix HTML directory location +- Fix post and postun +- Rename old tq methods that no longer need a unique name [Commit #c7e29c46] +- Remove additional unneeded tq method conversions [Commit #9b57232f] +- Rename obsolete tq methods to standard names [Commit #d654b107] + +* Sun Oct 30 2011 Francois Andriot - 0.9.91-3 +- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 + +* Tue Sep 14 2011 Francois Andriot - 0.9.91-2 +- Import to GIT + +* Wed Aug 24 2011 Francois Andriot - 0.9.91-1 +- Correct macro to install under "/opt", if desired + +* Sun Aug 14 2011 Francois Andriot - 0.9.91-0 +- Initial build for RHEL 6.0 + diff --git a/redhat/applications/kdiff3/kdiff3-3.5.13.2.spec b/redhat/applications/kdiff3/kdiff3-3.5.13.2.spec new file mode 100644 index 000000000..b5d2ee93b --- /dev/null +++ b/redhat/applications/kdiff3/kdiff3-3.5.13.2.spec @@ -0,0 +1,168 @@ +# Default version for this component +%define tdecomp kdiff3 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: KDiff3 is a utility for comparing and/or merging two or three text files or directories. +Version: 0.9.91 +Release: 6%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-arts-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils + +%description +Shows the differences line by line and character by character (!). +Provides an automatic merge-facility and +an integrated editor for comfortable solving of merge-conflicts. +Supports KIO on TDE (allows accessing ftp, sftp, fish, smb etc.). +Unicode & UTF-8 support + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# Unwanted files +%__rm -rf %{?buildroot}%{tde_tdedocdir}/HTML/kdiff3/ + +%find_lang %{tdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +for f in hicolor locolor; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} &>/dev/null || : +done + +%postun +for f in hicolor locolor; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} &>/dev/null || : +done + + +%files -f %{tdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/kdiff3 +%{tde_datadir}/apps/kdiff3/ +%{tde_datadir}/apps/kdiff3part/ +%{tde_datadir}/icons/hicolor/*/apps/kdiff3.png +%{tde_datadir}/icons/locolor/*/apps/kdiff3.png +%{tde_tdedocdir}/HTML/*/kdiff3/ +%{tde_datadir}/services/kdiff3_plugin.desktop +%{tde_datadir}/services/kdiff3part.desktop +%{tde_datadir}/applnk/Development/*.desktop +%{tde_datadir}/applnk/.hidden/kdiff3plugin.desktop +%{tde_mandir}/man*/* +%{tde_tdelibdir}/libkdiff3part.la +%{tde_tdelibdir}/libkdiff3part.so +%{tde_tdelibdir}/libkdiff3plugin.la +%{tde_tdelibdir}/libkdiff3plugin.so + +%changelog +* Mon Jun 03 2013 Francois Andriot - 0.9.91-6 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.9.91-5 +- Initial build for TDE 3.5.13.1 + +* Tue May 01 2012 Francois Andriot - 0.9.91-4 +- Rebuilt for Fedora 17 +- Fix HTML directory location +- Fix post and postun +- Rename old tq methods that no longer need a unique name [Commit #c7e29c46] +- Remove additional unneeded tq method conversions [Commit #9b57232f] +- Rename obsolete tq methods to standard names [Commit #d654b107] + +* Sun Oct 30 2011 Francois Andriot - 0.9.91-3 +- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 + +* Tue Sep 14 2011 Francois Andriot - 0.9.91-2 +- Import to GIT + +* Wed Aug 24 2011 Francois Andriot - 0.9.91-1 +- Correct macro to install under "/opt", if desired + +* Sun Aug 14 2011 Francois Andriot - 0.9.91-0 +- Initial build for RHEL 6.0 + diff --git a/redhat/applications/kdiff3/kdiff3-3.5.13.spec b/redhat/applications/kdiff3/kdiff3-3.5.13.spec new file mode 100644 index 000000000..b560c7647 --- /dev/null +++ b/redhat/applications/kdiff3/kdiff3-3.5.13.spec @@ -0,0 +1,160 @@ +# Default version for this component +%define kdecomp kdiff3 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: KDiff3 is a utility for comparing and/or merging two or three text files or directories. +Version: 0.9.91 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +# [kdiff3] Rename old tq methods that no longer need a unique name [Commit #c7e29c46] +Patch0: bp000-c7e29c46.diff +# [kdiff3] Remove additional unneeded tq method conversions [Commit #9b57232f] +Patch1: bp001-9b57232f.diff +# [kdiff3] Rename obsolete tq methods to standard names [Commit #d654b107] +Patch2: bp002-d654b107.diff + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-arts-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils + +%description +Shows the differences line by line and character by character (!). +Provides an automatic merge-facility and +an integrated editor for comfortable solving of merge-conflicts. +Supports KIO on TDE (allows accessing ftp, sftp, fish, smb etc.). +Unicode & UTF-8 support + + +%prep +%setup -q -n applications/%{kdecomp} +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +for f in hicolor locolor; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + +%postun +for f in hicolor locolor; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/* +%{tde_datadir}/apps/*/ +%{tde_datadir}/icons/hicolor/*/*/* +%{tde_datadir}/icons/locolor/*/*/* +%{tde_tdedocdir}/HTML/*/* +%{tde_datadir}/services/*.desktop +%{tde_datadir}/applnk/Development/*.desktop +%{tde_datadir}/applnk/.hidden/kdiff3plugin.desktop +%{tde_mandir}/man*/* + +%{tde_tdelibdir}/*.so +%{tde_tdelibdir}/*.la + +%Changelog +* Tue May 01 2012 Francois Andriot - 0.9.91-4 +- Rebuilt for Fedora 17 +- Fix HTML directory location +- Fix post and postun +- Rename old tq methods that no longer need a unique name [Commit #c7e29c46] +- Remove additional unneeded tq method conversions [Commit #9b57232f] +- Rename obsolete tq methods to standard names [Commit #d654b107] + +* Sun Oct 30 2011 Francois Andriot - 0.9.91-3 +- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 + +* Tue Sep 14 2011 Francois Andriot - 0.9.91-2 +- Import to GIT + +* Wed Aug 24 2011 Francois Andriot - 0.9.91-1 +- Correct macro to install under "/opt", if desired + +* Sun Aug 14 2011 Francois Andriot - 0.9.91-0 +- Initial build for RHEL 6.0 + diff --git a/redhat/applications/kdiff3/trinity-kdiff3-3.5.12.spec b/redhat/applications/kdiff3/trinity-kdiff3-3.5.12.spec deleted file mode 100644 index 6383af2d2..000000000 --- a/redhat/applications/kdiff3/trinity-kdiff3-3.5.12.spec +++ /dev/null @@ -1,111 +0,0 @@ -# Default version for this component -%define kdecomp kdiff3 -%define version 0.9.91 -%define release 2 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_includedir %{_includedir}/kde -%define tde_libdir %{_libdir}/kde3 - - -Name: trinity-%{kdecomp} -Summary: KDiff3 is a utility for comparing and/or merging two or three text files or directories. -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Source0: %{kdecomp}-3.5.12.tar.gz - - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: trinity-kdebase-devel -BuildRequires: desktop-file-utils - -%description -Shows the differences line by line and character by character (!). -Provides an automatic merge-facility and -an integrated editor for comfortable solving of merge-conflicts. -Supports KIO on KDE (allows accessing ftp, sftp, fish, smb etc.). -Unicode & UTF-8 support - - -%prep -%setup -q -n applications/%{kdecomp} - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -%configure \ - --disable-rpath \ - --with-extra-includes=%{_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{buildroot} -%make_install - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : - -%postun -touch --no-create %{_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{_bindir}/* -%{_datadir}/apps/*/ -%{_datadir}/icons/*/*/*/* -%{_datadir}/locale/*/*/*.mo -%{tde_docdir}/HTML/*/* -%{_datadir}/services/*.desktop -%{tde_libdir}/*.so -%{_datadir}/applnk/Development/*.desktop -%{_datadir}/applnk/.hidden/*.desktop -%{_mandir}/man*/* - -%{tde_libdir}/*.la - -%Changelog -* Tue Sep 14 2011 Francois Andriot - 0.9.91-2 -- Import to GIT - -* Wed Aug 24 2011 Francois Andriot - 0.9.91-1 -- Correct macro to install under "/opt", if desired - -* Sun Aug 14 2011 Francois Andriot - 0.9.91-0 -- Initial build for RHEL 6.0 - diff --git a/redhat/applications/kdiff3/trinity-kdiff3-3.5.13.1.spec b/redhat/applications/kdiff3/trinity-kdiff3-3.5.13.1.spec deleted file mode 100644 index 625cd5991..000000000 --- a/redhat/applications/kdiff3/trinity-kdiff3-3.5.13.1.spec +++ /dev/null @@ -1,159 +0,0 @@ -# Default version for this component -%define kdecomp kdiff3 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: KDiff3 is a utility for comparing and/or merging two or three text files or directories. -Version: 0.9.91 -Release: 5%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-arts-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - -%description -Shows the differences line by line and character by character (!). -Provides an automatic merge-facility and -an integrated editor for comfortable solving of merge-conflicts. -Supports KIO on TDE (allows accessing ftp, sftp, fish, smb etc.). -Unicode & UTF-8 support - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} &>/dev/null || : -done - -%postun -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} &>/dev/null || : -done - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/* -%{tde_datadir}/apps/*/ -%{tde_datadir}/icons/hicolor/*/*/* -%{tde_datadir}/icons/locolor/*/*/* -%{tde_tdedocdir}/HTML/*/* -%{tde_datadir}/services/*.desktop -%{tde_datadir}/applnk/Development/*.desktop -%{tde_datadir}/applnk/.hidden/kdiff3plugin.desktop -%{tde_mandir}/man*/* - -%{tde_tdelibdir}/*.so -%{tde_tdelibdir}/*.la - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.9.91-5 -- Initial build for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 0.9.91-4 -- Rebuilt for Fedora 17 -- Fix HTML directory location -- Fix post and postun -- Rename old tq methods that no longer need a unique name [Commit #c7e29c46] -- Remove additional unneeded tq method conversions [Commit #9b57232f] -- Rename obsolete tq methods to standard names [Commit #d654b107] - -* Sun Oct 30 2011 Francois Andriot - 0.9.91-3 -- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 - -* Tue Sep 14 2011 Francois Andriot - 0.9.91-2 -- Import to GIT - -* Wed Aug 24 2011 Francois Andriot - 0.9.91-1 -- Correct macro to install under "/opt", if desired - -* Sun Aug 14 2011 Francois Andriot - 0.9.91-0 -- Initial build for RHEL 6.0 - diff --git a/redhat/applications/kdiff3/trinity-kdiff3-3.5.13.2.spec b/redhat/applications/kdiff3/trinity-kdiff3-3.5.13.2.spec deleted file mode 100644 index b5d2ee93b..000000000 --- a/redhat/applications/kdiff3/trinity-kdiff3-3.5.13.2.spec +++ /dev/null @@ -1,168 +0,0 @@ -# Default version for this component -%define tdecomp kdiff3 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: KDiff3 is a utility for comparing and/or merging two or three text files or directories. -Version: 0.9.91 -Release: 6%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-arts-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils - -%description -Shows the differences line by line and character by character (!). -Provides an automatic merge-facility and -an integrated editor for comfortable solving of merge-conflicts. -Supports KIO on TDE (allows accessing ftp, sftp, fish, smb etc.). -Unicode & UTF-8 support - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Unwanted files -%__rm -rf %{?buildroot}%{tde_tdedocdir}/HTML/kdiff3/ - -%find_lang %{tdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} &>/dev/null || : -done - -%postun -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} &>/dev/null || : -done - - -%files -f %{tdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/kdiff3 -%{tde_datadir}/apps/kdiff3/ -%{tde_datadir}/apps/kdiff3part/ -%{tde_datadir}/icons/hicolor/*/apps/kdiff3.png -%{tde_datadir}/icons/locolor/*/apps/kdiff3.png -%{tde_tdedocdir}/HTML/*/kdiff3/ -%{tde_datadir}/services/kdiff3_plugin.desktop -%{tde_datadir}/services/kdiff3part.desktop -%{tde_datadir}/applnk/Development/*.desktop -%{tde_datadir}/applnk/.hidden/kdiff3plugin.desktop -%{tde_mandir}/man*/* -%{tde_tdelibdir}/libkdiff3part.la -%{tde_tdelibdir}/libkdiff3part.so -%{tde_tdelibdir}/libkdiff3plugin.la -%{tde_tdelibdir}/libkdiff3plugin.so - -%changelog -* Mon Jun 03 2013 Francois Andriot - 0.9.91-6 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.9.91-5 -- Initial build for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 0.9.91-4 -- Rebuilt for Fedora 17 -- Fix HTML directory location -- Fix post and postun -- Rename old tq methods that no longer need a unique name [Commit #c7e29c46] -- Remove additional unneeded tq method conversions [Commit #9b57232f] -- Rename obsolete tq methods to standard names [Commit #d654b107] - -* Sun Oct 30 2011 Francois Andriot - 0.9.91-3 -- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 - -* Tue Sep 14 2011 Francois Andriot - 0.9.91-2 -- Import to GIT - -* Wed Aug 24 2011 Francois Andriot - 0.9.91-1 -- Correct macro to install under "/opt", if desired - -* Sun Aug 14 2011 Francois Andriot - 0.9.91-0 -- Initial build for RHEL 6.0 - diff --git a/redhat/applications/kdiff3/trinity-kdiff3-3.5.13.spec b/redhat/applications/kdiff3/trinity-kdiff3-3.5.13.spec deleted file mode 100644 index b560c7647..000000000 --- a/redhat/applications/kdiff3/trinity-kdiff3-3.5.13.spec +++ /dev/null @@ -1,160 +0,0 @@ -# Default version for this component -%define kdecomp kdiff3 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: KDiff3 is a utility for comparing and/or merging two or three text files or directories. -Version: 0.9.91 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# [kdiff3] Rename old tq methods that no longer need a unique name [Commit #c7e29c46] -Patch0: bp000-c7e29c46.diff -# [kdiff3] Remove additional unneeded tq method conversions [Commit #9b57232f] -Patch1: bp001-9b57232f.diff -# [kdiff3] Rename obsolete tq methods to standard names [Commit #d654b107] -Patch2: bp002-d654b107.diff - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-arts-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils - -%description -Shows the differences line by line and character by character (!). -Provides an automatic merge-facility and -an integrated editor for comfortable solving of merge-conflicts. -Supports KIO on TDE (allows accessing ftp, sftp, fish, smb etc.). -Unicode & UTF-8 support - - -%prep -%setup -q -n applications/%{kdecomp} -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/* -%{tde_datadir}/apps/*/ -%{tde_datadir}/icons/hicolor/*/*/* -%{tde_datadir}/icons/locolor/*/*/* -%{tde_tdedocdir}/HTML/*/* -%{tde_datadir}/services/*.desktop -%{tde_datadir}/applnk/Development/*.desktop -%{tde_datadir}/applnk/.hidden/kdiff3plugin.desktop -%{tde_mandir}/man*/* - -%{tde_tdelibdir}/*.so -%{tde_tdelibdir}/*.la - -%Changelog -* Tue May 01 2012 Francois Andriot - 0.9.91-4 -- Rebuilt for Fedora 17 -- Fix HTML directory location -- Fix post and postun -- Rename old tq methods that no longer need a unique name [Commit #c7e29c46] -- Remove additional unneeded tq method conversions [Commit #9b57232f] -- Rename obsolete tq methods to standard names [Commit #d654b107] - -* Sun Oct 30 2011 Francois Andriot - 0.9.91-3 -- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 - -* Tue Sep 14 2011 Francois Andriot - 0.9.91-2 -- Import to GIT - -* Wed Aug 24 2011 Francois Andriot - 0.9.91-1 -- Correct macro to install under "/opt", if desired - -* Sun Aug 14 2011 Francois Andriot - 0.9.91-0 -- Initial build for RHEL 6.0 - diff --git a/redhat/applications/kdirstat/kdirstat-3.5.13.1.spec b/redhat/applications/kdirstat/kdirstat-3.5.13.1.spec new file mode 100644 index 000000000..e0024e263 --- /dev/null +++ b/redhat/applications/kdirstat/kdirstat-3.5.13.1.spec @@ -0,0 +1,148 @@ +# Default version for this component +%define kdecomp kdirstat + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: graphical disk usage display with cleanup facilities [Trinity] +Version: 2.4.4 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +KDirStat (KDE Directory Statistics) is a small utility program that sums +up disk usage for directory trees, very much like the Unix 'du' command. +It displays the disk space used up by a directory tree, both numerically +and graphically. It is network transparent (i.e., you can use it to sum +up FTP servers), and comes with predefined and user configurable cleanup +actions. You can directly open a directory branch in Konqueror or the +shell of your choice, compress it to a .tar.bz2 archive, or define your +own cleanup actions. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} + +# SMP safe ! +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%find_lang %{kdecomp} + + + +%clean +%__rm -rf %{buildroot} + + +%post +for f in hicolor locolor; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + +%postun +for f in hicolor locolor; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/kdirstat +%{tde_datadir}/applnk/Utilities/kdirstat.desktop +%{tde_datadir}/apps/kconf_update/fix_move_to_trash_bin.pl +%{tde_datadir}/apps/kconf_update/kdirstat.upd +%{tde_datadir}/apps/kdirstat/ +%{tde_tdedocdir}/HTML/en/kdirstat/ +%{tde_datadir}/icons/hicolor/*/apps/kdirstat.png +%{tde_datadir}/icons/locolor/*/apps/kdirstat.png + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 2.4.4-3 +- Initial build for TDE 3.5.13.1 + +* Tue May 01 2012 Francois Andriot - 2.4.4-2 +- Rebuilt for Fedora 17 +- Fix post and postun + +* Wed Nov 30 2011 Francois Andriot - 2.4.4-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kdirstat/kdirstat-3.5.13.2.spec b/redhat/applications/kdirstat/kdirstat-3.5.13.2.spec new file mode 100644 index 000000000..ba27622a0 --- /dev/null +++ b/redhat/applications/kdirstat/kdirstat-3.5.13.2.spec @@ -0,0 +1,151 @@ +# Default version for this component +%define tdecomp kdirstat + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: graphical disk usage display with cleanup facilities [Trinity] +Version: 2.4.4 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +KDirStat (KDE Directory Statistics) is a small utility program that sums +up disk usage for directory trees, very much like the Unix 'du' command. +It displays the disk space used up by a directory tree, both numerically +and graphically. It is network transparent (i.e., you can use it to sum +up FTP servers), and comes with predefined and user configurable cleanup +actions. You can directly open a directory branch in Konqueror or the +shell of your choice, compress it to a .tar.bz2 archive, or define your +own cleanup actions. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} + +# SMP safe ! +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%find_lang %{tdecomp} + + + +%clean +%__rm -rf %{buildroot} + + +%post +for f in hicolor locolor; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + +%postun +for f in hicolor locolor; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + + +%files -f %{tdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/kdirstat +%{tde_datadir}/applnk/Utilities/kdirstat.desktop +%{tde_datadir}/apps/kconf_update/fix_move_to_trash_bin.pl +%{tde_datadir}/apps/kconf_update/kdirstat.upd +%{tde_datadir}/apps/kdirstat/ +%{tde_tdedocdir}/HTML/en/kdirstat/ +%{tde_datadir}/icons/hicolor/*/apps/kdirstat.png +%{tde_datadir}/icons/locolor/*/apps/kdirstat.png + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 2.4.4-4 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 2.4.4-3 +- Initial build for TDE 3.5.13.1 + +* Tue May 01 2012 Francois Andriot - 2.4.4-2 +- Rebuilt for Fedora 17 +- Fix post and postun + +* Wed Nov 30 2011 Francois Andriot - 2.4.4-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kdirstat/kdirstat-3.5.13.spec b/redhat/applications/kdirstat/kdirstat-3.5.13.spec new file mode 100644 index 000000000..90691838f --- /dev/null +++ b/redhat/applications/kdirstat/kdirstat-3.5.13.spec @@ -0,0 +1,139 @@ +# Default version for this component +%define kdecomp kdirstat + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: graphical disk usage display with cleanup facilities [Trinity] +Version: 2.4.4 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: trinity-kdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +KDirStat (KDE Directory Statistics) is a small utility program that sums +up disk usage for directory trees, very much like the Unix 'du' command. +It displays the disk space used up by a directory tree, both numerically +and graphically. It is network transparent (i.e., you can use it to sum +up FTP servers), and comes with predefined and user configurable cleanup +actions. You can directly open a directory branch in Konqueror or the +shell of your choice, compress it to a .tar.bz2 archive, or define your +own cleanup actions. + + +%prep +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} + +# SMP safe ! +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%find_lang %{kdecomp} + + + +%clean +%__rm -rf %{buildroot} + + +%post +for f in hicolor locolor; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + +%postun +for f in hicolor locolor; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/kdirstat +%{tde_datadir}/applnk/Utilities/kdirstat.desktop +%{tde_datadir}/apps/kconf_update/fix_move_to_trash_bin.pl +%{tde_datadir}/apps/kconf_update/kdirstat.upd +%{tde_datadir}/apps/kdirstat/ +%{tde_tdedocdir}/HTML/en/kdirstat/ +%{tde_datadir}/icons/hicolor/*/apps/kdirstat.png +%{tde_datadir}/icons/locolor/*/apps/kdirstat.png + + +%Changelog +* Tue May 01 2012 Francois Andriot - 2.4.4-2 +- Rebuilt for Fedora 17 +- Fix post and postun + +* Wed Nov 30 2011 Francois Andriot - 2.4.4-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kdirstat/trinity-kdirstat-3.5.13.1.spec b/redhat/applications/kdirstat/trinity-kdirstat-3.5.13.1.spec deleted file mode 100644 index e0024e263..000000000 --- a/redhat/applications/kdirstat/trinity-kdirstat-3.5.13.1.spec +++ /dev/null @@ -1,148 +0,0 @@ -# Default version for this component -%define kdecomp kdirstat - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: graphical disk usage display with cleanup facilities [Trinity] -Version: 2.4.4 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -KDirStat (KDE Directory Statistics) is a small utility program that sums -up disk usage for directory trees, very much like the Unix 'du' command. -It displays the disk space used up by a directory tree, both numerically -and graphically. It is network transparent (i.e., you can use it to sum -up FTP servers), and comes with predefined and user configurable cleanup -actions. You can directly open a directory branch in Konqueror or the -shell of your choice, compress it to a .tar.bz2 archive, or define your -own cleanup actions. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%find_lang %{kdecomp} - - - -%clean -%__rm -rf %{buildroot} - - -%post -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/kdirstat -%{tde_datadir}/applnk/Utilities/kdirstat.desktop -%{tde_datadir}/apps/kconf_update/fix_move_to_trash_bin.pl -%{tde_datadir}/apps/kconf_update/kdirstat.upd -%{tde_datadir}/apps/kdirstat/ -%{tde_tdedocdir}/HTML/en/kdirstat/ -%{tde_datadir}/icons/hicolor/*/apps/kdirstat.png -%{tde_datadir}/icons/locolor/*/apps/kdirstat.png - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 2.4.4-3 -- Initial build for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 2.4.4-2 -- Rebuilt for Fedora 17 -- Fix post and postun - -* Wed Nov 30 2011 Francois Andriot - 2.4.4-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kdirstat/trinity-kdirstat-3.5.13.2.spec b/redhat/applications/kdirstat/trinity-kdirstat-3.5.13.2.spec deleted file mode 100644 index ba27622a0..000000000 --- a/redhat/applications/kdirstat/trinity-kdirstat-3.5.13.2.spec +++ /dev/null @@ -1,151 +0,0 @@ -# Default version for this component -%define tdecomp kdirstat - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: graphical disk usage display with cleanup facilities [Trinity] -Version: 2.4.4 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -KDirStat (KDE Directory Statistics) is a small utility program that sums -up disk usage for directory trees, very much like the Unix 'du' command. -It displays the disk space used up by a directory tree, both numerically -and graphically. It is network transparent (i.e., you can use it to sum -up FTP servers), and comes with predefined and user configurable cleanup -actions. You can directly open a directory branch in Konqueror or the -shell of your choice, compress it to a .tar.bz2 archive, or define your -own cleanup actions. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%find_lang %{tdecomp} - - - -%clean -%__rm -rf %{buildroot} - - -%post -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - - -%files -f %{tdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/kdirstat -%{tde_datadir}/applnk/Utilities/kdirstat.desktop -%{tde_datadir}/apps/kconf_update/fix_move_to_trash_bin.pl -%{tde_datadir}/apps/kconf_update/kdirstat.upd -%{tde_datadir}/apps/kdirstat/ -%{tde_tdedocdir}/HTML/en/kdirstat/ -%{tde_datadir}/icons/hicolor/*/apps/kdirstat.png -%{tde_datadir}/icons/locolor/*/apps/kdirstat.png - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 2.4.4-4 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 2.4.4-3 -- Initial build for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 2.4.4-2 -- Rebuilt for Fedora 17 -- Fix post and postun - -* Wed Nov 30 2011 Francois Andriot - 2.4.4-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kdirstat/trinity-kdirstat-3.5.13.spec b/redhat/applications/kdirstat/trinity-kdirstat-3.5.13.spec deleted file mode 100644 index 90691838f..000000000 --- a/redhat/applications/kdirstat/trinity-kdirstat-3.5.13.spec +++ /dev/null @@ -1,139 +0,0 @@ -# Default version for this component -%define kdecomp kdirstat - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: graphical disk usage display with cleanup facilities [Trinity] -Version: 2.4.4 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: trinity-kdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -KDirStat (KDE Directory Statistics) is a small utility program that sums -up disk usage for directory trees, very much like the Unix 'du' command. -It displays the disk space used up by a directory tree, both numerically -and graphically. It is network transparent (i.e., you can use it to sum -up FTP servers), and comes with predefined and user configurable cleanup -actions. You can directly open a directory branch in Konqueror or the -shell of your choice, compress it to a .tar.bz2 archive, or define your -own cleanup actions. - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%find_lang %{kdecomp} - - - -%clean -%__rm -rf %{buildroot} - - -%post -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/kdirstat -%{tde_datadir}/applnk/Utilities/kdirstat.desktop -%{tde_datadir}/apps/kconf_update/fix_move_to_trash_bin.pl -%{tde_datadir}/apps/kconf_update/kdirstat.upd -%{tde_datadir}/apps/kdirstat/ -%{tde_tdedocdir}/HTML/en/kdirstat/ -%{tde_datadir}/icons/hicolor/*/apps/kdirstat.png -%{tde_datadir}/icons/locolor/*/apps/kdirstat.png - - -%Changelog -* Tue May 01 2012 Francois Andriot - 2.4.4-2 -- Rebuilt for Fedora 17 -- Fix post and postun - -* Wed Nov 30 2011 Francois Andriot - 2.4.4-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/keep/keep-3.5.13.1.spec b/redhat/applications/keep/keep-3.5.13.1.spec new file mode 100644 index 000000000..f0d3cd583 --- /dev/null +++ b/redhat/applications/keep/keep-3.5.13.1.spec @@ -0,0 +1,139 @@ +# Default version for this component +%define kdecomp keep + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: backup system for KDE [Trinity] +Version: 0.4.0 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +Requires: rdiff-backup + +%description +Keep is an automatic backup program that allows users to set the parameters of +the backup, including the frequency and the number of backups. + +Homepage: http://jr.falleri.free.fr/keep + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +update-desktop-database %{tde_appdir} &> /dev/null + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +update-desktop-database %{tde_appdir} &> /dev/null + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/keep +%{tde_tdelibdir}/kded_keep.la +%{tde_tdelibdir}/kded_keep.so +%{tde_tdeappdir}/keep.desktop +%{tde_datadir}/icons/hicolor/scalable/apps/keep.svgz +%{tde_datadir}/apps/keep/ +%{tde_datadir}/config.kcfg/keepsettings.kcfg +%{tde_datadir}/icons/hicolor/*/apps/keep.png +%{tde_datadir}/services/kded/keep.desktop + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.4.0-3 +- Initial build for TDE 3.5.13.1 + +* Tue May 01 2012 Francois Andriot - 0.4.0-2 +- Rebuilt for Fedora 17 + +* Thu Nov 24 2011 Francois Andriot - 0.4.0-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/keep/keep-3.5.13.2.spec b/redhat/applications/keep/keep-3.5.13.2.spec new file mode 100644 index 000000000..7e82cca0c --- /dev/null +++ b/redhat/applications/keep/keep-3.5.13.2.spec @@ -0,0 +1,142 @@ +# Default version for this component +%define tdecomp keep + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: backup system for KDE [Trinity] +Version: 0.4.0 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +Requires: rdiff-backup + +%description +Keep is an automatic backup program that allows users to set the parameters of +the backup, including the frequency and the number of backups. + +Homepage: http://jr.falleri.free.fr/keep + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{tdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +update-desktop-database %{tde_appdir} &> /dev/null + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +update-desktop-database %{tde_appdir} &> /dev/null + + +%files -f %{tdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/keep +%{tde_tdelibdir}/kded_keep.la +%{tde_tdelibdir}/kded_keep.so +%{tde_tdeappdir}/keep.desktop +%{tde_datadir}/icons/hicolor/scalable/apps/keep.svgz +%{tde_datadir}/apps/keep/ +%{tde_datadir}/config.kcfg/keepsettings.kcfg +%{tde_datadir}/icons/hicolor/*/apps/keep.png +%{tde_datadir}/services/kded/keep.desktop + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 0.4.0-4 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.4.0-3 +- Initial build for TDE 3.5.13.1 + +* Tue May 01 2012 Francois Andriot - 0.4.0-2 +- Rebuilt for Fedora 17 + +* Thu Nov 24 2011 Francois Andriot - 0.4.0-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/keep/keep-3.5.13.spec b/redhat/applications/keep/keep-3.5.13.spec new file mode 100644 index 000000000..a9e17885c --- /dev/null +++ b/redhat/applications/keep/keep-3.5.13.spec @@ -0,0 +1,130 @@ +# Default version for this component +%define kdecomp keep + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: backup system for KDE [Trinity] +Version: 0.4.0 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + +Requires: rdiff-backup + +%description +Keep is an automatic backup program that allows users to set the parameters of +the backup, including the frequency and the number of backups. + +Homepage: http://jr.falleri.free.fr/keep + + +%prep +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +update-desktop-database %{tde_appdir} &> /dev/null + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +update-desktop-database %{tde_appdir} &> /dev/null + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/keep +%{tde_tdelibdir}/kded_keep.la +%{tde_tdelibdir}/kded_keep.so +%{tde_tdeappdir}/keep.desktop +%{tde_datadir}/icons/hicolor/scalable/apps/keep.svgz +%{tde_datadir}/apps/keep/ +%{tde_datadir}/config.kcfg/keepsettings.kcfg +%{tde_datadir}/icons/hicolor/*/apps/keep.png +%{tde_datadir}/services/kded/keep.desktop + + +%Changelog +* Tue May 01 2012 Francois Andriot - 0.4.0-2 +- Rebuilt for Fedora 17 + +* Thu Nov 24 2011 Francois Andriot - 0.4.0-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/keep/trinity-keep-3.5.13.1.spec b/redhat/applications/keep/trinity-keep-3.5.13.1.spec deleted file mode 100644 index f0d3cd583..000000000 --- a/redhat/applications/keep/trinity-keep-3.5.13.1.spec +++ /dev/null @@ -1,139 +0,0 @@ -# Default version for this component -%define kdecomp keep - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: backup system for KDE [Trinity] -Version: 0.4.0 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -Requires: rdiff-backup - -%description -Keep is an automatic backup program that allows users to set the parameters of -the backup, including the frequency and the number of backups. - -Homepage: http://jr.falleri.free.fr/keep - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/keep -%{tde_tdelibdir}/kded_keep.la -%{tde_tdelibdir}/kded_keep.so -%{tde_tdeappdir}/keep.desktop -%{tde_datadir}/icons/hicolor/scalable/apps/keep.svgz -%{tde_datadir}/apps/keep/ -%{tde_datadir}/config.kcfg/keepsettings.kcfg -%{tde_datadir}/icons/hicolor/*/apps/keep.png -%{tde_datadir}/services/kded/keep.desktop - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.4.0-3 -- Initial build for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 0.4.0-2 -- Rebuilt for Fedora 17 - -* Thu Nov 24 2011 Francois Andriot - 0.4.0-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/keep/trinity-keep-3.5.13.2.spec b/redhat/applications/keep/trinity-keep-3.5.13.2.spec deleted file mode 100644 index 7e82cca0c..000000000 --- a/redhat/applications/keep/trinity-keep-3.5.13.2.spec +++ /dev/null @@ -1,142 +0,0 @@ -# Default version for this component -%define tdecomp keep - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: backup system for KDE [Trinity] -Version: 0.4.0 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -Requires: rdiff-backup - -%description -Keep is an automatic backup program that allows users to set the parameters of -the backup, including the frequency and the number of backups. - -Homepage: http://jr.falleri.free.fr/keep - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{tdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - - -%files -f %{tdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/keep -%{tde_tdelibdir}/kded_keep.la -%{tde_tdelibdir}/kded_keep.so -%{tde_tdeappdir}/keep.desktop -%{tde_datadir}/icons/hicolor/scalable/apps/keep.svgz -%{tde_datadir}/apps/keep/ -%{tde_datadir}/config.kcfg/keepsettings.kcfg -%{tde_datadir}/icons/hicolor/*/apps/keep.png -%{tde_datadir}/services/kded/keep.desktop - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 0.4.0-4 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.4.0-3 -- Initial build for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 0.4.0-2 -- Rebuilt for Fedora 17 - -* Thu Nov 24 2011 Francois Andriot - 0.4.0-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/keep/trinity-keep-3.5.13.spec b/redhat/applications/keep/trinity-keep-3.5.13.spec deleted file mode 100644 index a9e17885c..000000000 --- a/redhat/applications/keep/trinity-keep-3.5.13.spec +++ /dev/null @@ -1,130 +0,0 @@ -# Default version for this component -%define kdecomp keep - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: backup system for KDE [Trinity] -Version: 0.4.0 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - -Requires: rdiff-backup - -%description -Keep is an automatic backup program that allows users to set the parameters of -the backup, including the frequency and the number of backups. - -Homepage: http://jr.falleri.free.fr/keep - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/keep -%{tde_tdelibdir}/kded_keep.la -%{tde_tdelibdir}/kded_keep.so -%{tde_tdeappdir}/keep.desktop -%{tde_datadir}/icons/hicolor/scalable/apps/keep.svgz -%{tde_datadir}/apps/keep/ -%{tde_datadir}/config.kcfg/keepsettings.kcfg -%{tde_datadir}/icons/hicolor/*/apps/keep.png -%{tde_datadir}/services/kded/keep.desktop - - -%Changelog -* Tue May 01 2012 Francois Andriot - 0.4.0-2 -- Rebuilt for Fedora 17 - -* Thu Nov 24 2011 Francois Andriot - 0.4.0-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kerry/kerry-3.5.13.1.spec b/redhat/applications/kerry/kerry-3.5.13.1.spec new file mode 100644 index 000000000..632e27917 --- /dev/null +++ b/redhat/applications/kerry/kerry-3.5.13.1.spec @@ -0,0 +1,158 @@ +# Default version for this component +%define kdecomp kerry + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: a KDE frontend for the Beagle desktop search daemon [Trinity] +Version: 0.2.1 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://en.opensuse.org/Kerry + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz +Source1: kerry.1.docbook + + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext +BuildRequires: libbeagle-devel >= 0.3.0 + + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: docbook2x +%else +BuildRequires: docbook2X +%endif + +%description +Kerry is a Trinity frontend for the Beagle desktop search daemon. + +A program for indexing and searching user's data. At the moment, it can index +filesystems, chat logs, mail and data, RSS and other. + + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} + +%__make %{?_smp_mflags} + + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +#%__install -D -m 644 %{SOURCE1} %{buildroot}%{_mandir}/man1/kerry.1.docbook +#docbook2man %{buildroot}%{_mandir}/man1/kerry.1.docbook + +%find_lang %{kdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +/sbin/ldconfig || : +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +update-desktop-database %{tde_appdir} &> /dev/null + +%postun +/sbin/ldconfig || : +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +update-desktop-database %{tde_appdir} &> /dev/null + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{tde_datadir}/locale/*/LC_MESSAGES/kcmbeagle.mo +%{tde_bindir}/beagled-shutdown +%{tde_bindir}/kerry +%{tde_libdir}/libkdeinit_kerry.la +%{tde_libdir}/libkdeinit_kerry.so +%{tde_tdelibdir}/kcm_beagle.la +%{tde_tdelibdir}/kcm_beagle.so +%{tde_tdelibdir}/kerry.la +%{tde_tdelibdir}/kerry.so +%{tde_tdeappdir}/kcmbeagle.desktop +%{tde_tdeappdir}/kerry.desktop +%{tde_datadir}/applnk/.hidden/kcmkerry.desktop +%{tde_datadir}/apps/kerry/search-running.mng +%{tde_datadir}/autostart/beagled.desktop +%{tde_datadir}/autostart/kerry.autostart.desktop +%{tde_datadir}/icons/hicolor/*/*/* + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.2.1-2 +- Initial build for TDE 3.5.13.1 + +* Fri Nov 25 2011 Francois Andriot - 0.2.1-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kerry/kerry-3.5.13.2.spec b/redhat/applications/kerry/kerry-3.5.13.2.spec new file mode 100644 index 000000000..c3d3f8ca6 --- /dev/null +++ b/redhat/applications/kerry/kerry-3.5.13.2.spec @@ -0,0 +1,161 @@ +# Default version for this component +%define tdecomp kerry + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: a KDE frontend for the Beagle desktop search daemon [Trinity] +Version: 0.2.1 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://en.opensuse.org/Kerry + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz +Source1: kerry.1.docbook + + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext +BuildRequires: libbeagle-devel >= 0.3.0 + + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: docbook2x +%else +BuildRequires: docbook2X +%endif + +%description +Kerry is a Trinity frontend for the Beagle desktop search daemon. + +A program for indexing and searching user's data. At the moment, it can index +filesystems, chat logs, mail and data, RSS and other. + + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} + +%__make %{?_smp_mflags} + + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +#%__install -D -m 644 %{SOURCE1} %{buildroot}%{_mandir}/man1/kerry.1.docbook +#docbook2man %{buildroot}%{_mandir}/man1/kerry.1.docbook + +%find_lang %{tdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +/sbin/ldconfig || : +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +update-desktop-database %{tde_appdir} &> /dev/null + +%postun +/sbin/ldconfig || : +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +update-desktop-database %{tde_appdir} &> /dev/null + + +%files -f %{tdecomp}.lang +%defattr(-,root,root,-) +%{tde_datadir}/locale/*/LC_MESSAGES/kcmbeagle.mo +%{tde_bindir}/beagled-shutdown +%{tde_bindir}/kerry +%{tde_libdir}/libkdeinit_kerry.la +%{tde_libdir}/libkdeinit_kerry.so +%{tde_tdelibdir}/kcm_beagle.la +%{tde_tdelibdir}/kcm_beagle.so +%{tde_tdelibdir}/kerry.la +%{tde_tdelibdir}/kerry.so +%{tde_tdeappdir}/kcmbeagle.desktop +%{tde_tdeappdir}/kerry.desktop +%{tde_datadir}/applnk/.hidden/kcmkerry.desktop +%{tde_datadir}/apps/kerry/search-running.mng +%{tde_datadir}/autostart/beagled.desktop +%{tde_datadir}/autostart/kerry.autostart.desktop +%{tde_datadir}/icons/hicolor/*/*/* + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 0.2.1-3 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.2.1-2 +- Initial build for TDE 3.5.13.1 + +* Fri Nov 25 2011 Francois Andriot - 0.2.1-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kerry/kerry-3.5.13.spec b/redhat/applications/kerry/kerry-3.5.13.spec new file mode 100644 index 000000000..683baa429 --- /dev/null +++ b/redhat/applications/kerry/kerry-3.5.13.spec @@ -0,0 +1,153 @@ +# Default version for this component +%define kdecomp kerry + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: a KDE frontend for the Beagle desktop search daemon [Trinity] +Version: 0.2.1 +Release: 1%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://en.opensuse.org/Kerry + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz +Source1: kerry.1.docbook + +# [kerry] Missing LDFLAGS cause FTBFS on Mageia and Mandriva +Patch1: kerry-3.5.13-missing_ldflags.patch + + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext +BuildRequires: libbeagle-devel >= 0.3.0 + + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: docbook2x +%else +BuildRequires: docbook2X +%endif + +%description +Kerry is a Trinity frontend for the Beagle desktop search daemon. + +A program for indexing and searching user's data. At the moment, it can index +filesystems, chat logs, mail and data, RSS and other. + + + +%prep +%setup -q -n applications/%{kdecomp} +%patch1 -p1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} + +%__make %{?_smp_mflags} + + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +#%__install -D -m 644 %{SOURCE1} %{buildroot}%{_mandir}/man1/kerry.1.docbook +#docbook2man %{buildroot}%{_mandir}/man1/kerry.1.docbook + +%find_lang %{kdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +/sbin/ldconfig || : +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +update-desktop-database %{tde_appdir} &> /dev/null + +%postun +/sbin/ldconfig || : +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +update-desktop-database %{tde_appdir} &> /dev/null + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{tde_datadir}/locale/*/LC_MESSAGES/kcmbeagle.mo +%{tde_bindir}/beagled-shutdown +%{tde_bindir}/kerry +%{tde_libdir}/libkdeinit_kerry.la +%{tde_libdir}/libkdeinit_kerry.so +%{tde_tdelibdir}/kcm_beagle.la +%{tde_tdelibdir}/kcm_beagle.so +%{tde_tdelibdir}/kerry.la +%{tde_tdelibdir}/kerry.so +%{tde_tdeappdir}/kcmbeagle.desktop +%{tde_tdeappdir}/kerry.desktop +%{tde_datadir}/applnk/.hidden/kcmkerry.desktop +%{tde_datadir}/apps/kerry/search-running.mng +%{tde_datadir}/autostart/beagled.desktop +%{tde_datadir}/autostart/kerry.autostart.desktop +%{tde_datadir}/icons/hicolor/*/*/* + + +%Changelog +* Fri Nov 25 2011 Francois Andriot - 0.2.1-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kerry/trinity-kerry-3.5.13.1.spec b/redhat/applications/kerry/trinity-kerry-3.5.13.1.spec deleted file mode 100644 index 632e27917..000000000 --- a/redhat/applications/kerry/trinity-kerry-3.5.13.1.spec +++ /dev/null @@ -1,158 +0,0 @@ -# Default version for this component -%define kdecomp kerry - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: a KDE frontend for the Beagle desktop search daemon [Trinity] -Version: 0.2.1 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://en.opensuse.org/Kerry - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz -Source1: kerry.1.docbook - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext -BuildRequires: libbeagle-devel >= 0.3.0 - - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: docbook2x -%else -BuildRequires: docbook2X -%endif - -%description -Kerry is a Trinity frontend for the Beagle desktop search daemon. - -A program for indexing and searching user's data. At the moment, it can index -filesystems, chat logs, mail and data, RSS and other. - - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} - -%__make %{?_smp_mflags} - - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -#%__install -D -m 644 %{SOURCE1} %{buildroot}%{_mandir}/man1/kerry.1.docbook -#docbook2man %{buildroot}%{_mandir}/man1/kerry.1.docbook - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -/sbin/ldconfig || : -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -/sbin/ldconfig || : -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_datadir}/locale/*/LC_MESSAGES/kcmbeagle.mo -%{tde_bindir}/beagled-shutdown -%{tde_bindir}/kerry -%{tde_libdir}/libkdeinit_kerry.la -%{tde_libdir}/libkdeinit_kerry.so -%{tde_tdelibdir}/kcm_beagle.la -%{tde_tdelibdir}/kcm_beagle.so -%{tde_tdelibdir}/kerry.la -%{tde_tdelibdir}/kerry.so -%{tde_tdeappdir}/kcmbeagle.desktop -%{tde_tdeappdir}/kerry.desktop -%{tde_datadir}/applnk/.hidden/kcmkerry.desktop -%{tde_datadir}/apps/kerry/search-running.mng -%{tde_datadir}/autostart/beagled.desktop -%{tde_datadir}/autostart/kerry.autostart.desktop -%{tde_datadir}/icons/hicolor/*/*/* - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.2.1-2 -- Initial build for TDE 3.5.13.1 - -* Fri Nov 25 2011 Francois Andriot - 0.2.1-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kerry/trinity-kerry-3.5.13.2.spec b/redhat/applications/kerry/trinity-kerry-3.5.13.2.spec deleted file mode 100644 index c3d3f8ca6..000000000 --- a/redhat/applications/kerry/trinity-kerry-3.5.13.2.spec +++ /dev/null @@ -1,161 +0,0 @@ -# Default version for this component -%define tdecomp kerry - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: a KDE frontend for the Beagle desktop search daemon [Trinity] -Version: 0.2.1 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://en.opensuse.org/Kerry - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz -Source1: kerry.1.docbook - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext -BuildRequires: libbeagle-devel >= 0.3.0 - - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: docbook2x -%else -BuildRequires: docbook2X -%endif - -%description -Kerry is a Trinity frontend for the Beagle desktop search daemon. - -A program for indexing and searching user's data. At the moment, it can index -filesystems, chat logs, mail and data, RSS and other. - - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} - -%__make %{?_smp_mflags} - - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -#%__install -D -m 644 %{SOURCE1} %{buildroot}%{_mandir}/man1/kerry.1.docbook -#docbook2man %{buildroot}%{_mandir}/man1/kerry.1.docbook - -%find_lang %{tdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -/sbin/ldconfig || : -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -/sbin/ldconfig || : -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - - -%files -f %{tdecomp}.lang -%defattr(-,root,root,-) -%{tde_datadir}/locale/*/LC_MESSAGES/kcmbeagle.mo -%{tde_bindir}/beagled-shutdown -%{tde_bindir}/kerry -%{tde_libdir}/libkdeinit_kerry.la -%{tde_libdir}/libkdeinit_kerry.so -%{tde_tdelibdir}/kcm_beagle.la -%{tde_tdelibdir}/kcm_beagle.so -%{tde_tdelibdir}/kerry.la -%{tde_tdelibdir}/kerry.so -%{tde_tdeappdir}/kcmbeagle.desktop -%{tde_tdeappdir}/kerry.desktop -%{tde_datadir}/applnk/.hidden/kcmkerry.desktop -%{tde_datadir}/apps/kerry/search-running.mng -%{tde_datadir}/autostart/beagled.desktop -%{tde_datadir}/autostart/kerry.autostart.desktop -%{tde_datadir}/icons/hicolor/*/*/* - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 0.2.1-3 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.2.1-2 -- Initial build for TDE 3.5.13.1 - -* Fri Nov 25 2011 Francois Andriot - 0.2.1-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kerry/trinity-kerry-3.5.13.spec b/redhat/applications/kerry/trinity-kerry-3.5.13.spec deleted file mode 100644 index 683baa429..000000000 --- a/redhat/applications/kerry/trinity-kerry-3.5.13.spec +++ /dev/null @@ -1,153 +0,0 @@ -# Default version for this component -%define kdecomp kerry - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: a KDE frontend for the Beagle desktop search daemon [Trinity] -Version: 0.2.1 -Release: 1%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://en.opensuse.org/Kerry - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz -Source1: kerry.1.docbook - -# [kerry] Missing LDFLAGS cause FTBFS on Mageia and Mandriva -Patch1: kerry-3.5.13-missing_ldflags.patch - - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext -BuildRequires: libbeagle-devel >= 0.3.0 - - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: docbook2x -%else -BuildRequires: docbook2X -%endif - -%description -Kerry is a Trinity frontend for the Beagle desktop search daemon. - -A program for indexing and searching user's data. At the moment, it can index -filesystems, chat logs, mail and data, RSS and other. - - - -%prep -%setup -q -n applications/%{kdecomp} -%patch1 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} - -%__make %{?_smp_mflags} - - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -#%__install -D -m 644 %{SOURCE1} %{buildroot}%{_mandir}/man1/kerry.1.docbook -#docbook2man %{buildroot}%{_mandir}/man1/kerry.1.docbook - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -/sbin/ldconfig || : -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -/sbin/ldconfig || : -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -update-desktop-database %{tde_appdir} &> /dev/null - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_datadir}/locale/*/LC_MESSAGES/kcmbeagle.mo -%{tde_bindir}/beagled-shutdown -%{tde_bindir}/kerry -%{tde_libdir}/libkdeinit_kerry.la -%{tde_libdir}/libkdeinit_kerry.so -%{tde_tdelibdir}/kcm_beagle.la -%{tde_tdelibdir}/kcm_beagle.so -%{tde_tdelibdir}/kerry.la -%{tde_tdelibdir}/kerry.so -%{tde_tdeappdir}/kcmbeagle.desktop -%{tde_tdeappdir}/kerry.desktop -%{tde_datadir}/applnk/.hidden/kcmkerry.desktop -%{tde_datadir}/apps/kerry/search-running.mng -%{tde_datadir}/autostart/beagled.desktop -%{tde_datadir}/autostart/kerry.autostart.desktop -%{tde_datadir}/icons/hicolor/*/*/* - - -%Changelog -* Fri Nov 25 2011 Francois Andriot - 0.2.1-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13.1.spec b/redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13.1.spec new file mode 100644 index 000000000..6a32e5073 --- /dev/null +++ b/redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13.1.spec @@ -0,0 +1,145 @@ +# Default version for this component +%define kdecomp kgtk-qt3 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Use KDE dialogs in Gtk apps +Version: 0.10.2 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +This is an LD_PRELOAD hack that allows most GTK +applications to use Trinity's file dialogs when run under Trinity. + +The Gtk file chooser functions have been overridden to communicate +with this KDE module/application. + +This package includes the kqt3-wrapper + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +find . -name CMakeLists.txt -exec sed -i {} \ + -e "s,/usr/include/tqt,%{tde_includedir}/tqt,g" \ + -e "s,/usr/bin/tmoc,%{tde_bindir}/tmoc,g" \ + -e "s,/usr/bin/uic-tqt,%{tde_bindir}/uic-tqt,g" \ + \; + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir} -L${QTLIB} -lX11" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +export CMAKE_INCLUDE_PATH="%{tde_tdeincludedir}" + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + + +%cmake \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DBUILD_ALL=ON \ + .. + +# SMP safe ! +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +# The "preload" file is used by "startkde" script +%__install -d -m 755 "%{buildroot}%{tde_datadir}/kgtk" +echo "%{tde_libdir}/kgtk/libkgtk2.so" >"%{buildroot}%{tde_datadir}/kgtk/preload" + +%find_lang kgtk + + + +%clean +%__rm -rf %{buildroot} + + +%files -f kgtk.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README TODO +%{tde_bindir}/kdialogd-wrapper +%{tde_bindir}/kdialogd3 +%{tde_bindir}/kgtk-wrapper +%{tde_bindir}/kgtk2-wrapper +%{tde_bindir}/kqt3-wrapper +%{tde_libdir}/kgtk/libkgtk2.so +%{tde_libdir}/kgtk/libkqt3.so +%{tde_datadir}/kgtk/preload + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.10.2-4 +- Initial build for TDE 3.5.13.1 + +* Sun Aug 26 2012 Francois Andriot - 0.10.2-3 +- Add 'preload' file for startkde script + +* Tue May 01 2012 Francois Andriot - 0.10.2-2 +- Rebuilt for Fedora 17 +- Removes post and postun + +* Thu Dec 01 2011 Francois Andriot - 0.10.2-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13.2.spec b/redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13.2.spec new file mode 100644 index 000000000..ec6c53108 --- /dev/null +++ b/redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13.2.spec @@ -0,0 +1,148 @@ +# Default version for this component +%define tdecomp kgtk-qt3 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: Use KDE dialogs in Gtk apps +Version: 0.10.2 +Release: 5%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +This is an LD_PRELOAD hack that allows most GTK +applications to use Trinity's file dialogs when run under Trinity. + +The Gtk file chooser functions have been overridden to communicate +with this KDE module/application. + +This package includes the kqt3-wrapper + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +find . -name CMakeLists.txt -exec sed -i {} \ + -e "s,/usr/include/tqt,%{tde_includedir}/tqt,g" \ + -e "s,/usr/bin/tmoc,%{tde_bindir}/tmoc,g" \ + -e "s,/usr/bin/uic-tqt,%{tde_bindir}/uic-tqt,g" \ + \; + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir} -L${QTLIB} -lX11" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +export CMAKE_INCLUDE_PATH="%{tde_tdeincludedir}" + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + + +%cmake \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DBUILD_ALL=ON \ + .. + +# SMP safe ! +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +# The "preload" file is used by "startkde" script +%__install -d -m 755 "%{buildroot}%{tde_datadir}/kgtk" +echo "%{tde_libdir}/kgtk/libkgtk2.so" >"%{buildroot}%{tde_datadir}/kgtk/preload" + +%find_lang kgtk + + + +%clean +%__rm -rf %{buildroot} + + +%files -f kgtk.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README TODO +%{tde_bindir}/kdialogd-wrapper +%{tde_bindir}/kdialogd3 +%{tde_bindir}/kgtk-wrapper +%{tde_bindir}/kgtk2-wrapper +%{tde_bindir}/kqt3-wrapper +%{tde_libdir}/kgtk/libkgtk2.so +%{tde_libdir}/kgtk/libkqt3.so +%{tde_datadir}/kgtk/preload + +%changelog +* Mon Jun 03 2013 Francois Andriot - 0.10.2-5 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.10.2-4 +- Initial build for TDE 3.5.13.1 + +* Sun Aug 26 2012 Francois Andriot - 0.10.2-3 +- Add 'preload' file for startkde script + +* Tue May 01 2012 Francois Andriot - 0.10.2-2 +- Rebuilt for Fedora 17 +- Removes post and postun + +* Thu Dec 01 2011 Francois Andriot - 0.10.2-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13.spec b/redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13.spec new file mode 100644 index 000000000..d0f1e46c6 --- /dev/null +++ b/redhat/applications/kgtk-qt3/kgtk-qt3-3.5.13.spec @@ -0,0 +1,138 @@ +# Default version for this component +%define kdecomp kgtk-qt3 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Use KDE dialogs in Gtk apps +Version: 0.10.2 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +# [kgtk-qt-engine] Fix libsuffix for 64 bits machines +Patch1: kgtk-qt3-3.5.13-fix_libsuffix.patch + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +This is an LD_PRELOAD hack that allows most GTK +applications to use Trinity's file dialogs when run under Trinity. + +The Gtk file chooser functions have been overridden to communicate +with this KDE module/application. + +This package includes the kqt3-wrapper + + +%prep +%setup -q -n applications/%{kdecomp} +%patch1 -p1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +find . -name CMakeLists.txt -exec sed -i {} \ + -e "s,/usr/include/tqt,%{tde_includedir}/tqt,g" \ + -e "s,/usr/bin/tmoc,%{tde_bindir}/tmoc,g" \ + -e "s,/usr/bin/uic-tqt,%{tde_bindir}/uic-tqt,g" \ + \; + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir} -L${QTLIB} -lX11" + +%if 0%{?rhel} || 0%{?fedora} +%__mkdir_p build +cd build +%endif + +export CMAKE_INCLUDE_PATH="%{tde_tdeincludedir}" + +%cmake \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + .. + +# SMP safe ! +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +# The "preload" file is used by "startkde" script +%__install -d -m 755 "%{buildroot}%{tde_datadir}/kgtk" +echo "%{tde_libdir}/kgtk/libkgtk2.so" >"%{buildroot}%{tde_datadir}/kgtk/preload" + +%find_lang kdialogd3 + + + +%clean +%__rm -rf %{buildroot} + + +%files -f kdialogd3.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README TODO +%{tde_bindir}/kdialogd-wrapper +%{tde_bindir}/kdialogd3 +%{tde_bindir}/kgtk-wrapper +%{tde_bindir}/kgtk2-wrapper +%{tde_bindir}/kqt3-wrapper +%{tde_libdir}/kgtk/libkgtk2.so +%{tde_libdir}/kgtk/libkqt3.so +%{tde_datadir}/kgtk/preload + +%Changelog +* Sun Aug 26 2012 Francois Andriot - 0.10.2-3 +- Add 'preload' file for startkde script + +* Tue May 01 2012 Francois Andriot - 0.10.2-2 +- Rebuilt for Fedora 17 +- Removes post and postun + +* Thu Dec 01 2011 Francois Andriot - 0.10.2-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kgtk-qt3/trinity-kgtk-qt3-3.5.13.1.spec b/redhat/applications/kgtk-qt3/trinity-kgtk-qt3-3.5.13.1.spec deleted file mode 100644 index 6a32e5073..000000000 --- a/redhat/applications/kgtk-qt3/trinity-kgtk-qt3-3.5.13.1.spec +++ /dev/null @@ -1,145 +0,0 @@ -# Default version for this component -%define kdecomp kgtk-qt3 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Use KDE dialogs in Gtk apps -Version: 0.10.2 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -This is an LD_PRELOAD hack that allows most GTK -applications to use Trinity's file dialogs when run under Trinity. - -The Gtk file chooser functions have been overridden to communicate -with this KDE module/application. - -This package includes the kqt3-wrapper - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -find . -name CMakeLists.txt -exec sed -i {} \ - -e "s,/usr/include/tqt,%{tde_includedir}/tqt,g" \ - -e "s,/usr/bin/tmoc,%{tde_bindir}/tmoc,g" \ - -e "s,/usr/bin/uic-tqt,%{tde_bindir}/uic-tqt,g" \ - \; - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir} -L${QTLIB} -lX11" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -export CMAKE_INCLUDE_PATH="%{tde_tdeincludedir}" - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - -DBUILD_ALL=ON \ - .. - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -# The "preload" file is used by "startkde" script -%__install -d -m 755 "%{buildroot}%{tde_datadir}/kgtk" -echo "%{tde_libdir}/kgtk/libkgtk2.so" >"%{buildroot}%{tde_datadir}/kgtk/preload" - -%find_lang kgtk - - - -%clean -%__rm -rf %{buildroot} - - -%files -f kgtk.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README TODO -%{tde_bindir}/kdialogd-wrapper -%{tde_bindir}/kdialogd3 -%{tde_bindir}/kgtk-wrapper -%{tde_bindir}/kgtk2-wrapper -%{tde_bindir}/kqt3-wrapper -%{tde_libdir}/kgtk/libkgtk2.so -%{tde_libdir}/kgtk/libkqt3.so -%{tde_datadir}/kgtk/preload - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.10.2-4 -- Initial build for TDE 3.5.13.1 - -* Sun Aug 26 2012 Francois Andriot - 0.10.2-3 -- Add 'preload' file for startkde script - -* Tue May 01 2012 Francois Andriot - 0.10.2-2 -- Rebuilt for Fedora 17 -- Removes post and postun - -* Thu Dec 01 2011 Francois Andriot - 0.10.2-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kgtk-qt3/trinity-kgtk-qt3-3.5.13.2.spec b/redhat/applications/kgtk-qt3/trinity-kgtk-qt3-3.5.13.2.spec deleted file mode 100644 index ec6c53108..000000000 --- a/redhat/applications/kgtk-qt3/trinity-kgtk-qt3-3.5.13.2.spec +++ /dev/null @@ -1,148 +0,0 @@ -# Default version for this component -%define tdecomp kgtk-qt3 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: Use KDE dialogs in Gtk apps -Version: 0.10.2 -Release: 5%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -This is an LD_PRELOAD hack that allows most GTK -applications to use Trinity's file dialogs when run under Trinity. - -The Gtk file chooser functions have been overridden to communicate -with this KDE module/application. - -This package includes the kqt3-wrapper - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -find . -name CMakeLists.txt -exec sed -i {} \ - -e "s,/usr/include/tqt,%{tde_includedir}/tqt,g" \ - -e "s,/usr/bin/tmoc,%{tde_bindir}/tmoc,g" \ - -e "s,/usr/bin/uic-tqt,%{tde_bindir}/uic-tqt,g" \ - \; - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir} -L${QTLIB} -lX11" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -export CMAKE_INCLUDE_PATH="%{tde_tdeincludedir}" - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - -DBUILD_ALL=ON \ - .. - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -# The "preload" file is used by "startkde" script -%__install -d -m 755 "%{buildroot}%{tde_datadir}/kgtk" -echo "%{tde_libdir}/kgtk/libkgtk2.so" >"%{buildroot}%{tde_datadir}/kgtk/preload" - -%find_lang kgtk - - - -%clean -%__rm -rf %{buildroot} - - -%files -f kgtk.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README TODO -%{tde_bindir}/kdialogd-wrapper -%{tde_bindir}/kdialogd3 -%{tde_bindir}/kgtk-wrapper -%{tde_bindir}/kgtk2-wrapper -%{tde_bindir}/kqt3-wrapper -%{tde_libdir}/kgtk/libkgtk2.so -%{tde_libdir}/kgtk/libkqt3.so -%{tde_datadir}/kgtk/preload - -%changelog -* Mon Jun 03 2013 Francois Andriot - 0.10.2-5 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.10.2-4 -- Initial build for TDE 3.5.13.1 - -* Sun Aug 26 2012 Francois Andriot - 0.10.2-3 -- Add 'preload' file for startkde script - -* Tue May 01 2012 Francois Andriot - 0.10.2-2 -- Rebuilt for Fedora 17 -- Removes post and postun - -* Thu Dec 01 2011 Francois Andriot - 0.10.2-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kgtk-qt3/trinity-kgtk-qt3-3.5.13.spec b/redhat/applications/kgtk-qt3/trinity-kgtk-qt3-3.5.13.spec deleted file mode 100644 index d0f1e46c6..000000000 --- a/redhat/applications/kgtk-qt3/trinity-kgtk-qt3-3.5.13.spec +++ /dev/null @@ -1,138 +0,0 @@ -# Default version for this component -%define kdecomp kgtk-qt3 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Use KDE dialogs in Gtk apps -Version: 0.10.2 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# [kgtk-qt-engine] Fix libsuffix for 64 bits machines -Patch1: kgtk-qt3-3.5.13-fix_libsuffix.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -This is an LD_PRELOAD hack that allows most GTK -applications to use Trinity's file dialogs when run under Trinity. - -The Gtk file chooser functions have been overridden to communicate -with this KDE module/application. - -This package includes the kqt3-wrapper - - -%prep -%setup -q -n applications/%{kdecomp} -%patch1 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -find . -name CMakeLists.txt -exec sed -i {} \ - -e "s,/usr/include/tqt,%{tde_includedir}/tqt,g" \ - -e "s,/usr/bin/tmoc,%{tde_bindir}/tmoc,g" \ - -e "s,/usr/bin/uic-tqt,%{tde_bindir}/uic-tqt,g" \ - \; - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir} -L${QTLIB} -lX11" - -%if 0%{?rhel} || 0%{?fedora} -%__mkdir_p build -cd build -%endif - -export CMAKE_INCLUDE_PATH="%{tde_tdeincludedir}" - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - .. - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -# The "preload" file is used by "startkde" script -%__install -d -m 755 "%{buildroot}%{tde_datadir}/kgtk" -echo "%{tde_libdir}/kgtk/libkgtk2.so" >"%{buildroot}%{tde_datadir}/kgtk/preload" - -%find_lang kdialogd3 - - - -%clean -%__rm -rf %{buildroot} - - -%files -f kdialogd3.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README TODO -%{tde_bindir}/kdialogd-wrapper -%{tde_bindir}/kdialogd3 -%{tde_bindir}/kgtk-wrapper -%{tde_bindir}/kgtk2-wrapper -%{tde_bindir}/kqt3-wrapper -%{tde_libdir}/kgtk/libkgtk2.so -%{tde_libdir}/kgtk/libkqt3.so -%{tde_datadir}/kgtk/preload - -%Changelog -* Sun Aug 26 2012 Francois Andriot - 0.10.2-3 -- Add 'preload' file for startkde script - -* Tue May 01 2012 Francois Andriot - 0.10.2-2 -- Rebuilt for Fedora 17 -- Removes post and postun - -* Thu Dec 01 2011 Francois Andriot - 0.10.2-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kile/kile-3.5.13.1.spec b/redhat/applications/kile/kile-3.5.13.1.spec new file mode 100644 index 000000000..dbd5e8f8d --- /dev/null +++ b/redhat/applications/kile/kile-3.5.13.1.spec @@ -0,0 +1,210 @@ +# Default version for this component +%define kdecomp kile + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: KDE Integrated LaTeX Environment [Trinity] +Version: 2.0.2 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Publishing + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +Obsoletes: %{name}-i18n-ar +Obsoletes: %{name}-i18n-bg +Obsoletes: %{name}-i18n-br +Obsoletes: %{name}-i18n-ca +Obsoletes: %{name}-i18n-cs +Obsoletes: %{name}-i18n-cy +Obsoletes: %{name}-i18n-da +Obsoletes: %{name}-i18n-de +Obsoletes: %{name}-i18n-el +Obsoletes: %{name}-i18n-engb +Obsoletes: %{name}-i18n-es +Obsoletes: %{name}-i18n-et +Obsoletes: %{name}-i18n-eu +Obsoletes: %{name}-i18n-fi +Obsoletes: %{name}-i18n-fr +Obsoletes: %{name}-i18n-ga +Obsoletes: %{name}-i18n-gl +Obsoletes: %{name}-i18n-hi +Obsoletes: %{name}-i18n-hu +Obsoletes: %{name}-i18n-is +Obsoletes: %{name}-i18n-it +Obsoletes: %{name}-i18n-ja +Obsoletes: %{name}-i18n-lt +Obsoletes: %{name}-i18n-ms +Obsoletes: %{name}-i18n-mt +Obsoletes: %{name}-i18n-nb +Obsoletes: %{name}-i18n-nds +Obsoletes: %{name}-i18n-nl +Obsoletes: %{name}-i18n-nn +Obsoletes: %{name}-i18n-pa +Obsoletes: %{name}-i18n-pl +Obsoletes: %{name}-i18n-pt +Obsoletes: %{name}-i18n-ptbr +Obsoletes: %{name}-i18n-ro +Obsoletes: %{name}-i18n-ru +Obsoletes: %{name}-i18n-rw +Obsoletes: %{name}-i18n-sk +Obsoletes: %{name}-i18n-sr +Obsoletes: %{name}-i18n-srlatin +Obsoletes: %{name}-i18n-sv +Obsoletes: %{name}-i18n-ta +Obsoletes: %{name}-i18n-th +Obsoletes: %{name}-i18n-tr +Obsoletes: %{name}-i18n-uk +Obsoletes: %{name}-i18n-zhcn + + +%description +Kile is a user-friendly LaTeX source editor and TeX shell for TDE. + +The source editor is a multi-document editor designed for .tex and .bib +files. Menus, wizards and auto-completion are provided to assist with +tag insertion and code generation. A structural view of the document +assists with navigation within source files. + +The TeX shell integrates the various tools required for TeX processing. +It assists with LaTeX compilation, DVI and postscript document viewing, +generation of bibliographies and indices and other common tasks. + +Kile can support large projects consisting of several smaller files. + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%__chmod +x %{buildroot}%{tde_datadir}/apps/kile/test/runTests.sh + +# Unwanted files ... +%__rm -f %{?buildroot}%{tde_datadir}/apps/katepart/syntax/bibtex.xml +%__rm -f %{?buildroot}%{tde_datadir}/apps/katepart/syntax/latex.xml + +%find_lang %{kdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/kile +%{tde_tdeappdir}/kile.desktop +%{tde_datadir}/apps/kconf_update +%{tde_datadir}/apps/kile +%{tde_datadir}/config.kcfg/kile.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kile.png +%{tde_datadir}/icons/hicolor/scalable/apps/kile.svgz +%{tde_tdedocdir}/HTML/en/kile +%{tde_datadir}/mimelnk/text/x-kilepr.desktop + +%lang(da) %{tde_tdedocdir}/HTML/da/kile/ +%lang(es) %{tde_tdedocdir}/HTML/es/kile/ +%lang(et) %{tde_tdedocdir}/HTML/et/kile/ +%lang(it) %{tde_tdedocdir}/HTML/it/kile/ +%lang(nl) %{tde_tdedocdir}/HTML/nl/kile/ +%lang(pt) %{tde_tdedocdir}/HTML/pt/kile/ +%lang(sv) %{tde_tdedocdir}/HTML/sv/kile/ + + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 2.0.2-4 +- Initial build for TDE 3.5.13.1 + +* Tue May 01 2012 Francois Andriot - 2.0.2-3 +- Rebuilt for Fedora 17 +- Removes the XPM icon + +* Fri Apr 20 2012 Francois Andriot - 2.0.2-2 +- Fix file conflict with trinity-kdelibs + +* Fri Nov 25 2011 Francois Andriot - 2.0.2-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kile/kile-3.5.13.2.spec b/redhat/applications/kile/kile-3.5.13.2.spec new file mode 100644 index 000000000..7ba48dfae --- /dev/null +++ b/redhat/applications/kile/kile-3.5.13.2.spec @@ -0,0 +1,213 @@ +# Default version for this component +%define tdecomp kile + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: KDE Integrated LaTeX Environment [Trinity] +Version: 2.0.2 +Release: 5%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Publishing + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +Obsoletes: %{name}-i18n-ar +Obsoletes: %{name}-i18n-bg +Obsoletes: %{name}-i18n-br +Obsoletes: %{name}-i18n-ca +Obsoletes: %{name}-i18n-cs +Obsoletes: %{name}-i18n-cy +Obsoletes: %{name}-i18n-da +Obsoletes: %{name}-i18n-de +Obsoletes: %{name}-i18n-el +Obsoletes: %{name}-i18n-engb +Obsoletes: %{name}-i18n-es +Obsoletes: %{name}-i18n-et +Obsoletes: %{name}-i18n-eu +Obsoletes: %{name}-i18n-fi +Obsoletes: %{name}-i18n-fr +Obsoletes: %{name}-i18n-ga +Obsoletes: %{name}-i18n-gl +Obsoletes: %{name}-i18n-hi +Obsoletes: %{name}-i18n-hu +Obsoletes: %{name}-i18n-is +Obsoletes: %{name}-i18n-it +Obsoletes: %{name}-i18n-ja +Obsoletes: %{name}-i18n-lt +Obsoletes: %{name}-i18n-ms +Obsoletes: %{name}-i18n-mt +Obsoletes: %{name}-i18n-nb +Obsoletes: %{name}-i18n-nds +Obsoletes: %{name}-i18n-nl +Obsoletes: %{name}-i18n-nn +Obsoletes: %{name}-i18n-pa +Obsoletes: %{name}-i18n-pl +Obsoletes: %{name}-i18n-pt +Obsoletes: %{name}-i18n-ptbr +Obsoletes: %{name}-i18n-ro +Obsoletes: %{name}-i18n-ru +Obsoletes: %{name}-i18n-rw +Obsoletes: %{name}-i18n-sk +Obsoletes: %{name}-i18n-sr +Obsoletes: %{name}-i18n-srlatin +Obsoletes: %{name}-i18n-sv +Obsoletes: %{name}-i18n-ta +Obsoletes: %{name}-i18n-th +Obsoletes: %{name}-i18n-tr +Obsoletes: %{name}-i18n-uk +Obsoletes: %{name}-i18n-zhcn + + +%description +Kile is a user-friendly LaTeX source editor and TeX shell for TDE. + +The source editor is a multi-document editor designed for .tex and .bib +files. Menus, wizards and auto-completion are provided to assist with +tag insertion and code generation. A structural view of the document +assists with navigation within source files. + +The TeX shell integrates the various tools required for TeX processing. +It assists with LaTeX compilation, DVI and postscript document viewing, +generation of bibliographies and indices and other common tasks. + +Kile can support large projects consisting of several smaller files. + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%__chmod +x %{buildroot}%{tde_datadir}/apps/kile/test/runTests.sh + +# Unwanted files ... +%__rm -f %{?buildroot}%{tde_datadir}/apps/katepart/syntax/bibtex.xml +%__rm -f %{?buildroot}%{tde_datadir}/apps/katepart/syntax/latex.xml + +%find_lang %{tdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files -f %{tdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/kile +%{tde_tdeappdir}/kile.desktop +%{tde_datadir}/apps/kconf_update +%{tde_datadir}/apps/kile +%{tde_datadir}/config.kcfg/kile.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kile.png +%{tde_datadir}/icons/hicolor/scalable/apps/kile.svgz +%{tde_tdedocdir}/HTML/en/kile +%{tde_datadir}/mimelnk/text/x-kilepr.desktop + +%lang(da) %{tde_tdedocdir}/HTML/da/kile/ +%lang(es) %{tde_tdedocdir}/HTML/es/kile/ +%lang(et) %{tde_tdedocdir}/HTML/et/kile/ +%lang(it) %{tde_tdedocdir}/HTML/it/kile/ +%lang(nl) %{tde_tdedocdir}/HTML/nl/kile/ +%lang(pt) %{tde_tdedocdir}/HTML/pt/kile/ +%lang(sv) %{tde_tdedocdir}/HTML/sv/kile/ + + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 2.0.2-5 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 2.0.2-4 +- Initial build for TDE 3.5.13.1 + +* Tue May 01 2012 Francois Andriot - 2.0.2-3 +- Rebuilt for Fedora 17 +- Removes the XPM icon + +* Fri Apr 20 2012 Francois Andriot - 2.0.2-2 +- Fix file conflict with trinity-kdelibs + +* Fri Nov 25 2011 Francois Andriot - 2.0.2-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kile/kile-3.5.13.spec b/redhat/applications/kile/kile-3.5.13.spec new file mode 100644 index 000000000..96318c5a9 --- /dev/null +++ b/redhat/applications/kile/kile-3.5.13.spec @@ -0,0 +1,648 @@ +# Default version for this component +%define kdecomp kile + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: KDE Integrated LaTeX Environment [Trinity] +Version: 2.0.2 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Publishing + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + +%package i18n-ar +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Arabic (ar) translations for Kile [Trinity] +%description i18n-ar +This package contains the Arabic translations for Kile. + +%package i18n-bg +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Bulgarian (bg) translations for Kile [Trinity] +%description i18n-bg +This package contains the Bulgarian translations for Kile. + +%package i18n-br +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Brazilian (br) translations for Kile [Trinity] +%description i18n-br +This package contains the Brazilian translations for Kile. + +%package i18n-ca +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Catalan (ca) translations for Kile [Trinity] +%description i18n-ca +This package contains the Catalan translations for Kile. + +%package i18n-cs +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Czech (cs) translations for Kile [Trinity] +%description i18n-cs +This package contains the Czech translations for Kile. + +%package i18n-cy +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Welsh (cy) translations for Kile [Trinity] +%description i18n-cy +This package contains the Welsh translations for Kile. + +%package i18n-da +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Danish (da) translations for Kile [Trinity] +%description i18n-da +This package contains the Danish translations for Kile. + +%package i18n-de +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: German (de) translations for Kile [Trinity] +%description i18n-de +This package contains the German translations for Kile. + +%package i18n-el +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Greek (el) translations for Kile [Trinity] +%description i18n-el +This package contains the greek translations for Kile. + +%package i18n-engb +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: British English (en_GB) translations for Kile [Trinity] +%description i18n-engb +This package contains the British English (en_GB) translations for Kile [Trinity]. + +%package i18n-es +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Spanish (es) translations for Kile [Trinity] +%description i18n-es +This package contains the Spanish translations for Kile. + +%package i18n-et +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Estonian (et) translations for Kile [Trinity] +%description i18n-et +This package contains the Estonian translations for Kile. + +%package i18n-eu +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Basque (eu) translations for Kile [Trinity] +%description i18n-eu +This package contains the Basque translations for Kile. + +%package i18n-fi +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Finnish (fi) translations for Kile [Trinity] +%description i18n-fi +This package contains the Finnish translations for Kile. + +%package i18n-fr +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: French (fr) translations for Kile [Trinity] +%description i18n-fr +This package contains the French translations for Kile. + +%package i18n-ga +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Irish Gaelic (ga) translations for Kile [Trinity] +%description i18n-ga +This package contains the Irish Gaelic translations for Kile. + +%package i18n-gl +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Galician (gl) translations for Kile [Trinity] +%description i18n-gl +This package contains the Galician translations for Kile. + +%package i18n-hi +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Hindi (hi) translations for Kile [Trinity] +%description i18n-hi +This package contains the Hindi translations for Kile. + +%package i18n-hu +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Hungarian (hu) translations for Kile [Trinity] +%description i18n-hu +This package contains the Hungarian translations for Kile. + +%package i18n-is +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Icelandic (is) translations for Kile [Trinity] +%description i18n-is +This package contains the Icelandic translations for Kile. + +%package i18n-it +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Italian (it) translations for Kile [Trinity] +%description i18n-it +This package contains the Italian translations for Kile. + +%package i18n-ja +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Japanese (ja) translations for Kile [Trinity] +%description i18n-ja +This package contains the Japanese translations for Kile. + +%package i18n-lt +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Lithuanian (lt) translations for Kile [Trinity] +%description i18n-lt +This package contains the Lithuanian translations for Kile. + +%package i18n-ms +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Malay (ms) translations for Kile [Trinity] +%description i18n-ms +This package contains the Malay translations for Kile. + +%package i18n-mt +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Maltese (mt) translations for Kile [Trinity] +%description i18n-mt +This package contains the Maltese translations for Kile. + +%package i18n-nb +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Norwegian Bookmal (nb) translations for Kile [Trinity] +%description i18n-nb +This package contains the Norwegian Bookmal translations for Kile. + +%package i18n-nds +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Low Saxon (nds) translations for Kile [Trinity] +%description i18n-nds +This package contains the Low Saxon translations for Kile. + +%package i18n-nl +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Dutch (nl) translations for Kile [Trinity] +%description i18n-nl +This package contains the Dutch translations for Kile. + +%package i18n-nn +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Norwegian Nynorsk (nn) translations for Kile [Trinity] +%description i18n-nn +This package contains the Norwegian Nynorsk translations for Kile. + +%package i18n-pa +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Punjabi (pa) translations for Kile [Trinity] +%description i18n-pa +This package contains the Punjabi translations for Kile. + +%package i18n-pl +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Polish (pl) translations for Kile [Trinity] +%description i18n-pl +This package contains the Polish translations for Kile. + +%package i18n-pt +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Portuguese (pt) translations for Kile [Trinity] +%description i18n-pt +This package contains the Portuguese translations for Kile. + +%package i18n-ptbr +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Brazilian Portuguese (pt_BR) translations for Kile [Trinity] +%description i18n-ptbr +This package contains the Brazilian Portuguese translations for Kile. + +%package i18n-ro +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Romanian (ro) translations for Kile [Trinity] +%description i18n-ro +This package contains the Romanian translations for Kile. + +%package i18n-ru +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Russian (ru) translations for Kile [Trinity] +%description i18n-ru +This package contains the Russian translations for Kile. + +%package i18n-rw +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Kinyarwanda (rw) translations for Kile [Trinity] +%description i18n-rw +This package contains the Kinyarwanda translations for Kile. + +%package i18n-sk +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Slovak (sk) translations for Kile [Trinity] +%description i18n-sk +This package contains the Slovak translations for Kile. + +%package i18n-sr +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Serbian (sr) translations for Kile [Trinity] +%description i18n-sr +This package contains the Serbian translations for Kile. + +%package i18n-srlatin +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Latin Serbian (sr@Latn) translations for Kile [Trinity] +%description i18n-srlatin +This package contains the Latin Serbian translations for Kile. + +%package i18n-sv +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Swedish (sv) translations for Kile [Trinity] +%description i18n-sv +This package contains the Swedish translations for Kile. + +%package i18n-ta +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Tamil (ta) translations for Kile [Trinity] +%description i18n-ta +This package contains the Tamil translations for Kile. + +%package i18n-th +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Thai (th) translations for Kile [Trinity] +%description i18n-th +This package contains the Thai translations for Kile. + +%package i18n-tr +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Turkish (tr) translations for Kile [Trinity] +%description i18n-tr +This package contains the Turkish translations for Kile. + +%package i18n-uk +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Ukrainian (uk) translations for Kile [Trinity] +%description i18n-uk +This package contains the Ukrainian translations for Kile. + +%package i18n-zhcn +Group: Applications/Publishing +Requires: %{name} >= %{version} +Provides: trinity-kile-i18n +Summary: Chinese Simplified (zh_CN) translations for Kile [Trinity] +%description i18n-zhcn +This package contains the Chinese Simplified translations for Kile. + + +%description +Kile is a user-friendly LaTeX source editor and TeX shell for TDE. + +The source editor is a multi-document editor designed for .tex and .bib +files. Menus, wizards and auto-completion are provided to assist with +tag insertion and code generation. A structural view of the document +assists with navigation within source files. + +The TeX shell integrates the various tools required for TeX processing. +It assists with LaTeX compilation, DVI and postscript document viewing, +generation of bibliographies and indices and other common tasks. + +Kile can support large projects consisting of several smaller files. + +%prep +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%__chmod +x %{buildroot}%{tde_datadir}/apps/kile/test/runTests.sh + +# Unwanted files ... +%__rm -f %{?buildroot}%{tde_datadir}/apps/katepart/syntax/bibtex.xml +%__rm -f %{?buildroot}%{tde_datadir}/apps/katepart/syntax/latex.xml + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%{tde_bindir}/kile +%{tde_tdeappdir}/kile.desktop +%{tde_datadir}/apps/kconf_update +%{tde_datadir}/apps/kile +%{tde_datadir}/config.kcfg/kile.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kile.png +%{tde_datadir}/icons/hicolor/scalable/apps/kile.svgz +%{tde_tdedocdir}/HTML/en/kile +%{tde_datadir}/mimelnk/text/x-kilepr.desktop + +%files i18n-da +%lang(da) %{tde_tdedocdir}/HTML/da/kile +%lang(da) %{tde_datadir}/locale/da/LC_MESSAGES/kile.mo + +%files i18n-es +%lang(es) %{tde_tdedocdir}/HTML/es/kile +%lang(es) %{tde_datadir}/locale/es/LC_MESSAGES/kile.mo + +%files i18n-et +%lang(et) %{tde_tdedocdir}/HTML/et/kile +%lang(et) %{tde_datadir}/locale/et/LC_MESSAGES/kile.mo + +%files i18n-it +%lang(it) %{tde_tdedocdir}/HTML/it/kile +%lang(it) %{tde_datadir}/locale/it/LC_MESSAGES/kile.mo + +%files i18n-nl +%lang(nl) %{tde_tdedocdir}/HTML/nl/kile +%lang(nl) %{tde_datadir}/locale/nl/LC_MESSAGES/kile.mo + +%files i18n-pt +%lang(pt) %{tde_tdedocdir}/HTML/pt/kile +%lang(pt) %{tde_datadir}/locale/pt/LC_MESSAGES/kile.mo + +%files i18n-sv +%lang(sv) %{tde_tdedocdir}/HTML/sv/kile +%lang(sv) %{tde_datadir}/locale/sv/LC_MESSAGES/kile.mo + +%files i18n-ar +%lang(ar) %{tde_datadir}/locale/ar/LC_MESSAGES/kile.mo + +%files i18n-bg +%lang(bg) %{tde_datadir}/locale/bg/LC_MESSAGES/kile.mo + +%files i18n-br +%lang(br) %{tde_datadir}/locale/br/LC_MESSAGES/kile.mo + +%files i18n-ca +%lang(ca) %{tde_datadir}/locale/ca/LC_MESSAGES/kile.mo + +%files i18n-cs +%lang(cs) %{tde_datadir}/locale/cs/LC_MESSAGES/kile.mo + +%files i18n-cy +%lang(cy) %{tde_datadir}/locale/cy/LC_MESSAGES/kile.mo + +%files i18n-de +%lang(de) %{tde_datadir}/locale/de/LC_MESSAGES/kile.mo + +%files i18n-el +%lang(el) %{tde_datadir}/locale/el/LC_MESSAGES/kile.mo + +%files i18n-engb +%lang(en_GB) %{tde_datadir}/locale/en_GB/LC_MESSAGES/kile.mo + +%files i18n-eu +%lang(eu) %{tde_datadir}/locale/eu/LC_MESSAGES/kile.mo + +%files i18n-fi +%lang(fi) %{tde_datadir}/locale/fi/LC_MESSAGES/kile.mo + +%files i18n-fr +%lang(fr) %{tde_datadir}/locale/fr/LC_MESSAGES/kile.mo + +%files i18n-ga +%lang(ga) %{tde_datadir}/locale/ga/LC_MESSAGES/kile.mo + +%files i18n-gl +%lang(gl) %{tde_datadir}/locale/gl/LC_MESSAGES/kile.mo + +%files i18n-hi +%lang(hi) %{tde_datadir}/locale/hi/LC_MESSAGES/kile.mo + +%files i18n-hu +%lang(hu) %{tde_datadir}/locale/hu/LC_MESSAGES/kile.mo + +%files i18n-is +%lang(is) %{tde_datadir}/locale/is/LC_MESSAGES/kile.mo + +%files i18n-ja +%lang(ja) %{tde_datadir}/locale/ja/LC_MESSAGES/kile.mo + +%files i18n-lt +%lang(lt) %{tde_datadir}/locale/lt/LC_MESSAGES/kile.mo + +%files i18n-ms +%lang(ms) %{tde_datadir}/locale/ms/LC_MESSAGES/kile.mo + +%files i18n-mt +%lang(mt) %{tde_datadir}/locale/mt/LC_MESSAGES/kile.mo + +%files i18n-nb +%lang(nb) %{tde_datadir}/locale/nb/LC_MESSAGES/kile.mo + +%files i18n-nds +%lang(nds) %{tde_datadir}/locale/nds/LC_MESSAGES/kile.mo + +%files i18n-nn +%lang(nn) %{tde_datadir}/locale/nn/LC_MESSAGES/kile.mo + +%files i18n-pa +%lang(pa) %{tde_datadir}/locale/pa/LC_MESSAGES/kile.mo + +%files i18n-pl +%lang(pl) %{tde_datadir}/locale/pl/LC_MESSAGES/kile.mo + +%files i18n-ptbr +%lang(pt_BR) %{tde_datadir}/locale/pt_BR/LC_MESSAGES/kile.mo + +%files i18n-ro +%lang(ro) %{tde_datadir}/locale/ro/LC_MESSAGES/kile.mo + +%files i18n-ru +%lang(ru) %{tde_datadir}/locale/ru/LC_MESSAGES/kile.mo + +%files i18n-rw +%lang(rw) %{tde_datadir}/locale/rw/LC_MESSAGES/kile.mo + +%files i18n-sk +%lang(sk) %{tde_datadir}/locale/sk/LC_MESSAGES/kile.mo + +%files i18n-sr +%lang(sr) %{tde_datadir}/locale/sr/LC_MESSAGES/kile.mo + +%files i18n-srlatin +%lang(sr@Latn) %{tde_datadir}/locale/sr@Latn/LC_MESSAGES/kile.mo + +%files i18n-ta +%lang(ta) %{tde_datadir}/locale/ta/LC_MESSAGES/kile.mo + +%files i18n-th +%lang(th) %{tde_datadir}/locale/th/LC_MESSAGES/kile.mo + +%files i18n-tr +%lang(tr) %{tde_datadir}/locale/tr/LC_MESSAGES/kile.mo + +%files i18n-uk +%lang(uk) %{tde_datadir}/locale/uk/LC_MESSAGES/kile.mo + +%files i18n-zhcn +%lang(zh_CN) %{tde_datadir}/locale/zh_CN/LC_MESSAGES/kile.mo + + + + +%Changelog +* Tue May 01 2012 Francois Andriot - 2.0.2-3 +- Rebuilt for Fedora 17 +- Removes the XPM icon + +* Fri Apr 20 2012 Francois Andriot - 2.0.2-2 +- Fix file conflict with trinity-kdelibs + +* Fri Nov 25 2011 Francois Andriot - 2.0.2-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kile/trinity-kile-3.5.13.1.spec b/redhat/applications/kile/trinity-kile-3.5.13.1.spec deleted file mode 100644 index dbd5e8f8d..000000000 --- a/redhat/applications/kile/trinity-kile-3.5.13.1.spec +++ /dev/null @@ -1,210 +0,0 @@ -# Default version for this component -%define kdecomp kile - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: KDE Integrated LaTeX Environment [Trinity] -Version: 2.0.2 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Publishing - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -Obsoletes: %{name}-i18n-ar -Obsoletes: %{name}-i18n-bg -Obsoletes: %{name}-i18n-br -Obsoletes: %{name}-i18n-ca -Obsoletes: %{name}-i18n-cs -Obsoletes: %{name}-i18n-cy -Obsoletes: %{name}-i18n-da -Obsoletes: %{name}-i18n-de -Obsoletes: %{name}-i18n-el -Obsoletes: %{name}-i18n-engb -Obsoletes: %{name}-i18n-es -Obsoletes: %{name}-i18n-et -Obsoletes: %{name}-i18n-eu -Obsoletes: %{name}-i18n-fi -Obsoletes: %{name}-i18n-fr -Obsoletes: %{name}-i18n-ga -Obsoletes: %{name}-i18n-gl -Obsoletes: %{name}-i18n-hi -Obsoletes: %{name}-i18n-hu -Obsoletes: %{name}-i18n-is -Obsoletes: %{name}-i18n-it -Obsoletes: %{name}-i18n-ja -Obsoletes: %{name}-i18n-lt -Obsoletes: %{name}-i18n-ms -Obsoletes: %{name}-i18n-mt -Obsoletes: %{name}-i18n-nb -Obsoletes: %{name}-i18n-nds -Obsoletes: %{name}-i18n-nl -Obsoletes: %{name}-i18n-nn -Obsoletes: %{name}-i18n-pa -Obsoletes: %{name}-i18n-pl -Obsoletes: %{name}-i18n-pt -Obsoletes: %{name}-i18n-ptbr -Obsoletes: %{name}-i18n-ro -Obsoletes: %{name}-i18n-ru -Obsoletes: %{name}-i18n-rw -Obsoletes: %{name}-i18n-sk -Obsoletes: %{name}-i18n-sr -Obsoletes: %{name}-i18n-srlatin -Obsoletes: %{name}-i18n-sv -Obsoletes: %{name}-i18n-ta -Obsoletes: %{name}-i18n-th -Obsoletes: %{name}-i18n-tr -Obsoletes: %{name}-i18n-uk -Obsoletes: %{name}-i18n-zhcn - - -%description -Kile is a user-friendly LaTeX source editor and TeX shell for TDE. - -The source editor is a multi-document editor designed for .tex and .bib -files. Menus, wizards and auto-completion are provided to assist with -tag insertion and code generation. A structural view of the document -assists with navigation within source files. - -The TeX shell integrates the various tools required for TeX processing. -It assists with LaTeX compilation, DVI and postscript document viewing, -generation of bibliographies and indices and other common tasks. - -Kile can support large projects consisting of several smaller files. - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%__chmod +x %{buildroot}%{tde_datadir}/apps/kile/test/runTests.sh - -# Unwanted files ... -%__rm -f %{?buildroot}%{tde_datadir}/apps/katepart/syntax/bibtex.xml -%__rm -f %{?buildroot}%{tde_datadir}/apps/katepart/syntax/latex.xml - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/kile -%{tde_tdeappdir}/kile.desktop -%{tde_datadir}/apps/kconf_update -%{tde_datadir}/apps/kile -%{tde_datadir}/config.kcfg/kile.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kile.png -%{tde_datadir}/icons/hicolor/scalable/apps/kile.svgz -%{tde_tdedocdir}/HTML/en/kile -%{tde_datadir}/mimelnk/text/x-kilepr.desktop - -%lang(da) %{tde_tdedocdir}/HTML/da/kile/ -%lang(es) %{tde_tdedocdir}/HTML/es/kile/ -%lang(et) %{tde_tdedocdir}/HTML/et/kile/ -%lang(it) %{tde_tdedocdir}/HTML/it/kile/ -%lang(nl) %{tde_tdedocdir}/HTML/nl/kile/ -%lang(pt) %{tde_tdedocdir}/HTML/pt/kile/ -%lang(sv) %{tde_tdedocdir}/HTML/sv/kile/ - - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 2.0.2-4 -- Initial build for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 2.0.2-3 -- Rebuilt for Fedora 17 -- Removes the XPM icon - -* Fri Apr 20 2012 Francois Andriot - 2.0.2-2 -- Fix file conflict with trinity-kdelibs - -* Fri Nov 25 2011 Francois Andriot - 2.0.2-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kile/trinity-kile-3.5.13.2.spec b/redhat/applications/kile/trinity-kile-3.5.13.2.spec deleted file mode 100644 index 7ba48dfae..000000000 --- a/redhat/applications/kile/trinity-kile-3.5.13.2.spec +++ /dev/null @@ -1,213 +0,0 @@ -# Default version for this component -%define tdecomp kile - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: KDE Integrated LaTeX Environment [Trinity] -Version: 2.0.2 -Release: 5%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Publishing - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -Obsoletes: %{name}-i18n-ar -Obsoletes: %{name}-i18n-bg -Obsoletes: %{name}-i18n-br -Obsoletes: %{name}-i18n-ca -Obsoletes: %{name}-i18n-cs -Obsoletes: %{name}-i18n-cy -Obsoletes: %{name}-i18n-da -Obsoletes: %{name}-i18n-de -Obsoletes: %{name}-i18n-el -Obsoletes: %{name}-i18n-engb -Obsoletes: %{name}-i18n-es -Obsoletes: %{name}-i18n-et -Obsoletes: %{name}-i18n-eu -Obsoletes: %{name}-i18n-fi -Obsoletes: %{name}-i18n-fr -Obsoletes: %{name}-i18n-ga -Obsoletes: %{name}-i18n-gl -Obsoletes: %{name}-i18n-hi -Obsoletes: %{name}-i18n-hu -Obsoletes: %{name}-i18n-is -Obsoletes: %{name}-i18n-it -Obsoletes: %{name}-i18n-ja -Obsoletes: %{name}-i18n-lt -Obsoletes: %{name}-i18n-ms -Obsoletes: %{name}-i18n-mt -Obsoletes: %{name}-i18n-nb -Obsoletes: %{name}-i18n-nds -Obsoletes: %{name}-i18n-nl -Obsoletes: %{name}-i18n-nn -Obsoletes: %{name}-i18n-pa -Obsoletes: %{name}-i18n-pl -Obsoletes: %{name}-i18n-pt -Obsoletes: %{name}-i18n-ptbr -Obsoletes: %{name}-i18n-ro -Obsoletes: %{name}-i18n-ru -Obsoletes: %{name}-i18n-rw -Obsoletes: %{name}-i18n-sk -Obsoletes: %{name}-i18n-sr -Obsoletes: %{name}-i18n-srlatin -Obsoletes: %{name}-i18n-sv -Obsoletes: %{name}-i18n-ta -Obsoletes: %{name}-i18n-th -Obsoletes: %{name}-i18n-tr -Obsoletes: %{name}-i18n-uk -Obsoletes: %{name}-i18n-zhcn - - -%description -Kile is a user-friendly LaTeX source editor and TeX shell for TDE. - -The source editor is a multi-document editor designed for .tex and .bib -files. Menus, wizards and auto-completion are provided to assist with -tag insertion and code generation. A structural view of the document -assists with navigation within source files. - -The TeX shell integrates the various tools required for TeX processing. -It assists with LaTeX compilation, DVI and postscript document viewing, -generation of bibliographies and indices and other common tasks. - -Kile can support large projects consisting of several smaller files. - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%__chmod +x %{buildroot}%{tde_datadir}/apps/kile/test/runTests.sh - -# Unwanted files ... -%__rm -f %{?buildroot}%{tde_datadir}/apps/katepart/syntax/bibtex.xml -%__rm -f %{?buildroot}%{tde_datadir}/apps/katepart/syntax/latex.xml - -%find_lang %{tdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{tdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/kile -%{tde_tdeappdir}/kile.desktop -%{tde_datadir}/apps/kconf_update -%{tde_datadir}/apps/kile -%{tde_datadir}/config.kcfg/kile.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kile.png -%{tde_datadir}/icons/hicolor/scalable/apps/kile.svgz -%{tde_tdedocdir}/HTML/en/kile -%{tde_datadir}/mimelnk/text/x-kilepr.desktop - -%lang(da) %{tde_tdedocdir}/HTML/da/kile/ -%lang(es) %{tde_tdedocdir}/HTML/es/kile/ -%lang(et) %{tde_tdedocdir}/HTML/et/kile/ -%lang(it) %{tde_tdedocdir}/HTML/it/kile/ -%lang(nl) %{tde_tdedocdir}/HTML/nl/kile/ -%lang(pt) %{tde_tdedocdir}/HTML/pt/kile/ -%lang(sv) %{tde_tdedocdir}/HTML/sv/kile/ - - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 2.0.2-5 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 2.0.2-4 -- Initial build for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 2.0.2-3 -- Rebuilt for Fedora 17 -- Removes the XPM icon - -* Fri Apr 20 2012 Francois Andriot - 2.0.2-2 -- Fix file conflict with trinity-kdelibs - -* Fri Nov 25 2011 Francois Andriot - 2.0.2-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kile/trinity-kile-3.5.13.spec b/redhat/applications/kile/trinity-kile-3.5.13.spec deleted file mode 100644 index 96318c5a9..000000000 --- a/redhat/applications/kile/trinity-kile-3.5.13.spec +++ /dev/null @@ -1,648 +0,0 @@ -# Default version for this component -%define kdecomp kile - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: KDE Integrated LaTeX Environment [Trinity] -Version: 2.0.2 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Publishing - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - -%package i18n-ar -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Arabic (ar) translations for Kile [Trinity] -%description i18n-ar -This package contains the Arabic translations for Kile. - -%package i18n-bg -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Bulgarian (bg) translations for Kile [Trinity] -%description i18n-bg -This package contains the Bulgarian translations for Kile. - -%package i18n-br -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Brazilian (br) translations for Kile [Trinity] -%description i18n-br -This package contains the Brazilian translations for Kile. - -%package i18n-ca -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Catalan (ca) translations for Kile [Trinity] -%description i18n-ca -This package contains the Catalan translations for Kile. - -%package i18n-cs -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Czech (cs) translations for Kile [Trinity] -%description i18n-cs -This package contains the Czech translations for Kile. - -%package i18n-cy -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Welsh (cy) translations for Kile [Trinity] -%description i18n-cy -This package contains the Welsh translations for Kile. - -%package i18n-da -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Danish (da) translations for Kile [Trinity] -%description i18n-da -This package contains the Danish translations for Kile. - -%package i18n-de -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: German (de) translations for Kile [Trinity] -%description i18n-de -This package contains the German translations for Kile. - -%package i18n-el -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Greek (el) translations for Kile [Trinity] -%description i18n-el -This package contains the greek translations for Kile. - -%package i18n-engb -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: British English (en_GB) translations for Kile [Trinity] -%description i18n-engb -This package contains the British English (en_GB) translations for Kile [Trinity]. - -%package i18n-es -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Spanish (es) translations for Kile [Trinity] -%description i18n-es -This package contains the Spanish translations for Kile. - -%package i18n-et -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Estonian (et) translations for Kile [Trinity] -%description i18n-et -This package contains the Estonian translations for Kile. - -%package i18n-eu -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Basque (eu) translations for Kile [Trinity] -%description i18n-eu -This package contains the Basque translations for Kile. - -%package i18n-fi -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Finnish (fi) translations for Kile [Trinity] -%description i18n-fi -This package contains the Finnish translations for Kile. - -%package i18n-fr -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: French (fr) translations for Kile [Trinity] -%description i18n-fr -This package contains the French translations for Kile. - -%package i18n-ga -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Irish Gaelic (ga) translations for Kile [Trinity] -%description i18n-ga -This package contains the Irish Gaelic translations for Kile. - -%package i18n-gl -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Galician (gl) translations for Kile [Trinity] -%description i18n-gl -This package contains the Galician translations for Kile. - -%package i18n-hi -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Hindi (hi) translations for Kile [Trinity] -%description i18n-hi -This package contains the Hindi translations for Kile. - -%package i18n-hu -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Hungarian (hu) translations for Kile [Trinity] -%description i18n-hu -This package contains the Hungarian translations for Kile. - -%package i18n-is -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Icelandic (is) translations for Kile [Trinity] -%description i18n-is -This package contains the Icelandic translations for Kile. - -%package i18n-it -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Italian (it) translations for Kile [Trinity] -%description i18n-it -This package contains the Italian translations for Kile. - -%package i18n-ja -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Japanese (ja) translations for Kile [Trinity] -%description i18n-ja -This package contains the Japanese translations for Kile. - -%package i18n-lt -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Lithuanian (lt) translations for Kile [Trinity] -%description i18n-lt -This package contains the Lithuanian translations for Kile. - -%package i18n-ms -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Malay (ms) translations for Kile [Trinity] -%description i18n-ms -This package contains the Malay translations for Kile. - -%package i18n-mt -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Maltese (mt) translations for Kile [Trinity] -%description i18n-mt -This package contains the Maltese translations for Kile. - -%package i18n-nb -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Norwegian Bookmal (nb) translations for Kile [Trinity] -%description i18n-nb -This package contains the Norwegian Bookmal translations for Kile. - -%package i18n-nds -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Low Saxon (nds) translations for Kile [Trinity] -%description i18n-nds -This package contains the Low Saxon translations for Kile. - -%package i18n-nl -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Dutch (nl) translations for Kile [Trinity] -%description i18n-nl -This package contains the Dutch translations for Kile. - -%package i18n-nn -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Norwegian Nynorsk (nn) translations for Kile [Trinity] -%description i18n-nn -This package contains the Norwegian Nynorsk translations for Kile. - -%package i18n-pa -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Punjabi (pa) translations for Kile [Trinity] -%description i18n-pa -This package contains the Punjabi translations for Kile. - -%package i18n-pl -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Polish (pl) translations for Kile [Trinity] -%description i18n-pl -This package contains the Polish translations for Kile. - -%package i18n-pt -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Portuguese (pt) translations for Kile [Trinity] -%description i18n-pt -This package contains the Portuguese translations for Kile. - -%package i18n-ptbr -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Brazilian Portuguese (pt_BR) translations for Kile [Trinity] -%description i18n-ptbr -This package contains the Brazilian Portuguese translations for Kile. - -%package i18n-ro -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Romanian (ro) translations for Kile [Trinity] -%description i18n-ro -This package contains the Romanian translations for Kile. - -%package i18n-ru -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Russian (ru) translations for Kile [Trinity] -%description i18n-ru -This package contains the Russian translations for Kile. - -%package i18n-rw -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Kinyarwanda (rw) translations for Kile [Trinity] -%description i18n-rw -This package contains the Kinyarwanda translations for Kile. - -%package i18n-sk -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Slovak (sk) translations for Kile [Trinity] -%description i18n-sk -This package contains the Slovak translations for Kile. - -%package i18n-sr -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Serbian (sr) translations for Kile [Trinity] -%description i18n-sr -This package contains the Serbian translations for Kile. - -%package i18n-srlatin -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Latin Serbian (sr@Latn) translations for Kile [Trinity] -%description i18n-srlatin -This package contains the Latin Serbian translations for Kile. - -%package i18n-sv -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Swedish (sv) translations for Kile [Trinity] -%description i18n-sv -This package contains the Swedish translations for Kile. - -%package i18n-ta -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Tamil (ta) translations for Kile [Trinity] -%description i18n-ta -This package contains the Tamil translations for Kile. - -%package i18n-th -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Thai (th) translations for Kile [Trinity] -%description i18n-th -This package contains the Thai translations for Kile. - -%package i18n-tr -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Turkish (tr) translations for Kile [Trinity] -%description i18n-tr -This package contains the Turkish translations for Kile. - -%package i18n-uk -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Ukrainian (uk) translations for Kile [Trinity] -%description i18n-uk -This package contains the Ukrainian translations for Kile. - -%package i18n-zhcn -Group: Applications/Publishing -Requires: %{name} >= %{version} -Provides: trinity-kile-i18n -Summary: Chinese Simplified (zh_CN) translations for Kile [Trinity] -%description i18n-zhcn -This package contains the Chinese Simplified translations for Kile. - - -%description -Kile is a user-friendly LaTeX source editor and TeX shell for TDE. - -The source editor is a multi-document editor designed for .tex and .bib -files. Menus, wizards and auto-completion are provided to assist with -tag insertion and code generation. A structural view of the document -assists with navigation within source files. - -The TeX shell integrates the various tools required for TeX processing. -It assists with LaTeX compilation, DVI and postscript document viewing, -generation of bibliographies and indices and other common tasks. - -Kile can support large projects consisting of several smaller files. - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%__chmod +x %{buildroot}%{tde_datadir}/apps/kile/test/runTests.sh - -# Unwanted files ... -%__rm -f %{?buildroot}%{tde_datadir}/apps/katepart/syntax/bibtex.xml -%__rm -f %{?buildroot}%{tde_datadir}/apps/katepart/syntax/latex.xml - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/kile -%{tde_tdeappdir}/kile.desktop -%{tde_datadir}/apps/kconf_update -%{tde_datadir}/apps/kile -%{tde_datadir}/config.kcfg/kile.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kile.png -%{tde_datadir}/icons/hicolor/scalable/apps/kile.svgz -%{tde_tdedocdir}/HTML/en/kile -%{tde_datadir}/mimelnk/text/x-kilepr.desktop - -%files i18n-da -%lang(da) %{tde_tdedocdir}/HTML/da/kile -%lang(da) %{tde_datadir}/locale/da/LC_MESSAGES/kile.mo - -%files i18n-es -%lang(es) %{tde_tdedocdir}/HTML/es/kile -%lang(es) %{tde_datadir}/locale/es/LC_MESSAGES/kile.mo - -%files i18n-et -%lang(et) %{tde_tdedocdir}/HTML/et/kile -%lang(et) %{tde_datadir}/locale/et/LC_MESSAGES/kile.mo - -%files i18n-it -%lang(it) %{tde_tdedocdir}/HTML/it/kile -%lang(it) %{tde_datadir}/locale/it/LC_MESSAGES/kile.mo - -%files i18n-nl -%lang(nl) %{tde_tdedocdir}/HTML/nl/kile -%lang(nl) %{tde_datadir}/locale/nl/LC_MESSAGES/kile.mo - -%files i18n-pt -%lang(pt) %{tde_tdedocdir}/HTML/pt/kile -%lang(pt) %{tde_datadir}/locale/pt/LC_MESSAGES/kile.mo - -%files i18n-sv -%lang(sv) %{tde_tdedocdir}/HTML/sv/kile -%lang(sv) %{tde_datadir}/locale/sv/LC_MESSAGES/kile.mo - -%files i18n-ar -%lang(ar) %{tde_datadir}/locale/ar/LC_MESSAGES/kile.mo - -%files i18n-bg -%lang(bg) %{tde_datadir}/locale/bg/LC_MESSAGES/kile.mo - -%files i18n-br -%lang(br) %{tde_datadir}/locale/br/LC_MESSAGES/kile.mo - -%files i18n-ca -%lang(ca) %{tde_datadir}/locale/ca/LC_MESSAGES/kile.mo - -%files i18n-cs -%lang(cs) %{tde_datadir}/locale/cs/LC_MESSAGES/kile.mo - -%files i18n-cy -%lang(cy) %{tde_datadir}/locale/cy/LC_MESSAGES/kile.mo - -%files i18n-de -%lang(de) %{tde_datadir}/locale/de/LC_MESSAGES/kile.mo - -%files i18n-el -%lang(el) %{tde_datadir}/locale/el/LC_MESSAGES/kile.mo - -%files i18n-engb -%lang(en_GB) %{tde_datadir}/locale/en_GB/LC_MESSAGES/kile.mo - -%files i18n-eu -%lang(eu) %{tde_datadir}/locale/eu/LC_MESSAGES/kile.mo - -%files i18n-fi -%lang(fi) %{tde_datadir}/locale/fi/LC_MESSAGES/kile.mo - -%files i18n-fr -%lang(fr) %{tde_datadir}/locale/fr/LC_MESSAGES/kile.mo - -%files i18n-ga -%lang(ga) %{tde_datadir}/locale/ga/LC_MESSAGES/kile.mo - -%files i18n-gl -%lang(gl) %{tde_datadir}/locale/gl/LC_MESSAGES/kile.mo - -%files i18n-hi -%lang(hi) %{tde_datadir}/locale/hi/LC_MESSAGES/kile.mo - -%files i18n-hu -%lang(hu) %{tde_datadir}/locale/hu/LC_MESSAGES/kile.mo - -%files i18n-is -%lang(is) %{tde_datadir}/locale/is/LC_MESSAGES/kile.mo - -%files i18n-ja -%lang(ja) %{tde_datadir}/locale/ja/LC_MESSAGES/kile.mo - -%files i18n-lt -%lang(lt) %{tde_datadir}/locale/lt/LC_MESSAGES/kile.mo - -%files i18n-ms -%lang(ms) %{tde_datadir}/locale/ms/LC_MESSAGES/kile.mo - -%files i18n-mt -%lang(mt) %{tde_datadir}/locale/mt/LC_MESSAGES/kile.mo - -%files i18n-nb -%lang(nb) %{tde_datadir}/locale/nb/LC_MESSAGES/kile.mo - -%files i18n-nds -%lang(nds) %{tde_datadir}/locale/nds/LC_MESSAGES/kile.mo - -%files i18n-nn -%lang(nn) %{tde_datadir}/locale/nn/LC_MESSAGES/kile.mo - -%files i18n-pa -%lang(pa) %{tde_datadir}/locale/pa/LC_MESSAGES/kile.mo - -%files i18n-pl -%lang(pl) %{tde_datadir}/locale/pl/LC_MESSAGES/kile.mo - -%files i18n-ptbr -%lang(pt_BR) %{tde_datadir}/locale/pt_BR/LC_MESSAGES/kile.mo - -%files i18n-ro -%lang(ro) %{tde_datadir}/locale/ro/LC_MESSAGES/kile.mo - -%files i18n-ru -%lang(ru) %{tde_datadir}/locale/ru/LC_MESSAGES/kile.mo - -%files i18n-rw -%lang(rw) %{tde_datadir}/locale/rw/LC_MESSAGES/kile.mo - -%files i18n-sk -%lang(sk) %{tde_datadir}/locale/sk/LC_MESSAGES/kile.mo - -%files i18n-sr -%lang(sr) %{tde_datadir}/locale/sr/LC_MESSAGES/kile.mo - -%files i18n-srlatin -%lang(sr@Latn) %{tde_datadir}/locale/sr@Latn/LC_MESSAGES/kile.mo - -%files i18n-ta -%lang(ta) %{tde_datadir}/locale/ta/LC_MESSAGES/kile.mo - -%files i18n-th -%lang(th) %{tde_datadir}/locale/th/LC_MESSAGES/kile.mo - -%files i18n-tr -%lang(tr) %{tde_datadir}/locale/tr/LC_MESSAGES/kile.mo - -%files i18n-uk -%lang(uk) %{tde_datadir}/locale/uk/LC_MESSAGES/kile.mo - -%files i18n-zhcn -%lang(zh_CN) %{tde_datadir}/locale/zh_CN/LC_MESSAGES/kile.mo - - - - -%Changelog -* Tue May 01 2012 Francois Andriot - 2.0.2-3 -- Rebuilt for Fedora 17 -- Removes the XPM icon - -* Fri Apr 20 2012 Francois Andriot - 2.0.2-2 -- Fix file conflict with trinity-kdelibs - -* Fri Nov 25 2011 Francois Andriot - 2.0.2-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kima/kima-3.5.13.1.spec b/redhat/applications/kima/kima-3.5.13.1.spec new file mode 100644 index 000000000..605193879 --- /dev/null +++ b/redhat/applications/kima/kima-3.5.13.1.spec @@ -0,0 +1,127 @@ +# Default version for this component +%define kdecomp kima + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: kicker monitoring applet [Trinity] +Version: 0.7.3.2 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.elliptique.net/~ken/kima/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +This applet monitors various temperature, +frequency and fan sources in your kicker +panel. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt:%{tde_tdeincludedir} + +# SMP safe ! +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%find_lang %{kdecomp} + + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{tde_tdelibdir}/libkima.la +%{tde_tdelibdir}/libkima.so +%{tde_datadir}/apps/kicker/applets/kima.desktop +%{tde_tdedocdir}/HTML/en/kima/ + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.7.3.2-3 +- Initial build for TDE 3.5.13.1 + +* Tue May 01 2012 Francois Andriot - 0.7.3.2-2 +- Rebuilt for Fedora 17 +- Fix post and postun + +* Wed Nov 30 2011 Francois Andriot - 0.7.3.2-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kima/kima-3.5.13.2.spec b/redhat/applications/kima/kima-3.5.13.2.spec new file mode 100644 index 000000000..b2e594987 --- /dev/null +++ b/redhat/applications/kima/kima-3.5.13.2.spec @@ -0,0 +1,130 @@ +# Default version for this component +%define tdecomp kima + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: kicker monitoring applet [Trinity] +Version: 0.7.3.2 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.elliptique.net/~ken/kima/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +This applet monitors various temperature, +frequency and fan sources in your kicker +panel. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt:%{tde_tdeincludedir} + +# SMP safe ! +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%find_lang %{tdecomp} + + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{tdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{tde_tdelibdir}/libkima.la +%{tde_tdelibdir}/libkima.so +%{tde_datadir}/apps/kicker/applets/kima.desktop +%{tde_tdedocdir}/HTML/en/kima/ + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 0.7.3.2-4 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.7.3.2-3 +- Initial build for TDE 3.5.13.1 + +* Tue May 01 2012 Francois Andriot - 0.7.3.2-2 +- Rebuilt for Fedora 17 +- Fix post and postun + +* Wed Nov 30 2011 Francois Andriot - 0.7.3.2-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kima/kima-3.5.13.spec b/redhat/applications/kima/kima-3.5.13.spec new file mode 100644 index 000000000..657029f3c --- /dev/null +++ b/redhat/applications/kima/kima-3.5.13.spec @@ -0,0 +1,118 @@ +# Default version for this component +%define kdecomp kima + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: kicker monitoring applet [Trinity] +Version: 0.7.3.2 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.elliptique.net/~ken/kima/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +This applet monitors various temperature, +frequency and fan sources in your kicker +panel. + + +%prep +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt:%{tde_tdeincludedir} + +# SMP safe ! +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%find_lang %{kdecomp} + + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{tde_tdelibdir}/libkima.la +%{tde_tdelibdir}/libkima.so +%{tde_datadir}/apps/kicker/applets/kima.desktop +%{tde_tdedocdir}/HTML/en/kima/ + + +%Changelog +* Tue May 01 2012 Francois Andriot - 0.7.3.2-2 +- Rebuilt for Fedora 17 +- Fix post and postun + +* Wed Nov 30 2011 Francois Andriot - 0.7.3.2-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kima/trinity-kima-3.5.13.1.spec b/redhat/applications/kima/trinity-kima-3.5.13.1.spec deleted file mode 100644 index 605193879..000000000 --- a/redhat/applications/kima/trinity-kima-3.5.13.1.spec +++ /dev/null @@ -1,127 +0,0 @@ -# Default version for this component -%define kdecomp kima - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: kicker monitoring applet [Trinity] -Version: 0.7.3.2 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.elliptique.net/~ken/kima/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -This applet monitors various temperature, -frequency and fan sources in your kicker -panel. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_tdeincludedir} - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%find_lang %{kdecomp} - - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_tdelibdir}/libkima.la -%{tde_tdelibdir}/libkima.so -%{tde_datadir}/apps/kicker/applets/kima.desktop -%{tde_tdedocdir}/HTML/en/kima/ - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.7.3.2-3 -- Initial build for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 0.7.3.2-2 -- Rebuilt for Fedora 17 -- Fix post and postun - -* Wed Nov 30 2011 Francois Andriot - 0.7.3.2-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kima/trinity-kima-3.5.13.2.spec b/redhat/applications/kima/trinity-kima-3.5.13.2.spec deleted file mode 100644 index b2e594987..000000000 --- a/redhat/applications/kima/trinity-kima-3.5.13.2.spec +++ /dev/null @@ -1,130 +0,0 @@ -# Default version for this component -%define tdecomp kima - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: kicker monitoring applet [Trinity] -Version: 0.7.3.2 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.elliptique.net/~ken/kima/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -This applet monitors various temperature, -frequency and fan sources in your kicker -panel. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_tdeincludedir} - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%find_lang %{tdecomp} - - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{tdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_tdelibdir}/libkima.la -%{tde_tdelibdir}/libkima.so -%{tde_datadir}/apps/kicker/applets/kima.desktop -%{tde_tdedocdir}/HTML/en/kima/ - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 0.7.3.2-4 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.7.3.2-3 -- Initial build for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 0.7.3.2-2 -- Rebuilt for Fedora 17 -- Fix post and postun - -* Wed Nov 30 2011 Francois Andriot - 0.7.3.2-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kima/trinity-kima-3.5.13.spec b/redhat/applications/kima/trinity-kima-3.5.13.spec deleted file mode 100644 index 657029f3c..000000000 --- a/redhat/applications/kima/trinity-kima-3.5.13.spec +++ /dev/null @@ -1,118 +0,0 @@ -# Default version for this component -%define kdecomp kima - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: kicker monitoring applet [Trinity] -Version: 0.7.3.2 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.elliptique.net/~ken/kima/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -This applet monitors various temperature, -frequency and fan sources in your kicker -panel. - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_tdeincludedir} - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%find_lang %{kdecomp} - - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_tdelibdir}/libkima.la -%{tde_tdelibdir}/libkima.so -%{tde_datadir}/apps/kicker/applets/kima.desktop -%{tde_tdedocdir}/HTML/en/kima/ - - -%Changelog -* Tue May 01 2012 Francois Andriot - 0.7.3.2-2 -- Rebuilt for Fedora 17 -- Fix post and postun - -* Wed Nov 30 2011 Francois Andriot - 0.7.3.2-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kiosktool/kiosktool-3.5.13.1.spec b/redhat/applications/kiosktool/kiosktool-3.5.13.1.spec new file mode 100644 index 000000000..0c6bbfe1b --- /dev/null +++ b/redhat/applications/kiosktool/kiosktool-3.5.13.1.spec @@ -0,0 +1,159 @@ +# Default version for this component +%define kdecomp kiosktool + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Version: 1.0 +Release: 3%{?dist}%{?_variant} +Summary: tool to configure the TDE kiosk framework + +License: GPLv2+ +Group: Applications/Multimedia + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + + +Source0: %{kdecomp}-3.5.13.1.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: gettext +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 + + +%description +A Point&Click tool for system administrators to enable +TDE's KIOSK features or otherwise preconfigure TDE for +groups of users. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; source /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --enable-new-ldflags \ + --disable-debug --disable-warnings \ + --disable-dependency-tracking --enable-final \ + --enable-closure \ + --with-extra-includes=%{tde_includedir}/tqt + + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf $RPM_BUILD_ROOT +%__make install DESTDIR=$RPM_BUILD_ROOT + +## File lists +# locale's +%find_lang %{kdecomp} +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then +for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi +done +fi + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%post +touch --no-create %{tde_datadir}/icons/crystalsvg ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/crystalsvg 2> /dev/null ||: +update-desktop-database >& /dev/null ||: + +%postun +touch --no-create %{tde_datadir}/icons/crystalsvg ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/crystalsvg 2> /dev/null ||: +update-desktop-database >& /dev/null ||: + + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc ChangeLog COPYING README TODO +%{tde_bindir}/kiosktool +%{tde_bindir}/kiosktool-kdedirs +%{tde_tdeappdir}/kiosktool.desktop +%{tde_datadir}/apps/kiosktool/*.png +%{tde_tdedocdir}/HTML/en/kiosktool/ +%{tde_datadir}/icons/crystalsvg/*/apps/kiosktool.png +%{tde_datadir}/apps/kiosktool/kiosk_data.xml +%{tde_datadir}/apps/kiosktool/kiosktoolui.rc + +%changelog +* Wed Oct 03 2012 Francois Andriot - 1.0-3 +- Initial build for TDE 3.5.13.1 + +* Wed May 02 2012 Francois Andriot - 1.0-2 +- Rebuilt for Fedora 17 +- Fix post and postun + +* Sat Nov 19 2011 Francois Andriot - 1.0-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kiosktool/kiosktool-3.5.13.2.spec b/redhat/applications/kiosktool/kiosktool-3.5.13.2.spec new file mode 100644 index 000000000..de047b8d4 --- /dev/null +++ b/redhat/applications/kiosktool/kiosktool-3.5.13.2.spec @@ -0,0 +1,162 @@ +# Default version for this component +%define tdecomp kiosktool + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Version: 1.0 +Release: 4%{?dist}%{?_variant} +Summary: tool to configure the TDE kiosk framework + +License: GPLv2+ +Group: Applications/Multimedia + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + + +Source0: %{name}-3.5.13.2.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: gettext +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 + + +%description +A Point&Click tool for system administrators to enable +TDE's KIOSK features or otherwise preconfigure TDE for +groups of users. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; source /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --enable-new-ldflags \ + --disable-debug --disable-warnings \ + --disable-dependency-tracking --enable-final \ + --enable-closure \ + --with-extra-includes=%{tde_includedir}/tqt + + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf $RPM_BUILD_ROOT +%__make install DESTDIR=$RPM_BUILD_ROOT + +## File lists +# locale's +%find_lang %{tdecomp} +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then +for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi +done +fi + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%post +touch --no-create %{tde_datadir}/icons/crystalsvg ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/crystalsvg 2> /dev/null ||: +update-desktop-database >& /dev/null ||: + +%postun +touch --no-create %{tde_datadir}/icons/crystalsvg ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/crystalsvg 2> /dev/null ||: +update-desktop-database >& /dev/null ||: + + + +%files -f %{tdecomp}.lang +%defattr(-,root,root,-) +%doc ChangeLog COPYING README TODO +%{tde_bindir}/kiosktool +%{tde_bindir}/kiosktool-kdedirs +%{tde_tdeappdir}/kiosktool.desktop +%{tde_datadir}/apps/kiosktool/*.png +%{tde_tdedocdir}/HTML/en/kiosktool/ +%{tde_datadir}/icons/crystalsvg/*/apps/kiosktool.png +%{tde_datadir}/apps/kiosktool/kiosk_data.xml +%{tde_datadir}/apps/kiosktool/kiosktoolui.rc + +%changelog +* Mon Jun 03 2013 Francois Andriot - 1.0-4 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 1.0-3 +- Initial build for TDE 3.5.13.1 + +* Wed May 02 2012 Francois Andriot - 1.0-2 +- Rebuilt for Fedora 17 +- Fix post and postun + +* Sat Nov 19 2011 Francois Andriot - 1.0-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kiosktool/kiosktool-3.5.13.spec b/redhat/applications/kiosktool/kiosktool-3.5.13.spec new file mode 100644 index 000000000..3195e466b --- /dev/null +++ b/redhat/applications/kiosktool/kiosktool-3.5.13.spec @@ -0,0 +1,150 @@ +# Default version for this component +%define kdecomp kiosktool + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Version: 1.0 +Release: 2%{?dist}%{?_variant} +Summary: tool to configure the TDE kiosk framework + +License: GPLv2+ +Group: Applications/Multimedia + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + + +Source0: %{kdecomp}-3.5.13.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: gettext +BuildRequires: trinity-tdelibs-devel + + +%description +A Point&Click tool for system administrators to enable +TDE's KIOSK features or otherwise preconfigure TDE for +groups of users. + + +%prep +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; source /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --enable-new-ldflags \ + --disable-debug --disable-warnings \ + --disable-dependency-tracking --enable-final \ + --enable-closure \ + --with-extra-includes=%{tde_includedir}/tqt + + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf $RPM_BUILD_ROOT +%__make install DESTDIR=$RPM_BUILD_ROOT + +## File lists +# locale's +%find_lang %{kdecomp} +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then +for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi +done +fi + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%post +touch --no-create %{tde_datadir}/icons/crystalsvg ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/crystalsvg 2> /dev/null ||: +update-desktop-database >& /dev/null ||: + +%postun +touch --no-create %{tde_datadir}/icons/crystalsvg ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/crystalsvg 2> /dev/null ||: +update-desktop-database >& /dev/null ||: + + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc ChangeLog COPYING README TODO +%{tde_bindir}/kiosktool +%{tde_bindir}/kiosktool-kdedirs +%{tde_tdeappdir}/kiosktool.desktop +%{tde_datadir}/apps/kiosktool/*.png +%{tde_tdedocdir}/HTML/en/kiosktool/ +%{tde_datadir}/icons/crystalsvg/*/apps/kiosktool.png +%{tde_datadir}/apps/kiosktool/kiosk_data.xml +%{tde_datadir}/apps/kiosktool/kiosktoolui.rc + +%Changelog +* Wed May 02 2012 Francois Andriot - 1.0-2 +- Rebuilt for Fedora 17 +- Fix post and postun + +* Sat Nov 19 2011 Francois Andriot - 1.0-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kiosktool/trinity-kiosktool-3.5.13.1.spec b/redhat/applications/kiosktool/trinity-kiosktool-3.5.13.1.spec deleted file mode 100644 index 0c6bbfe1b..000000000 --- a/redhat/applications/kiosktool/trinity-kiosktool-3.5.13.1.spec +++ /dev/null @@ -1,159 +0,0 @@ -# Default version for this component -%define kdecomp kiosktool - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Version: 1.0 -Release: 3%{?dist}%{?_variant} -Summary: tool to configure the TDE kiosk framework - -License: GPLv2+ -Group: Applications/Multimedia - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - - -Source0: %{kdecomp}-3.5.13.1.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: gettext -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 - - -%description -A Point&Click tool for system administrators to enable -TDE's KIOSK features or otherwise preconfigure TDE for -groups of users. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; source /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --enable-new-ldflags \ - --disable-debug --disable-warnings \ - --disable-dependency-tracking --enable-final \ - --enable-closure \ - --with-extra-includes=%{tde_includedir}/tqt - - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT - -## File lists -# locale's -%find_lang %{kdecomp} -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then -for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%post -touch --no-create %{tde_datadir}/icons/crystalsvg ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/crystalsvg 2> /dev/null ||: -update-desktop-database >& /dev/null ||: - -%postun -touch --no-create %{tde_datadir}/icons/crystalsvg ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/crystalsvg 2> /dev/null ||: -update-desktop-database >& /dev/null ||: - - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc ChangeLog COPYING README TODO -%{tde_bindir}/kiosktool -%{tde_bindir}/kiosktool-kdedirs -%{tde_tdeappdir}/kiosktool.desktop -%{tde_datadir}/apps/kiosktool/*.png -%{tde_tdedocdir}/HTML/en/kiosktool/ -%{tde_datadir}/icons/crystalsvg/*/apps/kiosktool.png -%{tde_datadir}/apps/kiosktool/kiosk_data.xml -%{tde_datadir}/apps/kiosktool/kiosktoolui.rc - -%changelog -* Wed Oct 03 2012 Francois Andriot - 1.0-3 -- Initial build for TDE 3.5.13.1 - -* Wed May 02 2012 Francois Andriot - 1.0-2 -- Rebuilt for Fedora 17 -- Fix post and postun - -* Sat Nov 19 2011 Francois Andriot - 1.0-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kiosktool/trinity-kiosktool-3.5.13.2.spec b/redhat/applications/kiosktool/trinity-kiosktool-3.5.13.2.spec deleted file mode 100644 index de047b8d4..000000000 --- a/redhat/applications/kiosktool/trinity-kiosktool-3.5.13.2.spec +++ /dev/null @@ -1,162 +0,0 @@ -# Default version for this component -%define tdecomp kiosktool - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Version: 1.0 -Release: 4%{?dist}%{?_variant} -Summary: tool to configure the TDE kiosk framework - -License: GPLv2+ -Group: Applications/Multimedia - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - - -Source0: %{name}-3.5.13.2.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: gettext -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 - - -%description -A Point&Click tool for system administrators to enable -TDE's KIOSK features or otherwise preconfigure TDE for -groups of users. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; source /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --enable-new-ldflags \ - --disable-debug --disable-warnings \ - --disable-dependency-tracking --enable-final \ - --enable-closure \ - --with-extra-includes=%{tde_includedir}/tqt - - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT - -## File lists -# locale's -%find_lang %{tdecomp} -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then -for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%post -touch --no-create %{tde_datadir}/icons/crystalsvg ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/crystalsvg 2> /dev/null ||: -update-desktop-database >& /dev/null ||: - -%postun -touch --no-create %{tde_datadir}/icons/crystalsvg ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/crystalsvg 2> /dev/null ||: -update-desktop-database >& /dev/null ||: - - - -%files -f %{tdecomp}.lang -%defattr(-,root,root,-) -%doc ChangeLog COPYING README TODO -%{tde_bindir}/kiosktool -%{tde_bindir}/kiosktool-kdedirs -%{tde_tdeappdir}/kiosktool.desktop -%{tde_datadir}/apps/kiosktool/*.png -%{tde_tdedocdir}/HTML/en/kiosktool/ -%{tde_datadir}/icons/crystalsvg/*/apps/kiosktool.png -%{tde_datadir}/apps/kiosktool/kiosk_data.xml -%{tde_datadir}/apps/kiosktool/kiosktoolui.rc - -%changelog -* Mon Jun 03 2013 Francois Andriot - 1.0-4 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 1.0-3 -- Initial build for TDE 3.5.13.1 - -* Wed May 02 2012 Francois Andriot - 1.0-2 -- Rebuilt for Fedora 17 -- Fix post and postun - -* Sat Nov 19 2011 Francois Andriot - 1.0-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kiosktool/trinity-kiosktool-3.5.13.spec b/redhat/applications/kiosktool/trinity-kiosktool-3.5.13.spec deleted file mode 100644 index 3195e466b..000000000 --- a/redhat/applications/kiosktool/trinity-kiosktool-3.5.13.spec +++ /dev/null @@ -1,150 +0,0 @@ -# Default version for this component -%define kdecomp kiosktool - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Version: 1.0 -Release: 2%{?dist}%{?_variant} -Summary: tool to configure the TDE kiosk framework - -License: GPLv2+ -Group: Applications/Multimedia - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - - -Source0: %{kdecomp}-3.5.13.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: gettext -BuildRequires: trinity-tdelibs-devel - - -%description -A Point&Click tool for system administrators to enable -TDE's KIOSK features or otherwise preconfigure TDE for -groups of users. - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; source /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --enable-new-ldflags \ - --disable-debug --disable-warnings \ - --disable-dependency-tracking --enable-final \ - --enable-closure \ - --with-extra-includes=%{tde_includedir}/tqt - - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT - -## File lists -# locale's -%find_lang %{kdecomp} -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then -for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%post -touch --no-create %{tde_datadir}/icons/crystalsvg ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/crystalsvg 2> /dev/null ||: -update-desktop-database >& /dev/null ||: - -%postun -touch --no-create %{tde_datadir}/icons/crystalsvg ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/crystalsvg 2> /dev/null ||: -update-desktop-database >& /dev/null ||: - - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc ChangeLog COPYING README TODO -%{tde_bindir}/kiosktool -%{tde_bindir}/kiosktool-kdedirs -%{tde_tdeappdir}/kiosktool.desktop -%{tde_datadir}/apps/kiosktool/*.png -%{tde_tdedocdir}/HTML/en/kiosktool/ -%{tde_datadir}/icons/crystalsvg/*/apps/kiosktool.png -%{tde_datadir}/apps/kiosktool/kiosk_data.xml -%{tde_datadir}/apps/kiosktool/kiosktoolui.rc - -%Changelog -* Wed May 02 2012 Francois Andriot - 1.0-2 -- Rebuilt for Fedora 17 -- Fix post and postun - -* Sat Nov 19 2011 Francois Andriot - 1.0-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kmplayer/kmplayer-3.5.13.1.spec b/redhat/applications/kmplayer/kmplayer-3.5.13.1.spec new file mode 100644 index 000000000..ef7b3201b --- /dev/null +++ b/redhat/applications/kmplayer/kmplayer-3.5.13.1.spec @@ -0,0 +1,247 @@ +# Default version for this component +%define kdecomp kmplayer + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: media player for Trinity +Version: 0.10.0c +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Multimedia + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://kmplayer.kde.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +# [kmplayer] Fix xine 1.2 support +Patch1: kmplayer-3.5.13.1-fix_xine12_support.patch + + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-dbus-tqt-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils + + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}gstreamer0.10-devel +BuildRequires: %{_lib}gstreamer-plugins-base0.10-devel +BuildRequires: libxv-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: gstreamer-devel +BuildRequires: gstreamer-plugins-base-devel +BuildRequires: libXv-devel +%endif +%if 0%{?suse_version} +BuildRequires: gstreamer-devel +BuildRequires: gstreamer-0_10-plugins-base-devel +BuildRequires: libXv-devel +%endif + +Requires: %{name}-base + +%description +A basic audio/video viewer application for Trinity. + +KMPlayer can: +* play DVD (DVDNav only with the Xine player) +* play VCD +* let the backend players play from a pipe (read from stdin) +* play from a TV device (experimental) +* show backend player's console output +* launch ffserver (only 0.4.8 works) when viewing from a v4l device +* DCOP KMediaPlayer interface support +* VDR viewer frontend (with *kxvplayer), configure VDR keys with standard KDE + shortcut configure window +* Lots of configurable shortcuts. Highly recommended for the VDR keys + (if you have VDR) and volume increase/decrease + + +%package base +Group: Applications/Multimedia +Summary: Base files for KMPlayer [Trinity] + +%description base +Core files needed for KMPlayer. + + +%package konq-plugins +Group: Applications/Multimedia +Requires: trinity-kmplayer-base, trinity-kdebase +Summary: KMPlayer plugin for KHTML/Konqueror [Trinity] + +%description konq-plugins +This plugin enables audio/video playback inside konqueror, using Xine (with +*kxineplayer) or GStreamer (with *kgstplayer), such as movie trailers, web +tv or radio. It mimics QuickTime, MS Media Player and RealPlayer plugin +browser plugins. + + +%package doc +Group: Applications/Multimedia +Requires: %{name} = %{version}-%{release} +Summary: Handbook for KMPlayer [Trinity] + +%description doc +Documention for KMPlayer, a basic audio/video viewer application for KDE. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 +%patch1 -p1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir}/dbus-1.0 \ + --enable-closure + + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +# Removes unwanted files +%__rm -f %{?buildroot}%{tde_datadir}/mimelnk/application/x-mplayer2.desktop + + +%clean +%__rm -rf %{buildroot} + + +%post +/sbin/ldconfig || : + +%postun +/sbin/ldconfig || : + +%post base +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +/sbin/ldconfig || : + +%postun base +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +/sbin/ldconfig || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING ChangeLog INSTALL README TODO kmplayer.lsm +%{tde_bindir}/kmplayer +%{tde_bindir}/knpplayer +%{tde_bindir}/kxvplayer +%{tde_libdir}/libkdeinit_kmplayer.la +%{tde_libdir}/libkdeinit_kmplayer.so +%{tde_tdelibdir}/kmplayer.la +%{tde_tdelibdir}/kmplayer.so +%{tde_tdeappdir}/kmplayer.desktop +%{tde_datadir}/apps/kmplayer +%{tde_datadir}/services/kmplayer_part.desktop + +%files base +%defattr(-,root,root,-) +%{tde_libdir}/libkmplayercommon.la +%{tde_libdir}/libkmplayercommon.so +%{tde_bindir}/kgstplayer +%{tde_bindir}/kxineplayer +%{tde_datadir}/config/kmplayerrc +%{tde_datadir}/apps/kmplayer/bookmarks.xml +%{tde_datadir}/apps/kmplayer/noise.gif +%{tde_datadir}/apps/kmplayer/pluginsinfo +%{tde_datadir}/icons/hicolor/*/apps/kmplayer.png +%{tde_datadir}/icons/hicolor/*/apps/kmplayer.svgz +%{tde_datadir}/mimelnk/application/x-kmplayer.desktop +%{tde_datadir}/mimelnk/video/x-ms-wmp.desktop + + +%files doc +%defattr(-,root,root,-) +%{tde_tdedocdir}/HTML/*/kmplayer + +%files konq-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/libkmplayerpart.la +%{tde_tdelibdir}/libkmplayerpart.so +%{tde_datadir}/apps/kmplayer/kmplayerpartui.rc +%{tde_datadir}/apps/kmplayer/pluginsinfo +%{tde_datadir}/services/kmplayer_part.desktop + + +%changelog +* Sat Nov 03 2012 Francois Andriot - 0.10.0c-4 +- Fix xine 1.2 support (openSUSE 12.2 only) + +* Wed Oct 03 2012 Francois Andriot - 0.10.0c-3 +- Initial build for TDE 3.5.13.1 + +* Wed May 02 2012 Francois Andriot - 0.10.0c-2 +- Fix compilation with GCC 4.7 [Commit #5106117b] + +* Sat Dec 03 2011 Francois Andriot - 0.10.0c-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/kmplayer/kmplayer-3.5.13.2.spec b/redhat/applications/kmplayer/kmplayer-3.5.13.2.spec new file mode 100644 index 000000000..a4deea68a --- /dev/null +++ b/redhat/applications/kmplayer/kmplayer-3.5.13.2.spec @@ -0,0 +1,252 @@ +# Default version for this component +%define tdecomp kmplayer + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: media player for Trinity +Version: 0.10.0c +Release: 5%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Multimedia + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://kmplayer.kde.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-dbus-tqt-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils + + +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} +BuildRequires: libgstreamer0.10-devel +%else +BuildRequires: %{_lib}gstreamer0.10-devel +%endif +BuildRequires: %{_lib}gstreamer-plugins-base0.10-devel +BuildRequires: libxv-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: gstreamer-devel +BuildRequires: gstreamer-plugins-base-devel +BuildRequires: libXv-devel +%endif +%if 0%{?suse_version} +BuildRequires: gstreamer-devel +BuildRequires: gstreamer-0_10-plugins-base-devel +%if 0%{?suse_version} == 1140 +BuildRequires: xorg-x11-libXv-devel +%else +BuildRequires: libXv-devel +%endif +%endif + +Requires: %{name}-base + +%description +A basic audio/video viewer application for Trinity. + +KMPlayer can: +* play DVD (DVDNav only with the Xine player) +* play VCD +* let the backend players play from a pipe (read from stdin) +* play from a TV device (experimental) +* show backend player's console output +* launch ffserver (only 0.4.8 works) when viewing from a v4l device +* DCOP KMediaPlayer interface support +* VDR viewer frontend (with *kxvplayer), configure VDR keys with standard KDE + shortcut configure window +* Lots of configurable shortcuts. Highly recommended for the VDR keys + (if you have VDR) and volume increase/decrease + + +%package base +Group: Applications/Multimedia +Summary: Base files for KMPlayer [Trinity] + +%description base +Core files needed for KMPlayer. + + +%package konq-plugins +Group: Applications/Multimedia +Requires: trinity-kmplayer-base, trinity-kdebase +Summary: KMPlayer plugin for KHTML/Konqueror [Trinity] + +%description konq-plugins +This plugin enables audio/video playback inside konqueror, using Xine (with +*kxineplayer) or GStreamer (with *kgstplayer), such as movie trailers, web +tv or radio. It mimics QuickTime, MS Media Player and RealPlayer plugin +browser plugins. + + +%package doc +Group: Applications/Multimedia +Requires: %{name} = %{version}-%{release} +Summary: Handbook for KMPlayer [Trinity] + +%description doc +Documention for KMPlayer, a basic audio/video viewer application for TDE. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{tdecomp} + +# Removes unwanted files +%__rm -f %{?buildroot}%{tde_datadir}/mimelnk/application/x-mplayer2.desktop + + +%clean +%__rm -rf %{buildroot} + + +%post +/sbin/ldconfig || : + +%postun +/sbin/ldconfig || : + +%post base +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +/sbin/ldconfig || : + +%postun base +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +/sbin/ldconfig || : + + +%files -f %{tdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING ChangeLog INSTALL README TODO kmplayer.lsm +%{tde_bindir}/kmplayer +%{tde_bindir}/knpplayer +%{tde_bindir}/kxvplayer +%{tde_libdir}/libkdeinit_kmplayer.la +%{tde_libdir}/libkdeinit_kmplayer.so +%{tde_tdelibdir}/kmplayer.la +%{tde_tdelibdir}/kmplayer.so +%{tde_tdeappdir}/kmplayer.desktop +%{tde_datadir}/apps/kmplayer +%{tde_datadir}/services/kmplayer_part.desktop + +%files base +%defattr(-,root,root,-) +%{tde_libdir}/libkmplayercommon.la +%{tde_libdir}/libkmplayercommon.so +%{tde_bindir}/kgstplayer +%{tde_bindir}/kxineplayer +%{tde_datadir}/config/kmplayerrc +%{tde_datadir}/apps/kmplayer/bookmarks.xml +%{tde_datadir}/apps/kmplayer/noise.gif +%{tde_datadir}/apps/kmplayer/pluginsinfo +%{tde_datadir}/icons/hicolor/*/apps/kmplayer.png +%{tde_datadir}/icons/hicolor/*/apps/kmplayer.svgz +%{tde_datadir}/mimelnk/application/x-kmplayer.desktop +%{tde_datadir}/mimelnk/video/x-ms-wmp.desktop + + +%files doc +%defattr(-,root,root,-) +%{tde_tdedocdir}/HTML/*/kmplayer + +%files konq-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/libkmplayerpart.la +%{tde_tdelibdir}/libkmplayerpart.so +%{tde_datadir}/apps/kmplayer/kmplayerpartui.rc +%{tde_datadir}/apps/kmplayer/pluginsinfo +%{tde_datadir}/services/kmplayer_part.desktop + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 0.10.0c-5 +- Initial release for TDE 3.5.13.2 + +* Sat Nov 03 2012 Francois Andriot - 0.10.0c-4 +- Fix xine 1.2 support (openSUSE 12.2 only) + +* Wed Oct 03 2012 Francois Andriot - 0.10.0c-3 +- Initial build for TDE 3.5.13.1 + +* Wed May 02 2012 Francois Andriot - 0.10.0c-2 +- Fix compilation with GCC 4.7 [Commit #5106117b] + +* Sat Dec 03 2011 Francois Andriot - 0.10.0c-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/kmplayer/kmplayer-3.5.13.spec b/redhat/applications/kmplayer/kmplayer-3.5.13.spec new file mode 100644 index 000000000..70589fe00 --- /dev/null +++ b/redhat/applications/kmplayer/kmplayer-3.5.13.spec @@ -0,0 +1,232 @@ +# Default version for this component +%define kdecomp kmplayer + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: media player for Trinity +Version: 0.10.0c +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Multimedia + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://kmplayer.kde.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +# [kmplayer] Fix compilation with GCC 4.7 [Commit #5106117b] +Patch1: kmplayer-3.5.13-fix_gcc47_compilation.patch + +# [kmplayer] Missing LDLFLAGS cause FTBFS +Patch2: kmplayer-3.5.13-missing_ldflags.patch + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils + +BuildRequires: dbus-tqt-devel + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}gstreamer0.10-devel +BuildRequires: %{_lib}gstreamer-plugins-base0.10-devel +BuildRequires: libxv-devel +%else +BuildRequires: gstreamer-devel +BuildRequires: gstreamer-plugins-base-devel +BuildRequires: libXv-devel +%endif + +Requires: %{name}-base + +%description +A basic audio/video viewer application for Trinity. + +KMPlayer can: +* play DVD (DVDNav only with the Xine player) +* play VCD +* let the backend players play from a pipe (read from stdin) +* play from a TV device (experimental) +* show backend player's console output +* launch ffserver (only 0.4.8 works) when viewing from a v4l device +* DCOP KMediaPlayer interface support +* VDR viewer frontend (with *kxvplayer), configure VDR keys with standard KDE + shortcut configure window +* Lots of configurable shortcuts. Highly recommended for the VDR keys + (if you have VDR) and volume increase/decrease + + +%package base +Group: Applications/Multimedia +Summary: Base files for KMPlayer [Trinity] + +%description base +Core files needed for KMPlayer. + + +%package konq-plugins +Group: Applications/Multimedia +Requires: trinity-kmplayer-base, trinity-kdebase +Summary: KMPlayer plugin for KHTML/Konqueror [Trinity] + +%description konq-plugins +This plugin enables audio/video playback inside konqueror, using Xine (with +*kxineplayer) or GStreamer (with *kgstplayer), such as movie trailers, web +tv or radio. It mimics QuickTime, MS Media Player and RealPlayer plugin +browser plugins. + + +%package doc +Group: Applications/Multimedia +Requires: %{name} = %{version}-%{release} +Summary: Handbook for KMPlayer [Trinity] + +%description doc +Documention for KMPlayer, a basic audio/video viewer application for KDE. + + +%prep +%setup -q -n applications/%{kdecomp} +%patch1 -p1 +%patch2 -p1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir}/dbus-1.0 \ + --enable-closure + + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +# Removes unwanted files +%__rm -f %{?buildroot}%{tde_datadir}/mimelnk/application/x-mplayer2.desktop + + +%clean +%__rm -rf %{buildroot} + + +%post +/sbin/ldconfig || : + +%postun +/sbin/ldconfig || : + +%post base +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +/sbin/ldconfig || : + +%postun base +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +/sbin/ldconfig || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING ChangeLog INSTALL README TODO kmplayer.lsm +%{tde_bindir}/kmplayer +%{tde_bindir}/knpplayer +%{tde_bindir}/kxvplayer +%{tde_libdir}/libkdeinit_kmplayer.la +%{tde_libdir}/libkdeinit_kmplayer.so +%{tde_tdelibdir}/kmplayer.la +%{tde_tdelibdir}/kmplayer.so +%{tde_tdeappdir}/kmplayer.desktop +%{tde_datadir}/apps/kmplayer +%{tde_datadir}/services/kmplayer_part.desktop + +%files base +%defattr(-,root,root,-) +%{tde_libdir}/libkmplayercommon.la +%{tde_libdir}/libkmplayercommon.so +%{tde_bindir}/kgstplayer +%{tde_bindir}/kxineplayer +%{tde_datadir}/config/kmplayerrc +%{tde_datadir}/apps/kmplayer/bookmarks.xml +%{tde_datadir}/apps/kmplayer/noise.gif +%{tde_datadir}/apps/kmplayer/pluginsinfo +%{tde_datadir}/icons/hicolor/*/apps/kmplayer.png +%{tde_datadir}/icons/hicolor/*/apps/kmplayer.svgz +%{tde_datadir}/mimelnk/application/x-kmplayer.desktop +%{tde_datadir}/mimelnk/video/x-ms-wmp.desktop + + +%files doc +%defattr(-,root,root,-) +%{tde_tdedocdir}/HTML/*/kmplayer + +%files konq-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/libkmplayerpart.la +%{tde_tdelibdir}/libkmplayerpart.so +%{tde_datadir}/apps/kmplayer/kmplayerpartui.rc +%{tde_datadir}/apps/kmplayer/pluginsinfo +%{tde_datadir}/services/kmplayer_part.desktop + + +%Changelog +* Wed May 02 2012 Francois Andriot - 0.10.0c-2 +- Fix compilation with GCC 4.7 [Commit #5106117b] + +* Sat Dec 03 2011 Francois Andriot - 0.10.0c-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/kmplayer/trinity-kmplayer-3.5.13.1.spec b/redhat/applications/kmplayer/trinity-kmplayer-3.5.13.1.spec deleted file mode 100644 index ef7b3201b..000000000 --- a/redhat/applications/kmplayer/trinity-kmplayer-3.5.13.1.spec +++ /dev/null @@ -1,247 +0,0 @@ -# Default version for this component -%define kdecomp kmplayer - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: media player for Trinity -Version: 0.10.0c -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Multimedia - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://kmplayer.kde.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -# [kmplayer] Fix xine 1.2 support -Patch1: kmplayer-3.5.13.1-fix_xine12_support.patch - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-dbus-tqt-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}gstreamer0.10-devel -BuildRequires: %{_lib}gstreamer-plugins-base0.10-devel -BuildRequires: libxv-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: gstreamer-devel -BuildRequires: gstreamer-plugins-base-devel -BuildRequires: libXv-devel -%endif -%if 0%{?suse_version} -BuildRequires: gstreamer-devel -BuildRequires: gstreamer-0_10-plugins-base-devel -BuildRequires: libXv-devel -%endif - -Requires: %{name}-base - -%description -A basic audio/video viewer application for Trinity. - -KMPlayer can: -* play DVD (DVDNav only with the Xine player) -* play VCD -* let the backend players play from a pipe (read from stdin) -* play from a TV device (experimental) -* show backend player's console output -* launch ffserver (only 0.4.8 works) when viewing from a v4l device -* DCOP KMediaPlayer interface support -* VDR viewer frontend (with *kxvplayer), configure VDR keys with standard KDE - shortcut configure window -* Lots of configurable shortcuts. Highly recommended for the VDR keys - (if you have VDR) and volume increase/decrease - - -%package base -Group: Applications/Multimedia -Summary: Base files for KMPlayer [Trinity] - -%description base -Core files needed for KMPlayer. - - -%package konq-plugins -Group: Applications/Multimedia -Requires: trinity-kmplayer-base, trinity-kdebase -Summary: KMPlayer plugin for KHTML/Konqueror [Trinity] - -%description konq-plugins -This plugin enables audio/video playback inside konqueror, using Xine (with -*kxineplayer) or GStreamer (with *kgstplayer), such as movie trailers, web -tv or radio. It mimics QuickTime, MS Media Player and RealPlayer plugin -browser plugins. - - -%package doc -Group: Applications/Multimedia -Requires: %{name} = %{version}-%{release} -Summary: Handbook for KMPlayer [Trinity] - -%description doc -Documention for KMPlayer, a basic audio/video viewer application for KDE. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 -%patch1 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir}/dbus-1.0 \ - --enable-closure - - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -# Removes unwanted files -%__rm -f %{?buildroot}%{tde_datadir}/mimelnk/application/x-mplayer2.desktop - - -%clean -%__rm -rf %{buildroot} - - -%post -/sbin/ldconfig || : - -%postun -/sbin/ldconfig || : - -%post base -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig || : - -%postun base -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING ChangeLog INSTALL README TODO kmplayer.lsm -%{tde_bindir}/kmplayer -%{tde_bindir}/knpplayer -%{tde_bindir}/kxvplayer -%{tde_libdir}/libkdeinit_kmplayer.la -%{tde_libdir}/libkdeinit_kmplayer.so -%{tde_tdelibdir}/kmplayer.la -%{tde_tdelibdir}/kmplayer.so -%{tde_tdeappdir}/kmplayer.desktop -%{tde_datadir}/apps/kmplayer -%{tde_datadir}/services/kmplayer_part.desktop - -%files base -%defattr(-,root,root,-) -%{tde_libdir}/libkmplayercommon.la -%{tde_libdir}/libkmplayercommon.so -%{tde_bindir}/kgstplayer -%{tde_bindir}/kxineplayer -%{tde_datadir}/config/kmplayerrc -%{tde_datadir}/apps/kmplayer/bookmarks.xml -%{tde_datadir}/apps/kmplayer/noise.gif -%{tde_datadir}/apps/kmplayer/pluginsinfo -%{tde_datadir}/icons/hicolor/*/apps/kmplayer.png -%{tde_datadir}/icons/hicolor/*/apps/kmplayer.svgz -%{tde_datadir}/mimelnk/application/x-kmplayer.desktop -%{tde_datadir}/mimelnk/video/x-ms-wmp.desktop - - -%files doc -%defattr(-,root,root,-) -%{tde_tdedocdir}/HTML/*/kmplayer - -%files konq-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/libkmplayerpart.la -%{tde_tdelibdir}/libkmplayerpart.so -%{tde_datadir}/apps/kmplayer/kmplayerpartui.rc -%{tde_datadir}/apps/kmplayer/pluginsinfo -%{tde_datadir}/services/kmplayer_part.desktop - - -%changelog -* Sat Nov 03 2012 Francois Andriot - 0.10.0c-4 -- Fix xine 1.2 support (openSUSE 12.2 only) - -* Wed Oct 03 2012 Francois Andriot - 0.10.0c-3 -- Initial build for TDE 3.5.13.1 - -* Wed May 02 2012 Francois Andriot - 0.10.0c-2 -- Fix compilation with GCC 4.7 [Commit #5106117b] - -* Sat Dec 03 2011 Francois Andriot - 0.10.0c-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/kmplayer/trinity-kmplayer-3.5.13.2.spec b/redhat/applications/kmplayer/trinity-kmplayer-3.5.13.2.spec deleted file mode 100644 index a4deea68a..000000000 --- a/redhat/applications/kmplayer/trinity-kmplayer-3.5.13.2.spec +++ /dev/null @@ -1,252 +0,0 @@ -# Default version for this component -%define tdecomp kmplayer - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: media player for Trinity -Version: 0.10.0c -Release: 5%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Multimedia - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://kmplayer.kde.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-dbus-tqt-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils - - -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} -BuildRequires: libgstreamer0.10-devel -%else -BuildRequires: %{_lib}gstreamer0.10-devel -%endif -BuildRequires: %{_lib}gstreamer-plugins-base0.10-devel -BuildRequires: libxv-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: gstreamer-devel -BuildRequires: gstreamer-plugins-base-devel -BuildRequires: libXv-devel -%endif -%if 0%{?suse_version} -BuildRequires: gstreamer-devel -BuildRequires: gstreamer-0_10-plugins-base-devel -%if 0%{?suse_version} == 1140 -BuildRequires: xorg-x11-libXv-devel -%else -BuildRequires: libXv-devel -%endif -%endif - -Requires: %{name}-base - -%description -A basic audio/video viewer application for Trinity. - -KMPlayer can: -* play DVD (DVDNav only with the Xine player) -* play VCD -* let the backend players play from a pipe (read from stdin) -* play from a TV device (experimental) -* show backend player's console output -* launch ffserver (only 0.4.8 works) when viewing from a v4l device -* DCOP KMediaPlayer interface support -* VDR viewer frontend (with *kxvplayer), configure VDR keys with standard KDE - shortcut configure window -* Lots of configurable shortcuts. Highly recommended for the VDR keys - (if you have VDR) and volume increase/decrease - - -%package base -Group: Applications/Multimedia -Summary: Base files for KMPlayer [Trinity] - -%description base -Core files needed for KMPlayer. - - -%package konq-plugins -Group: Applications/Multimedia -Requires: trinity-kmplayer-base, trinity-kdebase -Summary: KMPlayer plugin for KHTML/Konqueror [Trinity] - -%description konq-plugins -This plugin enables audio/video playback inside konqueror, using Xine (with -*kxineplayer) or GStreamer (with *kgstplayer), such as movie trailers, web -tv or radio. It mimics QuickTime, MS Media Player and RealPlayer plugin -browser plugins. - - -%package doc -Group: Applications/Multimedia -Requires: %{name} = %{version}-%{release} -Summary: Handbook for KMPlayer [Trinity] - -%description doc -Documention for KMPlayer, a basic audio/video viewer application for TDE. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{tdecomp} - -# Removes unwanted files -%__rm -f %{?buildroot}%{tde_datadir}/mimelnk/application/x-mplayer2.desktop - - -%clean -%__rm -rf %{buildroot} - - -%post -/sbin/ldconfig || : - -%postun -/sbin/ldconfig || : - -%post base -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig || : - -%postun base -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig || : - - -%files -f %{tdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING ChangeLog INSTALL README TODO kmplayer.lsm -%{tde_bindir}/kmplayer -%{tde_bindir}/knpplayer -%{tde_bindir}/kxvplayer -%{tde_libdir}/libkdeinit_kmplayer.la -%{tde_libdir}/libkdeinit_kmplayer.so -%{tde_tdelibdir}/kmplayer.la -%{tde_tdelibdir}/kmplayer.so -%{tde_tdeappdir}/kmplayer.desktop -%{tde_datadir}/apps/kmplayer -%{tde_datadir}/services/kmplayer_part.desktop - -%files base -%defattr(-,root,root,-) -%{tde_libdir}/libkmplayercommon.la -%{tde_libdir}/libkmplayercommon.so -%{tde_bindir}/kgstplayer -%{tde_bindir}/kxineplayer -%{tde_datadir}/config/kmplayerrc -%{tde_datadir}/apps/kmplayer/bookmarks.xml -%{tde_datadir}/apps/kmplayer/noise.gif -%{tde_datadir}/apps/kmplayer/pluginsinfo -%{tde_datadir}/icons/hicolor/*/apps/kmplayer.png -%{tde_datadir}/icons/hicolor/*/apps/kmplayer.svgz -%{tde_datadir}/mimelnk/application/x-kmplayer.desktop -%{tde_datadir}/mimelnk/video/x-ms-wmp.desktop - - -%files doc -%defattr(-,root,root,-) -%{tde_tdedocdir}/HTML/*/kmplayer - -%files konq-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/libkmplayerpart.la -%{tde_tdelibdir}/libkmplayerpart.so -%{tde_datadir}/apps/kmplayer/kmplayerpartui.rc -%{tde_datadir}/apps/kmplayer/pluginsinfo -%{tde_datadir}/services/kmplayer_part.desktop - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 0.10.0c-5 -- Initial release for TDE 3.5.13.2 - -* Sat Nov 03 2012 Francois Andriot - 0.10.0c-4 -- Fix xine 1.2 support (openSUSE 12.2 only) - -* Wed Oct 03 2012 Francois Andriot - 0.10.0c-3 -- Initial build for TDE 3.5.13.1 - -* Wed May 02 2012 Francois Andriot - 0.10.0c-2 -- Fix compilation with GCC 4.7 [Commit #5106117b] - -* Sat Dec 03 2011 Francois Andriot - 0.10.0c-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/kmplayer/trinity-kmplayer-3.5.13.spec b/redhat/applications/kmplayer/trinity-kmplayer-3.5.13.spec deleted file mode 100644 index 70589fe00..000000000 --- a/redhat/applications/kmplayer/trinity-kmplayer-3.5.13.spec +++ /dev/null @@ -1,232 +0,0 @@ -# Default version for this component -%define kdecomp kmplayer - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: media player for Trinity -Version: 0.10.0c -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Multimedia - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://kmplayer.kde.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# [kmplayer] Fix compilation with GCC 4.7 [Commit #5106117b] -Patch1: kmplayer-3.5.13-fix_gcc47_compilation.patch - -# [kmplayer] Missing LDLFLAGS cause FTBFS -Patch2: kmplayer-3.5.13-missing_ldflags.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils - -BuildRequires: dbus-tqt-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}gstreamer0.10-devel -BuildRequires: %{_lib}gstreamer-plugins-base0.10-devel -BuildRequires: libxv-devel -%else -BuildRequires: gstreamer-devel -BuildRequires: gstreamer-plugins-base-devel -BuildRequires: libXv-devel -%endif - -Requires: %{name}-base - -%description -A basic audio/video viewer application for Trinity. - -KMPlayer can: -* play DVD (DVDNav only with the Xine player) -* play VCD -* let the backend players play from a pipe (read from stdin) -* play from a TV device (experimental) -* show backend player's console output -* launch ffserver (only 0.4.8 works) when viewing from a v4l device -* DCOP KMediaPlayer interface support -* VDR viewer frontend (with *kxvplayer), configure VDR keys with standard KDE - shortcut configure window -* Lots of configurable shortcuts. Highly recommended for the VDR keys - (if you have VDR) and volume increase/decrease - - -%package base -Group: Applications/Multimedia -Summary: Base files for KMPlayer [Trinity] - -%description base -Core files needed for KMPlayer. - - -%package konq-plugins -Group: Applications/Multimedia -Requires: trinity-kmplayer-base, trinity-kdebase -Summary: KMPlayer plugin for KHTML/Konqueror [Trinity] - -%description konq-plugins -This plugin enables audio/video playback inside konqueror, using Xine (with -*kxineplayer) or GStreamer (with *kgstplayer), such as movie trailers, web -tv or radio. It mimics QuickTime, MS Media Player and RealPlayer plugin -browser plugins. - - -%package doc -Group: Applications/Multimedia -Requires: %{name} = %{version}-%{release} -Summary: Handbook for KMPlayer [Trinity] - -%description doc -Documention for KMPlayer, a basic audio/video viewer application for KDE. - - -%prep -%setup -q -n applications/%{kdecomp} -%patch1 -p1 -%patch2 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir}/dbus-1.0 \ - --enable-closure - - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -# Removes unwanted files -%__rm -f %{?buildroot}%{tde_datadir}/mimelnk/application/x-mplayer2.desktop - - -%clean -%__rm -rf %{buildroot} - - -%post -/sbin/ldconfig || : - -%postun -/sbin/ldconfig || : - -%post base -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig || : - -%postun base -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING ChangeLog INSTALL README TODO kmplayer.lsm -%{tde_bindir}/kmplayer -%{tde_bindir}/knpplayer -%{tde_bindir}/kxvplayer -%{tde_libdir}/libkdeinit_kmplayer.la -%{tde_libdir}/libkdeinit_kmplayer.so -%{tde_tdelibdir}/kmplayer.la -%{tde_tdelibdir}/kmplayer.so -%{tde_tdeappdir}/kmplayer.desktop -%{tde_datadir}/apps/kmplayer -%{tde_datadir}/services/kmplayer_part.desktop - -%files base -%defattr(-,root,root,-) -%{tde_libdir}/libkmplayercommon.la -%{tde_libdir}/libkmplayercommon.so -%{tde_bindir}/kgstplayer -%{tde_bindir}/kxineplayer -%{tde_datadir}/config/kmplayerrc -%{tde_datadir}/apps/kmplayer/bookmarks.xml -%{tde_datadir}/apps/kmplayer/noise.gif -%{tde_datadir}/apps/kmplayer/pluginsinfo -%{tde_datadir}/icons/hicolor/*/apps/kmplayer.png -%{tde_datadir}/icons/hicolor/*/apps/kmplayer.svgz -%{tde_datadir}/mimelnk/application/x-kmplayer.desktop -%{tde_datadir}/mimelnk/video/x-ms-wmp.desktop - - -%files doc -%defattr(-,root,root,-) -%{tde_tdedocdir}/HTML/*/kmplayer - -%files konq-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/libkmplayerpart.la -%{tde_tdelibdir}/libkmplayerpart.so -%{tde_datadir}/apps/kmplayer/kmplayerpartui.rc -%{tde_datadir}/apps/kmplayer/pluginsinfo -%{tde_datadir}/services/kmplayer_part.desktop - - -%Changelog -* Wed May 02 2012 Francois Andriot - 0.10.0c-2 -- Fix compilation with GCC 4.7 [Commit #5106117b] - -* Sat Dec 03 2011 Francois Andriot - 0.10.0c-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/kmyfirewall/kmyfirewall-3.5.13.1.spec b/redhat/applications/kmyfirewall/kmyfirewall-3.5.13.1.spec new file mode 100644 index 000000000..9aa03a339 --- /dev/null +++ b/redhat/applications/kmyfirewall/kmyfirewall-3.5.13.1.spec @@ -0,0 +1,208 @@ +# Default version for this component +%define kdecomp kmyfirewall + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: iptables based firewall configuration tool for KDE [Trinity] +Version: 1.1.1 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils + + +%description +KMyFirewall attempts to make it easier to setup iptables based firewalls on +Linux systems. It will be the right tool if you like to have a so called +"Personal Firewall" running on your Linux box, but don't have the time and/or +the interest to spend hours in front of the iptables manual just to setup a +Firewall that keeps the "bad" people out. + +There is also the possibility to save entire rule sets, so you only have to +configure your rule set one time and then you can use it on several computers +giving each of them a similar configuration (p.e. school networks, office, +university etc.) + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +%{summary} + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +for f in hicolor Locolor; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +for f in hicolor Locolor; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING COPYING-DOCS README TODO +%{tde_bindir}/kmyfirewall +%{tde_libdir}/libkmfcore.so.* +%{tde_libdir}/libkmfwidgets.so.* +%{tde_tdelibdir}/libkmfcompiler_ipt.la +%{tde_tdelibdir}/libkmfcompiler_ipt.so +%{tde_tdelibdir}/libkmfgenericinterfacepart.la +%{tde_tdelibdir}/libkmfgenericinterfacepart.so +%{tde_tdelibdir}/libkmfinstaller_linux.la +%{tde_tdelibdir}/libkmfinstaller_linux.so +%{tde_tdelibdir}/libkmfinstallerplugin.la +%{tde_tdelibdir}/libkmfinstallerplugin.so +%{tde_tdelibdir}/libkmfipteditorpart.la +%{tde_tdelibdir}/libkmfipteditorpart.so +%{tde_tdelibdir}/libkmfruleoptionedit_custom.la +%{tde_tdelibdir}/libkmfruleoptionedit_custom.so +%{tde_tdelibdir}/libkmfruleoptionedit_interface.la +%{tde_tdelibdir}/libkmfruleoptionedit_interface.so +%{tde_tdelibdir}/libkmfruleoptionedit_ip.la +%{tde_tdelibdir}/libkmfruleoptionedit_ip.so +%{tde_tdelibdir}/libkmfruleoptionedit_limit.la +%{tde_tdelibdir}/libkmfruleoptionedit_limit.so +%{tde_tdelibdir}/libkmfruleoptionedit_mac.la +%{tde_tdelibdir}/libkmfruleoptionedit_mac.so +%{tde_tdelibdir}/libkmfruleoptionedit_protocol.la +%{tde_tdelibdir}/libkmfruleoptionedit_protocol.so +%{tde_tdelibdir}/libkmfruleoptionedit_state.la +%{tde_tdelibdir}/libkmfruleoptionedit_state.so +%{tde_tdelibdir}/libkmfruleoptionedit_tos.la +%{tde_tdelibdir}/libkmfruleoptionedit_tos.so +%{tde_tdelibdir}/libkmfruletargetoptionedit_log.la +%{tde_tdelibdir}/libkmfruletargetoptionedit_log.so +%{tde_tdelibdir}/libkmfruletargetoptionedit_mark.la +%{tde_tdelibdir}/libkmfruletargetoptionedit_mark.so +%{tde_tdelibdir}/libkmfruletargetoptionedit_nat.la +%{tde_tdelibdir}/libkmfruletargetoptionedit_nat.so +%{tde_tdelibdir}/libkmfruletargetoptionedit_tos.la +%{tde_tdelibdir}/libkmfruletargetoptionedit_tos.so +%{tde_tdeappdir}/kmyfirewall.desktop +%{tde_datadir}/apps/kmfgenericinterfacepart/kmfgenericinterfacepartui.rc +%{tde_datadir}/apps/kmfipteditorpart/kmfipteditorpartui.rc +%{tde_datadir}/apps/kmfsystray +%{tde_datadir}/apps/kmyfirewall +%{tde_datadir}/config.kcfg/kmfconfig.kcfg +%{tde_datadir}/config/kmyfirewallrc +%{tde_tdedocdir}/HTML/en/kmyfirewall/ +%{tde_datadir}/icons/hicolor/*/apps/kmyfirewall.png +%{tde_datadir}/icons/Locolor/*/apps/kmyfirewall.png +%{tde_datadir}/mimelnk/application/kmfgrs.desktop +%{tde_datadir}/mimelnk/application/kmfnet.desktop +%{tde_datadir}/mimelnk/application/kmfpkg.desktop +%{tde_datadir}/mimelnk/application/kmfrs.desktop +%{tde_datadir}/services/kmf*.desktop +%{tde_datadir}/servicetypes/kmf*.desktop + +%files devel +%{tde_tdeincludedir}/kmyfirewall +%{tde_libdir}/libkmfcore.la +%{tde_libdir}/libkmfcore.so +%{tde_libdir}/libkmfwidgets.la +%{tde_libdir}/libkmfwidgets.so + +%changelog +* Wed Oct 03 2012 Francois Andriot - 1.1.1-3 +- Initial build for TDE 3.5.13.1 + +* Wed May 02 2012 Francois Andriot - 1.1.1-2 +- GCC 4.7 fixes. [Commit #88d2d2a7] + +* Sat Dec 03 2011 Francois Andriot - 1.1.1-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/kmyfirewall/kmyfirewall-3.5.13.2.spec b/redhat/applications/kmyfirewall/kmyfirewall-3.5.13.2.spec new file mode 100644 index 000000000..c4e600952 --- /dev/null +++ b/redhat/applications/kmyfirewall/kmyfirewall-3.5.13.2.spec @@ -0,0 +1,211 @@ +# Default version for this component +%define tdecomp kmyfirewall + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: iptables based firewall configuration tool for KDE [Trinity] +Version: 1.1.1 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils + + +%description +KMyFirewall attempts to make it easier to setup iptables based firewalls on +Linux systems. It will be the right tool if you like to have a so called +"Personal Firewall" running on your Linux box, but don't have the time and/or +the interest to spend hours in front of the iptables manual just to setup a +Firewall that keeps the "bad" people out. + +There is also the possibility to save entire rule sets, so you only have to +configure your rule set one time and then you can use it on several computers +giving each of them a similar configuration (p.e. school networks, office, +university etc.) + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +%{summary} + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +for f in hicolor locolor; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +for f in hicolor locolor; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING COPYING-DOCS README TODO +%{tde_bindir}/kmyfirewall +%{tde_libdir}/libkmfcore.so.* +%{tde_libdir}/libkmfwidgets.so.* +%{tde_tdelibdir}/libkmfcompiler_ipt.la +%{tde_tdelibdir}/libkmfcompiler_ipt.so +%{tde_tdelibdir}/libkmfgenericinterfacepart.la +%{tde_tdelibdir}/libkmfgenericinterfacepart.so +%{tde_tdelibdir}/libkmfinstaller_linux.la +%{tde_tdelibdir}/libkmfinstaller_linux.so +%{tde_tdelibdir}/libkmfinstallerplugin.la +%{tde_tdelibdir}/libkmfinstallerplugin.so +%{tde_tdelibdir}/libkmfipteditorpart.la +%{tde_tdelibdir}/libkmfipteditorpart.so +%{tde_tdelibdir}/libkmfruleoptionedit_custom.la +%{tde_tdelibdir}/libkmfruleoptionedit_custom.so +%{tde_tdelibdir}/libkmfruleoptionedit_interface.la +%{tde_tdelibdir}/libkmfruleoptionedit_interface.so +%{tde_tdelibdir}/libkmfruleoptionedit_ip.la +%{tde_tdelibdir}/libkmfruleoptionedit_ip.so +%{tde_tdelibdir}/libkmfruleoptionedit_limit.la +%{tde_tdelibdir}/libkmfruleoptionedit_limit.so +%{tde_tdelibdir}/libkmfruleoptionedit_mac.la +%{tde_tdelibdir}/libkmfruleoptionedit_mac.so +%{tde_tdelibdir}/libkmfruleoptionedit_protocol.la +%{tde_tdelibdir}/libkmfruleoptionedit_protocol.so +%{tde_tdelibdir}/libkmfruleoptionedit_state.la +%{tde_tdelibdir}/libkmfruleoptionedit_state.so +%{tde_tdelibdir}/libkmfruleoptionedit_tos.la +%{tde_tdelibdir}/libkmfruleoptionedit_tos.so +%{tde_tdelibdir}/libkmfruletargetoptionedit_log.la +%{tde_tdelibdir}/libkmfruletargetoptionedit_log.so +%{tde_tdelibdir}/libkmfruletargetoptionedit_mark.la +%{tde_tdelibdir}/libkmfruletargetoptionedit_mark.so +%{tde_tdelibdir}/libkmfruletargetoptionedit_nat.la +%{tde_tdelibdir}/libkmfruletargetoptionedit_nat.so +%{tde_tdelibdir}/libkmfruletargetoptionedit_tos.la +%{tde_tdelibdir}/libkmfruletargetoptionedit_tos.so +%{tde_tdeappdir}/kmyfirewall.desktop +%{tde_datadir}/apps/kmfgenericinterfacepart/kmfgenericinterfacepartui.rc +%{tde_datadir}/apps/kmfipteditorpart/kmfipteditorpartui.rc +%{tde_datadir}/apps/kmfsystray +%{tde_datadir}/apps/kmyfirewall +%{tde_datadir}/config.kcfg/kmfconfig.kcfg +%{tde_datadir}/config/kmyfirewallrc +%{tde_tdedocdir}/HTML/en/kmyfirewall/ +%{tde_datadir}/icons/hicolor/*/apps/kmyfirewall.png +%{tde_datadir}/icons/locolor/*/apps/kmyfirewall.png +%{tde_datadir}/mimelnk/application/kmfgrs.desktop +%{tde_datadir}/mimelnk/application/kmfnet.desktop +%{tde_datadir}/mimelnk/application/kmfpkg.desktop +%{tde_datadir}/mimelnk/application/kmfrs.desktop +%{tde_datadir}/services/kmf*.desktop +%{tde_datadir}/servicetypes/kmf*.desktop + +%files devel +%{tde_tdeincludedir}/kmyfirewall +%{tde_libdir}/libkmfcore.la +%{tde_libdir}/libkmfcore.so +%{tde_libdir}/libkmfwidgets.la +%{tde_libdir}/libkmfwidgets.so + +%changelog +* Mon Jun 03 2013 Francois Andriot - 1.1.1-4 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 1.1.1-3 +- Initial build for TDE 3.5.13.1 + +* Wed May 02 2012 Francois Andriot - 1.1.1-2 +- GCC 4.7 fixes. [Commit #88d2d2a7] + +* Sat Dec 03 2011 Francois Andriot - 1.1.1-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/kmyfirewall/kmyfirewall-3.5.13.spec b/redhat/applications/kmyfirewall/kmyfirewall-3.5.13.spec new file mode 100644 index 000000000..5a0cde153 --- /dev/null +++ b/redhat/applications/kmyfirewall/kmyfirewall-3.5.13.spec @@ -0,0 +1,207 @@ +# Default version for this component +%define kdecomp kmyfirewall + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: iptables based firewall configuration tool for KDE [Trinity] +Version: 1.1.1 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +# [kmyfirewall] GCC 4.7 fixes. [Commit #88d2d2a7] +Patch1: kmyfirewall-3.5.13-fix_gcc47_compilation.patch +# [kmyfirefall] Missing LDFLAGS cause FTBFS +Patch2: kmyfirewall-3.5.13-missing_ldflags.patch + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils + + +%description +KMyFirewall attempts to make it easier to setup iptables based firewalls on +Linux systems. It will be the right tool if you like to have a so called +"Personal Firewall" running on your Linux box, but don't have the time and/or +the interest to spend hours in front of the iptables manual just to setup a +Firewall that keeps the "bad" people out. + +There is also the possibility to save entire rule sets, so you only have to +configure your rule set one time and then you can use it on several computers +giving each of them a similar configuration (p.e. school networks, office, +university etc.) + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +%{summary} + + +%prep +%setup -q -n applications/%{kdecomp} +%patch1 -p1 +%patch2 -p1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +for f in hicolor Locolor; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +for f in hicolor Locolor; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING COPYING-DOCS README TODO +%{tde_bindir}/kmyfirewall +%{tde_libdir}/libkmfcore.so.* +%{tde_libdir}/libkmfwidgets.so.* +%{tde_tdelibdir}/libkmfcompiler_ipt.la +%{tde_tdelibdir}/libkmfcompiler_ipt.so +%{tde_tdelibdir}/libkmfgenericinterfacepart.la +%{tde_tdelibdir}/libkmfgenericinterfacepart.so +%{tde_tdelibdir}/libkmfinstaller_linux.la +%{tde_tdelibdir}/libkmfinstaller_linux.so +%{tde_tdelibdir}/libkmfinstallerplugin.la +%{tde_tdelibdir}/libkmfinstallerplugin.so +%{tde_tdelibdir}/libkmfipteditorpart.la +%{tde_tdelibdir}/libkmfipteditorpart.so +%{tde_tdelibdir}/libkmfruleoptionedit_custom.la +%{tde_tdelibdir}/libkmfruleoptionedit_custom.so +%{tde_tdelibdir}/libkmfruleoptionedit_interface.la +%{tde_tdelibdir}/libkmfruleoptionedit_interface.so +%{tde_tdelibdir}/libkmfruleoptionedit_ip.la +%{tde_tdelibdir}/libkmfruleoptionedit_ip.so +%{tde_tdelibdir}/libkmfruleoptionedit_limit.la +%{tde_tdelibdir}/libkmfruleoptionedit_limit.so +%{tde_tdelibdir}/libkmfruleoptionedit_mac.la +%{tde_tdelibdir}/libkmfruleoptionedit_mac.so +%{tde_tdelibdir}/libkmfruleoptionedit_protocol.la +%{tde_tdelibdir}/libkmfruleoptionedit_protocol.so +%{tde_tdelibdir}/libkmfruleoptionedit_state.la +%{tde_tdelibdir}/libkmfruleoptionedit_state.so +%{tde_tdelibdir}/libkmfruleoptionedit_tos.la +%{tde_tdelibdir}/libkmfruleoptionedit_tos.so +%{tde_tdelibdir}/libkmfruletargetoptionedit_log.la +%{tde_tdelibdir}/libkmfruletargetoptionedit_log.so +%{tde_tdelibdir}/libkmfruletargetoptionedit_mark.la +%{tde_tdelibdir}/libkmfruletargetoptionedit_mark.so +%{tde_tdelibdir}/libkmfruletargetoptionedit_nat.la +%{tde_tdelibdir}/libkmfruletargetoptionedit_nat.so +%{tde_tdelibdir}/libkmfruletargetoptionedit_tos.la +%{tde_tdelibdir}/libkmfruletargetoptionedit_tos.so +%{tde_tdeappdir}/kmyfirewall.desktop +%{tde_datadir}/apps/kmfgenericinterfacepart/kmfgenericinterfacepartui.rc +%{tde_datadir}/apps/kmfipteditorpart/kmfipteditorpartui.rc +%{tde_datadir}/apps/kmfsystray +%{tde_datadir}/apps/kmyfirewall +%{tde_datadir}/config.kcfg/kmfconfig.kcfg +%{tde_datadir}/config/kmyfirewallrc +%{tde_tdedocdir}/HTML/en/kmyfirewall/ +%{tde_datadir}/icons/hicolor/*/apps/kmyfirewall.png +%{tde_datadir}/icons/Locolor/*/apps/kmyfirewall.png +%{tde_datadir}/mimelnk/application/kmfgrs.desktop +%{tde_datadir}/mimelnk/application/kmfnet.desktop +%{tde_datadir}/mimelnk/application/kmfpkg.desktop +%{tde_datadir}/mimelnk/application/kmfrs.desktop +%{tde_datadir}/services/kmf*.desktop +%{tde_datadir}/servicetypes/kmf*.desktop + +%files devel +%{tde_tdeincludedir}/kmyfirewall +%{tde_libdir}/libkmfcore.la +%{tde_libdir}/libkmfcore.so +%{tde_libdir}/libkmfwidgets.la +%{tde_libdir}/libkmfwidgets.so + +%Changelog +* Wed May 02 2012 Francois Andriot - 1.1.1-2 +- GCC 4.7 fixes. [Commit #88d2d2a7] + +* Sat Dec 03 2011 Francois Andriot - 1.1.1-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/kmyfirewall/trinity-kmyfirewall-3.5.13.1.spec b/redhat/applications/kmyfirewall/trinity-kmyfirewall-3.5.13.1.spec deleted file mode 100644 index 9aa03a339..000000000 --- a/redhat/applications/kmyfirewall/trinity-kmyfirewall-3.5.13.1.spec +++ /dev/null @@ -1,208 +0,0 @@ -# Default version for this component -%define kdecomp kmyfirewall - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: iptables based firewall configuration tool for KDE [Trinity] -Version: 1.1.1 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - - -%description -KMyFirewall attempts to make it easier to setup iptables based firewalls on -Linux systems. It will be the right tool if you like to have a so called -"Personal Firewall" running on your Linux box, but don't have the time and/or -the interest to spend hours in front of the iptables manual just to setup a -Firewall that keeps the "bad" people out. - -There is also the possibility to save entire rule sets, so you only have to -configure your rule set one time and then you can use it on several computers -giving each of them a similar configuration (p.e. school networks, office, -university etc.) - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -%description devel -%{summary} - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -for f in hicolor Locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -for f in hicolor Locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING COPYING-DOCS README TODO -%{tde_bindir}/kmyfirewall -%{tde_libdir}/libkmfcore.so.* -%{tde_libdir}/libkmfwidgets.so.* -%{tde_tdelibdir}/libkmfcompiler_ipt.la -%{tde_tdelibdir}/libkmfcompiler_ipt.so -%{tde_tdelibdir}/libkmfgenericinterfacepart.la -%{tde_tdelibdir}/libkmfgenericinterfacepart.so -%{tde_tdelibdir}/libkmfinstaller_linux.la -%{tde_tdelibdir}/libkmfinstaller_linux.so -%{tde_tdelibdir}/libkmfinstallerplugin.la -%{tde_tdelibdir}/libkmfinstallerplugin.so -%{tde_tdelibdir}/libkmfipteditorpart.la -%{tde_tdelibdir}/libkmfipteditorpart.so -%{tde_tdelibdir}/libkmfruleoptionedit_custom.la -%{tde_tdelibdir}/libkmfruleoptionedit_custom.so -%{tde_tdelibdir}/libkmfruleoptionedit_interface.la -%{tde_tdelibdir}/libkmfruleoptionedit_interface.so -%{tde_tdelibdir}/libkmfruleoptionedit_ip.la -%{tde_tdelibdir}/libkmfruleoptionedit_ip.so -%{tde_tdelibdir}/libkmfruleoptionedit_limit.la -%{tde_tdelibdir}/libkmfruleoptionedit_limit.so -%{tde_tdelibdir}/libkmfruleoptionedit_mac.la -%{tde_tdelibdir}/libkmfruleoptionedit_mac.so -%{tde_tdelibdir}/libkmfruleoptionedit_protocol.la -%{tde_tdelibdir}/libkmfruleoptionedit_protocol.so -%{tde_tdelibdir}/libkmfruleoptionedit_state.la -%{tde_tdelibdir}/libkmfruleoptionedit_state.so -%{tde_tdelibdir}/libkmfruleoptionedit_tos.la -%{tde_tdelibdir}/libkmfruleoptionedit_tos.so -%{tde_tdelibdir}/libkmfruletargetoptionedit_log.la -%{tde_tdelibdir}/libkmfruletargetoptionedit_log.so -%{tde_tdelibdir}/libkmfruletargetoptionedit_mark.la -%{tde_tdelibdir}/libkmfruletargetoptionedit_mark.so -%{tde_tdelibdir}/libkmfruletargetoptionedit_nat.la -%{tde_tdelibdir}/libkmfruletargetoptionedit_nat.so -%{tde_tdelibdir}/libkmfruletargetoptionedit_tos.la -%{tde_tdelibdir}/libkmfruletargetoptionedit_tos.so -%{tde_tdeappdir}/kmyfirewall.desktop -%{tde_datadir}/apps/kmfgenericinterfacepart/kmfgenericinterfacepartui.rc -%{tde_datadir}/apps/kmfipteditorpart/kmfipteditorpartui.rc -%{tde_datadir}/apps/kmfsystray -%{tde_datadir}/apps/kmyfirewall -%{tde_datadir}/config.kcfg/kmfconfig.kcfg -%{tde_datadir}/config/kmyfirewallrc -%{tde_tdedocdir}/HTML/en/kmyfirewall/ -%{tde_datadir}/icons/hicolor/*/apps/kmyfirewall.png -%{tde_datadir}/icons/Locolor/*/apps/kmyfirewall.png -%{tde_datadir}/mimelnk/application/kmfgrs.desktop -%{tde_datadir}/mimelnk/application/kmfnet.desktop -%{tde_datadir}/mimelnk/application/kmfpkg.desktop -%{tde_datadir}/mimelnk/application/kmfrs.desktop -%{tde_datadir}/services/kmf*.desktop -%{tde_datadir}/servicetypes/kmf*.desktop - -%files devel -%{tde_tdeincludedir}/kmyfirewall -%{tde_libdir}/libkmfcore.la -%{tde_libdir}/libkmfcore.so -%{tde_libdir}/libkmfwidgets.la -%{tde_libdir}/libkmfwidgets.so - -%changelog -* Wed Oct 03 2012 Francois Andriot - 1.1.1-3 -- Initial build for TDE 3.5.13.1 - -* Wed May 02 2012 Francois Andriot - 1.1.1-2 -- GCC 4.7 fixes. [Commit #88d2d2a7] - -* Sat Dec 03 2011 Francois Andriot - 1.1.1-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/kmyfirewall/trinity-kmyfirewall-3.5.13.2.spec b/redhat/applications/kmyfirewall/trinity-kmyfirewall-3.5.13.2.spec deleted file mode 100644 index c4e600952..000000000 --- a/redhat/applications/kmyfirewall/trinity-kmyfirewall-3.5.13.2.spec +++ /dev/null @@ -1,211 +0,0 @@ -# Default version for this component -%define tdecomp kmyfirewall - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: iptables based firewall configuration tool for KDE [Trinity] -Version: 1.1.1 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils - - -%description -KMyFirewall attempts to make it easier to setup iptables based firewalls on -Linux systems. It will be the right tool if you like to have a so called -"Personal Firewall" running on your Linux box, but don't have the time and/or -the interest to spend hours in front of the iptables manual just to setup a -Firewall that keeps the "bad" people out. - -There is also the possibility to save entire rule sets, so you only have to -configure your rule set one time and then you can use it on several computers -giving each of them a similar configuration (p.e. school networks, office, -university etc.) - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -%description devel -%{summary} - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING COPYING-DOCS README TODO -%{tde_bindir}/kmyfirewall -%{tde_libdir}/libkmfcore.so.* -%{tde_libdir}/libkmfwidgets.so.* -%{tde_tdelibdir}/libkmfcompiler_ipt.la -%{tde_tdelibdir}/libkmfcompiler_ipt.so -%{tde_tdelibdir}/libkmfgenericinterfacepart.la -%{tde_tdelibdir}/libkmfgenericinterfacepart.so -%{tde_tdelibdir}/libkmfinstaller_linux.la -%{tde_tdelibdir}/libkmfinstaller_linux.so -%{tde_tdelibdir}/libkmfinstallerplugin.la -%{tde_tdelibdir}/libkmfinstallerplugin.so -%{tde_tdelibdir}/libkmfipteditorpart.la -%{tde_tdelibdir}/libkmfipteditorpart.so -%{tde_tdelibdir}/libkmfruleoptionedit_custom.la -%{tde_tdelibdir}/libkmfruleoptionedit_custom.so -%{tde_tdelibdir}/libkmfruleoptionedit_interface.la -%{tde_tdelibdir}/libkmfruleoptionedit_interface.so -%{tde_tdelibdir}/libkmfruleoptionedit_ip.la -%{tde_tdelibdir}/libkmfruleoptionedit_ip.so -%{tde_tdelibdir}/libkmfruleoptionedit_limit.la -%{tde_tdelibdir}/libkmfruleoptionedit_limit.so -%{tde_tdelibdir}/libkmfruleoptionedit_mac.la -%{tde_tdelibdir}/libkmfruleoptionedit_mac.so -%{tde_tdelibdir}/libkmfruleoptionedit_protocol.la -%{tde_tdelibdir}/libkmfruleoptionedit_protocol.so -%{tde_tdelibdir}/libkmfruleoptionedit_state.la -%{tde_tdelibdir}/libkmfruleoptionedit_state.so -%{tde_tdelibdir}/libkmfruleoptionedit_tos.la -%{tde_tdelibdir}/libkmfruleoptionedit_tos.so -%{tde_tdelibdir}/libkmfruletargetoptionedit_log.la -%{tde_tdelibdir}/libkmfruletargetoptionedit_log.so -%{tde_tdelibdir}/libkmfruletargetoptionedit_mark.la -%{tde_tdelibdir}/libkmfruletargetoptionedit_mark.so -%{tde_tdelibdir}/libkmfruletargetoptionedit_nat.la -%{tde_tdelibdir}/libkmfruletargetoptionedit_nat.so -%{tde_tdelibdir}/libkmfruletargetoptionedit_tos.la -%{tde_tdelibdir}/libkmfruletargetoptionedit_tos.so -%{tde_tdeappdir}/kmyfirewall.desktop -%{tde_datadir}/apps/kmfgenericinterfacepart/kmfgenericinterfacepartui.rc -%{tde_datadir}/apps/kmfipteditorpart/kmfipteditorpartui.rc -%{tde_datadir}/apps/kmfsystray -%{tde_datadir}/apps/kmyfirewall -%{tde_datadir}/config.kcfg/kmfconfig.kcfg -%{tde_datadir}/config/kmyfirewallrc -%{tde_tdedocdir}/HTML/en/kmyfirewall/ -%{tde_datadir}/icons/hicolor/*/apps/kmyfirewall.png -%{tde_datadir}/icons/locolor/*/apps/kmyfirewall.png -%{tde_datadir}/mimelnk/application/kmfgrs.desktop -%{tde_datadir}/mimelnk/application/kmfnet.desktop -%{tde_datadir}/mimelnk/application/kmfpkg.desktop -%{tde_datadir}/mimelnk/application/kmfrs.desktop -%{tde_datadir}/services/kmf*.desktop -%{tde_datadir}/servicetypes/kmf*.desktop - -%files devel -%{tde_tdeincludedir}/kmyfirewall -%{tde_libdir}/libkmfcore.la -%{tde_libdir}/libkmfcore.so -%{tde_libdir}/libkmfwidgets.la -%{tde_libdir}/libkmfwidgets.so - -%changelog -* Mon Jun 03 2013 Francois Andriot - 1.1.1-4 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 1.1.1-3 -- Initial build for TDE 3.5.13.1 - -* Wed May 02 2012 Francois Andriot - 1.1.1-2 -- GCC 4.7 fixes. [Commit #88d2d2a7] - -* Sat Dec 03 2011 Francois Andriot - 1.1.1-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/kmyfirewall/trinity-kmyfirewall-3.5.13.spec b/redhat/applications/kmyfirewall/trinity-kmyfirewall-3.5.13.spec deleted file mode 100644 index 5a0cde153..000000000 --- a/redhat/applications/kmyfirewall/trinity-kmyfirewall-3.5.13.spec +++ /dev/null @@ -1,207 +0,0 @@ -# Default version for this component -%define kdecomp kmyfirewall - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: iptables based firewall configuration tool for KDE [Trinity] -Version: 1.1.1 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# [kmyfirewall] GCC 4.7 fixes. [Commit #88d2d2a7] -Patch1: kmyfirewall-3.5.13-fix_gcc47_compilation.patch -# [kmyfirefall] Missing LDFLAGS cause FTBFS -Patch2: kmyfirewall-3.5.13-missing_ldflags.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils - - -%description -KMyFirewall attempts to make it easier to setup iptables based firewalls on -Linux systems. It will be the right tool if you like to have a so called -"Personal Firewall" running on your Linux box, but don't have the time and/or -the interest to spend hours in front of the iptables manual just to setup a -Firewall that keeps the "bad" people out. - -There is also the possibility to save entire rule sets, so you only have to -configure your rule set one time and then you can use it on several computers -giving each of them a similar configuration (p.e. school networks, office, -university etc.) - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -%description devel -%{summary} - - -%prep -%setup -q -n applications/%{kdecomp} -%patch1 -p1 -%patch2 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -for f in hicolor Locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -for f in hicolor Locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING COPYING-DOCS README TODO -%{tde_bindir}/kmyfirewall -%{tde_libdir}/libkmfcore.so.* -%{tde_libdir}/libkmfwidgets.so.* -%{tde_tdelibdir}/libkmfcompiler_ipt.la -%{tde_tdelibdir}/libkmfcompiler_ipt.so -%{tde_tdelibdir}/libkmfgenericinterfacepart.la -%{tde_tdelibdir}/libkmfgenericinterfacepart.so -%{tde_tdelibdir}/libkmfinstaller_linux.la -%{tde_tdelibdir}/libkmfinstaller_linux.so -%{tde_tdelibdir}/libkmfinstallerplugin.la -%{tde_tdelibdir}/libkmfinstallerplugin.so -%{tde_tdelibdir}/libkmfipteditorpart.la -%{tde_tdelibdir}/libkmfipteditorpart.so -%{tde_tdelibdir}/libkmfruleoptionedit_custom.la -%{tde_tdelibdir}/libkmfruleoptionedit_custom.so -%{tde_tdelibdir}/libkmfruleoptionedit_interface.la -%{tde_tdelibdir}/libkmfruleoptionedit_interface.so -%{tde_tdelibdir}/libkmfruleoptionedit_ip.la -%{tde_tdelibdir}/libkmfruleoptionedit_ip.so -%{tde_tdelibdir}/libkmfruleoptionedit_limit.la -%{tde_tdelibdir}/libkmfruleoptionedit_limit.so -%{tde_tdelibdir}/libkmfruleoptionedit_mac.la -%{tde_tdelibdir}/libkmfruleoptionedit_mac.so -%{tde_tdelibdir}/libkmfruleoptionedit_protocol.la -%{tde_tdelibdir}/libkmfruleoptionedit_protocol.so -%{tde_tdelibdir}/libkmfruleoptionedit_state.la -%{tde_tdelibdir}/libkmfruleoptionedit_state.so -%{tde_tdelibdir}/libkmfruleoptionedit_tos.la -%{tde_tdelibdir}/libkmfruleoptionedit_tos.so -%{tde_tdelibdir}/libkmfruletargetoptionedit_log.la -%{tde_tdelibdir}/libkmfruletargetoptionedit_log.so -%{tde_tdelibdir}/libkmfruletargetoptionedit_mark.la -%{tde_tdelibdir}/libkmfruletargetoptionedit_mark.so -%{tde_tdelibdir}/libkmfruletargetoptionedit_nat.la -%{tde_tdelibdir}/libkmfruletargetoptionedit_nat.so -%{tde_tdelibdir}/libkmfruletargetoptionedit_tos.la -%{tde_tdelibdir}/libkmfruletargetoptionedit_tos.so -%{tde_tdeappdir}/kmyfirewall.desktop -%{tde_datadir}/apps/kmfgenericinterfacepart/kmfgenericinterfacepartui.rc -%{tde_datadir}/apps/kmfipteditorpart/kmfipteditorpartui.rc -%{tde_datadir}/apps/kmfsystray -%{tde_datadir}/apps/kmyfirewall -%{tde_datadir}/config.kcfg/kmfconfig.kcfg -%{tde_datadir}/config/kmyfirewallrc -%{tde_tdedocdir}/HTML/en/kmyfirewall/ -%{tde_datadir}/icons/hicolor/*/apps/kmyfirewall.png -%{tde_datadir}/icons/Locolor/*/apps/kmyfirewall.png -%{tde_datadir}/mimelnk/application/kmfgrs.desktop -%{tde_datadir}/mimelnk/application/kmfnet.desktop -%{tde_datadir}/mimelnk/application/kmfpkg.desktop -%{tde_datadir}/mimelnk/application/kmfrs.desktop -%{tde_datadir}/services/kmf*.desktop -%{tde_datadir}/servicetypes/kmf*.desktop - -%files devel -%{tde_tdeincludedir}/kmyfirewall -%{tde_libdir}/libkmfcore.la -%{tde_libdir}/libkmfcore.so -%{tde_libdir}/libkmfwidgets.la -%{tde_libdir}/libkmfwidgets.so - -%Changelog -* Wed May 02 2012 Francois Andriot - 1.1.1-2 -- GCC 4.7 fixes. [Commit #88d2d2a7] - -* Sat Dec 03 2011 Francois Andriot - 1.1.1-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/kmymoney/kmymoney-3.5.13.1.spec b/redhat/applications/kmymoney/kmymoney-3.5.13.1.spec new file mode 100644 index 000000000..e6a0dad45 --- /dev/null +++ b/redhat/applications/kmymoney/kmymoney-3.5.13.1.spec @@ -0,0 +1,277 @@ +# Default version for this component +%define kdecomp kmymoney + +# Required for Mageia 2: removes the ldflag '--no-undefined' +%define _disable_ld_no_undefined 1 + +%if 0%{?mgaversion} || 0%{?mdkversion} +%define qt3pluginsdir %{_libdir}/qt3/plugins +%endif +%if 0%{?rhel} || 0%{?fedora} +%define qt3pluginsdir %{_libdir}/qt-3.3/plugins +%endif +%if 0%{?suse_version} +%define qt3pluginsdir /usr/lib/qt3/plugins +%endif + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: personal finance manager for TDE + +Version: 1.0.5 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz +Source1: kmymoneytitlelabel.png + +# [kmymoney] Missing LDFLAGS causing FTBFS +Patch4: kmymoney-3.5.13-missing_ldflags.patch + +# [kmymoney] Fix QT3 plugins directory location +Patch5: kmymoney-3.5.13-fix_qt3_plugins_location.patch + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-arts-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils + +BuildRequires: recode +BuildRequires: html2ps +BuildRequires: libofx-devel + +%if 0%{?mgaversion} || 0%{?pclinuxos} +BuildRequires: %{_lib}OpenSP5-devel +%else +BuildRequires: opensp-devel +%endif + +Requires: %{name}-common == %{version} + +%description +KMyMoney is the Personal Finance Manager for TDE. It operates similar to +MS-Money and Quicken, supports different account types, categorisation of +expenses, QIF import/export, multiple currencies and initial online banking +support. + + +%package common +Summary: KMyMoney architecture independent files +Group: Applications/Utilities +Requires: %{name} == %{version} + +%description common +This package contains architecture independent files needed for KMyMoney to +run properly. It also provides KMyMoney documentation. Therefore, unless you +have '%{name}' package installed, you will hardly find this package useful. + + +%package devel +Summary: KMyMoney development files +Group: Development/Libraries +Requires: %{name} == %{version} + +%description devel +This package contains development files needed for KMyMoney plugins. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 +%if 0%{?mgaversion} || 0%{?mdkversion} +%patch5 -p1 -b .qtpluginsdir +%endif + +%__install -m644 %{SOURCE1} kmymoney2/widgets/ + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" +export KDEDIR=%{tde_prefix} + +# Required to find the QT3 plugins directory +%if 0%{?mgaversion} || 0%{?mdkversion} +export QTPLUGINS=%{_libdir}/qt3/plugins +%endif + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure \ + --enable-pdf-docs \ + --enable-ofxplugin \ + --enable-ofxbanking \ + --enable-qtdesigner \ + --enable-sqlite3 + +# Fix FTBFS inside sqlite3 archive +patch -p1 < %{PATCH4} + +%__make %{?_smp_mflags} + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} + +# Required to find the QT3 plugins directory +%if 0%{?mgaversion} || 0%{?mdkversion} +export QTPLUGINS=%{_libdir}/qt3/plugins +%endif + +%__make install DESTDIR=%{buildroot} + + + + +## File lists +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then + for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi + done +fi + +%find_lang kmymoney2 + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +/sbin/ldconfig +for f in hicolor locolor Tango oxygen; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + +%postun +update-desktop-database %{tde_appdir} > /dev/null +/sbin/ldconfig +for f in hicolor locolor Tango oxygen; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + +%files +%defattr(-,root,root,-) +%{tde_bindir}/kmymoney +%{tde_bindir}/kmymoney2 +%{tde_tdeappdir}/kmymoney2.desktop +%{tde_datadir}/mimelnk/application/x-kmymoney2.desktop +%{tde_datadir}/servicetypes/kmymoneyimporterplugin.desktop +%{tde_datadir}/servicetypes/kmymoneyplugin.desktop +%{tde_libdir}/*.so.* +%{tde_tdelibdir}/kmm_ofximport.la +%{tde_tdelibdir}/kmm_ofximport.so + +%files common -f kmymoney2.lang +%defattr(-,root,root,-) +%{tde_datadir}/apps/kmymoney2/html/ +%{tde_datadir}/apps/kmymoney2/icons/*/*/*/*.png +%{tde_datadir}/apps/kmymoney2/kmymoney2ui.rc +%{tde_datadir}/apps/kmymoney2/misc/financequote.pl +%{tde_datadir}/apps/kmymoney2/pics/*.png +%{tde_datadir}/apps/kmymoney2/templates/*/*.kmt +%{tde_datadir}/apps/kmymoney2/tips +%{tde_datadir}/config.kcfg/kmymoney2.kcfg +%{tde_datadir}/icons/hicolor/*/*/*.png +%{tde_datadir}/icons/Tango/*/*/*.png +%{tde_datadir}/icons/Tango/scalable/*.svgz +%{tde_datadir}/icons/locolor/*/*/*.png +%{tde_datadir}/icons/oxygen/*/*/*.png +%{tde_datadir}/icons/oxygen/scalable/*.svgz +%{tde_tdedocdir}/HTML/en/kmymoney2/ +%{tde_mandir}/man1/kmymoney2.* +%{tde_datadir}/apps/kmm_ofximport/kmm_ofximport.rc +%{tde_datadir}/services/kmm_ofximport.desktop + + +%files devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kmymoney/*.h +%{tde_libdir}/libkmm_kdchart.la +%{tde_libdir}/libkmm_mymoney.la +%{tde_libdir}/libkmm_plugin.la +%{tde_libdir}/*.so +%{qt3pluginsdir}/sqldrivers/libsqlite3*.so +%{qt3pluginsdir}/designer/libkmymoney.so + +%changelog +* Wed Oct 03 2012 Francois Andriot - 1.0.5-3 +- Initial build for TDE 3.5.13.1 + +* Wed May 02 2012 Francois Andriot - 1.0.5-2 +- Rebuild for Fedora 17 +- Fix compilation with GCC 4.7 [Bug #958] + +* Sun Jan 15 2012 Francois Andriot - 1.0.5-1 +- Updates to upstream 1.0.5 + +* Sun Oct 30 2011 Francois Andriot - 1.0.4-1 +- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/applications/kmymoney/kmymoney-3.5.13.2.spec b/redhat/applications/kmymoney/kmymoney-3.5.13.2.spec new file mode 100644 index 000000000..99ac0885b --- /dev/null +++ b/redhat/applications/kmymoney/kmymoney-3.5.13.2.spec @@ -0,0 +1,303 @@ +# Default version for this component +%define tdecomp kmymoney + +# Required for Mageia 2: removes the ldflag '--no-undefined' +%define _disable_ld_no_undefined 1 + +%if 0%{?mgaversion} || 0%{?mdkversion} +%define qt3pluginsdir %{_libdir}/qt3/plugins +%endif +%if 0%{?rhel} || 0%{?fedora} +%define qt3pluginsdir %{_libdir}/qt-3.3/plugins +%endif +%if 0%{?suse_version} +%define qt3pluginsdir /usr/lib/qt3/plugins +%endif + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: personal finance manager for TDE + +Version: 1.0.5 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz +Source1: kmymoneytitlelabel.png + +# [kmymoney] Missing LDFLAGS causing FTBFS +Patch4: kmymoney-3.5.13-missing_ldflags.patch + +# [kmymoney] Fix QT3 plugins directory location +Patch5: kmymoney-3.5.13-fix_qt3_plugins_location.patch + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-arts-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils + +BuildRequires: recode +BuildRequires: libofx-devel + +# PDF support +%if 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} || 0%{?mdkversion} +%define with_pdf 1 +BuildRequires: html2ps +%endif + +# OPENSP support +%if 0%{?mgaversion} || 0%{?pclinuxos} || 0%{?mdkversion} +%if 0%{?mgaversion} || 0%{?pclinuxos} +BuildRequires: %{_lib}OpenSP5-devel +%else +BuildRequires: opensp-devel +%endif +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} +BuildRequires: opensp-devel +%endif +%if 0%{?rhel} == 4 +BuildRequires: openjade-devel +%endif + +Requires: %{name}-common == %{version} + +%description +KMyMoney is the Personal Finance Manager for TDE. It operates similar to +MS-Money and Quicken, supports different account types, categorisation of +expenses, QIF import/export, multiple currencies and initial online banking +support. + + +%package common +Summary: KMyMoney architecture independent files +Group: Applications/Utilities +Requires: %{name} == %{version} + +%description common +This package contains architecture independent files needed for KMyMoney to +run properly. It also provides KMyMoney documentation. Therefore, unless you +have '%{name}' package installed, you will hardly find this package useful. + + +%package devel +Summary: KMyMoney development files +Group: Development/Libraries +Requires: %{name} == %{version} + +%description devel +This package contains development files needed for KMyMoney plugins. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 +%if 0%{?mgaversion} || 0%{?mdkversion} +%patch5 -p1 -b .qtpluginsdir +%endif + +%if 0%{?mgaversion} >= 3 || 0%{?pclinuxos} >= 2013 +%__cp /usr/share/automake-1.13/test-driver admin/ +%endif + +%__install -m644 %{SOURCE1} kmymoney2/widgets/ + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" +export KDEDIR="%{tde_prefix}" + +# Required to find the QT3 plugins directory +%if 0%{?mgaversion} || 0%{?mdkversion} +export QTPLUGINS="%{_libdir}/qt3/plugins" +%endif + +# Fix strange FTBFS on RHEL4 +%if 0%{?rhel} == 4 +grep -v "^#~" po/it.po >/tmp/it.po && mv -f /tmp/it.po po/it.po +%endif + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure \ + %{?with_pdf:--enable-pdf-docs} %{?!with_pdf:--disable-pdf-docs} \ + --enable-ofxplugin \ + --enable-ofxbanking \ + --enable-qtdesigner \ + --enable-sqlite3 + +# Fix FTBFS inside sqlite3 archive +patch -p1 < %{PATCH4} + +%__make %{?_smp_mflags} + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} + +# Required to find the QT3 plugins directory +%if 0%{?mgaversion} || 0%{?mdkversion} +export QTPLUGINS=%{_libdir}/qt3/plugins +%endif + +%__make install DESTDIR=%{buildroot} + + + + +## File lists +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then + for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi + done +fi + +%find_lang kmymoney2 + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +/sbin/ldconfig +for f in hicolor locolor Tango oxygen; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + +%postun +update-desktop-database %{tde_appdir} > /dev/null +/sbin/ldconfig +for f in hicolor locolor Tango oxygen; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + +%files +%defattr(-,root,root,-) +%{tde_bindir}/kmymoney +%{tde_bindir}/kmymoney2 +%{tde_tdeappdir}/kmymoney2.desktop +%{tde_datadir}/mimelnk/application/x-kmymoney2.desktop +%{tde_datadir}/servicetypes/kmymoneyimporterplugin.desktop +%{tde_datadir}/servicetypes/kmymoneyplugin.desktop +%{tde_libdir}/*.so.* +%{tde_tdelibdir}/kmm_ofximport.la +%{tde_tdelibdir}/kmm_ofximport.so + +%files common -f kmymoney2.lang +%defattr(-,root,root,-) +%{tde_datadir}/apps/kmymoney2/html/ +%{tde_datadir}/apps/kmymoney2/icons/*/*/*/*.png +%{tde_datadir}/apps/kmymoney2/kmymoney2ui.rc +%{tde_datadir}/apps/kmymoney2/misc/financequote.pl +%{tde_datadir}/apps/kmymoney2/pics/*.png +%{tde_datadir}/apps/kmymoney2/templates/*/*.kmt +%{tde_datadir}/apps/kmymoney2/tips +%{tde_datadir}/config.kcfg/kmymoney2.kcfg +%{tde_datadir}/icons/hicolor/*/*/*.png +%{tde_datadir}/icons/Tango/*/*/*.png +%{tde_datadir}/icons/Tango/scalable/*.svgz +%{tde_datadir}/icons/locolor/*/*/*.png +%{tde_datadir}/icons/oxygen/*/*/*.png +%{tde_datadir}/icons/oxygen/scalable/*.svgz +%{tde_tdedocdir}/HTML/en/kmymoney2/ +%{tde_mandir}/man1/kmymoney2.* +%{tde_datadir}/apps/kmm_ofximport/kmm_ofximport.rc +%{tde_datadir}/services/kmm_ofximport.desktop + + +%files devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kmymoney/*.h +%{tde_libdir}/libkmm_kdchart.la +%{tde_libdir}/libkmm_mymoney.la +%{tde_libdir}/libkmm_plugin.la +%{tde_libdir}/*.so +%{qt3pluginsdir}/sqldrivers/libsqlite3*.so +%{qt3pluginsdir}/designer/libkmymoney.so + +%changelog +* Mon Jun 03 2013 Francois Andriot - 1.0.5-4 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 1.0.5-3 +- Initial build for TDE 3.5.13.1 + +* Wed May 02 2012 Francois Andriot - 1.0.5-2 +- Rebuild for Fedora 17 +- Fix compilation with GCC 4.7 [Bug #958] + +* Sun Jan 15 2012 Francois Andriot - 1.0.5-1 +- Updates to upstream 1.0.5 + +* Sun Oct 30 2011 Francois Andriot - 1.0.4-1 +- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/applications/kmymoney/kmymoney-3.5.13.spec b/redhat/applications/kmymoney/kmymoney-3.5.13.spec new file mode 100644 index 000000000..dfe995a5f --- /dev/null +++ b/redhat/applications/kmymoney/kmymoney-3.5.13.spec @@ -0,0 +1,278 @@ +# Default version for this component +%define kdecomp kmymoney + +# Required for Mageia 2: removes the ldflag '--no-undefined' +%define _disable_ld_no_undefined 1 + +%if 0%{?mgaversion} || 0%{?mdkversion} +%define qt3pluginsdir %{_libdir}/qt3/plugins +%else +%define qt3pluginsdir %{_libdir}/qt-3.3/plugins +%endif + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: personal finance manager for TDE + +Version: 1.0.5 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz +Source1: kmymoneytitlelabel.png +Patch0: kmymoney-3.5.13-recode_ftbfs.patch + +# TDE Commit: 2a54aa58cfe166f48d6f1395cbc6c9bfd5e31bfc +Patch1: kmymoney-3.5.13-lots_of_crash.patch + +# TDE Commit: 8654cea10f6902719006d5975db7dc07b2fcc713 +Patch2: kmymoney-3.5.13-update_to_1.0.5.patch + +# [kmymoney] Fix compilation with GCC 4.7 [Bug #958] +Patch3: kmymoney-3.5.13-fix_gcc47_compilation.patch + +# [kmymoney] Missing LDFLAGS causing FTBFS +Patch4: kmymoney-3.5.13-missing_ldflags.patch + +# [kmymoney] Fix QT3 plugins directory location +Patch5: kmymoney-3.5.13-fix_qt3_plugins_location.patch + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-arts-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils + +BuildRequires: recode +BuildRequires: html2ps +BuildRequires: libofx-devel + +%if 0%{?mgaversion} +BuildRequires: %{_lib}OpenSP5-devel +%else +BuildRequires: opensp-devel +%endif + +Requires: %{name}-common == %{version} + +%description +KMyMoney is the Personal Finance Manager for TDE. It operates similar to +MS-Money and Quicken, supports different account types, categorisation of +expenses, QIF import/export, multiple currencies and initial online banking +support. + + +%package common +Summary: KMyMoney architecture independent files +Group: Applications/Utilities +Requires: %{name} == %{version} + +%description common +This package contains architecture independent files needed for KMyMoney to +run properly. It also provides KMyMoney documentation. Therefore, unless you +have '%{name}' package installed, you will hardly find this package useful. + + +%package devel +Summary: KMyMoney development files +Group: Development/Libraries +Requires: %{name} == %{version} + +%description devel +This package contains development files needed for KMyMoney plugins. + + +%prep +%setup -q -n applications/%{kdecomp} +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%if 0%{?mgaversion} || 0%{?mdkversion} +%patch5 -p1 -b .qtpluginsdir +%endif + +%__install -m644 %{SOURCE1} kmymoney2/widgets/ + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +# Required to find the QT3 plugins directory +%if 0%{?mgaversion} || 0%{?mdkversion} +export QTPLUGINS=%{_libdir}/qt3/plugins +%endif + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure \ + --enable-pdf-docs \ + --enable-ofxplugin \ + --enable-ofxbanking \ + --enable-qtdesigner \ + --enable-sqlite3 + +# Fix FTBFS inside sqlite3 archive +patch -p1 < %{PATCH4} + +%__make %{?_smp_mflags} + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} + +# Required to find the QT3 plugins directory +%if 0%{?mgaversion} || 0%{?mdkversion} +export QTPLUGINS=%{_libdir}/qt3/plugins +%endif + +%__make install DESTDIR=%{buildroot} + + + + +## File lists +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then + for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi + done +fi + +%find_lang kmymoney2 + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +/sbin/ldconfig +for f in hicolor locolor Tango oxygen; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + +%postun +update-desktop-database %{tde_appdir} > /dev/null +/sbin/ldconfig +for f in hicolor locolor Tango oxygen; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + +%files +%defattr(-,root,root,-) +%{tde_bindir}/kmymoney +%{tde_bindir}/kmymoney2 +%{tde_tdeappdir}/kmymoney2.desktop +%{tde_datadir}/mimelnk/application/x-kmymoney2.desktop +%{tde_datadir}/servicetypes/kmymoneyimporterplugin.desktop +%{tde_datadir}/servicetypes/kmymoneyplugin.desktop +%{tde_libdir}/*.so.* +%{tde_tdelibdir}/kmm_ofximport.la +%{tde_tdelibdir}/kmm_ofximport.so + +%files common -f kmymoney2.lang +%defattr(-,root,root,-) +%{tde_datadir}/apps/kmymoney2/html/ +%{tde_datadir}/apps/kmymoney2/icons/*/*/*/*.png +%{tde_datadir}/apps/kmymoney2/kmymoney2ui.rc +%{tde_datadir}/apps/kmymoney2/misc/financequote.pl +%{tde_datadir}/apps/kmymoney2/pics/*.png +%{tde_datadir}/apps/kmymoney2/templates/*/*.kmt +%{tde_datadir}/apps/kmymoney2/tips +%{tde_datadir}/config.kcfg/kmymoney2.kcfg +%{tde_datadir}/icons/hicolor/*/*/*.png +%{tde_datadir}/icons/Tango/*/*/*.png +%{tde_datadir}/icons/Tango/scalable/*.svgz +%{tde_datadir}/icons/locolor/*/*/*.png +%{tde_datadir}/icons/oxygen/*/*/*.png +%{tde_datadir}/icons/oxygen/scalable/*.svgz +%{tde_tdedocdir}/HTML/en/kmymoney2/ +%{tde_mandir}/man1/kmymoney2.* +%{tde_datadir}/apps/kmm_ofximport/kmm_ofximport.rc +%{tde_datadir}/services/kmm_ofximport.desktop + + +%files devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kmymoney/*.h +%{tde_libdir}/libkmm_kdchart.la +%{tde_libdir}/libkmm_mymoney.la +%{tde_libdir}/libkmm_plugin.la +%{tde_libdir}/*.so +%{qt3pluginsdir}/sqldrivers/libsqlite3*.so +%{qt3pluginsdir}/designer/libkmymoney.so + +%Changelog +* Wed May 02 2012 Francois Andriot - 1.0.5-2 +- Rebuild for Fedora 17 +- Fix compilation with GCC 4.7 [Bug #958] + +* Sun Jan 15 2012 Francois Andriot - 1.0.5-1 +- Updates to upstream 1.0.5 + +* Sun Oct 30 2011 Francois Andriot - 1.0.4-1 +- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/applications/kmymoney/trinity-kmymoney-3.5.13.1.spec b/redhat/applications/kmymoney/trinity-kmymoney-3.5.13.1.spec deleted file mode 100644 index e6a0dad45..000000000 --- a/redhat/applications/kmymoney/trinity-kmymoney-3.5.13.1.spec +++ /dev/null @@ -1,277 +0,0 @@ -# Default version for this component -%define kdecomp kmymoney - -# Required for Mageia 2: removes the ldflag '--no-undefined' -%define _disable_ld_no_undefined 1 - -%if 0%{?mgaversion} || 0%{?mdkversion} -%define qt3pluginsdir %{_libdir}/qt3/plugins -%endif -%if 0%{?rhel} || 0%{?fedora} -%define qt3pluginsdir %{_libdir}/qt-3.3/plugins -%endif -%if 0%{?suse_version} -%define qt3pluginsdir /usr/lib/qt3/plugins -%endif - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: personal finance manager for TDE - -Version: 1.0.5 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz -Source1: kmymoneytitlelabel.png - -# [kmymoney] Missing LDFLAGS causing FTBFS -Patch4: kmymoney-3.5.13-missing_ldflags.patch - -# [kmymoney] Fix QT3 plugins directory location -Patch5: kmymoney-3.5.13-fix_qt3_plugins_location.patch - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-arts-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - -BuildRequires: recode -BuildRequires: html2ps -BuildRequires: libofx-devel - -%if 0%{?mgaversion} || 0%{?pclinuxos} -BuildRequires: %{_lib}OpenSP5-devel -%else -BuildRequires: opensp-devel -%endif - -Requires: %{name}-common == %{version} - -%description -KMyMoney is the Personal Finance Manager for TDE. It operates similar to -MS-Money and Quicken, supports different account types, categorisation of -expenses, QIF import/export, multiple currencies and initial online banking -support. - - -%package common -Summary: KMyMoney architecture independent files -Group: Applications/Utilities -Requires: %{name} == %{version} - -%description common -This package contains architecture independent files needed for KMyMoney to -run properly. It also provides KMyMoney documentation. Therefore, unless you -have '%{name}' package installed, you will hardly find this package useful. - - -%package devel -Summary: KMyMoney development files -Group: Development/Libraries -Requires: %{name} == %{version} - -%description devel -This package contains development files needed for KMyMoney plugins. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 -%if 0%{?mgaversion} || 0%{?mdkversion} -%patch5 -p1 -b .qtpluginsdir -%endif - -%__install -m644 %{SOURCE1} kmymoney2/widgets/ - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" -export KDEDIR=%{tde_prefix} - -# Required to find the QT3 plugins directory -%if 0%{?mgaversion} || 0%{?mdkversion} -export QTPLUGINS=%{_libdir}/qt3/plugins -%endif - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure \ - --enable-pdf-docs \ - --enable-ofxplugin \ - --enable-ofxbanking \ - --enable-qtdesigner \ - --enable-sqlite3 - -# Fix FTBFS inside sqlite3 archive -patch -p1 < %{PATCH4} - -%__make %{?_smp_mflags} - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} - -# Required to find the QT3 plugins directory -%if 0%{?mgaversion} || 0%{?mdkversion} -export QTPLUGINS=%{_libdir}/qt3/plugins -%endif - -%__make install DESTDIR=%{buildroot} - - - - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then - for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi - done -fi - -%find_lang kmymoney2 - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -/sbin/ldconfig -for f in hicolor locolor Tango oxygen; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -update-desktop-database %{tde_appdir} > /dev/null -/sbin/ldconfig -for f in hicolor locolor Tango oxygen; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%files -%defattr(-,root,root,-) -%{tde_bindir}/kmymoney -%{tde_bindir}/kmymoney2 -%{tde_tdeappdir}/kmymoney2.desktop -%{tde_datadir}/mimelnk/application/x-kmymoney2.desktop -%{tde_datadir}/servicetypes/kmymoneyimporterplugin.desktop -%{tde_datadir}/servicetypes/kmymoneyplugin.desktop -%{tde_libdir}/*.so.* -%{tde_tdelibdir}/kmm_ofximport.la -%{tde_tdelibdir}/kmm_ofximport.so - -%files common -f kmymoney2.lang -%defattr(-,root,root,-) -%{tde_datadir}/apps/kmymoney2/html/ -%{tde_datadir}/apps/kmymoney2/icons/*/*/*/*.png -%{tde_datadir}/apps/kmymoney2/kmymoney2ui.rc -%{tde_datadir}/apps/kmymoney2/misc/financequote.pl -%{tde_datadir}/apps/kmymoney2/pics/*.png -%{tde_datadir}/apps/kmymoney2/templates/*/*.kmt -%{tde_datadir}/apps/kmymoney2/tips -%{tde_datadir}/config.kcfg/kmymoney2.kcfg -%{tde_datadir}/icons/hicolor/*/*/*.png -%{tde_datadir}/icons/Tango/*/*/*.png -%{tde_datadir}/icons/Tango/scalable/*.svgz -%{tde_datadir}/icons/locolor/*/*/*.png -%{tde_datadir}/icons/oxygen/*/*/*.png -%{tde_datadir}/icons/oxygen/scalable/*.svgz -%{tde_tdedocdir}/HTML/en/kmymoney2/ -%{tde_mandir}/man1/kmymoney2.* -%{tde_datadir}/apps/kmm_ofximport/kmm_ofximport.rc -%{tde_datadir}/services/kmm_ofximport.desktop - - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kmymoney/*.h -%{tde_libdir}/libkmm_kdchart.la -%{tde_libdir}/libkmm_mymoney.la -%{tde_libdir}/libkmm_plugin.la -%{tde_libdir}/*.so -%{qt3pluginsdir}/sqldrivers/libsqlite3*.so -%{qt3pluginsdir}/designer/libkmymoney.so - -%changelog -* Wed Oct 03 2012 Francois Andriot - 1.0.5-3 -- Initial build for TDE 3.5.13.1 - -* Wed May 02 2012 Francois Andriot - 1.0.5-2 -- Rebuild for Fedora 17 -- Fix compilation with GCC 4.7 [Bug #958] - -* Sun Jan 15 2012 Francois Andriot - 1.0.5-1 -- Updates to upstream 1.0.5 - -* Sun Oct 30 2011 Francois Andriot - 1.0.4-1 -- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/applications/kmymoney/trinity-kmymoney-3.5.13.2.spec b/redhat/applications/kmymoney/trinity-kmymoney-3.5.13.2.spec deleted file mode 100644 index 99ac0885b..000000000 --- a/redhat/applications/kmymoney/trinity-kmymoney-3.5.13.2.spec +++ /dev/null @@ -1,303 +0,0 @@ -# Default version for this component -%define tdecomp kmymoney - -# Required for Mageia 2: removes the ldflag '--no-undefined' -%define _disable_ld_no_undefined 1 - -%if 0%{?mgaversion} || 0%{?mdkversion} -%define qt3pluginsdir %{_libdir}/qt3/plugins -%endif -%if 0%{?rhel} || 0%{?fedora} -%define qt3pluginsdir %{_libdir}/qt-3.3/plugins -%endif -%if 0%{?suse_version} -%define qt3pluginsdir /usr/lib/qt3/plugins -%endif - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: personal finance manager for TDE - -Version: 1.0.5 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz -Source1: kmymoneytitlelabel.png - -# [kmymoney] Missing LDFLAGS causing FTBFS -Patch4: kmymoney-3.5.13-missing_ldflags.patch - -# [kmymoney] Fix QT3 plugins directory location -Patch5: kmymoney-3.5.13-fix_qt3_plugins_location.patch - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-arts-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils - -BuildRequires: recode -BuildRequires: libofx-devel - -# PDF support -%if 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} || 0%{?mdkversion} -%define with_pdf 1 -BuildRequires: html2ps -%endif - -# OPENSP support -%if 0%{?mgaversion} || 0%{?pclinuxos} || 0%{?mdkversion} -%if 0%{?mgaversion} || 0%{?pclinuxos} -BuildRequires: %{_lib}OpenSP5-devel -%else -BuildRequires: opensp-devel -%endif -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} -BuildRequires: opensp-devel -%endif -%if 0%{?rhel} == 4 -BuildRequires: openjade-devel -%endif - -Requires: %{name}-common == %{version} - -%description -KMyMoney is the Personal Finance Manager for TDE. It operates similar to -MS-Money and Quicken, supports different account types, categorisation of -expenses, QIF import/export, multiple currencies and initial online banking -support. - - -%package common -Summary: KMyMoney architecture independent files -Group: Applications/Utilities -Requires: %{name} == %{version} - -%description common -This package contains architecture independent files needed for KMyMoney to -run properly. It also provides KMyMoney documentation. Therefore, unless you -have '%{name}' package installed, you will hardly find this package useful. - - -%package devel -Summary: KMyMoney development files -Group: Development/Libraries -Requires: %{name} == %{version} - -%description devel -This package contains development files needed for KMyMoney plugins. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 -%if 0%{?mgaversion} || 0%{?mdkversion} -%patch5 -p1 -b .qtpluginsdir -%endif - -%if 0%{?mgaversion} >= 3 || 0%{?pclinuxos} >= 2013 -%__cp /usr/share/automake-1.13/test-driver admin/ -%endif - -%__install -m644 %{SOURCE1} kmymoney2/widgets/ - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" -export KDEDIR="%{tde_prefix}" - -# Required to find the QT3 plugins directory -%if 0%{?mgaversion} || 0%{?mdkversion} -export QTPLUGINS="%{_libdir}/qt3/plugins" -%endif - -# Fix strange FTBFS on RHEL4 -%if 0%{?rhel} == 4 -grep -v "^#~" po/it.po >/tmp/it.po && mv -f /tmp/it.po po/it.po -%endif - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure \ - %{?with_pdf:--enable-pdf-docs} %{?!with_pdf:--disable-pdf-docs} \ - --enable-ofxplugin \ - --enable-ofxbanking \ - --enable-qtdesigner \ - --enable-sqlite3 - -# Fix FTBFS inside sqlite3 archive -patch -p1 < %{PATCH4} - -%__make %{?_smp_mflags} - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} - -# Required to find the QT3 plugins directory -%if 0%{?mgaversion} || 0%{?mdkversion} -export QTPLUGINS=%{_libdir}/qt3/plugins -%endif - -%__make install DESTDIR=%{buildroot} - - - - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then - for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi - done -fi - -%find_lang kmymoney2 - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -/sbin/ldconfig -for f in hicolor locolor Tango oxygen; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -update-desktop-database %{tde_appdir} > /dev/null -/sbin/ldconfig -for f in hicolor locolor Tango oxygen; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%files -%defattr(-,root,root,-) -%{tde_bindir}/kmymoney -%{tde_bindir}/kmymoney2 -%{tde_tdeappdir}/kmymoney2.desktop -%{tde_datadir}/mimelnk/application/x-kmymoney2.desktop -%{tde_datadir}/servicetypes/kmymoneyimporterplugin.desktop -%{tde_datadir}/servicetypes/kmymoneyplugin.desktop -%{tde_libdir}/*.so.* -%{tde_tdelibdir}/kmm_ofximport.la -%{tde_tdelibdir}/kmm_ofximport.so - -%files common -f kmymoney2.lang -%defattr(-,root,root,-) -%{tde_datadir}/apps/kmymoney2/html/ -%{tde_datadir}/apps/kmymoney2/icons/*/*/*/*.png -%{tde_datadir}/apps/kmymoney2/kmymoney2ui.rc -%{tde_datadir}/apps/kmymoney2/misc/financequote.pl -%{tde_datadir}/apps/kmymoney2/pics/*.png -%{tde_datadir}/apps/kmymoney2/templates/*/*.kmt -%{tde_datadir}/apps/kmymoney2/tips -%{tde_datadir}/config.kcfg/kmymoney2.kcfg -%{tde_datadir}/icons/hicolor/*/*/*.png -%{tde_datadir}/icons/Tango/*/*/*.png -%{tde_datadir}/icons/Tango/scalable/*.svgz -%{tde_datadir}/icons/locolor/*/*/*.png -%{tde_datadir}/icons/oxygen/*/*/*.png -%{tde_datadir}/icons/oxygen/scalable/*.svgz -%{tde_tdedocdir}/HTML/en/kmymoney2/ -%{tde_mandir}/man1/kmymoney2.* -%{tde_datadir}/apps/kmm_ofximport/kmm_ofximport.rc -%{tde_datadir}/services/kmm_ofximport.desktop - - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kmymoney/*.h -%{tde_libdir}/libkmm_kdchart.la -%{tde_libdir}/libkmm_mymoney.la -%{tde_libdir}/libkmm_plugin.la -%{tde_libdir}/*.so -%{qt3pluginsdir}/sqldrivers/libsqlite3*.so -%{qt3pluginsdir}/designer/libkmymoney.so - -%changelog -* Mon Jun 03 2013 Francois Andriot - 1.0.5-4 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 1.0.5-3 -- Initial build for TDE 3.5.13.1 - -* Wed May 02 2012 Francois Andriot - 1.0.5-2 -- Rebuild for Fedora 17 -- Fix compilation with GCC 4.7 [Bug #958] - -* Sun Jan 15 2012 Francois Andriot - 1.0.5-1 -- Updates to upstream 1.0.5 - -* Sun Oct 30 2011 Francois Andriot - 1.0.4-1 -- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/applications/kmymoney/trinity-kmymoney-3.5.13.spec b/redhat/applications/kmymoney/trinity-kmymoney-3.5.13.spec deleted file mode 100644 index dfe995a5f..000000000 --- a/redhat/applications/kmymoney/trinity-kmymoney-3.5.13.spec +++ /dev/null @@ -1,278 +0,0 @@ -# Default version for this component -%define kdecomp kmymoney - -# Required for Mageia 2: removes the ldflag '--no-undefined' -%define _disable_ld_no_undefined 1 - -%if 0%{?mgaversion} || 0%{?mdkversion} -%define qt3pluginsdir %{_libdir}/qt3/plugins -%else -%define qt3pluginsdir %{_libdir}/qt-3.3/plugins -%endif - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: personal finance manager for TDE - -Version: 1.0.5 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz -Source1: kmymoneytitlelabel.png -Patch0: kmymoney-3.5.13-recode_ftbfs.patch - -# TDE Commit: 2a54aa58cfe166f48d6f1395cbc6c9bfd5e31bfc -Patch1: kmymoney-3.5.13-lots_of_crash.patch - -# TDE Commit: 8654cea10f6902719006d5975db7dc07b2fcc713 -Patch2: kmymoney-3.5.13-update_to_1.0.5.patch - -# [kmymoney] Fix compilation with GCC 4.7 [Bug #958] -Patch3: kmymoney-3.5.13-fix_gcc47_compilation.patch - -# [kmymoney] Missing LDFLAGS causing FTBFS -Patch4: kmymoney-3.5.13-missing_ldflags.patch - -# [kmymoney] Fix QT3 plugins directory location -Patch5: kmymoney-3.5.13-fix_qt3_plugins_location.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-arts-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils - -BuildRequires: recode -BuildRequires: html2ps -BuildRequires: libofx-devel - -%if 0%{?mgaversion} -BuildRequires: %{_lib}OpenSP5-devel -%else -BuildRequires: opensp-devel -%endif - -Requires: %{name}-common == %{version} - -%description -KMyMoney is the Personal Finance Manager for TDE. It operates similar to -MS-Money and Quicken, supports different account types, categorisation of -expenses, QIF import/export, multiple currencies and initial online banking -support. - - -%package common -Summary: KMyMoney architecture independent files -Group: Applications/Utilities -Requires: %{name} == %{version} - -%description common -This package contains architecture independent files needed for KMyMoney to -run properly. It also provides KMyMoney documentation. Therefore, unless you -have '%{name}' package installed, you will hardly find this package useful. - - -%package devel -Summary: KMyMoney development files -Group: Development/Libraries -Requires: %{name} == %{version} - -%description devel -This package contains development files needed for KMyMoney plugins. - - -%prep -%setup -q -n applications/%{kdecomp} -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%if 0%{?mgaversion} || 0%{?mdkversion} -%patch5 -p1 -b .qtpluginsdir -%endif - -%__install -m644 %{SOURCE1} kmymoney2/widgets/ - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -# Required to find the QT3 plugins directory -%if 0%{?mgaversion} || 0%{?mdkversion} -export QTPLUGINS=%{_libdir}/qt3/plugins -%endif - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure \ - --enable-pdf-docs \ - --enable-ofxplugin \ - --enable-ofxbanking \ - --enable-qtdesigner \ - --enable-sqlite3 - -# Fix FTBFS inside sqlite3 archive -patch -p1 < %{PATCH4} - -%__make %{?_smp_mflags} - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} - -# Required to find the QT3 plugins directory -%if 0%{?mgaversion} || 0%{?mdkversion} -export QTPLUGINS=%{_libdir}/qt3/plugins -%endif - -%__make install DESTDIR=%{buildroot} - - - - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then - for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi - done -fi - -%find_lang kmymoney2 - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -/sbin/ldconfig -for f in hicolor locolor Tango oxygen; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -update-desktop-database %{tde_appdir} > /dev/null -/sbin/ldconfig -for f in hicolor locolor Tango oxygen; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%files -%defattr(-,root,root,-) -%{tde_bindir}/kmymoney -%{tde_bindir}/kmymoney2 -%{tde_tdeappdir}/kmymoney2.desktop -%{tde_datadir}/mimelnk/application/x-kmymoney2.desktop -%{tde_datadir}/servicetypes/kmymoneyimporterplugin.desktop -%{tde_datadir}/servicetypes/kmymoneyplugin.desktop -%{tde_libdir}/*.so.* -%{tde_tdelibdir}/kmm_ofximport.la -%{tde_tdelibdir}/kmm_ofximport.so - -%files common -f kmymoney2.lang -%defattr(-,root,root,-) -%{tde_datadir}/apps/kmymoney2/html/ -%{tde_datadir}/apps/kmymoney2/icons/*/*/*/*.png -%{tde_datadir}/apps/kmymoney2/kmymoney2ui.rc -%{tde_datadir}/apps/kmymoney2/misc/financequote.pl -%{tde_datadir}/apps/kmymoney2/pics/*.png -%{tde_datadir}/apps/kmymoney2/templates/*/*.kmt -%{tde_datadir}/apps/kmymoney2/tips -%{tde_datadir}/config.kcfg/kmymoney2.kcfg -%{tde_datadir}/icons/hicolor/*/*/*.png -%{tde_datadir}/icons/Tango/*/*/*.png -%{tde_datadir}/icons/Tango/scalable/*.svgz -%{tde_datadir}/icons/locolor/*/*/*.png -%{tde_datadir}/icons/oxygen/*/*/*.png -%{tde_datadir}/icons/oxygen/scalable/*.svgz -%{tde_tdedocdir}/HTML/en/kmymoney2/ -%{tde_mandir}/man1/kmymoney2.* -%{tde_datadir}/apps/kmm_ofximport/kmm_ofximport.rc -%{tde_datadir}/services/kmm_ofximport.desktop - - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kmymoney/*.h -%{tde_libdir}/libkmm_kdchart.la -%{tde_libdir}/libkmm_mymoney.la -%{tde_libdir}/libkmm_plugin.la -%{tde_libdir}/*.so -%{qt3pluginsdir}/sqldrivers/libsqlite3*.so -%{qt3pluginsdir}/designer/libkmymoney.so - -%Changelog -* Wed May 02 2012 Francois Andriot - 1.0.5-2 -- Rebuild for Fedora 17 -- Fix compilation with GCC 4.7 [Bug #958] - -* Sun Jan 15 2012 Francois Andriot - 1.0.5-1 -- Updates to upstream 1.0.5 - -* Sun Oct 30 2011 Francois Andriot - 1.0.4-1 -- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/applications/knemo/knemo-3.5.13.1.spec b/redhat/applications/knemo/knemo-3.5.13.1.spec new file mode 100644 index 000000000..da7910aeb --- /dev/null +++ b/redhat/applications/knemo/knemo-3.5.13.1.spec @@ -0,0 +1,143 @@ +# Default version for this component +%define kdecomp knemo + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: network interfaces monitor for the Trinity systray +Version: 0.4.8 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://beta.smileaf.org/projects + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +KNemo displays an icon in the systray for every network interface. +Tooltips and an info dialog provide further information about the +interface. Passive popups inform about interface changes. +A traffic plotter is also integrated. + +knemo polls the network interface status every second using the +ifconfig, route and iwconfig tools. + +Homepage: http://extragear.kde.org/apps/knemo/ + + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/crystalsvg || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/crystalsvg || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : + + +%files +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcm_knemo.la +%{tde_tdelibdir}/kcm_knemo.so +%{tde_tdelibdir}/kded_knemod.la +%{tde_tdelibdir}/kded_knemod.so +%{tde_tdeappdir}/kcm_knemo.desktop +%{tde_datadir}/apps/knemo/eventsrc +%{tde_datadir}/icons/crystalsvg/*/*/*.png +%{tde_datadir}/locale/*/LC_MESSAGES/knemod.mo +%{tde_datadir}/locale/*/LC_MESSAGES/kcm_knemo.mo +%{tde_datadir}/services/kded/knemod.desktop + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.4.8-3 +- Initial build for TDE 3.5.13.1 + +* Wed May 02 2012 Francois Andriot - 0.4.8-2 +- Rebuild for Fedora 17 + +* Fri Nov 25 2011 Francois Andriot - 0.4.8-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knemo/knemo-3.5.13.2.spec b/redhat/applications/knemo/knemo-3.5.13.2.spec new file mode 100644 index 000000000..c7409a810 --- /dev/null +++ b/redhat/applications/knemo/knemo-3.5.13.2.spec @@ -0,0 +1,150 @@ +# Default version for this component +%define tdecomp knemo + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: network interfaces monitor for the Trinity systray +Version: 0.4.8 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://beta.smileaf.org/projects + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +%if 0%{?fedora} >= 18 +BuildRequires: net-tools +%endif + + +%description +KNemo displays an icon in the systray for every network interface. +Tooltips and an info dialog provide further information about the +interface. Passive popups inform about interface changes. +A traffic plotter is also integrated. + +knemo polls the network interface status every second using the +ifconfig, route and iwconfig tools. + +Homepage: http://extragear.kde.org/apps/knemo/ + + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/crystalsvg || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/crystalsvg || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : + + +%files +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcm_knemo.la +%{tde_tdelibdir}/kcm_knemo.so +%{tde_tdelibdir}/kded_knemod.la +%{tde_tdelibdir}/kded_knemod.so +%{tde_tdeappdir}/kcm_knemo.desktop +%{tde_datadir}/apps/knemo/eventsrc +%{tde_datadir}/icons/crystalsvg/*/*/*.png +%{tde_datadir}/locale/*/LC_MESSAGES/knemod.mo +%{tde_datadir}/locale/*/LC_MESSAGES/kcm_knemo.mo +%{tde_datadir}/services/kded/knemod.desktop + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 0.4.8-4 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.4.8-3 +- Initial build for TDE 3.5.13.1 + +* Wed May 02 2012 Francois Andriot - 0.4.8-2 +- Rebuild for Fedora 17 + +* Fri Nov 25 2011 Francois Andriot - 0.4.8-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knemo/knemo-3.5.13.spec b/redhat/applications/knemo/knemo-3.5.13.spec new file mode 100644 index 000000000..3db393ccd --- /dev/null +++ b/redhat/applications/knemo/knemo-3.5.13.spec @@ -0,0 +1,135 @@ +# Default version for this component +%define kdecomp knemo + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: network interfaces monitor for the Trinity systray +Version: 0.4.8 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://beta.smileaf.org/projects + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +KNemo displays an icon in the systray for every network interface. +Tooltips and an info dialog provide further information about the +interface. Passive popups inform about interface changes. +A traffic plotter is also integrated. + +knemo polls the network interface status every second using the +ifconfig, route and iwconfig tools. + +Homepage: http://extragear.kde.org/apps/knemo/ + + + +%prep +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/crystalsvg || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/crystalsvg || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : + + +%files +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcm_knemo.la +%{tde_tdelibdir}/kcm_knemo.so +%{tde_tdelibdir}/kded_knemod.la +%{tde_tdelibdir}/kded_knemod.so +%{tde_tdeappdir}/kcm_knemo.desktop +%{tde_datadir}/apps/knemo/eventsrc +%{tde_datadir}/icons/crystalsvg/*/*/*.png +%{tde_datadir}/locale/*/LC_MESSAGES/knemod.mo +%{tde_datadir}/locale/*/LC_MESSAGES/kcm_knemo.mo +%{tde_datadir}/services/kded/knemod.desktop + + +%Changelog +* Wed May 02 2012 Francois Andriot - 0.4.8-2 +- Rebuild for Fedora 17 + +* Fri Nov 25 2011 Francois Andriot - 0.4.8-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knemo/trinity-knemo-3.5.13.1.spec b/redhat/applications/knemo/trinity-knemo-3.5.13.1.spec deleted file mode 100644 index da7910aeb..000000000 --- a/redhat/applications/knemo/trinity-knemo-3.5.13.1.spec +++ /dev/null @@ -1,143 +0,0 @@ -# Default version for this component -%define kdecomp knemo - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: network interfaces monitor for the Trinity systray -Version: 0.4.8 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://beta.smileaf.org/projects - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -KNemo displays an icon in the systray for every network interface. -Tooltips and an info dialog provide further information about the -interface. Passive popups inform about interface changes. -A traffic plotter is also integrated. - -knemo polls the network interface status every second using the -ifconfig, route and iwconfig tools. - -Homepage: http://extragear.kde.org/apps/knemo/ - - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : - - -%files -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_knemo.la -%{tde_tdelibdir}/kcm_knemo.so -%{tde_tdelibdir}/kded_knemod.la -%{tde_tdelibdir}/kded_knemod.so -%{tde_tdeappdir}/kcm_knemo.desktop -%{tde_datadir}/apps/knemo/eventsrc -%{tde_datadir}/icons/crystalsvg/*/*/*.png -%{tde_datadir}/locale/*/LC_MESSAGES/knemod.mo -%{tde_datadir}/locale/*/LC_MESSAGES/kcm_knemo.mo -%{tde_datadir}/services/kded/knemod.desktop - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.4.8-3 -- Initial build for TDE 3.5.13.1 - -* Wed May 02 2012 Francois Andriot - 0.4.8-2 -- Rebuild for Fedora 17 - -* Fri Nov 25 2011 Francois Andriot - 0.4.8-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knemo/trinity-knemo-3.5.13.2.spec b/redhat/applications/knemo/trinity-knemo-3.5.13.2.spec deleted file mode 100644 index c7409a810..000000000 --- a/redhat/applications/knemo/trinity-knemo-3.5.13.2.spec +++ /dev/null @@ -1,150 +0,0 @@ -# Default version for this component -%define tdecomp knemo - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: network interfaces monitor for the Trinity systray -Version: 0.4.8 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://beta.smileaf.org/projects - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -%if 0%{?fedora} >= 18 -BuildRequires: net-tools -%endif - - -%description -KNemo displays an icon in the systray for every network interface. -Tooltips and an info dialog provide further information about the -interface. Passive popups inform about interface changes. -A traffic plotter is also integrated. - -knemo polls the network interface status every second using the -ifconfig, route and iwconfig tools. - -Homepage: http://extragear.kde.org/apps/knemo/ - - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : - - -%files -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_knemo.la -%{tde_tdelibdir}/kcm_knemo.so -%{tde_tdelibdir}/kded_knemod.la -%{tde_tdelibdir}/kded_knemod.so -%{tde_tdeappdir}/kcm_knemo.desktop -%{tde_datadir}/apps/knemo/eventsrc -%{tde_datadir}/icons/crystalsvg/*/*/*.png -%{tde_datadir}/locale/*/LC_MESSAGES/knemod.mo -%{tde_datadir}/locale/*/LC_MESSAGES/kcm_knemo.mo -%{tde_datadir}/services/kded/knemod.desktop - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 0.4.8-4 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.4.8-3 -- Initial build for TDE 3.5.13.1 - -* Wed May 02 2012 Francois Andriot - 0.4.8-2 -- Rebuild for Fedora 17 - -* Fri Nov 25 2011 Francois Andriot - 0.4.8-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knemo/trinity-knemo-3.5.13.spec b/redhat/applications/knemo/trinity-knemo-3.5.13.spec deleted file mode 100644 index 3db393ccd..000000000 --- a/redhat/applications/knemo/trinity-knemo-3.5.13.spec +++ /dev/null @@ -1,135 +0,0 @@ -# Default version for this component -%define kdecomp knemo - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: network interfaces monitor for the Trinity systray -Version: 0.4.8 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://beta.smileaf.org/projects - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -KNemo displays an icon in the systray for every network interface. -Tooltips and an info dialog provide further information about the -interface. Passive popups inform about interface changes. -A traffic plotter is also integrated. - -knemo polls the network interface status every second using the -ifconfig, route and iwconfig tools. - -Homepage: http://extragear.kde.org/apps/knemo/ - - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : - - -%files -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_knemo.la -%{tde_tdelibdir}/kcm_knemo.so -%{tde_tdelibdir}/kded_knemod.la -%{tde_tdelibdir}/kded_knemod.so -%{tde_tdeappdir}/kcm_knemo.desktop -%{tde_datadir}/apps/knemo/eventsrc -%{tde_datadir}/icons/crystalsvg/*/*/*.png -%{tde_datadir}/locale/*/LC_MESSAGES/knemod.mo -%{tde_datadir}/locale/*/LC_MESSAGES/kcm_knemo.mo -%{tde_datadir}/services/kded/knemod.desktop - - -%Changelog -* Wed May 02 2012 Francois Andriot - 0.4.8-2 -- Rebuild for Fedora 17 - -* Fri Nov 25 2011 Francois Andriot - 0.4.8-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knetload/knetload-3.5.13.1.spec b/redhat/applications/knetload/knetload-3.5.13.1.spec new file mode 100644 index 000000000..4b20989cd --- /dev/null +++ b/redhat/applications/knetload/knetload-3.5.13.1.spec @@ -0,0 +1,144 @@ +# Default version for this component +%define kdecomp knetload + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: a network meter for Kicker [Trinity] +Version: 2.3 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +KNetLoad is a small network meter for Kicker (the KDE panel). It shows +a recent history of network usage in the form of two configurable +diagrams in the system tray, one for incoming and one for outgoing +data. These diagrams have settings for colours and various different +styles. + +KNetLoad can monitor just about any network device. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +# SMP safe ! +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + + + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +for f in crystalsvg locolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + +%postun +update-desktop-database %{tde_appdir} > /dev/null +for f in crystalsvg locolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/knetload +%{tde_tdeappdir}/knetload.desktop +%{tde_datadir}/apps/knetload +%{tde_datadir}/icons/crystalsvg/*/apps/knetload.png +%{tde_datadir}/icons/locolor/*/apps/knetload.png + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 2.3-3 +- Initial build for TDE 3.5.13.1 + +* Wed May 02 2012 Francois Andriot - 2.3-2 +- Rebuild for Fedora 17 + +* Wed Nov 30 2011 Francois Andriot - 2.3-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knetload/knetload-3.5.13.2.spec b/redhat/applications/knetload/knetload-3.5.13.2.spec new file mode 100644 index 000000000..ee588af4e --- /dev/null +++ b/redhat/applications/knetload/knetload-3.5.13.2.spec @@ -0,0 +1,147 @@ +# Default version for this component +%define tdecomp knetload + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: a network meter for Kicker [Trinity] +Version: 2.3 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +KNetLoad is a small network meter for Kicker (the KDE panel). It shows +a recent history of network usage in the form of two configurable +diagrams in the system tray, one for incoming and one for outgoing +data. These diagrams have settings for colours and various different +styles. + +KNetLoad can monitor just about any network device. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +# SMP safe ! +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{tdecomp} + + + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +for f in crystalsvg locolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + +%postun +update-desktop-database %{tde_appdir} > /dev/null +for f in crystalsvg locolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + + +%files -f %{tdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/knetload +%{tde_tdeappdir}/knetload.desktop +%{tde_datadir}/apps/knetload +%{tde_datadir}/icons/crystalsvg/*/apps/knetload.png +%{tde_datadir}/icons/locolor/*/apps/knetload.png + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 2.3-4 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 2.3-3 +- Initial build for TDE 3.5.13.1 + +* Wed May 02 2012 Francois Andriot - 2.3-2 +- Rebuild for Fedora 17 + +* Wed Nov 30 2011 Francois Andriot - 2.3-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knetload/knetload-3.5.13.spec b/redhat/applications/knetload/knetload-3.5.13.spec new file mode 100644 index 000000000..89b234ac9 --- /dev/null +++ b/redhat/applications/knetload/knetload-3.5.13.spec @@ -0,0 +1,136 @@ +# Default version for this component +%define kdecomp knetload + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: a network meter for Kicker [Trinity] +Version: 2.3 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +KNetLoad is a small network meter for Kicker (the KDE panel). It shows +a recent history of network usage in the form of two configurable +diagrams in the system tray, one for incoming and one for outgoing +data. These diagrams have settings for colours and various different +styles. + +KNetLoad can monitor just about any network device. + + +%prep +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +# SMP safe ! +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + + + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +for f in crystalsvg locolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + +%postun +update-desktop-database %{tde_appdir} > /dev/null +for f in crystalsvg locolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/knetload +%{tde_tdeappdir}/knetload.desktop +%{tde_datadir}/apps/knetload +%{tde_datadir}/icons/crystalsvg/*/apps/knetload.png +%{tde_datadir}/icons/locolor/*/apps/knetload.png + + +%Changelog +* Wed May 02 2012 Francois Andriot - 2.3-2 +- Rebuild for Fedora 17 + +* Wed Nov 30 2011 Francois Andriot - 2.3-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knetload/trinity-knetload-3.5.13.1.spec b/redhat/applications/knetload/trinity-knetload-3.5.13.1.spec deleted file mode 100644 index 4b20989cd..000000000 --- a/redhat/applications/knetload/trinity-knetload-3.5.13.1.spec +++ /dev/null @@ -1,144 +0,0 @@ -# Default version for this component -%define kdecomp knetload - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: a network meter for Kicker [Trinity] -Version: 2.3 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -KNetLoad is a small network meter for Kicker (the KDE panel). It shows -a recent history of network usage in the form of two configurable -diagrams in the system tray, one for incoming and one for outgoing -data. These diagrams have settings for colours and various different -styles. - -KNetLoad can monitor just about any network device. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - - - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -for f in crystalsvg locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -update-desktop-database %{tde_appdir} > /dev/null -for f in crystalsvg locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/knetload -%{tde_tdeappdir}/knetload.desktop -%{tde_datadir}/apps/knetload -%{tde_datadir}/icons/crystalsvg/*/apps/knetload.png -%{tde_datadir}/icons/locolor/*/apps/knetload.png - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 2.3-3 -- Initial build for TDE 3.5.13.1 - -* Wed May 02 2012 Francois Andriot - 2.3-2 -- Rebuild for Fedora 17 - -* Wed Nov 30 2011 Francois Andriot - 2.3-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knetload/trinity-knetload-3.5.13.2.spec b/redhat/applications/knetload/trinity-knetload-3.5.13.2.spec deleted file mode 100644 index ee588af4e..000000000 --- a/redhat/applications/knetload/trinity-knetload-3.5.13.2.spec +++ /dev/null @@ -1,147 +0,0 @@ -# Default version for this component -%define tdecomp knetload - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: a network meter for Kicker [Trinity] -Version: 2.3 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -KNetLoad is a small network meter for Kicker (the KDE panel). It shows -a recent history of network usage in the form of two configurable -diagrams in the system tray, one for incoming and one for outgoing -data. These diagrams have settings for colours and various different -styles. - -KNetLoad can monitor just about any network device. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{tdecomp} - - - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -for f in crystalsvg locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -update-desktop-database %{tde_appdir} > /dev/null -for f in crystalsvg locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - - -%files -f %{tdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/knetload -%{tde_tdeappdir}/knetload.desktop -%{tde_datadir}/apps/knetload -%{tde_datadir}/icons/crystalsvg/*/apps/knetload.png -%{tde_datadir}/icons/locolor/*/apps/knetload.png - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 2.3-4 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 2.3-3 -- Initial build for TDE 3.5.13.1 - -* Wed May 02 2012 Francois Andriot - 2.3-2 -- Rebuild for Fedora 17 - -* Wed Nov 30 2011 Francois Andriot - 2.3-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knetload/trinity-knetload-3.5.13.spec b/redhat/applications/knetload/trinity-knetload-3.5.13.spec deleted file mode 100644 index 89b234ac9..000000000 --- a/redhat/applications/knetload/trinity-knetload-3.5.13.spec +++ /dev/null @@ -1,136 +0,0 @@ -# Default version for this component -%define kdecomp knetload - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: a network meter for Kicker [Trinity] -Version: 2.3 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -KNetLoad is a small network meter for Kicker (the KDE panel). It shows -a recent history of network usage in the form of two configurable -diagrams in the system tray, one for incoming and one for outgoing -data. These diagrams have settings for colours and various different -styles. - -KNetLoad can monitor just about any network device. - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - - - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -for f in crystalsvg locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -update-desktop-database %{tde_appdir} > /dev/null -for f in crystalsvg locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/knetload -%{tde_tdeappdir}/knetload.desktop -%{tde_datadir}/apps/knetload -%{tde_datadir}/icons/crystalsvg/*/apps/knetload.png -%{tde_datadir}/icons/locolor/*/apps/knetload.png - - -%Changelog -* Wed May 02 2012 Francois Andriot - 2.3-2 -- Rebuild for Fedora 17 - -* Wed Nov 30 2011 Francois Andriot - 2.3-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knetstats/knetstats-3.5.13.1.spec b/redhat/applications/knetstats/knetstats-3.5.13.1.spec new file mode 100644 index 000000000..47d79ee12 --- /dev/null +++ b/redhat/applications/knetstats/knetstats-3.5.13.1.spec @@ -0,0 +1,132 @@ +# Default version for this component +%define kdecomp knetstats + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: network interfaces monitor for the Trinity systray +Version: 1.6.1 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +A simple KDE network monitor that show rx/tx LEDs of any +network interface on a system tray icon + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +# SMP safe ! +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + + + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/knetstats +%{tde_tdeappdir}/knetstats.desktop +%{tde_datadir}/apps/knetstats +%{tde_tdedocdir}/HTML/en/knetstats/ +%{tde_datadir}/icons/hicolor/*/apps/knetstats.png + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 1.6.1-2 +- Initial build for TDE 3.5.13.1 + +* Wed Nov 30 2011 Francois Andriot - 1.6.1-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knetstats/knetstats-3.5.13.2.spec b/redhat/applications/knetstats/knetstats-3.5.13.2.spec new file mode 100644 index 000000000..9ab1fe7c1 --- /dev/null +++ b/redhat/applications/knetstats/knetstats-3.5.13.2.spec @@ -0,0 +1,135 @@ +# Default version for this component +%define tdecomp knetstats + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: network interfaces monitor for the Trinity systray +Version: 1.6.1 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +A simple KDE network monitor that show rx/tx LEDs of any +network interface on a system tray icon + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +# SMP safe ! +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{tdecomp} + + + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files -f %{tdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/knetstats +%{tde_tdeappdir}/knetstats.desktop +%{tde_datadir}/apps/knetstats +%{tde_tdedocdir}/HTML/en/knetstats/ +%{tde_datadir}/icons/hicolor/*/apps/knetstats.png + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 1.6.1-3 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 1.6.1-2 +- Initial build for TDE 3.5.13.1 + +* Wed Nov 30 2011 Francois Andriot - 1.6.1-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knetstats/knetstats-3.5.13.spec b/redhat/applications/knetstats/knetstats-3.5.13.spec new file mode 100644 index 000000000..9e37f55c6 --- /dev/null +++ b/redhat/applications/knetstats/knetstats-3.5.13.spec @@ -0,0 +1,124 @@ +# Default version for this component +%define kdecomp knetstats + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: network interfaces monitor for the Trinity systray +Version: 1.6.1 +Release: 1%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +A simple KDE network monitor that show rx/tx LEDs of any +network interface on a system tray icon + + +%prep +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +# SMP safe ! +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + + + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/knetstats +%{tde_tdeappdir}/knetstats.desktop +%{tde_datadir}/apps/knetstats +%{tde_tdedocdir}/HTML/en/knetstats/ +%{tde_datadir}/icons/hicolor/*/apps/knetstats.png + + +%Changelog +* Wed Nov 30 2011 Francois Andriot - 1.6.1-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knetstats/trinity-knetstats-3.5.13.1.spec b/redhat/applications/knetstats/trinity-knetstats-3.5.13.1.spec deleted file mode 100644 index 47d79ee12..000000000 --- a/redhat/applications/knetstats/trinity-knetstats-3.5.13.1.spec +++ /dev/null @@ -1,132 +0,0 @@ -# Default version for this component -%define kdecomp knetstats - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: network interfaces monitor for the Trinity systray -Version: 1.6.1 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -A simple KDE network monitor that show rx/tx LEDs of any -network interface on a system tray icon - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - - - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/knetstats -%{tde_tdeappdir}/knetstats.desktop -%{tde_datadir}/apps/knetstats -%{tde_tdedocdir}/HTML/en/knetstats/ -%{tde_datadir}/icons/hicolor/*/apps/knetstats.png - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 1.6.1-2 -- Initial build for TDE 3.5.13.1 - -* Wed Nov 30 2011 Francois Andriot - 1.6.1-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knetstats/trinity-knetstats-3.5.13.2.spec b/redhat/applications/knetstats/trinity-knetstats-3.5.13.2.spec deleted file mode 100644 index 9ab1fe7c1..000000000 --- a/redhat/applications/knetstats/trinity-knetstats-3.5.13.2.spec +++ /dev/null @@ -1,135 +0,0 @@ -# Default version for this component -%define tdecomp knetstats - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: network interfaces monitor for the Trinity systray -Version: 1.6.1 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -A simple KDE network monitor that show rx/tx LEDs of any -network interface on a system tray icon - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{tdecomp} - - - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{tdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/knetstats -%{tde_tdeappdir}/knetstats.desktop -%{tde_datadir}/apps/knetstats -%{tde_tdedocdir}/HTML/en/knetstats/ -%{tde_datadir}/icons/hicolor/*/apps/knetstats.png - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 1.6.1-3 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 1.6.1-2 -- Initial build for TDE 3.5.13.1 - -* Wed Nov 30 2011 Francois Andriot - 1.6.1-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knetstats/trinity-knetstats-3.5.13.spec b/redhat/applications/knetstats/trinity-knetstats-3.5.13.spec deleted file mode 100644 index 9e37f55c6..000000000 --- a/redhat/applications/knetstats/trinity-knetstats-3.5.13.spec +++ /dev/null @@ -1,124 +0,0 @@ -# Default version for this component -%define kdecomp knetstats - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: network interfaces monitor for the Trinity systray -Version: 1.6.1 -Release: 1%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -A simple KDE network monitor that show rx/tx LEDs of any -network interface on a system tray icon - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - - - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/knetstats -%{tde_tdeappdir}/knetstats.desktop -%{tde_datadir}/apps/knetstats -%{tde_tdedocdir}/HTML/en/knetstats/ -%{tde_datadir}/icons/hicolor/*/apps/knetstats.png - - -%Changelog -* Wed Nov 30 2011 Francois Andriot - 1.6.1-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knetworkmanager8/knetworkmanager-3.5.13.1.spec b/redhat/applications/knetworkmanager8/knetworkmanager-3.5.13.1.spec new file mode 100644 index 000000000..ffc5400d6 --- /dev/null +++ b/redhat/applications/knetworkmanager8/knetworkmanager-3.5.13.1.spec @@ -0,0 +1,186 @@ +# Default version for this component +%define kdecomp knetworkmanager +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} +%define version 0.9 +%else +%define version 0.8 +%endif + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_tdedocdir} + + +Name: trinity-%{kdecomp} +Version: %{?version} +Release: 4%{?dist}%{?_variant} + +Summary: Trinity applet for Network Manager + +Group: Applications/Internet +License: GPLv2+ +URL: http://en.opensuse.org/Projects/KNetworkManager + +%if "%{?version}" == "0.9" +Source0: %{kdecomp}9-3.5.13.tar.gz +%else +Source0: %{kdecomp}8-3.5.13.tar.gz +%endif + +Patch0: knetworkmanager-3.5.13-missing_includes.patch + +# For knetworkmanager 0.9 only ! +Patch10: knetworkmanager-3.5.13-subdir_version.patch + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +#Requires: kde-filesystem +BuildRequires: desktop-file-utils + +%if 0%{?rhel} || 0%{?fedora} +Requires: NetworkManager-gnome +%else +Requires: networkmanager +%endif + +BuildRequires: dbus-1-tqt-devel +BuildRequires: dbus-tqt-devel +BuildRequires: NetworkManager-glib-devel + +%description +KNetworkManager is a system tray applet for controlling network +connections on systems that use the NetworkManager daemon. + + +%package devel +Summary: Common data shared among the MySQL GUI Suites +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Development headers for knetworkmanager + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%if "%{?version}" == "0.9" +%setup -q -n %{kdecomp}-3.5.13.19 +%else +%setup -q -n applications/knetworkmanager8 +%endif + +%if "%{?version}" == "0.9" +%patch10 -p1 +%endif + +cd knetworkmanager-0.*/src +%patch0 -p3 + + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" +export LD_LIBRARY_PATH="%{tde_libdir}" + +# Missing TDE macros +%__mkdir_p cmake +%__ln_s %{tde_datadir}/cmake cmake/modules + +%if 0%{?rhel} || 0%{?fedora} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + .. + +%__make %{?_smp_mflags} + +%install +%__rm -rf $RPM_BUILD_ROOT +%__make install DESTDIR=%{?buildroot} -C build + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%post +update-desktop-database %{tde_appdir} > /dev/null +/sbin/ldconfig +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +/sbin/ldconfig +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%post devel +/sbin/ldconfig + +%postun devel +/sbin/ldconfig + +%files +%defattr(-,root,root,-) +%{tde_bindir}/knetworkmanager +%{tde_libdir}/*.la +%{tde_libdir}/*.so +%{_sysconfdir}/dbus-1/system.d/knetworkmanager.conf +%{tde_tdeappdir}/knetworkmanager.desktop +%{tde_datadir}/apps/knetworkmanager +%{tde_datadir}/icons/hicolor/*/apps/knetworkmanager* +%{tde_datadir}/servicetypes/knetworkmanager_plugin.desktop +%{tde_datadir}/servicetypes/knetworkmanager_vpnplugin.desktop + + +%files devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/*.h +%{tde_tdelibdir}/*.la +%{tde_tdelibdir}/*.so + +%changelog +* Wed Oct 03 2012 Francois Andriot - %{?version}-4 +- Initial build for TDE 3.5.13.1 + +* Wed May 02 2012 Francois Andriot - 0.8-3 / 0.9-3 +- Rebuild for Fedora 17 + +* Sat Nov 13 2011 Francois Andriot - 0.8-2 / 0.9-2 +- Remove faulty patch for WPA authentication + +* Tue Nov 11 2011 Francois Andriot - 0.8-1 / 0.9-1 +- Initial build diff --git a/redhat/applications/knetworkmanager8/knetworkmanager-3.5.13.2.spec b/redhat/applications/knetworkmanager8/knetworkmanager-3.5.13.2.spec new file mode 100644 index 000000000..349203c3e --- /dev/null +++ b/redhat/applications/knetworkmanager8/knetworkmanager-3.5.13.2.spec @@ -0,0 +1,189 @@ +# Default version for this component +%define tdecomp knetworkmanager +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} +%define version 0.9 +%else +%define version 0.8 +%endif + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_tdedocdir} + + +Name: trinity-%{tdecomp} +Version: %{?version} +Release: 5%{?dist}%{?_variant} + +Summary: Trinity applet for Network Manager + +Group: Applications/Internet +License: GPLv2+ +URL: http://en.opensuse.org/Projects/KNetworkManager + +%if "%{?version}" == "0.9" +Source0: trinity-knetworkmanager9-3.5.13.2.tar.gz +%else +Source0: trinity-knetworkmanager8-3.5.13.2.tar.gz +%endif + +Patch0: knetworkmanager-3.5.13-missing_includes.patch + +# For knetworkmanager 0.9 only ! +Patch10: knetworkmanager-3.5.13-subdir_version.patch + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +#Requires: kde-filesystem +BuildRequires: desktop-file-utils + +%if 0%{?rhel} || 0%{?fedora} +Requires: NetworkManager-gnome +%else +Requires: networkmanager +%endif + +BuildRequires: trinity-dbus-1-tqt-devel +BuildRequires: trinity-dbus-tqt-devel +BuildRequires: NetworkManager-glib-devel + +%description +KNetworkManager is a system tray applet for controlling network +connections on systems that use the NetworkManager daemon. + + +%package devel +Summary: Common data shared among the MySQL GUI Suites +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Development headers for knetworkmanager + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%if "%{?version}" == "0.9" +%setup -q -n %{name}9-3.5.13.2 +%else +%setup -q -n %{name}8-3.5.13.2 +%endif + +%if "%{?version}" == "0.9" +%patch10 -p1 +%endif + +cd knetworkmanager-0.*/src +%patch0 -p3 + + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" +export LD_LIBRARY_PATH="%{tde_libdir}" + +# Missing TDE macros +%__mkdir_p cmake +%__ln_s %{tde_datadir}/cmake cmake/modules + +%if 0%{?rhel} || 0%{?fedora} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + .. + +%__make %{?_smp_mflags} + +%install +%__rm -rf $RPM_BUILD_ROOT +%__make install DESTDIR=%{?buildroot} -C build + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%post +update-desktop-database %{tde_appdir} > /dev/null +/sbin/ldconfig +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +/sbin/ldconfig +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%post devel +/sbin/ldconfig + +%postun devel +/sbin/ldconfig + +%files +%defattr(-,root,root,-) +%{tde_bindir}/knetworkmanager +%{tde_libdir}/*.la +%{tde_libdir}/*.so +%{_sysconfdir}/dbus-1/system.d/knetworkmanager.conf +%{tde_tdeappdir}/knetworkmanager.desktop +%{tde_datadir}/apps/knetworkmanager +%{tde_datadir}/icons/hicolor/*/apps/knetworkmanager* +%{tde_datadir}/servicetypes/knetworkmanager_plugin.desktop +%{tde_datadir}/servicetypes/knetworkmanager_vpnplugin.desktop + + +%files devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/*.h +%{tde_tdelibdir}/*.la +%{tde_tdelibdir}/*.so + +%changelog +* Mon Jun 03 2013 Francois Andriot - %{?version}-5 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - %{?version}-4 +- Initial build for TDE 3.5.13.1 + +* Wed May 02 2012 Francois Andriot - 0.8-3 / 0.9-3 +- Rebuild for Fedora 17 + +* Sat Nov 13 2011 Francois Andriot - 0.8-2 / 0.9-2 +- Remove faulty patch for WPA authentication + +* Tue Nov 11 2011 Francois Andriot - 0.8-1 / 0.9-1 +- Initial build diff --git a/redhat/applications/knetworkmanager8/knetworkmanager-3.5.13.spec b/redhat/applications/knetworkmanager8/knetworkmanager-3.5.13.spec new file mode 100644 index 000000000..8adbb5f6d --- /dev/null +++ b/redhat/applications/knetworkmanager8/knetworkmanager-3.5.13.spec @@ -0,0 +1,180 @@ +# Default version for this component +%define kdecomp knetworkmanager +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} +%define version 0.9 +%else +%define version 0.8 +%endif + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_tdedocdir} + + +Name: trinity-%{kdecomp} +Version: %{?version} +Release: 3%{?dist}%{?_variant} + +Summary: Trinity applet for Network Manager + +Group: Applications/Internet +License: GPLv2+ +URL: http://en.opensuse.org/Projects/KNetworkManager + +%if "%{?version}" == "0.9" +Source0: %{kdecomp}9-3.5.13.tar.gz +%else +Source0: %{kdecomp}8-3.5.13.tar.gz +%endif + +Patch0: knetworkmanager-3.5.13-missing_includes.patch +Patch1: knetworkmanager-3.5.13-wpa_passphrase_lag.patch + +# For knetworkmanager 0.9 only ! +Patch10: knetworkmanager-3.5.13-subdir_version.patch + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +#Requires: kde-filesystem +BuildRequires: desktop-file-utils + +%if 0%{?rhel} || 0%{?fedora} +Requires: NetworkManager-gnome +%else +Requires: networkmanager +%endif + +BuildRequires: dbus-1-tqt-devel +BuildRequires: dbus-tqt-devel +BuildRequires: NetworkManager-glib-devel + +%description +KNetworkManager is a system tray applet for controlling network +connections on systems that use the NetworkManager daemon. + + +%package devel +Summary: Common data shared among the MySQL GUI Suites +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Development headers for knetworkmanager + + +%prep +%if "%{?version}" == "0.9" +%setup -q -n applications/%{kdecomp}9 +%else +%setup -q -n applications/%{kdecomp}8 +%endif + +%if "%{?version}" == "0.9" +%patch10 -p1 +%endif + +cd knetworkmanager-0.*/src +%patch0 -p3 +#patch1 -p3 + + + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" +export LD_LIBRARY_PATH="%{tde_libdir}" + +# Missing TDE macros +%__mkdir_p cmake +%__ln_s %{tde_datadir}/cmake cmake/modules + +%if 0%{?rhel} || 0%{?fedora} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + .. + +%__make %{?_smp_mflags} + +%install +%__rm -rf $RPM_BUILD_ROOT +%__make install DESTDIR=%{?buildroot} -C build + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%post +update-desktop-database %{tde_appdir} > /dev/null +/sbin/ldconfig +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +/sbin/ldconfig +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%post devel +/sbin/ldconfig + +%postun devel +/sbin/ldconfig + +%files +%defattr(-,root,root,-) +%{tde_bindir}/knetworkmanager +%{tde_libdir}/*.la +%{tde_libdir}/*.so +%{_sysconfdir}/dbus-1/system.d/knetworkmanager.conf +%{tde_tdeappdir}/knetworkmanager.desktop +%{tde_datadir}/apps/knetworkmanager +%{tde_datadir}/icons/hicolor/*/apps/knetworkmanager* +%{tde_datadir}/servicetypes/knetworkmanager_plugin.desktop +%{tde_datadir}/servicetypes/knetworkmanager_vpnplugin.desktop + + +%files devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/*.h +%{tde_tdelibdir}/*.la +%{tde_tdelibdir}/*.so + +%changelog +* Wed May 02 2012 Francois Andriot - 0.8-3 / 0.9-3 +- Rebuild for Fedora 17 + +* Sat Nov 13 2011 Francois Andriot - 0.8-2 / 0.9-2 +- Remove faulty patch for WPA authentication + +* Tue Nov 11 2011 Francois Andriot - 0.8-1 / 0.9-1 +- Initial build diff --git a/redhat/applications/knetworkmanager8/trinity-knetworkmanager-3.5.13.1.spec b/redhat/applications/knetworkmanager8/trinity-knetworkmanager-3.5.13.1.spec deleted file mode 100644 index ffc5400d6..000000000 --- a/redhat/applications/knetworkmanager8/trinity-knetworkmanager-3.5.13.1.spec +++ /dev/null @@ -1,186 +0,0 @@ -# Default version for this component -%define kdecomp knetworkmanager -%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} -%define version 0.9 -%else -%define version 0.8 -%endif - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_tdedocdir} - - -Name: trinity-%{kdecomp} -Version: %{?version} -Release: 4%{?dist}%{?_variant} - -Summary: Trinity applet for Network Manager - -Group: Applications/Internet -License: GPLv2+ -URL: http://en.opensuse.org/Projects/KNetworkManager - -%if "%{?version}" == "0.9" -Source0: %{kdecomp}9-3.5.13.tar.gz -%else -Source0: %{kdecomp}8-3.5.13.tar.gz -%endif - -Patch0: knetworkmanager-3.5.13-missing_includes.patch - -# For knetworkmanager 0.9 only ! -Patch10: knetworkmanager-3.5.13-subdir_version.patch - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -#Requires: kde-filesystem -BuildRequires: desktop-file-utils - -%if 0%{?rhel} || 0%{?fedora} -Requires: NetworkManager-gnome -%else -Requires: networkmanager -%endif - -BuildRequires: dbus-1-tqt-devel -BuildRequires: dbus-tqt-devel -BuildRequires: NetworkManager-glib-devel - -%description -KNetworkManager is a system tray applet for controlling network -connections on systems that use the NetworkManager daemon. - - -%package devel -Summary: Common data shared among the MySQL GUI Suites -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -%description devel -Development headers for knetworkmanager - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%if "%{?version}" == "0.9" -%setup -q -n %{kdecomp}-3.5.13.19 -%else -%setup -q -n applications/knetworkmanager8 -%endif - -%if "%{?version}" == "0.9" -%patch10 -p1 -%endif - -cd knetworkmanager-0.*/src -%patch0 -p3 - - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" -export LD_LIBRARY_PATH="%{tde_libdir}" - -# Missing TDE macros -%__mkdir_p cmake -%__ln_s %{tde_datadir}/cmake cmake/modules - -%if 0%{?rhel} || 0%{?fedora} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - .. - -%__make %{?_smp_mflags} - -%install -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=%{?buildroot} -C build - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%post -update-desktop-database %{tde_appdir} > /dev/null -/sbin/ldconfig -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -/sbin/ldconfig -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%post devel -/sbin/ldconfig - -%postun devel -/sbin/ldconfig - -%files -%defattr(-,root,root,-) -%{tde_bindir}/knetworkmanager -%{tde_libdir}/*.la -%{tde_libdir}/*.so -%{_sysconfdir}/dbus-1/system.d/knetworkmanager.conf -%{tde_tdeappdir}/knetworkmanager.desktop -%{tde_datadir}/apps/knetworkmanager -%{tde_datadir}/icons/hicolor/*/apps/knetworkmanager* -%{tde_datadir}/servicetypes/knetworkmanager_plugin.desktop -%{tde_datadir}/servicetypes/knetworkmanager_vpnplugin.desktop - - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/*.h -%{tde_tdelibdir}/*.la -%{tde_tdelibdir}/*.so - -%changelog -* Wed Oct 03 2012 Francois Andriot - %{?version}-4 -- Initial build for TDE 3.5.13.1 - -* Wed May 02 2012 Francois Andriot - 0.8-3 / 0.9-3 -- Rebuild for Fedora 17 - -* Sat Nov 13 2011 Francois Andriot - 0.8-2 / 0.9-2 -- Remove faulty patch for WPA authentication - -* Tue Nov 11 2011 Francois Andriot - 0.8-1 / 0.9-1 -- Initial build diff --git a/redhat/applications/knetworkmanager8/trinity-knetworkmanager-3.5.13.2.spec b/redhat/applications/knetworkmanager8/trinity-knetworkmanager-3.5.13.2.spec deleted file mode 100644 index 349203c3e..000000000 --- a/redhat/applications/knetworkmanager8/trinity-knetworkmanager-3.5.13.2.spec +++ /dev/null @@ -1,189 +0,0 @@ -# Default version for this component -%define tdecomp knetworkmanager -%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} -%define version 0.9 -%else -%define version 0.8 -%endif - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_tdedocdir} - - -Name: trinity-%{tdecomp} -Version: %{?version} -Release: 5%{?dist}%{?_variant} - -Summary: Trinity applet for Network Manager - -Group: Applications/Internet -License: GPLv2+ -URL: http://en.opensuse.org/Projects/KNetworkManager - -%if "%{?version}" == "0.9" -Source0: trinity-knetworkmanager9-3.5.13.2.tar.gz -%else -Source0: trinity-knetworkmanager8-3.5.13.2.tar.gz -%endif - -Patch0: knetworkmanager-3.5.13-missing_includes.patch - -# For knetworkmanager 0.9 only ! -Patch10: knetworkmanager-3.5.13-subdir_version.patch - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -#Requires: kde-filesystem -BuildRequires: desktop-file-utils - -%if 0%{?rhel} || 0%{?fedora} -Requires: NetworkManager-gnome -%else -Requires: networkmanager -%endif - -BuildRequires: trinity-dbus-1-tqt-devel -BuildRequires: trinity-dbus-tqt-devel -BuildRequires: NetworkManager-glib-devel - -%description -KNetworkManager is a system tray applet for controlling network -connections on systems that use the NetworkManager daemon. - - -%package devel -Summary: Common data shared among the MySQL GUI Suites -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -%description devel -Development headers for knetworkmanager - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%if "%{?version}" == "0.9" -%setup -q -n %{name}9-3.5.13.2 -%else -%setup -q -n %{name}8-3.5.13.2 -%endif - -%if "%{?version}" == "0.9" -%patch10 -p1 -%endif - -cd knetworkmanager-0.*/src -%patch0 -p3 - - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" -export LD_LIBRARY_PATH="%{tde_libdir}" - -# Missing TDE macros -%__mkdir_p cmake -%__ln_s %{tde_datadir}/cmake cmake/modules - -%if 0%{?rhel} || 0%{?fedora} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - .. - -%__make %{?_smp_mflags} - -%install -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=%{?buildroot} -C build - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%post -update-desktop-database %{tde_appdir} > /dev/null -/sbin/ldconfig -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -/sbin/ldconfig -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%post devel -/sbin/ldconfig - -%postun devel -/sbin/ldconfig - -%files -%defattr(-,root,root,-) -%{tde_bindir}/knetworkmanager -%{tde_libdir}/*.la -%{tde_libdir}/*.so -%{_sysconfdir}/dbus-1/system.d/knetworkmanager.conf -%{tde_tdeappdir}/knetworkmanager.desktop -%{tde_datadir}/apps/knetworkmanager -%{tde_datadir}/icons/hicolor/*/apps/knetworkmanager* -%{tde_datadir}/servicetypes/knetworkmanager_plugin.desktop -%{tde_datadir}/servicetypes/knetworkmanager_vpnplugin.desktop - - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/*.h -%{tde_tdelibdir}/*.la -%{tde_tdelibdir}/*.so - -%changelog -* Mon Jun 03 2013 Francois Andriot - %{?version}-5 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - %{?version}-4 -- Initial build for TDE 3.5.13.1 - -* Wed May 02 2012 Francois Andriot - 0.8-3 / 0.9-3 -- Rebuild for Fedora 17 - -* Sat Nov 13 2011 Francois Andriot - 0.8-2 / 0.9-2 -- Remove faulty patch for WPA authentication - -* Tue Nov 11 2011 Francois Andriot - 0.8-1 / 0.9-1 -- Initial build diff --git a/redhat/applications/knetworkmanager8/trinity-knetworkmanager-3.5.13.spec b/redhat/applications/knetworkmanager8/trinity-knetworkmanager-3.5.13.spec deleted file mode 100644 index 8adbb5f6d..000000000 --- a/redhat/applications/knetworkmanager8/trinity-knetworkmanager-3.5.13.spec +++ /dev/null @@ -1,180 +0,0 @@ -# Default version for this component -%define kdecomp knetworkmanager -%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} -%define version 0.9 -%else -%define version 0.8 -%endif - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_tdedocdir} - - -Name: trinity-%{kdecomp} -Version: %{?version} -Release: 3%{?dist}%{?_variant} - -Summary: Trinity applet for Network Manager - -Group: Applications/Internet -License: GPLv2+ -URL: http://en.opensuse.org/Projects/KNetworkManager - -%if "%{?version}" == "0.9" -Source0: %{kdecomp}9-3.5.13.tar.gz -%else -Source0: %{kdecomp}8-3.5.13.tar.gz -%endif - -Patch0: knetworkmanager-3.5.13-missing_includes.patch -Patch1: knetworkmanager-3.5.13-wpa_passphrase_lag.patch - -# For knetworkmanager 0.9 only ! -Patch10: knetworkmanager-3.5.13-subdir_version.patch - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -#Requires: kde-filesystem -BuildRequires: desktop-file-utils - -%if 0%{?rhel} || 0%{?fedora} -Requires: NetworkManager-gnome -%else -Requires: networkmanager -%endif - -BuildRequires: dbus-1-tqt-devel -BuildRequires: dbus-tqt-devel -BuildRequires: NetworkManager-glib-devel - -%description -KNetworkManager is a system tray applet for controlling network -connections on systems that use the NetworkManager daemon. - - -%package devel -Summary: Common data shared among the MySQL GUI Suites -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -%description devel -Development headers for knetworkmanager - - -%prep -%if "%{?version}" == "0.9" -%setup -q -n applications/%{kdecomp}9 -%else -%setup -q -n applications/%{kdecomp}8 -%endif - -%if "%{?version}" == "0.9" -%patch10 -p1 -%endif - -cd knetworkmanager-0.*/src -%patch0 -p3 -#patch1 -p3 - - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" -export LD_LIBRARY_PATH="%{tde_libdir}" - -# Missing TDE macros -%__mkdir_p cmake -%__ln_s %{tde_datadir}/cmake cmake/modules - -%if 0%{?rhel} || 0%{?fedora} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - .. - -%__make %{?_smp_mflags} - -%install -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=%{?buildroot} -C build - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%post -update-desktop-database %{tde_appdir} > /dev/null -/sbin/ldconfig -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -/sbin/ldconfig -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%post devel -/sbin/ldconfig - -%postun devel -/sbin/ldconfig - -%files -%defattr(-,root,root,-) -%{tde_bindir}/knetworkmanager -%{tde_libdir}/*.la -%{tde_libdir}/*.so -%{_sysconfdir}/dbus-1/system.d/knetworkmanager.conf -%{tde_tdeappdir}/knetworkmanager.desktop -%{tde_datadir}/apps/knetworkmanager -%{tde_datadir}/icons/hicolor/*/apps/knetworkmanager* -%{tde_datadir}/servicetypes/knetworkmanager_plugin.desktop -%{tde_datadir}/servicetypes/knetworkmanager_vpnplugin.desktop - - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/*.h -%{tde_tdelibdir}/*.la -%{tde_tdelibdir}/*.so - -%changelog -* Wed May 02 2012 Francois Andriot - 0.8-3 / 0.9-3 -- Rebuild for Fedora 17 - -* Sat Nov 13 2011 Francois Andriot - 0.8-2 / 0.9-2 -- Remove faulty patch for WPA authentication - -* Tue Nov 11 2011 Francois Andriot - 0.8-1 / 0.9-1 -- Initial build diff --git a/redhat/applications/knights/knights-3.5.13.1.spec b/redhat/applications/knights/knights-3.5.13.1.spec new file mode 100644 index 000000000..9e8647c3b --- /dev/null +++ b/redhat/applications/knights/knights-3.5.13.1.spec @@ -0,0 +1,145 @@ +# Default version for this component +%define kdecomp knights + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: A chess interface for the K Desktop Environment [Trinity] +Version: 0.6 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Amusements/Games + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +Requires: gnuchess + +%description +Knights aims to be the ultimate chess resource on your computer. +Written for the K Desktop Environment, it's designed to be both friendly +to new chess players and functional for Grand Masters. + +Here's a quick list of Knights' key features: +* Play against yourself, against computer opponents, + or against others over the Internet. +* Customize your board and pieces with over 30 different themes, + or make your own! +* Audio cues help alert you to important events. +* Novice players can preview potential moves. +* Save your unfinished matches and play them again later. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/knights +%{tde_datadir}/applnk/Games/Board/knights.desktop +%{tde_datadir}/apps/knights +%{tde_tdedocdir}/HTML/*/knights +%{tde_datadir}/icons/hicolor/*/*/*.png +%{tde_datadir}/mimelnk/application/pgn.desktop + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.6-4 +- Initial build for TDE 3.5.13.1 + +* Wed May 02 2012 Francois Andriot - 0.6-3 +- Rebuild for Fedora 17 + +* Fri Nov 25 2011 Francois Andriot - 0.6-2 +- Fix HTML directory location + +* Sun Nov 20 2011 Francois Andriot - 0.6-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knights/knights-3.5.13.2.spec b/redhat/applications/knights/knights-3.5.13.2.spec new file mode 100644 index 000000000..564e911c9 --- /dev/null +++ b/redhat/applications/knights/knights-3.5.13.2.spec @@ -0,0 +1,148 @@ +# Default version for this component +%define tdecomp knights + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: A chess interface for the K Desktop Environment [Trinity] +Version: 0.6 +Release: 5%{?dist}%{?_variant} + +License: GPLv2+ +Group: Amusements/Games + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +Requires: gnuchess + +%description +Knights aims to be the ultimate chess resource on your computer. +Written for the K Desktop Environment, it's designed to be both friendly +to new chess players and functional for Grand Masters. + +Here's a quick list of Knights' key features: +* Play against yourself, against computer opponents, + or against others over the Internet. +* Customize your board and pieces with over 30 different themes, + or make your own! +* Audio cues help alert you to important events. +* Novice players can preview potential moves. +* Save your unfinished matches and play them again later. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{tdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files -f %{tdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/knights +%{tde_datadir}/applnk/Games/Board/knights.desktop +%{tde_datadir}/apps/knights +%{tde_tdedocdir}/HTML/*/knights +%{tde_datadir}/icons/hicolor/*/*/*.png +%{tde_datadir}/mimelnk/application/pgn.desktop + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 0.6-5 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.6-4 +- Initial build for TDE 3.5.13.1 + +* Wed May 02 2012 Francois Andriot - 0.6-3 +- Rebuild for Fedora 17 + +* Fri Nov 25 2011 Francois Andriot - 0.6-2 +- Fix HTML directory location + +* Sun Nov 20 2011 Francois Andriot - 0.6-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knights/knights-3.5.13.spec b/redhat/applications/knights/knights-3.5.13.spec new file mode 100644 index 000000000..e0271e12d --- /dev/null +++ b/redhat/applications/knights/knights-3.5.13.spec @@ -0,0 +1,137 @@ +# Default version for this component +%define kdecomp knights + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: A chess interface for the K Desktop Environment [Trinity] +Version: 0.6 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Amusements/Games + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + +Requires: gnuchess + +%description +Knights aims to be the ultimate chess resource on your computer. +Written for the K Desktop Environment, it's designed to be both friendly +to new chess players and functional for Grand Masters. + +Here's a quick list of Knights' key features: +* Play against yourself, against computer opponents, + or against others over the Internet. +* Customize your board and pieces with over 30 different themes, + or make your own! +* Audio cues help alert you to important events. +* Novice players can preview potential moves. +* Save your unfinished matches and play them again later. + + +%prep +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/knights +%{tde_datadir}/applnk/Games/Board/knights.desktop +%{tde_datadir}/apps/knights +%{tde_tdedocdir}/HTML/*/knights +%{tde_datadir}/icons/hicolor/*/*/*.png +%{tde_datadir}/mimelnk/application/pgn.desktop + + +%Changelog +* Wed May 02 2012 Francois Andriot - 0.6-3 +- Rebuild for Fedora 17 + +* Fri Nov 25 2011 Francois Andriot - 0.6-2 +- Fix HTML directory location + +* Sun Nov 20 2011 Francois Andriot - 0.6-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knights/trinity-knights-3.5.13.1.spec b/redhat/applications/knights/trinity-knights-3.5.13.1.spec deleted file mode 100644 index 9e8647c3b..000000000 --- a/redhat/applications/knights/trinity-knights-3.5.13.1.spec +++ /dev/null @@ -1,145 +0,0 @@ -# Default version for this component -%define kdecomp knights - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: A chess interface for the K Desktop Environment [Trinity] -Version: 0.6 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Amusements/Games - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -Requires: gnuchess - -%description -Knights aims to be the ultimate chess resource on your computer. -Written for the K Desktop Environment, it's designed to be both friendly -to new chess players and functional for Grand Masters. - -Here's a quick list of Knights' key features: -* Play against yourself, against computer opponents, - or against others over the Internet. -* Customize your board and pieces with over 30 different themes, - or make your own! -* Audio cues help alert you to important events. -* Novice players can preview potential moves. -* Save your unfinished matches and play them again later. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/knights -%{tde_datadir}/applnk/Games/Board/knights.desktop -%{tde_datadir}/apps/knights -%{tde_tdedocdir}/HTML/*/knights -%{tde_datadir}/icons/hicolor/*/*/*.png -%{tde_datadir}/mimelnk/application/pgn.desktop - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.6-4 -- Initial build for TDE 3.5.13.1 - -* Wed May 02 2012 Francois Andriot - 0.6-3 -- Rebuild for Fedora 17 - -* Fri Nov 25 2011 Francois Andriot - 0.6-2 -- Fix HTML directory location - -* Sun Nov 20 2011 Francois Andriot - 0.6-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knights/trinity-knights-3.5.13.2.spec b/redhat/applications/knights/trinity-knights-3.5.13.2.spec deleted file mode 100644 index 564e911c9..000000000 --- a/redhat/applications/knights/trinity-knights-3.5.13.2.spec +++ /dev/null @@ -1,148 +0,0 @@ -# Default version for this component -%define tdecomp knights - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: A chess interface for the K Desktop Environment [Trinity] -Version: 0.6 -Release: 5%{?dist}%{?_variant} - -License: GPLv2+ -Group: Amusements/Games - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -Requires: gnuchess - -%description -Knights aims to be the ultimate chess resource on your computer. -Written for the K Desktop Environment, it's designed to be both friendly -to new chess players and functional for Grand Masters. - -Here's a quick list of Knights' key features: -* Play against yourself, against computer opponents, - or against others over the Internet. -* Customize your board and pieces with over 30 different themes, - or make your own! -* Audio cues help alert you to important events. -* Novice players can preview potential moves. -* Save your unfinished matches and play them again later. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{tdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{tdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/knights -%{tde_datadir}/applnk/Games/Board/knights.desktop -%{tde_datadir}/apps/knights -%{tde_tdedocdir}/HTML/*/knights -%{tde_datadir}/icons/hicolor/*/*/*.png -%{tde_datadir}/mimelnk/application/pgn.desktop - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 0.6-5 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.6-4 -- Initial build for TDE 3.5.13.1 - -* Wed May 02 2012 Francois Andriot - 0.6-3 -- Rebuild for Fedora 17 - -* Fri Nov 25 2011 Francois Andriot - 0.6-2 -- Fix HTML directory location - -* Sun Nov 20 2011 Francois Andriot - 0.6-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knights/trinity-knights-3.5.13.spec b/redhat/applications/knights/trinity-knights-3.5.13.spec deleted file mode 100644 index e0271e12d..000000000 --- a/redhat/applications/knights/trinity-knights-3.5.13.spec +++ /dev/null @@ -1,137 +0,0 @@ -# Default version for this component -%define kdecomp knights - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: A chess interface for the K Desktop Environment [Trinity] -Version: 0.6 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Amusements/Games - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - -Requires: gnuchess - -%description -Knights aims to be the ultimate chess resource on your computer. -Written for the K Desktop Environment, it's designed to be both friendly -to new chess players and functional for Grand Masters. - -Here's a quick list of Knights' key features: -* Play against yourself, against computer opponents, - or against others over the Internet. -* Customize your board and pieces with over 30 different themes, - or make your own! -* Audio cues help alert you to important events. -* Novice players can preview potential moves. -* Save your unfinished matches and play them again later. - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/knights -%{tde_datadir}/applnk/Games/Board/knights.desktop -%{tde_datadir}/apps/knights -%{tde_tdedocdir}/HTML/*/knights -%{tde_datadir}/icons/hicolor/*/*/*.png -%{tde_datadir}/mimelnk/application/pgn.desktop - - -%Changelog -* Wed May 02 2012 Francois Andriot - 0.6-3 -- Rebuild for Fedora 17 - -* Fri Nov 25 2011 Francois Andriot - 0.6-2 -- Fix HTML directory location - -* Sun Nov 20 2011 Francois Andriot - 0.6-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knowit/knowit-3.5.13.1.spec b/redhat/applications/knowit/knowit-3.5.13.1.spec new file mode 100644 index 000000000..be9c9fffe --- /dev/null +++ b/redhat/applications/knowit/knowit-3.5.13.1.spec @@ -0,0 +1,142 @@ +# Default version for this component +%define kdecomp knowit + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Tool for managing notes [Trinity] +Version: 0.10 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +KnowIt is a tool for managing notes which are organized in +tree-like hierarchy. It is similar to TuxCards, +but KDE-based, and requires Trinity. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +# SMP safe ! +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%__mkdir_p %{buildroot}%{tde_tdeappdir} +%__mv %{buildroot}%{tde_datadir}/applnk/Applications/knowit.desktop %{buildroot}%{tde_tdeappdir}/knowit.desktop +%__rm -r %{buildroot}%{tde_datadir}/applnk + + +%find_lang %{kdecomp} + + + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/knowit +%{tde_tdeappdir}/knowit.desktop +%{tde_datadir}/apps/knowit/knowitui.rc +%{tde_datadir}/apps/knowit/tips +%{tde_tdedocdir}/HTML/en/knowit/common +%{tde_tdedocdir}/HTML/en/knowit/index.cache.bz2 +%{tde_tdedocdir}/HTML/en/knowit/index.docbook +%{tde_tdedocdir}/HTML/en/knowit/screenshot.png +%{tde_datadir}/icons/hicolor/*/apps/knowit.png + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.10-2 +- Initial build for TDE 3.5.13.1 + +* Wed Nov 30 2011 Francois Andriot - 0.10-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knowit/knowit-3.5.13.2.spec b/redhat/applications/knowit/knowit-3.5.13.2.spec new file mode 100644 index 000000000..bf985b582 --- /dev/null +++ b/redhat/applications/knowit/knowit-3.5.13.2.spec @@ -0,0 +1,145 @@ +# Default version for this component +%define tdecomp knowit + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: Tool for managing notes [Trinity] +Version: 0.10 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +KnowIt is a tool for managing notes which are organized in +tree-like hierarchy. It is similar to TuxCards, +but KDE-based, and requires Trinity. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +# SMP safe ! +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%__mkdir_p %{buildroot}%{tde_tdeappdir} +%__mv %{buildroot}%{tde_datadir}/applnk/Applications/knowit.desktop %{buildroot}%{tde_tdeappdir}/knowit.desktop +%__rm -r %{buildroot}%{tde_datadir}/applnk + + +%find_lang %{tdecomp} + + + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files -f %{tdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/knowit +%{tde_tdeappdir}/knowit.desktop +%{tde_datadir}/apps/knowit/knowitui.rc +%{tde_datadir}/apps/knowit/tips +%{tde_tdedocdir}/HTML/en/knowit/common +%{tde_tdedocdir}/HTML/en/knowit/index.cache.bz2 +%{tde_tdedocdir}/HTML/en/knowit/index.docbook +%{tde_tdedocdir}/HTML/en/knowit/screenshot.png +%{tde_datadir}/icons/hicolor/*/apps/knowit.png + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 0.10-3 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.10-2 +- Initial build for TDE 3.5.13.1 + +* Wed Nov 30 2011 Francois Andriot - 0.10-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knowit/knowit-3.5.13.spec b/redhat/applications/knowit/knowit-3.5.13.spec new file mode 100644 index 000000000..76467be17 --- /dev/null +++ b/redhat/applications/knowit/knowit-3.5.13.spec @@ -0,0 +1,134 @@ +# Default version for this component +%define kdecomp knowit + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Tool for managing notes [Trinity] +Version: 0.10 +Release: 1%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +KnowIt is a tool for managing notes which are organized in +tree-like hierarchy. It is similar to TuxCards, +but KDE-based, and requires Trinity. + + +%prep +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +# SMP safe ! +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%__mkdir_p %{buildroot}%{tde_tdeappdir} +%__mv %{buildroot}%{tde_datadir}/applnk/Applications/knowit.desktop %{buildroot}%{tde_tdeappdir}/knowit.desktop +%__rm -r %{buildroot}%{tde_datadir}/applnk + + +%find_lang %{kdecomp} + + + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/knowit +%{tde_tdeappdir}/knowit.desktop +%{tde_datadir}/apps/knowit/knowitui.rc +%{tde_datadir}/apps/knowit/tips +%{tde_tdedocdir}/HTML/en/knowit/common +%{tde_tdedocdir}/HTML/en/knowit/index.cache.bz2 +%{tde_tdedocdir}/HTML/en/knowit/index.docbook +%{tde_tdedocdir}/HTML/en/knowit/screenshot.png +%{tde_datadir}/icons/hicolor/*/apps/knowit.png + + +%Changelog +* Wed Nov 30 2011 Francois Andriot - 0.10-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knowit/trinity-knowit-3.5.13.1.spec b/redhat/applications/knowit/trinity-knowit-3.5.13.1.spec deleted file mode 100644 index be9c9fffe..000000000 --- a/redhat/applications/knowit/trinity-knowit-3.5.13.1.spec +++ /dev/null @@ -1,142 +0,0 @@ -# Default version for this component -%define kdecomp knowit - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Tool for managing notes [Trinity] -Version: 0.10 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -KnowIt is a tool for managing notes which are organized in -tree-like hierarchy. It is similar to TuxCards, -but KDE-based, and requires Trinity. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%__mkdir_p %{buildroot}%{tde_tdeappdir} -%__mv %{buildroot}%{tde_datadir}/applnk/Applications/knowit.desktop %{buildroot}%{tde_tdeappdir}/knowit.desktop -%__rm -r %{buildroot}%{tde_datadir}/applnk - - -%find_lang %{kdecomp} - - - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/knowit -%{tde_tdeappdir}/knowit.desktop -%{tde_datadir}/apps/knowit/knowitui.rc -%{tde_datadir}/apps/knowit/tips -%{tde_tdedocdir}/HTML/en/knowit/common -%{tde_tdedocdir}/HTML/en/knowit/index.cache.bz2 -%{tde_tdedocdir}/HTML/en/knowit/index.docbook -%{tde_tdedocdir}/HTML/en/knowit/screenshot.png -%{tde_datadir}/icons/hicolor/*/apps/knowit.png - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.10-2 -- Initial build for TDE 3.5.13.1 - -* Wed Nov 30 2011 Francois Andriot - 0.10-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knowit/trinity-knowit-3.5.13.2.spec b/redhat/applications/knowit/trinity-knowit-3.5.13.2.spec deleted file mode 100644 index bf985b582..000000000 --- a/redhat/applications/knowit/trinity-knowit-3.5.13.2.spec +++ /dev/null @@ -1,145 +0,0 @@ -# Default version for this component -%define tdecomp knowit - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: Tool for managing notes [Trinity] -Version: 0.10 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -KnowIt is a tool for managing notes which are organized in -tree-like hierarchy. It is similar to TuxCards, -but KDE-based, and requires Trinity. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%__mkdir_p %{buildroot}%{tde_tdeappdir} -%__mv %{buildroot}%{tde_datadir}/applnk/Applications/knowit.desktop %{buildroot}%{tde_tdeappdir}/knowit.desktop -%__rm -r %{buildroot}%{tde_datadir}/applnk - - -%find_lang %{tdecomp} - - - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{tdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/knowit -%{tde_tdeappdir}/knowit.desktop -%{tde_datadir}/apps/knowit/knowitui.rc -%{tde_datadir}/apps/knowit/tips -%{tde_tdedocdir}/HTML/en/knowit/common -%{tde_tdedocdir}/HTML/en/knowit/index.cache.bz2 -%{tde_tdedocdir}/HTML/en/knowit/index.docbook -%{tde_tdedocdir}/HTML/en/knowit/screenshot.png -%{tde_datadir}/icons/hicolor/*/apps/knowit.png - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 0.10-3 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.10-2 -- Initial build for TDE 3.5.13.1 - -* Wed Nov 30 2011 Francois Andriot - 0.10-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knowit/trinity-knowit-3.5.13.spec b/redhat/applications/knowit/trinity-knowit-3.5.13.spec deleted file mode 100644 index 76467be17..000000000 --- a/redhat/applications/knowit/trinity-knowit-3.5.13.spec +++ /dev/null @@ -1,134 +0,0 @@ -# Default version for this component -%define kdecomp knowit - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Tool for managing notes [Trinity] -Version: 0.10 -Release: 1%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -KnowIt is a tool for managing notes which are organized in -tree-like hierarchy. It is similar to TuxCards, -but KDE-based, and requires Trinity. - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%__mkdir_p %{buildroot}%{tde_tdeappdir} -%__mv %{buildroot}%{tde_datadir}/applnk/Applications/knowit.desktop %{buildroot}%{tde_tdeappdir}/knowit.desktop -%__rm -r %{buildroot}%{tde_datadir}/applnk - - -%find_lang %{kdecomp} - - - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/knowit -%{tde_tdeappdir}/knowit.desktop -%{tde_datadir}/apps/knowit/knowitui.rc -%{tde_datadir}/apps/knowit/tips -%{tde_tdedocdir}/HTML/en/knowit/common -%{tde_tdedocdir}/HTML/en/knowit/index.cache.bz2 -%{tde_tdedocdir}/HTML/en/knowit/index.docbook -%{tde_tdedocdir}/HTML/en/knowit/screenshot.png -%{tde_datadir}/icons/hicolor/*/apps/knowit.png - - -%Changelog -* Wed Nov 30 2011 Francois Andriot - 0.10-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/knutclient/knutclient-3.5.13.1.spec b/redhat/applications/knutclient/knutclient-3.5.13.1.spec new file mode 100644 index 000000000..0cb3e6b61 --- /dev/null +++ b/redhat/applications/knutclient/knutclient-3.5.13.1.spec @@ -0,0 +1,141 @@ +# Default version for this component +%define kdecomp knutclient + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: A KDE GUI that displays UPS statistics from NUT's upsd [Trinity] +Version: 0.9.5 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.knut.noveradsl.cz/knutclient/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils + + +%description +KNutClient monitors UPS statistics through the NUT (Network UPS Tools, +http://www.networkupstools.org/) framework on Linux and other systems. This +information, presented in a nice visual format, can be invaluable on +stations using an UPS. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +for f in hicolor locolor; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + +%postun +for f in hicolor locolor; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{tde_bindir}/knutclient +%{tde_datadir}/applnk/Utilities/knutclient.desktop +%{tde_datadir}/apps/knutclient/knutclientui.rc +%{tde_datadir}/apps/knutclient +%{tde_tdedocdir}/HTML/cs/knutclient +%{tde_tdedocdir}/HTML/en/knutclient +%{tde_datadir}/icons/hicolor/*/apps/*.png +%{tde_datadir}/icons/locolor/*/apps/*.png + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.9.5-3 +- Initial build for TDE 3.5.13.1 + +* Wed May 02 2012 Francois Andriot - 0.9.5-2 +- Rebuild for Fedora 17 + +* Sat Dec 03 2011 Francois Andriot - 0.9.5-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/knutclient/knutclient-3.5.13.2.spec b/redhat/applications/knutclient/knutclient-3.5.13.2.spec new file mode 100644 index 000000000..08aa0cc6d --- /dev/null +++ b/redhat/applications/knutclient/knutclient-3.5.13.2.spec @@ -0,0 +1,144 @@ +# Default version for this component +%define tdecomp knutclient + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: A KDE GUI that displays UPS statistics from NUT's upsd [Trinity] +Version: 0.9.5 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.knut.noveradsl.cz/knutclient/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils + + +%description +KNutClient monitors UPS statistics through the NUT (Network UPS Tools, +http://www.networkupstools.org/) framework on Linux and other systems. This +information, presented in a nice visual format, can be invaluable on +stations using an UPS. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{tdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +for f in hicolor locolor; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + +%postun +for f in hicolor locolor; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + + +%files -f %{tdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{tde_bindir}/knutclient +%{tde_datadir}/applnk/Utilities/knutclient.desktop +%{tde_datadir}/apps/knutclient/knutclientui.rc +%{tde_datadir}/apps/knutclient +%{tde_tdedocdir}/HTML/cs/knutclient +%{tde_tdedocdir}/HTML/en/knutclient +%{tde_datadir}/icons/hicolor/*/apps/*.png +%{tde_datadir}/icons/locolor/*/apps/*.png + +%changelog +* Mon Jun 03 2013 Francois Andriot - 0.9.5-4 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.9.5-3 +- Initial build for TDE 3.5.13.1 + +* Wed May 02 2012 Francois Andriot - 0.9.5-2 +- Rebuild for Fedora 17 + +* Sat Dec 03 2011 Francois Andriot - 0.9.5-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/knutclient/knutclient-3.5.13.spec b/redhat/applications/knutclient/knutclient-3.5.13.spec new file mode 100644 index 000000000..a7c88e8af --- /dev/null +++ b/redhat/applications/knutclient/knutclient-3.5.13.spec @@ -0,0 +1,133 @@ +# Default version for this component +%define kdecomp knutclient + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: A KDE GUI that displays UPS statistics from NUT's upsd [Trinity] +Version: 0.9.5 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.knut.noveradsl.cz/knutclient/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils + + +%description +KNutClient monitors UPS statistics through the NUT (Network UPS Tools, +http://www.networkupstools.org/) framework on Linux and other systems. This +information, presented in a nice visual format, can be invaluable on +stations using an UPS. + + +%prep +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +for f in hicolor locolor; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + +%postun +for f in hicolor locolor; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{tde_bindir}/knutclient +%{tde_datadir}/applnk/Utilities/knutclient.desktop +%{tde_datadir}/apps/knutclient/knutclientui.rc +%{tde_datadir}/apps/knutclient +%{tde_tdedocdir}/HTML/cs/knutclient +%{tde_tdedocdir}/HTML/en/knutclient +%{tde_datadir}/icons/hicolor/*/apps/*.png +%{tde_datadir}/icons/locolor/*/apps/*.png + +%Changelog +* Wed May 02 2012 Francois Andriot - 0.9.5-2 +- Rebuild for Fedora 17 + +* Sat Dec 03 2011 Francois Andriot - 0.9.5-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/knutclient/trinity-knutclient-3.5.13.1.spec b/redhat/applications/knutclient/trinity-knutclient-3.5.13.1.spec deleted file mode 100644 index 0cb3e6b61..000000000 --- a/redhat/applications/knutclient/trinity-knutclient-3.5.13.1.spec +++ /dev/null @@ -1,141 +0,0 @@ -# Default version for this component -%define kdecomp knutclient - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: A KDE GUI that displays UPS statistics from NUT's upsd [Trinity] -Version: 0.9.5 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.knut.noveradsl.cz/knutclient/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - - -%description -KNutClient monitors UPS statistics through the NUT (Network UPS Tools, -http://www.networkupstools.org/) framework on Linux and other systems. This -information, presented in a nice visual format, can be invaluable on -stations using an UPS. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_bindir}/knutclient -%{tde_datadir}/applnk/Utilities/knutclient.desktop -%{tde_datadir}/apps/knutclient/knutclientui.rc -%{tde_datadir}/apps/knutclient -%{tde_tdedocdir}/HTML/cs/knutclient -%{tde_tdedocdir}/HTML/en/knutclient -%{tde_datadir}/icons/hicolor/*/apps/*.png -%{tde_datadir}/icons/locolor/*/apps/*.png - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.9.5-3 -- Initial build for TDE 3.5.13.1 - -* Wed May 02 2012 Francois Andriot - 0.9.5-2 -- Rebuild for Fedora 17 - -* Sat Dec 03 2011 Francois Andriot - 0.9.5-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/knutclient/trinity-knutclient-3.5.13.2.spec b/redhat/applications/knutclient/trinity-knutclient-3.5.13.2.spec deleted file mode 100644 index 08aa0cc6d..000000000 --- a/redhat/applications/knutclient/trinity-knutclient-3.5.13.2.spec +++ /dev/null @@ -1,144 +0,0 @@ -# Default version for this component -%define tdecomp knutclient - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: A KDE GUI that displays UPS statistics from NUT's upsd [Trinity] -Version: 0.9.5 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.knut.noveradsl.cz/knutclient/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils - - -%description -KNutClient monitors UPS statistics through the NUT (Network UPS Tools, -http://www.networkupstools.org/) framework on Linux and other systems. This -information, presented in a nice visual format, can be invaluable on -stations using an UPS. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{tdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - - -%files -f %{tdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_bindir}/knutclient -%{tde_datadir}/applnk/Utilities/knutclient.desktop -%{tde_datadir}/apps/knutclient/knutclientui.rc -%{tde_datadir}/apps/knutclient -%{tde_tdedocdir}/HTML/cs/knutclient -%{tde_tdedocdir}/HTML/en/knutclient -%{tde_datadir}/icons/hicolor/*/apps/*.png -%{tde_datadir}/icons/locolor/*/apps/*.png - -%changelog -* Mon Jun 03 2013 Francois Andriot - 0.9.5-4 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.9.5-3 -- Initial build for TDE 3.5.13.1 - -* Wed May 02 2012 Francois Andriot - 0.9.5-2 -- Rebuild for Fedora 17 - -* Sat Dec 03 2011 Francois Andriot - 0.9.5-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/knutclient/trinity-knutclient-3.5.13.spec b/redhat/applications/knutclient/trinity-knutclient-3.5.13.spec deleted file mode 100644 index a7c88e8af..000000000 --- a/redhat/applications/knutclient/trinity-knutclient-3.5.13.spec +++ /dev/null @@ -1,133 +0,0 @@ -# Default version for this component -%define kdecomp knutclient - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: A KDE GUI that displays UPS statistics from NUT's upsd [Trinity] -Version: 0.9.5 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.knut.noveradsl.cz/knutclient/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils - - -%description -KNutClient monitors UPS statistics through the NUT (Network UPS Tools, -http://www.networkupstools.org/) framework on Linux and other systems. This -information, presented in a nice visual format, can be invaluable on -stations using an UPS. - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_bindir}/knutclient -%{tde_datadir}/applnk/Utilities/knutclient.desktop -%{tde_datadir}/apps/knutclient/knutclientui.rc -%{tde_datadir}/apps/knutclient -%{tde_tdedocdir}/HTML/cs/knutclient -%{tde_tdedocdir}/HTML/en/knutclient -%{tde_datadir}/icons/hicolor/*/apps/*.png -%{tde_datadir}/icons/locolor/*/apps/*.png - -%Changelog -* Wed May 02 2012 Francois Andriot - 0.9.5-2 -- Rebuild for Fedora 17 - -* Sat Dec 03 2011 Francois Andriot - 0.9.5-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/koffice-i18n/koffice-i18n-3.5.13.1.spec b/redhat/applications/koffice-i18n/koffice-i18n-3.5.13.1.spec new file mode 100644 index 000000000..2bf81b861 --- /dev/null +++ b/redhat/applications/koffice-i18n/koffice-i18n-3.5.13.1.spec @@ -0,0 +1,1086 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +# Builds all supported languages (not unsupported ones) +%if "%{?KDE_LANGS}" == "" +%define KDE_LANGS bg ca cs da de el en_GB es et fi fr hu it ja km lv ms nb nds ne nl pl pt pt_BR ru sk sl sr sv tr uk zh_CN zh_TW +%endif + + +Name: trinity-koffice-i18n +Summary: Internationalization support for Trinity +Version: 1.6.3 +Release: 2%{?dist}%{?_variant} + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +# GFDL, with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. +License: GFDL +Group: User Interface/Desktops +BuildArch: noarch + +# Speed build options +%define debug_package %{nil} +%define __spec_install_post %{nil} +AutoReq: no + +Source0: koffice-i18n-3.5.13.1.tar.gz + +BuildRequires: findutils +BuildRequires: gettext +BuildRequires: autoconf automake libtool m4 +BuildRequires: trinity-arts-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 + +%description +%{summary}. + +%package Bulgarian +Summary: Bulgarian(bg) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-bg = %{version}-%{release} +%description Bulgarian +%{summary}. + +%package Bengali +Summary: Bengali(bn) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-bn = %{version}-%{release} +%description Bengali +%{summary}. + +%package Tibetan +Summary: Tibetan(bo) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-bo = %{version}-%{release} +%description Tibetan +%{summary}. + +%package Breton +Summary: Breton(br) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-br = %{version}-%{release} +%description Breton +%{summary}. + +%package Bosnian +Summary: Bosnian(bs) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-bs = %{version}-%{release} +%description Bosnian +%{summary}. + +%package Catalan +Summary: Catalan(ca) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ca = %{version}-%{release} +%description Catalan +%{summary}. + +%package Czech +Summary: Czech(cs) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-cs = %{version}-%{release} +%description Czech +%{summary}. + +%package Cymraeg +Summary: Cymraeg language support for TDE +Group: User Interface/Desktops +%description Cymraeg +%{summary}. + +%package Welsh +Summary: Welsh(cy) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-cy = %{version}-%{release} +%description Welsh +%{summary}. + +%package Danish +Summary: Danish(da) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-da = %{version}-%{release} +%description Danish +%{summary}. + +%package German +Summary: German(de) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-de = %{version}-%{release} +%description German +%{summary}. + +%package Greek +Summary: Greek(el) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-el = %{version}-%{release} +%description Greek +%{summary}. + +%package British +Summary: British(en_GB) English support for TDE +Group: User Interface/Desktops +Provides: %{name}-en_GB = %{version}-%{release} +%description British +%{summary}. + +%package Esperanto +Summary: Esperanto(eo) support for TDE +Group: User Interface/Desktops +Provides: %{name}-eo = %{version}-%{release} +%description Esperanto +%{summary}. + +%package Spanish +Summary: Spanish(es) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-es = %{version}-%{release} +%description Spanish +%{summary}. + +%package Estonian +Summary: Estonian(et) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-et = %{version}-%{release} +%description Estonian +%{summary}. + +%package Basque +Summary: Basque(eu) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-eu = %{version}-%{release} +%description Basque +%{summary}. + +%package Finnish +Summary: Finnish(fi) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-fi = %{version}-%{release} +%description Finnish +%{summary}. + +%package Faroese +Summary: Faroese(fo) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-fo = %{version}-%{release} +%description Faroese +%{summary}. + +%package French +Summary: French(fr) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-fr = %{version}-%{release} +%description French +%{summary}. + +%package Frisian +Summary: Frisian(fy) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-fy = %{version}-%{release} +%description Frisian +%{summary}. + +%package Irish +Summary: Irish(ga) language support for TDE +Group: User Interface/Desktops +Obsoletes: kde-i18n-Gaeilge < %{version} +Provides: %{name}-ga = %{version}-%{release} +%description Irish +%{summary}. + +%package Galician +Summary: Galician(gl) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-gl = %{version}-%{release} +%description Galician +%{summary}. + +%package Hebrew +Summary: Hebrew(he) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-he = %{version}-%{release} +%description Hebrew +%{summary}. + +%package Hindi +Summary: Hindi(hi) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-hi = %{version}-%{release} +%description Hindi +%{summary}. + +%package Croatian +Summary: Croatian(hr) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-hr = %{version}-%{release} +%description Croatian +%{summary}. + +%package Hungarian +Summary: Hungarian(hu) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-hu = %{version}-%{release} +%description Hungarian +%{summary}. + +%package Indonesian +Summary: Indonesian(id) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-id = %{version}-%{release} +%description Indonesian +%{summary}. + +%package Icelandic +Summary: Icelandic(is) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-is = %{version}-%{release} +%description Icelandic +%{summary}. + +%package Italian +Summary: Italian(it) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-it = %{version}-%{release} +%description Italian +%{summary}. + +%package Japanese +Summary: Japanese(ja) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ja = %{version}-%{release} +%description Japanese +%{summary}. + +%package Khmer +Summary: Khmer(km) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-km = %{version}-%{release} +%description Khmer +%{summary}. + +%package Korean +Summary: Korean(ko) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ko = %{version}-%{release} +%description Korean +%{summary}. + +%package Kurdish +Summary: Kurdish(ku) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ku = %{version}-%{release} +%description Kurdish +%{summary}. + +%package Lao +Summary: Lao(lo) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-lo = %{version}-%{release} +%description Lao +%{summary}. + +%package Lithuanian +Summary: Lithuanian(lt) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-lt = %{version}-%{release} +%description Lithuanian +%{summary}. + +%package Latvian +Summary: Latvian(lv) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-lv = %{version}-%{release} +%description Latvian +%{summary}. + +%package Maori +Summary: Maori(mi) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-mi = %{version}-%{release} +%description Maori +%{summary}. + +%package Macedonian +Summary: Macedonian(mk) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-mk = %{version}-%{release} +%description Macedonian +%{summary}. + +%package Malay +Summary: Malay(ms) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ms = %{version}-%{release} +%description Malay +%{summary}. + +%package Maltese +Summary: Maltese(mt) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-mt = %{version}-%{release} +%description Maltese +%{summary}. + +%package LowSaxon +Summary: Low Saxon (nds) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-nds = %{version}-%{release} +%description LowSaxon +%{summary}. + +%package Nepali +Summary: Nepali(ne) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ne = %{version}-%{release} +%description Nepali +%{summary}. + +%package Dutch +Summary: Dutch(nl) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-nl = %{version}-%{release} +%description Dutch +%{summary}. + +%package Norwegian +Summary: Norwegian(no) (Bokmaal) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-no = %{version}-%{release} +%description Norwegian +%{summary}. + +%package Norwegian-Nynorsk +Summary: Norwegian(nn) (Nynorsk) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-nn = %{version}-%{release} +%description Norwegian-Nynorsk +%{summary}. + +%package Occitan +Summary: Occitan(oc) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-oc = %{version}-%{release} +%description Occitan +%{summary}. + +%package Polish +Summary: Polish(pl) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-pl = %{version}-%{release} +%description Polish +%{summary}. + +%package Portuguese +Summary: Portuguese(pt) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-pt = %{version}-%{release} +%description Portuguese +%{summary}. + +%package Punjabi +Summary: Punjabi(pa) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-pa = %{version}-%{release} +%description Punjabi +%{summary}. + +%package Brazil +Summary: Brazil(pt_BR) Portuguese language support for TDE +Group: User Interface/Desktops +Provides: %{name}-pt_BR = %{version}-%{release} +%description Brazil +%{summary}. + +%package Romanian +Summary: Romanian(ro) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ro = %{version}-%{release} +%description Romanian +%{summary}. + +%package Russian +Summary: Russian(ru) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ru = %{version}-%{release} +%description Russian +%{summary}. + +%package Slovak +Summary: Slovak(sk) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-sk = %{version}-%{release} +%description Slovak +%{summary}. + +%package Slovenian +Summary: Slovenian(sl) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-sl = %{version}-%{release} +%description Slovenian +%{summary}. + +%package Serbian +Summary: Serbian(sr) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-sr = %{version}-%{release} +%description Serbian +%{summary}. + +%package Swedish +Summary: Swedish(sv) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-sv = %{version}-%{release} +%description Swedish +%{summary}. + +%package Tamil +Summary: Tamil(ta) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ta = %{version}-%{release} +%description Tamil +%{summary}. + +%package Tajik +Summary: Tajik(tg) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-tg = %{version}-%{release} +%description Tajik +%{summary}. + +%package Thai +Summary: Thai(th) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-th = %{version}-%{release} +%description Thai +%{summary}. + +%package Turkish +Summary: Turkish(tr) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-tr = %{version}-%{release} +%description Turkish +%{summary}. + +%package Ukrainian +Summary: Ukrainian(uk) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-uk = %{version}-%{release} +%description Ukrainian +%{summary}. + +%package Venda +Summary: Venda(ven) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ven = %{version}-%{release} +%description Venda +%{summary}. + +%package Vietnamese +Summary: Vietnamese(vi) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-vi = %{version}-%{release} +%description Vietnamese +%{summary}. + +%package Walloon +Summary: Walloon(wa) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-wa = %{version}-%{release} +%description Walloon +%{summary}. + +%package Xhosa +Summary: Xhosa(xh) (a Bantu language) support for TDE +Group: User Interface/Desktops +Provides: %{name}-xh = %{version}-%{release} +%description Xhosa +%{summary}. + +%package Chinese +Summary: Chinese(zh_CN) (Simplified Chinese) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-zh_CN = %{version}-%{release} +%description Chinese +%{summary}. + +%package Chinese-Big5 +Summary: Chinese(zh_TW) (Big5) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-tz_TW = %{version}-%{release} +%description Chinese-Big5 +%{summary}. + + + +%prep +%setup -q -n koffice-i18n-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" + + +%build +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +export kde_htmldir="%{tde_tdedocdir}/HTML" + +for l in %{KDE_LANGS}; do + for f in koffice-i18n-${l}/; do + if [ -d "${f}" ]; then + pushd ${f} + autoreconf -fiv + %__make -f ../admin/Makefile.common + %configure \ + --prefix=%{tde_prefix} \ + --datadir=%{tde_datadir} \ + --docdir=%{tde_tdedocdir} + %__make %{?_smp_mflags} + popd + fi + done +done + +%install +%__rm -rf %{?buildroot} +export PATH="%{tde_bindir}:${PATH}" + +for l in %{KDE_LANGS}; do + for f in koffice-i18n-${l}/; do + if [ -d "${f}" ] && [ -r "${f}/Makefile" ] ; then + %__make install DESTDIR="%{?buildroot}" -C "${f}" + fi + done +done + +# make symlinks relative +%if "%{tde_prefix}" == "/usr" +pushd "%{buildroot}%{tde_tdedocdir}/HTML" +for lang in *; do + if [ -d "$lang" ]; then + pushd "$lang" + for i in */*/*; do + if [ -d $i -a -L $i/common ]; then + rm -f $i/common + ln -sf ../../../docs/common $i + fi + done + + for i in */*; do + if [ -d $i -a -L $i/common ]; then + rm -f $i/common + ln -sf ../../docs/common $i + fi + done + + for i in *; do + if [ -d $i -a -L $i/common ]; then + rm -f $i/common + ln -sf ../docs/common $i + fi + done + + popd + fi +done +popd +%endif + +# remove zero-length file +find "%{buildroot}%{tde_tdedocdir}/HTML" -size 0 -exec rm -f {} \; + +%clean +%__rm -rf %{buildroot} + +%if "%( grep -w af <<< '%{KDE_LANGS}' )" != "" +%files Afrikaans +%defattr(-,root,root,-) +%lang(af) %{tde_datadir}/locale/af/* +%endif + +%if "%( grep -w ar <<< '%{KDE_LANGS}' )" != "" +%files Arabic +%defattr(-,root,root,-) +%lang(ar) %{tde_datadir}/locale/ar/* +%endif + +%if "%( grep -w az <<< '%{KDE_LANGS}' )" != "" +%files Azerbaijani +%defattr(-,root,root,-) +%lang(az) %{tde_datadir}/locale/az/* +%endif + +%if "%( grep -w be <<< '%{KDE_LANGS}' )" != "" +%files Belarusian +%defattr(-,root,root,-) +%lang(be) %{tde_datadir}/locale/be/* +%endif + +%if "%( grep -w bg <<< '%{KDE_LANGS}' )" != "" +%files Bulgarian +%defattr(-,root,root,-) +%lang(bg) %{tde_datadir}/locale/bg/* +%endif + +%if "%( grep -w bn <<< '%{KDE_LANGS}' )" != "" +%files Bengali +%defattr(-,root,root,-) +%lang(bn) %{tde_datadir}/locale/bn/* +%endif + +%if "%( grep -w bo <<< '%{KDE_LANGS}' )" != "" +%files Tibetan +%defattr(-,root,root,-) +%lang(bo) %{tde_datadir}/locale/bo/* +%endif + +%if "%( grep -w br <<< '%{KDE_LANGS}' )" != "" +%files Breton +%defattr(-,root,root,-) +%lang(br) %{tde_datadir}/locale/br/* +%endif + +%if "%( grep -w bs <<< '%{KDE_LANGS}' )" != "" +%files Bosnian +%defattr(-,root,root,-) +%lang(bs) %{tde_datadir}/locale/bs/* +%endif + +%if "%( grep -w ca <<< '%{KDE_LANGS}' )" != "" +%files Catalan +%defattr(-,root,root,-) +%lang(ca) %{tde_datadir}/locale/ca/* +%lang(ca) %{tde_tdedocdir}/HTML/ca/ +%lang(ca) %{tde_datadir}/apps/koffice/autocorrect/ca.xml +%endif + +%if "%( grep -w cs <<< '%{KDE_LANGS}' )" != "" +%files Czech +%defattr(-,root,root,-) +%lang(cs) %{tde_datadir}/locale/cs/* +%lang(cs) %{tde_datadir}/apps/koffice/autocorrect/cs.xml +%endif + +%if "%( grep -w cy <<< '%{KDE_LANGS}' )" != "" +%files Welsh +%defattr(-,root,root,-) +%lang(cy) %{tde_datadir}/locale/cy/* +%endif + +%if "%( grep -w da <<< '%{KDE_LANGS}' )" != "" +%files Danish +%defattr(-,root,root,-) +%lang(da) %{tde_datadir}/locale/da/* +%lang(da) %{tde_tdedocdir}/HTML/da/ +%endif + +%if "%( grep -w de <<< '%{KDE_LANGS}' )" != "" +%files German +%defattr(-,root,root,-) +%lang(de) %{tde_datadir}/locale/de/* +%lang(de) %{tde_tdedocdir}/HTML/de/ +%lang(de) %{tde_datadir}/apps/koffice/autocorrect/de.xml +%endif + +%if "%( grep -w el <<< '%{KDE_LANGS}' )" != "" +%files Greek +%defattr(-,root,root,-) +%lang(el) %{tde_datadir}/locale/el/* +%endif + +%if "%( grep -w en_GB <<< '%{KDE_LANGS}' )" != "" +%files British +%defattr(-,root,root,-) +%lang(en_GB) %{tde_datadir}/locale/en_GB/* +%lang(en_GB) %{tde_tdedocdir}/HTML/en_GB/ +%endif + +%if "%( grep -w eo <<< '%{KDE_LANGS}' )" != "" +%files Esperanto +%defattr(-,root,root,-) +%lang(eo) %{tde_datadir}/locale/eo/* +%endif + +%if "%( grep -w es <<< '%{KDE_LANGS}' )" != "" +%files Spanish +%defattr(-,root,root,-) +%lang(es) %{tde_datadir}/locale/es/* +%lang(es) %{tde_tdedocdir}/HTML/es/ +%lang(es) %{tde_datadir}/apps/koffice/autocorrect/es.xml +%endif + +%if "%( grep -w et <<< '%{KDE_LANGS}' )" != "" +%files Estonian +%defattr(-,root,root,-) +%lang(et) %{tde_datadir}/locale/et/* +%lang(et) %{tde_tdedocdir}/HTML/et/ +%endif + +%if "%( grep -w eu <<< '%{KDE_LANGS}' )" != "" +%files Basque +%defattr(-,root,root,-) +%lang(eu) %{tde_datadir}/locale/eu/* +%endif + +%if "%( grep -w fa <<< '%{KDE_LANGS}' )" != "" +%files Farsi +%defattr(-,root,root,-) +%lang(fa) %{tde_datadir}/locale/fa/* +%endif + +%if "%( grep -w fi <<< '%{KDE_LANGS}' )" != "" +%files Finnish +%defattr(-,root,root,-) +%lang(fi) %{tde_datadir}/locale/fi/* +%endif + +%if "%( grep -w fo <<< '%{KDE_LANGS}' )" != "" +%files Faroese +%defattr(-,root,root,-) +%lang(fo) %{tde_datadir}/locale/fo/* +%endif + +%if "%( grep -w fr <<< '%{KDE_LANGS}' )" != "" +%files French +%defattr(-,root,root,-) +%lang(fr) %{tde_datadir}/locale/fr/* +%lang(fr) %{tde_tdedocdir}/HTML/fr/ +%lang(fr) %{tde_datadir}/apps/koffice/autocorrect/fr.xml +%endif + +%if "%( grep -w fy <<< '%{KDE_LANGS}' )" != "" +%files Frisian +%defattr(-,root,root,-) +%lang(fy) %{tde_datadir}/locale/fy/* +%endif + +%if "%( grep -w ga <<< '%{KDE_LANGS}' )" != "" +%files Irish +%defattr(-,root,root,-) +%lang(ga) %{tde_datadir}/locale/ga/* +%endif + +%if "%( grep -w gl <<< '%{KDE_LANGS}' )" != "" +%files Galician +%defattr(-,root,root,-) +%lang(gl) %{tde_datadir}/locale/gl/* +%endif + +%if "%( grep -w he <<< '%{KDE_LANGS}' )" != "" +%files Hebrew +%defattr(-,root,root,-) +%lang(he) %{tde_datadir}/locale/he/* +%endif + +%if "%( grep -w hi <<< '%{KDE_LANGS}' )" != "" +%files Hindi +%defattr(-,root,root,-) +%lang(hi) %{tde_datadir}/locale/hi/* +%endif + +%if "%( grep -w hr <<< '%{KDE_LANGS}' )" != "" +%files Croatian +%defattr(-,root,root,-) +%lang(hr) %{tde_datadir}/locale/hr/* +%endif + +%if "%( grep -w hu <<< '%{KDE_LANGS}' )" != "" +%files Hungarian +%defattr(-,root,root,-) +%lang(hu) %{tde_datadir}/locale/hu/* +%lang(hu) %{tde_datadir}/apps/koffice/autocorrect/hu.xml +%endif + +%if "%( grep -w id <<< '%{KDE_LANGS}' )" != "" +%files Indonesian +%defattr(-,root,root,-) +%lang(id) %{tde_datadir}/locale/id/* +%endif + +%if "%( grep -w is <<< '%{KDE_LANGS}' )" != "" +%files Icelandic +%defattr(-,root,root,-) +%lang(is) %{tde_datadir}/locale/is/* +%endif + +%if "%( grep -w it <<< '%{KDE_LANGS}' )" != "" +%files Italian +%defattr(-,root,root,-) +%lang(it) %{tde_datadir}/locale/it/* +%lang(it) %{tde_tdedocdir}/HTML/it/ +%lang(it) %{tde_datadir}/apps/koffice/autocorrect/it.xml +%endif + +%if "%( grep -w ja <<< '%{KDE_LANGS}' )" != "" +%files Japanese +%defattr(-,root,root,-) +%lang(ja) %{tde_datadir}/locale/ja/* +%endif + +%if "%( grep -w km <<< '%{KDE_LANGS}' )" != "" +%files Khmer +%defattr(-,root,root,-) +%lang(km) %{tde_datadir}/locale/km/* +%endif + +%if "%( grep -w ko <<< '%{KDE_LANGS}' )" != "" +%files Korean +%defattr(-,root,root,-) +%lang(ko) %{tde_datadir}/locale/ko/* +%endif + +%if "%( grep -w ku <<< '%{KDE_LANGS}' )" != "" +%files Kurdish +%defattr(-,root,root,-) +%lang(ku) %{tde_datadir}/locale/ku/* +%endif + +%if "%( grep -w lao <<< '%{KDE_LANGS}' )" != "" +%files Lao +%defattr(-,root,root,-) +%lang(lo) %{tde_datadir}/locale/lo/* +%endif + +%if "%( grep -w lt <<< '%{KDE_LANGS}' )" != "" +%files Lithuanian +%defattr(-,root,root,-) +%lang(lt) %{tde_datadir}/locale/lt/* +%endif + +%if "%( grep -w lv <<< '%{KDE_LANGS}' )" != "" +%files Latvian +%defattr(-,root,root,-) +%lang(lv) %{tde_datadir}/locale/lv/* +%endif + +%if "%( grep -w mi <<< '%{KDE_LANGS}' )" != "" +%files Maori +%defattr(-,root,root,-) +%lang(mi) %{tde_datadir}/locale/mi/* +%endif + +%if "%( grep -w mk <<< '%{KDE_LANGS}' )" != "" +%files Macedonian +%defattr(-,root,root,-) +%lang(mk) %{tde_datadir}/locale/mk/* +%endif + +%if "%( grep -w ms <<< '%{KDE_LANGS}' )" != "" +%files Malay +%defattr(-,root,root,-) +%lang(ms) %{tde_datadir}/locale/ms/* +%endif + +%if "%( grep -w mt <<< '%{KDE_LANGS}' )" != "" +%files Maltese +%defattr(-,root,root,-) +%lang(mt) %{tde_datadir}/locale/mt/* +%endif + +%if "%( grep -w nds <<< '%{KDE_LANGS}' )" != "" +%files LowSaxon +%defattr(-,root,root,-) +%lang(nds) %{tde_datadir}/locale/nds/* +%endif + +%if "%( grep -w ne <<< '%{KDE_LANGS}' )" != "" +%files Nepali +%defattr(-,root,root,-) +%lang(ne) %{tde_datadir}/locale/ne/* +%endif + +%if "%( grep -w nl <<< '%{KDE_LANGS}' )" != "" +%files Dutch +%defattr(-,root,root,-) +%lang(nl) %{tde_datadir}/locale/nl/* +%lang(nl) %{tde_tdedocdir}/HTML/nl/ +%endif + +%if "%( grep -w nb <<< '%{KDE_LANGS}' )" != "" +%files Norwegian +%defattr(-,root,root,-) +%lang(nb) %{tde_datadir}/locale/nb/* +%endif + +%if "%( grep -w nn <<< '%{KDE_LANGS}' )" != "" +%files Norwegian-Nynorsk +%defattr(-,root,root,-) +%lang(nn) %{tde_datadir}/locale/nn/* +%endif + +%if "%( grep -w oc <<< '%{KDE_LANGS}' )" != "" +%files Occitan +%defattr(-,root,root,-) +%lang(oc) %{tde_datadir}/locale/oc/* +%endif + +%if "%( grep -w pa <<< '%{KDE_LANGS}' )" != "" +%files Punjabi +%defattr(-,root,root,-) +%lang(pa) %{tde_datadir}/locale/pa/* +%endif + +%if "%( grep -w pl <<< '%{KDE_LANGS}' )" != "" +%files Polish +%defattr(-,root,root,-) +%lang(pl) %{tde_datadir}/locale/pl/* +%endif + +%if "%( grep -w pt <<< '%{KDE_LANGS}' )" != "" +%files Portuguese +%defattr(-,root,root,-) +%lang(pt) %{tde_datadir}/locale/pt/* +%lang(pt) %{tde_tdedocdir}/HTML/pt/ +%endif + +%if "%( grep -w pt_BR <<< '%{KDE_LANGS}' )" != "" +%files Brazil +%defattr(-,root,root,-) +%lang(pt_BR) %{tde_datadir}/locale/pt_BR/* +%lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/ +%endif + +%if "%( grep -w ro <<< '%{KDE_LANGS}' )" != "" +%files Romanian +%defattr(-,root,root,-) +%lang(ro) %{tde_datadir}/locale/ro/* +%endif + +%if "%( grep -w ru <<< '%{KDE_LANGS}' )" != "" +%files Russian +%defattr(-,root,root,-) +%lang(ru) %{tde_datadir}/locale/ru/* +%lang(ru) %{tde_tdedocdir}/HTML/ru/ +%endif + +%if "%( grep -w sk <<< '%{KDE_LANGS}' )" != "" +%files Slovak +%defattr(-,root,root,-) +%lang(sk) %{tde_datadir}/locale/sk/* +%lang(sk) %{tde_tdedocdir}/HTML/sk/ +%lang(sk) %{tde_datadir}/apps/koffice/autocorrect/sk.xml +%endif + +%if "%( grep -w sl <<< '%{KDE_LANGS}' )" != "" +%files Slovenian +%defattr(-,root,root,-) +%lang(sl) %{tde_datadir}/locale/sl/* +%lang(sl) %{tde_tdedocdir}/HTML/sl/ +%endif + +%if "%( grep -w sr <<< '%{KDE_LANGS}' )" != "" +%files Serbian +%defattr(-,root,root,-) +%lang(sr) %{tde_datadir}/locale/sr/* +%endif + +%if "%( grep -w sv <<< '%{KDE_LANGS}' )" != "" +%files Swedish +%defattr(-,root,root,-) +%lang(sv) %{tde_datadir}/locale/sv/* +%lang(sv) %{tde_tdedocdir}/HTML/sv/ +%endif + +%if "%( grep -w ta <<< '%{KDE_LANGS}' )" != "" +%files Tamil +%defattr(-,root,root,-) +%lang(ta) %{tde_datadir}/locale/ta/* +%endif + +%if "%( grep -w tg <<< '%{KDE_LANGS}' )" != "" +%files Tajik +%defattr(-,root,root,-) +%lang(tg) %{tde_datadir}/locale/tg/* +%endif + +%if "%( grep -w th <<< '%{KDE_LANGS}' )" != "" +%files Thai +%defattr(-,root,root,-) +%lang(th) %{tde_datadir}/locale/th/* +%endif + +%if "%( grep -w tr <<< '%{KDE_LANGS}' )" != "" +%files Turkish +%defattr(-,root,root,-) +%lang(tr) %{tde_datadir}/locale/tr/* +%endif + +%if "%( grep -w uk <<< '%{KDE_LANGS}' )" != "" +%files Ukrainian +%defattr(-,root,root,-) +%lang(uk) %{tde_datadir}/locale/uk/* +%endif + +%if "%( grep -w ven <<< '%{KDE_LANGS}' )" != "" +%files Venda +%defattr(-,root,root,-) +%lang(ven) %{tde_datadir}/locale/ven/* +%endif + +%if "%( grep -w vi <<< '%{KDE_LANGS}' )" != "" +%files Vietnamese +%defattr(-,root,root,-) +%lang(vi) %{tde_datadir}/locale/vi/* +%endif + +%if "%( grep -w wa <<< '%{KDE_LANGS}' )" != "" +%files Walloon +%defattr(-,root,root,-) +%lang(wa) %{tde_datadir}/locale/wa/* +%endif + +%if "%( grep -w xh <<< '%{KDE_LANGS}' )" != "" +%files Xhosa +%defattr(-,root,root,-) +%lang(xh) %{tde_datadir}/locale/xh/* +%endif + +%if "%( grep -w zh_CN <<< '%{KDE_LANGS}' )" != "" +%files Chinese +%defattr(-,root,root,-) +%lang(zh_CN) %{tde_datadir}/locale/zh_CN/* +%endif + +%if "%( grep -w zh_TW <<< '%{KDE_LANGS}' )" != "" +%files Chinese-Big5 +%defattr(-,root,root,-) +%lang(zh_TW) %{tde_datadir}/locale/zh_TW/* +%endif + +%changelog +* Wed Oct 03 2012 Francois Andriot - 1.6.3-2 +- Initial build for TDE 3.5.13.1 + +* Sun Jul 01 2012 Francois Andriot - 1.6.3-1 +- Initial build for TDE 3.5.13 + diff --git a/redhat/applications/koffice-i18n/koffice-i18n-3.5.13.2.spec b/redhat/applications/koffice-i18n/koffice-i18n-3.5.13.2.spec new file mode 100644 index 000000000..273203c45 --- /dev/null +++ b/redhat/applications/koffice-i18n/koffice-i18n-3.5.13.2.spec @@ -0,0 +1,1089 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +# Builds all supported languages (not unsupported ones) +%if "%{?KDE_LANGS}" == "" +%define KDE_LANGS bg ca cs da de el en_GB es et fi fr hu it ja km lv ms nb nds ne nl pl pt pt_BR ru sk sl sr sv tr uk zh_CN zh_TW +%endif + + +Name: trinity-koffice-i18n +Summary: Internationalization support for Trinity +Version: 1.6.3 +Release: 3%{?dist}%{?_variant} + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +# GFDL, with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. +License: GFDL +Group: User Interface/Desktops +BuildArch: noarch + +# Speed build options +%define debug_package %{nil} +%define __spec_install_post %{nil} +AutoReq: no + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: findutils +BuildRequires: gettext +BuildRequires: autoconf automake libtool m4 +BuildRequires: trinity-arts-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 + +%description +%{summary}. + +%package Bulgarian +Summary: Bulgarian(bg) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-bg = %{version}-%{release} +%description Bulgarian +%{summary}. + +%package Bengali +Summary: Bengali(bn) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-bn = %{version}-%{release} +%description Bengali +%{summary}. + +%package Tibetan +Summary: Tibetan(bo) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-bo = %{version}-%{release} +%description Tibetan +%{summary}. + +%package Breton +Summary: Breton(br) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-br = %{version}-%{release} +%description Breton +%{summary}. + +%package Bosnian +Summary: Bosnian(bs) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-bs = %{version}-%{release} +%description Bosnian +%{summary}. + +%package Catalan +Summary: Catalan(ca) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ca = %{version}-%{release} +%description Catalan +%{summary}. + +%package Czech +Summary: Czech(cs) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-cs = %{version}-%{release} +%description Czech +%{summary}. + +%package Cymraeg +Summary: Cymraeg language support for TDE +Group: User Interface/Desktops +%description Cymraeg +%{summary}. + +%package Welsh +Summary: Welsh(cy) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-cy = %{version}-%{release} +%description Welsh +%{summary}. + +%package Danish +Summary: Danish(da) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-da = %{version}-%{release} +%description Danish +%{summary}. + +%package German +Summary: German(de) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-de = %{version}-%{release} +%description German +%{summary}. + +%package Greek +Summary: Greek(el) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-el = %{version}-%{release} +%description Greek +%{summary}. + +%package British +Summary: British(en_GB) English support for TDE +Group: User Interface/Desktops +Provides: %{name}-en_GB = %{version}-%{release} +%description British +%{summary}. + +%package Esperanto +Summary: Esperanto(eo) support for TDE +Group: User Interface/Desktops +Provides: %{name}-eo = %{version}-%{release} +%description Esperanto +%{summary}. + +%package Spanish +Summary: Spanish(es) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-es = %{version}-%{release} +%description Spanish +%{summary}. + +%package Estonian +Summary: Estonian(et) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-et = %{version}-%{release} +%description Estonian +%{summary}. + +%package Basque +Summary: Basque(eu) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-eu = %{version}-%{release} +%description Basque +%{summary}. + +%package Finnish +Summary: Finnish(fi) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-fi = %{version}-%{release} +%description Finnish +%{summary}. + +%package Faroese +Summary: Faroese(fo) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-fo = %{version}-%{release} +%description Faroese +%{summary}. + +%package French +Summary: French(fr) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-fr = %{version}-%{release} +%description French +%{summary}. + +%package Frisian +Summary: Frisian(fy) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-fy = %{version}-%{release} +%description Frisian +%{summary}. + +%package Irish +Summary: Irish(ga) language support for TDE +Group: User Interface/Desktops +Obsoletes: kde-i18n-Gaeilge < %{version} +Provides: %{name}-ga = %{version}-%{release} +%description Irish +%{summary}. + +%package Galician +Summary: Galician(gl) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-gl = %{version}-%{release} +%description Galician +%{summary}. + +%package Hebrew +Summary: Hebrew(he) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-he = %{version}-%{release} +%description Hebrew +%{summary}. + +%package Hindi +Summary: Hindi(hi) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-hi = %{version}-%{release} +%description Hindi +%{summary}. + +%package Croatian +Summary: Croatian(hr) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-hr = %{version}-%{release} +%description Croatian +%{summary}. + +%package Hungarian +Summary: Hungarian(hu) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-hu = %{version}-%{release} +%description Hungarian +%{summary}. + +%package Indonesian +Summary: Indonesian(id) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-id = %{version}-%{release} +%description Indonesian +%{summary}. + +%package Icelandic +Summary: Icelandic(is) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-is = %{version}-%{release} +%description Icelandic +%{summary}. + +%package Italian +Summary: Italian(it) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-it = %{version}-%{release} +%description Italian +%{summary}. + +%package Japanese +Summary: Japanese(ja) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ja = %{version}-%{release} +%description Japanese +%{summary}. + +%package Khmer +Summary: Khmer(km) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-km = %{version}-%{release} +%description Khmer +%{summary}. + +%package Korean +Summary: Korean(ko) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ko = %{version}-%{release} +%description Korean +%{summary}. + +%package Kurdish +Summary: Kurdish(ku) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ku = %{version}-%{release} +%description Kurdish +%{summary}. + +%package Lao +Summary: Lao(lo) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-lo = %{version}-%{release} +%description Lao +%{summary}. + +%package Lithuanian +Summary: Lithuanian(lt) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-lt = %{version}-%{release} +%description Lithuanian +%{summary}. + +%package Latvian +Summary: Latvian(lv) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-lv = %{version}-%{release} +%description Latvian +%{summary}. + +%package Maori +Summary: Maori(mi) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-mi = %{version}-%{release} +%description Maori +%{summary}. + +%package Macedonian +Summary: Macedonian(mk) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-mk = %{version}-%{release} +%description Macedonian +%{summary}. + +%package Malay +Summary: Malay(ms) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ms = %{version}-%{release} +%description Malay +%{summary}. + +%package Maltese +Summary: Maltese(mt) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-mt = %{version}-%{release} +%description Maltese +%{summary}. + +%package LowSaxon +Summary: Low Saxon (nds) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-nds = %{version}-%{release} +%description LowSaxon +%{summary}. + +%package Nepali +Summary: Nepali(ne) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ne = %{version}-%{release} +%description Nepali +%{summary}. + +%package Dutch +Summary: Dutch(nl) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-nl = %{version}-%{release} +%description Dutch +%{summary}. + +%package Norwegian +Summary: Norwegian(no) (Bokmaal) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-no = %{version}-%{release} +%description Norwegian +%{summary}. + +%package Norwegian-Nynorsk +Summary: Norwegian(nn) (Nynorsk) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-nn = %{version}-%{release} +%description Norwegian-Nynorsk +%{summary}. + +%package Occitan +Summary: Occitan(oc) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-oc = %{version}-%{release} +%description Occitan +%{summary}. + +%package Polish +Summary: Polish(pl) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-pl = %{version}-%{release} +%description Polish +%{summary}. + +%package Portuguese +Summary: Portuguese(pt) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-pt = %{version}-%{release} +%description Portuguese +%{summary}. + +%package Punjabi +Summary: Punjabi(pa) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-pa = %{version}-%{release} +%description Punjabi +%{summary}. + +%package Brazil +Summary: Brazil(pt_BR) Portuguese language support for TDE +Group: User Interface/Desktops +Provides: %{name}-pt_BR = %{version}-%{release} +%description Brazil +%{summary}. + +%package Romanian +Summary: Romanian(ro) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ro = %{version}-%{release} +%description Romanian +%{summary}. + +%package Russian +Summary: Russian(ru) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ru = %{version}-%{release} +%description Russian +%{summary}. + +%package Slovak +Summary: Slovak(sk) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-sk = %{version}-%{release} +%description Slovak +%{summary}. + +%package Slovenian +Summary: Slovenian(sl) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-sl = %{version}-%{release} +%description Slovenian +%{summary}. + +%package Serbian +Summary: Serbian(sr) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-sr = %{version}-%{release} +%description Serbian +%{summary}. + +%package Swedish +Summary: Swedish(sv) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-sv = %{version}-%{release} +%description Swedish +%{summary}. + +%package Tamil +Summary: Tamil(ta) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ta = %{version}-%{release} +%description Tamil +%{summary}. + +%package Tajik +Summary: Tajik(tg) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-tg = %{version}-%{release} +%description Tajik +%{summary}. + +%package Thai +Summary: Thai(th) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-th = %{version}-%{release} +%description Thai +%{summary}. + +%package Turkish +Summary: Turkish(tr) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-tr = %{version}-%{release} +%description Turkish +%{summary}. + +%package Ukrainian +Summary: Ukrainian(uk) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-uk = %{version}-%{release} +%description Ukrainian +%{summary}. + +%package Venda +Summary: Venda(ven) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ven = %{version}-%{release} +%description Venda +%{summary}. + +%package Vietnamese +Summary: Vietnamese(vi) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-vi = %{version}-%{release} +%description Vietnamese +%{summary}. + +%package Walloon +Summary: Walloon(wa) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-wa = %{version}-%{release} +%description Walloon +%{summary}. + +%package Xhosa +Summary: Xhosa(xh) (a Bantu language) support for TDE +Group: User Interface/Desktops +Provides: %{name}-xh = %{version}-%{release} +%description Xhosa +%{summary}. + +%package Chinese +Summary: Chinese(zh_CN) (Simplified Chinese) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-zh_CN = %{version}-%{release} +%description Chinese +%{summary}. + +%package Chinese-Big5 +Summary: Chinese(zh_TW) (Big5) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-tz_TW = %{version}-%{release} +%description Chinese-Big5 +%{summary}. + + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" + + +%build +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +export kde_htmldir="%{tde_tdedocdir}/HTML" + +for l in %{KDE_LANGS}; do + for f in koffice-i18n-${l}/; do + if [ -d "${f}" ]; then + pushd ${f} + %__sed -i "configure.in" -e "s|AM_CONFIG_HEADER|AC_CONFIG_HEADER|" + %__make -f "admin/Makefile.common" + %configure \ + --prefix=%{tde_prefix} \ + --datadir=%{tde_datadir} \ + --docdir=%{tde_tdedocdir} + %__make %{?_smp_mflags} + popd + fi + done +done + +%install +%__rm -rf %{?buildroot} +export PATH="%{tde_bindir}:${PATH}" + +for l in %{KDE_LANGS}; do + for f in koffice-i18n-${l}/; do + if [ -d "${f}" ] && [ -r "${f}/Makefile" ] ; then + %__make install DESTDIR="%{?buildroot}" -C "${f}" + fi + done +done + +# make symlinks relative +%if "%{tde_prefix}" == "/usr" +pushd "%{buildroot}%{tde_tdedocdir}/HTML" +for lang in *; do + if [ -d "$lang" ]; then + pushd "$lang" + for i in */*/*; do + if [ -d $i -a -L $i/common ]; then + rm -f $i/common + ln -sf ../../../docs/common $i + fi + done + + for i in */*; do + if [ -d $i -a -L $i/common ]; then + rm -f $i/common + ln -sf ../../docs/common $i + fi + done + + for i in *; do + if [ -d $i -a -L $i/common ]; then + rm -f $i/common + ln -sf ../docs/common $i + fi + done + + popd + fi +done +popd +%endif + +# remove zero-length file +find "%{buildroot}%{tde_tdedocdir}/HTML" -size 0 -exec rm -f {} \; + +%clean +%__rm -rf %{buildroot} + +%if "%( grep -w af <<< '%{KDE_LANGS}' )" != "" +%files Afrikaans +%defattr(-,root,root,-) +%lang(af) %{tde_datadir}/locale/af/* +%endif + +%if "%( grep -w ar <<< '%{KDE_LANGS}' )" != "" +%files Arabic +%defattr(-,root,root,-) +%lang(ar) %{tde_datadir}/locale/ar/* +%endif + +%if "%( grep -w az <<< '%{KDE_LANGS}' )" != "" +%files Azerbaijani +%defattr(-,root,root,-) +%lang(az) %{tde_datadir}/locale/az/* +%endif + +%if "%( grep -w be <<< '%{KDE_LANGS}' )" != "" +%files Belarusian +%defattr(-,root,root,-) +%lang(be) %{tde_datadir}/locale/be/* +%endif + +%if "%( grep -w bg <<< '%{KDE_LANGS}' )" != "" +%files Bulgarian +%defattr(-,root,root,-) +%lang(bg) %{tde_datadir}/locale/bg/* +%endif + +%if "%( grep -w bn <<< '%{KDE_LANGS}' )" != "" +%files Bengali +%defattr(-,root,root,-) +%lang(bn) %{tde_datadir}/locale/bn/* +%endif + +%if "%( grep -w bo <<< '%{KDE_LANGS}' )" != "" +%files Tibetan +%defattr(-,root,root,-) +%lang(bo) %{tde_datadir}/locale/bo/* +%endif + +%if "%( grep -w br <<< '%{KDE_LANGS}' )" != "" +%files Breton +%defattr(-,root,root,-) +%lang(br) %{tde_datadir}/locale/br/* +%endif + +%if "%( grep -w bs <<< '%{KDE_LANGS}' )" != "" +%files Bosnian +%defattr(-,root,root,-) +%lang(bs) %{tde_datadir}/locale/bs/* +%endif + +%if "%( grep -w ca <<< '%{KDE_LANGS}' )" != "" +%files Catalan +%defattr(-,root,root,-) +%lang(ca) %{tde_datadir}/locale/ca/* +%lang(ca) %{tde_tdedocdir}/HTML/ca/ +%lang(ca) %{tde_datadir}/apps/koffice/autocorrect/ca.xml +%endif + +%if "%( grep -w cs <<< '%{KDE_LANGS}' )" != "" +%files Czech +%defattr(-,root,root,-) +%lang(cs) %{tde_datadir}/locale/cs/* +%lang(cs) %{tde_datadir}/apps/koffice/autocorrect/cs.xml +%endif + +%if "%( grep -w cy <<< '%{KDE_LANGS}' )" != "" +%files Welsh +%defattr(-,root,root,-) +%lang(cy) %{tde_datadir}/locale/cy/* +%endif + +%if "%( grep -w da <<< '%{KDE_LANGS}' )" != "" +%files Danish +%defattr(-,root,root,-) +%lang(da) %{tde_datadir}/locale/da/* +%lang(da) %{tde_tdedocdir}/HTML/da/ +%endif + +%if "%( grep -w de <<< '%{KDE_LANGS}' )" != "" +%files German +%defattr(-,root,root,-) +%lang(de) %{tde_datadir}/locale/de/* +%lang(de) %{tde_tdedocdir}/HTML/de/ +%lang(de) %{tde_datadir}/apps/koffice/autocorrect/de.xml +%endif + +%if "%( grep -w el <<< '%{KDE_LANGS}' )" != "" +%files Greek +%defattr(-,root,root,-) +%lang(el) %{tde_datadir}/locale/el/* +%endif + +%if "%( grep -w en_GB <<< '%{KDE_LANGS}' )" != "" +%files British +%defattr(-,root,root,-) +%lang(en_GB) %{tde_datadir}/locale/en_GB/* +%lang(en_GB) %{tde_tdedocdir}/HTML/en_GB/ +%endif + +%if "%( grep -w eo <<< '%{KDE_LANGS}' )" != "" +%files Esperanto +%defattr(-,root,root,-) +%lang(eo) %{tde_datadir}/locale/eo/* +%endif + +%if "%( grep -w es <<< '%{KDE_LANGS}' )" != "" +%files Spanish +%defattr(-,root,root,-) +%lang(es) %{tde_datadir}/locale/es/* +%lang(es) %{tde_tdedocdir}/HTML/es/ +%lang(es) %{tde_datadir}/apps/koffice/autocorrect/es.xml +%endif + +%if "%( grep -w et <<< '%{KDE_LANGS}' )" != "" +%files Estonian +%defattr(-,root,root,-) +%lang(et) %{tde_datadir}/locale/et/* +%lang(et) %{tde_tdedocdir}/HTML/et/ +%endif + +%if "%( grep -w eu <<< '%{KDE_LANGS}' )" != "" +%files Basque +%defattr(-,root,root,-) +%lang(eu) %{tde_datadir}/locale/eu/* +%endif + +%if "%( grep -w fa <<< '%{KDE_LANGS}' )" != "" +%files Farsi +%defattr(-,root,root,-) +%lang(fa) %{tde_datadir}/locale/fa/* +%endif + +%if "%( grep -w fi <<< '%{KDE_LANGS}' )" != "" +%files Finnish +%defattr(-,root,root,-) +%lang(fi) %{tde_datadir}/locale/fi/* +%endif + +%if "%( grep -w fo <<< '%{KDE_LANGS}' )" != "" +%files Faroese +%defattr(-,root,root,-) +%lang(fo) %{tde_datadir}/locale/fo/* +%endif + +%if "%( grep -w fr <<< '%{KDE_LANGS}' )" != "" +%files French +%defattr(-,root,root,-) +%lang(fr) %{tde_datadir}/locale/fr/* +%lang(fr) %{tde_tdedocdir}/HTML/fr/ +%lang(fr) %{tde_datadir}/apps/koffice/autocorrect/fr.xml +%endif + +%if "%( grep -w fy <<< '%{KDE_LANGS}' )" != "" +%files Frisian +%defattr(-,root,root,-) +%lang(fy) %{tde_datadir}/locale/fy/* +%endif + +%if "%( grep -w ga <<< '%{KDE_LANGS}' )" != "" +%files Irish +%defattr(-,root,root,-) +%lang(ga) %{tde_datadir}/locale/ga/* +%endif + +%if "%( grep -w gl <<< '%{KDE_LANGS}' )" != "" +%files Galician +%defattr(-,root,root,-) +%lang(gl) %{tde_datadir}/locale/gl/* +%endif + +%if "%( grep -w he <<< '%{KDE_LANGS}' )" != "" +%files Hebrew +%defattr(-,root,root,-) +%lang(he) %{tde_datadir}/locale/he/* +%endif + +%if "%( grep -w hi <<< '%{KDE_LANGS}' )" != "" +%files Hindi +%defattr(-,root,root,-) +%lang(hi) %{tde_datadir}/locale/hi/* +%endif + +%if "%( grep -w hr <<< '%{KDE_LANGS}' )" != "" +%files Croatian +%defattr(-,root,root,-) +%lang(hr) %{tde_datadir}/locale/hr/* +%endif + +%if "%( grep -w hu <<< '%{KDE_LANGS}' )" != "" +%files Hungarian +%defattr(-,root,root,-) +%lang(hu) %{tde_datadir}/locale/hu/* +%lang(hu) %{tde_datadir}/apps/koffice/autocorrect/hu.xml +%endif + +%if "%( grep -w id <<< '%{KDE_LANGS}' )" != "" +%files Indonesian +%defattr(-,root,root,-) +%lang(id) %{tde_datadir}/locale/id/* +%endif + +%if "%( grep -w is <<< '%{KDE_LANGS}' )" != "" +%files Icelandic +%defattr(-,root,root,-) +%lang(is) %{tde_datadir}/locale/is/* +%endif + +%if "%( grep -w it <<< '%{KDE_LANGS}' )" != "" +%files Italian +%defattr(-,root,root,-) +%lang(it) %{tde_datadir}/locale/it/* +%lang(it) %{tde_tdedocdir}/HTML/it/ +%lang(it) %{tde_datadir}/apps/koffice/autocorrect/it.xml +%endif + +%if "%( grep -w ja <<< '%{KDE_LANGS}' )" != "" +%files Japanese +%defattr(-,root,root,-) +%lang(ja) %{tde_datadir}/locale/ja/* +%endif + +%if "%( grep -w km <<< '%{KDE_LANGS}' )" != "" +%files Khmer +%defattr(-,root,root,-) +%lang(km) %{tde_datadir}/locale/km/* +%endif + +%if "%( grep -w ko <<< '%{KDE_LANGS}' )" != "" +%files Korean +%defattr(-,root,root,-) +%lang(ko) %{tde_datadir}/locale/ko/* +%endif + +%if "%( grep -w ku <<< '%{KDE_LANGS}' )" != "" +%files Kurdish +%defattr(-,root,root,-) +%lang(ku) %{tde_datadir}/locale/ku/* +%endif + +%if "%( grep -w lao <<< '%{KDE_LANGS}' )" != "" +%files Lao +%defattr(-,root,root,-) +%lang(lo) %{tde_datadir}/locale/lo/* +%endif + +%if "%( grep -w lt <<< '%{KDE_LANGS}' )" != "" +%files Lithuanian +%defattr(-,root,root,-) +%lang(lt) %{tde_datadir}/locale/lt/* +%endif + +%if "%( grep -w lv <<< '%{KDE_LANGS}' )" != "" +%files Latvian +%defattr(-,root,root,-) +%lang(lv) %{tde_datadir}/locale/lv/* +%endif + +%if "%( grep -w mi <<< '%{KDE_LANGS}' )" != "" +%files Maori +%defattr(-,root,root,-) +%lang(mi) %{tde_datadir}/locale/mi/* +%endif + +%if "%( grep -w mk <<< '%{KDE_LANGS}' )" != "" +%files Macedonian +%defattr(-,root,root,-) +%lang(mk) %{tde_datadir}/locale/mk/* +%endif + +%if "%( grep -w ms <<< '%{KDE_LANGS}' )" != "" +%files Malay +%defattr(-,root,root,-) +%lang(ms) %{tde_datadir}/locale/ms/* +%endif + +%if "%( grep -w mt <<< '%{KDE_LANGS}' )" != "" +%files Maltese +%defattr(-,root,root,-) +%lang(mt) %{tde_datadir}/locale/mt/* +%endif + +%if "%( grep -w nds <<< '%{KDE_LANGS}' )" != "" +%files LowSaxon +%defattr(-,root,root,-) +%lang(nds) %{tde_datadir}/locale/nds/* +%endif + +%if "%( grep -w ne <<< '%{KDE_LANGS}' )" != "" +%files Nepali +%defattr(-,root,root,-) +%lang(ne) %{tde_datadir}/locale/ne/* +%endif + +%if "%( grep -w nl <<< '%{KDE_LANGS}' )" != "" +%files Dutch +%defattr(-,root,root,-) +%lang(nl) %{tde_datadir}/locale/nl/* +%lang(nl) %{tde_tdedocdir}/HTML/nl/ +%endif + +%if "%( grep -w nb <<< '%{KDE_LANGS}' )" != "" +%files Norwegian +%defattr(-,root,root,-) +%lang(nb) %{tde_datadir}/locale/nb/* +%endif + +%if "%( grep -w nn <<< '%{KDE_LANGS}' )" != "" +%files Norwegian-Nynorsk +%defattr(-,root,root,-) +%lang(nn) %{tde_datadir}/locale/nn/* +%endif + +%if "%( grep -w oc <<< '%{KDE_LANGS}' )" != "" +%files Occitan +%defattr(-,root,root,-) +%lang(oc) %{tde_datadir}/locale/oc/* +%endif + +%if "%( grep -w pa <<< '%{KDE_LANGS}' )" != "" +%files Punjabi +%defattr(-,root,root,-) +%lang(pa) %{tde_datadir}/locale/pa/* +%endif + +%if "%( grep -w pl <<< '%{KDE_LANGS}' )" != "" +%files Polish +%defattr(-,root,root,-) +%lang(pl) %{tde_datadir}/locale/pl/* +%endif + +%if "%( grep -w pt <<< '%{KDE_LANGS}' )" != "" +%files Portuguese +%defattr(-,root,root,-) +%lang(pt) %{tde_datadir}/locale/pt/* +%lang(pt) %{tde_tdedocdir}/HTML/pt/ +%endif + +%if "%( grep -w pt_BR <<< '%{KDE_LANGS}' )" != "" +%files Brazil +%defattr(-,root,root,-) +%lang(pt_BR) %{tde_datadir}/locale/pt_BR/* +%lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/ +%endif + +%if "%( grep -w ro <<< '%{KDE_LANGS}' )" != "" +%files Romanian +%defattr(-,root,root,-) +%lang(ro) %{tde_datadir}/locale/ro/* +%endif + +%if "%( grep -w ru <<< '%{KDE_LANGS}' )" != "" +%files Russian +%defattr(-,root,root,-) +%lang(ru) %{tde_datadir}/locale/ru/* +%lang(ru) %{tde_tdedocdir}/HTML/ru/ +%endif + +%if "%( grep -w sk <<< '%{KDE_LANGS}' )" != "" +%files Slovak +%defattr(-,root,root,-) +%lang(sk) %{tde_datadir}/locale/sk/* +%lang(sk) %{tde_tdedocdir}/HTML/sk/ +%lang(sk) %{tde_datadir}/apps/koffice/autocorrect/sk.xml +%endif + +%if "%( grep -w sl <<< '%{KDE_LANGS}' )" != "" +%files Slovenian +%defattr(-,root,root,-) +%lang(sl) %{tde_datadir}/locale/sl/* +%lang(sl) %{tde_tdedocdir}/HTML/sl/ +%endif + +%if "%( grep -w sr <<< '%{KDE_LANGS}' )" != "" +%files Serbian +%defattr(-,root,root,-) +%lang(sr) %{tde_datadir}/locale/sr/* +%endif + +%if "%( grep -w sv <<< '%{KDE_LANGS}' )" != "" +%files Swedish +%defattr(-,root,root,-) +%lang(sv) %{tde_datadir}/locale/sv/* +%lang(sv) %{tde_tdedocdir}/HTML/sv/ +%endif + +%if "%( grep -w ta <<< '%{KDE_LANGS}' )" != "" +%files Tamil +%defattr(-,root,root,-) +%lang(ta) %{tde_datadir}/locale/ta/* +%endif + +%if "%( grep -w tg <<< '%{KDE_LANGS}' )" != "" +%files Tajik +%defattr(-,root,root,-) +%lang(tg) %{tde_datadir}/locale/tg/* +%endif + +%if "%( grep -w th <<< '%{KDE_LANGS}' )" != "" +%files Thai +%defattr(-,root,root,-) +%lang(th) %{tde_datadir}/locale/th/* +%endif + +%if "%( grep -w tr <<< '%{KDE_LANGS}' )" != "" +%files Turkish +%defattr(-,root,root,-) +%lang(tr) %{tde_datadir}/locale/tr/* +%endif + +%if "%( grep -w uk <<< '%{KDE_LANGS}' )" != "" +%files Ukrainian +%defattr(-,root,root,-) +%lang(uk) %{tde_datadir}/locale/uk/* +%endif + +%if "%( grep -w ven <<< '%{KDE_LANGS}' )" != "" +%files Venda +%defattr(-,root,root,-) +%lang(ven) %{tde_datadir}/locale/ven/* +%endif + +%if "%( grep -w vi <<< '%{KDE_LANGS}' )" != "" +%files Vietnamese +%defattr(-,root,root,-) +%lang(vi) %{tde_datadir}/locale/vi/* +%endif + +%if "%( grep -w wa <<< '%{KDE_LANGS}' )" != "" +%files Walloon +%defattr(-,root,root,-) +%lang(wa) %{tde_datadir}/locale/wa/* +%endif + +%if "%( grep -w xh <<< '%{KDE_LANGS}' )" != "" +%files Xhosa +%defattr(-,root,root,-) +%lang(xh) %{tde_datadir}/locale/xh/* +%endif + +%if "%( grep -w zh_CN <<< '%{KDE_LANGS}' )" != "" +%files Chinese +%defattr(-,root,root,-) +%lang(zh_CN) %{tde_datadir}/locale/zh_CN/* +%endif + +%if "%( grep -w zh_TW <<< '%{KDE_LANGS}' )" != "" +%files Chinese-Big5 +%defattr(-,root,root,-) +%lang(zh_TW) %{tde_datadir}/locale/zh_TW/* +%endif + +%changelog +* Mon Jun 03 2013 Francois Andriot - 1.6.3-3 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 1.6.3-2 +- Initial build for TDE 3.5.13.1 + +* Sun Jul 01 2012 Francois Andriot - 1.6.3-1 +- Initial build for TDE 3.5.13 + diff --git a/redhat/applications/koffice-i18n/koffice-l10n-3.5.13.spec b/redhat/applications/koffice-i18n/koffice-l10n-3.5.13.spec new file mode 100644 index 000000000..790ce5f71 --- /dev/null +++ b/redhat/applications/koffice-i18n/koffice-l10n-3.5.13.spec @@ -0,0 +1,1090 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_prefix}/share/doc +%endif + +# TDE 3.5.13 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir}/kde +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/trinity + +# Builds all supported languages (not unsupported ones) +%if "%{?KDE_LANGS}" == "" +#define KDE_LANGS bg ca cs da de el en_GB es et fi fr hu it ja km lv ms nb nds ne nl pl pt pt_BR ru sk sl sr sv tr uk zh_CN zh_TW +%define KDE_LANGS fr +%endif + + +Name: trinity-koffice-i18n +Summary: Internationalization support for Trinity +Version: 1.6.3 +Release: 1%{?dist}%{?_variant} + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +# GFDL, with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. +License: GFDL +Group: User Interface/Desktops +BuildArch: noarch + +# Speed build options +%define debug_package %{nil} +%define __spec_install_post %{nil} +AutoReq: no + +Source0: koffice-l10n_1.6.3.orig.tar.gz + +BuildRequires: findutils +BuildRequires: gettext +BuildRequires: trinity-arts-devel +BuildRequires: trinity-kdelibs-devel + +%description +%{summary}. + +%package Bulgarian +Summary: Bulgarian(bg) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-bg = %{version}-%{release} +%description Bulgarian +%{summary}. + +%package Bengali +Summary: Bengali(bn) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-bn = %{version}-%{release} +%description Bengali +%{summary}. + +%package Tibetan +Summary: Tibetan(bo) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-bo = %{version}-%{release} +%description Tibetan +%{summary}. + +%package Breton +Summary: Breton(br) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-br = %{version}-%{release} +%description Breton +%{summary}. + +%package Bosnian +Summary: Bosnian(bs) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-bs = %{version}-%{release} +%description Bosnian +%{summary}. + +%package Catalan +Summary: Catalan(ca) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-ca = %{version}-%{release} +%description Catalan +%{summary}. + +%package Czech +Summary: Czech(cs) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-cs = %{version}-%{release} +%description Czech +%{summary}. + +%package Cymraeg +Summary: Cymraeg language support for KDE3 +Group: User Interface/Desktops +%description Cymraeg +%{summary}. + +%package Welsh +Summary: Welsh(cy) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-cy = %{version}-%{release} +%description Welsh +%{summary}. + +%package Danish +Summary: Danish(da) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-da = %{version}-%{release} +#Requires: kde-filesystem +%description Danish +%{summary}. + +%package German +Summary: German(de) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-de = %{version}-%{release} +#Requires: kde-filesystem +%description German +%{summary}. + +%package Greek +Summary: Greek(el) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-el = %{version}-%{release} +#Requires: kde-filesystem +%description Greek +%{summary}. + +%package British +Summary: British(en_GB) English support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-en_GB = %{version}-%{release} +#Requires: kde-filesystem +%description British +%{summary}. + +%package Esperanto +Summary: Esperanto(eo) support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-eo = %{version}-%{release} +#Requires: kde-filesystem +%description Esperanto +%{summary}. + +%package Spanish +Summary: Spanish(es) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-es = %{version}-%{release} +#Requires: kde-filesystem +%description Spanish +%{summary}. + +%package Estonian +Summary: Estonian(et) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-et = %{version}-%{release} +#Requires: kde-filesystem +%description Estonian +%{summary}. + +%package Basque +Summary: Basque(eu) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-eu = %{version}-%{release} +#Requires: kde-filesystem +%description Basque +%{summary}. + +%package Farsi +Summary: Farsi(fa) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-fa = %{version}-%{release} +#Requires: kde-filesystem +%description Farsi +%{summary}. + +%package Finnish +Summary: Finnish(fi) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-fi = %{version}-%{release} +#Requires: kde-filesystem +%description Finnish +%{summary}. + +%package Faroese +Summary: Faroese(fo) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-fo = %{version}-%{release} +#Requires: kde-filesystem +%description Faroese +%{summary}. + +%package French +Summary: French(fr) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-fr = %{version}-%{release} +%description French +%{summary}. + +%package Frisian +Summary: Frisian(fy) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-fy = %{version}-%{release} +#Requires: kde-filesystem +%description Frisian +%{summary}. + +%package Irish +Summary: Irish(ga) language support for KDE3 +Group: User Interface/Desktops +Obsoletes: kde-i18n-Gaeilge < %{version} +Provides: %{name}-ga = %{version}-%{release} +#Requires: kde-filesystem +%description Irish +%{summary}. + +%package Galician +Summary: Galician(gl) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-gl = %{version}-%{release} +#Requires: kde-filesystem +%description Galician +%{summary}. + +%package Hebrew +Summary: Hebrew(he) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-he = %{version}-%{release} +#Requires: kde-filesystem +%description Hebrew +%{summary}. + +%package Hindi +Summary: Hindi(hi) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-hi = %{version}-%{release} +#Requires: kde-filesystem +%description Hindi +%{summary}. + +%package Croatian +Summary: Croatian(hr) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-hr = %{version}-%{release} +#Requires: kde-filesystem +%description Croatian +%{summary}. + +%package Hungarian +Summary: Hungarian(hu) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-hu = %{version}-%{release} +#Requires: kde-filesystem +%description Hungarian +%{summary}. + +%package Indonesian +Summary: Indonesian(id) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-id = %{version}-%{release} +#Requires: kde-filesystem +%description Indonesian +%{summary}. + +%package Icelandic +Summary: Icelandic(is) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-is = %{version}-%{release} +#Requires: kde-filesystem +%description Icelandic +%{summary}. + +%package Italian +Summary: Italian(it) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-it = %{version}-%{release} +#Requires: kde-filesystem +%description Italian +%{summary}. + +%package Japanese +Summary: Japanese(ja) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-ja = %{version}-%{release} +#Requires: kde-filesystem +%description Japanese +%{summary}. + +%package Korean +Summary: Korean(ko) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-ko = %{version}-%{release} +#Requires: kde-filesystem +%description Korean +%{summary}. + +%package Kurdish +Summary: Kurdish(ku) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-ku = %{version}-%{release} +#Requires: kde-filesystem +%description Kurdish +%{summary}. + +%package Lao +Summary: Lao(lo) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-lo = %{version}-%{release} +#Requires: kde-filesystem +%description Lao +%{summary}. + +%package Lithuanian +Summary: Lithuanian(lt) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-lt = %{version}-%{release} +#Requires: kde-filesystem +%description Lithuanian +%{summary}. + +%package Latvian +Summary: Latvian(lv) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-lv = %{version}-%{release} +#Requires: kde-filesystem +%description Latvian +%{summary}. + +%package Maori +Summary: Maori(mi) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-mi = %{version}-%{release} +#Requires: kde-filesystem +%description Maori +%{summary}. + +%package Macedonian +Summary: Macedonian(mk) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-mk = %{version}-%{release} +#Requires: kde-filesystem +%description Macedonian +%{summary}. + +%package Maltese +Summary: Maltese(mt) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-mt = %{version}-%{release} +#Requires: kde-filesystem +%description Maltese +%{summary}. + +%package Dutch +Summary: Dutch(nl) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-nl = %{version}-%{release} +#Requires: kde-filesystem +%description Dutch +%{summary}. + +%package Norwegian +Summary: Norwegian(no) (Bokmaal) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-no = %{version}-%{release} +#Requires: kde-filesystem +%description Norwegian +%{summary}. + +%package Norwegian-Nynorsk +Summary: Norwegian(nn) (Nynorsk) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-nn = %{version}-%{release} +#Requires: kde-filesystem +%description Norwegian-Nynorsk +%{summary}. + +%package Occitan +Summary: Occitan(oc) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-oc = %{version}-%{release} +#Requires: kde-filesystem +%description Occitan +%{summary}. + +%package Polish +Summary: Polish(pl) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-pl = %{version}-%{release} +#Requires: kde-filesystem +%description Polish +%{summary}. + +%package Portuguese +Summary: Portuguese(pt) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-pt = %{version}-%{release} +#Requires: kde-filesystem +%description Portuguese +%{summary}. + +%package Punjabi +Summary: Punjabi(pa) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-pa = %{version}-%{release} +#Requires: kde-filesystem +%description Punjabi +%{summary}. + +%package Brazil +Summary: Brazil(pt_BR) Portuguese language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-pt_BR = %{version}-%{release} +#Requires: kde-filesystem +%description Brazil +%{summary}. + +%package Romanian +Summary: Romanian(ro) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-ro = %{version}-%{release} +#Requires: kde-filesystem +%description Romanian +%{summary}. + +%package Russian +Summary: Russian(ru) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-ru = %{version}-%{release} +#Requires: kde-filesystem +%description Russian +%{summary}. + +%package Slovak +Summary: Slovak(sk) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-sk = %{version}-%{release} +#Requires: kde-filesystem +%description Slovak +%{summary}. + +%package Slovenian +Summary: Slovenian(sl) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-sl = %{version}-%{release} +#Requires: kde-filesystem +%description Slovenian +%{summary}. + +%package Serbian +Summary: Serbian(sr) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-sr = %{version}-%{release} +#Requires: kde-filesystem +%description Serbian +%{summary}. + +%package Swedish +Summary: Swedish(sv) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-sv = %{version}-%{release} +#Requires: kde-filesystem +%description Swedish +%{summary}. + +%package Tamil +Summary: Tamil(ta) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-ta = %{version}-%{release} +#Requires: kde-filesystem +%description Tamil +%{summary}. + +%package Tajik +Summary: Tajik(tg) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-tg = %{version}-%{release} +#Requires: kde-filesystem +%description Tajik +%{summary}. + +%package Thai +Summary: Thai(th) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-th = %{version}-%{release} +#Requires: kde-filesystem +%description Thai +%{summary}. + +%package Turkish +Summary: Turkish(tr) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-tr = %{version}-%{release} +#Requires: kde-filesystem +%description Turkish +%{summary}. + +%package Ukrainian +Summary: Ukrainian(uk) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-uk = %{version}-%{release} +#Requires: kde-filesystem +%description Ukrainian +%{summary}. + +%package Venda +Summary: Venda(ven) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-ven = %{version}-%{release} +#Requires: kde-filesystem +%description Venda +%{summary}. + +%package Vietnamese +Summary: Vietnamese(vi) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-vi = %{version}-%{release} +#Requires: kde-filesystem +%description Vietnamese +%{summary}. + +%package Walloon +Summary: Walloon(wa) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-wa = %{version}-%{release} +#Requires: kde-filesystem +%description Walloon +%{summary}. + +%package Xhosa +Summary: Xhosa(xh) (a Bantu language) support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-xh = %{version}-%{release} +#Requires: kde-filesystem +%description Xhosa +%{summary}. + +%package Chinese +Summary: Chinese(zh_CN) (Simplified Chinese) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-zh_CN = %{version}-%{release} +#Requires: kde-filesystem +%description Chinese +%{summary}. + +%package Chinese-Big5 +Summary: Chinese(zh_TW) (Big5) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-tz_TW = %{version}-%{release} +#Requires: kde-filesystem +%description Chinese-Big5 +%{summary}. + + + +%prep +%setup -q -n koffice-l10n-%{version} + +for l in %{KDE_LANGS}; do + for f in koffice-l10n-${l}-*.tar.bz2; do + tar xjf "${f}" + done +done + + +%build +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +export kde_htmldir="%{tde_docdir}/HTML" + +for l in %{KDE_LANGS}; do + for f in koffice-l10n-${l}-*/; do + if [ -d "${f}" ] && [ -x "${f}/configure" ] ; then + pushd ${f} + %configure + %__make %{?_smp_mflags} + popd + fi + done +done + +%install +%__rm -rf %{?buildroot} +export PATH="%{_bindir}:${PATH}" + +for l in %{KDE_LANGS}; do + for f in koffice-l10n-${l}-*/; do + if [ -d "${f}" ] && [ -r "${f}/Makefile" ] ; then + %__make install DESTDIR="%{?buildroot}" -C "${f}" + fi + done +done + +# make symlinks relative +%if "%{_prefix}" == "/usr" +pushd "%{buildroot}%{tde_docdir}/HTML" +for lang in *; do + if [ -d "$lang" ]; then + pushd "$lang" + for i in */*/*; do + if [ -d $i -a -L $i/common ]; then + rm -f $i/common + ln -sf ../../../docs/common $i + fi + done + + for i in */*; do + if [ -d $i -a -L $i/common ]; then + rm -f $i/common + ln -sf ../../docs/common $i + fi + done + + for i in *; do + if [ -d $i -a -L $i/common ]; then + rm -f $i/common + ln -sf ../docs/common $i + fi + done + + popd + fi +done +popd +%endif + +# remove zero-length file +find "%{buildroot}%{tde_docdir}/HTML" -size 0 -exec rm -f {} \; + +%clean +%__rm -rf %{buildroot} + +%if "%( grep -w af <<< '%{KDE_LANGS}' )" != "" +%files Afrikaans +%defattr(-,root,root,-) +%lang(af) %{_datadir}/locale/af/* +%lang(af) %{tde_docdir}/HTML/af/ +%endif + +%if "%( grep -w ar <<< '%{KDE_LANGS}' )" != "" +%files Arabic +%defattr(-,root,root,-) +%lang(ar) %{_datadir}/locale/ar/* +%endif + +%if "%( grep -w az <<< '%{KDE_LANGS}' )" != "" +%files Azerbaijani +%defattr(-,root,root,-) +%lang(az) %{_datadir}/locale/az/* +%endif + +%if "%( grep -w be <<< '%{KDE_LANGS}' )" != "" +%files Belarusian +%defattr(-,root,root,-) +%lang(be) %{_datadir}/locale/be/* +%endif + +%if "%( grep -w bg <<< '%{KDE_LANGS}' )" != "" +%files Bulgarian +%defattr(-,root,root,-) +%lang(bg) %{_datadir}/locale/bg/* +%endif + +%if "%( grep -w bn <<< '%{KDE_LANGS}' )" != "" +%files Bengali +%defattr(-,root,root,-) +%lang(bn) %{_datadir}/locale/bn/* +%endif + +%if "%( grep -w bo <<< '%{KDE_LANGS}' )" != "" +%files Tibetan +%defattr(-,root,root,-) +%lang(bo) %{_datadir}/locale/bo/* +%endif + +%if "%( grep -w br <<< '%{KDE_LANGS}' )" != "" +%files Breton +%defattr(-,root,root,-) +%lang(br) %{_datadir}/locale/br/* +%endif + +%if "%( grep -w bs <<< '%{KDE_LANGS}' )" != "" +%files Bosnian +%defattr(-,root,root,-) +%lang(bs) %{_datadir}/locale/bs/* +%endif + +%if "%( grep -w ca <<< '%{KDE_LANGS}' )" != "" +%files Catalan +%defattr(-,root,root,-) +%lang(ca) %{_datadir}/locale/ca/* +%lang(ca) %{tde_docdir}/HTML/ca/ +%endif + +%if "%( grep -w cs <<< '%{KDE_LANGS}' )" != "" +%files Czech +%defattr(-,root,root,-) +%lang(cs) %{_datadir}/locale/cs/* +%lang(cs) %{tde_docdir}/HTML/cs/ +%endif + +%if "%( grep -w cy <<< '%{KDE_LANGS}' )" != "" +%files Welsh +%defattr(-,root,root,-) +%lang(cy) %{_datadir}/locale/cy/* +%endif + +%if "%( grep -w da <<< '%{KDE_LANGS}' )" != "" +%files Danish +%defattr(-,root,root,-) +%lang(da) %{_datadir}/locale/da/* +%lang(da) %{tde_docdir}/HTML/da/ +%endif + +%if "%( grep -w de <<< '%{KDE_LANGS}' )" != "" +%files German +%defattr(-,root,root,-) +%lang(de) %{_datadir}/locale/de/* +%lang(de) %{tde_docdir}/HTML/de/ +%endif + +%if "%( grep -w el <<< '%{KDE_LANGS}' )" != "" +%files Greek +%defattr(-,root,root,-) +%lang(el) %{_datadir}/locale/el/* +%endif + +%if "%( grep -w en_GB <<< '%{KDE_LANGS}' )" != "" +%files British +%defattr(-,root,root,-) +%lang(en_GB) %{_datadir}/locale/en_GB/* +%lang(en_GB) %{tde_docdir}/HTML/en_GB/ +%endif + +%if "%( grep -w eo <<< '%{KDE_LANGS}' )" != "" +%files Esperanto +%defattr(-,root,root,-) +%lang(eo) %{_datadir}/locale/eo/* +%endif + +%if "%( grep -w es <<< '%{KDE_LANGS}' )" != "" +%files Spanish +%defattr(-,root,root,-) +%lang(es) %{_datadir}/locale/es/* +%lang(es) %{tde_docdir}/HTML/es/ +%endif + +%if "%( grep -w et <<< '%{KDE_LANGS}' )" != "" +%files Estonian +%defattr(-,root,root,-) +%lang(et) %{_datadir}/locale/et/* +%lang(et) %{tde_docdir}/HTML/et/ +%endif + +%if "%( grep -w eu <<< '%{KDE_LANGS}' )" != "" +%files Basque +%defattr(-,root,root,-) +%lang(eu) %{_datadir}/locale/eu/* +%endif + +%if "%( grep -w fa <<< '%{KDE_LANGS}' )" != "" +%files Farsi +%defattr(-,root,root,-) +%lang(fa) %{_datadir}/locale/fa/* +%endif + +%if "%( grep -w fi <<< '%{KDE_LANGS}' )" != "" +%files Finnish +%defattr(-,root,root,-) +%lang(fi) %{_datadir}/locale/fi/* +%lang(fi) %{tde_docdir}/HTML/fi/ +%endif + +%if "%( grep -w fo <<< '%{KDE_LANGS}' )" != "" +%files Faroese +%defattr(-,root,root,-) +%lang(fo) %{_datadir}/locale/fo/* +%endif + +%if "%( grep -w fr <<< '%{KDE_LANGS}' )" != "" +%files French +%defattr(-,root,root,-) +%lang(fr) %{_datadir}/locale/fr/* +%lang(fr) %{tde_docdir}/HTML/fr/ +%lang(fr) %{_datadir}/apps/koffice/autocorrect/fr.xml +%endif + +%if "%( grep -w fy <<< '%{KDE_LANGS}' )" != "" +%files Frisian +%defattr(-,root,root,-) +%lang(fy) %{_datadir}/locale/fy/* +%endif + +%if "%( grep -w ga <<< '%{KDE_LANGS}' )" != "" +%files Irish +%defattr(-,root,root,-) +%lang(ga) %{_datadir}/locale/ga/* +%endif + +%if "%( grep -w gl <<< '%{KDE_LANGS}' )" != "" +%files Galician +%defattr(-,root,root,-) +%lang(gl) %{_datadir}/locale/gl/* +%endif + +%if "%( grep -w he <<< '%{KDE_LANGS}' )" != "" +%files Hebrew +%defattr(-,root,root,-) +%lang(he) %{_datadir}/locale/he/* +%lang(he) %{tde_docdir}/HTML/he/ +%endif + +%if "%( grep -w hi <<< '%{KDE_LANGS}' )" != "" +%files Hindi +%defattr(-,root,root,-) +%lang(hi) %{_datadir}/locale/hi/* +%endif + +%if "%( grep -w hr <<< '%{KDE_LANGS}' )" != "" +%files Croatian +%defattr(-,root,root,-) +%lang(hr) %{_datadir}/locale/hr/* +%lang(hr) %{tde_docdir}/HTML/hr/ +%endif + +%if "%( grep -w hu <<< '%{KDE_LANGS}' )" != "" +%files Hungarian +%defattr(-,root,root,-) +%lang(hu) %{_datadir}/locale/hu/* +%lang(hu) %{tde_docdir}/HTML/hu/ +%endif + +%if "%( grep -w id <<< '%{KDE_LANGS}' )" != "" +%files Indonesian +%defattr(-,root,root,-) +%lang(id) %{_datadir}/locale/id/* +%lang(id) %{tde_docdir}/HTML/id/ +%endif + +%if "%( grep -w is <<< '%{KDE_LANGS}' )" != "" +%files Icelandic +%defattr(-,root,root,-) +%lang(is) %{_datadir}/locale/is/* +%endif + +%if "%( grep -w it <<< '%{KDE_LANGS}' )" != "" +%files Italian +%defattr(-,root,root,-) +%lang(it) %{_datadir}/locale/it/* +%lang(it) %{tde_docdir}/HTML/it/ +%endif + +%if "%( grep -w ja <<< '%{KDE_LANGS}' )" != "" +%files Japanese +%defattr(-,root,root,-) +%lang(ja) %{_datadir}/locale/ja/* +%lang(ja) %{tde_docdir}/HTML/ja/ +%endif + +%if "%( grep -w ko <<< '%{KDE_LANGS}' )" != "" +%files Korean +%defattr(-,root,root,-) +%lang(ko) %{_datadir}/locale/ko/* +%lang(ko) %{tde_docdir}/HTML/ko/ +%endif + +%if "%( grep -w ku <<< '%{KDE_LANGS}' )" != "" +%files Kurdish +%defattr(-,root,root,-) +%lang(ku) %{_datadir}/locale/ku/* +%lang(ku) %{tde_docdir}/HTML/ku/ +%endif + +%if "%( grep -w lao <<< '%{KDE_LANGS}' )" != "" +%files Lao +%defattr(-,root,root,-) +%lang(lo) %{_datadir}/locale/lo/* +%lang(lo) %{tde_docdir}/HTML/lo/ +%endif + +%if "%( grep -w lt <<< '%{KDE_LANGS}' )" != "" +%files Lithuanian +%defattr(-,root,root,-) +%lang(lt) %{_datadir}/locale/lt/* +%endif + +%if "%( grep -w lv <<< '%{KDE_LANGS}' )" != "" +%files Latvian +%defattr(-,root,root,-) +%lang(lv) %{_datadir}/locale/lv/* +%endif + +%if "%( grep -w mi <<< '%{KDE_LANGS}' )" != "" +%files Maori +%defattr(-,root,root,-) +%lang(mi) %{_datadir}/locale/mi/* +%endif + +%if "%( grep -w mk <<< '%{KDE_LANGS}' )" != "" +%files Macedonian +%defattr(-,root,root,-) +%lang(mk) %{_datadir}/locale/mk/* +%endif + +%if "%( grep -w mt <<< '%{KDE_LANGS}' )" != "" +%files Maltese +%defattr(-,root,root,-) +%lang(mt) %{_datadir}/locale/mt/* +%endif + +%if "%( grep -w nl <<< '%{KDE_LANGS}' )" != "" +%files Dutch +%defattr(-,root,root,-) +%lang(nl) %{_datadir}/locale/nl/* +%lang(nl) %{tde_docdir}/HTML/nl/ +%endif + +%if "%( grep -w nb <<< '%{KDE_LANGS}' )" != "" +%files Norwegian +%defattr(-,root,root,-) +%lang(nb) %{_datadir}/locale/nb/* +#%lang(nb) %{tde_docdir}/HTML/nb/ +%endif + +%if "%( grep -w nn <<< '%{KDE_LANGS}' )" != "" +%files Norwegian-Nynorsk +%defattr(-,root,root,-) +%lang(nn) %{_datadir}/locale/nn/* +#%lang(nn) %{tde_docdir}/HTML/nn/ +%endif + +%if "%( grep -w oc <<< '%{KDE_LANGS}' )" != "" +%files Occitan +%defattr(-,root,root,-) +%lang(oc) %{_datadir}/locale/oc/* +%endif + +%if "%( grep -w pa <<< '%{KDE_LANGS}' )" != "" +%files Punjabi +%defattr(-,root,root,-) +%lang(pa) %{_datadir}/locale/pa/* +%endif + +%if "%( grep -w pl <<< '%{KDE_LANGS}' )" != "" +%files Polish +%defattr(-,root,root,-) +%lang(pl) %{_datadir}/locale/pl/* +%lang(pl) %{tde_docdir}/HTML/pl/ +%endif + +%if "%( grep -w pt <<< '%{KDE_LANGS}' )" != "" +%files Portuguese +%defattr(-,root,root,-) +%lang(pt) %{_datadir}/locale/pt/* +%lang(pt) %{tde_docdir}/HTML/pt/ +%endif + +%if "%( grep -w pt_BR <<< '%{KDE_LANGS}' )" != "" +%files Brazil +%defattr(-,root,root,-) +%lang(pt_BR) %{_datadir}/locale/pt_BR/* +%lang(pt_BR) %{tde_docdir}/HTML/pt_BR/ +%endif + +%if "%( grep -w ro <<< '%{KDE_LANGS}' )" != "" +%files Romanian +%defattr(-,root,root,-) +%lang(ro) %{_datadir}/locale/ro/* +%lang(ro) %{tde_docdir}/HTML/ro/ +%endif + +%if "%( grep -w ru <<< '%{KDE_LANGS}' )" != "" +%files Russian +%defattr(-,root,root,-) +%lang(ru) %{_datadir}/locale/ru/* +%lang(ru) %{tde_docdir}/HTML/ru/ +%endif + +%if "%( grep -w sk <<< '%{KDE_LANGS}' )" != "" +%files Slovak +%defattr(-,root,root,-) +%lang(sk) %{_datadir}/locale/sk/* +%lang(sk) %{tde_docdir}/HTML/sk/ +%endif + +%if "%( grep -w sl <<< '%{KDE_LANGS}' )" != "" +%files Slovenian +%defattr(-,root,root,-) +%lang(sl) %{_datadir}/locale/sl/* +%lang(sl) %{tde_docdir}/HTML/sl/ +%endif + +%if "%( grep -w sr <<< '%{KDE_LANGS}' )" != "" +%files Serbian +%defattr(-,root,root,-) +%lang(sr) %{_datadir}/locale/sr/* +%lang(sr) %{tde_docdir}/HTML/sr/ +%endif + +%if "%( grep -w sv <<< '%{KDE_LANGS}' )" != "" +%files Swedish +%defattr(-,root,root,-) +%lang(sv) %{_datadir}/locale/sv/* +%lang(sv) %{tde_docdir}/HTML/sv/ +%endif + +%if "%( grep -w ta <<< '%{KDE_LANGS}' )" != "" +%files Tamil +%defattr(-,root,root,-) +%lang(ta) %{_datadir}/locale/ta/* +%endif + +%if "%( grep -w tg <<< '%{KDE_LANGS}' )" != "" +%files Tajik +%defattr(-,root,root,-) +%lang(tg) %{_datadir}/locale/tg/* +%endif + +%if "%( grep -w th <<< '%{KDE_LANGS}' )" != "" +%files Thai +%defattr(-,root,root,-) +%lang(th) %{_datadir}/locale/th/* +%endif + +%if "%( grep -w tr <<< '%{KDE_LANGS}' )" != "" +%files Turkish +%defattr(-,root,root,-) +%lang(tr) %{_datadir}/locale/tr/* +%lang(tr) %{tde_docdir}/HTML/tr/ +%endif + +%if "%( grep -w uk <<< '%{KDE_LANGS}' )" != "" +%files Ukrainian +%defattr(-,root,root,-) +%lang(uk) %{tde_docdir}/HTML/uk/ +%lang(uk) %{_datadir}/locale/uk/* +%endif + +%if "%( grep -w ven <<< '%{KDE_LANGS}' )" != "" +%files Venda +%defattr(-,root,root,-) +%lang(ven) %{_datadir}/locale/ven/* +%endif + +%if "%( grep -w vi <<< '%{KDE_LANGS}' )" != "" +%files Vietnamese +%defattr(-,root,root,-) +%lang(vi) %{_datadir}/locale/vi/* +%endif + +%if "%( grep -w wa <<< '%{KDE_LANGS}' )" != "" +%files Walloon +%defattr(-,root,root,-) +%lang(wa) %{_datadir}/locale/wa/* +%endif + +%if "%( grep -w xh <<< '%{KDE_LANGS}' )" != "" +%files Xhosa +%defattr(-,root,root,-) +%lang(xh) %{_datadir}/locale/xh/* +%lang(xh) %{tde_docdir}/HTML/xh/ +%endif + +%if "%( grep -w zh_CN <<< '%{KDE_LANGS}' )" != "" +%files Chinese +%defattr(-,root,root,-) +%lang(zh_CN) %{_datadir}/locale/zh_CN/* +%lang(zh_CN) %{tde_docdir}/HTML/zh_CN/ +%endif + +%if "%( grep -w zh_TW <<< '%{KDE_LANGS}' )" != "" +%files Chinese-Big5 +%defattr(-,root,root,-) +%lang(zh_TW) %{_datadir}/locale/zh_TW/* +%lang(zh_TW) %{tde_docdir}/HTML/zh_TW/ +%endif + +%changelog +* Sun Jul 01 2012 Francois Andriot - 1.6.3-1 +- Initial build for TDE 3.5.13 + diff --git a/redhat/applications/koffice-i18n/trinity-koffice-i18n-3.5.13.1.spec b/redhat/applications/koffice-i18n/trinity-koffice-i18n-3.5.13.1.spec deleted file mode 100644 index 2bf81b861..000000000 --- a/redhat/applications/koffice-i18n/trinity-koffice-i18n-3.5.13.1.spec +++ /dev/null @@ -1,1086 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -# Builds all supported languages (not unsupported ones) -%if "%{?KDE_LANGS}" == "" -%define KDE_LANGS bg ca cs da de el en_GB es et fi fr hu it ja km lv ms nb nds ne nl pl pt pt_BR ru sk sl sr sv tr uk zh_CN zh_TW -%endif - - -Name: trinity-koffice-i18n -Summary: Internationalization support for Trinity -Version: 1.6.3 -Release: 2%{?dist}%{?_variant} - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -# GFDL, with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. -License: GFDL -Group: User Interface/Desktops -BuildArch: noarch - -# Speed build options -%define debug_package %{nil} -%define __spec_install_post %{nil} -AutoReq: no - -Source0: koffice-i18n-3.5.13.1.tar.gz - -BuildRequires: findutils -BuildRequires: gettext -BuildRequires: autoconf automake libtool m4 -BuildRequires: trinity-arts-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 - -%description -%{summary}. - -%package Bulgarian -Summary: Bulgarian(bg) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-bg = %{version}-%{release} -%description Bulgarian -%{summary}. - -%package Bengali -Summary: Bengali(bn) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-bn = %{version}-%{release} -%description Bengali -%{summary}. - -%package Tibetan -Summary: Tibetan(bo) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-bo = %{version}-%{release} -%description Tibetan -%{summary}. - -%package Breton -Summary: Breton(br) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-br = %{version}-%{release} -%description Breton -%{summary}. - -%package Bosnian -Summary: Bosnian(bs) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-bs = %{version}-%{release} -%description Bosnian -%{summary}. - -%package Catalan -Summary: Catalan(ca) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ca = %{version}-%{release} -%description Catalan -%{summary}. - -%package Czech -Summary: Czech(cs) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-cs = %{version}-%{release} -%description Czech -%{summary}. - -%package Cymraeg -Summary: Cymraeg language support for TDE -Group: User Interface/Desktops -%description Cymraeg -%{summary}. - -%package Welsh -Summary: Welsh(cy) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-cy = %{version}-%{release} -%description Welsh -%{summary}. - -%package Danish -Summary: Danish(da) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-da = %{version}-%{release} -%description Danish -%{summary}. - -%package German -Summary: German(de) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-de = %{version}-%{release} -%description German -%{summary}. - -%package Greek -Summary: Greek(el) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-el = %{version}-%{release} -%description Greek -%{summary}. - -%package British -Summary: British(en_GB) English support for TDE -Group: User Interface/Desktops -Provides: %{name}-en_GB = %{version}-%{release} -%description British -%{summary}. - -%package Esperanto -Summary: Esperanto(eo) support for TDE -Group: User Interface/Desktops -Provides: %{name}-eo = %{version}-%{release} -%description Esperanto -%{summary}. - -%package Spanish -Summary: Spanish(es) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-es = %{version}-%{release} -%description Spanish -%{summary}. - -%package Estonian -Summary: Estonian(et) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-et = %{version}-%{release} -%description Estonian -%{summary}. - -%package Basque -Summary: Basque(eu) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-eu = %{version}-%{release} -%description Basque -%{summary}. - -%package Finnish -Summary: Finnish(fi) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-fi = %{version}-%{release} -%description Finnish -%{summary}. - -%package Faroese -Summary: Faroese(fo) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-fo = %{version}-%{release} -%description Faroese -%{summary}. - -%package French -Summary: French(fr) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-fr = %{version}-%{release} -%description French -%{summary}. - -%package Frisian -Summary: Frisian(fy) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-fy = %{version}-%{release} -%description Frisian -%{summary}. - -%package Irish -Summary: Irish(ga) language support for TDE -Group: User Interface/Desktops -Obsoletes: kde-i18n-Gaeilge < %{version} -Provides: %{name}-ga = %{version}-%{release} -%description Irish -%{summary}. - -%package Galician -Summary: Galician(gl) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-gl = %{version}-%{release} -%description Galician -%{summary}. - -%package Hebrew -Summary: Hebrew(he) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-he = %{version}-%{release} -%description Hebrew -%{summary}. - -%package Hindi -Summary: Hindi(hi) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-hi = %{version}-%{release} -%description Hindi -%{summary}. - -%package Croatian -Summary: Croatian(hr) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-hr = %{version}-%{release} -%description Croatian -%{summary}. - -%package Hungarian -Summary: Hungarian(hu) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-hu = %{version}-%{release} -%description Hungarian -%{summary}. - -%package Indonesian -Summary: Indonesian(id) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-id = %{version}-%{release} -%description Indonesian -%{summary}. - -%package Icelandic -Summary: Icelandic(is) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-is = %{version}-%{release} -%description Icelandic -%{summary}. - -%package Italian -Summary: Italian(it) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-it = %{version}-%{release} -%description Italian -%{summary}. - -%package Japanese -Summary: Japanese(ja) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ja = %{version}-%{release} -%description Japanese -%{summary}. - -%package Khmer -Summary: Khmer(km) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-km = %{version}-%{release} -%description Khmer -%{summary}. - -%package Korean -Summary: Korean(ko) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ko = %{version}-%{release} -%description Korean -%{summary}. - -%package Kurdish -Summary: Kurdish(ku) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ku = %{version}-%{release} -%description Kurdish -%{summary}. - -%package Lao -Summary: Lao(lo) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-lo = %{version}-%{release} -%description Lao -%{summary}. - -%package Lithuanian -Summary: Lithuanian(lt) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-lt = %{version}-%{release} -%description Lithuanian -%{summary}. - -%package Latvian -Summary: Latvian(lv) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-lv = %{version}-%{release} -%description Latvian -%{summary}. - -%package Maori -Summary: Maori(mi) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-mi = %{version}-%{release} -%description Maori -%{summary}. - -%package Macedonian -Summary: Macedonian(mk) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-mk = %{version}-%{release} -%description Macedonian -%{summary}. - -%package Malay -Summary: Malay(ms) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ms = %{version}-%{release} -%description Malay -%{summary}. - -%package Maltese -Summary: Maltese(mt) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-mt = %{version}-%{release} -%description Maltese -%{summary}. - -%package LowSaxon -Summary: Low Saxon (nds) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-nds = %{version}-%{release} -%description LowSaxon -%{summary}. - -%package Nepali -Summary: Nepali(ne) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ne = %{version}-%{release} -%description Nepali -%{summary}. - -%package Dutch -Summary: Dutch(nl) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-nl = %{version}-%{release} -%description Dutch -%{summary}. - -%package Norwegian -Summary: Norwegian(no) (Bokmaal) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-no = %{version}-%{release} -%description Norwegian -%{summary}. - -%package Norwegian-Nynorsk -Summary: Norwegian(nn) (Nynorsk) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-nn = %{version}-%{release} -%description Norwegian-Nynorsk -%{summary}. - -%package Occitan -Summary: Occitan(oc) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-oc = %{version}-%{release} -%description Occitan -%{summary}. - -%package Polish -Summary: Polish(pl) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-pl = %{version}-%{release} -%description Polish -%{summary}. - -%package Portuguese -Summary: Portuguese(pt) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-pt = %{version}-%{release} -%description Portuguese -%{summary}. - -%package Punjabi -Summary: Punjabi(pa) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-pa = %{version}-%{release} -%description Punjabi -%{summary}. - -%package Brazil -Summary: Brazil(pt_BR) Portuguese language support for TDE -Group: User Interface/Desktops -Provides: %{name}-pt_BR = %{version}-%{release} -%description Brazil -%{summary}. - -%package Romanian -Summary: Romanian(ro) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ro = %{version}-%{release} -%description Romanian -%{summary}. - -%package Russian -Summary: Russian(ru) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ru = %{version}-%{release} -%description Russian -%{summary}. - -%package Slovak -Summary: Slovak(sk) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-sk = %{version}-%{release} -%description Slovak -%{summary}. - -%package Slovenian -Summary: Slovenian(sl) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-sl = %{version}-%{release} -%description Slovenian -%{summary}. - -%package Serbian -Summary: Serbian(sr) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-sr = %{version}-%{release} -%description Serbian -%{summary}. - -%package Swedish -Summary: Swedish(sv) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-sv = %{version}-%{release} -%description Swedish -%{summary}. - -%package Tamil -Summary: Tamil(ta) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ta = %{version}-%{release} -%description Tamil -%{summary}. - -%package Tajik -Summary: Tajik(tg) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-tg = %{version}-%{release} -%description Tajik -%{summary}. - -%package Thai -Summary: Thai(th) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-th = %{version}-%{release} -%description Thai -%{summary}. - -%package Turkish -Summary: Turkish(tr) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-tr = %{version}-%{release} -%description Turkish -%{summary}. - -%package Ukrainian -Summary: Ukrainian(uk) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-uk = %{version}-%{release} -%description Ukrainian -%{summary}. - -%package Venda -Summary: Venda(ven) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ven = %{version}-%{release} -%description Venda -%{summary}. - -%package Vietnamese -Summary: Vietnamese(vi) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-vi = %{version}-%{release} -%description Vietnamese -%{summary}. - -%package Walloon -Summary: Walloon(wa) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-wa = %{version}-%{release} -%description Walloon -%{summary}. - -%package Xhosa -Summary: Xhosa(xh) (a Bantu language) support for TDE -Group: User Interface/Desktops -Provides: %{name}-xh = %{version}-%{release} -%description Xhosa -%{summary}. - -%package Chinese -Summary: Chinese(zh_CN) (Simplified Chinese) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-zh_CN = %{version}-%{release} -%description Chinese -%{summary}. - -%package Chinese-Big5 -Summary: Chinese(zh_TW) (Big5) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-tz_TW = %{version}-%{release} -%description Chinese-Big5 -%{summary}. - - - -%prep -%setup -q -n koffice-i18n-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" - - -%build -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -export kde_htmldir="%{tde_tdedocdir}/HTML" - -for l in %{KDE_LANGS}; do - for f in koffice-i18n-${l}/; do - if [ -d "${f}" ]; then - pushd ${f} - autoreconf -fiv - %__make -f ../admin/Makefile.common - %configure \ - --prefix=%{tde_prefix} \ - --datadir=%{tde_datadir} \ - --docdir=%{tde_tdedocdir} - %__make %{?_smp_mflags} - popd - fi - done -done - -%install -%__rm -rf %{?buildroot} -export PATH="%{tde_bindir}:${PATH}" - -for l in %{KDE_LANGS}; do - for f in koffice-i18n-${l}/; do - if [ -d "${f}" ] && [ -r "${f}/Makefile" ] ; then - %__make install DESTDIR="%{?buildroot}" -C "${f}" - fi - done -done - -# make symlinks relative -%if "%{tde_prefix}" == "/usr" -pushd "%{buildroot}%{tde_tdedocdir}/HTML" -for lang in *; do - if [ -d "$lang" ]; then - pushd "$lang" - for i in */*/*; do - if [ -d $i -a -L $i/common ]; then - rm -f $i/common - ln -sf ../../../docs/common $i - fi - done - - for i in */*; do - if [ -d $i -a -L $i/common ]; then - rm -f $i/common - ln -sf ../../docs/common $i - fi - done - - for i in *; do - if [ -d $i -a -L $i/common ]; then - rm -f $i/common - ln -sf ../docs/common $i - fi - done - - popd - fi -done -popd -%endif - -# remove zero-length file -find "%{buildroot}%{tde_tdedocdir}/HTML" -size 0 -exec rm -f {} \; - -%clean -%__rm -rf %{buildroot} - -%if "%( grep -w af <<< '%{KDE_LANGS}' )" != "" -%files Afrikaans -%defattr(-,root,root,-) -%lang(af) %{tde_datadir}/locale/af/* -%endif - -%if "%( grep -w ar <<< '%{KDE_LANGS}' )" != "" -%files Arabic -%defattr(-,root,root,-) -%lang(ar) %{tde_datadir}/locale/ar/* -%endif - -%if "%( grep -w az <<< '%{KDE_LANGS}' )" != "" -%files Azerbaijani -%defattr(-,root,root,-) -%lang(az) %{tde_datadir}/locale/az/* -%endif - -%if "%( grep -w be <<< '%{KDE_LANGS}' )" != "" -%files Belarusian -%defattr(-,root,root,-) -%lang(be) %{tde_datadir}/locale/be/* -%endif - -%if "%( grep -w bg <<< '%{KDE_LANGS}' )" != "" -%files Bulgarian -%defattr(-,root,root,-) -%lang(bg) %{tde_datadir}/locale/bg/* -%endif - -%if "%( grep -w bn <<< '%{KDE_LANGS}' )" != "" -%files Bengali -%defattr(-,root,root,-) -%lang(bn) %{tde_datadir}/locale/bn/* -%endif - -%if "%( grep -w bo <<< '%{KDE_LANGS}' )" != "" -%files Tibetan -%defattr(-,root,root,-) -%lang(bo) %{tde_datadir}/locale/bo/* -%endif - -%if "%( grep -w br <<< '%{KDE_LANGS}' )" != "" -%files Breton -%defattr(-,root,root,-) -%lang(br) %{tde_datadir}/locale/br/* -%endif - -%if "%( grep -w bs <<< '%{KDE_LANGS}' )" != "" -%files Bosnian -%defattr(-,root,root,-) -%lang(bs) %{tde_datadir}/locale/bs/* -%endif - -%if "%( grep -w ca <<< '%{KDE_LANGS}' )" != "" -%files Catalan -%defattr(-,root,root,-) -%lang(ca) %{tde_datadir}/locale/ca/* -%lang(ca) %{tde_tdedocdir}/HTML/ca/ -%lang(ca) %{tde_datadir}/apps/koffice/autocorrect/ca.xml -%endif - -%if "%( grep -w cs <<< '%{KDE_LANGS}' )" != "" -%files Czech -%defattr(-,root,root,-) -%lang(cs) %{tde_datadir}/locale/cs/* -%lang(cs) %{tde_datadir}/apps/koffice/autocorrect/cs.xml -%endif - -%if "%( grep -w cy <<< '%{KDE_LANGS}' )" != "" -%files Welsh -%defattr(-,root,root,-) -%lang(cy) %{tde_datadir}/locale/cy/* -%endif - -%if "%( grep -w da <<< '%{KDE_LANGS}' )" != "" -%files Danish -%defattr(-,root,root,-) -%lang(da) %{tde_datadir}/locale/da/* -%lang(da) %{tde_tdedocdir}/HTML/da/ -%endif - -%if "%( grep -w de <<< '%{KDE_LANGS}' )" != "" -%files German -%defattr(-,root,root,-) -%lang(de) %{tde_datadir}/locale/de/* -%lang(de) %{tde_tdedocdir}/HTML/de/ -%lang(de) %{tde_datadir}/apps/koffice/autocorrect/de.xml -%endif - -%if "%( grep -w el <<< '%{KDE_LANGS}' )" != "" -%files Greek -%defattr(-,root,root,-) -%lang(el) %{tde_datadir}/locale/el/* -%endif - -%if "%( grep -w en_GB <<< '%{KDE_LANGS}' )" != "" -%files British -%defattr(-,root,root,-) -%lang(en_GB) %{tde_datadir}/locale/en_GB/* -%lang(en_GB) %{tde_tdedocdir}/HTML/en_GB/ -%endif - -%if "%( grep -w eo <<< '%{KDE_LANGS}' )" != "" -%files Esperanto -%defattr(-,root,root,-) -%lang(eo) %{tde_datadir}/locale/eo/* -%endif - -%if "%( grep -w es <<< '%{KDE_LANGS}' )" != "" -%files Spanish -%defattr(-,root,root,-) -%lang(es) %{tde_datadir}/locale/es/* -%lang(es) %{tde_tdedocdir}/HTML/es/ -%lang(es) %{tde_datadir}/apps/koffice/autocorrect/es.xml -%endif - -%if "%( grep -w et <<< '%{KDE_LANGS}' )" != "" -%files Estonian -%defattr(-,root,root,-) -%lang(et) %{tde_datadir}/locale/et/* -%lang(et) %{tde_tdedocdir}/HTML/et/ -%endif - -%if "%( grep -w eu <<< '%{KDE_LANGS}' )" != "" -%files Basque -%defattr(-,root,root,-) -%lang(eu) %{tde_datadir}/locale/eu/* -%endif - -%if "%( grep -w fa <<< '%{KDE_LANGS}' )" != "" -%files Farsi -%defattr(-,root,root,-) -%lang(fa) %{tde_datadir}/locale/fa/* -%endif - -%if "%( grep -w fi <<< '%{KDE_LANGS}' )" != "" -%files Finnish -%defattr(-,root,root,-) -%lang(fi) %{tde_datadir}/locale/fi/* -%endif - -%if "%( grep -w fo <<< '%{KDE_LANGS}' )" != "" -%files Faroese -%defattr(-,root,root,-) -%lang(fo) %{tde_datadir}/locale/fo/* -%endif - -%if "%( grep -w fr <<< '%{KDE_LANGS}' )" != "" -%files French -%defattr(-,root,root,-) -%lang(fr) %{tde_datadir}/locale/fr/* -%lang(fr) %{tde_tdedocdir}/HTML/fr/ -%lang(fr) %{tde_datadir}/apps/koffice/autocorrect/fr.xml -%endif - -%if "%( grep -w fy <<< '%{KDE_LANGS}' )" != "" -%files Frisian -%defattr(-,root,root,-) -%lang(fy) %{tde_datadir}/locale/fy/* -%endif - -%if "%( grep -w ga <<< '%{KDE_LANGS}' )" != "" -%files Irish -%defattr(-,root,root,-) -%lang(ga) %{tde_datadir}/locale/ga/* -%endif - -%if "%( grep -w gl <<< '%{KDE_LANGS}' )" != "" -%files Galician -%defattr(-,root,root,-) -%lang(gl) %{tde_datadir}/locale/gl/* -%endif - -%if "%( grep -w he <<< '%{KDE_LANGS}' )" != "" -%files Hebrew -%defattr(-,root,root,-) -%lang(he) %{tde_datadir}/locale/he/* -%endif - -%if "%( grep -w hi <<< '%{KDE_LANGS}' )" != "" -%files Hindi -%defattr(-,root,root,-) -%lang(hi) %{tde_datadir}/locale/hi/* -%endif - -%if "%( grep -w hr <<< '%{KDE_LANGS}' )" != "" -%files Croatian -%defattr(-,root,root,-) -%lang(hr) %{tde_datadir}/locale/hr/* -%endif - -%if "%( grep -w hu <<< '%{KDE_LANGS}' )" != "" -%files Hungarian -%defattr(-,root,root,-) -%lang(hu) %{tde_datadir}/locale/hu/* -%lang(hu) %{tde_datadir}/apps/koffice/autocorrect/hu.xml -%endif - -%if "%( grep -w id <<< '%{KDE_LANGS}' )" != "" -%files Indonesian -%defattr(-,root,root,-) -%lang(id) %{tde_datadir}/locale/id/* -%endif - -%if "%( grep -w is <<< '%{KDE_LANGS}' )" != "" -%files Icelandic -%defattr(-,root,root,-) -%lang(is) %{tde_datadir}/locale/is/* -%endif - -%if "%( grep -w it <<< '%{KDE_LANGS}' )" != "" -%files Italian -%defattr(-,root,root,-) -%lang(it) %{tde_datadir}/locale/it/* -%lang(it) %{tde_tdedocdir}/HTML/it/ -%lang(it) %{tde_datadir}/apps/koffice/autocorrect/it.xml -%endif - -%if "%( grep -w ja <<< '%{KDE_LANGS}' )" != "" -%files Japanese -%defattr(-,root,root,-) -%lang(ja) %{tde_datadir}/locale/ja/* -%endif - -%if "%( grep -w km <<< '%{KDE_LANGS}' )" != "" -%files Khmer -%defattr(-,root,root,-) -%lang(km) %{tde_datadir}/locale/km/* -%endif - -%if "%( grep -w ko <<< '%{KDE_LANGS}' )" != "" -%files Korean -%defattr(-,root,root,-) -%lang(ko) %{tde_datadir}/locale/ko/* -%endif - -%if "%( grep -w ku <<< '%{KDE_LANGS}' )" != "" -%files Kurdish -%defattr(-,root,root,-) -%lang(ku) %{tde_datadir}/locale/ku/* -%endif - -%if "%( grep -w lao <<< '%{KDE_LANGS}' )" != "" -%files Lao -%defattr(-,root,root,-) -%lang(lo) %{tde_datadir}/locale/lo/* -%endif - -%if "%( grep -w lt <<< '%{KDE_LANGS}' )" != "" -%files Lithuanian -%defattr(-,root,root,-) -%lang(lt) %{tde_datadir}/locale/lt/* -%endif - -%if "%( grep -w lv <<< '%{KDE_LANGS}' )" != "" -%files Latvian -%defattr(-,root,root,-) -%lang(lv) %{tde_datadir}/locale/lv/* -%endif - -%if "%( grep -w mi <<< '%{KDE_LANGS}' )" != "" -%files Maori -%defattr(-,root,root,-) -%lang(mi) %{tde_datadir}/locale/mi/* -%endif - -%if "%( grep -w mk <<< '%{KDE_LANGS}' )" != "" -%files Macedonian -%defattr(-,root,root,-) -%lang(mk) %{tde_datadir}/locale/mk/* -%endif - -%if "%( grep -w ms <<< '%{KDE_LANGS}' )" != "" -%files Malay -%defattr(-,root,root,-) -%lang(ms) %{tde_datadir}/locale/ms/* -%endif - -%if "%( grep -w mt <<< '%{KDE_LANGS}' )" != "" -%files Maltese -%defattr(-,root,root,-) -%lang(mt) %{tde_datadir}/locale/mt/* -%endif - -%if "%( grep -w nds <<< '%{KDE_LANGS}' )" != "" -%files LowSaxon -%defattr(-,root,root,-) -%lang(nds) %{tde_datadir}/locale/nds/* -%endif - -%if "%( grep -w ne <<< '%{KDE_LANGS}' )" != "" -%files Nepali -%defattr(-,root,root,-) -%lang(ne) %{tde_datadir}/locale/ne/* -%endif - -%if "%( grep -w nl <<< '%{KDE_LANGS}' )" != "" -%files Dutch -%defattr(-,root,root,-) -%lang(nl) %{tde_datadir}/locale/nl/* -%lang(nl) %{tde_tdedocdir}/HTML/nl/ -%endif - -%if "%( grep -w nb <<< '%{KDE_LANGS}' )" != "" -%files Norwegian -%defattr(-,root,root,-) -%lang(nb) %{tde_datadir}/locale/nb/* -%endif - -%if "%( grep -w nn <<< '%{KDE_LANGS}' )" != "" -%files Norwegian-Nynorsk -%defattr(-,root,root,-) -%lang(nn) %{tde_datadir}/locale/nn/* -%endif - -%if "%( grep -w oc <<< '%{KDE_LANGS}' )" != "" -%files Occitan -%defattr(-,root,root,-) -%lang(oc) %{tde_datadir}/locale/oc/* -%endif - -%if "%( grep -w pa <<< '%{KDE_LANGS}' )" != "" -%files Punjabi -%defattr(-,root,root,-) -%lang(pa) %{tde_datadir}/locale/pa/* -%endif - -%if "%( grep -w pl <<< '%{KDE_LANGS}' )" != "" -%files Polish -%defattr(-,root,root,-) -%lang(pl) %{tde_datadir}/locale/pl/* -%endif - -%if "%( grep -w pt <<< '%{KDE_LANGS}' )" != "" -%files Portuguese -%defattr(-,root,root,-) -%lang(pt) %{tde_datadir}/locale/pt/* -%lang(pt) %{tde_tdedocdir}/HTML/pt/ -%endif - -%if "%( grep -w pt_BR <<< '%{KDE_LANGS}' )" != "" -%files Brazil -%defattr(-,root,root,-) -%lang(pt_BR) %{tde_datadir}/locale/pt_BR/* -%lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/ -%endif - -%if "%( grep -w ro <<< '%{KDE_LANGS}' )" != "" -%files Romanian -%defattr(-,root,root,-) -%lang(ro) %{tde_datadir}/locale/ro/* -%endif - -%if "%( grep -w ru <<< '%{KDE_LANGS}' )" != "" -%files Russian -%defattr(-,root,root,-) -%lang(ru) %{tde_datadir}/locale/ru/* -%lang(ru) %{tde_tdedocdir}/HTML/ru/ -%endif - -%if "%( grep -w sk <<< '%{KDE_LANGS}' )" != "" -%files Slovak -%defattr(-,root,root,-) -%lang(sk) %{tde_datadir}/locale/sk/* -%lang(sk) %{tde_tdedocdir}/HTML/sk/ -%lang(sk) %{tde_datadir}/apps/koffice/autocorrect/sk.xml -%endif - -%if "%( grep -w sl <<< '%{KDE_LANGS}' )" != "" -%files Slovenian -%defattr(-,root,root,-) -%lang(sl) %{tde_datadir}/locale/sl/* -%lang(sl) %{tde_tdedocdir}/HTML/sl/ -%endif - -%if "%( grep -w sr <<< '%{KDE_LANGS}' )" != "" -%files Serbian -%defattr(-,root,root,-) -%lang(sr) %{tde_datadir}/locale/sr/* -%endif - -%if "%( grep -w sv <<< '%{KDE_LANGS}' )" != "" -%files Swedish -%defattr(-,root,root,-) -%lang(sv) %{tde_datadir}/locale/sv/* -%lang(sv) %{tde_tdedocdir}/HTML/sv/ -%endif - -%if "%( grep -w ta <<< '%{KDE_LANGS}' )" != "" -%files Tamil -%defattr(-,root,root,-) -%lang(ta) %{tde_datadir}/locale/ta/* -%endif - -%if "%( grep -w tg <<< '%{KDE_LANGS}' )" != "" -%files Tajik -%defattr(-,root,root,-) -%lang(tg) %{tde_datadir}/locale/tg/* -%endif - -%if "%( grep -w th <<< '%{KDE_LANGS}' )" != "" -%files Thai -%defattr(-,root,root,-) -%lang(th) %{tde_datadir}/locale/th/* -%endif - -%if "%( grep -w tr <<< '%{KDE_LANGS}' )" != "" -%files Turkish -%defattr(-,root,root,-) -%lang(tr) %{tde_datadir}/locale/tr/* -%endif - -%if "%( grep -w uk <<< '%{KDE_LANGS}' )" != "" -%files Ukrainian -%defattr(-,root,root,-) -%lang(uk) %{tde_datadir}/locale/uk/* -%endif - -%if "%( grep -w ven <<< '%{KDE_LANGS}' )" != "" -%files Venda -%defattr(-,root,root,-) -%lang(ven) %{tde_datadir}/locale/ven/* -%endif - -%if "%( grep -w vi <<< '%{KDE_LANGS}' )" != "" -%files Vietnamese -%defattr(-,root,root,-) -%lang(vi) %{tde_datadir}/locale/vi/* -%endif - -%if "%( grep -w wa <<< '%{KDE_LANGS}' )" != "" -%files Walloon -%defattr(-,root,root,-) -%lang(wa) %{tde_datadir}/locale/wa/* -%endif - -%if "%( grep -w xh <<< '%{KDE_LANGS}' )" != "" -%files Xhosa -%defattr(-,root,root,-) -%lang(xh) %{tde_datadir}/locale/xh/* -%endif - -%if "%( grep -w zh_CN <<< '%{KDE_LANGS}' )" != "" -%files Chinese -%defattr(-,root,root,-) -%lang(zh_CN) %{tde_datadir}/locale/zh_CN/* -%endif - -%if "%( grep -w zh_TW <<< '%{KDE_LANGS}' )" != "" -%files Chinese-Big5 -%defattr(-,root,root,-) -%lang(zh_TW) %{tde_datadir}/locale/zh_TW/* -%endif - -%changelog -* Wed Oct 03 2012 Francois Andriot - 1.6.3-2 -- Initial build for TDE 3.5.13.1 - -* Sun Jul 01 2012 Francois Andriot - 1.6.3-1 -- Initial build for TDE 3.5.13 - diff --git a/redhat/applications/koffice-i18n/trinity-koffice-i18n-3.5.13.2.spec b/redhat/applications/koffice-i18n/trinity-koffice-i18n-3.5.13.2.spec deleted file mode 100644 index 273203c45..000000000 --- a/redhat/applications/koffice-i18n/trinity-koffice-i18n-3.5.13.2.spec +++ /dev/null @@ -1,1089 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -# Builds all supported languages (not unsupported ones) -%if "%{?KDE_LANGS}" == "" -%define KDE_LANGS bg ca cs da de el en_GB es et fi fr hu it ja km lv ms nb nds ne nl pl pt pt_BR ru sk sl sr sv tr uk zh_CN zh_TW -%endif - - -Name: trinity-koffice-i18n -Summary: Internationalization support for Trinity -Version: 1.6.3 -Release: 3%{?dist}%{?_variant} - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -# GFDL, with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. -License: GFDL -Group: User Interface/Desktops -BuildArch: noarch - -# Speed build options -%define debug_package %{nil} -%define __spec_install_post %{nil} -AutoReq: no - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: findutils -BuildRequires: gettext -BuildRequires: autoconf automake libtool m4 -BuildRequires: trinity-arts-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 - -%description -%{summary}. - -%package Bulgarian -Summary: Bulgarian(bg) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-bg = %{version}-%{release} -%description Bulgarian -%{summary}. - -%package Bengali -Summary: Bengali(bn) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-bn = %{version}-%{release} -%description Bengali -%{summary}. - -%package Tibetan -Summary: Tibetan(bo) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-bo = %{version}-%{release} -%description Tibetan -%{summary}. - -%package Breton -Summary: Breton(br) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-br = %{version}-%{release} -%description Breton -%{summary}. - -%package Bosnian -Summary: Bosnian(bs) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-bs = %{version}-%{release} -%description Bosnian -%{summary}. - -%package Catalan -Summary: Catalan(ca) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ca = %{version}-%{release} -%description Catalan -%{summary}. - -%package Czech -Summary: Czech(cs) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-cs = %{version}-%{release} -%description Czech -%{summary}. - -%package Cymraeg -Summary: Cymraeg language support for TDE -Group: User Interface/Desktops -%description Cymraeg -%{summary}. - -%package Welsh -Summary: Welsh(cy) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-cy = %{version}-%{release} -%description Welsh -%{summary}. - -%package Danish -Summary: Danish(da) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-da = %{version}-%{release} -%description Danish -%{summary}. - -%package German -Summary: German(de) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-de = %{version}-%{release} -%description German -%{summary}. - -%package Greek -Summary: Greek(el) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-el = %{version}-%{release} -%description Greek -%{summary}. - -%package British -Summary: British(en_GB) English support for TDE -Group: User Interface/Desktops -Provides: %{name}-en_GB = %{version}-%{release} -%description British -%{summary}. - -%package Esperanto -Summary: Esperanto(eo) support for TDE -Group: User Interface/Desktops -Provides: %{name}-eo = %{version}-%{release} -%description Esperanto -%{summary}. - -%package Spanish -Summary: Spanish(es) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-es = %{version}-%{release} -%description Spanish -%{summary}. - -%package Estonian -Summary: Estonian(et) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-et = %{version}-%{release} -%description Estonian -%{summary}. - -%package Basque -Summary: Basque(eu) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-eu = %{version}-%{release} -%description Basque -%{summary}. - -%package Finnish -Summary: Finnish(fi) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-fi = %{version}-%{release} -%description Finnish -%{summary}. - -%package Faroese -Summary: Faroese(fo) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-fo = %{version}-%{release} -%description Faroese -%{summary}. - -%package French -Summary: French(fr) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-fr = %{version}-%{release} -%description French -%{summary}. - -%package Frisian -Summary: Frisian(fy) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-fy = %{version}-%{release} -%description Frisian -%{summary}. - -%package Irish -Summary: Irish(ga) language support for TDE -Group: User Interface/Desktops -Obsoletes: kde-i18n-Gaeilge < %{version} -Provides: %{name}-ga = %{version}-%{release} -%description Irish -%{summary}. - -%package Galician -Summary: Galician(gl) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-gl = %{version}-%{release} -%description Galician -%{summary}. - -%package Hebrew -Summary: Hebrew(he) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-he = %{version}-%{release} -%description Hebrew -%{summary}. - -%package Hindi -Summary: Hindi(hi) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-hi = %{version}-%{release} -%description Hindi -%{summary}. - -%package Croatian -Summary: Croatian(hr) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-hr = %{version}-%{release} -%description Croatian -%{summary}. - -%package Hungarian -Summary: Hungarian(hu) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-hu = %{version}-%{release} -%description Hungarian -%{summary}. - -%package Indonesian -Summary: Indonesian(id) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-id = %{version}-%{release} -%description Indonesian -%{summary}. - -%package Icelandic -Summary: Icelandic(is) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-is = %{version}-%{release} -%description Icelandic -%{summary}. - -%package Italian -Summary: Italian(it) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-it = %{version}-%{release} -%description Italian -%{summary}. - -%package Japanese -Summary: Japanese(ja) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ja = %{version}-%{release} -%description Japanese -%{summary}. - -%package Khmer -Summary: Khmer(km) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-km = %{version}-%{release} -%description Khmer -%{summary}. - -%package Korean -Summary: Korean(ko) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ko = %{version}-%{release} -%description Korean -%{summary}. - -%package Kurdish -Summary: Kurdish(ku) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ku = %{version}-%{release} -%description Kurdish -%{summary}. - -%package Lao -Summary: Lao(lo) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-lo = %{version}-%{release} -%description Lao -%{summary}. - -%package Lithuanian -Summary: Lithuanian(lt) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-lt = %{version}-%{release} -%description Lithuanian -%{summary}. - -%package Latvian -Summary: Latvian(lv) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-lv = %{version}-%{release} -%description Latvian -%{summary}. - -%package Maori -Summary: Maori(mi) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-mi = %{version}-%{release} -%description Maori -%{summary}. - -%package Macedonian -Summary: Macedonian(mk) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-mk = %{version}-%{release} -%description Macedonian -%{summary}. - -%package Malay -Summary: Malay(ms) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ms = %{version}-%{release} -%description Malay -%{summary}. - -%package Maltese -Summary: Maltese(mt) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-mt = %{version}-%{release} -%description Maltese -%{summary}. - -%package LowSaxon -Summary: Low Saxon (nds) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-nds = %{version}-%{release} -%description LowSaxon -%{summary}. - -%package Nepali -Summary: Nepali(ne) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ne = %{version}-%{release} -%description Nepali -%{summary}. - -%package Dutch -Summary: Dutch(nl) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-nl = %{version}-%{release} -%description Dutch -%{summary}. - -%package Norwegian -Summary: Norwegian(no) (Bokmaal) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-no = %{version}-%{release} -%description Norwegian -%{summary}. - -%package Norwegian-Nynorsk -Summary: Norwegian(nn) (Nynorsk) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-nn = %{version}-%{release} -%description Norwegian-Nynorsk -%{summary}. - -%package Occitan -Summary: Occitan(oc) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-oc = %{version}-%{release} -%description Occitan -%{summary}. - -%package Polish -Summary: Polish(pl) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-pl = %{version}-%{release} -%description Polish -%{summary}. - -%package Portuguese -Summary: Portuguese(pt) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-pt = %{version}-%{release} -%description Portuguese -%{summary}. - -%package Punjabi -Summary: Punjabi(pa) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-pa = %{version}-%{release} -%description Punjabi -%{summary}. - -%package Brazil -Summary: Brazil(pt_BR) Portuguese language support for TDE -Group: User Interface/Desktops -Provides: %{name}-pt_BR = %{version}-%{release} -%description Brazil -%{summary}. - -%package Romanian -Summary: Romanian(ro) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ro = %{version}-%{release} -%description Romanian -%{summary}. - -%package Russian -Summary: Russian(ru) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ru = %{version}-%{release} -%description Russian -%{summary}. - -%package Slovak -Summary: Slovak(sk) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-sk = %{version}-%{release} -%description Slovak -%{summary}. - -%package Slovenian -Summary: Slovenian(sl) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-sl = %{version}-%{release} -%description Slovenian -%{summary}. - -%package Serbian -Summary: Serbian(sr) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-sr = %{version}-%{release} -%description Serbian -%{summary}. - -%package Swedish -Summary: Swedish(sv) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-sv = %{version}-%{release} -%description Swedish -%{summary}. - -%package Tamil -Summary: Tamil(ta) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ta = %{version}-%{release} -%description Tamil -%{summary}. - -%package Tajik -Summary: Tajik(tg) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-tg = %{version}-%{release} -%description Tajik -%{summary}. - -%package Thai -Summary: Thai(th) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-th = %{version}-%{release} -%description Thai -%{summary}. - -%package Turkish -Summary: Turkish(tr) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-tr = %{version}-%{release} -%description Turkish -%{summary}. - -%package Ukrainian -Summary: Ukrainian(uk) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-uk = %{version}-%{release} -%description Ukrainian -%{summary}. - -%package Venda -Summary: Venda(ven) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ven = %{version}-%{release} -%description Venda -%{summary}. - -%package Vietnamese -Summary: Vietnamese(vi) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-vi = %{version}-%{release} -%description Vietnamese -%{summary}. - -%package Walloon -Summary: Walloon(wa) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-wa = %{version}-%{release} -%description Walloon -%{summary}. - -%package Xhosa -Summary: Xhosa(xh) (a Bantu language) support for TDE -Group: User Interface/Desktops -Provides: %{name}-xh = %{version}-%{release} -%description Xhosa -%{summary}. - -%package Chinese -Summary: Chinese(zh_CN) (Simplified Chinese) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-zh_CN = %{version}-%{release} -%description Chinese -%{summary}. - -%package Chinese-Big5 -Summary: Chinese(zh_TW) (Big5) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-tz_TW = %{version}-%{release} -%description Chinese-Big5 -%{summary}. - - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" - - -%build -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -export kde_htmldir="%{tde_tdedocdir}/HTML" - -for l in %{KDE_LANGS}; do - for f in koffice-i18n-${l}/; do - if [ -d "${f}" ]; then - pushd ${f} - %__sed -i "configure.in" -e "s|AM_CONFIG_HEADER|AC_CONFIG_HEADER|" - %__make -f "admin/Makefile.common" - %configure \ - --prefix=%{tde_prefix} \ - --datadir=%{tde_datadir} \ - --docdir=%{tde_tdedocdir} - %__make %{?_smp_mflags} - popd - fi - done -done - -%install -%__rm -rf %{?buildroot} -export PATH="%{tde_bindir}:${PATH}" - -for l in %{KDE_LANGS}; do - for f in koffice-i18n-${l}/; do - if [ -d "${f}" ] && [ -r "${f}/Makefile" ] ; then - %__make install DESTDIR="%{?buildroot}" -C "${f}" - fi - done -done - -# make symlinks relative -%if "%{tde_prefix}" == "/usr" -pushd "%{buildroot}%{tde_tdedocdir}/HTML" -for lang in *; do - if [ -d "$lang" ]; then - pushd "$lang" - for i in */*/*; do - if [ -d $i -a -L $i/common ]; then - rm -f $i/common - ln -sf ../../../docs/common $i - fi - done - - for i in */*; do - if [ -d $i -a -L $i/common ]; then - rm -f $i/common - ln -sf ../../docs/common $i - fi - done - - for i in *; do - if [ -d $i -a -L $i/common ]; then - rm -f $i/common - ln -sf ../docs/common $i - fi - done - - popd - fi -done -popd -%endif - -# remove zero-length file -find "%{buildroot}%{tde_tdedocdir}/HTML" -size 0 -exec rm -f {} \; - -%clean -%__rm -rf %{buildroot} - -%if "%( grep -w af <<< '%{KDE_LANGS}' )" != "" -%files Afrikaans -%defattr(-,root,root,-) -%lang(af) %{tde_datadir}/locale/af/* -%endif - -%if "%( grep -w ar <<< '%{KDE_LANGS}' )" != "" -%files Arabic -%defattr(-,root,root,-) -%lang(ar) %{tde_datadir}/locale/ar/* -%endif - -%if "%( grep -w az <<< '%{KDE_LANGS}' )" != "" -%files Azerbaijani -%defattr(-,root,root,-) -%lang(az) %{tde_datadir}/locale/az/* -%endif - -%if "%( grep -w be <<< '%{KDE_LANGS}' )" != "" -%files Belarusian -%defattr(-,root,root,-) -%lang(be) %{tde_datadir}/locale/be/* -%endif - -%if "%( grep -w bg <<< '%{KDE_LANGS}' )" != "" -%files Bulgarian -%defattr(-,root,root,-) -%lang(bg) %{tde_datadir}/locale/bg/* -%endif - -%if "%( grep -w bn <<< '%{KDE_LANGS}' )" != "" -%files Bengali -%defattr(-,root,root,-) -%lang(bn) %{tde_datadir}/locale/bn/* -%endif - -%if "%( grep -w bo <<< '%{KDE_LANGS}' )" != "" -%files Tibetan -%defattr(-,root,root,-) -%lang(bo) %{tde_datadir}/locale/bo/* -%endif - -%if "%( grep -w br <<< '%{KDE_LANGS}' )" != "" -%files Breton -%defattr(-,root,root,-) -%lang(br) %{tde_datadir}/locale/br/* -%endif - -%if "%( grep -w bs <<< '%{KDE_LANGS}' )" != "" -%files Bosnian -%defattr(-,root,root,-) -%lang(bs) %{tde_datadir}/locale/bs/* -%endif - -%if "%( grep -w ca <<< '%{KDE_LANGS}' )" != "" -%files Catalan -%defattr(-,root,root,-) -%lang(ca) %{tde_datadir}/locale/ca/* -%lang(ca) %{tde_tdedocdir}/HTML/ca/ -%lang(ca) %{tde_datadir}/apps/koffice/autocorrect/ca.xml -%endif - -%if "%( grep -w cs <<< '%{KDE_LANGS}' )" != "" -%files Czech -%defattr(-,root,root,-) -%lang(cs) %{tde_datadir}/locale/cs/* -%lang(cs) %{tde_datadir}/apps/koffice/autocorrect/cs.xml -%endif - -%if "%( grep -w cy <<< '%{KDE_LANGS}' )" != "" -%files Welsh -%defattr(-,root,root,-) -%lang(cy) %{tde_datadir}/locale/cy/* -%endif - -%if "%( grep -w da <<< '%{KDE_LANGS}' )" != "" -%files Danish -%defattr(-,root,root,-) -%lang(da) %{tde_datadir}/locale/da/* -%lang(da) %{tde_tdedocdir}/HTML/da/ -%endif - -%if "%( grep -w de <<< '%{KDE_LANGS}' )" != "" -%files German -%defattr(-,root,root,-) -%lang(de) %{tde_datadir}/locale/de/* -%lang(de) %{tde_tdedocdir}/HTML/de/ -%lang(de) %{tde_datadir}/apps/koffice/autocorrect/de.xml -%endif - -%if "%( grep -w el <<< '%{KDE_LANGS}' )" != "" -%files Greek -%defattr(-,root,root,-) -%lang(el) %{tde_datadir}/locale/el/* -%endif - -%if "%( grep -w en_GB <<< '%{KDE_LANGS}' )" != "" -%files British -%defattr(-,root,root,-) -%lang(en_GB) %{tde_datadir}/locale/en_GB/* -%lang(en_GB) %{tde_tdedocdir}/HTML/en_GB/ -%endif - -%if "%( grep -w eo <<< '%{KDE_LANGS}' )" != "" -%files Esperanto -%defattr(-,root,root,-) -%lang(eo) %{tde_datadir}/locale/eo/* -%endif - -%if "%( grep -w es <<< '%{KDE_LANGS}' )" != "" -%files Spanish -%defattr(-,root,root,-) -%lang(es) %{tde_datadir}/locale/es/* -%lang(es) %{tde_tdedocdir}/HTML/es/ -%lang(es) %{tde_datadir}/apps/koffice/autocorrect/es.xml -%endif - -%if "%( grep -w et <<< '%{KDE_LANGS}' )" != "" -%files Estonian -%defattr(-,root,root,-) -%lang(et) %{tde_datadir}/locale/et/* -%lang(et) %{tde_tdedocdir}/HTML/et/ -%endif - -%if "%( grep -w eu <<< '%{KDE_LANGS}' )" != "" -%files Basque -%defattr(-,root,root,-) -%lang(eu) %{tde_datadir}/locale/eu/* -%endif - -%if "%( grep -w fa <<< '%{KDE_LANGS}' )" != "" -%files Farsi -%defattr(-,root,root,-) -%lang(fa) %{tde_datadir}/locale/fa/* -%endif - -%if "%( grep -w fi <<< '%{KDE_LANGS}' )" != "" -%files Finnish -%defattr(-,root,root,-) -%lang(fi) %{tde_datadir}/locale/fi/* -%endif - -%if "%( grep -w fo <<< '%{KDE_LANGS}' )" != "" -%files Faroese -%defattr(-,root,root,-) -%lang(fo) %{tde_datadir}/locale/fo/* -%endif - -%if "%( grep -w fr <<< '%{KDE_LANGS}' )" != "" -%files French -%defattr(-,root,root,-) -%lang(fr) %{tde_datadir}/locale/fr/* -%lang(fr) %{tde_tdedocdir}/HTML/fr/ -%lang(fr) %{tde_datadir}/apps/koffice/autocorrect/fr.xml -%endif - -%if "%( grep -w fy <<< '%{KDE_LANGS}' )" != "" -%files Frisian -%defattr(-,root,root,-) -%lang(fy) %{tde_datadir}/locale/fy/* -%endif - -%if "%( grep -w ga <<< '%{KDE_LANGS}' )" != "" -%files Irish -%defattr(-,root,root,-) -%lang(ga) %{tde_datadir}/locale/ga/* -%endif - -%if "%( grep -w gl <<< '%{KDE_LANGS}' )" != "" -%files Galician -%defattr(-,root,root,-) -%lang(gl) %{tde_datadir}/locale/gl/* -%endif - -%if "%( grep -w he <<< '%{KDE_LANGS}' )" != "" -%files Hebrew -%defattr(-,root,root,-) -%lang(he) %{tde_datadir}/locale/he/* -%endif - -%if "%( grep -w hi <<< '%{KDE_LANGS}' )" != "" -%files Hindi -%defattr(-,root,root,-) -%lang(hi) %{tde_datadir}/locale/hi/* -%endif - -%if "%( grep -w hr <<< '%{KDE_LANGS}' )" != "" -%files Croatian -%defattr(-,root,root,-) -%lang(hr) %{tde_datadir}/locale/hr/* -%endif - -%if "%( grep -w hu <<< '%{KDE_LANGS}' )" != "" -%files Hungarian -%defattr(-,root,root,-) -%lang(hu) %{tde_datadir}/locale/hu/* -%lang(hu) %{tde_datadir}/apps/koffice/autocorrect/hu.xml -%endif - -%if "%( grep -w id <<< '%{KDE_LANGS}' )" != "" -%files Indonesian -%defattr(-,root,root,-) -%lang(id) %{tde_datadir}/locale/id/* -%endif - -%if "%( grep -w is <<< '%{KDE_LANGS}' )" != "" -%files Icelandic -%defattr(-,root,root,-) -%lang(is) %{tde_datadir}/locale/is/* -%endif - -%if "%( grep -w it <<< '%{KDE_LANGS}' )" != "" -%files Italian -%defattr(-,root,root,-) -%lang(it) %{tde_datadir}/locale/it/* -%lang(it) %{tde_tdedocdir}/HTML/it/ -%lang(it) %{tde_datadir}/apps/koffice/autocorrect/it.xml -%endif - -%if "%( grep -w ja <<< '%{KDE_LANGS}' )" != "" -%files Japanese -%defattr(-,root,root,-) -%lang(ja) %{tde_datadir}/locale/ja/* -%endif - -%if "%( grep -w km <<< '%{KDE_LANGS}' )" != "" -%files Khmer -%defattr(-,root,root,-) -%lang(km) %{tde_datadir}/locale/km/* -%endif - -%if "%( grep -w ko <<< '%{KDE_LANGS}' )" != "" -%files Korean -%defattr(-,root,root,-) -%lang(ko) %{tde_datadir}/locale/ko/* -%endif - -%if "%( grep -w ku <<< '%{KDE_LANGS}' )" != "" -%files Kurdish -%defattr(-,root,root,-) -%lang(ku) %{tde_datadir}/locale/ku/* -%endif - -%if "%( grep -w lao <<< '%{KDE_LANGS}' )" != "" -%files Lao -%defattr(-,root,root,-) -%lang(lo) %{tde_datadir}/locale/lo/* -%endif - -%if "%( grep -w lt <<< '%{KDE_LANGS}' )" != "" -%files Lithuanian -%defattr(-,root,root,-) -%lang(lt) %{tde_datadir}/locale/lt/* -%endif - -%if "%( grep -w lv <<< '%{KDE_LANGS}' )" != "" -%files Latvian -%defattr(-,root,root,-) -%lang(lv) %{tde_datadir}/locale/lv/* -%endif - -%if "%( grep -w mi <<< '%{KDE_LANGS}' )" != "" -%files Maori -%defattr(-,root,root,-) -%lang(mi) %{tde_datadir}/locale/mi/* -%endif - -%if "%( grep -w mk <<< '%{KDE_LANGS}' )" != "" -%files Macedonian -%defattr(-,root,root,-) -%lang(mk) %{tde_datadir}/locale/mk/* -%endif - -%if "%( grep -w ms <<< '%{KDE_LANGS}' )" != "" -%files Malay -%defattr(-,root,root,-) -%lang(ms) %{tde_datadir}/locale/ms/* -%endif - -%if "%( grep -w mt <<< '%{KDE_LANGS}' )" != "" -%files Maltese -%defattr(-,root,root,-) -%lang(mt) %{tde_datadir}/locale/mt/* -%endif - -%if "%( grep -w nds <<< '%{KDE_LANGS}' )" != "" -%files LowSaxon -%defattr(-,root,root,-) -%lang(nds) %{tde_datadir}/locale/nds/* -%endif - -%if "%( grep -w ne <<< '%{KDE_LANGS}' )" != "" -%files Nepali -%defattr(-,root,root,-) -%lang(ne) %{tde_datadir}/locale/ne/* -%endif - -%if "%( grep -w nl <<< '%{KDE_LANGS}' )" != "" -%files Dutch -%defattr(-,root,root,-) -%lang(nl) %{tde_datadir}/locale/nl/* -%lang(nl) %{tde_tdedocdir}/HTML/nl/ -%endif - -%if "%( grep -w nb <<< '%{KDE_LANGS}' )" != "" -%files Norwegian -%defattr(-,root,root,-) -%lang(nb) %{tde_datadir}/locale/nb/* -%endif - -%if "%( grep -w nn <<< '%{KDE_LANGS}' )" != "" -%files Norwegian-Nynorsk -%defattr(-,root,root,-) -%lang(nn) %{tde_datadir}/locale/nn/* -%endif - -%if "%( grep -w oc <<< '%{KDE_LANGS}' )" != "" -%files Occitan -%defattr(-,root,root,-) -%lang(oc) %{tde_datadir}/locale/oc/* -%endif - -%if "%( grep -w pa <<< '%{KDE_LANGS}' )" != "" -%files Punjabi -%defattr(-,root,root,-) -%lang(pa) %{tde_datadir}/locale/pa/* -%endif - -%if "%( grep -w pl <<< '%{KDE_LANGS}' )" != "" -%files Polish -%defattr(-,root,root,-) -%lang(pl) %{tde_datadir}/locale/pl/* -%endif - -%if "%( grep -w pt <<< '%{KDE_LANGS}' )" != "" -%files Portuguese -%defattr(-,root,root,-) -%lang(pt) %{tde_datadir}/locale/pt/* -%lang(pt) %{tde_tdedocdir}/HTML/pt/ -%endif - -%if "%( grep -w pt_BR <<< '%{KDE_LANGS}' )" != "" -%files Brazil -%defattr(-,root,root,-) -%lang(pt_BR) %{tde_datadir}/locale/pt_BR/* -%lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/ -%endif - -%if "%( grep -w ro <<< '%{KDE_LANGS}' )" != "" -%files Romanian -%defattr(-,root,root,-) -%lang(ro) %{tde_datadir}/locale/ro/* -%endif - -%if "%( grep -w ru <<< '%{KDE_LANGS}' )" != "" -%files Russian -%defattr(-,root,root,-) -%lang(ru) %{tde_datadir}/locale/ru/* -%lang(ru) %{tde_tdedocdir}/HTML/ru/ -%endif - -%if "%( grep -w sk <<< '%{KDE_LANGS}' )" != "" -%files Slovak -%defattr(-,root,root,-) -%lang(sk) %{tde_datadir}/locale/sk/* -%lang(sk) %{tde_tdedocdir}/HTML/sk/ -%lang(sk) %{tde_datadir}/apps/koffice/autocorrect/sk.xml -%endif - -%if "%( grep -w sl <<< '%{KDE_LANGS}' )" != "" -%files Slovenian -%defattr(-,root,root,-) -%lang(sl) %{tde_datadir}/locale/sl/* -%lang(sl) %{tde_tdedocdir}/HTML/sl/ -%endif - -%if "%( grep -w sr <<< '%{KDE_LANGS}' )" != "" -%files Serbian -%defattr(-,root,root,-) -%lang(sr) %{tde_datadir}/locale/sr/* -%endif - -%if "%( grep -w sv <<< '%{KDE_LANGS}' )" != "" -%files Swedish -%defattr(-,root,root,-) -%lang(sv) %{tde_datadir}/locale/sv/* -%lang(sv) %{tde_tdedocdir}/HTML/sv/ -%endif - -%if "%( grep -w ta <<< '%{KDE_LANGS}' )" != "" -%files Tamil -%defattr(-,root,root,-) -%lang(ta) %{tde_datadir}/locale/ta/* -%endif - -%if "%( grep -w tg <<< '%{KDE_LANGS}' )" != "" -%files Tajik -%defattr(-,root,root,-) -%lang(tg) %{tde_datadir}/locale/tg/* -%endif - -%if "%( grep -w th <<< '%{KDE_LANGS}' )" != "" -%files Thai -%defattr(-,root,root,-) -%lang(th) %{tde_datadir}/locale/th/* -%endif - -%if "%( grep -w tr <<< '%{KDE_LANGS}' )" != "" -%files Turkish -%defattr(-,root,root,-) -%lang(tr) %{tde_datadir}/locale/tr/* -%endif - -%if "%( grep -w uk <<< '%{KDE_LANGS}' )" != "" -%files Ukrainian -%defattr(-,root,root,-) -%lang(uk) %{tde_datadir}/locale/uk/* -%endif - -%if "%( grep -w ven <<< '%{KDE_LANGS}' )" != "" -%files Venda -%defattr(-,root,root,-) -%lang(ven) %{tde_datadir}/locale/ven/* -%endif - -%if "%( grep -w vi <<< '%{KDE_LANGS}' )" != "" -%files Vietnamese -%defattr(-,root,root,-) -%lang(vi) %{tde_datadir}/locale/vi/* -%endif - -%if "%( grep -w wa <<< '%{KDE_LANGS}' )" != "" -%files Walloon -%defattr(-,root,root,-) -%lang(wa) %{tde_datadir}/locale/wa/* -%endif - -%if "%( grep -w xh <<< '%{KDE_LANGS}' )" != "" -%files Xhosa -%defattr(-,root,root,-) -%lang(xh) %{tde_datadir}/locale/xh/* -%endif - -%if "%( grep -w zh_CN <<< '%{KDE_LANGS}' )" != "" -%files Chinese -%defattr(-,root,root,-) -%lang(zh_CN) %{tde_datadir}/locale/zh_CN/* -%endif - -%if "%( grep -w zh_TW <<< '%{KDE_LANGS}' )" != "" -%files Chinese-Big5 -%defattr(-,root,root,-) -%lang(zh_TW) %{tde_datadir}/locale/zh_TW/* -%endif - -%changelog -* Mon Jun 03 2013 Francois Andriot - 1.6.3-3 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 1.6.3-2 -- Initial build for TDE 3.5.13.1 - -* Sun Jul 01 2012 Francois Andriot - 1.6.3-1 -- Initial build for TDE 3.5.13 - diff --git a/redhat/applications/koffice-i18n/trinity-koffice-l10n-3.5.13.spec b/redhat/applications/koffice-i18n/trinity-koffice-l10n-3.5.13.spec deleted file mode 100644 index 790ce5f71..000000000 --- a/redhat/applications/koffice-i18n/trinity-koffice-l10n-3.5.13.spec +++ /dev/null @@ -1,1090 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.13 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir}/kde -%define tde_includedir %{_includedir}/kde -%define tde_libdir %{_libdir}/trinity - -# Builds all supported languages (not unsupported ones) -%if "%{?KDE_LANGS}" == "" -#define KDE_LANGS bg ca cs da de el en_GB es et fi fr hu it ja km lv ms nb nds ne nl pl pt pt_BR ru sk sl sr sv tr uk zh_CN zh_TW -%define KDE_LANGS fr -%endif - - -Name: trinity-koffice-i18n -Summary: Internationalization support for Trinity -Version: 1.6.3 -Release: 1%{?dist}%{?_variant} - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -# GFDL, with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. -License: GFDL -Group: User Interface/Desktops -BuildArch: noarch - -# Speed build options -%define debug_package %{nil} -%define __spec_install_post %{nil} -AutoReq: no - -Source0: koffice-l10n_1.6.3.orig.tar.gz - -BuildRequires: findutils -BuildRequires: gettext -BuildRequires: trinity-arts-devel -BuildRequires: trinity-kdelibs-devel - -%description -%{summary}. - -%package Bulgarian -Summary: Bulgarian(bg) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-bg = %{version}-%{release} -%description Bulgarian -%{summary}. - -%package Bengali -Summary: Bengali(bn) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-bn = %{version}-%{release} -%description Bengali -%{summary}. - -%package Tibetan -Summary: Tibetan(bo) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-bo = %{version}-%{release} -%description Tibetan -%{summary}. - -%package Breton -Summary: Breton(br) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-br = %{version}-%{release} -%description Breton -%{summary}. - -%package Bosnian -Summary: Bosnian(bs) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-bs = %{version}-%{release} -%description Bosnian -%{summary}. - -%package Catalan -Summary: Catalan(ca) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-ca = %{version}-%{release} -%description Catalan -%{summary}. - -%package Czech -Summary: Czech(cs) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-cs = %{version}-%{release} -%description Czech -%{summary}. - -%package Cymraeg -Summary: Cymraeg language support for KDE3 -Group: User Interface/Desktops -%description Cymraeg -%{summary}. - -%package Welsh -Summary: Welsh(cy) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-cy = %{version}-%{release} -%description Welsh -%{summary}. - -%package Danish -Summary: Danish(da) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-da = %{version}-%{release} -#Requires: kde-filesystem -%description Danish -%{summary}. - -%package German -Summary: German(de) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-de = %{version}-%{release} -#Requires: kde-filesystem -%description German -%{summary}. - -%package Greek -Summary: Greek(el) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-el = %{version}-%{release} -#Requires: kde-filesystem -%description Greek -%{summary}. - -%package British -Summary: British(en_GB) English support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-en_GB = %{version}-%{release} -#Requires: kde-filesystem -%description British -%{summary}. - -%package Esperanto -Summary: Esperanto(eo) support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-eo = %{version}-%{release} -#Requires: kde-filesystem -%description Esperanto -%{summary}. - -%package Spanish -Summary: Spanish(es) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-es = %{version}-%{release} -#Requires: kde-filesystem -%description Spanish -%{summary}. - -%package Estonian -Summary: Estonian(et) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-et = %{version}-%{release} -#Requires: kde-filesystem -%description Estonian -%{summary}. - -%package Basque -Summary: Basque(eu) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-eu = %{version}-%{release} -#Requires: kde-filesystem -%description Basque -%{summary}. - -%package Farsi -Summary: Farsi(fa) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-fa = %{version}-%{release} -#Requires: kde-filesystem -%description Farsi -%{summary}. - -%package Finnish -Summary: Finnish(fi) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-fi = %{version}-%{release} -#Requires: kde-filesystem -%description Finnish -%{summary}. - -%package Faroese -Summary: Faroese(fo) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-fo = %{version}-%{release} -#Requires: kde-filesystem -%description Faroese -%{summary}. - -%package French -Summary: French(fr) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-fr = %{version}-%{release} -%description French -%{summary}. - -%package Frisian -Summary: Frisian(fy) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-fy = %{version}-%{release} -#Requires: kde-filesystem -%description Frisian -%{summary}. - -%package Irish -Summary: Irish(ga) language support for KDE3 -Group: User Interface/Desktops -Obsoletes: kde-i18n-Gaeilge < %{version} -Provides: %{name}-ga = %{version}-%{release} -#Requires: kde-filesystem -%description Irish -%{summary}. - -%package Galician -Summary: Galician(gl) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-gl = %{version}-%{release} -#Requires: kde-filesystem -%description Galician -%{summary}. - -%package Hebrew -Summary: Hebrew(he) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-he = %{version}-%{release} -#Requires: kde-filesystem -%description Hebrew -%{summary}. - -%package Hindi -Summary: Hindi(hi) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-hi = %{version}-%{release} -#Requires: kde-filesystem -%description Hindi -%{summary}. - -%package Croatian -Summary: Croatian(hr) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-hr = %{version}-%{release} -#Requires: kde-filesystem -%description Croatian -%{summary}. - -%package Hungarian -Summary: Hungarian(hu) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-hu = %{version}-%{release} -#Requires: kde-filesystem -%description Hungarian -%{summary}. - -%package Indonesian -Summary: Indonesian(id) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-id = %{version}-%{release} -#Requires: kde-filesystem -%description Indonesian -%{summary}. - -%package Icelandic -Summary: Icelandic(is) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-is = %{version}-%{release} -#Requires: kde-filesystem -%description Icelandic -%{summary}. - -%package Italian -Summary: Italian(it) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-it = %{version}-%{release} -#Requires: kde-filesystem -%description Italian -%{summary}. - -%package Japanese -Summary: Japanese(ja) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-ja = %{version}-%{release} -#Requires: kde-filesystem -%description Japanese -%{summary}. - -%package Korean -Summary: Korean(ko) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-ko = %{version}-%{release} -#Requires: kde-filesystem -%description Korean -%{summary}. - -%package Kurdish -Summary: Kurdish(ku) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-ku = %{version}-%{release} -#Requires: kde-filesystem -%description Kurdish -%{summary}. - -%package Lao -Summary: Lao(lo) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-lo = %{version}-%{release} -#Requires: kde-filesystem -%description Lao -%{summary}. - -%package Lithuanian -Summary: Lithuanian(lt) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-lt = %{version}-%{release} -#Requires: kde-filesystem -%description Lithuanian -%{summary}. - -%package Latvian -Summary: Latvian(lv) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-lv = %{version}-%{release} -#Requires: kde-filesystem -%description Latvian -%{summary}. - -%package Maori -Summary: Maori(mi) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-mi = %{version}-%{release} -#Requires: kde-filesystem -%description Maori -%{summary}. - -%package Macedonian -Summary: Macedonian(mk) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-mk = %{version}-%{release} -#Requires: kde-filesystem -%description Macedonian -%{summary}. - -%package Maltese -Summary: Maltese(mt) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-mt = %{version}-%{release} -#Requires: kde-filesystem -%description Maltese -%{summary}. - -%package Dutch -Summary: Dutch(nl) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-nl = %{version}-%{release} -#Requires: kde-filesystem -%description Dutch -%{summary}. - -%package Norwegian -Summary: Norwegian(no) (Bokmaal) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-no = %{version}-%{release} -#Requires: kde-filesystem -%description Norwegian -%{summary}. - -%package Norwegian-Nynorsk -Summary: Norwegian(nn) (Nynorsk) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-nn = %{version}-%{release} -#Requires: kde-filesystem -%description Norwegian-Nynorsk -%{summary}. - -%package Occitan -Summary: Occitan(oc) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-oc = %{version}-%{release} -#Requires: kde-filesystem -%description Occitan -%{summary}. - -%package Polish -Summary: Polish(pl) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-pl = %{version}-%{release} -#Requires: kde-filesystem -%description Polish -%{summary}. - -%package Portuguese -Summary: Portuguese(pt) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-pt = %{version}-%{release} -#Requires: kde-filesystem -%description Portuguese -%{summary}. - -%package Punjabi -Summary: Punjabi(pa) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-pa = %{version}-%{release} -#Requires: kde-filesystem -%description Punjabi -%{summary}. - -%package Brazil -Summary: Brazil(pt_BR) Portuguese language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-pt_BR = %{version}-%{release} -#Requires: kde-filesystem -%description Brazil -%{summary}. - -%package Romanian -Summary: Romanian(ro) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-ro = %{version}-%{release} -#Requires: kde-filesystem -%description Romanian -%{summary}. - -%package Russian -Summary: Russian(ru) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-ru = %{version}-%{release} -#Requires: kde-filesystem -%description Russian -%{summary}. - -%package Slovak -Summary: Slovak(sk) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-sk = %{version}-%{release} -#Requires: kde-filesystem -%description Slovak -%{summary}. - -%package Slovenian -Summary: Slovenian(sl) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-sl = %{version}-%{release} -#Requires: kde-filesystem -%description Slovenian -%{summary}. - -%package Serbian -Summary: Serbian(sr) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-sr = %{version}-%{release} -#Requires: kde-filesystem -%description Serbian -%{summary}. - -%package Swedish -Summary: Swedish(sv) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-sv = %{version}-%{release} -#Requires: kde-filesystem -%description Swedish -%{summary}. - -%package Tamil -Summary: Tamil(ta) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-ta = %{version}-%{release} -#Requires: kde-filesystem -%description Tamil -%{summary}. - -%package Tajik -Summary: Tajik(tg) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-tg = %{version}-%{release} -#Requires: kde-filesystem -%description Tajik -%{summary}. - -%package Thai -Summary: Thai(th) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-th = %{version}-%{release} -#Requires: kde-filesystem -%description Thai -%{summary}. - -%package Turkish -Summary: Turkish(tr) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-tr = %{version}-%{release} -#Requires: kde-filesystem -%description Turkish -%{summary}. - -%package Ukrainian -Summary: Ukrainian(uk) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-uk = %{version}-%{release} -#Requires: kde-filesystem -%description Ukrainian -%{summary}. - -%package Venda -Summary: Venda(ven) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-ven = %{version}-%{release} -#Requires: kde-filesystem -%description Venda -%{summary}. - -%package Vietnamese -Summary: Vietnamese(vi) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-vi = %{version}-%{release} -#Requires: kde-filesystem -%description Vietnamese -%{summary}. - -%package Walloon -Summary: Walloon(wa) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-wa = %{version}-%{release} -#Requires: kde-filesystem -%description Walloon -%{summary}. - -%package Xhosa -Summary: Xhosa(xh) (a Bantu language) support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-xh = %{version}-%{release} -#Requires: kde-filesystem -%description Xhosa -%{summary}. - -%package Chinese -Summary: Chinese(zh_CN) (Simplified Chinese) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-zh_CN = %{version}-%{release} -#Requires: kde-filesystem -%description Chinese -%{summary}. - -%package Chinese-Big5 -Summary: Chinese(zh_TW) (Big5) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-tz_TW = %{version}-%{release} -#Requires: kde-filesystem -%description Chinese-Big5 -%{summary}. - - - -%prep -%setup -q -n koffice-l10n-%{version} - -for l in %{KDE_LANGS}; do - for f in koffice-l10n-${l}-*.tar.bz2; do - tar xjf "${f}" - done -done - - -%build -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -export kde_htmldir="%{tde_docdir}/HTML" - -for l in %{KDE_LANGS}; do - for f in koffice-l10n-${l}-*/; do - if [ -d "${f}" ] && [ -x "${f}/configure" ] ; then - pushd ${f} - %configure - %__make %{?_smp_mflags} - popd - fi - done -done - -%install -%__rm -rf %{?buildroot} -export PATH="%{_bindir}:${PATH}" - -for l in %{KDE_LANGS}; do - for f in koffice-l10n-${l}-*/; do - if [ -d "${f}" ] && [ -r "${f}/Makefile" ] ; then - %__make install DESTDIR="%{?buildroot}" -C "${f}" - fi - done -done - -# make symlinks relative -%if "%{_prefix}" == "/usr" -pushd "%{buildroot}%{tde_docdir}/HTML" -for lang in *; do - if [ -d "$lang" ]; then - pushd "$lang" - for i in */*/*; do - if [ -d $i -a -L $i/common ]; then - rm -f $i/common - ln -sf ../../../docs/common $i - fi - done - - for i in */*; do - if [ -d $i -a -L $i/common ]; then - rm -f $i/common - ln -sf ../../docs/common $i - fi - done - - for i in *; do - if [ -d $i -a -L $i/common ]; then - rm -f $i/common - ln -sf ../docs/common $i - fi - done - - popd - fi -done -popd -%endif - -# remove zero-length file -find "%{buildroot}%{tde_docdir}/HTML" -size 0 -exec rm -f {} \; - -%clean -%__rm -rf %{buildroot} - -%if "%( grep -w af <<< '%{KDE_LANGS}' )" != "" -%files Afrikaans -%defattr(-,root,root,-) -%lang(af) %{_datadir}/locale/af/* -%lang(af) %{tde_docdir}/HTML/af/ -%endif - -%if "%( grep -w ar <<< '%{KDE_LANGS}' )" != "" -%files Arabic -%defattr(-,root,root,-) -%lang(ar) %{_datadir}/locale/ar/* -%endif - -%if "%( grep -w az <<< '%{KDE_LANGS}' )" != "" -%files Azerbaijani -%defattr(-,root,root,-) -%lang(az) %{_datadir}/locale/az/* -%endif - -%if "%( grep -w be <<< '%{KDE_LANGS}' )" != "" -%files Belarusian -%defattr(-,root,root,-) -%lang(be) %{_datadir}/locale/be/* -%endif - -%if "%( grep -w bg <<< '%{KDE_LANGS}' )" != "" -%files Bulgarian -%defattr(-,root,root,-) -%lang(bg) %{_datadir}/locale/bg/* -%endif - -%if "%( grep -w bn <<< '%{KDE_LANGS}' )" != "" -%files Bengali -%defattr(-,root,root,-) -%lang(bn) %{_datadir}/locale/bn/* -%endif - -%if "%( grep -w bo <<< '%{KDE_LANGS}' )" != "" -%files Tibetan -%defattr(-,root,root,-) -%lang(bo) %{_datadir}/locale/bo/* -%endif - -%if "%( grep -w br <<< '%{KDE_LANGS}' )" != "" -%files Breton -%defattr(-,root,root,-) -%lang(br) %{_datadir}/locale/br/* -%endif - -%if "%( grep -w bs <<< '%{KDE_LANGS}' )" != "" -%files Bosnian -%defattr(-,root,root,-) -%lang(bs) %{_datadir}/locale/bs/* -%endif - -%if "%( grep -w ca <<< '%{KDE_LANGS}' )" != "" -%files Catalan -%defattr(-,root,root,-) -%lang(ca) %{_datadir}/locale/ca/* -%lang(ca) %{tde_docdir}/HTML/ca/ -%endif - -%if "%( grep -w cs <<< '%{KDE_LANGS}' )" != "" -%files Czech -%defattr(-,root,root,-) -%lang(cs) %{_datadir}/locale/cs/* -%lang(cs) %{tde_docdir}/HTML/cs/ -%endif - -%if "%( grep -w cy <<< '%{KDE_LANGS}' )" != "" -%files Welsh -%defattr(-,root,root,-) -%lang(cy) %{_datadir}/locale/cy/* -%endif - -%if "%( grep -w da <<< '%{KDE_LANGS}' )" != "" -%files Danish -%defattr(-,root,root,-) -%lang(da) %{_datadir}/locale/da/* -%lang(da) %{tde_docdir}/HTML/da/ -%endif - -%if "%( grep -w de <<< '%{KDE_LANGS}' )" != "" -%files German -%defattr(-,root,root,-) -%lang(de) %{_datadir}/locale/de/* -%lang(de) %{tde_docdir}/HTML/de/ -%endif - -%if "%( grep -w el <<< '%{KDE_LANGS}' )" != "" -%files Greek -%defattr(-,root,root,-) -%lang(el) %{_datadir}/locale/el/* -%endif - -%if "%( grep -w en_GB <<< '%{KDE_LANGS}' )" != "" -%files British -%defattr(-,root,root,-) -%lang(en_GB) %{_datadir}/locale/en_GB/* -%lang(en_GB) %{tde_docdir}/HTML/en_GB/ -%endif - -%if "%( grep -w eo <<< '%{KDE_LANGS}' )" != "" -%files Esperanto -%defattr(-,root,root,-) -%lang(eo) %{_datadir}/locale/eo/* -%endif - -%if "%( grep -w es <<< '%{KDE_LANGS}' )" != "" -%files Spanish -%defattr(-,root,root,-) -%lang(es) %{_datadir}/locale/es/* -%lang(es) %{tde_docdir}/HTML/es/ -%endif - -%if "%( grep -w et <<< '%{KDE_LANGS}' )" != "" -%files Estonian -%defattr(-,root,root,-) -%lang(et) %{_datadir}/locale/et/* -%lang(et) %{tde_docdir}/HTML/et/ -%endif - -%if "%( grep -w eu <<< '%{KDE_LANGS}' )" != "" -%files Basque -%defattr(-,root,root,-) -%lang(eu) %{_datadir}/locale/eu/* -%endif - -%if "%( grep -w fa <<< '%{KDE_LANGS}' )" != "" -%files Farsi -%defattr(-,root,root,-) -%lang(fa) %{_datadir}/locale/fa/* -%endif - -%if "%( grep -w fi <<< '%{KDE_LANGS}' )" != "" -%files Finnish -%defattr(-,root,root,-) -%lang(fi) %{_datadir}/locale/fi/* -%lang(fi) %{tde_docdir}/HTML/fi/ -%endif - -%if "%( grep -w fo <<< '%{KDE_LANGS}' )" != "" -%files Faroese -%defattr(-,root,root,-) -%lang(fo) %{_datadir}/locale/fo/* -%endif - -%if "%( grep -w fr <<< '%{KDE_LANGS}' )" != "" -%files French -%defattr(-,root,root,-) -%lang(fr) %{_datadir}/locale/fr/* -%lang(fr) %{tde_docdir}/HTML/fr/ -%lang(fr) %{_datadir}/apps/koffice/autocorrect/fr.xml -%endif - -%if "%( grep -w fy <<< '%{KDE_LANGS}' )" != "" -%files Frisian -%defattr(-,root,root,-) -%lang(fy) %{_datadir}/locale/fy/* -%endif - -%if "%( grep -w ga <<< '%{KDE_LANGS}' )" != "" -%files Irish -%defattr(-,root,root,-) -%lang(ga) %{_datadir}/locale/ga/* -%endif - -%if "%( grep -w gl <<< '%{KDE_LANGS}' )" != "" -%files Galician -%defattr(-,root,root,-) -%lang(gl) %{_datadir}/locale/gl/* -%endif - -%if "%( grep -w he <<< '%{KDE_LANGS}' )" != "" -%files Hebrew -%defattr(-,root,root,-) -%lang(he) %{_datadir}/locale/he/* -%lang(he) %{tde_docdir}/HTML/he/ -%endif - -%if "%( grep -w hi <<< '%{KDE_LANGS}' )" != "" -%files Hindi -%defattr(-,root,root,-) -%lang(hi) %{_datadir}/locale/hi/* -%endif - -%if "%( grep -w hr <<< '%{KDE_LANGS}' )" != "" -%files Croatian -%defattr(-,root,root,-) -%lang(hr) %{_datadir}/locale/hr/* -%lang(hr) %{tde_docdir}/HTML/hr/ -%endif - -%if "%( grep -w hu <<< '%{KDE_LANGS}' )" != "" -%files Hungarian -%defattr(-,root,root,-) -%lang(hu) %{_datadir}/locale/hu/* -%lang(hu) %{tde_docdir}/HTML/hu/ -%endif - -%if "%( grep -w id <<< '%{KDE_LANGS}' )" != "" -%files Indonesian -%defattr(-,root,root,-) -%lang(id) %{_datadir}/locale/id/* -%lang(id) %{tde_docdir}/HTML/id/ -%endif - -%if "%( grep -w is <<< '%{KDE_LANGS}' )" != "" -%files Icelandic -%defattr(-,root,root,-) -%lang(is) %{_datadir}/locale/is/* -%endif - -%if "%( grep -w it <<< '%{KDE_LANGS}' )" != "" -%files Italian -%defattr(-,root,root,-) -%lang(it) %{_datadir}/locale/it/* -%lang(it) %{tde_docdir}/HTML/it/ -%endif - -%if "%( grep -w ja <<< '%{KDE_LANGS}' )" != "" -%files Japanese -%defattr(-,root,root,-) -%lang(ja) %{_datadir}/locale/ja/* -%lang(ja) %{tde_docdir}/HTML/ja/ -%endif - -%if "%( grep -w ko <<< '%{KDE_LANGS}' )" != "" -%files Korean -%defattr(-,root,root,-) -%lang(ko) %{_datadir}/locale/ko/* -%lang(ko) %{tde_docdir}/HTML/ko/ -%endif - -%if "%( grep -w ku <<< '%{KDE_LANGS}' )" != "" -%files Kurdish -%defattr(-,root,root,-) -%lang(ku) %{_datadir}/locale/ku/* -%lang(ku) %{tde_docdir}/HTML/ku/ -%endif - -%if "%( grep -w lao <<< '%{KDE_LANGS}' )" != "" -%files Lao -%defattr(-,root,root,-) -%lang(lo) %{_datadir}/locale/lo/* -%lang(lo) %{tde_docdir}/HTML/lo/ -%endif - -%if "%( grep -w lt <<< '%{KDE_LANGS}' )" != "" -%files Lithuanian -%defattr(-,root,root,-) -%lang(lt) %{_datadir}/locale/lt/* -%endif - -%if "%( grep -w lv <<< '%{KDE_LANGS}' )" != "" -%files Latvian -%defattr(-,root,root,-) -%lang(lv) %{_datadir}/locale/lv/* -%endif - -%if "%( grep -w mi <<< '%{KDE_LANGS}' )" != "" -%files Maori -%defattr(-,root,root,-) -%lang(mi) %{_datadir}/locale/mi/* -%endif - -%if "%( grep -w mk <<< '%{KDE_LANGS}' )" != "" -%files Macedonian -%defattr(-,root,root,-) -%lang(mk) %{_datadir}/locale/mk/* -%endif - -%if "%( grep -w mt <<< '%{KDE_LANGS}' )" != "" -%files Maltese -%defattr(-,root,root,-) -%lang(mt) %{_datadir}/locale/mt/* -%endif - -%if "%( grep -w nl <<< '%{KDE_LANGS}' )" != "" -%files Dutch -%defattr(-,root,root,-) -%lang(nl) %{_datadir}/locale/nl/* -%lang(nl) %{tde_docdir}/HTML/nl/ -%endif - -%if "%( grep -w nb <<< '%{KDE_LANGS}' )" != "" -%files Norwegian -%defattr(-,root,root,-) -%lang(nb) %{_datadir}/locale/nb/* -#%lang(nb) %{tde_docdir}/HTML/nb/ -%endif - -%if "%( grep -w nn <<< '%{KDE_LANGS}' )" != "" -%files Norwegian-Nynorsk -%defattr(-,root,root,-) -%lang(nn) %{_datadir}/locale/nn/* -#%lang(nn) %{tde_docdir}/HTML/nn/ -%endif - -%if "%( grep -w oc <<< '%{KDE_LANGS}' )" != "" -%files Occitan -%defattr(-,root,root,-) -%lang(oc) %{_datadir}/locale/oc/* -%endif - -%if "%( grep -w pa <<< '%{KDE_LANGS}' )" != "" -%files Punjabi -%defattr(-,root,root,-) -%lang(pa) %{_datadir}/locale/pa/* -%endif - -%if "%( grep -w pl <<< '%{KDE_LANGS}' )" != "" -%files Polish -%defattr(-,root,root,-) -%lang(pl) %{_datadir}/locale/pl/* -%lang(pl) %{tde_docdir}/HTML/pl/ -%endif - -%if "%( grep -w pt <<< '%{KDE_LANGS}' )" != "" -%files Portuguese -%defattr(-,root,root,-) -%lang(pt) %{_datadir}/locale/pt/* -%lang(pt) %{tde_docdir}/HTML/pt/ -%endif - -%if "%( grep -w pt_BR <<< '%{KDE_LANGS}' )" != "" -%files Brazil -%defattr(-,root,root,-) -%lang(pt_BR) %{_datadir}/locale/pt_BR/* -%lang(pt_BR) %{tde_docdir}/HTML/pt_BR/ -%endif - -%if "%( grep -w ro <<< '%{KDE_LANGS}' )" != "" -%files Romanian -%defattr(-,root,root,-) -%lang(ro) %{_datadir}/locale/ro/* -%lang(ro) %{tde_docdir}/HTML/ro/ -%endif - -%if "%( grep -w ru <<< '%{KDE_LANGS}' )" != "" -%files Russian -%defattr(-,root,root,-) -%lang(ru) %{_datadir}/locale/ru/* -%lang(ru) %{tde_docdir}/HTML/ru/ -%endif - -%if "%( grep -w sk <<< '%{KDE_LANGS}' )" != "" -%files Slovak -%defattr(-,root,root,-) -%lang(sk) %{_datadir}/locale/sk/* -%lang(sk) %{tde_docdir}/HTML/sk/ -%endif - -%if "%( grep -w sl <<< '%{KDE_LANGS}' )" != "" -%files Slovenian -%defattr(-,root,root,-) -%lang(sl) %{_datadir}/locale/sl/* -%lang(sl) %{tde_docdir}/HTML/sl/ -%endif - -%if "%( grep -w sr <<< '%{KDE_LANGS}' )" != "" -%files Serbian -%defattr(-,root,root,-) -%lang(sr) %{_datadir}/locale/sr/* -%lang(sr) %{tde_docdir}/HTML/sr/ -%endif - -%if "%( grep -w sv <<< '%{KDE_LANGS}' )" != "" -%files Swedish -%defattr(-,root,root,-) -%lang(sv) %{_datadir}/locale/sv/* -%lang(sv) %{tde_docdir}/HTML/sv/ -%endif - -%if "%( grep -w ta <<< '%{KDE_LANGS}' )" != "" -%files Tamil -%defattr(-,root,root,-) -%lang(ta) %{_datadir}/locale/ta/* -%endif - -%if "%( grep -w tg <<< '%{KDE_LANGS}' )" != "" -%files Tajik -%defattr(-,root,root,-) -%lang(tg) %{_datadir}/locale/tg/* -%endif - -%if "%( grep -w th <<< '%{KDE_LANGS}' )" != "" -%files Thai -%defattr(-,root,root,-) -%lang(th) %{_datadir}/locale/th/* -%endif - -%if "%( grep -w tr <<< '%{KDE_LANGS}' )" != "" -%files Turkish -%defattr(-,root,root,-) -%lang(tr) %{_datadir}/locale/tr/* -%lang(tr) %{tde_docdir}/HTML/tr/ -%endif - -%if "%( grep -w uk <<< '%{KDE_LANGS}' )" != "" -%files Ukrainian -%defattr(-,root,root,-) -%lang(uk) %{tde_docdir}/HTML/uk/ -%lang(uk) %{_datadir}/locale/uk/* -%endif - -%if "%( grep -w ven <<< '%{KDE_LANGS}' )" != "" -%files Venda -%defattr(-,root,root,-) -%lang(ven) %{_datadir}/locale/ven/* -%endif - -%if "%( grep -w vi <<< '%{KDE_LANGS}' )" != "" -%files Vietnamese -%defattr(-,root,root,-) -%lang(vi) %{_datadir}/locale/vi/* -%endif - -%if "%( grep -w wa <<< '%{KDE_LANGS}' )" != "" -%files Walloon -%defattr(-,root,root,-) -%lang(wa) %{_datadir}/locale/wa/* -%endif - -%if "%( grep -w xh <<< '%{KDE_LANGS}' )" != "" -%files Xhosa -%defattr(-,root,root,-) -%lang(xh) %{_datadir}/locale/xh/* -%lang(xh) %{tde_docdir}/HTML/xh/ -%endif - -%if "%( grep -w zh_CN <<< '%{KDE_LANGS}' )" != "" -%files Chinese -%defattr(-,root,root,-) -%lang(zh_CN) %{_datadir}/locale/zh_CN/* -%lang(zh_CN) %{tde_docdir}/HTML/zh_CN/ -%endif - -%if "%( grep -w zh_TW <<< '%{KDE_LANGS}' )" != "" -%files Chinese-Big5 -%defattr(-,root,root,-) -%lang(zh_TW) %{_datadir}/locale/zh_TW/* -%lang(zh_TW) %{tde_docdir}/HTML/zh_TW/ -%endif - -%changelog -* Sun Jul 01 2012 Francois Andriot - 1.6.3-1 -- Initial build for TDE 3.5.13 - diff --git a/redhat/applications/koffice/koffice-3.5.13.1.spec b/redhat/applications/koffice/koffice-3.5.13.1.spec new file mode 100644 index 000000000..33821517b --- /dev/null +++ b/redhat/applications/koffice/koffice-3.5.13.1.spec @@ -0,0 +1,1081 @@ +# Default version for this component +%define kdecomp koffice + +# Required for Mageia 2: removes the ldflag '--no-undefined' +%define _disable_ld_no_undefined 1 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +# Disable Kross support for RHEL <= 5 (python is too old) +%if 0%{?fedora} > 0 || 0%{?rhel} >= 6 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_kross 1 +%endif + +%if 0%{?fedora} >= 17 +%define with_ruby 0 +%else +%define with_ruby 1 +%endif + +# Ruby 1.9 includes are located in strance directories ... (taken from ruby 1.9 spec file) +%global _normalized_cpu %(echo %{_target_cpu} | sed 's/^ppc/powerpc/;s/i.86/i386/;s/sparcv./sparc/;s/armv.*/arm/') + + +Name: trinity-%{kdecomp} +Summary: An integrated office suite +Version: 1.6.3 +Release: 6%{?dist}%{?_variant} + +Group: Applications/Productivity +License: GPLv2+ + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +# [koffice] Fix compilation with Ruby 1.9 [Bug #735] +Patch13: koffice-3.5.13-fix_ruby_1.9.patch + +# BuildRequires: world-devel ;) +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdegraphics-devel >= 3.5.13.1 +BuildRequires: trinity-tdegraphics-libpoppler-tqt-devel >= 3.5.13.1 +BuildRequires: automake libtool +BuildRequires: freetype-devel +BuildRequires: fontconfig-devel +BuildRequires: libart_lgpl-devel +%if ( 0%{?mdkversion} || 0%{?mgaversion} ) && 0%{?pclinuxos} == 0 +BuildRequires: %{_lib}png15-devel +%else +BuildRequires: libpng-devel +%endif +BuildRequires: libtiff-devel +BuildRequires: libjpeg-devel +BuildRequires: ImageMagick-devel +BuildRequires: zlib-devel +BuildRequires: openssl-devel +BuildRequires: python-devel +BuildRequires: pcre-devel +BuildRequires: gettext-devel +BuildRequires: mysql-devel +BuildRequires: desktop-file-utils +BuildRequires: perl +BuildRequires: doxygen +BuildRequires: aspell-devel +BuildRequires: libxslt-devel +BuildRequires: OpenEXR-devel +BuildRequires: libexif-devel +BuildRequires: readline-devel +%if 0%{?with_ruby} +BuildRequires: ruby ruby-devel >= 1.8.2 +%endif +%if 0%{?suse_version} +BuildRequires: GraphicsMagick >= 1.1.0 +%endif +BuildRequires: GraphicsMagick-devel >= 1.1.0 + +%if 0%{?suse_version} +BuildRequires: libbz2-devel +BuildRequires: liblcms-devel +BuildRequires: utempter-devel +%else +BuildRequires: bzip2-devel +BuildRequires: lcms-devel +BuildRequires: libutempter-devel + +BuildRequires: libpaper-devel +%endif + + +# These libraries are either too old or too recent on distributions ! +# We always provide our versions with TDE... +BuildRequires: trinity-libwpd-devel +BuildRequires: trinity-libpqxx-devel + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}mesagl1-devel +BuildRequires: %{_lib}mesaglu1-devel +BuildRequires: %{_lib}xi-devel +BuildRequires: wv2-devel +BuildRequires: %{_lib}openjpeg-devel +%endif +%if 0%{?fedora} || 0%{?rhel} +BuildRequires: libGL-devel +BuildRequires: libGLU-devel +BuildRequires: libXi-devel +BuildRequires: trinity-wv2-devel +%endif +%if 0%{?suse_version} +BuildRequires: Mesa-libGL-devel +BuildRequires: Mesa-libGLU-devel +BuildRequires: libXi-devel +BuildRequires: wv2-devel +%endif + +%description +KOffice is an integrated office suite. + +%package suite +Summary: An integrated office suite +Group: Applications/Productivity +Obsoletes: %{name} <= %{version}-%{release} +Obsoletes: %{name}-i18n < 4:%{version} +Requires: %{name}-core = %{version}-%{release} +Requires: %{name}-kword = %{version}-%{release} +Requires: %{name}-kspread = %{version}-%{release} +Requires: %{name}-kpresenter = %{version}-%{release} +Requires: %{name}-kivio = %{version}-%{release} +Requires: %{name}-karbon = %{version}-%{release} +Requires: %{name}-kugar = %{version}-%{release} +Requires: %{name}-kexi = %{version}-%{release} +Requires: %{name}-kexi-driver-mysql = %{version}-%{release} +Requires: %{name}-kexi-driver-pgsql = %{version}-%{release} +Requires: %{name}-kchart = %{version}-%{release} +Requires: %{name}-kformula = %{version}-%{release} +Requires: %{name}-filters = %{version}-%{release} +Requires: %{name}-kplato = %{version}-%{release} +Requires: %{name}-chalk = %{version}-%{release} + +%description suite +KOffice is an integrated office suite. + +%package core +Summary: Core support files for %{name} +Group: Applications/Productivity +Requires: %{name}-libs = %{version}-%{release} +Requires: perl +Conflicts: koffice-i18n < %{version} +%description core +%{summary}. + +%package libs +Summary: Runtime libraries for %{name} +Group: System Environment/Libraries +Conflicts: %{name} <= %{version}-%{release} +Requires: trinity-kdelibs +License: LGPLv2+ +%description libs +%{summary}. + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name}-libs = %{version}-%{release} +License: LGPLv2+ +%description devel +%{summary}. + +%package kword +Summary: A frame-based word processor capable of professional standard documents +Group: Applications/Productivity +Requires: %{name}-core = %{version}-%{release} +%description kword +%{summary}. + +%package kspread +Summary: A powerful spreadsheet application +Group: Applications/Productivity +Requires: %{name}-core = %{version}-%{release} +%description kspread +%{summary}. + +%package kpresenter +Summary: A full-featured presentation program +Group: Applications/Productivity +Requires: %{name}-core = %{version}-%{release} +%description kpresenter +%{summary}. + +%package kivio +Summary: A flowcharting application +Group: Applications/Productivity +Requires: %{name}-core = %{version}-%{release} +Obsoletes: kivio < %{version}-%{release} +%description kivio +%{summary}. + +%package karbon +Summary: A vector drawing application +Group: Applications/Productivity +Requires: %{name}-core = %{version}-%{release} +%description karbon +%{summary}. + +%package kugar +Summary: A tool for generating business quality reports +Group: Applications/Productivity +Requires: %{name}-core = %{version}-%{release} +%description kugar +%{summary}. + +%package kexi +Summary: An integrated environment for managing data +Group: Applications/Productivity +Requires: %{name}-core = %{version}-%{release} +%description kexi +%{summary}. +For additional database drivers take a look at %{name}-kexi-driver-* + +%package kexi-driver-mysql +Summary: Mysql-driver for kexi +Group: Applications/Productivity +Requires: %{name}-kexi = %{version}-%{release} +%description kexi-driver-mysql +%{summary}. + +%package kexi-driver-pgsql +Summary: Postgresql driver for kexi +Group: Applications/Productivity +Requires: %{name}-kexi = %{version}-%{release} +%description kexi-driver-pgsql +%{summary}. + +%package kchart +Summary: An integrated graph and chart drawing tool +Group: Applications/Productivity +Requires: %{name}-core = %{version}-%{release} +%description kchart +%{summary}. + +%package kformula +Summary: A powerful formula editor +Group: Applications/Productivity +Requires: %{name}-core = %{version}-%{release} + +%if 0%{?mgaversion} || 0%{?mdkversion} +Requires: fonts-ttf-dejavu +%else +%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6 +Requires: dejavu-lgc-sans-fonts +Requires: lyx-cmex10-fonts +%endif +%if 0%{?rhel} == 5 +Requires: dejavu-lgc-fonts +Requires: lyx-cmex10-fonts +%endif +%if 0%{?suse_version} +Requires: dejavu-fonts +%endif +%endif + +%description kformula +%{summary}. + +%package filters +Summary: Import and Export Filters for KOffice +Group: Applications/Productivity +Requires: %{name}-core = %{version}-%{release} +%description filters +%{summary}. + +%package kplato +Summary: An integrated project management and planning tool +Group: Applications/Productivity +Requires: %{name}-core = %{version}-%{release} +%description kplato +%{summary}. + +%package chalk +Summary: pixel-based image manipulation program for the TDE Office Suite [Trinity] +Group: Applications/Productivity +Requires: %{name}-core = %{version}-%{release} +Requires: %{name}-chalk-data = %{version}-%{release} +Requires: %{name}-filters +%description chalk +Chalk is a painting and image editing application for KOffice. Chalk contains +both ease-of-use and fun features like guided painting. + +This package is part of the TDE Office Suite. + +%package chalk-data +Summary: data files for Chalk painting program [Trinity] +Group: Applications/Productivity +%description chalk-data +This package contains architecture-independent data files for Chalk, +the painting program shipped with the TDE Office Suite. + +See the chalk package for further information. + +This package is part of the TDE Office Suite. + + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +%if 0%{?fedora} >= 17 || 0%{?suse_version} >= 1220 +%patch13 -p1 -b .ruby +%endif + +# use LGC variant instead +%__sed -i.dejavu-lgc \ + -e 's|DejaVu Sans|DejaVu LGC Sans|' \ + -e 's|dejavu sans|dejavu lgc sans|' \ + lib/kformula/{contextstyle,fontstyle,symboltable}.cc + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +%if 0%{?suse_version} == 1220 +RD=$(ruby -r rbconfig -e 'printf("%s",Config::CONFIG["rubyhdrdir"])') +export CXXFLAGS="${CXXFLAGS} -I${RD}/%_normalized_cpu-linux" +%endif + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath --disable-dependency-tracking \ + --enable-new-ldflags \ + --disable-debug --disable-warnings \ + --with-pic --enable-shared --disable-static \ + --with-extra-libs=%{tde_libdir} \ + --enable-final \ + --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir}/arts \ + --enable-closure \ + --disable-kexi-macros \ + --with-pqxx-includes=%{tde_includedir} \ + --with-pqxx-libraries=%{tde_libdir} \ +%if 0%{?with_kross} + --enable-scripting \ +%else + --disable-scripting \ +%endif + +%__make %{?_smp_mflags} + + +%install +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +# Replace absolute symlinks with relative ones +pushd %{buildroot}%{tde_tdedocdir}/HTML +for lang in *; do + if [ -d $lang ]; then + pushd $lang + for i in */*; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../../common $i/common + done + popd + fi +done +popd + +desktop-file-install \ + --dir=%{buildroot}%{tde_tdeappdir} \ + --vendor="" \ + --delete-original \ + %{buildroot}%{tde_datadir}/applnk/Office/*.desktop + +## Hack-in NoDisplay=True (http://bugzilla.redhat.com/245061) +## until http://bugzilla.redhat.com/245190 is fixed +%if 0%{?rhel} || 0%{?fedora} +for desktop_file in %{buildroot}%{tde_datadir}/applnk/.hidden/*.desktop ; do + grep "^NoDisplay=" ${desktop_file} || \ + echo "NoDisplay=True" >> ${desktop_file} +done +%endif + +## unpackaged files +# fonts +rm -rfv %{buildroot}%{tde_datadir}/apps/kformula/fonts/ +# libtool archives +rm -f %{buildroot}%{tde_libdir}/lib*.la +# shouldn't these be in koffice-l10n? +rm -f %{buildroot}%{tde_datadir}/locale/pl/LC_MESSAGES/kexi_{add,delete}_column_gui_transl_pl.sh +# -devel symlinks to nuke +rm -f %{buildroot}%{tde_libdir}/lib*common.so +rm -f %{buildroot}%{tde_libdir}/lib*filters.so +rm -f %{buildroot}%{tde_libdir}/lib*private.so +rm -f %{buildroot}%{tde_libdir}/libkarbon*.so +rm -f %{buildroot}%{tde_libdir}/libkchart*.so +rm -f %{buildroot}%{tde_libdir}/libkexi*.so +rm -f %{buildroot}%{tde_libdir}/libkisexiv2.so +rm -f %{buildroot}%{tde_libdir}/libkformdesigner.so +rm -f %{buildroot}%{tde_libdir}/libkplato*.so +rm -f %{buildroot}%{tde_libdir}/libkpresenter*.so +rm -f %{buildroot}%{tde_libdir}/libkword*.so +rm -f %{buildroot}%{tde_libdir}/libkross*.so +rm -f %{buildroot}%{tde_libdir}/libkugar*.so + + +%clean +%__rm -rf %{buildroot} + +%post core +touch --no-create %{tde_datadir}/icons/crystalsvg &> /dev/null || : +touch --no-create %{tde_datadir}/icons/hicolor &> /dev/null || : +touch --no-create %{tde_datadir}/icons/locolor &> /dev/null || : + +%postun core +if [ $1 -eq 0 ]; then + gtk-update-icon-cache %{tde_datadir}/icons/crystalsvg &> /dev/null || : + gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : + gtk-update-icon-cache %{tde_datadir}/icons/locolor &> /dev/null || : + update-desktop-database -q &> /dev/null ||: +fi + +%posttrans core +gtk-update-icon-cache %{tde_datadir}/icons/crystalsvg &> /dev/null || : +gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : +gtk-update-icon-cache %{tde_datadir}/icons/locolor &> /dev/null || : +update-desktop-database -q &> /dev/null ||: + +%post karbon +/sbin/ldconfig || : + +%postun karbon +/sbin/ldconfig || : + +%post kword +/sbin/ldconfig || : + +%postun kword +/sbin/ldconfig || : + +%posttrans kword +update-desktop-database -q &> /dev/null ||: + +%post kpresenter +/sbin/ldconfig || : + +%postun kpresenter +/sbin/ldconfig || : + +%posttrans kpresenter +update-desktop-database -q &> /dev/null ||: + +%post kugar +/sbin/ldconfig || : + +%postun kugar +/sbin/ldconfig || : + +%posttrans kugar +update-desktop-database -q &> /dev/null ||: + +%post kexi +/sbin/ldconfig || : + +%postun kexi +/sbin/ldconfig || : + +%posttrans kexi +update-desktop-database -q &> /dev/null ||: + +%post kchart +/sbin/ldconfig || : + +%postun kchart +/sbin/ldconfig || : + +%posttrans kchart +update-desktop-database -q &> /dev/null ||: + +%post filters +/sbin/ldconfig || : + +%postun filters +/sbin/ldconfig || : + +%post libs +/sbin/ldconfig || : + +%postun libs +/sbin/ldconfig || : + +%post chalk +/sbin/ldconfig || : + +%postun chalk +/sbin/ldconfig || : + +%posttrans chalk +update-desktop-database -q &> /dev/null ||: + +%files suite +#empty => virtual package + +%files core +%defattr(-,root,root,-) +%doc AUTHORS COPYING README +%{tde_bindir}/koshell +%{tde_bindir}/kthesaurus +%{tde_bindir}/koconverter +%{tde_libdir}/libkdeinit_koshell.so +%{tde_libdir}/libkdeinit_kthesaurus.so +%{tde_tdelibdir}/kfile_koffice.* +%{tde_tdelibdir}/kfile_ooo.* +%{tde_tdelibdir}/kfile_abiword.* +%{tde_tdelibdir}/kfile_gnumeric.* +%{tde_tdelibdir}/kodocinfopropspage.* +%{tde_tdelibdir}/kofficescan.* +%{tde_tdelibdir}/kofficethumbnail.* +%{tde_tdelibdir}/koshell.* +%{tde_tdelibdir}/kthesaurus.* +%{tde_tdelibdir}/kwmailmerge_classic.* +%{tde_tdelibdir}/kwmailmerge_kabc.* +%{tde_tdelibdir}/kwmailmerge_qtsqldb_power.* +%{tde_tdelibdir}/kwmailmerge_qtsqldb.* +%{tde_tdelibdir}/libkounavailpart.* +%{tde_tdelibdir}/libkprkword.* +%{tde_tdelibdir}/libthesaurustool.* +%{tde_tdelibdir}/clipartthumbnail.* +%{tde_datadir}/apps/koffice/ +%{tde_datadir}/apps/konqueror/servicemenus/* +%{tde_datadir}/apps/koshell/ +%{tde_datadir}/apps/thesaurus/ +%{tde_datadir}/config.kcfg/koshell.kcfg +%{tde_tdedocdir}/HTML/en/koffice/ +%{tde_tdedocdir}/HTML/en/koshell/ +%{tde_tdedocdir}/HTML/en/thesaurus/ +%{tde_datadir}/icons/crystalsvg/*/*/* +%{tde_datadir}/icons/hicolor/*/*/* +%{tde_datadir}/icons/locolor/*/*/* +%{tde_datadir}/services/clipartthumbnail.desktop +%{tde_datadir}/services/kfile*.desktop +%{tde_datadir}/services/kwmailmerge*.desktop +%{tde_datadir}/services/kodocinfopropspage.desktop +%{tde_datadir}/services/kofficethumbnail.desktop +%{tde_datadir}/services/kounavail.desktop +%{tde_datadir}/services/kprkword.desktop +%{tde_datadir}/services/thesaurustool.desktop +%{tde_datadir}/servicetypes/kochart.desktop +%{tde_datadir}/servicetypes/kofficepart.desktop +%{tde_datadir}/servicetypes/koplugin.desktop +%{tde_datadir}/servicetypes/kwmailmerge.desktop +%{tde_datadir}/servicetypes/widgetfactory.desktop +%{tde_tdeappdir}/*koffice.desktop +%{tde_tdeappdir}/*KThesaurus.desktop +%{tde_tdeappdir}/*koshell.desktop +%{tde_datadir}/apps/kofficewidgets/ +%if 0%{?with_kross} +%{tde_datadir}/apps/kross/ +%{tde_tdelibdir}/krosspython.* +%if 0%{?with_ruby} +%{tde_tdelibdir}/krossruby.* +%endif +%endif + +%files libs +%defattr(-,root,root,-) +%doc COPYING.LIB +#_libdir/libk*common.so.* +%{tde_libdir}/libkarboncommon.so.* +%{tde_libdir}/libkspreadcommon.so.* +%{tde_libdir}/libkdchart.so.* +%{tde_libdir}/libkochart.so.* +%{tde_libdir}/libkofficecore.so.* +%{tde_libdir}/libkofficeui.so.* +%{tde_libdir}/libkotext.so.* +%{tde_libdir}/libkowmf.so.* +%{tde_libdir}/libkopainter.so.* +%{tde_libdir}/libkstore.so.* +%{tde_libdir}/libkwmailmerge_interface.so.* +%{tde_libdir}/libkwmf.so.* +%{tde_libdir}/libkformulalib.so.* +%{tde_libdir}/libkopalette.so.* +%{tde_libdir}/libkoproperty.so.* +%if 0%{?with_kross} +%{tde_libdir}/libkrossapi.so.* +%{tde_libdir}/libkrossmain.so.* +%endif + +%files devel +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/koffice-apidocs/ +%{tde_includedir}/* +# FIXME: include only shlib symlinks we know/want to export +%{tde_libdir}/lib*.so +%exclude %{tde_libdir}/libkdeinit_*.so +%exclude %{tde_libdir}/libkudesignercore.so + +%files kword +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/kword/ +%{tde_bindir}/kword +%{tde_libdir}/libkdeinit_kword.so +%{tde_libdir}/libkwordprivate.so.* +%{tde_tdelibdir}/libkwordpart.* +%{tde_tdelibdir}/kword.* +%{tde_datadir}/apps/kword/ +%{tde_datadir}/services/kword*.desktop +%{tde_datadir}/services/kwserial*.desktop +%{tde_datadir}/templates/TextDocument.desktop +%{tde_datadir}/templates/.source/TextDocument.kwt +%{tde_tdeappdir}/*kword.desktop + +%files kspread +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/kspread/ +%{tde_bindir}/kspread +%{tde_libdir}/libkdeinit_kspread.so +%{tde_tdelibdir}/kspread.* +%{tde_tdelibdir}/libkspreadpart.* +%{tde_tdelibdir}/kwmailmerge_kspread.* +%{tde_tdelibdir}/libcsvexport.* +%{tde_tdelibdir}/libcsvimport.* +%{tde_tdelibdir}/libgnumericexport.* +%{tde_tdelibdir}/libgnumericimport.* +%{tde_tdelibdir}/libkspreadhtmlexport.* +%{tde_tdelibdir}/libkspreadinsertcalendar.* +%{tde_tdelibdir}/libopencalcexport.* +%{tde_tdelibdir}/libopencalcimport.* +%{tde_tdelibdir}/libqproimport.* +%{tde_datadir}/apps/kspread/ +%{tde_datadir}/services/kspread*.desktop +%{tde_datadir}/templates/SpreadSheet.desktop +%{tde_datadir}/templates/.source/SpreadSheet.kst +%{tde_tdeappdir}/*kspread.desktop +%if 0%{?with_kross} +%{tde_tdelibdir}/kspreadscripting.* +%{tde_tdelibdir}/krosskspreadcore.* +%endif + +%files kpresenter +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/kpresenter/ +%{tde_bindir}/kpresenter +%{tde_bindir}/kprconverter.pl +%{tde_libdir}/libkdeinit_kpresenter.so +%{tde_libdir}/libkpresenterimageexport.so.* +%{tde_libdir}/libkpresenterprivate.so.* +%{tde_tdelibdir}/*kpresenter*.* +%{tde_datadir}/apps/kpresenter/ +%{tde_datadir}/services/kpresenter*.desktop +%{tde_datadir}/templates/Presentation.desktop +%{tde_datadir}/templates/.source/Presentation.kpt +%{tde_tdeappdir}/*kpresenter.desktop + +%files karbon +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/karbon/ +%{tde_bindir}/karbon +%{tde_libdir}/libkdeinit_karbon.so +%{tde_tdelibdir}/*karbon*.* +%{tde_tdelibdir}/libwmfexport.* +%{tde_tdelibdir}/libwmfimport.* +%{tde_datadir}/apps/karbon/ +%{tde_datadir}/services/karbon* +%{tde_datadir}/servicetypes/karbon_module.desktop +%{tde_datadir}/templates/Illustration.desktop +%{tde_datadir}/templates/.source/Illustration.karbon +%{tde_tdeappdir}/*karbon.desktop + +%files kugar +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/kugar/ +%{tde_bindir}/kugar +%{tde_bindir}/kudesigner +%{tde_libdir}/libkdeinit_kugar.so +%{tde_libdir}/libkdeinit_kudesigner.so +%{tde_libdir}/libkugarlib.so.* +%{tde_libdir}/libkudesignercore.so +%{tde_tdelibdir}/kudesigner.* +%{tde_tdelibdir}/kugar.* +%{tde_tdelibdir}/libkudesignerpart.* +%{tde_tdelibdir}/libkugarpart.* +%{tde_datadir}/apps/kudesigner/ +%{tde_datadir}/apps/kugar/ +%{tde_datadir}/services/kugar*.desktop +%{tde_tdeappdir}/*kugar.desktop +%{tde_tdeappdir}/*kudesigner.desktop + +%files kexi +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/kexi/ +%{tde_bindir}/kexi* +%{tde_bindir}/ksqlite* +%{tde_libdir}/libkdeinit_kexi.so +%{tde_libdir}/libkexi*.so.* +%{tde_libdir}/libkformdesigner.so.* +%{tde_tdelibdir}/kformdesigner_*.* +%{tde_tdelibdir}/kexidb_sqlite2driver.* +%{tde_tdelibdir}/kexidb_sqlite3driver.* +%{tde_tdelibdir}/kexihandler_*.* +%{tde_tdelibdir}/kexi.* +# moved here to workaround bug #394101, alternative is to move libkexi(db|dbparser|utils) to -libs) +%{tde_tdelibdir}/libkspreadkexiimport.* +%{tde_datadir}/config/kexirc +%{tde_datadir}/config/magic/kexi.magic +%{tde_datadir}/mimelnk/application/* +%{tde_datadir}/servicetypes/kexi*.desktop +%{tde_datadir}/services/kexi/ +%{tde_datadir}/apps/kexi/ +%{tde_datadir}/services/kformdesigner/* +%{tde_tdeappdir}/*kexi.desktop +%{tde_datadir}/services/kexidb_sqlite*driver.desktop +%if 0%{?with_kross} +%{tde_bindir}/krossrunner +%{tde_tdelibdir}/krosskexiapp.* +%{tde_tdelibdir}/krosskexidb.* +%endif + +%files kexi-driver-mysql +%defattr(-,root,root,-) +%{tde_tdelibdir}/kexidb_mysqldriver.* +%{tde_tdelibdir}/keximigrate_mysql.* +%{tde_datadir}/services/keximigrate_mysql.desktop +%{tde_datadir}/services/kexidb_mysqldriver.desktop + +%files kexi-driver-pgsql +%defattr(-,root,root,-) +%{tde_tdelibdir}/kexidb_pqxxsqldriver.* +%{tde_tdelibdir}/keximigrate_pqxx.* +%{tde_datadir}/services/kexidb_pqxxsqldriver.desktop +%{tde_datadir}/services/keximigrate_pqxx.desktop + +%files kchart +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/kchart/ +%{tde_bindir}/kchart +%{tde_libdir}/libkchart*.so.* +%{tde_libdir}/libkdeinit_kchart.so +%{tde_tdelibdir}/*kchart*.* +%{tde_datadir}/apps/kchart/ +%{tde_datadir}/services/kchart*.desktop +%{tde_tdeappdir}/*kchart.desktop + +%files kformula +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/kformula/ +%{tde_bindir}/kformula +%{tde_libdir}/libkdeinit_kformula.so +%{tde_tdelibdir}/*kformula*.* +%{tde_datadir}/apps/kformula/ +%{tde_datadir}/services/kformula*.desktop +%{tde_tdeappdir}/*kformula.desktop + +%files kivio +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/kivio/ +%{tde_bindir}/kivio +%{tde_libdir}/libkdeinit_kivio.so +%{tde_libdir}/libkiviocommon.so.* +%{tde_tdelibdir}/*kivio*.* +%{tde_tdelibdir}/straight_connector.* +%{tde_datadir}/apps/kivio/ +%{tde_datadir}/config.kcfg/kivio.kcfg +%{tde_datadir}/services/kivio*.desktop +%{tde_tdeappdir}/*kivio.desktop + +%files filters +%defattr(-,root,root,-) +%{tde_libdir}/libkwordexportfilters.so.* +%{tde_tdelibdir}/libabiwordexport.* +%{tde_tdelibdir}/libabiwordimport.* +%{tde_tdelibdir}/libamiproexport.* +%{tde_tdelibdir}/libamiproimport.* +%{tde_tdelibdir}/libapplixspreadimport.* +%{tde_tdelibdir}/libapplixwordimport.* +%{tde_tdelibdir}/libasciiexport.* +%{tde_tdelibdir}/libasciiimport.* +%{tde_tdelibdir}/libdbaseimport.* +%{tde_tdelibdir}/libdocbookexport.* +%{tde_tdelibdir}/libexcelimport.* +%{tde_tdelibdir}/libgenerickofilter.* +%{tde_tdelibdir}/libhtmlexport.* +%{tde_tdelibdir}/libhtmlimport.* +%{tde_tdelibdir}/libkarbonepsimport.* +%{tde_tdelibdir}/libkfolatexexport.* +%{tde_tdelibdir}/libkfomathmlexport.* +%{tde_tdelibdir}/libkfomathmlimport.* +%{tde_tdelibdir}/libkfopngexport.* +%{tde_tdelibdir}/libkspreadlatexexport.* +%{tde_tdelibdir}/libkugarnopimport.* +%{tde_tdelibdir}/libkwordkword1dot3import.* +%{tde_tdelibdir}/libkwordlatexexport.* +%{tde_tdelibdir}/libmswriteexport.* +%{tde_tdelibdir}/libmswriteimport.* +%{tde_tdelibdir}/libooimpressexport.* +%{tde_tdelibdir}/libooimpressimport.* +%{tde_tdelibdir}/liboowriterexport.* +%{tde_tdelibdir}/liboowriterimport.* +%{tde_tdelibdir}/libpalmdocexport.* +%{tde_tdelibdir}/libpalmdocimport.* +%{tde_tdelibdir}/libpdfimport.* +%{tde_tdelibdir}/librtfexport.* +%{tde_tdelibdir}/librtfimport.* +%{tde_tdelibdir}/libwmlexport.* +%{tde_tdelibdir}/libwmlimport.* +%{tde_tdelibdir}/libwpexport.* +%{tde_tdelibdir}/libwpimport.* +%{tde_tdelibdir}/libmswordimport.* +%{tde_tdelibdir}/libxsltimport.* +%{tde_tdelibdir}/libxsltexport.* +%{tde_tdelibdir}/libhancomwordimport.* +%{tde_tdelibdir}/libkfosvgexport.* +%{tde_tdelibdir}/liboodrawimport.* +%{tde_tdelibdir}/libolefilter.* +%{tde_datadir}/apps/xsltfilter/ +%{tde_datadir}/services/generic_filter.desktop +%{tde_datadir}/services/ole_powerpoint97_import.desktop +%{tde_datadir}/services/xslt*.desktop +%{tde_datadir}/servicetypes/kofilter*.desktop + +%files kplato +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/kplato/ +%{tde_bindir}/kplato +%{tde_libdir}/libkdeinit_kplato.so +%{tde_tdelibdir}/kplato.* +%{tde_tdelibdir}/libkplatopart.* +%{tde_datadir}/apps/kplato/ +%{tde_datadir}/services/kplatopart.desktop +%{tde_tdeappdir}/*kplato.desktop + +%files chalk +%defattr(-,root,root,-) +%{tde_bindir}/chalk +%{tde_tdelibdir}/chalkblurfilter.la +%{tde_tdelibdir}/chalkblurfilter.so +%{tde_tdelibdir}/chalkbumpmap.la +%{tde_tdelibdir}/chalkbumpmap.so +%{tde_tdelibdir}/chalkcimg.la +%{tde_tdelibdir}/chalkcimg.so +%{tde_tdelibdir}/chalk_cmyk_* +%{tde_tdelibdir}/chalkcmykplugin.la +%{tde_tdelibdir}/chalkcmykplugin.so +%{tde_tdelibdir}/chalkcolorify.la +%{tde_tdelibdir}/chalkcolorify.so +%{tde_tdelibdir}/chalkcolorrange.la +%{tde_tdelibdir}/chalkcolorrange.so +%{tde_tdelibdir}/chalkcolorsfilters.la +%{tde_tdelibdir}/chalkcolorsfilters.so +%{tde_tdelibdir}/chalkcolorspaceconversion.la +%{tde_tdelibdir}/chalkcolorspaceconversion.so +%{tde_tdelibdir}/chalkconvolutionfilters.la +%{tde_tdelibdir}/chalkconvolutionfilters.so +%{tde_tdelibdir}/chalkdefaultpaintops.la +%{tde_tdelibdir}/chalkdefaultpaintops.so +%{tde_tdelibdir}/chalkdefaulttools.la +%{tde_tdelibdir}/chalkdefaulttools.so +%{tde_tdelibdir}/chalkdropshadow.la +%{tde_tdelibdir}/chalkdropshadow.so +%{tde_tdelibdir}/chalkembossfilter.la +%{tde_tdelibdir}/chalkembossfilter.so +%{tde_tdelibdir}/chalkexample.la +%{tde_tdelibdir}/chalkexample.so +%{tde_tdelibdir}/chalkextensioncolorsfilters.la +%{tde_tdelibdir}/chalkextensioncolorsfilters.so +%{tde_tdelibdir}/chalkfastcolortransfer.la +%{tde_tdelibdir}/chalkfastcolortransfer.so +%{tde_tdelibdir}/chalkfiltersgallery.la +%{tde_tdelibdir}/chalkfiltersgallery.so +%{tde_tdelibdir}/chalk_gray_* +%{tde_tdelibdir}/chalkgrayplugin.la +%{tde_tdelibdir}/chalkgrayplugin.so +%{tde_tdelibdir}/chalkhistogramdocker.la +%{tde_tdelibdir}/chalkhistogramdocker.so +%{tde_tdelibdir}/chalkhistogram.la +%{tde_tdelibdir}/chalkhistogram.so +%{tde_tdelibdir}/chalkimageenhancement.la +%{tde_tdelibdir}/chalkimageenhancement.so +%{tde_tdelibdir}/chalkimagesize.la +%{tde_tdelibdir}/chalkimagesize.so +%{tde_tdelibdir}/chalk.la +%{tde_tdelibdir}/chalklenscorrectionfilter.la +%{tde_tdelibdir}/chalklenscorrectionfilter.so +%{tde_tdelibdir}/chalklevelfilter.la +%{tde_tdelibdir}/chalklevelfilter.so +%{tde_tdelibdir}/chalk_lms_* +%{tde_tdelibdir}/chalkmodifyselection.la +%{tde_tdelibdir}/chalkmodifyselection.so +%{tde_tdelibdir}/chalknoisefilter.la +%{tde_tdelibdir}/chalknoisefilter.so +%{tde_tdelibdir}/chalkoilpaintfilter.la +%{tde_tdelibdir}/chalkoilpaintfilter.so +%{tde_tdelibdir}/chalkpixelizefilter.la +%{tde_tdelibdir}/chalkpixelizefilter.so +%{tde_tdelibdir}/chalkraindropsfilter.la +%{tde_tdelibdir}/chalkraindropsfilter.so +%{tde_tdelibdir}/chalkrandompickfilter.la +%{tde_tdelibdir}/chalkrandompickfilter.so +%{tde_tdelibdir}/chalk_rgb_* +%{tde_tdelibdir}/chalkrgbplugin.la +%{tde_tdelibdir}/chalkrgbplugin.so +%{tde_tdelibdir}/chalkrotateimage.la +%{tde_tdelibdir}/chalkrotateimage.so +%{tde_tdelibdir}/chalkroundcornersfilter.la +%{tde_tdelibdir}/chalkroundcornersfilter.so +%{tde_tdelibdir}/chalkselectiontools.la +%{tde_tdelibdir}/chalkselectiontools.so +%{tde_tdelibdir}/chalkselectopaque.la +%{tde_tdelibdir}/chalkselectopaque.so +%{tde_tdelibdir}/chalkseparatechannels.la +%{tde_tdelibdir}/chalkseparatechannels.so +%{tde_tdelibdir}/chalkshearimage.la +%{tde_tdelibdir}/chalkshearimage.so +%{tde_tdelibdir}/chalksmalltilesfilter.la +%{tde_tdelibdir}/chalksmalltilesfilter.so +%{tde_tdelibdir}/chalk.so +%{tde_tdelibdir}/chalkscreenshot.la +%{tde_tdelibdir}/chalkscreenshot.so +%{tde_tdelibdir}/chalksobelfilter.la +%{tde_tdelibdir}/chalksobelfilter.so +%{tde_tdelibdir}/chalksubstrate.la +%{tde_tdelibdir}/chalksubstrate.so +%{tde_tdelibdir}/chalktoolcrop.la +%{tde_tdelibdir}/chalktoolcrop.so +%{tde_tdelibdir}/chalktoolcurves.la +%{tde_tdelibdir}/chalktoolcurves.so +%{tde_tdelibdir}/chalktoolfilter.la +%{tde_tdelibdir}/chalktoolfilter.so +%{tde_tdelibdir}/chalktoolperspectivegrid.la +%{tde_tdelibdir}/chalktoolperspectivegrid.so +%{tde_tdelibdir}/chalktoolperspectivetransform.la +%{tde_tdelibdir}/chalktoolperspectivetransform.so +%{tde_tdelibdir}/chalktoolpolygon.la +%{tde_tdelibdir}/chalktoolpolygon.so +%{tde_tdelibdir}/chalktoolpolyline.la +%{tde_tdelibdir}/chalktoolpolyline.so +%{tde_tdelibdir}/chalktoolselectsimilar.la +%{tde_tdelibdir}/chalktoolselectsimilar.so +%{tde_tdelibdir}/chalktoolstar.la +%{tde_tdelibdir}/chalktoolstar.so +%{tde_tdelibdir}/chalktooltransform.la +%{tde_tdelibdir}/chalktooltransform.so +%{tde_tdelibdir}/chalkunsharpfilter.la +%{tde_tdelibdir}/chalkunsharpfilter.so +%{tde_tdelibdir}/chalkwavefilter.la +%{tde_tdelibdir}/chalkwavefilter.so +%{tde_tdelibdir}/chalkwetplugin.la +%{tde_tdelibdir}/chalkwetplugin.so +%{tde_tdelibdir}/chalk_ycbcr_* +%{tde_tdelibdir}/libchalkgmagickexport.la +%{tde_tdelibdir}/libchalkgmagickexport.so +%{tde_tdelibdir}/libchalkgmagickimport.la +%{tde_tdelibdir}/libchalkgmagickimport.so +%{tde_tdelibdir}/libchalkjpegexport.la +%{tde_tdelibdir}/libchalkjpegexport.so +%{tde_tdelibdir}/libchalkjpegimport.la +%{tde_tdelibdir}/libchalkjpegimport.so +%{tde_tdelibdir}/libchalk_openexr_export.la +%{tde_tdelibdir}/libchalk_openexr_export.so +%{tde_tdelibdir}/libchalk_openexr_import.la +%{tde_tdelibdir}/libchalk_openexr_import.so +%{tde_tdelibdir}/libchalkpart.la +%{tde_tdelibdir}/libchalkpart.so +%{tde_tdelibdir}/libchalkpdfimport.la +%{tde_tdelibdir}/libchalkpdfimport.so +%{tde_tdelibdir}/libchalkpngexport.la +%{tde_tdelibdir}/libchalkpngexport.so +%{tde_tdelibdir}/libchalkpngimport.la +%{tde_tdelibdir}/libchalkpngimport.so +%{tde_tdelibdir}/libchalk_raw_import.la +%{tde_tdelibdir}/libchalk_raw_import.so +%{tde_tdelibdir}/libchalktiffexport.la +%{tde_tdelibdir}/libchalktiffexport.so +%{tde_tdelibdir}/libchalktiffimport.la +%{tde_tdelibdir}/libchalktiffimport.so +%{tde_libdir}/libkdeinit_chalk.so +%{tde_libdir}/libchalk_cmyk_*.so.* +%{tde_libdir}/libchalkcolor.so.* +%{tde_libdir}/libchalkcommon.so.* +%{tde_libdir}/libchalkgrayscale.so.* +%{tde_libdir}/libchalk_gray_*.so.* +%{tde_libdir}/libchalkimage.so.* +%{tde_libdir}/libchalk_lms_*.so.* +%{tde_libdir}/libchalk_rgb_*.so.* +%{tde_libdir}/libchalkrgb.so.* +%{tde_libdir}/libchalkui.so.* +%{tde_libdir}/libchalk_ycbcr_*.so.* +%if 0%{?with_kross} +%{tde_tdelibdir}/krosschalkcore.la +%{tde_tdelibdir}/krosschalkcore.so +%{tde_tdelibdir}/chalkscripting.la +%{tde_tdelibdir}/chalkscripting.so +%{tde_libdir}/libchalkscripting.so.* +%endif + +%files chalk-data +%{tde_tdeappdir}/chalk.desktop +%{tde_datadir}/applnk/.hidden/chalk_*.desktop +%{tde_datadir}/apps/konqueror/servicemenus/chalk_konqi.desktop +%{tde_datadir}/apps/chalk +%{tde_datadir}/apps/chalkplugins +%lang(en) %{tde_tdedocdir}/HTML/en/chalk +%{tde_datadir}/icons/hicolor/*/apps/chalk.png +%{tde_datadir}/services/chalk*.desktop +%{tde_datadir}/servicetypes/chalk*.desktop + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 1.6.3-6 +- Initial build for TDE 3.5.13.1 + +* Sun Jul 08 2012 Francois Andriot - 1.6.3-5 +- Fix kformula dependancies (for RHEL6) +- Fix FTBFS due to missing libraries [Bug #657] [Commit #5c69fcd3] + Clean up lib paths in LDFLAGS - moved to LIBADD + For KWord and and KPresenter added linking kspell2 + For KSpread added linking kutils +- Fix accidental conversions of binary files [Bug #1033] [Commit #dbe89307] + +* Thu Apr 26 2012 Francois Andriot - 1.6.3-4 +- Updates BuildRequires +- Build for Fedora 17 +- Fix compilation with GCC 4.7 [Bug #958] +- Fix compilation with Ruby 1.9 [Bug #735] +- Fix compilation with libpng [Bug #603] + +* Sat Jan 07 2012 Francois Andriot - 1.6.3-3 +- Fix GraphicksMagick 1.3 support [Bug #353] +- Various patches for kexi [Bug #777] + +* Fri Nov 25 2011 Francois Andriot - 1.6.3-2 +- Fix HTML directory location + +* Tue Nov 22 2011 Francois Andriot - 1.6.3-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 +- Based on Spec file from Fedora 11 'koffice-2:1.6.3-25.20090306svn' +- Removed 'krita', added 'chalk' diff --git a/redhat/applications/koffice/koffice-3.5.13.2.spec b/redhat/applications/koffice/koffice-3.5.13.2.spec new file mode 100644 index 000000000..ab290b820 --- /dev/null +++ b/redhat/applications/koffice/koffice-3.5.13.2.spec @@ -0,0 +1,1206 @@ +# Default version for this component +%define tdecomp koffice + +# Required for Mageia 2: removes the ldflag '--no-undefined' +%define _disable_ld_no_undefined 1 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +# Disable Kross support for RHEL <= 5 (python is too old) +%if 0%{?fedora} > 0 || 0%{?rhel} >= 6 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_kross 1 +%endif + +# Ruby support +%define with_ruby 1 + +# Ruby 1.9 includes are located in strance directories ... (taken from ruby 1.9 spec file) +%global _normalized_cpu %(echo %{_target_cpu} | sed 's/^ppc/powerpc/;s/i.86/i386/;s/sparcv./sparc/;s/armv.*/arm/') + + +Name: trinity-%{tdecomp} +Summary: An integrated office suite +Version: 1.6.3 +Release: 7%{?dist}%{?_variant} + +Group: Applications/Productivity +License: GPLv2+ + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + + +# BuildRequires: world-devel ;) +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdegraphics-devel >= 3.5.13.2 +BuildRequires: trinity-tdegraphics-libpoppler-tqt-devel >= 3.5.13.2 +BuildRequires: automake libtool +BuildRequires: fontconfig-devel +BuildRequires: libart_lgpl-devel +BuildRequires: libtiff-devel +BuildRequires: libjpeg-devel +BuildRequires: ImageMagick-devel +BuildRequires: zlib-devel +BuildRequires: openssl-devel +BuildRequires: python-devel +BuildRequires: pcre-devel +BuildRequires: gettext-devel +BuildRequires: mysql-devel +BuildRequires: desktop-file-utils +BuildRequires: perl +BuildRequires: doxygen +BuildRequires: aspell-devel +BuildRequires: libxslt-devel +BuildRequires: OpenEXR-devel +BuildRequires: libexif-devel +BuildRequires: readline-devel + +%if 0%{?suse_version} +BuildRequires: libbz2-devel +BuildRequires: liblcms-devel +%else +BuildRequires: bzip2-devel +BuildRequires: lcms-devel + +BuildRequires: libpaper-devel +%endif + +# RUBY support +%if 0%{?with_ruby} +BuildRequires: ruby ruby-devel >= 1.8.1 +%endif + +# FREETYPE support +%if 0%{?suse_version} == 1140 +BuildRequires: freetype2-devel +%else +BuildRequires: freetype-devel +%endif + +# LIBPNG support +%if 0%{?mgaversion} +BuildRequires: %{_lib}png-devel +%endif +%if 0%{?mdkversion} && 0%{?pclinuxos} == 0 +BuildRequires: %{_lib}png15-devel +%endif +%if 0%{?suse_version} || 0%{?fedora} || 0%{?rhel} +BuildRequires: libpng-devel +%endif + +# GRAPHICSMAGICK support +%if 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?rhel} >= 5 +%define with_graphicsmagick 1 +%if 0%{?suse_version} +BuildRequires: GraphicsMagick >= 1.1.0 +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?suse_version} +BuildRequires: GraphicsMagick-devel >= 1.1.0 +%endif +%endif + +# UTEMPTER support +%if 0%{?suse_version} +BuildRequires: utempter-devel +%endif +%if 0%{?rhel} == 4 +BuildRequires: utempter +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?rhel} >= 5 +BuildRequires: libutempter-devel +%endif + +# POSTGRESQL support +# Requires 'libpqxx', for kexi-driver-pgqsl +%if 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version} +%define with_postgresql 1 +BuildRequires: libpqxx-devel +%endif +Obsoletes: trinity-libpqxx + +# WPD support +# For chalk and filters +BuildRequires: libwpd-devel +Obsoletes: trinity-libwpd + +# WV2 support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}wv2-devel +%endif +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +BuildRequires: wv2-devel +%endif + +# MESA support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}mesagl1-devel +BuildRequires: %{_lib}mesaglu1-devel +%endif +%if 0%{?fedora} || 0%{?rhel} +BuildRequires: libGL-devel +BuildRequires: libGLU-devel +%endif +%if 0%{?suse_version} >= 1220 +BuildRequires: Mesa-libGL-devel +BuildRequires: Mesa-libGLU-devel +%endif + +# OPENJPEG +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}openjpeg-devel +%endif + +# LIBXI support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xi-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} +BuildRequires: libXi-devel +%endif +%if 0%{?suse_version} == 1140 +BuildRequires: libXi6-devel +%endif +%if 0%{?suse_version} >= 1220 +BuildRequires: libXi-devel +%endif + + +%description +KOffice is an integrated office suite. + +########## + +%package suite +Summary: An integrated office suite +Group: Applications/Productivity +Obsoletes: %{name} <= %{version}-%{release} +Obsoletes: %{name}-i18n < 4:%{version} +Requires: %{name}-core = %{version}-%{release} +Requires: %{name}-kword = %{version}-%{release} +Requires: %{name}-kspread = %{version}-%{release} +Requires: %{name}-kpresenter = %{version}-%{release} +Requires: %{name}-kivio = %{version}-%{release} +Requires: %{name}-karbon = %{version}-%{release} +Requires: %{name}-kugar = %{version}-%{release} +Requires: %{name}-kexi = %{version}-%{release} +Requires: %{name}-kexi-driver-mysql = %{version}-%{release} +%{?with_postgresql:Requires: %{name}-kexi-driver-pgsql = %{version}-%{release}} +Requires: %{name}-kchart = %{version}-%{release} +Requires: %{name}-kformula = %{version}-%{release} +Requires: %{name}-filters = %{version}-%{release} +Requires: %{name}-kplato = %{version}-%{release} +Requires: %{name}-chalk = %{version}-%{release} + +%description suite +KOffice is an integrated office suite. + +%files suite +#empty => virtual package + +########## + +%package core +Summary: Core support files for %{name} +Group: Applications/Productivity +Requires: %{name}-libs = %{version}-%{release} +Requires: perl +Conflicts: koffice-i18n < %{version} + +%description core +%{summary}. + +%posttrans core +gtk-update-icon-cache %{tde_datadir}/icons/crystalsvg &> /dev/null || : +gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : +gtk-update-icon-cache %{tde_datadir}/icons/locolor &> /dev/null || : +update-desktop-database -q &> /dev/null ||: + +%post core +touch --no-create %{tde_datadir}/icons/crystalsvg &> /dev/null || : +touch --no-create %{tde_datadir}/icons/hicolor &> /dev/null || : +touch --no-create %{tde_datadir}/icons/locolor &> /dev/null || : + +%postun core +if [ $1 -eq 0 ]; then + gtk-update-icon-cache %{tde_datadir}/icons/crystalsvg &> /dev/null || : + gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : + gtk-update-icon-cache %{tde_datadir}/icons/locolor &> /dev/null || : + update-desktop-database -q &> /dev/null ||: +fi + +%files core +%defattr(-,root,root,-) +%doc AUTHORS COPYING README +%{tde_bindir}/koshell +%{tde_bindir}/kthesaurus +%{tde_bindir}/koconverter +%{tde_libdir}/libkdeinit_koshell.so +%{tde_libdir}/libkdeinit_kthesaurus.so +%{tde_tdelibdir}/kfile_koffice.* +%{tde_tdelibdir}/kfile_ooo.* +%{tde_tdelibdir}/kfile_abiword.* +%{tde_tdelibdir}/kfile_gnumeric.* +%{tde_tdelibdir}/kodocinfopropspage.* +%{tde_tdelibdir}/kofficescan.* +%{tde_tdelibdir}/kofficethumbnail.* +%{tde_tdelibdir}/koshell.* +%{tde_tdelibdir}/kthesaurus.* +%{tde_tdelibdir}/kwmailmerge_classic.* +%{tde_tdelibdir}/kwmailmerge_kabc.* +%{tde_tdelibdir}/kwmailmerge_qtsqldb_power.* +%{tde_tdelibdir}/kwmailmerge_qtsqldb.* +%{tde_tdelibdir}/libkounavailpart.* +%{tde_tdelibdir}/libkprkword.* +%{tde_tdelibdir}/libthesaurustool.* +%{tde_tdelibdir}/clipartthumbnail.* +%{tde_datadir}/apps/koffice/ +%{tde_datadir}/apps/konqueror/servicemenus/* +%{tde_datadir}/apps/koshell/ +%{tde_datadir}/apps/thesaurus/ +%{tde_datadir}/config.kcfg/koshell.kcfg +%{tde_tdedocdir}/HTML/en/koffice/ +%{tde_tdedocdir}/HTML/en/koshell/ +%{tde_tdedocdir}/HTML/en/thesaurus/ +%{tde_datadir}/icons/crystalsvg/*/*/* +%{tde_datadir}/icons/hicolor/*/*/* +%{tde_datadir}/icons/locolor/*/*/* +%{tde_datadir}/services/clipartthumbnail.desktop +%{tde_datadir}/services/kfile*.desktop +%{tde_datadir}/services/kwmailmerge*.desktop +%{tde_datadir}/services/kodocinfopropspage.desktop +%{tde_datadir}/services/kofficethumbnail.desktop +%{tde_datadir}/services/kounavail.desktop +%{tde_datadir}/services/kprkword.desktop +%{tde_datadir}/services/thesaurustool.desktop +%{tde_datadir}/servicetypes/kochart.desktop +%{tde_datadir}/servicetypes/kofficepart.desktop +%{tde_datadir}/servicetypes/koplugin.desktop +%{tde_datadir}/servicetypes/kwmailmerge.desktop +%{tde_datadir}/servicetypes/widgetfactory.desktop +%{tde_tdeappdir}/*koffice.desktop +%{tde_tdeappdir}/*KThesaurus.desktop +%{tde_tdeappdir}/*koshell.desktop +%{tde_datadir}/apps/kofficewidgets/ +%if 0%{?with_kross} +%{tde_datadir}/apps/kross/ +%{tde_tdelibdir}/krosspython.* +%if 0%{?with_ruby} +%{tde_tdelibdir}/krossruby.* +%endif +%endif + +########## + +%package libs +Summary: Runtime libraries for %{name} +Group: System Environment/Libraries +Conflicts: %{name} <= %{version}-%{release} +Requires: trinity-kdelibs +License: LGPLv2+ + +%description libs +%{summary}. + +%files libs +%defattr(-,root,root,-) +%doc COPYING.LIB +#_libdir/libk*common.so.* +%{tde_libdir}/libkarboncommon.so.* +%{tde_libdir}/libkspreadcommon.so.* +%{tde_libdir}/libkdchart.so.* +%{tde_libdir}/libkochart.so.* +%{tde_libdir}/libkofficecore.so.* +%{tde_libdir}/libkofficeui.so.* +%{tde_libdir}/libkotext.so.* +%{tde_libdir}/libkowmf.so.* +%{tde_libdir}/libkopainter.so.* +%{tde_libdir}/libkstore.so.* +%{tde_libdir}/libkwmailmerge_interface.so.* +%{tde_libdir}/libkwmf.so.* +%{tde_libdir}/libkformulalib.so.* +%{tde_libdir}/libkopalette.so.* +%{tde_libdir}/libkoproperty.so.* +%if 0%{?with_kross} +%{tde_libdir}/libkrossapi.so.* +%{tde_libdir}/libkrossmain.so.* +%endif + +%post libs +/sbin/ldconfig || : + +%postun libs +/sbin/ldconfig || : + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name}-libs = %{version}-%{release} +License: LGPLv2+ + +%description devel +%{summary}. + +%files devel +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/koffice-apidocs/ +%{tde_includedir}/* +# FIXME: include only shlib symlinks we know/want to export +%{tde_libdir}/lib*.so +%exclude %{tde_libdir}/libkdeinit_*.so +%exclude %{tde_libdir}/libkudesignercore.so + +########## + +%package kword +Summary: A frame-based word processor capable of professional standard documents +Group: Applications/Productivity +Requires: %{name}-core = %{version}-%{release} + +%description kword +%{summary}. + +%post kword +/sbin/ldconfig || : + +%postun kword +/sbin/ldconfig || : + +%posttrans kword +update-desktop-database -q &> /dev/null ||: + +%files kword +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/kword/ +%{tde_bindir}/kword +%{tde_libdir}/libkdeinit_kword.so +%{tde_libdir}/libkwordprivate.so.* +%{tde_tdelibdir}/libkwordpart.* +%{tde_tdelibdir}/kword.* +%{tde_datadir}/apps/kword/ +%{tde_datadir}/services/kword*.desktop +%{tde_datadir}/services/kwserial*.desktop +%{tde_datadir}/templates/TextDocument.desktop +%{tde_datadir}/templates/.source/TextDocument.kwt +%{tde_tdeappdir}/*kword.desktop + +########## + +%package kspread +Summary: A powerful spreadsheet application +Group: Applications/Productivity +Requires: %{name}-core = %{version}-%{release} + +%description kspread +%{summary}. + +%files kspread +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/kspread/ +%{tde_bindir}/kspread +%{tde_libdir}/libkdeinit_kspread.so +%{tde_tdelibdir}/kspread.* +%{tde_tdelibdir}/libkspreadpart.* +%{tde_tdelibdir}/kwmailmerge_kspread.* +%{tde_tdelibdir}/libcsvexport.* +%{tde_tdelibdir}/libcsvimport.* +%{tde_tdelibdir}/libgnumericexport.* +%{tde_tdelibdir}/libgnumericimport.* +%{tde_tdelibdir}/libkspreadhtmlexport.* +%{tde_tdelibdir}/libkspreadinsertcalendar.* +%{tde_tdelibdir}/libopencalcexport.* +%{tde_tdelibdir}/libopencalcimport.* +%{tde_tdelibdir}/libqproimport.* +%{tde_datadir}/apps/kspread/ +%{tde_datadir}/services/kspread*.desktop +%{tde_datadir}/templates/SpreadSheet.desktop +%{tde_datadir}/templates/.source/SpreadSheet.kst +%{tde_tdeappdir}/*kspread.desktop +%if 0%{?with_kross} +%{tde_tdelibdir}/kspreadscripting.* +%{tde_tdelibdir}/krosskspreadcore.* +%endif + +########## + +%package kpresenter +Summary: A full-featured presentation program +Group: Applications/Productivity +Requires: %{name}-core = %{version}-%{release} + +%description kpresenter +%{summary}. + +%post kpresenter +/sbin/ldconfig || : + +%postun kpresenter +/sbin/ldconfig || : + +%posttrans kpresenter +update-desktop-database -q &> /dev/null ||: + +%files kpresenter +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/kpresenter/ +%{tde_bindir}/kpresenter +%{tde_bindir}/kprconverter.pl +%{tde_libdir}/libkdeinit_kpresenter.so +%{tde_libdir}/libkpresenterimageexport.so.* +%{tde_libdir}/libkpresenterprivate.so.* +%{tde_tdelibdir}/*kpresenter*.* +%{tde_datadir}/apps/kpresenter/ +%{tde_datadir}/services/kpresenter*.desktop +%{tde_datadir}/templates/Presentation.desktop +%{tde_datadir}/templates/.source/Presentation.kpt +%{tde_tdeappdir}/*kpresenter.desktop + +########## + +%package kivio +Summary: A flowcharting application +Group: Applications/Productivity +Requires: %{name}-core = %{version}-%{release} +Obsoletes: kivio < %{version}-%{release} + +%description kivio +%{summary}. + +%files kivio +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/kivio/ +%{tde_bindir}/kivio +%{tde_libdir}/libkdeinit_kivio.so +%{tde_libdir}/libkiviocommon.so.* +%{tde_tdelibdir}/*kivio*.* +%{tde_tdelibdir}/straight_connector.* +%{tde_datadir}/apps/kivio/ +%{tde_datadir}/config.kcfg/kivio.kcfg +%{tde_datadir}/services/kivio*.desktop +%{tde_tdeappdir}/*kivio.desktop + +########## + +%package karbon +Summary: A vector drawing application +Group: Applications/Productivity +Requires: %{name}-core = %{version}-%{release} + +%description karbon +%{summary}. + +%post karbon +/sbin/ldconfig || : + +%postun karbon +/sbin/ldconfig || : + +%files karbon +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/karbon/ +%{tde_bindir}/karbon +%{tde_libdir}/libkdeinit_karbon.so +%{tde_tdelibdir}/*karbon*.* +%{tde_tdelibdir}/libwmfexport.* +%{tde_tdelibdir}/libwmfimport.* +%{tde_datadir}/apps/karbon/ +%{tde_datadir}/services/karbon* +%{tde_datadir}/servicetypes/karbon_module.desktop +%{tde_datadir}/templates/Illustration.desktop +%{tde_datadir}/templates/.source/Illustration.karbon +%{tde_tdeappdir}/*karbon.desktop + +########## + +%package kugar +Summary: A tool for generating business quality reports +Group: Applications/Productivity +Requires: %{name}-core = %{version}-%{release} + +%description kugar +%{summary}. + +%post kugar +/sbin/ldconfig || : + +%postun kugar +/sbin/ldconfig || : + +%posttrans kugar +update-desktop-database -q &> /dev/null ||: + +%files kugar +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/kugar/ +%{tde_bindir}/kugar +%{tde_bindir}/kudesigner +%{tde_libdir}/libkdeinit_kugar.so +%{tde_libdir}/libkdeinit_kudesigner.so +%{tde_libdir}/libkugarlib.so.* +%{tde_libdir}/libkudesignercore.so +%{tde_tdelibdir}/kudesigner.* +%{tde_tdelibdir}/kugar.* +%{tde_tdelibdir}/libkudesignerpart.* +%{tde_tdelibdir}/libkugarpart.* +%{tde_datadir}/apps/kudesigner/ +%{tde_datadir}/apps/kugar/ +%{tde_datadir}/services/kugar*.desktop +%{tde_tdeappdir}/*kugar.desktop +%{tde_tdeappdir}/*kudesigner.desktop + +########## + +%package kexi +Summary: An integrated environment for managing data +Group: Applications/Productivity +Requires: %{name}-core = %{version}-%{release} + +%if 0%{?with_postgresql} == 0 +Obsoletes: %{name}-kexi-driver-pgsql +%endif + +%description kexi +%{summary}. +For additional database drivers take a look at %{name}-kexi-driver-* + +%post kexi +/sbin/ldconfig || : + +%postun kexi +/sbin/ldconfig || : + +%posttrans kexi +update-desktop-database -q &> /dev/null ||: + +%files kexi +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/kexi/ +%{tde_bindir}/kexi* +%{tde_bindir}/ksqlite* +%{tde_libdir}/libkdeinit_kexi.so +%{tde_libdir}/libkexi*.so.* +%{tde_libdir}/libkformdesigner.so.* +%{tde_tdelibdir}/kformdesigner_*.* +%{tde_tdelibdir}/kexidb_sqlite2driver.* +%{tde_tdelibdir}/kexidb_sqlite3driver.* +%{tde_tdelibdir}/kexihandler_*.* +%{tde_tdelibdir}/kexi.* +# moved here to workaround bug #394101, alternative is to move libkexi(db|dbparser|utils) to -libs) +%{tde_tdelibdir}/libkspreadkexiimport.* +%{tde_datadir}/config/kexirc +%{tde_datadir}/config/magic/kexi.magic +%{tde_datadir}/mimelnk/application/* +%{tde_datadir}/servicetypes/kexi*.desktop +%{tde_datadir}/services/kexi/ +%{tde_datadir}/apps/kexi/ +%{tde_datadir}/services/kformdesigner/* +%{tde_tdeappdir}/*kexi.desktop +%{tde_datadir}/services/kexidb_sqlite*driver.desktop +%if 0%{?with_kross} +%{tde_bindir}/krossrunner +%{tde_tdelibdir}/krosskexiapp.* +%{tde_tdelibdir}/krosskexidb.* +%endif + +########## + +%package kexi-driver-mysql +Summary: Mysql-driver for kexi +Group: Applications/Productivity +Requires: %{name}-kexi = %{version}-%{release} + +%description kexi-driver-mysql +%{summary}. + +%files kexi-driver-mysql +%defattr(-,root,root,-) +%{tde_tdelibdir}/kexidb_mysqldriver.* +%{tde_tdelibdir}/keximigrate_mysql.* +%{tde_datadir}/services/keximigrate_mysql.desktop +%{tde_datadir}/services/kexidb_mysqldriver.desktop + +########## + +%if 0%{?with_postgresql} + +%package kexi-driver-pgsql +Summary: Postgresql driver for kexi +Group: Applications/Productivity +Requires: %{name}-kexi = %{version}-%{release} + +%description kexi-driver-pgsql +%{summary}. + +%files kexi-driver-pgsql +%defattr(-,root,root,-) +%{tde_tdelibdir}/kexidb_pqxxsqldriver.* +%{tde_tdelibdir}/keximigrate_pqxx.* +%{tde_datadir}/services/kexidb_pqxxsqldriver.desktop +%{tde_datadir}/services/keximigrate_pqxx.desktop + +%endif + +########## + +%package kchart +Summary: An integrated graph and chart drawing tool +Group: Applications/Productivity +Requires: %{name}-core = %{version}-%{release} + +%description kchart +%{summary}. + +%post kchart +/sbin/ldconfig || : + +%postun kchart +/sbin/ldconfig || : + +%posttrans kchart +update-desktop-database -q &> /dev/null ||: + +%files kchart +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/kchart/ +%{tde_bindir}/kchart +%{tde_libdir}/libkchart*.so.* +%{tde_libdir}/libkdeinit_kchart.so +%{tde_tdelibdir}/*kchart*.* +%{tde_datadir}/apps/kchart/ +%{tde_datadir}/services/kchart*.desktop +%{tde_tdeappdir}/*kchart.desktop + +########## + +%package kformula +Summary: A powerful formula editor +Group: Applications/Productivity +Requires: %{name}-core = %{version}-%{release} + +%if 0%{?mgaversion} || 0%{?mdkversion} +Requires: fonts-ttf-dejavu +%else +%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6 +Requires: dejavu-lgc-sans-fonts +Requires: lyx-cmex10-fonts +%endif +%if 0%{?rhel} == 5 +Requires: dejavu-lgc-fonts +Requires: lyx-cmex10-fonts +%endif +%if 0%{?suse_version} >= 1220 +Requires: dejavu-fonts +%endif +%if 0%{?suse_version} == 1140 +Requires: dejavu +%endif +%endif + +%description kformula +%{summary}. + +%files kformula +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/kformula/ +%{tde_bindir}/kformula +%{tde_libdir}/libkdeinit_kformula.so +%{tde_tdelibdir}/*kformula*.* +%{tde_datadir}/apps/kformula/ +%{tde_datadir}/services/kformula*.desktop +%{tde_tdeappdir}/*kformula.desktop + +########## + +%package filters +Summary: Import and Export Filters for KOffice +Group: Applications/Productivity +Requires: %{name}-core = %{version}-%{release} + +%description filters +%{summary}. + +%post filters +/sbin/ldconfig || : + +%postun filters +/sbin/ldconfig || : + +%files filters +%defattr(-,root,root,-) +%{tde_libdir}/libkwordexportfilters.so.* +%{tde_tdelibdir}/libabiwordexport.* +%{tde_tdelibdir}/libabiwordimport.* +%{tde_tdelibdir}/libamiproexport.* +%{tde_tdelibdir}/libamiproimport.* +%{tde_tdelibdir}/libapplixspreadimport.* +%{tde_tdelibdir}/libapplixwordimport.* +%{tde_tdelibdir}/libasciiexport.* +%{tde_tdelibdir}/libasciiimport.* +%{tde_tdelibdir}/libdbaseimport.* +%{tde_tdelibdir}/libdocbookexport.* +%{tde_tdelibdir}/libexcelimport.* +%{tde_tdelibdir}/libgenerickofilter.* +%{tde_tdelibdir}/libhtmlexport.* +%{tde_tdelibdir}/libhtmlimport.* +%{tde_tdelibdir}/libkarbonepsimport.* +%{tde_tdelibdir}/libkfolatexexport.* +%{tde_tdelibdir}/libkfomathmlexport.* +%{tde_tdelibdir}/libkfomathmlimport.* +%{tde_tdelibdir}/libkfopngexport.* +%{tde_tdelibdir}/libkspreadlatexexport.* +%{tde_tdelibdir}/libkugarnopimport.* +%{tde_tdelibdir}/libkwordkword1dot3import.* +%{tde_tdelibdir}/libkwordlatexexport.* +%{tde_tdelibdir}/libmswriteexport.* +%{tde_tdelibdir}/libmswriteimport.* +%{tde_tdelibdir}/libooimpressexport.* +%{tde_tdelibdir}/libooimpressimport.* +%{tde_tdelibdir}/liboowriterexport.* +%{tde_tdelibdir}/liboowriterimport.* +%{tde_tdelibdir}/libpalmdocexport.* +%{tde_tdelibdir}/libpalmdocimport.* +%{tde_tdelibdir}/libpdfimport.* +%{tde_tdelibdir}/librtfexport.* +%{tde_tdelibdir}/librtfimport.* +%{tde_tdelibdir}/libwmlexport.* +%{tde_tdelibdir}/libwmlimport.* +%{tde_tdelibdir}/libwpexport.* +%{tde_tdelibdir}/libwpimport.* +%{tde_tdelibdir}/libmswordimport.* +%{tde_tdelibdir}/libxsltimport.* +%{tde_tdelibdir}/libxsltexport.* +%{tde_tdelibdir}/libhancomwordimport.* +%{tde_tdelibdir}/libkfosvgexport.* +%{tde_tdelibdir}/liboodrawimport.* +%{tde_tdelibdir}/libolefilter.* +%{tde_datadir}/apps/xsltfilter/ +%{tde_datadir}/services/generic_filter.desktop +%{tde_datadir}/services/ole_powerpoint97_import.desktop +%{tde_datadir}/services/xslt*.desktop +%{tde_datadir}/servicetypes/kofilter*.desktop + +########## + +%package kplato +Summary: An integrated project management and planning tool +Group: Applications/Productivity +Requires: %{name}-core = %{version}-%{release} + +%description kplato +%{summary}. + +%files kplato +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/kplato/ +%{tde_bindir}/kplato +%{tde_libdir}/libkdeinit_kplato.so +%{tde_tdelibdir}/kplato.* +%{tde_tdelibdir}/libkplatopart.* +%{tde_datadir}/apps/kplato/ +%{tde_datadir}/services/kplatopart.desktop +%{tde_tdeappdir}/*kplato.desktop + +########## + +%package chalk +Summary: pixel-based image manipulation program for the TDE Office Suite [Trinity] +Group: Applications/Productivity +Requires: %{name}-core = %{version}-%{release} +Requires: %{name}-chalk-data = %{version}-%{release} +Requires: %{name}-filters + +%description chalk +Chalk is a painting and image editing application for KOffice. Chalk contains +both ease-of-use and fun features like guided painting. + +This package is part of the TDE Office Suite. + +%post chalk +/sbin/ldconfig || : + +%postun chalk +/sbin/ldconfig || : + +%posttrans chalk +update-desktop-database -q &> /dev/null ||: + +%files chalk +%defattr(-,root,root,-) +%{tde_bindir}/chalk +%{tde_tdelibdir}/chalkblurfilter.la +%{tde_tdelibdir}/chalkblurfilter.so +%{tde_tdelibdir}/chalkbumpmap.la +%{tde_tdelibdir}/chalkbumpmap.so +%{tde_tdelibdir}/chalkcimg.la +%{tde_tdelibdir}/chalkcimg.so +%{tde_tdelibdir}/chalk_cmyk_* +%{tde_tdelibdir}/chalkcmykplugin.la +%{tde_tdelibdir}/chalkcmykplugin.so +%{tde_tdelibdir}/chalkcolorify.la +%{tde_tdelibdir}/chalkcolorify.so +%{tde_tdelibdir}/chalkcolorrange.la +%{tde_tdelibdir}/chalkcolorrange.so +%{tde_tdelibdir}/chalkcolorsfilters.la +%{tde_tdelibdir}/chalkcolorsfilters.so +%{tde_tdelibdir}/chalkcolorspaceconversion.la +%{tde_tdelibdir}/chalkcolorspaceconversion.so +%{tde_tdelibdir}/chalkconvolutionfilters.la +%{tde_tdelibdir}/chalkconvolutionfilters.so +%{tde_tdelibdir}/chalkdefaultpaintops.la +%{tde_tdelibdir}/chalkdefaultpaintops.so +%{tde_tdelibdir}/chalkdefaulttools.la +%{tde_tdelibdir}/chalkdefaulttools.so +%{tde_tdelibdir}/chalkdropshadow.la +%{tde_tdelibdir}/chalkdropshadow.so +%{tde_tdelibdir}/chalkembossfilter.la +%{tde_tdelibdir}/chalkembossfilter.so +%{tde_tdelibdir}/chalkexample.la +%{tde_tdelibdir}/chalkexample.so +%{tde_tdelibdir}/chalkextensioncolorsfilters.la +%{tde_tdelibdir}/chalkextensioncolorsfilters.so +%{tde_tdelibdir}/chalkfastcolortransfer.la +%{tde_tdelibdir}/chalkfastcolortransfer.so +%{tde_tdelibdir}/chalkfiltersgallery.la +%{tde_tdelibdir}/chalkfiltersgallery.so +%{tde_tdelibdir}/chalk_gray_* +%{tde_tdelibdir}/chalkgrayplugin.la +%{tde_tdelibdir}/chalkgrayplugin.so +%{tde_tdelibdir}/chalkhistogramdocker.la +%{tde_tdelibdir}/chalkhistogramdocker.so +%{tde_tdelibdir}/chalkhistogram.la +%{tde_tdelibdir}/chalkhistogram.so +%{tde_tdelibdir}/chalkimageenhancement.la +%{tde_tdelibdir}/chalkimageenhancement.so +%{tde_tdelibdir}/chalkimagesize.la +%{tde_tdelibdir}/chalkimagesize.so +%{tde_tdelibdir}/chalk.la +%{tde_tdelibdir}/chalklenscorrectionfilter.la +%{tde_tdelibdir}/chalklenscorrectionfilter.so +%{tde_tdelibdir}/chalklevelfilter.la +%{tde_tdelibdir}/chalklevelfilter.so +%{tde_tdelibdir}/chalk_lms_* +%{tde_tdelibdir}/chalkmodifyselection.la +%{tde_tdelibdir}/chalkmodifyselection.so +%{tde_tdelibdir}/chalknoisefilter.la +%{tde_tdelibdir}/chalknoisefilter.so +%{tde_tdelibdir}/chalkoilpaintfilter.la +%{tde_tdelibdir}/chalkoilpaintfilter.so +%{tde_tdelibdir}/chalkpixelizefilter.la +%{tde_tdelibdir}/chalkpixelizefilter.so +%{tde_tdelibdir}/chalkraindropsfilter.la +%{tde_tdelibdir}/chalkraindropsfilter.so +%{tde_tdelibdir}/chalkrandompickfilter.la +%{tde_tdelibdir}/chalkrandompickfilter.so +%{tde_tdelibdir}/chalk_rgb_* +%{tde_tdelibdir}/chalkrgbplugin.la +%{tde_tdelibdir}/chalkrgbplugin.so +%{tde_tdelibdir}/chalkrotateimage.la +%{tde_tdelibdir}/chalkrotateimage.so +%{tde_tdelibdir}/chalkroundcornersfilter.la +%{tde_tdelibdir}/chalkroundcornersfilter.so +%{tde_tdelibdir}/chalkselectiontools.la +%{tde_tdelibdir}/chalkselectiontools.so +%{tde_tdelibdir}/chalkselectopaque.la +%{tde_tdelibdir}/chalkselectopaque.so +%{tde_tdelibdir}/chalkseparatechannels.la +%{tde_tdelibdir}/chalkseparatechannels.so +%{tde_tdelibdir}/chalkshearimage.la +%{tde_tdelibdir}/chalkshearimage.so +%{tde_tdelibdir}/chalksmalltilesfilter.la +%{tde_tdelibdir}/chalksmalltilesfilter.so +%{tde_tdelibdir}/chalk.so +%{tde_tdelibdir}/chalkscreenshot.la +%{tde_tdelibdir}/chalkscreenshot.so +%{tde_tdelibdir}/chalksobelfilter.la +%{tde_tdelibdir}/chalksobelfilter.so +%{tde_tdelibdir}/chalksubstrate.la +%{tde_tdelibdir}/chalksubstrate.so +%{tde_tdelibdir}/chalktoolcrop.la +%{tde_tdelibdir}/chalktoolcrop.so +%{tde_tdelibdir}/chalktoolcurves.la +%{tde_tdelibdir}/chalktoolcurves.so +%{tde_tdelibdir}/chalktoolfilter.la +%{tde_tdelibdir}/chalktoolfilter.so +%{tde_tdelibdir}/chalktoolperspectivegrid.la +%{tde_tdelibdir}/chalktoolperspectivegrid.so +%{tde_tdelibdir}/chalktoolperspectivetransform.la +%{tde_tdelibdir}/chalktoolperspectivetransform.so +%{tde_tdelibdir}/chalktoolpolygon.la +%{tde_tdelibdir}/chalktoolpolygon.so +%{tde_tdelibdir}/chalktoolpolyline.la +%{tde_tdelibdir}/chalktoolpolyline.so +%{tde_tdelibdir}/chalktoolselectsimilar.la +%{tde_tdelibdir}/chalktoolselectsimilar.so +%{tde_tdelibdir}/chalktoolstar.la +%{tde_tdelibdir}/chalktoolstar.so +%{tde_tdelibdir}/chalktooltransform.la +%{tde_tdelibdir}/chalktooltransform.so +%{tde_tdelibdir}/chalkunsharpfilter.la +%{tde_tdelibdir}/chalkunsharpfilter.so +%{tde_tdelibdir}/chalkwavefilter.la +%{tde_tdelibdir}/chalkwavefilter.so +%{tde_tdelibdir}/chalkwetplugin.la +%{tde_tdelibdir}/chalkwetplugin.so +%{tde_tdelibdir}/chalk_ycbcr_* +%if 0%{?with_graphicsmagick} +%{tde_tdelibdir}/libchalkgmagickexport.la +%{tde_tdelibdir}/libchalkgmagickexport.so +%{tde_tdelibdir}/libchalkgmagickimport.la +%{tde_tdelibdir}/libchalkgmagickimport.so +%{tde_tdelibdir}/libchalkjpegexport.la +%{tde_tdelibdir}/libchalkjpegexport.so +%{tde_tdelibdir}/libchalkjpegimport.la +%{tde_tdelibdir}/libchalkjpegimport.so +%endif +%{tde_tdelibdir}/libchalk_openexr_export.la +%{tde_tdelibdir}/libchalk_openexr_export.so +%{tde_tdelibdir}/libchalk_openexr_import.la +%{tde_tdelibdir}/libchalk_openexr_import.so +%{tde_tdelibdir}/libchalkpart.la +%{tde_tdelibdir}/libchalkpart.so +%{tde_tdelibdir}/libchalkpdfimport.la +%{tde_tdelibdir}/libchalkpdfimport.so +%{tde_tdelibdir}/libchalkpngexport.la +%{tde_tdelibdir}/libchalkpngexport.so +%{tde_tdelibdir}/libchalkpngimport.la +%{tde_tdelibdir}/libchalkpngimport.so +%{tde_tdelibdir}/libchalk_raw_import.la +%{tde_tdelibdir}/libchalk_raw_import.so +%if 0%{?with_graphicsmagick} +%{tde_tdelibdir}/libchalktiffexport.la +%{tde_tdelibdir}/libchalktiffexport.so +%{tde_tdelibdir}/libchalktiffimport.la +%{tde_tdelibdir}/libchalktiffimport.so +%endif +%{tde_libdir}/libkdeinit_chalk.so +%{tde_libdir}/libchalk_cmyk_*.so.* +%{tde_libdir}/libchalkcolor.so.* +%{tde_libdir}/libchalkcommon.so.* +%{tde_libdir}/libchalkgrayscale.so.* +%{tde_libdir}/libchalk_gray_*.so.* +%{tde_libdir}/libchalkimage.so.* +%{tde_libdir}/libchalk_lms_*.so.* +%{tde_libdir}/libchalk_rgb_*.so.* +%{tde_libdir}/libchalkrgb.so.* +%{tde_libdir}/libchalkui.so.* +%{tde_libdir}/libchalk_ycbcr_*.so.* +%if 0%{?with_kross} +%{tde_tdelibdir}/krosschalkcore.la +%{tde_tdelibdir}/krosschalkcore.so +%{tde_tdelibdir}/chalkscripting.la +%{tde_tdelibdir}/chalkscripting.so +%{tde_libdir}/libchalkscripting.so.* +%endif + +########## + +%package chalk-data +Summary: data files for Chalk painting program [Trinity] +Group: Applications/Productivity + +%description chalk-data +This package contains architecture-independent data files for Chalk, +the painting program shipped with the TDE Office Suite. + +See the chalk package for further information. + +This package is part of the TDE Office Suite. + +%files chalk-data +%defattr(-,root,root,-) +%{tde_tdeappdir}/chalk.desktop +%{tde_datadir}/applnk/.hidden/chalk_*.desktop +%{tde_datadir}/apps/konqueror/servicemenus/chalk_konqi.desktop +%{tde_datadir}/apps/chalk/ +%{tde_datadir}/apps/chalkplugins/ +%lang(en) %{tde_tdedocdir}/HTML/en/chalk/ +%{tde_datadir}/icons/hicolor/*/apps/chalk.png +%{tde_datadir}/services/chalk*.desktop +%{tde_datadir}/servicetypes/chalk*.desktop + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-3.5.13.2 + +%if 0%{?mgaversion} >= 3 || 0%{?pclinuxos} >= 2013 +%__cp /usr/share/automake-1.13/test-driver admin/ +%endif + +# use LGC variant instead +%__sed -i.dejavu-lgc \ + -e 's|DejaVu Sans|DejaVu LGC Sans|' \ + -e 's|dejavu sans|dejavu lgc sans|' \ + lib/kformula/{contextstyle,fontstyle,symboltable}.cc + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" +export KDEDIR="%{tde_prefix}" + +%if 0%{?suse_version} == 1220 +RD=$(ruby -r rbconfig -e 'printf("%s",Config::CONFIG["rubyhdrdir"])') +export CXXFLAGS="${CXXFLAGS} -I${RD}/%_normalized_cpu-linux" +%endif + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath --disable-dependency-tracking \ + --enable-new-ldflags \ + --disable-debug --disable-warnings \ + --with-pic --enable-shared --disable-static \ + --with-extra-libs=%{tde_libdir} \ + --enable-final \ + --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir}/arts \ + --enable-closure \ + --disable-kexi-macros \ + %{?with_kross:--enable-scripting} %{!?with_kross:--disable-scripting} \ + %{?with_postgresql:--enable-pgsql} %{!?with_postgresql:--disable-pgsql} \ + +%__make %{?_smp_mflags} + + +%install +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +# Replace absolute symlinks with relative ones +pushd %{buildroot}%{tde_tdedocdir}/HTML +for lang in *; do + if [ -d $lang ]; then + pushd $lang + for i in */*; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../../common $i/common + done + popd + fi +done +popd + +desktop-file-install \ + --dir=%{buildroot}%{tde_tdeappdir} \ + --vendor="" \ + --delete-original \ + %{buildroot}%{tde_datadir}/applnk/Office/*.desktop + +## Hack-in NoDisplay=True (http://bugzilla.redhat.com/245061) +## until http://bugzilla.redhat.com/245190 is fixed +%if 0%{?rhel} || 0%{?fedora} +for desktop_file in %{buildroot}%{tde_datadir}/applnk/.hidden/*.desktop ; do + grep "^NoDisplay=" ${desktop_file} || \ + echo "NoDisplay=True" >> ${desktop_file} +done +%endif + +## unpackaged files +# fonts +rm -rfv %{buildroot}%{tde_datadir}/apps/kformula/fonts/ +# libtool archives +rm -f %{buildroot}%{tde_libdir}/lib*.la +# shouldn't these be in koffice-l10n? +rm -f %{buildroot}%{tde_datadir}/locale/pl/LC_MESSAGES/kexi_{add,delete}_column_gui_transl_pl.sh +# -devel symlinks to nuke +rm -f %{buildroot}%{tde_libdir}/lib*common.so +rm -f %{buildroot}%{tde_libdir}/lib*filters.so +rm -f %{buildroot}%{tde_libdir}/lib*private.so +rm -f %{buildroot}%{tde_libdir}/libkarbon*.so +rm -f %{buildroot}%{tde_libdir}/libkchart*.so +rm -f %{buildroot}%{tde_libdir}/libkexi*.so +rm -f %{buildroot}%{tde_libdir}/libkisexiv2.so +rm -f %{buildroot}%{tde_libdir}/libkformdesigner.so +rm -f %{buildroot}%{tde_libdir}/libkplato*.so +rm -f %{buildroot}%{tde_libdir}/libkpresenter*.so +rm -f %{buildroot}%{tde_libdir}/libkword*.so +rm -f %{buildroot}%{tde_libdir}/libkross*.so +rm -f %{buildroot}%{tde_libdir}/libkugar*.so + + +%clean +%__rm -rf %{buildroot} + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 1.6.3-7 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 1.6.3-6 +- Initial build for TDE 3.5.13.1 + +* Sun Jul 08 2012 Francois Andriot - 1.6.3-5 +- Fix kformula dependancies (for RHEL6) +- Fix FTBFS due to missing libraries [Bug #657] [Commit #5c69fcd3] + Clean up lib paths in LDFLAGS - moved to LIBADD + For KWord and and KPresenter added linking kspell2 + For KSpread added linking kutils +- Fix accidental conversions of binary files [Bug #1033] [Commit #dbe89307] + +* Thu Apr 26 2012 Francois Andriot - 1.6.3-4 +- Updates BuildRequires +- Build for Fedora 17 +- Fix compilation with GCC 4.7 [Bug #958] +- Fix compilation with Ruby 1.9 [Bug #735] +- Fix compilation with libpng [Bug #603] + +* Sat Jan 07 2012 Francois Andriot - 1.6.3-3 +- Fix GraphicksMagick 1.3 support [Bug #353] +- Various patches for kexi [Bug #777] + +* Fri Nov 25 2011 Francois Andriot - 1.6.3-2 +- Fix HTML directory location + +* Tue Nov 22 2011 Francois Andriot - 1.6.3-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 +- Based on Spec file from Fedora 11 'koffice-2:1.6.3-25.20090306svn' +- Removed 'krita', added 'chalk' diff --git a/redhat/applications/koffice/koffice-3.5.13.spec b/redhat/applications/koffice/koffice-3.5.13.spec new file mode 100644 index 000000000..255c5560f --- /dev/null +++ b/redhat/applications/koffice/koffice-3.5.13.spec @@ -0,0 +1,1081 @@ +# Default version for this component +%define kdecomp koffice + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +# Disable Kross support for RHEL <= 5 (python is too old) +%if 0%{?fedora} > 0 || 0%{?rhel} >= 6 || 0%{?mgaversion} || 0%{?mdkversion} +%define with_kross 1 +%endif + +%if 0%{?fedora} >= 17 +%define with_ruby 0 +%else +%define with_ruby 1 +%endif + +# Ruby 1.9 includes are located in strance directories ... (taken from ruby 1.9 spec file) +%global _normalized_cpu %(echo %{_target_cpu} | sed 's/^ppc/powerpc/;s/i.86/i386/;s/sparcv./sparc/;s/armv.*/arm/') + + +Name: trinity-%{kdecomp} +Summary: An integrated office suite +Version: 1.6.3 +Release: 5%{?dist}%{?_variant} + +Group: Applications/Productivity +License: GPLv2+ + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz +Source100: koshell.png + +# [lib/kross/python/scripts/RestrictedPython/Utilities.py] Syntax error [Bug #679] +Patch2: koffice-3.5.13-kross_utilities_syntax.patch +# [koffice/chalk] Fix GraphicksMagick 1.3 support [Bug #353] +Patch3: koffice-3.5.13-chalk_gmagick.patch +# [koffice/kexi] Various patches for kexi, found on the web [Bug # 777] +Patch5: kexi-fix-possible-crash-in-buffered-mode-sqlite-2.patch +Patch6: kexi-hide_hourglass-1.1.3-2.patch +Patch7: kexi-fix-support-for-boolean-types-in-migration.patch +Patch8: kexi-mysql_migrate_long_text-1.1.3.patch +Patch9: kexi-fix-support-for-boolean-types.patch +Patch10: kexi-thoushand_objects_support-1.1.3-2.patch +Patch11: kexi-fp_expressions-1.1.3.patch +# [koffice] Fix compilation with GCC 4.7 [Bug #958] +Patch12: koffice-3.5.13-fix_gcc47_compilation.patch +# [koffice] Fix compilation with Ruby 1.9 [Bug #735] +Patch13: koffice-3.5.13-fix_ruby_1.9.patch +# [koffice] Fix compilation with libpng [Bug #603] +Patch14: koffice-3.5.13-fix_libpng.patch +# [koffice] Fix FTBFS due to missing libraries [Bug #657] [Commit #5c69fcd3] +# Clean up lib paths in LDFLAGS - moved to LIBADD +# For KWord and and KPresenter added linking kspell2 +# For KSpread added linking kutils +Patch15: koffice-3.5.13-fix_bug_657.patch +# [koffice] Fix accidental conversions of binary files [Bug #1033] [Commit #dbe89307] +Source1: koffice-3.5.13-damaged_binary_files.tar.gz +# [koffice] Missing LDFLAGS cause FTBFS on Mageia / Mandriva +Patch16: koffice-3.5.13-missing_ldflags.patch + +# BuildRequires: world-devel ;) +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdegraphics-devel +BuildRequires: automake libtool +BuildRequires: freetype-devel +BuildRequires: fontconfig-devel +BuildRequires: libart_lgpl-devel +BuildRequires: libpng-devel +BuildRequires: libtiff-devel +BuildRequires: libjpeg-devel +BuildRequires: ImageMagick-devel +BuildRequires: bzip2-devel +BuildRequires: zlib-devel +BuildRequires: openssl-devel +BuildRequires: python-devel +BuildRequires: pcre-devel +BuildRequires: lcms-devel +BuildRequires: gettext-devel +BuildRequires: mysql-devel +BuildRequires: desktop-file-utils +BuildRequires: perl +BuildRequires: doxygen +BuildRequires: aspell-devel +BuildRequires: libxslt-devel +BuildRequires: OpenEXR-devel +BuildRequires: libexif-devel +BuildRequires: readline-devel +%if 0%{?with_ruby} +BuildRequires: ruby ruby-devel >= 1.8.2 +%endif +BuildRequires: libpaper-devel +BuildRequires: libutempter-devel +BuildRequires: GraphicsMagick-devel >= 1.1.0 + +BuildRequires: trinity-tdegraphics-libpoppler-tqt-devel + +# These libraries are either too old or too recent on distributions ! +# We always provide our versions with TDE... +BuildRequires: trinity-libwpd-devel +BuildRequires: trinity-libpqxx-devel + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}mesagl1-devel +BuildRequires: %{_lib}mesaglu1-devel +BuildRequires: %{_lib}xi-devel +BuildRequires: wv2-devel +%else +BuildRequires: libGL-devel +BuildRequires: libGLU-devel +BuildRequires: libXi-devel +BuildRequires: trinity-wv2-devel +%endif + +%description +KOffice is an integrated office suite. + +%package suite +Summary: An integrated office suite +Group: Applications/Productivity +Obsoletes: %{name} <= %{version}-%{release} +Obsoletes: %{name}-i18n < 4:%{version} +Requires: %{name}-core = %{version}-%{release} +Requires: %{name}-kword = %{version}-%{release} +Requires: %{name}-kspread = %{version}-%{release} +Requires: %{name}-kpresenter = %{version}-%{release} +Requires: %{name}-kivio = %{version}-%{release} +Requires: %{name}-karbon = %{version}-%{release} +Requires: %{name}-kugar = %{version}-%{release} +Requires: %{name}-kexi = %{version}-%{release} +Requires: %{name}-kexi-driver-mysql = %{version}-%{release} +Requires: %{name}-kexi-driver-pgsql = %{version}-%{release} +Requires: %{name}-kchart = %{version}-%{release} +Requires: %{name}-kformula = %{version}-%{release} +Requires: %{name}-filters = %{version}-%{release} +Requires: %{name}-kplato = %{version}-%{release} +Requires: %{name}-chalk = %{version}-%{release} + +%description suite +KOffice is an integrated office suite. + +%package core +Summary: Core support files for %{name} +Group: Applications/Productivity +Requires: %{name}-libs = %{version}-%{release} +Requires: perl +Conflicts: koffice-i18n < %{version} +%description core +%{summary}. + +%package libs +Summary: Runtime libraries for %{name} +Group: System Environment/Libraries +Conflicts: %{name} <= %{version}-%{release} +Requires: trinity-kdelibs +License: LGPLv2+ +%description libs +%{summary}. + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name}-libs = %{version}-%{release} +License: LGPLv2+ +%description devel +%{summary}. + +%package kword +Summary: A frame-based word processor capable of professional standard documents +Group: Applications/Productivity +Requires: %{name}-core = %{version}-%{release} +%description kword +%{summary}. + +%package kspread +Summary: A powerful spreadsheet application +Group: Applications/Productivity +Requires: %{name}-core = %{version}-%{release} +%description kspread +%{summary}. + +%package kpresenter +Summary: A full-featured presentation program +Group: Applications/Productivity +Requires: %{name}-core = %{version}-%{release} +%description kpresenter +%{summary}. + +%package kivio +Summary: A flowcharting application +Group: Applications/Productivity +Requires: %{name}-core = %{version}-%{release} +Obsoletes: kivio < %{version}-%{release} +%description kivio +%{summary}. + +%package karbon +Summary: A vector drawing application +Group: Applications/Productivity +Requires: %{name}-core = %{version}-%{release} +%description karbon +%{summary}. + +%package kugar +Summary: A tool for generating business quality reports +Group: Applications/Productivity +Requires: %{name}-core = %{version}-%{release} +%description kugar +%{summary}. + +%package kexi +Summary: An integrated environment for managing data +Group: Applications/Productivity +Requires: %{name}-core = %{version}-%{release} +%description kexi +%{summary}. +For additional database drivers take a look at %{name}-kexi-driver-* + +%package kexi-driver-mysql +Summary: Mysql-driver for kexi +Group: Applications/Productivity +Requires: %{name}-kexi = %{version}-%{release} +%description kexi-driver-mysql +%{summary}. + +%package kexi-driver-pgsql +Summary: Postgresql driver for kexi +Group: Applications/Productivity +Requires: %{name}-kexi = %{version}-%{release} +%description kexi-driver-pgsql +%{summary}. + +%package kchart +Summary: An integrated graph and chart drawing tool +Group: Applications/Productivity +Requires: %{name}-core = %{version}-%{release} +%description kchart +%{summary}. + +%package kformula +Summary: A powerful formula editor +Group: Applications/Productivity +Requires: %{name}-core = %{version}-%{release} + +%if 0%{?mgaversion} || 0%{?mdkversion} +Requires: fonts-ttf-dejavu +%else +Requires: lyx-cmex10-fonts +%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6 +Requires: dejavu-lgc-sans-fonts +%else +Requires: dejavu-lgc-fonts +%endif +%endif + +%description kformula +%{summary}. + +%package filters +Summary: Import and Export Filters for KOffice +Group: Applications/Productivity +Requires: %{name}-core = %{version}-%{release} +%description filters +%{summary}. + +%package kplato +Summary: An integrated project management and planning tool +Group: Applications/Productivity +Requires: %{name}-core = %{version}-%{release} +%description kplato +%{summary}. + +%package chalk +Summary: pixel-based image manipulation program for the TDE Office Suite [Trinity] +Group: Applications/Productivity +Requires: %{name}-core = %{version}-%{release} +Requires: %{name}-chalk-data = %{version}-%{release} +Requires: %{name}-filters +%description chalk +Chalk is a painting and image editing application for KOffice. Chalk contains +both ease-of-use and fun features like guided painting. + +This package is part of the TDE Office Suite. + +%package chalk-data +Summary: data files for Chalk painting program [Trinity] +Group: Applications/Productivity +%description chalk-data +This package contains architecture-independent data files for Chalk, +the painting program shipped with the TDE Office Suite. + +See the chalk package for further information. + +This package is part of the TDE Office Suite. + + + +%prep +%setup -q -n applications/%{kdecomp} +%setup -q -n applications/%{kdecomp} -a 1 + +#patch0 -p1 +#patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch5 -p0 +%patch6 -p0 +%patch7 -p0 +%patch8 -p0 +%patch9 -p0 +%patch10 -p0 +%patch11 -p0 +%patch12 -p1 -b .gcc47 +%if 0%{?fedora} >= 17 +%patch13 -p1 -b .ruby +%patch14 -p1 -b .libpng +%endif +%patch15 -p1 +%patch16 -p1 + +# use LGC variant instead +%__sed -i.dejavu-lgc \ + -e 's|DejaVu Sans|DejaVu LGC Sans|' \ + -e 's|dejavu sans|dejavu lgc sans|' \ + lib/kformula/{contextstyle,fontstyle,symboltable}.cc + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath --disable-dependency-tracking \ + --enable-new-ldflags \ + --disable-debug --disable-warnings \ + --with-pic --enable-shared --disable-static \ + --with-extra-libs=%{tde_libdir} \ + --enable-final \ + --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir}/arts \ + --enable-closure \ + --disable-kexi-macros \ + --with-pqxx-includes=%{tde_includedir} \ + --with-pqxx-libraries=%{tde_libdir} \ +%if 0%{?with_kross} > 0 + --enable-scripting \ +%else + --disable-scripting \ +%endif + +%__make %{?_smp_mflags} + + +%install +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +[ ! -f %{buildroot}%{tde_datadir}/icons/hicolor/48x48/apps/koshell.png ] && \ +%__install -p -D -m644 %{SOURCE100} %{buildroot}%{tde_datadir}/icons/hicolor/48x48/apps/koshell.png + +# Replace absolute symlinks with relative ones +pushd %{buildroot}%{tde_tdedocdir}/HTML +for lang in *; do + if [ -d $lang ]; then + pushd $lang + for i in */*; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../../common $i/common + done + popd + fi +done +popd + +desktop-file-install \ + --dir=%{buildroot}%{tde_tdeappdir} \ + --vendor="" \ + --delete-original \ + %{buildroot}%{tde_datadir}/applnk/Office/*.desktop + +## Hack-in NoDisplay=True (http://bugzilla.redhat.com/245061) +## until http://bugzilla.redhat.com/245190 is fixed +%if 0%{?rhel} || 0%{?fedora} +for desktop_file in %{buildroot}%{tde_datadir}/applnk/.hidden/*.desktop ; do + grep "^NoDisplay=" ${desktop_file} || \ + echo "NoDisplay=True" >> ${desktop_file} +done +%endif + +## unpackaged files +# fonts +rm -rfv %{buildroot}%{tde_datadir}/apps/kformula/fonts/ +# libtool archives +rm -f %{buildroot}%{tde_libdir}/lib*.la +# shouldn't these be in koffice-l10n? +rm -f %{buildroot}%{tde_datadir}/locale/pl/LC_MESSAGES/kexi_{add,delete}_column_gui_transl_pl.sh +# -devel symlinks to nuke +rm -f %{buildroot}%{tde_libdir}/lib*common.so +rm -f %{buildroot}%{tde_libdir}/lib*filters.so +rm -f %{buildroot}%{tde_libdir}/lib*private.so +rm -f %{buildroot}%{tde_libdir}/libkarbon*.so +rm -f %{buildroot}%{tde_libdir}/libkchart*.so +rm -f %{buildroot}%{tde_libdir}/libkexi*.so +rm -f %{buildroot}%{tde_libdir}/libkisexiv2.so +rm -f %{buildroot}%{tde_libdir}/libkformdesigner.so +rm -f %{buildroot}%{tde_libdir}/libkplato*.so +rm -f %{buildroot}%{tde_libdir}/libkpresenter*.so +rm -f %{buildroot}%{tde_libdir}/libkword*.so +rm -f %{buildroot}%{tde_libdir}/libkross*.so +rm -f %{buildroot}%{tde_libdir}/libkugar*.so + + +%clean +%__rm -rf %{buildroot} + +%post core +touch --no-create %{tde_datadir}/icons/crystalsvg &> /dev/null || : +touch --no-create %{tde_datadir}/icons/hicolor &> /dev/null || : +touch --no-create %{tde_datadir}/icons/locolor &> /dev/null || : + +%postun core +if [ $1 -eq 0 ]; then + gtk-update-icon-cache %{tde_datadir}/icons/crystalsvg &> /dev/null || : + gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : + gtk-update-icon-cache %{tde_datadir}/icons/locolor &> /dev/null || : + update-desktop-database -q &> /dev/null ||: +fi + +%posttrans core +gtk-update-icon-cache %{tde_datadir}/icons/crystalsvg &> /dev/null || : +gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : +gtk-update-icon-cache %{tde_datadir}/icons/locolor &> /dev/null || : +update-desktop-database -q &> /dev/null ||: + +%post karbon +/sbin/ldconfig || : + +%postun karbon +/sbin/ldconfig || : + +%post kword +/sbin/ldconfig || : + +%postun kword +/sbin/ldconfig || : + +%posttrans kword +update-desktop-database -q &> /dev/null ||: + +%post kpresenter +/sbin/ldconfig || : + +%postun kpresenter +/sbin/ldconfig || : + +%posttrans kpresenter +update-desktop-database -q &> /dev/null ||: + +%post kugar +/sbin/ldconfig || : + +%postun kugar +/sbin/ldconfig || : + +%posttrans kugar +update-desktop-database -q &> /dev/null ||: + +%post kexi +/sbin/ldconfig || : + +%postun kexi +/sbin/ldconfig || : + +%posttrans kexi +update-desktop-database -q &> /dev/null ||: + +%post kchart +/sbin/ldconfig || : + +%postun kchart +/sbin/ldconfig || : + +%posttrans kchart +update-desktop-database -q &> /dev/null ||: + +%post filters +/sbin/ldconfig || : + +%postun filters +/sbin/ldconfig || : + +%post libs +/sbin/ldconfig || : + +%postun libs +/sbin/ldconfig || : + +%post chalk +/sbin/ldconfig || : + +%postun chalk +/sbin/ldconfig || : + +%posttrans chalk +update-desktop-database -q &> /dev/null ||: + +%files suite +#empty => virtual package + +%files core +%defattr(-,root,root,-) +%doc AUTHORS COPYING README +%{tde_bindir}/koshell +%{tde_bindir}/kthesaurus +%{tde_bindir}/koconverter +%{tde_libdir}/libkdeinit_koshell.so +%{tde_libdir}/libkdeinit_kthesaurus.so +%{tde_tdelibdir}/kfile_koffice.* +%{tde_tdelibdir}/kfile_ooo.* +%{tde_tdelibdir}/kfile_abiword.* +%{tde_tdelibdir}/kfile_gnumeric.* +%{tde_tdelibdir}/kodocinfopropspage.* +%{tde_tdelibdir}/kofficescan.* +%{tde_tdelibdir}/kofficethumbnail.* +%{tde_tdelibdir}/koshell.* +%{tde_tdelibdir}/kthesaurus.* +%{tde_tdelibdir}/kwmailmerge_classic.* +%{tde_tdelibdir}/kwmailmerge_kabc.* +%{tde_tdelibdir}/kwmailmerge_qtsqldb_power.* +%{tde_tdelibdir}/kwmailmerge_qtsqldb.* +%{tde_tdelibdir}/libkounavailpart.* +%{tde_tdelibdir}/libkprkword.* +%{tde_tdelibdir}/libthesaurustool.* +%{tde_tdelibdir}/clipartthumbnail.* +%{tde_datadir}/apps/koffice/ +%{tde_datadir}/apps/konqueror/servicemenus/* +%{tde_datadir}/apps/koshell/ +%{tde_datadir}/apps/thesaurus/ +%{tde_datadir}/config.kcfg/koshell.kcfg +%{tde_tdedocdir}/HTML/en/koffice/ +%{tde_tdedocdir}/HTML/en/koshell/ +%{tde_tdedocdir}/HTML/en/thesaurus/ +%{tde_datadir}/icons/crystalsvg/*/*/* +%{tde_datadir}/icons/hicolor/*/*/* +%{tde_datadir}/icons/locolor/*/*/* +%{tde_datadir}/services/clipartthumbnail.desktop +%{tde_datadir}/services/kfile*.desktop +%{tde_datadir}/services/kwmailmerge*.desktop +%{tde_datadir}/services/kodocinfopropspage.desktop +%{tde_datadir}/services/kofficethumbnail.desktop +%{tde_datadir}/services/kounavail.desktop +%{tde_datadir}/services/kprkword.desktop +%{tde_datadir}/services/thesaurustool.desktop +%{tde_datadir}/servicetypes/kochart.desktop +%{tde_datadir}/servicetypes/kofficepart.desktop +%{tde_datadir}/servicetypes/koplugin.desktop +%{tde_datadir}/servicetypes/kwmailmerge.desktop +%{tde_datadir}/servicetypes/widgetfactory.desktop +%{tde_tdeappdir}/*koffice.desktop +%{tde_tdeappdir}/*KThesaurus.desktop +%{tde_tdeappdir}/*koshell.desktop +%{tde_datadir}/apps/kofficewidgets/ +%if 0%{?with_kross} > 0 +%{tde_datadir}/apps/kross/ +%{tde_tdelibdir}/krosspython.* +%if 0%{?with_ruby} +%{tde_tdelibdir}/krossruby.* +%endif +%endif + +%files libs +%defattr(-,root,root,-) +%doc COPYING.LIB +#_libdir/libk*common.so.* +%{tde_libdir}/libkarboncommon.so.* +%{tde_libdir}/libkspreadcommon.so.* +%{tde_libdir}/libkdchart.so.* +%{tde_libdir}/libkochart.so.* +%{tde_libdir}/libkofficecore.so.* +%{tde_libdir}/libkofficeui.so.* +%{tde_libdir}/libkotext.so.* +%{tde_libdir}/libkowmf.so.* +%{tde_libdir}/libkopainter.so.* +%{tde_libdir}/libkstore.so.* +%{tde_libdir}/libkwmailmerge_interface.so.* +%{tde_libdir}/libkwmf.so.* +%{tde_libdir}/libkformulalib.so.* +%{tde_libdir}/libkopalette.so.* +%{tde_libdir}/libkoproperty.so.* +%if 0%{?with_kross} > 0 +%{tde_libdir}/libkrossapi.so.* +%{tde_libdir}/libkrossmain.so.* +%endif + +%files devel +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/koffice-apidocs/ +%{tde_includedir}/* +# FIXME: include only shlib symlinks we know/want to export +%{tde_libdir}/lib*.so +%exclude %{tde_libdir}/libkdeinit_*.so +%exclude %{tde_libdir}/libkudesignercore.so + +%files kword +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/kword/ +%{tde_bindir}/kword +%{tde_libdir}/libkdeinit_kword.so +%{tde_libdir}/libkwordprivate.so.* +%{tde_tdelibdir}/libkwordpart.* +%{tde_tdelibdir}/kword.* +%{tde_datadir}/apps/kword/ +%{tde_datadir}/services/kword*.desktop +%{tde_datadir}/services/kwserial*.desktop +%{tde_datadir}/templates/TextDocument.desktop +%{tde_datadir}/templates/.source/TextDocument.kwt +%{tde_tdeappdir}/*kword.desktop + +%files kspread +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/kspread/ +%{tde_bindir}/kspread +%{tde_libdir}/libkdeinit_kspread.so +%{tde_tdelibdir}/kspread.* +%{tde_tdelibdir}/libkspreadpart.* +%{tde_tdelibdir}/kwmailmerge_kspread.* +%{tde_tdelibdir}/libcsvexport.* +%{tde_tdelibdir}/libcsvimport.* +%{tde_tdelibdir}/libgnumericexport.* +%{tde_tdelibdir}/libgnumericimport.* +%{tde_tdelibdir}/libkspreadhtmlexport.* +%{tde_tdelibdir}/libkspreadinsertcalendar.* +%{tde_tdelibdir}/libopencalcexport.* +%{tde_tdelibdir}/libopencalcimport.* +%{tde_tdelibdir}/libqproimport.* +%{tde_datadir}/apps/kspread/ +%{tde_datadir}/services/kspread*.desktop +%{tde_datadir}/templates/SpreadSheet.desktop +%{tde_datadir}/templates/.source/SpreadSheet.kst +%{tde_tdeappdir}/*kspread.desktop +%if 0%{?with_kross} > 0 +%{tde_tdelibdir}/kspreadscripting.* +%{tde_tdelibdir}/krosskspreadcore.* +%endif + +%files kpresenter +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/kpresenter/ +%{tde_bindir}/kpresenter +%{tde_bindir}/kprconverter.pl +%{tde_libdir}/libkdeinit_kpresenter.so +%{tde_libdir}/libkpresenterimageexport.so.* +%{tde_libdir}/libkpresenterprivate.so.* +%{tde_tdelibdir}/*kpresenter*.* +%{tde_datadir}/apps/kpresenter/ +%{tde_datadir}/services/kpresenter*.desktop +%{tde_datadir}/templates/Presentation.desktop +%{tde_datadir}/templates/.source/Presentation.kpt +%{tde_tdeappdir}/*kpresenter.desktop + +%files karbon +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/karbon/ +%{tde_bindir}/karbon +%{tde_libdir}/libkdeinit_karbon.so +%{tde_tdelibdir}/*karbon*.* +%{tde_tdelibdir}/libwmfexport.* +%{tde_tdelibdir}/libwmfimport.* +%{tde_datadir}/apps/karbon/ +%{tde_datadir}/services/karbon* +%{tde_datadir}/servicetypes/karbon_module.desktop +%{tde_datadir}/templates/Illustration.desktop +%{tde_datadir}/templates/.source/Illustration.karbon +%{tde_tdeappdir}/*karbon.desktop + +%files kugar +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/kugar/ +%{tde_bindir}/kugar +%{tde_bindir}/kudesigner +%{tde_libdir}/libkdeinit_kugar.so +%{tde_libdir}/libkdeinit_kudesigner.so +%{tde_libdir}/libkugarlib.so.* +%{tde_libdir}/libkudesignercore.so +%{tde_tdelibdir}/kudesigner.* +%{tde_tdelibdir}/kugar.* +%{tde_tdelibdir}/libkudesignerpart.* +%{tde_tdelibdir}/libkugarpart.* +%{tde_datadir}/apps/kudesigner/ +%{tde_datadir}/apps/kugar/ +%{tde_datadir}/services/kugar*.desktop +%{tde_tdeappdir}/*kugar.desktop +%{tde_tdeappdir}/*kudesigner.desktop + +%files kexi +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/kexi/ +%{tde_bindir}/kexi* +%{tde_bindir}/ksqlite* +%{tde_libdir}/libkdeinit_kexi.so +%{tde_libdir}/libkexi*.so.* +%{tde_libdir}/libkformdesigner.so.* +%{tde_tdelibdir}/kformdesigner_*.* +%{tde_tdelibdir}/kexidb_sqlite2driver.* +%{tde_tdelibdir}/kexidb_sqlite3driver.* +%{tde_tdelibdir}/kexihandler_*.* +%{tde_tdelibdir}/kexi.* +# moved here to workaround bug #394101, alternative is to move libkexi(db|dbparser|utils) to -libs) +%{tde_tdelibdir}/libkspreadkexiimport.* +%{tde_datadir}/config/kexirc +%{tde_datadir}/config/magic/kexi.magic +%{tde_datadir}/mimelnk/application/* +%{tde_datadir}/servicetypes/kexi*.desktop +%{tde_datadir}/services/kexi/ +%{tde_datadir}/apps/kexi/ +%{tde_datadir}/services/kformdesigner/* +%{tde_tdeappdir}/*kexi.desktop +%{tde_datadir}/services/kexidb_sqlite*driver.desktop +%if 0%{?with_kross} > 0 +%{tde_bindir}/krossrunner +%{tde_tdelibdir}/krosskexiapp.* +%{tde_tdelibdir}/krosskexidb.* +%endif + +%files kexi-driver-mysql +%defattr(-,root,root,-) +%{tde_tdelibdir}/kexidb_mysqldriver.* +%{tde_tdelibdir}/keximigrate_mysql.* +%{tde_datadir}/services/keximigrate_mysql.desktop +%{tde_datadir}/services/kexidb_mysqldriver.desktop + +%files kexi-driver-pgsql +%defattr(-,root,root,-) +%{tde_tdelibdir}/kexidb_pqxxsqldriver.* +%{tde_tdelibdir}/keximigrate_pqxx.* +%{tde_datadir}/services/kexidb_pqxxsqldriver.desktop +%{tde_datadir}/services/keximigrate_pqxx.desktop + +%files kchart +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/kchart/ +%{tde_bindir}/kchart +%{tde_libdir}/libkchart*.so.* +%{tde_libdir}/libkdeinit_kchart.so +%{tde_tdelibdir}/*kchart*.* +%{tde_datadir}/apps/kchart/ +%{tde_datadir}/services/kchart*.desktop +%{tde_tdeappdir}/*kchart.desktop + +%files kformula +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/kformula/ +%{tde_bindir}/kformula +%{tde_libdir}/libkdeinit_kformula.so +%{tde_tdelibdir}/*kformula*.* +%{tde_datadir}/apps/kformula/ +%{tde_datadir}/services/kformula*.desktop +%{tde_tdeappdir}/*kformula.desktop + +%files kivio +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/kivio/ +%{tde_bindir}/kivio +%{tde_libdir}/libkdeinit_kivio.so +%{tde_libdir}/libkiviocommon.so.* +%{tde_tdelibdir}/*kivio*.* +%{tde_tdelibdir}/straight_connector.* +%{tde_datadir}/apps/kivio/ +%{tde_datadir}/config.kcfg/kivio.kcfg +%{tde_datadir}/services/kivio*.desktop +%{tde_tdeappdir}/*kivio.desktop + +%files filters +%defattr(-,root,root,-) +%{tde_libdir}/libkwordexportfilters.so.* +%{tde_tdelibdir}/libabiwordexport.* +%{tde_tdelibdir}/libabiwordimport.* +%{tde_tdelibdir}/libamiproexport.* +%{tde_tdelibdir}/libamiproimport.* +%{tde_tdelibdir}/libapplixspreadimport.* +%{tde_tdelibdir}/libapplixwordimport.* +%{tde_tdelibdir}/libasciiexport.* +%{tde_tdelibdir}/libasciiimport.* +%{tde_tdelibdir}/libdbaseimport.* +%{tde_tdelibdir}/libdocbookexport.* +%{tde_tdelibdir}/libexcelimport.* +%{tde_tdelibdir}/libgenerickofilter.* +%{tde_tdelibdir}/libhtmlexport.* +%{tde_tdelibdir}/libhtmlimport.* +%{tde_tdelibdir}/libkarbonepsimport.* +%{tde_tdelibdir}/libkfolatexexport.* +%{tde_tdelibdir}/libkfomathmlexport.* +%{tde_tdelibdir}/libkfomathmlimport.* +%{tde_tdelibdir}/libkfopngexport.* +%{tde_tdelibdir}/libkspreadlatexexport.* +%{tde_tdelibdir}/libkugarnopimport.* +%{tde_tdelibdir}/libkwordkword1dot3import.* +%{tde_tdelibdir}/libkwordlatexexport.* +%{tde_tdelibdir}/libmswriteexport.* +%{tde_tdelibdir}/libmswriteimport.* +%{tde_tdelibdir}/libooimpressexport.* +%{tde_tdelibdir}/libooimpressimport.* +%{tde_tdelibdir}/liboowriterexport.* +%{tde_tdelibdir}/liboowriterimport.* +%{tde_tdelibdir}/libpalmdocexport.* +%{tde_tdelibdir}/libpalmdocimport.* +%{tde_tdelibdir}/libpdfimport.* +%{tde_tdelibdir}/librtfexport.* +%{tde_tdelibdir}/librtfimport.* +%{tde_tdelibdir}/libwmlexport.* +%{tde_tdelibdir}/libwmlimport.* +%{tde_tdelibdir}/libwpexport.* +%{tde_tdelibdir}/libwpimport.* +%{tde_tdelibdir}/libmswordimport.* +%{tde_tdelibdir}/libxsltimport.* +%{tde_tdelibdir}/libxsltexport.* +%{tde_tdelibdir}/libhancomwordimport.* +%{tde_tdelibdir}/libkfosvgexport.* +%{tde_tdelibdir}/liboodrawimport.* +%{tde_tdelibdir}/libolefilter.* +%{tde_datadir}/apps/xsltfilter/ +%{tde_datadir}/services/generic_filter.desktop +%{tde_datadir}/services/ole_powerpoint97_import.desktop +%{tde_datadir}/services/xslt*.desktop +%{tde_datadir}/servicetypes/kofilter*.desktop + +%files kplato +%defattr(-,root,root,-) +%lang(en) %{tde_tdedocdir}/HTML/en/kplato/ +%{tde_bindir}/kplato +%{tde_libdir}/libkdeinit_kplato.so +%{tde_tdelibdir}/kplato.* +%{tde_tdelibdir}/libkplatopart.* +%{tde_datadir}/apps/kplato/ +%{tde_datadir}/services/kplatopart.desktop +%{tde_tdeappdir}/*kplato.desktop + +%files chalk +%defattr(-,root,root,-) +%{tde_bindir}/chalk +%{tde_tdelibdir}/chalkblurfilter.la +%{tde_tdelibdir}/chalkblurfilter.so +%{tde_tdelibdir}/chalkbumpmap.la +%{tde_tdelibdir}/chalkbumpmap.so +%{tde_tdelibdir}/chalkcimg.la +%{tde_tdelibdir}/chalkcimg.so +%{tde_tdelibdir}/chalk_cmyk_* +%{tde_tdelibdir}/chalkcmykplugin.la +%{tde_tdelibdir}/chalkcmykplugin.so +%{tde_tdelibdir}/chalkcolorify.la +%{tde_tdelibdir}/chalkcolorify.so +%{tde_tdelibdir}/chalkcolorrange.la +%{tde_tdelibdir}/chalkcolorrange.so +%{tde_tdelibdir}/chalkcolorsfilters.la +%{tde_tdelibdir}/chalkcolorsfilters.so +%{tde_tdelibdir}/chalkcolorspaceconversion.la +%{tde_tdelibdir}/chalkcolorspaceconversion.so +%{tde_tdelibdir}/chalkconvolutionfilters.la +%{tde_tdelibdir}/chalkconvolutionfilters.so +%{tde_tdelibdir}/chalkdefaultpaintops.la +%{tde_tdelibdir}/chalkdefaultpaintops.so +%{tde_tdelibdir}/chalkdefaulttools.la +%{tde_tdelibdir}/chalkdefaulttools.so +%{tde_tdelibdir}/chalkdropshadow.la +%{tde_tdelibdir}/chalkdropshadow.so +%{tde_tdelibdir}/chalkembossfilter.la +%{tde_tdelibdir}/chalkembossfilter.so +%{tde_tdelibdir}/chalkexample.la +%{tde_tdelibdir}/chalkexample.so +%{tde_tdelibdir}/chalkextensioncolorsfilters.la +%{tde_tdelibdir}/chalkextensioncolorsfilters.so +%{tde_tdelibdir}/chalkfastcolortransfer.la +%{tde_tdelibdir}/chalkfastcolortransfer.so +%{tde_tdelibdir}/chalkfiltersgallery.la +%{tde_tdelibdir}/chalkfiltersgallery.so +%{tde_tdelibdir}/chalk_gray_* +%{tde_tdelibdir}/chalkgrayplugin.la +%{tde_tdelibdir}/chalkgrayplugin.so +%{tde_tdelibdir}/chalkhistogramdocker.la +%{tde_tdelibdir}/chalkhistogramdocker.so +%{tde_tdelibdir}/chalkhistogram.la +%{tde_tdelibdir}/chalkhistogram.so +%{tde_tdelibdir}/chalkimageenhancement.la +%{tde_tdelibdir}/chalkimageenhancement.so +%{tde_tdelibdir}/chalkimagesize.la +%{tde_tdelibdir}/chalkimagesize.so +%{tde_tdelibdir}/chalk.la +%{tde_tdelibdir}/chalklenscorrectionfilter.la +%{tde_tdelibdir}/chalklenscorrectionfilter.so +%{tde_tdelibdir}/chalklevelfilter.la +%{tde_tdelibdir}/chalklevelfilter.so +%{tde_tdelibdir}/chalk_lms_* +%{tde_tdelibdir}/chalkmodifyselection.la +%{tde_tdelibdir}/chalkmodifyselection.so +%{tde_tdelibdir}/chalknoisefilter.la +%{tde_tdelibdir}/chalknoisefilter.so +%{tde_tdelibdir}/chalkoilpaintfilter.la +%{tde_tdelibdir}/chalkoilpaintfilter.so +%{tde_tdelibdir}/chalkpixelizefilter.la +%{tde_tdelibdir}/chalkpixelizefilter.so +%{tde_tdelibdir}/chalkraindropsfilter.la +%{tde_tdelibdir}/chalkraindropsfilter.so +%{tde_tdelibdir}/chalkrandompickfilter.la +%{tde_tdelibdir}/chalkrandompickfilter.so +%{tde_tdelibdir}/chalk_rgb_* +%{tde_tdelibdir}/chalkrgbplugin.la +%{tde_tdelibdir}/chalkrgbplugin.so +%{tde_tdelibdir}/chalkrotateimage.la +%{tde_tdelibdir}/chalkrotateimage.so +%{tde_tdelibdir}/chalkroundcornersfilter.la +%{tde_tdelibdir}/chalkroundcornersfilter.so +%{tde_tdelibdir}/chalkselectiontools.la +%{tde_tdelibdir}/chalkselectiontools.so +%{tde_tdelibdir}/chalkselectopaque.la +%{tde_tdelibdir}/chalkselectopaque.so +%{tde_tdelibdir}/chalkseparatechannels.la +%{tde_tdelibdir}/chalkseparatechannels.so +%{tde_tdelibdir}/chalkshearimage.la +%{tde_tdelibdir}/chalkshearimage.so +%{tde_tdelibdir}/chalksmalltilesfilter.la +%{tde_tdelibdir}/chalksmalltilesfilter.so +%{tde_tdelibdir}/chalk.so +%{tde_tdelibdir}/chalkscreenshot.la +%{tde_tdelibdir}/chalkscreenshot.so +%{tde_tdelibdir}/chalksobelfilter.la +%{tde_tdelibdir}/chalksobelfilter.so +%{tde_tdelibdir}/chalksubstrate.la +%{tde_tdelibdir}/chalksubstrate.so +%{tde_tdelibdir}/chalktoolcrop.la +%{tde_tdelibdir}/chalktoolcrop.so +%{tde_tdelibdir}/chalktoolcurves.la +%{tde_tdelibdir}/chalktoolcurves.so +%{tde_tdelibdir}/chalktoolfilter.la +%{tde_tdelibdir}/chalktoolfilter.so +%{tde_tdelibdir}/chalktoolperspectivegrid.la +%{tde_tdelibdir}/chalktoolperspectivegrid.so +%{tde_tdelibdir}/chalktoolperspectivetransform.la +%{tde_tdelibdir}/chalktoolperspectivetransform.so +%{tde_tdelibdir}/chalktoolpolygon.la +%{tde_tdelibdir}/chalktoolpolygon.so +%{tde_tdelibdir}/chalktoolpolyline.la +%{tde_tdelibdir}/chalktoolpolyline.so +%{tde_tdelibdir}/chalktoolselectsimilar.la +%{tde_tdelibdir}/chalktoolselectsimilar.so +%{tde_tdelibdir}/chalktoolstar.la +%{tde_tdelibdir}/chalktoolstar.so +%{tde_tdelibdir}/chalktooltransform.la +%{tde_tdelibdir}/chalktooltransform.so +%{tde_tdelibdir}/chalkunsharpfilter.la +%{tde_tdelibdir}/chalkunsharpfilter.so +%{tde_tdelibdir}/chalkwavefilter.la +%{tde_tdelibdir}/chalkwavefilter.so +%{tde_tdelibdir}/chalkwetplugin.la +%{tde_tdelibdir}/chalkwetplugin.so +%{tde_tdelibdir}/chalk_ycbcr_* +%{tde_tdelibdir}/libchalkgmagickexport.la +%{tde_tdelibdir}/libchalkgmagickexport.so +%{tde_tdelibdir}/libchalkgmagickimport.la +%{tde_tdelibdir}/libchalkgmagickimport.so +%{tde_tdelibdir}/libchalkjpegexport.la +%{tde_tdelibdir}/libchalkjpegexport.so +%{tde_tdelibdir}/libchalkjpegimport.la +%{tde_tdelibdir}/libchalkjpegimport.so +%{tde_tdelibdir}/libchalk_openexr_export.la +%{tde_tdelibdir}/libchalk_openexr_export.so +%{tde_tdelibdir}/libchalk_openexr_import.la +%{tde_tdelibdir}/libchalk_openexr_import.so +%{tde_tdelibdir}/libchalkpart.la +%{tde_tdelibdir}/libchalkpart.so +%{tde_tdelibdir}/libchalkpdfimport.la +%{tde_tdelibdir}/libchalkpdfimport.so +%{tde_tdelibdir}/libchalkpngexport.la +%{tde_tdelibdir}/libchalkpngexport.so +%{tde_tdelibdir}/libchalkpngimport.la +%{tde_tdelibdir}/libchalkpngimport.so +%{tde_tdelibdir}/libchalk_raw_import.la +%{tde_tdelibdir}/libchalk_raw_import.so +%{tde_tdelibdir}/libchalktiffexport.la +%{tde_tdelibdir}/libchalktiffexport.so +%{tde_tdelibdir}/libchalktiffimport.la +%{tde_tdelibdir}/libchalktiffimport.so +%{tde_libdir}/libkdeinit_chalk.so +%{tde_libdir}/libchalk_cmyk_*.so.* +%{tde_libdir}/libchalkcolor.so.* +%{tde_libdir}/libchalkcommon.so.* +%{tde_libdir}/libchalkgrayscale.so.* +%{tde_libdir}/libchalk_gray_*.so.* +%{tde_libdir}/libchalkimage.so.* +%{tde_libdir}/libchalk_lms_*.so.* +%{tde_libdir}/libchalk_rgb_*.so.* +%{tde_libdir}/libchalkrgb.so.* +%{tde_libdir}/libchalkui.so.* +%{tde_libdir}/libchalk_ycbcr_*.so.* +%if 0%{?with_kross} > 0 +%{tde_tdelibdir}/krosschalkcore.la +%{tde_tdelibdir}/krosschalkcore.so +%{tde_tdelibdir}/chalkscripting.la +%{tde_tdelibdir}/chalkscripting.so +%{tde_libdir}/libchalkscripting.so.* +%endif + +%files chalk-data +%{tde_tdeappdir}/chalk.desktop +%{tde_datadir}/applnk/.hidden/chalk_*.desktop +%{tde_datadir}/apps/konqueror/servicemenus/chalk_konqi.desktop +%{tde_datadir}/apps/chalk +%{tde_datadir}/apps/chalkplugins +%lang(en) %{tde_tdedocdir}/HTML/en/chalk +%{tde_datadir}/icons/hicolor/*/apps/chalk.png +%{tde_datadir}/services/chalk*.desktop +%{tde_datadir}/servicetypes/chalk*.desktop + + +%changelog +* Sun Jul 08 2012 Francois Andriot - 1.6.3-5 +- Fix kformula dependancies (for RHEL6) +- Fix FTBFS due to missing libraries [Bug #657] [Commit #5c69fcd3] + Clean up lib paths in LDFLAGS - moved to LIBADD + For KWord and and KPresenter added linking kspell2 + For KSpread added linking kutils +- Fix accidental conversions of binary files [Bug #1033] [Commit #dbe89307] + +* Thu Apr 26 2012 Francois Andriot - 1.6.3-4 +- Updates BuildRequires +- Build for Fedora 17 +- Fix compilation with GCC 4.7 [Bug #958] +- Fix compilation with Ruby 1.9 [Bug #735] +- Fix compilation with libpng [Bug #603] + +* Sat Jan 07 2012 Francois Andriot - 1.6.3-3 +- Fix GraphicksMagick 1.3 support [Bug #353] +- Various patches for kexi [Bug #777] + +* Fri Nov 25 2011 Francois Andriot - 1.6.3-2 +- Fix HTML directory location + +* Tue Nov 22 2011 Francois Andriot - 1.6.3-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 +- Based on Spec file from Fedora 11 'koffice-2:1.6.3-25.20090306svn' +- Removed 'krita', added 'chalk' diff --git a/redhat/applications/koffice/trinity-koffice-3.5.13.1.spec b/redhat/applications/koffice/trinity-koffice-3.5.13.1.spec deleted file mode 100644 index 33821517b..000000000 --- a/redhat/applications/koffice/trinity-koffice-3.5.13.1.spec +++ /dev/null @@ -1,1081 +0,0 @@ -# Default version for this component -%define kdecomp koffice - -# Required for Mageia 2: removes the ldflag '--no-undefined' -%define _disable_ld_no_undefined 1 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -# Disable Kross support for RHEL <= 5 (python is too old) -%if 0%{?fedora} > 0 || 0%{?rhel} >= 6 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define with_kross 1 -%endif - -%if 0%{?fedora} >= 17 -%define with_ruby 0 -%else -%define with_ruby 1 -%endif - -# Ruby 1.9 includes are located in strance directories ... (taken from ruby 1.9 spec file) -%global _normalized_cpu %(echo %{_target_cpu} | sed 's/^ppc/powerpc/;s/i.86/i386/;s/sparcv./sparc/;s/armv.*/arm/') - - -Name: trinity-%{kdecomp} -Summary: An integrated office suite -Version: 1.6.3 -Release: 6%{?dist}%{?_variant} - -Group: Applications/Productivity -License: GPLv2+ - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -# [koffice] Fix compilation with Ruby 1.9 [Bug #735] -Patch13: koffice-3.5.13-fix_ruby_1.9.patch - -# BuildRequires: world-devel ;) -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdegraphics-devel >= 3.5.13.1 -BuildRequires: trinity-tdegraphics-libpoppler-tqt-devel >= 3.5.13.1 -BuildRequires: automake libtool -BuildRequires: freetype-devel -BuildRequires: fontconfig-devel -BuildRequires: libart_lgpl-devel -%if ( 0%{?mdkversion} || 0%{?mgaversion} ) && 0%{?pclinuxos} == 0 -BuildRequires: %{_lib}png15-devel -%else -BuildRequires: libpng-devel -%endif -BuildRequires: libtiff-devel -BuildRequires: libjpeg-devel -BuildRequires: ImageMagick-devel -BuildRequires: zlib-devel -BuildRequires: openssl-devel -BuildRequires: python-devel -BuildRequires: pcre-devel -BuildRequires: gettext-devel -BuildRequires: mysql-devel -BuildRequires: desktop-file-utils -BuildRequires: perl -BuildRequires: doxygen -BuildRequires: aspell-devel -BuildRequires: libxslt-devel -BuildRequires: OpenEXR-devel -BuildRequires: libexif-devel -BuildRequires: readline-devel -%if 0%{?with_ruby} -BuildRequires: ruby ruby-devel >= 1.8.2 -%endif -%if 0%{?suse_version} -BuildRequires: GraphicsMagick >= 1.1.0 -%endif -BuildRequires: GraphicsMagick-devel >= 1.1.0 - -%if 0%{?suse_version} -BuildRequires: libbz2-devel -BuildRequires: liblcms-devel -BuildRequires: utempter-devel -%else -BuildRequires: bzip2-devel -BuildRequires: lcms-devel -BuildRequires: libutempter-devel - -BuildRequires: libpaper-devel -%endif - - -# These libraries are either too old or too recent on distributions ! -# We always provide our versions with TDE... -BuildRequires: trinity-libwpd-devel -BuildRequires: trinity-libpqxx-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}mesagl1-devel -BuildRequires: %{_lib}mesaglu1-devel -BuildRequires: %{_lib}xi-devel -BuildRequires: wv2-devel -BuildRequires: %{_lib}openjpeg-devel -%endif -%if 0%{?fedora} || 0%{?rhel} -BuildRequires: libGL-devel -BuildRequires: libGLU-devel -BuildRequires: libXi-devel -BuildRequires: trinity-wv2-devel -%endif -%if 0%{?suse_version} -BuildRequires: Mesa-libGL-devel -BuildRequires: Mesa-libGLU-devel -BuildRequires: libXi-devel -BuildRequires: wv2-devel -%endif - -%description -KOffice is an integrated office suite. - -%package suite -Summary: An integrated office suite -Group: Applications/Productivity -Obsoletes: %{name} <= %{version}-%{release} -Obsoletes: %{name}-i18n < 4:%{version} -Requires: %{name}-core = %{version}-%{release} -Requires: %{name}-kword = %{version}-%{release} -Requires: %{name}-kspread = %{version}-%{release} -Requires: %{name}-kpresenter = %{version}-%{release} -Requires: %{name}-kivio = %{version}-%{release} -Requires: %{name}-karbon = %{version}-%{release} -Requires: %{name}-kugar = %{version}-%{release} -Requires: %{name}-kexi = %{version}-%{release} -Requires: %{name}-kexi-driver-mysql = %{version}-%{release} -Requires: %{name}-kexi-driver-pgsql = %{version}-%{release} -Requires: %{name}-kchart = %{version}-%{release} -Requires: %{name}-kformula = %{version}-%{release} -Requires: %{name}-filters = %{version}-%{release} -Requires: %{name}-kplato = %{version}-%{release} -Requires: %{name}-chalk = %{version}-%{release} - -%description suite -KOffice is an integrated office suite. - -%package core -Summary: Core support files for %{name} -Group: Applications/Productivity -Requires: %{name}-libs = %{version}-%{release} -Requires: perl -Conflicts: koffice-i18n < %{version} -%description core -%{summary}. - -%package libs -Summary: Runtime libraries for %{name} -Group: System Environment/Libraries -Conflicts: %{name} <= %{version}-%{release} -Requires: trinity-kdelibs -License: LGPLv2+ -%description libs -%{summary}. - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name}-libs = %{version}-%{release} -License: LGPLv2+ -%description devel -%{summary}. - -%package kword -Summary: A frame-based word processor capable of professional standard documents -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -%description kword -%{summary}. - -%package kspread -Summary: A powerful spreadsheet application -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -%description kspread -%{summary}. - -%package kpresenter -Summary: A full-featured presentation program -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -%description kpresenter -%{summary}. - -%package kivio -Summary: A flowcharting application -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -Obsoletes: kivio < %{version}-%{release} -%description kivio -%{summary}. - -%package karbon -Summary: A vector drawing application -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -%description karbon -%{summary}. - -%package kugar -Summary: A tool for generating business quality reports -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -%description kugar -%{summary}. - -%package kexi -Summary: An integrated environment for managing data -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -%description kexi -%{summary}. -For additional database drivers take a look at %{name}-kexi-driver-* - -%package kexi-driver-mysql -Summary: Mysql-driver for kexi -Group: Applications/Productivity -Requires: %{name}-kexi = %{version}-%{release} -%description kexi-driver-mysql -%{summary}. - -%package kexi-driver-pgsql -Summary: Postgresql driver for kexi -Group: Applications/Productivity -Requires: %{name}-kexi = %{version}-%{release} -%description kexi-driver-pgsql -%{summary}. - -%package kchart -Summary: An integrated graph and chart drawing tool -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -%description kchart -%{summary}. - -%package kformula -Summary: A powerful formula editor -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} - -%if 0%{?mgaversion} || 0%{?mdkversion} -Requires: fonts-ttf-dejavu -%else -%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6 -Requires: dejavu-lgc-sans-fonts -Requires: lyx-cmex10-fonts -%endif -%if 0%{?rhel} == 5 -Requires: dejavu-lgc-fonts -Requires: lyx-cmex10-fonts -%endif -%if 0%{?suse_version} -Requires: dejavu-fonts -%endif -%endif - -%description kformula -%{summary}. - -%package filters -Summary: Import and Export Filters for KOffice -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -%description filters -%{summary}. - -%package kplato -Summary: An integrated project management and planning tool -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -%description kplato -%{summary}. - -%package chalk -Summary: pixel-based image manipulation program for the TDE Office Suite [Trinity] -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -Requires: %{name}-chalk-data = %{version}-%{release} -Requires: %{name}-filters -%description chalk -Chalk is a painting and image editing application for KOffice. Chalk contains -both ease-of-use and fun features like guided painting. - -This package is part of the TDE Office Suite. - -%package chalk-data -Summary: data files for Chalk painting program [Trinity] -Group: Applications/Productivity -%description chalk-data -This package contains architecture-independent data files for Chalk, -the painting program shipped with the TDE Office Suite. - -See the chalk package for further information. - -This package is part of the TDE Office Suite. - - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -%if 0%{?fedora} >= 17 || 0%{?suse_version} >= 1220 -%patch13 -p1 -b .ruby -%endif - -# use LGC variant instead -%__sed -i.dejavu-lgc \ - -e 's|DejaVu Sans|DejaVu LGC Sans|' \ - -e 's|dejavu sans|dejavu lgc sans|' \ - lib/kformula/{contextstyle,fontstyle,symboltable}.cc - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -%if 0%{?suse_version} == 1220 -RD=$(ruby -r rbconfig -e 'printf("%s",Config::CONFIG["rubyhdrdir"])') -export CXXFLAGS="${CXXFLAGS} -I${RD}/%_normalized_cpu-linux" -%endif - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath --disable-dependency-tracking \ - --enable-new-ldflags \ - --disable-debug --disable-warnings \ - --with-pic --enable-shared --disable-static \ - --with-extra-libs=%{tde_libdir} \ - --enable-final \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir}/arts \ - --enable-closure \ - --disable-kexi-macros \ - --with-pqxx-includes=%{tde_includedir} \ - --with-pqxx-libraries=%{tde_libdir} \ -%if 0%{?with_kross} - --enable-scripting \ -%else - --disable-scripting \ -%endif - -%__make %{?_smp_mflags} - - -%install -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -# Replace absolute symlinks with relative ones -pushd %{buildroot}%{tde_tdedocdir}/HTML -for lang in *; do - if [ -d $lang ]; then - pushd $lang - for i in */*; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../../common $i/common - done - popd - fi -done -popd - -desktop-file-install \ - --dir=%{buildroot}%{tde_tdeappdir} \ - --vendor="" \ - --delete-original \ - %{buildroot}%{tde_datadir}/applnk/Office/*.desktop - -## Hack-in NoDisplay=True (http://bugzilla.redhat.com/245061) -## until http://bugzilla.redhat.com/245190 is fixed -%if 0%{?rhel} || 0%{?fedora} -for desktop_file in %{buildroot}%{tde_datadir}/applnk/.hidden/*.desktop ; do - grep "^NoDisplay=" ${desktop_file} || \ - echo "NoDisplay=True" >> ${desktop_file} -done -%endif - -## unpackaged files -# fonts -rm -rfv %{buildroot}%{tde_datadir}/apps/kformula/fonts/ -# libtool archives -rm -f %{buildroot}%{tde_libdir}/lib*.la -# shouldn't these be in koffice-l10n? -rm -f %{buildroot}%{tde_datadir}/locale/pl/LC_MESSAGES/kexi_{add,delete}_column_gui_transl_pl.sh -# -devel symlinks to nuke -rm -f %{buildroot}%{tde_libdir}/lib*common.so -rm -f %{buildroot}%{tde_libdir}/lib*filters.so -rm -f %{buildroot}%{tde_libdir}/lib*private.so -rm -f %{buildroot}%{tde_libdir}/libkarbon*.so -rm -f %{buildroot}%{tde_libdir}/libkchart*.so -rm -f %{buildroot}%{tde_libdir}/libkexi*.so -rm -f %{buildroot}%{tde_libdir}/libkisexiv2.so -rm -f %{buildroot}%{tde_libdir}/libkformdesigner.so -rm -f %{buildroot}%{tde_libdir}/libkplato*.so -rm -f %{buildroot}%{tde_libdir}/libkpresenter*.so -rm -f %{buildroot}%{tde_libdir}/libkword*.so -rm -f %{buildroot}%{tde_libdir}/libkross*.so -rm -f %{buildroot}%{tde_libdir}/libkugar*.so - - -%clean -%__rm -rf %{buildroot} - -%post core -touch --no-create %{tde_datadir}/icons/crystalsvg &> /dev/null || : -touch --no-create %{tde_datadir}/icons/hicolor &> /dev/null || : -touch --no-create %{tde_datadir}/icons/locolor &> /dev/null || : - -%postun core -if [ $1 -eq 0 ]; then - gtk-update-icon-cache %{tde_datadir}/icons/crystalsvg &> /dev/null || : - gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : - gtk-update-icon-cache %{tde_datadir}/icons/locolor &> /dev/null || : - update-desktop-database -q &> /dev/null ||: -fi - -%posttrans core -gtk-update-icon-cache %{tde_datadir}/icons/crystalsvg &> /dev/null || : -gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : -gtk-update-icon-cache %{tde_datadir}/icons/locolor &> /dev/null || : -update-desktop-database -q &> /dev/null ||: - -%post karbon -/sbin/ldconfig || : - -%postun karbon -/sbin/ldconfig || : - -%post kword -/sbin/ldconfig || : - -%postun kword -/sbin/ldconfig || : - -%posttrans kword -update-desktop-database -q &> /dev/null ||: - -%post kpresenter -/sbin/ldconfig || : - -%postun kpresenter -/sbin/ldconfig || : - -%posttrans kpresenter -update-desktop-database -q &> /dev/null ||: - -%post kugar -/sbin/ldconfig || : - -%postun kugar -/sbin/ldconfig || : - -%posttrans kugar -update-desktop-database -q &> /dev/null ||: - -%post kexi -/sbin/ldconfig || : - -%postun kexi -/sbin/ldconfig || : - -%posttrans kexi -update-desktop-database -q &> /dev/null ||: - -%post kchart -/sbin/ldconfig || : - -%postun kchart -/sbin/ldconfig || : - -%posttrans kchart -update-desktop-database -q &> /dev/null ||: - -%post filters -/sbin/ldconfig || : - -%postun filters -/sbin/ldconfig || : - -%post libs -/sbin/ldconfig || : - -%postun libs -/sbin/ldconfig || : - -%post chalk -/sbin/ldconfig || : - -%postun chalk -/sbin/ldconfig || : - -%posttrans chalk -update-desktop-database -q &> /dev/null ||: - -%files suite -#empty => virtual package - -%files core -%defattr(-,root,root,-) -%doc AUTHORS COPYING README -%{tde_bindir}/koshell -%{tde_bindir}/kthesaurus -%{tde_bindir}/koconverter -%{tde_libdir}/libkdeinit_koshell.so -%{tde_libdir}/libkdeinit_kthesaurus.so -%{tde_tdelibdir}/kfile_koffice.* -%{tde_tdelibdir}/kfile_ooo.* -%{tde_tdelibdir}/kfile_abiword.* -%{tde_tdelibdir}/kfile_gnumeric.* -%{tde_tdelibdir}/kodocinfopropspage.* -%{tde_tdelibdir}/kofficescan.* -%{tde_tdelibdir}/kofficethumbnail.* -%{tde_tdelibdir}/koshell.* -%{tde_tdelibdir}/kthesaurus.* -%{tde_tdelibdir}/kwmailmerge_classic.* -%{tde_tdelibdir}/kwmailmerge_kabc.* -%{tde_tdelibdir}/kwmailmerge_qtsqldb_power.* -%{tde_tdelibdir}/kwmailmerge_qtsqldb.* -%{tde_tdelibdir}/libkounavailpart.* -%{tde_tdelibdir}/libkprkword.* -%{tde_tdelibdir}/libthesaurustool.* -%{tde_tdelibdir}/clipartthumbnail.* -%{tde_datadir}/apps/koffice/ -%{tde_datadir}/apps/konqueror/servicemenus/* -%{tde_datadir}/apps/koshell/ -%{tde_datadir}/apps/thesaurus/ -%{tde_datadir}/config.kcfg/koshell.kcfg -%{tde_tdedocdir}/HTML/en/koffice/ -%{tde_tdedocdir}/HTML/en/koshell/ -%{tde_tdedocdir}/HTML/en/thesaurus/ -%{tde_datadir}/icons/crystalsvg/*/*/* -%{tde_datadir}/icons/hicolor/*/*/* -%{tde_datadir}/icons/locolor/*/*/* -%{tde_datadir}/services/clipartthumbnail.desktop -%{tde_datadir}/services/kfile*.desktop -%{tde_datadir}/services/kwmailmerge*.desktop -%{tde_datadir}/services/kodocinfopropspage.desktop -%{tde_datadir}/services/kofficethumbnail.desktop -%{tde_datadir}/services/kounavail.desktop -%{tde_datadir}/services/kprkword.desktop -%{tde_datadir}/services/thesaurustool.desktop -%{tde_datadir}/servicetypes/kochart.desktop -%{tde_datadir}/servicetypes/kofficepart.desktop -%{tde_datadir}/servicetypes/koplugin.desktop -%{tde_datadir}/servicetypes/kwmailmerge.desktop -%{tde_datadir}/servicetypes/widgetfactory.desktop -%{tde_tdeappdir}/*koffice.desktop -%{tde_tdeappdir}/*KThesaurus.desktop -%{tde_tdeappdir}/*koshell.desktop -%{tde_datadir}/apps/kofficewidgets/ -%if 0%{?with_kross} -%{tde_datadir}/apps/kross/ -%{tde_tdelibdir}/krosspython.* -%if 0%{?with_ruby} -%{tde_tdelibdir}/krossruby.* -%endif -%endif - -%files libs -%defattr(-,root,root,-) -%doc COPYING.LIB -#_libdir/libk*common.so.* -%{tde_libdir}/libkarboncommon.so.* -%{tde_libdir}/libkspreadcommon.so.* -%{tde_libdir}/libkdchart.so.* -%{tde_libdir}/libkochart.so.* -%{tde_libdir}/libkofficecore.so.* -%{tde_libdir}/libkofficeui.so.* -%{tde_libdir}/libkotext.so.* -%{tde_libdir}/libkowmf.so.* -%{tde_libdir}/libkopainter.so.* -%{tde_libdir}/libkstore.so.* -%{tde_libdir}/libkwmailmerge_interface.so.* -%{tde_libdir}/libkwmf.so.* -%{tde_libdir}/libkformulalib.so.* -%{tde_libdir}/libkopalette.so.* -%{tde_libdir}/libkoproperty.so.* -%if 0%{?with_kross} -%{tde_libdir}/libkrossapi.so.* -%{tde_libdir}/libkrossmain.so.* -%endif - -%files devel -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/koffice-apidocs/ -%{tde_includedir}/* -# FIXME: include only shlib symlinks we know/want to export -%{tde_libdir}/lib*.so -%exclude %{tde_libdir}/libkdeinit_*.so -%exclude %{tde_libdir}/libkudesignercore.so - -%files kword -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kword/ -%{tde_bindir}/kword -%{tde_libdir}/libkdeinit_kword.so -%{tde_libdir}/libkwordprivate.so.* -%{tde_tdelibdir}/libkwordpart.* -%{tde_tdelibdir}/kword.* -%{tde_datadir}/apps/kword/ -%{tde_datadir}/services/kword*.desktop -%{tde_datadir}/services/kwserial*.desktop -%{tde_datadir}/templates/TextDocument.desktop -%{tde_datadir}/templates/.source/TextDocument.kwt -%{tde_tdeappdir}/*kword.desktop - -%files kspread -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kspread/ -%{tde_bindir}/kspread -%{tde_libdir}/libkdeinit_kspread.so -%{tde_tdelibdir}/kspread.* -%{tde_tdelibdir}/libkspreadpart.* -%{tde_tdelibdir}/kwmailmerge_kspread.* -%{tde_tdelibdir}/libcsvexport.* -%{tde_tdelibdir}/libcsvimport.* -%{tde_tdelibdir}/libgnumericexport.* -%{tde_tdelibdir}/libgnumericimport.* -%{tde_tdelibdir}/libkspreadhtmlexport.* -%{tde_tdelibdir}/libkspreadinsertcalendar.* -%{tde_tdelibdir}/libopencalcexport.* -%{tde_tdelibdir}/libopencalcimport.* -%{tde_tdelibdir}/libqproimport.* -%{tde_datadir}/apps/kspread/ -%{tde_datadir}/services/kspread*.desktop -%{tde_datadir}/templates/SpreadSheet.desktop -%{tde_datadir}/templates/.source/SpreadSheet.kst -%{tde_tdeappdir}/*kspread.desktop -%if 0%{?with_kross} -%{tde_tdelibdir}/kspreadscripting.* -%{tde_tdelibdir}/krosskspreadcore.* -%endif - -%files kpresenter -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kpresenter/ -%{tde_bindir}/kpresenter -%{tde_bindir}/kprconverter.pl -%{tde_libdir}/libkdeinit_kpresenter.so -%{tde_libdir}/libkpresenterimageexport.so.* -%{tde_libdir}/libkpresenterprivate.so.* -%{tde_tdelibdir}/*kpresenter*.* -%{tde_datadir}/apps/kpresenter/ -%{tde_datadir}/services/kpresenter*.desktop -%{tde_datadir}/templates/Presentation.desktop -%{tde_datadir}/templates/.source/Presentation.kpt -%{tde_tdeappdir}/*kpresenter.desktop - -%files karbon -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/karbon/ -%{tde_bindir}/karbon -%{tde_libdir}/libkdeinit_karbon.so -%{tde_tdelibdir}/*karbon*.* -%{tde_tdelibdir}/libwmfexport.* -%{tde_tdelibdir}/libwmfimport.* -%{tde_datadir}/apps/karbon/ -%{tde_datadir}/services/karbon* -%{tde_datadir}/servicetypes/karbon_module.desktop -%{tde_datadir}/templates/Illustration.desktop -%{tde_datadir}/templates/.source/Illustration.karbon -%{tde_tdeappdir}/*karbon.desktop - -%files kugar -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kugar/ -%{tde_bindir}/kugar -%{tde_bindir}/kudesigner -%{tde_libdir}/libkdeinit_kugar.so -%{tde_libdir}/libkdeinit_kudesigner.so -%{tde_libdir}/libkugarlib.so.* -%{tde_libdir}/libkudesignercore.so -%{tde_tdelibdir}/kudesigner.* -%{tde_tdelibdir}/kugar.* -%{tde_tdelibdir}/libkudesignerpart.* -%{tde_tdelibdir}/libkugarpart.* -%{tde_datadir}/apps/kudesigner/ -%{tde_datadir}/apps/kugar/ -%{tde_datadir}/services/kugar*.desktop -%{tde_tdeappdir}/*kugar.desktop -%{tde_tdeappdir}/*kudesigner.desktop - -%files kexi -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kexi/ -%{tde_bindir}/kexi* -%{tde_bindir}/ksqlite* -%{tde_libdir}/libkdeinit_kexi.so -%{tde_libdir}/libkexi*.so.* -%{tde_libdir}/libkformdesigner.so.* -%{tde_tdelibdir}/kformdesigner_*.* -%{tde_tdelibdir}/kexidb_sqlite2driver.* -%{tde_tdelibdir}/kexidb_sqlite3driver.* -%{tde_tdelibdir}/kexihandler_*.* -%{tde_tdelibdir}/kexi.* -# moved here to workaround bug #394101, alternative is to move libkexi(db|dbparser|utils) to -libs) -%{tde_tdelibdir}/libkspreadkexiimport.* -%{tde_datadir}/config/kexirc -%{tde_datadir}/config/magic/kexi.magic -%{tde_datadir}/mimelnk/application/* -%{tde_datadir}/servicetypes/kexi*.desktop -%{tde_datadir}/services/kexi/ -%{tde_datadir}/apps/kexi/ -%{tde_datadir}/services/kformdesigner/* -%{tde_tdeappdir}/*kexi.desktop -%{tde_datadir}/services/kexidb_sqlite*driver.desktop -%if 0%{?with_kross} -%{tde_bindir}/krossrunner -%{tde_tdelibdir}/krosskexiapp.* -%{tde_tdelibdir}/krosskexidb.* -%endif - -%files kexi-driver-mysql -%defattr(-,root,root,-) -%{tde_tdelibdir}/kexidb_mysqldriver.* -%{tde_tdelibdir}/keximigrate_mysql.* -%{tde_datadir}/services/keximigrate_mysql.desktop -%{tde_datadir}/services/kexidb_mysqldriver.desktop - -%files kexi-driver-pgsql -%defattr(-,root,root,-) -%{tde_tdelibdir}/kexidb_pqxxsqldriver.* -%{tde_tdelibdir}/keximigrate_pqxx.* -%{tde_datadir}/services/kexidb_pqxxsqldriver.desktop -%{tde_datadir}/services/keximigrate_pqxx.desktop - -%files kchart -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kchart/ -%{tde_bindir}/kchart -%{tde_libdir}/libkchart*.so.* -%{tde_libdir}/libkdeinit_kchart.so -%{tde_tdelibdir}/*kchart*.* -%{tde_datadir}/apps/kchart/ -%{tde_datadir}/services/kchart*.desktop -%{tde_tdeappdir}/*kchart.desktop - -%files kformula -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kformula/ -%{tde_bindir}/kformula -%{tde_libdir}/libkdeinit_kformula.so -%{tde_tdelibdir}/*kformula*.* -%{tde_datadir}/apps/kformula/ -%{tde_datadir}/services/kformula*.desktop -%{tde_tdeappdir}/*kformula.desktop - -%files kivio -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kivio/ -%{tde_bindir}/kivio -%{tde_libdir}/libkdeinit_kivio.so -%{tde_libdir}/libkiviocommon.so.* -%{tde_tdelibdir}/*kivio*.* -%{tde_tdelibdir}/straight_connector.* -%{tde_datadir}/apps/kivio/ -%{tde_datadir}/config.kcfg/kivio.kcfg -%{tde_datadir}/services/kivio*.desktop -%{tde_tdeappdir}/*kivio.desktop - -%files filters -%defattr(-,root,root,-) -%{tde_libdir}/libkwordexportfilters.so.* -%{tde_tdelibdir}/libabiwordexport.* -%{tde_tdelibdir}/libabiwordimport.* -%{tde_tdelibdir}/libamiproexport.* -%{tde_tdelibdir}/libamiproimport.* -%{tde_tdelibdir}/libapplixspreadimport.* -%{tde_tdelibdir}/libapplixwordimport.* -%{tde_tdelibdir}/libasciiexport.* -%{tde_tdelibdir}/libasciiimport.* -%{tde_tdelibdir}/libdbaseimport.* -%{tde_tdelibdir}/libdocbookexport.* -%{tde_tdelibdir}/libexcelimport.* -%{tde_tdelibdir}/libgenerickofilter.* -%{tde_tdelibdir}/libhtmlexport.* -%{tde_tdelibdir}/libhtmlimport.* -%{tde_tdelibdir}/libkarbonepsimport.* -%{tde_tdelibdir}/libkfolatexexport.* -%{tde_tdelibdir}/libkfomathmlexport.* -%{tde_tdelibdir}/libkfomathmlimport.* -%{tde_tdelibdir}/libkfopngexport.* -%{tde_tdelibdir}/libkspreadlatexexport.* -%{tde_tdelibdir}/libkugarnopimport.* -%{tde_tdelibdir}/libkwordkword1dot3import.* -%{tde_tdelibdir}/libkwordlatexexport.* -%{tde_tdelibdir}/libmswriteexport.* -%{tde_tdelibdir}/libmswriteimport.* -%{tde_tdelibdir}/libooimpressexport.* -%{tde_tdelibdir}/libooimpressimport.* -%{tde_tdelibdir}/liboowriterexport.* -%{tde_tdelibdir}/liboowriterimport.* -%{tde_tdelibdir}/libpalmdocexport.* -%{tde_tdelibdir}/libpalmdocimport.* -%{tde_tdelibdir}/libpdfimport.* -%{tde_tdelibdir}/librtfexport.* -%{tde_tdelibdir}/librtfimport.* -%{tde_tdelibdir}/libwmlexport.* -%{tde_tdelibdir}/libwmlimport.* -%{tde_tdelibdir}/libwpexport.* -%{tde_tdelibdir}/libwpimport.* -%{tde_tdelibdir}/libmswordimport.* -%{tde_tdelibdir}/libxsltimport.* -%{tde_tdelibdir}/libxsltexport.* -%{tde_tdelibdir}/libhancomwordimport.* -%{tde_tdelibdir}/libkfosvgexport.* -%{tde_tdelibdir}/liboodrawimport.* -%{tde_tdelibdir}/libolefilter.* -%{tde_datadir}/apps/xsltfilter/ -%{tde_datadir}/services/generic_filter.desktop -%{tde_datadir}/services/ole_powerpoint97_import.desktop -%{tde_datadir}/services/xslt*.desktop -%{tde_datadir}/servicetypes/kofilter*.desktop - -%files kplato -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kplato/ -%{tde_bindir}/kplato -%{tde_libdir}/libkdeinit_kplato.so -%{tde_tdelibdir}/kplato.* -%{tde_tdelibdir}/libkplatopart.* -%{tde_datadir}/apps/kplato/ -%{tde_datadir}/services/kplatopart.desktop -%{tde_tdeappdir}/*kplato.desktop - -%files chalk -%defattr(-,root,root,-) -%{tde_bindir}/chalk -%{tde_tdelibdir}/chalkblurfilter.la -%{tde_tdelibdir}/chalkblurfilter.so -%{tde_tdelibdir}/chalkbumpmap.la -%{tde_tdelibdir}/chalkbumpmap.so -%{tde_tdelibdir}/chalkcimg.la -%{tde_tdelibdir}/chalkcimg.so -%{tde_tdelibdir}/chalk_cmyk_* -%{tde_tdelibdir}/chalkcmykplugin.la -%{tde_tdelibdir}/chalkcmykplugin.so -%{tde_tdelibdir}/chalkcolorify.la -%{tde_tdelibdir}/chalkcolorify.so -%{tde_tdelibdir}/chalkcolorrange.la -%{tde_tdelibdir}/chalkcolorrange.so -%{tde_tdelibdir}/chalkcolorsfilters.la -%{tde_tdelibdir}/chalkcolorsfilters.so -%{tde_tdelibdir}/chalkcolorspaceconversion.la -%{tde_tdelibdir}/chalkcolorspaceconversion.so -%{tde_tdelibdir}/chalkconvolutionfilters.la -%{tde_tdelibdir}/chalkconvolutionfilters.so -%{tde_tdelibdir}/chalkdefaultpaintops.la -%{tde_tdelibdir}/chalkdefaultpaintops.so -%{tde_tdelibdir}/chalkdefaulttools.la -%{tde_tdelibdir}/chalkdefaulttools.so -%{tde_tdelibdir}/chalkdropshadow.la -%{tde_tdelibdir}/chalkdropshadow.so -%{tde_tdelibdir}/chalkembossfilter.la -%{tde_tdelibdir}/chalkembossfilter.so -%{tde_tdelibdir}/chalkexample.la -%{tde_tdelibdir}/chalkexample.so -%{tde_tdelibdir}/chalkextensioncolorsfilters.la -%{tde_tdelibdir}/chalkextensioncolorsfilters.so -%{tde_tdelibdir}/chalkfastcolortransfer.la -%{tde_tdelibdir}/chalkfastcolortransfer.so -%{tde_tdelibdir}/chalkfiltersgallery.la -%{tde_tdelibdir}/chalkfiltersgallery.so -%{tde_tdelibdir}/chalk_gray_* -%{tde_tdelibdir}/chalkgrayplugin.la -%{tde_tdelibdir}/chalkgrayplugin.so -%{tde_tdelibdir}/chalkhistogramdocker.la -%{tde_tdelibdir}/chalkhistogramdocker.so -%{tde_tdelibdir}/chalkhistogram.la -%{tde_tdelibdir}/chalkhistogram.so -%{tde_tdelibdir}/chalkimageenhancement.la -%{tde_tdelibdir}/chalkimageenhancement.so -%{tde_tdelibdir}/chalkimagesize.la -%{tde_tdelibdir}/chalkimagesize.so -%{tde_tdelibdir}/chalk.la -%{tde_tdelibdir}/chalklenscorrectionfilter.la -%{tde_tdelibdir}/chalklenscorrectionfilter.so -%{tde_tdelibdir}/chalklevelfilter.la -%{tde_tdelibdir}/chalklevelfilter.so -%{tde_tdelibdir}/chalk_lms_* -%{tde_tdelibdir}/chalkmodifyselection.la -%{tde_tdelibdir}/chalkmodifyselection.so -%{tde_tdelibdir}/chalknoisefilter.la -%{tde_tdelibdir}/chalknoisefilter.so -%{tde_tdelibdir}/chalkoilpaintfilter.la -%{tde_tdelibdir}/chalkoilpaintfilter.so -%{tde_tdelibdir}/chalkpixelizefilter.la -%{tde_tdelibdir}/chalkpixelizefilter.so -%{tde_tdelibdir}/chalkraindropsfilter.la -%{tde_tdelibdir}/chalkraindropsfilter.so -%{tde_tdelibdir}/chalkrandompickfilter.la -%{tde_tdelibdir}/chalkrandompickfilter.so -%{tde_tdelibdir}/chalk_rgb_* -%{tde_tdelibdir}/chalkrgbplugin.la -%{tde_tdelibdir}/chalkrgbplugin.so -%{tde_tdelibdir}/chalkrotateimage.la -%{tde_tdelibdir}/chalkrotateimage.so -%{tde_tdelibdir}/chalkroundcornersfilter.la -%{tde_tdelibdir}/chalkroundcornersfilter.so -%{tde_tdelibdir}/chalkselectiontools.la -%{tde_tdelibdir}/chalkselectiontools.so -%{tde_tdelibdir}/chalkselectopaque.la -%{tde_tdelibdir}/chalkselectopaque.so -%{tde_tdelibdir}/chalkseparatechannels.la -%{tde_tdelibdir}/chalkseparatechannels.so -%{tde_tdelibdir}/chalkshearimage.la -%{tde_tdelibdir}/chalkshearimage.so -%{tde_tdelibdir}/chalksmalltilesfilter.la -%{tde_tdelibdir}/chalksmalltilesfilter.so -%{tde_tdelibdir}/chalk.so -%{tde_tdelibdir}/chalkscreenshot.la -%{tde_tdelibdir}/chalkscreenshot.so -%{tde_tdelibdir}/chalksobelfilter.la -%{tde_tdelibdir}/chalksobelfilter.so -%{tde_tdelibdir}/chalksubstrate.la -%{tde_tdelibdir}/chalksubstrate.so -%{tde_tdelibdir}/chalktoolcrop.la -%{tde_tdelibdir}/chalktoolcrop.so -%{tde_tdelibdir}/chalktoolcurves.la -%{tde_tdelibdir}/chalktoolcurves.so -%{tde_tdelibdir}/chalktoolfilter.la -%{tde_tdelibdir}/chalktoolfilter.so -%{tde_tdelibdir}/chalktoolperspectivegrid.la -%{tde_tdelibdir}/chalktoolperspectivegrid.so -%{tde_tdelibdir}/chalktoolperspectivetransform.la -%{tde_tdelibdir}/chalktoolperspectivetransform.so -%{tde_tdelibdir}/chalktoolpolygon.la -%{tde_tdelibdir}/chalktoolpolygon.so -%{tde_tdelibdir}/chalktoolpolyline.la -%{tde_tdelibdir}/chalktoolpolyline.so -%{tde_tdelibdir}/chalktoolselectsimilar.la -%{tde_tdelibdir}/chalktoolselectsimilar.so -%{tde_tdelibdir}/chalktoolstar.la -%{tde_tdelibdir}/chalktoolstar.so -%{tde_tdelibdir}/chalktooltransform.la -%{tde_tdelibdir}/chalktooltransform.so -%{tde_tdelibdir}/chalkunsharpfilter.la -%{tde_tdelibdir}/chalkunsharpfilter.so -%{tde_tdelibdir}/chalkwavefilter.la -%{tde_tdelibdir}/chalkwavefilter.so -%{tde_tdelibdir}/chalkwetplugin.la -%{tde_tdelibdir}/chalkwetplugin.so -%{tde_tdelibdir}/chalk_ycbcr_* -%{tde_tdelibdir}/libchalkgmagickexport.la -%{tde_tdelibdir}/libchalkgmagickexport.so -%{tde_tdelibdir}/libchalkgmagickimport.la -%{tde_tdelibdir}/libchalkgmagickimport.so -%{tde_tdelibdir}/libchalkjpegexport.la -%{tde_tdelibdir}/libchalkjpegexport.so -%{tde_tdelibdir}/libchalkjpegimport.la -%{tde_tdelibdir}/libchalkjpegimport.so -%{tde_tdelibdir}/libchalk_openexr_export.la -%{tde_tdelibdir}/libchalk_openexr_export.so -%{tde_tdelibdir}/libchalk_openexr_import.la -%{tde_tdelibdir}/libchalk_openexr_import.so -%{tde_tdelibdir}/libchalkpart.la -%{tde_tdelibdir}/libchalkpart.so -%{tde_tdelibdir}/libchalkpdfimport.la -%{tde_tdelibdir}/libchalkpdfimport.so -%{tde_tdelibdir}/libchalkpngexport.la -%{tde_tdelibdir}/libchalkpngexport.so -%{tde_tdelibdir}/libchalkpngimport.la -%{tde_tdelibdir}/libchalkpngimport.so -%{tde_tdelibdir}/libchalk_raw_import.la -%{tde_tdelibdir}/libchalk_raw_import.so -%{tde_tdelibdir}/libchalktiffexport.la -%{tde_tdelibdir}/libchalktiffexport.so -%{tde_tdelibdir}/libchalktiffimport.la -%{tde_tdelibdir}/libchalktiffimport.so -%{tde_libdir}/libkdeinit_chalk.so -%{tde_libdir}/libchalk_cmyk_*.so.* -%{tde_libdir}/libchalkcolor.so.* -%{tde_libdir}/libchalkcommon.so.* -%{tde_libdir}/libchalkgrayscale.so.* -%{tde_libdir}/libchalk_gray_*.so.* -%{tde_libdir}/libchalkimage.so.* -%{tde_libdir}/libchalk_lms_*.so.* -%{tde_libdir}/libchalk_rgb_*.so.* -%{tde_libdir}/libchalkrgb.so.* -%{tde_libdir}/libchalkui.so.* -%{tde_libdir}/libchalk_ycbcr_*.so.* -%if 0%{?with_kross} -%{tde_tdelibdir}/krosschalkcore.la -%{tde_tdelibdir}/krosschalkcore.so -%{tde_tdelibdir}/chalkscripting.la -%{tde_tdelibdir}/chalkscripting.so -%{tde_libdir}/libchalkscripting.so.* -%endif - -%files chalk-data -%{tde_tdeappdir}/chalk.desktop -%{tde_datadir}/applnk/.hidden/chalk_*.desktop -%{tde_datadir}/apps/konqueror/servicemenus/chalk_konqi.desktop -%{tde_datadir}/apps/chalk -%{tde_datadir}/apps/chalkplugins -%lang(en) %{tde_tdedocdir}/HTML/en/chalk -%{tde_datadir}/icons/hicolor/*/apps/chalk.png -%{tde_datadir}/services/chalk*.desktop -%{tde_datadir}/servicetypes/chalk*.desktop - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 1.6.3-6 -- Initial build for TDE 3.5.13.1 - -* Sun Jul 08 2012 Francois Andriot - 1.6.3-5 -- Fix kformula dependancies (for RHEL6) -- Fix FTBFS due to missing libraries [Bug #657] [Commit #5c69fcd3] - Clean up lib paths in LDFLAGS - moved to LIBADD - For KWord and and KPresenter added linking kspell2 - For KSpread added linking kutils -- Fix accidental conversions of binary files [Bug #1033] [Commit #dbe89307] - -* Thu Apr 26 2012 Francois Andriot - 1.6.3-4 -- Updates BuildRequires -- Build for Fedora 17 -- Fix compilation with GCC 4.7 [Bug #958] -- Fix compilation with Ruby 1.9 [Bug #735] -- Fix compilation with libpng [Bug #603] - -* Sat Jan 07 2012 Francois Andriot - 1.6.3-3 -- Fix GraphicksMagick 1.3 support [Bug #353] -- Various patches for kexi [Bug #777] - -* Fri Nov 25 2011 Francois Andriot - 1.6.3-2 -- Fix HTML directory location - -* Tue Nov 22 2011 Francois Andriot - 1.6.3-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 -- Based on Spec file from Fedora 11 'koffice-2:1.6.3-25.20090306svn' -- Removed 'krita', added 'chalk' diff --git a/redhat/applications/koffice/trinity-koffice-3.5.13.2.spec b/redhat/applications/koffice/trinity-koffice-3.5.13.2.spec deleted file mode 100644 index ab290b820..000000000 --- a/redhat/applications/koffice/trinity-koffice-3.5.13.2.spec +++ /dev/null @@ -1,1206 +0,0 @@ -# Default version for this component -%define tdecomp koffice - -# Required for Mageia 2: removes the ldflag '--no-undefined' -%define _disable_ld_no_undefined 1 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -# Disable Kross support for RHEL <= 5 (python is too old) -%if 0%{?fedora} > 0 || 0%{?rhel} >= 6 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define with_kross 1 -%endif - -# Ruby support -%define with_ruby 1 - -# Ruby 1.9 includes are located in strance directories ... (taken from ruby 1.9 spec file) -%global _normalized_cpu %(echo %{_target_cpu} | sed 's/^ppc/powerpc/;s/i.86/i386/;s/sparcv./sparc/;s/armv.*/arm/') - - -Name: trinity-%{tdecomp} -Summary: An integrated office suite -Version: 1.6.3 -Release: 7%{?dist}%{?_variant} - -Group: Applications/Productivity -License: GPLv2+ - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - - -# BuildRequires: world-devel ;) -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdegraphics-devel >= 3.5.13.2 -BuildRequires: trinity-tdegraphics-libpoppler-tqt-devel >= 3.5.13.2 -BuildRequires: automake libtool -BuildRequires: fontconfig-devel -BuildRequires: libart_lgpl-devel -BuildRequires: libtiff-devel -BuildRequires: libjpeg-devel -BuildRequires: ImageMagick-devel -BuildRequires: zlib-devel -BuildRequires: openssl-devel -BuildRequires: python-devel -BuildRequires: pcre-devel -BuildRequires: gettext-devel -BuildRequires: mysql-devel -BuildRequires: desktop-file-utils -BuildRequires: perl -BuildRequires: doxygen -BuildRequires: aspell-devel -BuildRequires: libxslt-devel -BuildRequires: OpenEXR-devel -BuildRequires: libexif-devel -BuildRequires: readline-devel - -%if 0%{?suse_version} -BuildRequires: libbz2-devel -BuildRequires: liblcms-devel -%else -BuildRequires: bzip2-devel -BuildRequires: lcms-devel - -BuildRequires: libpaper-devel -%endif - -# RUBY support -%if 0%{?with_ruby} -BuildRequires: ruby ruby-devel >= 1.8.1 -%endif - -# FREETYPE support -%if 0%{?suse_version} == 1140 -BuildRequires: freetype2-devel -%else -BuildRequires: freetype-devel -%endif - -# LIBPNG support -%if 0%{?mgaversion} -BuildRequires: %{_lib}png-devel -%endif -%if 0%{?mdkversion} && 0%{?pclinuxos} == 0 -BuildRequires: %{_lib}png15-devel -%endif -%if 0%{?suse_version} || 0%{?fedora} || 0%{?rhel} -BuildRequires: libpng-devel -%endif - -# GRAPHICSMAGICK support -%if 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?rhel} >= 5 -%define with_graphicsmagick 1 -%if 0%{?suse_version} -BuildRequires: GraphicsMagick >= 1.1.0 -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?suse_version} -BuildRequires: GraphicsMagick-devel >= 1.1.0 -%endif -%endif - -# UTEMPTER support -%if 0%{?suse_version} -BuildRequires: utempter-devel -%endif -%if 0%{?rhel} == 4 -BuildRequires: utempter -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?rhel} >= 5 -BuildRequires: libutempter-devel -%endif - -# POSTGRESQL support -# Requires 'libpqxx', for kexi-driver-pgqsl -%if 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version} -%define with_postgresql 1 -BuildRequires: libpqxx-devel -%endif -Obsoletes: trinity-libpqxx - -# WPD support -# For chalk and filters -BuildRequires: libwpd-devel -Obsoletes: trinity-libwpd - -# WV2 support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}wv2-devel -%endif -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -BuildRequires: wv2-devel -%endif - -# MESA support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}mesagl1-devel -BuildRequires: %{_lib}mesaglu1-devel -%endif -%if 0%{?fedora} || 0%{?rhel} -BuildRequires: libGL-devel -BuildRequires: libGLU-devel -%endif -%if 0%{?suse_version} >= 1220 -BuildRequires: Mesa-libGL-devel -BuildRequires: Mesa-libGLU-devel -%endif - -# OPENJPEG -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}openjpeg-devel -%endif - -# LIBXI support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xi-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} -BuildRequires: libXi-devel -%endif -%if 0%{?suse_version} == 1140 -BuildRequires: libXi6-devel -%endif -%if 0%{?suse_version} >= 1220 -BuildRequires: libXi-devel -%endif - - -%description -KOffice is an integrated office suite. - -########## - -%package suite -Summary: An integrated office suite -Group: Applications/Productivity -Obsoletes: %{name} <= %{version}-%{release} -Obsoletes: %{name}-i18n < 4:%{version} -Requires: %{name}-core = %{version}-%{release} -Requires: %{name}-kword = %{version}-%{release} -Requires: %{name}-kspread = %{version}-%{release} -Requires: %{name}-kpresenter = %{version}-%{release} -Requires: %{name}-kivio = %{version}-%{release} -Requires: %{name}-karbon = %{version}-%{release} -Requires: %{name}-kugar = %{version}-%{release} -Requires: %{name}-kexi = %{version}-%{release} -Requires: %{name}-kexi-driver-mysql = %{version}-%{release} -%{?with_postgresql:Requires: %{name}-kexi-driver-pgsql = %{version}-%{release}} -Requires: %{name}-kchart = %{version}-%{release} -Requires: %{name}-kformula = %{version}-%{release} -Requires: %{name}-filters = %{version}-%{release} -Requires: %{name}-kplato = %{version}-%{release} -Requires: %{name}-chalk = %{version}-%{release} - -%description suite -KOffice is an integrated office suite. - -%files suite -#empty => virtual package - -########## - -%package core -Summary: Core support files for %{name} -Group: Applications/Productivity -Requires: %{name}-libs = %{version}-%{release} -Requires: perl -Conflicts: koffice-i18n < %{version} - -%description core -%{summary}. - -%posttrans core -gtk-update-icon-cache %{tde_datadir}/icons/crystalsvg &> /dev/null || : -gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : -gtk-update-icon-cache %{tde_datadir}/icons/locolor &> /dev/null || : -update-desktop-database -q &> /dev/null ||: - -%post core -touch --no-create %{tde_datadir}/icons/crystalsvg &> /dev/null || : -touch --no-create %{tde_datadir}/icons/hicolor &> /dev/null || : -touch --no-create %{tde_datadir}/icons/locolor &> /dev/null || : - -%postun core -if [ $1 -eq 0 ]; then - gtk-update-icon-cache %{tde_datadir}/icons/crystalsvg &> /dev/null || : - gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : - gtk-update-icon-cache %{tde_datadir}/icons/locolor &> /dev/null || : - update-desktop-database -q &> /dev/null ||: -fi - -%files core -%defattr(-,root,root,-) -%doc AUTHORS COPYING README -%{tde_bindir}/koshell -%{tde_bindir}/kthesaurus -%{tde_bindir}/koconverter -%{tde_libdir}/libkdeinit_koshell.so -%{tde_libdir}/libkdeinit_kthesaurus.so -%{tde_tdelibdir}/kfile_koffice.* -%{tde_tdelibdir}/kfile_ooo.* -%{tde_tdelibdir}/kfile_abiword.* -%{tde_tdelibdir}/kfile_gnumeric.* -%{tde_tdelibdir}/kodocinfopropspage.* -%{tde_tdelibdir}/kofficescan.* -%{tde_tdelibdir}/kofficethumbnail.* -%{tde_tdelibdir}/koshell.* -%{tde_tdelibdir}/kthesaurus.* -%{tde_tdelibdir}/kwmailmerge_classic.* -%{tde_tdelibdir}/kwmailmerge_kabc.* -%{tde_tdelibdir}/kwmailmerge_qtsqldb_power.* -%{tde_tdelibdir}/kwmailmerge_qtsqldb.* -%{tde_tdelibdir}/libkounavailpart.* -%{tde_tdelibdir}/libkprkword.* -%{tde_tdelibdir}/libthesaurustool.* -%{tde_tdelibdir}/clipartthumbnail.* -%{tde_datadir}/apps/koffice/ -%{tde_datadir}/apps/konqueror/servicemenus/* -%{tde_datadir}/apps/koshell/ -%{tde_datadir}/apps/thesaurus/ -%{tde_datadir}/config.kcfg/koshell.kcfg -%{tde_tdedocdir}/HTML/en/koffice/ -%{tde_tdedocdir}/HTML/en/koshell/ -%{tde_tdedocdir}/HTML/en/thesaurus/ -%{tde_datadir}/icons/crystalsvg/*/*/* -%{tde_datadir}/icons/hicolor/*/*/* -%{tde_datadir}/icons/locolor/*/*/* -%{tde_datadir}/services/clipartthumbnail.desktop -%{tde_datadir}/services/kfile*.desktop -%{tde_datadir}/services/kwmailmerge*.desktop -%{tde_datadir}/services/kodocinfopropspage.desktop -%{tde_datadir}/services/kofficethumbnail.desktop -%{tde_datadir}/services/kounavail.desktop -%{tde_datadir}/services/kprkword.desktop -%{tde_datadir}/services/thesaurustool.desktop -%{tde_datadir}/servicetypes/kochart.desktop -%{tde_datadir}/servicetypes/kofficepart.desktop -%{tde_datadir}/servicetypes/koplugin.desktop -%{tde_datadir}/servicetypes/kwmailmerge.desktop -%{tde_datadir}/servicetypes/widgetfactory.desktop -%{tde_tdeappdir}/*koffice.desktop -%{tde_tdeappdir}/*KThesaurus.desktop -%{tde_tdeappdir}/*koshell.desktop -%{tde_datadir}/apps/kofficewidgets/ -%if 0%{?with_kross} -%{tde_datadir}/apps/kross/ -%{tde_tdelibdir}/krosspython.* -%if 0%{?with_ruby} -%{tde_tdelibdir}/krossruby.* -%endif -%endif - -########## - -%package libs -Summary: Runtime libraries for %{name} -Group: System Environment/Libraries -Conflicts: %{name} <= %{version}-%{release} -Requires: trinity-kdelibs -License: LGPLv2+ - -%description libs -%{summary}. - -%files libs -%defattr(-,root,root,-) -%doc COPYING.LIB -#_libdir/libk*common.so.* -%{tde_libdir}/libkarboncommon.so.* -%{tde_libdir}/libkspreadcommon.so.* -%{tde_libdir}/libkdchart.so.* -%{tde_libdir}/libkochart.so.* -%{tde_libdir}/libkofficecore.so.* -%{tde_libdir}/libkofficeui.so.* -%{tde_libdir}/libkotext.so.* -%{tde_libdir}/libkowmf.so.* -%{tde_libdir}/libkopainter.so.* -%{tde_libdir}/libkstore.so.* -%{tde_libdir}/libkwmailmerge_interface.so.* -%{tde_libdir}/libkwmf.so.* -%{tde_libdir}/libkformulalib.so.* -%{tde_libdir}/libkopalette.so.* -%{tde_libdir}/libkoproperty.so.* -%if 0%{?with_kross} -%{tde_libdir}/libkrossapi.so.* -%{tde_libdir}/libkrossmain.so.* -%endif - -%post libs -/sbin/ldconfig || : - -%postun libs -/sbin/ldconfig || : - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name}-libs = %{version}-%{release} -License: LGPLv2+ - -%description devel -%{summary}. - -%files devel -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/koffice-apidocs/ -%{tde_includedir}/* -# FIXME: include only shlib symlinks we know/want to export -%{tde_libdir}/lib*.so -%exclude %{tde_libdir}/libkdeinit_*.so -%exclude %{tde_libdir}/libkudesignercore.so - -########## - -%package kword -Summary: A frame-based word processor capable of professional standard documents -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} - -%description kword -%{summary}. - -%post kword -/sbin/ldconfig || : - -%postun kword -/sbin/ldconfig || : - -%posttrans kword -update-desktop-database -q &> /dev/null ||: - -%files kword -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kword/ -%{tde_bindir}/kword -%{tde_libdir}/libkdeinit_kword.so -%{tde_libdir}/libkwordprivate.so.* -%{tde_tdelibdir}/libkwordpart.* -%{tde_tdelibdir}/kword.* -%{tde_datadir}/apps/kword/ -%{tde_datadir}/services/kword*.desktop -%{tde_datadir}/services/kwserial*.desktop -%{tde_datadir}/templates/TextDocument.desktop -%{tde_datadir}/templates/.source/TextDocument.kwt -%{tde_tdeappdir}/*kword.desktop - -########## - -%package kspread -Summary: A powerful spreadsheet application -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} - -%description kspread -%{summary}. - -%files kspread -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kspread/ -%{tde_bindir}/kspread -%{tde_libdir}/libkdeinit_kspread.so -%{tde_tdelibdir}/kspread.* -%{tde_tdelibdir}/libkspreadpart.* -%{tde_tdelibdir}/kwmailmerge_kspread.* -%{tde_tdelibdir}/libcsvexport.* -%{tde_tdelibdir}/libcsvimport.* -%{tde_tdelibdir}/libgnumericexport.* -%{tde_tdelibdir}/libgnumericimport.* -%{tde_tdelibdir}/libkspreadhtmlexport.* -%{tde_tdelibdir}/libkspreadinsertcalendar.* -%{tde_tdelibdir}/libopencalcexport.* -%{tde_tdelibdir}/libopencalcimport.* -%{tde_tdelibdir}/libqproimport.* -%{tde_datadir}/apps/kspread/ -%{tde_datadir}/services/kspread*.desktop -%{tde_datadir}/templates/SpreadSheet.desktop -%{tde_datadir}/templates/.source/SpreadSheet.kst -%{tde_tdeappdir}/*kspread.desktop -%if 0%{?with_kross} -%{tde_tdelibdir}/kspreadscripting.* -%{tde_tdelibdir}/krosskspreadcore.* -%endif - -########## - -%package kpresenter -Summary: A full-featured presentation program -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} - -%description kpresenter -%{summary}. - -%post kpresenter -/sbin/ldconfig || : - -%postun kpresenter -/sbin/ldconfig || : - -%posttrans kpresenter -update-desktop-database -q &> /dev/null ||: - -%files kpresenter -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kpresenter/ -%{tde_bindir}/kpresenter -%{tde_bindir}/kprconverter.pl -%{tde_libdir}/libkdeinit_kpresenter.so -%{tde_libdir}/libkpresenterimageexport.so.* -%{tde_libdir}/libkpresenterprivate.so.* -%{tde_tdelibdir}/*kpresenter*.* -%{tde_datadir}/apps/kpresenter/ -%{tde_datadir}/services/kpresenter*.desktop -%{tde_datadir}/templates/Presentation.desktop -%{tde_datadir}/templates/.source/Presentation.kpt -%{tde_tdeappdir}/*kpresenter.desktop - -########## - -%package kivio -Summary: A flowcharting application -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -Obsoletes: kivio < %{version}-%{release} - -%description kivio -%{summary}. - -%files kivio -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kivio/ -%{tde_bindir}/kivio -%{tde_libdir}/libkdeinit_kivio.so -%{tde_libdir}/libkiviocommon.so.* -%{tde_tdelibdir}/*kivio*.* -%{tde_tdelibdir}/straight_connector.* -%{tde_datadir}/apps/kivio/ -%{tde_datadir}/config.kcfg/kivio.kcfg -%{tde_datadir}/services/kivio*.desktop -%{tde_tdeappdir}/*kivio.desktop - -########## - -%package karbon -Summary: A vector drawing application -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} - -%description karbon -%{summary}. - -%post karbon -/sbin/ldconfig || : - -%postun karbon -/sbin/ldconfig || : - -%files karbon -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/karbon/ -%{tde_bindir}/karbon -%{tde_libdir}/libkdeinit_karbon.so -%{tde_tdelibdir}/*karbon*.* -%{tde_tdelibdir}/libwmfexport.* -%{tde_tdelibdir}/libwmfimport.* -%{tde_datadir}/apps/karbon/ -%{tde_datadir}/services/karbon* -%{tde_datadir}/servicetypes/karbon_module.desktop -%{tde_datadir}/templates/Illustration.desktop -%{tde_datadir}/templates/.source/Illustration.karbon -%{tde_tdeappdir}/*karbon.desktop - -########## - -%package kugar -Summary: A tool for generating business quality reports -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} - -%description kugar -%{summary}. - -%post kugar -/sbin/ldconfig || : - -%postun kugar -/sbin/ldconfig || : - -%posttrans kugar -update-desktop-database -q &> /dev/null ||: - -%files kugar -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kugar/ -%{tde_bindir}/kugar -%{tde_bindir}/kudesigner -%{tde_libdir}/libkdeinit_kugar.so -%{tde_libdir}/libkdeinit_kudesigner.so -%{tde_libdir}/libkugarlib.so.* -%{tde_libdir}/libkudesignercore.so -%{tde_tdelibdir}/kudesigner.* -%{tde_tdelibdir}/kugar.* -%{tde_tdelibdir}/libkudesignerpart.* -%{tde_tdelibdir}/libkugarpart.* -%{tde_datadir}/apps/kudesigner/ -%{tde_datadir}/apps/kugar/ -%{tde_datadir}/services/kugar*.desktop -%{tde_tdeappdir}/*kugar.desktop -%{tde_tdeappdir}/*kudesigner.desktop - -########## - -%package kexi -Summary: An integrated environment for managing data -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} - -%if 0%{?with_postgresql} == 0 -Obsoletes: %{name}-kexi-driver-pgsql -%endif - -%description kexi -%{summary}. -For additional database drivers take a look at %{name}-kexi-driver-* - -%post kexi -/sbin/ldconfig || : - -%postun kexi -/sbin/ldconfig || : - -%posttrans kexi -update-desktop-database -q &> /dev/null ||: - -%files kexi -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kexi/ -%{tde_bindir}/kexi* -%{tde_bindir}/ksqlite* -%{tde_libdir}/libkdeinit_kexi.so -%{tde_libdir}/libkexi*.so.* -%{tde_libdir}/libkformdesigner.so.* -%{tde_tdelibdir}/kformdesigner_*.* -%{tde_tdelibdir}/kexidb_sqlite2driver.* -%{tde_tdelibdir}/kexidb_sqlite3driver.* -%{tde_tdelibdir}/kexihandler_*.* -%{tde_tdelibdir}/kexi.* -# moved here to workaround bug #394101, alternative is to move libkexi(db|dbparser|utils) to -libs) -%{tde_tdelibdir}/libkspreadkexiimport.* -%{tde_datadir}/config/kexirc -%{tde_datadir}/config/magic/kexi.magic -%{tde_datadir}/mimelnk/application/* -%{tde_datadir}/servicetypes/kexi*.desktop -%{tde_datadir}/services/kexi/ -%{tde_datadir}/apps/kexi/ -%{tde_datadir}/services/kformdesigner/* -%{tde_tdeappdir}/*kexi.desktop -%{tde_datadir}/services/kexidb_sqlite*driver.desktop -%if 0%{?with_kross} -%{tde_bindir}/krossrunner -%{tde_tdelibdir}/krosskexiapp.* -%{tde_tdelibdir}/krosskexidb.* -%endif - -########## - -%package kexi-driver-mysql -Summary: Mysql-driver for kexi -Group: Applications/Productivity -Requires: %{name}-kexi = %{version}-%{release} - -%description kexi-driver-mysql -%{summary}. - -%files kexi-driver-mysql -%defattr(-,root,root,-) -%{tde_tdelibdir}/kexidb_mysqldriver.* -%{tde_tdelibdir}/keximigrate_mysql.* -%{tde_datadir}/services/keximigrate_mysql.desktop -%{tde_datadir}/services/kexidb_mysqldriver.desktop - -########## - -%if 0%{?with_postgresql} - -%package kexi-driver-pgsql -Summary: Postgresql driver for kexi -Group: Applications/Productivity -Requires: %{name}-kexi = %{version}-%{release} - -%description kexi-driver-pgsql -%{summary}. - -%files kexi-driver-pgsql -%defattr(-,root,root,-) -%{tde_tdelibdir}/kexidb_pqxxsqldriver.* -%{tde_tdelibdir}/keximigrate_pqxx.* -%{tde_datadir}/services/kexidb_pqxxsqldriver.desktop -%{tde_datadir}/services/keximigrate_pqxx.desktop - -%endif - -########## - -%package kchart -Summary: An integrated graph and chart drawing tool -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} - -%description kchart -%{summary}. - -%post kchart -/sbin/ldconfig || : - -%postun kchart -/sbin/ldconfig || : - -%posttrans kchart -update-desktop-database -q &> /dev/null ||: - -%files kchart -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kchart/ -%{tde_bindir}/kchart -%{tde_libdir}/libkchart*.so.* -%{tde_libdir}/libkdeinit_kchart.so -%{tde_tdelibdir}/*kchart*.* -%{tde_datadir}/apps/kchart/ -%{tde_datadir}/services/kchart*.desktop -%{tde_tdeappdir}/*kchart.desktop - -########## - -%package kformula -Summary: A powerful formula editor -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} - -%if 0%{?mgaversion} || 0%{?mdkversion} -Requires: fonts-ttf-dejavu -%else -%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6 -Requires: dejavu-lgc-sans-fonts -Requires: lyx-cmex10-fonts -%endif -%if 0%{?rhel} == 5 -Requires: dejavu-lgc-fonts -Requires: lyx-cmex10-fonts -%endif -%if 0%{?suse_version} >= 1220 -Requires: dejavu-fonts -%endif -%if 0%{?suse_version} == 1140 -Requires: dejavu -%endif -%endif - -%description kformula -%{summary}. - -%files kformula -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kformula/ -%{tde_bindir}/kformula -%{tde_libdir}/libkdeinit_kformula.so -%{tde_tdelibdir}/*kformula*.* -%{tde_datadir}/apps/kformula/ -%{tde_datadir}/services/kformula*.desktop -%{tde_tdeappdir}/*kformula.desktop - -########## - -%package filters -Summary: Import and Export Filters for KOffice -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} - -%description filters -%{summary}. - -%post filters -/sbin/ldconfig || : - -%postun filters -/sbin/ldconfig || : - -%files filters -%defattr(-,root,root,-) -%{tde_libdir}/libkwordexportfilters.so.* -%{tde_tdelibdir}/libabiwordexport.* -%{tde_tdelibdir}/libabiwordimport.* -%{tde_tdelibdir}/libamiproexport.* -%{tde_tdelibdir}/libamiproimport.* -%{tde_tdelibdir}/libapplixspreadimport.* -%{tde_tdelibdir}/libapplixwordimport.* -%{tde_tdelibdir}/libasciiexport.* -%{tde_tdelibdir}/libasciiimport.* -%{tde_tdelibdir}/libdbaseimport.* -%{tde_tdelibdir}/libdocbookexport.* -%{tde_tdelibdir}/libexcelimport.* -%{tde_tdelibdir}/libgenerickofilter.* -%{tde_tdelibdir}/libhtmlexport.* -%{tde_tdelibdir}/libhtmlimport.* -%{tde_tdelibdir}/libkarbonepsimport.* -%{tde_tdelibdir}/libkfolatexexport.* -%{tde_tdelibdir}/libkfomathmlexport.* -%{tde_tdelibdir}/libkfomathmlimport.* -%{tde_tdelibdir}/libkfopngexport.* -%{tde_tdelibdir}/libkspreadlatexexport.* -%{tde_tdelibdir}/libkugarnopimport.* -%{tde_tdelibdir}/libkwordkword1dot3import.* -%{tde_tdelibdir}/libkwordlatexexport.* -%{tde_tdelibdir}/libmswriteexport.* -%{tde_tdelibdir}/libmswriteimport.* -%{tde_tdelibdir}/libooimpressexport.* -%{tde_tdelibdir}/libooimpressimport.* -%{tde_tdelibdir}/liboowriterexport.* -%{tde_tdelibdir}/liboowriterimport.* -%{tde_tdelibdir}/libpalmdocexport.* -%{tde_tdelibdir}/libpalmdocimport.* -%{tde_tdelibdir}/libpdfimport.* -%{tde_tdelibdir}/librtfexport.* -%{tde_tdelibdir}/librtfimport.* -%{tde_tdelibdir}/libwmlexport.* -%{tde_tdelibdir}/libwmlimport.* -%{tde_tdelibdir}/libwpexport.* -%{tde_tdelibdir}/libwpimport.* -%{tde_tdelibdir}/libmswordimport.* -%{tde_tdelibdir}/libxsltimport.* -%{tde_tdelibdir}/libxsltexport.* -%{tde_tdelibdir}/libhancomwordimport.* -%{tde_tdelibdir}/libkfosvgexport.* -%{tde_tdelibdir}/liboodrawimport.* -%{tde_tdelibdir}/libolefilter.* -%{tde_datadir}/apps/xsltfilter/ -%{tde_datadir}/services/generic_filter.desktop -%{tde_datadir}/services/ole_powerpoint97_import.desktop -%{tde_datadir}/services/xslt*.desktop -%{tde_datadir}/servicetypes/kofilter*.desktop - -########## - -%package kplato -Summary: An integrated project management and planning tool -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} - -%description kplato -%{summary}. - -%files kplato -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kplato/ -%{tde_bindir}/kplato -%{tde_libdir}/libkdeinit_kplato.so -%{tde_tdelibdir}/kplato.* -%{tde_tdelibdir}/libkplatopart.* -%{tde_datadir}/apps/kplato/ -%{tde_datadir}/services/kplatopart.desktop -%{tde_tdeappdir}/*kplato.desktop - -########## - -%package chalk -Summary: pixel-based image manipulation program for the TDE Office Suite [Trinity] -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -Requires: %{name}-chalk-data = %{version}-%{release} -Requires: %{name}-filters - -%description chalk -Chalk is a painting and image editing application for KOffice. Chalk contains -both ease-of-use and fun features like guided painting. - -This package is part of the TDE Office Suite. - -%post chalk -/sbin/ldconfig || : - -%postun chalk -/sbin/ldconfig || : - -%posttrans chalk -update-desktop-database -q &> /dev/null ||: - -%files chalk -%defattr(-,root,root,-) -%{tde_bindir}/chalk -%{tde_tdelibdir}/chalkblurfilter.la -%{tde_tdelibdir}/chalkblurfilter.so -%{tde_tdelibdir}/chalkbumpmap.la -%{tde_tdelibdir}/chalkbumpmap.so -%{tde_tdelibdir}/chalkcimg.la -%{tde_tdelibdir}/chalkcimg.so -%{tde_tdelibdir}/chalk_cmyk_* -%{tde_tdelibdir}/chalkcmykplugin.la -%{tde_tdelibdir}/chalkcmykplugin.so -%{tde_tdelibdir}/chalkcolorify.la -%{tde_tdelibdir}/chalkcolorify.so -%{tde_tdelibdir}/chalkcolorrange.la -%{tde_tdelibdir}/chalkcolorrange.so -%{tde_tdelibdir}/chalkcolorsfilters.la -%{tde_tdelibdir}/chalkcolorsfilters.so -%{tde_tdelibdir}/chalkcolorspaceconversion.la -%{tde_tdelibdir}/chalkcolorspaceconversion.so -%{tde_tdelibdir}/chalkconvolutionfilters.la -%{tde_tdelibdir}/chalkconvolutionfilters.so -%{tde_tdelibdir}/chalkdefaultpaintops.la -%{tde_tdelibdir}/chalkdefaultpaintops.so -%{tde_tdelibdir}/chalkdefaulttools.la -%{tde_tdelibdir}/chalkdefaulttools.so -%{tde_tdelibdir}/chalkdropshadow.la -%{tde_tdelibdir}/chalkdropshadow.so -%{tde_tdelibdir}/chalkembossfilter.la -%{tde_tdelibdir}/chalkembossfilter.so -%{tde_tdelibdir}/chalkexample.la -%{tde_tdelibdir}/chalkexample.so -%{tde_tdelibdir}/chalkextensioncolorsfilters.la -%{tde_tdelibdir}/chalkextensioncolorsfilters.so -%{tde_tdelibdir}/chalkfastcolortransfer.la -%{tde_tdelibdir}/chalkfastcolortransfer.so -%{tde_tdelibdir}/chalkfiltersgallery.la -%{tde_tdelibdir}/chalkfiltersgallery.so -%{tde_tdelibdir}/chalk_gray_* -%{tde_tdelibdir}/chalkgrayplugin.la -%{tde_tdelibdir}/chalkgrayplugin.so -%{tde_tdelibdir}/chalkhistogramdocker.la -%{tde_tdelibdir}/chalkhistogramdocker.so -%{tde_tdelibdir}/chalkhistogram.la -%{tde_tdelibdir}/chalkhistogram.so -%{tde_tdelibdir}/chalkimageenhancement.la -%{tde_tdelibdir}/chalkimageenhancement.so -%{tde_tdelibdir}/chalkimagesize.la -%{tde_tdelibdir}/chalkimagesize.so -%{tde_tdelibdir}/chalk.la -%{tde_tdelibdir}/chalklenscorrectionfilter.la -%{tde_tdelibdir}/chalklenscorrectionfilter.so -%{tde_tdelibdir}/chalklevelfilter.la -%{tde_tdelibdir}/chalklevelfilter.so -%{tde_tdelibdir}/chalk_lms_* -%{tde_tdelibdir}/chalkmodifyselection.la -%{tde_tdelibdir}/chalkmodifyselection.so -%{tde_tdelibdir}/chalknoisefilter.la -%{tde_tdelibdir}/chalknoisefilter.so -%{tde_tdelibdir}/chalkoilpaintfilter.la -%{tde_tdelibdir}/chalkoilpaintfilter.so -%{tde_tdelibdir}/chalkpixelizefilter.la -%{tde_tdelibdir}/chalkpixelizefilter.so -%{tde_tdelibdir}/chalkraindropsfilter.la -%{tde_tdelibdir}/chalkraindropsfilter.so -%{tde_tdelibdir}/chalkrandompickfilter.la -%{tde_tdelibdir}/chalkrandompickfilter.so -%{tde_tdelibdir}/chalk_rgb_* -%{tde_tdelibdir}/chalkrgbplugin.la -%{tde_tdelibdir}/chalkrgbplugin.so -%{tde_tdelibdir}/chalkrotateimage.la -%{tde_tdelibdir}/chalkrotateimage.so -%{tde_tdelibdir}/chalkroundcornersfilter.la -%{tde_tdelibdir}/chalkroundcornersfilter.so -%{tde_tdelibdir}/chalkselectiontools.la -%{tde_tdelibdir}/chalkselectiontools.so -%{tde_tdelibdir}/chalkselectopaque.la -%{tde_tdelibdir}/chalkselectopaque.so -%{tde_tdelibdir}/chalkseparatechannels.la -%{tde_tdelibdir}/chalkseparatechannels.so -%{tde_tdelibdir}/chalkshearimage.la -%{tde_tdelibdir}/chalkshearimage.so -%{tde_tdelibdir}/chalksmalltilesfilter.la -%{tde_tdelibdir}/chalksmalltilesfilter.so -%{tde_tdelibdir}/chalk.so -%{tde_tdelibdir}/chalkscreenshot.la -%{tde_tdelibdir}/chalkscreenshot.so -%{tde_tdelibdir}/chalksobelfilter.la -%{tde_tdelibdir}/chalksobelfilter.so -%{tde_tdelibdir}/chalksubstrate.la -%{tde_tdelibdir}/chalksubstrate.so -%{tde_tdelibdir}/chalktoolcrop.la -%{tde_tdelibdir}/chalktoolcrop.so -%{tde_tdelibdir}/chalktoolcurves.la -%{tde_tdelibdir}/chalktoolcurves.so -%{tde_tdelibdir}/chalktoolfilter.la -%{tde_tdelibdir}/chalktoolfilter.so -%{tde_tdelibdir}/chalktoolperspectivegrid.la -%{tde_tdelibdir}/chalktoolperspectivegrid.so -%{tde_tdelibdir}/chalktoolperspectivetransform.la -%{tde_tdelibdir}/chalktoolperspectivetransform.so -%{tde_tdelibdir}/chalktoolpolygon.la -%{tde_tdelibdir}/chalktoolpolygon.so -%{tde_tdelibdir}/chalktoolpolyline.la -%{tde_tdelibdir}/chalktoolpolyline.so -%{tde_tdelibdir}/chalktoolselectsimilar.la -%{tde_tdelibdir}/chalktoolselectsimilar.so -%{tde_tdelibdir}/chalktoolstar.la -%{tde_tdelibdir}/chalktoolstar.so -%{tde_tdelibdir}/chalktooltransform.la -%{tde_tdelibdir}/chalktooltransform.so -%{tde_tdelibdir}/chalkunsharpfilter.la -%{tde_tdelibdir}/chalkunsharpfilter.so -%{tde_tdelibdir}/chalkwavefilter.la -%{tde_tdelibdir}/chalkwavefilter.so -%{tde_tdelibdir}/chalkwetplugin.la -%{tde_tdelibdir}/chalkwetplugin.so -%{tde_tdelibdir}/chalk_ycbcr_* -%if 0%{?with_graphicsmagick} -%{tde_tdelibdir}/libchalkgmagickexport.la -%{tde_tdelibdir}/libchalkgmagickexport.so -%{tde_tdelibdir}/libchalkgmagickimport.la -%{tde_tdelibdir}/libchalkgmagickimport.so -%{tde_tdelibdir}/libchalkjpegexport.la -%{tde_tdelibdir}/libchalkjpegexport.so -%{tde_tdelibdir}/libchalkjpegimport.la -%{tde_tdelibdir}/libchalkjpegimport.so -%endif -%{tde_tdelibdir}/libchalk_openexr_export.la -%{tde_tdelibdir}/libchalk_openexr_export.so -%{tde_tdelibdir}/libchalk_openexr_import.la -%{tde_tdelibdir}/libchalk_openexr_import.so -%{tde_tdelibdir}/libchalkpart.la -%{tde_tdelibdir}/libchalkpart.so -%{tde_tdelibdir}/libchalkpdfimport.la -%{tde_tdelibdir}/libchalkpdfimport.so -%{tde_tdelibdir}/libchalkpngexport.la -%{tde_tdelibdir}/libchalkpngexport.so -%{tde_tdelibdir}/libchalkpngimport.la -%{tde_tdelibdir}/libchalkpngimport.so -%{tde_tdelibdir}/libchalk_raw_import.la -%{tde_tdelibdir}/libchalk_raw_import.so -%if 0%{?with_graphicsmagick} -%{tde_tdelibdir}/libchalktiffexport.la -%{tde_tdelibdir}/libchalktiffexport.so -%{tde_tdelibdir}/libchalktiffimport.la -%{tde_tdelibdir}/libchalktiffimport.so -%endif -%{tde_libdir}/libkdeinit_chalk.so -%{tde_libdir}/libchalk_cmyk_*.so.* -%{tde_libdir}/libchalkcolor.so.* -%{tde_libdir}/libchalkcommon.so.* -%{tde_libdir}/libchalkgrayscale.so.* -%{tde_libdir}/libchalk_gray_*.so.* -%{tde_libdir}/libchalkimage.so.* -%{tde_libdir}/libchalk_lms_*.so.* -%{tde_libdir}/libchalk_rgb_*.so.* -%{tde_libdir}/libchalkrgb.so.* -%{tde_libdir}/libchalkui.so.* -%{tde_libdir}/libchalk_ycbcr_*.so.* -%if 0%{?with_kross} -%{tde_tdelibdir}/krosschalkcore.la -%{tde_tdelibdir}/krosschalkcore.so -%{tde_tdelibdir}/chalkscripting.la -%{tde_tdelibdir}/chalkscripting.so -%{tde_libdir}/libchalkscripting.so.* -%endif - -########## - -%package chalk-data -Summary: data files for Chalk painting program [Trinity] -Group: Applications/Productivity - -%description chalk-data -This package contains architecture-independent data files for Chalk, -the painting program shipped with the TDE Office Suite. - -See the chalk package for further information. - -This package is part of the TDE Office Suite. - -%files chalk-data -%defattr(-,root,root,-) -%{tde_tdeappdir}/chalk.desktop -%{tde_datadir}/applnk/.hidden/chalk_*.desktop -%{tde_datadir}/apps/konqueror/servicemenus/chalk_konqi.desktop -%{tde_datadir}/apps/chalk/ -%{tde_datadir}/apps/chalkplugins/ -%lang(en) %{tde_tdedocdir}/HTML/en/chalk/ -%{tde_datadir}/icons/hicolor/*/apps/chalk.png -%{tde_datadir}/services/chalk*.desktop -%{tde_datadir}/servicetypes/chalk*.desktop - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-3.5.13.2 - -%if 0%{?mgaversion} >= 3 || 0%{?pclinuxos} >= 2013 -%__cp /usr/share/automake-1.13/test-driver admin/ -%endif - -# use LGC variant instead -%__sed -i.dejavu-lgc \ - -e 's|DejaVu Sans|DejaVu LGC Sans|' \ - -e 's|dejavu sans|dejavu lgc sans|' \ - lib/kformula/{contextstyle,fontstyle,symboltable}.cc - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" -export KDEDIR="%{tde_prefix}" - -%if 0%{?suse_version} == 1220 -RD=$(ruby -r rbconfig -e 'printf("%s",Config::CONFIG["rubyhdrdir"])') -export CXXFLAGS="${CXXFLAGS} -I${RD}/%_normalized_cpu-linux" -%endif - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath --disable-dependency-tracking \ - --enable-new-ldflags \ - --disable-debug --disable-warnings \ - --with-pic --enable-shared --disable-static \ - --with-extra-libs=%{tde_libdir} \ - --enable-final \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir}/arts \ - --enable-closure \ - --disable-kexi-macros \ - %{?with_kross:--enable-scripting} %{!?with_kross:--disable-scripting} \ - %{?with_postgresql:--enable-pgsql} %{!?with_postgresql:--disable-pgsql} \ - -%__make %{?_smp_mflags} - - -%install -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -# Replace absolute symlinks with relative ones -pushd %{buildroot}%{tde_tdedocdir}/HTML -for lang in *; do - if [ -d $lang ]; then - pushd $lang - for i in */*; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../../common $i/common - done - popd - fi -done -popd - -desktop-file-install \ - --dir=%{buildroot}%{tde_tdeappdir} \ - --vendor="" \ - --delete-original \ - %{buildroot}%{tde_datadir}/applnk/Office/*.desktop - -## Hack-in NoDisplay=True (http://bugzilla.redhat.com/245061) -## until http://bugzilla.redhat.com/245190 is fixed -%if 0%{?rhel} || 0%{?fedora} -for desktop_file in %{buildroot}%{tde_datadir}/applnk/.hidden/*.desktop ; do - grep "^NoDisplay=" ${desktop_file} || \ - echo "NoDisplay=True" >> ${desktop_file} -done -%endif - -## unpackaged files -# fonts -rm -rfv %{buildroot}%{tde_datadir}/apps/kformula/fonts/ -# libtool archives -rm -f %{buildroot}%{tde_libdir}/lib*.la -# shouldn't these be in koffice-l10n? -rm -f %{buildroot}%{tde_datadir}/locale/pl/LC_MESSAGES/kexi_{add,delete}_column_gui_transl_pl.sh -# -devel symlinks to nuke -rm -f %{buildroot}%{tde_libdir}/lib*common.so -rm -f %{buildroot}%{tde_libdir}/lib*filters.so -rm -f %{buildroot}%{tde_libdir}/lib*private.so -rm -f %{buildroot}%{tde_libdir}/libkarbon*.so -rm -f %{buildroot}%{tde_libdir}/libkchart*.so -rm -f %{buildroot}%{tde_libdir}/libkexi*.so -rm -f %{buildroot}%{tde_libdir}/libkisexiv2.so -rm -f %{buildroot}%{tde_libdir}/libkformdesigner.so -rm -f %{buildroot}%{tde_libdir}/libkplato*.so -rm -f %{buildroot}%{tde_libdir}/libkpresenter*.so -rm -f %{buildroot}%{tde_libdir}/libkword*.so -rm -f %{buildroot}%{tde_libdir}/libkross*.so -rm -f %{buildroot}%{tde_libdir}/libkugar*.so - - -%clean -%__rm -rf %{buildroot} - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 1.6.3-7 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 1.6.3-6 -- Initial build for TDE 3.5.13.1 - -* Sun Jul 08 2012 Francois Andriot - 1.6.3-5 -- Fix kformula dependancies (for RHEL6) -- Fix FTBFS due to missing libraries [Bug #657] [Commit #5c69fcd3] - Clean up lib paths in LDFLAGS - moved to LIBADD - For KWord and and KPresenter added linking kspell2 - For KSpread added linking kutils -- Fix accidental conversions of binary files [Bug #1033] [Commit #dbe89307] - -* Thu Apr 26 2012 Francois Andriot - 1.6.3-4 -- Updates BuildRequires -- Build for Fedora 17 -- Fix compilation with GCC 4.7 [Bug #958] -- Fix compilation with Ruby 1.9 [Bug #735] -- Fix compilation with libpng [Bug #603] - -* Sat Jan 07 2012 Francois Andriot - 1.6.3-3 -- Fix GraphicksMagick 1.3 support [Bug #353] -- Various patches for kexi [Bug #777] - -* Fri Nov 25 2011 Francois Andriot - 1.6.3-2 -- Fix HTML directory location - -* Tue Nov 22 2011 Francois Andriot - 1.6.3-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 -- Based on Spec file from Fedora 11 'koffice-2:1.6.3-25.20090306svn' -- Removed 'krita', added 'chalk' diff --git a/redhat/applications/koffice/trinity-koffice-3.5.13.spec b/redhat/applications/koffice/trinity-koffice-3.5.13.spec deleted file mode 100644 index 255c5560f..000000000 --- a/redhat/applications/koffice/trinity-koffice-3.5.13.spec +++ /dev/null @@ -1,1081 +0,0 @@ -# Default version for this component -%define kdecomp koffice - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -# Disable Kross support for RHEL <= 5 (python is too old) -%if 0%{?fedora} > 0 || 0%{?rhel} >= 6 || 0%{?mgaversion} || 0%{?mdkversion} -%define with_kross 1 -%endif - -%if 0%{?fedora} >= 17 -%define with_ruby 0 -%else -%define with_ruby 1 -%endif - -# Ruby 1.9 includes are located in strance directories ... (taken from ruby 1.9 spec file) -%global _normalized_cpu %(echo %{_target_cpu} | sed 's/^ppc/powerpc/;s/i.86/i386/;s/sparcv./sparc/;s/armv.*/arm/') - - -Name: trinity-%{kdecomp} -Summary: An integrated office suite -Version: 1.6.3 -Release: 5%{?dist}%{?_variant} - -Group: Applications/Productivity -License: GPLv2+ - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz -Source100: koshell.png - -# [lib/kross/python/scripts/RestrictedPython/Utilities.py] Syntax error [Bug #679] -Patch2: koffice-3.5.13-kross_utilities_syntax.patch -# [koffice/chalk] Fix GraphicksMagick 1.3 support [Bug #353] -Patch3: koffice-3.5.13-chalk_gmagick.patch -# [koffice/kexi] Various patches for kexi, found on the web [Bug # 777] -Patch5: kexi-fix-possible-crash-in-buffered-mode-sqlite-2.patch -Patch6: kexi-hide_hourglass-1.1.3-2.patch -Patch7: kexi-fix-support-for-boolean-types-in-migration.patch -Patch8: kexi-mysql_migrate_long_text-1.1.3.patch -Patch9: kexi-fix-support-for-boolean-types.patch -Patch10: kexi-thoushand_objects_support-1.1.3-2.patch -Patch11: kexi-fp_expressions-1.1.3.patch -# [koffice] Fix compilation with GCC 4.7 [Bug #958] -Patch12: koffice-3.5.13-fix_gcc47_compilation.patch -# [koffice] Fix compilation with Ruby 1.9 [Bug #735] -Patch13: koffice-3.5.13-fix_ruby_1.9.patch -# [koffice] Fix compilation with libpng [Bug #603] -Patch14: koffice-3.5.13-fix_libpng.patch -# [koffice] Fix FTBFS due to missing libraries [Bug #657] [Commit #5c69fcd3] -# Clean up lib paths in LDFLAGS - moved to LIBADD -# For KWord and and KPresenter added linking kspell2 -# For KSpread added linking kutils -Patch15: koffice-3.5.13-fix_bug_657.patch -# [koffice] Fix accidental conversions of binary files [Bug #1033] [Commit #dbe89307] -Source1: koffice-3.5.13-damaged_binary_files.tar.gz -# [koffice] Missing LDFLAGS cause FTBFS on Mageia / Mandriva -Patch16: koffice-3.5.13-missing_ldflags.patch - -# BuildRequires: world-devel ;) -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdegraphics-devel -BuildRequires: automake libtool -BuildRequires: freetype-devel -BuildRequires: fontconfig-devel -BuildRequires: libart_lgpl-devel -BuildRequires: libpng-devel -BuildRequires: libtiff-devel -BuildRequires: libjpeg-devel -BuildRequires: ImageMagick-devel -BuildRequires: bzip2-devel -BuildRequires: zlib-devel -BuildRequires: openssl-devel -BuildRequires: python-devel -BuildRequires: pcre-devel -BuildRequires: lcms-devel -BuildRequires: gettext-devel -BuildRequires: mysql-devel -BuildRequires: desktop-file-utils -BuildRequires: perl -BuildRequires: doxygen -BuildRequires: aspell-devel -BuildRequires: libxslt-devel -BuildRequires: OpenEXR-devel -BuildRequires: libexif-devel -BuildRequires: readline-devel -%if 0%{?with_ruby} -BuildRequires: ruby ruby-devel >= 1.8.2 -%endif -BuildRequires: libpaper-devel -BuildRequires: libutempter-devel -BuildRequires: GraphicsMagick-devel >= 1.1.0 - -BuildRequires: trinity-tdegraphics-libpoppler-tqt-devel - -# These libraries are either too old or too recent on distributions ! -# We always provide our versions with TDE... -BuildRequires: trinity-libwpd-devel -BuildRequires: trinity-libpqxx-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}mesagl1-devel -BuildRequires: %{_lib}mesaglu1-devel -BuildRequires: %{_lib}xi-devel -BuildRequires: wv2-devel -%else -BuildRequires: libGL-devel -BuildRequires: libGLU-devel -BuildRequires: libXi-devel -BuildRequires: trinity-wv2-devel -%endif - -%description -KOffice is an integrated office suite. - -%package suite -Summary: An integrated office suite -Group: Applications/Productivity -Obsoletes: %{name} <= %{version}-%{release} -Obsoletes: %{name}-i18n < 4:%{version} -Requires: %{name}-core = %{version}-%{release} -Requires: %{name}-kword = %{version}-%{release} -Requires: %{name}-kspread = %{version}-%{release} -Requires: %{name}-kpresenter = %{version}-%{release} -Requires: %{name}-kivio = %{version}-%{release} -Requires: %{name}-karbon = %{version}-%{release} -Requires: %{name}-kugar = %{version}-%{release} -Requires: %{name}-kexi = %{version}-%{release} -Requires: %{name}-kexi-driver-mysql = %{version}-%{release} -Requires: %{name}-kexi-driver-pgsql = %{version}-%{release} -Requires: %{name}-kchart = %{version}-%{release} -Requires: %{name}-kformula = %{version}-%{release} -Requires: %{name}-filters = %{version}-%{release} -Requires: %{name}-kplato = %{version}-%{release} -Requires: %{name}-chalk = %{version}-%{release} - -%description suite -KOffice is an integrated office suite. - -%package core -Summary: Core support files for %{name} -Group: Applications/Productivity -Requires: %{name}-libs = %{version}-%{release} -Requires: perl -Conflicts: koffice-i18n < %{version} -%description core -%{summary}. - -%package libs -Summary: Runtime libraries for %{name} -Group: System Environment/Libraries -Conflicts: %{name} <= %{version}-%{release} -Requires: trinity-kdelibs -License: LGPLv2+ -%description libs -%{summary}. - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name}-libs = %{version}-%{release} -License: LGPLv2+ -%description devel -%{summary}. - -%package kword -Summary: A frame-based word processor capable of professional standard documents -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -%description kword -%{summary}. - -%package kspread -Summary: A powerful spreadsheet application -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -%description kspread -%{summary}. - -%package kpresenter -Summary: A full-featured presentation program -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -%description kpresenter -%{summary}. - -%package kivio -Summary: A flowcharting application -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -Obsoletes: kivio < %{version}-%{release} -%description kivio -%{summary}. - -%package karbon -Summary: A vector drawing application -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -%description karbon -%{summary}. - -%package kugar -Summary: A tool for generating business quality reports -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -%description kugar -%{summary}. - -%package kexi -Summary: An integrated environment for managing data -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -%description kexi -%{summary}. -For additional database drivers take a look at %{name}-kexi-driver-* - -%package kexi-driver-mysql -Summary: Mysql-driver for kexi -Group: Applications/Productivity -Requires: %{name}-kexi = %{version}-%{release} -%description kexi-driver-mysql -%{summary}. - -%package kexi-driver-pgsql -Summary: Postgresql driver for kexi -Group: Applications/Productivity -Requires: %{name}-kexi = %{version}-%{release} -%description kexi-driver-pgsql -%{summary}. - -%package kchart -Summary: An integrated graph and chart drawing tool -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -%description kchart -%{summary}. - -%package kformula -Summary: A powerful formula editor -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} - -%if 0%{?mgaversion} || 0%{?mdkversion} -Requires: fonts-ttf-dejavu -%else -Requires: lyx-cmex10-fonts -%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6 -Requires: dejavu-lgc-sans-fonts -%else -Requires: dejavu-lgc-fonts -%endif -%endif - -%description kformula -%{summary}. - -%package filters -Summary: Import and Export Filters for KOffice -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -%description filters -%{summary}. - -%package kplato -Summary: An integrated project management and planning tool -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -%description kplato -%{summary}. - -%package chalk -Summary: pixel-based image manipulation program for the TDE Office Suite [Trinity] -Group: Applications/Productivity -Requires: %{name}-core = %{version}-%{release} -Requires: %{name}-chalk-data = %{version}-%{release} -Requires: %{name}-filters -%description chalk -Chalk is a painting and image editing application for KOffice. Chalk contains -both ease-of-use and fun features like guided painting. - -This package is part of the TDE Office Suite. - -%package chalk-data -Summary: data files for Chalk painting program [Trinity] -Group: Applications/Productivity -%description chalk-data -This package contains architecture-independent data files for Chalk, -the painting program shipped with the TDE Office Suite. - -See the chalk package for further information. - -This package is part of the TDE Office Suite. - - - -%prep -%setup -q -n applications/%{kdecomp} -%setup -q -n applications/%{kdecomp} -a 1 - -#patch0 -p1 -#patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch5 -p0 -%patch6 -p0 -%patch7 -p0 -%patch8 -p0 -%patch9 -p0 -%patch10 -p0 -%patch11 -p0 -%patch12 -p1 -b .gcc47 -%if 0%{?fedora} >= 17 -%patch13 -p1 -b .ruby -%patch14 -p1 -b .libpng -%endif -%patch15 -p1 -%patch16 -p1 - -# use LGC variant instead -%__sed -i.dejavu-lgc \ - -e 's|DejaVu Sans|DejaVu LGC Sans|' \ - -e 's|dejavu sans|dejavu lgc sans|' \ - lib/kformula/{contextstyle,fontstyle,symboltable}.cc - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath --disable-dependency-tracking \ - --enable-new-ldflags \ - --disable-debug --disable-warnings \ - --with-pic --enable-shared --disable-static \ - --with-extra-libs=%{tde_libdir} \ - --enable-final \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir}/arts \ - --enable-closure \ - --disable-kexi-macros \ - --with-pqxx-includes=%{tde_includedir} \ - --with-pqxx-libraries=%{tde_libdir} \ -%if 0%{?with_kross} > 0 - --enable-scripting \ -%else - --disable-scripting \ -%endif - -%__make %{?_smp_mflags} - - -%install -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -[ ! -f %{buildroot}%{tde_datadir}/icons/hicolor/48x48/apps/koshell.png ] && \ -%__install -p -D -m644 %{SOURCE100} %{buildroot}%{tde_datadir}/icons/hicolor/48x48/apps/koshell.png - -# Replace absolute symlinks with relative ones -pushd %{buildroot}%{tde_tdedocdir}/HTML -for lang in *; do - if [ -d $lang ]; then - pushd $lang - for i in */*; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../../common $i/common - done - popd - fi -done -popd - -desktop-file-install \ - --dir=%{buildroot}%{tde_tdeappdir} \ - --vendor="" \ - --delete-original \ - %{buildroot}%{tde_datadir}/applnk/Office/*.desktop - -## Hack-in NoDisplay=True (http://bugzilla.redhat.com/245061) -## until http://bugzilla.redhat.com/245190 is fixed -%if 0%{?rhel} || 0%{?fedora} -for desktop_file in %{buildroot}%{tde_datadir}/applnk/.hidden/*.desktop ; do - grep "^NoDisplay=" ${desktop_file} || \ - echo "NoDisplay=True" >> ${desktop_file} -done -%endif - -## unpackaged files -# fonts -rm -rfv %{buildroot}%{tde_datadir}/apps/kformula/fonts/ -# libtool archives -rm -f %{buildroot}%{tde_libdir}/lib*.la -# shouldn't these be in koffice-l10n? -rm -f %{buildroot}%{tde_datadir}/locale/pl/LC_MESSAGES/kexi_{add,delete}_column_gui_transl_pl.sh -# -devel symlinks to nuke -rm -f %{buildroot}%{tde_libdir}/lib*common.so -rm -f %{buildroot}%{tde_libdir}/lib*filters.so -rm -f %{buildroot}%{tde_libdir}/lib*private.so -rm -f %{buildroot}%{tde_libdir}/libkarbon*.so -rm -f %{buildroot}%{tde_libdir}/libkchart*.so -rm -f %{buildroot}%{tde_libdir}/libkexi*.so -rm -f %{buildroot}%{tde_libdir}/libkisexiv2.so -rm -f %{buildroot}%{tde_libdir}/libkformdesigner.so -rm -f %{buildroot}%{tde_libdir}/libkplato*.so -rm -f %{buildroot}%{tde_libdir}/libkpresenter*.so -rm -f %{buildroot}%{tde_libdir}/libkword*.so -rm -f %{buildroot}%{tde_libdir}/libkross*.so -rm -f %{buildroot}%{tde_libdir}/libkugar*.so - - -%clean -%__rm -rf %{buildroot} - -%post core -touch --no-create %{tde_datadir}/icons/crystalsvg &> /dev/null || : -touch --no-create %{tde_datadir}/icons/hicolor &> /dev/null || : -touch --no-create %{tde_datadir}/icons/locolor &> /dev/null || : - -%postun core -if [ $1 -eq 0 ]; then - gtk-update-icon-cache %{tde_datadir}/icons/crystalsvg &> /dev/null || : - gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : - gtk-update-icon-cache %{tde_datadir}/icons/locolor &> /dev/null || : - update-desktop-database -q &> /dev/null ||: -fi - -%posttrans core -gtk-update-icon-cache %{tde_datadir}/icons/crystalsvg &> /dev/null || : -gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : -gtk-update-icon-cache %{tde_datadir}/icons/locolor &> /dev/null || : -update-desktop-database -q &> /dev/null ||: - -%post karbon -/sbin/ldconfig || : - -%postun karbon -/sbin/ldconfig || : - -%post kword -/sbin/ldconfig || : - -%postun kword -/sbin/ldconfig || : - -%posttrans kword -update-desktop-database -q &> /dev/null ||: - -%post kpresenter -/sbin/ldconfig || : - -%postun kpresenter -/sbin/ldconfig || : - -%posttrans kpresenter -update-desktop-database -q &> /dev/null ||: - -%post kugar -/sbin/ldconfig || : - -%postun kugar -/sbin/ldconfig || : - -%posttrans kugar -update-desktop-database -q &> /dev/null ||: - -%post kexi -/sbin/ldconfig || : - -%postun kexi -/sbin/ldconfig || : - -%posttrans kexi -update-desktop-database -q &> /dev/null ||: - -%post kchart -/sbin/ldconfig || : - -%postun kchart -/sbin/ldconfig || : - -%posttrans kchart -update-desktop-database -q &> /dev/null ||: - -%post filters -/sbin/ldconfig || : - -%postun filters -/sbin/ldconfig || : - -%post libs -/sbin/ldconfig || : - -%postun libs -/sbin/ldconfig || : - -%post chalk -/sbin/ldconfig || : - -%postun chalk -/sbin/ldconfig || : - -%posttrans chalk -update-desktop-database -q &> /dev/null ||: - -%files suite -#empty => virtual package - -%files core -%defattr(-,root,root,-) -%doc AUTHORS COPYING README -%{tde_bindir}/koshell -%{tde_bindir}/kthesaurus -%{tde_bindir}/koconverter -%{tde_libdir}/libkdeinit_koshell.so -%{tde_libdir}/libkdeinit_kthesaurus.so -%{tde_tdelibdir}/kfile_koffice.* -%{tde_tdelibdir}/kfile_ooo.* -%{tde_tdelibdir}/kfile_abiword.* -%{tde_tdelibdir}/kfile_gnumeric.* -%{tde_tdelibdir}/kodocinfopropspage.* -%{tde_tdelibdir}/kofficescan.* -%{tde_tdelibdir}/kofficethumbnail.* -%{tde_tdelibdir}/koshell.* -%{tde_tdelibdir}/kthesaurus.* -%{tde_tdelibdir}/kwmailmerge_classic.* -%{tde_tdelibdir}/kwmailmerge_kabc.* -%{tde_tdelibdir}/kwmailmerge_qtsqldb_power.* -%{tde_tdelibdir}/kwmailmerge_qtsqldb.* -%{tde_tdelibdir}/libkounavailpart.* -%{tde_tdelibdir}/libkprkword.* -%{tde_tdelibdir}/libthesaurustool.* -%{tde_tdelibdir}/clipartthumbnail.* -%{tde_datadir}/apps/koffice/ -%{tde_datadir}/apps/konqueror/servicemenus/* -%{tde_datadir}/apps/koshell/ -%{tde_datadir}/apps/thesaurus/ -%{tde_datadir}/config.kcfg/koshell.kcfg -%{tde_tdedocdir}/HTML/en/koffice/ -%{tde_tdedocdir}/HTML/en/koshell/ -%{tde_tdedocdir}/HTML/en/thesaurus/ -%{tde_datadir}/icons/crystalsvg/*/*/* -%{tde_datadir}/icons/hicolor/*/*/* -%{tde_datadir}/icons/locolor/*/*/* -%{tde_datadir}/services/clipartthumbnail.desktop -%{tde_datadir}/services/kfile*.desktop -%{tde_datadir}/services/kwmailmerge*.desktop -%{tde_datadir}/services/kodocinfopropspage.desktop -%{tde_datadir}/services/kofficethumbnail.desktop -%{tde_datadir}/services/kounavail.desktop -%{tde_datadir}/services/kprkword.desktop -%{tde_datadir}/services/thesaurustool.desktop -%{tde_datadir}/servicetypes/kochart.desktop -%{tde_datadir}/servicetypes/kofficepart.desktop -%{tde_datadir}/servicetypes/koplugin.desktop -%{tde_datadir}/servicetypes/kwmailmerge.desktop -%{tde_datadir}/servicetypes/widgetfactory.desktop -%{tde_tdeappdir}/*koffice.desktop -%{tde_tdeappdir}/*KThesaurus.desktop -%{tde_tdeappdir}/*koshell.desktop -%{tde_datadir}/apps/kofficewidgets/ -%if 0%{?with_kross} > 0 -%{tde_datadir}/apps/kross/ -%{tde_tdelibdir}/krosspython.* -%if 0%{?with_ruby} -%{tde_tdelibdir}/krossruby.* -%endif -%endif - -%files libs -%defattr(-,root,root,-) -%doc COPYING.LIB -#_libdir/libk*common.so.* -%{tde_libdir}/libkarboncommon.so.* -%{tde_libdir}/libkspreadcommon.so.* -%{tde_libdir}/libkdchart.so.* -%{tde_libdir}/libkochart.so.* -%{tde_libdir}/libkofficecore.so.* -%{tde_libdir}/libkofficeui.so.* -%{tde_libdir}/libkotext.so.* -%{tde_libdir}/libkowmf.so.* -%{tde_libdir}/libkopainter.so.* -%{tde_libdir}/libkstore.so.* -%{tde_libdir}/libkwmailmerge_interface.so.* -%{tde_libdir}/libkwmf.so.* -%{tde_libdir}/libkformulalib.so.* -%{tde_libdir}/libkopalette.so.* -%{tde_libdir}/libkoproperty.so.* -%if 0%{?with_kross} > 0 -%{tde_libdir}/libkrossapi.so.* -%{tde_libdir}/libkrossmain.so.* -%endif - -%files devel -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/koffice-apidocs/ -%{tde_includedir}/* -# FIXME: include only shlib symlinks we know/want to export -%{tde_libdir}/lib*.so -%exclude %{tde_libdir}/libkdeinit_*.so -%exclude %{tde_libdir}/libkudesignercore.so - -%files kword -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kword/ -%{tde_bindir}/kword -%{tde_libdir}/libkdeinit_kword.so -%{tde_libdir}/libkwordprivate.so.* -%{tde_tdelibdir}/libkwordpart.* -%{tde_tdelibdir}/kword.* -%{tde_datadir}/apps/kword/ -%{tde_datadir}/services/kword*.desktop -%{tde_datadir}/services/kwserial*.desktop -%{tde_datadir}/templates/TextDocument.desktop -%{tde_datadir}/templates/.source/TextDocument.kwt -%{tde_tdeappdir}/*kword.desktop - -%files kspread -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kspread/ -%{tde_bindir}/kspread -%{tde_libdir}/libkdeinit_kspread.so -%{tde_tdelibdir}/kspread.* -%{tde_tdelibdir}/libkspreadpart.* -%{tde_tdelibdir}/kwmailmerge_kspread.* -%{tde_tdelibdir}/libcsvexport.* -%{tde_tdelibdir}/libcsvimport.* -%{tde_tdelibdir}/libgnumericexport.* -%{tde_tdelibdir}/libgnumericimport.* -%{tde_tdelibdir}/libkspreadhtmlexport.* -%{tde_tdelibdir}/libkspreadinsertcalendar.* -%{tde_tdelibdir}/libopencalcexport.* -%{tde_tdelibdir}/libopencalcimport.* -%{tde_tdelibdir}/libqproimport.* -%{tde_datadir}/apps/kspread/ -%{tde_datadir}/services/kspread*.desktop -%{tde_datadir}/templates/SpreadSheet.desktop -%{tde_datadir}/templates/.source/SpreadSheet.kst -%{tde_tdeappdir}/*kspread.desktop -%if 0%{?with_kross} > 0 -%{tde_tdelibdir}/kspreadscripting.* -%{tde_tdelibdir}/krosskspreadcore.* -%endif - -%files kpresenter -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kpresenter/ -%{tde_bindir}/kpresenter -%{tde_bindir}/kprconverter.pl -%{tde_libdir}/libkdeinit_kpresenter.so -%{tde_libdir}/libkpresenterimageexport.so.* -%{tde_libdir}/libkpresenterprivate.so.* -%{tde_tdelibdir}/*kpresenter*.* -%{tde_datadir}/apps/kpresenter/ -%{tde_datadir}/services/kpresenter*.desktop -%{tde_datadir}/templates/Presentation.desktop -%{tde_datadir}/templates/.source/Presentation.kpt -%{tde_tdeappdir}/*kpresenter.desktop - -%files karbon -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/karbon/ -%{tde_bindir}/karbon -%{tde_libdir}/libkdeinit_karbon.so -%{tde_tdelibdir}/*karbon*.* -%{tde_tdelibdir}/libwmfexport.* -%{tde_tdelibdir}/libwmfimport.* -%{tde_datadir}/apps/karbon/ -%{tde_datadir}/services/karbon* -%{tde_datadir}/servicetypes/karbon_module.desktop -%{tde_datadir}/templates/Illustration.desktop -%{tde_datadir}/templates/.source/Illustration.karbon -%{tde_tdeappdir}/*karbon.desktop - -%files kugar -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kugar/ -%{tde_bindir}/kugar -%{tde_bindir}/kudesigner -%{tde_libdir}/libkdeinit_kugar.so -%{tde_libdir}/libkdeinit_kudesigner.so -%{tde_libdir}/libkugarlib.so.* -%{tde_libdir}/libkudesignercore.so -%{tde_tdelibdir}/kudesigner.* -%{tde_tdelibdir}/kugar.* -%{tde_tdelibdir}/libkudesignerpart.* -%{tde_tdelibdir}/libkugarpart.* -%{tde_datadir}/apps/kudesigner/ -%{tde_datadir}/apps/kugar/ -%{tde_datadir}/services/kugar*.desktop -%{tde_tdeappdir}/*kugar.desktop -%{tde_tdeappdir}/*kudesigner.desktop - -%files kexi -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kexi/ -%{tde_bindir}/kexi* -%{tde_bindir}/ksqlite* -%{tde_libdir}/libkdeinit_kexi.so -%{tde_libdir}/libkexi*.so.* -%{tde_libdir}/libkformdesigner.so.* -%{tde_tdelibdir}/kformdesigner_*.* -%{tde_tdelibdir}/kexidb_sqlite2driver.* -%{tde_tdelibdir}/kexidb_sqlite3driver.* -%{tde_tdelibdir}/kexihandler_*.* -%{tde_tdelibdir}/kexi.* -# moved here to workaround bug #394101, alternative is to move libkexi(db|dbparser|utils) to -libs) -%{tde_tdelibdir}/libkspreadkexiimport.* -%{tde_datadir}/config/kexirc -%{tde_datadir}/config/magic/kexi.magic -%{tde_datadir}/mimelnk/application/* -%{tde_datadir}/servicetypes/kexi*.desktop -%{tde_datadir}/services/kexi/ -%{tde_datadir}/apps/kexi/ -%{tde_datadir}/services/kformdesigner/* -%{tde_tdeappdir}/*kexi.desktop -%{tde_datadir}/services/kexidb_sqlite*driver.desktop -%if 0%{?with_kross} > 0 -%{tde_bindir}/krossrunner -%{tde_tdelibdir}/krosskexiapp.* -%{tde_tdelibdir}/krosskexidb.* -%endif - -%files kexi-driver-mysql -%defattr(-,root,root,-) -%{tde_tdelibdir}/kexidb_mysqldriver.* -%{tde_tdelibdir}/keximigrate_mysql.* -%{tde_datadir}/services/keximigrate_mysql.desktop -%{tde_datadir}/services/kexidb_mysqldriver.desktop - -%files kexi-driver-pgsql -%defattr(-,root,root,-) -%{tde_tdelibdir}/kexidb_pqxxsqldriver.* -%{tde_tdelibdir}/keximigrate_pqxx.* -%{tde_datadir}/services/kexidb_pqxxsqldriver.desktop -%{tde_datadir}/services/keximigrate_pqxx.desktop - -%files kchart -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kchart/ -%{tde_bindir}/kchart -%{tde_libdir}/libkchart*.so.* -%{tde_libdir}/libkdeinit_kchart.so -%{tde_tdelibdir}/*kchart*.* -%{tde_datadir}/apps/kchart/ -%{tde_datadir}/services/kchart*.desktop -%{tde_tdeappdir}/*kchart.desktop - -%files kformula -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kformula/ -%{tde_bindir}/kformula -%{tde_libdir}/libkdeinit_kformula.so -%{tde_tdelibdir}/*kformula*.* -%{tde_datadir}/apps/kformula/ -%{tde_datadir}/services/kformula*.desktop -%{tde_tdeappdir}/*kformula.desktop - -%files kivio -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kivio/ -%{tde_bindir}/kivio -%{tde_libdir}/libkdeinit_kivio.so -%{tde_libdir}/libkiviocommon.so.* -%{tde_tdelibdir}/*kivio*.* -%{tde_tdelibdir}/straight_connector.* -%{tde_datadir}/apps/kivio/ -%{tde_datadir}/config.kcfg/kivio.kcfg -%{tde_datadir}/services/kivio*.desktop -%{tde_tdeappdir}/*kivio.desktop - -%files filters -%defattr(-,root,root,-) -%{tde_libdir}/libkwordexportfilters.so.* -%{tde_tdelibdir}/libabiwordexport.* -%{tde_tdelibdir}/libabiwordimport.* -%{tde_tdelibdir}/libamiproexport.* -%{tde_tdelibdir}/libamiproimport.* -%{tde_tdelibdir}/libapplixspreadimport.* -%{tde_tdelibdir}/libapplixwordimport.* -%{tde_tdelibdir}/libasciiexport.* -%{tde_tdelibdir}/libasciiimport.* -%{tde_tdelibdir}/libdbaseimport.* -%{tde_tdelibdir}/libdocbookexport.* -%{tde_tdelibdir}/libexcelimport.* -%{tde_tdelibdir}/libgenerickofilter.* -%{tde_tdelibdir}/libhtmlexport.* -%{tde_tdelibdir}/libhtmlimport.* -%{tde_tdelibdir}/libkarbonepsimport.* -%{tde_tdelibdir}/libkfolatexexport.* -%{tde_tdelibdir}/libkfomathmlexport.* -%{tde_tdelibdir}/libkfomathmlimport.* -%{tde_tdelibdir}/libkfopngexport.* -%{tde_tdelibdir}/libkspreadlatexexport.* -%{tde_tdelibdir}/libkugarnopimport.* -%{tde_tdelibdir}/libkwordkword1dot3import.* -%{tde_tdelibdir}/libkwordlatexexport.* -%{tde_tdelibdir}/libmswriteexport.* -%{tde_tdelibdir}/libmswriteimport.* -%{tde_tdelibdir}/libooimpressexport.* -%{tde_tdelibdir}/libooimpressimport.* -%{tde_tdelibdir}/liboowriterexport.* -%{tde_tdelibdir}/liboowriterimport.* -%{tde_tdelibdir}/libpalmdocexport.* -%{tde_tdelibdir}/libpalmdocimport.* -%{tde_tdelibdir}/libpdfimport.* -%{tde_tdelibdir}/librtfexport.* -%{tde_tdelibdir}/librtfimport.* -%{tde_tdelibdir}/libwmlexport.* -%{tde_tdelibdir}/libwmlimport.* -%{tde_tdelibdir}/libwpexport.* -%{tde_tdelibdir}/libwpimport.* -%{tde_tdelibdir}/libmswordimport.* -%{tde_tdelibdir}/libxsltimport.* -%{tde_tdelibdir}/libxsltexport.* -%{tde_tdelibdir}/libhancomwordimport.* -%{tde_tdelibdir}/libkfosvgexport.* -%{tde_tdelibdir}/liboodrawimport.* -%{tde_tdelibdir}/libolefilter.* -%{tde_datadir}/apps/xsltfilter/ -%{tde_datadir}/services/generic_filter.desktop -%{tde_datadir}/services/ole_powerpoint97_import.desktop -%{tde_datadir}/services/xslt*.desktop -%{tde_datadir}/servicetypes/kofilter*.desktop - -%files kplato -%defattr(-,root,root,-) -%lang(en) %{tde_tdedocdir}/HTML/en/kplato/ -%{tde_bindir}/kplato -%{tde_libdir}/libkdeinit_kplato.so -%{tde_tdelibdir}/kplato.* -%{tde_tdelibdir}/libkplatopart.* -%{tde_datadir}/apps/kplato/ -%{tde_datadir}/services/kplatopart.desktop -%{tde_tdeappdir}/*kplato.desktop - -%files chalk -%defattr(-,root,root,-) -%{tde_bindir}/chalk -%{tde_tdelibdir}/chalkblurfilter.la -%{tde_tdelibdir}/chalkblurfilter.so -%{tde_tdelibdir}/chalkbumpmap.la -%{tde_tdelibdir}/chalkbumpmap.so -%{tde_tdelibdir}/chalkcimg.la -%{tde_tdelibdir}/chalkcimg.so -%{tde_tdelibdir}/chalk_cmyk_* -%{tde_tdelibdir}/chalkcmykplugin.la -%{tde_tdelibdir}/chalkcmykplugin.so -%{tde_tdelibdir}/chalkcolorify.la -%{tde_tdelibdir}/chalkcolorify.so -%{tde_tdelibdir}/chalkcolorrange.la -%{tde_tdelibdir}/chalkcolorrange.so -%{tde_tdelibdir}/chalkcolorsfilters.la -%{tde_tdelibdir}/chalkcolorsfilters.so -%{tde_tdelibdir}/chalkcolorspaceconversion.la -%{tde_tdelibdir}/chalkcolorspaceconversion.so -%{tde_tdelibdir}/chalkconvolutionfilters.la -%{tde_tdelibdir}/chalkconvolutionfilters.so -%{tde_tdelibdir}/chalkdefaultpaintops.la -%{tde_tdelibdir}/chalkdefaultpaintops.so -%{tde_tdelibdir}/chalkdefaulttools.la -%{tde_tdelibdir}/chalkdefaulttools.so -%{tde_tdelibdir}/chalkdropshadow.la -%{tde_tdelibdir}/chalkdropshadow.so -%{tde_tdelibdir}/chalkembossfilter.la -%{tde_tdelibdir}/chalkembossfilter.so -%{tde_tdelibdir}/chalkexample.la -%{tde_tdelibdir}/chalkexample.so -%{tde_tdelibdir}/chalkextensioncolorsfilters.la -%{tde_tdelibdir}/chalkextensioncolorsfilters.so -%{tde_tdelibdir}/chalkfastcolortransfer.la -%{tde_tdelibdir}/chalkfastcolortransfer.so -%{tde_tdelibdir}/chalkfiltersgallery.la -%{tde_tdelibdir}/chalkfiltersgallery.so -%{tde_tdelibdir}/chalk_gray_* -%{tde_tdelibdir}/chalkgrayplugin.la -%{tde_tdelibdir}/chalkgrayplugin.so -%{tde_tdelibdir}/chalkhistogramdocker.la -%{tde_tdelibdir}/chalkhistogramdocker.so -%{tde_tdelibdir}/chalkhistogram.la -%{tde_tdelibdir}/chalkhistogram.so -%{tde_tdelibdir}/chalkimageenhancement.la -%{tde_tdelibdir}/chalkimageenhancement.so -%{tde_tdelibdir}/chalkimagesize.la -%{tde_tdelibdir}/chalkimagesize.so -%{tde_tdelibdir}/chalk.la -%{tde_tdelibdir}/chalklenscorrectionfilter.la -%{tde_tdelibdir}/chalklenscorrectionfilter.so -%{tde_tdelibdir}/chalklevelfilter.la -%{tde_tdelibdir}/chalklevelfilter.so -%{tde_tdelibdir}/chalk_lms_* -%{tde_tdelibdir}/chalkmodifyselection.la -%{tde_tdelibdir}/chalkmodifyselection.so -%{tde_tdelibdir}/chalknoisefilter.la -%{tde_tdelibdir}/chalknoisefilter.so -%{tde_tdelibdir}/chalkoilpaintfilter.la -%{tde_tdelibdir}/chalkoilpaintfilter.so -%{tde_tdelibdir}/chalkpixelizefilter.la -%{tde_tdelibdir}/chalkpixelizefilter.so -%{tde_tdelibdir}/chalkraindropsfilter.la -%{tde_tdelibdir}/chalkraindropsfilter.so -%{tde_tdelibdir}/chalkrandompickfilter.la -%{tde_tdelibdir}/chalkrandompickfilter.so -%{tde_tdelibdir}/chalk_rgb_* -%{tde_tdelibdir}/chalkrgbplugin.la -%{tde_tdelibdir}/chalkrgbplugin.so -%{tde_tdelibdir}/chalkrotateimage.la -%{tde_tdelibdir}/chalkrotateimage.so -%{tde_tdelibdir}/chalkroundcornersfilter.la -%{tde_tdelibdir}/chalkroundcornersfilter.so -%{tde_tdelibdir}/chalkselectiontools.la -%{tde_tdelibdir}/chalkselectiontools.so -%{tde_tdelibdir}/chalkselectopaque.la -%{tde_tdelibdir}/chalkselectopaque.so -%{tde_tdelibdir}/chalkseparatechannels.la -%{tde_tdelibdir}/chalkseparatechannels.so -%{tde_tdelibdir}/chalkshearimage.la -%{tde_tdelibdir}/chalkshearimage.so -%{tde_tdelibdir}/chalksmalltilesfilter.la -%{tde_tdelibdir}/chalksmalltilesfilter.so -%{tde_tdelibdir}/chalk.so -%{tde_tdelibdir}/chalkscreenshot.la -%{tde_tdelibdir}/chalkscreenshot.so -%{tde_tdelibdir}/chalksobelfilter.la -%{tde_tdelibdir}/chalksobelfilter.so -%{tde_tdelibdir}/chalksubstrate.la -%{tde_tdelibdir}/chalksubstrate.so -%{tde_tdelibdir}/chalktoolcrop.la -%{tde_tdelibdir}/chalktoolcrop.so -%{tde_tdelibdir}/chalktoolcurves.la -%{tde_tdelibdir}/chalktoolcurves.so -%{tde_tdelibdir}/chalktoolfilter.la -%{tde_tdelibdir}/chalktoolfilter.so -%{tde_tdelibdir}/chalktoolperspectivegrid.la -%{tde_tdelibdir}/chalktoolperspectivegrid.so -%{tde_tdelibdir}/chalktoolperspectivetransform.la -%{tde_tdelibdir}/chalktoolperspectivetransform.so -%{tde_tdelibdir}/chalktoolpolygon.la -%{tde_tdelibdir}/chalktoolpolygon.so -%{tde_tdelibdir}/chalktoolpolyline.la -%{tde_tdelibdir}/chalktoolpolyline.so -%{tde_tdelibdir}/chalktoolselectsimilar.la -%{tde_tdelibdir}/chalktoolselectsimilar.so -%{tde_tdelibdir}/chalktoolstar.la -%{tde_tdelibdir}/chalktoolstar.so -%{tde_tdelibdir}/chalktooltransform.la -%{tde_tdelibdir}/chalktooltransform.so -%{tde_tdelibdir}/chalkunsharpfilter.la -%{tde_tdelibdir}/chalkunsharpfilter.so -%{tde_tdelibdir}/chalkwavefilter.la -%{tde_tdelibdir}/chalkwavefilter.so -%{tde_tdelibdir}/chalkwetplugin.la -%{tde_tdelibdir}/chalkwetplugin.so -%{tde_tdelibdir}/chalk_ycbcr_* -%{tde_tdelibdir}/libchalkgmagickexport.la -%{tde_tdelibdir}/libchalkgmagickexport.so -%{tde_tdelibdir}/libchalkgmagickimport.la -%{tde_tdelibdir}/libchalkgmagickimport.so -%{tde_tdelibdir}/libchalkjpegexport.la -%{tde_tdelibdir}/libchalkjpegexport.so -%{tde_tdelibdir}/libchalkjpegimport.la -%{tde_tdelibdir}/libchalkjpegimport.so -%{tde_tdelibdir}/libchalk_openexr_export.la -%{tde_tdelibdir}/libchalk_openexr_export.so -%{tde_tdelibdir}/libchalk_openexr_import.la -%{tde_tdelibdir}/libchalk_openexr_import.so -%{tde_tdelibdir}/libchalkpart.la -%{tde_tdelibdir}/libchalkpart.so -%{tde_tdelibdir}/libchalkpdfimport.la -%{tde_tdelibdir}/libchalkpdfimport.so -%{tde_tdelibdir}/libchalkpngexport.la -%{tde_tdelibdir}/libchalkpngexport.so -%{tde_tdelibdir}/libchalkpngimport.la -%{tde_tdelibdir}/libchalkpngimport.so -%{tde_tdelibdir}/libchalk_raw_import.la -%{tde_tdelibdir}/libchalk_raw_import.so -%{tde_tdelibdir}/libchalktiffexport.la -%{tde_tdelibdir}/libchalktiffexport.so -%{tde_tdelibdir}/libchalktiffimport.la -%{tde_tdelibdir}/libchalktiffimport.so -%{tde_libdir}/libkdeinit_chalk.so -%{tde_libdir}/libchalk_cmyk_*.so.* -%{tde_libdir}/libchalkcolor.so.* -%{tde_libdir}/libchalkcommon.so.* -%{tde_libdir}/libchalkgrayscale.so.* -%{tde_libdir}/libchalk_gray_*.so.* -%{tde_libdir}/libchalkimage.so.* -%{tde_libdir}/libchalk_lms_*.so.* -%{tde_libdir}/libchalk_rgb_*.so.* -%{tde_libdir}/libchalkrgb.so.* -%{tde_libdir}/libchalkui.so.* -%{tde_libdir}/libchalk_ycbcr_*.so.* -%if 0%{?with_kross} > 0 -%{tde_tdelibdir}/krosschalkcore.la -%{tde_tdelibdir}/krosschalkcore.so -%{tde_tdelibdir}/chalkscripting.la -%{tde_tdelibdir}/chalkscripting.so -%{tde_libdir}/libchalkscripting.so.* -%endif - -%files chalk-data -%{tde_tdeappdir}/chalk.desktop -%{tde_datadir}/applnk/.hidden/chalk_*.desktop -%{tde_datadir}/apps/konqueror/servicemenus/chalk_konqi.desktop -%{tde_datadir}/apps/chalk -%{tde_datadir}/apps/chalkplugins -%lang(en) %{tde_tdedocdir}/HTML/en/chalk -%{tde_datadir}/icons/hicolor/*/apps/chalk.png -%{tde_datadir}/services/chalk*.desktop -%{tde_datadir}/servicetypes/chalk*.desktop - - -%changelog -* Sun Jul 08 2012 Francois Andriot - 1.6.3-5 -- Fix kformula dependancies (for RHEL6) -- Fix FTBFS due to missing libraries [Bug #657] [Commit #5c69fcd3] - Clean up lib paths in LDFLAGS - moved to LIBADD - For KWord and and KPresenter added linking kspell2 - For KSpread added linking kutils -- Fix accidental conversions of binary files [Bug #1033] [Commit #dbe89307] - -* Thu Apr 26 2012 Francois Andriot - 1.6.3-4 -- Updates BuildRequires -- Build for Fedora 17 -- Fix compilation with GCC 4.7 [Bug #958] -- Fix compilation with Ruby 1.9 [Bug #735] -- Fix compilation with libpng [Bug #603] - -* Sat Jan 07 2012 Francois Andriot - 1.6.3-3 -- Fix GraphicksMagick 1.3 support [Bug #353] -- Various patches for kexi [Bug #777] - -* Fri Nov 25 2011 Francois Andriot - 1.6.3-2 -- Fix HTML directory location - -* Tue Nov 22 2011 Francois Andriot - 1.6.3-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 -- Based on Spec file from Fedora 11 'koffice-2:1.6.3-25.20090306svn' -- Removed 'krita', added 'chalk' diff --git a/redhat/applications/konversation/konversation-3.5.13.1.spec b/redhat/applications/konversation/konversation-3.5.13.1.spec new file mode 100644 index 000000000..7d7928012 --- /dev/null +++ b/redhat/applications/konversation/konversation-3.5.13.1.spec @@ -0,0 +1,190 @@ +# Default version for this component +%define kdecomp konversation + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: user friendly Internet Relay Chat (IRC) client for KDE [Trinity] +Version: 1.1 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-arts-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: libxslt-devel +%if 0%{?suse_version} +BuildRequires: docbook-xsl-stylesheets +%else +BuildRequires: docbook-style-xsl +%endif + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xi-devel +%else +BuildRequires: libXi-devel +%endif + +%description +Konversation is a client for the Internet Relay Chat (IRC) protocol. +It is easy to use and well-suited for novice IRC users, but novice +and experienced users alike will appreciate its many features: + + * Standard IRC features + * Easy to use graphical interface + * Multiple server and channel tabs in a single window + * IRC color support + * Pattern-based message highlighting and OnScreen Display + * Multiple identities for different servers + * Multi-language scripting support (with DCOP) + * Customizable command aliases + * NickServ-aware log-on (for registered nicknames) + * Smart logging + * Traditional or enhanced-shell-style nick completion + * DCC file transfer with resume support + + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; source /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/konversation +%{tde_tdeappdir}/konversation.desktop +%{tde_datadir}/apps/kconf_update/konversation-0.19-appearance.pl +%{tde_datadir}/apps/kconf_update/konversation-0.19-colorcodes.pl +%{tde_datadir}/apps/kconf_update/konversation-0.19-colors.pl +%{tde_datadir}/apps/kconf_update/konversation-0.19-custombrowser.pl +%{tde_datadir}/apps/kconf_update/konversation-0.19-notifylists.pl +%{tde_datadir}/apps/kconf_update/konversation-0.19-sortorder.pl +%{tde_datadir}/apps/kconf_update/konversation-0.19-tabplacement.pl +%{tde_datadir}/apps/kconf_update/konversation-0.20-customfonts.pl +%{tde_datadir}/apps/kconf_update/konversation-0.20-quickbuttons.pl +%{tde_datadir}/apps/kconf_update/konversation.upd +%{tde_datadir}/apps/konversation/ +%{tde_datadir}/config.kcfg/konversation.kcfg +%{tde_datadir}/services/konvirc.protocol +%{tde_datadir}/services/konvirc6.protocol +%{tde_tdedocdir}/HTML/*/konversation/ +%{tde_datadir}/icons/crystalsvg/*/actions/kimproxyaway.png +%{tde_datadir}/icons/crystalsvg/*/actions/kimproxyoffline.png +%{tde_datadir}/icons/crystalsvg/*/actions/kimproxyonline.png +%{tde_datadir}/icons/crystalsvg/*/actions/char.png +%{tde_datadir}/icons/crystalsvg/*/actions/konv_message.png +%{tde_datadir}/icons/crystalsvg/scalable/actions/kimproxyaway.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/kimproxyoffline.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/kimproxyonline.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/konv_message.svgz +%{tde_datadir}/icons/hicolor/*/apps/konversation.png +%{tde_datadir}/icons/hicolor/scalable/apps/konversation.svgz + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 1.1-3 +- Initial build for TDE 3.5.13.1 + +* Sat May 05 2012 Francois Andriot - 1.1-2 +- Rebuild for Fedora 17 +- Fix HTML directory location +- Rename old tq methods that no longer need a unique name [Commit #01f5ea83] +- Remove additional unneeded tq method conversions [Commit #efdae4e7] +- Rename obsolete tq methods to standard names [Commit #c64099e5] +- Fix linear alphabet string errors [Commit #440010aa] +- Fix inadvertent "TQ" changes. [Commit #ca3d6cef] + +* Mon Nov 07 2011 Francois Andriot - 1.1-1 +- Initial release for RHEL 6, RHEL 5 and Fedora 15 + diff --git a/redhat/applications/konversation/konversation-3.5.13.2.spec b/redhat/applications/konversation/konversation-3.5.13.2.spec new file mode 100644 index 000000000..a325f2f24 --- /dev/null +++ b/redhat/applications/konversation/konversation-3.5.13.2.spec @@ -0,0 +1,197 @@ +# Default version for this component +%define tdecomp konversation + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: user friendly Internet Relay Chat (IRC) client for KDE [Trinity] +Version: 1.1 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-arts-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: libxslt-devel +%if 0%{?suse_version} +BuildRequires: docbook-xsl-stylesheets +%else +BuildRequires: docbook-style-xsl +%endif + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xi-devel +%endif +%if 0%{?rhel} >= 5|| 0%{?fedora} || 0%{?suse_version} >= 1220 +BuildRequires: libXi-devel +%endif +%if 0%{?suse_version} == 1140 +BuildRequires: libXi6-devel +%endif + +%description +Konversation is a client for the Internet Relay Chat (IRC) protocol. +It is easy to use and well-suited for novice IRC users, but novice +and experienced users alike will appreciate its many features: + + * Standard IRC features + * Easy to use graphical interface + * Multiple server and channel tabs in a single window + * IRC color support + * Pattern-based message highlighting and OnScreen Display + * Multiple identities for different servers + * Multi-language scripting support (with DCOP) + * Customizable command aliases + * NickServ-aware log-on (for registered nicknames) + * Smart logging + * Traditional or enhanced-shell-style nick completion + * DCC file transfer with resume support + + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; source /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{tdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files -f %{tdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/konversation +%{tde_tdeappdir}/konversation.desktop +%{tde_datadir}/apps/kconf_update/konversation-0.19-appearance.pl +%{tde_datadir}/apps/kconf_update/konversation-0.19-colorcodes.pl +%{tde_datadir}/apps/kconf_update/konversation-0.19-colors.pl +%{tde_datadir}/apps/kconf_update/konversation-0.19-custombrowser.pl +%{tde_datadir}/apps/kconf_update/konversation-0.19-notifylists.pl +%{tde_datadir}/apps/kconf_update/konversation-0.19-sortorder.pl +%{tde_datadir}/apps/kconf_update/konversation-0.19-tabplacement.pl +%{tde_datadir}/apps/kconf_update/konversation-0.20-customfonts.pl +%{tde_datadir}/apps/kconf_update/konversation-0.20-quickbuttons.pl +%{tde_datadir}/apps/kconf_update/konversation.upd +%{tde_datadir}/apps/konversation/ +%{tde_datadir}/config.kcfg/konversation.kcfg +%{tde_datadir}/services/konvirc.protocol +%{tde_datadir}/services/konvirc6.protocol +%{tde_tdedocdir}/HTML/*/konversation/ +%{tde_datadir}/icons/crystalsvg/*/actions/kimproxyaway.png +%{tde_datadir}/icons/crystalsvg/*/actions/kimproxyoffline.png +%{tde_datadir}/icons/crystalsvg/*/actions/kimproxyonline.png +%{tde_datadir}/icons/crystalsvg/*/actions/char.png +%{tde_datadir}/icons/crystalsvg/*/actions/konv_message.png +%{tde_datadir}/icons/crystalsvg/scalable/actions/kimproxyaway.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/kimproxyoffline.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/kimproxyonline.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/konv_message.svgz +%{tde_datadir}/icons/hicolor/*/apps/konversation.png +%{tde_datadir}/icons/hicolor/scalable/apps/konversation.svgz + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 1.1-4 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 1.1-3 +- Initial build for TDE 3.5.13.1 + +* Sat May 05 2012 Francois Andriot - 1.1-2 +- Rebuild for Fedora 17 +- Fix HTML directory location +- Rename old tq methods that no longer need a unique name [Commit #01f5ea83] +- Remove additional unneeded tq method conversions [Commit #efdae4e7] +- Rename obsolete tq methods to standard names [Commit #c64099e5] +- Fix linear alphabet string errors [Commit #440010aa] +- Fix inadvertent "TQ" changes. [Commit #ca3d6cef] + +* Mon Nov 07 2011 Francois Andriot - 1.1-1 +- Initial release for RHEL 6, RHEL 5 and Fedora 15 + diff --git a/redhat/applications/konversation/konversation-3.5.13.spec b/redhat/applications/konversation/konversation-3.5.13.spec new file mode 100644 index 000000000..730ed8433 --- /dev/null +++ b/redhat/applications/konversation/konversation-3.5.13.spec @@ -0,0 +1,196 @@ +# Default version for this component +%define kdecomp konversation + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: user friendly Internet Relay Chat (IRC) client for KDE [Trinity] +Version: 1.1 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +# [konversation] Rename old tq methods that no longer need a unique name [Commit #01f5ea83] +Patch0: bp000-01f5ea83.diff +# [konversation] Remove additional unneeded tq method conversions [Commit #efdae4e7] +Patch1: bp001-efdae4e7.diff +# [konversation] Rename obsolete tq methods to standard names [Commit #c64099e5] +Patch2: bp002-c64099e5.diff +# [konversation] Fix linear alphabet string errors [Commit #440010aa] +Patch3: bp003-440010aa.diff +# [konversation] Fix inadvertent "TQ" changes. [Commit #ca3d6cef] +Patch4: 96f2a488.diff +Patch5: bp004-ca3d6cef.diff + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-arts-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: libxslt-devel +BuildRequires: docbook-style-xsl + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xi-devel +%else +BuildRequires: libXi-devel +%endif + +%description +Konversation is a client for the Internet Relay Chat (IRC) protocol. +It is easy to use and well-suited for novice IRC users, but novice +and experienced users alike will appreciate its many features: + + * Standard IRC features + * Easy to use graphical interface + * Multiple server and channel tabs in a single window + * IRC color support + * Pattern-based message highlighting and OnScreen Display + * Multiple identities for different servers + * Multi-language scripting support (with DCOP) + * Customizable command aliases + * NickServ-aware log-on (for registered nicknames) + * Smart logging + * Traditional or enhanced-shell-style nick completion + * DCC file transfer with resume support + + + +%prep +%setup -q -n applications/%{kdecomp} +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; source /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/konversation +%{tde_tdeappdir}/konversation.desktop +%{tde_datadir}/apps/kconf_update/konversation-0.19-appearance.pl +%{tde_datadir}/apps/kconf_update/konversation-0.19-colorcodes.pl +%{tde_datadir}/apps/kconf_update/konversation-0.19-colors.pl +%{tde_datadir}/apps/kconf_update/konversation-0.19-custombrowser.pl +%{tde_datadir}/apps/kconf_update/konversation-0.19-notifylists.pl +%{tde_datadir}/apps/kconf_update/konversation-0.19-sortorder.pl +%{tde_datadir}/apps/kconf_update/konversation-0.19-tabplacement.pl +%{tde_datadir}/apps/kconf_update/konversation-0.20-customfonts.pl +%{tde_datadir}/apps/kconf_update/konversation-0.20-quickbuttons.pl +%{tde_datadir}/apps/kconf_update/konversation.upd +%{tde_datadir}/apps/konversation/ +%{tde_datadir}/config.kcfg/konversation.kcfg +%{tde_datadir}/services/konvirc.protocol +%{tde_datadir}/services/konvirc6.protocol +%{tde_tdedocdir}/HTML/*/konversation/ +%{tde_datadir}/icons/crystalsvg/*/actions/kimproxyaway.png +%{tde_datadir}/icons/crystalsvg/*/actions/kimproxyoffline.png +%{tde_datadir}/icons/crystalsvg/*/actions/kimproxyonline.png +%{tde_datadir}/icons/crystalsvg/*/actions/char.png +%{tde_datadir}/icons/crystalsvg/*/actions/konv_message.png +%{tde_datadir}/icons/crystalsvg/scalable/actions/kimproxyaway.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/kimproxyoffline.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/kimproxyonline.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/konv_message.svgz +%{tde_datadir}/icons/hicolor/*/apps/konversation.png +%{tde_datadir}/icons/hicolor/scalable/apps/konversation.svgz + + +%Changelog +* Sat May 05 2012 Francois Andriot - 1.1-2 +- Rebuild for Fedora 17 +- Fix HTML directory location +- Rename old tq methods that no longer need a unique name [Commit #01f5ea83] +- Remove additional unneeded tq method conversions [Commit #efdae4e7] +- Rename obsolete tq methods to standard names [Commit #c64099e5] +- Fix linear alphabet string errors [Commit #440010aa] +- Fix inadvertent "TQ" changes. [Commit #ca3d6cef] + +* Mon Nov 07 2011 Francois Andriot - 1.1-1 +- Initial release for RHEL 6, RHEL 5 and Fedora 15 + diff --git a/redhat/applications/konversation/trinity-konversation-3.5.13.1.spec b/redhat/applications/konversation/trinity-konversation-3.5.13.1.spec deleted file mode 100644 index 7d7928012..000000000 --- a/redhat/applications/konversation/trinity-konversation-3.5.13.1.spec +++ /dev/null @@ -1,190 +0,0 @@ -# Default version for this component -%define kdecomp konversation - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: user friendly Internet Relay Chat (IRC) client for KDE [Trinity] -Version: 1.1 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-arts-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: libxslt-devel -%if 0%{?suse_version} -BuildRequires: docbook-xsl-stylesheets -%else -BuildRequires: docbook-style-xsl -%endif - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xi-devel -%else -BuildRequires: libXi-devel -%endif - -%description -Konversation is a client for the Internet Relay Chat (IRC) protocol. -It is easy to use and well-suited for novice IRC users, but novice -and experienced users alike will appreciate its many features: - - * Standard IRC features - * Easy to use graphical interface - * Multiple server and channel tabs in a single window - * IRC color support - * Pattern-based message highlighting and OnScreen Display - * Multiple identities for different servers - * Multi-language scripting support (with DCOP) - * Customizable command aliases - * NickServ-aware log-on (for registered nicknames) - * Smart logging - * Traditional or enhanced-shell-style nick completion - * DCC file transfer with resume support - - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; source /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/konversation -%{tde_tdeappdir}/konversation.desktop -%{tde_datadir}/apps/kconf_update/konversation-0.19-appearance.pl -%{tde_datadir}/apps/kconf_update/konversation-0.19-colorcodes.pl -%{tde_datadir}/apps/kconf_update/konversation-0.19-colors.pl -%{tde_datadir}/apps/kconf_update/konversation-0.19-custombrowser.pl -%{tde_datadir}/apps/kconf_update/konversation-0.19-notifylists.pl -%{tde_datadir}/apps/kconf_update/konversation-0.19-sortorder.pl -%{tde_datadir}/apps/kconf_update/konversation-0.19-tabplacement.pl -%{tde_datadir}/apps/kconf_update/konversation-0.20-customfonts.pl -%{tde_datadir}/apps/kconf_update/konversation-0.20-quickbuttons.pl -%{tde_datadir}/apps/kconf_update/konversation.upd -%{tde_datadir}/apps/konversation/ -%{tde_datadir}/config.kcfg/konversation.kcfg -%{tde_datadir}/services/konvirc.protocol -%{tde_datadir}/services/konvirc6.protocol -%{tde_tdedocdir}/HTML/*/konversation/ -%{tde_datadir}/icons/crystalsvg/*/actions/kimproxyaway.png -%{tde_datadir}/icons/crystalsvg/*/actions/kimproxyoffline.png -%{tde_datadir}/icons/crystalsvg/*/actions/kimproxyonline.png -%{tde_datadir}/icons/crystalsvg/*/actions/char.png -%{tde_datadir}/icons/crystalsvg/*/actions/konv_message.png -%{tde_datadir}/icons/crystalsvg/scalable/actions/kimproxyaway.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/kimproxyoffline.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/kimproxyonline.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/konv_message.svgz -%{tde_datadir}/icons/hicolor/*/apps/konversation.png -%{tde_datadir}/icons/hicolor/scalable/apps/konversation.svgz - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 1.1-3 -- Initial build for TDE 3.5.13.1 - -* Sat May 05 2012 Francois Andriot - 1.1-2 -- Rebuild for Fedora 17 -- Fix HTML directory location -- Rename old tq methods that no longer need a unique name [Commit #01f5ea83] -- Remove additional unneeded tq method conversions [Commit #efdae4e7] -- Rename obsolete tq methods to standard names [Commit #c64099e5] -- Fix linear alphabet string errors [Commit #440010aa] -- Fix inadvertent "TQ" changes. [Commit #ca3d6cef] - -* Mon Nov 07 2011 Francois Andriot - 1.1-1 -- Initial release for RHEL 6, RHEL 5 and Fedora 15 - diff --git a/redhat/applications/konversation/trinity-konversation-3.5.13.2.spec b/redhat/applications/konversation/trinity-konversation-3.5.13.2.spec deleted file mode 100644 index a325f2f24..000000000 --- a/redhat/applications/konversation/trinity-konversation-3.5.13.2.spec +++ /dev/null @@ -1,197 +0,0 @@ -# Default version for this component -%define tdecomp konversation - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: user friendly Internet Relay Chat (IRC) client for KDE [Trinity] -Version: 1.1 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-arts-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: libxslt-devel -%if 0%{?suse_version} -BuildRequires: docbook-xsl-stylesheets -%else -BuildRequires: docbook-style-xsl -%endif - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xi-devel -%endif -%if 0%{?rhel} >= 5|| 0%{?fedora} || 0%{?suse_version} >= 1220 -BuildRequires: libXi-devel -%endif -%if 0%{?suse_version} == 1140 -BuildRequires: libXi6-devel -%endif - -%description -Konversation is a client for the Internet Relay Chat (IRC) protocol. -It is easy to use and well-suited for novice IRC users, but novice -and experienced users alike will appreciate its many features: - - * Standard IRC features - * Easy to use graphical interface - * Multiple server and channel tabs in a single window - * IRC color support - * Pattern-based message highlighting and OnScreen Display - * Multiple identities for different servers - * Multi-language scripting support (with DCOP) - * Customizable command aliases - * NickServ-aware log-on (for registered nicknames) - * Smart logging - * Traditional or enhanced-shell-style nick completion - * DCC file transfer with resume support - - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; source /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{tdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{tdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/konversation -%{tde_tdeappdir}/konversation.desktop -%{tde_datadir}/apps/kconf_update/konversation-0.19-appearance.pl -%{tde_datadir}/apps/kconf_update/konversation-0.19-colorcodes.pl -%{tde_datadir}/apps/kconf_update/konversation-0.19-colors.pl -%{tde_datadir}/apps/kconf_update/konversation-0.19-custombrowser.pl -%{tde_datadir}/apps/kconf_update/konversation-0.19-notifylists.pl -%{tde_datadir}/apps/kconf_update/konversation-0.19-sortorder.pl -%{tde_datadir}/apps/kconf_update/konversation-0.19-tabplacement.pl -%{tde_datadir}/apps/kconf_update/konversation-0.20-customfonts.pl -%{tde_datadir}/apps/kconf_update/konversation-0.20-quickbuttons.pl -%{tde_datadir}/apps/kconf_update/konversation.upd -%{tde_datadir}/apps/konversation/ -%{tde_datadir}/config.kcfg/konversation.kcfg -%{tde_datadir}/services/konvirc.protocol -%{tde_datadir}/services/konvirc6.protocol -%{tde_tdedocdir}/HTML/*/konversation/ -%{tde_datadir}/icons/crystalsvg/*/actions/kimproxyaway.png -%{tde_datadir}/icons/crystalsvg/*/actions/kimproxyoffline.png -%{tde_datadir}/icons/crystalsvg/*/actions/kimproxyonline.png -%{tde_datadir}/icons/crystalsvg/*/actions/char.png -%{tde_datadir}/icons/crystalsvg/*/actions/konv_message.png -%{tde_datadir}/icons/crystalsvg/scalable/actions/kimproxyaway.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/kimproxyoffline.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/kimproxyonline.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/konv_message.svgz -%{tde_datadir}/icons/hicolor/*/apps/konversation.png -%{tde_datadir}/icons/hicolor/scalable/apps/konversation.svgz - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 1.1-4 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 1.1-3 -- Initial build for TDE 3.5.13.1 - -* Sat May 05 2012 Francois Andriot - 1.1-2 -- Rebuild for Fedora 17 -- Fix HTML directory location -- Rename old tq methods that no longer need a unique name [Commit #01f5ea83] -- Remove additional unneeded tq method conversions [Commit #efdae4e7] -- Rename obsolete tq methods to standard names [Commit #c64099e5] -- Fix linear alphabet string errors [Commit #440010aa] -- Fix inadvertent "TQ" changes. [Commit #ca3d6cef] - -* Mon Nov 07 2011 Francois Andriot - 1.1-1 -- Initial release for RHEL 6, RHEL 5 and Fedora 15 - diff --git a/redhat/applications/konversation/trinity-konversation-3.5.13.spec b/redhat/applications/konversation/trinity-konversation-3.5.13.spec deleted file mode 100644 index 730ed8433..000000000 --- a/redhat/applications/konversation/trinity-konversation-3.5.13.spec +++ /dev/null @@ -1,196 +0,0 @@ -# Default version for this component -%define kdecomp konversation - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: user friendly Internet Relay Chat (IRC) client for KDE [Trinity] -Version: 1.1 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# [konversation] Rename old tq methods that no longer need a unique name [Commit #01f5ea83] -Patch0: bp000-01f5ea83.diff -# [konversation] Remove additional unneeded tq method conversions [Commit #efdae4e7] -Patch1: bp001-efdae4e7.diff -# [konversation] Rename obsolete tq methods to standard names [Commit #c64099e5] -Patch2: bp002-c64099e5.diff -# [konversation] Fix linear alphabet string errors [Commit #440010aa] -Patch3: bp003-440010aa.diff -# [konversation] Fix inadvertent "TQ" changes. [Commit #ca3d6cef] -Patch4: 96f2a488.diff -Patch5: bp004-ca3d6cef.diff - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-arts-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: libxslt-devel -BuildRequires: docbook-style-xsl - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xi-devel -%else -BuildRequires: libXi-devel -%endif - -%description -Konversation is a client for the Internet Relay Chat (IRC) protocol. -It is easy to use and well-suited for novice IRC users, but novice -and experienced users alike will appreciate its many features: - - * Standard IRC features - * Easy to use graphical interface - * Multiple server and channel tabs in a single window - * IRC color support - * Pattern-based message highlighting and OnScreen Display - * Multiple identities for different servers - * Multi-language scripting support (with DCOP) - * Customizable command aliases - * NickServ-aware log-on (for registered nicknames) - * Smart logging - * Traditional or enhanced-shell-style nick completion - * DCC file transfer with resume support - - - -%prep -%setup -q -n applications/%{kdecomp} -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; source /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/konversation -%{tde_tdeappdir}/konversation.desktop -%{tde_datadir}/apps/kconf_update/konversation-0.19-appearance.pl -%{tde_datadir}/apps/kconf_update/konversation-0.19-colorcodes.pl -%{tde_datadir}/apps/kconf_update/konversation-0.19-colors.pl -%{tde_datadir}/apps/kconf_update/konversation-0.19-custombrowser.pl -%{tde_datadir}/apps/kconf_update/konversation-0.19-notifylists.pl -%{tde_datadir}/apps/kconf_update/konversation-0.19-sortorder.pl -%{tde_datadir}/apps/kconf_update/konversation-0.19-tabplacement.pl -%{tde_datadir}/apps/kconf_update/konversation-0.20-customfonts.pl -%{tde_datadir}/apps/kconf_update/konversation-0.20-quickbuttons.pl -%{tde_datadir}/apps/kconf_update/konversation.upd -%{tde_datadir}/apps/konversation/ -%{tde_datadir}/config.kcfg/konversation.kcfg -%{tde_datadir}/services/konvirc.protocol -%{tde_datadir}/services/konvirc6.protocol -%{tde_tdedocdir}/HTML/*/konversation/ -%{tde_datadir}/icons/crystalsvg/*/actions/kimproxyaway.png -%{tde_datadir}/icons/crystalsvg/*/actions/kimproxyoffline.png -%{tde_datadir}/icons/crystalsvg/*/actions/kimproxyonline.png -%{tde_datadir}/icons/crystalsvg/*/actions/char.png -%{tde_datadir}/icons/crystalsvg/*/actions/konv_message.png -%{tde_datadir}/icons/crystalsvg/scalable/actions/kimproxyaway.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/kimproxyoffline.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/kimproxyonline.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/konv_message.svgz -%{tde_datadir}/icons/hicolor/*/apps/konversation.png -%{tde_datadir}/icons/hicolor/scalable/apps/konversation.svgz - - -%Changelog -* Sat May 05 2012 Francois Andriot - 1.1-2 -- Rebuild for Fedora 17 -- Fix HTML directory location -- Rename old tq methods that no longer need a unique name [Commit #01f5ea83] -- Remove additional unneeded tq method conversions [Commit #efdae4e7] -- Rename obsolete tq methods to standard names [Commit #c64099e5] -- Fix linear alphabet string errors [Commit #440010aa] -- Fix inadvertent "TQ" changes. [Commit #ca3d6cef] - -* Mon Nov 07 2011 Francois Andriot - 1.1-1 -- Initial release for RHEL 6, RHEL 5 and Fedora 15 - diff --git a/redhat/applications/kopete-otr/kopete-otr-3.5.13.1.spec b/redhat/applications/kopete-otr/kopete-otr-3.5.13.1.spec new file mode 100644 index 000000000..8ab878484 --- /dev/null +++ b/redhat/applications/kopete-otr/kopete-otr-3.5.13.1.spec @@ -0,0 +1,153 @@ +# Default version for this component +%define kdecomp kopete-otr + +# Required for Mageia 2: removes the ldflag '--no-undefined' +%define _disable_ld_no_undefined 1 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Off-The-Record encryption for Kopete [Trinity] +Version: 0.7 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils + +# Kopete is provided by kdenetwork +BuildRequires: trinity-tdenetwork-devel +Requires: trinity-tdenetwork +BuildRequires: libotr-devel + +%description +This plugin enables Off-The-Record encryption for the KDE instant +messenger Kopete. Using this plugin you can encrypt chatsessions to other +users with IM-Cients supporting the OTR encryption method. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{_smp_mflags} + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# Unwanted files +%__rm -f %{?buildroot}%{tde_libdir}/libkotr.so + +%find_lang kopete_otr + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/crystalsvg || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : +/sbin/ldconfig || : + +%postun +touch --no-create %{tde_datadir}/icons/crystalsvg || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : +/sbin/ldconfig || : + + +%files -f kopete_otr.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README TODO +%{tde_libdir}/libkotr.la +%{tde_libdir}/libkotr.so.0 +%{tde_libdir}/libkotr.so.0.0.0 +%{tde_tdelibdir}/kcm_kopete_otr.la +%{tde_tdelibdir}/kcm_kopete_otr.so +%{tde_tdelibdir}/kopete_otr.la +%{tde_tdelibdir}/kopete_otr.so +%{tde_datadir}/apps/kopete_otr +%{tde_datadir}/config.kcfg/kopete_otr.kcfg +%{tde_tdedocdir}/HTML/en/kopete_otr/ +%{tde_datadir}/icons/crystalsvg/16x16/apps/kopete_otr.png +%{tde_datadir}/services/kconfiguredialog/kopete_otr_config.desktop +%{tde_datadir}/services/kopete_otr.desktop + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.7-3 +- Initial build for TDE 3.5.13.1 + +* Wed May 02 2012 Francois Andriot - 0.7-2 +- Rebuild for Fedora 17 + +* Sat Dec 03 2011 Francois Andriot - 0.7-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/kopete-otr/kopete-otr-3.5.13.2.spec b/redhat/applications/kopete-otr/kopete-otr-3.5.13.2.spec new file mode 100644 index 000000000..264e38f2e --- /dev/null +++ b/redhat/applications/kopete-otr/kopete-otr-3.5.13.2.spec @@ -0,0 +1,161 @@ +# Default version for this component +%define tdecomp kopete-otr + +# Required for Mageia 2: removes the ldflag '--no-undefined' +%define _disable_ld_no_undefined 1 + +# Under Mageia 3, we require "libotr3" package + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: Off-The-Record encryption for Kopete [Trinity] +Version: 0.7 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: trinity-tdenetwork-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils + +# Kopete is provided by kdenetwork +Requires: trinity-kopete >= 3.5.13.2 +%if 0%{?suse_version} >= 1230 +BuildRequires: libotr2-devel +%else +BuildRequires: libotr-devel +%endif + +%description +This plugin enables Off-The-Record encryption for the KDE instant +messenger Kopete. Using this plugin you can encrypt chatsessions to other +users with IM-Cients supporting the OTR encryption method. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{_smp_mflags} + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# Unwanted files +%__rm -f %{?buildroot}%{tde_libdir}/libkotr.so + +%find_lang kopete_otr + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/crystalsvg || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : +/sbin/ldconfig || : + +%postun +touch --no-create %{tde_datadir}/icons/crystalsvg || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : +/sbin/ldconfig || : + + +%files -f kopete_otr.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README TODO +%{tde_libdir}/libkotr.la +%{tde_libdir}/libkotr.so.0 +%{tde_libdir}/libkotr.so.0.0.0 +%{tde_tdelibdir}/kcm_kopete_otr.la +%{tde_tdelibdir}/kcm_kopete_otr.so +%{tde_tdelibdir}/kopete_otr.la +%{tde_tdelibdir}/kopete_otr.so +%{tde_datadir}/apps/kopete_otr +%{tde_datadir}/config.kcfg/kopete_otr.kcfg +%{tde_tdedocdir}/HTML/en/kopete_otr/ +%{tde_datadir}/icons/crystalsvg/16x16/apps/kopete_otr.png +%{tde_datadir}/services/kconfiguredialog/kopete_otr_config.desktop +%{tde_datadir}/services/kopete_otr.desktop + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 0.7-4 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.7-3 +- Initial build for TDE 3.5.13.1 + +* Wed May 02 2012 Francois Andriot - 0.7-2 +- Rebuild for Fedora 17 + +* Sat Dec 03 2011 Francois Andriot - 0.7-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/kopete-otr/kopete-otr-3.5.13.spec b/redhat/applications/kopete-otr/kopete-otr-3.5.13.spec new file mode 100644 index 000000000..c5a11710b --- /dev/null +++ b/redhat/applications/kopete-otr/kopete-otr-3.5.13.spec @@ -0,0 +1,145 @@ +# Default version for this component +%define kdecomp kopete-otr + +# Required for Mageia 2: removes the ldflag '--no-undefined' +%define _disable_ld_no_undefined 1 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Off-The-Record encryption for Kopete [Trinity] +Version: 0.7 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils + +# Kopete is provided by kdenetwork +BuildRequires: trinity-tdenetwork-devel +Requires: trinity-tdenetwork +BuildRequires: libotr-devel + +%description +This plugin enables Off-The-Record encryption for the KDE instant +messenger Kopete. Using this plugin you can encrypt chatsessions to other +users with IM-Cients supporting the OTR encryption method. + + +%prep +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{_smp_mflags} + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# Unwanted files +%__rm -f %{?buildroot}%{tde_libdir}/libkotr.so + +%find_lang kopete_otr + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/crystalsvg || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : +/sbin/ldconfig || : + +%postun +touch --no-create %{tde_datadir}/icons/crystalsvg || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : +/sbin/ldconfig || : + + +%files -f kopete_otr.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README TODO +%{tde_libdir}/libkotr.la +%{tde_libdir}/libkotr.so.0 +%{tde_libdir}/libkotr.so.0.0.0 +%{tde_tdelibdir}/kcm_kopete_otr.la +%{tde_tdelibdir}/kcm_kopete_otr.so +%{tde_tdelibdir}/kopete_otr.la +%{tde_tdelibdir}/kopete_otr.so +%{tde_datadir}/apps/kopete_otr +%{tde_datadir}/config.kcfg/kopete_otr.kcfg +%{tde_tdedocdir}/HTML/en/kopete_otr/ +%{tde_datadir}/icons/crystalsvg/16x16/apps/kopete_otr.png +%{tde_datadir}/services/kconfiguredialog/kopete_otr_config.desktop +%{tde_datadir}/services/kopete_otr.desktop + + +%Changelog +* Wed May 02 2012 Francois Andriot - 0.7-2 +- Rebuild for Fedora 17 + +* Sat Dec 03 2011 Francois Andriot - 0.7-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/kopete-otr/trinity-kopete-otr-3.5.13.1.spec b/redhat/applications/kopete-otr/trinity-kopete-otr-3.5.13.1.spec deleted file mode 100644 index 8ab878484..000000000 --- a/redhat/applications/kopete-otr/trinity-kopete-otr-3.5.13.1.spec +++ /dev/null @@ -1,153 +0,0 @@ -# Default version for this component -%define kdecomp kopete-otr - -# Required for Mageia 2: removes the ldflag '--no-undefined' -%define _disable_ld_no_undefined 1 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Off-The-Record encryption for Kopete [Trinity] -Version: 0.7 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - -# Kopete is provided by kdenetwork -BuildRequires: trinity-tdenetwork-devel -Requires: trinity-tdenetwork -BuildRequires: libotr-devel - -%description -This plugin enables Off-The-Record encryption for the KDE instant -messenger Kopete. Using this plugin you can encrypt chatsessions to other -users with IM-Cients supporting the OTR encryption method. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{_smp_mflags} - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Unwanted files -%__rm -f %{?buildroot}%{tde_libdir}/libkotr.so - -%find_lang kopete_otr - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : -/sbin/ldconfig || : - -%postun -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : -/sbin/ldconfig || : - - -%files -f kopete_otr.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README TODO -%{tde_libdir}/libkotr.la -%{tde_libdir}/libkotr.so.0 -%{tde_libdir}/libkotr.so.0.0.0 -%{tde_tdelibdir}/kcm_kopete_otr.la -%{tde_tdelibdir}/kcm_kopete_otr.so -%{tde_tdelibdir}/kopete_otr.la -%{tde_tdelibdir}/kopete_otr.so -%{tde_datadir}/apps/kopete_otr -%{tde_datadir}/config.kcfg/kopete_otr.kcfg -%{tde_tdedocdir}/HTML/en/kopete_otr/ -%{tde_datadir}/icons/crystalsvg/16x16/apps/kopete_otr.png -%{tde_datadir}/services/kconfiguredialog/kopete_otr_config.desktop -%{tde_datadir}/services/kopete_otr.desktop - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.7-3 -- Initial build for TDE 3.5.13.1 - -* Wed May 02 2012 Francois Andriot - 0.7-2 -- Rebuild for Fedora 17 - -* Sat Dec 03 2011 Francois Andriot - 0.7-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/kopete-otr/trinity-kopete-otr-3.5.13.2.spec b/redhat/applications/kopete-otr/trinity-kopete-otr-3.5.13.2.spec deleted file mode 100644 index 264e38f2e..000000000 --- a/redhat/applications/kopete-otr/trinity-kopete-otr-3.5.13.2.spec +++ /dev/null @@ -1,161 +0,0 @@ -# Default version for this component -%define tdecomp kopete-otr - -# Required for Mageia 2: removes the ldflag '--no-undefined' -%define _disable_ld_no_undefined 1 - -# Under Mageia 3, we require "libotr3" package - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: Off-The-Record encryption for Kopete [Trinity] -Version: 0.7 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: trinity-tdenetwork-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils - -# Kopete is provided by kdenetwork -Requires: trinity-kopete >= 3.5.13.2 -%if 0%{?suse_version} >= 1230 -BuildRequires: libotr2-devel -%else -BuildRequires: libotr-devel -%endif - -%description -This plugin enables Off-The-Record encryption for the KDE instant -messenger Kopete. Using this plugin you can encrypt chatsessions to other -users with IM-Cients supporting the OTR encryption method. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{_smp_mflags} - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Unwanted files -%__rm -f %{?buildroot}%{tde_libdir}/libkotr.so - -%find_lang kopete_otr - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : -/sbin/ldconfig || : - -%postun -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : -/sbin/ldconfig || : - - -%files -f kopete_otr.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README TODO -%{tde_libdir}/libkotr.la -%{tde_libdir}/libkotr.so.0 -%{tde_libdir}/libkotr.so.0.0.0 -%{tde_tdelibdir}/kcm_kopete_otr.la -%{tde_tdelibdir}/kcm_kopete_otr.so -%{tde_tdelibdir}/kopete_otr.la -%{tde_tdelibdir}/kopete_otr.so -%{tde_datadir}/apps/kopete_otr -%{tde_datadir}/config.kcfg/kopete_otr.kcfg -%{tde_tdedocdir}/HTML/en/kopete_otr/ -%{tde_datadir}/icons/crystalsvg/16x16/apps/kopete_otr.png -%{tde_datadir}/services/kconfiguredialog/kopete_otr_config.desktop -%{tde_datadir}/services/kopete_otr.desktop - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 0.7-4 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.7-3 -- Initial build for TDE 3.5.13.1 - -* Wed May 02 2012 Francois Andriot - 0.7-2 -- Rebuild for Fedora 17 - -* Sat Dec 03 2011 Francois Andriot - 0.7-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/kopete-otr/trinity-kopete-otr-3.5.13.spec b/redhat/applications/kopete-otr/trinity-kopete-otr-3.5.13.spec deleted file mode 100644 index c5a11710b..000000000 --- a/redhat/applications/kopete-otr/trinity-kopete-otr-3.5.13.spec +++ /dev/null @@ -1,145 +0,0 @@ -# Default version for this component -%define kdecomp kopete-otr - -# Required for Mageia 2: removes the ldflag '--no-undefined' -%define _disable_ld_no_undefined 1 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Off-The-Record encryption for Kopete [Trinity] -Version: 0.7 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils - -# Kopete is provided by kdenetwork -BuildRequires: trinity-tdenetwork-devel -Requires: trinity-tdenetwork -BuildRequires: libotr-devel - -%description -This plugin enables Off-The-Record encryption for the KDE instant -messenger Kopete. Using this plugin you can encrypt chatsessions to other -users with IM-Cients supporting the OTR encryption method. - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{_smp_mflags} - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Unwanted files -%__rm -f %{?buildroot}%{tde_libdir}/libkotr.so - -%find_lang kopete_otr - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : -/sbin/ldconfig || : - -%postun -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : -/sbin/ldconfig || : - - -%files -f kopete_otr.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README TODO -%{tde_libdir}/libkotr.la -%{tde_libdir}/libkotr.so.0 -%{tde_libdir}/libkotr.so.0.0.0 -%{tde_tdelibdir}/kcm_kopete_otr.la -%{tde_tdelibdir}/kcm_kopete_otr.so -%{tde_tdelibdir}/kopete_otr.la -%{tde_tdelibdir}/kopete_otr.so -%{tde_datadir}/apps/kopete_otr -%{tde_datadir}/config.kcfg/kopete_otr.kcfg -%{tde_tdedocdir}/HTML/en/kopete_otr/ -%{tde_datadir}/icons/crystalsvg/16x16/apps/kopete_otr.png -%{tde_datadir}/services/kconfiguredialog/kopete_otr_config.desktop -%{tde_datadir}/services/kopete_otr.desktop - - -%Changelog -* Wed May 02 2012 Francois Andriot - 0.7-2 -- Rebuild for Fedora 17 - -* Sat Dec 03 2011 Francois Andriot - 0.7-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/kpicosim/kpicosim-3.5.13.1.spec b/redhat/applications/kpicosim/kpicosim-3.5.13.1.spec new file mode 100644 index 000000000..9a278f982 --- /dev/null +++ b/redhat/applications/kpicosim/kpicosim-3.5.13.1.spec @@ -0,0 +1,135 @@ +# Default version for this component +%define kdecomp kpicosim + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: IDE and simulator for the Xilinx PicoBlaze-3 [Trinity] +Version: 0.6a +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +kpicosim is a development environment for the Xilinx +PicoBlaze-3 soft-core processor for the KDE Desktop (Linux). +The environment has an editor with syntax highlighting, compiler, +simulator and export functions to VHDL, HEX and MEM files. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt:%{tde_tdeincludedir} + +# SMP safe ! +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%find_lang %{kdecomp} || touch %{kdecomp}.lang + + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README +%{tde_bindir}/kpicosim +%{tde_datadir}/applnk/Development/kpicosim.desktop +%{tde_datadir}/apps/katepart/syntax/psm.xml +%{tde_datadir}/apps/kpicosim +%{tde_tdedocdir}/HTML/en/kpicosim +%{tde_datadir}/icons/hicolor/*/apps/kpicosim.png + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.6a-2 +- Initial build for TDE 3.5.13.1 + +* Wed Nov 30 2011 Francois Andriot - 0.6a-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kpicosim/kpicosim-3.5.13.2.spec b/redhat/applications/kpicosim/kpicosim-3.5.13.2.spec new file mode 100644 index 000000000..7a726fc4e --- /dev/null +++ b/redhat/applications/kpicosim/kpicosim-3.5.13.2.spec @@ -0,0 +1,138 @@ +# Default version for this component +%define tdecomp kpicosim + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: IDE and simulator for the Xilinx PicoBlaze-3 [Trinity] +Version: 0.6a +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +kpicosim is a development environment for the Xilinx +PicoBlaze-3 soft-core processor for the KDE Desktop (Linux). +The environment has an editor with syntax highlighting, compiler, +simulator and export functions to VHDL, HEX and MEM files. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt:%{tde_tdeincludedir} + +# SMP safe ! +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%find_lang %{tdecomp} || touch %{tdecomp}.lang + + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files -f %{tdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README +%{tde_bindir}/kpicosim +%{tde_datadir}/applnk/Development/kpicosim.desktop +%{tde_datadir}/apps/katepart/syntax/psm.xml +%{tde_datadir}/apps/kpicosim +%{tde_tdedocdir}/HTML/en/kpicosim +%{tde_datadir}/icons/hicolor/*/apps/kpicosim.png + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 0.6a-3 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.6a-2 +- Initial build for TDE 3.5.13.1 + +* Wed Nov 30 2011 Francois Andriot - 0.6a-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kpicosim/kpicosim-3.5.13.spec b/redhat/applications/kpicosim/kpicosim-3.5.13.spec new file mode 100644 index 000000000..43c024ed5 --- /dev/null +++ b/redhat/applications/kpicosim/kpicosim-3.5.13.spec @@ -0,0 +1,131 @@ +# Default version for this component +%define kdecomp kpicosim + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: IDE and simulator for the Xilinx PicoBlaze-3 [Trinity] +Version: 0.6a +Release: 1%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +# [kpicosim] Fix "not a string literal" error +Patch1: kpicosim-3.5.13-fix_not_a_string_literal_error.patch + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +kpicosim is a development environment for the Xilinx +PicoBlaze-3 soft-core processor for the KDE Desktop (Linux). +The environment has an editor with syntax highlighting, compiler, +simulator and export functions to VHDL, HEX and MEM files. + + +%prep +%setup -q -n applications/%{kdecomp} +%patch1 -p1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt:%{tde_tdeincludedir} + +# SMP safe ! +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%find_lang %{kdecomp} || touch %{kdecomp}.lang + + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README +%{tde_bindir}/kpicosim +%{tde_datadir}/applnk/Development/kpicosim.desktop +%{tde_datadir}/apps/katepart/syntax/psm.xml +%{tde_datadir}/apps/kpicosim +%{tde_tdedocdir}/HTML/en/kpicosim +%{tde_datadir}/icons/hicolor/*/apps/kpicosim.png + + +%Changelog +* Wed Nov 30 2011 Francois Andriot - 0.6a-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kpicosim/trinity-kpicosim-3.5.13.1.spec b/redhat/applications/kpicosim/trinity-kpicosim-3.5.13.1.spec deleted file mode 100644 index 9a278f982..000000000 --- a/redhat/applications/kpicosim/trinity-kpicosim-3.5.13.1.spec +++ /dev/null @@ -1,135 +0,0 @@ -# Default version for this component -%define kdecomp kpicosim - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: IDE and simulator for the Xilinx PicoBlaze-3 [Trinity] -Version: 0.6a -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -kpicosim is a development environment for the Xilinx -PicoBlaze-3 soft-core processor for the KDE Desktop (Linux). -The environment has an editor with syntax highlighting, compiler, -simulator and export functions to VHDL, HEX and MEM files. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_tdeincludedir} - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%find_lang %{kdecomp} || touch %{kdecomp}.lang - - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README -%{tde_bindir}/kpicosim -%{tde_datadir}/applnk/Development/kpicosim.desktop -%{tde_datadir}/apps/katepart/syntax/psm.xml -%{tde_datadir}/apps/kpicosim -%{tde_tdedocdir}/HTML/en/kpicosim -%{tde_datadir}/icons/hicolor/*/apps/kpicosim.png - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.6a-2 -- Initial build for TDE 3.5.13.1 - -* Wed Nov 30 2011 Francois Andriot - 0.6a-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kpicosim/trinity-kpicosim-3.5.13.2.spec b/redhat/applications/kpicosim/trinity-kpicosim-3.5.13.2.spec deleted file mode 100644 index 7a726fc4e..000000000 --- a/redhat/applications/kpicosim/trinity-kpicosim-3.5.13.2.spec +++ /dev/null @@ -1,138 +0,0 @@ -# Default version for this component -%define tdecomp kpicosim - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: IDE and simulator for the Xilinx PicoBlaze-3 [Trinity] -Version: 0.6a -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -kpicosim is a development environment for the Xilinx -PicoBlaze-3 soft-core processor for the KDE Desktop (Linux). -The environment has an editor with syntax highlighting, compiler, -simulator and export functions to VHDL, HEX and MEM files. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_tdeincludedir} - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%find_lang %{tdecomp} || touch %{tdecomp}.lang - - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{tdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README -%{tde_bindir}/kpicosim -%{tde_datadir}/applnk/Development/kpicosim.desktop -%{tde_datadir}/apps/katepart/syntax/psm.xml -%{tde_datadir}/apps/kpicosim -%{tde_tdedocdir}/HTML/en/kpicosim -%{tde_datadir}/icons/hicolor/*/apps/kpicosim.png - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 0.6a-3 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.6a-2 -- Initial build for TDE 3.5.13.1 - -* Wed Nov 30 2011 Francois Andriot - 0.6a-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kpicosim/trinity-kpicosim-3.5.13.spec b/redhat/applications/kpicosim/trinity-kpicosim-3.5.13.spec deleted file mode 100644 index 43c024ed5..000000000 --- a/redhat/applications/kpicosim/trinity-kpicosim-3.5.13.spec +++ /dev/null @@ -1,131 +0,0 @@ -# Default version for this component -%define kdecomp kpicosim - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: IDE and simulator for the Xilinx PicoBlaze-3 [Trinity] -Version: 0.6a -Release: 1%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# [kpicosim] Fix "not a string literal" error -Patch1: kpicosim-3.5.13-fix_not_a_string_literal_error.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -kpicosim is a development environment for the Xilinx -PicoBlaze-3 soft-core processor for the KDE Desktop (Linux). -The environment has an editor with syntax highlighting, compiler, -simulator and export functions to VHDL, HEX and MEM files. - - -%prep -%setup -q -n applications/%{kdecomp} -%patch1 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_tdeincludedir} - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%find_lang %{kdecomp} || touch %{kdecomp}.lang - - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README -%{tde_bindir}/kpicosim -%{tde_datadir}/applnk/Development/kpicosim.desktop -%{tde_datadir}/apps/katepart/syntax/psm.xml -%{tde_datadir}/apps/kpicosim -%{tde_tdedocdir}/HTML/en/kpicosim -%{tde_datadir}/icons/hicolor/*/apps/kpicosim.png - - -%Changelog -* Wed Nov 30 2011 Francois Andriot - 0.6a-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kpilot/kpilot-3.5.13.1.spec b/redhat/applications/kpilot/kpilot-3.5.13.1.spec new file mode 100644 index 000000000..84dc669aa --- /dev/null +++ b/redhat/applications/kpilot/kpilot-3.5.13.1.spec @@ -0,0 +1,184 @@ +# Default version for this component +%define kdecomp kpilot + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: TDE Palm Pilot hot-sync tool +Version: 0.7 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: pilot-link-devel +BuildRequires: trinity-kdepim-devel + +%description +KPilot is an application that synchronizes your Palm Pilot or similar device +(like the Handspring Visor) with your KDE desktop, much like the Palm HotSync +software does for Windows. KPilot can back-up and restore your Palm Pilot +and synchronize the built-in applications with their KDE counterparts. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt:%{tde_tdeincludedir} + +# SMP safe ! +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# Unwanted files +%__rm -f %{?buildroot}%{tde_libdir}/libkpilot.so + + + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +for f in hicolor locolor crystalsvg; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +for f in hicolor locolor crystalsvg; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig || : + + +%files +%defattr(-,root,root,-) +%{tde_bindir}/kpalmdoc +%{tde_bindir}/kpilot +%{tde_bindir}/kpilotDaemon +%{tde_tdeincludedir}/kpilot +%{tde_libdir}/libkpilot.la +%{tde_libdir}/libkpilot.so.0 +%{tde_libdir}/libkpilot.so.0.0.0 +%{tde_tdelibdir}/conduit_address.la +%{tde_tdelibdir}/conduit_address.so +%{tde_tdelibdir}/conduit_doc.la +%{tde_tdelibdir}/conduit_doc.so +%{tde_tdelibdir}/conduit_knotes.la +%{tde_tdelibdir}/conduit_knotes.so +%{tde_tdelibdir}/conduit_memofile.la +%{tde_tdelibdir}/conduit_memofile.so +%{tde_tdelibdir}/conduit_notepad.la +%{tde_tdelibdir}/conduit_notepad.so +%{tde_tdelibdir}/conduit_popmail.la +%{tde_tdelibdir}/conduit_popmail.so +%{tde_tdelibdir}/conduit_sysinfo.la +%{tde_tdelibdir}/conduit_sysinfo.so +%{tde_tdelibdir}/conduit_time.la +%{tde_tdelibdir}/conduit_time.so +%{tde_tdelibdir}/conduit_todo.la +%{tde_tdelibdir}/conduit_todo.so +%{tde_tdelibdir}/conduit_vcal.la +%{tde_tdelibdir}/conduit_vcal.so +%{tde_tdelibdir}/kcm_kpilot.la +%{tde_tdelibdir}/kcm_kpilot.so +%{tde_tdeappdir}/kpalmdoc.desktop +%{tde_tdeappdir}/kpilot.desktop +%{tde_tdeappdir}/kpilotdaemon.desktop +%{tde_datadir}/apps/kaddressbook/contacteditorpages/KPilotCustomFieldEditor.ui +%{tde_datadir}/apps/kconf_update/kpalmdoc.upd +%{tde_datadir}/apps/kconf_update/kpilot.upd +%{tde_datadir}/apps/kpilot +%{tde_datadir}/config.kcfg/*.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/*.png +%{tde_datadir}/icons/hicolor/*/apps/*.png +%{tde_datadir}/icons/locolor/*/apps/*.png +%{tde_datadir}/services/*.desktop +%{tde_datadir}/servicetypes/kpilotconduit.desktop + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.7-3 +- Initial build for TDE 3.5.13.1 + +* Wed May 02 2012 Francois Andriot - 0.7-2 +- Rebuild for Fedora 17 + +* Wed Nov 30 2011 Francois Andriot - 0.7-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kpilot/kpilot-3.5.13.2.spec b/redhat/applications/kpilot/kpilot-3.5.13.2.spec new file mode 100644 index 000000000..2a3599c7c --- /dev/null +++ b/redhat/applications/kpilot/kpilot-3.5.13.2.spec @@ -0,0 +1,187 @@ +# Default version for this component +%define tdecomp kpilot + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: TDE Palm Pilot hot-sync tool +Version: 0.7 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: pilot-link-devel +BuildRequires: trinity-kdepim-devel + +%description +KPilot is an application that synchronizes your Palm Pilot or similar device +(like the Handspring Visor) with your KDE desktop, much like the Palm HotSync +software does for Windows. KPilot can back-up and restore your Palm Pilot +and synchronize the built-in applications with their KDE counterparts. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt:%{tde_tdeincludedir} + +# SMP safe ! +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# Unwanted files +%__rm -f %{?buildroot}%{tde_libdir}/libkpilot.so + + + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +for f in hicolor locolor crystalsvg; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +for f in hicolor locolor crystalsvg; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig || : + + +%files +%defattr(-,root,root,-) +%{tde_bindir}/kpalmdoc +%{tde_bindir}/kpilot +%{tde_bindir}/kpilotDaemon +%{tde_tdeincludedir}/kpilot +%{tde_libdir}/libkpilot.la +%{tde_libdir}/libkpilot.so.0 +%{tde_libdir}/libkpilot.so.0.0.0 +%{tde_tdelibdir}/conduit_address.la +%{tde_tdelibdir}/conduit_address.so +%{tde_tdelibdir}/conduit_doc.la +%{tde_tdelibdir}/conduit_doc.so +%{tde_tdelibdir}/conduit_knotes.la +%{tde_tdelibdir}/conduit_knotes.so +%{tde_tdelibdir}/conduit_memofile.la +%{tde_tdelibdir}/conduit_memofile.so +%{tde_tdelibdir}/conduit_notepad.la +%{tde_tdelibdir}/conduit_notepad.so +%{tde_tdelibdir}/conduit_popmail.la +%{tde_tdelibdir}/conduit_popmail.so +%{tde_tdelibdir}/conduit_sysinfo.la +%{tde_tdelibdir}/conduit_sysinfo.so +%{tde_tdelibdir}/conduit_time.la +%{tde_tdelibdir}/conduit_time.so +%{tde_tdelibdir}/conduit_todo.la +%{tde_tdelibdir}/conduit_todo.so +%{tde_tdelibdir}/conduit_vcal.la +%{tde_tdelibdir}/conduit_vcal.so +%{tde_tdelibdir}/kcm_kpilot.la +%{tde_tdelibdir}/kcm_kpilot.so +%{tde_tdeappdir}/kpalmdoc.desktop +%{tde_tdeappdir}/kpilot.desktop +%{tde_tdeappdir}/kpilotdaemon.desktop +%{tde_datadir}/apps/kaddressbook/contacteditorpages/KPilotCustomFieldEditor.ui +%{tde_datadir}/apps/kconf_update/kpalmdoc.upd +%{tde_datadir}/apps/kconf_update/kpilot.upd +%{tde_datadir}/apps/kpilot +%{tde_datadir}/config.kcfg/*.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/*.png +%{tde_datadir}/icons/hicolor/*/apps/*.png +%{tde_datadir}/icons/locolor/*/apps/*.png +%{tde_datadir}/services/*.desktop +%{tde_datadir}/servicetypes/kpilotconduit.desktop + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 0.7-4 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.7-3 +- Initial build for TDE 3.5.13.1 + +* Wed May 02 2012 Francois Andriot - 0.7-2 +- Rebuild for Fedora 17 + +* Wed Nov 30 2011 Francois Andriot - 0.7-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kpilot/kpilot-3.5.13.spec b/redhat/applications/kpilot/kpilot-3.5.13.spec new file mode 100644 index 000000000..1c2fff802 --- /dev/null +++ b/redhat/applications/kpilot/kpilot-3.5.13.spec @@ -0,0 +1,185 @@ +# Default version for this component +%define kdecomp kpilot + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: TDE Palm Pilot hot-sync tool +Version: 0.7 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +# Fix FTBFS +Patch0: kpilot-3.5.13-ftbfs.patch + +# [kpilot] Missing LDFLAGS cause FTBFS on Mageia / Mandriva +Patch1: kpilot-3.5.13-missing_ldflags.patch + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: pilot-link-devel +BuildRequires: trinity-kdepim-devel + +%description +KPilot is an application that synchronizes your Palm Pilot or similar device +(like the Handspring Visor) with your KDE desktop, much like the Palm HotSync +software does for Windows. KPilot can back-up and restore your Palm Pilot +and synchronize the built-in applications with their KDE counterparts. + + +%prep +%setup -q -n applications/%{kdecomp} +%patch0 -p1 +%patch1 -p1 -b .ldflags + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt:%{tde_tdeincludedir} + +# SMP safe ! +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# Unwanted files +%__rm -f %{?buildroot}%{tde_libdir}/libkpilot.so + +%find_lang %{kdecomp} + + + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +for f in hicolor locolor crystalsvg; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +for f in hicolor locolor crystalsvg; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +/sbin/ldconfig || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/kpalmdoc +%{tde_bindir}/kpilot +%{tde_bindir}/kpilotDaemon +%{tde_tdeincludedir}/kpilot +%{tde_libdir}/libkpilot.la +%{tde_libdir}/libkpilot.so.0 +%{tde_libdir}/libkpilot.so.0.0.0 +%{tde_tdelibdir}/conduit_address.la +%{tde_tdelibdir}/conduit_address.so +%{tde_tdelibdir}/conduit_doc.la +%{tde_tdelibdir}/conduit_doc.so +%{tde_tdelibdir}/conduit_knotes.la +%{tde_tdelibdir}/conduit_knotes.so +%{tde_tdelibdir}/conduit_memofile.la +%{tde_tdelibdir}/conduit_memofile.so +%{tde_tdelibdir}/conduit_notepad.la +%{tde_tdelibdir}/conduit_notepad.so +%{tde_tdelibdir}/conduit_popmail.la +%{tde_tdelibdir}/conduit_popmail.so +%{tde_tdelibdir}/conduit_sysinfo.la +%{tde_tdelibdir}/conduit_sysinfo.so +%{tde_tdelibdir}/conduit_time.la +%{tde_tdelibdir}/conduit_time.so +%{tde_tdelibdir}/conduit_todo.la +%{tde_tdelibdir}/conduit_todo.so +%{tde_tdelibdir}/conduit_vcal.la +%{tde_tdelibdir}/conduit_vcal.so +%{tde_tdelibdir}/kcm_kpilot.la +%{tde_tdelibdir}/kcm_kpilot.so +%{tde_tdeappdir}/kpalmdoc.desktop +%{tde_tdeappdir}/kpilot.desktop +%{tde_tdeappdir}/kpilotdaemon.desktop +%{tde_datadir}/apps/kaddressbook/contacteditorpages/KPilotCustomFieldEditor.ui +%{tde_datadir}/apps/kconf_update/kpalmdoc.upd +%{tde_datadir}/apps/kconf_update/kpilot.upd +%{tde_datadir}/apps/kpilot +%{tde_datadir}/config.kcfg/*.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/*.png +%{tde_datadir}/icons/hicolor/*/apps/*.png +%{tde_datadir}/icons/locolor/*/apps/*.png +%{tde_datadir}/services/*.desktop +%{tde_datadir}/servicetypes/kpilotconduit.desktop + + +%Changelog +* Wed May 02 2012 Francois Andriot - 0.7-2 +- Rebuild for Fedora 17 + +* Wed Nov 30 2011 Francois Andriot - 0.7-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kpilot/trinity-kpilot-3.5.13.1.spec b/redhat/applications/kpilot/trinity-kpilot-3.5.13.1.spec deleted file mode 100644 index 84dc669aa..000000000 --- a/redhat/applications/kpilot/trinity-kpilot-3.5.13.1.spec +++ /dev/null @@ -1,184 +0,0 @@ -# Default version for this component -%define kdecomp kpilot - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: TDE Palm Pilot hot-sync tool -Version: 0.7 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: pilot-link-devel -BuildRequires: trinity-kdepim-devel - -%description -KPilot is an application that synchronizes your Palm Pilot or similar device -(like the Handspring Visor) with your KDE desktop, much like the Palm HotSync -software does for Windows. KPilot can back-up and restore your Palm Pilot -and synchronize the built-in applications with their KDE counterparts. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_tdeincludedir} - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Unwanted files -%__rm -f %{?buildroot}%{tde_libdir}/libkpilot.so - - - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -for f in hicolor locolor crystalsvg; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -for f in hicolor locolor crystalsvg; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig || : - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/kpalmdoc -%{tde_bindir}/kpilot -%{tde_bindir}/kpilotDaemon -%{tde_tdeincludedir}/kpilot -%{tde_libdir}/libkpilot.la -%{tde_libdir}/libkpilot.so.0 -%{tde_libdir}/libkpilot.so.0.0.0 -%{tde_tdelibdir}/conduit_address.la -%{tde_tdelibdir}/conduit_address.so -%{tde_tdelibdir}/conduit_doc.la -%{tde_tdelibdir}/conduit_doc.so -%{tde_tdelibdir}/conduit_knotes.la -%{tde_tdelibdir}/conduit_knotes.so -%{tde_tdelibdir}/conduit_memofile.la -%{tde_tdelibdir}/conduit_memofile.so -%{tde_tdelibdir}/conduit_notepad.la -%{tde_tdelibdir}/conduit_notepad.so -%{tde_tdelibdir}/conduit_popmail.la -%{tde_tdelibdir}/conduit_popmail.so -%{tde_tdelibdir}/conduit_sysinfo.la -%{tde_tdelibdir}/conduit_sysinfo.so -%{tde_tdelibdir}/conduit_time.la -%{tde_tdelibdir}/conduit_time.so -%{tde_tdelibdir}/conduit_todo.la -%{tde_tdelibdir}/conduit_todo.so -%{tde_tdelibdir}/conduit_vcal.la -%{tde_tdelibdir}/conduit_vcal.so -%{tde_tdelibdir}/kcm_kpilot.la -%{tde_tdelibdir}/kcm_kpilot.so -%{tde_tdeappdir}/kpalmdoc.desktop -%{tde_tdeappdir}/kpilot.desktop -%{tde_tdeappdir}/kpilotdaemon.desktop -%{tde_datadir}/apps/kaddressbook/contacteditorpages/KPilotCustomFieldEditor.ui -%{tde_datadir}/apps/kconf_update/kpalmdoc.upd -%{tde_datadir}/apps/kconf_update/kpilot.upd -%{tde_datadir}/apps/kpilot -%{tde_datadir}/config.kcfg/*.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/*.png -%{tde_datadir}/icons/hicolor/*/apps/*.png -%{tde_datadir}/icons/locolor/*/apps/*.png -%{tde_datadir}/services/*.desktop -%{tde_datadir}/servicetypes/kpilotconduit.desktop - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.7-3 -- Initial build for TDE 3.5.13.1 - -* Wed May 02 2012 Francois Andriot - 0.7-2 -- Rebuild for Fedora 17 - -* Wed Nov 30 2011 Francois Andriot - 0.7-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kpilot/trinity-kpilot-3.5.13.2.spec b/redhat/applications/kpilot/trinity-kpilot-3.5.13.2.spec deleted file mode 100644 index 2a3599c7c..000000000 --- a/redhat/applications/kpilot/trinity-kpilot-3.5.13.2.spec +++ /dev/null @@ -1,187 +0,0 @@ -# Default version for this component -%define tdecomp kpilot - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: TDE Palm Pilot hot-sync tool -Version: 0.7 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: pilot-link-devel -BuildRequires: trinity-kdepim-devel - -%description -KPilot is an application that synchronizes your Palm Pilot or similar device -(like the Handspring Visor) with your KDE desktop, much like the Palm HotSync -software does for Windows. KPilot can back-up and restore your Palm Pilot -and synchronize the built-in applications with their KDE counterparts. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_tdeincludedir} - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Unwanted files -%__rm -f %{?buildroot}%{tde_libdir}/libkpilot.so - - - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -for f in hicolor locolor crystalsvg; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -for f in hicolor locolor crystalsvg; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig || : - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/kpalmdoc -%{tde_bindir}/kpilot -%{tde_bindir}/kpilotDaemon -%{tde_tdeincludedir}/kpilot -%{tde_libdir}/libkpilot.la -%{tde_libdir}/libkpilot.so.0 -%{tde_libdir}/libkpilot.so.0.0.0 -%{tde_tdelibdir}/conduit_address.la -%{tde_tdelibdir}/conduit_address.so -%{tde_tdelibdir}/conduit_doc.la -%{tde_tdelibdir}/conduit_doc.so -%{tde_tdelibdir}/conduit_knotes.la -%{tde_tdelibdir}/conduit_knotes.so -%{tde_tdelibdir}/conduit_memofile.la -%{tde_tdelibdir}/conduit_memofile.so -%{tde_tdelibdir}/conduit_notepad.la -%{tde_tdelibdir}/conduit_notepad.so -%{tde_tdelibdir}/conduit_popmail.la -%{tde_tdelibdir}/conduit_popmail.so -%{tde_tdelibdir}/conduit_sysinfo.la -%{tde_tdelibdir}/conduit_sysinfo.so -%{tde_tdelibdir}/conduit_time.la -%{tde_tdelibdir}/conduit_time.so -%{tde_tdelibdir}/conduit_todo.la -%{tde_tdelibdir}/conduit_todo.so -%{tde_tdelibdir}/conduit_vcal.la -%{tde_tdelibdir}/conduit_vcal.so -%{tde_tdelibdir}/kcm_kpilot.la -%{tde_tdelibdir}/kcm_kpilot.so -%{tde_tdeappdir}/kpalmdoc.desktop -%{tde_tdeappdir}/kpilot.desktop -%{tde_tdeappdir}/kpilotdaemon.desktop -%{tde_datadir}/apps/kaddressbook/contacteditorpages/KPilotCustomFieldEditor.ui -%{tde_datadir}/apps/kconf_update/kpalmdoc.upd -%{tde_datadir}/apps/kconf_update/kpilot.upd -%{tde_datadir}/apps/kpilot -%{tde_datadir}/config.kcfg/*.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/*.png -%{tde_datadir}/icons/hicolor/*/apps/*.png -%{tde_datadir}/icons/locolor/*/apps/*.png -%{tde_datadir}/services/*.desktop -%{tde_datadir}/servicetypes/kpilotconduit.desktop - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 0.7-4 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.7-3 -- Initial build for TDE 3.5.13.1 - -* Wed May 02 2012 Francois Andriot - 0.7-2 -- Rebuild for Fedora 17 - -* Wed Nov 30 2011 Francois Andriot - 0.7-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kpilot/trinity-kpilot-3.5.13.spec b/redhat/applications/kpilot/trinity-kpilot-3.5.13.spec deleted file mode 100644 index 1c2fff802..000000000 --- a/redhat/applications/kpilot/trinity-kpilot-3.5.13.spec +++ /dev/null @@ -1,185 +0,0 @@ -# Default version for this component -%define kdecomp kpilot - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: TDE Palm Pilot hot-sync tool -Version: 0.7 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# Fix FTBFS -Patch0: kpilot-3.5.13-ftbfs.patch - -# [kpilot] Missing LDFLAGS cause FTBFS on Mageia / Mandriva -Patch1: kpilot-3.5.13-missing_ldflags.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: pilot-link-devel -BuildRequires: trinity-kdepim-devel - -%description -KPilot is an application that synchronizes your Palm Pilot or similar device -(like the Handspring Visor) with your KDE desktop, much like the Palm HotSync -software does for Windows. KPilot can back-up and restore your Palm Pilot -and synchronize the built-in applications with their KDE counterparts. - - -%prep -%setup -q -n applications/%{kdecomp} -%patch0 -p1 -%patch1 -p1 -b .ldflags - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_tdeincludedir} - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Unwanted files -%__rm -f %{?buildroot}%{tde_libdir}/libkpilot.so - -%find_lang %{kdecomp} - - - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -for f in hicolor locolor crystalsvg; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -for f in hicolor locolor crystalsvg; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -/sbin/ldconfig || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/kpalmdoc -%{tde_bindir}/kpilot -%{tde_bindir}/kpilotDaemon -%{tde_tdeincludedir}/kpilot -%{tde_libdir}/libkpilot.la -%{tde_libdir}/libkpilot.so.0 -%{tde_libdir}/libkpilot.so.0.0.0 -%{tde_tdelibdir}/conduit_address.la -%{tde_tdelibdir}/conduit_address.so -%{tde_tdelibdir}/conduit_doc.la -%{tde_tdelibdir}/conduit_doc.so -%{tde_tdelibdir}/conduit_knotes.la -%{tde_tdelibdir}/conduit_knotes.so -%{tde_tdelibdir}/conduit_memofile.la -%{tde_tdelibdir}/conduit_memofile.so -%{tde_tdelibdir}/conduit_notepad.la -%{tde_tdelibdir}/conduit_notepad.so -%{tde_tdelibdir}/conduit_popmail.la -%{tde_tdelibdir}/conduit_popmail.so -%{tde_tdelibdir}/conduit_sysinfo.la -%{tde_tdelibdir}/conduit_sysinfo.so -%{tde_tdelibdir}/conduit_time.la -%{tde_tdelibdir}/conduit_time.so -%{tde_tdelibdir}/conduit_todo.la -%{tde_tdelibdir}/conduit_todo.so -%{tde_tdelibdir}/conduit_vcal.la -%{tde_tdelibdir}/conduit_vcal.so -%{tde_tdelibdir}/kcm_kpilot.la -%{tde_tdelibdir}/kcm_kpilot.so -%{tde_tdeappdir}/kpalmdoc.desktop -%{tde_tdeappdir}/kpilot.desktop -%{tde_tdeappdir}/kpilotdaemon.desktop -%{tde_datadir}/apps/kaddressbook/contacteditorpages/KPilotCustomFieldEditor.ui -%{tde_datadir}/apps/kconf_update/kpalmdoc.upd -%{tde_datadir}/apps/kconf_update/kpilot.upd -%{tde_datadir}/apps/kpilot -%{tde_datadir}/config.kcfg/*.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/*.png -%{tde_datadir}/icons/hicolor/*/apps/*.png -%{tde_datadir}/icons/locolor/*/apps/*.png -%{tde_datadir}/services/*.desktop -%{tde_datadir}/servicetypes/kpilotconduit.desktop - - -%Changelog -* Wed May 02 2012 Francois Andriot - 0.7-2 -- Rebuild for Fedora 17 - -* Wed Nov 30 2011 Francois Andriot - 0.7-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kpowersave/kpowersave-3.5.13.1.spec b/redhat/applications/kpowersave/kpowersave-3.5.13.1.spec new file mode 100644 index 000000000..a848d1694 --- /dev/null +++ b/redhat/applications/kpowersave/kpowersave-3.5.13.1.spec @@ -0,0 +1,158 @@ +# Default version for this component +%define kdecomp kpowersave + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Version: 0.7.3 +Release: 3%{?dist}%{?_variant} +Summary: HAL based power management applet for Trinityfiles or directories. + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils + +%description +KPowersave is a TDE systray applet which allows to control the power +management settings and policies of your computer. +It relies on HAL to do the heavy lifting. + +Current feature list: + * support for ACPI, APM and PMU + * trigger suspend to disk/ram and standby + * switch cpu frequency policy (between: performance, dynamic and powersave) + * applet icon with information about AC state, battery fill and battery + (warning) states + * applet tooltip with information about battery fill and remaining battery + time/percentage + * autosuspend (to suspend the machine if the user has been inactive for a + defined time) + * a global configurable blacklist with programs which prevent autosuspend + (e.g. videoplayer and cd burning tools) + * trigger lock screen and select the lock method + * KNotify support + * online help + * localisations for many languages + +KPowersave supports schemes with following configurable specific +settings for: + * screensaver + * DPMS + * autosuspend + * scheme specific blacklist for autosuspend + * notification settings + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" + +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + .. + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +/sbin/ldconfig +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +/sbin/ldconfig +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{tde_bindir}/kpowersave +%{tde_libdir}/libkdeinit_kpowersave.la +%{tde_libdir}/libkdeinit_kpowersave.so +%{tde_tdelibdir}/kpowersave.la +%{tde_tdelibdir}/kpowersave.so +%{tde_tdeappdir}/kpowersave.desktop +%{tde_datadir}/apps/kpowersave/eventsrc +%{tde_datadir}/apps/kpowersave/icons/*/*/*/*.png +%{tde_datadir}/icons/hicolor/*/*/*.png +%{tde_datadir}/autostart/kpowersave-autostart.desktop +%{tde_datadir}/config/kpowersaverc + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.7.3-3 +- Initial build for TDE 3.5.13.1 + +* Sat Nov 26 2011 Francois Andriot - 0.7.3-2 +- Add missing /sbin/ldconfig +- Add missing doc file + +* Sat Nov 19 2011 Francois Andriot - 0.7.3-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kpowersave/kpowersave-3.5.13.2.spec b/redhat/applications/kpowersave/kpowersave-3.5.13.2.spec new file mode 100644 index 000000000..e19245c48 --- /dev/null +++ b/redhat/applications/kpowersave/kpowersave-3.5.13.2.spec @@ -0,0 +1,165 @@ +# Default version for this component +%define tdecomp kpowersave +%define tdeversion 3.5.13.2 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Version: 0.7.3 +Release: 4%{?dist}%{?_variant} +Summary: HAL based power management applet for Trinityfiles or directories. + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tdeversion}%{?preversion:~%{preversion}}.tar.gz + + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: hal-devel +BuildRequires: trinity-dbus-tqt-devel + + +%description +KPowersave is a TDE systray applet which allows to control the power +management settings and policies of your computer. +It relies on HAL to do the heavy lifting. + +Current feature list: + * support for ACPI, APM and PMU + * trigger suspend to disk/ram and standby + * switch cpu frequency policy (between: performance, dynamic and powersave) + * applet icon with information about AC state, battery fill and battery + (warning) states + * applet tooltip with information about battery fill and remaining battery + time/percentage + * autosuspend (to suspend the machine if the user has been inactive for a + defined time) + * a global configurable blacklist with programs which prevent autosuspend + (e.g. videoplayer and cd burning tools) + * trigger lock screen and select the lock method + * KNotify support + * online help + * localisations for many languages + +KPowersave supports schemes with following configurable specific +settings for: + * screensaver + * DPMS + * autosuspend + * scheme specific blacklist for autosuspend + * notification settings + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-%{tdeversion}%{?preversion:~%{preversion}} + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" + +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + .. + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +/sbin/ldconfig +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +/sbin/ldconfig +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{tde_bindir}/kpowersave +%{tde_libdir}/libkdeinit_kpowersave.la +%{tde_libdir}/libkdeinit_kpowersave.so +%{tde_tdelibdir}/kpowersave.la +%{tde_tdelibdir}/kpowersave.so +%{tde_tdeappdir}/kpowersave.desktop +%{tde_datadir}/apps/kpowersave/eventsrc +%{tde_datadir}/apps/kpowersave/icons/*/*/*/*.png +%{tde_datadir}/icons/hicolor/*/*/*.png +%{tde_datadir}/autostart/kpowersave-autostart.desktop +%{tde_datadir}/config/kpowersaverc + +%changelog +* Mon Jun 03 2013 Francois Andriot - 0.7.3-4 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.7.3-3 +- Initial build for TDE 3.5.13.1 + +* Sat Nov 26 2011 Francois Andriot - 0.7.3-2 +- Add missing /sbin/ldconfig +- Add missing doc file + +* Sat Nov 19 2011 Francois Andriot - 0.7.3-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kpowersave/kpowersave-3.5.13.spec b/redhat/applications/kpowersave/kpowersave-3.5.13.spec new file mode 100644 index 000000000..b496d3af6 --- /dev/null +++ b/redhat/applications/kpowersave/kpowersave-3.5.13.spec @@ -0,0 +1,150 @@ +# Default version for this component +%define kdecomp kpowersave + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Version: 0.7.3 +Release: 2%{?dist}%{?_variant} +Summary: HAL based power management applet for Trinityfiles or directories. + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils + +%description +KPowersave is a TDE systray applet which allows to control the power +management settings and policies of your computer. +It relies on HAL to do the heavy lifting. + +Current feature list: + * support for ACPI, APM and PMU + * trigger suspend to disk/ram and standby + * switch cpu frequency policy (between: performance, dynamic and powersave) + * applet icon with information about AC state, battery fill and battery + (warning) states + * applet tooltip with information about battery fill and remaining battery + time/percentage + * autosuspend (to suspend the machine if the user has been inactive for a + defined time) + * a global configurable blacklist with programs which prevent autosuspend + (e.g. videoplayer and cd burning tools) + * trigger lock screen and select the lock method + * KNotify support + * online help + * localisations for many languages + +KPowersave supports schemes with following configurable specific +settings for: + * screensaver + * DPMS + * autosuspend + * scheme specific blacklist for autosuspend + * notification settings + + +%prep +%setup -q -n applications/%{kdecomp} + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" + +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +%if 0%{?rhel} || 0%{?fedora} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + .. + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +/sbin/ldconfig +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +/sbin/ldconfig +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{tde_bindir}/kpowersave +%{tde_libdir}/libkdeinit_kpowersave.la +%{tde_libdir}/libkdeinit_kpowersave.so +%{tde_tdelibdir}/kpowersave.la +%{tde_tdelibdir}/kpowersave.so +%{tde_tdeappdir}/kpowersave.desktop +%{tde_datadir}/apps/kpowersave/eventsrc +%{tde_datadir}/apps/kpowersave/icons/*/*/*/*.png +%{tde_datadir}/icons/hicolor/*/*/*.png +%{tde_datadir}/autostart/kpowersave-autostart.desktop +%{tde_datadir}/config/kpowersaverc + +%Changelog +* Sat Nov 26 2011 Francois Andriot - 0.7.3-2 +- Add missing /sbin/ldconfig +- Add missing doc file + +* Sat Nov 19 2011 Francois Andriot - 0.7.3-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kpowersave/trinity-kpowersave-3.5.13.1.spec b/redhat/applications/kpowersave/trinity-kpowersave-3.5.13.1.spec deleted file mode 100644 index a848d1694..000000000 --- a/redhat/applications/kpowersave/trinity-kpowersave-3.5.13.1.spec +++ /dev/null @@ -1,158 +0,0 @@ -# Default version for this component -%define kdecomp kpowersave - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Version: 0.7.3 -Release: 3%{?dist}%{?_variant} -Summary: HAL based power management applet for Trinityfiles or directories. - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - -%description -KPowersave is a TDE systray applet which allows to control the power -management settings and policies of your computer. -It relies on HAL to do the heavy lifting. - -Current feature list: - * support for ACPI, APM and PMU - * trigger suspend to disk/ram and standby - * switch cpu frequency policy (between: performance, dynamic and powersave) - * applet icon with information about AC state, battery fill and battery - (warning) states - * applet tooltip with information about battery fill and remaining battery - time/percentage - * autosuspend (to suspend the machine if the user has been inactive for a - defined time) - * a global configurable blacklist with programs which prevent autosuspend - (e.g. videoplayer and cd burning tools) - * trigger lock screen and select the lock method - * KNotify support - * online help - * localisations for many languages - -KPowersave supports schemes with following configurable specific -settings for: - * screensaver - * DPMS - * autosuspend - * scheme specific blacklist for autosuspend - * notification settings - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" - -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - .. - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -/sbin/ldconfig -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -/sbin/ldconfig -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_bindir}/kpowersave -%{tde_libdir}/libkdeinit_kpowersave.la -%{tde_libdir}/libkdeinit_kpowersave.so -%{tde_tdelibdir}/kpowersave.la -%{tde_tdelibdir}/kpowersave.so -%{tde_tdeappdir}/kpowersave.desktop -%{tde_datadir}/apps/kpowersave/eventsrc -%{tde_datadir}/apps/kpowersave/icons/*/*/*/*.png -%{tde_datadir}/icons/hicolor/*/*/*.png -%{tde_datadir}/autostart/kpowersave-autostart.desktop -%{tde_datadir}/config/kpowersaverc - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.7.3-3 -- Initial build for TDE 3.5.13.1 - -* Sat Nov 26 2011 Francois Andriot - 0.7.3-2 -- Add missing /sbin/ldconfig -- Add missing doc file - -* Sat Nov 19 2011 Francois Andriot - 0.7.3-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kpowersave/trinity-kpowersave-3.5.13.2.spec b/redhat/applications/kpowersave/trinity-kpowersave-3.5.13.2.spec deleted file mode 100644 index e19245c48..000000000 --- a/redhat/applications/kpowersave/trinity-kpowersave-3.5.13.2.spec +++ /dev/null @@ -1,165 +0,0 @@ -# Default version for this component -%define tdecomp kpowersave -%define tdeversion 3.5.13.2 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Version: 0.7.3 -Release: 4%{?dist}%{?_variant} -Summary: HAL based power management applet for Trinityfiles or directories. - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tdeversion}%{?preversion:~%{preversion}}.tar.gz - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: hal-devel -BuildRequires: trinity-dbus-tqt-devel - - -%description -KPowersave is a TDE systray applet which allows to control the power -management settings and policies of your computer. -It relies on HAL to do the heavy lifting. - -Current feature list: - * support for ACPI, APM and PMU - * trigger suspend to disk/ram and standby - * switch cpu frequency policy (between: performance, dynamic and powersave) - * applet icon with information about AC state, battery fill and battery - (warning) states - * applet tooltip with information about battery fill and remaining battery - time/percentage - * autosuspend (to suspend the machine if the user has been inactive for a - defined time) - * a global configurable blacklist with programs which prevent autosuspend - (e.g. videoplayer and cd burning tools) - * trigger lock screen and select the lock method - * KNotify support - * online help - * localisations for many languages - -KPowersave supports schemes with following configurable specific -settings for: - * screensaver - * DPMS - * autosuspend - * scheme specific blacklist for autosuspend - * notification settings - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tdeversion}%{?preversion:~%{preversion}} - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" - -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - .. - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -/sbin/ldconfig -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -/sbin/ldconfig -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_bindir}/kpowersave -%{tde_libdir}/libkdeinit_kpowersave.la -%{tde_libdir}/libkdeinit_kpowersave.so -%{tde_tdelibdir}/kpowersave.la -%{tde_tdelibdir}/kpowersave.so -%{tde_tdeappdir}/kpowersave.desktop -%{tde_datadir}/apps/kpowersave/eventsrc -%{tde_datadir}/apps/kpowersave/icons/*/*/*/*.png -%{tde_datadir}/icons/hicolor/*/*/*.png -%{tde_datadir}/autostart/kpowersave-autostart.desktop -%{tde_datadir}/config/kpowersaverc - -%changelog -* Mon Jun 03 2013 Francois Andriot - 0.7.3-4 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.7.3-3 -- Initial build for TDE 3.5.13.1 - -* Sat Nov 26 2011 Francois Andriot - 0.7.3-2 -- Add missing /sbin/ldconfig -- Add missing doc file - -* Sat Nov 19 2011 Francois Andriot - 0.7.3-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kpowersave/trinity-kpowersave-3.5.13.spec b/redhat/applications/kpowersave/trinity-kpowersave-3.5.13.spec deleted file mode 100644 index b496d3af6..000000000 --- a/redhat/applications/kpowersave/trinity-kpowersave-3.5.13.spec +++ /dev/null @@ -1,150 +0,0 @@ -# Default version for this component -%define kdecomp kpowersave - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Version: 0.7.3 -Release: 2%{?dist}%{?_variant} -Summary: HAL based power management applet for Trinityfiles or directories. - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils - -%description -KPowersave is a TDE systray applet which allows to control the power -management settings and policies of your computer. -It relies on HAL to do the heavy lifting. - -Current feature list: - * support for ACPI, APM and PMU - * trigger suspend to disk/ram and standby - * switch cpu frequency policy (between: performance, dynamic and powersave) - * applet icon with information about AC state, battery fill and battery - (warning) states - * applet tooltip with information about battery fill and remaining battery - time/percentage - * autosuspend (to suspend the machine if the user has been inactive for a - defined time) - * a global configurable blacklist with programs which prevent autosuspend - (e.g. videoplayer and cd burning tools) - * trigger lock screen and select the lock method - * KNotify support - * online help - * localisations for many languages - -KPowersave supports schemes with following configurable specific -settings for: - * screensaver - * DPMS - * autosuspend - * scheme specific blacklist for autosuspend - * notification settings - - -%prep -%setup -q -n applications/%{kdecomp} - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" - -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -%if 0%{?rhel} || 0%{?fedora} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - .. - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -/sbin/ldconfig -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -/sbin/ldconfig -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_bindir}/kpowersave -%{tde_libdir}/libkdeinit_kpowersave.la -%{tde_libdir}/libkdeinit_kpowersave.so -%{tde_tdelibdir}/kpowersave.la -%{tde_tdelibdir}/kpowersave.so -%{tde_tdeappdir}/kpowersave.desktop -%{tde_datadir}/apps/kpowersave/eventsrc -%{tde_datadir}/apps/kpowersave/icons/*/*/*/*.png -%{tde_datadir}/icons/hicolor/*/*/*.png -%{tde_datadir}/autostart/kpowersave-autostart.desktop -%{tde_datadir}/config/kpowersaverc - -%Changelog -* Sat Nov 26 2011 Francois Andriot - 0.7.3-2 -- Add missing /sbin/ldconfig -- Add missing doc file - -* Sat Nov 19 2011 Francois Andriot - 0.7.3-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/krename/krename-3.5.12.spec b/redhat/applications/krename/krename-3.5.12.spec new file mode 100644 index 000000000..d76ed0723 --- /dev/null +++ b/redhat/applications/krename/krename-3.5.12.spec @@ -0,0 +1,105 @@ +# Default version for this component +%define kdecomp krename +%define version 3.0.14 +%define release 2 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{tde_prefix}/share/doc +%endif + +# TDE 3.5.12 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir} +%define tde_includedir %{tde_includedir}/kde +%define tde_libdir %{tde_libdir}/kde3 + + +Name: trinity-%{kdecomp} +Summary: A KDE batch file renaming utility. +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Source0: %{kdecomp}-3.5.12.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: imlib-devel + +%description +KRename is a powerful batch renamer for KDE 3.x. It allows you to easily rename hundreds or +even more files in one go. The filenames can be created by parts of the original filename, +numbering the files or accessing hundreds of informations about the file, like creation date +or Exif informations of an image. + +%prep +%setup -q -n applications/%{kdecomp} + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%make_install + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/* +%{tde_datadir}/applications/*/*.desktop +%{tde_datadir}/apps/*/ +%{tde_tdedocdir}/HTML/en/*/ +%{tde_datadir}/icons/*/*/*/* +%{tde_datadir}/locale/*/*/*.mo + + +%Changelog +* Tue Sep 14 2011 Francois Andriot - 3.0.14-2 +- Import to GIT + +* Wed Aug 24 2011 Francois Andriot - 3.0.14-1 +- Correct macro to install under "/opt", if desired + +* Sun Aug 14 2011 Francois Andriot - 3.0.14-0 +- Initial build for RHEL 6.0 + diff --git a/redhat/applications/krename/krename-3.5.13.1.spec b/redhat/applications/krename/krename-3.5.13.1.spec new file mode 100644 index 000000000..18ae34c09 --- /dev/null +++ b/redhat/applications/krename/krename-3.5.13.1.spec @@ -0,0 +1,155 @@ +# Default version for this component +%define kdecomp krename + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: A TDE batch file renaming utility. +Version: 3.0.14 +Release: 5%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils + +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: imlib-devel +%endif + +%description +KRename is a powerful batch renamer for TDE. It allows you to easily rename hundreds or +even more files in one go. The filenames can be created by parts of the original filename, +numbering the files or accessing hundreds of informations about the file, like creation date +or Exif informations of an image. + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + + +%clean +%__rm -rf %{buildroot} + + +%post +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +update-desktop-database %{tde_appdir} &> /dev/null + +%postun +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +update-desktop-database %{tde_appdir} &> /dev/null + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/krename +%{tde_tdeappdir}/krename.desktop +%{tde_datadir}/apps/konqueror/servicemenus/krename_dir.desktop +%{tde_datadir}/apps/konqueror/servicemenus/krenameservicemenu.desktop +%{tde_datadir}/apps/krename/ +%{tde_tdedocdir}/HTML/en/krename/ +%{tde_datadir}/icons/hicolor/*/apps/krename.png +%{tde_datadir}/icons/locolor/*/apps/krename.png + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 3.0.14-5 +- Initial build for TDE 3.5.13.1 + +* Wed May 02 2012 Francois Andriot - 3.0.14-4 +- Rebuild for Fedora 17 +- Fix HTML directory location + +* Sun Oct 30 2011 Francois Andriot - 3.0.14-3 +- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 + +* Tue Sep 14 2011 Francois Andriot - 3.0.14-2 +- Import to GIT + +* Wed Aug 24 2011 Francois Andriot - 3.0.14-1 +- Correct macro to install under "/opt", if desired + +* Sun Aug 14 2011 Francois Andriot - 3.0.14-0 +- Initial build for RHEL 6.0 + diff --git a/redhat/applications/krename/krename-3.5.13.2.spec b/redhat/applications/krename/krename-3.5.13.2.spec new file mode 100644 index 000000000..0ca408b48 --- /dev/null +++ b/redhat/applications/krename/krename-3.5.13.2.spec @@ -0,0 +1,154 @@ +# Default version for this component +%define tdecomp krename + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: A TDE batch file renaming utility. +Version: 3.0.14 +Release: 6%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils + +%description +KRename is a powerful batch renamer for TDE. It allows you to easily rename hundreds or +even more files in one go. The filenames can be created by parts of the original filename, +numbering the files or accessing hundreds of informations about the file, like creation date +or Exif informations of an image. + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{tdecomp} + + +%clean +%__rm -rf %{buildroot} + + +%post +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +update-desktop-database %{tde_appdir} &> /dev/null + +%postun +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +update-desktop-database %{tde_appdir} &> /dev/null + +%files -f %{tdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/krename +%{tde_tdeappdir}/krename.desktop +%{tde_datadir}/apps/konqueror/servicemenus/krename_dir.desktop +%{tde_datadir}/apps/konqueror/servicemenus/krenameservicemenu.desktop +%{tde_datadir}/apps/krename/ +%{tde_tdedocdir}/HTML/en/krename/ +%{tde_datadir}/icons/hicolor/*/apps/krename.png +%{tde_datadir}/icons/locolor/*/apps/krename.png + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 3.0.14-6 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 3.0.14-5 +- Initial build for TDE 3.5.13.1 + +* Wed May 02 2012 Francois Andriot - 3.0.14-4 +- Rebuild for Fedora 17 +- Fix HTML directory location + +* Sun Oct 30 2011 Francois Andriot - 3.0.14-3 +- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 + +* Tue Sep 14 2011 Francois Andriot - 3.0.14-2 +- Import to GIT + +* Wed Aug 24 2011 Francois Andriot - 3.0.14-1 +- Correct macro to install under "/opt", if desired + +* Sun Aug 14 2011 Francois Andriot - 3.0.14-0 +- Initial build for RHEL 6.0 + diff --git a/redhat/applications/krename/krename-3.5.13.spec b/redhat/applications/krename/krename-3.5.13.spec new file mode 100644 index 000000000..bb74edf1d --- /dev/null +++ b/redhat/applications/krename/krename-3.5.13.spec @@ -0,0 +1,144 @@ +# Default version for this component +%define kdecomp krename + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: A TDE batch file renaming utility. +Version: 3.0.14 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: imlib-devel + +%description +KRename is a powerful batch renamer for TDE. It allows you to easily rename hundreds or +even more files in one go. The filenames can be created by parts of the original filename, +numbering the files or accessing hundreds of informations about the file, like creation date +or Exif informations of an image. + +%prep +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + + +%clean +%__rm -rf %{buildroot} + + +%post +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +update-desktop-database %{tde_appdir} &> /dev/null + +%postun +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +update-desktop-database %{tde_appdir} &> /dev/null + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/krename +%{tde_tdeappdir}/krename.desktop +%{tde_datadir}/apps/konqueror/servicemenus/krename_dir.desktop +%{tde_datadir}/apps/konqueror/servicemenus/krenameservicemenu.desktop +%{tde_datadir}/apps/krename/ +%{tde_tdedocdir}/HTML/en/krename/ +%{tde_datadir}/icons/hicolor/*/apps/krename.png +%{tde_datadir}/icons/locolor/*/apps/krename.png + + +%Changelog +* Wed May 02 2012 Francois Andriot - 3.0.14-4 +- Rebuild for Fedora 17 +- Fix HTML directory location + +* Sun Oct 30 2011 Francois Andriot - 3.0.14-3 +- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 + +* Tue Sep 14 2011 Francois Andriot - 3.0.14-2 +- Import to GIT + +* Wed Aug 24 2011 Francois Andriot - 3.0.14-1 +- Correct macro to install under "/opt", if desired + +* Sun Aug 14 2011 Francois Andriot - 3.0.14-0 +- Initial build for RHEL 6.0 + diff --git a/redhat/applications/krename/trinity-krename-3.5.12.spec b/redhat/applications/krename/trinity-krename-3.5.12.spec deleted file mode 100644 index d76ed0723..000000000 --- a/redhat/applications/krename/trinity-krename-3.5.12.spec +++ /dev/null @@ -1,105 +0,0 @@ -# Default version for this component -%define kdecomp krename -%define version 3.0.14 -%define release 2 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{tde_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_includedir %{tde_includedir}/kde -%define tde_libdir %{tde_libdir}/kde3 - - -Name: trinity-%{kdecomp} -Summary: A KDE batch file renaming utility. -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Source0: %{kdecomp}-3.5.12.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: imlib-devel - -%description -KRename is a powerful batch renamer for KDE 3.x. It allows you to easily rename hundreds or -even more files in one go. The filenames can be created by parts of the original filename, -numbering the files or accessing hundreds of informations about the file, like creation date -or Exif informations of an image. - -%prep -%setup -q -n applications/%{kdecomp} - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%make_install - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/* -%{tde_datadir}/applications/*/*.desktop -%{tde_datadir}/apps/*/ -%{tde_tdedocdir}/HTML/en/*/ -%{tde_datadir}/icons/*/*/*/* -%{tde_datadir}/locale/*/*/*.mo - - -%Changelog -* Tue Sep 14 2011 Francois Andriot - 3.0.14-2 -- Import to GIT - -* Wed Aug 24 2011 Francois Andriot - 3.0.14-1 -- Correct macro to install under "/opt", if desired - -* Sun Aug 14 2011 Francois Andriot - 3.0.14-0 -- Initial build for RHEL 6.0 - diff --git a/redhat/applications/krename/trinity-krename-3.5.13.1.spec b/redhat/applications/krename/trinity-krename-3.5.13.1.spec deleted file mode 100644 index 18ae34c09..000000000 --- a/redhat/applications/krename/trinity-krename-3.5.13.1.spec +++ /dev/null @@ -1,155 +0,0 @@ -# Default version for this component -%define kdecomp krename - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: A TDE batch file renaming utility. -Version: 3.0.14 -Release: 5%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: imlib-devel -%endif - -%description -KRename is a powerful batch renamer for TDE. It allows you to easily rename hundreds or -even more files in one go. The filenames can be created by parts of the original filename, -numbering the files or accessing hundreds of informations about the file, like creation date -or Exif informations of an image. - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - - -%clean -%__rm -rf %{buildroot} - - -%post -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -update-desktop-database %{tde_appdir} &> /dev/null - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/krename -%{tde_tdeappdir}/krename.desktop -%{tde_datadir}/apps/konqueror/servicemenus/krename_dir.desktop -%{tde_datadir}/apps/konqueror/servicemenus/krenameservicemenu.desktop -%{tde_datadir}/apps/krename/ -%{tde_tdedocdir}/HTML/en/krename/ -%{tde_datadir}/icons/hicolor/*/apps/krename.png -%{tde_datadir}/icons/locolor/*/apps/krename.png - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 3.0.14-5 -- Initial build for TDE 3.5.13.1 - -* Wed May 02 2012 Francois Andriot - 3.0.14-4 -- Rebuild for Fedora 17 -- Fix HTML directory location - -* Sun Oct 30 2011 Francois Andriot - 3.0.14-3 -- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 - -* Tue Sep 14 2011 Francois Andriot - 3.0.14-2 -- Import to GIT - -* Wed Aug 24 2011 Francois Andriot - 3.0.14-1 -- Correct macro to install under "/opt", if desired - -* Sun Aug 14 2011 Francois Andriot - 3.0.14-0 -- Initial build for RHEL 6.0 - diff --git a/redhat/applications/krename/trinity-krename-3.5.13.2.spec b/redhat/applications/krename/trinity-krename-3.5.13.2.spec deleted file mode 100644 index 0ca408b48..000000000 --- a/redhat/applications/krename/trinity-krename-3.5.13.2.spec +++ /dev/null @@ -1,154 +0,0 @@ -# Default version for this component -%define tdecomp krename - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: A TDE batch file renaming utility. -Version: 3.0.14 -Release: 6%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils - -%description -KRename is a powerful batch renamer for TDE. It allows you to easily rename hundreds or -even more files in one go. The filenames can be created by parts of the original filename, -numbering the files or accessing hundreds of informations about the file, like creation date -or Exif informations of an image. - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{tdecomp} - - -%clean -%__rm -rf %{buildroot} - - -%post -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -update-desktop-database %{tde_appdir} &> /dev/null - -%files -f %{tdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/krename -%{tde_tdeappdir}/krename.desktop -%{tde_datadir}/apps/konqueror/servicemenus/krename_dir.desktop -%{tde_datadir}/apps/konqueror/servicemenus/krenameservicemenu.desktop -%{tde_datadir}/apps/krename/ -%{tde_tdedocdir}/HTML/en/krename/ -%{tde_datadir}/icons/hicolor/*/apps/krename.png -%{tde_datadir}/icons/locolor/*/apps/krename.png - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 3.0.14-6 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 3.0.14-5 -- Initial build for TDE 3.5.13.1 - -* Wed May 02 2012 Francois Andriot - 3.0.14-4 -- Rebuild for Fedora 17 -- Fix HTML directory location - -* Sun Oct 30 2011 Francois Andriot - 3.0.14-3 -- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 - -* Tue Sep 14 2011 Francois Andriot - 3.0.14-2 -- Import to GIT - -* Wed Aug 24 2011 Francois Andriot - 3.0.14-1 -- Correct macro to install under "/opt", if desired - -* Sun Aug 14 2011 Francois Andriot - 3.0.14-0 -- Initial build for RHEL 6.0 - diff --git a/redhat/applications/krename/trinity-krename-3.5.13.spec b/redhat/applications/krename/trinity-krename-3.5.13.spec deleted file mode 100644 index bb74edf1d..000000000 --- a/redhat/applications/krename/trinity-krename-3.5.13.spec +++ /dev/null @@ -1,144 +0,0 @@ -# Default version for this component -%define kdecomp krename - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: A TDE batch file renaming utility. -Version: 3.0.14 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: imlib-devel - -%description -KRename is a powerful batch renamer for TDE. It allows you to easily rename hundreds or -even more files in one go. The filenames can be created by parts of the original filename, -numbering the files or accessing hundreds of informations about the file, like creation date -or Exif informations of an image. - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - - -%clean -%__rm -rf %{buildroot} - - -%post -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -update-desktop-database %{tde_appdir} &> /dev/null - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/krename -%{tde_tdeappdir}/krename.desktop -%{tde_datadir}/apps/konqueror/servicemenus/krename_dir.desktop -%{tde_datadir}/apps/konqueror/servicemenus/krenameservicemenu.desktop -%{tde_datadir}/apps/krename/ -%{tde_tdedocdir}/HTML/en/krename/ -%{tde_datadir}/icons/hicolor/*/apps/krename.png -%{tde_datadir}/icons/locolor/*/apps/krename.png - - -%Changelog -* Wed May 02 2012 Francois Andriot - 3.0.14-4 -- Rebuild for Fedora 17 -- Fix HTML directory location - -* Sun Oct 30 2011 Francois Andriot - 3.0.14-3 -- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 - -* Tue Sep 14 2011 Francois Andriot - 3.0.14-2 -- Import to GIT - -* Wed Aug 24 2011 Francois Andriot - 3.0.14-1 -- Correct macro to install under "/opt", if desired - -* Sun Aug 14 2011 Francois Andriot - 3.0.14-0 -- Initial build for RHEL 6.0 - diff --git a/redhat/applications/krusader/krusader-3.5.13.1.spec b/redhat/applications/krusader/krusader-3.5.13.1.spec new file mode 100644 index 000000000..955e6d0ee --- /dev/null +++ b/redhat/applications/krusader/krusader-3.5.13.1.spec @@ -0,0 +1,164 @@ +# Default version for this component +%define kdecomp krusader + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: twin-panel (commander-style) file manager for KDE (and other desktops) +Version: 1.90.0 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: trinity-tdebindings-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils + + +%description +Krusader is a simple, easy, powerful, twin-panel (commander-style) file +manager for TDE and other desktops, similar to Midnight Commander (C) or Total +Commander (C). + +It provides all the file management features you could possibly want. + +Plus: extensive archive handling, mounted filesystem support, FTP, +advanced search module, viewer/editor, directory synchronisation, +file content comparisons, powerful batch renaming and much much more. + +It supports archive formats: ace, arj, bzip2, deb, iso, lha, rar, rpm, tar, +zip and 7-zip. + +It handles KIOSlaves such as smb:// or fish://. + +Almost completely customizable, Krusader is very user friendly, fast and looks +great on your desktop. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +for f in crystalsvg locolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + +%postun +update-desktop-database %{tde_appdir} > /dev/null +for f in crystalsvg locolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING FAQ README TODO +%{tde_bindir}/krusader +%{tde_tdelibdir}/kio_krarc.la +%{tde_tdelibdir}/kio_krarc.so +%{tde_tdelibdir}/kio_virt.la +%{tde_tdelibdir}/kio_virt.so +%{tde_tdeappdir}/krusader.desktop +%{tde_tdeappdir}/krusader_root-mode.desktop +%{tde_datadir}/apps/krusader +%{tde_tdedocdir}/HTML/en/krusader/ +%lang(ru) %{tde_tdedocdir}/HTML/ru/krusader/ +%{tde_datadir}/icons/crystalsvg/*/apps/*.png +%{tde_datadir}/icons/locolor/*/apps/*.png +%{tde_datadir}/services/krarc.protocol +%{tde_datadir}/services/virt.protocol +%{tde_mandir}/man1/krusader.1 + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 1.90.0-3 +- Initial build for TDE 3.5.13.1 + +* Wed May 02 2012 Francois Andriot - 1.90.0-2 +- Rebuild for Fedora 17 +- GCC 4.7 fixes. [Commit #fdf6d340] + +* Sat Dec 03 2011 Francois Andriot - 1.90.0-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/krusader/krusader-3.5.13.2.spec b/redhat/applications/krusader/krusader-3.5.13.2.spec new file mode 100644 index 000000000..bcd0478af --- /dev/null +++ b/redhat/applications/krusader/krusader-3.5.13.2.spec @@ -0,0 +1,167 @@ +# Default version for this component +%define tdecomp krusader + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: twin-panel (commander-style) file manager for KDE (and other desktops) +Version: 1.90.0 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: trinity-tdebindings-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils + + +%description +Krusader is a simple, easy, powerful, twin-panel (commander-style) file +manager for TDE and other desktops, similar to Midnight Commander (C) or Total +Commander (C). + +It provides all the file management features you could possibly want. + +Plus: extensive archive handling, mounted filesystem support, FTP, +advanced search module, viewer/editor, directory synchronisation, +file content comparisons, powerful batch renaming and much much more. + +It supports archive formats: ace, arj, bzip2, deb, iso, lha, rar, rpm, tar, +zip and 7-zip. + +It handles KIOSlaves such as smb:// or fish://. + +Almost completely customizable, Krusader is very user friendly, fast and looks +great on your desktop. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{tdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +for f in crystalsvg locolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + +%postun +update-desktop-database %{tde_appdir} > /dev/null +for f in crystalsvg locolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + + +%files -f %{tdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING FAQ README TODO +%{tde_bindir}/krusader +%{tde_tdelibdir}/kio_krarc.la +%{tde_tdelibdir}/kio_krarc.so +%{tde_tdelibdir}/kio_virt.la +%{tde_tdelibdir}/kio_virt.so +%{tde_tdeappdir}/krusader.desktop +%{tde_tdeappdir}/krusader_root-mode.desktop +%{tde_datadir}/apps/krusader +%{tde_tdedocdir}/HTML/en/krusader/ +%lang(ru) %{tde_tdedocdir}/HTML/ru/krusader/ +%{tde_datadir}/icons/crystalsvg/*/apps/*.png +%{tde_datadir}/icons/locolor/*/apps/*.png +%{tde_datadir}/services/krarc.protocol +%{tde_datadir}/services/virt.protocol +%{tde_mandir}/man1/krusader.1 + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 1.90.0-4 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 1.90.0-3 +- Initial build for TDE 3.5.13.1 + +* Wed May 02 2012 Francois Andriot - 1.90.0-2 +- Rebuild for Fedora 17 +- GCC 4.7 fixes. [Commit #fdf6d340] + +* Sat Dec 03 2011 Francois Andriot - 1.90.0-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/krusader/krusader-3.5.13.spec b/redhat/applications/krusader/krusader-3.5.13.spec new file mode 100644 index 000000000..d4e84f369 --- /dev/null +++ b/redhat/applications/krusader/krusader-3.5.13.spec @@ -0,0 +1,163 @@ +# Default version for this component +%define kdecomp krusader + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: twin-panel (commander-style) file manager for KDE (and other desktops) +Version: 1.90.0 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +# [krusader] GCC 4.7 fixes. [Commit #fdf6d340] +Patch1: krusader-3.5.13-fix_gcc47_compilation.patch +# [krusader] Fix "not a string literal" error +Patch2: krusader-3.5.13-fix_not_a_string_literal_error.patch + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils + +BuildRequires: trinity-tdebindings-devel + +%description +Krusader is a simple, easy, powerful, twin-panel (commander-style) file +manager for TDE and other desktops, similar to Midnight Commander (C) or Total +Commander (C). + +It provides all the file management features you could possibly want. + +Plus: extensive archive handling, mounted filesystem support, FTP, +advanced search module, viewer/editor, directory synchronisation, +file content comparisons, powerful batch renaming and much much more. + +It supports archive formats: ace, arj, bzip2, deb, iso, lha, rar, rpm, tar, +zip and 7-zip. + +It handles KIOSlaves such as smb:// or fish://. + +Almost completely customizable, Krusader is very user friendly, fast and looks +great on your desktop. + + +%prep +%setup -q -n applications/%{kdecomp} +%patch1 -p1 +%patch2 -p1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +for f in crystalsvg locolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + +%postun +update-desktop-database %{tde_appdir} > /dev/null +for f in crystalsvg locolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING FAQ README TODO +%{tde_bindir}/krusader +%{tde_tdelibdir}/kio_krarc.la +%{tde_tdelibdir}/kio_krarc.so +%{tde_tdelibdir}/kio_virt.la +%{tde_tdelibdir}/kio_virt.so +%{tde_tdeappdir}/krusader.desktop +%{tde_tdeappdir}/krusader_root-mode.desktop +%{tde_datadir}/apps/krusader +%{tde_tdedocdir}/HTML/en/krusader/ +%lang(ru) %{tde_tdedocdir}/HTML/ru/krusader/ +%{tde_datadir}/icons/crystalsvg/*/apps/*.png +%{tde_datadir}/icons/locolor/*/apps/*.png +%{tde_datadir}/services/krarc.protocol +%{tde_datadir}/services/virt.protocol +%{tde_mandir}/man1/krusader.1 + + +%Changelog +* Wed May 02 2012 Francois Andriot - 1.90.0-2 +- Rebuild for Fedora 17 +- GCC 4.7 fixes. [Commit #fdf6d340] + +* Sat Dec 03 2011 Francois Andriot - 1.90.0-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/krusader/trinity-krusader-3.5.13.1.spec b/redhat/applications/krusader/trinity-krusader-3.5.13.1.spec deleted file mode 100644 index 955e6d0ee..000000000 --- a/redhat/applications/krusader/trinity-krusader-3.5.13.1.spec +++ /dev/null @@ -1,164 +0,0 @@ -# Default version for this component -%define kdecomp krusader - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: twin-panel (commander-style) file manager for KDE (and other desktops) -Version: 1.90.0 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: trinity-tdebindings-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - - -%description -Krusader is a simple, easy, powerful, twin-panel (commander-style) file -manager for TDE and other desktops, similar to Midnight Commander (C) or Total -Commander (C). - -It provides all the file management features you could possibly want. - -Plus: extensive archive handling, mounted filesystem support, FTP, -advanced search module, viewer/editor, directory synchronisation, -file content comparisons, powerful batch renaming and much much more. - -It supports archive formats: ace, arj, bzip2, deb, iso, lha, rar, rpm, tar, -zip and 7-zip. - -It handles KIOSlaves such as smb:// or fish://. - -Almost completely customizable, Krusader is very user friendly, fast and looks -great on your desktop. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -for f in crystalsvg locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -update-desktop-database %{tde_appdir} > /dev/null -for f in crystalsvg locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING FAQ README TODO -%{tde_bindir}/krusader -%{tde_tdelibdir}/kio_krarc.la -%{tde_tdelibdir}/kio_krarc.so -%{tde_tdelibdir}/kio_virt.la -%{tde_tdelibdir}/kio_virt.so -%{tde_tdeappdir}/krusader.desktop -%{tde_tdeappdir}/krusader_root-mode.desktop -%{tde_datadir}/apps/krusader -%{tde_tdedocdir}/HTML/en/krusader/ -%lang(ru) %{tde_tdedocdir}/HTML/ru/krusader/ -%{tde_datadir}/icons/crystalsvg/*/apps/*.png -%{tde_datadir}/icons/locolor/*/apps/*.png -%{tde_datadir}/services/krarc.protocol -%{tde_datadir}/services/virt.protocol -%{tde_mandir}/man1/krusader.1 - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 1.90.0-3 -- Initial build for TDE 3.5.13.1 - -* Wed May 02 2012 Francois Andriot - 1.90.0-2 -- Rebuild for Fedora 17 -- GCC 4.7 fixes. [Commit #fdf6d340] - -* Sat Dec 03 2011 Francois Andriot - 1.90.0-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/krusader/trinity-krusader-3.5.13.2.spec b/redhat/applications/krusader/trinity-krusader-3.5.13.2.spec deleted file mode 100644 index bcd0478af..000000000 --- a/redhat/applications/krusader/trinity-krusader-3.5.13.2.spec +++ /dev/null @@ -1,167 +0,0 @@ -# Default version for this component -%define tdecomp krusader - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: twin-panel (commander-style) file manager for KDE (and other desktops) -Version: 1.90.0 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: trinity-tdebindings-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils - - -%description -Krusader is a simple, easy, powerful, twin-panel (commander-style) file -manager for TDE and other desktops, similar to Midnight Commander (C) or Total -Commander (C). - -It provides all the file management features you could possibly want. - -Plus: extensive archive handling, mounted filesystem support, FTP, -advanced search module, viewer/editor, directory synchronisation, -file content comparisons, powerful batch renaming and much much more. - -It supports archive formats: ace, arj, bzip2, deb, iso, lha, rar, rpm, tar, -zip and 7-zip. - -It handles KIOSlaves such as smb:// or fish://. - -Almost completely customizable, Krusader is very user friendly, fast and looks -great on your desktop. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{tdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -for f in crystalsvg locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -update-desktop-database %{tde_appdir} > /dev/null -for f in crystalsvg locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - - -%files -f %{tdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING FAQ README TODO -%{tde_bindir}/krusader -%{tde_tdelibdir}/kio_krarc.la -%{tde_tdelibdir}/kio_krarc.so -%{tde_tdelibdir}/kio_virt.la -%{tde_tdelibdir}/kio_virt.so -%{tde_tdeappdir}/krusader.desktop -%{tde_tdeappdir}/krusader_root-mode.desktop -%{tde_datadir}/apps/krusader -%{tde_tdedocdir}/HTML/en/krusader/ -%lang(ru) %{tde_tdedocdir}/HTML/ru/krusader/ -%{tde_datadir}/icons/crystalsvg/*/apps/*.png -%{tde_datadir}/icons/locolor/*/apps/*.png -%{tde_datadir}/services/krarc.protocol -%{tde_datadir}/services/virt.protocol -%{tde_mandir}/man1/krusader.1 - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 1.90.0-4 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 1.90.0-3 -- Initial build for TDE 3.5.13.1 - -* Wed May 02 2012 Francois Andriot - 1.90.0-2 -- Rebuild for Fedora 17 -- GCC 4.7 fixes. [Commit #fdf6d340] - -* Sat Dec 03 2011 Francois Andriot - 1.90.0-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/krusader/trinity-krusader-3.5.13.spec b/redhat/applications/krusader/trinity-krusader-3.5.13.spec deleted file mode 100644 index d4e84f369..000000000 --- a/redhat/applications/krusader/trinity-krusader-3.5.13.spec +++ /dev/null @@ -1,163 +0,0 @@ -# Default version for this component -%define kdecomp krusader - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: twin-panel (commander-style) file manager for KDE (and other desktops) -Version: 1.90.0 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# [krusader] GCC 4.7 fixes. [Commit #fdf6d340] -Patch1: krusader-3.5.13-fix_gcc47_compilation.patch -# [krusader] Fix "not a string literal" error -Patch2: krusader-3.5.13-fix_not_a_string_literal_error.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils - -BuildRequires: trinity-tdebindings-devel - -%description -Krusader is a simple, easy, powerful, twin-panel (commander-style) file -manager for TDE and other desktops, similar to Midnight Commander (C) or Total -Commander (C). - -It provides all the file management features you could possibly want. - -Plus: extensive archive handling, mounted filesystem support, FTP, -advanced search module, viewer/editor, directory synchronisation, -file content comparisons, powerful batch renaming and much much more. - -It supports archive formats: ace, arj, bzip2, deb, iso, lha, rar, rpm, tar, -zip and 7-zip. - -It handles KIOSlaves such as smb:// or fish://. - -Almost completely customizable, Krusader is very user friendly, fast and looks -great on your desktop. - - -%prep -%setup -q -n applications/%{kdecomp} -%patch1 -p1 -%patch2 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -for f in crystalsvg locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -update-desktop-database %{tde_appdir} > /dev/null -for f in crystalsvg locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING FAQ README TODO -%{tde_bindir}/krusader -%{tde_tdelibdir}/kio_krarc.la -%{tde_tdelibdir}/kio_krarc.so -%{tde_tdelibdir}/kio_virt.la -%{tde_tdelibdir}/kio_virt.so -%{tde_tdeappdir}/krusader.desktop -%{tde_tdeappdir}/krusader_root-mode.desktop -%{tde_datadir}/apps/krusader -%{tde_tdedocdir}/HTML/en/krusader/ -%lang(ru) %{tde_tdedocdir}/HTML/ru/krusader/ -%{tde_datadir}/icons/crystalsvg/*/apps/*.png -%{tde_datadir}/icons/locolor/*/apps/*.png -%{tde_datadir}/services/krarc.protocol -%{tde_datadir}/services/virt.protocol -%{tde_mandir}/man1/krusader.1 - - -%Changelog -* Wed May 02 2012 Francois Andriot - 1.90.0-2 -- Rebuild for Fedora 17 -- GCC 4.7 fixes. [Commit #fdf6d340] - -* Sat Dec 03 2011 Francois Andriot - 1.90.0-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/ksplash-engine-moodin/ksplash-engine-moodin-3.5.13.1.spec b/redhat/applications/ksplash-engine-moodin/ksplash-engine-moodin-3.5.13.1.spec new file mode 100644 index 000000000..70fcd9dba --- /dev/null +++ b/redhat/applications/ksplash-engine-moodin/ksplash-engine-moodin-3.5.13.1.spec @@ -0,0 +1,134 @@ +# Default version for this component +%define kdecomp ksplash-engine-moodin + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: fading splash screen engine for Trinity +Version: 0.4.2 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +Heavily customizable engine for various types of themes. + +Features: +* scale cache +* fading images +* use current icon set or custom images +* unlimited Custom text labels +* set fading delay and length +* custom image arrangement +* resolution independent themes + +This TDE splash screen engine is based upon Linspire's +engine by Sean Meiners + +Homepage: http://moodwrod.com + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%{tde_tdelibdir}/ksplashmoodin.la +%{tde_tdelibdir}/ksplashmoodin.so +%{tde_datadir}/apps/ksplash/Themes/FingerPrint/ +%{tde_datadir}/apps/ksplash/Themes/MoodinKDE/ +%{tde_datadir}/services/ksplashmoodin.desktop + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.4.2-3 +- Initial build for TDE 3.5.13.1 + +* Wed May 02 2012 Francois Andriot - 0.4.2-2 +- Rebuild for Fedora 17 +- Removes post and postun + +* Sat Nov 19 2011 Francois Andriot - 0.4.2-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/ksplash-engine-moodin/ksplash-engine-moodin-3.5.13.2.spec b/redhat/applications/ksplash-engine-moodin/ksplash-engine-moodin-3.5.13.2.spec new file mode 100644 index 000000000..9478b2370 --- /dev/null +++ b/redhat/applications/ksplash-engine-moodin/ksplash-engine-moodin-3.5.13.2.spec @@ -0,0 +1,137 @@ +# Default version for this component +%define tdecomp ksplash-engine-moodin + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: fading splash screen engine for Trinity +Version: 0.4.2 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +Heavily customizable engine for various types of themes. + +Features: +* scale cache +* fading images +* use current icon set or custom images +* unlimited Custom text labels +* set fading delay and length +* custom image arrangement +* resolution independent themes + +This TDE splash screen engine is based upon Linspire's +engine by Sean Meiners + +Homepage: http://moodwrod.com + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%{tde_tdelibdir}/ksplashmoodin.la +%{tde_tdelibdir}/ksplashmoodin.so +%{tde_datadir}/apps/ksplash/Themes/FingerPrint/ +%{tde_datadir}/apps/ksplash/Themes/MoodinKDE/ +%{tde_datadir}/services/ksplashmoodin.desktop + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 0.4.2-4 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.4.2-3 +- Initial build for TDE 3.5.13.1 + +* Wed May 02 2012 Francois Andriot - 0.4.2-2 +- Rebuild for Fedora 17 +- Removes post and postun + +* Sat Nov 19 2011 Francois Andriot - 0.4.2-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/ksplash-engine-moodin/ksplash-engine-moodin-3.5.13.spec b/redhat/applications/ksplash-engine-moodin/ksplash-engine-moodin-3.5.13.spec new file mode 100644 index 000000000..192bf9cc3 --- /dev/null +++ b/redhat/applications/ksplash-engine-moodin/ksplash-engine-moodin-3.5.13.spec @@ -0,0 +1,126 @@ +# Default version for this component +%define kdecomp ksplash-engine-moodin + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: fading splash screen engine for Trinity +Version: 0.4.2 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +Heavily customizable engine for various types of themes. + +Features: +* scale cache +* fading images +* use current icon set or custom images +* unlimited Custom text labels +* set fading delay and length +* custom image arrangement +* resolution independent themes + +This TDE splash screen engine is based upon Linspire's +engine by Sean Meiners + +Homepage: http://moodwrod.com + + +%prep +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%{tde_tdelibdir}/ksplashmoodin.la +%{tde_tdelibdir}/ksplashmoodin.so +%{tde_datadir}/apps/ksplash/Themes/FingerPrint/ +%{tde_datadir}/apps/ksplash/Themes/MoodinKDE/ +%{tde_datadir}/services/ksplashmoodin.desktop + + +%Changelog +* Wed May 02 2012 Francois Andriot - 0.4.2-2 +- Rebuild for Fedora 17 +- Removes post and postun + +* Sat Nov 19 2011 Francois Andriot - 0.4.2-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/ksplash-engine-moodin/trinity-ksplash-engine-moodin-3.5.13.1.spec b/redhat/applications/ksplash-engine-moodin/trinity-ksplash-engine-moodin-3.5.13.1.spec deleted file mode 100644 index 70fcd9dba..000000000 --- a/redhat/applications/ksplash-engine-moodin/trinity-ksplash-engine-moodin-3.5.13.1.spec +++ /dev/null @@ -1,134 +0,0 @@ -# Default version for this component -%define kdecomp ksplash-engine-moodin - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: fading splash screen engine for Trinity -Version: 0.4.2 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -Heavily customizable engine for various types of themes. - -Features: -* scale cache -* fading images -* use current icon set or custom images -* unlimited Custom text labels -* set fading delay and length -* custom image arrangement -* resolution independent themes - -This TDE splash screen engine is based upon Linspire's -engine by Sean Meiners - -Homepage: http://moodwrod.com - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%files -%defattr(-,root,root,-) -%{tde_tdelibdir}/ksplashmoodin.la -%{tde_tdelibdir}/ksplashmoodin.so -%{tde_datadir}/apps/ksplash/Themes/FingerPrint/ -%{tde_datadir}/apps/ksplash/Themes/MoodinKDE/ -%{tde_datadir}/services/ksplashmoodin.desktop - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.4.2-3 -- Initial build for TDE 3.5.13.1 - -* Wed May 02 2012 Francois Andriot - 0.4.2-2 -- Rebuild for Fedora 17 -- Removes post and postun - -* Sat Nov 19 2011 Francois Andriot - 0.4.2-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/ksplash-engine-moodin/trinity-ksplash-engine-moodin-3.5.13.2.spec b/redhat/applications/ksplash-engine-moodin/trinity-ksplash-engine-moodin-3.5.13.2.spec deleted file mode 100644 index 9478b2370..000000000 --- a/redhat/applications/ksplash-engine-moodin/trinity-ksplash-engine-moodin-3.5.13.2.spec +++ /dev/null @@ -1,137 +0,0 @@ -# Default version for this component -%define tdecomp ksplash-engine-moodin - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: fading splash screen engine for Trinity -Version: 0.4.2 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -Heavily customizable engine for various types of themes. - -Features: -* scale cache -* fading images -* use current icon set or custom images -* unlimited Custom text labels -* set fading delay and length -* custom image arrangement -* resolution independent themes - -This TDE splash screen engine is based upon Linspire's -engine by Sean Meiners - -Homepage: http://moodwrod.com - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%files -%defattr(-,root,root,-) -%{tde_tdelibdir}/ksplashmoodin.la -%{tde_tdelibdir}/ksplashmoodin.so -%{tde_datadir}/apps/ksplash/Themes/FingerPrint/ -%{tde_datadir}/apps/ksplash/Themes/MoodinKDE/ -%{tde_datadir}/services/ksplashmoodin.desktop - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 0.4.2-4 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.4.2-3 -- Initial build for TDE 3.5.13.1 - -* Wed May 02 2012 Francois Andriot - 0.4.2-2 -- Rebuild for Fedora 17 -- Removes post and postun - -* Sat Nov 19 2011 Francois Andriot - 0.4.2-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/ksplash-engine-moodin/trinity-ksplash-engine-moodin-3.5.13.spec b/redhat/applications/ksplash-engine-moodin/trinity-ksplash-engine-moodin-3.5.13.spec deleted file mode 100644 index 192bf9cc3..000000000 --- a/redhat/applications/ksplash-engine-moodin/trinity-ksplash-engine-moodin-3.5.13.spec +++ /dev/null @@ -1,126 +0,0 @@ -# Default version for this component -%define kdecomp ksplash-engine-moodin - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: fading splash screen engine for Trinity -Version: 0.4.2 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -Heavily customizable engine for various types of themes. - -Features: -* scale cache -* fading images -* use current icon set or custom images -* unlimited Custom text labels -* set fading delay and length -* custom image arrangement -* resolution independent themes - -This TDE splash screen engine is based upon Linspire's -engine by Sean Meiners - -Homepage: http://moodwrod.com - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%files -%defattr(-,root,root,-) -%{tde_tdelibdir}/ksplashmoodin.la -%{tde_tdelibdir}/ksplashmoodin.so -%{tde_datadir}/apps/ksplash/Themes/FingerPrint/ -%{tde_datadir}/apps/ksplash/Themes/MoodinKDE/ -%{tde_datadir}/services/ksplashmoodin.desktop - - -%Changelog -* Wed May 02 2012 Francois Andriot - 0.4.2-2 -- Rebuild for Fedora 17 -- Removes post and postun - -* Sat Nov 19 2011 Francois Andriot - 0.4.2-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/ksquirrel/ksquirrel-3.5.13.1.spec b/redhat/applications/ksquirrel/ksquirrel-3.5.13.1.spec new file mode 100644 index 000000000..f03b50115 --- /dev/null +++ b/redhat/applications/ksquirrel/ksquirrel-3.5.13.1.spec @@ -0,0 +1,154 @@ +# Default version for this component +%define kdecomp ksquirrel + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Powerful Trinity image viewer +Version: 0.8.0 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Amusements/Games + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: trinity-libkipi-devel +BuildRequires: trinity-libksquirrel-devel +#BuildRequires: libkexif-devel + +%description +KSquirrel is an image viewer for TDE with disk navigator, file tree, +multiple directory view, thumbnails, extended thumbnails, dynamic +format support, DCOP interface, KEXIF and KIPI plugins support. + +KSquirrel is a fast and convenient image viewer for KDE featuring +OpenGL and dynamic format support. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files -f %{kdecomp} +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING LICENSE LICENSE.GFDL LICENSE.LGPL README TODO +%{tde_bindir}/ksquirrel +%{tde_bindir}/ksquirrel-libs-configurator +%{tde_bindir}/ksquirrel-libs-configurator-real +%{tde_tdelibdir}/libksquirrelpart.la +%{tde_tdelibdir}/libksquirrelpart.so +%{tde_tdeappdir}/ksquirrel.desktop +%{tde_datadir}/apps/dolphin/servicemenus/dolphksquirrel-dir.desktop +%{tde_datadir}/apps/konqueror/servicemenus/konqksquirrel-dir.desktop +%{tde_datadir}/apps/ksquirrel/ +%{tde_datadir}/apps/ksquirrelpart/ksquirrelpart.rc +%{tde_datadir}/config/magic/x-ras.magic +%{tde_datadir}/config/magic/x-sun.magic +%{tde_datadir}/config/magic/x-utah.magic +%{tde_tdedocdir}/HTML/*/ksquirrel +%{tde_datadir}/icons/hicolor/*/apps/ksquirrel.png +%{tde_datadir}/mimelnk/image/*.desktop +%{tde_datadir}/services/ksquirrelpart.desktop +%{tde_datadir}/locale/*/LC_MESSAGES/ksquirrel.mo +%{tde_mandir}/man1/ksquirrel.1 + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.8.0-3 +- Initial build for TDE 3.5.13.1 + +* Wed May 02 2012 Francois Andriot - 0.8.1-2 +- Rebuild for Fedora 17 +- Fix HTML directory location + +* Sun Nov 20 2011 Francois Andriot - 0.8.0-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/ksquirrel/ksquirrel-3.5.13.2.spec b/redhat/applications/ksquirrel/ksquirrel-3.5.13.2.spec new file mode 100644 index 000000000..16eb31a0e --- /dev/null +++ b/redhat/applications/ksquirrel/ksquirrel-3.5.13.2.spec @@ -0,0 +1,162 @@ +# Default version for this component +%define tdecomp ksquirrel + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: Powerful Trinity image viewer +Version: 0.8.0 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Amusements/Games + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: trinity-libkipi-devel +BuildRequires: trinity-libksquirrel-devel +#BuildRequires: libkexif-devel + +%description +KSquirrel is an image viewer for TDE with disk navigator, file tree, +multiple directory view, thumbnails, extended thumbnails, dynamic +format support, DCOP interface, KEXIF and KIPI plugins support. + +KSquirrel is a fast and convenient image viewer for KDE featuring +OpenGL and dynamic format support. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +# Specific path for RHEL4 +if [ -d /usr/X11R6 ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{tdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files -f %{tdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING LICENSE LICENSE.GFDL LICENSE.LGPL README TODO +%{tde_bindir}/ksquirrel +%{tde_bindir}/ksquirrel-libs-configurator +%{tde_bindir}/ksquirrel-libs-configurator-real +%{tde_tdelibdir}/libksquirrelpart.la +%{tde_tdelibdir}/libksquirrelpart.so +%{tde_tdeappdir}/ksquirrel.desktop +%{tde_datadir}/apps/dolphin/servicemenus/dolphksquirrel-dir.desktop +%{tde_datadir}/apps/konqueror/servicemenus/konqksquirrel-dir.desktop +%{tde_datadir}/apps/ksquirrel/ +%{tde_datadir}/apps/ksquirrelpart/ksquirrelpart.rc +%{tde_datadir}/config/magic/x-ras.magic +%{tde_datadir}/config/magic/x-sun.magic +%{tde_datadir}/config/magic/x-utah.magic +%{tde_tdedocdir}/HTML/*/ksquirrel +%{tde_datadir}/icons/hicolor/*/apps/ksquirrel.png +%{tde_datadir}/mimelnk/image/*.desktop +%{tde_datadir}/services/ksquirrelpart.desktop +%{tde_datadir}/locale/*/LC_MESSAGES/ksquirrel.mo +%{tde_mandir}/man1/ksquirrel.1 + +%changelog +* Mon Jun 03 2013 Francois Andriot - 0.8.0-4 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.8.0-3 +- Initial build for TDE 3.5.13.1 + +* Wed May 02 2012 Francois Andriot - 0.8.1-2 +- Rebuild for Fedora 17 +- Fix HTML directory location + +* Sun Nov 20 2011 Francois Andriot - 0.8.0-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/ksquirrel/ksquirrel-3.5.13.spec b/redhat/applications/ksquirrel/ksquirrel-3.5.13.spec new file mode 100644 index 000000000..90abc45cd --- /dev/null +++ b/redhat/applications/ksquirrel/ksquirrel-3.5.13.spec @@ -0,0 +1,146 @@ +# Default version for this component +%define kdecomp ksquirrel + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Powerful Trinity image viewer +Version: 0.8.0 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Amusements/Games + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: trinity-libkipi-devel +BuildRequires: trinity-libksquirrel-devel +#BuildRequires: libkexif-devel + +%description +KSquirrel is an image viewer for TDE with disk navigator, file tree, +multiple directory view, thumbnails, extended thumbnails, dynamic +format support, DCOP interface, KEXIF and KIPI plugins support. + +KSquirrel is a fast and convenient image viewer for KDE featuring +OpenGL and dynamic format support. + + +%prep +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files -f %{kdecomp} +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING LICENSE LICENSE.GFDL LICENSE.LGPL README TODO +%{tde_bindir}/ksquirrel +%{tde_bindir}/ksquirrel-libs-configurator +%{tde_bindir}/ksquirrel-libs-configurator-real +%{tde_tdelibdir}/libksquirrelpart.la +%{tde_tdelibdir}/libksquirrelpart.so +%{tde_tdeappdir}/ksquirrel.desktop +%{tde_datadir}/apps/dolphin/servicemenus/dolphksquirrel-dir.desktop +%{tde_datadir}/apps/konqueror/servicemenus/konqksquirrel-dir.desktop +%{tde_datadir}/apps/ksquirrel/ +%{tde_datadir}/apps/ksquirrelpart/ksquirrelpart.rc +%{tde_datadir}/config/magic/x-ras.magic +%{tde_datadir}/config/magic/x-sun.magic +%{tde_datadir}/config/magic/x-utah.magic +%{tde_tdedocdir}/HTML/*/ksquirrel +%{tde_datadir}/icons/hicolor/*/apps/ksquirrel.png +%{tde_datadir}/mimelnk/image/*.desktop +%{tde_datadir}/services/ksquirrelpart.desktop +%{tde_datadir}/locale/*/LC_MESSAGES/ksquirrel.mo +%{tde_mandir}/man1/ksquirrel.1 + +%Changelog +* Wed May 02 2012 Francois Andriot - 0.8.1-2 +- Rebuild for Fedora 17 +- Fix HTML directory location + +* Sun Nov 20 2011 Francois Andriot - 0.8.0-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/ksquirrel/trinity-ksquirrel-3.5.13.1.spec b/redhat/applications/ksquirrel/trinity-ksquirrel-3.5.13.1.spec deleted file mode 100644 index f03b50115..000000000 --- a/redhat/applications/ksquirrel/trinity-ksquirrel-3.5.13.1.spec +++ /dev/null @@ -1,154 +0,0 @@ -# Default version for this component -%define kdecomp ksquirrel - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Powerful Trinity image viewer -Version: 0.8.0 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Amusements/Games - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: trinity-libkipi-devel -BuildRequires: trinity-libksquirrel-devel -#BuildRequires: libkexif-devel - -%description -KSquirrel is an image viewer for TDE with disk navigator, file tree, -multiple directory view, thumbnails, extended thumbnails, dynamic -format support, DCOP interface, KEXIF and KIPI plugins support. - -KSquirrel is a fast and convenient image viewer for KDE featuring -OpenGL and dynamic format support. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{kdecomp} -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING LICENSE LICENSE.GFDL LICENSE.LGPL README TODO -%{tde_bindir}/ksquirrel -%{tde_bindir}/ksquirrel-libs-configurator -%{tde_bindir}/ksquirrel-libs-configurator-real -%{tde_tdelibdir}/libksquirrelpart.la -%{tde_tdelibdir}/libksquirrelpart.so -%{tde_tdeappdir}/ksquirrel.desktop -%{tde_datadir}/apps/dolphin/servicemenus/dolphksquirrel-dir.desktop -%{tde_datadir}/apps/konqueror/servicemenus/konqksquirrel-dir.desktop -%{tde_datadir}/apps/ksquirrel/ -%{tde_datadir}/apps/ksquirrelpart/ksquirrelpart.rc -%{tde_datadir}/config/magic/x-ras.magic -%{tde_datadir}/config/magic/x-sun.magic -%{tde_datadir}/config/magic/x-utah.magic -%{tde_tdedocdir}/HTML/*/ksquirrel -%{tde_datadir}/icons/hicolor/*/apps/ksquirrel.png -%{tde_datadir}/mimelnk/image/*.desktop -%{tde_datadir}/services/ksquirrelpart.desktop -%{tde_datadir}/locale/*/LC_MESSAGES/ksquirrel.mo -%{tde_mandir}/man1/ksquirrel.1 - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.8.0-3 -- Initial build for TDE 3.5.13.1 - -* Wed May 02 2012 Francois Andriot - 0.8.1-2 -- Rebuild for Fedora 17 -- Fix HTML directory location - -* Sun Nov 20 2011 Francois Andriot - 0.8.0-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/ksquirrel/trinity-ksquirrel-3.5.13.2.spec b/redhat/applications/ksquirrel/trinity-ksquirrel-3.5.13.2.spec deleted file mode 100644 index 16eb31a0e..000000000 --- a/redhat/applications/ksquirrel/trinity-ksquirrel-3.5.13.2.spec +++ /dev/null @@ -1,162 +0,0 @@ -# Default version for this component -%define tdecomp ksquirrel - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: Powerful Trinity image viewer -Version: 0.8.0 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Amusements/Games - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: trinity-libkipi-devel -BuildRequires: trinity-libksquirrel-devel -#BuildRequires: libkexif-devel - -%description -KSquirrel is an image viewer for TDE with disk navigator, file tree, -multiple directory view, thumbnails, extended thumbnails, dynamic -format support, DCOP interface, KEXIF and KIPI plugins support. - -KSquirrel is a fast and convenient image viewer for KDE featuring -OpenGL and dynamic format support. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -# Specific path for RHEL4 -if [ -d /usr/X11R6 ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{tdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{tdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING LICENSE LICENSE.GFDL LICENSE.LGPL README TODO -%{tde_bindir}/ksquirrel -%{tde_bindir}/ksquirrel-libs-configurator -%{tde_bindir}/ksquirrel-libs-configurator-real -%{tde_tdelibdir}/libksquirrelpart.la -%{tde_tdelibdir}/libksquirrelpart.so -%{tde_tdeappdir}/ksquirrel.desktop -%{tde_datadir}/apps/dolphin/servicemenus/dolphksquirrel-dir.desktop -%{tde_datadir}/apps/konqueror/servicemenus/konqksquirrel-dir.desktop -%{tde_datadir}/apps/ksquirrel/ -%{tde_datadir}/apps/ksquirrelpart/ksquirrelpart.rc -%{tde_datadir}/config/magic/x-ras.magic -%{tde_datadir}/config/magic/x-sun.magic -%{tde_datadir}/config/magic/x-utah.magic -%{tde_tdedocdir}/HTML/*/ksquirrel -%{tde_datadir}/icons/hicolor/*/apps/ksquirrel.png -%{tde_datadir}/mimelnk/image/*.desktop -%{tde_datadir}/services/ksquirrelpart.desktop -%{tde_datadir}/locale/*/LC_MESSAGES/ksquirrel.mo -%{tde_mandir}/man1/ksquirrel.1 - -%changelog -* Mon Jun 03 2013 Francois Andriot - 0.8.0-4 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.8.0-3 -- Initial build for TDE 3.5.13.1 - -* Wed May 02 2012 Francois Andriot - 0.8.1-2 -- Rebuild for Fedora 17 -- Fix HTML directory location - -* Sun Nov 20 2011 Francois Andriot - 0.8.0-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/ksquirrel/trinity-ksquirrel-3.5.13.spec b/redhat/applications/ksquirrel/trinity-ksquirrel-3.5.13.spec deleted file mode 100644 index 90abc45cd..000000000 --- a/redhat/applications/ksquirrel/trinity-ksquirrel-3.5.13.spec +++ /dev/null @@ -1,146 +0,0 @@ -# Default version for this component -%define kdecomp ksquirrel - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Powerful Trinity image viewer -Version: 0.8.0 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Amusements/Games - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: trinity-libkipi-devel -BuildRequires: trinity-libksquirrel-devel -#BuildRequires: libkexif-devel - -%description -KSquirrel is an image viewer for TDE with disk navigator, file tree, -multiple directory view, thumbnails, extended thumbnails, dynamic -format support, DCOP interface, KEXIF and KIPI plugins support. - -KSquirrel is a fast and convenient image viewer for KDE featuring -OpenGL and dynamic format support. - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{kdecomp} -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING LICENSE LICENSE.GFDL LICENSE.LGPL README TODO -%{tde_bindir}/ksquirrel -%{tde_bindir}/ksquirrel-libs-configurator -%{tde_bindir}/ksquirrel-libs-configurator-real -%{tde_tdelibdir}/libksquirrelpart.la -%{tde_tdelibdir}/libksquirrelpart.so -%{tde_tdeappdir}/ksquirrel.desktop -%{tde_datadir}/apps/dolphin/servicemenus/dolphksquirrel-dir.desktop -%{tde_datadir}/apps/konqueror/servicemenus/konqksquirrel-dir.desktop -%{tde_datadir}/apps/ksquirrel/ -%{tde_datadir}/apps/ksquirrelpart/ksquirrelpart.rc -%{tde_datadir}/config/magic/x-ras.magic -%{tde_datadir}/config/magic/x-sun.magic -%{tde_datadir}/config/magic/x-utah.magic -%{tde_tdedocdir}/HTML/*/ksquirrel -%{tde_datadir}/icons/hicolor/*/apps/ksquirrel.png -%{tde_datadir}/mimelnk/image/*.desktop -%{tde_datadir}/services/ksquirrelpart.desktop -%{tde_datadir}/locale/*/LC_MESSAGES/ksquirrel.mo -%{tde_mandir}/man1/ksquirrel.1 - -%Changelog -* Wed May 02 2012 Francois Andriot - 0.8.1-2 -- Rebuild for Fedora 17 -- Fix HTML directory location - -* Sun Nov 20 2011 Francois Andriot - 0.8.0-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kstreamripper/kstreamripper-3.5.13.1.spec b/redhat/applications/kstreamripper/kstreamripper-3.5.13.1.spec new file mode 100644 index 000000000..79197e16f --- /dev/null +++ b/redhat/applications/kstreamripper/kstreamripper-3.5.13.1.spec @@ -0,0 +1,129 @@ +# Default version for this component +%define kdecomp kstreamripper + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: TDE frontend for streamripper + +Version: 0.3.4 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +Patch0: kstreamripper-3.5.13-missing_include_tqt.patch + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-arts-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: scons + + +%description +KStreamRipper is a small frontend for the streamripper command +line utility. Streamripper captures internet shoutcast radio streams +on your harddisk and splits them up in mp3 files. KStreamRipper helps +you with managing/ripping your preferred streams. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 +%patch0 -p1 + +%__sed -i kde.py \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|include/kde|include/tde|g" + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + + +scons -Q -j4 \ + qtlibs=${QTLIB:-${QTDIR}/%{_lib}} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + + +## File lists +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi +done +fi + + +%clean +%__rm -rf %{buildroot} + + + +%files +%defattr(-,root,root,-) +%{tde_bindir}/kstreamripper +%{tde_datadir}/applnk/Utilities/kstreamripper.desktop +%{tde_datadir}/apps/kstreamripper/kstreamripperui.rc +%{tde_tdedocdir}/HTML/en/kstreamripper/ + + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.3.4-2 +- Initial build for TDE 3.5.13.1 + +* Wed Nov 02 2011 Francois Andriot - 0.3.4-1 +- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/applications/kstreamripper/kstreamripper-3.5.13.2.spec b/redhat/applications/kstreamripper/kstreamripper-3.5.13.2.spec new file mode 100644 index 000000000..4d41f0f45 --- /dev/null +++ b/redhat/applications/kstreamripper/kstreamripper-3.5.13.2.spec @@ -0,0 +1,129 @@ +# Default version for this component +%define tdecomp kstreamripper + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: TDE frontend for streamripper + +Version: 0.3.4 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-arts-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: scons + + +%description +KStreamRipper is a small frontend for the streamripper command +line utility. Streamripper captures internet shoutcast radio streams +on your harddisk and splits them up in mp3 files. KStreamRipper helps +you with managing/ripping your preferred streams. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +%__sed -i kde.py \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|include/kde|include/tde|g" + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + + +scons -Q -j4 \ + qtlibs=${QTLIB:-${QTDIR}/%{_lib}} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + + +## File lists +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi +done +fi + + +%clean +%__rm -rf %{buildroot} + + + +%files +%defattr(-,root,root,-) +%{tde_bindir}/kstreamripper +%{tde_datadir}/applnk/Utilities/kstreamripper.desktop +%{tde_datadir}/apps/kstreamripper/kstreamripperui.rc +%{tde_tdedocdir}/HTML/en/kstreamripper/ + + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 0.3.4-3 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.3.4-2 +- Initial build for TDE 3.5.13.1 + +* Wed Nov 02 2011 Francois Andriot - 0.3.4-1 +- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/applications/kstreamripper/kstreamripper-3.5.13.spec b/redhat/applications/kstreamripper/kstreamripper-3.5.13.spec new file mode 100644 index 000000000..792fa0495 --- /dev/null +++ b/redhat/applications/kstreamripper/kstreamripper-3.5.13.spec @@ -0,0 +1,125 @@ +# Default version for this component +%define kdecomp kstreamripper + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: TDE frontend for streamripper + +Version: 0.3.4 +Release: 1%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +Patch0: kstreamripper-3.5.13-missing_include_tqt.patch + +# [kstreamripper] Missing LDFLAGS cause FTBFS on Mageia / Mandriva +Patch1: kstreamripper-3.5.13-missing_ldflags.patch + +# [kstreamripper] Fix directory of HTML documentation +Patch2: kstreamripper-3.5.13-fix_doc_directory.patch + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-arts-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: scons + + +%description +KStreamRipper is a small frontend for the streamripper command +line utility. Streamripper captures internet shoutcast radio streams +on your harddisk and splits them up in mp3 files. KStreamRipper helps +you with managing/ripping your preferred streams. + + +%prep +%setup -q -n applications/%{kdecomp} +%patch0 -p1 +%patch1 -p1 -b .ldflags +%patch2 -p1 -b .doc + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +export CXXFLAGS="-I%{tde_includedir}/tqt" + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + + +## File lists +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi +done +fi + + +%clean +%__rm -rf %{buildroot} + + + +%files +%defattr(-,root,root,-) +%{tde_bindir}/kstreamripper +%{tde_datadir}/applnk/Utilities/kstreamripper.desktop +%{tde_datadir}/apps/kstreamripper/kstreamripperui.rc +%{tde_tdedocdir}/HTML/en/kstreamripper/ + + + +%Changelog +* Wed Nov 02 2011 Francois Andriot - 0.3.4-1 +- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/applications/kstreamripper/trinity-kstreamripper-3.5.13.1.spec b/redhat/applications/kstreamripper/trinity-kstreamripper-3.5.13.1.spec deleted file mode 100644 index 79197e16f..000000000 --- a/redhat/applications/kstreamripper/trinity-kstreamripper-3.5.13.1.spec +++ /dev/null @@ -1,129 +0,0 @@ -# Default version for this component -%define kdecomp kstreamripper - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: TDE frontend for streamripper - -Version: 0.3.4 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -Patch0: kstreamripper-3.5.13-missing_include_tqt.patch - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-arts-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: scons - - -%description -KStreamRipper is a small frontend for the streamripper command -line utility. Streamripper captures internet shoutcast radio streams -on your harddisk and splits them up in mp3 files. KStreamRipper helps -you with managing/ripping your preferred streams. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 -%patch0 -p1 - -%__sed -i kde.py \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|include/kde|include/tde|g" - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - - -scons -Q -j4 \ - qtlibs=${QTLIB:-${QTDIR}/%{_lib}} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - - -%clean -%__rm -rf %{buildroot} - - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/kstreamripper -%{tde_datadir}/applnk/Utilities/kstreamripper.desktop -%{tde_datadir}/apps/kstreamripper/kstreamripperui.rc -%{tde_tdedocdir}/HTML/en/kstreamripper/ - - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.3.4-2 -- Initial build for TDE 3.5.13.1 - -* Wed Nov 02 2011 Francois Andriot - 0.3.4-1 -- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/applications/kstreamripper/trinity-kstreamripper-3.5.13.2.spec b/redhat/applications/kstreamripper/trinity-kstreamripper-3.5.13.2.spec deleted file mode 100644 index 4d41f0f45..000000000 --- a/redhat/applications/kstreamripper/trinity-kstreamripper-3.5.13.2.spec +++ /dev/null @@ -1,129 +0,0 @@ -# Default version for this component -%define tdecomp kstreamripper - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: TDE frontend for streamripper - -Version: 0.3.4 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-arts-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: scons - - -%description -KStreamRipper is a small frontend for the streamripper command -line utility. Streamripper captures internet shoutcast radio streams -on your harddisk and splits them up in mp3 files. KStreamRipper helps -you with managing/ripping your preferred streams. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -%__sed -i kde.py \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|include/kde|include/tde|g" - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - - -scons -Q -j4 \ - qtlibs=${QTLIB:-${QTDIR}/%{_lib}} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - - -%clean -%__rm -rf %{buildroot} - - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/kstreamripper -%{tde_datadir}/applnk/Utilities/kstreamripper.desktop -%{tde_datadir}/apps/kstreamripper/kstreamripperui.rc -%{tde_tdedocdir}/HTML/en/kstreamripper/ - - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 0.3.4-3 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.3.4-2 -- Initial build for TDE 3.5.13.1 - -* Wed Nov 02 2011 Francois Andriot - 0.3.4-1 -- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/applications/kstreamripper/trinity-kstreamripper-3.5.13.spec b/redhat/applications/kstreamripper/trinity-kstreamripper-3.5.13.spec deleted file mode 100644 index 792fa0495..000000000 --- a/redhat/applications/kstreamripper/trinity-kstreamripper-3.5.13.spec +++ /dev/null @@ -1,125 +0,0 @@ -# Default version for this component -%define kdecomp kstreamripper - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: TDE frontend for streamripper - -Version: 0.3.4 -Release: 1%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -Patch0: kstreamripper-3.5.13-missing_include_tqt.patch - -# [kstreamripper] Missing LDFLAGS cause FTBFS on Mageia / Mandriva -Patch1: kstreamripper-3.5.13-missing_ldflags.patch - -# [kstreamripper] Fix directory of HTML documentation -Patch2: kstreamripper-3.5.13-fix_doc_directory.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-arts-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: scons - - -%description -KStreamRipper is a small frontend for the streamripper command -line utility. Streamripper captures internet shoutcast radio streams -on your harddisk and splits them up in mp3 files. KStreamRipper helps -you with managing/ripping your preferred streams. - - -%prep -%setup -q -n applications/%{kdecomp} -%patch0 -p1 -%patch1 -p1 -b .ldflags -%patch2 -p1 -b .doc - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -export CXXFLAGS="-I%{tde_includedir}/tqt" - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - - -%clean -%__rm -rf %{buildroot} - - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/kstreamripper -%{tde_datadir}/applnk/Utilities/kstreamripper.desktop -%{tde_datadir}/apps/kstreamripper/kstreamripperui.rc -%{tde_tdedocdir}/HTML/en/kstreamripper/ - - - -%Changelog -* Wed Nov 02 2011 Francois Andriot - 0.3.4-1 -- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/applications/ksystemlog/ksystemlog-3.5.13.1.spec b/redhat/applications/ksystemlog/ksystemlog-3.5.13.1.spec new file mode 100644 index 000000000..6e5cacdda --- /dev/null +++ b/redhat/applications/ksystemlog/ksystemlog-3.5.13.1.spec @@ -0,0 +1,134 @@ +# Default version for this component +%define kdecomp ksystemlog + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: system log viewer tool for Trinity +Version: 0.3.2 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/System + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://ksystemlog.forum-software.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils + + +%description +ksystemlog is a system log viewer tool for Trinity. + +This program is developed for being used by beginner users, which don't know +how to find information about their Linux system, and how the log files are in +their computer. But it is also designed for advanced users, who want to +quickly see problems occuring on their server. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README +%{tde_bindir}/ksystemlog +%{tde_datadir}/applnk/Utilities/ksystemlog.desktop +%{tde_datadir}/apps/ksystemlog/ksystemlogui.rc +%{tde_datadir}/config.kcfg/ksystemlog.kcfg +%{tde_datadir}/icons/hicolor/*/apps/ksystemlog.png +%{tde_datadir}/icons/hicolor/*/apps/ksystemlog.svgz + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.3.2-2 +- Initial build for TDE 3.5.13.1 + +* Sat Dec 03 2011 Francois Andriot - 0.3.2-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/ksystemlog/ksystemlog-3.5.13.2.spec b/redhat/applications/ksystemlog/ksystemlog-3.5.13.2.spec new file mode 100644 index 000000000..57bf580d3 --- /dev/null +++ b/redhat/applications/ksystemlog/ksystemlog-3.5.13.2.spec @@ -0,0 +1,137 @@ +# Default version for this component +%define tdecomp ksystemlog + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: system log viewer tool for Trinity +Version: 0.3.2 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/System + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://ksystemlog.forum-software.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils + + +%description +ksystemlog is a system log viewer tool for Trinity. + +This program is developed for being used by beginner users, which don't know +how to find information about their Linux system, and how the log files are in +their computer. But it is also designed for advanced users, who want to +quickly see problems occuring on their server. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README +%{tde_bindir}/ksystemlog +%{tde_datadir}/applnk/Utilities/ksystemlog.desktop +%{tde_datadir}/apps/ksystemlog/ksystemlogui.rc +%{tde_datadir}/config.kcfg/ksystemlog.kcfg +%{tde_datadir}/icons/hicolor/*/apps/ksystemlog.png +%{tde_datadir}/icons/hicolor/*/apps/ksystemlog.svgz + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 0.3.2-3 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.3.2-2 +- Initial build for TDE 3.5.13.1 + +* Sat Dec 03 2011 Francois Andriot - 0.3.2-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/ksystemlog/ksystemlog-3.5.13.spec b/redhat/applications/ksystemlog/ksystemlog-3.5.13.spec new file mode 100644 index 000000000..9f74d8b0a --- /dev/null +++ b/redhat/applications/ksystemlog/ksystemlog-3.5.13.spec @@ -0,0 +1,126 @@ +# Default version for this component +%define kdecomp ksystemlog + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: system log viewer tool for Trinity +Version: 0.3.2 +Release: 1%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/System + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://ksystemlog.forum-software.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils + + +%description +ksystemlog is a system log viewer tool for Trinity. + +This program is developed for being used by beginner users, which don't know +how to find information about their Linux system, and how the log files are in +their computer. But it is also designed for advanced users, who want to +quickly see problems occuring on their server. + + +%prep +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README +%{tde_bindir}/ksystemlog +%{tde_datadir}/applnk/Utilities/ksystemlog.desktop +%{tde_datadir}/apps/ksystemlog/ksystemlogui.rc +%{tde_datadir}/config.kcfg/ksystemlog.kcfg +%{tde_datadir}/icons/hicolor/*/apps/ksystemlog.png +%{tde_datadir}/icons/hicolor/*/apps/ksystemlog.svgz + + +%Changelog +* Sat Dec 03 2011 Francois Andriot - 0.3.2-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/ksystemlog/trinity-ksystemlog-3.5.13.1.spec b/redhat/applications/ksystemlog/trinity-ksystemlog-3.5.13.1.spec deleted file mode 100644 index 6e5cacdda..000000000 --- a/redhat/applications/ksystemlog/trinity-ksystemlog-3.5.13.1.spec +++ /dev/null @@ -1,134 +0,0 @@ -# Default version for this component -%define kdecomp ksystemlog - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: system log viewer tool for Trinity -Version: 0.3.2 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/System - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://ksystemlog.forum-software.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - - -%description -ksystemlog is a system log viewer tool for Trinity. - -This program is developed for being used by beginner users, which don't know -how to find information about their Linux system, and how the log files are in -their computer. But it is also designed for advanced users, who want to -quickly see problems occuring on their server. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README -%{tde_bindir}/ksystemlog -%{tde_datadir}/applnk/Utilities/ksystemlog.desktop -%{tde_datadir}/apps/ksystemlog/ksystemlogui.rc -%{tde_datadir}/config.kcfg/ksystemlog.kcfg -%{tde_datadir}/icons/hicolor/*/apps/ksystemlog.png -%{tde_datadir}/icons/hicolor/*/apps/ksystemlog.svgz - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.3.2-2 -- Initial build for TDE 3.5.13.1 - -* Sat Dec 03 2011 Francois Andriot - 0.3.2-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/ksystemlog/trinity-ksystemlog-3.5.13.2.spec b/redhat/applications/ksystemlog/trinity-ksystemlog-3.5.13.2.spec deleted file mode 100644 index 57bf580d3..000000000 --- a/redhat/applications/ksystemlog/trinity-ksystemlog-3.5.13.2.spec +++ /dev/null @@ -1,137 +0,0 @@ -# Default version for this component -%define tdecomp ksystemlog - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: system log viewer tool for Trinity -Version: 0.3.2 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/System - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://ksystemlog.forum-software.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils - - -%description -ksystemlog is a system log viewer tool for Trinity. - -This program is developed for being used by beginner users, which don't know -how to find information about their Linux system, and how the log files are in -their computer. But it is also designed for advanced users, who want to -quickly see problems occuring on their server. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README -%{tde_bindir}/ksystemlog -%{tde_datadir}/applnk/Utilities/ksystemlog.desktop -%{tde_datadir}/apps/ksystemlog/ksystemlogui.rc -%{tde_datadir}/config.kcfg/ksystemlog.kcfg -%{tde_datadir}/icons/hicolor/*/apps/ksystemlog.png -%{tde_datadir}/icons/hicolor/*/apps/ksystemlog.svgz - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 0.3.2-3 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.3.2-2 -- Initial build for TDE 3.5.13.1 - -* Sat Dec 03 2011 Francois Andriot - 0.3.2-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/ksystemlog/trinity-ksystemlog-3.5.13.spec b/redhat/applications/ksystemlog/trinity-ksystemlog-3.5.13.spec deleted file mode 100644 index 9f74d8b0a..000000000 --- a/redhat/applications/ksystemlog/trinity-ksystemlog-3.5.13.spec +++ /dev/null @@ -1,126 +0,0 @@ -# Default version for this component -%define kdecomp ksystemlog - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: system log viewer tool for Trinity -Version: 0.3.2 -Release: 1%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/System - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://ksystemlog.forum-software.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils - - -%description -ksystemlog is a system log viewer tool for Trinity. - -This program is developed for being used by beginner users, which don't know -how to find information about their Linux system, and how the log files are in -their computer. But it is also designed for advanced users, who want to -quickly see problems occuring on their server. - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README -%{tde_bindir}/ksystemlog -%{tde_datadir}/applnk/Utilities/ksystemlog.desktop -%{tde_datadir}/apps/ksystemlog/ksystemlogui.rc -%{tde_datadir}/config.kcfg/ksystemlog.kcfg -%{tde_datadir}/icons/hicolor/*/apps/ksystemlog.png -%{tde_datadir}/icons/hicolor/*/apps/ksystemlog.svgz - - -%Changelog -* Sat Dec 03 2011 Francois Andriot - 0.3.2-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/ktechlab/ktechlab-3.5.13.1.spec b/redhat/applications/ktechlab/ktechlab-3.5.13.1.spec new file mode 100644 index 000000000..969d0700f --- /dev/null +++ b/redhat/applications/ktechlab/ktechlab-3.5.13.1.spec @@ -0,0 +1,145 @@ +# Default version for this component +%define kdecomp ktechlab + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: circuit simulator for microcontrollers and electronics [Trinity] +Version: 0.3 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +# [ktechlab] Removes harcoded gpsim linking +Patch1: ktechlab-3.5.13.1-remove_gpsim_link.patch + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +KTechlab is a circuit simulator with a nice, clickable and discoverable +interface. It supports many discrete components, logic circuits as well +as PIC programming in its own Basic dialect and some form of assembler. + +Homepage: http://ktechlab.org/ + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 +%patch1 -p1 -b .gpsim + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/ktechlab +%{tde_bindir}/microbe +%{tde_datadir}/applnk/Development/ktechlab.desktop +%{tde_datadir}/apps/katepart/syntax/microbe.xml +%{tde_datadir}/apps/ktechlab +%{tde_datadir}/config.kcfg/ktechlab.kcfg +%{tde_tdedocdir}/HTML/en/ktechlab/ +%{tde_datadir}/icons/hicolor/*/*/*.png +%{tde_datadir}/mimelnk/application/x-circuit.desktop +%{tde_datadir}/mimelnk/application/x-flowcode.desktop +%{tde_datadir}/mimelnk/application/x-ktechlab.desktop +%{tde_datadir}/mimelnk/application/x-microbe.desktop + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.3-3 +- Initial build for TDE 3.5.13.1 + +* Fri Nov 25 2011 Francois Andriot - 0.3-2 +- Fix HTML directory location + +* Thu Nov 24 2011 Francois Andriot - 0.3-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 +- Fix list of icons to install [Bug #990] diff --git a/redhat/applications/ktechlab/ktechlab-3.5.13.2.spec b/redhat/applications/ktechlab/ktechlab-3.5.13.2.spec new file mode 100644 index 000000000..459ef3a0d --- /dev/null +++ b/redhat/applications/ktechlab/ktechlab-3.5.13.2.spec @@ -0,0 +1,144 @@ +# Default version for this component +%define tdecomp ktechlab + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: circuit simulator for microcontrollers and electronics [Trinity] +Version: 0.3 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +KTechlab is a circuit simulator with a nice, clickable and discoverable +interface. It supports many discrete components, logic circuits as well +as PIC programming in its own Basic dialect and some form of assembler. + +Homepage: http://ktechlab.org/ + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{tdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files -f %{tdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/ktechlab +%{tde_bindir}/microbe +%{tde_datadir}/applnk/Development/ktechlab.desktop +%{tde_datadir}/apps/katepart/syntax/microbe.xml +%{tde_datadir}/apps/ktechlab +%{tde_datadir}/config.kcfg/ktechlab.kcfg +%{tde_tdedocdir}/HTML/en/ktechlab/ +%{tde_datadir}/icons/hicolor/*/*/*.png +%{tde_datadir}/mimelnk/application/x-circuit.desktop +%{tde_datadir}/mimelnk/application/x-flowcode.desktop +%{tde_datadir}/mimelnk/application/x-ktechlab.desktop +%{tde_datadir}/mimelnk/application/x-microbe.desktop + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 0.3-4 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.3-3 +- Initial build for TDE 3.5.13.1 + +* Fri Nov 25 2011 Francois Andriot - 0.3-2 +- Fix HTML directory location + +* Thu Nov 24 2011 Francois Andriot - 0.3-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 +- Fix list of icons to install [Bug #990] diff --git a/redhat/applications/ktechlab/ktechlab-3.5.13.spec b/redhat/applications/ktechlab/ktechlab-3.5.13.spec new file mode 100644 index 000000000..45134f847 --- /dev/null +++ b/redhat/applications/ktechlab/ktechlab-3.5.13.spec @@ -0,0 +1,140 @@ +# Default version for this component +%define kdecomp ktechlab + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: circuit simulator for microcontrollers and electronics [Trinity] +Version: 0.3 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +# [ktechlab] Fix list of icons to install [Bug #990] +Patch0: ktechlab-3.5.13-duplicate_icons.patch +# [ktechlab] Missing LDFLAGS cause FTBFS +Patch1: ktechlab-3.5.13-missing_ldflags.patch + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +KTechlab is a circuit simulator with a nice, clickable and discoverable +interface. It supports many discrete components, logic circuits as well +as PIC programming in its own Basic dialect and some form of assembler. + +Homepage: http://ktechlab.org/ + + +%prep +%setup -q -n applications/%{kdecomp} +%patch0 -p1 +%patch1 -p1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/ktechlab +%{tde_bindir}/microbe +%{tde_datadir}/applnk/Development/ktechlab.desktop +%{tde_datadir}/apps/katepart/syntax/microbe.xml +%{tde_datadir}/apps/ktechlab +%{tde_datadir}/config.kcfg/ktechlab.kcfg +%{tde_tdedocdir}/HTML/en/ktechlab/ +%{tde_datadir}/icons/hicolor/*/*/*.png +%{tde_datadir}/mimelnk/application/x-circuit.desktop +%{tde_datadir}/mimelnk/application/x-flowcode.desktop +%{tde_datadir}/mimelnk/application/x-ktechlab.desktop +%{tde_datadir}/mimelnk/application/x-microbe.desktop + + +%Changelog +* Fri Nov 25 2011 Francois Andriot - 0.3-2 +- Fix HTML directory location + +* Thu Nov 24 2011 Francois Andriot - 0.3-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 +- Fix list of icons to install [Bug #990] diff --git a/redhat/applications/ktechlab/trinity-ktechlab-3.5.13.1.spec b/redhat/applications/ktechlab/trinity-ktechlab-3.5.13.1.spec deleted file mode 100644 index 969d0700f..000000000 --- a/redhat/applications/ktechlab/trinity-ktechlab-3.5.13.1.spec +++ /dev/null @@ -1,145 +0,0 @@ -# Default version for this component -%define kdecomp ktechlab - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: circuit simulator for microcontrollers and electronics [Trinity] -Version: 0.3 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -# [ktechlab] Removes harcoded gpsim linking -Patch1: ktechlab-3.5.13.1-remove_gpsim_link.patch - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -KTechlab is a circuit simulator with a nice, clickable and discoverable -interface. It supports many discrete components, logic circuits as well -as PIC programming in its own Basic dialect and some form of assembler. - -Homepage: http://ktechlab.org/ - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 -%patch1 -p1 -b .gpsim - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/ktechlab -%{tde_bindir}/microbe -%{tde_datadir}/applnk/Development/ktechlab.desktop -%{tde_datadir}/apps/katepart/syntax/microbe.xml -%{tde_datadir}/apps/ktechlab -%{tde_datadir}/config.kcfg/ktechlab.kcfg -%{tde_tdedocdir}/HTML/en/ktechlab/ -%{tde_datadir}/icons/hicolor/*/*/*.png -%{tde_datadir}/mimelnk/application/x-circuit.desktop -%{tde_datadir}/mimelnk/application/x-flowcode.desktop -%{tde_datadir}/mimelnk/application/x-ktechlab.desktop -%{tde_datadir}/mimelnk/application/x-microbe.desktop - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.3-3 -- Initial build for TDE 3.5.13.1 - -* Fri Nov 25 2011 Francois Andriot - 0.3-2 -- Fix HTML directory location - -* Thu Nov 24 2011 Francois Andriot - 0.3-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 -- Fix list of icons to install [Bug #990] diff --git a/redhat/applications/ktechlab/trinity-ktechlab-3.5.13.2.spec b/redhat/applications/ktechlab/trinity-ktechlab-3.5.13.2.spec deleted file mode 100644 index 459ef3a0d..000000000 --- a/redhat/applications/ktechlab/trinity-ktechlab-3.5.13.2.spec +++ /dev/null @@ -1,144 +0,0 @@ -# Default version for this component -%define tdecomp ktechlab - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: circuit simulator for microcontrollers and electronics [Trinity] -Version: 0.3 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -KTechlab is a circuit simulator with a nice, clickable and discoverable -interface. It supports many discrete components, logic circuits as well -as PIC programming in its own Basic dialect and some form of assembler. - -Homepage: http://ktechlab.org/ - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{tdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{tdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/ktechlab -%{tde_bindir}/microbe -%{tde_datadir}/applnk/Development/ktechlab.desktop -%{tde_datadir}/apps/katepart/syntax/microbe.xml -%{tde_datadir}/apps/ktechlab -%{tde_datadir}/config.kcfg/ktechlab.kcfg -%{tde_tdedocdir}/HTML/en/ktechlab/ -%{tde_datadir}/icons/hicolor/*/*/*.png -%{tde_datadir}/mimelnk/application/x-circuit.desktop -%{tde_datadir}/mimelnk/application/x-flowcode.desktop -%{tde_datadir}/mimelnk/application/x-ktechlab.desktop -%{tde_datadir}/mimelnk/application/x-microbe.desktop - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 0.3-4 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.3-3 -- Initial build for TDE 3.5.13.1 - -* Fri Nov 25 2011 Francois Andriot - 0.3-2 -- Fix HTML directory location - -* Thu Nov 24 2011 Francois Andriot - 0.3-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 -- Fix list of icons to install [Bug #990] diff --git a/redhat/applications/ktechlab/trinity-ktechlab-3.5.13.spec b/redhat/applications/ktechlab/trinity-ktechlab-3.5.13.spec deleted file mode 100644 index 45134f847..000000000 --- a/redhat/applications/ktechlab/trinity-ktechlab-3.5.13.spec +++ /dev/null @@ -1,140 +0,0 @@ -# Default version for this component -%define kdecomp ktechlab - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: circuit simulator for microcontrollers and electronics [Trinity] -Version: 0.3 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# [ktechlab] Fix list of icons to install [Bug #990] -Patch0: ktechlab-3.5.13-duplicate_icons.patch -# [ktechlab] Missing LDFLAGS cause FTBFS -Patch1: ktechlab-3.5.13-missing_ldflags.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -KTechlab is a circuit simulator with a nice, clickable and discoverable -interface. It supports many discrete components, logic circuits as well -as PIC programming in its own Basic dialect and some form of assembler. - -Homepage: http://ktechlab.org/ - - -%prep -%setup -q -n applications/%{kdecomp} -%patch0 -p1 -%patch1 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/ktechlab -%{tde_bindir}/microbe -%{tde_datadir}/applnk/Development/ktechlab.desktop -%{tde_datadir}/apps/katepart/syntax/microbe.xml -%{tde_datadir}/apps/ktechlab -%{tde_datadir}/config.kcfg/ktechlab.kcfg -%{tde_tdedocdir}/HTML/en/ktechlab/ -%{tde_datadir}/icons/hicolor/*/*/*.png -%{tde_datadir}/mimelnk/application/x-circuit.desktop -%{tde_datadir}/mimelnk/application/x-flowcode.desktop -%{tde_datadir}/mimelnk/application/x-ktechlab.desktop -%{tde_datadir}/mimelnk/application/x-microbe.desktop - - -%Changelog -* Fri Nov 25 2011 Francois Andriot - 0.3-2 -- Fix HTML directory location - -* Thu Nov 24 2011 Francois Andriot - 0.3-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 -- Fix list of icons to install [Bug #990] diff --git a/redhat/applications/ktorrent/ktorrent-3.5.13.1.spec b/redhat/applications/ktorrent/ktorrent-3.5.13.1.spec new file mode 100644 index 000000000..2fa1a79e2 --- /dev/null +++ b/redhat/applications/ktorrent/ktorrent-3.5.13.1.spec @@ -0,0 +1,182 @@ +# Default version for this component +%define kdecomp ktorrent + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: BitTorrent client for Trinity +Version: 2.2.8 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://ktorrent.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +KTorrent is a BitTorrent program for Trinity. Its features include speed capping +(both down and up), integrated searching, UDP tracker support, preview of +certain file types (video and audio) and integration into the KDE Panel +enabling background downloading. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + + +# Not SMP safe ! +%__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%find_lang %{kdecomp} + +# Unwanted files +%__rm -f %{?buildroot}%{tde_libdir}/libktorrent.so + + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +/sbin/ldconfig || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +/sbin/ldconfig || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/ktcachecheck +%{tde_bindir}/ktorrent +%{tde_bindir}/ktshell +%{tde_bindir}/kttorinfo +%{tde_bindir}/ktupnptest +%{tde_libdir}/libktorrent-%{version}.so +%{tde_libdir}/libktorrent.la +%{tde_tdelibdir}/ktinfowidgetplugin.la +%{tde_tdelibdir}/ktinfowidgetplugin.so +%{tde_tdelibdir}/ktipfilterplugin.la +%{tde_tdelibdir}/ktipfilterplugin.so +%{tde_tdelibdir}/ktlogviewerplugin.la +%{tde_tdelibdir}/ktlogviewerplugin.so +%{tde_tdelibdir}/ktpartfileimportplugin.la +%{tde_tdelibdir}/ktpartfileimportplugin.so +%{tde_tdelibdir}/ktrssfeedplugin.la +%{tde_tdelibdir}/ktrssfeedplugin.so +%{tde_tdelibdir}/ktscanfolderplugin.la +%{tde_tdelibdir}/ktscanfolderplugin.so +%{tde_tdelibdir}/ktschedulerplugin.la +%{tde_tdelibdir}/ktschedulerplugin.so +%{tde_tdelibdir}/ktsearchplugin.la +%{tde_tdelibdir}/ktsearchplugin.so +%{tde_tdelibdir}/ktstatsplugin.la +%{tde_tdelibdir}/ktstatsplugin.so +%{tde_tdelibdir}/ktupnpplugin.la +%{tde_tdelibdir}/ktupnpplugin.so +%{tde_tdelibdir}/ktwebinterfaceplugin.la +%{tde_tdelibdir}/ktwebinterfaceplugin.so +%{tde_tdeappdir}/ktorrent.desktop +%{tde_datadir}/apps/ktorrent +%{tde_datadir}/config.kcfg/*.kcfg +%{tde_datadir}/icons/hicolor/*/*/*.png +%{tde_datadir}/icons/hicolor/*/*/*.svgz +%{tde_datadir}/services/*.desktop +%{tde_datadir}/servicetypes/ktorrentplugin.desktop + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 2.2.8-2 +- Initial build for TDE 3.5.13.1 + +* Sat May 05 2012 Francois Andriot - 2.2.8-1 +- Rename old tq methods that no longer need a unique name [Commit #a90eb215] +- Remove additional unneeded tq method conversions [Commit #bb37c405] +- Rename obsolete tq methods to standard names [Commit #0d48fca8] +- Rename a few stragglers [Commit #c3480dfe] +- Fix inadvertent "TQ" changes. [Commit #445a5152] +- Fix configure output message to clarify that missing avahi support is caused by missing avahi-tqt package as well as avahi-client. [Commit #03d0c794] +- Update ktorrent package to 2.2.8 and fix internal geoip database. [Bug #363] [Commit #5af9907f] +- Change default configuration to use external geoip database when found and use internal database only when external database is not found. [Bug #443] [Commit #355c6b69] + +* Tue Nov 29 2011 Francois Andriot - 2.2.6-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/ktorrent/ktorrent-3.5.13.2.spec b/redhat/applications/ktorrent/ktorrent-3.5.13.2.spec new file mode 100644 index 000000000..25258fc51 --- /dev/null +++ b/redhat/applications/ktorrent/ktorrent-3.5.13.2.spec @@ -0,0 +1,184 @@ +# Default version for this component +%define tdecomp ktorrent + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: BitTorrent client for Trinity +Version: 2.2.8 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://ktorrent.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +KTorrent is a BitTorrent program for Trinity. Its features include speed capping +(both down and up), integrated searching, UDP tracker support, preview of +certain file types (video and audio) and integration into the TDE Panel +enabling background downloading. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . "/etc/profile.d/qt3.sh" +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix="%{tde_prefix}" \ + --exec-prefix="%{tde_prefix}" \ + --bindir="%{tde_bindir}" \ + --datadir="%{tde_datadir}" \ + --libdir="%{tde_libdir}" \ + --mandir="%{tde_mandir}" \ + --includedir="%{tde_tdeincludedir}" \ + --disable-rpath \ + --with-extra-includes="%{tde_includedir}/tqt" + + +# Not SMP safe ! +%__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf "%{buildroot}" +%__make install DESTDIR="%{buildroot}" + +%find_lang %{tdecomp} + +# Unwanted files +%__rm -f "%{?buildroot}%{tde_libdir}/libktorrent.so" + + +%clean +%__rm -rf "%{buildroot}" + + +%post +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +/sbin/ldconfig || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +/sbin/ldconfig || : + + +%files -f %{tdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/ktcachecheck +%{tde_bindir}/ktorrent +%{tde_bindir}/ktshell +%{tde_bindir}/kttorinfo +%{tde_bindir}/ktupnptest +%{tde_libdir}/libktorrent-%{version}.so +%{tde_libdir}/libktorrent.la +%{tde_tdelibdir}/ktinfowidgetplugin.la +%{tde_tdelibdir}/ktinfowidgetplugin.so +%{tde_tdelibdir}/ktipfilterplugin.la +%{tde_tdelibdir}/ktipfilterplugin.so +%{tde_tdelibdir}/ktlogviewerplugin.la +%{tde_tdelibdir}/ktlogviewerplugin.so +%{tde_tdelibdir}/ktpartfileimportplugin.la +%{tde_tdelibdir}/ktpartfileimportplugin.so +%{tde_tdelibdir}/ktrssfeedplugin.la +%{tde_tdelibdir}/ktrssfeedplugin.so +%{tde_tdelibdir}/ktscanfolderplugin.la +%{tde_tdelibdir}/ktscanfolderplugin.so +%{tde_tdelibdir}/ktschedulerplugin.la +%{tde_tdelibdir}/ktschedulerplugin.so +%{tde_tdelibdir}/ktsearchplugin.la +%{tde_tdelibdir}/ktsearchplugin.so +%{tde_tdelibdir}/ktstatsplugin.la +%{tde_tdelibdir}/ktstatsplugin.so +%{tde_tdelibdir}/ktupnpplugin.la +%{tde_tdelibdir}/ktupnpplugin.so +%{tde_tdelibdir}/ktwebinterfaceplugin.la +%{tde_tdelibdir}/ktwebinterfaceplugin.so +%{tde_tdeappdir}/ktorrent.desktop +%{tde_datadir}/apps/ktorrent +%{tde_datadir}/config.kcfg/*.kcfg +%{tde_datadir}/icons/hicolor/*/*/*.png +%{tde_datadir}/icons/hicolor/*/*/*.svgz +%{tde_datadir}/services/*.desktop +%{tde_datadir}/servicetypes/ktorrentplugin.desktop + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 2.2.8-3 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 2.2.8-2 +- Initial build for TDE 3.5.13.1 + +* Sat May 05 2012 Francois Andriot - 2.2.8-1 +- Rename old tq methods that no longer need a unique name [Commit #a90eb215] +- Remove additional unneeded tq method conversions [Commit #bb37c405] +- Rename obsolete tq methods to standard names [Commit #0d48fca8] +- Rename a few stragglers [Commit #c3480dfe] +- Fix inadvertent "TQ" changes. [Commit #445a5152] +- Fix configure output message to clarify that missing avahi support is caused by missing avahi-tqt package as well as avahi-client. [Commit #03d0c794] +- Update ktorrent package to 2.2.8 and fix internal geoip database. [Bug #363] [Commit #5af9907f] +- Change default configuration to use external geoip database when found and use internal database only when external database is not found. [Bug #443] [Commit #355c6b69] + +* Tue Nov 29 2011 Francois Andriot - 2.2.6-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/ktorrent/ktorrent-3.5.13.spec b/redhat/applications/ktorrent/ktorrent-3.5.13.spec new file mode 100644 index 000000000..cee7ff745 --- /dev/null +++ b/redhat/applications/ktorrent/ktorrent-3.5.13.spec @@ -0,0 +1,204 @@ +# Default version for this component +%define kdecomp ktorrent + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: BitTorrent client for Trinity +Version: 2.2.8 +Release: 1%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://ktorrent.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +# [ktorrent] Rename old tq methods that no longer need a unique name [Commit #a90eb215] +Patch0: bp000-a90eb215.diff +# [ktorrent] Remove additional unneeded tq method conversions [Commit #bb37c405] +Patch1: bp001-bb37c405.diff +# [ktorrent] Rename obsolete tq methods to standard names [Commit #0d48fca8] +Patch2: bp002-0d48fca8.diff +# [ktorrent] Rename a few stragglers [Commit #c3480dfe] +Patch3: bp003-c3480dfe.diff +# [ktorrent] Fix inadvertent "TQ" changes. [Commit #445a5152] +Patch4: bp004-445a5152.diff +# [ktorrent] Fix configure output message to clarify that missing avahi support is caused by missing avahi-tqt package as well as avahi-client. [Commit #03d0c794] +Patch5: bp005-03d0c794.diff +# [ktorrent] Additional renaming of kde to tde +Patch6: ktorrent-3.5.13-5dcbbbba-partial.diff +# [ktorrent] Update ktorrent package to 2.2.8 and fix internal geoip database. [Bug #363] [Commit #5af9907f] +Patch7: bp006-5af9907f.diff +# [ktorrent] Change default configuration to use external geoip database when found and use internal database only when external database is not found. [Bug #443] [Commit #355c6b69] +Patch8: bp007-355c6b69.diff +# [ktorrent] Missing LDFLAGS cause FTBFS on Mageia / Mandriva +Patch9: ktorrent-3.5.13-missing_ldflags.patch + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +KTorrent is a BitTorrent program for Trinity. Its features include speed capping +(both down and up), integrated searching, UDP tracker support, preview of +certain file types (video and audio) and integration into the KDE Panel +enabling background downloading. + + +%prep +%setup -q -n applications/%{kdecomp} +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 +%patch8 -p1 +%patch9 -p1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + + +# Not SMP safe ! +%__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%find_lang %{kdecomp} + +# Unwanted files +%__rm -f %{?buildroot}%{tde_libdir}/libktorrent.so + + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +/sbin/ldconfig || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +/sbin/ldconfig || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/ktcachecheck +%{tde_bindir}/ktorrent +%{tde_bindir}/ktshell +%{tde_bindir}/kttorinfo +%{tde_bindir}/ktupnptest +%{tde_libdir}/libktorrent-%{version}.so +%{tde_libdir}/libktorrent.la +%{tde_tdelibdir}/ktinfowidgetplugin.la +%{tde_tdelibdir}/ktinfowidgetplugin.so +%{tde_tdelibdir}/ktipfilterplugin.la +%{tde_tdelibdir}/ktipfilterplugin.so +%{tde_tdelibdir}/ktlogviewerplugin.la +%{tde_tdelibdir}/ktlogviewerplugin.so +%{tde_tdelibdir}/ktpartfileimportplugin.la +%{tde_tdelibdir}/ktpartfileimportplugin.so +%{tde_tdelibdir}/ktrssfeedplugin.la +%{tde_tdelibdir}/ktrssfeedplugin.so +%{tde_tdelibdir}/ktscanfolderplugin.la +%{tde_tdelibdir}/ktscanfolderplugin.so +%{tde_tdelibdir}/ktschedulerplugin.la +%{tde_tdelibdir}/ktschedulerplugin.so +%{tde_tdelibdir}/ktsearchplugin.la +%{tde_tdelibdir}/ktsearchplugin.so +%{tde_tdelibdir}/ktstatsplugin.la +%{tde_tdelibdir}/ktstatsplugin.so +%{tde_tdelibdir}/ktupnpplugin.la +%{tde_tdelibdir}/ktupnpplugin.so +%{tde_tdelibdir}/ktwebinterfaceplugin.la +%{tde_tdelibdir}/ktwebinterfaceplugin.so +%{tde_tdeappdir}/ktorrent.desktop +%{tde_datadir}/apps/ktorrent +%{tde_datadir}/config.kcfg/*.kcfg +%{tde_datadir}/icons/hicolor/*/*/*.png +%{tde_datadir}/icons/hicolor/*/*/*.svgz +%{tde_datadir}/services/*.desktop +%{tde_datadir}/servicetypes/ktorrentplugin.desktop + + +%Changelog +* Sat May 05 2012 Francois Andriot - 2.2.8-1 +- Rename old tq methods that no longer need a unique name [Commit #a90eb215] +- Remove additional unneeded tq method conversions [Commit #bb37c405] +- Rename obsolete tq methods to standard names [Commit #0d48fca8] +- Rename a few stragglers [Commit #c3480dfe] +- Fix inadvertent "TQ" changes. [Commit #445a5152] +- Fix configure output message to clarify that missing avahi support is caused by missing avahi-tqt package as well as avahi-client. [Commit #03d0c794] +- Update ktorrent package to 2.2.8 and fix internal geoip database. [Bug #363] [Commit #5af9907f] +- Change default configuration to use external geoip database when found and use internal database only when external database is not found. [Bug #443] [Commit #355c6b69] + +* Tue Nov 29 2011 Francois Andriot - 2.2.6-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/ktorrent/trinity-ktorrent-3.5.13.1.spec b/redhat/applications/ktorrent/trinity-ktorrent-3.5.13.1.spec deleted file mode 100644 index 2fa1a79e2..000000000 --- a/redhat/applications/ktorrent/trinity-ktorrent-3.5.13.1.spec +++ /dev/null @@ -1,182 +0,0 @@ -# Default version for this component -%define kdecomp ktorrent - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: BitTorrent client for Trinity -Version: 2.2.8 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://ktorrent.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -KTorrent is a BitTorrent program for Trinity. Its features include speed capping -(both down and up), integrated searching, UDP tracker support, preview of -certain file types (video and audio) and integration into the KDE Panel -enabling background downloading. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - - -# Not SMP safe ! -%__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%find_lang %{kdecomp} - -# Unwanted files -%__rm -f %{?buildroot}%{tde_libdir}/libktorrent.so - - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/ktcachecheck -%{tde_bindir}/ktorrent -%{tde_bindir}/ktshell -%{tde_bindir}/kttorinfo -%{tde_bindir}/ktupnptest -%{tde_libdir}/libktorrent-%{version}.so -%{tde_libdir}/libktorrent.la -%{tde_tdelibdir}/ktinfowidgetplugin.la -%{tde_tdelibdir}/ktinfowidgetplugin.so -%{tde_tdelibdir}/ktipfilterplugin.la -%{tde_tdelibdir}/ktipfilterplugin.so -%{tde_tdelibdir}/ktlogviewerplugin.la -%{tde_tdelibdir}/ktlogviewerplugin.so -%{tde_tdelibdir}/ktpartfileimportplugin.la -%{tde_tdelibdir}/ktpartfileimportplugin.so -%{tde_tdelibdir}/ktrssfeedplugin.la -%{tde_tdelibdir}/ktrssfeedplugin.so -%{tde_tdelibdir}/ktscanfolderplugin.la -%{tde_tdelibdir}/ktscanfolderplugin.so -%{tde_tdelibdir}/ktschedulerplugin.la -%{tde_tdelibdir}/ktschedulerplugin.so -%{tde_tdelibdir}/ktsearchplugin.la -%{tde_tdelibdir}/ktsearchplugin.so -%{tde_tdelibdir}/ktstatsplugin.la -%{tde_tdelibdir}/ktstatsplugin.so -%{tde_tdelibdir}/ktupnpplugin.la -%{tde_tdelibdir}/ktupnpplugin.so -%{tde_tdelibdir}/ktwebinterfaceplugin.la -%{tde_tdelibdir}/ktwebinterfaceplugin.so -%{tde_tdeappdir}/ktorrent.desktop -%{tde_datadir}/apps/ktorrent -%{tde_datadir}/config.kcfg/*.kcfg -%{tde_datadir}/icons/hicolor/*/*/*.png -%{tde_datadir}/icons/hicolor/*/*/*.svgz -%{tde_datadir}/services/*.desktop -%{tde_datadir}/servicetypes/ktorrentplugin.desktop - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 2.2.8-2 -- Initial build for TDE 3.5.13.1 - -* Sat May 05 2012 Francois Andriot - 2.2.8-1 -- Rename old tq methods that no longer need a unique name [Commit #a90eb215] -- Remove additional unneeded tq method conversions [Commit #bb37c405] -- Rename obsolete tq methods to standard names [Commit #0d48fca8] -- Rename a few stragglers [Commit #c3480dfe] -- Fix inadvertent "TQ" changes. [Commit #445a5152] -- Fix configure output message to clarify that missing avahi support is caused by missing avahi-tqt package as well as avahi-client. [Commit #03d0c794] -- Update ktorrent package to 2.2.8 and fix internal geoip database. [Bug #363] [Commit #5af9907f] -- Change default configuration to use external geoip database when found and use internal database only when external database is not found. [Bug #443] [Commit #355c6b69] - -* Tue Nov 29 2011 Francois Andriot - 2.2.6-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/ktorrent/trinity-ktorrent-3.5.13.2.spec b/redhat/applications/ktorrent/trinity-ktorrent-3.5.13.2.spec deleted file mode 100644 index 25258fc51..000000000 --- a/redhat/applications/ktorrent/trinity-ktorrent-3.5.13.2.spec +++ /dev/null @@ -1,184 +0,0 @@ -# Default version for this component -%define tdecomp ktorrent - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: BitTorrent client for Trinity -Version: 2.2.8 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://ktorrent.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -KTorrent is a BitTorrent program for Trinity. Its features include speed capping -(both down and up), integrated searching, UDP tracker support, preview of -certain file types (video and audio) and integration into the TDE Panel -enabling background downloading. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . "/etc/profile.d/qt3.sh" -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix="%{tde_prefix}" \ - --exec-prefix="%{tde_prefix}" \ - --bindir="%{tde_bindir}" \ - --datadir="%{tde_datadir}" \ - --libdir="%{tde_libdir}" \ - --mandir="%{tde_mandir}" \ - --includedir="%{tde_tdeincludedir}" \ - --disable-rpath \ - --with-extra-includes="%{tde_includedir}/tqt" - - -# Not SMP safe ! -%__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf "%{buildroot}" -%__make install DESTDIR="%{buildroot}" - -%find_lang %{tdecomp} - -# Unwanted files -%__rm -f "%{?buildroot}%{tde_libdir}/libktorrent.so" - - -%clean -%__rm -rf "%{buildroot}" - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig || : - - -%files -f %{tdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/ktcachecheck -%{tde_bindir}/ktorrent -%{tde_bindir}/ktshell -%{tde_bindir}/kttorinfo -%{tde_bindir}/ktupnptest -%{tde_libdir}/libktorrent-%{version}.so -%{tde_libdir}/libktorrent.la -%{tde_tdelibdir}/ktinfowidgetplugin.la -%{tde_tdelibdir}/ktinfowidgetplugin.so -%{tde_tdelibdir}/ktipfilterplugin.la -%{tde_tdelibdir}/ktipfilterplugin.so -%{tde_tdelibdir}/ktlogviewerplugin.la -%{tde_tdelibdir}/ktlogviewerplugin.so -%{tde_tdelibdir}/ktpartfileimportplugin.la -%{tde_tdelibdir}/ktpartfileimportplugin.so -%{tde_tdelibdir}/ktrssfeedplugin.la -%{tde_tdelibdir}/ktrssfeedplugin.so -%{tde_tdelibdir}/ktscanfolderplugin.la -%{tde_tdelibdir}/ktscanfolderplugin.so -%{tde_tdelibdir}/ktschedulerplugin.la -%{tde_tdelibdir}/ktschedulerplugin.so -%{tde_tdelibdir}/ktsearchplugin.la -%{tde_tdelibdir}/ktsearchplugin.so -%{tde_tdelibdir}/ktstatsplugin.la -%{tde_tdelibdir}/ktstatsplugin.so -%{tde_tdelibdir}/ktupnpplugin.la -%{tde_tdelibdir}/ktupnpplugin.so -%{tde_tdelibdir}/ktwebinterfaceplugin.la -%{tde_tdelibdir}/ktwebinterfaceplugin.so -%{tde_tdeappdir}/ktorrent.desktop -%{tde_datadir}/apps/ktorrent -%{tde_datadir}/config.kcfg/*.kcfg -%{tde_datadir}/icons/hicolor/*/*/*.png -%{tde_datadir}/icons/hicolor/*/*/*.svgz -%{tde_datadir}/services/*.desktop -%{tde_datadir}/servicetypes/ktorrentplugin.desktop - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 2.2.8-3 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 2.2.8-2 -- Initial build for TDE 3.5.13.1 - -* Sat May 05 2012 Francois Andriot - 2.2.8-1 -- Rename old tq methods that no longer need a unique name [Commit #a90eb215] -- Remove additional unneeded tq method conversions [Commit #bb37c405] -- Rename obsolete tq methods to standard names [Commit #0d48fca8] -- Rename a few stragglers [Commit #c3480dfe] -- Fix inadvertent "TQ" changes. [Commit #445a5152] -- Fix configure output message to clarify that missing avahi support is caused by missing avahi-tqt package as well as avahi-client. [Commit #03d0c794] -- Update ktorrent package to 2.2.8 and fix internal geoip database. [Bug #363] [Commit #5af9907f] -- Change default configuration to use external geoip database when found and use internal database only when external database is not found. [Bug #443] [Commit #355c6b69] - -* Tue Nov 29 2011 Francois Andriot - 2.2.6-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/ktorrent/trinity-ktorrent-3.5.13.spec b/redhat/applications/ktorrent/trinity-ktorrent-3.5.13.spec deleted file mode 100644 index cee7ff745..000000000 --- a/redhat/applications/ktorrent/trinity-ktorrent-3.5.13.spec +++ /dev/null @@ -1,204 +0,0 @@ -# Default version for this component -%define kdecomp ktorrent - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: BitTorrent client for Trinity -Version: 2.2.8 -Release: 1%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://ktorrent.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# [ktorrent] Rename old tq methods that no longer need a unique name [Commit #a90eb215] -Patch0: bp000-a90eb215.diff -# [ktorrent] Remove additional unneeded tq method conversions [Commit #bb37c405] -Patch1: bp001-bb37c405.diff -# [ktorrent] Rename obsolete tq methods to standard names [Commit #0d48fca8] -Patch2: bp002-0d48fca8.diff -# [ktorrent] Rename a few stragglers [Commit #c3480dfe] -Patch3: bp003-c3480dfe.diff -# [ktorrent] Fix inadvertent "TQ" changes. [Commit #445a5152] -Patch4: bp004-445a5152.diff -# [ktorrent] Fix configure output message to clarify that missing avahi support is caused by missing avahi-tqt package as well as avahi-client. [Commit #03d0c794] -Patch5: bp005-03d0c794.diff -# [ktorrent] Additional renaming of kde to tde -Patch6: ktorrent-3.5.13-5dcbbbba-partial.diff -# [ktorrent] Update ktorrent package to 2.2.8 and fix internal geoip database. [Bug #363] [Commit #5af9907f] -Patch7: bp006-5af9907f.diff -# [ktorrent] Change default configuration to use external geoip database when found and use internal database only when external database is not found. [Bug #443] [Commit #355c6b69] -Patch8: bp007-355c6b69.diff -# [ktorrent] Missing LDFLAGS cause FTBFS on Mageia / Mandriva -Patch9: ktorrent-3.5.13-missing_ldflags.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -KTorrent is a BitTorrent program for Trinity. Its features include speed capping -(both down and up), integrated searching, UDP tracker support, preview of -certain file types (video and audio) and integration into the KDE Panel -enabling background downloading. - - -%prep -%setup -q -n applications/%{kdecomp} -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 -%patch8 -p1 -%patch9 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - - -# Not SMP safe ! -%__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%find_lang %{kdecomp} - -# Unwanted files -%__rm -f %{?buildroot}%{tde_libdir}/libktorrent.so - - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/ktcachecheck -%{tde_bindir}/ktorrent -%{tde_bindir}/ktshell -%{tde_bindir}/kttorinfo -%{tde_bindir}/ktupnptest -%{tde_libdir}/libktorrent-%{version}.so -%{tde_libdir}/libktorrent.la -%{tde_tdelibdir}/ktinfowidgetplugin.la -%{tde_tdelibdir}/ktinfowidgetplugin.so -%{tde_tdelibdir}/ktipfilterplugin.la -%{tde_tdelibdir}/ktipfilterplugin.so -%{tde_tdelibdir}/ktlogviewerplugin.la -%{tde_tdelibdir}/ktlogviewerplugin.so -%{tde_tdelibdir}/ktpartfileimportplugin.la -%{tde_tdelibdir}/ktpartfileimportplugin.so -%{tde_tdelibdir}/ktrssfeedplugin.la -%{tde_tdelibdir}/ktrssfeedplugin.so -%{tde_tdelibdir}/ktscanfolderplugin.la -%{tde_tdelibdir}/ktscanfolderplugin.so -%{tde_tdelibdir}/ktschedulerplugin.la -%{tde_tdelibdir}/ktschedulerplugin.so -%{tde_tdelibdir}/ktsearchplugin.la -%{tde_tdelibdir}/ktsearchplugin.so -%{tde_tdelibdir}/ktstatsplugin.la -%{tde_tdelibdir}/ktstatsplugin.so -%{tde_tdelibdir}/ktupnpplugin.la -%{tde_tdelibdir}/ktupnpplugin.so -%{tde_tdelibdir}/ktwebinterfaceplugin.la -%{tde_tdelibdir}/ktwebinterfaceplugin.so -%{tde_tdeappdir}/ktorrent.desktop -%{tde_datadir}/apps/ktorrent -%{tde_datadir}/config.kcfg/*.kcfg -%{tde_datadir}/icons/hicolor/*/*/*.png -%{tde_datadir}/icons/hicolor/*/*/*.svgz -%{tde_datadir}/services/*.desktop -%{tde_datadir}/servicetypes/ktorrentplugin.desktop - - -%Changelog -* Sat May 05 2012 Francois Andriot - 2.2.8-1 -- Rename old tq methods that no longer need a unique name [Commit #a90eb215] -- Remove additional unneeded tq method conversions [Commit #bb37c405] -- Rename obsolete tq methods to standard names [Commit #0d48fca8] -- Rename a few stragglers [Commit #c3480dfe] -- Fix inadvertent "TQ" changes. [Commit #445a5152] -- Fix configure output message to clarify that missing avahi support is caused by missing avahi-tqt package as well as avahi-client. [Commit #03d0c794] -- Update ktorrent package to 2.2.8 and fix internal geoip database. [Bug #363] [Commit #5af9907f] -- Change default configuration to use external geoip database when found and use internal database only when external database is not found. [Bug #443] [Commit #355c6b69] - -* Tue Nov 29 2011 Francois Andriot - 2.2.6-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kuickshow/kuickshow-3.5.12.spec b/redhat/applications/kuickshow/kuickshow-3.5.12.spec new file mode 100644 index 000000000..bf7c79c3b --- /dev/null +++ b/redhat/applications/kuickshow/kuickshow-3.5.12.spec @@ -0,0 +1,110 @@ +# Default version for this component +%define kdecomp kuickshow +%define version 0.8.13 +%define release 2 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{tde_prefix}/share/doc +%endif + +# TDE 3.5.12 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir} +%define tde_includedir %{tde_includedir}/kde +%define tde_libdir %{tde_libdir}/kde3 + + +Name: trinity-%{kdecomp} +Summary: Quick picture viewer for KDE +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Source0: %{kdecomp}-3.5.12.tar.gz + +Conflicts: trinity-kdegraphics + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: imlib-devel + +%description +Kuickshow is a picture viewer for KDE. It displays the directory structure, +displaying images as thumbnails. +Clicking on an image shows the image in its normal size. + + +%prep +%setup -q -n applications/%{kdecomp} + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%make_install + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/* +%{tde_datadir}/applications/*/*.desktop +%{tde_datadir}/apps/*/ +%{tde_tdedocdir}/HTML/en/*/ +%{tde_datadir}/icons/*/*/*/* +%{tde_libdir}/libkdeinit_%{kdecomp}.so + +%exclude %{tde_libdir}/*.la +%exclude %{tde_libdir}/*/*.so +%exclude %{tde_libdir}/*/*.la + + +%Changelog +* Tue Sep 14 2011 Francois Andriot - 0.8.13-2 +- Import to GIT + +* Mon Aug 22 2011 Francois Andriot - 0.8.13-1 +- Correct macro to install under "/opt", if desired + +* Sat Aug 13 2011 Francois Andriot - 0.8.13-0 +- Initial build for RHEL 6.0 + diff --git a/redhat/applications/kuickshow/kuickshow-3.5.13.1.spec b/redhat/applications/kuickshow/kuickshow-3.5.13.1.spec new file mode 100644 index 000000000..cc0e4a7eb --- /dev/null +++ b/redhat/applications/kuickshow/kuickshow-3.5.13.1.spec @@ -0,0 +1,151 @@ +# Default version for this component +%define kdecomp kuickshow + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Quick picture viewer for KDE +Version: 0.8.13 +Release: 5%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils + +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: imlib-devel +%endif + +%description +Kuickshow is a picture viewer for KDE. It displays the directory structure, +displaying images as thumbnails. +Clicking on an image shows the image in its normal size. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{?buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +/sbin/ldconfig + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +/sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/* +%{tde_datadir}/applications/*/*.desktop +%{tde_datadir}/apps/*/ +%{tde_datadir}/icons/hicolor/*/*/* +%{tde_libdir}/lib[kt]deinit_%{kdecomp}.so +%{tde_libdir}/*.la +%{tde_tdelibdir}/*.so +%{tde_tdelibdir}/*.la +%{tde_tdedocdir}/HTML/en/*/ + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.8.13-5 +- Initial build for TDE 3.5.13.1 + +* Mon Jul 09 2012 Francois Andriot - 0.8.13-3 +- Removes conflict with 'kdegraphics' + +* Sat May 05 2012 Francois Andriot - 0.8.13-3 +- Rename old tq methods that no longer need a unique name [Commit #8712ab46] +- Remove additional unneeded tq method conversions [Commit #28d9c774] +- Rename obsolete tq methods to standard names [Commit #bdeb8b3a] +- Remove inadvertent renaming [Commit #d97e403f] [Bug #863] + +* Tue Sep 14 2011 Francois Andriot - 0.8.13-2 +- Import to GIT + +* Mon Aug 22 2011 Francois Andriot - 0.8.13-1 +- Correct macro to install under "/opt", if desired + +* Sat Aug 13 2011 Francois Andriot - 0.8.13-0 +- Initial build for RHEL 6.0 + diff --git a/redhat/applications/kuickshow/kuickshow-3.5.13.2.spec b/redhat/applications/kuickshow/kuickshow-3.5.13.2.spec new file mode 100644 index 000000000..44949183e --- /dev/null +++ b/redhat/applications/kuickshow/kuickshow-3.5.13.2.spec @@ -0,0 +1,157 @@ +# Default version for this component +%define tdecomp kuickshow + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: Quick picture viewer for KDE +Version: 0.8.13 +Release: 6%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils + +%if 0%{?rhel} || 0%{?fedora} || 0%{?mdkversion} +BuildRequires: imlib-devel +%endif +%if 0%{?suse_version} || 0%{?mgaversion} +BuildRequires: imlib1-devel +%endif + +%description +Kuickshow is a picture viewer for KDE. It displays the directory structure, +displaying images as thumbnails. +Clicking on an image shows the image in its normal size. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{?buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +/sbin/ldconfig + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +/sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/* +%{tde_datadir}/applications/*/*.desktop +%{tde_datadir}/apps/*/ +%{tde_datadir}/icons/hicolor/*/*/* +%{tde_libdir}/lib[kt]deinit_%{tdecomp}.so +%{tde_libdir}/*.la +%{tde_tdelibdir}/*.so +%{tde_tdelibdir}/*.la +%{tde_tdedocdir}/HTML/en/*/ + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 0.8.13-6 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.8.13-5 +- Initial build for TDE 3.5.13.1 + +* Mon Jul 09 2012 Francois Andriot - 0.8.13-3 +- Removes conflict with 'kdegraphics' + +* Sat May 05 2012 Francois Andriot - 0.8.13-3 +- Rename old tq methods that no longer need a unique name [Commit #8712ab46] +- Remove additional unneeded tq method conversions [Commit #28d9c774] +- Rename obsolete tq methods to standard names [Commit #bdeb8b3a] +- Remove inadvertent renaming [Commit #d97e403f] [Bug #863] + +* Tue Sep 14 2011 Francois Andriot - 0.8.13-2 +- Import to GIT + +* Mon Aug 22 2011 Francois Andriot - 0.8.13-1 +- Correct macro to install under "/opt", if desired + +* Sat Aug 13 2011 Francois Andriot - 0.8.13-0 +- Initial build for RHEL 6.0 + diff --git a/redhat/applications/kuickshow/kuickshow-3.5.13.spec b/redhat/applications/kuickshow/kuickshow-3.5.13.spec new file mode 100644 index 000000000..aa01c55fb --- /dev/null +++ b/redhat/applications/kuickshow/kuickshow-3.5.13.spec @@ -0,0 +1,156 @@ +# Default version for this component +%define kdecomp kuickshow + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Quick picture viewer for KDE +Version: 0.8.13 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +# [kuickshow] Rename old tq methods that no longer need a unique name [Commit #8712ab46] +Patch0: bp000-8712ab46.diff +# [kuickshow] Remove additional unneeded tq method conversions [Commit #28d9c774] +Patch1: bp001-28d9c774.diff +# [kuickshow] Rename obsolete tq methods to standard names [Commit #bdeb8b3a] +Patch2: bp002-bdeb8b3a.diff +# [kuickshow] Remove inadvertent renaming [Commit #d97e403f] [Bug #863] +Patch3: bp003-d97e403f.diff +# [kuickshow] Missing LDFLAGS cause FTBFS on Mageia / Mandriva +Patch4: kuickshow-3.5.13-missing_ldflags.patch + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: imlib-devel + +%description +Kuickshow is a picture viewer for KDE. It displays the directory structure, +displaying images as thumbnails. +Clicking on an image shows the image in its normal size. + + +%prep +%setup -q -n applications/%{kdecomp} +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 -b .ldflags + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{?buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +/sbin/ldconfig + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : +/sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/* +%{tde_datadir}/applications/*/*.desktop +%{tde_datadir}/apps/*/ +%{tde_datadir}/icons/hicolor/*/*/* +%{tde_libdir}/lib[kt]deinit_%{kdecomp}.so +%{tde_libdir}/*.la +%{tde_tdelibdir}/*.so +%{tde_tdelibdir}/*.la +%{tde_tdedocdir}/HTML/en/*/ + + +%Changelog +* Mon Jul 09 2012 Francois Andriot - 0.8.13-3 +- Removes conflict with 'kdegraphics' + +* Sat May 05 2012 Francois Andriot - 0.8.13-3 +- Rename old tq methods that no longer need a unique name [Commit #8712ab46] +- Remove additional unneeded tq method conversions [Commit #28d9c774] +- Rename obsolete tq methods to standard names [Commit #bdeb8b3a] +- Remove inadvertent renaming [Commit #d97e403f] [Bug #863] + +* Tue Sep 14 2011 Francois Andriot - 0.8.13-2 +- Import to GIT + +* Mon Aug 22 2011 Francois Andriot - 0.8.13-1 +- Correct macro to install under "/opt", if desired + +* Sat Aug 13 2011 Francois Andriot - 0.8.13-0 +- Initial build for RHEL 6.0 + diff --git a/redhat/applications/kuickshow/trinity-kuickshow-3.5.12.spec b/redhat/applications/kuickshow/trinity-kuickshow-3.5.12.spec deleted file mode 100644 index bf7c79c3b..000000000 --- a/redhat/applications/kuickshow/trinity-kuickshow-3.5.12.spec +++ /dev/null @@ -1,110 +0,0 @@ -# Default version for this component -%define kdecomp kuickshow -%define version 0.8.13 -%define release 2 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{tde_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_includedir %{tde_includedir}/kde -%define tde_libdir %{tde_libdir}/kde3 - - -Name: trinity-%{kdecomp} -Summary: Quick picture viewer for KDE -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Source0: %{kdecomp}-3.5.12.tar.gz - -Conflicts: trinity-kdegraphics - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: imlib-devel - -%description -Kuickshow is a picture viewer for KDE. It displays the directory structure, -displaying images as thumbnails. -Clicking on an image shows the image in its normal size. - - -%prep -%setup -q -n applications/%{kdecomp} - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%make_install - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/* -%{tde_datadir}/applications/*/*.desktop -%{tde_datadir}/apps/*/ -%{tde_tdedocdir}/HTML/en/*/ -%{tde_datadir}/icons/*/*/*/* -%{tde_libdir}/libkdeinit_%{kdecomp}.so - -%exclude %{tde_libdir}/*.la -%exclude %{tde_libdir}/*/*.so -%exclude %{tde_libdir}/*/*.la - - -%Changelog -* Tue Sep 14 2011 Francois Andriot - 0.8.13-2 -- Import to GIT - -* Mon Aug 22 2011 Francois Andriot - 0.8.13-1 -- Correct macro to install under "/opt", if desired - -* Sat Aug 13 2011 Francois Andriot - 0.8.13-0 -- Initial build for RHEL 6.0 - diff --git a/redhat/applications/kuickshow/trinity-kuickshow-3.5.13.1.spec b/redhat/applications/kuickshow/trinity-kuickshow-3.5.13.1.spec deleted file mode 100644 index cc0e4a7eb..000000000 --- a/redhat/applications/kuickshow/trinity-kuickshow-3.5.13.1.spec +++ /dev/null @@ -1,151 +0,0 @@ -# Default version for this component -%define kdecomp kuickshow - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Quick picture viewer for KDE -Version: 0.8.13 -Release: 5%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: imlib-devel -%endif - -%description -Kuickshow is a picture viewer for KDE. It displays the directory structure, -displaying images as thumbnails. -Clicking on an image shows the image in its normal size. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{?buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/* -%{tde_datadir}/applications/*/*.desktop -%{tde_datadir}/apps/*/ -%{tde_datadir}/icons/hicolor/*/*/* -%{tde_libdir}/lib[kt]deinit_%{kdecomp}.so -%{tde_libdir}/*.la -%{tde_tdelibdir}/*.so -%{tde_tdelibdir}/*.la -%{tde_tdedocdir}/HTML/en/*/ - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.8.13-5 -- Initial build for TDE 3.5.13.1 - -* Mon Jul 09 2012 Francois Andriot - 0.8.13-3 -- Removes conflict with 'kdegraphics' - -* Sat May 05 2012 Francois Andriot - 0.8.13-3 -- Rename old tq methods that no longer need a unique name [Commit #8712ab46] -- Remove additional unneeded tq method conversions [Commit #28d9c774] -- Rename obsolete tq methods to standard names [Commit #bdeb8b3a] -- Remove inadvertent renaming [Commit #d97e403f] [Bug #863] - -* Tue Sep 14 2011 Francois Andriot - 0.8.13-2 -- Import to GIT - -* Mon Aug 22 2011 Francois Andriot - 0.8.13-1 -- Correct macro to install under "/opt", if desired - -* Sat Aug 13 2011 Francois Andriot - 0.8.13-0 -- Initial build for RHEL 6.0 - diff --git a/redhat/applications/kuickshow/trinity-kuickshow-3.5.13.2.spec b/redhat/applications/kuickshow/trinity-kuickshow-3.5.13.2.spec deleted file mode 100644 index 44949183e..000000000 --- a/redhat/applications/kuickshow/trinity-kuickshow-3.5.13.2.spec +++ /dev/null @@ -1,157 +0,0 @@ -# Default version for this component -%define tdecomp kuickshow - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: Quick picture viewer for KDE -Version: 0.8.13 -Release: 6%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils - -%if 0%{?rhel} || 0%{?fedora} || 0%{?mdkversion} -BuildRequires: imlib-devel -%endif -%if 0%{?suse_version} || 0%{?mgaversion} -BuildRequires: imlib1-devel -%endif - -%description -Kuickshow is a picture viewer for KDE. It displays the directory structure, -displaying images as thumbnails. -Clicking on an image shows the image in its normal size. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{?buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/* -%{tde_datadir}/applications/*/*.desktop -%{tde_datadir}/apps/*/ -%{tde_datadir}/icons/hicolor/*/*/* -%{tde_libdir}/lib[kt]deinit_%{tdecomp}.so -%{tde_libdir}/*.la -%{tde_tdelibdir}/*.so -%{tde_tdelibdir}/*.la -%{tde_tdedocdir}/HTML/en/*/ - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 0.8.13-6 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.8.13-5 -- Initial build for TDE 3.5.13.1 - -* Mon Jul 09 2012 Francois Andriot - 0.8.13-3 -- Removes conflict with 'kdegraphics' - -* Sat May 05 2012 Francois Andriot - 0.8.13-3 -- Rename old tq methods that no longer need a unique name [Commit #8712ab46] -- Remove additional unneeded tq method conversions [Commit #28d9c774] -- Rename obsolete tq methods to standard names [Commit #bdeb8b3a] -- Remove inadvertent renaming [Commit #d97e403f] [Bug #863] - -* Tue Sep 14 2011 Francois Andriot - 0.8.13-2 -- Import to GIT - -* Mon Aug 22 2011 Francois Andriot - 0.8.13-1 -- Correct macro to install under "/opt", if desired - -* Sat Aug 13 2011 Francois Andriot - 0.8.13-0 -- Initial build for RHEL 6.0 - diff --git a/redhat/applications/kuickshow/trinity-kuickshow-3.5.13.spec b/redhat/applications/kuickshow/trinity-kuickshow-3.5.13.spec deleted file mode 100644 index aa01c55fb..000000000 --- a/redhat/applications/kuickshow/trinity-kuickshow-3.5.13.spec +++ /dev/null @@ -1,156 +0,0 @@ -# Default version for this component -%define kdecomp kuickshow - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Quick picture viewer for KDE -Version: 0.8.13 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# [kuickshow] Rename old tq methods that no longer need a unique name [Commit #8712ab46] -Patch0: bp000-8712ab46.diff -# [kuickshow] Remove additional unneeded tq method conversions [Commit #28d9c774] -Patch1: bp001-28d9c774.diff -# [kuickshow] Rename obsolete tq methods to standard names [Commit #bdeb8b3a] -Patch2: bp002-bdeb8b3a.diff -# [kuickshow] Remove inadvertent renaming [Commit #d97e403f] [Bug #863] -Patch3: bp003-d97e403f.diff -# [kuickshow] Missing LDFLAGS cause FTBFS on Mageia / Mandriva -Patch4: kuickshow-3.5.13-missing_ldflags.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: imlib-devel - -%description -Kuickshow is a picture viewer for KDE. It displays the directory structure, -displaying images as thumbnails. -Clicking on an image shows the image in its normal size. - - -%prep -%setup -q -n applications/%{kdecomp} -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -b .ldflags - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{?buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : -/sbin/ldconfig - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/* -%{tde_datadir}/applications/*/*.desktop -%{tde_datadir}/apps/*/ -%{tde_datadir}/icons/hicolor/*/*/* -%{tde_libdir}/lib[kt]deinit_%{kdecomp}.so -%{tde_libdir}/*.la -%{tde_tdelibdir}/*.so -%{tde_tdelibdir}/*.la -%{tde_tdedocdir}/HTML/en/*/ - - -%Changelog -* Mon Jul 09 2012 Francois Andriot - 0.8.13-3 -- Removes conflict with 'kdegraphics' - -* Sat May 05 2012 Francois Andriot - 0.8.13-3 -- Rename old tq methods that no longer need a unique name [Commit #8712ab46] -- Remove additional unneeded tq method conversions [Commit #28d9c774] -- Rename obsolete tq methods to standard names [Commit #bdeb8b3a] -- Remove inadvertent renaming [Commit #d97e403f] [Bug #863] - -* Tue Sep 14 2011 Francois Andriot - 0.8.13-2 -- Import to GIT - -* Mon Aug 22 2011 Francois Andriot - 0.8.13-1 -- Correct macro to install under "/opt", if desired - -* Sat Aug 13 2011 Francois Andriot - 0.8.13-0 -- Initial build for RHEL 6.0 - diff --git a/redhat/applications/kvirc/kvirc-3.5.13.1.spec b/redhat/applications/kvirc/kvirc-3.5.13.1.spec new file mode 100644 index 000000000..5e23611c6 --- /dev/null +++ b/redhat/applications/kvirc/kvirc-3.5.13.1.spec @@ -0,0 +1,230 @@ +# Default version for this component +%define kdecomp kvirc + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Trinity based next generation IRC client with module support +Version: 3.4.0 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://kvirc.net/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +# [kvirc] Modules do not install in correct folder [RHEL/Fedora] +Patch0: kvirc-3.5.13.1-directories.patch +# [kvirc] FTBFS because of missing link libraries [Bug #991] +Patch1: kvirc-3.5.13-ftbfs.patch +# [kvirc] Fix arts detection +Patch2: kvirc-3.5.13.1-fix_arts_detection.patch + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +Requires: %{name}-data = %{version}-%{release} + +%description +A highly configurable graphical IRC client with an MDI interface, +built-in scripting language, support for IRC DCC, drag & drop file +browsing, and much more. KVIrc uses the KDE widget set, can be extended +using its own scripting language, integrates with KDE, and supports +custom plugins. + +If you are a developer and you want to write a custom module for KVIrc, +you need to install the kvirc-dev package. + +%package data +Group: Applications/Utilities +Summary: Data files for KVIrc +Requires: %{name} = %{version}-%{release} + +%description data +This package contains the architecture-independent data needed by KVIrc in +order to run, such as icons and images, language files, and shell scripts. +It also contains complete reference guides on scripting and functions +within KVIrc in its internal help format. Unless you want to use KVIrc only +as a very simple IRC client you are likely to want to write scripts to +tailor KVIrc to your needs. + +KVIrc is a graphical IRC client based on the KDE widget set which integrates +with the K Desktop Environment version 3. + +%package devel +Group: Development/Libraries +Summary: Development files for KVIrc +Requires: %{name} = %{version}-%{release} + +%description devel +This package contains KVIrc libraries and include files you need if you +want to develop plugins for KVIrc. + +KVIrc is a graphical IRC client based on the KDE widget set which integrates +with the K Desktop Environment version 3. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 -b .arts + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +# Hardcoded absolute PATH to KDEDIR in source code ! That sucks ! +%__sed -i "src/kvirc/kernel/kvi_app_fs.cpp" \ + -e "s|/opt/kde3/lib|%{tde_prefix}/%{_lib}|g" +%__sed -i "src/kvirc/kernel/kvi_app_setup.cpp" \ + -e "s|/opt/kde3|%{tde_prefix}|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +./autogen.sh + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export KDEDIR=%{tde_prefix} + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-fno-rtti --with-aa-fonts --with-big-channels \ + --enable-perl --with-pic --enable-wall \ + --with-ix86-asm \ + --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} \ + --with-kde-services-dir=%{tde_datadir}/services \ + --with-kde-library-dir=%{tde_libdir} \ + --with-kde-include-dir=%{tde_tdeincludedir} \ + --with-qt-library-dir=${QTLIB:-${QTDIR}/%{_lib}} \ + --with-qt-include-dir=${QTINC:-${QTDIR}/include} \ + --with-qt-moc=${QTDIR}/bin/moc + +# Symbolic links must exist prior to parallel building +%__make symlinks -C src/kvilib/build +%__make symlinks -C src/kvirc/build + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# Debian maintainer has renamed 'COPYING' file to 'EULA', so we do the same ... +%__mv \ + %{?buildroot}%{tde_datadir}/kvirc/3.4/license/COPYING \ + %{?buildroot}%{tde_datadir}/kvirc/3.4/license/EULA + +%clean +%__rm -rf %{buildroot} + + +%post +/sbin/ldconfig +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +/sbin/ldconfig +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc ChangeLog FAQ README TODO +%{tde_bindir}/kvirc +%{tde_libdir}/*.so.* +%{tde_libdir}/kvirc/*/modules/*.so + +%files data +%defattr(-,root,root,-) +%{tde_bindir}/kvi_run_netscape +%{tde_bindir}/kvi_search_help +%{tde_libdir}/kvirc/*/modules/caps/ +%{tde_datadir}/applnk/Internet/kvirc.desktop +%{tde_datadir}/icons/hicolor/*/*/*.png +%{tde_datadir}/icons/hicolor/*/*/*.svgz +%{tde_datadir}/icons/hicolor/*/*/*.xpm +%{tde_datadir}/kvirc +%{tde_datadir}/mimelnk/text/*.desktop +%{tde_datadir}/services/*.protocol +%{tde_mandir}/man1/kvirc.1 + +%files devel +%defattr(-,root,root,-) +%{tde_bindir}/kvirc-config +%{tde_includedir}/kvirc/ +%{tde_libdir}/*.la +%{tde_libdir}/*.so +%{tde_libdir}/kvirc/*/modules/*.la + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 3.4.0-3 +- Initial build for TDE 3.5.13.1 + +* Sat May 05 2012 Francois Andriot - 3.4.0-2 +- Rebuilt for Fedora 17 +- Fix HTML directory location +- Rename old tq methods that no longer need a unique name [Commit #32a249ba] +- Remove additional unneeded tq method conversions [Commit #f9114981] +- Rename obsolete tq methods to standard names [Commit #2dd6d32b] +- Rename a few stragglers [Commit #1c00d6ff] +- Fix FTBFS [Commits #ff96f491, #2285efe5] +- Fix linear alphabet string errors [Commit #51bbe9e5] +- Fix inadvertent "TQ" changes. [Commit #a24a8595] +- Fix "acinclude.m4" file [Bug #980] + +* Fri Nov 25 2011 Francois Andriot - 3.4.0-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kvirc/kvirc-3.5.13.2.spec b/redhat/applications/kvirc/kvirc-3.5.13.2.spec new file mode 100644 index 000000000..d620baf4e --- /dev/null +++ b/redhat/applications/kvirc/kvirc-3.5.13.2.spec @@ -0,0 +1,233 @@ +# REMOVE KDELIBS4-DEVEL before building !!!! + +# Default version for this component +%define tdecomp kvirc + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: Trinity based next generation IRC client with module support +Version: 3.4.0 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://kvirc.net/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +# [kvirc] Modules do not install in correct folder [RHEL/Fedora] +Patch0: kvirc-3.5.13.2-fix_ftbfs.patch +# [kvirc] FTBFS because of missing link libraries [Bug #991] +Patch1: kvirc-3.5.13-ftbfs.patch + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +Requires: %{name}-data = %{version}-%{release} + +%description +A highly configurable graphical IRC client with an MDI interface, +built-in scripting language, support for IRC DCC, drag & drop file +browsing, and much more. KVIrc uses the KDE widget set, can be extended +using its own scripting language, integrates with KDE, and supports +custom plugins. + +If you are a developer and you want to write a custom module for KVIrc, +you need to install the kvirc-dev package. + +%package data +Group: Applications/Utilities +Summary: Data files for KVIrc +Requires: %{name} = %{version}-%{release} + +%description data +This package contains the architecture-independent data needed by KVIrc in +order to run, such as icons and images, language files, and shell scripts. +It also contains complete reference guides on scripting and functions +within KVIrc in its internal help format. Unless you want to use KVIrc only +as a very simple IRC client you are likely to want to write scripts to +tailor KVIrc to your needs. + +KVIrc is a graphical IRC client based on the KDE widget set which integrates +with the K Desktop Environment version 3. + +%package devel +Group: Development/Libraries +Summary: Development files for KVIrc +Requires: %{name} = %{version}-%{release} + +%description devel +This package contains KVIrc libraries and include files you need if you +want to develop plugins for KVIrc. + +KVIrc is a graphical IRC client based on the KDE widget set which integrates +with the K Desktop Environment version 3. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 +%patch0 -p1 +%patch1 -p1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +# Hardcoded absolute PATH to KDEDIR in source code ! That sucks ! +%__sed -i "src/kvirc/kernel/kvi_app_fs.cpp" \ + -e "s|/opt/kde3/lib|%{tde_prefix}/%{_lib}|g" +%__sed -i "src/kvirc/kernel/kvi_app_setup.cpp" \ + -e "s|/opt/kde3|%{tde_prefix}|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +./autogen.sh + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export KDEDIR=%{tde_prefix} + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-fno-rtti --with-aa-fonts --with-big-channels \ + --enable-perl --with-pic --enable-wall \ + --with-ix86-asm \ + --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} \ + --with-kde-services-dir=%{tde_datadir}/services \ + --with-kde-library-dir=%{tde_libdir} \ + --with-kde-include-dir=%{tde_tdeincludedir} \ + --with-qt-library-dir=${QTLIB:-${QTDIR}/%{_lib}} \ + --with-qt-include-dir=${QTINC:-${QTDIR}/include} \ + --with-qt-moc=${QTDIR}/bin/moc \ + --enable-closure + +# Symbolic links must exist prior to parallel building +%__make symlinks -C src/kvilib/build +%__make symlinks -C src/kvirc/build + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# Debian maintainer has renamed 'COPYING' file to 'EULA', so we do the same ... +%__mv \ + %{?buildroot}%{tde_datadir}/kvirc/3.4/license/COPYING \ + %{?buildroot}%{tde_datadir}/kvirc/3.4/license/EULA + +%clean +%__rm -rf %{buildroot} + + +%post +/sbin/ldconfig +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +/sbin/ldconfig +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc ChangeLog FAQ README TODO +%{tde_bindir}/kvirc +%{tde_libdir}/*.so.* +#%{tde_libdir}/kvirc/*/modules/*.so + +%files data +%defattr(-,root,root,-) +%{tde_bindir}/kvi_run_netscape +%{tde_bindir}/kvi_search_help +#%{tde_libdir}/kvirc/*/modules/caps/ +%{tde_datadir}/applnk/Internet/kvirc.desktop +%{tde_datadir}/icons/hicolor/*/*/*.png +%{tde_datadir}/icons/hicolor/*/*/*.svgz +%{tde_datadir}/icons/hicolor/*/*/*.xpm +%{tde_datadir}/kvirc +%{tde_datadir}/mimelnk/text/*.desktop +%{tde_datadir}/services/*.protocol +%{tde_mandir}/man1/kvirc.1 + +%files devel +%defattr(-,root,root,-) +%{tde_bindir}/kvirc-config +%{tde_includedir}/kvirc/ +%{tde_libdir}/*.la +%{tde_libdir}/*.so +#%{tde_libdir}/kvirc/*/modules/*.la + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 3.4.0-4 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 3.4.0-3 +- Initial build for TDE 3.5.13.1 + +* Sat May 05 2012 Francois Andriot - 3.4.0-2 +- Rebuilt for Fedora 17 +- Fix HTML directory location +- Rename old tq methods that no longer need a unique name [Commit #32a249ba] +- Remove additional unneeded tq method conversions [Commit #f9114981] +- Rename obsolete tq methods to standard names [Commit #2dd6d32b] +- Rename a few stragglers [Commit #1c00d6ff] +- Fix FTBFS [Commits #ff96f491, #2285efe5] +- Fix linear alphabet string errors [Commit #51bbe9e5] +- Fix inadvertent "TQ" changes. [Commit #a24a8595] +- Fix "acinclude.m4" file [Bug #980] + +* Fri Nov 25 2011 Francois Andriot - 3.4.0-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kvirc/kvirc-3.5.13.spec b/redhat/applications/kvirc/kvirc-3.5.13.spec new file mode 100644 index 000000000..b41ead906 --- /dev/null +++ b/redhat/applications/kvirc/kvirc-3.5.13.spec @@ -0,0 +1,246 @@ +# Default version for this component +%define kdecomp kvirc + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Trinity based next generation IRC client with module support +Version: 3.4.0 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://kvirc.net/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +# [kvirc] Modules do not install in correct folder [RHEL/Fedora] +Patch0: kvirc-3.5.13-directories.patch +# [kvirc] FTBFS because of missing link libraries [Bug #991] +Patch1: kvirc-3.5.13-ftbfs.patch + +# [kvirc] Rename old tq methods that no longer need a unique name [Commit #32a249ba] +Patch2: bp000-32a249ba.diff +# [kvirc] Remove additional unneeded tq method conversions [Commit #f9114981] +Patch3: bp001-f9114981.diff +# [kvirc] Rename obsolete tq methods to standard names [Commit #2dd6d32b] +Patch4: bp002-2dd6d32b.diff +# [kvirc] Rename a few stragglers [Commit #1c00d6ff] +Patch5: bp003-1c00d6ff.diff +# [kvirc] Fix FTBFS [Commits #ff96f491, #2285efe5] +Patch6: bp004-ff96f491.diff +Patch7: bp005-2285efe5.diff +# [kvirc] Fix linear alphabet string errors [Commit #51bbe9e5] +Patch8: bp006-51bbe9e5.diff +# [kvirc] Fix inadvertent "TQ" changes. [Commit #a24a8595] +Patch9: bp007-a24a8595.diff +# [kvirc] Fix "acinclude.m4" file [Bug #980] +Patch10: kvirc-3.5.13-fix_acinclude_m4.patch + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + +Requires: %{name}-data = %{version}-%{release} + +%description +A highly configurable graphical IRC client with an MDI interface, +built-in scripting language, support for IRC DCC, drag & drop file +browsing, and much more. KVIrc uses the KDE widget set, can be extended +using its own scripting language, integrates with KDE, and supports +custom plugins. + +If you are a developer and you want to write a custom module for KVIrc, +you need to install the kvirc-dev package. + +%package data +Group: Applications/Utilities +Summary: Data files for KVIrc +Requires: %{name} = %{version}-%{release} + +%description data +This package contains the architecture-independent data needed by KVIrc in +order to run, such as icons and images, language files, and shell scripts. +It also contains complete reference guides on scripting and functions +within KVIrc in its internal help format. Unless you want to use KVIrc only +as a very simple IRC client you are likely to want to write scripts to +tailor KVIrc to your needs. + +KVIrc is a graphical IRC client based on the KDE widget set which integrates +with the K Desktop Environment version 3. + +%package devel +Group: Development/Libraries +Summary: Development files for KVIrc +Requires: %{name} = %{version}-%{release} + +%description devel +This package contains KVIrc libraries and include files you need if you +want to develop plugins for KVIrc. + +KVIrc is a graphical IRC client based on the KDE widget set which integrates +with the K Desktop Environment version 3. + + +%prep +%setup -q -n applications/%{kdecomp} +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 +%patch8 -p1 +%patch9 -p1 +%patch10 -p1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +# Hardcoded absolute PATH to KDEDIR in source code ! That sucks ! +%__sed -i "src/kvirc/kernel/kvi_app_fs.cpp" \ + -e "s|/opt/kde3/lib|%{tde_prefix}/%{_lib}|g" +%__sed -i "src/kvirc/kernel/kvi_app_setup.cpp" \ + -e "s|/opt/kde3|%{tde_prefix}|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +./autogen.sh + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export KDEDIR=%{tde_prefix} + +#export CXXFLAGS="${CXXFLAGS} -I%{tde_includedir} -lqt-mt" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-fno-rtti --with-aa-fonts --with-big-channels \ + --enable-perl --with-pic --enable-wall \ + --with-ix86-asm \ + --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} \ + --with-kde-services-dir=%{tde_datadir}/services \ + --with-kde-library-dir=%{tde_libdir} \ + --with-kde-include-dir=%{tde_tdeincludedir} \ + --with-qt-library-dir=${QTLIB} \ + --with-qt-include-dir=${QTINC} \ + --with-qt-moc=${QTDIR}/bin/moc + +# Symbolic links must exist prior to parallel building +%__make symlinks -C src/kvilib/build +%__make symlinks -C src/kvirc/build + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# Debian maintainer has renamed 'COPYING' file to 'EULA', so we do the same ... +%__mv \ + %{?buildroot}%{tde_datadir}/kvirc/3.4/license/COPYING \ + %{?buildroot}%{tde_datadir}/kvirc/3.4/license/EULA + +%clean +%__rm -rf %{buildroot} + + +%post +/sbin/ldconfig +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +/sbin/ldconfig +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc ChangeLog FAQ README TODO +%{tde_bindir}/kvirc +%{tde_libdir}/*.so.* +%{tde_libdir}/kvirc/*/modules/*.so + +%files data +%defattr(-,root,root,-) +%{tde_bindir}/kvi_run_netscape +%{tde_bindir}/kvi_search_help +%{tde_libdir}/kvirc/*/modules/caps/ +%{tde_datadir}/applnk/Internet/kvirc.desktop +%{tde_datadir}/icons/hicolor/* +%{tde_datadir}/kvirc +%{tde_datadir}/mimelnk/text/*.desktop +%{tde_datadir}/services/*.protocol +%{tde_mandir}/man1/kvirc.1 + +%files devel +%defattr(-,root,root,-) +%{tde_bindir}/kvirc-config +%{tde_includedir}/kvirc/ +%{tde_libdir}/*.la +%{tde_libdir}/*.so +%{tde_libdir}/kvirc/*/modules/*.la + + +%Changelog +* Sat May 05 2012 Francois Andriot - 3.4.0-2 +- Rebuilt for Fedora 17 +- Fix HTML directory location +- Rename old tq methods that no longer need a unique name [Commit #32a249ba] +- Remove additional unneeded tq method conversions [Commit #f9114981] +- Rename obsolete tq methods to standard names [Commit #2dd6d32b] +- Rename a few stragglers [Commit #1c00d6ff] +- Fix FTBFS [Commits #ff96f491, #2285efe5] +- Fix linear alphabet string errors [Commit #51bbe9e5] +- Fix inadvertent "TQ" changes. [Commit #a24a8595] +- Fix "acinclude.m4" file [Bug #980] + +* Fri Nov 25 2011 Francois Andriot - 3.4.0-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kvirc/trinity-kvirc-3.5.13.1.spec b/redhat/applications/kvirc/trinity-kvirc-3.5.13.1.spec deleted file mode 100644 index 5e23611c6..000000000 --- a/redhat/applications/kvirc/trinity-kvirc-3.5.13.1.spec +++ /dev/null @@ -1,230 +0,0 @@ -# Default version for this component -%define kdecomp kvirc - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Trinity based next generation IRC client with module support -Version: 3.4.0 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://kvirc.net/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -# [kvirc] Modules do not install in correct folder [RHEL/Fedora] -Patch0: kvirc-3.5.13.1-directories.patch -# [kvirc] FTBFS because of missing link libraries [Bug #991] -Patch1: kvirc-3.5.13-ftbfs.patch -# [kvirc] Fix arts detection -Patch2: kvirc-3.5.13.1-fix_arts_detection.patch - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -Requires: %{name}-data = %{version}-%{release} - -%description -A highly configurable graphical IRC client with an MDI interface, -built-in scripting language, support for IRC DCC, drag & drop file -browsing, and much more. KVIrc uses the KDE widget set, can be extended -using its own scripting language, integrates with KDE, and supports -custom plugins. - -If you are a developer and you want to write a custom module for KVIrc, -you need to install the kvirc-dev package. - -%package data -Group: Applications/Utilities -Summary: Data files for KVIrc -Requires: %{name} = %{version}-%{release} - -%description data -This package contains the architecture-independent data needed by KVIrc in -order to run, such as icons and images, language files, and shell scripts. -It also contains complete reference guides on scripting and functions -within KVIrc in its internal help format. Unless you want to use KVIrc only -as a very simple IRC client you are likely to want to write scripts to -tailor KVIrc to your needs. - -KVIrc is a graphical IRC client based on the KDE widget set which integrates -with the K Desktop Environment version 3. - -%package devel -Group: Development/Libraries -Summary: Development files for KVIrc -Requires: %{name} = %{version}-%{release} - -%description devel -This package contains KVIrc libraries and include files you need if you -want to develop plugins for KVIrc. - -KVIrc is a graphical IRC client based on the KDE widget set which integrates -with the K Desktop Environment version 3. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -b .arts - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -# Hardcoded absolute PATH to KDEDIR in source code ! That sucks ! -%__sed -i "src/kvirc/kernel/kvi_app_fs.cpp" \ - -e "s|/opt/kde3/lib|%{tde_prefix}/%{_lib}|g" -%__sed -i "src/kvirc/kernel/kvi_app_setup.cpp" \ - -e "s|/opt/kde3|%{tde_prefix}|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -./autogen.sh - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export KDEDIR=%{tde_prefix} - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-fno-rtti --with-aa-fonts --with-big-channels \ - --enable-perl --with-pic --enable-wall \ - --with-ix86-asm \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} \ - --with-kde-services-dir=%{tde_datadir}/services \ - --with-kde-library-dir=%{tde_libdir} \ - --with-kde-include-dir=%{tde_tdeincludedir} \ - --with-qt-library-dir=${QTLIB:-${QTDIR}/%{_lib}} \ - --with-qt-include-dir=${QTINC:-${QTDIR}/include} \ - --with-qt-moc=${QTDIR}/bin/moc - -# Symbolic links must exist prior to parallel building -%__make symlinks -C src/kvilib/build -%__make symlinks -C src/kvirc/build - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Debian maintainer has renamed 'COPYING' file to 'EULA', so we do the same ... -%__mv \ - %{?buildroot}%{tde_datadir}/kvirc/3.4/license/COPYING \ - %{?buildroot}%{tde_datadir}/kvirc/3.4/license/EULA - -%clean -%__rm -rf %{buildroot} - - -%post -/sbin/ldconfig -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -/sbin/ldconfig -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc ChangeLog FAQ README TODO -%{tde_bindir}/kvirc -%{tde_libdir}/*.so.* -%{tde_libdir}/kvirc/*/modules/*.so - -%files data -%defattr(-,root,root,-) -%{tde_bindir}/kvi_run_netscape -%{tde_bindir}/kvi_search_help -%{tde_libdir}/kvirc/*/modules/caps/ -%{tde_datadir}/applnk/Internet/kvirc.desktop -%{tde_datadir}/icons/hicolor/*/*/*.png -%{tde_datadir}/icons/hicolor/*/*/*.svgz -%{tde_datadir}/icons/hicolor/*/*/*.xpm -%{tde_datadir}/kvirc -%{tde_datadir}/mimelnk/text/*.desktop -%{tde_datadir}/services/*.protocol -%{tde_mandir}/man1/kvirc.1 - -%files devel -%defattr(-,root,root,-) -%{tde_bindir}/kvirc-config -%{tde_includedir}/kvirc/ -%{tde_libdir}/*.la -%{tde_libdir}/*.so -%{tde_libdir}/kvirc/*/modules/*.la - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 3.4.0-3 -- Initial build for TDE 3.5.13.1 - -* Sat May 05 2012 Francois Andriot - 3.4.0-2 -- Rebuilt for Fedora 17 -- Fix HTML directory location -- Rename old tq methods that no longer need a unique name [Commit #32a249ba] -- Remove additional unneeded tq method conversions [Commit #f9114981] -- Rename obsolete tq methods to standard names [Commit #2dd6d32b] -- Rename a few stragglers [Commit #1c00d6ff] -- Fix FTBFS [Commits #ff96f491, #2285efe5] -- Fix linear alphabet string errors [Commit #51bbe9e5] -- Fix inadvertent "TQ" changes. [Commit #a24a8595] -- Fix "acinclude.m4" file [Bug #980] - -* Fri Nov 25 2011 Francois Andriot - 3.4.0-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kvirc/trinity-kvirc-3.5.13.2.spec b/redhat/applications/kvirc/trinity-kvirc-3.5.13.2.spec deleted file mode 100644 index d620baf4e..000000000 --- a/redhat/applications/kvirc/trinity-kvirc-3.5.13.2.spec +++ /dev/null @@ -1,233 +0,0 @@ -# REMOVE KDELIBS4-DEVEL before building !!!! - -# Default version for this component -%define tdecomp kvirc - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: Trinity based next generation IRC client with module support -Version: 3.4.0 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://kvirc.net/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -# [kvirc] Modules do not install in correct folder [RHEL/Fedora] -Patch0: kvirc-3.5.13.2-fix_ftbfs.patch -# [kvirc] FTBFS because of missing link libraries [Bug #991] -Patch1: kvirc-3.5.13-ftbfs.patch - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -Requires: %{name}-data = %{version}-%{release} - -%description -A highly configurable graphical IRC client with an MDI interface, -built-in scripting language, support for IRC DCC, drag & drop file -browsing, and much more. KVIrc uses the KDE widget set, can be extended -using its own scripting language, integrates with KDE, and supports -custom plugins. - -If you are a developer and you want to write a custom module for KVIrc, -you need to install the kvirc-dev package. - -%package data -Group: Applications/Utilities -Summary: Data files for KVIrc -Requires: %{name} = %{version}-%{release} - -%description data -This package contains the architecture-independent data needed by KVIrc in -order to run, such as icons and images, language files, and shell scripts. -It also contains complete reference guides on scripting and functions -within KVIrc in its internal help format. Unless you want to use KVIrc only -as a very simple IRC client you are likely to want to write scripts to -tailor KVIrc to your needs. - -KVIrc is a graphical IRC client based on the KDE widget set which integrates -with the K Desktop Environment version 3. - -%package devel -Group: Development/Libraries -Summary: Development files for KVIrc -Requires: %{name} = %{version}-%{release} - -%description devel -This package contains KVIrc libraries and include files you need if you -want to develop plugins for KVIrc. - -KVIrc is a graphical IRC client based on the KDE widget set which integrates -with the K Desktop Environment version 3. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 -%patch0 -p1 -%patch1 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -# Hardcoded absolute PATH to KDEDIR in source code ! That sucks ! -%__sed -i "src/kvirc/kernel/kvi_app_fs.cpp" \ - -e "s|/opt/kde3/lib|%{tde_prefix}/%{_lib}|g" -%__sed -i "src/kvirc/kernel/kvi_app_setup.cpp" \ - -e "s|/opt/kde3|%{tde_prefix}|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -./autogen.sh - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export KDEDIR=%{tde_prefix} - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-fno-rtti --with-aa-fonts --with-big-channels \ - --enable-perl --with-pic --enable-wall \ - --with-ix86-asm \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} \ - --with-kde-services-dir=%{tde_datadir}/services \ - --with-kde-library-dir=%{tde_libdir} \ - --with-kde-include-dir=%{tde_tdeincludedir} \ - --with-qt-library-dir=${QTLIB:-${QTDIR}/%{_lib}} \ - --with-qt-include-dir=${QTINC:-${QTDIR}/include} \ - --with-qt-moc=${QTDIR}/bin/moc \ - --enable-closure - -# Symbolic links must exist prior to parallel building -%__make symlinks -C src/kvilib/build -%__make symlinks -C src/kvirc/build - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Debian maintainer has renamed 'COPYING' file to 'EULA', so we do the same ... -%__mv \ - %{?buildroot}%{tde_datadir}/kvirc/3.4/license/COPYING \ - %{?buildroot}%{tde_datadir}/kvirc/3.4/license/EULA - -%clean -%__rm -rf %{buildroot} - - -%post -/sbin/ldconfig -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -/sbin/ldconfig -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc ChangeLog FAQ README TODO -%{tde_bindir}/kvirc -%{tde_libdir}/*.so.* -#%{tde_libdir}/kvirc/*/modules/*.so - -%files data -%defattr(-,root,root,-) -%{tde_bindir}/kvi_run_netscape -%{tde_bindir}/kvi_search_help -#%{tde_libdir}/kvirc/*/modules/caps/ -%{tde_datadir}/applnk/Internet/kvirc.desktop -%{tde_datadir}/icons/hicolor/*/*/*.png -%{tde_datadir}/icons/hicolor/*/*/*.svgz -%{tde_datadir}/icons/hicolor/*/*/*.xpm -%{tde_datadir}/kvirc -%{tde_datadir}/mimelnk/text/*.desktop -%{tde_datadir}/services/*.protocol -%{tde_mandir}/man1/kvirc.1 - -%files devel -%defattr(-,root,root,-) -%{tde_bindir}/kvirc-config -%{tde_includedir}/kvirc/ -%{tde_libdir}/*.la -%{tde_libdir}/*.so -#%{tde_libdir}/kvirc/*/modules/*.la - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 3.4.0-4 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 3.4.0-3 -- Initial build for TDE 3.5.13.1 - -* Sat May 05 2012 Francois Andriot - 3.4.0-2 -- Rebuilt for Fedora 17 -- Fix HTML directory location -- Rename old tq methods that no longer need a unique name [Commit #32a249ba] -- Remove additional unneeded tq method conversions [Commit #f9114981] -- Rename obsolete tq methods to standard names [Commit #2dd6d32b] -- Rename a few stragglers [Commit #1c00d6ff] -- Fix FTBFS [Commits #ff96f491, #2285efe5] -- Fix linear alphabet string errors [Commit #51bbe9e5] -- Fix inadvertent "TQ" changes. [Commit #a24a8595] -- Fix "acinclude.m4" file [Bug #980] - -* Fri Nov 25 2011 Francois Andriot - 3.4.0-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kvirc/trinity-kvirc-3.5.13.spec b/redhat/applications/kvirc/trinity-kvirc-3.5.13.spec deleted file mode 100644 index b41ead906..000000000 --- a/redhat/applications/kvirc/trinity-kvirc-3.5.13.spec +++ /dev/null @@ -1,246 +0,0 @@ -# Default version for this component -%define kdecomp kvirc - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Trinity based next generation IRC client with module support -Version: 3.4.0 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://kvirc.net/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# [kvirc] Modules do not install in correct folder [RHEL/Fedora] -Patch0: kvirc-3.5.13-directories.patch -# [kvirc] FTBFS because of missing link libraries [Bug #991] -Patch1: kvirc-3.5.13-ftbfs.patch - -# [kvirc] Rename old tq methods that no longer need a unique name [Commit #32a249ba] -Patch2: bp000-32a249ba.diff -# [kvirc] Remove additional unneeded tq method conversions [Commit #f9114981] -Patch3: bp001-f9114981.diff -# [kvirc] Rename obsolete tq methods to standard names [Commit #2dd6d32b] -Patch4: bp002-2dd6d32b.diff -# [kvirc] Rename a few stragglers [Commit #1c00d6ff] -Patch5: bp003-1c00d6ff.diff -# [kvirc] Fix FTBFS [Commits #ff96f491, #2285efe5] -Patch6: bp004-ff96f491.diff -Patch7: bp005-2285efe5.diff -# [kvirc] Fix linear alphabet string errors [Commit #51bbe9e5] -Patch8: bp006-51bbe9e5.diff -# [kvirc] Fix inadvertent "TQ" changes. [Commit #a24a8595] -Patch9: bp007-a24a8595.diff -# [kvirc] Fix "acinclude.m4" file [Bug #980] -Patch10: kvirc-3.5.13-fix_acinclude_m4.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - -Requires: %{name}-data = %{version}-%{release} - -%description -A highly configurable graphical IRC client with an MDI interface, -built-in scripting language, support for IRC DCC, drag & drop file -browsing, and much more. KVIrc uses the KDE widget set, can be extended -using its own scripting language, integrates with KDE, and supports -custom plugins. - -If you are a developer and you want to write a custom module for KVIrc, -you need to install the kvirc-dev package. - -%package data -Group: Applications/Utilities -Summary: Data files for KVIrc -Requires: %{name} = %{version}-%{release} - -%description data -This package contains the architecture-independent data needed by KVIrc in -order to run, such as icons and images, language files, and shell scripts. -It also contains complete reference guides on scripting and functions -within KVIrc in its internal help format. Unless you want to use KVIrc only -as a very simple IRC client you are likely to want to write scripts to -tailor KVIrc to your needs. - -KVIrc is a graphical IRC client based on the KDE widget set which integrates -with the K Desktop Environment version 3. - -%package devel -Group: Development/Libraries -Summary: Development files for KVIrc -Requires: %{name} = %{version}-%{release} - -%description devel -This package contains KVIrc libraries and include files you need if you -want to develop plugins for KVIrc. - -KVIrc is a graphical IRC client based on the KDE widget set which integrates -with the K Desktop Environment version 3. - - -%prep -%setup -q -n applications/%{kdecomp} -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 -%patch8 -p1 -%patch9 -p1 -%patch10 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -# Hardcoded absolute PATH to KDEDIR in source code ! That sucks ! -%__sed -i "src/kvirc/kernel/kvi_app_fs.cpp" \ - -e "s|/opt/kde3/lib|%{tde_prefix}/%{_lib}|g" -%__sed -i "src/kvirc/kernel/kvi_app_setup.cpp" \ - -e "s|/opt/kde3|%{tde_prefix}|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -./autogen.sh - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export KDEDIR=%{tde_prefix} - -#export CXXFLAGS="${CXXFLAGS} -I%{tde_includedir} -lqt-mt" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-fno-rtti --with-aa-fonts --with-big-channels \ - --enable-perl --with-pic --enable-wall \ - --with-ix86-asm \ - --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} \ - --with-kde-services-dir=%{tde_datadir}/services \ - --with-kde-library-dir=%{tde_libdir} \ - --with-kde-include-dir=%{tde_tdeincludedir} \ - --with-qt-library-dir=${QTLIB} \ - --with-qt-include-dir=${QTINC} \ - --with-qt-moc=${QTDIR}/bin/moc - -# Symbolic links must exist prior to parallel building -%__make symlinks -C src/kvilib/build -%__make symlinks -C src/kvirc/build - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Debian maintainer has renamed 'COPYING' file to 'EULA', so we do the same ... -%__mv \ - %{?buildroot}%{tde_datadir}/kvirc/3.4/license/COPYING \ - %{?buildroot}%{tde_datadir}/kvirc/3.4/license/EULA - -%clean -%__rm -rf %{buildroot} - - -%post -/sbin/ldconfig -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -/sbin/ldconfig -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc ChangeLog FAQ README TODO -%{tde_bindir}/kvirc -%{tde_libdir}/*.so.* -%{tde_libdir}/kvirc/*/modules/*.so - -%files data -%defattr(-,root,root,-) -%{tde_bindir}/kvi_run_netscape -%{tde_bindir}/kvi_search_help -%{tde_libdir}/kvirc/*/modules/caps/ -%{tde_datadir}/applnk/Internet/kvirc.desktop -%{tde_datadir}/icons/hicolor/* -%{tde_datadir}/kvirc -%{tde_datadir}/mimelnk/text/*.desktop -%{tde_datadir}/services/*.protocol -%{tde_mandir}/man1/kvirc.1 - -%files devel -%defattr(-,root,root,-) -%{tde_bindir}/kvirc-config -%{tde_includedir}/kvirc/ -%{tde_libdir}/*.la -%{tde_libdir}/*.so -%{tde_libdir}/kvirc/*/modules/*.la - - -%Changelog -* Sat May 05 2012 Francois Andriot - 3.4.0-2 -- Rebuilt for Fedora 17 -- Fix HTML directory location -- Rename old tq methods that no longer need a unique name [Commit #32a249ba] -- Remove additional unneeded tq method conversions [Commit #f9114981] -- Rename obsolete tq methods to standard names [Commit #2dd6d32b] -- Rename a few stragglers [Commit #1c00d6ff] -- Fix FTBFS [Commits #ff96f491, #2285efe5] -- Fix linear alphabet string errors [Commit #51bbe9e5] -- Fix inadvertent "TQ" changes. [Commit #a24a8595] -- Fix "acinclude.m4" file [Bug #980] - -* Fri Nov 25 2011 Francois Andriot - 3.4.0-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/kvkbd/kvkbd-3.5.13.1.spec b/redhat/applications/kvkbd/kvkbd-3.5.13.1.spec new file mode 100644 index 000000000..5822bc548 --- /dev/null +++ b/redhat/applications/kvkbd/kvkbd-3.5.13.1.spec @@ -0,0 +1,128 @@ +# Default version for this component +%define kdecomp kvkbd + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Virtual keyboard for KDE [Trinity] +Version: 0.4.8 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/System + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://pan4os.info/main/index.php + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils + + +%description +Virtual keyboard for KDE for use with accessibility. Application contains +a systray widget as well as a dockwidget. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{tde_bindir}/kvkbd +%{tde_datadir}/applnk/Utilities/kvkbd.desktop +%{tde_datadir}/apps/kvkbd/pics/dock.png +%{tde_datadir}/apps/kvkbd/pics/tray.png +%{tde_datadir}/icons/hicolor/*/apps/kvkbd.png + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.4.8-2 +- Initial build for TDE 3.5.13.1 + +* Sat Dec 03 2011 Francois Andriot - 0.4.8-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/kvkbd/kvkbd-3.5.13.2.spec b/redhat/applications/kvkbd/kvkbd-3.5.13.2.spec new file mode 100644 index 000000000..5c3b32191 --- /dev/null +++ b/redhat/applications/kvkbd/kvkbd-3.5.13.2.spec @@ -0,0 +1,131 @@ +# Default version for this component +%define tdecomp kvkbd + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: Virtual keyboard for KDE [Trinity] +Version: 0.4.8 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/System + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://pan4os.info/main/index.php + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils + + +%description +Virtual keyboard for KDE for use with accessibility. Application contains +a systray widget as well as a dockwidget. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{tde_bindir}/kvkbd +%{tde_datadir}/applnk/Utilities/kvkbd.desktop +%{tde_datadir}/apps/kvkbd/pics/dock.png +%{tde_datadir}/apps/kvkbd/pics/tray.png +%{tde_datadir}/icons/hicolor/*/apps/kvkbd.png + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 0.4.8-3 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.4.8-2 +- Initial build for TDE 3.5.13.1 + +* Sat Dec 03 2011 Francois Andriot - 0.4.8-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/kvkbd/kvkbd-3.5.13.spec b/redhat/applications/kvkbd/kvkbd-3.5.13.spec new file mode 100644 index 000000000..cd5159319 --- /dev/null +++ b/redhat/applications/kvkbd/kvkbd-3.5.13.spec @@ -0,0 +1,120 @@ +# Default version for this component +%define kdecomp kvkbd + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Virtual keyboard for KDE [Trinity] +Version: 0.4.8 +Release: 1%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/System + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://pan4os.info/main/index.php + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils + + +%description +Virtual keyboard for KDE for use with accessibility. Application contains +a systray widget as well as a dockwidget. + + +%prep +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{tde_bindir}/kvkbd +%{tde_datadir}/applnk/Utilities/kvkbd.desktop +%{tde_datadir}/apps/kvkbd/pics/dock.png +%{tde_datadir}/apps/kvkbd/pics/tray.png +%{tde_datadir}/icons/hicolor/*/apps/kvkbd.png + + +%Changelog +* Sat Dec 03 2011 Francois Andriot - 0.4.8-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/kvkbd/trinity-kvkbd-3.5.13.1.spec b/redhat/applications/kvkbd/trinity-kvkbd-3.5.13.1.spec deleted file mode 100644 index 5822bc548..000000000 --- a/redhat/applications/kvkbd/trinity-kvkbd-3.5.13.1.spec +++ /dev/null @@ -1,128 +0,0 @@ -# Default version for this component -%define kdecomp kvkbd - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Virtual keyboard for KDE [Trinity] -Version: 0.4.8 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/System - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://pan4os.info/main/index.php - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - - -%description -Virtual keyboard for KDE for use with accessibility. Application contains -a systray widget as well as a dockwidget. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_bindir}/kvkbd -%{tde_datadir}/applnk/Utilities/kvkbd.desktop -%{tde_datadir}/apps/kvkbd/pics/dock.png -%{tde_datadir}/apps/kvkbd/pics/tray.png -%{tde_datadir}/icons/hicolor/*/apps/kvkbd.png - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.4.8-2 -- Initial build for TDE 3.5.13.1 - -* Sat Dec 03 2011 Francois Andriot - 0.4.8-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/kvkbd/trinity-kvkbd-3.5.13.2.spec b/redhat/applications/kvkbd/trinity-kvkbd-3.5.13.2.spec deleted file mode 100644 index 5c3b32191..000000000 --- a/redhat/applications/kvkbd/trinity-kvkbd-3.5.13.2.spec +++ /dev/null @@ -1,131 +0,0 @@ -# Default version for this component -%define tdecomp kvkbd - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: Virtual keyboard for KDE [Trinity] -Version: 0.4.8 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/System - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://pan4os.info/main/index.php - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils - - -%description -Virtual keyboard for KDE for use with accessibility. Application contains -a systray widget as well as a dockwidget. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_bindir}/kvkbd -%{tde_datadir}/applnk/Utilities/kvkbd.desktop -%{tde_datadir}/apps/kvkbd/pics/dock.png -%{tde_datadir}/apps/kvkbd/pics/tray.png -%{tde_datadir}/icons/hicolor/*/apps/kvkbd.png - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 0.4.8-3 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.4.8-2 -- Initial build for TDE 3.5.13.1 - -* Sat Dec 03 2011 Francois Andriot - 0.4.8-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/kvkbd/trinity-kvkbd-3.5.13.spec b/redhat/applications/kvkbd/trinity-kvkbd-3.5.13.spec deleted file mode 100644 index cd5159319..000000000 --- a/redhat/applications/kvkbd/trinity-kvkbd-3.5.13.spec +++ /dev/null @@ -1,120 +0,0 @@ -# Default version for this component -%define kdecomp kvkbd - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Virtual keyboard for KDE [Trinity] -Version: 0.4.8 -Release: 1%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/System - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://pan4os.info/main/index.php - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils - - -%description -Virtual keyboard for KDE for use with accessibility. Application contains -a systray widget as well as a dockwidget. - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_bindir}/kvkbd -%{tde_datadir}/applnk/Utilities/kvkbd.desktop -%{tde_datadir}/apps/kvkbd/pics/dock.png -%{tde_datadir}/apps/kvkbd/pics/tray.png -%{tde_datadir}/icons/hicolor/*/apps/kvkbd.png - - -%Changelog -* Sat Dec 03 2011 Francois Andriot - 0.4.8-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/kvpnc/kvpnc.spec b/redhat/applications/kvpnc/kvpnc.spec new file mode 100644 index 000000000..930dcf410 --- /dev/null +++ b/redhat/applications/kvpnc/kvpnc.spec @@ -0,0 +1,113 @@ +# Default version for this component +%define kdecomp kvpnc +%define version 0.9.6a +%define release 1 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_prefix}/share/doc +%endif + +# TDE 3.5.13 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir}/kde +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/trinity + + +Name: trinity-%{kdecomp} +Summary: vpn clients frontend for TDE +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-master.tar.gz +Source1: admin-master.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: trinity-kdebase-devel +BuildRequires: desktop-file-utils + +%description +KVpnc is a TDE frontend for various vpn clients. + +It supports : + * Cisco-compatible VPN client (vpnc) + * IPSec (freeswan, openswan, racoon) + * Point-to-Point Tunneling Protocol (PPTP) client (pptp-linux) + * Virtual Private Network daemon (openvpn) + + +%prep +unset QTDIR; . /etc/profile.d/qt.sh +%setup -q -n %{kdecomp}-master + +# 'admin' folder from GIT +%setup -q -n %{kdecomp}-master -a 1 +%__rm -rf admin +%__mv -f admin-master admin + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s,/usr/include/tqt,%{_includedir}/tqt,g" \ + -e "s,kde_htmldir='.*',kde_htmldir='%{tde_docdir}/HTML',g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%configure \ + --disable-rpath \ + --with-extra-includes=%{_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +/sbin/ldconfig || : + +%postun +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +/sbin/ldconfig || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README TODO + + + +%Changelog +* Sat Dec 10 2011 Francois Andriot - 0.9.6a-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/kvpnc/trinity-kvpnc.spec b/redhat/applications/kvpnc/trinity-kvpnc.spec deleted file mode 100644 index 930dcf410..000000000 --- a/redhat/applications/kvpnc/trinity-kvpnc.spec +++ /dev/null @@ -1,113 +0,0 @@ -# Default version for this component -%define kdecomp kvpnc -%define version 0.9.6a -%define release 1 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.13 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir}/kde -%define tde_includedir %{_includedir}/kde -%define tde_libdir %{_libdir}/trinity - - -Name: trinity-%{kdecomp} -Summary: vpn clients frontend for TDE -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-master.tar.gz -Source1: admin-master.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: trinity-kdebase-devel -BuildRequires: desktop-file-utils - -%description -KVpnc is a TDE frontend for various vpn clients. - -It supports : - * Cisco-compatible VPN client (vpnc) - * IPSec (freeswan, openswan, racoon) - * Point-to-Point Tunneling Protocol (PPTP) client (pptp-linux) - * Virtual Private Network daemon (openvpn) - - -%prep -unset QTDIR; . /etc/profile.d/qt.sh -%setup -q -n %{kdecomp}-master - -# 'admin' folder from GIT -%setup -q -n %{kdecomp}-master -a 1 -%__rm -rf admin -%__mv -f admin-master admin - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s,/usr/include/tqt,%{_includedir}/tqt,g" \ - -e "s,kde_htmldir='.*',kde_htmldir='%{tde_docdir}/HTML',g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -%configure \ - --disable-rpath \ - --with-extra-includes=%{_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : -/sbin/ldconfig || : - -%postun -touch --no-create %{_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : -/sbin/ldconfig || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README TODO - - - -%Changelog -* Sat Dec 10 2011 Francois Andriot - 0.9.6a-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/piklab/piklab-3.5.13.1.spec b/redhat/applications/piklab/piklab-3.5.13.1.spec new file mode 100644 index 000000000..ff5205db7 --- /dev/null +++ b/redhat/applications/piklab/piklab-3.5.13.1.spec @@ -0,0 +1,161 @@ +# Default version for this component +%define kdecomp piklab + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_tdedocdir} + + +Name: trinity-%{kdecomp} +Summary: IDE for PIC-microcontroller development [Trinity] +Version: 0.15.2 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +# [piklab] Do not build the 'gui' directory +Patch1: piklab-3.5.13.1-remove_gui_dir.patch + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: readline-devel + +%description +Piklab is an integrated development environment for applications based on +Microchip PIC and dsPIC microcontrollers similar to the MPLAB environment. + +Support for several compiler and assembler toolchains is integrated. The +GPSim simulator, the ICD1 programmer, the ICD2 debugger, the PICkit1 and +PICkit2 programmers, the PicStart+ programmer, and most direct programmers +are supported. A command-line programmer and debugger are also available. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 +%patch1 -p1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# Incorrect extension on manpage +%__mv -f %{buildroot}%{tde_mandir}/man1/piklab.1x %{buildroot}%{tde_mandir}/man1/piklab.1 + +%find_lang %{kdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/piklab +%{tde_bindir}/piklab-coff +%{tde_bindir}/piklab-hex +%{tde_bindir}/piklab-prog +%{tde_tdeappdir}/piklab.desktop +%{tde_datadir}/apps/katepart/syntax/asm-pic.xml +%{tde_datadir}/apps/katepart/syntax/coff-c-pic.xml +%{tde_datadir}/apps/katepart/syntax/coff-pic.xml +%{tde_datadir}/apps/katepart/syntax/jal-pic.xml +%{tde_datadir}/apps/piklab +%{tde_tdedocdir}/HTML/en/piklab +%{tde_datadir}/icons/hicolor/*/*/*.png +%{tde_datadir}/mimelnk/application/x-piklab.desktop +%{tde_mandir}/man1/piklab-coff.1 +%{tde_mandir}/man1/piklab-hex.1 +%{tde_mandir}/man1/piklab-prog.1 +%{tde_mandir}/man1/piklab.1 + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.15.2-4 +- Initial build for TDE 3.5.13.1 + +* Sun Apr 06 2012 Francois Andriot - 0.15.2-3 +- Fix MAN directory location +- Fix compilation with GCC 4.7 [Bug #958] + +* Fri Nov 25 2011 Francois Andriot - 0.15.2-2 +- Fix HTML directory location + +* Thu Nov 24 2011 Francois Andriot - 0.15.2-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/piklab/piklab-3.5.13.2.spec b/redhat/applications/piklab/piklab-3.5.13.2.spec new file mode 100644 index 000000000..716da9a18 --- /dev/null +++ b/redhat/applications/piklab/piklab-3.5.13.2.spec @@ -0,0 +1,160 @@ +# Default version for this component +%define tdecomp piklab + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_tdedocdir} + + +Name: trinity-%{tdecomp} +Summary: IDE for PIC-microcontroller development [Trinity] +Version: 0.15.2 +Release: 5%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: readline-devel + +%description +Piklab is an integrated development environment for applications based on +Microchip PIC and dsPIC microcontrollers similar to the MPLAB environment. + +Support for several compiler and assembler toolchains is integrated. The +GPSim simulator, the ICD1 programmer, the ICD2 debugger, the PICkit1 and +PICkit2 programmers, the PicStart+ programmer, and most direct programmers +are supported. A command-line programmer and debugger are also available. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# Incorrect extension on manpage +%__mv -f %{buildroot}%{tde_mandir}/man1/piklab.1x %{buildroot}%{tde_mandir}/man1/piklab.1 + +%find_lang %{tdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files -f %{tdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/piklab +%{tde_bindir}/piklab-coff +%{tde_bindir}/piklab-hex +%{tde_bindir}/piklab-prog +%{tde_tdeappdir}/piklab.desktop +%{tde_datadir}/apps/katepart/syntax/asm-pic.xml +%{tde_datadir}/apps/katepart/syntax/coff-c-pic.xml +%{tde_datadir}/apps/katepart/syntax/coff-pic.xml +%{tde_datadir}/apps/katepart/syntax/jal-pic.xml +%{tde_datadir}/apps/piklab +%{tde_tdedocdir}/HTML/en/piklab +%{tde_datadir}/icons/hicolor/*/*/*.png +%{tde_datadir}/mimelnk/application/x-piklab.desktop +%{tde_mandir}/man1/piklab-coff.1 +%{tde_mandir}/man1/piklab-hex.1 +%{tde_mandir}/man1/piklab-prog.1 +%{tde_mandir}/man1/piklab.1 + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 0.15.2-5 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.15.2-4 +- Initial build for TDE 3.5.13.1 + +* Sun Apr 06 2012 Francois Andriot - 0.15.2-3 +- Fix MAN directory location +- Fix compilation with GCC 4.7 [Bug #958] + +* Fri Nov 25 2011 Francois Andriot - 0.15.2-2 +- Fix HTML directory location + +* Thu Nov 24 2011 Francois Andriot - 0.15.2-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/piklab/piklab-3.5.13.spec b/redhat/applications/piklab/piklab-3.5.13.spec new file mode 100644 index 000000000..93fd28370 --- /dev/null +++ b/redhat/applications/piklab/piklab-3.5.13.spec @@ -0,0 +1,153 @@ +# Default version for this component +%define kdecomp piklab + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_tdedocdir} + + +Name: trinity-%{kdecomp} +Summary: IDE for PIC-microcontroller development [Trinity] +Version: 0.15.2 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +# [piklab] Fix compilation with GCC 4.7 [Bug #958] +Patch1: piklab-3.5.13-fix_gcc47_compilation.patch + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: readline-devel + +%description +Piklab is an integrated development environment for applications based on +Microchip PIC and dsPIC microcontrollers similar to the MPLAB environment. + +Support for several compiler and assembler toolchains is integrated. The +GPSim simulator, the ICD1 programmer, the ICD2 debugger, the PICkit1 and +PICkit2 programmers, the PicStart+ programmer, and most direct programmers +are supported. A command-line programmer and debugger are also available. + + +%prep +%setup -q -n applications/%{kdecomp} +%patch1 -p1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_includedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# Incorrect extension on manpage +%__mv -f %{buildroot}%{tde_mandir}/man1/piklab.1x %{buildroot}%{tde_mandir}/man1/piklab.1 + +%find_lang %{kdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/piklab +%{tde_bindir}/piklab-coff +%{tde_bindir}/piklab-hex +%{tde_bindir}/piklab-prog +%{tde_tdeappdir}/piklab.desktop +%{tde_datadir}/apps/katepart/syntax/asm-pic.xml +%{tde_datadir}/apps/katepart/syntax/coff-c-pic.xml +%{tde_datadir}/apps/katepart/syntax/coff-pic.xml +%{tde_datadir}/apps/katepart/syntax/jal-pic.xml +%{tde_datadir}/apps/piklab +%{tde_tdedocdir}/HTML/en/piklab +%{tde_datadir}/icons/hicolor/*/*/*.png +%{tde_datadir}/mimelnk/application/x-piklab.desktop +%{tde_mandir}/man1/piklab-coff.1 +%{tde_mandir}/man1/piklab-hex.1 +%{tde_mandir}/man1/piklab-prog.1 +%{tde_mandir}/man1/piklab.1 + + +%Changelog +* Sun Apr 06 2012 Francois Andriot - 0.15.2-3 +- Fix MAN directory location +- Fix compilation with GCC 4.7 [Bug #958] + +* Fri Nov 25 2011 Francois Andriot - 0.15.2-2 +- Fix HTML directory location + +* Thu Nov 24 2011 Francois Andriot - 0.15.2-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/piklab/trinity-piklab-3.5.13.1.spec b/redhat/applications/piklab/trinity-piklab-3.5.13.1.spec deleted file mode 100644 index ff5205db7..000000000 --- a/redhat/applications/piklab/trinity-piklab-3.5.13.1.spec +++ /dev/null @@ -1,161 +0,0 @@ -# Default version for this component -%define kdecomp piklab - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_tdedocdir} - - -Name: trinity-%{kdecomp} -Summary: IDE for PIC-microcontroller development [Trinity] -Version: 0.15.2 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -# [piklab] Do not build the 'gui' directory -Patch1: piklab-3.5.13.1-remove_gui_dir.patch - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: readline-devel - -%description -Piklab is an integrated development environment for applications based on -Microchip PIC and dsPIC microcontrollers similar to the MPLAB environment. - -Support for several compiler and assembler toolchains is integrated. The -GPSim simulator, the ICD1 programmer, the ICD2 debugger, the PICkit1 and -PICkit2 programmers, the PicStart+ programmer, and most direct programmers -are supported. A command-line programmer and debugger are also available. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 -%patch1 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Incorrect extension on manpage -%__mv -f %{buildroot}%{tde_mandir}/man1/piklab.1x %{buildroot}%{tde_mandir}/man1/piklab.1 - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/piklab -%{tde_bindir}/piklab-coff -%{tde_bindir}/piklab-hex -%{tde_bindir}/piklab-prog -%{tde_tdeappdir}/piklab.desktop -%{tde_datadir}/apps/katepart/syntax/asm-pic.xml -%{tde_datadir}/apps/katepart/syntax/coff-c-pic.xml -%{tde_datadir}/apps/katepart/syntax/coff-pic.xml -%{tde_datadir}/apps/katepart/syntax/jal-pic.xml -%{tde_datadir}/apps/piklab -%{tde_tdedocdir}/HTML/en/piklab -%{tde_datadir}/icons/hicolor/*/*/*.png -%{tde_datadir}/mimelnk/application/x-piklab.desktop -%{tde_mandir}/man1/piklab-coff.1 -%{tde_mandir}/man1/piklab-hex.1 -%{tde_mandir}/man1/piklab-prog.1 -%{tde_mandir}/man1/piklab.1 - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.15.2-4 -- Initial build for TDE 3.5.13.1 - -* Sun Apr 06 2012 Francois Andriot - 0.15.2-3 -- Fix MAN directory location -- Fix compilation with GCC 4.7 [Bug #958] - -* Fri Nov 25 2011 Francois Andriot - 0.15.2-2 -- Fix HTML directory location - -* Thu Nov 24 2011 Francois Andriot - 0.15.2-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/piklab/trinity-piklab-3.5.13.2.spec b/redhat/applications/piklab/trinity-piklab-3.5.13.2.spec deleted file mode 100644 index 716da9a18..000000000 --- a/redhat/applications/piklab/trinity-piklab-3.5.13.2.spec +++ /dev/null @@ -1,160 +0,0 @@ -# Default version for this component -%define tdecomp piklab - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_tdedocdir} - - -Name: trinity-%{tdecomp} -Summary: IDE for PIC-microcontroller development [Trinity] -Version: 0.15.2 -Release: 5%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: readline-devel - -%description -Piklab is an integrated development environment for applications based on -Microchip PIC and dsPIC microcontrollers similar to the MPLAB environment. - -Support for several compiler and assembler toolchains is integrated. The -GPSim simulator, the ICD1 programmer, the ICD2 debugger, the PICkit1 and -PICkit2 programmers, the PicStart+ programmer, and most direct programmers -are supported. A command-line programmer and debugger are also available. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Incorrect extension on manpage -%__mv -f %{buildroot}%{tde_mandir}/man1/piklab.1x %{buildroot}%{tde_mandir}/man1/piklab.1 - -%find_lang %{tdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{tdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/piklab -%{tde_bindir}/piklab-coff -%{tde_bindir}/piklab-hex -%{tde_bindir}/piklab-prog -%{tde_tdeappdir}/piklab.desktop -%{tde_datadir}/apps/katepart/syntax/asm-pic.xml -%{tde_datadir}/apps/katepart/syntax/coff-c-pic.xml -%{tde_datadir}/apps/katepart/syntax/coff-pic.xml -%{tde_datadir}/apps/katepart/syntax/jal-pic.xml -%{tde_datadir}/apps/piklab -%{tde_tdedocdir}/HTML/en/piklab -%{tde_datadir}/icons/hicolor/*/*/*.png -%{tde_datadir}/mimelnk/application/x-piklab.desktop -%{tde_mandir}/man1/piklab-coff.1 -%{tde_mandir}/man1/piklab-hex.1 -%{tde_mandir}/man1/piklab-prog.1 -%{tde_mandir}/man1/piklab.1 - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 0.15.2-5 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.15.2-4 -- Initial build for TDE 3.5.13.1 - -* Sun Apr 06 2012 Francois Andriot - 0.15.2-3 -- Fix MAN directory location -- Fix compilation with GCC 4.7 [Bug #958] - -* Fri Nov 25 2011 Francois Andriot - 0.15.2-2 -- Fix HTML directory location - -* Thu Nov 24 2011 Francois Andriot - 0.15.2-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/piklab/trinity-piklab-3.5.13.spec b/redhat/applications/piklab/trinity-piklab-3.5.13.spec deleted file mode 100644 index 93fd28370..000000000 --- a/redhat/applications/piklab/trinity-piklab-3.5.13.spec +++ /dev/null @@ -1,153 +0,0 @@ -# Default version for this component -%define kdecomp piklab - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_tdedocdir} - - -Name: trinity-%{kdecomp} -Summary: IDE for PIC-microcontroller development [Trinity] -Version: 0.15.2 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# [piklab] Fix compilation with GCC 4.7 [Bug #958] -Patch1: piklab-3.5.13-fix_gcc47_compilation.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: readline-devel - -%description -Piklab is an integrated development environment for applications based on -Microchip PIC and dsPIC microcontrollers similar to the MPLAB environment. - -Support for several compiler and assembler toolchains is integrated. The -GPSim simulator, the ICD1 programmer, the ICD2 debugger, the PICkit1 and -PICkit2 programmers, the PicStart+ programmer, and most direct programmers -are supported. A command-line programmer and debugger are also available. - - -%prep -%setup -q -n applications/%{kdecomp} -%patch1 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_includedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Incorrect extension on manpage -%__mv -f %{buildroot}%{tde_mandir}/man1/piklab.1x %{buildroot}%{tde_mandir}/man1/piklab.1 - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/piklab -%{tde_bindir}/piklab-coff -%{tde_bindir}/piklab-hex -%{tde_bindir}/piklab-prog -%{tde_tdeappdir}/piklab.desktop -%{tde_datadir}/apps/katepart/syntax/asm-pic.xml -%{tde_datadir}/apps/katepart/syntax/coff-c-pic.xml -%{tde_datadir}/apps/katepart/syntax/coff-pic.xml -%{tde_datadir}/apps/katepart/syntax/jal-pic.xml -%{tde_datadir}/apps/piklab -%{tde_tdedocdir}/HTML/en/piklab -%{tde_datadir}/icons/hicolor/*/*/*.png -%{tde_datadir}/mimelnk/application/x-piklab.desktop -%{tde_mandir}/man1/piklab-coff.1 -%{tde_mandir}/man1/piklab-hex.1 -%{tde_mandir}/man1/piklab-prog.1 -%{tde_mandir}/man1/piklab.1 - - -%Changelog -* Sun Apr 06 2012 Francois Andriot - 0.15.2-3 -- Fix MAN directory location -- Fix compilation with GCC 4.7 [Bug #958] - -* Fri Nov 25 2011 Francois Andriot - 0.15.2-2 -- Fix HTML directory location - -* Thu Nov 24 2011 Francois Andriot - 0.15.2-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/potracegui/potracegui-3.5.13.1.spec b/redhat/applications/potracegui/potracegui-3.5.13.1.spec new file mode 100644 index 000000000..9dc49956e --- /dev/null +++ b/redhat/applications/potracegui/potracegui-3.5.13.1.spec @@ -0,0 +1,134 @@ +# Default version for this component +%define kdecomp potracegui + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_tdedocdir} + + +Name: trinity-%{kdecomp} +Summary: KDE frontend for potrace [Trinity] +Version: 1.3 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Multimedia + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://potracegui.sourceforge.net + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils + + +%description +A KDE interface for the commandline tracing tools potrace and/or autotrace. It +supports drag and drop as well as all image types recognized by KDE, which are +a lot more than the 4 recognized by the potrace commandline tool. Loading of +remote files (web, ftp, ...) is also supported. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{tde_bindir}/potracegui +%{tde_datadir}/applnk/Utilities/potracegui.desktop +%{tde_datadir}/apps/potracegui/potraceguiui.rc +%{tde_tdedocdir}/HTML/en/potracegui/common +%{tde_tdedocdir}/HTML/en/potracegui/index.cache.bz2 +%{tde_tdedocdir}/HTML/en/potracegui/index.docbook +%{tde_datadir}/icons/hicolor/16x16/apps/potracegui.png +%{tde_datadir}/icons/hicolor/32x32/apps/potracegui.png +%lang(de) %{tde_datadir}/locale/de/LC_MESSAGES/potracegui.mo + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 1.3-2 +- Initial build for TDE 3.5.13.1 + +* Sat Dec 03 2011 Francois Andriot - 1.3-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/potracegui/potracegui-3.5.13.2.spec b/redhat/applications/potracegui/potracegui-3.5.13.2.spec new file mode 100644 index 000000000..371cd9240 --- /dev/null +++ b/redhat/applications/potracegui/potracegui-3.5.13.2.spec @@ -0,0 +1,137 @@ +# Default version for this component +%define tdecomp potracegui + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_tdedocdir} + + +Name: trinity-%{tdecomp} +Summary: KDE frontend for potrace [Trinity] +Version: 1.3 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Multimedia + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://potracegui.sourceforge.net + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils + + +%description +A KDE interface for the commandline tracing tools potrace and/or autotrace. It +supports drag and drop as well as all image types recognized by KDE, which are +a lot more than the 4 recognized by the potrace commandline tool. Loading of +remote files (web, ftp, ...) is also supported. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{tde_bindir}/potracegui +%{tde_datadir}/applnk/Utilities/potracegui.desktop +%{tde_datadir}/apps/potracegui/potraceguiui.rc +%{tde_tdedocdir}/HTML/en/potracegui/common +%{tde_tdedocdir}/HTML/en/potracegui/index.cache.bz2 +%{tde_tdedocdir}/HTML/en/potracegui/index.docbook +%{tde_datadir}/icons/hicolor/16x16/apps/potracegui.png +%{tde_datadir}/icons/hicolor/32x32/apps/potracegui.png +%lang(de) %{tde_datadir}/locale/de/LC_MESSAGES/potracegui.mo + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 1.3-3 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 1.3-2 +- Initial build for TDE 3.5.13.1 + +* Sat Dec 03 2011 Francois Andriot - 1.3-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/potracegui/potracegui-3.5.13.spec b/redhat/applications/potracegui/potracegui-3.5.13.spec new file mode 100644 index 000000000..a90649337 --- /dev/null +++ b/redhat/applications/potracegui/potracegui-3.5.13.spec @@ -0,0 +1,126 @@ +# Default version for this component +%define kdecomp potracegui + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_tdedocdir} + + +Name: trinity-%{kdecomp} +Summary: KDE frontend for potrace [Trinity] +Version: 1.3 +Release: 1%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Multimedia + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://potracegui.sourceforge.net + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils + + +%description +A KDE interface for the commandline tracing tools potrace and/or autotrace. It +supports drag and drop as well as all image types recognized by KDE, which are +a lot more than the 4 recognized by the potrace commandline tool. Loading of +remote files (web, ftp, ...) is also supported. + + +%prep +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_includedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{tde_bindir}/potracegui +%{tde_datadir}/applnk/Utilities/potracegui.desktop +%{tde_datadir}/apps/potracegui/potraceguiui.rc +%{tde_tdedocdir}/HTML/en/potracegui/common +%{tde_tdedocdir}/HTML/en/potracegui/index.cache.bz2 +%{tde_tdedocdir}/HTML/en/potracegui/index.docbook +%{tde_datadir}/icons/hicolor/16x16/apps/potracegui.png +%{tde_datadir}/icons/hicolor/32x32/apps/potracegui.png +%lang(de) %{tde_datadir}/locale/de/LC_MESSAGES/potracegui.mo + + +%Changelog +* Sat Dec 03 2011 Francois Andriot - 1.3-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/potracegui/trinity-potracegui-3.5.13.1.spec b/redhat/applications/potracegui/trinity-potracegui-3.5.13.1.spec deleted file mode 100644 index 9dc49956e..000000000 --- a/redhat/applications/potracegui/trinity-potracegui-3.5.13.1.spec +++ /dev/null @@ -1,134 +0,0 @@ -# Default version for this component -%define kdecomp potracegui - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_tdedocdir} - - -Name: trinity-%{kdecomp} -Summary: KDE frontend for potrace [Trinity] -Version: 1.3 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Multimedia - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://potracegui.sourceforge.net - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - - -%description -A KDE interface for the commandline tracing tools potrace and/or autotrace. It -supports drag and drop as well as all image types recognized by KDE, which are -a lot more than the 4 recognized by the potrace commandline tool. Loading of -remote files (web, ftp, ...) is also supported. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_bindir}/potracegui -%{tde_datadir}/applnk/Utilities/potracegui.desktop -%{tde_datadir}/apps/potracegui/potraceguiui.rc -%{tde_tdedocdir}/HTML/en/potracegui/common -%{tde_tdedocdir}/HTML/en/potracegui/index.cache.bz2 -%{tde_tdedocdir}/HTML/en/potracegui/index.docbook -%{tde_datadir}/icons/hicolor/16x16/apps/potracegui.png -%{tde_datadir}/icons/hicolor/32x32/apps/potracegui.png -%lang(de) %{tde_datadir}/locale/de/LC_MESSAGES/potracegui.mo - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 1.3-2 -- Initial build for TDE 3.5.13.1 - -* Sat Dec 03 2011 Francois Andriot - 1.3-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/potracegui/trinity-potracegui-3.5.13.2.spec b/redhat/applications/potracegui/trinity-potracegui-3.5.13.2.spec deleted file mode 100644 index 371cd9240..000000000 --- a/redhat/applications/potracegui/trinity-potracegui-3.5.13.2.spec +++ /dev/null @@ -1,137 +0,0 @@ -# Default version for this component -%define tdecomp potracegui - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_tdedocdir} - - -Name: trinity-%{tdecomp} -Summary: KDE frontend for potrace [Trinity] -Version: 1.3 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Multimedia - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://potracegui.sourceforge.net - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils - - -%description -A KDE interface for the commandline tracing tools potrace and/or autotrace. It -supports drag and drop as well as all image types recognized by KDE, which are -a lot more than the 4 recognized by the potrace commandline tool. Loading of -remote files (web, ftp, ...) is also supported. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_bindir}/potracegui -%{tde_datadir}/applnk/Utilities/potracegui.desktop -%{tde_datadir}/apps/potracegui/potraceguiui.rc -%{tde_tdedocdir}/HTML/en/potracegui/common -%{tde_tdedocdir}/HTML/en/potracegui/index.cache.bz2 -%{tde_tdedocdir}/HTML/en/potracegui/index.docbook -%{tde_datadir}/icons/hicolor/16x16/apps/potracegui.png -%{tde_datadir}/icons/hicolor/32x32/apps/potracegui.png -%lang(de) %{tde_datadir}/locale/de/LC_MESSAGES/potracegui.mo - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 1.3-3 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 1.3-2 -- Initial build for TDE 3.5.13.1 - -* Sat Dec 03 2011 Francois Andriot - 1.3-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/potracegui/trinity-potracegui-3.5.13.spec b/redhat/applications/potracegui/trinity-potracegui-3.5.13.spec deleted file mode 100644 index a90649337..000000000 --- a/redhat/applications/potracegui/trinity-potracegui-3.5.13.spec +++ /dev/null @@ -1,126 +0,0 @@ -# Default version for this component -%define kdecomp potracegui - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_tdedocdir} - - -Name: trinity-%{kdecomp} -Summary: KDE frontend for potrace [Trinity] -Version: 1.3 -Release: 1%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Multimedia - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://potracegui.sourceforge.net - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils - - -%description -A KDE interface for the commandline tracing tools potrace and/or autotrace. It -supports drag and drop as well as all image types recognized by KDE, which are -a lot more than the 4 recognized by the potrace commandline tool. Loading of -remote files (web, ftp, ...) is also supported. - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_includedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_bindir}/potracegui -%{tde_datadir}/applnk/Utilities/potracegui.desktop -%{tde_datadir}/apps/potracegui/potraceguiui.rc -%{tde_tdedocdir}/HTML/en/potracegui/common -%{tde_tdedocdir}/HTML/en/potracegui/index.cache.bz2 -%{tde_tdedocdir}/HTML/en/potracegui/index.docbook -%{tde_datadir}/icons/hicolor/16x16/apps/potracegui.png -%{tde_datadir}/icons/hicolor/32x32/apps/potracegui.png -%lang(de) %{tde_datadir}/locale/de/LC_MESSAGES/potracegui.mo - - -%Changelog -* Sat Dec 03 2011 Francois Andriot - 1.3-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/rosegarden/rosegarden-3.5.13.1.spec b/redhat/applications/rosegarden/rosegarden-3.5.13.1.spec new file mode 100644 index 000000000..9f121c768 --- /dev/null +++ b/redhat/applications/rosegarden/rosegarden-3.5.13.1.spec @@ -0,0 +1,222 @@ +# Default version for this component +%define kdecomp rosegarden + +# Required for Mageia 2: removes the ldflag '--no-undefined' +%define _disable_ld_no_undefined 1 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_tdedocdir} + + +Name: trinity-%{kdecomp} +Summary: music editor and MIDI/audio sequencer [Trinity] +Version: 1.7.0 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Multimedia + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.rosegardenmusic.com/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +Patch0: rosegarden-3.5.13-ftbfs.patch + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: fftw-devel +BuildRequires: dssi-devel +BuildRequires: liblo-devel +BuildRequires: liblrdf-devel +BuildRequires: fontconfig-devel + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}jack-devel +%else +BuildRequires: lirc-devel +BuildRequires: jack-audio-connection-kit-devel +%endif + +Requires: lilypond +Requires: perl-XML-Twig + +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +Requires: libsndfile-progs +%else +%if 0%{?rhel} +Requires: libsndfile +%else +Requires: libsndfile-utils +%endif +%endif + +# LIRC does not exist on RHEL. +%if 0%{?fedora} > 0 +BuildRequires: lirc-devel +%endif + +Requires: %{name}-data == %{version}-%{release} + +%description +Rosegarden is a KDE application which provides a mixed Audio/MIDI +sequencer (for playback and recording), a multi-track editor, music +editing using both piano-roll and score notation, MIDI file IO, +lilypond and Csound files export, etc. + +%package data +Group: Applications/Multimedia +Requires: %{name} == %{version}-%{release} +Summary: music editor and MIDI/audio sequencer data files [Trinity] + +%description data +Rosegarden is a KDE application which provides a mixed Audio/MIDI +sequencer (for playback and recording), a multi-track editor, music +editing using both piano-roll and score notation, MIDI file IO, +lilypond and Csound files export, etc. + +This package provides the data files necessary for running Rosegarden + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 +%patch0 -p1 + +# Hard-coded path to TQT binaries spotted !!! +%__sed -i CMakeLists.txt \ + -e "s|/usr/bin/uic-tqt|%{tde_bindir}/uic-tqt|g" \ + -e "s|/usr/bin/tmoc|%{tde_bindir}/tmoc|g" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" + +%build +unset QTDIR && . %{_sysconfdir}/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt:%{tde_tdeincludedir}" + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +### FIXME FIXME FIXME !!! FTBFS on Mageia 2 / Mandriva 2011 +export LDFLAGS="${LDFLAGS} -lXft -lfontconfig -lkio -lkdeprint -llrdf -lfftw3f -llirc_client -ljack" + +%cmake \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DWANT_DEBUG=OFF \ + -DWANT_FULLDBG=OFF \ + -DWANT_SOUND=ON \ + -DWANT_JACK=ON \ + -DWANT_DSSI=ON \ +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} + -DWANT_LIRC=ON \ +%else + -DWANT_LIRC=OFF \ +%endif + -DWANT_PCH=OFF \ + -DWANT_TEST=OFF \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + + +%find_lang %{kdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +for f in hicolor locolor; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + +%postun +update-desktop-database %{tde_appdir} > /dev/null +for f in hicolor locolor; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + + +%files +%defattr(-,root,root,-) +%{tde_bindir}/rosegarden +%{tde_bindir}/rosegarden-audiofile-importer +%{tde_bindir}/rosegarden-lilypondview +%{tde_bindir}/rosegarden-project-package +%{tde_bindir}/rosegardensequencer + +%files data -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{tde_tdeappdir}/rosegarden.desktop +%{tde_datadir}/apps/profiles/rosegarden.profile.xml +%lang(en) %{tde_tdedocdir}/HTML/en/rosegarden +%lang(es) %{tde_tdedocdir}/HTML/es/rosegarden +%lang(ja) %{tde_tdedocdir}/HTML/ja/rosegarden +%lang(sv) %{tde_tdedocdir}/HTML/sv/rosegarden +%{tde_datadir}/apps/rosegarden +%{tde_datadir}/icons/hicolor/*/*/* +%{tde_datadir}/icons/locolor/*/*/* +%{tde_datadir}/mimelnk/audio/x-rosegarden-device.desktop +%{tde_datadir}/mimelnk/audio/x-rosegarden.desktop +%{tde_datadir}/mimelnk/audio/x-rosegarden21.desktop +%{tde_datadir}/mimelnk/audio/x-soundfont.desktop + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 1.7.0-3 +- Initial build for TDE 3.5.13.1 + +* Sun Apr 06 2012 Francois Andriot - 1.7.0-2 +- Updated to build with gcc 4.7. [Commit #15276f36] +- Enables JACK support + +* Sat Nov 26 2011 Francois Andriot - 1.7.0-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/rosegarden/rosegarden-3.5.13.2.spec b/redhat/applications/rosegarden/rosegarden-3.5.13.2.spec new file mode 100644 index 000000000..dc4b8cdc6 --- /dev/null +++ b/redhat/applications/rosegarden/rosegarden-3.5.13.2.spec @@ -0,0 +1,221 @@ +# Default version for this component +%define tdecomp rosegarden + +# Required for Mageia 2: removes the ldflag '--no-undefined' +%define _disable_ld_no_undefined 1 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_tdedocdir} + + +Name: trinity-%{tdecomp} +Summary: music editor and MIDI/audio sequencer [Trinity] +Version: 1.7.0 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Multimedia + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.rosegardenmusic.com/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: fftw-devel +BuildRequires: dssi-devel +BuildRequires: liblo-devel +BuildRequires: fontconfig-devel + +# LRDF support +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version} +BuildRequires: liblrdf-devel +%endif + +# JACK support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}jack-devel +%else +BuildRequires: jack-audio-connection-kit-devel +%endif + +# LIRC support +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_lirc 1 +BuildRequires: lirc-devel +%endif + +Requires: lilypond +Requires: perl-XML-Twig + +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +Requires: libsndfile-progs +%else +%if 0%{?rhel} +Requires: libsndfile +%else +Requires: libsndfile-utils +%endif +%endif + + +Requires: %{name}-data == %{version}-%{release} + +%description +Rosegarden is a KDE application which provides a mixed Audio/MIDI +sequencer (for playback and recording), a multi-track editor, music +editing using both piano-roll and score notation, MIDI file IO, +lilypond and Csound files export, etc. + +%package data +Group: Applications/Multimedia +Requires: %{name} == %{version}-%{release} +Summary: music editor and MIDI/audio sequencer data files [Trinity] + +%description data +Rosegarden is a KDE application which provides a mixed Audio/MIDI +sequencer (for playback and recording), a multi-track editor, music +editing using both piano-roll and score notation, MIDI file IO, +lilypond and Csound files export, etc. + +This package provides the data files necessary for running Rosegarden + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Hard-coded path to TQT binaries spotted !!! +%__sed -i CMakeLists.txt \ + -e "s|/usr/bin/uic-tqt|%{tde_bindir}/uic-tqt|g" \ + -e "s|/usr/bin/tmoc|%{tde_bindir}/tmoc|g" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" + +%build +unset QTDIR && . %{_sysconfdir}/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt:%{tde_tdeincludedir}" + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DWANT_DEBUG=OFF \ + -DWANT_FULLDBG=OFF \ + -DWANT_SOUND=ON \ + -DWANT_JACK=ON \ + -DWANT_DSSI=ON \ + %{?with_lirc:-DWANT_LIRC=ON} %{?!with_lirc:-DWANT_LIRC=OFF} \ + -DWANT_PCH=OFF \ + -DWANT_TEST=OFF \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + + +%find_lang %{tdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +for f in hicolor locolor; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + +%postun +update-desktop-database %{tde_appdir} > /dev/null +for f in hicolor locolor; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + + +%files +%defattr(-,root,root,-) +%{tde_bindir}/rosegarden +%{tde_bindir}/rosegarden-audiofile-importer +%{tde_bindir}/rosegarden-lilypondview +%{tde_bindir}/rosegarden-project-package +%{tde_bindir}/rosegardensequencer + +%files data -f %{tdecomp}.lang +%defattr(-,root,root,-) +%{tde_tdeappdir}/rosegarden.desktop +%{tde_datadir}/apps/profiles/rosegarden.profile.xml +%lang(en) %{tde_tdedocdir}/HTML/en/rosegarden +%lang(es) %{tde_tdedocdir}/HTML/es/rosegarden +%lang(ja) %{tde_tdedocdir}/HTML/ja/rosegarden +%lang(sv) %{tde_tdedocdir}/HTML/sv/rosegarden +%{tde_datadir}/apps/rosegarden +%{tde_datadir}/icons/hicolor/*/*/* +%{tde_datadir}/icons/locolor/*/*/* +%{tde_datadir}/mimelnk/audio/x-rosegarden-device.desktop +%{tde_datadir}/mimelnk/audio/x-rosegarden.desktop +%{tde_datadir}/mimelnk/audio/x-rosegarden21.desktop +%{tde_datadir}/mimelnk/audio/x-soundfont.desktop + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 1.7.0-4 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 1.7.0-3 +- Initial build for TDE 3.5.13.1 + +* Sun Apr 06 2012 Francois Andriot - 1.7.0-2 +- Updated to build with gcc 4.7. [Commit #15276f36] +- Enables JACK support + +* Sat Nov 26 2011 Francois Andriot - 1.7.0-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/rosegarden/rosegarden-3.5.13.spec b/redhat/applications/rosegarden/rosegarden-3.5.13.spec new file mode 100644 index 000000000..053e24ad0 --- /dev/null +++ b/redhat/applications/rosegarden/rosegarden-3.5.13.spec @@ -0,0 +1,222 @@ +# Default version for this component +%define kdecomp rosegarden + +# Required for Mageia 2: removes the ldflag '--no-undefined' +%define _disable_ld_no_undefined 1 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_tdedocdir} + + +Name: trinity-%{kdecomp} +Summary: music editor and MIDI/audio sequencer [Trinity] +Version: 1.7.0 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Multimedia + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.rosegardenmusic.com/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +Patch0: rosegarden-3.5.13-ftbfs.patch + +# [rosegarden] Updated to build with gcc 4.7. [Commit #15276f36] +Patch1: rosegarden-3.5.13-fix_gcc47_compilation.patch + +# [rosegarden] Updated to build with gcc 4.7. [Bug #958] +Patch2: rosegarden-3.5.13-fix_gcc47_compilation_2.patch + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: fftw-devel +BuildRequires: dssi-devel +BuildRequires: liblo-devel +BuildRequires: liblrdf-devel +BuildRequires: fontconfig-devel + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}jack-devel +%else +BuildRequires: lirc-devel +BuildRequires: jack-audio-connection-kit-devel +%endif + +Requires: lilypond +Requires: perl-XML-Twig + +%if 0%{?mgaversion} || 0%{?mdkversion} +Requires: libsndfile-progs +%else +%if 0%{?rhel} +Requires: libsndfile +%else +Requires: libsndfile-utils +%endif +%endif + +# LIRC does not exist on RHEL. +%if 0%{?fedora} > 0 +BuildRequires: lirc-devel +%endif + +Requires: %{name}-data == %{version}-%{release} + +%description +Rosegarden is a KDE application which provides a mixed Audio/MIDI +sequencer (for playback and recording), a multi-track editor, music +editing using both piano-roll and score notation, MIDI file IO, +lilypond and Csound files export, etc. + +%package data +Group: Applications/Multimedia +Requires: %{name} == %{version}-%{release} +Summary: music editor and MIDI/audio sequencer data files [Trinity] + +%description data +Rosegarden is a KDE application which provides a mixed Audio/MIDI +sequencer (for playback and recording), a multi-track editor, music +editing using both piano-roll and score notation, MIDI file IO, +lilypond and Csound files export, etc. + +This package provides the data files necessary for running Rosegarden + + +%prep +%setup -q -n applications/%{kdecomp} +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 + +# Hard-coded path to TQT binaries spotted !!! +%__sed -i CMakeLists.txt \ + -e "s|/usr/bin/uic-tqt|%{tde_bindir}/uic-tqt|g" \ + -e "s|/usr/bin/tmoc|%{tde_bindir}/tmoc|g" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" + +%build +unset QTDIR && . %{_sysconfdir}/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt:%{tde_tdeincludedir}" + +%if 0%{?rhel} || 0%{?fedora} +%__mkdir_p build +cd build +%endif + +### FIXME FIXME FIXME !!! FTBFS on Mageia 2 / Mandriva 2011 +export LDFLAGS="${LDFLAGS} -lXft -lfontconfig -lkio -lkdeprint -llrdf -lfftw3f -llirc_client -ljack" + +%cmake \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DWANT_DEBUG=OFF \ + -DWANT_FULLDBG=OFF \ + -DWANT_SOUND=ON \ + -DWANT_JACK=ON \ + -DWANT_DSSI=ON \ +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} + -DWANT_LIRC=ON \ +%else + -DWANT_LIRC=OFF \ +%endif + -DWANT_PCH=OFF \ + -DWANT_TEST=OFF \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + + +%find_lang %{kdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +for f in hicolor locolor; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + +%postun +update-desktop-database %{tde_appdir} > /dev/null +for f in hicolor locolor; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done + + +%files +%defattr(-,root,root,-) +%{tde_bindir}/rosegarden +%{tde_bindir}/rosegarden-audiofile-importer +%{tde_bindir}/rosegarden-lilypondview +%{tde_bindir}/rosegarden-project-package +%{tde_bindir}/rosegardensequencer + +%files data -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{tde_tdeappdir}/rosegarden.desktop +%{tde_datadir}/apps/profiles/rosegarden.profile.xml +%lang(en) %{tde_tdedocdir}/HTML/en/rosegarden +%lang(es) %{tde_tdedocdir}/HTML/es/rosegarden +%lang(ja) %{tde_tdedocdir}/HTML/ja/rosegarden +%lang(sv) %{tde_tdedocdir}/HTML/sv/rosegarden +%{tde_datadir}/apps/rosegarden +%{tde_datadir}/icons/hicolor/*/*/* +%{tde_datadir}/icons/locolor/*/*/* +%{tde_datadir}/mimelnk/audio/x-rosegarden-device.desktop +%{tde_datadir}/mimelnk/audio/x-rosegarden.desktop +%{tde_datadir}/mimelnk/audio/x-rosegarden21.desktop +%{tde_datadir}/mimelnk/audio/x-soundfont.desktop + + +%Changelog +* Sun Apr 06 2012 Francois Andriot - 1.7.0-2 +- Updated to build with gcc 4.7. [Commit #15276f36] +- Enables JACK support + +* Sat Nov 26 2011 Francois Andriot - 1.7.0-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/rosegarden/trinity-rosegarden-3.5.13.1.spec b/redhat/applications/rosegarden/trinity-rosegarden-3.5.13.1.spec deleted file mode 100644 index 9f121c768..000000000 --- a/redhat/applications/rosegarden/trinity-rosegarden-3.5.13.1.spec +++ /dev/null @@ -1,222 +0,0 @@ -# Default version for this component -%define kdecomp rosegarden - -# Required for Mageia 2: removes the ldflag '--no-undefined' -%define _disable_ld_no_undefined 1 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_tdedocdir} - - -Name: trinity-%{kdecomp} -Summary: music editor and MIDI/audio sequencer [Trinity] -Version: 1.7.0 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Multimedia - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.rosegardenmusic.com/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -Patch0: rosegarden-3.5.13-ftbfs.patch - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: fftw-devel -BuildRequires: dssi-devel -BuildRequires: liblo-devel -BuildRequires: liblrdf-devel -BuildRequires: fontconfig-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}jack-devel -%else -BuildRequires: lirc-devel -BuildRequires: jack-audio-connection-kit-devel -%endif - -Requires: lilypond -Requires: perl-XML-Twig - -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -Requires: libsndfile-progs -%else -%if 0%{?rhel} -Requires: libsndfile -%else -Requires: libsndfile-utils -%endif -%endif - -# LIRC does not exist on RHEL. -%if 0%{?fedora} > 0 -BuildRequires: lirc-devel -%endif - -Requires: %{name}-data == %{version}-%{release} - -%description -Rosegarden is a KDE application which provides a mixed Audio/MIDI -sequencer (for playback and recording), a multi-track editor, music -editing using both piano-roll and score notation, MIDI file IO, -lilypond and Csound files export, etc. - -%package data -Group: Applications/Multimedia -Requires: %{name} == %{version}-%{release} -Summary: music editor and MIDI/audio sequencer data files [Trinity] - -%description data -Rosegarden is a KDE application which provides a mixed Audio/MIDI -sequencer (for playback and recording), a multi-track editor, music -editing using both piano-roll and score notation, MIDI file IO, -lilypond and Csound files export, etc. - -This package provides the data files necessary for running Rosegarden - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 -%patch0 -p1 - -# Hard-coded path to TQT binaries spotted !!! -%__sed -i CMakeLists.txt \ - -e "s|/usr/bin/uic-tqt|%{tde_bindir}/uic-tqt|g" \ - -e "s|/usr/bin/tmoc|%{tde_bindir}/tmoc|g" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" - -%build -unset QTDIR && . %{_sysconfdir}/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt:%{tde_tdeincludedir}" - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -### FIXME FIXME FIXME !!! FTBFS on Mageia 2 / Mandriva 2011 -export LDFLAGS="${LDFLAGS} -lXft -lfontconfig -lkio -lkdeprint -llrdf -lfftw3f -llirc_client -ljack" - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - -DWANT_DEBUG=OFF \ - -DWANT_FULLDBG=OFF \ - -DWANT_SOUND=ON \ - -DWANT_JACK=ON \ - -DWANT_DSSI=ON \ -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} - -DWANT_LIRC=ON \ -%else - -DWANT_LIRC=OFF \ -%endif - -DWANT_PCH=OFF \ - -DWANT_TEST=OFF \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -update-desktop-database %{tde_appdir} > /dev/null -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/rosegarden -%{tde_bindir}/rosegarden-audiofile-importer -%{tde_bindir}/rosegarden-lilypondview -%{tde_bindir}/rosegarden-project-package -%{tde_bindir}/rosegardensequencer - -%files data -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_tdeappdir}/rosegarden.desktop -%{tde_datadir}/apps/profiles/rosegarden.profile.xml -%lang(en) %{tde_tdedocdir}/HTML/en/rosegarden -%lang(es) %{tde_tdedocdir}/HTML/es/rosegarden -%lang(ja) %{tde_tdedocdir}/HTML/ja/rosegarden -%lang(sv) %{tde_tdedocdir}/HTML/sv/rosegarden -%{tde_datadir}/apps/rosegarden -%{tde_datadir}/icons/hicolor/*/*/* -%{tde_datadir}/icons/locolor/*/*/* -%{tde_datadir}/mimelnk/audio/x-rosegarden-device.desktop -%{tde_datadir}/mimelnk/audio/x-rosegarden.desktop -%{tde_datadir}/mimelnk/audio/x-rosegarden21.desktop -%{tde_datadir}/mimelnk/audio/x-soundfont.desktop - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 1.7.0-3 -- Initial build for TDE 3.5.13.1 - -* Sun Apr 06 2012 Francois Andriot - 1.7.0-2 -- Updated to build with gcc 4.7. [Commit #15276f36] -- Enables JACK support - -* Sat Nov 26 2011 Francois Andriot - 1.7.0-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/rosegarden/trinity-rosegarden-3.5.13.2.spec b/redhat/applications/rosegarden/trinity-rosegarden-3.5.13.2.spec deleted file mode 100644 index dc4b8cdc6..000000000 --- a/redhat/applications/rosegarden/trinity-rosegarden-3.5.13.2.spec +++ /dev/null @@ -1,221 +0,0 @@ -# Default version for this component -%define tdecomp rosegarden - -# Required for Mageia 2: removes the ldflag '--no-undefined' -%define _disable_ld_no_undefined 1 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_tdedocdir} - - -Name: trinity-%{tdecomp} -Summary: music editor and MIDI/audio sequencer [Trinity] -Version: 1.7.0 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Multimedia - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.rosegardenmusic.com/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: fftw-devel -BuildRequires: dssi-devel -BuildRequires: liblo-devel -BuildRequires: fontconfig-devel - -# LRDF support -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version} -BuildRequires: liblrdf-devel -%endif - -# JACK support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}jack-devel -%else -BuildRequires: jack-audio-connection-kit-devel -%endif - -# LIRC support -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_lirc 1 -BuildRequires: lirc-devel -%endif - -Requires: lilypond -Requires: perl-XML-Twig - -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -Requires: libsndfile-progs -%else -%if 0%{?rhel} -Requires: libsndfile -%else -Requires: libsndfile-utils -%endif -%endif - - -Requires: %{name}-data == %{version}-%{release} - -%description -Rosegarden is a KDE application which provides a mixed Audio/MIDI -sequencer (for playback and recording), a multi-track editor, music -editing using both piano-roll and score notation, MIDI file IO, -lilypond and Csound files export, etc. - -%package data -Group: Applications/Multimedia -Requires: %{name} == %{version}-%{release} -Summary: music editor and MIDI/audio sequencer data files [Trinity] - -%description data -Rosegarden is a KDE application which provides a mixed Audio/MIDI -sequencer (for playback and recording), a multi-track editor, music -editing using both piano-roll and score notation, MIDI file IO, -lilypond and Csound files export, etc. - -This package provides the data files necessary for running Rosegarden - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Hard-coded path to TQT binaries spotted !!! -%__sed -i CMakeLists.txt \ - -e "s|/usr/bin/uic-tqt|%{tde_bindir}/uic-tqt|g" \ - -e "s|/usr/bin/tmoc|%{tde_bindir}/tmoc|g" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" - -%build -unset QTDIR && . %{_sysconfdir}/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt:%{tde_tdeincludedir}" - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - -DWANT_DEBUG=OFF \ - -DWANT_FULLDBG=OFF \ - -DWANT_SOUND=ON \ - -DWANT_JACK=ON \ - -DWANT_DSSI=ON \ - %{?with_lirc:-DWANT_LIRC=ON} %{?!with_lirc:-DWANT_LIRC=OFF} \ - -DWANT_PCH=OFF \ - -DWANT_TEST=OFF \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - - -%find_lang %{tdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -update-desktop-database %{tde_appdir} > /dev/null -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/rosegarden -%{tde_bindir}/rosegarden-audiofile-importer -%{tde_bindir}/rosegarden-lilypondview -%{tde_bindir}/rosegarden-project-package -%{tde_bindir}/rosegardensequencer - -%files data -f %{tdecomp}.lang -%defattr(-,root,root,-) -%{tde_tdeappdir}/rosegarden.desktop -%{tde_datadir}/apps/profiles/rosegarden.profile.xml -%lang(en) %{tde_tdedocdir}/HTML/en/rosegarden -%lang(es) %{tde_tdedocdir}/HTML/es/rosegarden -%lang(ja) %{tde_tdedocdir}/HTML/ja/rosegarden -%lang(sv) %{tde_tdedocdir}/HTML/sv/rosegarden -%{tde_datadir}/apps/rosegarden -%{tde_datadir}/icons/hicolor/*/*/* -%{tde_datadir}/icons/locolor/*/*/* -%{tde_datadir}/mimelnk/audio/x-rosegarden-device.desktop -%{tde_datadir}/mimelnk/audio/x-rosegarden.desktop -%{tde_datadir}/mimelnk/audio/x-rosegarden21.desktop -%{tde_datadir}/mimelnk/audio/x-soundfont.desktop - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 1.7.0-4 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 1.7.0-3 -- Initial build for TDE 3.5.13.1 - -* Sun Apr 06 2012 Francois Andriot - 1.7.0-2 -- Updated to build with gcc 4.7. [Commit #15276f36] -- Enables JACK support - -* Sat Nov 26 2011 Francois Andriot - 1.7.0-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/rosegarden/trinity-rosegarden-3.5.13.spec b/redhat/applications/rosegarden/trinity-rosegarden-3.5.13.spec deleted file mode 100644 index 053e24ad0..000000000 --- a/redhat/applications/rosegarden/trinity-rosegarden-3.5.13.spec +++ /dev/null @@ -1,222 +0,0 @@ -# Default version for this component -%define kdecomp rosegarden - -# Required for Mageia 2: removes the ldflag '--no-undefined' -%define _disable_ld_no_undefined 1 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_tdedocdir} - - -Name: trinity-%{kdecomp} -Summary: music editor and MIDI/audio sequencer [Trinity] -Version: 1.7.0 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Multimedia - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.rosegardenmusic.com/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -Patch0: rosegarden-3.5.13-ftbfs.patch - -# [rosegarden] Updated to build with gcc 4.7. [Commit #15276f36] -Patch1: rosegarden-3.5.13-fix_gcc47_compilation.patch - -# [rosegarden] Updated to build with gcc 4.7. [Bug #958] -Patch2: rosegarden-3.5.13-fix_gcc47_compilation_2.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: fftw-devel -BuildRequires: dssi-devel -BuildRequires: liblo-devel -BuildRequires: liblrdf-devel -BuildRequires: fontconfig-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}jack-devel -%else -BuildRequires: lirc-devel -BuildRequires: jack-audio-connection-kit-devel -%endif - -Requires: lilypond -Requires: perl-XML-Twig - -%if 0%{?mgaversion} || 0%{?mdkversion} -Requires: libsndfile-progs -%else -%if 0%{?rhel} -Requires: libsndfile -%else -Requires: libsndfile-utils -%endif -%endif - -# LIRC does not exist on RHEL. -%if 0%{?fedora} > 0 -BuildRequires: lirc-devel -%endif - -Requires: %{name}-data == %{version}-%{release} - -%description -Rosegarden is a KDE application which provides a mixed Audio/MIDI -sequencer (for playback and recording), a multi-track editor, music -editing using both piano-roll and score notation, MIDI file IO, -lilypond and Csound files export, etc. - -%package data -Group: Applications/Multimedia -Requires: %{name} == %{version}-%{release} -Summary: music editor and MIDI/audio sequencer data files [Trinity] - -%description data -Rosegarden is a KDE application which provides a mixed Audio/MIDI -sequencer (for playback and recording), a multi-track editor, music -editing using both piano-roll and score notation, MIDI file IO, -lilypond and Csound files export, etc. - -This package provides the data files necessary for running Rosegarden - - -%prep -%setup -q -n applications/%{kdecomp} -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 - -# Hard-coded path to TQT binaries spotted !!! -%__sed -i CMakeLists.txt \ - -e "s|/usr/bin/uic-tqt|%{tde_bindir}/uic-tqt|g" \ - -e "s|/usr/bin/tmoc|%{tde_bindir}/tmoc|g" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" - -%build -unset QTDIR && . %{_sysconfdir}/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt:%{tde_tdeincludedir}" - -%if 0%{?rhel} || 0%{?fedora} -%__mkdir_p build -cd build -%endif - -### FIXME FIXME FIXME !!! FTBFS on Mageia 2 / Mandriva 2011 -export LDFLAGS="${LDFLAGS} -lXft -lfontconfig -lkio -lkdeprint -llrdf -lfftw3f -llirc_client -ljack" - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - -DWANT_DEBUG=OFF \ - -DWANT_FULLDBG=OFF \ - -DWANT_SOUND=ON \ - -DWANT_JACK=ON \ - -DWANT_DSSI=ON \ -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} - -DWANT_LIRC=ON \ -%else - -DWANT_LIRC=OFF \ -%endif - -DWANT_PCH=OFF \ - -DWANT_TEST=OFF \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - -%postun -update-desktop-database %{tde_appdir} > /dev/null -for f in hicolor locolor; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done - - -%files -%defattr(-,root,root,-) -%{tde_bindir}/rosegarden -%{tde_bindir}/rosegarden-audiofile-importer -%{tde_bindir}/rosegarden-lilypondview -%{tde_bindir}/rosegarden-project-package -%{tde_bindir}/rosegardensequencer - -%files data -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_tdeappdir}/rosegarden.desktop -%{tde_datadir}/apps/profiles/rosegarden.profile.xml -%lang(en) %{tde_tdedocdir}/HTML/en/rosegarden -%lang(es) %{tde_tdedocdir}/HTML/es/rosegarden -%lang(ja) %{tde_tdedocdir}/HTML/ja/rosegarden -%lang(sv) %{tde_tdedocdir}/HTML/sv/rosegarden -%{tde_datadir}/apps/rosegarden -%{tde_datadir}/icons/hicolor/*/*/* -%{tde_datadir}/icons/locolor/*/*/* -%{tde_datadir}/mimelnk/audio/x-rosegarden-device.desktop -%{tde_datadir}/mimelnk/audio/x-rosegarden.desktop -%{tde_datadir}/mimelnk/audio/x-rosegarden21.desktop -%{tde_datadir}/mimelnk/audio/x-soundfont.desktop - - -%Changelog -* Sun Apr 06 2012 Francois Andriot - 1.7.0-2 -- Updated to build with gcc 4.7. [Commit #15276f36] -- Enables JACK support - -* Sat Nov 26 2011 Francois Andriot - 1.7.0-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/smartcardauth/smartcardauth-3.5.13.1.spec b/redhat/applications/smartcardauth/smartcardauth-3.5.13.1.spec new file mode 100644 index 000000000..c2effe795 --- /dev/null +++ b/redhat/applications/smartcardauth/smartcardauth-3.5.13.1.spec @@ -0,0 +1,156 @@ +# Default version for this component +%define kdecomp smartcardauth + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_tdedocdir} + + +Name: trinity-%{kdecomp} +Summary: SmartCard Login and LUKS Decrypt, Setup Utility +Version: 1.0 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/System + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz +Patch0: smartcardauth-3.5.13-ftbfs.patch + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils + +#BuildRequires: perl-PAR-Packer +%if 0%{?mgaversion} || 0%{?mdkversion} +Requires: perl-pcsc-perl +%endif +%if 0%{?rhel} || 0%{?fedora} +Requires: pcsc-perl +%endif +%if 0%{?suse_version} +Requires: perl-pcsc +%endif + +%description +This utility will allow you to set up your computer to accept a SmartCard as an authentication source for: +- Your encrypted LUKS partition +- TDE3.x, including automatic login, lock, and unlock features + +It is designed to work with any ISO 7816-1,2,3,4 compliant smartcard +Examples of such cards are: +- The Schlumberger MultiFlex +- The ACS ACOS5 / ACOS6 series of cryptographic ISO 7816 cards + +If a card is chosen that has PKSC support, such as the ACOS cards, this utility can run +simultaneously with the certificate reading program(s) to provide single sign on +in addition to the PKCS certificate functionality + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +unset QTDIR; . /etc/profile.d/qt3.sh +%setup -q -n %{kdecomp}-3.5.13.1 +%patch0 -p1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "src/Makefile" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|/usr/include/qt3|${QTINC}|g" + +%__sed -i "Makefile" \ + -e "s|/usr/lib/perl5/Chipcard|/usr/lib64/perl5/vendor_perl/Chipcard|g" + +%build +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +./build_ckpasswd + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} + +%__install -D -m 755 scriptor_standalone.pl %{buildroot}%{tde_bindir}/scriptor.pl +%__install -D -m 755 src/ckpasswd %{buildroot}%{tde_bindir}/smartauthckpasswd +#%__install -D -m 755 src/ckpasswd %{buildroot}%{tde_bindir}/smartauthmon +%__ln_s smartauthckpasswd %{buildroot}%{tde_bindir}/smartauthmon +%__cp -Rp usr/* %{buildroot}%{tde_prefix} + +%__mkdir_p %{buildroot}%{_sysconfdir} +%__cp -Rp etc/* %{buildroot}%{_sysconfdir} + + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc gpl.txt +%{_sysconfdir}/init/smartauthlogin.conf +%{_sysconfdir}/smartauth/smartauth.sh.in +%{_sysconfdir}/smartauth/smartauthmon.sh.in +%{tde_bindir}/cryptosmartcard.sh +%{tde_bindir}/scriptor.pl +%{tde_bindir}/setupcard.sh +%{tde_bindir}/setupslavecard.sh +%{tde_bindir}/smartauth.sh +%{tde_bindir}/smartauthckpasswd +%{tde_bindir}/smartauthmon +%{tde_datadir}/applications/smartcardauth.desktop +%{tde_datadir}/applications/smartcardrestrict.desktop +%{tde_datadir}/icons/hicolor/16x16/apps/smartcardauth.png +%{tde_datadir}/icons/hicolor/32x32/apps/smartcardauth.png +%{tde_datadir}/initramfs-tools/hooks/cryptlukssc + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 1.0-2 +- Initial build for TDE 3.5.13.1 + +* Sat Dec 03 2011 Francois Andriot - 1.0-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/smartcardauth/smartcardauth-3.5.13.2.spec b/redhat/applications/smartcardauth/smartcardauth-3.5.13.2.spec new file mode 100644 index 000000000..4e5c3f16d --- /dev/null +++ b/redhat/applications/smartcardauth/smartcardauth-3.5.13.2.spec @@ -0,0 +1,157 @@ +# Default version for this component +%define tdecomp smartcardauth + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_tdedocdir} + + +Name: trinity-%{tdecomp} +Summary: SmartCard Login and LUKS Decrypt, Setup Utility +Version: 1.0 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/System + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils + +#BuildRequires: perl-PAR-Packer +%if 0%{?mgaversion} || 0%{?mdkversion} +Requires: perl-pcsc-perl +%endif +%if 0%{?rhel} || 0%{?fedora} +Requires: pcsc-perl +%endif +%if 0%{?suse_version} +Requires: perl-pcsc +%endif + +%description +This utility will allow you to set up your computer to accept a SmartCard as an authentication source for: +- Your encrypted LUKS partition +- TDE3.x, including automatic login, lock, and unlock features + +It is designed to work with any ISO 7816-1,2,3,4 compliant smartcard +Examples of such cards are: +- The Schlumberger MultiFlex +- The ACS ACOS5 / ACOS6 series of cryptographic ISO 7816 cards + +If a card is chosen that has PKSC support, such as the ACOS cards, this utility can run +simultaneously with the certificate reading program(s) to provide single sign on +in addition to the PKCS certificate functionality + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +unset QTDIR; . /etc/profile.d/qt3.sh +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "src/Makefile" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|/usr/include/qt3|${QTINC}|g" + +%__sed -i "Makefile" \ + -e "s|/usr/lib/perl5/Chipcard|/usr/lib64/perl5/vendor_perl/Chipcard|g" + +%build +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +./build_ckpasswd + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} + +%__install -D -m 755 scriptor_standalone.pl %{buildroot}%{tde_bindir}/scriptor.pl +%__install -D -m 755 src/ckpasswd %{buildroot}%{tde_bindir}/smartauthckpasswd +#%__install -D -m 755 src/ckpasswd %{buildroot}%{tde_bindir}/smartauthmon +%__ln_s smartauthckpasswd %{buildroot}%{tde_bindir}/smartauthmon +%__cp -Rp usr/* %{buildroot}%{tde_prefix} + +%__mkdir_p %{buildroot}%{_sysconfdir} +%__cp -Rp etc/* %{buildroot}%{_sysconfdir} + + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc gpl.txt +%{_sysconfdir}/init/smartauthlogin.conf +%{_sysconfdir}/smartauth/smartauth.sh.in +%{_sysconfdir}/smartauth/smartauthmon.sh.in +%{tde_bindir}/cryptosmartcard.sh +%{tde_bindir}/scriptor.pl +%{tde_bindir}/setupcard.sh +%{tde_bindir}/setupslavecard.sh +%{tde_bindir}/smartauth.sh +%{tde_bindir}/smartauthckpasswd +%{tde_bindir}/smartauthmon +%{tde_datadir}/applications/smartcardauth.desktop +%{tde_datadir}/applications/smartcardrestrict.desktop +%{tde_datadir}/icons/hicolor/16x16/apps/smartcardauth.png +%{tde_datadir}/icons/hicolor/32x32/apps/smartcardauth.png +%{tde_datadir}/initramfs-tools/hooks/cryptlukssc + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 1.0-3 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 1.0-2 +- Initial build for TDE 3.5.13.1 + +* Sat Dec 03 2011 Francois Andriot - 1.0-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/smartcardauth/smartcardauth-3.5.13.spec b/redhat/applications/smartcardauth/smartcardauth-3.5.13.spec new file mode 100644 index 000000000..9cbfc6941 --- /dev/null +++ b/redhat/applications/smartcardauth/smartcardauth-3.5.13.spec @@ -0,0 +1,144 @@ +# Default version for this component +%define kdecomp smartcardauth + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_tdedocdir} + + +Name: trinity-%{kdecomp} +Summary: SmartCard Login and LUKS Decrypt, Setup Utility +Version: 1.0 +Release: 1%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/System + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz +Patch0: smartcardauth-3.5.13-ftbfs.patch + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils + +#BuildRequires: perl-PAR-Packer +%if 0%{?mgaversion} || 0%{?mdkversion} +Requires: perl-pcsc-perl +%else +Requires: pcsc-perl +%endif + +%description +This utility will allow you to set up your computer to accept a SmartCard as an authentication source for: +- Your encrypted LUKS partition +- TDE3.x, including automatic login, lock, and unlock features + +It is designed to work with any ISO 7816-1,2,3,4 compliant smartcard +Examples of such cards are: +- The Schlumberger MultiFlex +- The ACS ACOS5 / ACOS6 series of cryptographic ISO 7816 cards + +If a card is chosen that has PKSC support, such as the ACOS cards, this utility can run +simultaneously with the certificate reading program(s) to provide single sign on +in addition to the PKCS certificate functionality + + +%prep +unset QTDIR; . /etc/profile.d/qt.sh +%setup -q -n applications/%{kdecomp} +%patch0 -p1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "src/Makefile" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|/usr/include/qt3|${QTINC}|g" + +%__sed -i "Makefile" \ + -e "s|/usr/lib/perl5/Chipcard|/usr/lib64/perl5/vendor_perl/Chipcard|g" + +%build +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +./build_ckpasswd + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} + +%__install -D -m 755 scriptor_standalone.pl %{buildroot}%{tde_bindir}/scriptor.pl +%__install -D -m 755 src/ckpasswd %{buildroot}%{tde_bindir}/smartauthckpasswd +#%__install -D -m 755 src/ckpasswd %{buildroot}%{tde_bindir}/smartauthmon +%__ln_s smartauthckpasswd %{buildroot}%{tde_bindir}/smartauthmon +%__cp -Rp usr/* %{buildroot}%{tde_prefix} + +%__mkdir_p %{buildroot}%{_sysconfdir} +%__cp -Rp etc/* %{buildroot}%{_sysconfdir} + + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc gpl.txt +%{_sysconfdir}/init/smartauthlogin.conf +%{_sysconfdir}/smartauth/smartauth.sh.in +%{_sysconfdir}/smartauth/smartauthmon.sh.in +%{tde_bindir}/cryptosmartcard.sh +%{tde_bindir}/scriptor.pl +%{tde_bindir}/setupcard.sh +%{tde_bindir}/setupslavecard.sh +%{tde_bindir}/smartauth.sh +%{tde_bindir}/smartauthckpasswd +%{tde_bindir}/smartauthmon +%{tde_datadir}/applications/smartcardauth.desktop +%{tde_datadir}/applications/smartcardrestrict.desktop +%{tde_datadir}/icons/hicolor/16x16/apps/smartcardauth.png +%{tde_datadir}/icons/hicolor/32x32/apps/smartcardauth.png +%{tde_datadir}/initramfs-tools/hooks/cryptlukssc + + +%Changelog +* Sat Dec 03 2011 Francois Andriot - 1.0-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/smartcardauth/trinity-smartcardauth-3.5.13.1.spec b/redhat/applications/smartcardauth/trinity-smartcardauth-3.5.13.1.spec deleted file mode 100644 index c2effe795..000000000 --- a/redhat/applications/smartcardauth/trinity-smartcardauth-3.5.13.1.spec +++ /dev/null @@ -1,156 +0,0 @@ -# Default version for this component -%define kdecomp smartcardauth - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_tdedocdir} - - -Name: trinity-%{kdecomp} -Summary: SmartCard Login and LUKS Decrypt, Setup Utility -Version: 1.0 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/System - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz -Patch0: smartcardauth-3.5.13-ftbfs.patch - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - -#BuildRequires: perl-PAR-Packer -%if 0%{?mgaversion} || 0%{?mdkversion} -Requires: perl-pcsc-perl -%endif -%if 0%{?rhel} || 0%{?fedora} -Requires: pcsc-perl -%endif -%if 0%{?suse_version} -Requires: perl-pcsc -%endif - -%description -This utility will allow you to set up your computer to accept a SmartCard as an authentication source for: -- Your encrypted LUKS partition -- TDE3.x, including automatic login, lock, and unlock features - -It is designed to work with any ISO 7816-1,2,3,4 compliant smartcard -Examples of such cards are: -- The Schlumberger MultiFlex -- The ACS ACOS5 / ACOS6 series of cryptographic ISO 7816 cards - -If a card is chosen that has PKSC support, such as the ACOS cards, this utility can run -simultaneously with the certificate reading program(s) to provide single sign on -in addition to the PKCS certificate functionality - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -unset QTDIR; . /etc/profile.d/qt3.sh -%setup -q -n %{kdecomp}-3.5.13.1 -%patch0 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "src/Makefile" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|/usr/include/qt3|${QTINC}|g" - -%__sed -i "Makefile" \ - -e "s|/usr/lib/perl5/Chipcard|/usr/lib64/perl5/vendor_perl/Chipcard|g" - -%build -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -./build_ckpasswd - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} - -%__install -D -m 755 scriptor_standalone.pl %{buildroot}%{tde_bindir}/scriptor.pl -%__install -D -m 755 src/ckpasswd %{buildroot}%{tde_bindir}/smartauthckpasswd -#%__install -D -m 755 src/ckpasswd %{buildroot}%{tde_bindir}/smartauthmon -%__ln_s smartauthckpasswd %{buildroot}%{tde_bindir}/smartauthmon -%__cp -Rp usr/* %{buildroot}%{tde_prefix} - -%__mkdir_p %{buildroot}%{_sysconfdir} -%__cp -Rp etc/* %{buildroot}%{_sysconfdir} - - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc gpl.txt -%{_sysconfdir}/init/smartauthlogin.conf -%{_sysconfdir}/smartauth/smartauth.sh.in -%{_sysconfdir}/smartauth/smartauthmon.sh.in -%{tde_bindir}/cryptosmartcard.sh -%{tde_bindir}/scriptor.pl -%{tde_bindir}/setupcard.sh -%{tde_bindir}/setupslavecard.sh -%{tde_bindir}/smartauth.sh -%{tde_bindir}/smartauthckpasswd -%{tde_bindir}/smartauthmon -%{tde_datadir}/applications/smartcardauth.desktop -%{tde_datadir}/applications/smartcardrestrict.desktop -%{tde_datadir}/icons/hicolor/16x16/apps/smartcardauth.png -%{tde_datadir}/icons/hicolor/32x32/apps/smartcardauth.png -%{tde_datadir}/initramfs-tools/hooks/cryptlukssc - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 1.0-2 -- Initial build for TDE 3.5.13.1 - -* Sat Dec 03 2011 Francois Andriot - 1.0-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/smartcardauth/trinity-smartcardauth-3.5.13.2.spec b/redhat/applications/smartcardauth/trinity-smartcardauth-3.5.13.2.spec deleted file mode 100644 index 4e5c3f16d..000000000 --- a/redhat/applications/smartcardauth/trinity-smartcardauth-3.5.13.2.spec +++ /dev/null @@ -1,157 +0,0 @@ -# Default version for this component -%define tdecomp smartcardauth - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_tdedocdir} - - -Name: trinity-%{tdecomp} -Summary: SmartCard Login and LUKS Decrypt, Setup Utility -Version: 1.0 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/System - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils - -#BuildRequires: perl-PAR-Packer -%if 0%{?mgaversion} || 0%{?mdkversion} -Requires: perl-pcsc-perl -%endif -%if 0%{?rhel} || 0%{?fedora} -Requires: pcsc-perl -%endif -%if 0%{?suse_version} -Requires: perl-pcsc -%endif - -%description -This utility will allow you to set up your computer to accept a SmartCard as an authentication source for: -- Your encrypted LUKS partition -- TDE3.x, including automatic login, lock, and unlock features - -It is designed to work with any ISO 7816-1,2,3,4 compliant smartcard -Examples of such cards are: -- The Schlumberger MultiFlex -- The ACS ACOS5 / ACOS6 series of cryptographic ISO 7816 cards - -If a card is chosen that has PKSC support, such as the ACOS cards, this utility can run -simultaneously with the certificate reading program(s) to provide single sign on -in addition to the PKCS certificate functionality - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -unset QTDIR; . /etc/profile.d/qt3.sh -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "src/Makefile" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|/usr/include/qt3|${QTINC}|g" - -%__sed -i "Makefile" \ - -e "s|/usr/lib/perl5/Chipcard|/usr/lib64/perl5/vendor_perl/Chipcard|g" - -%build -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -./build_ckpasswd - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} - -%__install -D -m 755 scriptor_standalone.pl %{buildroot}%{tde_bindir}/scriptor.pl -%__install -D -m 755 src/ckpasswd %{buildroot}%{tde_bindir}/smartauthckpasswd -#%__install -D -m 755 src/ckpasswd %{buildroot}%{tde_bindir}/smartauthmon -%__ln_s smartauthckpasswd %{buildroot}%{tde_bindir}/smartauthmon -%__cp -Rp usr/* %{buildroot}%{tde_prefix} - -%__mkdir_p %{buildroot}%{_sysconfdir} -%__cp -Rp etc/* %{buildroot}%{_sysconfdir} - - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc gpl.txt -%{_sysconfdir}/init/smartauthlogin.conf -%{_sysconfdir}/smartauth/smartauth.sh.in -%{_sysconfdir}/smartauth/smartauthmon.sh.in -%{tde_bindir}/cryptosmartcard.sh -%{tde_bindir}/scriptor.pl -%{tde_bindir}/setupcard.sh -%{tde_bindir}/setupslavecard.sh -%{tde_bindir}/smartauth.sh -%{tde_bindir}/smartauthckpasswd -%{tde_bindir}/smartauthmon -%{tde_datadir}/applications/smartcardauth.desktop -%{tde_datadir}/applications/smartcardrestrict.desktop -%{tde_datadir}/icons/hicolor/16x16/apps/smartcardauth.png -%{tde_datadir}/icons/hicolor/32x32/apps/smartcardauth.png -%{tde_datadir}/initramfs-tools/hooks/cryptlukssc - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 1.0-3 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 1.0-2 -- Initial build for TDE 3.5.13.1 - -* Sat Dec 03 2011 Francois Andriot - 1.0-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/smartcardauth/trinity-smartcardauth-3.5.13.spec b/redhat/applications/smartcardauth/trinity-smartcardauth-3.5.13.spec deleted file mode 100644 index 9cbfc6941..000000000 --- a/redhat/applications/smartcardauth/trinity-smartcardauth-3.5.13.spec +++ /dev/null @@ -1,144 +0,0 @@ -# Default version for this component -%define kdecomp smartcardauth - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_tdedocdir} - - -Name: trinity-%{kdecomp} -Summary: SmartCard Login and LUKS Decrypt, Setup Utility -Version: 1.0 -Release: 1%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/System - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz -Patch0: smartcardauth-3.5.13-ftbfs.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils - -#BuildRequires: perl-PAR-Packer -%if 0%{?mgaversion} || 0%{?mdkversion} -Requires: perl-pcsc-perl -%else -Requires: pcsc-perl -%endif - -%description -This utility will allow you to set up your computer to accept a SmartCard as an authentication source for: -- Your encrypted LUKS partition -- TDE3.x, including automatic login, lock, and unlock features - -It is designed to work with any ISO 7816-1,2,3,4 compliant smartcard -Examples of such cards are: -- The Schlumberger MultiFlex -- The ACS ACOS5 / ACOS6 series of cryptographic ISO 7816 cards - -If a card is chosen that has PKSC support, such as the ACOS cards, this utility can run -simultaneously with the certificate reading program(s) to provide single sign on -in addition to the PKCS certificate functionality - - -%prep -unset QTDIR; . /etc/profile.d/qt.sh -%setup -q -n applications/%{kdecomp} -%patch0 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "src/Makefile" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|/usr/include/qt3|${QTINC}|g" - -%__sed -i "Makefile" \ - -e "s|/usr/lib/perl5/Chipcard|/usr/lib64/perl5/vendor_perl/Chipcard|g" - -%build -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -./build_ckpasswd - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} - -%__install -D -m 755 scriptor_standalone.pl %{buildroot}%{tde_bindir}/scriptor.pl -%__install -D -m 755 src/ckpasswd %{buildroot}%{tde_bindir}/smartauthckpasswd -#%__install -D -m 755 src/ckpasswd %{buildroot}%{tde_bindir}/smartauthmon -%__ln_s smartauthckpasswd %{buildroot}%{tde_bindir}/smartauthmon -%__cp -Rp usr/* %{buildroot}%{tde_prefix} - -%__mkdir_p %{buildroot}%{_sysconfdir} -%__cp -Rp etc/* %{buildroot}%{_sysconfdir} - - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc gpl.txt -%{_sysconfdir}/init/smartauthlogin.conf -%{_sysconfdir}/smartauth/smartauth.sh.in -%{_sysconfdir}/smartauth/smartauthmon.sh.in -%{tde_bindir}/cryptosmartcard.sh -%{tde_bindir}/scriptor.pl -%{tde_bindir}/setupcard.sh -%{tde_bindir}/setupslavecard.sh -%{tde_bindir}/smartauth.sh -%{tde_bindir}/smartauthckpasswd -%{tde_bindir}/smartauthmon -%{tde_datadir}/applications/smartcardauth.desktop -%{tde_datadir}/applications/smartcardrestrict.desktop -%{tde_datadir}/icons/hicolor/16x16/apps/smartcardauth.png -%{tde_datadir}/icons/hicolor/32x32/apps/smartcardauth.png -%{tde_datadir}/initramfs-tools/hooks/cryptlukssc - - -%Changelog -* Sat Dec 03 2011 Francois Andriot - 1.0-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/smb4k/smb4k-3.5.13.1.spec b/redhat/applications/smb4k/smb4k-3.5.13.1.spec new file mode 100644 index 000000000..e54dc0eb4 --- /dev/null +++ b/redhat/applications/smb4k/smb4k-3.5.13.1.spec @@ -0,0 +1,188 @@ +# Default version for this component +%define kdecomp smb4k + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_tdedocdir} + + +Name: trinity-%{kdecomp} +Summary: A Samba (SMB) share advanced browser for Trinity +Version: 0.9.4 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-arts-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +Smb4K is a SMB (Windows) share browser for KDE. It uses the Samba software +suite to access the SMB shares of the local network neighborhood. Its purpose +is to provide a program that's easy to use and has as many features as +possible. + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/smb4k +%{tde_bindir}/smb4k_cat +%{tde_bindir}/smb4k_kill +%{tde_bindir}/smb4k_mount +%{tde_bindir}/smb4k_mv +%{tde_bindir}/smb4k_umount +%{tde_libdir}/libsmb4kcore.so.2 +%{tde_libdir}/libsmb4kcore.so.2.0.0 +%{tde_libdir}/libsmb4kdialogs.la +%{tde_libdir}/libsmb4kdialogs.so +%{tde_tdelibdir}/konqsidebar_smb4k.la +%{tde_tdelibdir}/konqsidebar_smb4k.so +%{tde_tdelibdir}/libsmb4kconfigdialog.la +%{tde_tdelibdir}/libsmb4kconfigdialog.so +%{tde_tdelibdir}/libsmb4knetworkbrowser.la +%{tde_tdelibdir}/libsmb4knetworkbrowser.so +%{tde_tdelibdir}/libsmb4ksearchdialog.la +%{tde_tdelibdir}/libsmb4ksearchdialog.so +%{tde_tdelibdir}/libsmb4ksharesiconview.la +%{tde_tdelibdir}/libsmb4ksharesiconview.so +%{tde_tdelibdir}/libsmb4kshareslistview.la +%{tde_tdelibdir}/libsmb4kshareslistview.so +%{tde_tdeappdir}/smb4k.desktop +%{tde_datadir}/apps/konqsidebartng/add/smb4k_add.desktop +%{tde_datadir}/apps/smb4k/smb4k_shell.rc +%{tde_datadir}/apps/smb4knetworkbrowserpart/smb4knetworkbrowser_part.rc +%{tde_datadir}/apps/smb4ksharesiconviewpart/smb4ksharesiconview_part.rc +%{tde_datadir}/apps/smb4kshareslistviewpart/smb4kshareslistview_part.rc +%{tde_datadir}/config.kcfg/smb4k.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/smb4k.png +%{tde_tdedocdir}/HTML/en/smb4k/ + +%post +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/crystalsvg || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : +/sbin/ldconfig || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/crystalsvg || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : +/sbin/ldconfig || : + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +%{summary} + +%files devel +%{tde_tdeincludedir}/*.h +%{tde_libdir}/libsmb4kcore.la +%{tde_libdir}/libsmb4kcore.so + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +# SMP safe ! +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + + +%clean +%__rm -rf %{buildroot} + + + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.9.4-3 +- Initial build for TDE 3.5.13.1 + +* Sun Apr 06 2012 Francois Andriot - 0.9.4-2 +- Rebuild for Fedora 17 +- Fix compilation with GCC 4.7 |Commit #b4c7fd48] + +* Wed Nov 30 2011 Francois Andriot - 0.9.4-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/smb4k/smb4k-3.5.13.2.spec b/redhat/applications/smb4k/smb4k-3.5.13.2.spec new file mode 100644 index 000000000..ff61163b4 --- /dev/null +++ b/redhat/applications/smb4k/smb4k-3.5.13.2.spec @@ -0,0 +1,192 @@ +# Default version for this component +%define tdecomp smb4k + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_tdedocdir} + + +Name: trinity-%{tdecomp} +Summary: A Samba (SMB) share advanced browser for Trinity +Version: 0.9.4 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-arts-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +Smb4K is a SMB (Windows) share browser for KDE. It uses the Samba software +suite to access the SMB shares of the local network neighborhood. Its purpose +is to provide a program that's easy to use and has as many features as +possible. + +%files -f %{tdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/smb4k +%{tde_bindir}/smb4k_cat +%{tde_bindir}/smb4k_kill +%{tde_bindir}/smb4k_mount +%{tde_bindir}/smb4k_mv +%{tde_bindir}/smb4k_umount +%{tde_libdir}/libsmb4kcore.so.2 +%{tde_libdir}/libsmb4kcore.so.2.0.0 +%{tde_libdir}/libsmb4kdialogs.la +%{tde_libdir}/libsmb4kdialogs.so +%{tde_tdelibdir}/konqsidebar_smb4k.la +%{tde_tdelibdir}/konqsidebar_smb4k.so +%{tde_tdelibdir}/libsmb4kconfigdialog.la +%{tde_tdelibdir}/libsmb4kconfigdialog.so +%{tde_tdelibdir}/libsmb4knetworkbrowser.la +%{tde_tdelibdir}/libsmb4knetworkbrowser.so +%{tde_tdelibdir}/libsmb4ksearchdialog.la +%{tde_tdelibdir}/libsmb4ksearchdialog.so +%{tde_tdelibdir}/libsmb4ksharesiconview.la +%{tde_tdelibdir}/libsmb4ksharesiconview.so +%{tde_tdelibdir}/libsmb4kshareslistview.la +%{tde_tdelibdir}/libsmb4kshareslistview.so +%{tde_tdeappdir}/smb4k.desktop +%{tde_datadir}/apps/konqsidebartng/add/smb4k_add.desktop +%{tde_datadir}/apps/smb4k/smb4k_shell.rc +%{tde_datadir}/apps/smb4knetworkbrowserpart/smb4knetworkbrowser_part.rc +%{tde_datadir}/apps/smb4ksharesiconviewpart/smb4ksharesiconview_part.rc +%{tde_datadir}/apps/smb4kshareslistviewpart/smb4kshareslistview_part.rc +%{tde_datadir}/config.kcfg/smb4k.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/smb4k.png +%{tde_tdedocdir}/HTML/en/smb4k/ + +%post +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/crystalsvg || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : +/sbin/ldconfig || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/crystalsvg || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : +/sbin/ldconfig || : + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +%{summary} + +%files devel +%{tde_tdeincludedir}/*.h +%{tde_libdir}/libsmb4kcore.la +%{tde_libdir}/libsmb4kcore.so + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +export KDEDIR="%{tde_prefix}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +# SMP safe ! +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{tdecomp} + + +%clean +%__rm -rf %{buildroot} + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 0.9.4-4 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.9.4-3 +- Initial build for TDE 3.5.13.1 + +* Sun Apr 06 2012 Francois Andriot - 0.9.4-2 +- Rebuild for Fedora 17 +- Fix compilation with GCC 4.7 |Commit #b4c7fd48] + +* Wed Nov 30 2011 Francois Andriot - 0.9.4-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/smb4k/smb4k-3.5.13.spec b/redhat/applications/smb4k/smb4k-3.5.13.spec new file mode 100644 index 000000000..23ba5ba87 --- /dev/null +++ b/redhat/applications/smb4k/smb4k-3.5.13.spec @@ -0,0 +1,184 @@ +# Default version for this component +%define kdecomp smb4k + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_tdedocdir} + + +Name: trinity-%{kdecomp} +Summary: A Samba (SMB) share advanced browser for Trinity +Version: 0.9.4 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +# [smb4k] Fix compilation with GCC 4.7 |Commit #b4c7fd48] +Patch1: smb4k-3.5.13-fix_gcc47_compilation.patch + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-arts-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +Smb4K is a SMB (Windows) share browser for KDE. It uses the Samba software +suite to access the SMB shares of the local network neighborhood. Its purpose +is to provide a program that's easy to use and has as many features as +possible. + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/smb4k +%{tde_bindir}/smb4k_cat +%{tde_bindir}/smb4k_kill +%{tde_bindir}/smb4k_mount +%{tde_bindir}/smb4k_mv +%{tde_bindir}/smb4k_umount +%{tde_libdir}/libsmb4kcore.so.2 +%{tde_libdir}/libsmb4kcore.so.2.0.0 +%{tde_libdir}/libsmb4kdialogs.la +%{tde_libdir}/libsmb4kdialogs.so +%{tde_tdelibdir}/konqsidebar_smb4k.la +%{tde_tdelibdir}/konqsidebar_smb4k.so +%{tde_tdelibdir}/libsmb4kconfigdialog.la +%{tde_tdelibdir}/libsmb4kconfigdialog.so +%{tde_tdelibdir}/libsmb4knetworkbrowser.la +%{tde_tdelibdir}/libsmb4knetworkbrowser.so +%{tde_tdelibdir}/libsmb4ksearchdialog.la +%{tde_tdelibdir}/libsmb4ksearchdialog.so +%{tde_tdelibdir}/libsmb4ksharesiconview.la +%{tde_tdelibdir}/libsmb4ksharesiconview.so +%{tde_tdelibdir}/libsmb4kshareslistview.la +%{tde_tdelibdir}/libsmb4kshareslistview.so +%{tde_tdeappdir}/smb4k.desktop +%{tde_datadir}/apps/konqsidebartng/add/smb4k_add.desktop +%{tde_datadir}/apps/smb4k/smb4k_shell.rc +%{tde_datadir}/apps/smb4knetworkbrowserpart/smb4knetworkbrowser_part.rc +%{tde_datadir}/apps/smb4ksharesiconviewpart/smb4ksharesiconview_part.rc +%{tde_datadir}/apps/smb4kshareslistviewpart/smb4kshareslistview_part.rc +%{tde_datadir}/config.kcfg/smb4k.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/smb4k.png +%{tde_tdedocdir}/HTML/en/smb4k/ + +%post +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/crystalsvg || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : +/sbin/ldconfig || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/crystalsvg || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : +/sbin/ldconfig || : + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +%{summary} + +%files devel +%{tde_tdeincludedir}/*.h +%{tde_libdir}/libsmb4kcore.la +%{tde_libdir}/libsmb4kcore.so + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + +########## + +%prep +%setup -q -n applications/%{kdecomp} +%patch1 -p1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +# SMP safe ! +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + + +%clean +%__rm -rf %{buildroot} + + + + +%Changelog +* Sun Apr 06 2012 Francois Andriot - 0.9.4-2 +- Rebuild for Fedora 17 +- Fix compilation with GCC 4.7 |Commit #b4c7fd48] + +* Wed Nov 30 2011 Francois Andriot - 0.9.4-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/smb4k/trinity-smb4k-3.5.13.1.spec b/redhat/applications/smb4k/trinity-smb4k-3.5.13.1.spec deleted file mode 100644 index e54dc0eb4..000000000 --- a/redhat/applications/smb4k/trinity-smb4k-3.5.13.1.spec +++ /dev/null @@ -1,188 +0,0 @@ -# Default version for this component -%define kdecomp smb4k - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_tdedocdir} - - -Name: trinity-%{kdecomp} -Summary: A Samba (SMB) share advanced browser for Trinity -Version: 0.9.4 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-arts-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -Smb4K is a SMB (Windows) share browser for KDE. It uses the Samba software -suite to access the SMB shares of the local network neighborhood. Its purpose -is to provide a program that's easy to use and has as many features as -possible. - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/smb4k -%{tde_bindir}/smb4k_cat -%{tde_bindir}/smb4k_kill -%{tde_bindir}/smb4k_mount -%{tde_bindir}/smb4k_mv -%{tde_bindir}/smb4k_umount -%{tde_libdir}/libsmb4kcore.so.2 -%{tde_libdir}/libsmb4kcore.so.2.0.0 -%{tde_libdir}/libsmb4kdialogs.la -%{tde_libdir}/libsmb4kdialogs.so -%{tde_tdelibdir}/konqsidebar_smb4k.la -%{tde_tdelibdir}/konqsidebar_smb4k.so -%{tde_tdelibdir}/libsmb4kconfigdialog.la -%{tde_tdelibdir}/libsmb4kconfigdialog.so -%{tde_tdelibdir}/libsmb4knetworkbrowser.la -%{tde_tdelibdir}/libsmb4knetworkbrowser.so -%{tde_tdelibdir}/libsmb4ksearchdialog.la -%{tde_tdelibdir}/libsmb4ksearchdialog.so -%{tde_tdelibdir}/libsmb4ksharesiconview.la -%{tde_tdelibdir}/libsmb4ksharesiconview.so -%{tde_tdelibdir}/libsmb4kshareslistview.la -%{tde_tdelibdir}/libsmb4kshareslistview.so -%{tde_tdeappdir}/smb4k.desktop -%{tde_datadir}/apps/konqsidebartng/add/smb4k_add.desktop -%{tde_datadir}/apps/smb4k/smb4k_shell.rc -%{tde_datadir}/apps/smb4knetworkbrowserpart/smb4knetworkbrowser_part.rc -%{tde_datadir}/apps/smb4ksharesiconviewpart/smb4ksharesiconview_part.rc -%{tde_datadir}/apps/smb4kshareslistviewpart/smb4kshareslistview_part.rc -%{tde_datadir}/config.kcfg/smb4k.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/smb4k.png -%{tde_tdedocdir}/HTML/en/smb4k/ - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : -/sbin/ldconfig || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : -/sbin/ldconfig || : - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -%description devel -%{summary} - -%files devel -%{tde_tdeincludedir}/*.h -%{tde_libdir}/libsmb4kcore.la -%{tde_libdir}/libsmb4kcore.so - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - - -%clean -%__rm -rf %{buildroot} - - - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.9.4-3 -- Initial build for TDE 3.5.13.1 - -* Sun Apr 06 2012 Francois Andriot - 0.9.4-2 -- Rebuild for Fedora 17 -- Fix compilation with GCC 4.7 |Commit #b4c7fd48] - -* Wed Nov 30 2011 Francois Andriot - 0.9.4-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/smb4k/trinity-smb4k-3.5.13.2.spec b/redhat/applications/smb4k/trinity-smb4k-3.5.13.2.spec deleted file mode 100644 index ff61163b4..000000000 --- a/redhat/applications/smb4k/trinity-smb4k-3.5.13.2.spec +++ /dev/null @@ -1,192 +0,0 @@ -# Default version for this component -%define tdecomp smb4k - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_tdedocdir} - - -Name: trinity-%{tdecomp} -Summary: A Samba (SMB) share advanced browser for Trinity -Version: 0.9.4 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-arts-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -Smb4K is a SMB (Windows) share browser for KDE. It uses the Samba software -suite to access the SMB shares of the local network neighborhood. Its purpose -is to provide a program that's easy to use and has as many features as -possible. - -%files -f %{tdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/smb4k -%{tde_bindir}/smb4k_cat -%{tde_bindir}/smb4k_kill -%{tde_bindir}/smb4k_mount -%{tde_bindir}/smb4k_mv -%{tde_bindir}/smb4k_umount -%{tde_libdir}/libsmb4kcore.so.2 -%{tde_libdir}/libsmb4kcore.so.2.0.0 -%{tde_libdir}/libsmb4kdialogs.la -%{tde_libdir}/libsmb4kdialogs.so -%{tde_tdelibdir}/konqsidebar_smb4k.la -%{tde_tdelibdir}/konqsidebar_smb4k.so -%{tde_tdelibdir}/libsmb4kconfigdialog.la -%{tde_tdelibdir}/libsmb4kconfigdialog.so -%{tde_tdelibdir}/libsmb4knetworkbrowser.la -%{tde_tdelibdir}/libsmb4knetworkbrowser.so -%{tde_tdelibdir}/libsmb4ksearchdialog.la -%{tde_tdelibdir}/libsmb4ksearchdialog.so -%{tde_tdelibdir}/libsmb4ksharesiconview.la -%{tde_tdelibdir}/libsmb4ksharesiconview.so -%{tde_tdelibdir}/libsmb4kshareslistview.la -%{tde_tdelibdir}/libsmb4kshareslistview.so -%{tde_tdeappdir}/smb4k.desktop -%{tde_datadir}/apps/konqsidebartng/add/smb4k_add.desktop -%{tde_datadir}/apps/smb4k/smb4k_shell.rc -%{tde_datadir}/apps/smb4knetworkbrowserpart/smb4knetworkbrowser_part.rc -%{tde_datadir}/apps/smb4ksharesiconviewpart/smb4ksharesiconview_part.rc -%{tde_datadir}/apps/smb4kshareslistviewpart/smb4kshareslistview_part.rc -%{tde_datadir}/config.kcfg/smb4k.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/smb4k.png -%{tde_tdedocdir}/HTML/en/smb4k/ - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : -/sbin/ldconfig || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : -/sbin/ldconfig || : - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -%description devel -%{summary} - -%files devel -%{tde_tdeincludedir}/*.h -%{tde_libdir}/libsmb4kcore.la -%{tde_libdir}/libsmb4kcore.so - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -export KDEDIR="%{tde_prefix}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{tdecomp} - - -%clean -%__rm -rf %{buildroot} - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 0.9.4-4 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.9.4-3 -- Initial build for TDE 3.5.13.1 - -* Sun Apr 06 2012 Francois Andriot - 0.9.4-2 -- Rebuild for Fedora 17 -- Fix compilation with GCC 4.7 |Commit #b4c7fd48] - -* Wed Nov 30 2011 Francois Andriot - 0.9.4-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/smb4k/trinity-smb4k-3.5.13.spec b/redhat/applications/smb4k/trinity-smb4k-3.5.13.spec deleted file mode 100644 index 23ba5ba87..000000000 --- a/redhat/applications/smb4k/trinity-smb4k-3.5.13.spec +++ /dev/null @@ -1,184 +0,0 @@ -# Default version for this component -%define kdecomp smb4k - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_tdedocdir} - - -Name: trinity-%{kdecomp} -Summary: A Samba (SMB) share advanced browser for Trinity -Version: 0.9.4 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# [smb4k] Fix compilation with GCC 4.7 |Commit #b4c7fd48] -Patch1: smb4k-3.5.13-fix_gcc47_compilation.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-arts-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -Smb4K is a SMB (Windows) share browser for KDE. It uses the Samba software -suite to access the SMB shares of the local network neighborhood. Its purpose -is to provide a program that's easy to use and has as many features as -possible. - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/smb4k -%{tde_bindir}/smb4k_cat -%{tde_bindir}/smb4k_kill -%{tde_bindir}/smb4k_mount -%{tde_bindir}/smb4k_mv -%{tde_bindir}/smb4k_umount -%{tde_libdir}/libsmb4kcore.so.2 -%{tde_libdir}/libsmb4kcore.so.2.0.0 -%{tde_libdir}/libsmb4kdialogs.la -%{tde_libdir}/libsmb4kdialogs.so -%{tde_tdelibdir}/konqsidebar_smb4k.la -%{tde_tdelibdir}/konqsidebar_smb4k.so -%{tde_tdelibdir}/libsmb4kconfigdialog.la -%{tde_tdelibdir}/libsmb4kconfigdialog.so -%{tde_tdelibdir}/libsmb4knetworkbrowser.la -%{tde_tdelibdir}/libsmb4knetworkbrowser.so -%{tde_tdelibdir}/libsmb4ksearchdialog.la -%{tde_tdelibdir}/libsmb4ksearchdialog.so -%{tde_tdelibdir}/libsmb4ksharesiconview.la -%{tde_tdelibdir}/libsmb4ksharesiconview.so -%{tde_tdelibdir}/libsmb4kshareslistview.la -%{tde_tdelibdir}/libsmb4kshareslistview.so -%{tde_tdeappdir}/smb4k.desktop -%{tde_datadir}/apps/konqsidebartng/add/smb4k_add.desktop -%{tde_datadir}/apps/smb4k/smb4k_shell.rc -%{tde_datadir}/apps/smb4knetworkbrowserpart/smb4knetworkbrowser_part.rc -%{tde_datadir}/apps/smb4ksharesiconviewpart/smb4ksharesiconview_part.rc -%{tde_datadir}/apps/smb4kshareslistviewpart/smb4kshareslistview_part.rc -%{tde_datadir}/config.kcfg/smb4k.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/smb4k.png -%{tde_tdedocdir}/HTML/en/smb4k/ - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : -/sbin/ldconfig || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : -/sbin/ldconfig || : - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -%description devel -%{summary} - -%files devel -%{tde_tdeincludedir}/*.h -%{tde_libdir}/libsmb4kcore.la -%{tde_libdir}/libsmb4kcore.so - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - -########## - -%prep -%setup -q -n applications/%{kdecomp} -%patch1 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - - -%clean -%__rm -rf %{buildroot} - - - - -%Changelog -* Sun Apr 06 2012 Francois Andriot - 0.9.4-2 -- Rebuild for Fedora 17 -- Fix compilation with GCC 4.7 |Commit #b4c7fd48] - -* Wed Nov 30 2011 Francois Andriot - 0.9.4-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/soundkonverter/soundkonverter-3.5.13.1.spec b/redhat/applications/soundkonverter/soundkonverter-3.5.13.1.spec new file mode 100644 index 000000000..8e7899fe2 --- /dev/null +++ b/redhat/applications/soundkonverter/soundkonverter-3.5.13.1.spec @@ -0,0 +1,181 @@ +# Default version for this component +%define kdecomp soundkonverter + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_tdedocdir} + + +Name: trinity-%{kdecomp} +Summary: audio converter frontend for Trinity +Version: 0.3.8 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Application/Multimedia + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://potracegui.sourceforge.net + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils + + +%description +soundKonverter is a frontend to various audio converters. + +The key features are: + - Audio conversion + - Replay Gain calculation + - CD ripping + +soundKonverter supports reading and writing tags for many formats, so the tags +are preserved when converting files. + +It comes with an Amarok script. + +See 'soundkonverter-amarok' package for more informations. + +See README.Debian for more informations on supported formats. + + +%package amarok +Summary: audio converter frontend for Trinity (Amarok script) +Group: Application/Multimedia +Requires: %{name} = %{version}-%{release} +Requires: trinity-amarok + +%description amarok +Amarok script for soundKonverter. It allows you to easily transcode files when +transferring them to your media device. + +See the 'soundkonverter-trinity' package for more information. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt:/usr/include/cdda \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{tde_bindir}/soundkonverter +%{tde_bindir}/userscript.sh +%{tde_tdeappdir}/soundkonverter.desktop +%{tde_datadir}/apps/konqueror/servicemenus/audiocd_extract_with_soundkonverter.desktop +%{tde_datadir}/apps/soundkonverter +%exclude %{tde_datadir}/apps/soundkonverter/amarokscript/README +%exclude %{tde_datadir}/apps/soundkonverter/amarokscript/soundKonverter.rb +%{tde_tdedocdir}/HTML/en/soundkonverter/common +%{tde_tdedocdir}/HTML/en/soundkonverter/index.cache.bz2 +%{tde_tdedocdir}/HTML/en/soundkonverter/index.docbook +%{tde_datadir}/icons/hicolor/*/apps/soundkonverter*.png +%{tde_datadir}/mimelnk/application/x-la.soundkonverter.desktop +%{tde_datadir}/mimelnk/application/x-ofc.soundkonverter.desktop +%{tde_datadir}/mimelnk/application/x-ofr.soundkonverter.desktop +%{tde_datadir}/mimelnk/application/x-ofs.soundkonverter.desktop +%{tde_datadir}/mimelnk/application/x-shorten.soundkonverter.desktop +%{tde_datadir}/mimelnk/audio/amr.soundkonverter.desktop +%{tde_datadir}/mimelnk/audio/x-ape.soundkonverter.desktop +%{tde_datadir}/mimelnk/audio/x-bonk.soundkonverter.desktop +%{tde_datadir}/mimelnk/audio/x-pac.soundkonverter.desktop +%{tde_datadir}/mimelnk/audio/x-tta.soundkonverter.desktop +%{tde_datadir}/mimelnk/audio/x-wavpack-correction.soundkonverter.desktop +%{tde_datadir}/mimelnk/audio/x-wavpack.soundkonverter.desktop +%{tde_datadir}/mimelnk/video/x-flv.soundkonverter.desktop + +%files amarok +%defattr(-,root,root,-) +%{tde_datadir}/apps/soundkonverter/amarokscript/README +%{tde_datadir}/apps/soundkonverter/amarokscript/soundKonverter.rb + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.3.8-2 +- Initial build for TDE 3.5.13.1 + +* Sat Dec 03 2011 Francois Andriot - 0.3.8-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/soundkonverter/soundkonverter-3.5.13.2.spec b/redhat/applications/soundkonverter/soundkonverter-3.5.13.2.spec new file mode 100644 index 000000000..69cd98a8c --- /dev/null +++ b/redhat/applications/soundkonverter/soundkonverter-3.5.13.2.spec @@ -0,0 +1,184 @@ +# Default version for this component +%define tdecomp soundkonverter + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_tdedocdir} + + +Name: trinity-%{tdecomp} +Summary: audio converter frontend for Trinity +Version: 0.3.8 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Application/Multimedia + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://potracegui.sourceforge.net + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils + + +%description +soundKonverter is a frontend to various audio converters. + +The key features are: + - Audio conversion + - Replay Gain calculation + - CD ripping + +soundKonverter supports reading and writing tags for many formats, so the tags +are preserved when converting files. + +It comes with an Amarok script. + +See 'soundkonverter-amarok' package for more informations. + +See README.Debian for more informations on supported formats. + + +%package amarok +Summary: audio converter frontend for Trinity (Amarok script) +Group: Application/Multimedia +Requires: %{name} = %{version}-%{release} +Requires: trinity-amarok + +%description amarok +Amarok script for soundKonverter. It allows you to easily transcode files when +transferring them to your media device. + +See the 'soundkonverter-trinity' package for more information. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt:/usr/include/cdda \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{tdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files -f %{tdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{tde_bindir}/soundkonverter +%{tde_bindir}/userscript.sh +%{tde_tdeappdir}/soundkonverter.desktop +%{tde_datadir}/apps/konqueror/servicemenus/audiocd_extract_with_soundkonverter.desktop +%{tde_datadir}/apps/soundkonverter +%exclude %{tde_datadir}/apps/soundkonverter/amarokscript/README +%exclude %{tde_datadir}/apps/soundkonverter/amarokscript/soundKonverter.rb +%{tde_tdedocdir}/HTML/en/soundkonverter/common +%{tde_tdedocdir}/HTML/en/soundkonverter/index.cache.bz2 +%{tde_tdedocdir}/HTML/en/soundkonverter/index.docbook +%{tde_datadir}/icons/hicolor/*/apps/soundkonverter*.png +%{tde_datadir}/mimelnk/application/x-la.soundkonverter.desktop +%{tde_datadir}/mimelnk/application/x-ofc.soundkonverter.desktop +%{tde_datadir}/mimelnk/application/x-ofr.soundkonverter.desktop +%{tde_datadir}/mimelnk/application/x-ofs.soundkonverter.desktop +%{tde_datadir}/mimelnk/application/x-shorten.soundkonverter.desktop +%{tde_datadir}/mimelnk/audio/amr.soundkonverter.desktop +%{tde_datadir}/mimelnk/audio/x-ape.soundkonverter.desktop +%{tde_datadir}/mimelnk/audio/x-bonk.soundkonverter.desktop +%{tde_datadir}/mimelnk/audio/x-pac.soundkonverter.desktop +%{tde_datadir}/mimelnk/audio/x-tta.soundkonverter.desktop +%{tde_datadir}/mimelnk/audio/x-wavpack-correction.soundkonverter.desktop +%{tde_datadir}/mimelnk/audio/x-wavpack.soundkonverter.desktop +%{tde_datadir}/mimelnk/video/x-flv.soundkonverter.desktop + +%files amarok +%defattr(-,root,root,-) +%{tde_datadir}/apps/soundkonverter/amarokscript/README +%{tde_datadir}/apps/soundkonverter/amarokscript/soundKonverter.rb + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 0.3.8-3 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.3.8-2 +- Initial build for TDE 3.5.13.1 + +* Sat Dec 03 2011 Francois Andriot - 0.3.8-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/soundkonverter/soundkonverter-3.5.13.spec b/redhat/applications/soundkonverter/soundkonverter-3.5.13.spec new file mode 100644 index 000000000..5cfc41054 --- /dev/null +++ b/redhat/applications/soundkonverter/soundkonverter-3.5.13.spec @@ -0,0 +1,173 @@ +# Default version for this component +%define kdecomp soundkonverter + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_tdedocdir} + + +Name: trinity-%{kdecomp} +Summary: audio converter frontend for Trinity +Version: 0.3.8 +Release: 1%{?dist}%{?_variant} + +License: GPLv2+ +Group: Application/Multimedia + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://potracegui.sourceforge.net + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils + + +%description +soundKonverter is a frontend to various audio converters. + +The key features are: + - Audio conversion + - Replay Gain calculation + - CD ripping + +soundKonverter supports reading and writing tags for many formats, so the tags +are preserved when converting files. + +It comes with an Amarok script. + +See 'soundkonverter-amarok' package for more informations. + +See README.Debian for more informations on supported formats. + + +%package amarok +Summary: audio converter frontend for Trinity (Amarok script) +Group: Application/Multimedia +Requires: %{name} = %{version}-%{release} +Requires: trinity-amarok + +%description amarok +Amarok script for soundKonverter. It allows you to easily transcode files when +transferring them to your media device. + +See the 'soundkonverter-trinity' package for more information. + + +%prep +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_includedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt:/usr/include/cdda \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +update-desktop-database %{tde_appdir} > /dev/null +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{tde_bindir}/soundkonverter +%{tde_bindir}/userscript.sh +%{tde_tdeappdir}/soundkonverter.desktop +%{tde_datadir}/apps/konqueror/servicemenus/audiocd_extract_with_soundkonverter.desktop +%{tde_datadir}/apps/soundkonverter +%exclude %{tde_datadir}/apps/soundkonverter/amarokscript/README +%exclude %{tde_datadir}/apps/soundkonverter/amarokscript/soundKonverter.rb +%{tde_tdedocdir}/HTML/en/soundkonverter/common +%{tde_tdedocdir}/HTML/en/soundkonverter/index.cache.bz2 +%{tde_tdedocdir}/HTML/en/soundkonverter/index.docbook +%{tde_datadir}/icons/hicolor/*/apps/soundkonverter*.png +%{tde_datadir}/mimelnk/application/x-la.soundkonverter.desktop +%{tde_datadir}/mimelnk/application/x-ofc.soundkonverter.desktop +%{tde_datadir}/mimelnk/application/x-ofr.soundkonverter.desktop +%{tde_datadir}/mimelnk/application/x-ofs.soundkonverter.desktop +%{tde_datadir}/mimelnk/application/x-shorten.soundkonverter.desktop +%{tde_datadir}/mimelnk/audio/amr.soundkonverter.desktop +%{tde_datadir}/mimelnk/audio/x-ape.soundkonverter.desktop +%{tde_datadir}/mimelnk/audio/x-bonk.soundkonverter.desktop +%{tde_datadir}/mimelnk/audio/x-pac.soundkonverter.desktop +%{tde_datadir}/mimelnk/audio/x-tta.soundkonverter.desktop +%{tde_datadir}/mimelnk/audio/x-wavpack-correction.soundkonverter.desktop +%{tde_datadir}/mimelnk/audio/x-wavpack.soundkonverter.desktop +%{tde_datadir}/mimelnk/video/x-flv.soundkonverter.desktop + +%files amarok +%defattr(-,root,root,-) +%{tde_datadir}/apps/soundkonverter/amarokscript/README +%{tde_datadir}/apps/soundkonverter/amarokscript/soundKonverter.rb + + +%Changelog +* Sat Dec 03 2011 Francois Andriot - 0.3.8-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/soundkonverter/trinity-soundkonverter-3.5.13.1.spec b/redhat/applications/soundkonverter/trinity-soundkonverter-3.5.13.1.spec deleted file mode 100644 index 8e7899fe2..000000000 --- a/redhat/applications/soundkonverter/trinity-soundkonverter-3.5.13.1.spec +++ /dev/null @@ -1,181 +0,0 @@ -# Default version for this component -%define kdecomp soundkonverter - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_tdedocdir} - - -Name: trinity-%{kdecomp} -Summary: audio converter frontend for Trinity -Version: 0.3.8 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Application/Multimedia - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://potracegui.sourceforge.net - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - - -%description -soundKonverter is a frontend to various audio converters. - -The key features are: - - Audio conversion - - Replay Gain calculation - - CD ripping - -soundKonverter supports reading and writing tags for many formats, so the tags -are preserved when converting files. - -It comes with an Amarok script. - -See 'soundkonverter-amarok' package for more informations. - -See README.Debian for more informations on supported formats. - - -%package amarok -Summary: audio converter frontend for Trinity (Amarok script) -Group: Application/Multimedia -Requires: %{name} = %{version}-%{release} -Requires: trinity-amarok - -%description amarok -Amarok script for soundKonverter. It allows you to easily transcode files when -transferring them to your media device. - -See the 'soundkonverter-trinity' package for more information. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt:/usr/include/cdda \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_bindir}/soundkonverter -%{tde_bindir}/userscript.sh -%{tde_tdeappdir}/soundkonverter.desktop -%{tde_datadir}/apps/konqueror/servicemenus/audiocd_extract_with_soundkonverter.desktop -%{tde_datadir}/apps/soundkonverter -%exclude %{tde_datadir}/apps/soundkonverter/amarokscript/README -%exclude %{tde_datadir}/apps/soundkonverter/amarokscript/soundKonverter.rb -%{tde_tdedocdir}/HTML/en/soundkonverter/common -%{tde_tdedocdir}/HTML/en/soundkonverter/index.cache.bz2 -%{tde_tdedocdir}/HTML/en/soundkonverter/index.docbook -%{tde_datadir}/icons/hicolor/*/apps/soundkonverter*.png -%{tde_datadir}/mimelnk/application/x-la.soundkonverter.desktop -%{tde_datadir}/mimelnk/application/x-ofc.soundkonverter.desktop -%{tde_datadir}/mimelnk/application/x-ofr.soundkonverter.desktop -%{tde_datadir}/mimelnk/application/x-ofs.soundkonverter.desktop -%{tde_datadir}/mimelnk/application/x-shorten.soundkonverter.desktop -%{tde_datadir}/mimelnk/audio/amr.soundkonverter.desktop -%{tde_datadir}/mimelnk/audio/x-ape.soundkonverter.desktop -%{tde_datadir}/mimelnk/audio/x-bonk.soundkonverter.desktop -%{tde_datadir}/mimelnk/audio/x-pac.soundkonverter.desktop -%{tde_datadir}/mimelnk/audio/x-tta.soundkonverter.desktop -%{tde_datadir}/mimelnk/audio/x-wavpack-correction.soundkonverter.desktop -%{tde_datadir}/mimelnk/audio/x-wavpack.soundkonverter.desktop -%{tde_datadir}/mimelnk/video/x-flv.soundkonverter.desktop - -%files amarok -%defattr(-,root,root,-) -%{tde_datadir}/apps/soundkonverter/amarokscript/README -%{tde_datadir}/apps/soundkonverter/amarokscript/soundKonverter.rb - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.3.8-2 -- Initial build for TDE 3.5.13.1 - -* Sat Dec 03 2011 Francois Andriot - 0.3.8-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/soundkonverter/trinity-soundkonverter-3.5.13.2.spec b/redhat/applications/soundkonverter/trinity-soundkonverter-3.5.13.2.spec deleted file mode 100644 index 69cd98a8c..000000000 --- a/redhat/applications/soundkonverter/trinity-soundkonverter-3.5.13.2.spec +++ /dev/null @@ -1,184 +0,0 @@ -# Default version for this component -%define tdecomp soundkonverter - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_tdedocdir} - - -Name: trinity-%{tdecomp} -Summary: audio converter frontend for Trinity -Version: 0.3.8 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Application/Multimedia - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://potracegui.sourceforge.net - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils - - -%description -soundKonverter is a frontend to various audio converters. - -The key features are: - - Audio conversion - - Replay Gain calculation - - CD ripping - -soundKonverter supports reading and writing tags for many formats, so the tags -are preserved when converting files. - -It comes with an Amarok script. - -See 'soundkonverter-amarok' package for more informations. - -See README.Debian for more informations on supported formats. - - -%package amarok -Summary: audio converter frontend for Trinity (Amarok script) -Group: Application/Multimedia -Requires: %{name} = %{version}-%{release} -Requires: trinity-amarok - -%description amarok -Amarok script for soundKonverter. It allows you to easily transcode files when -transferring them to your media device. - -See the 'soundkonverter-trinity' package for more information. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt:/usr/include/cdda \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{tdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{tdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_bindir}/soundkonverter -%{tde_bindir}/userscript.sh -%{tde_tdeappdir}/soundkonverter.desktop -%{tde_datadir}/apps/konqueror/servicemenus/audiocd_extract_with_soundkonverter.desktop -%{tde_datadir}/apps/soundkonverter -%exclude %{tde_datadir}/apps/soundkonverter/amarokscript/README -%exclude %{tde_datadir}/apps/soundkonverter/amarokscript/soundKonverter.rb -%{tde_tdedocdir}/HTML/en/soundkonverter/common -%{tde_tdedocdir}/HTML/en/soundkonverter/index.cache.bz2 -%{tde_tdedocdir}/HTML/en/soundkonverter/index.docbook -%{tde_datadir}/icons/hicolor/*/apps/soundkonverter*.png -%{tde_datadir}/mimelnk/application/x-la.soundkonverter.desktop -%{tde_datadir}/mimelnk/application/x-ofc.soundkonverter.desktop -%{tde_datadir}/mimelnk/application/x-ofr.soundkonverter.desktop -%{tde_datadir}/mimelnk/application/x-ofs.soundkonverter.desktop -%{tde_datadir}/mimelnk/application/x-shorten.soundkonverter.desktop -%{tde_datadir}/mimelnk/audio/amr.soundkonverter.desktop -%{tde_datadir}/mimelnk/audio/x-ape.soundkonverter.desktop -%{tde_datadir}/mimelnk/audio/x-bonk.soundkonverter.desktop -%{tde_datadir}/mimelnk/audio/x-pac.soundkonverter.desktop -%{tde_datadir}/mimelnk/audio/x-tta.soundkonverter.desktop -%{tde_datadir}/mimelnk/audio/x-wavpack-correction.soundkonverter.desktop -%{tde_datadir}/mimelnk/audio/x-wavpack.soundkonverter.desktop -%{tde_datadir}/mimelnk/video/x-flv.soundkonverter.desktop - -%files amarok -%defattr(-,root,root,-) -%{tde_datadir}/apps/soundkonverter/amarokscript/README -%{tde_datadir}/apps/soundkonverter/amarokscript/soundKonverter.rb - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 0.3.8-3 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.3.8-2 -- Initial build for TDE 3.5.13.1 - -* Sat Dec 03 2011 Francois Andriot - 0.3.8-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/soundkonverter/trinity-soundkonverter-3.5.13.spec b/redhat/applications/soundkonverter/trinity-soundkonverter-3.5.13.spec deleted file mode 100644 index 5cfc41054..000000000 --- a/redhat/applications/soundkonverter/trinity-soundkonverter-3.5.13.spec +++ /dev/null @@ -1,173 +0,0 @@ -# Default version for this component -%define kdecomp soundkonverter - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_tdedocdir} - - -Name: trinity-%{kdecomp} -Summary: audio converter frontend for Trinity -Version: 0.3.8 -Release: 1%{?dist}%{?_variant} - -License: GPLv2+ -Group: Application/Multimedia - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://potracegui.sourceforge.net - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils - - -%description -soundKonverter is a frontend to various audio converters. - -The key features are: - - Audio conversion - - Replay Gain calculation - - CD ripping - -soundKonverter supports reading and writing tags for many formats, so the tags -are preserved when converting files. - -It comes with an Amarok script. - -See 'soundkonverter-amarok' package for more informations. - -See README.Debian for more informations on supported formats. - - -%package amarok -Summary: audio converter frontend for Trinity (Amarok script) -Group: Application/Multimedia -Requires: %{name} = %{version}-%{release} -Requires: trinity-amarok - -%description amarok -Amarok script for soundKonverter. It allows you to easily transcode files when -transferring them to your media device. - -See the 'soundkonverter-trinity' package for more information. - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_includedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt:/usr/include/cdda \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -update-desktop-database %{tde_appdir} > /dev/null -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_bindir}/soundkonverter -%{tde_bindir}/userscript.sh -%{tde_tdeappdir}/soundkonverter.desktop -%{tde_datadir}/apps/konqueror/servicemenus/audiocd_extract_with_soundkonverter.desktop -%{tde_datadir}/apps/soundkonverter -%exclude %{tde_datadir}/apps/soundkonverter/amarokscript/README -%exclude %{tde_datadir}/apps/soundkonverter/amarokscript/soundKonverter.rb -%{tde_tdedocdir}/HTML/en/soundkonverter/common -%{tde_tdedocdir}/HTML/en/soundkonverter/index.cache.bz2 -%{tde_tdedocdir}/HTML/en/soundkonverter/index.docbook -%{tde_datadir}/icons/hicolor/*/apps/soundkonverter*.png -%{tde_datadir}/mimelnk/application/x-la.soundkonverter.desktop -%{tde_datadir}/mimelnk/application/x-ofc.soundkonverter.desktop -%{tde_datadir}/mimelnk/application/x-ofr.soundkonverter.desktop -%{tde_datadir}/mimelnk/application/x-ofs.soundkonverter.desktop -%{tde_datadir}/mimelnk/application/x-shorten.soundkonverter.desktop -%{tde_datadir}/mimelnk/audio/amr.soundkonverter.desktop -%{tde_datadir}/mimelnk/audio/x-ape.soundkonverter.desktop -%{tde_datadir}/mimelnk/audio/x-bonk.soundkonverter.desktop -%{tde_datadir}/mimelnk/audio/x-pac.soundkonverter.desktop -%{tde_datadir}/mimelnk/audio/x-tta.soundkonverter.desktop -%{tde_datadir}/mimelnk/audio/x-wavpack-correction.soundkonverter.desktop -%{tde_datadir}/mimelnk/audio/x-wavpack.soundkonverter.desktop -%{tde_datadir}/mimelnk/video/x-flv.soundkonverter.desktop - -%files amarok -%defattr(-,root,root,-) -%{tde_datadir}/apps/soundkonverter/amarokscript/README -%{tde_datadir}/apps/soundkonverter/amarokscript/soundKonverter.rb - - -%Changelog -* Sat Dec 03 2011 Francois Andriot - 0.3.8-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/tde-guidance/guidance-3.5.13.1.spec b/redhat/applications/tde-guidance/guidance-3.5.13.1.spec new file mode 100644 index 000000000..c0a61ba05 --- /dev/null +++ b/redhat/applications/tde-guidance/guidance-3.5.13.1.spec @@ -0,0 +1,414 @@ +%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +%define __arch_install_post %{nil} + +Name: trinity-guidance +Summary: A collection of system administration tools for Trinity +Version: 0.8.0svn20080103 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.simonzone.com/software/guidance + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: kde-guidance-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: trinity-pytdeextensions +BuildRequires: trinity-libpythonize0-devel +BuildRequires: python-trinity +BuildRequires: chrpath +BuildRequires: gcc-c++ + +# SIP support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: python-sip +%endif +%if 0%{?suse_version} +BuildRequires: python-sip-devel +%endif +%if 0%{?rhel} == 5 +BuildRequires: trinity-sip-devel +%endif +%if 0%{?rhel} >= 6 || 0%{?fedora} +BuildRequires: sip-devel +%endif + +# PYTHON-QT support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: python-qt +Requires: python-qt +%endif +%if 0%{?rhel} == 5 || 0%{?suse_version} +BuildRequires: trinity-PyQt-devel +Requires: trinity-PyQt +%endif +%if 0%{?rhel} >= 6 || 0%{?fedora} +BuildRequires: PyQt-devel +Requires: PyQt +%endif + + +Requires: python-trinity +Requires: trinity-pytdeextensions +Requires: %{name}-backends +Requires: python +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +Requires: hwdata +%endif + + +%if "%{tde_prefix}" == "/usr" +Conflicts: guidance-power-manager +Conflicts: kde-guidance-powermanager +%endif + +%description +Guidance currently consists of four programs designed to help you +look after your system: + o userconfig - User and Group administration + o serviceconfig - Service/daemon administration + o mountconfig - Disk and filesystem administration + o wineconfig - Wine configuration + +These tools are available in Trinity Control Center, System Settings +or can be run as standalone applications. + + + +%package backends +Group: Applications/Utilities +Summary: collection of system administration tools for GNU/Linux [Trinity] +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +Requires: hwdata +%endif +Requires: python + +%description backends +This package contains the platform neutral backends used in the +Guidance configuration tools. + + +%package powermanager +Group: Applications/Utilities +Summary: HAL based power manager applet [Trinity] +Requires: %{name} = %{version}-%{release} + +%description powermanager +A power management applet to indicate battery levels and perform hibernate or +suspend using HAL. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n kde-guidance-3.5.13.1 + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export EXTRA_MODULE_DIR="%{python_sitearch}/%{name}" +export KDEDIR=%{tde_prefix} + +# Avoids 'error: byte-compiling is disabled.' on Mandriva/Mageia +export PYTHONDONTWRITEBYTECODE= + +./setup.py build + + +%install +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export EXTRA_MODULE_DIR="%{python_sitearch}/%{name}" + +# Avoids 'error: byte-compiling is disabled.' on Mandriva/Mageia +export PYTHONDONTWRITEBYTECODE= + +%__rm -rf %{buildroot} +./setup.py install \ + --prefix=%{tde_prefix} \ + --root=%{buildroot} + +# Fix building directories stored inside .py files +for f in %{buildroot}%{tde_datadir}/apps/guidance/*.py; do + %__sed -i "${f}" -e "s|%{buildroot}||g" +done + +##### MAIN PACKAGE INSTALLATION +# install icons to right place +%__mkdir_p %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps +%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/hi32-app-daemons.png \ + %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/daemons.png +%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/kcmpartitions.png \ + %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/disksfilesystems.png +%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/hi32-user.png \ + %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/userconfig.png +%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/hi32-display.png \ + %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/displayconfig.png +%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/32-wine.png \ + %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/wineconfig.png +%__install -D -p -m0644 kde/wineconfig/pics/16x16/wineconfig.png \ + %{buildroot}%{tde_datadir}/icons/crystalsvg/16x16/apps/wineconfig.png + +# fix binary-or-shlib-defines-rpath +chrpath -d %{buildroot}%{tde_tdelibdir}/kcm_*.so + +# fix executable-not-elf-or-script +%__chmod 0644 %{buildroot}%{tde_datadir}/apps/guidance/pics/kdewinewizard.png + +# move python modules in %{python_sitearch} +%__mkdir_p %{buildroot}%{python_sitearch}/%{name} +%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/*.py %{buildroot}%{python_sitearch}/%{name} + +# fix the link properly +%__rm -f %{buildroot}%{tde_bindir}/* +#%__ln_s -f %{python_sitearch}/%{name}/displayconfig.py %{buildroot}%{tde_bindir}/displayconfig +%__ln_s -f %{python_sitearch}/%{name}/mountconfig.py %{buildroot}%{tde_bindir}/mountconfig +%__ln_s -f %{python_sitearch}/%{name}/serviceconfig.py %{buildroot}%{tde_bindir}/serviceconfig +%__ln_s -f %{python_sitearch}/%{name}/userconfig.py %{buildroot}%{tde_bindir}/userconfig +%__ln_s -f %{python_sitearch}/%{name}/wineconfig.py %{buildroot}%{tde_bindir}/wineconfig +%__ln_s -f %{python_sitearch}/%{name}/grubconfig.py %{buildroot}%{tde_bindir}/grubconfig + +# (obsolete) put this here since gnome people probably don't want it by default +#%__ln_s -f %{_python_sitearch}/%{name}/displayconfig-restore.py %{buildroot}%{tde_bindir}/displayconfig-restore + +# fix script-not-executable +%__chmod 0755 %{buildroot}%{python_sitearch}/%{name}/fuser.py +%__chmod 0755 %{buildroot}%{python_sitearch}/%{name}/grubconfig.py + +%__mv -f %{buildroot}%{tde_datadir}/applications/kde/displayconfig.desktop %{buildroot}%{tde_datadir}/applications/kde/guidance-displayconfig.desktop + +##### BACKENDS INSTALLATION +# install displayconfig-hwprobe.py script +%__install -D -p -m0755 displayconfig/displayconfig-hwprobe.py \ + %{buildroot}%{python_sitearch}/%{name}/displayconfig-hwprobe.py + +# The xf86misc stuff should not go under /opt/trinity bur under /usr !!! +%__mv -f %{buildroot}%{tde_libdir}/python*/site-packages/ixf86misc.so %{buildroot}%{python_sitearch} +%__mv -f %{buildroot}%{tde_libdir}/python*/site-packages/xf86misc.py* %{buildroot}%{python_sitearch}/%{name} + +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%__rm -f %{buildroot}%{tde_datadir}/apps/guidance/MonitorsDB +%__ln_s -f /usr/share/hwdata/MonitorsDB %{buildroot}%{tde_datadir}/apps/guidance/MonitorsDB +%endif + + +##### POWERMANAGER INSTALLATION +# install icon to right place +%__install -D -p -m0644 kde/powermanager/pics/battery-charging-100.png \ + %{buildroot}%{tde_datadir}/icons/hicolor/22x22/apps/power-manager.png +%__install -D -p -m0644 kde/powermanager/pics/*.png \ + %{buildroot}%{tde_datadir}/apps/guidance/pics/ + +# install desktop file +%__install -D -p -m0644 powermanager/guidance-power-manager.desktop \ + %{buildroot}%{tde_datadir}/autostart/guidance-power-manager.desktop + +# copy python modules in PYSUPPORT_PATH +%__cp powermanager/guidance_power_manager_ui.py %{buildroot}%{python_sitearch}/%{name} +%__cp powermanager/notify.py %{buildroot}%{python_sitearch}/%{name} +%__cp powermanager/tooltip.py %{buildroot}%{python_sitearch}/%{name} + +# generate guidance-power-manager script +cat <%{buildroot}%{tde_bindir}/guidance-power-manager +#!/bin/sh +export PYTHONPATH=%{python_sitearch}/%{name} +%{python_sitearch}/%{name}/guidance-power-manager.py & +EOF +chmod +x %{buildroot}%{tde_bindir}/guidance-power-manager + +# fix script-not-executable +chmod 0755 %{buildroot}%{python_sitearch}/%{name}/powermanage.py +chmod 0755 %{buildroot}%{python_sitearch}/%{name}/gpmhelper.py + + +# Replace all '#!' calls to python with /usr/bin/python +# and make them executable +for i in `find %{buildroot} -type f`; do + sed '1s,#!.*python[^ ]*\(.*\),#! /usr/bin/python\1,' \ + $i > $i.temp; + if cmp --quiet $i $i.temp; then + rm -f $i.temp; + else + mv -f $i.temp $i; + chmod 755 $i; + echo "fixed interpreter: $i"; + fi; +done + +# Removes useless files +find %{buildroot} -name "*.egg-info" -exec rm -f {} \; +find %{buildroot}%{tde_libdir} -name "*.a" -exec rm -f {} \; + +# Removes obsolete display config manager +%__rm -f %{?buildroot}/etc/X11/Xsession.d/40guidance-displayconfig_restore +%__rm -f %{?buildroot}%{tde_tdelibdir}/kcm_displayconfig.* +%__rm -f %{?buildroot}%{python_sitearch}/%{name}/displayconfig.py +%__rm -f %{?buildroot}%{python_sitearch}/%{name}/displayconfigwidgets.py + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/crystalsvg || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : +/sbin/ldconfig || : + +%postun +touch --no-create %{tde_datadir}/icons/crystalsvg || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : +/sbin/ldconfig || : + +%post powermanager +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun powermanager +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc ChangeLog COPYING README TODO +#%{tde_bindir}/displayconfig +#%{tde_bindir}/displayconfig-restore +%{tde_bindir}/grubconfig +%{tde_bindir}/mountconfig +%{tde_bindir}/serviceconfig +%{tde_bindir}/userconfig +%{tde_bindir}/wineconfig +%attr(0644,root,root) %{tde_tdelibdir}/*.so +%attr(0644,root,root) %{tde_tdelibdir}/*.la +%{tde_datadir}/apps/guidance/ +%{tde_datadir}/applications/kde/*.desktop +%{tde_datadir}/icons/crystalsvg/*/*/*.png +%{tde_datadir}/icons/crystalsvg/*/*/*.svg +%{python_sitearch}/%{name}/SMBShareSelectDialog.py* +%{python_sitearch}/%{name}/SimpleCommandRunner.py* +%{python_sitearch}/%{name}/fuser.py* +%{python_sitearch}/%{name}/fuser_ui.py* +%{python_sitearch}/%{name}/grubconfig.py* +%{python_sitearch}/%{name}/ktimerdialog.py* +%{python_sitearch}/%{name}/mountconfig.py* +%{python_sitearch}/%{name}/servertestdialog.py* +%{python_sitearch}/%{name}/serviceconfig.py* +%{python_sitearch}/%{name}/sizeview.py* +%{python_sitearch}/%{name}/unixauthdb.py* +%{python_sitearch}/%{name}/userconfig.py* +%{python_sitearch}/%{name}/wineconfig.py* +%{tde_tdedocdir}/HTML/en/guidance/ + +# Files from backends +%exclude %{tde_datadir}/apps/guidance/vesamodes +%exclude %{tde_datadir}/apps/guidance/extramodes +%exclude %{tde_datadir}/apps/guidance/widescreenmodes +%exclude %{tde_datadir}/apps/guidance/Cards+ +%exclude %{tde_datadir}/apps/guidance/pcitable +%exclude %{tde_datadir}/apps/guidance/MonitorsDB + +# Files from powermanager +%exclude %{tde_datadir}/icons/hicolor/22x22/apps/power-manager.png +%exclude %{tde_datadir}/apps/guidance/pics/ac-adapter.png +%exclude %{tde_datadir}/apps/guidance/pics/battery*.png +%exclude %{tde_datadir}/apps/guidance/pics/processor.png + +%files -n trinity-guidance-backends +%defattr(-,root,root,-) +%{python_sitearch}/%{name}/MicroHAL.py* +%{python_sitearch}/%{name}/ScanPCI.py* +%{python_sitearch}/%{name}/infimport.py* +%{python_sitearch}/%{name}/displayconfigabstraction.py* +%{python_sitearch}/%{name}/displayconfig-hwprobe.py* +%{python_sitearch}/%{name}/displayconfig-restore.py* +%{python_sitearch}/%{name}/drivedetect.py* +%{python_sitearch}/%{name}/execwithcapture.py* +%{python_sitearch}/%{name}/wineread.py* +%{python_sitearch}/%{name}/winewrite.py* +%{python_sitearch}/%{name}/xf86misc.py* +%{python_sitearch}/%{name}/xorgconfig.py* +%{python_sitearch}/ixf86misc.so +%{tde_datadir}/apps/guidance/vesamodes +%{tde_datadir}/apps/guidance/extramodes +%{tde_datadir}/apps/guidance/widescreenmodes +%{tde_datadir}/apps/guidance/Cards+ +%{tde_datadir}/apps/guidance/pcitable +%{tde_datadir}/apps/guidance/MonitorsDB + + + +%files powermanager +%defattr(-,root,root,-) +%{tde_bindir}/guidance-power-manager +%{python_sitearch}/%{name}/MicroHAL.py* +%{python_sitearch}/%{name}/guidance-power-manager.py* +%{python_sitearch}/%{name}/powermanage.py* +%{python_sitearch}/%{name}/gpmhelper.py* +%{python_sitearch}/%{name}/powermanager_ui.py* +%{python_sitearch}/%{name}/guidance_power_manager_ui.py* +%{python_sitearch}/%{name}/notify.py* +%{python_sitearch}/%{name}/tooltip.py* +%{tde_datadir}/icons/hicolor/22x22/apps/power-manager.png +%{tde_datadir}/apps/guidance/pics/ac-adapter.png +%{tde_datadir}/apps/guidance/pics/battery*.png +%{tde_datadir}/apps/guidance/pics/processor.png +%{tde_datadir}/autostart/guidance-power-manager.desktop + + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.8.0svn20080103-4 +- Initial build for TDE 3.5.13.1 + +* Fri May 11 2012 Francois Andriot - 0.8.0svn20080103-3 +- Fix Python search dir + +* Tue May 01 2012 Francois Andriot - 0.8.0svn20080103-2 +- Rebuilt for Fedora 17 +- Fix post and postun +- Fix library locations + +* Thu Dec 01 2011 Francois Andriot - 0.8.0svn20080103-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tde-guidance/guidance-3.5.13.spec b/redhat/applications/tde-guidance/guidance-3.5.13.spec new file mode 100644 index 000000000..4d9452f32 --- /dev/null +++ b/redhat/applications/tde-guidance/guidance-3.5.13.spec @@ -0,0 +1,390 @@ +%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +%define __arch_install_post %{nil} + +Name: trinity-guidance +Summary: A collection of system administration tools for Trinity +Version: 0.8.0svn20080103 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.simonzone.com/software/guidance + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: kde-guidance-3.5.13.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: trinity-pykdeextensions +BuildRequires: trinity-libpythonize0-devel +BuildRequires: python-trinity +BuildRequires: chrpath +BuildRequires: gcc-c++ + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: python-sip +BuildRequires: python-qt +Requires: python-qt +%else +%if 0%{?rhel} == 5 +BuildRequires: trinity-PyQt-devel +BuildRequires: trinity-sip-devel +Requires: trinity-PyQt +%else +BuildRequires: PyQt-devel +BuildRequires: sip-devel +Requires: PyQt +%endif +%endif + + +Requires: python-trinity +Requires: %{name}-backends +Requires: hwdata +Requires: python + +%if "%{tde_prefix}" == "/usr" +Conflicts: guidance-power-manager +Conflicts: kde-guidance-powermanager +%endif + +%description +Guidance currently consists of four programs designed to help you +look after your system: + o userconfig - User and Group administration + o serviceconfig - Service/daemon administration + o mountconfig - Disk and filesystem administration + o wineconfig - Wine configuration + +These tools are available in Trinity Control Center, System Settings +or can be run as standalone applications. + + + +%package backends +Group: Applications/Utilities +Summary: collection of system administration tools for GNU/Linux [Trinity] +Requires: hwdata +Requires: python + +%description backends +This package contains the platform neutral backends used in the +Guidance configuration tools. + + +%package powermanager +Group: Applications/Utilities +Summary: HAL based power manager applet [Trinity] +Requires: %{name} = %{version}-%{release} + +%description powermanager +A power management applet to indicate battery levels and perform hibernate or +suspend using HAL. + + +%prep +%setup -q -n applications/kde-guidance + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export EXTRA_MODULE_DIR="%{python_sitearch}/%{name}" +export KDEDIR=%{tde_prefix} + +# Avoids 'error: byte-compiling is disabled.' on Mandriva/Mageia +export PYTHONDONTWRITEBYTECODE= + +./setup.py build + + +%install +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export EXTRA_MODULE_DIR="%{python_sitearch}/%{name}" + +# Avoids 'error: byte-compiling is disabled.' on Mandriva/Mageia +export PYTHONDONTWRITEBYTECODE= + +%__rm -rf %{buildroot} +./setup.py install \ + --prefix=%{tde_prefix} \ + --root=%{buildroot} + +# Fix building directories stored inside .py files +for f in %{buildroot}%{tde_datadir}/apps/guidance/*.py; do + %__sed -i "${f}" -e "s|%{buildroot}||g" +done + +##### MAIN PACKAGE INSTALLATION +# install icons to right place +%__mkdir_p %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps +%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/hi32-app-daemons.png \ + %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/daemons.png +%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/kcmpartitions.png \ + %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/disksfilesystems.png +%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/hi32-user.png \ + %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/userconfig.png +%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/hi32-display.png \ + %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/displayconfig.png +%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/32-wine.png \ + %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/wineconfig.png +%__install -D -p -m0644 kde/wineconfig/pics/16x16/wineconfig.png \ + %{buildroot}%{tde_datadir}/icons/crystalsvg/16x16/apps/wineconfig.png + +# fix binary-or-shlib-defines-rpath +chrpath -d %{buildroot}%{tde_tdelibdir}/kcm_*.so + +# fix executable-not-elf-or-script +%__chmod 0644 %{buildroot}%{tde_datadir}/apps/guidance/pics/kdewinewizard.png + +# move python modules in %{python_sitearch} +%__mkdir_p %{buildroot}%{python_sitearch}/%{name} +%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/*.py %{buildroot}%{python_sitearch}/%{name} + +# fix the link properly +%__rm -f %{buildroot}%{tde_bindir}/* +#%__ln_s -f %{python_sitearch}/%{name}/displayconfig.py %{buildroot}%{tde_bindir}/displayconfig +%__ln_s -f %{python_sitearch}/%{name}/mountconfig.py %{buildroot}%{tde_bindir}/mountconfig +%__ln_s -f %{python_sitearch}/%{name}/serviceconfig.py %{buildroot}%{tde_bindir}/serviceconfig +%__ln_s -f %{python_sitearch}/%{name}/userconfig.py %{buildroot}%{tde_bindir}/userconfig +%__ln_s -f %{python_sitearch}/%{name}/wineconfig.py %{buildroot}%{tde_bindir}/wineconfig +%__ln_s -f %{python_sitearch}/%{name}/grubconfig.py %{buildroot}%{tde_bindir}/grubconfig + +# (obsolete) put this here since gnome people probably don't want it by default +#%__ln_s -f %{_python_sitearch}/%{name}/displayconfig-restore.py %{buildroot}%{tde_bindir}/displayconfig-restore + +# fix script-not-executable +%__chmod 0755 %{buildroot}%{python_sitearch}/%{name}/fuser.py +%__chmod 0755 %{buildroot}%{python_sitearch}/%{name}/grubconfig.py + +%__mv -f %{buildroot}%{tde_datadir}/applications/kde/displayconfig.desktop %{buildroot}%{tde_datadir}/applications/kde/guidance-displayconfig.desktop + +##### BACKENDS INSTALLATION +# install displayconfig-hwprobe.py script +%__install -D -p -m0755 displayconfig/displayconfig-hwprobe.py \ + %{buildroot}%{python_sitearch}/%{name}/displayconfig-hwprobe.py + +# The xf86misc stuff should not go under /opt/trinity bur under /usr !!! +%__mv -f %{buildroot}%{tde_libdir}/python*/site-packages/ixf86misc.so %{buildroot}%{python_sitearch} +%__mv -f %{buildroot}%{tde_libdir}/python*/site-packages/xf86misc.py* %{buildroot}%{python_sitearch}/%{name} + +%__rm -f %{buildroot}%{tde_datadir}/apps/guidance/MonitorsDB +%__ln_s -f /usr/share/hwdata/MonitorsDB %{buildroot}%{tde_datadir}/apps/guidance/MonitorsDB + + + +##### POWERMANAGER INSTALLATION +# install icon to right place +%__install -D -p -m0644 kde/powermanager/pics/battery-charging-100.png \ + %{buildroot}%{tde_datadir}/icons/hicolor/22x22/apps/power-manager.png +%__install -D -p -m0644 kde/powermanager/pics/*.png \ + %{buildroot}%{tde_datadir}/apps/guidance/pics/ + +# install desktop file +%__install -D -p -m0644 powermanager/guidance-power-manager.desktop \ + %{buildroot}%{tde_datadir}/autostart/guidance-power-manager.desktop + +# copy python modules in PYSUPPORT_PATH +%__cp powermanager/guidance_power_manager_ui.py %{buildroot}%{python_sitearch}/%{name} +%__cp powermanager/notify.py %{buildroot}%{python_sitearch}/%{name} +%__cp powermanager/tooltip.py %{buildroot}%{python_sitearch}/%{name} + +# generate guidance-power-manager script +cat <%{buildroot}%{tde_bindir}/guidance-power-manager +#!/bin/sh +export PYTHONPATH=%{python_sitearch}/%{name} +%{python_sitearch}/%{name}/guidance-power-manager.py & +EOF +chmod +x %{buildroot}%{tde_bindir}/guidance-power-manager + +# fix script-not-executable +chmod 0755 %{buildroot}%{python_sitearch}/%{name}/powermanage.py +chmod 0755 %{buildroot}%{python_sitearch}/%{name}/gpmhelper.py + + +# Replace all '#!' calls to python with /usr/bin/python +# and make them executable +for i in `find %{buildroot} -type f`; do + sed '1s,#!.*python[^ ]*\(.*\),#! /usr/bin/python\1,' \ + $i > $i.temp; + if cmp --quiet $i $i.temp; then + rm -f $i.temp; + else + mv -f $i.temp $i; + chmod 755 $i; + echo "fixed interpreter: $i"; + fi; +done + +# Removes useless files +find %{buildroot} -name "*.egg-info" -exec rm -f {} \; +#find %{buildroot}%{_libdir} -name "*.a" -exec rm -f {} \; + +%__rm -f %{?buildroot}%{python_sitearch}/%{name}/*.pyc +%__rm -f %{?buildroot}%{python_sitearch}/%{name}/*.pyo + +# Removes obsolete display config manager +%__rm -f %{?buildroot}/etc/X11/Xsession.d/40guidance-displayconfig_restore +%__rm -f %{?buildroot}%{tde_tdelibdir}/kcm_displayconfig.* +%__rm -f %{?buildroot}%{python_sitearch}/%{name}/displayconfig.py +%__rm -f %{?buildroot}%{python_sitearch}/%{name}/displayconfigwidgets.py + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/crystalsvg || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : +/sbin/ldconfig || : + +%postun +touch --no-create %{tde_datadir}/icons/crystalsvg || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : +/sbin/ldconfig || : + +%post powermanager +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun powermanager +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc ChangeLog COPYING README TODO +#%{tde_bindir}/displayconfig +#%{tde_bindir}/displayconfig-restore +%{tde_bindir}/grubconfig +%{tde_bindir}/mountconfig +%{tde_bindir}/serviceconfig +%{tde_bindir}/userconfig +%{tde_bindir}/wineconfig +%attr(0644,root,root) %{tde_tdelibdir}/*.so +%attr(0644,root,root) %{tde_tdelibdir}/*.la +%{tde_datadir}/apps/guidance/ +%{tde_datadir}/applications/kde/*.desktop +%{tde_datadir}/icons/crystalsvg/*/*/*.png +%{tde_datadir}/icons/crystalsvg/*/*/*.svg +%{python_sitearch}/%{name}/SMBShareSelectDialog.py +%{python_sitearch}/%{name}/SimpleCommandRunner.py +%{python_sitearch}/%{name}/fuser.py +%{python_sitearch}/%{name}/fuser_ui.py +%{python_sitearch}/%{name}/grubconfig.py +%{python_sitearch}/%{name}/ktimerdialog.py +%{python_sitearch}/%{name}/mountconfig.py +%{python_sitearch}/%{name}/servertestdialog.py +%{python_sitearch}/%{name}/serviceconfig.py +%{python_sitearch}/%{name}/sizeview.py +%{python_sitearch}/%{name}/unixauthdb.py +%{python_sitearch}/%{name}/userconfig.py +%{python_sitearch}/%{name}/wineconfig.py +%{tde_tdedocdir}/HTML/en/guidance/ + +# Files from backends +%exclude %{tde_datadir}/apps/guidance/vesamodes +%exclude %{tde_datadir}/apps/guidance/extramodes +%exclude %{tde_datadir}/apps/guidance/widescreenmodes +%exclude %{tde_datadir}/apps/guidance/Cards+ +%exclude %{tde_datadir}/apps/guidance/pcitable +%exclude %{tde_datadir}/apps/guidance/MonitorsDB + +# Files from powermanager +%exclude %{tde_datadir}/icons/hicolor/22x22/apps/power-manager.png +%exclude %{tde_datadir}/apps/guidance/pics/ac-adapter.png +%exclude %{tde_datadir}/apps/guidance/pics/battery*.png +%exclude %{tde_datadir}/apps/guidance/pics/processor.png + +%files -n trinity-guidance-backends +%defattr(-,root,root,-) +%{python_sitearch}/%{name}/MicroHAL.py +%{python_sitearch}/%{name}/ScanPCI.py +%{python_sitearch}/%{name}/infimport.py +%{python_sitearch}/%{name}/displayconfigabstraction.py +%{python_sitearch}/%{name}/displayconfig-hwprobe.py +%{python_sitearch}/%{name}/displayconfig-restore.py +%{python_sitearch}/%{name}/drivedetect.py +%{python_sitearch}/%{name}/execwithcapture.py +%{python_sitearch}/%{name}/wineread.py +%{python_sitearch}/%{name}/winewrite.py +%{python_sitearch}/%{name}/xf86misc.py +%{python_sitearch}/%{name}/xorgconfig.py +%{python_sitearch}/ixf86misc.so +%{tde_datadir}/apps/guidance/vesamodes +%{tde_datadir}/apps/guidance/extramodes +%{tde_datadir}/apps/guidance/widescreenmodes +%{tde_datadir}/apps/guidance/Cards+ +%{tde_datadir}/apps/guidance/pcitable +%{tde_datadir}/apps/guidance/MonitorsDB + + + +%files powermanager +%defattr(-,root,root,-) +%{tde_bindir}/guidance-power-manager +%{python_sitearch}/%{name}/MicroHAL.py +%{python_sitearch}/%{name}/guidance-power-manager.py +%{python_sitearch}/%{name}/powermanage.py +%{python_sitearch}/%{name}/gpmhelper.py +%{python_sitearch}/%{name}/powermanager_ui.py +%{python_sitearch}/%{name}/guidance_power_manager_ui.py +%{python_sitearch}/%{name}/notify.py +%{python_sitearch}/%{name}/tooltip.py +%{tde_datadir}/icons/hicolor/22x22/apps/power-manager.png +%{tde_datadir}/apps/guidance/pics/ac-adapter.png +%{tde_datadir}/apps/guidance/pics/battery*.png +%{tde_datadir}/apps/guidance/pics/processor.png +%{tde_datadir}/autostart/guidance-power-manager.desktop + + + +%Changelog +* Fri May 11 2012 Francois Andriot - 0.8.0svn20080103-3 +- Fix Python search dir + +* Tue May 01 2012 Francois Andriot - 0.8.0svn20080103-2 +- Rebuilt for Fedora 17 +- Fix post and postun +- Fix library locations + +* Thu Dec 01 2011 Francois Andriot - 0.8.0svn20080103-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tde-guidance/tde-guidance-3.5.13.2.spec b/redhat/applications/tde-guidance/tde-guidance-3.5.13.2.spec new file mode 100644 index 000000000..6d287c7d3 --- /dev/null +++ b/redhat/applications/tde-guidance/tde-guidance-3.5.13.2.spec @@ -0,0 +1,449 @@ +# REMOVE KDELIBS4-DEVEL before building !!!! + +%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +%define __arch_install_post %{nil} + +Name: trinity-tde-guidance +Summary: A collection of system administration tools for Trinity +Version: 0.8.0svn20080103 +Release: 6%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.simonzone.com/software/guidance + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: trinity-tde-guidance-3.5.13.2.tar.gz + +# [tde-guidance] Work around mountconfig incorrectly handling LABEL tag +# This resolves Bug 1545 +# Add ext4 support +Patch1: tde-guidance-3.5.13.2-fix_mountconfig.patch + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: trinity-pytdeextensions +BuildRequires: trinity-libpythonize0-devel +BuildRequires: trinity-python-trinity +BuildRequires: chrpath +BuildRequires: gcc-c++ + +# SIP support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: python-sip +%endif +%if 0%{?suse_version} +BuildRequires: python-sip-devel +%endif +%if 0%{?rhel} == 5 +BuildRequires: trinity-sip-devel +%endif +%if 0%{?rhel} >= 6 || 0%{?fedora} +BuildRequires: sip-devel +%endif + +# PYTHON-QT support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: python-qt +Requires: python-qt +%endif +%if 0%{?rhel} == 5 || 0%{?suse_version} +BuildRequires: trinity-PyQt-devel +Requires: trinity-PyQt +%endif +%if 0%{?rhel} >= 6 || 0%{?fedora} +BuildRequires: PyQt-devel +Requires: PyQt +%endif + + +Requires: trinity-python-trinity +Requires: trinity-pytdeextensions +Requires: %{name}-backends = %{version}-%{release} +Requires: python +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +Requires: hwdata +%endif + + +%if "%{tde_prefix}" == "/usr" +Conflicts: guidance-power-manager +Conflicts: kde-guidance-powermanager +%endif + +Obsoletes: trinity-guidance < %{version}-%{release} +Provides: trinity-guidance = %{version}-%{release} + +%description +Guidance currently consists of four programs designed to help you +look after your system: + o userconfig - User and Group administration + o serviceconfig - Service/daemon administration + o mountconfig - Disk and filesystem administration + o wineconfig - Wine configuration + +These tools are available in Trinity Control Center, System Settings +or can be run as standalone applications. + + + +%package backends +Group: Applications/Utilities +Summary: collection of system administration tools for GNU/Linux [Trinity] +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +Requires: hwdata +%endif +Requires: python + +Obsoletes: trinity-guidance-backends < %{version}-%{release} +Provides: trinity-guidance-backends = %{version}-%{release} + +%description backends +This package contains the platform neutral backends used in the +Guidance configuration tools. + + +%package powermanager +Group: Applications/Utilities +Summary: HAL based power manager applet [Trinity] +Requires: %{name} = %{version}-%{release} + +Obsoletes: trinity-guidance-powermanager < %{version}-%{release} +Provides: trinity-guidance-powermanager = %{version}-%{release} + +%description powermanager +A power management applet to indicate battery levels and perform hibernate or +suspend using HAL. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n trinity-tde-guidance-3.5.13.2 +%patch1 -p1 -b .mountconfig + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export KDEDIR=%{tde_prefix} + +# Avoids 'error: byte-compiling is disabled.' on Mandriva/Mageia +export PYTHONDONTWRITEBYTECODE= + +# Ugly hack for building Guidance in a non-standard python directory +export EXTRA_MODULE_DIR="%{python_sitearch}/%{name}" + +# FTBFS on PCLOS ... +export CXXFLAGS="${RPM_OPT_FLAGS} -I%{tde_tdeincludedir} -I%{tde_includedir}" + +# Specific path for RHEL4 +if [ -d /usr/X11R6 ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" + %__sed -i "setup.py" -e "s|/usr/X11R6/lib|/usr/X11R6/%{_lib}|g" +fi + +./setup.py build + + +%install +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export EXTRA_MODULE_DIR="%{python_sitearch}/%{name}" + +# For RHEL4 only +export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt + +# For Mageia/Mandriva: Avoids 'error: byte-compiling must be disabled. +export PYTHONDONTWRITEBYTECODE= + +%__rm -rf %{buildroot} +./setup.py install \ + --prefix=%{tde_prefix} \ + --root=%{buildroot} + +# Fix temporary build directories remaining inside .py files +for f in %{buildroot}%{tde_datadir}/apps/guidance/*.py; do + %__sed -i "${f}" -e "s|%{buildroot}||g" +done + +##### MAIN PACKAGE INSTALLATION (based on Debian/Ubuntu packaging rules) +# install icons to right place +%__mkdir_p %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps +%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/hi32-app-daemons.png \ + %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/daemons.png +%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/kcmpartitions.png \ + %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/disksfilesystems.png +%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/hi32-user.png \ + %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/userconfig.png +%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/hi32-display.png \ + %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/displayconfig.png +%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/32-wine.png \ + %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/wineconfig.png +%__install -D -p -m0644 kde/wineconfig/pics/16x16/wineconfig.png \ + %{buildroot}%{tde_datadir}/icons/crystalsvg/16x16/apps/wineconfig.png + +# fix binary-or-shlib-defines-rpath +chrpath -d %{buildroot}%{tde_tdelibdir}/kcm_*.so + +# fix executable-not-elf-or-script +%__chmod 0644 %{buildroot}%{tde_datadir}/apps/guidance/pics/kdewinewizard.png + +# move python modules in %{python_sitearch} (/usr/lib/pythonXX/site-packages) +%__mkdir_p %{buildroot}%{python_sitearch}/%{name} +%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/*.py* %{buildroot}%{python_sitearch}/%{name} + +# fix the link properly +%__rm -f %{buildroot}%{tde_bindir}/* +#%__ln_s -f %{python_sitearch}/%{name}/displayconfig.py %{buildroot}%{tde_bindir}/displayconfig +%__ln_s -f %{python_sitearch}/%{name}/mountconfig.py %{buildroot}%{tde_bindir}/mountconfig +%__ln_s -f %{python_sitearch}/%{name}/serviceconfig.py %{buildroot}%{tde_bindir}/serviceconfig +%__ln_s -f %{python_sitearch}/%{name}/userconfig.py %{buildroot}%{tde_bindir}/userconfig +%__ln_s -f %{python_sitearch}/%{name}/wineconfig.py %{buildroot}%{tde_bindir}/wineconfig +%__ln_s -f %{python_sitearch}/%{name}/grubconfig.py %{buildroot}%{tde_bindir}/grubconfig + +# (obsolete) put this here since gnome people probably don't want it by default +#%__ln_s -f %{_python_sitearch}/%{name}/displayconfig-restore.py %{buildroot}%{tde_bindir}/displayconfig-restore + +# fix script-not-executable +%__chmod 0755 %{buildroot}%{python_sitearch}/%{name}/fuser.py +%__chmod 0755 %{buildroot}%{python_sitearch}/%{name}/grubconfig.py + +%__mv -f %{buildroot}%{tde_datadir}/applications/kde/displayconfig.desktop %{buildroot}%{tde_datadir}/applications/kde/guidance-displayconfig.desktop + +##### BACKENDS INSTALLATION +# install displayconfig-hwprobe.py script +%__install -D -p -m0755 displayconfig/displayconfig-hwprobe.py \ + %{buildroot}%{python_sitearch}/%{name}/displayconfig-hwprobe.py + +# The xf86misc stuff should not go under /opt/trinity bur under /usr !!! +%__mv -f %{buildroot}%{tde_libdir}/python*/site-packages/ixf86misc.so %{buildroot}%{python_sitearch} +%__mv -f %{buildroot}%{tde_libdir}/python*/site-packages/xf86misc.py* %{buildroot}%{python_sitearch}/%{name} + +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%__rm -f %{buildroot}%{tde_datadir}/apps/guidance/MonitorsDB +%__ln_s -f /usr/share/hwdata/MonitorsDB %{buildroot}%{tde_datadir}/apps/guidance/MonitorsDB +%endif + + +##### POWERMANAGER INSTALLATION +# install icon to right place +%__install -D -p -m0644 kde/powermanager/pics/battery-charging-100.png \ + %{buildroot}%{tde_datadir}/icons/hicolor/22x22/apps/power-manager.png +%__install -D -p -m0644 kde/powermanager/pics/*.png \ + %{buildroot}%{tde_datadir}/apps/guidance/pics/ + +# install desktop file +%__install -D -p -m0644 powermanager/guidance-power-manager.desktop \ + %{buildroot}%{tde_datadir}/autostart/guidance-power-manager.desktop + +# copy python modules in PYSUPPORT_PATH +%__cp powermanager/guidance_power_manager_ui.py %{buildroot}%{python_sitearch}/%{name} +%__cp powermanager/notify.py %{buildroot}%{python_sitearch}/%{name} +%__cp powermanager/tooltip.py %{buildroot}%{python_sitearch}/%{name} + +# generate guidance-power-manager script +cat <%{buildroot}%{tde_bindir}/guidance-power-manager +#!/bin/sh +export PYTHONPATH=%{python_sitearch}/%{name} +%{python_sitearch}/%{name}/guidance-power-manager.py & +EOF +chmod +x %{buildroot}%{tde_bindir}/guidance-power-manager + +# fix script-not-executable +chmod 0755 %{buildroot}%{python_sitearch}/%{name}/powermanage.py +chmod 0755 %{buildroot}%{python_sitearch}/%{name}/gpmhelper.py + + +# Replace all '#!' calls to python with /usr/bin/python +# and make them executable +for i in `find %{buildroot} -type f`; do + sed '1s,#!.*python[^ ]*\(.*\),#! /usr/bin/python\1,' \ + $i > $i.temp; + if cmp --quiet $i $i.temp; then + rm -f $i.temp; + else + mv -f $i.temp $i; + chmod 755 $i; + echo "fixed interpreter: $i"; + fi; +done + +# Removes useless files +find %{buildroot} -name "*.egg-info" -exec rm -f {} \; +find %{buildroot}%{tde_libdir} -name "*.a" -exec rm -f {} \; + +# Removes obsolete display config manager +%__rm -f %{?buildroot}/etc/X11/Xsession.d/40guidance-displayconfig_restore +%__rm -f %{?buildroot}%{tde_tdelibdir}/kcm_displayconfig.* +%__rm -f %{?buildroot}%{python_sitearch}/%{name}/displayconfig.py* +%__rm -f %{?buildroot}%{python_sitearch}/%{name}/displayconfigwidgets.py* + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/crystalsvg || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : +/sbin/ldconfig || : + +%postun +touch --no-create %{tde_datadir}/icons/crystalsvg || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : +/sbin/ldconfig || : + +%post powermanager +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun powermanager +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc ChangeLog COPYING README TODO +#%{tde_bindir}/displayconfig +#%{tde_bindir}/displayconfig-restore +%{tde_bindir}/grubconfig +%{tde_bindir}/mountconfig +%{tde_bindir}/serviceconfig +%{tde_bindir}/userconfig +%{tde_bindir}/wineconfig +%attr(0644,root,root) %{tde_tdelibdir}/*.so +%attr(0644,root,root) %{tde_tdelibdir}/*.la +%{tde_datadir}/apps/guidance/ +%{tde_datadir}/applications/kde/*.desktop +%{tde_datadir}/icons/crystalsvg/*/*/*.png +%{tde_datadir}/icons/crystalsvg/*/*/*.svg +%{python_sitearch}/%{name}/SMBShareSelectDialog.py* +%{python_sitearch}/%{name}/SimpleCommandRunner.py* +%{python_sitearch}/%{name}/fuser.py* +%{python_sitearch}/%{name}/fuser_ui.py* +%{python_sitearch}/%{name}/grubconfig.py* +%{python_sitearch}/%{name}/ktimerdialog.py* +%{python_sitearch}/%{name}/mountconfig.py* +%{python_sitearch}/%{name}/servertestdialog.py* +%{python_sitearch}/%{name}/serviceconfig.py* +%{python_sitearch}/%{name}/sizeview.py* +%{python_sitearch}/%{name}/unixauthdb.py* +%{python_sitearch}/%{name}/userconfig.py* +%{python_sitearch}/%{name}/wineconfig.py* +%{tde_tdedocdir}/HTML/en/guidance/ + +# Files from backends +%exclude %{tde_datadir}/apps/guidance/vesamodes +%exclude %{tde_datadir}/apps/guidance/extramodes +%exclude %{tde_datadir}/apps/guidance/widescreenmodes +%exclude %{tde_datadir}/apps/guidance/Cards+ +%exclude %{tde_datadir}/apps/guidance/pcitable +%exclude %{tde_datadir}/apps/guidance/MonitorsDB + +# Files from powermanager +%exclude %{tde_datadir}/icons/hicolor/22x22/apps/power-manager.png +%exclude %{tde_datadir}/apps/guidance/pics/ac-adapter.png +%exclude %{tde_datadir}/apps/guidance/pics/battery*.png +%exclude %{tde_datadir}/apps/guidance/pics/processor.png + +%files backends +%defattr(-,root,root,-) +%{python_sitearch}/%{name}/MicroHAL.py* +%{python_sitearch}/%{name}/ScanPCI.py* +%{python_sitearch}/%{name}/infimport.py* +%{python_sitearch}/%{name}/displayconfigabstraction.py* +%{python_sitearch}/%{name}/displayconfig-hwprobe.py* +%{python_sitearch}/%{name}/displayconfig-restore.py* +%{python_sitearch}/%{name}/drivedetect.py* +%{python_sitearch}/%{name}/execwithcapture.py* +%{python_sitearch}/%{name}/wineread.py* +%{python_sitearch}/%{name}/winewrite.py* +%{python_sitearch}/%{name}/xf86misc.py* +%{python_sitearch}/%{name}/xorgconfig.py* +%{python_sitearch}/ixf86misc.so +%{tde_datadir}/apps/guidance/vesamodes +%{tde_datadir}/apps/guidance/extramodes +%{tde_datadir}/apps/guidance/widescreenmodes +%{tde_datadir}/apps/guidance/Cards+ +%{tde_datadir}/apps/guidance/pcitable +%{tde_datadir}/apps/guidance/MonitorsDB + + + +%files powermanager +%defattr(-,root,root,-) +%{tde_bindir}/guidance-power-manager +%{python_sitearch}/%{name}/MicroHAL.py* +%{python_sitearch}/%{name}/guidance-power-manager.py* +%{python_sitearch}/%{name}/powermanage.py* +%{python_sitearch}/%{name}/gpmhelper.py* +%{python_sitearch}/%{name}/powermanager_ui.py* +%{python_sitearch}/%{name}/guidance_power_manager_ui.py* +%{python_sitearch}/%{name}/notify.py* +%{python_sitearch}/%{name}/tooltip.py* +%{tde_datadir}/icons/hicolor/22x22/apps/power-manager.png +%{tde_datadir}/apps/guidance/pics/ac-adapter.png +%{tde_datadir}/apps/guidance/pics/battery*.png +%{tde_datadir}/apps/guidance/pics/processor.png +%{tde_datadir}/autostart/guidance-power-manager.desktop + + + +%changelog +* Thu Jun 27 2013 Francois Andriot - 0.8.0svn20080103-6 +- Work around mountconfig incorrectly handling LABEL tag + +* Mon Jun 03 2013 Francois Andriot - 0.8.0svn20080103-5 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.8.0svn20080103-4 +- Initial build for TDE 3.5.13.1 + +* Fri May 11 2012 Francois Andriot - 0.8.0svn20080103-3 +- Fix Python search dir + +* Tue May 01 2012 Francois Andriot - 0.8.0svn20080103-2 +- Rebuilt for Fedora 17 +- Fix post and postun +- Fix library locations + +* Thu Dec 01 2011 Francois Andriot - 0.8.0svn20080103-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tde-guidance/trinity-guidance-3.5.13.1.spec b/redhat/applications/tde-guidance/trinity-guidance-3.5.13.1.spec deleted file mode 100644 index c0a61ba05..000000000 --- a/redhat/applications/tde-guidance/trinity-guidance-3.5.13.1.spec +++ /dev/null @@ -1,414 +0,0 @@ -%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -%define __arch_install_post %{nil} - -Name: trinity-guidance -Summary: A collection of system administration tools for Trinity -Version: 0.8.0svn20080103 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.simonzone.com/software/guidance - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: kde-guidance-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: trinity-pytdeextensions -BuildRequires: trinity-libpythonize0-devel -BuildRequires: python-trinity -BuildRequires: chrpath -BuildRequires: gcc-c++ - -# SIP support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: python-sip -%endif -%if 0%{?suse_version} -BuildRequires: python-sip-devel -%endif -%if 0%{?rhel} == 5 -BuildRequires: trinity-sip-devel -%endif -%if 0%{?rhel} >= 6 || 0%{?fedora} -BuildRequires: sip-devel -%endif - -# PYTHON-QT support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: python-qt -Requires: python-qt -%endif -%if 0%{?rhel} == 5 || 0%{?suse_version} -BuildRequires: trinity-PyQt-devel -Requires: trinity-PyQt -%endif -%if 0%{?rhel} >= 6 || 0%{?fedora} -BuildRequires: PyQt-devel -Requires: PyQt -%endif - - -Requires: python-trinity -Requires: trinity-pytdeextensions -Requires: %{name}-backends -Requires: python -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -Requires: hwdata -%endif - - -%if "%{tde_prefix}" == "/usr" -Conflicts: guidance-power-manager -Conflicts: kde-guidance-powermanager -%endif - -%description -Guidance currently consists of four programs designed to help you -look after your system: - o userconfig - User and Group administration - o serviceconfig - Service/daemon administration - o mountconfig - Disk and filesystem administration - o wineconfig - Wine configuration - -These tools are available in Trinity Control Center, System Settings -or can be run as standalone applications. - - - -%package backends -Group: Applications/Utilities -Summary: collection of system administration tools for GNU/Linux [Trinity] -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -Requires: hwdata -%endif -Requires: python - -%description backends -This package contains the platform neutral backends used in the -Guidance configuration tools. - - -%package powermanager -Group: Applications/Utilities -Summary: HAL based power manager applet [Trinity] -Requires: %{name} = %{version}-%{release} - -%description powermanager -A power management applet to indicate battery levels and perform hibernate or -suspend using HAL. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n kde-guidance-3.5.13.1 - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export EXTRA_MODULE_DIR="%{python_sitearch}/%{name}" -export KDEDIR=%{tde_prefix} - -# Avoids 'error: byte-compiling is disabled.' on Mandriva/Mageia -export PYTHONDONTWRITEBYTECODE= - -./setup.py build - - -%install -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export EXTRA_MODULE_DIR="%{python_sitearch}/%{name}" - -# Avoids 'error: byte-compiling is disabled.' on Mandriva/Mageia -export PYTHONDONTWRITEBYTECODE= - -%__rm -rf %{buildroot} -./setup.py install \ - --prefix=%{tde_prefix} \ - --root=%{buildroot} - -# Fix building directories stored inside .py files -for f in %{buildroot}%{tde_datadir}/apps/guidance/*.py; do - %__sed -i "${f}" -e "s|%{buildroot}||g" -done - -##### MAIN PACKAGE INSTALLATION -# install icons to right place -%__mkdir_p %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps -%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/hi32-app-daemons.png \ - %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/daemons.png -%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/kcmpartitions.png \ - %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/disksfilesystems.png -%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/hi32-user.png \ - %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/userconfig.png -%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/hi32-display.png \ - %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/displayconfig.png -%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/32-wine.png \ - %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/wineconfig.png -%__install -D -p -m0644 kde/wineconfig/pics/16x16/wineconfig.png \ - %{buildroot}%{tde_datadir}/icons/crystalsvg/16x16/apps/wineconfig.png - -# fix binary-or-shlib-defines-rpath -chrpath -d %{buildroot}%{tde_tdelibdir}/kcm_*.so - -# fix executable-not-elf-or-script -%__chmod 0644 %{buildroot}%{tde_datadir}/apps/guidance/pics/kdewinewizard.png - -# move python modules in %{python_sitearch} -%__mkdir_p %{buildroot}%{python_sitearch}/%{name} -%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/*.py %{buildroot}%{python_sitearch}/%{name} - -# fix the link properly -%__rm -f %{buildroot}%{tde_bindir}/* -#%__ln_s -f %{python_sitearch}/%{name}/displayconfig.py %{buildroot}%{tde_bindir}/displayconfig -%__ln_s -f %{python_sitearch}/%{name}/mountconfig.py %{buildroot}%{tde_bindir}/mountconfig -%__ln_s -f %{python_sitearch}/%{name}/serviceconfig.py %{buildroot}%{tde_bindir}/serviceconfig -%__ln_s -f %{python_sitearch}/%{name}/userconfig.py %{buildroot}%{tde_bindir}/userconfig -%__ln_s -f %{python_sitearch}/%{name}/wineconfig.py %{buildroot}%{tde_bindir}/wineconfig -%__ln_s -f %{python_sitearch}/%{name}/grubconfig.py %{buildroot}%{tde_bindir}/grubconfig - -# (obsolete) put this here since gnome people probably don't want it by default -#%__ln_s -f %{_python_sitearch}/%{name}/displayconfig-restore.py %{buildroot}%{tde_bindir}/displayconfig-restore - -# fix script-not-executable -%__chmod 0755 %{buildroot}%{python_sitearch}/%{name}/fuser.py -%__chmod 0755 %{buildroot}%{python_sitearch}/%{name}/grubconfig.py - -%__mv -f %{buildroot}%{tde_datadir}/applications/kde/displayconfig.desktop %{buildroot}%{tde_datadir}/applications/kde/guidance-displayconfig.desktop - -##### BACKENDS INSTALLATION -# install displayconfig-hwprobe.py script -%__install -D -p -m0755 displayconfig/displayconfig-hwprobe.py \ - %{buildroot}%{python_sitearch}/%{name}/displayconfig-hwprobe.py - -# The xf86misc stuff should not go under /opt/trinity bur under /usr !!! -%__mv -f %{buildroot}%{tde_libdir}/python*/site-packages/ixf86misc.so %{buildroot}%{python_sitearch} -%__mv -f %{buildroot}%{tde_libdir}/python*/site-packages/xf86misc.py* %{buildroot}%{python_sitearch}/%{name} - -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%__rm -f %{buildroot}%{tde_datadir}/apps/guidance/MonitorsDB -%__ln_s -f /usr/share/hwdata/MonitorsDB %{buildroot}%{tde_datadir}/apps/guidance/MonitorsDB -%endif - - -##### POWERMANAGER INSTALLATION -# install icon to right place -%__install -D -p -m0644 kde/powermanager/pics/battery-charging-100.png \ - %{buildroot}%{tde_datadir}/icons/hicolor/22x22/apps/power-manager.png -%__install -D -p -m0644 kde/powermanager/pics/*.png \ - %{buildroot}%{tde_datadir}/apps/guidance/pics/ - -# install desktop file -%__install -D -p -m0644 powermanager/guidance-power-manager.desktop \ - %{buildroot}%{tde_datadir}/autostart/guidance-power-manager.desktop - -# copy python modules in PYSUPPORT_PATH -%__cp powermanager/guidance_power_manager_ui.py %{buildroot}%{python_sitearch}/%{name} -%__cp powermanager/notify.py %{buildroot}%{python_sitearch}/%{name} -%__cp powermanager/tooltip.py %{buildroot}%{python_sitearch}/%{name} - -# generate guidance-power-manager script -cat <%{buildroot}%{tde_bindir}/guidance-power-manager -#!/bin/sh -export PYTHONPATH=%{python_sitearch}/%{name} -%{python_sitearch}/%{name}/guidance-power-manager.py & -EOF -chmod +x %{buildroot}%{tde_bindir}/guidance-power-manager - -# fix script-not-executable -chmod 0755 %{buildroot}%{python_sitearch}/%{name}/powermanage.py -chmod 0755 %{buildroot}%{python_sitearch}/%{name}/gpmhelper.py - - -# Replace all '#!' calls to python with /usr/bin/python -# and make them executable -for i in `find %{buildroot} -type f`; do - sed '1s,#!.*python[^ ]*\(.*\),#! /usr/bin/python\1,' \ - $i > $i.temp; - if cmp --quiet $i $i.temp; then - rm -f $i.temp; - else - mv -f $i.temp $i; - chmod 755 $i; - echo "fixed interpreter: $i"; - fi; -done - -# Removes useless files -find %{buildroot} -name "*.egg-info" -exec rm -f {} \; -find %{buildroot}%{tde_libdir} -name "*.a" -exec rm -f {} \; - -# Removes obsolete display config manager -%__rm -f %{?buildroot}/etc/X11/Xsession.d/40guidance-displayconfig_restore -%__rm -f %{?buildroot}%{tde_tdelibdir}/kcm_displayconfig.* -%__rm -f %{?buildroot}%{python_sitearch}/%{name}/displayconfig.py -%__rm -f %{?buildroot}%{python_sitearch}/%{name}/displayconfigwidgets.py - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : -/sbin/ldconfig || : - -%postun -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : -/sbin/ldconfig || : - -%post powermanager -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun powermanager -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc ChangeLog COPYING README TODO -#%{tde_bindir}/displayconfig -#%{tde_bindir}/displayconfig-restore -%{tde_bindir}/grubconfig -%{tde_bindir}/mountconfig -%{tde_bindir}/serviceconfig -%{tde_bindir}/userconfig -%{tde_bindir}/wineconfig -%attr(0644,root,root) %{tde_tdelibdir}/*.so -%attr(0644,root,root) %{tde_tdelibdir}/*.la -%{tde_datadir}/apps/guidance/ -%{tde_datadir}/applications/kde/*.desktop -%{tde_datadir}/icons/crystalsvg/*/*/*.png -%{tde_datadir}/icons/crystalsvg/*/*/*.svg -%{python_sitearch}/%{name}/SMBShareSelectDialog.py* -%{python_sitearch}/%{name}/SimpleCommandRunner.py* -%{python_sitearch}/%{name}/fuser.py* -%{python_sitearch}/%{name}/fuser_ui.py* -%{python_sitearch}/%{name}/grubconfig.py* -%{python_sitearch}/%{name}/ktimerdialog.py* -%{python_sitearch}/%{name}/mountconfig.py* -%{python_sitearch}/%{name}/servertestdialog.py* -%{python_sitearch}/%{name}/serviceconfig.py* -%{python_sitearch}/%{name}/sizeview.py* -%{python_sitearch}/%{name}/unixauthdb.py* -%{python_sitearch}/%{name}/userconfig.py* -%{python_sitearch}/%{name}/wineconfig.py* -%{tde_tdedocdir}/HTML/en/guidance/ - -# Files from backends -%exclude %{tde_datadir}/apps/guidance/vesamodes -%exclude %{tde_datadir}/apps/guidance/extramodes -%exclude %{tde_datadir}/apps/guidance/widescreenmodes -%exclude %{tde_datadir}/apps/guidance/Cards+ -%exclude %{tde_datadir}/apps/guidance/pcitable -%exclude %{tde_datadir}/apps/guidance/MonitorsDB - -# Files from powermanager -%exclude %{tde_datadir}/icons/hicolor/22x22/apps/power-manager.png -%exclude %{tde_datadir}/apps/guidance/pics/ac-adapter.png -%exclude %{tde_datadir}/apps/guidance/pics/battery*.png -%exclude %{tde_datadir}/apps/guidance/pics/processor.png - -%files -n trinity-guidance-backends -%defattr(-,root,root,-) -%{python_sitearch}/%{name}/MicroHAL.py* -%{python_sitearch}/%{name}/ScanPCI.py* -%{python_sitearch}/%{name}/infimport.py* -%{python_sitearch}/%{name}/displayconfigabstraction.py* -%{python_sitearch}/%{name}/displayconfig-hwprobe.py* -%{python_sitearch}/%{name}/displayconfig-restore.py* -%{python_sitearch}/%{name}/drivedetect.py* -%{python_sitearch}/%{name}/execwithcapture.py* -%{python_sitearch}/%{name}/wineread.py* -%{python_sitearch}/%{name}/winewrite.py* -%{python_sitearch}/%{name}/xf86misc.py* -%{python_sitearch}/%{name}/xorgconfig.py* -%{python_sitearch}/ixf86misc.so -%{tde_datadir}/apps/guidance/vesamodes -%{tde_datadir}/apps/guidance/extramodes -%{tde_datadir}/apps/guidance/widescreenmodes -%{tde_datadir}/apps/guidance/Cards+ -%{tde_datadir}/apps/guidance/pcitable -%{tde_datadir}/apps/guidance/MonitorsDB - - - -%files powermanager -%defattr(-,root,root,-) -%{tde_bindir}/guidance-power-manager -%{python_sitearch}/%{name}/MicroHAL.py* -%{python_sitearch}/%{name}/guidance-power-manager.py* -%{python_sitearch}/%{name}/powermanage.py* -%{python_sitearch}/%{name}/gpmhelper.py* -%{python_sitearch}/%{name}/powermanager_ui.py* -%{python_sitearch}/%{name}/guidance_power_manager_ui.py* -%{python_sitearch}/%{name}/notify.py* -%{python_sitearch}/%{name}/tooltip.py* -%{tde_datadir}/icons/hicolor/22x22/apps/power-manager.png -%{tde_datadir}/apps/guidance/pics/ac-adapter.png -%{tde_datadir}/apps/guidance/pics/battery*.png -%{tde_datadir}/apps/guidance/pics/processor.png -%{tde_datadir}/autostart/guidance-power-manager.desktop - - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.8.0svn20080103-4 -- Initial build for TDE 3.5.13.1 - -* Fri May 11 2012 Francois Andriot - 0.8.0svn20080103-3 -- Fix Python search dir - -* Tue May 01 2012 Francois Andriot - 0.8.0svn20080103-2 -- Rebuilt for Fedora 17 -- Fix post and postun -- Fix library locations - -* Thu Dec 01 2011 Francois Andriot - 0.8.0svn20080103-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tde-guidance/trinity-guidance-3.5.13.spec b/redhat/applications/tde-guidance/trinity-guidance-3.5.13.spec deleted file mode 100644 index 4d9452f32..000000000 --- a/redhat/applications/tde-guidance/trinity-guidance-3.5.13.spec +++ /dev/null @@ -1,390 +0,0 @@ -%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -%define __arch_install_post %{nil} - -Name: trinity-guidance -Summary: A collection of system administration tools for Trinity -Version: 0.8.0svn20080103 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.simonzone.com/software/guidance - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: kde-guidance-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: trinity-pykdeextensions -BuildRequires: trinity-libpythonize0-devel -BuildRequires: python-trinity -BuildRequires: chrpath -BuildRequires: gcc-c++ - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: python-sip -BuildRequires: python-qt -Requires: python-qt -%else -%if 0%{?rhel} == 5 -BuildRequires: trinity-PyQt-devel -BuildRequires: trinity-sip-devel -Requires: trinity-PyQt -%else -BuildRequires: PyQt-devel -BuildRequires: sip-devel -Requires: PyQt -%endif -%endif - - -Requires: python-trinity -Requires: %{name}-backends -Requires: hwdata -Requires: python - -%if "%{tde_prefix}" == "/usr" -Conflicts: guidance-power-manager -Conflicts: kde-guidance-powermanager -%endif - -%description -Guidance currently consists of four programs designed to help you -look after your system: - o userconfig - User and Group administration - o serviceconfig - Service/daemon administration - o mountconfig - Disk and filesystem administration - o wineconfig - Wine configuration - -These tools are available in Trinity Control Center, System Settings -or can be run as standalone applications. - - - -%package backends -Group: Applications/Utilities -Summary: collection of system administration tools for GNU/Linux [Trinity] -Requires: hwdata -Requires: python - -%description backends -This package contains the platform neutral backends used in the -Guidance configuration tools. - - -%package powermanager -Group: Applications/Utilities -Summary: HAL based power manager applet [Trinity] -Requires: %{name} = %{version}-%{release} - -%description powermanager -A power management applet to indicate battery levels and perform hibernate or -suspend using HAL. - - -%prep -%setup -q -n applications/kde-guidance - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export EXTRA_MODULE_DIR="%{python_sitearch}/%{name}" -export KDEDIR=%{tde_prefix} - -# Avoids 'error: byte-compiling is disabled.' on Mandriva/Mageia -export PYTHONDONTWRITEBYTECODE= - -./setup.py build - - -%install -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export EXTRA_MODULE_DIR="%{python_sitearch}/%{name}" - -# Avoids 'error: byte-compiling is disabled.' on Mandriva/Mageia -export PYTHONDONTWRITEBYTECODE= - -%__rm -rf %{buildroot} -./setup.py install \ - --prefix=%{tde_prefix} \ - --root=%{buildroot} - -# Fix building directories stored inside .py files -for f in %{buildroot}%{tde_datadir}/apps/guidance/*.py; do - %__sed -i "${f}" -e "s|%{buildroot}||g" -done - -##### MAIN PACKAGE INSTALLATION -# install icons to right place -%__mkdir_p %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps -%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/hi32-app-daemons.png \ - %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/daemons.png -%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/kcmpartitions.png \ - %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/disksfilesystems.png -%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/hi32-user.png \ - %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/userconfig.png -%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/hi32-display.png \ - %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/displayconfig.png -%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/32-wine.png \ - %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/wineconfig.png -%__install -D -p -m0644 kde/wineconfig/pics/16x16/wineconfig.png \ - %{buildroot}%{tde_datadir}/icons/crystalsvg/16x16/apps/wineconfig.png - -# fix binary-or-shlib-defines-rpath -chrpath -d %{buildroot}%{tde_tdelibdir}/kcm_*.so - -# fix executable-not-elf-or-script -%__chmod 0644 %{buildroot}%{tde_datadir}/apps/guidance/pics/kdewinewizard.png - -# move python modules in %{python_sitearch} -%__mkdir_p %{buildroot}%{python_sitearch}/%{name} -%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/*.py %{buildroot}%{python_sitearch}/%{name} - -# fix the link properly -%__rm -f %{buildroot}%{tde_bindir}/* -#%__ln_s -f %{python_sitearch}/%{name}/displayconfig.py %{buildroot}%{tde_bindir}/displayconfig -%__ln_s -f %{python_sitearch}/%{name}/mountconfig.py %{buildroot}%{tde_bindir}/mountconfig -%__ln_s -f %{python_sitearch}/%{name}/serviceconfig.py %{buildroot}%{tde_bindir}/serviceconfig -%__ln_s -f %{python_sitearch}/%{name}/userconfig.py %{buildroot}%{tde_bindir}/userconfig -%__ln_s -f %{python_sitearch}/%{name}/wineconfig.py %{buildroot}%{tde_bindir}/wineconfig -%__ln_s -f %{python_sitearch}/%{name}/grubconfig.py %{buildroot}%{tde_bindir}/grubconfig - -# (obsolete) put this here since gnome people probably don't want it by default -#%__ln_s -f %{_python_sitearch}/%{name}/displayconfig-restore.py %{buildroot}%{tde_bindir}/displayconfig-restore - -# fix script-not-executable -%__chmod 0755 %{buildroot}%{python_sitearch}/%{name}/fuser.py -%__chmod 0755 %{buildroot}%{python_sitearch}/%{name}/grubconfig.py - -%__mv -f %{buildroot}%{tde_datadir}/applications/kde/displayconfig.desktop %{buildroot}%{tde_datadir}/applications/kde/guidance-displayconfig.desktop - -##### BACKENDS INSTALLATION -# install displayconfig-hwprobe.py script -%__install -D -p -m0755 displayconfig/displayconfig-hwprobe.py \ - %{buildroot}%{python_sitearch}/%{name}/displayconfig-hwprobe.py - -# The xf86misc stuff should not go under /opt/trinity bur under /usr !!! -%__mv -f %{buildroot}%{tde_libdir}/python*/site-packages/ixf86misc.so %{buildroot}%{python_sitearch} -%__mv -f %{buildroot}%{tde_libdir}/python*/site-packages/xf86misc.py* %{buildroot}%{python_sitearch}/%{name} - -%__rm -f %{buildroot}%{tde_datadir}/apps/guidance/MonitorsDB -%__ln_s -f /usr/share/hwdata/MonitorsDB %{buildroot}%{tde_datadir}/apps/guidance/MonitorsDB - - - -##### POWERMANAGER INSTALLATION -# install icon to right place -%__install -D -p -m0644 kde/powermanager/pics/battery-charging-100.png \ - %{buildroot}%{tde_datadir}/icons/hicolor/22x22/apps/power-manager.png -%__install -D -p -m0644 kde/powermanager/pics/*.png \ - %{buildroot}%{tde_datadir}/apps/guidance/pics/ - -# install desktop file -%__install -D -p -m0644 powermanager/guidance-power-manager.desktop \ - %{buildroot}%{tde_datadir}/autostart/guidance-power-manager.desktop - -# copy python modules in PYSUPPORT_PATH -%__cp powermanager/guidance_power_manager_ui.py %{buildroot}%{python_sitearch}/%{name} -%__cp powermanager/notify.py %{buildroot}%{python_sitearch}/%{name} -%__cp powermanager/tooltip.py %{buildroot}%{python_sitearch}/%{name} - -# generate guidance-power-manager script -cat <%{buildroot}%{tde_bindir}/guidance-power-manager -#!/bin/sh -export PYTHONPATH=%{python_sitearch}/%{name} -%{python_sitearch}/%{name}/guidance-power-manager.py & -EOF -chmod +x %{buildroot}%{tde_bindir}/guidance-power-manager - -# fix script-not-executable -chmod 0755 %{buildroot}%{python_sitearch}/%{name}/powermanage.py -chmod 0755 %{buildroot}%{python_sitearch}/%{name}/gpmhelper.py - - -# Replace all '#!' calls to python with /usr/bin/python -# and make them executable -for i in `find %{buildroot} -type f`; do - sed '1s,#!.*python[^ ]*\(.*\),#! /usr/bin/python\1,' \ - $i > $i.temp; - if cmp --quiet $i $i.temp; then - rm -f $i.temp; - else - mv -f $i.temp $i; - chmod 755 $i; - echo "fixed interpreter: $i"; - fi; -done - -# Removes useless files -find %{buildroot} -name "*.egg-info" -exec rm -f {} \; -#find %{buildroot}%{_libdir} -name "*.a" -exec rm -f {} \; - -%__rm -f %{?buildroot}%{python_sitearch}/%{name}/*.pyc -%__rm -f %{?buildroot}%{python_sitearch}/%{name}/*.pyo - -# Removes obsolete display config manager -%__rm -f %{?buildroot}/etc/X11/Xsession.d/40guidance-displayconfig_restore -%__rm -f %{?buildroot}%{tde_tdelibdir}/kcm_displayconfig.* -%__rm -f %{?buildroot}%{python_sitearch}/%{name}/displayconfig.py -%__rm -f %{?buildroot}%{python_sitearch}/%{name}/displayconfigwidgets.py - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : -/sbin/ldconfig || : - -%postun -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : -/sbin/ldconfig || : - -%post powermanager -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun powermanager -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc ChangeLog COPYING README TODO -#%{tde_bindir}/displayconfig -#%{tde_bindir}/displayconfig-restore -%{tde_bindir}/grubconfig -%{tde_bindir}/mountconfig -%{tde_bindir}/serviceconfig -%{tde_bindir}/userconfig -%{tde_bindir}/wineconfig -%attr(0644,root,root) %{tde_tdelibdir}/*.so -%attr(0644,root,root) %{tde_tdelibdir}/*.la -%{tde_datadir}/apps/guidance/ -%{tde_datadir}/applications/kde/*.desktop -%{tde_datadir}/icons/crystalsvg/*/*/*.png -%{tde_datadir}/icons/crystalsvg/*/*/*.svg -%{python_sitearch}/%{name}/SMBShareSelectDialog.py -%{python_sitearch}/%{name}/SimpleCommandRunner.py -%{python_sitearch}/%{name}/fuser.py -%{python_sitearch}/%{name}/fuser_ui.py -%{python_sitearch}/%{name}/grubconfig.py -%{python_sitearch}/%{name}/ktimerdialog.py -%{python_sitearch}/%{name}/mountconfig.py -%{python_sitearch}/%{name}/servertestdialog.py -%{python_sitearch}/%{name}/serviceconfig.py -%{python_sitearch}/%{name}/sizeview.py -%{python_sitearch}/%{name}/unixauthdb.py -%{python_sitearch}/%{name}/userconfig.py -%{python_sitearch}/%{name}/wineconfig.py -%{tde_tdedocdir}/HTML/en/guidance/ - -# Files from backends -%exclude %{tde_datadir}/apps/guidance/vesamodes -%exclude %{tde_datadir}/apps/guidance/extramodes -%exclude %{tde_datadir}/apps/guidance/widescreenmodes -%exclude %{tde_datadir}/apps/guidance/Cards+ -%exclude %{tde_datadir}/apps/guidance/pcitable -%exclude %{tde_datadir}/apps/guidance/MonitorsDB - -# Files from powermanager -%exclude %{tde_datadir}/icons/hicolor/22x22/apps/power-manager.png -%exclude %{tde_datadir}/apps/guidance/pics/ac-adapter.png -%exclude %{tde_datadir}/apps/guidance/pics/battery*.png -%exclude %{tde_datadir}/apps/guidance/pics/processor.png - -%files -n trinity-guidance-backends -%defattr(-,root,root,-) -%{python_sitearch}/%{name}/MicroHAL.py -%{python_sitearch}/%{name}/ScanPCI.py -%{python_sitearch}/%{name}/infimport.py -%{python_sitearch}/%{name}/displayconfigabstraction.py -%{python_sitearch}/%{name}/displayconfig-hwprobe.py -%{python_sitearch}/%{name}/displayconfig-restore.py -%{python_sitearch}/%{name}/drivedetect.py -%{python_sitearch}/%{name}/execwithcapture.py -%{python_sitearch}/%{name}/wineread.py -%{python_sitearch}/%{name}/winewrite.py -%{python_sitearch}/%{name}/xf86misc.py -%{python_sitearch}/%{name}/xorgconfig.py -%{python_sitearch}/ixf86misc.so -%{tde_datadir}/apps/guidance/vesamodes -%{tde_datadir}/apps/guidance/extramodes -%{tde_datadir}/apps/guidance/widescreenmodes -%{tde_datadir}/apps/guidance/Cards+ -%{tde_datadir}/apps/guidance/pcitable -%{tde_datadir}/apps/guidance/MonitorsDB - - - -%files powermanager -%defattr(-,root,root,-) -%{tde_bindir}/guidance-power-manager -%{python_sitearch}/%{name}/MicroHAL.py -%{python_sitearch}/%{name}/guidance-power-manager.py -%{python_sitearch}/%{name}/powermanage.py -%{python_sitearch}/%{name}/gpmhelper.py -%{python_sitearch}/%{name}/powermanager_ui.py -%{python_sitearch}/%{name}/guidance_power_manager_ui.py -%{python_sitearch}/%{name}/notify.py -%{python_sitearch}/%{name}/tooltip.py -%{tde_datadir}/icons/hicolor/22x22/apps/power-manager.png -%{tde_datadir}/apps/guidance/pics/ac-adapter.png -%{tde_datadir}/apps/guidance/pics/battery*.png -%{tde_datadir}/apps/guidance/pics/processor.png -%{tde_datadir}/autostart/guidance-power-manager.desktop - - - -%Changelog -* Fri May 11 2012 Francois Andriot - 0.8.0svn20080103-3 -- Fix Python search dir - -* Tue May 01 2012 Francois Andriot - 0.8.0svn20080103-2 -- Rebuilt for Fedora 17 -- Fix post and postun -- Fix library locations - -* Thu Dec 01 2011 Francois Andriot - 0.8.0svn20080103-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tde-guidance/trinity-tde-guidance-3.5.13.2.spec b/redhat/applications/tde-guidance/trinity-tde-guidance-3.5.13.2.spec deleted file mode 100644 index 6d287c7d3..000000000 --- a/redhat/applications/tde-guidance/trinity-tde-guidance-3.5.13.2.spec +++ /dev/null @@ -1,449 +0,0 @@ -# REMOVE KDELIBS4-DEVEL before building !!!! - -%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -%define __arch_install_post %{nil} - -Name: trinity-tde-guidance -Summary: A collection of system administration tools for Trinity -Version: 0.8.0svn20080103 -Release: 6%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.simonzone.com/software/guidance - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: trinity-tde-guidance-3.5.13.2.tar.gz - -# [tde-guidance] Work around mountconfig incorrectly handling LABEL tag -# This resolves Bug 1545 -# Add ext4 support -Patch1: tde-guidance-3.5.13.2-fix_mountconfig.patch - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: trinity-pytdeextensions -BuildRequires: trinity-libpythonize0-devel -BuildRequires: trinity-python-trinity -BuildRequires: chrpath -BuildRequires: gcc-c++ - -# SIP support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: python-sip -%endif -%if 0%{?suse_version} -BuildRequires: python-sip-devel -%endif -%if 0%{?rhel} == 5 -BuildRequires: trinity-sip-devel -%endif -%if 0%{?rhel} >= 6 || 0%{?fedora} -BuildRequires: sip-devel -%endif - -# PYTHON-QT support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: python-qt -Requires: python-qt -%endif -%if 0%{?rhel} == 5 || 0%{?suse_version} -BuildRequires: trinity-PyQt-devel -Requires: trinity-PyQt -%endif -%if 0%{?rhel} >= 6 || 0%{?fedora} -BuildRequires: PyQt-devel -Requires: PyQt -%endif - - -Requires: trinity-python-trinity -Requires: trinity-pytdeextensions -Requires: %{name}-backends = %{version}-%{release} -Requires: python -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -Requires: hwdata -%endif - - -%if "%{tde_prefix}" == "/usr" -Conflicts: guidance-power-manager -Conflicts: kde-guidance-powermanager -%endif - -Obsoletes: trinity-guidance < %{version}-%{release} -Provides: trinity-guidance = %{version}-%{release} - -%description -Guidance currently consists of four programs designed to help you -look after your system: - o userconfig - User and Group administration - o serviceconfig - Service/daemon administration - o mountconfig - Disk and filesystem administration - o wineconfig - Wine configuration - -These tools are available in Trinity Control Center, System Settings -or can be run as standalone applications. - - - -%package backends -Group: Applications/Utilities -Summary: collection of system administration tools for GNU/Linux [Trinity] -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -Requires: hwdata -%endif -Requires: python - -Obsoletes: trinity-guidance-backends < %{version}-%{release} -Provides: trinity-guidance-backends = %{version}-%{release} - -%description backends -This package contains the platform neutral backends used in the -Guidance configuration tools. - - -%package powermanager -Group: Applications/Utilities -Summary: HAL based power manager applet [Trinity] -Requires: %{name} = %{version}-%{release} - -Obsoletes: trinity-guidance-powermanager < %{version}-%{release} -Provides: trinity-guidance-powermanager = %{version}-%{release} - -%description powermanager -A power management applet to indicate battery levels and perform hibernate or -suspend using HAL. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n trinity-tde-guidance-3.5.13.2 -%patch1 -p1 -b .mountconfig - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export KDEDIR=%{tde_prefix} - -# Avoids 'error: byte-compiling is disabled.' on Mandriva/Mageia -export PYTHONDONTWRITEBYTECODE= - -# Ugly hack for building Guidance in a non-standard python directory -export EXTRA_MODULE_DIR="%{python_sitearch}/%{name}" - -# FTBFS on PCLOS ... -export CXXFLAGS="${RPM_OPT_FLAGS} -I%{tde_tdeincludedir} -I%{tde_includedir}" - -# Specific path for RHEL4 -if [ -d /usr/X11R6 ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" - %__sed -i "setup.py" -e "s|/usr/X11R6/lib|/usr/X11R6/%{_lib}|g" -fi - -./setup.py build - - -%install -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export EXTRA_MODULE_DIR="%{python_sitearch}/%{name}" - -# For RHEL4 only -export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt - -# For Mageia/Mandriva: Avoids 'error: byte-compiling must be disabled. -export PYTHONDONTWRITEBYTECODE= - -%__rm -rf %{buildroot} -./setup.py install \ - --prefix=%{tde_prefix} \ - --root=%{buildroot} - -# Fix temporary build directories remaining inside .py files -for f in %{buildroot}%{tde_datadir}/apps/guidance/*.py; do - %__sed -i "${f}" -e "s|%{buildroot}||g" -done - -##### MAIN PACKAGE INSTALLATION (based on Debian/Ubuntu packaging rules) -# install icons to right place -%__mkdir_p %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps -%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/hi32-app-daemons.png \ - %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/daemons.png -%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/kcmpartitions.png \ - %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/disksfilesystems.png -%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/hi32-user.png \ - %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/userconfig.png -%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/hi32-display.png \ - %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/displayconfig.png -%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/32-wine.png \ - %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/wineconfig.png -%__install -D -p -m0644 kde/wineconfig/pics/16x16/wineconfig.png \ - %{buildroot}%{tde_datadir}/icons/crystalsvg/16x16/apps/wineconfig.png - -# fix binary-or-shlib-defines-rpath -chrpath -d %{buildroot}%{tde_tdelibdir}/kcm_*.so - -# fix executable-not-elf-or-script -%__chmod 0644 %{buildroot}%{tde_datadir}/apps/guidance/pics/kdewinewizard.png - -# move python modules in %{python_sitearch} (/usr/lib/pythonXX/site-packages) -%__mkdir_p %{buildroot}%{python_sitearch}/%{name} -%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/*.py* %{buildroot}%{python_sitearch}/%{name} - -# fix the link properly -%__rm -f %{buildroot}%{tde_bindir}/* -#%__ln_s -f %{python_sitearch}/%{name}/displayconfig.py %{buildroot}%{tde_bindir}/displayconfig -%__ln_s -f %{python_sitearch}/%{name}/mountconfig.py %{buildroot}%{tde_bindir}/mountconfig -%__ln_s -f %{python_sitearch}/%{name}/serviceconfig.py %{buildroot}%{tde_bindir}/serviceconfig -%__ln_s -f %{python_sitearch}/%{name}/userconfig.py %{buildroot}%{tde_bindir}/userconfig -%__ln_s -f %{python_sitearch}/%{name}/wineconfig.py %{buildroot}%{tde_bindir}/wineconfig -%__ln_s -f %{python_sitearch}/%{name}/grubconfig.py %{buildroot}%{tde_bindir}/grubconfig - -# (obsolete) put this here since gnome people probably don't want it by default -#%__ln_s -f %{_python_sitearch}/%{name}/displayconfig-restore.py %{buildroot}%{tde_bindir}/displayconfig-restore - -# fix script-not-executable -%__chmod 0755 %{buildroot}%{python_sitearch}/%{name}/fuser.py -%__chmod 0755 %{buildroot}%{python_sitearch}/%{name}/grubconfig.py - -%__mv -f %{buildroot}%{tde_datadir}/applications/kde/displayconfig.desktop %{buildroot}%{tde_datadir}/applications/kde/guidance-displayconfig.desktop - -##### BACKENDS INSTALLATION -# install displayconfig-hwprobe.py script -%__install -D -p -m0755 displayconfig/displayconfig-hwprobe.py \ - %{buildroot}%{python_sitearch}/%{name}/displayconfig-hwprobe.py - -# The xf86misc stuff should not go under /opt/trinity bur under /usr !!! -%__mv -f %{buildroot}%{tde_libdir}/python*/site-packages/ixf86misc.so %{buildroot}%{python_sitearch} -%__mv -f %{buildroot}%{tde_libdir}/python*/site-packages/xf86misc.py* %{buildroot}%{python_sitearch}/%{name} - -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%__rm -f %{buildroot}%{tde_datadir}/apps/guidance/MonitorsDB -%__ln_s -f /usr/share/hwdata/MonitorsDB %{buildroot}%{tde_datadir}/apps/guidance/MonitorsDB -%endif - - -##### POWERMANAGER INSTALLATION -# install icon to right place -%__install -D -p -m0644 kde/powermanager/pics/battery-charging-100.png \ - %{buildroot}%{tde_datadir}/icons/hicolor/22x22/apps/power-manager.png -%__install -D -p -m0644 kde/powermanager/pics/*.png \ - %{buildroot}%{tde_datadir}/apps/guidance/pics/ - -# install desktop file -%__install -D -p -m0644 powermanager/guidance-power-manager.desktop \ - %{buildroot}%{tde_datadir}/autostart/guidance-power-manager.desktop - -# copy python modules in PYSUPPORT_PATH -%__cp powermanager/guidance_power_manager_ui.py %{buildroot}%{python_sitearch}/%{name} -%__cp powermanager/notify.py %{buildroot}%{python_sitearch}/%{name} -%__cp powermanager/tooltip.py %{buildroot}%{python_sitearch}/%{name} - -# generate guidance-power-manager script -cat <%{buildroot}%{tde_bindir}/guidance-power-manager -#!/bin/sh -export PYTHONPATH=%{python_sitearch}/%{name} -%{python_sitearch}/%{name}/guidance-power-manager.py & -EOF -chmod +x %{buildroot}%{tde_bindir}/guidance-power-manager - -# fix script-not-executable -chmod 0755 %{buildroot}%{python_sitearch}/%{name}/powermanage.py -chmod 0755 %{buildroot}%{python_sitearch}/%{name}/gpmhelper.py - - -# Replace all '#!' calls to python with /usr/bin/python -# and make them executable -for i in `find %{buildroot} -type f`; do - sed '1s,#!.*python[^ ]*\(.*\),#! /usr/bin/python\1,' \ - $i > $i.temp; - if cmp --quiet $i $i.temp; then - rm -f $i.temp; - else - mv -f $i.temp $i; - chmod 755 $i; - echo "fixed interpreter: $i"; - fi; -done - -# Removes useless files -find %{buildroot} -name "*.egg-info" -exec rm -f {} \; -find %{buildroot}%{tde_libdir} -name "*.a" -exec rm -f {} \; - -# Removes obsolete display config manager -%__rm -f %{?buildroot}/etc/X11/Xsession.d/40guidance-displayconfig_restore -%__rm -f %{?buildroot}%{tde_tdelibdir}/kcm_displayconfig.* -%__rm -f %{?buildroot}%{python_sitearch}/%{name}/displayconfig.py* -%__rm -f %{?buildroot}%{python_sitearch}/%{name}/displayconfigwidgets.py* - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : -/sbin/ldconfig || : - -%postun -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : -/sbin/ldconfig || : - -%post powermanager -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun powermanager -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc ChangeLog COPYING README TODO -#%{tde_bindir}/displayconfig -#%{tde_bindir}/displayconfig-restore -%{tde_bindir}/grubconfig -%{tde_bindir}/mountconfig -%{tde_bindir}/serviceconfig -%{tde_bindir}/userconfig -%{tde_bindir}/wineconfig -%attr(0644,root,root) %{tde_tdelibdir}/*.so -%attr(0644,root,root) %{tde_tdelibdir}/*.la -%{tde_datadir}/apps/guidance/ -%{tde_datadir}/applications/kde/*.desktop -%{tde_datadir}/icons/crystalsvg/*/*/*.png -%{tde_datadir}/icons/crystalsvg/*/*/*.svg -%{python_sitearch}/%{name}/SMBShareSelectDialog.py* -%{python_sitearch}/%{name}/SimpleCommandRunner.py* -%{python_sitearch}/%{name}/fuser.py* -%{python_sitearch}/%{name}/fuser_ui.py* -%{python_sitearch}/%{name}/grubconfig.py* -%{python_sitearch}/%{name}/ktimerdialog.py* -%{python_sitearch}/%{name}/mountconfig.py* -%{python_sitearch}/%{name}/servertestdialog.py* -%{python_sitearch}/%{name}/serviceconfig.py* -%{python_sitearch}/%{name}/sizeview.py* -%{python_sitearch}/%{name}/unixauthdb.py* -%{python_sitearch}/%{name}/userconfig.py* -%{python_sitearch}/%{name}/wineconfig.py* -%{tde_tdedocdir}/HTML/en/guidance/ - -# Files from backends -%exclude %{tde_datadir}/apps/guidance/vesamodes -%exclude %{tde_datadir}/apps/guidance/extramodes -%exclude %{tde_datadir}/apps/guidance/widescreenmodes -%exclude %{tde_datadir}/apps/guidance/Cards+ -%exclude %{tde_datadir}/apps/guidance/pcitable -%exclude %{tde_datadir}/apps/guidance/MonitorsDB - -# Files from powermanager -%exclude %{tde_datadir}/icons/hicolor/22x22/apps/power-manager.png -%exclude %{tde_datadir}/apps/guidance/pics/ac-adapter.png -%exclude %{tde_datadir}/apps/guidance/pics/battery*.png -%exclude %{tde_datadir}/apps/guidance/pics/processor.png - -%files backends -%defattr(-,root,root,-) -%{python_sitearch}/%{name}/MicroHAL.py* -%{python_sitearch}/%{name}/ScanPCI.py* -%{python_sitearch}/%{name}/infimport.py* -%{python_sitearch}/%{name}/displayconfigabstraction.py* -%{python_sitearch}/%{name}/displayconfig-hwprobe.py* -%{python_sitearch}/%{name}/displayconfig-restore.py* -%{python_sitearch}/%{name}/drivedetect.py* -%{python_sitearch}/%{name}/execwithcapture.py* -%{python_sitearch}/%{name}/wineread.py* -%{python_sitearch}/%{name}/winewrite.py* -%{python_sitearch}/%{name}/xf86misc.py* -%{python_sitearch}/%{name}/xorgconfig.py* -%{python_sitearch}/ixf86misc.so -%{tde_datadir}/apps/guidance/vesamodes -%{tde_datadir}/apps/guidance/extramodes -%{tde_datadir}/apps/guidance/widescreenmodes -%{tde_datadir}/apps/guidance/Cards+ -%{tde_datadir}/apps/guidance/pcitable -%{tde_datadir}/apps/guidance/MonitorsDB - - - -%files powermanager -%defattr(-,root,root,-) -%{tde_bindir}/guidance-power-manager -%{python_sitearch}/%{name}/MicroHAL.py* -%{python_sitearch}/%{name}/guidance-power-manager.py* -%{python_sitearch}/%{name}/powermanage.py* -%{python_sitearch}/%{name}/gpmhelper.py* -%{python_sitearch}/%{name}/powermanager_ui.py* -%{python_sitearch}/%{name}/guidance_power_manager_ui.py* -%{python_sitearch}/%{name}/notify.py* -%{python_sitearch}/%{name}/tooltip.py* -%{tde_datadir}/icons/hicolor/22x22/apps/power-manager.png -%{tde_datadir}/apps/guidance/pics/ac-adapter.png -%{tde_datadir}/apps/guidance/pics/battery*.png -%{tde_datadir}/apps/guidance/pics/processor.png -%{tde_datadir}/autostart/guidance-power-manager.desktop - - - -%changelog -* Thu Jun 27 2013 Francois Andriot - 0.8.0svn20080103-6 -- Work around mountconfig incorrectly handling LABEL tag - -* Mon Jun 03 2013 Francois Andriot - 0.8.0svn20080103-5 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.8.0svn20080103-4 -- Initial build for TDE 3.5.13.1 - -* Fri May 11 2012 Francois Andriot - 0.8.0svn20080103-3 -- Fix Python search dir - -* Tue May 01 2012 Francois Andriot - 0.8.0svn20080103-2 -- Rebuilt for Fedora 17 -- Fix post and postun -- Fix library locations - -* Thu Dec 01 2011 Francois Andriot - 0.8.0svn20080103-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tde-style-lipstik/kde-style-lipstik-3.5.12.spec b/redhat/applications/tde-style-lipstik/kde-style-lipstik-3.5.12.spec new file mode 100644 index 000000000..30f8e8a67 --- /dev/null +++ b/redhat/applications/tde-style-lipstik/kde-style-lipstik-3.5.12.spec @@ -0,0 +1,108 @@ +# Default version for this component +%define kdecomp kde-style-lipstik +%define version 2.2.3 +%define release 1 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_prefix}/share/doc +%endif + +# TDE 3.5.13 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir} +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/kde3 + + +Name: trinity-%{kdecomp} +Summary: Lipstik style for TDE +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.12.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: trinity-kdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +Based on the plastik style, Lipstik is a purified style with many options to +tune your desktop look. + +Lipstik also provides Lipstik-color-schemes + + +%prep +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +sed -i admin/acinclude.m4.in \ + -e "s,/usr/include/tqt,%{_includedir}/tqt,g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%configure \ + --disable-rpath \ + --with-extra-includes=%{_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + +%postun +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_libdir}/kstyle_lipstik_config.la +%{tde_libdir}/kstyle_lipstik_config.so +%{tde_libdir}/plugins/styles/lipstik.la +%{tde_libdir}/plugins/styles/lipstik.so +%{_datadir}/apps/kdisplay/color-schemes/lipstiknoble.kcsrc +%{_datadir}/apps/kdisplay/color-schemes/lipstikstandard.kcsrc +%{_datadir}/apps/kdisplay/color-schemes/lipstikwhite.kcsrc +%{_datadir}/apps/kstyle/themes/lipstik.themerc + + +%Changelog +* Sat Nov 19 2011 Francois Andriot - 2.2.3-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tde-style-lipstik/kde-style-lipstik-3.5.13.1.spec b/redhat/applications/tde-style-lipstik/kde-style-lipstik-3.5.13.1.spec new file mode 100644 index 000000000..d23300c5a --- /dev/null +++ b/redhat/applications/tde-style-lipstik/kde-style-lipstik-3.5.13.1.spec @@ -0,0 +1,129 @@ +# Default version for this component +%define kdecomp kde-style-lipstik + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-style-lipstik +Summary: Lipstik style for TDE +Version: 2.2.3 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +Obsoletes: trinity-kde-style-lipstik + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +Based on the plastik style, Lipstik is a purified style with many options to +tune your desktop look. + +Lipstik also provides Lipstik-color-schemes + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_tdelibdir}/kstyle_lipstik_config.la +%{tde_tdelibdir}/kstyle_lipstik_config.so +%{tde_tdelibdir}/plugins/styles/lipstik.la +%{tde_tdelibdir}/plugins/styles/lipstik.so +%{tde_datadir}/apps/kdisplay/color-schemes/lipstiknoble.kcsrc +%{tde_datadir}/apps/kdisplay/color-schemes/lipstikstandard.kcsrc +%{tde_datadir}/apps/kdisplay/color-schemes/lipstikwhite.kcsrc +%{tde_datadir}/apps/kstyle/themes/lipstik.themerc + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 2.2.3-3 +- Initial build for TDE 3.5.13.1 + +* Tue May 01 2012 Francois Andriot - 2.2.3-2 +- Rebuilt for Fedora 17 +- Fix HTML directory location +- Removes post and postun + +* Sat Nov 19 2011 Francois Andriot - 2.2.3-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tde-style-lipstik/kde-style-lipstik-3.5.13.spec b/redhat/applications/tde-style-lipstik/kde-style-lipstik-3.5.13.spec new file mode 100644 index 000000000..8834e935a --- /dev/null +++ b/redhat/applications/tde-style-lipstik/kde-style-lipstik-3.5.13.spec @@ -0,0 +1,120 @@ +# Default version for this component +%define kdecomp kde-style-lipstik + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-style-lipstik +Summary: Lipstik style for TDE +Version: 2.2.3 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +Obsoletes: trinity-kde-style-lipstik + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +Based on the plastik style, Lipstik is a purified style with many options to +tune your desktop look. + +Lipstik also provides Lipstik-color-schemes + + +%prep +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_tdelibdir}/kstyle_lipstik_config.la +%{tde_tdelibdir}/kstyle_lipstik_config.so +%{tde_tdelibdir}/plugins/styles/lipstik.la +%{tde_tdelibdir}/plugins/styles/lipstik.so +%{tde_datadir}/apps/kdisplay/color-schemes/lipstiknoble.kcsrc +%{tde_datadir}/apps/kdisplay/color-schemes/lipstikstandard.kcsrc +%{tde_datadir}/apps/kdisplay/color-schemes/lipstikwhite.kcsrc +%{tde_datadir}/apps/kstyle/themes/lipstik.themerc + + +%Changelog +* Tue May 01 2012 Francois Andriot - 2.2.3-2 +- Rebuilt for Fedora 17 +- Fix HTML directory location +- Removes post and postun + +* Sat Nov 19 2011 Francois Andriot - 2.2.3-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tde-style-lipstik/tde-style-lipstik-3.5.13.2.spec b/redhat/applications/tde-style-lipstik/tde-style-lipstik-3.5.13.2.spec new file mode 100644 index 000000000..fe718d23f --- /dev/null +++ b/redhat/applications/tde-style-lipstik/tde-style-lipstik-3.5.13.2.spec @@ -0,0 +1,135 @@ +# Default version for this component +%define tdecomp tde-style-lipstik + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-tde-style-lipstik +Summary: Lipstik style for TDE +Version: 2.2.3 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: trinity-%{tdecomp}-3.5.13.2.tar.gz + +Obsoletes: trinity-kde-style-lipstik < %{version}-%{release} +Provides: trinity-kde-style-lipstik = %{version}-%{release} +Obsoletes: trinity-style-lipstik < %{version}-%{release} +Provides: trinity-style-lipstik = %{version}-%{release} + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +Based on the plastik style, Lipstik is a purified style with many options to +tune your desktop look. + +Lipstik also provides Lipstik-color-schemes + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n trinity-%{tdecomp}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_tdelibdir}/kstyle_lipstik_config.la +%{tde_tdelibdir}/kstyle_lipstik_config.so +%{tde_tdelibdir}/plugins/styles/lipstik.la +%{tde_tdelibdir}/plugins/styles/lipstik.so +%{tde_datadir}/apps/kdisplay/color-schemes/lipstiknoble.kcsrc +%{tde_datadir}/apps/kdisplay/color-schemes/lipstikstandard.kcsrc +%{tde_datadir}/apps/kdisplay/color-schemes/lipstikwhite.kcsrc +%{tde_datadir}/apps/kstyle/themes/lipstik.themerc + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 2.2.3-4 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 2.2.3-3 +- Initial build for TDE 3.5.13.1 + +* Tue May 01 2012 Francois Andriot - 2.2.3-2 +- Rebuilt for Fedora 17 +- Fix HTML directory location +- Removes post and postun + +* Sat Nov 19 2011 Francois Andriot - 2.2.3-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tde-style-lipstik/trinity-kde-style-lipstik-3.5.12.spec b/redhat/applications/tde-style-lipstik/trinity-kde-style-lipstik-3.5.12.spec deleted file mode 100644 index 30f8e8a67..000000000 --- a/redhat/applications/tde-style-lipstik/trinity-kde-style-lipstik-3.5.12.spec +++ /dev/null @@ -1,108 +0,0 @@ -# Default version for this component -%define kdecomp kde-style-lipstik -%define version 2.2.3 -%define release 1 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.13 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_includedir %{_includedir}/kde -%define tde_libdir %{_libdir}/kde3 - - -Name: trinity-%{kdecomp} -Summary: Lipstik style for TDE -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.12.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: trinity-kdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -Based on the plastik style, Lipstik is a purified style with many options to -tune your desktop look. - -Lipstik also provides Lipstik-color-schemes - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -sed -i admin/acinclude.m4.in \ - -e "s,/usr/include/tqt,%{_includedir}/tqt,g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -%configure \ - --disable-rpath \ - --with-extra-includes=%{_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : - -%postun -touch --no-create %{_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_libdir}/kstyle_lipstik_config.la -%{tde_libdir}/kstyle_lipstik_config.so -%{tde_libdir}/plugins/styles/lipstik.la -%{tde_libdir}/plugins/styles/lipstik.so -%{_datadir}/apps/kdisplay/color-schemes/lipstiknoble.kcsrc -%{_datadir}/apps/kdisplay/color-schemes/lipstikstandard.kcsrc -%{_datadir}/apps/kdisplay/color-schemes/lipstikwhite.kcsrc -%{_datadir}/apps/kstyle/themes/lipstik.themerc - - -%Changelog -* Sat Nov 19 2011 Francois Andriot - 2.2.3-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tde-style-lipstik/trinity-kde-style-lipstik-3.5.13.1.spec b/redhat/applications/tde-style-lipstik/trinity-kde-style-lipstik-3.5.13.1.spec deleted file mode 100644 index d23300c5a..000000000 --- a/redhat/applications/tde-style-lipstik/trinity-kde-style-lipstik-3.5.13.1.spec +++ /dev/null @@ -1,129 +0,0 @@ -# Default version for this component -%define kdecomp kde-style-lipstik - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-style-lipstik -Summary: Lipstik style for TDE -Version: 2.2.3 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -Obsoletes: trinity-kde-style-lipstik - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -Based on the plastik style, Lipstik is a purified style with many options to -tune your desktop look. - -Lipstik also provides Lipstik-color-schemes - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_tdelibdir}/kstyle_lipstik_config.la -%{tde_tdelibdir}/kstyle_lipstik_config.so -%{tde_tdelibdir}/plugins/styles/lipstik.la -%{tde_tdelibdir}/plugins/styles/lipstik.so -%{tde_datadir}/apps/kdisplay/color-schemes/lipstiknoble.kcsrc -%{tde_datadir}/apps/kdisplay/color-schemes/lipstikstandard.kcsrc -%{tde_datadir}/apps/kdisplay/color-schemes/lipstikwhite.kcsrc -%{tde_datadir}/apps/kstyle/themes/lipstik.themerc - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 2.2.3-3 -- Initial build for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 2.2.3-2 -- Rebuilt for Fedora 17 -- Fix HTML directory location -- Removes post and postun - -* Sat Nov 19 2011 Francois Andriot - 2.2.3-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tde-style-lipstik/trinity-kde-style-lipstik-3.5.13.spec b/redhat/applications/tde-style-lipstik/trinity-kde-style-lipstik-3.5.13.spec deleted file mode 100644 index 8834e935a..000000000 --- a/redhat/applications/tde-style-lipstik/trinity-kde-style-lipstik-3.5.13.spec +++ /dev/null @@ -1,120 +0,0 @@ -# Default version for this component -%define kdecomp kde-style-lipstik - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-style-lipstik -Summary: Lipstik style for TDE -Version: 2.2.3 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -Obsoletes: trinity-kde-style-lipstik - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -Based on the plastik style, Lipstik is a purified style with many options to -tune your desktop look. - -Lipstik also provides Lipstik-color-schemes - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_tdelibdir}/kstyle_lipstik_config.la -%{tde_tdelibdir}/kstyle_lipstik_config.so -%{tde_tdelibdir}/plugins/styles/lipstik.la -%{tde_tdelibdir}/plugins/styles/lipstik.so -%{tde_datadir}/apps/kdisplay/color-schemes/lipstiknoble.kcsrc -%{tde_datadir}/apps/kdisplay/color-schemes/lipstikstandard.kcsrc -%{tde_datadir}/apps/kdisplay/color-schemes/lipstikwhite.kcsrc -%{tde_datadir}/apps/kstyle/themes/lipstik.themerc - - -%Changelog -* Tue May 01 2012 Francois Andriot - 2.2.3-2 -- Rebuilt for Fedora 17 -- Fix HTML directory location -- Removes post and postun - -* Sat Nov 19 2011 Francois Andriot - 2.2.3-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tde-style-lipstik/trinity-tde-style-lipstik-3.5.13.2.spec b/redhat/applications/tde-style-lipstik/trinity-tde-style-lipstik-3.5.13.2.spec deleted file mode 100644 index fe718d23f..000000000 --- a/redhat/applications/tde-style-lipstik/trinity-tde-style-lipstik-3.5.13.2.spec +++ /dev/null @@ -1,135 +0,0 @@ -# Default version for this component -%define tdecomp tde-style-lipstik - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-tde-style-lipstik -Summary: Lipstik style for TDE -Version: 2.2.3 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: trinity-%{tdecomp}-3.5.13.2.tar.gz - -Obsoletes: trinity-kde-style-lipstik < %{version}-%{release} -Provides: trinity-kde-style-lipstik = %{version}-%{release} -Obsoletes: trinity-style-lipstik < %{version}-%{release} -Provides: trinity-style-lipstik = %{version}-%{release} - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -Based on the plastik style, Lipstik is a purified style with many options to -tune your desktop look. - -Lipstik also provides Lipstik-color-schemes - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n trinity-%{tdecomp}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_tdelibdir}/kstyle_lipstik_config.la -%{tde_tdelibdir}/kstyle_lipstik_config.so -%{tde_tdelibdir}/plugins/styles/lipstik.la -%{tde_tdelibdir}/plugins/styles/lipstik.so -%{tde_datadir}/apps/kdisplay/color-schemes/lipstiknoble.kcsrc -%{tde_datadir}/apps/kdisplay/color-schemes/lipstikstandard.kcsrc -%{tde_datadir}/apps/kdisplay/color-schemes/lipstikwhite.kcsrc -%{tde_datadir}/apps/kstyle/themes/lipstik.themerc - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 2.2.3-4 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 2.2.3-3 -- Initial build for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 2.2.3-2 -- Rebuilt for Fedora 17 -- Fix HTML directory location -- Removes post and postun - -* Sat Nov 19 2011 Francois Andriot - 2.2.3-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tde-style-qtcurve/kde-style-qtcurve-3.5.13.1.spec b/redhat/applications/tde-style-qtcurve/kde-style-qtcurve-3.5.13.1.spec new file mode 100644 index 000000000..f7f0f040c --- /dev/null +++ b/redhat/applications/tde-style-qtcurve/kde-style-qtcurve-3.5.13.1.spec @@ -0,0 +1,141 @@ +# Default version for this component +%define kdecomp kde-style-qtcurve + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-style-qtcurve +Summary: This is a set of widget styles for Trinity based apps +Version: 0.55.2 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +Obsoletes: trinity-kde-style-qtcurve +Provides: trinity-kde-style-qtcurve + +%description +This package together with gtk2-engines-qtcurve aim to provide a unified look +and feel on the desktop when using TDE and Gnome applications. + +This package is most useful when installed together with +gtk2-engines-qtcurve. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "CMakeLists.txt" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|/usr/bin/uic-tqt|%{tde_bindir}/uic-tqt|g" \ + -e "s|/usr/bin/tmoc|%{tde_bindir}/tmoc|g" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +export CXXFLAGS="-I${QTINC} -I%{tde_tdeincludedir} ${CXXFLAGS}" + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DTDE_INCLUDE_DIR=%{tde_tdeincludedir} \ + -DQTC_QT_ONLY=false \ + -DQTC_STYLE_SUPPORT=true \ + -DBUILD_ALL=on \ + .. + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang qtcurve + + +%clean +%__rm -rf %{buildroot} + + + +%files -f qtcurve.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_tdelibdir}/kstyle_qtcurve_config.la +%{tde_tdelibdir}/kstyle_qtcurve_config.so +%{tde_tdelibdir}/plugins/styles/qtcurve.so +%{tde_tdelibdir}/plugins/styles/qtcurve.la +%{tde_datadir}/apps/kdisplay/color-schemes/QtCurve.kcsrc +%{tde_datadir}/apps/kstyle/themes/qtcurve.themerc +%{tde_datadir}/apps/QtCurve/*.qtcurve + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.55.2-4 +- Initial build for TDE 3.5.13.1 + +* Sun Sep 09 2012 Francois Andriot - 0.55.2-3 +- Switch to v3.5.13-sru branch + +* Tue May 01 2012 Francois Andriot - 0.55.2-2 +- Rebuilt for Fedora 17 +- Removes post and postun + +* Sat Nov 19 2011 Francois Andriot - 0.55.2-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tde-style-qtcurve/kde-style-qtcurve-3.5.13.spec b/redhat/applications/tde-style-qtcurve/kde-style-qtcurve-3.5.13.spec new file mode 100644 index 000000000..2fcec0dd2 --- /dev/null +++ b/redhat/applications/tde-style-qtcurve/kde-style-qtcurve-3.5.13.spec @@ -0,0 +1,140 @@ +# Default version for this component +%define kdecomp kde-style-qtcurve + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-style-qtcurve +Summary: This is a set of widget styles for Trinity based apps +Version: 0.55.2 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz +Source1: cmake-3.5.13.tar.gz + +# [qtcurve] Version 3.5.13-sru +Patch0: kde-style-qtcurve-3.5.13-sru-20120909.patch + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + +Obsoletes: trinity-kde-style-qtcurve +Provides: trinity-kde-style-qtcurve + +%description +This package together with gtk2-engines-qtcurve aim to provide a unified look +and feel on the desktop when using TDE and Gnome applications. + +This package is most useful when installed together with +gtk2-engines-qtcurve. + + +%prep +%setup -q -n applications/%{kdecomp} +%setup -q -n applications/%{kdecomp} -a 1 +%__mv -f cmake-3.5.13/* cmake/ + +%patch0 -p1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "CMakeLists.txt" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|/usr/bin/uic-tqt|%{tde_bindir}/uic-tqt|g" \ + -e "s|/usr/bin/tmoc|%{tde_bindir}/tmoc|g" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +export CXXFLAGS="-I${QTINC} -I%{tde_tdeincludedir} ${CXXFLAGS}" + +%if 0%{?rhel} || 0%{?fedora} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DTDE_INCLUDE_DIR=%{tde_tdeincludedir} \ + -DQTC_QT_ONLY=false \ + -DQTC_STYLE_SUPPORT=true \ + -DBUILD_ALL=on \ + .. + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang qtcurve + + +%clean +%__rm -rf %{buildroot} + + + +%files -f qtcurve.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_tdelibdir}/kstyle_qtcurve_config.la +%{tde_tdelibdir}/kstyle_qtcurve_config.so +%{tde_tdelibdir}/plugins/styles/qtcurve.so +%{tde_tdelibdir}/plugins/styles/qtcurve.la +%{tde_datadir}/apps/kdisplay/color-schemes/QtCurve.kcsrc +%{tde_datadir}/apps/kstyle/themes/qtcurve.themerc +%{tde_datadir}/apps/QtCurve/*.qtcurve + + +%Changelog +* Sun Sep 09 2012 Francois Andriot - 0.55.2-3 +- Switch to v3.5.13-sru branch + +* Tue May 01 2012 Francois Andriot - 0.55.2-2 +- Rebuilt for Fedora 17 +- Removes post and postun + +* Sat Nov 19 2011 Francois Andriot - 0.55.2-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tde-style-qtcurve/tde-style-qtcurve-3.5.13.2.spec b/redhat/applications/tde-style-qtcurve/tde-style-qtcurve-3.5.13.2.spec new file mode 100644 index 000000000..b9d4a9d6b --- /dev/null +++ b/redhat/applications/tde-style-qtcurve/tde-style-qtcurve-3.5.13.2.spec @@ -0,0 +1,160 @@ +# Default version for this component +%define tdecomp tde-style-qtcurve +%define tdeversion 3.5.13.2 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-tde-style-qtcurve +Summary: This is a set of widget styles for Trinity based apps +Version: 0.55.2 +Release: 5%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tdeversion}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +Obsoletes: trinity-kde-style-qtcurve < %{version}-%{release} +Provides: trinity-kde-style-qtcurve = %{version}-%{release} +Obsoletes: trinity-style-qtcurve < %{version}-%{release} +Provides: trinity-style-qtcurve = %{version}-%{release} + +%description +This package together with gtk2-engines-qtcurve aim to provide a unified look +and feel on the desktop when using TDE and Gnome applications. + +This package is most useful when installed together with +gtk2-engines-qtcurve. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-%{tdeversion}%{?preversion:~%{preversion}} + + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "CMakeLists.txt" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|/usr/bin/uic-tqt|%{tde_bindir}/uic-tqt|g" \ + -e "s|/usr/bin/tmoc|%{tde_bindir}/tmoc|g" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" +export KDEDIR="%{tde_prefix}" + +export CXXFLAGS="-I${QTINC} -I%{tde_tdeincludedir} ${CXXFLAGS}" + +# Shitty hack for RHEL4 ... +if [ -d "/usr/X11R6" ]; then + export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/X11R6/include:/usr/X11R6/%{_lib}" + export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +# Error in "po/tr.po" +%if 0%{?rhel} == 4 +%__rm -f "po/tr.po" +%endif + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DTDE_INCLUDE_DIR=%{tde_tdeincludedir} \ + -DQTC_QT_ONLY=false \ + -DQTC_STYLE_SUPPORT=true \ + -DBUILD_ALL=on \ + .. + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang qtcurve || touch qtcurve.lang + + +%clean +%__rm -rf %{buildroot} + + + +%files -f qtcurve.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_tdelibdir}/kstyle_qtcurve_config.la +%{tde_tdelibdir}/kstyle_qtcurve_config.so +%{tde_tdelibdir}/plugins/styles/qtcurve.so +%{tde_tdelibdir}/plugins/styles/qtcurve.la +%{tde_datadir}/apps/kdisplay/color-schemes/QtCurve.kcsrc +%{tde_datadir}/apps/kstyle/themes/qtcurve.themerc +%{tde_datadir}/apps/QtCurve/*.qtcurve + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 0.55.2-5 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.55.2-4 +- Initial build for TDE 3.5.13.1 + +* Sun Sep 09 2012 Francois Andriot - 0.55.2-3 +- Switch to v3.5.13-sru branch + +* Tue May 01 2012 Francois Andriot - 0.55.2-2 +- Rebuilt for Fedora 17 +- Removes post and postun + +* Sat Nov 19 2011 Francois Andriot - 0.55.2-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tde-style-qtcurve/trinity-kde-style-qtcurve-3.5.13.1.spec b/redhat/applications/tde-style-qtcurve/trinity-kde-style-qtcurve-3.5.13.1.spec deleted file mode 100644 index f7f0f040c..000000000 --- a/redhat/applications/tde-style-qtcurve/trinity-kde-style-qtcurve-3.5.13.1.spec +++ /dev/null @@ -1,141 +0,0 @@ -# Default version for this component -%define kdecomp kde-style-qtcurve - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-style-qtcurve -Summary: This is a set of widget styles for Trinity based apps -Version: 0.55.2 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -Obsoletes: trinity-kde-style-qtcurve -Provides: trinity-kde-style-qtcurve - -%description -This package together with gtk2-engines-qtcurve aim to provide a unified look -and feel on the desktop when using TDE and Gnome applications. - -This package is most useful when installed together with -gtk2-engines-qtcurve. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "CMakeLists.txt" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|/usr/bin/uic-tqt|%{tde_bindir}/uic-tqt|g" \ - -e "s|/usr/bin/tmoc|%{tde_bindir}/tmoc|g" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -export CXXFLAGS="-I${QTINC} -I%{tde_tdeincludedir} ${CXXFLAGS}" - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - -DTDE_INCLUDE_DIR=%{tde_tdeincludedir} \ - -DQTC_QT_ONLY=false \ - -DQTC_STYLE_SUPPORT=true \ - -DBUILD_ALL=on \ - .. - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang qtcurve - - -%clean -%__rm -rf %{buildroot} - - - -%files -f qtcurve.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_tdelibdir}/kstyle_qtcurve_config.la -%{tde_tdelibdir}/kstyle_qtcurve_config.so -%{tde_tdelibdir}/plugins/styles/qtcurve.so -%{tde_tdelibdir}/plugins/styles/qtcurve.la -%{tde_datadir}/apps/kdisplay/color-schemes/QtCurve.kcsrc -%{tde_datadir}/apps/kstyle/themes/qtcurve.themerc -%{tde_datadir}/apps/QtCurve/*.qtcurve - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.55.2-4 -- Initial build for TDE 3.5.13.1 - -* Sun Sep 09 2012 Francois Andriot - 0.55.2-3 -- Switch to v3.5.13-sru branch - -* Tue May 01 2012 Francois Andriot - 0.55.2-2 -- Rebuilt for Fedora 17 -- Removes post and postun - -* Sat Nov 19 2011 Francois Andriot - 0.55.2-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tde-style-qtcurve/trinity-kde-style-qtcurve-3.5.13.spec b/redhat/applications/tde-style-qtcurve/trinity-kde-style-qtcurve-3.5.13.spec deleted file mode 100644 index 2fcec0dd2..000000000 --- a/redhat/applications/tde-style-qtcurve/trinity-kde-style-qtcurve-3.5.13.spec +++ /dev/null @@ -1,140 +0,0 @@ -# Default version for this component -%define kdecomp kde-style-qtcurve - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-style-qtcurve -Summary: This is a set of widget styles for Trinity based apps -Version: 0.55.2 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz -Source1: cmake-3.5.13.tar.gz - -# [qtcurve] Version 3.5.13-sru -Patch0: kde-style-qtcurve-3.5.13-sru-20120909.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - -Obsoletes: trinity-kde-style-qtcurve -Provides: trinity-kde-style-qtcurve - -%description -This package together with gtk2-engines-qtcurve aim to provide a unified look -and feel on the desktop when using TDE and Gnome applications. - -This package is most useful when installed together with -gtk2-engines-qtcurve. - - -%prep -%setup -q -n applications/%{kdecomp} -%setup -q -n applications/%{kdecomp} -a 1 -%__mv -f cmake-3.5.13/* cmake/ - -%patch0 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "CMakeLists.txt" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|/usr/bin/uic-tqt|%{tde_bindir}/uic-tqt|g" \ - -e "s|/usr/bin/tmoc|%{tde_bindir}/tmoc|g" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -export CXXFLAGS="-I${QTINC} -I%{tde_tdeincludedir} ${CXXFLAGS}" - -%if 0%{?rhel} || 0%{?fedora} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - -DTDE_INCLUDE_DIR=%{tde_tdeincludedir} \ - -DQTC_QT_ONLY=false \ - -DQTC_STYLE_SUPPORT=true \ - -DBUILD_ALL=on \ - .. - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang qtcurve - - -%clean -%__rm -rf %{buildroot} - - - -%files -f qtcurve.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_tdelibdir}/kstyle_qtcurve_config.la -%{tde_tdelibdir}/kstyle_qtcurve_config.so -%{tde_tdelibdir}/plugins/styles/qtcurve.so -%{tde_tdelibdir}/plugins/styles/qtcurve.la -%{tde_datadir}/apps/kdisplay/color-schemes/QtCurve.kcsrc -%{tde_datadir}/apps/kstyle/themes/qtcurve.themerc -%{tde_datadir}/apps/QtCurve/*.qtcurve - - -%Changelog -* Sun Sep 09 2012 Francois Andriot - 0.55.2-3 -- Switch to v3.5.13-sru branch - -* Tue May 01 2012 Francois Andriot - 0.55.2-2 -- Rebuilt for Fedora 17 -- Removes post and postun - -* Sat Nov 19 2011 Francois Andriot - 0.55.2-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tde-style-qtcurve/trinity-tde-style-qtcurve-3.5.13.2.spec b/redhat/applications/tde-style-qtcurve/trinity-tde-style-qtcurve-3.5.13.2.spec deleted file mode 100644 index b9d4a9d6b..000000000 --- a/redhat/applications/tde-style-qtcurve/trinity-tde-style-qtcurve-3.5.13.2.spec +++ /dev/null @@ -1,160 +0,0 @@ -# Default version for this component -%define tdecomp tde-style-qtcurve -%define tdeversion 3.5.13.2 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-tde-style-qtcurve -Summary: This is a set of widget styles for Trinity based apps -Version: 0.55.2 -Release: 5%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tdeversion}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -Obsoletes: trinity-kde-style-qtcurve < %{version}-%{release} -Provides: trinity-kde-style-qtcurve = %{version}-%{release} -Obsoletes: trinity-style-qtcurve < %{version}-%{release} -Provides: trinity-style-qtcurve = %{version}-%{release} - -%description -This package together with gtk2-engines-qtcurve aim to provide a unified look -and feel on the desktop when using TDE and Gnome applications. - -This package is most useful when installed together with -gtk2-engines-qtcurve. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tdeversion}%{?preversion:~%{preversion}} - - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "CMakeLists.txt" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|/usr/bin/uic-tqt|%{tde_bindir}/uic-tqt|g" \ - -e "s|/usr/bin/tmoc|%{tde_bindir}/tmoc|g" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" -export KDEDIR="%{tde_prefix}" - -export CXXFLAGS="-I${QTINC} -I%{tde_tdeincludedir} ${CXXFLAGS}" - -# Shitty hack for RHEL4 ... -if [ -d "/usr/X11R6" ]; then - export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/X11R6/include:/usr/X11R6/%{_lib}" - export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -# Error in "po/tr.po" -%if 0%{?rhel} == 4 -%__rm -f "po/tr.po" -%endif - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - -DTDE_INCLUDE_DIR=%{tde_tdeincludedir} \ - -DQTC_QT_ONLY=false \ - -DQTC_STYLE_SUPPORT=true \ - -DBUILD_ALL=on \ - .. - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang qtcurve || touch qtcurve.lang - - -%clean -%__rm -rf %{buildroot} - - - -%files -f qtcurve.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_tdelibdir}/kstyle_qtcurve_config.la -%{tde_tdelibdir}/kstyle_qtcurve_config.so -%{tde_tdelibdir}/plugins/styles/qtcurve.so -%{tde_tdelibdir}/plugins/styles/qtcurve.la -%{tde_datadir}/apps/kdisplay/color-schemes/QtCurve.kcsrc -%{tde_datadir}/apps/kstyle/themes/qtcurve.themerc -%{tde_datadir}/apps/QtCurve/*.qtcurve - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 0.55.2-5 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.55.2-4 -- Initial build for TDE 3.5.13.1 - -* Sun Sep 09 2012 Francois Andriot - 0.55.2-3 -- Switch to v3.5.13-sru branch - -* Tue May 01 2012 Francois Andriot - 0.55.2-2 -- Rebuilt for Fedora 17 -- Removes post and postun - -* Sat Nov 19 2011 Francois Andriot - 0.55.2-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tde-systemsettings/kde-systemsettings-3.5.13.1.spec b/redhat/applications/tde-systemsettings/kde-systemsettings-3.5.13.1.spec new file mode 100644 index 000000000..2107afe79 --- /dev/null +++ b/redhat/applications/tde-systemsettings/kde-systemsettings-3.5.13.1.spec @@ -0,0 +1,159 @@ +# Default version for this component +%define kdecomp kde-systemsettings + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +# Currently, menu files under /etc/xdg conflict with KDE4 +%define tde_sysconfdir %{tde_prefix}/etc +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-systemsettings +Summary: easy to use control centre for TDE +Version: 0.0svn20070312 +Release: 5%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz +Source1: kde-settings-laptops.directory + +Provides: trinity-kde-systemsettings = %{version}-%{release} +Obsoletes: trinity-kde-systemsettings < %{version}-%{release} + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils + +Requires: trinity-guidance + +%description +System preferences is a replacement for the TDE +Control Centre with an improved user interface. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --sysconfdir=%{tde_sysconfdir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%__install -D -m 644 %{SOURCE1} %{buildroot}%{tde_datadir}/desktop-directories/ + +# Unwanted files +%__rm -f %{buildroot}%{tde_datadir}/applications/kde/kcmfontinst.desktop +%__rm -f %{buildroot}%{tde_datadir}/desktop-directories/kde-settings-power.directory +%__rm -f %{buildroot}%{tde_datadir}/desktop-directories/kde-settings-system.directory + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/crystalsvg || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : +xdg-user-dirs-update + +%postun +touch --no-create %{tde_datadir}/icons/crystalsvg || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : +xdg-user-dirs-update + +%files +%defattr(-,root,root,-) +%doc README TODO +%{tde_sysconfdir}/xdg/menus/applications-merged/system-settings-merge.menu +%{tde_sysconfdir}/xdg/menus/system-settings.menu +%{tde_bindir}/systemsettings +%{tde_datadir}/applications/kde/audioencoding.desktop +%{tde_datadir}/applications/kde/defaultapplication.desktop +%{tde_datadir}/applications/kde/kcm_knetworkconfmodule_ss.desktop +%{tde_datadir}/applications/kde/laptoppowermanagement.desktop +%{tde_datadir}/applications/kde/medianotifications.desktop +%{tde_datadir}/applications/kde/systemsettings.desktop +%{tde_datadir}/apps/systemsettings/systemsettingsui.rc +%{tde_datadir}/config/systemsettingsrc +%{tde_datadir}/desktop-directories/*.directory +%{tde_datadir}/icons/crystalsvg/*/apps/systemsettings.png + + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.0svn20070312-5 +- Initial build for TDE 3.5.13.1 + +* Wed Jul 11 2012 Francois Andriot - 0.0svn20070312-4 +- Fix XDG menu directory location (again) + +* Sun Jul 08 2012 Francois Andriot - 0.0svn20070312-3 +- Updates 'Requires: trinity-guidance' to reflect package renaming + +* Wed Dec 14 2011 Francois Andriot - 0.0svn20070312-2 +- Fix XDG menu directory location + +* Sat Dec 03 2011 Francois Andriot - 0.0svn20070312-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/tde-systemsettings/kde-systemsettings-3.5.13.spec b/redhat/applications/tde-systemsettings/kde-systemsettings-3.5.13.spec new file mode 100644 index 000000000..ed156aba8 --- /dev/null +++ b/redhat/applications/tde-systemsettings/kde-systemsettings-3.5.13.spec @@ -0,0 +1,150 @@ +# Default version for this component +%define kdecomp kde-systemsettings + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +# Currently, menu files under /etc/xdg conflict with KDE4 +%define tde_sysconfdir %{tde_prefix}/etc +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-systemsettings +Summary: easy to use control centre for TDE +Version: 0.0svn20070312 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz +Source1: kde-settings-laptops.directory + +Provides: trinity-kde-systemsettings = %{version}-%{release} +Obsoletes: trinity-kde-systemsettings < %{version}-%{release} + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils + +Requires: trinity-guidance + +%description +System preferences is a replacement for the TDE +Control Centre with an improved user interface. + + +%prep +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --sysconfdir=%{tde_sysconfdir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%__install -D -m 644 %{SOURCE1} %{buildroot}%{tde_datadir}/desktop-directories/ + +# Unwanted files +%__rm -f %{buildroot}%{tde_datadir}/applications/kde/kcmfontinst.desktop +%__rm -f %{buildroot}%{tde_datadir}/desktop-directories/kde-settings-power.directory +%__rm -f %{buildroot}%{tde_datadir}/desktop-directories/kde-settings-system.directory + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/crystalsvg || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : +xdg-user-dirs-update + +%postun +touch --no-create %{tde_datadir}/icons/crystalsvg || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : +xdg-user-dirs-update + +%files +%defattr(-,root,root,-) +%doc README TODO +%{tde_sysconfdir}/xdg/menus/applications-merged/system-settings-merge.menu +%{tde_sysconfdir}/xdg/menus/system-settings.menu +%{tde_bindir}/systemsettings +%{tde_datadir}/applications/kde/audioencoding.desktop +%{tde_datadir}/applications/kde/defaultapplication.desktop +%{tde_datadir}/applications/kde/kcm_knetworkconfmodule_ss.desktop +%{tde_datadir}/applications/kde/laptoppowermanagement.desktop +%{tde_datadir}/applications/kde/medianotifications.desktop +%{tde_datadir}/applications/kde/systemsettings.desktop +%{tde_datadir}/apps/systemsettings/systemsettingsui.rc +%{tde_datadir}/config/systemsettingsrc +%{tde_datadir}/desktop-directories/*.directory +%{tde_datadir}/icons/crystalsvg/*/apps/systemsettings.png + + + +%Changelog +* Wed Jul 11 2012 Francois Andriot - 0.0svn20070312-4 +- Fix XDG menu directory location (again) + +* Sun Jul 08 2012 Francois Andriot - 0.0svn20070312-3 +- Updates 'Requires: trinity-guidance' to reflect package renaming + +* Wed Dec 14 2011 Francois Andriot - 0.0svn20070312-2 +- Fix XDG menu directory location + +* Sat Dec 03 2011 Francois Andriot - 0.0svn20070312-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/tde-systemsettings/tde-systemsettings-3.5.13.2.spec b/redhat/applications/tde-systemsettings/tde-systemsettings-3.5.13.2.spec new file mode 100644 index 000000000..767ed5d21 --- /dev/null +++ b/redhat/applications/tde-systemsettings/tde-systemsettings-3.5.13.2.spec @@ -0,0 +1,168 @@ +# Default version for this component +%define tdecomp tde-systemsettings + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +# Currently, menu files under /etc/xdg conflict with KDE4 +%define tde_sysconfdir %{tde_prefix}/etc +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-tde-systemsettings +Summary: easy to use control centre for TDE +Version: 0.0svn20070312 +Release: 7%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: trinity-%{tdecomp}-3.5.13.2.tar.gz +Source1: kde-settings-laptops.directory + +Provides: trinity-kde-systemsettings = %{version}-%{release} +Obsoletes: trinity-kde-systemsettings < %{version}-%{release} +Provides: trinity-systemsettings = %{version}-%{release} +Obsoletes: trinity-systemsettings < %{version}-%{release} + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils + +Requires: trinity-guidance + +%description +System preferences is a replacement for the TDE +Control Centre with an improved user interface. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n trinity-%{tdecomp}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export KDEDIR="%{tde_prefix}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --sysconfdir=%{tde_sysconfdir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%__install -D -m 644 %{SOURCE1} %{buildroot}%{tde_datadir}/desktop-directories/kde-settings-laptops.directory + +# Unwanted files +%__rm -f %{buildroot}%{tde_datadir}/applications/kde/kcmfontinst.desktop +%__rm -f %{buildroot}%{tde_datadir}/desktop-directories/kde-settings-power.directory +%__rm -f %{buildroot}%{tde_datadir}/desktop-directories/kde-settings-system.directory + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/crystalsvg || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : +xdg-user-dirs-update + +%postun +touch --no-create %{tde_datadir}/icons/crystalsvg || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : +xdg-user-dirs-update + +%files +%defattr(-,root,root,-) +%doc README TODO +%{tde_sysconfdir}/xdg/menus/applications-merged/system-settings-merge.menu +%{tde_sysconfdir}/xdg/menus/system-settings.menu +%{tde_bindir}/systemsettings +%{tde_datadir}/applications/kde/audioencoding.desktop +%{tde_datadir}/applications/kde/defaultapplication.desktop +%{tde_datadir}/applications/kde/kcm_knetworkconfmodule_ss.desktop +%{tde_datadir}/applications/kde/laptoppowermanagement.desktop +%{tde_datadir}/applications/kde/medianotifications.desktop +%{tde_datadir}/applications/kde/systemsettings.desktop +%{tde_datadir}/apps/systemsettings/systemsettingsui.rc +%{tde_datadir}/config/systemsettingsrc +%{tde_datadir}/desktop-directories/*.directory +%{tde_datadir}/icons/crystalsvg/*/apps/systemsettings.png + + + +%changelog +* Sat Jun 29 2013 Francois Andriot - 0.0svn20070312-7 +- Rebuild + +* Mon Jun 03 2013 Francois Andriot - 0.0svn20070312-6 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.0svn20070312-5 +- Initial build for TDE 3.5.13.1 + +* Wed Jul 11 2012 Francois Andriot - 0.0svn20070312-4 +- Fix XDG menu directory location (again) + +* Sun Jul 08 2012 Francois Andriot - 0.0svn20070312-3 +- Updates 'Requires: trinity-guidance' to reflect package renaming + +* Wed Dec 14 2011 Francois Andriot - 0.0svn20070312-2 +- Fix XDG menu directory location + +* Sat Dec 03 2011 Francois Andriot - 0.0svn20070312-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/tde-systemsettings/trinity-kde-systemsettings-3.5.13.1.spec b/redhat/applications/tde-systemsettings/trinity-kde-systemsettings-3.5.13.1.spec deleted file mode 100644 index 2107afe79..000000000 --- a/redhat/applications/tde-systemsettings/trinity-kde-systemsettings-3.5.13.1.spec +++ /dev/null @@ -1,159 +0,0 @@ -# Default version for this component -%define kdecomp kde-systemsettings - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -# Currently, menu files under /etc/xdg conflict with KDE4 -%define tde_sysconfdir %{tde_prefix}/etc -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-systemsettings -Summary: easy to use control centre for TDE -Version: 0.0svn20070312 -Release: 5%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz -Source1: kde-settings-laptops.directory - -Provides: trinity-kde-systemsettings = %{version}-%{release} -Obsoletes: trinity-kde-systemsettings < %{version}-%{release} - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - -Requires: trinity-guidance - -%description -System preferences is a replacement for the TDE -Control Centre with an improved user interface. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --sysconfdir=%{tde_sysconfdir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%__install -D -m 644 %{SOURCE1} %{buildroot}%{tde_datadir}/desktop-directories/ - -# Unwanted files -%__rm -f %{buildroot}%{tde_datadir}/applications/kde/kcmfontinst.desktop -%__rm -f %{buildroot}%{tde_datadir}/desktop-directories/kde-settings-power.directory -%__rm -f %{buildroot}%{tde_datadir}/desktop-directories/kde-settings-system.directory - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : -xdg-user-dirs-update - -%postun -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : -xdg-user-dirs-update - -%files -%defattr(-,root,root,-) -%doc README TODO -%{tde_sysconfdir}/xdg/menus/applications-merged/system-settings-merge.menu -%{tde_sysconfdir}/xdg/menus/system-settings.menu -%{tde_bindir}/systemsettings -%{tde_datadir}/applications/kde/audioencoding.desktop -%{tde_datadir}/applications/kde/defaultapplication.desktop -%{tde_datadir}/applications/kde/kcm_knetworkconfmodule_ss.desktop -%{tde_datadir}/applications/kde/laptoppowermanagement.desktop -%{tde_datadir}/applications/kde/medianotifications.desktop -%{tde_datadir}/applications/kde/systemsettings.desktop -%{tde_datadir}/apps/systemsettings/systemsettingsui.rc -%{tde_datadir}/config/systemsettingsrc -%{tde_datadir}/desktop-directories/*.directory -%{tde_datadir}/icons/crystalsvg/*/apps/systemsettings.png - - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.0svn20070312-5 -- Initial build for TDE 3.5.13.1 - -* Wed Jul 11 2012 Francois Andriot - 0.0svn20070312-4 -- Fix XDG menu directory location (again) - -* Sun Jul 08 2012 Francois Andriot - 0.0svn20070312-3 -- Updates 'Requires: trinity-guidance' to reflect package renaming - -* Wed Dec 14 2011 Francois Andriot - 0.0svn20070312-2 -- Fix XDG menu directory location - -* Sat Dec 03 2011 Francois Andriot - 0.0svn20070312-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/tde-systemsettings/trinity-kde-systemsettings-3.5.13.spec b/redhat/applications/tde-systemsettings/trinity-kde-systemsettings-3.5.13.spec deleted file mode 100644 index ed156aba8..000000000 --- a/redhat/applications/tde-systemsettings/trinity-kde-systemsettings-3.5.13.spec +++ /dev/null @@ -1,150 +0,0 @@ -# Default version for this component -%define kdecomp kde-systemsettings - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -# Currently, menu files under /etc/xdg conflict with KDE4 -%define tde_sysconfdir %{tde_prefix}/etc -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-systemsettings -Summary: easy to use control centre for TDE -Version: 0.0svn20070312 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz -Source1: kde-settings-laptops.directory - -Provides: trinity-kde-systemsettings = %{version}-%{release} -Obsoletes: trinity-kde-systemsettings < %{version}-%{release} - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils - -Requires: trinity-guidance - -%description -System preferences is a replacement for the TDE -Control Centre with an improved user interface. - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --sysconfdir=%{tde_sysconfdir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%__install -D -m 644 %{SOURCE1} %{buildroot}%{tde_datadir}/desktop-directories/ - -# Unwanted files -%__rm -f %{buildroot}%{tde_datadir}/applications/kde/kcmfontinst.desktop -%__rm -f %{buildroot}%{tde_datadir}/desktop-directories/kde-settings-power.directory -%__rm -f %{buildroot}%{tde_datadir}/desktop-directories/kde-settings-system.directory - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : -xdg-user-dirs-update - -%postun -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : -xdg-user-dirs-update - -%files -%defattr(-,root,root,-) -%doc README TODO -%{tde_sysconfdir}/xdg/menus/applications-merged/system-settings-merge.menu -%{tde_sysconfdir}/xdg/menus/system-settings.menu -%{tde_bindir}/systemsettings -%{tde_datadir}/applications/kde/audioencoding.desktop -%{tde_datadir}/applications/kde/defaultapplication.desktop -%{tde_datadir}/applications/kde/kcm_knetworkconfmodule_ss.desktop -%{tde_datadir}/applications/kde/laptoppowermanagement.desktop -%{tde_datadir}/applications/kde/medianotifications.desktop -%{tde_datadir}/applications/kde/systemsettings.desktop -%{tde_datadir}/apps/systemsettings/systemsettingsui.rc -%{tde_datadir}/config/systemsettingsrc -%{tde_datadir}/desktop-directories/*.directory -%{tde_datadir}/icons/crystalsvg/*/apps/systemsettings.png - - - -%Changelog -* Wed Jul 11 2012 Francois Andriot - 0.0svn20070312-4 -- Fix XDG menu directory location (again) - -* Sun Jul 08 2012 Francois Andriot - 0.0svn20070312-3 -- Updates 'Requires: trinity-guidance' to reflect package renaming - -* Wed Dec 14 2011 Francois Andriot - 0.0svn20070312-2 -- Fix XDG menu directory location - -* Sat Dec 03 2011 Francois Andriot - 0.0svn20070312-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/tde-systemsettings/trinity-tde-systemsettings-3.5.13.2.spec b/redhat/applications/tde-systemsettings/trinity-tde-systemsettings-3.5.13.2.spec deleted file mode 100644 index 767ed5d21..000000000 --- a/redhat/applications/tde-systemsettings/trinity-tde-systemsettings-3.5.13.2.spec +++ /dev/null @@ -1,168 +0,0 @@ -# Default version for this component -%define tdecomp tde-systemsettings - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -# Currently, menu files under /etc/xdg conflict with KDE4 -%define tde_sysconfdir %{tde_prefix}/etc -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-tde-systemsettings -Summary: easy to use control centre for TDE -Version: 0.0svn20070312 -Release: 7%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: trinity-%{tdecomp}-3.5.13.2.tar.gz -Source1: kde-settings-laptops.directory - -Provides: trinity-kde-systemsettings = %{version}-%{release} -Obsoletes: trinity-kde-systemsettings < %{version}-%{release} -Provides: trinity-systemsettings = %{version}-%{release} -Obsoletes: trinity-systemsettings < %{version}-%{release} - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils - -Requires: trinity-guidance - -%description -System preferences is a replacement for the TDE -Control Centre with an improved user interface. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n trinity-%{tdecomp}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export KDEDIR="%{tde_prefix}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --sysconfdir=%{tde_sysconfdir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%__install -D -m 644 %{SOURCE1} %{buildroot}%{tde_datadir}/desktop-directories/kde-settings-laptops.directory - -# Unwanted files -%__rm -f %{buildroot}%{tde_datadir}/applications/kde/kcmfontinst.desktop -%__rm -f %{buildroot}%{tde_datadir}/desktop-directories/kde-settings-power.directory -%__rm -f %{buildroot}%{tde_datadir}/desktop-directories/kde-settings-system.directory - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : -xdg-user-dirs-update - -%postun -touch --no-create %{tde_datadir}/icons/crystalsvg || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || : -xdg-user-dirs-update - -%files -%defattr(-,root,root,-) -%doc README TODO -%{tde_sysconfdir}/xdg/menus/applications-merged/system-settings-merge.menu -%{tde_sysconfdir}/xdg/menus/system-settings.menu -%{tde_bindir}/systemsettings -%{tde_datadir}/applications/kde/audioencoding.desktop -%{tde_datadir}/applications/kde/defaultapplication.desktop -%{tde_datadir}/applications/kde/kcm_knetworkconfmodule_ss.desktop -%{tde_datadir}/applications/kde/laptoppowermanagement.desktop -%{tde_datadir}/applications/kde/medianotifications.desktop -%{tde_datadir}/applications/kde/systemsettings.desktop -%{tde_datadir}/apps/systemsettings/systemsettingsui.rc -%{tde_datadir}/config/systemsettingsrc -%{tde_datadir}/desktop-directories/*.directory -%{tde_datadir}/icons/crystalsvg/*/apps/systemsettings.png - - - -%changelog -* Sat Jun 29 2013 Francois Andriot - 0.0svn20070312-7 -- Rebuild - -* Mon Jun 03 2013 Francois Andriot - 0.0svn20070312-6 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.0svn20070312-5 -- Initial build for TDE 3.5.13.1 - -* Wed Jul 11 2012 Francois Andriot - 0.0svn20070312-4 -- Fix XDG menu directory location (again) - -* Sun Jul 08 2012 Francois Andriot - 0.0svn20070312-3 -- Updates 'Requires: trinity-guidance' to reflect package renaming - -* Wed Dec 14 2011 Francois Andriot - 0.0svn20070312-2 -- Fix XDG menu directory location - -* Sat Dec 03 2011 Francois Andriot - 0.0svn20070312-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/tdeio-apt/tdeio-apt-3.5.13.2.spec b/redhat/applications/tdeio-apt/tdeio-apt-3.5.13.2.spec new file mode 100644 index 000000000..76f4af5d7 --- /dev/null +++ b/redhat/applications/tdeio-apt/tdeio-apt-3.5.13.2.spec @@ -0,0 +1,127 @@ +# Default version for this component +%define tdecomp tdeio-apt + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: An apt-cache ioslave for Trinity +Version: 0.13.2 +Release: 1%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://lpnotfr.free.fr/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils + + +%description +tdeio-apt is an ioslave which provides the apt:/ protocol. It +integrates apt-cache functionalities into Konqueror, making +browsing the packages easier. It provides: + - apt-cache search: apt:/search?expression + - apt-cache show: apt:/show?package . The show? target + prints the policy too. + - apt-cache policy: apt:/policy?package + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang kio-apt + + +%clean +%__rm -rf %{buildroot} + + +%files -f kio-apt.lang +%defattr(-,root,root,-) +%doc AUTHORS CHANGELOG ChangeLog COPYING +%{tde_tdelibdir}/kio_apt.la +%{tde_tdelibdir}/kio_apt.so +%{tde_datadir}/apps/kio_apt/kdedeb_logo.png +%{tde_datadir}/apps/kio_apt/kio_apt.css +%{tde_datadir}/services/apt+http.protocol +%{tde_datadir}/services/apt.protocol +%{tde_datadir}/services/searchproviders/apt-file.desktop +%{tde_datadir}/services/searchproviders/apt-files.desktop +%{tde_datadir}/services/searchproviders/apt-search.desktop + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 0.13.2-1 +- Initial release for TDE 3.5.13.2 + diff --git a/redhat/applications/tdeio-apt/trinity-tdeio-apt-3.5.13.2.spec b/redhat/applications/tdeio-apt/trinity-tdeio-apt-3.5.13.2.spec deleted file mode 100644 index 76f4af5d7..000000000 --- a/redhat/applications/tdeio-apt/trinity-tdeio-apt-3.5.13.2.spec +++ /dev/null @@ -1,127 +0,0 @@ -# Default version for this component -%define tdecomp tdeio-apt - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: An apt-cache ioslave for Trinity -Version: 0.13.2 -Release: 1%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://lpnotfr.free.fr/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils - - -%description -tdeio-apt is an ioslave which provides the apt:/ protocol. It -integrates apt-cache functionalities into Konqueror, making -browsing the packages easier. It provides: - - apt-cache search: apt:/search?expression - - apt-cache show: apt:/show?package . The show? target - prints the policy too. - - apt-cache policy: apt:/policy?package - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang kio-apt - - -%clean -%__rm -rf %{buildroot} - - -%files -f kio-apt.lang -%defattr(-,root,root,-) -%doc AUTHORS CHANGELOG ChangeLog COPYING -%{tde_tdelibdir}/kio_apt.la -%{tde_tdelibdir}/kio_apt.so -%{tde_datadir}/apps/kio_apt/kdedeb_logo.png -%{tde_datadir}/apps/kio_apt/kio_apt.css -%{tde_datadir}/services/apt+http.protocol -%{tde_datadir}/services/apt.protocol -%{tde_datadir}/services/searchproviders/apt-file.desktop -%{tde_datadir}/services/searchproviders/apt-files.desktop -%{tde_datadir}/services/searchproviders/apt-search.desktop - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 0.13.2-1 -- Initial release for TDE 3.5.13.2 - diff --git a/redhat/applications/tdeio-locate/kio-locate-3.5.12.spec b/redhat/applications/tdeio-locate/kio-locate-3.5.12.spec new file mode 100644 index 000000000..f24f3a2f7 --- /dev/null +++ b/redhat/applications/tdeio-locate/kio-locate-3.5.12.spec @@ -0,0 +1,111 @@ +# Default version for this component +%define kdecomp kio-locate + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: kio-slave for the locate command [Trinity] +Version: 0.4.5 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.12.tar.gz + +# [kio-locate] Fix compilation with GCC 4.7 +Patch1: kio-locate-3.5.13-fix_gcc47_compilation.patch + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils + +BuildRequires: scons + +%description +Adds support for the "locate:" and "locater:" +protocols to Konqueror and other TDE applications. + +This enables you to perform locate searches as you +would in a terminal. The result is displayed just +as a directory. + + +%prep +%setup -q -n applications/%{kdecomp} +#patch1 -p1 -b .install + +# Ugly hack to modify TQT include directory inside SCONS files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/kde.py" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export CXXFLAGS="-I%{tde_includedir}/tqt ${CXXFLAGS}" +scons configure +scons + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +scons install DESTDIR=%{buildroot} + +%clean +%__rm -rf %{buildroot} + + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING TODO +%{tde_tdelibdir}/kio_locate.la +%{tde_tdelibdir}/kio_locate.so +%{tde_tdedocdir}/HTML/en/kio-locate/ +%{tde_datadir}/services/locate.protocol +%{tde_datadir}/services/locater.protocol +%{tde_datadir}/services/rlocate.protocol +%{tde_datadir}/services/searchproviders/locate.desktop + + +%Changelog +* Tue May 01 2012 Francois Andriot - 0.4.5-2 +- Rebuilt for Fedora 17 +- Removes post and postun +- Fix compilation with GCC 4.7 + +* Sat Dec 03 2011 Francois Andriot - 0.4.5-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/tdeio-locate/kio-locate-3.5.13.1.spec b/redhat/applications/tdeio-locate/kio-locate-3.5.13.1.spec new file mode 100644 index 000000000..f673baeb6 --- /dev/null +++ b/redhat/applications/tdeio-locate/kio-locate-3.5.13.1.spec @@ -0,0 +1,135 @@ +# Default version for this component +%define kdecomp kio-locate + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: kio-slave for the locate command [Trinity] +Version: 0.4.5 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils + +BuildRequires: cmake >= 2.8 + +%description +Adds support for the "locate:" and "locater:" +protocols to Konqueror and other TDE applications. + +This enables you to perform locate searches as you +would in a terminal. The result is displayed just +as a directory. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside SCONS files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/kde.py" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +export CMAKE_INCLUDE_PATH="%{tde_tdeincludedir}" + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + + +%cmake \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DBUILD_ALL=ON \ + .. + +# SMP safe ! +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang %{kdecomp} + +%clean +%__rm -rf %{buildroot} + + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING TODO +%{tde_tdelibdir}/kio_locate.la +%{tde_tdelibdir}/kio_locate.so +%{tde_tdedocdir}/HTML/en/kio-locate/ +%{tde_datadir}/services/locate.protocol +%{tde_datadir}/services/locater.protocol +%{tde_datadir}/services/rlocate.protocol +%{tde_datadir}/services/searchproviders/locate.desktop + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.4.5-3 +- Initial build for TDE 3.5.13.1 + +* Tue May 01 2012 Francois Andriot - 0.4.5-2 +- Rebuilt for Fedora 17 +- Removes post and postun +- Fix compilation with GCC 4.7 + +* Sat Dec 03 2011 Francois Andriot - 0.4.5-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/tdeio-locate/kio-locate-3.5.13.spec b/redhat/applications/tdeio-locate/kio-locate-3.5.13.spec new file mode 100644 index 000000000..72b4e1032 --- /dev/null +++ b/redhat/applications/tdeio-locate/kio-locate-3.5.13.spec @@ -0,0 +1,113 @@ +# Default version for this component +%define kdecomp kio-locate + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: kio-slave for the locate command [Trinity] +Version: 0.4.5 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +# [kio-locate] Fix compilation with GCC 4.7 +Patch1: kio-locate-3.5.13-fix_gcc47_compilation.patch + +Patch2: kio-locate-3.5.13-downgrade_3512.patch + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils + +BuildRequires: scons + +%description +Adds support for the "locate:" and "locater:" +protocols to Konqueror and other TDE applications. + +This enables you to perform locate searches as you +would in a terminal. The result is displayed just +as a directory. + + +%prep +%setup -q -n applications/%{kdecomp} +%patch1 -p1 -b .install +%patch2 -p7 + +# Ugly hack to modify TQT include directory inside SCONS files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/kde.py" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +scons configure +scons + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +scons install DESTDIR=%{buildroot} + +%clean +%__rm -rf %{buildroot} + + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING TODO +%{tde_tdelibdir}/kio_locate.la +%{tde_tdelibdir}/kio_locate.so +%{tde_tdedocdir}/HTML/en/kio-locate/ +%{tde_datadir}/services/locate.protocol +%{tde_datadir}/services/locater.protocol +%{tde_datadir}/services/rlocate.protocol +%{tde_datadir}/services/searchproviders/locate.desktop + + +%Changelog +* Tue May 01 2012 Francois Andriot - 0.4.5-2 +- Rebuilt for Fedora 17 +- Removes post and postun +- Fix compilation with GCC 4.7 + +* Sat Dec 03 2011 Francois Andriot - 0.4.5-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/tdeio-locate/tdeio-locate-3.5.13.2.spec b/redhat/applications/tdeio-locate/tdeio-locate-3.5.13.2.spec new file mode 100644 index 000000000..2f76d01c2 --- /dev/null +++ b/redhat/applications/tdeio-locate/tdeio-locate-3.5.13.2.spec @@ -0,0 +1,148 @@ +# Default version for this component +%define tdecomp tdeio-locate + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: kio-slave for the locate command [Trinity] +Version: 0.4.5 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils + +BuildRequires: cmake >= 2.8 + +Obsoletes: trinity-kio-locate < %{version}-%{release} +Provides: trinity-kio-locate = %{version}-%{release} + +%description +Adds support for the "locate:" and "locater:" +protocols to Konqueror and other TDE applications. + +This enables you to perform locate searches as you +would in a terminal. The result is displayed just +as a directory. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside SCONS files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/kde.py" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +export CMAKE_INCLUDE_PATH="%{tde_tdeincludedir}" + +# Shitty hack for RHEL4 ... +if [ -d "/usr/X11R6" ]; then + export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/X11R6/include:/usr/X11R6/%{_lib}" + export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + + +%cmake \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DBUILD_ALL=ON \ + .. + +# SMP safe ! +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%find_lang kio-locate + +%clean +%__rm -rf %{buildroot} + + + +%files -f kio-locate.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING TODO +%{tde_tdelibdir}/kio_locate.la +%{tde_tdelibdir}/kio_locate.so +%{tde_tdedocdir}/HTML/en/kio-locate/ +%{tde_datadir}/services/locate.protocol +%{tde_datadir}/services/locater.protocol +%{tde_datadir}/services/rlocate.protocol +%{tde_datadir}/services/searchproviders/locate.desktop + +%changelog +* Mon Jun 03 2013 Francois Andriot - 0.4.5-4 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.4.5-3 +- Initial build for TDE 3.5.13.1 + +* Tue May 01 2012 Francois Andriot - 0.4.5-2 +- Rebuilt for Fedora 17 +- Removes post and postun +- Fix compilation with GCC 4.7 + +* Sat Dec 03 2011 Francois Andriot - 0.4.5-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/tdeio-locate/trinity-kio-locate-3.5.12.spec b/redhat/applications/tdeio-locate/trinity-kio-locate-3.5.12.spec deleted file mode 100644 index f24f3a2f7..000000000 --- a/redhat/applications/tdeio-locate/trinity-kio-locate-3.5.12.spec +++ /dev/null @@ -1,111 +0,0 @@ -# Default version for this component -%define kdecomp kio-locate - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: kio-slave for the locate command [Trinity] -Version: 0.4.5 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.12.tar.gz - -# [kio-locate] Fix compilation with GCC 4.7 -Patch1: kio-locate-3.5.13-fix_gcc47_compilation.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils - -BuildRequires: scons - -%description -Adds support for the "locate:" and "locater:" -protocols to Konqueror and other TDE applications. - -This enables you to perform locate searches as you -would in a terminal. The result is displayed just -as a directory. - - -%prep -%setup -q -n applications/%{kdecomp} -#patch1 -p1 -b .install - -# Ugly hack to modify TQT include directory inside SCONS files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/kde.py" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export CXXFLAGS="-I%{tde_includedir}/tqt ${CXXFLAGS}" -scons configure -scons - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -scons install DESTDIR=%{buildroot} - -%clean -%__rm -rf %{buildroot} - - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING TODO -%{tde_tdelibdir}/kio_locate.la -%{tde_tdelibdir}/kio_locate.so -%{tde_tdedocdir}/HTML/en/kio-locate/ -%{tde_datadir}/services/locate.protocol -%{tde_datadir}/services/locater.protocol -%{tde_datadir}/services/rlocate.protocol -%{tde_datadir}/services/searchproviders/locate.desktop - - -%Changelog -* Tue May 01 2012 Francois Andriot - 0.4.5-2 -- Rebuilt for Fedora 17 -- Removes post and postun -- Fix compilation with GCC 4.7 - -* Sat Dec 03 2011 Francois Andriot - 0.4.5-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/tdeio-locate/trinity-kio-locate-3.5.13.1.spec b/redhat/applications/tdeio-locate/trinity-kio-locate-3.5.13.1.spec deleted file mode 100644 index f673baeb6..000000000 --- a/redhat/applications/tdeio-locate/trinity-kio-locate-3.5.13.1.spec +++ /dev/null @@ -1,135 +0,0 @@ -# Default version for this component -%define kdecomp kio-locate - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: kio-slave for the locate command [Trinity] -Version: 0.4.5 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - -BuildRequires: cmake >= 2.8 - -%description -Adds support for the "locate:" and "locater:" -protocols to Konqueror and other TDE applications. - -This enables you to perform locate searches as you -would in a terminal. The result is displayed just -as a directory. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside SCONS files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/kde.py" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -export CMAKE_INCLUDE_PATH="%{tde_tdeincludedir}" - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - -DBUILD_ALL=ON \ - .. - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING TODO -%{tde_tdelibdir}/kio_locate.la -%{tde_tdelibdir}/kio_locate.so -%{tde_tdedocdir}/HTML/en/kio-locate/ -%{tde_datadir}/services/locate.protocol -%{tde_datadir}/services/locater.protocol -%{tde_datadir}/services/rlocate.protocol -%{tde_datadir}/services/searchproviders/locate.desktop - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.4.5-3 -- Initial build for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 0.4.5-2 -- Rebuilt for Fedora 17 -- Removes post and postun -- Fix compilation with GCC 4.7 - -* Sat Dec 03 2011 Francois Andriot - 0.4.5-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/tdeio-locate/trinity-kio-locate-3.5.13.spec b/redhat/applications/tdeio-locate/trinity-kio-locate-3.5.13.spec deleted file mode 100644 index 72b4e1032..000000000 --- a/redhat/applications/tdeio-locate/trinity-kio-locate-3.5.13.spec +++ /dev/null @@ -1,113 +0,0 @@ -# Default version for this component -%define kdecomp kio-locate - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: kio-slave for the locate command [Trinity] -Version: 0.4.5 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# [kio-locate] Fix compilation with GCC 4.7 -Patch1: kio-locate-3.5.13-fix_gcc47_compilation.patch - -Patch2: kio-locate-3.5.13-downgrade_3512.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils - -BuildRequires: scons - -%description -Adds support for the "locate:" and "locater:" -protocols to Konqueror and other TDE applications. - -This enables you to perform locate searches as you -would in a terminal. The result is displayed just -as a directory. - - -%prep -%setup -q -n applications/%{kdecomp} -%patch1 -p1 -b .install -%patch2 -p7 - -# Ugly hack to modify TQT include directory inside SCONS files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/kde.py" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -scons configure -scons - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -scons install DESTDIR=%{buildroot} - -%clean -%__rm -rf %{buildroot} - - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING TODO -%{tde_tdelibdir}/kio_locate.la -%{tde_tdelibdir}/kio_locate.so -%{tde_tdedocdir}/HTML/en/kio-locate/ -%{tde_datadir}/services/locate.protocol -%{tde_datadir}/services/locater.protocol -%{tde_datadir}/services/rlocate.protocol -%{tde_datadir}/services/searchproviders/locate.desktop - - -%Changelog -* Tue May 01 2012 Francois Andriot - 0.4.5-2 -- Rebuilt for Fedora 17 -- Removes post and postun -- Fix compilation with GCC 4.7 - -* Sat Dec 03 2011 Francois Andriot - 0.4.5-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/tdeio-locate/trinity-tdeio-locate-3.5.13.2.spec b/redhat/applications/tdeio-locate/trinity-tdeio-locate-3.5.13.2.spec deleted file mode 100644 index 2f76d01c2..000000000 --- a/redhat/applications/tdeio-locate/trinity-tdeio-locate-3.5.13.2.spec +++ /dev/null @@ -1,148 +0,0 @@ -# Default version for this component -%define tdecomp tdeio-locate - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: kio-slave for the locate command [Trinity] -Version: 0.4.5 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils - -BuildRequires: cmake >= 2.8 - -Obsoletes: trinity-kio-locate < %{version}-%{release} -Provides: trinity-kio-locate = %{version}-%{release} - -%description -Adds support for the "locate:" and "locater:" -protocols to Konqueror and other TDE applications. - -This enables you to perform locate searches as you -would in a terminal. The result is displayed just -as a directory. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside SCONS files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/kde.py" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -export CMAKE_INCLUDE_PATH="%{tde_tdeincludedir}" - -# Shitty hack for RHEL4 ... -if [ -d "/usr/X11R6" ]; then - export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/X11R6/include:/usr/X11R6/%{_lib}" - export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - -DBUILD_ALL=ON \ - .. - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%find_lang kio-locate - -%clean -%__rm -rf %{buildroot} - - - -%files -f kio-locate.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING TODO -%{tde_tdelibdir}/kio_locate.la -%{tde_tdelibdir}/kio_locate.so -%{tde_tdedocdir}/HTML/en/kio-locate/ -%{tde_datadir}/services/locate.protocol -%{tde_datadir}/services/locater.protocol -%{tde_datadir}/services/rlocate.protocol -%{tde_datadir}/services/searchproviders/locate.desktop - -%changelog -* Mon Jun 03 2013 Francois Andriot - 0.4.5-4 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.4.5-3 -- Initial build for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 0.4.5-2 -- Rebuilt for Fedora 17 -- Removes post and postun -- Fix compilation with GCC 4.7 - -* Sat Dec 03 2011 Francois Andriot - 0.4.5-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/tdeio-umountwrapper/kio-umountwrapper-3.5.13.1.spec b/redhat/applications/tdeio-umountwrapper/kio-umountwrapper-3.5.13.1.spec new file mode 100644 index 000000000..20b3ceef4 --- /dev/null +++ b/redhat/applications/tdeio-umountwrapper/kio-umountwrapper-3.5.13.1.spec @@ -0,0 +1,157 @@ +# Default version for this component +%define kdecomp kio-umountwrapper + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: progress dialog for safely removing devices in Trinity. +Version: 0.2 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://frode.kde.no/misc/kio_umountwrapper/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz +Source1: media_safelyremove.desktop + + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils + + +%description +Wrapper around kio_media_mountwrapper. +Provides a progress dialog for Safely Removing of devices in Trinity. + + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_kio-umountwrapper +#%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/apps/dolphin/servicemenus/media_safelyremove.desktop_kio-umountwrapper +%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_kio-umountwrapper + + +%clean +%__rm -rf %{buildroot} + +%post +for f in konqueror d3lphin; do +%if 0%{?suse_version} + update-alternatives --install \ +%else + alternatives --install \ +%endif + %{tde_datadir}/apps/${f}/servicemenus/media_safelyremove.desktop \ + media_safelyremove.desktop_${f} \ + %{tde_datadir}/apps/${f}/servicemenus/media_safelyremove.desktop_kio-umountwrapper \ + 20 +done + + +%postun +if [ $1 -eq 0 ]; then + for f in konqueror d3lphin; do +%if 0%{?suse_version} + update-alternatives --remove \ +%else + alternatives --remove \ +%endif + media_safelyremove.desktop_${f} \ + %{tde_datadir}/apps/${f}/servicemenus/media_safelyremove.desktop_kio-umountwrapper + done +fi + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{tde_bindir}/kio_umountwrapper +%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_kio-umountwrapper +#%{tde_datadir}/apps/dolphin/servicemenus/media_safelyremove.desktop_kio-umountwrapper +%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_kio-umountwrapper + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.2-4 +- Initial build for TDE 3.5.13.1 + +* Sun Jul 08 2012 Francois Andriot - 0.2-3 +- Add 'desktop' file, to make this program useful :-) + +* Wed May 02 2012 Francois Andriot - 0.2-2 +- Rebuilt for Fedora 17 +- Removes post and postun + +* Sat Dec 03 2011 Francois Andriot - 0.2-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/tdeio-umountwrapper/kio-umountwrapper-3.5.13.spec b/redhat/applications/tdeio-umountwrapper/kio-umountwrapper-3.5.13.spec new file mode 100644 index 000000000..352e39845 --- /dev/null +++ b/redhat/applications/tdeio-umountwrapper/kio-umountwrapper-3.5.13.spec @@ -0,0 +1,140 @@ +# Default version for this component +%define kdecomp kio-umountwrapper + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: progress dialog for safely removing devices in Trinity. +Version: 0.2 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://frode.kde.no/misc/kio_umountwrapper/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz +Source1: media_safelyremove.desktop + + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils + + +%description +Wrapper around kio_media_mountwrapper. +Provides a progress dialog for Safely Removing of devices in Trinity. + + + +%prep +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_kio-umountwrapper +#%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/apps/dolphin/servicemenus/media_safelyremove.desktop_kio-umountwrapper +%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_kio-umountwrapper + + +%clean +%__rm -rf %{buildroot} + +%post +for f in konqueror d3lphin; do + alternatives --install \ + %{tde_datadir}/apps/${f}/servicemenus/media_safelyremove.desktop \ + media_safelyremove.desktop_${f} \ + %{tde_datadir}/apps/${f}/servicemenus/media_safelyremove.desktop_kio-umountwrapper \ + 20 +done + + +%postun +if [ $1 -eq 0 ]; then + for f in konqueror d3lphin; do + alternatives --remove \ + media_safelyremove.desktop_${f} \ + %{tde_datadir}/apps/${f}/servicemenus/media_safelyremove.desktop_kio-umountwrapper + done +fi + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{tde_bindir}/kio_umountwrapper +%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_kio-umountwrapper +#%{tde_datadir}/apps/dolphin/servicemenus/media_safelyremove.desktop_kio-umountwrapper +%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_kio-umountwrapper + +%Changelog +* Sun Jul 08 2012 Francois Andriot - 0.2-3 +- Add 'desktop' file, to make this program useful :-) + +* Wed May 02 2012 Francois Andriot - 0.2-2 +- Rebuilt for Fedora 17 +- Removes post and postun + +* Sat Dec 03 2011 Francois Andriot - 0.2-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/tdeio-umountwrapper/tdeio-umountwrapper-3.5.13.2.spec b/redhat/applications/tdeio-umountwrapper/tdeio-umountwrapper-3.5.13.2.spec new file mode 100644 index 000000000..cd7a252d8 --- /dev/null +++ b/redhat/applications/tdeio-umountwrapper/tdeio-umountwrapper-3.5.13.2.spec @@ -0,0 +1,154 @@ +# Default version for this component +%define tdecomp tdeio-umountwrapper + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: progress dialog for safely removing devices in Trinity. +Version: 0.2 +Release: 5%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://frode.kde.no/misc/kio_umountwrapper/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz +Source1: media_safelyremove.desktop + + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils + +Obsoletes: trinity-kio-umountwrapper < %{version}-%{release} +Provides: trinity-kio-umountwrapper = %{version}-%{release} + +%description +Wrapper around kio_media_mountwrapper. +Provides a progress dialog for Safely Removing of devices in Trinity. + + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_kio-umountwrapper +#%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/apps/dolphin/servicemenus/media_safelyremove.desktop_kio-umountwrapper +%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_kio-umountwrapper + + +%clean +%__rm -rf %{buildroot} + +%post +for f in konqueror d3lphin; do + update-alternatives --install \ + %{tde_datadir}/apps/${f}/servicemenus/media_safelyremove.desktop \ + media_safelyremove.desktop_${f} \ + %{tde_datadir}/apps/${f}/servicemenus/media_safelyremove.desktop_kio-umountwrapper \ + 20 +done + + +%postun +if [ $1 -eq 0 ]; then + for f in konqueror d3lphin; do + update-alternatives --remove \ + media_safelyremove.desktop_${f} \ + %{tde_datadir}/apps/${f}/servicemenus/media_safelyremove.desktop_kio-umountwrapper + done +fi + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{tde_bindir}/kio_umountwrapper +%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_kio-umountwrapper +#%{tde_datadir}/apps/dolphin/servicemenus/media_safelyremove.desktop_kio-umountwrapper +%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_kio-umountwrapper + +%changelog +* Mon Jun 03 2013 Francois Andriot - 0.2-5 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.2-4 +- Initial build for TDE 3.5.13.1 + +* Sun Jul 08 2012 Francois Andriot - 0.2-3 +- Add 'desktop' file, to make this program useful :-) + +* Wed May 02 2012 Francois Andriot - 0.2-2 +- Rebuilt for Fedora 17 +- Removes post and postun + +* Sat Dec 03 2011 Francois Andriot - 0.2-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 + diff --git a/redhat/applications/tdeio-umountwrapper/trinity-kio-umountwrapper-3.5.13.1.spec b/redhat/applications/tdeio-umountwrapper/trinity-kio-umountwrapper-3.5.13.1.spec deleted file mode 100644 index 20b3ceef4..000000000 --- a/redhat/applications/tdeio-umountwrapper/trinity-kio-umountwrapper-3.5.13.1.spec +++ /dev/null @@ -1,157 +0,0 @@ -# Default version for this component -%define kdecomp kio-umountwrapper - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: progress dialog for safely removing devices in Trinity. -Version: 0.2 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://frode.kde.no/misc/kio_umountwrapper/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz -Source1: media_safelyremove.desktop - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - - -%description -Wrapper around kio_media_mountwrapper. -Provides a progress dialog for Safely Removing of devices in Trinity. - - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_kio-umountwrapper -#%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/apps/dolphin/servicemenus/media_safelyremove.desktop_kio-umountwrapper -%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_kio-umountwrapper - - -%clean -%__rm -rf %{buildroot} - -%post -for f in konqueror d3lphin; do -%if 0%{?suse_version} - update-alternatives --install \ -%else - alternatives --install \ -%endif - %{tde_datadir}/apps/${f}/servicemenus/media_safelyremove.desktop \ - media_safelyremove.desktop_${f} \ - %{tde_datadir}/apps/${f}/servicemenus/media_safelyremove.desktop_kio-umountwrapper \ - 20 -done - - -%postun -if [ $1 -eq 0 ]; then - for f in konqueror d3lphin; do -%if 0%{?suse_version} - update-alternatives --remove \ -%else - alternatives --remove \ -%endif - media_safelyremove.desktop_${f} \ - %{tde_datadir}/apps/${f}/servicemenus/media_safelyremove.desktop_kio-umountwrapper - done -fi - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_bindir}/kio_umountwrapper -%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_kio-umountwrapper -#%{tde_datadir}/apps/dolphin/servicemenus/media_safelyremove.desktop_kio-umountwrapper -%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_kio-umountwrapper - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.2-4 -- Initial build for TDE 3.5.13.1 - -* Sun Jul 08 2012 Francois Andriot - 0.2-3 -- Add 'desktop' file, to make this program useful :-) - -* Wed May 02 2012 Francois Andriot - 0.2-2 -- Rebuilt for Fedora 17 -- Removes post and postun - -* Sat Dec 03 2011 Francois Andriot - 0.2-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/tdeio-umountwrapper/trinity-kio-umountwrapper-3.5.13.spec b/redhat/applications/tdeio-umountwrapper/trinity-kio-umountwrapper-3.5.13.spec deleted file mode 100644 index 352e39845..000000000 --- a/redhat/applications/tdeio-umountwrapper/trinity-kio-umountwrapper-3.5.13.spec +++ /dev/null @@ -1,140 +0,0 @@ -# Default version for this component -%define kdecomp kio-umountwrapper - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: progress dialog for safely removing devices in Trinity. -Version: 0.2 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://frode.kde.no/misc/kio_umountwrapper/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz -Source1: media_safelyremove.desktop - - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils - - -%description -Wrapper around kio_media_mountwrapper. -Provides a progress dialog for Safely Removing of devices in Trinity. - - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_kio-umountwrapper -#%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/apps/dolphin/servicemenus/media_safelyremove.desktop_kio-umountwrapper -%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_kio-umountwrapper - - -%clean -%__rm -rf %{buildroot} - -%post -for f in konqueror d3lphin; do - alternatives --install \ - %{tde_datadir}/apps/${f}/servicemenus/media_safelyremove.desktop \ - media_safelyremove.desktop_${f} \ - %{tde_datadir}/apps/${f}/servicemenus/media_safelyremove.desktop_kio-umountwrapper \ - 20 -done - - -%postun -if [ $1 -eq 0 ]; then - for f in konqueror d3lphin; do - alternatives --remove \ - media_safelyremove.desktop_${f} \ - %{tde_datadir}/apps/${f}/servicemenus/media_safelyremove.desktop_kio-umountwrapper - done -fi - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_bindir}/kio_umountwrapper -%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_kio-umountwrapper -#%{tde_datadir}/apps/dolphin/servicemenus/media_safelyremove.desktop_kio-umountwrapper -%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_kio-umountwrapper - -%Changelog -* Sun Jul 08 2012 Francois Andriot - 0.2-3 -- Add 'desktop' file, to make this program useful :-) - -* Wed May 02 2012 Francois Andriot - 0.2-2 -- Rebuilt for Fedora 17 -- Removes post and postun - -* Sat Dec 03 2011 Francois Andriot - 0.2-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/tdeio-umountwrapper/trinity-tdeio-umountwrapper-3.5.13.2.spec b/redhat/applications/tdeio-umountwrapper/trinity-tdeio-umountwrapper-3.5.13.2.spec deleted file mode 100644 index cd7a252d8..000000000 --- a/redhat/applications/tdeio-umountwrapper/trinity-tdeio-umountwrapper-3.5.13.2.spec +++ /dev/null @@ -1,154 +0,0 @@ -# Default version for this component -%define tdecomp tdeio-umountwrapper - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: progress dialog for safely removing devices in Trinity. -Version: 0.2 -Release: 5%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://frode.kde.no/misc/kio_umountwrapper/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz -Source1: media_safelyremove.desktop - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils - -Obsoletes: trinity-kio-umountwrapper < %{version}-%{release} -Provides: trinity-kio-umountwrapper = %{version}-%{release} - -%description -Wrapper around kio_media_mountwrapper. -Provides a progress dialog for Safely Removing of devices in Trinity. - - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_kio-umountwrapper -#%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/apps/dolphin/servicemenus/media_safelyremove.desktop_kio-umountwrapper -%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_kio-umountwrapper - - -%clean -%__rm -rf %{buildroot} - -%post -for f in konqueror d3lphin; do - update-alternatives --install \ - %{tde_datadir}/apps/${f}/servicemenus/media_safelyremove.desktop \ - media_safelyremove.desktop_${f} \ - %{tde_datadir}/apps/${f}/servicemenus/media_safelyremove.desktop_kio-umountwrapper \ - 20 -done - - -%postun -if [ $1 -eq 0 ]; then - for f in konqueror d3lphin; do - update-alternatives --remove \ - media_safelyremove.desktop_${f} \ - %{tde_datadir}/apps/${f}/servicemenus/media_safelyremove.desktop_kio-umountwrapper - done -fi - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_bindir}/kio_umountwrapper -%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_kio-umountwrapper -#%{tde_datadir}/apps/dolphin/servicemenus/media_safelyremove.desktop_kio-umountwrapper -%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_kio-umountwrapper - -%changelog -* Mon Jun 03 2013 Francois Andriot - 0.2-5 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.2-4 -- Initial build for TDE 3.5.13.1 - -* Sun Jul 08 2012 Francois Andriot - 0.2-3 -- Add 'desktop' file, to make this program useful :-) - -* Wed May 02 2012 Francois Andriot - 0.2-2 -- Rebuilt for Fedora 17 -- Removes post and postun - -* Sat Dec 03 2011 Francois Andriot - 0.2-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 - diff --git a/redhat/applications/tderadio/kradio-3.5.13.1.spec b/redhat/applications/tderadio/kradio-3.5.13.1.spec new file mode 100644 index 000000000..cc5903e88 --- /dev/null +++ b/redhat/applications/tderadio/kradio-3.5.13.1.spec @@ -0,0 +1,182 @@ +# Default version for this component +%define kdecomp kradio + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Comfortable Radio Application for KDE [Trinity] +Version: 0.1.1.1 +Release: 5%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +Patch1: kradio-3.5.13.1-updated_preset.patch + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: libsndfile-devel +BuildRequires: lirc-devel + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}twolame-devel +%endif +%if 0%{?suse_version} +BuildRequires: libtwolame-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: lame-devel +%endif + +%description +KRadio is a comfortable radio application for Trinity with support for +V4L and V4L2 radio cards drivers. + +KRadio currently provides + + * V4L/V4L2 radio support + * Remote control support (LIRC) + * Alarms, sleep Countdown + * Several GUI Controls (Docking Menu, Station Quickbar, Radio Display) + * Recording capabilities, including MP3 and Ogg/Vorbis encoding + * Timeshifter functionality + * Extendable plugin architecture + +This package also includes a growing collection of station preset +files for many cities around the world contributed by KRadio users. + +As KRadio is based on an extendable plugin architecture, contributions +of new plugins (e.g. Internet Radio Streams, new cool GUIs) are welcome. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 +%patch1 -p1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-lirc \ + --enable-v4l2 \ + --enable-lame \ + --enable-ogg \ + --enable-alsa \ + --enable-oss + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +update-desktop-database %{tde_appdir} -q &> /dev/null ||: + +%postun +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +update-desktop-database %{tde_appdir} -q &> /dev/null ||: + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/convert-presets +%{tde_bindir}/kradio +%{tde_libdir}/kradio/plugins/*.la +%{tde_libdir}/kradio/plugins/*.so +%{tde_tdeappdir}/kradio.desktop +%{tde_datadir}/apps/kradio/ +%{tde_datadir}/locale/*/LC_MESSAGES/kradio-*.mo + +%changelog +* Sat Dec 01 2012 Francois Andriot - 0.1.1.1-5 +- Updates presets + +* Wed Oct 03 2012 Francois Andriot - 0.1.1.1-4 +- Initial build for TDE 3.5.13.1 + +* Sun Jul 08 2012 Francois Andriot - 0.1.1.1-3 +- Rebuild for RHEL 5 +- Fix postinstall + +* Wed May 02 2012 Francois Andriot - 0.1.1.1-2 +- Rebuild for Fedora 17 +- Fix HTML directory location + +* Sat Nov 19 2011 Francois Andriot - 0.1.1.1-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tderadio/kradio-3.5.13.spec b/redhat/applications/tderadio/kradio-3.5.13.spec new file mode 100644 index 000000000..dfaedd47d --- /dev/null +++ b/redhat/applications/tderadio/kradio-3.5.13.spec @@ -0,0 +1,164 @@ +# Default version for this component +%define kdecomp kradio + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Comfortable Radio Application for KDE [Trinity] +Version: 0.1.1.1 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: libsndfile-devel +BuildRequires: lirc-devel + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}twolame-devel +%else +BuildRequires: lame-devel +%endif + +%description +KRadio is a comfortable radio application for Trinity with support for +V4L and V4L2 radio cards drivers. + +KRadio currently provides + + * V4L/V4L2 radio support + * Remote control support (LIRC) + * Alarms, sleep Countdown + * Several GUI Controls (Docking Menu, Station Quickbar, Radio Display) + * Recording capabilities, including MP3 and Ogg/Vorbis encoding + * Timeshifter functionality + * Extendable plugin architecture + +This package also includes a growing collection of station preset +files for many cities around the world contributed by KRadio users. + +As KRadio is based on an extendable plugin architecture, contributions +of new plugins (e.g. Internet Radio Streams, new cool GUIs) are welcome. + + +%prep +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-lirc \ + --enable-v4l2 \ + --enable-lame \ + --enable-ogg \ + --enable-alsa \ + --enable-oss + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +%clean +%__rm -rf %{buildroot} + + +%post +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +update-desktop-database %{tde_appdir} -q &> /dev/null ||: + +%postun +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +update-desktop-database %{tde_appdir} -q &> /dev/null ||: + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/convert-presets +%{tde_bindir}/kradio +%{tde_libdir}/kradio/plugins/*.la +%{tde_libdir}/kradio/plugins/*.so +%{tde_tdeappdir}/kradio.desktop +%{tde_datadir}/apps/kradio/ +%{tde_datadir}/locale/*/LC_MESSAGES/kradio-*.mo + +%Changelog +* Sun Jul 08 2012 Francois Andriot - 0.1.1.1-3 +- Rebuild for RHEL 5 +- Fix postinstall + +* Wed May 02 2012 Francois Andriot - 0.1.1.1-2 +- Rebuild for Fedora 17 +- Fix HTML directory location + +* Sat Nov 19 2011 Francois Andriot - 0.1.1.1-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tderadio/tderadio-3.5.13.2.spec b/redhat/applications/tderadio/tderadio-3.5.13.2.spec new file mode 100644 index 000000000..8f03de6d2 --- /dev/null +++ b/redhat/applications/tderadio/tderadio-3.5.13.2.spec @@ -0,0 +1,196 @@ +# Default version for this component +%define tdecomp tderadio +%define tdeversion 3.5.13.2 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} +%define with_lirc 1 +%endif + +Name: trinity-%{tdecomp} +Summary: Comfortable Radio Application for KDE [Trinity] +Version: 0.1.1.1 +Release: 6%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tdeversion}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: trinity-arts-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: libsndfile-devel +%{?with_lirc:BuildRequires: lirc-devel} + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}twolame-devel +%endif +%if 0%{?suse_version} +BuildRequires: libtwolame-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: lame-devel +%endif + +Obsoletes: trinity-kradio < %{version}-%{release} +Provides: trinity-kradio = %{version}-%{release} + +%description +KRadio is a comfortable radio application for Trinity with support for +V4L and V4L2 radio cards drivers. + +KRadio currently provides + + * V4L/V4L2 radio support +%if 0%{?with_lirc} + * Remote control support (LIRC) +%endif + * Alarms, sleep Countdown + * Several GUI Controls (Docking Menu, Station Quickbar, Radio Display) + * Recording capabilities, including MP3 and Ogg/Vorbis encoding + * Timeshifter functionality + * Extendable plugin architecture + +This package also includes a growing collection of station preset +files for many cities around the world contributed by KRadio users. + +As KRadio is based on an extendable plugin architecture, contributions +of new plugins (e.g. Internet Radio Streams, new cool GUIs) are welcome. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-%{tdeversion}%{?preversion:~%{preversion}} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + %{?with_lirc:--enable-lirc} %{?!with_lirc:--disable-lirc} \ + --enable-v4l2 \ + --enable-lame \ + --enable-ogg \ + --enable-alsa \ + --enable-oss + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang kradio + +%clean +%__rm -rf %{buildroot} + + +%post +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +update-desktop-database %{tde_appdir} -q &> /dev/null ||: + +%postun +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${f} || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : +done +update-desktop-database %{tde_appdir} -q &> /dev/null ||: + + +%files -f kradio.lang +%defattr(-,root,root,-) +%{tde_bindir}/convert-presets +%{tde_bindir}/kradio +%{tde_libdir}/kradio/plugins/*.la +%{tde_libdir}/kradio/plugins/*.so +%{tde_tdeappdir}/kradio.desktop +%{tde_datadir}/apps/kradio/ +%{tde_datadir}/icons/hicolor/*/*/kradio*.png +%{tde_datadir}/icons/locolor/*/*/kradio*.png +%lang(de) %{tde_datadir}/locale/de/LC_MESSAGES/*.mo +%lang(ru) %{tde_datadir}/locale/ru/LC_MESSAGES/*.mo + +%changelog +* Mon Jun 03 2013 Francois Andriot - 0.1.1.1-6 +- Initial release for TDE 3.5.13.2 + +* Sat Dec 01 2012 Francois Andriot - 0.1.1.1-5 +- Updates presets + +* Wed Oct 03 2012 Francois Andriot - 0.1.1.1-4 +- Initial build for TDE 3.5.13.1 + +* Sun Jul 08 2012 Francois Andriot - 0.1.1.1-3 +- Rebuild for RHEL 5 +- Fix postinstall + +* Wed May 02 2012 Francois Andriot - 0.1.1.1-2 +- Rebuild for Fedora 17 +- Fix HTML directory location + +* Sat Nov 19 2011 Francois Andriot - 0.1.1.1-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tderadio/trinity-kradio-3.5.13.1.spec b/redhat/applications/tderadio/trinity-kradio-3.5.13.1.spec deleted file mode 100644 index cc5903e88..000000000 --- a/redhat/applications/tderadio/trinity-kradio-3.5.13.1.spec +++ /dev/null @@ -1,182 +0,0 @@ -# Default version for this component -%define kdecomp kradio - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Comfortable Radio Application for KDE [Trinity] -Version: 0.1.1.1 -Release: 5%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -Patch1: kradio-3.5.13.1-updated_preset.patch - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: libsndfile-devel -BuildRequires: lirc-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}twolame-devel -%endif -%if 0%{?suse_version} -BuildRequires: libtwolame-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: lame-devel -%endif - -%description -KRadio is a comfortable radio application for Trinity with support for -V4L and V4L2 radio cards drivers. - -KRadio currently provides - - * V4L/V4L2 radio support - * Remote control support (LIRC) - * Alarms, sleep Countdown - * Several GUI Controls (Docking Menu, Station Quickbar, Radio Display) - * Recording capabilities, including MP3 and Ogg/Vorbis encoding - * Timeshifter functionality - * Extendable plugin architecture - -This package also includes a growing collection of station preset -files for many cities around the world contributed by KRadio users. - -As KRadio is based on an extendable plugin architecture, contributions -of new plugins (e.g. Internet Radio Streams, new cool GUIs) are welcome. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 -%patch1 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-lirc \ - --enable-v4l2 \ - --enable-lame \ - --enable-ogg \ - --enable-alsa \ - --enable-oss - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -update-desktop-database %{tde_appdir} -q &> /dev/null ||: - -%postun -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -update-desktop-database %{tde_appdir} -q &> /dev/null ||: - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/convert-presets -%{tde_bindir}/kradio -%{tde_libdir}/kradio/plugins/*.la -%{tde_libdir}/kradio/plugins/*.so -%{tde_tdeappdir}/kradio.desktop -%{tde_datadir}/apps/kradio/ -%{tde_datadir}/locale/*/LC_MESSAGES/kradio-*.mo - -%changelog -* Sat Dec 01 2012 Francois Andriot - 0.1.1.1-5 -- Updates presets - -* Wed Oct 03 2012 Francois Andriot - 0.1.1.1-4 -- Initial build for TDE 3.5.13.1 - -* Sun Jul 08 2012 Francois Andriot - 0.1.1.1-3 -- Rebuild for RHEL 5 -- Fix postinstall - -* Wed May 02 2012 Francois Andriot - 0.1.1.1-2 -- Rebuild for Fedora 17 -- Fix HTML directory location - -* Sat Nov 19 2011 Francois Andriot - 0.1.1.1-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tderadio/trinity-kradio-3.5.13.spec b/redhat/applications/tderadio/trinity-kradio-3.5.13.spec deleted file mode 100644 index dfaedd47d..000000000 --- a/redhat/applications/tderadio/trinity-kradio-3.5.13.spec +++ /dev/null @@ -1,164 +0,0 @@ -# Default version for this component -%define kdecomp kradio - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Comfortable Radio Application for KDE [Trinity] -Version: 0.1.1.1 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: libsndfile-devel -BuildRequires: lirc-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}twolame-devel -%else -BuildRequires: lame-devel -%endif - -%description -KRadio is a comfortable radio application for Trinity with support for -V4L and V4L2 radio cards drivers. - -KRadio currently provides - - * V4L/V4L2 radio support - * Remote control support (LIRC) - * Alarms, sleep Countdown - * Several GUI Controls (Docking Menu, Station Quickbar, Radio Display) - * Recording capabilities, including MP3 and Ogg/Vorbis encoding - * Timeshifter functionality - * Extendable plugin architecture - -This package also includes a growing collection of station preset -files for many cities around the world contributed by KRadio users. - -As KRadio is based on an extendable plugin architecture, contributions -of new plugins (e.g. Internet Radio Streams, new cool GUIs) are welcome. - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-lirc \ - --enable-v4l2 \ - --enable-lame \ - --enable-ogg \ - --enable-alsa \ - --enable-oss - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - -%post -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -update-desktop-database %{tde_appdir} -q &> /dev/null ||: - -%postun -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -update-desktop-database %{tde_appdir} -q &> /dev/null ||: - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/convert-presets -%{tde_bindir}/kradio -%{tde_libdir}/kradio/plugins/*.la -%{tde_libdir}/kradio/plugins/*.so -%{tde_tdeappdir}/kradio.desktop -%{tde_datadir}/apps/kradio/ -%{tde_datadir}/locale/*/LC_MESSAGES/kradio-*.mo - -%Changelog -* Sun Jul 08 2012 Francois Andriot - 0.1.1.1-3 -- Rebuild for RHEL 5 -- Fix postinstall - -* Wed May 02 2012 Francois Andriot - 0.1.1.1-2 -- Rebuild for Fedora 17 -- Fix HTML directory location - -* Sat Nov 19 2011 Francois Andriot - 0.1.1.1-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tderadio/trinity-tderadio-3.5.13.2.spec b/redhat/applications/tderadio/trinity-tderadio-3.5.13.2.spec deleted file mode 100644 index 8f03de6d2..000000000 --- a/redhat/applications/tderadio/trinity-tderadio-3.5.13.2.spec +++ /dev/null @@ -1,196 +0,0 @@ -# Default version for this component -%define tdecomp tderadio -%define tdeversion 3.5.13.2 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -%define with_lirc 1 -%endif - -Name: trinity-%{tdecomp} -Summary: Comfortable Radio Application for KDE [Trinity] -Version: 0.1.1.1 -Release: 6%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tdeversion}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: trinity-arts-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: libsndfile-devel -%{?with_lirc:BuildRequires: lirc-devel} - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}twolame-devel -%endif -%if 0%{?suse_version} -BuildRequires: libtwolame-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: lame-devel -%endif - -Obsoletes: trinity-kradio < %{version}-%{release} -Provides: trinity-kradio = %{version}-%{release} - -%description -KRadio is a comfortable radio application for Trinity with support for -V4L and V4L2 radio cards drivers. - -KRadio currently provides - - * V4L/V4L2 radio support -%if 0%{?with_lirc} - * Remote control support (LIRC) -%endif - * Alarms, sleep Countdown - * Several GUI Controls (Docking Menu, Station Quickbar, Radio Display) - * Recording capabilities, including MP3 and Ogg/Vorbis encoding - * Timeshifter functionality - * Extendable plugin architecture - -This package also includes a growing collection of station preset -files for many cities around the world contributed by KRadio users. - -As KRadio is based on an extendable plugin architecture, contributions -of new plugins (e.g. Internet Radio Streams, new cool GUIs) are welcome. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tdeversion}%{?preversion:~%{preversion}} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - %{?with_lirc:--enable-lirc} %{?!with_lirc:--disable-lirc} \ - --enable-v4l2 \ - --enable-lame \ - --enable-ogg \ - --enable-alsa \ - --enable-oss - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang kradio - -%clean -%__rm -rf %{buildroot} - - -%post -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -update-desktop-database %{tde_appdir} -q &> /dev/null ||: - -%postun -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${f} || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || : -done -update-desktop-database %{tde_appdir} -q &> /dev/null ||: - - -%files -f kradio.lang -%defattr(-,root,root,-) -%{tde_bindir}/convert-presets -%{tde_bindir}/kradio -%{tde_libdir}/kradio/plugins/*.la -%{tde_libdir}/kradio/plugins/*.so -%{tde_tdeappdir}/kradio.desktop -%{tde_datadir}/apps/kradio/ -%{tde_datadir}/icons/hicolor/*/*/kradio*.png -%{tde_datadir}/icons/locolor/*/*/kradio*.png -%lang(de) %{tde_datadir}/locale/de/LC_MESSAGES/*.mo -%lang(ru) %{tde_datadir}/locale/ru/LC_MESSAGES/*.mo - -%changelog -* Mon Jun 03 2013 Francois Andriot - 0.1.1.1-6 -- Initial release for TDE 3.5.13.2 - -* Sat Dec 01 2012 Francois Andriot - 0.1.1.1-5 -- Updates presets - -* Wed Oct 03 2012 Francois Andriot - 0.1.1.1-4 -- Initial build for TDE 3.5.13.1 - -* Sun Jul 08 2012 Francois Andriot - 0.1.1.1-3 -- Rebuild for RHEL 5 -- Fix postinstall - -* Wed May 02 2012 Francois Andriot - 0.1.1.1-2 -- Rebuild for Fedora 17 -- Fix HTML directory location - -* Sat Nov 19 2011 Francois Andriot - 0.1.1.1-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tdesudo/kdesudo-3.5.13.1.spec b/redhat/applications/tdesudo/kdesudo-3.5.13.1.spec new file mode 100644 index 000000000..41d24ea5c --- /dev/null +++ b/redhat/applications/tdesudo/kdesudo-3.5.13.1.spec @@ -0,0 +1,139 @@ +# Default version for this component +%define kdecomp kdesudo + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: sudo frontend for Trinity + +Version: 2.5.1 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-arts-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils + + +%description +KdeSudo is a graphical frontend for the sudo utility. +It allows you to run programs as another user by entering your password. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; source /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + + +## File lists +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi +done +fi + +%find_lang %{kdecomp} + +%clean +%__rm -rf %{buildroot} + + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/kdesudo +%{tde_tdedocdir}/HTML/en/kdesudo/ + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 2.5.1-3 +- Initial build for TDE 3.5.13.1 + +* Tue May 01 2012 Francois Andriot - 2.5.1-2 +- Rebuilt for Fedora 17 +- Fix HTML directory location +- Removes post and postun + +* Wed Nov 02 2011 Francois Andriot - 2.5.1-1 +- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/applications/tdesudo/kdesudo-3.5.13.spec b/redhat/applications/tdesudo/kdesudo-3.5.13.spec new file mode 100644 index 000000000..da04bb7ef --- /dev/null +++ b/redhat/applications/tdesudo/kdesudo-3.5.13.spec @@ -0,0 +1,130 @@ +# Default version for this component +%define kdecomp kdesudo + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: sudo frontend for Trinity + +Version: 2.5.1 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-arts-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils + + +%description +KdeSudo is a graphical frontend for the sudo utility. +It allows you to run programs as another user by entering your password. + + +%prep +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; source /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + + +## File lists +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi +done +fi + +%find_lang %{kdecomp} + +%clean +%__rm -rf %{buildroot} + + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/kdesudo +%{tde_tdedocdir}/HTML/en/kdesudo/ + + +%Changelog +* Tue May 01 2012 Francois Andriot - 2.5.1-2 +- Rebuilt for Fedora 17 +- Fix HTML directory location +- Removes post and postun + +* Wed Nov 02 2011 Francois Andriot - 2.5.1-1 +- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/applications/tdesudo/tdesudo-3.5.13.2.spec b/redhat/applications/tdesudo/tdesudo-3.5.13.2.spec new file mode 100644 index 000000000..d1464f829 --- /dev/null +++ b/redhat/applications/tdesudo/tdesudo-3.5.13.2.spec @@ -0,0 +1,146 @@ +# Default version for this component +%define tdecomp tdesudo + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: sudo frontend for Trinity + +Version: 2.5.1 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-arts-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils + +Obsoletes: trinity-kdesudo < %{version}-%{release} +Provides: trinity-kdesudo = %{version}-%{release} + +Requires: sudo + +%description +TdeSudo is a graphical frontend for the sudo utility. +It allows you to run programs as another user by entering your password. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; source /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + + +## File lists +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi +done +fi + +%find_lang kdesudo + +%clean +%__rm -rf %{buildroot} + + + +%files -f kdesudo.lang +%defattr(-,root,root,-) +%{tde_bindir}/kdesudo +%{tde_tdedocdir}/HTML/en/kdesudo/ + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 2.5.1-4 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 2.5.1-3 +- Initial build for TDE 3.5.13.1 + +* Tue May 01 2012 Francois Andriot - 2.5.1-2 +- Rebuilt for Fedora 17 +- Fix HTML directory location +- Removes post and postun + +* Wed Nov 02 2011 Francois Andriot - 2.5.1-1 +- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/applications/tdesudo/trinity-kdesudo-3.5.13.1.spec b/redhat/applications/tdesudo/trinity-kdesudo-3.5.13.1.spec deleted file mode 100644 index 41d24ea5c..000000000 --- a/redhat/applications/tdesudo/trinity-kdesudo-3.5.13.1.spec +++ /dev/null @@ -1,139 +0,0 @@ -# Default version for this component -%define kdecomp kdesudo - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: sudo frontend for Trinity - -Version: 2.5.1 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-arts-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - - -%description -KdeSudo is a graphical frontend for the sudo utility. -It allows you to run programs as another user by entering your password. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; source /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/kdesudo -%{tde_tdedocdir}/HTML/en/kdesudo/ - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 2.5.1-3 -- Initial build for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 2.5.1-2 -- Rebuilt for Fedora 17 -- Fix HTML directory location -- Removes post and postun - -* Wed Nov 02 2011 Francois Andriot - 2.5.1-1 -- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/applications/tdesudo/trinity-kdesudo-3.5.13.spec b/redhat/applications/tdesudo/trinity-kdesudo-3.5.13.spec deleted file mode 100644 index da04bb7ef..000000000 --- a/redhat/applications/tdesudo/trinity-kdesudo-3.5.13.spec +++ /dev/null @@ -1,130 +0,0 @@ -# Default version for this component -%define kdecomp kdesudo - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: sudo frontend for Trinity - -Version: 2.5.1 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-arts-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils - - -%description -KdeSudo is a graphical frontend for the sudo utility. -It allows you to run programs as another user by entering your password. - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; source /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - -%find_lang %{kdecomp} - -%clean -%__rm -rf %{buildroot} - - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/kdesudo -%{tde_tdedocdir}/HTML/en/kdesudo/ - - -%Changelog -* Tue May 01 2012 Francois Andriot - 2.5.1-2 -- Rebuilt for Fedora 17 -- Fix HTML directory location -- Removes post and postun - -* Wed Nov 02 2011 Francois Andriot - 2.5.1-1 -- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/applications/tdesudo/trinity-tdesudo-3.5.13.2.spec b/redhat/applications/tdesudo/trinity-tdesudo-3.5.13.2.spec deleted file mode 100644 index d1464f829..000000000 --- a/redhat/applications/tdesudo/trinity-tdesudo-3.5.13.2.spec +++ /dev/null @@ -1,146 +0,0 @@ -# Default version for this component -%define tdecomp tdesudo - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: sudo frontend for Trinity - -Version: 2.5.1 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-arts-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils - -Obsoletes: trinity-kdesudo < %{version}-%{release} -Provides: trinity-kdesudo = %{version}-%{release} - -Requires: sudo - -%description -TdeSudo is a graphical frontend for the sudo utility. -It allows you to run programs as another user by entering your password. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; source /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - -%find_lang kdesudo - -%clean -%__rm -rf %{buildroot} - - - -%files -f kdesudo.lang -%defattr(-,root,root,-) -%{tde_bindir}/kdesudo -%{tde_tdedocdir}/HTML/en/kdesudo/ - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 2.5.1-4 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 2.5.1-3 -- Initial build for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 2.5.1-2 -- Rebuilt for Fedora 17 -- Fix HTML directory location -- Removes post and postun - -* Wed Nov 02 2011 Francois Andriot - 2.5.1-1 -- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/applications/tdesvn/kdesvn-3.5.13.1.spec b/redhat/applications/tdesvn/kdesvn-3.5.13.1.spec new file mode 100644 index 000000000..c4b49483f --- /dev/null +++ b/redhat/applications/tdesvn/kdesvn-3.5.13.1.spec @@ -0,0 +1,287 @@ +# Default version for this component +%define kdecomp kdesvn + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: subversion client with tight KDE integration [Trinity] +Version: 1.0.4 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.elliptique.net/~ken/kima/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +# [kdesvn] Fix "not a string literal" error +Patch2: kdesvn-3.5.13-fix_not_a_string_literal_error.patch + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: subversion-devel +Requires: trinity-kdesvn-kio-plugins = %{version}-%{release} + + +%description +KDESvn is a graphical client for the subversion revision control +system (svn). + +Besides offering common and advanced svn operations, it features +a tight integration into KDE and can be embedded into other KDE +applications like konqueror via the KDE component technology KParts. + + +%package -n trinity-libsvnqt +Group: Development/Libraries +Summary: Qt wrapper library for subversion [Trinity] + +%description -n trinity-libsvnqt +This package provides svnqt, a Qt wrapper library around the +subversion library. + +It is based on the RapidSvn SvnCpp library, a subversion client API +written in C++. + +%package -n trinity-libsvnqt-devel +Group: Development/Libraries +Requires: trinity-libsvnqt = %{version}-%{release} +Requires: qt-devel +Requires: subversion-devel +Summary: Qt wrapper library for subversion (development files) [Trinity] + +%description -n trinity-libsvnqt-devel +This package contains the header files and symbolic links that developers +using svnqt will need. + + +%package kio-plugins +Group: Development/Libraries +Conflicts: trinity-kdesdk-kio-plugins +Summary: subversion I/O slaves for Trinity + +%description kio-plugins +This packages includes KIO slaves for svn, svn+file, svn+http, +svn+https, svn+ssh. This allows you to access subversion repositories +inside any KIO enabled KDE application. + +This package is part of tdesvn-trinity. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 +%patch2 -p1 -b .stringliteral + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +find . -name CMakeLists.txt -exec %__sed -i {} \ + -e "s,/usr/include/tqt,%{tde_includedir}/tqt,g" \ + -e "s,/usr/bin/tmoc,%{tde_bindir}/tmoc,g" \ + -e "s,/usr/bin/uic-tqt,%{tde_bindir}/uic-tqt,g" \ + \; + +# More ugly hack to add TQT include directory in CMakeLists.txt +%__sed -i CMakeLists.txt \ + -e "s,^\(INCLUDE_DIRECTORIES (\)$,\1\n%{tde_includedir}/tqt," + +# Moves HTML files to the correect location +find . -name "*.cmake" -exec %__sed -i {} \ + -e "s,/doc/HTML,/doc/kde/HTML,g" \ + \; + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${QTDIR}/bin:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +export CMAKE_INCLUDE_PATH="%{tde_tdeincludedir}" + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_includedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DMAN_INSTALL_DIR=%{tde_mandir}/man1 \ + -DDATA_INSTALL_DIR=%{tde_datadir} \ + -DPKGCONFIG_INSTALL_DIR=%{tde_tdelibdir}/pkgconfig \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + .. + +# SMP safe ! +%__make %{?_smp_mflags} + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + + +%find_lang %{kdecomp} || touch %{kdecomp}.lang + +# Installs SVN protocols as alternatives +%__mv -f %{?buildroot}%{tde_datadir}/services/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol_tdesvn +%__mv -f %{?buildroot}%{tde_datadir}/services/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol_tdesvn +%__mv -f %{?buildroot}%{tde_datadir}/services/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol_tdesvn +%__mv -f %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol_tdesvn +%__mv -f %{?buildroot}%{tde_datadir}/services/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol_tdesvn +%__ln_s /etc/alternatives/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol +%__ln_s /etc/alternatives/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol +%__ln_s /etc/alternatives/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol +%__ln_s /etc/alternatives/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol +%__ln_s /etc/alternatives/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + +%postun +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + +%post -n trinity-libsvnqt +/sbin/ldconfig || : + +%post kio-plugins +for proto in svn+file svn+http svn+https svn+ssh svn; do +%if 0%{?suse_version} + update-alternatives --install \ +%else + alternatives --install \ +%endif + %{tde_datadir}/services/${proto}.protocol \ + ${proto}.protocol \ + %{tde_datadir}/services/${proto}.protocol_tdesvn \ + 20 +done + +%preun kio-plugins +if [ $1 -eq 0 ]; then + for proto in svn+file svn+http svn+https svn+ssh svn; do +%if 0%{?suse_version} + update-alternatives --remove \ +%else + alternatives --remove \ +%endif + ${proto}.protocol \ + %{tde_datadir}/services/${proto}.protocol_tdesvn + done +fi + + + +%postun -n trinity-libsvnqt +/sbin/ldconfig || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{tde_bindir}/kdesvn +%{tde_bindir}/kdesvnaskpass +%{tde_tdelibdir}/libkdesvnpart.la +%{tde_tdelibdir}/libkdesvnpart.so +%{tde_datadir}/applications/kde/kdesvn.desktop +%{tde_datadir}/apps/kconf_update/kdesvn-use-external-update.sh +%{tde_datadir}/apps/kconf_update/kdesvnpartrc-use-external.upd +%{tde_datadir}/apps/kdesvn/kdesvnui.rc +%{tde_datadir}/apps/kdesvnpart/kdesvn_part.rc +%{tde_datadir}/apps/konqueror/servicemenus/kdesvn_subversion.desktop +%{tde_datadir}/config.kcfg/kdesvn_part.kcfg +%{tde_datadir}/icons/hicolor/*/*/*.png +%{tde_datadir}/icons/hicolor/*/*/*.svgz +%{tde_mandir}/man1/kdesvn.1 +%{tde_mandir}/man1/kdesvnaskpass.1 +%{tde_tdedocdir}/HTML/*/ + +%files -n trinity-libsvnqt +%{tde_libdir}/libsvnqt.so.4 +%{tde_libdir}/libsvnqt.so.4.2.2 + +%files -n trinity-libsvnqt-devel +%{tde_includedir}/svnqt +%{tde_libdir}/libsvnqt.so + +%files kio-plugins +%{tde_datadir}/services/kded/kdesvnd.desktop +%{tde_datadir}/services/ksvn+file.protocol +%{tde_datadir}/services/ksvn+http.protocol +%{tde_datadir}/services/ksvn+https.protocol +%{tde_datadir}/services/ksvn+ssh.protocol +%{tde_datadir}/services/ksvn.protocol +%{tde_datadir}/services/svn+file.protocol +%{tde_datadir}/services/svn+http.protocol +%{tde_datadir}/services/svn+https.protocol +%{tde_datadir}/services/svn+ssh.protocol +%{tde_datadir}/services/svn.protocol +%{tde_datadir}/services/svn+file.protocol_tdesvn +%{tde_datadir}/services/svn+http.protocol_tdesvn +%{tde_datadir}/services/svn+https.protocol_tdesvn +%{tde_datadir}/services/svn+ssh.protocol_tdesvn +%{tde_datadir}/services/svn.protocol_tdesvn +%{tde_tdelibdir}/kio_ksvn.la +%{tde_tdelibdir}/kio_ksvn.so +%{tde_tdelibdir}/kded_kdesvnd.la +%{tde_tdelibdir}/kded_kdesvnd.so + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 1.0.4-4 +- Initial build for TDE 3.5.13.1 + +* Mon Jul 30 2012 Francois Andriot - 1.0.4-3 +- Installs SVN protocols as alternative, avoids conlict with TDESDK + +* Tue May 01 2012 Francois Andriot - 1.0.4-2 +- Rebuilt for Fedora 17 +- Fix post and postun +- Fix compilation with GCC 4.7 + +* Thu Dec 01 2011 Francois Andriot - 1.0.4-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tdesvn/kdesvn-3.5.13.spec b/redhat/applications/tdesvn/kdesvn-3.5.13.spec new file mode 100644 index 000000000..ce67e8923 --- /dev/null +++ b/redhat/applications/tdesvn/kdesvn-3.5.13.spec @@ -0,0 +1,274 @@ +# Default version for this component +%define kdecomp kdesvn + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: subversion client with tight KDE integration [Trinity] +Version: 1.0.4 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.elliptique.net/~ken/kima/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +# [kdesvn] Fix compilation with GCC 4.7 +Patch1: kdesvn-3.5.13-fix_gcc47_compilation.patch +# [kdesvn] Fix "not a string literal" error +Patch2: kdesvn-3.5.13-fix_not_a_string_literal_error.patch + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: subversion-devel +Requires: trinity-kdesvn-kio-plugins = %{version}-%{release} + + +%description +KDESvn is a graphical client for the subversion revision control +system (svn). + +Besides offering common and advanced svn operations, it features +a tight integration into KDE and can be embedded into other KDE +applications like konqueror via the KDE component technology KParts. + + +%package -n trinity-libsvnqt +Group: Development/Libraries +Summary: Qt wrapper library for subversion [Trinity] + +%description -n trinity-libsvnqt +This package provides svnqt, a Qt wrapper library around the +subversion library. + +It is based on the RapidSvn SvnCpp library, a subversion client API +written in C++. + +%package -n trinity-libsvnqt-devel +Group: Development/Libraries +Requires: trinity-libsvnqt = %{version}-%{release} +Requires: qt-devel +Requires: subversion-devel +Summary: Qt wrapper library for subversion (development files) [Trinity] + +%description -n trinity-libsvnqt-devel +This package contains the header files and symbolic links that developers +using svnqt will need. + + +%package kio-plugins +Group: Development/Libraries +Conflicts: trinity-kdesdk-kio-plugins +Summary: subversion I/O slaves for Trinity + +%description kio-plugins +This packages includes KIO slaves for svn, svn+file, svn+http, +svn+https, svn+ssh. This allows you to access subversion repositories +inside any KIO enabled KDE application. + +This package is part of tdesvn-trinity. + + +%prep +%setup -q -n applications/%{kdecomp} +%patch1 -p1 +%patch2 -p1 -b .stringliteral + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +find . -name CMakeLists.txt -exec %__sed -i {} \ + -e "s,/usr/include/tqt,%{tde_includedir}/tqt,g" \ + -e "s,/usr/bin/tmoc,%{tde_bindir}/tmoc,g" \ + -e "s,/usr/bin/uic-tqt,%{tde_bindir}/uic-tqt,g" \ + \; + +# More ugly hack to add TQT include directory in CMakeLists.txt +%__sed -i CMakeLists.txt \ + -e "s,^\(INCLUDE_DIRECTORIES (\)$,\1\n%{tde_includedir}/tqt," + +# Moves HTML files to the correect location +find . -name "*.cmake" -exec %__sed -i {} \ + -e "s,/doc/HTML,/doc/kde/HTML,g" \ + \; + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${QTDIR}/bin:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +export CMAKE_INCLUDE_PATH="%{tde_tdeincludedir}" + +%if 0%{?rhel} || 0%{?fedora} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_includedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DMAN_INSTALL_DIR=%{tde_mandir}/man1 \ + -DDATA_INSTALL_DIR=%{tde_datadir} \ + -DPKGCONFIG_INSTALL_DIR=%{tde_tdelibdir}/pkgconfig \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + .. + +# SMP safe ! +%__make %{?_smp_mflags} + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + + +%find_lang %{kdecomp} || touch %{kdecomp}.lang + +# Installs SVN protocols as alternatives +%__mv -f %{?buildroot}%{tde_datadir}/services/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol_tdesvn +%__mv -f %{?buildroot}%{tde_datadir}/services/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol_tdesvn +%__mv -f %{?buildroot}%{tde_datadir}/services/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol_tdesvn +%__mv -f %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol_tdesvn +%__mv -f %{?buildroot}%{tde_datadir}/services/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol_tdesvn +%__ln_s /etc/alternatives/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol +%__ln_s /etc/alternatives/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol +%__ln_s /etc/alternatives/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol +%__ln_s /etc/alternatives/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol +%__ln_s /etc/alternatives/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + +%postun +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + +%post -n trinity-libsvnqt +/sbin/ldconfig || : + +%post kio-plugins +for proto in svn+file svn+http svn+https svn+ssh svn; do + alternatives --install \ + %{tde_datadir}/services/${proto}.protocol \ + ${proto}.protocol \ + %{tde_datadir}/services/${proto}.protocol_tdesvn \ + 20 +done + +%preun kio-plugins +if [ $1 -eq 0 ]; then + for proto in svn+file svn+http svn+https svn+ssh svn; do + alternatives --remove \ + ${proto}.protocol \ + %{tde_datadir}/services/${proto}.protocol_tdesvn + done +fi + + + +%postun -n trinity-libsvnqt +/sbin/ldconfig || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{tde_bindir}/kdesvn +%{tde_bindir}/kdesvnaskpass +%{tde_tdelibdir}/libkdesvnpart.la +%{tde_tdelibdir}/libkdesvnpart.so +%{tde_datadir}/applications/kde/kdesvn.desktop +%{tde_datadir}/apps/kconf_update/kdesvn-use-external-update.sh +%{tde_datadir}/apps/kconf_update/kdesvnpartrc-use-external.upd +%{tde_datadir}/apps/kdesvn/kdesvnui.rc +%{tde_datadir}/apps/kdesvnpart/kdesvn_part.rc +%{tde_datadir}/apps/konqueror/servicemenus/kdesvn_subversion.desktop +%{tde_datadir}/config.kcfg/kdesvn_part.kcfg +%{tde_datadir}/icons/hicolor/*/*/*.png +%{tde_datadir}/icons/hicolor/*/*/*.svgz +%{tde_mandir}/man1/kdesvn.1 +%{tde_mandir}/man1/kdesvnaskpass.1 +%{tde_tdedocdir}/HTML/*/ + +%files -n trinity-libsvnqt +%{tde_libdir}/libsvnqt.so.4 +%{tde_libdir}/libsvnqt.so.4.2.2 + +%files -n trinity-libsvnqt-devel +%{tde_includedir}/svnqt +%{tde_libdir}/libsvnqt.so + +%files kio-plugins +%{tde_datadir}/services/kded/kdesvnd.desktop +%{tde_datadir}/services/ksvn+file.protocol +%{tde_datadir}/services/ksvn+http.protocol +%{tde_datadir}/services/ksvn+https.protocol +%{tde_datadir}/services/ksvn+ssh.protocol +%{tde_datadir}/services/ksvn.protocol +%{tde_datadir}/services/svn+file.protocol +%{tde_datadir}/services/svn+http.protocol +%{tde_datadir}/services/svn+https.protocol +%{tde_datadir}/services/svn+ssh.protocol +%{tde_datadir}/services/svn.protocol +%{tde_datadir}/services/svn+file.protocol_tdesvn +%{tde_datadir}/services/svn+http.protocol_tdesvn +%{tde_datadir}/services/svn+https.protocol_tdesvn +%{tde_datadir}/services/svn+ssh.protocol_tdesvn +%{tde_datadir}/services/svn.protocol_tdesvn +%{tde_tdelibdir}/kio_ksvn.la +%{tde_tdelibdir}/kio_ksvn.so +%{tde_tdelibdir}/kded_kdesvnd.la +%{tde_tdelibdir}/kded_kdesvnd.so + + +%Changelog +* Mon Jul 30 2012 Francois Andriot - 1.0.4-3 +- Installs SVN protocols as alternative, avoids conlict with TDESDK + +* Tue May 01 2012 Francois Andriot - 1.0.4-2 +- Rebuilt for Fedora 17 +- Fix post and postun +- Fix compilation with GCC 4.7 + +* Thu Dec 01 2011 Francois Andriot - 1.0.4-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tdesvn/tdesvn-3.5.13.2.spec b/redhat/applications/tdesvn/tdesvn-3.5.13.2.spec new file mode 100644 index 000000000..9f467d5d9 --- /dev/null +++ b/redhat/applications/tdesvn/tdesvn-3.5.13.2.spec @@ -0,0 +1,289 @@ +# Default version for this component +%define tdecomp tdesvn + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: subversion client with tight KDE integration [Trinity] +Version: 1.0.4 +Release: 5%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.elliptique.net/~ken/kima/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: subversion-devel +Requires: %{name}-tdeio-plugins = %{version}-%{release} + +Obsoletes: trinity-kdesvn < %{version}-%{release} +Provides: trinity-kdesvn = %{version}-%{release} + +%description +TDESvn is a graphical client for the subversion revision control +system (svn). + +Besides offering common and advanced svn operations, it features +a tight integration into KDE and can be embedded into other KDE +applications like konqueror via the KDE component technology KParts. + + +%package -n trinity-libsvnqt +Group: Development/Libraries +Summary: Qt wrapper library for subversion [Trinity] + +%description -n trinity-libsvnqt +This package provides svnqt, a Qt wrapper library around the +subversion library. + +It is based on the RapidSvn SvnCpp library, a subversion client API +written in C++. + +%package -n trinity-libsvnqt-devel +Group: Development/Libraries +Requires: trinity-libsvnqt = %{version}-%{release} +Requires: qt-devel +Requires: subversion-devel +Summary: Qt wrapper library for subversion (development files) [Trinity] + +%description -n trinity-libsvnqt-devel +This package contains the header files and symbolic links that developers +using svnqt will need. + + +%package tdeio-plugins +Group: Development/Libraries +Conflicts: trinity-kdesdk-tdeio-plugins +Summary: subversion I/O slaves for Trinity + +Obsoletes: trinity-kdesvn-kio-plugins < %{version}-%{release} +Provides: trinity-kdesvn-kio-plugins = %{version}-%{release} +Obsoletes: trinity-tdesvn-kio-plugins < %{version}-%{release} +Provides: trinity-tdesvn-kio-plugins = %{version}-%{release} + +%description tdeio-plugins +This packages includes KIO slaves for svn, svn+file, svn+http, +svn+https, svn+ssh. This allows you to access subversion repositories +inside any KIO enabled TDE application. + +This package is part of tdesvn-trinity. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +find . -name CMakeLists.txt -exec %__sed -i {} \ + -e "s,/usr/include/tqt,%{tde_includedir}/tqt,g" \ + -e "s,/usr/bin/tmoc,%{tde_bindir}/tmoc,g" \ + -e "s,/usr/bin/uic-tqt,%{tde_bindir}/uic-tqt,g" \ + \; + +# More ugly hack to add TQT include directory in CMakeLists.txt +%__sed -i CMakeLists.txt \ + -e "s,^\(INCLUDE_DIRECTORIES (\)$,\1\n%{tde_includedir}/tqt," + +# Moves HTML files to the correect location +find . -name "*.cmake" -exec %__sed -i {} \ + -e "s,/doc/HTML,/doc/tde/HTML,g" \ + \; + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${QTDIR}/bin:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +export CMAKE_INCLUDE_PATH="%{tde_tdeincludedir}" + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_includedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DMAN_INSTALL_DIR=%{tde_mandir}/man1 \ + -DDATA_INSTALL_DIR=%{tde_datadir} \ + -DPKGCONFIG_INSTALL_DIR=%{tde_tdelibdir}/pkgconfig \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + .. + +# SMP safe ! +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + + +%find_lang kdesvn + +# Installs SVN protocols as alternatives +%__mv -f %{?buildroot}%{tde_datadir}/services/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol_tdesvn +%__mv -f %{?buildroot}%{tde_datadir}/services/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol_tdesvn +%__mv -f %{?buildroot}%{tde_datadir}/services/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol_tdesvn +%__mv -f %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol_tdesvn +%__mv -f %{?buildroot}%{tde_datadir}/services/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol_tdesvn +%__ln_s /etc/alternatives/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol +%__ln_s /etc/alternatives/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol +%__ln_s /etc/alternatives/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol +%__ln_s /etc/alternatives/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol +%__ln_s /etc/alternatives/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%post -n trinity-libsvnqt +/sbin/ldconfig || : + +%post tdeio-plugins +for proto in svn+file svn+http svn+https svn+ssh svn; do + update-alternatives --install \ + %{tde_datadir}/services/${proto}.protocol \ + ${proto}.protocol \ + %{tde_datadir}/services/${proto}.protocol_tdesvn \ + 20 +done + +%preun tdeio-plugins +if [ $1 -eq 0 ]; then + for proto in svn+file svn+http svn+https svn+ssh svn; do + update-alternatives --remove \ + ${proto}.protocol \ + %{tde_datadir}/services/${proto}.protocol_tdesvn + done +fi + + + +%postun -n trinity-libsvnqt +/sbin/ldconfig || : + + +%files -f kdesvn.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{tde_bindir}/kdesvn +%{tde_bindir}/kdesvnaskpass +%{tde_tdelibdir}/libkdesvnpart.la +%{tde_tdelibdir}/libkdesvnpart.so +%{tde_datadir}/applications/kde/kdesvn.desktop +%{tde_datadir}/apps/kconf_update/kdesvn-use-external-update.sh +%{tde_datadir}/apps/kconf_update/kdesvnpartrc-use-external.upd +%{tde_datadir}/apps/kdesvn/kdesvnui.rc +%{tde_datadir}/apps/kdesvnpart/kdesvn_part.rc +%{tde_datadir}/apps/konqueror/servicemenus/kdesvn_subversion.desktop +%{tde_datadir}/config.kcfg/kdesvn_part.kcfg +%{tde_datadir}/icons/hicolor/*/*/*.png +%{tde_datadir}/icons/hicolor/*/*/*.svgz +%{tde_mandir}/man1/kdesvn.1 +%{tde_mandir}/man1/kdesvnaskpass.1 +%{tde_tdedocdir}/HTML/*/ + +%files -n trinity-libsvnqt +%defattr(-,root,root,-) +%{tde_libdir}/libsvnqt.so.4 +%{tde_libdir}/libsvnqt.so.4.2.2 + +%files -n trinity-libsvnqt-devel +%defattr(-,root,root,-) +%{tde_includedir}/svnqt +%{tde_libdir}/libsvnqt.so + +%files tdeio-plugins +%defattr(-,root,root,-) +%{tde_datadir}/services/kded/kdesvnd.desktop +%{tde_datadir}/services/ksvn+file.protocol +%{tde_datadir}/services/ksvn+http.protocol +%{tde_datadir}/services/ksvn+https.protocol +%{tde_datadir}/services/ksvn+ssh.protocol +%{tde_datadir}/services/ksvn.protocol +%{tde_datadir}/services/svn+file.protocol +%{tde_datadir}/services/svn+http.protocol +%{tde_datadir}/services/svn+https.protocol +%{tde_datadir}/services/svn+ssh.protocol +%{tde_datadir}/services/svn.protocol +%{tde_datadir}/services/svn+file.protocol_tdesvn +%{tde_datadir}/services/svn+http.protocol_tdesvn +%{tde_datadir}/services/svn+https.protocol_tdesvn +%{tde_datadir}/services/svn+ssh.protocol_tdesvn +%{tde_datadir}/services/svn.protocol_tdesvn +%{tde_tdelibdir}/kio_ksvn.la +%{tde_tdelibdir}/kio_ksvn.so +%{tde_tdelibdir}/kded_kdesvnd.la +%{tde_tdelibdir}/kded_kdesvnd.so + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 1.0.4-5 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 1.0.4-4 +- Initial build for TDE 3.5.13.1 + +* Mon Jul 30 2012 Francois Andriot - 1.0.4-3 +- Installs SVN protocols as alternative, avoids conlict with TDESDK + +* Tue May 01 2012 Francois Andriot - 1.0.4-2 +- Rebuilt for Fedora 17 +- Fix post and postun +- Fix compilation with GCC 4.7 + +* Thu Dec 01 2011 Francois Andriot - 1.0.4-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tdesvn/trinity-kdesvn-3.5.13.1.spec b/redhat/applications/tdesvn/trinity-kdesvn-3.5.13.1.spec deleted file mode 100644 index c4b49483f..000000000 --- a/redhat/applications/tdesvn/trinity-kdesvn-3.5.13.1.spec +++ /dev/null @@ -1,287 +0,0 @@ -# Default version for this component -%define kdecomp kdesvn - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: subversion client with tight KDE integration [Trinity] -Version: 1.0.4 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.elliptique.net/~ken/kima/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -# [kdesvn] Fix "not a string literal" error -Patch2: kdesvn-3.5.13-fix_not_a_string_literal_error.patch - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: subversion-devel -Requires: trinity-kdesvn-kio-plugins = %{version}-%{release} - - -%description -KDESvn is a graphical client for the subversion revision control -system (svn). - -Besides offering common and advanced svn operations, it features -a tight integration into KDE and can be embedded into other KDE -applications like konqueror via the KDE component technology KParts. - - -%package -n trinity-libsvnqt -Group: Development/Libraries -Summary: Qt wrapper library for subversion [Trinity] - -%description -n trinity-libsvnqt -This package provides svnqt, a Qt wrapper library around the -subversion library. - -It is based on the RapidSvn SvnCpp library, a subversion client API -written in C++. - -%package -n trinity-libsvnqt-devel -Group: Development/Libraries -Requires: trinity-libsvnqt = %{version}-%{release} -Requires: qt-devel -Requires: subversion-devel -Summary: Qt wrapper library for subversion (development files) [Trinity] - -%description -n trinity-libsvnqt-devel -This package contains the header files and symbolic links that developers -using svnqt will need. - - -%package kio-plugins -Group: Development/Libraries -Conflicts: trinity-kdesdk-kio-plugins -Summary: subversion I/O slaves for Trinity - -%description kio-plugins -This packages includes KIO slaves for svn, svn+file, svn+http, -svn+https, svn+ssh. This allows you to access subversion repositories -inside any KIO enabled KDE application. - -This package is part of tdesvn-trinity. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 -%patch2 -p1 -b .stringliteral - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -find . -name CMakeLists.txt -exec %__sed -i {} \ - -e "s,/usr/include/tqt,%{tde_includedir}/tqt,g" \ - -e "s,/usr/bin/tmoc,%{tde_bindir}/tmoc,g" \ - -e "s,/usr/bin/uic-tqt,%{tde_bindir}/uic-tqt,g" \ - \; - -# More ugly hack to add TQT include directory in CMakeLists.txt -%__sed -i CMakeLists.txt \ - -e "s,^\(INCLUDE_DIRECTORIES (\)$,\1\n%{tde_includedir}/tqt," - -# Moves HTML files to the correect location -find . -name "*.cmake" -exec %__sed -i {} \ - -e "s,/doc/HTML,/doc/kde/HTML,g" \ - \; - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${QTDIR}/bin:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -export CMAKE_INCLUDE_PATH="%{tde_tdeincludedir}" - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_includedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DMAN_INSTALL_DIR=%{tde_mandir}/man1 \ - -DDATA_INSTALL_DIR=%{tde_datadir} \ - -DPKGCONFIG_INSTALL_DIR=%{tde_tdelibdir}/pkgconfig \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - .. - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - - -%find_lang %{kdecomp} || touch %{kdecomp}.lang - -# Installs SVN protocols as alternatives -%__mv -f %{?buildroot}%{tde_datadir}/services/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol_tdesvn -%__mv -f %{?buildroot}%{tde_datadir}/services/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol_tdesvn -%__mv -f %{?buildroot}%{tde_datadir}/services/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol_tdesvn -%__mv -f %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol_tdesvn -%__mv -f %{?buildroot}%{tde_datadir}/services/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol_tdesvn -%__ln_s /etc/alternatives/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol -%__ln_s /etc/alternatives/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol -%__ln_s /etc/alternatives/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol -%__ln_s /etc/alternatives/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol -%__ln_s /etc/alternatives/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : - -%postun -touch --no-create %{_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : - -%post -n trinity-libsvnqt -/sbin/ldconfig || : - -%post kio-plugins -for proto in svn+file svn+http svn+https svn+ssh svn; do -%if 0%{?suse_version} - update-alternatives --install \ -%else - alternatives --install \ -%endif - %{tde_datadir}/services/${proto}.protocol \ - ${proto}.protocol \ - %{tde_datadir}/services/${proto}.protocol_tdesvn \ - 20 -done - -%preun kio-plugins -if [ $1 -eq 0 ]; then - for proto in svn+file svn+http svn+https svn+ssh svn; do -%if 0%{?suse_version} - update-alternatives --remove \ -%else - alternatives --remove \ -%endif - ${proto}.protocol \ - %{tde_datadir}/services/${proto}.protocol_tdesvn - done -fi - - - -%postun -n trinity-libsvnqt -/sbin/ldconfig || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_bindir}/kdesvn -%{tde_bindir}/kdesvnaskpass -%{tde_tdelibdir}/libkdesvnpart.la -%{tde_tdelibdir}/libkdesvnpart.so -%{tde_datadir}/applications/kde/kdesvn.desktop -%{tde_datadir}/apps/kconf_update/kdesvn-use-external-update.sh -%{tde_datadir}/apps/kconf_update/kdesvnpartrc-use-external.upd -%{tde_datadir}/apps/kdesvn/kdesvnui.rc -%{tde_datadir}/apps/kdesvnpart/kdesvn_part.rc -%{tde_datadir}/apps/konqueror/servicemenus/kdesvn_subversion.desktop -%{tde_datadir}/config.kcfg/kdesvn_part.kcfg -%{tde_datadir}/icons/hicolor/*/*/*.png -%{tde_datadir}/icons/hicolor/*/*/*.svgz -%{tde_mandir}/man1/kdesvn.1 -%{tde_mandir}/man1/kdesvnaskpass.1 -%{tde_tdedocdir}/HTML/*/ - -%files -n trinity-libsvnqt -%{tde_libdir}/libsvnqt.so.4 -%{tde_libdir}/libsvnqt.so.4.2.2 - -%files -n trinity-libsvnqt-devel -%{tde_includedir}/svnqt -%{tde_libdir}/libsvnqt.so - -%files kio-plugins -%{tde_datadir}/services/kded/kdesvnd.desktop -%{tde_datadir}/services/ksvn+file.protocol -%{tde_datadir}/services/ksvn+http.protocol -%{tde_datadir}/services/ksvn+https.protocol -%{tde_datadir}/services/ksvn+ssh.protocol -%{tde_datadir}/services/ksvn.protocol -%{tde_datadir}/services/svn+file.protocol -%{tde_datadir}/services/svn+http.protocol -%{tde_datadir}/services/svn+https.protocol -%{tde_datadir}/services/svn+ssh.protocol -%{tde_datadir}/services/svn.protocol -%{tde_datadir}/services/svn+file.protocol_tdesvn -%{tde_datadir}/services/svn+http.protocol_tdesvn -%{tde_datadir}/services/svn+https.protocol_tdesvn -%{tde_datadir}/services/svn+ssh.protocol_tdesvn -%{tde_datadir}/services/svn.protocol_tdesvn -%{tde_tdelibdir}/kio_ksvn.la -%{tde_tdelibdir}/kio_ksvn.so -%{tde_tdelibdir}/kded_kdesvnd.la -%{tde_tdelibdir}/kded_kdesvnd.so - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 1.0.4-4 -- Initial build for TDE 3.5.13.1 - -* Mon Jul 30 2012 Francois Andriot - 1.0.4-3 -- Installs SVN protocols as alternative, avoids conlict with TDESDK - -* Tue May 01 2012 Francois Andriot - 1.0.4-2 -- Rebuilt for Fedora 17 -- Fix post and postun -- Fix compilation with GCC 4.7 - -* Thu Dec 01 2011 Francois Andriot - 1.0.4-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tdesvn/trinity-kdesvn-3.5.13.spec b/redhat/applications/tdesvn/trinity-kdesvn-3.5.13.spec deleted file mode 100644 index ce67e8923..000000000 --- a/redhat/applications/tdesvn/trinity-kdesvn-3.5.13.spec +++ /dev/null @@ -1,274 +0,0 @@ -# Default version for this component -%define kdecomp kdesvn - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: subversion client with tight KDE integration [Trinity] -Version: 1.0.4 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.elliptique.net/~ken/kima/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -# [kdesvn] Fix compilation with GCC 4.7 -Patch1: kdesvn-3.5.13-fix_gcc47_compilation.patch -# [kdesvn] Fix "not a string literal" error -Patch2: kdesvn-3.5.13-fix_not_a_string_literal_error.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: subversion-devel -Requires: trinity-kdesvn-kio-plugins = %{version}-%{release} - - -%description -KDESvn is a graphical client for the subversion revision control -system (svn). - -Besides offering common and advanced svn operations, it features -a tight integration into KDE and can be embedded into other KDE -applications like konqueror via the KDE component technology KParts. - - -%package -n trinity-libsvnqt -Group: Development/Libraries -Summary: Qt wrapper library for subversion [Trinity] - -%description -n trinity-libsvnqt -This package provides svnqt, a Qt wrapper library around the -subversion library. - -It is based on the RapidSvn SvnCpp library, a subversion client API -written in C++. - -%package -n trinity-libsvnqt-devel -Group: Development/Libraries -Requires: trinity-libsvnqt = %{version}-%{release} -Requires: qt-devel -Requires: subversion-devel -Summary: Qt wrapper library for subversion (development files) [Trinity] - -%description -n trinity-libsvnqt-devel -This package contains the header files and symbolic links that developers -using svnqt will need. - - -%package kio-plugins -Group: Development/Libraries -Conflicts: trinity-kdesdk-kio-plugins -Summary: subversion I/O slaves for Trinity - -%description kio-plugins -This packages includes KIO slaves for svn, svn+file, svn+http, -svn+https, svn+ssh. This allows you to access subversion repositories -inside any KIO enabled KDE application. - -This package is part of tdesvn-trinity. - - -%prep -%setup -q -n applications/%{kdecomp} -%patch1 -p1 -%patch2 -p1 -b .stringliteral - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -find . -name CMakeLists.txt -exec %__sed -i {} \ - -e "s,/usr/include/tqt,%{tde_includedir}/tqt,g" \ - -e "s,/usr/bin/tmoc,%{tde_bindir}/tmoc,g" \ - -e "s,/usr/bin/uic-tqt,%{tde_bindir}/uic-tqt,g" \ - \; - -# More ugly hack to add TQT include directory in CMakeLists.txt -%__sed -i CMakeLists.txt \ - -e "s,^\(INCLUDE_DIRECTORIES (\)$,\1\n%{tde_includedir}/tqt," - -# Moves HTML files to the correect location -find . -name "*.cmake" -exec %__sed -i {} \ - -e "s,/doc/HTML,/doc/kde/HTML,g" \ - \; - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${QTDIR}/bin:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -export CMAKE_INCLUDE_PATH="%{tde_tdeincludedir}" - -%if 0%{?rhel} || 0%{?fedora} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_includedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DMAN_INSTALL_DIR=%{tde_mandir}/man1 \ - -DDATA_INSTALL_DIR=%{tde_datadir} \ - -DPKGCONFIG_INSTALL_DIR=%{tde_tdelibdir}/pkgconfig \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - .. - -# SMP safe ! -%__make %{?_smp_mflags} - - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - - -%find_lang %{kdecomp} || touch %{kdecomp}.lang - -# Installs SVN protocols as alternatives -%__mv -f %{?buildroot}%{tde_datadir}/services/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol_tdesvn -%__mv -f %{?buildroot}%{tde_datadir}/services/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol_tdesvn -%__mv -f %{?buildroot}%{tde_datadir}/services/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol_tdesvn -%__mv -f %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol_tdesvn -%__mv -f %{?buildroot}%{tde_datadir}/services/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol_tdesvn -%__ln_s /etc/alternatives/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol -%__ln_s /etc/alternatives/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol -%__ln_s /etc/alternatives/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol -%__ln_s /etc/alternatives/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol -%__ln_s /etc/alternatives/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : - -%postun -touch --no-create %{_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : - -%post -n trinity-libsvnqt -/sbin/ldconfig || : - -%post kio-plugins -for proto in svn+file svn+http svn+https svn+ssh svn; do - alternatives --install \ - %{tde_datadir}/services/${proto}.protocol \ - ${proto}.protocol \ - %{tde_datadir}/services/${proto}.protocol_tdesvn \ - 20 -done - -%preun kio-plugins -if [ $1 -eq 0 ]; then - for proto in svn+file svn+http svn+https svn+ssh svn; do - alternatives --remove \ - ${proto}.protocol \ - %{tde_datadir}/services/${proto}.protocol_tdesvn - done -fi - - - -%postun -n trinity-libsvnqt -/sbin/ldconfig || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_bindir}/kdesvn -%{tde_bindir}/kdesvnaskpass -%{tde_tdelibdir}/libkdesvnpart.la -%{tde_tdelibdir}/libkdesvnpart.so -%{tde_datadir}/applications/kde/kdesvn.desktop -%{tde_datadir}/apps/kconf_update/kdesvn-use-external-update.sh -%{tde_datadir}/apps/kconf_update/kdesvnpartrc-use-external.upd -%{tde_datadir}/apps/kdesvn/kdesvnui.rc -%{tde_datadir}/apps/kdesvnpart/kdesvn_part.rc -%{tde_datadir}/apps/konqueror/servicemenus/kdesvn_subversion.desktop -%{tde_datadir}/config.kcfg/kdesvn_part.kcfg -%{tde_datadir}/icons/hicolor/*/*/*.png -%{tde_datadir}/icons/hicolor/*/*/*.svgz -%{tde_mandir}/man1/kdesvn.1 -%{tde_mandir}/man1/kdesvnaskpass.1 -%{tde_tdedocdir}/HTML/*/ - -%files -n trinity-libsvnqt -%{tde_libdir}/libsvnqt.so.4 -%{tde_libdir}/libsvnqt.so.4.2.2 - -%files -n trinity-libsvnqt-devel -%{tde_includedir}/svnqt -%{tde_libdir}/libsvnqt.so - -%files kio-plugins -%{tde_datadir}/services/kded/kdesvnd.desktop -%{tde_datadir}/services/ksvn+file.protocol -%{tde_datadir}/services/ksvn+http.protocol -%{tde_datadir}/services/ksvn+https.protocol -%{tde_datadir}/services/ksvn+ssh.protocol -%{tde_datadir}/services/ksvn.protocol -%{tde_datadir}/services/svn+file.protocol -%{tde_datadir}/services/svn+http.protocol -%{tde_datadir}/services/svn+https.protocol -%{tde_datadir}/services/svn+ssh.protocol -%{tde_datadir}/services/svn.protocol -%{tde_datadir}/services/svn+file.protocol_tdesvn -%{tde_datadir}/services/svn+http.protocol_tdesvn -%{tde_datadir}/services/svn+https.protocol_tdesvn -%{tde_datadir}/services/svn+ssh.protocol_tdesvn -%{tde_datadir}/services/svn.protocol_tdesvn -%{tde_tdelibdir}/kio_ksvn.la -%{tde_tdelibdir}/kio_ksvn.so -%{tde_tdelibdir}/kded_kdesvnd.la -%{tde_tdelibdir}/kded_kdesvnd.so - - -%Changelog -* Mon Jul 30 2012 Francois Andriot - 1.0.4-3 -- Installs SVN protocols as alternative, avoids conlict with TDESDK - -* Tue May 01 2012 Francois Andriot - 1.0.4-2 -- Rebuilt for Fedora 17 -- Fix post and postun -- Fix compilation with GCC 4.7 - -* Thu Dec 01 2011 Francois Andriot - 1.0.4-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tdesvn/trinity-tdesvn-3.5.13.2.spec b/redhat/applications/tdesvn/trinity-tdesvn-3.5.13.2.spec deleted file mode 100644 index 9f467d5d9..000000000 --- a/redhat/applications/tdesvn/trinity-tdesvn-3.5.13.2.spec +++ /dev/null @@ -1,289 +0,0 @@ -# Default version for this component -%define tdecomp tdesvn - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: subversion client with tight KDE integration [Trinity] -Version: 1.0.4 -Release: 5%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.elliptique.net/~ken/kima/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: subversion-devel -Requires: %{name}-tdeio-plugins = %{version}-%{release} - -Obsoletes: trinity-kdesvn < %{version}-%{release} -Provides: trinity-kdesvn = %{version}-%{release} - -%description -TDESvn is a graphical client for the subversion revision control -system (svn). - -Besides offering common and advanced svn operations, it features -a tight integration into KDE and can be embedded into other KDE -applications like konqueror via the KDE component technology KParts. - - -%package -n trinity-libsvnqt -Group: Development/Libraries -Summary: Qt wrapper library for subversion [Trinity] - -%description -n trinity-libsvnqt -This package provides svnqt, a Qt wrapper library around the -subversion library. - -It is based on the RapidSvn SvnCpp library, a subversion client API -written in C++. - -%package -n trinity-libsvnqt-devel -Group: Development/Libraries -Requires: trinity-libsvnqt = %{version}-%{release} -Requires: qt-devel -Requires: subversion-devel -Summary: Qt wrapper library for subversion (development files) [Trinity] - -%description -n trinity-libsvnqt-devel -This package contains the header files and symbolic links that developers -using svnqt will need. - - -%package tdeio-plugins -Group: Development/Libraries -Conflicts: trinity-kdesdk-tdeio-plugins -Summary: subversion I/O slaves for Trinity - -Obsoletes: trinity-kdesvn-kio-plugins < %{version}-%{release} -Provides: trinity-kdesvn-kio-plugins = %{version}-%{release} -Obsoletes: trinity-tdesvn-kio-plugins < %{version}-%{release} -Provides: trinity-tdesvn-kio-plugins = %{version}-%{release} - -%description tdeio-plugins -This packages includes KIO slaves for svn, svn+file, svn+http, -svn+https, svn+ssh. This allows you to access subversion repositories -inside any KIO enabled TDE application. - -This package is part of tdesvn-trinity. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -find . -name CMakeLists.txt -exec %__sed -i {} \ - -e "s,/usr/include/tqt,%{tde_includedir}/tqt,g" \ - -e "s,/usr/bin/tmoc,%{tde_bindir}/tmoc,g" \ - -e "s,/usr/bin/uic-tqt,%{tde_bindir}/uic-tqt,g" \ - \; - -# More ugly hack to add TQT include directory in CMakeLists.txt -%__sed -i CMakeLists.txt \ - -e "s,^\(INCLUDE_DIRECTORIES (\)$,\1\n%{tde_includedir}/tqt," - -# Moves HTML files to the correect location -find . -name "*.cmake" -exec %__sed -i {} \ - -e "s,/doc/HTML,/doc/tde/HTML,g" \ - \; - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${QTDIR}/bin:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -export CMAKE_INCLUDE_PATH="%{tde_tdeincludedir}" - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_includedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DMAN_INSTALL_DIR=%{tde_mandir}/man1 \ - -DDATA_INSTALL_DIR=%{tde_datadir} \ - -DPKGCONFIG_INSTALL_DIR=%{tde_tdelibdir}/pkgconfig \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - .. - -# SMP safe ! -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - - -%find_lang kdesvn - -# Installs SVN protocols as alternatives -%__mv -f %{?buildroot}%{tde_datadir}/services/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol_tdesvn -%__mv -f %{?buildroot}%{tde_datadir}/services/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol_tdesvn -%__mv -f %{?buildroot}%{tde_datadir}/services/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol_tdesvn -%__mv -f %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol_tdesvn -%__mv -f %{?buildroot}%{tde_datadir}/services/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol_tdesvn -%__ln_s /etc/alternatives/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol -%__ln_s /etc/alternatives/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol -%__ln_s /etc/alternatives/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol -%__ln_s /etc/alternatives/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol -%__ln_s /etc/alternatives/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%post -n trinity-libsvnqt -/sbin/ldconfig || : - -%post tdeio-plugins -for proto in svn+file svn+http svn+https svn+ssh svn; do - update-alternatives --install \ - %{tde_datadir}/services/${proto}.protocol \ - ${proto}.protocol \ - %{tde_datadir}/services/${proto}.protocol_tdesvn \ - 20 -done - -%preun tdeio-plugins -if [ $1 -eq 0 ]; then - for proto in svn+file svn+http svn+https svn+ssh svn; do - update-alternatives --remove \ - ${proto}.protocol \ - %{tde_datadir}/services/${proto}.protocol_tdesvn - done -fi - - - -%postun -n trinity-libsvnqt -/sbin/ldconfig || : - - -%files -f kdesvn.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_bindir}/kdesvn -%{tde_bindir}/kdesvnaskpass -%{tde_tdelibdir}/libkdesvnpart.la -%{tde_tdelibdir}/libkdesvnpart.so -%{tde_datadir}/applications/kde/kdesvn.desktop -%{tde_datadir}/apps/kconf_update/kdesvn-use-external-update.sh -%{tde_datadir}/apps/kconf_update/kdesvnpartrc-use-external.upd -%{tde_datadir}/apps/kdesvn/kdesvnui.rc -%{tde_datadir}/apps/kdesvnpart/kdesvn_part.rc -%{tde_datadir}/apps/konqueror/servicemenus/kdesvn_subversion.desktop -%{tde_datadir}/config.kcfg/kdesvn_part.kcfg -%{tde_datadir}/icons/hicolor/*/*/*.png -%{tde_datadir}/icons/hicolor/*/*/*.svgz -%{tde_mandir}/man1/kdesvn.1 -%{tde_mandir}/man1/kdesvnaskpass.1 -%{tde_tdedocdir}/HTML/*/ - -%files -n trinity-libsvnqt -%defattr(-,root,root,-) -%{tde_libdir}/libsvnqt.so.4 -%{tde_libdir}/libsvnqt.so.4.2.2 - -%files -n trinity-libsvnqt-devel -%defattr(-,root,root,-) -%{tde_includedir}/svnqt -%{tde_libdir}/libsvnqt.so - -%files tdeio-plugins -%defattr(-,root,root,-) -%{tde_datadir}/services/kded/kdesvnd.desktop -%{tde_datadir}/services/ksvn+file.protocol -%{tde_datadir}/services/ksvn+http.protocol -%{tde_datadir}/services/ksvn+https.protocol -%{tde_datadir}/services/ksvn+ssh.protocol -%{tde_datadir}/services/ksvn.protocol -%{tde_datadir}/services/svn+file.protocol -%{tde_datadir}/services/svn+http.protocol -%{tde_datadir}/services/svn+https.protocol -%{tde_datadir}/services/svn+ssh.protocol -%{tde_datadir}/services/svn.protocol -%{tde_datadir}/services/svn+file.protocol_tdesvn -%{tde_datadir}/services/svn+http.protocol_tdesvn -%{tde_datadir}/services/svn+https.protocol_tdesvn -%{tde_datadir}/services/svn+ssh.protocol_tdesvn -%{tde_datadir}/services/svn.protocol_tdesvn -%{tde_tdelibdir}/kio_ksvn.la -%{tde_tdelibdir}/kio_ksvn.so -%{tde_tdelibdir}/kded_kdesvnd.la -%{tde_tdelibdir}/kded_kdesvnd.so - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 1.0.4-5 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 1.0.4-4 -- Initial build for TDE 3.5.13.1 - -* Mon Jul 30 2012 Francois Andriot - 1.0.4-3 -- Installs SVN protocols as alternative, avoids conlict with TDESDK - -* Tue May 01 2012 Francois Andriot - 1.0.4-2 -- Rebuilt for Fedora 17 -- Fix post and postun -- Fix compilation with GCC 4.7 - -* Thu Dec 01 2011 Francois Andriot - 1.0.4-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tdmtheme/kdmtheme-3.5.13.1.spec b/redhat/applications/tdmtheme/kdmtheme-3.5.13.1.spec new file mode 100644 index 000000000..bdd0aefab --- /dev/null +++ b/redhat/applications/tdmtheme/kdmtheme-3.5.13.1.spec @@ -0,0 +1,130 @@ +# Default version for this component +%define kdecomp kdmtheme + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: theme manager for KDM [Trinity] +Version: 1.2.2 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://beta.smileaf.org/projects + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +kdmtheme is a theme manager for KDM. It provides a TDE Control Module (KCM) +that allows you to easily install, remove and change your KDM themes. + + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + + +%files +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcm_kdmtheme.la +%{tde_tdelibdir}/kcm_kdmtheme.so +%{tde_tdeappdir}/kdmtheme.desktop +%{tde_tdedocdir}/HTML/en/kdmtheme/ + + +%post +update-desktop-database %{tde_appdir} &> /dev/null + +%postun +update-desktop-database %{tde_appdir} &> /dev/null + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 1.2.2-3 +- Initial build for TDE 3.5.13.1 + +* Tue May 01 2012 Francois Andriot - 1.2.2-2 +- Rebuilt for Fedora 17 +- Removes post and postun +- Removes the 'lintian' stuff from Debian + +* Fri Nov 25 2011 Francois Andriot - 1.2.2-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tdmtheme/kdmtheme-3.5.13.spec b/redhat/applications/tdmtheme/kdmtheme-3.5.13.spec new file mode 100644 index 000000000..71d5dbdf0 --- /dev/null +++ b/redhat/applications/tdmtheme/kdmtheme-3.5.13.spec @@ -0,0 +1,121 @@ +# Default version for this component +%define kdecomp kdmtheme + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: theme manager for KDM [Trinity] +Version: 1.2.2 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://beta.smileaf.org/projects + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +kdmtheme is a theme manager for KDM. It provides a TDE Control Module (KCM) +that allows you to easily install, remove and change your KDM themes. + + + +%prep +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + + +%files +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcm_kdmtheme.la +%{tde_tdelibdir}/kcm_kdmtheme.so +%{tde_tdeappdir}/kdmtheme.desktop +%{tde_tdedocdir}/HTML/en/kdmtheme/ + + +%post +update-desktop-database %{tde_appdir} &> /dev/null + +%postun +update-desktop-database %{tde_appdir} &> /dev/null + + +%Changelog +* Tue May 01 2012 Francois Andriot - 1.2.2-2 +- Rebuilt for Fedora 17 +- Removes post and postun +- Removes the 'lintian' stuff from Debian + +* Fri Nov 25 2011 Francois Andriot - 1.2.2-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tdmtheme/tdmtheme-3.5.13.2.spec b/redhat/applications/tdmtheme/tdmtheme-3.5.13.2.spec new file mode 100644 index 000000000..1b1d7dc0c --- /dev/null +++ b/redhat/applications/tdmtheme/tdmtheme-3.5.13.2.spec @@ -0,0 +1,144 @@ +# Default version for this component +%define tdecomp tdmtheme + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: theme manager for TDM [Trinity] +Version: 1.2.2 +Release: 5%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://beta.smileaf.org/projects + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +# [tdmtheme] Fix tdmtheme crash. This resolves Bug 1544 +Patch1: tdmtheme-3.5.13.2-fix_segv.patch + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-arts-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +Obsoletes: trinity-kdmtheme < %{version}-%{release} +Provides: trinity-kdmtheme = %{version}-%{release} + + +%description +kdmtheme is a theme manager for KDM. It provides a TDE Control Module (KCM) +that allows you to easily install, remove and change your KDM themes. + + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 +%patch1 -p1 -b .segv + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + + +%files +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcm_kdmtheme.la +%{tde_tdelibdir}/kcm_kdmtheme.so +%{tde_tdeappdir}/kdmtheme.desktop +%{tde_tdedocdir}/HTML/en/kdmtheme/ + + +%post +update-desktop-database %{tde_appdir} &> /dev/null + +%postun +update-desktop-database %{tde_appdir} &> /dev/null + + +%changelog +* Thu Jun 27 2013 Francois Andriot - 1.2.2-5 +- Fix tdmtheme crash. This resolves Bug 1544 + +* Mon Jun 03 2013 Francois Andriot - 1.2.2-4 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 1.2.2-3 +- Initial build for TDE 3.5.13.1 + +* Tue May 01 2012 Francois Andriot - 1.2.2-2 +- Rebuilt for Fedora 17 +- Removes post and postun +- Removes the 'lintian' stuff from Debian + +* Fri Nov 25 2011 Francois Andriot - 1.2.2-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tdmtheme/trinity-kdmtheme-3.5.13.1.spec b/redhat/applications/tdmtheme/trinity-kdmtheme-3.5.13.1.spec deleted file mode 100644 index bdd0aefab..000000000 --- a/redhat/applications/tdmtheme/trinity-kdmtheme-3.5.13.1.spec +++ /dev/null @@ -1,130 +0,0 @@ -# Default version for this component -%define kdecomp kdmtheme - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: theme manager for KDM [Trinity] -Version: 1.2.2 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://beta.smileaf.org/projects - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -kdmtheme is a theme manager for KDM. It provides a TDE Control Module (KCM) -that allows you to easily install, remove and change your KDM themes. - - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - - -%files -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_kdmtheme.la -%{tde_tdelibdir}/kcm_kdmtheme.so -%{tde_tdeappdir}/kdmtheme.desktop -%{tde_tdedocdir}/HTML/en/kdmtheme/ - - -%post -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -update-desktop-database %{tde_appdir} &> /dev/null - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 1.2.2-3 -- Initial build for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 1.2.2-2 -- Rebuilt for Fedora 17 -- Removes post and postun -- Removes the 'lintian' stuff from Debian - -* Fri Nov 25 2011 Francois Andriot - 1.2.2-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tdmtheme/trinity-kdmtheme-3.5.13.spec b/redhat/applications/tdmtheme/trinity-kdmtheme-3.5.13.spec deleted file mode 100644 index 71d5dbdf0..000000000 --- a/redhat/applications/tdmtheme/trinity-kdmtheme-3.5.13.spec +++ /dev/null @@ -1,121 +0,0 @@ -# Default version for this component -%define kdecomp kdmtheme - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: theme manager for KDM [Trinity] -Version: 1.2.2 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://beta.smileaf.org/projects - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -kdmtheme is a theme manager for KDM. It provides a TDE Control Module (KCM) -that allows you to easily install, remove and change your KDM themes. - - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - - -%files -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_kdmtheme.la -%{tde_tdelibdir}/kcm_kdmtheme.so -%{tde_tdeappdir}/kdmtheme.desktop -%{tde_tdedocdir}/HTML/en/kdmtheme/ - - -%post -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -update-desktop-database %{tde_appdir} &> /dev/null - - -%Changelog -* Tue May 01 2012 Francois Andriot - 1.2.2-2 -- Rebuilt for Fedora 17 -- Removes post and postun -- Removes the 'lintian' stuff from Debian - -* Fri Nov 25 2011 Francois Andriot - 1.2.2-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tdmtheme/trinity-tdmtheme-3.5.13.2.spec b/redhat/applications/tdmtheme/trinity-tdmtheme-3.5.13.2.spec deleted file mode 100644 index 1b1d7dc0c..000000000 --- a/redhat/applications/tdmtheme/trinity-tdmtheme-3.5.13.2.spec +++ /dev/null @@ -1,144 +0,0 @@ -# Default version for this component -%define tdecomp tdmtheme - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: theme manager for TDM [Trinity] -Version: 1.2.2 -Release: 5%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://beta.smileaf.org/projects - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -# [tdmtheme] Fix tdmtheme crash. This resolves Bug 1544 -Patch1: tdmtheme-3.5.13.2-fix_segv.patch - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-arts-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -Obsoletes: trinity-kdmtheme < %{version}-%{release} -Provides: trinity-kdmtheme = %{version}-%{release} - - -%description -kdmtheme is a theme manager for KDM. It provides a TDE Control Module (KCM) -that allows you to easily install, remove and change your KDM themes. - - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 -%patch1 -p1 -b .segv - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - - -%files -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_kdmtheme.la -%{tde_tdelibdir}/kcm_kdmtheme.so -%{tde_tdeappdir}/kdmtheme.desktop -%{tde_tdedocdir}/HTML/en/kdmtheme/ - - -%post -update-desktop-database %{tde_appdir} &> /dev/null - -%postun -update-desktop-database %{tde_appdir} &> /dev/null - - -%changelog -* Thu Jun 27 2013 Francois Andriot - 1.2.2-5 -- Fix tdmtheme crash. This resolves Bug 1544 - -* Mon Jun 03 2013 Francois Andriot - 1.2.2-4 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 1.2.2-3 -- Initial build for TDE 3.5.13.1 - -* Tue May 01 2012 Francois Andriot - 1.2.2-2 -- Rebuilt for Fedora 17 -- Removes post and postun -- Removes the 'lintian' stuff from Debian - -* Fri Nov 25 2011 Francois Andriot - 1.2.2-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tellico/tellico-3.5.13.1.spec b/redhat/applications/tellico/tellico-3.5.13.1.spec new file mode 100644 index 000000000..d7abea5b4 --- /dev/null +++ b/redhat/applications/tellico/tellico-3.5.13.1.spec @@ -0,0 +1,239 @@ +# Default version for this component +%define kdecomp tellico + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_tdedocdir} + + +Name: trinity-%{kdecomp} +Summary: Icollection manager for books, videos, music [Trinity] +Version: 1.3.2.1 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://periapsis.org/tellico/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + + +# [tellico] Fix "not a string literal" error +Patch2: tellico-3.5.13-fix_not_a_string_literal_error.patch +# [tellico] Fix FTBFS +Patch3: tellico-3.5.13.1-fix_ftbfs.patch + + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: yaz +BuildRequires: %{_lib}yaz-devel +%endif + +Requires: %{name}-data = %{version}-%{release} +Requires: %{name}-scripts = %{version}-%{release} + +%description +Tellico is a collection manager for TDE. It includes default collections for +books, bibliographies, comic books, videos, music, coins, stamps, trading +cards, and wines, and also allows custom collections; with unlimited +user-defined fields allowed. Automatically formatted names, sorting by any +property, filters, automatic ISBN validation and full customization for +printing or display through XSLT files are some of the features present. It +can import CSV, RIS, BibTeX, and BibTeXML files; and export CSV, HTML, BibTeX, +BibTeXML, and PilotDB. Tellico can also import data from Amazon, IMDb, CDDB, +or any US-MARC compliant z39.50 server. + +The files are stored in XML format, avoiding the need for database server. +It also makes it easy for other softwares to use the Tellico data. + + +%package data +Group: Applications/Utilities +Summary: collection manager for books, videos, music [data] [Trinity] + +%description data +Tellico is a collection manager for TDE. It includes default collections for +books, bibliographies, comic books, videos, music, coins, stamps, trading +cards, and wines, and also allows custom collections; with unlimited +user-defined fields allowed. Automatically formatted names, sorting by any +property, filters, automatic ISBN validation and full customization for +printing or display through XSLT files are some of the features present. It +can import CSV, RIS, BibTeX, and BibTeXML files; and export CSV, HTML, BibTeX, +BibTeXML, and PilotDB. Tellico can also import data from Amazon, IMDb, CDDB, +or any US-MARC compliant z39.50 server. + +The files are stored in XML format, avoiding the need for database server. +It also makes it easy for other softwares to use the Tellico data. + +This package contains the architecture independent files, such data files and +documentation. + +%package scripts +Group: Applications/Utilities +Summary: collection manager for books, videos, music [scripts] [Trinity] + +%description scripts +Tellico is a collection manager for TDE. It includes default collections for +books, bibliographies, comic books, videos, music, coins, stamps, trading +cards, and wines, and also allows custom collections; with unlimited +user-defined fields allowed. Automatically formatted names, sorting by any +property, filters, automatic ISBN validation and full customization for +printing or display through XSLT files are some of the features present. It +can import CSV, RIS, BibTeX, and BibTeXML files; and export CSV, HTML, BibTeX, +BibTeXML, and PilotDB. Tellico can also import data from Amazon, IMDb, CDDB, +or any US-MARC compliant z39.50 server. + +The files are stored in XML format, avoiding the need for database server. +It also makes it easy for other softwares to use the Tellico data. + +This package contains the scripts to import data from external sources, such +as websites. As the format of the data may change, these scripts are provided +as a separate package which can be updated through debian-volatile. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 +%patch2 -p1 +%patch3 -p1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# Add svg icons to xdg directories +%__install -D -c -p -m 644 -T icons/tellico.svg %{?buildroot}%{tde_datadir}/icons/hicolor/scalable/apps/tellico.svg +%__install -D -c -p -m 644 -T icons/tellico_mime.svg %{?buildroot}%{tde_datadir}/icons/hicolor/scalable/mimetypes/application-x-tellico.svg + +# Remove dead symlink from French translation +%__rm %{?buildroot}%{tde_tdedocdir}/HTML/fr/tellico/common + + +%find_lang %{kdecomp} + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/tellico +#%{tde_datadir}/pixmaps +%{tde_datadir}/applications +%{tde_datadir}/config/tellicorc + +%files data +%defattr(-,root,root,-) +%{tde_datadir}/apps/tellico/*.xsl +%{tde_datadir}/apps/tellico/*.xml +%{tde_datadir}/apps/tellico/*.png +%{tde_datadir}/apps/tellico/entry-templates +%{tde_datadir}/apps/tellico/*.py* +%{tde_datadir}/apps/tellico/pics +%{tde_datadir}/apps/tellico/report-templates +%{tde_datadir}/apps/tellico/tellico.dtd +%{tde_datadir}/apps/tellico/tellico.tips +%{tde_datadir}/apps/tellico/tellico2html.js +%{tde_datadir}/apps/tellico/tellicoui.rc +%{tde_datadir}/apps/tellico/welcome.html +%{tde_datadir}/config.kcfg +%{tde_tdedocdir}/HTML/*/tellico/ +%{tde_datadir}/icons +%{tde_datadir}/apps/mime +%{tde_datadir}/mimelnk +%{tde_datadir}/apps/kconf_update/tellico-1-3-update.pl +%{tde_datadir}/apps/kconf_update/tellico-rename.upd +%{tde_datadir}/apps/kconf_update/tellico.upd + +%files scripts +%defattr(-,root,root,-) +%{tde_datadir}/apps/tellico/data-sources +%{tde_datadir}/apps/tellico/z3950-servers.cfg + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 1.3.2.1-4 +- Initial build for TDE 3.5.13.1 + +* Sat Dec 03 2011 Francois Andriot - 1.3.2.1-3 +- Fix compilation with GCC 4.7 [Bug #958] + +* Fri Nov 25 2011 Francois Andriot - 1.3.2.1-2 +- Fix HTML directory location + +* Thu Nov 24 2011 Francois Andriot - 1.3.2.1-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tellico/tellico-3.5.13.2.spec b/redhat/applications/tellico/tellico-3.5.13.2.spec new file mode 100644 index 000000000..5d2cc9006 --- /dev/null +++ b/redhat/applications/tellico/tellico-3.5.13.2.spec @@ -0,0 +1,233 @@ +# Default version for this component +%define tdecomp tellico + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_tdedocdir} + + +Name: trinity-%{tdecomp} +Summary: Icollection manager for books, videos, music [Trinity] +Version: 1.3.2.1 +Release: 5%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://periapsis.org/tellico/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: yaz +BuildRequires: %{_lib}yaz-devel +%endif + +Requires: %{name}-data = %{version}-%{release} +Requires: %{name}-scripts = %{version}-%{release} + +%description +Tellico is a collection manager for TDE. It includes default collections for +books, bibliographies, comic books, videos, music, coins, stamps, trading +cards, and wines, and also allows custom collections; with unlimited +user-defined fields allowed. Automatically formatted names, sorting by any +property, filters, automatic ISBN validation and full customization for +printing or display through XSLT files are some of the features present. It +can import CSV, RIS, BibTeX, and BibTeXML files; and export CSV, HTML, BibTeX, +BibTeXML, and PilotDB. Tellico can also import data from Amazon, IMDb, CDDB, +or any US-MARC compliant z39.50 server. + +The files are stored in XML format, avoiding the need for database server. +It also makes it easy for other softwares to use the Tellico data. + + +%package data +Group: Applications/Utilities +Summary: collection manager for books, videos, music [data] [Trinity] + +%description data +Tellico is a collection manager for TDE. It includes default collections for +books, bibliographies, comic books, videos, music, coins, stamps, trading +cards, and wines, and also allows custom collections; with unlimited +user-defined fields allowed. Automatically formatted names, sorting by any +property, filters, automatic ISBN validation and full customization for +printing or display through XSLT files are some of the features present. It +can import CSV, RIS, BibTeX, and BibTeXML files; and export CSV, HTML, BibTeX, +BibTeXML, and PilotDB. Tellico can also import data from Amazon, IMDb, CDDB, +or any US-MARC compliant z39.50 server. + +The files are stored in XML format, avoiding the need for database server. +It also makes it easy for other softwares to use the Tellico data. + +This package contains the architecture independent files, such data files and +documentation. + +%package scripts +Group: Applications/Utilities +Summary: collection manager for books, videos, music [scripts] [Trinity] + +%description scripts +Tellico is a collection manager for TDE. It includes default collections for +books, bibliographies, comic books, videos, music, coins, stamps, trading +cards, and wines, and also allows custom collections; with unlimited +user-defined fields allowed. Automatically formatted names, sorting by any +property, filters, automatic ISBN validation and full customization for +printing or display through XSLT files are some of the features present. It +can import CSV, RIS, BibTeX, and BibTeXML files; and export CSV, HTML, BibTeX, +BibTeXML, and PilotDB. Tellico can also import data from Amazon, IMDb, CDDB, +or any US-MARC compliant z39.50 server. + +The files are stored in XML format, avoiding the need for database server. +It also makes it easy for other softwares to use the Tellico data. + +This package contains the scripts to import data from external sources, such +as websites. As the format of the data may change, these scripts are provided +as a separate package which can be updated through debian-volatile. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# Add svg icons to xdg directories +%__install -D -c -p -m 644 icons/tellico.svg %{?buildroot}%{tde_datadir}/icons/hicolor/scalable/apps/tellico.svg +%__install -D -c -p -m 644 icons/tellico_mime.svg %{?buildroot}%{tde_datadir}/icons/hicolor/scalable/mimetypes/application-x-tellico.svg + +# Remove dead symlink from French translation +%__rm %{?buildroot}%{tde_tdedocdir}/HTML/fr/tellico/common + + +%find_lang %{tdecomp} + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files -f %{tdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/tellico +#%{tde_datadir}/pixmaps +%{tde_datadir}/applications +%{tde_datadir}/config/tellicorc + +%files data +%defattr(-,root,root,-) +%{tde_datadir}/apps/tellico/*.xsl +%{tde_datadir}/apps/tellico/*.xml +%{tde_datadir}/apps/tellico/*.png +%{tde_datadir}/apps/tellico/entry-templates +%{tde_datadir}/apps/tellico/*.py* +%{tde_datadir}/apps/tellico/pics +%{tde_datadir}/apps/tellico/report-templates +%{tde_datadir}/apps/tellico/tellico.dtd +%{tde_datadir}/apps/tellico/tellico.tips +%{tde_datadir}/apps/tellico/tellico2html.js +%{tde_datadir}/apps/tellico/tellicoui.rc +%{tde_datadir}/apps/tellico/welcome.html +%{tde_datadir}/config.kcfg +%{tde_tdedocdir}/HTML/*/tellico/ +%{tde_datadir}/icons +%{tde_datadir}/apps/mime +%{tde_datadir}/mimelnk +%{tde_datadir}/apps/kconf_update/tellico-1-3-update.pl +%{tde_datadir}/apps/kconf_update/tellico-rename.upd +%{tde_datadir}/apps/kconf_update/tellico.upd + +%files scripts +%defattr(-,root,root,-) +%{tde_datadir}/apps/tellico/data-sources +%{tde_datadir}/apps/tellico/z3950-servers.cfg + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 1.3.2.1-5 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 1.3.2.1-4 +- Initial build for TDE 3.5.13.1 + +* Sat Dec 03 2011 Francois Andriot - 1.3.2.1-3 +- Fix compilation with GCC 4.7 [Bug #958] + +* Fri Nov 25 2011 Francois Andriot - 1.3.2.1-2 +- Fix HTML directory location + +* Thu Nov 24 2011 Francois Andriot - 1.3.2.1-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tellico/tellico-3.5.13.spec b/redhat/applications/tellico/tellico-3.5.13.spec new file mode 100644 index 000000000..575a0b426 --- /dev/null +++ b/redhat/applications/tellico/tellico-3.5.13.spec @@ -0,0 +1,226 @@ +# Default version for this component +%define kdecomp tellico + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_tdedocdir} + + +Name: trinity-%{kdecomp} +Summary: Icollection manager for books, videos, music [Trinity] +Version: 1.3.2.1 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://periapsis.org/tellico/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + + +# [tellico] Fix compilation with GCC 4.7 [Bug #958] +Patch1: tellico-3.5.13-fix_gcc47_compilation.patch +# [tellico] Fix "not a string literal" error +Patch2: tellico-3.5.13-fix_not_a_string_literal_error.patch + + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + +Requires: %{name}-data = %{version}-%{release} +Requires: %{name}-scripts = %{version}-%{release} + +%description +Tellico is a collection manager for TDE. It includes default collections for +books, bibliographies, comic books, videos, music, coins, stamps, trading +cards, and wines, and also allows custom collections; with unlimited +user-defined fields allowed. Automatically formatted names, sorting by any +property, filters, automatic ISBN validation and full customization for +printing or display through XSLT files are some of the features present. It +can import CSV, RIS, BibTeX, and BibTeXML files; and export CSV, HTML, BibTeX, +BibTeXML, and PilotDB. Tellico can also import data from Amazon, IMDb, CDDB, +or any US-MARC compliant z39.50 server. + +The files are stored in XML format, avoiding the need for database server. +It also makes it easy for other softwares to use the Tellico data. + + +%package data +Group: Applications/Utilities +Summary: collection manager for books, videos, music [data] [Trinity] + +%description data +Tellico is a collection manager for TDE. It includes default collections for +books, bibliographies, comic books, videos, music, coins, stamps, trading +cards, and wines, and also allows custom collections; with unlimited +user-defined fields allowed. Automatically formatted names, sorting by any +property, filters, automatic ISBN validation and full customization for +printing or display through XSLT files are some of the features present. It +can import CSV, RIS, BibTeX, and BibTeXML files; and export CSV, HTML, BibTeX, +BibTeXML, and PilotDB. Tellico can also import data from Amazon, IMDb, CDDB, +or any US-MARC compliant z39.50 server. + +The files are stored in XML format, avoiding the need for database server. +It also makes it easy for other softwares to use the Tellico data. + +This package contains the architecture independent files, such data files and +documentation. + +%package scripts +Group: Applications/Utilities +Summary: collection manager for books, videos, music [scripts] [Trinity] + +%description scripts +Tellico is a collection manager for TDE. It includes default collections for +books, bibliographies, comic books, videos, music, coins, stamps, trading +cards, and wines, and also allows custom collections; with unlimited +user-defined fields allowed. Automatically formatted names, sorting by any +property, filters, automatic ISBN validation and full customization for +printing or display through XSLT files are some of the features present. It +can import CSV, RIS, BibTeX, and BibTeXML files; and export CSV, HTML, BibTeX, +BibTeXML, and PilotDB. Tellico can also import data from Amazon, IMDb, CDDB, +or any US-MARC compliant z39.50 server. + +The files are stored in XML format, avoiding the need for database server. +It also makes it easy for other softwares to use the Tellico data. + +This package contains the scripts to import data from external sources, such +as websites. As the format of the data may change, these scripts are provided +as a separate package which can be updated through debian-volatile. + + +%prep +%setup -q -n applications/%{kdecomp} +%patch1 -p1 +%patch2 -p1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_includedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# Add svg icons to xdg directories +%__install -D -c -p -m 644 -T icons/tellico.svg %{?buildroot}%{tde_datadir}/icons/hicolor/scalable/apps/tellico.svg +%__install -D -c -p -m 644 -T icons/tellico_mime.svg %{?buildroot}%{tde_datadir}/icons/hicolor/scalable/mimetypes/application-x-tellico.svg + +# Remove dead symlink from French translation +%__rm %{?buildroot}%{tde_tdedocdir}/HTML/fr/tellico/common + + +%find_lang %{kdecomp} + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{tde_bindir}/tellico +#%{tde_datadir}/pixmaps +%{tde_datadir}/applications +%{tde_datadir}/config/tellicorc + +%files data +%defattr(-,root,root,-) +%{tde_datadir}/apps/tellico/*.xsl +%{tde_datadir}/apps/tellico/*.xml +%{tde_datadir}/apps/tellico/*.png +%{tde_datadir}/apps/tellico/entry-templates +%{tde_datadir}/apps/tellico/*.py* +%{tde_datadir}/apps/tellico/pics +%{tde_datadir}/apps/tellico/report-templates +%{tde_datadir}/apps/tellico/tellico.dtd +%{tde_datadir}/apps/tellico/tellico.tips +%{tde_datadir}/apps/tellico/tellico2html.js +%{tde_datadir}/apps/tellico/tellicoui.rc +%{tde_datadir}/apps/tellico/welcome.html +%{tde_datadir}/config.kcfg +%{tde_tdedocdir}/HTML/*/tellico/ +%{tde_datadir}/icons +%{tde_datadir}/apps/mime +%{tde_datadir}/mimelnk +%{tde_datadir}/apps/kconf_update/tellico-1-3-update.pl +%{tde_datadir}/apps/kconf_update/tellico-rename.upd +%{tde_datadir}/apps/kconf_update/tellico.upd + +%files scripts +%defattr(-,root,root,-) +%{tde_datadir}/apps/tellico/data-sources +%{tde_datadir}/apps/tellico/z3950-servers.cfg + + +%Changelog +* Sat Dec 03 2011 Francois Andriot - 1.3.2.1-3 +- Fix compilation with GCC 4.7 [Bug #958] + +* Fri Nov 25 2011 Francois Andriot - 1.3.2.1-2 +- Fix HTML directory location + +* Thu Nov 24 2011 Francois Andriot - 1.3.2.1-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tellico/trinity-tellico-3.5.13.1.spec b/redhat/applications/tellico/trinity-tellico-3.5.13.1.spec deleted file mode 100644 index d7abea5b4..000000000 --- a/redhat/applications/tellico/trinity-tellico-3.5.13.1.spec +++ /dev/null @@ -1,239 +0,0 @@ -# Default version for this component -%define kdecomp tellico - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_tdedocdir} - - -Name: trinity-%{kdecomp} -Summary: Icollection manager for books, videos, music [Trinity] -Version: 1.3.2.1 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://periapsis.org/tellico/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - - -# [tellico] Fix "not a string literal" error -Patch2: tellico-3.5.13-fix_not_a_string_literal_error.patch -# [tellico] Fix FTBFS -Patch3: tellico-3.5.13.1-fix_ftbfs.patch - - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: yaz -BuildRequires: %{_lib}yaz-devel -%endif - -Requires: %{name}-data = %{version}-%{release} -Requires: %{name}-scripts = %{version}-%{release} - -%description -Tellico is a collection manager for TDE. It includes default collections for -books, bibliographies, comic books, videos, music, coins, stamps, trading -cards, and wines, and also allows custom collections; with unlimited -user-defined fields allowed. Automatically formatted names, sorting by any -property, filters, automatic ISBN validation and full customization for -printing or display through XSLT files are some of the features present. It -can import CSV, RIS, BibTeX, and BibTeXML files; and export CSV, HTML, BibTeX, -BibTeXML, and PilotDB. Tellico can also import data from Amazon, IMDb, CDDB, -or any US-MARC compliant z39.50 server. - -The files are stored in XML format, avoiding the need for database server. -It also makes it easy for other softwares to use the Tellico data. - - -%package data -Group: Applications/Utilities -Summary: collection manager for books, videos, music [data] [Trinity] - -%description data -Tellico is a collection manager for TDE. It includes default collections for -books, bibliographies, comic books, videos, music, coins, stamps, trading -cards, and wines, and also allows custom collections; with unlimited -user-defined fields allowed. Automatically formatted names, sorting by any -property, filters, automatic ISBN validation and full customization for -printing or display through XSLT files are some of the features present. It -can import CSV, RIS, BibTeX, and BibTeXML files; and export CSV, HTML, BibTeX, -BibTeXML, and PilotDB. Tellico can also import data from Amazon, IMDb, CDDB, -or any US-MARC compliant z39.50 server. - -The files are stored in XML format, avoiding the need for database server. -It also makes it easy for other softwares to use the Tellico data. - -This package contains the architecture independent files, such data files and -documentation. - -%package scripts -Group: Applications/Utilities -Summary: collection manager for books, videos, music [scripts] [Trinity] - -%description scripts -Tellico is a collection manager for TDE. It includes default collections for -books, bibliographies, comic books, videos, music, coins, stamps, trading -cards, and wines, and also allows custom collections; with unlimited -user-defined fields allowed. Automatically formatted names, sorting by any -property, filters, automatic ISBN validation and full customization for -printing or display through XSLT files are some of the features present. It -can import CSV, RIS, BibTeX, and BibTeXML files; and export CSV, HTML, BibTeX, -BibTeXML, and PilotDB. Tellico can also import data from Amazon, IMDb, CDDB, -or any US-MARC compliant z39.50 server. - -The files are stored in XML format, avoiding the need for database server. -It also makes it easy for other softwares to use the Tellico data. - -This package contains the scripts to import data from external sources, such -as websites. As the format of the data may change, these scripts are provided -as a separate package which can be updated through debian-volatile. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 -%patch2 -p1 -%patch3 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Add svg icons to xdg directories -%__install -D -c -p -m 644 -T icons/tellico.svg %{?buildroot}%{tde_datadir}/icons/hicolor/scalable/apps/tellico.svg -%__install -D -c -p -m 644 -T icons/tellico_mime.svg %{?buildroot}%{tde_datadir}/icons/hicolor/scalable/mimetypes/application-x-tellico.svg - -# Remove dead symlink from French translation -%__rm %{?buildroot}%{tde_tdedocdir}/HTML/fr/tellico/common - - -%find_lang %{kdecomp} - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/tellico -#%{tde_datadir}/pixmaps -%{tde_datadir}/applications -%{tde_datadir}/config/tellicorc - -%files data -%defattr(-,root,root,-) -%{tde_datadir}/apps/tellico/*.xsl -%{tde_datadir}/apps/tellico/*.xml -%{tde_datadir}/apps/tellico/*.png -%{tde_datadir}/apps/tellico/entry-templates -%{tde_datadir}/apps/tellico/*.py* -%{tde_datadir}/apps/tellico/pics -%{tde_datadir}/apps/tellico/report-templates -%{tde_datadir}/apps/tellico/tellico.dtd -%{tde_datadir}/apps/tellico/tellico.tips -%{tde_datadir}/apps/tellico/tellico2html.js -%{tde_datadir}/apps/tellico/tellicoui.rc -%{tde_datadir}/apps/tellico/welcome.html -%{tde_datadir}/config.kcfg -%{tde_tdedocdir}/HTML/*/tellico/ -%{tde_datadir}/icons -%{tde_datadir}/apps/mime -%{tde_datadir}/mimelnk -%{tde_datadir}/apps/kconf_update/tellico-1-3-update.pl -%{tde_datadir}/apps/kconf_update/tellico-rename.upd -%{tde_datadir}/apps/kconf_update/tellico.upd - -%files scripts -%defattr(-,root,root,-) -%{tde_datadir}/apps/tellico/data-sources -%{tde_datadir}/apps/tellico/z3950-servers.cfg - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 1.3.2.1-4 -- Initial build for TDE 3.5.13.1 - -* Sat Dec 03 2011 Francois Andriot - 1.3.2.1-3 -- Fix compilation with GCC 4.7 [Bug #958] - -* Fri Nov 25 2011 Francois Andriot - 1.3.2.1-2 -- Fix HTML directory location - -* Thu Nov 24 2011 Francois Andriot - 1.3.2.1-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tellico/trinity-tellico-3.5.13.2.spec b/redhat/applications/tellico/trinity-tellico-3.5.13.2.spec deleted file mode 100644 index 5d2cc9006..000000000 --- a/redhat/applications/tellico/trinity-tellico-3.5.13.2.spec +++ /dev/null @@ -1,233 +0,0 @@ -# Default version for this component -%define tdecomp tellico - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_tdedocdir} - - -Name: trinity-%{tdecomp} -Summary: Icollection manager for books, videos, music [Trinity] -Version: 1.3.2.1 -Release: 5%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://periapsis.org/tellico/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: yaz -BuildRequires: %{_lib}yaz-devel -%endif - -Requires: %{name}-data = %{version}-%{release} -Requires: %{name}-scripts = %{version}-%{release} - -%description -Tellico is a collection manager for TDE. It includes default collections for -books, bibliographies, comic books, videos, music, coins, stamps, trading -cards, and wines, and also allows custom collections; with unlimited -user-defined fields allowed. Automatically formatted names, sorting by any -property, filters, automatic ISBN validation and full customization for -printing or display through XSLT files are some of the features present. It -can import CSV, RIS, BibTeX, and BibTeXML files; and export CSV, HTML, BibTeX, -BibTeXML, and PilotDB. Tellico can also import data from Amazon, IMDb, CDDB, -or any US-MARC compliant z39.50 server. - -The files are stored in XML format, avoiding the need for database server. -It also makes it easy for other softwares to use the Tellico data. - - -%package data -Group: Applications/Utilities -Summary: collection manager for books, videos, music [data] [Trinity] - -%description data -Tellico is a collection manager for TDE. It includes default collections for -books, bibliographies, comic books, videos, music, coins, stamps, trading -cards, and wines, and also allows custom collections; with unlimited -user-defined fields allowed. Automatically formatted names, sorting by any -property, filters, automatic ISBN validation and full customization for -printing or display through XSLT files are some of the features present. It -can import CSV, RIS, BibTeX, and BibTeXML files; and export CSV, HTML, BibTeX, -BibTeXML, and PilotDB. Tellico can also import data from Amazon, IMDb, CDDB, -or any US-MARC compliant z39.50 server. - -The files are stored in XML format, avoiding the need for database server. -It also makes it easy for other softwares to use the Tellico data. - -This package contains the architecture independent files, such data files and -documentation. - -%package scripts -Group: Applications/Utilities -Summary: collection manager for books, videos, music [scripts] [Trinity] - -%description scripts -Tellico is a collection manager for TDE. It includes default collections for -books, bibliographies, comic books, videos, music, coins, stamps, trading -cards, and wines, and also allows custom collections; with unlimited -user-defined fields allowed. Automatically formatted names, sorting by any -property, filters, automatic ISBN validation and full customization for -printing or display through XSLT files are some of the features present. It -can import CSV, RIS, BibTeX, and BibTeXML files; and export CSV, HTML, BibTeX, -BibTeXML, and PilotDB. Tellico can also import data from Amazon, IMDb, CDDB, -or any US-MARC compliant z39.50 server. - -The files are stored in XML format, avoiding the need for database server. -It also makes it easy for other softwares to use the Tellico data. - -This package contains the scripts to import data from external sources, such -as websites. As the format of the data may change, these scripts are provided -as a separate package which can be updated through debian-volatile. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Add svg icons to xdg directories -%__install -D -c -p -m 644 icons/tellico.svg %{?buildroot}%{tde_datadir}/icons/hicolor/scalable/apps/tellico.svg -%__install -D -c -p -m 644 icons/tellico_mime.svg %{?buildroot}%{tde_datadir}/icons/hicolor/scalable/mimetypes/application-x-tellico.svg - -# Remove dead symlink from French translation -%__rm %{?buildroot}%{tde_tdedocdir}/HTML/fr/tellico/common - - -%find_lang %{tdecomp} - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{tdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/tellico -#%{tde_datadir}/pixmaps -%{tde_datadir}/applications -%{tde_datadir}/config/tellicorc - -%files data -%defattr(-,root,root,-) -%{tde_datadir}/apps/tellico/*.xsl -%{tde_datadir}/apps/tellico/*.xml -%{tde_datadir}/apps/tellico/*.png -%{tde_datadir}/apps/tellico/entry-templates -%{tde_datadir}/apps/tellico/*.py* -%{tde_datadir}/apps/tellico/pics -%{tde_datadir}/apps/tellico/report-templates -%{tde_datadir}/apps/tellico/tellico.dtd -%{tde_datadir}/apps/tellico/tellico.tips -%{tde_datadir}/apps/tellico/tellico2html.js -%{tde_datadir}/apps/tellico/tellicoui.rc -%{tde_datadir}/apps/tellico/welcome.html -%{tde_datadir}/config.kcfg -%{tde_tdedocdir}/HTML/*/tellico/ -%{tde_datadir}/icons -%{tde_datadir}/apps/mime -%{tde_datadir}/mimelnk -%{tde_datadir}/apps/kconf_update/tellico-1-3-update.pl -%{tde_datadir}/apps/kconf_update/tellico-rename.upd -%{tde_datadir}/apps/kconf_update/tellico.upd - -%files scripts -%defattr(-,root,root,-) -%{tde_datadir}/apps/tellico/data-sources -%{tde_datadir}/apps/tellico/z3950-servers.cfg - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 1.3.2.1-5 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 1.3.2.1-4 -- Initial build for TDE 3.5.13.1 - -* Sat Dec 03 2011 Francois Andriot - 1.3.2.1-3 -- Fix compilation with GCC 4.7 [Bug #958] - -* Fri Nov 25 2011 Francois Andriot - 1.3.2.1-2 -- Fix HTML directory location - -* Thu Nov 24 2011 Francois Andriot - 1.3.2.1-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/tellico/trinity-tellico-3.5.13.spec b/redhat/applications/tellico/trinity-tellico-3.5.13.spec deleted file mode 100644 index 575a0b426..000000000 --- a/redhat/applications/tellico/trinity-tellico-3.5.13.spec +++ /dev/null @@ -1,226 +0,0 @@ -# Default version for this component -%define kdecomp tellico - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_tdedocdir} - - -Name: trinity-%{kdecomp} -Summary: Icollection manager for books, videos, music [Trinity] -Version: 1.3.2.1 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://periapsis.org/tellico/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - - -# [tellico] Fix compilation with GCC 4.7 [Bug #958] -Patch1: tellico-3.5.13-fix_gcc47_compilation.patch -# [tellico] Fix "not a string literal" error -Patch2: tellico-3.5.13-fix_not_a_string_literal_error.patch - - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - -Requires: %{name}-data = %{version}-%{release} -Requires: %{name}-scripts = %{version}-%{release} - -%description -Tellico is a collection manager for TDE. It includes default collections for -books, bibliographies, comic books, videos, music, coins, stamps, trading -cards, and wines, and also allows custom collections; with unlimited -user-defined fields allowed. Automatically formatted names, sorting by any -property, filters, automatic ISBN validation and full customization for -printing or display through XSLT files are some of the features present. It -can import CSV, RIS, BibTeX, and BibTeXML files; and export CSV, HTML, BibTeX, -BibTeXML, and PilotDB. Tellico can also import data from Amazon, IMDb, CDDB, -or any US-MARC compliant z39.50 server. - -The files are stored in XML format, avoiding the need for database server. -It also makes it easy for other softwares to use the Tellico data. - - -%package data -Group: Applications/Utilities -Summary: collection manager for books, videos, music [data] [Trinity] - -%description data -Tellico is a collection manager for TDE. It includes default collections for -books, bibliographies, comic books, videos, music, coins, stamps, trading -cards, and wines, and also allows custom collections; with unlimited -user-defined fields allowed. Automatically formatted names, sorting by any -property, filters, automatic ISBN validation and full customization for -printing or display through XSLT files are some of the features present. It -can import CSV, RIS, BibTeX, and BibTeXML files; and export CSV, HTML, BibTeX, -BibTeXML, and PilotDB. Tellico can also import data from Amazon, IMDb, CDDB, -or any US-MARC compliant z39.50 server. - -The files are stored in XML format, avoiding the need for database server. -It also makes it easy for other softwares to use the Tellico data. - -This package contains the architecture independent files, such data files and -documentation. - -%package scripts -Group: Applications/Utilities -Summary: collection manager for books, videos, music [scripts] [Trinity] - -%description scripts -Tellico is a collection manager for TDE. It includes default collections for -books, bibliographies, comic books, videos, music, coins, stamps, trading -cards, and wines, and also allows custom collections; with unlimited -user-defined fields allowed. Automatically formatted names, sorting by any -property, filters, automatic ISBN validation and full customization for -printing or display through XSLT files are some of the features present. It -can import CSV, RIS, BibTeX, and BibTeXML files; and export CSV, HTML, BibTeX, -BibTeXML, and PilotDB. Tellico can also import data from Amazon, IMDb, CDDB, -or any US-MARC compliant z39.50 server. - -The files are stored in XML format, avoiding the need for database server. -It also makes it easy for other softwares to use the Tellico data. - -This package contains the scripts to import data from external sources, such -as websites. As the format of the data may change, these scripts are provided -as a separate package which can be updated through debian-volatile. - - -%prep -%setup -q -n applications/%{kdecomp} -%patch1 -p1 -%patch2 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_includedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Add svg icons to xdg directories -%__install -D -c -p -m 644 -T icons/tellico.svg %{?buildroot}%{tde_datadir}/icons/hicolor/scalable/apps/tellico.svg -%__install -D -c -p -m 644 -T icons/tellico_mime.svg %{?buildroot}%{tde_datadir}/icons/hicolor/scalable/mimetypes/application-x-tellico.svg - -# Remove dead symlink from French translation -%__rm %{?buildroot}%{tde_tdedocdir}/HTML/fr/tellico/common - - -%find_lang %{kdecomp} - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_bindir}/tellico -#%{tde_datadir}/pixmaps -%{tde_datadir}/applications -%{tde_datadir}/config/tellicorc - -%files data -%defattr(-,root,root,-) -%{tde_datadir}/apps/tellico/*.xsl -%{tde_datadir}/apps/tellico/*.xml -%{tde_datadir}/apps/tellico/*.png -%{tde_datadir}/apps/tellico/entry-templates -%{tde_datadir}/apps/tellico/*.py* -%{tde_datadir}/apps/tellico/pics -%{tde_datadir}/apps/tellico/report-templates -%{tde_datadir}/apps/tellico/tellico.dtd -%{tde_datadir}/apps/tellico/tellico.tips -%{tde_datadir}/apps/tellico/tellico2html.js -%{tde_datadir}/apps/tellico/tellicoui.rc -%{tde_datadir}/apps/tellico/welcome.html -%{tde_datadir}/config.kcfg -%{tde_tdedocdir}/HTML/*/tellico/ -%{tde_datadir}/icons -%{tde_datadir}/apps/mime -%{tde_datadir}/mimelnk -%{tde_datadir}/apps/kconf_update/tellico-1-3-update.pl -%{tde_datadir}/apps/kconf_update/tellico-rename.upd -%{tde_datadir}/apps/kconf_update/tellico.upd - -%files scripts -%defattr(-,root,root,-) -%{tde_datadir}/apps/tellico/data-sources -%{tde_datadir}/apps/tellico/z3950-servers.cfg - - -%Changelog -* Sat Dec 03 2011 Francois Andriot - 1.3.2.1-3 -- Fix compilation with GCC 4.7 [Bug #958] - -* Fri Nov 25 2011 Francois Andriot - 1.3.2.1-2 -- Fix HTML directory location - -* Thu Nov 24 2011 Francois Andriot - 1.3.2.1-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/twin-style-crystal/kwin-style-crystal-3.5.12.spec b/redhat/applications/twin-style-crystal/kwin-style-crystal-3.5.12.spec new file mode 100644 index 000000000..624249bf0 --- /dev/null +++ b/redhat/applications/twin-style-crystal/kwin-style-crystal-3.5.12.spec @@ -0,0 +1,109 @@ +# Default version for this component +%define kdecomp kwin-style-crystal +%define version 1.0.5 +%define release 1 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{tde_prefix}/share/doc +%endif + +# TDE 3.5.13 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir} +%define tde_includedir %{tde_includedir}/kde +%define tde_libdir %{tde_libdir}/kde3 + + +Name: trinity-%{kdecomp} +Summary: Semi transparant window decoration for Trinity. +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.12.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +Crystal offers you pseudo transparent titlebar, buttons and borders +transparent, so you can see more of your lovely background image +Transparancy and buttons can be costumized to match your wishes. +Offers rounded corners as well + +And it is of course nice to look at. Upstream says: +"- Don't forget to breathe, while drooling." + + +%prep +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +sed -i admin/acinclude.m4.in \ + -e "s,/usr/include/tqt,%{tde_includedir}/tqt,g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_tdelibdir}/kwin3_crystal.la +%{tde_tdelibdir}/kwin3_crystal.so +%{tde_tdelibdir}/kwin_crystal_config.la +%{tde_tdelibdir}/kwin_crystal_config.so +%{tde_datadir}/apps/kwin/crystal.desktop + + +%Changelog +* Sat Nov 19 2011 Francois Andriot - 1.0.5-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/twin-style-crystal/kwin-style-crystal-3.5.13.1.spec b/redhat/applications/twin-style-crystal/kwin-style-crystal-3.5.13.1.spec new file mode 100644 index 000000000..43e81df9c --- /dev/null +++ b/redhat/applications/twin-style-crystal/kwin-style-crystal-3.5.13.1.spec @@ -0,0 +1,124 @@ +# Default version for this component +%define kdecomp kwin-style-crystal + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_tdedocdir} + + +Name: trinity-%{kdecomp} +Summary: Semi transparant window decoration for Trinity. +Version: 1.0.5 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +Crystal offers you pseudo transparent titlebar, buttons and borders +transparent, so you can see more of your lovely background image +Transparancy and buttons can be costumized to match your wishes. +Offers rounded corners as well + +And it is of course nice to look at. Upstream says: +"- Don't forget to breathe, while drooling." + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_tdelibdir}/kwin3_crystal.la +%{tde_tdelibdir}/kwin3_crystal.so +%{tde_tdelibdir}/kwin_crystal_config.la +%{tde_tdelibdir}/kwin_crystal_config.so +%{tde_datadir}/apps/kwin/crystal.desktop + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 1.0.5-2 +- Initial build for TDE 3.5.13.1 + +* Sat Nov 19 2011 Francois Andriot - 1.0.5-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/twin-style-crystal/kwin-style-crystal-3.5.13.spec b/redhat/applications/twin-style-crystal/kwin-style-crystal-3.5.13.spec new file mode 100644 index 000000000..0febc8eb1 --- /dev/null +++ b/redhat/applications/twin-style-crystal/kwin-style-crystal-3.5.13.spec @@ -0,0 +1,116 @@ +# Default version for this component +%define kdecomp kwin-style-crystal + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_tdedocdir} + + +Name: trinity-%{kdecomp} +Summary: Semi transparant window decoration for Trinity. +Version: 1.0.5 +Release: 1%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + + +%description +Crystal offers you pseudo transparent titlebar, buttons and borders +transparent, so you can see more of your lovely background image +Transparancy and buttons can be costumized to match your wishes. +Offers rounded corners as well + +And it is of course nice to look at. Upstream says: +"- Don't forget to breathe, while drooling." + + +%prep +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_includedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_tdelibdir}/kwin3_crystal.la +%{tde_tdelibdir}/kwin3_crystal.so +%{tde_tdelibdir}/kwin_crystal_config.la +%{tde_tdelibdir}/kwin_crystal_config.so +%{tde_datadir}/apps/kwin/crystal.desktop + + +%Changelog +* Sat Nov 19 2011 Francois Andriot - 1.0.5-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/twin-style-crystal/trinity-kwin-style-crystal-3.5.12.spec b/redhat/applications/twin-style-crystal/trinity-kwin-style-crystal-3.5.12.spec deleted file mode 100644 index 624249bf0..000000000 --- a/redhat/applications/twin-style-crystal/trinity-kwin-style-crystal-3.5.12.spec +++ /dev/null @@ -1,109 +0,0 @@ -# Default version for this component -%define kdecomp kwin-style-crystal -%define version 1.0.5 -%define release 1 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{tde_prefix}/share/doc -%endif - -# TDE 3.5.13 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_includedir %{tde_includedir}/kde -%define tde_libdir %{tde_libdir}/kde3 - - -Name: trinity-%{kdecomp} -Summary: Semi transparant window decoration for Trinity. -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.12.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -Crystal offers you pseudo transparent titlebar, buttons and borders -transparent, so you can see more of your lovely background image -Transparancy and buttons can be costumized to match your wishes. -Offers rounded corners as well - -And it is of course nice to look at. Upstream says: -"- Don't forget to breathe, while drooling." - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -sed -i admin/acinclude.m4.in \ - -e "s,/usr/include/tqt,%{tde_includedir}/tqt,g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_tdelibdir}/kwin3_crystal.la -%{tde_tdelibdir}/kwin3_crystal.so -%{tde_tdelibdir}/kwin_crystal_config.la -%{tde_tdelibdir}/kwin_crystal_config.so -%{tde_datadir}/apps/kwin/crystal.desktop - - -%Changelog -* Sat Nov 19 2011 Francois Andriot - 1.0.5-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/twin-style-crystal/trinity-kwin-style-crystal-3.5.13.1.spec b/redhat/applications/twin-style-crystal/trinity-kwin-style-crystal-3.5.13.1.spec deleted file mode 100644 index 43e81df9c..000000000 --- a/redhat/applications/twin-style-crystal/trinity-kwin-style-crystal-3.5.13.1.spec +++ /dev/null @@ -1,124 +0,0 @@ -# Default version for this component -%define kdecomp kwin-style-crystal - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_tdedocdir} - - -Name: trinity-%{kdecomp} -Summary: Semi transparant window decoration for Trinity. -Version: 1.0.5 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -Crystal offers you pseudo transparent titlebar, buttons and borders -transparent, so you can see more of your lovely background image -Transparancy and buttons can be costumized to match your wishes. -Offers rounded corners as well - -And it is of course nice to look at. Upstream says: -"- Don't forget to breathe, while drooling." - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_tdelibdir}/kwin3_crystal.la -%{tde_tdelibdir}/kwin3_crystal.so -%{tde_tdelibdir}/kwin_crystal_config.la -%{tde_tdelibdir}/kwin_crystal_config.so -%{tde_datadir}/apps/kwin/crystal.desktop - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 1.0.5-2 -- Initial build for TDE 3.5.13.1 - -* Sat Nov 19 2011 Francois Andriot - 1.0.5-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/twin-style-crystal/trinity-kwin-style-crystal-3.5.13.spec b/redhat/applications/twin-style-crystal/trinity-kwin-style-crystal-3.5.13.spec deleted file mode 100644 index 0febc8eb1..000000000 --- a/redhat/applications/twin-style-crystal/trinity-kwin-style-crystal-3.5.13.spec +++ /dev/null @@ -1,116 +0,0 @@ -# Default version for this component -%define kdecomp kwin-style-crystal - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_tdedocdir} - - -Name: trinity-%{kdecomp} -Summary: Semi transparant window decoration for Trinity. -Version: 1.0.5 -Release: 1%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - - -%description -Crystal offers you pseudo transparent titlebar, buttons and borders -transparent, so you can see more of your lovely background image -Transparancy and buttons can be costumized to match your wishes. -Offers rounded corners as well - -And it is of course nice to look at. Upstream says: -"- Don't forget to breathe, while drooling." - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_includedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_tdelibdir}/kwin3_crystal.la -%{tde_tdelibdir}/kwin3_crystal.so -%{tde_tdelibdir}/kwin_crystal_config.la -%{tde_tdelibdir}/kwin_crystal_config.so -%{tde_datadir}/apps/kwin/crystal.desktop - - -%Changelog -* Sat Nov 19 2011 Francois Andriot - 1.0.5-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/twin-style-crystal/trinity-twin-style-crystal-3.5.13.2.spec b/redhat/applications/twin-style-crystal/trinity-twin-style-crystal-3.5.13.2.spec deleted file mode 100644 index d18037573..000000000 --- a/redhat/applications/twin-style-crystal/trinity-twin-style-crystal-3.5.13.2.spec +++ /dev/null @@ -1,129 +0,0 @@ -# Default version for this component -%define tdecomp twin-style-crystal - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_tdedocdir} - - -Name: trinity-%{tdecomp} -Summary: Semi transparant window decoration for Trinity. -Version: 1.0.5 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -Obsoletes: trinity-kwin-style-crystal < %{version}-%{release} -Provides: trinity-kwin-style-crystal = %{version}-%{release} - -%description -Crystal offers you pseudo transparent titlebar, buttons and borders -transparent, so you can see more of your lovely background image -Transparancy and buttons can be costumized to match your wishes. -Offers rounded corners as well - -And it is of course nice to look at. Upstream says: -"- Don't forget to breathe, while drooling." - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_tdelibdir}/kwin3_crystal.la -%{tde_tdelibdir}/kwin3_crystal.so -%{tde_tdelibdir}/kwin_crystal_config.la -%{tde_tdelibdir}/kwin_crystal_config.so -%{tde_datadir}/apps/kwin/crystal.desktop - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 1.0.5-3 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 1.0.5-2 -- Initial build for TDE 3.5.13.1 - -* Sat Nov 19 2011 Francois Andriot - 1.0.5-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/twin-style-crystal/twin-style-crystal-3.5.13.2.spec b/redhat/applications/twin-style-crystal/twin-style-crystal-3.5.13.2.spec new file mode 100644 index 000000000..d18037573 --- /dev/null +++ b/redhat/applications/twin-style-crystal/twin-style-crystal-3.5.13.2.spec @@ -0,0 +1,129 @@ +# Default version for this component +%define tdecomp twin-style-crystal + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_tdedocdir} + + +Name: trinity-%{tdecomp} +Summary: Semi transparant window decoration for Trinity. +Version: 1.0.5 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +Obsoletes: trinity-kwin-style-crystal < %{version}-%{release} +Provides: trinity-kwin-style-crystal = %{version}-%{release} + +%description +Crystal offers you pseudo transparent titlebar, buttons and borders +transparent, so you can see more of your lovely background image +Transparancy and buttons can be costumized to match your wishes. +Offers rounded corners as well + +And it is of course nice to look at. Upstream says: +"- Don't forget to breathe, while drooling." + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_tdelibdir}/kwin3_crystal.la +%{tde_tdelibdir}/kwin3_crystal.so +%{tde_tdelibdir}/kwin_crystal_config.la +%{tde_tdelibdir}/kwin_crystal_config.so +%{tde_datadir}/apps/kwin/crystal.desktop + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 1.0.5-3 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 1.0.5-2 +- Initial build for TDE 3.5.13.1 + +* Sat Nov 19 2011 Francois Andriot - 1.0.5-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/wlassistant/trinity-wlassistant-3.5.13.1.spec b/redhat/applications/wlassistant/trinity-wlassistant-3.5.13.1.spec deleted file mode 100644 index 6641887f6..000000000 --- a/redhat/applications/wlassistant/trinity-wlassistant-3.5.13.1.spec +++ /dev/null @@ -1,134 +0,0 @@ -# Default version for this component -%define kdecomp wlassistant - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_tdedocdir} - - -Name: trinity-%{kdecomp} -Summary: User friendly KDE frontend for wireless network connection [Trinity] -Version: 0.5.7 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://wlassistant.sourceforge.net/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: python -BuildRequires: cmake >= 2.8 - -%description -Wireless Assistant scans for wireless access points and displays link quality, -encryption and other useful information. When user wants to connect to a -network, Wireless Assistant opens up its wizards and guides the user through -Wi-Fi settings. After a successful connection is made the settings are -remembered so next time the user won't have to enter them again. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DBUILD_ALL=on \ - .. - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc ChangeLog VERSION -%{tde_bindir}/wlassistant -%{tde_tdeappdir}/wlassistant.desktop -%{tde_datadir}/icons/hicolor/16x16/apps/wlassistant.png -%{tde_datadir}/icons/hicolor/32x32/apps/wlassistant.png -%lang(ar) %{tde_datadir}/locale/ar/LC_MESSAGES/wlassistant.mo -%lang(ca) %{tde_datadir}/locale/ca/LC_MESSAGES/wlassistant.mo -%lang(es) %{tde_datadir}/locale/es/LC_MESSAGES/wlassistant.mo -%lang(fr) %{tde_datadir}/locale/fr/LC_MESSAGES/wlassistant.mo -%lang(nb) %{tde_datadir}/locale/nb/LC_MESSAGES/wlassistant.mo -%lang(pl) %{tde_datadir}/locale/pl/LC_MESSAGES/wlassistant.mo -%lang(pt) %{tde_datadir}/locale/pt_BR/LC_MESSAGES/wlassistant.mo -%lang(sv) %{tde_datadir}/locale/sv/LC_MESSAGES/wlassistant.mo -%lang(zh_CN) %{tde_datadir}/locale/zh_CN/LC_MESSAGES/wlassistant.mo -%lang(zh_TW) %{tde_datadir}/locale/zh_TW/LC_MESSAGES/wlassistant.mo - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.5.7-2 -- Initial build for TDE 3.5.13.1 - -* Tue Nov 29 2011 Francois Andriot - 0.5.7-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/wlassistant/trinity-wlassistant-3.5.13.2.spec b/redhat/applications/wlassistant/trinity-wlassistant-3.5.13.2.spec deleted file mode 100644 index 1699d55c6..000000000 --- a/redhat/applications/wlassistant/trinity-wlassistant-3.5.13.2.spec +++ /dev/null @@ -1,143 +0,0 @@ -# Default version for this component -%define tdecomp wlassistant - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_tdedocdir} - - -Name: trinity-%{tdecomp} -Summary: User friendly KDE frontend for wireless network connection [Trinity] -Version: 0.5.7 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://wlassistant.sourceforge.net/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: python -BuildRequires: cmake >= 2.8 - -%description -Wireless Assistant scans for wireless access points and displays link quality, -encryption and other useful information. When user wants to connect to a -network, Wireless Assistant opens up its wizards and guides the user through -Wi-Fi settings. After a successful connection is made the settings are -remembered so next time the user won't have to enter them again. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -# Shitty hack for RHEL4 ... -if [ -d "/usr/X11R6" ]; then - export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/X11R6/include:/usr/X11R6/%{_lib}" - export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DBUILD_ALL=on \ - .. - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc ChangeLog VERSION -%{tde_bindir}/wlassistant -%{tde_tdeappdir}/wlassistant.desktop -%{tde_datadir}/icons/hicolor/16x16/apps/wlassistant.png -%{tde_datadir}/icons/hicolor/32x32/apps/wlassistant.png -%lang(ar) %{tde_datadir}/locale/ar/LC_MESSAGES/wlassistant.mo -%lang(ca) %{tde_datadir}/locale/ca/LC_MESSAGES/wlassistant.mo -%lang(es) %{tde_datadir}/locale/es/LC_MESSAGES/wlassistant.mo -%lang(fr) %{tde_datadir}/locale/fr/LC_MESSAGES/wlassistant.mo -%lang(nb) %{tde_datadir}/locale/nb/LC_MESSAGES/wlassistant.mo -%lang(pl) %{tde_datadir}/locale/pl/LC_MESSAGES/wlassistant.mo -%lang(pt) %{tde_datadir}/locale/pt_BR/LC_MESSAGES/wlassistant.mo -%lang(sv) %{tde_datadir}/locale/sv/LC_MESSAGES/wlassistant.mo -%lang(zh_CN) %{tde_datadir}/locale/zh_CN/LC_MESSAGES/wlassistant.mo -%lang(zh_TW) %{tde_datadir}/locale/zh_TW/LC_MESSAGES/wlassistant.mo - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 0.5.7-3 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.5.7-2 -- Initial build for TDE 3.5.13.1 - -* Tue Nov 29 2011 Francois Andriot - 0.5.7-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/wlassistant/trinity-wlassistant-3.5.13.spec b/redhat/applications/wlassistant/trinity-wlassistant-3.5.13.spec deleted file mode 100644 index 7c8130a21..000000000 --- a/redhat/applications/wlassistant/trinity-wlassistant-3.5.13.spec +++ /dev/null @@ -1,128 +0,0 @@ -# Default version for this component -%define kdecomp wlassistant - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_tdedocdir} - - -Name: trinity-%{kdecomp} -Summary: User friendly KDE frontend for wireless network connection [Trinity] -Version: 0.5.7 -Release: 1%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://wlassistant.sourceforge.net/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: python -BuildRequires: scons - -%description -Wireless Assistant scans for wireless access points and displays link quality, -encryption and other useful information. When user wants to connect to a -network, Wireless Assistant opens up its wizards and guides the user through -Wi-Fi settings. After a successful connection is made the settings are -remembered so next time the user won't have to enter them again. - - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside SCONS files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i bksys/kde.py \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -scons configure \ - prefix=%{tde_prefix} \ - execprefix=%{tde_bindir} \ - libdir=%{tde_libdir} \ - qtdir=${QTDIR} \ - kdedir=%{tde_prefix} \ - kdeincludes=%{tde_tdeincludedir} \ - qtincludes=${QTINC} \ - kdelibs=%{tde_libdir} \ - qtlibs=${QTLIB} \ - extraincludes=%{tde_includedir}:%{tde_includedir}/tqt:${QTINC} - -scons -j4 - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -scons install DESTDIR=%{buildroot} - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc ChangeLog VERSION -%{tde_bindir}/wlassistant -%{tde_datadir}/applnk/Utilities/wlassistant.desktop -%{tde_datadir}/icons/hicolor/16x16/apps/wlassistant.png -%{tde_datadir}/icons/hicolor/32x32/apps/wlassistant.png -%lang(ar) %{tde_datadir}/locale/ar/LC_MESSAGES/wlassistant.mo -%lang(ca) %{tde_datadir}/locale/ca/LC_MESSAGES/wlassistant.mo -%lang(es) %{tde_datadir}/locale/es/LC_MESSAGES/wlassistant.mo -%lang(fr) %{tde_datadir}/locale/fr/LC_MESSAGES/wlassistant.mo -%lang(nb) %{tde_datadir}/locale/nb/LC_MESSAGES/wlassistant.mo -%lang(pl) %{tde_datadir}/locale/pl/LC_MESSAGES/wlassistant.mo -%lang(pt) %{tde_datadir}/locale/pt_BR/LC_MESSAGES/wlassistant.mo -%lang(sv) %{tde_datadir}/locale/sv/LC_MESSAGES/wlassistant.mo -%lang(zh_CN) %{tde_datadir}/locale/zh_CN/LC_MESSAGES/wlassistant.mo -%lang(zh_TW) %{tde_datadir}/locale/zh_TW/LC_MESSAGES/wlassistant.mo - - -%Changelog -* Tue Nov 29 2011 Francois Andriot - 0.5.7-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/wlassistant/wlassistant-3.5.13.1.spec b/redhat/applications/wlassistant/wlassistant-3.5.13.1.spec new file mode 100644 index 000000000..6641887f6 --- /dev/null +++ b/redhat/applications/wlassistant/wlassistant-3.5.13.1.spec @@ -0,0 +1,134 @@ +# Default version for this component +%define kdecomp wlassistant + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_tdedocdir} + + +Name: trinity-%{kdecomp} +Summary: User friendly KDE frontend for wireless network connection [Trinity] +Version: 0.5.7 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://wlassistant.sourceforge.net/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: python +BuildRequires: cmake >= 2.8 + +%description +Wireless Assistant scans for wireless access points and displays link quality, +encryption and other useful information. When user wants to connect to a +network, Wireless Assistant opens up its wizards and guides the user through +Wi-Fi settings. After a successful connection is made the settings are +remembered so next time the user won't have to enter them again. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DBUILD_ALL=on \ + .. + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc ChangeLog VERSION +%{tde_bindir}/wlassistant +%{tde_tdeappdir}/wlassistant.desktop +%{tde_datadir}/icons/hicolor/16x16/apps/wlassistant.png +%{tde_datadir}/icons/hicolor/32x32/apps/wlassistant.png +%lang(ar) %{tde_datadir}/locale/ar/LC_MESSAGES/wlassistant.mo +%lang(ca) %{tde_datadir}/locale/ca/LC_MESSAGES/wlassistant.mo +%lang(es) %{tde_datadir}/locale/es/LC_MESSAGES/wlassistant.mo +%lang(fr) %{tde_datadir}/locale/fr/LC_MESSAGES/wlassistant.mo +%lang(nb) %{tde_datadir}/locale/nb/LC_MESSAGES/wlassistant.mo +%lang(pl) %{tde_datadir}/locale/pl/LC_MESSAGES/wlassistant.mo +%lang(pt) %{tde_datadir}/locale/pt_BR/LC_MESSAGES/wlassistant.mo +%lang(sv) %{tde_datadir}/locale/sv/LC_MESSAGES/wlassistant.mo +%lang(zh_CN) %{tde_datadir}/locale/zh_CN/LC_MESSAGES/wlassistant.mo +%lang(zh_TW) %{tde_datadir}/locale/zh_TW/LC_MESSAGES/wlassistant.mo + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.5.7-2 +- Initial build for TDE 3.5.13.1 + +* Tue Nov 29 2011 Francois Andriot - 0.5.7-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/wlassistant/wlassistant-3.5.13.2.spec b/redhat/applications/wlassistant/wlassistant-3.5.13.2.spec new file mode 100644 index 000000000..1699d55c6 --- /dev/null +++ b/redhat/applications/wlassistant/wlassistant-3.5.13.2.spec @@ -0,0 +1,143 @@ +# Default version for this component +%define tdecomp wlassistant + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_tdedocdir} + + +Name: trinity-%{tdecomp} +Summary: User friendly KDE frontend for wireless network connection [Trinity] +Version: 0.5.7 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://wlassistant.sourceforge.net/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: python +BuildRequires: cmake >= 2.8 + +%description +Wireless Assistant scans for wireless access points and displays link quality, +encryption and other useful information. When user wants to connect to a +network, Wireless Assistant opens up its wizards and guides the user through +Wi-Fi settings. After a successful connection is made the settings are +remembered so next time the user won't have to enter them again. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +# Shitty hack for RHEL4 ... +if [ -d "/usr/X11R6" ]; then + export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/X11R6/include:/usr/X11R6/%{_lib}" + export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DBUILD_ALL=on \ + .. + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc ChangeLog VERSION +%{tde_bindir}/wlassistant +%{tde_tdeappdir}/wlassistant.desktop +%{tde_datadir}/icons/hicolor/16x16/apps/wlassistant.png +%{tde_datadir}/icons/hicolor/32x32/apps/wlassistant.png +%lang(ar) %{tde_datadir}/locale/ar/LC_MESSAGES/wlassistant.mo +%lang(ca) %{tde_datadir}/locale/ca/LC_MESSAGES/wlassistant.mo +%lang(es) %{tde_datadir}/locale/es/LC_MESSAGES/wlassistant.mo +%lang(fr) %{tde_datadir}/locale/fr/LC_MESSAGES/wlassistant.mo +%lang(nb) %{tde_datadir}/locale/nb/LC_MESSAGES/wlassistant.mo +%lang(pl) %{tde_datadir}/locale/pl/LC_MESSAGES/wlassistant.mo +%lang(pt) %{tde_datadir}/locale/pt_BR/LC_MESSAGES/wlassistant.mo +%lang(sv) %{tde_datadir}/locale/sv/LC_MESSAGES/wlassistant.mo +%lang(zh_CN) %{tde_datadir}/locale/zh_CN/LC_MESSAGES/wlassistant.mo +%lang(zh_TW) %{tde_datadir}/locale/zh_TW/LC_MESSAGES/wlassistant.mo + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 0.5.7-3 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.5.7-2 +- Initial build for TDE 3.5.13.1 + +* Tue Nov 29 2011 Francois Andriot - 0.5.7-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/wlassistant/wlassistant-3.5.13.spec b/redhat/applications/wlassistant/wlassistant-3.5.13.spec new file mode 100644 index 000000000..7c8130a21 --- /dev/null +++ b/redhat/applications/wlassistant/wlassistant-3.5.13.spec @@ -0,0 +1,128 @@ +# Default version for this component +%define kdecomp wlassistant + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_tdedocdir} + + +Name: trinity-%{kdecomp} +Summary: User friendly KDE frontend for wireless network connection [Trinity] +Version: 0.5.7 +Release: 1%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://wlassistant.sourceforge.net/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: python +BuildRequires: scons + +%description +Wireless Assistant scans for wireless access points and displays link quality, +encryption and other useful information. When user wants to connect to a +network, Wireless Assistant opens up its wizards and guides the user through +Wi-Fi settings. After a successful connection is made the settings are +remembered so next time the user won't have to enter them again. + + +%prep +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside SCONS files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i bksys/kde.py \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +scons configure \ + prefix=%{tde_prefix} \ + execprefix=%{tde_bindir} \ + libdir=%{tde_libdir} \ + qtdir=${QTDIR} \ + kdedir=%{tde_prefix} \ + kdeincludes=%{tde_tdeincludedir} \ + qtincludes=${QTINC} \ + kdelibs=%{tde_libdir} \ + qtlibs=${QTLIB} \ + extraincludes=%{tde_includedir}:%{tde_includedir}/tqt:${QTINC} + +scons -j4 + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +scons install DESTDIR=%{buildroot} + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc ChangeLog VERSION +%{tde_bindir}/wlassistant +%{tde_datadir}/applnk/Utilities/wlassistant.desktop +%{tde_datadir}/icons/hicolor/16x16/apps/wlassistant.png +%{tde_datadir}/icons/hicolor/32x32/apps/wlassistant.png +%lang(ar) %{tde_datadir}/locale/ar/LC_MESSAGES/wlassistant.mo +%lang(ca) %{tde_datadir}/locale/ca/LC_MESSAGES/wlassistant.mo +%lang(es) %{tde_datadir}/locale/es/LC_MESSAGES/wlassistant.mo +%lang(fr) %{tde_datadir}/locale/fr/LC_MESSAGES/wlassistant.mo +%lang(nb) %{tde_datadir}/locale/nb/LC_MESSAGES/wlassistant.mo +%lang(pl) %{tde_datadir}/locale/pl/LC_MESSAGES/wlassistant.mo +%lang(pt) %{tde_datadir}/locale/pt_BR/LC_MESSAGES/wlassistant.mo +%lang(sv) %{tde_datadir}/locale/sv/LC_MESSAGES/wlassistant.mo +%lang(zh_CN) %{tde_datadir}/locale/zh_CN/LC_MESSAGES/wlassistant.mo +%lang(zh_TW) %{tde_datadir}/locale/zh_TW/LC_MESSAGES/wlassistant.mo + + +%Changelog +* Tue Nov 29 2011 Francois Andriot - 0.5.7-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/applications/yakuake/trinity-yakuake-3.5.12.spec b/redhat/applications/yakuake/trinity-yakuake-3.5.12.spec deleted file mode 100644 index 0bec5e1f4..000000000 --- a/redhat/applications/yakuake/trinity-yakuake-3.5.12.spec +++ /dev/null @@ -1,97 +0,0 @@ -# Default version for this component -%define kdecomp yakuake -%define version 2.8.1 -%define release 2 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_includedir %{_includedir}/kde -%define tde_libdir %{_libdir}/kde3 - - -Name: trinity-%{kdecomp} -Summary: Yakuake is a Quake-style terminal emulator based on KDE Konsole technology. -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Source0: %{kdecomp}-3.5.12.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: trinity-kdebase-devel -BuildRequires: desktop-file-utils - -%description -Yakuake is a Quake-style terminal emulator based on KDE Konsole technology. - -%prep -%setup -q -n applications/%{kdecomp} - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -%configure \ - --disable-rpath \ - --with-extra-includes=%{_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{buildroot} -%make_install - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : - -%postun -touch --no-create %{_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{_bindir}/* -%{_datadir}/applications/*/*.desktop -%{_datadir}/apps/*/ -%{_datadir}/icons/*/*/*/* -%{_datadir}/locale/*/*/*.mo -%{_datadir}/config.kcfg/*.kcfg - -%Changelog -* Tue Sep 14 2011 Francois Andriot - 2.8.1-2 -- Import to GIT - -* Mon Aug 22 2011 Francois Andriot - 2.8.1-1 -- Correct macro to install under "/opt", if desired - -* Sun Aug 14 2011 Francois Andriot - 2.8.1-0 -- Initial build for RHEL 6.0 - diff --git a/redhat/applications/yakuake/trinity-yakuake-3.5.13.1.spec b/redhat/applications/yakuake/trinity-yakuake-3.5.13.1.spec deleted file mode 100644 index 8b05e7122..000000000 --- a/redhat/applications/yakuake/trinity-yakuake-3.5.13.1.spec +++ /dev/null @@ -1,134 +0,0 @@ -# Default version for this component -%define kdecomp yakuake - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_tdedocdir} - - -Name: trinity-%{kdecomp} -Summary: Yakuake is a Quake-style terminal emulator based on KDE Konsole technology. -Version: 2.8.1 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils - -%description -Yakuake is a Quake-style terminal emulator based on KDE Konsole technology. - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/* -%{tde_datadir}/applications/*/*.desktop -%{tde_datadir}/apps/*/ -%{tde_datadir}/icons/hicolor/*/*/* -%{tde_datadir}/locale/*/*/*.mo -%{tde_datadir}/config.kcfg/*.kcfg - -%changelog -* Wed Oct 03 2012 Francois Andriot - 2.8.1-4 -- Initial build for TDE 3.5.13.1 - -* Sun Oct 30 2011 Francois Andriot - 2.8.1-3 -- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 - -* Tue Sep 14 2011 Francois Andriot - 2.8.1-2 -- Import to GIT - -* Mon Aug 22 2011 Francois Andriot - 2.8.1-1 -- Correct macro to install under "/opt", if desired - -* Sun Aug 14 2011 Francois Andriot - 2.8.1-0 -- Initial build for RHEL 6.0 - diff --git a/redhat/applications/yakuake/trinity-yakuake-3.5.13.2.spec b/redhat/applications/yakuake/trinity-yakuake-3.5.13.2.spec deleted file mode 100644 index b4a5292d5..000000000 --- a/redhat/applications/yakuake/trinity-yakuake-3.5.13.2.spec +++ /dev/null @@ -1,138 +0,0 @@ -# Default version for this component -%define tdecomp yakuake -%define tdeversion 3.5.13.2 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_tdedocdir} - - -Name: trinity-%{tdecomp} -Summary: Yakuake is a Quake-style terminal emulator based on KDE Konsole technology. -Version: 2.8.1 -Release: 5%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tdeversion}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils - -%description -Yakuake is a Quake-style terminal emulator based on KDE Konsole technology. - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{tdeversion}%{?preversion:~%{preversion}} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/* -%{tde_datadir}/applications/*/*.desktop -%{tde_datadir}/apps/*/ -%{tde_datadir}/icons/hicolor/*/*/* -%{tde_datadir}/locale/*/*/*.mo -%{tde_datadir}/config.kcfg/*.kcfg - -%changelog -* Mon Jun 03 2013 Francois Andriot - 2.8.1-5 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 2.8.1-4 -- Initial build for TDE 3.5.13.1 - -* Sun Oct 30 2011 Francois Andriot - 2.8.1-3 -- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 - -* Tue Sep 14 2011 Francois Andriot - 2.8.1-2 -- Import to GIT - -* Mon Aug 22 2011 Francois Andriot - 2.8.1-1 -- Correct macro to install under "/opt", if desired - -* Sun Aug 14 2011 Francois Andriot - 2.8.1-0 -- Initial build for RHEL 6.0 - diff --git a/redhat/applications/yakuake/trinity-yakuake-3.5.13.spec b/redhat/applications/yakuake/trinity-yakuake-3.5.13.spec deleted file mode 100644 index dd311853e..000000000 --- a/redhat/applications/yakuake/trinity-yakuake-3.5.13.spec +++ /dev/null @@ -1,126 +0,0 @@ -# Default version for this component -%define kdecomp yakuake - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_tdedocdir} - - -Name: trinity-%{kdecomp} -Summary: Yakuake is a Quake-style terminal emulator based on KDE Konsole technology. -Version: 2.8.1 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils - -%description -Yakuake is a Quake-style terminal emulator based on KDE Konsole technology. - -%prep -%setup -q -n applications/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_includedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%post -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - -%postun -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING -%{tde_bindir}/* -%{tde_datadir}/applications/*/*.desktop -%{tde_datadir}/apps/*/ -%{tde_datadir}/icons/hicolor/*/*/* -%{tde_datadir}/locale/*/*/*.mo -%{tde_datadir}/config.kcfg/*.kcfg - -%Changelog -* Sun Oct 30 2011 Francois Andriot - 2.8.1-3 -- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 - -* Tue Sep 14 2011 Francois Andriot - 2.8.1-2 -- Import to GIT - -* Mon Aug 22 2011 Francois Andriot - 2.8.1-1 -- Correct macro to install under "/opt", if desired - -* Sun Aug 14 2011 Francois Andriot - 2.8.1-0 -- Initial build for RHEL 6.0 - diff --git a/redhat/applications/yakuake/yakuake-3.5.12.spec b/redhat/applications/yakuake/yakuake-3.5.12.spec new file mode 100644 index 000000000..0bec5e1f4 --- /dev/null +++ b/redhat/applications/yakuake/yakuake-3.5.12.spec @@ -0,0 +1,97 @@ +# Default version for this component +%define kdecomp yakuake +%define version 2.8.1 +%define release 2 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_prefix}/share/doc +%endif + +# TDE 3.5.12 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir} +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/kde3 + + +Name: trinity-%{kdecomp} +Summary: Yakuake is a Quake-style terminal emulator based on KDE Konsole technology. +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Source0: %{kdecomp}-3.5.12.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: trinity-kdebase-devel +BuildRequires: desktop-file-utils + +%description +Yakuake is a Quake-style terminal emulator based on KDE Konsole technology. + +%prep +%setup -q -n applications/%{kdecomp} + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%configure \ + --disable-rpath \ + --with-extra-includes=%{_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} +%make_install + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : + +%postun +touch --no-create %{_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{_bindir}/* +%{_datadir}/applications/*/*.desktop +%{_datadir}/apps/*/ +%{_datadir}/icons/*/*/*/* +%{_datadir}/locale/*/*/*.mo +%{_datadir}/config.kcfg/*.kcfg + +%Changelog +* Tue Sep 14 2011 Francois Andriot - 2.8.1-2 +- Import to GIT + +* Mon Aug 22 2011 Francois Andriot - 2.8.1-1 +- Correct macro to install under "/opt", if desired + +* Sun Aug 14 2011 Francois Andriot - 2.8.1-0 +- Initial build for RHEL 6.0 + diff --git a/redhat/applications/yakuake/yakuake-3.5.13.1.spec b/redhat/applications/yakuake/yakuake-3.5.13.1.spec new file mode 100644 index 000000000..8b05e7122 --- /dev/null +++ b/redhat/applications/yakuake/yakuake-3.5.13.1.spec @@ -0,0 +1,134 @@ +# Default version for this component +%define kdecomp yakuake + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_tdedocdir} + + +Name: trinity-%{kdecomp} +Summary: Yakuake is a Quake-style terminal emulator based on KDE Konsole technology. +Version: 2.8.1 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils + +%description +Yakuake is a Quake-style terminal emulator based on KDE Konsole technology. + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/* +%{tde_datadir}/applications/*/*.desktop +%{tde_datadir}/apps/*/ +%{tde_datadir}/icons/hicolor/*/*/* +%{tde_datadir}/locale/*/*/*.mo +%{tde_datadir}/config.kcfg/*.kcfg + +%changelog +* Wed Oct 03 2012 Francois Andriot - 2.8.1-4 +- Initial build for TDE 3.5.13.1 + +* Sun Oct 30 2011 Francois Andriot - 2.8.1-3 +- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 + +* Tue Sep 14 2011 Francois Andriot - 2.8.1-2 +- Import to GIT + +* Mon Aug 22 2011 Francois Andriot - 2.8.1-1 +- Correct macro to install under "/opt", if desired + +* Sun Aug 14 2011 Francois Andriot - 2.8.1-0 +- Initial build for RHEL 6.0 + diff --git a/redhat/applications/yakuake/yakuake-3.5.13.2.spec b/redhat/applications/yakuake/yakuake-3.5.13.2.spec new file mode 100644 index 000000000..b4a5292d5 --- /dev/null +++ b/redhat/applications/yakuake/yakuake-3.5.13.2.spec @@ -0,0 +1,138 @@ +# Default version for this component +%define tdecomp yakuake +%define tdeversion 3.5.13.2 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_tdedocdir} + + +Name: trinity-%{tdecomp} +Summary: Yakuake is a Quake-style terminal emulator based on KDE Konsole technology. +Version: 2.8.1 +Release: 5%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tdeversion}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils + +%description +Yakuake is a Quake-style terminal emulator based on KDE Konsole technology. + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-%{tdeversion}%{?preversion:~%{preversion}} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/* +%{tde_datadir}/applications/*/*.desktop +%{tde_datadir}/apps/*/ +%{tde_datadir}/icons/hicolor/*/*/* +%{tde_datadir}/locale/*/*/*.mo +%{tde_datadir}/config.kcfg/*.kcfg + +%changelog +* Mon Jun 03 2013 Francois Andriot - 2.8.1-5 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 2.8.1-4 +- Initial build for TDE 3.5.13.1 + +* Sun Oct 30 2011 Francois Andriot - 2.8.1-3 +- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 + +* Tue Sep 14 2011 Francois Andriot - 2.8.1-2 +- Import to GIT + +* Mon Aug 22 2011 Francois Andriot - 2.8.1-1 +- Correct macro to install under "/opt", if desired + +* Sun Aug 14 2011 Francois Andriot - 2.8.1-0 +- Initial build for RHEL 6.0 + diff --git a/redhat/applications/yakuake/yakuake-3.5.13.spec b/redhat/applications/yakuake/yakuake-3.5.13.spec new file mode 100644 index 000000000..dd311853e --- /dev/null +++ b/redhat/applications/yakuake/yakuake-3.5.13.spec @@ -0,0 +1,126 @@ +# Default version for this component +%define kdecomp yakuake + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_tdedocdir} + + +Name: trinity-%{kdecomp} +Summary: Yakuake is a Quake-style terminal emulator based on KDE Konsole technology. +Version: 2.8.1 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils + +%description +Yakuake is a Quake-style terminal emulator based on KDE Konsole technology. + +%prep +%setup -q -n applications/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_includedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%post +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + +%postun +touch --no-create %{tde_datadir}/icons/hicolor || : +gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING +%{tde_bindir}/* +%{tde_datadir}/applications/*/*.desktop +%{tde_datadir}/apps/*/ +%{tde_datadir}/icons/hicolor/*/*/* +%{tde_datadir}/locale/*/*/*.mo +%{tde_datadir}/config.kcfg/*.kcfg + +%Changelog +* Sun Oct 30 2011 Francois Andriot - 2.8.1-3 +- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 + +* Tue Sep 14 2011 Francois Andriot - 2.8.1-2 +- Import to GIT + +* Mon Aug 22 2011 Francois Andriot - 2.8.1-1 +- Correct macro to install under "/opt", if desired + +* Sun Aug 14 2011 Francois Andriot - 2.8.1-0 +- Initial build for RHEL 6.0 + diff --git a/redhat/dependencies/arts/arts-14.0.0.spec b/redhat/dependencies/arts/arts-14.0.0.spec new file mode 100644 index 000000000..8a2c5c242 --- /dev/null +++ b/redhat/dependencies/arts/arts-14.0.0.spec @@ -0,0 +1,239 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +%define tde_bindir %{tde_prefix}/bin +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_datadir %{tde_prefix}/share + +%define tde_tdeincludedir %{tde_includedir}/tde + +%define _docdir %{tde_datadir}/doc + +Name: trinity-arts +Version: 14.0.0 +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} +License: GPL +Summary: aRts (analog realtime synthesizer) - the TDE sound system +Group: System Environment/Daemons + +Vendor: Trinity Project +URL: http://www.trinitydesktop.org/ +Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz +Source1: kcmartsrc-pulseaudio + +BuildRequires: cmake >= 2.8 +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: audiofile-devel +BuildRequires: alsa-lib-devel +BuildRequires: glib2-devel +BuildRequires: gsl-devel +BuildRequires: libvorbis-devel + +# ESOUND support +%define with_esound 1 +BuildRequires: esound-devel + +# JACK support +# Not on RHEL4 ! +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} +%define with_jack 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}jack-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} +BuildRequires: jack-audio-connection-kit-devel +%endif +%if 0%{?suse_version} +BuildRequires: libjack-devel +%endif +%endif + +# LIBTOOL +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}ltdl-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} +BuildRequires: libtool-ltdl-devel +%endif +%if 0%{?suse_version} +%if 0%{?suse_version} >= 1220 +BuildRequires: libltdl-devel +%else +BuildRequires: libtool +%endif +%endif + +# MAD support +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} +%define with_libmad 1 +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: %{_lib}mad-devel +%endif +%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} +BuildRequires: libmad-devel +%endif +%endif + +# Pulseaudio config file +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?suse_version} +%define with_pulseaudio 1 +%endif + +# TDE 3.5.13 specific building variables +BuildRequires: cmake >= 2.8 + +Requires: trinity-tqtinterface >= %{version} +Requires: audiofile + +%if "%{?tde_prefix}" == "/usr" +Obsoletes: arts +%endif + +%description +arts (analog real-time synthesizer) is the sound system of KDE 3. + +The principle of arts is to create/process sound using small modules which do +certain tasks. These may be create a waveform (oscillators), play samples, +filter data, add signals, perform effects like delay/flanger/chorus, or +output the data to the soundcard. + +By connecting all those small modules together, you can perform complex +tasks like simulating a mixer, generating an instrument or things like +playing a wave file with some effects. + +%files +%defattr(-,root,root,-) +%doc COPYING.LIB +%dir %{tde_libdir}/mcop +%dir %{tde_libdir}/mcop/Arts +%{tde_libdir}/mcop/Arts/* +%{tde_libdir}/mcop/*.mcopclass +%{tde_libdir}/mcop/*.mcoptype +%{tde_libdir}/lib*.so.* +%{tde_bindir}/artscat +%{tde_bindir}/artsd +%{tde_bindir}/artsdsp +%{tde_bindir}/artsplay +%{tde_bindir}/artsrec +%{tde_bindir}/artsshell +%{tde_bindir}/artswrapper +# The '.la' files are runtime, not devel ! +%{tde_libdir}/lib*.la + +%post +/sbin/ldconfig || : + +%postun +/sbin/ldconfig || : + +########## + +%package devel +Group: Development/Libraries +Summary: %{name} - Development files +Requires: %{name} = %{version}-%{release} +%if "%{?tde_prefix}" == "/usr" +Obsoletes: arts-devel +%endif + +%description devel +Development files for %{name} + +%files devel +%defattr(-,root,root,-) +%{tde_bindir}/mcopidl +# Arts includes are under 'tde' - this is on purpose ! +%{tde_tdeincludedir}/arts/ +# Artsc includes are not under 'tde'. +%{tde_includedir}/artsc/ +%{tde_bindir}/artsc-config +%{tde_libdir}/lib*.so +%{tde_libdir}/pkgconfig/*.pc +%{tde_libdir}/*.a + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + +########## + +%if 0%{?with_pulseaudio} + +%package config-pulseaudio +Group: System Environment/Daemons +Summary: %{name} - Default configuration file for Pulseaudio +Requires: %{name} = %{version}-%{release} + +%description config-pulseaudio +%{summary} + +%files config-pulseaudio +%defattr(-,root,root,-) +%{tde_datadir}/config/kcmartsrc + +%endif + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + + +%build +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DBIN_INSTALL_DIR="%{tde_bindir}" \ + -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}/arts" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + -DPKGCONFIG_INSTALL_DIR=%{tde_libdir}/pkgconfig \ + -DWITH_ALSA=ON \ + -DWITH_AUDIOFILE=ON \ + -DWITH_VORBIS=ON \ + %{?with_libmad:-DWITH_MAD=ON} %{!?with_libmad:-DWITH_MAD=OFF} \ + %{?with_esound:-DWITH_ESOUND=ON} \ + %{?with_jack:-DWITH_JACK=ON} \ + -DCMAKE_SKIP_RPATH=OFF \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf %{?buildroot} +%__make install -C build DESTDIR=%{?buildroot} + +# Installs the Pulseaudio configuration file +%if 0%{?with_pulseaudio} +%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/config/kcmartsrc +%endif + + +%clean +%__rm -rf %{?buildroot} + + +%changelog +* Thu Feb 16 2012 Francois Andriot - 14.0.0-1 +- Initial build for TDE R14, using 'tqt3' instead of 'qt3' diff --git a/redhat/dependencies/arts/arts-3.5.12.spec b/redhat/dependencies/arts/arts-3.5.12.spec new file mode 100644 index 000000000..1a72133d6 --- /dev/null +++ b/redhat/dependencies/arts/arts-3.5.12.spec @@ -0,0 +1,153 @@ +# Default version for this component +%if "%{?version}" == "" +%define version 3.5.12 +%endif +%define release 6 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.12 specific building variables +BuildRequires: autoconf automake libtool m4 + + +Name: trinity-arts +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} +License: GPL +Summary: aRts (analog realtime synthesizer) - the KDE sound system +Group: System Environment/Daemons + +Vendor: Trinity Project +URL: http://www.trinitydesktop.org/ +Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: arts-%{version}.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: audiofile-devel +BuildRequires: alsa-lib-devel +BuildRequires: glib2-devel +BuildRequires: libtool-ltdl-devel +BuildRequires: gsl-devel + +Requires: tqtinterface +Requires: audiofile + +%if "%{?_prefix}" == "/usr" +Obsoletes: arts +%endif + +%description +arts (analog real-time synthesizer) is the sound system of KDE 3. + +The principle of arts is to create/process sound using small modules which do +certain tasks. These may be create a waveform (oscillators), play samples, +filter data, add signals, perform effects like delay/flanger/chorus, or +output the data to the soundcard. + +By connecting all those small modules together, you can perform complex +tasks like simulating a mixer, generating an instrument or things like +playing a wave file with some effects. + + +%package devel +Group: Development/Libraries +Summary: %{name} - Development files +Requires: %{name} = %{version}-%{release} +%if "%{?_prefix}" == "/usr" +Obsoletes: arts-devel +%endif + +%description devel +Development files for %{name} + +%prep +%setup -q -n dependencies/arts + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + +%build +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%configure \ + --disable-rpath \ + --disable-debug --disable-warnings \ + --disable-dependency-tracking \ + --enable-new-ldflags \ + --disable-libmad \ + --with-alsa \ + --enable-final \ + --enable-closure \ + --with-extra-includes=%{_includedir}/tqt + +%__make %{?_smp_mflags} + +%install +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{?buildroot} + +%clean +%__rm -rf %{?buildroot} + +%files +%defattr(-,root,root,-) +%doc COPYING.LIB +%dir %{_libdir}/mcop +%dir %{_libdir}/mcop/Arts +%{_libdir}/mcop/Arts/* +%{_libdir}/mcop/*.mcopclass +%{_libdir}/mcop/*.mcoptype +%{_libdir}/lib*.so.* +%{_libdir}/lib*.la +%{_bindir}/artscat +%{_bindir}/artsd +%{_bindir}/artsdsp +%{_bindir}/artsplay +%{_bindir}/artsrec +%{_bindir}/artsshell +%{_bindir}/artswrapper + +%files devel +%defattr(-,root,root,-) +%{_bindir}/mcopidl +%dir %{_includedir} +%{_includedir}/arts/ +%{_includedir}/artsc/ +%{_bindir}/artsc-config +%{_libdir}/lib*.so + + +%changelog +* Fri Sep 16 2011 Francois Andriot - 3.5.12-6 +- Add support for RHEL 5. + +* Mon Sep 12 2011 Francois Andriot - 3.5.12-5 +- Add "Group" field + +* Sun Sep 04 2011 Francois Andriot - 3.5.12-4 +- Import to GIT +- Removes cmake stuff, build with autotools only + +* Mon Aug 22 2011 Francois Andriot - 3.5.12-3 +- Correct macro to install under "/opt", if desired + +* Sat Dec 18 2010 Francois Andriot - 3.5.12-2 +- Add cmake support +- Add some BuildRequires + +* Fri Dec 17 2010 Francois Andriot - 3.5.12-1 +- Add macro _kde3_prefix to define custom installation prefix (ex: /opt/trinity) +- Add '--with-extra-includes=%{_includedir}/tqt' + +* Tue Dec 07 2010 Francois Andriot - 3.5.12-0 +- Initial version + diff --git a/redhat/dependencies/arts/arts-3.5.13.1.spec b/redhat/dependencies/arts/arts-3.5.13.1.spec new file mode 100644 index 000000000..03a922e4e --- /dev/null +++ b/redhat/dependencies/arts/arts-3.5.13.1.spec @@ -0,0 +1,182 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +%define tde_bindir %{tde_prefix}/bin +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeincludedir %{tde_includedir}/tde + +%define _docdir %{tde_prefix}/share/doc + +Name: trinity-arts +Version: 3.5.13.1 +Release: 1%{?dist}%{?_variant} +License: GPL +Summary: aRts (analog realtime synthesizer) - the KDE sound system +Group: System Environment/Daemons + +Vendor: Trinity Project +URL: http://www.trinitydesktop.org/ +Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: arts-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: audiofile-devel +BuildRequires: alsa-lib-devel +BuildRequires: glib2-devel +BuildRequires: gsl-devel +BuildRequires: libvorbis-devel +BuildRequires: esound-devel + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}jack-devel +BuildRequires: %{_lib}ltdl-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} +BuildRequires: jack-audio-connection-kit-devel +BuildRequires: libtool-ltdl-devel +%endif +%if 0%{?suse_version} +BuildRequires: libjack-devel +BuildRequires: libltdl-devel +%endif + +# TDE 3.5.13 specific building variables +BuildRequires: cmake >= 2.8 + +Requires: trinity-tqtinterface >= %{version} +Requires: audiofile + +%if "%{?tde_prefix}" == "/usr" +Obsoletes: arts +%endif + +%description +arts (analog real-time synthesizer) is the sound system of KDE 3. + +The principle of arts is to create/process sound using small modules which do +certain tasks. These may be create a waveform (oscillators), play samples, +filter data, add signals, perform effects like delay/flanger/chorus, or +output the data to the soundcard. + +By connecting all those small modules together, you can perform complex +tasks like simulating a mixer, generating an instrument or things like +playing a wave file with some effects. + +%files +%defattr(-,root,root,-) +%doc COPYING.LIB +%dir %{tde_libdir}/mcop +%dir %{tde_libdir}/mcop/Arts +%{tde_libdir}/mcop/Arts/* +%{tde_libdir}/mcop/*.mcopclass +%{tde_libdir}/mcop/*.mcoptype +%{tde_libdir}/lib*.so.* +%{tde_bindir}/artscat +%{tde_bindir}/artsd +%{tde_bindir}/artsdsp +%{tde_bindir}/artsplay +%{tde_bindir}/artsrec +%{tde_bindir}/artsshell +%{tde_bindir}/artswrapper +# The '.la' files are runtime, not devel ! +%{tde_libdir}/lib*.la + +%post +/sbin/ldconfig || : + +%postun +/sbin/ldconfig || : + +########## + +%package devel +Group: Development/Libraries +Summary: %{name} - Development files +Requires: %{name} = %{version}-%{release} +%if "%{?tde_prefix}" == "/usr" +Obsoletes: arts-devel +%endif + +%description devel +Development files for %{name} + +%files devel +%defattr(-,root,root,-) +%{tde_bindir}/mcopidl +# Arts includes are under 'tde' - this is on purpose ! +%{tde_tdeincludedir}/arts/ +# Artsc includes are not under 'tde'. +%{tde_includedir}/artsc/ +%{tde_bindir}/artsc-config +%{tde_libdir}/lib*.so +%{tde_libdir}/pkgconfig/*.pc +%{tde_libdir}/*.a + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + + +%prep +%setup -q -n arts-3.5.13.1 + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir}/arts \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DPKGCONFIG_INSTALL_DIR=%{tde_libdir}/pkgconfig \ + -DWITH_ALSA=ON \ + -DWITH_AUDIOFILE=ON \ + -DWITH_VORBIS=ON \ + -DWITH_MAD=OFF \ + -DWITH_ESOUND=ON \ +%if 0%{?rhel} == 4 + -DWITH_JACK=OFF \ +%else + -DWITH_JACK=ON \ +%endif + -DCMAKE_SKIP_RPATH="OFF" \ + .. + + +%__make %{?_smp_mflags} + +%install +%__rm -rf %{?buildroot} +%__make install -C build DESTDIR=%{?buildroot} + +%clean +%__rm -rf %{?buildroot} + + +%changelog +* Tue Sep 11 2012 Francois Andriot - 3.5.13.1-1 +- Initial build for TDE 3.5.13.1 diff --git a/redhat/dependencies/arts/arts-3.5.13.2.spec b/redhat/dependencies/arts/arts-3.5.13.2.spec new file mode 100644 index 000000000..0c72fdc6c --- /dev/null +++ b/redhat/dependencies/arts/arts-3.5.13.2.spec @@ -0,0 +1,243 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +%define tde_bindir %{tde_prefix}/bin +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_datadir %{tde_prefix}/share + +%define tde_tdeincludedir %{tde_includedir}/tde + +%define _docdir %{tde_datadir}/doc + +Name: trinity-arts +Version: 3.5.13.2 +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} +License: GPL +Summary: aRts (analog realtime synthesizer) - the TDE sound system +Group: System Environment/Daemons + +Vendor: Trinity Project +URL: http://www.trinitydesktop.org/ +Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz +Source1: kcmartsrc-pulseaudio + +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: audiofile-devel +BuildRequires: alsa-lib-devel +BuildRequires: glib2-devel +BuildRequires: gsl-devel +BuildRequires: libvorbis-devel + +# ESOUND support +%define with_esound 1 +BuildRequires: esound-devel + +# JACK support +# Not on RHEL4 ! +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} +%define with_jack 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}jack-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} +BuildRequires: jack-audio-connection-kit-devel +%endif +%if 0%{?suse_version} +BuildRequires: libjack-devel +%endif +%endif + +# LIBTOOL +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}ltdl-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} +BuildRequires: libtool-ltdl-devel +%endif +%if 0%{?suse_version} +%if 0%{?suse_version} >= 1220 +BuildRequires: libltdl-devel +%else +BuildRequires: libtool +%endif +%endif + +# MAD support +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} +%define with_libmad 1 +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: %{_lib}mad-devel +%endif +%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} +BuildRequires: libmad-devel +%endif +%endif + +# Pulseaudio config file +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?suse_version} +%define with_pulseaudio 1 +%endif + +# TDE 3.5.13 specific building variables +BuildRequires: cmake >= 2.8 + +Requires: trinity-tqtinterface >= %{version} +Requires: audiofile + +%if "%{?tde_prefix}" == "/usr" +Obsoletes: arts +%endif + +%description +arts (analog real-time synthesizer) is the sound system of KDE 3. + +The principle of arts is to create/process sound using small modules which do +certain tasks. These may be create a waveform (oscillators), play samples, +filter data, add signals, perform effects like delay/flanger/chorus, or +output the data to the soundcard. + +By connecting all those small modules together, you can perform complex +tasks like simulating a mixer, generating an instrument or things like +playing a wave file with some effects. + +%files +%defattr(-,root,root,-) +%doc COPYING.LIB +%dir %{tde_libdir}/mcop +%dir %{tde_libdir}/mcop/Arts +%{tde_libdir}/mcop/Arts/* +%{tde_libdir}/mcop/*.mcopclass +%{tde_libdir}/mcop/*.mcoptype +%{tde_libdir}/lib*.so.* +%{tde_bindir}/artscat +%{tde_bindir}/artsd +%{tde_bindir}/artsdsp +%{tde_bindir}/artsplay +%{tde_bindir}/artsrec +%{tde_bindir}/artsshell +%{tde_bindir}/artswrapper +# The '.la' files are runtime, not devel ! +%{tde_libdir}/lib*.la + +%post +/sbin/ldconfig || : + +%postun +/sbin/ldconfig || : + +########## + +%package devel +Group: Development/Libraries +Summary: %{name} - Development files +Requires: %{name} = %{version}-%{release} +%if "%{?tde_prefix}" == "/usr" +Obsoletes: arts-devel +%endif + +%description devel +Development files for %{name} + +%files devel +%defattr(-,root,root,-) +%{tde_bindir}/mcopidl +# Arts includes are under 'tde' - this is on purpose ! +%{tde_tdeincludedir}/arts/ +# Artsc includes are not under 'tde'. +%{tde_includedir}/artsc/ +%{tde_bindir}/artsc-config +%{tde_libdir}/lib*.so +%{tde_libdir}/pkgconfig/*.pc +%{tde_libdir}/*.a + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + +########## + +%if 0%{?with_pulseaudio} + +%package config-pulseaudio +Group: System Environment/Daemons +Summary: %{name} - Default configuration file for Pulseaudio +Requires: %{name} = %{version}-%{release} + +%description config-pulseaudio +%{summary} + +%files config-pulseaudio +%defattr(-,root,root,-) +%{tde_datadir}/config/kcmartsrc + +%endif + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DBIN_INSTALL_DIR="%{tde_bindir}" \ + -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}/arts" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \ + -DWITH_ALSA=ON \ + -DWITH_AUDIOFILE=ON \ + -DWITH_VORBIS=ON \ + %{?with_libmad:-DWITH_MAD=ON} %{!?with_libmad:-DWITH_MAD=OFF} \ + %{?with_esound:-DWITH_ESOUND=ON} \ + %{?with_jack:-DWITH_JACK=ON} \ + -DCMAKE_SKIP_RPATH=OFF \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf %{?buildroot} +%__make install -C build DESTDIR=%{?buildroot} + +# Installs the Pulseaudio configuration file +%if 0%{?with_pulseaudio} +%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/config/kcmartsrc +%endif + + +%clean +%__rm -rf %{?buildroot} + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 +- Initial release for TDE 3.5.13.2 + diff --git a/redhat/dependencies/arts/arts-3.5.13.spec b/redhat/dependencies/arts/arts-3.5.13.spec new file mode 100644 index 000000000..af9fef33a --- /dev/null +++ b/redhat/dependencies/arts/arts-3.5.13.spec @@ -0,0 +1,201 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +%define tde_bindir %{tde_prefix}/bin +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeincludedir %{tde_includedir}/kde + +%define _docdir %{tde_prefix}/share/doc + +Name: trinity-arts +Version: 3.5.13 +Release: 4%{?dist}%{?_variant} +License: GPL +Summary: aRts (analog realtime synthesizer) - the KDE sound system +Group: System Environment/Daemons + +Vendor: Trinity Project +URL: http://www.trinitydesktop.org/ +Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: arts-%{version}.tar.gz + +# TDE 3.5.13: Re-enable lost OSS support +Patch0: arts-3.5.13-enable_oss.patch + +# TDE 3.5.13: Re-enable lost JACK support +Patch1: arts-3.5.13-enable_jack.patch + +BuildRequires: tqtinterface-devel >= %{version} +BuildRequires: audiofile-devel +BuildRequires: alsa-lib-devel +BuildRequires: glib2-devel +BuildRequires: gsl-devel +BuildRequires: libvorbis-devel +BuildRequires: esound-devel + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}jack-devel +BuildRequires: %{_lib}ltdl-devel +%endif +%if 0%{?rhel} >= 5 +BuildRequires: jack-audio-connection-kit-devel +BuildRequires: libtool-ltdl-devel +%endif +%if 0%{?suse_version} +BuildRequires: libjack-devel +BuildRequires: libltdl-devel +%endif + +# TDE 3.5.13 specific building variables +BuildRequires: cmake >= 2.8 + +Requires: tqtinterface +Requires: audiofile + +%if "%{?tde_prefix}" == "/usr" +Obsoletes: arts +%endif + +%description +arts (analog real-time synthesizer) is the sound system of KDE 3. + +The principle of arts is to create/process sound using small modules which do +certain tasks. These may be create a waveform (oscillators), play samples, +filter data, add signals, perform effects like delay/flanger/chorus, or +output the data to the soundcard. + +By connecting all those small modules together, you can perform complex +tasks like simulating a mixer, generating an instrument or things like +playing a wave file with some effects. + +%files +%defattr(-,root,root,-) +%doc COPYING.LIB +%dir %{tde_libdir}/mcop +%dir %{tde_libdir}/mcop/Arts +%{tde_libdir}/mcop/Arts/* +%{tde_libdir}/mcop/*.mcopclass +%{tde_libdir}/mcop/*.mcoptype +%{tde_libdir}/lib*.so.* +%{tde_bindir}/artscat +%{tde_bindir}/artsd +%{tde_bindir}/artsdsp +%{tde_bindir}/artsplay +%{tde_bindir}/artsrec +%{tde_bindir}/artsshell +%{tde_bindir}/artswrapper +# The '.la' files are runtime, not devel ! +%{tde_libdir}/lib*.la + +%post +/sbin/ldconfig || : + +%postun +/sbin/ldconfig || : + +########## + +%package devel +Group: Development/Libraries +Summary: %{name} - Development files +Requires: %{name} = %{version}-%{release} +%if "%{?tde_prefix}" == "/usr" +Obsoletes: arts-devel +%endif + +%description devel +Development files for %{name} + +%files devel +%defattr(-,root,root,-) +%{tde_bindir}/mcopidl +%{tde_tdeincludedir}/arts/ +%{tde_includedir}/artsc/ +%{tde_bindir}/artsc-config +%{tde_libdir}/lib*.so +%{tde_libdir}/pkgconfig/*.pc +%{tde_libdir}/*.a + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + +########## + +%if 0%{?suse_version} +%debug_package +%endif + +########## + + +%prep +%setup -q -n dependencies/arts +%patch0 -p1 +%patch1 -p1 + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_includedir}/arts \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DPKGCONFIG_INSTALL_DIR=%{tde_libdir}/pkgconfig \ + -DWITH_ALSA=ON \ + -DWITH_AUDIOFILE=ON \ + -DWITH_VORBIS=ON \ + -DWITH_MAD=OFF \ + -DWITH_ESOUND=ON \ +%if 0%{?rhel} == 4 + -DWITH_JACK=OFF \ +%else + -DWITH_JACK=ON \ +%endif + -DCMAKE_SKIP_RPATH="OFF" \ + .. + + +%__make %{?_smp_mflags} + +%install +%__rm -rf %{?buildroot} +%__make install -C build DESTDIR=%{?buildroot} + +%clean +%__rm -rf %{?buildroot} + + +%changelog +* Fri Dec 16 2011 Francois Andriot - 3.5.13-4 +- Enables JACK support + +* Mon Nov 14 2011 Francois Andriot - 3.5.13-3 +- Enables OSS and ESD support + +* Thu Nov 03 2011 Francois Andriot - 3.5.13-2 +- Add missing BuildRequires + +* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 +- Initial release for RHEL 6, RHEL 5 and Fedora 15 + +* Fri Sep 02 2011 Francois Andriot - 3.5.13-0 +- Import to GIT +- Built with future TDE version (3.5.13 + cmake + QT3.3.8d) diff --git a/redhat/dependencies/arts/trinity-arts-14.0.0.spec b/redhat/dependencies/arts/trinity-arts-14.0.0.spec deleted file mode 100644 index 8a2c5c242..000000000 --- a/redhat/dependencies/arts/trinity-arts-14.0.0.spec +++ /dev/null @@ -1,239 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -%define tde_bindir %{tde_prefix}/bin -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_datadir %{tde_prefix}/share - -%define tde_tdeincludedir %{tde_includedir}/tde - -%define _docdir %{tde_datadir}/doc - -Name: trinity-arts -Version: 14.0.0 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} -License: GPL -Summary: aRts (analog realtime synthesizer) - the TDE sound system -Group: System Environment/Daemons - -Vendor: Trinity Project -URL: http://www.trinitydesktop.org/ -Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz -Source1: kcmartsrc-pulseaudio - -BuildRequires: cmake >= 2.8 -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: audiofile-devel -BuildRequires: alsa-lib-devel -BuildRequires: glib2-devel -BuildRequires: gsl-devel -BuildRequires: libvorbis-devel - -# ESOUND support -%define with_esound 1 -BuildRequires: esound-devel - -# JACK support -# Not on RHEL4 ! -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} -%define with_jack 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}jack-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} -BuildRequires: jack-audio-connection-kit-devel -%endif -%if 0%{?suse_version} -BuildRequires: libjack-devel -%endif -%endif - -# LIBTOOL -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}ltdl-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} -BuildRequires: libtool-ltdl-devel -%endif -%if 0%{?suse_version} -%if 0%{?suse_version} >= 1220 -BuildRequires: libltdl-devel -%else -BuildRequires: libtool -%endif -%endif - -# MAD support -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} -%define with_libmad 1 -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: %{_lib}mad-devel -%endif -%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} -BuildRequires: libmad-devel -%endif -%endif - -# Pulseaudio config file -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?suse_version} -%define with_pulseaudio 1 -%endif - -# TDE 3.5.13 specific building variables -BuildRequires: cmake >= 2.8 - -Requires: trinity-tqtinterface >= %{version} -Requires: audiofile - -%if "%{?tde_prefix}" == "/usr" -Obsoletes: arts -%endif - -%description -arts (analog real-time synthesizer) is the sound system of KDE 3. - -The principle of arts is to create/process sound using small modules which do -certain tasks. These may be create a waveform (oscillators), play samples, -filter data, add signals, perform effects like delay/flanger/chorus, or -output the data to the soundcard. - -By connecting all those small modules together, you can perform complex -tasks like simulating a mixer, generating an instrument or things like -playing a wave file with some effects. - -%files -%defattr(-,root,root,-) -%doc COPYING.LIB -%dir %{tde_libdir}/mcop -%dir %{tde_libdir}/mcop/Arts -%{tde_libdir}/mcop/Arts/* -%{tde_libdir}/mcop/*.mcopclass -%{tde_libdir}/mcop/*.mcoptype -%{tde_libdir}/lib*.so.* -%{tde_bindir}/artscat -%{tde_bindir}/artsd -%{tde_bindir}/artsdsp -%{tde_bindir}/artsplay -%{tde_bindir}/artsrec -%{tde_bindir}/artsshell -%{tde_bindir}/artswrapper -# The '.la' files are runtime, not devel ! -%{tde_libdir}/lib*.la - -%post -/sbin/ldconfig || : - -%postun -/sbin/ldconfig || : - -########## - -%package devel -Group: Development/Libraries -Summary: %{name} - Development files -Requires: %{name} = %{version}-%{release} -%if "%{?tde_prefix}" == "/usr" -Obsoletes: arts-devel -%endif - -%description devel -Development files for %{name} - -%files devel -%defattr(-,root,root,-) -%{tde_bindir}/mcopidl -# Arts includes are under 'tde' - this is on purpose ! -%{tde_tdeincludedir}/arts/ -# Artsc includes are not under 'tde'. -%{tde_includedir}/artsc/ -%{tde_bindir}/artsc-config -%{tde_libdir}/lib*.so -%{tde_libdir}/pkgconfig/*.pc -%{tde_libdir}/*.a - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - -########## - -%if 0%{?with_pulseaudio} - -%package config-pulseaudio -Group: System Environment/Daemons -Summary: %{name} - Default configuration file for Pulseaudio -Requires: %{name} = %{version}-%{release} - -%description config-pulseaudio -%{summary} - -%files config-pulseaudio -%defattr(-,root,root,-) -%{tde_datadir}/config/kcmartsrc - -%endif - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - - -%build -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DBIN_INSTALL_DIR="%{tde_bindir}" \ - -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}/arts" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - -DPKGCONFIG_INSTALL_DIR=%{tde_libdir}/pkgconfig \ - -DWITH_ALSA=ON \ - -DWITH_AUDIOFILE=ON \ - -DWITH_VORBIS=ON \ - %{?with_libmad:-DWITH_MAD=ON} %{!?with_libmad:-DWITH_MAD=OFF} \ - %{?with_esound:-DWITH_ESOUND=ON} \ - %{?with_jack:-DWITH_JACK=ON} \ - -DCMAKE_SKIP_RPATH=OFF \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -%__rm -rf %{?buildroot} -%__make install -C build DESTDIR=%{?buildroot} - -# Installs the Pulseaudio configuration file -%if 0%{?with_pulseaudio} -%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/config/kcmartsrc -%endif - - -%clean -%__rm -rf %{?buildroot} - - -%changelog -* Thu Feb 16 2012 Francois Andriot - 14.0.0-1 -- Initial build for TDE R14, using 'tqt3' instead of 'qt3' diff --git a/redhat/dependencies/arts/trinity-arts-3.5.12.spec b/redhat/dependencies/arts/trinity-arts-3.5.12.spec deleted file mode 100644 index 1a72133d6..000000000 --- a/redhat/dependencies/arts/trinity-arts-3.5.12.spec +++ /dev/null @@ -1,153 +0,0 @@ -# Default version for this component -%if "%{?version}" == "" -%define version 3.5.12 -%endif -%define release 6 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 - - -Name: trinity-arts -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} -License: GPL -Summary: aRts (analog realtime synthesizer) - the KDE sound system -Group: System Environment/Daemons - -Vendor: Trinity Project -URL: http://www.trinitydesktop.org/ -Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: arts-%{version}.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: audiofile-devel -BuildRequires: alsa-lib-devel -BuildRequires: glib2-devel -BuildRequires: libtool-ltdl-devel -BuildRequires: gsl-devel - -Requires: tqtinterface -Requires: audiofile - -%if "%{?_prefix}" == "/usr" -Obsoletes: arts -%endif - -%description -arts (analog real-time synthesizer) is the sound system of KDE 3. - -The principle of arts is to create/process sound using small modules which do -certain tasks. These may be create a waveform (oscillators), play samples, -filter data, add signals, perform effects like delay/flanger/chorus, or -output the data to the soundcard. - -By connecting all those small modules together, you can perform complex -tasks like simulating a mixer, generating an instrument or things like -playing a wave file with some effects. - - -%package devel -Group: Development/Libraries -Summary: %{name} - Development files -Requires: %{name} = %{version}-%{release} -%if "%{?_prefix}" == "/usr" -Obsoletes: arts-devel -%endif - -%description devel -Development files for %{name} - -%prep -%setup -q -n dependencies/arts - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - -%build -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -%configure \ - --disable-rpath \ - --disable-debug --disable-warnings \ - --disable-dependency-tracking \ - --enable-new-ldflags \ - --disable-libmad \ - --with-alsa \ - --enable-final \ - --enable-closure \ - --with-extra-includes=%{_includedir}/tqt - -%__make %{?_smp_mflags} - -%install -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{?buildroot} - -%clean -%__rm -rf %{?buildroot} - -%files -%defattr(-,root,root,-) -%doc COPYING.LIB -%dir %{_libdir}/mcop -%dir %{_libdir}/mcop/Arts -%{_libdir}/mcop/Arts/* -%{_libdir}/mcop/*.mcopclass -%{_libdir}/mcop/*.mcoptype -%{_libdir}/lib*.so.* -%{_libdir}/lib*.la -%{_bindir}/artscat -%{_bindir}/artsd -%{_bindir}/artsdsp -%{_bindir}/artsplay -%{_bindir}/artsrec -%{_bindir}/artsshell -%{_bindir}/artswrapper - -%files devel -%defattr(-,root,root,-) -%{_bindir}/mcopidl -%dir %{_includedir} -%{_includedir}/arts/ -%{_includedir}/artsc/ -%{_bindir}/artsc-config -%{_libdir}/lib*.so - - -%changelog -* Fri Sep 16 2011 Francois Andriot - 3.5.12-6 -- Add support for RHEL 5. - -* Mon Sep 12 2011 Francois Andriot - 3.5.12-5 -- Add "Group" field - -* Sun Sep 04 2011 Francois Andriot - 3.5.12-4 -- Import to GIT -- Removes cmake stuff, build with autotools only - -* Mon Aug 22 2011 Francois Andriot - 3.5.12-3 -- Correct macro to install under "/opt", if desired - -* Sat Dec 18 2010 Francois Andriot - 3.5.12-2 -- Add cmake support -- Add some BuildRequires - -* Fri Dec 17 2010 Francois Andriot - 3.5.12-1 -- Add macro _kde3_prefix to define custom installation prefix (ex: /opt/trinity) -- Add '--with-extra-includes=%{_includedir}/tqt' - -* Tue Dec 07 2010 Francois Andriot - 3.5.12-0 -- Initial version - diff --git a/redhat/dependencies/arts/trinity-arts-3.5.13.1.spec b/redhat/dependencies/arts/trinity-arts-3.5.13.1.spec deleted file mode 100644 index 03a922e4e..000000000 --- a/redhat/dependencies/arts/trinity-arts-3.5.13.1.spec +++ /dev/null @@ -1,182 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -%define tde_bindir %{tde_prefix}/bin -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeincludedir %{tde_includedir}/tde - -%define _docdir %{tde_prefix}/share/doc - -Name: trinity-arts -Version: 3.5.13.1 -Release: 1%{?dist}%{?_variant} -License: GPL -Summary: aRts (analog realtime synthesizer) - the KDE sound system -Group: System Environment/Daemons - -Vendor: Trinity Project -URL: http://www.trinitydesktop.org/ -Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: arts-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: audiofile-devel -BuildRequires: alsa-lib-devel -BuildRequires: glib2-devel -BuildRequires: gsl-devel -BuildRequires: libvorbis-devel -BuildRequires: esound-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}jack-devel -BuildRequires: %{_lib}ltdl-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} -BuildRequires: jack-audio-connection-kit-devel -BuildRequires: libtool-ltdl-devel -%endif -%if 0%{?suse_version} -BuildRequires: libjack-devel -BuildRequires: libltdl-devel -%endif - -# TDE 3.5.13 specific building variables -BuildRequires: cmake >= 2.8 - -Requires: trinity-tqtinterface >= %{version} -Requires: audiofile - -%if "%{?tde_prefix}" == "/usr" -Obsoletes: arts -%endif - -%description -arts (analog real-time synthesizer) is the sound system of KDE 3. - -The principle of arts is to create/process sound using small modules which do -certain tasks. These may be create a waveform (oscillators), play samples, -filter data, add signals, perform effects like delay/flanger/chorus, or -output the data to the soundcard. - -By connecting all those small modules together, you can perform complex -tasks like simulating a mixer, generating an instrument or things like -playing a wave file with some effects. - -%files -%defattr(-,root,root,-) -%doc COPYING.LIB -%dir %{tde_libdir}/mcop -%dir %{tde_libdir}/mcop/Arts -%{tde_libdir}/mcop/Arts/* -%{tde_libdir}/mcop/*.mcopclass -%{tde_libdir}/mcop/*.mcoptype -%{tde_libdir}/lib*.so.* -%{tde_bindir}/artscat -%{tde_bindir}/artsd -%{tde_bindir}/artsdsp -%{tde_bindir}/artsplay -%{tde_bindir}/artsrec -%{tde_bindir}/artsshell -%{tde_bindir}/artswrapper -# The '.la' files are runtime, not devel ! -%{tde_libdir}/lib*.la - -%post -/sbin/ldconfig || : - -%postun -/sbin/ldconfig || : - -########## - -%package devel -Group: Development/Libraries -Summary: %{name} - Development files -Requires: %{name} = %{version}-%{release} -%if "%{?tde_prefix}" == "/usr" -Obsoletes: arts-devel -%endif - -%description devel -Development files for %{name} - -%files devel -%defattr(-,root,root,-) -%{tde_bindir}/mcopidl -# Arts includes are under 'tde' - this is on purpose ! -%{tde_tdeincludedir}/arts/ -# Artsc includes are not under 'tde'. -%{tde_includedir}/artsc/ -%{tde_bindir}/artsc-config -%{tde_libdir}/lib*.so -%{tde_libdir}/pkgconfig/*.pc -%{tde_libdir}/*.a - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - - -%prep -%setup -q -n arts-3.5.13.1 - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir}/arts \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DPKGCONFIG_INSTALL_DIR=%{tde_libdir}/pkgconfig \ - -DWITH_ALSA=ON \ - -DWITH_AUDIOFILE=ON \ - -DWITH_VORBIS=ON \ - -DWITH_MAD=OFF \ - -DWITH_ESOUND=ON \ -%if 0%{?rhel} == 4 - -DWITH_JACK=OFF \ -%else - -DWITH_JACK=ON \ -%endif - -DCMAKE_SKIP_RPATH="OFF" \ - .. - - -%__make %{?_smp_mflags} - -%install -%__rm -rf %{?buildroot} -%__make install -C build DESTDIR=%{?buildroot} - -%clean -%__rm -rf %{?buildroot} - - -%changelog -* Tue Sep 11 2012 Francois Andriot - 3.5.13.1-1 -- Initial build for TDE 3.5.13.1 diff --git a/redhat/dependencies/arts/trinity-arts-3.5.13.2.spec b/redhat/dependencies/arts/trinity-arts-3.5.13.2.spec deleted file mode 100644 index 0c72fdc6c..000000000 --- a/redhat/dependencies/arts/trinity-arts-3.5.13.2.spec +++ /dev/null @@ -1,243 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -%define tde_bindir %{tde_prefix}/bin -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_datadir %{tde_prefix}/share - -%define tde_tdeincludedir %{tde_includedir}/tde - -%define _docdir %{tde_datadir}/doc - -Name: trinity-arts -Version: 3.5.13.2 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} -License: GPL -Summary: aRts (analog realtime synthesizer) - the TDE sound system -Group: System Environment/Daemons - -Vendor: Trinity Project -URL: http://www.trinitydesktop.org/ -Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz -Source1: kcmartsrc-pulseaudio - -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: audiofile-devel -BuildRequires: alsa-lib-devel -BuildRequires: glib2-devel -BuildRequires: gsl-devel -BuildRequires: libvorbis-devel - -# ESOUND support -%define with_esound 1 -BuildRequires: esound-devel - -# JACK support -# Not on RHEL4 ! -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} -%define with_jack 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}jack-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} -BuildRequires: jack-audio-connection-kit-devel -%endif -%if 0%{?suse_version} -BuildRequires: libjack-devel -%endif -%endif - -# LIBTOOL -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}ltdl-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} -BuildRequires: libtool-ltdl-devel -%endif -%if 0%{?suse_version} -%if 0%{?suse_version} >= 1220 -BuildRequires: libltdl-devel -%else -BuildRequires: libtool -%endif -%endif - -# MAD support -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} -%define with_libmad 1 -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: %{_lib}mad-devel -%endif -%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} -BuildRequires: libmad-devel -%endif -%endif - -# Pulseaudio config file -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?suse_version} -%define with_pulseaudio 1 -%endif - -# TDE 3.5.13 specific building variables -BuildRequires: cmake >= 2.8 - -Requires: trinity-tqtinterface >= %{version} -Requires: audiofile - -%if "%{?tde_prefix}" == "/usr" -Obsoletes: arts -%endif - -%description -arts (analog real-time synthesizer) is the sound system of KDE 3. - -The principle of arts is to create/process sound using small modules which do -certain tasks. These may be create a waveform (oscillators), play samples, -filter data, add signals, perform effects like delay/flanger/chorus, or -output the data to the soundcard. - -By connecting all those small modules together, you can perform complex -tasks like simulating a mixer, generating an instrument or things like -playing a wave file with some effects. - -%files -%defattr(-,root,root,-) -%doc COPYING.LIB -%dir %{tde_libdir}/mcop -%dir %{tde_libdir}/mcop/Arts -%{tde_libdir}/mcop/Arts/* -%{tde_libdir}/mcop/*.mcopclass -%{tde_libdir}/mcop/*.mcoptype -%{tde_libdir}/lib*.so.* -%{tde_bindir}/artscat -%{tde_bindir}/artsd -%{tde_bindir}/artsdsp -%{tde_bindir}/artsplay -%{tde_bindir}/artsrec -%{tde_bindir}/artsshell -%{tde_bindir}/artswrapper -# The '.la' files are runtime, not devel ! -%{tde_libdir}/lib*.la - -%post -/sbin/ldconfig || : - -%postun -/sbin/ldconfig || : - -########## - -%package devel -Group: Development/Libraries -Summary: %{name} - Development files -Requires: %{name} = %{version}-%{release} -%if "%{?tde_prefix}" == "/usr" -Obsoletes: arts-devel -%endif - -%description devel -Development files for %{name} - -%files devel -%defattr(-,root,root,-) -%{tde_bindir}/mcopidl -# Arts includes are under 'tde' - this is on purpose ! -%{tde_tdeincludedir}/arts/ -# Artsc includes are not under 'tde'. -%{tde_includedir}/artsc/ -%{tde_bindir}/artsc-config -%{tde_libdir}/lib*.so -%{tde_libdir}/pkgconfig/*.pc -%{tde_libdir}/*.a - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - -########## - -%if 0%{?with_pulseaudio} - -%package config-pulseaudio -Group: System Environment/Daemons -Summary: %{name} - Default configuration file for Pulseaudio -Requires: %{name} = %{version}-%{release} - -%description config-pulseaudio -%{summary} - -%files config-pulseaudio -%defattr(-,root,root,-) -%{tde_datadir}/config/kcmartsrc - -%endif - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DBIN_INSTALL_DIR="%{tde_bindir}" \ - -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}/arts" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \ - -DWITH_ALSA=ON \ - -DWITH_AUDIOFILE=ON \ - -DWITH_VORBIS=ON \ - %{?with_libmad:-DWITH_MAD=ON} %{!?with_libmad:-DWITH_MAD=OFF} \ - %{?with_esound:-DWITH_ESOUND=ON} \ - %{?with_jack:-DWITH_JACK=ON} \ - -DCMAKE_SKIP_RPATH=OFF \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -%__rm -rf %{?buildroot} -%__make install -C build DESTDIR=%{?buildroot} - -# Installs the Pulseaudio configuration file -%if 0%{?with_pulseaudio} -%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/config/kcmartsrc -%endif - - -%clean -%__rm -rf %{?buildroot} - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 -- Initial release for TDE 3.5.13.2 - diff --git a/redhat/dependencies/arts/trinity-arts-3.5.13.spec b/redhat/dependencies/arts/trinity-arts-3.5.13.spec deleted file mode 100644 index af9fef33a..000000000 --- a/redhat/dependencies/arts/trinity-arts-3.5.13.spec +++ /dev/null @@ -1,201 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -%define tde_bindir %{tde_prefix}/bin -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeincludedir %{tde_includedir}/kde - -%define _docdir %{tde_prefix}/share/doc - -Name: trinity-arts -Version: 3.5.13 -Release: 4%{?dist}%{?_variant} -License: GPL -Summary: aRts (analog realtime synthesizer) - the KDE sound system -Group: System Environment/Daemons - -Vendor: Trinity Project -URL: http://www.trinitydesktop.org/ -Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: arts-%{version}.tar.gz - -# TDE 3.5.13: Re-enable lost OSS support -Patch0: arts-3.5.13-enable_oss.patch - -# TDE 3.5.13: Re-enable lost JACK support -Patch1: arts-3.5.13-enable_jack.patch - -BuildRequires: tqtinterface-devel >= %{version} -BuildRequires: audiofile-devel -BuildRequires: alsa-lib-devel -BuildRequires: glib2-devel -BuildRequires: gsl-devel -BuildRequires: libvorbis-devel -BuildRequires: esound-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}jack-devel -BuildRequires: %{_lib}ltdl-devel -%endif -%if 0%{?rhel} >= 5 -BuildRequires: jack-audio-connection-kit-devel -BuildRequires: libtool-ltdl-devel -%endif -%if 0%{?suse_version} -BuildRequires: libjack-devel -BuildRequires: libltdl-devel -%endif - -# TDE 3.5.13 specific building variables -BuildRequires: cmake >= 2.8 - -Requires: tqtinterface -Requires: audiofile - -%if "%{?tde_prefix}" == "/usr" -Obsoletes: arts -%endif - -%description -arts (analog real-time synthesizer) is the sound system of KDE 3. - -The principle of arts is to create/process sound using small modules which do -certain tasks. These may be create a waveform (oscillators), play samples, -filter data, add signals, perform effects like delay/flanger/chorus, or -output the data to the soundcard. - -By connecting all those small modules together, you can perform complex -tasks like simulating a mixer, generating an instrument or things like -playing a wave file with some effects. - -%files -%defattr(-,root,root,-) -%doc COPYING.LIB -%dir %{tde_libdir}/mcop -%dir %{tde_libdir}/mcop/Arts -%{tde_libdir}/mcop/Arts/* -%{tde_libdir}/mcop/*.mcopclass -%{tde_libdir}/mcop/*.mcoptype -%{tde_libdir}/lib*.so.* -%{tde_bindir}/artscat -%{tde_bindir}/artsd -%{tde_bindir}/artsdsp -%{tde_bindir}/artsplay -%{tde_bindir}/artsrec -%{tde_bindir}/artsshell -%{tde_bindir}/artswrapper -# The '.la' files are runtime, not devel ! -%{tde_libdir}/lib*.la - -%post -/sbin/ldconfig || : - -%postun -/sbin/ldconfig || : - -########## - -%package devel -Group: Development/Libraries -Summary: %{name} - Development files -Requires: %{name} = %{version}-%{release} -%if "%{?tde_prefix}" == "/usr" -Obsoletes: arts-devel -%endif - -%description devel -Development files for %{name} - -%files devel -%defattr(-,root,root,-) -%{tde_bindir}/mcopidl -%{tde_tdeincludedir}/arts/ -%{tde_includedir}/artsc/ -%{tde_bindir}/artsc-config -%{tde_libdir}/lib*.so -%{tde_libdir}/pkgconfig/*.pc -%{tde_libdir}/*.a - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - -########## - -%if 0%{?suse_version} -%debug_package -%endif - -########## - - -%prep -%setup -q -n dependencies/arts -%patch0 -p1 -%patch1 -p1 - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_includedir}/arts \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DPKGCONFIG_INSTALL_DIR=%{tde_libdir}/pkgconfig \ - -DWITH_ALSA=ON \ - -DWITH_AUDIOFILE=ON \ - -DWITH_VORBIS=ON \ - -DWITH_MAD=OFF \ - -DWITH_ESOUND=ON \ -%if 0%{?rhel} == 4 - -DWITH_JACK=OFF \ -%else - -DWITH_JACK=ON \ -%endif - -DCMAKE_SKIP_RPATH="OFF" \ - .. - - -%__make %{?_smp_mflags} - -%install -%__rm -rf %{?buildroot} -%__make install -C build DESTDIR=%{?buildroot} - -%clean -%__rm -rf %{?buildroot} - - -%changelog -* Fri Dec 16 2011 Francois Andriot - 3.5.13-4 -- Enables JACK support - -* Mon Nov 14 2011 Francois Andriot - 3.5.13-3 -- Enables OSS and ESD support - -* Thu Nov 03 2011 Francois Andriot - 3.5.13-2 -- Add missing BuildRequires - -* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 -- Initial release for RHEL 6, RHEL 5 and Fedora 15 - -* Fri Sep 02 2011 Francois Andriot - 3.5.13-0 -- Import to GIT -- Built with future TDE version (3.5.13 + cmake + QT3.3.8d) diff --git a/redhat/dependencies/tqca-tls/tqca-tls-14.0.0.spec b/redhat/dependencies/tqca-tls/tqca-tls-14.0.0.spec new file mode 100644 index 000000000..be6f406dc --- /dev/null +++ b/redhat/dependencies/tqca-tls/tqca-tls-14.0.0.spec @@ -0,0 +1,87 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +%define tde_version 14.0.0 + +%define tde_bindir %{tde_prefix}/bin +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_datadir %{tde_prefix}/share + +%define tde_tdeincludedir %{tde_includedir}/tde + +%define _docdir %{tde_datadir}/doc + +Name: trinity-tqca-tls +Version: 1.0 +Release: 2%{?dist}%{?_variant} + +Summary: TLS plugin for the TQt Cryptographic Architecture +License: LGPLv2+ +Group: Applications/Internet + +URL: http://delta.affinix.com/qca/ +Vendor: Trinity Project +Packager: Francois Andriot + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tqt3-devel >= %{tde_version} +BuildRequires: trinity-tqtinterface-devel >= %{tde_version} +BuildRequires: trinity-tqca-devel >= 1.0 +BuildRequires: openssl-devel >= 0.9.8 + + +%description +This is a plugin to provide SSL/TLS capability to programs that use the TQt +Cryptographic Architecture (TQCA). TQCA is a library providing an easy API +for several cryptographic algorithms to TQt programs. This package only +contains the TLS plugin. + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +./configure \ + --qtdir=/usr +%__make %{?_smp_mflags} + + +%install +%__rm -rf %{?buildroot} +%__make install INSTALL_ROOT=%{?buildroot} + + +%clean +%__rm -rf %{?buildroot} + + +%files +%defattr(0644,root,root,0755) +%doc README COPYING +%{_libdir}/tqt3/plugins/crypto/libqca-tls.so + +%changelog +* Thu Jun 27 2013 Francois Andriot - 1.0-2 +- Initial build for TDE 14.0.0 + +* Mon Jun 03 2013 Francois Andriot - 1.0-1 +- Initial build for TDE 3.5.13.2 diff --git a/redhat/dependencies/tqca-tls/tqca-tls-3.5.13.2.spec b/redhat/dependencies/tqca-tls/tqca-tls-3.5.13.2.spec new file mode 100644 index 000000000..003eb95e5 --- /dev/null +++ b/redhat/dependencies/tqca-tls/tqca-tls-3.5.13.2.spec @@ -0,0 +1,106 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +%define tde_bindir %{tde_prefix}/bin +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_datadir %{tde_prefix}/share + +%define tde_tdeincludedir %{tde_includedir}/tde + +%define _docdir %{tde_datadir}/doc + +Name: trinity-tqca-tls +Version: 1.0 +Release: 2%{?dist}%{?_variant} + +Summary: TLS plugin for the TQt Cryptographic Architecture +License: LGPLv2+ +Group: Applications/Internet + +URL: http://delta.affinix.com/qca/ +Vendor: Trinity Project +Packager: Francois Andriot + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: tqca-tls-master.tar.gz + +# Fix build in mach for QT apps +Patch0: qca-tls-1.0-mach.patch +# Build with openssl 1.0.0 +Patch2: qca-tls-1.0-ossl10.patch +# Allows building with TQT3 from TDE +Patch10: tqca-tls-qt3.patch + +BuildRequires: qt3-devel >= 3.3.8.d +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-tqca-devel >= 1.0 +BuildRequires: openssl-devel >= 0.9.8 + + +%description +This is a plugin to provide SSL/TLS capability to programs that use the TQt +Cryptographic Architecture (TQCA). TQCA is a library providing an easy API +for several cryptographic algorithms to TQt programs. This package only +contains the TLS plugin. + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n tqca-tls-master +%patch0 -p0 -b .mach +%patch2 -p1 -b .ossl10 +%patch10 -p1 -b .qt + +# Revert TQCA to QCA +%__sed -i * -e "s|TQCA|QCA|g" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +./configure +%__make %{?_smp_mflags} + + +%install +%__rm -rf %{?buildroot} +%__make install INSTALL_ROOT=%{?buildroot} + + +%clean +%__rm -rf %{?buildroot} + + +%files +%defattr(0644,root,root,0755) +%doc README COPYING +%if 0%{?mgaversion} || 0%{?mdkversion} +%{_libdir}/qt3/plugins/crypto/libqca-tls.so +%endif +%if 0%{?suse_version} +%{_usr}/lib/qt3/plugins/crypto/libqca-tls.so +%endif +%if 0%{?rhel} || 0%{?fedora} +%{_libdir}/qt-3.3/plugins/crypto/libqca-tls.so +%endif + + +%changelog +* Thu Jun 27 2013 Francois Andriot - 1.0-2 +- Renames TQCA to QCA in source code + +* Mon Jun 03 2013 Francois Andriot - 1.0-1 +- Initial build for TDE 3.5.13.2 diff --git a/redhat/dependencies/tqca-tls/trinity-tqca-tls-14.0.0.spec b/redhat/dependencies/tqca-tls/trinity-tqca-tls-14.0.0.spec deleted file mode 100644 index be6f406dc..000000000 --- a/redhat/dependencies/tqca-tls/trinity-tqca-tls-14.0.0.spec +++ /dev/null @@ -1,87 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -%define tde_version 14.0.0 - -%define tde_bindir %{tde_prefix}/bin -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_datadir %{tde_prefix}/share - -%define tde_tdeincludedir %{tde_includedir}/tde - -%define _docdir %{tde_datadir}/doc - -Name: trinity-tqca-tls -Version: 1.0 -Release: 2%{?dist}%{?_variant} - -Summary: TLS plugin for the TQt Cryptographic Architecture -License: LGPLv2+ -Group: Applications/Internet - -URL: http://delta.affinix.com/qca/ -Vendor: Trinity Project -Packager: Francois Andriot - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tqt3-devel >= %{tde_version} -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-tqca-devel >= 1.0 -BuildRequires: openssl-devel >= 0.9.8 - - -%description -This is a plugin to provide SSL/TLS capability to programs that use the TQt -Cryptographic Architecture (TQCA). TQCA is a library providing an easy API -for several cryptographic algorithms to TQt programs. This package only -contains the TLS plugin. - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -./configure \ - --qtdir=/usr -%__make %{?_smp_mflags} - - -%install -%__rm -rf %{?buildroot} -%__make install INSTALL_ROOT=%{?buildroot} - - -%clean -%__rm -rf %{?buildroot} - - -%files -%defattr(0644,root,root,0755) -%doc README COPYING -%{_libdir}/tqt3/plugins/crypto/libqca-tls.so - -%changelog -* Thu Jun 27 2013 Francois Andriot - 1.0-2 -- Initial build for TDE 14.0.0 - -* Mon Jun 03 2013 Francois Andriot - 1.0-1 -- Initial build for TDE 3.5.13.2 diff --git a/redhat/dependencies/tqca-tls/trinity-tqca-tls-3.5.13.2.spec b/redhat/dependencies/tqca-tls/trinity-tqca-tls-3.5.13.2.spec deleted file mode 100644 index 003eb95e5..000000000 --- a/redhat/dependencies/tqca-tls/trinity-tqca-tls-3.5.13.2.spec +++ /dev/null @@ -1,106 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -%define tde_bindir %{tde_prefix}/bin -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_datadir %{tde_prefix}/share - -%define tde_tdeincludedir %{tde_includedir}/tde - -%define _docdir %{tde_datadir}/doc - -Name: trinity-tqca-tls -Version: 1.0 -Release: 2%{?dist}%{?_variant} - -Summary: TLS plugin for the TQt Cryptographic Architecture -License: LGPLv2+ -Group: Applications/Internet - -URL: http://delta.affinix.com/qca/ -Vendor: Trinity Project -Packager: Francois Andriot - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: tqca-tls-master.tar.gz - -# Fix build in mach for QT apps -Patch0: qca-tls-1.0-mach.patch -# Build with openssl 1.0.0 -Patch2: qca-tls-1.0-ossl10.patch -# Allows building with TQT3 from TDE -Patch10: tqca-tls-qt3.patch - -BuildRequires: qt3-devel >= 3.3.8.d -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-tqca-devel >= 1.0 -BuildRequires: openssl-devel >= 0.9.8 - - -%description -This is a plugin to provide SSL/TLS capability to programs that use the TQt -Cryptographic Architecture (TQCA). TQCA is a library providing an easy API -for several cryptographic algorithms to TQt programs. This package only -contains the TLS plugin. - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n tqca-tls-master -%patch0 -p0 -b .mach -%patch2 -p1 -b .ossl10 -%patch10 -p1 -b .qt - -# Revert TQCA to QCA -%__sed -i * -e "s|TQCA|QCA|g" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -./configure -%__make %{?_smp_mflags} - - -%install -%__rm -rf %{?buildroot} -%__make install INSTALL_ROOT=%{?buildroot} - - -%clean -%__rm -rf %{?buildroot} - - -%files -%defattr(0644,root,root,0755) -%doc README COPYING -%if 0%{?mgaversion} || 0%{?mdkversion} -%{_libdir}/qt3/plugins/crypto/libqca-tls.so -%endif -%if 0%{?suse_version} -%{_usr}/lib/qt3/plugins/crypto/libqca-tls.so -%endif -%if 0%{?rhel} || 0%{?fedora} -%{_libdir}/qt-3.3/plugins/crypto/libqca-tls.so -%endif - - -%changelog -* Thu Jun 27 2013 Francois Andriot - 1.0-2 -- Renames TQCA to QCA in source code - -* Mon Jun 03 2013 Francois Andriot - 1.0-1 -- Initial build for TDE 3.5.13.2 diff --git a/redhat/dependencies/tqca/tqca-14.0.0.spec b/redhat/dependencies/tqca/tqca-14.0.0.spec new file mode 100644 index 000000000..9cc4131ad --- /dev/null +++ b/redhat/dependencies/tqca/tqca-14.0.0.spec @@ -0,0 +1,123 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +%define tde_version 14.0.0 + +%define tde_bindir %{tde_prefix}/bin +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_datadir %{tde_prefix}/share + +%define tde_tdeincludedir %{tde_includedir}/tde + +%define _docdir %{tde_datadir}/doc + + +Name: trinity-tqca +Version: 1.0 +Release: 2%{?dist}%{?_variant} + +Summary: TQt Cryptographic Architecture + +Group: System Environment/Libraries +License: LGPLv2+ + +Vendor: Trinity Project +URL: http://www.trinitydesktop.org/ +Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tqt3-devel >= %{tde_version} +BuildRequires: trinity-tqtinterface-devel >= %{tde_version} + + +%description +Taking a hint from the similarly-named Java Cryptography Architecture, +TQCA aims to provide a straightforward and cross-platform crypto API, +using TQt datatypes and conventions. TQCA separates the API from the +implementation, using plugins known as Providers. The advantage of this +model is to allow applications to avoid linking to or explicitly depending +on any particular cryptographic library. This allows one to easily change +or upgrade crypto implementations without even needing to recompile the +application! + +%post +/sbin/ldconfig + +%postun +/sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc COPYING README TODO +%{tde_libdir}/libqca.so.* + +########## + +%package devel +Summary: TQt Cryptographic Architecture development files +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +This packages contains the development files for TQCA + +%post devel +/sbin/ldconfig + +%postun devel +/sbin/ldconfig + +%files devel +%defattr(-,root,root,-) +%{tde_includedir}/qca.h +%{tde_libdir}/libqca.so + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} + +# Fix 'lib64' library directory +perl -pi -e 's,target\.path=\$PREFIX/lib,target.path=\$PREFIX/%{_lib},g' qcextra + + +%build +unset QTDIR +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +./configure \ + --prefix=%{tde_prefix} \ + --qtdir=/usr \ + --debug + +%__make %{?_smp_mflags} + + +%install +%__rm -rf $RPM_BUILD_ROOT +%__make install INSTALL_ROOT=$RPM_BUILD_ROOT + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 1.0-1 +- Initial build for TDE 3.5.13.2 diff --git a/redhat/dependencies/tqca/tqca-3.5.13.2.spec b/redhat/dependencies/tqca/tqca-3.5.13.2.spec new file mode 100644 index 000000000..eefe8a16e --- /dev/null +++ b/redhat/dependencies/tqca/tqca-3.5.13.2.spec @@ -0,0 +1,131 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +%define tde_bindir %{tde_prefix}/bin +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_datadir %{tde_prefix}/share + +%define tde_tdeincludedir %{tde_includedir}/tde + +%define _docdir %{tde_datadir}/doc + + +Name: trinity-tqca +Version: 1.0 +Release: 2%{?dist}%{?_variant} + +Summary: TQt Cryptographic Architecture + +Group: System Environment/Libraries +License: LGPLv2+ + +Vendor: Trinity Project +#URL: http://delta.affinix.com/qca +URL: http://www.trinitydesktop.org/ +Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: tqca-master.tar.gz +Patch0: qca-1.0-mach.patch +Patch1: tqca-1.0-fix_qt3_detection.patch + +BuildRequires: qt3-devel >= 3.3.8.d +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 + +%description +Taking a hint from the similarly-named Java Cryptography Architecture, +TQCA aims to provide a straightforward and cross-platform crypto API, +using TQt datatypes and conventions. TQCA separates the API from the +implementation, using plugins known as Providers. The advantage of this +model is to allow applications to avoid linking to or explicitly depending +on any particular cryptographic library. This allows one to easily change +or upgrade crypto implementations without even needing to recompile the +application! + +%post +/sbin/ldconfig + +%postun +/sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc COPYING README TODO +%{tde_libdir}/libqca.so.* + +########## + +%package devel +Summary: TQt Cryptographic Architecture development files +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +This packages contains the development files for TQCA + +%post devel +/sbin/ldconfig + +%postun devel +/sbin/ldconfig + +%files devel +%defattr(-,root,root,-) +%{tde_includedir}/qca.h +%{tde_libdir}/libqca.so + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n tqca-master +%patch0 -p0 -b .mach +%patch1 -p1 -b .qt + +# Fix 'lib64' library directory +perl -pi -e 's,target\.path=\$PREFIX/lib,target.path=\$PREFIX/%{_lib},g' qcextra + +# Revert TQCA to QCA +%__sed -i examples/*/*.cpp src/*.h src/*.cpp -e "s|TQCA|QCA|g" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +./configure \ + --prefix=%{tde_prefix} \ + --qtdir=${QTDIR} \ + --debug + +%__make %{?_smp_mflags} + + +%install +%__rm -rf $RPM_BUILD_ROOT +%__make install INSTALL_ROOT=$RPM_BUILD_ROOT + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + + +%changelog +* Thu Jun 27 2013 Francois Andriot - 1.0-2 +- Renames TQCA to QCA in source code + +* Mon Jun 03 2013 Francois Andriot - 1.0-1 +- Initial build for TDE 3.5.13.2 diff --git a/redhat/dependencies/tqca/trinity-tqca-14.0.0.spec b/redhat/dependencies/tqca/trinity-tqca-14.0.0.spec deleted file mode 100644 index 9cc4131ad..000000000 --- a/redhat/dependencies/tqca/trinity-tqca-14.0.0.spec +++ /dev/null @@ -1,123 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -%define tde_version 14.0.0 - -%define tde_bindir %{tde_prefix}/bin -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_datadir %{tde_prefix}/share - -%define tde_tdeincludedir %{tde_includedir}/tde - -%define _docdir %{tde_datadir}/doc - - -Name: trinity-tqca -Version: 1.0 -Release: 2%{?dist}%{?_variant} - -Summary: TQt Cryptographic Architecture - -Group: System Environment/Libraries -License: LGPLv2+ - -Vendor: Trinity Project -URL: http://www.trinitydesktop.org/ -Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tqt3-devel >= %{tde_version} -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} - - -%description -Taking a hint from the similarly-named Java Cryptography Architecture, -TQCA aims to provide a straightforward and cross-platform crypto API, -using TQt datatypes and conventions. TQCA separates the API from the -implementation, using plugins known as Providers. The advantage of this -model is to allow applications to avoid linking to or explicitly depending -on any particular cryptographic library. This allows one to easily change -or upgrade crypto implementations without even needing to recompile the -application! - -%post -/sbin/ldconfig - -%postun -/sbin/ldconfig - -%files -%defattr(-,root,root,-) -%doc COPYING README TODO -%{tde_libdir}/libqca.so.* - -########## - -%package devel -Summary: TQt Cryptographic Architecture development files -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -%description devel -This packages contains the development files for TQCA - -%post devel -/sbin/ldconfig - -%postun devel -/sbin/ldconfig - -%files devel -%defattr(-,root,root,-) -%{tde_includedir}/qca.h -%{tde_libdir}/libqca.so - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} - -# Fix 'lib64' library directory -perl -pi -e 's,target\.path=\$PREFIX/lib,target.path=\$PREFIX/%{_lib},g' qcextra - - -%build -unset QTDIR -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -./configure \ - --prefix=%{tde_prefix} \ - --qtdir=/usr \ - --debug - -%__make %{?_smp_mflags} - - -%install -%__rm -rf $RPM_BUILD_ROOT -%__make install INSTALL_ROOT=$RPM_BUILD_ROOT - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 1.0-1 -- Initial build for TDE 3.5.13.2 diff --git a/redhat/dependencies/tqca/trinity-tqca-3.5.13.2.spec b/redhat/dependencies/tqca/trinity-tqca-3.5.13.2.spec deleted file mode 100644 index eefe8a16e..000000000 --- a/redhat/dependencies/tqca/trinity-tqca-3.5.13.2.spec +++ /dev/null @@ -1,131 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -%define tde_bindir %{tde_prefix}/bin -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_datadir %{tde_prefix}/share - -%define tde_tdeincludedir %{tde_includedir}/tde - -%define _docdir %{tde_datadir}/doc - - -Name: trinity-tqca -Version: 1.0 -Release: 2%{?dist}%{?_variant} - -Summary: TQt Cryptographic Architecture - -Group: System Environment/Libraries -License: LGPLv2+ - -Vendor: Trinity Project -#URL: http://delta.affinix.com/qca -URL: http://www.trinitydesktop.org/ -Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: tqca-master.tar.gz -Patch0: qca-1.0-mach.patch -Patch1: tqca-1.0-fix_qt3_detection.patch - -BuildRequires: qt3-devel >= 3.3.8.d -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 - -%description -Taking a hint from the similarly-named Java Cryptography Architecture, -TQCA aims to provide a straightforward and cross-platform crypto API, -using TQt datatypes and conventions. TQCA separates the API from the -implementation, using plugins known as Providers. The advantage of this -model is to allow applications to avoid linking to or explicitly depending -on any particular cryptographic library. This allows one to easily change -or upgrade crypto implementations without even needing to recompile the -application! - -%post -/sbin/ldconfig - -%postun -/sbin/ldconfig - -%files -%defattr(-,root,root,-) -%doc COPYING README TODO -%{tde_libdir}/libqca.so.* - -########## - -%package devel -Summary: TQt Cryptographic Architecture development files -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -%description devel -This packages contains the development files for TQCA - -%post devel -/sbin/ldconfig - -%postun devel -/sbin/ldconfig - -%files devel -%defattr(-,root,root,-) -%{tde_includedir}/qca.h -%{tde_libdir}/libqca.so - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n tqca-master -%patch0 -p0 -b .mach -%patch1 -p1 -b .qt - -# Fix 'lib64' library directory -perl -pi -e 's,target\.path=\$PREFIX/lib,target.path=\$PREFIX/%{_lib},g' qcextra - -# Revert TQCA to QCA -%__sed -i examples/*/*.cpp src/*.h src/*.cpp -e "s|TQCA|QCA|g" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -./configure \ - --prefix=%{tde_prefix} \ - --qtdir=${QTDIR} \ - --debug - -%__make %{?_smp_mflags} - - -%install -%__rm -rf $RPM_BUILD_ROOT -%__make install INSTALL_ROOT=$RPM_BUILD_ROOT - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - - -%changelog -* Thu Jun 27 2013 Francois Andriot - 1.0-2 -- Renames TQCA to QCA in source code - -* Mon Jun 03 2013 Francois Andriot - 1.0-1 -- Initial build for TDE 3.5.13.2 diff --git a/redhat/dependencies/tqt3/tqt3-14.0.0.spec b/redhat/dependencies/tqt3/tqt3-14.0.0.spec new file mode 100644 index 000000000..15d8e2748 --- /dev/null +++ b/redhat/dependencies/tqt3/tqt3-14.0.0.spec @@ -0,0 +1,580 @@ +%define tde_version 14.0.0 + +# Always install under standard prefix +%define tde_prefix /usr +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +# The following QT4 packages should NOT be installed to +# allow QT3 compilation (please uninstall them prior to compile) +# qt +# qt-sqlite +# qt-mysql +# qt-x11 +# qt-devel +# ...maybe others !!!! + +Name: trinity-tqt3 +Version: 14.0.0%{?preversion:_%{preversion}} +Release: 1%{?dist} +Summary: The shared library for the Trinity Qt 3 GUI toolkit + +License: QPL or GPLv2 or GPLv3 +Group: System Environment/Libraries +BuildRoot: %{_tmppath}/%{name}-%{tde_version}-%{release}-root-%(%{__id_u} -n) +Url: http://www.trinitydesktop.org + +Prefix: %{tde_prefix} + +Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz + +# [tqt3] Build shared libraries +Patch1: tqt3-14.0.0-shared_lib.patch +# [tqt3] Fix FTBFS +Patch2: tqt3-14.0.0-fix_ftbfs.patch + +BuildRequires: desktop-file-utils +BuildRequires: libmng-devel +BuildRequires: glibc-devel +BuildRequires: libjpeg-devel +BuildRequires: libpng-devel +BuildRequires: zlib-devel +BuildRequires: giflib-devel +BuildRequires: perl +BuildRequires: sed +BuildRequires: findutils +BuildRequires: cups-devel +BuildRequires: tar +BuildRequires: freetype-devel +BuildRequires: fontconfig-devel + +# Xrender support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: libXrender-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: libxrender-devel +%endif + +# Xrandr support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: libXrandr-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: libxrandr-devel +%endif + +# Xcursor support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: libXcursor-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: libxcursor-devel +%endif + +# Xinerama support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: libXinerama-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: libxinerama-devel +%endif + +# Xft support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: libXft-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: libxft-devel +%endif + +# Xext support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: libXext-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: libxext-devel +%endif + +# X11 support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: libX11-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: libx11-devel +%endif + +# SM support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: libSM-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: libsm-devel +%endif + +# ICE support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: libICE-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: libice-devel +%endif + +# XT support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: libXt-devel +%endif + +# XMU support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: libXmu-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: libxmu-devel +%endif + +# XI support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: libXi-devel +%endif + +# Xorg support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: xorg-x11-proto-devel +%endif + +# MESA support +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: mesa-libGL-devel +BuildRequires: mesa-libGLU-devel +%endif +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: mesaglu-devel +%endif + +BuildRequires: desktop-file-utils +BuildRequires: mysql-devel +BuildRequires: postgresql-devel +BuildRequires: unixODBC-devel +BuildRequires: sqlite-devel + +# Firebird support +%if 0%{?mdkversion} || 0%{?mgaversion} +%define with_ibase 1 +BuildRequires: firebird-devel +%endif + +# x86_64 specific stuff +%if "%{_lib}" != "lib" +%if 0%{?mdkversion} || ( 0%{?mgaversion} && 0%{?mgaversion} <= 2) +BuildRequires: linux32 +%else +BuildRequires: util-linux +%endif +%endif + +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig +Requires: coreutils +Requires: fontconfig >= 2.0 +Requires: /etc/ld.so.conf.d + +%if 0%{?mdkversion} || 0%{?mgaversion} +Obsoletes: %{_lib}qt3 +Provides: %{_lib}qt3 = 3.3.8.d +%endif + + +%description +TQt is a GUI software toolkit which simplifies the task of writing and +maintaining GUI (Graphical User Interface) applications +for the X Window System. + +TQt is written in C++ and is fully object-oriented. + +This package contains the shared library needed to run TQt 3 +applications, as well as the README files for TQt 3. + +%post +/sbin/ldconfig || : + +%postun +/sbin/ldconfig || : + +%files +%defattr(-,root,root,-) +%doc FAQ LICENSE* README* changes* +%dir %{tde_libdir}/tqt3/plugins +%dir %{tde_libdir}/tqt3/plugins/sqldrivers +#%dir %{tde_libdir}/tqt3/plugins/styles +%{tde_datadir}/tqt3/translations/ +%dir %{tde_libdir}/tqt3/plugins/designer +%{tde_libdir}/tqt3/plugins/designer/libcppeditor.so +%{tde_libdir}/tqt3/plugins/designer/libdlgplugin.so +%{tde_libdir}/tqt3/plugins/designer/libgladeplugin.so +%{tde_libdir}/tqt3/plugins/designer/libkdevdlgplugin.so +%{tde_libdir}/tqt3/plugins/designer/librcplugin.so +%{tde_libdir}/tqt3/plugins/designer/libwizards.so +%dir %{tde_libdir}/tqt3/plugins/imageformats +%{tde_libdir}/tqt3/plugins/imageformats/libqmng.so +%dir %{tde_libdir}/tqt3/plugins/inputmethods +%{tde_libdir}/tqt3/plugins/inputmethods/libqimsw-multi.so +%{tde_libdir}/tqt3/plugins/inputmethods/libqimsw-none.so +%{tde_libdir}/tqt3/plugins/inputmethods/libqsimple.so +%{tde_libdir}/tqt3/plugins/inputmethods/libqxim.so +%{tde_libdir}/libtqt-mt.so.3 +%{tde_libdir}/libtqt-mt.so.3.3 +%{tde_libdir}/libtqt-mt.so.3.3.8 +%{tde_libdir}/libtqt-mt.la +%{tde_libdir}/libtqui.so.1 +%{tde_libdir}/libtqui.so.1.0 +%{tde_libdir}/libtqui.so.1.0.0 +%{tde_libdir}/libdesignercore.so.1 +%{tde_libdir}/libdesignercore.so.1.0 +%{tde_libdir}/libdesignercore.so.1.0.0 +%{tde_libdir}/libeditor.so.1 +%{tde_libdir}/libeditor.so.1.0 +%{tde_libdir}/libeditor.so.1.0.0 +%{tde_libdir}/libqassistantclient.so.1 +%{tde_libdir}/libqassistantclient.so.1.0 +%{tde_libdir}/libqassistantclient.so.1.0.0 + +########## + +%package config +Summary: Graphical configuration tool for programs using Qt 3 +Group: User Interface/Desktops +Requires: %{name} = %{version}-%{release} + +%description config +TQt is a GUI software toolkit which simplifies the task of writing and +maintaining GUI (Graphical User Interface) applications +for the X Window System. + +TQt is written in C++ and is fully object-oriented. + +This package contains a graphical configuration tool for programs using TQt 3. + +%files config +%defattr(-,root,root,-) +%{tde_bindir}/tqtconfig + +########## + +%package devel +Summary: Development files for the Qt 3 GUI toolkit +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +The %{name}-devel package contains the files necessary to develop +applications using the TQt GUI toolkit: the header files, the TQt meta +object compiler. + +Install %{name}-devel if you want to develop GUI applications using the TQt 3 +toolkit. + +%files devel +%defattr(-,root,root,-) +%{tde_bindir}/conv2ui +%{tde_bindir}/qvfb +%{tde_bindir}/tqmoc +%{tde_bindir}/tquic +%{tde_bindir}/findtr +%{tde_bindir}/qt20fix +%{tde_bindir}/qtrename140 +%{tde_bindir}/tqassistant +%{tde_bindir}/qm2ts +%{tde_bindir}/tqmake +%{tde_bindir}/tqembed +%{tde_bindir}/tqlinguist +%{tde_bindir}/tqlupdate +%{tde_bindir}/tqlrelease +%{tde_bindir}/createcw +%{tde_bindir}/makeqpf +%{tde_bindir}/mergetr +%{tde_bindir}/msg2qm +%{tde_datadir}/tqt3/mkspecs/ +%{tde_datadir}/tqt3/phrasebooks/ +%{tde_includedir}/tqt3/ +%{tde_libdir}/libdesignercore.prl +%{tde_libdir}/libdesignercore.so +%{tde_libdir}/libeditor.prl +%{tde_libdir}/libeditor.so +%{tde_libdir}/libqassistantclient.prl +%{tde_libdir}/libqassistantclient.so +%{tde_libdir}/libtqt-mt.so +%{tde_libdir}/libtqt-mt.prl +%{tde_libdir}/libtqui.so +%{tde_libdir}/libtqui.prl +%{tde_libdir}/pkgconfig/tqt-mt.pc + + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + +########## + +%package devel-docs +Summary: Documentation for the TQt 3 GUI toolkit +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description devel-docs +The %{name}-devel-docs package contains the man pages, the HTML documentation and +example programs for TQt 3. + +%files devel-docs +%defattr(-,root,root,-) +%doc examples +%doc tutorial +%{tde_datadir}/tqt3/doc/html/ + +########## + +%package ODBC +Summary: ODBC drivers for TQt 3's SQL classes +Group: System Environment/Libraries +Requires: %{name} = %{version}-%{release} + +%description ODBC +ODBC driver for TQt 3's SQL classes (QSQL) + +%files ODBC +%defattr(-,root,root,-) +%{tde_libdir}/tqt3/plugins/sqldrivers/libqsqlodbc.so + +########## + +%package MySQL +Summary: MySQL drivers for TQt 3's SQL classes +Group: System Environment/Libraries +Requires: %{name} = %{version}-%{release} + +%description MySQL +MySQL driver for TQt 3's SQL classes (QSQL) + +%files MySQL +%defattr(-,root,root,-) +%{tde_libdir}/tqt3/plugins/sqldrivers/libqsqlmysql.so + +########## + +%package PostgreSQL +Summary: PostgreSQL drivers for TQt 3's SQL classes +Group: System Environment/Libraries +Requires: %{name} = %{version}-%{release} + +%description PostgreSQL +PostgreSQL driver for TQt 3's SQL classes (QSQL) + +%files PostgreSQL +%defattr(-,root,root,-) +%{tde_libdir}/tqt3/plugins/sqldrivers/libqsqlpsql.so + +########## + +%package sqlite +Summary: sqlite drivers for TQt 3's SQL classes +Group: System Environment/Libraries +Requires: %{name} = %{version}-%{release} + +%description sqlite +sqlite driver for TQt 3's SQL classes (QSQL) + +%files sqlite +%defattr(-,root,root,-) +%{tde_libdir}/tqt3/plugins/sqldrivers/libqsqlite.so + +########## + +%if %{?with_ibase} +%package ibase +Summary: ibase drivers for TQt 3's SQL classes +Group: System Environment/Libraries +Requires: %{name} = %{version}-%{release} + +%description ibase +ibase driver for TQt 3's SQL classes (QSQL) + +%files ibase +%defattr(-,root,root,-) +%{tde_libdir}/tqt3/plugins/sqldrivers/libqsqlibase.so +%endif + +########## + +%package designer +Summary: In3erface designer (IDE) for the Qt 3 toolkit +Group: Development/Tools +Requires: %{name}-devel = %{version}-%{release} + +%description designer +The %{name}-designer package contains an User Interface designer tool +for the TQt 3 toolkit. + +%files designer +%defattr(-,root,root,-) +%{tde_bindir}/tqdesigner +%{tde_datadir}/tqt3/templates/ + +########## + + +%prep +%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} +%patch1 -p1 -b .sharedlibs +%patch2 -p1 -b .ftbfs + +%build +unset QTDIR QTINC QTLIB +export QTDIR=$(pwd) +export PATH=${QTDIR}/stripbin:${QTDIR}/bin:$PATH +export MANPATH=${QTDIR}/doc/man:$MANPATH +export LD_LIBRARY_PATH=${QTDIR}/lib:$LD_LIBRARY_PATH + +# Checks for supplementary include dir +INCDIRS="" +for d in \ + /usr/include/fontconfig \ + /usr/include/pgsql/server \ + /usr/include/postgresql/server \ + /usr/include/Xft2 \ + /usr/include/Xft2/X11/Xft \ + /usr/include/mysql \ + /usr/include/libpng15 \ +; do + if [ -d "${d}" ]; then + INCDIRS="${INCDIRS} -I${d}" + fi +done + +# Checks for supplementary library dirs +LIBDIRS="" +for d in \ + %{_libdir}/mysql \ + %{_libdir}/pgsql \ +; do + if [ -d "${d}" ]; then + LIBDIRS="${LIBDIRS} -L${d}" + fi +done + +# build shared, threaded (default) libraries +echo yes | ./configure \ + ${INCDIRS} \ + ${LIBDIRS} \ + -L%{_libdir} \ + -prefix "%{tde_prefix}" \ + -libdir "%{tde_libdir}" \ + -sysconfdir "%{_sysconfdir}/tqt3" \ + -datadir "%{tde_datadir}/tqt3" \ + -headerdir "%{tde_includedir}/tqt3" \ + -docdir "%{tde_datadir}/tqt3/doc" \ + -plugindir "%{tde_libdir}/tqt3/plugins" \ + -translationdir "%{tde_datadir}/tqt3/translations" \ + \ + -thread \ + -shared \ + -fast \ + -no-exceptions \ +%if "%{_lib}" == "lib64" + -platform linux-g++-64 \ +%else + -platform linux-g++ \ +%endif + \ + -nis \ + -no-pch \ + -cups \ + -stl \ + -ipv6 \ + \ + -sm \ + -xshape \ + -xinerama \ + -xcursor \ + -xrandr \ + -xrender \ + -xft \ + -tablet \ + -xkb \ + \ + -system-zlib \ + -system-libpng \ + -system-libmng \ + -system-libjpeg \ + -system-nas-sound \ + \ + -enable-opengl \ + -dlopen-opengl \ + \ + -qt-gif \ + -qt-imgfmt-png \ + -qt-imgfmt-jpeg \ + -plugin-imgfmt-mng \ + \ + -plugin-sql-odbc \ + -plugin-sql-psql \ + -plugin-sql-mysql \ + %{?with_ibase:-plugin-sql-ibase} \ + -plugin-sql-sqlite \ + \ + -lfontconfig \ + -inputmethod \ + -glibmainloop + + +# Fix bad headers +rm -rf include/ntqinputcontext.h include/ntqinputcontextfactory.h include/ntqinputcontextplugin.h +ln -s ../src/kernel/ntqinputcontext.h include/ntqinputcontext.h +ln -s ../src/inputmethod/ntqinputcontextfactory.h include/ntqinputcontextfactory.h +ln -s ../src/inputmethod/ntqinputcontextplugin.h include/ntqinputcontextplugin.h + +# proceed +#%__make %{?_smp_mflags} symlinks src-qmake src-moc +%__make %{?_smp_mflags} sub-src sub-plugins sub-tools + +# build conv2ui +%__make -C tools/designer/tools/conv2ui + +# build qvfb +%__make -C tools/qvfb + +# fix .prl files +%__sed -i lib/*.prl -e "s|${QTDIR}|%{tde_datadir}/tqt3|g" + +# fix QTDIR in 'qmake.conf' +%__sed -i mkspecs/*/qmake.conf -e "s|^QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT = \$(QTDIR)/include/tqt3|" + + +%install +%__rm -rf %{buildroot} + +%__make -C src INSTALL_ROOT=%{?buildroot} install_target +%__make INSTALL_ROOT=%{?buildroot} install +%__make INSTALL_ROOT=%{?buildroot} plugins-install + +%__install -m755 bin/qtrename140 %{?buildroot}%{_bindir} +%__install -m755 bin/qt20fix %{?buildroot}%{_bindir} +%__install -m755 bin/findtr %{?buildroot}%{_bindir} + +# install conv2ui +%__install -m755 bin/conv2ui %{?buildroot}%{_bindir}/conv2ui + +# install qvfb +%__install -m755 tools/qvfb/qvfb %{?buildroot}%{_bindir}/qvfb + + +%clean +%__rm -rf %{buildroot} + + +%changelog +* Mon Feb 13 2012 Francois Andriot - 14.0.0-1 +- Initial build for TDE R14.0.0 diff --git a/redhat/dependencies/tqt3/trinity-tqt3-14.0.0.spec b/redhat/dependencies/tqt3/trinity-tqt3-14.0.0.spec deleted file mode 100644 index 15d8e2748..000000000 --- a/redhat/dependencies/tqt3/trinity-tqt3-14.0.0.spec +++ /dev/null @@ -1,580 +0,0 @@ -%define tde_version 14.0.0 - -# Always install under standard prefix -%define tde_prefix /usr -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -# The following QT4 packages should NOT be installed to -# allow QT3 compilation (please uninstall them prior to compile) -# qt -# qt-sqlite -# qt-mysql -# qt-x11 -# qt-devel -# ...maybe others !!!! - -Name: trinity-tqt3 -Version: 14.0.0%{?preversion:_%{preversion}} -Release: 1%{?dist} -Summary: The shared library for the Trinity Qt 3 GUI toolkit - -License: QPL or GPLv2 or GPLv3 -Group: System Environment/Libraries -BuildRoot: %{_tmppath}/%{name}-%{tde_version}-%{release}-root-%(%{__id_u} -n) -Url: http://www.trinitydesktop.org - -Prefix: %{tde_prefix} - -Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz - -# [tqt3] Build shared libraries -Patch1: tqt3-14.0.0-shared_lib.patch -# [tqt3] Fix FTBFS -Patch2: tqt3-14.0.0-fix_ftbfs.patch - -BuildRequires: desktop-file-utils -BuildRequires: libmng-devel -BuildRequires: glibc-devel -BuildRequires: libjpeg-devel -BuildRequires: libpng-devel -BuildRequires: zlib-devel -BuildRequires: giflib-devel -BuildRequires: perl -BuildRequires: sed -BuildRequires: findutils -BuildRequires: cups-devel -BuildRequires: tar -BuildRequires: freetype-devel -BuildRequires: fontconfig-devel - -# Xrender support -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: libXrender-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: libxrender-devel -%endif - -# Xrandr support -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: libXrandr-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: libxrandr-devel -%endif - -# Xcursor support -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: libXcursor-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: libxcursor-devel -%endif - -# Xinerama support -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: libXinerama-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: libxinerama-devel -%endif - -# Xft support -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: libXft-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: libxft-devel -%endif - -# Xext support -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: libXext-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: libxext-devel -%endif - -# X11 support -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: libX11-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: libx11-devel -%endif - -# SM support -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: libSM-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: libsm-devel -%endif - -# ICE support -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: libICE-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: libice-devel -%endif - -# XT support -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: libXt-devel -%endif - -# XMU support -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: libXmu-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: libxmu-devel -%endif - -# XI support -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: libXi-devel -%endif - -# Xorg support -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: xorg-x11-proto-devel -%endif - -# MESA support -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: mesa-libGL-devel -BuildRequires: mesa-libGLU-devel -%endif -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: mesaglu-devel -%endif - -BuildRequires: desktop-file-utils -BuildRequires: mysql-devel -BuildRequires: postgresql-devel -BuildRequires: unixODBC-devel -BuildRequires: sqlite-devel - -# Firebird support -%if 0%{?mdkversion} || 0%{?mgaversion} -%define with_ibase 1 -BuildRequires: firebird-devel -%endif - -# x86_64 specific stuff -%if "%{_lib}" != "lib" -%if 0%{?mdkversion} || ( 0%{?mgaversion} && 0%{?mgaversion} <= 2) -BuildRequires: linux32 -%else -BuildRequires: util-linux -%endif -%endif - -Requires(post): /sbin/ldconfig -Requires(postun): /sbin/ldconfig -Requires: coreutils -Requires: fontconfig >= 2.0 -Requires: /etc/ld.so.conf.d - -%if 0%{?mdkversion} || 0%{?mgaversion} -Obsoletes: %{_lib}qt3 -Provides: %{_lib}qt3 = 3.3.8.d -%endif - - -%description -TQt is a GUI software toolkit which simplifies the task of writing and -maintaining GUI (Graphical User Interface) applications -for the X Window System. - -TQt is written in C++ and is fully object-oriented. - -This package contains the shared library needed to run TQt 3 -applications, as well as the README files for TQt 3. - -%post -/sbin/ldconfig || : - -%postun -/sbin/ldconfig || : - -%files -%defattr(-,root,root,-) -%doc FAQ LICENSE* README* changes* -%dir %{tde_libdir}/tqt3/plugins -%dir %{tde_libdir}/tqt3/plugins/sqldrivers -#%dir %{tde_libdir}/tqt3/plugins/styles -%{tde_datadir}/tqt3/translations/ -%dir %{tde_libdir}/tqt3/plugins/designer -%{tde_libdir}/tqt3/plugins/designer/libcppeditor.so -%{tde_libdir}/tqt3/plugins/designer/libdlgplugin.so -%{tde_libdir}/tqt3/plugins/designer/libgladeplugin.so -%{tde_libdir}/tqt3/plugins/designer/libkdevdlgplugin.so -%{tde_libdir}/tqt3/plugins/designer/librcplugin.so -%{tde_libdir}/tqt3/plugins/designer/libwizards.so -%dir %{tde_libdir}/tqt3/plugins/imageformats -%{tde_libdir}/tqt3/plugins/imageformats/libqmng.so -%dir %{tde_libdir}/tqt3/plugins/inputmethods -%{tde_libdir}/tqt3/plugins/inputmethods/libqimsw-multi.so -%{tde_libdir}/tqt3/plugins/inputmethods/libqimsw-none.so -%{tde_libdir}/tqt3/plugins/inputmethods/libqsimple.so -%{tde_libdir}/tqt3/plugins/inputmethods/libqxim.so -%{tde_libdir}/libtqt-mt.so.3 -%{tde_libdir}/libtqt-mt.so.3.3 -%{tde_libdir}/libtqt-mt.so.3.3.8 -%{tde_libdir}/libtqt-mt.la -%{tde_libdir}/libtqui.so.1 -%{tde_libdir}/libtqui.so.1.0 -%{tde_libdir}/libtqui.so.1.0.0 -%{tde_libdir}/libdesignercore.so.1 -%{tde_libdir}/libdesignercore.so.1.0 -%{tde_libdir}/libdesignercore.so.1.0.0 -%{tde_libdir}/libeditor.so.1 -%{tde_libdir}/libeditor.so.1.0 -%{tde_libdir}/libeditor.so.1.0.0 -%{tde_libdir}/libqassistantclient.so.1 -%{tde_libdir}/libqassistantclient.so.1.0 -%{tde_libdir}/libqassistantclient.so.1.0.0 - -########## - -%package config -Summary: Graphical configuration tool for programs using Qt 3 -Group: User Interface/Desktops -Requires: %{name} = %{version}-%{release} - -%description config -TQt is a GUI software toolkit which simplifies the task of writing and -maintaining GUI (Graphical User Interface) applications -for the X Window System. - -TQt is written in C++ and is fully object-oriented. - -This package contains a graphical configuration tool for programs using TQt 3. - -%files config -%defattr(-,root,root,-) -%{tde_bindir}/tqtconfig - -########## - -%package devel -Summary: Development files for the Qt 3 GUI toolkit -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -%description devel -The %{name}-devel package contains the files necessary to develop -applications using the TQt GUI toolkit: the header files, the TQt meta -object compiler. - -Install %{name}-devel if you want to develop GUI applications using the TQt 3 -toolkit. - -%files devel -%defattr(-,root,root,-) -%{tde_bindir}/conv2ui -%{tde_bindir}/qvfb -%{tde_bindir}/tqmoc -%{tde_bindir}/tquic -%{tde_bindir}/findtr -%{tde_bindir}/qt20fix -%{tde_bindir}/qtrename140 -%{tde_bindir}/tqassistant -%{tde_bindir}/qm2ts -%{tde_bindir}/tqmake -%{tde_bindir}/tqembed -%{tde_bindir}/tqlinguist -%{tde_bindir}/tqlupdate -%{tde_bindir}/tqlrelease -%{tde_bindir}/createcw -%{tde_bindir}/makeqpf -%{tde_bindir}/mergetr -%{tde_bindir}/msg2qm -%{tde_datadir}/tqt3/mkspecs/ -%{tde_datadir}/tqt3/phrasebooks/ -%{tde_includedir}/tqt3/ -%{tde_libdir}/libdesignercore.prl -%{tde_libdir}/libdesignercore.so -%{tde_libdir}/libeditor.prl -%{tde_libdir}/libeditor.so -%{tde_libdir}/libqassistantclient.prl -%{tde_libdir}/libqassistantclient.so -%{tde_libdir}/libtqt-mt.so -%{tde_libdir}/libtqt-mt.prl -%{tde_libdir}/libtqui.so -%{tde_libdir}/libtqui.prl -%{tde_libdir}/pkgconfig/tqt-mt.pc - - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - -########## - -%package devel-docs -Summary: Documentation for the TQt 3 GUI toolkit -Group: Development/Libraries -Requires: %{name}-devel = %{version}-%{release} - -%description devel-docs -The %{name}-devel-docs package contains the man pages, the HTML documentation and -example programs for TQt 3. - -%files devel-docs -%defattr(-,root,root,-) -%doc examples -%doc tutorial -%{tde_datadir}/tqt3/doc/html/ - -########## - -%package ODBC -Summary: ODBC drivers for TQt 3's SQL classes -Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} - -%description ODBC -ODBC driver for TQt 3's SQL classes (QSQL) - -%files ODBC -%defattr(-,root,root,-) -%{tde_libdir}/tqt3/plugins/sqldrivers/libqsqlodbc.so - -########## - -%package MySQL -Summary: MySQL drivers for TQt 3's SQL classes -Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} - -%description MySQL -MySQL driver for TQt 3's SQL classes (QSQL) - -%files MySQL -%defattr(-,root,root,-) -%{tde_libdir}/tqt3/plugins/sqldrivers/libqsqlmysql.so - -########## - -%package PostgreSQL -Summary: PostgreSQL drivers for TQt 3's SQL classes -Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} - -%description PostgreSQL -PostgreSQL driver for TQt 3's SQL classes (QSQL) - -%files PostgreSQL -%defattr(-,root,root,-) -%{tde_libdir}/tqt3/plugins/sqldrivers/libqsqlpsql.so - -########## - -%package sqlite -Summary: sqlite drivers for TQt 3's SQL classes -Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} - -%description sqlite -sqlite driver for TQt 3's SQL classes (QSQL) - -%files sqlite -%defattr(-,root,root,-) -%{tde_libdir}/tqt3/plugins/sqldrivers/libqsqlite.so - -########## - -%if %{?with_ibase} -%package ibase -Summary: ibase drivers for TQt 3's SQL classes -Group: System Environment/Libraries -Requires: %{name} = %{version}-%{release} - -%description ibase -ibase driver for TQt 3's SQL classes (QSQL) - -%files ibase -%defattr(-,root,root,-) -%{tde_libdir}/tqt3/plugins/sqldrivers/libqsqlibase.so -%endif - -########## - -%package designer -Summary: In3erface designer (IDE) for the Qt 3 toolkit -Group: Development/Tools -Requires: %{name}-devel = %{version}-%{release} - -%description designer -The %{name}-designer package contains an User Interface designer tool -for the TQt 3 toolkit. - -%files designer -%defattr(-,root,root,-) -%{tde_bindir}/tqdesigner -%{tde_datadir}/tqt3/templates/ - -########## - - -%prep -%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}} -%patch1 -p1 -b .sharedlibs -%patch2 -p1 -b .ftbfs - -%build -unset QTDIR QTINC QTLIB -export QTDIR=$(pwd) -export PATH=${QTDIR}/stripbin:${QTDIR}/bin:$PATH -export MANPATH=${QTDIR}/doc/man:$MANPATH -export LD_LIBRARY_PATH=${QTDIR}/lib:$LD_LIBRARY_PATH - -# Checks for supplementary include dir -INCDIRS="" -for d in \ - /usr/include/fontconfig \ - /usr/include/pgsql/server \ - /usr/include/postgresql/server \ - /usr/include/Xft2 \ - /usr/include/Xft2/X11/Xft \ - /usr/include/mysql \ - /usr/include/libpng15 \ -; do - if [ -d "${d}" ]; then - INCDIRS="${INCDIRS} -I${d}" - fi -done - -# Checks for supplementary library dirs -LIBDIRS="" -for d in \ - %{_libdir}/mysql \ - %{_libdir}/pgsql \ -; do - if [ -d "${d}" ]; then - LIBDIRS="${LIBDIRS} -L${d}" - fi -done - -# build shared, threaded (default) libraries -echo yes | ./configure \ - ${INCDIRS} \ - ${LIBDIRS} \ - -L%{_libdir} \ - -prefix "%{tde_prefix}" \ - -libdir "%{tde_libdir}" \ - -sysconfdir "%{_sysconfdir}/tqt3" \ - -datadir "%{tde_datadir}/tqt3" \ - -headerdir "%{tde_includedir}/tqt3" \ - -docdir "%{tde_datadir}/tqt3/doc" \ - -plugindir "%{tde_libdir}/tqt3/plugins" \ - -translationdir "%{tde_datadir}/tqt3/translations" \ - \ - -thread \ - -shared \ - -fast \ - -no-exceptions \ -%if "%{_lib}" == "lib64" - -platform linux-g++-64 \ -%else - -platform linux-g++ \ -%endif - \ - -nis \ - -no-pch \ - -cups \ - -stl \ - -ipv6 \ - \ - -sm \ - -xshape \ - -xinerama \ - -xcursor \ - -xrandr \ - -xrender \ - -xft \ - -tablet \ - -xkb \ - \ - -system-zlib \ - -system-libpng \ - -system-libmng \ - -system-libjpeg \ - -system-nas-sound \ - \ - -enable-opengl \ - -dlopen-opengl \ - \ - -qt-gif \ - -qt-imgfmt-png \ - -qt-imgfmt-jpeg \ - -plugin-imgfmt-mng \ - \ - -plugin-sql-odbc \ - -plugin-sql-psql \ - -plugin-sql-mysql \ - %{?with_ibase:-plugin-sql-ibase} \ - -plugin-sql-sqlite \ - \ - -lfontconfig \ - -inputmethod \ - -glibmainloop - - -# Fix bad headers -rm -rf include/ntqinputcontext.h include/ntqinputcontextfactory.h include/ntqinputcontextplugin.h -ln -s ../src/kernel/ntqinputcontext.h include/ntqinputcontext.h -ln -s ../src/inputmethod/ntqinputcontextfactory.h include/ntqinputcontextfactory.h -ln -s ../src/inputmethod/ntqinputcontextplugin.h include/ntqinputcontextplugin.h - -# proceed -#%__make %{?_smp_mflags} symlinks src-qmake src-moc -%__make %{?_smp_mflags} sub-src sub-plugins sub-tools - -# build conv2ui -%__make -C tools/designer/tools/conv2ui - -# build qvfb -%__make -C tools/qvfb - -# fix .prl files -%__sed -i lib/*.prl -e "s|${QTDIR}|%{tde_datadir}/tqt3|g" - -# fix QTDIR in 'qmake.conf' -%__sed -i mkspecs/*/qmake.conf -e "s|^QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT = \$(QTDIR)/include/tqt3|" - - -%install -%__rm -rf %{buildroot} - -%__make -C src INSTALL_ROOT=%{?buildroot} install_target -%__make INSTALL_ROOT=%{?buildroot} install -%__make INSTALL_ROOT=%{?buildroot} plugins-install - -%__install -m755 bin/qtrename140 %{?buildroot}%{_bindir} -%__install -m755 bin/qt20fix %{?buildroot}%{_bindir} -%__install -m755 bin/findtr %{?buildroot}%{_bindir} - -# install conv2ui -%__install -m755 bin/conv2ui %{?buildroot}%{_bindir}/conv2ui - -# install qvfb -%__install -m755 tools/qvfb/qvfb %{?buildroot}%{_bindir}/qvfb - - -%clean -%__rm -rf %{buildroot} - - -%changelog -* Mon Feb 13 2012 Francois Andriot - 14.0.0-1 -- Initial build for TDE R14.0.0 diff --git a/redhat/extras/akode/akode-3.5.13.1.spec b/redhat/extras/akode/akode-3.5.13.1.spec new file mode 100644 index 000000000..2c3edf62e --- /dev/null +++ b/redhat/extras/akode/akode-3.5.13.1.spec @@ -0,0 +1,270 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +Summary: Audio-decoding framework +Name: trinity-akode +Version: 2.0.2 +Release: 3%{?dist}%{?_variant} + +License: LGPLv2+ +Group: System Environment/Libraries +#URL: http://carewolf.com/akode/ +URL: http://www.kde-apps.org/content/show.php?content=30375 +Source0: http://www.kde-apps.org/CONTENT/content-files/akode-%{version}.tar.bz2 + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + + +# Legacy Fedora 9 patches +Patch1: akode-pulseaudio.patch +Patch2: akode-2.0.2-multilib.patch +Patch3: akode-2.0.2-flac113-portable.patch +Patch4: akode-2.0.2-gcc43.patch + +# New patch for Fedora 16 / TDE 3.5.13 +Patch10: akode-autotools.patch +Patch11: akode-2.0.2-fix_ffmpeg_include.patch + +# Optional features that are always enabled :-) +%define _with_flac --with-flac + +# Except on RHEL4 ... +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define _with_jack --with-jack +%define _with_libsamplerate --with-libsamplerate +%endif + +# Pulseaudio is not available on RHEL 5 and earlier +%if 0%{?fedora} >= 15 || 0%{?rhel} >= 6 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define _with_pulseaudio --with-pulseaudio +%endif + +BuildRequires: automake libtool +BuildRequires: alsa-lib-devel +%{?_with_libsamplerate:BuildRequires: libsamplerate-devel} +BuildRequires: libvorbis-devel +BuildRequires: speex-devel + +%if 0%{?mgaversion} || 0%{?mdkversion} +%{?_with_jack:BuildRequires: %{_lib}jack-devel} +%{?_with_flac:BuildRequires: %{_lib}flac-devel} +%{?_with_pulseaudio:BuildRequires: %{_lib}pulseaudio-devel} +%endif +%if 0%{?rhel} || 0%{?fedora} +%{?_with_flac:BuildRequires: flac-devel} +%{?_with_jack:BuildRequires: jack-audio-connection-kit-devel} +%{?_with_pulseaudio:BuildRequires: pulseaudio-libs-devel} +%endif +%if 0%{?suse_version} +%{?_with_flac:BuildRequires: flac-devel} +%{?_with_jack:BuildRequires: jack-audio-connection-kit-devel} +%{?_with_pulseaudio:BuildRequires: pulseaudio-devel} +%endif + + +%description +aKode is a simple audio-decoding frame-work that provides a uniform +interface to decode the most common audio-formats. It also has a direct +playback option for a number of audio-outputs. + +aKode currently has the following decoder plugins: +* mpc: Decodes musepack aka mpc audio. +* xiph: Decodes FLAC, Ogg/FLAC, Speex and Ogg Vorbis audio. + +aKode also has the following audio outputs: +* alsa: Outputs to ALSA (dmix is recommended). + +%package devel +Summary: Headers for developing programs that will use %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: pkgconfig +%description devel +%{summary}. + +%package jack +Summary: Jack audio output backend for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +%description jack +%{summary}. + +%package pulseaudio +Summary: Pulseaudio output backend for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +%description pulseaudio +%{summary}. +Recommended for network transparent audio. + +# Packaged separately to keep main/core %{akode} package LGPL-clean. +%package libsamplerate +Summary: Resampler based on libsamplerate for %{name} +Group: Development/Libraries +License: GPLv2+ +Requires: %{name} = %{version}-%{release} +%description libsamplerate +%{summary}. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n akode-%{version} + +%patch1 -p1 -b .pulseaudio +%patch2 -p1 -b .multilib +%patch3 -p4 -b .flac113_portable +%patch4 -p1 -b .gcc43 + +%patch10 -p1 +%patch11 -p1 -b .ffmpeg + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f admin/Makefile.common cvs + +%build +%configure \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_includedir} \ + --datadir=%{tde_datadir} \ + --disable-static \ + --enable-shared \ + --disable-debug --disable-warnings --disable-dependency-tracking \ + --without-libltdl \ + --with-alsa \ + --with-oss \ + %{?_with_flac} %{!?_with_flac:--without-flac} \ + %{?_with_jack} %{!?_with_jack:--without-jack} \ + %{?_with_libsamplerate} %{!?_with_libsamplerate:--without-libsamplerate} \ + %{?_with_pulseaudio} %{!?_with_pulseaudio:--without-pulseaudio} \ + --with-speex \ + --with-vorbis \ + --without-ffmpeg \ + --without-libmad \ + --enable-closure \ + --enable-new-ldflags \ + --enable-final + +%__make %{?_smp_mflags} LIBTOOL=$(which libtool) + + +%install +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# unpackaged files +%__rm -f %{buildroot}%{tde_libdir}/*.a + +# rpmdocs +for file in AUTHORS COPYING NEWS README TODO ; do + test -s "$file" && install -p -m644 -D "$file" "rpmdocs/$file" +done + + +%clean +%__rm -rf %{buildroot} + + +%post +/sbin/ldconfig + +%postun +/sbin/ldconfig + +%post devel +/sbin/ldconfig + +%postun devel +/sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%doc rpmdocs/* +%{tde_bindir}/akodeplay +%{tde_libdir}/libakode.so.* +%{tde_libdir}/libakode_alsa_sink.la +%{tde_libdir}/libakode_alsa_sink.so +%{tde_libdir}/libakode_mpc_decoder.la +%{tde_libdir}/libakode_mpc_decoder.so +%{tde_libdir}/libakode_oss_sink.la +%{tde_libdir}/libakode_oss_sink.so +%{tde_libdir}/libakode_xiph_decoder.la +%{tde_libdir}/libakode_xiph_decoder.so + +#files -libmad +# /opt/trinity/lib64/libakode_mpeg_decoder.la +# /opt/trinity/lib64/libakode_mpeg_decoder.so + + +%files devel +%defattr(-,root,root,-) +%{tde_bindir}/akode-config +%{tde_includedir}/* +%{tde_libdir}/libakode.la +%{tde_libdir}/libakode.so +%{tde_libdir}/pkgconfig/*.pc + +%if "%{?_with_jack}" != "" +%files jack +%defattr(-,root,root,-) +%{tde_libdir}/libakode_jack_sink.la +%{tde_libdir}/libakode_jack_sink.so +%endif + +# License: GPLv2+ +%if "%{?_with_libsamplerate:1}" == "1" +%files libsamplerate +%defattr(-,root,root,-) +%{tde_libdir}/libakode_src_resampler.la +%{tde_libdir}/libakode_src_resampler.so +%endif + +%if "%{?_with_pulseaudio:1}" == "1" +%files pulseaudio +%defattr(-,root,root,-) +%{tde_libdir}/libakode_polyp_sink.la +%{tde_libdir}/libakode_polyp_sink.so +%endif + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 2.0.2-3 +- Initial build for TDE 3.5.13.1 + +* Tue Jul 30 2012 Francois Andriot 2.0.2-2 +- Re-adds '.la' files + +* Tue May 01 2012 Francois Andriot 2.0.2-1 +- Port to TDE 3.5.13 +- Based on spec file from Fedora 9 'akode-2.0.2-5' diff --git a/redhat/extras/akode/akode-3.5.13.2.spec b/redhat/extras/akode/akode-3.5.13.2.spec new file mode 100644 index 000000000..cdedc117b --- /dev/null +++ b/redhat/extras/akode/akode-3.5.13.2.spec @@ -0,0 +1,353 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +Summary: Audio-decoding framework +Name: trinity-akode +Version: 2.0.2 +Release: 4%{?dist}%{?_variant} + +License: LGPLv2+ +Group: System Environment/Libraries +#URL: http://carewolf.com/akode/ +URL: http://www.kde-apps.org/content/show.php?content=30375 +Source0: akode-2.0.2.tar.bz2 + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + + +# Legacy Fedora 9 patches +Patch1: akode-pulseaudio.patch +Patch2: akode-2.0.2-multilib.patch +Patch3: akode-2.0.2-flac113-portable.patch +Patch4: akode-2.0.2-gcc43.patch + +# New patch for Fedora 16 / TDE 3.5.13 +Patch10: akode-autotools.patch +Patch11: akode-2.0.2-fix_ffmpeg_include.patch + + +# FLAC support +%define _with_flac --with-flac +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} +BuildRequires: libflac-devel +%else +BuildRequires: %{_lib}flac-devel +%endif +%endif +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +BuildRequires: flac-devel +%endif + +# JACK support +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define _with_jack --with-jack +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}jack-devel +%endif +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +BuildRequires: jack-audio-connection-kit-devel +%endif +%endif + +# SAMPLERATE support +%if 0%{?rhel} >= 4 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define _with_libsamplerate --with-libsamplerate +BuildRequires: libsamplerate-devel +%endif + +# PULSEAUDIO support +%if 0%{?fedora} >= 15 || 0%{?rhel} >= 6 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define _with_pulseaudio --with-pulseaudio +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}pulseaudio-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: pulseaudio-libs-devel +%endif +%if 0%{?suse_version} +BuildRequires: pulseaudio-devel +%endif +%endif + +# MAD support +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} +%define _with_libmad --with-libmad +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: %{_lib}mad-devel +%endif +%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} +BuildRequires: libmad-devel +%endif +%endif + + +BuildRequires: automake libtool +BuildRequires: alsa-lib-devel +BuildRequires: libvorbis-devel +BuildRequires: speex-devel + + +%description +aKode is a simple audio-decoding frame-work that provides a uniform +interface to decode the most common audio-formats. It also has a direct +playback option for a number of audio-outputs. + +aKode currently has the following decoder plugins: +* mpc: Decodes musepack aka mpc audio. +* xiph: Decodes FLAC, Ogg/FLAC, Speex and Ogg Vorbis audio. + +aKode also has the following audio outputs: +* alsa: Outputs to ALSA (dmix is recommended). + +%files +%defattr(-,root,root,-) +%doc rpmdocs/* +%{tde_bindir}/akodeplay +%{tde_libdir}/libakode.so.* +%{tde_libdir}/libakode_alsa_sink.la +%{tde_libdir}/libakode_alsa_sink.so +%{tde_libdir}/libakode_mpc_decoder.la +%{tde_libdir}/libakode_mpc_decoder.so +%{tde_libdir}/libakode_oss_sink.la +%{tde_libdir}/libakode_oss_sink.so +%{tde_libdir}/libakode_xiph_decoder.la +%{tde_libdir}/libakode_xiph_decoder.so + +%post +/sbin/ldconfig + +%postun +/sbin/ldconfig + +########## + +%package devel +Summary: Headers for developing programs that will use %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: pkgconfig +%description devel +%{summary}. + +%files devel +%defattr(-,root,root,-) +%{tde_bindir}/akode-config +%{tde_includedir}/* +%{tde_libdir}/libakode.la +%{tde_libdir}/libakode.so +%{tde_libdir}/pkgconfig/*.pc + +%post devel +/sbin/ldconfig + +%postun devel +/sbin/ldconfig + +########## + +%if "%{?_with_jack}" != "" + +%package jack +Summary: Jack audio output backend for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description jack +%{summary}. + +%files jack +%defattr(-,root,root,-) +%{tde_libdir}/libakode_jack_sink.la +%{tde_libdir}/libakode_jack_sink.so + +%post jack +/sbin/ldconfig + +%postun jack +/sbin/ldconfig + +%endif + +########## + +%if "%{?_with_pulseaudio}" != "" + +%package pulseaudio +Summary: Pulseaudio output backend for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description pulseaudio +%{summary}. +Recommended for network transparent audio. + +%files pulseaudio +%defattr(-,root,root,-) +%{tde_libdir}/libakode_polyp_sink.la +%{tde_libdir}/libakode_polyp_sink.so + +%post pulseaudio +/sbin/ldconfig + +%postun pulseaudio +/sbin/ldconfig + +%endif + +########## + +# Packaged separately to keep main/core %{akode} package LGPL-clean. +%if "%{?_with_libsamplerate:1}" == "1" + +%package libsamplerate +Summary: Resampler based on libsamplerate for %{name} +Group: Development/Libraries +License: GPLv2+ +Requires: %{name} = %{version}-%{release} + +%description libsamplerate +%{summary}. + +# License: GPLv2+ +%files libsamplerate +%defattr(-,root,root,-) +%{tde_libdir}/libakode_src_resampler.la +%{tde_libdir}/libakode_src_resampler.so + +%post libsamplerate +/sbin/ldconfig + +%postun libsamplerate +/sbin/ldconfig + +%endif + +########## + +%if "%{?_with_libmad}" != "" + +%package libmad +Summary: Decoder based on libmad for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description libmad +%{summary}. + +%files libmad +%{tde_libdir}/libakode_mpeg_decoder.la +%{tde_libdir}/libakode_mpeg_decoder.so + +%post libmad +/sbin/ldconfig + +%postun libmad +/sbin/ldconfig + +%endif + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n akode-%{version} + +%patch1 -p1 -b .pulseaudio +%patch2 -p1 -b .multilib +%patch3 -p4 -b .flac113_portable +%patch4 -p1 -b .gcc43 + +%patch10 -p1 -b .autotools +%patch11 -p1 -b .ffmpeg + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f admin/Makefile.common cvs + +%build +%configure \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_includedir} \ + --datadir=%{tde_datadir} \ + --disable-static \ + --enable-shared \ + --disable-debug --disable-warnings --disable-dependency-tracking \ + --without-libltdl \ + --with-alsa \ + --with-oss \ + %{?_with_flac} %{!?_with_flac:--without-flac} \ + %{?_with_jack} %{!?_with_jack:--without-jack} \ + %{?_with_libsamplerate} %{!?_with_libsamplerate:--without-libsamplerate} \ + %{?_with_pulseaudio} %{!?_with_pulseaudio:--without-pulseaudio} \ + --with-speex \ + --with-vorbis \ + --without-ffmpeg \ + %{?_with_libmad} %{!?_with_libmad:--without-libmad} \ + --enable-closure \ + --enable-new-ldflags \ + --enable-final + +%__make %{?_smp_mflags} LIBTOOL=$(which libtool) + + +%install +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# unpackaged files +%__rm -f %{buildroot}%{tde_libdir}/*.a + +# rpmdocs +for file in AUTHORS COPYING NEWS README TODO ; do + test -s "$file" && install -p -m644 -D "$file" "rpmdocs/$file" +done + + +%clean +%__rm -rf %{buildroot} + + +%changelog +* Sat Jan 19 2013 Francois Andriot - 2.0.2-4 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 2.0.2-3 +- Initial build for TDE 3.5.13.1 + +* Mon Jul 30 2012 Francois Andriot 2.0.2-2 +- Re-adds '.la' files + +* Tue May 01 2012 Francois Andriot 2.0.2-1 +- Port to TDE 3.5.13 +- Based on spec file from Fedora 9 'akode-2.0.2-5' diff --git a/redhat/extras/akode/akode-3.5.13.spec b/redhat/extras/akode/akode-3.5.13.spec new file mode 100644 index 000000000..d7bb760e2 --- /dev/null +++ b/redhat/extras/akode/akode-3.5.13.spec @@ -0,0 +1,251 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +Summary: Audio-decoding framework +Name: trinity-akode +Version: 2.0.2 +Release: 2%{?dist}%{?_variant} + +License: LGPLv2+ +Group: System Environment/Libraries +#URL: http://carewolf.com/akode/ +URL: http://www.kde-apps.org/content/show.php?content=30375 +Source0: http://www.kde-apps.org/CONTENT/content-files/akode-%{version}.tar.bz2 + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + + +# Legacy Fedora 9 patches +Patch1: akode-pulseaudio.patch +Patch2: akode-2.0.2-multilib.patch +Patch3: akode-2.0.2-flac113-portable.patch +Patch4: akode-2.0.2-gcc43.patch + +# New patch for Fedora 16 / TDE 3.5.13 +Patch10: akode-autotools.patch +Patch11: akode-2.0.2-fix_ffmpeg_include.patch + +# Optional features that are always enabled :-) +%define _with_flac --with-flac +%define _with_jack --with-jack +%define _with_libsamplerate --with-libsamplerate + +# Pulseaudio is not available on RHEL 5 and earlier +%if 0%{?fedora} >= 15 || 0%{?rhel} >= 6 || 0%{?mgaversion} || 0%{?mdkversion} +%define _with_pulseaudio --with-pulseaudio +%endif + +BuildRequires: automake libtool +BuildRequires: alsa-lib-devel +%{?_with_libsamplerate:BuildRequires: libsamplerate-devel} +BuildRequires: libvorbis-devel +BuildRequires: speex-devel + +%if 0%{?mgaversion} || 0%{?mdkversion} +%{?_with_jack:BuildRequires: %{_lib}jack-devel} +%{?_with_flac:BuildRequires: %{_lib}flac-devel} +%{?_with_pulseaudio:BuildRequires: %{_lib}pulseaudio-devel} +%else +%{?_with_flac:BuildRequires: flac-devel} +%{?_with_jack:BuildRequires: jack-audio-connection-kit-devel} +%{?_with_pulseaudio:BuildRequires: pulseaudio-libs-devel} +%endif + +%description +aKode is a simple audio-decoding frame-work that provides a uniform +interface to decode the most common audio-formats. It also has a direct +playback option for a number of audio-outputs. + +aKode currently has the following decoder plugins: +* mpc: Decodes musepack aka mpc audio. +* xiph: Decodes FLAC, Ogg/FLAC, Speex and Ogg Vorbis audio. + +aKode also has the following audio outputs: +* alsa: Outputs to ALSA (dmix is recommended). + +%package devel +Summary: Headers for developing programs that will use %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: pkgconfig +%description devel +%{summary}. + +%package jack +Summary: Jack audio output backend for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +%description jack +%{summary}. + +%package pulseaudio +Summary: Pulseaudio output backend for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +%description pulseaudio +%{summary}. +Recommended for network transparent audio. + +# Packaged separately to keep main/core %{akode} package LGPL-clean. +%package libsamplerate +Summary: Resampler based on libsamplerate for %{name} +Group: Development/Libraries +License: GPLv2+ +Requires: %{name} = %{version}-%{release} +%description libsamplerate +%{summary}. + + +%prep +%setup -q -n akode-%{version} + +%patch1 -p1 -b .pulseaudio +%patch2 -p1 -b .multilib +%patch3 -p4 -b .flac113_portable +%patch4 -p1 -b .gcc43 + +%patch10 -p1 +%patch11 -p1 -b .ffmpeg + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f admin/Makefile.common cvs + +%build +%configure \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_includedir} \ + --datadir=%{tde_datadir} \ + --disable-static \ + --enable-shared \ + --disable-debug --disable-warnings --disable-dependency-tracking \ + --without-libltdl \ + --with-alsa \ + --with-oss \ + %{?_with_flac} %{!?_with_flac:--without-flac} \ + %{?_with_jack} %{!?_with_jack:--without-jack} \ + %{?_with_libsamplerate} %{!?_with_libsamplerate:--without-libsamplerate} \ + %{?_with_pulseaudio} %{!?_with_pulseaudio:--without-pulseaudio} \ + --with-speex \ + --with-vorbis \ + --without-ffmpeg \ + --without-libmad \ + --enable-closure \ + --enable-new-ldflags \ + --enable-final + +%__make %{?_smp_mflags} LIBTOOL=$(which libtool) + + +%install +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# unpackaged files +%__rm -f %{buildroot}%{tde_libdir}/*.a + +# rpmdocs +for file in AUTHORS COPYING NEWS README TODO ; do + test -s "$file" && install -p -m644 -D "$file" "rpmdocs/$file" +done + + +%clean +%__rm -rf %{buildroot} + + +%post +/sbin/ldconfig + +%postun +/sbin/ldconfig + +%post devel +/sbin/ldconfig + +%postun devel +/sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%doc rpmdocs/* +%{tde_bindir}/akodeplay +%{tde_libdir}/libakode.so.* +%{tde_libdir}/libakode_alsa_sink.la +%{tde_libdir}/libakode_alsa_sink.so +%{tde_libdir}/libakode_mpc_decoder.la +%{tde_libdir}/libakode_mpc_decoder.so +%{tde_libdir}/libakode_oss_sink.la +%{tde_libdir}/libakode_oss_sink.so +%{tde_libdir}/libakode_xiph_decoder.la +%{tde_libdir}/libakode_xiph_decoder.so + +#files -libmad +# /opt/trinity/lib64/libakode_mpeg_decoder.la +# /opt/trinity/lib64/libakode_mpeg_decoder.so + + +%files devel +%defattr(-,root,root,-) +%{tde_bindir}/akode-config +%{tde_includedir}/* +%{tde_libdir}/libakode.la +%{tde_libdir}/libakode.so +%{tde_libdir}/pkgconfig/*.pc + +%if "%{?_with_jack:1}" == "1" +%files jack +%defattr(-,root,root,-) +%{tde_libdir}/libakode_jack_sink.la +%{tde_libdir}/libakode_jack_sink.so +%endif + +# License: GPLv2+ +%if "%{?_with_libsamplerate:1}" == "1" +%files libsamplerate +%defattr(-,root,root,-) +%{tde_libdir}/libakode_src_resampler.la +%{tde_libdir}/libakode_src_resampler.so +%endif + +%if "%{?_with_pulseaudio:1}" == "1" +%files pulseaudio +%defattr(-,root,root,-) +%{tde_libdir}/libakode_polyp_sink.la +%{tde_libdir}/libakode_polyp_sink.so +%endif + + +%changelog +* Tue Jul 30 2012 Francois Andriot 2.0.2-2 +- Re-adds '.la' files + +* Tue May 01 2012 Francois Andriot 2.0.2-1 +- Port to TDE 3.5.13 +- Based on spec file from Fedora 9 'akode-2.0.2-5' diff --git a/redhat/extras/akode/trinity-akode-3.5.13.1.spec b/redhat/extras/akode/trinity-akode-3.5.13.1.spec deleted file mode 100644 index 2c3edf62e..000000000 --- a/redhat/extras/akode/trinity-akode-3.5.13.1.spec +++ /dev/null @@ -1,270 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -Summary: Audio-decoding framework -Name: trinity-akode -Version: 2.0.2 -Release: 3%{?dist}%{?_variant} - -License: LGPLv2+ -Group: System Environment/Libraries -#URL: http://carewolf.com/akode/ -URL: http://www.kde-apps.org/content/show.php?content=30375 -Source0: http://www.kde-apps.org/CONTENT/content-files/akode-%{version}.tar.bz2 - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - - -# Legacy Fedora 9 patches -Patch1: akode-pulseaudio.patch -Patch2: akode-2.0.2-multilib.patch -Patch3: akode-2.0.2-flac113-portable.patch -Patch4: akode-2.0.2-gcc43.patch - -# New patch for Fedora 16 / TDE 3.5.13 -Patch10: akode-autotools.patch -Patch11: akode-2.0.2-fix_ffmpeg_include.patch - -# Optional features that are always enabled :-) -%define _with_flac --with-flac - -# Except on RHEL4 ... -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define _with_jack --with-jack -%define _with_libsamplerate --with-libsamplerate -%endif - -# Pulseaudio is not available on RHEL 5 and earlier -%if 0%{?fedora} >= 15 || 0%{?rhel} >= 6 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define _with_pulseaudio --with-pulseaudio -%endif - -BuildRequires: automake libtool -BuildRequires: alsa-lib-devel -%{?_with_libsamplerate:BuildRequires: libsamplerate-devel} -BuildRequires: libvorbis-devel -BuildRequires: speex-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -%{?_with_jack:BuildRequires: %{_lib}jack-devel} -%{?_with_flac:BuildRequires: %{_lib}flac-devel} -%{?_with_pulseaudio:BuildRequires: %{_lib}pulseaudio-devel} -%endif -%if 0%{?rhel} || 0%{?fedora} -%{?_with_flac:BuildRequires: flac-devel} -%{?_with_jack:BuildRequires: jack-audio-connection-kit-devel} -%{?_with_pulseaudio:BuildRequires: pulseaudio-libs-devel} -%endif -%if 0%{?suse_version} -%{?_with_flac:BuildRequires: flac-devel} -%{?_with_jack:BuildRequires: jack-audio-connection-kit-devel} -%{?_with_pulseaudio:BuildRequires: pulseaudio-devel} -%endif - - -%description -aKode is a simple audio-decoding frame-work that provides a uniform -interface to decode the most common audio-formats. It also has a direct -playback option for a number of audio-outputs. - -aKode currently has the following decoder plugins: -* mpc: Decodes musepack aka mpc audio. -* xiph: Decodes FLAC, Ogg/FLAC, Speex and Ogg Vorbis audio. - -aKode also has the following audio outputs: -* alsa: Outputs to ALSA (dmix is recommended). - -%package devel -Summary: Headers for developing programs that will use %{name} -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} -Requires: pkgconfig -%description devel -%{summary}. - -%package jack -Summary: Jack audio output backend for %{name} -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} -%description jack -%{summary}. - -%package pulseaudio -Summary: Pulseaudio output backend for %{name} -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} -%description pulseaudio -%{summary}. -Recommended for network transparent audio. - -# Packaged separately to keep main/core %{akode} package LGPL-clean. -%package libsamplerate -Summary: Resampler based on libsamplerate for %{name} -Group: Development/Libraries -License: GPLv2+ -Requires: %{name} = %{version}-%{release} -%description libsamplerate -%{summary}. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n akode-%{version} - -%patch1 -p1 -b .pulseaudio -%patch2 -p1 -b .multilib -%patch3 -p4 -b .flac113_portable -%patch4 -p1 -b .gcc43 - -%patch10 -p1 -%patch11 -p1 -b .ffmpeg - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f admin/Makefile.common cvs - -%build -%configure \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --includedir=%{tde_includedir} \ - --datadir=%{tde_datadir} \ - --disable-static \ - --enable-shared \ - --disable-debug --disable-warnings --disable-dependency-tracking \ - --without-libltdl \ - --with-alsa \ - --with-oss \ - %{?_with_flac} %{!?_with_flac:--without-flac} \ - %{?_with_jack} %{!?_with_jack:--without-jack} \ - %{?_with_libsamplerate} %{!?_with_libsamplerate:--without-libsamplerate} \ - %{?_with_pulseaudio} %{!?_with_pulseaudio:--without-pulseaudio} \ - --with-speex \ - --with-vorbis \ - --without-ffmpeg \ - --without-libmad \ - --enable-closure \ - --enable-new-ldflags \ - --enable-final - -%__make %{?_smp_mflags} LIBTOOL=$(which libtool) - - -%install -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# unpackaged files -%__rm -f %{buildroot}%{tde_libdir}/*.a - -# rpmdocs -for file in AUTHORS COPYING NEWS README TODO ; do - test -s "$file" && install -p -m644 -D "$file" "rpmdocs/$file" -done - - -%clean -%__rm -rf %{buildroot} - - -%post -/sbin/ldconfig - -%postun -/sbin/ldconfig - -%post devel -/sbin/ldconfig - -%postun devel -/sbin/ldconfig - - -%files -%defattr(-,root,root,-) -%doc rpmdocs/* -%{tde_bindir}/akodeplay -%{tde_libdir}/libakode.so.* -%{tde_libdir}/libakode_alsa_sink.la -%{tde_libdir}/libakode_alsa_sink.so -%{tde_libdir}/libakode_mpc_decoder.la -%{tde_libdir}/libakode_mpc_decoder.so -%{tde_libdir}/libakode_oss_sink.la -%{tde_libdir}/libakode_oss_sink.so -%{tde_libdir}/libakode_xiph_decoder.la -%{tde_libdir}/libakode_xiph_decoder.so - -#files -libmad -# /opt/trinity/lib64/libakode_mpeg_decoder.la -# /opt/trinity/lib64/libakode_mpeg_decoder.so - - -%files devel -%defattr(-,root,root,-) -%{tde_bindir}/akode-config -%{tde_includedir}/* -%{tde_libdir}/libakode.la -%{tde_libdir}/libakode.so -%{tde_libdir}/pkgconfig/*.pc - -%if "%{?_with_jack}" != "" -%files jack -%defattr(-,root,root,-) -%{tde_libdir}/libakode_jack_sink.la -%{tde_libdir}/libakode_jack_sink.so -%endif - -# License: GPLv2+ -%if "%{?_with_libsamplerate:1}" == "1" -%files libsamplerate -%defattr(-,root,root,-) -%{tde_libdir}/libakode_src_resampler.la -%{tde_libdir}/libakode_src_resampler.so -%endif - -%if "%{?_with_pulseaudio:1}" == "1" -%files pulseaudio -%defattr(-,root,root,-) -%{tde_libdir}/libakode_polyp_sink.la -%{tde_libdir}/libakode_polyp_sink.so -%endif - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 2.0.2-3 -- Initial build for TDE 3.5.13.1 - -* Tue Jul 30 2012 Francois Andriot 2.0.2-2 -- Re-adds '.la' files - -* Tue May 01 2012 Francois Andriot 2.0.2-1 -- Port to TDE 3.5.13 -- Based on spec file from Fedora 9 'akode-2.0.2-5' diff --git a/redhat/extras/akode/trinity-akode-3.5.13.2.spec b/redhat/extras/akode/trinity-akode-3.5.13.2.spec deleted file mode 100644 index cdedc117b..000000000 --- a/redhat/extras/akode/trinity-akode-3.5.13.2.spec +++ /dev/null @@ -1,353 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -Summary: Audio-decoding framework -Name: trinity-akode -Version: 2.0.2 -Release: 4%{?dist}%{?_variant} - -License: LGPLv2+ -Group: System Environment/Libraries -#URL: http://carewolf.com/akode/ -URL: http://www.kde-apps.org/content/show.php?content=30375 -Source0: akode-2.0.2.tar.bz2 - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - - -# Legacy Fedora 9 patches -Patch1: akode-pulseaudio.patch -Patch2: akode-2.0.2-multilib.patch -Patch3: akode-2.0.2-flac113-portable.patch -Patch4: akode-2.0.2-gcc43.patch - -# New patch for Fedora 16 / TDE 3.5.13 -Patch10: akode-autotools.patch -Patch11: akode-2.0.2-fix_ffmpeg_include.patch - - -# FLAC support -%define _with_flac --with-flac -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} -BuildRequires: libflac-devel -%else -BuildRequires: %{_lib}flac-devel -%endif -%endif -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -BuildRequires: flac-devel -%endif - -# JACK support -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define _with_jack --with-jack -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}jack-devel -%endif -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -BuildRequires: jack-audio-connection-kit-devel -%endif -%endif - -# SAMPLERATE support -%if 0%{?rhel} >= 4 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define _with_libsamplerate --with-libsamplerate -BuildRequires: libsamplerate-devel -%endif - -# PULSEAUDIO support -%if 0%{?fedora} >= 15 || 0%{?rhel} >= 6 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define _with_pulseaudio --with-pulseaudio -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}pulseaudio-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: pulseaudio-libs-devel -%endif -%if 0%{?suse_version} -BuildRequires: pulseaudio-devel -%endif -%endif - -# MAD support -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} -%define _with_libmad --with-libmad -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: %{_lib}mad-devel -%endif -%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} -BuildRequires: libmad-devel -%endif -%endif - - -BuildRequires: automake libtool -BuildRequires: alsa-lib-devel -BuildRequires: libvorbis-devel -BuildRequires: speex-devel - - -%description -aKode is a simple audio-decoding frame-work that provides a uniform -interface to decode the most common audio-formats. It also has a direct -playback option for a number of audio-outputs. - -aKode currently has the following decoder plugins: -* mpc: Decodes musepack aka mpc audio. -* xiph: Decodes FLAC, Ogg/FLAC, Speex and Ogg Vorbis audio. - -aKode also has the following audio outputs: -* alsa: Outputs to ALSA (dmix is recommended). - -%files -%defattr(-,root,root,-) -%doc rpmdocs/* -%{tde_bindir}/akodeplay -%{tde_libdir}/libakode.so.* -%{tde_libdir}/libakode_alsa_sink.la -%{tde_libdir}/libakode_alsa_sink.so -%{tde_libdir}/libakode_mpc_decoder.la -%{tde_libdir}/libakode_mpc_decoder.so -%{tde_libdir}/libakode_oss_sink.la -%{tde_libdir}/libakode_oss_sink.so -%{tde_libdir}/libakode_xiph_decoder.la -%{tde_libdir}/libakode_xiph_decoder.so - -%post -/sbin/ldconfig - -%postun -/sbin/ldconfig - -########## - -%package devel -Summary: Headers for developing programs that will use %{name} -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} -Requires: pkgconfig -%description devel -%{summary}. - -%files devel -%defattr(-,root,root,-) -%{tde_bindir}/akode-config -%{tde_includedir}/* -%{tde_libdir}/libakode.la -%{tde_libdir}/libakode.so -%{tde_libdir}/pkgconfig/*.pc - -%post devel -/sbin/ldconfig - -%postun devel -/sbin/ldconfig - -########## - -%if "%{?_with_jack}" != "" - -%package jack -Summary: Jack audio output backend for %{name} -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -%description jack -%{summary}. - -%files jack -%defattr(-,root,root,-) -%{tde_libdir}/libakode_jack_sink.la -%{tde_libdir}/libakode_jack_sink.so - -%post jack -/sbin/ldconfig - -%postun jack -/sbin/ldconfig - -%endif - -########## - -%if "%{?_with_pulseaudio}" != "" - -%package pulseaudio -Summary: Pulseaudio output backend for %{name} -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -%description pulseaudio -%{summary}. -Recommended for network transparent audio. - -%files pulseaudio -%defattr(-,root,root,-) -%{tde_libdir}/libakode_polyp_sink.la -%{tde_libdir}/libakode_polyp_sink.so - -%post pulseaudio -/sbin/ldconfig - -%postun pulseaudio -/sbin/ldconfig - -%endif - -########## - -# Packaged separately to keep main/core %{akode} package LGPL-clean. -%if "%{?_with_libsamplerate:1}" == "1" - -%package libsamplerate -Summary: Resampler based on libsamplerate for %{name} -Group: Development/Libraries -License: GPLv2+ -Requires: %{name} = %{version}-%{release} - -%description libsamplerate -%{summary}. - -# License: GPLv2+ -%files libsamplerate -%defattr(-,root,root,-) -%{tde_libdir}/libakode_src_resampler.la -%{tde_libdir}/libakode_src_resampler.so - -%post libsamplerate -/sbin/ldconfig - -%postun libsamplerate -/sbin/ldconfig - -%endif - -########## - -%if "%{?_with_libmad}" != "" - -%package libmad -Summary: Decoder based on libmad for %{name} -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -%description libmad -%{summary}. - -%files libmad -%{tde_libdir}/libakode_mpeg_decoder.la -%{tde_libdir}/libakode_mpeg_decoder.so - -%post libmad -/sbin/ldconfig - -%postun libmad -/sbin/ldconfig - -%endif - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n akode-%{version} - -%patch1 -p1 -b .pulseaudio -%patch2 -p1 -b .multilib -%patch3 -p4 -b .flac113_portable -%patch4 -p1 -b .gcc43 - -%patch10 -p1 -b .autotools -%patch11 -p1 -b .ffmpeg - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f admin/Makefile.common cvs - -%build -%configure \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --includedir=%{tde_includedir} \ - --datadir=%{tde_datadir} \ - --disable-static \ - --enable-shared \ - --disable-debug --disable-warnings --disable-dependency-tracking \ - --without-libltdl \ - --with-alsa \ - --with-oss \ - %{?_with_flac} %{!?_with_flac:--without-flac} \ - %{?_with_jack} %{!?_with_jack:--without-jack} \ - %{?_with_libsamplerate} %{!?_with_libsamplerate:--without-libsamplerate} \ - %{?_with_pulseaudio} %{!?_with_pulseaudio:--without-pulseaudio} \ - --with-speex \ - --with-vorbis \ - --without-ffmpeg \ - %{?_with_libmad} %{!?_with_libmad:--without-libmad} \ - --enable-closure \ - --enable-new-ldflags \ - --enable-final - -%__make %{?_smp_mflags} LIBTOOL=$(which libtool) - - -%install -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# unpackaged files -%__rm -f %{buildroot}%{tde_libdir}/*.a - -# rpmdocs -for file in AUTHORS COPYING NEWS README TODO ; do - test -s "$file" && install -p -m644 -D "$file" "rpmdocs/$file" -done - - -%clean -%__rm -rf %{buildroot} - - -%changelog -* Sat Jan 19 2013 Francois Andriot - 2.0.2-4 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 2.0.2-3 -- Initial build for TDE 3.5.13.1 - -* Mon Jul 30 2012 Francois Andriot 2.0.2-2 -- Re-adds '.la' files - -* Tue May 01 2012 Francois Andriot 2.0.2-1 -- Port to TDE 3.5.13 -- Based on spec file from Fedora 9 'akode-2.0.2-5' diff --git a/redhat/extras/akode/trinity-akode-3.5.13.spec b/redhat/extras/akode/trinity-akode-3.5.13.spec deleted file mode 100644 index d7bb760e2..000000000 --- a/redhat/extras/akode/trinity-akode-3.5.13.spec +++ /dev/null @@ -1,251 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -Summary: Audio-decoding framework -Name: trinity-akode -Version: 2.0.2 -Release: 2%{?dist}%{?_variant} - -License: LGPLv2+ -Group: System Environment/Libraries -#URL: http://carewolf.com/akode/ -URL: http://www.kde-apps.org/content/show.php?content=30375 -Source0: http://www.kde-apps.org/CONTENT/content-files/akode-%{version}.tar.bz2 - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - - -# Legacy Fedora 9 patches -Patch1: akode-pulseaudio.patch -Patch2: akode-2.0.2-multilib.patch -Patch3: akode-2.0.2-flac113-portable.patch -Patch4: akode-2.0.2-gcc43.patch - -# New patch for Fedora 16 / TDE 3.5.13 -Patch10: akode-autotools.patch -Patch11: akode-2.0.2-fix_ffmpeg_include.patch - -# Optional features that are always enabled :-) -%define _with_flac --with-flac -%define _with_jack --with-jack -%define _with_libsamplerate --with-libsamplerate - -# Pulseaudio is not available on RHEL 5 and earlier -%if 0%{?fedora} >= 15 || 0%{?rhel} >= 6 || 0%{?mgaversion} || 0%{?mdkversion} -%define _with_pulseaudio --with-pulseaudio -%endif - -BuildRequires: automake libtool -BuildRequires: alsa-lib-devel -%{?_with_libsamplerate:BuildRequires: libsamplerate-devel} -BuildRequires: libvorbis-devel -BuildRequires: speex-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -%{?_with_jack:BuildRequires: %{_lib}jack-devel} -%{?_with_flac:BuildRequires: %{_lib}flac-devel} -%{?_with_pulseaudio:BuildRequires: %{_lib}pulseaudio-devel} -%else -%{?_with_flac:BuildRequires: flac-devel} -%{?_with_jack:BuildRequires: jack-audio-connection-kit-devel} -%{?_with_pulseaudio:BuildRequires: pulseaudio-libs-devel} -%endif - -%description -aKode is a simple audio-decoding frame-work that provides a uniform -interface to decode the most common audio-formats. It also has a direct -playback option for a number of audio-outputs. - -aKode currently has the following decoder plugins: -* mpc: Decodes musepack aka mpc audio. -* xiph: Decodes FLAC, Ogg/FLAC, Speex and Ogg Vorbis audio. - -aKode also has the following audio outputs: -* alsa: Outputs to ALSA (dmix is recommended). - -%package devel -Summary: Headers for developing programs that will use %{name} -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} -Requires: pkgconfig -%description devel -%{summary}. - -%package jack -Summary: Jack audio output backend for %{name} -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} -%description jack -%{summary}. - -%package pulseaudio -Summary: Pulseaudio output backend for %{name} -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} -%description pulseaudio -%{summary}. -Recommended for network transparent audio. - -# Packaged separately to keep main/core %{akode} package LGPL-clean. -%package libsamplerate -Summary: Resampler based on libsamplerate for %{name} -Group: Development/Libraries -License: GPLv2+ -Requires: %{name} = %{version}-%{release} -%description libsamplerate -%{summary}. - - -%prep -%setup -q -n akode-%{version} - -%patch1 -p1 -b .pulseaudio -%patch2 -p1 -b .multilib -%patch3 -p4 -b .flac113_portable -%patch4 -p1 -b .gcc43 - -%patch10 -p1 -%patch11 -p1 -b .ffmpeg - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f admin/Makefile.common cvs - -%build -%configure \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --includedir=%{tde_includedir} \ - --datadir=%{tde_datadir} \ - --disable-static \ - --enable-shared \ - --disable-debug --disable-warnings --disable-dependency-tracking \ - --without-libltdl \ - --with-alsa \ - --with-oss \ - %{?_with_flac} %{!?_with_flac:--without-flac} \ - %{?_with_jack} %{!?_with_jack:--without-jack} \ - %{?_with_libsamplerate} %{!?_with_libsamplerate:--without-libsamplerate} \ - %{?_with_pulseaudio} %{!?_with_pulseaudio:--without-pulseaudio} \ - --with-speex \ - --with-vorbis \ - --without-ffmpeg \ - --without-libmad \ - --enable-closure \ - --enable-new-ldflags \ - --enable-final - -%__make %{?_smp_mflags} LIBTOOL=$(which libtool) - - -%install -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# unpackaged files -%__rm -f %{buildroot}%{tde_libdir}/*.a - -# rpmdocs -for file in AUTHORS COPYING NEWS README TODO ; do - test -s "$file" && install -p -m644 -D "$file" "rpmdocs/$file" -done - - -%clean -%__rm -rf %{buildroot} - - -%post -/sbin/ldconfig - -%postun -/sbin/ldconfig - -%post devel -/sbin/ldconfig - -%postun devel -/sbin/ldconfig - - -%files -%defattr(-,root,root,-) -%doc rpmdocs/* -%{tde_bindir}/akodeplay -%{tde_libdir}/libakode.so.* -%{tde_libdir}/libakode_alsa_sink.la -%{tde_libdir}/libakode_alsa_sink.so -%{tde_libdir}/libakode_mpc_decoder.la -%{tde_libdir}/libakode_mpc_decoder.so -%{tde_libdir}/libakode_oss_sink.la -%{tde_libdir}/libakode_oss_sink.so -%{tde_libdir}/libakode_xiph_decoder.la -%{tde_libdir}/libakode_xiph_decoder.so - -#files -libmad -# /opt/trinity/lib64/libakode_mpeg_decoder.la -# /opt/trinity/lib64/libakode_mpeg_decoder.so - - -%files devel -%defattr(-,root,root,-) -%{tde_bindir}/akode-config -%{tde_includedir}/* -%{tde_libdir}/libakode.la -%{tde_libdir}/libakode.so -%{tde_libdir}/pkgconfig/*.pc - -%if "%{?_with_jack:1}" == "1" -%files jack -%defattr(-,root,root,-) -%{tde_libdir}/libakode_jack_sink.la -%{tde_libdir}/libakode_jack_sink.so -%endif - -# License: GPLv2+ -%if "%{?_with_libsamplerate:1}" == "1" -%files libsamplerate -%defattr(-,root,root,-) -%{tde_libdir}/libakode_src_resampler.la -%{tde_libdir}/libakode_src_resampler.so -%endif - -%if "%{?_with_pulseaudio:1}" == "1" -%files pulseaudio -%defattr(-,root,root,-) -%{tde_libdir}/libakode_polyp_sink.la -%{tde_libdir}/libakode_polyp_sink.so -%endif - - -%changelog -* Tue Jul 30 2012 Francois Andriot 2.0.2-2 -- Re-adds '.la' files - -* Tue May 01 2012 Francois Andriot 2.0.2-1 -- Port to TDE 3.5.13 -- Based on spec file from Fedora 9 'akode-2.0.2-5' diff --git a/redhat/extras/kasablanca/kasablanca-3.5.13.1.spec b/redhat/extras/kasablanca/kasablanca-3.5.13.1.spec new file mode 100644 index 000000000..effbdeefa --- /dev/null +++ b/redhat/extras/kasablanca/kasablanca-3.5.13.1.spec @@ -0,0 +1,182 @@ +%define kdecomp kasablanca + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Graphical FTP client +Version: 0.4.0.2 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Url: http://kasablanca.berlios.de/ +Source: http://download.berlios.de/kasablanca/kasablanca-%{version}.tar.gz +Group: Applications/Internet +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +# [kasablanca] Fix bad content in icon (?) +Patch1: kasablanca-0.4.0.2-dt.patch +# [kasablanca] Fix detection of newer autotools +Patch2: kasablanca-0.4.0.2-fix_autotools_detection.patch +# [kasablanca] Missing LDFLAGS cause FTBFS +Patch3: kasablanca-0.4.0.2-missing_ldflags.patch + +BuildRequires: desktop-file-utils +BuildRequires: gettext +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: openssl-devel + +%if 0%{?suse_version} +BuildRequires: utempter-devel +%else +BuildRequires: libutempter-devel +%endif + +%description +Kasablanca is an ftp client, among its features are currently: +* ftps encryption via AUTH TLS +* fxp (direct server to server transfer), supporting alternative mode. +* advanced bookmarking system. +* fast responsive multithreaded engine. +* concurrent connections to multiple hosts. +* interactive transfer queue, movable by drag and drop. +* small nifty features, like a skiplist. + + +%if 0%{?suse_version} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-%{version} +%patch1 -p1 -b .dt +%patch2 -p1 +%patch3 -p1 -b .ldflags + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export KDEDIR=%{tde_prefix} + +## Needed(?) for older/legacy setups, harmless otherwise +if pkg-config openssl ; then + export CPPFLAGS="$CPPFLAGS $(pkg-config --cflags-only-I openssl)" +fi + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_tdeincludedir} \ + --datadir=%{tde_datadir} \ + --with-qt-libraries=${QTLIB:-${QTDIR}/%{_lib}} \ + --disable-static \ + --disable-rpath \ + --disable-debug --disable-warnings \ + --disable-dependency-tracking --enable-final \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} LIBTOOL=$(which libtool) + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf $RPM_BUILD_ROOT + +%__make install DESTDIR=$RPM_BUILD_ROOT + +desktop-file-install \ + --dir $RPM_BUILD_ROOT%{tde_datadir}/applications/kde \ + --vendor="" \ + --add-category="Network" \ + --add-category="KDE" \ + --delete-original \ + $RPM_BUILD_ROOT%{tde_datadir}/applnk/*/*.desktop + +## File lists +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then +for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi +done +fi + +# locale's +%find_lang %{kdecomp} + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%post +touch --no-create %{tde_datadir}/icons/hicolor &> /dev/null || : + +%postun +if [ $1 -eq 0 ] ; then + touch --no-create %{_datadir}/icons/hicolor &> /dev/null + gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : +fi + +%posttrans +gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README +%{tde_bindir}/kasablanca +%{tde_tdeappdir}/kasablanca.desktop +%{tde_datadir}/apps/kasablanca/ +%{tde_datadir}/config.kcfg/kbconfig.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kasablanca.png +%{tde_tdedocdir}/HTML/en/kasablanca/ + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.4.0.2-2 +- Initial build for TDE 3.5.13.1 + +* Sun Dec 04 2011 Francois Andriot - 0.4.0.2-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 +- Based on Fedora 12 Spec 'kasablanca-0.4.0.2-17' diff --git a/redhat/extras/kasablanca/kasablanca-3.5.13.2.spec b/redhat/extras/kasablanca/kasablanca-3.5.13.2.spec new file mode 100644 index 000000000..c9468b9c2 --- /dev/null +++ b/redhat/extras/kasablanca/kasablanca-3.5.13.2.spec @@ -0,0 +1,188 @@ +%define tdecomp kasablanca + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: Graphical FTP client +Version: 0.4.0.2 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Url: http://kasablanca.berlios.de/ +Source: kasablanca-0.4.0.2.tar.gz +Group: Applications/Internet +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +# [kasablanca] Fix bad content in icon (?) +Patch1: kasablanca-0.4.0.2-dt.patch +# [kasablanca] Fix detection of newer autotools +Patch2: kasablanca-0.4.0.2-fix_autotools_detection.patch +# [kasablanca] Missing LDFLAGS cause FTBFS +Patch3: kasablanca-0.4.0.2-missing_ldflags.patch + +BuildRequires: desktop-file-utils +BuildRequires: gettext +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: openssl-devel + +%if 0%{?suse_version} +BuildRequires: utempter-devel +%else +%if 0%{?rhel} == 4 +%else +BuildRequires: libutempter-devel +%endif +%endif + +%description +Kasablanca is an ftp client, among its features are currently: +* ftps encryption via AUTH TLS +* fxp (direct server to server transfer), supporting alternative mode. +* advanced bookmarking system. +* fast responsive multithreaded engine. +* concurrent connections to multiple hosts. +* interactive transfer queue, movable by drag and drop. +* small nifty features, like a skiplist. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{tdecomp}-%{version} +%patch1 -p1 -b .dt +%patch2 -p1 -b .autotools +%patch3 -p1 -b .ldflags + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export KDEDIR=%{tde_prefix} + +## Needed(?) for older/legacy setups, harmless otherwise +if pkg-config openssl ; then + export CPPFLAGS="$CPPFLAGS $(pkg-config --cflags-only-I openssl)" +fi + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_tdeincludedir} \ + --datadir=%{tde_datadir} \ + --with-qt-libraries=${QTLIB:-${QTDIR}/%{_lib}} \ + --disable-static \ + --disable-rpath \ + --disable-debug --disable-warnings \ + --disable-dependency-tracking --enable-final \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} LIBTOOL=$(which libtool) + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf $RPM_BUILD_ROOT + +%__make install DESTDIR=$RPM_BUILD_ROOT + +desktop-file-install \ + --dir $RPM_BUILD_ROOT%{tde_datadir}/applications/kde \ + --vendor="" \ + --add-category="Network" \ + --add-category="KDE" \ + --delete-original \ + $RPM_BUILD_ROOT%{tde_datadir}/applnk/*/*.desktop + +## File lists +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then +for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi +done +fi + +# locale's +%find_lang %{tdecomp} + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%post +touch --no-create %{tde_datadir}/icons/hicolor &> /dev/null || : + +%postun +if [ $1 -eq 0 ] ; then + touch --no-create %{_datadir}/icons/hicolor &> /dev/null + gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : +fi + +%posttrans +gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : + + +%files -f %{tdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README +%{tde_bindir}/kasablanca +%{tde_tdeappdir}/kasablanca.desktop +%{tde_datadir}/apps/kasablanca/ +%{tde_datadir}/config.kcfg/kbconfig.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kasablanca.png +%{tde_tdedocdir}/HTML/en/kasablanca/ + +%changelog +* Sat Jan 19 2013 Francois Andriot - 0.4.0.2-3 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.4.0.2-2 +- Initial build for TDE 3.5.13.1 + +* Sun Dec 04 2011 Francois Andriot - 0.4.0.2-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 +- Based on Fedora 12 Spec 'kasablanca-0.4.0.2-17' diff --git a/redhat/extras/kasablanca/kasablanca-3.5.13.spec b/redhat/extras/kasablanca/kasablanca-3.5.13.spec new file mode 100644 index 000000000..16c5f61ce --- /dev/null +++ b/redhat/extras/kasablanca/kasablanca-3.5.13.spec @@ -0,0 +1,169 @@ +%define kdecomp kasablanca + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Graphical FTP client +Version: 0.4.0.2 +Release: 1%{?dist}%{?_variant} + +License: GPLv2+ +Url: http://kasablanca.berlios.de/ +Source: http://download.berlios.de/kasablanca/kasablanca-%{version}.tar.gz +Group: Applications/Internet +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +# [kasablanca] Fix bad content in icon (?) +Patch1: kasablanca-0.4.0.2-dt.patch +# [kasablanca] Fix detection of newer autotools +Patch2: kasablanca-0.4.0.2-fix_autotools_detection.patch +# [kasablanca] Missing LDFLAGS cause FTBFS +Patch3: kasablanca-0.4.0.2-missing_ldflags.patch + +BuildRequires: desktop-file-utils +BuildRequires: gettext +BuildRequires: trinity-tdelibs-devel +BuildRequires: openssl-devel +BuildRequires: libutempter-devel + +%description +Kasablanca is an ftp client, among its features are currently: +* ftps encryption via AUTH TLS +* fxp (direct server to server transfer), supporting alternative mode. +* advanced bookmarking system. +* fast responsive multithreaded engine. +* concurrent connections to multiple hosts. +* interactive transfer queue, movable by drag and drop. +* small nifty features, like a skiplist. + + +%prep +%setup -q -n %{kdecomp}-%{version} +%patch1 -p1 -b .dt +%patch2 -p1 +%patch3 -p1 -b .ldflags + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +export KDEDIR=%{tde_prefix} + +## Needed(?) for older/legacy setups, harmless otherwise +if pkg-config openssl ; then + export CPPFLAGS="$CPPFLAGS $(pkg-config --cflags-only-I openssl)" +fi + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_includedir} \ + --datadir=%{tde_datadir} \ + --disable-static \ + --disable-rpath \ + --disable-debug --disable-warnings \ + --disable-dependency-tracking --enable-final \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} LIBTOOL=$(which libtool) + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf $RPM_BUILD_ROOT + +%__make install DESTDIR=$RPM_BUILD_ROOT + +desktop-file-install \ + --dir $RPM_BUILD_ROOT%{tde_datadir}/applications/kde \ + --vendor="" \ + --add-category="Network" \ + --add-category="KDE" \ + --delete-original \ + $RPM_BUILD_ROOT%{tde_datadir}/applnk/*/*.desktop + +## File lists +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then +for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi +done +fi + +# locale's +%find_lang %{kdecomp} + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%post +touch --no-create %{tde_datadir}/icons/hicolor &> /dev/null || : + +%postun +if [ $1 -eq 0 ] ; then + touch --no-create %{_datadir}/icons/hicolor &> /dev/null + gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : +fi + +%posttrans +gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README +%{tde_bindir}/kasablanca +%{tde_tdeappdir}/kasablanca.desktop +%{tde_datadir}/apps/kasablanca/ +%{tde_datadir}/config.kcfg/kbconfig.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kasablanca.png +%{tde_tdedocdir}/HTML/en/kasablanca/ + +%changelog +* Sun Dec 04 2011 Francois Andriot - 0.4.0.2-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 +- Based on Fedora 12 Spec 'kasablanca-0.4.0.2-17' diff --git a/redhat/extras/kasablanca/trinity-kasablanca-3.5.13.1.spec b/redhat/extras/kasablanca/trinity-kasablanca-3.5.13.1.spec deleted file mode 100644 index effbdeefa..000000000 --- a/redhat/extras/kasablanca/trinity-kasablanca-3.5.13.1.spec +++ /dev/null @@ -1,182 +0,0 @@ -%define kdecomp kasablanca - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Graphical FTP client -Version: 0.4.0.2 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Url: http://kasablanca.berlios.de/ -Source: http://download.berlios.de/kasablanca/kasablanca-%{version}.tar.gz -Group: Applications/Internet -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -# [kasablanca] Fix bad content in icon (?) -Patch1: kasablanca-0.4.0.2-dt.patch -# [kasablanca] Fix detection of newer autotools -Patch2: kasablanca-0.4.0.2-fix_autotools_detection.patch -# [kasablanca] Missing LDFLAGS cause FTBFS -Patch3: kasablanca-0.4.0.2-missing_ldflags.patch - -BuildRequires: desktop-file-utils -BuildRequires: gettext -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: openssl-devel - -%if 0%{?suse_version} -BuildRequires: utempter-devel -%else -BuildRequires: libutempter-devel -%endif - -%description -Kasablanca is an ftp client, among its features are currently: -* ftps encryption via AUTH TLS -* fxp (direct server to server transfer), supporting alternative mode. -* advanced bookmarking system. -* fast responsive multithreaded engine. -* concurrent connections to multiple hosts. -* interactive transfer queue, movable by drag and drop. -* small nifty features, like a skiplist. - - -%if 0%{?suse_version} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-%{version} -%patch1 -p1 -b .dt -%patch2 -p1 -%patch3 -p1 -b .ldflags - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export KDEDIR=%{tde_prefix} - -## Needed(?) for older/legacy setups, harmless otherwise -if pkg-config openssl ; then - export CPPFLAGS="$CPPFLAGS $(pkg-config --cflags-only-I openssl)" -fi - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --includedir=%{tde_tdeincludedir} \ - --datadir=%{tde_datadir} \ - --with-qt-libraries=${QTLIB:-${QTDIR}/%{_lib}} \ - --disable-static \ - --disable-rpath \ - --disable-debug --disable-warnings \ - --disable-dependency-tracking --enable-final \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} LIBTOOL=$(which libtool) - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf $RPM_BUILD_ROOT - -%__make install DESTDIR=$RPM_BUILD_ROOT - -desktop-file-install \ - --dir $RPM_BUILD_ROOT%{tde_datadir}/applications/kde \ - --vendor="" \ - --add-category="Network" \ - --add-category="KDE" \ - --delete-original \ - $RPM_BUILD_ROOT%{tde_datadir}/applnk/*/*.desktop - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then -for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - -# locale's -%find_lang %{kdecomp} - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%post -touch --no-create %{tde_datadir}/icons/hicolor &> /dev/null || : - -%postun -if [ $1 -eq 0 ] ; then - touch --no-create %{_datadir}/icons/hicolor &> /dev/null - gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : -fi - -%posttrans -gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README -%{tde_bindir}/kasablanca -%{tde_tdeappdir}/kasablanca.desktop -%{tde_datadir}/apps/kasablanca/ -%{tde_datadir}/config.kcfg/kbconfig.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kasablanca.png -%{tde_tdedocdir}/HTML/en/kasablanca/ - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.4.0.2-2 -- Initial build for TDE 3.5.13.1 - -* Sun Dec 04 2011 Francois Andriot - 0.4.0.2-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 -- Based on Fedora 12 Spec 'kasablanca-0.4.0.2-17' diff --git a/redhat/extras/kasablanca/trinity-kasablanca-3.5.13.2.spec b/redhat/extras/kasablanca/trinity-kasablanca-3.5.13.2.spec deleted file mode 100644 index c9468b9c2..000000000 --- a/redhat/extras/kasablanca/trinity-kasablanca-3.5.13.2.spec +++ /dev/null @@ -1,188 +0,0 @@ -%define tdecomp kasablanca - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: Graphical FTP client -Version: 0.4.0.2 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Url: http://kasablanca.berlios.de/ -Source: kasablanca-0.4.0.2.tar.gz -Group: Applications/Internet -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -# [kasablanca] Fix bad content in icon (?) -Patch1: kasablanca-0.4.0.2-dt.patch -# [kasablanca] Fix detection of newer autotools -Patch2: kasablanca-0.4.0.2-fix_autotools_detection.patch -# [kasablanca] Missing LDFLAGS cause FTBFS -Patch3: kasablanca-0.4.0.2-missing_ldflags.patch - -BuildRequires: desktop-file-utils -BuildRequires: gettext -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: openssl-devel - -%if 0%{?suse_version} -BuildRequires: utempter-devel -%else -%if 0%{?rhel} == 4 -%else -BuildRequires: libutempter-devel -%endif -%endif - -%description -Kasablanca is an ftp client, among its features are currently: -* ftps encryption via AUTH TLS -* fxp (direct server to server transfer), supporting alternative mode. -* advanced bookmarking system. -* fast responsive multithreaded engine. -* concurrent connections to multiple hosts. -* interactive transfer queue, movable by drag and drop. -* small nifty features, like a skiplist. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{tdecomp}-%{version} -%patch1 -p1 -b .dt -%patch2 -p1 -b .autotools -%patch3 -p1 -b .ldflags - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export KDEDIR=%{tde_prefix} - -## Needed(?) for older/legacy setups, harmless otherwise -if pkg-config openssl ; then - export CPPFLAGS="$CPPFLAGS $(pkg-config --cflags-only-I openssl)" -fi - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --includedir=%{tde_tdeincludedir} \ - --datadir=%{tde_datadir} \ - --with-qt-libraries=${QTLIB:-${QTDIR}/%{_lib}} \ - --disable-static \ - --disable-rpath \ - --disable-debug --disable-warnings \ - --disable-dependency-tracking --enable-final \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} LIBTOOL=$(which libtool) - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf $RPM_BUILD_ROOT - -%__make install DESTDIR=$RPM_BUILD_ROOT - -desktop-file-install \ - --dir $RPM_BUILD_ROOT%{tde_datadir}/applications/kde \ - --vendor="" \ - --add-category="Network" \ - --add-category="KDE" \ - --delete-original \ - $RPM_BUILD_ROOT%{tde_datadir}/applnk/*/*.desktop - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then -for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - -# locale's -%find_lang %{tdecomp} - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%post -touch --no-create %{tde_datadir}/icons/hicolor &> /dev/null || : - -%postun -if [ $1 -eq 0 ] ; then - touch --no-create %{_datadir}/icons/hicolor &> /dev/null - gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : -fi - -%posttrans -gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : - - -%files -f %{tdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README -%{tde_bindir}/kasablanca -%{tde_tdeappdir}/kasablanca.desktop -%{tde_datadir}/apps/kasablanca/ -%{tde_datadir}/config.kcfg/kbconfig.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kasablanca.png -%{tde_tdedocdir}/HTML/en/kasablanca/ - -%changelog -* Sat Jan 19 2013 Francois Andriot - 0.4.0.2-3 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.4.0.2-2 -- Initial build for TDE 3.5.13.1 - -* Sun Dec 04 2011 Francois Andriot - 0.4.0.2-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 -- Based on Fedora 12 Spec 'kasablanca-0.4.0.2-17' diff --git a/redhat/extras/kasablanca/trinity-kasablanca-3.5.13.spec b/redhat/extras/kasablanca/trinity-kasablanca-3.5.13.spec deleted file mode 100644 index 16c5f61ce..000000000 --- a/redhat/extras/kasablanca/trinity-kasablanca-3.5.13.spec +++ /dev/null @@ -1,169 +0,0 @@ -%define kdecomp kasablanca - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Graphical FTP client -Version: 0.4.0.2 -Release: 1%{?dist}%{?_variant} - -License: GPLv2+ -Url: http://kasablanca.berlios.de/ -Source: http://download.berlios.de/kasablanca/kasablanca-%{version}.tar.gz -Group: Applications/Internet -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -# [kasablanca] Fix bad content in icon (?) -Patch1: kasablanca-0.4.0.2-dt.patch -# [kasablanca] Fix detection of newer autotools -Patch2: kasablanca-0.4.0.2-fix_autotools_detection.patch -# [kasablanca] Missing LDFLAGS cause FTBFS -Patch3: kasablanca-0.4.0.2-missing_ldflags.patch - -BuildRequires: desktop-file-utils -BuildRequires: gettext -BuildRequires: trinity-tdelibs-devel -BuildRequires: openssl-devel -BuildRequires: libutempter-devel - -%description -Kasablanca is an ftp client, among its features are currently: -* ftps encryption via AUTH TLS -* fxp (direct server to server transfer), supporting alternative mode. -* advanced bookmarking system. -* fast responsive multithreaded engine. -* concurrent connections to multiple hosts. -* interactive transfer queue, movable by drag and drop. -* small nifty features, like a skiplist. - - -%prep -%setup -q -n %{kdecomp}-%{version} -%patch1 -p1 -b .dt -%patch2 -p1 -%patch3 -p1 -b .ldflags - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -export KDEDIR=%{tde_prefix} - -## Needed(?) for older/legacy setups, harmless otherwise -if pkg-config openssl ; then - export CPPFLAGS="$CPPFLAGS $(pkg-config --cflags-only-I openssl)" -fi - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --includedir=%{tde_includedir} \ - --datadir=%{tde_datadir} \ - --disable-static \ - --disable-rpath \ - --disable-debug --disable-warnings \ - --disable-dependency-tracking --enable-final \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} LIBTOOL=$(which libtool) - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf $RPM_BUILD_ROOT - -%__make install DESTDIR=$RPM_BUILD_ROOT - -desktop-file-install \ - --dir $RPM_BUILD_ROOT%{tde_datadir}/applications/kde \ - --vendor="" \ - --add-category="Network" \ - --add-category="KDE" \ - --delete-original \ - $RPM_BUILD_ROOT%{tde_datadir}/applnk/*/*.desktop - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then -for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - -# locale's -%find_lang %{kdecomp} - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%post -touch --no-create %{tde_datadir}/icons/hicolor &> /dev/null || : - -%postun -if [ $1 -eq 0 ] ; then - touch --no-create %{_datadir}/icons/hicolor &> /dev/null - gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : -fi - -%posttrans -gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README -%{tde_bindir}/kasablanca -%{tde_tdeappdir}/kasablanca.desktop -%{tde_datadir}/apps/kasablanca/ -%{tde_datadir}/config.kcfg/kbconfig.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kasablanca.png -%{tde_tdedocdir}/HTML/en/kasablanca/ - -%changelog -* Sun Dec 04 2011 Francois Andriot - 0.4.0.2-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 -- Based on Fedora 12 Spec 'kasablanca-0.4.0.2-17' diff --git a/redhat/extras/kdebluetooth/kdebluetooth.spec b/redhat/extras/kdebluetooth/kdebluetooth.spec new file mode 100644 index 000000000..25b95d31b --- /dev/null +++ b/redhat/extras/kdebluetooth/kdebluetooth.spec @@ -0,0 +1,495 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-kdebluetooth +Version: 1.0_beta9_r769275 +Release: 2%{?dist}%{?_variant} + +Summary: The TDE Bluetooth Framework + +License: GPLv2+ +Group: Applications/Communications +URL: http://bluetooth.kmobiletools.org/ + +Source0: kdebluetooth_1.0~beta9~r769275.orig.tar.gz +Source1: kblueplugd.bluez3 +Source2: kblueplugd.bluez4 +Source3: kblueplugd.desktop + +Patch1: kdebluetooth-1.0_beta8-gcc43.patch +Patch2: kdebluetooth-trinity.patch +Patch3: kdebluetooth-fix_gcc_46_compilation.patch + +Patch4: kdebluetooth-fix_bluez4_support.patch + +Patch11: kubuntu_01_kdepot.patch +Patch12: kubuntu_02_desktop_files.patch +Patch13: kubuntu_06_no_autostart.patch +Patch14: kubuntu_07_fix_header_include.patch +Patch15: kubuntu_08_load_kdebluetooth_catalogue.patch +Patch16: kubuntu_09_french_i18n.patch + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: gettext +BuildRequires: desktop-file-utils +BuildRequires: lockdev-devel +#BuildRequires: xmms-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdepim-devel +BuildRequires: openobex-devel >= 1.1 +BuildRequires: libusb-devel +BuildRequires: pkgconfig +Buildrequires: libidn-devel +Buildrequires: dbus-tqt-devel +BuildRequires: automake >= 1.6.1 +BuildRequires: autoconf >= 2.52 +BuildRequires: obexftp-devel + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}bluez-devel +%else +BuildRequires: bluez-libs-devel +%endif + +# kdesu binary +Requires: trinity-tdebase-bin + +%if 0%{?fedora} >= 8 +Provides: dbus-bluez-pin-helper +%endif + +Obsoletes: %{name}-libs < %{version}-%{release} +Provides: %{name}-libs = %{version}-%{release} + +%description +The KDE Bluetooth Framework is a set of tools built on top of Linux' +Bluetooth (Bluez) stack. The goal is to provide easy access to the most +common Bluetooth profiles and to make data exchange with Bluetooth +enabled devices as straightforward as possible. + + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: trinity-tdelibs-devel +Requires: bluez-libs-devel + + +%description devel +KDE Bluetooth framework development libraries and headers. + + +%prep +%setup -q -n kdebluetooth-1.0~beta9~r769275 +%patch1 -p1 -b .gcc43 +%patch2 -p1 -b .trinity +%patch3 -p1 -b .gcc46 + +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} +%patch4 -p1 -b .bluez4 +%endif + +%patch11 -p1 +%patch12 -p1 +%patch13 -p1 +%patch14 -p1 +%patch15 -p1 +%patch16 -p1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|include/kde|include/tde|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export KDEDIR=%{tde_prefix} + +# FIXME: dbus-tqt headers are not found without this ... +export CXXFLAGS="${CXXFLAGS} -I%{tde_includedir}/dbus-1.0" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_tdeincludedir} \ + --datadir=%{tde_datadir} \ + --disable-rpath \ + --enable-new-ldflags \ + --disable-debug \ + --disable-dependency-tracking \ + --enable-final \ + --enable-closure \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} LIBTOOL=$(which libtool) + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf $RPM_BUILD_ROOT +%__make install DESTDIR=$RPM_BUILD_ROOT + +# icons +for DESK_PATH in applications/kde applnk/Utilities ; do + desktop-file-install \ + --mode=644 \ + --vendor="" \ + --dir=$RPM_BUILD_ROOT%{tde_datadir}/applications/kde \ + --remove-category="Network" \ + --add-category="System" \ + --delete-original \ + $RPM_BUILD_ROOT%{tde_datadir}/$DESK_PATH/*.desktop ||: +done + +# Locales +PROG_LIST="kbluelock kbluemon kbluetooth kinputwizard + kcm_btpaired kio_bluetooth kio_obex2 kio_sdp + libkbluetooth kdebluetooth" +for PROG in $PROG_LIST ; do + %find_lang $PROG && cat $PROG.lang >> %{name}.lang ||: +done + +# Unwanted files +%__rm -f %{buildroot}%{_datadir}/applnk/Settings/Network/Bluetooth/.directory +%__rm -f %{buildroot}%{tde_libdir}/*.a +%__rm -f %{buildroot}%{tde_tdelibdir}/kcm_btpaired.a +%__rm -f %{buildroot}%{tde_tdelibdir}/kio_bluetooth.a +%__rm -f %{buildroot}%{tde_tdelibdir}/kio_obex.a +%__rm -f %{buildroot}%{tde_tdelibdir}/kio_sdp.a +%__rm -f %{buildroot}%{tde_datadir}/applnk/Settings/Network/Bluetooth/.directory + +# Installs 'kblueplugd' +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} +%__install -D -m 755 %{SOURCE2} %{buildroot}%{tde_bindir}/kblueplugd +%else +%__install -D -m 755 %{SOURCE1} %{buildroot}%{tde_bindir}/kblueplugd +%endif +%__install -D -m 644 %{SOURCE3} %{buildroot}%{tde_datadir}/autostart/kblueplugd.desktop + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%post +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -qf %{tde_datadir}/icons/hicolor 2> /dev/null ||: +/sbin/ldconfig || : +update-desktop-database %{tde_appdir} 2> /dev/null || : + + +%postun +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -qf %{tde_datadir}/icons/hicolor 2> /dev/null ||: +/sbin/ldconfig || : +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING INSTALL README +%{tde_bindir}/kbluelock +%{tde_bindir}/kbluemon +%{tde_bindir}/kblueplugd +%{tde_bindir}/kbluetooth +%{tde_bindir}/kbtobexclient +%{tde_bindir}/kioobex_start +%{tde_bindir}/kinputwizard +%{tde_datadir}/applnk/.hidden/*.desktop +%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/*.desktop +%{tde_datadir}/apps/konqueror/servicemenus/kbtobexclient_sendfile.desktop +%{tde_datadir}/apps/kbtobexclient/kbtobexclientui.rc +%{tde_datadir}/apps/kdebluetooth/ +%{tde_tdeappdir}/dunhandler.desktop +%{tde_tdeappdir}/faxhandler.desktop +%{tde_tdeappdir}/kbluelock.desktop +%{tde_tdeappdir}/kbluemon.desktop +%{tde_tdeappdir}/kbluetooth.desktop +%{tde_tdeappdir}/kbtobexclient.desktop +%{tde_tdeappdir}/kbtobexsrv.desktop +%{tde_tdeappdir}/kcm_btpaired.desktop +%{tde_tdeappdir}/kinputwizard.desktop +%{tde_datadir}/autostart/kblueplugd.desktop +%{tde_datadir}/desktop-directories/kde-settings-network-bluetooth.directory +%{tde_datadir}/icons/hicolor/*/apps/kbluetooth.png +%{tde_datadir}/icons/hicolor/*/apps/kdebluetooth.png +%{tde_datadir}/icons/hicolor/*/apps/kbluelock.png +%{tde_datadir}/icons/hicolor/scalable/apps/kdebluetooth.svgz +%{tde_datadir}/mimelnk/bluetooth/av-device-class.desktop +%{tde_datadir}/mimelnk/bluetooth/computer-device-class.desktop +%{tde_datadir}/mimelnk/bluetooth/dun-profile.desktop +%{tde_datadir}/mimelnk/bluetooth/fax-profile.desktop +%{tde_datadir}/mimelnk/bluetooth/handsfree-profile.desktop +%{tde_datadir}/mimelnk/bluetooth/headset-profile.desktop +%{tde_datadir}/mimelnk/bluetooth/imaging-device-class.desktop +%{tde_datadir}/mimelnk/bluetooth/keyboard-device-class.desktop +%{tde_datadir}/mimelnk/bluetooth/lan-device-class.desktop +%{tde_datadir}/mimelnk/bluetooth/misc-device-class.desktop +%{tde_datadir}/mimelnk/bluetooth/mouse-device-class.desktop +%{tde_datadir}/mimelnk/bluetooth/obex-ftp-profile.desktop +%{tde_datadir}/mimelnk/bluetooth/obexobjectpush-profile.desktop +%{tde_datadir}/mimelnk/bluetooth/peripheral-device-class.desktop +%{tde_datadir}/mimelnk/bluetooth/phone-device-class.desktop +%{tde_datadir}/mimelnk/bluetooth/serial-port-profile.desktop +%{tde_datadir}/mimelnk/bluetooth/synchronization-profile.desktop +%{tde_datadir}/mimelnk/bluetooth/unknown-device-class.desktop +%{tde_datadir}/mimelnk/bluetooth/unknown-profile.desktop +%{tde_datadir}/services/bluetooth.protocol +%{tde_datadir}/services/btsdp.protocol +%{tde_datadir}/services/kbluetooth_kbtobexsrv.desktop +%{tde_datadir}/services/kbluetooth_kbtobexsrv.sdp.xml +%{tde_datadir}/services/obex.protocol +%{tde_datadir}/services/sdpmime-dun-profile.desktop +%{tde_datadir}/services/sdpmime-fax-profile.desktop +%{tde_datadir}/services/sdpmime-handsfree-profile.desktop +%{tde_datadir}/services/sdpmime-headset-profile.desktop +%{tde_datadir}/services/sdpmime-obex-client-profile.desktop +%{tde_datadir}/services/sdpmime-obex-ftp-profile.desktop +%{tde_datadir}/services/sdpmime-serial-port-profile.desktop +%{tde_datadir}/services/sdpmime-synchronization-profile.desktop +%{tde_datadir}/servicetypes/sdpservicehandler.desktop +%{tde_libdir}/kdebluetooth/servers/kbtobexsrv +%{tde_libdir}/libkbluetooth.so.0 +%{tde_libdir}/libkbluetooth.so.0.0.0 +%{tde_libdir}/libqobex.so.0 +%{tde_libdir}/libqobex.so.0.0.9 +%{tde_tdelibdir}/kcm_btpaired.la +%{tde_tdelibdir}/kcm_btpaired.so +%{tde_tdelibdir}/kio_bluetooth.la +%{tde_tdelibdir}/kio_bluetooth.so +%{tde_tdelibdir}/kio_obex.la +%{tde_tdelibdir}/kio_obex.so +%{tde_tdelibdir}/kio_sdp.la +%{tde_tdelibdir}/kio_sdp.so +%lang(ca) %{tde_tdedocdir}/HTML/ca/kdebluetooth/ +%lang(da) %{tde_tdedocdir}/HTML/da/kdebluetooth/ +%lang(en) %{tde_tdedocdir}/HTML/en/kdebluetooth/ +%lang(es) %{tde_tdedocdir}/HTML/es/kdebluetooth/ +%lang(et) %{tde_tdedocdir}/HTML/et/kdebluetooth/ +%lang(fr) %{tde_tdedocdir}/HTML/fr/kdebluetooth/ +%lang(it) %{tde_tdedocdir}/HTML/it/kdebluetooth/ +%lang(nl) %{tde_tdedocdir}/HTML/nl/kdebluetooth/ +%lang(pt) %{tde_tdedocdir}/HTML/pt/kdebluetooth/ +%lang(ru) %{tde_tdedocdir}/HTML/ru/kdebluetooth/ +%lang(sv) %{tde_tdedocdir}/HTML/sv/kdebluetooth/ + + + +%files devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/libkbluetooth/ +%{tde_tdeincludedir}/qobex/ +%{tde_libdir}/libkbluetooth.la +%{tde_libdir}/libkbluetooth.so +%{tde_libdir}/libqobex.la +%{tde_libdir}/libqobex.so + + +%changelog +* Sat Sep 01 2012 Francois Andriot - 1.0_beta9_r769275-2 +- Rebuilt for Mageia 2 and Mandriva 2011 +- Drops useless '-libs' package +- Correctly applies Ubuntu patches +- Fix support for Bluez4 + +* Sun Feb 12 2012 Francois Andriot - 1.0_beta9_r769275-1 +- Initial version for TDE 3.5.13 +- Updates base version to 1.0_beta9_r769275 (taken from Ubuntu Hardy) +- Fix autotools detection + +* Tue Apr 1 2008 Rex Dieter - 1.0-0.41.beta8 +- -devel: Requires: kdelibs3-devel + +* Sun Jan 6 2008 Ville Skyttä - 1.0-0.40.beta8 +- Fix build with gcc 4.3. + +* Sun Dec 9 2007 Ville Skyttä - 1.0-0.39.beta8 +- Require kdesu in main package. + +* Sun Dec 08 2007 Rex Dieter 1.0-0.38.beta8 +- BR: kdelibs3-devel kdepim3-devel +- drop Requires: kdebase (?) + +* Wed Nov 08 2007 Gilboa Davara 1.0-0.37.beta8 +- Missing BR: automake, autoconf. + +* Wed Nov 08 2007 Gilboa Davara 1-0.0-36.beta8 +- Move BRs to main package to fix mock breakage. + +* Wed Nov 07 2007 Gilboa Davara 1-0.0-35.beta8 +- Fix multi-lib conflicts (#341731). + +* Sat Oct 06 2007 Gilboa Davara 1-0.0-34.beta8 +- Beta8. (First official release since beta3) +- Remove redundant beta3 patches. +- LANG support by Ville Skytta. +- Virtual provides: dbus-bluez-pin-helper. + +* Sun Aug 26 2007 Gilboa Davara 1-0.0-33.beta3 +- Re-Fix the license tag. + +* Sun Aug 26 2007 Gilboa Davara 1-0.0-32.beta3 +- Fixed license tag. +- Re-enable PPC64. + +* Tue Jul 31 2007 Gilboa Davara 1-0.0-31.beta3 +- Fix error in ExcludeArch. + +* Tue Jul 31 2007 Gilboa Davara 1-0.0-30.beta3 +- ExcludeArch ppc64 (obexftp, again) + +* Mon Jul 30 2007 Gilboa Davara 1-0.0-29.beta3 +- ExcludeArch ppc/ppc64 (obexftp missing.) + +* Sun Jul 15 2007 Gilboa Davara 1-0.0-28.beta3 +- Fix %%dist... again... + +* Thu Jul 12 2007 Gilboa Davara 1-0.0-27.beta3 +- Add missing touch /icon/hicolor. +- Menu items: Remove only-in-KDE. +- BR: Remove libutempter-devel. +- Fix project URL and source URL. +- Add missing %%dist. + +* Sun Jul 08 2007 Gilboa Davara 1-0.0-26.beta3 +- Remove the Nokia N70 patch. (Doesn't seem to work.) +- OBEX Object push fix. + +* Sun Jul 08 2007 Gilboa Davara 1-0.0-25.beta3 +- Adopted Ville Skyttä b2 patch to b3. (Hopefully) re-enable Nokia N7x obex support. +- Patch out "Configure services". (Disabled in B3) + +* Mon Jun 25 2007 Gilboa Davara 1-0.0-24.beta3 +- Added hex encoding patch by Thomas Davis. +- Removed --enable-irmcsynckonnector (deprecated in b3) +- Add missing docs. (Removed by mistake in b23) +- Known issue - services menu doesn't seem to work. (Requires debugging / upstream ) + +* Tue Jun 12 2007 Gilboa Davara 1-0.0-23.beta3 +- Beta3. +- Remove pin-helper. (No longer needed - beta3 has dbus support.) +- Added BR dbus-qt. +- Added BR obexftp-devel. +- Remove b2 patches. + +* Sat May 26 2007 Gilboa Davara 1-0-0.22.beta2 +- Use the bluez_pinhelper wrapper instead of modified bluez-utils. +- Remove %%dist. +- *rc should not be marked as config. +- Prevent RPM from owning Network/Peripherals. + +* Mon Apr 23 2007 Gilboa Davara 1-0-0.21.beta2 +- Patch list clean-up. +- Add Nokia obex detection patch. +- Fix 64bit compile due to bad default in configure. (with_bluetooth_dir) +- Missing BR: libtempter-devel. +- Missing BT: libidn-devel. +- Added: kbluepin wrapper - cotde_datadirnfigure kbluepin as the old-style pin helper. + +* Wed Apr 04 2007 Gilboa Davara 1-0-0.20.beta2 +- Re-merge Ville Skytta's latest .spec. (Got dropped by mistake) +- Summery, description clean-up. + +* Thu Mar 29 2007 Gilboa Davara 1.0-0.19.beta2 +- Spec file clean-up. + +* Fri Oct 20 2006 Rex Dieter 1.0-0.18.beta2 +- BR: gettext +- include locales + +* Tue Oct 17 2006 Rex Dieter 1.0-0.17.beta2 +- kdebluetooth-1.0_beta2 + +* Fri Sep 08 2006 Rex Dieter 1.0-0.16.20060908svn +- kdebluetoooth-20060908svn + +* Thu Jul 13 2006 Rex Dieter 1.0-0.15.20060621svn +- put svn at end of Release tag (per packaging guidelines) + +* Wed Jun 21 2006 Rex Dieter 1.0-0.14.svn20060621 +- kdebluetooth-20060621svn, fixes + compile error kdebluetooth libkobex obex.h not found (kde bug #94572) + +* Tue Jun 20 2006 Rex Dieter 1.0-0.13.svn20060620 +- kdebluetooth-svn20060620, (re)fixes + konqueror bluetooth:/ returns error "Bad URL" (kde bug #123607) +- --disable-dependency-tracking +- own %%_datadir/applnk/Settings/Network + +* Mon Jun 19 2006 Rex Dieter 1.0-0.12.svn20060619 +- document svn tarball creation +- Requires: kdebase (for kcm bits, applnk dir ownership) +- desktop-file-install --add-only-show-in=KDE + +* Mon Jun 19 2006 Rex Dieter 1.0-0.11.svn20060619 +- kdebluetooth-svn20060619, making most patches obsolete + +* Fri Apr 28 2006 Rex Dieter 1.0-0.10.beta1 +- -devel: Requires: qt-devel bluez-libs-devel +- include libirmcsynckonnector.so in main pkg +- .desktop: --remove-category=Network --add-category=System +- remove zero length files +- fix default hcid start/top command + +* Mon Apr 17 2006 Rex Dieter 1.0-0.9.beta1 +- konqueror bluetooth:/ returns error "Bad URL" (kde bug #123607) + +* Tue Mar 28 2006 Rex Dieter 1.0-0.8.beta1 +- BR: kdepim-devel (for kitchensync) +- kdebluetooth-1.0_beta1-gcc41.patch + +* Thu Mar 23 2006 Rex Dieter 1.0-0.7.beta1 +- cleanup openobex patch +- fixup .desktop file(s) + +* Wed Mar 22 2006 Rex Dieter 1.0-0.6.beta1 +- cleanup for Extras +- %%post: ldconfig, fdo icon spec + +* Mon Mar 06 2006 Rex Dieter 1.0-0.5.beta1 +- respin + +* Mon Mar 21 2005 Rex Dieter 1.0-0.3.beta1 +- --enable-irmcsynckonnector + +* Mon Mar 21 2005 Rex Dieter 1.0-0.1.beta1 +- 1.0_beta1 + +* Wed Dec 29 2004 Rex Dieter 0.0-0.1.cvs20050110 +- first try + diff --git a/redhat/extras/kdebluetooth/trinity-kdebluetooth.spec b/redhat/extras/kdebluetooth/trinity-kdebluetooth.spec deleted file mode 100644 index 25b95d31b..000000000 --- a/redhat/extras/kdebluetooth/trinity-kdebluetooth.spec +++ /dev/null @@ -1,495 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-kdebluetooth -Version: 1.0_beta9_r769275 -Release: 2%{?dist}%{?_variant} - -Summary: The TDE Bluetooth Framework - -License: GPLv2+ -Group: Applications/Communications -URL: http://bluetooth.kmobiletools.org/ - -Source0: kdebluetooth_1.0~beta9~r769275.orig.tar.gz -Source1: kblueplugd.bluez3 -Source2: kblueplugd.bluez4 -Source3: kblueplugd.desktop - -Patch1: kdebluetooth-1.0_beta8-gcc43.patch -Patch2: kdebluetooth-trinity.patch -Patch3: kdebluetooth-fix_gcc_46_compilation.patch - -Patch4: kdebluetooth-fix_bluez4_support.patch - -Patch11: kubuntu_01_kdepot.patch -Patch12: kubuntu_02_desktop_files.patch -Patch13: kubuntu_06_no_autostart.patch -Patch14: kubuntu_07_fix_header_include.patch -Patch15: kubuntu_08_load_kdebluetooth_catalogue.patch -Patch16: kubuntu_09_french_i18n.patch - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: gettext -BuildRequires: desktop-file-utils -BuildRequires: lockdev-devel -#BuildRequires: xmms-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdepim-devel -BuildRequires: openobex-devel >= 1.1 -BuildRequires: libusb-devel -BuildRequires: pkgconfig -Buildrequires: libidn-devel -Buildrequires: dbus-tqt-devel -BuildRequires: automake >= 1.6.1 -BuildRequires: autoconf >= 2.52 -BuildRequires: obexftp-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}bluez-devel -%else -BuildRequires: bluez-libs-devel -%endif - -# kdesu binary -Requires: trinity-tdebase-bin - -%if 0%{?fedora} >= 8 -Provides: dbus-bluez-pin-helper -%endif - -Obsoletes: %{name}-libs < %{version}-%{release} -Provides: %{name}-libs = %{version}-%{release} - -%description -The KDE Bluetooth Framework is a set of tools built on top of Linux' -Bluetooth (Bluez) stack. The goal is to provide easy access to the most -common Bluetooth profiles and to make data exchange with Bluetooth -enabled devices as straightforward as possible. - - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: trinity-tdelibs-devel -Requires: bluez-libs-devel - - -%description devel -KDE Bluetooth framework development libraries and headers. - - -%prep -%setup -q -n kdebluetooth-1.0~beta9~r769275 -%patch1 -p1 -b .gcc43 -%patch2 -p1 -b .trinity -%patch3 -p1 -b .gcc46 - -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} -%patch4 -p1 -b .bluez4 -%endif - -%patch11 -p1 -%patch12 -p1 -%patch13 -p1 -%patch14 -p1 -%patch15 -p1 -%patch16 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|include/kde|include/tde|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export KDEDIR=%{tde_prefix} - -# FIXME: dbus-tqt headers are not found without this ... -export CXXFLAGS="${CXXFLAGS} -I%{tde_includedir}/dbus-1.0" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --includedir=%{tde_tdeincludedir} \ - --datadir=%{tde_datadir} \ - --disable-rpath \ - --enable-new-ldflags \ - --disable-debug \ - --disable-dependency-tracking \ - --enable-final \ - --enable-closure \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} LIBTOOL=$(which libtool) - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT - -# icons -for DESK_PATH in applications/kde applnk/Utilities ; do - desktop-file-install \ - --mode=644 \ - --vendor="" \ - --dir=$RPM_BUILD_ROOT%{tde_datadir}/applications/kde \ - --remove-category="Network" \ - --add-category="System" \ - --delete-original \ - $RPM_BUILD_ROOT%{tde_datadir}/$DESK_PATH/*.desktop ||: -done - -# Locales -PROG_LIST="kbluelock kbluemon kbluetooth kinputwizard - kcm_btpaired kio_bluetooth kio_obex2 kio_sdp - libkbluetooth kdebluetooth" -for PROG in $PROG_LIST ; do - %find_lang $PROG && cat $PROG.lang >> %{name}.lang ||: -done - -# Unwanted files -%__rm -f %{buildroot}%{_datadir}/applnk/Settings/Network/Bluetooth/.directory -%__rm -f %{buildroot}%{tde_libdir}/*.a -%__rm -f %{buildroot}%{tde_tdelibdir}/kcm_btpaired.a -%__rm -f %{buildroot}%{tde_tdelibdir}/kio_bluetooth.a -%__rm -f %{buildroot}%{tde_tdelibdir}/kio_obex.a -%__rm -f %{buildroot}%{tde_tdelibdir}/kio_sdp.a -%__rm -f %{buildroot}%{tde_datadir}/applnk/Settings/Network/Bluetooth/.directory - -# Installs 'kblueplugd' -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} -%__install -D -m 755 %{SOURCE2} %{buildroot}%{tde_bindir}/kblueplugd -%else -%__install -D -m 755 %{SOURCE1} %{buildroot}%{tde_bindir}/kblueplugd -%endif -%__install -D -m 644 %{SOURCE3} %{buildroot}%{tde_datadir}/autostart/kblueplugd.desktop - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%post -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -qf %{tde_datadir}/icons/hicolor 2> /dev/null ||: -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} 2> /dev/null || : - - -%postun -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -qf %{tde_datadir}/icons/hicolor 2> /dev/null ||: -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - -%files -f %{name}.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING INSTALL README -%{tde_bindir}/kbluelock -%{tde_bindir}/kbluemon -%{tde_bindir}/kblueplugd -%{tde_bindir}/kbluetooth -%{tde_bindir}/kbtobexclient -%{tde_bindir}/kioobex_start -%{tde_bindir}/kinputwizard -%{tde_datadir}/applnk/.hidden/*.desktop -%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/*.desktop -%{tde_datadir}/apps/konqueror/servicemenus/kbtobexclient_sendfile.desktop -%{tde_datadir}/apps/kbtobexclient/kbtobexclientui.rc -%{tde_datadir}/apps/kdebluetooth/ -%{tde_tdeappdir}/dunhandler.desktop -%{tde_tdeappdir}/faxhandler.desktop -%{tde_tdeappdir}/kbluelock.desktop -%{tde_tdeappdir}/kbluemon.desktop -%{tde_tdeappdir}/kbluetooth.desktop -%{tde_tdeappdir}/kbtobexclient.desktop -%{tde_tdeappdir}/kbtobexsrv.desktop -%{tde_tdeappdir}/kcm_btpaired.desktop -%{tde_tdeappdir}/kinputwizard.desktop -%{tde_datadir}/autostart/kblueplugd.desktop -%{tde_datadir}/desktop-directories/kde-settings-network-bluetooth.directory -%{tde_datadir}/icons/hicolor/*/apps/kbluetooth.png -%{tde_datadir}/icons/hicolor/*/apps/kdebluetooth.png -%{tde_datadir}/icons/hicolor/*/apps/kbluelock.png -%{tde_datadir}/icons/hicolor/scalable/apps/kdebluetooth.svgz -%{tde_datadir}/mimelnk/bluetooth/av-device-class.desktop -%{tde_datadir}/mimelnk/bluetooth/computer-device-class.desktop -%{tde_datadir}/mimelnk/bluetooth/dun-profile.desktop -%{tde_datadir}/mimelnk/bluetooth/fax-profile.desktop -%{tde_datadir}/mimelnk/bluetooth/handsfree-profile.desktop -%{tde_datadir}/mimelnk/bluetooth/headset-profile.desktop -%{tde_datadir}/mimelnk/bluetooth/imaging-device-class.desktop -%{tde_datadir}/mimelnk/bluetooth/keyboard-device-class.desktop -%{tde_datadir}/mimelnk/bluetooth/lan-device-class.desktop -%{tde_datadir}/mimelnk/bluetooth/misc-device-class.desktop -%{tde_datadir}/mimelnk/bluetooth/mouse-device-class.desktop -%{tde_datadir}/mimelnk/bluetooth/obex-ftp-profile.desktop -%{tde_datadir}/mimelnk/bluetooth/obexobjectpush-profile.desktop -%{tde_datadir}/mimelnk/bluetooth/peripheral-device-class.desktop -%{tde_datadir}/mimelnk/bluetooth/phone-device-class.desktop -%{tde_datadir}/mimelnk/bluetooth/serial-port-profile.desktop -%{tde_datadir}/mimelnk/bluetooth/synchronization-profile.desktop -%{tde_datadir}/mimelnk/bluetooth/unknown-device-class.desktop -%{tde_datadir}/mimelnk/bluetooth/unknown-profile.desktop -%{tde_datadir}/services/bluetooth.protocol -%{tde_datadir}/services/btsdp.protocol -%{tde_datadir}/services/kbluetooth_kbtobexsrv.desktop -%{tde_datadir}/services/kbluetooth_kbtobexsrv.sdp.xml -%{tde_datadir}/services/obex.protocol -%{tde_datadir}/services/sdpmime-dun-profile.desktop -%{tde_datadir}/services/sdpmime-fax-profile.desktop -%{tde_datadir}/services/sdpmime-handsfree-profile.desktop -%{tde_datadir}/services/sdpmime-headset-profile.desktop -%{tde_datadir}/services/sdpmime-obex-client-profile.desktop -%{tde_datadir}/services/sdpmime-obex-ftp-profile.desktop -%{tde_datadir}/services/sdpmime-serial-port-profile.desktop -%{tde_datadir}/services/sdpmime-synchronization-profile.desktop -%{tde_datadir}/servicetypes/sdpservicehandler.desktop -%{tde_libdir}/kdebluetooth/servers/kbtobexsrv -%{tde_libdir}/libkbluetooth.so.0 -%{tde_libdir}/libkbluetooth.so.0.0.0 -%{tde_libdir}/libqobex.so.0 -%{tde_libdir}/libqobex.so.0.0.9 -%{tde_tdelibdir}/kcm_btpaired.la -%{tde_tdelibdir}/kcm_btpaired.so -%{tde_tdelibdir}/kio_bluetooth.la -%{tde_tdelibdir}/kio_bluetooth.so -%{tde_tdelibdir}/kio_obex.la -%{tde_tdelibdir}/kio_obex.so -%{tde_tdelibdir}/kio_sdp.la -%{tde_tdelibdir}/kio_sdp.so -%lang(ca) %{tde_tdedocdir}/HTML/ca/kdebluetooth/ -%lang(da) %{tde_tdedocdir}/HTML/da/kdebluetooth/ -%lang(en) %{tde_tdedocdir}/HTML/en/kdebluetooth/ -%lang(es) %{tde_tdedocdir}/HTML/es/kdebluetooth/ -%lang(et) %{tde_tdedocdir}/HTML/et/kdebluetooth/ -%lang(fr) %{tde_tdedocdir}/HTML/fr/kdebluetooth/ -%lang(it) %{tde_tdedocdir}/HTML/it/kdebluetooth/ -%lang(nl) %{tde_tdedocdir}/HTML/nl/kdebluetooth/ -%lang(pt) %{tde_tdedocdir}/HTML/pt/kdebluetooth/ -%lang(ru) %{tde_tdedocdir}/HTML/ru/kdebluetooth/ -%lang(sv) %{tde_tdedocdir}/HTML/sv/kdebluetooth/ - - - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/libkbluetooth/ -%{tde_tdeincludedir}/qobex/ -%{tde_libdir}/libkbluetooth.la -%{tde_libdir}/libkbluetooth.so -%{tde_libdir}/libqobex.la -%{tde_libdir}/libqobex.so - - -%changelog -* Sat Sep 01 2012 Francois Andriot - 1.0_beta9_r769275-2 -- Rebuilt for Mageia 2 and Mandriva 2011 -- Drops useless '-libs' package -- Correctly applies Ubuntu patches -- Fix support for Bluez4 - -* Sun Feb 12 2012 Francois Andriot - 1.0_beta9_r769275-1 -- Initial version for TDE 3.5.13 -- Updates base version to 1.0_beta9_r769275 (taken from Ubuntu Hardy) -- Fix autotools detection - -* Tue Apr 1 2008 Rex Dieter - 1.0-0.41.beta8 -- -devel: Requires: kdelibs3-devel - -* Sun Jan 6 2008 Ville Skyttä - 1.0-0.40.beta8 -- Fix build with gcc 4.3. - -* Sun Dec 9 2007 Ville Skyttä - 1.0-0.39.beta8 -- Require kdesu in main package. - -* Sun Dec 08 2007 Rex Dieter 1.0-0.38.beta8 -- BR: kdelibs3-devel kdepim3-devel -- drop Requires: kdebase (?) - -* Wed Nov 08 2007 Gilboa Davara 1.0-0.37.beta8 -- Missing BR: automake, autoconf. - -* Wed Nov 08 2007 Gilboa Davara 1-0.0-36.beta8 -- Move BRs to main package to fix mock breakage. - -* Wed Nov 07 2007 Gilboa Davara 1-0.0-35.beta8 -- Fix multi-lib conflicts (#341731). - -* Sat Oct 06 2007 Gilboa Davara 1-0.0-34.beta8 -- Beta8. (First official release since beta3) -- Remove redundant beta3 patches. -- LANG support by Ville Skytta. -- Virtual provides: dbus-bluez-pin-helper. - -* Sun Aug 26 2007 Gilboa Davara 1-0.0-33.beta3 -- Re-Fix the license tag. - -* Sun Aug 26 2007 Gilboa Davara 1-0.0-32.beta3 -- Fixed license tag. -- Re-enable PPC64. - -* Tue Jul 31 2007 Gilboa Davara 1-0.0-31.beta3 -- Fix error in ExcludeArch. - -* Tue Jul 31 2007 Gilboa Davara 1-0.0-30.beta3 -- ExcludeArch ppc64 (obexftp, again) - -* Mon Jul 30 2007 Gilboa Davara 1-0.0-29.beta3 -- ExcludeArch ppc/ppc64 (obexftp missing.) - -* Sun Jul 15 2007 Gilboa Davara 1-0.0-28.beta3 -- Fix %%dist... again... - -* Thu Jul 12 2007 Gilboa Davara 1-0.0-27.beta3 -- Add missing touch /icon/hicolor. -- Menu items: Remove only-in-KDE. -- BR: Remove libutempter-devel. -- Fix project URL and source URL. -- Add missing %%dist. - -* Sun Jul 08 2007 Gilboa Davara 1-0.0-26.beta3 -- Remove the Nokia N70 patch. (Doesn't seem to work.) -- OBEX Object push fix. - -* Sun Jul 08 2007 Gilboa Davara 1-0.0-25.beta3 -- Adopted Ville Skyttä b2 patch to b3. (Hopefully) re-enable Nokia N7x obex support. -- Patch out "Configure services". (Disabled in B3) - -* Mon Jun 25 2007 Gilboa Davara 1-0.0-24.beta3 -- Added hex encoding patch by Thomas Davis. -- Removed --enable-irmcsynckonnector (deprecated in b3) -- Add missing docs. (Removed by mistake in b23) -- Known issue - services menu doesn't seem to work. (Requires debugging / upstream ) - -* Tue Jun 12 2007 Gilboa Davara 1-0.0-23.beta3 -- Beta3. -- Remove pin-helper. (No longer needed - beta3 has dbus support.) -- Added BR dbus-qt. -- Added BR obexftp-devel. -- Remove b2 patches. - -* Sat May 26 2007 Gilboa Davara 1-0-0.22.beta2 -- Use the bluez_pinhelper wrapper instead of modified bluez-utils. -- Remove %%dist. -- *rc should not be marked as config. -- Prevent RPM from owning Network/Peripherals. - -* Mon Apr 23 2007 Gilboa Davara 1-0-0.21.beta2 -- Patch list clean-up. -- Add Nokia obex detection patch. -- Fix 64bit compile due to bad default in configure. (with_bluetooth_dir) -- Missing BR: libtempter-devel. -- Missing BT: libidn-devel. -- Added: kbluepin wrapper - cotde_datadirnfigure kbluepin as the old-style pin helper. - -* Wed Apr 04 2007 Gilboa Davara 1-0-0.20.beta2 -- Re-merge Ville Skytta's latest .spec. (Got dropped by mistake) -- Summery, description clean-up. - -* Thu Mar 29 2007 Gilboa Davara 1.0-0.19.beta2 -- Spec file clean-up. - -* Fri Oct 20 2006 Rex Dieter 1.0-0.18.beta2 -- BR: gettext -- include locales - -* Tue Oct 17 2006 Rex Dieter 1.0-0.17.beta2 -- kdebluetooth-1.0_beta2 - -* Fri Sep 08 2006 Rex Dieter 1.0-0.16.20060908svn -- kdebluetoooth-20060908svn - -* Thu Jul 13 2006 Rex Dieter 1.0-0.15.20060621svn -- put svn at end of Release tag (per packaging guidelines) - -* Wed Jun 21 2006 Rex Dieter 1.0-0.14.svn20060621 -- kdebluetooth-20060621svn, fixes - compile error kdebluetooth libkobex obex.h not found (kde bug #94572) - -* Tue Jun 20 2006 Rex Dieter 1.0-0.13.svn20060620 -- kdebluetooth-svn20060620, (re)fixes - konqueror bluetooth:/ returns error "Bad URL" (kde bug #123607) -- --disable-dependency-tracking -- own %%_datadir/applnk/Settings/Network - -* Mon Jun 19 2006 Rex Dieter 1.0-0.12.svn20060619 -- document svn tarball creation -- Requires: kdebase (for kcm bits, applnk dir ownership) -- desktop-file-install --add-only-show-in=KDE - -* Mon Jun 19 2006 Rex Dieter 1.0-0.11.svn20060619 -- kdebluetooth-svn20060619, making most patches obsolete - -* Fri Apr 28 2006 Rex Dieter 1.0-0.10.beta1 -- -devel: Requires: qt-devel bluez-libs-devel -- include libirmcsynckonnector.so in main pkg -- .desktop: --remove-category=Network --add-category=System -- remove zero length files -- fix default hcid start/top command - -* Mon Apr 17 2006 Rex Dieter 1.0-0.9.beta1 -- konqueror bluetooth:/ returns error "Bad URL" (kde bug #123607) - -* Tue Mar 28 2006 Rex Dieter 1.0-0.8.beta1 -- BR: kdepim-devel (for kitchensync) -- kdebluetooth-1.0_beta1-gcc41.patch - -* Thu Mar 23 2006 Rex Dieter 1.0-0.7.beta1 -- cleanup openobex patch -- fixup .desktop file(s) - -* Wed Mar 22 2006 Rex Dieter 1.0-0.6.beta1 -- cleanup for Extras -- %%post: ldconfig, fdo icon spec - -* Mon Mar 06 2006 Rex Dieter 1.0-0.5.beta1 -- respin - -* Mon Mar 21 2005 Rex Dieter 1.0-0.3.beta1 -- --enable-irmcsynckonnector - -* Mon Mar 21 2005 Rex Dieter 1.0-0.1.beta1 -- 1.0_beta1 - -* Wed Dec 29 2004 Rex Dieter 0.0-0.1.cvs20050110 -- first try - diff --git a/redhat/extras/kickoff-i18n/kickoff-i18n-3.5.13.1.spec b/redhat/extras/kickoff-i18n/kickoff-i18n-3.5.13.1.spec new file mode 100644 index 000000000..4a1b84a1d --- /dev/null +++ b/redhat/extras/kickoff-i18n/kickoff-i18n-3.5.13.1.spec @@ -0,0 +1,101 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# Speed build options +%define debug_package %{nil} +%define __spec_install_post %{nil} +AutoReq: no + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-kickoff-i18n +Summary: Kickoff translations for Trinity Desktop Environment +Version: 1.0 +Release: 2%{?dist}%{?_variant} +Group: System/Internationalization +License: GPL +URL: http://www.mandriva.com + +Source0: kickoff-i18n-1.0.tar.bz2 +Patch0: kickoff-i18n-1.0-uz-po.patch +Patch1: kickoff-i18n-1.0-tr-po.patch + +# [kickoff-i18n] Fix directories for Trinity +Patch2: kickoff-i18n-1.0-fix_trinity_location.patch +# [kickoff-i18n] Fix build with automake 1.11 +Patch3: kickoff-i18n-1.0-fix_autotools_detection.patch + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot +BuildArch: noarch + +BuildRequires: qt3-devel +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 + +%description +kickoff translations + +%prep +%setup -q -n kickoff-i18n-%{version} +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 -b .dir +%patch3 -p1 -b .automake + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +./configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + +%__make %{?_smp_mflags} + +%install +%__rm -fr %{buildroot} +%__make install DESTDIR=%{?buildroot} + +%find_lang kickoff + +%clean +#rm -fr %{buildroot} + +%files -f kickoff.lang +%defattr(-,root,root,-) + +%changelog +* Wed Oct 03 2012 Francois Andriot - 1.0-2 +- Initial build for TDE 3.5.13.1 + +* Fri Aug 03 2012 Francois Andriot - 1.0-1 +- Initial build for TDE 3.5.13 diff --git a/redhat/extras/kickoff-i18n/kickoff-i18n-3.5.13.2.spec b/redhat/extras/kickoff-i18n/kickoff-i18n-3.5.13.2.spec new file mode 100644 index 000000000..18e6c3339 --- /dev/null +++ b/redhat/extras/kickoff-i18n/kickoff-i18n-3.5.13.2.spec @@ -0,0 +1,104 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# Speed build options +%define debug_package %{nil} +%define __spec_install_post %{nil} +AutoReq: no + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-kickoff-i18n +Summary: Kickoff translations for Trinity Desktop Environment +Version: 1.0 +Release: 3%{?dist}%{?_variant} +Group: System/Internationalization +License: GPL +URL: http://www.mandriva.com + +Source0: kickoff-i18n-1.0.tar.bz2 +Patch0: kickoff-i18n-1.0-uz-po.patch +Patch1: kickoff-i18n-1.0-tr-po.patch + +# [kickoff-i18n] Fix directories for Trinity +Patch2: kickoff-i18n-1.0-fix_trinity_location.patch +# [kickoff-i18n] Fix build with automake 1.11 +Patch3: kickoff-i18n-1.0-fix_autotools_detection.patch + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot +BuildArch: noarch + +BuildRequires: qt3-devel +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 + +%description +kickoff translations + +%prep +%setup -q -n kickoff-i18n-%{version} +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 -b .dir +%patch3 -p1 -b .automake + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +./configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + +%__make %{?_smp_mflags} + +%install +%__rm -fr %{buildroot} +%__make install DESTDIR=%{?buildroot} + +%find_lang kickoff + +%clean +#rm -fr %{buildroot} + +%files -f kickoff.lang +%defattr(-,root,root,-) + +%changelog +* Sat Jan 19 2013 Francois Andriot - 1.0-3 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 1.0-2 +- Initial build for TDE 3.5.13.1 + +* Fri Aug 03 2012 Francois Andriot - 1.0-1 +- Initial build for TDE 3.5.13 diff --git a/redhat/extras/kickoff-i18n/kickoff-i18n-3.5.13.spec b/redhat/extras/kickoff-i18n/kickoff-i18n-3.5.13.spec new file mode 100644 index 000000000..31e76f50b --- /dev/null +++ b/redhat/extras/kickoff-i18n/kickoff-i18n-3.5.13.spec @@ -0,0 +1,89 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# Speed build options +%define debug_package %{nil} +%define __spec_install_post %{nil} +AutoReq: no + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_doc %{tde_datadir}/doc + +%define _docdir %{tde_docdir} + + +Name: trinity-kickoff-i18n +Summary: Kickoff translations for Trinity Desktop Environment +Version: 1.0 +Release: 1%{?dist}%{?_variant} +Group: System/Internationalization +License: GPL +URL: http://www.mandriva.com + +Source0: kickoff-i18n-1.0.tar.bz2 +Patch0: kickoff-i18n-1.0-uz-po.patch +Patch1: kickoff-i18n-1.0-tr-po.patch + +# [kickoff-i18n] Fix directories for Trinity +Patch2: kickoff-i18n-1.0-fix_trinity_location.patch +# [kickoff-i18n] Fix build with automake 1.11 +Patch3: kickoff-i18n-1.0-fix_autotools_detection.patch + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot +BuildArch: noarch + +BuildRequires: qt3-devel +BuildRequires: trinity-tdelibs-devel + +%description +kickoff translations + +%prep +%setup -q -n kickoff-i18n-%{version} +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 -b .dir +%patch3 -p1 -b .automake + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +./configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --datadir=%{tde_datadir} + +%__make %{?_smp_mflags} + +%install +%__rm -fr %{buildroot} +%__make install DESTDIR=%{?buildroot} + +%find_lang kickoff + +%clean +#rm -fr %{buildroot} + +%files -f kickoff.lang +%defattr(-,root,root,-) + +%changelog +* Fri Aug 03 2012 Francois Andriot - 1.0-1 +- Initial build for TDE 3.5.13 diff --git a/redhat/extras/kickoff-i18n/trinity-kickoff-i18n-3.5.13.1.spec b/redhat/extras/kickoff-i18n/trinity-kickoff-i18n-3.5.13.1.spec deleted file mode 100644 index 4a1b84a1d..000000000 --- a/redhat/extras/kickoff-i18n/trinity-kickoff-i18n-3.5.13.1.spec +++ /dev/null @@ -1,101 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# Speed build options -%define debug_package %{nil} -%define __spec_install_post %{nil} -AutoReq: no - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-kickoff-i18n -Summary: Kickoff translations for Trinity Desktop Environment -Version: 1.0 -Release: 2%{?dist}%{?_variant} -Group: System/Internationalization -License: GPL -URL: http://www.mandriva.com - -Source0: kickoff-i18n-1.0.tar.bz2 -Patch0: kickoff-i18n-1.0-uz-po.patch -Patch1: kickoff-i18n-1.0-tr-po.patch - -# [kickoff-i18n] Fix directories for Trinity -Patch2: kickoff-i18n-1.0-fix_trinity_location.patch -# [kickoff-i18n] Fix build with automake 1.11 -Patch3: kickoff-i18n-1.0-fix_autotools_detection.patch - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot -BuildArch: noarch - -BuildRequires: qt3-devel -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 - -%description -kickoff translations - -%prep -%setup -q -n kickoff-i18n-%{version} -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -b .dir -%patch3 -p1 -b .automake - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -./configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - -%__make %{?_smp_mflags} - -%install -%__rm -fr %{buildroot} -%__make install DESTDIR=%{?buildroot} - -%find_lang kickoff - -%clean -#rm -fr %{buildroot} - -%files -f kickoff.lang -%defattr(-,root,root,-) - -%changelog -* Wed Oct 03 2012 Francois Andriot - 1.0-2 -- Initial build for TDE 3.5.13.1 - -* Fri Aug 03 2012 Francois Andriot - 1.0-1 -- Initial build for TDE 3.5.13 diff --git a/redhat/extras/kickoff-i18n/trinity-kickoff-i18n-3.5.13.2.spec b/redhat/extras/kickoff-i18n/trinity-kickoff-i18n-3.5.13.2.spec deleted file mode 100644 index 18e6c3339..000000000 --- a/redhat/extras/kickoff-i18n/trinity-kickoff-i18n-3.5.13.2.spec +++ /dev/null @@ -1,104 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# Speed build options -%define debug_package %{nil} -%define __spec_install_post %{nil} -AutoReq: no - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-kickoff-i18n -Summary: Kickoff translations for Trinity Desktop Environment -Version: 1.0 -Release: 3%{?dist}%{?_variant} -Group: System/Internationalization -License: GPL -URL: http://www.mandriva.com - -Source0: kickoff-i18n-1.0.tar.bz2 -Patch0: kickoff-i18n-1.0-uz-po.patch -Patch1: kickoff-i18n-1.0-tr-po.patch - -# [kickoff-i18n] Fix directories for Trinity -Patch2: kickoff-i18n-1.0-fix_trinity_location.patch -# [kickoff-i18n] Fix build with automake 1.11 -Patch3: kickoff-i18n-1.0-fix_autotools_detection.patch - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot -BuildArch: noarch - -BuildRequires: qt3-devel -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 - -%description -kickoff translations - -%prep -%setup -q -n kickoff-i18n-%{version} -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -b .dir -%patch3 -p1 -b .automake - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -./configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - -%__make %{?_smp_mflags} - -%install -%__rm -fr %{buildroot} -%__make install DESTDIR=%{?buildroot} - -%find_lang kickoff - -%clean -#rm -fr %{buildroot} - -%files -f kickoff.lang -%defattr(-,root,root,-) - -%changelog -* Sat Jan 19 2013 Francois Andriot - 1.0-3 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 1.0-2 -- Initial build for TDE 3.5.13.1 - -* Fri Aug 03 2012 Francois Andriot - 1.0-1 -- Initial build for TDE 3.5.13 diff --git a/redhat/extras/kickoff-i18n/trinity-kickoff-i18n-3.5.13.spec b/redhat/extras/kickoff-i18n/trinity-kickoff-i18n-3.5.13.spec deleted file mode 100644 index 31e76f50b..000000000 --- a/redhat/extras/kickoff-i18n/trinity-kickoff-i18n-3.5.13.spec +++ /dev/null @@ -1,89 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# Speed build options -%define debug_package %{nil} -%define __spec_install_post %{nil} -AutoReq: no - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_doc %{tde_datadir}/doc - -%define _docdir %{tde_docdir} - - -Name: trinity-kickoff-i18n -Summary: Kickoff translations for Trinity Desktop Environment -Version: 1.0 -Release: 1%{?dist}%{?_variant} -Group: System/Internationalization -License: GPL -URL: http://www.mandriva.com - -Source0: kickoff-i18n-1.0.tar.bz2 -Patch0: kickoff-i18n-1.0-uz-po.patch -Patch1: kickoff-i18n-1.0-tr-po.patch - -# [kickoff-i18n] Fix directories for Trinity -Patch2: kickoff-i18n-1.0-fix_trinity_location.patch -# [kickoff-i18n] Fix build with automake 1.11 -Patch3: kickoff-i18n-1.0-fix_autotools_detection.patch - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot -BuildArch: noarch - -BuildRequires: qt3-devel -BuildRequires: trinity-tdelibs-devel - -%description -kickoff translations - -%prep -%setup -q -n kickoff-i18n-%{version} -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -b .dir -%patch3 -p1 -b .automake - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -./configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --datadir=%{tde_datadir} - -%__make %{?_smp_mflags} - -%install -%__rm -fr %{buildroot} -%__make install DESTDIR=%{?buildroot} - -%find_lang kickoff - -%clean -#rm -fr %{buildroot} - -%files -f kickoff.lang -%defattr(-,root,root,-) - -%changelog -* Fri Aug 03 2012 Francois Andriot - 1.0-1 -- Initial build for TDE 3.5.13 diff --git a/redhat/extras/ksensors/ksensors-3.5.13.1.spec b/redhat/extras/ksensors/ksensors-3.5.13.1.spec new file mode 100644 index 000000000..f00bcc569 --- /dev/null +++ b/redhat/extras/ksensors/ksensors-3.5.13.1.spec @@ -0,0 +1,268 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +Name: trinity-ksensors +Version: 0.7.3 +Release: 19p3%{?dist}%{?_variant} + +Summary: KDE frontend to lm_sensors +Group: Applications/System +License: GPLv2+ +URL: http://ksensors.sourceforge.net/ + +Source0: http://downloads.sourceforge.net/ksensors/ksensors-%{version}.tar.gz + +# Debian (upstream) patch +Patch2: ksensors_0.7.3-18.diff +# Fix 'lmsensor.cpp' for older lm_sensors API (< 3.x) +Patch7: ksensors-0.7.3-18-lmsensors_2x_fix.patch +# [ksensors] Fix autotools detection +Patch9: ksensors-0.7.3-fix_autotools_detection.patch +# Fix TDE directories detection +Patch10: ksensors-0.7.3-tde_includedir.patch +# Fix sound installation +Patch11: ksensors-0.7.3-fix_sound_installation.patch + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: gettext +BuildRequires: desktop-file-utils + +%if 0%{?suse_version} +BuildRequires: libsensors4-devel +%else +BuildRequires: lm_sensors-devel +%endif + +# Keep archs in sync with lm_sensors +ExcludeArch: s390 s390x + +%description +KSensors is a nice lm-sensors frontend for the K Desktop Environment. +Install the hddtemp package if you wish to monitor hard disk +temperatures with KSensors. + + +%if 0%{?suse_version} +%debug_package +%endif + + +%prep +%setup -q -n ksensors-%{version} +%patch2 -p1 -b .debian +%patch7 -p1 -b .lm2x +%patch9 -p1 -b .autotools +%patch10 -p1 -b .tdeinc +%patch11 -p1 -b .sound + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + +%__sed -i -e 's|$(kde_datadir)/sounds|$(kde_sounddir)|' src/sounds/Makefile.* +for f in ChangeLog LIESMICH LISEZMOI ; do + iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f +done + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +export KDEDIR=%{tde_prefix} + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --disable-dependency-tracking \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --with-qt-libraries=${QTLIB:-${QTDIR}/%{_lib}} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} + +%__make %{?_smp_mflags} LIBTOOL=$(which libtool) + + +%install +%__rm -rf $RPM_BUILD_ROOT +%__make install DESTDIR=$RPM_BUILD_ROOT + +# Creates autostart shortcut +%__install -dm 755 $RPM_BUILD_ROOT%{tde_datadir}/autostart +%__ln_s ../applnk/Utilities/ksensors.desktop \ + $RPM_BUILD_ROOT%{tde_datadir}/autostart + +#__rm -rf $RPM_BUILD_ROOT%{tde_tdedocdir}/HTML + +%find_lang ksensors + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%post +for f in locolor hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null || : + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null || : +done + +%postun +for f in locolor hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null || : + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null || : +done + + +%files -f ksensors.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING FAQ README TODO +%lang(es) %doc LEEME +%lang(de) %doc LIESMICH +%lang(fr) %doc LISEZMOI +%{tde_bindir}/ksensors +%{tde_datadir}/applnk/Utilities/ksensors.desktop +%{tde_datadir}/apps/ksensors/ +%{tde_datadir}/autostart/ksensors.desktop +%{tde_datadir}/icons/hicolor/*/apps/ksensors.png +%{tde_datadir}/icons/locolor/ +%{tde_datadir}/sounds/ksensors_alert.wav +%{tde_tdedocdir}/HTML/en/ksensors/ + +%changelog +* Wed Oct 03 2012 Francois Andriot - 0.7.3-19p3 +- Initial build for TDE 3.5.13.1 + +* Thu Dec 22 2011 Francois Andriot - 0.7.3-19p2 +- Update Debian patch to -18 release + +* Mon Nov 07 2011 Francois Andriot - 0.7.3-19p1 +- Rebuilt for RHEL 6, RHEL 5, Fedora 15 with TDE 3.5.13 + +* Mon Feb 07 2011 Fedora Release Engineering - 0.7.3-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Jul 24 2009 Fedora Release Engineering - 0.7.3-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 0.7.3-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Fri Feb 15 2008 Hans de Goede 0.7.3-16 +- Update Debian patch to -15 release + +* Thu Jan 3 2008 Hans de Goede 0.7.3-15 +- Change BuildRequires: kdelibs-devel into kdelibs3-devel + +* Sun Nov 11 2007 Hans de Goede 0.7.3-14 +- Patch for and Rebuild against lm_sensors-3.0.0 + +* Sun Nov 11 2007 Hans de Goede 0.7.3-13 +- Fix reading of min and max tresholds from libsensors + +* Mon Aug 13 2007 Hans de Goede 0.7.3-12 +- Update License tag for new Licensing Guidelines compliance + +* Fri Jul 27 2007 Hans de Goede 0.7.3-11 +- Remove OnlyShowIn=KDE; from .desktop file (I like using ksensors under GNOME, + works fine grumbel) + +* Fri Jul 27 2007 Hans de Goede 0.7.3-10 +- Add icon-cache update scriptlets +- Add Requires: hicolor-icon-theme for dir ownership + +* Fri Jul 20 2007 Ville Skyttä - 0.7.3-9 +- Sync Exclu(de|sive)Arch with new lm_sensors (#249060). + +* Tue Jun 26 2007 Ville Skyttä - 0.7.3-8 +- Update Debian patchset to -14 for additional fixes and translations; + drop our hddtemp detection patch in favour of the one included in it. +- Drop Application and X-Fedora categories from .desktop file, add GenericName. +- Make autostart checkbox effective again (#242570). +- Convert docs to UTF-8. + +* Sat Sep 30 2006 Ville Skyttä - 0.7.3-7 +- Apply Debian -11 patchset for upstream radio button state fix, + support for hddtemp with SCSI disks and more translations. + +* Wed Aug 30 2006 Ville Skyttä - 0.7.3-6 +- Rebuild. + +* Wed Feb 15 2006 Ville Skyttä - 0.7.3-5 +- Rebuild. + +* Thu Nov 3 2005 Ville Skyttä - 0.7.3-4 +- Clean up build dependencies. + +* Thu May 19 2005 Ville Skyttä - 0.7.3-3 +- Sync arch availability with FC4 lm_sensors (%%{ix86}, x86_64, alpha). +- Reduce directory ownership bloat. + +* Fri Apr 7 2005 Michael Schwendt - 0.7.3-2 +- rebuilt + +* Sat Aug 21 2004 Ville Skyttä - 0:0.7.3-0.fdr.1 +- Update to 0.7.3, most patches applied upstream. +- Disable dependency tracking to speed up the build. + +* Tue Jul 20 2004 Ville Skyttä - 0:0.7.2-0.fdr.4 +- Force use of multithreaded Qt with --enable-mt to fix build on FC2. +- Sync Debian patch to 0.7.2-16 to get a fix for freeze with hddtemp. +- Apply upstream patches #913569 and #915725. +- Disable RPATH. +- Don't ship the "handbook", it's just a template. +- Other minor improvements here and there. + +* Sat Aug 2 2003 Ville Skyttä - 0:0.7.2-0.fdr.3 +- Own dirs under %%{_datadir}/icons and %%{_docdir}/HTML (bug 21). +- Don't tweak path to hddtemp. +- Patch to fix hddtemp detection. +- s/--enable-xinerama/--with-xinerama/ +- Borrow man page from Debian. + +* Sat May 31 2003 Ville Skyttä - 0:0.7.2-0.fdr.2 +- Spec cleanups. + +* Fri Apr 4 2003 Ville Skyttä - 0:0.7.2-0.fdr.1 +- Update to current Fedora guidelines. +- Move desktop entry to %%{_datadir}/applications using desktop-file-install. + +* Sun Feb 23 2003 Warren Togami - 0.7.2-1.fedora.2 +- BuildRequires libart_lgpl-devel needed for Red Hat 8.1 + +* Sun Feb 23 2003 Ville Skyttä - 0.7.2-1.fedora.1 +- Update to 0.7.2. +- Don't apply startup crash patch, but keep it around for now. + +* Sat Feb 15 2003 Ville Skyttä - 0.7-1.fedora.2 +- Include startup crash patch from upstream SRPM. + +* Sun Feb 9 2003 Ville Skyttä - 0.7-1.fedora.1 +- First Fedora release. diff --git a/redhat/extras/ksensors/ksensors-3.5.13.2.spec b/redhat/extras/ksensors/ksensors-3.5.13.2.spec new file mode 100644 index 000000000..5f97dd4e1 --- /dev/null +++ b/redhat/extras/ksensors/ksensors-3.5.13.2.spec @@ -0,0 +1,271 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +Name: trinity-ksensors +Version: 0.7.3 +Release: 20%{?dist}%{?_variant} + +Summary: Trinity Frontend to lm_sensors +Group: Applications/System +License: GPLv2+ +URL: http://ksensors.sourceforge.net/ + +Source0: http://downloads.sourceforge.net/ksensors/ksensors-0.7.3.tar.gz + +# Debian (upstream) patch +Patch2: ksensors_0.7.3-18.diff +# Fix 'lmsensor.cpp' for older lm_sensors API (< 3.x) +Patch7: ksensors-0.7.3-18-lmsensors_2x_fix.patch +# [ksensors] Fix autotools detection +Patch9: ksensors-0.7.3-fix_autotools_detection.patch +# Fix TDE directories detection +Patch10: ksensors-0.7.3-tde_includedir.patch +# Fix sound installation +Patch11: ksensors-0.7.3-fix_sound_installation.patch + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: gettext +BuildRequires: desktop-file-utils + +%if 0%{?suse_version} +BuildRequires: libsensors4-devel +%else +BuildRequires: lm_sensors-devel +%endif + +# Keep archs in sync with lm_sensors +ExcludeArch: s390 s390x + +%description +KSensors is a nice lm-sensors frontend for the K Desktop Environment. +Install the hddtemp package if you wish to monitor hard disk +temperatures with KSensors. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n ksensors-%{version} +%patch2 -p1 -b .debian +%patch7 -p1 -b .lm2x +%patch9 -p1 -b .autotools +%patch10 -p1 -b .tdeinc +%patch11 -p1 -b .sound + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + +%__sed -i -e 's|$(kde_datadir)/sounds|$(kde_sounddir)|' src/sounds/Makefile.* +for f in ChangeLog LIESMICH LISEZMOI ; do + iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f +done + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +export KDEDIR=%{tde_prefix} + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --disable-dependency-tracking \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --with-qt-libraries=${QTLIB:-${QTDIR}/%{_lib}} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} + +%__make %{?_smp_mflags} LIBTOOL=$(which libtool) + + +%install +%__rm -rf $RPM_BUILD_ROOT +%__make install DESTDIR=$RPM_BUILD_ROOT + +# Creates autostart shortcut +%__install -dm 755 $RPM_BUILD_ROOT%{tde_datadir}/autostart +%__ln_s ../applnk/Utilities/ksensors.desktop \ + $RPM_BUILD_ROOT%{tde_datadir}/autostart + +#__rm -rf $RPM_BUILD_ROOT%{tde_tdedocdir}/HTML + +%find_lang ksensors + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%post +for f in locolor hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null || : + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null || : +done + +%postun +for f in locolor hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null || : + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null || : +done + + +%files -f ksensors.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING FAQ README TODO +%lang(es) %doc LEEME +%lang(de) %doc LIESMICH +%lang(fr) %doc LISEZMOI +%{tde_bindir}/ksensors +%{tde_datadir}/applnk/Utilities/ksensors.desktop +%{tde_datadir}/apps/ksensors/ +%{tde_datadir}/autostart/ksensors.desktop +%{tde_datadir}/icons/hicolor/*/apps/ksensors.png +%{tde_datadir}/icons/locolor/ +%{tde_datadir}/sounds/ksensors_alert.wav +%{tde_tdedocdir}/HTML/en/ksensors/ + +%changelog +* Sat Jan 19 2013 Francois Andriot - 0.7.3-20 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 0.7.3-19p3 +- Initial build for TDE 3.5.13.1 + +* Thu Dec 22 2011 Francois Andriot - 0.7.3-19p2 +- Update Debian patch to -18 release + +* Mon Nov 07 2011 Francois Andriot - 0.7.3-19p1 +- Rebuilt for RHEL 6, RHEL 5, Fedora 15 with TDE 3.5.13 + +* Mon Feb 07 2011 Fedora Release Engineering - 0.7.3-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Jul 24 2009 Fedora Release Engineering - 0.7.3-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 0.7.3-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Fri Feb 15 2008 Hans de Goede 0.7.3-16 +- Update Debian patch to -15 release + +* Thu Jan 3 2008 Hans de Goede 0.7.3-15 +- Change BuildRequires: kdelibs-devel into kdelibs3-devel + +* Sun Nov 11 2007 Hans de Goede 0.7.3-14 +- Patch for and Rebuild against lm_sensors-3.0.0 + +* Sun Nov 11 2007 Hans de Goede 0.7.3-13 +- Fix reading of min and max tresholds from libsensors + +* Mon Aug 13 2007 Hans de Goede 0.7.3-12 +- Update License tag for new Licensing Guidelines compliance + +* Fri Jul 27 2007 Hans de Goede 0.7.3-11 +- Remove OnlyShowIn=KDE; from .desktop file (I like using ksensors under GNOME, + works fine grumbel) + +* Fri Jul 27 2007 Hans de Goede 0.7.3-10 +- Add icon-cache update scriptlets +- Add Requires: hicolor-icon-theme for dir ownership + +* Fri Jul 20 2007 Ville Skyttä - 0.7.3-9 +- Sync Exclu(de|sive)Arch with new lm_sensors (#249060). + +* Tue Jun 26 2007 Ville Skyttä - 0.7.3-8 +- Update Debian patchset to -14 for additional fixes and translations; + drop our hddtemp detection patch in favour of the one included in it. +- Drop Application and X-Fedora categories from .desktop file, add GenericName. +- Make autostart checkbox effective again (#242570). +- Convert docs to UTF-8. + +* Sat Sep 30 2006 Ville Skyttä - 0.7.3-7 +- Apply Debian -11 patchset for upstream radio button state fix, + support for hddtemp with SCSI disks and more translations. + +* Wed Aug 30 2006 Ville Skyttä - 0.7.3-6 +- Rebuild. + +* Wed Feb 15 2006 Ville Skyttä - 0.7.3-5 +- Rebuild. + +* Thu Nov 3 2005 Ville Skyttä - 0.7.3-4 +- Clean up build dependencies. + +* Thu May 19 2005 Ville Skyttä - 0.7.3-3 +- Sync arch availability with FC4 lm_sensors (%%{ix86}, x86_64, alpha). +- Reduce directory ownership bloat. + +* Fri Apr 7 2005 Michael Schwendt - 0.7.3-2 +- rebuilt + +* Sat Aug 21 2004 Ville Skyttä - 0:0.7.3-0.fdr.1 +- Update to 0.7.3, most patches applied upstream. +- Disable dependency tracking to speed up the build. + +* Tue Jul 20 2004 Ville Skyttä - 0:0.7.2-0.fdr.4 +- Force use of multithreaded Qt with --enable-mt to fix build on FC2. +- Sync Debian patch to 0.7.2-16 to get a fix for freeze with hddtemp. +- Apply upstream patches #913569 and #915725. +- Disable RPATH. +- Don't ship the "handbook", it's just a template. +- Other minor improvements here and there. + +* Sat Aug 2 2003 Ville Skyttä - 0:0.7.2-0.fdr.3 +- Own dirs under %%{_datadir}/icons and %%{_docdir}/HTML (bug 21). +- Don't tweak path to hddtemp. +- Patch to fix hddtemp detection. +- s/--enable-xinerama/--with-xinerama/ +- Borrow man page from Debian. + +* Sat May 31 2003 Ville Skyttä - 0:0.7.2-0.fdr.2 +- Spec cleanups. + +* Fri Apr 4 2003 Ville Skyttä - 0:0.7.2-0.fdr.1 +- Update to current Fedora guidelines. +- Move desktop entry to %%{_datadir}/applications using desktop-file-install. + +* Sun Feb 23 2003 Warren Togami - 0.7.2-1.fedora.2 +- BuildRequires libart_lgpl-devel needed for Red Hat 8.1 + +* Sun Feb 23 2003 Ville Skyttä - 0.7.2-1.fedora.1 +- Update to 0.7.2. +- Don't apply startup crash patch, but keep it around for now. + +* Sat Feb 15 2003 Ville Skyttä - 0.7-1.fedora.2 +- Include startup crash patch from upstream SRPM. + +* Sun Feb 9 2003 Ville Skyttä - 0.7-1.fedora.1 +- First Fedora release. diff --git a/redhat/extras/ksensors/ksensors-3.5.13.spec b/redhat/extras/ksensors/ksensors-3.5.13.spec new file mode 100644 index 000000000..529d2623e --- /dev/null +++ b/redhat/extras/ksensors/ksensors-3.5.13.spec @@ -0,0 +1,212 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_prefix}/share/doc +%endif + +Name: trinity-ksensors +Version: 0.7.3 +Release: 19p2%{?dist} + +Summary: KDE frontend to lm_sensors +Group: Applications/System +License: GPLv2+ +URL: http://ksensors.sourceforge.net/ + +Source0: http://downloads.sourceforge.net/ksensors/ksensors-%{version}.tar.gz + +# Debian (upstream) patch +Patch2: http://ftp.debian.org/debian/pool/main/k/ksensors/ksensors_0.7.3-18.diff.gz + +# Fix building on TDE +Patch6: ksensors-0.7.3-trinity.patch + +# Fix 'lmsensor.cpp' for older lm_sensors API (< 3.x) +Patch7: ksensors-0.7.3-18-lmsensors_2x_fix.patch + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: trinity-kdelibs-devel +BuildRequires: lm_sensors-devel gettext desktop-file-utils +Requires: hicolor-icon-theme + +# Keep archs in sync with lm_sensors +ExcludeArch: s390 s390x + +%description +KSensors is a nice lm-sensors frontend for the K Desktop Environment. +Install the hddtemp package if you wish to monitor hard disk +temperatures with KSensors. + + +%prep +%setup -q -n ksensors-%{version} +%patch2 -p1 +%patch6 -p1 +%patch7 -p1 +%__sed -i -e 's|$(kde_datadir)/sounds|$(kde_sounddir)|' src/sounds/Makefile.* +for f in ChangeLog LIESMICH LISEZMOI ; do + iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f +done + +%build +unset QTDIR ; . /etc/profile.d/qt.sh + +%configure \ + --disable-dependency-tracking \ + --disable-rpath \ + --with-extra-includes=%{_includedir}/tqt +%__make %{?_smp_mflags} + + +%install +%__rm -rf $RPM_BUILD_ROOT +%__make install DESTDIR=$RPM_BUILD_ROOT +desktop-file-install --vendor fedora --mode 644 --delete-original \ + --dir $RPM_BUILD_ROOT%{_datadir}/applications \ + $RPM_BUILD_ROOT%{_datadir}/applnk/Utilities/ksensors.desktop +%__install -dm 755 $RPM_BUILD_ROOT%{_datadir}/autostart +%__ln_s ../applications/fedora-ksensors.desktop \ + $RPM_BUILD_ROOT%{_datadir}/autostart +%__rm -rf $RPM_BUILD_ROOT%{_docdir}/HTML +%find_lang ksensors + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%post +for f in locolor hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null || : + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null || : +done + +%postun +for f in locolor hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null || : + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null || : +done + + +%files -f ksensors.lang +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING FAQ README TODO +%lang(es) %doc LEEME +%lang(de) %doc LIESMICH +%lang(fr) %doc LISEZMOI +%{_bindir}/ksensors +%{_datadir}/applications/*ksensors.desktop +%{_datadir}/apps/ksensors/ +%{_datadir}/autostart/*ksensors.desktop +%{_datadir}/icons/hicolor/*x*/apps/ksensors.png +%{_datadir}/icons/locolor/ +%{_datadir}/sounds/ksensors_alert.wav + + +%changelog +* Thu Dec 22 2011 Francois Andriot - 0.7.3-19p2 +- Update Debian patch to -18 release + +* Mon Nov 07 2011 Francois Andriot - 0.7.3-19p1 +- Rebuilt for RHEL 6, RHEL 5, Fedora 15 with TDE 3.5.13 + +* Mon Feb 07 2011 Fedora Release Engineering - 0.7.3-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Jul 24 2009 Fedora Release Engineering - 0.7.3-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 0.7.3-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Fri Feb 15 2008 Hans de Goede 0.7.3-16 +- Update Debian patch to -15 release + +* Thu Jan 3 2008 Hans de Goede 0.7.3-15 +- Change BuildRequires: kdelibs-devel into kdelibs3-devel + +* Sun Nov 11 2007 Hans de Goede 0.7.3-14 +- Patch for and Rebuild against lm_sensors-3.0.0 + +* Sun Nov 11 2007 Hans de Goede 0.7.3-13 +- Fix reading of min and max tresholds from libsensors + +* Mon Aug 13 2007 Hans de Goede 0.7.3-12 +- Update License tag for new Licensing Guidelines compliance + +* Fri Jul 27 2007 Hans de Goede 0.7.3-11 +- Remove OnlyShowIn=KDE; from .desktop file (I like using ksensors under GNOME, + works fine grumbel) + +* Fri Jul 27 2007 Hans de Goede 0.7.3-10 +- Add icon-cache update scriptlets +- Add Requires: hicolor-icon-theme for dir ownership + +* Fri Jul 20 2007 Ville Skyttä - 0.7.3-9 +- Sync Exclu(de|sive)Arch with new lm_sensors (#249060). + +* Tue Jun 26 2007 Ville Skyttä - 0.7.3-8 +- Update Debian patchset to -14 for additional fixes and translations; + drop our hddtemp detection patch in favour of the one included in it. +- Drop Application and X-Fedora categories from .desktop file, add GenericName. +- Make autostart checkbox effective again (#242570). +- Convert docs to UTF-8. + +* Sat Sep 30 2006 Ville Skyttä - 0.7.3-7 +- Apply Debian -11 patchset for upstream radio button state fix, + support for hddtemp with SCSI disks and more translations. + +* Wed Aug 30 2006 Ville Skyttä - 0.7.3-6 +- Rebuild. + +* Wed Feb 15 2006 Ville Skyttä - 0.7.3-5 +- Rebuild. + +* Thu Nov 3 2005 Ville Skyttä - 0.7.3-4 +- Clean up build dependencies. + +* Thu May 19 2005 Ville Skyttä - 0.7.3-3 +- Sync arch availability with FC4 lm_sensors (%%{ix86}, x86_64, alpha). +- Reduce directory ownership bloat. + +* Fri Apr 7 2005 Michael Schwendt - 0.7.3-2 +- rebuilt + +* Sat Aug 21 2004 Ville Skyttä - 0:0.7.3-0.fdr.1 +- Update to 0.7.3, most patches applied upstream. +- Disable dependency tracking to speed up the build. + +* Tue Jul 20 2004 Ville Skyttä - 0:0.7.2-0.fdr.4 +- Force use of multithreaded Qt with --enable-mt to fix build on FC2. +- Sync Debian patch to 0.7.2-16 to get a fix for freeze with hddtemp. +- Apply upstream patches #913569 and #915725. +- Disable RPATH. +- Don't ship the "handbook", it's just a template. +- Other minor improvements here and there. + +* Sat Aug 2 2003 Ville Skyttä - 0:0.7.2-0.fdr.3 +- Own dirs under %%{_datadir}/icons and %%{_docdir}/HTML (bug 21). +- Don't tweak path to hddtemp. +- Patch to fix hddtemp detection. +- s/--enable-xinerama/--with-xinerama/ +- Borrow man page from Debian. + +* Sat May 31 2003 Ville Skyttä - 0:0.7.2-0.fdr.2 +- Spec cleanups. + +* Fri Apr 4 2003 Ville Skyttä - 0:0.7.2-0.fdr.1 +- Update to current Fedora guidelines. +- Move desktop entry to %%{_datadir}/applications using desktop-file-install. + +* Sun Feb 23 2003 Warren Togami - 0.7.2-1.fedora.2 +- BuildRequires libart_lgpl-devel needed for Red Hat 8.1 + +* Sun Feb 23 2003 Ville Skyttä - 0.7.2-1.fedora.1 +- Update to 0.7.2. +- Don't apply startup crash patch, but keep it around for now. + +* Sat Feb 15 2003 Ville Skyttä - 0.7-1.fedora.2 +- Include startup crash patch from upstream SRPM. + +* Sun Feb 9 2003 Ville Skyttä - 0.7-1.fedora.1 +- First Fedora release. diff --git a/redhat/extras/ksensors/trinity-ksensors-3.5.13.1.spec b/redhat/extras/ksensors/trinity-ksensors-3.5.13.1.spec deleted file mode 100644 index f00bcc569..000000000 --- a/redhat/extras/ksensors/trinity-ksensors-3.5.13.1.spec +++ /dev/null @@ -1,268 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -Name: trinity-ksensors -Version: 0.7.3 -Release: 19p3%{?dist}%{?_variant} - -Summary: KDE frontend to lm_sensors -Group: Applications/System -License: GPLv2+ -URL: http://ksensors.sourceforge.net/ - -Source0: http://downloads.sourceforge.net/ksensors/ksensors-%{version}.tar.gz - -# Debian (upstream) patch -Patch2: ksensors_0.7.3-18.diff -# Fix 'lmsensor.cpp' for older lm_sensors API (< 3.x) -Patch7: ksensors-0.7.3-18-lmsensors_2x_fix.patch -# [ksensors] Fix autotools detection -Patch9: ksensors-0.7.3-fix_autotools_detection.patch -# Fix TDE directories detection -Patch10: ksensors-0.7.3-tde_includedir.patch -# Fix sound installation -Patch11: ksensors-0.7.3-fix_sound_installation.patch - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: gettext -BuildRequires: desktop-file-utils - -%if 0%{?suse_version} -BuildRequires: libsensors4-devel -%else -BuildRequires: lm_sensors-devel -%endif - -# Keep archs in sync with lm_sensors -ExcludeArch: s390 s390x - -%description -KSensors is a nice lm-sensors frontend for the K Desktop Environment. -Install the hddtemp package if you wish to monitor hard disk -temperatures with KSensors. - - -%if 0%{?suse_version} -%debug_package -%endif - - -%prep -%setup -q -n ksensors-%{version} -%patch2 -p1 -b .debian -%patch7 -p1 -b .lm2x -%patch9 -p1 -b .autotools -%patch10 -p1 -b .tdeinc -%patch11 -p1 -b .sound - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - -%__sed -i -e 's|$(kde_datadir)/sounds|$(kde_sounddir)|' src/sounds/Makefile.* -for f in ChangeLog LIESMICH LISEZMOI ; do - iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f -done - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -export KDEDIR=%{tde_prefix} - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --disable-dependency-tracking \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --with-qt-libraries=${QTLIB:-${QTDIR}/%{_lib}} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} - -%__make %{?_smp_mflags} LIBTOOL=$(which libtool) - - -%install -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT - -# Creates autostart shortcut -%__install -dm 755 $RPM_BUILD_ROOT%{tde_datadir}/autostart -%__ln_s ../applnk/Utilities/ksensors.desktop \ - $RPM_BUILD_ROOT%{tde_datadir}/autostart - -#__rm -rf $RPM_BUILD_ROOT%{tde_tdedocdir}/HTML - -%find_lang ksensors - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%post -for f in locolor hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null || : - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null || : -done - -%postun -for f in locolor hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null || : - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null || : -done - - -%files -f ksensors.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING FAQ README TODO -%lang(es) %doc LEEME -%lang(de) %doc LIESMICH -%lang(fr) %doc LISEZMOI -%{tde_bindir}/ksensors -%{tde_datadir}/applnk/Utilities/ksensors.desktop -%{tde_datadir}/apps/ksensors/ -%{tde_datadir}/autostart/ksensors.desktop -%{tde_datadir}/icons/hicolor/*/apps/ksensors.png -%{tde_datadir}/icons/locolor/ -%{tde_datadir}/sounds/ksensors_alert.wav -%{tde_tdedocdir}/HTML/en/ksensors/ - -%changelog -* Wed Oct 03 2012 Francois Andriot - 0.7.3-19p3 -- Initial build for TDE 3.5.13.1 - -* Thu Dec 22 2011 Francois Andriot - 0.7.3-19p2 -- Update Debian patch to -18 release - -* Mon Nov 07 2011 Francois Andriot - 0.7.3-19p1 -- Rebuilt for RHEL 6, RHEL 5, Fedora 15 with TDE 3.5.13 - -* Mon Feb 07 2011 Fedora Release Engineering - 0.7.3-19 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Fri Jul 24 2009 Fedora Release Engineering - 0.7.3-18 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Wed Feb 25 2009 Fedora Release Engineering - 0.7.3-17 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Fri Feb 15 2008 Hans de Goede 0.7.3-16 -- Update Debian patch to -15 release - -* Thu Jan 3 2008 Hans de Goede 0.7.3-15 -- Change BuildRequires: kdelibs-devel into kdelibs3-devel - -* Sun Nov 11 2007 Hans de Goede 0.7.3-14 -- Patch for and Rebuild against lm_sensors-3.0.0 - -* Sun Nov 11 2007 Hans de Goede 0.7.3-13 -- Fix reading of min and max tresholds from libsensors - -* Mon Aug 13 2007 Hans de Goede 0.7.3-12 -- Update License tag for new Licensing Guidelines compliance - -* Fri Jul 27 2007 Hans de Goede 0.7.3-11 -- Remove OnlyShowIn=KDE; from .desktop file (I like using ksensors under GNOME, - works fine grumbel) - -* Fri Jul 27 2007 Hans de Goede 0.7.3-10 -- Add icon-cache update scriptlets -- Add Requires: hicolor-icon-theme for dir ownership - -* Fri Jul 20 2007 Ville Skyttä - 0.7.3-9 -- Sync Exclu(de|sive)Arch with new lm_sensors (#249060). - -* Tue Jun 26 2007 Ville Skyttä - 0.7.3-8 -- Update Debian patchset to -14 for additional fixes and translations; - drop our hddtemp detection patch in favour of the one included in it. -- Drop Application and X-Fedora categories from .desktop file, add GenericName. -- Make autostart checkbox effective again (#242570). -- Convert docs to UTF-8. - -* Sat Sep 30 2006 Ville Skyttä - 0.7.3-7 -- Apply Debian -11 patchset for upstream radio button state fix, - support for hddtemp with SCSI disks and more translations. - -* Wed Aug 30 2006 Ville Skyttä - 0.7.3-6 -- Rebuild. - -* Wed Feb 15 2006 Ville Skyttä - 0.7.3-5 -- Rebuild. - -* Thu Nov 3 2005 Ville Skyttä - 0.7.3-4 -- Clean up build dependencies. - -* Thu May 19 2005 Ville Skyttä - 0.7.3-3 -- Sync arch availability with FC4 lm_sensors (%%{ix86}, x86_64, alpha). -- Reduce directory ownership bloat. - -* Fri Apr 7 2005 Michael Schwendt - 0.7.3-2 -- rebuilt - -* Sat Aug 21 2004 Ville Skyttä - 0:0.7.3-0.fdr.1 -- Update to 0.7.3, most patches applied upstream. -- Disable dependency tracking to speed up the build. - -* Tue Jul 20 2004 Ville Skyttä - 0:0.7.2-0.fdr.4 -- Force use of multithreaded Qt with --enable-mt to fix build on FC2. -- Sync Debian patch to 0.7.2-16 to get a fix for freeze with hddtemp. -- Apply upstream patches #913569 and #915725. -- Disable RPATH. -- Don't ship the "handbook", it's just a template. -- Other minor improvements here and there. - -* Sat Aug 2 2003 Ville Skyttä - 0:0.7.2-0.fdr.3 -- Own dirs under %%{_datadir}/icons and %%{_docdir}/HTML (bug 21). -- Don't tweak path to hddtemp. -- Patch to fix hddtemp detection. -- s/--enable-xinerama/--with-xinerama/ -- Borrow man page from Debian. - -* Sat May 31 2003 Ville Skyttä - 0:0.7.2-0.fdr.2 -- Spec cleanups. - -* Fri Apr 4 2003 Ville Skyttä - 0:0.7.2-0.fdr.1 -- Update to current Fedora guidelines. -- Move desktop entry to %%{_datadir}/applications using desktop-file-install. - -* Sun Feb 23 2003 Warren Togami - 0.7.2-1.fedora.2 -- BuildRequires libart_lgpl-devel needed for Red Hat 8.1 - -* Sun Feb 23 2003 Ville Skyttä - 0.7.2-1.fedora.1 -- Update to 0.7.2. -- Don't apply startup crash patch, but keep it around for now. - -* Sat Feb 15 2003 Ville Skyttä - 0.7-1.fedora.2 -- Include startup crash patch from upstream SRPM. - -* Sun Feb 9 2003 Ville Skyttä - 0.7-1.fedora.1 -- First Fedora release. diff --git a/redhat/extras/ksensors/trinity-ksensors-3.5.13.2.spec b/redhat/extras/ksensors/trinity-ksensors-3.5.13.2.spec deleted file mode 100644 index 5f97dd4e1..000000000 --- a/redhat/extras/ksensors/trinity-ksensors-3.5.13.2.spec +++ /dev/null @@ -1,271 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -Name: trinity-ksensors -Version: 0.7.3 -Release: 20%{?dist}%{?_variant} - -Summary: Trinity Frontend to lm_sensors -Group: Applications/System -License: GPLv2+ -URL: http://ksensors.sourceforge.net/ - -Source0: http://downloads.sourceforge.net/ksensors/ksensors-0.7.3.tar.gz - -# Debian (upstream) patch -Patch2: ksensors_0.7.3-18.diff -# Fix 'lmsensor.cpp' for older lm_sensors API (< 3.x) -Patch7: ksensors-0.7.3-18-lmsensors_2x_fix.patch -# [ksensors] Fix autotools detection -Patch9: ksensors-0.7.3-fix_autotools_detection.patch -# Fix TDE directories detection -Patch10: ksensors-0.7.3-tde_includedir.patch -# Fix sound installation -Patch11: ksensors-0.7.3-fix_sound_installation.patch - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: gettext -BuildRequires: desktop-file-utils - -%if 0%{?suse_version} -BuildRequires: libsensors4-devel -%else -BuildRequires: lm_sensors-devel -%endif - -# Keep archs in sync with lm_sensors -ExcludeArch: s390 s390x - -%description -KSensors is a nice lm-sensors frontend for the K Desktop Environment. -Install the hddtemp package if you wish to monitor hard disk -temperatures with KSensors. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n ksensors-%{version} -%patch2 -p1 -b .debian -%patch7 -p1 -b .lm2x -%patch9 -p1 -b .autotools -%patch10 -p1 -b .tdeinc -%patch11 -p1 -b .sound - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - -%__sed -i -e 's|$(kde_datadir)/sounds|$(kde_sounddir)|' src/sounds/Makefile.* -for f in ChangeLog LIESMICH LISEZMOI ; do - iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f -done - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -export KDEDIR=%{tde_prefix} - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --disable-dependency-tracking \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --with-qt-libraries=${QTLIB:-${QTDIR}/%{_lib}} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} - -%__make %{?_smp_mflags} LIBTOOL=$(which libtool) - - -%install -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT - -# Creates autostart shortcut -%__install -dm 755 $RPM_BUILD_ROOT%{tde_datadir}/autostart -%__ln_s ../applnk/Utilities/ksensors.desktop \ - $RPM_BUILD_ROOT%{tde_datadir}/autostart - -#__rm -rf $RPM_BUILD_ROOT%{tde_tdedocdir}/HTML - -%find_lang ksensors - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%post -for f in locolor hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null || : - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null || : -done - -%postun -for f in locolor hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null || : - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null || : -done - - -%files -f ksensors.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING FAQ README TODO -%lang(es) %doc LEEME -%lang(de) %doc LIESMICH -%lang(fr) %doc LISEZMOI -%{tde_bindir}/ksensors -%{tde_datadir}/applnk/Utilities/ksensors.desktop -%{tde_datadir}/apps/ksensors/ -%{tde_datadir}/autostart/ksensors.desktop -%{tde_datadir}/icons/hicolor/*/apps/ksensors.png -%{tde_datadir}/icons/locolor/ -%{tde_datadir}/sounds/ksensors_alert.wav -%{tde_tdedocdir}/HTML/en/ksensors/ - -%changelog -* Sat Jan 19 2013 Francois Andriot - 0.7.3-20 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 0.7.3-19p3 -- Initial build for TDE 3.5.13.1 - -* Thu Dec 22 2011 Francois Andriot - 0.7.3-19p2 -- Update Debian patch to -18 release - -* Mon Nov 07 2011 Francois Andriot - 0.7.3-19p1 -- Rebuilt for RHEL 6, RHEL 5, Fedora 15 with TDE 3.5.13 - -* Mon Feb 07 2011 Fedora Release Engineering - 0.7.3-19 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Fri Jul 24 2009 Fedora Release Engineering - 0.7.3-18 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Wed Feb 25 2009 Fedora Release Engineering - 0.7.3-17 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Fri Feb 15 2008 Hans de Goede 0.7.3-16 -- Update Debian patch to -15 release - -* Thu Jan 3 2008 Hans de Goede 0.7.3-15 -- Change BuildRequires: kdelibs-devel into kdelibs3-devel - -* Sun Nov 11 2007 Hans de Goede 0.7.3-14 -- Patch for and Rebuild against lm_sensors-3.0.0 - -* Sun Nov 11 2007 Hans de Goede 0.7.3-13 -- Fix reading of min and max tresholds from libsensors - -* Mon Aug 13 2007 Hans de Goede 0.7.3-12 -- Update License tag for new Licensing Guidelines compliance - -* Fri Jul 27 2007 Hans de Goede 0.7.3-11 -- Remove OnlyShowIn=KDE; from .desktop file (I like using ksensors under GNOME, - works fine grumbel) - -* Fri Jul 27 2007 Hans de Goede 0.7.3-10 -- Add icon-cache update scriptlets -- Add Requires: hicolor-icon-theme for dir ownership - -* Fri Jul 20 2007 Ville Skyttä - 0.7.3-9 -- Sync Exclu(de|sive)Arch with new lm_sensors (#249060). - -* Tue Jun 26 2007 Ville Skyttä - 0.7.3-8 -- Update Debian patchset to -14 for additional fixes and translations; - drop our hddtemp detection patch in favour of the one included in it. -- Drop Application and X-Fedora categories from .desktop file, add GenericName. -- Make autostart checkbox effective again (#242570). -- Convert docs to UTF-8. - -* Sat Sep 30 2006 Ville Skyttä - 0.7.3-7 -- Apply Debian -11 patchset for upstream radio button state fix, - support for hddtemp with SCSI disks and more translations. - -* Wed Aug 30 2006 Ville Skyttä - 0.7.3-6 -- Rebuild. - -* Wed Feb 15 2006 Ville Skyttä - 0.7.3-5 -- Rebuild. - -* Thu Nov 3 2005 Ville Skyttä - 0.7.3-4 -- Clean up build dependencies. - -* Thu May 19 2005 Ville Skyttä - 0.7.3-3 -- Sync arch availability with FC4 lm_sensors (%%{ix86}, x86_64, alpha). -- Reduce directory ownership bloat. - -* Fri Apr 7 2005 Michael Schwendt - 0.7.3-2 -- rebuilt - -* Sat Aug 21 2004 Ville Skyttä - 0:0.7.3-0.fdr.1 -- Update to 0.7.3, most patches applied upstream. -- Disable dependency tracking to speed up the build. - -* Tue Jul 20 2004 Ville Skyttä - 0:0.7.2-0.fdr.4 -- Force use of multithreaded Qt with --enable-mt to fix build on FC2. -- Sync Debian patch to 0.7.2-16 to get a fix for freeze with hddtemp. -- Apply upstream patches #913569 and #915725. -- Disable RPATH. -- Don't ship the "handbook", it's just a template. -- Other minor improvements here and there. - -* Sat Aug 2 2003 Ville Skyttä - 0:0.7.2-0.fdr.3 -- Own dirs under %%{_datadir}/icons and %%{_docdir}/HTML (bug 21). -- Don't tweak path to hddtemp. -- Patch to fix hddtemp detection. -- s/--enable-xinerama/--with-xinerama/ -- Borrow man page from Debian. - -* Sat May 31 2003 Ville Skyttä - 0:0.7.2-0.fdr.2 -- Spec cleanups. - -* Fri Apr 4 2003 Ville Skyttä - 0:0.7.2-0.fdr.1 -- Update to current Fedora guidelines. -- Move desktop entry to %%{_datadir}/applications using desktop-file-install. - -* Sun Feb 23 2003 Warren Togami - 0.7.2-1.fedora.2 -- BuildRequires libart_lgpl-devel needed for Red Hat 8.1 - -* Sun Feb 23 2003 Ville Skyttä - 0.7.2-1.fedora.1 -- Update to 0.7.2. -- Don't apply startup crash patch, but keep it around for now. - -* Sat Feb 15 2003 Ville Skyttä - 0.7-1.fedora.2 -- Include startup crash patch from upstream SRPM. - -* Sun Feb 9 2003 Ville Skyttä - 0.7-1.fedora.1 -- First Fedora release. diff --git a/redhat/extras/ksensors/trinity-ksensors-3.5.13.spec b/redhat/extras/ksensors/trinity-ksensors-3.5.13.spec deleted file mode 100644 index 529d2623e..000000000 --- a/redhat/extras/ksensors/trinity-ksensors-3.5.13.spec +++ /dev/null @@ -1,212 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -Name: trinity-ksensors -Version: 0.7.3 -Release: 19p2%{?dist} - -Summary: KDE frontend to lm_sensors -Group: Applications/System -License: GPLv2+ -URL: http://ksensors.sourceforge.net/ - -Source0: http://downloads.sourceforge.net/ksensors/ksensors-%{version}.tar.gz - -# Debian (upstream) patch -Patch2: http://ftp.debian.org/debian/pool/main/k/ksensors/ksensors_0.7.3-18.diff.gz - -# Fix building on TDE -Patch6: ksensors-0.7.3-trinity.patch - -# Fix 'lmsensor.cpp' for older lm_sensors API (< 3.x) -Patch7: ksensors-0.7.3-18-lmsensors_2x_fix.patch - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: trinity-kdelibs-devel -BuildRequires: lm_sensors-devel gettext desktop-file-utils -Requires: hicolor-icon-theme - -# Keep archs in sync with lm_sensors -ExcludeArch: s390 s390x - -%description -KSensors is a nice lm-sensors frontend for the K Desktop Environment. -Install the hddtemp package if you wish to monitor hard disk -temperatures with KSensors. - - -%prep -%setup -q -n ksensors-%{version} -%patch2 -p1 -%patch6 -p1 -%patch7 -p1 -%__sed -i -e 's|$(kde_datadir)/sounds|$(kde_sounddir)|' src/sounds/Makefile.* -for f in ChangeLog LIESMICH LISEZMOI ; do - iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f -done - -%build -unset QTDIR ; . /etc/profile.d/qt.sh - -%configure \ - --disable-dependency-tracking \ - --disable-rpath \ - --with-extra-includes=%{_includedir}/tqt -%__make %{?_smp_mflags} - - -%install -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT -desktop-file-install --vendor fedora --mode 644 --delete-original \ - --dir $RPM_BUILD_ROOT%{_datadir}/applications \ - $RPM_BUILD_ROOT%{_datadir}/applnk/Utilities/ksensors.desktop -%__install -dm 755 $RPM_BUILD_ROOT%{_datadir}/autostart -%__ln_s ../applications/fedora-ksensors.desktop \ - $RPM_BUILD_ROOT%{_datadir}/autostart -%__rm -rf $RPM_BUILD_ROOT%{_docdir}/HTML -%find_lang ksensors - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%post -for f in locolor hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null || : - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null || : -done - -%postun -for f in locolor hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null || : - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null || : -done - - -%files -f ksensors.lang -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING FAQ README TODO -%lang(es) %doc LEEME -%lang(de) %doc LIESMICH -%lang(fr) %doc LISEZMOI -%{_bindir}/ksensors -%{_datadir}/applications/*ksensors.desktop -%{_datadir}/apps/ksensors/ -%{_datadir}/autostart/*ksensors.desktop -%{_datadir}/icons/hicolor/*x*/apps/ksensors.png -%{_datadir}/icons/locolor/ -%{_datadir}/sounds/ksensors_alert.wav - - -%changelog -* Thu Dec 22 2011 Francois Andriot - 0.7.3-19p2 -- Update Debian patch to -18 release - -* Mon Nov 07 2011 Francois Andriot - 0.7.3-19p1 -- Rebuilt for RHEL 6, RHEL 5, Fedora 15 with TDE 3.5.13 - -* Mon Feb 07 2011 Fedora Release Engineering - 0.7.3-19 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Fri Jul 24 2009 Fedora Release Engineering - 0.7.3-18 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Wed Feb 25 2009 Fedora Release Engineering - 0.7.3-17 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Fri Feb 15 2008 Hans de Goede 0.7.3-16 -- Update Debian patch to -15 release - -* Thu Jan 3 2008 Hans de Goede 0.7.3-15 -- Change BuildRequires: kdelibs-devel into kdelibs3-devel - -* Sun Nov 11 2007 Hans de Goede 0.7.3-14 -- Patch for and Rebuild against lm_sensors-3.0.0 - -* Sun Nov 11 2007 Hans de Goede 0.7.3-13 -- Fix reading of min and max tresholds from libsensors - -* Mon Aug 13 2007 Hans de Goede 0.7.3-12 -- Update License tag for new Licensing Guidelines compliance - -* Fri Jul 27 2007 Hans de Goede 0.7.3-11 -- Remove OnlyShowIn=KDE; from .desktop file (I like using ksensors under GNOME, - works fine grumbel) - -* Fri Jul 27 2007 Hans de Goede 0.7.3-10 -- Add icon-cache update scriptlets -- Add Requires: hicolor-icon-theme for dir ownership - -* Fri Jul 20 2007 Ville Skyttä - 0.7.3-9 -- Sync Exclu(de|sive)Arch with new lm_sensors (#249060). - -* Tue Jun 26 2007 Ville Skyttä - 0.7.3-8 -- Update Debian patchset to -14 for additional fixes and translations; - drop our hddtemp detection patch in favour of the one included in it. -- Drop Application and X-Fedora categories from .desktop file, add GenericName. -- Make autostart checkbox effective again (#242570). -- Convert docs to UTF-8. - -* Sat Sep 30 2006 Ville Skyttä - 0.7.3-7 -- Apply Debian -11 patchset for upstream radio button state fix, - support for hddtemp with SCSI disks and more translations. - -* Wed Aug 30 2006 Ville Skyttä - 0.7.3-6 -- Rebuild. - -* Wed Feb 15 2006 Ville Skyttä - 0.7.3-5 -- Rebuild. - -* Thu Nov 3 2005 Ville Skyttä - 0.7.3-4 -- Clean up build dependencies. - -* Thu May 19 2005 Ville Skyttä - 0.7.3-3 -- Sync arch availability with FC4 lm_sensors (%%{ix86}, x86_64, alpha). -- Reduce directory ownership bloat. - -* Fri Apr 7 2005 Michael Schwendt - 0.7.3-2 -- rebuilt - -* Sat Aug 21 2004 Ville Skyttä - 0:0.7.3-0.fdr.1 -- Update to 0.7.3, most patches applied upstream. -- Disable dependency tracking to speed up the build. - -* Tue Jul 20 2004 Ville Skyttä - 0:0.7.2-0.fdr.4 -- Force use of multithreaded Qt with --enable-mt to fix build on FC2. -- Sync Debian patch to 0.7.2-16 to get a fix for freeze with hddtemp. -- Apply upstream patches #913569 and #915725. -- Disable RPATH. -- Don't ship the "handbook", it's just a template. -- Other minor improvements here and there. - -* Sat Aug 2 2003 Ville Skyttä - 0:0.7.2-0.fdr.3 -- Own dirs under %%{_datadir}/icons and %%{_docdir}/HTML (bug 21). -- Don't tweak path to hddtemp. -- Patch to fix hddtemp detection. -- s/--enable-xinerama/--with-xinerama/ -- Borrow man page from Debian. - -* Sat May 31 2003 Ville Skyttä - 0:0.7.2-0.fdr.2 -- Spec cleanups. - -* Fri Apr 4 2003 Ville Skyttä - 0:0.7.2-0.fdr.1 -- Update to current Fedora guidelines. -- Move desktop entry to %%{_datadir}/applications using desktop-file-install. - -* Sun Feb 23 2003 Warren Togami - 0.7.2-1.fedora.2 -- BuildRequires libart_lgpl-devel needed for Red Hat 8.1 - -* Sun Feb 23 2003 Ville Skyttä - 0.7.2-1.fedora.1 -- Update to 0.7.2. -- Don't apply startup crash patch, but keep it around for now. - -* Sat Feb 15 2003 Ville Skyttä - 0.7-1.fedora.2 -- Include startup crash patch from upstream SRPM. - -* Sun Feb 9 2003 Ville Skyttä - 0.7-1.fedora.1 -- First Fedora release. diff --git a/redhat/extras/style-ia-ora/style-ia-ora-3.5.13.1.spec b/redhat/extras/style-ia-ora/style-ia-ora-3.5.13.1.spec new file mode 100644 index 000000000..29fa1131d --- /dev/null +++ b/redhat/extras/style-ia-ora/style-ia-ora-3.5.13.1.spec @@ -0,0 +1,288 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Summary: Mandriva theme for TDE - Widget design +Name: trinity-style-ia-ora +Version: 1.0.8 +Release: 2%{?dist}%{?_variant} +License: GPL +Group: Environment/Desktop +URL: http://www.mandrivalinux.com/ + +Source0: ia_ora-kde-%{version}.tar.bz2 + +# [ia_ora] Fix automake 1.11 detection +Patch1: ia_ora-1.08-fix_automake_detection.patch +# [ia_ora] Fix trinity directories detection +Patch2: ia_ora-1.08-fix_trinity_directories.patch + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot + +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: trinity-tdebase-devel >= 3.5.13.1 + +Requires: trinity-twin + +%description +Mandriva theme for Trinity + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n ia_ora-kde-%{version} +%patch1 -p1 -b .automake11 +%patch2 -p1 -b .trinity + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" cvs + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --disable-rpath \ + --enable-closure \ + --disable-dependency-tracking \ + --enable-new-ldflags \ + --enable-final \ + --enable-shared \ + --disable-static \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} LIBTOOL=$(which libtool) + +%install +%__rm -rf %{buildroot} +%__make install DESTDIR=%{?buildroot} + +# Removes useless files +%__rm -f %{?buildroot}%{tde_tdelibdir}/*.a +%__rm -f %{?buildroot}%{tde_tdelibdir}/plugins/styles/*.a + +%clean +%__rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%{tde_tdelibdir}/kwin3_iaora.la +%{tde_tdelibdir}/kwin3_iaora.so +%{tde_tdelibdir}/kwin_iaora_config.la +%{tde_tdelibdir}/kwin_iaora_config.so +%{tde_tdelibdir}/plugins/styles/ia_ora.la +%{tde_tdelibdir}/plugins/styles/ia_ora.so +%{tde_datadir}/apps/kstyle/themes/ia_ora.themerc +%{tde_datadir}/apps/kwin/iaora.desktop + + + + +%changelog +* Wed Oct 03 2012 Francois Andriot - 1.0.8-2 +- Initial build for TDE 3.5.13.1 + +* Fri Aug 03 2012 Francois Andriot - 1.0.8-1 +- Initial version for TDE 3.5.13 + +* Fri Aug 05 2011 Andrey Bondrov 1.0.8-9mib2011.0 +- Port to 2011 + +* Sat Jul 10 2010 Andrey Bondrov 1.0.8-8mib2010.1 +- Rebuild for MIB users + +* Sun Nov 22 2009 Atilla ÖNTAŞ 1.0.8-8mvt2010.0 +- Rename package to avoid unwanted KDE4 upgrade +- Merge packages in one kde-style package +- Fix package group in spec file + +* Tue Nov 17 2009 Tim Williams 1.0.8-7mdv2010.0 ++ Rebuild for MDV 2010.0 + +* Thu Mar 26 2009 Helio Chissini de Castro 1.0.8-6mdv2009.1 ++ Revision: 361404 +- Bump to rebuild against cooker + +* Tue Nov 18 2008 Thierry Vignaud 1.0.8-5mdv2009.1 ++ Revision: 304189 +- rebuild for new xcb + +* Wed Aug 06 2008 Thierry Vignaud 1.0.8-4mdv2009.0 ++ Revision: 264680 +- rebuild early 2009.0 package (before pixel changes) + +* Thu May 08 2008 Helio Chissini de Castro 1.0.8-2mdv2009.0 ++ Revision: 204689 +- Move to /opt + +* Wed Feb 27 2008 Gustavo Pichorim Boiko 1.0.8-1mdv2008.1 ++ Revision: 175799 +- New release (1.0.8): + * Fix drawing of buttons when using mandriva color schemes + * Update color scheme names to match the new ones + +* Tue Feb 19 2008 Gustavo Pichorim Boiko 1.0.7-1mdv2008.1 ++ Revision: 173100 +- new release (1.0.7) fixing some drawing issues on applications that don't use + standard background colors (#33502) + +* Thu Jan 03 2008 Oden Eriksson 1.0.6-2mdv2008.1 ++ Revision: 141786 +- rebuilt against openldap-2.4.7 libs + + + Olivier Blin + - restore BuildRoot + + + Thierry Vignaud + - kill re-definition of %%buildroot on Pixel's request + +* Wed Sep 12 2007 Gustavo Pichorim Boiko 1.0.6-1mdv2008.0 ++ Revision: 84626 +- new release: 1.0.6: + * Use the right color for the bottom line of menubar + * Remove some lines that were causing double borders at menubar and toolbar + ends + * Fix the bottom of toolbars: it was being drawn using the wrong color + * Use a flat background for status bars + * Add a minimum size for the scrollbar handle +- new release: 1.0.5 + * Use the widget style in all separators (#33260) + * Fixed popup menu item drawing on menus that have titles (#33287) + +* Thu Sep 06 2007 Gustavo Pichorim Boiko 1.0.4-1mdv2008.0 ++ Revision: 81272 +- new version: 1.0.4 + * Restore the old color themes (as they will be kept as alternatives) + * Properly mask the rounded borders and properly draw the region previously + masked + * Create fake rounded corners on menu items + * Reduced the button margin to get normal sized buttons (not giant ones) + * Make it possible to resize windows by the top border +------------------------------------------------------------------------ + r227235 | boiko | 2007-09-06 13:58:18 -0300 (Qui, 06 Set 2007) | 3 lines + +* Wed Sep 05 2007 Gustavo Pichorim Boiko 1.0.3-1mdv2008.0 ++ Revision: 80378 +- new release: 1.0.3 + * Implement highligh on hovering controls + * Threat scrollbar buttons as buttons (showing them lowered when the button + is pressed for example) + * Show the combo box button as pressed when the list is opened + * Removed Powerpack+ colors + * Changed Discovery/One to just One and adjusted colors + * Used more sane values when using ia_ora together with other KDE color + schemes +- new release: + * fix gradient colors of menus (thanks Frederic Crozat for pointing that) + * implement correctly the combo box drawing according to the ia_ora spec + * Fix the text color of menubar items + +* Thu Aug 23 2007 Gustavo Pichorim Boiko 1.0.1-1mdv2008.0 ++ Revision: 70685 +- new version: 1.0.1 + * Replace the gradient code by the Plastik one (it is better written) + * Fix drawing of menubar items and popupmenu items (#30659) + +* Mon Jun 11 2007 Nicolas Lécureuil 1.0-18mdv2008.0 ++ Revision: 38004 +- REBUILD + + +* Thu Mar 22 2007 Laurent Montel 1.0-17mdv2007.1 ++ Revision: 147929 +- Fix theme + +* Mon Mar 19 2007 Laurent Montel 1.0-16mdv2007.1 ++ Revision: 146479 +- Fix progressbar text color + +* Wed Mar 07 2007 Laurent Montel 1.0-15mdv2007.1 ++ Revision: 134563 +- Fix style + +* Tue Mar 06 2007 Laurent Montel 1.0-14mdv2007.1 ++ Revision: 133854 +- New update + +* Wed Feb 28 2007 Laurent Montel 1.0-13mdv2007.1 ++ Revision: 127097 +- New update + +* Wed Jan 24 2007 Laurent Montel 1.0-12mdv2007.1 ++ Revision: 112737 +- Fix theme + +* Tue Jan 02 2007 Laurent Montel 1.0-11mdv2007.1 ++ Revision: 103350 +- Update tarball + +* Mon Dec 11 2006 Laurent Montel 1.0-10mdv2007.1 ++ Revision: 94696 +- Rename spec file name too +- Rename ia_ora to ia_ora-kde + Fix a lot of bug +- Import ia_ora-kde + +* Sat Sep 16 2006 Laurent MONTEL 1.0-9 +- Fix title bar + +* Thu Sep 14 2006 Laurent MONTEL 1.0-8 +- Fix handle + +* Thu Sep 14 2006 Laurent MONTEL 1.0-7 +- Fix toolbar color + +* Thu Sep 14 2006 Laurent MONTEL 1.0-6 +- Fix Combobox/Scrollbar/Checkbox and bidi mode + +* Tue Sep 12 2006 Laurent MONTEL 1.0-5 +- Fix tabbar + +* Tue Sep 12 2006 Laurent MONTEL 1.0-4 +- Fix scrollbar + +* Sun Sep 10 2006 Laurent MONTEL 1.0-3 +- Improve style + +* Fri Sep 08 2006 Laurent MONTEL 1.0-2 +- Some fixes + +* Tue Sep 05 2006 Laurent MONTEL 1.0-1 +- Initial package + diff --git a/redhat/extras/style-ia-ora/style-ia-ora-3.5.13.2.spec b/redhat/extras/style-ia-ora/style-ia-ora-3.5.13.2.spec new file mode 100644 index 000000000..885ee3e88 --- /dev/null +++ b/redhat/extras/style-ia-ora/style-ia-ora-3.5.13.2.spec @@ -0,0 +1,291 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Summary: Mandriva theme for TDE - Widget design +Name: trinity-style-ia-ora +Version: 1.0.8 +Release: 3%{?dist}%{?_variant} +License: GPL +Group: Environment/Desktop +URL: http://www.mandrivalinux.com/ + +Source0: ia_ora-kde-1.0.8.tar.bz2 + +# [ia_ora] Fix automake 1.11 detection +Patch1: ia_ora-1.08-fix_automake_detection.patch +# [ia_ora] Fix trinity directories detection +Patch2: ia_ora-1.08-fix_trinity_directories.patch + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot + +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 + +Requires: trinity-twin + +%description +Mandriva theme for Trinity + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n ia_ora-kde-%{version} +%patch1 -p1 -b .automake11 +%patch2 -p1 -b .trinity + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" cvs + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --disable-rpath \ + --enable-closure \ + --disable-dependency-tracking \ + --enable-new-ldflags \ + --enable-final \ + --enable-shared \ + --disable-static \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} LIBTOOL=$(which libtool) + +%install +%__rm -rf %{buildroot} +%__make install DESTDIR=%{?buildroot} + +# Removes useless files +%__rm -f %{?buildroot}%{tde_tdelibdir}/*.a +%__rm -f %{?buildroot}%{tde_tdelibdir}/plugins/styles/*.a + +%clean +%__rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%{tde_tdelibdir}/kwin3_iaora.la +%{tde_tdelibdir}/kwin3_iaora.so +%{tde_tdelibdir}/kwin_iaora_config.la +%{tde_tdelibdir}/kwin_iaora_config.so +%{tde_tdelibdir}/plugins/styles/ia_ora.la +%{tde_tdelibdir}/plugins/styles/ia_ora.so +%{tde_datadir}/apps/kstyle/themes/ia_ora.themerc +%{tde_datadir}/apps/kwin/iaora.desktop + + + + +%changelog +* Sat Jan 19 2013 Francois Andriot - 1.0.8-3 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 1.0.8-2 +- Initial build for TDE 3.5.13.1 + +* Fri Aug 03 2012 Francois Andriot - 1.0.8-1 +- Initial version for TDE 3.5.13 + +* Fri Aug 05 2011 Andrey Bondrov 1.0.8-9mib2011.0 +- Port to 2011 + +* Sat Jul 10 2010 Andrey Bondrov 1.0.8-8mib2010.1 +- Rebuild for MIB users + +* Sun Nov 22 2009 Atilla ÖNTAŞ 1.0.8-8mvt2010.0 +- Rename package to avoid unwanted KDE4 upgrade +- Merge packages in one kde-style package +- Fix package group in spec file + +* Tue Nov 17 2009 Tim Williams 1.0.8-7mdv2010.0 ++ Rebuild for MDV 2010.0 + +* Thu Mar 26 2009 Helio Chissini de Castro 1.0.8-6mdv2009.1 ++ Revision: 361404 +- Bump to rebuild against cooker + +* Tue Nov 18 2008 Thierry Vignaud 1.0.8-5mdv2009.1 ++ Revision: 304189 +- rebuild for new xcb + +* Wed Aug 06 2008 Thierry Vignaud 1.0.8-4mdv2009.0 ++ Revision: 264680 +- rebuild early 2009.0 package (before pixel changes) + +* Thu May 08 2008 Helio Chissini de Castro 1.0.8-2mdv2009.0 ++ Revision: 204689 +- Move to /opt + +* Wed Feb 27 2008 Gustavo Pichorim Boiko 1.0.8-1mdv2008.1 ++ Revision: 175799 +- New release (1.0.8): + * Fix drawing of buttons when using mandriva color schemes + * Update color scheme names to match the new ones + +* Tue Feb 19 2008 Gustavo Pichorim Boiko 1.0.7-1mdv2008.1 ++ Revision: 173100 +- new release (1.0.7) fixing some drawing issues on applications that don't use + standard background colors (#33502) + +* Thu Jan 03 2008 Oden Eriksson 1.0.6-2mdv2008.1 ++ Revision: 141786 +- rebuilt against openldap-2.4.7 libs + + + Olivier Blin + - restore BuildRoot + + + Thierry Vignaud + - kill re-definition of %%buildroot on Pixel's request + +* Wed Sep 12 2007 Gustavo Pichorim Boiko 1.0.6-1mdv2008.0 ++ Revision: 84626 +- new release: 1.0.6: + * Use the right color for the bottom line of menubar + * Remove some lines that were causing double borders at menubar and toolbar + ends + * Fix the bottom of toolbars: it was being drawn using the wrong color + * Use a flat background for status bars + * Add a minimum size for the scrollbar handle +- new release: 1.0.5 + * Use the widget style in all separators (#33260) + * Fixed popup menu item drawing on menus that have titles (#33287) + +* Thu Sep 06 2007 Gustavo Pichorim Boiko 1.0.4-1mdv2008.0 ++ Revision: 81272 +- new version: 1.0.4 + * Restore the old color themes (as they will be kept as alternatives) + * Properly mask the rounded borders and properly draw the region previously + masked + * Create fake rounded corners on menu items + * Reduced the button margin to get normal sized buttons (not giant ones) + * Make it possible to resize windows by the top border +------------------------------------------------------------------------ + r227235 | boiko | 2007-09-06 13:58:18 -0300 (Qui, 06 Set 2007) | 3 lines + +* Wed Sep 05 2007 Gustavo Pichorim Boiko 1.0.3-1mdv2008.0 ++ Revision: 80378 +- new release: 1.0.3 + * Implement highligh on hovering controls + * Threat scrollbar buttons as buttons (showing them lowered when the button + is pressed for example) + * Show the combo box button as pressed when the list is opened + * Removed Powerpack+ colors + * Changed Discovery/One to just One and adjusted colors + * Used more sane values when using ia_ora together with other KDE color + schemes +- new release: + * fix gradient colors of menus (thanks Frederic Crozat for pointing that) + * implement correctly the combo box drawing according to the ia_ora spec + * Fix the text color of menubar items + +* Thu Aug 23 2007 Gustavo Pichorim Boiko 1.0.1-1mdv2008.0 ++ Revision: 70685 +- new version: 1.0.1 + * Replace the gradient code by the Plastik one (it is better written) + * Fix drawing of menubar items and popupmenu items (#30659) + +* Mon Jun 11 2007 Nicolas Lécureuil 1.0-18mdv2008.0 ++ Revision: 38004 +- REBUILD + + +* Thu Mar 22 2007 Laurent Montel 1.0-17mdv2007.1 ++ Revision: 147929 +- Fix theme + +* Mon Mar 19 2007 Laurent Montel 1.0-16mdv2007.1 ++ Revision: 146479 +- Fix progressbar text color + +* Wed Mar 07 2007 Laurent Montel 1.0-15mdv2007.1 ++ Revision: 134563 +- Fix style + +* Tue Mar 06 2007 Laurent Montel 1.0-14mdv2007.1 ++ Revision: 133854 +- New update + +* Wed Feb 28 2007 Laurent Montel 1.0-13mdv2007.1 ++ Revision: 127097 +- New update + +* Wed Jan 24 2007 Laurent Montel 1.0-12mdv2007.1 ++ Revision: 112737 +- Fix theme + +* Tue Jan 02 2007 Laurent Montel 1.0-11mdv2007.1 ++ Revision: 103350 +- Update tarball + +* Mon Dec 11 2006 Laurent Montel 1.0-10mdv2007.1 ++ Revision: 94696 +- Rename spec file name too +- Rename ia_ora to ia_ora-kde + Fix a lot of bug +- Import ia_ora-kde + +* Sat Sep 16 2006 Laurent MONTEL 1.0-9 +- Fix title bar + +* Thu Sep 14 2006 Laurent MONTEL 1.0-8 +- Fix handle + +* Thu Sep 14 2006 Laurent MONTEL 1.0-7 +- Fix toolbar color + +* Thu Sep 14 2006 Laurent MONTEL 1.0-6 +- Fix Combobox/Scrollbar/Checkbox and bidi mode + +* Tue Sep 12 2006 Laurent MONTEL 1.0-5 +- Fix tabbar + +* Tue Sep 12 2006 Laurent MONTEL 1.0-4 +- Fix scrollbar + +* Sun Sep 10 2006 Laurent MONTEL 1.0-3 +- Improve style + +* Fri Sep 08 2006 Laurent MONTEL 1.0-2 +- Some fixes + +* Tue Sep 05 2006 Laurent MONTEL 1.0-1 +- Initial package + diff --git a/redhat/extras/style-ia-ora/style-ia-ora-3.5.13.spec b/redhat/extras/style-ia-ora/style-ia-ora-3.5.13.spec new file mode 100644 index 000000000..430a1383a --- /dev/null +++ b/redhat/extras/style-ia-ora/style-ia-ora-3.5.13.spec @@ -0,0 +1,274 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_datadir %{tde_prefix}/share +%define tde_doc %{tde_datadir}/doc + +%define _docdir %{tde_docdir} +%define tde_tdelibdir %{tde_libdir}/trinity + + +Summary: Mandriva theme for TDE - Widget design +Name: trinity-style-ia-ora +Version: 1.0.8 +Release: 1%{?dist}%{?_variant} +License: GPL +Group: Environment/Desktop +URL: http://www.mandrivalinux.com/ + +Source0: ia_ora-kde-%{version}.tar.bz2 + +# [ia_ora] Fix automake 1.11 detection +Patch1: ia_ora-1.08-fix_automake_detection.patch +# [ia_ora] Fix trinity directories detection +Patch2: ia_ora-1.08-fix_trinity_directories.patch + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot + +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel + +Requires: trinity-twin + +%description +Mandriva theme for Trinity + +%prep +%setup -q -n ia_ora-kde-%{version} +%patch1 -p1 -b .automake11 +%patch2 -p1 -b .trinity + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" cvs + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --disable-rpath \ + --enable-closure \ + --disable-dependency-tracking \ + --enable-new-ldflags \ + --enable-final \ + --enable-shared \ + --disable-static \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} LIBTOOL=$(which libtool) + +%install +%__rm -rf %{buildroot} +%__make install DESTDIR=%{?buildroot} + +# Removes useless files +%__rm -f %{?buildroot}%{tde_tdelibdir}/*.a +%__rm -f %{?buildroot}%{tde_tdelibdir}/plugins/styles/*.a + +%clean +%__rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%{tde_tdelibdir}/kwin3_iaora.la +%{tde_tdelibdir}/kwin3_iaora.so +%{tde_tdelibdir}/kwin_iaora_config.la +%{tde_tdelibdir}/kwin_iaora_config.so +%{tde_tdelibdir}/plugins/styles/ia_ora.la +%{tde_tdelibdir}/plugins/styles/ia_ora.so +%{tde_datadir}/apps/kstyle/themes/ia_ora.themerc +%{tde_datadir}/apps/kwin/iaora.desktop + + + + +%changelog +* Fri Aug 03 2012 Francois Andriot - 1.0.8-1 +- Initial version for TDE 3.5.13 + +* Fri Aug 05 2011 Andrey Bondrov 1.0.8-9mib2011.0 +- Port to 2011 + +* Sat Jul 10 2010 Andrey Bondrov 1.0.8-8mib2010.1 +- Rebuild for MIB users + +* Sun Nov 22 2009 Atilla ÖNTAŞ 1.0.8-8mvt2010.0 +- Rename package to avoid unwanted KDE4 upgrade +- Merge packages in one kde-style package +- Fix package group in spec file + +* Tue Nov 17 2009 Tim Williams 1.0.8-7mdv2010.0 ++ Rebuild for MDV 2010.0 + +* Thu Mar 26 2009 Helio Chissini de Castro 1.0.8-6mdv2009.1 ++ Revision: 361404 +- Bump to rebuild against cooker + +* Tue Nov 18 2008 Thierry Vignaud 1.0.8-5mdv2009.1 ++ Revision: 304189 +- rebuild for new xcb + +* Wed Aug 06 2008 Thierry Vignaud 1.0.8-4mdv2009.0 ++ Revision: 264680 +- rebuild early 2009.0 package (before pixel changes) + +* Thu May 08 2008 Helio Chissini de Castro 1.0.8-2mdv2009.0 ++ Revision: 204689 +- Move to /opt + +* Wed Feb 27 2008 Gustavo Pichorim Boiko 1.0.8-1mdv2008.1 ++ Revision: 175799 +- New release (1.0.8): + * Fix drawing of buttons when using mandriva color schemes + * Update color scheme names to match the new ones + +* Tue Feb 19 2008 Gustavo Pichorim Boiko 1.0.7-1mdv2008.1 ++ Revision: 173100 +- new release (1.0.7) fixing some drawing issues on applications that don't use + standard background colors (#33502) + +* Thu Jan 03 2008 Oden Eriksson 1.0.6-2mdv2008.1 ++ Revision: 141786 +- rebuilt against openldap-2.4.7 libs + + + Olivier Blin + - restore BuildRoot + + + Thierry Vignaud + - kill re-definition of %%buildroot on Pixel's request + +* Wed Sep 12 2007 Gustavo Pichorim Boiko 1.0.6-1mdv2008.0 ++ Revision: 84626 +- new release: 1.0.6: + * Use the right color for the bottom line of menubar + * Remove some lines that were causing double borders at menubar and toolbar + ends + * Fix the bottom of toolbars: it was being drawn using the wrong color + * Use a flat background for status bars + * Add a minimum size for the scrollbar handle +- new release: 1.0.5 + * Use the widget style in all separators (#33260) + * Fixed popup menu item drawing on menus that have titles (#33287) + +* Thu Sep 06 2007 Gustavo Pichorim Boiko 1.0.4-1mdv2008.0 ++ Revision: 81272 +- new version: 1.0.4 + * Restore the old color themes (as they will be kept as alternatives) + * Properly mask the rounded borders and properly draw the region previously + masked + * Create fake rounded corners on menu items + * Reduced the button margin to get normal sized buttons (not giant ones) + * Make it possible to resize windows by the top border +------------------------------------------------------------------------ + r227235 | boiko | 2007-09-06 13:58:18 -0300 (Qui, 06 Set 2007) | 3 lines + +* Wed Sep 05 2007 Gustavo Pichorim Boiko 1.0.3-1mdv2008.0 ++ Revision: 80378 +- new release: 1.0.3 + * Implement highligh on hovering controls + * Threat scrollbar buttons as buttons (showing them lowered when the button + is pressed for example) + * Show the combo box button as pressed when the list is opened + * Removed Powerpack+ colors + * Changed Discovery/One to just One and adjusted colors + * Used more sane values when using ia_ora together with other KDE color + schemes +- new release: + * fix gradient colors of menus (thanks Frederic Crozat for pointing that) + * implement correctly the combo box drawing according to the ia_ora spec + * Fix the text color of menubar items + +* Thu Aug 23 2007 Gustavo Pichorim Boiko 1.0.1-1mdv2008.0 ++ Revision: 70685 +- new version: 1.0.1 + * Replace the gradient code by the Plastik one (it is better written) + * Fix drawing of menubar items and popupmenu items (#30659) + +* Mon Jun 11 2007 Nicolas Lécureuil 1.0-18mdv2008.0 ++ Revision: 38004 +- REBUILD + + +* Thu Mar 22 2007 Laurent Montel 1.0-17mdv2007.1 ++ Revision: 147929 +- Fix theme + +* Mon Mar 19 2007 Laurent Montel 1.0-16mdv2007.1 ++ Revision: 146479 +- Fix progressbar text color + +* Wed Mar 07 2007 Laurent Montel 1.0-15mdv2007.1 ++ Revision: 134563 +- Fix style + +* Tue Mar 06 2007 Laurent Montel 1.0-14mdv2007.1 ++ Revision: 133854 +- New update + +* Wed Feb 28 2007 Laurent Montel 1.0-13mdv2007.1 ++ Revision: 127097 +- New update + +* Wed Jan 24 2007 Laurent Montel 1.0-12mdv2007.1 ++ Revision: 112737 +- Fix theme + +* Tue Jan 02 2007 Laurent Montel 1.0-11mdv2007.1 ++ Revision: 103350 +- Update tarball + +* Mon Dec 11 2006 Laurent Montel 1.0-10mdv2007.1 ++ Revision: 94696 +- Rename spec file name too +- Rename ia_ora to ia_ora-kde + Fix a lot of bug +- Import ia_ora-kde + +* Sat Sep 16 2006 Laurent MONTEL 1.0-9 +- Fix title bar + +* Thu Sep 14 2006 Laurent MONTEL 1.0-8 +- Fix handle + +* Thu Sep 14 2006 Laurent MONTEL 1.0-7 +- Fix toolbar color + +* Thu Sep 14 2006 Laurent MONTEL 1.0-6 +- Fix Combobox/Scrollbar/Checkbox and bidi mode + +* Tue Sep 12 2006 Laurent MONTEL 1.0-5 +- Fix tabbar + +* Tue Sep 12 2006 Laurent MONTEL 1.0-4 +- Fix scrollbar + +* Sun Sep 10 2006 Laurent MONTEL 1.0-3 +- Improve style + +* Fri Sep 08 2006 Laurent MONTEL 1.0-2 +- Some fixes + +* Tue Sep 05 2006 Laurent MONTEL 1.0-1 +- Initial package + diff --git a/redhat/extras/style-ia-ora/trinity-style-ia-ora-3.5.13.1.spec b/redhat/extras/style-ia-ora/trinity-style-ia-ora-3.5.13.1.spec deleted file mode 100644 index 29fa1131d..000000000 --- a/redhat/extras/style-ia-ora/trinity-style-ia-ora-3.5.13.1.spec +++ /dev/null @@ -1,288 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Summary: Mandriva theme for TDE - Widget design -Name: trinity-style-ia-ora -Version: 1.0.8 -Release: 2%{?dist}%{?_variant} -License: GPL -Group: Environment/Desktop -URL: http://www.mandrivalinux.com/ - -Source0: ia_ora-kde-%{version}.tar.bz2 - -# [ia_ora] Fix automake 1.11 detection -Patch1: ia_ora-1.08-fix_automake_detection.patch -# [ia_ora] Fix trinity directories detection -Patch2: ia_ora-1.08-fix_trinity_directories.patch - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot - -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: trinity-tdebase-devel >= 3.5.13.1 - -Requires: trinity-twin - -%description -Mandriva theme for Trinity - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n ia_ora-kde-%{version} -%patch1 -p1 -b .automake11 -%patch2 -p1 -b .trinity - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" cvs - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --disable-rpath \ - --enable-closure \ - --disable-dependency-tracking \ - --enable-new-ldflags \ - --enable-final \ - --enable-shared \ - --disable-static \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} LIBTOOL=$(which libtool) - -%install -%__rm -rf %{buildroot} -%__make install DESTDIR=%{?buildroot} - -# Removes useless files -%__rm -f %{?buildroot}%{tde_tdelibdir}/*.a -%__rm -f %{?buildroot}%{tde_tdelibdir}/plugins/styles/*.a - -%clean -%__rm -rf %{buildroot} - -%files -%defattr(-,root,root,-) -%{tde_tdelibdir}/kwin3_iaora.la -%{tde_tdelibdir}/kwin3_iaora.so -%{tde_tdelibdir}/kwin_iaora_config.la -%{tde_tdelibdir}/kwin_iaora_config.so -%{tde_tdelibdir}/plugins/styles/ia_ora.la -%{tde_tdelibdir}/plugins/styles/ia_ora.so -%{tde_datadir}/apps/kstyle/themes/ia_ora.themerc -%{tde_datadir}/apps/kwin/iaora.desktop - - - - -%changelog -* Wed Oct 03 2012 Francois Andriot - 1.0.8-2 -- Initial build for TDE 3.5.13.1 - -* Fri Aug 03 2012 Francois Andriot - 1.0.8-1 -- Initial version for TDE 3.5.13 - -* Fri Aug 05 2011 Andrey Bondrov 1.0.8-9mib2011.0 -- Port to 2011 - -* Sat Jul 10 2010 Andrey Bondrov 1.0.8-8mib2010.1 -- Rebuild for MIB users - -* Sun Nov 22 2009 Atilla ÖNTAŞ 1.0.8-8mvt2010.0 -- Rename package to avoid unwanted KDE4 upgrade -- Merge packages in one kde-style package -- Fix package group in spec file - -* Tue Nov 17 2009 Tim Williams 1.0.8-7mdv2010.0 -+ Rebuild for MDV 2010.0 - -* Thu Mar 26 2009 Helio Chissini de Castro 1.0.8-6mdv2009.1 -+ Revision: 361404 -- Bump to rebuild against cooker - -* Tue Nov 18 2008 Thierry Vignaud 1.0.8-5mdv2009.1 -+ Revision: 304189 -- rebuild for new xcb - -* Wed Aug 06 2008 Thierry Vignaud 1.0.8-4mdv2009.0 -+ Revision: 264680 -- rebuild early 2009.0 package (before pixel changes) - -* Thu May 08 2008 Helio Chissini de Castro 1.0.8-2mdv2009.0 -+ Revision: 204689 -- Move to /opt - -* Wed Feb 27 2008 Gustavo Pichorim Boiko 1.0.8-1mdv2008.1 -+ Revision: 175799 -- New release (1.0.8): - * Fix drawing of buttons when using mandriva color schemes - * Update color scheme names to match the new ones - -* Tue Feb 19 2008 Gustavo Pichorim Boiko 1.0.7-1mdv2008.1 -+ Revision: 173100 -- new release (1.0.7) fixing some drawing issues on applications that don't use - standard background colors (#33502) - -* Thu Jan 03 2008 Oden Eriksson 1.0.6-2mdv2008.1 -+ Revision: 141786 -- rebuilt against openldap-2.4.7 libs - - + Olivier Blin - - restore BuildRoot - - + Thierry Vignaud - - kill re-definition of %%buildroot on Pixel's request - -* Wed Sep 12 2007 Gustavo Pichorim Boiko 1.0.6-1mdv2008.0 -+ Revision: 84626 -- new release: 1.0.6: - * Use the right color for the bottom line of menubar - * Remove some lines that were causing double borders at menubar and toolbar - ends - * Fix the bottom of toolbars: it was being drawn using the wrong color - * Use a flat background for status bars - * Add a minimum size for the scrollbar handle -- new release: 1.0.5 - * Use the widget style in all separators (#33260) - * Fixed popup menu item drawing on menus that have titles (#33287) - -* Thu Sep 06 2007 Gustavo Pichorim Boiko 1.0.4-1mdv2008.0 -+ Revision: 81272 -- new version: 1.0.4 - * Restore the old color themes (as they will be kept as alternatives) - * Properly mask the rounded borders and properly draw the region previously - masked - * Create fake rounded corners on menu items - * Reduced the button margin to get normal sized buttons (not giant ones) - * Make it possible to resize windows by the top border ------------------------------------------------------------------------- - r227235 | boiko | 2007-09-06 13:58:18 -0300 (Qui, 06 Set 2007) | 3 lines - -* Wed Sep 05 2007 Gustavo Pichorim Boiko 1.0.3-1mdv2008.0 -+ Revision: 80378 -- new release: 1.0.3 - * Implement highligh on hovering controls - * Threat scrollbar buttons as buttons (showing them lowered when the button - is pressed for example) - * Show the combo box button as pressed when the list is opened - * Removed Powerpack+ colors - * Changed Discovery/One to just One and adjusted colors - * Used more sane values when using ia_ora together with other KDE color - schemes -- new release: - * fix gradient colors of menus (thanks Frederic Crozat for pointing that) - * implement correctly the combo box drawing according to the ia_ora spec - * Fix the text color of menubar items - -* Thu Aug 23 2007 Gustavo Pichorim Boiko 1.0.1-1mdv2008.0 -+ Revision: 70685 -- new version: 1.0.1 - * Replace the gradient code by the Plastik one (it is better written) - * Fix drawing of menubar items and popupmenu items (#30659) - -* Mon Jun 11 2007 Nicolas Lécureuil 1.0-18mdv2008.0 -+ Revision: 38004 -- REBUILD - - -* Thu Mar 22 2007 Laurent Montel 1.0-17mdv2007.1 -+ Revision: 147929 -- Fix theme - -* Mon Mar 19 2007 Laurent Montel 1.0-16mdv2007.1 -+ Revision: 146479 -- Fix progressbar text color - -* Wed Mar 07 2007 Laurent Montel 1.0-15mdv2007.1 -+ Revision: 134563 -- Fix style - -* Tue Mar 06 2007 Laurent Montel 1.0-14mdv2007.1 -+ Revision: 133854 -- New update - -* Wed Feb 28 2007 Laurent Montel 1.0-13mdv2007.1 -+ Revision: 127097 -- New update - -* Wed Jan 24 2007 Laurent Montel 1.0-12mdv2007.1 -+ Revision: 112737 -- Fix theme - -* Tue Jan 02 2007 Laurent Montel 1.0-11mdv2007.1 -+ Revision: 103350 -- Update tarball - -* Mon Dec 11 2006 Laurent Montel 1.0-10mdv2007.1 -+ Revision: 94696 -- Rename spec file name too -- Rename ia_ora to ia_ora-kde - Fix a lot of bug -- Import ia_ora-kde - -* Sat Sep 16 2006 Laurent MONTEL 1.0-9 -- Fix title bar - -* Thu Sep 14 2006 Laurent MONTEL 1.0-8 -- Fix handle - -* Thu Sep 14 2006 Laurent MONTEL 1.0-7 -- Fix toolbar color - -* Thu Sep 14 2006 Laurent MONTEL 1.0-6 -- Fix Combobox/Scrollbar/Checkbox and bidi mode - -* Tue Sep 12 2006 Laurent MONTEL 1.0-5 -- Fix tabbar - -* Tue Sep 12 2006 Laurent MONTEL 1.0-4 -- Fix scrollbar - -* Sun Sep 10 2006 Laurent MONTEL 1.0-3 -- Improve style - -* Fri Sep 08 2006 Laurent MONTEL 1.0-2 -- Some fixes - -* Tue Sep 05 2006 Laurent MONTEL 1.0-1 -- Initial package - diff --git a/redhat/extras/style-ia-ora/trinity-style-ia-ora-3.5.13.2.spec b/redhat/extras/style-ia-ora/trinity-style-ia-ora-3.5.13.2.spec deleted file mode 100644 index 885ee3e88..000000000 --- a/redhat/extras/style-ia-ora/trinity-style-ia-ora-3.5.13.2.spec +++ /dev/null @@ -1,291 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Summary: Mandriva theme for TDE - Widget design -Name: trinity-style-ia-ora -Version: 1.0.8 -Release: 3%{?dist}%{?_variant} -License: GPL -Group: Environment/Desktop -URL: http://www.mandrivalinux.com/ - -Source0: ia_ora-kde-1.0.8.tar.bz2 - -# [ia_ora] Fix automake 1.11 detection -Patch1: ia_ora-1.08-fix_automake_detection.patch -# [ia_ora] Fix trinity directories detection -Patch2: ia_ora-1.08-fix_trinity_directories.patch - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot - -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 - -Requires: trinity-twin - -%description -Mandriva theme for Trinity - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n ia_ora-kde-%{version} -%patch1 -p1 -b .automake11 -%patch2 -p1 -b .trinity - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" cvs - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --disable-rpath \ - --enable-closure \ - --disable-dependency-tracking \ - --enable-new-ldflags \ - --enable-final \ - --enable-shared \ - --disable-static \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} LIBTOOL=$(which libtool) - -%install -%__rm -rf %{buildroot} -%__make install DESTDIR=%{?buildroot} - -# Removes useless files -%__rm -f %{?buildroot}%{tde_tdelibdir}/*.a -%__rm -f %{?buildroot}%{tde_tdelibdir}/plugins/styles/*.a - -%clean -%__rm -rf %{buildroot} - -%files -%defattr(-,root,root,-) -%{tde_tdelibdir}/kwin3_iaora.la -%{tde_tdelibdir}/kwin3_iaora.so -%{tde_tdelibdir}/kwin_iaora_config.la -%{tde_tdelibdir}/kwin_iaora_config.so -%{tde_tdelibdir}/plugins/styles/ia_ora.la -%{tde_tdelibdir}/plugins/styles/ia_ora.so -%{tde_datadir}/apps/kstyle/themes/ia_ora.themerc -%{tde_datadir}/apps/kwin/iaora.desktop - - - - -%changelog -* Sat Jan 19 2013 Francois Andriot - 1.0.8-3 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 1.0.8-2 -- Initial build for TDE 3.5.13.1 - -* Fri Aug 03 2012 Francois Andriot - 1.0.8-1 -- Initial version for TDE 3.5.13 - -* Fri Aug 05 2011 Andrey Bondrov 1.0.8-9mib2011.0 -- Port to 2011 - -* Sat Jul 10 2010 Andrey Bondrov 1.0.8-8mib2010.1 -- Rebuild for MIB users - -* Sun Nov 22 2009 Atilla ÖNTAŞ 1.0.8-8mvt2010.0 -- Rename package to avoid unwanted KDE4 upgrade -- Merge packages in one kde-style package -- Fix package group in spec file - -* Tue Nov 17 2009 Tim Williams 1.0.8-7mdv2010.0 -+ Rebuild for MDV 2010.0 - -* Thu Mar 26 2009 Helio Chissini de Castro 1.0.8-6mdv2009.1 -+ Revision: 361404 -- Bump to rebuild against cooker - -* Tue Nov 18 2008 Thierry Vignaud 1.0.8-5mdv2009.1 -+ Revision: 304189 -- rebuild for new xcb - -* Wed Aug 06 2008 Thierry Vignaud 1.0.8-4mdv2009.0 -+ Revision: 264680 -- rebuild early 2009.0 package (before pixel changes) - -* Thu May 08 2008 Helio Chissini de Castro 1.0.8-2mdv2009.0 -+ Revision: 204689 -- Move to /opt - -* Wed Feb 27 2008 Gustavo Pichorim Boiko 1.0.8-1mdv2008.1 -+ Revision: 175799 -- New release (1.0.8): - * Fix drawing of buttons when using mandriva color schemes - * Update color scheme names to match the new ones - -* Tue Feb 19 2008 Gustavo Pichorim Boiko 1.0.7-1mdv2008.1 -+ Revision: 173100 -- new release (1.0.7) fixing some drawing issues on applications that don't use - standard background colors (#33502) - -* Thu Jan 03 2008 Oden Eriksson 1.0.6-2mdv2008.1 -+ Revision: 141786 -- rebuilt against openldap-2.4.7 libs - - + Olivier Blin - - restore BuildRoot - - + Thierry Vignaud - - kill re-definition of %%buildroot on Pixel's request - -* Wed Sep 12 2007 Gustavo Pichorim Boiko 1.0.6-1mdv2008.0 -+ Revision: 84626 -- new release: 1.0.6: - * Use the right color for the bottom line of menubar - * Remove some lines that were causing double borders at menubar and toolbar - ends - * Fix the bottom of toolbars: it was being drawn using the wrong color - * Use a flat background for status bars - * Add a minimum size for the scrollbar handle -- new release: 1.0.5 - * Use the widget style in all separators (#33260) - * Fixed popup menu item drawing on menus that have titles (#33287) - -* Thu Sep 06 2007 Gustavo Pichorim Boiko 1.0.4-1mdv2008.0 -+ Revision: 81272 -- new version: 1.0.4 - * Restore the old color themes (as they will be kept as alternatives) - * Properly mask the rounded borders and properly draw the region previously - masked - * Create fake rounded corners on menu items - * Reduced the button margin to get normal sized buttons (not giant ones) - * Make it possible to resize windows by the top border ------------------------------------------------------------------------- - r227235 | boiko | 2007-09-06 13:58:18 -0300 (Qui, 06 Set 2007) | 3 lines - -* Wed Sep 05 2007 Gustavo Pichorim Boiko 1.0.3-1mdv2008.0 -+ Revision: 80378 -- new release: 1.0.3 - * Implement highligh on hovering controls - * Threat scrollbar buttons as buttons (showing them lowered when the button - is pressed for example) - * Show the combo box button as pressed when the list is opened - * Removed Powerpack+ colors - * Changed Discovery/One to just One and adjusted colors - * Used more sane values when using ia_ora together with other KDE color - schemes -- new release: - * fix gradient colors of menus (thanks Frederic Crozat for pointing that) - * implement correctly the combo box drawing according to the ia_ora spec - * Fix the text color of menubar items - -* Thu Aug 23 2007 Gustavo Pichorim Boiko 1.0.1-1mdv2008.0 -+ Revision: 70685 -- new version: 1.0.1 - * Replace the gradient code by the Plastik one (it is better written) - * Fix drawing of menubar items and popupmenu items (#30659) - -* Mon Jun 11 2007 Nicolas Lécureuil 1.0-18mdv2008.0 -+ Revision: 38004 -- REBUILD - - -* Thu Mar 22 2007 Laurent Montel 1.0-17mdv2007.1 -+ Revision: 147929 -- Fix theme - -* Mon Mar 19 2007 Laurent Montel 1.0-16mdv2007.1 -+ Revision: 146479 -- Fix progressbar text color - -* Wed Mar 07 2007 Laurent Montel 1.0-15mdv2007.1 -+ Revision: 134563 -- Fix style - -* Tue Mar 06 2007 Laurent Montel 1.0-14mdv2007.1 -+ Revision: 133854 -- New update - -* Wed Feb 28 2007 Laurent Montel 1.0-13mdv2007.1 -+ Revision: 127097 -- New update - -* Wed Jan 24 2007 Laurent Montel 1.0-12mdv2007.1 -+ Revision: 112737 -- Fix theme - -* Tue Jan 02 2007 Laurent Montel 1.0-11mdv2007.1 -+ Revision: 103350 -- Update tarball - -* Mon Dec 11 2006 Laurent Montel 1.0-10mdv2007.1 -+ Revision: 94696 -- Rename spec file name too -- Rename ia_ora to ia_ora-kde - Fix a lot of bug -- Import ia_ora-kde - -* Sat Sep 16 2006 Laurent MONTEL 1.0-9 -- Fix title bar - -* Thu Sep 14 2006 Laurent MONTEL 1.0-8 -- Fix handle - -* Thu Sep 14 2006 Laurent MONTEL 1.0-7 -- Fix toolbar color - -* Thu Sep 14 2006 Laurent MONTEL 1.0-6 -- Fix Combobox/Scrollbar/Checkbox and bidi mode - -* Tue Sep 12 2006 Laurent MONTEL 1.0-5 -- Fix tabbar - -* Tue Sep 12 2006 Laurent MONTEL 1.0-4 -- Fix scrollbar - -* Sun Sep 10 2006 Laurent MONTEL 1.0-3 -- Improve style - -* Fri Sep 08 2006 Laurent MONTEL 1.0-2 -- Some fixes - -* Tue Sep 05 2006 Laurent MONTEL 1.0-1 -- Initial package - diff --git a/redhat/extras/style-ia-ora/trinity-style-ia-ora-3.5.13.spec b/redhat/extras/style-ia-ora/trinity-style-ia-ora-3.5.13.spec deleted file mode 100644 index 430a1383a..000000000 --- a/redhat/extras/style-ia-ora/trinity-style-ia-ora-3.5.13.spec +++ /dev/null @@ -1,274 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_datadir %{tde_prefix}/share -%define tde_doc %{tde_datadir}/doc - -%define _docdir %{tde_docdir} -%define tde_tdelibdir %{tde_libdir}/trinity - - -Summary: Mandriva theme for TDE - Widget design -Name: trinity-style-ia-ora -Version: 1.0.8 -Release: 1%{?dist}%{?_variant} -License: GPL -Group: Environment/Desktop -URL: http://www.mandrivalinux.com/ - -Source0: ia_ora-kde-%{version}.tar.bz2 - -# [ia_ora] Fix automake 1.11 detection -Patch1: ia_ora-1.08-fix_automake_detection.patch -# [ia_ora] Fix trinity directories detection -Patch2: ia_ora-1.08-fix_trinity_directories.patch - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot - -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel - -Requires: trinity-twin - -%description -Mandriva theme for Trinity - -%prep -%setup -q -n ia_ora-kde-%{version} -%patch1 -p1 -b .automake11 -%patch2 -p1 -b .trinity - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" cvs - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --disable-rpath \ - --enable-closure \ - --disable-dependency-tracking \ - --enable-new-ldflags \ - --enable-final \ - --enable-shared \ - --disable-static \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} LIBTOOL=$(which libtool) - -%install -%__rm -rf %{buildroot} -%__make install DESTDIR=%{?buildroot} - -# Removes useless files -%__rm -f %{?buildroot}%{tde_tdelibdir}/*.a -%__rm -f %{?buildroot}%{tde_tdelibdir}/plugins/styles/*.a - -%clean -%__rm -rf %{buildroot} - -%files -%defattr(-,root,root,-) -%{tde_tdelibdir}/kwin3_iaora.la -%{tde_tdelibdir}/kwin3_iaora.so -%{tde_tdelibdir}/kwin_iaora_config.la -%{tde_tdelibdir}/kwin_iaora_config.so -%{tde_tdelibdir}/plugins/styles/ia_ora.la -%{tde_tdelibdir}/plugins/styles/ia_ora.so -%{tde_datadir}/apps/kstyle/themes/ia_ora.themerc -%{tde_datadir}/apps/kwin/iaora.desktop - - - - -%changelog -* Fri Aug 03 2012 Francois Andriot - 1.0.8-1 -- Initial version for TDE 3.5.13 - -* Fri Aug 05 2011 Andrey Bondrov 1.0.8-9mib2011.0 -- Port to 2011 - -* Sat Jul 10 2010 Andrey Bondrov 1.0.8-8mib2010.1 -- Rebuild for MIB users - -* Sun Nov 22 2009 Atilla ÖNTAŞ 1.0.8-8mvt2010.0 -- Rename package to avoid unwanted KDE4 upgrade -- Merge packages in one kde-style package -- Fix package group in spec file - -* Tue Nov 17 2009 Tim Williams 1.0.8-7mdv2010.0 -+ Rebuild for MDV 2010.0 - -* Thu Mar 26 2009 Helio Chissini de Castro 1.0.8-6mdv2009.1 -+ Revision: 361404 -- Bump to rebuild against cooker - -* Tue Nov 18 2008 Thierry Vignaud 1.0.8-5mdv2009.1 -+ Revision: 304189 -- rebuild for new xcb - -* Wed Aug 06 2008 Thierry Vignaud 1.0.8-4mdv2009.0 -+ Revision: 264680 -- rebuild early 2009.0 package (before pixel changes) - -* Thu May 08 2008 Helio Chissini de Castro 1.0.8-2mdv2009.0 -+ Revision: 204689 -- Move to /opt - -* Wed Feb 27 2008 Gustavo Pichorim Boiko 1.0.8-1mdv2008.1 -+ Revision: 175799 -- New release (1.0.8): - * Fix drawing of buttons when using mandriva color schemes - * Update color scheme names to match the new ones - -* Tue Feb 19 2008 Gustavo Pichorim Boiko 1.0.7-1mdv2008.1 -+ Revision: 173100 -- new release (1.0.7) fixing some drawing issues on applications that don't use - standard background colors (#33502) - -* Thu Jan 03 2008 Oden Eriksson 1.0.6-2mdv2008.1 -+ Revision: 141786 -- rebuilt against openldap-2.4.7 libs - - + Olivier Blin - - restore BuildRoot - - + Thierry Vignaud - - kill re-definition of %%buildroot on Pixel's request - -* Wed Sep 12 2007 Gustavo Pichorim Boiko 1.0.6-1mdv2008.0 -+ Revision: 84626 -- new release: 1.0.6: - * Use the right color for the bottom line of menubar - * Remove some lines that were causing double borders at menubar and toolbar - ends - * Fix the bottom of toolbars: it was being drawn using the wrong color - * Use a flat background for status bars - * Add a minimum size for the scrollbar handle -- new release: 1.0.5 - * Use the widget style in all separators (#33260) - * Fixed popup menu item drawing on menus that have titles (#33287) - -* Thu Sep 06 2007 Gustavo Pichorim Boiko 1.0.4-1mdv2008.0 -+ Revision: 81272 -- new version: 1.0.4 - * Restore the old color themes (as they will be kept as alternatives) - * Properly mask the rounded borders and properly draw the region previously - masked - * Create fake rounded corners on menu items - * Reduced the button margin to get normal sized buttons (not giant ones) - * Make it possible to resize windows by the top border ------------------------------------------------------------------------- - r227235 | boiko | 2007-09-06 13:58:18 -0300 (Qui, 06 Set 2007) | 3 lines - -* Wed Sep 05 2007 Gustavo Pichorim Boiko 1.0.3-1mdv2008.0 -+ Revision: 80378 -- new release: 1.0.3 - * Implement highligh on hovering controls - * Threat scrollbar buttons as buttons (showing them lowered when the button - is pressed for example) - * Show the combo box button as pressed when the list is opened - * Removed Powerpack+ colors - * Changed Discovery/One to just One and adjusted colors - * Used more sane values when using ia_ora together with other KDE color - schemes -- new release: - * fix gradient colors of menus (thanks Frederic Crozat for pointing that) - * implement correctly the combo box drawing according to the ia_ora spec - * Fix the text color of menubar items - -* Thu Aug 23 2007 Gustavo Pichorim Boiko 1.0.1-1mdv2008.0 -+ Revision: 70685 -- new version: 1.0.1 - * Replace the gradient code by the Plastik one (it is better written) - * Fix drawing of menubar items and popupmenu items (#30659) - -* Mon Jun 11 2007 Nicolas Lécureuil 1.0-18mdv2008.0 -+ Revision: 38004 -- REBUILD - - -* Thu Mar 22 2007 Laurent Montel 1.0-17mdv2007.1 -+ Revision: 147929 -- Fix theme - -* Mon Mar 19 2007 Laurent Montel 1.0-16mdv2007.1 -+ Revision: 146479 -- Fix progressbar text color - -* Wed Mar 07 2007 Laurent Montel 1.0-15mdv2007.1 -+ Revision: 134563 -- Fix style - -* Tue Mar 06 2007 Laurent Montel 1.0-14mdv2007.1 -+ Revision: 133854 -- New update - -* Wed Feb 28 2007 Laurent Montel 1.0-13mdv2007.1 -+ Revision: 127097 -- New update - -* Wed Jan 24 2007 Laurent Montel 1.0-12mdv2007.1 -+ Revision: 112737 -- Fix theme - -* Tue Jan 02 2007 Laurent Montel 1.0-11mdv2007.1 -+ Revision: 103350 -- Update tarball - -* Mon Dec 11 2006 Laurent Montel 1.0-10mdv2007.1 -+ Revision: 94696 -- Rename spec file name too -- Rename ia_ora to ia_ora-kde - Fix a lot of bug -- Import ia_ora-kde - -* Sat Sep 16 2006 Laurent MONTEL 1.0-9 -- Fix title bar - -* Thu Sep 14 2006 Laurent MONTEL 1.0-8 -- Fix handle - -* Thu Sep 14 2006 Laurent MONTEL 1.0-7 -- Fix toolbar color - -* Thu Sep 14 2006 Laurent MONTEL 1.0-6 -- Fix Combobox/Scrollbar/Checkbox and bidi mode - -* Tue Sep 12 2006 Laurent MONTEL 1.0-5 -- Fix tabbar - -* Tue Sep 12 2006 Laurent MONTEL 1.0-4 -- Fix scrollbar - -* Sun Sep 10 2006 Laurent MONTEL 1.0-3 -- Improve style - -* Fri Sep 08 2006 Laurent MONTEL 1.0-2 -- Some fixes - -* Tue Sep 05 2006 Laurent MONTEL 1.0-1 -- Initial package - diff --git a/redhat/extras/theme-baghira/theme-baghira-3.5.13.1.spec b/redhat/extras/theme-baghira/theme-baghira-3.5.13.1.spec new file mode 100644 index 000000000..78d77eed8 --- /dev/null +++ b/redhat/extras/theme-baghira/theme-baghira-3.5.13.1.spec @@ -0,0 +1,204 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# Speed build options +%define debug_package %{nil} +%define __spec_install_post %{nil} +AutoReq: no + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +Name: trinity-theme-baghira +Version: 0.8 +Release: 1%{?dist}%{?_variant} +Summary: Baghira theme for Trinity +License: GPL +Group: Graphical desktop/KDE +Source0: http://prdownloads.sourceforge.net/baghira/baghira-%{version}.tar.bz2 +Source1: admin-3.5.13.1.tar.gz +Patch0: baghira-3.5.13.1-fix_ftbfs.patch +Url: http://baghira.sourceforge.net/ +BuildRequires: X11-devel +BuildRequires: jpeg-devel +BuildRequires: qt3-devel +BuildRequires: trinity-tdebase-devel +BuildRoot: %{_tmppath}/baghira-%{version}-buildroot + +%description +Baghira is a very nice native Trinity style and windec +originally based on Mosfet's Liquid style. + +This package contains non-free icons.. + +%package devel +Summary: Header files and static libraries from %name +Group: Development/C +Requires: %{name} = %{version}-%{release} + +%description devel +Libraries and includes files for +developing programs based on %name + +This package is in PLF because it contains non-free icons. + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +%prep +%setup -q -n baghira-%{version} +%setup -q -n baghira-%{version} -a 1 +%patch0 -p1 -b .ftbfs + +%__rm -rf admin +%__mv -f admin-3.5.13.1 admin + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export KDEDIR=%{tde_prefix} + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_tdeincludedir} \ + --datadir=%{tde_datadir} \ + --with-qt-libraries=${QTLIB:-${QTDIR}/%{_lib}} \ + --disable-static \ + --disable-rpath \ + --disable-debug --disable-warnings \ + --disable-dependency-tracking --enable-final \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + +%install +%__rm -rf $RPM_BUILD_ROOT +%__make install DESTDIR=$RPM_BUILD_ROOT + +install -d %{buildroot}/%{tde_libdir}/baghira-%{version} +install -d %{buildroot}/%{tde_tdeincludedir}/baghira-%{version} + +mv %{buildroot}/%{tde_libdir}/libbaghirastarter.la %{buildroot}/%{tde_libdir}/baghira-%{version}/libbaghirastarter.la +mv %{buildroot}/%{tde_libdir}/libbaghirastarter.so %{buildroot}/%{tde_libdir}/baghira-%{version}/libbaghirastarter.so.%{major} +mv %{buildroot}/%{tde_libdir}/usermanager_panelapplet.la %{buildroot}/%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.la +mv %{buildroot}/%{tde_libdir}/usermanager_panelapplet.so %{buildroot}/%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.so.%{major} +mv %{buildroot}/%{tde_tdeincludedir}/baghirasidebar.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/baghirasidebar.h +mv %{buildroot}/%{tde_tdeincludedir}/baghirasidebariface.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/baghirasidebariface.h +mv %{buildroot}/%{tde_tdeincludedir}/dndlistbox.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/dndlistbox.h +mv %{buildroot}/%{tde_tdeincludedir}/linkview.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/linkview.h +mv %{buildroot}/%{tde_tdeincludedir}/listboxlink.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/listboxlink.h + +ln -s libbaghirastarter.so.%{major} %{buildroot}/%{tde_libdir}/baghira-%{version}/libbaghirastarter.so +ln -s usermanager_panelapplet.so.%{major} %{buildroot}/%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.so + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root) +%doc README AUTHORS ChangeLog COPYING NEWS TODO +%{tde_bindir}/bab +%{tde_tdelibdir}/b_menu_panelapplet.* +%{tde_tdelibdir}/kstyle_baghira_config.* +%{tde_tdelibdir}/kwin3_baghira.* +%{tde_tdelibdir}/kwin_baghira_config.* +%{tde_tdelibdir}/plugins/styles/baghira.* +%{tde_datadir}/apps/kdisplay/color-schemes/Aqua* +#%{tde_datadir}/apps/kicker/applets/b_menuapplet.desktop +%{tde_datadir}/apps/kicker/applets/usermanager.desktop +%{tde_datadir}/apps/konqsidebartng/add/baghirasidebar_add.desktop +%{tde_datadir}/apps/konqsidebartng/entries/baghirasidebar.desktop +%{tde_datadir}/apps/kicker/applets/starter.desktop +%{tde_datadir}/apps/kstyle/themes/baghira.themerc +%{tde_datadir}/apps/kwin/baghira.desktop +%{tde_datadir}/icons/crystalsvg/*/*/baghira* +%{tde_datadir}/icons/crystalsvg/*/*/bab_* +%{tde_datadir}/apps/baghira/poof.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/bStarter.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/bStarter_down.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/bStarter_hover.png + + +%files devel +%defattr(-,root,root) +%{tde_libdir}/baghira-%{version}/libbaghirastarter.la +%{tde_libdir}/baghira-%{version}/libbaghirastarter.so* +%{tde_tdelibdir}/konqsidebar_baghirasidebar.la +%{tde_tdelibdir}/konqsidebar_baghirasidebar.so +%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.la +%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.so* +%{tde_tdeincludedir}/baghira-%{version}/baghirasidebar.h +%{tde_tdeincludedir}/baghira-%{version}/baghirasidebariface.h +%{tde_tdeincludedir}/baghira-%{version}/dndlistbox.h +%{tde_tdeincludedir}/baghira-%{version}/linkview.h +%{tde_tdeincludedir}/baghira-%{version}/listboxlink.h + + +%changelog +* Tue Nov 20 2012 Francois Andriot - 0.8.1 +- Initial build for TDE 3.5.13.1 + +* Tue Jan 8 2008 Javier Rodas 0.8-2plf2008.1 +- KDE 3.5.8 version in Mandriva 2008.1 +- KDE svn admin headers now packaged in Source1 + +* Mon Sep 18 2006 Javier Rodas 0.8-2plf2007.0 +- Fix Source0 local reference +- KDE 3.5.4 admin headers are downloaded with subversion +- Fix Baghira devel package directory paths +- Fix BuildRequires + +* Fri Sep 15 2006 Javier Rodas 0.8-1plf2007.0 +- 0.8 +- Replaced KDE admin headers in the source file (for KDE 3.5.4) +- Fix BuildRequires +- Removed the patch file + +* Thu Oct 13 2005 neoclust 0.7-1plf +- 0.7 +- remove redundant buildrequires + +* Mon Mar 04 2005 Nicolas L�ureuil 0.6-3plf +- Add PLF reason +- bzipped patch +- Make rpmlint happier + +* Mon Mar 04 2005 Nicolas L�ureuil 0.6-2plf +- New version +- Fix compile ( Patch0 from Gentoo) +- Spec Cleanup +- rpmbuildupdatable + +* Mon Dec 06 2004 Laurent Culioli 0.6-1plf +- Initial Release. diff --git a/redhat/extras/theme-baghira/theme-baghira-3.5.13.2.spec b/redhat/extras/theme-baghira/theme-baghira-3.5.13.2.spec new file mode 100644 index 000000000..4ed4a9307 --- /dev/null +++ b/redhat/extras/theme-baghira/theme-baghira-3.5.13.2.spec @@ -0,0 +1,211 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# Speed build options +%define debug_package %{nil} +%define __spec_install_post %{nil} +AutoReq: no + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +Name: trinity-theme-baghira +Version: 0.8 +Release: 2%{?dist}%{?_variant} +Summary: Baghira theme for Trinity +License: GPL +Group: Graphical desktop/KDE +Source0: http://prdownloads.sourceforge.net/baghira/baghira-0.8.tar.bz2 +Source1: admin-3.5.13.2.tar.gz +Patch0: baghira-3.5.13.1-fix_ftbfs.patch +Patch1: baghira-0.8-fix_autotools.patch +Url: http://baghira.sourceforge.net/ +BuildRoot: %{_tmppath}/baghira-%{version}-buildroot + +BuildRequires: qt3-devel +BuildRequires: trinity-tdebase-devel >= 3.5.13.2 + +%if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version} +BuildRequires: libjpeg-devel +%else +BuildRequires: X11-devel +BuildRequires: jpeg-devel +%endif + +%description +Baghira is a very nice native Trinity style and windec +originally based on Mosfet's Liquid style. + +This package contains non-free icons.. + +%package devel +Summary: Header files and static libraries from %name +Group: Development/C +Requires: %{name} = %{version}-%{release} + +%description devel +Libraries and includes files for +developing programs based on %name + +This package is in PLF because it contains non-free icons. + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +%prep +%setup -q -n baghira-%{version} -a 1 +%patch0 -p1 -b .ftbfs +%patch1 -p1 -b .autotools + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export KDEDIR=%{tde_prefix} + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_tdeincludedir} \ + --datadir=%{tde_datadir} \ + --with-qt-libraries=${QTLIB:-${QTDIR}/%{_lib}} \ + --disable-static \ + --disable-rpath \ + --disable-debug --disable-warnings \ + --disable-dependency-tracking --enable-final \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + +%install +%__rm -rf $RPM_BUILD_ROOT +%__make install DESTDIR=$RPM_BUILD_ROOT + +install -d %{buildroot}/%{tde_libdir}/baghira-%{version} +install -d %{buildroot}/%{tde_tdeincludedir}/baghira-%{version} + +mv %{buildroot}/%{tde_libdir}/libbaghirastarter.la %{buildroot}/%{tde_libdir}/baghira-%{version}/libbaghirastarter.la +mv %{buildroot}/%{tde_libdir}/libbaghirastarter.so %{buildroot}/%{tde_libdir}/baghira-%{version}/libbaghirastarter.so.%{major} +mv %{buildroot}/%{tde_libdir}/usermanager_panelapplet.la %{buildroot}/%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.la +mv %{buildroot}/%{tde_libdir}/usermanager_panelapplet.so %{buildroot}/%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.so.%{major} +mv %{buildroot}/%{tde_tdeincludedir}/baghirasidebar.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/baghirasidebar.h +mv %{buildroot}/%{tde_tdeincludedir}/baghirasidebariface.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/baghirasidebariface.h +mv %{buildroot}/%{tde_tdeincludedir}/dndlistbox.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/dndlistbox.h +mv %{buildroot}/%{tde_tdeincludedir}/linkview.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/linkview.h +mv %{buildroot}/%{tde_tdeincludedir}/listboxlink.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/listboxlink.h + +ln -s libbaghirastarter.so.%{major} %{buildroot}/%{tde_libdir}/baghira-%{version}/libbaghirastarter.so +ln -s usermanager_panelapplet.so.%{major} %{buildroot}/%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.so + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root) +%doc README AUTHORS ChangeLog COPYING NEWS TODO +%{tde_bindir}/bab +%{tde_tdelibdir}/b_menu_panelapplet.* +%{tde_tdelibdir}/kstyle_baghira_config.* +%{tde_tdelibdir}/kwin3_baghira.* +%{tde_tdelibdir}/kwin_baghira_config.* +%{tde_tdelibdir}/plugins/styles/baghira.* +%{tde_datadir}/apps/kdisplay/color-schemes/Aqua* +#%{tde_datadir}/apps/kicker/applets/b_menuapplet.desktop +%{tde_datadir}/apps/kicker/applets/usermanager.desktop +%{tde_datadir}/apps/konqsidebartng/add/baghirasidebar_add.desktop +%{tde_datadir}/apps/konqsidebartng/entries/baghirasidebar.desktop +%{tde_datadir}/apps/kicker/applets/starter.desktop +%{tde_datadir}/apps/kstyle/themes/baghira.themerc +%{tde_datadir}/apps/kwin/baghira.desktop +%{tde_datadir}/icons/crystalsvg/*/*/baghira* +%{tde_datadir}/icons/crystalsvg/*/*/bab_* +%{tde_datadir}/apps/baghira/poof.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/bStarter.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/bStarter_down.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/bStarter_hover.png + + +%files devel +%defattr(-,root,root) +%{tde_libdir}/baghira-%{version}/libbaghirastarter.la +%{tde_libdir}/baghira-%{version}/libbaghirastarter.so* +%{tde_tdelibdir}/konqsidebar_baghirasidebar.la +%{tde_tdelibdir}/konqsidebar_baghirasidebar.so +%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.la +%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.so* +%{tde_tdeincludedir}/baghira-%{version}/baghirasidebar.h +%{tde_tdeincludedir}/baghira-%{version}/baghirasidebariface.h +%{tde_tdeincludedir}/baghira-%{version}/dndlistbox.h +%{tde_tdeincludedir}/baghira-%{version}/linkview.h +%{tde_tdeincludedir}/baghira-%{version}/listboxlink.h + + +%changelog +* Sat Jan 19 2013 Francois Andriot - 0.8-2 +- Initial release for TDE 3.5.13.2 + +* Tue Nov 20 2012 Francois Andriot - 0.8.1 +- Initial build for TDE 3.5.13.1 + +* Tue Jan 8 2008 Javier Rodas 0.8-2plf2008.1 +- KDE 3.5.8 version in Mandriva 2008.1 +- KDE svn admin headers now packaged in Source1 + +* Mon Sep 18 2006 Javier Rodas 0.8-2plf2007.0 +- Fix Source0 local reference +- KDE 3.5.4 admin headers are downloaded with subversion +- Fix Baghira devel package directory paths +- Fix BuildRequires + +* Fri Sep 15 2006 Javier Rodas 0.8-1plf2007.0 +- 0.8 +- Replaced KDE admin headers in the source file (for KDE 3.5.4) +- Fix BuildRequires +- Removed the patch file + +* Thu Oct 13 2005 neoclust 0.7-1plf +- 0.7 +- remove redundant buildrequires + +* Mon Mar 04 2005 Nicolas L�ureuil 0.6-3plf +- Add PLF reason +- bzipped patch +- Make rpmlint happier + +* Mon Mar 04 2005 Nicolas L�ureuil 0.6-2plf +- New version +- Fix compile ( Patch0 from Gentoo) +- Spec Cleanup +- rpmbuildupdatable + +* Mon Dec 06 2004 Laurent Culioli 0.6-1plf +- Initial Release. diff --git a/redhat/extras/theme-baghira/trinity-theme-baghira-3.5.13.1.spec b/redhat/extras/theme-baghira/trinity-theme-baghira-3.5.13.1.spec deleted file mode 100644 index 78d77eed8..000000000 --- a/redhat/extras/theme-baghira/trinity-theme-baghira-3.5.13.1.spec +++ /dev/null @@ -1,204 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# Speed build options -%define debug_package %{nil} -%define __spec_install_post %{nil} -AutoReq: no - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -Name: trinity-theme-baghira -Version: 0.8 -Release: 1%{?dist}%{?_variant} -Summary: Baghira theme for Trinity -License: GPL -Group: Graphical desktop/KDE -Source0: http://prdownloads.sourceforge.net/baghira/baghira-%{version}.tar.bz2 -Source1: admin-3.5.13.1.tar.gz -Patch0: baghira-3.5.13.1-fix_ftbfs.patch -Url: http://baghira.sourceforge.net/ -BuildRequires: X11-devel -BuildRequires: jpeg-devel -BuildRequires: qt3-devel -BuildRequires: trinity-tdebase-devel -BuildRoot: %{_tmppath}/baghira-%{version}-buildroot - -%description -Baghira is a very nice native Trinity style and windec -originally based on Mosfet's Liquid style. - -This package contains non-free icons.. - -%package devel -Summary: Header files and static libraries from %name -Group: Development/C -Requires: %{name} = %{version}-%{release} - -%description devel -Libraries and includes files for -developing programs based on %name - -This package is in PLF because it contains non-free icons. - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -%prep -%setup -q -n baghira-%{version} -%setup -q -n baghira-%{version} -a 1 -%patch0 -p1 -b .ftbfs - -%__rm -rf admin -%__mv -f admin-3.5.13.1 admin - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export KDEDIR=%{tde_prefix} - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --includedir=%{tde_tdeincludedir} \ - --datadir=%{tde_datadir} \ - --with-qt-libraries=${QTLIB:-${QTDIR}/%{_lib}} \ - --disable-static \ - --disable-rpath \ - --disable-debug --disable-warnings \ - --disable-dependency-tracking --enable-final \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - -%install -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT - -install -d %{buildroot}/%{tde_libdir}/baghira-%{version} -install -d %{buildroot}/%{tde_tdeincludedir}/baghira-%{version} - -mv %{buildroot}/%{tde_libdir}/libbaghirastarter.la %{buildroot}/%{tde_libdir}/baghira-%{version}/libbaghirastarter.la -mv %{buildroot}/%{tde_libdir}/libbaghirastarter.so %{buildroot}/%{tde_libdir}/baghira-%{version}/libbaghirastarter.so.%{major} -mv %{buildroot}/%{tde_libdir}/usermanager_panelapplet.la %{buildroot}/%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.la -mv %{buildroot}/%{tde_libdir}/usermanager_panelapplet.so %{buildroot}/%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.so.%{major} -mv %{buildroot}/%{tde_tdeincludedir}/baghirasidebar.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/baghirasidebar.h -mv %{buildroot}/%{tde_tdeincludedir}/baghirasidebariface.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/baghirasidebariface.h -mv %{buildroot}/%{tde_tdeincludedir}/dndlistbox.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/dndlistbox.h -mv %{buildroot}/%{tde_tdeincludedir}/linkview.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/linkview.h -mv %{buildroot}/%{tde_tdeincludedir}/listboxlink.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/listboxlink.h - -ln -s libbaghirastarter.so.%{major} %{buildroot}/%{tde_libdir}/baghira-%{version}/libbaghirastarter.so -ln -s usermanager_panelapplet.so.%{major} %{buildroot}/%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.so - - -%clean -rm -rf $RPM_BUILD_ROOT - - -%files -%defattr(-,root,root) -%doc README AUTHORS ChangeLog COPYING NEWS TODO -%{tde_bindir}/bab -%{tde_tdelibdir}/b_menu_panelapplet.* -%{tde_tdelibdir}/kstyle_baghira_config.* -%{tde_tdelibdir}/kwin3_baghira.* -%{tde_tdelibdir}/kwin_baghira_config.* -%{tde_tdelibdir}/plugins/styles/baghira.* -%{tde_datadir}/apps/kdisplay/color-schemes/Aqua* -#%{tde_datadir}/apps/kicker/applets/b_menuapplet.desktop -%{tde_datadir}/apps/kicker/applets/usermanager.desktop -%{tde_datadir}/apps/konqsidebartng/add/baghirasidebar_add.desktop -%{tde_datadir}/apps/konqsidebartng/entries/baghirasidebar.desktop -%{tde_datadir}/apps/kicker/applets/starter.desktop -%{tde_datadir}/apps/kstyle/themes/baghira.themerc -%{tde_datadir}/apps/kwin/baghira.desktop -%{tde_datadir}/icons/crystalsvg/*/*/baghira* -%{tde_datadir}/icons/crystalsvg/*/*/bab_* -%{tde_datadir}/apps/baghira/poof.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/bStarter.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/bStarter_down.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/bStarter_hover.png - - -%files devel -%defattr(-,root,root) -%{tde_libdir}/baghira-%{version}/libbaghirastarter.la -%{tde_libdir}/baghira-%{version}/libbaghirastarter.so* -%{tde_tdelibdir}/konqsidebar_baghirasidebar.la -%{tde_tdelibdir}/konqsidebar_baghirasidebar.so -%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.la -%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.so* -%{tde_tdeincludedir}/baghira-%{version}/baghirasidebar.h -%{tde_tdeincludedir}/baghira-%{version}/baghirasidebariface.h -%{tde_tdeincludedir}/baghira-%{version}/dndlistbox.h -%{tde_tdeincludedir}/baghira-%{version}/linkview.h -%{tde_tdeincludedir}/baghira-%{version}/listboxlink.h - - -%changelog -* Tue Nov 20 2012 Francois Andriot - 0.8.1 -- Initial build for TDE 3.5.13.1 - -* Tue Jan 8 2008 Javier Rodas 0.8-2plf2008.1 -- KDE 3.5.8 version in Mandriva 2008.1 -- KDE svn admin headers now packaged in Source1 - -* Mon Sep 18 2006 Javier Rodas 0.8-2plf2007.0 -- Fix Source0 local reference -- KDE 3.5.4 admin headers are downloaded with subversion -- Fix Baghira devel package directory paths -- Fix BuildRequires - -* Fri Sep 15 2006 Javier Rodas 0.8-1plf2007.0 -- 0.8 -- Replaced KDE admin headers in the source file (for KDE 3.5.4) -- Fix BuildRequires -- Removed the patch file - -* Thu Oct 13 2005 neoclust 0.7-1plf -- 0.7 -- remove redundant buildrequires - -* Mon Mar 04 2005 Nicolas L�ureuil 0.6-3plf -- Add PLF reason -- bzipped patch -- Make rpmlint happier - -* Mon Mar 04 2005 Nicolas L�ureuil 0.6-2plf -- New version -- Fix compile ( Patch0 from Gentoo) -- Spec Cleanup -- rpmbuildupdatable - -* Mon Dec 06 2004 Laurent Culioli 0.6-1plf -- Initial Release. diff --git a/redhat/extras/theme-baghira/trinity-theme-baghira-3.5.13.2.spec b/redhat/extras/theme-baghira/trinity-theme-baghira-3.5.13.2.spec deleted file mode 100644 index 4ed4a9307..000000000 --- a/redhat/extras/theme-baghira/trinity-theme-baghira-3.5.13.2.spec +++ /dev/null @@ -1,211 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# Speed build options -%define debug_package %{nil} -%define __spec_install_post %{nil} -AutoReq: no - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -Name: trinity-theme-baghira -Version: 0.8 -Release: 2%{?dist}%{?_variant} -Summary: Baghira theme for Trinity -License: GPL -Group: Graphical desktop/KDE -Source0: http://prdownloads.sourceforge.net/baghira/baghira-0.8.tar.bz2 -Source1: admin-3.5.13.2.tar.gz -Patch0: baghira-3.5.13.1-fix_ftbfs.patch -Patch1: baghira-0.8-fix_autotools.patch -Url: http://baghira.sourceforge.net/ -BuildRoot: %{_tmppath}/baghira-%{version}-buildroot - -BuildRequires: qt3-devel -BuildRequires: trinity-tdebase-devel >= 3.5.13.2 - -%if 0%{?fedora} || 0%{?rhel} || 0%{?suse_version} -BuildRequires: libjpeg-devel -%else -BuildRequires: X11-devel -BuildRequires: jpeg-devel -%endif - -%description -Baghira is a very nice native Trinity style and windec -originally based on Mosfet's Liquid style. - -This package contains non-free icons.. - -%package devel -Summary: Header files and static libraries from %name -Group: Development/C -Requires: %{name} = %{version}-%{release} - -%description devel -Libraries and includes files for -developing programs based on %name - -This package is in PLF because it contains non-free icons. - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -%prep -%setup -q -n baghira-%{version} -a 1 -%patch0 -p1 -b .ftbfs -%patch1 -p1 -b .autotools - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export KDEDIR=%{tde_prefix} - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --includedir=%{tde_tdeincludedir} \ - --datadir=%{tde_datadir} \ - --with-qt-libraries=${QTLIB:-${QTDIR}/%{_lib}} \ - --disable-static \ - --disable-rpath \ - --disable-debug --disable-warnings \ - --disable-dependency-tracking --enable-final \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - -%install -%__rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=$RPM_BUILD_ROOT - -install -d %{buildroot}/%{tde_libdir}/baghira-%{version} -install -d %{buildroot}/%{tde_tdeincludedir}/baghira-%{version} - -mv %{buildroot}/%{tde_libdir}/libbaghirastarter.la %{buildroot}/%{tde_libdir}/baghira-%{version}/libbaghirastarter.la -mv %{buildroot}/%{tde_libdir}/libbaghirastarter.so %{buildroot}/%{tde_libdir}/baghira-%{version}/libbaghirastarter.so.%{major} -mv %{buildroot}/%{tde_libdir}/usermanager_panelapplet.la %{buildroot}/%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.la -mv %{buildroot}/%{tde_libdir}/usermanager_panelapplet.so %{buildroot}/%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.so.%{major} -mv %{buildroot}/%{tde_tdeincludedir}/baghirasidebar.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/baghirasidebar.h -mv %{buildroot}/%{tde_tdeincludedir}/baghirasidebariface.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/baghirasidebariface.h -mv %{buildroot}/%{tde_tdeincludedir}/dndlistbox.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/dndlistbox.h -mv %{buildroot}/%{tde_tdeincludedir}/linkview.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/linkview.h -mv %{buildroot}/%{tde_tdeincludedir}/listboxlink.h %{buildroot}/%{tde_tdeincludedir}/baghira-%{version}/listboxlink.h - -ln -s libbaghirastarter.so.%{major} %{buildroot}/%{tde_libdir}/baghira-%{version}/libbaghirastarter.so -ln -s usermanager_panelapplet.so.%{major} %{buildroot}/%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.so - - -%clean -rm -rf $RPM_BUILD_ROOT - - -%files -%defattr(-,root,root) -%doc README AUTHORS ChangeLog COPYING NEWS TODO -%{tde_bindir}/bab -%{tde_tdelibdir}/b_menu_panelapplet.* -%{tde_tdelibdir}/kstyle_baghira_config.* -%{tde_tdelibdir}/kwin3_baghira.* -%{tde_tdelibdir}/kwin_baghira_config.* -%{tde_tdelibdir}/plugins/styles/baghira.* -%{tde_datadir}/apps/kdisplay/color-schemes/Aqua* -#%{tde_datadir}/apps/kicker/applets/b_menuapplet.desktop -%{tde_datadir}/apps/kicker/applets/usermanager.desktop -%{tde_datadir}/apps/konqsidebartng/add/baghirasidebar_add.desktop -%{tde_datadir}/apps/konqsidebartng/entries/baghirasidebar.desktop -%{tde_datadir}/apps/kicker/applets/starter.desktop -%{tde_datadir}/apps/kstyle/themes/baghira.themerc -%{tde_datadir}/apps/kwin/baghira.desktop -%{tde_datadir}/icons/crystalsvg/*/*/baghira* -%{tde_datadir}/icons/crystalsvg/*/*/bab_* -%{tde_datadir}/apps/baghira/poof.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/bStarter.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/bStarter_down.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/bStarter_hover.png - - -%files devel -%defattr(-,root,root) -%{tde_libdir}/baghira-%{version}/libbaghirastarter.la -%{tde_libdir}/baghira-%{version}/libbaghirastarter.so* -%{tde_tdelibdir}/konqsidebar_baghirasidebar.la -%{tde_tdelibdir}/konqsidebar_baghirasidebar.so -%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.la -%{tde_libdir}/baghira-%{version}/usermanager_panelapplet.so* -%{tde_tdeincludedir}/baghira-%{version}/baghirasidebar.h -%{tde_tdeincludedir}/baghira-%{version}/baghirasidebariface.h -%{tde_tdeincludedir}/baghira-%{version}/dndlistbox.h -%{tde_tdeincludedir}/baghira-%{version}/linkview.h -%{tde_tdeincludedir}/baghira-%{version}/listboxlink.h - - -%changelog -* Sat Jan 19 2013 Francois Andriot - 0.8-2 -- Initial release for TDE 3.5.13.2 - -* Tue Nov 20 2012 Francois Andriot - 0.8.1 -- Initial build for TDE 3.5.13.1 - -* Tue Jan 8 2008 Javier Rodas 0.8-2plf2008.1 -- KDE 3.5.8 version in Mandriva 2008.1 -- KDE svn admin headers now packaged in Source1 - -* Mon Sep 18 2006 Javier Rodas 0.8-2plf2007.0 -- Fix Source0 local reference -- KDE 3.5.4 admin headers are downloaded with subversion -- Fix Baghira devel package directory paths -- Fix BuildRequires - -* Fri Sep 15 2006 Javier Rodas 0.8-1plf2007.0 -- 0.8 -- Replaced KDE admin headers in the source file (for KDE 3.5.4) -- Fix BuildRequires -- Removed the patch file - -* Thu Oct 13 2005 neoclust 0.7-1plf -- 0.7 -- remove redundant buildrequires - -* Mon Mar 04 2005 Nicolas L�ureuil 0.6-3plf -- Add PLF reason -- bzipped patch -- Make rpmlint happier - -* Mon Mar 04 2005 Nicolas L�ureuil 0.6-2plf -- New version -- Fix compile ( Patch0 from Gentoo) -- Spec Cleanup -- rpmbuildupdatable - -* Mon Dec 06 2004 Laurent Culioli 0.6-1plf -- Initial Release. diff --git a/redhat/extras/trinity-desktop/trinity-desktop-3.5.13.2.spec b/redhat/extras/trinity-desktop/trinity-desktop-3.5.13.2.spec new file mode 100644 index 000000000..b41d48879 --- /dev/null +++ b/redhat/extras/trinity-desktop/trinity-desktop-3.5.13.2.spec @@ -0,0 +1,375 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_datadir}/doc +%define tde_datadir %{tde_prefix}/share +%endif + +Name: trinity-desktop +Version: 3.5.13.2 +Release: 1%{?dist}%{?_variant} +License: GPL +Summary: Meta-package to install TDE +Group: User Interface/Desktops + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +Source0: trinity-3.5.13-fedora.repo +Source1: trinity-3.5.13-rhel.repo +Source2: RPM-GPG-KEY-trinity + +Source11: pclinuxos201304-32.jpg +Source12: pclinuxos201304-64.jpg + +Requires: trinity-tdeaccessibility >= %{version} +Requires: trinity-tdeaddons >= %{version} +Requires: trinity-tdeadmin >= %{version} +Requires: trinity-tdeartwork >= %{version} +Requires: trinity-tdebase >= %{version} +Requires: trinity-tdebindings >= %{version} +Requires: trinity-tdeedu >= %{version} +Requires: trinity-tdegames >= %{version} +Requires: trinity-tdegraphics >= %{version} +Requires: trinity-tdemultimedia >= %{version} +Requires: trinity-tdenetwork >= %{version} +Requires: trinity-tdepim >= %{version} +Requires: trinity-tdeutils >= %{version} +Requires: trinity-tdetoys >= %{version} +Requires: hal + +%if 0%{?rhel} || 0%{?fedora} +# YUM configuration file +Requires: trinity-repo >= %{version} +%endif + +%description +The TDE project aims to keep the KDE3.5 computing style alive, as well as +polish off any rough edges that were present as of KDE 3.5.10. Along +the way, new useful features will be added to keep the environment +up-to-date. +Toward that end, significant new enhancements have already been made in +areas such as display control, network connectivity, user +authentication, and much more! + +%files + +########## + +%package devel +Group: User Interface/Desktops +Summary: Meta-package to install TDE development tools + +Obsoletes: trinity-desktop-dev < %{version}-%{release} +Provides: trinity-desktop-dev = %{version}-%{release} + +Requires: trinity-tdesdk >= %{version} +Requires: trinity-tdevelop >= %{version} +Requires: trinity-tdewebdev >= %{version} + +%description devel +%{summary} + +%files devel + +########## + +%package applications +Group: User Interface/Desktops +Summary: Meta-package to install all TDE applications + +# Some applications are disabled for now ... +# Compiz-related stuff does not work (obsolete) +#Requires: trinity-compizconfig-backend-kconfig +#Requires: trinity-desktop-effects-kde +#Requires: trinity-fusion-icon + +# Obsolete l10n package +#Requires: trinity-filelight-l10n + +# Not even an RPM package ... +#Requires: trinity-konstruct + +# Debian/Ubuntu specific ... +#Requires: trinity-adept + +# Future R14 packages +#Requires: trinity-kvpnc +#Requires: trinity-qt4-tqt-theme-engine + +# Warning, k9copy requires ffmpeg +# Warning, tderadio requires libmp3lame +Requires: trinity-abakus +Requires: trinity-amarok +Requires: trinity-basket +Requires: trinity-bibletime +Requires: trinity-digikam +Requires: trinity-dolphin +Requires: trinity-filelight +Requires: trinity-gwenview +Requires: trinity-gwenview-i18n +Requires: trinity-k3b +Requires: trinity-katapult +Requires: trinity-kbarcode +Requires: trinity-kbfx +Requires: trinity-kbookreader +Requires: trinity-kchmviewer +Requires: trinity-kcpuload +Requires: trinity-k9copy +Requires: trinity-kdiff3 +Requires: trinity-kdirstat +Requires: trinity-keep +Requires: trinity-kile +Requires: trinity-kiosktool +Requires: trinity-kmyfirewall +Requires: trinity-kmymoney +Requires: trinity-knemo +Requires: trinity-knetload +Requires: trinity-knetstats +Requires: trinity-knights +Requires: trinity-knowit +Requires: trinity-knutclient +Requires: trinity-koffice-suite +Requires: trinity-konversation +Requires: trinity-kpicosim +Requires: trinity-krename +Requires: trinity-krusader +Requires: trinity-ksplash-engine-moodin +Requires: trinity-ksquirrel +Requires: trinity-kstreamripper +Requires: trinity-ksystemlog +Requires: trinity-ktechlab +Requires: trinity-ktorrent +Requires: trinity-kuickshow +Requires: trinity-kvirc +Requires: trinity-kvkbd +Requires: trinity-twin-style-crystal +Requires: trinity-piklab +Requires: trinity-potracegui +Requires: trinity-smb4k +Requires: trinity-smartcardauth +Requires: trinity-soundkonverter +Requires: trinity-tde-guidance +Requires: trinity-tde-guidance-powermanager +Requires: trinity-tde-style-lipstik +Requires: trinity-tde-style-qtcurve +Requires: trinity-tde-systemsettings +Requires: trinity-tdeio-apt +Requires: trinity-tdeio-locate +Requires: trinity-tdeio-umountwrapper +Requires: trinity-tderadio +Requires: trinity-tdesudo +Requires: trinity-tdmtheme +Requires: trinity-tellico +Requires: trinity-wlassistant +Requires: trinity-yakuake + + +# Disabled applications for RHEL5 +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +# On RHEL 5, HAL version is too old for kpowersave . +Requires: trinity-kpowersave +# On RHEL 5, GTK2 version is too old for GTK stuff ... +Requires: trinity-gtk-qt-engine +# On RHEL 5, lilypond is not available, so no rosegarden :'-( +Requires: trinity-rosegarden +# RHEL5: kpilot library is too old +Requires: trinity-kpilot +%endif + +# This one causes several crashes . Obsolete. +#Requires: trinity-kgtk-qt3 +Obsoletes: trinity-kgtk-qt3 + +# OBSOLETE: beagle does not exist anymore. Kerry is now useless. +# RHEL, openSUSE 12: no Beagle library +Obsoletes: trinity-kerry + +# RHEL 6 only: knetworkmanager8 +# knetworkmanager9 is too unstable for now. +%if 0%{?rhel} == 6 +Requires: trinity-knetworkmanager +%endif + +# RHEL 4 +%if 0%{?rhel} >= 5 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +# HAL is too old +Requires: trinity-kima +Requires: trinity-kaffeine +Requires: trinity-kaffeine-mozilla +Requires: trinity-kmplayer +# No OTR support +Requires: trinity-kopete-otr +# No DBUS support +Requires: trinity-kdbusnotification +# Subversion 1.1 is too old +Requires: trinity-tdesvn +%endif + +%description applications +%{summary} + +%files applications + +########## + +%package extras +Group: User Interface/Desktops +Summary: Meta-package to install all extras (unofficial) TDE packages + +Requires: trinity-akode +Requires: trinity-kasablanca +#Requires: trinity-kdebluetooth +#Requires: trinity-kcheckgmail +Requires: trinity-icons-crystalsvg-updated +Requires: trinity-icons-kfaenza +Requires: trinity-icons-oxygen +Requires: trinity-kbibtex +Requires: trinity-kbiff +Requires: trinity-kcmautostart +Requires: trinity-kftpgrabber +Requires: trinity-kickoff-i18n +Requires: trinity-knmap +#Requires: trinity-knoda +Requires: trinity-ksensors +Requires: trinity-kshowmail +Requires: trinity-mplayerthumbs +Requires: trinity-style-ia-ora +Requires: trinity-tdeio-ftps-plugin +#Requires: trinity-tdeio-sysinfo-plugin +Requires: trinity-theme-baghira +Requires: trinity-tork + + +# GLIBC too old on RHEL <= 5 +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 6 +Requires: trinity-twinkle +%endif + +%description extras +%{summary} + +%files extras + +########## + +%package all +Group: User Interface/Desktops +Summary: Meta-package to install all TDE packages + +Requires: %{name} = %{version} +Requires: %{name}-applications = %{version} +Requires: %{name}-devel = %{version} +#Requires: %{name}-extras = %{version} + +%description all +%{summary} + +%files all + +########## + +%if 0%{?rhel} || 0%{?fedora} +%package -n trinity-repo +Group: User Interface/Desktops +Summary: Yum configuration files for Trinity + +%description -n trinity-repo +%{summary} + +%pre -n trinity-repo +# Make sure every Trinity related repository is deleted before installing new one. +%__rm -f %{_sysconfdir}/yum.repos.d/trinity-*.repo + +%files -n trinity-repo +%defattr(-,root,root,-) +%{_sysconfdir}/yum.repos.d/*.repo +%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-trinity +%endif + +########## + +%if 0%{?pclinuxos} +%package -n trinity-wallpaper-theme-default +Group: User Interface/Desktops +Summary: Default wallpaper for Trinity + +%description -n trinity-wallpaper-theme-default +%{summary} + +%files -n trinity-wallpaper-theme-default +%defattr(-,root,root,-) +%{tde_datadir}/wallpapers/pclinuxos32.jpg +%{tde_datadir}/wallpapers/pclinuxos64.jpg +%endif + +########## + +%prep + +%build + +%install +%__rm -rf %{?buildroot} +%__mkdir_p "%{?buildroot}%{_sysconfdir}/yum.repos.d" + +# FEDORA configuration for YUM +%if 0%{?fedora} +%__sed %{SOURCE0} \ + -e 's/\$releasever/%{fedora}/g' \ + -e 's/-fedora/-f%{fedora}/g' \ + >"%{?buildroot}%{_sysconfdir}/yum.repos.d/trinity-3.5.13.repo" +%endif + +# RHEL configuration for YUM +# $releasever is replaced with its value +%if 0%{?rhel} +%__sed %{SOURCE1} \ + -e 's/\$releasever/%{rhel}/g' \ + >"%{?buildroot}%{_sysconfdir}/yum.repos.d/trinity-3.5.13.repo" +%endif + +%if 0%{?fedora} || 0%{?rhel} +%__chmod 644 %{?buildroot}%{_sysconfdir}/yum.repos.d/*.repo +%endif + +# RPM signing key +%if 0%{?rhel} || 0%{?fedora} +%__install -D -m 644 "%{SOURCE2}" "%{?buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-trinity" +%endif + +# PCLinuxOS wallpaper +%if 0%{?pclinuxos} == 2013 +%__install -D -m 644 "%{SOURCE11}" "%{?buildroot}%{tde_datadir}/wallpapers/pclinuxos32.jpg" +%__install -D -m 644 "%{SOURCE12}" "%{?buildroot}%{tde_datadir}/wallpapers/pclinuxos64.jpg" +%endif + +%changelog +* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 +- Update to version 3.5.13.2 +- Add GPG signing key + +* Mon Oct 01 2012 Francois Andriot - 3.5.13.1-1 +- Update to version 3.5.13.1 + +* Mon Aug 06 2012 Francois Andriot - 3.5.13-6 +- Add 'applications' subpackage + +* Wed Aug 01 2012 Francois Andriot - 3.5.13-5 +- Updates to reflect new packages names +- Add Mageia 2 support +- Removes 'extras' packages + +* Wed Jun 06 2012 Francois Andriot - 3.5.13-4 +- Enable mirrorlist + +* Wed Nov 30 2011 Francois Andriot - 3.5.13-3 +- Fix repo files name and content + +* Sat Nov 12 2011 Francois Andriot - 3.5.13-2 +- Add 'repo' package diff --git a/redhat/extras/trinity-desktop/trinity-desktop.spec b/redhat/extras/trinity-desktop/trinity-desktop.spec deleted file mode 100644 index b41d48879..000000000 --- a/redhat/extras/trinity-desktop/trinity-desktop.spec +++ /dev/null @@ -1,375 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_datadir}/doc -%define tde_datadir %{tde_prefix}/share -%endif - -Name: trinity-desktop -Version: 3.5.13.2 -Release: 1%{?dist}%{?_variant} -License: GPL -Summary: Meta-package to install TDE -Group: User Interface/Desktops - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildArch: noarch - -Source0: trinity-3.5.13-fedora.repo -Source1: trinity-3.5.13-rhel.repo -Source2: RPM-GPG-KEY-trinity - -Source11: pclinuxos201304-32.jpg -Source12: pclinuxos201304-64.jpg - -Requires: trinity-tdeaccessibility >= %{version} -Requires: trinity-tdeaddons >= %{version} -Requires: trinity-tdeadmin >= %{version} -Requires: trinity-tdeartwork >= %{version} -Requires: trinity-tdebase >= %{version} -Requires: trinity-tdebindings >= %{version} -Requires: trinity-tdeedu >= %{version} -Requires: trinity-tdegames >= %{version} -Requires: trinity-tdegraphics >= %{version} -Requires: trinity-tdemultimedia >= %{version} -Requires: trinity-tdenetwork >= %{version} -Requires: trinity-tdepim >= %{version} -Requires: trinity-tdeutils >= %{version} -Requires: trinity-tdetoys >= %{version} -Requires: hal - -%if 0%{?rhel} || 0%{?fedora} -# YUM configuration file -Requires: trinity-repo >= %{version} -%endif - -%description -The TDE project aims to keep the KDE3.5 computing style alive, as well as -polish off any rough edges that were present as of KDE 3.5.10. Along -the way, new useful features will be added to keep the environment -up-to-date. -Toward that end, significant new enhancements have already been made in -areas such as display control, network connectivity, user -authentication, and much more! - -%files - -########## - -%package devel -Group: User Interface/Desktops -Summary: Meta-package to install TDE development tools - -Obsoletes: trinity-desktop-dev < %{version}-%{release} -Provides: trinity-desktop-dev = %{version}-%{release} - -Requires: trinity-tdesdk >= %{version} -Requires: trinity-tdevelop >= %{version} -Requires: trinity-tdewebdev >= %{version} - -%description devel -%{summary} - -%files devel - -########## - -%package applications -Group: User Interface/Desktops -Summary: Meta-package to install all TDE applications - -# Some applications are disabled for now ... -# Compiz-related stuff does not work (obsolete) -#Requires: trinity-compizconfig-backend-kconfig -#Requires: trinity-desktop-effects-kde -#Requires: trinity-fusion-icon - -# Obsolete l10n package -#Requires: trinity-filelight-l10n - -# Not even an RPM package ... -#Requires: trinity-konstruct - -# Debian/Ubuntu specific ... -#Requires: trinity-adept - -# Future R14 packages -#Requires: trinity-kvpnc -#Requires: trinity-qt4-tqt-theme-engine - -# Warning, k9copy requires ffmpeg -# Warning, tderadio requires libmp3lame -Requires: trinity-abakus -Requires: trinity-amarok -Requires: trinity-basket -Requires: trinity-bibletime -Requires: trinity-digikam -Requires: trinity-dolphin -Requires: trinity-filelight -Requires: trinity-gwenview -Requires: trinity-gwenview-i18n -Requires: trinity-k3b -Requires: trinity-katapult -Requires: trinity-kbarcode -Requires: trinity-kbfx -Requires: trinity-kbookreader -Requires: trinity-kchmviewer -Requires: trinity-kcpuload -Requires: trinity-k9copy -Requires: trinity-kdiff3 -Requires: trinity-kdirstat -Requires: trinity-keep -Requires: trinity-kile -Requires: trinity-kiosktool -Requires: trinity-kmyfirewall -Requires: trinity-kmymoney -Requires: trinity-knemo -Requires: trinity-knetload -Requires: trinity-knetstats -Requires: trinity-knights -Requires: trinity-knowit -Requires: trinity-knutclient -Requires: trinity-koffice-suite -Requires: trinity-konversation -Requires: trinity-kpicosim -Requires: trinity-krename -Requires: trinity-krusader -Requires: trinity-ksplash-engine-moodin -Requires: trinity-ksquirrel -Requires: trinity-kstreamripper -Requires: trinity-ksystemlog -Requires: trinity-ktechlab -Requires: trinity-ktorrent -Requires: trinity-kuickshow -Requires: trinity-kvirc -Requires: trinity-kvkbd -Requires: trinity-twin-style-crystal -Requires: trinity-piklab -Requires: trinity-potracegui -Requires: trinity-smb4k -Requires: trinity-smartcardauth -Requires: trinity-soundkonverter -Requires: trinity-tde-guidance -Requires: trinity-tde-guidance-powermanager -Requires: trinity-tde-style-lipstik -Requires: trinity-tde-style-qtcurve -Requires: trinity-tde-systemsettings -Requires: trinity-tdeio-apt -Requires: trinity-tdeio-locate -Requires: trinity-tdeio-umountwrapper -Requires: trinity-tderadio -Requires: trinity-tdesudo -Requires: trinity-tdmtheme -Requires: trinity-tellico -Requires: trinity-wlassistant -Requires: trinity-yakuake - - -# Disabled applications for RHEL5 -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -# On RHEL 5, HAL version is too old for kpowersave . -Requires: trinity-kpowersave -# On RHEL 5, GTK2 version is too old for GTK stuff ... -Requires: trinity-gtk-qt-engine -# On RHEL 5, lilypond is not available, so no rosegarden :'-( -Requires: trinity-rosegarden -# RHEL5: kpilot library is too old -Requires: trinity-kpilot -%endif - -# This one causes several crashes . Obsolete. -#Requires: trinity-kgtk-qt3 -Obsoletes: trinity-kgtk-qt3 - -# OBSOLETE: beagle does not exist anymore. Kerry is now useless. -# RHEL, openSUSE 12: no Beagle library -Obsoletes: trinity-kerry - -# RHEL 6 only: knetworkmanager8 -# knetworkmanager9 is too unstable for now. -%if 0%{?rhel} == 6 -Requires: trinity-knetworkmanager -%endif - -# RHEL 4 -%if 0%{?rhel} >= 5 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -# HAL is too old -Requires: trinity-kima -Requires: trinity-kaffeine -Requires: trinity-kaffeine-mozilla -Requires: trinity-kmplayer -# No OTR support -Requires: trinity-kopete-otr -# No DBUS support -Requires: trinity-kdbusnotification -# Subversion 1.1 is too old -Requires: trinity-tdesvn -%endif - -%description applications -%{summary} - -%files applications - -########## - -%package extras -Group: User Interface/Desktops -Summary: Meta-package to install all extras (unofficial) TDE packages - -Requires: trinity-akode -Requires: trinity-kasablanca -#Requires: trinity-kdebluetooth -#Requires: trinity-kcheckgmail -Requires: trinity-icons-crystalsvg-updated -Requires: trinity-icons-kfaenza -Requires: trinity-icons-oxygen -Requires: trinity-kbibtex -Requires: trinity-kbiff -Requires: trinity-kcmautostart -Requires: trinity-kftpgrabber -Requires: trinity-kickoff-i18n -Requires: trinity-knmap -#Requires: trinity-knoda -Requires: trinity-ksensors -Requires: trinity-kshowmail -Requires: trinity-mplayerthumbs -Requires: trinity-style-ia-ora -Requires: trinity-tdeio-ftps-plugin -#Requires: trinity-tdeio-sysinfo-plugin -Requires: trinity-theme-baghira -Requires: trinity-tork - - -# GLIBC too old on RHEL <= 5 -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 6 -Requires: trinity-twinkle -%endif - -%description extras -%{summary} - -%files extras - -########## - -%package all -Group: User Interface/Desktops -Summary: Meta-package to install all TDE packages - -Requires: %{name} = %{version} -Requires: %{name}-applications = %{version} -Requires: %{name}-devel = %{version} -#Requires: %{name}-extras = %{version} - -%description all -%{summary} - -%files all - -########## - -%if 0%{?rhel} || 0%{?fedora} -%package -n trinity-repo -Group: User Interface/Desktops -Summary: Yum configuration files for Trinity - -%description -n trinity-repo -%{summary} - -%pre -n trinity-repo -# Make sure every Trinity related repository is deleted before installing new one. -%__rm -f %{_sysconfdir}/yum.repos.d/trinity-*.repo - -%files -n trinity-repo -%defattr(-,root,root,-) -%{_sysconfdir}/yum.repos.d/*.repo -%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-trinity -%endif - -########## - -%if 0%{?pclinuxos} -%package -n trinity-wallpaper-theme-default -Group: User Interface/Desktops -Summary: Default wallpaper for Trinity - -%description -n trinity-wallpaper-theme-default -%{summary} - -%files -n trinity-wallpaper-theme-default -%defattr(-,root,root,-) -%{tde_datadir}/wallpapers/pclinuxos32.jpg -%{tde_datadir}/wallpapers/pclinuxos64.jpg -%endif - -########## - -%prep - -%build - -%install -%__rm -rf %{?buildroot} -%__mkdir_p "%{?buildroot}%{_sysconfdir}/yum.repos.d" - -# FEDORA configuration for YUM -%if 0%{?fedora} -%__sed %{SOURCE0} \ - -e 's/\$releasever/%{fedora}/g' \ - -e 's/-fedora/-f%{fedora}/g' \ - >"%{?buildroot}%{_sysconfdir}/yum.repos.d/trinity-3.5.13.repo" -%endif - -# RHEL configuration for YUM -# $releasever is replaced with its value -%if 0%{?rhel} -%__sed %{SOURCE1} \ - -e 's/\$releasever/%{rhel}/g' \ - >"%{?buildroot}%{_sysconfdir}/yum.repos.d/trinity-3.5.13.repo" -%endif - -%if 0%{?fedora} || 0%{?rhel} -%__chmod 644 %{?buildroot}%{_sysconfdir}/yum.repos.d/*.repo -%endif - -# RPM signing key -%if 0%{?rhel} || 0%{?fedora} -%__install -D -m 644 "%{SOURCE2}" "%{?buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-trinity" -%endif - -# PCLinuxOS wallpaper -%if 0%{?pclinuxos} == 2013 -%__install -D -m 644 "%{SOURCE11}" "%{?buildroot}%{tde_datadir}/wallpapers/pclinuxos32.jpg" -%__install -D -m 644 "%{SOURCE12}" "%{?buildroot}%{tde_datadir}/wallpapers/pclinuxos64.jpg" -%endif - -%changelog -* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 -- Update to version 3.5.13.2 -- Add GPG signing key - -* Mon Oct 01 2012 Francois Andriot - 3.5.13.1-1 -- Update to version 3.5.13.1 - -* Mon Aug 06 2012 Francois Andriot - 3.5.13-6 -- Add 'applications' subpackage - -* Wed Aug 01 2012 Francois Andriot - 3.5.13-5 -- Updates to reflect new packages names -- Add Mageia 2 support -- Removes 'extras' packages - -* Wed Jun 06 2012 Francois Andriot - 3.5.13-4 -- Enable mirrorlist - -* Wed Nov 30 2011 Francois Andriot - 3.5.13-3 -- Fix repo files name and content - -* Sat Nov 12 2011 Francois Andriot - 3.5.13-2 -- Add 'repo' package diff --git a/redhat/libraries/libkdcraw/libkdcraw-14.0.0.spec b/redhat/libraries/libkdcraw/libkdcraw-14.0.0.spec new file mode 100644 index 000000000..e774348b8 --- /dev/null +++ b/redhat/libraries/libkdcraw/libkdcraw-14.0.0.spec @@ -0,0 +1,165 @@ +# Default version for this component +%define kdecomp libkdcraw + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Raw picture decoding C++ library (runtime) [Trinity] + +Version: 14.0.0 +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} + +License: GPLv2+ +Group: Environment/Libraries + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: desktop-file-utils +%if 0%{?suse_version} +BuildRequires: liblcms-devel +%else +BuildRequires: lcms-devel +%endif +BuildRequires: libjpeg-devel +BuildRequires: pkgconfig +BuildRequires: gettext + +# AUTOTOOLS +BuildRequires: automake autoconf libtool +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}ltdl-devel +%endif +%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?suse_version} >= 1220 +BuildRequires: libtool-ltdl-devel +%endif + +%description +C++ interface around dcraw binary program used to decode RAW +picture files. +This library is used by kipi-plugins, digiKam and others kipi host programs. +libkdcraw contains the library of libkdcraw. + +%package devel +Group: Development/Libraries +Summary: RAW picture decoding C++ library (development) [Trinity] +Requires: %{name} = %{version} + +%description devel +Libkdcraw is a C++ interface around dcraw binary program used to +decode Raw picture files. +libkdcraw-devel contains development files and documentation. The +library documentation is available on kdcraw.h header file. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +# RHEL4: pkgconfig files do not support 'URL' keyword . +%if 0%{?rhel} == 4 +%__sed -i %{?buildroot}%{tde_libdir}/pkgconfig/*.pc -e "s/^URL: /#URL: /" +%endif + + +%clean +%__rm -rf %{buildroot} + + +%post +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : + +%postun +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{tde_libdir}/libkdcraw.so.4 +%{tde_libdir}/libkdcraw.so.4.0.3 +%{tde_datadir}/icons/hicolor/*/apps/kdcraw.png + +%files devel +%defattr(-,root,root,-) +%{tde_libdir}/libkdcraw.so +%{tde_libdir}/libkdcraw.la +%{tde_tdeincludedir}/libkdcraw/ +%{tde_libdir}/pkgconfig/libkdcraw.pc + +%Changelog +* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 +- Initial build for TDE 3.5.13.2 diff --git a/redhat/libraries/libkdcraw/libkdcraw-3.5.13.1.spec b/redhat/libraries/libkdcraw/libkdcraw-3.5.13.1.spec new file mode 100644 index 000000000..ad7295ee1 --- /dev/null +++ b/redhat/libraries/libkdcraw/libkdcraw-3.5.13.1.spec @@ -0,0 +1,166 @@ +# Default version for this component +%define kdecomp libkdcraw + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Raw picture decoding C++ library (runtime) [Trinity] + +Version: 3.5.13.1 +Release: 1%{?dist}%{?_variant} + +License: GPLv2+ +Group: Environment/Libraries + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: desktop-file-utils +%if 0%{?suse_version} +BuildRequires: liblcms-devel +%else +BuildRequires: lcms-devel +%endif +BuildRequires: libjpeg-devel +BuildRequires: pkgconfig +BuildRequires: automake autoconf libtool +BuildRequires: gettext + + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}ltdl-devel +%else +BuildRequires: libtool-ltdl-devel +%endif + +%description +C++ interface around dcraw binary program used to decode RAW +picture files. +This library is used by kipi-plugins, digiKam and others kipi host programs. +libkdcraw contains the library of libkdcraw. + +%package devel +Group: Development/Libraries +Summary: RAW picture decoding C++ library (development) [Trinity] +Requires: %{name} = %{version} + +%description devel +Libkdcraw is a C++ interface around dcraw binary program used to +decode Raw picture files. +libkdcraw-devel contains development files and documentation. The +library documentation is available on kdcraw.h header file. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; source /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + + +%clean +%__rm -rf %{buildroot} + + +%post +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : + +%postun +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{tde_libdir}/libkdcraw.so.4 +%{tde_libdir}/libkdcraw.so.4.0.3 +%{tde_datadir}/icons/hicolor/*/apps/kdcraw.png + +%files devel +%defattr(-,root,root,-) +%{tde_libdir}/libkdcraw.so +%{tde_libdir}/libkdcraw.la +%{tde_tdeincludedir}/libkdcraw/ +%{tde_libdir}/pkgconfig/libkdcraw.pc + +%Changelog +* Tue Oct 02 2012 Francois Andriot - 3.5.13.1-1 +- Initial release for TDE 3.5.13.1 diff --git a/redhat/libraries/libkdcraw/libkdcraw-3.5.13.2.spec b/redhat/libraries/libkdcraw/libkdcraw-3.5.13.2.spec new file mode 100644 index 000000000..d2e2dfe2c --- /dev/null +++ b/redhat/libraries/libkdcraw/libkdcraw-3.5.13.2.spec @@ -0,0 +1,172 @@ +# Default version for this component +%define kdecomp libkdcraw + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Raw picture decoding C++ library (runtime) [Trinity] + +Version: 3.5.13.2 +Release: 1%{?dist}%{?_variant} + +License: GPLv2+ +Group: Environment/Libraries + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: desktop-file-utils +%if 0%{?suse_version} +BuildRequires: liblcms-devel +%else +BuildRequires: lcms-devel +%endif +BuildRequires: libjpeg-devel +BuildRequires: pkgconfig +BuildRequires: gettext + +# AUTOTOOLS +BuildRequires: automake autoconf libtool +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}ltdl-devel +%endif +%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?suse_version} >= 1220 +BuildRequires: libtool-ltdl-devel +%endif + +%description +C++ interface around dcraw binary program used to decode RAW +picture files. +This library is used by kipi-plugins, digiKam and others kipi host programs. +libkdcraw contains the library of libkdcraw. + +%package devel +Group: Development/Libraries +Summary: RAW picture decoding C++ library (development) [Trinity] +Requires: %{name} = %{version} + +%description devel +Libkdcraw is a C++ interface around dcraw binary program used to +decode Raw picture files. +libkdcraw-devel contains development files and documentation. The +library documentation is available on kdcraw.h header file. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; source /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + +# RHEL4: pkgconfig files do not support 'URL' keyword . +%if 0%{?rhel} == 4 +%__sed -i %{?buildroot}%{tde_libdir}/pkgconfig/*.pc -e "s/^URL: /#URL: /" +%endif + + +%clean +%__rm -rf %{buildroot} + + +%post +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : + +%postun +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{tde_libdir}/libkdcraw.so.4 +%{tde_libdir}/libkdcraw.so.4.0.3 +%{tde_datadir}/icons/hicolor/*/apps/kdcraw.png + +%files devel +%defattr(-,root,root,-) +%{tde_libdir}/libkdcraw.so +%{tde_libdir}/libkdcraw.la +%{tde_tdeincludedir}/libkdcraw/ +%{tde_libdir}/pkgconfig/libkdcraw.pc + +%Changelog +* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 +- Initial build for TDE 3.5.13.2 diff --git a/redhat/libraries/libkdcraw/libkdcraw-3.5.13.spec b/redhat/libraries/libkdcraw/libkdcraw-3.5.13.spec new file mode 100644 index 000000000..323eb816b --- /dev/null +++ b/redhat/libraries/libkdcraw/libkdcraw-3.5.13.spec @@ -0,0 +1,146 @@ +# Default version for this component +%define kdecomp libkdcraw + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Raw picture decoding C++ library (runtime) [Trinity] + +Version: 3.5.13 +Release: 1%{?dist}%{?_variant} + +License: GPLv2+ +Group: Environment/Libraries + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-arts-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: desktop-file-utils +BuildRequires: lcms-devel, libjpeg-devel, pkgconfig +BuildRequires: automake autoconf libtool +BuildRequires: gettext + + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}ltdl-devel +%else +BuildRequires: libtool-ltdl-devel +%endif + +%description +C++ interface around dcraw binary program used to decode RAW +picture files. +This library is used by kipi-plugins, digiKam and others kipi host programs. +libkdcraw contains the library of libkdcraw. + +%package devel +Group: Development/Libraries +Summary: RAW picture decoding C++ library (development) [Trinity] +Requires: %{name} = %{version} + +%description devel +Libkdcraw is a C++ interface around dcraw binary program used to +decode Raw picture files. +libkdcraw-devel contains development files and documentation. The +library documentation is available on kdcraw.h header file. + + + +%prep +%setup -q -n libraries/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; source /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_includedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + + +%clean +%__rm -rf %{buildroot} + + +%post +/sbin/ldconfig || : + +%postun +/sbin/ldconfig || : + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{tde_libdir}/libkdcraw.so.4 +%{tde_libdir}/libkdcraw.so.4.0.3 +%{tde_datadir}/icons/hicolor/*/apps/kdcraw.png + +%files devel +%defattr(-,root,root,-) +%{tde_libdir}/libkdcraw.so +%{tde_libdir}/libkdcraw.la +%{tde_includedir}/libkdcraw/ +%{tde_libdir}/pkgconfig/libkdcraw.pc + +%Changelog +* Sun Nov 06 2011 Francois Andriot - 3.5.13-1 +- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/libraries/libkdcraw/trinity-libkdcraw-14.0.0.spec b/redhat/libraries/libkdcraw/trinity-libkdcraw-14.0.0.spec deleted file mode 100644 index e774348b8..000000000 --- a/redhat/libraries/libkdcraw/trinity-libkdcraw-14.0.0.spec +++ /dev/null @@ -1,165 +0,0 @@ -# Default version for this component -%define kdecomp libkdcraw - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Raw picture decoding C++ library (runtime) [Trinity] - -Version: 14.0.0 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} - -License: GPLv2+ -Group: Environment/Libraries - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-arts-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} -BuildRequires: desktop-file-utils -%if 0%{?suse_version} -BuildRequires: liblcms-devel -%else -BuildRequires: lcms-devel -%endif -BuildRequires: libjpeg-devel -BuildRequires: pkgconfig -BuildRequires: gettext - -# AUTOTOOLS -BuildRequires: automake autoconf libtool -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}ltdl-devel -%endif -%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?suse_version} >= 1220 -BuildRequires: libtool-ltdl-devel -%endif - -%description -C++ interface around dcraw binary program used to decode RAW -picture files. -This library is used by kipi-plugins, digiKam and others kipi host programs. -libkdcraw contains the library of libkdcraw. - -%package devel -Group: Development/Libraries -Summary: RAW picture decoding C++ library (development) [Trinity] -Requires: %{name} = %{version} - -%description devel -Libkdcraw is a C++ interface around dcraw binary program used to -decode Raw picture files. -libkdcraw-devel contains development files and documentation. The -library documentation is available on kdcraw.h header file. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -# RHEL4: pkgconfig files do not support 'URL' keyword . -%if 0%{?rhel} == 4 -%__sed -i %{?buildroot}%{tde_libdir}/pkgconfig/*.pc -e "s/^URL: /#URL: /" -%endif - - -%clean -%__rm -rf %{buildroot} - - -%post -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -%postun -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_libdir}/libkdcraw.so.4 -%{tde_libdir}/libkdcraw.so.4.0.3 -%{tde_datadir}/icons/hicolor/*/apps/kdcraw.png - -%files devel -%defattr(-,root,root,-) -%{tde_libdir}/libkdcraw.so -%{tde_libdir}/libkdcraw.la -%{tde_tdeincludedir}/libkdcraw/ -%{tde_libdir}/pkgconfig/libkdcraw.pc - -%Changelog -* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 -- Initial build for TDE 3.5.13.2 diff --git a/redhat/libraries/libkdcraw/trinity-libkdcraw-3.5.13.1.spec b/redhat/libraries/libkdcraw/trinity-libkdcraw-3.5.13.1.spec deleted file mode 100644 index ad7295ee1..000000000 --- a/redhat/libraries/libkdcraw/trinity-libkdcraw-3.5.13.1.spec +++ /dev/null @@ -1,166 +0,0 @@ -# Default version for this component -%define kdecomp libkdcraw - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Raw picture decoding C++ library (runtime) [Trinity] - -Version: 3.5.13.1 -Release: 1%{?dist}%{?_variant} - -License: GPLv2+ -Group: Environment/Libraries - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-arts-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} -BuildRequires: desktop-file-utils -%if 0%{?suse_version} -BuildRequires: liblcms-devel -%else -BuildRequires: lcms-devel -%endif -BuildRequires: libjpeg-devel -BuildRequires: pkgconfig -BuildRequires: automake autoconf libtool -BuildRequires: gettext - - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}ltdl-devel -%else -BuildRequires: libtool-ltdl-devel -%endif - -%description -C++ interface around dcraw binary program used to decode RAW -picture files. -This library is used by kipi-plugins, digiKam and others kipi host programs. -libkdcraw contains the library of libkdcraw. - -%package devel -Group: Development/Libraries -Summary: RAW picture decoding C++ library (development) [Trinity] -Requires: %{name} = %{version} - -%description devel -Libkdcraw is a C++ interface around dcraw binary program used to -decode Raw picture files. -libkdcraw-devel contains development files and documentation. The -library documentation is available on kdcraw.h header file. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; source /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - - -%clean -%__rm -rf %{buildroot} - - -%post -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -%postun -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_libdir}/libkdcraw.so.4 -%{tde_libdir}/libkdcraw.so.4.0.3 -%{tde_datadir}/icons/hicolor/*/apps/kdcraw.png - -%files devel -%defattr(-,root,root,-) -%{tde_libdir}/libkdcraw.so -%{tde_libdir}/libkdcraw.la -%{tde_tdeincludedir}/libkdcraw/ -%{tde_libdir}/pkgconfig/libkdcraw.pc - -%Changelog -* Tue Oct 02 2012 Francois Andriot - 3.5.13.1-1 -- Initial release for TDE 3.5.13.1 diff --git a/redhat/libraries/libkdcraw/trinity-libkdcraw-3.5.13.2.spec b/redhat/libraries/libkdcraw/trinity-libkdcraw-3.5.13.2.spec deleted file mode 100644 index d2e2dfe2c..000000000 --- a/redhat/libraries/libkdcraw/trinity-libkdcraw-3.5.13.2.spec +++ /dev/null @@ -1,172 +0,0 @@ -# Default version for this component -%define kdecomp libkdcraw - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Raw picture decoding C++ library (runtime) [Trinity] - -Version: 3.5.13.2 -Release: 1%{?dist}%{?_variant} - -License: GPLv2+ -Group: Environment/Libraries - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-arts-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} -BuildRequires: desktop-file-utils -%if 0%{?suse_version} -BuildRequires: liblcms-devel -%else -BuildRequires: lcms-devel -%endif -BuildRequires: libjpeg-devel -BuildRequires: pkgconfig -BuildRequires: gettext - -# AUTOTOOLS -BuildRequires: automake autoconf libtool -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}ltdl-devel -%endif -%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?suse_version} >= 1220 -BuildRequires: libtool-ltdl-devel -%endif - -%description -C++ interface around dcraw binary program used to decode RAW -picture files. -This library is used by kipi-plugins, digiKam and others kipi host programs. -libkdcraw contains the library of libkdcraw. - -%package devel -Group: Development/Libraries -Summary: RAW picture decoding C++ library (development) [Trinity] -Requires: %{name} = %{version} - -%description devel -Libkdcraw is a C++ interface around dcraw binary program used to -decode Raw picture files. -libkdcraw-devel contains development files and documentation. The -library documentation is available on kdcraw.h header file. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; source /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - -# RHEL4: pkgconfig files do not support 'URL' keyword . -%if 0%{?rhel} == 4 -%__sed -i %{?buildroot}%{tde_libdir}/pkgconfig/*.pc -e "s/^URL: /#URL: /" -%endif - - -%clean -%__rm -rf %{buildroot} - - -%post -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -%postun -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_libdir}/libkdcraw.so.4 -%{tde_libdir}/libkdcraw.so.4.0.3 -%{tde_datadir}/icons/hicolor/*/apps/kdcraw.png - -%files devel -%defattr(-,root,root,-) -%{tde_libdir}/libkdcraw.so -%{tde_libdir}/libkdcraw.la -%{tde_tdeincludedir}/libkdcraw/ -%{tde_libdir}/pkgconfig/libkdcraw.pc - -%Changelog -* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 -- Initial build for TDE 3.5.13.2 diff --git a/redhat/libraries/libkdcraw/trinity-libkdcraw-3.5.13.spec b/redhat/libraries/libkdcraw/trinity-libkdcraw-3.5.13.spec deleted file mode 100644 index 323eb816b..000000000 --- a/redhat/libraries/libkdcraw/trinity-libkdcraw-3.5.13.spec +++ /dev/null @@ -1,146 +0,0 @@ -# Default version for this component -%define kdecomp libkdcraw - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Raw picture decoding C++ library (runtime) [Trinity] - -Version: 3.5.13 -Release: 1%{?dist}%{?_variant} - -License: GPLv2+ -Group: Environment/Libraries - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-arts-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: desktop-file-utils -BuildRequires: lcms-devel, libjpeg-devel, pkgconfig -BuildRequires: automake autoconf libtool -BuildRequires: gettext - - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}ltdl-devel -%else -BuildRequires: libtool-ltdl-devel -%endif - -%description -C++ interface around dcraw binary program used to decode RAW -picture files. -This library is used by kipi-plugins, digiKam and others kipi host programs. -libkdcraw contains the library of libkdcraw. - -%package devel -Group: Development/Libraries -Summary: RAW picture decoding C++ library (development) [Trinity] -Requires: %{name} = %{version} - -%description devel -Libkdcraw is a C++ interface around dcraw binary program used to -decode Raw picture files. -libkdcraw-devel contains development files and documentation. The -library documentation is available on kdcraw.h header file. - - - -%prep -%setup -q -n libraries/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; source /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --includedir=%{tde_includedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - - -%clean -%__rm -rf %{buildroot} - - -%post -/sbin/ldconfig || : - -%postun -/sbin/ldconfig || : - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_libdir}/libkdcraw.so.4 -%{tde_libdir}/libkdcraw.so.4.0.3 -%{tde_datadir}/icons/hicolor/*/apps/kdcraw.png - -%files devel -%defattr(-,root,root,-) -%{tde_libdir}/libkdcraw.so -%{tde_libdir}/libkdcraw.la -%{tde_includedir}/libkdcraw/ -%{tde_libdir}/pkgconfig/libkdcraw.pc - -%Changelog -* Sun Nov 06 2011 Francois Andriot - 3.5.13-1 -- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/libraries/libkexiv2/libkexiv2-14.0.0.spec b/redhat/libraries/libkexiv2/libkexiv2-14.0.0.spec new file mode 100644 index 000000000..537aae5cc --- /dev/null +++ b/redhat/libraries/libkexiv2/libkexiv2-14.0.0.spec @@ -0,0 +1,154 @@ +# Default version for this component +%define kdecomp libkexiv2 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Qt like interface for the libexiv2 library (runtime) [Trinity] + +Version: 14.0.0 +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} + +License: GPLv2+ +Group: Environment/Libraries + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: desktop-file-utils +BuildRequires: gettext + +# AUTOTOOLS +BuildRequires: automake autoconf libtool +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}ltdl-devel +%endif +%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?suse_version} >= 1220 +BuildRequires: libtool-ltdl-devel +%endif + +# EXIV2 +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}exiv2-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: exiv2-devel +%endif +%if 0%{?suse_version} +BuildRequires: libexiv2-devel +%endif + +%description +libkexif2 contains the library of libkexiv2. +Libkexif is a wrapper around Exiv2 library to manipulate pictures metadata. + +%package devel +Group: Development/Libraries +Summary: Qt like interface for the libexiv2 library (development) [Trinity] +Requires: %{name} = %{version} + +%description devel +libkexif2-devel contains development files and documentation for libkexiv2 +library. The library documentation is available on kexiv2.h header file. +Libkexif is a wrapper around Exiv2 library to manipulate pictures metadata. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# RHEL4: pkgconfig files do not support 'URL' keyword . +%if 0%{?rhel} == 4 +%__sed -i %{?buildroot}%{tde_libdir}/pkgconfig/*.pc -e "s/^URL: /#URL: /" +%endif + + +%clean +%__rm -rf %{buildroot} + + +%post +/sbin/ldconfig || : + +%postun +/sbin/ldconfig || : + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + + +%files +%defattr(-,root,root,-) +%{tde_libdir}/libkexiv2.so.* + +%files devel +%defattr(-,root,root,-) +%{tde_libdir}/libkexiv2.so +%{tde_libdir}/libkexiv2.la +%{tde_tdeincludedir}/libkexiv2/ +%{tde_libdir}/pkgconfig/libkexiv2.pc + + +%Changelog +* Mon Jun 03 2013 Francois Andriot - 14.0.0-1 +- Initial build for TDE 14.0.0 diff --git a/redhat/libraries/libkexiv2/libkexiv2-3.5.13.1.spec b/redhat/libraries/libkexiv2/libkexiv2-3.5.13.1.spec new file mode 100644 index 000000000..9d79a27ca --- /dev/null +++ b/redhat/libraries/libkexiv2/libkexiv2-3.5.13.1.spec @@ -0,0 +1,150 @@ +# Default version for this component +%define kdecomp libkexiv2 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Qt like interface for the libexiv2 library (runtime) [Trinity] + +Version: 3.5.13.1 +Release: 1%{?dist}%{?_variant} + +License: GPLv2+ +Group: Environment/Libraries + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: desktop-file-utils +BuildRequires: gettext +BuildRequires: automake autoconf libtool + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}exiv2-devel +BuildRequires: %{_lib}ltdl-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: exiv2-devel +BuildRequires: libtool-ltdl-devel +%endif +%if 0%{?suse_version} +BuildRequires: libexiv2-devel +BuildRequires: libtool-ltdl-devel +%endif + +%description +libkexif2 contains the library of libkexiv2. +Libkexif is a wrapper around Exiv2 library to manipulate pictures metadata. + +%package devel +Group: Development/Libraries +Summary: Qt like interface for the libexiv2 library (development) [Trinity] +Requires: %{name} = %{version} + +%description devel +libkexif2-devel contains development files and documentation for libkexiv2 +library. The library documentation is available on kexiv2.h header file. +Libkexif is a wrapper around Exiv2 library to manipulate pictures metadata. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; source /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + + +%clean +%__rm -rf %{buildroot} + + +%post +/sbin/ldconfig || : + +%postun +/sbin/ldconfig || : + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + + +%files +%defattr(-,root,root,-) +%{tde_libdir}/libkexiv2.so.* + +%files devel +%defattr(-,root,root,-) +%{tde_libdir}/libkexiv2.so +%{tde_libdir}/libkexiv2.la +%{tde_tdeincludedir}/libkexiv2/ +%{tde_libdir}/pkgconfig/libkexiv2.pc + +%Changelog +* Tue Oct 02 2012 Francois Andriot - 3.5.13.1-1 +- Initial release for TDE 3.5.13.1 diff --git a/redhat/libraries/libkexiv2/libkexiv2-3.5.13.2.spec b/redhat/libraries/libkexiv2/libkexiv2-3.5.13.2.spec new file mode 100644 index 000000000..a986160a3 --- /dev/null +++ b/redhat/libraries/libkexiv2/libkexiv2-3.5.13.2.spec @@ -0,0 +1,161 @@ +# Default version for this component +%define kdecomp libkexiv2 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Qt like interface for the libexiv2 library (runtime) [Trinity] + +Version: 3.5.13.2 +Release: 1%{?dist}%{?_variant} + +License: GPLv2+ +Group: Environment/Libraries + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: desktop-file-utils +BuildRequires: gettext + +# AUTOTOOLS +BuildRequires: automake autoconf libtool +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}ltdl-devel +%endif +%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?suse_version} >= 1220 +BuildRequires: libtool-ltdl-devel +%endif + +# EXIV2 +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}exiv2-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: exiv2-devel +%endif +%if 0%{?suse_version} +BuildRequires: libexiv2-devel +%endif + +%description +libkexif2 contains the library of libkexiv2. +Libkexif is a wrapper around Exiv2 library to manipulate pictures metadata. + +%package devel +Group: Development/Libraries +Summary: Qt like interface for the libexiv2 library (development) [Trinity] +Requires: %{name} = %{version} + +%description devel +libkexif2-devel contains development files and documentation for libkexiv2 +library. The library documentation is available on kexiv2.h header file. +Libkexif is a wrapper around Exiv2 library to manipulate pictures metadata. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; source /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# RHEL4: pkgconfig files do not support 'URL' keyword . +%if 0%{?rhel} == 4 +%__sed -i %{?buildroot}%{tde_libdir}/pkgconfig/*.pc -e "s/^URL: /#URL: /" +%endif + + +%clean +%__rm -rf %{buildroot} + + +%post +/sbin/ldconfig || : + +%postun +/sbin/ldconfig || : + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + + +%files +%defattr(-,root,root,-) +%{tde_libdir}/libkexiv2.so.* + +%files devel +%defattr(-,root,root,-) +%{tde_libdir}/libkexiv2.so +%{tde_libdir}/libkexiv2.la +%{tde_tdeincludedir}/libkexiv2/ +%{tde_libdir}/pkgconfig/libkexiv2.pc + + +%Changelog +* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 +- Initial build for TDE 3.5.13.2 diff --git a/redhat/libraries/libkexiv2/libkexiv2-3.5.13.spec b/redhat/libraries/libkexiv2/libkexiv2-3.5.13.spec new file mode 100644 index 000000000..d299cf0fb --- /dev/null +++ b/redhat/libraries/libkexiv2/libkexiv2-3.5.13.spec @@ -0,0 +1,139 @@ +# Default version for this component +%define kdecomp libkexiv2 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Qt like interface for the libexiv2 library (runtime) [Trinity] + +Version: 3.5.13 +Release: 1%{?dist}%{?_variant} + +License: GPLv2+ +Group: Environment/Libraries + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +BuildRequires: tqtinterface-devel >= 3.5.13 +BuildRequires: trinity-arts-devel >= 3.5.13 +BuildRequires: trinity-tdelibs-devel >= 3.5.13 +BuildRequires: desktop-file-utils +BuildRequires: gettext +BuildRequires: automake autoconf libtool + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}exiv2-devel +BuildRequires: %{_lib}ltdl-devel +%else +BuildRequires: exiv2-devel +BuildRequires: libtool-ltdl-devel +%endif + +%description +libkexif2 contains the library of libkexiv2. +Libkexif is a wrapper around Exiv2 library to manipulate pictures metadata. + +%package devel +Group: Development/Libraries +Summary: Qt like interface for the libexiv2 library (development) [Trinity] +Requires: %{name} = %{version} + +%description devel +libkexif2-devel contains development files and documentation for libkexiv2 +library. The library documentation is available on kexiv2.h header file. +Libkexif is a wrapper around Exiv2 library to manipulate pictures metadata. + + + +%prep +%setup -q -n libraries/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; source /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_includedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + + +%clean +%__rm -rf %{buildroot} + + +%post +/sbin/ldconfig || : + +%postun +/sbin/ldconfig || : + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + + +%files +%defattr(-,root,root,-) +%{tde_libdir}/libkexiv2.so.* + +%files devel +%defattr(-,root,root,-) +%{tde_libdir}/libkexiv2.so +%{tde_libdir}/libkexiv2.la +%{tde_includedir}/libkexiv2/ +%{tde_libdir}/pkgconfig/libkexiv2.pc + +%Changelog +* Sun Nov 06 2011 Francois Andriot - 3.5.13-1 +- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/libraries/libkexiv2/trinity-libkexiv2-14.0.0.spec b/redhat/libraries/libkexiv2/trinity-libkexiv2-14.0.0.spec deleted file mode 100644 index 537aae5cc..000000000 --- a/redhat/libraries/libkexiv2/trinity-libkexiv2-14.0.0.spec +++ /dev/null @@ -1,154 +0,0 @@ -# Default version for this component -%define kdecomp libkexiv2 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Qt like interface for the libexiv2 library (runtime) [Trinity] - -Version: 14.0.0 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} - -License: GPLv2+ -Group: Environment/Libraries - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-arts-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} -BuildRequires: desktop-file-utils -BuildRequires: gettext - -# AUTOTOOLS -BuildRequires: automake autoconf libtool -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}ltdl-devel -%endif -%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?suse_version} >= 1220 -BuildRequires: libtool-ltdl-devel -%endif - -# EXIV2 -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}exiv2-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: exiv2-devel -%endif -%if 0%{?suse_version} -BuildRequires: libexiv2-devel -%endif - -%description -libkexif2 contains the library of libkexiv2. -Libkexif is a wrapper around Exiv2 library to manipulate pictures metadata. - -%package devel -Group: Development/Libraries -Summary: Qt like interface for the libexiv2 library (development) [Trinity] -Requires: %{name} = %{version} - -%description devel -libkexif2-devel contains development files and documentation for libkexiv2 -library. The library documentation is available on kexiv2.h header file. -Libkexif is a wrapper around Exiv2 library to manipulate pictures metadata. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --libdir=%{tde_libdir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# RHEL4: pkgconfig files do not support 'URL' keyword . -%if 0%{?rhel} == 4 -%__sed -i %{?buildroot}%{tde_libdir}/pkgconfig/*.pc -e "s/^URL: /#URL: /" -%endif - - -%clean -%__rm -rf %{buildroot} - - -%post -/sbin/ldconfig || : - -%postun -/sbin/ldconfig || : - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - - -%files -%defattr(-,root,root,-) -%{tde_libdir}/libkexiv2.so.* - -%files devel -%defattr(-,root,root,-) -%{tde_libdir}/libkexiv2.so -%{tde_libdir}/libkexiv2.la -%{tde_tdeincludedir}/libkexiv2/ -%{tde_libdir}/pkgconfig/libkexiv2.pc - - -%Changelog -* Mon Jun 03 2013 Francois Andriot - 14.0.0-1 -- Initial build for TDE 14.0.0 diff --git a/redhat/libraries/libkexiv2/trinity-libkexiv2-3.5.13.1.spec b/redhat/libraries/libkexiv2/trinity-libkexiv2-3.5.13.1.spec deleted file mode 100644 index 9d79a27ca..000000000 --- a/redhat/libraries/libkexiv2/trinity-libkexiv2-3.5.13.1.spec +++ /dev/null @@ -1,150 +0,0 @@ -# Default version for this component -%define kdecomp libkexiv2 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Qt like interface for the libexiv2 library (runtime) [Trinity] - -Version: 3.5.13.1 -Release: 1%{?dist}%{?_variant} - -License: GPLv2+ -Group: Environment/Libraries - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-arts-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} -BuildRequires: desktop-file-utils -BuildRequires: gettext -BuildRequires: automake autoconf libtool - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}exiv2-devel -BuildRequires: %{_lib}ltdl-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: exiv2-devel -BuildRequires: libtool-ltdl-devel -%endif -%if 0%{?suse_version} -BuildRequires: libexiv2-devel -BuildRequires: libtool-ltdl-devel -%endif - -%description -libkexif2 contains the library of libkexiv2. -Libkexif is a wrapper around Exiv2 library to manipulate pictures metadata. - -%package devel -Group: Development/Libraries -Summary: Qt like interface for the libexiv2 library (development) [Trinity] -Requires: %{name} = %{version} - -%description devel -libkexif2-devel contains development files and documentation for libkexiv2 -library. The library documentation is available on kexiv2.h header file. -Libkexif is a wrapper around Exiv2 library to manipulate pictures metadata. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; source /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --libdir=%{tde_libdir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - - -%clean -%__rm -rf %{buildroot} - - -%post -/sbin/ldconfig || : - -%postun -/sbin/ldconfig || : - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - - -%files -%defattr(-,root,root,-) -%{tde_libdir}/libkexiv2.so.* - -%files devel -%defattr(-,root,root,-) -%{tde_libdir}/libkexiv2.so -%{tde_libdir}/libkexiv2.la -%{tde_tdeincludedir}/libkexiv2/ -%{tde_libdir}/pkgconfig/libkexiv2.pc - -%Changelog -* Tue Oct 02 2012 Francois Andriot - 3.5.13.1-1 -- Initial release for TDE 3.5.13.1 diff --git a/redhat/libraries/libkexiv2/trinity-libkexiv2-3.5.13.2.spec b/redhat/libraries/libkexiv2/trinity-libkexiv2-3.5.13.2.spec deleted file mode 100644 index a986160a3..000000000 --- a/redhat/libraries/libkexiv2/trinity-libkexiv2-3.5.13.2.spec +++ /dev/null @@ -1,161 +0,0 @@ -# Default version for this component -%define kdecomp libkexiv2 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Qt like interface for the libexiv2 library (runtime) [Trinity] - -Version: 3.5.13.2 -Release: 1%{?dist}%{?_variant} - -License: GPLv2+ -Group: Environment/Libraries - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-arts-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} -BuildRequires: desktop-file-utils -BuildRequires: gettext - -# AUTOTOOLS -BuildRequires: automake autoconf libtool -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}ltdl-devel -%endif -%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?suse_version} >= 1220 -BuildRequires: libtool-ltdl-devel -%endif - -# EXIV2 -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}exiv2-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: exiv2-devel -%endif -%if 0%{?suse_version} -BuildRequires: libexiv2-devel -%endif - -%description -libkexif2 contains the library of libkexiv2. -Libkexif is a wrapper around Exiv2 library to manipulate pictures metadata. - -%package devel -Group: Development/Libraries -Summary: Qt like interface for the libexiv2 library (development) [Trinity] -Requires: %{name} = %{version} - -%description devel -libkexif2-devel contains development files and documentation for libkexiv2 -library. The library documentation is available on kexiv2.h header file. -Libkexif is a wrapper around Exiv2 library to manipulate pictures metadata. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; source /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --libdir=%{tde_libdir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# RHEL4: pkgconfig files do not support 'URL' keyword . -%if 0%{?rhel} == 4 -%__sed -i %{?buildroot}%{tde_libdir}/pkgconfig/*.pc -e "s/^URL: /#URL: /" -%endif - - -%clean -%__rm -rf %{buildroot} - - -%post -/sbin/ldconfig || : - -%postun -/sbin/ldconfig || : - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - - -%files -%defattr(-,root,root,-) -%{tde_libdir}/libkexiv2.so.* - -%files devel -%defattr(-,root,root,-) -%{tde_libdir}/libkexiv2.so -%{tde_libdir}/libkexiv2.la -%{tde_tdeincludedir}/libkexiv2/ -%{tde_libdir}/pkgconfig/libkexiv2.pc - - -%Changelog -* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 -- Initial build for TDE 3.5.13.2 diff --git a/redhat/libraries/libkexiv2/trinity-libkexiv2-3.5.13.spec b/redhat/libraries/libkexiv2/trinity-libkexiv2-3.5.13.spec deleted file mode 100644 index d299cf0fb..000000000 --- a/redhat/libraries/libkexiv2/trinity-libkexiv2-3.5.13.spec +++ /dev/null @@ -1,139 +0,0 @@ -# Default version for this component -%define kdecomp libkexiv2 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Qt like interface for the libexiv2 library (runtime) [Trinity] - -Version: 3.5.13 -Release: 1%{?dist}%{?_variant} - -License: GPLv2+ -Group: Environment/Libraries - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel >= 3.5.13 -BuildRequires: trinity-arts-devel >= 3.5.13 -BuildRequires: trinity-tdelibs-devel >= 3.5.13 -BuildRequires: desktop-file-utils -BuildRequires: gettext -BuildRequires: automake autoconf libtool - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}exiv2-devel -BuildRequires: %{_lib}ltdl-devel -%else -BuildRequires: exiv2-devel -BuildRequires: libtool-ltdl-devel -%endif - -%description -libkexif2 contains the library of libkexiv2. -Libkexif is a wrapper around Exiv2 library to manipulate pictures metadata. - -%package devel -Group: Development/Libraries -Summary: Qt like interface for the libexiv2 library (development) [Trinity] -Requires: %{name} = %{version} - -%description devel -libkexif2-devel contains development files and documentation for libkexiv2 -library. The library documentation is available on kexiv2.h header file. -Libkexif is a wrapper around Exiv2 library to manipulate pictures metadata. - - - -%prep -%setup -q -n libraries/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; source /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --libdir=%{tde_libdir} \ - --includedir=%{tde_includedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - - -%clean -%__rm -rf %{buildroot} - - -%post -/sbin/ldconfig || : - -%postun -/sbin/ldconfig || : - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - - -%files -%defattr(-,root,root,-) -%{tde_libdir}/libkexiv2.so.* - -%files devel -%defattr(-,root,root,-) -%{tde_libdir}/libkexiv2.so -%{tde_libdir}/libkexiv2.la -%{tde_includedir}/libkexiv2/ -%{tde_libdir}/pkgconfig/libkexiv2.pc - -%Changelog -* Sun Nov 06 2011 Francois Andriot - 3.5.13-1 -- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/libraries/libkipi/libkipi-14.0.0.spec b/redhat/libraries/libkipi/libkipi-14.0.0.spec new file mode 100644 index 000000000..dda363ec7 --- /dev/null +++ b/redhat/libraries/libkipi/libkipi-14.0.0.spec @@ -0,0 +1,169 @@ +# Default version for this component +%define tdecomp libkipi + + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: library for apps that want to use kipi-plugins (runtime version) [Trinity] + +Version: 14.0.0 +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} + +License: GPLv2+ +Group: Environment/Libraries + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: desktop-file-utils +%if 0%{?suse_version} +BuildRequires: liblcms-devel +%else +BuildRequires: lcms-devel +%endif +BuildRequires: libjpeg-devel +BuildRequires: pkgconfig +BuildRequires: gettext + +# AUTOTOOLS +BuildRequires: automake autoconf libtool +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}ltdl-devel +%endif +%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?suse_version} >= 1220 +BuildRequires: libtool-ltdl-devel +%endif + +%description +Libkipi is a library + o that contains common routines and widget used by kipi-plugins + o to ease implementation of the kipi-plugins interface in an application + that wants to use kipi-plugins + +Homepage: http://www.kipi-plugins.org/ + + +%package devel +Group: Development/Libraries +Summary: library for apps that want to use kipi-plugins (development version) [Trinity] +Requires: %{name} = %{version} + +%description devel +Libkipi is a library + o that contains common routines and widget used by kipi-plugins + o to ease implementation of the kipi-plugins interface in an application + that wants to use kipi-plugins + +This package contains development files and documentation for libkipi library. +Homepage: http://www.kipi-plugins.org/ + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{tdecomp} + + +%clean +%__rm -rf %{buildroot} + + +%post +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : + +%postun +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + + +%files -f %{tdecomp}.lang +%defattr(-,root,root,-) +%{tde_libdir}/libkipi.so.0 +%{tde_libdir}/libkipi.so.0.1.1 +%{tde_datadir}/apps/kipi/ +%{tde_datadir}/icons/hicolor/*/apps/kipi.png +%{tde_datadir}/servicetypes/kipiplugin.desktop + +%files devel +%defattr(-,root,root,-) +%{tde_libdir}/libkipi.so +%{tde_libdir}/libkipi.la +%{tde_tdeincludedir}/libkipi/ +%{tde_libdir}/pkgconfig/libkipi.pc + +%Changelog +* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 +- Initial build for TDE 3.5.13.2 diff --git a/redhat/libraries/libkipi/libkipi-3.5.13.1.spec b/redhat/libraries/libkipi/libkipi-3.5.13.1.spec new file mode 100644 index 000000000..6831bd301 --- /dev/null +++ b/redhat/libraries/libkipi/libkipi-3.5.13.1.spec @@ -0,0 +1,172 @@ +# Default version for this component +%define kdecomp libkipi + + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: library for apps that want to use kipi-plugins (runtime version) [Trinity] + +Version: 3.5.13.1 +Release: 1%{?dist}%{?_variant} + +License: GPLv2+ +Group: Environment/Libraries + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: desktop-file-utils +%if 0%{?suse_version} +BuildRequires: liblcms-devel +%else +BuildRequires: lcms-devel +%endif +BuildRequires: libjpeg-devel +BuildRequires: pkgconfig +BuildRequires: automake autoconf libtool +BuildRequires: gettext + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}ltdl-devel +%else +BuildRequires: libtool-ltdl-devel +%endif + +%description +Libkipi is a library + o that contains common routines and widget used by kipi-plugins + o to ease implementation of the kipi-plugins interface in an application + that wants to use kipi-plugins + +Homepage: http://www.kipi-plugins.org/ + + +%package devel +Group: Development/Libraries +Summary: library for apps that want to use kipi-plugins (development version) [Trinity] +Requires: %{name} = %{version} + +%description devel +Libkipi is a library + o that contains common routines and widget used by kipi-plugins + o to ease implementation of the kipi-plugins interface in an application + that wants to use kipi-plugins + +This package contains development files and documentation for libkipi library. +Homepage: http://www.kipi-plugins.org/ + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + +%build +unset QTDIR || : ; source /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + + +%clean +%__rm -rf %{buildroot} + + +%post +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : + +%postun +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{tde_libdir}/libkipi.so.0 +%{tde_libdir}/libkipi.so.0.1.1 +%{tde_datadir}/apps/kipi/ +%{tde_datadir}/icons/hicolor/*/apps/kipi.png +%{tde_datadir}/servicetypes/kipiplugin.desktop + +%files devel +%defattr(-,root,root,-) +%{tde_libdir}/libkipi.so +%{tde_libdir}/libkipi.la +%{tde_tdeincludedir}/libkipi/ +%{tde_libdir}/pkgconfig/libkipi.pc + +%Changelog +* Tue Oct 02 2012 Francois Andriot - 3.5.13.1-1 +- Initial release for TDE 3.5.13.1 diff --git a/redhat/libraries/libkipi/libkipi-3.5.13.2.spec b/redhat/libraries/libkipi/libkipi-3.5.13.2.spec new file mode 100644 index 000000000..f430a3985 --- /dev/null +++ b/redhat/libraries/libkipi/libkipi-3.5.13.2.spec @@ -0,0 +1,176 @@ +# Default version for this component +%define tdecomp libkipi + + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{tdecomp} +Summary: library for apps that want to use kipi-plugins (runtime version) [Trinity] + +Version: 3.5.13.2 +Release: 1%{?dist}%{?_variant} + +License: GPLv2+ +Group: Environment/Libraries + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}.tar.gz + +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: desktop-file-utils +%if 0%{?suse_version} +BuildRequires: liblcms-devel +%else +BuildRequires: lcms-devel +%endif +BuildRequires: libjpeg-devel +BuildRequires: pkgconfig +BuildRequires: gettext + +# AUTOTOOLS +BuildRequires: automake autoconf libtool +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}ltdl-devel +%endif +%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?suse_version} >= 1220 +BuildRequires: libtool-ltdl-devel +%endif + +%description +Libkipi is a library + o that contains common routines and widget used by kipi-plugins + o to ease implementation of the kipi-plugins interface in an application + that wants to use kipi-plugins + +Homepage: http://www.kipi-plugins.org/ + + +%package devel +Group: Development/Libraries +Summary: library for apps that want to use kipi-plugins (development version) [Trinity] +Requires: %{name} = %{version} + +%description devel +Libkipi is a library + o that contains common routines and widget used by kipi-plugins + o to ease implementation of the kipi-plugins interface in an application + that wants to use kipi-plugins + +This package contains development files and documentation for libkipi library. +Homepage: http://www.kipi-plugins.org/ + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; source /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{tdecomp} + + +%clean +%__rm -rf %{buildroot} + + +%post +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : + +%postun +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + + +%files -f %{tdecomp}.lang +%defattr(-,root,root,-) +%{tde_libdir}/libkipi.so.0 +%{tde_libdir}/libkipi.so.0.1.1 +%{tde_datadir}/apps/kipi/ +%{tde_datadir}/icons/hicolor/*/apps/kipi.png +%{tde_datadir}/servicetypes/kipiplugin.desktop + +%files devel +%defattr(-,root,root,-) +%{tde_libdir}/libkipi.so +%{tde_libdir}/libkipi.la +%{tde_tdeincludedir}/libkipi/ +%{tde_libdir}/pkgconfig/libkipi.pc + +%Changelog +* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 +- Initial build for TDE 3.5.13.2 diff --git a/redhat/libraries/libkipi/libkipi-3.5.13.spec b/redhat/libraries/libkipi/libkipi-3.5.13.spec new file mode 100644 index 000000000..49c202b2d --- /dev/null +++ b/redhat/libraries/libkipi/libkipi-3.5.13.spec @@ -0,0 +1,150 @@ +# Default version for this component +%define kdecomp libkipi + + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: library for apps that want to use kipi-plugins (runtime version) [Trinity] + +Version: 3.5.13 +Release: 1%{?dist}%{?_variant} + +License: GPLv2+ +Group: Environment/Libraries + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-arts-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: desktop-file-utils +BuildRequires: lcms-devel, libjpeg-devel, pkgconfig +BuildRequires: automake autoconf libtool +BuildRequires: gettext + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}ltdl-devel +%else +BuildRequires: libtool-ltdl-devel +%endif + +%description +Libkipi is a library + o that contains common routines and widget used by kipi-plugins + o to ease implementation of the kipi-plugins interface in an application + that wants to use kipi-plugins + +Homepage: http://www.kipi-plugins.org/ + + +%package devel +Group: Development/Libraries +Summary: library for apps that want to use kipi-plugins (development version) [Trinity] +Requires: %{name} = %{version} + +%description devel +Libkipi is a library + o that contains common routines and widget used by kipi-plugins + o to ease implementation of the kipi-plugins interface in an application + that wants to use kipi-plugins + +This package contains development files and documentation for libkipi library. +Homepage: http://www.kipi-plugins.org/ + +%prep +%setup -q -n libraries/%{kdecomp} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + +%build +unset QTDIR || : ; source /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_includedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%find_lang %{kdecomp} + + +%clean +%__rm -rf %{buildroot} + + +%post +/sbin/ldconfig || : + +%postun +/sbin/ldconfig || : + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + +%files -f %{kdecomp}.lang +%defattr(-,root,root,-) +%{tde_libdir}/libkipi.so.0 +%{tde_libdir}/libkipi.so.0.1.1 +%{tde_datadir}/apps/kipi/ +%{tde_datadir}/icons/hicolor/*/apps/kipi.png +%{tde_datadir}/servicetypes/kipiplugin.desktop + +%files devel +%defattr(-,root,root,-) +%{tde_libdir}/libkipi.so +%{tde_libdir}/libkipi.la +%{tde_includedir}/libkipi/ +%{tde_libdir}/pkgconfig/libkipi.pc + +%Changelog +* Sun Nov 06 2011 Francois Andriot - 3.5.13-1 +- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/libraries/libkipi/trinity-libkipi-14.0.0.spec b/redhat/libraries/libkipi/trinity-libkipi-14.0.0.spec deleted file mode 100644 index dda363ec7..000000000 --- a/redhat/libraries/libkipi/trinity-libkipi-14.0.0.spec +++ /dev/null @@ -1,169 +0,0 @@ -# Default version for this component -%define tdecomp libkipi - - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: library for apps that want to use kipi-plugins (runtime version) [Trinity] - -Version: 14.0.0 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} - -License: GPLv2+ -Group: Environment/Libraries - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-arts-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} -BuildRequires: desktop-file-utils -%if 0%{?suse_version} -BuildRequires: liblcms-devel -%else -BuildRequires: lcms-devel -%endif -BuildRequires: libjpeg-devel -BuildRequires: pkgconfig -BuildRequires: gettext - -# AUTOTOOLS -BuildRequires: automake autoconf libtool -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}ltdl-devel -%endif -%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?suse_version} >= 1220 -BuildRequires: libtool-ltdl-devel -%endif - -%description -Libkipi is a library - o that contains common routines and widget used by kipi-plugins - o to ease implementation of the kipi-plugins interface in an application - that wants to use kipi-plugins - -Homepage: http://www.kipi-plugins.org/ - - -%package devel -Group: Development/Libraries -Summary: library for apps that want to use kipi-plugins (development version) [Trinity] -Requires: %{name} = %{version} - -%description devel -Libkipi is a library - o that contains common routines and widget used by kipi-plugins - o to ease implementation of the kipi-plugins interface in an application - that wants to use kipi-plugins - -This package contains development files and documentation for libkipi library. -Homepage: http://www.kipi-plugins.org/ - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{tdecomp} - - -%clean -%__rm -rf %{buildroot} - - -%post -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -%postun -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - - -%files -f %{tdecomp}.lang -%defattr(-,root,root,-) -%{tde_libdir}/libkipi.so.0 -%{tde_libdir}/libkipi.so.0.1.1 -%{tde_datadir}/apps/kipi/ -%{tde_datadir}/icons/hicolor/*/apps/kipi.png -%{tde_datadir}/servicetypes/kipiplugin.desktop - -%files devel -%defattr(-,root,root,-) -%{tde_libdir}/libkipi.so -%{tde_libdir}/libkipi.la -%{tde_tdeincludedir}/libkipi/ -%{tde_libdir}/pkgconfig/libkipi.pc - -%Changelog -* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 -- Initial build for TDE 3.5.13.2 diff --git a/redhat/libraries/libkipi/trinity-libkipi-3.5.13.1.spec b/redhat/libraries/libkipi/trinity-libkipi-3.5.13.1.spec deleted file mode 100644 index 6831bd301..000000000 --- a/redhat/libraries/libkipi/trinity-libkipi-3.5.13.1.spec +++ /dev/null @@ -1,172 +0,0 @@ -# Default version for this component -%define kdecomp libkipi - - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: library for apps that want to use kipi-plugins (runtime version) [Trinity] - -Version: 3.5.13.1 -Release: 1%{?dist}%{?_variant} - -License: GPLv2+ -Group: Environment/Libraries - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-arts-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} -BuildRequires: desktop-file-utils -%if 0%{?suse_version} -BuildRequires: liblcms-devel -%else -BuildRequires: lcms-devel -%endif -BuildRequires: libjpeg-devel -BuildRequires: pkgconfig -BuildRequires: automake autoconf libtool -BuildRequires: gettext - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}ltdl-devel -%else -BuildRequires: libtool-ltdl-devel -%endif - -%description -Libkipi is a library - o that contains common routines and widget used by kipi-plugins - o to ease implementation of the kipi-plugins interface in an application - that wants to use kipi-plugins - -Homepage: http://www.kipi-plugins.org/ - - -%package devel -Group: Development/Libraries -Summary: library for apps that want to use kipi-plugins (development version) [Trinity] -Requires: %{name} = %{version} - -%description devel -Libkipi is a library - o that contains common routines and widget used by kipi-plugins - o to ease implementation of the kipi-plugins interface in an application - that wants to use kipi-plugins - -This package contains development files and documentation for libkipi library. -Homepage: http://www.kipi-plugins.org/ - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - -%build -unset QTDIR || : ; source /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - - -%clean -%__rm -rf %{buildroot} - - -%post -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -%postun -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_libdir}/libkipi.so.0 -%{tde_libdir}/libkipi.so.0.1.1 -%{tde_datadir}/apps/kipi/ -%{tde_datadir}/icons/hicolor/*/apps/kipi.png -%{tde_datadir}/servicetypes/kipiplugin.desktop - -%files devel -%defattr(-,root,root,-) -%{tde_libdir}/libkipi.so -%{tde_libdir}/libkipi.la -%{tde_tdeincludedir}/libkipi/ -%{tde_libdir}/pkgconfig/libkipi.pc - -%Changelog -* Tue Oct 02 2012 Francois Andriot - 3.5.13.1-1 -- Initial release for TDE 3.5.13.1 diff --git a/redhat/libraries/libkipi/trinity-libkipi-3.5.13.2.spec b/redhat/libraries/libkipi/trinity-libkipi-3.5.13.2.spec deleted file mode 100644 index f430a3985..000000000 --- a/redhat/libraries/libkipi/trinity-libkipi-3.5.13.2.spec +++ /dev/null @@ -1,176 +0,0 @@ -# Default version for this component -%define tdecomp libkipi - - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{tdecomp} -Summary: library for apps that want to use kipi-plugins (runtime version) [Trinity] - -Version: 3.5.13.2 -Release: 1%{?dist}%{?_variant} - -License: GPLv2+ -Group: Environment/Libraries - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}.tar.gz - -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-arts-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} -BuildRequires: desktop-file-utils -%if 0%{?suse_version} -BuildRequires: liblcms-devel -%else -BuildRequires: lcms-devel -%endif -BuildRequires: libjpeg-devel -BuildRequires: pkgconfig -BuildRequires: gettext - -# AUTOTOOLS -BuildRequires: automake autoconf libtool -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}ltdl-devel -%endif -%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?suse_version} >= 1220 -BuildRequires: libtool-ltdl-devel -%endif - -%description -Libkipi is a library - o that contains common routines and widget used by kipi-plugins - o to ease implementation of the kipi-plugins interface in an application - that wants to use kipi-plugins - -Homepage: http://www.kipi-plugins.org/ - - -%package devel -Group: Development/Libraries -Summary: library for apps that want to use kipi-plugins (development version) [Trinity] -Requires: %{name} = %{version} - -%description devel -Libkipi is a library - o that contains common routines and widget used by kipi-plugins - o to ease implementation of the kipi-plugins interface in an application - that wants to use kipi-plugins - -This package contains development files and documentation for libkipi library. -Homepage: http://www.kipi-plugins.org/ - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; source /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{tdecomp} - - -%clean -%__rm -rf %{buildroot} - - -%post -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -%postun -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - - -%files -f %{tdecomp}.lang -%defattr(-,root,root,-) -%{tde_libdir}/libkipi.so.0 -%{tde_libdir}/libkipi.so.0.1.1 -%{tde_datadir}/apps/kipi/ -%{tde_datadir}/icons/hicolor/*/apps/kipi.png -%{tde_datadir}/servicetypes/kipiplugin.desktop - -%files devel -%defattr(-,root,root,-) -%{tde_libdir}/libkipi.so -%{tde_libdir}/libkipi.la -%{tde_tdeincludedir}/libkipi/ -%{tde_libdir}/pkgconfig/libkipi.pc - -%Changelog -* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 -- Initial build for TDE 3.5.13.2 diff --git a/redhat/libraries/libkipi/trinity-libkipi-3.5.13.spec b/redhat/libraries/libkipi/trinity-libkipi-3.5.13.spec deleted file mode 100644 index 49c202b2d..000000000 --- a/redhat/libraries/libkipi/trinity-libkipi-3.5.13.spec +++ /dev/null @@ -1,150 +0,0 @@ -# Default version for this component -%define kdecomp libkipi - - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: library for apps that want to use kipi-plugins (runtime version) [Trinity] - -Version: 3.5.13 -Release: 1%{?dist}%{?_variant} - -License: GPLv2+ -Group: Environment/Libraries - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-arts-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: desktop-file-utils -BuildRequires: lcms-devel, libjpeg-devel, pkgconfig -BuildRequires: automake autoconf libtool -BuildRequires: gettext - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}ltdl-devel -%else -BuildRequires: libtool-ltdl-devel -%endif - -%description -Libkipi is a library - o that contains common routines and widget used by kipi-plugins - o to ease implementation of the kipi-plugins interface in an application - that wants to use kipi-plugins - -Homepage: http://www.kipi-plugins.org/ - - -%package devel -Group: Development/Libraries -Summary: library for apps that want to use kipi-plugins (development version) [Trinity] -Requires: %{name} = %{version} - -%description devel -Libkipi is a library - o that contains common routines and widget used by kipi-plugins - o to ease implementation of the kipi-plugins interface in an application - that wants to use kipi-plugins - -This package contains development files and documentation for libkipi library. -Homepage: http://www.kipi-plugins.org/ - -%prep -%setup -q -n libraries/%{kdecomp} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - -%build -unset QTDIR || : ; source /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --includedir=%{tde_includedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%find_lang %{kdecomp} - - -%clean -%__rm -rf %{buildroot} - - -%post -/sbin/ldconfig || : - -%postun -/sbin/ldconfig || : - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - -%files -f %{kdecomp}.lang -%defattr(-,root,root,-) -%{tde_libdir}/libkipi.so.0 -%{tde_libdir}/libkipi.so.0.1.1 -%{tde_datadir}/apps/kipi/ -%{tde_datadir}/icons/hicolor/*/apps/kipi.png -%{tde_datadir}/servicetypes/kipiplugin.desktop - -%files devel -%defattr(-,root,root,-) -%{tde_libdir}/libkipi.so -%{tde_libdir}/libkipi.la -%{tde_includedir}/libkipi/ -%{tde_libdir}/pkgconfig/libkipi.pc - -%Changelog -* Sun Nov 06 2011 Francois Andriot - 3.5.13-1 -- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15 diff --git a/redhat/libraries/libksquirrel/libksquirrel-3.5.13.1.spec b/redhat/libraries/libksquirrel/libksquirrel-3.5.13.1.spec new file mode 100644 index 000000000..3ed0af029 --- /dev/null +++ b/redhat/libraries/libksquirrel/libksquirrel-3.5.13.1.spec @@ -0,0 +1,444 @@ +# Default version for this component +%define kdecomp libksquirrel + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Trinity image viewer +Version: 0.8.0 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Environment/Libraries + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.1.tar.gz +Patch0: libksquirrel-3.5.13-detect_netpbm.patch +Patch1: libksquirrel-3.5.13-fix_docdir.patch + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-arts-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: gettext-devel +BuildRequires: transfig +BuildRequires: djvulibre + +# XMEDCON support +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} == 0 +%define with_xmedcon 1 +BuildRequires: xmedcon +BuildRequires: xmedcon-devel +%endif +%endif + +# RSVG support +%if 0%{?fedora} || 0%{?rhel} +BuildRequires: librsvg2 +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: librsvg +%endif +%if 0%{?suse_version} +BuildRequires: rsvg-view +BuildRequires: librsvg-devel +%endif + +BuildRequires: libwmf-devel + +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +BuildRequires: netpbm +%else +BuildRequires: netpbm-progs +%endif + + +%description +Runtime libraries for KSquirrel. + + +%package devel +Group: Development/Libraries +Summary: Trinity image viewer +Requires: %{name} + +%description devel +Development libraries for KSquirrel. + + +%package tools +Summary: Trinity image viewer +Group: Environment/Libraries +Requires: %{name} + +%description tools +Tools for KSquirrel. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{kdecomp}-3.5.13.1 +%patch0 -p1 +%patch1 -p1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_includedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-djvu + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%post +/sbin/ldconfig || : + +%postun +/sbin/ldconfig || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING LICENSE README +%{tde_libdir}/ksquirrel-libs/libkls_avs.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_avs.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_bmp.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_bmp.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_camera.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_camera.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_cut.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_cut.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_dds.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_dds.so.0.8.0 +%if 0%{?with_xmedcon} +%{tde_libdir}/ksquirrel-libs/libkls_dicom.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_dicom.so.0.8.0 +%endif +%{tde_libdir}/ksquirrel-libs/libkls_djvu.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_djvu.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_eps.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_eps.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_fig.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_fig.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_fli.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_fli.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_gif.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_gif.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_hdr.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_hdr.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_ico.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_ico.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_iff.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_iff.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_jbig.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_jbig.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_jpeg.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_jpeg.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_koala.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_koala.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_leaf.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_leaf.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_lif.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_lif.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_mac.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_mac.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_mdl.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_mdl.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_mng.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_mng.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_mtv.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_mtv.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_neo.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_neo.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_openexr.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_openexr.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_pcx.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_pcx.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_pi1.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_pi1.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_pi3.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_pi3.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_pix.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_pix.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_png.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_png.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_pnm.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_pnm.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_psd.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_psd.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_psp.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_psp.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_pxr.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_pxr.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_ras.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_ras.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_sct.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_sct.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_sgi.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_sgi.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_sun.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_sun.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_svg.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_svg.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_tga.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_tga.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_tiff.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_tiff.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_ttf.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_ttf.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_utah.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_utah.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_wal.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_wal.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_wbmp.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_wbmp.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_wmf.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_wmf.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_xbm.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_xbm.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_xcf.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_xcf.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_xcur.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_xcur.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_xim.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_xim.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_xpm.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_xpm.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_xwd.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_xwd.so.0.8.0 +%{tde_libdir}/libksquirrel-libs-png.so.0 +%{tde_libdir}/libksquirrel-libs-png.so.0.0.0 +%{tde_libdir}/libksquirrel-libs.so.0 +%{tde_libdir}/libksquirrel-libs.so.0.8.0 +%{tde_datadir}/ksquirrel-libs/libkls_camera.so.ui +%{tde_datadir}/ksquirrel-libs/libkls_djvu.so.ui +%{tde_datadir}/ksquirrel-libs/libkls_svg.so.ui +%{tde_datadir}/ksquirrel-libs/libkls_tiff.so.ui +%{tde_datadir}/ksquirrel-libs/libkls_xcf.so.ui +%{tde_datadir}/ksquirrel-libs/rgbmap + +%files devel +%defattr(-,root,root,-) +%{tde_includedir}/ksquirrel-libs/error.h +%{tde_includedir}/ksquirrel-libs/fileio.h +%{tde_includedir}/ksquirrel-libs/fmt_codec_base.h +%{tde_includedir}/ksquirrel-libs/fmt_defs.h +%{tde_includedir}/ksquirrel-libs/fmt_types.h +%{tde_includedir}/ksquirrel-libs/fmt_utils.h +%{tde_includedir}/ksquirrel-libs/settings.h +%{tde_libdir}/ksquirrel-libs/libkls_avs.la +%{tde_libdir}/ksquirrel-libs/libkls_avs.so +%{tde_libdir}/ksquirrel-libs/libkls_bmp.la +%{tde_libdir}/ksquirrel-libs/libkls_bmp.so +%{tde_libdir}/ksquirrel-libs/libkls_camera.la +%{tde_libdir}/ksquirrel-libs/libkls_camera.so +%{tde_libdir}/ksquirrel-libs/libkls_cut.la +%{tde_libdir}/ksquirrel-libs/libkls_cut.so +%{tde_libdir}/ksquirrel-libs/libkls_dds.la +%{tde_libdir}/ksquirrel-libs/libkls_dds.so +%if 0%{?with_xmedcon} +%{tde_libdir}/ksquirrel-libs/libkls_dicom.la +%{tde_libdir}/ksquirrel-libs/libkls_dicom.so +%endif +%{tde_libdir}/ksquirrel-libs/libkls_djvu.la +%{tde_libdir}/ksquirrel-libs/libkls_djvu.so +%{tde_libdir}/ksquirrel-libs/libkls_eps.la +%{tde_libdir}/ksquirrel-libs/libkls_eps.so +%{tde_libdir}/ksquirrel-libs/libkls_fig.la +%{tde_libdir}/ksquirrel-libs/libkls_fig.so +%{tde_libdir}/ksquirrel-libs/libkls_fli.la +%{tde_libdir}/ksquirrel-libs/libkls_fli.so +%{tde_libdir}/ksquirrel-libs/libkls_gif.la +%{tde_libdir}/ksquirrel-libs/libkls_gif.so +%{tde_libdir}/ksquirrel-libs/libkls_hdr.la +%{tde_libdir}/ksquirrel-libs/libkls_hdr.so +%{tde_libdir}/ksquirrel-libs/libkls_ico.la +%{tde_libdir}/ksquirrel-libs/libkls_ico.so +%{tde_libdir}/ksquirrel-libs/libkls_iff.la +%{tde_libdir}/ksquirrel-libs/libkls_iff.so +%{tde_libdir}/ksquirrel-libs/libkls_jbig.la +%{tde_libdir}/ksquirrel-libs/libkls_jbig.so +%{tde_libdir}/ksquirrel-libs/libkls_jpeg.la +%{tde_libdir}/ksquirrel-libs/libkls_jpeg.so +%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.la +%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.so +%{tde_libdir}/ksquirrel-libs/libkls_koala.la +%{tde_libdir}/ksquirrel-libs/libkls_koala.so +%{tde_libdir}/ksquirrel-libs/libkls_leaf.la +%{tde_libdir}/ksquirrel-libs/libkls_leaf.so +%{tde_libdir}/ksquirrel-libs/libkls_lif.la +%{tde_libdir}/ksquirrel-libs/libkls_lif.so +%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.la +%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.so +%{tde_libdir}/ksquirrel-libs/libkls_mac.la +%{tde_libdir}/ksquirrel-libs/libkls_mac.so +%{tde_libdir}/ksquirrel-libs/libkls_mdl.la +%{tde_libdir}/ksquirrel-libs/libkls_mdl.so +%{tde_libdir}/ksquirrel-libs/libkls_mng.la +%{tde_libdir}/ksquirrel-libs/libkls_mng.so +%{tde_libdir}/ksquirrel-libs/libkls_mtv.la +%{tde_libdir}/ksquirrel-libs/libkls_mtv.so +%{tde_libdir}/ksquirrel-libs/libkls_neo.la +%{tde_libdir}/ksquirrel-libs/libkls_neo.so +%{tde_libdir}/ksquirrel-libs/libkls_openexr.la +%{tde_libdir}/ksquirrel-libs/libkls_openexr.so +%{tde_libdir}/ksquirrel-libs/libkls_pcx.la +%{tde_libdir}/ksquirrel-libs/libkls_pcx.so +%{tde_libdir}/ksquirrel-libs/libkls_pi1.la +%{tde_libdir}/ksquirrel-libs/libkls_pi1.so +%{tde_libdir}/ksquirrel-libs/libkls_pi3.la +%{tde_libdir}/ksquirrel-libs/libkls_pi3.so +%{tde_libdir}/ksquirrel-libs/libkls_pix.la +%{tde_libdir}/ksquirrel-libs/libkls_pix.so +%{tde_libdir}/ksquirrel-libs/libkls_png.la +%{tde_libdir}/ksquirrel-libs/libkls_png.so +%{tde_libdir}/ksquirrel-libs/libkls_pnm.la +%{tde_libdir}/ksquirrel-libs/libkls_pnm.so +%{tde_libdir}/ksquirrel-libs/libkls_psd.la +%{tde_libdir}/ksquirrel-libs/libkls_psd.so +%{tde_libdir}/ksquirrel-libs/libkls_psp.la +%{tde_libdir}/ksquirrel-libs/libkls_psp.so +%{tde_libdir}/ksquirrel-libs/libkls_pxr.la +%{tde_libdir}/ksquirrel-libs/libkls_pxr.so +%{tde_libdir}/ksquirrel-libs/libkls_ras.la +%{tde_libdir}/ksquirrel-libs/libkls_ras.so +%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.la +%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.so +%{tde_libdir}/ksquirrel-libs/libkls_sct.la +%{tde_libdir}/ksquirrel-libs/libkls_sct.so +%{tde_libdir}/ksquirrel-libs/libkls_sgi.la +%{tde_libdir}/ksquirrel-libs/libkls_sgi.so +%{tde_libdir}/ksquirrel-libs/libkls_sun.la +%{tde_libdir}/ksquirrel-libs/libkls_sun.so +%{tde_libdir}/ksquirrel-libs/libkls_svg.la +%{tde_libdir}/ksquirrel-libs/libkls_svg.so +%{tde_libdir}/ksquirrel-libs/libkls_tga.la +%{tde_libdir}/ksquirrel-libs/libkls_tga.so +%{tde_libdir}/ksquirrel-libs/libkls_tiff.la +%{tde_libdir}/ksquirrel-libs/libkls_tiff.so +%{tde_libdir}/ksquirrel-libs/libkls_ttf.la +%{tde_libdir}/ksquirrel-libs/libkls_ttf.so +%{tde_libdir}/ksquirrel-libs/libkls_utah.la +%{tde_libdir}/ksquirrel-libs/libkls_utah.so +%{tde_libdir}/ksquirrel-libs/libkls_wal.la +%{tde_libdir}/ksquirrel-libs/libkls_wal.so +%{tde_libdir}/ksquirrel-libs/libkls_wbmp.la +%{tde_libdir}/ksquirrel-libs/libkls_wbmp.so +%{tde_libdir}/ksquirrel-libs/libkls_wmf.la +%{tde_libdir}/ksquirrel-libs/libkls_wmf.so +%{tde_libdir}/ksquirrel-libs/libkls_xbm.la +%{tde_libdir}/ksquirrel-libs/libkls_xbm.so +%{tde_libdir}/ksquirrel-libs/libkls_xcf.la +%{tde_libdir}/ksquirrel-libs/libkls_xcf.so +%{tde_libdir}/ksquirrel-libs/libkls_xcur.la +%{tde_libdir}/ksquirrel-libs/libkls_xcur.so +%{tde_libdir}/ksquirrel-libs/libkls_xim.la +%{tde_libdir}/ksquirrel-libs/libkls_xim.so +%{tde_libdir}/ksquirrel-libs/libkls_xpm.la +%{tde_libdir}/ksquirrel-libs/libkls_xpm.so +%{tde_libdir}/ksquirrel-libs/libkls_xwd.la +%{tde_libdir}/ksquirrel-libs/libkls_xwd.so +%{tde_libdir}/libksquirrel-libs-png.la +%{tde_libdir}/libksquirrel-libs-png.so +%{tde_libdir}/libksquirrel-libs.la +%{tde_libdir}/libksquirrel-libs.so +%{tde_libdir}/pkgconfig/ksquirrellibs.pc +%{tde_docdir}/ksquirrel-libs/ + +%files tools +%defattr(-,root,root,-) +%{tde_bindir}/ksquirrel-libs-camera2ppm +%{tde_bindir}/ksquirrel-libs-dcraw +%if 0%{?with_xmedcon} +%{tde_bindir}/ksquirrel-libs-dicom2png +%endif +%{tde_bindir}/ksquirrel-libs-fig2ppm +%{tde_bindir}/ksquirrel-libs-iff2ppm +%{tde_bindir}/ksquirrel-libs-leaf2ppm +%{tde_bindir}/ksquirrel-libs-ljpeg2ppm +%{tde_bindir}/ksquirrel-libs-ljpeg2ppm-s +%{tde_bindir}/ksquirrel-libs-mac2ppm +%{tde_bindir}/ksquirrel-libs-neo2ppm +%{tde_bindir}/ksquirrel-libs-pi12ppm +%{tde_bindir}/ksquirrel-libs-pi32ppm +%{tde_bindir}/ksquirrel-libs-svg2png +%{tde_bindir}/ksquirrel-libs-ttf2pnm +%{tde_bindir}/ksquirrel-libs-utah2ppm +%{tde_bindir}/ksquirrel-libs-xcf2pnm +%{tde_bindir}/ksquirrel-libs-xim2ppm + + +%Changelog +* Tue Oct 02 2012 Francois Andriot - 0.8.0-2 +- Initial release for TDE 3.5.13.1 diff --git a/redhat/libraries/libksquirrel/libksquirrel-3.5.13.2.spec b/redhat/libraries/libksquirrel/libksquirrel-3.5.13.2.spec new file mode 100644 index 000000000..fd6c0d9b0 --- /dev/null +++ b/redhat/libraries/libksquirrel/libksquirrel-3.5.13.2.spec @@ -0,0 +1,502 @@ +# Default version for this component +%define kdecomp libksquirrel + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Trinity image viewer +Version: 3.5.13.2 +Release: 1%{?dist}%{?_variant} + +License: GPLv2+ +Group: Environment/Libraries + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}.tar.gz +Patch0: libksquirrel-3.5.13-detect_netpbm.patch + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-arts-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: gettext-devel +BuildRequires: transfig +BuildRequires: OpenEXR-devel +BuildRequires: libtiff-devel + +%if 0%{?suse_version} +BuildRequires: giflib-devel +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?rhel} +BuildRequires: libungif-devel +%endif + +# DJVU support +%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_djvu 1 +BuildRequires: djvulibre +%endif + +# XMEDCON support +%if 0%{?fedora} +%define with_xmedcon 1 +BuildRequires: xmedcon +BuildRequires: xmedcon-devel +%endif + +# RSVG support +%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_svg 1 +%if 0%{?fedora} || 0%{?rhel} +BuildRequires: librsvg2 +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: librsvg +%endif +%if 0%{?suse_version} +BuildRequires: rsvg-view +BuildRequires: librsvg-devel +%endif +%endif + +# JASPER support +%if 0%{?rhel} >=4 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_jasper 1 +%if 0%{?suse_version} +BuildRequires: libjasper-devel +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}jasper-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: jasper-devel +%endif +%endif + +# FREETYPE support +%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_freetype 1 +%if 0%{?suse_version} == 1140 +BuildRequires: freetype2-devel +%else +BuildRequires: freetype-devel +%endif +%endif + +# WMF support +BuildRequires: libwmf-devel + +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +BuildRequires: netpbm +%else +BuildRequires: netpbm-progs +%endif + + +%description +Runtime libraries for KSquirrel. + + +%package devel +Group: Development/Libraries +Summary: Trinity image viewer +Requires: %{name} + +%description devel +Development libraries for KSquirrel. + + +%package tools +Summary: Trinity image viewer +Group: Environment/Libraries +Requires: %{name} + +%description tools +Tools for KSquirrel. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q +%patch0 -p1 -b .netpbm + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_includedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + %{?with_djvu:--enable-djvu} + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%post +/sbin/ldconfig || : + +%postun +/sbin/ldconfig || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING LICENSE README +%{tde_libdir}/ksquirrel-libs/libkls_avs.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_avs.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_bmp.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_bmp.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_camera.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_camera.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_cut.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_cut.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_dds.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_dds.so.0.8.0 +%if 0%{?with_xmedcon} +%{tde_libdir}/ksquirrel-libs/libkls_dicom.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_dicom.so.0.8.0 +%endif +%if 0%{?with_djvu} +%{tde_libdir}/ksquirrel-libs/libkls_djvu.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_djvu.so.0.8.0 +%endif +%{tde_libdir}/ksquirrel-libs/libkls_eps.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_eps.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_fig.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_fig.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_fli.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_fli.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_gif.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_gif.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_hdr.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_hdr.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_ico.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_ico.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_iff.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_iff.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_jbig.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_jbig.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_jpeg.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_jpeg.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_koala.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_koala.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_leaf.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_leaf.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_lif.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_lif.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_mac.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_mac.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_mdl.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_mdl.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_mng.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_mng.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_mtv.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_mtv.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_neo.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_neo.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_openexr.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_openexr.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_pcx.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_pcx.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_pi1.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_pi1.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_pi3.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_pi3.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_pix.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_pix.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_png.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_png.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_pnm.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_pnm.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_psd.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_psd.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_psp.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_psp.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_pxr.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_pxr.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_ras.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_ras.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_sct.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_sct.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_sgi.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_sgi.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_sun.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_sun.so.0.8.0 +%if 0%{?with_svg} +%{tde_libdir}/ksquirrel-libs/libkls_svg.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_svg.so.0.8.0 +%endif +%{tde_libdir}/ksquirrel-libs/libkls_tga.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_tga.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_tiff.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_tiff.so.0.8.0 +%if 0%{?with_freetype} +%{tde_libdir}/ksquirrel-libs/libkls_ttf.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_ttf.so.0.8.0 +%endif +%{tde_libdir}/ksquirrel-libs/libkls_utah.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_utah.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_wal.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_wal.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_wbmp.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_wbmp.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_wmf.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_wmf.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_xbm.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_xbm.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_xcf.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_xcf.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_xcur.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_xcur.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_xim.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_xim.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_xpm.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_xpm.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_xwd.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_xwd.so.0.8.0 +%{tde_libdir}/libksquirrel-libs-png.so.0 +%{tde_libdir}/libksquirrel-libs-png.so.0.0.0 +%{tde_libdir}/libksquirrel-libs.so.0 +%{tde_libdir}/libksquirrel-libs.so.0.8.0 +%{tde_datadir}/ksquirrel-libs/libkls_camera.so.ui +%if 0%{?with_djvu} +%{tde_datadir}/ksquirrel-libs/libkls_djvu.so.ui +%endif +%if 0%{?with_svg} +%{tde_datadir}/ksquirrel-libs/libkls_svg.so.ui +%endif +%{tde_datadir}/ksquirrel-libs/libkls_tiff.so.ui +%{tde_datadir}/ksquirrel-libs/libkls_xcf.so.ui +%{tde_datadir}/ksquirrel-libs/rgbmap + +%files devel +%defattr(-,root,root,-) +%{tde_includedir}/ksquirrel-libs/error.h +%{tde_includedir}/ksquirrel-libs/fileio.h +%{tde_includedir}/ksquirrel-libs/fmt_codec_base.h +%{tde_includedir}/ksquirrel-libs/fmt_defs.h +%{tde_includedir}/ksquirrel-libs/fmt_types.h +%{tde_includedir}/ksquirrel-libs/fmt_utils.h +%{tde_includedir}/ksquirrel-libs/settings.h +%{tde_libdir}/ksquirrel-libs/libkls_avs.la +%{tde_libdir}/ksquirrel-libs/libkls_avs.so +%{tde_libdir}/ksquirrel-libs/libkls_bmp.la +%{tde_libdir}/ksquirrel-libs/libkls_bmp.so +%{tde_libdir}/ksquirrel-libs/libkls_camera.la +%{tde_libdir}/ksquirrel-libs/libkls_camera.so +%{tde_libdir}/ksquirrel-libs/libkls_cut.la +%{tde_libdir}/ksquirrel-libs/libkls_cut.so +%{tde_libdir}/ksquirrel-libs/libkls_dds.la +%{tde_libdir}/ksquirrel-libs/libkls_dds.so +%if 0%{?with_xmedcon} +%{tde_libdir}/ksquirrel-libs/libkls_dicom.la +%{tde_libdir}/ksquirrel-libs/libkls_dicom.so +%endif +%if 0%{?with_djvu} +%{tde_libdir}/ksquirrel-libs/libkls_djvu.la +%{tde_libdir}/ksquirrel-libs/libkls_djvu.so +%endif +%{tde_libdir}/ksquirrel-libs/libkls_eps.la +%{tde_libdir}/ksquirrel-libs/libkls_eps.so +%{tde_libdir}/ksquirrel-libs/libkls_fig.la +%{tde_libdir}/ksquirrel-libs/libkls_fig.so +%{tde_libdir}/ksquirrel-libs/libkls_fli.la +%{tde_libdir}/ksquirrel-libs/libkls_fli.so +%{tde_libdir}/ksquirrel-libs/libkls_gif.la +%{tde_libdir}/ksquirrel-libs/libkls_gif.so +%{tde_libdir}/ksquirrel-libs/libkls_hdr.la +%{tde_libdir}/ksquirrel-libs/libkls_hdr.so +%{tde_libdir}/ksquirrel-libs/libkls_ico.la +%{tde_libdir}/ksquirrel-libs/libkls_ico.so +%{tde_libdir}/ksquirrel-libs/libkls_iff.la +%{tde_libdir}/ksquirrel-libs/libkls_iff.so +%{tde_libdir}/ksquirrel-libs/libkls_jbig.la +%{tde_libdir}/ksquirrel-libs/libkls_jbig.so +%{tde_libdir}/ksquirrel-libs/libkls_jpeg.la +%{tde_libdir}/ksquirrel-libs/libkls_jpeg.so +%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.la +%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.so +%{tde_libdir}/ksquirrel-libs/libkls_koala.la +%{tde_libdir}/ksquirrel-libs/libkls_koala.so +%{tde_libdir}/ksquirrel-libs/libkls_leaf.la +%{tde_libdir}/ksquirrel-libs/libkls_leaf.so +%{tde_libdir}/ksquirrel-libs/libkls_lif.la +%{tde_libdir}/ksquirrel-libs/libkls_lif.so +%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.la +%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.so +%{tde_libdir}/ksquirrel-libs/libkls_mac.la +%{tde_libdir}/ksquirrel-libs/libkls_mac.so +%{tde_libdir}/ksquirrel-libs/libkls_mdl.la +%{tde_libdir}/ksquirrel-libs/libkls_mdl.so +%{tde_libdir}/ksquirrel-libs/libkls_mng.la +%{tde_libdir}/ksquirrel-libs/libkls_mng.so +%{tde_libdir}/ksquirrel-libs/libkls_mtv.la +%{tde_libdir}/ksquirrel-libs/libkls_mtv.so +%{tde_libdir}/ksquirrel-libs/libkls_neo.la +%{tde_libdir}/ksquirrel-libs/libkls_neo.so +%{tde_libdir}/ksquirrel-libs/libkls_openexr.la +%{tde_libdir}/ksquirrel-libs/libkls_openexr.so +%{tde_libdir}/ksquirrel-libs/libkls_pcx.la +%{tde_libdir}/ksquirrel-libs/libkls_pcx.so +%{tde_libdir}/ksquirrel-libs/libkls_pi1.la +%{tde_libdir}/ksquirrel-libs/libkls_pi1.so +%{tde_libdir}/ksquirrel-libs/libkls_pi3.la +%{tde_libdir}/ksquirrel-libs/libkls_pi3.so +%{tde_libdir}/ksquirrel-libs/libkls_pix.la +%{tde_libdir}/ksquirrel-libs/libkls_pix.so +%{tde_libdir}/ksquirrel-libs/libkls_png.la +%{tde_libdir}/ksquirrel-libs/libkls_png.so +%{tde_libdir}/ksquirrel-libs/libkls_pnm.la +%{tde_libdir}/ksquirrel-libs/libkls_pnm.so +%{tde_libdir}/ksquirrel-libs/libkls_psd.la +%{tde_libdir}/ksquirrel-libs/libkls_psd.so +%{tde_libdir}/ksquirrel-libs/libkls_psp.la +%{tde_libdir}/ksquirrel-libs/libkls_psp.so +%{tde_libdir}/ksquirrel-libs/libkls_pxr.la +%{tde_libdir}/ksquirrel-libs/libkls_pxr.so +%{tde_libdir}/ksquirrel-libs/libkls_ras.la +%{tde_libdir}/ksquirrel-libs/libkls_ras.so +%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.la +%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.so +%{tde_libdir}/ksquirrel-libs/libkls_sct.la +%{tde_libdir}/ksquirrel-libs/libkls_sct.so +%{tde_libdir}/ksquirrel-libs/libkls_sgi.la +%{tde_libdir}/ksquirrel-libs/libkls_sgi.so +%{tde_libdir}/ksquirrel-libs/libkls_sun.la +%{tde_libdir}/ksquirrel-libs/libkls_sun.so +%if 0%{?with_svg} +%{tde_libdir}/ksquirrel-libs/libkls_svg.la +%{tde_libdir}/ksquirrel-libs/libkls_svg.so +%endif +%{tde_libdir}/ksquirrel-libs/libkls_tga.la +%{tde_libdir}/ksquirrel-libs/libkls_tga.so +%{tde_libdir}/ksquirrel-libs/libkls_tiff.la +%{tde_libdir}/ksquirrel-libs/libkls_tiff.so +%if 0%{?with_freetype} +%{tde_libdir}/ksquirrel-libs/libkls_ttf.la +%{tde_libdir}/ksquirrel-libs/libkls_ttf.so +%endif +%{tde_libdir}/ksquirrel-libs/libkls_utah.la +%{tde_libdir}/ksquirrel-libs/libkls_utah.so +%{tde_libdir}/ksquirrel-libs/libkls_wal.la +%{tde_libdir}/ksquirrel-libs/libkls_wal.so +%{tde_libdir}/ksquirrel-libs/libkls_wbmp.la +%{tde_libdir}/ksquirrel-libs/libkls_wbmp.so +%{tde_libdir}/ksquirrel-libs/libkls_wmf.la +%{tde_libdir}/ksquirrel-libs/libkls_wmf.so +%{tde_libdir}/ksquirrel-libs/libkls_xbm.la +%{tde_libdir}/ksquirrel-libs/libkls_xbm.so +%{tde_libdir}/ksquirrel-libs/libkls_xcf.la +%{tde_libdir}/ksquirrel-libs/libkls_xcf.so +%{tde_libdir}/ksquirrel-libs/libkls_xcur.la +%{tde_libdir}/ksquirrel-libs/libkls_xcur.so +%{tde_libdir}/ksquirrel-libs/libkls_xim.la +%{tde_libdir}/ksquirrel-libs/libkls_xim.so +%{tde_libdir}/ksquirrel-libs/libkls_xpm.la +%{tde_libdir}/ksquirrel-libs/libkls_xpm.so +%{tde_libdir}/ksquirrel-libs/libkls_xwd.la +%{tde_libdir}/ksquirrel-libs/libkls_xwd.so +%{tde_libdir}/libksquirrel-libs-png.la +%{tde_libdir}/libksquirrel-libs-png.so +%{tde_libdir}/libksquirrel-libs.la +%{tde_libdir}/libksquirrel-libs.so +%{tde_libdir}/pkgconfig/ksquirrellibs.pc +%{tde_docdir}/ksquirrel-libs/ + +%files tools +%defattr(-,root,root,-) +%{tde_bindir}/ksquirrel-libs-camera2ppm +%{tde_bindir}/ksquirrel-libs-dcraw +%if 0%{?with_xmedcon} +%{tde_bindir}/ksquirrel-libs-dicom2png +%endif +%{tde_bindir}/ksquirrel-libs-fig2ppm +%{tde_bindir}/ksquirrel-libs-iff2ppm +%{tde_bindir}/ksquirrel-libs-leaf2ppm +%{tde_bindir}/ksquirrel-libs-ljpeg2ppm +%{tde_bindir}/ksquirrel-libs-ljpeg2ppm-s +%{tde_bindir}/ksquirrel-libs-mac2ppm +%{tde_bindir}/ksquirrel-libs-neo2ppm +%{tde_bindir}/ksquirrel-libs-pi12ppm +%{tde_bindir}/ksquirrel-libs-pi32ppm +%if 0%{?with_svg} +%{tde_bindir}/ksquirrel-libs-svg2png +%endif +%if 0%{?with_freetype} +%{tde_bindir}/ksquirrel-libs-ttf2pnm +%endif +%{tde_bindir}/ksquirrel-libs-utah2ppm +%{tde_bindir}/ksquirrel-libs-xcf2pnm +%{tde_bindir}/ksquirrel-libs-xim2ppm + + +%Changelog +* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 +- Initial build for TDE 3.5.13.2 diff --git a/redhat/libraries/libksquirrel/libksquirrel-3.5.13.spec b/redhat/libraries/libksquirrel/libksquirrel-3.5.13.spec new file mode 100644 index 000000000..815c83075 --- /dev/null +++ b/redhat/libraries/libksquirrel/libksquirrel-3.5.13.spec @@ -0,0 +1,423 @@ +# Default version for this component +%define kdecomp libksquirrel + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-%{kdecomp} +Summary: Trinity image viewer +Version: 0.8.0 +Release: 1%{?dist}%{?_variant} + +License: GPLv2+ +Group: Environment/Libraries + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{kdecomp}-3.5.13.tar.gz +Patch0: libksquirrel-3.5.13-detect_netpbm.patch +Patch1: libksquirrel-3.5.13-fix_docdir.patch + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: gettext-devel +BuildRequires: transfig +BuildRequires: djvulibre +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_xmedcon 1 +BuildRequires: xmedcon +BuildRequires: xmedcon-devel +BuildRequires: librsvg +%endif +BuildRequires: libwmf-devel + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: netpbm +%else +BuildRequires: netpbm-progs +%endif + + +%description +Runtime libraries for KSquirrel. + + +%package devel +Group: Development/Libraries +Summary: Trinity image viewer +Requires: %{name} + +%description devel +Development libraries for KSquirrel. + + +%package tools +Summary: Trinity image viewer +Group: Environment/Libraries +Requires: %{name} + +%description tools +Tools for KSquirrel. + + +%prep +%setup -q -n libraries/%{kdecomp} +%patch0 -p1 +%patch1 -p1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --includedir=%{tde_includedir} \ + --disable-rpath \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-djvu + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + + +%clean +%__rm -rf %{buildroot} + + +%post +/sbin/ldconfig || : + +%postun +/sbin/ldconfig || : + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING LICENSE README +%{tde_libdir}/ksquirrel-libs/libkls_avs.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_avs.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_bmp.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_bmp.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_camera.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_camera.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_cut.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_cut.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_dds.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_dds.so.0.8.0 +%if 0%{?with_xmedcon} +%{tde_libdir}/ksquirrel-libs/libkls_dicom.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_dicom.so.0.8.0 +%endif +%{tde_libdir}/ksquirrel-libs/libkls_djvu.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_djvu.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_eps.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_eps.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_fig.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_fig.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_fli.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_fli.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_gif.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_gif.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_hdr.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_hdr.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_ico.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_ico.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_iff.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_iff.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_jbig.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_jbig.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_jpeg.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_jpeg.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_koala.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_koala.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_leaf.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_leaf.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_lif.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_lif.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_mac.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_mac.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_mdl.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_mdl.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_mng.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_mng.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_mtv.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_mtv.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_neo.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_neo.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_openexr.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_openexr.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_pcx.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_pcx.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_pi1.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_pi1.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_pi3.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_pi3.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_pix.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_pix.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_png.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_png.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_pnm.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_pnm.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_psd.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_psd.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_psp.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_psp.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_pxr.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_pxr.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_ras.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_ras.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_sct.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_sct.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_sgi.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_sgi.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_sun.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_sun.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_svg.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_svg.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_tga.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_tga.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_tiff.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_tiff.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_ttf.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_ttf.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_utah.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_utah.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_wal.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_wal.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_wbmp.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_wbmp.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_wmf.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_wmf.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_xbm.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_xbm.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_xcf.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_xcf.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_xcur.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_xcur.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_xim.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_xim.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_xpm.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_xpm.so.0.8.0 +%{tde_libdir}/ksquirrel-libs/libkls_xwd.so.0 +%{tde_libdir}/ksquirrel-libs/libkls_xwd.so.0.8.0 +%{tde_libdir}/libksquirrel-libs-png.so.0 +%{tde_libdir}/libksquirrel-libs-png.so.0.0.0 +%{tde_libdir}/libksquirrel-libs.so.0 +%{tde_libdir}/libksquirrel-libs.so.0.8.0 +%{tde_datadir}/ksquirrel-libs/libkls_camera.so.ui +%{tde_datadir}/ksquirrel-libs/libkls_djvu.so.ui +%{tde_datadir}/ksquirrel-libs/libkls_svg.so.ui +%{tde_datadir}/ksquirrel-libs/libkls_tiff.so.ui +%{tde_datadir}/ksquirrel-libs/libkls_xcf.so.ui +%{tde_datadir}/ksquirrel-libs/rgbmap + +%files devel +%defattr(-,root,root,-) +%{tde_includedir}/ksquirrel-libs/error.h +%{tde_includedir}/ksquirrel-libs/fileio.h +%{tde_includedir}/ksquirrel-libs/fmt_codec_base.h +%{tde_includedir}/ksquirrel-libs/fmt_defs.h +%{tde_includedir}/ksquirrel-libs/fmt_types.h +%{tde_includedir}/ksquirrel-libs/fmt_utils.h +%{tde_includedir}/ksquirrel-libs/settings.h +%{tde_libdir}/ksquirrel-libs/libkls_avs.la +%{tde_libdir}/ksquirrel-libs/libkls_avs.so +%{tde_libdir}/ksquirrel-libs/libkls_bmp.la +%{tde_libdir}/ksquirrel-libs/libkls_bmp.so +%{tde_libdir}/ksquirrel-libs/libkls_camera.la +%{tde_libdir}/ksquirrel-libs/libkls_camera.so +%{tde_libdir}/ksquirrel-libs/libkls_cut.la +%{tde_libdir}/ksquirrel-libs/libkls_cut.so +%{tde_libdir}/ksquirrel-libs/libkls_dds.la +%{tde_libdir}/ksquirrel-libs/libkls_dds.so +%if 0%{?with_xmedcon} +%{tde_libdir}/ksquirrel-libs/libkls_dicom.la +%{tde_libdir}/ksquirrel-libs/libkls_dicom.so +%endif +%{tde_libdir}/ksquirrel-libs/libkls_djvu.la +%{tde_libdir}/ksquirrel-libs/libkls_djvu.so +%{tde_libdir}/ksquirrel-libs/libkls_eps.la +%{tde_libdir}/ksquirrel-libs/libkls_eps.so +%{tde_libdir}/ksquirrel-libs/libkls_fig.la +%{tde_libdir}/ksquirrel-libs/libkls_fig.so +%{tde_libdir}/ksquirrel-libs/libkls_fli.la +%{tde_libdir}/ksquirrel-libs/libkls_fli.so +%{tde_libdir}/ksquirrel-libs/libkls_gif.la +%{tde_libdir}/ksquirrel-libs/libkls_gif.so +%{tde_libdir}/ksquirrel-libs/libkls_hdr.la +%{tde_libdir}/ksquirrel-libs/libkls_hdr.so +%{tde_libdir}/ksquirrel-libs/libkls_ico.la +%{tde_libdir}/ksquirrel-libs/libkls_ico.so +%{tde_libdir}/ksquirrel-libs/libkls_iff.la +%{tde_libdir}/ksquirrel-libs/libkls_iff.so +%{tde_libdir}/ksquirrel-libs/libkls_jbig.la +%{tde_libdir}/ksquirrel-libs/libkls_jbig.so +%{tde_libdir}/ksquirrel-libs/libkls_jpeg.la +%{tde_libdir}/ksquirrel-libs/libkls_jpeg.so +%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.la +%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.so +%{tde_libdir}/ksquirrel-libs/libkls_koala.la +%{tde_libdir}/ksquirrel-libs/libkls_koala.so +%{tde_libdir}/ksquirrel-libs/libkls_leaf.la +%{tde_libdir}/ksquirrel-libs/libkls_leaf.so +%{tde_libdir}/ksquirrel-libs/libkls_lif.la +%{tde_libdir}/ksquirrel-libs/libkls_lif.so +%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.la +%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.so +%{tde_libdir}/ksquirrel-libs/libkls_mac.la +%{tde_libdir}/ksquirrel-libs/libkls_mac.so +%{tde_libdir}/ksquirrel-libs/libkls_mdl.la +%{tde_libdir}/ksquirrel-libs/libkls_mdl.so +%{tde_libdir}/ksquirrel-libs/libkls_mng.la +%{tde_libdir}/ksquirrel-libs/libkls_mng.so +%{tde_libdir}/ksquirrel-libs/libkls_mtv.la +%{tde_libdir}/ksquirrel-libs/libkls_mtv.so +%{tde_libdir}/ksquirrel-libs/libkls_neo.la +%{tde_libdir}/ksquirrel-libs/libkls_neo.so +%{tde_libdir}/ksquirrel-libs/libkls_openexr.la +%{tde_libdir}/ksquirrel-libs/libkls_openexr.so +%{tde_libdir}/ksquirrel-libs/libkls_pcx.la +%{tde_libdir}/ksquirrel-libs/libkls_pcx.so +%{tde_libdir}/ksquirrel-libs/libkls_pi1.la +%{tde_libdir}/ksquirrel-libs/libkls_pi1.so +%{tde_libdir}/ksquirrel-libs/libkls_pi3.la +%{tde_libdir}/ksquirrel-libs/libkls_pi3.so +%{tde_libdir}/ksquirrel-libs/libkls_pix.la +%{tde_libdir}/ksquirrel-libs/libkls_pix.so +%{tde_libdir}/ksquirrel-libs/libkls_png.la +%{tde_libdir}/ksquirrel-libs/libkls_png.so +%{tde_libdir}/ksquirrel-libs/libkls_pnm.la +%{tde_libdir}/ksquirrel-libs/libkls_pnm.so +%{tde_libdir}/ksquirrel-libs/libkls_psd.la +%{tde_libdir}/ksquirrel-libs/libkls_psd.so +%{tde_libdir}/ksquirrel-libs/libkls_psp.la +%{tde_libdir}/ksquirrel-libs/libkls_psp.so +%{tde_libdir}/ksquirrel-libs/libkls_pxr.la +%{tde_libdir}/ksquirrel-libs/libkls_pxr.so +%{tde_libdir}/ksquirrel-libs/libkls_ras.la +%{tde_libdir}/ksquirrel-libs/libkls_ras.so +%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.la +%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.so +%{tde_libdir}/ksquirrel-libs/libkls_sct.la +%{tde_libdir}/ksquirrel-libs/libkls_sct.so +%{tde_libdir}/ksquirrel-libs/libkls_sgi.la +%{tde_libdir}/ksquirrel-libs/libkls_sgi.so +%{tde_libdir}/ksquirrel-libs/libkls_sun.la +%{tde_libdir}/ksquirrel-libs/libkls_sun.so +%{tde_libdir}/ksquirrel-libs/libkls_svg.la +%{tde_libdir}/ksquirrel-libs/libkls_svg.so +%{tde_libdir}/ksquirrel-libs/libkls_tga.la +%{tde_libdir}/ksquirrel-libs/libkls_tga.so +%{tde_libdir}/ksquirrel-libs/libkls_tiff.la +%{tde_libdir}/ksquirrel-libs/libkls_tiff.so +%{tde_libdir}/ksquirrel-libs/libkls_ttf.la +%{tde_libdir}/ksquirrel-libs/libkls_ttf.so +%{tde_libdir}/ksquirrel-libs/libkls_utah.la +%{tde_libdir}/ksquirrel-libs/libkls_utah.so +%{tde_libdir}/ksquirrel-libs/libkls_wal.la +%{tde_libdir}/ksquirrel-libs/libkls_wal.so +%{tde_libdir}/ksquirrel-libs/libkls_wbmp.la +%{tde_libdir}/ksquirrel-libs/libkls_wbmp.so +%{tde_libdir}/ksquirrel-libs/libkls_wmf.la +%{tde_libdir}/ksquirrel-libs/libkls_wmf.so +%{tde_libdir}/ksquirrel-libs/libkls_xbm.la +%{tde_libdir}/ksquirrel-libs/libkls_xbm.so +%{tde_libdir}/ksquirrel-libs/libkls_xcf.la +%{tde_libdir}/ksquirrel-libs/libkls_xcf.so +%{tde_libdir}/ksquirrel-libs/libkls_xcur.la +%{tde_libdir}/ksquirrel-libs/libkls_xcur.so +%{tde_libdir}/ksquirrel-libs/libkls_xim.la +%{tde_libdir}/ksquirrel-libs/libkls_xim.so +%{tde_libdir}/ksquirrel-libs/libkls_xpm.la +%{tde_libdir}/ksquirrel-libs/libkls_xpm.so +%{tde_libdir}/ksquirrel-libs/libkls_xwd.la +%{tde_libdir}/ksquirrel-libs/libkls_xwd.so +%{tde_libdir}/libksquirrel-libs-png.la +%{tde_libdir}/libksquirrel-libs-png.so +%{tde_libdir}/libksquirrel-libs.la +%{tde_libdir}/libksquirrel-libs.so +%{tde_libdir}/pkgconfig/ksquirrellibs.pc +%{tde_docdir}/ksquirrel-libs/ + +%files tools +%defattr(-,root,root,-) +%{tde_bindir}/ksquirrel-libs-camera2ppm +%{tde_bindir}/ksquirrel-libs-dcraw +%if 0%{?with_xmedcon} +%{tde_bindir}/ksquirrel-libs-dicom2png +%endif +%{tde_bindir}/ksquirrel-libs-fig2ppm +%{tde_bindir}/ksquirrel-libs-iff2ppm +%{tde_bindir}/ksquirrel-libs-leaf2ppm +%{tde_bindir}/ksquirrel-libs-ljpeg2ppm +%{tde_bindir}/ksquirrel-libs-ljpeg2ppm-s +%{tde_bindir}/ksquirrel-libs-mac2ppm +%{tde_bindir}/ksquirrel-libs-neo2ppm +%{tde_bindir}/ksquirrel-libs-pi12ppm +%{tde_bindir}/ksquirrel-libs-pi32ppm +%{tde_bindir}/ksquirrel-libs-svg2png +%{tde_bindir}/ksquirrel-libs-ttf2pnm +%{tde_bindir}/ksquirrel-libs-utah2ppm +%{tde_bindir}/ksquirrel-libs-xcf2pnm +%{tde_bindir}/ksquirrel-libs-xim2ppm + + +%Changelog +* Sun Nov 20 2011 Francois Andriot - 0.8.0-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/libraries/libksquirrel/trinity-libksquirrel-3.5.13.1.spec b/redhat/libraries/libksquirrel/trinity-libksquirrel-3.5.13.1.spec deleted file mode 100644 index 3ed0af029..000000000 --- a/redhat/libraries/libksquirrel/trinity-libksquirrel-3.5.13.1.spec +++ /dev/null @@ -1,444 +0,0 @@ -# Default version for this component -%define kdecomp libksquirrel - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Trinity image viewer -Version: 0.8.0 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Environment/Libraries - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.1.tar.gz -Patch0: libksquirrel-3.5.13-detect_netpbm.patch -Patch1: libksquirrel-3.5.13-fix_docdir.patch - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-arts-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: gettext-devel -BuildRequires: transfig -BuildRequires: djvulibre - -# XMEDCON support -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} == 0 -%define with_xmedcon 1 -BuildRequires: xmedcon -BuildRequires: xmedcon-devel -%endif -%endif - -# RSVG support -%if 0%{?fedora} || 0%{?rhel} -BuildRequires: librsvg2 -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: librsvg -%endif -%if 0%{?suse_version} -BuildRequires: rsvg-view -BuildRequires: librsvg-devel -%endif - -BuildRequires: libwmf-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -BuildRequires: netpbm -%else -BuildRequires: netpbm-progs -%endif - - -%description -Runtime libraries for KSquirrel. - - -%package devel -Group: Development/Libraries -Summary: Trinity image viewer -Requires: %{name} - -%description devel -Development libraries for KSquirrel. - - -%package tools -Summary: Trinity image viewer -Group: Environment/Libraries -Requires: %{name} - -%description tools -Tools for KSquirrel. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{kdecomp}-3.5.13.1 -%patch0 -p1 -%patch1 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_includedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-djvu - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%post -/sbin/ldconfig || : - -%postun -/sbin/ldconfig || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING LICENSE README -%{tde_libdir}/ksquirrel-libs/libkls_avs.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_avs.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_bmp.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_bmp.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_camera.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_camera.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_cut.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_cut.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_dds.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_dds.so.0.8.0 -%if 0%{?with_xmedcon} -%{tde_libdir}/ksquirrel-libs/libkls_dicom.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_dicom.so.0.8.0 -%endif -%{tde_libdir}/ksquirrel-libs/libkls_djvu.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_djvu.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_eps.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_eps.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_fig.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_fig.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_fli.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_fli.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_gif.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_gif.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_hdr.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_hdr.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_ico.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_ico.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_iff.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_iff.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_jbig.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_jbig.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_jpeg.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_jpeg.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_koala.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_koala.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_leaf.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_leaf.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_lif.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_lif.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_mac.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_mac.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_mdl.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_mdl.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_mng.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_mng.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_mtv.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_mtv.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_neo.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_neo.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_openexr.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_openexr.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_pcx.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_pcx.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_pi1.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_pi1.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_pi3.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_pi3.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_pix.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_pix.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_png.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_png.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_pnm.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_pnm.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_psd.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_psd.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_psp.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_psp.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_pxr.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_pxr.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_ras.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_ras.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_sct.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_sct.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_sgi.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_sgi.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_sun.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_sun.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_svg.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_svg.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_tga.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_tga.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_tiff.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_tiff.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_ttf.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_ttf.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_utah.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_utah.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_wal.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_wal.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_wbmp.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_wbmp.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_wmf.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_wmf.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_xbm.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_xbm.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_xcf.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_xcf.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_xcur.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_xcur.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_xim.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_xim.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_xpm.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_xpm.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_xwd.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_xwd.so.0.8.0 -%{tde_libdir}/libksquirrel-libs-png.so.0 -%{tde_libdir}/libksquirrel-libs-png.so.0.0.0 -%{tde_libdir}/libksquirrel-libs.so.0 -%{tde_libdir}/libksquirrel-libs.so.0.8.0 -%{tde_datadir}/ksquirrel-libs/libkls_camera.so.ui -%{tde_datadir}/ksquirrel-libs/libkls_djvu.so.ui -%{tde_datadir}/ksquirrel-libs/libkls_svg.so.ui -%{tde_datadir}/ksquirrel-libs/libkls_tiff.so.ui -%{tde_datadir}/ksquirrel-libs/libkls_xcf.so.ui -%{tde_datadir}/ksquirrel-libs/rgbmap - -%files devel -%defattr(-,root,root,-) -%{tde_includedir}/ksquirrel-libs/error.h -%{tde_includedir}/ksquirrel-libs/fileio.h -%{tde_includedir}/ksquirrel-libs/fmt_codec_base.h -%{tde_includedir}/ksquirrel-libs/fmt_defs.h -%{tde_includedir}/ksquirrel-libs/fmt_types.h -%{tde_includedir}/ksquirrel-libs/fmt_utils.h -%{tde_includedir}/ksquirrel-libs/settings.h -%{tde_libdir}/ksquirrel-libs/libkls_avs.la -%{tde_libdir}/ksquirrel-libs/libkls_avs.so -%{tde_libdir}/ksquirrel-libs/libkls_bmp.la -%{tde_libdir}/ksquirrel-libs/libkls_bmp.so -%{tde_libdir}/ksquirrel-libs/libkls_camera.la -%{tde_libdir}/ksquirrel-libs/libkls_camera.so -%{tde_libdir}/ksquirrel-libs/libkls_cut.la -%{tde_libdir}/ksquirrel-libs/libkls_cut.so -%{tde_libdir}/ksquirrel-libs/libkls_dds.la -%{tde_libdir}/ksquirrel-libs/libkls_dds.so -%if 0%{?with_xmedcon} -%{tde_libdir}/ksquirrel-libs/libkls_dicom.la -%{tde_libdir}/ksquirrel-libs/libkls_dicom.so -%endif -%{tde_libdir}/ksquirrel-libs/libkls_djvu.la -%{tde_libdir}/ksquirrel-libs/libkls_djvu.so -%{tde_libdir}/ksquirrel-libs/libkls_eps.la -%{tde_libdir}/ksquirrel-libs/libkls_eps.so -%{tde_libdir}/ksquirrel-libs/libkls_fig.la -%{tde_libdir}/ksquirrel-libs/libkls_fig.so -%{tde_libdir}/ksquirrel-libs/libkls_fli.la -%{tde_libdir}/ksquirrel-libs/libkls_fli.so -%{tde_libdir}/ksquirrel-libs/libkls_gif.la -%{tde_libdir}/ksquirrel-libs/libkls_gif.so -%{tde_libdir}/ksquirrel-libs/libkls_hdr.la -%{tde_libdir}/ksquirrel-libs/libkls_hdr.so -%{tde_libdir}/ksquirrel-libs/libkls_ico.la -%{tde_libdir}/ksquirrel-libs/libkls_ico.so -%{tde_libdir}/ksquirrel-libs/libkls_iff.la -%{tde_libdir}/ksquirrel-libs/libkls_iff.so -%{tde_libdir}/ksquirrel-libs/libkls_jbig.la -%{tde_libdir}/ksquirrel-libs/libkls_jbig.so -%{tde_libdir}/ksquirrel-libs/libkls_jpeg.la -%{tde_libdir}/ksquirrel-libs/libkls_jpeg.so -%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.la -%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.so -%{tde_libdir}/ksquirrel-libs/libkls_koala.la -%{tde_libdir}/ksquirrel-libs/libkls_koala.so -%{tde_libdir}/ksquirrel-libs/libkls_leaf.la -%{tde_libdir}/ksquirrel-libs/libkls_leaf.so -%{tde_libdir}/ksquirrel-libs/libkls_lif.la -%{tde_libdir}/ksquirrel-libs/libkls_lif.so -%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.la -%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.so -%{tde_libdir}/ksquirrel-libs/libkls_mac.la -%{tde_libdir}/ksquirrel-libs/libkls_mac.so -%{tde_libdir}/ksquirrel-libs/libkls_mdl.la -%{tde_libdir}/ksquirrel-libs/libkls_mdl.so -%{tde_libdir}/ksquirrel-libs/libkls_mng.la -%{tde_libdir}/ksquirrel-libs/libkls_mng.so -%{tde_libdir}/ksquirrel-libs/libkls_mtv.la -%{tde_libdir}/ksquirrel-libs/libkls_mtv.so -%{tde_libdir}/ksquirrel-libs/libkls_neo.la -%{tde_libdir}/ksquirrel-libs/libkls_neo.so -%{tde_libdir}/ksquirrel-libs/libkls_openexr.la -%{tde_libdir}/ksquirrel-libs/libkls_openexr.so -%{tde_libdir}/ksquirrel-libs/libkls_pcx.la -%{tde_libdir}/ksquirrel-libs/libkls_pcx.so -%{tde_libdir}/ksquirrel-libs/libkls_pi1.la -%{tde_libdir}/ksquirrel-libs/libkls_pi1.so -%{tde_libdir}/ksquirrel-libs/libkls_pi3.la -%{tde_libdir}/ksquirrel-libs/libkls_pi3.so -%{tde_libdir}/ksquirrel-libs/libkls_pix.la -%{tde_libdir}/ksquirrel-libs/libkls_pix.so -%{tde_libdir}/ksquirrel-libs/libkls_png.la -%{tde_libdir}/ksquirrel-libs/libkls_png.so -%{tde_libdir}/ksquirrel-libs/libkls_pnm.la -%{tde_libdir}/ksquirrel-libs/libkls_pnm.so -%{tde_libdir}/ksquirrel-libs/libkls_psd.la -%{tde_libdir}/ksquirrel-libs/libkls_psd.so -%{tde_libdir}/ksquirrel-libs/libkls_psp.la -%{tde_libdir}/ksquirrel-libs/libkls_psp.so -%{tde_libdir}/ksquirrel-libs/libkls_pxr.la -%{tde_libdir}/ksquirrel-libs/libkls_pxr.so -%{tde_libdir}/ksquirrel-libs/libkls_ras.la -%{tde_libdir}/ksquirrel-libs/libkls_ras.so -%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.la -%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.so -%{tde_libdir}/ksquirrel-libs/libkls_sct.la -%{tde_libdir}/ksquirrel-libs/libkls_sct.so -%{tde_libdir}/ksquirrel-libs/libkls_sgi.la -%{tde_libdir}/ksquirrel-libs/libkls_sgi.so -%{tde_libdir}/ksquirrel-libs/libkls_sun.la -%{tde_libdir}/ksquirrel-libs/libkls_sun.so -%{tde_libdir}/ksquirrel-libs/libkls_svg.la -%{tde_libdir}/ksquirrel-libs/libkls_svg.so -%{tde_libdir}/ksquirrel-libs/libkls_tga.la -%{tde_libdir}/ksquirrel-libs/libkls_tga.so -%{tde_libdir}/ksquirrel-libs/libkls_tiff.la -%{tde_libdir}/ksquirrel-libs/libkls_tiff.so -%{tde_libdir}/ksquirrel-libs/libkls_ttf.la -%{tde_libdir}/ksquirrel-libs/libkls_ttf.so -%{tde_libdir}/ksquirrel-libs/libkls_utah.la -%{tde_libdir}/ksquirrel-libs/libkls_utah.so -%{tde_libdir}/ksquirrel-libs/libkls_wal.la -%{tde_libdir}/ksquirrel-libs/libkls_wal.so -%{tde_libdir}/ksquirrel-libs/libkls_wbmp.la -%{tde_libdir}/ksquirrel-libs/libkls_wbmp.so -%{tde_libdir}/ksquirrel-libs/libkls_wmf.la -%{tde_libdir}/ksquirrel-libs/libkls_wmf.so -%{tde_libdir}/ksquirrel-libs/libkls_xbm.la -%{tde_libdir}/ksquirrel-libs/libkls_xbm.so -%{tde_libdir}/ksquirrel-libs/libkls_xcf.la -%{tde_libdir}/ksquirrel-libs/libkls_xcf.so -%{tde_libdir}/ksquirrel-libs/libkls_xcur.la -%{tde_libdir}/ksquirrel-libs/libkls_xcur.so -%{tde_libdir}/ksquirrel-libs/libkls_xim.la -%{tde_libdir}/ksquirrel-libs/libkls_xim.so -%{tde_libdir}/ksquirrel-libs/libkls_xpm.la -%{tde_libdir}/ksquirrel-libs/libkls_xpm.so -%{tde_libdir}/ksquirrel-libs/libkls_xwd.la -%{tde_libdir}/ksquirrel-libs/libkls_xwd.so -%{tde_libdir}/libksquirrel-libs-png.la -%{tde_libdir}/libksquirrel-libs-png.so -%{tde_libdir}/libksquirrel-libs.la -%{tde_libdir}/libksquirrel-libs.so -%{tde_libdir}/pkgconfig/ksquirrellibs.pc -%{tde_docdir}/ksquirrel-libs/ - -%files tools -%defattr(-,root,root,-) -%{tde_bindir}/ksquirrel-libs-camera2ppm -%{tde_bindir}/ksquirrel-libs-dcraw -%if 0%{?with_xmedcon} -%{tde_bindir}/ksquirrel-libs-dicom2png -%endif -%{tde_bindir}/ksquirrel-libs-fig2ppm -%{tde_bindir}/ksquirrel-libs-iff2ppm -%{tde_bindir}/ksquirrel-libs-leaf2ppm -%{tde_bindir}/ksquirrel-libs-ljpeg2ppm -%{tde_bindir}/ksquirrel-libs-ljpeg2ppm-s -%{tde_bindir}/ksquirrel-libs-mac2ppm -%{tde_bindir}/ksquirrel-libs-neo2ppm -%{tde_bindir}/ksquirrel-libs-pi12ppm -%{tde_bindir}/ksquirrel-libs-pi32ppm -%{tde_bindir}/ksquirrel-libs-svg2png -%{tde_bindir}/ksquirrel-libs-ttf2pnm -%{tde_bindir}/ksquirrel-libs-utah2ppm -%{tde_bindir}/ksquirrel-libs-xcf2pnm -%{tde_bindir}/ksquirrel-libs-xim2ppm - - -%Changelog -* Tue Oct 02 2012 Francois Andriot - 0.8.0-2 -- Initial release for TDE 3.5.13.1 diff --git a/redhat/libraries/libksquirrel/trinity-libksquirrel-3.5.13.2.spec b/redhat/libraries/libksquirrel/trinity-libksquirrel-3.5.13.2.spec deleted file mode 100644 index fd6c0d9b0..000000000 --- a/redhat/libraries/libksquirrel/trinity-libksquirrel-3.5.13.2.spec +++ /dev/null @@ -1,502 +0,0 @@ -# Default version for this component -%define kdecomp libksquirrel - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Trinity image viewer -Version: 3.5.13.2 -Release: 1%{?dist}%{?_variant} - -License: GPLv2+ -Group: Environment/Libraries - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}.tar.gz -Patch0: libksquirrel-3.5.13-detect_netpbm.patch - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-arts-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: gettext-devel -BuildRequires: transfig -BuildRequires: OpenEXR-devel -BuildRequires: libtiff-devel - -%if 0%{?suse_version} -BuildRequires: giflib-devel -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?rhel} -BuildRequires: libungif-devel -%endif - -# DJVU support -%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define with_djvu 1 -BuildRequires: djvulibre -%endif - -# XMEDCON support -%if 0%{?fedora} -%define with_xmedcon 1 -BuildRequires: xmedcon -BuildRequires: xmedcon-devel -%endif - -# RSVG support -%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define with_svg 1 -%if 0%{?fedora} || 0%{?rhel} -BuildRequires: librsvg2 -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: librsvg -%endif -%if 0%{?suse_version} -BuildRequires: rsvg-view -BuildRequires: librsvg-devel -%endif -%endif - -# JASPER support -%if 0%{?rhel} >=4 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define with_jasper 1 -%if 0%{?suse_version} -BuildRequires: libjasper-devel -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}jasper-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: jasper-devel -%endif -%endif - -# FREETYPE support -%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define with_freetype 1 -%if 0%{?suse_version} == 1140 -BuildRequires: freetype2-devel -%else -BuildRequires: freetype-devel -%endif -%endif - -# WMF support -BuildRequires: libwmf-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -BuildRequires: netpbm -%else -BuildRequires: netpbm-progs -%endif - - -%description -Runtime libraries for KSquirrel. - - -%package devel -Group: Development/Libraries -Summary: Trinity image viewer -Requires: %{name} - -%description devel -Development libraries for KSquirrel. - - -%package tools -Summary: Trinity image viewer -Group: Environment/Libraries -Requires: %{name} - -%description tools -Tools for KSquirrel. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -%patch0 -p1 -b .netpbm - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_includedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - %{?with_djvu:--enable-djvu} - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%post -/sbin/ldconfig || : - -%postun -/sbin/ldconfig || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING LICENSE README -%{tde_libdir}/ksquirrel-libs/libkls_avs.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_avs.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_bmp.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_bmp.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_camera.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_camera.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_cut.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_cut.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_dds.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_dds.so.0.8.0 -%if 0%{?with_xmedcon} -%{tde_libdir}/ksquirrel-libs/libkls_dicom.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_dicom.so.0.8.0 -%endif -%if 0%{?with_djvu} -%{tde_libdir}/ksquirrel-libs/libkls_djvu.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_djvu.so.0.8.0 -%endif -%{tde_libdir}/ksquirrel-libs/libkls_eps.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_eps.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_fig.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_fig.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_fli.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_fli.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_gif.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_gif.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_hdr.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_hdr.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_ico.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_ico.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_iff.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_iff.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_jbig.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_jbig.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_jpeg.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_jpeg.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_koala.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_koala.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_leaf.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_leaf.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_lif.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_lif.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_mac.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_mac.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_mdl.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_mdl.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_mng.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_mng.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_mtv.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_mtv.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_neo.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_neo.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_openexr.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_openexr.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_pcx.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_pcx.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_pi1.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_pi1.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_pi3.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_pi3.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_pix.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_pix.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_png.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_png.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_pnm.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_pnm.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_psd.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_psd.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_psp.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_psp.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_pxr.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_pxr.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_ras.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_ras.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_sct.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_sct.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_sgi.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_sgi.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_sun.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_sun.so.0.8.0 -%if 0%{?with_svg} -%{tde_libdir}/ksquirrel-libs/libkls_svg.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_svg.so.0.8.0 -%endif -%{tde_libdir}/ksquirrel-libs/libkls_tga.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_tga.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_tiff.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_tiff.so.0.8.0 -%if 0%{?with_freetype} -%{tde_libdir}/ksquirrel-libs/libkls_ttf.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_ttf.so.0.8.0 -%endif -%{tde_libdir}/ksquirrel-libs/libkls_utah.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_utah.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_wal.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_wal.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_wbmp.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_wbmp.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_wmf.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_wmf.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_xbm.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_xbm.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_xcf.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_xcf.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_xcur.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_xcur.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_xim.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_xim.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_xpm.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_xpm.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_xwd.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_xwd.so.0.8.0 -%{tde_libdir}/libksquirrel-libs-png.so.0 -%{tde_libdir}/libksquirrel-libs-png.so.0.0.0 -%{tde_libdir}/libksquirrel-libs.so.0 -%{tde_libdir}/libksquirrel-libs.so.0.8.0 -%{tde_datadir}/ksquirrel-libs/libkls_camera.so.ui -%if 0%{?with_djvu} -%{tde_datadir}/ksquirrel-libs/libkls_djvu.so.ui -%endif -%if 0%{?with_svg} -%{tde_datadir}/ksquirrel-libs/libkls_svg.so.ui -%endif -%{tde_datadir}/ksquirrel-libs/libkls_tiff.so.ui -%{tde_datadir}/ksquirrel-libs/libkls_xcf.so.ui -%{tde_datadir}/ksquirrel-libs/rgbmap - -%files devel -%defattr(-,root,root,-) -%{tde_includedir}/ksquirrel-libs/error.h -%{tde_includedir}/ksquirrel-libs/fileio.h -%{tde_includedir}/ksquirrel-libs/fmt_codec_base.h -%{tde_includedir}/ksquirrel-libs/fmt_defs.h -%{tde_includedir}/ksquirrel-libs/fmt_types.h -%{tde_includedir}/ksquirrel-libs/fmt_utils.h -%{tde_includedir}/ksquirrel-libs/settings.h -%{tde_libdir}/ksquirrel-libs/libkls_avs.la -%{tde_libdir}/ksquirrel-libs/libkls_avs.so -%{tde_libdir}/ksquirrel-libs/libkls_bmp.la -%{tde_libdir}/ksquirrel-libs/libkls_bmp.so -%{tde_libdir}/ksquirrel-libs/libkls_camera.la -%{tde_libdir}/ksquirrel-libs/libkls_camera.so -%{tde_libdir}/ksquirrel-libs/libkls_cut.la -%{tde_libdir}/ksquirrel-libs/libkls_cut.so -%{tde_libdir}/ksquirrel-libs/libkls_dds.la -%{tde_libdir}/ksquirrel-libs/libkls_dds.so -%if 0%{?with_xmedcon} -%{tde_libdir}/ksquirrel-libs/libkls_dicom.la -%{tde_libdir}/ksquirrel-libs/libkls_dicom.so -%endif -%if 0%{?with_djvu} -%{tde_libdir}/ksquirrel-libs/libkls_djvu.la -%{tde_libdir}/ksquirrel-libs/libkls_djvu.so -%endif -%{tde_libdir}/ksquirrel-libs/libkls_eps.la -%{tde_libdir}/ksquirrel-libs/libkls_eps.so -%{tde_libdir}/ksquirrel-libs/libkls_fig.la -%{tde_libdir}/ksquirrel-libs/libkls_fig.so -%{tde_libdir}/ksquirrel-libs/libkls_fli.la -%{tde_libdir}/ksquirrel-libs/libkls_fli.so -%{tde_libdir}/ksquirrel-libs/libkls_gif.la -%{tde_libdir}/ksquirrel-libs/libkls_gif.so -%{tde_libdir}/ksquirrel-libs/libkls_hdr.la -%{tde_libdir}/ksquirrel-libs/libkls_hdr.so -%{tde_libdir}/ksquirrel-libs/libkls_ico.la -%{tde_libdir}/ksquirrel-libs/libkls_ico.so -%{tde_libdir}/ksquirrel-libs/libkls_iff.la -%{tde_libdir}/ksquirrel-libs/libkls_iff.so -%{tde_libdir}/ksquirrel-libs/libkls_jbig.la -%{tde_libdir}/ksquirrel-libs/libkls_jbig.so -%{tde_libdir}/ksquirrel-libs/libkls_jpeg.la -%{tde_libdir}/ksquirrel-libs/libkls_jpeg.so -%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.la -%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.so -%{tde_libdir}/ksquirrel-libs/libkls_koala.la -%{tde_libdir}/ksquirrel-libs/libkls_koala.so -%{tde_libdir}/ksquirrel-libs/libkls_leaf.la -%{tde_libdir}/ksquirrel-libs/libkls_leaf.so -%{tde_libdir}/ksquirrel-libs/libkls_lif.la -%{tde_libdir}/ksquirrel-libs/libkls_lif.so -%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.la -%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.so -%{tde_libdir}/ksquirrel-libs/libkls_mac.la -%{tde_libdir}/ksquirrel-libs/libkls_mac.so -%{tde_libdir}/ksquirrel-libs/libkls_mdl.la -%{tde_libdir}/ksquirrel-libs/libkls_mdl.so -%{tde_libdir}/ksquirrel-libs/libkls_mng.la -%{tde_libdir}/ksquirrel-libs/libkls_mng.so -%{tde_libdir}/ksquirrel-libs/libkls_mtv.la -%{tde_libdir}/ksquirrel-libs/libkls_mtv.so -%{tde_libdir}/ksquirrel-libs/libkls_neo.la -%{tde_libdir}/ksquirrel-libs/libkls_neo.so -%{tde_libdir}/ksquirrel-libs/libkls_openexr.la -%{tde_libdir}/ksquirrel-libs/libkls_openexr.so -%{tde_libdir}/ksquirrel-libs/libkls_pcx.la -%{tde_libdir}/ksquirrel-libs/libkls_pcx.so -%{tde_libdir}/ksquirrel-libs/libkls_pi1.la -%{tde_libdir}/ksquirrel-libs/libkls_pi1.so -%{tde_libdir}/ksquirrel-libs/libkls_pi3.la -%{tde_libdir}/ksquirrel-libs/libkls_pi3.so -%{tde_libdir}/ksquirrel-libs/libkls_pix.la -%{tde_libdir}/ksquirrel-libs/libkls_pix.so -%{tde_libdir}/ksquirrel-libs/libkls_png.la -%{tde_libdir}/ksquirrel-libs/libkls_png.so -%{tde_libdir}/ksquirrel-libs/libkls_pnm.la -%{tde_libdir}/ksquirrel-libs/libkls_pnm.so -%{tde_libdir}/ksquirrel-libs/libkls_psd.la -%{tde_libdir}/ksquirrel-libs/libkls_psd.so -%{tde_libdir}/ksquirrel-libs/libkls_psp.la -%{tde_libdir}/ksquirrel-libs/libkls_psp.so -%{tde_libdir}/ksquirrel-libs/libkls_pxr.la -%{tde_libdir}/ksquirrel-libs/libkls_pxr.so -%{tde_libdir}/ksquirrel-libs/libkls_ras.la -%{tde_libdir}/ksquirrel-libs/libkls_ras.so -%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.la -%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.so -%{tde_libdir}/ksquirrel-libs/libkls_sct.la -%{tde_libdir}/ksquirrel-libs/libkls_sct.so -%{tde_libdir}/ksquirrel-libs/libkls_sgi.la -%{tde_libdir}/ksquirrel-libs/libkls_sgi.so -%{tde_libdir}/ksquirrel-libs/libkls_sun.la -%{tde_libdir}/ksquirrel-libs/libkls_sun.so -%if 0%{?with_svg} -%{tde_libdir}/ksquirrel-libs/libkls_svg.la -%{tde_libdir}/ksquirrel-libs/libkls_svg.so -%endif -%{tde_libdir}/ksquirrel-libs/libkls_tga.la -%{tde_libdir}/ksquirrel-libs/libkls_tga.so -%{tde_libdir}/ksquirrel-libs/libkls_tiff.la -%{tde_libdir}/ksquirrel-libs/libkls_tiff.so -%if 0%{?with_freetype} -%{tde_libdir}/ksquirrel-libs/libkls_ttf.la -%{tde_libdir}/ksquirrel-libs/libkls_ttf.so -%endif -%{tde_libdir}/ksquirrel-libs/libkls_utah.la -%{tde_libdir}/ksquirrel-libs/libkls_utah.so -%{tde_libdir}/ksquirrel-libs/libkls_wal.la -%{tde_libdir}/ksquirrel-libs/libkls_wal.so -%{tde_libdir}/ksquirrel-libs/libkls_wbmp.la -%{tde_libdir}/ksquirrel-libs/libkls_wbmp.so -%{tde_libdir}/ksquirrel-libs/libkls_wmf.la -%{tde_libdir}/ksquirrel-libs/libkls_wmf.so -%{tde_libdir}/ksquirrel-libs/libkls_xbm.la -%{tde_libdir}/ksquirrel-libs/libkls_xbm.so -%{tde_libdir}/ksquirrel-libs/libkls_xcf.la -%{tde_libdir}/ksquirrel-libs/libkls_xcf.so -%{tde_libdir}/ksquirrel-libs/libkls_xcur.la -%{tde_libdir}/ksquirrel-libs/libkls_xcur.so -%{tde_libdir}/ksquirrel-libs/libkls_xim.la -%{tde_libdir}/ksquirrel-libs/libkls_xim.so -%{tde_libdir}/ksquirrel-libs/libkls_xpm.la -%{tde_libdir}/ksquirrel-libs/libkls_xpm.so -%{tde_libdir}/ksquirrel-libs/libkls_xwd.la -%{tde_libdir}/ksquirrel-libs/libkls_xwd.so -%{tde_libdir}/libksquirrel-libs-png.la -%{tde_libdir}/libksquirrel-libs-png.so -%{tde_libdir}/libksquirrel-libs.la -%{tde_libdir}/libksquirrel-libs.so -%{tde_libdir}/pkgconfig/ksquirrellibs.pc -%{tde_docdir}/ksquirrel-libs/ - -%files tools -%defattr(-,root,root,-) -%{tde_bindir}/ksquirrel-libs-camera2ppm -%{tde_bindir}/ksquirrel-libs-dcraw -%if 0%{?with_xmedcon} -%{tde_bindir}/ksquirrel-libs-dicom2png -%endif -%{tde_bindir}/ksquirrel-libs-fig2ppm -%{tde_bindir}/ksquirrel-libs-iff2ppm -%{tde_bindir}/ksquirrel-libs-leaf2ppm -%{tde_bindir}/ksquirrel-libs-ljpeg2ppm -%{tde_bindir}/ksquirrel-libs-ljpeg2ppm-s -%{tde_bindir}/ksquirrel-libs-mac2ppm -%{tde_bindir}/ksquirrel-libs-neo2ppm -%{tde_bindir}/ksquirrel-libs-pi12ppm -%{tde_bindir}/ksquirrel-libs-pi32ppm -%if 0%{?with_svg} -%{tde_bindir}/ksquirrel-libs-svg2png -%endif -%if 0%{?with_freetype} -%{tde_bindir}/ksquirrel-libs-ttf2pnm -%endif -%{tde_bindir}/ksquirrel-libs-utah2ppm -%{tde_bindir}/ksquirrel-libs-xcf2pnm -%{tde_bindir}/ksquirrel-libs-xim2ppm - - -%Changelog -* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 -- Initial build for TDE 3.5.13.2 diff --git a/redhat/libraries/libksquirrel/trinity-libksquirrel-3.5.13.spec b/redhat/libraries/libksquirrel/trinity-libksquirrel-3.5.13.spec deleted file mode 100644 index 815c83075..000000000 --- a/redhat/libraries/libksquirrel/trinity-libksquirrel-3.5.13.spec +++ /dev/null @@ -1,423 +0,0 @@ -# Default version for this component -%define kdecomp libksquirrel - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-%{kdecomp} -Summary: Trinity image viewer -Version: 0.8.0 -Release: 1%{?dist}%{?_variant} - -License: GPLv2+ -Group: Environment/Libraries - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{kdecomp}-3.5.13.tar.gz -Patch0: libksquirrel-3.5.13-detect_netpbm.patch -Patch1: libksquirrel-3.5.13-fix_docdir.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: gettext-devel -BuildRequires: transfig -BuildRequires: djvulibre -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_xmedcon 1 -BuildRequires: xmedcon -BuildRequires: xmedcon-devel -BuildRequires: librsvg -%endif -BuildRequires: libwmf-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: netpbm -%else -BuildRequires: netpbm-progs -%endif - - -%description -Runtime libraries for KSquirrel. - - -%package devel -Group: Development/Libraries -Summary: Trinity image viewer -Requires: %{name} - -%description devel -Development libraries for KSquirrel. - - -%package tools -Summary: Trinity image viewer -Group: Environment/Libraries -Requires: %{name} - -%description tools -Tools for KSquirrel. - - -%prep -%setup -q -n libraries/%{kdecomp} -%patch0 -p1 -%patch1 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --includedir=%{tde_includedir} \ - --disable-rpath \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-djvu - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - - -%clean -%__rm -rf %{buildroot} - - -%post -/sbin/ldconfig || : - -%postun -/sbin/ldconfig || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING LICENSE README -%{tde_libdir}/ksquirrel-libs/libkls_avs.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_avs.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_bmp.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_bmp.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_camera.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_camera.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_cut.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_cut.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_dds.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_dds.so.0.8.0 -%if 0%{?with_xmedcon} -%{tde_libdir}/ksquirrel-libs/libkls_dicom.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_dicom.so.0.8.0 -%endif -%{tde_libdir}/ksquirrel-libs/libkls_djvu.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_djvu.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_eps.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_eps.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_fig.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_fig.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_fli.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_fli.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_gif.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_gif.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_hdr.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_hdr.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_ico.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_ico.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_iff.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_iff.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_jbig.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_jbig.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_jpeg.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_jpeg.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_koala.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_koala.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_leaf.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_leaf.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_lif.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_lif.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_mac.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_mac.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_mdl.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_mdl.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_mng.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_mng.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_mtv.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_mtv.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_neo.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_neo.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_openexr.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_openexr.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_pcx.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_pcx.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_pi1.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_pi1.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_pi3.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_pi3.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_pix.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_pix.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_png.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_png.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_pnm.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_pnm.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_psd.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_psd.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_psp.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_psp.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_pxr.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_pxr.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_ras.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_ras.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_sct.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_sct.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_sgi.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_sgi.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_sun.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_sun.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_svg.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_svg.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_tga.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_tga.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_tiff.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_tiff.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_ttf.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_ttf.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_utah.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_utah.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_wal.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_wal.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_wbmp.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_wbmp.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_wmf.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_wmf.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_xbm.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_xbm.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_xcf.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_xcf.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_xcur.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_xcur.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_xim.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_xim.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_xpm.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_xpm.so.0.8.0 -%{tde_libdir}/ksquirrel-libs/libkls_xwd.so.0 -%{tde_libdir}/ksquirrel-libs/libkls_xwd.so.0.8.0 -%{tde_libdir}/libksquirrel-libs-png.so.0 -%{tde_libdir}/libksquirrel-libs-png.so.0.0.0 -%{tde_libdir}/libksquirrel-libs.so.0 -%{tde_libdir}/libksquirrel-libs.so.0.8.0 -%{tde_datadir}/ksquirrel-libs/libkls_camera.so.ui -%{tde_datadir}/ksquirrel-libs/libkls_djvu.so.ui -%{tde_datadir}/ksquirrel-libs/libkls_svg.so.ui -%{tde_datadir}/ksquirrel-libs/libkls_tiff.so.ui -%{tde_datadir}/ksquirrel-libs/libkls_xcf.so.ui -%{tde_datadir}/ksquirrel-libs/rgbmap - -%files devel -%defattr(-,root,root,-) -%{tde_includedir}/ksquirrel-libs/error.h -%{tde_includedir}/ksquirrel-libs/fileio.h -%{tde_includedir}/ksquirrel-libs/fmt_codec_base.h -%{tde_includedir}/ksquirrel-libs/fmt_defs.h -%{tde_includedir}/ksquirrel-libs/fmt_types.h -%{tde_includedir}/ksquirrel-libs/fmt_utils.h -%{tde_includedir}/ksquirrel-libs/settings.h -%{tde_libdir}/ksquirrel-libs/libkls_avs.la -%{tde_libdir}/ksquirrel-libs/libkls_avs.so -%{tde_libdir}/ksquirrel-libs/libkls_bmp.la -%{tde_libdir}/ksquirrel-libs/libkls_bmp.so -%{tde_libdir}/ksquirrel-libs/libkls_camera.la -%{tde_libdir}/ksquirrel-libs/libkls_camera.so -%{tde_libdir}/ksquirrel-libs/libkls_cut.la -%{tde_libdir}/ksquirrel-libs/libkls_cut.so -%{tde_libdir}/ksquirrel-libs/libkls_dds.la -%{tde_libdir}/ksquirrel-libs/libkls_dds.so -%if 0%{?with_xmedcon} -%{tde_libdir}/ksquirrel-libs/libkls_dicom.la -%{tde_libdir}/ksquirrel-libs/libkls_dicom.so -%endif -%{tde_libdir}/ksquirrel-libs/libkls_djvu.la -%{tde_libdir}/ksquirrel-libs/libkls_djvu.so -%{tde_libdir}/ksquirrel-libs/libkls_eps.la -%{tde_libdir}/ksquirrel-libs/libkls_eps.so -%{tde_libdir}/ksquirrel-libs/libkls_fig.la -%{tde_libdir}/ksquirrel-libs/libkls_fig.so -%{tde_libdir}/ksquirrel-libs/libkls_fli.la -%{tde_libdir}/ksquirrel-libs/libkls_fli.so -%{tde_libdir}/ksquirrel-libs/libkls_gif.la -%{tde_libdir}/ksquirrel-libs/libkls_gif.so -%{tde_libdir}/ksquirrel-libs/libkls_hdr.la -%{tde_libdir}/ksquirrel-libs/libkls_hdr.so -%{tde_libdir}/ksquirrel-libs/libkls_ico.la -%{tde_libdir}/ksquirrel-libs/libkls_ico.so -%{tde_libdir}/ksquirrel-libs/libkls_iff.la -%{tde_libdir}/ksquirrel-libs/libkls_iff.so -%{tde_libdir}/ksquirrel-libs/libkls_jbig.la -%{tde_libdir}/ksquirrel-libs/libkls_jbig.so -%{tde_libdir}/ksquirrel-libs/libkls_jpeg.la -%{tde_libdir}/ksquirrel-libs/libkls_jpeg.so -%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.la -%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.so -%{tde_libdir}/ksquirrel-libs/libkls_koala.la -%{tde_libdir}/ksquirrel-libs/libkls_koala.so -%{tde_libdir}/ksquirrel-libs/libkls_leaf.la -%{tde_libdir}/ksquirrel-libs/libkls_leaf.so -%{tde_libdir}/ksquirrel-libs/libkls_lif.la -%{tde_libdir}/ksquirrel-libs/libkls_lif.so -%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.la -%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.so -%{tde_libdir}/ksquirrel-libs/libkls_mac.la -%{tde_libdir}/ksquirrel-libs/libkls_mac.so -%{tde_libdir}/ksquirrel-libs/libkls_mdl.la -%{tde_libdir}/ksquirrel-libs/libkls_mdl.so -%{tde_libdir}/ksquirrel-libs/libkls_mng.la -%{tde_libdir}/ksquirrel-libs/libkls_mng.so -%{tde_libdir}/ksquirrel-libs/libkls_mtv.la -%{tde_libdir}/ksquirrel-libs/libkls_mtv.so -%{tde_libdir}/ksquirrel-libs/libkls_neo.la -%{tde_libdir}/ksquirrel-libs/libkls_neo.so -%{tde_libdir}/ksquirrel-libs/libkls_openexr.la -%{tde_libdir}/ksquirrel-libs/libkls_openexr.so -%{tde_libdir}/ksquirrel-libs/libkls_pcx.la -%{tde_libdir}/ksquirrel-libs/libkls_pcx.so -%{tde_libdir}/ksquirrel-libs/libkls_pi1.la -%{tde_libdir}/ksquirrel-libs/libkls_pi1.so -%{tde_libdir}/ksquirrel-libs/libkls_pi3.la -%{tde_libdir}/ksquirrel-libs/libkls_pi3.so -%{tde_libdir}/ksquirrel-libs/libkls_pix.la -%{tde_libdir}/ksquirrel-libs/libkls_pix.so -%{tde_libdir}/ksquirrel-libs/libkls_png.la -%{tde_libdir}/ksquirrel-libs/libkls_png.so -%{tde_libdir}/ksquirrel-libs/libkls_pnm.la -%{tde_libdir}/ksquirrel-libs/libkls_pnm.so -%{tde_libdir}/ksquirrel-libs/libkls_psd.la -%{tde_libdir}/ksquirrel-libs/libkls_psd.so -%{tde_libdir}/ksquirrel-libs/libkls_psp.la -%{tde_libdir}/ksquirrel-libs/libkls_psp.so -%{tde_libdir}/ksquirrel-libs/libkls_pxr.la -%{tde_libdir}/ksquirrel-libs/libkls_pxr.so -%{tde_libdir}/ksquirrel-libs/libkls_ras.la -%{tde_libdir}/ksquirrel-libs/libkls_ras.so -%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.la -%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.so -%{tde_libdir}/ksquirrel-libs/libkls_sct.la -%{tde_libdir}/ksquirrel-libs/libkls_sct.so -%{tde_libdir}/ksquirrel-libs/libkls_sgi.la -%{tde_libdir}/ksquirrel-libs/libkls_sgi.so -%{tde_libdir}/ksquirrel-libs/libkls_sun.la -%{tde_libdir}/ksquirrel-libs/libkls_sun.so -%{tde_libdir}/ksquirrel-libs/libkls_svg.la -%{tde_libdir}/ksquirrel-libs/libkls_svg.so -%{tde_libdir}/ksquirrel-libs/libkls_tga.la -%{tde_libdir}/ksquirrel-libs/libkls_tga.so -%{tde_libdir}/ksquirrel-libs/libkls_tiff.la -%{tde_libdir}/ksquirrel-libs/libkls_tiff.so -%{tde_libdir}/ksquirrel-libs/libkls_ttf.la -%{tde_libdir}/ksquirrel-libs/libkls_ttf.so -%{tde_libdir}/ksquirrel-libs/libkls_utah.la -%{tde_libdir}/ksquirrel-libs/libkls_utah.so -%{tde_libdir}/ksquirrel-libs/libkls_wal.la -%{tde_libdir}/ksquirrel-libs/libkls_wal.so -%{tde_libdir}/ksquirrel-libs/libkls_wbmp.la -%{tde_libdir}/ksquirrel-libs/libkls_wbmp.so -%{tde_libdir}/ksquirrel-libs/libkls_wmf.la -%{tde_libdir}/ksquirrel-libs/libkls_wmf.so -%{tde_libdir}/ksquirrel-libs/libkls_xbm.la -%{tde_libdir}/ksquirrel-libs/libkls_xbm.so -%{tde_libdir}/ksquirrel-libs/libkls_xcf.la -%{tde_libdir}/ksquirrel-libs/libkls_xcf.so -%{tde_libdir}/ksquirrel-libs/libkls_xcur.la -%{tde_libdir}/ksquirrel-libs/libkls_xcur.so -%{tde_libdir}/ksquirrel-libs/libkls_xim.la -%{tde_libdir}/ksquirrel-libs/libkls_xim.so -%{tde_libdir}/ksquirrel-libs/libkls_xpm.la -%{tde_libdir}/ksquirrel-libs/libkls_xpm.so -%{tde_libdir}/ksquirrel-libs/libkls_xwd.la -%{tde_libdir}/ksquirrel-libs/libkls_xwd.so -%{tde_libdir}/libksquirrel-libs-png.la -%{tde_libdir}/libksquirrel-libs-png.so -%{tde_libdir}/libksquirrel-libs.la -%{tde_libdir}/libksquirrel-libs.so -%{tde_libdir}/pkgconfig/ksquirrellibs.pc -%{tde_docdir}/ksquirrel-libs/ - -%files tools -%defattr(-,root,root,-) -%{tde_bindir}/ksquirrel-libs-camera2ppm -%{tde_bindir}/ksquirrel-libs-dcraw -%if 0%{?with_xmedcon} -%{tde_bindir}/ksquirrel-libs-dicom2png -%endif -%{tde_bindir}/ksquirrel-libs-fig2ppm -%{tde_bindir}/ksquirrel-libs-iff2ppm -%{tde_bindir}/ksquirrel-libs-leaf2ppm -%{tde_bindir}/ksquirrel-libs-ljpeg2ppm -%{tde_bindir}/ksquirrel-libs-ljpeg2ppm-s -%{tde_bindir}/ksquirrel-libs-mac2ppm -%{tde_bindir}/ksquirrel-libs-neo2ppm -%{tde_bindir}/ksquirrel-libs-pi12ppm -%{tde_bindir}/ksquirrel-libs-pi32ppm -%{tde_bindir}/ksquirrel-libs-svg2png -%{tde_bindir}/ksquirrel-libs-ttf2pnm -%{tde_bindir}/ksquirrel-libs-utah2ppm -%{tde_bindir}/ksquirrel-libs-xcf2pnm -%{tde_bindir}/ksquirrel-libs-xim2ppm - - -%Changelog -* Sun Nov 20 2011 Francois Andriot - 0.8.0-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/libraries/pytdeextensions/pykdeextensions-3.5.13.1.spec b/redhat/libraries/pytdeextensions/pykdeextensions-3.5.13.1.spec new file mode 100644 index 000000000..377e55360 --- /dev/null +++ b/redhat/libraries/pytdeextensions/pykdeextensions-3.5.13.1.spec @@ -0,0 +1,212 @@ +%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + + +Name: trinity-pytdeextensions +Summary: Python packages to support TDE applications (scripts) [Trinity] +Version: 0.4.0 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.simonzone.com/software/pykdeextensions + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: pykdeextensions-3.5.13.1.tar.gz + + + + +# [pykdeextensions] Fix hardcoded path to Guidance python libraries [Bug #999] +Patch2: pykdeextensions-3.5.13.1-fix_extra_module_dir.patch +# [pykdeextensions] Fix include directory search location +Patch5: pykdeextensions-3.5.13-fix_include_dir.patch +# [pykdeextensions] Fix 'libgcc' search location +Patch6: pykdeextensions-3.5.13.1-fix_libgcc_detection.patch + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 +BuildRequires: trinity-arts-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: python-trinity-devel + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: python-qt +%else +%if 0%{?rhel} == 5 || 0%{?suse_version} +BuildRequires: trinity-PyQt-devel +%else +BuildRequires: PyQt-devel +%endif +%endif + +Requires: trinity-libpythonize0 = %{version}-%{release} + +Obsoletes: trinity-pykdeextensions < %{version}-%{release} +Provides: trinity-pykdeextensions = %{version}-%{release} + + +%description +PyKDE Extensions is a collection of software and Python packages +to support the creation and installation of KDE applications. + + +%package -n trinity-libpythonize0 +Summary: Python packages to support KDE applications (library) [Trinity] +Group: Environment/Libraries + +%description -n trinity-libpythonize0 +PyKDE Extensions is a collection of software and Python packages +to support the creation and installation of KDE applications. + +This package contains the libpythonize library files. + + +%package -n trinity-libpythonize0-devel +Summary: Python packages to support KDE applications (development) [Trinity] +Group: Development/Libraries +Requires: trinity-libpythonize0 = %{version}-%{release} + +%description -n trinity-libpythonize0-devel +PyKDE Extensions is a collection of software and Python packages +to support the creation and installation of KDE applications. + +This package contains the libpythonize development files. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n pykdeextensions-3.5.13.1 +%patch2 -p1 -b .extramodule +%patch5 -p1 -b .incdir +%patch6 -p1 -b .libgcc + +# Changes library directory to 'lib64' +for f in src/*.py; do + %__sed -i "${f}" \ + -e "s|%{tde_prefix}/lib/|%{tde_libdir}/|g" \ + -e "s|/usr/lib/pyshared/python\*|%{python_sitearch}|g" \ + -e "s|'pykde-dir=',None,|'pykde-dir=','%{python_sitearch}',|g" \ + -e "s|self.pykde_dir = None|self.pykde_dir = \"%{python_sitearch}\"|g" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|%{tde_includedir}/kde|%{tde_tdeincludedir}|g" \ + -e 's|"/kde"|"/tde"|' +done + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt +export KDEDIR=%{tde_prefix} + +%__mkdir_p build +./setup.py build_libpythonize + +%install +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt + +# Avoids 'error: byte-compiling is disabled.' on Mandriva/Mageia +export PYTHONDONTWRITEBYTECODE= + +%__rm -rf %{buildroot} + +./setup.py install \ + --root=%{buildroot} \ + --prefix=%{tde_prefix} \ + --install-clib=%{tde_libdir} \ + --install-cheaders=%{tde_tdeincludedir} + +# Removes BUILDROOT directory reference in installed files +for f in \ + %{buildroot}%{tde_libdir}/libpythonize.la \ + %{buildroot}%{tde_datadir}/apps/pykdeextensions/app_templates/kcontrol_module/src/KcontrolModuleWidgetUI.py \ + %{buildroot}%{tde_datadir}/apps/pykdeextensions/app_templates/kdeutility/src/KDEUtilityDialogUI.py \ +; do + %__sed -i "${f}" -e "s|%{buildroot}||g" +: +done + +# Moves PYTHON libraries to distribution directory +%__mkdir_p %{buildroot}%{python_sitearch} +%__mv -f %{buildroot}%{tde_prefix}/lib/python*/site-packages/* %{buildroot}%{python_sitearch} +%__rm -rf %{buildroot}%{tde_prefix}/lib/python*/site-packages + +# Removes useless files +%__rm -rf %{?buildroot}%{tde_libdir}/*.a + +# Fix permissions on include files +%__chmod 644 %{?buildroot}%{tde_tdeincludedir}/*.h + +%clean +%__rm -rf %{buildroot} + + +%post -n trinity-libpythonize0 +/sbin/ldconfig + +%postun -n trinity-libpythonize0 +/sbin/ldconfig + +%post -n trinity-libpythonize0-devel +/sbin/ldconfig + +%postun -n trinity-libpythonize0-devel +/sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{tde_datadir}/apps/pykdeextensions +%{tde_tdedocdir}/HTML/en/pykdeextensions +%{python_sitearch}/* + +%files -n trinity-libpythonize0 +%defattr(-,root,root,-) +%{tde_libdir}/libpythonize.so.* + +%files -n trinity-libpythonize0-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/*.h +%{tde_libdir}/libpythonize.la +%{tde_libdir}/libpythonize.so + + +%Changelog +* Tue Oct 02 2012 Francois Andriot - 0.4.0-3 +- Initial release for TDE 3.5.13.1 diff --git a/redhat/libraries/pytdeextensions/pykdeextensions-3.5.13.spec b/redhat/libraries/pytdeextensions/pykdeextensions-3.5.13.spec new file mode 100644 index 000000000..18de0507e --- /dev/null +++ b/redhat/libraries/pytdeextensions/pykdeextensions-3.5.13.spec @@ -0,0 +1,215 @@ +%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + + +Name: trinity-pytdeextensions +Summary: Python packages to support TDE applications (scripts) [Trinity] +Version: 0.4.0 +Release: 2%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.simonzone.com/software/pykdeextensions + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: pykdeextensions-3.5.13.tar.gz + + + + +# [pykdeextensions] Fix KCM modules versioning [Bug #999] +Patch1: pykdeextensions-3.5.13-fix_libtool.patch +# [pykdeextensions] Fix hardcoded path to Guidance python libraries [Bug #999] +Patch2: pykdeextensions-3.5.13-fix_extra_module_dir.patch +# [pykdeextensions] Reverse an old Debian-specific patch that prevents building on +# some 64-bit systems. Add text to help with basic debugging. [Commit #32d597f9] +Patch3: pykdeextensions-3.5.13-fix_libsuffix.patch +# [pykdeextensions] Do not link with stdc++ +Patch4: pykdeextensions-3.5.13-do_not_link_stdc++.patch +# [pykdeextensions] Fix include directory search location +Patch5: pykdeextensions-3.5.13-fix_include_dir.patch + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: python-trinity-devel + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: python-qt +%else +%if 0%{?rhel} == 5 +BuildRequires: trinity-PyQt-devel +%else +BuildRequires: PyQt-devel +%endif +%endif + +Requires: trinity-libpythonize0 = %{version}-%{release} + +Obsoletes: trinity-pykdeextensions < %{version}-%{release} +Provides: trinity-pykdeextensions = %{version}-%{release} + + +%description +PyKDE Extensions is a collection of software and Python packages +to support the creation and installation of KDE applications. + + +%package -n trinity-libpythonize0 +Summary: Python packages to support KDE applications (library) [Trinity] +Group: Environment/Libraries + +%description -n trinity-libpythonize0 +PyKDE Extensions is a collection of software and Python packages +to support the creation and installation of KDE applications. + +This package contains the libpythonize library files. + + +%package -n trinity-libpythonize0-devel +Summary: Python packages to support KDE applications (development) [Trinity] +Group: Development/Libraries +Requires: trinity-libpythonize0 = %{version}-%{release} + +%description -n trinity-libpythonize0-devel +PyKDE Extensions is a collection of software and Python packages +to support the creation and installation of KDE applications. + +This package contains the libpythonize development files. + + +%prep +%setup -q -n libraries/pykdeextensions +%patch1 -p1 -b .libtool +%patch2 -p1 -b .extramodule +%patch3 -p1 -b .libsuffix +%patch4 -p1 -b .stdc++ +%patch5 -p1 -b .incdir + +# Changes library directory to 'lib64' +for f in src/*.py; do + %__sed -i "${f}" \ + -e "s|%{tde_prefix}/lib/|%{tde_libdir}/|g" \ + -e "s|/usr/lib/pyshared/python2.6|%{python_sitearch}|g" \ + -e "s|'pykde-dir=',None,|'pykde-dir=','%{python_sitearch}',|g" \ + -e "s|self.pykde_dir = None|self.pykde_dir = \"%{python_sitearch}\"|g" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" +done + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt + +./setup.py build_libpythonize + +%install +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt + +# Avoids 'error: byte-compiling is disabled.' on Mandriva/Mageia +export PYTHONDONTWRITEBYTECODE= + +%__rm -rf %{buildroot} + + +./setup.py install \ + --root=%{buildroot} \ + --prefix=%{tde_prefix} \ + --install-clib=%{tde_libdir} \ + --install-cheaders=%{tde_tdeincludedir} + +# Removes BUILDROOT directory reference in installed files +for f in \ + %{buildroot}%{tde_libdir}/libpythonize.la \ + %{buildroot}%{tde_datadir}/apps/pykdeextensions/app_templates/kcontrol_module/src/KcontrolModuleWidgetUI.py \ + %{buildroot}%{tde_datadir}/apps/pykdeextensions/app_templates/kdeutility/src/KDEUtilityDialogUI.py \ +; do + %__sed -i "${f}" -e "s|%{buildroot}||g" +: +done + +# Moves PYTHON libraries to distribution directory +%__mkdir_p %{buildroot}%{python_sitearch} +%__mv -f %{buildroot}%{tde_prefix}/lib/python*/site-packages/* %{buildroot}%{python_sitearch} +%__rm -rf %{buildroot}%{tde_prefix}/lib/python*/site-packages + +# Removes useless files +%__rm -rf %{?buildroot}%{tde_libdir}/*.a + +# Fix permissions on include files +%__chmod 644 %{?buildroot}%{tde_tdeincludedir}/*.h + +%clean +%__rm -rf %{buildroot} + + +%post -n trinity-libpythonize0 +/sbin/ldconfig + +%postun -n trinity-libpythonize0 +/sbin/ldconfig + +%post -n trinity-libpythonize0-devel +/sbin/ldconfig + +%postun -n trinity-libpythonize0-devel +/sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{tde_datadir}/apps/pykdeextensions +%{tde_tdedocdir}/HTML/en/pykdeextensions +%{python_sitearch}/* + +%files -n trinity-libpythonize0 +%defattr(-,root,root,-) +%{tde_libdir}/libpythonize.so.* + +%files -n trinity-libpythonize0-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/*.h +%{tde_libdir}/libpythonize.la +%{tde_libdir}/libpythonize.so + + +%Changelog +* Fri May 11 2012 Francois Andriot - 0.4.0-2 +- Fix KCM modules versioning [Bug #999] +- Fix hardcoded path to Guidance python libraries [Bug #999] + +* Thu Dec 01 2011 Francois Andriot - 0.4.0-1 +- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/libraries/pytdeextensions/pytdeextensions-3.5.13.2.spec b/redhat/libraries/pytdeextensions/pytdeextensions-3.5.13.2.spec new file mode 100644 index 000000000..8eee09999 --- /dev/null +++ b/redhat/libraries/pytdeextensions/pytdeextensions-3.5.13.2.spec @@ -0,0 +1,227 @@ +%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + + +Name: trinity-pytdeextensions +Summary: Python packages to support TDE applications (scripts) [Trinity] +Version: 0.4.0 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.simonzone.com/software/pykdeextensions + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + + + + +# [pykdeextensions] Fix hardcoded path to Guidance python libraries [Bug #999] +Patch2: pykdeextensions-3.5.13.2-fix_extra_module_dir.patch +# [pykdeextensions] Fix include directory search location +Patch5: pykdeextensions-3.5.13.2-fix_include_dir.patch + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-arts-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: trinity-python-trinity-devel + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: python-qt +%else +%if 0%{?rhel} == 4 || 0%{?rhel} == 5 || 0%{?suse_version} +BuildRequires: trinity-PyQt-devel +%else +BuildRequires: PyQt-devel +%endif +%endif + +Requires: trinity-libpythonize0 = %{version}-%{release} + +Obsoletes: trinity-pykdeextensions < %{version}-%{release} +Provides: trinity-pykdeextensions = %{version}-%{release} + + +%description +PyKDE Extensions is a collection of software and Python packages +to support the creation and installation of KDE applications. + + +%package -n trinity-libpythonize0 +Summary: Python packages to support KDE applications (library) [Trinity] +Group: Environment/Libraries + +%description -n trinity-libpythonize0 +PyKDE Extensions is a collection of software and Python packages +to support the creation and installation of KDE applications. + +This package contains the libpythonize library files. + + +%package -n trinity-libpythonize0-devel +Summary: Python packages to support KDE applications (development) [Trinity] +Group: Development/Libraries +Requires: trinity-libpythonize0 = %{version}-%{release} + +%description -n trinity-libpythonize0-devel +PyKDE Extensions is a collection of software and Python packages +to support the creation and installation of KDE applications. + +This package contains the libpythonize development files. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 +%patch2 -p1 -b .extramodule +%patch5 -p1 -b .incdir + +# Changes library directory to 'lib64' +# Also other fixes for distributions ... +for f in src/*.py; do + %__sed -i "${f}" \ + -e "s|%{tde_prefix}/lib/|%{tde_libdir}/|g" \ + -e "s|/usr/lib/pyshared/python\*|%{python_sitearch}|g" \ + -e "s|'pykde-dir=',None,|'pykde-dir=','%{python_sitearch}',|g" \ + -e "s|self.pykde_dir = None|self.pykde_dir = \"%{python_sitearch}\"|g" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|%{tde_includedir}/kde|%{tde_tdeincludedir}|g" \ + -e 's|"/kde"|"/tde"|' +done + +# Do not look for 'libpython2.x.so' (from -devel) package. +# Instead look for runtime library. +LIBPYTHON="$(readlink %{_libdir}/libpython2.*.so)" +if [ -f "%{_libdir}/${LIBPYTHON}" ]; then + %__sed -i "src/kdedistutils.py" \ + -e "s|#define LIB_PYTHON \".*\"|#define LIB_PYTHON \"%{_libdir}/${LIBPYTHON}\"|" +fi + +if [ -d "%{python_sitearch}/trinity-PyQt" ]; then + %__sed -i "src/kdedistutils.py" \ + -e "s|'pyqt-dir=','%{python_sitearch}'|'pyqt-dir=','%{python_sitearch}/trinity-PyQt'|g" \ + -e "s|self.pyqt_dir = \"%{python_sitearch}\"|self.pyqt_dir = \"%{python_sitearch}/trinity-PyQt\"|g" +fi + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt +export KDEDIR="%{tde_prefix}" + +%__mkdir_p build +./setup.py build_libpythonize + +%install +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt + +# Avoids 'error: byte-compiling is disabled.' on Mandriva/Mageia +export PYTHONDONTWRITEBYTECODE= + +%__rm -rf %{buildroot} + +./setup.py install \ + --root=%{buildroot} \ + --prefix=%{tde_prefix} \ + --install-clib=%{tde_libdir} \ + --install-cheaders=%{tde_tdeincludedir} + +# Removes BUILDROOT directory reference in installed files +for f in \ + %{buildroot}%{tde_libdir}/libpythonize.la \ + %{buildroot}%{tde_datadir}/apps/pykdeextensions/app_templates/kcontrol_module/src/KcontrolModuleWidgetUI.py \ + %{buildroot}%{tde_datadir}/apps/pykdeextensions/app_templates/kdeutility/src/KDEUtilityDialogUI.py \ +; do + %__sed -i "${f}" -e "s|%{buildroot}||g" +: +done + +# Moves PYTHON libraries to distribution directory +%__mkdir_p %{buildroot}%{python_sitearch} +%__mv -f %{buildroot}%{tde_prefix}/lib/python*/site-packages/* %{buildroot}%{python_sitearch} +%__rm -rf %{buildroot}%{tde_prefix}/lib/python*/site-packages + +# Removes useless files +%__rm -rf %{?buildroot}%{tde_libdir}/*.a + +# Fix permissions on include files +%__chmod 644 %{?buildroot}%{tde_tdeincludedir}/*.h + +%clean +%__rm -rf %{buildroot} + + +%post -n trinity-libpythonize0 +/sbin/ldconfig + +%postun -n trinity-libpythonize0 +/sbin/ldconfig + +%post -n trinity-libpythonize0-devel +/sbin/ldconfig + +%postun -n trinity-libpythonize0-devel +/sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{tde_datadir}/apps/pykdeextensions +%{tde_tdedocdir}/HTML/en/pykdeextensions +%{python_sitearch}/* + +%files -n trinity-libpythonize0 +%defattr(-,root,root,-) +%{tde_libdir}/libpythonize.so.* + +%files -n trinity-libpythonize0-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/*.h +%{tde_libdir}/libpythonize.la +%{tde_libdir}/libpythonize.so + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 +- Initial release for TDE 3.5.13.2 + +* Tue Oct 02 2012 Francois Andriot - 0.4.0-3 +- Initial release for TDE 3.5.13.1 diff --git a/redhat/libraries/pytdeextensions/trinity-pykdeextensions-3.5.13.1.spec b/redhat/libraries/pytdeextensions/trinity-pykdeextensions-3.5.13.1.spec deleted file mode 100644 index 377e55360..000000000 --- a/redhat/libraries/pytdeextensions/trinity-pykdeextensions-3.5.13.1.spec +++ /dev/null @@ -1,212 +0,0 @@ -%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - - -Name: trinity-pytdeextensions -Summary: Python packages to support TDE applications (scripts) [Trinity] -Version: 0.4.0 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.simonzone.com/software/pykdeextensions - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: pykdeextensions-3.5.13.1.tar.gz - - - - -# [pykdeextensions] Fix hardcoded path to Guidance python libraries [Bug #999] -Patch2: pykdeextensions-3.5.13.1-fix_extra_module_dir.patch -# [pykdeextensions] Fix include directory search location -Patch5: pykdeextensions-3.5.13-fix_include_dir.patch -# [pykdeextensions] Fix 'libgcc' search location -Patch6: pykdeextensions-3.5.13.1-fix_libgcc_detection.patch - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1 -BuildRequires: trinity-arts-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: python-trinity-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: python-qt -%else -%if 0%{?rhel} == 5 || 0%{?suse_version} -BuildRequires: trinity-PyQt-devel -%else -BuildRequires: PyQt-devel -%endif -%endif - -Requires: trinity-libpythonize0 = %{version}-%{release} - -Obsoletes: trinity-pykdeextensions < %{version}-%{release} -Provides: trinity-pykdeextensions = %{version}-%{release} - - -%description -PyKDE Extensions is a collection of software and Python packages -to support the creation and installation of KDE applications. - - -%package -n trinity-libpythonize0 -Summary: Python packages to support KDE applications (library) [Trinity] -Group: Environment/Libraries - -%description -n trinity-libpythonize0 -PyKDE Extensions is a collection of software and Python packages -to support the creation and installation of KDE applications. - -This package contains the libpythonize library files. - - -%package -n trinity-libpythonize0-devel -Summary: Python packages to support KDE applications (development) [Trinity] -Group: Development/Libraries -Requires: trinity-libpythonize0 = %{version}-%{release} - -%description -n trinity-libpythonize0-devel -PyKDE Extensions is a collection of software and Python packages -to support the creation and installation of KDE applications. - -This package contains the libpythonize development files. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n pykdeextensions-3.5.13.1 -%patch2 -p1 -b .extramodule -%patch5 -p1 -b .incdir -%patch6 -p1 -b .libgcc - -# Changes library directory to 'lib64' -for f in src/*.py; do - %__sed -i "${f}" \ - -e "s|%{tde_prefix}/lib/|%{tde_libdir}/|g" \ - -e "s|/usr/lib/pyshared/python\*|%{python_sitearch}|g" \ - -e "s|'pykde-dir=',None,|'pykde-dir=','%{python_sitearch}',|g" \ - -e "s|self.pykde_dir = None|self.pykde_dir = \"%{python_sitearch}\"|g" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|%{tde_includedir}/kde|%{tde_tdeincludedir}|g" \ - -e 's|"/kde"|"/tde"|' -done - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt -export KDEDIR=%{tde_prefix} - -%__mkdir_p build -./setup.py build_libpythonize - -%install -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt - -# Avoids 'error: byte-compiling is disabled.' on Mandriva/Mageia -export PYTHONDONTWRITEBYTECODE= - -%__rm -rf %{buildroot} - -./setup.py install \ - --root=%{buildroot} \ - --prefix=%{tde_prefix} \ - --install-clib=%{tde_libdir} \ - --install-cheaders=%{tde_tdeincludedir} - -# Removes BUILDROOT directory reference in installed files -for f in \ - %{buildroot}%{tde_libdir}/libpythonize.la \ - %{buildroot}%{tde_datadir}/apps/pykdeextensions/app_templates/kcontrol_module/src/KcontrolModuleWidgetUI.py \ - %{buildroot}%{tde_datadir}/apps/pykdeextensions/app_templates/kdeutility/src/KDEUtilityDialogUI.py \ -; do - %__sed -i "${f}" -e "s|%{buildroot}||g" -: -done - -# Moves PYTHON libraries to distribution directory -%__mkdir_p %{buildroot}%{python_sitearch} -%__mv -f %{buildroot}%{tde_prefix}/lib/python*/site-packages/* %{buildroot}%{python_sitearch} -%__rm -rf %{buildroot}%{tde_prefix}/lib/python*/site-packages - -# Removes useless files -%__rm -rf %{?buildroot}%{tde_libdir}/*.a - -# Fix permissions on include files -%__chmod 644 %{?buildroot}%{tde_tdeincludedir}/*.h - -%clean -%__rm -rf %{buildroot} - - -%post -n trinity-libpythonize0 -/sbin/ldconfig - -%postun -n trinity-libpythonize0 -/sbin/ldconfig - -%post -n trinity-libpythonize0-devel -/sbin/ldconfig - -%postun -n trinity-libpythonize0-devel -/sbin/ldconfig - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_datadir}/apps/pykdeextensions -%{tde_tdedocdir}/HTML/en/pykdeextensions -%{python_sitearch}/* - -%files -n trinity-libpythonize0 -%defattr(-,root,root,-) -%{tde_libdir}/libpythonize.so.* - -%files -n trinity-libpythonize0-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/*.h -%{tde_libdir}/libpythonize.la -%{tde_libdir}/libpythonize.so - - -%Changelog -* Tue Oct 02 2012 Francois Andriot - 0.4.0-3 -- Initial release for TDE 3.5.13.1 diff --git a/redhat/libraries/pytdeextensions/trinity-pykdeextensions-3.5.13.spec b/redhat/libraries/pytdeextensions/trinity-pykdeextensions-3.5.13.spec deleted file mode 100644 index 18de0507e..000000000 --- a/redhat/libraries/pytdeextensions/trinity-pykdeextensions-3.5.13.spec +++ /dev/null @@ -1,215 +0,0 @@ -%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - - -Name: trinity-pytdeextensions -Summary: Python packages to support TDE applications (scripts) [Trinity] -Version: 0.4.0 -Release: 2%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.simonzone.com/software/pykdeextensions - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: pykdeextensions-3.5.13.tar.gz - - - - -# [pykdeextensions] Fix KCM modules versioning [Bug #999] -Patch1: pykdeextensions-3.5.13-fix_libtool.patch -# [pykdeextensions] Fix hardcoded path to Guidance python libraries [Bug #999] -Patch2: pykdeextensions-3.5.13-fix_extra_module_dir.patch -# [pykdeextensions] Reverse an old Debian-specific patch that prevents building on -# some 64-bit systems. Add text to help with basic debugging. [Commit #32d597f9] -Patch3: pykdeextensions-3.5.13-fix_libsuffix.patch -# [pykdeextensions] Do not link with stdc++ -Patch4: pykdeextensions-3.5.13-do_not_link_stdc++.patch -# [pykdeextensions] Fix include directory search location -Patch5: pykdeextensions-3.5.13-fix_include_dir.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: python-trinity-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: python-qt -%else -%if 0%{?rhel} == 5 -BuildRequires: trinity-PyQt-devel -%else -BuildRequires: PyQt-devel -%endif -%endif - -Requires: trinity-libpythonize0 = %{version}-%{release} - -Obsoletes: trinity-pykdeextensions < %{version}-%{release} -Provides: trinity-pykdeextensions = %{version}-%{release} - - -%description -PyKDE Extensions is a collection of software and Python packages -to support the creation and installation of KDE applications. - - -%package -n trinity-libpythonize0 -Summary: Python packages to support KDE applications (library) [Trinity] -Group: Environment/Libraries - -%description -n trinity-libpythonize0 -PyKDE Extensions is a collection of software and Python packages -to support the creation and installation of KDE applications. - -This package contains the libpythonize library files. - - -%package -n trinity-libpythonize0-devel -Summary: Python packages to support KDE applications (development) [Trinity] -Group: Development/Libraries -Requires: trinity-libpythonize0 = %{version}-%{release} - -%description -n trinity-libpythonize0-devel -PyKDE Extensions is a collection of software and Python packages -to support the creation and installation of KDE applications. - -This package contains the libpythonize development files. - - -%prep -%setup -q -n libraries/pykdeextensions -%patch1 -p1 -b .libtool -%patch2 -p1 -b .extramodule -%patch3 -p1 -b .libsuffix -%patch4 -p1 -b .stdc++ -%patch5 -p1 -b .incdir - -# Changes library directory to 'lib64' -for f in src/*.py; do - %__sed -i "${f}" \ - -e "s|%{tde_prefix}/lib/|%{tde_libdir}/|g" \ - -e "s|/usr/lib/pyshared/python2.6|%{python_sitearch}|g" \ - -e "s|'pykde-dir=',None,|'pykde-dir=','%{python_sitearch}',|g" \ - -e "s|self.pykde_dir = None|self.pykde_dir = \"%{python_sitearch}\"|g" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" -done - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt - -./setup.py build_libpythonize - -%install -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt - -# Avoids 'error: byte-compiling is disabled.' on Mandriva/Mageia -export PYTHONDONTWRITEBYTECODE= - -%__rm -rf %{buildroot} - - -./setup.py install \ - --root=%{buildroot} \ - --prefix=%{tde_prefix} \ - --install-clib=%{tde_libdir} \ - --install-cheaders=%{tde_tdeincludedir} - -# Removes BUILDROOT directory reference in installed files -for f in \ - %{buildroot}%{tde_libdir}/libpythonize.la \ - %{buildroot}%{tde_datadir}/apps/pykdeextensions/app_templates/kcontrol_module/src/KcontrolModuleWidgetUI.py \ - %{buildroot}%{tde_datadir}/apps/pykdeextensions/app_templates/kdeutility/src/KDEUtilityDialogUI.py \ -; do - %__sed -i "${f}" -e "s|%{buildroot}||g" -: -done - -# Moves PYTHON libraries to distribution directory -%__mkdir_p %{buildroot}%{python_sitearch} -%__mv -f %{buildroot}%{tde_prefix}/lib/python*/site-packages/* %{buildroot}%{python_sitearch} -%__rm -rf %{buildroot}%{tde_prefix}/lib/python*/site-packages - -# Removes useless files -%__rm -rf %{?buildroot}%{tde_libdir}/*.a - -# Fix permissions on include files -%__chmod 644 %{?buildroot}%{tde_tdeincludedir}/*.h - -%clean -%__rm -rf %{buildroot} - - -%post -n trinity-libpythonize0 -/sbin/ldconfig - -%postun -n trinity-libpythonize0 -/sbin/ldconfig - -%post -n trinity-libpythonize0-devel -/sbin/ldconfig - -%postun -n trinity-libpythonize0-devel -/sbin/ldconfig - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_datadir}/apps/pykdeextensions -%{tde_tdedocdir}/HTML/en/pykdeextensions -%{python_sitearch}/* - -%files -n trinity-libpythonize0 -%defattr(-,root,root,-) -%{tde_libdir}/libpythonize.so.* - -%files -n trinity-libpythonize0-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/*.h -%{tde_libdir}/libpythonize.la -%{tde_libdir}/libpythonize.so - - -%Changelog -* Fri May 11 2012 Francois Andriot - 0.4.0-2 -- Fix KCM modules versioning [Bug #999] -- Fix hardcoded path to Guidance python libraries [Bug #999] - -* Thu Dec 01 2011 Francois Andriot - 0.4.0-1 -- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16 diff --git a/redhat/libraries/pytdeextensions/trinity-pytdeextensions-3.5.13.2.spec b/redhat/libraries/pytdeextensions/trinity-pytdeextensions-3.5.13.2.spec deleted file mode 100644 index 8eee09999..000000000 --- a/redhat/libraries/pytdeextensions/trinity-pytdeextensions-3.5.13.2.spec +++ /dev/null @@ -1,227 +0,0 @@ -%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - - -Name: trinity-pytdeextensions -Summary: Python packages to support TDE applications (scripts) [Trinity] -Version: 0.4.0 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.simonzone.com/software/pykdeextensions - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - - - - -# [pykdeextensions] Fix hardcoded path to Guidance python libraries [Bug #999] -Patch2: pykdeextensions-3.5.13.2-fix_extra_module_dir.patch -# [pykdeextensions] Fix include directory search location -Patch5: pykdeextensions-3.5.13.2-fix_include_dir.patch - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-arts-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: trinity-python-trinity-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: python-qt -%else -%if 0%{?rhel} == 4 || 0%{?rhel} == 5 || 0%{?suse_version} -BuildRequires: trinity-PyQt-devel -%else -BuildRequires: PyQt-devel -%endif -%endif - -Requires: trinity-libpythonize0 = %{version}-%{release} - -Obsoletes: trinity-pykdeextensions < %{version}-%{release} -Provides: trinity-pykdeextensions = %{version}-%{release} - - -%description -PyKDE Extensions is a collection of software and Python packages -to support the creation and installation of KDE applications. - - -%package -n trinity-libpythonize0 -Summary: Python packages to support KDE applications (library) [Trinity] -Group: Environment/Libraries - -%description -n trinity-libpythonize0 -PyKDE Extensions is a collection of software and Python packages -to support the creation and installation of KDE applications. - -This package contains the libpythonize library files. - - -%package -n trinity-libpythonize0-devel -Summary: Python packages to support KDE applications (development) [Trinity] -Group: Development/Libraries -Requires: trinity-libpythonize0 = %{version}-%{release} - -%description -n trinity-libpythonize0-devel -PyKDE Extensions is a collection of software and Python packages -to support the creation and installation of KDE applications. - -This package contains the libpythonize development files. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 -%patch2 -p1 -b .extramodule -%patch5 -p1 -b .incdir - -# Changes library directory to 'lib64' -# Also other fixes for distributions ... -for f in src/*.py; do - %__sed -i "${f}" \ - -e "s|%{tde_prefix}/lib/|%{tde_libdir}/|g" \ - -e "s|/usr/lib/pyshared/python\*|%{python_sitearch}|g" \ - -e "s|'pykde-dir=',None,|'pykde-dir=','%{python_sitearch}',|g" \ - -e "s|self.pykde_dir = None|self.pykde_dir = \"%{python_sitearch}\"|g" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|%{tde_includedir}/kde|%{tde_tdeincludedir}|g" \ - -e 's|"/kde"|"/tde"|' -done - -# Do not look for 'libpython2.x.so' (from -devel) package. -# Instead look for runtime library. -LIBPYTHON="$(readlink %{_libdir}/libpython2.*.so)" -if [ -f "%{_libdir}/${LIBPYTHON}" ]; then - %__sed -i "src/kdedistutils.py" \ - -e "s|#define LIB_PYTHON \".*\"|#define LIB_PYTHON \"%{_libdir}/${LIBPYTHON}\"|" -fi - -if [ -d "%{python_sitearch}/trinity-PyQt" ]; then - %__sed -i "src/kdedistutils.py" \ - -e "s|'pyqt-dir=','%{python_sitearch}'|'pyqt-dir=','%{python_sitearch}/trinity-PyQt'|g" \ - -e "s|self.pyqt_dir = \"%{python_sitearch}\"|self.pyqt_dir = \"%{python_sitearch}/trinity-PyQt\"|g" -fi - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt -export KDEDIR="%{tde_prefix}" - -%__mkdir_p build -./setup.py build_libpythonize - -%install -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt - -# Avoids 'error: byte-compiling is disabled.' on Mandriva/Mageia -export PYTHONDONTWRITEBYTECODE= - -%__rm -rf %{buildroot} - -./setup.py install \ - --root=%{buildroot} \ - --prefix=%{tde_prefix} \ - --install-clib=%{tde_libdir} \ - --install-cheaders=%{tde_tdeincludedir} - -# Removes BUILDROOT directory reference in installed files -for f in \ - %{buildroot}%{tde_libdir}/libpythonize.la \ - %{buildroot}%{tde_datadir}/apps/pykdeextensions/app_templates/kcontrol_module/src/KcontrolModuleWidgetUI.py \ - %{buildroot}%{tde_datadir}/apps/pykdeextensions/app_templates/kdeutility/src/KDEUtilityDialogUI.py \ -; do - %__sed -i "${f}" -e "s|%{buildroot}||g" -: -done - -# Moves PYTHON libraries to distribution directory -%__mkdir_p %{buildroot}%{python_sitearch} -%__mv -f %{buildroot}%{tde_prefix}/lib/python*/site-packages/* %{buildroot}%{python_sitearch} -%__rm -rf %{buildroot}%{tde_prefix}/lib/python*/site-packages - -# Removes useless files -%__rm -rf %{?buildroot}%{tde_libdir}/*.a - -# Fix permissions on include files -%__chmod 644 %{?buildroot}%{tde_tdeincludedir}/*.h - -%clean -%__rm -rf %{buildroot} - - -%post -n trinity-libpythonize0 -/sbin/ldconfig - -%postun -n trinity-libpythonize0 -/sbin/ldconfig - -%post -n trinity-libpythonize0-devel -/sbin/ldconfig - -%postun -n trinity-libpythonize0-devel -/sbin/ldconfig - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README TODO -%{tde_datadir}/apps/pykdeextensions -%{tde_tdedocdir}/HTML/en/pykdeextensions -%{python_sitearch}/* - -%files -n trinity-libpythonize0 -%defattr(-,root,root,-) -%{tde_libdir}/libpythonize.so.* - -%files -n trinity-libpythonize0-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/*.h -%{tde_libdir}/libpythonize.la -%{tde_libdir}/libpythonize.so - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 -- Initial release for TDE 3.5.13.2 - -* Tue Oct 02 2012 Francois Andriot - 0.4.0-3 -- Initial release for TDE 3.5.13.1 diff --git a/redhat/libraries/python-trinity/python-trinity-3.5.13.2.spec b/redhat/libraries/python-trinity/python-trinity-3.5.13.2.spec new file mode 100644 index 000000000..863d09e58 --- /dev/null +++ b/redhat/libraries/python-trinity/python-trinity-3.5.13.2.spec @@ -0,0 +1,196 @@ +%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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_appdir %{tde_datadir}/applications + +%define tde_tdeappdir %{tde_appdir}/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +%define __arch_install_post %{nil} + + +Name: trinity-python-trinity +Summary: Trinity bindings for Python [Trinity] +Version: 3.16.3 +Release: 4%{?dist}%{?_variant} + +License: GPLv2+ +Group: Applications/Utilities + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.simonzone.com/software/pykdeextensions + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-3.5.13.2.tar.gz + +# Fix include subdirectory 'tde' instead of 'kde' +Patch1: python-trinity-3.5.13.2-fix_tde_includedir.patch + +BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 +BuildRequires: trinity-arts-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 +BuildRequires: desktop-file-utils +BuildRequires: gettext + +BuildRequires: python + +%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 +# RHEL 4/5 comes with old version, so we brought ours ... +BuildRequires: trinity-sip-devel +BuildRequires: trinity-PyQt-devel +%endif + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: python-sip +BuildRequires: python-qt +%endif + +%if 0%{?rhel} >= 6 || 0%{?fedora} +BuildRequires: sip-devel +BuildRequires: PyQt-devel +%endif + +%if 0%{?suse_version} +BuildRequires: python-sip-devel +BuildRequires: trinity-PyQt-devel +%endif + +Obsoletes: python-trinity < %{version}-%{release} +Provides: python-trinity = %{version}-%{release} + +%description +Python binding module that provides wide access to the Trinity API, +also known as PyTDE. Using this, you'll get (for example) classes +from kio, kjs, khtml and kprint. + + +%package devel +Summary: Trinity bindings for Python - Development files and scripts [Trinity] +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +Obsoletes: python-trinity-devel < %{version}-%{release} +Provides: python-trinity-devel = %{version}-%{release} + +%description devel +Development .sip files with definitions of PyKDE classes. They +are needed to build PyTDE, but also as building blocks of other +packages based on them. +The package also contains kdepyuic, a wrapper script around PyQt's +user interface compiler. + + +%package doc +Summary: Documentation and examples for PyKDE [Trinity] +Group: Development/Libraries + +Obsoletes: python-trinity-doc < %{version}-%{release} +Provides: python-trinity-doc = %{version}-%{release} + +%description doc +General documentation and examples for PyKDE providing programming +tips and working code you can use to learn from. + + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + + +%prep +%setup -q -n %{name}-3.5.13.2 +%patch1 -p1 -b .inc + +# Hack to get TQT include files under /opt +%__sed -i "configure.py" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export KDEDIR=%{tde_prefix} + +#export LDFLAGS="${LDFLAGS} -lpython2.7" + +export DH_OPTIONS +export QMAKESPEC=$(QTDIR)/mkspecs/linux-g++ + +export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt + +%__python configure.py \ + -k %{tde_prefix} \ + -L %{_lib} \ + -v %{_datadir}/sip/trinity + +# Shitty hack to add LDFLAGS +%if 0%{?mgaversion} || 0%{?mdkversion} +%__sed -i */Makefile \ +%if 0%{?pclinuxos} + -e "/^LIBS = / s|$| -lpython2.6 -lDCOP -lkdecore -lkdefx -lkdeui -lkresources -lkabc -lkparts -lkio|" +%else + -e "/^LIBS = / s|$| -lpython2.7 -lDCOP -lkdecore -lkdefx -lkdeui -lkresources -lkabc -lkparts -lkio|" +%endif +%endif + +%__make %{_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# Install documentation +%__mkdir_p %{buildroot}%{tde_tdedocdir}/HTML/en/ +%__cp -rf doc %{buildroot}%{tde_tdedocdir}/HTML/en/python-trinity/ + + +%clean +%__rm -rf %{buildroot} + + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README +%{python_sitearch}/*.so +%{python_sitearch}/dcop*.py* +%{python_sitearch}/pykde*.py* + +%files devel +%defattr(-,root,root,-) +%{tde_bindir}/kdepyuic +# The SIP files are outside TDE's prefix +%{_datadir}/sip/trinity/ + +%files doc +%defattr(-,root,root,-) +%{tde_tdedocdir}/HTML/en/python-trinity/ + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 +- Initial release for TDE 3.5.13.2 + +* Tue Oct 02 2012 Francois Andriot - 3.16.3-3 +- Initial release for TDE 3.5.13.1 diff --git a/redhat/libraries/python-trinity/trinity-python-trinity-3.5.13.2.spec b/redhat/libraries/python-trinity/trinity-python-trinity-3.5.13.2.spec deleted file mode 100644 index 863d09e58..000000000 --- a/redhat/libraries/python-trinity/trinity-python-trinity-3.5.13.2.spec +++ /dev/null @@ -1,196 +0,0 @@ -%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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_appdir %{tde_datadir}/applications - -%define tde_tdeappdir %{tde_appdir}/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -%define __arch_install_post %{nil} - - -Name: trinity-python-trinity -Summary: Trinity bindings for Python [Trinity] -Version: 3.16.3 -Release: 4%{?dist}%{?_variant} - -License: GPLv2+ -Group: Applications/Utilities - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.simonzone.com/software/pykdeextensions - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-3.5.13.2.tar.gz - -# Fix include subdirectory 'tde' instead of 'kde' -Patch1: python-trinity-3.5.13.2-fix_tde_includedir.patch - -BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2 -BuildRequires: trinity-arts-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 -BuildRequires: desktop-file-utils -BuildRequires: gettext - -BuildRequires: python - -%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 -# RHEL 4/5 comes with old version, so we brought ours ... -BuildRequires: trinity-sip-devel -BuildRequires: trinity-PyQt-devel -%endif - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: python-sip -BuildRequires: python-qt -%endif - -%if 0%{?rhel} >= 6 || 0%{?fedora} -BuildRequires: sip-devel -BuildRequires: PyQt-devel -%endif - -%if 0%{?suse_version} -BuildRequires: python-sip-devel -BuildRequires: trinity-PyQt-devel -%endif - -Obsoletes: python-trinity < %{version}-%{release} -Provides: python-trinity = %{version}-%{release} - -%description -Python binding module that provides wide access to the Trinity API, -also known as PyTDE. Using this, you'll get (for example) classes -from kio, kjs, khtml and kprint. - - -%package devel -Summary: Trinity bindings for Python - Development files and scripts [Trinity] -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -Obsoletes: python-trinity-devel < %{version}-%{release} -Provides: python-trinity-devel = %{version}-%{release} - -%description devel -Development .sip files with definitions of PyKDE classes. They -are needed to build PyTDE, but also as building blocks of other -packages based on them. -The package also contains kdepyuic, a wrapper script around PyQt's -user interface compiler. - - -%package doc -Summary: Documentation and examples for PyKDE [Trinity] -Group: Development/Libraries - -Obsoletes: python-trinity-doc < %{version}-%{release} -Provides: python-trinity-doc = %{version}-%{release} - -%description doc -General documentation and examples for PyKDE providing programming -tips and working code you can use to learn from. - - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - - -%prep -%setup -q -n %{name}-3.5.13.2 -%patch1 -p1 -b .inc - -# Hack to get TQT include files under /opt -%__sed -i "configure.py" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export KDEDIR=%{tde_prefix} - -#export LDFLAGS="${LDFLAGS} -lpython2.7" - -export DH_OPTIONS -export QMAKESPEC=$(QTDIR)/mkspecs/linux-g++ - -export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt - -%__python configure.py \ - -k %{tde_prefix} \ - -L %{_lib} \ - -v %{_datadir}/sip/trinity - -# Shitty hack to add LDFLAGS -%if 0%{?mgaversion} || 0%{?mdkversion} -%__sed -i */Makefile \ -%if 0%{?pclinuxos} - -e "/^LIBS = / s|$| -lpython2.6 -lDCOP -lkdecore -lkdefx -lkdeui -lkresources -lkabc -lkparts -lkio|" -%else - -e "/^LIBS = / s|$| -lpython2.7 -lDCOP -lkdecore -lkdefx -lkdeui -lkresources -lkabc -lkparts -lkio|" -%endif -%endif - -%__make %{_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# Install documentation -%__mkdir_p %{buildroot}%{tde_tdedocdir}/HTML/en/ -%__cp -rf doc %{buildroot}%{tde_tdedocdir}/HTML/en/python-trinity/ - - -%clean -%__rm -rf %{buildroot} - - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README -%{python_sitearch}/*.so -%{python_sitearch}/dcop*.py* -%{python_sitearch}/pykde*.py* - -%files devel -%defattr(-,root,root,-) -%{tde_bindir}/kdepyuic -# The SIP files are outside TDE's prefix -%{_datadir}/sip/trinity/ - -%files doc -%defattr(-,root,root,-) -%{tde_tdedocdir}/HTML/en/python-trinity/ - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 -- Initial release for TDE 3.5.13.2 - -* Tue Oct 02 2012 Francois Andriot - 3.16.3-3 -- Initial release for TDE 3.5.13.1 diff --git a/redhat/tde-i18n/i18n-3.5.13.1.spec b/redhat/tde-i18n/i18n-3.5.13.1.spec new file mode 100644 index 000000000..55a9ffb58 --- /dev/null +++ b/redhat/tde-i18n/i18n-3.5.13.1.spec @@ -0,0 +1,1274 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdedocdir %{tde_docdir}/tde + +# Builds all supported languages (not unsupported ones) +%if "%{?KDE_LANGS}" == "" +%define KDE_LANGS ar bg bn ca cs da de el en_GB es et fi fr he hi hu is it ja lt nl nb nn pa pl pt pt_BR ro ru sk sl sr sv ta tr uk zh_CN zh_TW +%endif + + +Name: trinity-i18n +Summary: Internationalization support for Trinity +Version: 3.5.13.1 +Release: 1%{?dist}%{?_variant} + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +# GFDL, with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. +License: GFDL +Group: User Interface/Desktops +BuildArch: noarch + +# Speed build options +%define debug_package %{nil} +%define __spec_install_post %{nil} +AutoReq: no + +Source0: kde-i18n-%{version}.tar.gz + +# TDE 3.5.12: Translate 'kdesu' message was modified in 'kdebase' package +Patch0: kde-i18n-kdesu.patch + +# TDE 3.5.12: Translate 'Open Terminal Here' desktop shortcut +Patch1: trinity-kde-i18n-fr-openterminalhere.patch + +# TDE 3.5.13: French translations for new features +Patch2: kde-i18n-3.5.13-add_french_translations.patch + +# TDE 3.5.13: Updated translations for zh_TW, thanks to Wei-Lun Chao ! +Patch3: kde-i18n-zh_TW-3.5.10.patch.gz + +BuildRequires: findutils +BuildRequires: gettext +BuildRequires: trinity-arts-devel >= 3.5.13.1 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 + +%description +%{summary}. + +%package Afrikaans +Summary: Afrikaans(af) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-af = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Afrikaans < %{version}-%{release} +Provides: trinity-kde-i18n-Afrikaans = %{version}-%{release} +%description Afrikaans +%{summary}. + +%package Arabic +Summary: Arabic(ar) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ar = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Arabic < %{version}-%{release} +Provides: trinity-kde-i18n-Arabic = %{version}-%{release} +%description Arabic +%{summary}. + +%package Azerbaijani +Summary: Azerbaijani(az) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-az = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Arabic < %{version}-%{release} +Provides: trinity-kde-i18n-Arabic = %{version}-%{release} +%description Azerbaijani +%{summary}. + +%package Belarusian +Summary: Belarusian(be) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-be = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Belarusian < %{version}-%{release} +Provides: trinity-kde-i18n-Belarusian = %{version}-%{release} +%description Belarusian +%{summary}. + +%package Bulgarian +Summary: Bulgarian(bg) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-bg = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Bulgarian < %{version}-%{release} +Provides: trinity-kde-i18n-Bulgarian = %{version}-%{release} +%description Bulgarian +%{summary}. + +%package Bengali +Summary: Bengali(bn) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-bn = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Bengali < %{version}-%{release} +Provides: trinity-kde-i18n-Bengali = %{version}-%{release} +%description Bengali +%{summary}. + +%package Tibetan +Summary: Tibetan(bo) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-bo = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Tibetan < %{version}-%{release} +Provides: trinity-kde-i18n-Tibetan = %{version}-%{release} +%description Tibetan +%{summary}. + +%package Breton +Summary: Breton(br) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-br = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Breton < %{version}-%{release} +Provides: trinity-kde-i18n-Breton = %{version}-%{release} +%description Breton +%{summary}. + +%package Bosnian +Summary: Bosnian(bs) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-bs = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Bosnian < %{version}-%{release} +Provides: trinity-kde-i18n-Bosnian = %{version}-%{release} +%description Bosnian +%{summary}. + +%package Catalan +Summary: Catalan(ca) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ca = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Catalan < %{version}-%{release} +Provides: trinity-kde-i18n-Catalan = %{version}-%{release} +%description Catalan +%{summary}. + +%package Czech +Summary: Czech(cs) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-cs = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Czech < %{version}-%{release} +Provides: trinity-kde-i18n-Czech = %{version}-%{release} +%description Czech +%{summary}. + +%package Cymraeg +Summary: Cymraeg language support for TDE +Group: User Interface/Desktops +Obsoletes: trinity-kde-i18n-Cymraeg < %{version}-%{release} +Provides: trinity-kde-i18n-Cymraeg = %{version}-%{release} +%description Cymraeg +%{summary}. + +%package Welsh +Summary: Welsh(cy) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-cy = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Welsh < %{version}-%{release} +Provides: trinity-kde-i18n-Welsh = %{version}-%{release} +%description Welsh +%{summary}. + +%package Danish +Summary: Danish(da) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-da = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Danish < %{version}-%{release} +Provides: trinity-kde-i18n-Danish = %{version}-%{release} +%description Danish +%{summary}. + +%package German +Summary: German(de) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-de = %{version}-%{release} +Obsoletes: trinity-kde-i18n-German < %{version}-%{release} +Provides: trinity-kde-i18n-German = %{version}-%{release} +%description German +%{summary}. + +%package Greek +Summary: Greek(el) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-el = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Greek < %{version}-%{release} +Provides: trinity-kde-i18n-Greek = %{version}-%{release} +%description Greek +%{summary}. + +%package British +Summary: British(en_GB) English support for TDE +Group: User Interface/Desktops +Provides: %{name}-en_GB = %{version}-%{release} +Obsoletes: trinity-kde-i18n-British < %{version}-%{release} +Provides: trinity-kde-i18n-British = %{version}-%{release} +%description British +%{summary}. + +%package Esperanto +Summary: Esperanto(eo) support for TDE +Group: User Interface/Desktops +Provides: %{name}-eo = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Esperanto < %{version}-%{release} +Provides: trinity-kde-i18n-Esperanto = %{version}-%{release} +%description Esperanto +%{summary}. + +%package Spanish +Summary: Spanish(es) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-es = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Spanish < %{version}-%{release} +Provides: trinity-kde-i18n-Spanish = %{version}-%{release} +%description Spanish +%{summary}. + +%package Estonian +Summary: Estonian(et) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-et = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Estonian < %{version}-%{release} +Provides: trinity-kde-i18n-Estonian = %{version}-%{release} +%description Estonian +%{summary}. + +%package Basque +Summary: Basque(eu) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-eu = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Basque < %{version}-%{release} +Provides: trinity-kde-i18n-Basque = %{version}-%{release} +%description Basque +%{summary}. + +%package Farsi +Summary: Farsi(fa) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-fa = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Farsi < %{version}-%{release} +Provides: trinity-kde-i18n-Farsi = %{version}-%{release} +%description Farsi +%{summary}. + +%package Finnish +Summary: Finnish(fi) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-fi = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Finnish < %{version}-%{release} +Provides: trinity-kde-i18n-Finnish = %{version}-%{release} +%description Finnish +%{summary}. + +%package Faroese +Summary: Faroese(fo) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-fo = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Faroese < %{version}-%{release} +Provides: trinity-kde-i18n-Faroese = %{version}-%{release} +%description Faroese +%{summary}. + +%package French +Summary: French(fr) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-fr = %{version}-%{release} +Obsoletes: trinity-kde-i18n-French < %{version}-%{release} +Provides: trinity-kde-i18n-French = %{version}-%{release} +%description French +%{summary}. + +%package Frisian +Summary: Frisian(fy) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-fy = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Frisian < %{version}-%{release} +Provides: trinity-kde-i18n-Frisian = %{version}-%{release} +%description Frisian +%{summary}. + +%package Irish +Summary: Irish(ga) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ga = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Irish < %{version}-%{release} +Provides: trinity-kde-i18n-Irish = %{version}-%{release} +%description Irish +%{summary}. + +%package Galician +Summary: Galician(gl) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-gl = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Galician < %{version}-%{release} +Provides: trinity-kde-i18n-Galician = %{version}-%{release} +%description Galician +%{summary}. + +%package Hebrew +Summary: Hebrew(he) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-he = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Hebrew < %{version}-%{release} +Provides: trinity-kde-i18n-Hebrew = %{version}-%{release} +%description Hebrew +%{summary}. + +%package Hindi +Summary: Hindi(hi) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-hi = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Hindi < %{version}-%{release} +Provides: trinity-kde-i18n-Hindi = %{version}-%{release} +%description Hindi +%{summary}. + +%package Croatian +Summary: Croatian(hr) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-hr = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Croatian < %{version}-%{release} +Provides: trinity-kde-i18n-Croatian = %{version}-%{release} +%description Croatian +%{summary}. + +%package Hungarian +Summary: Hungarian(hu) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-hu = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Hungarian < %{version}-%{release} +Provides: trinity-kde-i18n-Hungarian = %{version}-%{release} +%description Hungarian +%{summary}. + +%package Indonesian +Summary: Indonesian(id) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-id = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Indonesian < %{version}-%{release} +Provides: trinity-kde-i18n-Indonesian = %{version}-%{release} +%description Indonesian +%{summary}. + +%package Icelandic +Summary: Icelandic(is) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-is = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Icelandic < %{version}-%{release} +Provides: trinity-kde-i18n-Icelandic = %{version}-%{release} +%description Icelandic +%{summary}. + +%package Italian +Summary: Italian(it) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-it = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Italian < %{version}-%{release} +Provides: trinity-kde-i18n-Italian = %{version}-%{release} +%description Italian +%{summary}. + +%package Japanese +Summary: Japanese(ja) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ja = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Japanese < %{version}-%{release} +Provides: trinity-kde-i18n-Japanese = %{version}-%{release} +%description Japanese +%{summary}. + +%package Korean +Summary: Korean(ko) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ko = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Korean < %{version}-%{release} +Provides: trinity-kde-i18n-Korean = %{version}-%{release} +%description Korean +%{summary}. + +%package Kurdish +Summary: Kurdish(ku) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ku = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Kurdish < %{version}-%{release} +Provides: trinity-kde-i18n-Kurdish = %{version}-%{release} +%description Kurdish +%{summary}. + +%package Lao +Summary: Lao(lo) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-lo = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Lao < %{version}-%{release} +Provides: trinity-kde-i18n-Lao = %{version}-%{release} +%description Lao +%{summary}. + +%package Lithuanian +Summary: Lithuanian(lt) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-lt = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Lithuanian < %{version}-%{release} +Provides: trinity-kde-i18n-Lithuanian = %{version}-%{release} +%description Lithuanian +%{summary}. + +%package Latvian +Summary: Latvian(lv) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-lv = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Latvian < %{version}-%{release} +Provides: trinity-kde-i18n-Latvian = %{version}-%{release} +%description Latvian +%{summary}. + +%package Maori +Summary: Maori(mi) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-mi = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Maori < %{version}-%{release} +Provides: trinity-kde-i18n-Maori = %{version}-%{release} +%description Maori +%{summary}. + +%package Macedonian +Summary: Macedonian(mk) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-mk = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Macedonian < %{version}-%{release} +Provides: trinity-kde-i18n-Macedonian = %{version}-%{release} +%description Macedonian +%{summary}. + +%package Maltese +Summary: Maltese(mt) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-mt = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Maltese < %{version}-%{release} +Provides: trinity-kde-i18n-Maltese = %{version}-%{release} +%description Maltese +%{summary}. + +%package Dutch +Summary: Dutch(nl) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-nl = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Dutch < %{version}-%{release} +Provides: trinity-kde-i18n-Dutch = %{version}-%{release} +%description Dutch +%{summary}. + +%package Norwegian +Summary: Norwegian(no) (Bokmaal) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-no = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Norwegian < %{version}-%{release} +Provides: trinity-kde-i18n-Norwegian = %{version}-%{release} +%description Norwegian +%{summary}. + +%package Norwegian-Nynorsk +Summary: Norwegian(nn) (Nynorsk) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-nn = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Norwegian-Nynorsk < %{version}-%{release} +Provides: trinity-kde-i18n-Norwegian-Nynorsk = %{version}-%{release} +%description Norwegian-Nynorsk +%{summary}. + +%package Occitan +Summary: Occitan(oc) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-oc = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Occitan < %{version}-%{release} +Provides: trinity-kde-i18n-Occitan = %{version}-%{release} +%description Occitan +%{summary}. + +%package Polish +Summary: Polish(pl) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-pl = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Polish < %{version}-%{release} +Provides: trinity-kde-i18n-Polish = %{version}-%{release} +%description Polish +%{summary}. + +%package Portuguese +Summary: Portuguese(pt) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-pt = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Portuguese < %{version}-%{release} +Provides: trinity-kde-i18n-Portuguese = %{version}-%{release} +%description Portuguese +%{summary}. + +%package Punjabi +Summary: Punjabi(pa) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-pa = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Punjabi < %{version}-%{release} +Provides: trinity-kde-i18n-Punjabi = %{version}-%{release} +%description Punjabi +%{summary}. + +%package Brazil +Summary: Brazil(pt_BR) Portuguese language support for TDE +Group: User Interface/Desktops +Provides: %{name}-pt_BR = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Brazil < %{version}-%{release} +Provides: trinity-kde-i18n-Brazil = %{version}-%{release} +%description Brazil +%{summary}. + +%package Romanian +Summary: Romanian(ro) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ro = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Romanian < %{version}-%{release} +Provides: trinity-kde-i18n-Romanian = %{version}-%{release} +%description Romanian +%{summary}. + +%package Russian +Summary: Russian(ru) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ru = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Russian < %{version}-%{release} +Provides: trinity-kde-i18n-Russian = %{version}-%{release} +%description Russian +%{summary}. + +%package Slovak +Summary: Slovak(sk) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-sk = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Slovak < %{version}-%{release} +Provides: trinity-kde-i18n-Slovak = %{version}-%{release} +%description Slovak +%{summary}. + +%package Slovenian +Summary: Slovenian(sl) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-sl = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Slovenian < %{version}-%{release} +Provides: trinity-kde-i18n-Slovenian = %{version}-%{release} +%description Slovenian +%{summary}. + +%package Serbian +Summary: Serbian(sr) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-sr = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Serbian < %{version}-%{release} +Provides: trinity-kde-i18n-Serbian = %{version}-%{release} +%description Serbian +%{summary}. + +%package Swedish +Summary: Swedish(sv) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-sv = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Swedish < %{version}-%{release} +Provides: trinity-kde-i18n-Swedish = %{version}-%{release} +%description Swedish +%{summary}. + +%package Tamil +Summary: Tamil(ta) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ta = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Tamil < %{version}-%{release} +Provides: trinity-kde-i18n-Tamil = %{version}-%{release} +%description Tamil +%{summary}. + +%package Tajik +Summary: Tajik(tg) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-tg = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Tajik < %{version}-%{release} +Provides: trinity-kde-i18n-Tajik = %{version}-%{release} +%description Tajik +%{summary}. + +%package Thai +Summary: Thai(th) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-th = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Thai < %{version}-%{release} +Provides: trinity-kde-i18n-Thai = %{version}-%{release} +%description Thai +%{summary}. + +%package Turkish +Summary: Turkish(tr) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-tr = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Turkish < %{version}-%{release} +Provides: trinity-kde-i18n-Turkish = %{version}-%{release} +%description Turkish +%{summary}. + +%package Ukrainian +Summary: Ukrainian(uk) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-uk = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Ukrainian < %{version}-%{release} +Provides: trinity-kde-i18n-Ukrainian = %{version}-%{release} +%description Ukrainian +%{summary}. + +%package Venda +Summary: Venda(ven) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ven = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Venda < %{version}-%{release} +Provides: trinity-kde-i18n-Venda = %{version}-%{release} +%description Venda +%{summary}. + +%package Vietnamese +Summary: Vietnamese(vi) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-vi = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Vietnamese < %{version}-%{release} +Provides: trinity-kde-i18n-Vietnamese = %{version}-%{release} +%description Vietnamese +%{summary}. + +%package Walloon +Summary: Walloon(wa) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-wa = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Walloon < %{version}-%{release} +Provides: trinity-kde-i18n-Walloon = %{version}-%{release} +%description Walloon +%{summary}. + +%package Xhosa +Summary: Xhosa(xh) (a Bantu language) support for TDE +Group: User Interface/Desktops +Provides: %{name}-xh = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Xhosa < %{version}-%{release} +Provides: trinity-kde-i18n-Xhosa = %{version}-%{release} +%description Xhosa +%{summary}. + +%package Chinese +Summary: Chinese(zh_CN) (Simplified Chinese) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-zh_CN = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Chinese < %{version}-%{release} +Provides: trinity-kde-i18n-Chinese = %{version}-%{release} +%description Chinese +%{summary}. + +%package Chinese-Big5 +Summary: Chinese(zh_TW) (Big5) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-tz_TW = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Chinese-Big5 < %{version}-%{release} +Provides: trinity-kde-i18n-Chinese-Big5 = %{version}-%{release} +%description Chinese-Big5 +%{summary}. + + + +%prep +%setup -q -n kde-i18n-3.5.13.1 + +# Patches for French translations +pushd tde-i18n-fr +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +popd + +# Patches for Chinese (zh_TW) translations +pushd tde-i18n-zh_TW +%patch3 -p1 +popd + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export KDEDIR=%{tde_prefix} + +export kde_htmldir="%{tde_tdedocdir}/HTML" + +for l in %{KDE_LANGS}; do + for f in tde-i18n-${l}/; do + if [ -d "${f}" ]; then + pushd ${f} + autoreconf -fiv + %__make -f ../admin/Makefile.common + %configure \ + --prefix=%{tde_prefix} \ + --datadir=%{tde_datadir} \ + --docdir=%{tde_tdedocdir} + %__make %{?_smp_mflags} + popd + fi + done +done + +%install +%__rm -rf %{?buildroot} +export PATH="%{tde_bindir}:${PATH}" + +for l in %{KDE_LANGS}; do + for f in tde-i18n-${l}/; do + if [ -d "${f}" ] && [ -r "${f}/Makefile" ] ; then + %__make install DESTDIR="%{?buildroot}" -C "${f}" + fi + done +done + +# make symlinks relative +%if "%{tde_prefix}" == "/usr" +pushd "%{buildroot}%{tde_tdedocdir}/HTML" +for lang in *; do + if [ -d "$lang" ]; then + pushd "$lang" + for i in */*/*; do + if [ -d $i -a -L $i/common ]; then + rm -f $i/common + ln -sf ../../../docs/common $i + fi + done + + for i in */*; do + if [ -d $i -a -L $i/common ]; then + rm -f $i/common + ln -sf ../../docs/common $i + fi + done + + for i in *; do + if [ -d $i -a -L $i/common ]; then + rm -f $i/common + ln -sf ../docs/common $i + fi + done + + popd + fi +done +popd +%endif + +# remove zero-length file +find "%{buildroot}%{tde_tdedocdir}/HTML" -size 0 -exec rm -f {} \; + +# See http://fedoraproject.org/wiki/Languages (???) +%__rm -f %{buildroot}%{tde_datadir}/locale/*/flag.png + +# Removes conflict with KDE4 +%if "%{?tde_prefix}" == "/usr" +%__rm -f %{buildroot}%{tde_datadir}/locale/*/entry.desktop +%endif + +# remove obsolete KDE 3 application data translations +%__rm -rf "%{buildroot}%{tde_datadir}/apps" + +%clean +%__rm -rf %{buildroot} + +%if "%( grep -w af <<< '%{KDE_LANGS}' )" != "" +%files Afrikaans +%defattr(-,root,root,-) +%lang(af) %{tde_datadir}/locale/af/* +%lang(af) %{tde_tdedocdir}/HTML/af/ +%endif + +%if "%( grep -w ar <<< '%{KDE_LANGS}' )" != "" +%files Arabic +%defattr(-,root,root,-) +%lang(ar) %{tde_datadir}/locale/ar/* +%endif + +%if "%( grep -w az <<< '%{KDE_LANGS}' )" != "" +%files Azerbaijani +%defattr(-,root,root,-) +%lang(az) %{tde_datadir}/locale/az/* +%endif + +%if "%( grep -w be <<< '%{KDE_LANGS}' )" != "" +%files Belarusian +%defattr(-,root,root,-) +%lang(be) %{tde_datadir}/locale/be/* +%endif + +%if "%( grep -w bg <<< '%{KDE_LANGS}' )" != "" +%files Bulgarian +%defattr(-,root,root,-) +%lang(bg) %{tde_datadir}/locale/bg/* +%endif + +%if "%( grep -w bn <<< '%{KDE_LANGS}' )" != "" +%files Bengali +%defattr(-,root,root,-) +%lang(bn) %{tde_datadir}/locale/bn/* +%endif + +%if "%( grep -w bo <<< '%{KDE_LANGS}' )" != "" +%files Tibetan +%defattr(-,root,root,-) +%lang(bo) %{tde_datadir}/locale/bo/* +%endif + +%if "%( grep -w br <<< '%{KDE_LANGS}' )" != "" +%files Breton +%defattr(-,root,root,-) +%lang(br) %{tde_datadir}/locale/br/* +%endif + +%if "%( grep -w bs <<< '%{KDE_LANGS}' )" != "" +%files Bosnian +%defattr(-,root,root,-) +%lang(bs) %{tde_datadir}/locale/bs/* +%endif + +%if "%( grep -w ca <<< '%{KDE_LANGS}' )" != "" +%files Catalan +%defattr(-,root,root,-) +%lang(ca) %{tde_datadir}/locale/ca/* +%lang(ca) %{tde_tdedocdir}/HTML/ca/ +%endif + +%if "%( grep -w cs <<< '%{KDE_LANGS}' )" != "" +%files Czech +%defattr(-,root,root,-) +%lang(cs) %{tde_datadir}/locale/cs/* +%lang(cs) %{tde_tdedocdir}/HTML/cs/ +%endif + +%if "%( grep -w cy <<< '%{KDE_LANGS}' )" != "" +%files Welsh +%defattr(-,root,root,-) +%lang(cy) %{tde_datadir}/locale/cy/* +%endif + +%if "%( grep -w da <<< '%{KDE_LANGS}' )" != "" +%files Danish +%defattr(-,root,root,-) +%lang(da) %{tde_datadir}/locale/da/* +%lang(da) %{tde_tdedocdir}/HTML/da/ +%endif + +%if "%( grep -w de <<< '%{KDE_LANGS}' )" != "" +%files German +%defattr(-,root,root,-) +%lang(de) %{tde_datadir}/locale/de/* +%lang(de) %{tde_tdedocdir}/HTML/de/ +%endif + +%if "%( grep -w el <<< '%{KDE_LANGS}' )" != "" +%files Greek +%defattr(-,root,root,-) +%lang(el) %{tde_datadir}/locale/el/* +%endif + +%if "%( grep -w en_GB <<< '%{KDE_LANGS}' )" != "" +%files British +%defattr(-,root,root,-) +%lang(en_GB) %{tde_datadir}/locale/en_GB/* +%lang(en_GB) %{tde_tdedocdir}/HTML/en_GB/ +%endif + +%if "%( grep -w eo <<< '%{KDE_LANGS}' )" != "" +%files Esperanto +%defattr(-,root,root,-) +%lang(eo) %{tde_datadir}/locale/eo/* +%endif + +%if "%( grep -w es <<< '%{KDE_LANGS}' )" != "" +%files Spanish +%defattr(-,root,root,-) +%lang(es) %{tde_datadir}/locale/es/* +%lang(es) %{tde_tdedocdir}/HTML/es/ +%endif + +%if "%( grep -w et <<< '%{KDE_LANGS}' )" != "" +%files Estonian +%defattr(-,root,root,-) +%lang(et) %{tde_datadir}/locale/et/* +%lang(et) %{tde_tdedocdir}/HTML/et/ +%endif + +%if "%( grep -w eu <<< '%{KDE_LANGS}' )" != "" +%files Basque +%defattr(-,root,root,-) +%lang(eu) %{tde_datadir}/locale/eu/* +%endif + +%if "%( grep -w fa <<< '%{KDE_LANGS}' )" != "" +%files Farsi +%defattr(-,root,root,-) +%lang(fa) %{tde_datadir}/locale/fa/* +%endif + +%if "%( grep -w fi <<< '%{KDE_LANGS}' )" != "" +%files Finnish +%defattr(-,root,root,-) +%lang(fi) %{tde_datadir}/locale/fi/* +%lang(fi) %{tde_tdedocdir}/HTML/fi/ +%endif + +%if "%( grep -w fo <<< '%{KDE_LANGS}' )" != "" +%files Faroese +%defattr(-,root,root,-) +%lang(fo) %{tde_datadir}/locale/fo/* +%endif + +%if "%( grep -w fr <<< '%{KDE_LANGS}' )" != "" +%files French +%defattr(-,root,root,-) +%lang(fr) %{tde_datadir}/locale/fr/* +%lang(fr) %{tde_tdedocdir}/HTML/fr/ +%endif + +%if "%( grep -w fy <<< '%{KDE_LANGS}' )" != "" +%files Frisian +%defattr(-,root,root,-) +%lang(fy) %{tde_datadir}/locale/fy/* +%endif + +%if "%( grep -w ga <<< '%{KDE_LANGS}' )" != "" +%files Irish +%defattr(-,root,root,-) +%lang(ga) %{tde_datadir}/locale/ga/* +%endif + +%if "%( grep -w gl <<< '%{KDE_LANGS}' )" != "" +%files Galician +%defattr(-,root,root,-) +%lang(gl) %{tde_datadir}/locale/gl/* +%endif + +%if "%( grep -w he <<< '%{KDE_LANGS}' )" != "" +%files Hebrew +%defattr(-,root,root,-) +%lang(he) %{tde_datadir}/locale/he/* +%lang(he) %{tde_tdedocdir}/HTML/he/ +%endif + +%if "%( grep -w hi <<< '%{KDE_LANGS}' )" != "" +%files Hindi +%defattr(-,root,root,-) +%lang(hi) %{tde_datadir}/locale/hi/* +%endif + +%if "%( grep -w hr <<< '%{KDE_LANGS}' )" != "" +%files Croatian +%defattr(-,root,root,-) +%lang(hr) %{tde_datadir}/locale/hr/* +%lang(hr) %{tde_tdedocdir}/HTML/hr/ +%endif + +%if "%( grep -w hu <<< '%{KDE_LANGS}' )" != "" +%files Hungarian +%defattr(-,root,root,-) +%lang(hu) %{tde_datadir}/locale/hu/* +%lang(hu) %{tde_tdedocdir}/HTML/hu/ +%endif + +%if "%( grep -w id <<< '%{KDE_LANGS}' )" != "" +%files Indonesian +%defattr(-,root,root,-) +%lang(id) %{tde_datadir}/locale/id/* +%lang(id) %{tde_tdedocdir}/HTML/id/ +%endif + +%if "%( grep -w is <<< '%{KDE_LANGS}' )" != "" +%files Icelandic +%defattr(-,root,root,-) +%lang(is) %{tde_datadir}/locale/is/* +%endif + +%if "%( grep -w it <<< '%{KDE_LANGS}' )" != "" +%files Italian +%defattr(-,root,root,-) +%lang(it) %{tde_datadir}/locale/it/* +%lang(it) %{tde_tdedocdir}/HTML/it/ +%endif + +%if "%( grep -w ja <<< '%{KDE_LANGS}' )" != "" +%files Japanese +%defattr(-,root,root,-) +%lang(ja) %{tde_datadir}/locale/ja/* +%lang(ja) %{tde_tdedocdir}/HTML/ja/ +%endif + +%if "%( grep -w ko <<< '%{KDE_LANGS}' )" != "" +%files Korean +%defattr(-,root,root,-) +%lang(ko) %{tde_datadir}/locale/ko/* +%lang(ko) %{tde_tdedocdir}/HTML/ko/ +%endif + +%if "%( grep -w ku <<< '%{KDE_LANGS}' )" != "" +%files Kurdish +%defattr(-,root,root,-) +%lang(ku) %{tde_datadir}/locale/ku/* +%lang(ku) %{tde_tdedocdir}/HTML/ku/ +%endif + +%if "%( grep -w lao <<< '%{KDE_LANGS}' )" != "" +%files Lao +%defattr(-,root,root,-) +%lang(lo) %{tde_datadir}/locale/lo/* +%lang(lo) %{tde_tdedocdir}/HTML/lo/ +%endif + +%if "%( grep -w lt <<< '%{KDE_LANGS}' )" != "" +%files Lithuanian +%defattr(-,root,root,-) +%lang(lt) %{tde_datadir}/locale/lt/* +%endif + +%if "%( grep -w lv <<< '%{KDE_LANGS}' )" != "" +%files Latvian +%defattr(-,root,root,-) +%lang(lv) %{tde_datadir}/locale/lv/* +%endif + +%if "%( grep -w mi <<< '%{KDE_LANGS}' )" != "" +%files Maori +%defattr(-,root,root,-) +%lang(mi) %{tde_datadir}/locale/mi/* +%endif + +%if "%( grep -w mk <<< '%{KDE_LANGS}' )" != "" +%files Macedonian +%defattr(-,root,root,-) +%lang(mk) %{tde_datadir}/locale/mk/* +%endif + +%if "%( grep -w mt <<< '%{KDE_LANGS}' )" != "" +%files Maltese +%defattr(-,root,root,-) +%lang(mt) %{tde_datadir}/locale/mt/* +%endif + +%if "%( grep -w nl <<< '%{KDE_LANGS}' )" != "" +%files Dutch +%defattr(-,root,root,-) +%lang(nl) %{tde_datadir}/locale/nl/* +%lang(nl) %{tde_tdedocdir}/HTML/nl/ +%endif + +%if "%( grep -w nb <<< '%{KDE_LANGS}' )" != "" +%files Norwegian +%defattr(-,root,root,-) +%lang(nb) %{tde_datadir}/locale/nb/* +#%lang(nb) %{tde_tdedocdir}/HTML/nb/ +%endif + +%if "%( grep -w nn <<< '%{KDE_LANGS}' )" != "" +%files Norwegian-Nynorsk +%defattr(-,root,root,-) +%lang(nn) %{tde_datadir}/locale/nn/* +#%lang(nn) %{tde_tdedocdir}/HTML/nn/ +%endif + +%if "%( grep -w oc <<< '%{KDE_LANGS}' )" != "" +%files Occitan +%defattr(-,root,root,-) +%lang(oc) %{tde_datadir}/locale/oc/* +%endif + +%if "%( grep -w pa <<< '%{KDE_LANGS}' )" != "" +%files Punjabi +%defattr(-,root,root,-) +%lang(pa) %{tde_datadir}/locale/pa/* +%endif + +%if "%( grep -w pl <<< '%{KDE_LANGS}' )" != "" +%files Polish +%defattr(-,root,root,-) +%lang(pl) %{tde_datadir}/locale/pl/* +%lang(pl) %{tde_tdedocdir}/HTML/pl/ +%endif + +%if "%( grep -w pt <<< '%{KDE_LANGS}' )" != "" +%files Portuguese +%defattr(-,root,root,-) +%lang(pt) %{tde_datadir}/locale/pt/* +%lang(pt) %{tde_tdedocdir}/HTML/pt/ +%endif + +%if "%( grep -w pt_BR <<< '%{KDE_LANGS}' )" != "" +%files Brazil +%defattr(-,root,root,-) +%lang(pt_BR) %{tde_datadir}/locale/pt_BR/* +%lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/ +%endif + +%if "%( grep -w ro <<< '%{KDE_LANGS}' )" != "" +%files Romanian +%defattr(-,root,root,-) +%lang(ro) %{tde_datadir}/locale/ro/* +%lang(ro) %{tde_tdedocdir}/HTML/ro/ +%endif + +%if "%( grep -w ru <<< '%{KDE_LANGS}' )" != "" +%files Russian +%defattr(-,root,root,-) +%lang(ru) %{tde_datadir}/locale/ru/* +%lang(ru) %{tde_tdedocdir}/HTML/ru/ +%endif + +%if "%( grep -w sk <<< '%{KDE_LANGS}' )" != "" +%files Slovak +%defattr(-,root,root,-) +%lang(sk) %{tde_datadir}/locale/sk/* +%lang(sk) %{tde_tdedocdir}/HTML/sk/ +%endif + +%if "%( grep -w sl <<< '%{KDE_LANGS}' )" != "" +%files Slovenian +%defattr(-,root,root,-) +%lang(sl) %{tde_datadir}/locale/sl/* +%lang(sl) %{tde_tdedocdir}/HTML/sl/ +%endif + +%if "%( grep -w sr <<< '%{KDE_LANGS}' )" != "" +%files Serbian +%defattr(-,root,root,-) +%lang(sr) %{tde_datadir}/locale/sr/* +%lang(sr) %{tde_tdedocdir}/HTML/sr/ +%endif + +%if "%( grep -w sv <<< '%{KDE_LANGS}' )" != "" +%files Swedish +%defattr(-,root,root,-) +%lang(sv) %{tde_datadir}/locale/sv/* +%lang(sv) %{tde_tdedocdir}/HTML/sv/ +%endif + +%if "%( grep -w ta <<< '%{KDE_LANGS}' )" != "" +%files Tamil +%defattr(-,root,root,-) +%lang(ta) %{tde_datadir}/locale/ta/* +%endif + +%if "%( grep -w tg <<< '%{KDE_LANGS}' )" != "" +%files Tajik +%defattr(-,root,root,-) +%lang(tg) %{tde_datadir}/locale/tg/* +%endif + +%if "%( grep -w th <<< '%{KDE_LANGS}' )" != "" +%files Thai +%defattr(-,root,root,-) +%lang(th) %{tde_datadir}/locale/th/* +%endif + +%if "%( grep -w tr <<< '%{KDE_LANGS}' )" != "" +%files Turkish +%defattr(-,root,root,-) +%lang(tr) %{tde_datadir}/locale/tr/* +%lang(tr) %{tde_tdedocdir}/HTML/tr/ +%endif + +%if "%( grep -w uk <<< '%{KDE_LANGS}' )" != "" +%files Ukrainian +%defattr(-,root,root,-) +%lang(uk) %{tde_tdedocdir}/HTML/uk/ +%lang(uk) %{tde_datadir}/locale/uk/* +%endif + +%if "%( grep -w ven <<< '%{KDE_LANGS}' )" != "" +%files Venda +%defattr(-,root,root,-) +%lang(ven) %{tde_datadir}/locale/ven/* +%endif + +%if "%( grep -w vi <<< '%{KDE_LANGS}' )" != "" +%files Vietnamese +%defattr(-,root,root,-) +%lang(vi) %{tde_datadir}/locale/vi/* +%endif + +%if "%( grep -w wa <<< '%{KDE_LANGS}' )" != "" +%files Walloon +%defattr(-,root,root,-) +%lang(wa) %{tde_datadir}/locale/wa/* +%endif + +%if "%( grep -w xh <<< '%{KDE_LANGS}' )" != "" +%files Xhosa +%defattr(-,root,root,-) +%lang(xh) %{tde_datadir}/locale/xh/* +%lang(xh) %{tde_tdedocdir}/HTML/xh/ +%endif + +%if "%( grep -w zh_CN <<< '%{KDE_LANGS}' )" != "" +%files Chinese +%defattr(-,root,root,-) +%lang(zh_CN) %{tde_datadir}/locale/zh_CN/* +%lang(zh_CN) %{tde_tdedocdir}/HTML/zh_CN/ +%endif + +%if "%( grep -w zh_TW <<< '%{KDE_LANGS}' )" != "" +%files Chinese-Big5 +%defattr(-,root,root,-) +%lang(zh_TW) %{tde_datadir}/locale/zh_TW/* +%lang(zh_TW) %{tde_tdedocdir}/HTML/zh_TW/ +%endif + +%changelog +* Wed Oct 03 2012 Francois Andriot - 3.5.13.1-1 +- Initial build for TDE 3.5.13.1 + +* Wed Aug 15 2012 Francois Andriot - 3.5.13-7 +- Renames to 'trinity-i18n' +- Updates 'zh_TW' translations + +* Sun Dec 18 2011 Francois Andriot - 3.5.13-6 +- Updates French translations (mostly Kickoff Menu related) + +* Sun Dec 04 2011 Francois Andriot - 3.5.13-5 +- Removes 'kde-filesystem" dependancy + +* Fri Nov 26 2011 Francois Andriot - 3.5.13-4 +- Fix HTML directory location + +* Fri Nov 11 2011 Francois Andriot - 3.5.13-3 +- Re-adds missing files 'entry.desktop' +- Updates zh_TW translation, thanks to Wei-Lun Chao + +* Tue Nov 01 2011 Francois Andriot - 3.5.13-2 +- Add missing french translations for TDE 3.5.13 + +* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 +- Initial release for RHEL 6, RHEL 5 and Fedora 15 + +* Sun Dec 19 2010 Francois Andriot - 3.5.13-0 +- Initial version (French language only) +- Based on RHEL SPEC file 'kde-i18n' +- Add 'patch0' to reflect modifications in 'kdesu' from 'kdebase' package +- Import to GIT diff --git a/redhat/tde-i18n/kde-i18n-3.5.12.spec b/redhat/tde-i18n/kde-i18n-3.5.12.spec new file mode 100644 index 000000000..d9c904423 --- /dev/null +++ b/redhat/tde-i18n/kde-i18n-3.5.12.spec @@ -0,0 +1,1195 @@ +# Default version for this component +%if "%{?version}" == "" +%define version 3.5.12 +%endif +%define release 9 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_prefix}/share/doc +%endif + +# TDE 3.5.12 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir} +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/kde3 + +# Builds all supported languages (not unsupported ones) +%if "%{?KDE_LANGS}" == "" +%define KDE_LANGS ar bg bn ca cs da de el en_GB es et fi fr he hi hu is it ja lt nl nb nn pa pl pt pt_BR ro ru sk sl sr sv ta tr uk zh_CN zh_TW +%endif + + +Name: trinity-kde-i18n +Summary: Internationalization support for Trinity +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +# GFDL, with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. +License: GFDL +Group: User Interface/Desktops +BuildArch: noarch + +# Speed build options +%define debug_package %{nil} +%define __spec_install_post %{nil} +AutoReq: no + +Source0: kde-i18n-%{version}.tar.gz + +# TDE 3.5.12: Translate 'kdesu' message was modified in 'kdebase' package +Patch0: kde-i18n-kdesu.patch + +# TDE 3.5.12: Translate 'Open Terminal Here' desktop shortcut +Patch1: trinity-kde-i18n-fr-openterminalhere.patch + +# TDE 3.5.13: French translations for new features +Patch2: kde-i18n-3.5.13-add_french_translations.patch + +# TDE 3.5.13: Updated translations for zh_TW, thanks to Wei-Lun Chao ! +Patch3: kde-i18n-3.5.13-add_zh_TW_translations.patch + +BuildRequires: findutils +BuildRequires: gettext +BuildRequires: trinity-arts-devel +BuildRequires: trinity-kdelibs-devel + +%description +%{summary}. + +%package Afrikaans +Summary: Afrikaans(af) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-af = %{version}-%{release} +#Requires: kde-filesystem +%description Afrikaans +%{summary}. + +%package Arabic +Summary: Arabic(ar) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-ar = %{version}-%{release} +#Requires: kde-filesystem +%description Arabic +%{summary}. + +%package Azerbaijani +Summary: Azerbaijani(az) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-az = %{version}-%{release} +#Requires: kde-filesystem +%description Azerbaijani +%{summary}. + +%package Belarusian +Summary: Belarusian(be) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-be = %{version}-%{release} +#Requires: kde-filesystem +%description Belarusian +%{summary}. + +%package Bulgarian +Summary: Bulgarian(bg) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-bg = %{version}-%{release} +#Requires: kde-filesystem +%description Bulgarian +%{summary}. + +%package Bengali +Summary: Bengali(bn) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-bn = %{version}-%{release} +#Requires: kde-filesystem +%description Bengali +%{summary}. + +%package Tibetan +Summary: Tibetan(bo) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-bo = %{version}-%{release} +#Requires: kde-filesystem +%description Tibetan +%{summary}. + +%package Breton +Summary: Breton(br) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-br = %{version}-%{release} +#Requires: kde-filesystem +%description Breton +%{summary}. + +%package Bosnian +Summary: Bosnian(bs) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-bs = %{version}-%{release} +#Requires: kde-filesystem +%description Bosnian +%{summary}. + +%package Catalan +Summary: Catalan(ca) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-ca = %{version}-%{release} +#Requires: kde-filesystem +%description Catalan +%{summary}. + +%package Czech +Summary: Czech(cs) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-cs = %{version}-%{release} +#Requires: kde-filesystem +%description Czech +%{summary}. + +%package Cymraeg +Summary: Cymraeg language support for KDE3 +Group: User Interface/Desktops +#Requires: kde-filesystem +%description Cymraeg +%{summary}. + +%package Welsh +Summary: Welsh(cy) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-cy = %{version}-%{release} +#Requires: kde-filesystem +%description Welsh +%{summary}. + +%package Danish +Summary: Danish(da) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-da = %{version}-%{release} +#Requires: kde-filesystem +%description Danish +%{summary}. + +%package German +Summary: German(de) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-de = %{version}-%{release} +#Requires: kde-filesystem +%description German +%{summary}. + +%package Greek +Summary: Greek(el) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-el = %{version}-%{release} +#Requires: kde-filesystem +%description Greek +%{summary}. + +%package British +Summary: British(en_GB) English support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-en_GB = %{version}-%{release} +#Requires: kde-filesystem +%description British +%{summary}. + +%package Esperanto +Summary: Esperanto(eo) support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-eo = %{version}-%{release} +#Requires: kde-filesystem +%description Esperanto +%{summary}. + +%package Spanish +Summary: Spanish(es) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-es = %{version}-%{release} +#Requires: kde-filesystem +%description Spanish +%{summary}. + +%package Estonian +Summary: Estonian(et) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-et = %{version}-%{release} +#Requires: kde-filesystem +%description Estonian +%{summary}. + +%package Basque +Summary: Basque(eu) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-eu = %{version}-%{release} +#Requires: kde-filesystem +%description Basque +%{summary}. + +%package Farsi +Summary: Farsi(fa) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-fa = %{version}-%{release} +#Requires: kde-filesystem +%description Farsi +%{summary}. + +%package Finnish +Summary: Finnish(fi) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-fi = %{version}-%{release} +#Requires: kde-filesystem +%description Finnish +%{summary}. + +%package Faroese +Summary: Faroese(fo) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-fo = %{version}-%{release} +#Requires: kde-filesystem +%description Faroese +%{summary}. + +%package French +Summary: French(fr) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-fr = %{version}-%{release} +#Requires: kde-filesystem +%description French +%{summary}. + +%package Frisian +Summary: Frisian(fy) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-fy = %{version}-%{release} +#Requires: kde-filesystem +%description Frisian +%{summary}. + +%package Irish +Summary: Irish(ga) language support for KDE3 +Group: User Interface/Desktops +Obsoletes: kde-i18n-Gaeilge < %{version} +Provides: %{name}-ga = %{version}-%{release} +#Requires: kde-filesystem +%description Irish +%{summary}. + +%package Galician +Summary: Galician(gl) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-gl = %{version}-%{release} +#Requires: kde-filesystem +%description Galician +%{summary}. + +%package Hebrew +Summary: Hebrew(he) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-he = %{version}-%{release} +#Requires: kde-filesystem +%description Hebrew +%{summary}. + +%package Hindi +Summary: Hindi(hi) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-hi = %{version}-%{release} +#Requires: kde-filesystem +%description Hindi +%{summary}. + +%package Croatian +Summary: Croatian(hr) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-hr = %{version}-%{release} +#Requires: kde-filesystem +%description Croatian +%{summary}. + +%package Hungarian +Summary: Hungarian(hu) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-hu = %{version}-%{release} +#Requires: kde-filesystem +%description Hungarian +%{summary}. + +%package Indonesian +Summary: Indonesian(id) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-id = %{version}-%{release} +#Requires: kde-filesystem +%description Indonesian +%{summary}. + +%package Icelandic +Summary: Icelandic(is) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-is = %{version}-%{release} +#Requires: kde-filesystem +%description Icelandic +%{summary}. + +%package Italian +Summary: Italian(it) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-it = %{version}-%{release} +#Requires: kde-filesystem +%description Italian +%{summary}. + +%package Japanese +Summary: Japanese(ja) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-ja = %{version}-%{release} +#Requires: kde-filesystem +%description Japanese +%{summary}. + +%package Korean +Summary: Korean(ko) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-ko = %{version}-%{release} +#Requires: kde-filesystem +%description Korean +%{summary}. + +%package Kurdish +Summary: Kurdish(ku) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-ku = %{version}-%{release} +#Requires: kde-filesystem +%description Kurdish +%{summary}. + +%package Lao +Summary: Lao(lo) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-lo = %{version}-%{release} +#Requires: kde-filesystem +%description Lao +%{summary}. + +%package Lithuanian +Summary: Lithuanian(lt) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-lt = %{version}-%{release} +#Requires: kde-filesystem +%description Lithuanian +%{summary}. + +%package Latvian +Summary: Latvian(lv) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-lv = %{version}-%{release} +#Requires: kde-filesystem +%description Latvian +%{summary}. + +%package Maori +Summary: Maori(mi) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-mi = %{version}-%{release} +#Requires: kde-filesystem +%description Maori +%{summary}. + +%package Macedonian +Summary: Macedonian(mk) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-mk = %{version}-%{release} +#Requires: kde-filesystem +%description Macedonian +%{summary}. + +%package Maltese +Summary: Maltese(mt) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-mt = %{version}-%{release} +#Requires: kde-filesystem +%description Maltese +%{summary}. + +%package Dutch +Summary: Dutch(nl) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-nl = %{version}-%{release} +#Requires: kde-filesystem +%description Dutch +%{summary}. + +%package Norwegian +Summary: Norwegian(no) (Bokmaal) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-no = %{version}-%{release} +#Requires: kde-filesystem +%description Norwegian +%{summary}. + +%package Norwegian-Nynorsk +Summary: Norwegian(nn) (Nynorsk) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-nn = %{version}-%{release} +#Requires: kde-filesystem +%description Norwegian-Nynorsk +%{summary}. + +%package Occitan +Summary: Occitan(oc) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-oc = %{version}-%{release} +#Requires: kde-filesystem +%description Occitan +%{summary}. + +%package Polish +Summary: Polish(pl) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-pl = %{version}-%{release} +#Requires: kde-filesystem +%description Polish +%{summary}. + +%package Portuguese +Summary: Portuguese(pt) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-pt = %{version}-%{release} +#Requires: kde-filesystem +%description Portuguese +%{summary}. + +%package Punjabi +Summary: Punjabi(pa) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-pa = %{version}-%{release} +#Requires: kde-filesystem +%description Punjabi +%{summary}. + +%package Brazil +Summary: Brazil(pt_BR) Portuguese language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-pt_BR = %{version}-%{release} +#Requires: kde-filesystem +%description Brazil +%{summary}. + +%package Romanian +Summary: Romanian(ro) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-ro = %{version}-%{release} +#Requires: kde-filesystem +%description Romanian +%{summary}. + +%package Russian +Summary: Russian(ru) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-ru = %{version}-%{release} +#Requires: kde-filesystem +%description Russian +%{summary}. + +%package Slovak +Summary: Slovak(sk) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-sk = %{version}-%{release} +#Requires: kde-filesystem +%description Slovak +%{summary}. + +%package Slovenian +Summary: Slovenian(sl) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-sl = %{version}-%{release} +#Requires: kde-filesystem +%description Slovenian +%{summary}. + +%package Serbian +Summary: Serbian(sr) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-sr = %{version}-%{release} +#Requires: kde-filesystem +%description Serbian +%{summary}. + +%package Swedish +Summary: Swedish(sv) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-sv = %{version}-%{release} +#Requires: kde-filesystem +%description Swedish +%{summary}. + +%package Tamil +Summary: Tamil(ta) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-ta = %{version}-%{release} +#Requires: kde-filesystem +%description Tamil +%{summary}. + +%package Tajik +Summary: Tajik(tg) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-tg = %{version}-%{release} +#Requires: kde-filesystem +%description Tajik +%{summary}. + +%package Thai +Summary: Thai(th) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-th = %{version}-%{release} +#Requires: kde-filesystem +%description Thai +%{summary}. + +%package Turkish +Summary: Turkish(tr) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-tr = %{version}-%{release} +#Requires: kde-filesystem +%description Turkish +%{summary}. + +%package Ukrainian +Summary: Ukrainian(uk) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-uk = %{version}-%{release} +#Requires: kde-filesystem +%description Ukrainian +%{summary}. + +%package Venda +Summary: Venda(ven) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-ven = %{version}-%{release} +#Requires: kde-filesystem +%description Venda +%{summary}. + +%package Vietnamese +Summary: Vietnamese(vi) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-vi = %{version}-%{release} +#Requires: kde-filesystem +%description Vietnamese +%{summary}. + +%package Walloon +Summary: Walloon(wa) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-wa = %{version}-%{release} +#Requires: kde-filesystem +%description Walloon +%{summary}. + +%package Xhosa +Summary: Xhosa(xh) (a Bantu language) support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-xh = %{version}-%{release} +#Requires: kde-filesystem +%description Xhosa +%{summary}. + +%package Chinese +Summary: Chinese(zh_CN) (Simplified Chinese) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-zh_CN = %{version}-%{release} +#Requires: kde-filesystem +%description Chinese +%{summary}. + +%package Chinese-Big5 +Summary: Chinese(zh_TW) (Big5) language support for KDE3 +Group: User Interface/Desktops +Provides: %{name}-tz_TW = %{version}-%{release} +#Requires: kde-filesystem +%description Chinese-Big5 +%{summary}. + + + +%prep +%setup -q -n kde-i18n + +for l in %{KDE_LANGS}; do + for f in kde-i18n-${l}-*.tar.bz2; do + tar xjf "${f}" + done +done + +%patch0 +%patch1 +%patch2 -p0 +%patch3 -p0 + + +%build +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +export kde_htmldir="%{tde_docdir}/HTML" + +for l in %{KDE_LANGS}; do + for f in kde-i18n-${l}-*/; do + if [ -d "${f}" ] && [ -x "${f}/configure" ] ; then + pushd ${f} + %configure + %__make %{?_smp_mflags} + popd + fi + done +done + +%install +%__rm -rf %{?buildroot} +export PATH="%{_bindir}:${PATH}" + +for l in %{KDE_LANGS}; do + for f in kde-i18n-${l}-*/; do + if [ -d "${f}" ] && [ -r "${f}/Makefile" ] ; then + %__make install DESTDIR="%{?buildroot}" -C "${f}" + fi + done +done + +# make symlinks relative +%if "%{_prefix}" == "/usr" +pushd "%{buildroot}%{tde_docdir}/HTML" +for lang in *; do + if [ -d "$lang" ]; then + pushd "$lang" + for i in */*/*; do + if [ -d $i -a -L $i/common ]; then + rm -f $i/common + ln -sf ../../../docs/common $i + fi + done + + for i in */*; do + if [ -d $i -a -L $i/common ]; then + rm -f $i/common + ln -sf ../../docs/common $i + fi + done + + for i in *; do + if [ -d $i -a -L $i/common ]; then + rm -f $i/common + ln -sf ../docs/common $i + fi + done + + popd + fi +done +popd +%endif + +# remove zero-length file +find "%{buildroot}%{tde_docdir}/HTML" -size 0 -exec rm -f {} \; + +# See http://fedoraproject.org/wiki/Languages (???) +%__rm -f %{buildroot}%{_datadir}/locale/*/flag.png + +# Removes conflict with KDE4 +%if "%{?_prefix}" == "/usr" +%__rm -f %{buildroot}%{_datadir}/locale/*/entry.desktop +%endif + +# remove obsolete KDE 3 application data translations +%__rm -rf "%{buildroot}%{_datadir}/apps" + +%clean +%__rm -rf %{buildroot} + +%if "%( grep -w af <<< '%{KDE_LANGS}' )" != "" +%files Afrikaans +%defattr(-,root,root,-) +%lang(af) %{_datadir}/locale/af/* +%lang(af) %{tde_docdir}/HTML/af/ +%endif + +%if "%( grep -w ar <<< '%{KDE_LANGS}' )" != "" +%files Arabic +%defattr(-,root,root,-) +%lang(ar) %{_datadir}/locale/ar/* +%endif + +%if "%( grep -w az <<< '%{KDE_LANGS}' )" != "" +%files Azerbaijani +%defattr(-,root,root,-) +%lang(az) %{_datadir}/locale/az/* +%endif + +%if "%( grep -w be <<< '%{KDE_LANGS}' )" != "" +%files Belarusian +%defattr(-,root,root,-) +%lang(be) %{_datadir}/locale/be/* +%endif + +%if "%( grep -w bg <<< '%{KDE_LANGS}' )" != "" +%files Bulgarian +%defattr(-,root,root,-) +%lang(bg) %{_datadir}/locale/bg/* +%endif + +%if "%( grep -w bn <<< '%{KDE_LANGS}' )" != "" +%files Bengali +%defattr(-,root,root,-) +%lang(bn) %{_datadir}/locale/bn/* +%endif + +%if "%( grep -w bo <<< '%{KDE_LANGS}' )" != "" +%files Tibetan +%defattr(-,root,root,-) +%lang(bo) %{_datadir}/locale/bo/* +%endif + +%if "%( grep -w br <<< '%{KDE_LANGS}' )" != "" +%files Breton +%defattr(-,root,root,-) +%lang(br) %{_datadir}/locale/br/* +%endif + +%if "%( grep -w bs <<< '%{KDE_LANGS}' )" != "" +%files Bosnian +%defattr(-,root,root,-) +%lang(bs) %{_datadir}/locale/bs/* +%endif + +%if "%( grep -w ca <<< '%{KDE_LANGS}' )" != "" +%files Catalan +%defattr(-,root,root,-) +%lang(ca) %{_datadir}/locale/ca/* +%lang(ca) %{tde_docdir}/HTML/ca/ +%endif + +%if "%( grep -w cs <<< '%{KDE_LANGS}' )" != "" +%files Czech +%defattr(-,root,root,-) +%lang(cs) %{_datadir}/locale/cs/* +%lang(cs) %{tde_docdir}/HTML/cs/ +%endif + +%if "%( grep -w cy <<< '%{KDE_LANGS}' )" != "" +%files Welsh +%defattr(-,root,root,-) +%lang(cy) %{_datadir}/locale/cy/* +%endif + +%if "%( grep -w da <<< '%{KDE_LANGS}' )" != "" +%files Danish +%defattr(-,root,root,-) +%lang(da) %{_datadir}/locale/da/* +%lang(da) %{tde_docdir}/HTML/da/ +%endif + +%if "%( grep -w de <<< '%{KDE_LANGS}' )" != "" +%files German +%defattr(-,root,root,-) +%lang(de) %{_datadir}/locale/de/* +%lang(de) %{tde_docdir}/HTML/de/ +%endif + +%if "%( grep -w el <<< '%{KDE_LANGS}' )" != "" +%files Greek +%defattr(-,root,root,-) +%lang(el) %{_datadir}/locale/el/* +%endif + +%if "%( grep -w en_GB <<< '%{KDE_LANGS}' )" != "" +%files British +%defattr(-,root,root,-) +%lang(en_GB) %{_datadir}/locale/en_GB/* +%lang(en_GB) %{tde_docdir}/HTML/en_GB/ +%endif + +%if "%( grep -w eo <<< '%{KDE_LANGS}' )" != "" +%files Esperanto +%defattr(-,root,root,-) +%lang(eo) %{_datadir}/locale/eo/* +%endif + +%if "%( grep -w es <<< '%{KDE_LANGS}' )" != "" +%files Spanish +%defattr(-,root,root,-) +%lang(es) %{_datadir}/locale/es/* +%lang(es) %{tde_docdir}/HTML/es/ +%endif + +%if "%( grep -w et <<< '%{KDE_LANGS}' )" != "" +%files Estonian +%defattr(-,root,root,-) +%lang(et) %{_datadir}/locale/et/* +%lang(et) %{tde_docdir}/HTML/et/ +%endif + +%if "%( grep -w eu <<< '%{KDE_LANGS}' )" != "" +%files Basque +%defattr(-,root,root,-) +%lang(eu) %{_datadir}/locale/eu/* +%endif + +%if "%( grep -w fa <<< '%{KDE_LANGS}' )" != "" +%files Farsi +%defattr(-,root,root,-) +%lang(fa) %{_datadir}/locale/fa/* +%endif + +%if "%( grep -w fi <<< '%{KDE_LANGS}' )" != "" +%files Finnish +%defattr(-,root,root,-) +%lang(fi) %{_datadir}/locale/fi/* +%lang(fi) %{tde_docdir}/HTML/fi/ +%endif + +%if "%( grep -w fo <<< '%{KDE_LANGS}' )" != "" +%files Faroese +%defattr(-,root,root,-) +%lang(fo) %{_datadir}/locale/fo/* +%endif + +%if "%( grep -w fr <<< '%{KDE_LANGS}' )" != "" +%files French +%defattr(-,root,root,-) +%lang(fr) %{_datadir}/locale/fr/* +%lang(fr) %{tde_docdir}/HTML/fr/ +%endif + +%if "%( grep -w fy <<< '%{KDE_LANGS}' )" != "" +%files Frisian +%defattr(-,root,root,-) +%lang(fy) %{_datadir}/locale/fy/* +%endif + +%if "%( grep -w ga <<< '%{KDE_LANGS}' )" != "" +%files Irish +%defattr(-,root,root,-) +%lang(ga) %{_datadir}/locale/ga/* +%endif + +%if "%( grep -w gl <<< '%{KDE_LANGS}' )" != "" +%files Galician +%defattr(-,root,root,-) +%lang(gl) %{_datadir}/locale/gl/* +%endif + +%if "%( grep -w he <<< '%{KDE_LANGS}' )" != "" +%files Hebrew +%defattr(-,root,root,-) +%lang(he) %{_datadir}/locale/he/* +%lang(he) %{tde_docdir}/HTML/he/ +%endif + +%if "%( grep -w hi <<< '%{KDE_LANGS}' )" != "" +%files Hindi +%defattr(-,root,root,-) +%lang(hi) %{_datadir}/locale/hi/* +%endif + +%if "%( grep -w hr <<< '%{KDE_LANGS}' )" != "" +%files Croatian +%defattr(-,root,root,-) +%lang(hr) %{_datadir}/locale/hr/* +%lang(hr) %{tde_docdir}/HTML/hr/ +%endif + +%if "%( grep -w hu <<< '%{KDE_LANGS}' )" != "" +%files Hungarian +%defattr(-,root,root,-) +%lang(hu) %{_datadir}/locale/hu/* +%lang(hu) %{tde_docdir}/HTML/hu/ +%endif + +%if "%( grep -w id <<< '%{KDE_LANGS}' )" != "" +%files Indonesian +%defattr(-,root,root,-) +%lang(id) %{_datadir}/locale/id/* +%lang(id) %{tde_docdir}/HTML/id/ +%endif + +%if "%( grep -w is <<< '%{KDE_LANGS}' )" != "" +%files Icelandic +%defattr(-,root,root,-) +%lang(is) %{_datadir}/locale/is/* +%endif + +%if "%( grep -w it <<< '%{KDE_LANGS}' )" != "" +%files Italian +%defattr(-,root,root,-) +%lang(it) %{_datadir}/locale/it/* +%lang(it) %{tde_docdir}/HTML/it/ +%endif + +%if "%( grep -w ja <<< '%{KDE_LANGS}' )" != "" +%files Japanese +%defattr(-,root,root,-) +%lang(ja) %{_datadir}/locale/ja/* +%lang(ja) %{tde_docdir}/HTML/ja/ +%endif + +%if "%( grep -w ko <<< '%{KDE_LANGS}' )" != "" +%files Korean +%defattr(-,root,root,-) +%lang(ko) %{_datadir}/locale/ko/* +%lang(ko) %{tde_docdir}/HTML/ko/ +%endif + +%if "%( grep -w ku <<< '%{KDE_LANGS}' )" != "" +%files Kurdish +%defattr(-,root,root,-) +%lang(ku) %{_datadir}/locale/ku/* +%lang(ku) %{tde_docdir}/HTML/ku/ +%endif + +%if "%( grep -w lao <<< '%{KDE_LANGS}' )" != "" +%files Lao +%defattr(-,root,root,-) +%lang(lo) %{_datadir}/locale/lo/* +%lang(lo) %{tde_docdir}/HTML/lo/ +%endif + +%if "%( grep -w lt <<< '%{KDE_LANGS}' )" != "" +%files Lithuanian +%defattr(-,root,root,-) +%lang(lt) %{_datadir}/locale/lt/* +%endif + +%if "%( grep -w lv <<< '%{KDE_LANGS}' )" != "" +%files Latvian +%defattr(-,root,root,-) +%lang(lv) %{_datadir}/locale/lv/* +%endif + +%if "%( grep -w mi <<< '%{KDE_LANGS}' )" != "" +%files Maori +%defattr(-,root,root,-) +%lang(mi) %{_datadir}/locale/mi/* +%endif + +%if "%( grep -w mk <<< '%{KDE_LANGS}' )" != "" +%files Macedonian +%defattr(-,root,root,-) +%lang(mk) %{_datadir}/locale/mk/* +%endif + +%if "%( grep -w mt <<< '%{KDE_LANGS}' )" != "" +%files Maltese +%defattr(-,root,root,-) +%lang(mt) %{_datadir}/locale/mt/* +%endif + +%if "%( grep -w nl <<< '%{KDE_LANGS}' )" != "" +%files Dutch +%defattr(-,root,root,-) +%lang(nl) %{_datadir}/locale/nl/* +%lang(nl) %{tde_docdir}/HTML/nl/ +%endif + +%if "%( grep -w nb <<< '%{KDE_LANGS}' )" != "" +%files Norwegian +%defattr(-,root,root,-) +%lang(nb) %{_datadir}/locale/nb/* +#%lang(nb) %{tde_docdir}/HTML/nb/ +%endif + +%if "%( grep -w nn <<< '%{KDE_LANGS}' )" != "" +%files Norwegian-Nynorsk +%defattr(-,root,root,-) +%lang(nn) %{_datadir}/locale/nn/* +#%lang(nn) %{tde_docdir}/HTML/nn/ +%endif + +%if "%( grep -w oc <<< '%{KDE_LANGS}' )" != "" +%files Occitan +%defattr(-,root,root,-) +%lang(oc) %{_datadir}/locale/oc/* +%endif + +%if "%( grep -w pa <<< '%{KDE_LANGS}' )" != "" +%files Punjabi +%defattr(-,root,root,-) +%lang(pa) %{_datadir}/locale/pa/* +%endif + +%if "%( grep -w pl <<< '%{KDE_LANGS}' )" != "" +%files Polish +%defattr(-,root,root,-) +%lang(pl) %{_datadir}/locale/pl/* +%lang(pl) %{tde_docdir}/HTML/pl/ +%endif + +%if "%( grep -w pt <<< '%{KDE_LANGS}' )" != "" +%files Portuguese +%defattr(-,root,root,-) +%lang(pt) %{_datadir}/locale/pt/* +%lang(pt) %{tde_docdir}/HTML/pt/ +%endif + +%if "%( grep -w pt_BR <<< '%{KDE_LANGS}' )" != "" +%files Brazil +%defattr(-,root,root,-) +%lang(pt_BR) %{_datadir}/locale/pt_BR/* +%lang(pt_BR) %{tde_docdir}/HTML/pt_BR/ +%endif + +%if "%( grep -w ro <<< '%{KDE_LANGS}' )" != "" +%files Romanian +%defattr(-,root,root,-) +%lang(ro) %{_datadir}/locale/ro/* +%lang(ro) %{tde_docdir}/HTML/ro/ +%endif + +%if "%( grep -w ru <<< '%{KDE_LANGS}' )" != "" +%files Russian +%defattr(-,root,root,-) +%lang(ru) %{_datadir}/locale/ru/* +%lang(ru) %{tde_docdir}/HTML/ru/ +%endif + +%if "%( grep -w sk <<< '%{KDE_LANGS}' )" != "" +%files Slovak +%defattr(-,root,root,-) +%lang(sk) %{_datadir}/locale/sk/* +%lang(sk) %{tde_docdir}/HTML/sk/ +%endif + +%if "%( grep -w sl <<< '%{KDE_LANGS}' )" != "" +%files Slovenian +%defattr(-,root,root,-) +%lang(sl) %{_datadir}/locale/sl/* +%lang(sl) %{tde_docdir}/HTML/sl/ +%endif + +%if "%( grep -w sr <<< '%{KDE_LANGS}' )" != "" +%files Serbian +%defattr(-,root,root,-) +%lang(sr) %{_datadir}/locale/sr/* +%lang(sr) %{tde_docdir}/HTML/sr/ +%endif + +%if "%( grep -w sv <<< '%{KDE_LANGS}' )" != "" +%files Swedish +%defattr(-,root,root,-) +%lang(sv) %{_datadir}/locale/sv/* +%lang(sv) %{tde_docdir}/HTML/sv/ +%endif + +%if "%( grep -w ta <<< '%{KDE_LANGS}' )" != "" +%files Tamil +%defattr(-,root,root,-) +%lang(ta) %{_datadir}/locale/ta/* +%endif + +%if "%( grep -w tg <<< '%{KDE_LANGS}' )" != "" +%files Tajik +%defattr(-,root,root,-) +%lang(tg) %{_datadir}/locale/tg/* +%endif + +%if "%( grep -w th <<< '%{KDE_LANGS}' )" != "" +%files Thai +%defattr(-,root,root,-) +%lang(th) %{_datadir}/locale/th/* +%endif + +%if "%( grep -w tr <<< '%{KDE_LANGS}' )" != "" +%files Turkish +%defattr(-,root,root,-) +%lang(tr) %{_datadir}/locale/tr/* +%lang(tr) %{tde_docdir}/HTML/tr/ +%endif + +%if "%( grep -w uk <<< '%{KDE_LANGS}' )" != "" +%files Ukrainian +%defattr(-,root,root,-) +%lang(uk) %{tde_docdir}/HTML/uk/ +%lang(uk) %{_datadir}/locale/uk/* +%endif + +%if "%( grep -w ven <<< '%{KDE_LANGS}' )" != "" +%files Venda +%defattr(-,root,root,-) +%lang(ven) %{_datadir}/locale/ven/* +%endif + +%if "%( grep -w vi <<< '%{KDE_LANGS}' )" != "" +%files Vietnamese +%defattr(-,root,root,-) +%lang(vi) %{_datadir}/locale/vi/* +%endif + +%if "%( grep -w wa <<< '%{KDE_LANGS}' )" != "" +%files Walloon +%defattr(-,root,root,-) +%lang(wa) %{_datadir}/locale/wa/* +%endif + +%if "%( grep -w xh <<< '%{KDE_LANGS}' )" != "" +%files Xhosa +%defattr(-,root,root,-) +%lang(xh) %{_datadir}/locale/xh/* +%lang(xh) %{tde_docdir}/HTML/xh/ +%endif + +%if "%( grep -w zh_CN <<< '%{KDE_LANGS}' )" != "" +%files Chinese +%defattr(-,root,root,-) +%lang(zh_CN) %{_datadir}/locale/zh_CN/* +%lang(zh_CN) %{tde_docdir}/HTML/zh_CN/ +%endif + +%if "%( grep -w zh_TW <<< '%{KDE_LANGS}' )" != "" +%files Chinese-Big5 +%defattr(-,root,root,-) +%lang(zh_TW) %{_datadir}/locale/zh_TW/* +%lang(zh_TW) %{tde_docdir}/HTML/zh_TW/ +%endif + +%changelog +* Sun Dec 18 2011 Francois Andriot - 3.5.13-9 +- Updates French translations (mostly Kickoff Menu related) + +* Fri Dec 09 2011 Francois Andriot - 3.5.12-8 +- Backport from TDE 3.5.13 +- Removes 'kde-filesystem" dependancy +- Fix HTML directory location +- Re-adds missing files 'entry.desktop' +- Updates zh_TW translation, thanks to Wei-Lun Chao +- Add missing french translations for TDE 3.5.13 + +* Mon Sep 19 2011 Francois Andriot - 3.5.12-7 +- Add support for RHEL5 + +* Sun Sep 11 2011 Francois Andriot - 3.5.12-6 +- Re-introduce all languages (again) + +* Wed Aug 24 2011 Francois Andriot - 3.5.12-5 +- Re-introduce all languages + +* Mon Aug 22 2011 Francois Andriot - 3.5.12-4 +- Correct macro to install under "/opt", if desired + +* Thu Jul 21 2011 Francois Andriot - 3.5.12-3 +- Add 'Patch1': translation for 'Open Terminal Here...' background shortcut + +* Sun Dec 19 2010 Francois Andriot - 3.5.12-2 +- Rebuilt + +* Sun Dec 19 2010 Francois Andriot - 3.5.12-0 +- Initial version (French language only) +- Based on RHEL SPEC file 'kde-i18n' +- Add 'patch0' to reflect modifications in 'kdesu' from 'kdebase' package + diff --git a/redhat/tde-i18n/kde-i18n-3.5.13.spec b/redhat/tde-i18n/kde-i18n-3.5.13.spec new file mode 100644 index 000000000..635e08f94 --- /dev/null +++ b/redhat/tde-i18n/kde-i18n-3.5.13.spec @@ -0,0 +1,1193 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdedocdir %{tde_docdir}/kde + +# Builds all supported languages (not unsupported ones) +%if "%{?KDE_LANGS}" == "" +%define KDE_LANGS ar bg bn ca cs da de el en_GB es et fi fr he hi hu is it ja lt nl nb nn pa pl pt pt_BR ro ru sk sl sr sv ta tr uk zh_CN zh_TW +%endif + + +Name: trinity-i18n +Summary: Internationalization support for Trinity +Version: 3.5.13 +Release: 7%{?dist}%{?_variant} + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +# GFDL, with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. +License: GFDL +Group: User Interface/Desktops +BuildArch: noarch + +# Speed build options +%define debug_package %{nil} +%define __spec_install_post %{nil} +AutoReq: no + +Source0: kde-i18n-%{version}.tar.gz + +# TDE 3.5.12: Translate 'kdesu' message was modified in 'kdebase' package +Patch0: kde-i18n-kdesu.patch + +# TDE 3.5.12: Translate 'Open Terminal Here' desktop shortcut +Patch1: trinity-kde-i18n-fr-openterminalhere.patch + +# TDE 3.5.13: French translations for new features +Patch2: kde-i18n-3.5.13-add_french_translations.patch + +# TDE 3.5.13: Updated translations for zh_TW, thanks to Wei-Lun Chao ! +Patch3: kde-i18n-zh_TW-3.5.10.patch.gz + +BuildRequires: findutils +BuildRequires: gettext +BuildRequires: trinity-arts-devel +BuildRequires: trinity-tdelibs-devel + +%description +%{summary}. + +%package Afrikaans +Summary: Afrikaans(af) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-af = %{version}-%{release} +#Requires: kde-filesystem +%description Afrikaans +%{summary}. + +%package Arabic +Summary: Arabic(ar) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ar = %{version}-%{release} +#Requires: kde-filesystem +%description Arabic +%{summary}. + +%package Azerbaijani +Summary: Azerbaijani(az) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-az = %{version}-%{release} +#Requires: kde-filesystem +%description Azerbaijani +%{summary}. + +%package Belarusian +Summary: Belarusian(be) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-be = %{version}-%{release} +#Requires: kde-filesystem +%description Belarusian +%{summary}. + +%package Bulgarian +Summary: Bulgarian(bg) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-bg = %{version}-%{release} +#Requires: kde-filesystem +%description Bulgarian +%{summary}. + +%package Bengali +Summary: Bengali(bn) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-bn = %{version}-%{release} +#Requires: kde-filesystem +%description Bengali +%{summary}. + +%package Tibetan +Summary: Tibetan(bo) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-bo = %{version}-%{release} +#Requires: kde-filesystem +%description Tibetan +%{summary}. + +%package Breton +Summary: Breton(br) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-br = %{version}-%{release} +#Requires: kde-filesystem +%description Breton +%{summary}. + +%package Bosnian +Summary: Bosnian(bs) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-bs = %{version}-%{release} +#Requires: kde-filesystem +%description Bosnian +%{summary}. + +%package Catalan +Summary: Catalan(ca) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ca = %{version}-%{release} +#Requires: kde-filesystem +%description Catalan +%{summary}. + +%package Czech +Summary: Czech(cs) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-cs = %{version}-%{release} +#Requires: kde-filesystem +%description Czech +%{summary}. + +%package Cymraeg +Summary: Cymraeg language support for TDE +Group: User Interface/Desktops +#Requires: kde-filesystem +%description Cymraeg +%{summary}. + +%package Welsh +Summary: Welsh(cy) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-cy = %{version}-%{release} +#Requires: kde-filesystem +%description Welsh +%{summary}. + +%package Danish +Summary: Danish(da) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-da = %{version}-%{release} +#Requires: kde-filesystem +%description Danish +%{summary}. + +%package German +Summary: German(de) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-de = %{version}-%{release} +#Requires: kde-filesystem +%description German +%{summary}. + +%package Greek +Summary: Greek(el) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-el = %{version}-%{release} +#Requires: kde-filesystem +%description Greek +%{summary}. + +%package British +Summary: British(en_GB) English support for TDE +Group: User Interface/Desktops +Provides: %{name}-en_GB = %{version}-%{release} +#Requires: kde-filesystem +%description British +%{summary}. + +%package Esperanto +Summary: Esperanto(eo) support for TDE +Group: User Interface/Desktops +Provides: %{name}-eo = %{version}-%{release} +#Requires: kde-filesystem +%description Esperanto +%{summary}. + +%package Spanish +Summary: Spanish(es) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-es = %{version}-%{release} +#Requires: kde-filesystem +%description Spanish +%{summary}. + +%package Estonian +Summary: Estonian(et) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-et = %{version}-%{release} +#Requires: kde-filesystem +%description Estonian +%{summary}. + +%package Basque +Summary: Basque(eu) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-eu = %{version}-%{release} +#Requires: kde-filesystem +%description Basque +%{summary}. + +%package Farsi +Summary: Farsi(fa) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-fa = %{version}-%{release} +#Requires: kde-filesystem +%description Farsi +%{summary}. + +%package Finnish +Summary: Finnish(fi) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-fi = %{version}-%{release} +#Requires: kde-filesystem +%description Finnish +%{summary}. + +%package Faroese +Summary: Faroese(fo) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-fo = %{version}-%{release} +#Requires: kde-filesystem +%description Faroese +%{summary}. + +%package French +Summary: French(fr) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-fr = %{version}-%{release} +#Requires: kde-filesystem +%description French +%{summary}. + +%package Frisian +Summary: Frisian(fy) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-fy = %{version}-%{release} +#Requires: kde-filesystem +%description Frisian +%{summary}. + +%package Irish +Summary: Irish(ga) language support for TDE +Group: User Interface/Desktops +Obsoletes: kde-i18n-Gaeilge < %{version} +Provides: %{name}-ga = %{version}-%{release} +#Requires: kde-filesystem +%description Irish +%{summary}. + +%package Galician +Summary: Galician(gl) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-gl = %{version}-%{release} +#Requires: kde-filesystem +%description Galician +%{summary}. + +%package Hebrew +Summary: Hebrew(he) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-he = %{version}-%{release} +#Requires: kde-filesystem +%description Hebrew +%{summary}. + +%package Hindi +Summary: Hindi(hi) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-hi = %{version}-%{release} +#Requires: kde-filesystem +%description Hindi +%{summary}. + +%package Croatian +Summary: Croatian(hr) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-hr = %{version}-%{release} +#Requires: kde-filesystem +%description Croatian +%{summary}. + +%package Hungarian +Summary: Hungarian(hu) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-hu = %{version}-%{release} +#Requires: kde-filesystem +%description Hungarian +%{summary}. + +%package Indonesian +Summary: Indonesian(id) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-id = %{version}-%{release} +#Requires: kde-filesystem +%description Indonesian +%{summary}. + +%package Icelandic +Summary: Icelandic(is) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-is = %{version}-%{release} +#Requires: kde-filesystem +%description Icelandic +%{summary}. + +%package Italian +Summary: Italian(it) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-it = %{version}-%{release} +#Requires: kde-filesystem +%description Italian +%{summary}. + +%package Japanese +Summary: Japanese(ja) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ja = %{version}-%{release} +#Requires: kde-filesystem +%description Japanese +%{summary}. + +%package Korean +Summary: Korean(ko) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ko = %{version}-%{release} +#Requires: kde-filesystem +%description Korean +%{summary}. + +%package Kurdish +Summary: Kurdish(ku) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ku = %{version}-%{release} +#Requires: kde-filesystem +%description Kurdish +%{summary}. + +%package Lao +Summary: Lao(lo) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-lo = %{version}-%{release} +#Requires: kde-filesystem +%description Lao +%{summary}. + +%package Lithuanian +Summary: Lithuanian(lt) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-lt = %{version}-%{release} +#Requires: kde-filesystem +%description Lithuanian +%{summary}. + +%package Latvian +Summary: Latvian(lv) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-lv = %{version}-%{release} +#Requires: kde-filesystem +%description Latvian +%{summary}. + +%package Maori +Summary: Maori(mi) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-mi = %{version}-%{release} +#Requires: kde-filesystem +%description Maori +%{summary}. + +%package Macedonian +Summary: Macedonian(mk) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-mk = %{version}-%{release} +#Requires: kde-filesystem +%description Macedonian +%{summary}. + +%package Maltese +Summary: Maltese(mt) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-mt = %{version}-%{release} +#Requires: kde-filesystem +%description Maltese +%{summary}. + +%package Dutch +Summary: Dutch(nl) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-nl = %{version}-%{release} +#Requires: kde-filesystem +%description Dutch +%{summary}. + +%package Norwegian +Summary: Norwegian(no) (Bokmaal) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-no = %{version}-%{release} +#Requires: kde-filesystem +%description Norwegian +%{summary}. + +%package Norwegian-Nynorsk +Summary: Norwegian(nn) (Nynorsk) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-nn = %{version}-%{release} +#Requires: kde-filesystem +%description Norwegian-Nynorsk +%{summary}. + +%package Occitan +Summary: Occitan(oc) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-oc = %{version}-%{release} +#Requires: kde-filesystem +%description Occitan +%{summary}. + +%package Polish +Summary: Polish(pl) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-pl = %{version}-%{release} +#Requires: kde-filesystem +%description Polish +%{summary}. + +%package Portuguese +Summary: Portuguese(pt) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-pt = %{version}-%{release} +#Requires: kde-filesystem +%description Portuguese +%{summary}. + +%package Punjabi +Summary: Punjabi(pa) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-pa = %{version}-%{release} +#Requires: kde-filesystem +%description Punjabi +%{summary}. + +%package Brazil +Summary: Brazil(pt_BR) Portuguese language support for TDE +Group: User Interface/Desktops +Provides: %{name}-pt_BR = %{version}-%{release} +#Requires: kde-filesystem +%description Brazil +%{summary}. + +%package Romanian +Summary: Romanian(ro) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ro = %{version}-%{release} +#Requires: kde-filesystem +%description Romanian +%{summary}. + +%package Russian +Summary: Russian(ru) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ru = %{version}-%{release} +#Requires: kde-filesystem +%description Russian +%{summary}. + +%package Slovak +Summary: Slovak(sk) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-sk = %{version}-%{release} +#Requires: kde-filesystem +%description Slovak +%{summary}. + +%package Slovenian +Summary: Slovenian(sl) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-sl = %{version}-%{release} +#Requires: kde-filesystem +%description Slovenian +%{summary}. + +%package Serbian +Summary: Serbian(sr) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-sr = %{version}-%{release} +#Requires: kde-filesystem +%description Serbian +%{summary}. + +%package Swedish +Summary: Swedish(sv) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-sv = %{version}-%{release} +#Requires: kde-filesystem +%description Swedish +%{summary}. + +%package Tamil +Summary: Tamil(ta) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ta = %{version}-%{release} +#Requires: kde-filesystem +%description Tamil +%{summary}. + +%package Tajik +Summary: Tajik(tg) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-tg = %{version}-%{release} +#Requires: kde-filesystem +%description Tajik +%{summary}. + +%package Thai +Summary: Thai(th) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-th = %{version}-%{release} +#Requires: kde-filesystem +%description Thai +%{summary}. + +%package Turkish +Summary: Turkish(tr) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-tr = %{version}-%{release} +#Requires: kde-filesystem +%description Turkish +%{summary}. + +%package Ukrainian +Summary: Ukrainian(uk) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-uk = %{version}-%{release} +#Requires: kde-filesystem +%description Ukrainian +%{summary}. + +%package Venda +Summary: Venda(ven) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ven = %{version}-%{release} +#Requires: kde-filesystem +%description Venda +%{summary}. + +%package Vietnamese +Summary: Vietnamese(vi) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-vi = %{version}-%{release} +#Requires: kde-filesystem +%description Vietnamese +%{summary}. + +%package Walloon +Summary: Walloon(wa) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-wa = %{version}-%{release} +#Requires: kde-filesystem +%description Walloon +%{summary}. + +%package Xhosa +Summary: Xhosa(xh) (a Bantu language) support for TDE +Group: User Interface/Desktops +Provides: %{name}-xh = %{version}-%{release} +#Requires: kde-filesystem +%description Xhosa +%{summary}. + +%package Chinese +Summary: Chinese(zh_CN) (Simplified Chinese) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-zh_CN = %{version}-%{release} +#Requires: kde-filesystem +%description Chinese +%{summary}. + +%package Chinese-Big5 +Summary: Chinese(zh_TW) (Big5) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-tz_TW = %{version}-%{release} +Provides: trinity-kde-i18n-Chinese-Big5 = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Chinese-Big5 < %{version}-%{release} +%description Chinese-Big5 +%{summary}. + + + +%prep +%setup -q -n kde-i18n + +for l in %{KDE_LANGS}; do + for f in kde-i18n-${l}-*.tar.bz2; do + tar xjf "${f}" + done +done + +# Patches for French translations +%if "%( grep -w fr <<< '%{KDE_LANGS}' )" != "" +%patch0 +%patch1 +%patch2 -p0 +%endif + +# Patches for Chinese (zh_TW) translations +%patch3 -p0 + + +%build +unset QTDIR; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +export kde_htmldir="%{tde_tdedocdir}/HTML" + +for l in %{KDE_LANGS}; do + for f in kde-i18n-${l}-*/; do + if [ -d "${f}" ] && [ -x "${f}/configure" ] ; then + pushd ${f} + %configure --prefix=%{tde_prefix} --datadir=%{tde_datadir} --docdir=%{tde_docdir} + %__make %{?_smp_mflags} + popd + fi + done +done + +%install +%__rm -rf %{?buildroot} +export PATH="%{tde_bindir}:${PATH}" + +for l in %{KDE_LANGS}; do + for f in kde-i18n-${l}-*/; do + if [ -d "${f}" ] && [ -r "${f}/Makefile" ] ; then + %__make install DESTDIR="%{?buildroot}" -C "${f}" + fi + done +done + +# make symlinks relative +%if "%{tde_prefix}" == "/usr" +pushd "%{buildroot}%{tde_tdedocdir}/HTML" +for lang in *; do + if [ -d "$lang" ]; then + pushd "$lang" + for i in */*/*; do + if [ -d $i -a -L $i/common ]; then + rm -f $i/common + ln -sf ../../../docs/common $i + fi + done + + for i in */*; do + if [ -d $i -a -L $i/common ]; then + rm -f $i/common + ln -sf ../../docs/common $i + fi + done + + for i in *; do + if [ -d $i -a -L $i/common ]; then + rm -f $i/common + ln -sf ../docs/common $i + fi + done + + popd + fi +done +popd +%endif + +# remove zero-length file +find "%{buildroot}%{tde_tdedocdir}/HTML" -size 0 -exec rm -f {} \; + +# See http://fedoraproject.org/wiki/Languages (???) +%__rm -f %{buildroot}%{tde_datadir}/locale/*/flag.png + +# Removes conflict with KDE4 +%if "%{?tde_prefix}" == "/usr" +%__rm -f %{buildroot}%{tde_datadir}/locale/*/entry.desktop +%endif + +# remove obsolete KDE 3 application data translations +%__rm -rf "%{buildroot}%{tde_datadir}/apps" + +%clean +%__rm -rf %{buildroot} + +%if "%( grep -w af <<< '%{KDE_LANGS}' )" != "" +%files Afrikaans +%defattr(-,root,root,-) +%lang(af) %{tde_datadir}/locale/af/* +%lang(af) %{tde_tdedocdir}/HTML/af/ +%endif + +%if "%( grep -w ar <<< '%{KDE_LANGS}' )" != "" +%files Arabic +%defattr(-,root,root,-) +%lang(ar) %{tde_datadir}/locale/ar/* +%endif + +%if "%( grep -w az <<< '%{KDE_LANGS}' )" != "" +%files Azerbaijani +%defattr(-,root,root,-) +%lang(az) %{tde_datadir}/locale/az/* +%endif + +%if "%( grep -w be <<< '%{KDE_LANGS}' )" != "" +%files Belarusian +%defattr(-,root,root,-) +%lang(be) %{tde_datadir}/locale/be/* +%endif + +%if "%( grep -w bg <<< '%{KDE_LANGS}' )" != "" +%files Bulgarian +%defattr(-,root,root,-) +%lang(bg) %{tde_datadir}/locale/bg/* +%endif + +%if "%( grep -w bn <<< '%{KDE_LANGS}' )" != "" +%files Bengali +%defattr(-,root,root,-) +%lang(bn) %{tde_datadir}/locale/bn/* +%endif + +%if "%( grep -w bo <<< '%{KDE_LANGS}' )" != "" +%files Tibetan +%defattr(-,root,root,-) +%lang(bo) %{tde_datadir}/locale/bo/* +%endif + +%if "%( grep -w br <<< '%{KDE_LANGS}' )" != "" +%files Breton +%defattr(-,root,root,-) +%lang(br) %{tde_datadir}/locale/br/* +%endif + +%if "%( grep -w bs <<< '%{KDE_LANGS}' )" != "" +%files Bosnian +%defattr(-,root,root,-) +%lang(bs) %{tde_datadir}/locale/bs/* +%endif + +%if "%( grep -w ca <<< '%{KDE_LANGS}' )" != "" +%files Catalan +%defattr(-,root,root,-) +%lang(ca) %{tde_datadir}/locale/ca/* +%lang(ca) %{tde_tdedocdir}/HTML/ca/ +%endif + +%if "%( grep -w cs <<< '%{KDE_LANGS}' )" != "" +%files Czech +%defattr(-,root,root,-) +%lang(cs) %{tde_datadir}/locale/cs/* +%lang(cs) %{tde_tdedocdir}/HTML/cs/ +%endif + +%if "%( grep -w cy <<< '%{KDE_LANGS}' )" != "" +%files Welsh +%defattr(-,root,root,-) +%lang(cy) %{tde_datadir}/locale/cy/* +%endif + +%if "%( grep -w da <<< '%{KDE_LANGS}' )" != "" +%files Danish +%defattr(-,root,root,-) +%lang(da) %{tde_datadir}/locale/da/* +%lang(da) %{tde_tdedocdir}/HTML/da/ +%endif + +%if "%( grep -w de <<< '%{KDE_LANGS}' )" != "" +%files German +%defattr(-,root,root,-) +%lang(de) %{tde_datadir}/locale/de/* +%lang(de) %{tde_tdedocdir}/HTML/de/ +%endif + +%if "%( grep -w el <<< '%{KDE_LANGS}' )" != "" +%files Greek +%defattr(-,root,root,-) +%lang(el) %{tde_datadir}/locale/el/* +%endif + +%if "%( grep -w en_GB <<< '%{KDE_LANGS}' )" != "" +%files British +%defattr(-,root,root,-) +%lang(en_GB) %{tde_datadir}/locale/en_GB/* +%lang(en_GB) %{tde_tdedocdir}/HTML/en_GB/ +%endif + +%if "%( grep -w eo <<< '%{KDE_LANGS}' )" != "" +%files Esperanto +%defattr(-,root,root,-) +%lang(eo) %{tde_datadir}/locale/eo/* +%endif + +%if "%( grep -w es <<< '%{KDE_LANGS}' )" != "" +%files Spanish +%defattr(-,root,root,-) +%lang(es) %{tde_datadir}/locale/es/* +%lang(es) %{tde_tdedocdir}/HTML/es/ +%endif + +%if "%( grep -w et <<< '%{KDE_LANGS}' )" != "" +%files Estonian +%defattr(-,root,root,-) +%lang(et) %{tde_datadir}/locale/et/* +%lang(et) %{tde_tdedocdir}/HTML/et/ +%endif + +%if "%( grep -w eu <<< '%{KDE_LANGS}' )" != "" +%files Basque +%defattr(-,root,root,-) +%lang(eu) %{tde_datadir}/locale/eu/* +%endif + +%if "%( grep -w fa <<< '%{KDE_LANGS}' )" != "" +%files Farsi +%defattr(-,root,root,-) +%lang(fa) %{tde_datadir}/locale/fa/* +%endif + +%if "%( grep -w fi <<< '%{KDE_LANGS}' )" != "" +%files Finnish +%defattr(-,root,root,-) +%lang(fi) %{tde_datadir}/locale/fi/* +%lang(fi) %{tde_tdedocdir}/HTML/fi/ +%endif + +%if "%( grep -w fo <<< '%{KDE_LANGS}' )" != "" +%files Faroese +%defattr(-,root,root,-) +%lang(fo) %{tde_datadir}/locale/fo/* +%endif + +%if "%( grep -w fr <<< '%{KDE_LANGS}' )" != "" +%files French +%defattr(-,root,root,-) +%lang(fr) %{tde_datadir}/locale/fr/* +%lang(fr) %{tde_tdedocdir}/HTML/fr/ +%endif + +%if "%( grep -w fy <<< '%{KDE_LANGS}' )" != "" +%files Frisian +%defattr(-,root,root,-) +%lang(fy) %{tde_datadir}/locale/fy/* +%endif + +%if "%( grep -w ga <<< '%{KDE_LANGS}' )" != "" +%files Irish +%defattr(-,root,root,-) +%lang(ga) %{tde_datadir}/locale/ga/* +%endif + +%if "%( grep -w gl <<< '%{KDE_LANGS}' )" != "" +%files Galician +%defattr(-,root,root,-) +%lang(gl) %{tde_datadir}/locale/gl/* +%endif + +%if "%( grep -w he <<< '%{KDE_LANGS}' )" != "" +%files Hebrew +%defattr(-,root,root,-) +%lang(he) %{tde_datadir}/locale/he/* +%lang(he) %{tde_tdedocdir}/HTML/he/ +%endif + +%if "%( grep -w hi <<< '%{KDE_LANGS}' )" != "" +%files Hindi +%defattr(-,root,root,-) +%lang(hi) %{tde_datadir}/locale/hi/* +%endif + +%if "%( grep -w hr <<< '%{KDE_LANGS}' )" != "" +%files Croatian +%defattr(-,root,root,-) +%lang(hr) %{tde_datadir}/locale/hr/* +%lang(hr) %{tde_tdedocdir}/HTML/hr/ +%endif + +%if "%( grep -w hu <<< '%{KDE_LANGS}' )" != "" +%files Hungarian +%defattr(-,root,root,-) +%lang(hu) %{tde_datadir}/locale/hu/* +%lang(hu) %{tde_tdedocdir}/HTML/hu/ +%endif + +%if "%( grep -w id <<< '%{KDE_LANGS}' )" != "" +%files Indonesian +%defattr(-,root,root,-) +%lang(id) %{tde_datadir}/locale/id/* +%lang(id) %{tde_tdedocdir}/HTML/id/ +%endif + +%if "%( grep -w is <<< '%{KDE_LANGS}' )" != "" +%files Icelandic +%defattr(-,root,root,-) +%lang(is) %{tde_datadir}/locale/is/* +%endif + +%if "%( grep -w it <<< '%{KDE_LANGS}' )" != "" +%files Italian +%defattr(-,root,root,-) +%lang(it) %{tde_datadir}/locale/it/* +%lang(it) %{tde_tdedocdir}/HTML/it/ +%endif + +%if "%( grep -w ja <<< '%{KDE_LANGS}' )" != "" +%files Japanese +%defattr(-,root,root,-) +%lang(ja) %{tde_datadir}/locale/ja/* +%lang(ja) %{tde_tdedocdir}/HTML/ja/ +%endif + +%if "%( grep -w ko <<< '%{KDE_LANGS}' )" != "" +%files Korean +%defattr(-,root,root,-) +%lang(ko) %{tde_datadir}/locale/ko/* +%lang(ko) %{tde_tdedocdir}/HTML/ko/ +%endif + +%if "%( grep -w ku <<< '%{KDE_LANGS}' )" != "" +%files Kurdish +%defattr(-,root,root,-) +%lang(ku) %{tde_datadir}/locale/ku/* +%lang(ku) %{tde_tdedocdir}/HTML/ku/ +%endif + +%if "%( grep -w lao <<< '%{KDE_LANGS}' )" != "" +%files Lao +%defattr(-,root,root,-) +%lang(lo) %{tde_datadir}/locale/lo/* +%lang(lo) %{tde_tdedocdir}/HTML/lo/ +%endif + +%if "%( grep -w lt <<< '%{KDE_LANGS}' )" != "" +%files Lithuanian +%defattr(-,root,root,-) +%lang(lt) %{tde_datadir}/locale/lt/* +%endif + +%if "%( grep -w lv <<< '%{KDE_LANGS}' )" != "" +%files Latvian +%defattr(-,root,root,-) +%lang(lv) %{tde_datadir}/locale/lv/* +%endif + +%if "%( grep -w mi <<< '%{KDE_LANGS}' )" != "" +%files Maori +%defattr(-,root,root,-) +%lang(mi) %{tde_datadir}/locale/mi/* +%endif + +%if "%( grep -w mk <<< '%{KDE_LANGS}' )" != "" +%files Macedonian +%defattr(-,root,root,-) +%lang(mk) %{tde_datadir}/locale/mk/* +%endif + +%if "%( grep -w mt <<< '%{KDE_LANGS}' )" != "" +%files Maltese +%defattr(-,root,root,-) +%lang(mt) %{tde_datadir}/locale/mt/* +%endif + +%if "%( grep -w nl <<< '%{KDE_LANGS}' )" != "" +%files Dutch +%defattr(-,root,root,-) +%lang(nl) %{tde_datadir}/locale/nl/* +%lang(nl) %{tde_tdedocdir}/HTML/nl/ +%endif + +%if "%( grep -w nb <<< '%{KDE_LANGS}' )" != "" +%files Norwegian +%defattr(-,root,root,-) +%lang(nb) %{tde_datadir}/locale/nb/* +#%lang(nb) %{tde_tdedocdir}/HTML/nb/ +%endif + +%if "%( grep -w nn <<< '%{KDE_LANGS}' )" != "" +%files Norwegian-Nynorsk +%defattr(-,root,root,-) +%lang(nn) %{tde_datadir}/locale/nn/* +#%lang(nn) %{tde_tdedocdir}/HTML/nn/ +%endif + +%if "%( grep -w oc <<< '%{KDE_LANGS}' )" != "" +%files Occitan +%defattr(-,root,root,-) +%lang(oc) %{tde_datadir}/locale/oc/* +%endif + +%if "%( grep -w pa <<< '%{KDE_LANGS}' )" != "" +%files Punjabi +%defattr(-,root,root,-) +%lang(pa) %{tde_datadir}/locale/pa/* +%endif + +%if "%( grep -w pl <<< '%{KDE_LANGS}' )" != "" +%files Polish +%defattr(-,root,root,-) +%lang(pl) %{tde_datadir}/locale/pl/* +%lang(pl) %{tde_tdedocdir}/HTML/pl/ +%endif + +%if "%( grep -w pt <<< '%{KDE_LANGS}' )" != "" +%files Portuguese +%defattr(-,root,root,-) +%lang(pt) %{tde_datadir}/locale/pt/* +%lang(pt) %{tde_tdedocdir}/HTML/pt/ +%endif + +%if "%( grep -w pt_BR <<< '%{KDE_LANGS}' )" != "" +%files Brazil +%defattr(-,root,root,-) +%lang(pt_BR) %{tde_datadir}/locale/pt_BR/* +%lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/ +%endif + +%if "%( grep -w ro <<< '%{KDE_LANGS}' )" != "" +%files Romanian +%defattr(-,root,root,-) +%lang(ro) %{tde_datadir}/locale/ro/* +%lang(ro) %{tde_tdedocdir}/HTML/ro/ +%endif + +%if "%( grep -w ru <<< '%{KDE_LANGS}' )" != "" +%files Russian +%defattr(-,root,root,-) +%lang(ru) %{tde_datadir}/locale/ru/* +%lang(ru) %{tde_tdedocdir}/HTML/ru/ +%endif + +%if "%( grep -w sk <<< '%{KDE_LANGS}' )" != "" +%files Slovak +%defattr(-,root,root,-) +%lang(sk) %{tde_datadir}/locale/sk/* +%lang(sk) %{tde_tdedocdir}/HTML/sk/ +%endif + +%if "%( grep -w sl <<< '%{KDE_LANGS}' )" != "" +%files Slovenian +%defattr(-,root,root,-) +%lang(sl) %{tde_datadir}/locale/sl/* +%lang(sl) %{tde_tdedocdir}/HTML/sl/ +%endif + +%if "%( grep -w sr <<< '%{KDE_LANGS}' )" != "" +%files Serbian +%defattr(-,root,root,-) +%lang(sr) %{tde_datadir}/locale/sr/* +%lang(sr) %{tde_tdedocdir}/HTML/sr/ +%endif + +%if "%( grep -w sv <<< '%{KDE_LANGS}' )" != "" +%files Swedish +%defattr(-,root,root,-) +%lang(sv) %{tde_datadir}/locale/sv/* +%lang(sv) %{tde_tdedocdir}/HTML/sv/ +%endif + +%if "%( grep -w ta <<< '%{KDE_LANGS}' )" != "" +%files Tamil +%defattr(-,root,root,-) +%lang(ta) %{tde_datadir}/locale/ta/* +%endif + +%if "%( grep -w tg <<< '%{KDE_LANGS}' )" != "" +%files Tajik +%defattr(-,root,root,-) +%lang(tg) %{tde_datadir}/locale/tg/* +%endif + +%if "%( grep -w th <<< '%{KDE_LANGS}' )" != "" +%files Thai +%defattr(-,root,root,-) +%lang(th) %{tde_datadir}/locale/th/* +%endif + +%if "%( grep -w tr <<< '%{KDE_LANGS}' )" != "" +%files Turkish +%defattr(-,root,root,-) +%lang(tr) %{tde_datadir}/locale/tr/* +%lang(tr) %{tde_tdedocdir}/HTML/tr/ +%endif + +%if "%( grep -w uk <<< '%{KDE_LANGS}' )" != "" +%files Ukrainian +%defattr(-,root,root,-) +%lang(uk) %{tde_tdedocdir}/HTML/uk/ +%lang(uk) %{tde_datadir}/locale/uk/* +%endif + +%if "%( grep -w ven <<< '%{KDE_LANGS}' )" != "" +%files Venda +%defattr(-,root,root,-) +%lang(ven) %{tde_datadir}/locale/ven/* +%endif + +%if "%( grep -w vi <<< '%{KDE_LANGS}' )" != "" +%files Vietnamese +%defattr(-,root,root,-) +%lang(vi) %{tde_datadir}/locale/vi/* +%endif + +%if "%( grep -w wa <<< '%{KDE_LANGS}' )" != "" +%files Walloon +%defattr(-,root,root,-) +%lang(wa) %{tde_datadir}/locale/wa/* +%endif + +%if "%( grep -w xh <<< '%{KDE_LANGS}' )" != "" +%files Xhosa +%defattr(-,root,root,-) +%lang(xh) %{tde_datadir}/locale/xh/* +%lang(xh) %{tde_tdedocdir}/HTML/xh/ +%endif + +%if "%( grep -w zh_CN <<< '%{KDE_LANGS}' )" != "" +%files Chinese +%defattr(-,root,root,-) +%lang(zh_CN) %{tde_datadir}/locale/zh_CN/* +%lang(zh_CN) %{tde_tdedocdir}/HTML/zh_CN/ +%endif + +%if "%( grep -w zh_TW <<< '%{KDE_LANGS}' )" != "" +%files Chinese-Big5 +%defattr(-,root,root,-) +%lang(zh_TW) %{tde_datadir}/locale/zh_TW/* +%lang(zh_TW) %{tde_tdedocdir}/HTML/zh_TW/ +%endif + +%changelog +* Wed Aug 15 2012 Francois Andriot - 3.5.13-7 +- Renames to 'trinity-i18n' +- Updates 'zh_TW' translations + +* Sun Dec 18 2011 Francois Andriot - 3.5.13-6 +- Updates French translations (mostly Kickoff Menu related) + +* Sun Dec 04 2011 Francois Andriot - 3.5.13-5 +- Removes 'kde-filesystem" dependancy + +* Fri Nov 26 2011 Francois Andriot - 3.5.13-4 +- Fix HTML directory location + +* Fri Nov 11 2011 Francois Andriot - 3.5.13-3 +- Re-adds missing files 'entry.desktop' +- Updates zh_TW translation, thanks to Wei-Lun Chao + +* Tue Nov 01 2011 Francois Andriot - 3.5.13-2 +- Add missing french translations for TDE 3.5.13 + +* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 +- Initial release for RHEL 6, RHEL 5 and Fedora 15 + +* Sun Dec 19 2010 Francois Andriot - 3.5.13-0 +- Initial version (French language only) +- Based on RHEL SPEC file 'kde-i18n' +- Add 'patch0' to reflect modifications in 'kdesu' from 'kdebase' package +- Import to GIT diff --git a/redhat/tde-i18n/tde-i18n-3.5.13.2.spec b/redhat/tde-i18n/tde-i18n-3.5.13.2.spec new file mode 100644 index 000000000..5aaea6aa3 --- /dev/null +++ b/redhat/tde-i18n/tde-i18n-3.5.13.2.spec @@ -0,0 +1,1284 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdedocdir %{tde_docdir}/tde + +# Builds all supported languages (not unsupported ones) +%if "%{?KDE_LANGS}" == "" +%define KDE_LANGS ar bg bn ca cs da de el en_GB es et fi fr he hi hu is it ja lt nl nb nn pa pl pt pt_BR ro ru sk sl sr sv ta tr uk zh_CN zh_TW +%endif + + +Name: trinity-i18n +Summary: Internationalization support for Trinity +Version: 3.5.13.2 +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +# GFDL, with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. +License: GFDL +Group: User Interface/Desktops +BuildArch: noarch + +# Speed build options +%define debug_package %{nil} +%define __spec_install_post %{nil} +AutoReq: no + +Source0: trinity-tde-i18n-%{version}%{?preversion:~%{preversion}}.tar.gz + +# TDE 3.5.12: Translate 'kdesu' message was modified in 'kdebase' package +Patch0: kde-i18n-kdesu.patch + +# TDE 3.5.12: Translate 'Open Terminal Here' desktop shortcut +Patch1: trinity-kde-i18n-fr-openterminalhere.patch + +# TDE 3.5.13: French translations for new features +Patch2: kde-i18n-3.5.13-add_french_translations.patch + +# TDE 3.5.13: Updated translations for zh_TW, thanks to Wei-Lun Chao ! +Patch3: kde-i18n-zh_TW-3.5.10.patch.gz + +# TDE 3.5.13.2: Updated french translations +Patch4: trinity-tde-i18n-fr-3.5.13.2-updates.patch + +BuildRequires: findutils +BuildRequires: gettext +BuildRequires: trinity-arts-devel >= 3.5.13.2 +BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 + +%description +%{summary}. + +%package Afrikaans +Summary: Afrikaans(af) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-af = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Afrikaans < %{version}-%{release} +Provides: trinity-kde-i18n-Afrikaans = %{version}-%{release} +%description Afrikaans +%{summary}. + +%package Arabic +Summary: Arabic(ar) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ar = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Arabic < %{version}-%{release} +Provides: trinity-kde-i18n-Arabic = %{version}-%{release} +%description Arabic +%{summary}. + +%package Azerbaijani +Summary: Azerbaijani(az) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-az = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Arabic < %{version}-%{release} +Provides: trinity-kde-i18n-Arabic = %{version}-%{release} +%description Azerbaijani +%{summary}. + +%package Belarusian +Summary: Belarusian(be) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-be = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Belarusian < %{version}-%{release} +Provides: trinity-kde-i18n-Belarusian = %{version}-%{release} +%description Belarusian +%{summary}. + +%package Bulgarian +Summary: Bulgarian(bg) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-bg = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Bulgarian < %{version}-%{release} +Provides: trinity-kde-i18n-Bulgarian = %{version}-%{release} +%description Bulgarian +%{summary}. + +%package Bengali +Summary: Bengali(bn) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-bn = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Bengali < %{version}-%{release} +Provides: trinity-kde-i18n-Bengali = %{version}-%{release} +%description Bengali +%{summary}. + +%package Tibetan +Summary: Tibetan(bo) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-bo = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Tibetan < %{version}-%{release} +Provides: trinity-kde-i18n-Tibetan = %{version}-%{release} +%description Tibetan +%{summary}. + +%package Breton +Summary: Breton(br) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-br = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Breton < %{version}-%{release} +Provides: trinity-kde-i18n-Breton = %{version}-%{release} +%description Breton +%{summary}. + +%package Bosnian +Summary: Bosnian(bs) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-bs = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Bosnian < %{version}-%{release} +Provides: trinity-kde-i18n-Bosnian = %{version}-%{release} +%description Bosnian +%{summary}. + +%package Catalan +Summary: Catalan(ca) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ca = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Catalan < %{version}-%{release} +Provides: trinity-kde-i18n-Catalan = %{version}-%{release} +%description Catalan +%{summary}. + +%package Czech +Summary: Czech(cs) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-cs = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Czech < %{version}-%{release} +Provides: trinity-kde-i18n-Czech = %{version}-%{release} +%description Czech +%{summary}. + +%package Cymraeg +Summary: Cymraeg language support for TDE +Group: User Interface/Desktops +Obsoletes: trinity-kde-i18n-Cymraeg < %{version}-%{release} +Provides: trinity-kde-i18n-Cymraeg = %{version}-%{release} +%description Cymraeg +%{summary}. + +%package Welsh +Summary: Welsh(cy) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-cy = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Welsh < %{version}-%{release} +Provides: trinity-kde-i18n-Welsh = %{version}-%{release} +%description Welsh +%{summary}. + +%package Danish +Summary: Danish(da) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-da = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Danish < %{version}-%{release} +Provides: trinity-kde-i18n-Danish = %{version}-%{release} +%description Danish +%{summary}. + +%package German +Summary: German(de) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-de = %{version}-%{release} +Obsoletes: trinity-kde-i18n-German < %{version}-%{release} +Provides: trinity-kde-i18n-German = %{version}-%{release} +%description German +%{summary}. + +%package Greek +Summary: Greek(el) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-el = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Greek < %{version}-%{release} +Provides: trinity-kde-i18n-Greek = %{version}-%{release} +%description Greek +%{summary}. + +%package British +Summary: British(en_GB) English support for TDE +Group: User Interface/Desktops +Provides: %{name}-en_GB = %{version}-%{release} +Obsoletes: trinity-kde-i18n-British < %{version}-%{release} +Provides: trinity-kde-i18n-British = %{version}-%{release} +%description British +%{summary}. + +%package Esperanto +Summary: Esperanto(eo) support for TDE +Group: User Interface/Desktops +Provides: %{name}-eo = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Esperanto < %{version}-%{release} +Provides: trinity-kde-i18n-Esperanto = %{version}-%{release} +%description Esperanto +%{summary}. + +%package Spanish +Summary: Spanish(es) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-es = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Spanish < %{version}-%{release} +Provides: trinity-kde-i18n-Spanish = %{version}-%{release} +%description Spanish +%{summary}. + +%package Estonian +Summary: Estonian(et) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-et = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Estonian < %{version}-%{release} +Provides: trinity-kde-i18n-Estonian = %{version}-%{release} +%description Estonian +%{summary}. + +%package Basque +Summary: Basque(eu) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-eu = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Basque < %{version}-%{release} +Provides: trinity-kde-i18n-Basque = %{version}-%{release} +%description Basque +%{summary}. + +%package Farsi +Summary: Farsi(fa) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-fa = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Farsi < %{version}-%{release} +Provides: trinity-kde-i18n-Farsi = %{version}-%{release} +%description Farsi +%{summary}. + +%package Finnish +Summary: Finnish(fi) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-fi = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Finnish < %{version}-%{release} +Provides: trinity-kde-i18n-Finnish = %{version}-%{release} +%description Finnish +%{summary}. + +%package Faroese +Summary: Faroese(fo) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-fo = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Faroese < %{version}-%{release} +Provides: trinity-kde-i18n-Faroese = %{version}-%{release} +%description Faroese +%{summary}. + +%package French +Summary: French(fr) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-fr = %{version}-%{release} +Obsoletes: trinity-kde-i18n-French < %{version}-%{release} +Provides: trinity-kde-i18n-French = %{version}-%{release} +%description French +%{summary}. + +%package Frisian +Summary: Frisian(fy) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-fy = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Frisian < %{version}-%{release} +Provides: trinity-kde-i18n-Frisian = %{version}-%{release} +%description Frisian +%{summary}. + +%package Irish +Summary: Irish(ga) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ga = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Irish < %{version}-%{release} +Provides: trinity-kde-i18n-Irish = %{version}-%{release} +%description Irish +%{summary}. + +%package Galician +Summary: Galician(gl) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-gl = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Galician < %{version}-%{release} +Provides: trinity-kde-i18n-Galician = %{version}-%{release} +%description Galician +%{summary}. + +%package Hebrew +Summary: Hebrew(he) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-he = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Hebrew < %{version}-%{release} +Provides: trinity-kde-i18n-Hebrew = %{version}-%{release} +%description Hebrew +%{summary}. + +%package Hindi +Summary: Hindi(hi) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-hi = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Hindi < %{version}-%{release} +Provides: trinity-kde-i18n-Hindi = %{version}-%{release} +%description Hindi +%{summary}. + +%package Croatian +Summary: Croatian(hr) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-hr = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Croatian < %{version}-%{release} +Provides: trinity-kde-i18n-Croatian = %{version}-%{release} +%description Croatian +%{summary}. + +%package Hungarian +Summary: Hungarian(hu) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-hu = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Hungarian < %{version}-%{release} +Provides: trinity-kde-i18n-Hungarian = %{version}-%{release} +%description Hungarian +%{summary}. + +%package Indonesian +Summary: Indonesian(id) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-id = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Indonesian < %{version}-%{release} +Provides: trinity-kde-i18n-Indonesian = %{version}-%{release} +%description Indonesian +%{summary}. + +%package Icelandic +Summary: Icelandic(is) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-is = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Icelandic < %{version}-%{release} +Provides: trinity-kde-i18n-Icelandic = %{version}-%{release} +%description Icelandic +%{summary}. + +%package Italian +Summary: Italian(it) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-it = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Italian < %{version}-%{release} +Provides: trinity-kde-i18n-Italian = %{version}-%{release} +%description Italian +%{summary}. + +%package Japanese +Summary: Japanese(ja) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ja = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Japanese < %{version}-%{release} +Provides: trinity-kde-i18n-Japanese = %{version}-%{release} +%description Japanese +%{summary}. + +%package Korean +Summary: Korean(ko) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ko = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Korean < %{version}-%{release} +Provides: trinity-kde-i18n-Korean = %{version}-%{release} +%description Korean +%{summary}. + +%package Kurdish +Summary: Kurdish(ku) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ku = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Kurdish < %{version}-%{release} +Provides: trinity-kde-i18n-Kurdish = %{version}-%{release} +%description Kurdish +%{summary}. + +%package Lao +Summary: Lao(lo) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-lo = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Lao < %{version}-%{release} +Provides: trinity-kde-i18n-Lao = %{version}-%{release} +%description Lao +%{summary}. + +%package Lithuanian +Summary: Lithuanian(lt) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-lt = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Lithuanian < %{version}-%{release} +Provides: trinity-kde-i18n-Lithuanian = %{version}-%{release} +%description Lithuanian +%{summary}. + +%package Latvian +Summary: Latvian(lv) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-lv = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Latvian < %{version}-%{release} +Provides: trinity-kde-i18n-Latvian = %{version}-%{release} +%description Latvian +%{summary}. + +%package Maori +Summary: Maori(mi) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-mi = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Maori < %{version}-%{release} +Provides: trinity-kde-i18n-Maori = %{version}-%{release} +%description Maori +%{summary}. + +%package Macedonian +Summary: Macedonian(mk) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-mk = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Macedonian < %{version}-%{release} +Provides: trinity-kde-i18n-Macedonian = %{version}-%{release} +%description Macedonian +%{summary}. + +%package Maltese +Summary: Maltese(mt) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-mt = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Maltese < %{version}-%{release} +Provides: trinity-kde-i18n-Maltese = %{version}-%{release} +%description Maltese +%{summary}. + +%package Dutch +Summary: Dutch(nl) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-nl = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Dutch < %{version}-%{release} +Provides: trinity-kde-i18n-Dutch = %{version}-%{release} +%description Dutch +%{summary}. + +%package Norwegian +Summary: Norwegian(no) (Bokmaal) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-no = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Norwegian < %{version}-%{release} +Provides: trinity-kde-i18n-Norwegian = %{version}-%{release} +%description Norwegian +%{summary}. + +%package Norwegian-Nynorsk +Summary: Norwegian(nn) (Nynorsk) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-nn = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Norwegian-Nynorsk < %{version}-%{release} +Provides: trinity-kde-i18n-Norwegian-Nynorsk = %{version}-%{release} +%description Norwegian-Nynorsk +%{summary}. + +%package Occitan +Summary: Occitan(oc) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-oc = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Occitan < %{version}-%{release} +Provides: trinity-kde-i18n-Occitan = %{version}-%{release} +%description Occitan +%{summary}. + +%package Polish +Summary: Polish(pl) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-pl = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Polish < %{version}-%{release} +Provides: trinity-kde-i18n-Polish = %{version}-%{release} +%description Polish +%{summary}. + +%package Portuguese +Summary: Portuguese(pt) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-pt = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Portuguese < %{version}-%{release} +Provides: trinity-kde-i18n-Portuguese = %{version}-%{release} +%description Portuguese +%{summary}. + +%package Punjabi +Summary: Punjabi(pa) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-pa = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Punjabi < %{version}-%{release} +Provides: trinity-kde-i18n-Punjabi = %{version}-%{release} +%description Punjabi +%{summary}. + +%package Brazil +Summary: Brazil(pt_BR) Portuguese language support for TDE +Group: User Interface/Desktops +Provides: %{name}-pt_BR = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Brazil < %{version}-%{release} +Provides: trinity-kde-i18n-Brazil = %{version}-%{release} +%description Brazil +%{summary}. + +%package Romanian +Summary: Romanian(ro) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ro = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Romanian < %{version}-%{release} +Provides: trinity-kde-i18n-Romanian = %{version}-%{release} +%description Romanian +%{summary}. + +%package Russian +Summary: Russian(ru) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ru = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Russian < %{version}-%{release} +Provides: trinity-kde-i18n-Russian = %{version}-%{release} +%description Russian +%{summary}. + +%package Slovak +Summary: Slovak(sk) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-sk = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Slovak < %{version}-%{release} +Provides: trinity-kde-i18n-Slovak = %{version}-%{release} +%description Slovak +%{summary}. + +%package Slovenian +Summary: Slovenian(sl) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-sl = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Slovenian < %{version}-%{release} +Provides: trinity-kde-i18n-Slovenian = %{version}-%{release} +%description Slovenian +%{summary}. + +%package Serbian +Summary: Serbian(sr) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-sr = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Serbian < %{version}-%{release} +Provides: trinity-kde-i18n-Serbian = %{version}-%{release} +%description Serbian +%{summary}. + +%package Swedish +Summary: Swedish(sv) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-sv = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Swedish < %{version}-%{release} +Provides: trinity-kde-i18n-Swedish = %{version}-%{release} +%description Swedish +%{summary}. + +%package Tamil +Summary: Tamil(ta) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ta = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Tamil < %{version}-%{release} +Provides: trinity-kde-i18n-Tamil = %{version}-%{release} +%description Tamil +%{summary}. + +%package Tajik +Summary: Tajik(tg) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-tg = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Tajik < %{version}-%{release} +Provides: trinity-kde-i18n-Tajik = %{version}-%{release} +%description Tajik +%{summary}. + +%package Thai +Summary: Thai(th) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-th = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Thai < %{version}-%{release} +Provides: trinity-kde-i18n-Thai = %{version}-%{release} +%description Thai +%{summary}. + +%package Turkish +Summary: Turkish(tr) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-tr = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Turkish < %{version}-%{release} +Provides: trinity-kde-i18n-Turkish = %{version}-%{release} +%description Turkish +%{summary}. + +%package Ukrainian +Summary: Ukrainian(uk) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-uk = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Ukrainian < %{version}-%{release} +Provides: trinity-kde-i18n-Ukrainian = %{version}-%{release} +%description Ukrainian +%{summary}. + +%package Venda +Summary: Venda(ven) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-ven = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Venda < %{version}-%{release} +Provides: trinity-kde-i18n-Venda = %{version}-%{release} +%description Venda +%{summary}. + +%package Vietnamese +Summary: Vietnamese(vi) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-vi = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Vietnamese < %{version}-%{release} +Provides: trinity-kde-i18n-Vietnamese = %{version}-%{release} +%description Vietnamese +%{summary}. + +%package Walloon +Summary: Walloon(wa) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-wa = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Walloon < %{version}-%{release} +Provides: trinity-kde-i18n-Walloon = %{version}-%{release} +%description Walloon +%{summary}. + +%package Xhosa +Summary: Xhosa(xh) (a Bantu language) support for TDE +Group: User Interface/Desktops +Provides: %{name}-xh = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Xhosa < %{version}-%{release} +Provides: trinity-kde-i18n-Xhosa = %{version}-%{release} +%description Xhosa +%{summary}. + +%package Chinese +Summary: Chinese(zh_CN) (Simplified Chinese) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-zh_CN = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Chinese < %{version}-%{release} +Provides: trinity-kde-i18n-Chinese = %{version}-%{release} +%description Chinese +%{summary}. + +%package Chinese-Big5 +Summary: Chinese(zh_TW) (Big5) language support for TDE +Group: User Interface/Desktops +Provides: %{name}-tz_TW = %{version}-%{release} +Obsoletes: trinity-kde-i18n-Chinese-Big5 < %{version}-%{release} +Provides: trinity-kde-i18n-Chinese-Big5 = %{version}-%{release} +%description Chinese-Big5 +%{summary}. + + + +%prep +%setup -q -n trinity-tde-i18n-%{version}%{?preversion:~%{preversion}} + +# Patches for French translations +pushd tde-i18n-fr +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch4 -p1 +popd + +# Patches for Chinese (zh_TW) translations +pushd tde-i18n-zh_TW +zcat %{PATCH3} | patch -p1 || : +popd + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" + + +%build +unset QTDIR; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export KDEDIR=%{tde_prefix} + +export kde_htmldir="%{tde_tdedocdir}/HTML" + +for l in %{KDE_LANGS}; do + for f in tde-i18n-${l}/; do + if [ -d "${f}" ]; then + pushd ${f} + ( + %__sed -i "configure.in" -e "s|AM_CONFIG_HEADER|AC_CONFIG_HEADER|g" + %__make -f "admin/Makefile.common" + %configure \ + --prefix=%{tde_prefix} \ + --datadir=%{tde_datadir} \ + --docdir=%{tde_tdedocdir} + %__make %{?_smp_mflags} + ) & + sleep 3 + popd + fi + done +done + +wait + +%install +%__rm -rf %{?buildroot} +export PATH="%{tde_bindir}:${PATH}" + +for l in %{KDE_LANGS}; do + for f in tde-i18n-${l}/; do + if [ -d "${f}" ] && [ -r "${f}/Makefile" ] ; then + %__make install DESTDIR="%{?buildroot}" -C "${f}" + fi + done +done + +# make symlinks relative +%if "%{tde_prefix}" == "/usr" +pushd "%{buildroot}%{tde_tdedocdir}/HTML" +for lang in *; do + if [ -d "$lang" ]; then + pushd "$lang" + for i in */*/*; do + if [ -d $i -a -L $i/common ]; then + rm -f $i/common + ln -sf ../../../docs/common $i + fi + done + + for i in */*; do + if [ -d $i -a -L $i/common ]; then + rm -f $i/common + ln -sf ../../docs/common $i + fi + done + + for i in *; do + if [ -d $i -a -L $i/common ]; then + rm -f $i/common + ln -sf ../docs/common $i + fi + done + + popd + fi +done +popd +%endif + +# remove zero-length file +find "%{buildroot}%{tde_tdedocdir}/HTML" -size 0 -exec rm -f {} \; + +# See http://fedoraproject.org/wiki/Languages (???) +%__rm -f %{buildroot}%{tde_datadir}/locale/*/flag.png + +# Removes conflict with KDE4 +%if "%{?tde_prefix}" == "/usr" +%__rm -f %{buildroot}%{tde_datadir}/locale/*/entry.desktop +%endif + +# remove obsolete KDE 3 application data translations +%__rm -rf "%{buildroot}%{tde_datadir}/apps" + +%clean +%__rm -rf %{buildroot} + +%if "%( grep -w af <<< '%{KDE_LANGS}' )" != "" +%files Afrikaans +%defattr(-,root,root,-) +%lang(af) %{tde_datadir}/locale/af/* +%lang(af) %{tde_tdedocdir}/HTML/af/ +%endif + +%if "%( grep -w ar <<< '%{KDE_LANGS}' )" != "" +%files Arabic +%defattr(-,root,root,-) +%lang(ar) %{tde_datadir}/locale/ar/* +%endif + +%if "%( grep -w az <<< '%{KDE_LANGS}' )" != "" +%files Azerbaijani +%defattr(-,root,root,-) +%lang(az) %{tde_datadir}/locale/az/* +%endif + +%if "%( grep -w be <<< '%{KDE_LANGS}' )" != "" +%files Belarusian +%defattr(-,root,root,-) +%lang(be) %{tde_datadir}/locale/be/* +%endif + +%if "%( grep -w bg <<< '%{KDE_LANGS}' )" != "" +%files Bulgarian +%defattr(-,root,root,-) +%lang(bg) %{tde_datadir}/locale/bg/* +%endif + +%if "%( grep -w bn <<< '%{KDE_LANGS}' )" != "" +%files Bengali +%defattr(-,root,root,-) +%lang(bn) %{tde_datadir}/locale/bn/* +%endif + +%if "%( grep -w bo <<< '%{KDE_LANGS}' )" != "" +%files Tibetan +%defattr(-,root,root,-) +%lang(bo) %{tde_datadir}/locale/bo/* +%endif + +%if "%( grep -w br <<< '%{KDE_LANGS}' )" != "" +%files Breton +%defattr(-,root,root,-) +%lang(br) %{tde_datadir}/locale/br/* +%endif + +%if "%( grep -w bs <<< '%{KDE_LANGS}' )" != "" +%files Bosnian +%defattr(-,root,root,-) +%lang(bs) %{tde_datadir}/locale/bs/* +%endif + +%if "%( grep -w ca <<< '%{KDE_LANGS}' )" != "" +%files Catalan +%defattr(-,root,root,-) +%lang(ca) %{tde_datadir}/locale/ca/* +%lang(ca) %{tde_tdedocdir}/HTML/ca/ +%endif + +%if "%( grep -w cs <<< '%{KDE_LANGS}' )" != "" +%files Czech +%defattr(-,root,root,-) +%lang(cs) %{tde_datadir}/locale/cs/* +%lang(cs) %{tde_tdedocdir}/HTML/cs/ +%endif + +%if "%( grep -w cy <<< '%{KDE_LANGS}' )" != "" +%files Welsh +%defattr(-,root,root,-) +%lang(cy) %{tde_datadir}/locale/cy/* +%endif + +%if "%( grep -w da <<< '%{KDE_LANGS}' )" != "" +%files Danish +%defattr(-,root,root,-) +%lang(da) %{tde_datadir}/locale/da/* +%lang(da) %{tde_tdedocdir}/HTML/da/ +%endif + +%if "%( grep -w de <<< '%{KDE_LANGS}' )" != "" +%files German +%defattr(-,root,root,-) +%lang(de) %{tde_datadir}/locale/de/* +%lang(de) %{tde_tdedocdir}/HTML/de/ +%endif + +%if "%( grep -w el <<< '%{KDE_LANGS}' )" != "" +%files Greek +%defattr(-,root,root,-) +%lang(el) %{tde_datadir}/locale/el/* +%endif + +%if "%( grep -w en_GB <<< '%{KDE_LANGS}' )" != "" +%files British +%defattr(-,root,root,-) +%lang(en_GB) %{tde_datadir}/locale/en_GB/* +%lang(en_GB) %{tde_tdedocdir}/HTML/en_GB/ +%endif + +%if "%( grep -w eo <<< '%{KDE_LANGS}' )" != "" +%files Esperanto +%defattr(-,root,root,-) +%lang(eo) %{tde_datadir}/locale/eo/* +%endif + +%if "%( grep -w es <<< '%{KDE_LANGS}' )" != "" +%files Spanish +%defattr(-,root,root,-) +%lang(es) %{tde_datadir}/locale/es/* +%lang(es) %{tde_tdedocdir}/HTML/es/ +%endif + +%if "%( grep -w et <<< '%{KDE_LANGS}' )" != "" +%files Estonian +%defattr(-,root,root,-) +%lang(et) %{tde_datadir}/locale/et/* +%lang(et) %{tde_tdedocdir}/HTML/et/ +%endif + +%if "%( grep -w eu <<< '%{KDE_LANGS}' )" != "" +%files Basque +%defattr(-,root,root,-) +%lang(eu) %{tde_datadir}/locale/eu/* +%endif + +%if "%( grep -w fa <<< '%{KDE_LANGS}' )" != "" +%files Farsi +%defattr(-,root,root,-) +%lang(fa) %{tde_datadir}/locale/fa/* +%endif + +%if "%( grep -w fi <<< '%{KDE_LANGS}' )" != "" +%files Finnish +%defattr(-,root,root,-) +%lang(fi) %{tde_datadir}/locale/fi/* +%lang(fi) %{tde_tdedocdir}/HTML/fi/ +%endif + +%if "%( grep -w fo <<< '%{KDE_LANGS}' )" != "" +%files Faroese +%defattr(-,root,root,-) +%lang(fo) %{tde_datadir}/locale/fo/* +%endif + +%if "%( grep -w fr <<< '%{KDE_LANGS}' )" != "" +%files French +%defattr(-,root,root,-) +%lang(fr) %{tde_datadir}/locale/fr/* +%lang(fr) %{tde_tdedocdir}/HTML/fr/ +%endif + +%if "%( grep -w fy <<< '%{KDE_LANGS}' )" != "" +%files Frisian +%defattr(-,root,root,-) +%lang(fy) %{tde_datadir}/locale/fy/* +%endif + +%if "%( grep -w ga <<< '%{KDE_LANGS}' )" != "" +%files Irish +%defattr(-,root,root,-) +%lang(ga) %{tde_datadir}/locale/ga/* +%endif + +%if "%( grep -w gl <<< '%{KDE_LANGS}' )" != "" +%files Galician +%defattr(-,root,root,-) +%lang(gl) %{tde_datadir}/locale/gl/* +%endif + +%if "%( grep -w he <<< '%{KDE_LANGS}' )" != "" +%files Hebrew +%defattr(-,root,root,-) +%lang(he) %{tde_datadir}/locale/he/* +%lang(he) %{tde_tdedocdir}/HTML/he/ +%endif + +%if "%( grep -w hi <<< '%{KDE_LANGS}' )" != "" +%files Hindi +%defattr(-,root,root,-) +%lang(hi) %{tde_datadir}/locale/hi/* +%endif + +%if "%( grep -w hr <<< '%{KDE_LANGS}' )" != "" +%files Croatian +%defattr(-,root,root,-) +%lang(hr) %{tde_datadir}/locale/hr/* +%lang(hr) %{tde_tdedocdir}/HTML/hr/ +%endif + +%if "%( grep -w hu <<< '%{KDE_LANGS}' )" != "" +%files Hungarian +%defattr(-,root,root,-) +%lang(hu) %{tde_datadir}/locale/hu/* +%lang(hu) %{tde_tdedocdir}/HTML/hu/ +%endif + +%if "%( grep -w id <<< '%{KDE_LANGS}' )" != "" +%files Indonesian +%defattr(-,root,root,-) +%lang(id) %{tde_datadir}/locale/id/* +%lang(id) %{tde_tdedocdir}/HTML/id/ +%endif + +%if "%( grep -w is <<< '%{KDE_LANGS}' )" != "" +%files Icelandic +%defattr(-,root,root,-) +%lang(is) %{tde_datadir}/locale/is/* +%endif + +%if "%( grep -w it <<< '%{KDE_LANGS}' )" != "" +%files Italian +%defattr(-,root,root,-) +%lang(it) %{tde_datadir}/locale/it/* +%lang(it) %{tde_tdedocdir}/HTML/it/ +%endif + +%if "%( grep -w ja <<< '%{KDE_LANGS}' )" != "" +%files Japanese +%defattr(-,root,root,-) +%lang(ja) %{tde_datadir}/locale/ja/* +%lang(ja) %{tde_tdedocdir}/HTML/ja/ +%endif + +%if "%( grep -w ko <<< '%{KDE_LANGS}' )" != "" +%files Korean +%defattr(-,root,root,-) +%lang(ko) %{tde_datadir}/locale/ko/* +%lang(ko) %{tde_tdedocdir}/HTML/ko/ +%endif + +%if "%( grep -w ku <<< '%{KDE_LANGS}' )" != "" +%files Kurdish +%defattr(-,root,root,-) +%lang(ku) %{tde_datadir}/locale/ku/* +%lang(ku) %{tde_tdedocdir}/HTML/ku/ +%endif + +%if "%( grep -w lao <<< '%{KDE_LANGS}' )" != "" +%files Lao +%defattr(-,root,root,-) +%lang(lo) %{tde_datadir}/locale/lo/* +%lang(lo) %{tde_tdedocdir}/HTML/lo/ +%endif + +%if "%( grep -w lt <<< '%{KDE_LANGS}' )" != "" +%files Lithuanian +%defattr(-,root,root,-) +%lang(lt) %{tde_datadir}/locale/lt/* +%endif + +%if "%( grep -w lv <<< '%{KDE_LANGS}' )" != "" +%files Latvian +%defattr(-,root,root,-) +%lang(lv) %{tde_datadir}/locale/lv/* +%endif + +%if "%( grep -w mi <<< '%{KDE_LANGS}' )" != "" +%files Maori +%defattr(-,root,root,-) +%lang(mi) %{tde_datadir}/locale/mi/* +%endif + +%if "%( grep -w mk <<< '%{KDE_LANGS}' )" != "" +%files Macedonian +%defattr(-,root,root,-) +%lang(mk) %{tde_datadir}/locale/mk/* +%endif + +%if "%( grep -w mt <<< '%{KDE_LANGS}' )" != "" +%files Maltese +%defattr(-,root,root,-) +%lang(mt) %{tde_datadir}/locale/mt/* +%endif + +%if "%( grep -w nl <<< '%{KDE_LANGS}' )" != "" +%files Dutch +%defattr(-,root,root,-) +%lang(nl) %{tde_datadir}/locale/nl/* +%lang(nl) %{tde_tdedocdir}/HTML/nl/ +%endif + +%if "%( grep -w nb <<< '%{KDE_LANGS}' )" != "" +%files Norwegian +%defattr(-,root,root,-) +%lang(nb) %{tde_datadir}/locale/nb/* +#%lang(nb) %{tde_tdedocdir}/HTML/nb/ +%endif + +%if "%( grep -w nn <<< '%{KDE_LANGS}' )" != "" +%files Norwegian-Nynorsk +%defattr(-,root,root,-) +%lang(nn) %{tde_datadir}/locale/nn/* +#%lang(nn) %{tde_tdedocdir}/HTML/nn/ +%endif + +%if "%( grep -w oc <<< '%{KDE_LANGS}' )" != "" +%files Occitan +%defattr(-,root,root,-) +%lang(oc) %{tde_datadir}/locale/oc/* +%endif + +%if "%( grep -w pa <<< '%{KDE_LANGS}' )" != "" +%files Punjabi +%defattr(-,root,root,-) +%lang(pa) %{tde_datadir}/locale/pa/* +%endif + +%if "%( grep -w pl <<< '%{KDE_LANGS}' )" != "" +%files Polish +%defattr(-,root,root,-) +%lang(pl) %{tde_datadir}/locale/pl/* +%lang(pl) %{tde_tdedocdir}/HTML/pl/ +%endif + +%if "%( grep -w pt <<< '%{KDE_LANGS}' )" != "" +%files Portuguese +%defattr(-,root,root,-) +%lang(pt) %{tde_datadir}/locale/pt/* +%lang(pt) %{tde_tdedocdir}/HTML/pt/ +%endif + +%if "%( grep -w pt_BR <<< '%{KDE_LANGS}' )" != "" +%files Brazil +%defattr(-,root,root,-) +%lang(pt_BR) %{tde_datadir}/locale/pt_BR/* +%lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/ +%endif + +%if "%( grep -w ro <<< '%{KDE_LANGS}' )" != "" +%files Romanian +%defattr(-,root,root,-) +%lang(ro) %{tde_datadir}/locale/ro/* +%lang(ro) %{tde_tdedocdir}/HTML/ro/ +%endif + +%if "%( grep -w ru <<< '%{KDE_LANGS}' )" != "" +%files Russian +%defattr(-,root,root,-) +%lang(ru) %{tde_datadir}/locale/ru/* +%lang(ru) %{tde_tdedocdir}/HTML/ru/ +%endif + +%if "%( grep -w sk <<< '%{KDE_LANGS}' )" != "" +%files Slovak +%defattr(-,root,root,-) +%lang(sk) %{tde_datadir}/locale/sk/* +%lang(sk) %{tde_tdedocdir}/HTML/sk/ +%endif + +%if "%( grep -w sl <<< '%{KDE_LANGS}' )" != "" +%files Slovenian +%defattr(-,root,root,-) +%lang(sl) %{tde_datadir}/locale/sl/* +%lang(sl) %{tde_tdedocdir}/HTML/sl/ +%endif + +%if "%( grep -w sr <<< '%{KDE_LANGS}' )" != "" +%files Serbian +%defattr(-,root,root,-) +%lang(sr) %{tde_datadir}/locale/sr/* +%lang(sr) %{tde_tdedocdir}/HTML/sr/ +%endif + +%if "%( grep -w sv <<< '%{KDE_LANGS}' )" != "" +%files Swedish +%defattr(-,root,root,-) +%lang(sv) %{tde_datadir}/locale/sv/* +%lang(sv) %{tde_tdedocdir}/HTML/sv/ +%endif + +%if "%( grep -w ta <<< '%{KDE_LANGS}' )" != "" +%files Tamil +%defattr(-,root,root,-) +%lang(ta) %{tde_datadir}/locale/ta/* +%endif + +%if "%( grep -w tg <<< '%{KDE_LANGS}' )" != "" +%files Tajik +%defattr(-,root,root,-) +%lang(tg) %{tde_datadir}/locale/tg/* +%endif + +%if "%( grep -w th <<< '%{KDE_LANGS}' )" != "" +%files Thai +%defattr(-,root,root,-) +%lang(th) %{tde_datadir}/locale/th/* +%endif + +%if "%( grep -w tr <<< '%{KDE_LANGS}' )" != "" +%files Turkish +%defattr(-,root,root,-) +%lang(tr) %{tde_datadir}/locale/tr/* +%lang(tr) %{tde_tdedocdir}/HTML/tr/ +%endif + +%if "%( grep -w uk <<< '%{KDE_LANGS}' )" != "" +%files Ukrainian +%defattr(-,root,root,-) +%lang(uk) %{tde_tdedocdir}/HTML/uk/ +%lang(uk) %{tde_datadir}/locale/uk/* +%endif + +%if "%( grep -w ven <<< '%{KDE_LANGS}' )" != "" +%files Venda +%defattr(-,root,root,-) +%lang(ven) %{tde_datadir}/locale/ven/* +%endif + +%if "%( grep -w vi <<< '%{KDE_LANGS}' )" != "" +%files Vietnamese +%defattr(-,root,root,-) +%lang(vi) %{tde_datadir}/locale/vi/* +%endif + +%if "%( grep -w wa <<< '%{KDE_LANGS}' )" != "" +%files Walloon +%defattr(-,root,root,-) +%lang(wa) %{tde_datadir}/locale/wa/* +%endif + +%if "%( grep -w xh <<< '%{KDE_LANGS}' )" != "" +%files Xhosa +%defattr(-,root,root,-) +%lang(xh) %{tde_datadir}/locale/xh/* +%lang(xh) %{tde_tdedocdir}/HTML/xh/ +%endif + +%if "%( grep -w zh_CN <<< '%{KDE_LANGS}' )" != "" +%files Chinese +%defattr(-,root,root,-) +%lang(zh_CN) %{tde_datadir}/locale/zh_CN/* +%lang(zh_CN) %{tde_tdedocdir}/HTML/zh_CN/ +%endif + +%if "%( grep -w zh_TW <<< '%{KDE_LANGS}' )" != "" +%files Chinese-Big5 +%defattr(-,root,root,-) +%lang(zh_TW) %{tde_datadir}/locale/zh_TW/* +%lang(zh_TW) %{tde_tdedocdir}/HTML/zh_TW/ +%endif + +%changelog +* Sat Jan 19 2013 Francois Andriot - 3.5.13.2-1 +- Initial release for TDE 3.5.13.2 + +* Wed Oct 03 2012 Francois Andriot - 3.5.13.1-1 +- Initial build for TDE 3.5.13.1 + +* Wed Aug 15 2012 Francois Andriot - 3.5.13-7 +- Renames to 'trinity-i18n' +- Updates 'zh_TW' translations + +* Sun Dec 18 2011 Francois Andriot - 3.5.13-6 +- Updates French translations (mostly Kickoff Menu related) + +* Sun Dec 04 2011 Francois Andriot - 3.5.13-5 +- Removes 'kde-filesystem" dependancy + +* Fri Nov 25 2011 Francois Andriot - 3.5.13-4 +- Fix HTML directory location + +* Fri Nov 11 2011 Francois Andriot - 3.5.13-3 +- Re-adds missing files 'entry.desktop' +- Updates zh_TW translation, thanks to Wei-Lun Chao + +* Tue Nov 01 2011 Francois Andriot - 3.5.13-2 +- Add missing french translations for TDE 3.5.13 + +* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 +- Initial release for RHEL 6, RHEL 5 and Fedora 15 + +* Sun Dec 19 2010 Francois Andriot - 3.5.13-0 +- Initial version (French language only) +- Based on RHEL SPEC file 'kde-i18n' diff --git a/redhat/tde-i18n/trinity-i18n-3.5.13.1.spec b/redhat/tde-i18n/trinity-i18n-3.5.13.1.spec deleted file mode 100644 index 55a9ffb58..000000000 --- a/redhat/tde-i18n/trinity-i18n-3.5.13.1.spec +++ /dev/null @@ -1,1274 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdedocdir %{tde_docdir}/tde - -# Builds all supported languages (not unsupported ones) -%if "%{?KDE_LANGS}" == "" -%define KDE_LANGS ar bg bn ca cs da de el en_GB es et fi fr he hi hu is it ja lt nl nb nn pa pl pt pt_BR ro ru sk sl sr sv ta tr uk zh_CN zh_TW -%endif - - -Name: trinity-i18n -Summary: Internationalization support for Trinity -Version: 3.5.13.1 -Release: 1%{?dist}%{?_variant} - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -# GFDL, with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. -License: GFDL -Group: User Interface/Desktops -BuildArch: noarch - -# Speed build options -%define debug_package %{nil} -%define __spec_install_post %{nil} -AutoReq: no - -Source0: kde-i18n-%{version}.tar.gz - -# TDE 3.5.12: Translate 'kdesu' message was modified in 'kdebase' package -Patch0: kde-i18n-kdesu.patch - -# TDE 3.5.12: Translate 'Open Terminal Here' desktop shortcut -Patch1: trinity-kde-i18n-fr-openterminalhere.patch - -# TDE 3.5.13: French translations for new features -Patch2: kde-i18n-3.5.13-add_french_translations.patch - -# TDE 3.5.13: Updated translations for zh_TW, thanks to Wei-Lun Chao ! -Patch3: kde-i18n-zh_TW-3.5.10.patch.gz - -BuildRequires: findutils -BuildRequires: gettext -BuildRequires: trinity-arts-devel >= 3.5.13.1 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.1 - -%description -%{summary}. - -%package Afrikaans -Summary: Afrikaans(af) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-af = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Afrikaans < %{version}-%{release} -Provides: trinity-kde-i18n-Afrikaans = %{version}-%{release} -%description Afrikaans -%{summary}. - -%package Arabic -Summary: Arabic(ar) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ar = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Arabic < %{version}-%{release} -Provides: trinity-kde-i18n-Arabic = %{version}-%{release} -%description Arabic -%{summary}. - -%package Azerbaijani -Summary: Azerbaijani(az) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-az = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Arabic < %{version}-%{release} -Provides: trinity-kde-i18n-Arabic = %{version}-%{release} -%description Azerbaijani -%{summary}. - -%package Belarusian -Summary: Belarusian(be) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-be = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Belarusian < %{version}-%{release} -Provides: trinity-kde-i18n-Belarusian = %{version}-%{release} -%description Belarusian -%{summary}. - -%package Bulgarian -Summary: Bulgarian(bg) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-bg = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Bulgarian < %{version}-%{release} -Provides: trinity-kde-i18n-Bulgarian = %{version}-%{release} -%description Bulgarian -%{summary}. - -%package Bengali -Summary: Bengali(bn) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-bn = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Bengali < %{version}-%{release} -Provides: trinity-kde-i18n-Bengali = %{version}-%{release} -%description Bengali -%{summary}. - -%package Tibetan -Summary: Tibetan(bo) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-bo = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Tibetan < %{version}-%{release} -Provides: trinity-kde-i18n-Tibetan = %{version}-%{release} -%description Tibetan -%{summary}. - -%package Breton -Summary: Breton(br) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-br = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Breton < %{version}-%{release} -Provides: trinity-kde-i18n-Breton = %{version}-%{release} -%description Breton -%{summary}. - -%package Bosnian -Summary: Bosnian(bs) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-bs = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Bosnian < %{version}-%{release} -Provides: trinity-kde-i18n-Bosnian = %{version}-%{release} -%description Bosnian -%{summary}. - -%package Catalan -Summary: Catalan(ca) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ca = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Catalan < %{version}-%{release} -Provides: trinity-kde-i18n-Catalan = %{version}-%{release} -%description Catalan -%{summary}. - -%package Czech -Summary: Czech(cs) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-cs = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Czech < %{version}-%{release} -Provides: trinity-kde-i18n-Czech = %{version}-%{release} -%description Czech -%{summary}. - -%package Cymraeg -Summary: Cymraeg language support for TDE -Group: User Interface/Desktops -Obsoletes: trinity-kde-i18n-Cymraeg < %{version}-%{release} -Provides: trinity-kde-i18n-Cymraeg = %{version}-%{release} -%description Cymraeg -%{summary}. - -%package Welsh -Summary: Welsh(cy) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-cy = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Welsh < %{version}-%{release} -Provides: trinity-kde-i18n-Welsh = %{version}-%{release} -%description Welsh -%{summary}. - -%package Danish -Summary: Danish(da) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-da = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Danish < %{version}-%{release} -Provides: trinity-kde-i18n-Danish = %{version}-%{release} -%description Danish -%{summary}. - -%package German -Summary: German(de) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-de = %{version}-%{release} -Obsoletes: trinity-kde-i18n-German < %{version}-%{release} -Provides: trinity-kde-i18n-German = %{version}-%{release} -%description German -%{summary}. - -%package Greek -Summary: Greek(el) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-el = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Greek < %{version}-%{release} -Provides: trinity-kde-i18n-Greek = %{version}-%{release} -%description Greek -%{summary}. - -%package British -Summary: British(en_GB) English support for TDE -Group: User Interface/Desktops -Provides: %{name}-en_GB = %{version}-%{release} -Obsoletes: trinity-kde-i18n-British < %{version}-%{release} -Provides: trinity-kde-i18n-British = %{version}-%{release} -%description British -%{summary}. - -%package Esperanto -Summary: Esperanto(eo) support for TDE -Group: User Interface/Desktops -Provides: %{name}-eo = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Esperanto < %{version}-%{release} -Provides: trinity-kde-i18n-Esperanto = %{version}-%{release} -%description Esperanto -%{summary}. - -%package Spanish -Summary: Spanish(es) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-es = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Spanish < %{version}-%{release} -Provides: trinity-kde-i18n-Spanish = %{version}-%{release} -%description Spanish -%{summary}. - -%package Estonian -Summary: Estonian(et) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-et = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Estonian < %{version}-%{release} -Provides: trinity-kde-i18n-Estonian = %{version}-%{release} -%description Estonian -%{summary}. - -%package Basque -Summary: Basque(eu) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-eu = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Basque < %{version}-%{release} -Provides: trinity-kde-i18n-Basque = %{version}-%{release} -%description Basque -%{summary}. - -%package Farsi -Summary: Farsi(fa) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-fa = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Farsi < %{version}-%{release} -Provides: trinity-kde-i18n-Farsi = %{version}-%{release} -%description Farsi -%{summary}. - -%package Finnish -Summary: Finnish(fi) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-fi = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Finnish < %{version}-%{release} -Provides: trinity-kde-i18n-Finnish = %{version}-%{release} -%description Finnish -%{summary}. - -%package Faroese -Summary: Faroese(fo) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-fo = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Faroese < %{version}-%{release} -Provides: trinity-kde-i18n-Faroese = %{version}-%{release} -%description Faroese -%{summary}. - -%package French -Summary: French(fr) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-fr = %{version}-%{release} -Obsoletes: trinity-kde-i18n-French < %{version}-%{release} -Provides: trinity-kde-i18n-French = %{version}-%{release} -%description French -%{summary}. - -%package Frisian -Summary: Frisian(fy) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-fy = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Frisian < %{version}-%{release} -Provides: trinity-kde-i18n-Frisian = %{version}-%{release} -%description Frisian -%{summary}. - -%package Irish -Summary: Irish(ga) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ga = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Irish < %{version}-%{release} -Provides: trinity-kde-i18n-Irish = %{version}-%{release} -%description Irish -%{summary}. - -%package Galician -Summary: Galician(gl) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-gl = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Galician < %{version}-%{release} -Provides: trinity-kde-i18n-Galician = %{version}-%{release} -%description Galician -%{summary}. - -%package Hebrew -Summary: Hebrew(he) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-he = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Hebrew < %{version}-%{release} -Provides: trinity-kde-i18n-Hebrew = %{version}-%{release} -%description Hebrew -%{summary}. - -%package Hindi -Summary: Hindi(hi) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-hi = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Hindi < %{version}-%{release} -Provides: trinity-kde-i18n-Hindi = %{version}-%{release} -%description Hindi -%{summary}. - -%package Croatian -Summary: Croatian(hr) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-hr = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Croatian < %{version}-%{release} -Provides: trinity-kde-i18n-Croatian = %{version}-%{release} -%description Croatian -%{summary}. - -%package Hungarian -Summary: Hungarian(hu) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-hu = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Hungarian < %{version}-%{release} -Provides: trinity-kde-i18n-Hungarian = %{version}-%{release} -%description Hungarian -%{summary}. - -%package Indonesian -Summary: Indonesian(id) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-id = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Indonesian < %{version}-%{release} -Provides: trinity-kde-i18n-Indonesian = %{version}-%{release} -%description Indonesian -%{summary}. - -%package Icelandic -Summary: Icelandic(is) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-is = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Icelandic < %{version}-%{release} -Provides: trinity-kde-i18n-Icelandic = %{version}-%{release} -%description Icelandic -%{summary}. - -%package Italian -Summary: Italian(it) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-it = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Italian < %{version}-%{release} -Provides: trinity-kde-i18n-Italian = %{version}-%{release} -%description Italian -%{summary}. - -%package Japanese -Summary: Japanese(ja) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ja = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Japanese < %{version}-%{release} -Provides: trinity-kde-i18n-Japanese = %{version}-%{release} -%description Japanese -%{summary}. - -%package Korean -Summary: Korean(ko) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ko = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Korean < %{version}-%{release} -Provides: trinity-kde-i18n-Korean = %{version}-%{release} -%description Korean -%{summary}. - -%package Kurdish -Summary: Kurdish(ku) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ku = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Kurdish < %{version}-%{release} -Provides: trinity-kde-i18n-Kurdish = %{version}-%{release} -%description Kurdish -%{summary}. - -%package Lao -Summary: Lao(lo) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-lo = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Lao < %{version}-%{release} -Provides: trinity-kde-i18n-Lao = %{version}-%{release} -%description Lao -%{summary}. - -%package Lithuanian -Summary: Lithuanian(lt) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-lt = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Lithuanian < %{version}-%{release} -Provides: trinity-kde-i18n-Lithuanian = %{version}-%{release} -%description Lithuanian -%{summary}. - -%package Latvian -Summary: Latvian(lv) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-lv = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Latvian < %{version}-%{release} -Provides: trinity-kde-i18n-Latvian = %{version}-%{release} -%description Latvian -%{summary}. - -%package Maori -Summary: Maori(mi) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-mi = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Maori < %{version}-%{release} -Provides: trinity-kde-i18n-Maori = %{version}-%{release} -%description Maori -%{summary}. - -%package Macedonian -Summary: Macedonian(mk) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-mk = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Macedonian < %{version}-%{release} -Provides: trinity-kde-i18n-Macedonian = %{version}-%{release} -%description Macedonian -%{summary}. - -%package Maltese -Summary: Maltese(mt) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-mt = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Maltese < %{version}-%{release} -Provides: trinity-kde-i18n-Maltese = %{version}-%{release} -%description Maltese -%{summary}. - -%package Dutch -Summary: Dutch(nl) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-nl = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Dutch < %{version}-%{release} -Provides: trinity-kde-i18n-Dutch = %{version}-%{release} -%description Dutch -%{summary}. - -%package Norwegian -Summary: Norwegian(no) (Bokmaal) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-no = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Norwegian < %{version}-%{release} -Provides: trinity-kde-i18n-Norwegian = %{version}-%{release} -%description Norwegian -%{summary}. - -%package Norwegian-Nynorsk -Summary: Norwegian(nn) (Nynorsk) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-nn = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Norwegian-Nynorsk < %{version}-%{release} -Provides: trinity-kde-i18n-Norwegian-Nynorsk = %{version}-%{release} -%description Norwegian-Nynorsk -%{summary}. - -%package Occitan -Summary: Occitan(oc) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-oc = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Occitan < %{version}-%{release} -Provides: trinity-kde-i18n-Occitan = %{version}-%{release} -%description Occitan -%{summary}. - -%package Polish -Summary: Polish(pl) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-pl = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Polish < %{version}-%{release} -Provides: trinity-kde-i18n-Polish = %{version}-%{release} -%description Polish -%{summary}. - -%package Portuguese -Summary: Portuguese(pt) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-pt = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Portuguese < %{version}-%{release} -Provides: trinity-kde-i18n-Portuguese = %{version}-%{release} -%description Portuguese -%{summary}. - -%package Punjabi -Summary: Punjabi(pa) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-pa = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Punjabi < %{version}-%{release} -Provides: trinity-kde-i18n-Punjabi = %{version}-%{release} -%description Punjabi -%{summary}. - -%package Brazil -Summary: Brazil(pt_BR) Portuguese language support for TDE -Group: User Interface/Desktops -Provides: %{name}-pt_BR = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Brazil < %{version}-%{release} -Provides: trinity-kde-i18n-Brazil = %{version}-%{release} -%description Brazil -%{summary}. - -%package Romanian -Summary: Romanian(ro) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ro = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Romanian < %{version}-%{release} -Provides: trinity-kde-i18n-Romanian = %{version}-%{release} -%description Romanian -%{summary}. - -%package Russian -Summary: Russian(ru) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ru = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Russian < %{version}-%{release} -Provides: trinity-kde-i18n-Russian = %{version}-%{release} -%description Russian -%{summary}. - -%package Slovak -Summary: Slovak(sk) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-sk = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Slovak < %{version}-%{release} -Provides: trinity-kde-i18n-Slovak = %{version}-%{release} -%description Slovak -%{summary}. - -%package Slovenian -Summary: Slovenian(sl) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-sl = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Slovenian < %{version}-%{release} -Provides: trinity-kde-i18n-Slovenian = %{version}-%{release} -%description Slovenian -%{summary}. - -%package Serbian -Summary: Serbian(sr) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-sr = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Serbian < %{version}-%{release} -Provides: trinity-kde-i18n-Serbian = %{version}-%{release} -%description Serbian -%{summary}. - -%package Swedish -Summary: Swedish(sv) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-sv = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Swedish < %{version}-%{release} -Provides: trinity-kde-i18n-Swedish = %{version}-%{release} -%description Swedish -%{summary}. - -%package Tamil -Summary: Tamil(ta) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ta = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Tamil < %{version}-%{release} -Provides: trinity-kde-i18n-Tamil = %{version}-%{release} -%description Tamil -%{summary}. - -%package Tajik -Summary: Tajik(tg) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-tg = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Tajik < %{version}-%{release} -Provides: trinity-kde-i18n-Tajik = %{version}-%{release} -%description Tajik -%{summary}. - -%package Thai -Summary: Thai(th) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-th = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Thai < %{version}-%{release} -Provides: trinity-kde-i18n-Thai = %{version}-%{release} -%description Thai -%{summary}. - -%package Turkish -Summary: Turkish(tr) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-tr = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Turkish < %{version}-%{release} -Provides: trinity-kde-i18n-Turkish = %{version}-%{release} -%description Turkish -%{summary}. - -%package Ukrainian -Summary: Ukrainian(uk) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-uk = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Ukrainian < %{version}-%{release} -Provides: trinity-kde-i18n-Ukrainian = %{version}-%{release} -%description Ukrainian -%{summary}. - -%package Venda -Summary: Venda(ven) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ven = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Venda < %{version}-%{release} -Provides: trinity-kde-i18n-Venda = %{version}-%{release} -%description Venda -%{summary}. - -%package Vietnamese -Summary: Vietnamese(vi) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-vi = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Vietnamese < %{version}-%{release} -Provides: trinity-kde-i18n-Vietnamese = %{version}-%{release} -%description Vietnamese -%{summary}. - -%package Walloon -Summary: Walloon(wa) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-wa = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Walloon < %{version}-%{release} -Provides: trinity-kde-i18n-Walloon = %{version}-%{release} -%description Walloon -%{summary}. - -%package Xhosa -Summary: Xhosa(xh) (a Bantu language) support for TDE -Group: User Interface/Desktops -Provides: %{name}-xh = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Xhosa < %{version}-%{release} -Provides: trinity-kde-i18n-Xhosa = %{version}-%{release} -%description Xhosa -%{summary}. - -%package Chinese -Summary: Chinese(zh_CN) (Simplified Chinese) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-zh_CN = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Chinese < %{version}-%{release} -Provides: trinity-kde-i18n-Chinese = %{version}-%{release} -%description Chinese -%{summary}. - -%package Chinese-Big5 -Summary: Chinese(zh_TW) (Big5) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-tz_TW = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Chinese-Big5 < %{version}-%{release} -Provides: trinity-kde-i18n-Chinese-Big5 = %{version}-%{release} -%description Chinese-Big5 -%{summary}. - - - -%prep -%setup -q -n kde-i18n-3.5.13.1 - -# Patches for French translations -pushd tde-i18n-fr -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -popd - -# Patches for Chinese (zh_TW) translations -pushd tde-i18n-zh_TW -%patch3 -p1 -popd - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export KDEDIR=%{tde_prefix} - -export kde_htmldir="%{tde_tdedocdir}/HTML" - -for l in %{KDE_LANGS}; do - for f in tde-i18n-${l}/; do - if [ -d "${f}" ]; then - pushd ${f} - autoreconf -fiv - %__make -f ../admin/Makefile.common - %configure \ - --prefix=%{tde_prefix} \ - --datadir=%{tde_datadir} \ - --docdir=%{tde_tdedocdir} - %__make %{?_smp_mflags} - popd - fi - done -done - -%install -%__rm -rf %{?buildroot} -export PATH="%{tde_bindir}:${PATH}" - -for l in %{KDE_LANGS}; do - for f in tde-i18n-${l}/; do - if [ -d "${f}" ] && [ -r "${f}/Makefile" ] ; then - %__make install DESTDIR="%{?buildroot}" -C "${f}" - fi - done -done - -# make symlinks relative -%if "%{tde_prefix}" == "/usr" -pushd "%{buildroot}%{tde_tdedocdir}/HTML" -for lang in *; do - if [ -d "$lang" ]; then - pushd "$lang" - for i in */*/*; do - if [ -d $i -a -L $i/common ]; then - rm -f $i/common - ln -sf ../../../docs/common $i - fi - done - - for i in */*; do - if [ -d $i -a -L $i/common ]; then - rm -f $i/common - ln -sf ../../docs/common $i - fi - done - - for i in *; do - if [ -d $i -a -L $i/common ]; then - rm -f $i/common - ln -sf ../docs/common $i - fi - done - - popd - fi -done -popd -%endif - -# remove zero-length file -find "%{buildroot}%{tde_tdedocdir}/HTML" -size 0 -exec rm -f {} \; - -# See http://fedoraproject.org/wiki/Languages (???) -%__rm -f %{buildroot}%{tde_datadir}/locale/*/flag.png - -# Removes conflict with KDE4 -%if "%{?tde_prefix}" == "/usr" -%__rm -f %{buildroot}%{tde_datadir}/locale/*/entry.desktop -%endif - -# remove obsolete KDE 3 application data translations -%__rm -rf "%{buildroot}%{tde_datadir}/apps" - -%clean -%__rm -rf %{buildroot} - -%if "%( grep -w af <<< '%{KDE_LANGS}' )" != "" -%files Afrikaans -%defattr(-,root,root,-) -%lang(af) %{tde_datadir}/locale/af/* -%lang(af) %{tde_tdedocdir}/HTML/af/ -%endif - -%if "%( grep -w ar <<< '%{KDE_LANGS}' )" != "" -%files Arabic -%defattr(-,root,root,-) -%lang(ar) %{tde_datadir}/locale/ar/* -%endif - -%if "%( grep -w az <<< '%{KDE_LANGS}' )" != "" -%files Azerbaijani -%defattr(-,root,root,-) -%lang(az) %{tde_datadir}/locale/az/* -%endif - -%if "%( grep -w be <<< '%{KDE_LANGS}' )" != "" -%files Belarusian -%defattr(-,root,root,-) -%lang(be) %{tde_datadir}/locale/be/* -%endif - -%if "%( grep -w bg <<< '%{KDE_LANGS}' )" != "" -%files Bulgarian -%defattr(-,root,root,-) -%lang(bg) %{tde_datadir}/locale/bg/* -%endif - -%if "%( grep -w bn <<< '%{KDE_LANGS}' )" != "" -%files Bengali -%defattr(-,root,root,-) -%lang(bn) %{tde_datadir}/locale/bn/* -%endif - -%if "%( grep -w bo <<< '%{KDE_LANGS}' )" != "" -%files Tibetan -%defattr(-,root,root,-) -%lang(bo) %{tde_datadir}/locale/bo/* -%endif - -%if "%( grep -w br <<< '%{KDE_LANGS}' )" != "" -%files Breton -%defattr(-,root,root,-) -%lang(br) %{tde_datadir}/locale/br/* -%endif - -%if "%( grep -w bs <<< '%{KDE_LANGS}' )" != "" -%files Bosnian -%defattr(-,root,root,-) -%lang(bs) %{tde_datadir}/locale/bs/* -%endif - -%if "%( grep -w ca <<< '%{KDE_LANGS}' )" != "" -%files Catalan -%defattr(-,root,root,-) -%lang(ca) %{tde_datadir}/locale/ca/* -%lang(ca) %{tde_tdedocdir}/HTML/ca/ -%endif - -%if "%( grep -w cs <<< '%{KDE_LANGS}' )" != "" -%files Czech -%defattr(-,root,root,-) -%lang(cs) %{tde_datadir}/locale/cs/* -%lang(cs) %{tde_tdedocdir}/HTML/cs/ -%endif - -%if "%( grep -w cy <<< '%{KDE_LANGS}' )" != "" -%files Welsh -%defattr(-,root,root,-) -%lang(cy) %{tde_datadir}/locale/cy/* -%endif - -%if "%( grep -w da <<< '%{KDE_LANGS}' )" != "" -%files Danish -%defattr(-,root,root,-) -%lang(da) %{tde_datadir}/locale/da/* -%lang(da) %{tde_tdedocdir}/HTML/da/ -%endif - -%if "%( grep -w de <<< '%{KDE_LANGS}' )" != "" -%files German -%defattr(-,root,root,-) -%lang(de) %{tde_datadir}/locale/de/* -%lang(de) %{tde_tdedocdir}/HTML/de/ -%endif - -%if "%( grep -w el <<< '%{KDE_LANGS}' )" != "" -%files Greek -%defattr(-,root,root,-) -%lang(el) %{tde_datadir}/locale/el/* -%endif - -%if "%( grep -w en_GB <<< '%{KDE_LANGS}' )" != "" -%files British -%defattr(-,root,root,-) -%lang(en_GB) %{tde_datadir}/locale/en_GB/* -%lang(en_GB) %{tde_tdedocdir}/HTML/en_GB/ -%endif - -%if "%( grep -w eo <<< '%{KDE_LANGS}' )" != "" -%files Esperanto -%defattr(-,root,root,-) -%lang(eo) %{tde_datadir}/locale/eo/* -%endif - -%if "%( grep -w es <<< '%{KDE_LANGS}' )" != "" -%files Spanish -%defattr(-,root,root,-) -%lang(es) %{tde_datadir}/locale/es/* -%lang(es) %{tde_tdedocdir}/HTML/es/ -%endif - -%if "%( grep -w et <<< '%{KDE_LANGS}' )" != "" -%files Estonian -%defattr(-,root,root,-) -%lang(et) %{tde_datadir}/locale/et/* -%lang(et) %{tde_tdedocdir}/HTML/et/ -%endif - -%if "%( grep -w eu <<< '%{KDE_LANGS}' )" != "" -%files Basque -%defattr(-,root,root,-) -%lang(eu) %{tde_datadir}/locale/eu/* -%endif - -%if "%( grep -w fa <<< '%{KDE_LANGS}' )" != "" -%files Farsi -%defattr(-,root,root,-) -%lang(fa) %{tde_datadir}/locale/fa/* -%endif - -%if "%( grep -w fi <<< '%{KDE_LANGS}' )" != "" -%files Finnish -%defattr(-,root,root,-) -%lang(fi) %{tde_datadir}/locale/fi/* -%lang(fi) %{tde_tdedocdir}/HTML/fi/ -%endif - -%if "%( grep -w fo <<< '%{KDE_LANGS}' )" != "" -%files Faroese -%defattr(-,root,root,-) -%lang(fo) %{tde_datadir}/locale/fo/* -%endif - -%if "%( grep -w fr <<< '%{KDE_LANGS}' )" != "" -%files French -%defattr(-,root,root,-) -%lang(fr) %{tde_datadir}/locale/fr/* -%lang(fr) %{tde_tdedocdir}/HTML/fr/ -%endif - -%if "%( grep -w fy <<< '%{KDE_LANGS}' )" != "" -%files Frisian -%defattr(-,root,root,-) -%lang(fy) %{tde_datadir}/locale/fy/* -%endif - -%if "%( grep -w ga <<< '%{KDE_LANGS}' )" != "" -%files Irish -%defattr(-,root,root,-) -%lang(ga) %{tde_datadir}/locale/ga/* -%endif - -%if "%( grep -w gl <<< '%{KDE_LANGS}' )" != "" -%files Galician -%defattr(-,root,root,-) -%lang(gl) %{tde_datadir}/locale/gl/* -%endif - -%if "%( grep -w he <<< '%{KDE_LANGS}' )" != "" -%files Hebrew -%defattr(-,root,root,-) -%lang(he) %{tde_datadir}/locale/he/* -%lang(he) %{tde_tdedocdir}/HTML/he/ -%endif - -%if "%( grep -w hi <<< '%{KDE_LANGS}' )" != "" -%files Hindi -%defattr(-,root,root,-) -%lang(hi) %{tde_datadir}/locale/hi/* -%endif - -%if "%( grep -w hr <<< '%{KDE_LANGS}' )" != "" -%files Croatian -%defattr(-,root,root,-) -%lang(hr) %{tde_datadir}/locale/hr/* -%lang(hr) %{tde_tdedocdir}/HTML/hr/ -%endif - -%if "%( grep -w hu <<< '%{KDE_LANGS}' )" != "" -%files Hungarian -%defattr(-,root,root,-) -%lang(hu) %{tde_datadir}/locale/hu/* -%lang(hu) %{tde_tdedocdir}/HTML/hu/ -%endif - -%if "%( grep -w id <<< '%{KDE_LANGS}' )" != "" -%files Indonesian -%defattr(-,root,root,-) -%lang(id) %{tde_datadir}/locale/id/* -%lang(id) %{tde_tdedocdir}/HTML/id/ -%endif - -%if "%( grep -w is <<< '%{KDE_LANGS}' )" != "" -%files Icelandic -%defattr(-,root,root,-) -%lang(is) %{tde_datadir}/locale/is/* -%endif - -%if "%( grep -w it <<< '%{KDE_LANGS}' )" != "" -%files Italian -%defattr(-,root,root,-) -%lang(it) %{tde_datadir}/locale/it/* -%lang(it) %{tde_tdedocdir}/HTML/it/ -%endif - -%if "%( grep -w ja <<< '%{KDE_LANGS}' )" != "" -%files Japanese -%defattr(-,root,root,-) -%lang(ja) %{tde_datadir}/locale/ja/* -%lang(ja) %{tde_tdedocdir}/HTML/ja/ -%endif - -%if "%( grep -w ko <<< '%{KDE_LANGS}' )" != "" -%files Korean -%defattr(-,root,root,-) -%lang(ko) %{tde_datadir}/locale/ko/* -%lang(ko) %{tde_tdedocdir}/HTML/ko/ -%endif - -%if "%( grep -w ku <<< '%{KDE_LANGS}' )" != "" -%files Kurdish -%defattr(-,root,root,-) -%lang(ku) %{tde_datadir}/locale/ku/* -%lang(ku) %{tde_tdedocdir}/HTML/ku/ -%endif - -%if "%( grep -w lao <<< '%{KDE_LANGS}' )" != "" -%files Lao -%defattr(-,root,root,-) -%lang(lo) %{tde_datadir}/locale/lo/* -%lang(lo) %{tde_tdedocdir}/HTML/lo/ -%endif - -%if "%( grep -w lt <<< '%{KDE_LANGS}' )" != "" -%files Lithuanian -%defattr(-,root,root,-) -%lang(lt) %{tde_datadir}/locale/lt/* -%endif - -%if "%( grep -w lv <<< '%{KDE_LANGS}' )" != "" -%files Latvian -%defattr(-,root,root,-) -%lang(lv) %{tde_datadir}/locale/lv/* -%endif - -%if "%( grep -w mi <<< '%{KDE_LANGS}' )" != "" -%files Maori -%defattr(-,root,root,-) -%lang(mi) %{tde_datadir}/locale/mi/* -%endif - -%if "%( grep -w mk <<< '%{KDE_LANGS}' )" != "" -%files Macedonian -%defattr(-,root,root,-) -%lang(mk) %{tde_datadir}/locale/mk/* -%endif - -%if "%( grep -w mt <<< '%{KDE_LANGS}' )" != "" -%files Maltese -%defattr(-,root,root,-) -%lang(mt) %{tde_datadir}/locale/mt/* -%endif - -%if "%( grep -w nl <<< '%{KDE_LANGS}' )" != "" -%files Dutch -%defattr(-,root,root,-) -%lang(nl) %{tde_datadir}/locale/nl/* -%lang(nl) %{tde_tdedocdir}/HTML/nl/ -%endif - -%if "%( grep -w nb <<< '%{KDE_LANGS}' )" != "" -%files Norwegian -%defattr(-,root,root,-) -%lang(nb) %{tde_datadir}/locale/nb/* -#%lang(nb) %{tde_tdedocdir}/HTML/nb/ -%endif - -%if "%( grep -w nn <<< '%{KDE_LANGS}' )" != "" -%files Norwegian-Nynorsk -%defattr(-,root,root,-) -%lang(nn) %{tde_datadir}/locale/nn/* -#%lang(nn) %{tde_tdedocdir}/HTML/nn/ -%endif - -%if "%( grep -w oc <<< '%{KDE_LANGS}' )" != "" -%files Occitan -%defattr(-,root,root,-) -%lang(oc) %{tde_datadir}/locale/oc/* -%endif - -%if "%( grep -w pa <<< '%{KDE_LANGS}' )" != "" -%files Punjabi -%defattr(-,root,root,-) -%lang(pa) %{tde_datadir}/locale/pa/* -%endif - -%if "%( grep -w pl <<< '%{KDE_LANGS}' )" != "" -%files Polish -%defattr(-,root,root,-) -%lang(pl) %{tde_datadir}/locale/pl/* -%lang(pl) %{tde_tdedocdir}/HTML/pl/ -%endif - -%if "%( grep -w pt <<< '%{KDE_LANGS}' )" != "" -%files Portuguese -%defattr(-,root,root,-) -%lang(pt) %{tde_datadir}/locale/pt/* -%lang(pt) %{tde_tdedocdir}/HTML/pt/ -%endif - -%if "%( grep -w pt_BR <<< '%{KDE_LANGS}' )" != "" -%files Brazil -%defattr(-,root,root,-) -%lang(pt_BR) %{tde_datadir}/locale/pt_BR/* -%lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/ -%endif - -%if "%( grep -w ro <<< '%{KDE_LANGS}' )" != "" -%files Romanian -%defattr(-,root,root,-) -%lang(ro) %{tde_datadir}/locale/ro/* -%lang(ro) %{tde_tdedocdir}/HTML/ro/ -%endif - -%if "%( grep -w ru <<< '%{KDE_LANGS}' )" != "" -%files Russian -%defattr(-,root,root,-) -%lang(ru) %{tde_datadir}/locale/ru/* -%lang(ru) %{tde_tdedocdir}/HTML/ru/ -%endif - -%if "%( grep -w sk <<< '%{KDE_LANGS}' )" != "" -%files Slovak -%defattr(-,root,root,-) -%lang(sk) %{tde_datadir}/locale/sk/* -%lang(sk) %{tde_tdedocdir}/HTML/sk/ -%endif - -%if "%( grep -w sl <<< '%{KDE_LANGS}' )" != "" -%files Slovenian -%defattr(-,root,root,-) -%lang(sl) %{tde_datadir}/locale/sl/* -%lang(sl) %{tde_tdedocdir}/HTML/sl/ -%endif - -%if "%( grep -w sr <<< '%{KDE_LANGS}' )" != "" -%files Serbian -%defattr(-,root,root,-) -%lang(sr) %{tde_datadir}/locale/sr/* -%lang(sr) %{tde_tdedocdir}/HTML/sr/ -%endif - -%if "%( grep -w sv <<< '%{KDE_LANGS}' )" != "" -%files Swedish -%defattr(-,root,root,-) -%lang(sv) %{tde_datadir}/locale/sv/* -%lang(sv) %{tde_tdedocdir}/HTML/sv/ -%endif - -%if "%( grep -w ta <<< '%{KDE_LANGS}' )" != "" -%files Tamil -%defattr(-,root,root,-) -%lang(ta) %{tde_datadir}/locale/ta/* -%endif - -%if "%( grep -w tg <<< '%{KDE_LANGS}' )" != "" -%files Tajik -%defattr(-,root,root,-) -%lang(tg) %{tde_datadir}/locale/tg/* -%endif - -%if "%( grep -w th <<< '%{KDE_LANGS}' )" != "" -%files Thai -%defattr(-,root,root,-) -%lang(th) %{tde_datadir}/locale/th/* -%endif - -%if "%( grep -w tr <<< '%{KDE_LANGS}' )" != "" -%files Turkish -%defattr(-,root,root,-) -%lang(tr) %{tde_datadir}/locale/tr/* -%lang(tr) %{tde_tdedocdir}/HTML/tr/ -%endif - -%if "%( grep -w uk <<< '%{KDE_LANGS}' )" != "" -%files Ukrainian -%defattr(-,root,root,-) -%lang(uk) %{tde_tdedocdir}/HTML/uk/ -%lang(uk) %{tde_datadir}/locale/uk/* -%endif - -%if "%( grep -w ven <<< '%{KDE_LANGS}' )" != "" -%files Venda -%defattr(-,root,root,-) -%lang(ven) %{tde_datadir}/locale/ven/* -%endif - -%if "%( grep -w vi <<< '%{KDE_LANGS}' )" != "" -%files Vietnamese -%defattr(-,root,root,-) -%lang(vi) %{tde_datadir}/locale/vi/* -%endif - -%if "%( grep -w wa <<< '%{KDE_LANGS}' )" != "" -%files Walloon -%defattr(-,root,root,-) -%lang(wa) %{tde_datadir}/locale/wa/* -%endif - -%if "%( grep -w xh <<< '%{KDE_LANGS}' )" != "" -%files Xhosa -%defattr(-,root,root,-) -%lang(xh) %{tde_datadir}/locale/xh/* -%lang(xh) %{tde_tdedocdir}/HTML/xh/ -%endif - -%if "%( grep -w zh_CN <<< '%{KDE_LANGS}' )" != "" -%files Chinese -%defattr(-,root,root,-) -%lang(zh_CN) %{tde_datadir}/locale/zh_CN/* -%lang(zh_CN) %{tde_tdedocdir}/HTML/zh_CN/ -%endif - -%if "%( grep -w zh_TW <<< '%{KDE_LANGS}' )" != "" -%files Chinese-Big5 -%defattr(-,root,root,-) -%lang(zh_TW) %{tde_datadir}/locale/zh_TW/* -%lang(zh_TW) %{tde_tdedocdir}/HTML/zh_TW/ -%endif - -%changelog -* Wed Oct 03 2012 Francois Andriot - 3.5.13.1-1 -- Initial build for TDE 3.5.13.1 - -* Wed Aug 15 2012 Francois Andriot - 3.5.13-7 -- Renames to 'trinity-i18n' -- Updates 'zh_TW' translations - -* Sun Dec 18 2011 Francois Andriot - 3.5.13-6 -- Updates French translations (mostly Kickoff Menu related) - -* Sun Dec 04 2011 Francois Andriot - 3.5.13-5 -- Removes 'kde-filesystem" dependancy - -* Fri Nov 26 2011 Francois Andriot - 3.5.13-4 -- Fix HTML directory location - -* Fri Nov 11 2011 Francois Andriot - 3.5.13-3 -- Re-adds missing files 'entry.desktop' -- Updates zh_TW translation, thanks to Wei-Lun Chao - -* Tue Nov 01 2011 Francois Andriot - 3.5.13-2 -- Add missing french translations for TDE 3.5.13 - -* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 -- Initial release for RHEL 6, RHEL 5 and Fedora 15 - -* Sun Dec 19 2010 Francois Andriot - 3.5.13-0 -- Initial version (French language only) -- Based on RHEL SPEC file 'kde-i18n' -- Add 'patch0' to reflect modifications in 'kdesu' from 'kdebase' package -- Import to GIT diff --git a/redhat/tde-i18n/trinity-kde-i18n-3.5.12.spec b/redhat/tde-i18n/trinity-kde-i18n-3.5.12.spec deleted file mode 100644 index d9c904423..000000000 --- a/redhat/tde-i18n/trinity-kde-i18n-3.5.12.spec +++ /dev/null @@ -1,1195 +0,0 @@ -# Default version for this component -%if "%{?version}" == "" -%define version 3.5.12 -%endif -%define release 9 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_includedir %{_includedir}/kde -%define tde_libdir %{_libdir}/kde3 - -# Builds all supported languages (not unsupported ones) -%if "%{?KDE_LANGS}" == "" -%define KDE_LANGS ar bg bn ca cs da de el en_GB es et fi fr he hi hu is it ja lt nl nb nn pa pl pt pt_BR ro ru sk sl sr sv ta tr uk zh_CN zh_TW -%endif - - -Name: trinity-kde-i18n -Summary: Internationalization support for Trinity -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -# GFDL, with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. -License: GFDL -Group: User Interface/Desktops -BuildArch: noarch - -# Speed build options -%define debug_package %{nil} -%define __spec_install_post %{nil} -AutoReq: no - -Source0: kde-i18n-%{version}.tar.gz - -# TDE 3.5.12: Translate 'kdesu' message was modified in 'kdebase' package -Patch0: kde-i18n-kdesu.patch - -# TDE 3.5.12: Translate 'Open Terminal Here' desktop shortcut -Patch1: trinity-kde-i18n-fr-openterminalhere.patch - -# TDE 3.5.13: French translations for new features -Patch2: kde-i18n-3.5.13-add_french_translations.patch - -# TDE 3.5.13: Updated translations for zh_TW, thanks to Wei-Lun Chao ! -Patch3: kde-i18n-3.5.13-add_zh_TW_translations.patch - -BuildRequires: findutils -BuildRequires: gettext -BuildRequires: trinity-arts-devel -BuildRequires: trinity-kdelibs-devel - -%description -%{summary}. - -%package Afrikaans -Summary: Afrikaans(af) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-af = %{version}-%{release} -#Requires: kde-filesystem -%description Afrikaans -%{summary}. - -%package Arabic -Summary: Arabic(ar) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-ar = %{version}-%{release} -#Requires: kde-filesystem -%description Arabic -%{summary}. - -%package Azerbaijani -Summary: Azerbaijani(az) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-az = %{version}-%{release} -#Requires: kde-filesystem -%description Azerbaijani -%{summary}. - -%package Belarusian -Summary: Belarusian(be) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-be = %{version}-%{release} -#Requires: kde-filesystem -%description Belarusian -%{summary}. - -%package Bulgarian -Summary: Bulgarian(bg) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-bg = %{version}-%{release} -#Requires: kde-filesystem -%description Bulgarian -%{summary}. - -%package Bengali -Summary: Bengali(bn) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-bn = %{version}-%{release} -#Requires: kde-filesystem -%description Bengali -%{summary}. - -%package Tibetan -Summary: Tibetan(bo) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-bo = %{version}-%{release} -#Requires: kde-filesystem -%description Tibetan -%{summary}. - -%package Breton -Summary: Breton(br) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-br = %{version}-%{release} -#Requires: kde-filesystem -%description Breton -%{summary}. - -%package Bosnian -Summary: Bosnian(bs) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-bs = %{version}-%{release} -#Requires: kde-filesystem -%description Bosnian -%{summary}. - -%package Catalan -Summary: Catalan(ca) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-ca = %{version}-%{release} -#Requires: kde-filesystem -%description Catalan -%{summary}. - -%package Czech -Summary: Czech(cs) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-cs = %{version}-%{release} -#Requires: kde-filesystem -%description Czech -%{summary}. - -%package Cymraeg -Summary: Cymraeg language support for KDE3 -Group: User Interface/Desktops -#Requires: kde-filesystem -%description Cymraeg -%{summary}. - -%package Welsh -Summary: Welsh(cy) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-cy = %{version}-%{release} -#Requires: kde-filesystem -%description Welsh -%{summary}. - -%package Danish -Summary: Danish(da) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-da = %{version}-%{release} -#Requires: kde-filesystem -%description Danish -%{summary}. - -%package German -Summary: German(de) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-de = %{version}-%{release} -#Requires: kde-filesystem -%description German -%{summary}. - -%package Greek -Summary: Greek(el) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-el = %{version}-%{release} -#Requires: kde-filesystem -%description Greek -%{summary}. - -%package British -Summary: British(en_GB) English support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-en_GB = %{version}-%{release} -#Requires: kde-filesystem -%description British -%{summary}. - -%package Esperanto -Summary: Esperanto(eo) support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-eo = %{version}-%{release} -#Requires: kde-filesystem -%description Esperanto -%{summary}. - -%package Spanish -Summary: Spanish(es) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-es = %{version}-%{release} -#Requires: kde-filesystem -%description Spanish -%{summary}. - -%package Estonian -Summary: Estonian(et) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-et = %{version}-%{release} -#Requires: kde-filesystem -%description Estonian -%{summary}. - -%package Basque -Summary: Basque(eu) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-eu = %{version}-%{release} -#Requires: kde-filesystem -%description Basque -%{summary}. - -%package Farsi -Summary: Farsi(fa) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-fa = %{version}-%{release} -#Requires: kde-filesystem -%description Farsi -%{summary}. - -%package Finnish -Summary: Finnish(fi) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-fi = %{version}-%{release} -#Requires: kde-filesystem -%description Finnish -%{summary}. - -%package Faroese -Summary: Faroese(fo) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-fo = %{version}-%{release} -#Requires: kde-filesystem -%description Faroese -%{summary}. - -%package French -Summary: French(fr) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-fr = %{version}-%{release} -#Requires: kde-filesystem -%description French -%{summary}. - -%package Frisian -Summary: Frisian(fy) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-fy = %{version}-%{release} -#Requires: kde-filesystem -%description Frisian -%{summary}. - -%package Irish -Summary: Irish(ga) language support for KDE3 -Group: User Interface/Desktops -Obsoletes: kde-i18n-Gaeilge < %{version} -Provides: %{name}-ga = %{version}-%{release} -#Requires: kde-filesystem -%description Irish -%{summary}. - -%package Galician -Summary: Galician(gl) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-gl = %{version}-%{release} -#Requires: kde-filesystem -%description Galician -%{summary}. - -%package Hebrew -Summary: Hebrew(he) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-he = %{version}-%{release} -#Requires: kde-filesystem -%description Hebrew -%{summary}. - -%package Hindi -Summary: Hindi(hi) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-hi = %{version}-%{release} -#Requires: kde-filesystem -%description Hindi -%{summary}. - -%package Croatian -Summary: Croatian(hr) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-hr = %{version}-%{release} -#Requires: kde-filesystem -%description Croatian -%{summary}. - -%package Hungarian -Summary: Hungarian(hu) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-hu = %{version}-%{release} -#Requires: kde-filesystem -%description Hungarian -%{summary}. - -%package Indonesian -Summary: Indonesian(id) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-id = %{version}-%{release} -#Requires: kde-filesystem -%description Indonesian -%{summary}. - -%package Icelandic -Summary: Icelandic(is) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-is = %{version}-%{release} -#Requires: kde-filesystem -%description Icelandic -%{summary}. - -%package Italian -Summary: Italian(it) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-it = %{version}-%{release} -#Requires: kde-filesystem -%description Italian -%{summary}. - -%package Japanese -Summary: Japanese(ja) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-ja = %{version}-%{release} -#Requires: kde-filesystem -%description Japanese -%{summary}. - -%package Korean -Summary: Korean(ko) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-ko = %{version}-%{release} -#Requires: kde-filesystem -%description Korean -%{summary}. - -%package Kurdish -Summary: Kurdish(ku) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-ku = %{version}-%{release} -#Requires: kde-filesystem -%description Kurdish -%{summary}. - -%package Lao -Summary: Lao(lo) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-lo = %{version}-%{release} -#Requires: kde-filesystem -%description Lao -%{summary}. - -%package Lithuanian -Summary: Lithuanian(lt) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-lt = %{version}-%{release} -#Requires: kde-filesystem -%description Lithuanian -%{summary}. - -%package Latvian -Summary: Latvian(lv) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-lv = %{version}-%{release} -#Requires: kde-filesystem -%description Latvian -%{summary}. - -%package Maori -Summary: Maori(mi) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-mi = %{version}-%{release} -#Requires: kde-filesystem -%description Maori -%{summary}. - -%package Macedonian -Summary: Macedonian(mk) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-mk = %{version}-%{release} -#Requires: kde-filesystem -%description Macedonian -%{summary}. - -%package Maltese -Summary: Maltese(mt) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-mt = %{version}-%{release} -#Requires: kde-filesystem -%description Maltese -%{summary}. - -%package Dutch -Summary: Dutch(nl) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-nl = %{version}-%{release} -#Requires: kde-filesystem -%description Dutch -%{summary}. - -%package Norwegian -Summary: Norwegian(no) (Bokmaal) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-no = %{version}-%{release} -#Requires: kde-filesystem -%description Norwegian -%{summary}. - -%package Norwegian-Nynorsk -Summary: Norwegian(nn) (Nynorsk) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-nn = %{version}-%{release} -#Requires: kde-filesystem -%description Norwegian-Nynorsk -%{summary}. - -%package Occitan -Summary: Occitan(oc) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-oc = %{version}-%{release} -#Requires: kde-filesystem -%description Occitan -%{summary}. - -%package Polish -Summary: Polish(pl) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-pl = %{version}-%{release} -#Requires: kde-filesystem -%description Polish -%{summary}. - -%package Portuguese -Summary: Portuguese(pt) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-pt = %{version}-%{release} -#Requires: kde-filesystem -%description Portuguese -%{summary}. - -%package Punjabi -Summary: Punjabi(pa) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-pa = %{version}-%{release} -#Requires: kde-filesystem -%description Punjabi -%{summary}. - -%package Brazil -Summary: Brazil(pt_BR) Portuguese language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-pt_BR = %{version}-%{release} -#Requires: kde-filesystem -%description Brazil -%{summary}. - -%package Romanian -Summary: Romanian(ro) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-ro = %{version}-%{release} -#Requires: kde-filesystem -%description Romanian -%{summary}. - -%package Russian -Summary: Russian(ru) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-ru = %{version}-%{release} -#Requires: kde-filesystem -%description Russian -%{summary}. - -%package Slovak -Summary: Slovak(sk) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-sk = %{version}-%{release} -#Requires: kde-filesystem -%description Slovak -%{summary}. - -%package Slovenian -Summary: Slovenian(sl) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-sl = %{version}-%{release} -#Requires: kde-filesystem -%description Slovenian -%{summary}. - -%package Serbian -Summary: Serbian(sr) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-sr = %{version}-%{release} -#Requires: kde-filesystem -%description Serbian -%{summary}. - -%package Swedish -Summary: Swedish(sv) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-sv = %{version}-%{release} -#Requires: kde-filesystem -%description Swedish -%{summary}. - -%package Tamil -Summary: Tamil(ta) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-ta = %{version}-%{release} -#Requires: kde-filesystem -%description Tamil -%{summary}. - -%package Tajik -Summary: Tajik(tg) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-tg = %{version}-%{release} -#Requires: kde-filesystem -%description Tajik -%{summary}. - -%package Thai -Summary: Thai(th) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-th = %{version}-%{release} -#Requires: kde-filesystem -%description Thai -%{summary}. - -%package Turkish -Summary: Turkish(tr) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-tr = %{version}-%{release} -#Requires: kde-filesystem -%description Turkish -%{summary}. - -%package Ukrainian -Summary: Ukrainian(uk) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-uk = %{version}-%{release} -#Requires: kde-filesystem -%description Ukrainian -%{summary}. - -%package Venda -Summary: Venda(ven) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-ven = %{version}-%{release} -#Requires: kde-filesystem -%description Venda -%{summary}. - -%package Vietnamese -Summary: Vietnamese(vi) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-vi = %{version}-%{release} -#Requires: kde-filesystem -%description Vietnamese -%{summary}. - -%package Walloon -Summary: Walloon(wa) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-wa = %{version}-%{release} -#Requires: kde-filesystem -%description Walloon -%{summary}. - -%package Xhosa -Summary: Xhosa(xh) (a Bantu language) support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-xh = %{version}-%{release} -#Requires: kde-filesystem -%description Xhosa -%{summary}. - -%package Chinese -Summary: Chinese(zh_CN) (Simplified Chinese) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-zh_CN = %{version}-%{release} -#Requires: kde-filesystem -%description Chinese -%{summary}. - -%package Chinese-Big5 -Summary: Chinese(zh_TW) (Big5) language support for KDE3 -Group: User Interface/Desktops -Provides: %{name}-tz_TW = %{version}-%{release} -#Requires: kde-filesystem -%description Chinese-Big5 -%{summary}. - - - -%prep -%setup -q -n kde-i18n - -for l in %{KDE_LANGS}; do - for f in kde-i18n-${l}-*.tar.bz2; do - tar xjf "${f}" - done -done - -%patch0 -%patch1 -%patch2 -p0 -%patch3 -p0 - - -%build -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -export kde_htmldir="%{tde_docdir}/HTML" - -for l in %{KDE_LANGS}; do - for f in kde-i18n-${l}-*/; do - if [ -d "${f}" ] && [ -x "${f}/configure" ] ; then - pushd ${f} - %configure - %__make %{?_smp_mflags} - popd - fi - done -done - -%install -%__rm -rf %{?buildroot} -export PATH="%{_bindir}:${PATH}" - -for l in %{KDE_LANGS}; do - for f in kde-i18n-${l}-*/; do - if [ -d "${f}" ] && [ -r "${f}/Makefile" ] ; then - %__make install DESTDIR="%{?buildroot}" -C "${f}" - fi - done -done - -# make symlinks relative -%if "%{_prefix}" == "/usr" -pushd "%{buildroot}%{tde_docdir}/HTML" -for lang in *; do - if [ -d "$lang" ]; then - pushd "$lang" - for i in */*/*; do - if [ -d $i -a -L $i/common ]; then - rm -f $i/common - ln -sf ../../../docs/common $i - fi - done - - for i in */*; do - if [ -d $i -a -L $i/common ]; then - rm -f $i/common - ln -sf ../../docs/common $i - fi - done - - for i in *; do - if [ -d $i -a -L $i/common ]; then - rm -f $i/common - ln -sf ../docs/common $i - fi - done - - popd - fi -done -popd -%endif - -# remove zero-length file -find "%{buildroot}%{tde_docdir}/HTML" -size 0 -exec rm -f {} \; - -# See http://fedoraproject.org/wiki/Languages (???) -%__rm -f %{buildroot}%{_datadir}/locale/*/flag.png - -# Removes conflict with KDE4 -%if "%{?_prefix}" == "/usr" -%__rm -f %{buildroot}%{_datadir}/locale/*/entry.desktop -%endif - -# remove obsolete KDE 3 application data translations -%__rm -rf "%{buildroot}%{_datadir}/apps" - -%clean -%__rm -rf %{buildroot} - -%if "%( grep -w af <<< '%{KDE_LANGS}' )" != "" -%files Afrikaans -%defattr(-,root,root,-) -%lang(af) %{_datadir}/locale/af/* -%lang(af) %{tde_docdir}/HTML/af/ -%endif - -%if "%( grep -w ar <<< '%{KDE_LANGS}' )" != "" -%files Arabic -%defattr(-,root,root,-) -%lang(ar) %{_datadir}/locale/ar/* -%endif - -%if "%( grep -w az <<< '%{KDE_LANGS}' )" != "" -%files Azerbaijani -%defattr(-,root,root,-) -%lang(az) %{_datadir}/locale/az/* -%endif - -%if "%( grep -w be <<< '%{KDE_LANGS}' )" != "" -%files Belarusian -%defattr(-,root,root,-) -%lang(be) %{_datadir}/locale/be/* -%endif - -%if "%( grep -w bg <<< '%{KDE_LANGS}' )" != "" -%files Bulgarian -%defattr(-,root,root,-) -%lang(bg) %{_datadir}/locale/bg/* -%endif - -%if "%( grep -w bn <<< '%{KDE_LANGS}' )" != "" -%files Bengali -%defattr(-,root,root,-) -%lang(bn) %{_datadir}/locale/bn/* -%endif - -%if "%( grep -w bo <<< '%{KDE_LANGS}' )" != "" -%files Tibetan -%defattr(-,root,root,-) -%lang(bo) %{_datadir}/locale/bo/* -%endif - -%if "%( grep -w br <<< '%{KDE_LANGS}' )" != "" -%files Breton -%defattr(-,root,root,-) -%lang(br) %{_datadir}/locale/br/* -%endif - -%if "%( grep -w bs <<< '%{KDE_LANGS}' )" != "" -%files Bosnian -%defattr(-,root,root,-) -%lang(bs) %{_datadir}/locale/bs/* -%endif - -%if "%( grep -w ca <<< '%{KDE_LANGS}' )" != "" -%files Catalan -%defattr(-,root,root,-) -%lang(ca) %{_datadir}/locale/ca/* -%lang(ca) %{tde_docdir}/HTML/ca/ -%endif - -%if "%( grep -w cs <<< '%{KDE_LANGS}' )" != "" -%files Czech -%defattr(-,root,root,-) -%lang(cs) %{_datadir}/locale/cs/* -%lang(cs) %{tde_docdir}/HTML/cs/ -%endif - -%if "%( grep -w cy <<< '%{KDE_LANGS}' )" != "" -%files Welsh -%defattr(-,root,root,-) -%lang(cy) %{_datadir}/locale/cy/* -%endif - -%if "%( grep -w da <<< '%{KDE_LANGS}' )" != "" -%files Danish -%defattr(-,root,root,-) -%lang(da) %{_datadir}/locale/da/* -%lang(da) %{tde_docdir}/HTML/da/ -%endif - -%if "%( grep -w de <<< '%{KDE_LANGS}' )" != "" -%files German -%defattr(-,root,root,-) -%lang(de) %{_datadir}/locale/de/* -%lang(de) %{tde_docdir}/HTML/de/ -%endif - -%if "%( grep -w el <<< '%{KDE_LANGS}' )" != "" -%files Greek -%defattr(-,root,root,-) -%lang(el) %{_datadir}/locale/el/* -%endif - -%if "%( grep -w en_GB <<< '%{KDE_LANGS}' )" != "" -%files British -%defattr(-,root,root,-) -%lang(en_GB) %{_datadir}/locale/en_GB/* -%lang(en_GB) %{tde_docdir}/HTML/en_GB/ -%endif - -%if "%( grep -w eo <<< '%{KDE_LANGS}' )" != "" -%files Esperanto -%defattr(-,root,root,-) -%lang(eo) %{_datadir}/locale/eo/* -%endif - -%if "%( grep -w es <<< '%{KDE_LANGS}' )" != "" -%files Spanish -%defattr(-,root,root,-) -%lang(es) %{_datadir}/locale/es/* -%lang(es) %{tde_docdir}/HTML/es/ -%endif - -%if "%( grep -w et <<< '%{KDE_LANGS}' )" != "" -%files Estonian -%defattr(-,root,root,-) -%lang(et) %{_datadir}/locale/et/* -%lang(et) %{tde_docdir}/HTML/et/ -%endif - -%if "%( grep -w eu <<< '%{KDE_LANGS}' )" != "" -%files Basque -%defattr(-,root,root,-) -%lang(eu) %{_datadir}/locale/eu/* -%endif - -%if "%( grep -w fa <<< '%{KDE_LANGS}' )" != "" -%files Farsi -%defattr(-,root,root,-) -%lang(fa) %{_datadir}/locale/fa/* -%endif - -%if "%( grep -w fi <<< '%{KDE_LANGS}' )" != "" -%files Finnish -%defattr(-,root,root,-) -%lang(fi) %{_datadir}/locale/fi/* -%lang(fi) %{tde_docdir}/HTML/fi/ -%endif - -%if "%( grep -w fo <<< '%{KDE_LANGS}' )" != "" -%files Faroese -%defattr(-,root,root,-) -%lang(fo) %{_datadir}/locale/fo/* -%endif - -%if "%( grep -w fr <<< '%{KDE_LANGS}' )" != "" -%files French -%defattr(-,root,root,-) -%lang(fr) %{_datadir}/locale/fr/* -%lang(fr) %{tde_docdir}/HTML/fr/ -%endif - -%if "%( grep -w fy <<< '%{KDE_LANGS}' )" != "" -%files Frisian -%defattr(-,root,root,-) -%lang(fy) %{_datadir}/locale/fy/* -%endif - -%if "%( grep -w ga <<< '%{KDE_LANGS}' )" != "" -%files Irish -%defattr(-,root,root,-) -%lang(ga) %{_datadir}/locale/ga/* -%endif - -%if "%( grep -w gl <<< '%{KDE_LANGS}' )" != "" -%files Galician -%defattr(-,root,root,-) -%lang(gl) %{_datadir}/locale/gl/* -%endif - -%if "%( grep -w he <<< '%{KDE_LANGS}' )" != "" -%files Hebrew -%defattr(-,root,root,-) -%lang(he) %{_datadir}/locale/he/* -%lang(he) %{tde_docdir}/HTML/he/ -%endif - -%if "%( grep -w hi <<< '%{KDE_LANGS}' )" != "" -%files Hindi -%defattr(-,root,root,-) -%lang(hi) %{_datadir}/locale/hi/* -%endif - -%if "%( grep -w hr <<< '%{KDE_LANGS}' )" != "" -%files Croatian -%defattr(-,root,root,-) -%lang(hr) %{_datadir}/locale/hr/* -%lang(hr) %{tde_docdir}/HTML/hr/ -%endif - -%if "%( grep -w hu <<< '%{KDE_LANGS}' )" != "" -%files Hungarian -%defattr(-,root,root,-) -%lang(hu) %{_datadir}/locale/hu/* -%lang(hu) %{tde_docdir}/HTML/hu/ -%endif - -%if "%( grep -w id <<< '%{KDE_LANGS}' )" != "" -%files Indonesian -%defattr(-,root,root,-) -%lang(id) %{_datadir}/locale/id/* -%lang(id) %{tde_docdir}/HTML/id/ -%endif - -%if "%( grep -w is <<< '%{KDE_LANGS}' )" != "" -%files Icelandic -%defattr(-,root,root,-) -%lang(is) %{_datadir}/locale/is/* -%endif - -%if "%( grep -w it <<< '%{KDE_LANGS}' )" != "" -%files Italian -%defattr(-,root,root,-) -%lang(it) %{_datadir}/locale/it/* -%lang(it) %{tde_docdir}/HTML/it/ -%endif - -%if "%( grep -w ja <<< '%{KDE_LANGS}' )" != "" -%files Japanese -%defattr(-,root,root,-) -%lang(ja) %{_datadir}/locale/ja/* -%lang(ja) %{tde_docdir}/HTML/ja/ -%endif - -%if "%( grep -w ko <<< '%{KDE_LANGS}' )" != "" -%files Korean -%defattr(-,root,root,-) -%lang(ko) %{_datadir}/locale/ko/* -%lang(ko) %{tde_docdir}/HTML/ko/ -%endif - -%if "%( grep -w ku <<< '%{KDE_LANGS}' )" != "" -%files Kurdish -%defattr(-,root,root,-) -%lang(ku) %{_datadir}/locale/ku/* -%lang(ku) %{tde_docdir}/HTML/ku/ -%endif - -%if "%( grep -w lao <<< '%{KDE_LANGS}' )" != "" -%files Lao -%defattr(-,root,root,-) -%lang(lo) %{_datadir}/locale/lo/* -%lang(lo) %{tde_docdir}/HTML/lo/ -%endif - -%if "%( grep -w lt <<< '%{KDE_LANGS}' )" != "" -%files Lithuanian -%defattr(-,root,root,-) -%lang(lt) %{_datadir}/locale/lt/* -%endif - -%if "%( grep -w lv <<< '%{KDE_LANGS}' )" != "" -%files Latvian -%defattr(-,root,root,-) -%lang(lv) %{_datadir}/locale/lv/* -%endif - -%if "%( grep -w mi <<< '%{KDE_LANGS}' )" != "" -%files Maori -%defattr(-,root,root,-) -%lang(mi) %{_datadir}/locale/mi/* -%endif - -%if "%( grep -w mk <<< '%{KDE_LANGS}' )" != "" -%files Macedonian -%defattr(-,root,root,-) -%lang(mk) %{_datadir}/locale/mk/* -%endif - -%if "%( grep -w mt <<< '%{KDE_LANGS}' )" != "" -%files Maltese -%defattr(-,root,root,-) -%lang(mt) %{_datadir}/locale/mt/* -%endif - -%if "%( grep -w nl <<< '%{KDE_LANGS}' )" != "" -%files Dutch -%defattr(-,root,root,-) -%lang(nl) %{_datadir}/locale/nl/* -%lang(nl) %{tde_docdir}/HTML/nl/ -%endif - -%if "%( grep -w nb <<< '%{KDE_LANGS}' )" != "" -%files Norwegian -%defattr(-,root,root,-) -%lang(nb) %{_datadir}/locale/nb/* -#%lang(nb) %{tde_docdir}/HTML/nb/ -%endif - -%if "%( grep -w nn <<< '%{KDE_LANGS}' )" != "" -%files Norwegian-Nynorsk -%defattr(-,root,root,-) -%lang(nn) %{_datadir}/locale/nn/* -#%lang(nn) %{tde_docdir}/HTML/nn/ -%endif - -%if "%( grep -w oc <<< '%{KDE_LANGS}' )" != "" -%files Occitan -%defattr(-,root,root,-) -%lang(oc) %{_datadir}/locale/oc/* -%endif - -%if "%( grep -w pa <<< '%{KDE_LANGS}' )" != "" -%files Punjabi -%defattr(-,root,root,-) -%lang(pa) %{_datadir}/locale/pa/* -%endif - -%if "%( grep -w pl <<< '%{KDE_LANGS}' )" != "" -%files Polish -%defattr(-,root,root,-) -%lang(pl) %{_datadir}/locale/pl/* -%lang(pl) %{tde_docdir}/HTML/pl/ -%endif - -%if "%( grep -w pt <<< '%{KDE_LANGS}' )" != "" -%files Portuguese -%defattr(-,root,root,-) -%lang(pt) %{_datadir}/locale/pt/* -%lang(pt) %{tde_docdir}/HTML/pt/ -%endif - -%if "%( grep -w pt_BR <<< '%{KDE_LANGS}' )" != "" -%files Brazil -%defattr(-,root,root,-) -%lang(pt_BR) %{_datadir}/locale/pt_BR/* -%lang(pt_BR) %{tde_docdir}/HTML/pt_BR/ -%endif - -%if "%( grep -w ro <<< '%{KDE_LANGS}' )" != "" -%files Romanian -%defattr(-,root,root,-) -%lang(ro) %{_datadir}/locale/ro/* -%lang(ro) %{tde_docdir}/HTML/ro/ -%endif - -%if "%( grep -w ru <<< '%{KDE_LANGS}' )" != "" -%files Russian -%defattr(-,root,root,-) -%lang(ru) %{_datadir}/locale/ru/* -%lang(ru) %{tde_docdir}/HTML/ru/ -%endif - -%if "%( grep -w sk <<< '%{KDE_LANGS}' )" != "" -%files Slovak -%defattr(-,root,root,-) -%lang(sk) %{_datadir}/locale/sk/* -%lang(sk) %{tde_docdir}/HTML/sk/ -%endif - -%if "%( grep -w sl <<< '%{KDE_LANGS}' )" != "" -%files Slovenian -%defattr(-,root,root,-) -%lang(sl) %{_datadir}/locale/sl/* -%lang(sl) %{tde_docdir}/HTML/sl/ -%endif - -%if "%( grep -w sr <<< '%{KDE_LANGS}' )" != "" -%files Serbian -%defattr(-,root,root,-) -%lang(sr) %{_datadir}/locale/sr/* -%lang(sr) %{tde_docdir}/HTML/sr/ -%endif - -%if "%( grep -w sv <<< '%{KDE_LANGS}' )" != "" -%files Swedish -%defattr(-,root,root,-) -%lang(sv) %{_datadir}/locale/sv/* -%lang(sv) %{tde_docdir}/HTML/sv/ -%endif - -%if "%( grep -w ta <<< '%{KDE_LANGS}' )" != "" -%files Tamil -%defattr(-,root,root,-) -%lang(ta) %{_datadir}/locale/ta/* -%endif - -%if "%( grep -w tg <<< '%{KDE_LANGS}' )" != "" -%files Tajik -%defattr(-,root,root,-) -%lang(tg) %{_datadir}/locale/tg/* -%endif - -%if "%( grep -w th <<< '%{KDE_LANGS}' )" != "" -%files Thai -%defattr(-,root,root,-) -%lang(th) %{_datadir}/locale/th/* -%endif - -%if "%( grep -w tr <<< '%{KDE_LANGS}' )" != "" -%files Turkish -%defattr(-,root,root,-) -%lang(tr) %{_datadir}/locale/tr/* -%lang(tr) %{tde_docdir}/HTML/tr/ -%endif - -%if "%( grep -w uk <<< '%{KDE_LANGS}' )" != "" -%files Ukrainian -%defattr(-,root,root,-) -%lang(uk) %{tde_docdir}/HTML/uk/ -%lang(uk) %{_datadir}/locale/uk/* -%endif - -%if "%( grep -w ven <<< '%{KDE_LANGS}' )" != "" -%files Venda -%defattr(-,root,root,-) -%lang(ven) %{_datadir}/locale/ven/* -%endif - -%if "%( grep -w vi <<< '%{KDE_LANGS}' )" != "" -%files Vietnamese -%defattr(-,root,root,-) -%lang(vi) %{_datadir}/locale/vi/* -%endif - -%if "%( grep -w wa <<< '%{KDE_LANGS}' )" != "" -%files Walloon -%defattr(-,root,root,-) -%lang(wa) %{_datadir}/locale/wa/* -%endif - -%if "%( grep -w xh <<< '%{KDE_LANGS}' )" != "" -%files Xhosa -%defattr(-,root,root,-) -%lang(xh) %{_datadir}/locale/xh/* -%lang(xh) %{tde_docdir}/HTML/xh/ -%endif - -%if "%( grep -w zh_CN <<< '%{KDE_LANGS}' )" != "" -%files Chinese -%defattr(-,root,root,-) -%lang(zh_CN) %{_datadir}/locale/zh_CN/* -%lang(zh_CN) %{tde_docdir}/HTML/zh_CN/ -%endif - -%if "%( grep -w zh_TW <<< '%{KDE_LANGS}' )" != "" -%files Chinese-Big5 -%defattr(-,root,root,-) -%lang(zh_TW) %{_datadir}/locale/zh_TW/* -%lang(zh_TW) %{tde_docdir}/HTML/zh_TW/ -%endif - -%changelog -* Sun Dec 18 2011 Francois Andriot - 3.5.13-9 -- Updates French translations (mostly Kickoff Menu related) - -* Fri Dec 09 2011 Francois Andriot - 3.5.12-8 -- Backport from TDE 3.5.13 -- Removes 'kde-filesystem" dependancy -- Fix HTML directory location -- Re-adds missing files 'entry.desktop' -- Updates zh_TW translation, thanks to Wei-Lun Chao -- Add missing french translations for TDE 3.5.13 - -* Mon Sep 19 2011 Francois Andriot - 3.5.12-7 -- Add support for RHEL5 - -* Sun Sep 11 2011 Francois Andriot - 3.5.12-6 -- Re-introduce all languages (again) - -* Wed Aug 24 2011 Francois Andriot - 3.5.12-5 -- Re-introduce all languages - -* Mon Aug 22 2011 Francois Andriot - 3.5.12-4 -- Correct macro to install under "/opt", if desired - -* Thu Jul 21 2011 Francois Andriot - 3.5.12-3 -- Add 'Patch1': translation for 'Open Terminal Here...' background shortcut - -* Sun Dec 19 2010 Francois Andriot - 3.5.12-2 -- Rebuilt - -* Sun Dec 19 2010 Francois Andriot - 3.5.12-0 -- Initial version (French language only) -- Based on RHEL SPEC file 'kde-i18n' -- Add 'patch0' to reflect modifications in 'kdesu' from 'kdebase' package - diff --git a/redhat/tde-i18n/trinity-kde-i18n-3.5.13.spec b/redhat/tde-i18n/trinity-kde-i18n-3.5.13.spec deleted file mode 100644 index 635e08f94..000000000 --- a/redhat/tde-i18n/trinity-kde-i18n-3.5.13.spec +++ /dev/null @@ -1,1193 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdedocdir %{tde_docdir}/kde - -# Builds all supported languages (not unsupported ones) -%if "%{?KDE_LANGS}" == "" -%define KDE_LANGS ar bg bn ca cs da de el en_GB es et fi fr he hi hu is it ja lt nl nb nn pa pl pt pt_BR ro ru sk sl sr sv ta tr uk zh_CN zh_TW -%endif - - -Name: trinity-i18n -Summary: Internationalization support for Trinity -Version: 3.5.13 -Release: 7%{?dist}%{?_variant} - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -# GFDL, with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. -License: GFDL -Group: User Interface/Desktops -BuildArch: noarch - -# Speed build options -%define debug_package %{nil} -%define __spec_install_post %{nil} -AutoReq: no - -Source0: kde-i18n-%{version}.tar.gz - -# TDE 3.5.12: Translate 'kdesu' message was modified in 'kdebase' package -Patch0: kde-i18n-kdesu.patch - -# TDE 3.5.12: Translate 'Open Terminal Here' desktop shortcut -Patch1: trinity-kde-i18n-fr-openterminalhere.patch - -# TDE 3.5.13: French translations for new features -Patch2: kde-i18n-3.5.13-add_french_translations.patch - -# TDE 3.5.13: Updated translations for zh_TW, thanks to Wei-Lun Chao ! -Patch3: kde-i18n-zh_TW-3.5.10.patch.gz - -BuildRequires: findutils -BuildRequires: gettext -BuildRequires: trinity-arts-devel -BuildRequires: trinity-tdelibs-devel - -%description -%{summary}. - -%package Afrikaans -Summary: Afrikaans(af) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-af = %{version}-%{release} -#Requires: kde-filesystem -%description Afrikaans -%{summary}. - -%package Arabic -Summary: Arabic(ar) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ar = %{version}-%{release} -#Requires: kde-filesystem -%description Arabic -%{summary}. - -%package Azerbaijani -Summary: Azerbaijani(az) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-az = %{version}-%{release} -#Requires: kde-filesystem -%description Azerbaijani -%{summary}. - -%package Belarusian -Summary: Belarusian(be) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-be = %{version}-%{release} -#Requires: kde-filesystem -%description Belarusian -%{summary}. - -%package Bulgarian -Summary: Bulgarian(bg) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-bg = %{version}-%{release} -#Requires: kde-filesystem -%description Bulgarian -%{summary}. - -%package Bengali -Summary: Bengali(bn) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-bn = %{version}-%{release} -#Requires: kde-filesystem -%description Bengali -%{summary}. - -%package Tibetan -Summary: Tibetan(bo) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-bo = %{version}-%{release} -#Requires: kde-filesystem -%description Tibetan -%{summary}. - -%package Breton -Summary: Breton(br) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-br = %{version}-%{release} -#Requires: kde-filesystem -%description Breton -%{summary}. - -%package Bosnian -Summary: Bosnian(bs) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-bs = %{version}-%{release} -#Requires: kde-filesystem -%description Bosnian -%{summary}. - -%package Catalan -Summary: Catalan(ca) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ca = %{version}-%{release} -#Requires: kde-filesystem -%description Catalan -%{summary}. - -%package Czech -Summary: Czech(cs) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-cs = %{version}-%{release} -#Requires: kde-filesystem -%description Czech -%{summary}. - -%package Cymraeg -Summary: Cymraeg language support for TDE -Group: User Interface/Desktops -#Requires: kde-filesystem -%description Cymraeg -%{summary}. - -%package Welsh -Summary: Welsh(cy) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-cy = %{version}-%{release} -#Requires: kde-filesystem -%description Welsh -%{summary}. - -%package Danish -Summary: Danish(da) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-da = %{version}-%{release} -#Requires: kde-filesystem -%description Danish -%{summary}. - -%package German -Summary: German(de) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-de = %{version}-%{release} -#Requires: kde-filesystem -%description German -%{summary}. - -%package Greek -Summary: Greek(el) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-el = %{version}-%{release} -#Requires: kde-filesystem -%description Greek -%{summary}. - -%package British -Summary: British(en_GB) English support for TDE -Group: User Interface/Desktops -Provides: %{name}-en_GB = %{version}-%{release} -#Requires: kde-filesystem -%description British -%{summary}. - -%package Esperanto -Summary: Esperanto(eo) support for TDE -Group: User Interface/Desktops -Provides: %{name}-eo = %{version}-%{release} -#Requires: kde-filesystem -%description Esperanto -%{summary}. - -%package Spanish -Summary: Spanish(es) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-es = %{version}-%{release} -#Requires: kde-filesystem -%description Spanish -%{summary}. - -%package Estonian -Summary: Estonian(et) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-et = %{version}-%{release} -#Requires: kde-filesystem -%description Estonian -%{summary}. - -%package Basque -Summary: Basque(eu) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-eu = %{version}-%{release} -#Requires: kde-filesystem -%description Basque -%{summary}. - -%package Farsi -Summary: Farsi(fa) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-fa = %{version}-%{release} -#Requires: kde-filesystem -%description Farsi -%{summary}. - -%package Finnish -Summary: Finnish(fi) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-fi = %{version}-%{release} -#Requires: kde-filesystem -%description Finnish -%{summary}. - -%package Faroese -Summary: Faroese(fo) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-fo = %{version}-%{release} -#Requires: kde-filesystem -%description Faroese -%{summary}. - -%package French -Summary: French(fr) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-fr = %{version}-%{release} -#Requires: kde-filesystem -%description French -%{summary}. - -%package Frisian -Summary: Frisian(fy) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-fy = %{version}-%{release} -#Requires: kde-filesystem -%description Frisian -%{summary}. - -%package Irish -Summary: Irish(ga) language support for TDE -Group: User Interface/Desktops -Obsoletes: kde-i18n-Gaeilge < %{version} -Provides: %{name}-ga = %{version}-%{release} -#Requires: kde-filesystem -%description Irish -%{summary}. - -%package Galician -Summary: Galician(gl) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-gl = %{version}-%{release} -#Requires: kde-filesystem -%description Galician -%{summary}. - -%package Hebrew -Summary: Hebrew(he) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-he = %{version}-%{release} -#Requires: kde-filesystem -%description Hebrew -%{summary}. - -%package Hindi -Summary: Hindi(hi) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-hi = %{version}-%{release} -#Requires: kde-filesystem -%description Hindi -%{summary}. - -%package Croatian -Summary: Croatian(hr) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-hr = %{version}-%{release} -#Requires: kde-filesystem -%description Croatian -%{summary}. - -%package Hungarian -Summary: Hungarian(hu) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-hu = %{version}-%{release} -#Requires: kde-filesystem -%description Hungarian -%{summary}. - -%package Indonesian -Summary: Indonesian(id) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-id = %{version}-%{release} -#Requires: kde-filesystem -%description Indonesian -%{summary}. - -%package Icelandic -Summary: Icelandic(is) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-is = %{version}-%{release} -#Requires: kde-filesystem -%description Icelandic -%{summary}. - -%package Italian -Summary: Italian(it) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-it = %{version}-%{release} -#Requires: kde-filesystem -%description Italian -%{summary}. - -%package Japanese -Summary: Japanese(ja) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ja = %{version}-%{release} -#Requires: kde-filesystem -%description Japanese -%{summary}. - -%package Korean -Summary: Korean(ko) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ko = %{version}-%{release} -#Requires: kde-filesystem -%description Korean -%{summary}. - -%package Kurdish -Summary: Kurdish(ku) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ku = %{version}-%{release} -#Requires: kde-filesystem -%description Kurdish -%{summary}. - -%package Lao -Summary: Lao(lo) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-lo = %{version}-%{release} -#Requires: kde-filesystem -%description Lao -%{summary}. - -%package Lithuanian -Summary: Lithuanian(lt) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-lt = %{version}-%{release} -#Requires: kde-filesystem -%description Lithuanian -%{summary}. - -%package Latvian -Summary: Latvian(lv) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-lv = %{version}-%{release} -#Requires: kde-filesystem -%description Latvian -%{summary}. - -%package Maori -Summary: Maori(mi) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-mi = %{version}-%{release} -#Requires: kde-filesystem -%description Maori -%{summary}. - -%package Macedonian -Summary: Macedonian(mk) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-mk = %{version}-%{release} -#Requires: kde-filesystem -%description Macedonian -%{summary}. - -%package Maltese -Summary: Maltese(mt) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-mt = %{version}-%{release} -#Requires: kde-filesystem -%description Maltese -%{summary}. - -%package Dutch -Summary: Dutch(nl) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-nl = %{version}-%{release} -#Requires: kde-filesystem -%description Dutch -%{summary}. - -%package Norwegian -Summary: Norwegian(no) (Bokmaal) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-no = %{version}-%{release} -#Requires: kde-filesystem -%description Norwegian -%{summary}. - -%package Norwegian-Nynorsk -Summary: Norwegian(nn) (Nynorsk) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-nn = %{version}-%{release} -#Requires: kde-filesystem -%description Norwegian-Nynorsk -%{summary}. - -%package Occitan -Summary: Occitan(oc) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-oc = %{version}-%{release} -#Requires: kde-filesystem -%description Occitan -%{summary}. - -%package Polish -Summary: Polish(pl) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-pl = %{version}-%{release} -#Requires: kde-filesystem -%description Polish -%{summary}. - -%package Portuguese -Summary: Portuguese(pt) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-pt = %{version}-%{release} -#Requires: kde-filesystem -%description Portuguese -%{summary}. - -%package Punjabi -Summary: Punjabi(pa) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-pa = %{version}-%{release} -#Requires: kde-filesystem -%description Punjabi -%{summary}. - -%package Brazil -Summary: Brazil(pt_BR) Portuguese language support for TDE -Group: User Interface/Desktops -Provides: %{name}-pt_BR = %{version}-%{release} -#Requires: kde-filesystem -%description Brazil -%{summary}. - -%package Romanian -Summary: Romanian(ro) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ro = %{version}-%{release} -#Requires: kde-filesystem -%description Romanian -%{summary}. - -%package Russian -Summary: Russian(ru) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ru = %{version}-%{release} -#Requires: kde-filesystem -%description Russian -%{summary}. - -%package Slovak -Summary: Slovak(sk) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-sk = %{version}-%{release} -#Requires: kde-filesystem -%description Slovak -%{summary}. - -%package Slovenian -Summary: Slovenian(sl) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-sl = %{version}-%{release} -#Requires: kde-filesystem -%description Slovenian -%{summary}. - -%package Serbian -Summary: Serbian(sr) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-sr = %{version}-%{release} -#Requires: kde-filesystem -%description Serbian -%{summary}. - -%package Swedish -Summary: Swedish(sv) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-sv = %{version}-%{release} -#Requires: kde-filesystem -%description Swedish -%{summary}. - -%package Tamil -Summary: Tamil(ta) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ta = %{version}-%{release} -#Requires: kde-filesystem -%description Tamil -%{summary}. - -%package Tajik -Summary: Tajik(tg) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-tg = %{version}-%{release} -#Requires: kde-filesystem -%description Tajik -%{summary}. - -%package Thai -Summary: Thai(th) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-th = %{version}-%{release} -#Requires: kde-filesystem -%description Thai -%{summary}. - -%package Turkish -Summary: Turkish(tr) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-tr = %{version}-%{release} -#Requires: kde-filesystem -%description Turkish -%{summary}. - -%package Ukrainian -Summary: Ukrainian(uk) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-uk = %{version}-%{release} -#Requires: kde-filesystem -%description Ukrainian -%{summary}. - -%package Venda -Summary: Venda(ven) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ven = %{version}-%{release} -#Requires: kde-filesystem -%description Venda -%{summary}. - -%package Vietnamese -Summary: Vietnamese(vi) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-vi = %{version}-%{release} -#Requires: kde-filesystem -%description Vietnamese -%{summary}. - -%package Walloon -Summary: Walloon(wa) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-wa = %{version}-%{release} -#Requires: kde-filesystem -%description Walloon -%{summary}. - -%package Xhosa -Summary: Xhosa(xh) (a Bantu language) support for TDE -Group: User Interface/Desktops -Provides: %{name}-xh = %{version}-%{release} -#Requires: kde-filesystem -%description Xhosa -%{summary}. - -%package Chinese -Summary: Chinese(zh_CN) (Simplified Chinese) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-zh_CN = %{version}-%{release} -#Requires: kde-filesystem -%description Chinese -%{summary}. - -%package Chinese-Big5 -Summary: Chinese(zh_TW) (Big5) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-tz_TW = %{version}-%{release} -Provides: trinity-kde-i18n-Chinese-Big5 = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Chinese-Big5 < %{version}-%{release} -%description Chinese-Big5 -%{summary}. - - - -%prep -%setup -q -n kde-i18n - -for l in %{KDE_LANGS}; do - for f in kde-i18n-${l}-*.tar.bz2; do - tar xjf "${f}" - done -done - -# Patches for French translations -%if "%( grep -w fr <<< '%{KDE_LANGS}' )" != "" -%patch0 -%patch1 -%patch2 -p0 -%endif - -# Patches for Chinese (zh_TW) translations -%patch3 -p0 - - -%build -unset QTDIR; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -export kde_htmldir="%{tde_tdedocdir}/HTML" - -for l in %{KDE_LANGS}; do - for f in kde-i18n-${l}-*/; do - if [ -d "${f}" ] && [ -x "${f}/configure" ] ; then - pushd ${f} - %configure --prefix=%{tde_prefix} --datadir=%{tde_datadir} --docdir=%{tde_docdir} - %__make %{?_smp_mflags} - popd - fi - done -done - -%install -%__rm -rf %{?buildroot} -export PATH="%{tde_bindir}:${PATH}" - -for l in %{KDE_LANGS}; do - for f in kde-i18n-${l}-*/; do - if [ -d "${f}" ] && [ -r "${f}/Makefile" ] ; then - %__make install DESTDIR="%{?buildroot}" -C "${f}" - fi - done -done - -# make symlinks relative -%if "%{tde_prefix}" == "/usr" -pushd "%{buildroot}%{tde_tdedocdir}/HTML" -for lang in *; do - if [ -d "$lang" ]; then - pushd "$lang" - for i in */*/*; do - if [ -d $i -a -L $i/common ]; then - rm -f $i/common - ln -sf ../../../docs/common $i - fi - done - - for i in */*; do - if [ -d $i -a -L $i/common ]; then - rm -f $i/common - ln -sf ../../docs/common $i - fi - done - - for i in *; do - if [ -d $i -a -L $i/common ]; then - rm -f $i/common - ln -sf ../docs/common $i - fi - done - - popd - fi -done -popd -%endif - -# remove zero-length file -find "%{buildroot}%{tde_tdedocdir}/HTML" -size 0 -exec rm -f {} \; - -# See http://fedoraproject.org/wiki/Languages (???) -%__rm -f %{buildroot}%{tde_datadir}/locale/*/flag.png - -# Removes conflict with KDE4 -%if "%{?tde_prefix}" == "/usr" -%__rm -f %{buildroot}%{tde_datadir}/locale/*/entry.desktop -%endif - -# remove obsolete KDE 3 application data translations -%__rm -rf "%{buildroot}%{tde_datadir}/apps" - -%clean -%__rm -rf %{buildroot} - -%if "%( grep -w af <<< '%{KDE_LANGS}' )" != "" -%files Afrikaans -%defattr(-,root,root,-) -%lang(af) %{tde_datadir}/locale/af/* -%lang(af) %{tde_tdedocdir}/HTML/af/ -%endif - -%if "%( grep -w ar <<< '%{KDE_LANGS}' )" != "" -%files Arabic -%defattr(-,root,root,-) -%lang(ar) %{tde_datadir}/locale/ar/* -%endif - -%if "%( grep -w az <<< '%{KDE_LANGS}' )" != "" -%files Azerbaijani -%defattr(-,root,root,-) -%lang(az) %{tde_datadir}/locale/az/* -%endif - -%if "%( grep -w be <<< '%{KDE_LANGS}' )" != "" -%files Belarusian -%defattr(-,root,root,-) -%lang(be) %{tde_datadir}/locale/be/* -%endif - -%if "%( grep -w bg <<< '%{KDE_LANGS}' )" != "" -%files Bulgarian -%defattr(-,root,root,-) -%lang(bg) %{tde_datadir}/locale/bg/* -%endif - -%if "%( grep -w bn <<< '%{KDE_LANGS}' )" != "" -%files Bengali -%defattr(-,root,root,-) -%lang(bn) %{tde_datadir}/locale/bn/* -%endif - -%if "%( grep -w bo <<< '%{KDE_LANGS}' )" != "" -%files Tibetan -%defattr(-,root,root,-) -%lang(bo) %{tde_datadir}/locale/bo/* -%endif - -%if "%( grep -w br <<< '%{KDE_LANGS}' )" != "" -%files Breton -%defattr(-,root,root,-) -%lang(br) %{tde_datadir}/locale/br/* -%endif - -%if "%( grep -w bs <<< '%{KDE_LANGS}' )" != "" -%files Bosnian -%defattr(-,root,root,-) -%lang(bs) %{tde_datadir}/locale/bs/* -%endif - -%if "%( grep -w ca <<< '%{KDE_LANGS}' )" != "" -%files Catalan -%defattr(-,root,root,-) -%lang(ca) %{tde_datadir}/locale/ca/* -%lang(ca) %{tde_tdedocdir}/HTML/ca/ -%endif - -%if "%( grep -w cs <<< '%{KDE_LANGS}' )" != "" -%files Czech -%defattr(-,root,root,-) -%lang(cs) %{tde_datadir}/locale/cs/* -%lang(cs) %{tde_tdedocdir}/HTML/cs/ -%endif - -%if "%( grep -w cy <<< '%{KDE_LANGS}' )" != "" -%files Welsh -%defattr(-,root,root,-) -%lang(cy) %{tde_datadir}/locale/cy/* -%endif - -%if "%( grep -w da <<< '%{KDE_LANGS}' )" != "" -%files Danish -%defattr(-,root,root,-) -%lang(da) %{tde_datadir}/locale/da/* -%lang(da) %{tde_tdedocdir}/HTML/da/ -%endif - -%if "%( grep -w de <<< '%{KDE_LANGS}' )" != "" -%files German -%defattr(-,root,root,-) -%lang(de) %{tde_datadir}/locale/de/* -%lang(de) %{tde_tdedocdir}/HTML/de/ -%endif - -%if "%( grep -w el <<< '%{KDE_LANGS}' )" != "" -%files Greek -%defattr(-,root,root,-) -%lang(el) %{tde_datadir}/locale/el/* -%endif - -%if "%( grep -w en_GB <<< '%{KDE_LANGS}' )" != "" -%files British -%defattr(-,root,root,-) -%lang(en_GB) %{tde_datadir}/locale/en_GB/* -%lang(en_GB) %{tde_tdedocdir}/HTML/en_GB/ -%endif - -%if "%( grep -w eo <<< '%{KDE_LANGS}' )" != "" -%files Esperanto -%defattr(-,root,root,-) -%lang(eo) %{tde_datadir}/locale/eo/* -%endif - -%if "%( grep -w es <<< '%{KDE_LANGS}' )" != "" -%files Spanish -%defattr(-,root,root,-) -%lang(es) %{tde_datadir}/locale/es/* -%lang(es) %{tde_tdedocdir}/HTML/es/ -%endif - -%if "%( grep -w et <<< '%{KDE_LANGS}' )" != "" -%files Estonian -%defattr(-,root,root,-) -%lang(et) %{tde_datadir}/locale/et/* -%lang(et) %{tde_tdedocdir}/HTML/et/ -%endif - -%if "%( grep -w eu <<< '%{KDE_LANGS}' )" != "" -%files Basque -%defattr(-,root,root,-) -%lang(eu) %{tde_datadir}/locale/eu/* -%endif - -%if "%( grep -w fa <<< '%{KDE_LANGS}' )" != "" -%files Farsi -%defattr(-,root,root,-) -%lang(fa) %{tde_datadir}/locale/fa/* -%endif - -%if "%( grep -w fi <<< '%{KDE_LANGS}' )" != "" -%files Finnish -%defattr(-,root,root,-) -%lang(fi) %{tde_datadir}/locale/fi/* -%lang(fi) %{tde_tdedocdir}/HTML/fi/ -%endif - -%if "%( grep -w fo <<< '%{KDE_LANGS}' )" != "" -%files Faroese -%defattr(-,root,root,-) -%lang(fo) %{tde_datadir}/locale/fo/* -%endif - -%if "%( grep -w fr <<< '%{KDE_LANGS}' )" != "" -%files French -%defattr(-,root,root,-) -%lang(fr) %{tde_datadir}/locale/fr/* -%lang(fr) %{tde_tdedocdir}/HTML/fr/ -%endif - -%if "%( grep -w fy <<< '%{KDE_LANGS}' )" != "" -%files Frisian -%defattr(-,root,root,-) -%lang(fy) %{tde_datadir}/locale/fy/* -%endif - -%if "%( grep -w ga <<< '%{KDE_LANGS}' )" != "" -%files Irish -%defattr(-,root,root,-) -%lang(ga) %{tde_datadir}/locale/ga/* -%endif - -%if "%( grep -w gl <<< '%{KDE_LANGS}' )" != "" -%files Galician -%defattr(-,root,root,-) -%lang(gl) %{tde_datadir}/locale/gl/* -%endif - -%if "%( grep -w he <<< '%{KDE_LANGS}' )" != "" -%files Hebrew -%defattr(-,root,root,-) -%lang(he) %{tde_datadir}/locale/he/* -%lang(he) %{tde_tdedocdir}/HTML/he/ -%endif - -%if "%( grep -w hi <<< '%{KDE_LANGS}' )" != "" -%files Hindi -%defattr(-,root,root,-) -%lang(hi) %{tde_datadir}/locale/hi/* -%endif - -%if "%( grep -w hr <<< '%{KDE_LANGS}' )" != "" -%files Croatian -%defattr(-,root,root,-) -%lang(hr) %{tde_datadir}/locale/hr/* -%lang(hr) %{tde_tdedocdir}/HTML/hr/ -%endif - -%if "%( grep -w hu <<< '%{KDE_LANGS}' )" != "" -%files Hungarian -%defattr(-,root,root,-) -%lang(hu) %{tde_datadir}/locale/hu/* -%lang(hu) %{tde_tdedocdir}/HTML/hu/ -%endif - -%if "%( grep -w id <<< '%{KDE_LANGS}' )" != "" -%files Indonesian -%defattr(-,root,root,-) -%lang(id) %{tde_datadir}/locale/id/* -%lang(id) %{tde_tdedocdir}/HTML/id/ -%endif - -%if "%( grep -w is <<< '%{KDE_LANGS}' )" != "" -%files Icelandic -%defattr(-,root,root,-) -%lang(is) %{tde_datadir}/locale/is/* -%endif - -%if "%( grep -w it <<< '%{KDE_LANGS}' )" != "" -%files Italian -%defattr(-,root,root,-) -%lang(it) %{tde_datadir}/locale/it/* -%lang(it) %{tde_tdedocdir}/HTML/it/ -%endif - -%if "%( grep -w ja <<< '%{KDE_LANGS}' )" != "" -%files Japanese -%defattr(-,root,root,-) -%lang(ja) %{tde_datadir}/locale/ja/* -%lang(ja) %{tde_tdedocdir}/HTML/ja/ -%endif - -%if "%( grep -w ko <<< '%{KDE_LANGS}' )" != "" -%files Korean -%defattr(-,root,root,-) -%lang(ko) %{tde_datadir}/locale/ko/* -%lang(ko) %{tde_tdedocdir}/HTML/ko/ -%endif - -%if "%( grep -w ku <<< '%{KDE_LANGS}' )" != "" -%files Kurdish -%defattr(-,root,root,-) -%lang(ku) %{tde_datadir}/locale/ku/* -%lang(ku) %{tde_tdedocdir}/HTML/ku/ -%endif - -%if "%( grep -w lao <<< '%{KDE_LANGS}' )" != "" -%files Lao -%defattr(-,root,root,-) -%lang(lo) %{tde_datadir}/locale/lo/* -%lang(lo) %{tde_tdedocdir}/HTML/lo/ -%endif - -%if "%( grep -w lt <<< '%{KDE_LANGS}' )" != "" -%files Lithuanian -%defattr(-,root,root,-) -%lang(lt) %{tde_datadir}/locale/lt/* -%endif - -%if "%( grep -w lv <<< '%{KDE_LANGS}' )" != "" -%files Latvian -%defattr(-,root,root,-) -%lang(lv) %{tde_datadir}/locale/lv/* -%endif - -%if "%( grep -w mi <<< '%{KDE_LANGS}' )" != "" -%files Maori -%defattr(-,root,root,-) -%lang(mi) %{tde_datadir}/locale/mi/* -%endif - -%if "%( grep -w mk <<< '%{KDE_LANGS}' )" != "" -%files Macedonian -%defattr(-,root,root,-) -%lang(mk) %{tde_datadir}/locale/mk/* -%endif - -%if "%( grep -w mt <<< '%{KDE_LANGS}' )" != "" -%files Maltese -%defattr(-,root,root,-) -%lang(mt) %{tde_datadir}/locale/mt/* -%endif - -%if "%( grep -w nl <<< '%{KDE_LANGS}' )" != "" -%files Dutch -%defattr(-,root,root,-) -%lang(nl) %{tde_datadir}/locale/nl/* -%lang(nl) %{tde_tdedocdir}/HTML/nl/ -%endif - -%if "%( grep -w nb <<< '%{KDE_LANGS}' )" != "" -%files Norwegian -%defattr(-,root,root,-) -%lang(nb) %{tde_datadir}/locale/nb/* -#%lang(nb) %{tde_tdedocdir}/HTML/nb/ -%endif - -%if "%( grep -w nn <<< '%{KDE_LANGS}' )" != "" -%files Norwegian-Nynorsk -%defattr(-,root,root,-) -%lang(nn) %{tde_datadir}/locale/nn/* -#%lang(nn) %{tde_tdedocdir}/HTML/nn/ -%endif - -%if "%( grep -w oc <<< '%{KDE_LANGS}' )" != "" -%files Occitan -%defattr(-,root,root,-) -%lang(oc) %{tde_datadir}/locale/oc/* -%endif - -%if "%( grep -w pa <<< '%{KDE_LANGS}' )" != "" -%files Punjabi -%defattr(-,root,root,-) -%lang(pa) %{tde_datadir}/locale/pa/* -%endif - -%if "%( grep -w pl <<< '%{KDE_LANGS}' )" != "" -%files Polish -%defattr(-,root,root,-) -%lang(pl) %{tde_datadir}/locale/pl/* -%lang(pl) %{tde_tdedocdir}/HTML/pl/ -%endif - -%if "%( grep -w pt <<< '%{KDE_LANGS}' )" != "" -%files Portuguese -%defattr(-,root,root,-) -%lang(pt) %{tde_datadir}/locale/pt/* -%lang(pt) %{tde_tdedocdir}/HTML/pt/ -%endif - -%if "%( grep -w pt_BR <<< '%{KDE_LANGS}' )" != "" -%files Brazil -%defattr(-,root,root,-) -%lang(pt_BR) %{tde_datadir}/locale/pt_BR/* -%lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/ -%endif - -%if "%( grep -w ro <<< '%{KDE_LANGS}' )" != "" -%files Romanian -%defattr(-,root,root,-) -%lang(ro) %{tde_datadir}/locale/ro/* -%lang(ro) %{tde_tdedocdir}/HTML/ro/ -%endif - -%if "%( grep -w ru <<< '%{KDE_LANGS}' )" != "" -%files Russian -%defattr(-,root,root,-) -%lang(ru) %{tde_datadir}/locale/ru/* -%lang(ru) %{tde_tdedocdir}/HTML/ru/ -%endif - -%if "%( grep -w sk <<< '%{KDE_LANGS}' )" != "" -%files Slovak -%defattr(-,root,root,-) -%lang(sk) %{tde_datadir}/locale/sk/* -%lang(sk) %{tde_tdedocdir}/HTML/sk/ -%endif - -%if "%( grep -w sl <<< '%{KDE_LANGS}' )" != "" -%files Slovenian -%defattr(-,root,root,-) -%lang(sl) %{tde_datadir}/locale/sl/* -%lang(sl) %{tde_tdedocdir}/HTML/sl/ -%endif - -%if "%( grep -w sr <<< '%{KDE_LANGS}' )" != "" -%files Serbian -%defattr(-,root,root,-) -%lang(sr) %{tde_datadir}/locale/sr/* -%lang(sr) %{tde_tdedocdir}/HTML/sr/ -%endif - -%if "%( grep -w sv <<< '%{KDE_LANGS}' )" != "" -%files Swedish -%defattr(-,root,root,-) -%lang(sv) %{tde_datadir}/locale/sv/* -%lang(sv) %{tde_tdedocdir}/HTML/sv/ -%endif - -%if "%( grep -w ta <<< '%{KDE_LANGS}' )" != "" -%files Tamil -%defattr(-,root,root,-) -%lang(ta) %{tde_datadir}/locale/ta/* -%endif - -%if "%( grep -w tg <<< '%{KDE_LANGS}' )" != "" -%files Tajik -%defattr(-,root,root,-) -%lang(tg) %{tde_datadir}/locale/tg/* -%endif - -%if "%( grep -w th <<< '%{KDE_LANGS}' )" != "" -%files Thai -%defattr(-,root,root,-) -%lang(th) %{tde_datadir}/locale/th/* -%endif - -%if "%( grep -w tr <<< '%{KDE_LANGS}' )" != "" -%files Turkish -%defattr(-,root,root,-) -%lang(tr) %{tde_datadir}/locale/tr/* -%lang(tr) %{tde_tdedocdir}/HTML/tr/ -%endif - -%if "%( grep -w uk <<< '%{KDE_LANGS}' )" != "" -%files Ukrainian -%defattr(-,root,root,-) -%lang(uk) %{tde_tdedocdir}/HTML/uk/ -%lang(uk) %{tde_datadir}/locale/uk/* -%endif - -%if "%( grep -w ven <<< '%{KDE_LANGS}' )" != "" -%files Venda -%defattr(-,root,root,-) -%lang(ven) %{tde_datadir}/locale/ven/* -%endif - -%if "%( grep -w vi <<< '%{KDE_LANGS}' )" != "" -%files Vietnamese -%defattr(-,root,root,-) -%lang(vi) %{tde_datadir}/locale/vi/* -%endif - -%if "%( grep -w wa <<< '%{KDE_LANGS}' )" != "" -%files Walloon -%defattr(-,root,root,-) -%lang(wa) %{tde_datadir}/locale/wa/* -%endif - -%if "%( grep -w xh <<< '%{KDE_LANGS}' )" != "" -%files Xhosa -%defattr(-,root,root,-) -%lang(xh) %{tde_datadir}/locale/xh/* -%lang(xh) %{tde_tdedocdir}/HTML/xh/ -%endif - -%if "%( grep -w zh_CN <<< '%{KDE_LANGS}' )" != "" -%files Chinese -%defattr(-,root,root,-) -%lang(zh_CN) %{tde_datadir}/locale/zh_CN/* -%lang(zh_CN) %{tde_tdedocdir}/HTML/zh_CN/ -%endif - -%if "%( grep -w zh_TW <<< '%{KDE_LANGS}' )" != "" -%files Chinese-Big5 -%defattr(-,root,root,-) -%lang(zh_TW) %{tde_datadir}/locale/zh_TW/* -%lang(zh_TW) %{tde_tdedocdir}/HTML/zh_TW/ -%endif - -%changelog -* Wed Aug 15 2012 Francois Andriot - 3.5.13-7 -- Renames to 'trinity-i18n' -- Updates 'zh_TW' translations - -* Sun Dec 18 2011 Francois Andriot - 3.5.13-6 -- Updates French translations (mostly Kickoff Menu related) - -* Sun Dec 04 2011 Francois Andriot - 3.5.13-5 -- Removes 'kde-filesystem" dependancy - -* Fri Nov 26 2011 Francois Andriot - 3.5.13-4 -- Fix HTML directory location - -* Fri Nov 11 2011 Francois Andriot - 3.5.13-3 -- Re-adds missing files 'entry.desktop' -- Updates zh_TW translation, thanks to Wei-Lun Chao - -* Tue Nov 01 2011 Francois Andriot - 3.5.13-2 -- Add missing french translations for TDE 3.5.13 - -* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 -- Initial release for RHEL 6, RHEL 5 and Fedora 15 - -* Sun Dec 19 2010 Francois Andriot - 3.5.13-0 -- Initial version (French language only) -- Based on RHEL SPEC file 'kde-i18n' -- Add 'patch0' to reflect modifications in 'kdesu' from 'kdebase' package -- Import to GIT diff --git a/redhat/tde-i18n/trinity-tde-i18n-3.5.13.2.spec b/redhat/tde-i18n/trinity-tde-i18n-3.5.13.2.spec deleted file mode 100644 index 5aaea6aa3..000000000 --- a/redhat/tde-i18n/trinity-tde-i18n-3.5.13.2.spec +++ /dev/null @@ -1,1284 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdedocdir %{tde_docdir}/tde - -# Builds all supported languages (not unsupported ones) -%if "%{?KDE_LANGS}" == "" -%define KDE_LANGS ar bg bn ca cs da de el en_GB es et fi fr he hi hu is it ja lt nl nb nn pa pl pt pt_BR ro ru sk sl sr sv ta tr uk zh_CN zh_TW -%endif - - -Name: trinity-i18n -Summary: Internationalization support for Trinity -Version: 3.5.13.2 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -# GFDL, with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. -License: GFDL -Group: User Interface/Desktops -BuildArch: noarch - -# Speed build options -%define debug_package %{nil} -%define __spec_install_post %{nil} -AutoReq: no - -Source0: trinity-tde-i18n-%{version}%{?preversion:~%{preversion}}.tar.gz - -# TDE 3.5.12: Translate 'kdesu' message was modified in 'kdebase' package -Patch0: kde-i18n-kdesu.patch - -# TDE 3.5.12: Translate 'Open Terminal Here' desktop shortcut -Patch1: trinity-kde-i18n-fr-openterminalhere.patch - -# TDE 3.5.13: French translations for new features -Patch2: kde-i18n-3.5.13-add_french_translations.patch - -# TDE 3.5.13: Updated translations for zh_TW, thanks to Wei-Lun Chao ! -Patch3: kde-i18n-zh_TW-3.5.10.patch.gz - -# TDE 3.5.13.2: Updated french translations -Patch4: trinity-tde-i18n-fr-3.5.13.2-updates.patch - -BuildRequires: findutils -BuildRequires: gettext -BuildRequires: trinity-arts-devel >= 3.5.13.2 -BuildRequires: trinity-tdelibs-devel >= 3.5.13.2 - -%description -%{summary}. - -%package Afrikaans -Summary: Afrikaans(af) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-af = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Afrikaans < %{version}-%{release} -Provides: trinity-kde-i18n-Afrikaans = %{version}-%{release} -%description Afrikaans -%{summary}. - -%package Arabic -Summary: Arabic(ar) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ar = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Arabic < %{version}-%{release} -Provides: trinity-kde-i18n-Arabic = %{version}-%{release} -%description Arabic -%{summary}. - -%package Azerbaijani -Summary: Azerbaijani(az) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-az = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Arabic < %{version}-%{release} -Provides: trinity-kde-i18n-Arabic = %{version}-%{release} -%description Azerbaijani -%{summary}. - -%package Belarusian -Summary: Belarusian(be) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-be = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Belarusian < %{version}-%{release} -Provides: trinity-kde-i18n-Belarusian = %{version}-%{release} -%description Belarusian -%{summary}. - -%package Bulgarian -Summary: Bulgarian(bg) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-bg = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Bulgarian < %{version}-%{release} -Provides: trinity-kde-i18n-Bulgarian = %{version}-%{release} -%description Bulgarian -%{summary}. - -%package Bengali -Summary: Bengali(bn) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-bn = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Bengali < %{version}-%{release} -Provides: trinity-kde-i18n-Bengali = %{version}-%{release} -%description Bengali -%{summary}. - -%package Tibetan -Summary: Tibetan(bo) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-bo = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Tibetan < %{version}-%{release} -Provides: trinity-kde-i18n-Tibetan = %{version}-%{release} -%description Tibetan -%{summary}. - -%package Breton -Summary: Breton(br) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-br = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Breton < %{version}-%{release} -Provides: trinity-kde-i18n-Breton = %{version}-%{release} -%description Breton -%{summary}. - -%package Bosnian -Summary: Bosnian(bs) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-bs = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Bosnian < %{version}-%{release} -Provides: trinity-kde-i18n-Bosnian = %{version}-%{release} -%description Bosnian -%{summary}. - -%package Catalan -Summary: Catalan(ca) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ca = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Catalan < %{version}-%{release} -Provides: trinity-kde-i18n-Catalan = %{version}-%{release} -%description Catalan -%{summary}. - -%package Czech -Summary: Czech(cs) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-cs = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Czech < %{version}-%{release} -Provides: trinity-kde-i18n-Czech = %{version}-%{release} -%description Czech -%{summary}. - -%package Cymraeg -Summary: Cymraeg language support for TDE -Group: User Interface/Desktops -Obsoletes: trinity-kde-i18n-Cymraeg < %{version}-%{release} -Provides: trinity-kde-i18n-Cymraeg = %{version}-%{release} -%description Cymraeg -%{summary}. - -%package Welsh -Summary: Welsh(cy) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-cy = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Welsh < %{version}-%{release} -Provides: trinity-kde-i18n-Welsh = %{version}-%{release} -%description Welsh -%{summary}. - -%package Danish -Summary: Danish(da) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-da = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Danish < %{version}-%{release} -Provides: trinity-kde-i18n-Danish = %{version}-%{release} -%description Danish -%{summary}. - -%package German -Summary: German(de) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-de = %{version}-%{release} -Obsoletes: trinity-kde-i18n-German < %{version}-%{release} -Provides: trinity-kde-i18n-German = %{version}-%{release} -%description German -%{summary}. - -%package Greek -Summary: Greek(el) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-el = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Greek < %{version}-%{release} -Provides: trinity-kde-i18n-Greek = %{version}-%{release} -%description Greek -%{summary}. - -%package British -Summary: British(en_GB) English support for TDE -Group: User Interface/Desktops -Provides: %{name}-en_GB = %{version}-%{release} -Obsoletes: trinity-kde-i18n-British < %{version}-%{release} -Provides: trinity-kde-i18n-British = %{version}-%{release} -%description British -%{summary}. - -%package Esperanto -Summary: Esperanto(eo) support for TDE -Group: User Interface/Desktops -Provides: %{name}-eo = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Esperanto < %{version}-%{release} -Provides: trinity-kde-i18n-Esperanto = %{version}-%{release} -%description Esperanto -%{summary}. - -%package Spanish -Summary: Spanish(es) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-es = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Spanish < %{version}-%{release} -Provides: trinity-kde-i18n-Spanish = %{version}-%{release} -%description Spanish -%{summary}. - -%package Estonian -Summary: Estonian(et) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-et = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Estonian < %{version}-%{release} -Provides: trinity-kde-i18n-Estonian = %{version}-%{release} -%description Estonian -%{summary}. - -%package Basque -Summary: Basque(eu) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-eu = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Basque < %{version}-%{release} -Provides: trinity-kde-i18n-Basque = %{version}-%{release} -%description Basque -%{summary}. - -%package Farsi -Summary: Farsi(fa) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-fa = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Farsi < %{version}-%{release} -Provides: trinity-kde-i18n-Farsi = %{version}-%{release} -%description Farsi -%{summary}. - -%package Finnish -Summary: Finnish(fi) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-fi = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Finnish < %{version}-%{release} -Provides: trinity-kde-i18n-Finnish = %{version}-%{release} -%description Finnish -%{summary}. - -%package Faroese -Summary: Faroese(fo) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-fo = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Faroese < %{version}-%{release} -Provides: trinity-kde-i18n-Faroese = %{version}-%{release} -%description Faroese -%{summary}. - -%package French -Summary: French(fr) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-fr = %{version}-%{release} -Obsoletes: trinity-kde-i18n-French < %{version}-%{release} -Provides: trinity-kde-i18n-French = %{version}-%{release} -%description French -%{summary}. - -%package Frisian -Summary: Frisian(fy) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-fy = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Frisian < %{version}-%{release} -Provides: trinity-kde-i18n-Frisian = %{version}-%{release} -%description Frisian -%{summary}. - -%package Irish -Summary: Irish(ga) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ga = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Irish < %{version}-%{release} -Provides: trinity-kde-i18n-Irish = %{version}-%{release} -%description Irish -%{summary}. - -%package Galician -Summary: Galician(gl) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-gl = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Galician < %{version}-%{release} -Provides: trinity-kde-i18n-Galician = %{version}-%{release} -%description Galician -%{summary}. - -%package Hebrew -Summary: Hebrew(he) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-he = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Hebrew < %{version}-%{release} -Provides: trinity-kde-i18n-Hebrew = %{version}-%{release} -%description Hebrew -%{summary}. - -%package Hindi -Summary: Hindi(hi) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-hi = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Hindi < %{version}-%{release} -Provides: trinity-kde-i18n-Hindi = %{version}-%{release} -%description Hindi -%{summary}. - -%package Croatian -Summary: Croatian(hr) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-hr = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Croatian < %{version}-%{release} -Provides: trinity-kde-i18n-Croatian = %{version}-%{release} -%description Croatian -%{summary}. - -%package Hungarian -Summary: Hungarian(hu) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-hu = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Hungarian < %{version}-%{release} -Provides: trinity-kde-i18n-Hungarian = %{version}-%{release} -%description Hungarian -%{summary}. - -%package Indonesian -Summary: Indonesian(id) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-id = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Indonesian < %{version}-%{release} -Provides: trinity-kde-i18n-Indonesian = %{version}-%{release} -%description Indonesian -%{summary}. - -%package Icelandic -Summary: Icelandic(is) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-is = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Icelandic < %{version}-%{release} -Provides: trinity-kde-i18n-Icelandic = %{version}-%{release} -%description Icelandic -%{summary}. - -%package Italian -Summary: Italian(it) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-it = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Italian < %{version}-%{release} -Provides: trinity-kde-i18n-Italian = %{version}-%{release} -%description Italian -%{summary}. - -%package Japanese -Summary: Japanese(ja) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ja = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Japanese < %{version}-%{release} -Provides: trinity-kde-i18n-Japanese = %{version}-%{release} -%description Japanese -%{summary}. - -%package Korean -Summary: Korean(ko) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ko = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Korean < %{version}-%{release} -Provides: trinity-kde-i18n-Korean = %{version}-%{release} -%description Korean -%{summary}. - -%package Kurdish -Summary: Kurdish(ku) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ku = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Kurdish < %{version}-%{release} -Provides: trinity-kde-i18n-Kurdish = %{version}-%{release} -%description Kurdish -%{summary}. - -%package Lao -Summary: Lao(lo) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-lo = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Lao < %{version}-%{release} -Provides: trinity-kde-i18n-Lao = %{version}-%{release} -%description Lao -%{summary}. - -%package Lithuanian -Summary: Lithuanian(lt) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-lt = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Lithuanian < %{version}-%{release} -Provides: trinity-kde-i18n-Lithuanian = %{version}-%{release} -%description Lithuanian -%{summary}. - -%package Latvian -Summary: Latvian(lv) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-lv = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Latvian < %{version}-%{release} -Provides: trinity-kde-i18n-Latvian = %{version}-%{release} -%description Latvian -%{summary}. - -%package Maori -Summary: Maori(mi) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-mi = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Maori < %{version}-%{release} -Provides: trinity-kde-i18n-Maori = %{version}-%{release} -%description Maori -%{summary}. - -%package Macedonian -Summary: Macedonian(mk) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-mk = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Macedonian < %{version}-%{release} -Provides: trinity-kde-i18n-Macedonian = %{version}-%{release} -%description Macedonian -%{summary}. - -%package Maltese -Summary: Maltese(mt) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-mt = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Maltese < %{version}-%{release} -Provides: trinity-kde-i18n-Maltese = %{version}-%{release} -%description Maltese -%{summary}. - -%package Dutch -Summary: Dutch(nl) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-nl = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Dutch < %{version}-%{release} -Provides: trinity-kde-i18n-Dutch = %{version}-%{release} -%description Dutch -%{summary}. - -%package Norwegian -Summary: Norwegian(no) (Bokmaal) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-no = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Norwegian < %{version}-%{release} -Provides: trinity-kde-i18n-Norwegian = %{version}-%{release} -%description Norwegian -%{summary}. - -%package Norwegian-Nynorsk -Summary: Norwegian(nn) (Nynorsk) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-nn = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Norwegian-Nynorsk < %{version}-%{release} -Provides: trinity-kde-i18n-Norwegian-Nynorsk = %{version}-%{release} -%description Norwegian-Nynorsk -%{summary}. - -%package Occitan -Summary: Occitan(oc) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-oc = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Occitan < %{version}-%{release} -Provides: trinity-kde-i18n-Occitan = %{version}-%{release} -%description Occitan -%{summary}. - -%package Polish -Summary: Polish(pl) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-pl = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Polish < %{version}-%{release} -Provides: trinity-kde-i18n-Polish = %{version}-%{release} -%description Polish -%{summary}. - -%package Portuguese -Summary: Portuguese(pt) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-pt = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Portuguese < %{version}-%{release} -Provides: trinity-kde-i18n-Portuguese = %{version}-%{release} -%description Portuguese -%{summary}. - -%package Punjabi -Summary: Punjabi(pa) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-pa = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Punjabi < %{version}-%{release} -Provides: trinity-kde-i18n-Punjabi = %{version}-%{release} -%description Punjabi -%{summary}. - -%package Brazil -Summary: Brazil(pt_BR) Portuguese language support for TDE -Group: User Interface/Desktops -Provides: %{name}-pt_BR = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Brazil < %{version}-%{release} -Provides: trinity-kde-i18n-Brazil = %{version}-%{release} -%description Brazil -%{summary}. - -%package Romanian -Summary: Romanian(ro) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ro = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Romanian < %{version}-%{release} -Provides: trinity-kde-i18n-Romanian = %{version}-%{release} -%description Romanian -%{summary}. - -%package Russian -Summary: Russian(ru) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ru = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Russian < %{version}-%{release} -Provides: trinity-kde-i18n-Russian = %{version}-%{release} -%description Russian -%{summary}. - -%package Slovak -Summary: Slovak(sk) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-sk = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Slovak < %{version}-%{release} -Provides: trinity-kde-i18n-Slovak = %{version}-%{release} -%description Slovak -%{summary}. - -%package Slovenian -Summary: Slovenian(sl) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-sl = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Slovenian < %{version}-%{release} -Provides: trinity-kde-i18n-Slovenian = %{version}-%{release} -%description Slovenian -%{summary}. - -%package Serbian -Summary: Serbian(sr) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-sr = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Serbian < %{version}-%{release} -Provides: trinity-kde-i18n-Serbian = %{version}-%{release} -%description Serbian -%{summary}. - -%package Swedish -Summary: Swedish(sv) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-sv = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Swedish < %{version}-%{release} -Provides: trinity-kde-i18n-Swedish = %{version}-%{release} -%description Swedish -%{summary}. - -%package Tamil -Summary: Tamil(ta) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ta = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Tamil < %{version}-%{release} -Provides: trinity-kde-i18n-Tamil = %{version}-%{release} -%description Tamil -%{summary}. - -%package Tajik -Summary: Tajik(tg) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-tg = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Tajik < %{version}-%{release} -Provides: trinity-kde-i18n-Tajik = %{version}-%{release} -%description Tajik -%{summary}. - -%package Thai -Summary: Thai(th) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-th = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Thai < %{version}-%{release} -Provides: trinity-kde-i18n-Thai = %{version}-%{release} -%description Thai -%{summary}. - -%package Turkish -Summary: Turkish(tr) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-tr = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Turkish < %{version}-%{release} -Provides: trinity-kde-i18n-Turkish = %{version}-%{release} -%description Turkish -%{summary}. - -%package Ukrainian -Summary: Ukrainian(uk) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-uk = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Ukrainian < %{version}-%{release} -Provides: trinity-kde-i18n-Ukrainian = %{version}-%{release} -%description Ukrainian -%{summary}. - -%package Venda -Summary: Venda(ven) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-ven = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Venda < %{version}-%{release} -Provides: trinity-kde-i18n-Venda = %{version}-%{release} -%description Venda -%{summary}. - -%package Vietnamese -Summary: Vietnamese(vi) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-vi = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Vietnamese < %{version}-%{release} -Provides: trinity-kde-i18n-Vietnamese = %{version}-%{release} -%description Vietnamese -%{summary}. - -%package Walloon -Summary: Walloon(wa) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-wa = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Walloon < %{version}-%{release} -Provides: trinity-kde-i18n-Walloon = %{version}-%{release} -%description Walloon -%{summary}. - -%package Xhosa -Summary: Xhosa(xh) (a Bantu language) support for TDE -Group: User Interface/Desktops -Provides: %{name}-xh = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Xhosa < %{version}-%{release} -Provides: trinity-kde-i18n-Xhosa = %{version}-%{release} -%description Xhosa -%{summary}. - -%package Chinese -Summary: Chinese(zh_CN) (Simplified Chinese) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-zh_CN = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Chinese < %{version}-%{release} -Provides: trinity-kde-i18n-Chinese = %{version}-%{release} -%description Chinese -%{summary}. - -%package Chinese-Big5 -Summary: Chinese(zh_TW) (Big5) language support for TDE -Group: User Interface/Desktops -Provides: %{name}-tz_TW = %{version}-%{release} -Obsoletes: trinity-kde-i18n-Chinese-Big5 < %{version}-%{release} -Provides: trinity-kde-i18n-Chinese-Big5 = %{version}-%{release} -%description Chinese-Big5 -%{summary}. - - - -%prep -%setup -q -n trinity-tde-i18n-%{version}%{?preversion:~%{preversion}} - -# Patches for French translations -pushd tde-i18n-fr -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch4 -p1 -popd - -# Patches for Chinese (zh_TW) translations -pushd tde-i18n-zh_TW -zcat %{PATCH3} | patch -p1 || : -popd - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" - - -%build -unset QTDIR; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export KDEDIR=%{tde_prefix} - -export kde_htmldir="%{tde_tdedocdir}/HTML" - -for l in %{KDE_LANGS}; do - for f in tde-i18n-${l}/; do - if [ -d "${f}" ]; then - pushd ${f} - ( - %__sed -i "configure.in" -e "s|AM_CONFIG_HEADER|AC_CONFIG_HEADER|g" - %__make -f "admin/Makefile.common" - %configure \ - --prefix=%{tde_prefix} \ - --datadir=%{tde_datadir} \ - --docdir=%{tde_tdedocdir} - %__make %{?_smp_mflags} - ) & - sleep 3 - popd - fi - done -done - -wait - -%install -%__rm -rf %{?buildroot} -export PATH="%{tde_bindir}:${PATH}" - -for l in %{KDE_LANGS}; do - for f in tde-i18n-${l}/; do - if [ -d "${f}" ] && [ -r "${f}/Makefile" ] ; then - %__make install DESTDIR="%{?buildroot}" -C "${f}" - fi - done -done - -# make symlinks relative -%if "%{tde_prefix}" == "/usr" -pushd "%{buildroot}%{tde_tdedocdir}/HTML" -for lang in *; do - if [ -d "$lang" ]; then - pushd "$lang" - for i in */*/*; do - if [ -d $i -a -L $i/common ]; then - rm -f $i/common - ln -sf ../../../docs/common $i - fi - done - - for i in */*; do - if [ -d $i -a -L $i/common ]; then - rm -f $i/common - ln -sf ../../docs/common $i - fi - done - - for i in *; do - if [ -d $i -a -L $i/common ]; then - rm -f $i/common - ln -sf ../docs/common $i - fi - done - - popd - fi -done -popd -%endif - -# remove zero-length file -find "%{buildroot}%{tde_tdedocdir}/HTML" -size 0 -exec rm -f {} \; - -# See http://fedoraproject.org/wiki/Languages (???) -%__rm -f %{buildroot}%{tde_datadir}/locale/*/flag.png - -# Removes conflict with KDE4 -%if "%{?tde_prefix}" == "/usr" -%__rm -f %{buildroot}%{tde_datadir}/locale/*/entry.desktop -%endif - -# remove obsolete KDE 3 application data translations -%__rm -rf "%{buildroot}%{tde_datadir}/apps" - -%clean -%__rm -rf %{buildroot} - -%if "%( grep -w af <<< '%{KDE_LANGS}' )" != "" -%files Afrikaans -%defattr(-,root,root,-) -%lang(af) %{tde_datadir}/locale/af/* -%lang(af) %{tde_tdedocdir}/HTML/af/ -%endif - -%if "%( grep -w ar <<< '%{KDE_LANGS}' )" != "" -%files Arabic -%defattr(-,root,root,-) -%lang(ar) %{tde_datadir}/locale/ar/* -%endif - -%if "%( grep -w az <<< '%{KDE_LANGS}' )" != "" -%files Azerbaijani -%defattr(-,root,root,-) -%lang(az) %{tde_datadir}/locale/az/* -%endif - -%if "%( grep -w be <<< '%{KDE_LANGS}' )" != "" -%files Belarusian -%defattr(-,root,root,-) -%lang(be) %{tde_datadir}/locale/be/* -%endif - -%if "%( grep -w bg <<< '%{KDE_LANGS}' )" != "" -%files Bulgarian -%defattr(-,root,root,-) -%lang(bg) %{tde_datadir}/locale/bg/* -%endif - -%if "%( grep -w bn <<< '%{KDE_LANGS}' )" != "" -%files Bengali -%defattr(-,root,root,-) -%lang(bn) %{tde_datadir}/locale/bn/* -%endif - -%if "%( grep -w bo <<< '%{KDE_LANGS}' )" != "" -%files Tibetan -%defattr(-,root,root,-) -%lang(bo) %{tde_datadir}/locale/bo/* -%endif - -%if "%( grep -w br <<< '%{KDE_LANGS}' )" != "" -%files Breton -%defattr(-,root,root,-) -%lang(br) %{tde_datadir}/locale/br/* -%endif - -%if "%( grep -w bs <<< '%{KDE_LANGS}' )" != "" -%files Bosnian -%defattr(-,root,root,-) -%lang(bs) %{tde_datadir}/locale/bs/* -%endif - -%if "%( grep -w ca <<< '%{KDE_LANGS}' )" != "" -%files Catalan -%defattr(-,root,root,-) -%lang(ca) %{tde_datadir}/locale/ca/* -%lang(ca) %{tde_tdedocdir}/HTML/ca/ -%endif - -%if "%( grep -w cs <<< '%{KDE_LANGS}' )" != "" -%files Czech -%defattr(-,root,root,-) -%lang(cs) %{tde_datadir}/locale/cs/* -%lang(cs) %{tde_tdedocdir}/HTML/cs/ -%endif - -%if "%( grep -w cy <<< '%{KDE_LANGS}' )" != "" -%files Welsh -%defattr(-,root,root,-) -%lang(cy) %{tde_datadir}/locale/cy/* -%endif - -%if "%( grep -w da <<< '%{KDE_LANGS}' )" != "" -%files Danish -%defattr(-,root,root,-) -%lang(da) %{tde_datadir}/locale/da/* -%lang(da) %{tde_tdedocdir}/HTML/da/ -%endif - -%if "%( grep -w de <<< '%{KDE_LANGS}' )" != "" -%files German -%defattr(-,root,root,-) -%lang(de) %{tde_datadir}/locale/de/* -%lang(de) %{tde_tdedocdir}/HTML/de/ -%endif - -%if "%( grep -w el <<< '%{KDE_LANGS}' )" != "" -%files Greek -%defattr(-,root,root,-) -%lang(el) %{tde_datadir}/locale/el/* -%endif - -%if "%( grep -w en_GB <<< '%{KDE_LANGS}' )" != "" -%files British -%defattr(-,root,root,-) -%lang(en_GB) %{tde_datadir}/locale/en_GB/* -%lang(en_GB) %{tde_tdedocdir}/HTML/en_GB/ -%endif - -%if "%( grep -w eo <<< '%{KDE_LANGS}' )" != "" -%files Esperanto -%defattr(-,root,root,-) -%lang(eo) %{tde_datadir}/locale/eo/* -%endif - -%if "%( grep -w es <<< '%{KDE_LANGS}' )" != "" -%files Spanish -%defattr(-,root,root,-) -%lang(es) %{tde_datadir}/locale/es/* -%lang(es) %{tde_tdedocdir}/HTML/es/ -%endif - -%if "%( grep -w et <<< '%{KDE_LANGS}' )" != "" -%files Estonian -%defattr(-,root,root,-) -%lang(et) %{tde_datadir}/locale/et/* -%lang(et) %{tde_tdedocdir}/HTML/et/ -%endif - -%if "%( grep -w eu <<< '%{KDE_LANGS}' )" != "" -%files Basque -%defattr(-,root,root,-) -%lang(eu) %{tde_datadir}/locale/eu/* -%endif - -%if "%( grep -w fa <<< '%{KDE_LANGS}' )" != "" -%files Farsi -%defattr(-,root,root,-) -%lang(fa) %{tde_datadir}/locale/fa/* -%endif - -%if "%( grep -w fi <<< '%{KDE_LANGS}' )" != "" -%files Finnish -%defattr(-,root,root,-) -%lang(fi) %{tde_datadir}/locale/fi/* -%lang(fi) %{tde_tdedocdir}/HTML/fi/ -%endif - -%if "%( grep -w fo <<< '%{KDE_LANGS}' )" != "" -%files Faroese -%defattr(-,root,root,-) -%lang(fo) %{tde_datadir}/locale/fo/* -%endif - -%if "%( grep -w fr <<< '%{KDE_LANGS}' )" != "" -%files French -%defattr(-,root,root,-) -%lang(fr) %{tde_datadir}/locale/fr/* -%lang(fr) %{tde_tdedocdir}/HTML/fr/ -%endif - -%if "%( grep -w fy <<< '%{KDE_LANGS}' )" != "" -%files Frisian -%defattr(-,root,root,-) -%lang(fy) %{tde_datadir}/locale/fy/* -%endif - -%if "%( grep -w ga <<< '%{KDE_LANGS}' )" != "" -%files Irish -%defattr(-,root,root,-) -%lang(ga) %{tde_datadir}/locale/ga/* -%endif - -%if "%( grep -w gl <<< '%{KDE_LANGS}' )" != "" -%files Galician -%defattr(-,root,root,-) -%lang(gl) %{tde_datadir}/locale/gl/* -%endif - -%if "%( grep -w he <<< '%{KDE_LANGS}' )" != "" -%files Hebrew -%defattr(-,root,root,-) -%lang(he) %{tde_datadir}/locale/he/* -%lang(he) %{tde_tdedocdir}/HTML/he/ -%endif - -%if "%( grep -w hi <<< '%{KDE_LANGS}' )" != "" -%files Hindi -%defattr(-,root,root,-) -%lang(hi) %{tde_datadir}/locale/hi/* -%endif - -%if "%( grep -w hr <<< '%{KDE_LANGS}' )" != "" -%files Croatian -%defattr(-,root,root,-) -%lang(hr) %{tde_datadir}/locale/hr/* -%lang(hr) %{tde_tdedocdir}/HTML/hr/ -%endif - -%if "%( grep -w hu <<< '%{KDE_LANGS}' )" != "" -%files Hungarian -%defattr(-,root,root,-) -%lang(hu) %{tde_datadir}/locale/hu/* -%lang(hu) %{tde_tdedocdir}/HTML/hu/ -%endif - -%if "%( grep -w id <<< '%{KDE_LANGS}' )" != "" -%files Indonesian -%defattr(-,root,root,-) -%lang(id) %{tde_datadir}/locale/id/* -%lang(id) %{tde_tdedocdir}/HTML/id/ -%endif - -%if "%( grep -w is <<< '%{KDE_LANGS}' )" != "" -%files Icelandic -%defattr(-,root,root,-) -%lang(is) %{tde_datadir}/locale/is/* -%endif - -%if "%( grep -w it <<< '%{KDE_LANGS}' )" != "" -%files Italian -%defattr(-,root,root,-) -%lang(it) %{tde_datadir}/locale/it/* -%lang(it) %{tde_tdedocdir}/HTML/it/ -%endif - -%if "%( grep -w ja <<< '%{KDE_LANGS}' )" != "" -%files Japanese -%defattr(-,root,root,-) -%lang(ja) %{tde_datadir}/locale/ja/* -%lang(ja) %{tde_tdedocdir}/HTML/ja/ -%endif - -%if "%( grep -w ko <<< '%{KDE_LANGS}' )" != "" -%files Korean -%defattr(-,root,root,-) -%lang(ko) %{tde_datadir}/locale/ko/* -%lang(ko) %{tde_tdedocdir}/HTML/ko/ -%endif - -%if "%( grep -w ku <<< '%{KDE_LANGS}' )" != "" -%files Kurdish -%defattr(-,root,root,-) -%lang(ku) %{tde_datadir}/locale/ku/* -%lang(ku) %{tde_tdedocdir}/HTML/ku/ -%endif - -%if "%( grep -w lao <<< '%{KDE_LANGS}' )" != "" -%files Lao -%defattr(-,root,root,-) -%lang(lo) %{tde_datadir}/locale/lo/* -%lang(lo) %{tde_tdedocdir}/HTML/lo/ -%endif - -%if "%( grep -w lt <<< '%{KDE_LANGS}' )" != "" -%files Lithuanian -%defattr(-,root,root,-) -%lang(lt) %{tde_datadir}/locale/lt/* -%endif - -%if "%( grep -w lv <<< '%{KDE_LANGS}' )" != "" -%files Latvian -%defattr(-,root,root,-) -%lang(lv) %{tde_datadir}/locale/lv/* -%endif - -%if "%( grep -w mi <<< '%{KDE_LANGS}' )" != "" -%files Maori -%defattr(-,root,root,-) -%lang(mi) %{tde_datadir}/locale/mi/* -%endif - -%if "%( grep -w mk <<< '%{KDE_LANGS}' )" != "" -%files Macedonian -%defattr(-,root,root,-) -%lang(mk) %{tde_datadir}/locale/mk/* -%endif - -%if "%( grep -w mt <<< '%{KDE_LANGS}' )" != "" -%files Maltese -%defattr(-,root,root,-) -%lang(mt) %{tde_datadir}/locale/mt/* -%endif - -%if "%( grep -w nl <<< '%{KDE_LANGS}' )" != "" -%files Dutch -%defattr(-,root,root,-) -%lang(nl) %{tde_datadir}/locale/nl/* -%lang(nl) %{tde_tdedocdir}/HTML/nl/ -%endif - -%if "%( grep -w nb <<< '%{KDE_LANGS}' )" != "" -%files Norwegian -%defattr(-,root,root,-) -%lang(nb) %{tde_datadir}/locale/nb/* -#%lang(nb) %{tde_tdedocdir}/HTML/nb/ -%endif - -%if "%( grep -w nn <<< '%{KDE_LANGS}' )" != "" -%files Norwegian-Nynorsk -%defattr(-,root,root,-) -%lang(nn) %{tde_datadir}/locale/nn/* -#%lang(nn) %{tde_tdedocdir}/HTML/nn/ -%endif - -%if "%( grep -w oc <<< '%{KDE_LANGS}' )" != "" -%files Occitan -%defattr(-,root,root,-) -%lang(oc) %{tde_datadir}/locale/oc/* -%endif - -%if "%( grep -w pa <<< '%{KDE_LANGS}' )" != "" -%files Punjabi -%defattr(-,root,root,-) -%lang(pa) %{tde_datadir}/locale/pa/* -%endif - -%if "%( grep -w pl <<< '%{KDE_LANGS}' )" != "" -%files Polish -%defattr(-,root,root,-) -%lang(pl) %{tde_datadir}/locale/pl/* -%lang(pl) %{tde_tdedocdir}/HTML/pl/ -%endif - -%if "%( grep -w pt <<< '%{KDE_LANGS}' )" != "" -%files Portuguese -%defattr(-,root,root,-) -%lang(pt) %{tde_datadir}/locale/pt/* -%lang(pt) %{tde_tdedocdir}/HTML/pt/ -%endif - -%if "%( grep -w pt_BR <<< '%{KDE_LANGS}' )" != "" -%files Brazil -%defattr(-,root,root,-) -%lang(pt_BR) %{tde_datadir}/locale/pt_BR/* -%lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/ -%endif - -%if "%( grep -w ro <<< '%{KDE_LANGS}' )" != "" -%files Romanian -%defattr(-,root,root,-) -%lang(ro) %{tde_datadir}/locale/ro/* -%lang(ro) %{tde_tdedocdir}/HTML/ro/ -%endif - -%if "%( grep -w ru <<< '%{KDE_LANGS}' )" != "" -%files Russian -%defattr(-,root,root,-) -%lang(ru) %{tde_datadir}/locale/ru/* -%lang(ru) %{tde_tdedocdir}/HTML/ru/ -%endif - -%if "%( grep -w sk <<< '%{KDE_LANGS}' )" != "" -%files Slovak -%defattr(-,root,root,-) -%lang(sk) %{tde_datadir}/locale/sk/* -%lang(sk) %{tde_tdedocdir}/HTML/sk/ -%endif - -%if "%( grep -w sl <<< '%{KDE_LANGS}' )" != "" -%files Slovenian -%defattr(-,root,root,-) -%lang(sl) %{tde_datadir}/locale/sl/* -%lang(sl) %{tde_tdedocdir}/HTML/sl/ -%endif - -%if "%( grep -w sr <<< '%{KDE_LANGS}' )" != "" -%files Serbian -%defattr(-,root,root,-) -%lang(sr) %{tde_datadir}/locale/sr/* -%lang(sr) %{tde_tdedocdir}/HTML/sr/ -%endif - -%if "%( grep -w sv <<< '%{KDE_LANGS}' )" != "" -%files Swedish -%defattr(-,root,root,-) -%lang(sv) %{tde_datadir}/locale/sv/* -%lang(sv) %{tde_tdedocdir}/HTML/sv/ -%endif - -%if "%( grep -w ta <<< '%{KDE_LANGS}' )" != "" -%files Tamil -%defattr(-,root,root,-) -%lang(ta) %{tde_datadir}/locale/ta/* -%endif - -%if "%( grep -w tg <<< '%{KDE_LANGS}' )" != "" -%files Tajik -%defattr(-,root,root,-) -%lang(tg) %{tde_datadir}/locale/tg/* -%endif - -%if "%( grep -w th <<< '%{KDE_LANGS}' )" != "" -%files Thai -%defattr(-,root,root,-) -%lang(th) %{tde_datadir}/locale/th/* -%endif - -%if "%( grep -w tr <<< '%{KDE_LANGS}' )" != "" -%files Turkish -%defattr(-,root,root,-) -%lang(tr) %{tde_datadir}/locale/tr/* -%lang(tr) %{tde_tdedocdir}/HTML/tr/ -%endif - -%if "%( grep -w uk <<< '%{KDE_LANGS}' )" != "" -%files Ukrainian -%defattr(-,root,root,-) -%lang(uk) %{tde_tdedocdir}/HTML/uk/ -%lang(uk) %{tde_datadir}/locale/uk/* -%endif - -%if "%( grep -w ven <<< '%{KDE_LANGS}' )" != "" -%files Venda -%defattr(-,root,root,-) -%lang(ven) %{tde_datadir}/locale/ven/* -%endif - -%if "%( grep -w vi <<< '%{KDE_LANGS}' )" != "" -%files Vietnamese -%defattr(-,root,root,-) -%lang(vi) %{tde_datadir}/locale/vi/* -%endif - -%if "%( grep -w wa <<< '%{KDE_LANGS}' )" != "" -%files Walloon -%defattr(-,root,root,-) -%lang(wa) %{tde_datadir}/locale/wa/* -%endif - -%if "%( grep -w xh <<< '%{KDE_LANGS}' )" != "" -%files Xhosa -%defattr(-,root,root,-) -%lang(xh) %{tde_datadir}/locale/xh/* -%lang(xh) %{tde_tdedocdir}/HTML/xh/ -%endif - -%if "%( grep -w zh_CN <<< '%{KDE_LANGS}' )" != "" -%files Chinese -%defattr(-,root,root,-) -%lang(zh_CN) %{tde_datadir}/locale/zh_CN/* -%lang(zh_CN) %{tde_tdedocdir}/HTML/zh_CN/ -%endif - -%if "%( grep -w zh_TW <<< '%{KDE_LANGS}' )" != "" -%files Chinese-Big5 -%defattr(-,root,root,-) -%lang(zh_TW) %{tde_datadir}/locale/zh_TW/* -%lang(zh_TW) %{tde_tdedocdir}/HTML/zh_TW/ -%endif - -%changelog -* Sat Jan 19 2013 Francois Andriot - 3.5.13.2-1 -- Initial release for TDE 3.5.13.2 - -* Wed Oct 03 2012 Francois Andriot - 3.5.13.1-1 -- Initial build for TDE 3.5.13.1 - -* Wed Aug 15 2012 Francois Andriot - 3.5.13-7 -- Renames to 'trinity-i18n' -- Updates 'zh_TW' translations - -* Sun Dec 18 2011 Francois Andriot - 3.5.13-6 -- Updates French translations (mostly Kickoff Menu related) - -* Sun Dec 04 2011 Francois Andriot - 3.5.13-5 -- Removes 'kde-filesystem" dependancy - -* Fri Nov 25 2011 Francois Andriot - 3.5.13-4 -- Fix HTML directory location - -* Fri Nov 11 2011 Francois Andriot - 3.5.13-3 -- Re-adds missing files 'entry.desktop' -- Updates zh_TW translation, thanks to Wei-Lun Chao - -* Tue Nov 01 2011 Francois Andriot - 3.5.13-2 -- Add missing french translations for TDE 3.5.13 - -* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 -- Initial release for RHEL 6, RHEL 5 and Fedora 15 - -* Sun Dec 19 2010 Francois Andriot - 3.5.13-0 -- Initial version (French language only) -- Based on RHEL SPEC file 'kde-i18n' diff --git a/redhat/tdeaccessibility/kdeaccessibility-3.5.12.spec b/redhat/tdeaccessibility/kdeaccessibility-3.5.12.spec new file mode 100644 index 000000000..633fdc76b --- /dev/null +++ b/redhat/tdeaccessibility/kdeaccessibility-3.5.12.spec @@ -0,0 +1,180 @@ +# Default version for this component +%if "%{?version}" == "" +%define version 3.5.12 +%endif +%define release 2 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_prefix}/share/doc +%endif + +# TDE 3.5.12 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir} +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/kde3 + + +Summary: K Desktop Environment - Accessibility +Name: trinity-kdeaccessibility +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2 +Group: User Interface/Desktops + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: kdeaccessibility-%{version}.tar.gz + + +Provides: kdeaccessibility3 = %{version}-%{release} + +Requires: trinity-kdelibs +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig + +BuildRequires: desktop-file-utils +BuildRequires: trinity-kdelibs-devel +BuildRequires: alsa-lib-devel +%if 0%{?fedora} > 4 || 0%{?rhel} > 4 +BuildRequires: libXtst-devel +%endif + +%description +Included with this package are: +* kmag, a screen magnifier, +* kmousetool, a program for people whom it hurts to click the mouse, +* kmouth, program that allows people who have lost their voice + to let their computer speak for them. + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Provides: kdeaccessibility3-devel = %{version}-%{release} +Requires: %{name} = %{version}-%{release} +Requires: trinity-kdelibs-devel +%description devel +%{summary}. + + +%prep +%setup -q -n kdeaccessibility + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%configure \ + --includedir=%{tde_includedir} \ + --disable-rpath \ + --enable-new-ldflags \ + --disable-debug --disable-warnings \ + --disable-dependancy-tracking --enable-final \ + --with-extra-includes=%{_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +desktop-file-install \ + --vendor="" \ + --dir %{buildroot}%{_datadir}/applications/kde \ + --delete-original \ + %{buildroot}%{_datadir}/applnk/Applications/*.desktop ||: + +# file lists for locale +%find_lang %{name} || touch %{name}.lang +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}/$HTML_DIR ]; then + for lang_dir in %{buildroot}/$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi + done +fi + +# rpmdocs +for dir in kmag kmousetool ksayit kttsd ; do + for file in AUTHORS ChangeLog README TODO ; do + test -s $dir/$file && install -p -m644 -D $dir/$file rpmdocs/$dir/$file + done +done + + + +%clean +%__rm -rf %{buildroot} + + +%post +/sbin/ldconfig ||: +for icon_theme in mono hicolor locolor ; do + touch --no-create %{_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun +/sbin/ldconfig ||: +for icon_theme in mono hicolor locolor ; do + touch --no-create %{_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc COPYING +%doc rpmdocs/* +%{_bindir}/* +%{_datadir}/applications/kde/*.desktop +%{_datadir}/apps/*/ +%{_datadir}/config/* +%{_datadir}/icons/hicolor/*/*/* +%{_datadir}/icons/locolor/*/*/* +%{_datadir}/icons/mono/ +%{_datadir}/service*/*.desktop +%{_libdir}/lib*.so.* +%{_libdir}/*.la +%{tde_libdir}/* + +%files devel +%defattr(-,root,root,-) +%{tde_includedir}/* +%{_libdir}/lib*.so + + +%changelog +* Mon Sep 19 2011 Francois Andriot - 3.5.12-2 +- Add support for RHEL5 + +* Sun Sep 11 2011 Francois Andriot - 3.5.12-1 +- Initial build for RHEL 6 +- Spec file based on Fedora 8 "kdeaccessibility-3.5.10-1" +- Import to GIT diff --git a/redhat/tdeaccessibility/kdeaccessibility-3.5.13.1.spec b/redhat/tdeaccessibility/kdeaccessibility-3.5.13.1.spec new file mode 100644 index 000000000..9fcde2131 --- /dev/null +++ b/redhat/tdeaccessibility/kdeaccessibility-3.5.13.1.spec @@ -0,0 +1,525 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Summary: Trinity Desktop Environment - Accessibility +Name: trinity-tdeaccessibility +Version: 3.5.13.1 +Release: 1%{?dist}%{?_variant} + +License: GPLv2 +Group: User Interface/Desktops + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Source0: kdeaccessibility-3.5.13.1.tar.gz + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: autoconf automake libtool m4 +BuildRequires: desktop-file-utils +BuildRequires: trinity-akode-devel +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: trinity-tdemultimedia-devel >= %{version} + +BuildRequires: alsa-lib-devel + +# X11 Libraries +%if 0%{?fedora} > 4 || 0%{?rhel} > 4 +BuildRequires: libXtst-devel +%endif + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xi-devel +BuildRequires: %{_lib}xext%{?mgaversion:6}-devel +BuildRequires: %{_lib}x11%{?mgaversion:_6}-devel +BuildRequires: %{_lib}xcb-devel +BuildRequires: %{_lib}xau%{?mgaversion:6}-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} +BuildRequires: libXi-devel +BuildRequires: libXext-devel +BuildRequires: libX11-devel +%if 0%{?rhel} >= 6 || 0%{?fedora} +BuildRequires: libxcb-devel +%endif +BuildRequires: libXau-devel +%endif +%if 0%{?rhel} == 4 +BuildRequires: xorg-x11-devel +%endif + +# Mageia only: Special packages were built for missing '.la' files on Mageia 2 !!! +%if 0%{?mgaversion} +BuildRequires: %{_lib}xi-devel-libtool +BuildRequires: %{_lib}xext6-devel-libtool +BuildRequires: %{_lib}x11_6-devel-libtool +BuildRequires: %{_lib}xcb-devel-libtool +BuildRequires: %{_lib}xau6-devel-libtool +%endif + +Obsoletes: trinity-kdeaccessibility < %{version}-%{release} +Provides: trinity-kdeaccessibility = %{version}-%{release} +Obsoletes: trinity-kdeaccessibility-libs < %{version}-%{release} +Provides: trinity-kdeaccessibility-libs = %{version}-%{release} + +Requires: trinity-kde-icons-mono = %{version}-%{release} +Requires: trinity-kbstate = %{version}-%{release} +Requires: trinity-kmag = %{version}-%{release} +Requires: trinity-kmousetool = %{version}-%{release} +Requires: trinity-kmouth = %{version}-%{release} +Requires: trinity-ksayit = %{version}-%{release} +Requires: trinity-kttsd = %{version}-%{release} +Requires: trinity-kttsd-contrib-plugins = %{version}-%{release} + +%description +Included with this package are: +* kmag, a screen magnifier, +* kmousetool, a program for people whom it hurts to click the mouse, +* kmouth, program that allows people who have lost their voice + to let their computer speak for them. + +%files + +########## + +%package -n trinity-kde-icons-mono +Summary: A monochromatic icons theme for TDE +Group: User Interface/Desktops + +%description -n trinity-kde-icons-mono +A monochromatic icon theme for TDE, designed for accessibility purposes. + +This package is part of Trinity, as a component of the TDE accessibility module. + +%files -n trinity-kde-icons-mono +%defattr(-,root,root,-) +%{tde_datadir}/icons/mono/index.theme +%{tde_datadir}/icons/mono/scalable/*/*.svgz + +########## + +%package -n trinity-kbstate +Summary: a keyboard status applet for TDE +Group: User Interface/Desktops + +%description -n trinity-kbstate +A panel applet that displays the keyboard status. + +This package is part of Trinity, as a component of the TDE accessibility module. + +%files -n trinity-kbstate +%defattr(-,root,root,-) +%{tde_tdelibdir}/kbstate_panelapplet.la +%{tde_tdelibdir}/kbstate_panelapplet.so +%{tde_datadir}/apps/kbstateapplet/ +%{tde_datadir}/apps/kicker/applets/kbstateapplet.desktop + +########## + +%package -n trinity-kmag +Summary: A screen magnifier for TDE +Group: User Interface/Desktops + +%description -n trinity-kmag +KDE's screen magnifier tool. + +You can use KMagnifier to magnify a part of the screen just as you would use +a lens to magnify a newspaper fine-print or a photograph. This application is +useful for a variety of people: from researchers to artists to web-designers to +people with low vision. + +This package is part of Trinity, as a component of the TDE accessibility module. + +%files -n trinity-kmag +%defattr(-,root,root,-) +%{tde_bindir}/kmag +%{tde_datadir}/applnk/Applications/kmag.desktop +%{tde_datadir}/apps/kmag/ +%{tde_datadir}/icons/hicolor/*/apps/kmag.png +%{tde_datadir}/icons/locolor/*/apps/kmag.png +%{tde_tdedocdir}/HTML/en/kmag/ + +%post -n trinity-kmag +/sbin/ldconfig ||: +for icon_theme in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done + +%postun -n trinity-kmag +/sbin/ldconfig ||: +for icon_theme in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done + +########## + +%package -n trinity-kmousetool +Summary: TDE mouse manipulation tool for the disabled +Group: User Interface/Desktops + +%description -n trinity-kmousetool +KMouseTool clicks the mouse whenever the mouse cursor pauses briefly. It was +designed to help those with repetitive strain injuries, for whom pressing +buttons hurts. + +This package is part of Trinity, as a component of the TDE accessibility module. + +%files -n trinity-kmousetool +%defattr(-,root,root,-) +%{tde_bindir}/kmousetool +%{tde_datadir}/applnk/Applications/kmousetool.desktop +%{tde_datadir}/apps/kmousetool/ +%{tde_datadir}/icons/hicolor/*/apps/kmousetool.png +%{tde_tdedocdir}/HTML/en/kmousetool/ + +%post -n trinity-kmousetool +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done + +%postun -n trinity-kmousetool +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done + +########## + +%package -n trinity-kmouth +Summary: A type-and-say KDE frontend for speech synthesizers +Group: User Interface/Desktops + +%description -n trinity-kmouth +KDE's type-and-say frontend for speech synthesizers. + +It includes a history of spoken sentences from which the user can select +sentences to be re-spoken. + +This package is part of Trinity, as a component of the TDE accessibility module. + +%files -n trinity-kmouth +%defattr(-,root,root,-) +%{tde_datadir}/config/kmouthrc +%{tde_bindir}/kmouth +%{tde_datadir}/applnk/Applications/kmouth.desktop +%{tde_datadir}/apps/kmouth/ +%{tde_datadir}/icons/hicolor/*/actions/speak.png +%{tde_datadir}/icons/hicolor/*/actions/nospeak.png +%{tde_datadir}/icons/hicolor/*/apps/kmouth.png +%{tde_datadir}/icons/locolor/*/actions/speak.png +%{tde_datadir}/icons/locolor/*/apps/kmouth.png +%{tde_tdedocdir}/HTML/en/kmouth/ + +%post -n trinity-kmouth +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done + +%postun -n trinity-kmouth +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done + +########## + +%package -n trinity-ksayit +Summary: A frontend for the TDE Text-to-Speech system +Group: User Interface/Desktops + +%description -n trinity-ksayit +Text-to-speech front-end to kttsd. + +This package is part of Trinity, as a component of the TDE accessibility module. + +%files -n trinity-ksayit +%defattr(-,root,root,-) +%{tde_bindir}/ksayit +%{tde_tdeincludedir}/ksayit_fxplugin.h +%{tde_tdelibdir}/libFreeverb_plugin.la +%{tde_tdelibdir}/libFreeverb_plugin.so +%{tde_libdir}/libKTTSD_Lib.so.* +%{tde_tdeappdir}/ksayit.desktop +%{tde_datadir}/apps/ksayit/ +%{tde_datadir}/icons/hicolor/*/apps/ksayit.png +%{tde_datadir}/icons/hicolor/32x32/apps/ksayit_clipempty.png +%{tde_datadir}/icons/hicolor/32x32/apps/ksayit_talking.png +%{tde_datadir}/services/ksayit_libFreeverb.desktop +%{tde_datadir}/servicetypes/ksayit_libFreeverb_service.desktop + +%post -n trinity-ksayit +/sbin/ldconfig ||: +for icon_theme in mono hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ksayit +/sbin/ldconfig ||: +for icon_theme in mono hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kttsd +Summary: A Text-to-Speech system for TDE +Group: User Interface/Desktops + +%description -n trinity-kttsd +The KDE Text-to-Speech system is a plugin based service that allows any KDE +(or non-KDE) application to speak using the DCOP interface. + +ksayit and kmouth are useful front-ends for this capability, while one of +festival, flite, and epos are essential back-ends. + +This package is part of Trinity, as a component of the TDE accessibility module. + +Homepage: http://accessibility.kde.org/developer/kttsd + +%files -n trinity-kttsd +%defattr(-,root,root,-) +%{tde_bindir}/kttsd +%{tde_bindir}/kttsmgr +%{tde_tdelibdir}/kcm_kttsd.la +%{tde_tdelibdir}/kcm_kttsd.so +%{tde_tdelibdir}/ktexteditor_kttsd.la +%{tde_tdelibdir}/ktexteditor_kttsd.so +%{tde_tdelibdir}/libkttsd_akodeplugin.la +%{tde_tdelibdir}/libkttsd_akodeplugin.so +%{tde_tdelibdir}/libkttsd_alsaplugin.la +%{tde_tdelibdir}/libkttsd_alsaplugin.so +%{tde_tdelibdir}/libkttsd_artsplugin.la +%{tde_tdelibdir}/libkttsd_artsplugin.so +%{tde_tdelibdir}/libkttsd_commandplugin.la +%{tde_tdelibdir}/libkttsd_commandplugin.so +%{tde_tdelibdir}/libkttsd_eposplugin.la +%{tde_tdelibdir}/libkttsd_eposplugin.so +%{tde_tdelibdir}/libkttsd_festivalintplugin.la +%{tde_tdelibdir}/libkttsd_festivalintplugin.so +%{tde_tdelibdir}/libkttsd_fliteplugin.la +%{tde_tdelibdir}/libkttsd_fliteplugin.so +%{tde_tdelibdir}/libkttsd_sbdplugin.la +%{tde_tdelibdir}/libkttsd_sbdplugin.so +%{tde_tdelibdir}/libkttsd_stringreplacerplugin.la +%{tde_tdelibdir}/libkttsd_stringreplacerplugin.so +%{tde_tdelibdir}/libkttsd_talkerchooserplugin.la +%{tde_tdelibdir}/libkttsd_talkerchooserplugin.so +%{tde_tdelibdir}/libkttsd_xmltransformerplugin.la +%{tde_tdelibdir}/libkttsd_xmltransformerplugin.so +%{tde_tdelibdir}/libkttsjobmgrpart.la +%{tde_tdelibdir}/libkttsjobmgrpart.so +%{tde_libdir}/libkttsd.so.* +%{tde_tdeappdir}/kcmkttsd.desktop +%{tde_tdeappdir}/kttsmgr.desktop +%{tde_datadir}/apps/ktexteditor_kttsd/ktexteditor_kttsdui.rc +%exclude %{tde_datadir}/apps/kttsd/hadifix/xslt/SSMLtoTxt2pho.xsl +%{tde_datadir}/apps/kttsd/ +%{tde_datadir}/icons/hicolor/16x16/actions/female.png +%{tde_datadir}/icons/hicolor/16x16/actions/male.png +%{tde_datadir}/services/ktexteditor_kttsd.desktop +%{tde_datadir}/services/kttsd.desktop +%{tde_datadir}/services/kttsd_akodeplugin.desktop +%{tde_datadir}/services/kttsd_alsaplugin.desktop +%{tde_datadir}/services/kttsd_artsplugin.desktop +%{tde_datadir}/services/kttsd_commandplugin.desktop +%{tde_datadir}/services/kttsd_eposplugin.desktop +%{tde_datadir}/services/kttsd_festivalintplugin.desktop +%{tde_datadir}/services/kttsd_fliteplugin.desktop +%{tde_datadir}/services/kttsd_sbdplugin.desktop +%{tde_datadir}/services/kttsd_stringreplacerplugin.desktop +%{tde_datadir}/services/kttsd_talkerchooserplugin.desktop +%{tde_datadir}/services/kttsd_xmltransformerplugin.desktop +%{tde_datadir}/services/kttsjobmgr.desktop +%{tde_datadir}/servicetypes/kttsd_audioplugin.desktop +%{tde_datadir}/servicetypes/kttsd_filterplugin.desktop +%{tde_datadir}/servicetypes/kttsd_synthplugin.desktop +%{tde_datadir}/icons/crystalsvg/*/apps/kttsd.png +%{tde_datadir}/icons/crystalsvg/*/apps/kttsd.svgz +%{tde_tdedocdir}/HTML/en/kttsd/ + +%post -n trinity-kttsd +/sbin/ldconfig ||: +for icon_theme in crystalsvg hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kttsd +/sbin/ldconfig ||: +for icon_theme in crystalsvg hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kttsd-contrib-plugins +Summary: the TDE Text-to-Speech system +Group: User Interface/Desktops +Requires: trinity-kttsd = %{version}-%{release} + +%description -n trinity-kttsd-contrib-plugins +kttsd synthetizer plugins that depends on non-free software : +* FreeTTS plugin. +* Hadifix (mbrola/txt2pho) plugin. +Those plugins will require manual installation of third party, +non free software to work. + +This package is part of Trinity, as a component of the TDE accessibility module. + +%files -n trinity-kttsd-contrib-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/libkttsd_freettsplugin.la +%{tde_tdelibdir}/libkttsd_freettsplugin.so +%{tde_tdelibdir}/libkttsd_hadifixplugin.la +%{tde_tdelibdir}/libkttsd_hadifixplugin.so +%{tde_datadir}/apps/kttsd/hadifix/xslt/SSMLtoTxt2pho.xsl +%{tde_datadir}/services/kttsd_freettsplugin.desktop +%{tde_datadir}/services/kttsd_hadifixplugin.desktop + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: trinity-tdelibs-devel >= %{version} + +Obsoletes: trinity-kdeaccessibility-devel < %{version}-%{release} +Provides: trinity-kdeaccessibility-devel = %{version}-%{release} + +%description devel +%{summary}. + +%files devel +%defattr(-,root,root,-) +%{tde_libdir}/libkttsd.la +%{tde_libdir}/libkttsd.so +%{tde_libdir}/libKTTSD_Lib.la +%{tde_libdir}/libKTTSD_Lib.so + +%post devel +/sbin/ldconfig ||: + +%postun devel +/sbin/ldconfig ||: + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n kdeaccessibility-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +# Avoids conflict with KDE4, if installed +# see file: '/etc/profile.d/kde.sh' from package 'kde-settings' +export KDEDIRS=%{tde_prefix} +export KDEDIR=%{tde_prefix} + +# Specific path for RHEL4 +if [ -d /usr/X11R6 ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --enable-new-ldflags \ + --enable-closure \ + --disable-debug --disable-warnings \ + --enable-final \ + --enable-ksayit-audio-plugins \ + --with-akode \ + --with-extra-includes=%{tde_includedir}:%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# file lists for locale +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}/$HTML_DIR ]; then + for lang_dir in %{buildroot}/$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi + done +fi + + +%clean +%__rm -rf %{buildroot} + + + +%changelog +* Sun Sep 30 2012 Francois Andriot - 3.5.13.1-1 +- Initial build for TDE 3.5.13.1 diff --git a/redhat/tdeaccessibility/kdeaccessibility-3.5.13.spec b/redhat/tdeaccessibility/kdeaccessibility-3.5.13.spec new file mode 100644 index 000000000..1e078db5b --- /dev/null +++ b/redhat/tdeaccessibility/kdeaccessibility-3.5.13.spec @@ -0,0 +1,523 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Summary: Trinity Desktop Environment - Accessibility +Name: trinity-tdeaccessibility +Version: 3.5.13 +Release: 3%{?dist}%{?_variant} + +License: GPLv2 +Group: User Interface/Desktops + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Source0: kdeaccessibility-%{version}.tar.gz + +# [kdeaccessibility] Missing LDFLAGS causing FTBFS +Patch1: kdeaccessibility-3.5.13-missing_ldflags.patch + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: cmake >= 2.8 +BuildRequires: desktop-file-utils +BuildRequires: trinity-tdelibs-devel >= 3.5.13 +BuildRequires: alsa-lib-devel +BuildRequires: trinity-akode-devel +BuildRequires: trinity-arts-devel >= 3.5.13 +BuildRequires: trinity-tdemultimedia-devel >= 3.5.13 + +%if 0%{?fedora} > 4 || 0%{?rhel} > 4 +BuildRequires: libXtst-devel +%endif + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xi-devel +BuildRequires: %{_lib}xext%{?mgaversion:6}-devel +BuildRequires: %{_lib}x11%{?mgaversion:_6}-devel +BuildRequires: %{_lib}xcb-devel +BuildRequires: %{_lib}xau%{?mgaversion:6}-devel +%else +BuildRequires: libXi-devel +BuildRequires: libXext-devel +BuildRequires: libX11-devel +%if 0%{?rhel} >= 6 || 0%{?fedora} +BuildRequires: libxcb-devel +%endif +BuildRequires: libXau-devel +%endif + +# Mageia only: Special packages were built for missing '.la' files on Mageia 2 !!! +%if 0%{?mgaversion} +BuildRequires: %{_lib}xi-devel-libtool +BuildRequires: %{_lib}xext6-devel-libtool +BuildRequires: %{_lib}x11_6-devel-libtool +BuildRequires: %{_lib}xcb-devel-libtool +BuildRequires: %{_lib}xau6-devel-libtool +%endif + +Obsoletes: trinity-kdeaccessibility < %{version}-%{release} +Provides: trinity-kdeaccessibility = %{version}-%{release} +Obsoletes: trinity-kdeaccessibility-libs < %{version}-%{release} +Provides: trinity-kdeaccessibility-libs = %{version}-%{release} + +Requires: trinity-kde-icons-mono = %{version}-%{release} +Requires: trinity-kbstate = %{version}-%{release} +Requires: trinity-kmag = %{version}-%{release} +Requires: trinity-kmousetool = %{version}-%{release} +Requires: trinity-kmouth = %{version}-%{release} +Requires: trinity-ksayit = %{version}-%{release} +Requires: trinity-kttsd = %{version}-%{release} +Requires: trinity-kttsd-contrib-plugins = %{version}-%{release} + +%description +Included with this package are: +* kmag, a screen magnifier, +* kmousetool, a program for people whom it hurts to click the mouse, +* kmouth, program that allows people who have lost their voice + to let their computer speak for them. + +%files + +########## + +%package -n trinity-kde-icons-mono +Summary: A monochromatic icons theme for TDE +Group: User Interface/Desktops + +%description -n trinity-kde-icons-mono +A monochromatic icon theme for TDE, designed for accessibility purposes. + +This package is part of Trinity, as a component of the TDE accessibility module. + +%files -n trinity-kde-icons-mono +%defattr(-,root,root,-) +%{tde_datadir}/icons/mono/index.theme +%{tde_datadir}/icons/mono/scalable/*/*.svgz + +########## + +%package -n trinity-kbstate +Summary: a keyboard status applet for TDE +Group: User Interface/Desktops + +%description -n trinity-kbstate +A panel applet that displays the keyboard status. + +This package is part of Trinity, as a component of the TDE accessibility module. + +%files -n trinity-kbstate +%defattr(-,root,root,-) +%{tde_tdelibdir}/kbstate_panelapplet.la +%{tde_tdelibdir}/kbstate_panelapplet.so +%{tde_datadir}/apps/kbstateapplet/ +%{tde_datadir}/apps/kicker/applets/kbstateapplet.desktop + +########## + +%package -n trinity-kmag +Summary: A screen magnifier for TDE +Group: User Interface/Desktops + +%description -n trinity-kmag +KDE's screen magnifier tool. + +You can use KMagnifier to magnify a part of the screen just as you would use +a lens to magnify a newspaper fine-print or a photograph. This application is +useful for a variety of people: from researchers to artists to web-designers to +people with low vision. + +This package is part of Trinity, as a component of the TDE accessibility module. + +%files -n trinity-kmag +%defattr(-,root,root,-) +%{tde_bindir}/kmag +%{tde_datadir}/applnk/Applications/kmag.desktop +%{tde_datadir}/apps/kmag/ +%{tde_datadir}/icons/hicolor/*/apps/kmag.png +%{tde_datadir}/icons/locolor/*/apps/kmag.png +%{tde_tdedocdir}/HTML/en/kmag/ + +%post -n trinity-kmag +/sbin/ldconfig ||: +for icon_theme in hicolor locolor ; do + touch --no-create %{_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/${icon_theme} 2> /dev/null ||: +done + +%postun -n trinity-kmag +/sbin/ldconfig ||: +for icon_theme in hicolor locolor ; do + touch --no-create %{_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/${icon_theme} 2> /dev/null ||: +done + +########## + +%package -n trinity-kmousetool +Summary: TDE mouse manipulation tool for the disabled +Group: User Interface/Desktops + +%description -n trinity-kmousetool +KMouseTool clicks the mouse whenever the mouse cursor pauses briefly. It was +designed to help those with repetitive strain injuries, for whom pressing +buttons hurts. + +This package is part of Trinity, as a component of the TDE accessibility module. + +%files -n trinity-kmousetool +%defattr(-,root,root,-) +%{tde_bindir}/kmousetool +%{tde_datadir}/applnk/Applications/kmousetool.desktop +%{tde_datadir}/apps/kmousetool/ +%{tde_datadir}/icons/hicolor/*/apps/kmousetool.png +%{tde_tdedocdir}/HTML/en/kmousetool/ + +%post -n trinity-kmousetool +for icon_theme in hicolor ; do + touch --no-create %{_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/${icon_theme} 2> /dev/null ||: +done + +%postun -n trinity-kmousetool +for icon_theme in hicolor ; do + touch --no-create %{_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/${icon_theme} 2> /dev/null ||: +done + +########## + +%package -n trinity-kmouth +Summary: A type-and-say KDE frontend for speech synthesizers +Group: User Interface/Desktops + +%description -n trinity-kmouth +KDE's type-and-say frontend for speech synthesizers. + +It includes a history of spoken sentences from which the user can select +sentences to be re-spoken. + +This package is part of Trinity, as a component of the TDE accessibility module. + +%files -n trinity-kmouth +%defattr(-,root,root,-) +%{tde_datadir}/config/kmouthrc +%{tde_bindir}/kmouth +%{tde_datadir}/applnk/Applications/kmouth.desktop +%{tde_datadir}/apps/kmouth/ +%{tde_datadir}/icons/hicolor/*/actions/speak.png +%{tde_datadir}/icons/hicolor/*/actions/nospeak.png +%{tde_datadir}/icons/hicolor/*/apps/kmouth.png +%{tde_datadir}/icons/locolor/*/actions/speak.png +%{tde_datadir}/icons/locolor/*/apps/kmouth.png +%{tde_tdedocdir}/HTML/en/kmouth/ + +%post -n trinity-kmouth +for icon_theme in hicolor ; do + touch --no-create %{_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/${icon_theme} 2> /dev/null ||: +done + +%postun -n trinity-kmouth +for icon_theme in hicolor ; do + touch --no-create %{_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/${icon_theme} 2> /dev/null ||: +done + +########## + +%package -n trinity-ksayit +Summary: A frontend for the TDE Text-to-Speech system +Group: User Interface/Desktops + +%description -n trinity-ksayit +Text-to-speech front-end to kttsd. + +This package is part of Trinity, as a component of the TDE accessibility module. + +%files -n trinity-ksayit +%defattr(-,root,root,-) +%{tde_bindir}/ksayit +%{tde_tdeincludedir}/ksayit_fxplugin.h +%{tde_tdelibdir}/libFreeverb_plugin.la +%{tde_tdelibdir}/libFreeverb_plugin.so +%{tde_libdir}/libKTTSD_Lib.so.* +%{tde_tdeappdir}/ksayit.desktop +%{tde_datadir}/apps/ksayit/ +%{tde_datadir}/icons/hicolor/*/apps/ksayit.png +%{tde_datadir}/icons/hicolor/32x32/apps/ksayit_clipempty.png +%{tde_datadir}/icons/hicolor/32x32/apps/ksayit_talking.png +%{tde_datadir}/services/ksayit_libFreeverb.desktop +%{tde_datadir}/servicetypes/ksayit_libFreeverb_service.desktop + +%post -n trinity-ksayit +/sbin/ldconfig ||: +for icon_theme in mono hicolor locolor ; do + touch --no-create %{_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ksayit +/sbin/ldconfig ||: +for icon_theme in mono hicolor locolor ; do + touch --no-create %{_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kttsd +Summary: A Text-to-Speech system for TDE +Group: User Interface/Desktops + +%description -n trinity-kttsd +The KDE Text-to-Speech system is a plugin based service that allows any KDE +(or non-KDE) application to speak using the DCOP interface. + +ksayit and kmouth are useful front-ends for this capability, while one of +festival, flite, and epos are essential back-ends. + +This package is part of Trinity, as a component of the TDE accessibility module. + +Homepage: http://accessibility.kde.org/developer/kttsd + +%files -n trinity-kttsd +%defattr(-,root,root,-) +%{tde_bindir}/kttsd +%{tde_bindir}/kttsmgr +%{tde_tdelibdir}/kcm_kttsd.la +%{tde_tdelibdir}/kcm_kttsd.so +%{tde_tdelibdir}/ktexteditor_kttsd.la +%{tde_tdelibdir}/ktexteditor_kttsd.so +%{tde_tdelibdir}/libkttsd_akodeplugin.la +%{tde_tdelibdir}/libkttsd_akodeplugin.so +%{tde_tdelibdir}/libkttsd_alsaplugin.la +%{tde_tdelibdir}/libkttsd_alsaplugin.so +%{tde_tdelibdir}/libkttsd_artsplugin.la +%{tde_tdelibdir}/libkttsd_artsplugin.so +%{tde_tdelibdir}/libkttsd_commandplugin.la +%{tde_tdelibdir}/libkttsd_commandplugin.so +%{tde_tdelibdir}/libkttsd_eposplugin.la +%{tde_tdelibdir}/libkttsd_eposplugin.so +%{tde_tdelibdir}/libkttsd_festivalintplugin.la +%{tde_tdelibdir}/libkttsd_festivalintplugin.so +%{tde_tdelibdir}/libkttsd_fliteplugin.la +%{tde_tdelibdir}/libkttsd_fliteplugin.so +%{tde_tdelibdir}/libkttsd_sbdplugin.la +%{tde_tdelibdir}/libkttsd_sbdplugin.so +%{tde_tdelibdir}/libkttsd_stringreplacerplugin.la +%{tde_tdelibdir}/libkttsd_stringreplacerplugin.so +%{tde_tdelibdir}/libkttsd_talkerchooserplugin.la +%{tde_tdelibdir}/libkttsd_talkerchooserplugin.so +%{tde_tdelibdir}/libkttsd_xmltransformerplugin.la +%{tde_tdelibdir}/libkttsd_xmltransformerplugin.so +%{tde_tdelibdir}/libkttsjobmgrpart.la +%{tde_tdelibdir}/libkttsjobmgrpart.so +%{tde_libdir}/libkttsd.so.* +%{tde_tdeappdir}/kcmkttsd.desktop +%{tde_tdeappdir}/kttsmgr.desktop +%{tde_datadir}/apps/ktexteditor_kttsd/ktexteditor_kttsdui.rc +%exclude %{tde_datadir}/apps/kttsd/hadifix/xslt/SSMLtoTxt2pho.xsl +%{tde_datadir}/apps/kttsd/ +%{tde_datadir}/icons/hicolor/16x16/actions/female.png +%{tde_datadir}/icons/hicolor/16x16/actions/male.png +%{tde_datadir}/services/ktexteditor_kttsd.desktop +%{tde_datadir}/services/kttsd.desktop +%{tde_datadir}/services/kttsd_akodeplugin.desktop +%{tde_datadir}/services/kttsd_alsaplugin.desktop +%{tde_datadir}/services/kttsd_artsplugin.desktop +%{tde_datadir}/services/kttsd_commandplugin.desktop +%{tde_datadir}/services/kttsd_eposplugin.desktop +%{tde_datadir}/services/kttsd_festivalintplugin.desktop +%{tde_datadir}/services/kttsd_fliteplugin.desktop +%{tde_datadir}/services/kttsd_sbdplugin.desktop +%{tde_datadir}/services/kttsd_stringreplacerplugin.desktop +%{tde_datadir}/services/kttsd_talkerchooserplugin.desktop +%{tde_datadir}/services/kttsd_xmltransformerplugin.desktop +%{tde_datadir}/services/kttsjobmgr.desktop +%{tde_datadir}/servicetypes/kttsd_audioplugin.desktop +%{tde_datadir}/servicetypes/kttsd_filterplugin.desktop +%{tde_datadir}/servicetypes/kttsd_synthplugin.desktop +%{tde_datadir}/icons/crystalsvg/*/apps/kttsd.png +%{tde_datadir}/icons/crystalsvg/*/apps/kttsd.svgz +%{tde_tdedocdir}/HTML/en/kttsd/ + +%post -n trinity-kttsd +/sbin/ldconfig ||: +for icon_theme in crystalsvg hicolor locolor ; do + touch --no-create %{_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kttsd +/sbin/ldconfig ||: +for icon_theme in crystalsvg hicolor locolor ; do + touch --no-create %{_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kttsd-contrib-plugins +Summary: the TDE Text-to-Speech system +Group: User Interface/Desktops +Requires: trinity-kttsd = %{version}-%{release} + +%description -n trinity-kttsd-contrib-plugins +kttsd synthetizer plugins that depends on non-free software : +* FreeTTS plugin. +* Hadifix (mbrola/txt2pho) plugin. +Those plugins will require manual installation of third party, +non free software to work. + +This package is part of Trinity, as a component of the TDE accessibility module. + +%files -n trinity-kttsd-contrib-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/libkttsd_freettsplugin.la +%{tde_tdelibdir}/libkttsd_freettsplugin.so +%{tde_tdelibdir}/libkttsd_hadifixplugin.la +%{tde_tdelibdir}/libkttsd_hadifixplugin.so +%{tde_datadir}/apps/kttsd/hadifix/xslt/SSMLtoTxt2pho.xsl +%{tde_datadir}/services/kttsd_freettsplugin.desktop +%{tde_datadir}/services/kttsd_hadifixplugin.desktop + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: trinity-tdelibs-devel >= 3.5.13 + +Obsoletes: trinity-kdeaccessibility-devel < %{version}-%{release} +Provides: trinity-kdeaccessibility-devel = %{version}-%{release} + +%description devel +%{summary}. + +%files devel +%defattr(-,root,root,-) +%{tde_libdir}/libkttsd.la +%{tde_libdir}/libkttsd.so +%{tde_libdir}/libKTTSD_Lib.la +%{tde_libdir}/libKTTSD_Lib.so + +%post devel +/sbin/ldconfig ||: + +%postun devel +/sbin/ldconfig ||: + +########## + +%prep +%setup -q -n kdeaccessibility +%patch1 -p1 -b .ftbfs + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +# Avoir conflict with KDE4, if installed +# see file: '/etc/profile.d/kde.sh' from package 'kde-settings' +export KDEDIRS=%{tde_prefix} +export KDEDIR=%{tde_prefix} + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --enable-new-ldflags \ + --enable-closure \ + --disable-debug --disable-warnings \ + --enable-final \ + --enable-ksayit-audio-plugins \ + --with-akode \ + --with-extra-includes=%{tde_includedir}:%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# file lists for locale +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}/$HTML_DIR ]; then + for lang_dir in %{buildroot}/$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi + done +fi + + +%clean +%__rm -rf %{buildroot} + + + +%changelog +* Tue Jul 30 2012 Francois Andriot - 3.5.13-3 +- Split into several packages +- Renames to 'trinity-tdeaccessibility' +- Add support for Mageia 2 + +* Fri Nov 25 2011 Francois Andriot - 3.5.13-2 +- Fix HTML directory location + +* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 +- Initial release for RHEL 6, RHEL 5 and Fedora 15 + +* Sun Sep 11 2011 Francois Andriot - 3.5.13-0 +- Import to GIT +- Spec file based on Fedora 8 "kdeaccessibility-3.5.10-1" diff --git a/redhat/tdeaccessibility/tdeaccessibility-3.5.13.2.spec b/redhat/tdeaccessibility/tdeaccessibility-3.5.13.2.spec new file mode 100644 index 000000000..fcd506a32 --- /dev/null +++ b/redhat/tdeaccessibility/tdeaccessibility-3.5.13.2.spec @@ -0,0 +1,519 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Summary: Trinity Desktop Environment - Accessibility +Name: trinity-tdeaccessibility +Version: 3.5.13.2 +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} + +License: GPLv2 +Group: User Interface/Desktops + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: autoconf automake libtool m4 +BuildRequires: desktop-file-utils +BuildRequires: trinity-akode-devel +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: trinity-tdemultimedia-devel >= %{version} + +BuildRequires: alsa-lib-devel + +# X11 Libraries +%if 0%{?fedora} > 4 || 0%{?rhel} > 4 +BuildRequires: libXtst-devel +%endif + +# XCB support +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?pclinuxos} +BuildRequires: libxcb-devel +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xcb-devel +%endif + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xi-devel +BuildRequires: %{_lib}xext%{?mgaversion:6}-devel +BuildRequires: %{_lib}x11%{?mgaversion:_6}-devel +BuildRequires: %{_lib}xau%{?mgaversion:6}-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 +BuildRequires: libXi-devel +BuildRequires: libXext-devel +BuildRequires: libX11-devel +BuildRequires: libXau-devel +%endif +%if 0%{?rhel} == 4 || 0%{?suse_version} == 1140 +BuildRequires: xorg-x11-devel +%endif + +Obsoletes: trinity-kdeaccessibility < %{version}-%{release} +Provides: trinity-kdeaccessibility = %{version}-%{release} +Obsoletes: trinity-kdeaccessibility-libs < %{version}-%{release} +Provides: trinity-kdeaccessibility-libs = %{version}-%{release} + +Requires: trinity-kde-icons-mono = %{version}-%{release} +Requires: trinity-kbstate = %{version}-%{release} +Requires: trinity-kmag = %{version}-%{release} +Requires: trinity-kmousetool = %{version}-%{release} +Requires: trinity-kmouth = %{version}-%{release} +Requires: trinity-ksayit = %{version}-%{release} +Requires: trinity-kttsd = %{version}-%{release} +Requires: trinity-kttsd-contrib-plugins = %{version}-%{release} + +%description +Included with this package are: +* kmag, a screen magnifier, +* kmousetool, a program for people whom it hurts to click the mouse, +* kmouth, program that allows people who have lost their voice + to let their computer speak for them. + +%files + +########## + +%package -n trinity-kde-icons-mono +Summary: A monochromatic icons theme for TDE +Group: User Interface/Desktops + +%description -n trinity-kde-icons-mono +A monochromatic icon theme for TDE, designed for accessibility purposes. + +This package is part of Trinity, as a component of the TDE accessibility module. + +%files -n trinity-kde-icons-mono +%defattr(-,root,root,-) +%{tde_datadir}/icons/mono/index.theme +%{tde_datadir}/icons/mono/scalable/*/*.svgz + +########## + +%package -n trinity-kbstate +Summary: a keyboard status applet for TDE +Group: User Interface/Desktops + +%description -n trinity-kbstate +A panel applet that displays the keyboard status. + +This package is part of Trinity, as a component of the TDE accessibility module. + +%files -n trinity-kbstate +%defattr(-,root,root,-) +%{tde_tdelibdir}/kbstate_panelapplet.la +%{tde_tdelibdir}/kbstate_panelapplet.so +%{tde_datadir}/apps/kbstateapplet/ +%{tde_datadir}/apps/kicker/applets/kbstateapplet.desktop + +########## + +%package -n trinity-kmag +Summary: A screen magnifier for TDE +Group: User Interface/Desktops + +%description -n trinity-kmag +KDE's screen magnifier tool. + +You can use KMagnifier to magnify a part of the screen just as you would use +a lens to magnify a newspaper fine-print or a photograph. This application is +useful for a variety of people: from researchers to artists to web-designers to +people with low vision. + +This package is part of Trinity, as a component of the TDE accessibility module. + +%files -n trinity-kmag +%defattr(-,root,root,-) +%{tde_bindir}/kmag +%{tde_datadir}/applnk/Applications/kmag.desktop +%{tde_datadir}/apps/kmag/ +%{tde_datadir}/icons/hicolor/*/apps/kmag.png +%{tde_datadir}/icons/locolor/*/apps/kmag.png +%{tde_tdedocdir}/HTML/en/kmag/ + +%post -n trinity-kmag +/sbin/ldconfig ||: +for icon_theme in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done + +%postun -n trinity-kmag +/sbin/ldconfig ||: +for icon_theme in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done + +########## + +%package -n trinity-kmousetool +Summary: TDE mouse manipulation tool for the disabled +Group: User Interface/Desktops + +%description -n trinity-kmousetool +KMouseTool clicks the mouse whenever the mouse cursor pauses briefly. It was +designed to help those with repetitive strain injuries, for whom pressing +buttons hurts. + +This package is part of Trinity, as a component of the TDE accessibility module. + +%files -n trinity-kmousetool +%defattr(-,root,root,-) +%{tde_bindir}/kmousetool +%{tde_datadir}/applnk/Applications/kmousetool.desktop +%{tde_datadir}/apps/kmousetool/ +%{tde_datadir}/icons/hicolor/*/apps/kmousetool.png +%{tde_tdedocdir}/HTML/en/kmousetool/ + +%post -n trinity-kmousetool +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done + +%postun -n trinity-kmousetool +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done + +########## + +%package -n trinity-kmouth +Summary: A type-and-say KDE frontend for speech synthesizers +Group: User Interface/Desktops + +%description -n trinity-kmouth +KDE's type-and-say frontend for speech synthesizers. + +It includes a history of spoken sentences from which the user can select +sentences to be re-spoken. + +This package is part of Trinity, as a component of the TDE accessibility module. + +%files -n trinity-kmouth +%defattr(-,root,root,-) +%{tde_datadir}/config/kmouthrc +%{tde_bindir}/kmouth +%{tde_datadir}/applnk/Applications/kmouth.desktop +%{tde_datadir}/apps/kmouth/ +%{tde_datadir}/icons/hicolor/*/actions/speak.png +%{tde_datadir}/icons/hicolor/*/actions/nospeak.png +%{tde_datadir}/icons/hicolor/*/apps/kmouth.png +%{tde_datadir}/icons/locolor/*/actions/speak.png +%{tde_datadir}/icons/locolor/*/apps/kmouth.png +%{tde_tdedocdir}/HTML/en/kmouth/ + +%post -n trinity-kmouth +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done + +%postun -n trinity-kmouth +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done + +########## + +%package -n trinity-ksayit +Summary: A frontend for the TDE Text-to-Speech system +Group: User Interface/Desktops + +%description -n trinity-ksayit +Text-to-speech front-end to kttsd. + +This package is part of Trinity, as a component of the TDE accessibility module. + +%files -n trinity-ksayit +%defattr(-,root,root,-) +%{tde_bindir}/ksayit +%{tde_tdeincludedir}/ksayit_fxplugin.h +%{tde_tdelibdir}/libFreeverb_plugin.la +%{tde_tdelibdir}/libFreeverb_plugin.so +%{tde_libdir}/libKTTSD_Lib.so.* +%{tde_tdeappdir}/ksayit.desktop +%{tde_datadir}/apps/ksayit/ +%{tde_datadir}/icons/hicolor/*/apps/ksayit.png +%{tde_datadir}/icons/hicolor/32x32/apps/ksayit_clipempty.png +%{tde_datadir}/icons/hicolor/32x32/apps/ksayit_talking.png +%{tde_datadir}/services/ksayit_libFreeverb.desktop +%{tde_datadir}/servicetypes/ksayit_libFreeverb_service.desktop + +%post -n trinity-ksayit +/sbin/ldconfig ||: +for icon_theme in mono hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ksayit +/sbin/ldconfig ||: +for icon_theme in mono hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kttsd +Summary: A Text-to-Speech system for TDE +Group: User Interface/Desktops + +%description -n trinity-kttsd +The KDE Text-to-Speech system is a plugin based service that allows any KDE +(or non-KDE) application to speak using the DCOP interface. + +ksayit and kmouth are useful front-ends for this capability, while one of +festival, flite, and epos are essential back-ends. + +This package is part of Trinity, as a component of the TDE accessibility module. + +Homepage: http://accessibility.kde.org/developer/kttsd + +%files -n trinity-kttsd +%defattr(-,root,root,-) +%{tde_bindir}/kttsd +%{tde_bindir}/kttsmgr +%{tde_tdelibdir}/kcm_kttsd.la +%{tde_tdelibdir}/kcm_kttsd.so +%{tde_tdelibdir}/ktexteditor_kttsd.la +%{tde_tdelibdir}/ktexteditor_kttsd.so +%{tde_tdelibdir}/libkttsd_akodeplugin.la +%{tde_tdelibdir}/libkttsd_akodeplugin.so +%{tde_tdelibdir}/libkttsd_alsaplugin.la +%{tde_tdelibdir}/libkttsd_alsaplugin.so +%{tde_tdelibdir}/libkttsd_artsplugin.la +%{tde_tdelibdir}/libkttsd_artsplugin.so +%{tde_tdelibdir}/libkttsd_commandplugin.la +%{tde_tdelibdir}/libkttsd_commandplugin.so +%{tde_tdelibdir}/libkttsd_eposplugin.la +%{tde_tdelibdir}/libkttsd_eposplugin.so +%{tde_tdelibdir}/libkttsd_festivalintplugin.la +%{tde_tdelibdir}/libkttsd_festivalintplugin.so +%{tde_tdelibdir}/libkttsd_fliteplugin.la +%{tde_tdelibdir}/libkttsd_fliteplugin.so +%{tde_tdelibdir}/libkttsd_sbdplugin.la +%{tde_tdelibdir}/libkttsd_sbdplugin.so +%{tde_tdelibdir}/libkttsd_stringreplacerplugin.la +%{tde_tdelibdir}/libkttsd_stringreplacerplugin.so +%{tde_tdelibdir}/libkttsd_talkerchooserplugin.la +%{tde_tdelibdir}/libkttsd_talkerchooserplugin.so +%{tde_tdelibdir}/libkttsd_xmltransformerplugin.la +%{tde_tdelibdir}/libkttsd_xmltransformerplugin.so +%{tde_tdelibdir}/libkttsjobmgrpart.la +%{tde_tdelibdir}/libkttsjobmgrpart.so +%{tde_libdir}/libkttsd.so.* +%{tde_tdeappdir}/kcmkttsd.desktop +%{tde_tdeappdir}/kttsmgr.desktop +%{tde_datadir}/apps/ktexteditor_kttsd/ktexteditor_kttsdui.rc +%exclude %{tde_datadir}/apps/kttsd/hadifix/xslt/SSMLtoTxt2pho.xsl +%{tde_datadir}/apps/kttsd/ +%{tde_datadir}/icons/hicolor/16x16/actions/female.png +%{tde_datadir}/icons/hicolor/16x16/actions/male.png +%{tde_datadir}/services/ktexteditor_kttsd.desktop +%{tde_datadir}/services/kttsd.desktop +%{tde_datadir}/services/kttsd_akodeplugin.desktop +%{tde_datadir}/services/kttsd_alsaplugin.desktop +%{tde_datadir}/services/kttsd_artsplugin.desktop +%{tde_datadir}/services/kttsd_commandplugin.desktop +%{tde_datadir}/services/kttsd_eposplugin.desktop +%{tde_datadir}/services/kttsd_festivalintplugin.desktop +%{tde_datadir}/services/kttsd_fliteplugin.desktop +%{tde_datadir}/services/kttsd_sbdplugin.desktop +%{tde_datadir}/services/kttsd_stringreplacerplugin.desktop +%{tde_datadir}/services/kttsd_talkerchooserplugin.desktop +%{tde_datadir}/services/kttsd_xmltransformerplugin.desktop +%{tde_datadir}/services/kttsjobmgr.desktop +%{tde_datadir}/servicetypes/kttsd_audioplugin.desktop +%{tde_datadir}/servicetypes/kttsd_filterplugin.desktop +%{tde_datadir}/servicetypes/kttsd_synthplugin.desktop +%{tde_datadir}/icons/crystalsvg/*/apps/kttsd.png +%{tde_datadir}/icons/crystalsvg/*/apps/kttsd.svgz +%{tde_tdedocdir}/HTML/en/kttsd/ + +%post -n trinity-kttsd +/sbin/ldconfig ||: +for icon_theme in crystalsvg hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kttsd +/sbin/ldconfig ||: +for icon_theme in crystalsvg hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kttsd-contrib-plugins +Summary: the TDE Text-to-Speech system +Group: User Interface/Desktops +Requires: trinity-kttsd = %{version}-%{release} + +%description -n trinity-kttsd-contrib-plugins +kttsd synthetizer plugins that depends on non-free software : +* FreeTTS plugin. +* Hadifix (mbrola/txt2pho) plugin. +Those plugins will require manual installation of third party, +non free software to work. + +This package is part of Trinity, as a component of the TDE accessibility module. + +%files -n trinity-kttsd-contrib-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/libkttsd_freettsplugin.la +%{tde_tdelibdir}/libkttsd_freettsplugin.so +%{tde_tdelibdir}/libkttsd_hadifixplugin.la +%{tde_tdelibdir}/libkttsd_hadifixplugin.so +%{tde_datadir}/apps/kttsd/hadifix/xslt/SSMLtoTxt2pho.xsl +%{tde_datadir}/services/kttsd_freettsplugin.desktop +%{tde_datadir}/services/kttsd_hadifixplugin.desktop + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: trinity-tdelibs-devel >= %{version} + +Obsoletes: trinity-kdeaccessibility-devel < %{version}-%{release} +Provides: trinity-kdeaccessibility-devel = %{version}-%{release} + +%description devel +%{summary}. + +%files devel +%defattr(-,root,root,-) +%{tde_libdir}/libkttsd.la +%{tde_libdir}/libkttsd.so +%{tde_libdir}/libKTTSD_Lib.la +%{tde_libdir}/libKTTSD_Lib.so + +%post devel +/sbin/ldconfig ||: + +%postun devel +/sbin/ldconfig ||: + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +# Avoids conflict with KDE4, if installed +# see file: '/etc/profile.d/kde.sh' from package 'kde-settings' +export KDEDIRS=%{tde_prefix} +export KDEDIR=%{tde_prefix} + +# Specific path for RHEL4 +if [ -d /usr/X11R6 ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --enable-new-ldflags \ + --enable-closure \ + --disable-debug --disable-warnings \ + --enable-final \ + --enable-ksayit-audio-plugins \ + --with-akode \ + --with-extra-includes=%{tde_includedir}:%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# file lists for locale +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}/$HTML_DIR ]; then + for lang_dir in %{buildroot}/$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi + done +fi + + +%clean +%__rm -rf %{buildroot} + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 +- Initial release for TDE 3.5.13.2 diff --git a/redhat/tdeaccessibility/trinity-kdeaccessibility-3.5.12.spec b/redhat/tdeaccessibility/trinity-kdeaccessibility-3.5.12.spec deleted file mode 100644 index 633fdc76b..000000000 --- a/redhat/tdeaccessibility/trinity-kdeaccessibility-3.5.12.spec +++ /dev/null @@ -1,180 +0,0 @@ -# Default version for this component -%if "%{?version}" == "" -%define version 3.5.12 -%endif -%define release 2 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_includedir %{_includedir}/kde -%define tde_libdir %{_libdir}/kde3 - - -Summary: K Desktop Environment - Accessibility -Name: trinity-kdeaccessibility -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} - -License: GPLv2 -Group: User Interface/Desktops - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: kdeaccessibility-%{version}.tar.gz - - -Provides: kdeaccessibility3 = %{version}-%{release} - -Requires: trinity-kdelibs -Requires(post): /sbin/ldconfig -Requires(postun): /sbin/ldconfig - -BuildRequires: desktop-file-utils -BuildRequires: trinity-kdelibs-devel -BuildRequires: alsa-lib-devel -%if 0%{?fedora} > 4 || 0%{?rhel} > 4 -BuildRequires: libXtst-devel -%endif - -%description -Included with this package are: -* kmag, a screen magnifier, -* kmousetool, a program for people whom it hurts to click the mouse, -* kmouth, program that allows people who have lost their voice - to let their computer speak for them. - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Provides: kdeaccessibility3-devel = %{version}-%{release} -Requires: %{name} = %{version}-%{release} -Requires: trinity-kdelibs-devel -%description devel -%{summary}. - - -%prep -%setup -q -n kdeaccessibility - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -%configure \ - --includedir=%{tde_includedir} \ - --disable-rpath \ - --enable-new-ldflags \ - --disable-debug --disable-warnings \ - --disable-dependancy-tracking --enable-final \ - --with-extra-includes=%{_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -desktop-file-install \ - --vendor="" \ - --dir %{buildroot}%{_datadir}/applications/kde \ - --delete-original \ - %{buildroot}%{_datadir}/applnk/Applications/*.desktop ||: - -# file lists for locale -%find_lang %{name} || touch %{name}.lang -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}/$HTML_DIR ]; then - for lang_dir in %{buildroot}/$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common - done - popd - fi - done -fi - -# rpmdocs -for dir in kmag kmousetool ksayit kttsd ; do - for file in AUTHORS ChangeLog README TODO ; do - test -s $dir/$file && install -p -m644 -D $dir/$file rpmdocs/$dir/$file - done -done - - - -%clean -%__rm -rf %{buildroot} - - -%post -/sbin/ldconfig ||: -for icon_theme in mono hicolor locolor ; do - touch --no-create %{_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -/sbin/ldconfig ||: -for icon_theme in mono hicolor locolor ; do - touch --no-create %{_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - - -%files -f %{name}.lang -%defattr(-,root,root,-) -%doc COPYING -%doc rpmdocs/* -%{_bindir}/* -%{_datadir}/applications/kde/*.desktop -%{_datadir}/apps/*/ -%{_datadir}/config/* -%{_datadir}/icons/hicolor/*/*/* -%{_datadir}/icons/locolor/*/*/* -%{_datadir}/icons/mono/ -%{_datadir}/service*/*.desktop -%{_libdir}/lib*.so.* -%{_libdir}/*.la -%{tde_libdir}/* - -%files devel -%defattr(-,root,root,-) -%{tde_includedir}/* -%{_libdir}/lib*.so - - -%changelog -* Mon Sep 19 2011 Francois Andriot - 3.5.12-2 -- Add support for RHEL5 - -* Sun Sep 11 2011 Francois Andriot - 3.5.12-1 -- Initial build for RHEL 6 -- Spec file based on Fedora 8 "kdeaccessibility-3.5.10-1" -- Import to GIT diff --git a/redhat/tdeaccessibility/trinity-kdeaccessibility-3.5.13.1.spec b/redhat/tdeaccessibility/trinity-kdeaccessibility-3.5.13.1.spec deleted file mode 100644 index 9fcde2131..000000000 --- a/redhat/tdeaccessibility/trinity-kdeaccessibility-3.5.13.1.spec +++ /dev/null @@ -1,525 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Summary: Trinity Desktop Environment - Accessibility -Name: trinity-tdeaccessibility -Version: 3.5.13.1 -Release: 1%{?dist}%{?_variant} - -License: GPLv2 -Group: User Interface/Desktops - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Source0: kdeaccessibility-3.5.13.1.tar.gz - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: autoconf automake libtool m4 -BuildRequires: desktop-file-utils -BuildRequires: trinity-akode-devel -BuildRequires: trinity-arts-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} -BuildRequires: trinity-tdemultimedia-devel >= %{version} - -BuildRequires: alsa-lib-devel - -# X11 Libraries -%if 0%{?fedora} > 4 || 0%{?rhel} > 4 -BuildRequires: libXtst-devel -%endif - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xi-devel -BuildRequires: %{_lib}xext%{?mgaversion:6}-devel -BuildRequires: %{_lib}x11%{?mgaversion:_6}-devel -BuildRequires: %{_lib}xcb-devel -BuildRequires: %{_lib}xau%{?mgaversion:6}-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} -BuildRequires: libXi-devel -BuildRequires: libXext-devel -BuildRequires: libX11-devel -%if 0%{?rhel} >= 6 || 0%{?fedora} -BuildRequires: libxcb-devel -%endif -BuildRequires: libXau-devel -%endif -%if 0%{?rhel} == 4 -BuildRequires: xorg-x11-devel -%endif - -# Mageia only: Special packages were built for missing '.la' files on Mageia 2 !!! -%if 0%{?mgaversion} -BuildRequires: %{_lib}xi-devel-libtool -BuildRequires: %{_lib}xext6-devel-libtool -BuildRequires: %{_lib}x11_6-devel-libtool -BuildRequires: %{_lib}xcb-devel-libtool -BuildRequires: %{_lib}xau6-devel-libtool -%endif - -Obsoletes: trinity-kdeaccessibility < %{version}-%{release} -Provides: trinity-kdeaccessibility = %{version}-%{release} -Obsoletes: trinity-kdeaccessibility-libs < %{version}-%{release} -Provides: trinity-kdeaccessibility-libs = %{version}-%{release} - -Requires: trinity-kde-icons-mono = %{version}-%{release} -Requires: trinity-kbstate = %{version}-%{release} -Requires: trinity-kmag = %{version}-%{release} -Requires: trinity-kmousetool = %{version}-%{release} -Requires: trinity-kmouth = %{version}-%{release} -Requires: trinity-ksayit = %{version}-%{release} -Requires: trinity-kttsd = %{version}-%{release} -Requires: trinity-kttsd-contrib-plugins = %{version}-%{release} - -%description -Included with this package are: -* kmag, a screen magnifier, -* kmousetool, a program for people whom it hurts to click the mouse, -* kmouth, program that allows people who have lost their voice - to let their computer speak for them. - -%files - -########## - -%package -n trinity-kde-icons-mono -Summary: A monochromatic icons theme for TDE -Group: User Interface/Desktops - -%description -n trinity-kde-icons-mono -A monochromatic icon theme for TDE, designed for accessibility purposes. - -This package is part of Trinity, as a component of the TDE accessibility module. - -%files -n trinity-kde-icons-mono -%defattr(-,root,root,-) -%{tde_datadir}/icons/mono/index.theme -%{tde_datadir}/icons/mono/scalable/*/*.svgz - -########## - -%package -n trinity-kbstate -Summary: a keyboard status applet for TDE -Group: User Interface/Desktops - -%description -n trinity-kbstate -A panel applet that displays the keyboard status. - -This package is part of Trinity, as a component of the TDE accessibility module. - -%files -n trinity-kbstate -%defattr(-,root,root,-) -%{tde_tdelibdir}/kbstate_panelapplet.la -%{tde_tdelibdir}/kbstate_panelapplet.so -%{tde_datadir}/apps/kbstateapplet/ -%{tde_datadir}/apps/kicker/applets/kbstateapplet.desktop - -########## - -%package -n trinity-kmag -Summary: A screen magnifier for TDE -Group: User Interface/Desktops - -%description -n trinity-kmag -KDE's screen magnifier tool. - -You can use KMagnifier to magnify a part of the screen just as you would use -a lens to magnify a newspaper fine-print or a photograph. This application is -useful for a variety of people: from researchers to artists to web-designers to -people with low vision. - -This package is part of Trinity, as a component of the TDE accessibility module. - -%files -n trinity-kmag -%defattr(-,root,root,-) -%{tde_bindir}/kmag -%{tde_datadir}/applnk/Applications/kmag.desktop -%{tde_datadir}/apps/kmag/ -%{tde_datadir}/icons/hicolor/*/apps/kmag.png -%{tde_datadir}/icons/locolor/*/apps/kmag.png -%{tde_tdedocdir}/HTML/en/kmag/ - -%post -n trinity-kmag -/sbin/ldconfig ||: -for icon_theme in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done - -%postun -n trinity-kmag -/sbin/ldconfig ||: -for icon_theme in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done - -########## - -%package -n trinity-kmousetool -Summary: TDE mouse manipulation tool for the disabled -Group: User Interface/Desktops - -%description -n trinity-kmousetool -KMouseTool clicks the mouse whenever the mouse cursor pauses briefly. It was -designed to help those with repetitive strain injuries, for whom pressing -buttons hurts. - -This package is part of Trinity, as a component of the TDE accessibility module. - -%files -n trinity-kmousetool -%defattr(-,root,root,-) -%{tde_bindir}/kmousetool -%{tde_datadir}/applnk/Applications/kmousetool.desktop -%{tde_datadir}/apps/kmousetool/ -%{tde_datadir}/icons/hicolor/*/apps/kmousetool.png -%{tde_tdedocdir}/HTML/en/kmousetool/ - -%post -n trinity-kmousetool -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done - -%postun -n trinity-kmousetool -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done - -########## - -%package -n trinity-kmouth -Summary: A type-and-say KDE frontend for speech synthesizers -Group: User Interface/Desktops - -%description -n trinity-kmouth -KDE's type-and-say frontend for speech synthesizers. - -It includes a history of spoken sentences from which the user can select -sentences to be re-spoken. - -This package is part of Trinity, as a component of the TDE accessibility module. - -%files -n trinity-kmouth -%defattr(-,root,root,-) -%{tde_datadir}/config/kmouthrc -%{tde_bindir}/kmouth -%{tde_datadir}/applnk/Applications/kmouth.desktop -%{tde_datadir}/apps/kmouth/ -%{tde_datadir}/icons/hicolor/*/actions/speak.png -%{tde_datadir}/icons/hicolor/*/actions/nospeak.png -%{tde_datadir}/icons/hicolor/*/apps/kmouth.png -%{tde_datadir}/icons/locolor/*/actions/speak.png -%{tde_datadir}/icons/locolor/*/apps/kmouth.png -%{tde_tdedocdir}/HTML/en/kmouth/ - -%post -n trinity-kmouth -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done - -%postun -n trinity-kmouth -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done - -########## - -%package -n trinity-ksayit -Summary: A frontend for the TDE Text-to-Speech system -Group: User Interface/Desktops - -%description -n trinity-ksayit -Text-to-speech front-end to kttsd. - -This package is part of Trinity, as a component of the TDE accessibility module. - -%files -n trinity-ksayit -%defattr(-,root,root,-) -%{tde_bindir}/ksayit -%{tde_tdeincludedir}/ksayit_fxplugin.h -%{tde_tdelibdir}/libFreeverb_plugin.la -%{tde_tdelibdir}/libFreeverb_plugin.so -%{tde_libdir}/libKTTSD_Lib.so.* -%{tde_tdeappdir}/ksayit.desktop -%{tde_datadir}/apps/ksayit/ -%{tde_datadir}/icons/hicolor/*/apps/ksayit.png -%{tde_datadir}/icons/hicolor/32x32/apps/ksayit_clipempty.png -%{tde_datadir}/icons/hicolor/32x32/apps/ksayit_talking.png -%{tde_datadir}/services/ksayit_libFreeverb.desktop -%{tde_datadir}/servicetypes/ksayit_libFreeverb_service.desktop - -%post -n trinity-ksayit -/sbin/ldconfig ||: -for icon_theme in mono hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ksayit -/sbin/ldconfig ||: -for icon_theme in mono hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kttsd -Summary: A Text-to-Speech system for TDE -Group: User Interface/Desktops - -%description -n trinity-kttsd -The KDE Text-to-Speech system is a plugin based service that allows any KDE -(or non-KDE) application to speak using the DCOP interface. - -ksayit and kmouth are useful front-ends for this capability, while one of -festival, flite, and epos are essential back-ends. - -This package is part of Trinity, as a component of the TDE accessibility module. - -Homepage: http://accessibility.kde.org/developer/kttsd - -%files -n trinity-kttsd -%defattr(-,root,root,-) -%{tde_bindir}/kttsd -%{tde_bindir}/kttsmgr -%{tde_tdelibdir}/kcm_kttsd.la -%{tde_tdelibdir}/kcm_kttsd.so -%{tde_tdelibdir}/ktexteditor_kttsd.la -%{tde_tdelibdir}/ktexteditor_kttsd.so -%{tde_tdelibdir}/libkttsd_akodeplugin.la -%{tde_tdelibdir}/libkttsd_akodeplugin.so -%{tde_tdelibdir}/libkttsd_alsaplugin.la -%{tde_tdelibdir}/libkttsd_alsaplugin.so -%{tde_tdelibdir}/libkttsd_artsplugin.la -%{tde_tdelibdir}/libkttsd_artsplugin.so -%{tde_tdelibdir}/libkttsd_commandplugin.la -%{tde_tdelibdir}/libkttsd_commandplugin.so -%{tde_tdelibdir}/libkttsd_eposplugin.la -%{tde_tdelibdir}/libkttsd_eposplugin.so -%{tde_tdelibdir}/libkttsd_festivalintplugin.la -%{tde_tdelibdir}/libkttsd_festivalintplugin.so -%{tde_tdelibdir}/libkttsd_fliteplugin.la -%{tde_tdelibdir}/libkttsd_fliteplugin.so -%{tde_tdelibdir}/libkttsd_sbdplugin.la -%{tde_tdelibdir}/libkttsd_sbdplugin.so -%{tde_tdelibdir}/libkttsd_stringreplacerplugin.la -%{tde_tdelibdir}/libkttsd_stringreplacerplugin.so -%{tde_tdelibdir}/libkttsd_talkerchooserplugin.la -%{tde_tdelibdir}/libkttsd_talkerchooserplugin.so -%{tde_tdelibdir}/libkttsd_xmltransformerplugin.la -%{tde_tdelibdir}/libkttsd_xmltransformerplugin.so -%{tde_tdelibdir}/libkttsjobmgrpart.la -%{tde_tdelibdir}/libkttsjobmgrpart.so -%{tde_libdir}/libkttsd.so.* -%{tde_tdeappdir}/kcmkttsd.desktop -%{tde_tdeappdir}/kttsmgr.desktop -%{tde_datadir}/apps/ktexteditor_kttsd/ktexteditor_kttsdui.rc -%exclude %{tde_datadir}/apps/kttsd/hadifix/xslt/SSMLtoTxt2pho.xsl -%{tde_datadir}/apps/kttsd/ -%{tde_datadir}/icons/hicolor/16x16/actions/female.png -%{tde_datadir}/icons/hicolor/16x16/actions/male.png -%{tde_datadir}/services/ktexteditor_kttsd.desktop -%{tde_datadir}/services/kttsd.desktop -%{tde_datadir}/services/kttsd_akodeplugin.desktop -%{tde_datadir}/services/kttsd_alsaplugin.desktop -%{tde_datadir}/services/kttsd_artsplugin.desktop -%{tde_datadir}/services/kttsd_commandplugin.desktop -%{tde_datadir}/services/kttsd_eposplugin.desktop -%{tde_datadir}/services/kttsd_festivalintplugin.desktop -%{tde_datadir}/services/kttsd_fliteplugin.desktop -%{tde_datadir}/services/kttsd_sbdplugin.desktop -%{tde_datadir}/services/kttsd_stringreplacerplugin.desktop -%{tde_datadir}/services/kttsd_talkerchooserplugin.desktop -%{tde_datadir}/services/kttsd_xmltransformerplugin.desktop -%{tde_datadir}/services/kttsjobmgr.desktop -%{tde_datadir}/servicetypes/kttsd_audioplugin.desktop -%{tde_datadir}/servicetypes/kttsd_filterplugin.desktop -%{tde_datadir}/servicetypes/kttsd_synthplugin.desktop -%{tde_datadir}/icons/crystalsvg/*/apps/kttsd.png -%{tde_datadir}/icons/crystalsvg/*/apps/kttsd.svgz -%{tde_tdedocdir}/HTML/en/kttsd/ - -%post -n trinity-kttsd -/sbin/ldconfig ||: -for icon_theme in crystalsvg hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kttsd -/sbin/ldconfig ||: -for icon_theme in crystalsvg hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kttsd-contrib-plugins -Summary: the TDE Text-to-Speech system -Group: User Interface/Desktops -Requires: trinity-kttsd = %{version}-%{release} - -%description -n trinity-kttsd-contrib-plugins -kttsd synthetizer plugins that depends on non-free software : -* FreeTTS plugin. -* Hadifix (mbrola/txt2pho) plugin. -Those plugins will require manual installation of third party, -non free software to work. - -This package is part of Trinity, as a component of the TDE accessibility module. - -%files -n trinity-kttsd-contrib-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/libkttsd_freettsplugin.la -%{tde_tdelibdir}/libkttsd_freettsplugin.so -%{tde_tdelibdir}/libkttsd_hadifixplugin.la -%{tde_tdelibdir}/libkttsd_hadifixplugin.so -%{tde_datadir}/apps/kttsd/hadifix/xslt/SSMLtoTxt2pho.xsl -%{tde_datadir}/services/kttsd_freettsplugin.desktop -%{tde_datadir}/services/kttsd_hadifixplugin.desktop - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} -Requires: trinity-tdelibs-devel >= %{version} - -Obsoletes: trinity-kdeaccessibility-devel < %{version}-%{release} -Provides: trinity-kdeaccessibility-devel = %{version}-%{release} - -%description devel -%{summary}. - -%files devel -%defattr(-,root,root,-) -%{tde_libdir}/libkttsd.la -%{tde_libdir}/libkttsd.so -%{tde_libdir}/libKTTSD_Lib.la -%{tde_libdir}/libKTTSD_Lib.so - -%post devel -/sbin/ldconfig ||: - -%postun devel -/sbin/ldconfig ||: - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n kdeaccessibility-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -# Avoids conflict with KDE4, if installed -# see file: '/etc/profile.d/kde.sh' from package 'kde-settings' -export KDEDIRS=%{tde_prefix} -export KDEDIR=%{tde_prefix} - -# Specific path for RHEL4 -if [ -d /usr/X11R6 ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --enable-new-ldflags \ - --enable-closure \ - --disable-debug --disable-warnings \ - --enable-final \ - --enable-ksayit-audio-plugins \ - --with-akode \ - --with-extra-includes=%{tde_includedir}:%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# file lists for locale -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}/$HTML_DIR ]; then - for lang_dir in %{buildroot}/$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common - done - popd - fi - done -fi - - -%clean -%__rm -rf %{buildroot} - - - -%changelog -* Sun Sep 30 2012 Francois Andriot - 3.5.13.1-1 -- Initial build for TDE 3.5.13.1 diff --git a/redhat/tdeaccessibility/trinity-kdeaccessibility-3.5.13.spec b/redhat/tdeaccessibility/trinity-kdeaccessibility-3.5.13.spec deleted file mode 100644 index 1e078db5b..000000000 --- a/redhat/tdeaccessibility/trinity-kdeaccessibility-3.5.13.spec +++ /dev/null @@ -1,523 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Summary: Trinity Desktop Environment - Accessibility -Name: trinity-tdeaccessibility -Version: 3.5.13 -Release: 3%{?dist}%{?_variant} - -License: GPLv2 -Group: User Interface/Desktops - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Source0: kdeaccessibility-%{version}.tar.gz - -# [kdeaccessibility] Missing LDFLAGS causing FTBFS -Patch1: kdeaccessibility-3.5.13-missing_ldflags.patch - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: cmake >= 2.8 -BuildRequires: desktop-file-utils -BuildRequires: trinity-tdelibs-devel >= 3.5.13 -BuildRequires: alsa-lib-devel -BuildRequires: trinity-akode-devel -BuildRequires: trinity-arts-devel >= 3.5.13 -BuildRequires: trinity-tdemultimedia-devel >= 3.5.13 - -%if 0%{?fedora} > 4 || 0%{?rhel} > 4 -BuildRequires: libXtst-devel -%endif - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xi-devel -BuildRequires: %{_lib}xext%{?mgaversion:6}-devel -BuildRequires: %{_lib}x11%{?mgaversion:_6}-devel -BuildRequires: %{_lib}xcb-devel -BuildRequires: %{_lib}xau%{?mgaversion:6}-devel -%else -BuildRequires: libXi-devel -BuildRequires: libXext-devel -BuildRequires: libX11-devel -%if 0%{?rhel} >= 6 || 0%{?fedora} -BuildRequires: libxcb-devel -%endif -BuildRequires: libXau-devel -%endif - -# Mageia only: Special packages were built for missing '.la' files on Mageia 2 !!! -%if 0%{?mgaversion} -BuildRequires: %{_lib}xi-devel-libtool -BuildRequires: %{_lib}xext6-devel-libtool -BuildRequires: %{_lib}x11_6-devel-libtool -BuildRequires: %{_lib}xcb-devel-libtool -BuildRequires: %{_lib}xau6-devel-libtool -%endif - -Obsoletes: trinity-kdeaccessibility < %{version}-%{release} -Provides: trinity-kdeaccessibility = %{version}-%{release} -Obsoletes: trinity-kdeaccessibility-libs < %{version}-%{release} -Provides: trinity-kdeaccessibility-libs = %{version}-%{release} - -Requires: trinity-kde-icons-mono = %{version}-%{release} -Requires: trinity-kbstate = %{version}-%{release} -Requires: trinity-kmag = %{version}-%{release} -Requires: trinity-kmousetool = %{version}-%{release} -Requires: trinity-kmouth = %{version}-%{release} -Requires: trinity-ksayit = %{version}-%{release} -Requires: trinity-kttsd = %{version}-%{release} -Requires: trinity-kttsd-contrib-plugins = %{version}-%{release} - -%description -Included with this package are: -* kmag, a screen magnifier, -* kmousetool, a program for people whom it hurts to click the mouse, -* kmouth, program that allows people who have lost their voice - to let their computer speak for them. - -%files - -########## - -%package -n trinity-kde-icons-mono -Summary: A monochromatic icons theme for TDE -Group: User Interface/Desktops - -%description -n trinity-kde-icons-mono -A monochromatic icon theme for TDE, designed for accessibility purposes. - -This package is part of Trinity, as a component of the TDE accessibility module. - -%files -n trinity-kde-icons-mono -%defattr(-,root,root,-) -%{tde_datadir}/icons/mono/index.theme -%{tde_datadir}/icons/mono/scalable/*/*.svgz - -########## - -%package -n trinity-kbstate -Summary: a keyboard status applet for TDE -Group: User Interface/Desktops - -%description -n trinity-kbstate -A panel applet that displays the keyboard status. - -This package is part of Trinity, as a component of the TDE accessibility module. - -%files -n trinity-kbstate -%defattr(-,root,root,-) -%{tde_tdelibdir}/kbstate_panelapplet.la -%{tde_tdelibdir}/kbstate_panelapplet.so -%{tde_datadir}/apps/kbstateapplet/ -%{tde_datadir}/apps/kicker/applets/kbstateapplet.desktop - -########## - -%package -n trinity-kmag -Summary: A screen magnifier for TDE -Group: User Interface/Desktops - -%description -n trinity-kmag -KDE's screen magnifier tool. - -You can use KMagnifier to magnify a part of the screen just as you would use -a lens to magnify a newspaper fine-print or a photograph. This application is -useful for a variety of people: from researchers to artists to web-designers to -people with low vision. - -This package is part of Trinity, as a component of the TDE accessibility module. - -%files -n trinity-kmag -%defattr(-,root,root,-) -%{tde_bindir}/kmag -%{tde_datadir}/applnk/Applications/kmag.desktop -%{tde_datadir}/apps/kmag/ -%{tde_datadir}/icons/hicolor/*/apps/kmag.png -%{tde_datadir}/icons/locolor/*/apps/kmag.png -%{tde_tdedocdir}/HTML/en/kmag/ - -%post -n trinity-kmag -/sbin/ldconfig ||: -for icon_theme in hicolor locolor ; do - touch --no-create %{_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/${icon_theme} 2> /dev/null ||: -done - -%postun -n trinity-kmag -/sbin/ldconfig ||: -for icon_theme in hicolor locolor ; do - touch --no-create %{_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/${icon_theme} 2> /dev/null ||: -done - -########## - -%package -n trinity-kmousetool -Summary: TDE mouse manipulation tool for the disabled -Group: User Interface/Desktops - -%description -n trinity-kmousetool -KMouseTool clicks the mouse whenever the mouse cursor pauses briefly. It was -designed to help those with repetitive strain injuries, for whom pressing -buttons hurts. - -This package is part of Trinity, as a component of the TDE accessibility module. - -%files -n trinity-kmousetool -%defattr(-,root,root,-) -%{tde_bindir}/kmousetool -%{tde_datadir}/applnk/Applications/kmousetool.desktop -%{tde_datadir}/apps/kmousetool/ -%{tde_datadir}/icons/hicolor/*/apps/kmousetool.png -%{tde_tdedocdir}/HTML/en/kmousetool/ - -%post -n trinity-kmousetool -for icon_theme in hicolor ; do - touch --no-create %{_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/${icon_theme} 2> /dev/null ||: -done - -%postun -n trinity-kmousetool -for icon_theme in hicolor ; do - touch --no-create %{_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/${icon_theme} 2> /dev/null ||: -done - -########## - -%package -n trinity-kmouth -Summary: A type-and-say KDE frontend for speech synthesizers -Group: User Interface/Desktops - -%description -n trinity-kmouth -KDE's type-and-say frontend for speech synthesizers. - -It includes a history of spoken sentences from which the user can select -sentences to be re-spoken. - -This package is part of Trinity, as a component of the TDE accessibility module. - -%files -n trinity-kmouth -%defattr(-,root,root,-) -%{tde_datadir}/config/kmouthrc -%{tde_bindir}/kmouth -%{tde_datadir}/applnk/Applications/kmouth.desktop -%{tde_datadir}/apps/kmouth/ -%{tde_datadir}/icons/hicolor/*/actions/speak.png -%{tde_datadir}/icons/hicolor/*/actions/nospeak.png -%{tde_datadir}/icons/hicolor/*/apps/kmouth.png -%{tde_datadir}/icons/locolor/*/actions/speak.png -%{tde_datadir}/icons/locolor/*/apps/kmouth.png -%{tde_tdedocdir}/HTML/en/kmouth/ - -%post -n trinity-kmouth -for icon_theme in hicolor ; do - touch --no-create %{_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/${icon_theme} 2> /dev/null ||: -done - -%postun -n trinity-kmouth -for icon_theme in hicolor ; do - touch --no-create %{_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/${icon_theme} 2> /dev/null ||: -done - -########## - -%package -n trinity-ksayit -Summary: A frontend for the TDE Text-to-Speech system -Group: User Interface/Desktops - -%description -n trinity-ksayit -Text-to-speech front-end to kttsd. - -This package is part of Trinity, as a component of the TDE accessibility module. - -%files -n trinity-ksayit -%defattr(-,root,root,-) -%{tde_bindir}/ksayit -%{tde_tdeincludedir}/ksayit_fxplugin.h -%{tde_tdelibdir}/libFreeverb_plugin.la -%{tde_tdelibdir}/libFreeverb_plugin.so -%{tde_libdir}/libKTTSD_Lib.so.* -%{tde_tdeappdir}/ksayit.desktop -%{tde_datadir}/apps/ksayit/ -%{tde_datadir}/icons/hicolor/*/apps/ksayit.png -%{tde_datadir}/icons/hicolor/32x32/apps/ksayit_clipempty.png -%{tde_datadir}/icons/hicolor/32x32/apps/ksayit_talking.png -%{tde_datadir}/services/ksayit_libFreeverb.desktop -%{tde_datadir}/servicetypes/ksayit_libFreeverb_service.desktop - -%post -n trinity-ksayit -/sbin/ldconfig ||: -for icon_theme in mono hicolor locolor ; do - touch --no-create %{_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ksayit -/sbin/ldconfig ||: -for icon_theme in mono hicolor locolor ; do - touch --no-create %{_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kttsd -Summary: A Text-to-Speech system for TDE -Group: User Interface/Desktops - -%description -n trinity-kttsd -The KDE Text-to-Speech system is a plugin based service that allows any KDE -(or non-KDE) application to speak using the DCOP interface. - -ksayit and kmouth are useful front-ends for this capability, while one of -festival, flite, and epos are essential back-ends. - -This package is part of Trinity, as a component of the TDE accessibility module. - -Homepage: http://accessibility.kde.org/developer/kttsd - -%files -n trinity-kttsd -%defattr(-,root,root,-) -%{tde_bindir}/kttsd -%{tde_bindir}/kttsmgr -%{tde_tdelibdir}/kcm_kttsd.la -%{tde_tdelibdir}/kcm_kttsd.so -%{tde_tdelibdir}/ktexteditor_kttsd.la -%{tde_tdelibdir}/ktexteditor_kttsd.so -%{tde_tdelibdir}/libkttsd_akodeplugin.la -%{tde_tdelibdir}/libkttsd_akodeplugin.so -%{tde_tdelibdir}/libkttsd_alsaplugin.la -%{tde_tdelibdir}/libkttsd_alsaplugin.so -%{tde_tdelibdir}/libkttsd_artsplugin.la -%{tde_tdelibdir}/libkttsd_artsplugin.so -%{tde_tdelibdir}/libkttsd_commandplugin.la -%{tde_tdelibdir}/libkttsd_commandplugin.so -%{tde_tdelibdir}/libkttsd_eposplugin.la -%{tde_tdelibdir}/libkttsd_eposplugin.so -%{tde_tdelibdir}/libkttsd_festivalintplugin.la -%{tde_tdelibdir}/libkttsd_festivalintplugin.so -%{tde_tdelibdir}/libkttsd_fliteplugin.la -%{tde_tdelibdir}/libkttsd_fliteplugin.so -%{tde_tdelibdir}/libkttsd_sbdplugin.la -%{tde_tdelibdir}/libkttsd_sbdplugin.so -%{tde_tdelibdir}/libkttsd_stringreplacerplugin.la -%{tde_tdelibdir}/libkttsd_stringreplacerplugin.so -%{tde_tdelibdir}/libkttsd_talkerchooserplugin.la -%{tde_tdelibdir}/libkttsd_talkerchooserplugin.so -%{tde_tdelibdir}/libkttsd_xmltransformerplugin.la -%{tde_tdelibdir}/libkttsd_xmltransformerplugin.so -%{tde_tdelibdir}/libkttsjobmgrpart.la -%{tde_tdelibdir}/libkttsjobmgrpart.so -%{tde_libdir}/libkttsd.so.* -%{tde_tdeappdir}/kcmkttsd.desktop -%{tde_tdeappdir}/kttsmgr.desktop -%{tde_datadir}/apps/ktexteditor_kttsd/ktexteditor_kttsdui.rc -%exclude %{tde_datadir}/apps/kttsd/hadifix/xslt/SSMLtoTxt2pho.xsl -%{tde_datadir}/apps/kttsd/ -%{tde_datadir}/icons/hicolor/16x16/actions/female.png -%{tde_datadir}/icons/hicolor/16x16/actions/male.png -%{tde_datadir}/services/ktexteditor_kttsd.desktop -%{tde_datadir}/services/kttsd.desktop -%{tde_datadir}/services/kttsd_akodeplugin.desktop -%{tde_datadir}/services/kttsd_alsaplugin.desktop -%{tde_datadir}/services/kttsd_artsplugin.desktop -%{tde_datadir}/services/kttsd_commandplugin.desktop -%{tde_datadir}/services/kttsd_eposplugin.desktop -%{tde_datadir}/services/kttsd_festivalintplugin.desktop -%{tde_datadir}/services/kttsd_fliteplugin.desktop -%{tde_datadir}/services/kttsd_sbdplugin.desktop -%{tde_datadir}/services/kttsd_stringreplacerplugin.desktop -%{tde_datadir}/services/kttsd_talkerchooserplugin.desktop -%{tde_datadir}/services/kttsd_xmltransformerplugin.desktop -%{tde_datadir}/services/kttsjobmgr.desktop -%{tde_datadir}/servicetypes/kttsd_audioplugin.desktop -%{tde_datadir}/servicetypes/kttsd_filterplugin.desktop -%{tde_datadir}/servicetypes/kttsd_synthplugin.desktop -%{tde_datadir}/icons/crystalsvg/*/apps/kttsd.png -%{tde_datadir}/icons/crystalsvg/*/apps/kttsd.svgz -%{tde_tdedocdir}/HTML/en/kttsd/ - -%post -n trinity-kttsd -/sbin/ldconfig ||: -for icon_theme in crystalsvg hicolor locolor ; do - touch --no-create %{_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kttsd -/sbin/ldconfig ||: -for icon_theme in crystalsvg hicolor locolor ; do - touch --no-create %{_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kttsd-contrib-plugins -Summary: the TDE Text-to-Speech system -Group: User Interface/Desktops -Requires: trinity-kttsd = %{version}-%{release} - -%description -n trinity-kttsd-contrib-plugins -kttsd synthetizer plugins that depends on non-free software : -* FreeTTS plugin. -* Hadifix (mbrola/txt2pho) plugin. -Those plugins will require manual installation of third party, -non free software to work. - -This package is part of Trinity, as a component of the TDE accessibility module. - -%files -n trinity-kttsd-contrib-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/libkttsd_freettsplugin.la -%{tde_tdelibdir}/libkttsd_freettsplugin.so -%{tde_tdelibdir}/libkttsd_hadifixplugin.la -%{tde_tdelibdir}/libkttsd_hadifixplugin.so -%{tde_datadir}/apps/kttsd/hadifix/xslt/SSMLtoTxt2pho.xsl -%{tde_datadir}/services/kttsd_freettsplugin.desktop -%{tde_datadir}/services/kttsd_hadifixplugin.desktop - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} -Requires: trinity-tdelibs-devel >= 3.5.13 - -Obsoletes: trinity-kdeaccessibility-devel < %{version}-%{release} -Provides: trinity-kdeaccessibility-devel = %{version}-%{release} - -%description devel -%{summary}. - -%files devel -%defattr(-,root,root,-) -%{tde_libdir}/libkttsd.la -%{tde_libdir}/libkttsd.so -%{tde_libdir}/libKTTSD_Lib.la -%{tde_libdir}/libKTTSD_Lib.so - -%post devel -/sbin/ldconfig ||: - -%postun devel -/sbin/ldconfig ||: - -########## - -%prep -%setup -q -n kdeaccessibility -%patch1 -p1 -b .ftbfs - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -# Avoir conflict with KDE4, if installed -# see file: '/etc/profile.d/kde.sh' from package 'kde-settings' -export KDEDIRS=%{tde_prefix} -export KDEDIR=%{tde_prefix} - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --enable-new-ldflags \ - --enable-closure \ - --disable-debug --disable-warnings \ - --enable-final \ - --enable-ksayit-audio-plugins \ - --with-akode \ - --with-extra-includes=%{tde_includedir}:%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# file lists for locale -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}/$HTML_DIR ]; then - for lang_dir in %{buildroot}/$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common - done - popd - fi - done -fi - - -%clean -%__rm -rf %{buildroot} - - - -%changelog -* Tue Jul 30 2012 Francois Andriot - 3.5.13-3 -- Split into several packages -- Renames to 'trinity-tdeaccessibility' -- Add support for Mageia 2 - -* Fri Nov 25 2011 Francois Andriot - 3.5.13-2 -- Fix HTML directory location - -* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 -- Initial release for RHEL 6, RHEL 5 and Fedora 15 - -* Sun Sep 11 2011 Francois Andriot - 3.5.13-0 -- Import to GIT -- Spec file based on Fedora 8 "kdeaccessibility-3.5.10-1" diff --git a/redhat/tdeaccessibility/trinity-tdeaccessibility-3.5.13.2.spec b/redhat/tdeaccessibility/trinity-tdeaccessibility-3.5.13.2.spec deleted file mode 100644 index fcd506a32..000000000 --- a/redhat/tdeaccessibility/trinity-tdeaccessibility-3.5.13.2.spec +++ /dev/null @@ -1,519 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Summary: Trinity Desktop Environment - Accessibility -Name: trinity-tdeaccessibility -Version: 3.5.13.2 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} - -License: GPLv2 -Group: User Interface/Desktops - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: autoconf automake libtool m4 -BuildRequires: desktop-file-utils -BuildRequires: trinity-akode-devel -BuildRequires: trinity-arts-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} -BuildRequires: trinity-tdemultimedia-devel >= %{version} - -BuildRequires: alsa-lib-devel - -# X11 Libraries -%if 0%{?fedora} > 4 || 0%{?rhel} > 4 -BuildRequires: libXtst-devel -%endif - -# XCB support -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?pclinuxos} -BuildRequires: libxcb-devel -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xcb-devel -%endif - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xi-devel -BuildRequires: %{_lib}xext%{?mgaversion:6}-devel -BuildRequires: %{_lib}x11%{?mgaversion:_6}-devel -BuildRequires: %{_lib}xau%{?mgaversion:6}-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 -BuildRequires: libXi-devel -BuildRequires: libXext-devel -BuildRequires: libX11-devel -BuildRequires: libXau-devel -%endif -%if 0%{?rhel} == 4 || 0%{?suse_version} == 1140 -BuildRequires: xorg-x11-devel -%endif - -Obsoletes: trinity-kdeaccessibility < %{version}-%{release} -Provides: trinity-kdeaccessibility = %{version}-%{release} -Obsoletes: trinity-kdeaccessibility-libs < %{version}-%{release} -Provides: trinity-kdeaccessibility-libs = %{version}-%{release} - -Requires: trinity-kde-icons-mono = %{version}-%{release} -Requires: trinity-kbstate = %{version}-%{release} -Requires: trinity-kmag = %{version}-%{release} -Requires: trinity-kmousetool = %{version}-%{release} -Requires: trinity-kmouth = %{version}-%{release} -Requires: trinity-ksayit = %{version}-%{release} -Requires: trinity-kttsd = %{version}-%{release} -Requires: trinity-kttsd-contrib-plugins = %{version}-%{release} - -%description -Included with this package are: -* kmag, a screen magnifier, -* kmousetool, a program for people whom it hurts to click the mouse, -* kmouth, program that allows people who have lost their voice - to let their computer speak for them. - -%files - -########## - -%package -n trinity-kde-icons-mono -Summary: A monochromatic icons theme for TDE -Group: User Interface/Desktops - -%description -n trinity-kde-icons-mono -A monochromatic icon theme for TDE, designed for accessibility purposes. - -This package is part of Trinity, as a component of the TDE accessibility module. - -%files -n trinity-kde-icons-mono -%defattr(-,root,root,-) -%{tde_datadir}/icons/mono/index.theme -%{tde_datadir}/icons/mono/scalable/*/*.svgz - -########## - -%package -n trinity-kbstate -Summary: a keyboard status applet for TDE -Group: User Interface/Desktops - -%description -n trinity-kbstate -A panel applet that displays the keyboard status. - -This package is part of Trinity, as a component of the TDE accessibility module. - -%files -n trinity-kbstate -%defattr(-,root,root,-) -%{tde_tdelibdir}/kbstate_panelapplet.la -%{tde_tdelibdir}/kbstate_panelapplet.so -%{tde_datadir}/apps/kbstateapplet/ -%{tde_datadir}/apps/kicker/applets/kbstateapplet.desktop - -########## - -%package -n trinity-kmag -Summary: A screen magnifier for TDE -Group: User Interface/Desktops - -%description -n trinity-kmag -KDE's screen magnifier tool. - -You can use KMagnifier to magnify a part of the screen just as you would use -a lens to magnify a newspaper fine-print or a photograph. This application is -useful for a variety of people: from researchers to artists to web-designers to -people with low vision. - -This package is part of Trinity, as a component of the TDE accessibility module. - -%files -n trinity-kmag -%defattr(-,root,root,-) -%{tde_bindir}/kmag -%{tde_datadir}/applnk/Applications/kmag.desktop -%{tde_datadir}/apps/kmag/ -%{tde_datadir}/icons/hicolor/*/apps/kmag.png -%{tde_datadir}/icons/locolor/*/apps/kmag.png -%{tde_tdedocdir}/HTML/en/kmag/ - -%post -n trinity-kmag -/sbin/ldconfig ||: -for icon_theme in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done - -%postun -n trinity-kmag -/sbin/ldconfig ||: -for icon_theme in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done - -########## - -%package -n trinity-kmousetool -Summary: TDE mouse manipulation tool for the disabled -Group: User Interface/Desktops - -%description -n trinity-kmousetool -KMouseTool clicks the mouse whenever the mouse cursor pauses briefly. It was -designed to help those with repetitive strain injuries, for whom pressing -buttons hurts. - -This package is part of Trinity, as a component of the TDE accessibility module. - -%files -n trinity-kmousetool -%defattr(-,root,root,-) -%{tde_bindir}/kmousetool -%{tde_datadir}/applnk/Applications/kmousetool.desktop -%{tde_datadir}/apps/kmousetool/ -%{tde_datadir}/icons/hicolor/*/apps/kmousetool.png -%{tde_tdedocdir}/HTML/en/kmousetool/ - -%post -n trinity-kmousetool -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done - -%postun -n trinity-kmousetool -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done - -########## - -%package -n trinity-kmouth -Summary: A type-and-say KDE frontend for speech synthesizers -Group: User Interface/Desktops - -%description -n trinity-kmouth -KDE's type-and-say frontend for speech synthesizers. - -It includes a history of spoken sentences from which the user can select -sentences to be re-spoken. - -This package is part of Trinity, as a component of the TDE accessibility module. - -%files -n trinity-kmouth -%defattr(-,root,root,-) -%{tde_datadir}/config/kmouthrc -%{tde_bindir}/kmouth -%{tde_datadir}/applnk/Applications/kmouth.desktop -%{tde_datadir}/apps/kmouth/ -%{tde_datadir}/icons/hicolor/*/actions/speak.png -%{tde_datadir}/icons/hicolor/*/actions/nospeak.png -%{tde_datadir}/icons/hicolor/*/apps/kmouth.png -%{tde_datadir}/icons/locolor/*/actions/speak.png -%{tde_datadir}/icons/locolor/*/apps/kmouth.png -%{tde_tdedocdir}/HTML/en/kmouth/ - -%post -n trinity-kmouth -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done - -%postun -n trinity-kmouth -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done - -########## - -%package -n trinity-ksayit -Summary: A frontend for the TDE Text-to-Speech system -Group: User Interface/Desktops - -%description -n trinity-ksayit -Text-to-speech front-end to kttsd. - -This package is part of Trinity, as a component of the TDE accessibility module. - -%files -n trinity-ksayit -%defattr(-,root,root,-) -%{tde_bindir}/ksayit -%{tde_tdeincludedir}/ksayit_fxplugin.h -%{tde_tdelibdir}/libFreeverb_plugin.la -%{tde_tdelibdir}/libFreeverb_plugin.so -%{tde_libdir}/libKTTSD_Lib.so.* -%{tde_tdeappdir}/ksayit.desktop -%{tde_datadir}/apps/ksayit/ -%{tde_datadir}/icons/hicolor/*/apps/ksayit.png -%{tde_datadir}/icons/hicolor/32x32/apps/ksayit_clipempty.png -%{tde_datadir}/icons/hicolor/32x32/apps/ksayit_talking.png -%{tde_datadir}/services/ksayit_libFreeverb.desktop -%{tde_datadir}/servicetypes/ksayit_libFreeverb_service.desktop - -%post -n trinity-ksayit -/sbin/ldconfig ||: -for icon_theme in mono hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ksayit -/sbin/ldconfig ||: -for icon_theme in mono hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kttsd -Summary: A Text-to-Speech system for TDE -Group: User Interface/Desktops - -%description -n trinity-kttsd -The KDE Text-to-Speech system is a plugin based service that allows any KDE -(or non-KDE) application to speak using the DCOP interface. - -ksayit and kmouth are useful front-ends for this capability, while one of -festival, flite, and epos are essential back-ends. - -This package is part of Trinity, as a component of the TDE accessibility module. - -Homepage: http://accessibility.kde.org/developer/kttsd - -%files -n trinity-kttsd -%defattr(-,root,root,-) -%{tde_bindir}/kttsd -%{tde_bindir}/kttsmgr -%{tde_tdelibdir}/kcm_kttsd.la -%{tde_tdelibdir}/kcm_kttsd.so -%{tde_tdelibdir}/ktexteditor_kttsd.la -%{tde_tdelibdir}/ktexteditor_kttsd.so -%{tde_tdelibdir}/libkttsd_akodeplugin.la -%{tde_tdelibdir}/libkttsd_akodeplugin.so -%{tde_tdelibdir}/libkttsd_alsaplugin.la -%{tde_tdelibdir}/libkttsd_alsaplugin.so -%{tde_tdelibdir}/libkttsd_artsplugin.la -%{tde_tdelibdir}/libkttsd_artsplugin.so -%{tde_tdelibdir}/libkttsd_commandplugin.la -%{tde_tdelibdir}/libkttsd_commandplugin.so -%{tde_tdelibdir}/libkttsd_eposplugin.la -%{tde_tdelibdir}/libkttsd_eposplugin.so -%{tde_tdelibdir}/libkttsd_festivalintplugin.la -%{tde_tdelibdir}/libkttsd_festivalintplugin.so -%{tde_tdelibdir}/libkttsd_fliteplugin.la -%{tde_tdelibdir}/libkttsd_fliteplugin.so -%{tde_tdelibdir}/libkttsd_sbdplugin.la -%{tde_tdelibdir}/libkttsd_sbdplugin.so -%{tde_tdelibdir}/libkttsd_stringreplacerplugin.la -%{tde_tdelibdir}/libkttsd_stringreplacerplugin.so -%{tde_tdelibdir}/libkttsd_talkerchooserplugin.la -%{tde_tdelibdir}/libkttsd_talkerchooserplugin.so -%{tde_tdelibdir}/libkttsd_xmltransformerplugin.la -%{tde_tdelibdir}/libkttsd_xmltransformerplugin.so -%{tde_tdelibdir}/libkttsjobmgrpart.la -%{tde_tdelibdir}/libkttsjobmgrpart.so -%{tde_libdir}/libkttsd.so.* -%{tde_tdeappdir}/kcmkttsd.desktop -%{tde_tdeappdir}/kttsmgr.desktop -%{tde_datadir}/apps/ktexteditor_kttsd/ktexteditor_kttsdui.rc -%exclude %{tde_datadir}/apps/kttsd/hadifix/xslt/SSMLtoTxt2pho.xsl -%{tde_datadir}/apps/kttsd/ -%{tde_datadir}/icons/hicolor/16x16/actions/female.png -%{tde_datadir}/icons/hicolor/16x16/actions/male.png -%{tde_datadir}/services/ktexteditor_kttsd.desktop -%{tde_datadir}/services/kttsd.desktop -%{tde_datadir}/services/kttsd_akodeplugin.desktop -%{tde_datadir}/services/kttsd_alsaplugin.desktop -%{tde_datadir}/services/kttsd_artsplugin.desktop -%{tde_datadir}/services/kttsd_commandplugin.desktop -%{tde_datadir}/services/kttsd_eposplugin.desktop -%{tde_datadir}/services/kttsd_festivalintplugin.desktop -%{tde_datadir}/services/kttsd_fliteplugin.desktop -%{tde_datadir}/services/kttsd_sbdplugin.desktop -%{tde_datadir}/services/kttsd_stringreplacerplugin.desktop -%{tde_datadir}/services/kttsd_talkerchooserplugin.desktop -%{tde_datadir}/services/kttsd_xmltransformerplugin.desktop -%{tde_datadir}/services/kttsjobmgr.desktop -%{tde_datadir}/servicetypes/kttsd_audioplugin.desktop -%{tde_datadir}/servicetypes/kttsd_filterplugin.desktop -%{tde_datadir}/servicetypes/kttsd_synthplugin.desktop -%{tde_datadir}/icons/crystalsvg/*/apps/kttsd.png -%{tde_datadir}/icons/crystalsvg/*/apps/kttsd.svgz -%{tde_tdedocdir}/HTML/en/kttsd/ - -%post -n trinity-kttsd -/sbin/ldconfig ||: -for icon_theme in crystalsvg hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kttsd -/sbin/ldconfig ||: -for icon_theme in crystalsvg hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kttsd-contrib-plugins -Summary: the TDE Text-to-Speech system -Group: User Interface/Desktops -Requires: trinity-kttsd = %{version}-%{release} - -%description -n trinity-kttsd-contrib-plugins -kttsd synthetizer plugins that depends on non-free software : -* FreeTTS plugin. -* Hadifix (mbrola/txt2pho) plugin. -Those plugins will require manual installation of third party, -non free software to work. - -This package is part of Trinity, as a component of the TDE accessibility module. - -%files -n trinity-kttsd-contrib-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/libkttsd_freettsplugin.la -%{tde_tdelibdir}/libkttsd_freettsplugin.so -%{tde_tdelibdir}/libkttsd_hadifixplugin.la -%{tde_tdelibdir}/libkttsd_hadifixplugin.so -%{tde_datadir}/apps/kttsd/hadifix/xslt/SSMLtoTxt2pho.xsl -%{tde_datadir}/services/kttsd_freettsplugin.desktop -%{tde_datadir}/services/kttsd_hadifixplugin.desktop - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} -Requires: trinity-tdelibs-devel >= %{version} - -Obsoletes: trinity-kdeaccessibility-devel < %{version}-%{release} -Provides: trinity-kdeaccessibility-devel = %{version}-%{release} - -%description devel -%{summary}. - -%files devel -%defattr(-,root,root,-) -%{tde_libdir}/libkttsd.la -%{tde_libdir}/libkttsd.so -%{tde_libdir}/libKTTSD_Lib.la -%{tde_libdir}/libKTTSD_Lib.so - -%post devel -/sbin/ldconfig ||: - -%postun devel -/sbin/ldconfig ||: - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -# Avoids conflict with KDE4, if installed -# see file: '/etc/profile.d/kde.sh' from package 'kde-settings' -export KDEDIRS=%{tde_prefix} -export KDEDIR=%{tde_prefix} - -# Specific path for RHEL4 -if [ -d /usr/X11R6 ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --enable-new-ldflags \ - --enable-closure \ - --disable-debug --disable-warnings \ - --enable-final \ - --enable-ksayit-audio-plugins \ - --with-akode \ - --with-extra-includes=%{tde_includedir}:%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# file lists for locale -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}/$HTML_DIR ]; then - for lang_dir in %{buildroot}/$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common - done - popd - fi - done -fi - - -%clean -%__rm -rf %{buildroot} - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 -- Initial release for TDE 3.5.13.2 diff --git a/redhat/tdeaddons/kdeaddons-3.5.12.spec b/redhat/tdeaddons/kdeaddons-3.5.12.spec new file mode 100644 index 000000000..348dd4d30 --- /dev/null +++ b/redhat/tdeaddons/kdeaddons-3.5.12.spec @@ -0,0 +1,249 @@ +# Default version for this component +%if "%{?version}" == "" +%define version 3.5.12 +%endif +%define release 2 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_prefix}/share/doc +%endif + +# TDE 3.5.12 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir} +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/kde3 + + +Name: trinity-kdeaddons +Summary: Trinity Desktop Environment - Plugins +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2 +Group: User Interface/Desktops + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: kdeaddons-%{version}.tar.gz +Source1: metabar-fedora.tar.bz2 +Source2: metabarrc + +Patch3: kdeaddons-3.5.3-sdl.patch + +BuildRequires: trinity-kdebase-devel +BuildRequires: trinity-kdegames-devel +BuildRequires: trinity-kdemultimedia-devel +BuildRequires: trinity-kdepim-devel +BuildRequires: SDL-devel +BuildRequires: alsa-lib-devel +BuildRequires: openssl-devel +BuildRequires: db4-devel +BuildRequires: xmms-devel + +Requires: trinity-kdebase +%if 0%{?fedora} +# used in jpegorient (#312641) +Requires: python-exif +%endif +Requires: which + +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig + +Obsoletes: %{name}-xmms < %{version}-%{release} + +%description +A collection of KDE Addons/Plugins, including: +* konq-plugins: akregator, babelfish, domtreeviewer, imagerotation, validators, webarchiver +* kate (plugins) +* kicker-applets: kbinaryclock, kolourpicker, ktimemon, mediacontrol +* knewsticker-scripts + +%package extras +Group: User Interface/Desktops +Summary: Extras packages from kdeaddons +Requires: %{name} = %{version}-%{release} +Requires: kdegames3 >= %{version} +Obsoletes: %{name}-atlantikdesigner < %{version}-%{release} +%description extras +This package includes: +* atlantikdesigner: game board designer +* noatun-plugins + + +%prep +%setup -q -a 1 -n kdeaddons + +%patch3 -p1 -b .sdl + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%if 0%{?fedora} > 0 +export CXXFLAGS="${CXXFLAGS} -fpermissive" +%endif + +%configure \ + --includedir=%{_includedir}/kde \ + --disable-rpath \ + --enable-new-ldflags \ + --disable-debug --disable-warnings \ + --disable-dependency-tracking --enable-final \ + --with-extra-includes=%{_includedir}/tqt + + +%__make %{?_smp_mflags} + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# File lists for locale +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}/$HTML_DIR ]; then + for lang_dir in %{buildroot}/$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi + done +fi + +# rpmdocs +for dir in konq-plugins ; do + for file in AUTHORS ChangeLog README TODO ; do + test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file" + done +done + +# install fedora metabar theme +cp -prf fedora %{buildroot}%{_datadir}/apps/metabar/themes +install -m644 -p %{SOURCE2} %{buildroot}%{_datadir}/config/ + + +%post +/sbin/ldconfig +for f in crystalsvg hicolor locolor ; do + touch --no-create %{_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun +/sbin/ldconfig +for f in crystalsvg hicolor locolor ; do + touch --no-create %{_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%post extras +touch --no-create %{_datadir}/icons/hicolor 2> /dev/null ||: +gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: + +%postun extras +touch --no-create %{_datadir}/icons/hicolor 2> /dev/null ||: +gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc README +%doc rpmdocs/* +%{_bindir}/* +%{tde_libdir}/* +%{_datadir}/applications/kde/* +%{_datadir}/applnk/.hidden/* +%{_datadir}/apps/akregator/pics/* +%{_datadir}/apps/domtreeviewer/ +%{_datadir}/apps/fsview/ +%{_datadir}/apps/imagerotation/ +%{_datadir}/apps/kaddressbook/* +%{_datadir}/apps/kate/* +%{_datadir}/apps/katepart/syntax/* +%{_datadir}/apps/katexmltools +# own dir so we don't need to Requires: kdenetwork too +%dir %{_datadir}/apps/knewsticker +%{_datadir}/apps/knewsticker/* +%{_datadir}/apps/khtml/kpartplugins/* +%{_datadir}/apps/konq*view/kpartplugins/* +%{_datadir}/apps/konqueror/icons/*/*/*/* +%dir %{_datadir}/apps/konqueror/kpartplugins/ +%{_datadir}/apps/konqueror/kpartplugins/* +%{_datadir}/apps/konqueror/servicemenus/* +%{_datadir}/apps/konqsidebartng/*/* +%{_datadir}/apps/mediacontrol/ +%{_datadir}/apps/metabar/ +%{_datadir}/apps/microformat/ +#%{_datadir}/apps/noatun/* +%{_datadir}/apps/kicker/applets/* +%{_datadir}/apps/ksig/ +%{_datadir}/config*/* +%{_datadir}/icons/crystalsvg/*/*/* +%{_datadir}/icons/hicolor/*/*/* +%{_datadir}/icons/locolor/*/*/* +%{_datadir}/mimelnk/*/* +%{_datadir}/service*/* + +# atlantikdesigner +#%exclude %{_bindir}/atlantikdesigner +#%exclude %{_datadir}/icons/hicolor/*/*/atlantikdesigner* +#%exclude %{_datadir}/applications/kde/atlantikdesigner.desktop + +# noatun-plugins +#%exclude %{_bindir}/noatun* +#%exclude %{tde_libdir}/noatun* +#%exclude %{_datadir}/apps/noatun/* + + +%files extras +%defattr(-,root,root,-) + +# atlantikdesigner +%doc atlantikdesigner/TODO +#%{_bindir}/atlantikdesigner +#%{_datadir}/apps/atlantikdesigner/ +#%{_datadir}/icons/hicolor/*/*/atlantikdesigner* +#%{_datadir}/applications/kde/atlantikdesigner.desktop + +# noatun-plugins +#%{_bindir}/noatun* +#%{tde_libdir}/noatun* +#%{_datadir}/apps/noatun/* + + +%changelog +* Mon Sep 19 2011 Francois Andriot - 3.5.12-2 +- Add support for RHEL5 + +* Sun Sep 11 2011 Francois Andriot - 3.5.12-1 +- Initial build for RHEL 6 +- Spec file based on Fedora 8 "kdeaddons-3.5.10-1" +- Import to GIT diff --git a/redhat/tdeaddons/kdeaddons-3.5.13.1.spec b/redhat/tdeaddons/kdeaddons-3.5.13.1.spec new file mode 100644 index 000000000..be4560c8f --- /dev/null +++ b/redhat/tdeaddons/kdeaddons-3.5.13.1.spec @@ -0,0 +1,730 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +Name: trinity-tdeaddons +Summary: Trinity Desktop Environment - Plugins +Version: 3.5.13.1 +Release: 1%{?dist}%{?_variant} + +License: GPLv2 +Group: User Interface/Desktops + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Obsoletes: trinity-kdeaddons < %{version}-%{release} +Provides: trinity-kdeaddons = %{version}-%{release} +Obsoletes: trinity-kdeaddons-extras < %{version}-%{release} +Provides: trinity-kdeaddons-extras = %{version}-%{release} + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: kdeaddons-3.5.13.1.tar.gz + +BuildRequires: autoconf automake libtool m4 +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: trinity-tdebase-devel >= %{version} +BuildRequires: trinity-tdegames-devel >= %{version} +BuildRequires: trinity-tdemultimedia-devel >= %{version} +BuildRequires: trinity-tdepim-devel >= %{version} + +BuildRequires: SDL-devel +BuildRequires: alsa-lib-devel +BuildRequires: openssl-devel +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: db4-devel +%endif +%if 0%{?suse_version} +BuildRequires: libdb-4_8-devel +%endif + +%if 0%{?fedora} +BuildRequires: xmms-devel +%endif + +#Requires: which + +Requires: trinity-atlantikdesigner = %{version}-%{release} +Requires: trinity-kaddressbook-plugins = %{version}-%{release} +Requires: trinity-kate-plugins = %{version}-%{release} +Requires: trinity-tdeaddons-kfile-plugins = %{version}-%{release} +Requires: trinity-kicker-applets = %{version}-%{release} +Requires: trinity-knewsticker-scripts = %{version}-%{release} +Requires: trinity-konq-plugins = %{version}-%{release} +Requires: trinity-ksig = %{version}-%{release} +Requires: trinity-noatun-plugins = %{version}-%{release} + + +%description +A collection of TDE Addons/Plugins, including: +* atlantikdesigner: game board designer +* konq-plugins: akregator, babelfish, domtreeviewer, imagerotation, validators, webarchiver +* kate (plugins) +* kicker-applets: kbinaryclock, kolourpicker, ktimemon, mediacontrol +* knewsticker-scripts +* noatun-plugins + +%files +%defattr(-,root,root,-) + +########## + +%package -n trinity-atlantikdesigner +Summary: Game board designer for Atlantik +Group: Applications/Games +#Requires: trinity-atlantik +Requires: trinity-tdegames + +%description -n trinity-atlantikdesigner +Atlantik Designer is a game board designer for the game Atlantik. + +Atlantik is a TDE client for playing Monopoly-like board games on the +monopd network. It can play any board supported by the network +server, including the classic Monopoly game as well as the Atlantik +game in which the properties include several major cities in North +America and Europe. + +%files -n trinity-atlantikdesigner +%defattr(-,root,root,-) +%doc README atlantikdesigner/TODO +%{tde_bindir}/atlantikdesigner +%{tde_datadir}/apps/atlantikdesigner +%{tde_tdeappdir}/atlantikdesigner.desktop +%{tde_datadir}/icons/hicolor/*/apps/atlantikdesigner.png + +%post -n trinity-atlantikdesigner +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-atlantikdesigner +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kaddressbook-plugins +Summary: Plugins for KAddressBook, the Trinity address book +Group: Applications/Utilities +Requires: trinity-kaddressbook + +%description -n trinity-kaddressbook-plugins +This package contains a variety of useful plugins for the KDE address +book. These plugins can be loaded through the TDE address book settings. + +Highlights include exporting postal addresses as flags in KWorldClock, +as well as importing and exporting contacts in the native format used +by the German freemail provider GMX. + +%files -n trinity-kaddressbook-plugins +%defattr(-,root,root,-) +%doc README +%{tde_tdelibdir}/libkaddrbk_geo_xxport.la +%{tde_tdelibdir}/libkaddrbk_geo_xxport.so +%{tde_tdelibdir}/libkaddrbk_gmx_xxport.la +%{tde_tdelibdir}/libkaddrbk_gmx_xxport.so +%{tde_datadir}/apps/kaddressbook +%{tde_datadir}/services/kaddressbook + +########## + +%package -n trinity-kate-plugins +Summary: Plugins for Kate, the TDE Advanced Text Editor +Group: Applications/Utilities +Requires: trinity-kate +Requires: tidy + +%description -n trinity-kate-plugins +This package contains a variety of useful plugins for Kate, the KDE +Advanced Text Editor. These plugins can be loaded through the plugin +manager in Kate settings. + +Highlights include spell checking, text filtering, HTML/XML construction +and validation, vim/emacs modeline handling, templates for new files +and text snippets, opening of C/C++ headers, extraction of C/C++ symbols, +a tab bar, a Python browser and even more. + +%files -n trinity-kate-plugins +%defattr(-,root,root,-) +%doc kate/xmltools/ChangeLog kate/xmltools/README +%{tde_tdelibdir}/katecppsymbolviewerplugin.la +%{tde_tdelibdir}/katecppsymbolviewerplugin.so +%{tde_tdelibdir}/katefiletemplates.la +%{tde_tdelibdir}/katefiletemplates.so +%{tde_tdelibdir}/katefll_plugin.la +%{tde_tdelibdir}/katefll_plugin.so +%{tde_tdelibdir}/katehelloworldplugin.la +%{tde_tdelibdir}/katehelloworldplugin.so +%{tde_tdelibdir}/katehtmltoolsplugin.la +%{tde_tdelibdir}/katehtmltoolsplugin.so +%{tde_tdelibdir}/kateinsertcommandplugin.la +%{tde_tdelibdir}/kateinsertcommandplugin.so +%{tde_tdelibdir}/katemakeplugin.la +%{tde_tdelibdir}/katemakeplugin.so +%{tde_tdelibdir}/katemodelineplugin.la +%{tde_tdelibdir}/katemodelineplugin.so +%{tde_tdelibdir}/kateopenheaderplugin.la +%{tde_tdelibdir}/kateopenheaderplugin.so +%{tde_tdelibdir}/katepybrowseplugin.la +%{tde_tdelibdir}/katepybrowseplugin.so +%{tde_tdelibdir}/katesnippetsplugin.la +%{tde_tdelibdir}/katesnippetsplugin.so +%{tde_tdelibdir}/katetextfilterplugin.la +%{tde_tdelibdir}/katetextfilterplugin.so +%{tde_tdelibdir}/katexmlcheckplugin.la +%{tde_tdelibdir}/katexmlcheckplugin.so +%{tde_tdelibdir}/katexmltoolsplugin.la +%{tde_tdelibdir}/katexmltoolsplugin.so +%{tde_tdelibdir}/libkatetabbarextensionplugin.la +%{tde_tdelibdir}/libkatetabbarextensionplugin.so +%{tde_datadir}/applnk/.hidden/katefll.desktop +%{tde_datadir}/apps/kate +%{tde_datadir}/apps/katepart +%{tde_datadir}/apps/katexmltools +%{tde_datadir}/services/katecppsymbolviewer.desktop +%{tde_datadir}/services/katefiletemplates.desktop +%{tde_datadir}/services/katefll_plugin.desktop +%{tde_datadir}/services/katehelloworld.desktop +%{tde_datadir}/services/katehtmltools.desktop +%{tde_datadir}/services/kateinsertcommand.desktop +%{tde_datadir}/services/katemake.desktop +%{tde_datadir}/services/katemodeline.desktop +%{tde_datadir}/services/kateopenheader.desktop +%{tde_datadir}/services/katepybrowse.desktop +%{tde_datadir}/services/katesnippets.desktop +%{tde_datadir}/services/katetabbarextension.desktop +%{tde_datadir}/services/katetextfilter.desktop +%{tde_datadir}/services/katexmlcheck.desktop +%{tde_datadir}/services/katexmltools.desktop +%{tde_tdedocdir}/HTML/en/kate-plugins/ + +########## + +%package kfile-plugins +Summary: Trinity file dialog plugins for text files and folders +Group: Applications/Utilities + +%description kfile-plugins +This is a collection of plugins for the TDE file dialog. These plugins +extend the file dialog to offer advanced meta-information for text, +HTML and desktop files, as well as for folders, Windows .lnk files, +MIME archives and X.509 certificates. + +This package also includes plugins for the KDE file rename dialog, +allowing a user to more easily decide what to do when faced with a +decision regarding conflicting filenames. Rename dialog plugins are +provided for audio and image files. + +%files kfile-plugins +%defattr(-,root,root,-) +%doc kfile-plugins/lnk/README +%{tde_bindir}/lnkforward +%{tde_tdelibdir}/kfile_cert.la +%{tde_tdelibdir}/kfile_cert.so +%{tde_tdelibdir}/kfile_desktop.la +%{tde_tdelibdir}/kfile_desktop.so +%{tde_tdelibdir}/kfile_folder.la +%{tde_tdelibdir}/kfile_folder.so +%{tde_tdelibdir}/kfile_html.la +%{tde_tdelibdir}/kfile_html.so +%{tde_tdelibdir}/kfile_lnk.la +%{tde_tdelibdir}/kfile_lnk.so +%{tde_tdelibdir}/kfile_mhtml.la +%{tde_tdelibdir}/kfile_mhtml.so +%{tde_tdelibdir}/kfile_txt.la +%{tde_tdelibdir}/kfile_txt.so +%{tde_tdelibdir}/librenaudioplugin.la +%{tde_tdelibdir}/librenaudioplugin.so +%{tde_tdelibdir}/librenimageplugin.la +%{tde_tdelibdir}/librenimageplugin.so +%{tde_datadir}/applnk/.hidden/lnkforward.desktop +%{tde_datadir}/mimelnk/application/x-win-lnk.desktop +%{tde_datadir}/services/kfile_cert.desktop +%{tde_datadir}/services/kfile_desktop.desktop +%{tde_datadir}/services/kfile_folder.desktop +%{tde_datadir}/services/kfile_html.desktop +%{tde_datadir}/services/kfile_lnk.desktop +%{tde_datadir}/services/kfile_mhtml.desktop +%{tde_datadir}/services/kfile_txt.desktop +%{tde_datadir}/services/renaudiodlg.desktop +%{tde_datadir}/services/renimagedlg.desktop + +########## + +%package -n trinity-kicker-applets +Summary: Applets for Kicker, the Trinity panel +Group: Applications/Utilities +Requires: trinity-kicker + +%description -n trinity-kicker-applets +This package contains a variety of applets for Kicker, the KDE panel. +These applets will appear in the panel's Add--Applet menu. + +Included are a system monitor, a colour picker, a media player controller, +a mathematical evaluator and a binary clock. + +The media control applet does not support XMMS, as this would force all +kicker-applets users to install XMMS. If you want a kicker applet that +controls XMMS, install the xmms-kde-trinity package. + +%files -n trinity-kicker-applets +%defattr(-,root,root,-) +%doc README +%{tde_tdelibdir}/kolourpicker_panelapplet.la +%{tde_tdelibdir}/kolourpicker_panelapplet.so +%{tde_tdelibdir}/ktimemon_panelapplet.la +%{tde_tdelibdir}/ktimemon_panelapplet.so +%{tde_tdelibdir}/math_panelapplet.la +%{tde_tdelibdir}/math_panelapplet.so +%{tde_tdelibdir}/mediacontrol_panelapplet.la +%{tde_tdelibdir}/mediacontrol_panelapplet.so +%{tde_tdelibdir}/kbinaryclock_panelapplet.la +%{tde_tdelibdir}/kbinaryclock_panelapplet.so +%{tde_datadir}/apps/kicker/applets +%{tde_datadir}/apps/mediacontrol +%{tde_datadir}/config.kcfg/kbinaryclock.kcfg +%{tde_datadir}/icons/locolor/*/apps/ktimemon.png +%{tde_datadir}/icons/crystalsvg/*/apps/ktimemon.png +%{tde_tdedocdir}/HTML/en/kicker-applets/ + +%post -n trinity-kicker-applets +for f in crystalsvg locolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done + +%postun -n trinity-kicker-applets +for f in crystalsvg locolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done + +########## + +%package -n trinity-knewsticker-scripts +Summary: scripts for KNewsTicker, the Trinity news ticker +Group: Applications/Utilities +Requires: perl +Requires: python +#Requires: libfinance-quote-perl +#Requires: libmime-perl +#Requires: libnews-nntpclient-perl +Requires: perl-libwww-perl +Requires: trinity-knewsticker + +%description -n trinity-knewsticker-scripts +This package contains a variety of scripts that provide additional news +sources for KNewsTicker, the news ticker applet for the TDE panel. + +Highlights include newsgroup handling, stock data retrieval, sports scores +and various local news sources. + +%files -n trinity-knewsticker-scripts +%defattr(-,root,root,-) +%doc README +%{tde_datadir}/apps/knewsticker/ + +########## + +%package -n trinity-konq-plugins +Summary: plugins for Konqueror, the Trinity file/web/doc browser +Group: Applications/Utilities +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} == 0 +Requires: %{_lib}jpeg8 +%endif +%endif +%if 0%{?rhel} || 0%{?fedora} +Requires: libjpeg +%endif +%if 0%{?suse_version} || 0%{?pclinuxos} +Requires: libjpeg62 +%endif +Requires: python +Requires: rsync +#Requires: unison +Requires: trinity-konqueror +%if 0%{?fedora} +Requires: python-exif +%endif + +%description -n trinity-konq-plugins +This package contains a variety of useful plugins for Konqueror, the +file manager, web browser and document viewer for TDE. Many of these +plugins will appear in Konqueror's Tools menu. + +Highlights for web browsing include web page translation, web page archiving, +auto-refreshing, HTML and CSS structural analysis, a search toolbar, a +sidebar news ticker, fast access to common options, bookmarklets, a crash +monitor, a microformat availability indicator, a del.icio.us bookmarks +sidebar, and integration with the aKregator RSS feed reader. + +Highlights for directory browsing include directory filters, image gallery +creation, archive compression and extraction, quick copy/move, a sidebar +media player, a file information metabar/sidebar, a media folder helper, a +graphical disk usage viewer and image conversions and transformations. + +%files -n trinity-konq-plugins +%defattr(-,root,root,-) +%doc konq-plugins/README +%{tde_datadir}/config/translaterc +%{tde_bindir}/fsview +%{tde_bindir}/jpegorient +%{tde_bindir}/kio_media_realfolder +%{tde_tdelibdir}/konq_sidebarnews.la +%{tde_tdelibdir}/konq_sidebarnews.so +%{tde_tdelibdir}/konqsidebar_delicious.la +%{tde_tdelibdir}/konqsidebar_delicious.so +%{tde_tdelibdir}/konqsidebar_mediaplayer.la +%{tde_tdelibdir}/konqsidebar_mediaplayer.so +%{tde_tdelibdir}/konqsidebar_metabar.la +%{tde_tdelibdir}/konqsidebar_metabar.so +%{tde_tdelibdir}/libakregatorkonqfeedicon.la +%{tde_tdelibdir}/libakregatorkonqfeedicon.so +%{tde_tdelibdir}/libakregatorkonqplugin.la +%{tde_tdelibdir}/libakregatorkonqplugin.so +%{tde_tdelibdir}/libarkplugin.la +%{tde_tdelibdir}/libarkplugin.so +%{tde_tdelibdir}/libautorefresh.la +%{tde_tdelibdir}/libautorefresh.so +%{tde_tdelibdir}/libbabelfishplugin.la +%{tde_tdelibdir}/libbabelfishplugin.so +%{tde_tdelibdir}/libcrashesplugin.la +%{tde_tdelibdir}/libcrashesplugin.so +%{tde_tdelibdir}/libdirfilterplugin.la +%{tde_tdelibdir}/libdirfilterplugin.so +%{tde_tdelibdir}/librsyncplugin.la +%{tde_tdelibdir}/librsyncplugin.so +%{tde_tdelibdir}/libdomtreeviewerplugin.la +%{tde_tdelibdir}/libdomtreeviewerplugin.so +%{tde_tdelibdir}/libfsviewpart.la +%{tde_tdelibdir}/libfsviewpart.so +%{tde_tdelibdir}/libkhtmlsettingsplugin.la +%{tde_tdelibdir}/libkhtmlsettingsplugin.so +%{tde_tdelibdir}/kcm_kuick.la +%{tde_tdelibdir}/kcm_kuick.so +%{tde_tdelibdir}/libkimgallery.la +%{tde_tdelibdir}/libkimgallery.so +%{tde_tdelibdir}/libkuickplugin.la +%{tde_tdelibdir}/libkuickplugin.so +%{tde_tdelibdir}/libmfkonqmficon.la +%{tde_tdelibdir}/libmfkonqmficon.so +%{tde_tdelibdir}/libminitoolsplugin.la +%{tde_tdelibdir}/libminitoolsplugin.so +%{tde_tdelibdir}/librellinksplugin.la +%{tde_tdelibdir}/librellinksplugin.so +%{tde_tdelibdir}/libsearchbarplugin.la +%{tde_tdelibdir}/libsearchbarplugin.so +%{tde_tdelibdir}/libuachangerplugin.la +%{tde_tdelibdir}/libuachangerplugin.so +%{tde_tdelibdir}/libvalidatorsplugin.la +%{tde_tdelibdir}/libvalidatorsplugin.so +%{tde_tdelibdir}/libwebarchiverplugin.la +%{tde_tdelibdir}/libwebarchiverplugin.so +%{tde_tdelibdir}/webarchivethumbnail.la +%{tde_tdelibdir}/webarchivethumbnail.so +%{tde_datadir}/applnk/.hidden/arkplugin.desktop +%{tde_datadir}/applnk/.hidden/kcmkuick.desktop +%{tde_datadir}/applnk/.hidden/kuickplugin.desktop +%{tde_datadir}/applnk/.hidden/mediaplayerplugin.desktop +%{tde_datadir}/applnk/.hidden/crashesplugin.desktop +%{tde_datadir}/applnk/.hidden/dirfilterplugin.desktop +%{tde_datadir}/applnk/.hidden/rsyncplugin.desktop +%{tde_datadir}/applnk/.hidden/fsview.desktop +%{tde_datadir}/applnk/.hidden/khtmlsettingsplugin.desktop +%{tde_datadir}/applnk/.hidden/kimgalleryplugin.desktop +%{tde_datadir}/applnk/.hidden/plugin_babelfish.desktop +%{tde_datadir}/applnk/.hidden/plugin_domtreeviewer.desktop +%{tde_datadir}/applnk/.hidden/plugin_validators.desktop +%{tde_datadir}/applnk/.hidden/plugin_webarchiver.desktop +%{tde_datadir}/applnk/.hidden/uachangerplugin.desktop +%{tde_datadir}/apps/akregator +%{tde_datadir}/apps/domtreeviewer +%{tde_datadir}/apps/fsview +%{tde_datadir}/apps/imagerotation/orient.py* +%{tde_datadir}/apps/imagerotation/exif.py* +%{tde_datadir}/apps/khtml/kpartplugins +%{tde_datadir}/apps/konqiconview +%{tde_datadir}/apps/konqlistview +%{tde_datadir}/apps/konqsidebartng +%{tde_datadir}/apps/konqueror/icons +%{tde_datadir}/apps/konqueror/kpartplugins +%{tde_datadir}/apps/konqueror/servicemenus +%{tde_datadir}/apps/metabar/iconsrc +%{tde_datadir}/apps/metabar/themes/default/default.css +%{tde_datadir}/apps/metabar/themes/default/layout.html +%{tde_datadir}/apps/microformat/pics/microformat.png +%{tde_datadir}/config.kcfg/konq_sidebarnews.kcfg +%{tde_datadir}/icons/locolor/16x16/apps/autorefresh.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/babelfish.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/cssvalidator.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/domtreeviewer.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/htmlvalidator.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/imagegallery.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/remotesync.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/remotesyncconfig.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/minitools.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/validators.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/webarchiver.png +%{tde_datadir}/icons/crystalsvg/16x16/apps/konqsidebar_delicious.png +%{tde_datadir}/icons/crystalsvg/16x16/apps/konqsidebar_mediaplayer.png +%{tde_datadir}/icons/crystalsvg/16x16/apps/konqsidebar_news.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/babelfish.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/cssvalidator.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/domtreeviewer.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/htmlvalidator.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/imagegallery.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/remotesync.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/remotesyncconfig.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/minitools.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/validators.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/webarchiver.png +%{tde_datadir}/icons/crystalsvg/22x22/apps/konqsidebar_mediaplayer.png +%{tde_datadir}/icons/crystalsvg/32x32/actions/minitools.png +%{tde_datadir}/icons/crystalsvg/32x32/apps/konqsidebar_mediaplayer.png +%{tde_datadir}/icons/crystalsvg/48x48/actions/minitools.png +%{tde_datadir}/icons/crystalsvg/48x48/apps/konqsidebar_mediaplayer.png +%{tde_datadir}/icons/hicolor/16x16/apps/metabar.png +%{tde_datadir}/icons/hicolor/22x22/apps/fsview.png +%{tde_datadir}/icons/hicolor/32x32/apps/fsview.png +%{tde_datadir}/icons/hicolor/32x32/apps/metabar.png +%{tde_datadir}/icons/hicolor/48x48/apps/metabar.png +%{tde_datadir}/icons/hicolor/64x64/apps/metabar.png +%{tde_datadir}/icons/hicolor/scalable/apps/metabar.svgz +%{tde_datadir}/icons/hicolor/128x128/apps/metabar.png +%{tde_datadir}/icons/locolor/32x32/apps/konqsidebar_mediaplayer.png +%{tde_datadir}/services/akregator_konqplugin.desktop +%{tde_datadir}/services/ark_plugin.desktop +%{tde_datadir}/services/fsview_part.desktop +%{tde_datadir}/services/kuick_plugin.desktop +%{tde_datadir}/services/webarchivethumbnail.desktop +%{tde_tdelibdir}/libadblock.la +%{tde_tdelibdir}/libadblock.so +%{tde_tdedocdir}/HTML/en/konq-plugins/ + +%post -n trinity-konq-plugins +for f in crystalsvg hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done + +%postun -n trinity-konq-plugins +for f in crystalsvg hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done + +########## + +%package -n trinity-ksig +Summary: Graphical tool for managing multiple email signatures +Group: Applications/Utilities +Requires: trinity-kmail + +%description -n trinity-ksig +KSig is a graphical tool for keeping track of many different email +signatures. The signatures themselves can be edited through KSig's +graphical user interface. A command-line interface is then available +for generating random or daily signatures from this list. + +The command-line interface makes a suitable plugin for generating +signatures in external mail clients such as KMail. + +%files -n trinity-ksig +%defattr(-,root,root,-) +%doc README +%{tde_bindir}/ksig +%{tde_tdeappdir}/ksig.desktop +%{tde_datadir}/apps/ksig/ksigui.rc +%{tde_datadir}/icons/hicolor/*/apps/ksig.png +%{tde_tdedocdir}/HTML/en/ksig/ + +%post -n trinity-ksig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ksig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-noatun-plugins +Summary: plugins for Noatun, the Trinity media player +Group: Applications/Utilities +Requires: trinity-noatun + +%description -n trinity-noatun-plugins +This package contains a variety of useful plugins for Noatun, the audio and +video media player for TDE. These plugins can be loaded through the plugin +manager in Noatun settings. + +Highlights include an alarm clock, guessing tags from filenames, adjustable +playback speed, capture to wave file and displaying lyrics, plus a variety +of user interfaces, playlists and visualisation plugins. + +%files -n trinity-noatun-plugins +%defattr(-,root,root,-) +%doc README +%{tde_bindir}/noatunsynaescope.bin +%{tde_bindir}/noatuntippecanoe.bin +%{tde_bindir}/noatuntyler.bin +%{tde_tdelibdir}/noatunalsaplayer.la +%{tde_tdelibdir}/noatunalsaplayer.so +%{tde_tdelibdir}/noatunblurscope.la +%{tde_tdelibdir}/noatunblurscope.so +%{tde_tdelibdir}/noatuncharlatan.la +%{tde_tdelibdir}/noatuncharlatan.so +%{tde_tdelibdir}/noatundub.la +%{tde_tdelibdir}/noatundub.so +%{tde_tdelibdir}/noatun_ffrs.la +%{tde_tdelibdir}/noatun_ffrs.so +%{tde_tdelibdir}/noatunluckytag.la +%{tde_tdelibdir}/noatunluckytag.so +%{tde_tdelibdir}/noatunlyrics.la +%{tde_tdelibdir}/noatunlyrics.so +%{tde_tdelibdir}/noatunmadness.la +%{tde_tdelibdir}/noatunmadness.so +%{tde_tdelibdir}/noatun_oblique.la +%{tde_tdelibdir}/noatun_oblique.so +%{tde_tdelibdir}/noatunpitchablespeed.la +%{tde_tdelibdir}/noatunpitchablespeed.so +%{tde_tdelibdir}/noatunsynaescope.la +%{tde_tdelibdir}/noatunsynaescope.so +%{tde_tdelibdir}/noatuntippecanoe.la +%{tde_tdelibdir}/noatuntippecanoe.so +%{tde_tdelibdir}/noatuntyler.la +%{tde_tdelibdir}/noatuntyler.so +%{tde_tdelibdir}/noatunwakeup.la +%{tde_tdelibdir}/noatunwakeup.so +%{tde_tdelibdir}/noatunwavecapture.la +%{tde_tdelibdir}/noatunwavecapture.so +%{tde_datadir}/apps/noatun/* +%{tde_datadir}/icons/crystalsvg/16x16/apps/synaescope.png + +%post -n trinity-noatun-plugins +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done + +%postun -n trinity-noatun-plugins +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + + + +%prep +%setup -q -n kdeaddons-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --enable-new-ldflags \ + --enable-closure \ + --disable-debug --disable-warnings \ + --disable-dependency-tracking --enable-final \ + --with-extra-includes=%{tde_includedir}/tqt:%{_includedir}/db4:%{tde_includedir}/arts:%{tde_includedir} \ + --without-xmms \ + --with-sdl \ + --with-berkeley-db + + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# File lists for locale +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}/$HTML_DIR ]; then + for lang_dir in %{buildroot}/$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi + done +fi + + + +%clean +%__rm -rf %{buildroot} + + + + +%changelog +* Sun Sep 30 2012 Francois Andriot - 3.5.13.1-1 +- Initial build for TDE 3.5.13.1 diff --git a/redhat/tdeaddons/kdeaddons-3.5.13.spec b/redhat/tdeaddons/kdeaddons-3.5.13.spec new file mode 100644 index 000000000..f9c2db0ac --- /dev/null +++ b/redhat/tdeaddons/kdeaddons-3.5.13.spec @@ -0,0 +1,757 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +Name: trinity-tdeaddons +Summary: Trinity Desktop Environment - Plugins +Version: 3.5.13 +Release: 6%{?dist}%{?_variant} + +License: GPLv2 +Group: User Interface/Desktops + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Obsoletes: trinity-kdeaddons < %{version}-%{release} +Provides: trinity-kdeaddons = %{version}-%{release} +Obsoletes: trinity-kdeaddons-extras < %{version}-%{release} +Provides: trinity-kdeaddons-extras = %{version}-%{release} + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: kdeaddons-%{version}.tar.gz +Source1: metabar-fedora.tar.bz2 +Source2: metabarrc + +# [tdeaddons] Updates from v3.5.13-sru branch +Patch0: kdeaddons-3.5.13-sru-20120809.patch.gz + +BuildRequires: autoconf automake libtool m4 +BuildRequires: trinity-arts-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: trinity-tdebase-devel +BuildRequires: trinity-tdegames-devel +BuildRequires: trinity-tdemultimedia-devel +BuildRequires: trinity-tdepim-devel + +BuildRequires: SDL-devel +BuildRequires: alsa-lib-devel +BuildRequires: openssl-devel +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: db4-devel +%endif +%if 0%{?suse_version} +BuildRequires: libdb-4_8-devel +%endif + +%if 0%{?fedora} +BuildRequires: xmms-devel +%endif + +#Requires: which + +Requires: trinity-atlantikdesigner = %{version}-%{release} +Requires: trinity-kaddressbook-plugins = %{version}-%{release} +Requires: trinity-kate-plugins = %{version}-%{release} +Requires: trinity-tdeaddons-kfile-plugins = %{version}-%{release} +Requires: trinity-kicker-applets = %{version}-%{release} +Requires: trinity-knewsticker-scripts = %{version}-%{release} +Requires: trinity-konq-plugins = %{version}-%{release} +Requires: trinity-ksig = %{version}-%{release} +Requires: trinity-noatun-plugins = %{version}-%{release} + + +%description +A collection of TDE Addons/Plugins, including: +* atlantikdesigner: game board designer +* konq-plugins: akregator, babelfish, domtreeviewer, imagerotation, validators, webarchiver +* kate (plugins) +* kicker-applets: kbinaryclock, kolourpicker, ktimemon, mediacontrol +* knewsticker-scripts +* noatun-plugins + +%files +%defattr(-,root,root,-) + +########## + +%package -n trinity-atlantikdesigner +Summary: Game board designer for Atlantik +Group: Applications/Games +#Requires: trinity-atlantik +Requires: trinity-tdegames + +%description -n trinity-atlantikdesigner +Atlantik Designer is a game board designer for the game Atlantik. + +Atlantik is a TDE client for playing Monopoly-like board games on the +monopd network. It can play any board supported by the network +server, including the classic Monopoly game as well as the Atlantik +game in which the properties include several major cities in North +America and Europe. + +%files -n trinity-atlantikdesigner +%defattr(-,root,root,-) +%doc README atlantikdesigner/TODO +%{tde_bindir}/atlantikdesigner +%{tde_datadir}/apps/atlantikdesigner +%{tde_tdeappdir}/atlantikdesigner.desktop +%{tde_datadir}/icons/hicolor/*/apps/atlantikdesigner.png + +%post -n trinity-atlantikdesigner +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-atlantikdesigner +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kaddressbook-plugins +Summary: Plugins for KAddressBook, the Trinity address book +Group: Applications/Utilities +Requires: trinity-kaddressbook + +%description -n trinity-kaddressbook-plugins +This package contains a variety of useful plugins for the KDE address +book. These plugins can be loaded through the TDE address book settings. + +Highlights include exporting postal addresses as flags in KWorldClock, +as well as importing and exporting contacts in the native format used +by the German freemail provider GMX. + +%files -n trinity-kaddressbook-plugins +%defattr(-,root,root,-) +%doc README +%{tde_tdelibdir}/libkaddrbk_geo_xxport.la +%{tde_tdelibdir}/libkaddrbk_geo_xxport.so +%{tde_tdelibdir}/libkaddrbk_gmx_xxport.la +%{tde_tdelibdir}/libkaddrbk_gmx_xxport.so +%{tde_datadir}/apps/kaddressbook +%{tde_datadir}/services/kaddressbook + +########## + +%package -n trinity-kate-plugins +Summary: Plugins for Kate, the TDE Advanced Text Editor +Group: Applications/Utilities +Requires: trinity-kate +Requires: tidy + +%description -n trinity-kate-plugins +This package contains a variety of useful plugins for Kate, the KDE +Advanced Text Editor. These plugins can be loaded through the plugin +manager in Kate settings. + +Highlights include spell checking, text filtering, HTML/XML construction +and validation, vim/emacs modeline handling, templates for new files +and text snippets, opening of C/C++ headers, extraction of C/C++ symbols, +a tab bar, a Python browser and even more. + +%files -n trinity-kate-plugins +%defattr(-,root,root,-) +%doc kate/xmltools/ChangeLog kate/xmltools/README +%{tde_tdelibdir}/katecppsymbolviewerplugin.la +%{tde_tdelibdir}/katecppsymbolviewerplugin.so +%{tde_tdelibdir}/katefiletemplates.la +%{tde_tdelibdir}/katefiletemplates.so +%{tde_tdelibdir}/katefll_plugin.la +%{tde_tdelibdir}/katefll_plugin.so +%{tde_tdelibdir}/katehelloworldplugin.la +%{tde_tdelibdir}/katehelloworldplugin.so +%{tde_tdelibdir}/katehtmltoolsplugin.la +%{tde_tdelibdir}/katehtmltoolsplugin.so +%{tde_tdelibdir}/kateinsertcommandplugin.la +%{tde_tdelibdir}/kateinsertcommandplugin.so +%{tde_tdelibdir}/katemakeplugin.la +%{tde_tdelibdir}/katemakeplugin.so +%{tde_tdelibdir}/katemodelineplugin.la +%{tde_tdelibdir}/katemodelineplugin.so +%{tde_tdelibdir}/kateopenheaderplugin.la +%{tde_tdelibdir}/kateopenheaderplugin.so +%{tde_tdelibdir}/katepybrowseplugin.la +%{tde_tdelibdir}/katepybrowseplugin.so +%{tde_tdelibdir}/katesnippetsplugin.la +%{tde_tdelibdir}/katesnippetsplugin.so +%{tde_tdelibdir}/katetextfilterplugin.la +%{tde_tdelibdir}/katetextfilterplugin.so +%{tde_tdelibdir}/katexmlcheckplugin.la +%{tde_tdelibdir}/katexmlcheckplugin.so +%{tde_tdelibdir}/katexmltoolsplugin.la +%{tde_tdelibdir}/katexmltoolsplugin.so +%{tde_tdelibdir}/libkatetabbarextensionplugin.la +%{tde_tdelibdir}/libkatetabbarextensionplugin.so +%{tde_datadir}/applnk/.hidden/katefll.desktop +%{tde_datadir}/apps/kate +%{tde_datadir}/apps/katepart +%{tde_datadir}/apps/katexmltools +%{tde_datadir}/services/katecppsymbolviewer.desktop +%{tde_datadir}/services/katefiletemplates.desktop +%{tde_datadir}/services/katefll_plugin.desktop +%{tde_datadir}/services/katehelloworld.desktop +%{tde_datadir}/services/katehtmltools.desktop +%{tde_datadir}/services/kateinsertcommand.desktop +%{tde_datadir}/services/katemake.desktop +%{tde_datadir}/services/katemodeline.desktop +%{tde_datadir}/services/kateopenheader.desktop +%{tde_datadir}/services/katepybrowse.desktop +%{tde_datadir}/services/katesnippets.desktop +%{tde_datadir}/services/katetabbarextension.desktop +%{tde_datadir}/services/katetextfilter.desktop +%{tde_datadir}/services/katexmlcheck.desktop +%{tde_datadir}/services/katexmltools.desktop +%{tde_tdedocdir}/HTML/en/kate-plugins/ + +########## + +%package kfile-plugins +Summary: Trinity file dialog plugins for text files and folders +Group: Applications/Utilities + +%description kfile-plugins +This is a collection of plugins for the TDE file dialog. These plugins +extend the file dialog to offer advanced meta-information for text, +HTML and desktop files, as well as for folders, Windows .lnk files, +MIME archives and X.509 certificates. + +This package also includes plugins for the KDE file rename dialog, +allowing a user to more easily decide what to do when faced with a +decision regarding conflicting filenames. Rename dialog plugins are +provided for audio and image files. + +%files kfile-plugins +%defattr(-,root,root,-) +%doc kfile-plugins/lnk/README +%{tde_bindir}/lnkforward +%{tde_tdelibdir}/kfile_cert.la +%{tde_tdelibdir}/kfile_cert.so +%{tde_tdelibdir}/kfile_desktop.la +%{tde_tdelibdir}/kfile_desktop.so +%{tde_tdelibdir}/kfile_folder.la +%{tde_tdelibdir}/kfile_folder.so +%{tde_tdelibdir}/kfile_html.la +%{tde_tdelibdir}/kfile_html.so +%{tde_tdelibdir}/kfile_lnk.la +%{tde_tdelibdir}/kfile_lnk.so +%{tde_tdelibdir}/kfile_mhtml.la +%{tde_tdelibdir}/kfile_mhtml.so +%{tde_tdelibdir}/kfile_txt.la +%{tde_tdelibdir}/kfile_txt.so +%{tde_tdelibdir}/librenaudioplugin.la +%{tde_tdelibdir}/librenaudioplugin.so +%{tde_tdelibdir}/librenimageplugin.la +%{tde_tdelibdir}/librenimageplugin.so +%{tde_datadir}/applnk/.hidden/lnkforward.desktop +%{tde_datadir}/mimelnk/application/x-win-lnk.desktop +%{tde_datadir}/services/kfile_cert.desktop +%{tde_datadir}/services/kfile_desktop.desktop +%{tde_datadir}/services/kfile_folder.desktop +%{tde_datadir}/services/kfile_html.desktop +%{tde_datadir}/services/kfile_lnk.desktop +%{tde_datadir}/services/kfile_mhtml.desktop +%{tde_datadir}/services/kfile_txt.desktop +%{tde_datadir}/services/renaudiodlg.desktop +%{tde_datadir}/services/renimagedlg.desktop + +########## + +%package -n trinity-kicker-applets +Summary: Applets for Kicker, the Trinity panel +Group: Applications/Utilities +Requires: trinity-kicker + +%description -n trinity-kicker-applets +This package contains a variety of applets for Kicker, the KDE panel. +These applets will appear in the panel's Add--Applet menu. + +Included are a system monitor, a colour picker, a media player controller, +a mathematical evaluator and a binary clock. + +The media control applet does not support XMMS, as this would force all +kicker-applets users to install XMMS. If you want a kicker applet that +controls XMMS, install the xmms-kde-trinity package. + +%files -n trinity-kicker-applets +%defattr(-,root,root,-) +%doc README +%{tde_tdelibdir}/kolourpicker_panelapplet.la +%{tde_tdelibdir}/kolourpicker_panelapplet.so +%{tde_tdelibdir}/ktimemon_panelapplet.la +%{tde_tdelibdir}/ktimemon_panelapplet.so +%{tde_tdelibdir}/math_panelapplet.la +%{tde_tdelibdir}/math_panelapplet.so +%{tde_tdelibdir}/mediacontrol_panelapplet.la +%{tde_tdelibdir}/mediacontrol_panelapplet.so +%{tde_tdelibdir}/kbinaryclock_panelapplet.la +%{tde_tdelibdir}/kbinaryclock_panelapplet.so +%{tde_datadir}/apps/kicker/applets +%{tde_datadir}/apps/mediacontrol +%{tde_datadir}/config.kcfg/kbinaryclock.kcfg +%{tde_datadir}/icons/locolor/*/apps/ktimemon.png +%{tde_datadir}/icons/crystalsvg/*/apps/ktimemon.png +%{tde_tdedocdir}/HTML/en/kicker-applets/ + +%post -n trinity-kicker-applets +for f in crystalsvg locolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done + +%postun -n trinity-kicker-applets +for f in crystalsvg locolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done + +########## + +%package -n trinity-knewsticker-scripts +Summary: scripts for KNewsTicker, the Trinity news ticker +Group: Applications/Utilities +Requires: perl +Requires: python +#Requires: libfinance-quote-perl +#Requires: libmime-perl +#Requires: libnews-nntpclient-perl +Requires: perl-libwww-perl +Requires: trinity-knewsticker + +%description -n trinity-knewsticker-scripts +This package contains a variety of scripts that provide additional news +sources for KNewsTicker, the news ticker applet for the TDE panel. + +Highlights include newsgroup handling, stock data retrieval, sports scores +and various local news sources. + +%files -n trinity-knewsticker-scripts +%defattr(-,root,root,-) +%doc README +%{tde_datadir}/apps/knewsticker/ + +########## + +%package -n trinity-konq-plugins +Summary: plugins for Konqueror, the Trinity file/web/doc browser +Group: Applications/Utilities +%if 0%{?mgaversion} || 0%{?mdkversion} +Requires: %{_lib}jpeg8 +%else +Requires: libjpeg +%endif +Requires: python +Requires: rsync +#Requires: unison +Requires: trinity-konqueror +%if 0%{?fedora} +Requires: python-exif +%endif + +%description -n trinity-konq-plugins +This package contains a variety of useful plugins for Konqueror, the +file manager, web browser and document viewer for TDE. Many of these +plugins will appear in Konqueror's Tools menu. + +Highlights for web browsing include web page translation, web page archiving, +auto-refreshing, HTML and CSS structural analysis, a search toolbar, a +sidebar news ticker, fast access to common options, bookmarklets, a crash +monitor, a microformat availability indicator, a del.icio.us bookmarks +sidebar, and integration with the aKregator RSS feed reader. + +Highlights for directory browsing include directory filters, image gallery +creation, archive compression and extraction, quick copy/move, a sidebar +media player, a file information metabar/sidebar, a media folder helper, a +graphical disk usage viewer and image conversions and transformations. + +%files -n trinity-konq-plugins +%defattr(-,root,root,-) +%doc konq-plugins/README +%{tde_datadir}/config/translaterc +%{tde_bindir}/fsview +%{tde_bindir}/jpegorient +%{tde_bindir}/kio_media_realfolder +%{tde_tdelibdir}/konq_sidebarnews.la +%{tde_tdelibdir}/konq_sidebarnews.so +%{tde_tdelibdir}/konqsidebar_delicious.la +%{tde_tdelibdir}/konqsidebar_delicious.so +%{tde_tdelibdir}/konqsidebar_mediaplayer.la +%{tde_tdelibdir}/konqsidebar_mediaplayer.so +%{tde_tdelibdir}/konqsidebar_metabar.la +%{tde_tdelibdir}/konqsidebar_metabar.so +%{tde_tdelibdir}/libakregatorkonqfeedicon.la +%{tde_tdelibdir}/libakregatorkonqfeedicon.so +%{tde_tdelibdir}/libakregatorkonqplugin.la +%{tde_tdelibdir}/libakregatorkonqplugin.so +%{tde_tdelibdir}/libarkplugin.la +%{tde_tdelibdir}/libarkplugin.so +%{tde_tdelibdir}/libautorefresh.la +%{tde_tdelibdir}/libautorefresh.so +%{tde_tdelibdir}/libbabelfishplugin.la +%{tde_tdelibdir}/libbabelfishplugin.so +%{tde_tdelibdir}/libcrashesplugin.la +%{tde_tdelibdir}/libcrashesplugin.so +%{tde_tdelibdir}/libdirfilterplugin.la +%{tde_tdelibdir}/libdirfilterplugin.so +%{tde_tdelibdir}/librsyncplugin.la +%{tde_tdelibdir}/librsyncplugin.so +%{tde_tdelibdir}/libdomtreeviewerplugin.la +%{tde_tdelibdir}/libdomtreeviewerplugin.so +%{tde_tdelibdir}/libfsviewpart.la +%{tde_tdelibdir}/libfsviewpart.so +%{tde_tdelibdir}/libkhtmlsettingsplugin.la +%{tde_tdelibdir}/libkhtmlsettingsplugin.so +%{tde_tdelibdir}/kcm_kuick.la +%{tde_tdelibdir}/kcm_kuick.so +%{tde_tdelibdir}/libkimgallery.la +%{tde_tdelibdir}/libkimgallery.so +%{tde_tdelibdir}/libkuickplugin.la +%{tde_tdelibdir}/libkuickplugin.so +%{tde_tdelibdir}/libmfkonqmficon.la +%{tde_tdelibdir}/libmfkonqmficon.so +%{tde_tdelibdir}/libminitoolsplugin.la +%{tde_tdelibdir}/libminitoolsplugin.so +%{tde_tdelibdir}/librellinksplugin.la +%{tde_tdelibdir}/librellinksplugin.so +%{tde_tdelibdir}/libsearchbarplugin.la +%{tde_tdelibdir}/libsearchbarplugin.so +%{tde_tdelibdir}/libuachangerplugin.la +%{tde_tdelibdir}/libuachangerplugin.so +%{tde_tdelibdir}/libvalidatorsplugin.la +%{tde_tdelibdir}/libvalidatorsplugin.so +%{tde_tdelibdir}/libwebarchiverplugin.la +%{tde_tdelibdir}/libwebarchiverplugin.so +%{tde_tdelibdir}/webarchivethumbnail.la +%{tde_tdelibdir}/webarchivethumbnail.so +%{tde_datadir}/applnk/.hidden/arkplugin.desktop +%{tde_datadir}/applnk/.hidden/kcmkuick.desktop +%{tde_datadir}/applnk/.hidden/kuickplugin.desktop +%{tde_datadir}/applnk/.hidden/mediaplayerplugin.desktop +%{tde_datadir}/applnk/.hidden/crashesplugin.desktop +%{tde_datadir}/applnk/.hidden/dirfilterplugin.desktop +%{tde_datadir}/applnk/.hidden/rsyncplugin.desktop +%{tde_datadir}/applnk/.hidden/fsview.desktop +%{tde_datadir}/applnk/.hidden/khtmlsettingsplugin.desktop +%{tde_datadir}/applnk/.hidden/kimgalleryplugin.desktop +%{tde_datadir}/applnk/.hidden/plugin_babelfish.desktop +%{tde_datadir}/applnk/.hidden/plugin_domtreeviewer.desktop +%{tde_datadir}/applnk/.hidden/plugin_validators.desktop +%{tde_datadir}/applnk/.hidden/plugin_webarchiver.desktop +%{tde_datadir}/applnk/.hidden/uachangerplugin.desktop +%{tde_datadir}/apps/akregator +%{tde_datadir}/apps/domtreeviewer +%{tde_datadir}/apps/fsview +%{tde_datadir}/apps/imagerotation/orient.py* +%{tde_datadir}/apps/imagerotation/exif.py* +%{tde_datadir}/apps/khtml/kpartplugins +%{tde_datadir}/apps/konqiconview +%{tde_datadir}/apps/konqlistview +%{tde_datadir}/apps/konqsidebartng +%{tde_datadir}/apps/konqueror/icons +%{tde_datadir}/apps/konqueror/kpartplugins +%{tde_datadir}/apps/konqueror/servicemenus +%{tde_datadir}/apps/metabar/iconsrc +%{tde_datadir}/apps/metabar/themes/default/default.css +%{tde_datadir}/apps/metabar/themes/default/layout.html +%{tde_datadir}/apps/microformat/pics/microformat.png +%{tde_datadir}/config.kcfg/konq_sidebarnews.kcfg +%{tde_datadir}/icons/locolor/16x16/apps/autorefresh.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/babelfish.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/cssvalidator.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/domtreeviewer.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/htmlvalidator.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/imagegallery.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/remotesync.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/remotesyncconfig.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/minitools.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/validators.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/webarchiver.png +%{tde_datadir}/icons/crystalsvg/16x16/apps/konqsidebar_delicious.png +%{tde_datadir}/icons/crystalsvg/16x16/apps/konqsidebar_mediaplayer.png +%{tde_datadir}/icons/crystalsvg/16x16/apps/konqsidebar_news.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/babelfish.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/cssvalidator.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/domtreeviewer.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/htmlvalidator.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/imagegallery.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/remotesync.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/remotesyncconfig.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/minitools.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/validators.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/webarchiver.png +%{tde_datadir}/icons/crystalsvg/22x22/apps/konqsidebar_mediaplayer.png +%{tde_datadir}/icons/crystalsvg/32x32/actions/minitools.png +%{tde_datadir}/icons/crystalsvg/32x32/apps/konqsidebar_mediaplayer.png +%{tde_datadir}/icons/crystalsvg/48x48/actions/minitools.png +%{tde_datadir}/icons/crystalsvg/48x48/apps/konqsidebar_mediaplayer.png +%{tde_datadir}/icons/hicolor/16x16/apps/metabar.png +%{tde_datadir}/icons/hicolor/22x22/apps/fsview.png +%{tde_datadir}/icons/hicolor/32x32/apps/fsview.png +%{tde_datadir}/icons/hicolor/32x32/apps/metabar.png +%{tde_datadir}/icons/hicolor/48x48/apps/metabar.png +%{tde_datadir}/icons/hicolor/64x64/apps/metabar.png +%{tde_datadir}/icons/hicolor/scalable/apps/metabar.svgz +%{tde_datadir}/icons/hicolor/128x128/apps/metabar.png +%{tde_datadir}/icons/locolor/32x32/apps/konqsidebar_mediaplayer.png +%{tde_datadir}/services/akregator_konqplugin.desktop +%{tde_datadir}/services/ark_plugin.desktop +%{tde_datadir}/services/fsview_part.desktop +%{tde_datadir}/services/kuick_plugin.desktop +%{tde_datadir}/services/webarchivethumbnail.desktop +%{tde_tdelibdir}/libadblock.la +%{tde_tdelibdir}/libadblock.so +%{tde_tdedocdir}/HTML/en/konq-plugins/ + +%if 0%{?fedora} +%{tde_datadir}/apps/metabar/themes/fedora/ +%{tde_datadir}/config/metabarrc +%endif + +%post -n trinity-konq-plugins +for f in crystalsvg hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done + +%postun -n trinity-konq-plugins +for f in crystalsvg hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done + +########## + +%package -n trinity-ksig +Summary: Graphical tool for managing multiple email signatures +Group: Applications/Utilities +Requires: trinity-kmail + +%description -n trinity-ksig +KSig is a graphical tool for keeping track of many different email +signatures. The signatures themselves can be edited through KSig's +graphical user interface. A command-line interface is then available +for generating random or daily signatures from this list. + +The command-line interface makes a suitable plugin for generating +signatures in external mail clients such as KMail. + +%files -n trinity-ksig +%defattr(-,root,root,-) +%doc README +%{tde_bindir}/ksig +%{tde_tdeappdir}/ksig.desktop +%{tde_datadir}/apps/ksig/ksigui.rc +%{tde_datadir}/icons/hicolor/*/apps/ksig.png +%{tde_tdedocdir}/HTML/en/ksig/ + +%post -n trinity-ksig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ksig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-noatun-plugins +Summary: plugins for Noatun, the Trinity media player +Group: Applications/Utilities +Requires: trinity-noatun + +%description -n trinity-noatun-plugins +This package contains a variety of useful plugins for Noatun, the audio and +video media player for TDE. These plugins can be loaded through the plugin +manager in Noatun settings. + +Highlights include an alarm clock, guessing tags from filenames, adjustable +playback speed, capture to wave file and displaying lyrics, plus a variety +of user interfaces, playlists and visualisation plugins. + +%files -n trinity-noatun-plugins +%defattr(-,root,root,-) +%doc README +%{tde_bindir}/noatunsynaescope.bin +%{tde_bindir}/noatuntippecanoe.bin +%{tde_bindir}/noatuntyler.bin +%{tde_tdelibdir}/noatunalsaplayer.la +%{tde_tdelibdir}/noatunalsaplayer.so +%{tde_tdelibdir}/noatunblurscope.la +%{tde_tdelibdir}/noatunblurscope.so +%{tde_tdelibdir}/noatuncharlatan.la +%{tde_tdelibdir}/noatuncharlatan.so +%{tde_tdelibdir}/noatundub.la +%{tde_tdelibdir}/noatundub.so +%{tde_tdelibdir}/noatun_ffrs.la +%{tde_tdelibdir}/noatun_ffrs.so +%{tde_tdelibdir}/noatunluckytag.la +%{tde_tdelibdir}/noatunluckytag.so +%{tde_tdelibdir}/noatunlyrics.la +%{tde_tdelibdir}/noatunlyrics.so +%{tde_tdelibdir}/noatunmadness.la +%{tde_tdelibdir}/noatunmadness.so +%{tde_tdelibdir}/noatun_oblique.la +%{tde_tdelibdir}/noatun_oblique.so +%{tde_tdelibdir}/noatunpitchablespeed.la +%{tde_tdelibdir}/noatunpitchablespeed.so +%{tde_tdelibdir}/noatunsynaescope.la +%{tde_tdelibdir}/noatunsynaescope.so +%{tde_tdelibdir}/noatuntippecanoe.la +%{tde_tdelibdir}/noatuntippecanoe.so +%{tde_tdelibdir}/noatuntyler.la +%{tde_tdelibdir}/noatuntyler.so +%{tde_tdelibdir}/noatunwakeup.la +%{tde_tdelibdir}/noatunwakeup.so +%{tde_tdelibdir}/noatunwavecapture.la +%{tde_tdelibdir}/noatunwavecapture.so +%{tde_datadir}/apps/noatun/* +%{tde_datadir}/icons/crystalsvg/16x16/apps/synaescope.png + +%post -n trinity-noatun-plugins +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done + +%postun -n trinity-noatun-plugins +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done + +########## + + + +%prep +%setup -q -a 1 -n kdeaddons +%patch0 -p1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +#export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +%configure \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --enable-new-ldflags \ + --enable-closure \ + --disable-debug --disable-warnings \ + --disable-dependency-tracking --enable-final \ + --with-extra-includes=%{tde_includedir}/tqt:%{_includedir}/db4:%{tde_includedir}/arts:%{tde_includedir} \ + --without-xmms \ + --with-sdl \ + --with-berkeley-db + + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# File lists for locale +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}/$HTML_DIR ]; then + for lang_dir in %{buildroot}/$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi + done +fi + +%if 0%{?fedora} +# install fedora metabar theme +cp -prf fedora %{buildroot}%{tde_datadir}/apps/metabar/themes +install -m644 -p %{SOURCE2} %{buildroot}%{tde_datadir}/config/ +%endif + + + + + +%clean +%__rm -rf %{buildroot} + + + + +%changelog +* Thu Aug 09 2012 Francois Andriot - 3.5.13-6 +- Updates from v3.5.13-sru branch +- Rebuilt for tdebase-3.5.13-27 + +* Fri Jun 29 2012 Francois Andriot - 3.5.13-5 +- Split in several packages + +* Sat May 05 2012 Francois Andriot - 3.5.13-4 +- Removes SDL patch for noatun + +* Thu Dec 15 2011 Francois Andriot - 3.5.13-3 +- Fix content of -extras package +- Fix various packaging issues + +* Fri Nov 04 2011 Francois Andriot - 3.5.13-2 +- Updates BuildRequires + +* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 +- Initial release for RHEL 6, RHEL 5 and Fedora 15 + +* Sat Oct 29 2011 Francois Andriot - 3.5.13-0 +- Import to GIT + diff --git a/redhat/tdeaddons/tdeaddons-3.5.13.2.spec b/redhat/tdeaddons/tdeaddons-3.5.13.2.spec new file mode 100644 index 000000000..c998a3b72 --- /dev/null +++ b/redhat/tdeaddons/tdeaddons-3.5.13.2.spec @@ -0,0 +1,755 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +Name: trinity-tdeaddons +Summary: Trinity Desktop Environment - Plugins +Version: 3.5.13.2 +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} + +License: GPLv2 +Group: User Interface/Desktops + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Obsoletes: trinity-kdeaddons < %{version}-%{release} +Provides: trinity-kdeaddons = %{version}-%{release} +Obsoletes: trinity-kdeaddons-extras < %{version}-%{release} +Provides: trinity-kdeaddons-extras = %{version}-%{release} + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: autoconf automake libtool m4 +BuildRequires: qt3-devel >= 3.3.8d +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: trinity-tdebase-devel >= %{version} +BuildRequires: trinity-tdegames-devel >= %{version} +BuildRequires: trinity-tdemultimedia-devel >= %{version} +BuildRequires: trinity-tdepim-devel >= %{version} +BuildRequires: trinity-tqtinterface-devel >= %{version} + +BuildRequires: SDL-devel +BuildRequires: alsa-lib-devel +BuildRequires: openssl-devel + +# DB4 support +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1220 || 0%{?mdkversion} || 0%{?mgaversion} +%define with_db4 1 +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} +BuildRequires: db4-devel +%endif +%if 0%{?fedora} >= 18 +BuildRequires: libdb4-cxx-devel +%endif +%if 0%{?suse_version} +BuildRequires: libdb-4_8-devel +%endif +%endif + +# XMMS support: no, always disabled, even on Fedora +#%if 0%{?fedora} +#define with_xmms 1 +#BuildRequires: xmms-devel +#%endif + +#Requires: which + +Requires: trinity-atlantikdesigner = %{version}-%{release} +Requires: trinity-kaddressbook-plugins = %{version}-%{release} +Requires: trinity-kate-plugins = %{version}-%{release} +Requires: trinity-tdeaddons-kfile-plugins = %{version}-%{release} +Requires: trinity-kicker-applets = %{version}-%{release} +Requires: trinity-knewsticker-scripts = %{version}-%{release} +Requires: trinity-konq-plugins = %{version}-%{release} +Requires: trinity-ksig = %{version}-%{release} +Requires: trinity-noatun-plugins = %{version}-%{release} + + +%description +A collection of TDE Addons/Plugins, including: +* atlantikdesigner: game board designer +* konq-plugins: akregator, babelfish, domtreeviewer, imagerotation, validators, webarchiver +* kate (plugins) +* kicker-applets: kbinaryclock, kolourpicker, ktimemon, mediacontrol +* knewsticker-scripts +* noatun-plugins + +%files +%defattr(-,root,root,-) + +########## + +%package -n trinity-atlantikdesigner +Summary: Game board designer for Atlantik +Group: Applications/Games +#Requires: trinity-atlantik +Requires: trinity-tdegames + +%description -n trinity-atlantikdesigner +Atlantik Designer is a game board designer for the game Atlantik. + +Atlantik is a TDE client for playing Monopoly-like board games on the +monopd network. It can play any board supported by the network +server, including the classic Monopoly game as well as the Atlantik +game in which the properties include several major cities in North +America and Europe. + +%files -n trinity-atlantikdesigner +%defattr(-,root,root,-) +%doc README atlantikdesigner/TODO +%{tde_bindir}/atlantikdesigner +%{tde_datadir}/apps/atlantikdesigner +%{tde_tdeappdir}/atlantikdesigner.desktop +%{tde_datadir}/icons/hicolor/*/apps/atlantikdesigner.png + +%post -n trinity-atlantikdesigner +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-atlantikdesigner +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kaddressbook-plugins +Summary: Plugins for KAddressBook, the Trinity address book +Group: Applications/Utilities +Requires: trinity-kaddressbook + +%description -n trinity-kaddressbook-plugins +This package contains a variety of useful plugins for the KDE address +book. These plugins can be loaded through the TDE address book settings. + +Highlights include exporting postal addresses as flags in KWorldClock, +as well as importing and exporting contacts in the native format used +by the German freemail provider GMX. + +%files -n trinity-kaddressbook-plugins +%defattr(-,root,root,-) +%doc README +%{tde_tdelibdir}/libkaddrbk_geo_xxport.la +%{tde_tdelibdir}/libkaddrbk_geo_xxport.so +%{tde_tdelibdir}/libkaddrbk_gmx_xxport.la +%{tde_tdelibdir}/libkaddrbk_gmx_xxport.so +%{tde_datadir}/apps/kaddressbook +%{tde_datadir}/services/kaddressbook + +########## + +%package -n trinity-kate-plugins +Summary: Plugins for Kate, the TDE Advanced Text Editor +Group: Applications/Utilities +Requires: trinity-kate +Requires: tidy + +%description -n trinity-kate-plugins +This package contains a variety of useful plugins for Kate, the KDE +Advanced Text Editor. These plugins can be loaded through the plugin +manager in Kate settings. + +Highlights include spell checking, text filtering, HTML/XML construction +and validation, vim/emacs modeline handling, templates for new files +and text snippets, opening of C/C++ headers, extraction of C/C++ symbols, +a tab bar, a Python browser and even more. + +%files -n trinity-kate-plugins +%defattr(-,root,root,-) +%doc kate/xmltools/ChangeLog kate/xmltools/README +%{tde_tdelibdir}/katecppsymbolviewerplugin.la +%{tde_tdelibdir}/katecppsymbolviewerplugin.so +%{tde_tdelibdir}/katefiletemplates.la +%{tde_tdelibdir}/katefiletemplates.so +%{tde_tdelibdir}/katefll_plugin.la +%{tde_tdelibdir}/katefll_plugin.so +%{tde_tdelibdir}/katehelloworldplugin.la +%{tde_tdelibdir}/katehelloworldplugin.so +%{tde_tdelibdir}/katehtmltoolsplugin.la +%{tde_tdelibdir}/katehtmltoolsplugin.so +%{tde_tdelibdir}/kateinsertcommandplugin.la +%{tde_tdelibdir}/kateinsertcommandplugin.so +%{tde_tdelibdir}/katemakeplugin.la +%{tde_tdelibdir}/katemakeplugin.so +%{tde_tdelibdir}/katemodelineplugin.la +%{tde_tdelibdir}/katemodelineplugin.so +%{tde_tdelibdir}/kateopenheaderplugin.la +%{tde_tdelibdir}/kateopenheaderplugin.so +%{tde_tdelibdir}/katepybrowseplugin.la +%{tde_tdelibdir}/katepybrowseplugin.so +%{tde_tdelibdir}/katesnippetsplugin.la +%{tde_tdelibdir}/katesnippetsplugin.so +%{tde_tdelibdir}/katetextfilterplugin.la +%{tde_tdelibdir}/katetextfilterplugin.so +%{tde_tdelibdir}/katexmlcheckplugin.la +%{tde_tdelibdir}/katexmlcheckplugin.so +%{tde_tdelibdir}/katexmltoolsplugin.la +%{tde_tdelibdir}/katexmltoolsplugin.so +%{tde_tdelibdir}/libkatetabbarextensionplugin.la +%{tde_tdelibdir}/libkatetabbarextensionplugin.so +%{tde_datadir}/applnk/.hidden/katefll.desktop +%{tde_datadir}/apps/kate +%{tde_datadir}/apps/katepart +%{tde_datadir}/apps/katexmltools +%{tde_datadir}/services/katecppsymbolviewer.desktop +%{tde_datadir}/services/katefiletemplates.desktop +%{tde_datadir}/services/katefll_plugin.desktop +%{tde_datadir}/services/katehelloworld.desktop +%{tde_datadir}/services/katehtmltools.desktop +%{tde_datadir}/services/kateinsertcommand.desktop +%{tde_datadir}/services/katemake.desktop +%{tde_datadir}/services/katemodeline.desktop +%{tde_datadir}/services/kateopenheader.desktop +%{tde_datadir}/services/katepybrowse.desktop +%{tde_datadir}/services/katesnippets.desktop +%{tde_datadir}/services/katetabbarextension.desktop +%{tde_datadir}/services/katetextfilter.desktop +%{tde_datadir}/services/katexmlcheck.desktop +%{tde_datadir}/services/katexmltools.desktop +%{tde_tdedocdir}/HTML/en/kate-plugins/ + +########## + +%package kfile-plugins +Summary: Trinity file dialog plugins for text files and folders +Group: Applications/Utilities + +%description kfile-plugins +This is a collection of plugins for the TDE file dialog. These plugins +extend the file dialog to offer advanced meta-information for text, +HTML and desktop files, as well as for folders, Windows .lnk files, +MIME archives and X.509 certificates. + +This package also includes plugins for the KDE file rename dialog, +allowing a user to more easily decide what to do when faced with a +decision regarding conflicting filenames. Rename dialog plugins are +provided for audio and image files. + +%files kfile-plugins +%defattr(-,root,root,-) +%doc kfile-plugins/lnk/README +%{tde_bindir}/lnkforward +%{tde_tdelibdir}/kfile_cert.la +%{tde_tdelibdir}/kfile_cert.so +%{tde_tdelibdir}/kfile_desktop.la +%{tde_tdelibdir}/kfile_desktop.so +%{tde_tdelibdir}/kfile_folder.la +%{tde_tdelibdir}/kfile_folder.so +%{tde_tdelibdir}/kfile_html.la +%{tde_tdelibdir}/kfile_html.so +%{tde_tdelibdir}/kfile_lnk.la +%{tde_tdelibdir}/kfile_lnk.so +%{tde_tdelibdir}/kfile_mhtml.la +%{tde_tdelibdir}/kfile_mhtml.so +%{tde_tdelibdir}/kfile_txt.la +%{tde_tdelibdir}/kfile_txt.so +%{tde_tdelibdir}/librenaudioplugin.la +%{tde_tdelibdir}/librenaudioplugin.so +%{tde_tdelibdir}/librenimageplugin.la +%{tde_tdelibdir}/librenimageplugin.so +%{tde_datadir}/applnk/.hidden/lnkforward.desktop +%{tde_datadir}/mimelnk/application/x-win-lnk.desktop +%{tde_datadir}/services/kfile_cert.desktop +%{tde_datadir}/services/kfile_desktop.desktop +%{tde_datadir}/services/kfile_folder.desktop +%{tde_datadir}/services/kfile_html.desktop +%{tde_datadir}/services/kfile_lnk.desktop +%{tde_datadir}/services/kfile_mhtml.desktop +%{tde_datadir}/services/kfile_txt.desktop +%{tde_datadir}/services/renaudiodlg.desktop +%{tde_datadir}/services/renimagedlg.desktop + +########## + +%package -n trinity-kicker-applets +Summary: Applets for Kicker, the Trinity panel +Group: Applications/Utilities +Requires: trinity-kicker + +%description -n trinity-kicker-applets +This package contains a variety of applets for Kicker, the KDE panel. +These applets will appear in the panel's Add--Applet menu. + +Included are a system monitor, a colour picker, a media player controller, +a mathematical evaluator and a binary clock. + +The media control applet does not support XMMS, as this would force all +kicker-applets users to install XMMS. If you want a kicker applet that +controls XMMS, install the xmms-kde-trinity package. + +%files -n trinity-kicker-applets +%defattr(-,root,root,-) +%doc README +%{tde_tdelibdir}/kolourpicker_panelapplet.la +%{tde_tdelibdir}/kolourpicker_panelapplet.so +%{tde_tdelibdir}/ktimemon_panelapplet.la +%{tde_tdelibdir}/ktimemon_panelapplet.so +%{tde_tdelibdir}/math_panelapplet.la +%{tde_tdelibdir}/math_panelapplet.so +%{tde_tdelibdir}/mediacontrol_panelapplet.la +%{tde_tdelibdir}/mediacontrol_panelapplet.so +%{tde_tdelibdir}/kbinaryclock_panelapplet.la +%{tde_tdelibdir}/kbinaryclock_panelapplet.so +%{tde_datadir}/apps/kicker/applets +%{tde_datadir}/apps/mediacontrol +%{tde_datadir}/config.kcfg/kbinaryclock.kcfg +%{tde_datadir}/icons/locolor/*/apps/ktimemon.png +%{tde_datadir}/icons/crystalsvg/*/apps/ktimemon.png +%{tde_tdedocdir}/HTML/en/kicker-applets/ + +%post -n trinity-kicker-applets +for f in crystalsvg locolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done + +%postun -n trinity-kicker-applets +for f in crystalsvg locolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done + +########## + +%package -n trinity-knewsticker-scripts +Summary: scripts for KNewsTicker, the Trinity news ticker +Group: Applications/Utilities +Requires: perl +Requires: python +#Requires: libfinance-quote-perl +#Requires: libmime-perl +#Requires: libnews-nntpclient-perl +Requires: perl-libwww-perl +Requires: trinity-knewsticker + +%description -n trinity-knewsticker-scripts +This package contains a variety of scripts that provide additional news +sources for KNewsTicker, the news ticker applet for the TDE panel. + +Highlights include newsgroup handling, stock data retrieval, sports scores +and various local news sources. + +%files -n trinity-knewsticker-scripts +%defattr(-,root,root,-) +%doc README +%{tde_datadir}/apps/knewsticker/ + +########## + +%package -n trinity-konq-plugins +Summary: plugins for Konqueror, the Trinity file/web/doc browser +Group: Applications/Utilities +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} == 0 +Requires: %{_lib}jpeg8 +%endif +%endif +%if 0%{?rhel} || 0%{?fedora} +Requires: libjpeg +%endif +%if 0%{?suse_version} >= 1220 +Requires: libjpeg62 +%endif +%if 0%{?pclinuxos} +Requires: %{_lib}jpeg62 +%endif +%if 0%{?suse_version} == 1230 +Requires: libjpeg8 +%endif +Requires: python +Requires: rsync +#Requires: unison +Requires: trinity-konqueror +%if 0%{?fedora} +Requires: python-exif +%endif + +%description -n trinity-konq-plugins +This package contains a variety of useful plugins for Konqueror, the +file manager, web browser and document viewer for TDE. Many of these +plugins will appear in Konqueror's Tools menu. + +Highlights for web browsing include web page translation, web page archiving, +auto-refreshing, HTML and CSS structural analysis, a search toolbar, a +sidebar news ticker, fast access to common options, bookmarklets, a crash +monitor, a microformat availability indicator, a del.icio.us bookmarks +sidebar, and integration with the aKregator RSS feed reader. + +Highlights for directory browsing include directory filters, image gallery +creation, archive compression and extraction, quick copy/move, a sidebar +media player, a file information metabar/sidebar, a media folder helper, a +graphical disk usage viewer and image conversions and transformations. + +%files -n trinity-konq-plugins +%defattr(-,root,root,-) +%doc konq-plugins/README +%{tde_datadir}/config/translaterc +%{tde_bindir}/fsview +%{tde_bindir}/jpegorient +%{tde_bindir}/kio_media_realfolder +%{tde_tdelibdir}/konq_sidebarnews.la +%{tde_tdelibdir}/konq_sidebarnews.so +%{tde_tdelibdir}/konqsidebar_delicious.la +%{tde_tdelibdir}/konqsidebar_delicious.so +%{tde_tdelibdir}/konqsidebar_mediaplayer.la +%{tde_tdelibdir}/konqsidebar_mediaplayer.so +%{tde_tdelibdir}/konqsidebar_metabar.la +%{tde_tdelibdir}/konqsidebar_metabar.so +%{tde_tdelibdir}/libakregatorkonqfeedicon.la +%{tde_tdelibdir}/libakregatorkonqfeedicon.so +%{tde_tdelibdir}/libakregatorkonqplugin.la +%{tde_tdelibdir}/libakregatorkonqplugin.so +%{tde_tdelibdir}/libarkplugin.la +%{tde_tdelibdir}/libarkplugin.so +%{tde_tdelibdir}/libautorefresh.la +%{tde_tdelibdir}/libautorefresh.so +%{tde_tdelibdir}/libbabelfishplugin.la +%{tde_tdelibdir}/libbabelfishplugin.so +%{tde_tdelibdir}/libcrashesplugin.la +%{tde_tdelibdir}/libcrashesplugin.so +%{tde_tdelibdir}/libdirfilterplugin.la +%{tde_tdelibdir}/libdirfilterplugin.so +%{tde_tdelibdir}/librsyncplugin.la +%{tde_tdelibdir}/librsyncplugin.so +%{tde_tdelibdir}/libdomtreeviewerplugin.la +%{tde_tdelibdir}/libdomtreeviewerplugin.so +%{tde_tdelibdir}/libfsviewpart.la +%{tde_tdelibdir}/libfsviewpart.so +%{tde_tdelibdir}/libkhtmlsettingsplugin.la +%{tde_tdelibdir}/libkhtmlsettingsplugin.so +%{tde_tdelibdir}/kcm_kuick.la +%{tde_tdelibdir}/kcm_kuick.so +%{tde_tdelibdir}/libkimgallery.la +%{tde_tdelibdir}/libkimgallery.so +%{tde_tdelibdir}/libkuickplugin.la +%{tde_tdelibdir}/libkuickplugin.so +%{tde_tdelibdir}/libmfkonqmficon.la +%{tde_tdelibdir}/libmfkonqmficon.so +%{tde_tdelibdir}/libminitoolsplugin.la +%{tde_tdelibdir}/libminitoolsplugin.so +%{tde_tdelibdir}/librellinksplugin.la +%{tde_tdelibdir}/librellinksplugin.so +%{tde_tdelibdir}/libsearchbarplugin.la +%{tde_tdelibdir}/libsearchbarplugin.so +%{tde_tdelibdir}/libuachangerplugin.la +%{tde_tdelibdir}/libuachangerplugin.so +%{tde_tdelibdir}/libvalidatorsplugin.la +%{tde_tdelibdir}/libvalidatorsplugin.so +%{tde_tdelibdir}/libwebarchiverplugin.la +%{tde_tdelibdir}/libwebarchiverplugin.so +%{tde_tdelibdir}/webarchivethumbnail.la +%{tde_tdelibdir}/webarchivethumbnail.so +%{tde_datadir}/applnk/.hidden/arkplugin.desktop +%{tde_datadir}/applnk/.hidden/kcmkuick.desktop +%{tde_datadir}/applnk/.hidden/kuickplugin.desktop +%{tde_datadir}/applnk/.hidden/mediaplayerplugin.desktop +%{tde_datadir}/applnk/.hidden/crashesplugin.desktop +%{tde_datadir}/applnk/.hidden/dirfilterplugin.desktop +%{tde_datadir}/applnk/.hidden/rsyncplugin.desktop +%{tde_datadir}/applnk/.hidden/fsview.desktop +%{tde_datadir}/applnk/.hidden/khtmlsettingsplugin.desktop +%{tde_datadir}/applnk/.hidden/kimgalleryplugin.desktop +%{tde_datadir}/applnk/.hidden/plugin_babelfish.desktop +%{tde_datadir}/applnk/.hidden/plugin_domtreeviewer.desktop +%{tde_datadir}/applnk/.hidden/plugin_validators.desktop +%{tde_datadir}/applnk/.hidden/plugin_webarchiver.desktop +%{tde_datadir}/applnk/.hidden/uachangerplugin.desktop +%{tde_datadir}/apps/akregator +%{tde_datadir}/apps/domtreeviewer +%{tde_datadir}/apps/fsview +%{tde_datadir}/apps/imagerotation/orient.py* +%{tde_datadir}/apps/imagerotation/exif.py* +%{tde_datadir}/apps/khtml/kpartplugins +%{tde_datadir}/apps/konqiconview +%{tde_datadir}/apps/konqlistview +%{tde_datadir}/apps/konqsidebartng +%{tde_datadir}/apps/konqueror/icons +%{tde_datadir}/apps/konqueror/kpartplugins +%{tde_datadir}/apps/konqueror/servicemenus +%{tde_datadir}/apps/metabar/iconsrc +%{tde_datadir}/apps/metabar/themes/default/default.css +%{tde_datadir}/apps/metabar/themes/default/layout.html +%{tde_datadir}/apps/microformat/pics/microformat.png +%{tde_datadir}/config.kcfg/konq_sidebarnews.kcfg +%{tde_datadir}/icons/locolor/16x16/apps/autorefresh.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/babelfish.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/cssvalidator.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/domtreeviewer.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/htmlvalidator.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/imagegallery.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/remotesync.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/remotesyncconfig.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/minitools.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/validators.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/webarchiver.png +%{tde_datadir}/icons/crystalsvg/16x16/apps/konqsidebar_delicious.png +%{tde_datadir}/icons/crystalsvg/16x16/apps/konqsidebar_mediaplayer.png +%{tde_datadir}/icons/crystalsvg/16x16/apps/konqsidebar_news.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/babelfish.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/cssvalidator.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/domtreeviewer.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/htmlvalidator.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/imagegallery.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/remotesync.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/remotesyncconfig.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/minitools.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/validators.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/webarchiver.png +%{tde_datadir}/icons/crystalsvg/22x22/apps/konqsidebar_mediaplayer.png +%{tde_datadir}/icons/crystalsvg/32x32/actions/minitools.png +%{tde_datadir}/icons/crystalsvg/32x32/apps/konqsidebar_mediaplayer.png +%{tde_datadir}/icons/crystalsvg/48x48/actions/minitools.png +%{tde_datadir}/icons/crystalsvg/48x48/apps/konqsidebar_mediaplayer.png +%{tde_datadir}/icons/hicolor/16x16/apps/metabar.png +%{tde_datadir}/icons/hicolor/22x22/apps/fsview.png +%{tde_datadir}/icons/hicolor/32x32/apps/fsview.png +%{tde_datadir}/icons/hicolor/32x32/apps/metabar.png +%{tde_datadir}/icons/hicolor/48x48/apps/metabar.png +%{tde_datadir}/icons/hicolor/64x64/apps/metabar.png +%{tde_datadir}/icons/hicolor/scalable/apps/metabar.svgz +%{tde_datadir}/icons/hicolor/128x128/apps/metabar.png +%{tde_datadir}/icons/locolor/32x32/apps/konqsidebar_mediaplayer.png +%{tde_datadir}/services/akregator_konqplugin.desktop +%{tde_datadir}/services/ark_plugin.desktop +%{tde_datadir}/services/fsview_part.desktop +%{tde_datadir}/services/kuick_plugin.desktop +%{tde_datadir}/services/webarchivethumbnail.desktop +%{tde_tdelibdir}/libadblock.la +%{tde_tdelibdir}/libadblock.so +%{tde_tdedocdir}/HTML/en/konq-plugins/ + +%post -n trinity-konq-plugins +for f in crystalsvg hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done + +%postun -n trinity-konq-plugins +for f in crystalsvg hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done + +########## + +%package -n trinity-ksig +Summary: Graphical tool for managing multiple email signatures +Group: Applications/Utilities +Requires: trinity-kmail + +%description -n trinity-ksig +KSig is a graphical tool for keeping track of many different email +signatures. The signatures themselves can be edited through KSig's +graphical user interface. A command-line interface is then available +for generating random or daily signatures from this list. + +The command-line interface makes a suitable plugin for generating +signatures in external mail clients such as KMail. + +%files -n trinity-ksig +%defattr(-,root,root,-) +%doc README +%{tde_bindir}/ksig +%{tde_tdeappdir}/ksig.desktop +%{tde_datadir}/apps/ksig/ksigui.rc +%{tde_datadir}/icons/hicolor/*/apps/ksig.png +%{tde_tdedocdir}/HTML/en/ksig/ + +%post -n trinity-ksig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ksig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-noatun-plugins +Summary: plugins for Noatun, the Trinity media player +Group: Applications/Utilities +Requires: trinity-noatun + +%description -n trinity-noatun-plugins +This package contains a variety of useful plugins for Noatun, the audio and +video media player for TDE. These plugins can be loaded through the plugin +manager in Noatun settings. + +Highlights include an alarm clock, guessing tags from filenames, adjustable +playback speed, capture to wave file and displaying lyrics, plus a variety +of user interfaces, playlists and visualisation plugins. + +%files -n trinity-noatun-plugins +%defattr(-,root,root,-) +%doc README +%{tde_bindir}/noatunsynaescope.bin +%{tde_bindir}/noatuntippecanoe.bin +%{tde_bindir}/noatuntyler.bin +%{tde_tdelibdir}/noatunalsaplayer.la +%{tde_tdelibdir}/noatunalsaplayer.so +%{tde_tdelibdir}/noatunblurscope.la +%{tde_tdelibdir}/noatunblurscope.so +%{tde_tdelibdir}/noatuncharlatan.la +%{tde_tdelibdir}/noatuncharlatan.so +%{tde_tdelibdir}/noatundub.la +%{tde_tdelibdir}/noatundub.so +%{tde_tdelibdir}/noatun_ffrs.la +%{tde_tdelibdir}/noatun_ffrs.so +%{tde_tdelibdir}/noatunluckytag.la +%{tde_tdelibdir}/noatunluckytag.so +%{tde_tdelibdir}/noatunlyrics.la +%{tde_tdelibdir}/noatunlyrics.so +%{tde_tdelibdir}/noatunmadness.la +%{tde_tdelibdir}/noatunmadness.so +%if 0%{?with_db4} +%{tde_tdelibdir}/noatun_oblique.la +%{tde_tdelibdir}/noatun_oblique.so +%endif +%{tde_tdelibdir}/noatunpitchablespeed.la +%{tde_tdelibdir}/noatunpitchablespeed.so +%{tde_tdelibdir}/noatunsynaescope.la +%{tde_tdelibdir}/noatunsynaescope.so +%{tde_tdelibdir}/noatuntippecanoe.la +%{tde_tdelibdir}/noatuntippecanoe.so +%{tde_tdelibdir}/noatuntyler.la +%{tde_tdelibdir}/noatuntyler.so +%{tde_tdelibdir}/noatunwakeup.la +%{tde_tdelibdir}/noatunwakeup.so +%{tde_tdelibdir}/noatunwavecapture.la +%{tde_tdelibdir}/noatunwavecapture.so +%{tde_datadir}/apps/noatun/* +%{tde_datadir}/icons/crystalsvg/16x16/apps/synaescope.png + +%post -n trinity-noatun-plugins +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done + +%postun -n trinity-noatun-plugins +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +# Note about DB4: +# Fedora 18: /usr/include/libdb4/db_cxx.h , /usr/lib64/libdb_cxx-4.so + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --enable-new-ldflags \ + --enable-closure \ + --disable-debug --disable-warnings \ + --disable-dependency-tracking --enable-final \ + --with-extra-includes=%{tde_includedir}/tqt:%{_includedir}/db4:%{_includedir}/libdb4:%{tde_includedir}/arts:%{tde_includedir} \ + %{?with_xmms:--with-xmms} %{?!with_xmms:--without-xmms} \ + --with-sdl \ +%if 0%{?with_db4} + --with-berkeley-db \ +%if 0%{?fedora} == 18 + --with-db-lib=db_cxx-4 \ +%endif +%endif + + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# File lists for locale +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}/$HTML_DIR ]; then + for lang_dir in %{buildroot}/$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi + done +fi + + +%clean +%__rm -rf %{buildroot} + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 +- Initial release for TDE 3.5.13.2 + diff --git a/redhat/tdeaddons/trinity-kdeaddons-3.5.12.spec b/redhat/tdeaddons/trinity-kdeaddons-3.5.12.spec deleted file mode 100644 index 348dd4d30..000000000 --- a/redhat/tdeaddons/trinity-kdeaddons-3.5.12.spec +++ /dev/null @@ -1,249 +0,0 @@ -# Default version for this component -%if "%{?version}" == "" -%define version 3.5.12 -%endif -%define release 2 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_includedir %{_includedir}/kde -%define tde_libdir %{_libdir}/kde3 - - -Name: trinity-kdeaddons -Summary: Trinity Desktop Environment - Plugins -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} - -License: GPLv2 -Group: User Interface/Desktops - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: kdeaddons-%{version}.tar.gz -Source1: metabar-fedora.tar.bz2 -Source2: metabarrc - -Patch3: kdeaddons-3.5.3-sdl.patch - -BuildRequires: trinity-kdebase-devel -BuildRequires: trinity-kdegames-devel -BuildRequires: trinity-kdemultimedia-devel -BuildRequires: trinity-kdepim-devel -BuildRequires: SDL-devel -BuildRequires: alsa-lib-devel -BuildRequires: openssl-devel -BuildRequires: db4-devel -BuildRequires: xmms-devel - -Requires: trinity-kdebase -%if 0%{?fedora} -# used in jpegorient (#312641) -Requires: python-exif -%endif -Requires: which - -Requires(post): /sbin/ldconfig -Requires(postun): /sbin/ldconfig - -Obsoletes: %{name}-xmms < %{version}-%{release} - -%description -A collection of KDE Addons/Plugins, including: -* konq-plugins: akregator, babelfish, domtreeviewer, imagerotation, validators, webarchiver -* kate (plugins) -* kicker-applets: kbinaryclock, kolourpicker, ktimemon, mediacontrol -* knewsticker-scripts - -%package extras -Group: User Interface/Desktops -Summary: Extras packages from kdeaddons -Requires: %{name} = %{version}-%{release} -Requires: kdegames3 >= %{version} -Obsoletes: %{name}-atlantikdesigner < %{version}-%{release} -%description extras -This package includes: -* atlantikdesigner: game board designer -* noatun-plugins - - -%prep -%setup -q -a 1 -n kdeaddons - -%patch3 -p1 -b .sdl - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -%if 0%{?fedora} > 0 -export CXXFLAGS="${CXXFLAGS} -fpermissive" -%endif - -%configure \ - --includedir=%{_includedir}/kde \ - --disable-rpath \ - --enable-new-ldflags \ - --disable-debug --disable-warnings \ - --disable-dependency-tracking --enable-final \ - --with-extra-includes=%{_includedir}/tqt - - -%__make %{?_smp_mflags} - - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# File lists for locale -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}/$HTML_DIR ]; then - for lang_dir in %{buildroot}/$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi - done -fi - -# rpmdocs -for dir in konq-plugins ; do - for file in AUTHORS ChangeLog README TODO ; do - test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file" - done -done - -# install fedora metabar theme -cp -prf fedora %{buildroot}%{_datadir}/apps/metabar/themes -install -m644 -p %{SOURCE2} %{buildroot}%{_datadir}/config/ - - -%post -/sbin/ldconfig -for f in crystalsvg hicolor locolor ; do - touch --no-create %{_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -/sbin/ldconfig -for f in crystalsvg hicolor locolor ; do - touch --no-create %{_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%post extras -touch --no-create %{_datadir}/icons/hicolor 2> /dev/null ||: -gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: - -%postun extras -touch --no-create %{_datadir}/icons/hicolor 2> /dev/null ||: -gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{name}.lang -%defattr(-,root,root,-) -%doc README -%doc rpmdocs/* -%{_bindir}/* -%{tde_libdir}/* -%{_datadir}/applications/kde/* -%{_datadir}/applnk/.hidden/* -%{_datadir}/apps/akregator/pics/* -%{_datadir}/apps/domtreeviewer/ -%{_datadir}/apps/fsview/ -%{_datadir}/apps/imagerotation/ -%{_datadir}/apps/kaddressbook/* -%{_datadir}/apps/kate/* -%{_datadir}/apps/katepart/syntax/* -%{_datadir}/apps/katexmltools -# own dir so we don't need to Requires: kdenetwork too -%dir %{_datadir}/apps/knewsticker -%{_datadir}/apps/knewsticker/* -%{_datadir}/apps/khtml/kpartplugins/* -%{_datadir}/apps/konq*view/kpartplugins/* -%{_datadir}/apps/konqueror/icons/*/*/*/* -%dir %{_datadir}/apps/konqueror/kpartplugins/ -%{_datadir}/apps/konqueror/kpartplugins/* -%{_datadir}/apps/konqueror/servicemenus/* -%{_datadir}/apps/konqsidebartng/*/* -%{_datadir}/apps/mediacontrol/ -%{_datadir}/apps/metabar/ -%{_datadir}/apps/microformat/ -#%{_datadir}/apps/noatun/* -%{_datadir}/apps/kicker/applets/* -%{_datadir}/apps/ksig/ -%{_datadir}/config*/* -%{_datadir}/icons/crystalsvg/*/*/* -%{_datadir}/icons/hicolor/*/*/* -%{_datadir}/icons/locolor/*/*/* -%{_datadir}/mimelnk/*/* -%{_datadir}/service*/* - -# atlantikdesigner -#%exclude %{_bindir}/atlantikdesigner -#%exclude %{_datadir}/icons/hicolor/*/*/atlantikdesigner* -#%exclude %{_datadir}/applications/kde/atlantikdesigner.desktop - -# noatun-plugins -#%exclude %{_bindir}/noatun* -#%exclude %{tde_libdir}/noatun* -#%exclude %{_datadir}/apps/noatun/* - - -%files extras -%defattr(-,root,root,-) - -# atlantikdesigner -%doc atlantikdesigner/TODO -#%{_bindir}/atlantikdesigner -#%{_datadir}/apps/atlantikdesigner/ -#%{_datadir}/icons/hicolor/*/*/atlantikdesigner* -#%{_datadir}/applications/kde/atlantikdesigner.desktop - -# noatun-plugins -#%{_bindir}/noatun* -#%{tde_libdir}/noatun* -#%{_datadir}/apps/noatun/* - - -%changelog -* Mon Sep 19 2011 Francois Andriot - 3.5.12-2 -- Add support for RHEL5 - -* Sun Sep 11 2011 Francois Andriot - 3.5.12-1 -- Initial build for RHEL 6 -- Spec file based on Fedora 8 "kdeaddons-3.5.10-1" -- Import to GIT diff --git a/redhat/tdeaddons/trinity-kdeaddons-3.5.13.1.spec b/redhat/tdeaddons/trinity-kdeaddons-3.5.13.1.spec deleted file mode 100644 index be4560c8f..000000000 --- a/redhat/tdeaddons/trinity-kdeaddons-3.5.13.1.spec +++ /dev/null @@ -1,730 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -Name: trinity-tdeaddons -Summary: Trinity Desktop Environment - Plugins -Version: 3.5.13.1 -Release: 1%{?dist}%{?_variant} - -License: GPLv2 -Group: User Interface/Desktops - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Obsoletes: trinity-kdeaddons < %{version}-%{release} -Provides: trinity-kdeaddons = %{version}-%{release} -Obsoletes: trinity-kdeaddons-extras < %{version}-%{release} -Provides: trinity-kdeaddons-extras = %{version}-%{release} - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: kdeaddons-3.5.13.1.tar.gz - -BuildRequires: autoconf automake libtool m4 -BuildRequires: trinity-arts-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} -BuildRequires: trinity-tdebase-devel >= %{version} -BuildRequires: trinity-tdegames-devel >= %{version} -BuildRequires: trinity-tdemultimedia-devel >= %{version} -BuildRequires: trinity-tdepim-devel >= %{version} - -BuildRequires: SDL-devel -BuildRequires: alsa-lib-devel -BuildRequires: openssl-devel -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: db4-devel -%endif -%if 0%{?suse_version} -BuildRequires: libdb-4_8-devel -%endif - -%if 0%{?fedora} -BuildRequires: xmms-devel -%endif - -#Requires: which - -Requires: trinity-atlantikdesigner = %{version}-%{release} -Requires: trinity-kaddressbook-plugins = %{version}-%{release} -Requires: trinity-kate-plugins = %{version}-%{release} -Requires: trinity-tdeaddons-kfile-plugins = %{version}-%{release} -Requires: trinity-kicker-applets = %{version}-%{release} -Requires: trinity-knewsticker-scripts = %{version}-%{release} -Requires: trinity-konq-plugins = %{version}-%{release} -Requires: trinity-ksig = %{version}-%{release} -Requires: trinity-noatun-plugins = %{version}-%{release} - - -%description -A collection of TDE Addons/Plugins, including: -* atlantikdesigner: game board designer -* konq-plugins: akregator, babelfish, domtreeviewer, imagerotation, validators, webarchiver -* kate (plugins) -* kicker-applets: kbinaryclock, kolourpicker, ktimemon, mediacontrol -* knewsticker-scripts -* noatun-plugins - -%files -%defattr(-,root,root,-) - -########## - -%package -n trinity-atlantikdesigner -Summary: Game board designer for Atlantik -Group: Applications/Games -#Requires: trinity-atlantik -Requires: trinity-tdegames - -%description -n trinity-atlantikdesigner -Atlantik Designer is a game board designer for the game Atlantik. - -Atlantik is a TDE client for playing Monopoly-like board games on the -monopd network. It can play any board supported by the network -server, including the classic Monopoly game as well as the Atlantik -game in which the properties include several major cities in North -America and Europe. - -%files -n trinity-atlantikdesigner -%defattr(-,root,root,-) -%doc README atlantikdesigner/TODO -%{tde_bindir}/atlantikdesigner -%{tde_datadir}/apps/atlantikdesigner -%{tde_tdeappdir}/atlantikdesigner.desktop -%{tde_datadir}/icons/hicolor/*/apps/atlantikdesigner.png - -%post -n trinity-atlantikdesigner -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-atlantikdesigner -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kaddressbook-plugins -Summary: Plugins for KAddressBook, the Trinity address book -Group: Applications/Utilities -Requires: trinity-kaddressbook - -%description -n trinity-kaddressbook-plugins -This package contains a variety of useful plugins for the KDE address -book. These plugins can be loaded through the TDE address book settings. - -Highlights include exporting postal addresses as flags in KWorldClock, -as well as importing and exporting contacts in the native format used -by the German freemail provider GMX. - -%files -n trinity-kaddressbook-plugins -%defattr(-,root,root,-) -%doc README -%{tde_tdelibdir}/libkaddrbk_geo_xxport.la -%{tde_tdelibdir}/libkaddrbk_geo_xxport.so -%{tde_tdelibdir}/libkaddrbk_gmx_xxport.la -%{tde_tdelibdir}/libkaddrbk_gmx_xxport.so -%{tde_datadir}/apps/kaddressbook -%{tde_datadir}/services/kaddressbook - -########## - -%package -n trinity-kate-plugins -Summary: Plugins for Kate, the TDE Advanced Text Editor -Group: Applications/Utilities -Requires: trinity-kate -Requires: tidy - -%description -n trinity-kate-plugins -This package contains a variety of useful plugins for Kate, the KDE -Advanced Text Editor. These plugins can be loaded through the plugin -manager in Kate settings. - -Highlights include spell checking, text filtering, HTML/XML construction -and validation, vim/emacs modeline handling, templates for new files -and text snippets, opening of C/C++ headers, extraction of C/C++ symbols, -a tab bar, a Python browser and even more. - -%files -n trinity-kate-plugins -%defattr(-,root,root,-) -%doc kate/xmltools/ChangeLog kate/xmltools/README -%{tde_tdelibdir}/katecppsymbolviewerplugin.la -%{tde_tdelibdir}/katecppsymbolviewerplugin.so -%{tde_tdelibdir}/katefiletemplates.la -%{tde_tdelibdir}/katefiletemplates.so -%{tde_tdelibdir}/katefll_plugin.la -%{tde_tdelibdir}/katefll_plugin.so -%{tde_tdelibdir}/katehelloworldplugin.la -%{tde_tdelibdir}/katehelloworldplugin.so -%{tde_tdelibdir}/katehtmltoolsplugin.la -%{tde_tdelibdir}/katehtmltoolsplugin.so -%{tde_tdelibdir}/kateinsertcommandplugin.la -%{tde_tdelibdir}/kateinsertcommandplugin.so -%{tde_tdelibdir}/katemakeplugin.la -%{tde_tdelibdir}/katemakeplugin.so -%{tde_tdelibdir}/katemodelineplugin.la -%{tde_tdelibdir}/katemodelineplugin.so -%{tde_tdelibdir}/kateopenheaderplugin.la -%{tde_tdelibdir}/kateopenheaderplugin.so -%{tde_tdelibdir}/katepybrowseplugin.la -%{tde_tdelibdir}/katepybrowseplugin.so -%{tde_tdelibdir}/katesnippetsplugin.la -%{tde_tdelibdir}/katesnippetsplugin.so -%{tde_tdelibdir}/katetextfilterplugin.la -%{tde_tdelibdir}/katetextfilterplugin.so -%{tde_tdelibdir}/katexmlcheckplugin.la -%{tde_tdelibdir}/katexmlcheckplugin.so -%{tde_tdelibdir}/katexmltoolsplugin.la -%{tde_tdelibdir}/katexmltoolsplugin.so -%{tde_tdelibdir}/libkatetabbarextensionplugin.la -%{tde_tdelibdir}/libkatetabbarextensionplugin.so -%{tde_datadir}/applnk/.hidden/katefll.desktop -%{tde_datadir}/apps/kate -%{tde_datadir}/apps/katepart -%{tde_datadir}/apps/katexmltools -%{tde_datadir}/services/katecppsymbolviewer.desktop -%{tde_datadir}/services/katefiletemplates.desktop -%{tde_datadir}/services/katefll_plugin.desktop -%{tde_datadir}/services/katehelloworld.desktop -%{tde_datadir}/services/katehtmltools.desktop -%{tde_datadir}/services/kateinsertcommand.desktop -%{tde_datadir}/services/katemake.desktop -%{tde_datadir}/services/katemodeline.desktop -%{tde_datadir}/services/kateopenheader.desktop -%{tde_datadir}/services/katepybrowse.desktop -%{tde_datadir}/services/katesnippets.desktop -%{tde_datadir}/services/katetabbarextension.desktop -%{tde_datadir}/services/katetextfilter.desktop -%{tde_datadir}/services/katexmlcheck.desktop -%{tde_datadir}/services/katexmltools.desktop -%{tde_tdedocdir}/HTML/en/kate-plugins/ - -########## - -%package kfile-plugins -Summary: Trinity file dialog plugins for text files and folders -Group: Applications/Utilities - -%description kfile-plugins -This is a collection of plugins for the TDE file dialog. These plugins -extend the file dialog to offer advanced meta-information for text, -HTML and desktop files, as well as for folders, Windows .lnk files, -MIME archives and X.509 certificates. - -This package also includes plugins for the KDE file rename dialog, -allowing a user to more easily decide what to do when faced with a -decision regarding conflicting filenames. Rename dialog plugins are -provided for audio and image files. - -%files kfile-plugins -%defattr(-,root,root,-) -%doc kfile-plugins/lnk/README -%{tde_bindir}/lnkforward -%{tde_tdelibdir}/kfile_cert.la -%{tde_tdelibdir}/kfile_cert.so -%{tde_tdelibdir}/kfile_desktop.la -%{tde_tdelibdir}/kfile_desktop.so -%{tde_tdelibdir}/kfile_folder.la -%{tde_tdelibdir}/kfile_folder.so -%{tde_tdelibdir}/kfile_html.la -%{tde_tdelibdir}/kfile_html.so -%{tde_tdelibdir}/kfile_lnk.la -%{tde_tdelibdir}/kfile_lnk.so -%{tde_tdelibdir}/kfile_mhtml.la -%{tde_tdelibdir}/kfile_mhtml.so -%{tde_tdelibdir}/kfile_txt.la -%{tde_tdelibdir}/kfile_txt.so -%{tde_tdelibdir}/librenaudioplugin.la -%{tde_tdelibdir}/librenaudioplugin.so -%{tde_tdelibdir}/librenimageplugin.la -%{tde_tdelibdir}/librenimageplugin.so -%{tde_datadir}/applnk/.hidden/lnkforward.desktop -%{tde_datadir}/mimelnk/application/x-win-lnk.desktop -%{tde_datadir}/services/kfile_cert.desktop -%{tde_datadir}/services/kfile_desktop.desktop -%{tde_datadir}/services/kfile_folder.desktop -%{tde_datadir}/services/kfile_html.desktop -%{tde_datadir}/services/kfile_lnk.desktop -%{tde_datadir}/services/kfile_mhtml.desktop -%{tde_datadir}/services/kfile_txt.desktop -%{tde_datadir}/services/renaudiodlg.desktop -%{tde_datadir}/services/renimagedlg.desktop - -########## - -%package -n trinity-kicker-applets -Summary: Applets for Kicker, the Trinity panel -Group: Applications/Utilities -Requires: trinity-kicker - -%description -n trinity-kicker-applets -This package contains a variety of applets for Kicker, the KDE panel. -These applets will appear in the panel's Add--Applet menu. - -Included are a system monitor, a colour picker, a media player controller, -a mathematical evaluator and a binary clock. - -The media control applet does not support XMMS, as this would force all -kicker-applets users to install XMMS. If you want a kicker applet that -controls XMMS, install the xmms-kde-trinity package. - -%files -n trinity-kicker-applets -%defattr(-,root,root,-) -%doc README -%{tde_tdelibdir}/kolourpicker_panelapplet.la -%{tde_tdelibdir}/kolourpicker_panelapplet.so -%{tde_tdelibdir}/ktimemon_panelapplet.la -%{tde_tdelibdir}/ktimemon_panelapplet.so -%{tde_tdelibdir}/math_panelapplet.la -%{tde_tdelibdir}/math_panelapplet.so -%{tde_tdelibdir}/mediacontrol_panelapplet.la -%{tde_tdelibdir}/mediacontrol_panelapplet.so -%{tde_tdelibdir}/kbinaryclock_panelapplet.la -%{tde_tdelibdir}/kbinaryclock_panelapplet.so -%{tde_datadir}/apps/kicker/applets -%{tde_datadir}/apps/mediacontrol -%{tde_datadir}/config.kcfg/kbinaryclock.kcfg -%{tde_datadir}/icons/locolor/*/apps/ktimemon.png -%{tde_datadir}/icons/crystalsvg/*/apps/ktimemon.png -%{tde_tdedocdir}/HTML/en/kicker-applets/ - -%post -n trinity-kicker-applets -for f in crystalsvg locolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - -%postun -n trinity-kicker-applets -for f in crystalsvg locolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - -########## - -%package -n trinity-knewsticker-scripts -Summary: scripts for KNewsTicker, the Trinity news ticker -Group: Applications/Utilities -Requires: perl -Requires: python -#Requires: libfinance-quote-perl -#Requires: libmime-perl -#Requires: libnews-nntpclient-perl -Requires: perl-libwww-perl -Requires: trinity-knewsticker - -%description -n trinity-knewsticker-scripts -This package contains a variety of scripts that provide additional news -sources for KNewsTicker, the news ticker applet for the TDE panel. - -Highlights include newsgroup handling, stock data retrieval, sports scores -and various local news sources. - -%files -n trinity-knewsticker-scripts -%defattr(-,root,root,-) -%doc README -%{tde_datadir}/apps/knewsticker/ - -########## - -%package -n trinity-konq-plugins -Summary: plugins for Konqueror, the Trinity file/web/doc browser -Group: Applications/Utilities -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} == 0 -Requires: %{_lib}jpeg8 -%endif -%endif -%if 0%{?rhel} || 0%{?fedora} -Requires: libjpeg -%endif -%if 0%{?suse_version} || 0%{?pclinuxos} -Requires: libjpeg62 -%endif -Requires: python -Requires: rsync -#Requires: unison -Requires: trinity-konqueror -%if 0%{?fedora} -Requires: python-exif -%endif - -%description -n trinity-konq-plugins -This package contains a variety of useful plugins for Konqueror, the -file manager, web browser and document viewer for TDE. Many of these -plugins will appear in Konqueror's Tools menu. - -Highlights for web browsing include web page translation, web page archiving, -auto-refreshing, HTML and CSS structural analysis, a search toolbar, a -sidebar news ticker, fast access to common options, bookmarklets, a crash -monitor, a microformat availability indicator, a del.icio.us bookmarks -sidebar, and integration with the aKregator RSS feed reader. - -Highlights for directory browsing include directory filters, image gallery -creation, archive compression and extraction, quick copy/move, a sidebar -media player, a file information metabar/sidebar, a media folder helper, a -graphical disk usage viewer and image conversions and transformations. - -%files -n trinity-konq-plugins -%defattr(-,root,root,-) -%doc konq-plugins/README -%{tde_datadir}/config/translaterc -%{tde_bindir}/fsview -%{tde_bindir}/jpegorient -%{tde_bindir}/kio_media_realfolder -%{tde_tdelibdir}/konq_sidebarnews.la -%{tde_tdelibdir}/konq_sidebarnews.so -%{tde_tdelibdir}/konqsidebar_delicious.la -%{tde_tdelibdir}/konqsidebar_delicious.so -%{tde_tdelibdir}/konqsidebar_mediaplayer.la -%{tde_tdelibdir}/konqsidebar_mediaplayer.so -%{tde_tdelibdir}/konqsidebar_metabar.la -%{tde_tdelibdir}/konqsidebar_metabar.so -%{tde_tdelibdir}/libakregatorkonqfeedicon.la -%{tde_tdelibdir}/libakregatorkonqfeedicon.so -%{tde_tdelibdir}/libakregatorkonqplugin.la -%{tde_tdelibdir}/libakregatorkonqplugin.so -%{tde_tdelibdir}/libarkplugin.la -%{tde_tdelibdir}/libarkplugin.so -%{tde_tdelibdir}/libautorefresh.la -%{tde_tdelibdir}/libautorefresh.so -%{tde_tdelibdir}/libbabelfishplugin.la -%{tde_tdelibdir}/libbabelfishplugin.so -%{tde_tdelibdir}/libcrashesplugin.la -%{tde_tdelibdir}/libcrashesplugin.so -%{tde_tdelibdir}/libdirfilterplugin.la -%{tde_tdelibdir}/libdirfilterplugin.so -%{tde_tdelibdir}/librsyncplugin.la -%{tde_tdelibdir}/librsyncplugin.so -%{tde_tdelibdir}/libdomtreeviewerplugin.la -%{tde_tdelibdir}/libdomtreeviewerplugin.so -%{tde_tdelibdir}/libfsviewpart.la -%{tde_tdelibdir}/libfsviewpart.so -%{tde_tdelibdir}/libkhtmlsettingsplugin.la -%{tde_tdelibdir}/libkhtmlsettingsplugin.so -%{tde_tdelibdir}/kcm_kuick.la -%{tde_tdelibdir}/kcm_kuick.so -%{tde_tdelibdir}/libkimgallery.la -%{tde_tdelibdir}/libkimgallery.so -%{tde_tdelibdir}/libkuickplugin.la -%{tde_tdelibdir}/libkuickplugin.so -%{tde_tdelibdir}/libmfkonqmficon.la -%{tde_tdelibdir}/libmfkonqmficon.so -%{tde_tdelibdir}/libminitoolsplugin.la -%{tde_tdelibdir}/libminitoolsplugin.so -%{tde_tdelibdir}/librellinksplugin.la -%{tde_tdelibdir}/librellinksplugin.so -%{tde_tdelibdir}/libsearchbarplugin.la -%{tde_tdelibdir}/libsearchbarplugin.so -%{tde_tdelibdir}/libuachangerplugin.la -%{tde_tdelibdir}/libuachangerplugin.so -%{tde_tdelibdir}/libvalidatorsplugin.la -%{tde_tdelibdir}/libvalidatorsplugin.so -%{tde_tdelibdir}/libwebarchiverplugin.la -%{tde_tdelibdir}/libwebarchiverplugin.so -%{tde_tdelibdir}/webarchivethumbnail.la -%{tde_tdelibdir}/webarchivethumbnail.so -%{tde_datadir}/applnk/.hidden/arkplugin.desktop -%{tde_datadir}/applnk/.hidden/kcmkuick.desktop -%{tde_datadir}/applnk/.hidden/kuickplugin.desktop -%{tde_datadir}/applnk/.hidden/mediaplayerplugin.desktop -%{tde_datadir}/applnk/.hidden/crashesplugin.desktop -%{tde_datadir}/applnk/.hidden/dirfilterplugin.desktop -%{tde_datadir}/applnk/.hidden/rsyncplugin.desktop -%{tde_datadir}/applnk/.hidden/fsview.desktop -%{tde_datadir}/applnk/.hidden/khtmlsettingsplugin.desktop -%{tde_datadir}/applnk/.hidden/kimgalleryplugin.desktop -%{tde_datadir}/applnk/.hidden/plugin_babelfish.desktop -%{tde_datadir}/applnk/.hidden/plugin_domtreeviewer.desktop -%{tde_datadir}/applnk/.hidden/plugin_validators.desktop -%{tde_datadir}/applnk/.hidden/plugin_webarchiver.desktop -%{tde_datadir}/applnk/.hidden/uachangerplugin.desktop -%{tde_datadir}/apps/akregator -%{tde_datadir}/apps/domtreeviewer -%{tde_datadir}/apps/fsview -%{tde_datadir}/apps/imagerotation/orient.py* -%{tde_datadir}/apps/imagerotation/exif.py* -%{tde_datadir}/apps/khtml/kpartplugins -%{tde_datadir}/apps/konqiconview -%{tde_datadir}/apps/konqlistview -%{tde_datadir}/apps/konqsidebartng -%{tde_datadir}/apps/konqueror/icons -%{tde_datadir}/apps/konqueror/kpartplugins -%{tde_datadir}/apps/konqueror/servicemenus -%{tde_datadir}/apps/metabar/iconsrc -%{tde_datadir}/apps/metabar/themes/default/default.css -%{tde_datadir}/apps/metabar/themes/default/layout.html -%{tde_datadir}/apps/microformat/pics/microformat.png -%{tde_datadir}/config.kcfg/konq_sidebarnews.kcfg -%{tde_datadir}/icons/locolor/16x16/apps/autorefresh.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/babelfish.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/cssvalidator.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/domtreeviewer.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/htmlvalidator.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/imagegallery.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/remotesync.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/remotesyncconfig.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/minitools.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/validators.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/webarchiver.png -%{tde_datadir}/icons/crystalsvg/16x16/apps/konqsidebar_delicious.png -%{tde_datadir}/icons/crystalsvg/16x16/apps/konqsidebar_mediaplayer.png -%{tde_datadir}/icons/crystalsvg/16x16/apps/konqsidebar_news.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/babelfish.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/cssvalidator.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/domtreeviewer.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/htmlvalidator.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/imagegallery.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/remotesync.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/remotesyncconfig.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/minitools.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/validators.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/webarchiver.png -%{tde_datadir}/icons/crystalsvg/22x22/apps/konqsidebar_mediaplayer.png -%{tde_datadir}/icons/crystalsvg/32x32/actions/minitools.png -%{tde_datadir}/icons/crystalsvg/32x32/apps/konqsidebar_mediaplayer.png -%{tde_datadir}/icons/crystalsvg/48x48/actions/minitools.png -%{tde_datadir}/icons/crystalsvg/48x48/apps/konqsidebar_mediaplayer.png -%{tde_datadir}/icons/hicolor/16x16/apps/metabar.png -%{tde_datadir}/icons/hicolor/22x22/apps/fsview.png -%{tde_datadir}/icons/hicolor/32x32/apps/fsview.png -%{tde_datadir}/icons/hicolor/32x32/apps/metabar.png -%{tde_datadir}/icons/hicolor/48x48/apps/metabar.png -%{tde_datadir}/icons/hicolor/64x64/apps/metabar.png -%{tde_datadir}/icons/hicolor/scalable/apps/metabar.svgz -%{tde_datadir}/icons/hicolor/128x128/apps/metabar.png -%{tde_datadir}/icons/locolor/32x32/apps/konqsidebar_mediaplayer.png -%{tde_datadir}/services/akregator_konqplugin.desktop -%{tde_datadir}/services/ark_plugin.desktop -%{tde_datadir}/services/fsview_part.desktop -%{tde_datadir}/services/kuick_plugin.desktop -%{tde_datadir}/services/webarchivethumbnail.desktop -%{tde_tdelibdir}/libadblock.la -%{tde_tdelibdir}/libadblock.so -%{tde_tdedocdir}/HTML/en/konq-plugins/ - -%post -n trinity-konq-plugins -for f in crystalsvg hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - -%postun -n trinity-konq-plugins -for f in crystalsvg hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - -########## - -%package -n trinity-ksig -Summary: Graphical tool for managing multiple email signatures -Group: Applications/Utilities -Requires: trinity-kmail - -%description -n trinity-ksig -KSig is a graphical tool for keeping track of many different email -signatures. The signatures themselves can be edited through KSig's -graphical user interface. A command-line interface is then available -for generating random or daily signatures from this list. - -The command-line interface makes a suitable plugin for generating -signatures in external mail clients such as KMail. - -%files -n trinity-ksig -%defattr(-,root,root,-) -%doc README -%{tde_bindir}/ksig -%{tde_tdeappdir}/ksig.desktop -%{tde_datadir}/apps/ksig/ksigui.rc -%{tde_datadir}/icons/hicolor/*/apps/ksig.png -%{tde_tdedocdir}/HTML/en/ksig/ - -%post -n trinity-ksig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ksig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-noatun-plugins -Summary: plugins for Noatun, the Trinity media player -Group: Applications/Utilities -Requires: trinity-noatun - -%description -n trinity-noatun-plugins -This package contains a variety of useful plugins for Noatun, the audio and -video media player for TDE. These plugins can be loaded through the plugin -manager in Noatun settings. - -Highlights include an alarm clock, guessing tags from filenames, adjustable -playback speed, capture to wave file and displaying lyrics, plus a variety -of user interfaces, playlists and visualisation plugins. - -%files -n trinity-noatun-plugins -%defattr(-,root,root,-) -%doc README -%{tde_bindir}/noatunsynaescope.bin -%{tde_bindir}/noatuntippecanoe.bin -%{tde_bindir}/noatuntyler.bin -%{tde_tdelibdir}/noatunalsaplayer.la -%{tde_tdelibdir}/noatunalsaplayer.so -%{tde_tdelibdir}/noatunblurscope.la -%{tde_tdelibdir}/noatunblurscope.so -%{tde_tdelibdir}/noatuncharlatan.la -%{tde_tdelibdir}/noatuncharlatan.so -%{tde_tdelibdir}/noatundub.la -%{tde_tdelibdir}/noatundub.so -%{tde_tdelibdir}/noatun_ffrs.la -%{tde_tdelibdir}/noatun_ffrs.so -%{tde_tdelibdir}/noatunluckytag.la -%{tde_tdelibdir}/noatunluckytag.so -%{tde_tdelibdir}/noatunlyrics.la -%{tde_tdelibdir}/noatunlyrics.so -%{tde_tdelibdir}/noatunmadness.la -%{tde_tdelibdir}/noatunmadness.so -%{tde_tdelibdir}/noatun_oblique.la -%{tde_tdelibdir}/noatun_oblique.so -%{tde_tdelibdir}/noatunpitchablespeed.la -%{tde_tdelibdir}/noatunpitchablespeed.so -%{tde_tdelibdir}/noatunsynaescope.la -%{tde_tdelibdir}/noatunsynaescope.so -%{tde_tdelibdir}/noatuntippecanoe.la -%{tde_tdelibdir}/noatuntippecanoe.so -%{tde_tdelibdir}/noatuntyler.la -%{tde_tdelibdir}/noatuntyler.so -%{tde_tdelibdir}/noatunwakeup.la -%{tde_tdelibdir}/noatunwakeup.so -%{tde_tdelibdir}/noatunwavecapture.la -%{tde_tdelibdir}/noatunwavecapture.so -%{tde_datadir}/apps/noatun/* -%{tde_datadir}/icons/crystalsvg/16x16/apps/synaescope.png - -%post -n trinity-noatun-plugins -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - -%postun -n trinity-noatun-plugins -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - - - -%prep -%setup -q -n kdeaddons-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --enable-new-ldflags \ - --enable-closure \ - --disable-debug --disable-warnings \ - --disable-dependency-tracking --enable-final \ - --with-extra-includes=%{tde_includedir}/tqt:%{_includedir}/db4:%{tde_includedir}/arts:%{tde_includedir} \ - --without-xmms \ - --with-sdl \ - --with-berkeley-db - - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# File lists for locale -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}/$HTML_DIR ]; then - for lang_dir in %{buildroot}/$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi - done -fi - - - -%clean -%__rm -rf %{buildroot} - - - - -%changelog -* Sun Sep 30 2012 Francois Andriot - 3.5.13.1-1 -- Initial build for TDE 3.5.13.1 diff --git a/redhat/tdeaddons/trinity-kdeaddons-3.5.13.spec b/redhat/tdeaddons/trinity-kdeaddons-3.5.13.spec deleted file mode 100644 index f9c2db0ac..000000000 --- a/redhat/tdeaddons/trinity-kdeaddons-3.5.13.spec +++ /dev/null @@ -1,757 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -Name: trinity-tdeaddons -Summary: Trinity Desktop Environment - Plugins -Version: 3.5.13 -Release: 6%{?dist}%{?_variant} - -License: GPLv2 -Group: User Interface/Desktops - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Obsoletes: trinity-kdeaddons < %{version}-%{release} -Provides: trinity-kdeaddons = %{version}-%{release} -Obsoletes: trinity-kdeaddons-extras < %{version}-%{release} -Provides: trinity-kdeaddons-extras = %{version}-%{release} - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: kdeaddons-%{version}.tar.gz -Source1: metabar-fedora.tar.bz2 -Source2: metabarrc - -# [tdeaddons] Updates from v3.5.13-sru branch -Patch0: kdeaddons-3.5.13-sru-20120809.patch.gz - -BuildRequires: autoconf automake libtool m4 -BuildRequires: trinity-arts-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: trinity-tdebase-devel -BuildRequires: trinity-tdegames-devel -BuildRequires: trinity-tdemultimedia-devel -BuildRequires: trinity-tdepim-devel - -BuildRequires: SDL-devel -BuildRequires: alsa-lib-devel -BuildRequires: openssl-devel -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: db4-devel -%endif -%if 0%{?suse_version} -BuildRequires: libdb-4_8-devel -%endif - -%if 0%{?fedora} -BuildRequires: xmms-devel -%endif - -#Requires: which - -Requires: trinity-atlantikdesigner = %{version}-%{release} -Requires: trinity-kaddressbook-plugins = %{version}-%{release} -Requires: trinity-kate-plugins = %{version}-%{release} -Requires: trinity-tdeaddons-kfile-plugins = %{version}-%{release} -Requires: trinity-kicker-applets = %{version}-%{release} -Requires: trinity-knewsticker-scripts = %{version}-%{release} -Requires: trinity-konq-plugins = %{version}-%{release} -Requires: trinity-ksig = %{version}-%{release} -Requires: trinity-noatun-plugins = %{version}-%{release} - - -%description -A collection of TDE Addons/Plugins, including: -* atlantikdesigner: game board designer -* konq-plugins: akregator, babelfish, domtreeviewer, imagerotation, validators, webarchiver -* kate (plugins) -* kicker-applets: kbinaryclock, kolourpicker, ktimemon, mediacontrol -* knewsticker-scripts -* noatun-plugins - -%files -%defattr(-,root,root,-) - -########## - -%package -n trinity-atlantikdesigner -Summary: Game board designer for Atlantik -Group: Applications/Games -#Requires: trinity-atlantik -Requires: trinity-tdegames - -%description -n trinity-atlantikdesigner -Atlantik Designer is a game board designer for the game Atlantik. - -Atlantik is a TDE client for playing Monopoly-like board games on the -monopd network. It can play any board supported by the network -server, including the classic Monopoly game as well as the Atlantik -game in which the properties include several major cities in North -America and Europe. - -%files -n trinity-atlantikdesigner -%defattr(-,root,root,-) -%doc README atlantikdesigner/TODO -%{tde_bindir}/atlantikdesigner -%{tde_datadir}/apps/atlantikdesigner -%{tde_tdeappdir}/atlantikdesigner.desktop -%{tde_datadir}/icons/hicolor/*/apps/atlantikdesigner.png - -%post -n trinity-atlantikdesigner -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-atlantikdesigner -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kaddressbook-plugins -Summary: Plugins for KAddressBook, the Trinity address book -Group: Applications/Utilities -Requires: trinity-kaddressbook - -%description -n trinity-kaddressbook-plugins -This package contains a variety of useful plugins for the KDE address -book. These plugins can be loaded through the TDE address book settings. - -Highlights include exporting postal addresses as flags in KWorldClock, -as well as importing and exporting contacts in the native format used -by the German freemail provider GMX. - -%files -n trinity-kaddressbook-plugins -%defattr(-,root,root,-) -%doc README -%{tde_tdelibdir}/libkaddrbk_geo_xxport.la -%{tde_tdelibdir}/libkaddrbk_geo_xxport.so -%{tde_tdelibdir}/libkaddrbk_gmx_xxport.la -%{tde_tdelibdir}/libkaddrbk_gmx_xxport.so -%{tde_datadir}/apps/kaddressbook -%{tde_datadir}/services/kaddressbook - -########## - -%package -n trinity-kate-plugins -Summary: Plugins for Kate, the TDE Advanced Text Editor -Group: Applications/Utilities -Requires: trinity-kate -Requires: tidy - -%description -n trinity-kate-plugins -This package contains a variety of useful plugins for Kate, the KDE -Advanced Text Editor. These plugins can be loaded through the plugin -manager in Kate settings. - -Highlights include spell checking, text filtering, HTML/XML construction -and validation, vim/emacs modeline handling, templates for new files -and text snippets, opening of C/C++ headers, extraction of C/C++ symbols, -a tab bar, a Python browser and even more. - -%files -n trinity-kate-plugins -%defattr(-,root,root,-) -%doc kate/xmltools/ChangeLog kate/xmltools/README -%{tde_tdelibdir}/katecppsymbolviewerplugin.la -%{tde_tdelibdir}/katecppsymbolviewerplugin.so -%{tde_tdelibdir}/katefiletemplates.la -%{tde_tdelibdir}/katefiletemplates.so -%{tde_tdelibdir}/katefll_plugin.la -%{tde_tdelibdir}/katefll_plugin.so -%{tde_tdelibdir}/katehelloworldplugin.la -%{tde_tdelibdir}/katehelloworldplugin.so -%{tde_tdelibdir}/katehtmltoolsplugin.la -%{tde_tdelibdir}/katehtmltoolsplugin.so -%{tde_tdelibdir}/kateinsertcommandplugin.la -%{tde_tdelibdir}/kateinsertcommandplugin.so -%{tde_tdelibdir}/katemakeplugin.la -%{tde_tdelibdir}/katemakeplugin.so -%{tde_tdelibdir}/katemodelineplugin.la -%{tde_tdelibdir}/katemodelineplugin.so -%{tde_tdelibdir}/kateopenheaderplugin.la -%{tde_tdelibdir}/kateopenheaderplugin.so -%{tde_tdelibdir}/katepybrowseplugin.la -%{tde_tdelibdir}/katepybrowseplugin.so -%{tde_tdelibdir}/katesnippetsplugin.la -%{tde_tdelibdir}/katesnippetsplugin.so -%{tde_tdelibdir}/katetextfilterplugin.la -%{tde_tdelibdir}/katetextfilterplugin.so -%{tde_tdelibdir}/katexmlcheckplugin.la -%{tde_tdelibdir}/katexmlcheckplugin.so -%{tde_tdelibdir}/katexmltoolsplugin.la -%{tde_tdelibdir}/katexmltoolsplugin.so -%{tde_tdelibdir}/libkatetabbarextensionplugin.la -%{tde_tdelibdir}/libkatetabbarextensionplugin.so -%{tde_datadir}/applnk/.hidden/katefll.desktop -%{tde_datadir}/apps/kate -%{tde_datadir}/apps/katepart -%{tde_datadir}/apps/katexmltools -%{tde_datadir}/services/katecppsymbolviewer.desktop -%{tde_datadir}/services/katefiletemplates.desktop -%{tde_datadir}/services/katefll_plugin.desktop -%{tde_datadir}/services/katehelloworld.desktop -%{tde_datadir}/services/katehtmltools.desktop -%{tde_datadir}/services/kateinsertcommand.desktop -%{tde_datadir}/services/katemake.desktop -%{tde_datadir}/services/katemodeline.desktop -%{tde_datadir}/services/kateopenheader.desktop -%{tde_datadir}/services/katepybrowse.desktop -%{tde_datadir}/services/katesnippets.desktop -%{tde_datadir}/services/katetabbarextension.desktop -%{tde_datadir}/services/katetextfilter.desktop -%{tde_datadir}/services/katexmlcheck.desktop -%{tde_datadir}/services/katexmltools.desktop -%{tde_tdedocdir}/HTML/en/kate-plugins/ - -########## - -%package kfile-plugins -Summary: Trinity file dialog plugins for text files and folders -Group: Applications/Utilities - -%description kfile-plugins -This is a collection of plugins for the TDE file dialog. These plugins -extend the file dialog to offer advanced meta-information for text, -HTML and desktop files, as well as for folders, Windows .lnk files, -MIME archives and X.509 certificates. - -This package also includes plugins for the KDE file rename dialog, -allowing a user to more easily decide what to do when faced with a -decision regarding conflicting filenames. Rename dialog plugins are -provided for audio and image files. - -%files kfile-plugins -%defattr(-,root,root,-) -%doc kfile-plugins/lnk/README -%{tde_bindir}/lnkforward -%{tde_tdelibdir}/kfile_cert.la -%{tde_tdelibdir}/kfile_cert.so -%{tde_tdelibdir}/kfile_desktop.la -%{tde_tdelibdir}/kfile_desktop.so -%{tde_tdelibdir}/kfile_folder.la -%{tde_tdelibdir}/kfile_folder.so -%{tde_tdelibdir}/kfile_html.la -%{tde_tdelibdir}/kfile_html.so -%{tde_tdelibdir}/kfile_lnk.la -%{tde_tdelibdir}/kfile_lnk.so -%{tde_tdelibdir}/kfile_mhtml.la -%{tde_tdelibdir}/kfile_mhtml.so -%{tde_tdelibdir}/kfile_txt.la -%{tde_tdelibdir}/kfile_txt.so -%{tde_tdelibdir}/librenaudioplugin.la -%{tde_tdelibdir}/librenaudioplugin.so -%{tde_tdelibdir}/librenimageplugin.la -%{tde_tdelibdir}/librenimageplugin.so -%{tde_datadir}/applnk/.hidden/lnkforward.desktop -%{tde_datadir}/mimelnk/application/x-win-lnk.desktop -%{tde_datadir}/services/kfile_cert.desktop -%{tde_datadir}/services/kfile_desktop.desktop -%{tde_datadir}/services/kfile_folder.desktop -%{tde_datadir}/services/kfile_html.desktop -%{tde_datadir}/services/kfile_lnk.desktop -%{tde_datadir}/services/kfile_mhtml.desktop -%{tde_datadir}/services/kfile_txt.desktop -%{tde_datadir}/services/renaudiodlg.desktop -%{tde_datadir}/services/renimagedlg.desktop - -########## - -%package -n trinity-kicker-applets -Summary: Applets for Kicker, the Trinity panel -Group: Applications/Utilities -Requires: trinity-kicker - -%description -n trinity-kicker-applets -This package contains a variety of applets for Kicker, the KDE panel. -These applets will appear in the panel's Add--Applet menu. - -Included are a system monitor, a colour picker, a media player controller, -a mathematical evaluator and a binary clock. - -The media control applet does not support XMMS, as this would force all -kicker-applets users to install XMMS. If you want a kicker applet that -controls XMMS, install the xmms-kde-trinity package. - -%files -n trinity-kicker-applets -%defattr(-,root,root,-) -%doc README -%{tde_tdelibdir}/kolourpicker_panelapplet.la -%{tde_tdelibdir}/kolourpicker_panelapplet.so -%{tde_tdelibdir}/ktimemon_panelapplet.la -%{tde_tdelibdir}/ktimemon_panelapplet.so -%{tde_tdelibdir}/math_panelapplet.la -%{tde_tdelibdir}/math_panelapplet.so -%{tde_tdelibdir}/mediacontrol_panelapplet.la -%{tde_tdelibdir}/mediacontrol_panelapplet.so -%{tde_tdelibdir}/kbinaryclock_panelapplet.la -%{tde_tdelibdir}/kbinaryclock_panelapplet.so -%{tde_datadir}/apps/kicker/applets -%{tde_datadir}/apps/mediacontrol -%{tde_datadir}/config.kcfg/kbinaryclock.kcfg -%{tde_datadir}/icons/locolor/*/apps/ktimemon.png -%{tde_datadir}/icons/crystalsvg/*/apps/ktimemon.png -%{tde_tdedocdir}/HTML/en/kicker-applets/ - -%post -n trinity-kicker-applets -for f in crystalsvg locolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - -%postun -n trinity-kicker-applets -for f in crystalsvg locolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - -########## - -%package -n trinity-knewsticker-scripts -Summary: scripts for KNewsTicker, the Trinity news ticker -Group: Applications/Utilities -Requires: perl -Requires: python -#Requires: libfinance-quote-perl -#Requires: libmime-perl -#Requires: libnews-nntpclient-perl -Requires: perl-libwww-perl -Requires: trinity-knewsticker - -%description -n trinity-knewsticker-scripts -This package contains a variety of scripts that provide additional news -sources for KNewsTicker, the news ticker applet for the TDE panel. - -Highlights include newsgroup handling, stock data retrieval, sports scores -and various local news sources. - -%files -n trinity-knewsticker-scripts -%defattr(-,root,root,-) -%doc README -%{tde_datadir}/apps/knewsticker/ - -########## - -%package -n trinity-konq-plugins -Summary: plugins for Konqueror, the Trinity file/web/doc browser -Group: Applications/Utilities -%if 0%{?mgaversion} || 0%{?mdkversion} -Requires: %{_lib}jpeg8 -%else -Requires: libjpeg -%endif -Requires: python -Requires: rsync -#Requires: unison -Requires: trinity-konqueror -%if 0%{?fedora} -Requires: python-exif -%endif - -%description -n trinity-konq-plugins -This package contains a variety of useful plugins for Konqueror, the -file manager, web browser and document viewer for TDE. Many of these -plugins will appear in Konqueror's Tools menu. - -Highlights for web browsing include web page translation, web page archiving, -auto-refreshing, HTML and CSS structural analysis, a search toolbar, a -sidebar news ticker, fast access to common options, bookmarklets, a crash -monitor, a microformat availability indicator, a del.icio.us bookmarks -sidebar, and integration with the aKregator RSS feed reader. - -Highlights for directory browsing include directory filters, image gallery -creation, archive compression and extraction, quick copy/move, a sidebar -media player, a file information metabar/sidebar, a media folder helper, a -graphical disk usage viewer and image conversions and transformations. - -%files -n trinity-konq-plugins -%defattr(-,root,root,-) -%doc konq-plugins/README -%{tde_datadir}/config/translaterc -%{tde_bindir}/fsview -%{tde_bindir}/jpegorient -%{tde_bindir}/kio_media_realfolder -%{tde_tdelibdir}/konq_sidebarnews.la -%{tde_tdelibdir}/konq_sidebarnews.so -%{tde_tdelibdir}/konqsidebar_delicious.la -%{tde_tdelibdir}/konqsidebar_delicious.so -%{tde_tdelibdir}/konqsidebar_mediaplayer.la -%{tde_tdelibdir}/konqsidebar_mediaplayer.so -%{tde_tdelibdir}/konqsidebar_metabar.la -%{tde_tdelibdir}/konqsidebar_metabar.so -%{tde_tdelibdir}/libakregatorkonqfeedicon.la -%{tde_tdelibdir}/libakregatorkonqfeedicon.so -%{tde_tdelibdir}/libakregatorkonqplugin.la -%{tde_tdelibdir}/libakregatorkonqplugin.so -%{tde_tdelibdir}/libarkplugin.la -%{tde_tdelibdir}/libarkplugin.so -%{tde_tdelibdir}/libautorefresh.la -%{tde_tdelibdir}/libautorefresh.so -%{tde_tdelibdir}/libbabelfishplugin.la -%{tde_tdelibdir}/libbabelfishplugin.so -%{tde_tdelibdir}/libcrashesplugin.la -%{tde_tdelibdir}/libcrashesplugin.so -%{tde_tdelibdir}/libdirfilterplugin.la -%{tde_tdelibdir}/libdirfilterplugin.so -%{tde_tdelibdir}/librsyncplugin.la -%{tde_tdelibdir}/librsyncplugin.so -%{tde_tdelibdir}/libdomtreeviewerplugin.la -%{tde_tdelibdir}/libdomtreeviewerplugin.so -%{tde_tdelibdir}/libfsviewpart.la -%{tde_tdelibdir}/libfsviewpart.so -%{tde_tdelibdir}/libkhtmlsettingsplugin.la -%{tde_tdelibdir}/libkhtmlsettingsplugin.so -%{tde_tdelibdir}/kcm_kuick.la -%{tde_tdelibdir}/kcm_kuick.so -%{tde_tdelibdir}/libkimgallery.la -%{tde_tdelibdir}/libkimgallery.so -%{tde_tdelibdir}/libkuickplugin.la -%{tde_tdelibdir}/libkuickplugin.so -%{tde_tdelibdir}/libmfkonqmficon.la -%{tde_tdelibdir}/libmfkonqmficon.so -%{tde_tdelibdir}/libminitoolsplugin.la -%{tde_tdelibdir}/libminitoolsplugin.so -%{tde_tdelibdir}/librellinksplugin.la -%{tde_tdelibdir}/librellinksplugin.so -%{tde_tdelibdir}/libsearchbarplugin.la -%{tde_tdelibdir}/libsearchbarplugin.so -%{tde_tdelibdir}/libuachangerplugin.la -%{tde_tdelibdir}/libuachangerplugin.so -%{tde_tdelibdir}/libvalidatorsplugin.la -%{tde_tdelibdir}/libvalidatorsplugin.so -%{tde_tdelibdir}/libwebarchiverplugin.la -%{tde_tdelibdir}/libwebarchiverplugin.so -%{tde_tdelibdir}/webarchivethumbnail.la -%{tde_tdelibdir}/webarchivethumbnail.so -%{tde_datadir}/applnk/.hidden/arkplugin.desktop -%{tde_datadir}/applnk/.hidden/kcmkuick.desktop -%{tde_datadir}/applnk/.hidden/kuickplugin.desktop -%{tde_datadir}/applnk/.hidden/mediaplayerplugin.desktop -%{tde_datadir}/applnk/.hidden/crashesplugin.desktop -%{tde_datadir}/applnk/.hidden/dirfilterplugin.desktop -%{tde_datadir}/applnk/.hidden/rsyncplugin.desktop -%{tde_datadir}/applnk/.hidden/fsview.desktop -%{tde_datadir}/applnk/.hidden/khtmlsettingsplugin.desktop -%{tde_datadir}/applnk/.hidden/kimgalleryplugin.desktop -%{tde_datadir}/applnk/.hidden/plugin_babelfish.desktop -%{tde_datadir}/applnk/.hidden/plugin_domtreeviewer.desktop -%{tde_datadir}/applnk/.hidden/plugin_validators.desktop -%{tde_datadir}/applnk/.hidden/plugin_webarchiver.desktop -%{tde_datadir}/applnk/.hidden/uachangerplugin.desktop -%{tde_datadir}/apps/akregator -%{tde_datadir}/apps/domtreeviewer -%{tde_datadir}/apps/fsview -%{tde_datadir}/apps/imagerotation/orient.py* -%{tde_datadir}/apps/imagerotation/exif.py* -%{tde_datadir}/apps/khtml/kpartplugins -%{tde_datadir}/apps/konqiconview -%{tde_datadir}/apps/konqlistview -%{tde_datadir}/apps/konqsidebartng -%{tde_datadir}/apps/konqueror/icons -%{tde_datadir}/apps/konqueror/kpartplugins -%{tde_datadir}/apps/konqueror/servicemenus -%{tde_datadir}/apps/metabar/iconsrc -%{tde_datadir}/apps/metabar/themes/default/default.css -%{tde_datadir}/apps/metabar/themes/default/layout.html -%{tde_datadir}/apps/microformat/pics/microformat.png -%{tde_datadir}/config.kcfg/konq_sidebarnews.kcfg -%{tde_datadir}/icons/locolor/16x16/apps/autorefresh.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/babelfish.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/cssvalidator.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/domtreeviewer.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/htmlvalidator.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/imagegallery.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/remotesync.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/remotesyncconfig.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/minitools.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/validators.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/webarchiver.png -%{tde_datadir}/icons/crystalsvg/16x16/apps/konqsidebar_delicious.png -%{tde_datadir}/icons/crystalsvg/16x16/apps/konqsidebar_mediaplayer.png -%{tde_datadir}/icons/crystalsvg/16x16/apps/konqsidebar_news.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/babelfish.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/cssvalidator.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/domtreeviewer.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/htmlvalidator.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/imagegallery.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/remotesync.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/remotesyncconfig.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/minitools.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/validators.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/webarchiver.png -%{tde_datadir}/icons/crystalsvg/22x22/apps/konqsidebar_mediaplayer.png -%{tde_datadir}/icons/crystalsvg/32x32/actions/minitools.png -%{tde_datadir}/icons/crystalsvg/32x32/apps/konqsidebar_mediaplayer.png -%{tde_datadir}/icons/crystalsvg/48x48/actions/minitools.png -%{tde_datadir}/icons/crystalsvg/48x48/apps/konqsidebar_mediaplayer.png -%{tde_datadir}/icons/hicolor/16x16/apps/metabar.png -%{tde_datadir}/icons/hicolor/22x22/apps/fsview.png -%{tde_datadir}/icons/hicolor/32x32/apps/fsview.png -%{tde_datadir}/icons/hicolor/32x32/apps/metabar.png -%{tde_datadir}/icons/hicolor/48x48/apps/metabar.png -%{tde_datadir}/icons/hicolor/64x64/apps/metabar.png -%{tde_datadir}/icons/hicolor/scalable/apps/metabar.svgz -%{tde_datadir}/icons/hicolor/128x128/apps/metabar.png -%{tde_datadir}/icons/locolor/32x32/apps/konqsidebar_mediaplayer.png -%{tde_datadir}/services/akregator_konqplugin.desktop -%{tde_datadir}/services/ark_plugin.desktop -%{tde_datadir}/services/fsview_part.desktop -%{tde_datadir}/services/kuick_plugin.desktop -%{tde_datadir}/services/webarchivethumbnail.desktop -%{tde_tdelibdir}/libadblock.la -%{tde_tdelibdir}/libadblock.so -%{tde_tdedocdir}/HTML/en/konq-plugins/ - -%if 0%{?fedora} -%{tde_datadir}/apps/metabar/themes/fedora/ -%{tde_datadir}/config/metabarrc -%endif - -%post -n trinity-konq-plugins -for f in crystalsvg hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - -%postun -n trinity-konq-plugins -for f in crystalsvg hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - -########## - -%package -n trinity-ksig -Summary: Graphical tool for managing multiple email signatures -Group: Applications/Utilities -Requires: trinity-kmail - -%description -n trinity-ksig -KSig is a graphical tool for keeping track of many different email -signatures. The signatures themselves can be edited through KSig's -graphical user interface. A command-line interface is then available -for generating random or daily signatures from this list. - -The command-line interface makes a suitable plugin for generating -signatures in external mail clients such as KMail. - -%files -n trinity-ksig -%defattr(-,root,root,-) -%doc README -%{tde_bindir}/ksig -%{tde_tdeappdir}/ksig.desktop -%{tde_datadir}/apps/ksig/ksigui.rc -%{tde_datadir}/icons/hicolor/*/apps/ksig.png -%{tde_tdedocdir}/HTML/en/ksig/ - -%post -n trinity-ksig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ksig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-noatun-plugins -Summary: plugins for Noatun, the Trinity media player -Group: Applications/Utilities -Requires: trinity-noatun - -%description -n trinity-noatun-plugins -This package contains a variety of useful plugins for Noatun, the audio and -video media player for TDE. These plugins can be loaded through the plugin -manager in Noatun settings. - -Highlights include an alarm clock, guessing tags from filenames, adjustable -playback speed, capture to wave file and displaying lyrics, plus a variety -of user interfaces, playlists and visualisation plugins. - -%files -n trinity-noatun-plugins -%defattr(-,root,root,-) -%doc README -%{tde_bindir}/noatunsynaescope.bin -%{tde_bindir}/noatuntippecanoe.bin -%{tde_bindir}/noatuntyler.bin -%{tde_tdelibdir}/noatunalsaplayer.la -%{tde_tdelibdir}/noatunalsaplayer.so -%{tde_tdelibdir}/noatunblurscope.la -%{tde_tdelibdir}/noatunblurscope.so -%{tde_tdelibdir}/noatuncharlatan.la -%{tde_tdelibdir}/noatuncharlatan.so -%{tde_tdelibdir}/noatundub.la -%{tde_tdelibdir}/noatundub.so -%{tde_tdelibdir}/noatun_ffrs.la -%{tde_tdelibdir}/noatun_ffrs.so -%{tde_tdelibdir}/noatunluckytag.la -%{tde_tdelibdir}/noatunluckytag.so -%{tde_tdelibdir}/noatunlyrics.la -%{tde_tdelibdir}/noatunlyrics.so -%{tde_tdelibdir}/noatunmadness.la -%{tde_tdelibdir}/noatunmadness.so -%{tde_tdelibdir}/noatun_oblique.la -%{tde_tdelibdir}/noatun_oblique.so -%{tde_tdelibdir}/noatunpitchablespeed.la -%{tde_tdelibdir}/noatunpitchablespeed.so -%{tde_tdelibdir}/noatunsynaescope.la -%{tde_tdelibdir}/noatunsynaescope.so -%{tde_tdelibdir}/noatuntippecanoe.la -%{tde_tdelibdir}/noatuntippecanoe.so -%{tde_tdelibdir}/noatuntyler.la -%{tde_tdelibdir}/noatuntyler.so -%{tde_tdelibdir}/noatunwakeup.la -%{tde_tdelibdir}/noatunwakeup.so -%{tde_tdelibdir}/noatunwavecapture.la -%{tde_tdelibdir}/noatunwavecapture.so -%{tde_datadir}/apps/noatun/* -%{tde_datadir}/icons/crystalsvg/16x16/apps/synaescope.png - -%post -n trinity-noatun-plugins -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - -%postun -n trinity-noatun-plugins -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - -########## - - - -%prep -%setup -q -a 1 -n kdeaddons -%patch0 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -#export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -%configure \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --enable-new-ldflags \ - --enable-closure \ - --disable-debug --disable-warnings \ - --disable-dependency-tracking --enable-final \ - --with-extra-includes=%{tde_includedir}/tqt:%{_includedir}/db4:%{tde_includedir}/arts:%{tde_includedir} \ - --without-xmms \ - --with-sdl \ - --with-berkeley-db - - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# File lists for locale -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}/$HTML_DIR ]; then - for lang_dir in %{buildroot}/$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi - done -fi - -%if 0%{?fedora} -# install fedora metabar theme -cp -prf fedora %{buildroot}%{tde_datadir}/apps/metabar/themes -install -m644 -p %{SOURCE2} %{buildroot}%{tde_datadir}/config/ -%endif - - - - - -%clean -%__rm -rf %{buildroot} - - - - -%changelog -* Thu Aug 09 2012 Francois Andriot - 3.5.13-6 -- Updates from v3.5.13-sru branch -- Rebuilt for tdebase-3.5.13-27 - -* Fri Jun 29 2012 Francois Andriot - 3.5.13-5 -- Split in several packages - -* Sat May 05 2012 Francois Andriot - 3.5.13-4 -- Removes SDL patch for noatun - -* Thu Dec 15 2011 Francois Andriot - 3.5.13-3 -- Fix content of -extras package -- Fix various packaging issues - -* Fri Nov 04 2011 Francois Andriot - 3.5.13-2 -- Updates BuildRequires - -* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 -- Initial release for RHEL 6, RHEL 5 and Fedora 15 - -* Sat Oct 29 2011 Francois Andriot - 3.5.13-0 -- Import to GIT - diff --git a/redhat/tdeaddons/trinity-tdeaddons-3.5.13.2.spec b/redhat/tdeaddons/trinity-tdeaddons-3.5.13.2.spec deleted file mode 100644 index c998a3b72..000000000 --- a/redhat/tdeaddons/trinity-tdeaddons-3.5.13.2.spec +++ /dev/null @@ -1,755 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -Name: trinity-tdeaddons -Summary: Trinity Desktop Environment - Plugins -Version: 3.5.13.2 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} - -License: GPLv2 -Group: User Interface/Desktops - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Obsoletes: trinity-kdeaddons < %{version}-%{release} -Provides: trinity-kdeaddons = %{version}-%{release} -Obsoletes: trinity-kdeaddons-extras < %{version}-%{release} -Provides: trinity-kdeaddons-extras = %{version}-%{release} - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: autoconf automake libtool m4 -BuildRequires: qt3-devel >= 3.3.8d -BuildRequires: trinity-arts-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} -BuildRequires: trinity-tdebase-devel >= %{version} -BuildRequires: trinity-tdegames-devel >= %{version} -BuildRequires: trinity-tdemultimedia-devel >= %{version} -BuildRequires: trinity-tdepim-devel >= %{version} -BuildRequires: trinity-tqtinterface-devel >= %{version} - -BuildRequires: SDL-devel -BuildRequires: alsa-lib-devel -BuildRequires: openssl-devel - -# DB4 support -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1220 || 0%{?mdkversion} || 0%{?mgaversion} -%define with_db4 1 -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} -BuildRequires: db4-devel -%endif -%if 0%{?fedora} >= 18 -BuildRequires: libdb4-cxx-devel -%endif -%if 0%{?suse_version} -BuildRequires: libdb-4_8-devel -%endif -%endif - -# XMMS support: no, always disabled, even on Fedora -#%if 0%{?fedora} -#define with_xmms 1 -#BuildRequires: xmms-devel -#%endif - -#Requires: which - -Requires: trinity-atlantikdesigner = %{version}-%{release} -Requires: trinity-kaddressbook-plugins = %{version}-%{release} -Requires: trinity-kate-plugins = %{version}-%{release} -Requires: trinity-tdeaddons-kfile-plugins = %{version}-%{release} -Requires: trinity-kicker-applets = %{version}-%{release} -Requires: trinity-knewsticker-scripts = %{version}-%{release} -Requires: trinity-konq-plugins = %{version}-%{release} -Requires: trinity-ksig = %{version}-%{release} -Requires: trinity-noatun-plugins = %{version}-%{release} - - -%description -A collection of TDE Addons/Plugins, including: -* atlantikdesigner: game board designer -* konq-plugins: akregator, babelfish, domtreeviewer, imagerotation, validators, webarchiver -* kate (plugins) -* kicker-applets: kbinaryclock, kolourpicker, ktimemon, mediacontrol -* knewsticker-scripts -* noatun-plugins - -%files -%defattr(-,root,root,-) - -########## - -%package -n trinity-atlantikdesigner -Summary: Game board designer for Atlantik -Group: Applications/Games -#Requires: trinity-atlantik -Requires: trinity-tdegames - -%description -n trinity-atlantikdesigner -Atlantik Designer is a game board designer for the game Atlantik. - -Atlantik is a TDE client for playing Monopoly-like board games on the -monopd network. It can play any board supported by the network -server, including the classic Monopoly game as well as the Atlantik -game in which the properties include several major cities in North -America and Europe. - -%files -n trinity-atlantikdesigner -%defattr(-,root,root,-) -%doc README atlantikdesigner/TODO -%{tde_bindir}/atlantikdesigner -%{tde_datadir}/apps/atlantikdesigner -%{tde_tdeappdir}/atlantikdesigner.desktop -%{tde_datadir}/icons/hicolor/*/apps/atlantikdesigner.png - -%post -n trinity-atlantikdesigner -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-atlantikdesigner -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kaddressbook-plugins -Summary: Plugins for KAddressBook, the Trinity address book -Group: Applications/Utilities -Requires: trinity-kaddressbook - -%description -n trinity-kaddressbook-plugins -This package contains a variety of useful plugins for the KDE address -book. These plugins can be loaded through the TDE address book settings. - -Highlights include exporting postal addresses as flags in KWorldClock, -as well as importing and exporting contacts in the native format used -by the German freemail provider GMX. - -%files -n trinity-kaddressbook-plugins -%defattr(-,root,root,-) -%doc README -%{tde_tdelibdir}/libkaddrbk_geo_xxport.la -%{tde_tdelibdir}/libkaddrbk_geo_xxport.so -%{tde_tdelibdir}/libkaddrbk_gmx_xxport.la -%{tde_tdelibdir}/libkaddrbk_gmx_xxport.so -%{tde_datadir}/apps/kaddressbook -%{tde_datadir}/services/kaddressbook - -########## - -%package -n trinity-kate-plugins -Summary: Plugins for Kate, the TDE Advanced Text Editor -Group: Applications/Utilities -Requires: trinity-kate -Requires: tidy - -%description -n trinity-kate-plugins -This package contains a variety of useful plugins for Kate, the KDE -Advanced Text Editor. These plugins can be loaded through the plugin -manager in Kate settings. - -Highlights include spell checking, text filtering, HTML/XML construction -and validation, vim/emacs modeline handling, templates for new files -and text snippets, opening of C/C++ headers, extraction of C/C++ symbols, -a tab bar, a Python browser and even more. - -%files -n trinity-kate-plugins -%defattr(-,root,root,-) -%doc kate/xmltools/ChangeLog kate/xmltools/README -%{tde_tdelibdir}/katecppsymbolviewerplugin.la -%{tde_tdelibdir}/katecppsymbolviewerplugin.so -%{tde_tdelibdir}/katefiletemplates.la -%{tde_tdelibdir}/katefiletemplates.so -%{tde_tdelibdir}/katefll_plugin.la -%{tde_tdelibdir}/katefll_plugin.so -%{tde_tdelibdir}/katehelloworldplugin.la -%{tde_tdelibdir}/katehelloworldplugin.so -%{tde_tdelibdir}/katehtmltoolsplugin.la -%{tde_tdelibdir}/katehtmltoolsplugin.so -%{tde_tdelibdir}/kateinsertcommandplugin.la -%{tde_tdelibdir}/kateinsertcommandplugin.so -%{tde_tdelibdir}/katemakeplugin.la -%{tde_tdelibdir}/katemakeplugin.so -%{tde_tdelibdir}/katemodelineplugin.la -%{tde_tdelibdir}/katemodelineplugin.so -%{tde_tdelibdir}/kateopenheaderplugin.la -%{tde_tdelibdir}/kateopenheaderplugin.so -%{tde_tdelibdir}/katepybrowseplugin.la -%{tde_tdelibdir}/katepybrowseplugin.so -%{tde_tdelibdir}/katesnippetsplugin.la -%{tde_tdelibdir}/katesnippetsplugin.so -%{tde_tdelibdir}/katetextfilterplugin.la -%{tde_tdelibdir}/katetextfilterplugin.so -%{tde_tdelibdir}/katexmlcheckplugin.la -%{tde_tdelibdir}/katexmlcheckplugin.so -%{tde_tdelibdir}/katexmltoolsplugin.la -%{tde_tdelibdir}/katexmltoolsplugin.so -%{tde_tdelibdir}/libkatetabbarextensionplugin.la -%{tde_tdelibdir}/libkatetabbarextensionplugin.so -%{tde_datadir}/applnk/.hidden/katefll.desktop -%{tde_datadir}/apps/kate -%{tde_datadir}/apps/katepart -%{tde_datadir}/apps/katexmltools -%{tde_datadir}/services/katecppsymbolviewer.desktop -%{tde_datadir}/services/katefiletemplates.desktop -%{tde_datadir}/services/katefll_plugin.desktop -%{tde_datadir}/services/katehelloworld.desktop -%{tde_datadir}/services/katehtmltools.desktop -%{tde_datadir}/services/kateinsertcommand.desktop -%{tde_datadir}/services/katemake.desktop -%{tde_datadir}/services/katemodeline.desktop -%{tde_datadir}/services/kateopenheader.desktop -%{tde_datadir}/services/katepybrowse.desktop -%{tde_datadir}/services/katesnippets.desktop -%{tde_datadir}/services/katetabbarextension.desktop -%{tde_datadir}/services/katetextfilter.desktop -%{tde_datadir}/services/katexmlcheck.desktop -%{tde_datadir}/services/katexmltools.desktop -%{tde_tdedocdir}/HTML/en/kate-plugins/ - -########## - -%package kfile-plugins -Summary: Trinity file dialog plugins for text files and folders -Group: Applications/Utilities - -%description kfile-plugins -This is a collection of plugins for the TDE file dialog. These plugins -extend the file dialog to offer advanced meta-information for text, -HTML and desktop files, as well as for folders, Windows .lnk files, -MIME archives and X.509 certificates. - -This package also includes plugins for the KDE file rename dialog, -allowing a user to more easily decide what to do when faced with a -decision regarding conflicting filenames. Rename dialog plugins are -provided for audio and image files. - -%files kfile-plugins -%defattr(-,root,root,-) -%doc kfile-plugins/lnk/README -%{tde_bindir}/lnkforward -%{tde_tdelibdir}/kfile_cert.la -%{tde_tdelibdir}/kfile_cert.so -%{tde_tdelibdir}/kfile_desktop.la -%{tde_tdelibdir}/kfile_desktop.so -%{tde_tdelibdir}/kfile_folder.la -%{tde_tdelibdir}/kfile_folder.so -%{tde_tdelibdir}/kfile_html.la -%{tde_tdelibdir}/kfile_html.so -%{tde_tdelibdir}/kfile_lnk.la -%{tde_tdelibdir}/kfile_lnk.so -%{tde_tdelibdir}/kfile_mhtml.la -%{tde_tdelibdir}/kfile_mhtml.so -%{tde_tdelibdir}/kfile_txt.la -%{tde_tdelibdir}/kfile_txt.so -%{tde_tdelibdir}/librenaudioplugin.la -%{tde_tdelibdir}/librenaudioplugin.so -%{tde_tdelibdir}/librenimageplugin.la -%{tde_tdelibdir}/librenimageplugin.so -%{tde_datadir}/applnk/.hidden/lnkforward.desktop -%{tde_datadir}/mimelnk/application/x-win-lnk.desktop -%{tde_datadir}/services/kfile_cert.desktop -%{tde_datadir}/services/kfile_desktop.desktop -%{tde_datadir}/services/kfile_folder.desktop -%{tde_datadir}/services/kfile_html.desktop -%{tde_datadir}/services/kfile_lnk.desktop -%{tde_datadir}/services/kfile_mhtml.desktop -%{tde_datadir}/services/kfile_txt.desktop -%{tde_datadir}/services/renaudiodlg.desktop -%{tde_datadir}/services/renimagedlg.desktop - -########## - -%package -n trinity-kicker-applets -Summary: Applets for Kicker, the Trinity panel -Group: Applications/Utilities -Requires: trinity-kicker - -%description -n trinity-kicker-applets -This package contains a variety of applets for Kicker, the KDE panel. -These applets will appear in the panel's Add--Applet menu. - -Included are a system monitor, a colour picker, a media player controller, -a mathematical evaluator and a binary clock. - -The media control applet does not support XMMS, as this would force all -kicker-applets users to install XMMS. If you want a kicker applet that -controls XMMS, install the xmms-kde-trinity package. - -%files -n trinity-kicker-applets -%defattr(-,root,root,-) -%doc README -%{tde_tdelibdir}/kolourpicker_panelapplet.la -%{tde_tdelibdir}/kolourpicker_panelapplet.so -%{tde_tdelibdir}/ktimemon_panelapplet.la -%{tde_tdelibdir}/ktimemon_panelapplet.so -%{tde_tdelibdir}/math_panelapplet.la -%{tde_tdelibdir}/math_panelapplet.so -%{tde_tdelibdir}/mediacontrol_panelapplet.la -%{tde_tdelibdir}/mediacontrol_panelapplet.so -%{tde_tdelibdir}/kbinaryclock_panelapplet.la -%{tde_tdelibdir}/kbinaryclock_panelapplet.so -%{tde_datadir}/apps/kicker/applets -%{tde_datadir}/apps/mediacontrol -%{tde_datadir}/config.kcfg/kbinaryclock.kcfg -%{tde_datadir}/icons/locolor/*/apps/ktimemon.png -%{tde_datadir}/icons/crystalsvg/*/apps/ktimemon.png -%{tde_tdedocdir}/HTML/en/kicker-applets/ - -%post -n trinity-kicker-applets -for f in crystalsvg locolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - -%postun -n trinity-kicker-applets -for f in crystalsvg locolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - -########## - -%package -n trinity-knewsticker-scripts -Summary: scripts for KNewsTicker, the Trinity news ticker -Group: Applications/Utilities -Requires: perl -Requires: python -#Requires: libfinance-quote-perl -#Requires: libmime-perl -#Requires: libnews-nntpclient-perl -Requires: perl-libwww-perl -Requires: trinity-knewsticker - -%description -n trinity-knewsticker-scripts -This package contains a variety of scripts that provide additional news -sources for KNewsTicker, the news ticker applet for the TDE panel. - -Highlights include newsgroup handling, stock data retrieval, sports scores -and various local news sources. - -%files -n trinity-knewsticker-scripts -%defattr(-,root,root,-) -%doc README -%{tde_datadir}/apps/knewsticker/ - -########## - -%package -n trinity-konq-plugins -Summary: plugins for Konqueror, the Trinity file/web/doc browser -Group: Applications/Utilities -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} == 0 -Requires: %{_lib}jpeg8 -%endif -%endif -%if 0%{?rhel} || 0%{?fedora} -Requires: libjpeg -%endif -%if 0%{?suse_version} >= 1220 -Requires: libjpeg62 -%endif -%if 0%{?pclinuxos} -Requires: %{_lib}jpeg62 -%endif -%if 0%{?suse_version} == 1230 -Requires: libjpeg8 -%endif -Requires: python -Requires: rsync -#Requires: unison -Requires: trinity-konqueror -%if 0%{?fedora} -Requires: python-exif -%endif - -%description -n trinity-konq-plugins -This package contains a variety of useful plugins for Konqueror, the -file manager, web browser and document viewer for TDE. Many of these -plugins will appear in Konqueror's Tools menu. - -Highlights for web browsing include web page translation, web page archiving, -auto-refreshing, HTML and CSS structural analysis, a search toolbar, a -sidebar news ticker, fast access to common options, bookmarklets, a crash -monitor, a microformat availability indicator, a del.icio.us bookmarks -sidebar, and integration with the aKregator RSS feed reader. - -Highlights for directory browsing include directory filters, image gallery -creation, archive compression and extraction, quick copy/move, a sidebar -media player, a file information metabar/sidebar, a media folder helper, a -graphical disk usage viewer and image conversions and transformations. - -%files -n trinity-konq-plugins -%defattr(-,root,root,-) -%doc konq-plugins/README -%{tde_datadir}/config/translaterc -%{tde_bindir}/fsview -%{tde_bindir}/jpegorient -%{tde_bindir}/kio_media_realfolder -%{tde_tdelibdir}/konq_sidebarnews.la -%{tde_tdelibdir}/konq_sidebarnews.so -%{tde_tdelibdir}/konqsidebar_delicious.la -%{tde_tdelibdir}/konqsidebar_delicious.so -%{tde_tdelibdir}/konqsidebar_mediaplayer.la -%{tde_tdelibdir}/konqsidebar_mediaplayer.so -%{tde_tdelibdir}/konqsidebar_metabar.la -%{tde_tdelibdir}/konqsidebar_metabar.so -%{tde_tdelibdir}/libakregatorkonqfeedicon.la -%{tde_tdelibdir}/libakregatorkonqfeedicon.so -%{tde_tdelibdir}/libakregatorkonqplugin.la -%{tde_tdelibdir}/libakregatorkonqplugin.so -%{tde_tdelibdir}/libarkplugin.la -%{tde_tdelibdir}/libarkplugin.so -%{tde_tdelibdir}/libautorefresh.la -%{tde_tdelibdir}/libautorefresh.so -%{tde_tdelibdir}/libbabelfishplugin.la -%{tde_tdelibdir}/libbabelfishplugin.so -%{tde_tdelibdir}/libcrashesplugin.la -%{tde_tdelibdir}/libcrashesplugin.so -%{tde_tdelibdir}/libdirfilterplugin.la -%{tde_tdelibdir}/libdirfilterplugin.so -%{tde_tdelibdir}/librsyncplugin.la -%{tde_tdelibdir}/librsyncplugin.so -%{tde_tdelibdir}/libdomtreeviewerplugin.la -%{tde_tdelibdir}/libdomtreeviewerplugin.so -%{tde_tdelibdir}/libfsviewpart.la -%{tde_tdelibdir}/libfsviewpart.so -%{tde_tdelibdir}/libkhtmlsettingsplugin.la -%{tde_tdelibdir}/libkhtmlsettingsplugin.so -%{tde_tdelibdir}/kcm_kuick.la -%{tde_tdelibdir}/kcm_kuick.so -%{tde_tdelibdir}/libkimgallery.la -%{tde_tdelibdir}/libkimgallery.so -%{tde_tdelibdir}/libkuickplugin.la -%{tde_tdelibdir}/libkuickplugin.so -%{tde_tdelibdir}/libmfkonqmficon.la -%{tde_tdelibdir}/libmfkonqmficon.so -%{tde_tdelibdir}/libminitoolsplugin.la -%{tde_tdelibdir}/libminitoolsplugin.so -%{tde_tdelibdir}/librellinksplugin.la -%{tde_tdelibdir}/librellinksplugin.so -%{tde_tdelibdir}/libsearchbarplugin.la -%{tde_tdelibdir}/libsearchbarplugin.so -%{tde_tdelibdir}/libuachangerplugin.la -%{tde_tdelibdir}/libuachangerplugin.so -%{tde_tdelibdir}/libvalidatorsplugin.la -%{tde_tdelibdir}/libvalidatorsplugin.so -%{tde_tdelibdir}/libwebarchiverplugin.la -%{tde_tdelibdir}/libwebarchiverplugin.so -%{tde_tdelibdir}/webarchivethumbnail.la -%{tde_tdelibdir}/webarchivethumbnail.so -%{tde_datadir}/applnk/.hidden/arkplugin.desktop -%{tde_datadir}/applnk/.hidden/kcmkuick.desktop -%{tde_datadir}/applnk/.hidden/kuickplugin.desktop -%{tde_datadir}/applnk/.hidden/mediaplayerplugin.desktop -%{tde_datadir}/applnk/.hidden/crashesplugin.desktop -%{tde_datadir}/applnk/.hidden/dirfilterplugin.desktop -%{tde_datadir}/applnk/.hidden/rsyncplugin.desktop -%{tde_datadir}/applnk/.hidden/fsview.desktop -%{tde_datadir}/applnk/.hidden/khtmlsettingsplugin.desktop -%{tde_datadir}/applnk/.hidden/kimgalleryplugin.desktop -%{tde_datadir}/applnk/.hidden/plugin_babelfish.desktop -%{tde_datadir}/applnk/.hidden/plugin_domtreeviewer.desktop -%{tde_datadir}/applnk/.hidden/plugin_validators.desktop -%{tde_datadir}/applnk/.hidden/plugin_webarchiver.desktop -%{tde_datadir}/applnk/.hidden/uachangerplugin.desktop -%{tde_datadir}/apps/akregator -%{tde_datadir}/apps/domtreeviewer -%{tde_datadir}/apps/fsview -%{tde_datadir}/apps/imagerotation/orient.py* -%{tde_datadir}/apps/imagerotation/exif.py* -%{tde_datadir}/apps/khtml/kpartplugins -%{tde_datadir}/apps/konqiconview -%{tde_datadir}/apps/konqlistview -%{tde_datadir}/apps/konqsidebartng -%{tde_datadir}/apps/konqueror/icons -%{tde_datadir}/apps/konqueror/kpartplugins -%{tde_datadir}/apps/konqueror/servicemenus -%{tde_datadir}/apps/metabar/iconsrc -%{tde_datadir}/apps/metabar/themes/default/default.css -%{tde_datadir}/apps/metabar/themes/default/layout.html -%{tde_datadir}/apps/microformat/pics/microformat.png -%{tde_datadir}/config.kcfg/konq_sidebarnews.kcfg -%{tde_datadir}/icons/locolor/16x16/apps/autorefresh.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/babelfish.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/cssvalidator.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/domtreeviewer.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/htmlvalidator.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/imagegallery.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/remotesync.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/remotesyncconfig.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/minitools.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/validators.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/webarchiver.png -%{tde_datadir}/icons/crystalsvg/16x16/apps/konqsidebar_delicious.png -%{tde_datadir}/icons/crystalsvg/16x16/apps/konqsidebar_mediaplayer.png -%{tde_datadir}/icons/crystalsvg/16x16/apps/konqsidebar_news.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/babelfish.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/cssvalidator.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/domtreeviewer.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/htmlvalidator.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/imagegallery.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/remotesync.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/remotesyncconfig.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/minitools.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/validators.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/webarchiver.png -%{tde_datadir}/icons/crystalsvg/22x22/apps/konqsidebar_mediaplayer.png -%{tde_datadir}/icons/crystalsvg/32x32/actions/minitools.png -%{tde_datadir}/icons/crystalsvg/32x32/apps/konqsidebar_mediaplayer.png -%{tde_datadir}/icons/crystalsvg/48x48/actions/minitools.png -%{tde_datadir}/icons/crystalsvg/48x48/apps/konqsidebar_mediaplayer.png -%{tde_datadir}/icons/hicolor/16x16/apps/metabar.png -%{tde_datadir}/icons/hicolor/22x22/apps/fsview.png -%{tde_datadir}/icons/hicolor/32x32/apps/fsview.png -%{tde_datadir}/icons/hicolor/32x32/apps/metabar.png -%{tde_datadir}/icons/hicolor/48x48/apps/metabar.png -%{tde_datadir}/icons/hicolor/64x64/apps/metabar.png -%{tde_datadir}/icons/hicolor/scalable/apps/metabar.svgz -%{tde_datadir}/icons/hicolor/128x128/apps/metabar.png -%{tde_datadir}/icons/locolor/32x32/apps/konqsidebar_mediaplayer.png -%{tde_datadir}/services/akregator_konqplugin.desktop -%{tde_datadir}/services/ark_plugin.desktop -%{tde_datadir}/services/fsview_part.desktop -%{tde_datadir}/services/kuick_plugin.desktop -%{tde_datadir}/services/webarchivethumbnail.desktop -%{tde_tdelibdir}/libadblock.la -%{tde_tdelibdir}/libadblock.so -%{tde_tdedocdir}/HTML/en/konq-plugins/ - -%post -n trinity-konq-plugins -for f in crystalsvg hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - -%postun -n trinity-konq-plugins -for f in crystalsvg hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - -########## - -%package -n trinity-ksig -Summary: Graphical tool for managing multiple email signatures -Group: Applications/Utilities -Requires: trinity-kmail - -%description -n trinity-ksig -KSig is a graphical tool for keeping track of many different email -signatures. The signatures themselves can be edited through KSig's -graphical user interface. A command-line interface is then available -for generating random or daily signatures from this list. - -The command-line interface makes a suitable plugin for generating -signatures in external mail clients such as KMail. - -%files -n trinity-ksig -%defattr(-,root,root,-) -%doc README -%{tde_bindir}/ksig -%{tde_tdeappdir}/ksig.desktop -%{tde_datadir}/apps/ksig/ksigui.rc -%{tde_datadir}/icons/hicolor/*/apps/ksig.png -%{tde_tdedocdir}/HTML/en/ksig/ - -%post -n trinity-ksig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ksig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-noatun-plugins -Summary: plugins for Noatun, the Trinity media player -Group: Applications/Utilities -Requires: trinity-noatun - -%description -n trinity-noatun-plugins -This package contains a variety of useful plugins for Noatun, the audio and -video media player for TDE. These plugins can be loaded through the plugin -manager in Noatun settings. - -Highlights include an alarm clock, guessing tags from filenames, adjustable -playback speed, capture to wave file and displaying lyrics, plus a variety -of user interfaces, playlists and visualisation plugins. - -%files -n trinity-noatun-plugins -%defattr(-,root,root,-) -%doc README -%{tde_bindir}/noatunsynaescope.bin -%{tde_bindir}/noatuntippecanoe.bin -%{tde_bindir}/noatuntyler.bin -%{tde_tdelibdir}/noatunalsaplayer.la -%{tde_tdelibdir}/noatunalsaplayer.so -%{tde_tdelibdir}/noatunblurscope.la -%{tde_tdelibdir}/noatunblurscope.so -%{tde_tdelibdir}/noatuncharlatan.la -%{tde_tdelibdir}/noatuncharlatan.so -%{tde_tdelibdir}/noatundub.la -%{tde_tdelibdir}/noatundub.so -%{tde_tdelibdir}/noatun_ffrs.la -%{tde_tdelibdir}/noatun_ffrs.so -%{tde_tdelibdir}/noatunluckytag.la -%{tde_tdelibdir}/noatunluckytag.so -%{tde_tdelibdir}/noatunlyrics.la -%{tde_tdelibdir}/noatunlyrics.so -%{tde_tdelibdir}/noatunmadness.la -%{tde_tdelibdir}/noatunmadness.so -%if 0%{?with_db4} -%{tde_tdelibdir}/noatun_oblique.la -%{tde_tdelibdir}/noatun_oblique.so -%endif -%{tde_tdelibdir}/noatunpitchablespeed.la -%{tde_tdelibdir}/noatunpitchablespeed.so -%{tde_tdelibdir}/noatunsynaescope.la -%{tde_tdelibdir}/noatunsynaescope.so -%{tde_tdelibdir}/noatuntippecanoe.la -%{tde_tdelibdir}/noatuntippecanoe.so -%{tde_tdelibdir}/noatuntyler.la -%{tde_tdelibdir}/noatuntyler.so -%{tde_tdelibdir}/noatunwakeup.la -%{tde_tdelibdir}/noatunwakeup.so -%{tde_tdelibdir}/noatunwavecapture.la -%{tde_tdelibdir}/noatunwavecapture.so -%{tde_datadir}/apps/noatun/* -%{tde_datadir}/icons/crystalsvg/16x16/apps/synaescope.png - -%post -n trinity-noatun-plugins -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - -%postun -n trinity-noatun-plugins -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -# Note about DB4: -# Fedora 18: /usr/include/libdb4/db_cxx.h , /usr/lib64/libdb_cxx-4.so - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --enable-new-ldflags \ - --enable-closure \ - --disable-debug --disable-warnings \ - --disable-dependency-tracking --enable-final \ - --with-extra-includes=%{tde_includedir}/tqt:%{_includedir}/db4:%{_includedir}/libdb4:%{tde_includedir}/arts:%{tde_includedir} \ - %{?with_xmms:--with-xmms} %{?!with_xmms:--without-xmms} \ - --with-sdl \ -%if 0%{?with_db4} - --with-berkeley-db \ -%if 0%{?fedora} == 18 - --with-db-lib=db_cxx-4 \ -%endif -%endif - - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# File lists for locale -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}/$HTML_DIR ]; then - for lang_dir in %{buildroot}/$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi - done -fi - - -%clean -%__rm -rf %{buildroot} - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 -- Initial release for TDE 3.5.13.2 - diff --git a/redhat/tdeadmin/kdeadmin-3.5.12.spec b/redhat/tdeadmin/kdeadmin-3.5.12.spec new file mode 100644 index 000000000..73af2969a --- /dev/null +++ b/redhat/tdeadmin/kdeadmin-3.5.12.spec @@ -0,0 +1,197 @@ +# Default version for this component +%if "%{?version}" == "" +%define version 3.5.12 +%endif +%define release 2 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_prefix}/share/doc +%endif + +# TDE 3.5.12 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir} +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/kde3 + + +%define console_helper 1 + +Name: trinity-kdeadmin +Summary: Administrative tools for TDE +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2 +Group: User Interface/Desktops +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: kdeadmin-%{version}.tar.gz +Source1: kuser.pam +Source2: kuser.pamd +Source5: kpackagerc +Source6: ksysvrc +Source7: kuserrc + +Requires: trinity-kdelibs +Requires: pkgconfig +%if 0%{?console_helper} +Requires: usermode-gtk +%endif + +BuildRequires: trinity-kdelibs-devel +BuildRequires: rpm-devel + +%description +The kdeadmin package includes administrative tools for the K Desktop +Environment (KDE) including: +kcron, kdat, knetworkconf, kpackage, ksysv, kuser. + + +%prep +%setup -q -n kdeadmin + +%if 0%{?rhel} > 1 + echo 'DO_NOT_COMPILE="$DO_NOT_COMPILE kpackage"' >kpackage/configure.in.in + echo 'DO_NOT_COMPILE="$DO_NOT_COMPILE ksysv"' >ksysv/configure.in.in + echo 'DO_NOT_COMPILE="$DO_NOT_COMPILE kuser"' >kuser/configure.in.in + echo 'DO_NOT_COMPILE="$DO_NOT_COMPILE lilo-config"' >lilo-config/configure.in.in +%endif + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%if 0%{?fedora} > 0 +export CXXFLAGS="${CXXFLAGS} -fpermissive" +%endif + +%configure \ + --enable-new-ldflags \ + --disable-dependency-tracking \ + --disable-rpath \ + --with-rpm \ + --enable-final \ + --with-private-groups \ + --with-extra-includes=%{_includedir}/tqt + +%__make %{?_smp_mflags} + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +%if 0%{?rhel} > 1 +comps="kcron kdat knetworkconf" +rm -rf %{buildroot}%{_docdir}/HTML/en/kuser \ + %{buildroot}%{_docdir}/HTML/en/kpackage \ + %{buildroot}%{_docdir}/HTML/en/ksysv \ + %{buildroot}%{_docdir}/HTML/en/lilo-config +%else +comps="kcron kdat knetworkconf kpackage ksysv kuser" +mkdir -p %{buildroot}%{_datadir}/config \ + %{buildroot}/etc/security/console.apps \ + %{buildroot}/etc/pam.d \ + %{buildroot}%{_sbindir} + +install -p -m644 %{SOURCE5} %{SOURCE6} %{SOURCE7} %{buildroot}%{_datadir}/config/ + +# Run kuser through consolehelper +install -p -m644 %{SOURCE1} %{buildroot}/etc/security/console.apps/kuser +install -p -m644 %{SOURCE2} %{buildroot}/etc/pam.d/kuser +mv %{buildroot}%{_bindir}/kuser %{buildroot}%{_sbindir} +ln -s consolehelper %{buildroot}%{_bindir}/kuser +%endif + +# locale's +%find_lang %{name} || touch %{name}.lang +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}/$HTML_DIR ]; then +for lang_dir in %{buildroot}/$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi +done +fi + +# rpmdocs +for dir in $comps ; do + for file in AUTHORS ChangeLog README TODO ; do + test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file" + done +done + +%post +for icon_theme in crystalsvg hicolor locolor ; do + touch --no-create %{_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun +for icon_theme in crystalsvg hicolor locolor ; do + touch --no-create %{_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + + +%clean +%__rm -rf %{buildroot} + + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING README +%doc rpmdocs/* +%{_bindir}/* +%if 0%{?rhel} < 1 +%{_sbindir}/* +%config(noreplace) /etc/pam.d/* +%config(noreplace) /etc/security/console.apps/* +%{_datadir}/config*/* +%{_datadir}/mimelnk/*/*.desktop +%{_datadir}/icons/crystalsvg/*/*/* +%endif +%{_datadir}/apps/* +%{_datadir}/applications/kde/*.desktop +%{_datadir}/icons/hicolor/*/*/* +%{_datadir}/icons/locolor/*/*/* +%{_datadir}/service*/*.desktop +%{tde_libdir}/* +%{_libdir}/pkgconfig/*.pc + + + + +%changelog +* Mon Sep 19 2011 Francois Andriot - 3.5.12-2 +- Add support for RHEL5 + +* Sun Sep 11 2011 Francois Andriot - 3.5.12-1 +- Initial build for RHEL 6 +- Spec file based on Fedora 8 "kdeadmin-3.5.10-1" +- Import to GIT diff --git a/redhat/tdeadmin/kdeadmin-3.5.13.1.spec b/redhat/tdeadmin/kdeadmin-3.5.13.1.spec new file mode 100644 index 000000000..89a58392b --- /dev/null +++ b/redhat/tdeadmin/kdeadmin-3.5.13.1.spec @@ -0,0 +1,482 @@ +# Avoids relinking, which breaks consolehelper +%define dont_relink 1 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_sbindir %{tde_prefix}/sbin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-tdeadmin +Summary: Administrative tools for TDE +Version: 3.5.13.1 +Release: 1%{?dist}%{?_variant} + +License: GPLv2 +Group: User Interface/Desktops +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} + +Obsoletes: trinity-kdeadmin < %{version}-%{release} +Provides: trinity-kdeadmin = %{version}-%{release} + +Source0: kdeadmin-%{version}.tar.gz +Source1: kuser.pam +Source2: kuser.pamd +Source5: kpackagerc +Source6: ksysvrc +Source7: kuserrc + +BuildRequires: autoconf automake libtool m4 +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: rpm-devel +BuildRequires: pam-devel +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +BuildRequires: lilo +%endif + +Requires: trinity-tdeadmin = %{version}-%{release} +Requires: trinity-kcron = %{version}-%{release} +Requires: trinity-kdat = %{version}-%{release} +Requires: %{name}-kfile-plugins = %{version}-%{release} +Requires: trinity-knetworkconf = %{version}-%{release} +Requires: trinity-kpackage = %{version}-%{release} +Requires: trinity-ksysv = %{version}-%{release} +Requires: trinity-kuser = %{version}-%{release} +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +Requires: trinity-lilo-config = %{version}-%{release} +%endif + + +%description +The tdeadmin package includes administrative tools for the Trinity Desktop +Environment (TDE) including: +kcron, kdat, knetworkconf, kpackage, ksysv, kuser. + +%files +%defattr(-,root,root,-) +# LILO is not provided in RHEL or Fedora +%if 0%{?rhel} || 0%{?fedora} +%exclude %{tde_tdedocdir}/HTML/en/lilo-config/ +%endif + +########## + +%package -n trinity-kcron +Summary: The Trinity crontab editor +Group: Applications/Utilities + +%description -n trinity-kcron +KCron is an application for scheduling programs to run in the background. +It is a graphical user interface to cron, the UNIX system scheduler. + +%files -n trinity-kcron +%defattr(-,root,root,-) +%{tde_bindir}/kcron +%{tde_tdeappdir}/kcron.desktop +%{tde_datadir}/apps/kcron/kcronui.rc +%{tde_datadir}/icons/hicolor/*/apps/kcron.png +%{tde_tdedocdir}/HTML/en/kcron/ + +%post -n trinity-kcron +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kcron +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kdat +Summary: A Trinity tape backup tool +Group: Applications/Utilities + +%description -n trinity-kdat +KDat is a tar-based tape archiver. It is designed to work with multiple +archives on a single tape. + +Main features are: +* Simple graphical interface to local filesystem and tape contents. +* Multiple archives on the same physical tape. +* Complete index of archives and files is stored on local hard disk. +* Selective restore of files from an archive. +* Backup profiles for frequently used backups. + +%files -n trinity-kdat +%defattr(-,root,root,-) +%doc rpmdocs/kdat/* +%{tde_bindir}/kdat +%{tde_tdeappdir}/kdat.desktop +%{tde_datadir}/apps/kdat/ +%{tde_datadir}/icons/hicolor/*/apps/kdat.png +%{tde_datadir}/icons/locolor/*/apps/kdat.png +%{tde_tdedocdir}/HTML/en/kdat/ + +%post -n trinity-kdat +for icon_theme in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kdat +for icon_theme in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package kfile-plugins +Summary: Trinity file metainfo plugins for deb and rpm files +Group: Environment/Libraries + +%description kfile-plugins +File metainfo plugins for deb and rpm package files. + +%files kfile-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/kfile_deb.la +%{tde_tdelibdir}/kfile_deb.so +%{tde_tdelibdir}/kfile_rpm.la +%{tde_tdelibdir}/kfile_rpm.so +%{tde_datadir}/services/kfile_deb.desktop +%{tde_datadir}/services/kfile_rpm.desktop + +########## + +%package -n trinity-knetworkconf +Summary: Trinity network configuration tool +Group: Applications/Utilities + +%description -n trinity-knetworkconf +This is a TDE control center module to configure TCP/IP settings. It +can be used to manage network devices and settings for each device. + +%files -n trinity-knetworkconf +%defattr(-,root,root,-) +%doc rpmdocs/knetworkconf/* +%{tde_datadir}/icons/hicolor/*/apps/knetworkconf.png +%{tde_datadir}/icons/hicolor/22x22/actions/network_disconnected_wlan.png +%{tde_datadir}/icons/hicolor/22x22/actions/network_connected_lan_knc.png +%{tde_datadir}/icons/hicolor/22x22/actions/network_disconnected_lan.png +%{tde_datadir}/icons/hicolor/22x22/actions/network_traffic_wlan.png +%{tde_datadir}/apps/knetworkconf/ +%{tde_tdeappdir}/kcm_knetworkconfmodule.desktop +%{tde_tdelibdir}/kcm_knetworkconfmodule.so +%{tde_tdelibdir}/kcm_knetworkconfmodule.la +%{tde_tdedocdir}/HTML/en/knetworkconf/ + +%post -n trinity-knetworkconf +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done + +%postun -n trinity-knetworkconf +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done + +########## + +%package -n trinity-kpackage +Summary: Trinity package management tool +Group: Applications/Utilities + +%description -n trinity-kpackage +This is a frontend to both .rpm and .deb package formats. It allows you +to view currently installed packages, browse available packages, and +install/remove them. + +%files -n trinity-kpackage +%defattr(-,root,root,-) +%doc rpmdocs/kpackage/* +%{tde_bindir}/kpackage +%{tde_tdeappdir}/kpackage.desktop +%{tde_datadir}/apps/kpackage/ +%{tde_datadir}/config/kpackagerc +%{tde_datadir}/icons/hicolor/*/apps/kpackage.png +%{tde_tdedocdir}/HTML/en/kpackage/ + +%post -n trinity-kpackage +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kpackage +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ksysv +Summary: Trinity SysV-style init configuration editor +Group: Applications/Utilities + +%description -n trinity-ksysv +This program allows you to edit your start and stop scripts using a +drag and drop GUI. + +%files -n trinity-ksysv +%defattr(-,root,root,-) +%doc rpmdocs/ksysv/* +%{tde_bindir}/ksysv +%{tde_tdeappdir}/ksysv.desktop +%{tde_datadir}/apps/ksysv/ +%{tde_datadir}/config/ksysvrc +%{tde_datadir}/icons/crystalsvg/16x16/actions/toggle_log.png +%{tde_datadir}/icons/hicolor/*/apps/ksysv.png +%{tde_datadir}/mimelnk/application/x-ksysv.desktop +%{tde_datadir}/mimelnk/text/x-ksysv-log.desktop +%{tde_tdedocdir}/HTML/en/ksysv/ + +%post -n trinity-ksysv +for icon_theme in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ksysv +for icon_theme in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kuser +Summary: Trinity user/group administration tool +Group: Applications/Utilities +# package 'usermode' provides '/usr/bin/consolehelper-gtk' +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +Requires: usermode-gtk +%else +Requires: usermode +%endif + +%description -n trinity-kuser +A user/group administration tool for TDE. + +%files -n trinity-kuser +%defattr(-,root,root,-) +%doc rpmdocs/kuser/* +%{_sbindir}/kuser +%{tde_bindir}/kuser +%{tde_sbindir}/kuser +%{tde_tdeappdir}/kuser.desktop +%{tde_datadir}/apps/kuser/ +%{tde_datadir}/config/kuserrc +%{tde_datadir}/config.kcfg/kuser.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kuser.png +%{tde_tdedocdir}/HTML/en/kuser/ +%config(noreplace) /etc/pam.d/kuser +%config(noreplace) /etc/security/console.apps/kuser + +%post -n trinity-kuser +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kuser +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%package -n trinity-lilo-config +Summary: Trinity frontend for lilo configuration +Group: Applications/Utilities +Requires: trinity-kcontrol +Requires: trinity-tdebase-bin +#Requires: lilo + +%description -n trinity-lilo-config +lilo-config is a TDE based frontend to the lilo boot manager configuration. +It runs out of the TDE Control Center. + +If you want to use the menu entry to launch lilo-config, you need to install +tdebase-bin since it uses the tdesu command to gain root privileges. + +%files -n trinity-lilo-config +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcm_lilo.la +%{tde_tdelibdir}/kcm_lilo.so +%{tde_tdeappdir}/lilo.desktop +%{tde_tdedocdir}/HTML/en/lilo-config/ + +%post -n trinity-lilo-config +touch /etc/lilo.conf +%endif + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n kdeadmin-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +# Do not build against any "/usr" installed KDE +export KDEDIR=%{tde_prefix} + +# Specific path for RHEL4 +if [ -d /usr/X11R6 ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --sbindir=%{tde_sbindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --enable-new-ldflags \ + --disable-dependency-tracking \ + --disable-rpath \ + --with-rpm \ + --with-pam=kde \ + --with-shadow \ + --with-private-groups \ + --enable-final \ + --enable-closure \ + --with-private-groups \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +comps="kcron kdat knetworkconf kpackage ksysv kuser" +%__mkdir_p %{buildroot}%{tde_datadir}/config \ + %{buildroot}%{_sysconfdir}/security/console.apps \ + %{buildroot}%{_sysconfdir}/pam.d \ + %{buildroot}%{tde_sbindir} \ + %{buildroot}%{_sbindir} + +%__install -p -m644 %{SOURCE5} %{SOURCE6} %{SOURCE7} %{buildroot}%{tde_datadir}/config/ + +# Run kuser through consolehelper +%__install -p -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/security/console.apps/kuser +%__install -p -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/pam.d/kuser +%__mv %{buildroot}%{tde_bindir}/kuser %{buildroot}%{tde_sbindir} +%__ln_s %{_bindir}/consolehelper %{buildroot}%{tde_bindir}/kuser +%if "%{tde_prefix}" != "/usr" +%__ln_s %{tde_sbindir}/kuser %{?buildroot}%{_sbindir}/kuser +%endif + +# locale's +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}/$HTML_DIR ]; then +for lang_dir in %{buildroot}/$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi +done +fi + +# rpmdocs +for dir in $comps ; do + for file in AUTHORS ChangeLog README TODO ; do + test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file" + done +done + +# The following files are not installed in any binary package. +# This is deliberate. + +# - This file serves no purpose that we can see, and conflicts +# with GNOME system tools, so be sure to leave it out. +%__rm -f %{?buildroot}%{tde_libdir}/pkgconfig/*.pc + +# Extract from changelog: +# tdeadmin (4:3.5.5-2) unstable; urgency=low +# +++ Changes by Ana Beatriz Guerrero Lopez: +# * Removed useless program secpolicy. (Closes: #399426) +%__rm -f %{?buildroot}%{tde_bindir}/secpolicy + + + +%clean +%__rm -rf %{buildroot} + + + +%changelog +* Sun Sep 30 2012 Francois Andriot - 3.5.13.1-1 +- Initial build for TDE 3.5.13.1 diff --git a/redhat/tdeadmin/kdeadmin-3.5.13.spec b/redhat/tdeadmin/kdeadmin-3.5.13.spec new file mode 100644 index 000000000..56ea21eaf --- /dev/null +++ b/redhat/tdeadmin/kdeadmin-3.5.13.spec @@ -0,0 +1,506 @@ +# Avoids relinking, which breaks consolehelper +%define dont_relink 1 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_sbindir %{tde_prefix}/sbin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-tdeadmin +Summary: Administrative tools for TDE +Version: 3.5.13 +Release: 5%{?dist}%{?_variant} + +License: GPLv2 +Group: User Interface/Desktops +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} + +Obsoletes: trinity-kdeadmin < %{version}-%{release} +Provides: trinity-kdeadmin = %{version}-%{release} + +Source0: kdeadmin-%{version}.tar.gz +Source1: kuser.pam +Source2: kuser.pamd +Source5: kpackagerc +Source6: ksysvrc +Source7: kuserrc + +# [kdeadmin/knetworkconf] Add RHEL 5, RHEL 6, Fedora 15, Fedora 16, Fedora 17 [Commit #59394e6b] +Patch1: kdeadmin-3.5.13-add_rhel_fedora.patch +# [kdeadmin] Fix linear alphabet string errors [Commit #1f719050] +Patch2: bp004-1f719050.diff +# [tdeadmin] Remove "More Applications" from TDE menu. [Bug #653] [Commit #d3d70211] +Patch3: kdeadmin-3.5.13-remove_more_applications_in_menu.patch + +BuildRequires: autoconf automake libtool m4 +BuildRequires: tqtinterface-devel +BuildRequires: trinity-arts-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: rpm-devel +BuildRequires: pam-devel +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: lilo +%endif + +Requires: trinity-tdeadmin = %{version}-%{release} +Requires: trinity-kcron = %{version}-%{release} +Requires: trinity-kdat = %{version}-%{release} +Requires: %{name}-kfile-plugins = %{version}-%{release} +Requires: trinity-knetworkconf = %{version}-%{release} +Requires: trinity-kpackage = %{version}-%{release} +Requires: trinity-ksysv = %{version}-%{release} +Requires: trinity-kuser = %{version}-%{release} +%if 0%{?mgaversion} || 0%{?mdkversion} +Requires: trinity-lilo-config = %{version}-%{release} +%endif + + +%description +The tdeadmin package includes administrative tools for the Trinity Desktop +Environment (TDE) including: +kcron, kdat, knetworkconf, kpackage, ksysv, kuser. + +%files +%defattr(-,root,root,-) +# LILO is not provided in RHEL or Fedora +%if 0%{?rhel} || 0%{?fedora} +%exclude %{tde_tdedocdir}/HTML/en/lilo-config/ +%endif + +########## + +%package -n trinity-kcron +Summary: The Trinity crontab editor +Group: Applications/Utilities + +%description -n trinity-kcron +KCron is an application for scheduling programs to run in the background. +It is a graphical user interface to cron, the UNIX system scheduler. + +%files -n trinity-kcron +%defattr(-,root,root,-) +%{tde_bindir}/kcron +%{tde_tdeappdir}/kcron.desktop +%{tde_datadir}/apps/kcron/kcronui.rc +%{tde_datadir}/icons/hicolor/*/apps/kcron.png +%{tde_tdedocdir}/HTML/en/kcron/ + +%post -n trinity-kcron +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kcron +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kdat +Summary: A Trinity tape backup tool +Group: Applications/Utilities + +%description -n trinity-kdat +KDat is a tar-based tape archiver. It is designed to work with multiple +archives on a single tape. + +Main features are: +* Simple graphical interface to local filesystem and tape contents. +* Multiple archives on the same physical tape. +* Complete index of archives and files is stored on local hard disk. +* Selective restore of files from an archive. +* Backup profiles for frequently used backups. + +%files -n trinity-kdat +%defattr(-,root,root,-) +%doc rpmdocs/kdat/* +%{tde_bindir}/kdat +%{tde_tdeappdir}/kdat.desktop +%{tde_datadir}/apps/kdat/ +%{tde_datadir}/icons/hicolor/*/apps/kdat.png +%{tde_datadir}/icons/locolor/*/apps/kdat.png +%{tde_tdedocdir}/HTML/en/kdat/ + +%post -n trinity-kdat +for icon_theme in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kdat +for icon_theme in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package kfile-plugins +Summary: Trinity file metainfo plugins for deb and rpm files +Group: Environment/Libraries + +%description kfile-plugins +File metainfo plugins for deb and rpm package files. + +%files kfile-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/kfile_deb.la +%{tde_tdelibdir}/kfile_deb.so +%{tde_tdelibdir}/kfile_rpm.la +%{tde_tdelibdir}/kfile_rpm.so +%{tde_datadir}/services/kfile_deb.desktop +%{tde_datadir}/services/kfile_rpm.desktop + +########## + +%package -n trinity-knetworkconf +Summary: Trinity network configuration tool +Group: Applications/Utilities + +%description -n trinity-knetworkconf +This is a TDE control center module to configure TCP/IP settings. It +can be used to manage network devices and settings for each device. + +%files -n trinity-knetworkconf +%defattr(-,root,root,-) +%doc rpmdocs/knetworkconf/* +%{tde_datadir}/icons/hicolor/*/apps/knetworkconf.png +%{tde_datadir}/icons/hicolor/22x22/actions/network_disconnected_wlan.png +%{tde_datadir}/icons/hicolor/22x22/actions/network_connected_lan_knc.png +%{tde_datadir}/icons/hicolor/22x22/actions/network_disconnected_lan.png +%{tde_datadir}/icons/hicolor/22x22/actions/network_traffic_wlan.png +%{tde_datadir}/apps/knetworkconf/ +%{tde_tdeappdir}/kcm_knetworkconfmodule.desktop +%{tde_tdelibdir}/kcm_knetworkconfmodule.so +%{tde_tdelibdir}/kcm_knetworkconfmodule.la +%{tde_tdedocdir}/HTML/en/knetworkconf/ + +%post -n trinity-knetworkconf +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done + +%postun -n trinity-knetworkconf +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done + +########## + +%package -n trinity-kpackage +Summary: Trinity package management tool +Group: Applications/Utilities + +%description -n trinity-kpackage +This is a frontend to both .rpm and .deb package formats. It allows you +to view currently installed packages, browse available packages, and +install/remove them. + +%files -n trinity-kpackage +%defattr(-,root,root,-) +%doc rpmdocs/kpackage/* +%{tde_bindir}/kpackage +%{tde_tdeappdir}/kpackage.desktop +%{tde_datadir}/apps/kpackage/ +%{tde_datadir}/config/kpackagerc +%{tde_datadir}/icons/hicolor/*/apps/kpackage.png +%{tde_tdedocdir}/HTML/en/kpackage/ + +%post -n trinity-kpackage +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kpackage +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ksysv +Summary: Trinity SysV-style init configuration editor +Group: Applications/Utilities + +%description -n trinity-ksysv +This program allows you to edit your start and stop scripts using a +drag and drop GUI. + +%files -n trinity-ksysv +%defattr(-,root,root,-) +%doc rpmdocs/ksysv/* +%{tde_bindir}/ksysv +%{tde_tdeappdir}/ksysv.desktop +%{tde_datadir}/apps/ksysv/ +%{tde_datadir}/config/ksysvrc +%{tde_datadir}/icons/crystalsvg/16x16/actions/toggle_log.png +%{tde_datadir}/icons/hicolor/*/apps/ksysv.png +%{tde_datadir}/mimelnk/application/x-ksysv.desktop +%{tde_datadir}/mimelnk/text/x-ksysv-log.desktop +%{tde_tdedocdir}/HTML/en/ksysv/ + +%post -n trinity-ksysv +for icon_theme in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ksysv +for icon_theme in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kuser +Summary: Trinity user/group administration tool +Group: Applications/Utilities +# package 'usermode' provides '/usr/bin/consolehelper-gtk' +%if 0%{?rhel} || 0%{?fedora} +Requires: usermode-gtk +%else +Requires: usermode +%endif + +%description -n trinity-kuser +A user/group administration tool for TDE. + +%files -n trinity-kuser +%defattr(-,root,root,-) +%doc rpmdocs/kuser/* +%{_sbindir}/kuser +%{tde_bindir}/kuser +%{tde_sbindir}/kuser +%{tde_tdeappdir}/kuser.desktop +%{tde_datadir}/apps/kuser/ +%{tde_datadir}/config/kuserrc +%{tde_datadir}/config.kcfg/kuser.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kuser.png +%{tde_tdedocdir}/HTML/en/kuser/ +%config(noreplace) /etc/pam.d/kuser +%config(noreplace) /etc/security/console.apps/kuser + +%post -n trinity-kuser +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kuser +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%if 0%{?mgaversion} || 0%{?mdkversion} +%package -n trinity-lilo-config +Summary: Trinity frontend for lilo configuration +Group: Applications/Utilities +Requires: trinity-kcontrol +Requires: trinity-tdebase-bin +#Requires: lilo + +%description -n trinity-lilo-config +lilo-config is a TDE based frontend to the lilo boot manager configuration. +It runs out of the TDE Control Center. + +If you want to use the menu entry to launch lilo-config, you need to install +tdebase-bin since it uses the tdesu command to gain root privileges. + +%files -n trinity-lilo-config +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcm_lilo.la +%{tde_tdelibdir}/kcm_lilo.so +%{tde_tdeappdir}/lilo.desktop +%{tde_tdedocdir}/HTML/en/lilo-config/ + +%post -n trinity-lilo-config +touch /etc/lilo.conf +%endif + +########## + + + + +%prep +%setup -q -n kdeadmin + +%patch1 -p1 -b .knetworkconf +%patch2 -p1 +%patch3 -p1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --sbindir=%{tde_sbindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --docdir=%{tde_docdir} \ + --includedir=%{tde_tdeincludedir} \ + --enable-new-ldflags \ + --disable-dependency-tracking \ + --disable-rpath \ + --with-rpm \ + --with-pam=kde \ + --with-shadow \ + --with-private-groups \ + --enable-final \ + --enable-closure \ + --with-private-groups \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +comps="kcron kdat knetworkconf kpackage ksysv kuser" +%__mkdir_p %{buildroot}%{tde_datadir}/config \ + %{buildroot}%{_sysconfdir}/security/console.apps \ + %{buildroot}%{_sysconfdir}/pam.d \ + %{buildroot}%{tde_sbindir} \ + %{buildroot}%{_sbindir} + +%__install -p -m644 %{SOURCE5} %{SOURCE6} %{SOURCE7} %{buildroot}%{tde_datadir}/config/ + +# Run kuser through consolehelper +%__install -p -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/security/console.apps/kuser +%__install -p -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/pam.d/kuser +%__mv %{buildroot}%{tde_bindir}/kuser %{buildroot}%{tde_sbindir} +%__ln_s %{_bindir}/consolehelper %{buildroot}%{tde_bindir}/kuser +%if "%{tde_prefix}" != "/usr" +%__ln_s %{tde_sbindir}/kuser %{?buildroot}%{_sbindir}/kuser +%endif + +# locale's +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}/$HTML_DIR ]; then +for lang_dir in %{buildroot}/$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi +done +fi + +# rpmdocs +for dir in $comps ; do + for file in AUTHORS ChangeLog README TODO ; do + test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file" + done +done + +# The following files are not installed in any binary package. +# This is deliberate. + +# - This file serves no purpose that we can see, and conflicts +# with GNOME system tools, so be sure to leave it out. +%__rm -f %{?buildroot}%{tde_libdir}/pkgconfig/*.pc + +# Extract from changelog: +# tdeadmin (4:3.5.5-2) unstable; urgency=low +# +++ Changes by Ana Beatriz Guerrero Lopez: +# * Removed useless program secpolicy. (Closes: #399426) +%__rm -f %{?buildroot}%{tde_bindir}/secpolicy + + + +%clean +%__rm -rf %{buildroot} + + + +%changelog +* Fri Jul 13 2012 Francois Andriot - 3.5.13-5 +- Renames 'trinity-kdeadmin' to 'trinity-tdeadmin' +- Split in several packages +- Fix configure options +- Remove "More Applications" from TDE menu. [Bug #653] [Commit #d3d70211] + +* Thu Apr 03 2012 Francois Andriot - 3.5.13-4 +- Fix knetworkconf support for Fedora, adds Fedora 17 +- Fix linear alphabet string errors [Commit #1f719050] + +* Wed Jan 11 2012 Francois Andriot - 3.5.13-3 +- Add knetworkconf support for RHEL 5, RHEL 6, Fedora 15, Fedora 16 +- Remove 'consolehelper' macro +- Enables all kdeadmin components in RHEL (no more exclude some tools) +- Spec file cleanup + +* Fri Nov 25 2011 Francois Andriot - 3.5.13-2 +- Fix HTML directory location + +* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 +- Initial release for RHEL 6, RHEL 5 and Fedora 15 + +* Fri Oct 28 2011 Francois Andriot - 3.5.13-0 +- Import to GIT + diff --git a/redhat/tdeadmin/tdeadmin-14.0.0.spec b/redhat/tdeadmin/tdeadmin-14.0.0.spec new file mode 100644 index 000000000..8013c0abb --- /dev/null +++ b/redhat/tdeadmin/tdeadmin-14.0.0.spec @@ -0,0 +1,484 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_sbindir %{tde_prefix}/sbin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-tdeadmin +Summary: Administrative tools for TDE +Version: 14.0.0 +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} + +License: GPLv2 +Group: User Interface/Desktops +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} + +Obsoletes: trinity-kdeadmin < %{version}-%{release} +Provides: trinity-kdeadmin = %{version}-%{release} + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz +Source1: kuser.pam +Source2: kuser.pamd +Source5: kpackagerc +Source6: ksysvrc +Source7: kuserrc + +BuildRequires: autoconf automake libtool m4 +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: rpm-devel +BuildRequires: pam-devel +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +BuildRequires: lilo +%endif + +Requires: trinity-tdeadmin = %{version}-%{release} +Requires: trinity-kcron = %{version}-%{release} +Requires: trinity-kdat = %{version}-%{release} +Requires: %{name}-kfile-plugins = %{version}-%{release} +Requires: trinity-knetworkconf = %{version}-%{release} +Requires: trinity-kpackage = %{version}-%{release} +Requires: trinity-ksysv = %{version}-%{release} +Requires: trinity-kuser = %{version}-%{release} +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +Requires: trinity-lilo-config = %{version}-%{release} +%endif + +# CONSOLEHELPER (usermode) support +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_consolehelper 1 + +# Avoids relinking, which breaks consolehelper +%define dont_relink 1 +%endif + +%description +The tdeadmin package includes administrative tools for the Trinity Desktop +Environment (TDE) including: +kcron, kdat, knetworkconf, kpackage, ksysv, kuser. + +%files +%defattr(-,root,root,-) +# LILO is not provided in RHEL or Fedora +%if 0%{?rhel} || 0%{?fedora} +%exclude %{tde_tdedocdir}/HTML/en/lilo-config/ +%endif + +########## + +%package -n trinity-kcron +Summary: The Trinity crontab editor +Group: Applications/Utilities + +%description -n trinity-kcron +KCron is an application for scheduling programs to run in the background. +It is a graphical user interface to cron, the UNIX system scheduler. + +%files -n trinity-kcron +%defattr(-,root,root,-) +%{tde_bindir}/kcron +%{tde_tdeappdir}/kcron.desktop +%{tde_datadir}/apps/kcron/kcronui.rc +%{tde_datadir}/icons/hicolor/*/apps/kcron.png +%{tde_tdedocdir}/HTML/en/kcron/ + +%post -n trinity-kcron +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kcron +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kdat +Summary: A Trinity tape backup tool +Group: Applications/Utilities + +%description -n trinity-kdat +KDat is a tar-based tape archiver. It is designed to work with multiple +archives on a single tape. + +Main features are: +* Simple graphical interface to local filesystem and tape contents. +* Multiple archives on the same physical tape. +* Complete index of archives and files is stored on local hard disk. +* Selective restore of files from an archive. +* Backup profiles for frequently used backups. + +%files -n trinity-kdat +%defattr(-,root,root,-) +%doc rpmdocs/kdat/* +%{tde_bindir}/kdat +%{tde_tdeappdir}/kdat.desktop +%{tde_datadir}/apps/kdat/ +%{tde_datadir}/icons/hicolor/*/apps/kdat.png +%{tde_datadir}/icons/locolor/*/apps/kdat.png +%{tde_tdedocdir}/HTML/en/kdat/ + +%post -n trinity-kdat +for icon_theme in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kdat +for icon_theme in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package kfile-plugins +Summary: Trinity file metainfo plugins for deb and rpm files +Group: Environment/Libraries + +%description kfile-plugins +File metainfo plugins for deb and rpm package files. + +%files kfile-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/tdefile_deb.la +%{tde_tdelibdir}/tdefile_deb.so +%{tde_tdelibdir}/tdefile_rpm.la +%{tde_tdelibdir}/tdefile_rpm.so +%{tde_datadir}/services/tdefile_deb.desktop +%{tde_datadir}/services/tdefile_rpm.desktop + +########## + +%package -n trinity-knetworkconf +Summary: Trinity network configuration tool +Group: Applications/Utilities + +%description -n trinity-knetworkconf +This is a TDE control center module to configure TCP/IP settings. It +can be used to manage network devices and settings for each device. + +%files -n trinity-knetworkconf +%defattr(-,root,root,-) +%doc rpmdocs/knetworkconf/* +%{tde_datadir}/icons/hicolor/*/apps/knetworkconf.png +%{tde_datadir}/icons/hicolor/22x22/actions/network_disconnected_wlan.png +%{tde_datadir}/icons/hicolor/22x22/actions/network_connected_lan_knc.png +%{tde_datadir}/icons/hicolor/22x22/actions/network_disconnected_lan.png +%{tde_datadir}/icons/hicolor/22x22/actions/network_traffic_wlan.png +%{tde_datadir}/apps/knetworkconf/ +%{tde_tdeappdir}/kcm_knetworkconfmodule.desktop +%{tde_tdelibdir}/kcm_knetworkconfmodule.so +%{tde_tdelibdir}/kcm_knetworkconfmodule.la +%{tde_tdedocdir}/HTML/en/knetworkconf/ + +%post -n trinity-knetworkconf +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done + +%postun -n trinity-knetworkconf +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done + +########## + +%package -n trinity-kpackage +Summary: Trinity package management tool +Group: Applications/Utilities + +%description -n trinity-kpackage +This is a frontend to both .rpm and .deb package formats. It allows you +to view currently installed packages, browse available packages, and +install/remove them. + +%files -n trinity-kpackage +%defattr(-,root,root,-) +%doc rpmdocs/kpackage/* +%{tde_bindir}/kpackage +%{tde_tdeappdir}/kpackage.desktop +%{tde_datadir}/apps/kpackage/ +%{tde_datadir}/config/kpackagerc +%{tde_datadir}/icons/hicolor/*/apps/kpackage.png +%{tde_tdedocdir}/HTML/en/kpackage/ + +%post -n trinity-kpackage +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kpackage +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ksysv +Summary: Trinity SysV-style init configuration editor +Group: Applications/Utilities + +%description -n trinity-ksysv +This program allows you to edit your start and stop scripts using a +drag and drop GUI. + +%files -n trinity-ksysv +%defattr(-,root,root,-) +%doc rpmdocs/ksysv/* +%{tde_bindir}/ksysv +%{tde_tdeappdir}/ksysv.desktop +%{tde_datadir}/apps/ksysv/ +%{tde_datadir}/config/ksysvrc +%{tde_datadir}/icons/crystalsvg/16x16/actions/toggle_log.png +%{tde_datadir}/icons/hicolor/*/apps/ksysv.png +%{tde_datadir}/mimelnk/application/x-ksysv.desktop +%{tde_datadir}/mimelnk/text/x-ksysv-log.desktop +%{tde_tdedocdir}/HTML/en/ksysv/ + +%post -n trinity-ksysv +for icon_theme in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ksysv +for icon_theme in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kuser +Summary: Trinity user/group administration tool +Group: Applications/Utilities + +%if 0%{?with_consolehelper} +# package 'usermode' provides '/usr/bin/consolehelper-gtk' +%if 0%{?rhel} || 0%{?fedora} +Requires: usermode-gtk +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +Requires: usermode +%endif +%endif + +%description -n trinity-kuser +A user/group administration tool for TDE. + +%files -n trinity-kuser +%defattr(-,root,root,-) +%doc rpmdocs/kuser/* +%{tde_bindir}/kuser +%{tde_tdeappdir}/kuser.desktop +%{tde_datadir}/apps/kuser/ +%{tde_datadir}/config/kuserrc +%{tde_datadir}/config.kcfg/kuser.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kuser.png +%{tde_tdedocdir}/HTML/en/kuser/ + +%if 0%{?with_consolehelper} +%{tde_sbindir}/kuser +%{_sbindir}/kuser +%config(noreplace) /etc/pam.d/kuser +%config(noreplace) /etc/security/console.apps/kuser +%endif + +%post -n trinity-kuser +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kuser +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%package -n trinity-lilo-config +Summary: Trinity frontend for lilo configuration +Group: Applications/Utilities +Requires: trinity-kcontrol +Requires: trinity-tdebase-bin +#Requires: lilo + +%description -n trinity-lilo-config +lilo-config is a TDE based frontend to the lilo boot manager configuration. +It runs out of the TDE Control Center. + +If you want to use the menu entry to launch lilo-config, you need to install +tdebase-bin since it uses the tdesu command to gain root privileges. + +%files -n trinity-lilo-config +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcm_lilo.la +%{tde_tdelibdir}/kcm_lilo.so +%{tde_tdeappdir}/lilo.desktop +%{tde_tdedocdir}/HTML/en/lilo-config/ + +%post -n trinity-lilo-config +touch /etc/lilo.conf +%endif + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR QTLIB QTINC +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +# Specific path for RHEL4 +if [ -d /usr/X11R6 ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --sbindir=%{tde_sbindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --enable-new-ldflags \ + --disable-dependency-tracking \ + --disable-rpath \ + --with-rpm \ + --with-pam=kde \ + --with-shadow \ + --with-private-groups \ + --enable-final \ + --enable-closure \ + --with-private-groups + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +comps="kcron kdat knetworkconf kpackage ksysv kuser" +%__mkdir_p %{buildroot}%{tde_datadir}/config \ + %{buildroot}%{_sysconfdir}/security/console.apps \ + %{buildroot}%{_sysconfdir}/pam.d \ + %{buildroot}%{tde_sbindir} \ + %{buildroot}%{_sbindir} + +%__install -p -m644 %{SOURCE5} %{SOURCE6} %{SOURCE7} %{buildroot}%{tde_datadir}/config/ + +%if 0%{?with_consolehelper} +# Run kuser through consolehelper +%__install -p -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/security/console.apps/kuser +%__install -p -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/pam.d/kuser +%__mv %{buildroot}%{tde_bindir}/kuser %{buildroot}%{tde_sbindir} +%__ln_s %{_bindir}/consolehelper %{buildroot}%{tde_bindir}/kuser +%if "%{tde_prefix}" != "/usr" +%__ln_s %{tde_sbindir}/kuser %{?buildroot}%{_sbindir}/kuser +%endif +%endif + +# locale's +HTML_DIR=$(tde-config --expandvars --install html) +if [ -d %{buildroot}/$HTML_DIR ]; then +for lang_dir in %{buildroot}/$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi +done +fi + +# rpmdocs +for dir in $comps ; do + for file in AUTHORS ChangeLog README TODO ; do + test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file" + done +done + +# The following files are not installed in any binary package. +# This is deliberate. + +# - This file serves no purpose that we can see, and conflicts +# with GNOME system tools, so be sure to leave it out. +%__rm -f %{?buildroot}%{tde_libdir}/pkgconfig/*.pc + +# Extract from changelog: +# tdeadmin (4:3.5.5-2) unstable; urgency=low +# +++ Changes by Ana Beatriz Guerrero Lopez: +# * Removed useless program secpolicy. (Closes: #399426) +%__rm -f %{?buildroot}%{tde_bindir}/secpolicy + + +%clean +%__rm -rf %{buildroot} + + +%changelog +* Fri Jun 28 2013 Francois Andriot - 14.0.0-1 +- Initial release for TDE 14.0.0 diff --git a/redhat/tdeadmin/tdeadmin-3.5.13.2.spec b/redhat/tdeadmin/tdeadmin-3.5.13.2.spec new file mode 100644 index 000000000..ce87dfa25 --- /dev/null +++ b/redhat/tdeadmin/tdeadmin-3.5.13.2.spec @@ -0,0 +1,494 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_sbindir %{tde_prefix}/sbin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-tdeadmin +Summary: Administrative tools for TDE +Version: 3.5.13.2 +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} + +License: GPLv2 +Group: User Interface/Desktops +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} + +Obsoletes: trinity-kdeadmin < %{version}-%{release} +Provides: trinity-kdeadmin = %{version}-%{release} + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz +Source1: kuser.pam +Source2: kuser.pamd +Source5: kpackagerc +Source6: ksysvrc +Source7: kuserrc + +BuildRequires: autoconf automake libtool m4 +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: rpm-devel +BuildRequires: pam-devel +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +BuildRequires: lilo +%endif + +Requires: trinity-tdeadmin = %{version}-%{release} +Requires: trinity-kcron = %{version}-%{release} +Requires: trinity-kdat = %{version}-%{release} +Requires: %{name}-kfile-plugins = %{version}-%{release} +Requires: trinity-knetworkconf = %{version}-%{release} +Requires: trinity-kpackage = %{version}-%{release} +Requires: trinity-ksysv = %{version}-%{release} +Requires: trinity-kuser = %{version}-%{release} +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +Requires: trinity-lilo-config = %{version}-%{release} +%endif + +# CONSOLEHELPER (usermode) support +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_consolehelper 1 + +# Avoids relinking, which breaks consolehelper +%define dont_relink 1 +%endif + +%description +The tdeadmin package includes administrative tools for the Trinity Desktop +Environment (TDE) including: +kcron, kdat, knetworkconf, kpackage, ksysv, kuser. + +%files +%defattr(-,root,root,-) +# LILO is not provided in RHEL or Fedora +%if 0%{?rhel} || 0%{?fedora} +%exclude %{tde_tdedocdir}/HTML/en/lilo-config/ +%endif + +########## + +%package -n trinity-kcron +Summary: The Trinity crontab editor +Group: Applications/Utilities + +%description -n trinity-kcron +KCron is an application for scheduling programs to run in the background. +It is a graphical user interface to cron, the UNIX system scheduler. + +%files -n trinity-kcron +%defattr(-,root,root,-) +%{tde_bindir}/kcron +%{tde_tdeappdir}/kcron.desktop +%{tde_datadir}/apps/kcron/kcronui.rc +%{tde_datadir}/icons/hicolor/*/apps/kcron.png +%{tde_tdedocdir}/HTML/en/kcron/ + +%post -n trinity-kcron +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kcron +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kdat +Summary: A Trinity tape backup tool +Group: Applications/Utilities + +%description -n trinity-kdat +KDat is a tar-based tape archiver. It is designed to work with multiple +archives on a single tape. + +Main features are: +* Simple graphical interface to local filesystem and tape contents. +* Multiple archives on the same physical tape. +* Complete index of archives and files is stored on local hard disk. +* Selective restore of files from an archive. +* Backup profiles for frequently used backups. + +%files -n trinity-kdat +%defattr(-,root,root,-) +%doc rpmdocs/kdat/* +%{tde_bindir}/kdat +%{tde_tdeappdir}/kdat.desktop +%{tde_datadir}/apps/kdat/ +%{tde_datadir}/icons/hicolor/*/apps/kdat.png +%{tde_datadir}/icons/locolor/*/apps/kdat.png +%{tde_tdedocdir}/HTML/en/kdat/ + +%post -n trinity-kdat +for icon_theme in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kdat +for icon_theme in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package kfile-plugins +Summary: Trinity file metainfo plugins for deb and rpm files +Group: Environment/Libraries + +%description kfile-plugins +File metainfo plugins for deb and rpm package files. + +%files kfile-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/kfile_deb.la +%{tde_tdelibdir}/kfile_deb.so +%{tde_tdelibdir}/kfile_rpm.la +%{tde_tdelibdir}/kfile_rpm.so +%{tde_datadir}/services/kfile_deb.desktop +%{tde_datadir}/services/kfile_rpm.desktop + +########## + +%package -n trinity-knetworkconf +Summary: Trinity network configuration tool +Group: Applications/Utilities + +%description -n trinity-knetworkconf +This is a TDE control center module to configure TCP/IP settings. It +can be used to manage network devices and settings for each device. + +%files -n trinity-knetworkconf +%defattr(-,root,root,-) +%doc rpmdocs/knetworkconf/* +%{tde_datadir}/icons/hicolor/*/apps/knetworkconf.png +%{tde_datadir}/icons/hicolor/22x22/actions/network_disconnected_wlan.png +%{tde_datadir}/icons/hicolor/22x22/actions/network_connected_lan_knc.png +%{tde_datadir}/icons/hicolor/22x22/actions/network_disconnected_lan.png +%{tde_datadir}/icons/hicolor/22x22/actions/network_traffic_wlan.png +%{tde_datadir}/apps/knetworkconf/ +%{tde_tdeappdir}/kcm_knetworkconfmodule.desktop +%{tde_tdelibdir}/kcm_knetworkconfmodule.so +%{tde_tdelibdir}/kcm_knetworkconfmodule.la +%{tde_tdedocdir}/HTML/en/knetworkconf/ + +%post -n trinity-knetworkconf +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done + +%postun -n trinity-knetworkconf +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done + +########## + +%package -n trinity-kpackage +Summary: Trinity package management tool +Group: Applications/Utilities + +%description -n trinity-kpackage +This is a frontend to both .rpm and .deb package formats. It allows you +to view currently installed packages, browse available packages, and +install/remove them. + +%files -n trinity-kpackage +%defattr(-,root,root,-) +%doc rpmdocs/kpackage/* +%{tde_bindir}/kpackage +%{tde_tdeappdir}/kpackage.desktop +%{tde_datadir}/apps/kpackage/ +%{tde_datadir}/config/kpackagerc +%{tde_datadir}/icons/hicolor/*/apps/kpackage.png +%{tde_tdedocdir}/HTML/en/kpackage/ + +%post -n trinity-kpackage +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kpackage +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ksysv +Summary: Trinity SysV-style init configuration editor +Group: Applications/Utilities + +%description -n trinity-ksysv +This program allows you to edit your start and stop scripts using a +drag and drop GUI. + +%files -n trinity-ksysv +%defattr(-,root,root,-) +%doc rpmdocs/ksysv/* +%{tde_bindir}/ksysv +%{tde_tdeappdir}/ksysv.desktop +%{tde_datadir}/apps/ksysv/ +%{tde_datadir}/config/ksysvrc +%{tde_datadir}/icons/crystalsvg/16x16/actions/toggle_log.png +%{tde_datadir}/icons/hicolor/*/apps/ksysv.png +%{tde_datadir}/mimelnk/application/x-ksysv.desktop +%{tde_datadir}/mimelnk/text/x-ksysv-log.desktop +%{tde_tdedocdir}/HTML/en/ksysv/ + +%post -n trinity-ksysv +for icon_theme in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ksysv +for icon_theme in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kuser +Summary: Trinity user/group administration tool +Group: Applications/Utilities + +%if 0%{?with_consolehelper} +# package 'usermode' provides '/usr/bin/consolehelper-gtk' +%if 0%{?rhel} || 0%{?fedora} +Requires: usermode-gtk +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +Requires: usermode +%endif +%endif + +%description -n trinity-kuser +A user/group administration tool for TDE. + +%files -n trinity-kuser +%defattr(-,root,root,-) +%doc rpmdocs/kuser/* +%{tde_bindir}/kuser +%{tde_tdeappdir}/kuser.desktop +%{tde_datadir}/apps/kuser/ +%{tde_datadir}/config/kuserrc +%{tde_datadir}/config.kcfg/kuser.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kuser.png +%{tde_tdedocdir}/HTML/en/kuser/ + +%if 0%{?with_consolehelper} +%{tde_sbindir}/kuser +%{_sbindir}/kuser +%config(noreplace) /etc/pam.d/kuser +%config(noreplace) /etc/security/console.apps/kuser +%endif + +%post -n trinity-kuser +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kuser +for icon_theme in hicolor ; do + touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%package -n trinity-lilo-config +Summary: Trinity frontend for lilo configuration +Group: Applications/Utilities +Requires: trinity-kcontrol +Requires: trinity-tdebase-bin +#Requires: lilo + +%description -n trinity-lilo-config +lilo-config is a TDE based frontend to the lilo boot manager configuration. +It runs out of the TDE Control Center. + +If you want to use the menu entry to launch lilo-config, you need to install +tdebase-bin since it uses the tdesu command to gain root privileges. + +%files -n trinity-lilo-config +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcm_lilo.la +%{tde_tdelibdir}/kcm_lilo.so +%{tde_tdeappdir}/lilo.desktop +%{tde_tdedocdir}/HTML/en/lilo-config/ + +%post -n trinity-lilo-config +touch /etc/lilo.conf +%endif + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +# Do not build against any "/usr" installed KDE +export KDEDIR=%{tde_prefix} + +# Specific path for RHEL4 +if [ -d /usr/X11R6 ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --sbindir=%{tde_sbindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --enable-new-ldflags \ + --disable-dependency-tracking \ + --disable-rpath \ + --with-rpm \ + --with-pam=kde \ + --with-shadow \ + --with-private-groups \ + --enable-final \ + --enable-closure \ + --with-private-groups \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +comps="kcron kdat knetworkconf kpackage ksysv kuser" +%__mkdir_p %{buildroot}%{tde_datadir}/config \ + %{buildroot}%{_sysconfdir}/security/console.apps \ + %{buildroot}%{_sysconfdir}/pam.d \ + %{buildroot}%{tde_sbindir} \ + %{buildroot}%{_sbindir} + +%__install -p -m644 %{SOURCE5} %{SOURCE6} %{SOURCE7} %{buildroot}%{tde_datadir}/config/ + +%if 0%{?with_consolehelper} +# Run kuser through consolehelper +%__install -p -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/security/console.apps/kuser +%__install -p -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/pam.d/kuser +%__mv %{buildroot}%{tde_bindir}/kuser %{buildroot}%{tde_sbindir} +%__ln_s %{_bindir}/consolehelper %{buildroot}%{tde_bindir}/kuser +%if "%{tde_prefix}" != "/usr" +%__ln_s %{tde_sbindir}/kuser %{?buildroot}%{_sbindir}/kuser +%endif +%endif + +# locale's +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}/$HTML_DIR ]; then +for lang_dir in %{buildroot}/$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi +done +fi + +# rpmdocs +for dir in $comps ; do + for file in AUTHORS ChangeLog README TODO ; do + test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file" + done +done + +# The following files are not installed in any binary package. +# This is deliberate. + +# - This file serves no purpose that we can see, and conflicts +# with GNOME system tools, so be sure to leave it out. +%__rm -f %{?buildroot}%{tde_libdir}/pkgconfig/*.pc + +# Extract from changelog: +# tdeadmin (4:3.5.5-2) unstable; urgency=low +# +++ Changes by Ana Beatriz Guerrero Lopez: +# * Removed useless program secpolicy. (Closes: #399426) +%__rm -f %{?buildroot}%{tde_bindir}/secpolicy + + +%clean +%__rm -rf %{buildroot} + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 +- Initial release for TDE 3.5.13.2 diff --git a/redhat/tdeadmin/trinity-kdeadmin-3.5.12.spec b/redhat/tdeadmin/trinity-kdeadmin-3.5.12.spec deleted file mode 100644 index 73af2969a..000000000 --- a/redhat/tdeadmin/trinity-kdeadmin-3.5.12.spec +++ /dev/null @@ -1,197 +0,0 @@ -# Default version for this component -%if "%{?version}" == "" -%define version 3.5.12 -%endif -%define release 2 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_includedir %{_includedir}/kde -%define tde_libdir %{_libdir}/kde3 - - -%define console_helper 1 - -Name: trinity-kdeadmin -Summary: Administrative tools for TDE -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} - -License: GPLv2 -Group: User Interface/Desktops -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: kdeadmin-%{version}.tar.gz -Source1: kuser.pam -Source2: kuser.pamd -Source5: kpackagerc -Source6: ksysvrc -Source7: kuserrc - -Requires: trinity-kdelibs -Requires: pkgconfig -%if 0%{?console_helper} -Requires: usermode-gtk -%endif - -BuildRequires: trinity-kdelibs-devel -BuildRequires: rpm-devel - -%description -The kdeadmin package includes administrative tools for the K Desktop -Environment (KDE) including: -kcron, kdat, knetworkconf, kpackage, ksysv, kuser. - - -%prep -%setup -q -n kdeadmin - -%if 0%{?rhel} > 1 - echo 'DO_NOT_COMPILE="$DO_NOT_COMPILE kpackage"' >kpackage/configure.in.in - echo 'DO_NOT_COMPILE="$DO_NOT_COMPILE ksysv"' >ksysv/configure.in.in - echo 'DO_NOT_COMPILE="$DO_NOT_COMPILE kuser"' >kuser/configure.in.in - echo 'DO_NOT_COMPILE="$DO_NOT_COMPILE lilo-config"' >lilo-config/configure.in.in -%endif - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -%if 0%{?fedora} > 0 -export CXXFLAGS="${CXXFLAGS} -fpermissive" -%endif - -%configure \ - --enable-new-ldflags \ - --disable-dependency-tracking \ - --disable-rpath \ - --with-rpm \ - --enable-final \ - --with-private-groups \ - --with-extra-includes=%{_includedir}/tqt - -%__make %{?_smp_mflags} - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -%if 0%{?rhel} > 1 -comps="kcron kdat knetworkconf" -rm -rf %{buildroot}%{_docdir}/HTML/en/kuser \ - %{buildroot}%{_docdir}/HTML/en/kpackage \ - %{buildroot}%{_docdir}/HTML/en/ksysv \ - %{buildroot}%{_docdir}/HTML/en/lilo-config -%else -comps="kcron kdat knetworkconf kpackage ksysv kuser" -mkdir -p %{buildroot}%{_datadir}/config \ - %{buildroot}/etc/security/console.apps \ - %{buildroot}/etc/pam.d \ - %{buildroot}%{_sbindir} - -install -p -m644 %{SOURCE5} %{SOURCE6} %{SOURCE7} %{buildroot}%{_datadir}/config/ - -# Run kuser through consolehelper -install -p -m644 %{SOURCE1} %{buildroot}/etc/security/console.apps/kuser -install -p -m644 %{SOURCE2} %{buildroot}/etc/pam.d/kuser -mv %{buildroot}%{_bindir}/kuser %{buildroot}%{_sbindir} -ln -s consolehelper %{buildroot}%{_bindir}/kuser -%endif - -# locale's -%find_lang %{name} || touch %{name}.lang -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}/$HTML_DIR ]; then -for lang_dir in %{buildroot}/$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common - done - popd - fi -done -fi - -# rpmdocs -for dir in $comps ; do - for file in AUTHORS ChangeLog README TODO ; do - test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file" - done -done - -%post -for icon_theme in crystalsvg hicolor locolor ; do - touch --no-create %{_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -for icon_theme in crystalsvg hicolor locolor ; do - touch --no-create %{_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - - -%clean -%__rm -rf %{buildroot} - - -%files -f %{name}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING README -%doc rpmdocs/* -%{_bindir}/* -%if 0%{?rhel} < 1 -%{_sbindir}/* -%config(noreplace) /etc/pam.d/* -%config(noreplace) /etc/security/console.apps/* -%{_datadir}/config*/* -%{_datadir}/mimelnk/*/*.desktop -%{_datadir}/icons/crystalsvg/*/*/* -%endif -%{_datadir}/apps/* -%{_datadir}/applications/kde/*.desktop -%{_datadir}/icons/hicolor/*/*/* -%{_datadir}/icons/locolor/*/*/* -%{_datadir}/service*/*.desktop -%{tde_libdir}/* -%{_libdir}/pkgconfig/*.pc - - - - -%changelog -* Mon Sep 19 2011 Francois Andriot - 3.5.12-2 -- Add support for RHEL5 - -* Sun Sep 11 2011 Francois Andriot - 3.5.12-1 -- Initial build for RHEL 6 -- Spec file based on Fedora 8 "kdeadmin-3.5.10-1" -- Import to GIT diff --git a/redhat/tdeadmin/trinity-kdeadmin-3.5.13.1.spec b/redhat/tdeadmin/trinity-kdeadmin-3.5.13.1.spec deleted file mode 100644 index 89a58392b..000000000 --- a/redhat/tdeadmin/trinity-kdeadmin-3.5.13.1.spec +++ /dev/null @@ -1,482 +0,0 @@ -# Avoids relinking, which breaks consolehelper -%define dont_relink 1 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_sbindir %{tde_prefix}/sbin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-tdeadmin -Summary: Administrative tools for TDE -Version: 3.5.13.1 -Release: 1%{?dist}%{?_variant} - -License: GPLv2 -Group: User Interface/Desktops -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} - -Obsoletes: trinity-kdeadmin < %{version}-%{release} -Provides: trinity-kdeadmin = %{version}-%{release} - -Source0: kdeadmin-%{version}.tar.gz -Source1: kuser.pam -Source2: kuser.pamd -Source5: kpackagerc -Source6: ksysvrc -Source7: kuserrc - -BuildRequires: autoconf automake libtool m4 -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-arts-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} -BuildRequires: rpm-devel -BuildRequires: pam-devel -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -BuildRequires: lilo -%endif - -Requires: trinity-tdeadmin = %{version}-%{release} -Requires: trinity-kcron = %{version}-%{release} -Requires: trinity-kdat = %{version}-%{release} -Requires: %{name}-kfile-plugins = %{version}-%{release} -Requires: trinity-knetworkconf = %{version}-%{release} -Requires: trinity-kpackage = %{version}-%{release} -Requires: trinity-ksysv = %{version}-%{release} -Requires: trinity-kuser = %{version}-%{release} -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -Requires: trinity-lilo-config = %{version}-%{release} -%endif - - -%description -The tdeadmin package includes administrative tools for the Trinity Desktop -Environment (TDE) including: -kcron, kdat, knetworkconf, kpackage, ksysv, kuser. - -%files -%defattr(-,root,root,-) -# LILO is not provided in RHEL or Fedora -%if 0%{?rhel} || 0%{?fedora} -%exclude %{tde_tdedocdir}/HTML/en/lilo-config/ -%endif - -########## - -%package -n trinity-kcron -Summary: The Trinity crontab editor -Group: Applications/Utilities - -%description -n trinity-kcron -KCron is an application for scheduling programs to run in the background. -It is a graphical user interface to cron, the UNIX system scheduler. - -%files -n trinity-kcron -%defattr(-,root,root,-) -%{tde_bindir}/kcron -%{tde_tdeappdir}/kcron.desktop -%{tde_datadir}/apps/kcron/kcronui.rc -%{tde_datadir}/icons/hicolor/*/apps/kcron.png -%{tde_tdedocdir}/HTML/en/kcron/ - -%post -n trinity-kcron -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kcron -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kdat -Summary: A Trinity tape backup tool -Group: Applications/Utilities - -%description -n trinity-kdat -KDat is a tar-based tape archiver. It is designed to work with multiple -archives on a single tape. - -Main features are: -* Simple graphical interface to local filesystem and tape contents. -* Multiple archives on the same physical tape. -* Complete index of archives and files is stored on local hard disk. -* Selective restore of files from an archive. -* Backup profiles for frequently used backups. - -%files -n trinity-kdat -%defattr(-,root,root,-) -%doc rpmdocs/kdat/* -%{tde_bindir}/kdat -%{tde_tdeappdir}/kdat.desktop -%{tde_datadir}/apps/kdat/ -%{tde_datadir}/icons/hicolor/*/apps/kdat.png -%{tde_datadir}/icons/locolor/*/apps/kdat.png -%{tde_tdedocdir}/HTML/en/kdat/ - -%post -n trinity-kdat -for icon_theme in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kdat -for icon_theme in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package kfile-plugins -Summary: Trinity file metainfo plugins for deb and rpm files -Group: Environment/Libraries - -%description kfile-plugins -File metainfo plugins for deb and rpm package files. - -%files kfile-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/kfile_deb.la -%{tde_tdelibdir}/kfile_deb.so -%{tde_tdelibdir}/kfile_rpm.la -%{tde_tdelibdir}/kfile_rpm.so -%{tde_datadir}/services/kfile_deb.desktop -%{tde_datadir}/services/kfile_rpm.desktop - -########## - -%package -n trinity-knetworkconf -Summary: Trinity network configuration tool -Group: Applications/Utilities - -%description -n trinity-knetworkconf -This is a TDE control center module to configure TCP/IP settings. It -can be used to manage network devices and settings for each device. - -%files -n trinity-knetworkconf -%defattr(-,root,root,-) -%doc rpmdocs/knetworkconf/* -%{tde_datadir}/icons/hicolor/*/apps/knetworkconf.png -%{tde_datadir}/icons/hicolor/22x22/actions/network_disconnected_wlan.png -%{tde_datadir}/icons/hicolor/22x22/actions/network_connected_lan_knc.png -%{tde_datadir}/icons/hicolor/22x22/actions/network_disconnected_lan.png -%{tde_datadir}/icons/hicolor/22x22/actions/network_traffic_wlan.png -%{tde_datadir}/apps/knetworkconf/ -%{tde_tdeappdir}/kcm_knetworkconfmodule.desktop -%{tde_tdelibdir}/kcm_knetworkconfmodule.so -%{tde_tdelibdir}/kcm_knetworkconfmodule.la -%{tde_tdedocdir}/HTML/en/knetworkconf/ - -%post -n trinity-knetworkconf -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done - -%postun -n trinity-knetworkconf -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done - -########## - -%package -n trinity-kpackage -Summary: Trinity package management tool -Group: Applications/Utilities - -%description -n trinity-kpackage -This is a frontend to both .rpm and .deb package formats. It allows you -to view currently installed packages, browse available packages, and -install/remove them. - -%files -n trinity-kpackage -%defattr(-,root,root,-) -%doc rpmdocs/kpackage/* -%{tde_bindir}/kpackage -%{tde_tdeappdir}/kpackage.desktop -%{tde_datadir}/apps/kpackage/ -%{tde_datadir}/config/kpackagerc -%{tde_datadir}/icons/hicolor/*/apps/kpackage.png -%{tde_tdedocdir}/HTML/en/kpackage/ - -%post -n trinity-kpackage -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kpackage -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ksysv -Summary: Trinity SysV-style init configuration editor -Group: Applications/Utilities - -%description -n trinity-ksysv -This program allows you to edit your start and stop scripts using a -drag and drop GUI. - -%files -n trinity-ksysv -%defattr(-,root,root,-) -%doc rpmdocs/ksysv/* -%{tde_bindir}/ksysv -%{tde_tdeappdir}/ksysv.desktop -%{tde_datadir}/apps/ksysv/ -%{tde_datadir}/config/ksysvrc -%{tde_datadir}/icons/crystalsvg/16x16/actions/toggle_log.png -%{tde_datadir}/icons/hicolor/*/apps/ksysv.png -%{tde_datadir}/mimelnk/application/x-ksysv.desktop -%{tde_datadir}/mimelnk/text/x-ksysv-log.desktop -%{tde_tdedocdir}/HTML/en/ksysv/ - -%post -n trinity-ksysv -for icon_theme in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ksysv -for icon_theme in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kuser -Summary: Trinity user/group administration tool -Group: Applications/Utilities -# package 'usermode' provides '/usr/bin/consolehelper-gtk' -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -Requires: usermode-gtk -%else -Requires: usermode -%endif - -%description -n trinity-kuser -A user/group administration tool for TDE. - -%files -n trinity-kuser -%defattr(-,root,root,-) -%doc rpmdocs/kuser/* -%{_sbindir}/kuser -%{tde_bindir}/kuser -%{tde_sbindir}/kuser -%{tde_tdeappdir}/kuser.desktop -%{tde_datadir}/apps/kuser/ -%{tde_datadir}/config/kuserrc -%{tde_datadir}/config.kcfg/kuser.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kuser.png -%{tde_tdedocdir}/HTML/en/kuser/ -%config(noreplace) /etc/pam.d/kuser -%config(noreplace) /etc/security/console.apps/kuser - -%post -n trinity-kuser -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kuser -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%package -n trinity-lilo-config -Summary: Trinity frontend for lilo configuration -Group: Applications/Utilities -Requires: trinity-kcontrol -Requires: trinity-tdebase-bin -#Requires: lilo - -%description -n trinity-lilo-config -lilo-config is a TDE based frontend to the lilo boot manager configuration. -It runs out of the TDE Control Center. - -If you want to use the menu entry to launch lilo-config, you need to install -tdebase-bin since it uses the tdesu command to gain root privileges. - -%files -n trinity-lilo-config -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_lilo.la -%{tde_tdelibdir}/kcm_lilo.so -%{tde_tdeappdir}/lilo.desktop -%{tde_tdedocdir}/HTML/en/lilo-config/ - -%post -n trinity-lilo-config -touch /etc/lilo.conf -%endif - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n kdeadmin-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -# Do not build against any "/usr" installed KDE -export KDEDIR=%{tde_prefix} - -# Specific path for RHEL4 -if [ -d /usr/X11R6 ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --sbindir=%{tde_sbindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --enable-new-ldflags \ - --disable-dependency-tracking \ - --disable-rpath \ - --with-rpm \ - --with-pam=kde \ - --with-shadow \ - --with-private-groups \ - --enable-final \ - --enable-closure \ - --with-private-groups \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -comps="kcron kdat knetworkconf kpackage ksysv kuser" -%__mkdir_p %{buildroot}%{tde_datadir}/config \ - %{buildroot}%{_sysconfdir}/security/console.apps \ - %{buildroot}%{_sysconfdir}/pam.d \ - %{buildroot}%{tde_sbindir} \ - %{buildroot}%{_sbindir} - -%__install -p -m644 %{SOURCE5} %{SOURCE6} %{SOURCE7} %{buildroot}%{tde_datadir}/config/ - -# Run kuser through consolehelper -%__install -p -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/security/console.apps/kuser -%__install -p -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/pam.d/kuser -%__mv %{buildroot}%{tde_bindir}/kuser %{buildroot}%{tde_sbindir} -%__ln_s %{_bindir}/consolehelper %{buildroot}%{tde_bindir}/kuser -%if "%{tde_prefix}" != "/usr" -%__ln_s %{tde_sbindir}/kuser %{?buildroot}%{_sbindir}/kuser -%endif - -# locale's -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}/$HTML_DIR ]; then -for lang_dir in %{buildroot}/$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common - done - popd - fi -done -fi - -# rpmdocs -for dir in $comps ; do - for file in AUTHORS ChangeLog README TODO ; do - test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file" - done -done - -# The following files are not installed in any binary package. -# This is deliberate. - -# - This file serves no purpose that we can see, and conflicts -# with GNOME system tools, so be sure to leave it out. -%__rm -f %{?buildroot}%{tde_libdir}/pkgconfig/*.pc - -# Extract from changelog: -# tdeadmin (4:3.5.5-2) unstable; urgency=low -# +++ Changes by Ana Beatriz Guerrero Lopez: -# * Removed useless program secpolicy. (Closes: #399426) -%__rm -f %{?buildroot}%{tde_bindir}/secpolicy - - - -%clean -%__rm -rf %{buildroot} - - - -%changelog -* Sun Sep 30 2012 Francois Andriot - 3.5.13.1-1 -- Initial build for TDE 3.5.13.1 diff --git a/redhat/tdeadmin/trinity-kdeadmin-3.5.13.spec b/redhat/tdeadmin/trinity-kdeadmin-3.5.13.spec deleted file mode 100644 index 56ea21eaf..000000000 --- a/redhat/tdeadmin/trinity-kdeadmin-3.5.13.spec +++ /dev/null @@ -1,506 +0,0 @@ -# Avoids relinking, which breaks consolehelper -%define dont_relink 1 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_sbindir %{tde_prefix}/sbin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-tdeadmin -Summary: Administrative tools for TDE -Version: 3.5.13 -Release: 5%{?dist}%{?_variant} - -License: GPLv2 -Group: User Interface/Desktops -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} - -Obsoletes: trinity-kdeadmin < %{version}-%{release} -Provides: trinity-kdeadmin = %{version}-%{release} - -Source0: kdeadmin-%{version}.tar.gz -Source1: kuser.pam -Source2: kuser.pamd -Source5: kpackagerc -Source6: ksysvrc -Source7: kuserrc - -# [kdeadmin/knetworkconf] Add RHEL 5, RHEL 6, Fedora 15, Fedora 16, Fedora 17 [Commit #59394e6b] -Patch1: kdeadmin-3.5.13-add_rhel_fedora.patch -# [kdeadmin] Fix linear alphabet string errors [Commit #1f719050] -Patch2: bp004-1f719050.diff -# [tdeadmin] Remove "More Applications" from TDE menu. [Bug #653] [Commit #d3d70211] -Patch3: kdeadmin-3.5.13-remove_more_applications_in_menu.patch - -BuildRequires: autoconf automake libtool m4 -BuildRequires: tqtinterface-devel -BuildRequires: trinity-arts-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: rpm-devel -BuildRequires: pam-devel -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: lilo -%endif - -Requires: trinity-tdeadmin = %{version}-%{release} -Requires: trinity-kcron = %{version}-%{release} -Requires: trinity-kdat = %{version}-%{release} -Requires: %{name}-kfile-plugins = %{version}-%{release} -Requires: trinity-knetworkconf = %{version}-%{release} -Requires: trinity-kpackage = %{version}-%{release} -Requires: trinity-ksysv = %{version}-%{release} -Requires: trinity-kuser = %{version}-%{release} -%if 0%{?mgaversion} || 0%{?mdkversion} -Requires: trinity-lilo-config = %{version}-%{release} -%endif - - -%description -The tdeadmin package includes administrative tools for the Trinity Desktop -Environment (TDE) including: -kcron, kdat, knetworkconf, kpackage, ksysv, kuser. - -%files -%defattr(-,root,root,-) -# LILO is not provided in RHEL or Fedora -%if 0%{?rhel} || 0%{?fedora} -%exclude %{tde_tdedocdir}/HTML/en/lilo-config/ -%endif - -########## - -%package -n trinity-kcron -Summary: The Trinity crontab editor -Group: Applications/Utilities - -%description -n trinity-kcron -KCron is an application for scheduling programs to run in the background. -It is a graphical user interface to cron, the UNIX system scheduler. - -%files -n trinity-kcron -%defattr(-,root,root,-) -%{tde_bindir}/kcron -%{tde_tdeappdir}/kcron.desktop -%{tde_datadir}/apps/kcron/kcronui.rc -%{tde_datadir}/icons/hicolor/*/apps/kcron.png -%{tde_tdedocdir}/HTML/en/kcron/ - -%post -n trinity-kcron -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kcron -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kdat -Summary: A Trinity tape backup tool -Group: Applications/Utilities - -%description -n trinity-kdat -KDat is a tar-based tape archiver. It is designed to work with multiple -archives on a single tape. - -Main features are: -* Simple graphical interface to local filesystem and tape contents. -* Multiple archives on the same physical tape. -* Complete index of archives and files is stored on local hard disk. -* Selective restore of files from an archive. -* Backup profiles for frequently used backups. - -%files -n trinity-kdat -%defattr(-,root,root,-) -%doc rpmdocs/kdat/* -%{tde_bindir}/kdat -%{tde_tdeappdir}/kdat.desktop -%{tde_datadir}/apps/kdat/ -%{tde_datadir}/icons/hicolor/*/apps/kdat.png -%{tde_datadir}/icons/locolor/*/apps/kdat.png -%{tde_tdedocdir}/HTML/en/kdat/ - -%post -n trinity-kdat -for icon_theme in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kdat -for icon_theme in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package kfile-plugins -Summary: Trinity file metainfo plugins for deb and rpm files -Group: Environment/Libraries - -%description kfile-plugins -File metainfo plugins for deb and rpm package files. - -%files kfile-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/kfile_deb.la -%{tde_tdelibdir}/kfile_deb.so -%{tde_tdelibdir}/kfile_rpm.la -%{tde_tdelibdir}/kfile_rpm.so -%{tde_datadir}/services/kfile_deb.desktop -%{tde_datadir}/services/kfile_rpm.desktop - -########## - -%package -n trinity-knetworkconf -Summary: Trinity network configuration tool -Group: Applications/Utilities - -%description -n trinity-knetworkconf -This is a TDE control center module to configure TCP/IP settings. It -can be used to manage network devices and settings for each device. - -%files -n trinity-knetworkconf -%defattr(-,root,root,-) -%doc rpmdocs/knetworkconf/* -%{tde_datadir}/icons/hicolor/*/apps/knetworkconf.png -%{tde_datadir}/icons/hicolor/22x22/actions/network_disconnected_wlan.png -%{tde_datadir}/icons/hicolor/22x22/actions/network_connected_lan_knc.png -%{tde_datadir}/icons/hicolor/22x22/actions/network_disconnected_lan.png -%{tde_datadir}/icons/hicolor/22x22/actions/network_traffic_wlan.png -%{tde_datadir}/apps/knetworkconf/ -%{tde_tdeappdir}/kcm_knetworkconfmodule.desktop -%{tde_tdelibdir}/kcm_knetworkconfmodule.so -%{tde_tdelibdir}/kcm_knetworkconfmodule.la -%{tde_tdedocdir}/HTML/en/knetworkconf/ - -%post -n trinity-knetworkconf -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done - -%postun -n trinity-knetworkconf -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done - -########## - -%package -n trinity-kpackage -Summary: Trinity package management tool -Group: Applications/Utilities - -%description -n trinity-kpackage -This is a frontend to both .rpm and .deb package formats. It allows you -to view currently installed packages, browse available packages, and -install/remove them. - -%files -n trinity-kpackage -%defattr(-,root,root,-) -%doc rpmdocs/kpackage/* -%{tde_bindir}/kpackage -%{tde_tdeappdir}/kpackage.desktop -%{tde_datadir}/apps/kpackage/ -%{tde_datadir}/config/kpackagerc -%{tde_datadir}/icons/hicolor/*/apps/kpackage.png -%{tde_tdedocdir}/HTML/en/kpackage/ - -%post -n trinity-kpackage -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kpackage -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ksysv -Summary: Trinity SysV-style init configuration editor -Group: Applications/Utilities - -%description -n trinity-ksysv -This program allows you to edit your start and stop scripts using a -drag and drop GUI. - -%files -n trinity-ksysv -%defattr(-,root,root,-) -%doc rpmdocs/ksysv/* -%{tde_bindir}/ksysv -%{tde_tdeappdir}/ksysv.desktop -%{tde_datadir}/apps/ksysv/ -%{tde_datadir}/config/ksysvrc -%{tde_datadir}/icons/crystalsvg/16x16/actions/toggle_log.png -%{tde_datadir}/icons/hicolor/*/apps/ksysv.png -%{tde_datadir}/mimelnk/application/x-ksysv.desktop -%{tde_datadir}/mimelnk/text/x-ksysv-log.desktop -%{tde_tdedocdir}/HTML/en/ksysv/ - -%post -n trinity-ksysv -for icon_theme in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ksysv -for icon_theme in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kuser -Summary: Trinity user/group administration tool -Group: Applications/Utilities -# package 'usermode' provides '/usr/bin/consolehelper-gtk' -%if 0%{?rhel} || 0%{?fedora} -Requires: usermode-gtk -%else -Requires: usermode -%endif - -%description -n trinity-kuser -A user/group administration tool for TDE. - -%files -n trinity-kuser -%defattr(-,root,root,-) -%doc rpmdocs/kuser/* -%{_sbindir}/kuser -%{tde_bindir}/kuser -%{tde_sbindir}/kuser -%{tde_tdeappdir}/kuser.desktop -%{tde_datadir}/apps/kuser/ -%{tde_datadir}/config/kuserrc -%{tde_datadir}/config.kcfg/kuser.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kuser.png -%{tde_tdedocdir}/HTML/en/kuser/ -%config(noreplace) /etc/pam.d/kuser -%config(noreplace) /etc/security/console.apps/kuser - -%post -n trinity-kuser -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kuser -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%if 0%{?mgaversion} || 0%{?mdkversion} -%package -n trinity-lilo-config -Summary: Trinity frontend for lilo configuration -Group: Applications/Utilities -Requires: trinity-kcontrol -Requires: trinity-tdebase-bin -#Requires: lilo - -%description -n trinity-lilo-config -lilo-config is a TDE based frontend to the lilo boot manager configuration. -It runs out of the TDE Control Center. - -If you want to use the menu entry to launch lilo-config, you need to install -tdebase-bin since it uses the tdesu command to gain root privileges. - -%files -n trinity-lilo-config -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_lilo.la -%{tde_tdelibdir}/kcm_lilo.so -%{tde_tdeappdir}/lilo.desktop -%{tde_tdedocdir}/HTML/en/lilo-config/ - -%post -n trinity-lilo-config -touch /etc/lilo.conf -%endif - -########## - - - - -%prep -%setup -q -n kdeadmin - -%patch1 -p1 -b .knetworkconf -%patch2 -p1 -%patch3 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --sbindir=%{tde_sbindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --docdir=%{tde_docdir} \ - --includedir=%{tde_tdeincludedir} \ - --enable-new-ldflags \ - --disable-dependency-tracking \ - --disable-rpath \ - --with-rpm \ - --with-pam=kde \ - --with-shadow \ - --with-private-groups \ - --enable-final \ - --enable-closure \ - --with-private-groups \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -comps="kcron kdat knetworkconf kpackage ksysv kuser" -%__mkdir_p %{buildroot}%{tde_datadir}/config \ - %{buildroot}%{_sysconfdir}/security/console.apps \ - %{buildroot}%{_sysconfdir}/pam.d \ - %{buildroot}%{tde_sbindir} \ - %{buildroot}%{_sbindir} - -%__install -p -m644 %{SOURCE5} %{SOURCE6} %{SOURCE7} %{buildroot}%{tde_datadir}/config/ - -# Run kuser through consolehelper -%__install -p -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/security/console.apps/kuser -%__install -p -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/pam.d/kuser -%__mv %{buildroot}%{tde_bindir}/kuser %{buildroot}%{tde_sbindir} -%__ln_s %{_bindir}/consolehelper %{buildroot}%{tde_bindir}/kuser -%if "%{tde_prefix}" != "/usr" -%__ln_s %{tde_sbindir}/kuser %{?buildroot}%{_sbindir}/kuser -%endif - -# locale's -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}/$HTML_DIR ]; then -for lang_dir in %{buildroot}/$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common - done - popd - fi -done -fi - -# rpmdocs -for dir in $comps ; do - for file in AUTHORS ChangeLog README TODO ; do - test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file" - done -done - -# The following files are not installed in any binary package. -# This is deliberate. - -# - This file serves no purpose that we can see, and conflicts -# with GNOME system tools, so be sure to leave it out. -%__rm -f %{?buildroot}%{tde_libdir}/pkgconfig/*.pc - -# Extract from changelog: -# tdeadmin (4:3.5.5-2) unstable; urgency=low -# +++ Changes by Ana Beatriz Guerrero Lopez: -# * Removed useless program secpolicy. (Closes: #399426) -%__rm -f %{?buildroot}%{tde_bindir}/secpolicy - - - -%clean -%__rm -rf %{buildroot} - - - -%changelog -* Fri Jul 13 2012 Francois Andriot - 3.5.13-5 -- Renames 'trinity-kdeadmin' to 'trinity-tdeadmin' -- Split in several packages -- Fix configure options -- Remove "More Applications" from TDE menu. [Bug #653] [Commit #d3d70211] - -* Thu Apr 03 2012 Francois Andriot - 3.5.13-4 -- Fix knetworkconf support for Fedora, adds Fedora 17 -- Fix linear alphabet string errors [Commit #1f719050] - -* Wed Jan 11 2012 Francois Andriot - 3.5.13-3 -- Add knetworkconf support for RHEL 5, RHEL 6, Fedora 15, Fedora 16 -- Remove 'consolehelper' macro -- Enables all kdeadmin components in RHEL (no more exclude some tools) -- Spec file cleanup - -* Fri Nov 25 2011 Francois Andriot - 3.5.13-2 -- Fix HTML directory location - -* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 -- Initial release for RHEL 6, RHEL 5 and Fedora 15 - -* Fri Oct 28 2011 Francois Andriot - 3.5.13-0 -- Import to GIT - diff --git a/redhat/tdeadmin/trinity-tdeadmin-14.0.0.spec b/redhat/tdeadmin/trinity-tdeadmin-14.0.0.spec deleted file mode 100644 index 8013c0abb..000000000 --- a/redhat/tdeadmin/trinity-tdeadmin-14.0.0.spec +++ /dev/null @@ -1,484 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_sbindir %{tde_prefix}/sbin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-tdeadmin -Summary: Administrative tools for TDE -Version: 14.0.0 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} - -License: GPLv2 -Group: User Interface/Desktops -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} - -Obsoletes: trinity-kdeadmin < %{version}-%{release} -Provides: trinity-kdeadmin = %{version}-%{release} - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz -Source1: kuser.pam -Source2: kuser.pamd -Source5: kpackagerc -Source6: ksysvrc -Source7: kuserrc - -BuildRequires: autoconf automake libtool m4 -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-arts-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} -BuildRequires: rpm-devel -BuildRequires: pam-devel -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -BuildRequires: lilo -%endif - -Requires: trinity-tdeadmin = %{version}-%{release} -Requires: trinity-kcron = %{version}-%{release} -Requires: trinity-kdat = %{version}-%{release} -Requires: %{name}-kfile-plugins = %{version}-%{release} -Requires: trinity-knetworkconf = %{version}-%{release} -Requires: trinity-kpackage = %{version}-%{release} -Requires: trinity-ksysv = %{version}-%{release} -Requires: trinity-kuser = %{version}-%{release} -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -Requires: trinity-lilo-config = %{version}-%{release} -%endif - -# CONSOLEHELPER (usermode) support -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_consolehelper 1 - -# Avoids relinking, which breaks consolehelper -%define dont_relink 1 -%endif - -%description -The tdeadmin package includes administrative tools for the Trinity Desktop -Environment (TDE) including: -kcron, kdat, knetworkconf, kpackage, ksysv, kuser. - -%files -%defattr(-,root,root,-) -# LILO is not provided in RHEL or Fedora -%if 0%{?rhel} || 0%{?fedora} -%exclude %{tde_tdedocdir}/HTML/en/lilo-config/ -%endif - -########## - -%package -n trinity-kcron -Summary: The Trinity crontab editor -Group: Applications/Utilities - -%description -n trinity-kcron -KCron is an application for scheduling programs to run in the background. -It is a graphical user interface to cron, the UNIX system scheduler. - -%files -n trinity-kcron -%defattr(-,root,root,-) -%{tde_bindir}/kcron -%{tde_tdeappdir}/kcron.desktop -%{tde_datadir}/apps/kcron/kcronui.rc -%{tde_datadir}/icons/hicolor/*/apps/kcron.png -%{tde_tdedocdir}/HTML/en/kcron/ - -%post -n trinity-kcron -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kcron -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kdat -Summary: A Trinity tape backup tool -Group: Applications/Utilities - -%description -n trinity-kdat -KDat is a tar-based tape archiver. It is designed to work with multiple -archives on a single tape. - -Main features are: -* Simple graphical interface to local filesystem and tape contents. -* Multiple archives on the same physical tape. -* Complete index of archives and files is stored on local hard disk. -* Selective restore of files from an archive. -* Backup profiles for frequently used backups. - -%files -n trinity-kdat -%defattr(-,root,root,-) -%doc rpmdocs/kdat/* -%{tde_bindir}/kdat -%{tde_tdeappdir}/kdat.desktop -%{tde_datadir}/apps/kdat/ -%{tde_datadir}/icons/hicolor/*/apps/kdat.png -%{tde_datadir}/icons/locolor/*/apps/kdat.png -%{tde_tdedocdir}/HTML/en/kdat/ - -%post -n trinity-kdat -for icon_theme in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kdat -for icon_theme in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package kfile-plugins -Summary: Trinity file metainfo plugins for deb and rpm files -Group: Environment/Libraries - -%description kfile-plugins -File metainfo plugins for deb and rpm package files. - -%files kfile-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/tdefile_deb.la -%{tde_tdelibdir}/tdefile_deb.so -%{tde_tdelibdir}/tdefile_rpm.la -%{tde_tdelibdir}/tdefile_rpm.so -%{tde_datadir}/services/tdefile_deb.desktop -%{tde_datadir}/services/tdefile_rpm.desktop - -########## - -%package -n trinity-knetworkconf -Summary: Trinity network configuration tool -Group: Applications/Utilities - -%description -n trinity-knetworkconf -This is a TDE control center module to configure TCP/IP settings. It -can be used to manage network devices and settings for each device. - -%files -n trinity-knetworkconf -%defattr(-,root,root,-) -%doc rpmdocs/knetworkconf/* -%{tde_datadir}/icons/hicolor/*/apps/knetworkconf.png -%{tde_datadir}/icons/hicolor/22x22/actions/network_disconnected_wlan.png -%{tde_datadir}/icons/hicolor/22x22/actions/network_connected_lan_knc.png -%{tde_datadir}/icons/hicolor/22x22/actions/network_disconnected_lan.png -%{tde_datadir}/icons/hicolor/22x22/actions/network_traffic_wlan.png -%{tde_datadir}/apps/knetworkconf/ -%{tde_tdeappdir}/kcm_knetworkconfmodule.desktop -%{tde_tdelibdir}/kcm_knetworkconfmodule.so -%{tde_tdelibdir}/kcm_knetworkconfmodule.la -%{tde_tdedocdir}/HTML/en/knetworkconf/ - -%post -n trinity-knetworkconf -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done - -%postun -n trinity-knetworkconf -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done - -########## - -%package -n trinity-kpackage -Summary: Trinity package management tool -Group: Applications/Utilities - -%description -n trinity-kpackage -This is a frontend to both .rpm and .deb package formats. It allows you -to view currently installed packages, browse available packages, and -install/remove them. - -%files -n trinity-kpackage -%defattr(-,root,root,-) -%doc rpmdocs/kpackage/* -%{tde_bindir}/kpackage -%{tde_tdeappdir}/kpackage.desktop -%{tde_datadir}/apps/kpackage/ -%{tde_datadir}/config/kpackagerc -%{tde_datadir}/icons/hicolor/*/apps/kpackage.png -%{tde_tdedocdir}/HTML/en/kpackage/ - -%post -n trinity-kpackage -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kpackage -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ksysv -Summary: Trinity SysV-style init configuration editor -Group: Applications/Utilities - -%description -n trinity-ksysv -This program allows you to edit your start and stop scripts using a -drag and drop GUI. - -%files -n trinity-ksysv -%defattr(-,root,root,-) -%doc rpmdocs/ksysv/* -%{tde_bindir}/ksysv -%{tde_tdeappdir}/ksysv.desktop -%{tde_datadir}/apps/ksysv/ -%{tde_datadir}/config/ksysvrc -%{tde_datadir}/icons/crystalsvg/16x16/actions/toggle_log.png -%{tde_datadir}/icons/hicolor/*/apps/ksysv.png -%{tde_datadir}/mimelnk/application/x-ksysv.desktop -%{tde_datadir}/mimelnk/text/x-ksysv-log.desktop -%{tde_tdedocdir}/HTML/en/ksysv/ - -%post -n trinity-ksysv -for icon_theme in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ksysv -for icon_theme in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kuser -Summary: Trinity user/group administration tool -Group: Applications/Utilities - -%if 0%{?with_consolehelper} -# package 'usermode' provides '/usr/bin/consolehelper-gtk' -%if 0%{?rhel} || 0%{?fedora} -Requires: usermode-gtk -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -Requires: usermode -%endif -%endif - -%description -n trinity-kuser -A user/group administration tool for TDE. - -%files -n trinity-kuser -%defattr(-,root,root,-) -%doc rpmdocs/kuser/* -%{tde_bindir}/kuser -%{tde_tdeappdir}/kuser.desktop -%{tde_datadir}/apps/kuser/ -%{tde_datadir}/config/kuserrc -%{tde_datadir}/config.kcfg/kuser.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kuser.png -%{tde_tdedocdir}/HTML/en/kuser/ - -%if 0%{?with_consolehelper} -%{tde_sbindir}/kuser -%{_sbindir}/kuser -%config(noreplace) /etc/pam.d/kuser -%config(noreplace) /etc/security/console.apps/kuser -%endif - -%post -n trinity-kuser -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kuser -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%package -n trinity-lilo-config -Summary: Trinity frontend for lilo configuration -Group: Applications/Utilities -Requires: trinity-kcontrol -Requires: trinity-tdebase-bin -#Requires: lilo - -%description -n trinity-lilo-config -lilo-config is a TDE based frontend to the lilo boot manager configuration. -It runs out of the TDE Control Center. - -If you want to use the menu entry to launch lilo-config, you need to install -tdebase-bin since it uses the tdesu command to gain root privileges. - -%files -n trinity-lilo-config -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_lilo.la -%{tde_tdelibdir}/kcm_lilo.so -%{tde_tdeappdir}/lilo.desktop -%{tde_tdedocdir}/HTML/en/lilo-config/ - -%post -n trinity-lilo-config -touch /etc/lilo.conf -%endif - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR QTLIB QTINC -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -# Specific path for RHEL4 -if [ -d /usr/X11R6 ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --sbindir=%{tde_sbindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --enable-new-ldflags \ - --disable-dependency-tracking \ - --disable-rpath \ - --with-rpm \ - --with-pam=kde \ - --with-shadow \ - --with-private-groups \ - --enable-final \ - --enable-closure \ - --with-private-groups - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -comps="kcron kdat knetworkconf kpackage ksysv kuser" -%__mkdir_p %{buildroot}%{tde_datadir}/config \ - %{buildroot}%{_sysconfdir}/security/console.apps \ - %{buildroot}%{_sysconfdir}/pam.d \ - %{buildroot}%{tde_sbindir} \ - %{buildroot}%{_sbindir} - -%__install -p -m644 %{SOURCE5} %{SOURCE6} %{SOURCE7} %{buildroot}%{tde_datadir}/config/ - -%if 0%{?with_consolehelper} -# Run kuser through consolehelper -%__install -p -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/security/console.apps/kuser -%__install -p -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/pam.d/kuser -%__mv %{buildroot}%{tde_bindir}/kuser %{buildroot}%{tde_sbindir} -%__ln_s %{_bindir}/consolehelper %{buildroot}%{tde_bindir}/kuser -%if "%{tde_prefix}" != "/usr" -%__ln_s %{tde_sbindir}/kuser %{?buildroot}%{_sbindir}/kuser -%endif -%endif - -# locale's -HTML_DIR=$(tde-config --expandvars --install html) -if [ -d %{buildroot}/$HTML_DIR ]; then -for lang_dir in %{buildroot}/$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common - done - popd - fi -done -fi - -# rpmdocs -for dir in $comps ; do - for file in AUTHORS ChangeLog README TODO ; do - test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file" - done -done - -# The following files are not installed in any binary package. -# This is deliberate. - -# - This file serves no purpose that we can see, and conflicts -# with GNOME system tools, so be sure to leave it out. -%__rm -f %{?buildroot}%{tde_libdir}/pkgconfig/*.pc - -# Extract from changelog: -# tdeadmin (4:3.5.5-2) unstable; urgency=low -# +++ Changes by Ana Beatriz Guerrero Lopez: -# * Removed useless program secpolicy. (Closes: #399426) -%__rm -f %{?buildroot}%{tde_bindir}/secpolicy - - -%clean -%__rm -rf %{buildroot} - - -%changelog -* Fri Jun 28 2013 Francois Andriot - 14.0.0-1 -- Initial release for TDE 14.0.0 diff --git a/redhat/tdeadmin/trinity-tdeadmin-3.5.13.2.spec b/redhat/tdeadmin/trinity-tdeadmin-3.5.13.2.spec deleted file mode 100644 index ce87dfa25..000000000 --- a/redhat/tdeadmin/trinity-tdeadmin-3.5.13.2.spec +++ /dev/null @@ -1,494 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_sbindir %{tde_prefix}/sbin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-tdeadmin -Summary: Administrative tools for TDE -Version: 3.5.13.2 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} - -License: GPLv2 -Group: User Interface/Desktops -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} - -Obsoletes: trinity-kdeadmin < %{version}-%{release} -Provides: trinity-kdeadmin = %{version}-%{release} - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz -Source1: kuser.pam -Source2: kuser.pamd -Source5: kpackagerc -Source6: ksysvrc -Source7: kuserrc - -BuildRequires: autoconf automake libtool m4 -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-arts-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} -BuildRequires: rpm-devel -BuildRequires: pam-devel -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -BuildRequires: lilo -%endif - -Requires: trinity-tdeadmin = %{version}-%{release} -Requires: trinity-kcron = %{version}-%{release} -Requires: trinity-kdat = %{version}-%{release} -Requires: %{name}-kfile-plugins = %{version}-%{release} -Requires: trinity-knetworkconf = %{version}-%{release} -Requires: trinity-kpackage = %{version}-%{release} -Requires: trinity-ksysv = %{version}-%{release} -Requires: trinity-kuser = %{version}-%{release} -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -Requires: trinity-lilo-config = %{version}-%{release} -%endif - -# CONSOLEHELPER (usermode) support -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_consolehelper 1 - -# Avoids relinking, which breaks consolehelper -%define dont_relink 1 -%endif - -%description -The tdeadmin package includes administrative tools for the Trinity Desktop -Environment (TDE) including: -kcron, kdat, knetworkconf, kpackage, ksysv, kuser. - -%files -%defattr(-,root,root,-) -# LILO is not provided in RHEL or Fedora -%if 0%{?rhel} || 0%{?fedora} -%exclude %{tde_tdedocdir}/HTML/en/lilo-config/ -%endif - -########## - -%package -n trinity-kcron -Summary: The Trinity crontab editor -Group: Applications/Utilities - -%description -n trinity-kcron -KCron is an application for scheduling programs to run in the background. -It is a graphical user interface to cron, the UNIX system scheduler. - -%files -n trinity-kcron -%defattr(-,root,root,-) -%{tde_bindir}/kcron -%{tde_tdeappdir}/kcron.desktop -%{tde_datadir}/apps/kcron/kcronui.rc -%{tde_datadir}/icons/hicolor/*/apps/kcron.png -%{tde_tdedocdir}/HTML/en/kcron/ - -%post -n trinity-kcron -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kcron -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kdat -Summary: A Trinity tape backup tool -Group: Applications/Utilities - -%description -n trinity-kdat -KDat is a tar-based tape archiver. It is designed to work with multiple -archives on a single tape. - -Main features are: -* Simple graphical interface to local filesystem and tape contents. -* Multiple archives on the same physical tape. -* Complete index of archives and files is stored on local hard disk. -* Selective restore of files from an archive. -* Backup profiles for frequently used backups. - -%files -n trinity-kdat -%defattr(-,root,root,-) -%doc rpmdocs/kdat/* -%{tde_bindir}/kdat -%{tde_tdeappdir}/kdat.desktop -%{tde_datadir}/apps/kdat/ -%{tde_datadir}/icons/hicolor/*/apps/kdat.png -%{tde_datadir}/icons/locolor/*/apps/kdat.png -%{tde_tdedocdir}/HTML/en/kdat/ - -%post -n trinity-kdat -for icon_theme in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kdat -for icon_theme in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package kfile-plugins -Summary: Trinity file metainfo plugins for deb and rpm files -Group: Environment/Libraries - -%description kfile-plugins -File metainfo plugins for deb and rpm package files. - -%files kfile-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/kfile_deb.la -%{tde_tdelibdir}/kfile_deb.so -%{tde_tdelibdir}/kfile_rpm.la -%{tde_tdelibdir}/kfile_rpm.so -%{tde_datadir}/services/kfile_deb.desktop -%{tde_datadir}/services/kfile_rpm.desktop - -########## - -%package -n trinity-knetworkconf -Summary: Trinity network configuration tool -Group: Applications/Utilities - -%description -n trinity-knetworkconf -This is a TDE control center module to configure TCP/IP settings. It -can be used to manage network devices and settings for each device. - -%files -n trinity-knetworkconf -%defattr(-,root,root,-) -%doc rpmdocs/knetworkconf/* -%{tde_datadir}/icons/hicolor/*/apps/knetworkconf.png -%{tde_datadir}/icons/hicolor/22x22/actions/network_disconnected_wlan.png -%{tde_datadir}/icons/hicolor/22x22/actions/network_connected_lan_knc.png -%{tde_datadir}/icons/hicolor/22x22/actions/network_disconnected_lan.png -%{tde_datadir}/icons/hicolor/22x22/actions/network_traffic_wlan.png -%{tde_datadir}/apps/knetworkconf/ -%{tde_tdeappdir}/kcm_knetworkconfmodule.desktop -%{tde_tdelibdir}/kcm_knetworkconfmodule.so -%{tde_tdelibdir}/kcm_knetworkconfmodule.la -%{tde_tdedocdir}/HTML/en/knetworkconf/ - -%post -n trinity-knetworkconf -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done - -%postun -n trinity-knetworkconf -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done - -########## - -%package -n trinity-kpackage -Summary: Trinity package management tool -Group: Applications/Utilities - -%description -n trinity-kpackage -This is a frontend to both .rpm and .deb package formats. It allows you -to view currently installed packages, browse available packages, and -install/remove them. - -%files -n trinity-kpackage -%defattr(-,root,root,-) -%doc rpmdocs/kpackage/* -%{tde_bindir}/kpackage -%{tde_tdeappdir}/kpackage.desktop -%{tde_datadir}/apps/kpackage/ -%{tde_datadir}/config/kpackagerc -%{tde_datadir}/icons/hicolor/*/apps/kpackage.png -%{tde_tdedocdir}/HTML/en/kpackage/ - -%post -n trinity-kpackage -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kpackage -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ksysv -Summary: Trinity SysV-style init configuration editor -Group: Applications/Utilities - -%description -n trinity-ksysv -This program allows you to edit your start and stop scripts using a -drag and drop GUI. - -%files -n trinity-ksysv -%defattr(-,root,root,-) -%doc rpmdocs/ksysv/* -%{tde_bindir}/ksysv -%{tde_tdeappdir}/ksysv.desktop -%{tde_datadir}/apps/ksysv/ -%{tde_datadir}/config/ksysvrc -%{tde_datadir}/icons/crystalsvg/16x16/actions/toggle_log.png -%{tde_datadir}/icons/hicolor/*/apps/ksysv.png -%{tde_datadir}/mimelnk/application/x-ksysv.desktop -%{tde_datadir}/mimelnk/text/x-ksysv-log.desktop -%{tde_tdedocdir}/HTML/en/ksysv/ - -%post -n trinity-ksysv -for icon_theme in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ksysv -for icon_theme in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kuser -Summary: Trinity user/group administration tool -Group: Applications/Utilities - -%if 0%{?with_consolehelper} -# package 'usermode' provides '/usr/bin/consolehelper-gtk' -%if 0%{?rhel} || 0%{?fedora} -Requires: usermode-gtk -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -Requires: usermode -%endif -%endif - -%description -n trinity-kuser -A user/group administration tool for TDE. - -%files -n trinity-kuser -%defattr(-,root,root,-) -%doc rpmdocs/kuser/* -%{tde_bindir}/kuser -%{tde_tdeappdir}/kuser.desktop -%{tde_datadir}/apps/kuser/ -%{tde_datadir}/config/kuserrc -%{tde_datadir}/config.kcfg/kuser.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kuser.png -%{tde_tdedocdir}/HTML/en/kuser/ - -%if 0%{?with_consolehelper} -%{tde_sbindir}/kuser -%{_sbindir}/kuser -%config(noreplace) /etc/pam.d/kuser -%config(noreplace) /etc/security/console.apps/kuser -%endif - -%post -n trinity-kuser -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kuser -for icon_theme in hicolor ; do - touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%package -n trinity-lilo-config -Summary: Trinity frontend for lilo configuration -Group: Applications/Utilities -Requires: trinity-kcontrol -Requires: trinity-tdebase-bin -#Requires: lilo - -%description -n trinity-lilo-config -lilo-config is a TDE based frontend to the lilo boot manager configuration. -It runs out of the TDE Control Center. - -If you want to use the menu entry to launch lilo-config, you need to install -tdebase-bin since it uses the tdesu command to gain root privileges. - -%files -n trinity-lilo-config -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_lilo.la -%{tde_tdelibdir}/kcm_lilo.so -%{tde_tdeappdir}/lilo.desktop -%{tde_tdedocdir}/HTML/en/lilo-config/ - -%post -n trinity-lilo-config -touch /etc/lilo.conf -%endif - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -# Do not build against any "/usr" installed KDE -export KDEDIR=%{tde_prefix} - -# Specific path for RHEL4 -if [ -d /usr/X11R6 ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --sbindir=%{tde_sbindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --enable-new-ldflags \ - --disable-dependency-tracking \ - --disable-rpath \ - --with-rpm \ - --with-pam=kde \ - --with-shadow \ - --with-private-groups \ - --enable-final \ - --enable-closure \ - --with-private-groups \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -comps="kcron kdat knetworkconf kpackage ksysv kuser" -%__mkdir_p %{buildroot}%{tde_datadir}/config \ - %{buildroot}%{_sysconfdir}/security/console.apps \ - %{buildroot}%{_sysconfdir}/pam.d \ - %{buildroot}%{tde_sbindir} \ - %{buildroot}%{_sbindir} - -%__install -p -m644 %{SOURCE5} %{SOURCE6} %{SOURCE7} %{buildroot}%{tde_datadir}/config/ - -%if 0%{?with_consolehelper} -# Run kuser through consolehelper -%__install -p -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/security/console.apps/kuser -%__install -p -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/pam.d/kuser -%__mv %{buildroot}%{tde_bindir}/kuser %{buildroot}%{tde_sbindir} -%__ln_s %{_bindir}/consolehelper %{buildroot}%{tde_bindir}/kuser -%if "%{tde_prefix}" != "/usr" -%__ln_s %{tde_sbindir}/kuser %{?buildroot}%{_sbindir}/kuser -%endif -%endif - -# locale's -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}/$HTML_DIR ]; then -for lang_dir in %{buildroot}/$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common - done - popd - fi -done -fi - -# rpmdocs -for dir in $comps ; do - for file in AUTHORS ChangeLog README TODO ; do - test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file" - done -done - -# The following files are not installed in any binary package. -# This is deliberate. - -# - This file serves no purpose that we can see, and conflicts -# with GNOME system tools, so be sure to leave it out. -%__rm -f %{?buildroot}%{tde_libdir}/pkgconfig/*.pc - -# Extract from changelog: -# tdeadmin (4:3.5.5-2) unstable; urgency=low -# +++ Changes by Ana Beatriz Guerrero Lopez: -# * Removed useless program secpolicy. (Closes: #399426) -%__rm -f %{?buildroot}%{tde_bindir}/secpolicy - - -%clean -%__rm -rf %{buildroot} - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 -- Initial release for TDE 3.5.13.2 diff --git a/redhat/tdeartwork/kdeartwork-3.5.12.spec b/redhat/tdeartwork/kdeartwork-3.5.12.spec new file mode 100644 index 000000000..e1bc6e7b7 --- /dev/null +++ b/redhat/tdeartwork/kdeartwork-3.5.12.spec @@ -0,0 +1,186 @@ +# Default version for this component +%if "%{?version}" == "" +%define version 3.5.12 +%endif +%define release 5 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_prefix}/share/doc +%endif + +# TDE 3.5.12 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_libdir %{_libdir}/kde3 + + +Name: trinity-kdeartwork +Summary: Additional artwork (themes, sound themes, ...) for KDE +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2 +Group: User Interface/Desktops +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Vendor: Trinity Project +Packager: Francois Andriot +Url: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source: kdeartwork-%{version}.tar.gz + +# FIXME: this should go in kde-settings -- Rex +Source1: webcollagerc + +BuildRequires: gettext +BuildRequires: trinity-kdebase-devel +BuildRequires: libart_lgpl-devel +BuildRequires: nas-devel esound-devel jack-audio-connection-kit-devel +BuildRequires: xscreensaver-extras xscreensaver-gl-base + + +Requires: trinity-kdebase + +%description +Additional artwork (themes, sound themes, screensavers ...) for KDE. + +# TODO: build this subpkg noarch +%package icons +Summary: Icon themes (kdeclassic, slick ....) for KDE +Group: User Interface/Desktops +%description icons +%{summary}. + + +%prep +%setup -q -n kdeartwork + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + + +%configure \ + --disable-rpath \ + --enable-new-ldflags \ + --disable-dependency-tracking \ + --disable-debug --disable-warnings \ + --enable-final \ + --with-extra-includes=%{_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# webcollage -root -directory /usr/share/backgrounds/images #227683 + +# rpmdocs +for dir in IconThemes/* kworldclock kscreensaver/kxsconfig ; do + for file in AUTHORS ChangeLog COPYRIGHT README TODO ; do + test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file" + done +done + +# File lists +%find_lang %{name} || touch %{name}.lang +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi +done +fi + +# kde vs xscreensaver based screensavers +for screensaver in %{buildroot}%{_datadir}/applnk/System/ScreenSavers/*.desktop ; do + if [ `grep '^TryExec=xscreensaver' $screensaver` ]; then + echo $screensaver | sed -e "s|%{buildroot}||" >> %{name}-extras.lang + else + echo $screensaver | sed -e "s|%{buildroot}||" >> %{name}.lang + fi +done + + + +%post icons +for i in locolor ikons kdeclassic kids slick ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done + +%postun icons +for i in locolor ikons kdeclassic kids slick ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done + +%clean +%__rm -rf %{buildroot} + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc kwin-styles/smooth-blend/COPYING +%doc rpmdocs/kworldclock +%{_bindir}/*.kss +%{tde_libdir}/plugins/styles/* +%{tde_libdir}/*.so +%{tde_libdir}/*.la +%{_datadir}/apps/kfiresaver/ +%{_datadir}/apps/kscreensaver/ +%{_datadir}/apps/kstyle/themes/* +%{_datadir}/apps/kwin/* +%{_datadir}/apps/kworldclock/ +%{_datadir}/sounds/* +%{_datadir}/wallpapers/* +%{_datadir}/emoticons/* +%{_bindir}/kxs* + +%files icons +%defattr(-,root,root,-) +%doc rpmdocs/IconThemes/* +%{_datadir}/icons/ikons/ +%{_datadir}/icons/kdeclassic/ +%{_datadir}/icons/kids/ +%{_datadir}/icons/Locolor/ +%{_datadir}/icons/slick/ + + + +%changelog +* Mon Sep 19 2011 Francois Andriot - 3.5.12-5 +- Add support for RHEL5 + +* Sun Sep 11 2011 Francois Andriot - 3.5.12-4 +- Import to GIT + +* Tue Aug 23 2011 Francois Andriot - 3.5.12-3 +- Add correction for Fedora 15 + +* Mon Aug 22 2011 Francois Andriot - 3.5.12-2 +- Correct macro to install under "/opt", if desired + +* Fri Aug 05 2011 Francois Andriot - 3.5.12-1 +- Initial version +- Spec file based on Fedora 8 "kdeartwork 3.5.10-1" diff --git a/redhat/tdeartwork/kdeartwork-3.5.13.1.spec b/redhat/tdeartwork/kdeartwork-3.5.13.1.spec new file mode 100644 index 000000000..32c66dd05 --- /dev/null +++ b/redhat/tdeartwork/kdeartwork-3.5.13.1.spec @@ -0,0 +1,701 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-tdeartwork +Summary: Additional artwork (themes, sound themes, ...) for TDE +Version: 3.5.13.1 +Release: 1%{?dist}%{?_variant} + +License: GPLv2 +Group: User Interface/Desktops +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Vendor: Trinity Project +Packager: Francois Andriot +Url: http://www.trinitydesktop.org/ + +Source: kdeartwork-3.5.13.1.tar.gz + +# [kdeartwork] Renames theme 'Locolor' to 'locolor' +Patch1: kdeartwork-3.5.13.1-fix_locolor_theme_name.patch.gz + +BuildRequires: cmake >= 2.8 +BuildRequires: trinity-tdebase-devel >= %{version} + +BuildRequires: gettext +BuildRequires: esound-devel + +# kdeartwork specific settings + +# OpenGL support +%if 0%{?rhel} == 4 +BuildRequires: xorg-x11-Mesa-libGLU +%endif + +# NAS support +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: nas-devel +%endif + +# LIBART support +# On RHEL, libart is too old ! +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_libart 1 +BuildRequires: libart_lgpl-devel +%endif + +# XSCREENSAVER support +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version} +%define with_xscreensaver 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel +BuildRequires: xscreensaver +BuildRequires: xscreensaver-base +BuildRequires: xscreensaver-extrusion +BuildRequires: xscreensaver-gl +%endif +%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} +BuildRequires: libXScrnSaver-devel +%endif + +%if 0%{?fedora} || 0%{?rhel} >= 6 +# Provides '/usr/share/xscreensaver/config/deco.xml' +BuildRequires: xscreensaver-extras +%endif +%if 0%{?suse_version} +BuildRequires: xscreensaver-data-extra +%endif + +# Opensuse does not provide 'webcollage' screensaver +%if 0%{?suse_version} == 0 +%define with_webcollage 1 +%endif + +%endif + +# JACK support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}jack-devel +%endif +%if 0%{?fedora} || 0%{?rhel} >= 5 +BuildRequires: jack-audio-connection-kit-devel +%endif + + +Obsoletes: trinity-kdeartwork < %{version}-%{release} +Provides: trinity-kdeartwork = %{version}-%{release} + +# Metapackage +Requires: %{name}-emoticons = %{version}-%{release} +Requires: %{name}-misc = %{version}-%{release} +Requires: %{name}-style = %{version}-%{release} +Requires: %{name}-theme-icon = %{version}-%{release} +Requires: %{name}-theme-window = %{version}-%{release} +Requires: trinity-kdewallpapers = %{version}-%{release} +Requires: trinity-kscreensaver = %{version}-%{release} + +%if 0%{?with_xscreensaver} +Requires: trinity-kscreensaver-xsavers = %{version}-%{release} +Requires: trinity-kscreensaver-xsavers-extra = %{version}-%{release} +%if 0%{?with_webcollage} +Requires: trinity-kscreensaver-xsavers-webcollage = %{version}-%{release} +%endif +%endif + + +%description +TDE (the Trinity Desktop Environment) is a powerful Open Source graphical +desktop environment for Unix workstations. It combines ease of use, +contemporary functionality, and outstanding graphical design with the +technological superiority of the Unix operating system. + +This metapackage includes a collection of artistic extras (themes, widget +styles, screen savers, wallpaper, icons, emoticons and so on) provided +with the official release of KDE. + +Homepage: http://artist.kde.org + +%files + +########## + +%package emoticons +Summary: emoticon collections for tDE chat clients +Group: User Interface/Desktops + +%description emoticons +This package contains several collections of emoticons used by official +and unofficial KDE chat clients, such as Kopete and Konversation. + +This package is part of KDE, and a component of the KDE artwork module. + +%files emoticons +%defattr(-,root,root,-) +%{tde_datadir}/emoticons/ + +########## + +%package misc +Summary: various multimedia goodies released with TDE +Group: User Interface/Desktops + +%description misc +This package contains miscellaneous multimedia goodies for KDE. +Included are additional TDE sounds and kworldclock themes. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files misc +%defattr(-,root,root,-) +%{tde_datadir}/apps/kworldclock/ +%{tde_datadir}/sounds/KDE_Logout_new.wav +%{tde_datadir}/sounds/KDE_Startup_new.wav + +########## + +%package style +Summary: widget styles released with Trinity +Group: User Interface/Desktops + +%description style +This package contains additional widget styles for Trinity. Widget styles +can be used to customise the look and feel of interface components such +as buttons, scrollbars and so on. They can be applied using the style +manager in the TDE Control Centre. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files style +%defattr(-,root,root,-) +%{tde_tdelibdir}/plugins/styles/ +%{tde_tdelibdir}/kstyle_phase_config.la +%{tde_tdelibdir}/kstyle_phase_config.so +%{tde_datadir}/apps/kstyle/ + +########## + +%package theme-icon +Summary: icon themes released with Trinity +Group: User Interface/Desktops + +Obsoletes: trinity-kdeartwork-icons < %{version}-%{release} +Provides: trinity-kdeartwork-icons = %{version}-%{release} + +%description theme-icon +This package contains additional icon themes for Trinity. Icon themes can be +used to customise the appearance of standard icons throughout KDE. They +can be applied using the icon manager in the Trinity Control Centre. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files theme-icon +%defattr(-,root,root,-) +%{tde_datadir}/icons/*/* + +%post theme-icon +for i in locolor ikons kdeclassic kids slick ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done + +%postun theme-icon +for i in locolor ikons kdeclassic kids slick ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done + +########## + +%package theme-window +Summary: window decoration themes released with Trinity +Group: User Interface/Desktops + +%description theme-window +This package contains additional window decoration themes for Trinity. Window +decoration themes can be used to customise the look of window borders and +buttons, and can be applied using the window decoration manager in the Trinity +Control Center. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files theme-window +%defattr(-,root,root,-) +%{tde_tdelibdir}/[kt]win* +%{tde_datadir}/apps/[kt]win/ + +########## + +%package -n trinity-kdewallpapers +Summary: wallpapers released with Trinity +Group: User Interface/Desktops + +%description -n trinity-kdewallpapers +This package contains additional wallpapers for Trinity. Wallpapers can be +applied using the background manager in the TDE Control Centre. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files -n trinity-kdewallpapers +%defattr(-,root,root,-) +%{tde_datadir}/wallpapers/ + +########## + +%package -n trinity-kscreensaver +Summary: additional screen savers released with Trinity +Group: User Interface/Desktops + +%description -n trinity-kscreensaver +This package contains the screen savers for Trinity. They can be tested and +selected within the Appearance and Themes section of the Trinity Control +Center. + +The hooks for the standard xscreensavers are no longer part of this +package. To select and/or configure the standard xscreensavers through +the TDE Control Center, install the separate package kscreensaver-xsavers. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files -n trinity-kscreensaver +%defattr(-,root,root,-) +%{tde_bindir}/kslideshow.kss +%{tde_bindir}/kpolygon.kss +%{tde_bindir}/krotation.kss +%{tde_bindir}/ksolarwinds.kss +%{tde_bindir}/klorenz.kss +%{tde_bindir}/kvm.kss +%{tde_bindir}/kflux.kss +%{tde_bindir}/kscience.kss +%{tde_bindir}/kbanner.kss +%{tde_bindir}/kclock.kss +%{tde_bindir}/kfiresaver.kss +%{tde_bindir}/keuphoria.kss +%{tde_bindir}/kfountain.kss +%{tde_bindir}/kgravity.kss +%{tde_bindir}/kpartsaver.kss +%{tde_bindir}/kpendulum.kss +%{tde_bindir}/kblob.kss +%{tde_bindir}/klines.kss +%{tde_bindir}/kwave.kss +%{tde_datadir}/applnk/System/ScreenSavers/KBanner.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KBlob.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KClock.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KEuphoria.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KFiresaver.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KFlux.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KFountain.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KGravity.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KLines-saver.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KLorenz.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KPendulum.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KPolygon.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KRotation.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KScience.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KSlideshow.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KSolarWinds.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KVm.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KWave.desktop +%{tde_datadir}/applnk/System/ScreenSavers/kpartsaver.desktop +%{tde_datadir}/apps/kfiresaver/ +%{tde_datadir}/apps/kscreensaver/ + +%if 0%{?with_xscreensaver} +%{tde_bindir}/kspace.kss +%{tde_bindir}/kswarm.kss +%{tde_datadir}/applnk/System/ScreenSavers/KSpace.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KSwarm.desktop +%endif + +########## + +%if 0%{?with_xscreensaver} + +%package -n trinity-kscreensaver-xsavers +Summary: Trinity hooks for standard xscreensavers +Group: User Interface/Desktops +Requires: trinity-tdebase-bin >= 3.5.13 +Requires: xscreensaver + +%description -n trinity-kscreensaver-xsavers +This package allows a smooth integration of the standard xscreensavers +into Trinity. With this package installed you can select and/or configure +the standard xscreensavers through the Appearances and Themes section of +the Trinity Control Centre. + +Note that this package does not actually contain any screensavers itself. +For the additional screensavers shipped with Trinity, see the separate package +kscreensaver-trinity. This package does depend on the xscreensaver package, and +recommend the xscreensaver-gl package, as well as contain the necessary +files to integrate these packages into Trinity. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files -n trinity-kscreensaver-xsavers +%defattr(-,root,root,-) +#%{tde_bindir}/xscreensaver-getimage-file +#%{tde_bindir}/xscreensaver-getimage +%{tde_bindir}/kxsconfig +%{tde_bindir}/kxsrun +%{tde_datadir}/applnk/System/ScreenSavers/antinspect.desktop +%{tde_datadir}/applnk/System/ScreenSavers/antspotlight.desktop +%{tde_datadir}/applnk/System/ScreenSavers/atunnel.desktop +%{tde_datadir}/applnk/System/ScreenSavers/blinkbox.desktop +%{tde_datadir}/applnk/System/ScreenSavers/braid.desktop +%{tde_datadir}/applnk/System/ScreenSavers/bubble3d.desktop +%{tde_datadir}/applnk/System/ScreenSavers/circuit.desktop +%{tde_datadir}/applnk/System/ScreenSavers/cubestorm.desktop +%{tde_datadir}/applnk/System/ScreenSavers/deco.desktop +%{tde_datadir}/applnk/System/ScreenSavers/distort.desktop +%{tde_datadir}/applnk/System/ScreenSavers/endgame.desktop +%{tde_datadir}/applnk/System/ScreenSavers/engine.desktop +%{tde_datadir}/applnk/System/ScreenSavers/fiberlamp.desktop +%{tde_datadir}/applnk/System/ScreenSavers/flipflop.desktop +%{tde_datadir}/applnk/System/ScreenSavers/flipscreen3d.desktop +%{tde_datadir}/applnk/System/ScreenSavers/flyingtoasters.desktop +%{tde_datadir}/applnk/System/ScreenSavers/fuzzyflakes.desktop +%{tde_datadir}/applnk/System/ScreenSavers/galaxy.desktop +%{tde_datadir}/applnk/System/ScreenSavers/gears.desktop +%{tde_datadir}/applnk/System/ScreenSavers/gflux.desktop +%{tde_datadir}/applnk/System/ScreenSavers/glblur.desktop +%{tde_datadir}/applnk/System/ScreenSavers/gleidescope.desktop +%{tde_datadir}/applnk/System/ScreenSavers/glknots.desktop +%{tde_datadir}/applnk/System/ScreenSavers/glslideshow.desktop +%{tde_datadir}/applnk/System/ScreenSavers/glsnake.desktop +%{tde_datadir}/applnk/System/ScreenSavers/gltext.desktop +%{tde_datadir}/applnk/System/ScreenSavers/hypertorus.desktop +%{tde_datadir}/applnk/System/ScreenSavers/jigglypuff.desktop +%{tde_datadir}/applnk/System/ScreenSavers/lavalite.desktop +%{tde_datadir}/applnk/System/ScreenSavers/metaballs.desktop +%{tde_datadir}/applnk/System/ScreenSavers/mirrorblob.desktop +%{tde_datadir}/applnk/System/ScreenSavers/moebius.desktop +%{tde_datadir}/applnk/System/ScreenSavers/molecule.desktop +%{tde_datadir}/applnk/System/ScreenSavers/morph3d.desktop +%{tde_datadir}/applnk/System/ScreenSavers/penrose.desktop +%{tde_datadir}/applnk/System/ScreenSavers/pipes.desktop +%{tde_datadir}/applnk/System/ScreenSavers/polyhedra.desktop +%{tde_datadir}/applnk/System/ScreenSavers/polytopes.desktop +%{tde_datadir}/applnk/System/ScreenSavers/popsquares.desktop +%{tde_datadir}/applnk/System/ScreenSavers/pulsar.desktop +%{tde_datadir}/applnk/System/ScreenSavers/queens.desktop +%{tde_datadir}/applnk/System/ScreenSavers/ripples.desktop +%{tde_datadir}/applnk/System/ScreenSavers/shadebobs.desktop +%{tde_datadir}/applnk/System/ScreenSavers/sierpinski3d.desktop +%{tde_datadir}/applnk/System/ScreenSavers/slidescreen.desktop +%{tde_datadir}/applnk/System/ScreenSavers/sonar.desktop +%{tde_datadir}/applnk/System/ScreenSavers/spheremonics.desktop +%{tde_datadir}/applnk/System/ScreenSavers/stonerview.desktop +%{tde_datadir}/applnk/System/ScreenSavers/superquadrics.desktop +%{tde_datadir}/applnk/System/ScreenSavers/swirl.desktop +%{tde_datadir}/applnk/System/ScreenSavers/xlyap.desktop +%{tde_datadir}/applnk/System/ScreenSavers/m6502.desktop +%{tde_datadir}/applnk/System/ScreenSavers/glschool.desktop +%{tde_datadir}/applnk/System/ScreenSavers/moebiusgears.desktop +%{tde_datadir}/applnk/System/ScreenSavers/glcells.desktop +%{tde_datadir}/applnk/System/ScreenSavers/abstractile.desktop +%{tde_datadir}/applnk/System/ScreenSavers/lockward.desktop +%{tde_datadir}/applnk/System/ScreenSavers/cwaves.desktop +%{tde_datadir}/applnk/System/ScreenSavers/topblock.desktop +%{tde_datadir}/applnk/System/ScreenSavers/voronoi.desktop +%{tde_datadir}/applnk/System/ScreenSavers/cubicgrid.desktop +%{tde_datadir}/applnk/System/ScreenSavers/hypnowheel.desktop +%{tde_datadir}/applnk/System/ScreenSavers/lcdscrub.desktop +%{tde_datadir}/applnk/System/ScreenSavers/photopile.desktop +%{tde_datadir}/applnk/System/ScreenSavers/skytentacles.desktop + +# These screensavers do not exist on Mageia 2 +%if 0%{?mgaversion} == 0 && 0%{?mdkversion} == 0 +%{tde_datadir}/applnk/System/ScreenSavers/glmatrix.desktop +%endif + +########## + +%if 0%{?with_webcollage} + +%package -n trinity-kscreensaver-xsavers-webcollage +Summary: webcollage screensaver Trinity hook +Group: User Interface/Desktops +Requires: trinity-kscreensaver-xsavers-extra = %{version}-%{release} +Requires: netpbm + +%description -n trinity-kscreensaver-xsavers-webcollage +This package give access to the webcollage screensaver through the Trinity +screensaver configuration. + +This screensaver downloads random pictures from the internet and creates +a collage as screensaver. + +IMPORTANT NOTICE: The internet contains all kinds of pictures, some of which +you might find inappropriate and offensive. +You are specially discouraged to install this package if you are using +your computer in a working environment or in an environment with children. + +If you still want to install this package, please read the file +/usr/share/doc/kscreensaver-xsavers-webcollage/README.Debian after the +installation. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files -n trinity-kscreensaver-xsavers-webcollage +%defattr(-,root,root,-) +%{tde_datadir}/applnk/System/ScreenSavers/webcollage.desktop + +%endif + +########## + +%package -n trinity-kscreensaver-xsavers-extra +Summary: Trinity hooks for standard xscreensavers +Group: User Interface/Desktops +Requires: trinity-kscreensaver-xsavers = %{version}-%{release} + +%description -n trinity-kscreensaver-xsavers-extra +This package allows a smooth integration of the universe xscreensavers +into Trinity. With this package installed you can select and/or configure +the universe xscreensavers through the Appearances and Themes section of +the Trinity Control Centre. + +Note that this package does not actually contain any screensavers itself. +For the additional screensavers shipped with TDE, see the separate package +kscreensaver. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files -n trinity-kscreensaver-xsavers-extra +%defattr(-,root,root,-) +%{tde_datadir}/applnk/System/ScreenSavers/anemone.desktop +%{tde_datadir}/applnk/System/ScreenSavers/anemotaxis.desktop +%{tde_datadir}/applnk/System/ScreenSavers/antmaze.desktop +%{tde_datadir}/applnk/System/ScreenSavers/apollonian.desktop +%{tde_datadir}/applnk/System/ScreenSavers/apple2.desktop +%{tde_datadir}/applnk/System/ScreenSavers/atlantis.desktop +%{tde_datadir}/applnk/System/ScreenSavers/attraction.desktop +%{tde_datadir}/applnk/System/ScreenSavers/barcode.desktop +%{tde_datadir}/applnk/System/ScreenSavers/blaster.desktop +%{tde_datadir}/applnk/System/ScreenSavers/blitspin.desktop +%{tde_datadir}/applnk/System/ScreenSavers/blocktube.desktop +%{tde_datadir}/applnk/System/ScreenSavers/boing.desktop +%{tde_datadir}/applnk/System/ScreenSavers/bouboule.desktop +%{tde_datadir}/applnk/System/ScreenSavers/bouncingcow.desktop +%{tde_datadir}/applnk/System/ScreenSavers/boxed.desktop +%{tde_datadir}/applnk/System/ScreenSavers/boxfit.desktop +%{tde_datadir}/applnk/System/ScreenSavers/bsod.desktop +%{tde_datadir}/applnk/System/ScreenSavers/bumps.desktop +%{tde_datadir}/applnk/System/ScreenSavers/cage.desktop +%{tde_datadir}/applnk/System/ScreenSavers/carousel.desktop +%{tde_datadir}/applnk/System/ScreenSavers/ccurve.desktop +%{tde_datadir}/applnk/System/ScreenSavers/celtic.desktop +%{tde_datadir}/applnk/System/ScreenSavers/cloudlife.desktop +%{tde_datadir}/applnk/System/ScreenSavers/compass.desktop +%{tde_datadir}/applnk/System/ScreenSavers/coral.desktop +%{tde_datadir}/applnk/System/ScreenSavers/crackberg.desktop +%{tde_datadir}/applnk/System/ScreenSavers/crystal.desktop +%{tde_datadir}/applnk/System/ScreenSavers/cube21.desktop +%{tde_datadir}/applnk/System/ScreenSavers/cubenetic.desktop +%{tde_datadir}/applnk/System/ScreenSavers/cynosure.desktop +%{tde_datadir}/applnk/System/ScreenSavers/dangerball.desktop +%{tde_datadir}/applnk/System/ScreenSavers/decayscreen.desktop +%{tde_datadir}/applnk/System/ScreenSavers/deluxe.desktop +%{tde_datadir}/applnk/System/ScreenSavers/demon.desktop +%{tde_datadir}/applnk/System/ScreenSavers/discrete.desktop +%{tde_datadir}/applnk/System/ScreenSavers/drift.desktop +%{tde_datadir}/applnk/System/ScreenSavers/epicycle.desktop +%{tde_datadir}/applnk/System/ScreenSavers/eruption.desktop +%{tde_datadir}/applnk/System/ScreenSavers/euler2d.desktop +%{tde_datadir}/applnk/System/ScreenSavers/extrusion.desktop +%{tde_datadir}/applnk/System/ScreenSavers/fadeplot.desktop +%{tde_datadir}/applnk/System/ScreenSavers/fireworkx.desktop +%{tde_datadir}/applnk/System/ScreenSavers/flame.desktop +%{tde_datadir}/applnk/System/ScreenSavers/fliptext.desktop +%{tde_datadir}/applnk/System/ScreenSavers/flow.desktop +%{tde_datadir}/applnk/System/ScreenSavers/fluidballs.desktop +%{tde_datadir}/applnk/System/ScreenSavers/flurry.desktop +%{tde_datadir}/applnk/System/ScreenSavers/fontglide.desktop +%{tde_datadir}/applnk/System/ScreenSavers/glhanoi.desktop +%{tde_datadir}/applnk/System/ScreenSavers/glplanet.desktop +%{tde_datadir}/applnk/System/ScreenSavers/goop.desktop +%{tde_datadir}/applnk/System/ScreenSavers/grav.desktop +%{tde_datadir}/applnk/System/ScreenSavers/greynetic.desktop +%{tde_datadir}/applnk/System/ScreenSavers/halftone.desktop +%{tde_datadir}/applnk/System/ScreenSavers/halo.desktop +%{tde_datadir}/applnk/System/ScreenSavers/helix.desktop +%{tde_datadir}/applnk/System/ScreenSavers/hopalong.desktop +%{tde_datadir}/applnk/System/ScreenSavers/ifs.desktop +%{tde_datadir}/applnk/System/ScreenSavers/imsmap.desktop +%{tde_datadir}/applnk/System/ScreenSavers/interaggregate.desktop +%{tde_datadir}/applnk/System/ScreenSavers/interference.desktop +%{tde_datadir}/applnk/System/ScreenSavers/intermomentary.desktop +%{tde_datadir}/applnk/System/ScreenSavers/jigsaw.desktop +%{tde_datadir}/applnk/System/ScreenSavers/juggler3d.desktop +%{tde_datadir}/applnk/System/ScreenSavers/julia.desktop +%{tde_datadir}/applnk/System/ScreenSavers/kaleidescope.desktop +%{tde_datadir}/applnk/System/ScreenSavers/klein.desktop +%{tde_datadir}/applnk/System/ScreenSavers/kumppa.desktop +%{tde_datadir}/applnk/System/ScreenSavers/lament.desktop +%{tde_datadir}/applnk/System/ScreenSavers/loop.desktop +%{tde_datadir}/applnk/System/ScreenSavers/maze.desktop +%{tde_datadir}/applnk/System/ScreenSavers/memscroller.desktop +%{tde_datadir}/applnk/System/ScreenSavers/menger.desktop +%{tde_datadir}/applnk/System/ScreenSavers/moire.desktop +%{tde_datadir}/applnk/System/ScreenSavers/moire2.desktop +%{tde_datadir}/applnk/System/ScreenSavers/mountain.desktop +%{tde_datadir}/applnk/System/ScreenSavers/munch.desktop +%{tde_datadir}/applnk/System/ScreenSavers/nerverot.desktop +%{tde_datadir}/applnk/System/ScreenSavers/noof.desktop +%{tde_datadir}/applnk/System/ScreenSavers/noseguy.desktop +%{tde_datadir}/applnk/System/ScreenSavers/pacman.desktop +%{tde_datadir}/applnk/System/ScreenSavers/pedal.desktop +%{tde_datadir}/applnk/System/ScreenSavers/penetrate.desktop +%{tde_datadir}/applnk/System/ScreenSavers/petri.desktop +%{tde_datadir}/applnk/System/ScreenSavers/phosphor.desktop +%{tde_datadir}/applnk/System/ScreenSavers/piecewise.desktop +%{tde_datadir}/applnk/System/ScreenSavers/pinion.desktop +%{tde_datadir}/applnk/System/ScreenSavers/polyominoes.desktop +%{tde_datadir}/applnk/System/ScreenSavers/pong.desktop +%{tde_datadir}/applnk/System/ScreenSavers/providence.desktop +%{tde_datadir}/applnk/System/ScreenSavers/pyro.desktop +%{tde_datadir}/applnk/System/ScreenSavers/qix.desktop +%{tde_datadir}/applnk/System/ScreenSavers/rd-bomb.desktop +%{tde_datadir}/applnk/System/ScreenSavers/rocks.desktop +%{tde_datadir}/applnk/System/ScreenSavers/rorschach.desktop +%{tde_datadir}/applnk/System/ScreenSavers/rotzoomer.desktop +%{tde_datadir}/applnk/System/ScreenSavers/rubik.desktop +%{tde_datadir}/applnk/System/ScreenSavers/sballs.desktop +%{tde_datadir}/applnk/System/ScreenSavers/sierpinski.desktop +%{tde_datadir}/applnk/System/ScreenSavers/slip.desktop +%{tde_datadir}/applnk/System/ScreenSavers/speedmine.desktop +%{tde_datadir}/applnk/System/ScreenSavers/spotlight.desktop +%{tde_datadir}/applnk/System/ScreenSavers/sproingies.desktop +%{tde_datadir}/applnk/System/ScreenSavers/squiral.desktop +%{tde_datadir}/applnk/System/ScreenSavers/stairs.desktop +%{tde_datadir}/applnk/System/ScreenSavers/starfish.desktop +%{tde_datadir}/applnk/System/ScreenSavers/starwars.desktop +%{tde_datadir}/applnk/System/ScreenSavers/strange.desktop +%{tde_datadir}/applnk/System/ScreenSavers/substrate.desktop +%{tde_datadir}/applnk/System/ScreenSavers/tangram.desktop +%{tde_datadir}/applnk/System/ScreenSavers/thornbird.desktop +%{tde_datadir}/applnk/System/ScreenSavers/timetunnel.desktop +%{tde_datadir}/applnk/System/ScreenSavers/triangle.desktop +%{tde_datadir}/applnk/System/ScreenSavers/truchet.desktop +%{tde_datadir}/applnk/System/ScreenSavers/twang.desktop +%{tde_datadir}/applnk/System/ScreenSavers/vermiculate.desktop +%{tde_datadir}/applnk/System/ScreenSavers/wander.desktop +%{tde_datadir}/applnk/System/ScreenSavers/whirlwindwarp.desktop +%{tde_datadir}/applnk/System/ScreenSavers/wormhole.desktop +%{tde_datadir}/applnk/System/ScreenSavers/xanalogtv.desktop +%{tde_datadir}/applnk/System/ScreenSavers/xflame.desktop +%{tde_datadir}/applnk/System/ScreenSavers/xrayswarm.desktop +%{tde_datadir}/applnk/System/ScreenSavers/xspirograph.desktop +%{tde_datadir}/applnk/System/ScreenSavers/zoom.desktop + +# These screensavers do not exist on OpenSuse 12.2 +%if 0%{?suse_version} == 0 +%{tde_datadir}/applnk/System/ScreenSavers/vidwhacker.desktop +%endif + +# These screensavers do not exist on Mageia 2 and Mandriva 2011 +%if 0%{?mgaversion} == 0 && 0%{?mdkversion} == 0 +%{tde_datadir}/applnk/System/ScreenSavers/xjack.desktop +%{tde_datadir}/applnk/System/ScreenSavers/xmatrix.desktop +%endif + +%endif + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n kdeartwork-3.5.13.1 +%patch1 -p0 + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" +export LD_LIBRARY_PATH="%{tde_libdir}" + +# Specific path for RHEL4 +if [ -d /usr/X11R6 ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + %{!?with_xscreensaver:-DWITH_XSCREENSAVER=OFF} \ + %{!?with_libart}:-DWITH_LIBART=OFF} \ + -DWITH_OPENGL=ON \ + -DWITH_ARTS=ON \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install -C build DESTDIR=%{buildroot} + +# webcollage -root -directory /usr/share/backgrounds/images #227683 + +# File lists +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi +done +fi + +# Duplicate with trinity-kbabel (from tdesdk) +%__rm -f %{?buildroot}%{tde_datadir}/icons/locolor/16x16/apps/kbabel.png +%__rm -f %{?buildroot}%{tde_datadir}/icons/locolor/32x32/apps/kbabel.png + +%clean +%__rm -rf %{buildroot} + + +%changelog +* Sun Sep 30 2012 Francois Andriot - 3.5.13.1-1 +- Initial build for TDE 3.5.13.1 diff --git a/redhat/tdeartwork/kdeartwork-3.5.13.spec b/redhat/tdeartwork/kdeartwork-3.5.13.spec new file mode 100644 index 000000000..10ae89f38 --- /dev/null +++ b/redhat/tdeartwork/kdeartwork-3.5.13.spec @@ -0,0 +1,666 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +# kdeartwork specific settings +# On RHEL 6, libart is too old ! +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} +%define with_libart 1 +%endif + + +Name: trinity-tdeartwork +Summary: Additional artwork (themes, sound themes, ...) for TDE +Version: 3.5.13 +Release: 3%{?dist}%{?_variant} + +License: GPLv2 +Group: User Interface/Desktops +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Vendor: Trinity Project +Packager: Francois Andriot +Url: http://www.trinitydesktop.org/ + +Source: kdeartwork-%{version}.tar.gz + +# FIXME: this should go in kde-settings -- Rex +Source1: webcollagerc + +BuildRequires: cmake >= 2.8 +BuildRequires: trinity-tdebase-devel >= 3.5.13 + +BuildRequires: gettext +BuildRequires: esound-devel + +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_xscreensaver 1 +BuildRequires: nas-devel +BuildRequires: xscreensaver + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}jack-devel +BuildRequires: xscreensaver-base +BuildRequires: xscreensaver-extrusion +BuildRequires: xscreensaver-gl +%else +BuildRequires: jack-audio-connection-kit-devel +%endif +%endif + +%if "%{?with_libart}" == "1" +BuildRequires: libart_lgpl-devel +%endif + + +Obsoletes: trinity-kdeartwork < %{version}-%{release} +Provides: trinity-kdeartwork = %{version}-%{release} + +# Metapackage +Requires: %{name}-emoticons = %{version}-%{release} +Requires: %{name}-misc = %{version}-%{release} +Requires: %{name}-style = %{version}-%{release} +Requires: %{name}-theme-icon = %{version}-%{release} +Requires: %{name}-theme-window = %{version}-%{release} +Requires: trinity-kdewallpapers = %{version}-%{release} +Requires: trinity-kscreensaver = %{version}-%{release} + +%if 0%{?with_xscreensaver} +Requires: trinity-kscreensaver-xsavers = %{version}-%{release} +Requires: trinity-kscreensaver-xsavers-webcollage = %{version}-%{release} +Requires: trinity-kscreensaver-xsavers-extra = %{version}-%{release} +%endif + + +%description +TDE (the Trinity Desktop Environment) is a powerful Open Source graphical +desktop environment for Unix workstations. It combines ease of use, +contemporary functionality, and outstanding graphical design with the +technological superiority of the Unix operating system. + +This metapackage includes a collection of artistic extras (themes, widget +styles, screen savers, wallpaper, icons, emoticons and so on) provided +with the official release of KDE. + +Homepage: http://artist.kde.org + +%files + +########## + +%package emoticons +Summary: emoticon collections for tDE chat clients +Group: User Interface/Desktops + +%description emoticons +This package contains several collections of emoticons used by official +and unofficial KDE chat clients, such as Kopete and Konversation. + +This package is part of KDE, and a component of the KDE artwork module. + +%files emoticons +%defattr(-,root,root,-) +%{tde_datadir}/emoticons/ + +########## + +%package misc +Summary: various multimedia goodies released with TDE +Group: User Interface/Desktops + +%description misc +This package contains miscellaneous multimedia goodies for KDE. +Included are additional TDE sounds and kworldclock themes. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files misc +%defattr(-,root,root,-) +%{tde_datadir}/apps/kworldclock/ +%{tde_datadir}/sounds/KDE_Logout_new.wav +%{tde_datadir}/sounds/KDE_Startup_new.wav + +########## + +%package style +Summary: widget styles released with Trinity +Group: User Interface/Desktops + +%description style +This package contains additional widget styles for Trinity. Widget styles +can be used to customise the look and feel of interface components such +as buttons, scrollbars and so on. They can be applied using the style +manager in the TDE Control Centre. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files style +%defattr(-,root,root,-) +%{tde_tdelibdir}/plugins/styles/ +%{tde_tdelibdir}/kstyle_phase_config.la +%{tde_tdelibdir}/kstyle_phase_config.so +%{tde_datadir}/apps/kstyle/ + +########## + +%package theme-icon +Summary: icon themes released with Trinity +Group: User Interface/Desktops + +Obsoletes: trinity-kdeartwork-icons < %{version}-%{release} +Provides: trinity-kdeartwork-icons = %{version}-%{release} + +%description theme-icon +This package contains additional icon themes for Trinity. Icon themes can be +used to customise the appearance of standard icons throughout KDE. They +can be applied using the icon manager in the Trinity Control Centre. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files theme-icon +%defattr(-,root,root,-) +%{tde_datadir}/icons/*/* + +%post theme-icon +for i in locolor ikons kdeclassic kids slick ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done + +%postun theme-icon +for i in locolor ikons kdeclassic kids slick ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done + +########## + +%package theme-window +Summary: window decoration themes released with Trinity +Group: User Interface/Desktops + +%description theme-window +This package contains additional window decoration themes for Trinity. Window +decoration themes can be used to customise the look of window borders and +buttons, and can be applied using the window decoration manager in the Trinity +Control Center. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files theme-window +%defattr(-,root,root,-) +%{tde_tdelibdir}/[kt]win* +%{tde_datadir}/apps/[kt]win/ + +########## + +%package -n trinity-kdewallpapers +Summary: wallpapers released with Trinity +Group: User Interface/Desktops + +%description -n trinity-kdewallpapers +This package contains additional wallpapers for Trinity. Wallpapers can be +applied using the background manager in the TDE Control Centre. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files -n trinity-kdewallpapers +%defattr(-,root,root,-) +%{tde_datadir}/wallpapers/ + +########## + +%package -n trinity-kscreensaver +Summary: additional screen savers released with Trinity +Group: User Interface/Desktops + +%description -n trinity-kscreensaver +This package contains the screen savers for Trinity. They can be tested and +selected within the Appearance and Themes section of the Trinity Control +Center. + +The hooks for the standard xscreensavers are no longer part of this +package. To select and/or configure the standard xscreensavers through +the TDE Control Center, install the separate package kscreensaver-xsavers. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files -n trinity-kscreensaver +%defattr(-,root,root,-) +%{tde_bindir}/kslideshow.kss +%{tde_bindir}/kpolygon.kss +%{tde_bindir}/krotation.kss +%{tde_bindir}/ksolarwinds.kss +%{tde_bindir}/klorenz.kss +%{tde_bindir}/kvm.kss +%{tde_bindir}/kflux.kss +%{tde_bindir}/kscience.kss +%{tde_bindir}/kbanner.kss +%{tde_bindir}/kfiresaver.kss +%{tde_bindir}/keuphoria.kss +%{tde_bindir}/kfountain.kss +%{tde_bindir}/kgravity.kss +%{tde_bindir}/kpartsaver.kss +%{tde_bindir}/kpendulum.kss +%{tde_bindir}/kblob.kss +%{tde_bindir}/klines.kss +%{tde_bindir}/kwave.kss +%{tde_datadir}/applnk/System/ScreenSavers/KBanner.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KBlob.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KEuphoria.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KFiresaver.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KFlux.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KFountain.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KGravity.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KLines-saver.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KLorenz.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KPendulum.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KPolygon.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KRotation.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KScience.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KSlideshow.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KSolarWinds.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KVm.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KWave.desktop +%{tde_datadir}/applnk/System/ScreenSavers/kpartsaver.desktop +%{tde_datadir}/apps/kfiresaver/ +%{tde_datadir}/apps/kscreensaver/ + +# RHEL 5 and 6 do not build theses files - not sure why ... +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%{tde_bindir}/kspace.kss +%{tde_bindir}/kclock.kss +%{tde_bindir}/kswarm.kss +%{tde_datadir}/applnk/System/ScreenSavers/KClock.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KSpace.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KSwarm.desktop +%endif + +########## + +%if 0%{?with_xscreensaver} + +%package -n trinity-kscreensaver-xsavers +Summary: Trinity hooks for standard xscreensavers +Group: User Interface/Desktops +Requires: trinity-tdebase-bin >= 3.5.13 +Requires: xscreensaver + +%description -n trinity-kscreensaver-xsavers +This package allows a smooth integration of the standard xscreensavers +into Trinity. With this package installed you can select and/or configure +the standard xscreensavers through the Appearances and Themes section of +the Trinity Control Centre. + +Note that this package does not actually contain any screensavers itself. +For the additional screensavers shipped with Trinity, see the separate package +kscreensaver-trinity. This package does depend on the xscreensaver package, and +recommend the xscreensaver-gl package, as well as contain the necessary +files to integrate these packages into Trinity. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files -n trinity-kscreensaver-xsavers +%defattr(-,root,root,-) +#%{tde_bindir}/xscreensaver-getimage-file +#%{tde_bindir}/xscreensaver-getimage +%{tde_bindir}/kxsconfig +%{tde_bindir}/kxsrun +%{tde_datadir}/applnk/System/ScreenSavers/antinspect.desktop +%{tde_datadir}/applnk/System/ScreenSavers/antspotlight.desktop +%{tde_datadir}/applnk/System/ScreenSavers/atunnel.desktop +%{tde_datadir}/applnk/System/ScreenSavers/blinkbox.desktop +%{tde_datadir}/applnk/System/ScreenSavers/braid.desktop +%{tde_datadir}/applnk/System/ScreenSavers/bubble3d.desktop +%{tde_datadir}/applnk/System/ScreenSavers/circuit.desktop +%{tde_datadir}/applnk/System/ScreenSavers/cubestorm.desktop +%{tde_datadir}/applnk/System/ScreenSavers/deco.desktop +%{tde_datadir}/applnk/System/ScreenSavers/distort.desktop +%{tde_datadir}/applnk/System/ScreenSavers/endgame.desktop +%{tde_datadir}/applnk/System/ScreenSavers/engine.desktop +%{tde_datadir}/applnk/System/ScreenSavers/fiberlamp.desktop +%{tde_datadir}/applnk/System/ScreenSavers/flipflop.desktop +%{tde_datadir}/applnk/System/ScreenSavers/flipscreen3d.desktop +%{tde_datadir}/applnk/System/ScreenSavers/flyingtoasters.desktop +%{tde_datadir}/applnk/System/ScreenSavers/fuzzyflakes.desktop +%{tde_datadir}/applnk/System/ScreenSavers/galaxy.desktop +%{tde_datadir}/applnk/System/ScreenSavers/gears.desktop +%{tde_datadir}/applnk/System/ScreenSavers/gflux.desktop +%{tde_datadir}/applnk/System/ScreenSavers/glblur.desktop +%{tde_datadir}/applnk/System/ScreenSavers/gleidescope.desktop +%{tde_datadir}/applnk/System/ScreenSavers/glknots.desktop +%{tde_datadir}/applnk/System/ScreenSavers/glslideshow.desktop +%{tde_datadir}/applnk/System/ScreenSavers/glsnake.desktop +%{tde_datadir}/applnk/System/ScreenSavers/gltext.desktop +%{tde_datadir}/applnk/System/ScreenSavers/hypertorus.desktop +%{tde_datadir}/applnk/System/ScreenSavers/jigglypuff.desktop +%{tde_datadir}/applnk/System/ScreenSavers/lavalite.desktop +%{tde_datadir}/applnk/System/ScreenSavers/metaballs.desktop +%{tde_datadir}/applnk/System/ScreenSavers/mirrorblob.desktop +%{tde_datadir}/applnk/System/ScreenSavers/moebius.desktop +%{tde_datadir}/applnk/System/ScreenSavers/molecule.desktop +%{tde_datadir}/applnk/System/ScreenSavers/morph3d.desktop +%{tde_datadir}/applnk/System/ScreenSavers/penrose.desktop +%{tde_datadir}/applnk/System/ScreenSavers/pipes.desktop +%{tde_datadir}/applnk/System/ScreenSavers/polyhedra.desktop +%{tde_datadir}/applnk/System/ScreenSavers/polytopes.desktop +%{tde_datadir}/applnk/System/ScreenSavers/popsquares.desktop +%{tde_datadir}/applnk/System/ScreenSavers/pulsar.desktop +%{tde_datadir}/applnk/System/ScreenSavers/queens.desktop +%{tde_datadir}/applnk/System/ScreenSavers/ripples.desktop +%{tde_datadir}/applnk/System/ScreenSavers/shadebobs.desktop +%{tde_datadir}/applnk/System/ScreenSavers/sierpinski3d.desktop +%{tde_datadir}/applnk/System/ScreenSavers/slidescreen.desktop +%{tde_datadir}/applnk/System/ScreenSavers/sonar.desktop +%{tde_datadir}/applnk/System/ScreenSavers/spheremonics.desktop +%{tde_datadir}/applnk/System/ScreenSavers/stonerview.desktop +%{tde_datadir}/applnk/System/ScreenSavers/superquadrics.desktop +%{tde_datadir}/applnk/System/ScreenSavers/swirl.desktop +%{tde_datadir}/applnk/System/ScreenSavers/xlyap.desktop +%{tde_datadir}/applnk/System/ScreenSavers/m6502.desktop +%{tde_datadir}/applnk/System/ScreenSavers/glschool.desktop +%{tde_datadir}/applnk/System/ScreenSavers/moebiusgears.desktop +%{tde_datadir}/applnk/System/ScreenSavers/glcells.desktop +%{tde_datadir}/applnk/System/ScreenSavers/abstractile.desktop +%{tde_datadir}/applnk/System/ScreenSavers/lockward.desktop +%{tde_datadir}/applnk/System/ScreenSavers/cwaves.desktop +%{tde_datadir}/applnk/System/ScreenSavers/topblock.desktop +%{tde_datadir}/applnk/System/ScreenSavers/voronoi.desktop +%{tde_datadir}/applnk/System/ScreenSavers/cubicgrid.desktop +%{tde_datadir}/applnk/System/ScreenSavers/hypnowheel.desktop +%{tde_datadir}/applnk/System/ScreenSavers/lcdscrub.desktop +%{tde_datadir}/applnk/System/ScreenSavers/photopile.desktop +%{tde_datadir}/applnk/System/ScreenSavers/skytentacles.desktop + +# These screensavers do not exist on Mageia 2 +%if 0%{?mgaversion} == 0 && 0%{?mdkversion} == 0 +%{tde_datadir}/applnk/System/ScreenSavers/glmatrix.desktop +%endif + +########## + +%package -n trinity-kscreensaver-xsavers-webcollage +Summary: webcollage screensaver Trinity hook +Group: User Interface/Desktops +Requires: trinity-kscreensaver-xsavers-extra = %{version}-%{release} +Requires: netpbm + +%description -n trinity-kscreensaver-xsavers-webcollage +This package give access to the webcollage screensaver through the Trinity +screensaver configuration. + +This screensaver downloads random pictures from the internet and creates +a collage as screensaver. + +IMPORTANT NOTICE: The internet contains all kinds of pictures, some of which +you might find inappropriate and offensive. +You are specially discouraged to install this package if you are using +your computer in a working environment or in an environment with children. + +If you still want to install this package, please read the file +/usr/share/doc/kscreensaver-xsavers-webcollage/README.Debian after the +installation. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files -n trinity-kscreensaver-xsavers-webcollage +%defattr(-,root,root,-) +%{tde_datadir}/applnk/System/ScreenSavers/webcollage.desktop + +########## + +%package -n trinity-kscreensaver-xsavers-extra +Summary: Trinity hooks for standard xscreensavers +Group: User Interface/Desktops +Requires: trinity-kscreensaver-xsavers = %{version}-%{release} + +%description -n trinity-kscreensaver-xsavers-extra +This package allows a smooth integration of the universe xscreensavers +into Trinity. With this package installed you can select and/or configure +the universe xscreensavers through the Appearances and Themes section of +the Trinity Control Centre. + +Note that this package does not actually contain any screensavers itself. +For the additional screensavers shipped with TDE, see the separate package +kscreensaver. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files -n trinity-kscreensaver-xsavers-extra +%defattr(-,root,root,-) +%{tde_datadir}/applnk/System/ScreenSavers/anemone.desktop +%{tde_datadir}/applnk/System/ScreenSavers/anemotaxis.desktop +%{tde_datadir}/applnk/System/ScreenSavers/antmaze.desktop +%{tde_datadir}/applnk/System/ScreenSavers/apollonian.desktop +%{tde_datadir}/applnk/System/ScreenSavers/apple2.desktop +%{tde_datadir}/applnk/System/ScreenSavers/atlantis.desktop +%{tde_datadir}/applnk/System/ScreenSavers/attraction.desktop +%{tde_datadir}/applnk/System/ScreenSavers/barcode.desktop +%{tde_datadir}/applnk/System/ScreenSavers/blaster.desktop +%{tde_datadir}/applnk/System/ScreenSavers/blitspin.desktop +%{tde_datadir}/applnk/System/ScreenSavers/blocktube.desktop +%{tde_datadir}/applnk/System/ScreenSavers/boing.desktop +%{tde_datadir}/applnk/System/ScreenSavers/bouboule.desktop +%{tde_datadir}/applnk/System/ScreenSavers/bouncingcow.desktop +%{tde_datadir}/applnk/System/ScreenSavers/boxed.desktop +%{tde_datadir}/applnk/System/ScreenSavers/boxfit.desktop +%{tde_datadir}/applnk/System/ScreenSavers/bsod.desktop +%{tde_datadir}/applnk/System/ScreenSavers/bumps.desktop +%{tde_datadir}/applnk/System/ScreenSavers/cage.desktop +%{tde_datadir}/applnk/System/ScreenSavers/carousel.desktop +%{tde_datadir}/applnk/System/ScreenSavers/ccurve.desktop +%{tde_datadir}/applnk/System/ScreenSavers/celtic.desktop +%{tde_datadir}/applnk/System/ScreenSavers/cloudlife.desktop +%{tde_datadir}/applnk/System/ScreenSavers/compass.desktop +%{tde_datadir}/applnk/System/ScreenSavers/coral.desktop +%{tde_datadir}/applnk/System/ScreenSavers/crackberg.desktop +%{tde_datadir}/applnk/System/ScreenSavers/crystal.desktop +%{tde_datadir}/applnk/System/ScreenSavers/cube21.desktop +%{tde_datadir}/applnk/System/ScreenSavers/cubenetic.desktop +%{tde_datadir}/applnk/System/ScreenSavers/cynosure.desktop +%{tde_datadir}/applnk/System/ScreenSavers/dangerball.desktop +%{tde_datadir}/applnk/System/ScreenSavers/decayscreen.desktop +%{tde_datadir}/applnk/System/ScreenSavers/deluxe.desktop +%{tde_datadir}/applnk/System/ScreenSavers/demon.desktop +%{tde_datadir}/applnk/System/ScreenSavers/discrete.desktop +%{tde_datadir}/applnk/System/ScreenSavers/drift.desktop +%{tde_datadir}/applnk/System/ScreenSavers/epicycle.desktop +%{tde_datadir}/applnk/System/ScreenSavers/eruption.desktop +%{tde_datadir}/applnk/System/ScreenSavers/euler2d.desktop +%{tde_datadir}/applnk/System/ScreenSavers/extrusion.desktop +%{tde_datadir}/applnk/System/ScreenSavers/fadeplot.desktop +%{tde_datadir}/applnk/System/ScreenSavers/fireworkx.desktop +%{tde_datadir}/applnk/System/ScreenSavers/flame.desktop +%{tde_datadir}/applnk/System/ScreenSavers/fliptext.desktop +%{tde_datadir}/applnk/System/ScreenSavers/flow.desktop +%{tde_datadir}/applnk/System/ScreenSavers/fluidballs.desktop +%{tde_datadir}/applnk/System/ScreenSavers/flurry.desktop +%{tde_datadir}/applnk/System/ScreenSavers/fontglide.desktop +%{tde_datadir}/applnk/System/ScreenSavers/glhanoi.desktop +%{tde_datadir}/applnk/System/ScreenSavers/glplanet.desktop +%{tde_datadir}/applnk/System/ScreenSavers/goop.desktop +%{tde_datadir}/applnk/System/ScreenSavers/grav.desktop +%{tde_datadir}/applnk/System/ScreenSavers/greynetic.desktop +%{tde_datadir}/applnk/System/ScreenSavers/halftone.desktop +%{tde_datadir}/applnk/System/ScreenSavers/halo.desktop +%{tde_datadir}/applnk/System/ScreenSavers/helix.desktop +%{tde_datadir}/applnk/System/ScreenSavers/hopalong.desktop +%{tde_datadir}/applnk/System/ScreenSavers/ifs.desktop +%{tde_datadir}/applnk/System/ScreenSavers/imsmap.desktop +%{tde_datadir}/applnk/System/ScreenSavers/interaggregate.desktop +%{tde_datadir}/applnk/System/ScreenSavers/interference.desktop +%{tde_datadir}/applnk/System/ScreenSavers/intermomentary.desktop +%{tde_datadir}/applnk/System/ScreenSavers/jigsaw.desktop +%{tde_datadir}/applnk/System/ScreenSavers/juggler3d.desktop +%{tde_datadir}/applnk/System/ScreenSavers/julia.desktop +%{tde_datadir}/applnk/System/ScreenSavers/kaleidescope.desktop +%{tde_datadir}/applnk/System/ScreenSavers/klein.desktop +%{tde_datadir}/applnk/System/ScreenSavers/kumppa.desktop +%{tde_datadir}/applnk/System/ScreenSavers/lament.desktop +%{tde_datadir}/applnk/System/ScreenSavers/loop.desktop +%{tde_datadir}/applnk/System/ScreenSavers/maze.desktop +%{tde_datadir}/applnk/System/ScreenSavers/memscroller.desktop +%{tde_datadir}/applnk/System/ScreenSavers/menger.desktop +%{tde_datadir}/applnk/System/ScreenSavers/moire.desktop +%{tde_datadir}/applnk/System/ScreenSavers/moire2.desktop +%{tde_datadir}/applnk/System/ScreenSavers/mountain.desktop +%{tde_datadir}/applnk/System/ScreenSavers/munch.desktop +%{tde_datadir}/applnk/System/ScreenSavers/nerverot.desktop +%{tde_datadir}/applnk/System/ScreenSavers/noof.desktop +%{tde_datadir}/applnk/System/ScreenSavers/noseguy.desktop +%{tde_datadir}/applnk/System/ScreenSavers/pacman.desktop +%{tde_datadir}/applnk/System/ScreenSavers/pedal.desktop +%{tde_datadir}/applnk/System/ScreenSavers/penetrate.desktop +%{tde_datadir}/applnk/System/ScreenSavers/petri.desktop +%{tde_datadir}/applnk/System/ScreenSavers/phosphor.desktop +%{tde_datadir}/applnk/System/ScreenSavers/piecewise.desktop +%{tde_datadir}/applnk/System/ScreenSavers/pinion.desktop +%{tde_datadir}/applnk/System/ScreenSavers/polyominoes.desktop +%{tde_datadir}/applnk/System/ScreenSavers/pong.desktop +%{tde_datadir}/applnk/System/ScreenSavers/providence.desktop +%{tde_datadir}/applnk/System/ScreenSavers/pyro.desktop +%{tde_datadir}/applnk/System/ScreenSavers/qix.desktop +%{tde_datadir}/applnk/System/ScreenSavers/rd-bomb.desktop +%{tde_datadir}/applnk/System/ScreenSavers/rocks.desktop +%{tde_datadir}/applnk/System/ScreenSavers/rorschach.desktop +%{tde_datadir}/applnk/System/ScreenSavers/rotzoomer.desktop +%{tde_datadir}/applnk/System/ScreenSavers/rubik.desktop +%{tde_datadir}/applnk/System/ScreenSavers/sballs.desktop +%{tde_datadir}/applnk/System/ScreenSavers/sierpinski.desktop +%{tde_datadir}/applnk/System/ScreenSavers/slip.desktop +%{tde_datadir}/applnk/System/ScreenSavers/speedmine.desktop +%{tde_datadir}/applnk/System/ScreenSavers/spotlight.desktop +%{tde_datadir}/applnk/System/ScreenSavers/sproingies.desktop +%{tde_datadir}/applnk/System/ScreenSavers/squiral.desktop +%{tde_datadir}/applnk/System/ScreenSavers/stairs.desktop +%{tde_datadir}/applnk/System/ScreenSavers/starfish.desktop +%{tde_datadir}/applnk/System/ScreenSavers/starwars.desktop +%{tde_datadir}/applnk/System/ScreenSavers/strange.desktop +%{tde_datadir}/applnk/System/ScreenSavers/substrate.desktop +%{tde_datadir}/applnk/System/ScreenSavers/tangram.desktop +%{tde_datadir}/applnk/System/ScreenSavers/thornbird.desktop +%{tde_datadir}/applnk/System/ScreenSavers/timetunnel.desktop +%{tde_datadir}/applnk/System/ScreenSavers/triangle.desktop +%{tde_datadir}/applnk/System/ScreenSavers/truchet.desktop +%{tde_datadir}/applnk/System/ScreenSavers/twang.desktop +%{tde_datadir}/applnk/System/ScreenSavers/vermiculate.desktop +%{tde_datadir}/applnk/System/ScreenSavers/vidwhacker.desktop +%{tde_datadir}/applnk/System/ScreenSavers/wander.desktop +%{tde_datadir}/applnk/System/ScreenSavers/whirlwindwarp.desktop +%{tde_datadir}/applnk/System/ScreenSavers/wormhole.desktop +%{tde_datadir}/applnk/System/ScreenSavers/xanalogtv.desktop +%{tde_datadir}/applnk/System/ScreenSavers/xflame.desktop +%{tde_datadir}/applnk/System/ScreenSavers/xrayswarm.desktop +%{tde_datadir}/applnk/System/ScreenSavers/xspirograph.desktop +%{tde_datadir}/applnk/System/ScreenSavers/zoom.desktop + +# These screensavers do not exist on Mageia 2 and Mandriva 2011 +%if 0%{?mgaversion} == 0 && 0%{?mdkversion} == 0 +%{tde_datadir}/applnk/System/ScreenSavers/xjack.desktop +%{tde_datadir}/applnk/System/ScreenSavers/xmatrix.desktop +%endif + +%endif + +########## + + +%prep +%setup -q -n kdeartwork + + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" +export LD_LIBRARY_PATH="%{tde_libdir}" + +%if 0%{?rhel} || 0%{?fedora} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ +%if 0%{?with_xscreensaver} + -DWITH_XSCREENSAVER=ON \ +%else + -DWITH_XSCREENSAVER=OFF \ +%endif +%if "%{?with_libart}" == "1" + -DWITH_LIBART=ON \ +%else + -DWITH_LIBART=OFF \ +%endif + -DWITH_OPENGL=ON \ + -DWITH_ARTS=ON \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install -C build DESTDIR=%{buildroot} + +# webcollage -root -directory /usr/share/backgrounds/images #227683 + +# File lists +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi +done +fi + + + +%clean +%__rm -rf %{buildroot} + + +%changelog +* Tue Jul 30 2012 Francois Andriot - 3.5.13-3 +- Split into several packages +- Add support for Mageia 2 + +* Fri Nov 04 2011 Francois Andriot - 3.5.13-2 +- Updates BuildRequires + +* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 +- Initial release for RHEL 6, RHEL 5 and Fedora 15 + +* Sun Sep 11 2011 Francois Andriot - 3.5.13-0 +- Import to GIT diff --git a/redhat/tdeartwork/tdeartwork-3.5.13.2.spec b/redhat/tdeartwork/tdeartwork-3.5.13.2.spec new file mode 100644 index 000000000..62547450d --- /dev/null +++ b/redhat/tdeartwork/tdeartwork-3.5.13.2.spec @@ -0,0 +1,710 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-tdeartwork +Summary: Additional artwork (themes, sound themes, ...) for TDE +Version: 3.5.13.2 +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} + +License: GPLv2 +Group: User Interface/Desktops +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Vendor: Trinity Project +Packager: Francois Andriot +Url: http://www.trinitydesktop.org/ + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz + + +BuildRequires: cmake >= 2.8 +BuildRequires: trinity-tdebase-devel >= %{version} + +BuildRequires: gettext +BuildRequires: esound-devel + +# kdeartwork specific settings + +# OpenGL support +%if 0%{?rhel} == 4 +BuildRequires: xorg-x11-Mesa-libGLU +%endif + +# NAS support +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: nas-devel +%endif + +# LIBART support +# On RHEL, libart is too old ! +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_libart 1 +BuildRequires: libart_lgpl-devel +%endif + +# XSCREENSAVER support +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version} +%define with_xscreensaver 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel +BuildRequires: xscreensaver +BuildRequires: xscreensaver-base +BuildRequires: xscreensaver-extrusion +BuildRequires: xscreensaver-gl +%endif +%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} >= 1220 +BuildRequires: libXScrnSaver-devel +%endif + +%if 0%{?fedora} || 0%{?rhel} >= 6 +# Provides '/usr/share/xscreensaver/config/deco.xml' +BuildRequires: xscreensaver +BuildRequires: xscreensaver-extras +%endif +%if 0%{?suse_version} +BuildRequires: xscreensaver +BuildRequires: xscreensaver-data +BuildRequires: xscreensaver-data-extra +%endif + +# Opensuse does not provide 'webcollage' screensaver +%if 0%{?suse_version} == 0 +%define with_webcollage 1 +%endif + +%endif + +# JACK support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}jack-devel +%endif +%if 0%{?fedora} || 0%{?rhel} >= 5 +BuildRequires: jack-audio-connection-kit-devel +%endif + + +Obsoletes: trinity-kdeartwork < %{version}-%{release} +Provides: trinity-kdeartwork = %{version}-%{release} + +# Metapackage +Requires: %{name}-emoticons = %{version}-%{release} +Requires: %{name}-misc = %{version}-%{release} +Requires: %{name}-style = %{version}-%{release} +Requires: %{name}-theme-icon = %{version}-%{release} +Requires: %{name}-theme-window = %{version}-%{release} +Requires: trinity-tdewallpapers = %{version}-%{release} +Requires: trinity-kscreensaver = %{version}-%{release} + +%if 0%{?with_xscreensaver} +Requires: trinity-kscreensaver-xsavers = %{version}-%{release} +Requires: trinity-kscreensaver-xsavers-extra = %{version}-%{release} +%if 0%{?with_webcollage} +Requires: trinity-kscreensaver-xsavers-webcollage = %{version}-%{release} +%endif +%endif + + +%description +TDE (the Trinity Desktop Environment) is a powerful Open Source graphical +desktop environment for Unix workstations. It combines ease of use, +contemporary functionality, and outstanding graphical design with the +technological superiority of the Unix operating system. + +This metapackage includes a collection of artistic extras (themes, widget +styles, screen savers, wallpaper, icons, emoticons and so on) provided +with the official release of KDE. + +Homepage: http://artist.kde.org + +%files + +########## + +%package emoticons +Summary: emoticon collections for tDE chat clients +Group: User Interface/Desktops + +%description emoticons +This package contains several collections of emoticons used by official +and unofficial KDE chat clients, such as Kopete and Konversation. + +This package is part of KDE, and a component of the KDE artwork module. + +%files emoticons +%defattr(-,root,root,-) +%{tde_datadir}/emoticons/ + +########## + +%package misc +Summary: various multimedia goodies released with TDE +Group: User Interface/Desktops + +%description misc +This package contains miscellaneous multimedia goodies for KDE. +Included are additional TDE sounds and kworldclock themes. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files misc +%defattr(-,root,root,-) +%{tde_datadir}/apps/kworldclock/ +%{tde_datadir}/sounds/KDE_Logout_new.wav +%{tde_datadir}/sounds/KDE_Startup_new.wav + +########## + +%package style +Summary: widget styles released with Trinity +Group: User Interface/Desktops + +%description style +This package contains additional widget styles for Trinity. Widget styles +can be used to customise the look and feel of interface components such +as buttons, scrollbars and so on. They can be applied using the style +manager in the TDE Control Centre. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files style +%defattr(-,root,root,-) +%{tde_tdelibdir}/plugins/styles/ +%{tde_tdelibdir}/kstyle_phase_config.la +%{tde_tdelibdir}/kstyle_phase_config.so +%{tde_datadir}/apps/kstyle/ + +########## + +%package theme-icon +Summary: icon themes released with Trinity +Group: User Interface/Desktops + +Obsoletes: trinity-kdeartwork-icons < %{version}-%{release} +Provides: trinity-kdeartwork-icons = %{version}-%{release} + +%description theme-icon +This package contains additional icon themes for Trinity. Icon themes can be +used to customise the appearance of standard icons throughout KDE. They +can be applied using the icon manager in the Trinity Control Centre. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files theme-icon +%defattr(-,root,root,-) +%{tde_datadir}/icons/*/* + +%post theme-icon +for i in locolor ikons kdeclassic kids slick ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done + +%postun theme-icon +for i in locolor ikons kdeclassic kids slick ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done + +########## + +%package theme-window +Summary: window decoration themes released with Trinity +Group: User Interface/Desktops + +%description theme-window +This package contains additional window decoration themes for Trinity. Window +decoration themes can be used to customise the look of window borders and +buttons, and can be applied using the window decoration manager in the Trinity +Control Center. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files theme-window +%defattr(-,root,root,-) +%{tde_tdelibdir}/[kt]win* +%{tde_datadir}/apps/[kt]win/ + +########## + +%package -n trinity-tdewallpapers +Summary: wallpapers released with Trinity +Group: User Interface/Desktops +Obsoletes: trinity-kdewallpapers < %{version}-%{release} +Provides: trinity-kdewallpapers = %{version}-%{release} + +%description -n trinity-tdewallpapers +This package contains additional wallpapers for Trinity. Wallpapers can be +applied using the background manager in the TDE Control Centre. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files -n trinity-tdewallpapers +%defattr(-,root,root,-) +%{tde_datadir}/wallpapers/* + +########## + +%package -n trinity-kscreensaver +Summary: additional screen savers released with Trinity +Group: User Interface/Desktops + +%description -n trinity-kscreensaver +This package contains the screen savers for Trinity. They can be tested and +selected within the Appearance and Themes section of the Trinity Control +Center. + +The hooks for the standard xscreensavers are no longer part of this +package. To select and/or configure the standard xscreensavers through +the TDE Control Center, install the separate package kscreensaver-xsavers. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files -n trinity-kscreensaver +%defattr(-,root,root,-) +%{tde_bindir}/kslideshow.kss +%{tde_bindir}/kpolygon.kss +%{tde_bindir}/krotation.kss +%{tde_bindir}/ksolarwinds.kss +%{tde_bindir}/klorenz.kss +%{tde_bindir}/kvm.kss +%{tde_bindir}/kflux.kss +%{tde_bindir}/kscience.kss +%{tde_bindir}/kbanner.kss +%{tde_bindir}/kclock.kss +%{tde_bindir}/kfiresaver.kss +%{tde_bindir}/keuphoria.kss +%{tde_bindir}/kfountain.kss +%{tde_bindir}/kgravity.kss +%{tde_bindir}/kpartsaver.kss +%{tde_bindir}/kpendulum.kss +%{tde_bindir}/kblob.kss +%{tde_bindir}/klines.kss +%{tde_bindir}/kwave.kss +%{tde_datadir}/applnk/System/ScreenSavers/KBanner.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KBlob.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KClock.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KEuphoria.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KFiresaver.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KFlux.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KFountain.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KGravity.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KLines-saver.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KLorenz.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KPendulum.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KPolygon.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KRotation.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KScience.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KSlideshow.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KSolarWinds.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KVm.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KWave.desktop +%{tde_datadir}/applnk/System/ScreenSavers/kpartsaver.desktop +%{tde_datadir}/apps/kfiresaver/ +%{tde_datadir}/apps/kscreensaver/ + +%if 0%{?with_xscreensaver} +%{tde_bindir}/kspace.kss +%{tde_bindir}/kswarm.kss +%{tde_datadir}/applnk/System/ScreenSavers/KSpace.desktop +%{tde_datadir}/applnk/System/ScreenSavers/KSwarm.desktop +%endif + +########## + +%if 0%{?with_xscreensaver} + +%package -n trinity-kscreensaver-xsavers +Summary: Trinity hooks for standard xscreensavers +Group: User Interface/Desktops +Requires: trinity-tdebase-bin >= 3.5.13 +Requires: xscreensaver + +%description -n trinity-kscreensaver-xsavers +This package allows a smooth integration of the standard xscreensavers +into Trinity. With this package installed you can select and/or configure +the standard xscreensavers through the Appearances and Themes section of +the Trinity Control Centre. + +Note that this package does not actually contain any screensavers itself. +For the additional screensavers shipped with Trinity, see the separate package +kscreensaver-trinity. This package does depend on the xscreensaver package, and +recommend the xscreensaver-gl package, as well as contain the necessary +files to integrate these packages into Trinity. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files -n trinity-kscreensaver-xsavers +%defattr(-,root,root,-) +%{tde_bindir}/xscreensaver-getimage-file +%{tde_bindir}/xscreensaver-getimage +%{tde_bindir}/kxsconfig +%{tde_bindir}/kxsrun +%{tde_datadir}/applnk/System/ScreenSavers/antinspect.desktop +%{tde_datadir}/applnk/System/ScreenSavers/antspotlight.desktop +%{tde_datadir}/applnk/System/ScreenSavers/atunnel.desktop +%{tde_datadir}/applnk/System/ScreenSavers/blinkbox.desktop +%{tde_datadir}/applnk/System/ScreenSavers/braid.desktop +%{tde_datadir}/applnk/System/ScreenSavers/bubble3d.desktop +%{tde_datadir}/applnk/System/ScreenSavers/circuit.desktop +%{tde_datadir}/applnk/System/ScreenSavers/cubestorm.desktop +%{tde_datadir}/applnk/System/ScreenSavers/deco.desktop +%{tde_datadir}/applnk/System/ScreenSavers/distort.desktop +%{tde_datadir}/applnk/System/ScreenSavers/endgame.desktop +%{tde_datadir}/applnk/System/ScreenSavers/engine.desktop +%{tde_datadir}/applnk/System/ScreenSavers/fiberlamp.desktop +%{tde_datadir}/applnk/System/ScreenSavers/flipflop.desktop +%{tde_datadir}/applnk/System/ScreenSavers/flipscreen3d.desktop +%{tde_datadir}/applnk/System/ScreenSavers/flyingtoasters.desktop +%{tde_datadir}/applnk/System/ScreenSavers/fuzzyflakes.desktop +%{tde_datadir}/applnk/System/ScreenSavers/galaxy.desktop +%{tde_datadir}/applnk/System/ScreenSavers/gears.desktop +%{tde_datadir}/applnk/System/ScreenSavers/gflux.desktop +%{tde_datadir}/applnk/System/ScreenSavers/glblur.desktop +%{tde_datadir}/applnk/System/ScreenSavers/gleidescope.desktop +%{tde_datadir}/applnk/System/ScreenSavers/glknots.desktop +%{tde_datadir}/applnk/System/ScreenSavers/glslideshow.desktop +%{tde_datadir}/applnk/System/ScreenSavers/glsnake.desktop +%{tde_datadir}/applnk/System/ScreenSavers/gltext.desktop +%{tde_datadir}/applnk/System/ScreenSavers/hypertorus.desktop +%{tde_datadir}/applnk/System/ScreenSavers/jigglypuff.desktop +%{tde_datadir}/applnk/System/ScreenSavers/lavalite.desktop +%{tde_datadir}/applnk/System/ScreenSavers/metaballs.desktop +%{tde_datadir}/applnk/System/ScreenSavers/mirrorblob.desktop +%{tde_datadir}/applnk/System/ScreenSavers/moebius.desktop +%{tde_datadir}/applnk/System/ScreenSavers/molecule.desktop +%{tde_datadir}/applnk/System/ScreenSavers/morph3d.desktop +%{tde_datadir}/applnk/System/ScreenSavers/penrose.desktop +%{tde_datadir}/applnk/System/ScreenSavers/pipes.desktop +%{tde_datadir}/applnk/System/ScreenSavers/polyhedra.desktop +%{tde_datadir}/applnk/System/ScreenSavers/polytopes.desktop +%{tde_datadir}/applnk/System/ScreenSavers/popsquares.desktop +%{tde_datadir}/applnk/System/ScreenSavers/pulsar.desktop +%{tde_datadir}/applnk/System/ScreenSavers/queens.desktop +%{tde_datadir}/applnk/System/ScreenSavers/ripples.desktop +%{tde_datadir}/applnk/System/ScreenSavers/shadebobs.desktop +%{tde_datadir}/applnk/System/ScreenSavers/sierpinski3d.desktop +%{tde_datadir}/applnk/System/ScreenSavers/slidescreen.desktop +%{tde_datadir}/applnk/System/ScreenSavers/sonar.desktop +%{tde_datadir}/applnk/System/ScreenSavers/spheremonics.desktop +%{tde_datadir}/applnk/System/ScreenSavers/stonerview.desktop +%{tde_datadir}/applnk/System/ScreenSavers/superquadrics.desktop +%{tde_datadir}/applnk/System/ScreenSavers/swirl.desktop +%{tde_datadir}/applnk/System/ScreenSavers/xlyap.desktop +%{tde_datadir}/applnk/System/ScreenSavers/m6502.desktop +%{tde_datadir}/applnk/System/ScreenSavers/glschool.desktop +%{tde_datadir}/applnk/System/ScreenSavers/moebiusgears.desktop +%{tde_datadir}/applnk/System/ScreenSavers/glcells.desktop +%{tde_datadir}/applnk/System/ScreenSavers/abstractile.desktop +%{tde_datadir}/applnk/System/ScreenSavers/lockward.desktop +%{tde_datadir}/applnk/System/ScreenSavers/cwaves.desktop +%{tde_datadir}/applnk/System/ScreenSavers/topblock.desktop +%{tde_datadir}/applnk/System/ScreenSavers/voronoi.desktop +%{tde_datadir}/applnk/System/ScreenSavers/cubicgrid.desktop +%{tde_datadir}/applnk/System/ScreenSavers/hypnowheel.desktop +%{tde_datadir}/applnk/System/ScreenSavers/lcdscrub.desktop +%{tde_datadir}/applnk/System/ScreenSavers/photopile.desktop +%{tde_datadir}/applnk/System/ScreenSavers/skytentacles.desktop + +# These screensavers do not exist on Mageia 2 +%if 0%{?mgaversion} == 0 && 0%{?mdkversion} == 0 +%{tde_datadir}/applnk/System/ScreenSavers/glmatrix.desktop +%endif + +########## + +%if 0%{?with_webcollage} + +%package -n trinity-kscreensaver-xsavers-webcollage +Summary: webcollage screensaver Trinity hook +Group: User Interface/Desktops +Requires: trinity-kscreensaver-xsavers-extra = %{version}-%{release} +Requires: netpbm + +%description -n trinity-kscreensaver-xsavers-webcollage +This package give access to the webcollage screensaver through the Trinity +screensaver configuration. + +This screensaver downloads random pictures from the internet and creates +a collage as screensaver. + +IMPORTANT NOTICE: The internet contains all kinds of pictures, some of which +you might find inappropriate and offensive. +You are specially discouraged to install this package if you are using +your computer in a working environment or in an environment with children. + +If you still want to install this package, please read the file +/usr/share/doc/kscreensaver-xsavers-webcollage/README.Debian after the +installation. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files -n trinity-kscreensaver-xsavers-webcollage +%defattr(-,root,root,-) +%{tde_datadir}/applnk/System/ScreenSavers/webcollage.desktop + +%endif + +########## + +%package -n trinity-kscreensaver-xsavers-extra +Summary: Trinity hooks for standard xscreensavers +Group: User Interface/Desktops +Requires: trinity-kscreensaver-xsavers = %{version}-%{release} + +%description -n trinity-kscreensaver-xsavers-extra +This package allows a smooth integration of the universe xscreensavers +into Trinity. With this package installed you can select and/or configure +the universe xscreensavers through the Appearances and Themes section of +the Trinity Control Centre. + +Note that this package does not actually contain any screensavers itself. +For the additional screensavers shipped with TDE, see the separate package +kscreensaver. + +This package is part of Trinity, and a component of the TDE artwork module. + +%files -n trinity-kscreensaver-xsavers-extra +%defattr(-,root,root,-) +%{tde_datadir}/applnk/System/ScreenSavers/anemone.desktop +%{tde_datadir}/applnk/System/ScreenSavers/anemotaxis.desktop +%{tde_datadir}/applnk/System/ScreenSavers/antmaze.desktop +%{tde_datadir}/applnk/System/ScreenSavers/apollonian.desktop +%{tde_datadir}/applnk/System/ScreenSavers/apple2.desktop +%{tde_datadir}/applnk/System/ScreenSavers/atlantis.desktop +%{tde_datadir}/applnk/System/ScreenSavers/attraction.desktop +%{tde_datadir}/applnk/System/ScreenSavers/barcode.desktop +%{tde_datadir}/applnk/System/ScreenSavers/blaster.desktop +%{tde_datadir}/applnk/System/ScreenSavers/blitspin.desktop +%{tde_datadir}/applnk/System/ScreenSavers/blocktube.desktop +%{tde_datadir}/applnk/System/ScreenSavers/boing.desktop +%{tde_datadir}/applnk/System/ScreenSavers/bouboule.desktop +%{tde_datadir}/applnk/System/ScreenSavers/bouncingcow.desktop +%{tde_datadir}/applnk/System/ScreenSavers/boxed.desktop +%{tde_datadir}/applnk/System/ScreenSavers/boxfit.desktop +%{tde_datadir}/applnk/System/ScreenSavers/bsod.desktop +%{tde_datadir}/applnk/System/ScreenSavers/bumps.desktop +%{tde_datadir}/applnk/System/ScreenSavers/cage.desktop +%{tde_datadir}/applnk/System/ScreenSavers/carousel.desktop +%{tde_datadir}/applnk/System/ScreenSavers/ccurve.desktop +%{tde_datadir}/applnk/System/ScreenSavers/celtic.desktop +%{tde_datadir}/applnk/System/ScreenSavers/cloudlife.desktop +%{tde_datadir}/applnk/System/ScreenSavers/compass.desktop +%{tde_datadir}/applnk/System/ScreenSavers/coral.desktop +%{tde_datadir}/applnk/System/ScreenSavers/crackberg.desktop +%{tde_datadir}/applnk/System/ScreenSavers/crystal.desktop +%{tde_datadir}/applnk/System/ScreenSavers/cube21.desktop +%{tde_datadir}/applnk/System/ScreenSavers/cubenetic.desktop +%{tde_datadir}/applnk/System/ScreenSavers/cynosure.desktop +%{tde_datadir}/applnk/System/ScreenSavers/dangerball.desktop +%{tde_datadir}/applnk/System/ScreenSavers/decayscreen.desktop +%{tde_datadir}/applnk/System/ScreenSavers/deluxe.desktop +%{tde_datadir}/applnk/System/ScreenSavers/demon.desktop +%{tde_datadir}/applnk/System/ScreenSavers/discrete.desktop +%{tde_datadir}/applnk/System/ScreenSavers/drift.desktop +%{tde_datadir}/applnk/System/ScreenSavers/epicycle.desktop +%{tde_datadir}/applnk/System/ScreenSavers/eruption.desktop +%{tde_datadir}/applnk/System/ScreenSavers/euler2d.desktop +%{tde_datadir}/applnk/System/ScreenSavers/extrusion.desktop +%{tde_datadir}/applnk/System/ScreenSavers/fadeplot.desktop +%{tde_datadir}/applnk/System/ScreenSavers/fireworkx.desktop +%{tde_datadir}/applnk/System/ScreenSavers/flame.desktop +%{tde_datadir}/applnk/System/ScreenSavers/fliptext.desktop +%{tde_datadir}/applnk/System/ScreenSavers/flow.desktop +%{tde_datadir}/applnk/System/ScreenSavers/fluidballs.desktop +%{tde_datadir}/applnk/System/ScreenSavers/flurry.desktop +%{tde_datadir}/applnk/System/ScreenSavers/fontglide.desktop +%{tde_datadir}/applnk/System/ScreenSavers/glhanoi.desktop +%{tde_datadir}/applnk/System/ScreenSavers/glplanet.desktop +%{tde_datadir}/applnk/System/ScreenSavers/goop.desktop +%{tde_datadir}/applnk/System/ScreenSavers/grav.desktop +%{tde_datadir}/applnk/System/ScreenSavers/greynetic.desktop +%{tde_datadir}/applnk/System/ScreenSavers/halftone.desktop +%{tde_datadir}/applnk/System/ScreenSavers/halo.desktop +%{tde_datadir}/applnk/System/ScreenSavers/helix.desktop +%{tde_datadir}/applnk/System/ScreenSavers/hopalong.desktop +%{tde_datadir}/applnk/System/ScreenSavers/ifs.desktop +%{tde_datadir}/applnk/System/ScreenSavers/imsmap.desktop +%{tde_datadir}/applnk/System/ScreenSavers/interaggregate.desktop +%{tde_datadir}/applnk/System/ScreenSavers/interference.desktop +%{tde_datadir}/applnk/System/ScreenSavers/intermomentary.desktop +%{tde_datadir}/applnk/System/ScreenSavers/jigsaw.desktop +%{tde_datadir}/applnk/System/ScreenSavers/juggler3d.desktop +%{tde_datadir}/applnk/System/ScreenSavers/julia.desktop +%{tde_datadir}/applnk/System/ScreenSavers/kaleidescope.desktop +%{tde_datadir}/applnk/System/ScreenSavers/klein.desktop +%{tde_datadir}/applnk/System/ScreenSavers/kumppa.desktop +%{tde_datadir}/applnk/System/ScreenSavers/lament.desktop +%{tde_datadir}/applnk/System/ScreenSavers/loop.desktop +%{tde_datadir}/applnk/System/ScreenSavers/maze.desktop +%{tde_datadir}/applnk/System/ScreenSavers/memscroller.desktop +%{tde_datadir}/applnk/System/ScreenSavers/menger.desktop +%{tde_datadir}/applnk/System/ScreenSavers/moire.desktop +%{tde_datadir}/applnk/System/ScreenSavers/moire2.desktop +%{tde_datadir}/applnk/System/ScreenSavers/mountain.desktop +%{tde_datadir}/applnk/System/ScreenSavers/munch.desktop +%{tde_datadir}/applnk/System/ScreenSavers/nerverot.desktop +%{tde_datadir}/applnk/System/ScreenSavers/noof.desktop +%{tde_datadir}/applnk/System/ScreenSavers/noseguy.desktop +%{tde_datadir}/applnk/System/ScreenSavers/pacman.desktop +%{tde_datadir}/applnk/System/ScreenSavers/pedal.desktop +%{tde_datadir}/applnk/System/ScreenSavers/penetrate.desktop +%{tde_datadir}/applnk/System/ScreenSavers/petri.desktop +%{tde_datadir}/applnk/System/ScreenSavers/phosphor.desktop +%{tde_datadir}/applnk/System/ScreenSavers/piecewise.desktop +%{tde_datadir}/applnk/System/ScreenSavers/pinion.desktop +%{tde_datadir}/applnk/System/ScreenSavers/polyominoes.desktop +%{tde_datadir}/applnk/System/ScreenSavers/pong.desktop +%{tde_datadir}/applnk/System/ScreenSavers/providence.desktop +%{tde_datadir}/applnk/System/ScreenSavers/pyro.desktop +%{tde_datadir}/applnk/System/ScreenSavers/qix.desktop +%{tde_datadir}/applnk/System/ScreenSavers/rd-bomb.desktop +%{tde_datadir}/applnk/System/ScreenSavers/rocks.desktop +%{tde_datadir}/applnk/System/ScreenSavers/rorschach.desktop +%{tde_datadir}/applnk/System/ScreenSavers/rotzoomer.desktop +%{tde_datadir}/applnk/System/ScreenSavers/rubik.desktop +%{tde_datadir}/applnk/System/ScreenSavers/sballs.desktop +%{tde_datadir}/applnk/System/ScreenSavers/sierpinski.desktop +%{tde_datadir}/applnk/System/ScreenSavers/slip.desktop +%{tde_datadir}/applnk/System/ScreenSavers/speedmine.desktop +%{tde_datadir}/applnk/System/ScreenSavers/spotlight.desktop +%{tde_datadir}/applnk/System/ScreenSavers/sproingies.desktop +%{tde_datadir}/applnk/System/ScreenSavers/squiral.desktop +%{tde_datadir}/applnk/System/ScreenSavers/stairs.desktop +%{tde_datadir}/applnk/System/ScreenSavers/starfish.desktop +%{tde_datadir}/applnk/System/ScreenSavers/starwars.desktop +%{tde_datadir}/applnk/System/ScreenSavers/strange.desktop +%{tde_datadir}/applnk/System/ScreenSavers/substrate.desktop +%{tde_datadir}/applnk/System/ScreenSavers/tangram.desktop +%{tde_datadir}/applnk/System/ScreenSavers/thornbird.desktop +%{tde_datadir}/applnk/System/ScreenSavers/timetunnel.desktop +%{tde_datadir}/applnk/System/ScreenSavers/triangle.desktop +%{tde_datadir}/applnk/System/ScreenSavers/truchet.desktop +%{tde_datadir}/applnk/System/ScreenSavers/twang.desktop +%{tde_datadir}/applnk/System/ScreenSavers/vermiculate.desktop +%{tde_datadir}/applnk/System/ScreenSavers/wander.desktop +%{tde_datadir}/applnk/System/ScreenSavers/whirlwindwarp.desktop +%{tde_datadir}/applnk/System/ScreenSavers/wormhole.desktop +%{tde_datadir}/applnk/System/ScreenSavers/xanalogtv.desktop +%{tde_datadir}/applnk/System/ScreenSavers/xflame.desktop +%{tde_datadir}/applnk/System/ScreenSavers/xrayswarm.desktop +%{tde_datadir}/applnk/System/ScreenSavers/xspirograph.desktop +%{tde_datadir}/applnk/System/ScreenSavers/zoom.desktop + +# These screensavers do not exist on OpenSuse 12.2 +%if 0%{?suse_version} == 0 +%{tde_datadir}/applnk/System/ScreenSavers/vidwhacker.desktop +%endif + +# These screensavers do not exist on Mageia 2 and Mandriva 2011 +%if 0%{?mgaversion} == 0 && 0%{?mdkversion} == 0 +%{tde_datadir}/applnk/System/ScreenSavers/xjack.desktop +%{tde_datadir}/applnk/System/ScreenSavers/xmatrix.desktop +%endif + +%endif + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" +export LD_LIBRARY_PATH="%{tde_libdir}" + +# Specific path for RHEL4 +if [ -d /usr/X11R6 ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + %{!?with_xscreensaver:-DWITH_XSCREENSAVER=OFF} \ + %{!?with_libart}:-DWITH_LIBART=OFF} \ + -DWITH_OPENGL=ON \ + -DWITH_ARTS=ON \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install -C build DESTDIR=%{buildroot} + +# webcollage -root -directory /usr/share/backgrounds/images #227683 + +# File lists +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + fi +done +fi + +# Duplicate with trinity-kbabel (from tdesdk) +%__rm -f %{?buildroot}%{tde_datadir}/icons/locolor/16x16/apps/kbabel.png +%__rm -f %{?buildroot}%{tde_datadir}/icons/locolor/32x32/apps/kbabel.png + +# Should not be here if xscreensaver is disabled +%if 0%{?with_xscreensaver} == 0 +%__rm -f %{?buildroot}%{tde_bindir}/xscreensaver-getimage +%__rm -f %{?buildroot}%{tde_bindir}/xscreensaver-getimage-file +%endif + + +%clean +%__rm -rf %{buildroot} + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 +- Initial release for TDE 3.5.13.2 diff --git a/redhat/tdeartwork/trinity-kdeartwork-3.5.12.spec b/redhat/tdeartwork/trinity-kdeartwork-3.5.12.spec deleted file mode 100644 index e1bc6e7b7..000000000 --- a/redhat/tdeartwork/trinity-kdeartwork-3.5.12.spec +++ /dev/null @@ -1,186 +0,0 @@ -# Default version for this component -%if "%{?version}" == "" -%define version 3.5.12 -%endif -%define release 5 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_libdir %{_libdir}/kde3 - - -Name: trinity-kdeartwork -Summary: Additional artwork (themes, sound themes, ...) for KDE -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} - -License: GPLv2 -Group: User Interface/Desktops -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Vendor: Trinity Project -Packager: Francois Andriot -Url: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source: kdeartwork-%{version}.tar.gz - -# FIXME: this should go in kde-settings -- Rex -Source1: webcollagerc - -BuildRequires: gettext -BuildRequires: trinity-kdebase-devel -BuildRequires: libart_lgpl-devel -BuildRequires: nas-devel esound-devel jack-audio-connection-kit-devel -BuildRequires: xscreensaver-extras xscreensaver-gl-base - - -Requires: trinity-kdebase - -%description -Additional artwork (themes, sound themes, screensavers ...) for KDE. - -# TODO: build this subpkg noarch -%package icons -Summary: Icon themes (kdeclassic, slick ....) for KDE -Group: User Interface/Desktops -%description icons -%{summary}. - - -%prep -%setup -q -n kdeartwork - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - - -%configure \ - --disable-rpath \ - --enable-new-ldflags \ - --disable-dependency-tracking \ - --disable-debug --disable-warnings \ - --enable-final \ - --with-extra-includes=%{_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# webcollage -root -directory /usr/share/backgrounds/images #227683 - -# rpmdocs -for dir in IconThemes/* kworldclock kscreensaver/kxsconfig ; do - for file in AUTHORS ChangeLog COPYRIGHT README TODO ; do - test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file" - done -done - -# File lists -%find_lang %{name} || touch %{name}.lang -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - -# kde vs xscreensaver based screensavers -for screensaver in %{buildroot}%{_datadir}/applnk/System/ScreenSavers/*.desktop ; do - if [ `grep '^TryExec=xscreensaver' $screensaver` ]; then - echo $screensaver | sed -e "s|%{buildroot}||" >> %{name}-extras.lang - else - echo $screensaver | sed -e "s|%{buildroot}||" >> %{name}.lang - fi -done - - - -%post icons -for i in locolor ikons kdeclassic kids slick ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done - -%postun icons -for i in locolor ikons kdeclassic kids slick ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done - -%clean -%__rm -rf %{buildroot} - -%files -f %{name}.lang -%defattr(-,root,root,-) -%doc kwin-styles/smooth-blend/COPYING -%doc rpmdocs/kworldclock -%{_bindir}/*.kss -%{tde_libdir}/plugins/styles/* -%{tde_libdir}/*.so -%{tde_libdir}/*.la -%{_datadir}/apps/kfiresaver/ -%{_datadir}/apps/kscreensaver/ -%{_datadir}/apps/kstyle/themes/* -%{_datadir}/apps/kwin/* -%{_datadir}/apps/kworldclock/ -%{_datadir}/sounds/* -%{_datadir}/wallpapers/* -%{_datadir}/emoticons/* -%{_bindir}/kxs* - -%files icons -%defattr(-,root,root,-) -%doc rpmdocs/IconThemes/* -%{_datadir}/icons/ikons/ -%{_datadir}/icons/kdeclassic/ -%{_datadir}/icons/kids/ -%{_datadir}/icons/Locolor/ -%{_datadir}/icons/slick/ - - - -%changelog -* Mon Sep 19 2011 Francois Andriot - 3.5.12-5 -- Add support for RHEL5 - -* Sun Sep 11 2011 Francois Andriot - 3.5.12-4 -- Import to GIT - -* Tue Aug 23 2011 Francois Andriot - 3.5.12-3 -- Add correction for Fedora 15 - -* Mon Aug 22 2011 Francois Andriot - 3.5.12-2 -- Correct macro to install under "/opt", if desired - -* Fri Aug 05 2011 Francois Andriot - 3.5.12-1 -- Initial version -- Spec file based on Fedora 8 "kdeartwork 3.5.10-1" diff --git a/redhat/tdeartwork/trinity-kdeartwork-3.5.13.1.spec b/redhat/tdeartwork/trinity-kdeartwork-3.5.13.1.spec deleted file mode 100644 index 32c66dd05..000000000 --- a/redhat/tdeartwork/trinity-kdeartwork-3.5.13.1.spec +++ /dev/null @@ -1,701 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-tdeartwork -Summary: Additional artwork (themes, sound themes, ...) for TDE -Version: 3.5.13.1 -Release: 1%{?dist}%{?_variant} - -License: GPLv2 -Group: User Interface/Desktops -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Vendor: Trinity Project -Packager: Francois Andriot -Url: http://www.trinitydesktop.org/ - -Source: kdeartwork-3.5.13.1.tar.gz - -# [kdeartwork] Renames theme 'Locolor' to 'locolor' -Patch1: kdeartwork-3.5.13.1-fix_locolor_theme_name.patch.gz - -BuildRequires: cmake >= 2.8 -BuildRequires: trinity-tdebase-devel >= %{version} - -BuildRequires: gettext -BuildRequires: esound-devel - -# kdeartwork specific settings - -# OpenGL support -%if 0%{?rhel} == 4 -BuildRequires: xorg-x11-Mesa-libGLU -%endif - -# NAS support -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: nas-devel -%endif - -# LIBART support -# On RHEL, libart is too old ! -%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define with_libart 1 -BuildRequires: libart_lgpl-devel -%endif - -# XSCREENSAVER support -%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version} -%define with_xscreensaver 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel -BuildRequires: xscreensaver -BuildRequires: xscreensaver-base -BuildRequires: xscreensaver-extrusion -BuildRequires: xscreensaver-gl -%endif -%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} -BuildRequires: libXScrnSaver-devel -%endif - -%if 0%{?fedora} || 0%{?rhel} >= 6 -# Provides '/usr/share/xscreensaver/config/deco.xml' -BuildRequires: xscreensaver-extras -%endif -%if 0%{?suse_version} -BuildRequires: xscreensaver-data-extra -%endif - -# Opensuse does not provide 'webcollage' screensaver -%if 0%{?suse_version} == 0 -%define with_webcollage 1 -%endif - -%endif - -# JACK support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}jack-devel -%endif -%if 0%{?fedora} || 0%{?rhel} >= 5 -BuildRequires: jack-audio-connection-kit-devel -%endif - - -Obsoletes: trinity-kdeartwork < %{version}-%{release} -Provides: trinity-kdeartwork = %{version}-%{release} - -# Metapackage -Requires: %{name}-emoticons = %{version}-%{release} -Requires: %{name}-misc = %{version}-%{release} -Requires: %{name}-style = %{version}-%{release} -Requires: %{name}-theme-icon = %{version}-%{release} -Requires: %{name}-theme-window = %{version}-%{release} -Requires: trinity-kdewallpapers = %{version}-%{release} -Requires: trinity-kscreensaver = %{version}-%{release} - -%if 0%{?with_xscreensaver} -Requires: trinity-kscreensaver-xsavers = %{version}-%{release} -Requires: trinity-kscreensaver-xsavers-extra = %{version}-%{release} -%if 0%{?with_webcollage} -Requires: trinity-kscreensaver-xsavers-webcollage = %{version}-%{release} -%endif -%endif - - -%description -TDE (the Trinity Desktop Environment) is a powerful Open Source graphical -desktop environment for Unix workstations. It combines ease of use, -contemporary functionality, and outstanding graphical design with the -technological superiority of the Unix operating system. - -This metapackage includes a collection of artistic extras (themes, widget -styles, screen savers, wallpaper, icons, emoticons and so on) provided -with the official release of KDE. - -Homepage: http://artist.kde.org - -%files - -########## - -%package emoticons -Summary: emoticon collections for tDE chat clients -Group: User Interface/Desktops - -%description emoticons -This package contains several collections of emoticons used by official -and unofficial KDE chat clients, such as Kopete and Konversation. - -This package is part of KDE, and a component of the KDE artwork module. - -%files emoticons -%defattr(-,root,root,-) -%{tde_datadir}/emoticons/ - -########## - -%package misc -Summary: various multimedia goodies released with TDE -Group: User Interface/Desktops - -%description misc -This package contains miscellaneous multimedia goodies for KDE. -Included are additional TDE sounds and kworldclock themes. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files misc -%defattr(-,root,root,-) -%{tde_datadir}/apps/kworldclock/ -%{tde_datadir}/sounds/KDE_Logout_new.wav -%{tde_datadir}/sounds/KDE_Startup_new.wav - -########## - -%package style -Summary: widget styles released with Trinity -Group: User Interface/Desktops - -%description style -This package contains additional widget styles for Trinity. Widget styles -can be used to customise the look and feel of interface components such -as buttons, scrollbars and so on. They can be applied using the style -manager in the TDE Control Centre. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files style -%defattr(-,root,root,-) -%{tde_tdelibdir}/plugins/styles/ -%{tde_tdelibdir}/kstyle_phase_config.la -%{tde_tdelibdir}/kstyle_phase_config.so -%{tde_datadir}/apps/kstyle/ - -########## - -%package theme-icon -Summary: icon themes released with Trinity -Group: User Interface/Desktops - -Obsoletes: trinity-kdeartwork-icons < %{version}-%{release} -Provides: trinity-kdeartwork-icons = %{version}-%{release} - -%description theme-icon -This package contains additional icon themes for Trinity. Icon themes can be -used to customise the appearance of standard icons throughout KDE. They -can be applied using the icon manager in the Trinity Control Centre. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files theme-icon -%defattr(-,root,root,-) -%{tde_datadir}/icons/*/* - -%post theme-icon -for i in locolor ikons kdeclassic kids slick ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done - -%postun theme-icon -for i in locolor ikons kdeclassic kids slick ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done - -########## - -%package theme-window -Summary: window decoration themes released with Trinity -Group: User Interface/Desktops - -%description theme-window -This package contains additional window decoration themes for Trinity. Window -decoration themes can be used to customise the look of window borders and -buttons, and can be applied using the window decoration manager in the Trinity -Control Center. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files theme-window -%defattr(-,root,root,-) -%{tde_tdelibdir}/[kt]win* -%{tde_datadir}/apps/[kt]win/ - -########## - -%package -n trinity-kdewallpapers -Summary: wallpapers released with Trinity -Group: User Interface/Desktops - -%description -n trinity-kdewallpapers -This package contains additional wallpapers for Trinity. Wallpapers can be -applied using the background manager in the TDE Control Centre. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files -n trinity-kdewallpapers -%defattr(-,root,root,-) -%{tde_datadir}/wallpapers/ - -########## - -%package -n trinity-kscreensaver -Summary: additional screen savers released with Trinity -Group: User Interface/Desktops - -%description -n trinity-kscreensaver -This package contains the screen savers for Trinity. They can be tested and -selected within the Appearance and Themes section of the Trinity Control -Center. - -The hooks for the standard xscreensavers are no longer part of this -package. To select and/or configure the standard xscreensavers through -the TDE Control Center, install the separate package kscreensaver-xsavers. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files -n trinity-kscreensaver -%defattr(-,root,root,-) -%{tde_bindir}/kslideshow.kss -%{tde_bindir}/kpolygon.kss -%{tde_bindir}/krotation.kss -%{tde_bindir}/ksolarwinds.kss -%{tde_bindir}/klorenz.kss -%{tde_bindir}/kvm.kss -%{tde_bindir}/kflux.kss -%{tde_bindir}/kscience.kss -%{tde_bindir}/kbanner.kss -%{tde_bindir}/kclock.kss -%{tde_bindir}/kfiresaver.kss -%{tde_bindir}/keuphoria.kss -%{tde_bindir}/kfountain.kss -%{tde_bindir}/kgravity.kss -%{tde_bindir}/kpartsaver.kss -%{tde_bindir}/kpendulum.kss -%{tde_bindir}/kblob.kss -%{tde_bindir}/klines.kss -%{tde_bindir}/kwave.kss -%{tde_datadir}/applnk/System/ScreenSavers/KBanner.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KBlob.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KClock.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KEuphoria.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KFiresaver.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KFlux.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KFountain.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KGravity.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KLines-saver.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KLorenz.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KPendulum.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KPolygon.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KRotation.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KScience.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KSlideshow.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KSolarWinds.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KVm.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KWave.desktop -%{tde_datadir}/applnk/System/ScreenSavers/kpartsaver.desktop -%{tde_datadir}/apps/kfiresaver/ -%{tde_datadir}/apps/kscreensaver/ - -%if 0%{?with_xscreensaver} -%{tde_bindir}/kspace.kss -%{tde_bindir}/kswarm.kss -%{tde_datadir}/applnk/System/ScreenSavers/KSpace.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KSwarm.desktop -%endif - -########## - -%if 0%{?with_xscreensaver} - -%package -n trinity-kscreensaver-xsavers -Summary: Trinity hooks for standard xscreensavers -Group: User Interface/Desktops -Requires: trinity-tdebase-bin >= 3.5.13 -Requires: xscreensaver - -%description -n trinity-kscreensaver-xsavers -This package allows a smooth integration of the standard xscreensavers -into Trinity. With this package installed you can select and/or configure -the standard xscreensavers through the Appearances and Themes section of -the Trinity Control Centre. - -Note that this package does not actually contain any screensavers itself. -For the additional screensavers shipped with Trinity, see the separate package -kscreensaver-trinity. This package does depend on the xscreensaver package, and -recommend the xscreensaver-gl package, as well as contain the necessary -files to integrate these packages into Trinity. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files -n trinity-kscreensaver-xsavers -%defattr(-,root,root,-) -#%{tde_bindir}/xscreensaver-getimage-file -#%{tde_bindir}/xscreensaver-getimage -%{tde_bindir}/kxsconfig -%{tde_bindir}/kxsrun -%{tde_datadir}/applnk/System/ScreenSavers/antinspect.desktop -%{tde_datadir}/applnk/System/ScreenSavers/antspotlight.desktop -%{tde_datadir}/applnk/System/ScreenSavers/atunnel.desktop -%{tde_datadir}/applnk/System/ScreenSavers/blinkbox.desktop -%{tde_datadir}/applnk/System/ScreenSavers/braid.desktop -%{tde_datadir}/applnk/System/ScreenSavers/bubble3d.desktop -%{tde_datadir}/applnk/System/ScreenSavers/circuit.desktop -%{tde_datadir}/applnk/System/ScreenSavers/cubestorm.desktop -%{tde_datadir}/applnk/System/ScreenSavers/deco.desktop -%{tde_datadir}/applnk/System/ScreenSavers/distort.desktop -%{tde_datadir}/applnk/System/ScreenSavers/endgame.desktop -%{tde_datadir}/applnk/System/ScreenSavers/engine.desktop -%{tde_datadir}/applnk/System/ScreenSavers/fiberlamp.desktop -%{tde_datadir}/applnk/System/ScreenSavers/flipflop.desktop -%{tde_datadir}/applnk/System/ScreenSavers/flipscreen3d.desktop -%{tde_datadir}/applnk/System/ScreenSavers/flyingtoasters.desktop -%{tde_datadir}/applnk/System/ScreenSavers/fuzzyflakes.desktop -%{tde_datadir}/applnk/System/ScreenSavers/galaxy.desktop -%{tde_datadir}/applnk/System/ScreenSavers/gears.desktop -%{tde_datadir}/applnk/System/ScreenSavers/gflux.desktop -%{tde_datadir}/applnk/System/ScreenSavers/glblur.desktop -%{tde_datadir}/applnk/System/ScreenSavers/gleidescope.desktop -%{tde_datadir}/applnk/System/ScreenSavers/glknots.desktop -%{tde_datadir}/applnk/System/ScreenSavers/glslideshow.desktop -%{tde_datadir}/applnk/System/ScreenSavers/glsnake.desktop -%{tde_datadir}/applnk/System/ScreenSavers/gltext.desktop -%{tde_datadir}/applnk/System/ScreenSavers/hypertorus.desktop -%{tde_datadir}/applnk/System/ScreenSavers/jigglypuff.desktop -%{tde_datadir}/applnk/System/ScreenSavers/lavalite.desktop -%{tde_datadir}/applnk/System/ScreenSavers/metaballs.desktop -%{tde_datadir}/applnk/System/ScreenSavers/mirrorblob.desktop -%{tde_datadir}/applnk/System/ScreenSavers/moebius.desktop -%{tde_datadir}/applnk/System/ScreenSavers/molecule.desktop -%{tde_datadir}/applnk/System/ScreenSavers/morph3d.desktop -%{tde_datadir}/applnk/System/ScreenSavers/penrose.desktop -%{tde_datadir}/applnk/System/ScreenSavers/pipes.desktop -%{tde_datadir}/applnk/System/ScreenSavers/polyhedra.desktop -%{tde_datadir}/applnk/System/ScreenSavers/polytopes.desktop -%{tde_datadir}/applnk/System/ScreenSavers/popsquares.desktop -%{tde_datadir}/applnk/System/ScreenSavers/pulsar.desktop -%{tde_datadir}/applnk/System/ScreenSavers/queens.desktop -%{tde_datadir}/applnk/System/ScreenSavers/ripples.desktop -%{tde_datadir}/applnk/System/ScreenSavers/shadebobs.desktop -%{tde_datadir}/applnk/System/ScreenSavers/sierpinski3d.desktop -%{tde_datadir}/applnk/System/ScreenSavers/slidescreen.desktop -%{tde_datadir}/applnk/System/ScreenSavers/sonar.desktop -%{tde_datadir}/applnk/System/ScreenSavers/spheremonics.desktop -%{tde_datadir}/applnk/System/ScreenSavers/stonerview.desktop -%{tde_datadir}/applnk/System/ScreenSavers/superquadrics.desktop -%{tde_datadir}/applnk/System/ScreenSavers/swirl.desktop -%{tde_datadir}/applnk/System/ScreenSavers/xlyap.desktop -%{tde_datadir}/applnk/System/ScreenSavers/m6502.desktop -%{tde_datadir}/applnk/System/ScreenSavers/glschool.desktop -%{tde_datadir}/applnk/System/ScreenSavers/moebiusgears.desktop -%{tde_datadir}/applnk/System/ScreenSavers/glcells.desktop -%{tde_datadir}/applnk/System/ScreenSavers/abstractile.desktop -%{tde_datadir}/applnk/System/ScreenSavers/lockward.desktop -%{tde_datadir}/applnk/System/ScreenSavers/cwaves.desktop -%{tde_datadir}/applnk/System/ScreenSavers/topblock.desktop -%{tde_datadir}/applnk/System/ScreenSavers/voronoi.desktop -%{tde_datadir}/applnk/System/ScreenSavers/cubicgrid.desktop -%{tde_datadir}/applnk/System/ScreenSavers/hypnowheel.desktop -%{tde_datadir}/applnk/System/ScreenSavers/lcdscrub.desktop -%{tde_datadir}/applnk/System/ScreenSavers/photopile.desktop -%{tde_datadir}/applnk/System/ScreenSavers/skytentacles.desktop - -# These screensavers do not exist on Mageia 2 -%if 0%{?mgaversion} == 0 && 0%{?mdkversion} == 0 -%{tde_datadir}/applnk/System/ScreenSavers/glmatrix.desktop -%endif - -########## - -%if 0%{?with_webcollage} - -%package -n trinity-kscreensaver-xsavers-webcollage -Summary: webcollage screensaver Trinity hook -Group: User Interface/Desktops -Requires: trinity-kscreensaver-xsavers-extra = %{version}-%{release} -Requires: netpbm - -%description -n trinity-kscreensaver-xsavers-webcollage -This package give access to the webcollage screensaver through the Trinity -screensaver configuration. - -This screensaver downloads random pictures from the internet and creates -a collage as screensaver. - -IMPORTANT NOTICE: The internet contains all kinds of pictures, some of which -you might find inappropriate and offensive. -You are specially discouraged to install this package if you are using -your computer in a working environment or in an environment with children. - -If you still want to install this package, please read the file -/usr/share/doc/kscreensaver-xsavers-webcollage/README.Debian after the -installation. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files -n trinity-kscreensaver-xsavers-webcollage -%defattr(-,root,root,-) -%{tde_datadir}/applnk/System/ScreenSavers/webcollage.desktop - -%endif - -########## - -%package -n trinity-kscreensaver-xsavers-extra -Summary: Trinity hooks for standard xscreensavers -Group: User Interface/Desktops -Requires: trinity-kscreensaver-xsavers = %{version}-%{release} - -%description -n trinity-kscreensaver-xsavers-extra -This package allows a smooth integration of the universe xscreensavers -into Trinity. With this package installed you can select and/or configure -the universe xscreensavers through the Appearances and Themes section of -the Trinity Control Centre. - -Note that this package does not actually contain any screensavers itself. -For the additional screensavers shipped with TDE, see the separate package -kscreensaver. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files -n trinity-kscreensaver-xsavers-extra -%defattr(-,root,root,-) -%{tde_datadir}/applnk/System/ScreenSavers/anemone.desktop -%{tde_datadir}/applnk/System/ScreenSavers/anemotaxis.desktop -%{tde_datadir}/applnk/System/ScreenSavers/antmaze.desktop -%{tde_datadir}/applnk/System/ScreenSavers/apollonian.desktop -%{tde_datadir}/applnk/System/ScreenSavers/apple2.desktop -%{tde_datadir}/applnk/System/ScreenSavers/atlantis.desktop -%{tde_datadir}/applnk/System/ScreenSavers/attraction.desktop -%{tde_datadir}/applnk/System/ScreenSavers/barcode.desktop -%{tde_datadir}/applnk/System/ScreenSavers/blaster.desktop -%{tde_datadir}/applnk/System/ScreenSavers/blitspin.desktop -%{tde_datadir}/applnk/System/ScreenSavers/blocktube.desktop -%{tde_datadir}/applnk/System/ScreenSavers/boing.desktop -%{tde_datadir}/applnk/System/ScreenSavers/bouboule.desktop -%{tde_datadir}/applnk/System/ScreenSavers/bouncingcow.desktop -%{tde_datadir}/applnk/System/ScreenSavers/boxed.desktop -%{tde_datadir}/applnk/System/ScreenSavers/boxfit.desktop -%{tde_datadir}/applnk/System/ScreenSavers/bsod.desktop -%{tde_datadir}/applnk/System/ScreenSavers/bumps.desktop -%{tde_datadir}/applnk/System/ScreenSavers/cage.desktop -%{tde_datadir}/applnk/System/ScreenSavers/carousel.desktop -%{tde_datadir}/applnk/System/ScreenSavers/ccurve.desktop -%{tde_datadir}/applnk/System/ScreenSavers/celtic.desktop -%{tde_datadir}/applnk/System/ScreenSavers/cloudlife.desktop -%{tde_datadir}/applnk/System/ScreenSavers/compass.desktop -%{tde_datadir}/applnk/System/ScreenSavers/coral.desktop -%{tde_datadir}/applnk/System/ScreenSavers/crackberg.desktop -%{tde_datadir}/applnk/System/ScreenSavers/crystal.desktop -%{tde_datadir}/applnk/System/ScreenSavers/cube21.desktop -%{tde_datadir}/applnk/System/ScreenSavers/cubenetic.desktop -%{tde_datadir}/applnk/System/ScreenSavers/cynosure.desktop -%{tde_datadir}/applnk/System/ScreenSavers/dangerball.desktop -%{tde_datadir}/applnk/System/ScreenSavers/decayscreen.desktop -%{tde_datadir}/applnk/System/ScreenSavers/deluxe.desktop -%{tde_datadir}/applnk/System/ScreenSavers/demon.desktop -%{tde_datadir}/applnk/System/ScreenSavers/discrete.desktop -%{tde_datadir}/applnk/System/ScreenSavers/drift.desktop -%{tde_datadir}/applnk/System/ScreenSavers/epicycle.desktop -%{tde_datadir}/applnk/System/ScreenSavers/eruption.desktop -%{tde_datadir}/applnk/System/ScreenSavers/euler2d.desktop -%{tde_datadir}/applnk/System/ScreenSavers/extrusion.desktop -%{tde_datadir}/applnk/System/ScreenSavers/fadeplot.desktop -%{tde_datadir}/applnk/System/ScreenSavers/fireworkx.desktop -%{tde_datadir}/applnk/System/ScreenSavers/flame.desktop -%{tde_datadir}/applnk/System/ScreenSavers/fliptext.desktop -%{tde_datadir}/applnk/System/ScreenSavers/flow.desktop -%{tde_datadir}/applnk/System/ScreenSavers/fluidballs.desktop -%{tde_datadir}/applnk/System/ScreenSavers/flurry.desktop -%{tde_datadir}/applnk/System/ScreenSavers/fontglide.desktop -%{tde_datadir}/applnk/System/ScreenSavers/glhanoi.desktop -%{tde_datadir}/applnk/System/ScreenSavers/glplanet.desktop -%{tde_datadir}/applnk/System/ScreenSavers/goop.desktop -%{tde_datadir}/applnk/System/ScreenSavers/grav.desktop -%{tde_datadir}/applnk/System/ScreenSavers/greynetic.desktop -%{tde_datadir}/applnk/System/ScreenSavers/halftone.desktop -%{tde_datadir}/applnk/System/ScreenSavers/halo.desktop -%{tde_datadir}/applnk/System/ScreenSavers/helix.desktop -%{tde_datadir}/applnk/System/ScreenSavers/hopalong.desktop -%{tde_datadir}/applnk/System/ScreenSavers/ifs.desktop -%{tde_datadir}/applnk/System/ScreenSavers/imsmap.desktop -%{tde_datadir}/applnk/System/ScreenSavers/interaggregate.desktop -%{tde_datadir}/applnk/System/ScreenSavers/interference.desktop -%{tde_datadir}/applnk/System/ScreenSavers/intermomentary.desktop -%{tde_datadir}/applnk/System/ScreenSavers/jigsaw.desktop -%{tde_datadir}/applnk/System/ScreenSavers/juggler3d.desktop -%{tde_datadir}/applnk/System/ScreenSavers/julia.desktop -%{tde_datadir}/applnk/System/ScreenSavers/kaleidescope.desktop -%{tde_datadir}/applnk/System/ScreenSavers/klein.desktop -%{tde_datadir}/applnk/System/ScreenSavers/kumppa.desktop -%{tde_datadir}/applnk/System/ScreenSavers/lament.desktop -%{tde_datadir}/applnk/System/ScreenSavers/loop.desktop -%{tde_datadir}/applnk/System/ScreenSavers/maze.desktop -%{tde_datadir}/applnk/System/ScreenSavers/memscroller.desktop -%{tde_datadir}/applnk/System/ScreenSavers/menger.desktop -%{tde_datadir}/applnk/System/ScreenSavers/moire.desktop -%{tde_datadir}/applnk/System/ScreenSavers/moire2.desktop -%{tde_datadir}/applnk/System/ScreenSavers/mountain.desktop -%{tde_datadir}/applnk/System/ScreenSavers/munch.desktop -%{tde_datadir}/applnk/System/ScreenSavers/nerverot.desktop -%{tde_datadir}/applnk/System/ScreenSavers/noof.desktop -%{tde_datadir}/applnk/System/ScreenSavers/noseguy.desktop -%{tde_datadir}/applnk/System/ScreenSavers/pacman.desktop -%{tde_datadir}/applnk/System/ScreenSavers/pedal.desktop -%{tde_datadir}/applnk/System/ScreenSavers/penetrate.desktop -%{tde_datadir}/applnk/System/ScreenSavers/petri.desktop -%{tde_datadir}/applnk/System/ScreenSavers/phosphor.desktop -%{tde_datadir}/applnk/System/ScreenSavers/piecewise.desktop -%{tde_datadir}/applnk/System/ScreenSavers/pinion.desktop -%{tde_datadir}/applnk/System/ScreenSavers/polyominoes.desktop -%{tde_datadir}/applnk/System/ScreenSavers/pong.desktop -%{tde_datadir}/applnk/System/ScreenSavers/providence.desktop -%{tde_datadir}/applnk/System/ScreenSavers/pyro.desktop -%{tde_datadir}/applnk/System/ScreenSavers/qix.desktop -%{tde_datadir}/applnk/System/ScreenSavers/rd-bomb.desktop -%{tde_datadir}/applnk/System/ScreenSavers/rocks.desktop -%{tde_datadir}/applnk/System/ScreenSavers/rorschach.desktop -%{tde_datadir}/applnk/System/ScreenSavers/rotzoomer.desktop -%{tde_datadir}/applnk/System/ScreenSavers/rubik.desktop -%{tde_datadir}/applnk/System/ScreenSavers/sballs.desktop -%{tde_datadir}/applnk/System/ScreenSavers/sierpinski.desktop -%{tde_datadir}/applnk/System/ScreenSavers/slip.desktop -%{tde_datadir}/applnk/System/ScreenSavers/speedmine.desktop -%{tde_datadir}/applnk/System/ScreenSavers/spotlight.desktop -%{tde_datadir}/applnk/System/ScreenSavers/sproingies.desktop -%{tde_datadir}/applnk/System/ScreenSavers/squiral.desktop -%{tde_datadir}/applnk/System/ScreenSavers/stairs.desktop -%{tde_datadir}/applnk/System/ScreenSavers/starfish.desktop -%{tde_datadir}/applnk/System/ScreenSavers/starwars.desktop -%{tde_datadir}/applnk/System/ScreenSavers/strange.desktop -%{tde_datadir}/applnk/System/ScreenSavers/substrate.desktop -%{tde_datadir}/applnk/System/ScreenSavers/tangram.desktop -%{tde_datadir}/applnk/System/ScreenSavers/thornbird.desktop -%{tde_datadir}/applnk/System/ScreenSavers/timetunnel.desktop -%{tde_datadir}/applnk/System/ScreenSavers/triangle.desktop -%{tde_datadir}/applnk/System/ScreenSavers/truchet.desktop -%{tde_datadir}/applnk/System/ScreenSavers/twang.desktop -%{tde_datadir}/applnk/System/ScreenSavers/vermiculate.desktop -%{tde_datadir}/applnk/System/ScreenSavers/wander.desktop -%{tde_datadir}/applnk/System/ScreenSavers/whirlwindwarp.desktop -%{tde_datadir}/applnk/System/ScreenSavers/wormhole.desktop -%{tde_datadir}/applnk/System/ScreenSavers/xanalogtv.desktop -%{tde_datadir}/applnk/System/ScreenSavers/xflame.desktop -%{tde_datadir}/applnk/System/ScreenSavers/xrayswarm.desktop -%{tde_datadir}/applnk/System/ScreenSavers/xspirograph.desktop -%{tde_datadir}/applnk/System/ScreenSavers/zoom.desktop - -# These screensavers do not exist on OpenSuse 12.2 -%if 0%{?suse_version} == 0 -%{tde_datadir}/applnk/System/ScreenSavers/vidwhacker.desktop -%endif - -# These screensavers do not exist on Mageia 2 and Mandriva 2011 -%if 0%{?mgaversion} == 0 && 0%{?mdkversion} == 0 -%{tde_datadir}/applnk/System/ScreenSavers/xjack.desktop -%{tde_datadir}/applnk/System/ScreenSavers/xmatrix.desktop -%endif - -%endif - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n kdeartwork-3.5.13.1 -%patch1 -p0 - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" -export LD_LIBRARY_PATH="%{tde_libdir}" - -# Specific path for RHEL4 -if [ -d /usr/X11R6 ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - %{!?with_xscreensaver:-DWITH_XSCREENSAVER=OFF} \ - %{!?with_libart}:-DWITH_LIBART=OFF} \ - -DWITH_OPENGL=ON \ - -DWITH_ARTS=ON \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install -C build DESTDIR=%{buildroot} - -# webcollage -root -directory /usr/share/backgrounds/images #227683 - -# File lists -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - -# Duplicate with trinity-kbabel (from tdesdk) -%__rm -f %{?buildroot}%{tde_datadir}/icons/locolor/16x16/apps/kbabel.png -%__rm -f %{?buildroot}%{tde_datadir}/icons/locolor/32x32/apps/kbabel.png - -%clean -%__rm -rf %{buildroot} - - -%changelog -* Sun Sep 30 2012 Francois Andriot - 3.5.13.1-1 -- Initial build for TDE 3.5.13.1 diff --git a/redhat/tdeartwork/trinity-kdeartwork-3.5.13.spec b/redhat/tdeartwork/trinity-kdeartwork-3.5.13.spec deleted file mode 100644 index 10ae89f38..000000000 --- a/redhat/tdeartwork/trinity-kdeartwork-3.5.13.spec +++ /dev/null @@ -1,666 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -# kdeartwork specific settings -# On RHEL 6, libart is too old ! -%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} -%define with_libart 1 -%endif - - -Name: trinity-tdeartwork -Summary: Additional artwork (themes, sound themes, ...) for TDE -Version: 3.5.13 -Release: 3%{?dist}%{?_variant} - -License: GPLv2 -Group: User Interface/Desktops -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Vendor: Trinity Project -Packager: Francois Andriot -Url: http://www.trinitydesktop.org/ - -Source: kdeartwork-%{version}.tar.gz - -# FIXME: this should go in kde-settings -- Rex -Source1: webcollagerc - -BuildRequires: cmake >= 2.8 -BuildRequires: trinity-tdebase-devel >= 3.5.13 - -BuildRequires: gettext -BuildRequires: esound-devel - -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_xscreensaver 1 -BuildRequires: nas-devel -BuildRequires: xscreensaver - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}jack-devel -BuildRequires: xscreensaver-base -BuildRequires: xscreensaver-extrusion -BuildRequires: xscreensaver-gl -%else -BuildRequires: jack-audio-connection-kit-devel -%endif -%endif - -%if "%{?with_libart}" == "1" -BuildRequires: libart_lgpl-devel -%endif - - -Obsoletes: trinity-kdeartwork < %{version}-%{release} -Provides: trinity-kdeartwork = %{version}-%{release} - -# Metapackage -Requires: %{name}-emoticons = %{version}-%{release} -Requires: %{name}-misc = %{version}-%{release} -Requires: %{name}-style = %{version}-%{release} -Requires: %{name}-theme-icon = %{version}-%{release} -Requires: %{name}-theme-window = %{version}-%{release} -Requires: trinity-kdewallpapers = %{version}-%{release} -Requires: trinity-kscreensaver = %{version}-%{release} - -%if 0%{?with_xscreensaver} -Requires: trinity-kscreensaver-xsavers = %{version}-%{release} -Requires: trinity-kscreensaver-xsavers-webcollage = %{version}-%{release} -Requires: trinity-kscreensaver-xsavers-extra = %{version}-%{release} -%endif - - -%description -TDE (the Trinity Desktop Environment) is a powerful Open Source graphical -desktop environment for Unix workstations. It combines ease of use, -contemporary functionality, and outstanding graphical design with the -technological superiority of the Unix operating system. - -This metapackage includes a collection of artistic extras (themes, widget -styles, screen savers, wallpaper, icons, emoticons and so on) provided -with the official release of KDE. - -Homepage: http://artist.kde.org - -%files - -########## - -%package emoticons -Summary: emoticon collections for tDE chat clients -Group: User Interface/Desktops - -%description emoticons -This package contains several collections of emoticons used by official -and unofficial KDE chat clients, such as Kopete and Konversation. - -This package is part of KDE, and a component of the KDE artwork module. - -%files emoticons -%defattr(-,root,root,-) -%{tde_datadir}/emoticons/ - -########## - -%package misc -Summary: various multimedia goodies released with TDE -Group: User Interface/Desktops - -%description misc -This package contains miscellaneous multimedia goodies for KDE. -Included are additional TDE sounds and kworldclock themes. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files misc -%defattr(-,root,root,-) -%{tde_datadir}/apps/kworldclock/ -%{tde_datadir}/sounds/KDE_Logout_new.wav -%{tde_datadir}/sounds/KDE_Startup_new.wav - -########## - -%package style -Summary: widget styles released with Trinity -Group: User Interface/Desktops - -%description style -This package contains additional widget styles for Trinity. Widget styles -can be used to customise the look and feel of interface components such -as buttons, scrollbars and so on. They can be applied using the style -manager in the TDE Control Centre. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files style -%defattr(-,root,root,-) -%{tde_tdelibdir}/plugins/styles/ -%{tde_tdelibdir}/kstyle_phase_config.la -%{tde_tdelibdir}/kstyle_phase_config.so -%{tde_datadir}/apps/kstyle/ - -########## - -%package theme-icon -Summary: icon themes released with Trinity -Group: User Interface/Desktops - -Obsoletes: trinity-kdeartwork-icons < %{version}-%{release} -Provides: trinity-kdeartwork-icons = %{version}-%{release} - -%description theme-icon -This package contains additional icon themes for Trinity. Icon themes can be -used to customise the appearance of standard icons throughout KDE. They -can be applied using the icon manager in the Trinity Control Centre. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files theme-icon -%defattr(-,root,root,-) -%{tde_datadir}/icons/*/* - -%post theme-icon -for i in locolor ikons kdeclassic kids slick ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done - -%postun theme-icon -for i in locolor ikons kdeclassic kids slick ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done - -########## - -%package theme-window -Summary: window decoration themes released with Trinity -Group: User Interface/Desktops - -%description theme-window -This package contains additional window decoration themes for Trinity. Window -decoration themes can be used to customise the look of window borders and -buttons, and can be applied using the window decoration manager in the Trinity -Control Center. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files theme-window -%defattr(-,root,root,-) -%{tde_tdelibdir}/[kt]win* -%{tde_datadir}/apps/[kt]win/ - -########## - -%package -n trinity-kdewallpapers -Summary: wallpapers released with Trinity -Group: User Interface/Desktops - -%description -n trinity-kdewallpapers -This package contains additional wallpapers for Trinity. Wallpapers can be -applied using the background manager in the TDE Control Centre. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files -n trinity-kdewallpapers -%defattr(-,root,root,-) -%{tde_datadir}/wallpapers/ - -########## - -%package -n trinity-kscreensaver -Summary: additional screen savers released with Trinity -Group: User Interface/Desktops - -%description -n trinity-kscreensaver -This package contains the screen savers for Trinity. They can be tested and -selected within the Appearance and Themes section of the Trinity Control -Center. - -The hooks for the standard xscreensavers are no longer part of this -package. To select and/or configure the standard xscreensavers through -the TDE Control Center, install the separate package kscreensaver-xsavers. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files -n trinity-kscreensaver -%defattr(-,root,root,-) -%{tde_bindir}/kslideshow.kss -%{tde_bindir}/kpolygon.kss -%{tde_bindir}/krotation.kss -%{tde_bindir}/ksolarwinds.kss -%{tde_bindir}/klorenz.kss -%{tde_bindir}/kvm.kss -%{tde_bindir}/kflux.kss -%{tde_bindir}/kscience.kss -%{tde_bindir}/kbanner.kss -%{tde_bindir}/kfiresaver.kss -%{tde_bindir}/keuphoria.kss -%{tde_bindir}/kfountain.kss -%{tde_bindir}/kgravity.kss -%{tde_bindir}/kpartsaver.kss -%{tde_bindir}/kpendulum.kss -%{tde_bindir}/kblob.kss -%{tde_bindir}/klines.kss -%{tde_bindir}/kwave.kss -%{tde_datadir}/applnk/System/ScreenSavers/KBanner.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KBlob.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KEuphoria.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KFiresaver.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KFlux.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KFountain.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KGravity.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KLines-saver.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KLorenz.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KPendulum.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KPolygon.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KRotation.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KScience.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KSlideshow.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KSolarWinds.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KVm.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KWave.desktop -%{tde_datadir}/applnk/System/ScreenSavers/kpartsaver.desktop -%{tde_datadir}/apps/kfiresaver/ -%{tde_datadir}/apps/kscreensaver/ - -# RHEL 5 and 6 do not build theses files - not sure why ... -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%{tde_bindir}/kspace.kss -%{tde_bindir}/kclock.kss -%{tde_bindir}/kswarm.kss -%{tde_datadir}/applnk/System/ScreenSavers/KClock.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KSpace.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KSwarm.desktop -%endif - -########## - -%if 0%{?with_xscreensaver} - -%package -n trinity-kscreensaver-xsavers -Summary: Trinity hooks for standard xscreensavers -Group: User Interface/Desktops -Requires: trinity-tdebase-bin >= 3.5.13 -Requires: xscreensaver - -%description -n trinity-kscreensaver-xsavers -This package allows a smooth integration of the standard xscreensavers -into Trinity. With this package installed you can select and/or configure -the standard xscreensavers through the Appearances and Themes section of -the Trinity Control Centre. - -Note that this package does not actually contain any screensavers itself. -For the additional screensavers shipped with Trinity, see the separate package -kscreensaver-trinity. This package does depend on the xscreensaver package, and -recommend the xscreensaver-gl package, as well as contain the necessary -files to integrate these packages into Trinity. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files -n trinity-kscreensaver-xsavers -%defattr(-,root,root,-) -#%{tde_bindir}/xscreensaver-getimage-file -#%{tde_bindir}/xscreensaver-getimage -%{tde_bindir}/kxsconfig -%{tde_bindir}/kxsrun -%{tde_datadir}/applnk/System/ScreenSavers/antinspect.desktop -%{tde_datadir}/applnk/System/ScreenSavers/antspotlight.desktop -%{tde_datadir}/applnk/System/ScreenSavers/atunnel.desktop -%{tde_datadir}/applnk/System/ScreenSavers/blinkbox.desktop -%{tde_datadir}/applnk/System/ScreenSavers/braid.desktop -%{tde_datadir}/applnk/System/ScreenSavers/bubble3d.desktop -%{tde_datadir}/applnk/System/ScreenSavers/circuit.desktop -%{tde_datadir}/applnk/System/ScreenSavers/cubestorm.desktop -%{tde_datadir}/applnk/System/ScreenSavers/deco.desktop -%{tde_datadir}/applnk/System/ScreenSavers/distort.desktop -%{tde_datadir}/applnk/System/ScreenSavers/endgame.desktop -%{tde_datadir}/applnk/System/ScreenSavers/engine.desktop -%{tde_datadir}/applnk/System/ScreenSavers/fiberlamp.desktop -%{tde_datadir}/applnk/System/ScreenSavers/flipflop.desktop -%{tde_datadir}/applnk/System/ScreenSavers/flipscreen3d.desktop -%{tde_datadir}/applnk/System/ScreenSavers/flyingtoasters.desktop -%{tde_datadir}/applnk/System/ScreenSavers/fuzzyflakes.desktop -%{tde_datadir}/applnk/System/ScreenSavers/galaxy.desktop -%{tde_datadir}/applnk/System/ScreenSavers/gears.desktop -%{tde_datadir}/applnk/System/ScreenSavers/gflux.desktop -%{tde_datadir}/applnk/System/ScreenSavers/glblur.desktop -%{tde_datadir}/applnk/System/ScreenSavers/gleidescope.desktop -%{tde_datadir}/applnk/System/ScreenSavers/glknots.desktop -%{tde_datadir}/applnk/System/ScreenSavers/glslideshow.desktop -%{tde_datadir}/applnk/System/ScreenSavers/glsnake.desktop -%{tde_datadir}/applnk/System/ScreenSavers/gltext.desktop -%{tde_datadir}/applnk/System/ScreenSavers/hypertorus.desktop -%{tde_datadir}/applnk/System/ScreenSavers/jigglypuff.desktop -%{tde_datadir}/applnk/System/ScreenSavers/lavalite.desktop -%{tde_datadir}/applnk/System/ScreenSavers/metaballs.desktop -%{tde_datadir}/applnk/System/ScreenSavers/mirrorblob.desktop -%{tde_datadir}/applnk/System/ScreenSavers/moebius.desktop -%{tde_datadir}/applnk/System/ScreenSavers/molecule.desktop -%{tde_datadir}/applnk/System/ScreenSavers/morph3d.desktop -%{tde_datadir}/applnk/System/ScreenSavers/penrose.desktop -%{tde_datadir}/applnk/System/ScreenSavers/pipes.desktop -%{tde_datadir}/applnk/System/ScreenSavers/polyhedra.desktop -%{tde_datadir}/applnk/System/ScreenSavers/polytopes.desktop -%{tde_datadir}/applnk/System/ScreenSavers/popsquares.desktop -%{tde_datadir}/applnk/System/ScreenSavers/pulsar.desktop -%{tde_datadir}/applnk/System/ScreenSavers/queens.desktop -%{tde_datadir}/applnk/System/ScreenSavers/ripples.desktop -%{tde_datadir}/applnk/System/ScreenSavers/shadebobs.desktop -%{tde_datadir}/applnk/System/ScreenSavers/sierpinski3d.desktop -%{tde_datadir}/applnk/System/ScreenSavers/slidescreen.desktop -%{tde_datadir}/applnk/System/ScreenSavers/sonar.desktop -%{tde_datadir}/applnk/System/ScreenSavers/spheremonics.desktop -%{tde_datadir}/applnk/System/ScreenSavers/stonerview.desktop -%{tde_datadir}/applnk/System/ScreenSavers/superquadrics.desktop -%{tde_datadir}/applnk/System/ScreenSavers/swirl.desktop -%{tde_datadir}/applnk/System/ScreenSavers/xlyap.desktop -%{tde_datadir}/applnk/System/ScreenSavers/m6502.desktop -%{tde_datadir}/applnk/System/ScreenSavers/glschool.desktop -%{tde_datadir}/applnk/System/ScreenSavers/moebiusgears.desktop -%{tde_datadir}/applnk/System/ScreenSavers/glcells.desktop -%{tde_datadir}/applnk/System/ScreenSavers/abstractile.desktop -%{tde_datadir}/applnk/System/ScreenSavers/lockward.desktop -%{tde_datadir}/applnk/System/ScreenSavers/cwaves.desktop -%{tde_datadir}/applnk/System/ScreenSavers/topblock.desktop -%{tde_datadir}/applnk/System/ScreenSavers/voronoi.desktop -%{tde_datadir}/applnk/System/ScreenSavers/cubicgrid.desktop -%{tde_datadir}/applnk/System/ScreenSavers/hypnowheel.desktop -%{tde_datadir}/applnk/System/ScreenSavers/lcdscrub.desktop -%{tde_datadir}/applnk/System/ScreenSavers/photopile.desktop -%{tde_datadir}/applnk/System/ScreenSavers/skytentacles.desktop - -# These screensavers do not exist on Mageia 2 -%if 0%{?mgaversion} == 0 && 0%{?mdkversion} == 0 -%{tde_datadir}/applnk/System/ScreenSavers/glmatrix.desktop -%endif - -########## - -%package -n trinity-kscreensaver-xsavers-webcollage -Summary: webcollage screensaver Trinity hook -Group: User Interface/Desktops -Requires: trinity-kscreensaver-xsavers-extra = %{version}-%{release} -Requires: netpbm - -%description -n trinity-kscreensaver-xsavers-webcollage -This package give access to the webcollage screensaver through the Trinity -screensaver configuration. - -This screensaver downloads random pictures from the internet and creates -a collage as screensaver. - -IMPORTANT NOTICE: The internet contains all kinds of pictures, some of which -you might find inappropriate and offensive. -You are specially discouraged to install this package if you are using -your computer in a working environment or in an environment with children. - -If you still want to install this package, please read the file -/usr/share/doc/kscreensaver-xsavers-webcollage/README.Debian after the -installation. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files -n trinity-kscreensaver-xsavers-webcollage -%defattr(-,root,root,-) -%{tde_datadir}/applnk/System/ScreenSavers/webcollage.desktop - -########## - -%package -n trinity-kscreensaver-xsavers-extra -Summary: Trinity hooks for standard xscreensavers -Group: User Interface/Desktops -Requires: trinity-kscreensaver-xsavers = %{version}-%{release} - -%description -n trinity-kscreensaver-xsavers-extra -This package allows a smooth integration of the universe xscreensavers -into Trinity. With this package installed you can select and/or configure -the universe xscreensavers through the Appearances and Themes section of -the Trinity Control Centre. - -Note that this package does not actually contain any screensavers itself. -For the additional screensavers shipped with TDE, see the separate package -kscreensaver. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files -n trinity-kscreensaver-xsavers-extra -%defattr(-,root,root,-) -%{tde_datadir}/applnk/System/ScreenSavers/anemone.desktop -%{tde_datadir}/applnk/System/ScreenSavers/anemotaxis.desktop -%{tde_datadir}/applnk/System/ScreenSavers/antmaze.desktop -%{tde_datadir}/applnk/System/ScreenSavers/apollonian.desktop -%{tde_datadir}/applnk/System/ScreenSavers/apple2.desktop -%{tde_datadir}/applnk/System/ScreenSavers/atlantis.desktop -%{tde_datadir}/applnk/System/ScreenSavers/attraction.desktop -%{tde_datadir}/applnk/System/ScreenSavers/barcode.desktop -%{tde_datadir}/applnk/System/ScreenSavers/blaster.desktop -%{tde_datadir}/applnk/System/ScreenSavers/blitspin.desktop -%{tde_datadir}/applnk/System/ScreenSavers/blocktube.desktop -%{tde_datadir}/applnk/System/ScreenSavers/boing.desktop -%{tde_datadir}/applnk/System/ScreenSavers/bouboule.desktop -%{tde_datadir}/applnk/System/ScreenSavers/bouncingcow.desktop -%{tde_datadir}/applnk/System/ScreenSavers/boxed.desktop -%{tde_datadir}/applnk/System/ScreenSavers/boxfit.desktop -%{tde_datadir}/applnk/System/ScreenSavers/bsod.desktop -%{tde_datadir}/applnk/System/ScreenSavers/bumps.desktop -%{tde_datadir}/applnk/System/ScreenSavers/cage.desktop -%{tde_datadir}/applnk/System/ScreenSavers/carousel.desktop -%{tde_datadir}/applnk/System/ScreenSavers/ccurve.desktop -%{tde_datadir}/applnk/System/ScreenSavers/celtic.desktop -%{tde_datadir}/applnk/System/ScreenSavers/cloudlife.desktop -%{tde_datadir}/applnk/System/ScreenSavers/compass.desktop -%{tde_datadir}/applnk/System/ScreenSavers/coral.desktop -%{tde_datadir}/applnk/System/ScreenSavers/crackberg.desktop -%{tde_datadir}/applnk/System/ScreenSavers/crystal.desktop -%{tde_datadir}/applnk/System/ScreenSavers/cube21.desktop -%{tde_datadir}/applnk/System/ScreenSavers/cubenetic.desktop -%{tde_datadir}/applnk/System/ScreenSavers/cynosure.desktop -%{tde_datadir}/applnk/System/ScreenSavers/dangerball.desktop -%{tde_datadir}/applnk/System/ScreenSavers/decayscreen.desktop -%{tde_datadir}/applnk/System/ScreenSavers/deluxe.desktop -%{tde_datadir}/applnk/System/ScreenSavers/demon.desktop -%{tde_datadir}/applnk/System/ScreenSavers/discrete.desktop -%{tde_datadir}/applnk/System/ScreenSavers/drift.desktop -%{tde_datadir}/applnk/System/ScreenSavers/epicycle.desktop -%{tde_datadir}/applnk/System/ScreenSavers/eruption.desktop -%{tde_datadir}/applnk/System/ScreenSavers/euler2d.desktop -%{tde_datadir}/applnk/System/ScreenSavers/extrusion.desktop -%{tde_datadir}/applnk/System/ScreenSavers/fadeplot.desktop -%{tde_datadir}/applnk/System/ScreenSavers/fireworkx.desktop -%{tde_datadir}/applnk/System/ScreenSavers/flame.desktop -%{tde_datadir}/applnk/System/ScreenSavers/fliptext.desktop -%{tde_datadir}/applnk/System/ScreenSavers/flow.desktop -%{tde_datadir}/applnk/System/ScreenSavers/fluidballs.desktop -%{tde_datadir}/applnk/System/ScreenSavers/flurry.desktop -%{tde_datadir}/applnk/System/ScreenSavers/fontglide.desktop -%{tde_datadir}/applnk/System/ScreenSavers/glhanoi.desktop -%{tde_datadir}/applnk/System/ScreenSavers/glplanet.desktop -%{tde_datadir}/applnk/System/ScreenSavers/goop.desktop -%{tde_datadir}/applnk/System/ScreenSavers/grav.desktop -%{tde_datadir}/applnk/System/ScreenSavers/greynetic.desktop -%{tde_datadir}/applnk/System/ScreenSavers/halftone.desktop -%{tde_datadir}/applnk/System/ScreenSavers/halo.desktop -%{tde_datadir}/applnk/System/ScreenSavers/helix.desktop -%{tde_datadir}/applnk/System/ScreenSavers/hopalong.desktop -%{tde_datadir}/applnk/System/ScreenSavers/ifs.desktop -%{tde_datadir}/applnk/System/ScreenSavers/imsmap.desktop -%{tde_datadir}/applnk/System/ScreenSavers/interaggregate.desktop -%{tde_datadir}/applnk/System/ScreenSavers/interference.desktop -%{tde_datadir}/applnk/System/ScreenSavers/intermomentary.desktop -%{tde_datadir}/applnk/System/ScreenSavers/jigsaw.desktop -%{tde_datadir}/applnk/System/ScreenSavers/juggler3d.desktop -%{tde_datadir}/applnk/System/ScreenSavers/julia.desktop -%{tde_datadir}/applnk/System/ScreenSavers/kaleidescope.desktop -%{tde_datadir}/applnk/System/ScreenSavers/klein.desktop -%{tde_datadir}/applnk/System/ScreenSavers/kumppa.desktop -%{tde_datadir}/applnk/System/ScreenSavers/lament.desktop -%{tde_datadir}/applnk/System/ScreenSavers/loop.desktop -%{tde_datadir}/applnk/System/ScreenSavers/maze.desktop -%{tde_datadir}/applnk/System/ScreenSavers/memscroller.desktop -%{tde_datadir}/applnk/System/ScreenSavers/menger.desktop -%{tde_datadir}/applnk/System/ScreenSavers/moire.desktop -%{tde_datadir}/applnk/System/ScreenSavers/moire2.desktop -%{tde_datadir}/applnk/System/ScreenSavers/mountain.desktop -%{tde_datadir}/applnk/System/ScreenSavers/munch.desktop -%{tde_datadir}/applnk/System/ScreenSavers/nerverot.desktop -%{tde_datadir}/applnk/System/ScreenSavers/noof.desktop -%{tde_datadir}/applnk/System/ScreenSavers/noseguy.desktop -%{tde_datadir}/applnk/System/ScreenSavers/pacman.desktop -%{tde_datadir}/applnk/System/ScreenSavers/pedal.desktop -%{tde_datadir}/applnk/System/ScreenSavers/penetrate.desktop -%{tde_datadir}/applnk/System/ScreenSavers/petri.desktop -%{tde_datadir}/applnk/System/ScreenSavers/phosphor.desktop -%{tde_datadir}/applnk/System/ScreenSavers/piecewise.desktop -%{tde_datadir}/applnk/System/ScreenSavers/pinion.desktop -%{tde_datadir}/applnk/System/ScreenSavers/polyominoes.desktop -%{tde_datadir}/applnk/System/ScreenSavers/pong.desktop -%{tde_datadir}/applnk/System/ScreenSavers/providence.desktop -%{tde_datadir}/applnk/System/ScreenSavers/pyro.desktop -%{tde_datadir}/applnk/System/ScreenSavers/qix.desktop -%{tde_datadir}/applnk/System/ScreenSavers/rd-bomb.desktop -%{tde_datadir}/applnk/System/ScreenSavers/rocks.desktop -%{tde_datadir}/applnk/System/ScreenSavers/rorschach.desktop -%{tde_datadir}/applnk/System/ScreenSavers/rotzoomer.desktop -%{tde_datadir}/applnk/System/ScreenSavers/rubik.desktop -%{tde_datadir}/applnk/System/ScreenSavers/sballs.desktop -%{tde_datadir}/applnk/System/ScreenSavers/sierpinski.desktop -%{tde_datadir}/applnk/System/ScreenSavers/slip.desktop -%{tde_datadir}/applnk/System/ScreenSavers/speedmine.desktop -%{tde_datadir}/applnk/System/ScreenSavers/spotlight.desktop -%{tde_datadir}/applnk/System/ScreenSavers/sproingies.desktop -%{tde_datadir}/applnk/System/ScreenSavers/squiral.desktop -%{tde_datadir}/applnk/System/ScreenSavers/stairs.desktop -%{tde_datadir}/applnk/System/ScreenSavers/starfish.desktop -%{tde_datadir}/applnk/System/ScreenSavers/starwars.desktop -%{tde_datadir}/applnk/System/ScreenSavers/strange.desktop -%{tde_datadir}/applnk/System/ScreenSavers/substrate.desktop -%{tde_datadir}/applnk/System/ScreenSavers/tangram.desktop -%{tde_datadir}/applnk/System/ScreenSavers/thornbird.desktop -%{tde_datadir}/applnk/System/ScreenSavers/timetunnel.desktop -%{tde_datadir}/applnk/System/ScreenSavers/triangle.desktop -%{tde_datadir}/applnk/System/ScreenSavers/truchet.desktop -%{tde_datadir}/applnk/System/ScreenSavers/twang.desktop -%{tde_datadir}/applnk/System/ScreenSavers/vermiculate.desktop -%{tde_datadir}/applnk/System/ScreenSavers/vidwhacker.desktop -%{tde_datadir}/applnk/System/ScreenSavers/wander.desktop -%{tde_datadir}/applnk/System/ScreenSavers/whirlwindwarp.desktop -%{tde_datadir}/applnk/System/ScreenSavers/wormhole.desktop -%{tde_datadir}/applnk/System/ScreenSavers/xanalogtv.desktop -%{tde_datadir}/applnk/System/ScreenSavers/xflame.desktop -%{tde_datadir}/applnk/System/ScreenSavers/xrayswarm.desktop -%{tde_datadir}/applnk/System/ScreenSavers/xspirograph.desktop -%{tde_datadir}/applnk/System/ScreenSavers/zoom.desktop - -# These screensavers do not exist on Mageia 2 and Mandriva 2011 -%if 0%{?mgaversion} == 0 && 0%{?mdkversion} == 0 -%{tde_datadir}/applnk/System/ScreenSavers/xjack.desktop -%{tde_datadir}/applnk/System/ScreenSavers/xmatrix.desktop -%endif - -%endif - -########## - - -%prep -%setup -q -n kdeartwork - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" -export LD_LIBRARY_PATH="%{tde_libdir}" - -%if 0%{?rhel} || 0%{?fedora} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ -%if 0%{?with_xscreensaver} - -DWITH_XSCREENSAVER=ON \ -%else - -DWITH_XSCREENSAVER=OFF \ -%endif -%if "%{?with_libart}" == "1" - -DWITH_LIBART=ON \ -%else - -DWITH_LIBART=OFF \ -%endif - -DWITH_OPENGL=ON \ - -DWITH_ARTS=ON \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install -C build DESTDIR=%{buildroot} - -# webcollage -root -directory /usr/share/backgrounds/images #227683 - -# File lists -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - - - -%clean -%__rm -rf %{buildroot} - - -%changelog -* Tue Jul 30 2012 Francois Andriot - 3.5.13-3 -- Split into several packages -- Add support for Mageia 2 - -* Fri Nov 04 2011 Francois Andriot - 3.5.13-2 -- Updates BuildRequires - -* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 -- Initial release for RHEL 6, RHEL 5 and Fedora 15 - -* Sun Sep 11 2011 Francois Andriot - 3.5.13-0 -- Import to GIT diff --git a/redhat/tdeartwork/trinity-tdeartwork-3.5.13.2.spec b/redhat/tdeartwork/trinity-tdeartwork-3.5.13.2.spec deleted file mode 100644 index 62547450d..000000000 --- a/redhat/tdeartwork/trinity-tdeartwork-3.5.13.2.spec +++ /dev/null @@ -1,710 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-tdeartwork -Summary: Additional artwork (themes, sound themes, ...) for TDE -Version: 3.5.13.2 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} - -License: GPLv2 -Group: User Interface/Desktops -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Vendor: Trinity Project -Packager: Francois Andriot -Url: http://www.trinitydesktop.org/ - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz - - -BuildRequires: cmake >= 2.8 -BuildRequires: trinity-tdebase-devel >= %{version} - -BuildRequires: gettext -BuildRequires: esound-devel - -# kdeartwork specific settings - -# OpenGL support -%if 0%{?rhel} == 4 -BuildRequires: xorg-x11-Mesa-libGLU -%endif - -# NAS support -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: nas-devel -%endif - -# LIBART support -# On RHEL, libart is too old ! -%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define with_libart 1 -BuildRequires: libart_lgpl-devel -%endif - -# XSCREENSAVER support -%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version} -%define with_xscreensaver 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel -BuildRequires: xscreensaver -BuildRequires: xscreensaver-base -BuildRequires: xscreensaver-extrusion -BuildRequires: xscreensaver-gl -%endif -%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} >= 1220 -BuildRequires: libXScrnSaver-devel -%endif - -%if 0%{?fedora} || 0%{?rhel} >= 6 -# Provides '/usr/share/xscreensaver/config/deco.xml' -BuildRequires: xscreensaver -BuildRequires: xscreensaver-extras -%endif -%if 0%{?suse_version} -BuildRequires: xscreensaver -BuildRequires: xscreensaver-data -BuildRequires: xscreensaver-data-extra -%endif - -# Opensuse does not provide 'webcollage' screensaver -%if 0%{?suse_version} == 0 -%define with_webcollage 1 -%endif - -%endif - -# JACK support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}jack-devel -%endif -%if 0%{?fedora} || 0%{?rhel} >= 5 -BuildRequires: jack-audio-connection-kit-devel -%endif - - -Obsoletes: trinity-kdeartwork < %{version}-%{release} -Provides: trinity-kdeartwork = %{version}-%{release} - -# Metapackage -Requires: %{name}-emoticons = %{version}-%{release} -Requires: %{name}-misc = %{version}-%{release} -Requires: %{name}-style = %{version}-%{release} -Requires: %{name}-theme-icon = %{version}-%{release} -Requires: %{name}-theme-window = %{version}-%{release} -Requires: trinity-tdewallpapers = %{version}-%{release} -Requires: trinity-kscreensaver = %{version}-%{release} - -%if 0%{?with_xscreensaver} -Requires: trinity-kscreensaver-xsavers = %{version}-%{release} -Requires: trinity-kscreensaver-xsavers-extra = %{version}-%{release} -%if 0%{?with_webcollage} -Requires: trinity-kscreensaver-xsavers-webcollage = %{version}-%{release} -%endif -%endif - - -%description -TDE (the Trinity Desktop Environment) is a powerful Open Source graphical -desktop environment for Unix workstations. It combines ease of use, -contemporary functionality, and outstanding graphical design with the -technological superiority of the Unix operating system. - -This metapackage includes a collection of artistic extras (themes, widget -styles, screen savers, wallpaper, icons, emoticons and so on) provided -with the official release of KDE. - -Homepage: http://artist.kde.org - -%files - -########## - -%package emoticons -Summary: emoticon collections for tDE chat clients -Group: User Interface/Desktops - -%description emoticons -This package contains several collections of emoticons used by official -and unofficial KDE chat clients, such as Kopete and Konversation. - -This package is part of KDE, and a component of the KDE artwork module. - -%files emoticons -%defattr(-,root,root,-) -%{tde_datadir}/emoticons/ - -########## - -%package misc -Summary: various multimedia goodies released with TDE -Group: User Interface/Desktops - -%description misc -This package contains miscellaneous multimedia goodies for KDE. -Included are additional TDE sounds and kworldclock themes. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files misc -%defattr(-,root,root,-) -%{tde_datadir}/apps/kworldclock/ -%{tde_datadir}/sounds/KDE_Logout_new.wav -%{tde_datadir}/sounds/KDE_Startup_new.wav - -########## - -%package style -Summary: widget styles released with Trinity -Group: User Interface/Desktops - -%description style -This package contains additional widget styles for Trinity. Widget styles -can be used to customise the look and feel of interface components such -as buttons, scrollbars and so on. They can be applied using the style -manager in the TDE Control Centre. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files style -%defattr(-,root,root,-) -%{tde_tdelibdir}/plugins/styles/ -%{tde_tdelibdir}/kstyle_phase_config.la -%{tde_tdelibdir}/kstyle_phase_config.so -%{tde_datadir}/apps/kstyle/ - -########## - -%package theme-icon -Summary: icon themes released with Trinity -Group: User Interface/Desktops - -Obsoletes: trinity-kdeartwork-icons < %{version}-%{release} -Provides: trinity-kdeartwork-icons = %{version}-%{release} - -%description theme-icon -This package contains additional icon themes for Trinity. Icon themes can be -used to customise the appearance of standard icons throughout KDE. They -can be applied using the icon manager in the Trinity Control Centre. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files theme-icon -%defattr(-,root,root,-) -%{tde_datadir}/icons/*/* - -%post theme-icon -for i in locolor ikons kdeclassic kids slick ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done - -%postun theme-icon -for i in locolor ikons kdeclassic kids slick ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done - -########## - -%package theme-window -Summary: window decoration themes released with Trinity -Group: User Interface/Desktops - -%description theme-window -This package contains additional window decoration themes for Trinity. Window -decoration themes can be used to customise the look of window borders and -buttons, and can be applied using the window decoration manager in the Trinity -Control Center. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files theme-window -%defattr(-,root,root,-) -%{tde_tdelibdir}/[kt]win* -%{tde_datadir}/apps/[kt]win/ - -########## - -%package -n trinity-tdewallpapers -Summary: wallpapers released with Trinity -Group: User Interface/Desktops -Obsoletes: trinity-kdewallpapers < %{version}-%{release} -Provides: trinity-kdewallpapers = %{version}-%{release} - -%description -n trinity-tdewallpapers -This package contains additional wallpapers for Trinity. Wallpapers can be -applied using the background manager in the TDE Control Centre. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files -n trinity-tdewallpapers -%defattr(-,root,root,-) -%{tde_datadir}/wallpapers/* - -########## - -%package -n trinity-kscreensaver -Summary: additional screen savers released with Trinity -Group: User Interface/Desktops - -%description -n trinity-kscreensaver -This package contains the screen savers for Trinity. They can be tested and -selected within the Appearance and Themes section of the Trinity Control -Center. - -The hooks for the standard xscreensavers are no longer part of this -package. To select and/or configure the standard xscreensavers through -the TDE Control Center, install the separate package kscreensaver-xsavers. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files -n trinity-kscreensaver -%defattr(-,root,root,-) -%{tde_bindir}/kslideshow.kss -%{tde_bindir}/kpolygon.kss -%{tde_bindir}/krotation.kss -%{tde_bindir}/ksolarwinds.kss -%{tde_bindir}/klorenz.kss -%{tde_bindir}/kvm.kss -%{tde_bindir}/kflux.kss -%{tde_bindir}/kscience.kss -%{tde_bindir}/kbanner.kss -%{tde_bindir}/kclock.kss -%{tde_bindir}/kfiresaver.kss -%{tde_bindir}/keuphoria.kss -%{tde_bindir}/kfountain.kss -%{tde_bindir}/kgravity.kss -%{tde_bindir}/kpartsaver.kss -%{tde_bindir}/kpendulum.kss -%{tde_bindir}/kblob.kss -%{tde_bindir}/klines.kss -%{tde_bindir}/kwave.kss -%{tde_datadir}/applnk/System/ScreenSavers/KBanner.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KBlob.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KClock.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KEuphoria.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KFiresaver.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KFlux.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KFountain.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KGravity.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KLines-saver.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KLorenz.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KPendulum.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KPolygon.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KRotation.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KScience.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KSlideshow.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KSolarWinds.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KVm.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KWave.desktop -%{tde_datadir}/applnk/System/ScreenSavers/kpartsaver.desktop -%{tde_datadir}/apps/kfiresaver/ -%{tde_datadir}/apps/kscreensaver/ - -%if 0%{?with_xscreensaver} -%{tde_bindir}/kspace.kss -%{tde_bindir}/kswarm.kss -%{tde_datadir}/applnk/System/ScreenSavers/KSpace.desktop -%{tde_datadir}/applnk/System/ScreenSavers/KSwarm.desktop -%endif - -########## - -%if 0%{?with_xscreensaver} - -%package -n trinity-kscreensaver-xsavers -Summary: Trinity hooks for standard xscreensavers -Group: User Interface/Desktops -Requires: trinity-tdebase-bin >= 3.5.13 -Requires: xscreensaver - -%description -n trinity-kscreensaver-xsavers -This package allows a smooth integration of the standard xscreensavers -into Trinity. With this package installed you can select and/or configure -the standard xscreensavers through the Appearances and Themes section of -the Trinity Control Centre. - -Note that this package does not actually contain any screensavers itself. -For the additional screensavers shipped with Trinity, see the separate package -kscreensaver-trinity. This package does depend on the xscreensaver package, and -recommend the xscreensaver-gl package, as well as contain the necessary -files to integrate these packages into Trinity. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files -n trinity-kscreensaver-xsavers -%defattr(-,root,root,-) -%{tde_bindir}/xscreensaver-getimage-file -%{tde_bindir}/xscreensaver-getimage -%{tde_bindir}/kxsconfig -%{tde_bindir}/kxsrun -%{tde_datadir}/applnk/System/ScreenSavers/antinspect.desktop -%{tde_datadir}/applnk/System/ScreenSavers/antspotlight.desktop -%{tde_datadir}/applnk/System/ScreenSavers/atunnel.desktop -%{tde_datadir}/applnk/System/ScreenSavers/blinkbox.desktop -%{tde_datadir}/applnk/System/ScreenSavers/braid.desktop -%{tde_datadir}/applnk/System/ScreenSavers/bubble3d.desktop -%{tde_datadir}/applnk/System/ScreenSavers/circuit.desktop -%{tde_datadir}/applnk/System/ScreenSavers/cubestorm.desktop -%{tde_datadir}/applnk/System/ScreenSavers/deco.desktop -%{tde_datadir}/applnk/System/ScreenSavers/distort.desktop -%{tde_datadir}/applnk/System/ScreenSavers/endgame.desktop -%{tde_datadir}/applnk/System/ScreenSavers/engine.desktop -%{tde_datadir}/applnk/System/ScreenSavers/fiberlamp.desktop -%{tde_datadir}/applnk/System/ScreenSavers/flipflop.desktop -%{tde_datadir}/applnk/System/ScreenSavers/flipscreen3d.desktop -%{tde_datadir}/applnk/System/ScreenSavers/flyingtoasters.desktop -%{tde_datadir}/applnk/System/ScreenSavers/fuzzyflakes.desktop -%{tde_datadir}/applnk/System/ScreenSavers/galaxy.desktop -%{tde_datadir}/applnk/System/ScreenSavers/gears.desktop -%{tde_datadir}/applnk/System/ScreenSavers/gflux.desktop -%{tde_datadir}/applnk/System/ScreenSavers/glblur.desktop -%{tde_datadir}/applnk/System/ScreenSavers/gleidescope.desktop -%{tde_datadir}/applnk/System/ScreenSavers/glknots.desktop -%{tde_datadir}/applnk/System/ScreenSavers/glslideshow.desktop -%{tde_datadir}/applnk/System/ScreenSavers/glsnake.desktop -%{tde_datadir}/applnk/System/ScreenSavers/gltext.desktop -%{tde_datadir}/applnk/System/ScreenSavers/hypertorus.desktop -%{tde_datadir}/applnk/System/ScreenSavers/jigglypuff.desktop -%{tde_datadir}/applnk/System/ScreenSavers/lavalite.desktop -%{tde_datadir}/applnk/System/ScreenSavers/metaballs.desktop -%{tde_datadir}/applnk/System/ScreenSavers/mirrorblob.desktop -%{tde_datadir}/applnk/System/ScreenSavers/moebius.desktop -%{tde_datadir}/applnk/System/ScreenSavers/molecule.desktop -%{tde_datadir}/applnk/System/ScreenSavers/morph3d.desktop -%{tde_datadir}/applnk/System/ScreenSavers/penrose.desktop -%{tde_datadir}/applnk/System/ScreenSavers/pipes.desktop -%{tde_datadir}/applnk/System/ScreenSavers/polyhedra.desktop -%{tde_datadir}/applnk/System/ScreenSavers/polytopes.desktop -%{tde_datadir}/applnk/System/ScreenSavers/popsquares.desktop -%{tde_datadir}/applnk/System/ScreenSavers/pulsar.desktop -%{tde_datadir}/applnk/System/ScreenSavers/queens.desktop -%{tde_datadir}/applnk/System/ScreenSavers/ripples.desktop -%{tde_datadir}/applnk/System/ScreenSavers/shadebobs.desktop -%{tde_datadir}/applnk/System/ScreenSavers/sierpinski3d.desktop -%{tde_datadir}/applnk/System/ScreenSavers/slidescreen.desktop -%{tde_datadir}/applnk/System/ScreenSavers/sonar.desktop -%{tde_datadir}/applnk/System/ScreenSavers/spheremonics.desktop -%{tde_datadir}/applnk/System/ScreenSavers/stonerview.desktop -%{tde_datadir}/applnk/System/ScreenSavers/superquadrics.desktop -%{tde_datadir}/applnk/System/ScreenSavers/swirl.desktop -%{tde_datadir}/applnk/System/ScreenSavers/xlyap.desktop -%{tde_datadir}/applnk/System/ScreenSavers/m6502.desktop -%{tde_datadir}/applnk/System/ScreenSavers/glschool.desktop -%{tde_datadir}/applnk/System/ScreenSavers/moebiusgears.desktop -%{tde_datadir}/applnk/System/ScreenSavers/glcells.desktop -%{tde_datadir}/applnk/System/ScreenSavers/abstractile.desktop -%{tde_datadir}/applnk/System/ScreenSavers/lockward.desktop -%{tde_datadir}/applnk/System/ScreenSavers/cwaves.desktop -%{tde_datadir}/applnk/System/ScreenSavers/topblock.desktop -%{tde_datadir}/applnk/System/ScreenSavers/voronoi.desktop -%{tde_datadir}/applnk/System/ScreenSavers/cubicgrid.desktop -%{tde_datadir}/applnk/System/ScreenSavers/hypnowheel.desktop -%{tde_datadir}/applnk/System/ScreenSavers/lcdscrub.desktop -%{tde_datadir}/applnk/System/ScreenSavers/photopile.desktop -%{tde_datadir}/applnk/System/ScreenSavers/skytentacles.desktop - -# These screensavers do not exist on Mageia 2 -%if 0%{?mgaversion} == 0 && 0%{?mdkversion} == 0 -%{tde_datadir}/applnk/System/ScreenSavers/glmatrix.desktop -%endif - -########## - -%if 0%{?with_webcollage} - -%package -n trinity-kscreensaver-xsavers-webcollage -Summary: webcollage screensaver Trinity hook -Group: User Interface/Desktops -Requires: trinity-kscreensaver-xsavers-extra = %{version}-%{release} -Requires: netpbm - -%description -n trinity-kscreensaver-xsavers-webcollage -This package give access to the webcollage screensaver through the Trinity -screensaver configuration. - -This screensaver downloads random pictures from the internet and creates -a collage as screensaver. - -IMPORTANT NOTICE: The internet contains all kinds of pictures, some of which -you might find inappropriate and offensive. -You are specially discouraged to install this package if you are using -your computer in a working environment or in an environment with children. - -If you still want to install this package, please read the file -/usr/share/doc/kscreensaver-xsavers-webcollage/README.Debian after the -installation. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files -n trinity-kscreensaver-xsavers-webcollage -%defattr(-,root,root,-) -%{tde_datadir}/applnk/System/ScreenSavers/webcollage.desktop - -%endif - -########## - -%package -n trinity-kscreensaver-xsavers-extra -Summary: Trinity hooks for standard xscreensavers -Group: User Interface/Desktops -Requires: trinity-kscreensaver-xsavers = %{version}-%{release} - -%description -n trinity-kscreensaver-xsavers-extra -This package allows a smooth integration of the universe xscreensavers -into Trinity. With this package installed you can select and/or configure -the universe xscreensavers through the Appearances and Themes section of -the Trinity Control Centre. - -Note that this package does not actually contain any screensavers itself. -For the additional screensavers shipped with TDE, see the separate package -kscreensaver. - -This package is part of Trinity, and a component of the TDE artwork module. - -%files -n trinity-kscreensaver-xsavers-extra -%defattr(-,root,root,-) -%{tde_datadir}/applnk/System/ScreenSavers/anemone.desktop -%{tde_datadir}/applnk/System/ScreenSavers/anemotaxis.desktop -%{tde_datadir}/applnk/System/ScreenSavers/antmaze.desktop -%{tde_datadir}/applnk/System/ScreenSavers/apollonian.desktop -%{tde_datadir}/applnk/System/ScreenSavers/apple2.desktop -%{tde_datadir}/applnk/System/ScreenSavers/atlantis.desktop -%{tde_datadir}/applnk/System/ScreenSavers/attraction.desktop -%{tde_datadir}/applnk/System/ScreenSavers/barcode.desktop -%{tde_datadir}/applnk/System/ScreenSavers/blaster.desktop -%{tde_datadir}/applnk/System/ScreenSavers/blitspin.desktop -%{tde_datadir}/applnk/System/ScreenSavers/blocktube.desktop -%{tde_datadir}/applnk/System/ScreenSavers/boing.desktop -%{tde_datadir}/applnk/System/ScreenSavers/bouboule.desktop -%{tde_datadir}/applnk/System/ScreenSavers/bouncingcow.desktop -%{tde_datadir}/applnk/System/ScreenSavers/boxed.desktop -%{tde_datadir}/applnk/System/ScreenSavers/boxfit.desktop -%{tde_datadir}/applnk/System/ScreenSavers/bsod.desktop -%{tde_datadir}/applnk/System/ScreenSavers/bumps.desktop -%{tde_datadir}/applnk/System/ScreenSavers/cage.desktop -%{tde_datadir}/applnk/System/ScreenSavers/carousel.desktop -%{tde_datadir}/applnk/System/ScreenSavers/ccurve.desktop -%{tde_datadir}/applnk/System/ScreenSavers/celtic.desktop -%{tde_datadir}/applnk/System/ScreenSavers/cloudlife.desktop -%{tde_datadir}/applnk/System/ScreenSavers/compass.desktop -%{tde_datadir}/applnk/System/ScreenSavers/coral.desktop -%{tde_datadir}/applnk/System/ScreenSavers/crackberg.desktop -%{tde_datadir}/applnk/System/ScreenSavers/crystal.desktop -%{tde_datadir}/applnk/System/ScreenSavers/cube21.desktop -%{tde_datadir}/applnk/System/ScreenSavers/cubenetic.desktop -%{tde_datadir}/applnk/System/ScreenSavers/cynosure.desktop -%{tde_datadir}/applnk/System/ScreenSavers/dangerball.desktop -%{tde_datadir}/applnk/System/ScreenSavers/decayscreen.desktop -%{tde_datadir}/applnk/System/ScreenSavers/deluxe.desktop -%{tde_datadir}/applnk/System/ScreenSavers/demon.desktop -%{tde_datadir}/applnk/System/ScreenSavers/discrete.desktop -%{tde_datadir}/applnk/System/ScreenSavers/drift.desktop -%{tde_datadir}/applnk/System/ScreenSavers/epicycle.desktop -%{tde_datadir}/applnk/System/ScreenSavers/eruption.desktop -%{tde_datadir}/applnk/System/ScreenSavers/euler2d.desktop -%{tde_datadir}/applnk/System/ScreenSavers/extrusion.desktop -%{tde_datadir}/applnk/System/ScreenSavers/fadeplot.desktop -%{tde_datadir}/applnk/System/ScreenSavers/fireworkx.desktop -%{tde_datadir}/applnk/System/ScreenSavers/flame.desktop -%{tde_datadir}/applnk/System/ScreenSavers/fliptext.desktop -%{tde_datadir}/applnk/System/ScreenSavers/flow.desktop -%{tde_datadir}/applnk/System/ScreenSavers/fluidballs.desktop -%{tde_datadir}/applnk/System/ScreenSavers/flurry.desktop -%{tde_datadir}/applnk/System/ScreenSavers/fontglide.desktop -%{tde_datadir}/applnk/System/ScreenSavers/glhanoi.desktop -%{tde_datadir}/applnk/System/ScreenSavers/glplanet.desktop -%{tde_datadir}/applnk/System/ScreenSavers/goop.desktop -%{tde_datadir}/applnk/System/ScreenSavers/grav.desktop -%{tde_datadir}/applnk/System/ScreenSavers/greynetic.desktop -%{tde_datadir}/applnk/System/ScreenSavers/halftone.desktop -%{tde_datadir}/applnk/System/ScreenSavers/halo.desktop -%{tde_datadir}/applnk/System/ScreenSavers/helix.desktop -%{tde_datadir}/applnk/System/ScreenSavers/hopalong.desktop -%{tde_datadir}/applnk/System/ScreenSavers/ifs.desktop -%{tde_datadir}/applnk/System/ScreenSavers/imsmap.desktop -%{tde_datadir}/applnk/System/ScreenSavers/interaggregate.desktop -%{tde_datadir}/applnk/System/ScreenSavers/interference.desktop -%{tde_datadir}/applnk/System/ScreenSavers/intermomentary.desktop -%{tde_datadir}/applnk/System/ScreenSavers/jigsaw.desktop -%{tde_datadir}/applnk/System/ScreenSavers/juggler3d.desktop -%{tde_datadir}/applnk/System/ScreenSavers/julia.desktop -%{tde_datadir}/applnk/System/ScreenSavers/kaleidescope.desktop -%{tde_datadir}/applnk/System/ScreenSavers/klein.desktop -%{tde_datadir}/applnk/System/ScreenSavers/kumppa.desktop -%{tde_datadir}/applnk/System/ScreenSavers/lament.desktop -%{tde_datadir}/applnk/System/ScreenSavers/loop.desktop -%{tde_datadir}/applnk/System/ScreenSavers/maze.desktop -%{tde_datadir}/applnk/System/ScreenSavers/memscroller.desktop -%{tde_datadir}/applnk/System/ScreenSavers/menger.desktop -%{tde_datadir}/applnk/System/ScreenSavers/moire.desktop -%{tde_datadir}/applnk/System/ScreenSavers/moire2.desktop -%{tde_datadir}/applnk/System/ScreenSavers/mountain.desktop -%{tde_datadir}/applnk/System/ScreenSavers/munch.desktop -%{tde_datadir}/applnk/System/ScreenSavers/nerverot.desktop -%{tde_datadir}/applnk/System/ScreenSavers/noof.desktop -%{tde_datadir}/applnk/System/ScreenSavers/noseguy.desktop -%{tde_datadir}/applnk/System/ScreenSavers/pacman.desktop -%{tde_datadir}/applnk/System/ScreenSavers/pedal.desktop -%{tde_datadir}/applnk/System/ScreenSavers/penetrate.desktop -%{tde_datadir}/applnk/System/ScreenSavers/petri.desktop -%{tde_datadir}/applnk/System/ScreenSavers/phosphor.desktop -%{tde_datadir}/applnk/System/ScreenSavers/piecewise.desktop -%{tde_datadir}/applnk/System/ScreenSavers/pinion.desktop -%{tde_datadir}/applnk/System/ScreenSavers/polyominoes.desktop -%{tde_datadir}/applnk/System/ScreenSavers/pong.desktop -%{tde_datadir}/applnk/System/ScreenSavers/providence.desktop -%{tde_datadir}/applnk/System/ScreenSavers/pyro.desktop -%{tde_datadir}/applnk/System/ScreenSavers/qix.desktop -%{tde_datadir}/applnk/System/ScreenSavers/rd-bomb.desktop -%{tde_datadir}/applnk/System/ScreenSavers/rocks.desktop -%{tde_datadir}/applnk/System/ScreenSavers/rorschach.desktop -%{tde_datadir}/applnk/System/ScreenSavers/rotzoomer.desktop -%{tde_datadir}/applnk/System/ScreenSavers/rubik.desktop -%{tde_datadir}/applnk/System/ScreenSavers/sballs.desktop -%{tde_datadir}/applnk/System/ScreenSavers/sierpinski.desktop -%{tde_datadir}/applnk/System/ScreenSavers/slip.desktop -%{tde_datadir}/applnk/System/ScreenSavers/speedmine.desktop -%{tde_datadir}/applnk/System/ScreenSavers/spotlight.desktop -%{tde_datadir}/applnk/System/ScreenSavers/sproingies.desktop -%{tde_datadir}/applnk/System/ScreenSavers/squiral.desktop -%{tde_datadir}/applnk/System/ScreenSavers/stairs.desktop -%{tde_datadir}/applnk/System/ScreenSavers/starfish.desktop -%{tde_datadir}/applnk/System/ScreenSavers/starwars.desktop -%{tde_datadir}/applnk/System/ScreenSavers/strange.desktop -%{tde_datadir}/applnk/System/ScreenSavers/substrate.desktop -%{tde_datadir}/applnk/System/ScreenSavers/tangram.desktop -%{tde_datadir}/applnk/System/ScreenSavers/thornbird.desktop -%{tde_datadir}/applnk/System/ScreenSavers/timetunnel.desktop -%{tde_datadir}/applnk/System/ScreenSavers/triangle.desktop -%{tde_datadir}/applnk/System/ScreenSavers/truchet.desktop -%{tde_datadir}/applnk/System/ScreenSavers/twang.desktop -%{tde_datadir}/applnk/System/ScreenSavers/vermiculate.desktop -%{tde_datadir}/applnk/System/ScreenSavers/wander.desktop -%{tde_datadir}/applnk/System/ScreenSavers/whirlwindwarp.desktop -%{tde_datadir}/applnk/System/ScreenSavers/wormhole.desktop -%{tde_datadir}/applnk/System/ScreenSavers/xanalogtv.desktop -%{tde_datadir}/applnk/System/ScreenSavers/xflame.desktop -%{tde_datadir}/applnk/System/ScreenSavers/xrayswarm.desktop -%{tde_datadir}/applnk/System/ScreenSavers/xspirograph.desktop -%{tde_datadir}/applnk/System/ScreenSavers/zoom.desktop - -# These screensavers do not exist on OpenSuse 12.2 -%if 0%{?suse_version} == 0 -%{tde_datadir}/applnk/System/ScreenSavers/vidwhacker.desktop -%endif - -# These screensavers do not exist on Mageia 2 and Mandriva 2011 -%if 0%{?mgaversion} == 0 && 0%{?mdkversion} == 0 -%{tde_datadir}/applnk/System/ScreenSavers/xjack.desktop -%{tde_datadir}/applnk/System/ScreenSavers/xmatrix.desktop -%endif - -%endif - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" -export LD_LIBRARY_PATH="%{tde_libdir}" - -# Specific path for RHEL4 -if [ -d /usr/X11R6 ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - %{!?with_xscreensaver:-DWITH_XSCREENSAVER=OFF} \ - %{!?with_libart}:-DWITH_LIBART=OFF} \ - -DWITH_OPENGL=ON \ - -DWITH_ARTS=ON \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install -C build DESTDIR=%{buildroot} - -# webcollage -root -directory /usr/share/backgrounds/images #227683 - -# File lists -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - -# Duplicate with trinity-kbabel (from tdesdk) -%__rm -f %{?buildroot}%{tde_datadir}/icons/locolor/16x16/apps/kbabel.png -%__rm -f %{?buildroot}%{tde_datadir}/icons/locolor/32x32/apps/kbabel.png - -# Should not be here if xscreensaver is disabled -%if 0%{?with_xscreensaver} == 0 -%__rm -f %{?buildroot}%{tde_bindir}/xscreensaver-getimage -%__rm -f %{?buildroot}%{tde_bindir}/xscreensaver-getimage-file -%endif - - -%clean -%__rm -rf %{buildroot} - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 -- Initial release for TDE 3.5.13.2 diff --git a/redhat/tdebase/kdebase-3.5.12.spec b/redhat/tdebase/kdebase-3.5.12.spec new file mode 100644 index 000000000..9982abd3a --- /dev/null +++ b/redhat/tdebase/kdebase-3.5.12.spec @@ -0,0 +1,757 @@ +# Default version for this component +%if "%{?version}" == "" +%define version 3.5.12 +%endif +%define release 15 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_prefix}/share/doc +%endif + +# TDE 3.5.12 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir} +%define tde_libdir %{_libdir}/kde3 + +# Older RHEL/Fedora versions use packages named "qt", "qt-devel", .. +# whereas newer versions use "qt3", "qt3-devel" ... +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 8 +%define _qt_suffix 3 +%endif + + +Name: trinity-kdebase +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} +License: GPL +Summary: Trinity KDE Base Programs +Group: User Interface/Desktops + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: kdebase-%{version}.tar.gz + +# Wrapper script to prevent Plasma launch at Trinity Startup +Source1: plasma-desktop + +# Pam configuration files for RHEL / Fedora +Source2: pamd.kdm-trinity%{?dist} +Source3: pamd.kdm-trinity-np%{?dist} +Source4: pamd.kcheckpass-trinity%{?dist} +Source5: pamd.kscreensaver-trinity%{?dist} + +# TDE Official patches (from SVN), unmodified +# [kdebase/kcontrol] fix for openssl 1.0 +Patch1: http://www.trinitydesktop.org/patches/r1201523.diff +# [kdebase/kcontrol] make it compatible with openssl < 1.0 +Patch2: http://www.trinitydesktop.org/patches/r1201705.diff +# Fix My Documents shortcut on desktop +Patch3: http://www.trinitydesktop.org/patches/r1182808.diff +# [kdebase] fixed an incompatibility with gcc 4.5 +Patch4: http://www.trinitydesktop.org/patches/r1221326.diff + +# TDE Official patches (from SVN), modified +# [kdebase/ksmserver/shutdowndlg.cpp] Fixed invalid constructor per GCC 4.5.2 +Patch5: kdebase-3.5.12-r1220975.patch +# [kdebase] Another invalid constructor per gcc 4.5 +Patch6: kdebase-3.5.12-r1220927.patch + +# TDE unofficial patches, fixing FTBFS +## Fix for DBUS include files in RHEL6 +Patch7: kdebase-3.5.12-shutdowndlg-dbus-include.patch +## [kdebase/kcontrol]: disable components that depends of krandr (old distros) +Patch8: kdebase-3.5.12-disable-krandr.patch + +# TDE for RHEL/Fedora specific patches +## [kdebase/kdesu] Remove 'ignore' button on 'kdesu' dialog box +Patch10: kdebase-3.5.12-kdesu-noignorebutton.patch +## [kdebase/kdesktop] Modifies 'open terminal here' on desktop +Patch11: kdebase-3.5.12-desktop-openterminalhere.patch +## [kdebase/kioslave] Forces HAL backend to use HAL mount options +Patch12: kdebase-3.5.12-halmountoptions.patch +## [kdebase/kdm/kfrontend] Global Xsession file is '/etc/X11/xinit/Xsession' +Patch13: kdebase-3.5.13-genkdmconf_Xsession_location.patch +## [kdebase/kicker/kicker/ui] Fix kickoff menu issues +Patch14: kdebase-3.5.12-kickoff_unstable.patch +## [kdebase/startkde] Sets default Start Icon in 'kickerrc' +Patch15: kdebase-3.5.13-startkde_icon.patch +## [kdebase/startkde] Fixes duplicate and incorrect TDE directories location +Patch16: kdebase-3.5.12-startkde_directories.patch + +# TDE unofficial patches for enhanced features +## [kdebase/kate] Restores the 'number of files' and sorting widgets to the Kate configuration +Patch20: kdebase-3.5.13-kate_mru.patch +## [kdebase/kioslave/man] Fix kio_man for older distros without 'man-db' +Patch21: kdebase-3.5.12-kio_man_utf8.patch +## [kdebase/konqueror] Re-enable 'open tab in background' +Patch22: kdebase-3.5.12-konq_menu_tab_background.patch +## [kdebase/konqueror/sidebar] Fix error message on documents parent folder +Patch23: kdebase-3.5.13-konqsidebar_documents.patch +## [kdebase/kdesktop/lock] Fix missing black background +Patch29: kdebase-3.5.12-kdesktop_lock_fix.patch +## [kdebase/kdm/kfrontend] Allows to hide KDM menu button +Patch30: kdebase-3.5.12-kdm_hide_menu_button.patch + +# Fedora 15 Theme: "Lovelock" +%if 0%{?fedora} == 15 +Requires: lovelock-backgrounds-single +%define tde_bg /usr/share/backgrounds/lovelock/default/standard/lovelock.png + +Requires: fedora-release-notes +%define tde_aboutlabel Fedora 15 +%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html +%endif + +# Fedora 16 Theme: "Verne" +%if 0%{?fedora} == 16 +Requires: verne-backgrounds-single +%define tde_bg /usr/share/backgrounds/verne/default/standard/verne.png + +Requires: fedora-release-notes +%define tde_aboutlabel Fedora 16 +%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html +%endif + +# RHEL 5 Theme +%if 0%{?rhel} == 5 +Requires: desktop-backgrounds-basic +%define tde_bg /usr/share/backgrounds/images/default.jpg + +Requires: indexhtml +%define tde_aboutlabel Enterprise Linux 5 +%define tde_aboutpage /usr/share/doc/HTML/index.html +%endif + +# RHEL 6 Theme +%if 0%{?rhel} == 6 +Requires: redhat-logos +%define tde_bg /usr/share/backgrounds/default.png + +Requires: redhat-indexhtml +%define tde_aboutlabel Enterprise Linux 6 +%define tde_aboutpage /usr/share/doc/HTML/index.html +%endif + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-arts-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: qt%{?_qt_suffix}-devel +BuildRequires: openssl-devel +BuildRequires: avahi-devel avahi-qt3-devel +BuildRequires: imake +BuildRequires: xorg-x11-proto-devel +BuildRequires: OpenEXR-devel +BuildRequires: libsmbclient-devel +BuildRequires: dbus-devel +BuildRequires: dbus-qt-devel +BuildRequires: lm_sensors-devel +BuildRequires: libfontenc-devel +BuildRequires: hal-devel +BuildRequires: audiofile-devel alsa-lib-devel +BuildRequires: libraw1394-devel +BuildRequires: openldap-devel +BuildRequires: libvorbis-devel +BuildRequires: pam-devel +BuildRequires: libXdmcp-devel +BuildRequires: libxkbfile-devel +BuildRequires: libusb-devel +BuildRequires: esound-devel +BuildRequires: glib2-devel +BuildRequires: libXcomposite-devel +BuildRequires: libXtst-devel +BuildRequires: libXdamage-devel +BuildRequires: xorg-x11-font-utils + +# These dependancies are not met in RHEL +%if 0%{?fedora} +BuildRequires: jack-audio-connection-kit-devel +BuildRequires: nas-devel +%endif + +Requires: tqtinterface +Requires: trinity-arts +Requires: trinity-kdelibs +Requires: qt%{?_qt_suffix} +Requires: openssl +Requires: avahi avahi-qt3 +Requires: dbus-qt +# Provides the global Xsession script (/etc/X11/xinit/Xsession) +Requires: xorg-x11-xinit + + +# RHEL 6 Configuration files are provided in separate packages +%if "%{?_prefix}" == "/usr" +Requires: kde-settings-kdm +%endif +Requires: redhat-menus + +#Provides: kdebase%{?_qt_suffix} = %{version} +%if "%{?_prefix}" == "/usr" +Provides: kdebase%{?_qt_suffix} = %{version} +Obsoletes: kdebase%{?_qt_suffix} <= 3.5.10 +%endif + + +# Required for Fedora LiveCD +Provides: service(graphical-login) + + +%description +Core applications for the Trinity K Desktop Environment. Included are: kdm +(replacement for xdm), kwin (window manager), konqueror (filemanager, +web browser, ftp client, ...), konsole (xterm replacement), kpanel +(application starter and desktop pager), kaudio (audio server), +kdehelp (viewer for kde help files, info and man pages), kthememgr +(system for managing alternate theme packages) plus other KDE +components (kcheckpass, kikbd, kscreensaver, kcontrol, kfind, +kfontmanager, kmenuedit). + + +%package devel +Requires: %{name} +Requires: %{name}-libs = %{version}-%{release} +Requires: trinity-kdelibs-devel +Summary: %{summary} - Development files +%if "%{?_prefix}" == "/usr" +Provides: kdebase%{?_qt_suffix}-devel = %{version} +Obsoletes: kdebase%{?_qt_suffix}-devel <= 3.5.10 +%endif + +Group: Development/Libraries +%description devel +Header files for developing applications using %{name}. +Install kdebase-devel if you want to develop or compile Konqueror, +Kate plugins or KWin styles. + + +%package extras +Summary: Extra applications from %{name} +Group: User Interface/Desktops +Requires: %{name} = %{version}-%{release} +%if "%{?_prefix}" == "/usr" +Provides: kdebase%{?_qt_suffix}-extras = %{version} +Obsoletes: kdebase%{?_qt_suffix}-extras <= 3.5.10 +%endif +%description extras +%{summary}, including: + * kappfinder + * kpager + * ktip + * kpersonalizer + + +%package libs +Summary: %{name} runtime libraries +Group: System Environment/Libraries +Requires: trinity-kdelibs +%if "%{?_prefix}" == "/usr" +Provides: kdebase%{?_qt_suffix}-libs = %{version} +Obsoletes: kdebase%{?_qt_suffix}-libs <= 3.5.10 +%endif +Requires: %{name} = %{version}-%{release} +%description libs +%{summary} + + +%package pim-ioslaves +Summary: PIM KIOslaves from %{name} +Group: System Environment/Libraries +%if "%{?_prefix}" == "/usr" +Provides: kdebase%{?_qt_suffix}-pim-ioslaves = %{version} +Obsoletes: kdebase%{?_qt_suffix}-pim-ioslaves <= 3.5.10 +%endif +%description pim-ioslaves +Protocol handlers (KIOslaves) for personal information management, including: + * kio_ldap + * kio_nntp + * kio_pop3 + * kio_smtp + + +%prep +%setup -q -n kdebase +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 +%if 0%{?rhel} && 0%{?rhel} < 6 +%patch8 -p1 +%endif + +%patch10 -p1 +%patch11 -p1 +%patch12 -p1 +%patch13 -p1 +%patch14 -p1 +%patch15 -p1 +%patch16 -p1 + +%patch20 -p4 +%if 0%{?rhel} > 0 +%patch21 -p1 +%endif +%patch22 -p1 +%patch23 -p1 + +%patch29 -p1 +%patch30 -p1 + +# Applies an optional distro-specific graphical theme +%if "%{?tde_bg}" != "" +# KDM Background +%__sed -i "kdm/kfrontend/genkdmconf.c" \ + -e 's|"Wallpaper=isadora.png\n"|"Wallpaper=%{tde_bg}\n"|' + +# TDE user default background +%__sed -i "kpersonalizer/keyecandypage.cpp" \ + -e 's|#define DEFAULT_WALLPAPER "isadora.png"|#define DEFAULT_WALLPAPER "%{tde_bg}"|' +%__sed -i "startkde" \ + -e 's|/usr/share/wallpapers/isadora.png.desktop|%{tde_bg}|' \ + -e 's|Wallpaper=isadora.png|Wallpaper=%{tde_bg}|' +%endif + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + +# TDE branding: removes KUbuntu references [Bug #617] +%__sed -i "kcontrol/kdm/kdm-appear.cpp" \ + -e "s|Welcome to Kubuntu |Welcome to %{tde_aboutlabel} |" +%__sed -i "konqueror/about/konq_aboutpage.cc" \ + -e "s|About Kubuntu|About %{tde_aboutlabel}|" \ + -e "s|help:/kubuntu/|%{tde_aboutpage}|" \ + -e "s|Kubuntu Documentation|%{tde_aboutlabel} Documentation|" +%__sed -i "konqueror/about/launch.html" \ + -e "s|help:/kubuntu/about-kubuntu/index.html|%{tde_aboutpage}|" +%__sed -i "kdm/config.def" \ + -e "s|Welcome to Trinity |Welcome to %{tde_aboutlabel} |" + +# TDE default directory in 'startkde' script (KDEDIR) +%__sed -i "startkde" \ + -e "s|/opt/trinity|%{_prefix}|g" + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" +export IMAKEINCLUDE="-I/usr/share/X11/config" + +%configure \ + --disable-rpath \ + --enable-new-ldflags \ + --disable-dependency-tracking \ + --disable-debug --disable-warnings --enable-final \ + --with-pam=yes \ + --with-kdm-pam=kdm-trinity \ + --with-kcp-pam=kcheckpass-trinity \ + --with-kss-pam=kscreensaver-trinity \ + --with-libraw1394 \ + --with-openexr \ + --with-samba \ + --with-xinerama \ + --with-xscreensaver \ + --without-shadow \ + --enable-closure \ + --with-extra-includes=%{_includedir}/tqt + +# Do NOT use %{?_smp_mflags} for this package, or it will fail to build ! +%__make + +%install +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{?buildroot} + +# Adds a GDM/KDM/XDM session called 'TDE' +%__install -D -m 644 \ + "%{?buildroot}%{_datadir}/apps/kdm/sessions/kde.desktop" \ + "%{?buildroot}%{_usr}/share/xsessions/tde.desktop" + +# Force session name to be 'TDE' +%__sed -i "%{?buildroot}%{_usr}/share/xsessions/tde.desktop" \ + -e "s,^Name=.*,Name=TDE," + +# Modifies 'startkde' to set KDEDIR and KDEHOME hardcoded specific for TDE +%__sed -i "%{?buildroot}%{_bindir}/startkde" \ + -e '/^echo "\[startkde\] Starting startkde.".*/ s,$,\nexport KDEDIR=%{_prefix}\nexport KDEHOME=~/.trinity,' + +# Renames '/etc/ksysguarddrc' to avoid conflict with KDE4 'ksysguard' +%__mv -f \ + %{?buildroot}%{_sysconfdir}/ksysguarddrc \ + %{?buildroot}%{_sysconfdir}/ksysguarddrc.tde + +# TDE 3.5.12: add script "plasma-desktop" to avoid conflict with KDE4 +%if "%{?_prefix}" != "/usr" +%__install -m 755 "%{SOURCE1}" "%{?buildroot}%{_bindir}" +%endif + +# PAM configuration files +%__install -D -m 644 "%{SOURCE2}" "%{?buildroot}%{_sysconfdir}/pam.d/kdm-trinity" +%__install -D -m 644 "%{SOURCE3}" "%{?buildroot}%{_sysconfdir}/pam.d/kdm-trinity-np" +%__install -D -m 644 "%{SOURCE4}" "%{?buildroot}%{_sysconfdir}/pam.d/kcheckpass-trinity" +%__install -D -m 644 "%{SOURCE5}" "%{?buildroot}%{_sysconfdir}/pam.d/kscreensaver-trinity" + +# KDM configuration for RHEL/Fedora +%__sed -i "%{?buildroot}%{_datadir}/config/kdm/kdmrc" \ +%if 0%{?fedora} >= 16 + -e "s/^#*MinShowUID=.*/MinShowUID=1000/" +%else + -e "s/^#*MinShowUID=.*/MinShowUID=500/" +%endif + +# Moves the XDG configuration files to TDE directory +%if "%{_prefix}" != "/usr" +%__mkdir_p "%{?buildroot}%{_prefix}/etc" +%__mv -f "%{?buildroot}%{_sysconfdir}/xdg" "%{?buildroot}%{_prefix}/etc" +%endif + +%clean +%__rm -rf %{?buildroot} + + +%post +touch --no-create %{_datadir}/icons/crystalsvg 2> /dev/null || : +gtk-update-icon-cache --quiet %{_datadir}/icons/crystalsvg 2> /dev/null || : +update-desktop-database 2> /dev/null || : +# Dirty hack to install '/etc/ksysguardrc' alongside with KDE4 +[ -r "%{_sysconfdir}/ksysguarddrc" ] || cp -f "%{_sysconfdir}/ksysguarddrc.tde" "%{_sysconfdir}/ksysguarddrc" + +%postun +touch --no-create %{_datadir}/icons/crystalsvg 2> /dev/null || : +gtk-update-icon-cache --quiet %{_datadir}/icons/crystalsvg 2> /dev/null || : +update-desktop-database 2> /dev/null || : + + +%post libs +/sbin/ldconfig + +%postun libs +/sbin/ldconfig + +%post extras +for f in crystalsvg hicolor ; do + touch --no-create %{_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun extras +for f in crystalsvg hicolor ; do + touch --no-create %{_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + + +%files extras +%defattr(-,root,root,-) +# kappfinder +%{_bindir}/kappfinder +%{_datadir}/applications/kde/kappfinder.desktop +%{_datadir}/applnk/System/kappfinder.desktop +%{_datadir}/apps/kappfinder/ +%{_datadir}/icons/hicolor/*/apps/kappfinder.png +# ktip +%{_bindir}/ktip +%{_datadir}/applications/kde/ktip.desktop +%{_datadir}/applnk/Toys/ktip.desktop +%{_datadir}/apps/kdewizard +%{_datadir}/autostart/ktip.desktop +%{_datadir}/icons/hicolor/*/apps/ktip* +# kpersonalizer +%{_bindir}/kpersonalizer +%{_datadir}/applications/kde/kpersonalizer.desktop +%{_datadir}/applnk/System/kpersonalizer.desktop +%{_datadir}/apps/kpersonalizer/ +%{_datadir}/icons/crystalsvg/*/apps/kpersonalizer.png +# kpager +%{_bindir}/kpager +%{_datadir}/applications/kde/kpager.desktop +%{_datadir}/applnk/Utilities/kpager.desktop +%{_datadir}/icons/hicolor/*/apps/kpager.png + + +%files +%defattr(-,root,root,-) +# kappfinder +%exclude %{_datadir}/applications/kde/kappfinder.desktop +%exclude %{_datadir}/applnk/System/kappfinder.desktop +%exclude %{_datadir}/apps/kappfinder/ +%exclude %{_datadir}/icons/hicolor/*/apps/kappfinder.png +# ktip +%exclude %{_datadir}/applications/kde/ktip.desktop +%exclude %{_datadir}/applnk/Toys/ktip.desktop +%exclude %{_datadir}/apps/kdewizard +%exclude %{_datadir}/autostart/ktip.desktop +%exclude %{_datadir}/icons/hicolor/*/apps/ktip* +# kpersonalizer +%exclude %{_datadir}/applications/kde/kpersonalizer.desktop +%exclude %{_datadir}/applnk/System/kpersonalizer.desktop +%exclude %{_datadir}/apps/kpersonalizer/ +%exclude %{_datadir}/icons/crystalsvg/*/apps/kpersonalizer.png +# kpager +%exclude %{_datadir}/applications/kde/kpager.desktop +%exclude %{_datadir}/applnk/Utilities/kpager.desktop +%exclude %{_datadir}/icons/hicolor/*/apps/kpager.png + +# Pam configuration +%{_sysconfdir}/pam.d/* + +%doc AUTHORS COPYING COPYING-DOCS README README.pam +%{tde_docdir}/HTML/en/* +%config(noreplace) %{_sysconfdir}/ksysguarddrc.tde +%{_bindir}/genkdmconf +%{_bindir}/kaccess +%{_bindir}/kapplymousetheme +%{_bindir}/kate +%{_bindir}/kblankscrn.kss +%{_bindir}/kbookmarkmerger +%{_bindir}/kcminit +%{_bindir}/kcminit_startup +%{_bindir}/kcontrol +%{_bindir}/kcontroledit +%{_bindir}/kdebugdialog +%{_bindir}/kdeinstallktheme +%{_bindir}/kdepasswd +%{_bindir}/kdesu +%attr(0755,root,root) %{_bindir}/kdesud +%{_bindir}/kdialog +%{_bindir}/kdm +%{_bindir}/kdmctl +%{_bindir}/keditbookmarks +%{_bindir}/keditfiletype +%{_bindir}/kfind +%{_bindir}/kfmclient +%{_bindir}/khelpcenter +%{_bindir}/khotkeys +%{_bindir}/kinfocenter +%{_bindir}/klipper +%{_bindir}/kmenuedit +%{_bindir}/konqueror +%{_bindir}/konsole +%{_bindir}/krandom.kss +%{_bindir}/krdb +%{_bindir}/kreadconfig +%{_bindir}/ksmserver +%{_bindir}/ksplashsimple +%{_bindir}/kstart +%{_bindir}/ksysguard +%{_bindir}/ksysguardd +%{_bindir}/ksystraycmd +%{_bindir}/ktrash +%{_bindir}/kwin +%{_bindir}/kwin_killer_helper +%{_bindir}/kwin_rules_dialog +%{_bindir}/kwrite +%{_bindir}/kwriteconfig +%{_bindir}/kxkb +%{_bindir}/nspluginscan +%{_bindir}/nspluginviewer +%{_bindir}/startkde +%{_bindir}/kcheckrunning +%{_bindir}/kdesktop +%{_bindir}/kdesktop_lock +%{_bindir}/kdm_config +%{_bindir}/kdm_greet +%{_bindir}/kfontinst +%{_bindir}/kfontview +%{_bindir}/krootimage +%{_bindir}/kwebdesktop +%{_datadir}/autostart/* +%{_datadir}/desktop-directories/* +%{_datadir}/locale/*/entry.desktop +%{_datadir}/locale/l10n +%{_datadir}/templates/* +%{_datadir}/templates/.source/* +%{_datadir}/wallpapers/* +%{_bindir}/appletproxy +%{_bindir}/drkonqi +%{_bindir}/extensionproxy +%{_bindir}/kasbar +%attr(4755,root,root) %{_bindir}/kcheckpass +%{_bindir}/kdeeject +%{_bindir}/khc_docbookdig.pl +%{_bindir}/khc_htdig.pl +%{_bindir}/khc_htsearch.pl +%{_bindir}/khc_indexbuilder +%{_bindir}/khc_mansearch.pl +%{_bindir}/kicker +%{_bindir}/knetattach +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 +%{_bindir}/krandrtray +%endif +%{_bindir}/kompmgr +%{_bindir}/kpm +%{_bindir}/ksplash +%{_libdir}/kconf_update_bin +%{_datadir}/applnk/*.desktop +%{_datadir}/applnk/*/* +%{_datadir}/applnk/.hidden/* +%exclude %{_datadir}/applnk/.hidden/.directory +%{_datadir}/config.kcfg/* +%{_bindir}/kio_media_mounthelper +%{_bindir}/kdcop +%{_bindir}/kdeprintfax +%{_bindir}/khc_beagle_index.pl +%{_bindir}/khc_beagle_search.pl +%{_bindir}/kxdglauncher +%{_bindir}/kjobviewer +%{_bindir}/klocaldomainurifilterhelper +%{_bindir}/kprinter +%{_datadir}/applications/*/* +%{_datadir}/apps/* +%{_datadir}/icons/*color/*/*/* +%{_datadir}/icons/crystalsvg/*/*/* +%{_datadir}/mimelnk/*/* +%{_datadir}/services/* +%{_datadir}/servicetypes/* +%{_datadir}/sounds/* +%{tde_libdir}/* +%{_libdir}/libkdeinit_*.* +%if "%{_prefix}" != "/usr" +%{_prefix}/etc/xdg/menus/applications-merged/kde-essential.menu +%{_prefix}/etc/xdg/menus/kde-information.menu +%{_prefix}/etc/xdg/menus/kde-screensavers.menu +%{_prefix}/etc/xdg/menus/kde-settings.menu +%else +%{_sysconfdir}/xdg/menus/applications-merged/kde-essential.menu +%{_sysconfdir}/xdg/menus/kde-information.menu +%{_sysconfdir}/xdg/menus/kde-screensavers.menu +%{_sysconfdir}/xdg/menus/kde-settings.menu +%endif +/usr/share/xsessions/*.desktop +# Remove conflicts with redhat-menus +%if "%{?_prefix}" != "/usr" +%{_bindir}/plasma-desktop +%config(noreplace) %{_datadir}/config/* +%else +%exclude %{_datadir}/config +%endif +# exclude pim-ioslaves files from main package +%exclude %{tde_libdir}/kio_ldap.* +%exclude %{tde_libdir}/kio_nntp.* +%exclude %{tde_libdir}/kio_pop3.* +%exclude %{tde_libdir}/kio_smtp.* +%exclude %{_datadir}/services/ldap*.protocol +%exclude %{_datadir}/services/nntp*.protocol +%exclude %{_datadir}/services/pop3*.protocol +%exclude %{_datadir}/services/smtp*.protocol + +# TDE 3.5.12 specific +%{_bindir}/kde3 +%exclude %{_datadir}/applications/kde/display.desktop +%exclude %{_datadir}/fonts/override/fonts.dir +%{_docdir}/kdm/README + +%files libs +%defattr(-,root,root,-) +%exclude %{_libdir}/libkdeinit_*.* +%{_libdir}/lib*.so.* +%{_libdir}/lib*.la + +%files pim-ioslaves +%defattr(-,root,root,-) +%{tde_libdir}/kio_ldap.* +%{tde_libdir}/kio_nntp.* +%{tde_libdir}/kio_pop3.* +%{tde_libdir}/kio_smtp.* +%{_datadir}/services/ldap*.protocol +%{_datadir}/services/nntp*.protocol +%{_datadir}/services/pop3*.protocol +%{_datadir}/services/smtp*.protocol + +%files devel +%defattr(-,root,root,-) +%{_includedir}/*.h +%dir %{_includedir}/kate +%{_includedir}/kate/* +%dir %{_includedir}/kwin +%{_includedir}/kwin/* +%dir %{_includedir}/ksgrd +%{_includedir}/ksgrd/* +%dir %{_includedir}/ksplash +%{_includedir}/ksplash/* +%{_libdir}/lib*.so +%exclude %{_libdir}/libkdeinit_*.* + +%changelog +* Thu Jan 05 2012 Francois Andriot - 3.5.12-15 +- Add KDM option to hide 'Menu' button on login prompt + +* Wed Dec 21 2011 Francois Andriot - 3.5.12-14 +- Fix kdesktop_lock missing black background on kscreensaver failure + +* Thu Dec 11 2011 Francois Andriot - 3.5.12-13 +- Backports patches from TDE 3.5.13-10 +- Removes Kubuntu branding [TDE Bug #449] +- Fix 'kio_man' on RHEL 5 and RHEL 6 [TDE Bug #714] +- Restores the 'number of files' and sorting widgets to the Kate configuration [TDE Bug #244] +- Re-enables 'open tab in background' konqueror feature [TDE Bug #245] +- Fix error message 'cannot find parent folder' on konqueror sidebar +- Fix KDEDIRS and other variables in 'startkde', that messes up translations. + +* Sun Nov 20 2011 Francois Andriot - 3.5.12-12 +- Updates Kickoff menu Fix [TDE Bugs #281, #508] +- Add distribution-specific start button icon +- Add graphical theme for RHEL 5, RHEL 6, Fedora 15, Fedora 16 +- Moves XDG files in TDE prefix to avoid conflict with distro-provided KDE +- Add "service(graphical-login)" +- kdmrc: sets "MinShowUID=500" +- Add missing BuildRequires + +* Fri Sep 16 2011 Francois Andriot - 3.5.12-11 +- Add support for RHEL 5. +- Remove file conflicts with KDE 4.6.5 under Fedora 15 + +* Mon Sep 12 2011 Francois Andriot - 3.5.12-10 +- Add "Group" field + +* Sun Sep 04 2011 Francois Andriot - 3.5.12-9 +- Import to GIT + +* Tue Aug 23 2011 Francois Andriot - 3.5.12-8 +- Add missing BuildRequires +- Add Patch7, Patch8, Patch9 to allow compilation under GCC >= 4.5.2 + +* Mon Aug 22 2011 Francois Andriot - 3.5.12-7 +- Correct macro to install under "/opt", if desired + +* Wed Jul 20 2011 Francois Andriot - 3.5.12-6 +- Add patch to force halbackend to use HAL-provided mount options + +* Wed Jul 20 2011 Francois Andriot - 3.5.12-5 +- Add patch to modify "Open terminal here" shortcut (now opens in home directory) + +* Tue Jul 19 2011 Francois Andriot - 3.5.12-4 +- Add 'BuildRequires: dbus-qt' to enable HAL support + +* Wed Jun 22 2011 Francois Andriot - 3.5.12-3 +- Adds setuid bit on '/usr/bin/kcheckpass' +- Removes '/usr/share/applications/kde/display.desktop' (does not work on RHEL 6.0) + +* Mon Dec 20 2010 Francois Andriot - 3.5.12-2 +- Add missing Requires +- Rename 'kde3.desktop' to 'kde.desktop' in case of default prefix + +* Fri Dec 17 2010 Francois Andriot - 3.5.12-1 +- Add macro _kde3_prefix to define custom installation prefix (ex: /opt/kde3) +- Add '--with-extra-includes=%{_includedir}/tqt' +- Add 'patch3' to remove ignore button on kdesu dialog box +- Add 'patch4' r1182808.diff : Fix My Documents shortcut on desktop + +* Wed Dec 14 2010 Francois Andriot - 3.5.12-0 +- Initial version +- Add script 'plasma-desktop' to prevent KDE4 plasma automatic startup +- Add 'patch0' to fix for DBUS include files in RHEL6 +- Add 'patch1' r1201523.diff : [kdebase/kcontrol] fix for openssl 1.0 +- Add 'patch2' r1201705.diff : [kdebase/kcontrol] make it compatible with openssl < 1.0 + diff --git a/redhat/tdebase/kdebase-3.5.13.1.spec b/redhat/tdebase/kdebase-3.5.13.1.spec new file mode 100644 index 000000000..f58a045fb --- /dev/null +++ b/redhat/tdebase/kdebase-3.5.13.1.spec @@ -0,0 +1,3266 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +# Older RHEL/Fedora versions use packages named "qt", "qt-devel", .. +# whereas newer versions use "qt3", "qt3-devel" ... +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 8 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define _qt_suffix 3 +%endif + + +Name: trinity-tdebase +Version: 3.5.13.1 +Release: 2%{?dist}%{?_variant} +License: GPL +Summary: Trinity Base Programs +Group: User Interface/Desktops + +Obsoletes: trinity-kdebase < %{version}-%{release} +Provides: trinity-kdebase = %{version}-%{release} +Obsoletes: trinity-kdebase-libs < %{version}-%{release} +Obsoletes: trinity-kdebase-extras < %{version}-%{release} +Provides: trinity-kdebase-extras = %{version}-%{release} +Obsoletes: tdebase < %{version}-%{release} +Provides: tdebase = %{version}-%{release} + + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: kdebase-3.5.13.1.tar.gz + +# Wrapper script to prevent Plasma launch at Trinity Startup +Source1: plasma-desktop + +# Pam configuration files for RHEL / Fedora +%if 0%{?suse_version} +Source4: pamd.kcheckpass-trinity.opensuse%{?suse_version} +%else +Source2: pamd.kdm-trinity%{?dist} +Source3: pamd.kdm-trinity-np%{?dist} +Source4: pamd.kcheckpass-trinity%{?dist} +Source5: pamd.kscreensaver-trinity%{?dist} +%endif + +# openSUSE: configuration file for TDM +Source6: suse-displaymanagers-tdm + + +# TDE 3.5.13 patches +## [kdebase] Fix syntax error in icon +Patch1: kdebase-3.5.13.1-fix_displayconfig_icon.patch +## [kdebase/kdesktop] Modifies 'open terminal here' on desktop [RHEL/Fedora] +Patch11: kdebase-3.5.12-desktop-openterminalhere.patch +## [kdebase/kdm/kfrontend] Global Xsession file is '/etc/X11/xinit/Xsession' [RHEL/Fedora] +Patch13: kdebase-3.5.13-genkdmconf_Xsession_location.patch +Patch14: kdebase-3.5.13-genkdmconf_Xsession_location_xdm.patch +## [kdebase/startkde] Sets default Start Icon in 'kickerrc' [RHEL/Fedora] +Patch15: kdebase-3.5.13.1-startkde_icon.patch +## [kdebase/kioslave/man] Fix kio_man for older distros without 'man-db' [Bug #714] +Patch21: kdebase-3.5.13-kio_man_utf8.patch +## [kdebase/kdm/kfrontend] Allows to hide KDM menu button [RHEL/Fedora] +Patch30: kdebase-3.5.12-kdm_hide_menu_button.patch +## [kdebase/startkde] Fix wrong path setting +Patch31: kdebase-3.5.13.1-fix_startkde_path.patch +## [kdebase/kdm] Fix PID file is 'tdm.pid' instead of 'kdm.pid' (needed for openSUSE) +Patch32: kdebase-3.5.13.1-fix_tdm_pid_file.patch + +### Patches for RHEL4 (should not go upstream) + +## [tdebase] Fix build on RHEL4, detect old libraries without pkg file +Patch201: kdebase-3.5.13-fix_lib_detection.patch +## [tdebase] Do not build against DBUS-TQT, only DBUS and DBUS-QT +Patch202: kdebase-3.5.13-build_without_dbustqt.patch +## [tdebase] Do not build against ConsoleKit +Patch203: kdebase-3.5.13-build_without_consolekit.patch +## [tdebase] Add WITH_COMPOSITE option to CMakeLists.txt +Patch204: kdebase-3.5.13-add_disable_composite_option.patch +## [tdebase] Downgrade halbackend to support Hal 0.4 +Patch205: kdebase-3.5.13-support_hal_04.patch +## [tdebase] Other(s) FTBFS ... +Patch206: kdebase-3.5.13-fix_rhel4_compilation.patch + +### Distribution-specific settings ### + +# Fedora 15 Theme: "Lovelock" +%if 0%{?fedora} == 15 +Requires: lovelock-backgrounds-single +%define tde_bg /usr/share/backgrounds/lovelock/default/standard/lovelock.png +%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png + +Requires: fedora-release-notes +%define tde_aboutlabel Fedora 15 +%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html +%endif + +# Fedora 16 Theme: "Verne" +%if 0%{?fedora} == 16 +Requires: verne-backgrounds-single +%define tde_bg /usr/share/backgrounds/verne/default/standard/verne.png +%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png + +Requires: fedora-release-notes +%define tde_aboutlabel Fedora 16 +%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html +%endif + +# Fedora 17 Theme: "Beefy Miracle" +%if 0%{?fedora} == 17 +Requires: beefy-miracle-backgrounds-single +%define tde_bg /usr/share/backgrounds/beefy-miracle/default/standard/beefy-miracle.png +%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png + +Requires: fedora-release-notes +%define tde_aboutlabel Fedora 17 +%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html +%endif + +# RHEL 4 Theme +%if 0%{?rhel} == 4 +Requires: desktop-backgrounds-basic +%define tde_bg /usr/share/backgrounds/images/default.png +Requires: redhat-logos +%define tde_starticon /usr/share/pixmaps/redhat/rpmlogo-64.xpm + +Requires: indexhtml +%define tde_aboutlabel Enterprise Linux 4 +%define tde_aboutpage /usr/share/doc/HTML/index.html +%endif + +# RHEL 5 Theme +%if 0%{?rhel} == 5 +Requires: desktop-backgrounds-basic +%define tde_bg /usr/share/backgrounds/images/default.jpg +%define tde_starticon /usr/share/pixmaps/redhat-starthere.png + +Requires: indexhtml +%define tde_aboutlabel Enterprise Linux 5 +%define tde_aboutpage /usr/share/doc/HTML/index.html +%endif + +# RHEL 6 Theme +%if 0%{?rhel} == 6 +Requires: redhat-logos +%define tde_bg /usr/share/backgrounds/default.png +%define tde_starticon /usr/share/icons/hicolor/96x96/apps/system-logo-icon.png + +Requires: redhat-indexhtml +%define tde_aboutlabel Enterprise Linux 6 +%define tde_aboutpage /usr/share/doc/HTML/index.html +%endif + +# Mageia 2 Theme +%if 0%{?mgaversion} == 2 +Requires: mageia-theme-Default +%define tde_bg /usr/share/mga/backgrounds/default.jpg +%define tde_starticon /usr/share/icons/hicolor/scalable/apps/mageia-menu.svg + +Requires: indexhtml +%define tde_aboutlabel Mageia 2 +%define tde_aboutpage /usr/share/mga/about/index.html +%endif + +# Mandriva 2011 Theme: "rosa" +%if "%{?mdkversion}" == "201100" +Requires: mandriva-theme +%define tde_bg /usr/share/mdk/backgrounds/default.jpg +%define tde_starticon /usr/share/icons/mandriva.png + +Requires: indexhtml +%define tde_aboutlabel Mandriva 2011 +%define tde_aboutpage /usr/share/mdk/about/index.html +%endif + +# PCLINUXOS 2012 +%if "%{?pclinuxos}" == "2012" +Requires: trinity-wallpaper-theme-default +%define tde_bg %{tde_datadir}/wallpapers/Pulse2012/contents/images/1600x1200.jpg +Requires: desktop-common-data +%define tde_starticon /usr/share/icons/pclinuxos.png + +Requires: indexhtml +%define tde_aboutlabel PCLinuxOS 2012 +%define tde_aboutpage /usr/share/mdk/about/index.html +%endif + +# OpenSuse 12.2 Theme +%if "%{?suse_version}" == "1220" +Requires: wallpaper-branding +%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg +Requires: hicolor-icon-theme-branding +%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg + +Requires: opensuse-manuals_en +%define tde_aboutlabel OpenSuse 12.2 +%define tde_aboutpage /usr/share/doc/manual/opensuse-manuals_en/book.opensuse.startup.html +%endif + +BuildRequires: cmake >= 2.8 +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: gcc-c++ make +BuildRequires: qt%{?_qt_suffix}-devel +BuildRequires: openssl-devel +BuildRequires: audiofile-devel +BuildRequires: alsa-lib-devel +BuildRequires: libraw1394-devel +BuildRequires: libvorbis-devel +BuildRequires: pam-devel +%if 0%{?mageia} || 0%{?mandriva} || 0%{?pclinuxos} +BuildRequires: %{_lib}usb1.0-devel +BuildRequires: %{_lib}usb-compat0.1-devel +%else +BuildRequires: libusb-devel +%endif +BuildRequires: esound-devel +BuildRequires: glib2-devel +BuildRequires: pcre-devel + +# OPENLDAP support +%if 0%{?suse_version} +BuildRequires: openldap2-devel +%else +BuildRequires: openldap-devel +%endif + +# SENSORS support +# Disabled on OpenSuse +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} +BuildRequires: lm_sensors-devel +%endif +%if 0%{?suse_version} +BuildRequires: libsensors4-devel +%endif + +# TSAK support (requires libudev-devel) +# On RHEL5, udev is built statically, so TSAK cannot build. +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version} +%define with_tsak 1 +BuildRequires: libudev-devel +%endif + +# XRANDR support +# On RHEL5, xrandr library is too old. +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version} +%define with_xrandr 1 +%endif + +# HAL support +# On RHEL4, we do not use HAL (too old) +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} +%define with_hal 1 +BuildRequires: hal-devel >= 0.4.8 +%endif + +# OPENEXR support +# Disabled on RHEL4 +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} +%define with_exr 1 +BuildRequires: OpenEXR-devel +%endif + +# XSCREENSAVER support +# Disabled on RHEL4 +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} +%define with_xscreensaver 1 +%if 0%{?rhel} == 5 +BuildRequires: xorg-x11-proto-devel +BuildRequires: gnome-screensaver +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel +%endif +%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} +BuildRequires: libXScrnSaver-devel +%endif +%endif + +# AVAHI support +# Disabled on RHEL4 and RHEL5 +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version} +BuildRequires: trinity-avahi-tqt-devel +Requires: trinity-avahi-tqt +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}avahi-client-devel +Requires: %{_lib}avahi-client3 +%else +BuildRequires: avahi-devel +Requires: avahi +%endif +%endif + +# NAS support +# (what is nas btw ?) +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: nas-devel +%endif + +# DBUS support +# TQT bindings not available for RHEL4 +%if 0%{?rhel} == 4 +# Dbus bindings were rebuilt with Qt support +BuildRequires: dbus-devel >= 0.22-12.EL.9p1 +Requires: dbus-qt +%else +BuildRequires: trinity-dbus-tqt-devel +Requires: trinity-dbus-tqt >= %{version} +%endif + +%if 0%{?fedora} >= 17 +BuildRequires: perl-Digest-MD5 +%endif + +# JACK support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}jack-devel +%endif +%if 0%{?fedora} || 0%{?rhel} >= 5 +BuildRequires: jack-audio-connection-kit-devel +%endif + +# X11 stuff ... +%if 0%{?rhel} == 4 +BuildRequires: xorg-x11-devel +BuildRequires: samba-common +%else +BuildRequires: imake +BuildRequires: libxkbfile-devel +BuildRequires: libsmbclient-devel +BuildRequires: libfontenc-devel + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel +BuildRequires: %{_lib}xdamage-devel +BuildRequires: %{_lib}xdmcp%{?mgaversion:6}-devel +BuildRequires: %{_lib}xtst-devel +BuildRequires: x11-font-util +BuildRequires: x11-proto-devel +%else +BuildRequires: libXcomposite-devel +BuildRequires: libXdamage-devel +BuildRequires: libXdmcp-devel +BuildRequires: libXtst-devel +BuildRequires: xorg-x11-proto-devel + +%if 0%{?suse_version} +BuildRequires: font-util +BuildRequires: bdftopcf +%else +BuildRequires: xorg-x11-font-utils +%endif + +%endif + +%endif + +# tdebase is a metapackage that installs all sub-packages +Requires: %{name}-runtime-data-common = %{version}-%{release} +Requires: %{name}-data = %{version}-%{release} +Requires: %{name}-bin = %{version}-%{release} +Requires: %{name}-kio-plugins = %{version}-%{release} +Requires: %{name}-kio-pim-plugins = %{version}-%{release} +Requires: trinity-kappfinder = %{version}-%{release} +Requires: trinity-kate = %{version}-%{release} +Requires: trinity-kwrite = %{version}-%{release} +Requires: trinity-kcontrol = %{version}-%{release} +Requires: trinity-kdepasswd = %{version}-%{release} +Requires: trinity-tdeprint = %{version}-%{release} +Requires: trinity-kdesktop = %{version}-%{release} +Requires: trinity-tdm = %{version}-%{release} +Requires: trinity-kfind = %{version}-%{release} +Requires: trinity-khelpcenter = %{version}-%{release} +Requires: trinity-kicker = %{version}-%{release} +Requires: trinity-klipper = %{version}-%{release} +Requires: trinity-kmenuedit = %{version}-%{release} +Requires: trinity-konqueror = %{version}-%{release} +Requires: trinity-konqueror-nsplugins = %{version}-%{release} +Requires: trinity-konsole = %{version}-%{release} +Requires: trinity-kpager = %{version}-%{release} +Requires: trinity-kpersonalizer = %{version}-%{release} +Requires: trinity-ksmserver = %{version}-%{release} +Requires: trinity-ksplash = %{version}-%{release} +Requires: trinity-ksysguard = %{version}-%{release} +Requires: trinity-ksysguardd = %{version}-%{release} +Requires: trinity-ktip = %{version}-%{release} +Requires: trinity-twin = %{version}-%{release} +Requires: trinity-libkonq = %{version}-%{release} +Requires: %{name}-libtqt3-integration = %{version}-%{release} + +Requires: trinity-tqtinterface >= %{version} +Requires: trinity-arts >= %{version} +Requires: trinity-tdelibs >= %{version} +Requires: qt%{?_qt_suffix} +Requires: openssl + + +# RHEL 6 Configuration files are provided in separate packages +%if 0%{?rhel} || 0%{?fedora} +%if "%{?tde_prefix}" == "/usr" +Requires: kde-settings-kdm +%endif +Requires: redhat-menus +%endif + +%if 0%{?suse_version} +Requires: desktop-data-openSUSE +%endif + +%description +TDE (the Trinity Desktop Environment) is a powerful Open Source graphical +desktop environment for Unix workstations. It combines ease of use, +contemporary functionality, and outstanding graphical design with the +technological superiority of the Unix operating system. + +This metapackage includes the nucleus of TDE, namely the minimal package +set necessary to run TDE as a desktop environment. This includes the +window manager, taskbar, control center, a text editor, file manager, +web browser, X terminal emulator, and many other programs and components. + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING COPYING-DOCS README README.pam + +########## + +%package devel +Summary: %{summary} - Development files +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: trinity-tdelibs-devel + +Requires: %{name}-bin-devel = %{version}-%{release} +Requires: trinity-kate-devel = %{version}-%{release} +Requires: trinity-kcontrol-devel = %{version}-%{release} +Requires: trinity-kdesktop-devel = %{version}-%{release} +Requires: trinity-kicker-devel = %{version}-%{release} +Requires: trinity-konqueror-devel = %{version}-%{release} +Requires: trinity-ksplash-devel = %{version}-%{release} +Requires: trinity-ksysguard-devel = %{version}-%{release} +Requires: trinity-libkonq-devel = %{version}-%{release} +Requires: trinity-tdm-devel = %{version}-%{release} +Requires: trinity-twin-devel = %{version}-%{release} + +Provides: trinity-kdebase-devel = %{version}-%{release} +Obsoletes: trinity-kdebase-devel < %{version}-%{release} +Provides: tdebase-devel = %{version}-%{release} +Obsoletes: tdebase-devel < %{version}-%{release} + +Obsoletes: trinity-kdebase-cmake < %{version}-%{release} +Obsoletes: tdebase-cmake < %{version}-%{release} + +%description devel +This is a meta-package that installs all tdebase development packages. + +Header files for developing applications using %{name}. +Install tdebase-devel if you want to develop or compile Konqueror, +Kate plugins or KWin styles. + +%files devel +%{tde_datadir}/cmake/*.cmake + +########## + +%package kio-pim-plugins +Summary: PIM KIOslaves from %{name} +Group: Environment/Libraries + +Provides: trinity-kdebase-pim-ioslaves = %{version}-%{release} +Obsoletes: trinity-kdebase-pim-ioslaves < %{version}-%{release} +Provides: tdebase-kio-pim-plugins = %{version}-%{release} +Obsoletes: tdebase-kio-pim-plugins < %{version}-%{release} + +%description kio-pim-plugins +Protocol handlers (KIOslaves) for personal information management, including: + * kio_ldap + * kio_nntp + * kio_pop3 + * kio_smtp + +%files kio-pim-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/kio_ldap.la +%{tde_tdelibdir}/kio_ldap.so +%{tde_tdelibdir}/kio_nntp.la +%{tde_tdelibdir}/kio_nntp.so +%{tde_tdelibdir}/kio_pop3.la +%{tde_tdelibdir}/kio_pop3.so +%{tde_tdelibdir}/kio_smtp.la +%{tde_tdelibdir}/kio_smtp.so +%{tde_datadir}/services/ldap.protocol +%{tde_datadir}/services/ldaps.protocol +%{tde_datadir}/services/nntp.protocol +%{tde_datadir}/services/nntps.protocol +%{tde_datadir}/services/pop3.protocol +%{tde_datadir}/services/pop3s.protocol +%{tde_datadir}/services/smtp.protocol +%{tde_datadir}/services/smtps.protocol + +########## + +%package runtime-data-common +Summary: Shared common files for Trinity and KDE4 +Group: Environment/Libraries + +Provides: tdebase-runtime-data-common = %{version}-%{release} +Obsoletes: tdebase-runtime-data-common < %{version}-%{release} + +%description runtime-data-common +Shared common files for both Trinity and KDE4 +Such as the desktop right-click-"Create New" list + +%files runtime-data-common +%defattr(-,root,root,-) +%{tde_datadir}/autostart/khotkeys.desktop +%{tde_datadir}/desktop-directories/* +%{tde_datadir}/icons/hicolor/*/apps/kxkb.png +%{tde_datadir}/icons/hicolor/*/apps/knetattach.* +%{tde_datadir}/icons/hicolor/*/apps/khotkeys.png +%{tde_datadir}/icons/hicolor/*/apps/kmenuedit.png +%{tde_datadir}/icons/hicolor/*/apps/ksplash.png +%{tde_datadir}/locale/en_US/entry.desktop +%{tde_datadir}/locale/l10n/*.desktop +%{tde_datadir}/locale/l10n/*/entry.desktop +%{tde_datadir}/locale/l10n/*/flag.png +%{tde_datadir}/sounds/pop.wav +%{tde_datadir}/templates + +%post runtime-data-common +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%postun runtime-data-common +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package -n trinity-kappfinder +Summary: non-KDE application finder for KDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-kappfinder +kappfinder searches your workstation for many common applications and +creates menu entries for them. + +%files -n trinity-kappfinder +%defattr(-,root,root,-) +%{tde_bindir}/kappfinder +%{tde_tdeappdir}/kappfinder.desktop +%{tde_datadir}/applnk/System/kappfinder.desktop +%{tde_datadir}/apps/kappfinder +%{tde_datadir}/icons/hicolor/*/apps/kappfinder.png + +%post -n trinity-kappfinder +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%postun -n trinity-kappfinder +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database %{tde_appdir} 2> /dev/null || : + +########## + +%package -n trinity-libkateinterfaces +Summary: Common libraries used by kwrite and kate +Group: Environment/Libraries + +%description -n trinity-libkateinterfaces +%{summary} + +%files -n trinity-libkateinterfaces +%{tde_libdir}/libkateinterfaces.so.* + +%post -n trinity-libkateinterfaces +/sbin/ldconfig || : + +%postun -n trinity-libkateinterfaces +/sbin/ldconfig || : + +########## + +%package -n trinity-kate +Summary: advanced text editor for TDE +Group: Applications/Text +Requires: %{name}-data = %{version}-%{release} +Requires: trinity-kwrite = %{version}-%{release} +Requires: trinity-libkateinterfaces = %{version}-%{release} + +%description -n trinity-kate +Kate is a multi document editor, based on a rewritten version of the kwrite +editing widget of TDE. + +It is a multi-view editor that lets you view several instances of the same +document with all instances being synced, or view more files at the same +time for easy reference or simultaneous editing. The terminal emulation +and sidebar are docked windows that can be plugged out of the main window, +or replaced therein according to your preference. + +Some random features: +* Editing of big files +* Extensible syntax highlighting +* Folding +* Dynamic word wrap +* Selectable encoding +* Filter command +* Global grep dialog + +%files -n trinity-kate +%defattr(-,root,root,-) +%{tde_bindir}/kate +%{tde_tdelibdir}/kate.la +%{tde_tdelibdir}/kate.so +%{tde_libdir}/libkateutils.so.* +%{tde_libdir}/lib[kt]deinit_kate.la +%{tde_libdir}/lib[kt]deinit_kate.so +%{tde_tdeappdir}/kate.desktop +%{tde_datadir}/apps/kate/ +%{tde_datadir}/apps/kconf_update/kate-2.4.upd +%{tde_datadir}/config/katerc +%{tde_datadir}/icons/hicolor/*/apps/kate.png +%{tde_datadir}/icons/hicolor/*/apps/kate2.svgz +%{tde_datadir}/servicetypes/kateplugin.desktop +%{tde_tdedocdir}/HTML/en/kate/ + +%post -n trinity-kate +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database %{tde_appdir} 2> /dev/null || : +/sbin/ldconfig || : + +%postun -n trinity-kate +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database %{tde_appdir} 2> /dev/null || : +/sbin/ldconfig || : + +########## + +%package -n trinity-kate-devel +Summary: Development files for kate +Group: Development/Libraries +Requires: trinity-kate = %{version}-%{release} + +%description -n trinity-kate-devel +%{summary} + +%files -n trinity-kate-devel +%{tde_tdeincludedir}/kate/ +%{tde_libdir}/libkateutils.so +%{tde_libdir}/libkateutils.la +%{tde_libdir}/libkateinterfaces.so +%{tde_libdir}/libkateinterfaces.la + +%post -n trinity-kate-devel +/sbin/ldconfig || : + +%postun -n trinity-kate-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-kwrite +Summary: advanced text editor for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} +Requires: trinity-libkateinterfaces = %{version}-%{release} + +%description -n trinity-kwrite +Kwrite is a text editor for TDE. + +%files -n trinity-kwrite +%defattr(-,root,root,-) +%{tde_bindir}/kwrite +%{tde_tdelibdir}/kwrite.la +%{tde_tdelibdir}/kwrite.so +%{tde_libdir}/lib[kt]deinit_kwrite.la +%{tde_libdir}/lib[kt]deinit_kwrite.so +%{tde_tdeappdir}/kwrite.desktop +%{tde_datadir}/apps/kwrite/kwriteui.rc +%{tde_datadir}/icons/hicolor/*/apps/kwrite.png +%{tde_datadir}/icons/hicolor/*/apps/kwrite2.svgz +%{tde_tdedocdir}/HTML/en/kwrite/ + + +%post -n trinity-kwrite +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%postun -n trinity-kwrite +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database %{tde_appdir} 2> /dev/null || : + +########## + +%package -n trinity-kcontrol +Summary: control center for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} +Requires: usbutils + +%if 0%{?suse_version} == 0 +Requires: hwdata +%endif + +%description -n trinity-kcontrol +The TDE Control Center provides you with a centralized and convenient +way to configure all of your TDE settings. + +It is made up of multiple modules. Each module is a separate application, +but the control center organizes all of these programs into a convenient +location. + +In combination with udev KControl supports the advanced +configuration of Logitech mice, though the user must be a member of the +plugdev group. + +%files -n trinity-kcontrol +%defattr(-,root,root,-) +%{tde_bindir}/kaccess +%{tde_bindir}/kcontrol +%{tde_bindir}/kdeinstallktheme +%{tde_bindir}/keditfiletype +%{tde_bindir}/kfontinst +%{tde_bindir}/kfontview +%{tde_bindir}/kinfocenter +%{tde_bindir}/klocaldomainurifilterhelper +%{tde_bindir}/krdb +%{tde_tdelibdir}/fontthumbnail.la +%{tde_tdelibdir}/fontthumbnail.so +%{tde_tdelibdir}/kaccess.la +%{tde_tdelibdir}/kaccess.so +%{tde_tdelibdir}/kcm_access.la +%{tde_tdelibdir}/kcm_access.so +%{tde_tdelibdir}/kcm_arts.la +%{tde_tdelibdir}/kcm_arts.so +%{tde_tdelibdir}/kcm_background.la +%{tde_tdelibdir}/kcm_background.so +%{tde_tdelibdir}/kcm_bell.la +%{tde_tdelibdir}/kcm_bell.so +%{tde_tdelibdir}/kcm_clock.la +%{tde_tdelibdir}/kcm_clock.so +%{tde_tdelibdir}/kcm_colors.la +%{tde_tdelibdir}/kcm_colors.so +%{tde_tdelibdir}/kcm_componentchooser.la +%{tde_tdelibdir}/kcm_componentchooser.so +%{tde_tdelibdir}/kcm_crypto.la +%{tde_tdelibdir}/kcm_crypto.so +%{tde_tdelibdir}/kcm_css.la +%{tde_tdelibdir}/kcm_css.so +%{tde_tdelibdir}/kcm_display.la +%{tde_tdelibdir}/kcm_display.so +%{tde_tdelibdir}/kcm_energy.la +%{tde_tdelibdir}/kcm_energy.so +%{tde_tdelibdir}/kcm_filetypes.la +%{tde_tdelibdir}/kcm_filetypes.so +%{tde_tdelibdir}/kcm_fontinst.la +%{tde_tdelibdir}/kcm_fontinst.so +%{tde_tdelibdir}/kcm_fonts.la +%{tde_tdelibdir}/kcm_fonts.so +#%{tde_tdelibdir}/kcm_hwmanager.la +#%{tde_tdelibdir}/kcm_hwmanager.so +%{tde_tdelibdir}/kcm_icons.la +%{tde_tdelibdir}/kcm_icons.so +%{tde_tdelibdir}/kcm_info.la +%{tde_tdelibdir}/kcm_info.so +%{tde_tdelibdir}/kcm_input.la +%{tde_tdelibdir}/kcm_input.so +%{tde_tdelibdir}/kcm_ioslaveinfo.la +%{tde_tdelibdir}/kcm_ioslaveinfo.so +%{tde_tdelibdir}/kcm_joystick.la +%{tde_tdelibdir}/kcm_joystick.so +%{tde_tdelibdir}/kcm_kded.la +%{tde_tdelibdir}/kcm_kded.so +%{tde_tdelibdir}/kcm_[kt]dm.la +%{tde_tdelibdir}/kcm_[kt]dm.so +%{tde_tdelibdir}/kcm_kdnssd.so +%{tde_tdelibdir}/kcm_kdnssd.la +%{tde_tdelibdir}/kcm_keys.la +%{tde_tdelibdir}/kcm_keys.so +%{tde_tdelibdir}/kcm_kicker.la +%{tde_tdelibdir}/kcm_kicker.so +%{tde_tdelibdir}/kcm_kio.la +%{tde_tdelibdir}/kcm_kio.so +%{tde_tdelibdir}/kcm_knotify.la +%{tde_tdelibdir}/kcm_knotify.so +%{tde_tdelibdir}/kcm_konqhtml.la +%{tde_tdelibdir}/kcm_konqhtml.so +%{tde_tdelibdir}/kcm_konq.la +%{tde_tdelibdir}/kcm_konq.so +%{tde_tdelibdir}/kcm_kthememanager.la +%{tde_tdelibdir}/kcm_kthememanager.so +%{tde_tdelibdir}/kcm_kurifilt.la +%{tde_tdelibdir}/kcm_kurifilt.so +%{tde_tdelibdir}/kcm_launch.la +%{tde_tdelibdir}/kcm_launch.so +%{tde_tdelibdir}/kcm_locale.la +%{tde_tdelibdir}/kcm_locale.so +%{tde_tdelibdir}/kcm_nic.la +%{tde_tdelibdir}/kcm_nic.so +%{tde_tdelibdir}/kcm_performance.la +%{tde_tdelibdir}/kcm_performance.so +%{tde_tdelibdir}/kcm_privacy.la +%{tde_tdelibdir}/kcm_privacy.so +%{tde_tdelibdir}/kcm_samba.la +%{tde_tdelibdir}/kcm_samba.so +%{tde_tdelibdir}/kcm_screensaver.la +%{tde_tdelibdir}/kcm_screensaver.so +%{tde_tdelibdir}/kcm_smserver.la +%{tde_tdelibdir}/kcm_smserver.so +%{tde_tdelibdir}/kcm_spellchecking.la +%{tde_tdelibdir}/kcm_spellchecking.so +%{tde_tdelibdir}/kcm_style.la +%{tde_tdelibdir}/kcm_style.so +%{tde_tdelibdir}/kcm_taskbar.la +%{tde_tdelibdir}/kcm_taskbar.so +%{tde_tdelibdir}/kcm_usb.la +%{tde_tdelibdir}/kcm_usb.so +%{tde_tdelibdir}/kcm_view1394.la +%{tde_tdelibdir}/kcm_view1394.so +%{tde_tdelibdir}/kcm_xinerama.la +%{tde_tdelibdir}/kcm_xinerama.so +%{tde_tdelibdir}/kcontrol.la +%{tde_tdelibdir}/kcontrol.so +%{tde_tdelibdir}/kfile_font.la +%{tde_tdelibdir}/kfile_font.so +%{tde_tdelibdir}/kio_fonts.la +%{tde_tdelibdir}/kio_fonts.so +%{tde_tdelibdir}/kstyle_keramik_config.la +%{tde_tdelibdir}/kstyle_keramik_config.so +%{tde_tdelibdir}/libkfontviewpart.la +%{tde_tdelibdir}/libkfontviewpart.so +%{tde_tdelibdir}/libkshorturifilter.la +%{tde_tdelibdir}/libkshorturifilter.so +%{tde_tdelibdir}/libkuriikwsfilter.la +%{tde_tdelibdir}/libkuriikwsfilter.so +%{tde_tdelibdir}/libkurisearchfilter.la +%{tde_tdelibdir}/libkurisearchfilter.so +%{tde_tdelibdir}/liblocaldomainurifilter.la +%{tde_tdelibdir}/liblocaldomainurifilter.so +%{tde_libdir}/lib[kt]deinit_kaccess.la +%{tde_libdir}/lib[kt]deinit_kaccess.so +%{tde_libdir}/lib[kt]deinit_kcontrol.la +%{tde_libdir}/lib[kt]deinit_kcontrol.so +%{tde_libdir}/libkfontinst.so.* +%{tde_tdeappdir}/arts.desktop +%{tde_tdeappdir}/background.desktop +%{tde_tdeappdir}/bell.desktop +%{tde_tdeappdir}/cache.desktop +%{tde_tdeappdir}/cdinfo.desktop +%{tde_tdeappdir}/clock.desktop +%{tde_tdeappdir}/colors.desktop +%{tde_tdeappdir}/componentchooser.desktop +%{tde_tdeappdir}/cookies.desktop +%{tde_tdeappdir}/crypto.desktop +%{tde_tdeappdir}/desktopbehavior.desktop +%{tde_tdeappdir}/desktop.desktop +%{tde_tdeappdir}/desktoppath.desktop +%{tde_tdeappdir}/devices.desktop +%{tde_tdeappdir}/display.desktop +%{tde_tdeappdir}/dma.desktop +%{tde_tdeappdir}/ebrowsing.desktop +%{tde_tdeappdir}/filebrowser.desktop +%{tde_tdeappdir}/filetypes.desktop +%{tde_tdeappdir}/fonts.desktop +#%{tde_tdeappdir}/hwmanager.desktop +%{tde_tdeappdir}/icons.desktop +%{tde_tdeappdir}/installktheme.desktop +%{tde_tdeappdir}/interrupts.desktop +%{tde_tdeappdir}/ioports.desktop +%{tde_tdeappdir}/ioslaveinfo.desktop +%{tde_tdeappdir}/joystick.desktop +%{tde_tdeappdir}/kcm_kdnssd.desktop +%{tde_tdeappdir}/kcmaccess.desktop +%{tde_tdeappdir}/kcmcss.desktop +%{tde_tdeappdir}/kcmfontinst.desktop +%{tde_tdeappdir}/kcmkded.desktop +%{tde_tdeappdir}/kcmlaunch.desktop +%{tde_tdeappdir}/kcmnotify.desktop +%{tde_tdeappdir}/kcmperformance.desktop +%{tde_tdeappdir}/kcmsmserver.desktop +%{tde_tdeappdir}/kcmtaskbar.desktop +%{tde_tdeappdir}/kcmusb.desktop +%{tde_tdeappdir}/kcmview1394.desktop +%{tde_tdeappdir}/KControl.desktop +%{tde_tdeappdir}/[kt]dm.desktop +%{tde_tdeappdir}/keys.desktop +%{tde_tdeappdir}/kfontview.desktop +%{tde_tdeappdir}/khtml_behavior.desktop +%{tde_tdeappdir}/khtml_fonts.desktop +%{tde_tdeappdir}/khtml_java_js.desktop +%{tde_tdeappdir}/kinfocenter.desktop +%{tde_tdeappdir}/kthememanager.desktop +%{tde_tdeappdir}/lanbrowser.desktop +%{tde_tdeappdir}/language.desktop +%{tde_tdeappdir}/media.desktop +%{tde_tdeappdir}/memory.desktop +%{tde_tdeappdir}/mouse.desktop +%{tde_tdeappdir}/netpref.desktop +%{tde_tdeappdir}/nic.desktop +%{tde_tdeappdir}/opengl.desktop +%{tde_tdeappdir}/panel_appearance.desktop +%{tde_tdeappdir}/panel.desktop +%{tde_tdeappdir}/partitions.desktop +%{tde_tdeappdir}/pci.desktop +%{tde_tdeappdir}/privacy.desktop +%{tde_tdeappdir}/processor.desktop +%{tde_tdeappdir}/proxy.desktop +%{tde_tdeappdir}/screensaver.desktop +%{tde_tdeappdir}/scsi.desktop +%{tde_tdeappdir}/smbstatus.desktop +%{tde_tdeappdir}/sound.desktop +%{tde_tdeappdir}/spellchecking.desktop +%{tde_tdeappdir}/style.desktop +%{tde_tdeappdir}/useragent.desktop +%{tde_tdeappdir}/xserver.desktop +%{tde_datadir}/applnk/.hidden/energy.desktop +%{tde_datadir}/applnk/.hidden/fileappearance.desktop +%{tde_datadir}/applnk/.hidden/filebehavior.desktop +%{tde_datadir}/applnk/.hidden/filepreviews.desktop +%{tde_datadir}/applnk/.hidden/kcmkonqyperformance.desktop +%{tde_datadir}/applnk/.hidden/kicker_config_appearance.desktop +%{tde_datadir}/applnk/.hidden/kicker_config.desktop +%{tde_datadir}/applnk/.hidden/smb.desktop +%{tde_datadir}/applnk/.hidden/xinerama.desktop +%{tde_datadir}/applnk/Settings/LookNFeel/ +%{tde_datadir}/applnk/Settings/WebBrowsing/khtml_appearance.desktop +%{tde_datadir}/applnk/Settings/WebBrowsing/nsplugin.desktop +%{tde_datadir}/applnk/Settings/WebBrowsing/smb.desktop +%{tde_datadir}/apps/kcm_componentchooser/kcm_browser.desktop +%{tde_datadir}/apps/kcm_componentchooser/kcm_kemail.desktop +%{tde_datadir}/apps/kcm_componentchooser/kcm_terminal.desktop +%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/fonts.desktop +%{tde_datadir}/apps/konqueror/servicemenus/installfont.desktop +%{tde_datadir}/mimelnk/application/x-ktheme.desktop +%{tde_datadir}/mimelnk/fonts/folder.desktop +%{tde_datadir}/mimelnk/fonts/package.desktop +%{tde_datadir}/mimelnk/fonts/system-folder.desktop +%{tde_datadir}/services/fonts.protocol +%{tde_datadir}/services/fontthumbnail.desktop +%{tde_datadir}/services/kaccess.desktop +%{tde_datadir}/services/kfile_font.desktop +%{tde_datadir}/services/kfontviewpart.desktop +%{tde_datadir}/services/kshorturifilter.desktop +%{tde_datadir}/services/kuriikwsfilter.desktop +%{tde_datadir}/services/kurisearchfilter.desktop +%{tde_datadir}/services/localdomainurifilter.desktop + +%{tde_datadir}/apps/usb.ids +%{tde_datadir}/apps/kcmview1394/oui.db + +# The following features are not compiled under RHEL 5 +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} +%{tde_bindir}/krandrtray +%{tde_tdelibdir}/kcm_displayconfig.la +%{tde_tdelibdir}/kcm_displayconfig.so +%{tde_tdelibdir}/kcm_iccconfig.la +%{tde_tdelibdir}/kcm_iccconfig.so +%{tde_tdelibdir}/kcm_randr.la +%{tde_tdelibdir}/kcm_randr.so +%{tde_tdeappdir}/displayconfig.desktop +%{tde_tdeappdir}/iccconfig.desktop +%{tde_tdeappdir}/krandrtray.desktop +%{tde_datadir}/applnk/.hidden/randr.desktop +%{tde_datadir}/autostart/krandrtray-autostart.desktop +%endif + +%post -n trinity-kcontrol +/sbin/ldconfig || : +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%postun -n trinity-kcontrol +/sbin/ldconfig || : +update-desktop-database %{tde_appdir} 2> /dev/null || : + +########## + +%package -n trinity-kcontrol-devel +Summary: Development files for kcontrol +Group: Development/Libraries +Requires: trinity-kcontrol = %{version}-%{release} + +%description -n trinity-kcontrol-devel +%{summary} + +%files -n trinity-kcontrol-devel +%{tde_libdir}/libkfontinst.la +%{tde_libdir}/libkfontinst.so + +%post -n trinity-kcontrol-devel +/sbin/ldconfig || : + +%postun -n trinity-kcontrol-devel +/sbin/ldconfig || : + +########## + +%package bin +Summary: core binaries for the TDE base module +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} +Requires: pam + +Provides: tdebase-bin = %{version}-%{release} +Obsoletes: tdebase-bin < %{version}-%{release} + +%description bin +This package contains miscellaneous programs needed by other +TDE applications, particularly those in the TDE base module. + +%files bin +%defattr(-,root,root,-) +%{tde_bindir}/krootbacking +#%{tde_bindir}/tdeinit_phase1 +%if 0%{?with_tsak} +%attr(4511,root,root) %{tde_bindir}/[kt]dmtsak +%{tde_bindir}/tsak +%endif +%{tde_bindir}/kdebugdialog +%{tde_bindir}/kreadconfig +%{tde_bindir}/kwriteconfig +%{tde_bindir}/kstart +%{tde_datadir}/config/kxkb_groups +%{tde_bindir}/drkonqi +%{tde_bindir}/kapplymousetheme +%{tde_bindir}/kblankscrn.kss +%attr(4755,root,root) %{tde_bindir}/kcheckpass +%{tde_bindir}/kcminit +%{tde_bindir}/kcminit_startup +%{tde_bindir}/kdcop +%{tde_bindir}/[kt]desu +%attr(0755,root,root) %{tde_bindir}/[kt]desud +%{tde_bindir}/kdialog +%{tde_bindir}/khotkeys +%{tde_bindir}/knetattach +%{tde_bindir}/krandom.kss +%{tde_bindir}/ksystraycmd +%{tde_bindir}/kxkb +%{tde_libdir}/kconf_update_bin/khotkeys_update +%{tde_tdelibdir}/kcminit.la +%{tde_tdelibdir}/kcminit.so +%{tde_tdelibdir}/kcminit_startup.la +%{tde_tdelibdir}/kcminit_startup.so +%{tde_tdelibdir}/kcm_keyboard.la +%{tde_tdelibdir}/kcm_keyboard.so +%{tde_tdelibdir}/kcm_khotkeys_init.la +%{tde_tdelibdir}/kcm_khotkeys_init.so +%{tde_tdelibdir}/kcm_khotkeys.la +%{tde_tdelibdir}/kcm_khotkeys.so +%{tde_tdelibdir}/kded_khotkeys.la +%{tde_tdelibdir}/kded_khotkeys.so +%{tde_tdelibdir}/kgreet_classic.la +%{tde_tdelibdir}/kgreet_classic.so +%{tde_tdelibdir}/kgreet_winbind.la +%{tde_tdelibdir}/kgreet_winbind.so +%{tde_tdelibdir}/khotkeys.la +%{tde_tdelibdir}/khotkeys.so +%{tde_tdelibdir}/khotkeys_arts.la +%{tde_tdelibdir}/khotkeys_arts.so +%{tde_tdelibdir}/kxkb.la +%{tde_tdelibdir}/kxkb.so +%{tde_libdir}/lib[kt]deinit_kcminit.la +%{tde_libdir}/lib[kt]deinit_kcminit.so +%{tde_libdir}/lib[kt]deinit_kcminit_startup.la +%{tde_libdir}/lib[kt]deinit_kcminit_startup.so +%{tde_libdir}/lib[kt]deinit_khotkeys.la +%{tde_libdir}/lib[kt]deinit_khotkeys.so +%{tde_libdir}/lib[kt]deinit_kxkb.la +%{tde_libdir}/lib[kt]deinit_kxkb.so +%{tde_libdir}/libkhotkeys_shared.so.* +%{tde_tdeappdir}/keyboard.desktop +%{tde_tdeappdir}/keyboard_layout.desktop +%{tde_tdeappdir}/khotkeys.desktop +%{tde_tdeappdir}/knetattach.desktop +%{tde_datadir}/applnk/System/ScreenSavers/ +%{tde_datadir}/apps/drkonqi/ +%{tde_datadir}/apps/kconf_update/khotkeys_32b1_update.upd +%{tde_datadir}/apps/kconf_update/khotkeys_printscreen.upd +%{tde_datadir}/apps/kconf_update/konqueror_gestures_trinity21_update.upd +%{tde_datadir}/apps/kdcop/kdcopui.rc +%{tde_datadir}/apps/khotkeys/ +%{tde_datadir}/services/kded/khotkeys.desktop +%{tde_datadir}/services/kxkb.desktop +%{_sysconfdir}/pam.d/kcheckpass-trinity +%if 0%{?suse_version} == 0 +%{_sysconfdir}/pam.d/kscreensaver-trinity +%endif +%{tde_tdedocdir}/HTML/en/kdcop/ +%{tde_tdedocdir}/HTML/en/kdebugdialog// +%{tde_tdedocdir}/HTML/en/[kt]desu/ +%{tde_tdedocdir}/HTML/en/knetattach/ +%{tde_tdedocdir}/HTML/en/kxkb/ + +%post bin +/sbin/ldconfig || : +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%postun bin +/sbin/ldconfig || : +update-desktop-database %{tde_appdir} 2> /dev/null || : + +########## + +%package bin-devel +Summary: Development files for core binaries for the TDE base module +Group: Development/Libraries +Requires: %{name}-bin = %{version}-%{release} + +Obsoletes: tdebase-bin-devel < %{version}-%{release} +Provides: tdebase-bin-devel = %{version}-%{release} + +%description bin-devel +%{summary} + +%files bin-devel +%{tde_libdir}/libkhotkeys_shared.la +%{tde_libdir}/libkhotkeys_shared.so + +%post bin-devel +/sbin/ldconfig || : + +%postun bin-devel +/sbin/ldconfig || : + +########## + +%package data +Summary: shared data files for the TDE base module +Group: Environment/Libraries +Requires: %{name}-runtime-data-common = %{version}-%{release} + +Obsoletes: tdebase-data < %{version}-%{release} +Provides: tdebase-data = %{version}-%{release} + +%description data +This package contains the architecture-independent shared data files +needed for a basic TDE desktop installation. + +%files data +%defattr(-,root,root,-) +%{tde_datadir}/config/kshorturifilterrc +%{tde_datadir}/applnk/.hidden/battery.desktop +%{tde_datadir}/applnk/.hidden/bwarning.desktop +%{tde_datadir}/applnk/.hidden/cwarning.desktop +%{tde_datadir}/applnk/.hidden/.directory +%{tde_datadir}/applnk/.hidden/email.desktop +%{tde_datadir}/applnk/.hidden/kcmkonq.desktop +%{tde_datadir}/applnk/.hidden/kcmkxmlrpcd.desktop +%{tde_datadir}/applnk/.hidden/konqhtml.desktop +%{tde_datadir}/applnk/.hidden/passwords.desktop +%{tde_datadir}/applnk/.hidden/power.desktop +%{tde_datadir}/applnk/.hidden/socks.desktop +%{tde_datadir}/applnk/.hidden/userinfo.desktop +%{tde_datadir}/applnk/.hidden/virtualdesktops.desktop +%{tde_datadir}/apps/kaccess/eventsrc +%{tde_datadir}/apps/kcmcss/template.css +%{tde_datadir}/apps/kcminput/ +%{tde_datadir}/apps/kcmkeys/ +%{tde_datadir}/apps/kcmlocale/pics/background.png +%{tde_datadir}/apps/kconf_update/convertShortcuts.pl +%{tde_datadir}/apps/kconf_update/kaccel.upd +%{tde_datadir}/apps/kconf_update/kcmdisplayrc.upd +%{tde_datadir}/apps/kconf_update/kuriikwsfilter.upd +%{tde_datadir}/apps/kconf_update/mouse_cursor_theme.upd +%{tde_datadir}/apps/kconf_update/socks.upd +%{tde_datadir}/apps/kcontrol/ +%{tde_datadir}/apps/kdisplay/ +%{tde_datadir}/apps/kfontview/ +%{tde_datadir}/apps/kinfocenter/kinfocenterui.rc +%{tde_datadir}/apps/kthememanager/themes/* +%{tde_datadir}/icons/crystalsvg/*/apps/access.png +%{tde_datadir}/icons/crystalsvg/*/apps/acroread.png +%{tde_datadir}/icons/crystalsvg/*/apps/applixware.png +%{tde_datadir}/icons/crystalsvg/*/apps/arts.png +%{tde_datadir}/icons/crystalsvg/*/apps/background.png +%{tde_datadir}/icons/crystalsvg/*/apps/bell.png +%{tde_datadir}/icons/crystalsvg/*/apps/cache.png +%{tde_datadir}/icons/crystalsvg/*/apps/clanbomber.png +%{tde_datadir}/icons/crystalsvg/*/apps/clock.png +%{tde_datadir}/icons/crystalsvg/*/apps/colors.png +%{tde_datadir}/icons/crystalsvg/*/apps/date.png +%{tde_datadir}/icons/crystalsvg/*/apps/email.png +%{tde_datadir}/icons/crystalsvg/*/apps/energy.png +%{tde_datadir}/icons/crystalsvg/*/apps/energy_star.png +%{tde_datadir}/icons/crystalsvg/*/apps/filetypes.png +%{tde_datadir}/icons/crystalsvg/*/apps/fonts.png +%{tde_datadir}/icons/crystalsvg/*/apps/gimp.png +%{tde_datadir}/icons/crystalsvg/*/apps/help_index.png +%{tde_datadir}/icons/crystalsvg/*/apps/hwinfo.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmdevices.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmdf.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmkwm.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmmemory.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmpartitions.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmpci.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcontrol.png +%{tde_datadir}/icons/crystalsvg/*/apps/[kt]dmconfig.png +%{tde_datadir}/icons/crystalsvg/*/apps/key_bindings.png +%{tde_datadir}/icons/crystalsvg/*/apps/kfm_home.png +%{tde_datadir}/icons/crystalsvg/*/apps/kscreensaver.png +%{tde_datadir}/icons/crystalsvg/*/apps/kthememgr.png +%{tde_datadir}/icons/crystalsvg/*/apps/licq.png +%{tde_datadir}/icons/crystalsvg/*/apps/linuxconf.png +%{tde_datadir}/icons/crystalsvg/*/apps/locale.png +%{tde_datadir}/icons/crystalsvg/*/apps/looknfeel.png +%{tde_datadir}/icons/crystalsvg/*/apps/multimedia.png +%{tde_datadir}/icons/crystalsvg/*/apps/netscape.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_applications.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_development.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_favourite.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_games.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_games_kids.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_multimedia.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_network.png +%{tde_datadir}/icons/crystalsvg/*/apps/package.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_settings.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_toys.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_utilities.png +%{tde_datadir}/icons/crystalsvg/*/apps/penguin.png +%{tde_datadir}/icons/crystalsvg/*/apps/personal.png +%{tde_datadir}/icons/crystalsvg/*/apps/phppg.png +%{tde_datadir}/icons/crystalsvg/*/apps/proxy.png +%{tde_datadir}/icons/crystalsvg/*/apps/pysol.png +%{tde_datadir}/icons/crystalsvg/*/apps/randr.png +%{tde_datadir}/icons/crystalsvg/*/apps/samba.png +%{tde_datadir}/icons/crystalsvg/*/apps/staroffice.png +%{tde_datadir}/icons/crystalsvg/*/apps/stylesheet.png +%{tde_datadir}/icons/crystalsvg/*/apps/terminal.png +%{tde_datadir}/icons/crystalsvg/*/apps/tux.png +%{tde_datadir}/icons/crystalsvg/*/apps/wp.png +%{tde_datadir}/icons/crystalsvg/*/apps/xclock.png +%{tde_datadir}/icons/crystalsvg/*/apps/xfmail.png +%{tde_datadir}/icons/crystalsvg/*/apps/xmag.png +%{tde_datadir}/icons/crystalsvg/*/apps/xpaint.png +%{tde_datadir}/icons/crystalsvg/scalable/apps/access.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/acroread.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/aim.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/aktion.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/antivirus.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/applixware.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/arts.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/background.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/bell.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/browser.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/cache.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/camera.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/clanbomber.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/clock.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/colors.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/core.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/date.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/display.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/download_manager.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/email.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/energy.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/error.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/fifteenpieces.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/filetypes.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/fonts.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/galeon.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/gnome_apps.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/hardware.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/hwinfo.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/ieee1394.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/kcmdevices.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/kcmkwm.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/kcmx.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/locale.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/my_mac.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/netscape.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/openoffice.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/package_development.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/package_games_kids.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/package_toys.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/penguin.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/personal.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/quicktime.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/realplayer.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/samba.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/shell.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/staroffice.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/stylesheet.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/terminal.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/tux.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/wine.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/x.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/xapp.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/xcalc.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/xchat.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/xclock.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/xeyes.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/xpaint.svgz +%{tde_datadir}/icons/crystalsvg/*/devices/laptop.png +%{tde_datadir}/icons/crystalsvg/*/devices/laptop.svgz +%{tde_datadir}/icons/crystalsvg/*/actions/newfont.png +%{tde_datadir}/icons/crystalsvg/*/apps/abiword.png +%{tde_datadir}/icons/crystalsvg/*/apps/agent.png +%{tde_datadir}/icons/crystalsvg/*/apps/alevt.png +%{tde_datadir}/icons/crystalsvg/*/apps/assistant.png +%{tde_datadir}/icons/crystalsvg/*/apps/blender.png +%{tde_datadir}/icons/crystalsvg/*/apps/bluefish.png +%{tde_datadir}/icons/crystalsvg/*/apps/cookie.png +%{tde_datadir}/icons/crystalsvg/*/apps/designer.png +%{tde_datadir}/icons/crystalsvg/*/apps/dia.png +%{tde_datadir}/icons/crystalsvg/*/apps/dlgedit.png +%{tde_datadir}/icons/crystalsvg/*/apps/eclipse.png +%{tde_datadir}/icons/crystalsvg/*/apps/edu_languages.png +%{tde_datadir}/icons/crystalsvg/*/apps/edu_mathematics.png +%{tde_datadir}/icons/crystalsvg/*/apps/edu_miscellaneous.png +%{tde_datadir}/icons/crystalsvg/*/apps/edu_science.png +%{tde_datadir}/icons/crystalsvg/*/apps/emacs.png +%{tde_datadir}/icons/crystalsvg/*/apps/enhanced_browsing.png +%{tde_datadir}/icons/crystalsvg/*/apps/evolution.png +%{tde_datadir}/icons/crystalsvg/*/apps/fifteenpieces.png +%{tde_datadir}/icons/crystalsvg/*/apps/gabber.png +%{tde_datadir}/icons/crystalsvg/*/apps/gaim.png +%{tde_datadir}/icons/crystalsvg/*/apps/gnome_apps.png +%{tde_datadir}/icons/crystalsvg/*/apps/gnomemeeting.png +%{tde_datadir}/icons/crystalsvg/*/apps/gnucash.png +%{tde_datadir}/icons/crystalsvg/*/apps/gnumeric.png +%{tde_datadir}/icons/crystalsvg/*/apps/gv.png +%{tde_datadir}/icons/crystalsvg/*/apps/gvim.png +%{tde_datadir}/icons/crystalsvg/*/apps/icons.png +%{tde_datadir}/icons/crystalsvg/*/apps/iconthemes.png +%{tde_datadir}/icons/crystalsvg/*/apps/ieee1394.png +%{tde_datadir}/icons/crystalsvg/*/apps/input_devices_settings.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmkicker.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmmidi.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmprocessor.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmscsi.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmsound.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmsystem.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmx.png +%{tde_datadir}/icons/crystalsvg/*/apps/keyboard.png +%{tde_datadir}/icons/crystalsvg/*/apps/keyboard_layout.png +%{tde_datadir}/icons/crystalsvg/*/apps/knotify.png +%{tde_datadir}/icons/crystalsvg/*/apps/kvirc.png +%{tde_datadir}/icons/crystalsvg/*/apps/linguist.png +%{tde_datadir}/icons/crystalsvg/*/apps/lyx.png +%{tde_datadir}/icons/crystalsvg/*/apps/mac.png +%{tde_datadir}/icons/crystalsvg/*/apps/mathematica.png +%{tde_datadir}/icons/crystalsvg/*/apps/nedit.png +%{tde_datadir}/icons/crystalsvg/*/apps/opera.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_application.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_editors.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_edutainment.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_games_arcade.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_games_board.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_games_card.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_games_strategy.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_graphics.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_system.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_wordprocessing.png +%{tde_datadir}/icons/crystalsvg/*/apps/pan.png +%{tde_datadir}/icons/crystalsvg/*/apps/panel_settings.png +%{tde_datadir}/icons/crystalsvg/*/apps/plan.png +%{tde_datadir}/icons/crystalsvg/*/apps/planner.png +%{tde_datadir}/icons/crystalsvg/*/apps/pybliographic.png +%{tde_datadir}/icons/crystalsvg/*/apps/realplayer.png +%{tde_datadir}/icons/crystalsvg/*/apps/remote.png +%{tde_datadir}/icons/crystalsvg/*/apps/scribus.png +%{tde_datadir}/icons/crystalsvg/*/apps/sodipodi.png +%{tde_datadir}/icons/crystalsvg/*/apps/style.png +%{tde_datadir}/icons/crystalsvg/*/apps/usb.png +%{tde_datadir}/icons/crystalsvg/*/apps/vnc.png +%{tde_datadir}/icons/crystalsvg/*/apps/wabi.png +%{tde_datadir}/icons/crystalsvg/*/apps/wine.png +%{tde_datadir}/icons/crystalsvg/*/apps/xcalc.png +%{tde_datadir}/icons/crystalsvg/*/apps/xchat.png +%{tde_datadir}/icons/crystalsvg/*/apps/xclipboard.png +%{tde_datadir}/icons/crystalsvg/*/apps/xconsole.png +%{tde_datadir}/icons/crystalsvg/*/apps/xedit.png +%{tde_datadir}/icons/crystalsvg/*/apps/xemacs.png +%{tde_datadir}/icons/crystalsvg/*/apps/xeyes.png +%{tde_datadir}/icons/crystalsvg/*/apps/xfig.png +%{tde_datadir}/icons/crystalsvg/*/apps/xload.png +%{tde_datadir}/icons/crystalsvg/*/apps/xmms.png +%{tde_datadir}/icons/crystalsvg/*/apps/xosview.png +%{tde_datadir}/icons/crystalsvg/*/apps/xv.png +%{tde_datadir}/icons/crystalsvg/*/apps/galeon.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmdrkonqi.png +%{tde_datadir}/icons/crystalsvg/*/apps/pinguin.png +%{tde_datadir}/icons/crystalsvg/*/apps/x.png +%{tde_datadir}/icons/crystalsvg/*/apps/xapp.png +%{tde_datadir}/icons/crystalsvg/*/apps/xawtv.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmopengl.png +%{tde_datadir}/icons/crystalsvg/*/apps/wmaker_apps.png +%{tde_datadir}/icons/crystalsvg/*/apps/qtella.png +%{tde_datadir}/services/searchproviders +%{tde_datadir}/services/useragentstrings/*.desktop +%{tde_datadir}/servicetypes/searchprovider.desktop +%{tde_datadir}/servicetypes/uasprovider.desktop +%exclude %{tde_datadir}/sounds/pop.wav +%{tde_datadir}/sounds/ +%{tde_datadir}/wallpapers/* + +%if "%{tde_prefix}" != "/usr" +%{tde_prefix}/etc/xdg/menus/applications-merged/kde-essential.menu +%{tde_prefix}/etc/xdg/menus/kde-information.menu +%{tde_prefix}/etc/xdg/menus/kde-screensavers.menu +%{tde_prefix}/etc/xdg/menus/kde-settings.menu +%else +%{_sysconfdir}/xdg/menus/applications-merged/kde-essential.menu +%{_sysconfdir}/xdg/menus/kde-information.menu +%{_sysconfdir}/xdg/menus/kde-screensavers.menu +%{_sysconfdir}/xdg/menus/kde-settings.menu +%endif + +%{tde_tdedocdir}/HTML/en/kcontrol/ +%exclude %{tde_tdedocdir}/HTML/en/kcontrol/kcmkonsole/ +%{tde_tdedocdir}/HTML/en/kinfocenter/ + +%post data +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%if 0%{?mdkversion} +# Mandriva-specific: we have to choose a background for current distribution variant (Free, One, Powerpack, ...) +# First, we read the "product" key in /etc/product.id +eval $(tr "," ";" /dev/null +# Then, we create a symbolic link to the corresponding background +if [ -r "/usr/share/mdk/backgrounds/Mandriva-${product:-Free}-1280x1024-1300.jpg" "%{tde_bg}" ]; then + %__ln -sf "/usr/share/mdk/backgrounds/Mandriva-${product:-Free}-1280x1024-1300.jpg" "%{tde_bg}" +fi +%endif + +%postun data +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package kio-plugins +Summary: core I/O slaves for TDE +Group: Applications/Utilities +Requires: trinity-kdesktop = %{version}-%{release} +Requires: cyrus-sasl +Requires: psmisc +%if 0%{?with_hal} +Requires: hal >= 0.4.8 +%endif +%if 0%{?rhel} == 4 || 0%{?suse_version} +Requires: cryptsetup +%else +Requires: cryptsetup-luks +%endif + +Obsoletes: tdebase-kio-plugins < %{version}-%{release} +Provides: tdebase-kio-plugins = %{version}-%{release} + +%description kio-plugins +This package includes the base kioslaves. They include, amongst many +others, file, http, and ftp. + +It also includes the media kioslave, which handles removable devices, +and which works best with hal (and therefore udev) and pmount. Media +also extends the functionality of many other kioslaves. To use this +service, please make sure that your user is a member of the plugdev +group. + +%files kio-plugins +%defattr(-,root,root,-) +%{tde_bindir}/kio_media_mounthelper +%{tde_bindir}/ktrash +%{tde_tdelibdir}/cursorthumbnail.la +%{tde_tdelibdir}/cursorthumbnail.so +%{tde_tdelibdir}/djvuthumbnail.la +%{tde_tdelibdir}/djvuthumbnail.so +%{tde_tdelibdir}/htmlthumbnail.la +%{tde_tdelibdir}/htmlthumbnail.so +%{tde_tdelibdir}/imagethumbnail.la +%{tde_tdelibdir}/imagethumbnail.so +%{tde_tdelibdir}/kcm_cgi.la +%{tde_tdelibdir}/kcm_cgi.so +%{tde_tdelibdir}/kcm_media.la +%{tde_tdelibdir}/kcm_media.so +%{tde_tdelibdir}/kded_homedirnotify.la +%{tde_tdelibdir}/kded_homedirnotify.so +%{tde_tdelibdir}/kded_mediamanager.la +%{tde_tdelibdir}/kded_mediamanager.so +%{tde_tdelibdir}/kded_medianotifier.la +%{tde_tdelibdir}/kded_medianotifier.so +%{tde_tdelibdir}/kded_remotedirnotify.la +%{tde_tdelibdir}/kded_remotedirnotify.so +%{tde_tdelibdir}/kded_systemdirnotify.la +%{tde_tdelibdir}/kded_systemdirnotify.so +%{tde_tdelibdir}/kfile_media.la +%{tde_tdelibdir}/kfile_media.so +%{tde_tdelibdir}/kfile_trash.la +%{tde_tdelibdir}/kfile_trash.so +%{tde_tdelibdir}/kio_about.la +%{tde_tdelibdir}/kio_about.so +%{tde_tdelibdir}/kio_cgi.la +%{tde_tdelibdir}/kio_cgi.so +%{tde_tdelibdir}/kio_filter.la +%{tde_tdelibdir}/kio_filter.so +%{tde_tdelibdir}/kio_finger.la +%{tde_tdelibdir}/kio_finger.so +%{tde_tdelibdir}/kio_fish.la +%{tde_tdelibdir}/kio_fish.so +%{tde_tdelibdir}/kio_floppy.la +%{tde_tdelibdir}/kio_floppy.so +%{tde_tdelibdir}/kio_home.la +%{tde_tdelibdir}/kio_home.so +%{tde_tdelibdir}/kio_info.la +%{tde_tdelibdir}/kio_info.so +%{tde_tdelibdir}/kio_mac.la +%{tde_tdelibdir}/kio_mac.so +%{tde_tdelibdir}/kio_man.la +%{tde_tdelibdir}/kio_man.so +%{tde_tdelibdir}/kio_media.la +%{tde_tdelibdir}/kio_media.so +%{tde_tdelibdir}/kio_nfs.la +%{tde_tdelibdir}/kio_nfs.so +%{tde_tdelibdir}/kio_remote.la +%{tde_tdelibdir}/kio_remote.so +%{tde_tdelibdir}/kio_settings.la +%{tde_tdelibdir}/kio_settings.so +%{tde_tdelibdir}/kio_sftp.la +%{tde_tdelibdir}/kio_sftp.so +%{tde_tdelibdir}/kio_smb.la +%{tde_tdelibdir}/kio_smb.so +%{tde_tdelibdir}/kio_system.la +%{tde_tdelibdir}/kio_system.so +%{tde_tdelibdir}/kio_tar.la +%{tde_tdelibdir}/kio_tar.so +%{tde_tdelibdir}/kio_thumbnail.la +%{tde_tdelibdir}/kio_thumbnail.so +%{tde_tdelibdir}/kio_trash.la +%{tde_tdelibdir}/kio_trash.so +%{tde_tdelibdir}/libkmanpart.la +%{tde_tdelibdir}/libkmanpart.so +%{tde_tdelibdir}/textthumbnail.la +%{tde_tdelibdir}/textthumbnail.so +%{tde_tdeappdir}/kcmcgi.desktop +%{tde_datadir}/apps/kio_finger/kio_finger.css +%{tde_datadir}/apps/kio_finger/kio_finger.pl +%{tde_datadir}/apps/kio_info/kde-info2html +%{tde_datadir}/apps/kio_info/kde-info2html.conf +%{tde_datadir}/apps/kio_man/kio_man.css +%{tde_datadir}/apps/konqueror/dirtree/remote/smb-network.desktop +%{tde_datadir}/apps/remoteview/smb-network.desktop +%{tde_datadir}/apps/systemview/*.desktop +%{tde_datadir}/config.kcfg/mediamanagersettings.kcfg +%{tde_datadir}/mimelnk/application/x-smb-server.desktop +%{tde_datadir}/mimelnk/application/x-smb-workgroup.desktop +%{tde_datadir}/mimelnk/inode/system_directory.desktop +%{tde_datadir}/mimelnk/media/*.desktop +%{tde_datadir}/services/about.protocol +%{tde_datadir}/services/applications.protocol +%{tde_datadir}/services/ar.protocol +%{tde_datadir}/services/bzip.protocol +%{tde_datadir}/services/bzip2.protocol +%{tde_datadir}/services/cgi.protocol +%{tde_datadir}/services/cursorthumbnail.desktop +%{tde_datadir}/services/djvuthumbnail.desktop +%{tde_datadir}/services/finger.protocol +%{tde_datadir}/services/fish.protocol +%{tde_datadir}/services/floppy.protocol +%{tde_datadir}/services/gzip.protocol +%{tde_datadir}/services/home.protocol +%{tde_datadir}/services/htmlthumbnail.desktop +%{tde_datadir}/services/imagethumbnail.desktop +%{tde_datadir}/services/info.protocol +%{tde_datadir}/services/kded/homedirnotify.desktop +%{tde_datadir}/services/kded/mediamanager.desktop +%{tde_datadir}/services/kded/medianotifier.desktop +%{tde_datadir}/services/kded/remotedirnotify.desktop +%{tde_datadir}/services/kded/systemdirnotify.desktop +%{tde_datadir}/services/kfile_media.desktop +%{tde_datadir}/services/kfile_trash_system.desktop +%{tde_datadir}/services/kmanpart.desktop +%{tde_datadir}/services/mac.protocol +%{tde_datadir}/services/man.protocol +%{tde_datadir}/services/media.protocol +%{tde_datadir}/services/nfs.protocol +%{tde_datadir}/services/nxfish.protocol +%{tde_datadir}/services/programs.protocol +%{tde_datadir}/services/remote.protocol +%{tde_datadir}/services/settings.protocol +%{tde_datadir}/services/sftp.protocol +%{tde_datadir}/services/smb.protocol +%{tde_datadir}/services/system.protocol +%{tde_datadir}/services/tar.protocol +%{tde_datadir}/services/textthumbnail.desktop +%{tde_datadir}/services/thumbnail.protocol +%{tde_datadir}/services/trash.protocol +%{tde_datadir}/services/zip.protocol +%{tde_datadir}/servicetypes/thumbcreator.desktop +%{tde_datadir}/services/kfile_trash.desktop +%{tde_tdedocdir}/HTML/en/kioslave/ +%if 0%{?with_exr} +%{tde_tdelibdir}/exrthumbnail.la +%{tde_tdelibdir}/exrthumbnail.so +%{tde_datadir}/services/exrthumbnail.desktop +%endif +%if 0%{?with_hal} +%{tde_tdelibdir}/media_propsdlgplugin.la +%{tde_tdelibdir}/media_propsdlgplugin.so +%{tde_datadir}/services/media_propsdlgplugin.desktop +%endif + +%post kio-plugins +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%postun kio-plugins +update-desktop-database %{tde_appdir} 2> /dev/null || : + + +########## + +%package -n trinity-kdepasswd +Summary: password changer for TDE +Group: Applications/Utilities + +%description -n trinity-kdepasswd +This is a simple application which allows users to change their +system passwords. + +%files -n trinity-kdepasswd +%defattr(-,root,root,-) +%{tde_bindir}/kdepasswd +%{tde_tdelibdir}/kcm_useraccount.la +%{tde_tdelibdir}/kcm_useraccount.so +%{tde_tdeappdir}/kcm_useraccount.desktop +%{tde_tdeappdir}/kdepasswd.desktop +%exclude %{tde_datadir}/apps/[kt]dm/pics/users/default1.png +%exclude %{tde_datadir}/apps/[kt]dm/pics/users/default2.png +%exclude %{tde_datadir}/apps/[kt]dm/pics/users/default3.png +%exclude %{tde_datadir}/apps/[kt]dm/pics/users/root1.png +%{tde_datadir}/apps/[kt]dm/pics/users/*.png +%{tde_datadir}/config.kcfg/kcm_useraccount.kcfg +%{tde_datadir}/config.kcfg/kcm_useraccount_pass.kcfg + +%post -n trinity-kdepasswd +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%postun -n trinity-kdepasswd +update-desktop-database %{tde_appdir} 2> /dev/null || : + +########## + +%package -n trinity-tdeprint +Summary: print system for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} +Requires: psutils + +%description -n trinity-tdeprint +This package contains the TDE printing subsystem. It can use CUPS, +lpd-ng or the traditional lpd. It also includes support for fax and +pdf printing. + +Installation of smbclient will make you able to use smb shared printers. + +%files -n trinity-tdeprint +%defattr(-,root,root,-) +%{tde_bindir}/[kt]deprintfax +%{tde_bindir}/kjobviewer +%{tde_bindir}/kprinter +%{tde_tdelibdir}/kcm_printmgr.la +%{tde_tdelibdir}/kcm_printmgr.so +%{tde_tdelibdir}/kio_print.la +%{tde_tdelibdir}/kio_print.so +%{tde_tdelibdir}/kjobviewer.la +%{tde_tdelibdir}/kjobviewer.so +%{tde_tdelibdir}/kprinter.la +%{tde_tdelibdir}/kprinter.so +%{tde_tdelibdir}/lib[kt]deprint_part.la +%{tde_tdelibdir}/lib[kt]deprint_part.so +%{tde_libdir}/lib[kt]deinit_kjobviewer.la +%{tde_libdir}/lib[kt]deinit_kjobviewer.so +%{tde_libdir}/lib[kt]deinit_kprinter.la +%{tde_libdir}/lib[kt]deinit_kprinter.so +%{tde_tdeappdir}/[kt]deprintfax.desktop +%{tde_tdeappdir}/[kt]jobviewer.desktop +%{tde_tdeappdir}/printers.desktop +%{tde_datadir}/apps/[kt]deprint/ +%{tde_datadir}/apps/[kt]deprintfax/ +%{tde_datadir}/apps/[kt]jobviewer/ +%{tde_datadir}/apps/[kt]deprint_part/kdeprint_part.rc +%{tde_datadir}/icons/hicolor/*/apps/kdeprintfax.png +%{tde_datadir}/icons/hicolor/*/apps/kjobviewer.png +%{tde_datadir}/icons/hicolor/*/apps/printmgr.png +%{tde_datadir}/icons/hicolor/scalable/apps/kdeprintfax.svgz +%{tde_datadir}/icons/hicolor/scalable/apps/kjobviewer.svgz +%{tde_datadir}/icons/hicolor/scalable/apps/printmgr.svgz +%{tde_datadir}/mimelnk/print/class.desktop +%{tde_datadir}/mimelnk/print/driver.desktop +%{tde_datadir}/mimelnk/print/folder.desktop +%{tde_datadir}/mimelnk/print/jobs.desktop +%{tde_datadir}/mimelnk/print/manager.desktop +%{tde_datadir}/mimelnk/print/printer.desktop +%{tde_datadir}/mimelnk/print/printermodel.desktop +%{tde_datadir}/services/kdeprint_part.desktop +%{tde_datadir}/services/print.protocol +%{tde_datadir}/services/printdb.protocol +%{tde_tdedocdir}/HTML/en/[kt]deprint/ + +%post -n trinity-tdeprint +/sbin/ldconfig || : +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%postun -n trinity-tdeprint +/sbin/ldconfig || : +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package -n trinity-kdesktop +Summary: miscellaneous binaries and files for the TDE desktop +Group: Applications/Utilities +Requires: %{name}-bin = %{version}-%{release} +Requires: %{name}-data = %{version}-%{release} +Requires: trinity-libkonq = %{version}-%{release} +Requires: eject +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +Requires: xdg-utils +%endif + +%description -n trinity-kdesktop +This package contains miscellaneous binaries and files integral to +the TDE desktop. + +%files -n trinity-kdesktop +%defattr(-,root,root,-) +%{tde_datadir}/config/kdesktop_custom_menu1 +%{tde_datadir}/config/kdesktop_custom_menu2 +%{tde_bindir}/kcheckrunning +%{tde_bindir}/kxdglauncher +%{tde_bindir}/kdeeject +%{tde_bindir}/kdesktop +%{tde_bindir}/kdesktop_lock +%{tde_bindir}/kwebdesktop +%{tde_tdelibdir}/kdesktop.la +%{tde_tdelibdir}/kdesktop.so +%{tde_libdir}/lib[kt]deinit_kdesktop.la +%{tde_libdir}/lib[kt]deinit_kdesktop.so +%{tde_datadir}/apps/kdesktop/ +%{tde_datadir}/apps/konqueror/servicemenus/kdesktopSetAsBackground.desktop +%{tde_datadir}/autostart/kdesktop.desktop +%{tde_datadir}/config.kcfg/kdesktop.kcfg +%{tde_datadir}/config.kcfg/klaunch.kcfg +%{tde_datadir}/config.kcfg/kwebdesktop.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/error.png + +%post -n trinity-kdesktop +/sbin/ldconfig || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%postun -n trinity-kdesktop +/sbin/ldconfig || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package -n trinity-kdesktop-devel +Summary: Development files for kdesktop +Group: Development/Libraries +Requires: trinity-kdesktop = %{version}-%{release} + +%description -n trinity-kdesktop-devel +%{summary} + +%files -n trinity-kdesktop-devel +%{tde_tdeincludedir}/KBackgroundIface.h +%{tde_tdeincludedir}/KDesktopIface.h +%{tde_tdeincludedir}/KScreensaverIface.h + +########## + +%package -n trinity-tdm +Summary: X Display manager for TDE +Group: Applications/Utilities +Requires: %{name}-bin = %{version}-%{release} +Requires: %{name}-data = %{version}-%{release} +Requires: pam + +# Provides the global Xsession script (/etc/X11/xinit/Xsession or /etc/X11/Xsession) +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} == 4 +Requires: xinitrc +%endif +%if 0%{?suse_version} +Requires: xdm +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} +Requires: xorg-x11-xinit +%endif + +# Required for Fedora LiveCD +%if 0%{?rhel} || 0%{?fedora} +Provides: service(graphical-login) +%endif +# Required for Mandriva's installer +%if 0%{?mgaversion} || 0%{?mdkversion} +Provides: dm +%endif + +%description -n trinity-tdm +tdm manages a collection of X servers, which may be on the local host or +remote machines. It provides services similar to those provided by init, +getty, and login on character-based terminals: prompting for login name and +password, authenticating the user, and running a session. tdm supports XDMCP +(X Display Manager Control Protocol) and can also be used to run a chooser +process which presents the user with a menu of possible hosts that offer +XDMCP display management. + +A collection of icons to associate with individual users is included with +TDE, but as part of the kdepasswd package. + +The menu package will help to provide TDM with a list of window managers +that can be launched, if the window manager does not register with TDM +already. Most users won't need this. + +%files -n trinity-tdm +%defattr(-,root,root,-) +%{tde_tdelibdir}/kgreet_pam.la +%{tde_tdelibdir}/kgreet_pam.so +%{tde_bindir}/gen[kt]dmconf +%{tde_bindir}/[kt]dm +%{tde_bindir}/[kt]dm_config +%{tde_bindir}/[kt]dmctl +%{tde_bindir}/[kt]dm_greet +%{tde_bindir}/krootimage +%{tde_datadir}/apps/[kt]dm/pics/kdelogo.png +%{tde_datadir}/apps/[kt]dm/pics/kdelogo-crystal.png +%{tde_datadir}/apps/[kt]dm/pics/shutdown.jpg +%{tde_datadir}/apps/[kt]dm/pics/users/default1.png +%{tde_datadir}/apps/[kt]dm/pics/users/default2.png +%{tde_datadir}/apps/[kt]dm/pics/users/default3.png +%{tde_datadir}/apps/[kt]dm/pics/users/root1.png +%{tde_datadir}/apps/[kt]dm/sessions/*.desktop +%{tde_datadir}/apps/[kt]dm/themes/ +%{tde_datadir}/config/[kt]dm/ +%{tde_tdedocdir}/HTML/en/[kt]dm/ +%if 0%{?suse_version} == 0 +%{_sysconfdir}/pam.d/kdm-trinity +%{_sysconfdir}/pam.d/kdm-trinity-np +%endif +%if 0%{?suse_version} +/usr/lib/X11/displaymanagers/tdm +%endif + +# Distribution specific stuff +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%{_usr}/share/xsessions/tde.desktop +%endif + +# https://wiki.mageia.org/en/How_to_add_a_new_Window_Manager_or_Display_Manager +%if 0%{?mgaversion} || 0%{?mdkversion} +%{_sysconfdir}/X11/wmsession.d/45TDE +%{_datadir}/X11/dm.d/45TDE.conf + +%post -n trinity-tdm +%make_session + +%postun -n trinity-tdm +%make_session +%endif + +########## + +%package -n trinity-tdm-devel +Summary: Development files for tdm +Group: Development/Libraries +Requires: trinity-tdm = %{version}-%{release} + +%description -n trinity-tdm-devel +%{summary} + +%files -n trinity-tdm-devel +%{tde_tdeincludedir}/kgreeterplugin.h + +########## + +%package -n trinity-kfind +Summary: file-find utility for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-kfind +kfind can be used to find files and directories on your +workstations. + +%files -n trinity-kfind +%defattr(-,root,root,-) +%{tde_bindir}/kfind +%{tde_tdelibdir}/libkfindpart.la +%{tde_tdelibdir}/libkfindpart.so +%{tde_tdeappdir}/Kfind.desktop +%{tde_datadir}/apps/kfindpart/ +%{tde_datadir}/icons/hicolor/*/apps/kfind.png +%{tde_datadir}/services/kfindpart.desktop +%{tde_datadir}/servicetypes/findpart.desktop +%{tde_tdedocdir}/HTML/en/kfind/ + +%post -n trinity-kfind +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%postun -n trinity-kfind +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package -n trinity-khelpcenter +Summary: help center for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} +Requires: htdig + +%description -n trinity-khelpcenter +The TDE Help Center provides documentation on how to use the KDE desktop. + +The htdig package is needed to build a searchable archive of TDE +documentation. + +%files -n trinity-khelpcenter +%defattr(-,root,root,-) +%{tde_bindir}/khc_beagle_index.pl +%{tde_bindir}/khc_beagle_search.pl +%{tde_bindir}/khc_docbookdig.pl +%{tde_bindir}/khc_htdig.pl +%{tde_bindir}/khc_htsearch.pl +%{tde_bindir}/khc_indexbuilder +%{tde_bindir}/khc_mansearch.pl +%{tde_bindir}/khelpcenter +%{tde_tdelibdir}/khelpcenter.la +%{tde_tdelibdir}/khelpcenter.so +%{tde_libdir}/lib[kt]deinit_khelpcenter.la +%{tde_libdir}/lib[kt]deinit_khelpcenter.so +%{tde_tdeappdir}/Help.desktop +%{tde_datadir}/apps/khelpcenter/ +%{tde_datadir}/config.kcfg/khelpcenter.kcfg +%{tde_datadir}/icons/hicolor/*/apps/khelpcenter.* +%{tde_datadir}/services/khelpcenter.desktop +%{tde_tdedocdir}/HTML/en/khelpcenter/ + +%post -n trinity-khelpcenter +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +%postun -n trinity-khelpcenter +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +########## + +%package -n trinity-kicker +Summary: desktop panel for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-kicker +Kicker provides the TDE panel on you desktop. It can be used as a +program launcher and can load plugins to provide additional +functionality. + +%files -n trinity-kicker +%defattr(-,root,root,-) +%{tde_bindir}/appletproxy +%{tde_bindir}/extensionproxy +%{tde_bindir}/kasbar +%{tde_bindir}/kicker +%{tde_libdir}/kconf_update_bin/kicker-3.4-reverseLayout +%{tde_tdelibdir}/appletproxy.la +%{tde_tdelibdir}/appletproxy.so +%{tde_tdelibdir}/clock_panelapplet.la +%{tde_tdelibdir}/clock_panelapplet.so +%{tde_tdelibdir}/dockbar_panelextension.la +%{tde_tdelibdir}/dockbar_panelextension.so +%{tde_tdelibdir}/extensionproxy.la +%{tde_tdelibdir}/extensionproxy.so +%{tde_tdelibdir}/kasbar_panelextension.la +%{tde_tdelibdir}/kasbar_panelextension.so +%{tde_tdelibdir}/kicker.la +%{tde_tdelibdir}/kickermenu_find.la +%{tde_tdelibdir}/kickermenu_find.so +%{tde_tdelibdir}/kickermenu_kate.so +%{tde_tdelibdir}/kickermenu_kate.la +%{tde_tdelibdir}/kickermenu_[kt]deprint.la +%{tde_tdelibdir}/kickermenu_[kt]deprint.so +%{tde_tdelibdir}/kickermenu_konqueror.la +%{tde_tdelibdir}/kickermenu_konqueror.so +%{tde_tdelibdir}/kickermenu_konsole.la +%{tde_tdelibdir}/kickermenu_konsole.so +%{tde_tdelibdir}/kickermenu_prefmenu.la +%{tde_tdelibdir}/kickermenu_prefmenu.so +%{tde_tdelibdir}/kickermenu_recentdocs.la +%{tde_tdelibdir}/kickermenu_recentdocs.so +%{tde_tdelibdir}/kickermenu_remotemenu.la +%{tde_tdelibdir}/kickermenu_remotemenu.so +%{tde_tdelibdir}/kickermenu_systemmenu.la +%{tde_tdelibdir}/kickermenu_systemmenu.so +%{tde_tdelibdir}/kicker.so +%{tde_tdelibdir}/launcher_panelapplet.la +%{tde_tdelibdir}/launcher_panelapplet.so +%{tde_tdelibdir}/lockout_panelapplet.la +%{tde_tdelibdir}/lockout_panelapplet.so +%{tde_tdelibdir}/media_panelapplet.la +%{tde_tdelibdir}/media_panelapplet.so +%{tde_tdelibdir}/menu_panelapplet.la +%{tde_tdelibdir}/menu_panelapplet.so +%{tde_tdelibdir}/minipager_panelapplet.la +%{tde_tdelibdir}/minipager_panelapplet.so +%{tde_tdelibdir}/naughty_panelapplet.la +%{tde_tdelibdir}/naughty_panelapplet.so +%{tde_tdelibdir}/run_panelapplet.la +%{tde_tdelibdir}/run_panelapplet.so +%{tde_tdelibdir}/sidebar_panelextension.la +%{tde_tdelibdir}/sidebar_panelextension.so +%{tde_tdelibdir}/systemtray_panelapplet.la +%{tde_tdelibdir}/systemtray_panelapplet.so +%{tde_tdelibdir}/taskbar_panelapplet.la +%{tde_tdelibdir}/taskbar_panelapplet.so +%{tde_tdelibdir}/taskbar_panelextension.la +%{tde_tdelibdir}/taskbar_panelextension.so +%{tde_tdelibdir}/trash_panelapplet.la +%{tde_tdelibdir}/trash_panelapplet.so +%{tde_libdir}/libkasbar.so.* +%{tde_libdir}/lib[kt]deinit_appletproxy.la +%{tde_libdir}/lib[kt]deinit_appletproxy.so +%{tde_libdir}/lib[kt]deinit_extensionproxy.la +%{tde_libdir}/lib[kt]deinit_extensionproxy.so +%{tde_libdir}/lib[kt]deinit_kicker.la +%{tde_libdir}/lib[kt]deinit_kicker.so +%{tde_libdir}/libkickermain.so.* +%{tde_libdir}/libtaskbar.so.* +%{tde_libdir}/libtaskmanager.so.* +%{tde_libdir}/libkickoffsearch_interfaces.so.* +%{tde_tdeappdir}/kcmkicker.desktop +%{tde_datadir}/applnk/.hidden/kicker_config_arrangement.desktop +%{tde_datadir}/applnk/.hidden/kicker_config_hiding.desktop +%{tde_datadir}/applnk/.hidden/kicker_config_menus.desktop +%{tde_datadir}/apps/clockapplet/pics/lcd.png +%{tde_datadir}/apps/kconf_update/kicker-3.1-properSizeSetting.pl +%{tde_datadir}/apps/kconf_update/kicker-3.5-kconfigXTize.pl +%{tde_datadir}/apps/kconf_update/kicker-3.5-taskbarEnums.pl +%{tde_datadir}/apps/kconf_update/kickerrc.upd +%{tde_datadir}/apps/kicker/ +%exclude %{tde_datadir}/apps/kicker/applets/klipper.desktop +%exclude %{tde_datadir}/apps/kicker/applets/ksysguardapplet.desktop +%{tde_datadir}/apps/naughtyapplet/pics/naughty-happy.png +%{tde_datadir}/apps/naughtyapplet/pics/naughty-sad.png +%{tde_datadir}/autostart/panel.desktop +%{tde_datadir}/config.kcfg/kickerSettings.kcfg +%{tde_datadir}/config.kcfg/launcherapplet.kcfg +%{tde_datadir}/config.kcfg/pagersettings.kcfg +%{tde_datadir}/config.kcfg/taskbar.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/systemtray.png +%{tde_datadir}/icons/crystalsvg/*/apps/taskbar.png +%{tde_datadir}/icons/crystalsvg/*/apps/kbinaryclock.png +%{tde_datadir}/icons/crystalsvg/*/apps/kdisknav.png +%{tde_datadir}/icons/crystalsvg/*/apps/kicker.png +%{tde_datadir}/icons/crystalsvg/*/apps/panel.png +%{tde_datadir}/icons/crystalsvg/*/apps/runprocesscatcher.png +%{tde_datadir}/icons/crystalsvg/*/apps/window_list.png +%{tde_datadir}/icons/crystalsvg/*/apps/kbinaryclock.svgz +%{tde_datadir}/icons/crystalsvg/*/apps/systemtray.svgz +%{tde_datadir}/servicetypes/kickoffsearchplugin.desktop +%{tde_tdedocdir}/HTML/en/kicker/ + +%post -n trinity-kicker +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +%postun -n trinity-kicker +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +########## + +%package -n trinity-kicker-devel +Summary: Development files for kicker +Group: Development/Libraries +Requires: trinity-kicker = %{version}-%{release} + +%description -n trinity-kicker-devel +%{summary} + +%files -n trinity-kicker-devel +%{tde_tdeincludedir}/kickoff-search-plugin.h +%{tde_tdeincludedir}/kickoffsearchinterface.h +%{tde_libdir}/libkasbar.la +%{tde_libdir}/libkasbar.so +%{tde_libdir}/libkickermain.la +%{tde_libdir}/libkickermain.so +%{tde_libdir}/libkickoffsearch_interfaces.la +%{tde_libdir}/libkickoffsearch_interfaces.so +%{tde_libdir}/libtaskbar.la +%{tde_libdir}/libtaskbar.so +%{tde_libdir}/libtaskmanager.la +%{tde_libdir}/libtaskmanager.so + +%post -n trinity-kicker-devel +/sbin/ldconfig || : + +%postun -n trinity-kicker-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-klipper +Summary: clipboard utility for Trinity +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-klipper +klipper provides standard clipboard functions (cut and paste, history +saving) plus additional features, like the ability to offer actions to +take dependent on the clipboard contents. For example, it can launch a +web browser if the clipboard contains a URL. + +%files -n trinity-klipper +%defattr(-,root,root,-) +%{tde_bindir}/klipper +%{tde_datadir}/config/klipperrc +%{tde_tdelibdir}/klipper.la +%{tde_tdelibdir}/klipper.so +%{tde_tdelibdir}/klipper_panelapplet.la +%{tde_tdelibdir}/klipper_panelapplet.so +%{tde_libdir}/lib[kt]deinit_klipper.la +%{tde_libdir}/lib[kt]deinit_klipper.so +%{tde_tdeappdir}/klipper.desktop +%{tde_datadir}/apps/kconf_update/klipper-1-2.pl +%{tde_datadir}/apps/kconf_update/klipper-trinity1.sh +%{tde_datadir}/apps/kconf_update/klipperrc.upd +%{tde_datadir}/apps/kconf_update/klippershortcuts.upd +%{tde_datadir}/apps/kicker/applets/klipper.desktop +%{tde_datadir}/autostart/klipper.desktop +%{tde_datadir}/icons/hicolor/*/apps/klipper.* +%{tde_tdedocdir}/HTML/en/klipper/ + +%post -n trinity-klipper +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +%postun -n trinity-klipper +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +########## + +%package -n trinity-kmenuedit +Summary: menu editor for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-kmenuedit +The TDE menu editor allows you to make customisations to the KDE menu +structure. + +%files -n trinity-kmenuedit +%defattr(-,root,root,-) +%{tde_bindir}/kcontroledit +%{tde_bindir}/kmenuedit +%{tde_tdelibdir}/kcontroledit.la +%{tde_tdelibdir}/kcontroledit.so +%{tde_tdelibdir}/kmenuedit.la +%{tde_tdelibdir}/kmenuedit.so +%{tde_libdir}/lib[kt]deinit_kcontroledit.la +%{tde_libdir}/lib[kt]deinit_kcontroledit.so +%{tde_libdir}/lib[kt]deinit_kmenuedit.la +%{tde_libdir}/lib[kt]deinit_kmenuedit.so +%{tde_tdeappdir}/kmenuedit.desktop +%{tde_datadir}/applnk/System/kmenuedit.desktop +%{tde_datadir}/apps/kcontroledit/ +%{tde_datadir}/apps/kmenuedit/ +%{tde_tdedocdir}/HTML/en/kmenuedit/ + +%post -n trinity-kmenuedit +update-desktop-database %{tde_appdir} 2> /dev/null || : +/sbin/ldconfig || : + +%postun -n trinity-kmenuedit +update-desktop-database %{tde_appdir} 2> /dev/null || : +/sbin/ldconfig || : + +########## + +%package -n trinity-konqueror +Summary: TDE's advanced file manager, web browser and document viewer +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} +Requires: trinity-kcontrol = %{version}-%{release} +Requires: %{name}-kio-plugins = %{version}-%{release} +Requires: trinity-kdesktop = %{version}-%{release} +Requires: trinity-kfind = %{version}-%{release} +Requires: trinity-libkonq = %{version}-%{release} + +%description -n trinity-konqueror +Konqueror is the file manager for the Trinity Desktop Environment. +It supports basic file management on local UNIX filesystems, +from simple cut/copy and paste operations to advanced remote +and local network file browsing. + +It is also the canvas for all the latest TDE technology, +from KIO slaves (which provide mechanisms for file access) to +component embedding via the KParts object interface, and it +is one of the most customizable applications available. + +Konqueror is an Open Source web browser with HTML4.0 compliance, +supporting Java applets, JavaScript, CSS1 and (partially) CSS2, +as well as Netscape plugins (for example, Flash or RealVideo plugins). + +It is a universal viewing application, capable of embedding +read-only viewing components in itself to view documents without +ever launching another application. + +%files -n trinity-konqueror +%defattr(-,root,root,-) +%{tde_datadir}/config/konqsidebartng.rc +%{tde_bindir}/kbookmarkmerger +%{tde_bindir}/keditbookmarks +%{tde_bindir}/kfmclient +%{tde_bindir}/konqueror +%{tde_tdelibdir}/kcm_history.la +%{tde_tdelibdir}/kcm_history.so +%{tde_tdelibdir}/kded_konqy_preloader.la +%{tde_tdelibdir}/kded_konqy_preloader.so +%{tde_tdelibdir}/keditbookmarks.la +%{tde_tdelibdir}/keditbookmarks.so +%{tde_tdelibdir}/kfmclient.la +%{tde_tdelibdir}/kfmclient.so +%{tde_tdelibdir}/konq_aboutpage.la +%{tde_tdelibdir}/konq_aboutpage.so +%{tde_tdelibdir}/konq_iconview.la +%{tde_tdelibdir}/konq_iconview.so +%{tde_tdelibdir}/konq_listview.la +%{tde_tdelibdir}/konq_listview.so +%{tde_tdelibdir}/konq_remoteencoding.la +%{tde_tdelibdir}/konq_remoteencoding.so +%{tde_tdelibdir}/konq_shellcmdplugin.la +%{tde_tdelibdir}/konq_shellcmdplugin.so +%{tde_tdelibdir}/konq_sidebar.la +%{tde_tdelibdir}/konq_sidebar.so +%{tde_tdelibdir}/konq_sidebartree_bookmarks.la +%{tde_tdelibdir}/konq_sidebartree_bookmarks.so +%{tde_tdelibdir}/konq_sidebartree_dirtree.la +%{tde_tdelibdir}/konq_sidebartree_dirtree.so +%{tde_tdelibdir}/konq_sidebartree_history.la +%{tde_tdelibdir}/konq_sidebartree_history.so +%{tde_tdelibdir}/konqsidebar_tree.la +%{tde_tdelibdir}/konqsidebar_tree.so +%{tde_tdelibdir}/konqsidebar_web.la +%{tde_tdelibdir}/konqsidebar_web.so +%{tde_tdelibdir}/konqueror.la +%{tde_tdelibdir}/konqueror.so +%{tde_tdelibdir}/libkhtmlkttsdplugin.la +%{tde_tdelibdir}/libkhtmlkttsdplugin.so +%{tde_libdir}/lib[kt]deinit_keditbookmarks.la +%{tde_libdir}/lib[kt]deinit_keditbookmarks.so +%{tde_libdir}/lib[kt]deinit_kfmclient.la +%{tde_libdir}/lib[kt]deinit_kfmclient.so +%{tde_libdir}/lib[kt]deinit_konqueror.la +%{tde_libdir}/lib[kt]deinit_konqueror.so +%{tde_libdir}/libkonqsidebarplugin.so.* +%{tde_tdeappdir}/Home.desktop +%{tde_tdeappdir}/kcmhistory.desktop +%{tde_tdeappdir}/kfmclient.desktop +%{tde_tdeappdir}/kfmclient_dir.desktop +%{tde_tdeappdir}/kfmclient_html.desktop +%{tde_tdeappdir}/kfmclient_war.desktop +%{tde_tdeappdir}/khtml_filter.desktop +%{tde_tdeappdir}/konqbrowser.desktop +%{tde_tdeappdir}/konquerorsu.desktop +%{tde_datadir}/applnk/.hidden/konqfilemgr.desktop +%{tde_datadir}/applnk/Internet/keditbookmarks.desktop +%{tde_datadir}/applnk/konqueror.desktop +%{tde_datadir}/apps/kconf_update/kfmclient_3_2.upd +%{tde_datadir}/apps/kconf_update/kfmclient_3_2_update.sh +%{tde_datadir}/apps/kconf_update/konqsidebartng.upd +%{tde_datadir}/apps/kconf_update/move_konqsidebartng_entries.sh +%{tde_datadir}/apps/keditbookmarks/keditbookmarks-genui.rc +%{tde_datadir}/apps/keditbookmarks/keditbookmarksui.rc +%{tde_datadir}/apps/khtml/kpartplugins/khtmlkttsd.desktop +%{tde_datadir}/apps/khtml/kpartplugins/khtmlkttsd.rc +%{tde_datadir}/apps/konqiconview/ +%{tde_datadir}/apps/konqlistview/ +%exclude %{tde_datadir}/apps/konqsidebartng/virtual_folders/services/fonts.desktop +%{tde_datadir}/apps/konqsidebartng/ +%{tde_datadir}/apps/konqueror/about/ +%{tde_datadir}/apps/konqueror/icons/ +%{tde_datadir}/apps/konqueror/konq-simplebrowser.rc +%{tde_datadir}/apps/konqueror/konqueror.rc +%{tde_datadir}/apps/konqueror/pics/indicator_connect.png +%{tde_datadir}/apps/konqueror/pics/indicator_empty.png +%{tde_datadir}/apps/konqueror/pics/indicator_noconnect.png +%{tde_datadir}/apps/konqueror/pics/indicator_viewactive.png +%{tde_datadir}/apps/konqueror/profiles/ +%exclude %{tde_datadir}/apps/konqueror/servicemenus/kdesktopSetAsBackground.desktop +%exclude %{tde_datadir}/apps/konqueror/servicemenus/konsolehere.desktop +%exclude %{tde_datadir}/apps/konqueror/servicemenus/installfont.desktop +%{tde_datadir}/apps/konqueror/servicemenus/*.desktop +%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase +%{tde_datadir}/apps/konqueror/tiles/*.png +%{tde_datadir}/autostart/konqy_preload.desktop +%{tde_datadir}/config.kcfg/keditbookmarks.kcfg +%{tde_datadir}/config.kcfg/konq_listview.kcfg +%{tde_datadir}/config.kcfg/konqueror.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/keditbookmarks.png +%{tde_datadir}/icons/crystalsvg/*/apps/kfm_home.svgz +%{tde_datadir}/icons/hicolor/*/apps/kfm.png +%{tde_datadir}/icons/hicolor/*/apps/konqueror.* +%{tde_datadir}/services/kded/konqy_preloader.desktop +%{tde_datadir}/services/konq_*.desktop +%{tde_datadir}/servicetypes/konqaboutpage.desktop +%{tde_tdedocdir}/HTML/en/konqueror/ + +%post -n trinity-konqueror +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : +%if 0%{?suse_version} +update-alternatives --install \ +%else +alternatives --install \ +%endif + %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop \ + media_safelyremove.desktop_konqueror \ + %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase \ + 10 || : + +%postun -n trinity-konqueror +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +%preun -n trinity-konqueror +if [ $1 -eq 0 ]; then +%if 0%{?suse_version} + update-alternatives --remove \ +%else + alternatives --remove \ +%endif + media_safelyremove.desktop_konqueror \ + %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase || : +fi + +########## + +%package -n trinity-konqueror-devel +Summary: Development files for konqueror +Group: Development/Libraries +Requires: trinity-konqueror = %{version}-%{release} + +%description -n trinity-konqueror-devel +%{summary} + +%files -n trinity-konqueror-devel +%{tde_tdeincludedir}/konqsidebarplugin.h +%{tde_tdeincludedir}/KonquerorIface.h +%{tde_libdir}/libkonqsidebarplugin.la +%{tde_libdir}/libkonqsidebarplugin.so + +%post -n trinity-konqueror-devel +/sbin/ldconfig || : + +%postun -n trinity-konqueror-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-konqueror-nsplugins +Summary: Netscape plugin support for Konqueror +Group: Applications/Utilities +Requires: trinity-konqueror = %{version}-%{release} + +%description -n trinity-konqueror-nsplugins +This package includes support for Netscape plugins in Konqueror. + +%files -n trinity-konqueror-nsplugins +%defattr(-,root,root,-) +%{tde_bindir}/nspluginscan +%{tde_bindir}/nspluginviewer +%{tde_tdelibdir}/kcm_nsplugins.la +%{tde_tdelibdir}/kcm_nsplugins.so +%{tde_tdelibdir}/libnsplugin.la +%{tde_tdelibdir}/libnsplugin.so +%{tde_tdeappdir}/khtml_plugins.desktop +%{tde_datadir}/apps/plugin/nspluginpart.rc + +%post -n trinity-konqueror-nsplugins +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%postun -n trinity-konqueror-nsplugins +update-desktop-database %{tde_appdir} 2> /dev/null || : + +########## + +%package -n trinity-konsole +Summary: X terminal emulator for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-konsole +Konsole is an X terminal emulation which provides a command-line interface +(CLI) while using the graphical K Desktop Environment. Konsole helps to +better organize user's desktop by containing multiple sessions in a single +window (a less cluttered desktop). + +Its advanced features include a simple configuration and the ability to use +multiple terminal shells in a single window + +Using Konsole, a user can open: +* Linux console sessions +* Midnight Commander file manager sessions +* Shell sessions +* Root consoles sessions + +%files -n trinity-konsole +%defattr(-,root,root,-) +%{tde_bindir}/konsole +%{tde_tdelibdir}/kcm_konsole.la +%{tde_tdelibdir}/kcm_konsole.so +%{tde_tdelibdir}/kded_kwrited.la +%{tde_tdelibdir}/kded_kwrited.so +%{tde_tdelibdir}/konsole.la +%{tde_tdelibdir}/konsole.so +%{tde_tdelibdir}/libkonsolepart.la +%{tde_tdelibdir}/libkonsolepart.so +%{tde_libdir}/lib[kt]deinit_konsole.la +%{tde_libdir}/lib[kt]deinit_konsole.so +%{tde_tdeappdir}/konsole.desktop +%{tde_tdeappdir}/konsolesu.desktop +%{tde_datadir}/applnk/.hidden/kcmkonsole.desktop +%{tde_datadir}/apps/kconf_update/konsole.upd +%{tde_datadir}/apps/kconf_update/schemaStrip.pl +%{tde_datadir}/apps/konqueror/servicemenus/konsolehere.desktop +%{tde_datadir}/apps/konsole/ +%{tde_datadir}/icons/hicolor/*/apps/konsole.* +%{tde_datadir}/mimelnk/application/x-konsole.desktop +%{tde_datadir}/services/kded/kwrited.desktop +%{tde_datadir}/services/konsolepart.desktop +%{tde_datadir}/services/konsole-script.desktop +%{tde_datadir}/services/kwrited.desktop +%{tde_datadir}/servicetypes/terminalemulator.desktop +%{tde_tdedocdir}/HTML/en/konsole/ +%{tde_tdedocdir}/HTML/en/kcontrol/kcmkonsole/ + +%post -n trinity-konsole +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +%postun -n trinity-konsole +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +########## + +%package -n trinity-kpager +Summary: desktop pager for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-kpager +This package contains TDE's desktop pager, which displays your virtual +desktops iconically in a window, along with icons of any running +applications. It is used to switch between applications or desktops. + +%files -n trinity-kpager +%defattr(-,root,root,-) +%{tde_bindir}/kpager +%{tde_tdeappdir}/kpager.desktop +%{tde_datadir}/applnk/Utilities/kpager.desktop +%{tde_datadir}/icons/hicolor/*/apps/kpager.png +%{tde_tdedocdir}/HTML/en/kpager/ + +%post -n trinity-kpager +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%postun -n trinity-kpager +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package -n trinity-kpersonalizer +Summary: installation personalizer for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-kpersonalizer +TDE Personalizer is the application that configures the TDE desktop for you. +It's a very useful wizard that allows you to quickly change the TDE desktop to +suit your own needs. When you run TDE for the first time, KPersonalizer is +automatically started. KPersonalizer can also be called later. + +%files -n trinity-kpersonalizer +%defattr(-,root,root,-) +%{tde_bindir}/kpersonalizer +%{tde_tdeappdir}/kpersonalizer.desktop +%{tde_datadir}/applnk/System/kpersonalizer.desktop +%{tde_datadir}/apps/kpersonalizer/ +%{tde_datadir}/icons/crystalsvg/*/apps/kpersonalizer.png + +%post -n trinity-kpersonalizer +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%postun -n trinity-kpersonalizer +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package -n trinity-ksmserver +Summary: session manager for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} +Requires: trinity-twin = %{version}-%{release} + +%description -n trinity-ksmserver +This package contains the KDE session manager. It is responsible for +restoring your TDE session on login. It is also needed to properly +start a KDE session. It registers KDE with X display managers, and +provides the 'starttde' command, for starting an X session with KDE +from the console. + +If you are running TDE for the first time for a certain user, +kpersonalizer is used to help with setup. If it is not present, +KDE will start, but many good defaults will not be set. + +%files -n trinity-ksmserver +%defattr(-,root,root,-) +%{tde_bindir}/ksmserver +%{tde_bindir}/start[kt]de +%{tde_tdelibdir}/ksmserver.la +%{tde_tdelibdir}/ksmserver.so +%{tde_libdir}/lib[kt]deinit_ksmserver.la +%{tde_libdir}/lib[kt]deinit_ksmserver.so +%{tde_datadir}/apps/kconf_update/ksmserver.upd +%{tde_datadir}/apps/kconf_update/move_session_config.sh +%{tde_datadir}/apps/ksmserver/pics/shutdownkonq.png + +# Remove conflicts with redhat-menus +%if "%{?tde_prefix}" != "/usr" +%{tde_bindir}/plasma-desktop +%endif + +%post -n trinity-ksmserver +/sbin/ldconfig || : + +%postun -n trinity-ksmserver +/sbin/ldconfig || : + +########## + +%package -n trinity-ksplash +Summary: the TDE splash screen +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-ksplash +This package includes the TDE Splash screen, which is seen when +a TDE session is launched. + +%files -n trinity-ksplash +%defattr(-,root,root,-) +%{tde_bindir}/ksplash +%{tde_bindir}/ksplashsimple +%{tde_tdelibdir}/kcm_ksplashthemes.la +%{tde_tdelibdir}/kcm_ksplashthemes.so +%{tde_tdelibdir}/ksplashdefault.la +%{tde_tdelibdir}/ksplashdefault.so +%{tde_tdelibdir}/ksplashunified.la +%{tde_tdelibdir}/ksplashunified.so +%{tde_tdelibdir}/ksplashredmond.la +%{tde_tdelibdir}/ksplashredmond.so +%{tde_tdelibdir}/ksplashstandard.la +%{tde_tdelibdir}/ksplashstandard.so +%{tde_libdir}/libksplashthemes.so.* +%{tde_tdeappdir}/ksplashthememgr.desktop +%{tde_datadir}/apps/ksplash +%{tde_datadir}/services/ksplashdefault.desktop +%{tde_datadir}/services/ksplash.desktop +%{tde_datadir}/services/ksplashunified.desktop +%{tde_datadir}/services/ksplashredmond.desktop +%{tde_datadir}/services/ksplashstandard.desktop +%{tde_datadir}/servicetypes/ksplashplugins.desktop +%{tde_tdedocdir}/HTML/en/ksplashml/ + +%post -n trinity-ksplash +update-desktop-database %{tde_appdir} 2> /dev/null || : +/sbin/ldconfig || : + +%postun -n trinity-ksplash +update-desktop-database %{tde_appdir} 2> /dev/null || : +/sbin/ldconfig || : + +########## + +%package -n trinity-ksplash-devel +Summary: Development files for ksplash +Group: Development/Libraries +Requires: trinity-ksplash = %{version}-%{release} + +%description -n trinity-ksplash-devel +%{summary} + +%files -n trinity-ksplash-devel +%{tde_tdeincludedir}/ksplash/* +%{tde_libdir}/libksplashthemes.la +%{tde_libdir}/libksplashthemes.so + +%post -n trinity-ksplash-devel +/sbin/ldconfig || : + +%postun -n trinity-ksplash-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-ksysguard +Summary: system guard for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} +Requires: trinity-ksysguardd = %{version}-%{release} + +%description -n trinity-ksysguard +TDE System Guard allows you to monitor various statistics about your +computer. + +%files -n trinity-ksysguard +%defattr(-,root,root,-) +%{tde_bindir}/kpm +%{tde_bindir}/ksysguard +%{tde_tdelibdir}/sysguard_panelapplet.la +%{tde_tdelibdir}/sysguard_panelapplet.so +%{tde_libdir}/libksgrd.so.* +%{tde_tdeappdir}/ksysguard.desktop +%{tde_datadir}/apps/kicker/applets/ksysguardapplet.desktop +%{tde_datadir}/apps/ksysguard/ +%{tde_datadir}/icons/crystalsvg/*/apps/ksysguard.png +%{tde_datadir}/mimelnk/application/x-ksysguard.desktop +%{tde_tdedocdir}/HTML/en/ksysguard/ + +%post -n trinity-ksysguard +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +%postun -n trinity-ksysguard +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +########## + +%package -n trinity-ksysguard-devel +Summary: Development files for ksysguard +Group: Development/Libraries +Requires: trinity-ksysguard = %{version}-%{release} + +%description -n trinity-ksysguard-devel +%{summary} + +%files -n trinity-ksysguard-devel +%{tde_tdeincludedir}/ksgrd/* +%{tde_libdir}/libksgrd.la +%{tde_libdir}/libksgrd.so + +%post -n trinity-ksysguard-devel +/sbin/ldconfig || : + +%postun -n trinity-ksysguard-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-ksysguardd +Summary: system guard daemon for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-ksysguardd +TDE System Guard Daemon is the daemon part of ksysguard. The daemon can +be installed on a remote machine to enable ksysguard on another machine +to monitor it through the daemon running there. + +%files -n trinity-ksysguardd +%defattr(-,root,root,-) +%{tde_bindir}/ksysguardd +%config(noreplace) %{_sysconfdir}/ksysguarddrc.tde + +%post -n trinity-ksysguardd +# Dirty hack to install '/etc/ksysguarddrc' alongside with KDE4 +[ -r "%{_sysconfdir}/ksysguarddrc" ] || cp -f "%{_sysconfdir}/ksysguarddrc.tde" "%{_sysconfdir}/ksysguarddrc" + +########## + +%package -n trinity-ktip +Summary: useful tips for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-ktip +ktip provides many useful tips on using KDE when you log in. + +%files -n trinity-ktip +%defattr(-,root,root,-) +%{tde_bindir}/ktip +%{tde_tdeappdir}/ktip.desktop +%{tde_datadir}/applnk/Toys/ktip.desktop +%{tde_datadir}/apps/kdewizard/pics/wizard_small.png +%{tde_datadir}/apps/kdewizard/tips/ +%{tde_datadir}/autostart/ktip.desktop +%{tde_datadir}/icons/hicolor/*/apps/ktip.* + +%post -n trinity-ktip +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%postun -n trinity-ktip +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package -n trinity-twin +Summary: the TDE window manager +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-twin +This package contains the default X window manager for KDE. + +%files -n trinity-twin +%defattr(-,root,root,-) +%{tde_bindir}/kompmgr +%{tde_bindir}/[kt]win +%{tde_bindir}/[kt]win_killer_helper +#%{tde_bindir}/[kt]win_resumer_helper +%{tde_bindir}/[kt]win_rules_dialog +%{tde_libdir}/kconf_update_bin/[kt]win_update_default_rules +%{tde_libdir}/kconf_update_bin/[kt]win_update_window_settings +%{tde_tdelibdir}/kcm_[kt]win*.la +%{tde_tdelibdir}/kcm_[kt]win*.so +%{tde_tdelibdir}/[kt]win*.la +%{tde_tdelibdir}/[kt]win*.so +%{tde_libdir}/lib[kt]decorations.so.* +%{tde_libdir}/lib[kt]deinit_[kt]win_rules_dialog.la +%{tde_libdir}/lib[kt]deinit_[kt]win_rules_dialog.so +%{tde_libdir}/lib[kt]deinit_[kt]win.la +%{tde_libdir}/lib[kt]deinit_[kt]win.so +%{tde_tdeappdir}/showdesktop.desktop +%{tde_tdeappdir}/[kt]windecoration.desktop +%{tde_tdeappdir}/[kt]winoptions.desktop +%{tde_tdeappdir}/[kt]winrules.desktop +%{tde_datadir}/applnk/.hidden/[kt]winactions.desktop +%{tde_datadir}/applnk/.hidden/[kt]winadvanced.desktop +%{tde_datadir}/applnk/.hidden/[kt]winfocus.desktop +%{tde_datadir}/applnk/.hidden/[kt]winmoving.desktop +%{tde_datadir}/applnk/.hidden/[kt]wintranslucency.desktop +%{tde_datadir}/apps/kconf_update/[kt]win3_plugin.pl +%{tde_datadir}/apps/kconf_update/[kt]win3_plugin.upd +%{tde_datadir}/apps/kconf_update/[kt]win_focus1.sh +%{tde_datadir}/apps/kconf_update/[kt]win_focus1.upd +%{tde_datadir}/apps/kconf_update/[kt]win_focus2.sh +%{tde_datadir}/apps/kconf_update/[kt]win_focus2.upd +%{tde_datadir}/apps/kconf_update/[kt]win_fsp_workarounds_1.upd +%{tde_datadir}/apps/kconf_update/[kt]winiconify.upd +%{tde_datadir}/apps/kconf_update/[kt]winsticky.upd +%{tde_datadir}/apps/kconf_update/[kt]win.upd +%{tde_datadir}/apps/kconf_update/[kt]winupdatewindowsettings.upd +%{tde_datadir}/apps/kconf_update/pluginlibFix.pl +%{tde_datadir}/apps/[kt]win/ +%{tde_datadir}/config.kcfg/[kt]win.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/[kt]win.png +%{tde_tdedocdir}/HTML/en/kompmgr/ + +%post -n trinity-twin +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +%postun -n trinity-twin +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +########## + +%package -n trinity-twin-devel +Summary: Development files for twin +Group: Development/Libraries +Requires: trinity-twin = %{version}-%{release} + +%description -n trinity-twin-devel +%{summary} + +%files -n trinity-twin-devel +%{tde_tdeincludedir}/[kt]win/ +%{tde_tdeincludedir}/kcommondecoration.h +%{tde_tdeincludedir}/kdecoration.h +%{tde_tdeincludedir}/kdecoration_p.h +%{tde_tdeincludedir}/kdecoration_plugins_p.h +%{tde_tdeincludedir}/kdecorationfactory.h +%{tde_tdeincludedir}/KWinInterface.h +%{tde_libdir}/libkdecorations.la +%{tde_libdir}/libkdecorations.so + +%post -n trinity-twin-devel +/sbin/ldconfig || : + +%postun -n trinity-twin-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libkonq +Summary: core libraries for Konqueror +Group: Environment/Libraries + +%description -n trinity-libkonq +These libraries are used by several TDE applications, most notably +Konqueror and the kdesktop package. + +%files -n trinity-libkonq +%defattr(-,root,root,-) +%{tde_tdelibdir}/kded_favicons.la +%{tde_tdelibdir}/kded_favicons.so +%{tde_tdelibdir}/konq_sound.la +%{tde_tdelibdir}/konq_sound.so +%{tde_libdir}/libkonq.so.* +%{tde_datadir}/apps/kbookmark/directory_bookmarkbar.desktop +%{tde_datadir}/apps/kconf_update/favicons.upd +%{tde_datadir}/apps/kconf_update/move_favicons.sh +%{tde_datadir}/apps/konqueror/pics/arrow_bottomleft.png +%{tde_datadir}/apps/konqueror/pics/arrow_bottomright.png +%{tde_datadir}/apps/konqueror/pics/arrow_topleft.png +%{tde_datadir}/apps/konqueror/pics/arrow_topright.png +%{tde_datadir}/apps/konqueror/pics/thumbnailfont_7x4.png +%{tde_datadir}/services/kded/favicons.desktop +%{tde_datadir}/servicetypes/konqpopupmenuplugin.desktop + +%post -n trinity-libkonq +/sbin/ldconfig || : + +%postun -n trinity-libkonq +/sbin/ldconfig || : + +########## + +%package libtqt3-integration +Summary: Integration library between TQt3 and TDE +Group: Environment/Libraries + +Obsoletes: tdebase-libtqt3-integration < %{version}-%{release} +Provides: tdebase-libtqt3-integration = %{version}-%{release} + +%description libtqt3-integration +These libraries allow you to use TDE dialogs in native TQt3 applications. + +%files libtqt3-integration +%defattr(-,root,root,-) +%{tde_tdelibdir}/plugins/integration/libqtkde.la +%{tde_tdelibdir}/plugins/integration/libqtkde.so +%{tde_tdelibdir}/plugins/integration/libqtkde.so.* +%{tde_tdelibdir}/kded_kdeintegration.la +%{tde_tdelibdir}/kded_kdeintegration.so +%{tde_datadir}/services/kded/kdeintegration.desktop + +########## + +%package -n trinity-libkonq-devel +Summary: development files for Konqueror's core libraries +Group: Development/Libraries +Requires: trinity-libkonq = %{version}-%{release} + +%description -n trinity-libkonq-devel +This package contains headers and other development files for the core +Konqueror libraries. + +%files -n trinity-libkonq-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kfileivi.h +%{tde_tdeincludedir}/kivdirectoryoverlay.h +%{tde_tdeincludedir}/knewmenu.h +%{tde_tdeincludedir}/konqbookmarkmanager.h +%{tde_tdeincludedir}/konq_*.h +%{tde_tdeincludedir}/libkonq_export.h +%{tde_libdir}/libkonq.la +%{tde_libdir}/libkonq.so + +%post -n trinity-libkonq-devel +/sbin/ldconfig || : + +%postun -n trinity-libkonq-devel +/sbin/ldconfig || : + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n kdebase-3.5.13.1 + +%patch1 -p1 -b .icon +%patch11 -p1 -b .openterminalhere +%if 0%{?rhel} || 0%{?fedora} +%patch13 -p1 -b .Xsession +%endif +%if 0%{?suse_version} +%patch14 -p1 -b .Xsession +%endif +%patch15 -p1 -b .tdeicon +%if 0%{?rhel} || 0%{?mgaversion} || 0%{?mdkversion} +%patch21 -p1 -b .man +%endif +%patch30 -p1 -b .xtestsupport +%patch31 -p1 -b .startkde +%patch32 -p1 -b .pid + +%if 0%{?rhel} == 4 +%patch201 -p1 -b .libdetect +%patch202 -p1 -b .dbustqt +%patch203 -p1 -b .consolekit +%patch204 -p1 -b .composite +%patch205 -p1 -b .hal04 +%patch206 -p1 -b .rhel4 +%endif + +# Applies an optional distro-specific graphical theme +%if "%{?tde_bg}" != "" +# KDM Background +%__sed -i "kdm/kfrontend/genkdmconf.c" \ + -e 's|"Wallpaper=isadora.png\n"|"Wallpaper=%{tde_bg}\n"|' + +# TDE user default background +%__sed -i "kpersonalizer/keyecandypage.cpp" \ + -e 's|#define DEFAULT_WALLPAPER "isadora.png"|#define DEFAULT_WALLPAPER "%{tde_bg}"|' +%__sed -i "startkde" \ + -e 's|/usr/share/wallpapers/isadora.png.desktop|%{tde_bg}|' \ + -e 's|Wallpaper=isadora.png|Wallpaper=%{tde_bg}|' +%endif + +# TDE branding: removes KUbuntu references [Bug #617] +%__sed -i "kcontrol/kdm/kdm-appear.cpp" \ + -e "s|Welcome to Kubuntu |Welcome to %{tde_aboutlabel} |" +%__sed -i "konqueror/about/konq_aboutpage.cc" \ + -e "s|About Kubuntu|About %{tde_aboutlabel}|" \ + -e "s|help:/kubuntu/|%{tde_aboutpage}|" \ + -e "s|Kubuntu Documentation|%{tde_aboutlabel} Documentation|" +%__sed -i "konqueror/about/launch.html" \ + -e "s|help:/kubuntu/about-kubuntu/index.html|%{tde_aboutpage}|" +%__sed -i "kdm/config.def" \ + -e "s|Welcome to Trinity |Welcome to %{tde_aboutlabel} |" + +# TDE default directory in 'startkde' script (KDEDIR) +%__sed -i "startkde" \ + -e "s|/opt/trinity|%{tde_prefix}|g" + +# TDE default start button icon +%__sed -i "startkde" \ + -e "s|%%{tde_starticon}|%{tde_starticon}|g" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" +export LD_LIBRARY_PATH="%{tde_libdir}" + +# Avoids building against KDE3's old stuff, if installed +export KDEDIR=%{tde_prefix} + +# Shitty hack for RHEL4 ... +if [ -d /usr/X11R6 ]; then + export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH=}:/usr/X11R6/include:/usr/X11R6/%{_lib}" + export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DWITH_SASL=ON \ + -DWITH_LDAP=ON \ + -DWITH_SAMBA=ON \ + %{?with_exr:-DWITH_OPENEXR=ON} \ + %{?with_hal:-DWITH_HAL=ON} \ + %{?with_xscreensaver:-DWITH_XSCREENSAVER=ON} \ +%if 0%{?rhel} == 4 + -DWITH_XTEST=OFF \ +%else + -DWITH_XTEST=ON \ +%endif + -DWITH_XCURSOR=ON \ + -DWITH_XFIXES=ON \ + %{?with_xrandr:-DWITH_XRANDR=ON} \ + -DWITH_XDAMAGE=ON \ + -DWITH_XEXT=ON \ + -DWITH_LIBUSB=ON \ + -DWITH_LIBRAW1394=ON \ + -DWITH_PAM=ON \ + -DWITH_XDMCP=ON \ + -DWITH_XINERAMA=ON \ + -DWITH_XCOMPOSITE=ON \ + -DWITH_XRENDER=ON \ + -DWITH_ARTS=ON \ + -DWITH_I8K=ON \ + -DBUILD_ALL=ON \ + -DKCHECKPASS_PAM_SERVICE="kcheckpass-trinity" \ +%if 0%{?suse_version} + -DKDM_PAM_SERVICE="xdm" \ + -DKSCREENSAVER_PAM_SERVICE="kcheckpass-trinity" \ +%else + -DKDM_PAM_SERVICE="kdm-trinity" \ + -DKSCREENSAVER_PAM_SERVICE="kscreensaver-trinity" \ +%endif + %{!?with_tsak:-DBUILD_TSAK=OFF} \ + .. + +%__make %{?_smp_mflags} + + +%install +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{?buildroot} -C build + + +# Under RHEL/Fedora/Suse, static 'xsessions' files go to '/usr/share/xsessions'. + +# Adds a GDM/KDM/XDM session called 'TDE' +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__install -D -m 644 \ + "%{?buildroot}%{tde_datadir}/apps/kdm/sessions/tde.desktop" \ + "%{?buildroot}%{_datadir}/xsessions/tde.desktop" + +# Force session name to be 'TDE' +%__sed -i "%{?buildroot}%{_datadir}/xsessions/tde.desktop" \ + -e "s,^Name=.*,Name=TDE," +%endif + +# Mageia/Mandriva stores its session file in different folder than RHEL/Fedora +# Generated files for TDM/KDM4 are in '/usr/share/apps/kdm/sessions' +%if 0%{?mgaversion} || 0%{?mdkversion} +%__install -d -m 755 %{?buildroot}%{_sysconfdir}/X11/wmsession.d +cat <"%{?buildroot}%{_sysconfdir}/X11/wmsession.d/45TDE" +NAME=TDE +ICON=kde-wmsession.xpm +DESC=The Trinity Desktop Environment +EXEC=%{tde_bindir}/startkde +SCRIPT: +exec %{tde_bindir}/startkde +EOF + +%__install -d -m 755 %{?buildroot}%{_datadir}/X11/dm.d +cat <"%{?buildroot}%{_datadir}/X11/dm.d/45TDE.conf" +NAME=TDM +DESCRIPTION=TDM (Trinity Display Manager) +PACKAGE=trinity-tdm +EXEC=%{tde_bindir}/kdm +FNDSESSION_EXEC="/usr/sbin/chksession -K" +EOF +%endif + +# Renames '/etc/ksysguarddrc' to avoid conflict with KDE4 'ksysguard' +%__mv -f \ + %{?buildroot}%{_sysconfdir}/ksysguarddrc \ + %{?buildroot}%{_sysconfdir}/ksysguarddrc.tde + +# TDE 3.5.12: add script "plasma-desktop" to avoid conflict with KDE4 +%if "%{?tde_prefix}" != "/usr" +%__install -m 755 "%{SOURCE1}" "%{?buildroot}%{tde_bindir}" +%endif + +# PAM configuration files +%if 0%{?suse_version} +%__install -D -m 644 "%{SOURCE4}" "%{?buildroot}%{_sysconfdir}/pam.d/kcheckpass-trinity" +%else +%__install -D -m 644 "%{SOURCE2}" "%{?buildroot}%{_sysconfdir}/pam.d/kdm-trinity" +%__install -D -m 644 "%{SOURCE3}" "%{?buildroot}%{_sysconfdir}/pam.d/kdm-trinity-np" +%__install -D -m 644 "%{SOURCE4}" "%{?buildroot}%{_sysconfdir}/pam.d/kcheckpass-trinity" +%__install -D -m 644 "%{SOURCE5}" "%{?buildroot}%{_sysconfdir}/pam.d/kscreensaver-trinity" +%endif + +# KDM configuration for RHEL/Fedora +%__sed -i "%{?buildroot}%{tde_datadir}/config/kdm/kdmrc" \ +%if 0%{?fedora} >= 16 || 0%{?suse_version} >= 1220 + -e "s/^#*MinShowUID=.*/MinShowUID=1000/" +%else + -e "s/^#*MinShowUID=.*/MinShowUID=500/" +%endif + +# Moves the XDG configuration files to TDE directory +%if "%{tde_prefix}" != "/usr" +%__mkdir_p "%{?buildroot}%{tde_prefix}/etc" +%__mv -f "%{?buildroot}%{_sysconfdir}/xdg" "%{?buildroot}%{tde_prefix}/etc" +%endif + +# Symlinks 'usb.ids' +%if 0%{?suse_version} == 0 +%__rm -f "%{?buildroot}%{tde_datadir}/apps/usb.ids" +%__ln_s -f "/usr/share/hwdata/usb.ids" "%{?buildroot}%{tde_datadir}/apps/usb.ids" +%endif + +# Makes 'media_safelyremove.desktop' an alternative +%__mv -f %{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop %{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase +%__ln_s /etc/alternatives/media_safelyremove.desktop_tdebase %{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop + +# SUSE: creates DM config file, used by '/etc/init.d/xdm' +# You must set 'DISPLAYMANAGER=tdm' in '/etc/sysconfig/displaymanager' +%if 0%{?suse_version} +%__install -D -m 644 "%{SOURCE6}" "%{?buildroot}/usr/lib/X11/displaymanagers/tdm" +%__sed -i "%{?buildroot}/usr/lib/X11/displaymanagers/tdm" -e "s|/opt/trinity/bin|%{tde_bindir}|g" +%endif + +%clean +%__rm -rf %{?buildroot} + + + + +%changelog +* Thu Nov 29 2012 Francois Andriot - 3.5.13.1-2 +- openSUSE: fix TDM detection by XDM scripts + +* Mon Sep 24 2012 Francois Andriot - 3.5.13.1-1 +- Initial build for TDE 3.5.13.1 diff --git a/redhat/tdebase/kdebase-3.5.13.spec b/redhat/tdebase/kdebase-3.5.13.spec new file mode 100644 index 000000000..5e69920e9 --- /dev/null +++ b/redhat/tdebase/kdebase-3.5.13.spec @@ -0,0 +1,3467 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +# Older RHEL/Fedora versions use packages named "qt", "qt-devel", .. +# whereas newer versions use "qt3", "qt3-devel" ... +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 8 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define _qt_suffix 3 +%endif + + +Name: trinity-tdebase +Version: 3.5.13 +Release: 27%{?release}%{?dist}%{?_variant} +License: GPL +Summary: Trinity Base Programs +Group: User Interface/Desktops + +Obsoletes: trinity-kdebase < %{version}-%{release} +Provides: trinity-kdebase = %{version}-%{release} +Obsoletes: trinity-kdebase-libs < %{version}-%{release} +Obsoletes: trinity-kdebase-extras < %{version}-%{release} +Provides: trinity-kdebase-extras = %{version}-%{release} +Obsoletes: tdebase < %{version}-%{release} +Provides: tdebase = %{version}-%{release} + + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: kdebase-%{version}.tar.gz + +# Wrapper script to prevent Plasma launch at Trinity Startup +Source1: plasma-desktop + +# Pam configuration files for RHEL / Fedora +%if 0%{?suse_version} +Source4: pamd.kcheckpass-trinity.opensuse%{?suse_version} +%else +Source2: pamd.kdm-trinity%{?dist} +Source3: pamd.kdm-trinity-np%{?dist} +Source4: pamd.kcheckpass-trinity%{?dist} +Source5: pamd.kscreensaver-trinity%{?dist} +%endif + +# [kdebase] Fix corrupted PNG images [Bug #298] +Source6: tiles-fixed-png-images.tar.gz + +# TDE 3.5.13 patches +## [kdebase] Missing LDFLAGS cause FTBFS +Patch2: tdebase-3.5.13.1-missing_ldflags.patch +## [kdebase/kdm] adds gcrypt support [Bug #624] +Patch7: kdebase-3.5.13-kdm-crypt.patch +## [kdebase/kioslave/media/mediamanager] FTBFS missing dbus-tqt includes [RHEL/Fedora] +Patch8: kdebase-3.5.13-mediamanager_ftbfs.patch +## [kdebase/startkde] Hardcoded path '/usr/lib/xxx' in startkde, not suitable for x86_64 [RHEL/Fedora] +Patch9: kdebase-3.5.13-startkde_ldpreload.patch +## [kdebase/kdesu] Remove 'ignore' button on 'kdesu' dialog box [RHEL/Fedora] +Patch10: kdebase-3.5.13-kdesu-noignorebutton.patch +## [kdebase/kdesktop] Modifies 'open terminal here' on desktop [RHEL/Fedora] +Patch11: kdebase-3.5.12-desktop-openterminalhere.patch +## [kdebase/kioslave] Forces HAL backend to use HAL mount options [Bug #986] +Patch12: kdebase-3.5.12-halmountoptions.patch +## [kdebase/kdm/kfrontend] Global Xsession file is '/etc/X11/xinit/Xsession' [RHEL/Fedora] +Patch13: kdebase-3.5.13-genkdmconf_Xsession_location.patch +## [kdebase/kicker/kicker/ui] Fix kickoff menu issues [Bug #508] +Patch14: kdebase-3.5.13-kickoff_unstable.patch +## [kdebase/startkde] Sets default Start Icon in 'kickerrc' [RHEL/Fedora] +Patch15: kdebase-3.5.13-startkde_icon.patch +## [kdebase/startkde] Fixes duplicate and incorrect TDE directories location [Bug #741] +Patch16: kdebase-3.5.13-startkde_directories.patch +## [kdebase/kate] Restores the 'number of files' and sorting widgets to the Kate configuration [Bug #244] +Patch20: kdebase-3.5.13-kate_mru.patch +## [kdebase/kioslave/man] Fix kio_man for older distros without 'man-db' [Bug #714] +Patch21: kdebase-3.5.13-kio_man_utf8.patch +## [kdebase/konqueror] Re-enable 'open tab in background' [Bug #245] +Patch22: kdebase-3.5.13-konq_menu_tab_background.patch +## [kdebase/konqueror/sidebar] Fix error message on documents parent folder [Bug #723] +Patch23: kdebase-3.5.13-konqsidebar_documents.patch +## [kdebase/konqueror/listview] Konqueror Icon Activation Effect [Bug #335] +Patch24: kdebase-3.5.13-konq_icon_effect.patch +## [kdebase/kdesu] Restores the "Keep password" check box to the kdesu dialog box [Bug #388] +Patch25: kdebase-3.5.13-kdesu_showkeeppassword.patch +## [kdebase/kpersonalizer] Repair KPersonalizer settings to match system defaults [Bug #759] +Patch26: kdebase-3.5.13-kpersonalizer_default_doubleclick.patch +## [kdebase/kicker] Restores the original KDE3 clock [Bug #387] +Patch27: kdebase-3.5.13-restore_kde3_clock.patch +## [kdebase/kcontrol/randr] Implement X11 event merging in krandrtray [Bug #758] +Patch28: kdebase-3.5.13-randrtray_merge_x11_reconfig_requests.patch +## [kdebase/kdesktop/lock] Fix multihead screen locking [Bug #669] +Patch29: kdebase-3.5.13-fix_multihead_desktop_lock.patch +## [kdebase/kdm/kfrontend] Allows to hide KDM menu button [RHEL/Fedora] +Patch30: kdebase-3.5.12-kdm_hide_menu_button.patch +## [kdebase/kxkb] Enables xtest support +Patch31: kdebase-3.5.13-enable_xtest_support.patch +## [kdebase/kdm/kfrontend] fix KDM high CPU usage when inactive [Bug #690] +Patch32: kdebase-3.5.13-fix_kdm_cpu_usage.patch +## [kdebase/tsak] Add keyboard hotplug (add/remove) support to tsak [Bug #587] +Patch33: kdebase-3.5.13-tsak_keyboard_hotplug.patch +## [kdebase/tsak] Replicate LED status from virtual keyboards to physical keyboards [Bug #561] +Patch34: kdebase-3.5.13-replicate_led_status_on_virtual_keyboard.patch +## [kdebase/kwin] do not show hostname in titlebar if it's FQDN of localhost [Bug #889] +Patch35: kdebase-3.5.13-fix_fqdn_in_title.patch +## [kdebase/kicker/applets] Adds option to disable desktop switch on mouse wheel cycling [Bug #908] +Patch36: kdebase-3.5.13-option_to_disable_scroll_desktop.patch +## [kdebase] Fix Keramik window decoration in KWIN [Bug #905] +Patch37: kdebase-3.5.13-kwin-keramic-pics-emb.patch +## [kdebase/kdesktop] Fix device icon placement on desktop [Bug #392] +Patch38: kdebase-3.5.13-fix_device_icon_placement.patch +## [kdebase/kdesktop/lock] Fix security hole in kdesktop_lock +Patch39: kdebase-3.5.13-fix_kdesktop_lock_security_issue.patch +## [kdebase/kdesktop/lock] Allow minimal managed window interaction inside the lock process [Bug #810] +Patch40: kdebase-3.5.13-allow_minimal_window_interaction_inside_lock_process.patch +## [kdebase/kwin] Corrects a potential ABI compat problem +Patch41: kdebase-3.5.13-fix_potential_ABI_compat_problem.patch +## [kdebase] Fix kdebase translations in desktop files - part 2 [Bug #890] +Patch42: kdebase-3.5.13-fix_translations_in_desktop_files.patch +## [kdebase/kate] Kate: fix focus broken when using the --use parameter [Bug #692] +Patch43: kdebase-3.5.13-kate_focus_fix.patch +## [kdebase/kicker] Ensures that 'pagersettings.kcfg' is installed [Bug #908, Commit bd9c1479] +Patch44: kdebase-3.5.13-ensure_pagersettings_is_installed.patch +## [kdebase] Fix "Malformed URL $( kxdglauncher --getpath xdgname DOCUMENTS )" error dialog. +Patch45: kdebase-3.5.13-fix_kxdglauncher_document.patch +## [kdebase/kioslave] Fix sftp failure on newer systems [Bug #897] +Patch46: kdebase-3.5.13-fix_kio_sftp.patch +## [kdebase/kicker] Fix compilation with GCC 4.7 [Bug #958] +Patch47: kdebase-3.5.13-kicker-easyvector.patch +## [kdebase/kioslave] Fix sftp when nonstandard port is specified in ssh config [Bug #897] +Patch48: kdebase-3.5.13-fix_kio_sftp_nonstandard_ports.patch +## [kdebase/kdm] Start minimal dcop system to support twin in tdm [Commit #66a19439] +Patch49: kdebase-3.5.13-start_dcop_in_tdm.patch +## [kdebase/kdesktop/lock] Update lock process to engage the lock in near real time [Commit #8d521d0b] +Patch50: kdebase-3.5.13-engage_lock_in_near_real_time.patch +## [kdebase/kdesktop/lock] Commit the rest of 8d521d0b, not merged due to GIT glitch [Commit #49526413] +Patch51: kdebase-3.5.13-engage_lock_in_near_real_time_continued.patch +## [kdebase/kdesktop/lock] Fix desktop lock failure due to race condition within signal handler between qt and xcb [Commit #67a3a8f3] +Patch52: kdebase-3.5.13-fix_lock_failure.patch +## [kdebase/kioslave] Temporary fix for a probable race condition on some systems. [Bug #760] [Commit #d41f5217] +Patch53: kdebase-3.5.13-fix_race_condition.patch +## [kdebase] Adds USB default mount options in control panel [Bug #986] +Patch54: kdebase-3.5.13-add_usbstorage_panel.patch +## [tdebase] Add the ability to reorder documents in kate [Commit #46a657f7] +Patch55: kdebase-3.5.13-add_reorder_documents_in_kate.patch +## [tdebase] Add drag and drop to kate file list in manual mode [Commit #b0fa10df] +Patch56: kdebase-3.5.13-add_drag_drop_to_kate_file_list.patch +## [tdebase] Disable keyboard shortcuts for file location moving, as they did not work properly +## and have very little practical use [Commit #9a948c1a] +Patch57: kdebase-3.5.13-disable_keyboard_shortcuts_for_file_location_moving.patch +## [tdebase] Fix KHTML smooth scrolling control center option [Bug #1001] [Commit #b45b4bd7] +Patch58: kdebase-3.5.13-fix_khtml_smooth_scrolling.patch +## [tdebase] Fix fancy logout not allowing interaction with save dialogs [Bug #922] +## Fix desktop wallpaper export failing when triggered by krootbacking or ksmserver and konsole or kdesktop_lock not previously loaded [Commit #d2f8fca9] +Patch59: kdebase-3.5.13-fix_fancy_logout.patch +## [tdebase] Update default konqueror maximum image preview size to 10MB. [Commit #03e19305] +Patch60: kdebase-3.5.13-update_default_konq_max_image_prev_size.patch +## [tdebase] Fix menu crash with disabled search field [Bug #1081] [Commit #0afb2d8a] +Patch61: kdebase-3.5.13-fix_menu_crash_with_disabled_search.patch +## [tdebase] Add xscreensaver support to CMake [Bug #659] [Commit #80deb529] +Patch62: kdebase-3.5.13-add_xscreensaver_support.patch +## [tdebase] Forcibly prevent transient override redirect windows from showing up over the lock screen [Bug #1079] [Commit #553923b2] +Patch63: kdebase-3.5.13-prevent_tooltip_over_lockscreen.patch +## [tdebase] Fix tsak FTBFS on RHEL6 +Patch64: kdebase-3.5.13-fix_tsak_ftbfs.patch +## [tdebase] Do not require DBUS-TQT if TSAK is not built +Patch65: kdebase-3.5.13-do_not_require_dbustqt_if_no_tsak.patch +## [kdebase/kdm/kfrontend] Global Xsession file is '/etc/X11/xdm/Xsession' [RHEL4/Suse] +Patch66: kdebase-3.5.13-genkdmconf_Xsession_location_xdm.patch +## [kdebase/kdm/backend] Fix DBUS include directory +Patch67: kdebase-3.5.13-fix_dbus_include.patch + +## [tdebase] Upgrade to v3.5.13-sru branch +Patch100: kdebase-3.5.13-upgrade_to_sru_20120806.patch.gz +## [tdebase] Fix for SAK dialog are displayed even if TSAK is not built. +Patch101: kdebase-3.5.13-disable_tsak_dialog_if_not_built.patch + +### Patches for RHEL4 (should not go upstream) + +## [tdebase] Fix build on RHEL4, detect old libraries without pkg file +Patch201: kdebase-3.5.13-fix_lib_detection.patch +## [tdebase] Do not build against DBUS-TQT, only DBUS and DBUS-QT +Patch202: kdebase-3.5.13-build_without_dbustqt.patch +## [tdebase] Do not build against ConsoleKit +Patch203: kdebase-3.5.13-build_without_consolekit.patch +## [tdebase] Add WITH_COMPOSITE option to CMakeLists.txt +Patch204: kdebase-3.5.13-add_disable_composite_option.patch +## [tdebase] Downgrade halbackend to support Hal 0.4 +Patch205: kdebase-3.5.13-support_hal_04.patch +## [tdebase] Other(s) FTBFS ... +Patch206: kdebase-3.5.13-fix_rhel4_compilation.patch + +### FEDORA / RHEL distribution-specific settings ### + +# Fedora 15 Theme: "Lovelock" +%if 0%{?fedora} == 15 +Requires: lovelock-backgrounds-single +%define tde_bg /usr/share/backgrounds/lovelock/default/standard/lovelock.png +%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png + +Requires: fedora-release-notes +%define tde_aboutlabel Fedora 15 +%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html +%endif + +# Fedora 16 Theme: "Verne" +%if 0%{?fedora} == 16 +Requires: verne-backgrounds-single +%define tde_bg /usr/share/backgrounds/verne/default/standard/verne.png +%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png + +Requires: fedora-release-notes +%define tde_aboutlabel Fedora 16 +%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html +%endif + +# Fedora 17 Theme: "Beefy Miracle" +%if 0%{?fedora} == 17 +Requires: beefy-miracle-backgrounds-single +%define tde_bg /usr/share/backgrounds/beefy-miracle/default/standard/beefy-miracle.png +%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png + +Requires: fedora-release-notes +%define tde_aboutlabel Fedora 17 +%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html +%endif + +# RHEL 4 Theme +%if 0%{?rhel} == 4 +Requires: desktop-backgrounds-basic +%define tde_bg /usr/share/backgrounds/images/default.png +Requires: redhat-logos +%define tde_starticon /usr/share/pixmaps/redhat/rpmlogo-64.xpm + +Requires: indexhtml +%define tde_aboutlabel Enterprise Linux 4 +%define tde_aboutpage /usr/share/doc/HTML/index.html +%endif + +# RHEL 5 Theme +%if 0%{?rhel} == 5 +Requires: desktop-backgrounds-basic +%define tde_bg /usr/share/backgrounds/images/default.jpg +%define tde_starticon /usr/share/pixmaps/redhat-starthere.png + +Requires: indexhtml +%define tde_aboutlabel Enterprise Linux 5 +%define tde_aboutpage /usr/share/doc/HTML/index.html +%endif + +# RHEL 6 Theme +%if 0%{?rhel} == 6 +Requires: redhat-logos +%define tde_bg /usr/share/backgrounds/default.png +%define tde_starticon /usr/share/icons/hicolor/96x96/apps/system-logo-icon.png + +Requires: redhat-indexhtml +%define tde_aboutlabel Enterprise Linux 6 +%define tde_aboutpage /usr/share/doc/HTML/index.html +%endif + +# Mageia 2 Theme +%if 0%{?mgaversion} == 2 +Requires: mageia-theme-Default +%define tde_bg /usr/share/mga/backgrounds/default.jpg +%define tde_starticon /usr/share/icons/hicolor/scalable/apps/mageia-menu.svg + +Requires: indexhtml +%define tde_aboutlabel Mageia 2 +%define tde_aboutpage /usr/share/mga/about/index.html +%endif + +# Mandriva 2011 Theme: "rosa" +%if "%{?mdkversion}" == "201100" +Requires: mandriva-theme +%define tde_bg /usr/share/mdk/backgrounds/default.jpg +%define tde_starticon /usr/share/icons/mandriva.png + +Requires: indexhtml +%define tde_aboutlabel Mandriva 2011 +%define tde_aboutpage /usr/share/mdk/about/index.html +%endif + +# OpenSuse 12.2 Theme +%if "%{?suse_version}" == "1220" +Requires: wallpaper-branding +%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg +Requires: hicolor-icon-theme-branding +%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg + +Requires: opensuse-manuals_en +%define tde_aboutlabel OpenSuse 12.2 +%define tde_aboutpage /usr/share/doc/manual/opensuse-manuals_en/book.opensuse.startup.html +%endif + +BuildRequires: cmake >= 2.8 +BuildRequires: tqtinterface-devel +BuildRequires: trinity-arts-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: gcc-c++ make +BuildRequires: qt%{?_qt_suffix}-devel +BuildRequires: openssl-devel +BuildRequires: audiofile-devel +BuildRequires: alsa-lib-devel +BuildRequires: libraw1394-devel +BuildRequires: libvorbis-devel +BuildRequires: pam-devel +BuildRequires: libusb-devel +BuildRequires: esound-devel +BuildRequires: glib2-devel +BuildRequires: pcre-devel + +%if 0%{?suse_version} +BuildRequires: openldap2-devel +%else +BuildRequires: lm_sensors-devel +BuildRequires: openldap-devel +%endif + + +# TSAK support requires libudev-devel +# On RHEL5, udev is built statically, so TSAK cannot build. +# On RHEL5, xrandr library is too old. +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version} +%define with_tsak 1 +%define with_xrandr 1 +BuildRequires: libudev-devel +%endif + +# On RHEL4, we do not have openexr +# On RHEL4, we do not use HAL +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} +%define with_exr 1 +BuildRequires: OpenEXR-devel +%define with_hal 1 +BuildRequires: hal-devel >= 0.4.8 +%endif + + +%if 0%{?fedora} >= 17 +BuildRequires: perl-Digest-MD5 +%endif + +%if 0%{?rhel} == 4 +BuildRequires: xorg-x11-devel +BuildRequires: samba-common +# Dbus bindings were rebuilt with Qt support +BuildRequires: dbus-devel >= 0.22-12.EL.9p1 +%else +BuildRequires: imake +%if 0%{?suse_version} +BuildRequires: dbus-1-devel +%else +BuildRequires: dbus-devel +BuildRequires: nas-devel +%endif +BuildRequires: dbus-tqt-devel +BuildRequires: avahi-tqt-devel +BuildRequires: libxkbfile-devel +BuildRequires: libsmbclient-devel +BuildRequires: libfontenc-devel + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}avahi-client-devel +BuildRequires: %{_lib}jack-devel +BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel +BuildRequires: %{_lib}xdamage-devel +BuildRequires: %{_lib}xdmcp%{?mgaversion:6}-devel +BuildRequires: %{_lib}xtst-devel +BuildRequires: x11-font-util +BuildRequires: x11-proto-devel +BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel +Requires: %{_lib}avahi-client3 +%else +BuildRequires: avahi-devel +BuildRequires: jack-audio-connection-kit-devel +BuildRequires: libXcomposite-devel +BuildRequires: libXdamage-devel +BuildRequires: libXdmcp-devel +BuildRequires: libXtst-devel +%if 0%{?suse_version} +BuildRequires: font-util +BuildRequires: bdftopcf +%else +BuildRequires: xorg-x11-font-utils +%endif +BuildRequires: xorg-x11-proto-devel +%if 0%{?rhel} == 5 +BuildRequires: gnome-screensaver +%else +BuildRequires: xscreensaver +%endif +Requires: avahi-tqt +%endif +%endif + +# tdebase is a metapackage that installs all sub-packages +Requires: %{name}-runtime-data-common = %{version}-%{release} +Requires: %{name}-data = %{version}-%{release} +Requires: %{name}-bin = %{version}-%{release} +Requires: %{name}-kio-plugins = %{version}-%{release} +Requires: %{name}-kio-pim-plugins = %{version}-%{release} +Requires: trinity-kappfinder = %{version}-%{release} +Requires: trinity-kate = %{version}-%{release} +Requires: trinity-kwrite = %{version}-%{release} +Requires: trinity-kcontrol = %{version}-%{release} +Requires: trinity-kdepasswd = %{version}-%{release} +Requires: trinity-tdeprint = %{version}-%{release} +Requires: trinity-kdesktop = %{version}-%{release} +Requires: trinity-tdm = %{version}-%{release} +Requires: trinity-kfind = %{version}-%{release} +Requires: trinity-khelpcenter = %{version}-%{release} +Requires: trinity-kicker = %{version}-%{release} +Requires: trinity-klipper = %{version}-%{release} +Requires: trinity-kmenuedit = %{version}-%{release} +Requires: trinity-konqueror = %{version}-%{release} +Requires: trinity-konqueror-nsplugins = %{version}-%{release} +Requires: trinity-konsole = %{version}-%{release} +Requires: trinity-kpager = %{version}-%{release} +Requires: trinity-kpersonalizer = %{version}-%{release} +Requires: trinity-ksmserver = %{version}-%{release} +Requires: trinity-ksplash = %{version}-%{release} +Requires: trinity-ksysguard = %{version}-%{release} +Requires: trinity-ksysguardd = %{version}-%{release} +Requires: trinity-ktip = %{version}-%{release} +Requires: trinity-twin = %{version}-%{release} +Requires: trinity-libkonq = %{version}-%{release} +Requires: %{name}-libtqt3-integration = %{version}-%{release} + +Requires: tqtinterface +Requires: trinity-arts +Requires: trinity-tdelibs +Requires: qt%{?_qt_suffix} +Requires: openssl + +%if 0%{?rhel} == 4 +Requires: dbus-qt +%else +Requires: dbus-tqt +Requires: avahi +%endif + +# RHEL 6 Configuration files are provided in separate packages +%if 0%{?rhel} || 0%{?fedora} +%if "%{?tde_prefix}" == "/usr" +Requires: kde-settings-kdm +%endif +Requires: redhat-menus +%endif + +%if 0%{?suse_version} +Requires: desktop-data-openSUSE +%endif + +%description +TDE (the Trinity Desktop Environment) is a powerful Open Source graphical +desktop environment for Unix workstations. It combines ease of use, +contemporary functionality, and outstanding graphical design with the +technological superiority of the Unix operating system. + +This metapackage includes the nucleus of TDE, namely the minimal package +set necessary to run TDE as a desktop environment. This includes the +window manager, taskbar, control center, a text editor, file manager, +web browser, X terminal emulator, and many other programs and components. + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING COPYING-DOCS README README.pam + +########## + +%package devel +Summary: %{summary} - Development files +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: trinity-tdelibs-devel + +Requires: %{name}-bin-devel = %{version}-%{release} +Requires: trinity-kate-devel = %{version}-%{release} +Requires: trinity-kcontrol-devel = %{version}-%{release} +Requires: trinity-kdesktop-devel = %{version}-%{release} +Requires: trinity-kicker-devel = %{version}-%{release} +Requires: trinity-konqueror-devel = %{version}-%{release} +Requires: trinity-ksplash-devel = %{version}-%{release} +Requires: trinity-ksysguard-devel = %{version}-%{release} +Requires: trinity-libkonq-devel = %{version}-%{release} +Requires: trinity-tdm-devel = %{version}-%{release} +Requires: trinity-twin-devel = %{version}-%{release} + +Provides: trinity-kdebase-devel = %{version}-%{release} +Obsoletes: trinity-kdebase-devel < %{version}-%{release} +Provides: tdebase-devel = %{version}-%{release} +Obsoletes: tdebase-devel < %{version}-%{release} + +Obsoletes: trinity-kdebase-cmake < %{version}-%{release} +Obsoletes: tdebase-cmake < %{version}-%{release} + +%description devel +This is a meta-package that installs all tdebase development packages. + +Header files for developing applications using %{name}. +Install tdebase-devel if you want to develop or compile Konqueror, +Kate plugins or KWin styles. + +%files devel +%{tde_datadir}/cmake/*.cmake + +########## + +%package kio-pim-plugins +Summary: PIM KIOslaves from %{name} +Group: Environment/Libraries + +Provides: trinity-kdebase-pim-ioslaves = %{version}-%{release} +Obsoletes: trinity-kdebase-pim-ioslaves < %{version}-%{release} +Provides: tdebase-kio-pim-plugins = %{version}-%{release} +Obsoletes: tdebase-kio-pim-plugins < %{version}-%{release} + +%description kio-pim-plugins +Protocol handlers (KIOslaves) for personal information management, including: + * kio_ldap + * kio_nntp + * kio_pop3 + * kio_smtp + +%files kio-pim-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/kio_ldap.la +%{tde_tdelibdir}/kio_ldap.so +%{tde_tdelibdir}/kio_nntp.la +%{tde_tdelibdir}/kio_nntp.so +%{tde_tdelibdir}/kio_pop3.la +%{tde_tdelibdir}/kio_pop3.so +%{tde_tdelibdir}/kio_smtp.la +%{tde_tdelibdir}/kio_smtp.so +%{tde_datadir}/services/ldap.protocol +%{tde_datadir}/services/ldaps.protocol +%{tde_datadir}/services/nntp.protocol +%{tde_datadir}/services/nntps.protocol +%{tde_datadir}/services/pop3.protocol +%{tde_datadir}/services/pop3s.protocol +%{tde_datadir}/services/smtp.protocol +%{tde_datadir}/services/smtps.protocol + +########## + +%package runtime-data-common +Summary: Shared common files for Trinity and KDE4 +Group: Environment/Libraries + +Provides: tdebase-runtime-data-common = %{version}-%{release} +Obsoletes: tdebase-runtime-data-common < %{version}-%{release} + +%description runtime-data-common +Shared common files for both Trinity and KDE4 +Such as the desktop right-click-"Create New" list + +%files runtime-data-common +%defattr(-,root,root,-) +%{tde_datadir}/autostart/khotkeys.desktop +%{tde_datadir}/desktop-directories/* +%{tde_datadir}/icons/hicolor/*/apps/kxkb.png +%{tde_datadir}/icons/hicolor/*/apps/knetattach.* +%{tde_datadir}/icons/hicolor/*/apps/khotkeys.png +%{tde_datadir}/icons/hicolor/*/apps/kmenuedit.png +%{tde_datadir}/icons/hicolor/*/apps/ksplash.png +%{tde_datadir}/locale/en_US/entry.desktop +%{tde_datadir}/locale/l10n/*.desktop +%{tde_datadir}/locale/l10n/*/entry.desktop +%{tde_datadir}/locale/l10n/*/flag.png +%{tde_datadir}/sounds/pop.wav +%{tde_datadir}/templates + +%post runtime-data-common +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%postun runtime-data-common +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package -n trinity-kappfinder +Summary: non-KDE application finder for KDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-kappfinder +kappfinder searches your workstation for many common applications and +creates menu entries for them. + +%files -n trinity-kappfinder +%defattr(-,root,root,-) +%{tde_bindir}/kappfinder +%{tde_tdeappdir}/kappfinder.desktop +%{tde_datadir}/applnk/System/kappfinder.desktop +%{tde_datadir}/apps/kappfinder +%{tde_datadir}/icons/hicolor/*/apps/kappfinder.png + +%post -n trinity-kappfinder +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%postun -n trinity-kappfinder +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database %{tde_appdir} 2> /dev/null || : + +########## + +%package -n trinity-libkateinterfaces +Summary: Common libraries used by kwrite and kate +Group: Environment/Libraries + +%description -n trinity-libkateinterfaces +%{summary} + +%files -n trinity-libkateinterfaces +%{tde_libdir}/libkateinterfaces.so.* + +%post -n trinity-libkateinterfaces +/sbin/ldconfig || : + +%postun -n trinity-libkateinterfaces +/sbin/ldconfig || : + +########## + +%package -n trinity-kate +Summary: advanced text editor for TDE +Group: Applications/Text +Requires: %{name}-data = %{version}-%{release} +Requires: trinity-kwrite = %{version}-%{release} +Requires: trinity-libkateinterfaces = %{version}-%{release} + +%description -n trinity-kate +Kate is a multi document editor, based on a rewritten version of the kwrite +editing widget of TDE. + +It is a multi-view editor that lets you view several instances of the same +document with all instances being synced, or view more files at the same +time for easy reference or simultaneous editing. The terminal emulation +and sidebar are docked windows that can be plugged out of the main window, +or replaced therein according to your preference. + +Some random features: +* Editing of big files +* Extensible syntax highlighting +* Folding +* Dynamic word wrap +* Selectable encoding +* Filter command +* Global grep dialog + +%files -n trinity-kate +%defattr(-,root,root,-) +%{tde_bindir}/kate +%{tde_tdelibdir}/kate.la +%{tde_tdelibdir}/kate.so +%{tde_libdir}/libkateutils.so.* +%{tde_libdir}/lib[kt]deinit_kate.la +%{tde_libdir}/lib[kt]deinit_kate.so +%{tde_tdeappdir}/kate.desktop +%{tde_datadir}/apps/kate/ +%{tde_datadir}/apps/kconf_update/kate-2.4.upd +%{tde_datadir}/config/katerc +%{tde_datadir}/icons/hicolor/*/apps/kate.png +%{tde_datadir}/icons/hicolor/*/apps/kate2.svgz +%{tde_datadir}/servicetypes/kateplugin.desktop +%{tde_tdedocdir}/HTML/en/kate/ + +%post -n trinity-kate +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database %{tde_appdir} 2> /dev/null || : +/sbin/ldconfig || : + +%postun -n trinity-kate +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database %{tde_appdir} 2> /dev/null || : +/sbin/ldconfig || : + +########## + +%package -n trinity-kate-devel +Summary: Development files for kate +Group: Development/Libraries +Requires: trinity-kate = %{version}-%{release} + +%description -n trinity-kate-devel +%{summary} + +%files -n trinity-kate-devel +%{tde_tdeincludedir}/kate/ +%{tde_libdir}/libkateutils.so +%{tde_libdir}/libkateutils.la +%{tde_libdir}/libkateinterfaces.so +%{tde_libdir}/libkateinterfaces.la + +%post -n trinity-kate-devel +/sbin/ldconfig || : + +%postun -n trinity-kate-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-kwrite +Summary: advanced text editor for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} +Requires: trinity-libkateinterfaces = %{version}-%{release} + +%description -n trinity-kwrite +Kwrite is a text editor for TDE. + +%files -n trinity-kwrite +%defattr(-,root,root,-) +%{tde_bindir}/kwrite +%{tde_tdelibdir}/kwrite.la +%{tde_tdelibdir}/kwrite.so +%{tde_libdir}/lib[kt]deinit_kwrite.la +%{tde_libdir}/lib[kt]deinit_kwrite.so +%{tde_tdeappdir}/kwrite.desktop +%{tde_datadir}/apps/kwrite/kwriteui.rc +%{tde_datadir}/icons/hicolor/*/apps/kwrite.png +%{tde_datadir}/icons/hicolor/*/apps/kwrite2.svgz +%{tde_tdedocdir}/HTML/en/kwrite/ + + +%post -n trinity-kwrite +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%postun -n trinity-kwrite +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database %{tde_appdir} 2> /dev/null || : + +########## + +%package -n trinity-kcontrol +Summary: control center for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} +Requires: usbutils + +%if 0%{?suse_version} == 0 +Requires: hwdata +%endif + +%description -n trinity-kcontrol +The TDE Control Center provides you with a centralized and convenient +way to configure all of your TDE settings. + +It is made up of multiple modules. Each module is a separate application, +but the control center organizes all of these programs into a convenient +location. + +In combination with udev KControl supports the advanced +configuration of Logitech mice, though the user must be a member of the +plugdev group. + +%files -n trinity-kcontrol +%defattr(-,root,root,-) +%{tde_bindir}/kaccess +%{tde_bindir}/kcontrol +%{tde_bindir}/kdeinstallktheme +%{tde_bindir}/keditfiletype +%{tde_bindir}/kfontinst +%{tde_bindir}/kfontview +%{tde_bindir}/kinfocenter +%{tde_bindir}/klocaldomainurifilterhelper +%{tde_bindir}/krdb +%{tde_tdelibdir}/fontthumbnail.la +%{tde_tdelibdir}/fontthumbnail.so +%{tde_tdelibdir}/kaccess.la +%{tde_tdelibdir}/kaccess.so +%{tde_tdelibdir}/kcm_access.la +%{tde_tdelibdir}/kcm_access.so +%{tde_tdelibdir}/kcm_arts.la +%{tde_tdelibdir}/kcm_arts.so +%{tde_tdelibdir}/kcm_background.la +%{tde_tdelibdir}/kcm_background.so +%{tde_tdelibdir}/kcm_bell.la +%{tde_tdelibdir}/kcm_bell.so +%{tde_tdelibdir}/kcm_clock.la +%{tde_tdelibdir}/kcm_clock.so +%{tde_tdelibdir}/kcm_colors.la +%{tde_tdelibdir}/kcm_colors.so +%{tde_tdelibdir}/kcm_componentchooser.la +%{tde_tdelibdir}/kcm_componentchooser.so +%{tde_tdelibdir}/kcm_crypto.la +%{tde_tdelibdir}/kcm_crypto.so +%{tde_tdelibdir}/kcm_css.la +%{tde_tdelibdir}/kcm_css.so +%{tde_tdelibdir}/kcm_display.la +%{tde_tdelibdir}/kcm_display.so +%{tde_tdelibdir}/kcm_energy.la +%{tde_tdelibdir}/kcm_energy.so +%{tde_tdelibdir}/kcm_filetypes.la +%{tde_tdelibdir}/kcm_filetypes.so +%{tde_tdelibdir}/kcm_fontinst.la +%{tde_tdelibdir}/kcm_fontinst.so +%{tde_tdelibdir}/kcm_fonts.la +%{tde_tdelibdir}/kcm_fonts.so +#%{tde_tdelibdir}/kcm_hwmanager.la +#%{tde_tdelibdir}/kcm_hwmanager.so +%{tde_tdelibdir}/kcm_icons.la +%{tde_tdelibdir}/kcm_icons.so +%{tde_tdelibdir}/kcm_info.la +%{tde_tdelibdir}/kcm_info.so +%{tde_tdelibdir}/kcm_input.la +%{tde_tdelibdir}/kcm_input.so +%{tde_tdelibdir}/kcm_ioslaveinfo.la +%{tde_tdelibdir}/kcm_ioslaveinfo.so +%{tde_tdelibdir}/kcm_joystick.la +%{tde_tdelibdir}/kcm_joystick.so +%{tde_tdelibdir}/kcm_kded.la +%{tde_tdelibdir}/kcm_kded.so +%{tde_tdelibdir}/kcm_[kt]dm.la +%{tde_tdelibdir}/kcm_[kt]dm.so +%{tde_tdelibdir}/kcm_kdnssd.so +%{tde_tdelibdir}/kcm_kdnssd.la +%{tde_tdelibdir}/kcm_keys.la +%{tde_tdelibdir}/kcm_keys.so +%{tde_tdelibdir}/kcm_kicker.la +%{tde_tdelibdir}/kcm_kicker.so +%{tde_tdelibdir}/kcm_kio.la +%{tde_tdelibdir}/kcm_kio.so +%{tde_tdelibdir}/kcm_knotify.la +%{tde_tdelibdir}/kcm_knotify.so +%{tde_tdelibdir}/kcm_konqhtml.la +%{tde_tdelibdir}/kcm_konqhtml.so +%{tde_tdelibdir}/kcm_konq.la +%{tde_tdelibdir}/kcm_konq.so +%{tde_tdelibdir}/kcm_kthememanager.la +%{tde_tdelibdir}/kcm_kthememanager.so +%{tde_tdelibdir}/kcm_kurifilt.la +%{tde_tdelibdir}/kcm_kurifilt.so +%{tde_tdelibdir}/kcm_launch.la +%{tde_tdelibdir}/kcm_launch.so +%{tde_tdelibdir}/kcm_locale.la +%{tde_tdelibdir}/kcm_locale.so +%{tde_tdelibdir}/kcm_nic.la +%{tde_tdelibdir}/kcm_nic.so +%{tde_tdelibdir}/kcm_performance.la +%{tde_tdelibdir}/kcm_performance.so +%{tde_tdelibdir}/kcm_privacy.la +%{tde_tdelibdir}/kcm_privacy.so +%{tde_tdelibdir}/kcm_samba.la +%{tde_tdelibdir}/kcm_samba.so +%{tde_tdelibdir}/kcm_screensaver.la +%{tde_tdelibdir}/kcm_screensaver.so +%{tde_tdelibdir}/kcm_smserver.la +%{tde_tdelibdir}/kcm_smserver.so +%{tde_tdelibdir}/kcm_spellchecking.la +%{tde_tdelibdir}/kcm_spellchecking.so +%{tde_tdelibdir}/kcm_style.la +%{tde_tdelibdir}/kcm_style.so +%{tde_tdelibdir}/kcm_taskbar.la +%{tde_tdelibdir}/kcm_taskbar.so +%{tde_tdelibdir}/kcm_usb.la +%{tde_tdelibdir}/kcm_usb.so +%{tde_tdelibdir}/kcm_view1394.la +%{tde_tdelibdir}/kcm_view1394.so +%{tde_tdelibdir}/kcm_xinerama.la +%{tde_tdelibdir}/kcm_xinerama.so +%{tde_tdelibdir}/kcontrol.la +%{tde_tdelibdir}/kcontrol.so +%{tde_tdelibdir}/kfile_font.la +%{tde_tdelibdir}/kfile_font.so +%{tde_tdelibdir}/kio_fonts.la +%{tde_tdelibdir}/kio_fonts.so +%{tde_tdelibdir}/kstyle_keramik_config.la +%{tde_tdelibdir}/kstyle_keramik_config.so +%{tde_tdelibdir}/libkfontviewpart.la +%{tde_tdelibdir}/libkfontviewpart.so +%{tde_tdelibdir}/libkshorturifilter.la +%{tde_tdelibdir}/libkshorturifilter.so +%{tde_tdelibdir}/libkuriikwsfilter.la +%{tde_tdelibdir}/libkuriikwsfilter.so +%{tde_tdelibdir}/libkurisearchfilter.la +%{tde_tdelibdir}/libkurisearchfilter.so +%{tde_tdelibdir}/liblocaldomainurifilter.la +%{tde_tdelibdir}/liblocaldomainurifilter.so +%{tde_libdir}/lib[kt]deinit_kaccess.la +%{tde_libdir}/lib[kt]deinit_kaccess.so +%{tde_libdir}/lib[kt]deinit_kcontrol.la +%{tde_libdir}/lib[kt]deinit_kcontrol.so +%{tde_libdir}/libkfontinst.so.* +%{tde_tdeappdir}/arts.desktop +%{tde_tdeappdir}/background.desktop +%{tde_tdeappdir}/bell.desktop +%{tde_tdeappdir}/cache.desktop +%{tde_tdeappdir}/cdinfo.desktop +%{tde_tdeappdir}/clock.desktop +%{tde_tdeappdir}/colors.desktop +%{tde_tdeappdir}/componentchooser.desktop +%{tde_tdeappdir}/cookies.desktop +%{tde_tdeappdir}/crypto.desktop +%{tde_tdeappdir}/desktopbehavior.desktop +%{tde_tdeappdir}/desktop.desktop +%{tde_tdeappdir}/desktoppath.desktop +%{tde_tdeappdir}/devices.desktop +%{tde_tdeappdir}/display.desktop +%{tde_tdeappdir}/dma.desktop +%{tde_tdeappdir}/ebrowsing.desktop +%{tde_tdeappdir}/filebrowser.desktop +%{tde_tdeappdir}/filetypes.desktop +%{tde_tdeappdir}/fonts.desktop +#%{tde_tdeappdir}/hwmanager.desktop +%{tde_tdeappdir}/icons.desktop +%{tde_tdeappdir}/installktheme.desktop +%{tde_tdeappdir}/interrupts.desktop +%{tde_tdeappdir}/ioports.desktop +%{tde_tdeappdir}/ioslaveinfo.desktop +%{tde_tdeappdir}/joystick.desktop +%{tde_tdeappdir}/kcm_kdnssd.desktop +%{tde_tdeappdir}/kcmaccess.desktop +%{tde_tdeappdir}/kcmcss.desktop +%{tde_tdeappdir}/kcmfontinst.desktop +%{tde_tdeappdir}/kcmkded.desktop +%{tde_tdeappdir}/kcmlaunch.desktop +%{tde_tdeappdir}/kcmnotify.desktop +%{tde_tdeappdir}/kcmperformance.desktop +%{tde_tdeappdir}/kcmsmserver.desktop +%{tde_tdeappdir}/kcmtaskbar.desktop +%{tde_tdeappdir}/kcmusb.desktop +%{tde_tdeappdir}/kcmview1394.desktop +%{tde_tdeappdir}/KControl.desktop +%{tde_tdeappdir}/[kt]dm.desktop +%{tde_tdeappdir}/keys.desktop +%{tde_tdeappdir}/kfontview.desktop +%{tde_tdeappdir}/khtml_behavior.desktop +%{tde_tdeappdir}/khtml_fonts.desktop +%{tde_tdeappdir}/khtml_java_js.desktop +%{tde_tdeappdir}/kinfocenter.desktop +%{tde_tdeappdir}/kthememanager.desktop +%{tde_tdeappdir}/lanbrowser.desktop +%{tde_tdeappdir}/language.desktop +%{tde_tdeappdir}/media.desktop +%{tde_tdeappdir}/memory.desktop +%{tde_tdeappdir}/mouse.desktop +%{tde_tdeappdir}/netpref.desktop +%{tde_tdeappdir}/nic.desktop +%{tde_tdeappdir}/opengl.desktop +%{tde_tdeappdir}/panel_appearance.desktop +%{tde_tdeappdir}/panel.desktop +%{tde_tdeappdir}/partitions.desktop +%{tde_tdeappdir}/pci.desktop +%{tde_tdeappdir}/privacy.desktop +%{tde_tdeappdir}/processor.desktop +%{tde_tdeappdir}/proxy.desktop +%{tde_tdeappdir}/screensaver.desktop +%{tde_tdeappdir}/scsi.desktop +%{tde_tdeappdir}/smbstatus.desktop +%{tde_tdeappdir}/sound.desktop +%{tde_tdeappdir}/spellchecking.desktop +%{tde_tdeappdir}/style.desktop +%{tde_tdeappdir}/useragent.desktop +%{tde_tdeappdir}/xserver.desktop +%{tde_datadir}/applnk/.hidden/energy.desktop +%{tde_datadir}/applnk/.hidden/fileappearance.desktop +%{tde_datadir}/applnk/.hidden/filebehavior.desktop +%{tde_datadir}/applnk/.hidden/filepreviews.desktop +%{tde_datadir}/applnk/.hidden/kcmkonqyperformance.desktop +%{tde_datadir}/applnk/.hidden/kicker_config_appearance.desktop +%{tde_datadir}/applnk/.hidden/kicker_config.desktop +%{tde_datadir}/applnk/.hidden/smb.desktop +%{tde_datadir}/applnk/.hidden/xinerama.desktop +%{tde_datadir}/applnk/Settings/LookNFeel/ +%{tde_datadir}/applnk/Settings/WebBrowsing/khtml_appearance.desktop +%{tde_datadir}/applnk/Settings/WebBrowsing/nsplugin.desktop +%{tde_datadir}/applnk/Settings/WebBrowsing/smb.desktop +%{tde_datadir}/apps/kcm_componentchooser/kcm_browser.desktop +%{tde_datadir}/apps/kcm_componentchooser/kcm_kemail.desktop +%{tde_datadir}/apps/kcm_componentchooser/kcm_terminal.desktop +%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/fonts.desktop +%{tde_datadir}/apps/konqueror/servicemenus/installfont.desktop +%{tde_datadir}/mimelnk/application/x-ktheme.desktop +%{tde_datadir}/mimelnk/fonts/folder.desktop +%{tde_datadir}/mimelnk/fonts/package.desktop +%{tde_datadir}/mimelnk/fonts/system-folder.desktop +%{tde_datadir}/services/fonts.protocol +%{tde_datadir}/services/fontthumbnail.desktop +%{tde_datadir}/services/kaccess.desktop +%{tde_datadir}/services/kfile_font.desktop +%{tde_datadir}/services/kfontviewpart.desktop +%{tde_datadir}/services/kshorturifilter.desktop +%{tde_datadir}/services/kuriikwsfilter.desktop +%{tde_datadir}/services/kurisearchfilter.desktop +%{tde_datadir}/services/localdomainurifilter.desktop + +%{tde_datadir}/apps/usb.ids +%{tde_datadir}/apps/kcmview1394/oui.db + +# The following features are not compiled under RHEL 5 +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} +%{tde_bindir}/krandrtray +%{tde_tdelibdir}/kcm_displayconfig.la +%{tde_tdelibdir}/kcm_displayconfig.so +%{tde_tdelibdir}/kcm_iccconfig.la +%{tde_tdelibdir}/kcm_iccconfig.so +%{tde_tdelibdir}/kcm_randr.la +%{tde_tdelibdir}/kcm_randr.so +%{tde_tdeappdir}/displayconfig.desktop +%{tde_tdeappdir}/iccconfig.desktop +%{tde_tdeappdir}/krandrtray.desktop +%{tde_datadir}/applnk/.hidden/randr.desktop +%{tde_datadir}/autostart/krandrtray-autostart.desktop +%endif + +%post -n trinity-kcontrol +/sbin/ldconfig || : +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%postun -n trinity-kcontrol +/sbin/ldconfig || : +update-desktop-database %{tde_appdir} 2> /dev/null || : + +########## + +%package -n trinity-kcontrol-devel +Summary: Development files for kcontrol +Group: Development/Libraries +Requires: trinity-kcontrol = %{version}-%{release} + +%description -n trinity-kcontrol-devel +%{summary} + +%files -n trinity-kcontrol-devel +%{tde_libdir}/libkfontinst.la +%{tde_libdir}/libkfontinst.so + +%post -n trinity-kcontrol-devel +/sbin/ldconfig || : + +%postun -n trinity-kcontrol-devel +/sbin/ldconfig || : + +########## + +%package bin +Summary: core binaries for the TDE base module +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} +Requires: pam + +Provides: tdebase-bin = %{version}-%{release} +Obsoletes: tdebase-bin < %{version}-%{release} + +%description bin +This package contains miscellaneous programs needed by other +TDE applications, particularly those in the TDE base module. + +%files bin +%defattr(-,root,root,-) +%{tde_bindir}/krootbacking +#%{tde_bindir}/tdeinit_phase1 +%if 0%{?with_tsak} +%attr(4511,root,root) %{tde_bindir}/[kt]dmtsak +%{tde_bindir}/tsak +%endif +%{tde_bindir}/kdebugdialog +%{tde_bindir}/kreadconfig +%{tde_bindir}/kwriteconfig +%{tde_bindir}/kstart +%{tde_datadir}/config/kxkb_groups +%{tde_bindir}/drkonqi +%{tde_bindir}/kapplymousetheme +%{tde_bindir}/kblankscrn.kss +%attr(4755,root,root) %{tde_bindir}/kcheckpass +%{tde_bindir}/kcminit +%{tde_bindir}/kcminit_startup +%{tde_bindir}/kdcop +%{tde_bindir}/[kt]desu +%attr(0755,root,root) %{tde_bindir}/[kt]desud +%{tde_bindir}/kdialog +%{tde_bindir}/khotkeys +%{tde_bindir}/knetattach +%{tde_bindir}/krandom.kss +%{tde_bindir}/ksystraycmd +%{tde_bindir}/kxkb +%{tde_libdir}/kconf_update_bin/khotkeys_update +%{tde_tdelibdir}/kcminit.la +%{tde_tdelibdir}/kcminit.so +%{tde_tdelibdir}/kcminit_startup.la +%{tde_tdelibdir}/kcminit_startup.so +%{tde_tdelibdir}/kcm_keyboard.la +%{tde_tdelibdir}/kcm_keyboard.so +%{tde_tdelibdir}/kcm_khotkeys_init.la +%{tde_tdelibdir}/kcm_khotkeys_init.so +%{tde_tdelibdir}/kcm_khotkeys.la +%{tde_tdelibdir}/kcm_khotkeys.so +%{tde_tdelibdir}/kded_khotkeys.la +%{tde_tdelibdir}/kded_khotkeys.so +%{tde_tdelibdir}/kgreet_classic.la +%{tde_tdelibdir}/kgreet_classic.so +%{tde_tdelibdir}/kgreet_winbind.la +%{tde_tdelibdir}/kgreet_winbind.so +%{tde_tdelibdir}/khotkeys.la +%{tde_tdelibdir}/khotkeys.so +%{tde_tdelibdir}/khotkeys_arts.la +%{tde_tdelibdir}/khotkeys_arts.so +%{tde_tdelibdir}/kxkb.la +%{tde_tdelibdir}/kxkb.so +%{tde_libdir}/lib[kt]deinit_kcminit.la +%{tde_libdir}/lib[kt]deinit_kcminit.so +%{tde_libdir}/lib[kt]deinit_kcminit_startup.la +%{tde_libdir}/lib[kt]deinit_kcminit_startup.so +%{tde_libdir}/lib[kt]deinit_khotkeys.la +%{tde_libdir}/lib[kt]deinit_khotkeys.so +%{tde_libdir}/lib[kt]deinit_kxkb.la +%{tde_libdir}/lib[kt]deinit_kxkb.so +%{tde_libdir}/libkhotkeys_shared.so.* +%{tde_tdeappdir}/keyboard.desktop +%{tde_tdeappdir}/keyboard_layout.desktop +%{tde_tdeappdir}/khotkeys.desktop +%{tde_tdeappdir}/knetattach.desktop +%{tde_datadir}/applnk/System/ScreenSavers/ +%{tde_datadir}/apps/drkonqi/ +%{tde_datadir}/apps/kconf_update/khotkeys_32b1_update.upd +%{tde_datadir}/apps/kconf_update/khotkeys_printscreen.upd +%{tde_datadir}/apps/kconf_update/konqueror_gestures_trinity21_update.upd +%{tde_datadir}/apps/kdcop/kdcopui.rc +%{tde_datadir}/apps/khotkeys/ +%{tde_datadir}/services/kded/khotkeys.desktop +%{tde_datadir}/services/kxkb.desktop +%{_sysconfdir}/pam.d/kcheckpass-trinity +%if 0%{?suse_version} == 0 +%{_sysconfdir}/pam.d/kscreensaver-trinity +%endif +%{tde_tdedocdir}/HTML/en/kdcop/ +%{tde_tdedocdir}/HTML/en/kdebugdialog// +%{tde_tdedocdir}/HTML/en/[kt]desu/ +%{tde_tdedocdir}/HTML/en/knetattach/ +%{tde_tdedocdir}/HTML/en/kxkb/ + +%post bin +/sbin/ldconfig || : +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%postun bin +/sbin/ldconfig || : +update-desktop-database %{tde_appdir} 2> /dev/null || : + +########## + +%package bin-devel +Summary: Development files for core binaries for the TDE base module +Group: Development/Libraries +Requires: %{name}-bin = %{version}-%{release} + +Obsoletes: tdebase-bin-devel < %{version}-%{release} +Provides: tdebase-bin-devel = %{version}-%{release} + +%description bin-devel +%{summary} + +%files bin-devel +%{tde_libdir}/libkhotkeys_shared.la +%{tde_libdir}/libkhotkeys_shared.so + +%post bin-devel +/sbin/ldconfig || : + +%postun bin-devel +/sbin/ldconfig || : + +########## + +%package data +Summary: shared data files for the TDE base module +Group: Environment/Libraries +Requires: %{name}-runtime-data-common = %{version}-%{release} + +Obsoletes: tdebase-data < %{version}-%{release} +Provides: tdebase-data = %{version}-%{release} + +%description data +This package contains the architecture-independent shared data files +needed for a basic TDE desktop installation. + +%files data +%defattr(-,root,root,-) +%{tde_datadir}/config/kshorturifilterrc +%{tde_datadir}/applnk/.hidden/battery.desktop +%{tde_datadir}/applnk/.hidden/bwarning.desktop +%{tde_datadir}/applnk/.hidden/cwarning.desktop +%{tde_datadir}/applnk/.hidden/.directory +%{tde_datadir}/applnk/.hidden/email.desktop +%{tde_datadir}/applnk/.hidden/kcmkonq.desktop +%{tde_datadir}/applnk/.hidden/kcmkxmlrpcd.desktop +%{tde_datadir}/applnk/.hidden/konqhtml.desktop +%{tde_datadir}/applnk/.hidden/passwords.desktop +%{tde_datadir}/applnk/.hidden/power.desktop +%{tde_datadir}/applnk/.hidden/socks.desktop +%{tde_datadir}/applnk/.hidden/userinfo.desktop +%{tde_datadir}/applnk/.hidden/virtualdesktops.desktop +%{tde_datadir}/apps/kaccess/eventsrc +%{tde_datadir}/apps/kcmcss/template.css +%{tde_datadir}/apps/kcminput/ +%{tde_datadir}/apps/kcmkeys/ +%{tde_datadir}/apps/kcmlocale/pics/background.png +%{tde_datadir}/apps/kconf_update/convertShortcuts.pl +%{tde_datadir}/apps/kconf_update/kaccel.upd +%{tde_datadir}/apps/kconf_update/kcmdisplayrc.upd +%{tde_datadir}/apps/kconf_update/kuriikwsfilter.upd +%{tde_datadir}/apps/kconf_update/mouse_cursor_theme.upd +%{tde_datadir}/apps/kconf_update/socks.upd +%{tde_datadir}/apps/kcontrol/ +%{tde_datadir}/apps/kdisplay/ +%{tde_datadir}/apps/kfontview/ +%{tde_datadir}/apps/kinfocenter/kinfocenterui.rc +%{tde_datadir}/apps/kthememanager/themes/* +%{tde_datadir}/icons/crystalsvg/*/apps/access.png +%{tde_datadir}/icons/crystalsvg/*/apps/acroread.png +%{tde_datadir}/icons/crystalsvg/*/apps/applixware.png +%{tde_datadir}/icons/crystalsvg/*/apps/arts.png +%{tde_datadir}/icons/crystalsvg/*/apps/background.png +%{tde_datadir}/icons/crystalsvg/*/apps/bell.png +%{tde_datadir}/icons/crystalsvg/*/apps/cache.png +%{tde_datadir}/icons/crystalsvg/*/apps/clanbomber.png +%{tde_datadir}/icons/crystalsvg/*/apps/clock.png +%{tde_datadir}/icons/crystalsvg/*/apps/colors.png +%{tde_datadir}/icons/crystalsvg/*/apps/date.png +%{tde_datadir}/icons/crystalsvg/*/apps/email.png +%{tde_datadir}/icons/crystalsvg/*/apps/energy.png +%{tde_datadir}/icons/crystalsvg/*/apps/energy_star.png +%{tde_datadir}/icons/crystalsvg/*/apps/filetypes.png +%{tde_datadir}/icons/crystalsvg/*/apps/fonts.png +%{tde_datadir}/icons/crystalsvg/*/apps/gimp.png +%{tde_datadir}/icons/crystalsvg/*/apps/help_index.png +%{tde_datadir}/icons/crystalsvg/*/apps/hwinfo.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmdevices.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmdf.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmkwm.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmmemory.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmpartitions.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmpci.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcontrol.png +%{tde_datadir}/icons/crystalsvg/*/apps/[kt]dmconfig.png +%{tde_datadir}/icons/crystalsvg/*/apps/key_bindings.png +%{tde_datadir}/icons/crystalsvg/*/apps/kfm_home.png +%{tde_datadir}/icons/crystalsvg/*/apps/kscreensaver.png +%{tde_datadir}/icons/crystalsvg/*/apps/kthememgr.png +%{tde_datadir}/icons/crystalsvg/*/apps/licq.png +%{tde_datadir}/icons/crystalsvg/*/apps/linuxconf.png +%{tde_datadir}/icons/crystalsvg/*/apps/locale.png +%{tde_datadir}/icons/crystalsvg/*/apps/looknfeel.png +%{tde_datadir}/icons/crystalsvg/*/apps/multimedia.png +%{tde_datadir}/icons/crystalsvg/*/apps/netscape.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_applications.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_development.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_favourite.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_games.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_multimedia.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_network.png +%{tde_datadir}/icons/crystalsvg/*/apps/package.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_settings.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_toys.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_utilities.png +%{tde_datadir}/icons/crystalsvg/*/apps/penguin.png +%{tde_datadir}/icons/crystalsvg/*/apps/personal.png +%{tde_datadir}/icons/crystalsvg/*/apps/phppg.png +%{tde_datadir}/icons/crystalsvg/*/apps/proxy.png +%{tde_datadir}/icons/crystalsvg/*/apps/pysol.png +%{tde_datadir}/icons/crystalsvg/*/apps/randr.png +%{tde_datadir}/icons/crystalsvg/*/apps/samba.png +%{tde_datadir}/icons/crystalsvg/*/apps/staroffice.png +%{tde_datadir}/icons/crystalsvg/*/apps/stylesheet.png +%{tde_datadir}/icons/crystalsvg/*/apps/terminal.png +%{tde_datadir}/icons/crystalsvg/*/apps/tux.png +%{tde_datadir}/icons/crystalsvg/*/apps/wp.png +%{tde_datadir}/icons/crystalsvg/*/apps/xclock.png +%{tde_datadir}/icons/crystalsvg/*/apps/xfmail.png +%{tde_datadir}/icons/crystalsvg/*/apps/xmag.png +%{tde_datadir}/icons/crystalsvg/*/apps/xpaint.png +%{tde_datadir}/icons/crystalsvg/scalable/apps/access.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/acroread.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/aim.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/aktion.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/antivirus.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/applixware.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/arts.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/background.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/bell.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/browser.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/cache.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/camera.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/clanbomber.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/clock.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/colors.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/core.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/date.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/display.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/download_manager.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/email.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/energy.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/error.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/fifteenpieces.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/filetypes.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/fonts.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/galeon.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/gnome_apps.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/hardware.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/hwinfo.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/ieee1394.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/kcmdevices.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/kcmkwm.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/kcmx.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/locale.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/my_mac.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/netscape.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/openoffice.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/package_development.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/package_toys.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/penguin.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/personal.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/quicktime.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/realplayer.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/samba.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/shell.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/staroffice.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/stylesheet.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/terminal.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/tux.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/wine.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/x.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/xapp.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/xcalc.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/xchat.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/xclock.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/xeyes.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/xpaint.svgz +%{tde_datadir}/icons/crystalsvg/*/devices/laptop.png +%{tde_datadir}/icons/crystalsvg/*/devices/laptop.svgz +%{tde_datadir}/icons/crystalsvg/*/actions/newfont.png +%{tde_datadir}/icons/crystalsvg/*/apps/abiword.png +%{tde_datadir}/icons/crystalsvg/*/apps/agent.png +%{tde_datadir}/icons/crystalsvg/*/apps/alevt.png +%{tde_datadir}/icons/crystalsvg/*/apps/assistant.png +%{tde_datadir}/icons/crystalsvg/*/apps/blender.png +%{tde_datadir}/icons/crystalsvg/*/apps/bluefish.png +%{tde_datadir}/icons/crystalsvg/*/apps/cookie.png +%{tde_datadir}/icons/crystalsvg/*/apps/designer.png +%{tde_datadir}/icons/crystalsvg/*/apps/dia.png +%{tde_datadir}/icons/crystalsvg/*/apps/dlgedit.png +%{tde_datadir}/icons/crystalsvg/*/apps/eclipse.png +%{tde_datadir}/icons/crystalsvg/*/apps/edu_languages.png +%{tde_datadir}/icons/crystalsvg/*/apps/edu_mathematics.png +%{tde_datadir}/icons/crystalsvg/*/apps/edu_miscellaneous.png +%{tde_datadir}/icons/crystalsvg/*/apps/edu_science.png +%{tde_datadir}/icons/crystalsvg/*/apps/emacs.png +%{tde_datadir}/icons/crystalsvg/*/apps/enhanced_browsing.png +%{tde_datadir}/icons/crystalsvg/*/apps/evolution.png +%{tde_datadir}/icons/crystalsvg/*/apps/fifteenpieces.png +%{tde_datadir}/icons/crystalsvg/*/apps/gabber.png +%{tde_datadir}/icons/crystalsvg/*/apps/gaim.png +%{tde_datadir}/icons/crystalsvg/*/apps/gnome_apps.png +%{tde_datadir}/icons/crystalsvg/*/apps/gnomemeeting.png +%{tde_datadir}/icons/crystalsvg/*/apps/gnucash.png +%{tde_datadir}/icons/crystalsvg/*/apps/gnumeric.png +%{tde_datadir}/icons/crystalsvg/*/apps/gv.png +%{tde_datadir}/icons/crystalsvg/*/apps/gvim.png +%{tde_datadir}/icons/crystalsvg/*/apps/icons.png +%{tde_datadir}/icons/crystalsvg/*/apps/iconthemes.png +%{tde_datadir}/icons/crystalsvg/*/apps/ieee1394.png +%{tde_datadir}/icons/crystalsvg/*/apps/input_devices_settings.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmkicker.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmmidi.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmprocessor.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmscsi.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmsound.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmsystem.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmx.png +%{tde_datadir}/icons/crystalsvg/*/apps/keyboard.png +%{tde_datadir}/icons/crystalsvg/*/apps/keyboard_layout.png +%{tde_datadir}/icons/crystalsvg/*/apps/knotify.png +%{tde_datadir}/icons/crystalsvg/*/apps/kvirc.png +%{tde_datadir}/icons/crystalsvg/*/apps/linguist.png +%{tde_datadir}/icons/crystalsvg/*/apps/lyx.png +%{tde_datadir}/icons/crystalsvg/*/apps/mac.png +%{tde_datadir}/icons/crystalsvg/*/apps/mathematica.png +%{tde_datadir}/icons/crystalsvg/*/apps/nedit.png +%{tde_datadir}/icons/crystalsvg/*/apps/opera.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_application.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_editors.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_edutainment.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_games_arcade.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_games_board.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_games_card.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_games_strategy.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_graphics.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_system.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_wordprocessing.png +%{tde_datadir}/icons/crystalsvg/*/apps/pan.png +%{tde_datadir}/icons/crystalsvg/*/apps/panel_settings.png +%{tde_datadir}/icons/crystalsvg/*/apps/plan.png +%{tde_datadir}/icons/crystalsvg/*/apps/planner.png +%{tde_datadir}/icons/crystalsvg/*/apps/pybliographic.png +%{tde_datadir}/icons/crystalsvg/*/apps/realplayer.png +%{tde_datadir}/icons/crystalsvg/*/apps/remote.png +%{tde_datadir}/icons/crystalsvg/*/apps/scribus.png +%{tde_datadir}/icons/crystalsvg/*/apps/sodipodi.png +%{tde_datadir}/icons/crystalsvg/*/apps/style.png +%{tde_datadir}/icons/crystalsvg/*/apps/usb.png +%{tde_datadir}/icons/crystalsvg/*/apps/vnc.png +%{tde_datadir}/icons/crystalsvg/*/apps/wabi.png +%{tde_datadir}/icons/crystalsvg/*/apps/wine.png +%{tde_datadir}/icons/crystalsvg/*/apps/xcalc.png +%{tde_datadir}/icons/crystalsvg/*/apps/xchat.png +%{tde_datadir}/icons/crystalsvg/*/apps/xclipboard.png +%{tde_datadir}/icons/crystalsvg/*/apps/xconsole.png +%{tde_datadir}/icons/crystalsvg/*/apps/xedit.png +%{tde_datadir}/icons/crystalsvg/*/apps/xemacs.png +%{tde_datadir}/icons/crystalsvg/*/apps/xeyes.png +%{tde_datadir}/icons/crystalsvg/*/apps/xfig.png +%{tde_datadir}/icons/crystalsvg/*/apps/xload.png +%{tde_datadir}/icons/crystalsvg/*/apps/xmms.png +%{tde_datadir}/icons/crystalsvg/*/apps/xosview.png +%{tde_datadir}/icons/crystalsvg/*/apps/xv.png +%{tde_datadir}/icons/crystalsvg/*/apps/galeon.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmdrkonqi.png +%{tde_datadir}/icons/crystalsvg/*/apps/pinguin.png +%{tde_datadir}/icons/crystalsvg/*/apps/x.png +%{tde_datadir}/icons/crystalsvg/*/apps/xapp.png +%{tde_datadir}/icons/crystalsvg/*/apps/xawtv.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmopengl.png +%{tde_datadir}/icons/crystalsvg/*/apps/wmaker_apps.png +%{tde_datadir}/icons/crystalsvg/*/apps/qtella.png +%{tde_datadir}/services/searchproviders +%{tde_datadir}/services/useragentstrings/*.desktop +%{tde_datadir}/servicetypes/searchprovider.desktop +%{tde_datadir}/servicetypes/uasprovider.desktop +%exclude %{tde_datadir}/sounds/pop.wav +%{tde_datadir}/sounds/ +%{tde_datadir}/wallpapers/* + +%if "%{tde_prefix}" != "/usr" +%{tde_prefix}/etc/xdg/menus/applications-merged/kde-essential.menu +%{tde_prefix}/etc/xdg/menus/kde-information.menu +%{tde_prefix}/etc/xdg/menus/kde-screensavers.menu +%{tde_prefix}/etc/xdg/menus/kde-settings.menu +%else +%{_sysconfdir}/xdg/menus/applications-merged/kde-essential.menu +%{_sysconfdir}/xdg/menus/kde-information.menu +%{_sysconfdir}/xdg/menus/kde-screensavers.menu +%{_sysconfdir}/xdg/menus/kde-settings.menu +%endif + +%{tde_tdedocdir}/HTML/en/kcontrol/ +%exclude %{tde_tdedocdir}/HTML/en/kcontrol/kcmkonsole/ +%{tde_tdedocdir}/HTML/en/kinfocenter/ + +%post data +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%if 0%{?mdkversion} +# Mandriva-specific: we have to choose a background for current distribution variant (Free, One, Powerpack, ...) +# First, we read the "product" key in /etc/product.id +eval $(tr "," ";" /dev/null +# Then, we create a symbolic link to the corresponding background +%__ln -sf "/usr/share/mdk/backgrounds/Mandriva-${product:-Free}-1280x1024-1300.jpg" "%{tde_bg}" +%endif + +%postun data +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package kio-plugins +Summary: core I/O slaves for TDE +Group: Applications/Utilities +Requires: trinity-kdesktop = %{version}-%{release} +Requires: cyrus-sasl +Requires: psmisc +%if 0%{?with_hal} +Requires: hal >= 0.4.8 +%endif +%if 0%{?rhel} == 4 || 0%{?suse_version} +Requires: cryptsetup +%else +Requires: cryptsetup-luks +%endif + +Obsoletes: tdebase-kio-plugins < %{version}-%{release} +Provides: tdebase-kio-plugins = %{version}-%{release} + +%description kio-plugins +This package includes the base kioslaves. They include, amongst many +others, file, http, and ftp. + +It also includes the media kioslave, which handles removable devices, +and which works best with hal (and therefore udev) and pmount. Media +also extends the functionality of many other kioslaves. To use this +service, please make sure that your user is a member of the plugdev +group. + +%files kio-plugins +%defattr(-,root,root,-) +%{tde_bindir}/kio_media_mounthelper +%{tde_bindir}/ktrash +%{tde_tdelibdir}/cursorthumbnail.la +%{tde_tdelibdir}/cursorthumbnail.so +%{tde_tdelibdir}/djvuthumbnail.la +%{tde_tdelibdir}/djvuthumbnail.so +%{tde_tdelibdir}/htmlthumbnail.la +%{tde_tdelibdir}/htmlthumbnail.so +%{tde_tdelibdir}/imagethumbnail.la +%{tde_tdelibdir}/imagethumbnail.so +%{tde_tdelibdir}/kcm_cgi.la +%{tde_tdelibdir}/kcm_cgi.so +%{tde_tdelibdir}/kcm_media.la +%{tde_tdelibdir}/kcm_media.so +%{tde_tdelibdir}/kded_homedirnotify.la +%{tde_tdelibdir}/kded_homedirnotify.so +%{tde_tdelibdir}/kded_mediamanager.la +%{tde_tdelibdir}/kded_mediamanager.so +%{tde_tdelibdir}/kded_medianotifier.la +%{tde_tdelibdir}/kded_medianotifier.so +%{tde_tdelibdir}/kded_remotedirnotify.la +%{tde_tdelibdir}/kded_remotedirnotify.so +%{tde_tdelibdir}/kded_systemdirnotify.la +%{tde_tdelibdir}/kded_systemdirnotify.so +%{tde_tdelibdir}/kfile_media.la +%{tde_tdelibdir}/kfile_media.so +%{tde_tdelibdir}/kfile_trash.la +%{tde_tdelibdir}/kfile_trash.so +%{tde_tdelibdir}/kio_about.la +%{tde_tdelibdir}/kio_about.so +%{tde_tdelibdir}/kio_cgi.la +%{tde_tdelibdir}/kio_cgi.so +%{tde_tdelibdir}/kio_filter.la +%{tde_tdelibdir}/kio_filter.so +%{tde_tdelibdir}/kio_finger.la +%{tde_tdelibdir}/kio_finger.so +%{tde_tdelibdir}/kio_fish.la +%{tde_tdelibdir}/kio_fish.so +%{tde_tdelibdir}/kio_floppy.la +%{tde_tdelibdir}/kio_floppy.so +%{tde_tdelibdir}/kio_home.la +%{tde_tdelibdir}/kio_home.so +%{tde_tdelibdir}/kio_info.la +%{tde_tdelibdir}/kio_info.so +%{tde_tdelibdir}/kio_mac.la +%{tde_tdelibdir}/kio_mac.so +%{tde_tdelibdir}/kio_man.la +%{tde_tdelibdir}/kio_man.so +%{tde_tdelibdir}/kio_media.la +%{tde_tdelibdir}/kio_media.so +%{tde_tdelibdir}/kio_nfs.la +%{tde_tdelibdir}/kio_nfs.so +%{tde_tdelibdir}/kio_remote.la +%{tde_tdelibdir}/kio_remote.so +%{tde_tdelibdir}/kio_settings.la +%{tde_tdelibdir}/kio_settings.so +%{tde_tdelibdir}/kio_sftp.la +%{tde_tdelibdir}/kio_sftp.so +%{tde_tdelibdir}/kio_smb.la +%{tde_tdelibdir}/kio_smb.so +%{tde_tdelibdir}/kio_system.la +%{tde_tdelibdir}/kio_system.so +%{tde_tdelibdir}/kio_tar.la +%{tde_tdelibdir}/kio_tar.so +%{tde_tdelibdir}/kio_thumbnail.la +%{tde_tdelibdir}/kio_thumbnail.so +%{tde_tdelibdir}/kio_trash.la +%{tde_tdelibdir}/kio_trash.so +%{tde_tdelibdir}/libkmanpart.la +%{tde_tdelibdir}/libkmanpart.so +%{tde_tdelibdir}/textthumbnail.la +%{tde_tdelibdir}/textthumbnail.so +%{tde_tdeappdir}/kcmcgi.desktop +%{tde_datadir}/apps/kio_finger/kio_finger.css +%{tde_datadir}/apps/kio_finger/kio_finger.pl +%{tde_datadir}/apps/kio_info/kde-info2html +%{tde_datadir}/apps/kio_info/kde-info2html.conf +%{tde_datadir}/apps/kio_man/kio_man.css +%{tde_datadir}/apps/konqueror/dirtree/remote/smb-network.desktop +%{tde_datadir}/apps/remoteview/smb-network.desktop +%{tde_datadir}/apps/systemview/*.desktop +%{tde_datadir}/config.kcfg/mediamanagersettings.kcfg +%{tde_datadir}/mimelnk/application/x-smb-server.desktop +%{tde_datadir}/mimelnk/application/x-smb-workgroup.desktop +%{tde_datadir}/mimelnk/inode/system_directory.desktop +%{tde_datadir}/mimelnk/media/*.desktop +%{tde_datadir}/services/about.protocol +%{tde_datadir}/services/applications.protocol +%{tde_datadir}/services/ar.protocol +%{tde_datadir}/services/bzip.protocol +%{tde_datadir}/services/bzip2.protocol +%{tde_datadir}/services/cgi.protocol +%{tde_datadir}/services/cursorthumbnail.desktop +%{tde_datadir}/services/djvuthumbnail.desktop +%{tde_datadir}/services/finger.protocol +%{tde_datadir}/services/fish.protocol +%{tde_datadir}/services/floppy.protocol +%{tde_datadir}/services/gzip.protocol +%{tde_datadir}/services/home.protocol +%{tde_datadir}/services/htmlthumbnail.desktop +%{tde_datadir}/services/imagethumbnail.desktop +%{tde_datadir}/services/info.protocol +%{tde_datadir}/services/kded/homedirnotify.desktop +%{tde_datadir}/services/kded/mediamanager.desktop +%{tde_datadir}/services/kded/medianotifier.desktop +%{tde_datadir}/services/kded/remotedirnotify.desktop +%{tde_datadir}/services/kded/systemdirnotify.desktop +%{tde_datadir}/services/kfile_media.desktop +%{tde_datadir}/services/kfile_trash_system.desktop +%{tde_datadir}/services/kmanpart.desktop +%{tde_datadir}/services/mac.protocol +%{tde_datadir}/services/man.protocol +%{tde_datadir}/services/media.protocol +%{tde_datadir}/services/nfs.protocol +%{tde_datadir}/services/nxfish.protocol +%{tde_datadir}/services/programs.protocol +%{tde_datadir}/services/remote.protocol +%{tde_datadir}/services/settings.protocol +%{tde_datadir}/services/sftp.protocol +%{tde_datadir}/services/smb.protocol +%{tde_datadir}/services/system.protocol +%{tde_datadir}/services/tar.protocol +%{tde_datadir}/services/textthumbnail.desktop +%{tde_datadir}/services/thumbnail.protocol +%{tde_datadir}/services/trash.protocol +%{tde_datadir}/services/zip.protocol +%{tde_datadir}/servicetypes/thumbcreator.desktop +%{tde_datadir}/services/kfile_trash.desktop +%{tde_tdedocdir}/HTML/en/kioslave/ +%if 0%{?with_exr} +%{tde_tdelibdir}/exrthumbnail.la +%{tde_tdelibdir}/exrthumbnail.so +%{tde_datadir}/services/exrthumbnail.desktop +%endif +%if 0%{?with_hal} +%{tde_tdelibdir}/media_propsdlgplugin.la +%{tde_tdelibdir}/media_propsdlgplugin.so +%{tde_datadir}/services/media_propsdlgplugin.desktop +%endif + +%post kio-plugins +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%postun kio-plugins +update-desktop-database %{tde_appdir} 2> /dev/null || : + + +########## + +%package -n trinity-kdepasswd +Summary: password changer for TDE +Group: Applications/Utilities + +%description -n trinity-kdepasswd +This is a simple application which allows users to change their +system passwords. + +%files -n trinity-kdepasswd +%defattr(-,root,root,-) +%{tde_bindir}/kdepasswd +%{tde_tdelibdir}/kcm_useraccount.la +%{tde_tdelibdir}/kcm_useraccount.so +%{tde_tdeappdir}/kcm_useraccount.desktop +%{tde_tdeappdir}/kdepasswd.desktop +%exclude %{tde_datadir}/apps/[kt]dm/pics/users/default1.png +%exclude %{tde_datadir}/apps/[kt]dm/pics/users/default2.png +%exclude %{tde_datadir}/apps/[kt]dm/pics/users/default3.png +%exclude %{tde_datadir}/apps/[kt]dm/pics/users/root1.png +%{tde_datadir}/apps/[kt]dm/pics/users/*.png +%{tde_datadir}/config.kcfg/kcm_useraccount.kcfg +%{tde_datadir}/config.kcfg/kcm_useraccount_pass.kcfg + +%post -n trinity-kdepasswd +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%postun -n trinity-kdepasswd +update-desktop-database %{tde_appdir} 2> /dev/null || : + +########## + +%package -n trinity-tdeprint +Summary: print system for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} +Requires: psutils + +%description -n trinity-tdeprint +This package contains the TDE printing subsystem. It can use CUPS, +lpd-ng or the traditional lpd. It also includes support for fax and +pdf printing. + +Installation of smbclient will make you able to use smb shared printers. + +%files -n trinity-tdeprint +%defattr(-,root,root,-) +%{tde_bindir}/[kt]deprintfax +%{tde_bindir}/kjobviewer +%{tde_bindir}/kprinter +%{tde_tdelibdir}/kcm_printmgr.la +%{tde_tdelibdir}/kcm_printmgr.so +%{tde_tdelibdir}/kio_print.la +%{tde_tdelibdir}/kio_print.so +%{tde_tdelibdir}/kjobviewer.la +%{tde_tdelibdir}/kjobviewer.so +%{tde_tdelibdir}/kprinter.la +%{tde_tdelibdir}/kprinter.so +%{tde_tdelibdir}/lib[kt]deprint_part.la +%{tde_tdelibdir}/lib[kt]deprint_part.so +%{tde_libdir}/lib[kt]deinit_kjobviewer.la +%{tde_libdir}/lib[kt]deinit_kjobviewer.so +%{tde_libdir}/lib[kt]deinit_kprinter.la +%{tde_libdir}/lib[kt]deinit_kprinter.so +%{tde_tdeappdir}/[kt]deprintfax.desktop +%{tde_tdeappdir}/[kt]jobviewer.desktop +%{tde_tdeappdir}/printers.desktop +%{tde_datadir}/apps/[kt]deprint/ +%{tde_datadir}/apps/[kt]deprintfax/ +%{tde_datadir}/apps/[kt]jobviewer/ +%{tde_datadir}/apps/[kt]deprint_part/kdeprint_part.rc +%{tde_datadir}/icons/hicolor/*/apps/kdeprintfax.png +%{tde_datadir}/icons/hicolor/*/apps/kjobviewer.png +%{tde_datadir}/icons/hicolor/*/apps/printmgr.png +%{tde_datadir}/icons/hicolor/scalable/apps/kdeprintfax.svgz +%{tde_datadir}/icons/hicolor/scalable/apps/kjobviewer.svgz +%{tde_datadir}/icons/hicolor/scalable/apps/printmgr.svgz +%{tde_datadir}/mimelnk/print/class.desktop +%{tde_datadir}/mimelnk/print/driver.desktop +%{tde_datadir}/mimelnk/print/folder.desktop +%{tde_datadir}/mimelnk/print/jobs.desktop +%{tde_datadir}/mimelnk/print/manager.desktop +%{tde_datadir}/mimelnk/print/printer.desktop +%{tde_datadir}/mimelnk/print/printermodel.desktop +%{tde_datadir}/services/kdeprint_part.desktop +%{tde_datadir}/services/print.protocol +%{tde_datadir}/services/printdb.protocol +%{tde_tdedocdir}/HTML/en/[kt]deprint/ + +%post -n trinity-tdeprint +/sbin/ldconfig || : +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%postun -n trinity-tdeprint +/sbin/ldconfig || : +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package -n trinity-kdesktop +Summary: miscellaneous binaries and files for the TDE desktop +Group: Applications/Utilities +Requires: %{name}-bin = %{version}-%{release} +Requires: %{name}-data = %{version}-%{release} +Requires: trinity-libkonq = %{version}-%{release} +Requires: eject +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +Requires: xdg-utils +%endif + +%description -n trinity-kdesktop +This package contains miscellaneous binaries and files integral to +the TDE desktop. + +%files -n trinity-kdesktop +%defattr(-,root,root,-) +%{tde_datadir}/config/kdesktop_custom_menu1 +%{tde_datadir}/config/kdesktop_custom_menu2 +%{tde_bindir}/kcheckrunning +%{tde_bindir}/kxdglauncher +%{tde_bindir}/kdeeject +%{tde_bindir}/kdesktop +%{tde_bindir}/kdesktop_lock +%{tde_bindir}/kwebdesktop +%{tde_tdelibdir}/kdesktop.la +%{tde_tdelibdir}/kdesktop.so +%{tde_libdir}/lib[kt]deinit_kdesktop.la +%{tde_libdir}/lib[kt]deinit_kdesktop.so +%{tde_datadir}/apps/kdesktop/ +%{tde_datadir}/apps/konqueror/servicemenus/kdesktopSetAsBackground.desktop +%{tde_datadir}/autostart/kdesktop.desktop +%{tde_datadir}/config.kcfg/kdesktop.kcfg +%{tde_datadir}/config.kcfg/klaunch.kcfg +%{tde_datadir}/config.kcfg/kwebdesktop.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/error.png + +%post -n trinity-kdesktop +/sbin/ldconfig || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%postun -n trinity-kdesktop +/sbin/ldconfig || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package -n trinity-kdesktop-devel +Summary: Development files for kdesktop +Group: Development/Libraries +Requires: trinity-kdesktop = %{version}-%{release} + +%description -n trinity-kdesktop-devel +%{summary} + +%files -n trinity-kdesktop-devel +%{tde_tdeincludedir}/KBackgroundIface.h +%{tde_tdeincludedir}/KDesktopIface.h +%{tde_tdeincludedir}/KScreensaverIface.h + +########## + +%package -n trinity-tdm +Summary: X Display manager for TDE +Group: Applications/Utilities +Requires: %{name}-bin = %{version}-%{release} +Requires: %{name}-data = %{version}-%{release} +Requires: pam + +# Provides the global Xsession script (/etc/X11/xinit/Xsession or /etc/X11/Xsession) +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} == 4 +Requires: xinitrc +%endif +%if 0%{?suse_version} +Requires: xdm +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} +Requires: xorg-x11-xinit +%endif + +# Required for Fedora LiveCD +Provides: service(graphical-login) + +%description -n trinity-tdm +tdm manages a collection of X servers, which may be on the local host or +remote machines. It provides services similar to those provided by init, +getty, and login on character-based terminals: prompting for login name and +password, authenticating the user, and running a session. tdm supports XDMCP +(X Display Manager Control Protocol) and can also be used to run a chooser +process which presents the user with a menu of possible hosts that offer +XDMCP display management. + +A collection of icons to associate with individual users is included with +TDE, but as part of the kdepasswd package. + +The menu package will help to provide TDM with a list of window managers +that can be launched, if the window manager does not register with TDM +already. Most users won't need this. + +%files -n trinity-tdm +%defattr(-,root,root,-) +%{tde_tdelibdir}/kgreet_pam.la +%{tde_tdelibdir}/kgreet_pam.so +%{tde_bindir}/gen[kt]dmconf +%{tde_bindir}/[kt]dm +%{tde_bindir}/[kt]dm_config +%{tde_bindir}/[kt]dmctl +%{tde_bindir}/[kt]dm_greet +%{tde_bindir}/krootimage +%{tde_datadir}/apps/[kt]dm/pics/kdelogo.png +%{tde_datadir}/apps/[kt]dm/pics/kdelogo-crystal.png +%{tde_datadir}/apps/[kt]dm/pics/shutdown.jpg +%{tde_datadir}/apps/[kt]dm/pics/users/default1.png +%{tde_datadir}/apps/[kt]dm/pics/users/default2.png +%{tde_datadir}/apps/[kt]dm/pics/users/default3.png +%{tde_datadir}/apps/[kt]dm/pics/users/root1.png +%{tde_datadir}/apps/[kt]dm/sessions/*.desktop +%{tde_datadir}/apps/[kt]dm/themes/ +%{tde_datadir}/config/[kt]dm/ +%{tde_tdedocdir}/HTML/en/[kt]dm/ +%if 0%{?suse_version} == 0 +%{_sysconfdir}/pam.d/kdm-trinity +%{_sysconfdir}/pam.d/kdm-trinity-np +%endif + +# Distribution specific stuff +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%{_usr}/share/xsessions/tde.desktop +%endif + +# https://wiki.mageia.org/en/How_to_add_a_new_Window_Manager_or_Display_Manager +%if 0%{?mgaversion} || 0%{?mdkversion} +%{_sysconfdir}/X11/wmsession.d/45TDE +%{_datadir}/X11/dm.d/45TDE.conf +%endif + +########## + +%package -n trinity-tdm-devel +Summary: Development files for tdm +Group: Development/Libraries +Requires: trinity-tdm = %{version}-%{release} + +%description -n trinity-tdm-devel +%{summary} + +%files -n trinity-tdm-devel +%{tde_tdeincludedir}/kgreeterplugin.h + +########## + +%package -n trinity-kfind +Summary: file-find utility for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-kfind +kfind can be used to find files and directories on your +workstations. + +%files -n trinity-kfind +%defattr(-,root,root,-) +%{tde_bindir}/kfind +%{tde_tdelibdir}/libkfindpart.la +%{tde_tdelibdir}/libkfindpart.so +%{tde_tdeappdir}/Kfind.desktop +%{tde_datadir}/apps/kfindpart/ +%{tde_datadir}/icons/hicolor/*/apps/kfind.png +%{tde_datadir}/services/kfindpart.desktop +%{tde_datadir}/servicetypes/findpart.desktop +%{tde_tdedocdir}/HTML/en/kfind/ + +%post -n trinity-kfind +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%postun -n trinity-kfind +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package -n trinity-khelpcenter +Summary: help center for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} +Requires: htdig + +%description -n trinity-khelpcenter +The TDE Help Center provides documentation on how to use the KDE desktop. + +The htdig package is needed to build a searchable archive of TDE +documentation. + +%files -n trinity-khelpcenter +%defattr(-,root,root,-) +%{tde_bindir}/khc_beagle_index.pl +%{tde_bindir}/khc_beagle_search.pl +%{tde_bindir}/khc_docbookdig.pl +%{tde_bindir}/khc_htdig.pl +%{tde_bindir}/khc_htsearch.pl +%{tde_bindir}/khc_indexbuilder +%{tde_bindir}/khc_mansearch.pl +%{tde_bindir}/khelpcenter +%{tde_tdelibdir}/khelpcenter.la +%{tde_tdelibdir}/khelpcenter.so +%{tde_libdir}/lib[kt]deinit_khelpcenter.la +%{tde_libdir}/lib[kt]deinit_khelpcenter.so +%{tde_tdeappdir}/Help.desktop +%{tde_datadir}/apps/khelpcenter/ +%{tde_datadir}/config.kcfg/khelpcenter.kcfg +%{tde_datadir}/icons/hicolor/*/apps/khelpcenter.* +%{tde_datadir}/services/khelpcenter.desktop +%{tde_tdedocdir}/HTML/en/khelpcenter/ + +%post -n trinity-khelpcenter +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +%postun -n trinity-khelpcenter +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +########## + +%package -n trinity-kicker +Summary: desktop panel for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-kicker +Kicker provides the TDE panel on you desktop. It can be used as a +program launcher and can load plugins to provide additional +functionality. + +%files -n trinity-kicker +%defattr(-,root,root,-) +%{tde_bindir}/appletproxy +%{tde_bindir}/extensionproxy +%{tde_bindir}/kasbar +%{tde_bindir}/kicker +%{tde_libdir}/kconf_update_bin/kicker-3.4-reverseLayout +%{tde_tdelibdir}/appletproxy.la +%{tde_tdelibdir}/appletproxy.so +%{tde_tdelibdir}/clock_panelapplet.la +%{tde_tdelibdir}/clock_panelapplet.so +%{tde_tdelibdir}/dockbar_panelextension.la +%{tde_tdelibdir}/dockbar_panelextension.so +%{tde_tdelibdir}/extensionproxy.la +%{tde_tdelibdir}/extensionproxy.so +%{tde_tdelibdir}/kasbar_panelextension.la +%{tde_tdelibdir}/kasbar_panelextension.so +%{tde_tdelibdir}/kicker.la +%{tde_tdelibdir}/kickermenu_find.la +%{tde_tdelibdir}/kickermenu_find.so +%{tde_tdelibdir}/kickermenu_kate.so +%{tde_tdelibdir}/kickermenu_kate.la +%{tde_tdelibdir}/kickermenu_[kt]deprint.la +%{tde_tdelibdir}/kickermenu_[kt]deprint.so +%{tde_tdelibdir}/kickermenu_konqueror.la +%{tde_tdelibdir}/kickermenu_konqueror.so +%{tde_tdelibdir}/kickermenu_konsole.la +%{tde_tdelibdir}/kickermenu_konsole.so +%{tde_tdelibdir}/kickermenu_prefmenu.la +%{tde_tdelibdir}/kickermenu_prefmenu.so +%{tde_tdelibdir}/kickermenu_recentdocs.la +%{tde_tdelibdir}/kickermenu_recentdocs.so +%{tde_tdelibdir}/kickermenu_remotemenu.la +%{tde_tdelibdir}/kickermenu_remotemenu.so +%{tde_tdelibdir}/kickermenu_systemmenu.la +%{tde_tdelibdir}/kickermenu_systemmenu.so +%{tde_tdelibdir}/kicker.so +%{tde_tdelibdir}/launcher_panelapplet.la +%{tde_tdelibdir}/launcher_panelapplet.so +%{tde_tdelibdir}/lockout_panelapplet.la +%{tde_tdelibdir}/lockout_panelapplet.so +%{tde_tdelibdir}/media_panelapplet.la +%{tde_tdelibdir}/media_panelapplet.so +%{tde_tdelibdir}/menu_panelapplet.la +%{tde_tdelibdir}/menu_panelapplet.so +%{tde_tdelibdir}/minipager_panelapplet.la +%{tde_tdelibdir}/minipager_panelapplet.so +%{tde_tdelibdir}/naughty_panelapplet.la +%{tde_tdelibdir}/naughty_panelapplet.so +%{tde_tdelibdir}/run_panelapplet.la +%{tde_tdelibdir}/run_panelapplet.so +%{tde_tdelibdir}/sidebar_panelextension.la +%{tde_tdelibdir}/sidebar_panelextension.so +%{tde_tdelibdir}/systemtray_panelapplet.la +%{tde_tdelibdir}/systemtray_panelapplet.so +%{tde_tdelibdir}/taskbar_panelapplet.la +%{tde_tdelibdir}/taskbar_panelapplet.so +%{tde_tdelibdir}/taskbar_panelextension.la +%{tde_tdelibdir}/taskbar_panelextension.so +%{tde_tdelibdir}/trash_panelapplet.la +%{tde_tdelibdir}/trash_panelapplet.so +%{tde_libdir}/libkasbar.so.* +%{tde_libdir}/lib[kt]deinit_appletproxy.la +%{tde_libdir}/lib[kt]deinit_appletproxy.so +%{tde_libdir}/lib[kt]deinit_extensionproxy.la +%{tde_libdir}/lib[kt]deinit_extensionproxy.so +%{tde_libdir}/lib[kt]deinit_kicker.la +%{tde_libdir}/lib[kt]deinit_kicker.so +%{tde_libdir}/libkickermain.so.* +%{tde_libdir}/libtaskbar.so.* +%{tde_libdir}/libtaskmanager.so.* +%{tde_libdir}/libkickoffsearch_interfaces.so.* +%{tde_tdeappdir}/kcmkicker.desktop +%{tde_datadir}/applnk/.hidden/kicker_config_arrangement.desktop +%{tde_datadir}/applnk/.hidden/kicker_config_hiding.desktop +%{tde_datadir}/applnk/.hidden/kicker_config_menus.desktop +%{tde_datadir}/apps/clockapplet/pics/lcd.png +%{tde_datadir}/apps/kconf_update/kicker-3.1-properSizeSetting.pl +%{tde_datadir}/apps/kconf_update/kicker-3.5-kconfigXTize.pl +%{tde_datadir}/apps/kconf_update/kicker-3.5-taskbarEnums.pl +%{tde_datadir}/apps/kconf_update/kickerrc.upd +%{tde_datadir}/apps/kicker/ +%exclude %{tde_datadir}/apps/kicker/applets/klipper.desktop +%exclude %{tde_datadir}/apps/kicker/applets/ksysguardapplet.desktop +%{tde_datadir}/apps/naughtyapplet/pics/naughty-happy.png +%{tde_datadir}/apps/naughtyapplet/pics/naughty-sad.png +%{tde_datadir}/autostart/panel.desktop +%{tde_datadir}/config.kcfg/kickerSettings.kcfg +%{tde_datadir}/config.kcfg/launcherapplet.kcfg +%{tde_datadir}/config.kcfg/pagersettings.kcfg +%{tde_datadir}/config.kcfg/taskbar.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/systemtray.png +%{tde_datadir}/icons/crystalsvg/*/apps/taskbar.png +%{tde_datadir}/icons/crystalsvg/*/apps/kbinaryclock.png +%{tde_datadir}/icons/crystalsvg/*/apps/kdisknav.png +%{tde_datadir}/icons/crystalsvg/*/apps/kicker.png +%{tde_datadir}/icons/crystalsvg/*/apps/panel.png +%{tde_datadir}/icons/crystalsvg/*/apps/runprocesscatcher.png +%{tde_datadir}/icons/crystalsvg/*/apps/window_list.png +%{tde_datadir}/icons/crystalsvg/*/apps/kbinaryclock.svgz +%{tde_datadir}/icons/crystalsvg/*/apps/systemtray.svgz +%{tde_datadir}/servicetypes/kickoffsearchplugin.desktop +%{tde_tdedocdir}/HTML/en/kicker/ + +%post -n trinity-kicker +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +%postun -n trinity-kicker +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +########## + +%package -n trinity-kicker-devel +Summary: Development files for kicker +Group: Development/Libraries +Requires: trinity-kicker = %{version}-%{release} + +%description -n trinity-kicker-devel +%{summary} + +%files -n trinity-kicker-devel +%{tde_tdeincludedir}/kickoff-search-plugin.h +%{tde_tdeincludedir}/kickoffsearchinterface.h +%{tde_libdir}/libkasbar.la +%{tde_libdir}/libkasbar.so +%{tde_libdir}/libkickermain.la +%{tde_libdir}/libkickermain.so +%{tde_libdir}/libkickoffsearch_interfaces.la +%{tde_libdir}/libkickoffsearch_interfaces.so +%{tde_libdir}/libtaskbar.la +%{tde_libdir}/libtaskbar.so +%{tde_libdir}/libtaskmanager.la +%{tde_libdir}/libtaskmanager.so + +%post -n trinity-kicker-devel +/sbin/ldconfig || : + +%postun -n trinity-kicker-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-klipper +Summary: clipboard utility for Trinity +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-klipper +klipper provides standard clipboard functions (cut and paste, history +saving) plus additional features, like the ability to offer actions to +take dependent on the clipboard contents. For example, it can launch a +web browser if the clipboard contains a URL. + +%files -n trinity-klipper +%defattr(-,root,root,-) +%{tde_bindir}/klipper +%{tde_datadir}/config/klipperrc +%{tde_tdelibdir}/klipper.la +%{tde_tdelibdir}/klipper.so +%{tde_tdelibdir}/klipper_panelapplet.la +%{tde_tdelibdir}/klipper_panelapplet.so +%{tde_libdir}/lib[kt]deinit_klipper.la +%{tde_libdir}/lib[kt]deinit_klipper.so +%{tde_tdeappdir}/klipper.desktop +%{tde_datadir}/apps/kconf_update/klipper-1-2.pl +%{tde_datadir}/apps/kconf_update/klipper-trinity1.sh +%{tde_datadir}/apps/kconf_update/klipperrc.upd +%{tde_datadir}/apps/kconf_update/klippershortcuts.upd +%{tde_datadir}/apps/kicker/applets/klipper.desktop +%{tde_datadir}/autostart/klipper.desktop +%{tde_datadir}/icons/hicolor/*/apps/klipper.* +%{tde_tdedocdir}/HTML/en/klipper/ + +%post -n trinity-klipper +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +%postun -n trinity-klipper +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +########## + +%package -n trinity-kmenuedit +Summary: menu editor for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-kmenuedit +The TDE menu editor allows you to make customisations to the KDE menu +structure. + +%files -n trinity-kmenuedit +%defattr(-,root,root,-) +%{tde_bindir}/kcontroledit +%{tde_bindir}/kmenuedit +%{tde_tdelibdir}/kcontroledit.la +%{tde_tdelibdir}/kcontroledit.so +%{tde_tdelibdir}/kmenuedit.la +%{tde_tdelibdir}/kmenuedit.so +%{tde_libdir}/lib[kt]deinit_kcontroledit.la +%{tde_libdir}/lib[kt]deinit_kcontroledit.so +%{tde_libdir}/lib[kt]deinit_kmenuedit.la +%{tde_libdir}/lib[kt]deinit_kmenuedit.so +%{tde_tdeappdir}/kmenuedit.desktop +%{tde_datadir}/applnk/System/kmenuedit.desktop +%{tde_datadir}/apps/kcontroledit/ +%{tde_datadir}/apps/kmenuedit/ +%{tde_tdedocdir}/HTML/en/kmenuedit/ + +%post -n trinity-kmenuedit +update-desktop-database %{tde_appdir} 2> /dev/null || : +/sbin/ldconfig || : + +%postun -n trinity-kmenuedit +update-desktop-database %{tde_appdir} 2> /dev/null || : +/sbin/ldconfig || : + +########## + +%package -n trinity-konqueror +Summary: TDE's advanced file manager, web browser and document viewer +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} +Requires: trinity-kcontrol = %{version}-%{release} +Requires: %{name}-kio-plugins = %{version}-%{release} +Requires: trinity-kdesktop = %{version}-%{release} +Requires: trinity-kfind = %{version}-%{release} +Requires: trinity-libkonq = %{version}-%{release} + +%description -n trinity-konqueror +Konqueror is the file manager for the Trinity Desktop Environment. +It supports basic file management on local UNIX filesystems, +from simple cut/copy and paste operations to advanced remote +and local network file browsing. + +It is also the canvas for all the latest TDE technology, +from KIO slaves (which provide mechanisms for file access) to +component embedding via the KParts object interface, and it +is one of the most customizable applications available. + +Konqueror is an Open Source web browser with HTML4.0 compliance, +supporting Java applets, JavaScript, CSS1 and (partially) CSS2, +as well as Netscape plugins (for example, Flash or RealVideo plugins). + +It is a universal viewing application, capable of embedding +read-only viewing components in itself to view documents without +ever launching another application. + +%files -n trinity-konqueror +%defattr(-,root,root,-) +%{tde_datadir}/config/konqsidebartng.rc +%{tde_bindir}/kbookmarkmerger +%{tde_bindir}/keditbookmarks +%{tde_bindir}/kfmclient +%{tde_bindir}/konqueror +%{tde_tdelibdir}/kcm_history.la +%{tde_tdelibdir}/kcm_history.so +%{tde_tdelibdir}/kded_konqy_preloader.la +%{tde_tdelibdir}/kded_konqy_preloader.so +%{tde_tdelibdir}/keditbookmarks.la +%{tde_tdelibdir}/keditbookmarks.so +%{tde_tdelibdir}/kfmclient.la +%{tde_tdelibdir}/kfmclient.so +%{tde_tdelibdir}/konq_aboutpage.la +%{tde_tdelibdir}/konq_aboutpage.so +%{tde_tdelibdir}/konq_iconview.la +%{tde_tdelibdir}/konq_iconview.so +%{tde_tdelibdir}/konq_listview.la +%{tde_tdelibdir}/konq_listview.so +%{tde_tdelibdir}/konq_remoteencoding.la +%{tde_tdelibdir}/konq_remoteencoding.so +%{tde_tdelibdir}/konq_shellcmdplugin.la +%{tde_tdelibdir}/konq_shellcmdplugin.so +%{tde_tdelibdir}/konq_sidebar.la +%{tde_tdelibdir}/konq_sidebar.so +%{tde_tdelibdir}/konq_sidebartree_bookmarks.la +%{tde_tdelibdir}/konq_sidebartree_bookmarks.so +%{tde_tdelibdir}/konq_sidebartree_dirtree.la +%{tde_tdelibdir}/konq_sidebartree_dirtree.so +%{tde_tdelibdir}/konq_sidebartree_history.la +%{tde_tdelibdir}/konq_sidebartree_history.so +%{tde_tdelibdir}/konqsidebar_tree.la +%{tde_tdelibdir}/konqsidebar_tree.so +%{tde_tdelibdir}/konqsidebar_web.la +%{tde_tdelibdir}/konqsidebar_web.so +%{tde_tdelibdir}/konqueror.la +%{tde_tdelibdir}/konqueror.so +%{tde_tdelibdir}/libkhtmlkttsdplugin.la +%{tde_tdelibdir}/libkhtmlkttsdplugin.so +%{tde_libdir}/lib[kt]deinit_keditbookmarks.la +%{tde_libdir}/lib[kt]deinit_keditbookmarks.so +%{tde_libdir}/lib[kt]deinit_kfmclient.la +%{tde_libdir}/lib[kt]deinit_kfmclient.so +%{tde_libdir}/lib[kt]deinit_konqueror.la +%{tde_libdir}/lib[kt]deinit_konqueror.so +%{tde_libdir}/libkonqsidebarplugin.so.* +%{tde_tdeappdir}/Home.desktop +%{tde_tdeappdir}/kcmhistory.desktop +%{tde_tdeappdir}/kfmclient.desktop +%{tde_tdeappdir}/kfmclient_dir.desktop +%{tde_tdeappdir}/kfmclient_html.desktop +%{tde_tdeappdir}/kfmclient_war.desktop +%{tde_tdeappdir}/khtml_filter.desktop +%{tde_tdeappdir}/konqbrowser.desktop +%{tde_tdeappdir}/konquerorsu.desktop +%{tde_datadir}/applnk/.hidden/konqfilemgr.desktop +%{tde_datadir}/applnk/Internet/keditbookmarks.desktop +%{tde_datadir}/applnk/konqueror.desktop +%{tde_datadir}/apps/kconf_update/kfmclient_3_2.upd +%{tde_datadir}/apps/kconf_update/kfmclient_3_2_update.sh +%{tde_datadir}/apps/kconf_update/konqsidebartng.upd +%{tde_datadir}/apps/kconf_update/move_konqsidebartng_entries.sh +%{tde_datadir}/apps/keditbookmarks/keditbookmarks-genui.rc +%{tde_datadir}/apps/keditbookmarks/keditbookmarksui.rc +%{tde_datadir}/apps/khtml/kpartplugins/khtmlkttsd.desktop +%{tde_datadir}/apps/khtml/kpartplugins/khtmlkttsd.rc +%{tde_datadir}/apps/konqiconview/ +%{tde_datadir}/apps/konqlistview/ +%exclude %{tde_datadir}/apps/konqsidebartng/virtual_folders/services/fonts.desktop +%{tde_datadir}/apps/konqsidebartng/ +%{tde_datadir}/apps/konqueror/about/ +%{tde_datadir}/apps/konqueror/icons/ +%{tde_datadir}/apps/konqueror/konq-simplebrowser.rc +%{tde_datadir}/apps/konqueror/konqueror.rc +%{tde_datadir}/apps/konqueror/pics/indicator_connect.png +%{tde_datadir}/apps/konqueror/pics/indicator_empty.png +%{tde_datadir}/apps/konqueror/pics/indicator_noconnect.png +%{tde_datadir}/apps/konqueror/pics/indicator_viewactive.png +%{tde_datadir}/apps/konqueror/profiles/ +%exclude %{tde_datadir}/apps/konqueror/servicemenus/kdesktopSetAsBackground.desktop +%exclude %{tde_datadir}/apps/konqueror/servicemenus/konsolehere.desktop +%exclude %{tde_datadir}/apps/konqueror/servicemenus/installfont.desktop +%{tde_datadir}/apps/konqueror/servicemenus/*.desktop +%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase +%{tde_datadir}/apps/konqueror/tiles/*.png +%{tde_datadir}/autostart/konqy_preload.desktop +%{tde_datadir}/config.kcfg/keditbookmarks.kcfg +%{tde_datadir}/config.kcfg/konq_listview.kcfg +%{tde_datadir}/config.kcfg/konqueror.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/keditbookmarks.png +%{tde_datadir}/icons/crystalsvg/*/apps/kfm_home.svgz +%{tde_datadir}/icons/hicolor/*/apps/kfm.png +%{tde_datadir}/icons/hicolor/*/apps/konqueror.* +%{tde_datadir}/services/kded/konqy_preloader.desktop +%{tde_datadir}/services/konq_*.desktop +%{tde_datadir}/servicetypes/konqaboutpage.desktop +%{tde_tdedocdir}/HTML/en/konqueror/ + +%post -n trinity-konqueror +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : +%if 0%{?suse_version} +update-alternatives --install \ +%else +alternatives --install \ +%endif + %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop \ + media_safelyremove.desktop_konqueror \ + %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase \ + 10 || : + +%postun -n trinity-konqueror +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +%preun -n trinity-konqueror +if [ $1 -eq 0 ]; then +%if 0%{?suse_version} + update-alternatives --remove \ +%else + alternatives --remove \ +%endif + media_safelyremove.desktop_konqueror \ + %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase || : +fi + +########## + +%package -n trinity-konqueror-devel +Summary: Development files for konqueror +Group: Development/Libraries +Requires: trinity-konqueror = %{version}-%{release} + +%description -n trinity-konqueror-devel +%{summary} + +%files -n trinity-konqueror-devel +%{tde_tdeincludedir}/konqsidebarplugin.h +%{tde_tdeincludedir}/KonquerorIface.h +%{tde_libdir}/libkonqsidebarplugin.la +%{tde_libdir}/libkonqsidebarplugin.so + +%post -n trinity-konqueror-devel +/sbin/ldconfig || : + +%postun -n trinity-konqueror-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-konqueror-nsplugins +Summary: Netscape plugin support for Konqueror +Group: Applications/Utilities +Requires: trinity-konqueror = %{version}-%{release} + +%description -n trinity-konqueror-nsplugins +This package includes support for Netscape plugins in Konqueror. + +%files -n trinity-konqueror-nsplugins +%defattr(-,root,root,-) +%{tde_bindir}/nspluginscan +%{tde_bindir}/nspluginviewer +%{tde_tdelibdir}/kcm_nsplugins.la +%{tde_tdelibdir}/kcm_nsplugins.so +%{tde_tdelibdir}/libnsplugin.la +%{tde_tdelibdir}/libnsplugin.so +%{tde_tdeappdir}/khtml_plugins.desktop +%{tde_datadir}/apps/plugin/nspluginpart.rc + +%post -n trinity-konqueror-nsplugins +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%postun -n trinity-konqueror-nsplugins +update-desktop-database %{tde_appdir} 2> /dev/null || : + +########## + +%package -n trinity-konsole +Summary: X terminal emulator for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-konsole +Konsole is an X terminal emulation which provides a command-line interface +(CLI) while using the graphical K Desktop Environment. Konsole helps to +better organize user's desktop by containing multiple sessions in a single +window (a less cluttered desktop). + +Its advanced features include a simple configuration and the ability to use +multiple terminal shells in a single window + +Using Konsole, a user can open: +* Linux console sessions +* Midnight Commander file manager sessions +* Shell sessions +* Root consoles sessions + +%files -n trinity-konsole +%defattr(-,root,root,-) +%{tde_bindir}/konsole +%{tde_tdelibdir}/kcm_konsole.la +%{tde_tdelibdir}/kcm_konsole.so +%{tde_tdelibdir}/kded_kwrited.la +%{tde_tdelibdir}/kded_kwrited.so +%{tde_tdelibdir}/konsole.la +%{tde_tdelibdir}/konsole.so +%{tde_tdelibdir}/libkonsolepart.la +%{tde_tdelibdir}/libkonsolepart.so +%{tde_libdir}/lib[kt]deinit_konsole.la +%{tde_libdir}/lib[kt]deinit_konsole.so +%{tde_tdeappdir}/konsole.desktop +%{tde_tdeappdir}/konsolesu.desktop +%{tde_datadir}/applnk/.hidden/kcmkonsole.desktop +%{tde_datadir}/apps/kconf_update/konsole.upd +%{tde_datadir}/apps/kconf_update/schemaStrip.pl +%{tde_datadir}/apps/konqueror/servicemenus/konsolehere.desktop +%{tde_datadir}/apps/konsole/ +%{tde_datadir}/icons/hicolor/*/apps/konsole.* +%{tde_datadir}/mimelnk/application/x-konsole.desktop +%{tde_datadir}/services/kded/kwrited.desktop +%{tde_datadir}/services/konsolepart.desktop +%{tde_datadir}/services/konsole-script.desktop +%{tde_datadir}/services/kwrited.desktop +%{tde_datadir}/servicetypes/terminalemulator.desktop +%{tde_tdedocdir}/HTML/en/konsole/ +%{tde_tdedocdir}/HTML/en/kcontrol/kcmkonsole/ + +%post -n trinity-konsole +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +%postun -n trinity-konsole +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +########## + +%package -n trinity-kpager +Summary: desktop pager for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-kpager +This package contains TDE's desktop pager, which displays your virtual +desktops iconically in a window, along with icons of any running +applications. It is used to switch between applications or desktops. + +%files -n trinity-kpager +%defattr(-,root,root,-) +%{tde_bindir}/kpager +%{tde_tdeappdir}/kpager.desktop +%{tde_datadir}/applnk/Utilities/kpager.desktop +%{tde_datadir}/icons/hicolor/*/apps/kpager.png +%{tde_tdedocdir}/HTML/en/kpager/ + +%post -n trinity-kpager +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%postun -n trinity-kpager +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package -n trinity-kpersonalizer +Summary: installation personalizer for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-kpersonalizer +TDE Personalizer is the application that configures the TDE desktop for you. +It's a very useful wizard that allows you to quickly change the TDE desktop to +suit your own needs. When you run TDE for the first time, KPersonalizer is +automatically started. KPersonalizer can also be called later. + +%files -n trinity-kpersonalizer +%defattr(-,root,root,-) +%{tde_bindir}/kpersonalizer +%{tde_tdeappdir}/kpersonalizer.desktop +%{tde_datadir}/applnk/System/kpersonalizer.desktop +%{tde_datadir}/apps/kpersonalizer/ +%{tde_datadir}/icons/crystalsvg/*/apps/kpersonalizer.png + +%post -n trinity-kpersonalizer +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%postun -n trinity-kpersonalizer +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package -n trinity-ksmserver +Summary: session manager for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} +Requires: trinity-twin = %{version}-%{release} + +%description -n trinity-ksmserver +This package contains the KDE session manager. It is responsible for +restoring your TDE session on login. It is also needed to properly +start a KDE session. It registers KDE with X display managers, and +provides the 'starttde' command, for starting an X session with KDE +from the console. + +If you are running TDE for the first time for a certain user, +kpersonalizer is used to help with setup. If it is not present, +KDE will start, but many good defaults will not be set. + +%files -n trinity-ksmserver +%defattr(-,root,root,-) +%{tde_bindir}/ksmserver +%{tde_bindir}/start[kt]de +%{tde_tdelibdir}/ksmserver.la +%{tde_tdelibdir}/ksmserver.so +%{tde_libdir}/lib[kt]deinit_ksmserver.la +%{tde_libdir}/lib[kt]deinit_ksmserver.so +%{tde_datadir}/apps/kconf_update/ksmserver.upd +%{tde_datadir}/apps/kconf_update/move_session_config.sh +%{tde_datadir}/apps/ksmserver/pics/shutdownkonq.png + +# Remove conflicts with redhat-menus +%if "%{?tde_prefix}" != "/usr" +%{tde_bindir}/plasma-desktop +%endif + +%post -n trinity-ksmserver +/sbin/ldconfig || : + +%postun -n trinity-ksmserver +/sbin/ldconfig || : + +########## + +%package -n trinity-ksplash +Summary: the TDE splash screen +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-ksplash +This package includes the TDE Splash screen, which is seen when +a TDE session is launched. + +%files -n trinity-ksplash +%defattr(-,root,root,-) +%{tde_bindir}/ksplash +%{tde_bindir}/ksplashsimple +%{tde_tdelibdir}/kcm_ksplashthemes.la +%{tde_tdelibdir}/kcm_ksplashthemes.so +%{tde_tdelibdir}/ksplashdefault.la +%{tde_tdelibdir}/ksplashdefault.so +%{tde_tdelibdir}/ksplashunified.la +%{tde_tdelibdir}/ksplashunified.so +%{tde_tdelibdir}/ksplashredmond.la +%{tde_tdelibdir}/ksplashredmond.so +%{tde_tdelibdir}/ksplashstandard.la +%{tde_tdelibdir}/ksplashstandard.so +%{tde_libdir}/libksplashthemes.so.* +%{tde_tdeappdir}/ksplashthememgr.desktop +%{tde_datadir}/apps/ksplash +%{tde_datadir}/services/ksplashdefault.desktop +%{tde_datadir}/services/ksplash.desktop +%{tde_datadir}/services/ksplashunified.desktop +%{tde_datadir}/services/ksplashredmond.desktop +%{tde_datadir}/services/ksplashstandard.desktop +%{tde_datadir}/servicetypes/ksplashplugins.desktop +%{tde_tdedocdir}/HTML/en/ksplashml/ + +%post -n trinity-ksplash +update-desktop-database %{tde_appdir} 2> /dev/null || : +/sbin/ldconfig || : + +%postun -n trinity-ksplash +update-desktop-database %{tde_appdir} 2> /dev/null || : +/sbin/ldconfig || : + +########## + +%package -n trinity-ksplash-devel +Summary: Development files for ksplash +Group: Development/Libraries +Requires: trinity-ksplash = %{version}-%{release} + +%description -n trinity-ksplash-devel +%{summary} + +%files -n trinity-ksplash-devel +%{tde_tdeincludedir}/ksplash/* +%{tde_libdir}/libksplashthemes.la +%{tde_libdir}/libksplashthemes.so + +%post -n trinity-ksplash-devel +/sbin/ldconfig || : + +%postun -n trinity-ksplash-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-ksysguard +Summary: system guard for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} +Requires: trinity-ksysguardd = %{version}-%{release} + +%description -n trinity-ksysguard +TDE System Guard allows you to monitor various statistics about your +computer. + +%files -n trinity-ksysguard +%defattr(-,root,root,-) +%{tde_bindir}/kpm +%{tde_bindir}/ksysguard +%{tde_tdelibdir}/sysguard_panelapplet.la +%{tde_tdelibdir}/sysguard_panelapplet.so +%{tde_libdir}/libksgrd.so.* +%{tde_tdeappdir}/ksysguard.desktop +%{tde_datadir}/apps/kicker/applets/ksysguardapplet.desktop +%{tde_datadir}/apps/ksysguard/ +%{tde_datadir}/icons/crystalsvg/*/apps/ksysguard.png +%{tde_datadir}/mimelnk/application/x-ksysguard.desktop +%{tde_tdedocdir}/HTML/en/ksysguard/ + +%post -n trinity-ksysguard +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +%postun -n trinity-ksysguard +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +########## + +%package -n trinity-ksysguard-devel +Summary: Development files for ksysguard +Group: Development/Libraries +Requires: trinity-ksysguard = %{version}-%{release} + +%description -n trinity-ksysguard-devel +%{summary} + +%files -n trinity-ksysguard-devel +%{tde_tdeincludedir}/ksgrd/* +%{tde_libdir}/libksgrd.la +%{tde_libdir}/libksgrd.so + +%post -n trinity-ksysguard-devel +/sbin/ldconfig || : + +%postun -n trinity-ksysguard-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-ksysguardd +Summary: system guard daemon for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-ksysguardd +TDE System Guard Daemon is the daemon part of ksysguard. The daemon can +be installed on a remote machine to enable ksysguard on another machine +to monitor it through the daemon running there. + +%files -n trinity-ksysguardd +%defattr(-,root,root,-) +%{tde_bindir}/ksysguardd +%config(noreplace) %{_sysconfdir}/ksysguarddrc.tde + +%post -n trinity-ksysguardd +# Dirty hack to install '/etc/ksysguarddrc' alongside with KDE4 +[ -r "%{_sysconfdir}/ksysguarddrc" ] || cp -f "%{_sysconfdir}/ksysguarddrc.tde" "%{_sysconfdir}/ksysguarddrc" + +########## + +%package -n trinity-ktip +Summary: useful tips for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-ktip +ktip provides many useful tips on using KDE when you log in. + +%files -n trinity-ktip +%defattr(-,root,root,-) +%{tde_bindir}/ktip +%{tde_tdeappdir}/ktip.desktop +%{tde_datadir}/applnk/Toys/ktip.desktop +%{tde_datadir}/apps/kdewizard/pics/wizard_small.png +%{tde_datadir}/apps/kdewizard/tips/ +%{tde_datadir}/autostart/ktip.desktop +%{tde_datadir}/icons/hicolor/*/apps/ktip.* + +%post -n trinity-ktip +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%postun -n trinity-ktip +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package -n trinity-twin +Summary: the TDE window manager +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-twin +This package contains the default X window manager for KDE. + +%files -n trinity-twin +%defattr(-,root,root,-) +%{tde_bindir}/kompmgr +%{tde_bindir}/[kt]win +%{tde_bindir}/[kt]win_killer_helper +#%{tde_bindir}/[kt]win_resumer_helper +%{tde_bindir}/[kt]win_rules_dialog +%{tde_libdir}/kconf_update_bin/[kt]win_update_default_rules +%{tde_libdir}/kconf_update_bin/[kt]win_update_window_settings +%{tde_tdelibdir}/kcm_[kt]win*.la +%{tde_tdelibdir}/kcm_[kt]win*.so +%{tde_tdelibdir}/[kt]win*.la +%{tde_tdelibdir}/[kt]win*.so +%{tde_libdir}/lib[kt]decorations.so.* +%{tde_libdir}/lib[kt]deinit_[kt]win_rules_dialog.la +%{tde_libdir}/lib[kt]deinit_[kt]win_rules_dialog.so +%{tde_libdir}/lib[kt]deinit_[kt]win.la +%{tde_libdir}/lib[kt]deinit_[kt]win.so +%{tde_tdeappdir}/showdesktop.desktop +%{tde_tdeappdir}/[kt]windecoration.desktop +%{tde_tdeappdir}/[kt]winoptions.desktop +%{tde_tdeappdir}/[kt]winrules.desktop +%{tde_datadir}/applnk/.hidden/[kt]winactions.desktop +%{tde_datadir}/applnk/.hidden/[kt]winadvanced.desktop +%{tde_datadir}/applnk/.hidden/[kt]winfocus.desktop +%{tde_datadir}/applnk/.hidden/[kt]winmoving.desktop +%{tde_datadir}/applnk/.hidden/[kt]wintranslucency.desktop +%{tde_datadir}/apps/kconf_update/[kt]win3_plugin.pl +%{tde_datadir}/apps/kconf_update/[kt]win3_plugin.upd +%{tde_datadir}/apps/kconf_update/[kt]win_focus1.sh +%{tde_datadir}/apps/kconf_update/[kt]win_focus1.upd +%{tde_datadir}/apps/kconf_update/[kt]win_focus2.sh +%{tde_datadir}/apps/kconf_update/[kt]win_focus2.upd +%{tde_datadir}/apps/kconf_update/[kt]win_fsp_workarounds_1.upd +%{tde_datadir}/apps/kconf_update/[kt]winiconify.upd +%{tde_datadir}/apps/kconf_update/[kt]winsticky.upd +%{tde_datadir}/apps/kconf_update/[kt]win.upd +%{tde_datadir}/apps/kconf_update/[kt]winupdatewindowsettings.upd +%{tde_datadir}/apps/kconf_update/pluginlibFix.pl +%{tde_datadir}/apps/[kt]win/ +%{tde_datadir}/config.kcfg/[kt]win.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/[kt]win.png +%{tde_tdedocdir}/HTML/en/kompmgr/ + +%post -n trinity-twin +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +%postun -n trinity-twin +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +########## + +%package -n trinity-twin-devel +Summary: Development files for twin +Group: Development/Libraries +Requires: trinity-twin = %{version}-%{release} + +%description -n trinity-twin-devel +%{summary} + +%files -n trinity-twin-devel +%{tde_tdeincludedir}/[kt]win/ +%{tde_tdeincludedir}/kcommondecoration.h +%{tde_tdeincludedir}/kdecoration.h +%{tde_tdeincludedir}/kdecoration_p.h +%{tde_tdeincludedir}/kdecoration_plugins_p.h +%{tde_tdeincludedir}/kdecorationfactory.h +%{tde_tdeincludedir}/KWinInterface.h +%{tde_libdir}/libkdecorations.la +%{tde_libdir}/libkdecorations.so + +%post -n trinity-twin-devel +/sbin/ldconfig || : + +%postun -n trinity-twin-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libkonq +Summary: core libraries for Konqueror +Group: Environment/Libraries + +%description -n trinity-libkonq +These libraries are used by several TDE applications, most notably +Konqueror and the kdesktop package. + +%files -n trinity-libkonq +%defattr(-,root,root,-) +%{tde_tdelibdir}/kded_favicons.la +%{tde_tdelibdir}/kded_favicons.so +%{tde_tdelibdir}/konq_sound.la +%{tde_tdelibdir}/konq_sound.so +%{tde_libdir}/libkonq.so.* +%{tde_datadir}/apps/kbookmark/directory_bookmarkbar.desktop +%{tde_datadir}/apps/kconf_update/favicons.upd +%{tde_datadir}/apps/kconf_update/move_favicons.sh +%{tde_datadir}/apps/konqueror/pics/arrow_bottomleft.png +%{tde_datadir}/apps/konqueror/pics/arrow_bottomright.png +%{tde_datadir}/apps/konqueror/pics/arrow_topleft.png +%{tde_datadir}/apps/konqueror/pics/arrow_topright.png +%{tde_datadir}/apps/konqueror/pics/thumbnailfont_7x4.png +%{tde_datadir}/services/kded/favicons.desktop +%{tde_datadir}/servicetypes/konqpopupmenuplugin.desktop + +%post -n trinity-libkonq +/sbin/ldconfig || : + +%postun -n trinity-libkonq +/sbin/ldconfig || : + +########## + +%package libtqt3-integration +Summary: Integration library between TQt3 and TDE +Group: Environment/Libraries + +Obsoletes: tdebase-libtqt3-integration < %{version}-%{release} +Provides: tdebase-libtqt3-integration = %{version}-%{release} + +%description libtqt3-integration +These libraries allow you to use TDE dialogs in native TQt3 applications. + +%files libtqt3-integration +%defattr(-,root,root,-) +%{tde_tdelibdir}/plugins/integration/libqtkde.la +%{tde_tdelibdir}/plugins/integration/libqtkde.so +%{tde_tdelibdir}/plugins/integration/libqtkde.so.* +%{tde_tdelibdir}/kded_kdeintegration.la +%{tde_tdelibdir}/kded_kdeintegration.so +%{tde_datadir}/services/kded/kdeintegration.desktop + +########## + +%package -n trinity-libkonq-devel +Summary: development files for Konqueror's core libraries +Group: Development/Libraries +Requires: trinity-libkonq = %{version}-%{release} + +%description -n trinity-libkonq-devel +This package contains headers and other development files for the core +Konqueror libraries. + +%files -n trinity-libkonq-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kfileivi.h +%{tde_tdeincludedir}/kivdirectoryoverlay.h +%{tde_tdeincludedir}/knewmenu.h +%{tde_tdeincludedir}/konqbookmarkmanager.h +%{tde_tdeincludedir}/konq_*.h +%{tde_tdeincludedir}/libkonq_export.h +%{tde_libdir}/libkonq.la +%{tde_libdir}/libkonq.so + +%post -n trinity-libkonq-devel +/sbin/ldconfig || : + +%postun -n trinity-libkonq-devel +/sbin/ldconfig || : + +########## + +%if 0%{?suse_version} +%debug_package +%endif + +########## + +%prep +%setup -q -n kdebase +%__tar xfz %{SOURCE6} -C kicker/data/tiles + +%patch2 -p1 +%patch7 -p1 +%patch8 -p1 +%patch9 -p1 + +%patch10 -p1 +%patch11 -p1 +%patch12 -p1 +%if 0%{?rhel} == 4 || 0%{?suse_version} +%patch66 -p1 -b .Xsession +%endif +%if 0%{?rhel} >= 5|| 0%{?fedora} +%patch13 -p1 -b .Xsession +%endif +%patch14 -p1 +%patch15 -p1 +%patch16 -p1 + +%patch20 -p4 +%if 0%{?rhel} || 0%{?mgaversion} || 0%{?mdkversion} +%patch21 -p1 -b .man +%endif +%patch22 -p1 +%patch23 -p1 +%patch24 -p4 +%patch25 -p1 +%patch26 -p1 +%patch27 -p0 +%patch28 -p0 +%patch29 -p0 +%patch30 -p1 +%patch31 -p1 +%patch32 -p1 +%patch33 -p1 +%patch34 -p1 +%patch35 -p1 +%patch36 -p1 +%patch37 -p1 +%patch38 -p1 +%patch39 -p1 +%patch40 -p1 +%patch41 -p1 +%patch42 -p1 +%patch43 -p1 +%patch44 -p1 +%patch45 -p1 +%patch46 -p1 +%patch47 -p0 +%patch48 -p1 +%patch49 -p1 +%patch50 -p1 +%patch51 -p1 +%patch52 -p1 +%patch53 -p1 +%patch54 -p1 +%patch55 -p1 +%patch56 -p1 +%patch57 -p1 +%patch58 -p1 +%patch59 -p1 +%patch60 -p1 +%patch61 -p1 +%patch62 -p1 +%patch63 -p1 -b .tooltips +%patch64 -p1 -b .tsak +%patch65 -p1 -b .dbustsak +%patch67 -p1 -b .dbus + +%patch100 -p1 +%patch101 -p1 -b .tsak + + +%if 0%{?rhel} == 4 +%patch201 -p1 -b .libdetect +%patch202 -p1 -b .dbustqt +%patch203 -p1 -b .consolekit +%patch204 -p1 -b .composite +%patch205 -p1 -b .hal04 +%patch206 -p1 -b .rhel4 +%endif + +# Applies an optional distro-specific graphical theme +%if "%{?tde_bg}" != "" +# KDM Background +%__sed -i "kdm/kfrontend/genkdmconf.c" \ + -e 's|"Wallpaper=isadora.png\n"|"Wallpaper=%{tde_bg}\n"|' + +# TDE user default background +%__sed -i "kpersonalizer/keyecandypage.cpp" \ + -e 's|#define DEFAULT_WALLPAPER "isadora.png"|#define DEFAULT_WALLPAPER "%{tde_bg}"|' +%__sed -i "startkde" \ + -e 's|/usr/share/wallpapers/isadora.png.desktop|%{tde_bg}|' \ + -e 's|Wallpaper=isadora.png|Wallpaper=%{tde_bg}|' +%endif + +# TDE branding: removes KUbuntu references [Bug #617] +%__sed -i "kcontrol/kdm/kdm-appear.cpp" \ + -e "s|Welcome to Kubuntu |Welcome to %{tde_aboutlabel} |" +%__sed -i "konqueror/about/konq_aboutpage.cc" \ + -e "s|About Kubuntu|About %{tde_aboutlabel}|" \ + -e "s|help:/kubuntu/|%{tde_aboutpage}|" \ + -e "s|Kubuntu Documentation|%{tde_aboutlabel} Documentation|" +%__sed -i "konqueror/about/launch.html" \ + -e "s|help:/kubuntu/about-kubuntu/index.html|%{tde_aboutpage}|" +%__sed -i "kdm/config.def" \ + -e "s|Welcome to Trinity |Welcome to %{tde_aboutlabel} |" + +# TDE default directory in 'startkde' script (KDEDIR) +%__sed -i "startkde" \ + -e "s|/opt/trinity|%{tde_prefix}|g" + +# TDE default start button icon +%__sed -i "startkde" \ + -e "s|%%{tde_starticon}|%{tde_starticon}|g" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" +export LD_LIBRARY_PATH="%{tde_libdir}" + +# Avoids building against KDE3's old stuff, if installed +export KDEDIR=%{tde_prefix} + +# Shitty hack for RHEL4 ... +if [ -d /usr/X11R6 ]; then + export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH=}:/usr/X11R6/include:/usr/X11R6/%{_lib}" + export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DWITH_SASL=ON \ + -DWITH_LDAP=ON \ + -DWITH_SAMBA=ON \ + %{?with_exr:-DWITH_OPENEXR=ON} \ + %{?with_hal:-DWITH_HAL=ON} \ +%if 0%{?rhel} == 4 + -DWITH_XTEST=OFF \ + -DWITH_XSCREENSAVER=OFF \ +%else + -DWITH_XTEST=ON \ + -DWITH_XSCREENSAVER=ON \ +%endif + -DWITH_XCURSOR=ON \ + -DWITH_XFIXES=ON \ + %{?with_xrandr:-DWITH_XRANDR=ON} \ + -DWITH_XDAMAGE=ON \ + -DWITH_XEXT=ON \ + -DWITH_LIBUSB=ON \ + -DWITH_LIBRAW1394=ON \ + -DWITH_PAM=ON \ + -DWITH_XDMCP=ON \ + -DWITH_XINERAMA=ON \ + -DWITH_XCOMPOSITE=ON \ + -DWITH_XRENDER=ON \ + -DWITH_ARTS=ON \ + -DWITH_I8K=ON \ + -DBUILD_ALL=ON \ + -DKCHECKPASS_PAM_SERVICE="kcheckpass-trinity" \ +%if 0%{?suse_version} + -DKDM_PAM_SERVICE="xdm" \ + -DKSCREENSAVER_PAM_SERVICE="kcheckpass-trinity" \ +%else + -DKDM_PAM_SERVICE="kdm-trinity" \ + -DKSCREENSAVER_PAM_SERVICE="kscreensaver-trinity" \ +%endif + %{!?with_tsak:-DBUILD_TSAK=OFF} \ + .. + +%__make %{?_smp_mflags} + + +%install +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{?buildroot} -C build + + +# Under RHEL/Fedora/Suse, static 'xsessions' files go to '/usr/share/xsessions'. + +# Adds a GDM/KDM/XDM session called 'TDE' +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__install -D -m 644 \ + "%{?buildroot}%{tde_datadir}/apps/kdm/sessions/tde.desktop" \ + "%{?buildroot}%{_datadir}/xsessions/tde.desktop" + +# Force session name to be 'TDE' +%__sed -i "%{?buildroot}%{_datadir}/xsessions/tde.desktop" \ + -e "s,^Name=.*,Name=TDE," +%endif + +# Mageia/Mandriva stores its session file in different folder than RHEL/Fedora +# Generated files for TDM/KDM4 are in '/usr/share/apps/kdm/sessions' +%if 0%{?mgaversion} || 0%{?mdkversion} +%__install -d -m 755 %{?buildroot}%{_sysconfdir}/X11/wmsession.d +cat <"%{?buildroot}%{_sysconfdir}/X11/wmsession.d/45TDE" +NAME=TDE +ICON=kde-wmsession.xpm +DESC=The Trinity Desktop Environment +EXEC=%{tde_bindir}/startkde +SCRIPT: +exec %{tde_bindir}/startkde +EOF + +%__install -d -m 755 %{?buildroot}%{_datadir}/X11/dm.d +cat <"%{?buildroot}%{_datadir}/X11/dm.d/45TDE.conf" +NAME=TDM +DESCRIPTION=TDM (Trinity Display Manager) +PACKAGE=trinity-tdm +EXEC=%{tde_bindir}/kdm +FNDSESSION_EXEC="/usr/sbin/chksession -K" +EOF +%endif + +# Renames '/etc/ksysguarddrc' to avoid conflict with KDE4 'ksysguard' +%__mv -f \ + %{?buildroot}%{_sysconfdir}/ksysguarddrc \ + %{?buildroot}%{_sysconfdir}/ksysguarddrc.tde + +# TDE 3.5.12: add script "plasma-desktop" to avoid conflict with KDE4 +%if "%{?tde_prefix}" != "/usr" +%__install -m 755 "%{SOURCE1}" "%{?buildroot}%{tde_bindir}" +%endif + +# PAM configuration files +%if 0%{?suse_version} +%__install -D -m 644 "%{SOURCE4}" "%{?buildroot}%{_sysconfdir}/pam.d/kcheckpass-trinity" +%else +%__install -D -m 644 "%{SOURCE2}" "%{?buildroot}%{_sysconfdir}/pam.d/kdm-trinity" +%__install -D -m 644 "%{SOURCE3}" "%{?buildroot}%{_sysconfdir}/pam.d/kdm-trinity-np" +%__install -D -m 644 "%{SOURCE4}" "%{?buildroot}%{_sysconfdir}/pam.d/kcheckpass-trinity" +%__install -D -m 644 "%{SOURCE5}" "%{?buildroot}%{_sysconfdir}/pam.d/kscreensaver-trinity" +%endif + +# KDM configuration for RHEL/Fedora +%__sed -i "%{?buildroot}%{tde_datadir}/config/kdm/kdmrc" \ +%if 0%{?fedora} >= 16 || 0%{?suse_version} >= 1220 + -e "s/^#*MinShowUID=.*/MinShowUID=1000/" +%else + -e "s/^#*MinShowUID=.*/MinShowUID=500/" +%endif + +# Moves the XDG configuration files to TDE directory +%if "%{tde_prefix}" != "/usr" +%__mkdir_p "%{?buildroot}%{tde_prefix}/etc" +%__mv -f "%{?buildroot}%{_sysconfdir}/xdg" "%{?buildroot}%{tde_prefix}/etc" +%endif + +# Symlinks 'usb.ids' +%if 0%{?suse_version} == 0 +%__rm -f "%{?buildroot}%{tde_datadir}/apps/usb.ids" +%__ln_s -f "/usr/share/hwdata/usb.ids" "%{?buildroot}%{tde_datadir}/apps/usb.ids" +%endif + +# Makes 'media_safelyremove.desktop' an alternative +%__mv -f %{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop %{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase +%__ln_s /etc/alternatives/media_safelyremove.desktop_tdebase %{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop + + +%clean +%__rm -rf %{?buildroot} + + + + +%changelog +* Sun Aug 19 2012 Francois Andriot - 3.5.13-27 +- Merge with v3.5.13-sru branch, but still using v3.5.13 tdelibs +- See: http://git.trinitydesktop.org/cgit/tdebase/log/?h=origin/v3.5.13-sru +- Removes the "tqapp" => "app" renaming from SRU, to keep applications compatibility +- This is the final update for v3.5.13 . Next release should be 3.5.13.1 . + +* Sat Jul 14 2012 Francois Andriot - 3.5.13-26 +- Add xscreensaver support to CMake [Bug #659] [Commit #80deb529] +- Enables 'shadow' support +- Enables 'i8k' support + +* Sun Jul 08 2012 Francois Andriot - 3.5.13-25 +- Fix menu crash with disabled search field [Bug #1081] [Commit #0afb2d8a] +- Makes 'media_safelyremove.desktop' an alternative + +* Sun Jul 01 2012 Francois Andriot - 3.5.13-24 +- Renames 'tdebase' to 'trinity-tdebase' +- Update default konqueror maximum image preview size to 10MB. [Commit #03e19305] + +* Sun Jun 17 2012 Francois Andriot - 3.5.13-23 +- Renames 'trinity-kdebase' to 'tdebase' +- Split into several packages + +* Sat May 05 2012 Francois Andriot - 3.5.13-22 +- Adds panel to choose default mounting options for removable storage [Bug #986] +- Add the ability to reorder documents in kate [Commit #46a657f7] +- Add drag and drop to kate file list in manual mode [Commit #b0fa10df] +- Disable keyboard shortcuts for file location moving, as they did not work properly + and have very little practical use [Commit #9a948c1a] +- Fix KHTML smooth scrolling control center option [Bug #1001] [Commit #b45b4bd7] +- Fix fancy logout not allowing interaction with save dialogs [Bug #922] + Fix desktop wallpaper export failing when triggered by krootbacking or ksmserver and konsole or + kdesktop_lock not previously loaded [Commit #d2f8fca9] + +* Mon Apr 30 2012 Francois Andriot - 3.5.13-21 +- Commit the rest of 8d521d0b, not merged due to GIT glitch [Commit #49526413] + +* Fri Apr 27 2012 Francois Andriot - 3.5.13-20 +- Fix sftp when nonstandard port is specified in ssh config [Bug #897] +- Start minimal dcop system to support twin in tdm [Commit #66a19439] +- Update lock process to engage the lock in near real time [Commit #8d521d0b] +- Fix desktop lock failure due to race condition within signal handler between qt and xcb [Commit #67a3a8f3] +- Temporary fix for a probable race condition on some systems. [Bug #760] [Commit #d41f5217] + +* Tue Apr 24 2012 Francois Andriot - 3.5.13-19 +- Build for Fedora 17 +- Fix compilation with GCC 4.7 [Bug #958] + +* Mon Apr 23 2012 Francois Andriot - 3.5.13-18 +- Ensures that 'pagersettings.kcfg' is installed [Bug #908, Commit bd9c1479] +- Fix "Malformed URL $( kxdglauncher --getpath xdgname DOCUMENTS )" error dialog. +- Fix sftp failure on newer systems [Bug #897] + +* Sun Apr 01 2012 Francois Andriot - 3.5.13-17 +- do not show hostname in titlebar if it's FQDN of localhost [Bug #889] +- Adds option to disable desktop switch on mouse wheel cycling [Bug #908] +- Fix Keramik window decoration in KWIN [Bug #905] +- Fix device icon placement on desktop [Bug #392] +- Fix security hole in kdesktop_lock +- Allow minimal managed window interaction inside the lock process [Bug #810] +- Corrects a potential ABI compat problem +- Fix kdebase translations in desktop files - part 2 [Bug #890] +- Kate: fix focus broken when using the --use parameter [Bug #692] + +* Sat Jan 21 2012 Francois Andriot - 3.5.13-16 +- Fix KDM high CPU usage when inactive [Bug #690] +- Add keyboard hotplug (add/remove) support to tsak [Bug #587] +- Replicate LED status from virtual keyboards to physical keyboards [Bug #561] + +* Thu Jan 05 2012 Francois Andriot - 3.5.13-15 +- Add a KDM option to hide 'Menu' button on login prompt +- Fix corrupted PNG tiles [Bug #298] +- Adds 'xtest' support + +* Mon Jan 02 2012 Francois Andriot - 3.5.13-14 +- Fix Konqueror Icon Activation Effect [Bug #335] +- Restores the "Keep password" check box to the kdesu dialog box [Bug #388] +- Repair KPersonalizer settings to match system defaults [Bug #759] +- Restores the original KDE3 clock [Bug #387] +- Implement X11 event merging in krandrtray [Bug #758] +- Fix multihead screen locking [Bug #669] + +* Mon Dec 12 2011 Francois Andriot - 3.5.13-13 +- Fix variables (again) + +* Sun Dec 11 2011 Francois Andriot - 3.5.13-12 +- Fix KDEDIRS and other variables in 'startkde', that messes up translations. [Bug #741] + +* Sat Dec 10 2011 Francois Andriot - 3.5.13-11 +- Fix error message 'cannot find parent folder' on konqueror sidebar. [Bug #723] + +* Sat Dec 03 2011 Francois Andriot - 3.5.13-10 +- Removes Kubuntu branding [Bug #449] +- Re-enables 'open tab in background' konqueror feature [Bug #245] + +* Wed Nov 29 2011 Francois Andriot - 3.5.13-9 +- Fix 'kio_man' on RHEL 5 and RHEL 6 [Bug #714] +- Restores the 'number of files' and sorting widgets to the Kate configuration [Bug #244] + +* Fri Nov 18 2011 Francois Andriot - 3.5.13-8 +- Updates Kickoff menu Fix [Bugs #281, #508] +- Adds KDM gcrypt dependency + +* Sun Nov 13 2011 Francois Andriot - 3.5.13-7 +- Add distribution-specific start button icon + +* Sat Nov 12 2011 Francois Andriot - 3.5.13-6 +- Add graphical theme for RHEL 5, RHEL 6, Fedora 15, Fedora 16 +- Moves XDG files in TDE prefix to avoid conflict with distro-provided KDE + +* Fri Nov 11 2011 Francois Andriot - 3.5.13-5 +- Add "service(graphical-login)" +- Add kickoff menu fix [Bug #508] +- kdmrc: sets "MinShowUID=500" + +* Tue Nov 08 2011 Francois Andriot - 3.5.13-4 +- Fix FTBFS with dbus-tqt + +* Thu Nov 03 2011 Francois Andriot - 3.5.13-3 +- Add missing BuildRequires + +* Tue Nov 01 2011 Francois Andriot - 3.5.13-2 +- Add 'patch8' to fix LD_PRELOAD variable set by 'startkde' under x86_64 + +* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 +- Initial release for RHEL 6, RHEL 5 and Fedora 15 + +* Sat Sep 03 2011 Francois Andriot - 3.5.13-0 +- Import to GIT +- Use TDE 3.5.13, cmake, QT3.3.3.8d diff --git a/redhat/tdebase/tdebase-14.0.0.spec b/redhat/tdebase/tdebase-14.0.0.spec new file mode 100644 index 000000000..54c5f56b7 --- /dev/null +++ b/redhat/tdebase/tdebase-14.0.0.spec @@ -0,0 +1,3423 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-tdebase +Version: 14.0.0 +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} +License: GPL +Summary: Trinity Base Programs +Group: User Interface/Desktops + +Obsoletes: trinity-kdebase < %{version}-%{release} +Provides: trinity-kdebase = %{version}-%{release} +Obsoletes: trinity-kdebase-libs < %{version}-%{release} +Provides: trinity-kdebase-libs = %{version}-%{release} +Obsoletes: trinity-kdebase-extras < %{version}-%{release} +Provides: trinity-kdebase-extras = %{version}-%{release} +Obsoletes: tdebase < %{version}-%{release} +Provides: tdebase = %{version}-%{release} + + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz + +# Wrapper script to prevent Plasma launch at Trinity Startup +Source1: plasma-desktop + +# Pam configuration files for RHEL / Fedora +%if 0%{?suse_version} == 0 +Source2: pamd.kdm-trinity%{?dist} +Source3: pamd.kdm-trinity-np%{?dist} +Source4: pamd.kcheckpass-trinity%{?dist} +Source5: pamd.kscreensaver-trinity%{?dist} +%endif + +# openSUSE: configuration file for TDM +Source6: suse-displaymanagers-tdm + +# Fedora 18: use SYSTEMD for TDM startup +%if 0%{?fedora} >= 18 +Source7: tdm.service%{?dist} +%endif + +# Fedora 17: special selinux policy required +%if 0%{?fedora} == 17 || 0%{?rhel} == 6 +%define with_selinux_policy 1 +Source8: tdm%{?dist}.pp +%endif + +%if 0%{?mgaversion} >= 3 +Source9: mgabutton.svg +%endif + + +### Distribution-specific settings ### + +# Fedora 15 Theme: "Lovelock" +%if 0%{?fedora} == 15 +Requires: lovelock-backgrounds-single +%define tde_bg /usr/share/backgrounds/lovelock/default/standard/lovelock.png +%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png + +Requires: fedora-release-notes +%define tde_aboutlabel Fedora 15 +%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html +%endif + +# Fedora 16 Theme: "Verne" +%if 0%{?fedora} == 16 +Requires: verne-backgrounds-single +%define tde_bg /usr/share/backgrounds/verne/default/standard/verne.png +%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png + +Requires: fedora-release-notes +%define tde_aboutlabel Fedora 16 +%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html +%endif + +# Fedora 17 Theme: "Beefy Miracle" +%if 0%{?fedora} == 17 +Requires: beefy-miracle-backgrounds-single +%define tde_bg /usr/share/backgrounds/beefy-miracle/default/standard/beefy-miracle.png +%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png + +Requires: fedora-release-notes +%define tde_aboutlabel Fedora 17 +%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html +%endif + +# Fedora 18 Theme: "Spherical Cow" +%if 0%{?fedora} == 18 +Requires: spherical-cow-backgrounds-single +%define tde_bg /usr/share/backgrounds/spherical-cow/default/standard/spherical-cow.png +Requires: fedora-logos +%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png + +Requires: fedora-release-notes +%define tde_aboutlabel Fedora 18 +%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html +%endif + +# RHEL 4 Theme +%if 0%{?rhel} == 4 +Requires: desktop-backgrounds-basic +%define tde_bg /usr/share/backgrounds/images/default.png +Requires: redhat-logos +%define tde_starticon /usr/share/pixmaps/redhat/rpmlogo-64.xpm + +Requires: indexhtml +%define tde_aboutlabel Enterprise Linux 4 +%define tde_aboutpage /usr/share/doc/HTML/index.html +%endif + +# RHEL 5 Theme +%if 0%{?rhel} == 5 +Requires: desktop-backgrounds-basic +%define tde_bg /usr/share/backgrounds/images/default.jpg +%define tde_starticon /usr/share/pixmaps/redhat-starthere.png + +Requires: indexhtml +%define tde_aboutlabel Enterprise Linux 5 +%define tde_aboutpage /usr/share/doc/HTML/index.html +%endif + +# RHEL 6 Theme +%if 0%{?rhel} == 6 +Requires: redhat-logos +%define tde_bg /usr/share/backgrounds/default.png +%define tde_starticon /usr/share/icons/hicolor/96x96/apps/system-logo-icon.png + +Requires: redhat-indexhtml +%define tde_aboutlabel Enterprise Linux 6 +%define tde_aboutpage /usr/share/doc/HTML/index.html +%endif + +# Mageia 2 Theme +%if 0%{?mgaversion} == 2 +Requires: mageia-theme-Default +%define tde_bg /usr/share/mga/backgrounds/default.jpg +%define tde_starticon /usr/share/icons/hicolor/scalable/apps/mageia-menu.svg + +Requires: indexhtml +%define tde_aboutlabel Mageia 2 +%define tde_aboutpage /usr/share/mga/about/index.html +%endif + +# Mageia 3 Theme +%if 0%{?mgaversion} == 3 +Requires: mageia-theme-Default +%define tde_bg /usr/share/mga/backgrounds/default.jpg +%define tde_starticon %{tde_datadir}/oxygen/scalable/mgabutton.svg + +Requires: indexhtml +%define tde_aboutlabel Mageia 3 +%define tde_aboutpage /usr/share/mga/about/index.html +%endif + +# Mandriva 2011 Theme: "rosa" +%if "%{distribution}" == "Mandriva Linux" && "%{?mdkversion}" == "201100" +Requires: mandriva-theme +%define tde_bg /usr/share/mdk/backgrounds/default.jpg +%define tde_starticon /usr/share/icons/mandriva.png + +Requires: indexhtml +%define tde_aboutlabel Mandriva 2011 +%define tde_aboutpage /usr/share/mdk/about/index.html +%endif + +# PCLINUXOS 2012 +%if "%{?pclinuxos}" == "2012" +Requires: trinity-wallpaper-theme-default +%define tde_bg %{tde_datadir}/wallpapers/Pulse2012/contents/images/1600x1200.jpg +Requires: desktop-common-data +%define tde_starticon /usr/share/icons/pclinuxos.png + +Requires: indexhtml +%define tde_aboutlabel PCLinuxOS 2012 +%define tde_aboutpage /usr/share/mdk/about/index.html +%endif + +# PCLINUXOS 2013 +%if "%{?pclinuxos}" == "2013" +Requires: trinity-wallpaper-theme-default +%if "%{_lib}" == "lib64" +%define tde_bg %{tde_datadir}/wallpapers/pclinuxos64.jpg +%else +%define tde_bg %{tde_datadir}/wallpapers/pclinuxos32.jpg +%endif +Requires: desktop-common-data +%define tde_starticon /usr/share/icons/pclinuxos.png + +Requires: indexhtml +%define tde_aboutlabel PCLinuxOS 2013 +%define tde_aboutpage /usr/share/mdk/about/index.html +%endif + +# OpenSuse 11.4 Theme +%if "%{?suse_version}" == "1140" +Requires: hicolor-icon-theme-branding +%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg + +Requires: opensuse-manuals_en +%define tde_aboutlabel OpenSuse 11.4 +%define tde_aboutpage /usr/share/doc/manual/opensuse-manuals_en/manual/book.opensuse.startup.html +%endif + +# OpenSuse 12.2 Theme +%if "%{?suse_version}" == "1220" +Requires: wallpaper-branding +%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg +Requires: hicolor-icon-theme-branding +%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg + +Requires: opensuse-manuals_en +%define tde_aboutlabel OpenSuse 12.2 +%define tde_aboutpage /usr/share/doc/manual/opensuse-manuals_en/book.opensuse.startup.html +%endif + +# OpenSuse 12.3 Theme +%if "%{?suse_version}" == "1230" +Requires: wallpaper-branding +%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg +Requires: hicolor-icon-theme-branding +%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg + +Requires: opensuse-manuals_en +%define tde_aboutlabel OpenSuse 12.3 +%define tde_aboutpage /usr/share/doc/manual/opensuse-manuals_en/book.opensuse.startup.html +%endif + +BuildRequires: cmake >= 2.8 +BuildRequires: trinity-tqt3-devel >= %{version} +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: gcc-c++ +BuildRequires: make +BuildRequires: openssl-devel +BuildRequires: audiofile-devel +BuildRequires: alsa-lib-devel +BuildRequires: libraw1394-devel +BuildRequires: libvorbis-devel +BuildRequires: glib2-devel +BuildRequires: pcre-devel + +# LIBUSB support +BuildRequires: pam-devel +%if 0%{?mageia} || 0%{?mandriva} || 0%{?pclinuxos} +BuildRequires: %{_lib}usb1.0-devel +BuildRequires: %{_lib}usb-compat0.1-devel +%else +BuildRequires: libusb-devel +%endif + +# ESOUND support +%if 0%{?rhel} || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} +%define with_esound 1 +BuildRequires: esound-devel +%endif + +# OPENLDAP support +%if 0%{?suse_version} +BuildRequires: openldap2-devel +%else +BuildRequires: openldap-devel +%endif + +# SENSORS support +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} +BuildRequires: lm_sensors-devel +%endif +%if 0%{?suse_version} +BuildRequires: libsensors4-devel +%endif + +# TSAK support (requires libudev-devel) +# On RHEL5, udev is built statically, so TSAK cannot build. +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version} +%define with_tsak 1 +BuildRequires: libudev-devel +%endif + +# XRANDR support +# On RHEL5, xrandr library is too old. +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version} +%define with_xrandr 1 +%endif + +# XTEST support +# On RHEL4, xtest library is too old. +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} +%define with_xtest 1 +%endif + +# OPENEXR support +# Disabled on RHEL4 +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} +%define with_exr 1 +BuildRequires: OpenEXR-devel +%endif + +# XSCREENSAVER support +# Disabled on RHEL4 +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} +%define with_xscreensaver 1 +%if 0%{?rhel} == 5 +BuildRequires: xorg-x11-proto-devel +BuildRequires: gnome-screensaver +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel +%endif +%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} >= 1220 +BuildRequires: libXScrnSaver-devel +%endif +%if 0%{?suse_version} == 1140 +BuildRequires: xscreensaver +%endif +%endif + +# AVAHI support +# Disabled on RHEL4 and RHEL5 +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version} +BuildRequires: trinity-avahi-tqt-devel +Requires: trinity-avahi-tqt +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}avahi-client-devel +Requires: %{_lib}avahi-client3 +%else +BuildRequires: avahi-devel +Requires: avahi +%endif +%endif + +# NAS support +# (what is nas btw ?) +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: nas-devel +%endif + +# DBUS support +# TQT bindings not available for RHEL4 +%if 0%{?rhel} == 4 +# Dbus bindings were rebuilt with Qt support +BuildRequires: dbus-devel >= 0.22-12.EL.9p1 +Requires: dbus-qt >= 0.22-12.EL.9p1 +%else +BuildRequires: trinity-dbus-tqt-devel >= %{version} +Requires: trinity-dbus-tqt >= %{version} +%endif + +%if 0%{?fedora} >= 17 +BuildRequires: perl-Digest-MD5 +%endif + +# JACK support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}jack-devel +%endif +%if 0%{?fedora} || 0%{?rhel} >= 5 +BuildRequires: jack-audio-connection-kit-devel +%endif + +# LIBART support +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} || 0%{?fedora} || 0%{?rhel} >= 5 +%define with_libart 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}art_lgpl-devel +%endif +%if 0%{?suse_version} || 0%{?fedora} || 0%{?rhel} +BuildRequires: libart_lgpl-devel +%endif +%endif + +# SAMBA support +%if 0%{?rhel} == 4 +BuildRequires: samba-common +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} +BuildRequires: libsmbclient-devel +%endif + +# IMAKE +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} >= 1220 +BuildRequires: imake +%endif + +# X11 stuff ... +%if 0%{?rhel} == 4 +BuildRequires: xorg-x11-devel +%endif + +%if 0%{?suse_version} == 1140 +BuildRequires: xorg-x11-libxkbfile-devel +BuildRequires: xorg-x11-libfontenc-devel +%endif + +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} >= 1220 +BuildRequires: libxkbfile-devel +BuildRequires: libfontenc-devel +%endif + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel +BuildRequires: %{_lib}xdamage-devel +BuildRequires: %{_lib}xdmcp%{?mgaversion:6}-devel +BuildRequires: %{_lib}xtst%{?mgaversion:6}-devel +BuildRequires: x11-font-util +BuildRequires: x11-proto-devel +%endif + +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 +BuildRequires: libXcomposite-devel +BuildRequires: libXdamage-devel +BuildRequires: libXdmcp-devel +BuildRequires: libXtst-devel +BuildRequires: xorg-x11-proto-devel +%endif + +%if 0%{?rhel} >= 5 || 0%{?fedora} +BuildRequires: xorg-x11-font-utils +%endif + +%if 0%{?suse_version} >= 1220 +BuildRequires: font-util +BuildRequires: bdftopcf +%endif + +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: drakconf +%endif + +# tdebase is a metapackage that installs all sub-packages +Requires: %{name}-runtime-data-common = %{version}-%{release} +Requires: %{name}-data = %{version}-%{release} +Requires: %{name}-bin = %{version}-%{release} +Requires: %{name}-tdeio-plugins = %{version}-%{release} +Requires: %{name}-tdeio-pim-plugins = %{version}-%{release} +Requires: trinity-kappfinder = %{version}-%{release} +Requires: trinity-kate = %{version}-%{release} +Requires: trinity-kwrite = %{version}-%{release} +Requires: trinity-kcontrol = %{version}-%{release} +Requires: trinity-kdepasswd = %{version}-%{release} +Requires: trinity-tdeprint = %{version}-%{release} +Requires: trinity-kdesktop = %{version}-%{release} +Requires: trinity-tdm = %{version}-%{release} +Requires: trinity-kfind = %{version}-%{release} +Requires: trinity-khelpcenter = %{version}-%{release} +Requires: trinity-kicker = %{version}-%{release} +Requires: trinity-klipper = %{version}-%{release} +Requires: trinity-kmenuedit = %{version}-%{release} +Requires: trinity-konqueror = %{version}-%{release} +Requires: trinity-konqueror-nsplugins = %{version}-%{release} +Requires: trinity-konsole = %{version}-%{release} +Requires: trinity-kpager = %{version}-%{release} +Requires: trinity-kpersonalizer = %{version}-%{release} +Requires: trinity-ksmserver = %{version}-%{release} +Requires: trinity-ksplash = %{version}-%{release} +Requires: trinity-ksysguard = %{version}-%{release} +Requires: trinity-ksysguardd = %{version}-%{release} +Requires: trinity-ktip = %{version}-%{release} +Requires: trinity-twin = %{version}-%{release} +Requires: trinity-libkonq = %{version}-%{release} +Requires: %{name}-libtqt3-integration = %{version}-%{release} +Requires: %{name}-tdeio-smb-plugin = %{version}-%{release} + +Requires: trinity-tqtinterface >= %{version} +Requires: trinity-arts >= %{version} +Requires: trinity-tdelibs >= %{version} +Requires: trinity-tqt3 >= %{version} +Requires: openssl + + +# RHEL 6 Configuration files are provided in separate packages +%if 0%{?rhel} || 0%{?fedora} +%if "%{?tde_prefix}" == "/usr" +Requires: kde-settings-kdm +%endif +Requires: redhat-menus +%endif + +%if 0%{?suse_version} +Requires: desktop-data-openSUSE +%endif + +%description +TDE (the Trinity Desktop Environment) is a powerful Open Source graphical +desktop environment for Unix workstations. It combines ease of use, +contemporary functionality, and outstanding graphical design with the +technological superiority of the Unix operating system. + +This metapackage includes the nucleus of TDE, namely the minimal package +set necessary to run TDE as a desktop environment. This includes the +window manager, taskbar, control center, a text editor, file manager, +web browser, X terminal emulator, and many other programs and components. + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING COPYING-DOCS README README.pam + +########## + +%package devel +Summary: %{summary} - Development files +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: trinity-tdelibs-devel + +Requires: %{name}-bin-devel = %{version}-%{release} +Requires: trinity-kate-devel = %{version}-%{release} +Requires: trinity-kcontrol-devel = %{version}-%{release} +Requires: trinity-kdesktop-devel = %{version}-%{release} +Requires: trinity-kicker-devel = %{version}-%{release} +Requires: trinity-konqueror-devel = %{version}-%{release} +Requires: trinity-ksplash-devel = %{version}-%{release} +Requires: trinity-ksysguard-devel = %{version}-%{release} +Requires: trinity-libkonq-devel = %{version}-%{release} +Requires: trinity-tdm-devel = %{version}-%{release} +Requires: trinity-twin-devel = %{version}-%{release} + +Provides: trinity-kdebase-devel = %{version}-%{release} +Obsoletes: trinity-kdebase-devel < %{version}-%{release} +Provides: tdebase-devel = %{version}-%{release} +Obsoletes: tdebase-devel < %{version}-%{release} + +Obsoletes: trinity-kdebase-cmake < %{version}-%{release} +Obsoletes: tdebase-cmake < %{version}-%{release} + +%description devel +This is a meta-package that installs all tdebase development packages. + +Header files for developing applications using %{name}. +Install tdebase-devel if you want to develop or compile Konqueror, +Kate plugins or KWin styles. + +%files devel +%defattr(-,root,root,-) +%{tde_datadir}/cmake/*.cmake + +########## + +%package tdeio-pim-plugins +Summary: PIM TDEIOslaves from %{name} +Group: Environment/Libraries + +Provides: trinity-kdebase-pim-ioslaves = %{version}-%{release} +Obsoletes: trinity-kdebase-pim-ioslaves < %{version}-%{release} +Provides: tdebase-kio-pim-plugins = %{version}-%{release} +Obsoletes: tdebase-kio-pim-plugins < %{version}-%{release} +Provides: trinity-tdebase-kio-pim-plugins = %{version}-%{release} +Obsoletes: trinity-tdebase-kio-pim-plugins < %{version}-%{release} + +%description tdeio-pim-plugins +Protocol handlers (TDEIOslaves) for personal information management, including: + * tdeio_ldap + * tdeio_nntp + * tdeio_pop3 + * tdeio_smtp + +%files tdeio-pim-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/tdeio_ldap.la +%{tde_tdelibdir}/tdeio_ldap.so +%{tde_tdelibdir}/tdeio_nntp.la +%{tde_tdelibdir}/tdeio_nntp.so +%{tde_tdelibdir}/tdeio_pop3.la +%{tde_tdelibdir}/tdeio_pop3.so +%{tde_tdelibdir}/tdeio_smtp.la +%{tde_tdelibdir}/tdeio_smtp.so +%{tde_datadir}/services/ldap.protocol +%{tde_datadir}/services/ldaps.protocol +%{tde_datadir}/services/nntp.protocol +%{tde_datadir}/services/nntps.protocol +%{tde_datadir}/services/pop3.protocol +%{tde_datadir}/services/pop3s.protocol +%{tde_datadir}/services/smtp.protocol +%{tde_datadir}/services/smtps.protocol + +########## + +%package runtime-data-common +Summary: Shared common files for Trinity and KDE4 +Group: Environment/Libraries + +Provides: tdebase-runtime-data-common = %{version}-%{release} +Obsoletes: tdebase-runtime-data-common < %{version}-%{release} + +%description runtime-data-common +Shared common files for both Trinity and KDE4 +Such as the desktop right-click-"Create New" list + +%files runtime-data-common +%defattr(-,root,root,-) +%{tde_datadir}/autostart/khotkeys.desktop +%{tde_datadir}/desktop-directories/* +%{tde_datadir}/icons/hicolor/*/apps/kxkb.png +%{tde_datadir}/icons/hicolor/*/apps/knetattach.* +%{tde_datadir}/icons/hicolor/*/apps/khotkeys.png +%{tde_datadir}/icons/hicolor/*/apps/kmenuedit.png +%{tde_datadir}/icons/hicolor/*/apps/ksplash.png +%{tde_datadir}/locale/en_US/entry.desktop +%{tde_datadir}/locale/l10n/*.desktop +%{tde_datadir}/locale/l10n/*/entry.desktop +%{tde_datadir}/locale/l10n/*/flag.png +%{tde_datadir}/sounds/pop.wav +%{tde_datadir}/templates/ + +%post runtime-data-common +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%postun runtime-data-common +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package -n trinity-kappfinder +Summary: non-TDE application finder for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-kappfinder +kappfinder searches your workstation for many common applications and +creates menu entries for them. + +%files -n trinity-kappfinder +%defattr(-,root,root,-) +%{tde_bindir}/kappfinder +%{tde_tdeappdir}/kappfinder.desktop +%{tde_datadir}/applnk/System/kappfinder.desktop +%{tde_datadir}/apps/kappfinder +%{tde_datadir}/icons/hicolor/*/apps/kappfinder.png + +%post -n trinity-kappfinder +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%postun -n trinity-kappfinder +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database %{tde_appdir} 2> /dev/null || : + +########## + +%package -n trinity-libkateinterfaces +Summary: Common libraries used by kwrite and kate +Group: Environment/Libraries + +%description -n trinity-libkateinterfaces +%{summary} + +%files -n trinity-libkateinterfaces +%defattr(-,root,root,-) +%{tde_libdir}/libkateinterfaces.so.* + +%post -n trinity-libkateinterfaces +/sbin/ldconfig || : + +%postun -n trinity-libkateinterfaces +/sbin/ldconfig || : + +########## + +%package -n trinity-kate +Summary: advanced text editor for TDE +Group: Applications/Text +Requires: %{name}-data = %{version}-%{release} +Requires: trinity-kwrite = %{version}-%{release} +Requires: trinity-libkateinterfaces = %{version}-%{release} + +%description -n trinity-kate +Kate is a multi document editor, based on a rewritten version of the kwrite +editing widget of TDE. + +It is a multi-view editor that lets you view several instances of the same +document with all instances being synced, or view more files at the same +time for easy reference or simultaneous editing. The terminal emulation +and sidebar are docked windows that can be plugged out of the main window, +or replaced therein according to your preference. + +Some random features: +* Editing of big files +* Extensible syntax highlighting +* Folding +* Dynamic word wrap +* Selectable encoding +* Filter command +* Global grep dialog + +%files -n trinity-kate +%defattr(-,root,root,-) +%{tde_bindir}/kate +%{tde_tdelibdir}/kate.la +%{tde_tdelibdir}/kate.so +%{tde_libdir}/libkateutils.so.* +%{tde_libdir}/lib[kt]deinit_kate.la +%{tde_libdir}/lib[kt]deinit_kate.so +%{tde_tdeappdir}/kate.desktop +%{tde_datadir}/apps/kate/ +%{tde_datadir}/apps/tdeconf_update/kate-2.4.upd +%{_sysconfdir}/trinity/katerc +%{tde_datadir}/icons/hicolor/*/apps/kate.png +%{tde_datadir}/icons/hicolor/*/apps/kate2.svgz +%{tde_datadir}/servicetypes/kateplugin.desktop +%{tde_tdedocdir}/HTML/en/kate/ + +%post -n trinity-kate +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database %{tde_appdir} 2> /dev/null || : +/sbin/ldconfig || : + +%postun -n trinity-kate +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database %{tde_appdir} 2> /dev/null || : +/sbin/ldconfig || : + +########## + +%package -n trinity-kate-devel +Summary: Development files for kate +Group: Development/Libraries +Requires: trinity-kate = %{version}-%{release} + +%description -n trinity-kate-devel +%{summary} + +%files -n trinity-kate-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kate/ +%{tde_libdir}/libkateutils.so +%{tde_libdir}/libkateutils.la +%{tde_libdir}/libkateinterfaces.so +%{tde_libdir}/libkateinterfaces.la + +%post -n trinity-kate-devel +/sbin/ldconfig || : + +%postun -n trinity-kate-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-kwrite +Summary: advanced text editor for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} +Requires: trinity-libkateinterfaces = %{version}-%{release} + +%description -n trinity-kwrite +Kwrite is a text editor for TDE. + +%files -n trinity-kwrite +%defattr(-,root,root,-) +%{tde_bindir}/kwrite +%{tde_tdelibdir}/kwrite.la +%{tde_tdelibdir}/kwrite.so +%{tde_libdir}/lib[kt]deinit_kwrite.la +%{tde_libdir}/lib[kt]deinit_kwrite.so +%{tde_tdeappdir}/kwrite.desktop +%{tde_datadir}/apps/kwrite/kwriteui.rc +%{tde_datadir}/icons/hicolor/*/apps/kwrite.png +%{tde_datadir}/icons/hicolor/*/apps/kwrite2.svgz +%{tde_tdedocdir}/HTML/en/kwrite/ + + +%post -n trinity-kwrite +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%postun -n trinity-kwrite +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database %{tde_appdir} 2> /dev/null || : + +########## + +%package -n trinity-kcontrol +Summary: control center for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +# Requires 'usb.ids' +Requires: usbutils +%if 0%{?suse_version} == 0 +Requires: hwdata +%endif + +%description -n trinity-kcontrol +The TDE Control Center provides you with a centralized and convenient +way to configure all of your TDE settings. + +It is made up of multiple modules. Each module is a separate application, +but the control center organizes all of these programs into a convenient +location. + +In combination with udev KControl supports the advanced +configuration of Logitech mice, though the user must be a member of the +plugdev group. + +%files -n trinity-kcontrol +%defattr(-,root,root,-) +%{tde_bindir}/kaccess +%{tde_bindir}/kcontrol +%{tde_bindir}/kdeinstallktheme +%{tde_bindir}/keditfiletype +%{tde_bindir}/tdefontinst +%{tde_bindir}/tdefontview +%{tde_bindir}/kinfocenter +%{tde_bindir}/klocaldomainurifilterhelper +%{tde_bindir}/krdb +%{tde_tdelibdir}/fontthumbnail.la +%{tde_tdelibdir}/fontthumbnail.so +%{tde_tdelibdir}/kaccess.la +%{tde_tdelibdir}/kaccess.so +%{tde_tdelibdir}/kcm_access.la +%{tde_tdelibdir}/kcm_access.so +%{tde_tdelibdir}/kcm_arts.la +%{tde_tdelibdir}/kcm_arts.so +%{tde_tdelibdir}/kcm_background.la +%{tde_tdelibdir}/kcm_background.so +%{tde_tdelibdir}/kcm_bell.la +%{tde_tdelibdir}/kcm_bell.so +%{tde_tdelibdir}/kcm_clock.la +%{tde_tdelibdir}/kcm_clock.so +%{tde_tdelibdir}/kcm_colors.la +%{tde_tdelibdir}/kcm_colors.so +%{tde_tdelibdir}/kcm_componentchooser.la +%{tde_tdelibdir}/kcm_componentchooser.so +%{tde_tdelibdir}/kcm_crypto.la +%{tde_tdelibdir}/kcm_crypto.so +%{tde_tdelibdir}/kcm_css.la +%{tde_tdelibdir}/kcm_css.so +%{tde_tdelibdir}/kcm_display.la +%{tde_tdelibdir}/kcm_display.so +%{tde_tdelibdir}/kcm_energy.la +%{tde_tdelibdir}/kcm_energy.so +%{tde_tdelibdir}/kcm_filetypes.la +%{tde_tdelibdir}/kcm_filetypes.so +%{tde_tdelibdir}/kcm_fontinst.la +%{tde_tdelibdir}/kcm_fontinst.so +%{tde_tdelibdir}/kcm_fonts.la +%{tde_tdelibdir}/kcm_fonts.so +%{tde_tdelibdir}/kcm_hwmanager.la +%{tde_tdelibdir}/kcm_hwmanager.so +%{tde_tdelibdir}/kcm_icons.la +%{tde_tdelibdir}/kcm_icons.so +%{tde_tdelibdir}/kcm_info.la +%{tde_tdelibdir}/kcm_info.so +%{tde_tdelibdir}/kcm_input.la +%{tde_tdelibdir}/kcm_input.so +%{tde_tdelibdir}/kcm_ioslaveinfo.la +%{tde_tdelibdir}/kcm_ioslaveinfo.so +%{tde_tdelibdir}/kcm_joystick.la +%{tde_tdelibdir}/kcm_joystick.so +%{tde_tdelibdir}/kcm_kded.la +%{tde_tdelibdir}/kcm_kded.so +%{tde_tdelibdir}/kcm_[kt]dm.la +%{tde_tdelibdir}/kcm_[kt]dm.so +%{tde_tdelibdir}/kcm_tdednssd.so +%{tde_tdelibdir}/kcm_tdednssd.la +%{tde_tdelibdir}/kcm_keys.la +%{tde_tdelibdir}/kcm_keys.so +%{tde_tdelibdir}/kcm_kicker.la +%{tde_tdelibdir}/kcm_kicker.so +%{tde_tdelibdir}/kcm_tdeio.la +%{tde_tdelibdir}/kcm_tdeio.so +%{tde_tdelibdir}/kcm_knotify.la +%{tde_tdelibdir}/kcm_knotify.so +%{tde_tdelibdir}/kcm_konqhtml.la +%{tde_tdelibdir}/kcm_konqhtml.so +%{tde_tdelibdir}/kcm_konq.la +%{tde_tdelibdir}/kcm_konq.so +%{tde_tdelibdir}/kcm_kthememanager.la +%{tde_tdelibdir}/kcm_kthememanager.so +%{tde_tdelibdir}/kcm_kurifilt.la +%{tde_tdelibdir}/kcm_kurifilt.so +%{tde_tdelibdir}/kcm_launch.la +%{tde_tdelibdir}/kcm_launch.so +%{tde_tdelibdir}/kcm_locale.la +%{tde_tdelibdir}/kcm_locale.so +%{tde_tdelibdir}/kcm_nic.la +%{tde_tdelibdir}/kcm_nic.so +%{tde_tdelibdir}/kcm_performance.la +%{tde_tdelibdir}/kcm_performance.so +%{tde_tdelibdir}/kcm_privacy.la +%{tde_tdelibdir}/kcm_privacy.so +%{tde_tdelibdir}/kcm_screensaver.la +%{tde_tdelibdir}/kcm_screensaver.so +%{tde_tdelibdir}/kcm_smserver.la +%{tde_tdelibdir}/kcm_smserver.so +%{tde_tdelibdir}/kcm_spellchecking.la +%{tde_tdelibdir}/kcm_spellchecking.so +%{tde_tdelibdir}/kcm_style.la +%{tde_tdelibdir}/kcm_style.so +%{tde_tdelibdir}/kcm_taskbar.la +%{tde_tdelibdir}/kcm_taskbar.so +%{tde_tdelibdir}/kcm_usb.la +%{tde_tdelibdir}/kcm_usb.so +%{tde_tdelibdir}/kcm_view1394.la +%{tde_tdelibdir}/kcm_view1394.so +%{tde_tdelibdir}/kcm_xinerama.la +%{tde_tdelibdir}/kcm_xinerama.so +%{tde_tdelibdir}/kcontrol.la +%{tde_tdelibdir}/kcontrol.so +%{tde_tdelibdir}/tdefile_font.la +%{tde_tdelibdir}/tdefile_font.so +%{tde_tdelibdir}/tdeio_fonts.la +%{tde_tdelibdir}/tdeio_fonts.so +%{tde_tdelibdir}/kstyle_keramik_config.la +%{tde_tdelibdir}/kstyle_keramik_config.so +%{tde_tdelibdir}/libtdefontviewpart.la +%{tde_tdelibdir}/libtdefontviewpart.so +%{tde_tdelibdir}/libtdeshorturifilter.la +%{tde_tdelibdir}/libtdeshorturifilter.so +%{tde_tdelibdir}/libkuriikwsfilter.la +%{tde_tdelibdir}/libkuriikwsfilter.so +%{tde_tdelibdir}/libkurisearchfilter.la +%{tde_tdelibdir}/libkurisearchfilter.so +%{tde_tdelibdir}/liblocaldomainurifilter.la +%{tde_tdelibdir}/liblocaldomainurifilter.so +%{tde_libdir}/lib[kt]deinit_kaccess.la +%{tde_libdir}/lib[kt]deinit_kaccess.so +%{tde_libdir}/lib[kt]deinit_kcontrol.la +%{tde_libdir}/lib[kt]deinit_kcontrol.so +%{tde_libdir}/libtdefontinst.so.* +%{tde_tdeappdir}/arts.desktop +%{tde_tdeappdir}/background.desktop +%{tde_tdeappdir}/bell.desktop +%{tde_tdeappdir}/cache.desktop +%{tde_tdeappdir}/cdinfo.desktop +%{tde_tdeappdir}/clock.desktop +%{tde_tdeappdir}/colors.desktop +%{tde_tdeappdir}/componentchooser.desktop +%{tde_tdeappdir}/cookies.desktop +%{tde_tdeappdir}/crypto.desktop +%{tde_tdeappdir}/desktopbehavior.desktop +%{tde_tdeappdir}/desktop.desktop +%{tde_tdeappdir}/desktoppath.desktop +%{tde_tdeappdir}/devices.desktop +%{tde_tdeappdir}/display.desktop +%{tde_tdeappdir}/dma.desktop +%{tde_tdeappdir}/ebrowsing.desktop +%{tde_tdeappdir}/filebrowser.desktop +%{tde_tdeappdir}/filetypes.desktop +%{tde_tdeappdir}/fonts.desktop +%{tde_tdeappdir}/hwmanager.desktop +%{tde_tdeappdir}/icons.desktop +%{tde_tdeappdir}/installktheme.desktop +%{tde_tdeappdir}/interrupts.desktop +%{tde_tdeappdir}/ioports.desktop +%{tde_tdeappdir}/ioslaveinfo.desktop +%{tde_tdeappdir}/joystick.desktop +%{tde_tdeappdir}/kcm_tdednssd.desktop +%{tde_tdeappdir}/kcmaccess.desktop +%{tde_tdeappdir}/kcmcss.desktop +%{tde_tdeappdir}/kcmfontinst.desktop +%{tde_tdeappdir}/kcmkded.desktop +%{tde_tdeappdir}/kcmlaunch.desktop +%{tde_tdeappdir}/kcmnotify.desktop +%{tde_tdeappdir}/kcmperformance.desktop +%{tde_tdeappdir}/kcmsmserver.desktop +%{tde_tdeappdir}/kcmtaskbar.desktop +%{tde_tdeappdir}/kcmusb.desktop +%{tde_tdeappdir}/kcmview1394.desktop +%{tde_tdeappdir}/KControl.desktop +%{tde_tdeappdir}/[kt]dm.desktop +%{tde_tdeappdir}/keys.desktop +%{tde_tdeappdir}/tdefontview.desktop +%{tde_tdeappdir}/tdehtml_behavior.desktop +%{tde_tdeappdir}/tdehtml_fonts.desktop +%{tde_tdeappdir}/tdehtml_java_js.desktop +%{tde_tdeappdir}/kinfocenter.desktop +%{tde_tdeappdir}/kthememanager.desktop +%{tde_tdeappdir}/lanbrowser.desktop +%{tde_tdeappdir}/language.desktop +%{tde_tdeappdir}/media.desktop +%{tde_tdeappdir}/memory.desktop +%{tde_tdeappdir}/mouse.desktop +%{tde_tdeappdir}/netpref.desktop +%{tde_tdeappdir}/nic.desktop +%{tde_tdeappdir}/opengl.desktop +%{tde_tdeappdir}/panel_appearance.desktop +%{tde_tdeappdir}/panel.desktop +%{tde_tdeappdir}/partitions.desktop +%{tde_tdeappdir}/pci.desktop +%{tde_tdeappdir}/privacy.desktop +%{tde_tdeappdir}/processor.desktop +%{tde_tdeappdir}/proxy.desktop +%{tde_tdeappdir}/screensaver.desktop +%{tde_tdeappdir}/scsi.desktop +%{tde_tdeappdir}/smbstatus.desktop +%{tde_tdeappdir}/sound.desktop +%{tde_tdeappdir}/spellchecking.desktop +%{tde_tdeappdir}/style.desktop +%{tde_tdeappdir}/useragent.desktop +%{tde_tdeappdir}/xserver.desktop +%{tde_datadir}/applnk/.hidden/energy.desktop +%{tde_datadir}/applnk/.hidden/fileappearance.desktop +%{tde_datadir}/applnk/.hidden/filebehavior.desktop +%{tde_datadir}/applnk/.hidden/filepreviews.desktop +%{tde_datadir}/applnk/.hidden/kcmkonqyperformance.desktop +%{tde_datadir}/applnk/.hidden/kicker_config_appearance.desktop +%{tde_datadir}/applnk/.hidden/kicker_config.desktop +%{tde_datadir}/applnk/.hidden/smb.desktop +%{tde_datadir}/applnk/.hidden/xinerama.desktop +%{tde_datadir}/applnk/Settings/LookNFeel/ +%{tde_datadir}/applnk/Settings/WebBrowsing/tdehtml_appearance.desktop +%{tde_datadir}/applnk/Settings/WebBrowsing/nsplugin.desktop +%{tde_datadir}/applnk/Settings/WebBrowsing/smb.desktop +%{tde_datadir}/apps/kcm_componentchooser/kcm_browser.desktop +%{tde_datadir}/apps/kcm_componentchooser/kcm_kemail.desktop +%{tde_datadir}/apps/kcm_componentchooser/kcm_terminal.desktop +%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/fonts.desktop +%{tde_datadir}/apps/konqueror/servicemenus/installfont.desktop +%{tde_datadir}/mimelnk/application/x-ktheme.desktop +%{tde_datadir}/mimelnk/fonts/folder.desktop +%{tde_datadir}/mimelnk/fonts/package.desktop +%{tde_datadir}/mimelnk/fonts/system-folder.desktop +%{tde_datadir}/services/fonts.protocol +%{tde_datadir}/services/fontthumbnail.desktop +%{tde_datadir}/services/kaccess.desktop +%{tde_datadir}/services/tdefile_font.desktop +%{tde_datadir}/services/tdefontviewpart.desktop +%{tde_datadir}/services/tdeshorturifilter.desktop +%{tde_datadir}/services/kuriikwsfilter.desktop +%{tde_datadir}/services/kurisearchfilter.desktop +%{tde_datadir}/services/localdomainurifilter.desktop + +%{tde_datadir}/apps/usb.ids +%{tde_datadir}/apps/kcmview1394/oui.db + +# The following features are not compiled under RHEL 5 and older +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} +%{tde_bindir}/tderandrtray +%{tde_tdelibdir}/kcm_displayconfig.la +%{tde_tdelibdir}/kcm_displayconfig.so +%{tde_tdelibdir}/kcm_iccconfig.la +%{tde_tdelibdir}/kcm_iccconfig.so +%{tde_tdelibdir}/kcm_randr.la +%{tde_tdelibdir}/kcm_randr.so +%{tde_tdeappdir}/displayconfig.desktop +%{tde_tdeappdir}/iccconfig.desktop +%{tde_tdeappdir}/tderandrtray.desktop +%{tde_datadir}/applnk/.hidden/randr.desktop +%{tde_datadir}/autostart/tderandrtray-autostart.desktop +%endif + +%post -n trinity-kcontrol +/sbin/ldconfig || : +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%postun -n trinity-kcontrol +/sbin/ldconfig || : +update-desktop-database %{tde_appdir} 2> /dev/null || : + +########## + +%package -n trinity-kcontrol-devel +Summary: Development files for kcontrol +Group: Development/Libraries +Requires: trinity-kcontrol = %{version}-%{release} + +%description -n trinity-kcontrol-devel +%{summary} + +%files -n trinity-kcontrol-devel +%defattr(-,root,root,-) +%{tde_libdir}/libtdefontinst.la +%{tde_libdir}/libtdefontinst.so + +%post -n trinity-kcontrol-devel +/sbin/ldconfig || : + +%postun -n trinity-kcontrol-devel +/sbin/ldconfig || : + +########## + +%package bin +Summary: core binaries for the TDE base module +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} +Requires: pam + +Provides: tdebase-bin = %{version}-%{release} +Obsoletes: tdebase-bin < %{version}-%{release} + +%description bin +This package contains miscellaneous programs needed by other +TDE applications, particularly those in the TDE base module. + +%files bin +%defattr(-,root,root,-) +%{tde_bindir}/krootbacking +#%{tde_bindir}/tdeinit_phase1 +%if 0%{?with_tsak} +%attr(4511,root,root) %{tde_bindir}/[kt]dmtsak +%{tde_bindir}/tsak +%endif +%{tde_bindir}/kdebugdialog +%{tde_bindir}/kreadconfig +%{tde_bindir}/kwriteconfig +%{tde_bindir}/kstart +%{_sysconfdir}/trinity/kxkb_groups +%{tde_bindir}/drkonqi +%{tde_bindir}/crashtest +%{tde_bindir}/kapplymousetheme +%{tde_bindir}/kblankscrn.kss +%attr(4755,root,root) %{tde_bindir}/kcheckpass +%{tde_bindir}/kcminit +%{tde_bindir}/kcminit_startup +%{tde_bindir}/kdcop +%{tde_bindir}/[kt]desu +%attr(0755,root,root) %{tde_bindir}/[kt]desud +%{tde_bindir}/kdialog +%{tde_bindir}/khotkeys +%{tde_bindir}/knetattach +%{tde_bindir}/krandom.kss +%{tde_bindir}/ksystraycmd +%{tde_bindir}/kxkb +%{tde_libdir}/tdeconf_update_bin/khotkeys_update +%{tde_tdelibdir}/kcminit.la +%{tde_tdelibdir}/kcminit.so +%{tde_tdelibdir}/kcminit_startup.la +%{tde_tdelibdir}/kcminit_startup.so +%{tde_tdelibdir}/kcm_keyboard.la +%{tde_tdelibdir}/kcm_keyboard.so +%{tde_tdelibdir}/kcm_khotkeys_init.la +%{tde_tdelibdir}/kcm_khotkeys_init.so +%{tde_tdelibdir}/kcm_khotkeys.la +%{tde_tdelibdir}/kcm_khotkeys.so +%{tde_tdelibdir}/kded_khotkeys.la +%{tde_tdelibdir}/kded_khotkeys.so +%{tde_tdelibdir}/kgreet_classic.la +%{tde_tdelibdir}/kgreet_classic.so +%{tde_tdelibdir}/kgreet_winbind.la +%{tde_tdelibdir}/kgreet_winbind.so +%{tde_tdelibdir}/khotkeys.la +%{tde_tdelibdir}/khotkeys.so +%{tde_tdelibdir}/khotkeys_arts.la +%{tde_tdelibdir}/khotkeys_arts.so +%{tde_tdelibdir}/kxkb.la +%{tde_tdelibdir}/kxkb.so +%{tde_libdir}/lib[kt]deinit_kcminit.la +%{tde_libdir}/lib[kt]deinit_kcminit.so +%{tde_libdir}/lib[kt]deinit_kcminit_startup.la +%{tde_libdir}/lib[kt]deinit_kcminit_startup.so +%{tde_libdir}/lib[kt]deinit_khotkeys.la +%{tde_libdir}/lib[kt]deinit_khotkeys.so +%{tde_libdir}/lib[kt]deinit_kxkb.la +%{tde_libdir}/lib[kt]deinit_kxkb.so +%{tde_libdir}/libkhotkeys_shared.so.* +%{tde_tdeappdir}/keyboard.desktop +%{tde_tdeappdir}/keyboard_layout.desktop +%{tde_tdeappdir}/khotkeys.desktop +%{tde_tdeappdir}/knetattach.desktop +%{tde_datadir}/applnk/System/ScreenSavers/ +%{tde_datadir}/apps/drkonqi/ +%{tde_datadir}/apps/tdeconf_update/khotkeys_32b1_update.upd +%{tde_datadir}/apps/tdeconf_update/khotkeys_printscreen.upd +%{tde_datadir}/apps/tdeconf_update/konqueror_gestures_trinity21_update.upd +%{tde_datadir}/apps/kdcop/kdcopui.rc +%{tde_datadir}/apps/khotkeys/ +%{tde_datadir}/services/kded/khotkeys.desktop +%{tde_datadir}/services/kxkb.desktop +%if 0%{?suse_version} == 0 +%{_sysconfdir}/pam.d/kcheckpass-trinity +%{_sysconfdir}/pam.d/tdescreensaver-trinity +%endif +%{tde_tdedocdir}/HTML/en/kdcop/ +%{tde_tdedocdir}/HTML/en/kdebugdialog// +%{tde_tdedocdir}/HTML/en/[kt]desu/ +%{tde_tdedocdir}/HTML/en/knetattach/ +%{tde_tdedocdir}/HTML/en/kxkb/ + +%post bin +/sbin/ldconfig || : +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%postun bin +/sbin/ldconfig || : +update-desktop-database %{tde_appdir} 2> /dev/null || : + +########## + +%package bin-devel +Summary: Development files for core binaries for the TDE base module +Group: Development/Libraries +Requires: %{name}-bin = %{version}-%{release} + +Obsoletes: tdebase-bin-devel < %{version}-%{release} +Provides: tdebase-bin-devel = %{version}-%{release} + +%description bin-devel +%{summary} + +%files bin-devel +%defattr(-,root,root,-) +%{tde_libdir}/libkhotkeys_shared.la +%{tde_libdir}/libkhotkeys_shared.so + +%post bin-devel +/sbin/ldconfig || : + +%postun bin-devel +/sbin/ldconfig || : + +########## + +%package data +Summary: shared data files for the TDE base module +Group: Environment/Libraries +Requires: %{name}-runtime-data-common = %{version}-%{release} + +Obsoletes: tdebase-data < %{version}-%{release} +Provides: tdebase-data = %{version}-%{release} + +%description data +This package contains the architecture-independent shared data files +needed for a basic TDE desktop installation. + +%files data +%defattr(-,root,root,-) +%{_sysconfdir}/trinity/tdeshorturifilterrc +%{tde_datadir}/applnk/.hidden/battery.desktop +%{tde_datadir}/applnk/.hidden/bwarning.desktop +%{tde_datadir}/applnk/.hidden/cwarning.desktop +%{tde_datadir}/applnk/.hidden/.directory +%{tde_datadir}/applnk/.hidden/email.desktop +%{tde_datadir}/applnk/.hidden/kcmkonq.desktop +%{tde_datadir}/applnk/.hidden/kcmkxmlrpcd.desktop +%{tde_datadir}/applnk/.hidden/konqhtml.desktop +%{tde_datadir}/applnk/.hidden/passwords.desktop +%{tde_datadir}/applnk/.hidden/power.desktop +%{tde_datadir}/applnk/.hidden/socks.desktop +%{tde_datadir}/applnk/.hidden/userinfo.desktop +%{tde_datadir}/applnk/.hidden/virtualdesktops.desktop +%{tde_datadir}/apps/kaccess/eventsrc +%{tde_datadir}/apps/kcmcss/template.css +%{tde_datadir}/apps/kcminput/ +%{tde_datadir}/apps/kcmkeys/ +%{tde_datadir}/apps/kcmlocale/pics/background.png +%{tde_datadir}/apps/tdeconf_update/convertShortcuts.pl +%{tde_datadir}/apps/tdeconf_update/tdeaccel.upd +%{tde_datadir}/apps/tdeconf_update/kcmdisplayrc.upd +%{tde_datadir}/apps/tdeconf_update/kuriikwsfilter.upd +%{tde_datadir}/apps/tdeconf_update/mouse_cursor_theme.upd +%{tde_datadir}/apps/tdeconf_update/socks.upd +%{tde_datadir}/apps/kcontrol/ +%{tde_datadir}/apps/tdedisplay/ +%{tde_datadir}/apps/tdefontview/ +%{tde_datadir}/apps/kinfocenter/kinfocenterui.rc +%{tde_datadir}/apps/kthememanager/themes/* +%{tde_datadir}/icons/crystalsvg/*/apps/access.png +%{tde_datadir}/icons/crystalsvg/*/apps/acroread.png +%{tde_datadir}/icons/crystalsvg/*/apps/applixware.png +%{tde_datadir}/icons/crystalsvg/*/apps/arts.png +%{tde_datadir}/icons/crystalsvg/*/apps/background.png +%{tde_datadir}/icons/crystalsvg/*/apps/bell.png +%{tde_datadir}/icons/crystalsvg/*/apps/cache.png +%{tde_datadir}/icons/crystalsvg/*/apps/clanbomber.png +%{tde_datadir}/icons/crystalsvg/*/apps/clock.png +%{tde_datadir}/icons/crystalsvg/*/apps/colors.png +%{tde_datadir}/icons/crystalsvg/*/apps/date.png +%{tde_datadir}/icons/crystalsvg/*/apps/email.png +%{tde_datadir}/icons/crystalsvg/*/apps/energy.png +%{tde_datadir}/icons/crystalsvg/*/apps/energy_star.png +%{tde_datadir}/icons/crystalsvg/*/apps/filetypes.png +%{tde_datadir}/icons/crystalsvg/*/apps/fonts.png +%{tde_datadir}/icons/crystalsvg/*/apps/gimp.png +%{tde_datadir}/icons/crystalsvg/*/apps/help_index.png +%{tde_datadir}/icons/crystalsvg/*/apps/hwinfo.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmdevices.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmdf.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmkwm.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmmemory.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmpartitions.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmpci.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcontrol.png +%{tde_datadir}/icons/crystalsvg/*/apps/[kt]dmconfig.png +%{tde_datadir}/icons/crystalsvg/*/apps/key_bindings.png +%{tde_datadir}/icons/crystalsvg/*/apps/kfm_home.png +%{tde_datadir}/icons/crystalsvg/*/apps/tdescreensaver.png +%{tde_datadir}/icons/crystalsvg/*/apps/kthememgr.png +%{tde_datadir}/icons/crystalsvg/*/apps/licq.png +%{tde_datadir}/icons/crystalsvg/*/apps/linuxconf.png +%{tde_datadir}/icons/crystalsvg/*/apps/locale.png +%{tde_datadir}/icons/crystalsvg/*/apps/looknfeel.png +%{tde_datadir}/icons/crystalsvg/*/apps/multimedia.png +%{tde_datadir}/icons/crystalsvg/*/apps/netscape.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_applications.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_development.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_favourite.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_games.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_games_kids.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_multimedia.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_network.png +%{tde_datadir}/icons/crystalsvg/*/apps/package.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_settings.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_toys.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_utilities.png +%{tde_datadir}/icons/crystalsvg/*/apps/penguin.png +%{tde_datadir}/icons/crystalsvg/*/apps/personal.png +%{tde_datadir}/icons/crystalsvg/*/apps/phppg.png +%{tde_datadir}/icons/crystalsvg/*/apps/proxy.png +%{tde_datadir}/icons/crystalsvg/*/apps/pysol.png +%{tde_datadir}/icons/crystalsvg/*/apps/randr.png +%{tde_datadir}/icons/crystalsvg/*/apps/samba.png +%{tde_datadir}/icons/crystalsvg/*/apps/staroffice.png +%{tde_datadir}/icons/crystalsvg/*/apps/stylesheet.png +%{tde_datadir}/icons/crystalsvg/*/apps/terminal.png +%{tde_datadir}/icons/crystalsvg/*/apps/tux.png +%{tde_datadir}/icons/crystalsvg/*/apps/wp.png +%{tde_datadir}/icons/crystalsvg/*/apps/xclock.png +%{tde_datadir}/icons/crystalsvg/*/apps/xfmail.png +%{tde_datadir}/icons/crystalsvg/*/apps/xmag.png +%{tde_datadir}/icons/crystalsvg/*/apps/xpaint.png +%{tde_datadir}/icons/crystalsvg/scalable/apps/access.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/acroread.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/aim.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/aktion.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/antivirus.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/applixware.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/arts.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/background.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/bell.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/browser.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/cache.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/camera.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/clanbomber.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/clock.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/colors.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/core.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/date.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/display.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/download_manager.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/email.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/energy.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/error.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/fifteenpieces.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/filetypes.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/fonts.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/galeon.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/gnome_apps.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/hardware.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/hwinfo.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/ieee1394.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/kcmdevices.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/kcmkwm.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/kcmx.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/locale.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/my_mac.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/netscape.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/openoffice.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/package_development.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/package_games_kids.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/package_toys.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/penguin.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/personal.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/quicktime.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/realplayer.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/samba.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/shell.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/staroffice.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/stylesheet.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/terminal.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/tux.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/wine.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/x.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/xapp.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/xcalc.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/xchat.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/xclock.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/xeyes.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/xpaint.svgz +%{tde_datadir}/icons/crystalsvg/*/devices/laptop.png +%{tde_datadir}/icons/crystalsvg/*/devices/laptop.svgz +%{tde_datadir}/icons/crystalsvg/*/actions/newfont.png +%{tde_datadir}/icons/crystalsvg/*/apps/abiword.png +%{tde_datadir}/icons/crystalsvg/*/apps/agent.png +%{tde_datadir}/icons/crystalsvg/*/apps/alevt.png +%{tde_datadir}/icons/crystalsvg/*/apps/assistant.png +%{tde_datadir}/icons/crystalsvg/*/apps/blender.png +%{tde_datadir}/icons/crystalsvg/*/apps/bluefish.png +%{tde_datadir}/icons/crystalsvg/*/apps/cookie.png +%{tde_datadir}/icons/crystalsvg/*/apps/designer.png +%{tde_datadir}/icons/crystalsvg/*/apps/dia.png +%{tde_datadir}/icons/crystalsvg/*/apps/dlgedit.png +%{tde_datadir}/icons/crystalsvg/*/apps/eclipse.png +%{tde_datadir}/icons/crystalsvg/*/apps/edu_languages.png +%{tde_datadir}/icons/crystalsvg/*/apps/edu_mathematics.png +%{tde_datadir}/icons/crystalsvg/*/apps/edu_miscellaneous.png +%{tde_datadir}/icons/crystalsvg/*/apps/edu_science.png +%{tde_datadir}/icons/crystalsvg/*/apps/emacs.png +%{tde_datadir}/icons/crystalsvg/*/apps/enhanced_browsing.png +%{tde_datadir}/icons/crystalsvg/*/apps/evolution.png +%{tde_datadir}/icons/crystalsvg/*/apps/fifteenpieces.png +%{tde_datadir}/icons/crystalsvg/*/apps/gabber.png +%{tde_datadir}/icons/crystalsvg/*/apps/gaim.png +%{tde_datadir}/icons/crystalsvg/*/apps/gnome_apps.png +%{tde_datadir}/icons/crystalsvg/*/apps/gnomemeeting.png +%{tde_datadir}/icons/crystalsvg/*/apps/gnucash.png +%{tde_datadir}/icons/crystalsvg/*/apps/gnumeric.png +%{tde_datadir}/icons/crystalsvg/*/apps/gv.png +%{tde_datadir}/icons/crystalsvg/*/apps/gvim.png +%{tde_datadir}/icons/crystalsvg/*/apps/icons.png +%{tde_datadir}/icons/crystalsvg/*/apps/iconthemes.png +%{tde_datadir}/icons/crystalsvg/*/apps/ieee1394.png +%{tde_datadir}/icons/crystalsvg/*/apps/input_devices_settings.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmkicker.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmmidi.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmprocessor.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmscsi.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmsound.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmsystem.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmx.png +%{tde_datadir}/icons/crystalsvg/*/apps/keyboard.png +%{tde_datadir}/icons/crystalsvg/*/apps/keyboard_layout.png +%{tde_datadir}/icons/crystalsvg/*/apps/knotify.png +%{tde_datadir}/icons/crystalsvg/*/apps/kvirc.png +%{tde_datadir}/icons/crystalsvg/*/apps/linguist.png +%{tde_datadir}/icons/crystalsvg/*/apps/lyx.png +%{tde_datadir}/icons/crystalsvg/*/apps/mac.png +%{tde_datadir}/icons/crystalsvg/*/apps/mathematica.png +%{tde_datadir}/icons/crystalsvg/*/apps/nedit.png +%{tde_datadir}/icons/crystalsvg/*/apps/opera.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_application.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_editors.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_edutainment.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_games_arcade.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_games_board.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_games_card.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_games_strategy.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_graphics.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_system.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_wordprocessing.png +%{tde_datadir}/icons/crystalsvg/*/apps/pan.png +%{tde_datadir}/icons/crystalsvg/*/apps/panel_settings.png +%{tde_datadir}/icons/crystalsvg/*/apps/plan.png +%{tde_datadir}/icons/crystalsvg/*/apps/planner.png +%{tde_datadir}/icons/crystalsvg/*/apps/pybliographic.png +%{tde_datadir}/icons/crystalsvg/*/apps/realplayer.png +%{tde_datadir}/icons/crystalsvg/*/apps/remote.png +%{tde_datadir}/icons/crystalsvg/*/apps/scribus.png +%{tde_datadir}/icons/crystalsvg/*/apps/sodipodi.png +%{tde_datadir}/icons/crystalsvg/*/apps/style.png +%{tde_datadir}/icons/crystalsvg/*/apps/usb.png +%{tde_datadir}/icons/crystalsvg/*/apps/vnc.png +%{tde_datadir}/icons/crystalsvg/*/apps/wabi.png +%{tde_datadir}/icons/crystalsvg/*/apps/wine.png +%{tde_datadir}/icons/crystalsvg/*/apps/xcalc.png +%{tde_datadir}/icons/crystalsvg/*/apps/xchat.png +%{tde_datadir}/icons/crystalsvg/*/apps/xclipboard.png +%{tde_datadir}/icons/crystalsvg/*/apps/xconsole.png +%{tde_datadir}/icons/crystalsvg/*/apps/xedit.png +%{tde_datadir}/icons/crystalsvg/*/apps/xemacs.png +%{tde_datadir}/icons/crystalsvg/*/apps/xeyes.png +%{tde_datadir}/icons/crystalsvg/*/apps/xfig.png +%{tde_datadir}/icons/crystalsvg/*/apps/xload.png +%{tde_datadir}/icons/crystalsvg/*/apps/xmms.png +%{tde_datadir}/icons/crystalsvg/*/apps/xosview.png +%{tde_datadir}/icons/crystalsvg/*/apps/xv.png +%{tde_datadir}/icons/crystalsvg/*/apps/galeon.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmdrkonqi.png +%{tde_datadir}/icons/crystalsvg/*/apps/pinguin.png +%{tde_datadir}/icons/crystalsvg/*/apps/x.png +%{tde_datadir}/icons/crystalsvg/*/apps/xapp.png +%{tde_datadir}/icons/crystalsvg/*/apps/xawtv.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmopengl.png +%{tde_datadir}/icons/crystalsvg/*/apps/wmaker_apps.png +%{tde_datadir}/icons/crystalsvg/*/apps/qtella.png +%{tde_datadir}/services/searchproviders +%{tde_datadir}/services/useragentstrings/*.desktop +%{tde_datadir}/servicetypes/searchprovider.desktop +%{tde_datadir}/servicetypes/uasprovider.desktop +%exclude %{tde_datadir}/sounds/pop.wav +%{tde_datadir}/sounds/ +%{tde_datadir}/wallpapers/* + +%if "%{tde_prefix}" != "/usr" +%{tde_prefix}/etc/xdg/menus/applications-merged/tde-essential.menu +%{tde_prefix}/etc/xdg/menus/tde-information.menu +%{tde_prefix}/etc/xdg/menus/tde-screensavers.menu +%{tde_prefix}/etc/xdg/menus/tde-settings.menu +%else +%{_sysconfdir}/xdg/menus/applications-merged/tde-essential.menu +%{_sysconfdir}/xdg/menus/tde-information.menu +%{_sysconfdir}/xdg/menus/tde-screensavers.menu +%{_sysconfdir}/xdg/menus/tde-settings.menu +%endif + +%{tde_tdedocdir}/HTML/en/kcontrol/ +%exclude %{tde_tdedocdir}/HTML/en/kcontrol/kcmkonsole/ +%{tde_tdedocdir}/HTML/en/kinfocenter/ + +%post data +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%if "%{distribution}" == "Mandriva Linux" +# Mandriva-specific: we have to choose a background for current distribution variant (Free, One, Powerpack, ...) +# First, we read the "product" key in /etc/product.id +eval $(tr "," ";" /dev/null +# Then, we create a symbolic link to the corresponding background +if [ -r "%{_datadir}/mdk/backgrounds/Mandriva-${product:-Free}-1280x1024-1300.jpg" "%{tde_bg}" ]; then + %__ln -sf "%{_datadir}/mdk/backgrounds/Mandriva-${product:-Free}-1280x1024-1300.jpg" "%{tde_bg}" +fi +%endif + +%if "%{distribution}" == "Mageia" +if [ ! -r "%{tde_bg}" ] && [ -r "%{_datadir}/mga/backgrounds/Mageia-Default-1920x1440.png" ]; then + %__ln -sf "%{_datadir}/mga/backgrounds/Mageia-Default-1920x1440.png" "%{tde_bg}" +fi +%endif + +%postun data +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package tdeio-plugins +Summary: core I/O slaves for TDE +Group: Applications/Utilities +Requires: trinity-kdesktop = %{version}-%{release} +Requires: cyrus-sasl +Requires: psmisc +%if 0%{?rhel} == 4 || 0%{?suse_version} +Requires: cryptsetup +%else +Requires: cryptsetup-luks +%endif + +Obsoletes: tdebase-kio-plugins < %{version}-%{release} +Provides: tdebase-kio-plugins = %{version}-%{release} +Obsoletes: trinity-tdebase-kio-plugins < %{version}-%{release} +Provides: trinity-tdebase-kio-plugins = %{version}-%{release} + +%description tdeio-plugins +This package includes the base tdeioslaves. They include, amongst many +others, file, http, and ftp. + +It also includes the media tdeioslave, which handles removable devices, +and which works best with udev, udisks and pmount. Media +also extends the functionality of many other tdeioslaves. To use this +service, please make sure that your user is a member of the plugdev +group. + +%files tdeio-plugins +%defattr(-,root,root,-) +%{tde_bindir}/tdeio_media_mounthelper +%{tde_bindir}/ktrash +%{tde_tdelibdir}/cursorthumbnail.la +%{tde_tdelibdir}/cursorthumbnail.so +%{tde_tdelibdir}/djvuthumbnail.la +%{tde_tdelibdir}/djvuthumbnail.so +%{tde_tdelibdir}/htmlthumbnail.la +%{tde_tdelibdir}/htmlthumbnail.so +%{tde_tdelibdir}/imagethumbnail.la +%{tde_tdelibdir}/imagethumbnail.so +%{tde_tdelibdir}/kcm_cgi.la +%{tde_tdelibdir}/kcm_cgi.so +%{tde_tdelibdir}/kcm_media.la +%{tde_tdelibdir}/kcm_media.so +%{tde_tdelibdir}/kded_homedirnotify.la +%{tde_tdelibdir}/kded_homedirnotify.so +%{tde_tdelibdir}/kded_mediamanager.la +%{tde_tdelibdir}/kded_mediamanager.so +%{tde_tdelibdir}/kded_medianotifier.la +%{tde_tdelibdir}/kded_medianotifier.so +%{tde_tdelibdir}/kded_remotedirnotify.la +%{tde_tdelibdir}/kded_remotedirnotify.so +%{tde_tdelibdir}/kded_systemdirnotify.la +%{tde_tdelibdir}/kded_systemdirnotify.so +%{tde_tdelibdir}/tdefile_media.la +%{tde_tdelibdir}/tdefile_media.so +%{tde_tdelibdir}/tdefile_trash.la +%{tde_tdelibdir}/tdefile_trash.so +%{tde_tdelibdir}/tdeio_about.la +%{tde_tdelibdir}/tdeio_about.so +%{tde_tdelibdir}/tdeio_cgi.la +%{tde_tdelibdir}/tdeio_cgi.so +%{tde_tdelibdir}/tdeio_filter.la +%{tde_tdelibdir}/tdeio_filter.so +%{tde_tdelibdir}/tdeio_finger.la +%{tde_tdelibdir}/tdeio_finger.so +%{tde_tdelibdir}/tdeio_fish.la +%{tde_tdelibdir}/tdeio_fish.so +%{tde_tdelibdir}/tdeio_floppy.la +%{tde_tdelibdir}/tdeio_floppy.so +%{tde_tdelibdir}/tdeio_home.la +%{tde_tdelibdir}/tdeio_home.so +%{tde_tdelibdir}/tdeio_info.la +%{tde_tdelibdir}/tdeio_info.so +%{tde_tdelibdir}/tdeio_mac.la +%{tde_tdelibdir}/tdeio_mac.so +%{tde_tdelibdir}/tdeio_man.la +%{tde_tdelibdir}/tdeio_man.so +%{tde_tdelibdir}/tdeio_media.la +%{tde_tdelibdir}/tdeio_media.so +%{tde_tdelibdir}/tdeio_nfs.la +%{tde_tdelibdir}/tdeio_nfs.so +%{tde_tdelibdir}/tdeio_remote.la +%{tde_tdelibdir}/tdeio_remote.so +%{tde_tdelibdir}/tdeio_settings.la +%{tde_tdelibdir}/tdeio_settings.so +%{tde_tdelibdir}/tdeio_sftp.la +%{tde_tdelibdir}/tdeio_sftp.so +%{tde_tdelibdir}/tdeio_system.la +%{tde_tdelibdir}/tdeio_system.so +%{tde_tdelibdir}/tdeio_tar.la +%{tde_tdelibdir}/tdeio_tar.so +%{tde_tdelibdir}/tdeio_thumbnail.la +%{tde_tdelibdir}/tdeio_thumbnail.so +%{tde_tdelibdir}/tdeio_trash.la +%{tde_tdelibdir}/tdeio_trash.so +%{tde_tdelibdir}/libkmanpart.la +%{tde_tdelibdir}/libkmanpart.so +%{tde_tdelibdir}/textthumbnail.la +%{tde_tdelibdir}/textthumbnail.so +%{tde_tdeappdir}/kcmcgi.desktop +%{tde_datadir}/apps/tdeio_finger/tdeio_finger.css +%{tde_datadir}/apps/tdeio_finger/tdeio_finger.pl +%{tde_datadir}/apps/tdeio_info/kde-info2html +%{tde_datadir}/apps/tdeio_info/kde-info2html.conf +%{tde_datadir}/apps/tdeio_man/tdeio_man.css +%{tde_datadir}/apps/systemview/*.desktop +%{tde_datadir}/config.kcfg/mediamanagersettings.kcfg +%{tde_datadir}/mimelnk/application/x-smb-server.desktop +%{tde_datadir}/mimelnk/inode/system_directory.desktop +%{tde_datadir}/mimelnk/media/*.desktop +%{tde_datadir}/services/about.protocol +%{tde_datadir}/services/applications.protocol +%{tde_datadir}/services/ar.protocol +%{tde_datadir}/services/bzip.protocol +%{tde_datadir}/services/bzip2.protocol +%{tde_datadir}/services/cgi.protocol +%{tde_datadir}/services/cursorthumbnail.desktop +%{tde_datadir}/services/djvuthumbnail.desktop +%{tde_datadir}/services/finger.protocol +%{tde_datadir}/services/fish.protocol +%{tde_datadir}/services/floppy.protocol +%{tde_datadir}/services/gzip.protocol +%{tde_datadir}/services/home.protocol +%{tde_datadir}/services/htmlthumbnail.desktop +%{tde_datadir}/services/imagethumbnail.desktop +%{tde_datadir}/services/info.protocol +%{tde_datadir}/services/kded/homedirnotify.desktop +%{tde_datadir}/services/kded/mediamanager.desktop +%{tde_datadir}/services/kded/medianotifier.desktop +%{tde_datadir}/services/kded/remotedirnotify.desktop +%{tde_datadir}/services/kded/systemdirnotify.desktop +%{tde_datadir}/services/tdefile_media.desktop +%{tde_datadir}/services/tdefile_trash_system.desktop +%{tde_datadir}/services/lzma.protocol +%{tde_datadir}/services/kmanpart.desktop +%{tde_datadir}/services/mac.protocol +%{tde_datadir}/services/man.protocol +%{tde_datadir}/services/media.protocol +%{tde_datadir}/services/nfs.protocol +%{tde_datadir}/services/nxfish.protocol +%{tde_datadir}/services/programs.protocol +%{tde_datadir}/services/remote.protocol +%{tde_datadir}/services/settings.protocol +%{tde_datadir}/services/sftp.protocol +%{tde_datadir}/services/system.protocol +%{tde_datadir}/services/tar.protocol +%{tde_datadir}/services/textthumbnail.desktop +%{tde_datadir}/services/thumbnail.protocol +%{tde_datadir}/services/trash.protocol +%{tde_datadir}/services/xz.protocol +%{tde_datadir}/services/zip.protocol +%{tde_datadir}/servicetypes/thumbcreator.desktop +%{tde_datadir}/services/tdefile_trash.desktop +%{tde_tdedocdir}/HTML/en/tdeioslave/ +%if 0%{?with_exr} +%{tde_tdelibdir}/exrthumbnail.la +%{tde_tdelibdir}/exrthumbnail.so +%{tde_datadir}/services/exrthumbnail.desktop +%endif +# HWManager +%{tde_tdelibdir}/media_propsdlgplugin.la +%{tde_tdelibdir}/media_propsdlgplugin.so +%{tde_datadir}/services/media_propsdlgplugin.desktop + + +%post tdeio-plugins +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%postun tdeio-plugins +update-desktop-database %{tde_appdir} 2> /dev/null || : + + +########## + +%package -n trinity-kdepasswd +Summary: password changer for TDE +Group: Applications/Utilities + +%description -n trinity-kdepasswd +This is a simple application which allows users to change their +system passwords. + +%files -n trinity-kdepasswd +%defattr(-,root,root,-) +%{tde_bindir}/kdepasswd +%{tde_tdelibdir}/kcm_useraccount.la +%{tde_tdelibdir}/kcm_useraccount.so +%{tde_tdeappdir}/kcm_useraccount.desktop +%{tde_tdeappdir}/kdepasswd.desktop +%exclude %{tde_datadir}/apps/[kt]dm/pics/users/default1.png +%exclude %{tde_datadir}/apps/[kt]dm/pics/users/default2.png +%exclude %{tde_datadir}/apps/[kt]dm/pics/users/default3.png +%exclude %{tde_datadir}/apps/[kt]dm/pics/users/root1.png +%{tde_datadir}/apps/[kt]dm/pics/users/*.png +%{tde_datadir}/config.kcfg/kcm_useraccount.kcfg +%{tde_datadir}/config.kcfg/kcm_useraccount_pass.kcfg + +%post -n trinity-kdepasswd +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%postun -n trinity-kdepasswd +update-desktop-database %{tde_appdir} 2> /dev/null || : + +########## + +%package -n trinity-tdeprint +Summary: print system for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} +Requires: psutils + +%description -n trinity-tdeprint +This package contains the TDE printing subsystem. It can use CUPS, +lpd-ng or the traditional lpd. It also includes support for fax and +pdf printing. + +Installation of smbclient will make you able to use smb shared printers. + +%files -n trinity-tdeprint +%defattr(-,root,root,-) +%{tde_bindir}/[kt]deprintfax +%{tde_bindir}/kjobviewer +%{tde_bindir}/kprinter +%{tde_tdelibdir}/kcm_printmgr.la +%{tde_tdelibdir}/kcm_printmgr.so +%{tde_tdelibdir}/tdeio_print.la +%{tde_tdelibdir}/tdeio_print.so +%{tde_tdelibdir}/kjobviewer.la +%{tde_tdelibdir}/kjobviewer.so +%{tde_tdelibdir}/kprinter.la +%{tde_tdelibdir}/kprinter.so +%{tde_tdelibdir}/lib[kt]deprint_part.la +%{tde_tdelibdir}/lib[kt]deprint_part.so +%{tde_libdir}/lib[kt]deinit_kjobviewer.la +%{tde_libdir}/lib[kt]deinit_kjobviewer.so +%{tde_libdir}/lib[kt]deinit_kprinter.la +%{tde_libdir}/lib[kt]deinit_kprinter.so +%{tde_tdeappdir}/[kt]deprintfax.desktop +%{tde_tdeappdir}/[kt]jobviewer.desktop +%{tde_tdeappdir}/printers.desktop +%{tde_datadir}/apps/[kt]deprint/ +%{tde_datadir}/apps/[kt]deprintfax/ +%{tde_datadir}/apps/[kt]jobviewer/ +%{tde_datadir}/apps/[kt]deprint_part/tdeprint_part.rc +%{tde_datadir}/icons/hicolor/*/apps/tdeprintfax.png +%{tde_datadir}/icons/hicolor/*/apps/kjobviewer.png +%{tde_datadir}/icons/hicolor/*/apps/printmgr.png +%{tde_datadir}/icons/hicolor/scalable/apps/tdeprintfax.svgz +%{tde_datadir}/icons/hicolor/scalable/apps/kjobviewer.svgz +%{tde_datadir}/icons/hicolor/scalable/apps/printmgr.svgz +%{tde_datadir}/mimelnk/print/class.desktop +%{tde_datadir}/mimelnk/print/driver.desktop +%{tde_datadir}/mimelnk/print/folder.desktop +%{tde_datadir}/mimelnk/print/jobs.desktop +%{tde_datadir}/mimelnk/print/manager.desktop +%{tde_datadir}/mimelnk/print/printer.desktop +%{tde_datadir}/mimelnk/print/printermodel.desktop +%{tde_datadir}/services/tdeprint_part.desktop +%{tde_datadir}/services/print.protocol +%{tde_datadir}/services/printdb.protocol +%{tde_tdedocdir}/HTML/en/[kt]deprint/ + +%post -n trinity-tdeprint +/sbin/ldconfig || : +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%postun -n trinity-tdeprint +/sbin/ldconfig || : +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package -n trinity-kdesktop +Summary: miscellaneous binaries and files for the TDE desktop +Group: Applications/Utilities +Requires: %{name}-bin = %{version}-%{release} +Requires: %{name}-data = %{version}-%{release} +Requires: trinity-libkonq = %{version}-%{release} +Requires: eject +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +Requires: xdg-utils +%endif + +%description -n trinity-kdesktop +This package contains miscellaneous binaries and files integral to +the TDE desktop. + +%files -n trinity-kdesktop +%defattr(-,root,root,-) +%{_sysconfdir}/trinity/kdesktop_custom_menu1 +%{_sysconfdir}/trinity/kdesktop_custom_menu2 +%{tde_bindir}/kcheckrunning +%{tde_bindir}/kxdglauncher +%{tde_bindir}/kdeeject +%{tde_bindir}/kdesktop +%{tde_bindir}/kdesktop_lock +%{tde_bindir}/kwebdesktop +%{tde_tdelibdir}/kdesktop.la +%{tde_tdelibdir}/kdesktop.so +%{tde_libdir}/lib[kt]deinit_kdesktop.la +%{tde_libdir}/lib[kt]deinit_kdesktop.so +%{tde_datadir}/apps/kdesktop/ +%{tde_datadir}/apps/konqueror/servicemenus/kdesktopSetAsBackground.desktop +%{tde_datadir}/autostart/kdesktop.desktop +%{tde_datadir}/config.kcfg/kdesktop.kcfg +%{tde_datadir}/config.kcfg/tdelaunch.kcfg +%{tde_datadir}/config.kcfg/kwebdesktop.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/error.png + +%post -n trinity-kdesktop +/sbin/ldconfig || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%postun -n trinity-kdesktop +/sbin/ldconfig || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package -n trinity-kdesktop-devel +Summary: Development files for kdesktop +Group: Development/Libraries +Requires: trinity-kdesktop = %{version}-%{release} + +%description -n trinity-kdesktop-devel +%{summary} + +%files -n trinity-kdesktop-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/KBackgroundIface.h +%{tde_tdeincludedir}/KDesktopIface.h +%{tde_tdeincludedir}/KScreensaverIface.h + +########## + +%package -n trinity-tdm +Summary: X Display manager for TDE +Group: Applications/Utilities +Requires: %{name}-bin = %{version}-%{release} +Requires: %{name}-data = %{version}-%{release} +Requires: pam + +# Provides the global Xsession script (/etc/X11/xinit/Xsession or /etc/X11/Xsession) +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} == 4 +Requires: xinitrc +%endif +%if 0%{?suse_version} == 1140 +Requires: xorg-x11 +%endif +%if 0%{?suse_version} >= 1220 +Requires: xdm +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} +Requires: xorg-x11-xinit +%endif + +# Required for Fedora LiveCD +%if 0%{?rhel} || 0%{?fedora} +Provides: service(graphical-login) +%endif +# Required for Mandriva's installer +%if 0%{?mgaversion} || 0%{?mdkversion} +Provides: dm +%endif + +%description -n trinity-tdm +tdm manages a collection of X servers, which may be on the local host or +remote machines. It provides services similar to those provided by init, +getty, and login on character-based terminals: prompting for login name and +password, authenticating the user, and running a session. tdm supports XDMCP +(X Display Manager Control Protocol) and can also be used to run a chooser +process which presents the user with a menu of possible hosts that offer +XDMCP display management. + +A collection of icons to associate with individual users is included with +TDE, but as part of the kdepasswd package. + +The menu package will help to provide TDM with a list of window managers +that can be launched, if the window manager does not register with TDM +already. Most users won't need this. + +%files -n trinity-tdm +%defattr(-,root,root,-) +%{tde_tdelibdir}/kgreet_pam.la +%{tde_tdelibdir}/kgreet_pam.so +%{tde_bindir}/gen[kt]dmconf +%{tde_bindir}/[kt]dm +%{tde_bindir}/[kt]dm_config +%{tde_bindir}/[kt]dmctl +%{tde_bindir}/[kt]dm_greet +%{tde_bindir}/krootimage +%{tde_datadir}/apps/[kt]dm/pics/kdelogo.png +%{tde_datadir}/apps/[kt]dm/pics/shutdown.jpg +%{tde_datadir}/apps/[kt]dm/pics/users/default1.png +%{tde_datadir}/apps/[kt]dm/pics/users/default2.png +%{tde_datadir}/apps/[kt]dm/pics/users/default3.png +%{tde_datadir}/apps/[kt]dm/pics/users/root1.png +%{tde_datadir}/apps/[kt]dm/sessions/*.desktop +%{tde_datadir}/apps/[kt]dm/themes/ +%{tde_datadir}/config/tdm +%{_sysconfdir}/trinity/[kt]dm/ +%{tde_tdedocdir}/HTML/en/[kt]dm/ +%if 0%{?suse_version} == 0 +%{_sysconfdir}/pam.d/tdm-trinity +%{_sysconfdir}/pam.d/tdm-trinity-np +%endif +%if 0%{?suse_version} +/usr/lib/X11/displaymanagers/tdm +%endif +%if 0%{?fedora} >= 18 +/usr/lib/systemd/system/tdm.service +%endif + +# Distribution specific stuff +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%{_datadir}/xsessions/tde.desktop +%endif + +# https://wiki.mageia.org/en/How_to_add_a_new_Window_Manager_or_Display_Manager +%if 0%{?mgaversion} || 0%{?mdkversion} +%{_sysconfdir}/X11/wmsession.d/45TDE +%{_datadir}/X11/dm.d/45TDE.conf +%endif + +# SELINUX policy +%if 0%{?with_selinux_policy} +%{?_sysconfdir}/trinity/tdm/tdm.pp +%endif + +%pre -n trinity-tdm +# Make sure that TDM configuration files are now under '/etc/trinity/tdm' +if [ -d "%{tde_datadir}/config/tdm" ] && [ ! -L "%{tde_datadir}/config/tdm" ]; then + if [ -d "%{_sysconfdir}/trinity/tdm" ]; then + # If there is already something under '/etc/trinity/tdm', simply delete old configuration + echo "Deleting TDM configuration under '%{tde_datadir}/config/tdm'" + %__rm -rf "%{tde_datadir}/config/tdm" + else + # Else, move '/opt/trinity/share/config/tdm' to '/etc/trinity/tdm' + if [ ! -d "%{_sysconfdir}/trinity" ]; then + %__mkdir_p "%{_sysconfdir}/trinity" + fi + echo "Migrating TDM configuration from '%{tde_datadir}/config/tdm' to '%{_sysconfdir}/trinity/tdm'" + %__mv -f "%{tde_datadir}/config/tdm" "%{_sysconfdir}/trinity/tdm.migr" + fi +fi + +%post -n trinity-tdm +%if 0%{?mgaversion} || 0%{?mdkversion} +%make_session +%endif +%if 0%{?with_selinux_policy} +/usr/sbin/semodule -i "%{?_sysconfdir}/trinity/tdm/tdm.pp" +%endif +# Default user icon in TDM +if [ ! -r "%{tde_datadir}/apps/tdm/faces/.default.face.icon" ]; then + [ -d "%{tde_datadir}/apps/tdm/faces" ] || mkdir -p "%{tde_datadir}/apps/tdm/faces" + %__cp -f "%{tde_datadir}/apps/tdm/pics/users/default2.png" "%{tde_datadir}/apps/tdm/faces/.default.face.icon" +fi + +%posttrans -n trinity-tdm +# Make sure that TDM configuration files are now under '/etc/trinity/tdm' +if [ -d "%{_sysconfdir}/trinity/tdm.migr" ] && [ -d "%{_sysconfdir}/trinity/tdm" ]; then + %__mv -f "%{_sysconfdir}/trinity/tdm.migr/"* "%{_sysconfdir}/trinity/tdm/" + rmdir "%{_sysconfdir}/trinity/tdm.migr/" +fi + +%postun -n trinity-tdm +%if 0%{?mgaversion} || 0%{?mdkversion} +%make_session +%endif + +########## + +%package -n trinity-tdm-devel +Summary: Development files for tdm +Group: Development/Libraries +Requires: trinity-tdm = %{version}-%{release} + +%description -n trinity-tdm-devel +%{summary} + +%files -n trinity-tdm-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kgreeterplugin.h + +########## + +%package -n trinity-kfind +Summary: file-find utility for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-kfind +kfind can be used to find files and directories on your +workstations. + +%files -n trinity-kfind +%defattr(-,root,root,-) +%{tde_bindir}/kfind +%{tde_tdelibdir}/libkfindpart.la +%{tde_tdelibdir}/libkfindpart.so +%{tde_tdeappdir}/Kfind.desktop +%{tde_datadir}/apps/kfindpart/ +%{tde_datadir}/icons/hicolor/*/apps/kfind.png +%{tde_datadir}/services/kfindpart.desktop +%{tde_datadir}/servicetypes/findpart.desktop +%{tde_tdedocdir}/HTML/en/kfind/ + +%post -n trinity-kfind +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%postun -n trinity-kfind +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package -n trinity-khelpcenter +Summary: help center for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} +Requires: htdig + +%description -n trinity-khelpcenter +The TDE Help Center provides documentation on how to use the KDE desktop. + +The htdig package is needed to build a searchable archive of TDE +documentation. + +%files -n trinity-khelpcenter +%defattr(-,root,root,-) +#%{tde_bindir}/khc_beagle_index.pl +#%{tde_bindir}/khc_beagle_search.pl +%{tde_bindir}/khc_docbookdig.pl +%{tde_bindir}/khc_htdig.pl +%{tde_bindir}/khc_htsearch.pl +%{tde_bindir}/khc_indexbuilder +%{tde_bindir}/khc_mansearch.pl +%{tde_bindir}/khelpcenter +%{tde_tdelibdir}/khelpcenter.la +%{tde_tdelibdir}/khelpcenter.so +%{tde_libdir}/lib[kt]deinit_khelpcenter.la +%{tde_libdir}/lib[kt]deinit_khelpcenter.so +%{tde_tdeappdir}/Help.desktop +%{tde_datadir}/apps/khelpcenter/ +%{tde_datadir}/config.kcfg/khelpcenter.kcfg +%{tde_datadir}/icons/hicolor/*/apps/khelpcenter.* +%{tde_datadir}/services/khelpcenter.desktop +%{tde_tdedocdir}/HTML/en/khelpcenter/ + +%post -n trinity-khelpcenter +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +%postun -n trinity-khelpcenter +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +########## + +%package -n trinity-kicker +Summary: desktop panel for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-kicker +Kicker provides the TDE panel on you desktop. It can be used as a +program launcher and can load plugins to provide additional +functionality. + +%files -n trinity-kicker +%defattr(-,root,root,-) +%{tde_bindir}/appletproxy +%{tde_bindir}/extensionproxy +%{tde_bindir}/kasbar +%{tde_bindir}/kicker +%{tde_libdir}/tdeconf_update_bin/kicker-3.4-reverseLayout +%{tde_tdelibdir}/appletproxy.la +%{tde_tdelibdir}/appletproxy.so +%{tde_tdelibdir}/clock_panelapplet.la +%{tde_tdelibdir}/clock_panelapplet.so +%{tde_tdelibdir}/dockbar_panelextension.la +%{tde_tdelibdir}/dockbar_panelextension.so +%{tde_tdelibdir}/extensionproxy.la +%{tde_tdelibdir}/extensionproxy.so +%{tde_tdelibdir}/kasbar_panelextension.la +%{tde_tdelibdir}/kasbar_panelextension.so +%{tde_tdelibdir}/kicker.la +%{tde_tdelibdir}/kickermenu_find.la +%{tde_tdelibdir}/kickermenu_find.so +%{tde_tdelibdir}/kickermenu_kate.so +%{tde_tdelibdir}/kickermenu_kate.la +%{tde_tdelibdir}/kickermenu_[kt]deprint.la +%{tde_tdelibdir}/kickermenu_[kt]deprint.so +%{tde_tdelibdir}/kickermenu_konqueror.la +%{tde_tdelibdir}/kickermenu_konqueror.so +%{tde_tdelibdir}/kickermenu_konsole.la +%{tde_tdelibdir}/kickermenu_konsole.so +%{tde_tdelibdir}/kickermenu_prefmenu.la +%{tde_tdelibdir}/kickermenu_prefmenu.so +%{tde_tdelibdir}/kickermenu_recentdocs.la +%{tde_tdelibdir}/kickermenu_recentdocs.so +%{tde_tdelibdir}/kickermenu_remotemenu.la +%{tde_tdelibdir}/kickermenu_remotemenu.so +%{tde_tdelibdir}/kickermenu_systemmenu.la +%{tde_tdelibdir}/kickermenu_systemmenu.so +%{tde_tdelibdir}/kicker.so +%{tde_tdelibdir}/launcher_panelapplet.la +%{tde_tdelibdir}/launcher_panelapplet.so +%{tde_tdelibdir}/lockout_panelapplet.la +%{tde_tdelibdir}/lockout_panelapplet.so +%{tde_tdelibdir}/media_panelapplet.la +%{tde_tdelibdir}/media_panelapplet.so +%{tde_tdelibdir}/menu_panelapplet.la +%{tde_tdelibdir}/menu_panelapplet.so +%{tde_tdelibdir}/minipager_panelapplet.la +%{tde_tdelibdir}/minipager_panelapplet.so +%{tde_tdelibdir}/naughty_panelapplet.la +%{tde_tdelibdir}/naughty_panelapplet.so +%{tde_tdelibdir}/run_panelapplet.la +%{tde_tdelibdir}/run_panelapplet.so +%{tde_tdelibdir}/sidebar_panelextension.la +%{tde_tdelibdir}/sidebar_panelextension.so +%{tde_tdelibdir}/systemtray_panelapplet.la +%{tde_tdelibdir}/systemtray_panelapplet.so +%{tde_tdelibdir}/taskbar_panelapplet.la +%{tde_tdelibdir}/taskbar_panelapplet.so +%{tde_tdelibdir}/taskbar_panelextension.la +%{tde_tdelibdir}/taskbar_panelextension.so +%{tde_tdelibdir}/trash_panelapplet.la +%{tde_tdelibdir}/trash_panelapplet.so +%{tde_libdir}/libkasbar.so.* +%{tde_libdir}/lib[kt]deinit_appletproxy.la +%{tde_libdir}/lib[kt]deinit_appletproxy.so +%{tde_libdir}/lib[kt]deinit_extensionproxy.la +%{tde_libdir}/lib[kt]deinit_extensionproxy.so +%{tde_libdir}/lib[kt]deinit_kicker.la +%{tde_libdir}/lib[kt]deinit_kicker.so +%{tde_libdir}/libkickermain.so.* +%{tde_libdir}/libtaskbar.so.* +%{tde_libdir}/libtaskmanager.so.* +%{tde_libdir}/libkickoffsearch_interfaces.so.* +%{tde_tdeappdir}/kcmkicker.desktop +%{tde_datadir}/applnk/.hidden/kicker_config_arrangement.desktop +%{tde_datadir}/applnk/.hidden/kicker_config_hiding.desktop +%{tde_datadir}/applnk/.hidden/kicker_config_menus.desktop +%{tde_datadir}/apps/clockapplet/pics/lcd.png +%{tde_datadir}/apps/tdeconf_update/kicker-3.1-properSizeSetting.pl +%{tde_datadir}/apps/tdeconf_update/kicker-3.5-tdeconfigXTize.pl +%{tde_datadir}/apps/tdeconf_update/kicker-3.5-taskbarEnums.pl +%{tde_datadir}/apps/tdeconf_update/kickerrc.upd +%{tde_datadir}/apps/kicker/ +%exclude %{tde_datadir}/apps/kicker/applets/klipper.desktop +%exclude %{tde_datadir}/apps/kicker/applets/ksysguardapplet.desktop +%{tde_datadir}/apps/naughtyapplet/pics/naughty-happy.png +%{tde_datadir}/apps/naughtyapplet/pics/naughty-sad.png +%{tde_datadir}/autostart/panel.desktop +%{tde_datadir}/config.kcfg/kickerSettings.kcfg +%{tde_datadir}/config.kcfg/launcherapplet.kcfg +%{tde_datadir}/config.kcfg/pagersettings.kcfg +%{tde_datadir}/config.kcfg/taskbar.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/systemtray.png +%{tde_datadir}/icons/crystalsvg/*/apps/taskbar.png +%{tde_datadir}/icons/crystalsvg/*/apps/kbinaryclock.png +%{tde_datadir}/icons/crystalsvg/*/apps/kdisknav.png +%{tde_datadir}/icons/crystalsvg/*/apps/kicker.png +%{tde_datadir}/icons/crystalsvg/*/apps/panel.png +%{tde_datadir}/icons/crystalsvg/*/apps/runprocesscatcher.png +%{tde_datadir}/icons/crystalsvg/*/apps/window_list.png +%{tde_datadir}/icons/crystalsvg/*/apps/kbinaryclock.svgz +%{tde_datadir}/icons/crystalsvg/*/apps/systemtray.svgz +%{tde_datadir}/servicetypes/kickoffsearchplugin.desktop +%{tde_tdedocdir}/HTML/en/kicker/ +%if 0%{?mgaversion} >= 3 +%{tde_datadir}/oxygen/scalable/mgabutton.svg +%endif + +%post -n trinity-kicker +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +%postun -n trinity-kicker +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +########## + +%package -n trinity-kicker-devel +Summary: Development files for kicker +Group: Development/Libraries +Requires: trinity-kicker = %{version}-%{release} + +%description -n trinity-kicker-devel +%{summary} + +%files -n trinity-kicker-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kickoff-search-plugin.h +%{tde_tdeincludedir}/kickoffsearchinterface.h +%{tde_libdir}/libkasbar.la +%{tde_libdir}/libkasbar.so +%{tde_libdir}/libkickermain.la +%{tde_libdir}/libkickermain.so +%{tde_libdir}/libkickoffsearch_interfaces.la +%{tde_libdir}/libkickoffsearch_interfaces.so +%{tde_libdir}/libtaskbar.la +%{tde_libdir}/libtaskbar.so +%{tde_libdir}/libtaskmanager.la +%{tde_libdir}/libtaskmanager.so + +%post -n trinity-kicker-devel +/sbin/ldconfig || : + +%postun -n trinity-kicker-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-klipper +Summary: clipboard utility for Trinity +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-klipper +klipper provides standard clipboard functions (cut and paste, history +saving) plus additional features, like the ability to offer actions to +take dependent on the clipboard contents. For example, it can launch a +web browser if the clipboard contains a URL. + +%files -n trinity-klipper +%defattr(-,root,root,-) +%{tde_bindir}/klipper +%{_sysconfdir}/trinity/klipperrc +%{tde_tdelibdir}/klipper.la +%{tde_tdelibdir}/klipper.so +%{tde_tdelibdir}/klipper_panelapplet.la +%{tde_tdelibdir}/klipper_panelapplet.so +%{tde_libdir}/lib[kt]deinit_klipper.la +%{tde_libdir}/lib[kt]deinit_klipper.so +%{tde_tdeappdir}/klipper.desktop +%{tde_datadir}/apps/tdeconf_update/klipper-1-2.pl +%{tde_datadir}/apps/tdeconf_update/klipper-trinity1.sh +%{tde_datadir}/apps/tdeconf_update/klipperrc.upd +%{tde_datadir}/apps/tdeconf_update/klippershortcuts.upd +%{tde_datadir}/apps/kicker/applets/klipper.desktop +%{tde_datadir}/autostart/klipper.desktop +%{tde_datadir}/icons/hicolor/*/apps/klipper.* +%{tde_tdedocdir}/HTML/en/klipper/ + +%post -n trinity-klipper +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +%postun -n trinity-klipper +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +########## + +%package -n trinity-kmenuedit +Summary: menu editor for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-kmenuedit +The TDE menu editor allows you to make customisations to the KDE menu +structure. + +%files -n trinity-kmenuedit +%defattr(-,root,root,-) +%{tde_bindir}/kcontroledit +%{tde_bindir}/kmenuedit +%{tde_tdelibdir}/kcontroledit.la +%{tde_tdelibdir}/kcontroledit.so +%{tde_tdelibdir}/kmenuedit.la +%{tde_tdelibdir}/kmenuedit.so +%{tde_libdir}/lib[kt]deinit_kcontroledit.la +%{tde_libdir}/lib[kt]deinit_kcontroledit.so +%{tde_libdir}/lib[kt]deinit_kmenuedit.la +%{tde_libdir}/lib[kt]deinit_kmenuedit.so +%{tde_tdeappdir}/kmenuedit.desktop +%{tde_datadir}/applnk/System/kmenuedit.desktop +%{tde_datadir}/apps/kcontroledit/ +%{tde_datadir}/apps/kmenuedit/ +%{tde_tdedocdir}/HTML/en/kmenuedit/ + +%post -n trinity-kmenuedit +update-desktop-database %{tde_appdir} 2> /dev/null || : +/sbin/ldconfig || : + +%postun -n trinity-kmenuedit +update-desktop-database %{tde_appdir} 2> /dev/null || : +/sbin/ldconfig || : + +########## + +%package -n trinity-konqueror +Summary: TDE's advanced file manager, web browser and document viewer +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} +Requires: trinity-kcontrol = %{version}-%{release} +Requires: %{name}-tdeio-plugins = %{version}-%{release} +Requires: trinity-kdesktop = %{version}-%{release} +Requires: trinity-kfind = %{version}-%{release} +Requires: trinity-libkonq = %{version}-%{release} + +%description -n trinity-konqueror +Konqueror is the file manager for the Trinity Desktop Environment. +It supports basic file management on local UNIX filesystems, +from simple cut/copy and paste operations to advanced remote +and local network file browsing. + +It is also the canvas for all the latest TDE technology, +from KIO slaves (which provide mechanisms for file access) to +component embedding via the KParts object interface, and it +is one of the most customizable applications available. + +Konqueror is an Open Source web browser with HTML4.0 compliance, +supporting Java applets, JavaScript, CSS1 and (partially) CSS2, +as well as Netscape plugins (for example, Flash or RealVideo plugins). + +It is a universal viewing application, capable of embedding +read-only viewing components in itself to view documents without +ever launching another application. + +%files -n trinity-konqueror +%defattr(-,root,root,-) +%{_sysconfdir}/trinity/konqsidebartng.rc +%{tde_bindir}/kbookmarkmerger +%{tde_bindir}/keditbookmarks +%{tde_bindir}/kfmclient +%{tde_bindir}/konqueror +%{tde_tdelibdir}/kcm_history.la +%{tde_tdelibdir}/kcm_history.so +%{tde_tdelibdir}/kded_konqy_preloader.la +%{tde_tdelibdir}/kded_konqy_preloader.so +%{tde_tdelibdir}/keditbookmarks.la +%{tde_tdelibdir}/keditbookmarks.so +%{tde_tdelibdir}/kfmclient.la +%{tde_tdelibdir}/kfmclient.so +%{tde_tdelibdir}/konq_aboutpage.la +%{tde_tdelibdir}/konq_aboutpage.so +%{tde_tdelibdir}/konq_iconview.la +%{tde_tdelibdir}/konq_iconview.so +%{tde_tdelibdir}/konq_listview.la +%{tde_tdelibdir}/konq_listview.so +%{tde_tdelibdir}/konq_remoteencoding.la +%{tde_tdelibdir}/konq_remoteencoding.so +%{tde_tdelibdir}/konq_shellcmdplugin.la +%{tde_tdelibdir}/konq_shellcmdplugin.so +%{tde_tdelibdir}/konq_sidebar.la +%{tde_tdelibdir}/konq_sidebar.so +%{tde_tdelibdir}/konq_sidebartree_bookmarks.la +%{tde_tdelibdir}/konq_sidebartree_bookmarks.so +%{tde_tdelibdir}/konq_sidebartree_dirtree.la +%{tde_tdelibdir}/konq_sidebartree_dirtree.so +%{tde_tdelibdir}/konq_sidebartree_history.la +%{tde_tdelibdir}/konq_sidebartree_history.so +%{tde_tdelibdir}/konqsidebar_tree.la +%{tde_tdelibdir}/konqsidebar_tree.so +%{tde_tdelibdir}/konqsidebar_web.la +%{tde_tdelibdir}/konqsidebar_web.so +%{tde_tdelibdir}/konqueror.la +%{tde_tdelibdir}/konqueror.so +%{tde_tdelibdir}/libtdehtmlkttsdplugin.la +%{tde_tdelibdir}/libtdehtmlkttsdplugin.so +%{tde_libdir}/lib[kt]deinit_keditbookmarks.la +%{tde_libdir}/lib[kt]deinit_keditbookmarks.so +%{tde_libdir}/lib[kt]deinit_kfmclient.la +%{tde_libdir}/lib[kt]deinit_kfmclient.so +%{tde_libdir}/lib[kt]deinit_konqueror.la +%{tde_libdir}/lib[kt]deinit_konqueror.so +%{tde_libdir}/libkonqsidebarplugin.so.* +%{tde_tdeappdir}/Home.desktop +%{tde_tdeappdir}/kcmhistory.desktop +%{tde_tdeappdir}/kfmclient.desktop +%{tde_tdeappdir}/kfmclient_dir.desktop +%{tde_tdeappdir}/kfmclient_html.desktop +%{tde_tdeappdir}/kfmclient_war.desktop +%{tde_tdeappdir}/tdehtml_filter.desktop +%{tde_tdeappdir}/konqbrowser.desktop +%{tde_tdeappdir}/konquerorsu.desktop +%{tde_datadir}/applnk/.hidden/konqfilemgr.desktop +%{tde_datadir}/applnk/Internet/keditbookmarks.desktop +%{tde_datadir}/applnk/konqueror.desktop +%{tde_datadir}/apps/tdeconf_update/kfmclient_3_2.upd +%{tde_datadir}/apps/tdeconf_update/kfmclient_3_2_update.sh +%{tde_datadir}/apps/tdeconf_update/konqsidebartng.upd +%{tde_datadir}/apps/tdeconf_update/move_konqsidebartng_entries.sh +%{tde_datadir}/apps/keditbookmarks/keditbookmarks-genui.rc +%{tde_datadir}/apps/keditbookmarks/keditbookmarksui.rc +%{tde_datadir}/apps/tdehtml/kpartplugins/tdehtmlkttsd.desktop +%{tde_datadir}/apps/tdehtml/kpartplugins/tdehtmlkttsd.rc +%{tde_datadir}/apps/konqiconview/ +%{tde_datadir}/apps/konqlistview/ +%exclude %{tde_datadir}/apps/konqsidebartng/virtual_folders/services/fonts.desktop +%{tde_datadir}/apps/konqsidebartng/ +%{tde_datadir}/apps/konqueror/about/ +%{tde_datadir}/apps/konqueror/icons/ +%{tde_datadir}/apps/konqueror/konq-simplebrowser.rc +%{tde_datadir}/apps/konqueror/konqueror.rc +%{tde_datadir}/apps/konqueror/pics/indicator_connect.png +%{tde_datadir}/apps/konqueror/pics/indicator_empty.png +%{tde_datadir}/apps/konqueror/pics/indicator_noconnect.png +%{tde_datadir}/apps/konqueror/pics/indicator_viewactive.png +%{tde_datadir}/apps/konqueror/profiles/ +%exclude %{tde_datadir}/apps/konqueror/servicemenus/kdesktopSetAsBackground.desktop +%exclude %{tde_datadir}/apps/konqueror/servicemenus/konsolehere.desktop +%exclude %{tde_datadir}/apps/konqueror/servicemenus/installfont.desktop +%{tde_datadir}/apps/konqueror/servicemenus/*.desktop +%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase +%{_sysconfdir}/alternatives/media_safelyremove.desktop_tdebase +%{tde_datadir}/apps/konqueror/tiles/*.png +%{tde_datadir}/autostart/konqy_preload.desktop +%{tde_datadir}/config.kcfg/keditbookmarks.kcfg +%{tde_datadir}/config.kcfg/konq_listview.kcfg +%{tde_datadir}/config.kcfg/konqueror.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/keditbookmarks.png +%{tde_datadir}/icons/crystalsvg/*/apps/kfm_home.svgz +%{tde_datadir}/icons/hicolor/*/apps/kfm.png +%{tde_datadir}/icons/hicolor/*/apps/konqueror.* +%{tde_datadir}/services/kded/konqy_preloader.desktop +%{tde_datadir}/services/konq_*.desktop +%{tde_datadir}/servicetypes/konqaboutpage.desktop +%{tde_tdedocdir}/HTML/en/konqueror/ + +%post -n trinity-konqueror +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : +update-alternatives --install \ + %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop \ + media_safelyremove.desktop_konqueror \ + %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase \ + 10 || : + +%postun -n trinity-konqueror +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +%preun -n trinity-konqueror +if [ $1 -eq 0 ]; then + update-alternatives --remove \ + media_safelyremove.desktop_konqueror \ + %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase || : +fi + +########## + +%package -n trinity-konqueror-devel +Summary: Development files for konqueror +Group: Development/Libraries +Requires: trinity-konqueror = %{version}-%{release} + +%description -n trinity-konqueror-devel +%{summary} + +%files -n trinity-konqueror-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/konqsidebarplugin.h +%{tde_tdeincludedir}/KonquerorIface.h +%{tde_libdir}/libkonqsidebarplugin.la +%{tde_libdir}/libkonqsidebarplugin.so + +%post -n trinity-konqueror-devel +/sbin/ldconfig || : + +%postun -n trinity-konqueror-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-konqueror-nsplugins +Summary: Netscape plugin support for Konqueror +Group: Applications/Utilities +Requires: trinity-konqueror = %{version}-%{release} + +%description -n trinity-konqueror-nsplugins +This package includes support for Netscape plugins in Konqueror. + +%files -n trinity-konqueror-nsplugins +%defattr(-,root,root,-) +%{tde_bindir}/nspluginscan +%{tde_bindir}/nspluginviewer +%{tde_tdelibdir}/kcm_nsplugins.la +%{tde_tdelibdir}/kcm_nsplugins.so +%{tde_tdelibdir}/libnsplugin.la +%{tde_tdelibdir}/libnsplugin.so +%{tde_tdeappdir}/tdehtml_plugins.desktop +%{tde_datadir}/apps/plugin/nspluginpart.rc + +%post -n trinity-konqueror-nsplugins +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%postun -n trinity-konqueror-nsplugins +update-desktop-database %{tde_appdir} 2> /dev/null || : + +########## + +%package -n trinity-konsole +Summary: X terminal emulator for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-konsole +Konsole is an X terminal emulation which provides a command-line interface +(CLI) while using the graphical Trinity Desktop Environment. Konsole helps to +better organize user's desktop by containing multiple sessions in a single +window (a less cluttered desktop). + +Its advanced features include a simple configuration and the ability to use +multiple terminal shells in a single window + +Using Konsole, a user can open: +* Linux console sessions +* Midnight Commander file manager sessions +* Shell sessions +* Root consoles sessions + +%files -n trinity-konsole +%defattr(-,root,root,-) +%{tde_bindir}/konsole +%{tde_tdelibdir}/kcm_konsole.la +%{tde_tdelibdir}/kcm_konsole.so +%{tde_tdelibdir}/kded_kwrited.la +%{tde_tdelibdir}/kded_kwrited.so +%{tde_tdelibdir}/konsole.la +%{tde_tdelibdir}/konsole.so +%{tde_tdelibdir}/libkonsolepart.la +%{tde_tdelibdir}/libkonsolepart.so +%{tde_libdir}/lib[kt]deinit_konsole.la +%{tde_libdir}/lib[kt]deinit_konsole.so +%{tde_tdeappdir}/konsole.desktop +%{tde_tdeappdir}/konsolesu.desktop +%{tde_datadir}/applnk/.hidden/kcmkonsole.desktop +%{tde_datadir}/apps/tdeconf_update/konsole.upd +%{tde_datadir}/apps/tdeconf_update/schemaStrip.pl +%{tde_datadir}/apps/konqueror/servicemenus/konsolehere.desktop +%{tde_datadir}/apps/konsole/ +%{tde_datadir}/icons/hicolor/*/apps/konsole.* +%{tde_datadir}/mimelnk/application/x-konsole.desktop +%{tde_datadir}/services/kded/kwrited.desktop +%{tde_datadir}/services/konsolepart.desktop +%{tde_datadir}/services/konsole-script.desktop +%{tde_datadir}/services/kwrited.desktop +%{tde_datadir}/servicetypes/terminalemulator.desktop +%{tde_tdedocdir}/HTML/en/konsole/ +%{tde_tdedocdir}/HTML/en/kcontrol/kcmkonsole/ + +%post -n trinity-konsole +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +%postun -n trinity-konsole +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +########## + +%package -n trinity-kpager +Summary: desktop pager for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-kpager +This package contains TDE's desktop pager, which displays your virtual +desktops iconically in a window, along with icons of any running +applications. It is used to switch between applications or desktops. + +%files -n trinity-kpager +%defattr(-,root,root,-) +%{tde_bindir}/kpager +%{tde_tdeappdir}/kpager.desktop +%{tde_datadir}/applnk/Utilities/kpager.desktop +%{tde_datadir}/icons/hicolor/*/apps/kpager.png +%{tde_tdedocdir}/HTML/en/kpager/ + +%post -n trinity-kpager +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%postun -n trinity-kpager +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package -n trinity-kpersonalizer +Summary: installation personalizer for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-kpersonalizer +TDE Personalizer is the application that configures the TDE desktop for you. +It's a very useful wizard that allows you to quickly change the TDE desktop to +suit your own needs. When you run TDE for the first time, KPersonalizer is +automatically started. KPersonalizer can also be called later. + +%files -n trinity-kpersonalizer +%defattr(-,root,root,-) +%{tde_bindir}/kpersonalizer +%{tde_tdeappdir}/kpersonalizer.desktop +%{tde_datadir}/applnk/System/kpersonalizer.desktop +%{tde_datadir}/apps/kpersonalizer/ +%{tde_datadir}/icons/crystalsvg/*/apps/kpersonalizer.png + +%post -n trinity-kpersonalizer +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%postun -n trinity-kpersonalizer +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package -n trinity-ksmserver +Summary: session manager for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} +Requires: trinity-twin = %{version}-%{release} + +%description -n trinity-ksmserver +This package contains the TDE session manager. It is responsible for +restoring your TDE session on login. It is also needed to properly +start a TDE session. It registers KDE with X display managers, and +provides the 'starttde' command, for starting an X session with TDE +from the console. + +If you are running TDE for the first time for a certain user, +kpersonalizer is used to help with setup. If it is not present, +TDE will start, but many good defaults will not be set. + +%files -n trinity-ksmserver +%defattr(-,root,root,-) +%{tde_bindir}/ksmserver +%{tde_bindir}/start[kt]de +%{tde_bindir}/migratekde3 +%{tde_bindir}/r14-xdg-update +%{tde_bindir}/tdeinit_displayconfig +%{tde_bindir}/tdeinit_phase1 +%{tde_tdelibdir}/ksmserver.la +%{tde_tdelibdir}/ksmserver.so +%{tde_libdir}/lib[kt]deinit_ksmserver.la +%{tde_libdir}/lib[kt]deinit_ksmserver.so +%{tde_datadir}/apps/tdeconf_update/ksmserver.upd +%{tde_datadir}/apps/tdeconf_update/move_session_config.sh +%{tde_datadir}/apps/ksmserver/pics/shutdown.png +%{tde_datadir}/apps/ksmserver/pics/shutdownkonq.png + +# Remove conflicts with redhat-menus +%if "%{?tde_prefix}" != "/usr" +%{tde_bindir}/plasma-desktop +%endif + +%post -n trinity-ksmserver +/sbin/ldconfig || : + +%postun -n trinity-ksmserver +/sbin/ldconfig || : + +########## + +%package -n trinity-ksplash +Summary: the TDE splash screen +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-ksplash +This package includes the TDE Splash screen, which is seen when +a TDE session is launched. + +%files -n trinity-ksplash +%defattr(-,root,root,-) +%{tde_bindir}/ksplash +%{tde_bindir}/ksplashsimple +%{tde_tdelibdir}/kcm_ksplashthemes.la +%{tde_tdelibdir}/kcm_ksplashthemes.so +%{tde_tdelibdir}/ksplashdefault.la +%{tde_tdelibdir}/ksplashdefault.so +%{tde_tdelibdir}/ksplashunified.la +%{tde_tdelibdir}/ksplashunified.so +%{tde_tdelibdir}/ksplashredmond.la +%{tde_tdelibdir}/ksplashredmond.so +%{tde_tdelibdir}/ksplashstandard.la +%{tde_tdelibdir}/ksplashstandard.so +%{tde_libdir}/libksplashthemes.so.* +%{tde_tdeappdir}/ksplashthememgr.desktop +%{tde_datadir}/apps/ksplash +%{tde_datadir}/services/ksplashdefault.desktop +%{tde_datadir}/services/ksplash.desktop +%{tde_datadir}/services/ksplashunified.desktop +%{tde_datadir}/services/ksplashredmond.desktop +%{tde_datadir}/services/ksplashstandard.desktop +%{tde_datadir}/servicetypes/ksplashplugins.desktop +%{tde_tdedocdir}/HTML/en/ksplashml/ + +%post -n trinity-ksplash +update-desktop-database %{tde_appdir} 2> /dev/null || : +/sbin/ldconfig || : + +%postun -n trinity-ksplash +update-desktop-database %{tde_appdir} 2> /dev/null || : +/sbin/ldconfig || : + +########## + +%package -n trinity-ksplash-devel +Summary: Development files for ksplash +Group: Development/Libraries +Requires: trinity-ksplash = %{version}-%{release} + +%description -n trinity-ksplash-devel +%{summary} + +%files -n trinity-ksplash-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/ksplash/* +%{tde_libdir}/libksplashthemes.la +%{tde_libdir}/libksplashthemes.so + +%post -n trinity-ksplash-devel +/sbin/ldconfig || : + +%postun -n trinity-ksplash-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-ksysguard +Summary: system guard for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} +Requires: trinity-ksysguardd = %{version}-%{release} + +%description -n trinity-ksysguard +TDE System Guard allows you to monitor various statistics about your +computer. + +%files -n trinity-ksysguard +%defattr(-,root,root,-) +%{tde_bindir}/kpm +%{tde_bindir}/ksysguard +%{tde_tdelibdir}/sysguard_panelapplet.la +%{tde_tdelibdir}/sysguard_panelapplet.so +%{tde_libdir}/libksgrd.so.* +%{tde_tdeappdir}/ksysguard.desktop +%{tde_datadir}/apps/kicker/applets/ksysguardapplet.desktop +%{tde_datadir}/apps/ksysguard/ +%{tde_datadir}/icons/crystalsvg/*/apps/ksysguard.png +%{tde_datadir}/mimelnk/application/x-ksysguard.desktop +%{tde_tdedocdir}/HTML/en/ksysguard/ + +%post -n trinity-ksysguard +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +%postun -n trinity-ksysguard +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +########## + +%package -n trinity-ksysguard-devel +Summary: Development files for ksysguard +Group: Development/Libraries +Requires: trinity-ksysguard = %{version}-%{release} + +%description -n trinity-ksysguard-devel +%{summary} + +%files -n trinity-ksysguard-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/ksgrd/* +%{tde_libdir}/libksgrd.la +%{tde_libdir}/libksgrd.so + +%post -n trinity-ksysguard-devel +/sbin/ldconfig || : + +%postun -n trinity-ksysguard-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-ksysguardd +Summary: system guard daemon for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-ksysguardd +TDE System Guard Daemon is the daemon part of ksysguard. The daemon can +be installed on a remote machine to enable ksysguard on another machine +to monitor it through the daemon running there. + +%files -n trinity-ksysguardd +%defattr(-,root,root,-) +%{tde_bindir}/ksysguardd +%config(noreplace) %{_sysconfdir}/trinity/ksysguarddrc + +########## + +%package -n trinity-ktip +Summary: useful tips for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-ktip +ktip provides many useful tips on using TDE when you log in. + +%files -n trinity-ktip +%defattr(-,root,root,-) +%{tde_bindir}/ktip +%{tde_tdeappdir}/ktip.desktop +%{tde_datadir}/applnk/Toys/ktip.desktop +%{tde_datadir}/apps/kdewizard/pics/wizard_small.png +%{tde_datadir}/apps/kdewizard/tips/ +%{tde_datadir}/autostart/ktip.desktop +%{tde_datadir}/icons/hicolor/*/apps/ktip.* + +%post -n trinity-ktip +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%postun -n trinity-ktip +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package -n trinity-twin +Summary: the TDE window manager +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-twin +This package contains the default X window manager for TDE. + +%files -n trinity-twin +%defattr(-,root,root,-) +%{tde_bindir}/kompmgr +%{tde_bindir}/[kt]win +%{tde_bindir}/[kt]win_killer_helper +%{tde_bindir}/[kt]win_resumer_helper +%{tde_bindir}/[kt]win_rules_dialog +%{tde_libdir}/tdeconf_update_bin/[kt]win_update_default_rules +%{tde_libdir}/tdeconf_update_bin/[kt]win_update_window_settings +%{tde_tdelibdir}/kcm_[kt]win*.la +%{tde_tdelibdir}/kcm_[kt]win*.so +%{tde_tdelibdir}/[kt]win*.la +%{tde_tdelibdir}/[kt]win*.so +%{tde_libdir}/lib[kt]decorations.so.* +%{tde_libdir}/lib[kt]deinit_[kt]win_rules_dialog.la +%{tde_libdir}/lib[kt]deinit_[kt]win_rules_dialog.so +%{tde_libdir}/lib[kt]deinit_[kt]win.la +%{tde_libdir}/lib[kt]deinit_[kt]win.so +%{tde_tdeappdir}/showdesktop.desktop +%{tde_tdeappdir}/[kt]windecoration.desktop +%{tde_tdeappdir}/[kt]winoptions.desktop +%{tde_tdeappdir}/[kt]winrules.desktop +%{tde_datadir}/applnk/.hidden/[kt]winactions.desktop +%{tde_datadir}/applnk/.hidden/[kt]winadvanced.desktop +%{tde_datadir}/applnk/.hidden/[kt]winfocus.desktop +%{tde_datadir}/applnk/.hidden/[kt]winmoving.desktop +%{tde_datadir}/applnk/.hidden/[kt]wintranslucency.desktop +%{tde_datadir}/apps/tdeconf_update/[kt]win3_plugin.pl +%{tde_datadir}/apps/tdeconf_update/[kt]win3_plugin.upd +%{tde_datadir}/apps/tdeconf_update/[kt]win_focus1.sh +%{tde_datadir}/apps/tdeconf_update/[kt]win_focus1.upd +%{tde_datadir}/apps/tdeconf_update/[kt]win_focus2.sh +%{tde_datadir}/apps/tdeconf_update/[kt]win_focus2.upd +%{tde_datadir}/apps/tdeconf_update/[kt]win_fsp_workarounds_1.upd +%{tde_datadir}/apps/tdeconf_update/[kt]winiconify.upd +%{tde_datadir}/apps/tdeconf_update/[kt]winsticky.upd +%{tde_datadir}/apps/tdeconf_update/[kt]win.upd +%{tde_datadir}/apps/tdeconf_update/[kt]winupdatewindowsettings.upd +%{tde_datadir}/apps/tdeconf_update/pluginlibFix.pl +%{tde_datadir}/apps/[kt]win/ +%{tde_datadir}/config.kcfg/[kt]win.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/[kt]win.png +%{tde_tdedocdir}/HTML/en/kompmgr/ + +%post -n trinity-twin +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +%postun -n trinity-twin +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +########## + +%package -n trinity-twin-devel +Summary: Development files for twin +Group: Development/Libraries +Requires: trinity-twin = %{version}-%{release} + +%description -n trinity-twin-devel +%{summary} + +%files -n trinity-twin-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/[kt]win/ +%{tde_tdeincludedir}/kcommondecoration.h +%{tde_tdeincludedir}/kdecoration.h +%{tde_tdeincludedir}/kdecoration_p.h +%{tde_tdeincludedir}/kdecoration_plugins_p.h +%{tde_tdeincludedir}/kdecorationfactory.h +%{tde_tdeincludedir}/KWinInterface.h +%{tde_libdir}/libtdecorations.la +%{tde_libdir}/libtdecorations.so + +%post -n trinity-twin-devel +/sbin/ldconfig || : + +%postun -n trinity-twin-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libkonq +Summary: core libraries for Konqueror +Group: Environment/Libraries + +%description -n trinity-libkonq +These libraries are used by several TDE applications, most notably +Konqueror and the kdesktop package. + +%files -n trinity-libkonq +%defattr(-,root,root,-) +%{tde_tdelibdir}/kded_favicons.la +%{tde_tdelibdir}/kded_favicons.so +%{tde_tdelibdir}/konq_sound.la +%{tde_tdelibdir}/konq_sound.so +%{tde_libdir}/libkonq.so.* +%{tde_datadir}/apps/kbookmark/directory_bookmarkbar.desktop +%{tde_datadir}/apps/tdeconf_update/favicons.upd +%{tde_datadir}/apps/tdeconf_update/move_favicons.sh +%{tde_datadir}/apps/konqueror/pics/arrow_bottomleft.png +%{tde_datadir}/apps/konqueror/pics/arrow_bottomright.png +%{tde_datadir}/apps/konqueror/pics/arrow_topleft.png +%{tde_datadir}/apps/konqueror/pics/arrow_topright.png +%{tde_datadir}/apps/konqueror/pics/thumbnailfont_7x4.png +%{tde_datadir}/services/kded/favicons.desktop +%{tde_datadir}/servicetypes/konqpopupmenuplugin.desktop + +%post -n trinity-libkonq +/sbin/ldconfig || : + +%postun -n trinity-libkonq +/sbin/ldconfig || : + +########## + +%package libtqt3-integration +Summary: Integration library between TQt3 and TDE +Group: Environment/Libraries + +Obsoletes: tdebase-libtqt3-integration < %{version}-%{release} +Provides: tdebase-libtqt3-integration = %{version}-%{release} + +%description libtqt3-integration +These libraries allow you to use TDE dialogs in native TQt3 applications. + +%files libtqt3-integration +%defattr(-,root,root,-) +%{tde_tdelibdir}/plugins/integration/libqtkde.la +%{tde_tdelibdir}/plugins/integration/libqtkde.so +%{tde_tdelibdir}/plugins/integration/libqtkde.so.* +%{tde_tdelibdir}/kded_kdeintegration.la +%{tde_tdelibdir}/kded_kdeintegration.so +%{tde_datadir}/services/kded/kdeintegration.desktop + +########## + +%package -n trinity-libkonq-devel +Summary: development files for Konqueror's core libraries +Group: Development/Libraries +Requires: trinity-libkonq = %{version}-%{release} + +%description -n trinity-libkonq-devel +This package contains headers and other development files for the core +Konqueror libraries. + +%files -n trinity-libkonq-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/tdefileivi.h +%{tde_tdeincludedir}/kivdirectoryoverlay.h +%{tde_tdeincludedir}/kivfreespaceoverlay.h +%{tde_tdeincludedir}/knewmenu.h +%{tde_tdeincludedir}/konqbookmarkmanager.h +%{tde_tdeincludedir}/konq_*.h +%{tde_tdeincludedir}/libkonq_export.h +%{tde_libdir}/libkonq.la +%{tde_libdir}/libkonq.so + +%post -n trinity-libkonq-devel +/sbin/ldconfig || : + +%postun -n trinity-libkonq-devel +/sbin/ldconfig || : + +########## + +%package tdeio-smb-plugin +Summary: Windows Connection Module for TDE +Group: Environment/Libraries + +%description tdeio-smb-plugin +This package provides the "smb://" protocol, to connect to and from +Windows and Samba shares. + +%files tdeio-smb-plugin +%defattr(-,root,root) +%{tde_tdelibdir}/kcm_samba.la +%{tde_tdelibdir}/kcm_samba.so +%{tde_tdelibdir}/tdeio_smb.la +%{tde_tdelibdir}/tdeio_smb.so +%{tde_datadir}/services/smb.protocol +%{tde_datadir}/apps/konqueror/dirtree/remote/smb-network.desktop +%{tde_datadir}/apps/remoteview/smb-network.desktop +%{tde_datadir}/mimelnk/application/x-smb-workgroup.desktop + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + + +# Applies an optional distro-specific graphical theme +%if "%{?tde_bg}" != "" +# TDM Background +%__sed -i "tdm/kfrontend/gentdmconf.c" \ + -e 's|"Wallpaper=isadora.png\n"|"Wallpaper=%{tde_bg}\n"|' + +# TDE user default background +%__sed -i "kpersonalizer/keyecandypage.cpp" \ + -e 's|#define DEFAULT_WALLPAPER "isadora.png"|#define DEFAULT_WALLPAPER "%{tde_bg}"|' +%__sed -i "starttde" \ + -e 's|/usr/share/wallpapers/isadora.png.desktop|%{tde_bg}|' \ + -e 's|Wallpaper=isadora.png|Wallpaper=%{tde_bg}|' +%endif + +# TDE branding: removes KUbuntu references [Bug #617] +%__sed -i "kcontrol/tdm/tdm-appear.cpp" \ + -e "s|Welcome to Kubuntu |Welcome to %{tde_aboutlabel} |" +%__sed -i "konqueror/about/konq_aboutpage.cc" \ + -e "s|About Kubuntu|About %{tde_aboutlabel}|" \ + -e "s|help:/kubuntu/|%{tde_aboutpage}|" \ + -e "s|Kubuntu Documentation|%{tde_aboutlabel} Documentation|" +%__sed -i "konqueror/about/launch.html" \ + -e "s|help:/kubuntu/about-kubuntu/index.html|%{tde_aboutpage}|" +%__sed -i "tdm/config.def" \ + -e "s|Welcome to Trinity |Welcome to %{tde_aboutlabel} |" + +# TDE default directory in 'starttde' script (KDEDIR) +%__sed -i "starttde" \ + -e "s|/opt/trinity|%{tde_prefix}|g" \ + -e "s|%%{tde_starticon}|%{tde_starticon}|g" + + +%build +unset QTDIR +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" +export LD_LIBRARY_PATH="%{tde_libdir}" + +# Shitty hack for RHEL4 ... +if [ -d "/usr/X11R6" ]; then + export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/X11R6/include:/usr/X11R6/%{_lib}" + export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +# Samba 4.0 includes (Fedora 18) +if [ -d "/usr/include/samba-4.0" ]; then + export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/include/samba-4.0" +fi + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DBIN_INSTALL_DIR="%{tde_bindir}" \ + -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DCONFIG_INSTALL_DIR="/etc/trinity" \ + -DSYSCONF_INSTALL_DIR="/etc/trinity" \ + -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \ + -DWITH_SASL=ON \ + -DWITH_LDAP=ON \ + -DWITH_SAMBA=ON \ + %{?with_exr:-DWITH_OPENEXR=ON} \ + -DWITH_XCOMPOSITE=ON \ + -DWITH_XCURSOR=ON \ + -DWITH_XFIXES=ON \ + %{?with_xrandr:-DWITH_XRANDR=ON} \ + -DWITH_XRENDER=ON \ + -DWITH_XDAMAGE=ON \ + -DWITH_XEXT=ON \ + %{?with_xtest:-DWITH_XTEST=ON} \ + %{?with_xscreensaver:-DWITH_XSCREENSAVER=ON} \ + %{?with_libart:-DWITH_LIBART=ON} \ + -DWITH_LIBUSB=ON \ + -DWITH_LIBRAW1394=ON \ + -DWITH_SUDO_TDESU_BACKEND=OFF \ + -DWITH_PAM=ON \ + -DWITH_SHADOW=ON \ + -DWITH_XDMCP=ON \ + -DWITH_XINERAMA=ON \ + -DWITH_ARTS=ON \ + -DWITH_I8K=ON \ + %{?with_hal:-DWITH_HAL=ON} %{?!with_hal:-DWITH_HAL=OFF} \ + -DWITH_TDEHWLIB=ON \ + -DWITH_UPOWER=ON \ + -DWITH_GCC_VISIBILITY=ON \ + -DWITH_KDESKTOP_LOCK_BACKTRACE=OFF \ + -DBUILD_ALL=ON \ +%if 0%{?suse_version} + -DKCHECKPASS_PAM_SERVICE="xdm" \ + -DTDM_PAM_SERVICE="xdm" \ + -DKSCREENSAVER_PAM_SERVICE="xdm" \ +%else + -DKCHECKPASS_PAM_SERVICE="kcheckpass-trinity" \ + -DTDM_PAM_SERVICE="tdm-trinity" \ + -DKSCREENSAVER_PAM_SERVICE="tdescreensaver-trinity" \ +%endif + %{!?with_tsak:-DBUILD_TSAK=OFF} \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{?buildroot} -C build + +# Removes obsolete Beagle-related files +%__rm -f %{?buildroot}%{tde_bindir}/khc_beagle_index.pl +%__rm -f %{?buildroot}%{tde_bindir}/khc_beagle_search.pl + +# Adds a GDM/KDM/XDM session called 'TDE' + +# Under RHEL/Fedora/Suse, static 'xsessions' files go to '/usr/share/xsessions'. +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__install -D -m 644 \ + "%{?buildroot}%{tde_datadir}/apps/tdm/sessions/tde.desktop" \ + "%{?buildroot}%{_datadir}/xsessions/tde.desktop" + +# Force session name to be 'TDE' +%__sed -i "%{?buildroot}%{_datadir}/xsessions/tde.desktop" \ + -e "s,^Name=.*,Name=TDE," +%endif + +# Mageia/Mandriva/PCLinuxOS stores its session file in different folder than RHEL/Fedora +# Generated files for TDM/KDM4 go to '/usr/share/apps/kdm/sessions' +%if 0%{?mgaversion} || 0%{?mdkversion} +%__install -d -m 755 %{?buildroot}%{_sysconfdir}/X11/wmsession.d +cat <"%{?buildroot}%{_sysconfdir}/X11/wmsession.d/45TDE" +NAME=TDE +ICON=kde-wmsession.xpm +DESC=The Trinity Desktop Environment +EXEC=%{tde_bindir}/starttde +SCRIPT: +exec %{tde_bindir}/starttde +EOF + +%__install -d -m 755 %{?buildroot}%{_datadir}/X11/dm.d +cat <"%{?buildroot}%{_datadir}/X11/dm.d/45TDE.conf" +NAME=TDM +DESCRIPTION=TDM (Trinity Display Manager) +PACKAGE=trinity-tdm +EXEC=%{tde_bindir}/tdm +FNDSESSION_EXEC="/usr/sbin/chksession -k" +EOF +%endif + +# TDE 3.5.12: add script "plasma-desktop" to avoid conflict with KDE4 +%if "%{?tde_prefix}" != "/usr" +%__install -m 755 "%{SOURCE1}" "%{?buildroot}%{tde_bindir}" +%endif + +# PAM configuration files (except openSUSE) +%if 0%{?suse_version} == 0 +%__install -D -m 644 "%{SOURCE2}" "%{?buildroot}%{_sysconfdir}/pam.d/tdm-trinity" +%__install -D -m 644 "%{SOURCE3}" "%{?buildroot}%{_sysconfdir}/pam.d/tdm-trinity-np" +%__install -D -m 644 "%{SOURCE4}" "%{?buildroot}%{_sysconfdir}/pam.d/kcheckpass-trinity" +%__install -D -m 644 "%{SOURCE5}" "%{?buildroot}%{_sysconfdir}/pam.d/tdescreensaver-trinity" +%endif + +# TDM configuration +%__sed -i "%{?buildroot}%{_sysconfdir}/trinity/tdm/tdmrc" \ +%if 0%{?fedora} >= 16 || 0%{?suse_version} >= 1220 + -e "s/^#*MinShowUID=.*/MinShowUID=1000/" +%else + -e "s/^#*MinShowUID=.*/MinShowUID=500/" +%endif + +# Moves the XDG configuration files to TDE directory +%if "%{tde_prefix}" != "/usr" +%__mkdir_p "%{?buildroot}%{tde_prefix}/etc" +%__mv -f "%{?buildroot}%{_sysconfdir}/xdg" "%{?buildroot}%{tde_prefix}/etc" +%endif + +# Symlinks 'usb.ids' (Use system-provided version, not TDE provided version) +%__rm -f "%{?buildroot}%{tde_datadir}/apps/usb.ids" +%if 0%{?suse_version} +%__ln_s -f "/usr/share/usb.ids" "%{?buildroot}%{tde_datadir}/apps/usb.ids" +%else +%__ln_s -f "/usr/share/hwdata/usb.ids" "%{?buildroot}%{tde_datadir}/apps/usb.ids" +%endif + +# Makes 'media_safelyremove.desktop' an alternative +%__mv -f "%{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop" "%{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase" +%__ln_s "%{_sysconfdir}/alternatives/media_safelyremove.desktop_tdebase" "%{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop" +%__mkdir_p "%{?buildroot}%{_sysconfdir}/alternatives" +%__ln_s "%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase" "%{?buildroot}%{_sysconfdir}/alternatives/media_safelyremove.desktop_tdebase" + +# SUSE: creates DM config file, used by '/etc/init.d/xdm' +# You must set 'DISPLAYMANAGER=tdm' in '/etc/sysconfig/displaymanager' +%if 0%{?suse_version} +%__install -D -m 644 "%{SOURCE6}" "%{?buildroot}/usr/lib/X11/displaymanagers/tdm" +%__sed -i "%{?buildroot}/usr/lib/X11/displaymanagers/tdm" -e "s|/opt/trinity/bin|%{tde_bindir}|g" +%endif + +# Fedora 18: no more SYSV init script, we have to use systemd. +%if 0%{?fedora} >= 18 +%__install -D -m 644 "%{SOURCE7}" "%{?buildroot}/usr/lib/systemd/system/tdm.service" +%endif + +# Symlink TDM configuration +%__mkdir_p "%{?buildroot}%{tde_datadir}/config" +%__ln_s "%{_sysconfdir}/trinity/tdm" "%{?buildroot}%{tde_datadir}/config/tdm" + +# SELINUX policy +%if 0%{?with_selinux_policy} +%__install -D -m 644 "%{SOURCE8}" "%{?buildroot}%{?_sysconfdir}/trinity/tdm/tdm.pp" +%endif + +# Mageia icon +%if 0%{?mgaversion} >= 3 +%__install -D -m 644 %{SOURCE9} %{?buildroot}%{tde_datadir}/oxygen/scalable/mgabutton.svg +%endif + + +%clean +%__rm -rf %{?buildroot} + + +%changelog +* Sun Mar 04 2012 Francois Andriot - 14.0.0-1 +- Initial build for TDE R14, using 'tqt3' instead of 'qt3' diff --git a/redhat/tdebase/tdebase-3.5.13.2.spec b/redhat/tdebase/tdebase-3.5.13.2.spec new file mode 100644 index 000000000..48e7b887a --- /dev/null +++ b/redhat/tdebase/tdebase-3.5.13.2.spec @@ -0,0 +1,3511 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +# Older RHEL/Fedora versions use packages named "qt", "qt-devel", .. +# whereas newer versions use "qt3", "qt3-devel" ... +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 8 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define _qt_suffix 3 +%endif + + +Name: trinity-tdebase +Version: 3.5.13.2 +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} +License: GPL +Summary: Trinity Base Programs +Group: User Interface/Desktops + +Obsoletes: trinity-kdebase < %{version}-%{release} +Provides: trinity-kdebase = %{version}-%{release} +Obsoletes: trinity-kdebase-libs < %{version}-%{release} +Provides: trinity-kdebase-libs = %{version}-%{release} +Obsoletes: trinity-kdebase-extras < %{version}-%{release} +Provides: trinity-kdebase-extras = %{version}-%{release} +Obsoletes: tdebase < %{version}-%{release} +Provides: tdebase = %{version}-%{release} + + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz + +# Wrapper script to prevent Plasma launch at Trinity Startup +Source1: plasma-desktop + +# Pam configuration files for RHEL / Fedora +%if 0%{?suse_version} == 0 +Source2: pamd.kdm-trinity%{?dist} +Source3: pamd.kdm-trinity-np%{?dist} +Source4: pamd.kcheckpass-trinity%{?dist} +Source5: pamd.kscreensaver-trinity%{?dist} +%endif + +# openSUSE: configuration file for TDM +Source6: suse-displaymanagers-tdm + +# Fedora 18: use SYSTEMD for TDM startup +%if 0%{?fedora} >= 18 +Source7: tdm.service%{?dist} +%endif + +# Fedora 17: special selinux policy required +%if 0%{?fedora} == 17 || 0%{?rhel} == 6 +%define with_selinux_policy 1 +Source8: tdm%{?dist}.pp +%endif + +%if 0%{?mgaversion} >= 3 +Source9: mgabutton.svg +%endif + +# TDE 3.5.13 patches +## [kdebase/kdesu] Remove 'ignore' button on 'kdesu' dialog box [RHEL/Fedora] +Patch1: tdebase-3.5.13.2-kdesu-noignorebutton.patch +## [kdebase/kdesktop] Modifies 'open terminal here' on desktop [RHEL/Fedora] +Patch2: kdebase-3.5.12-desktop-openterminalhere.patch +## [kdebase/kdm/kfrontend] Global Xsession file is '/etc/X11/xinit/Xsession' [RHEL/Fedora] +Patch3: kdebase-3.5.13-genkdmconf_Xsession_location.patch +## [kdebase/kdm/kfrontend] Global Xsession file is '/etc/X11/xdm/Xsession' [openSUSE] +Patch4: kdebase-3.5.13-genkdmconf_Xsession_location_xdm.patch +## [kdebase/startkde] Sets default Start Icon in 'kickerrc' [RHEL/Fedora] +Patch5: kdebase-3.5.13.1-startkde_icon.patch +## [kdebase/kdm/kfrontend] Allows to hide KDM menu button [RHEL/Fedora] +Patch6: kdebase-3.5.12-kdm_hide_menu_button.patch +## [kdebase/kdm] Fix PID file is 'tdm.pid' instead of 'kdm.pid' (needed for openSUSE) +Patch7: kdebase-3.5.13.1-fix_tdm_pid_file.patch +## [kdebase/kicker] Fixes for Kickoff menu +Patch8: tdebase-3.5.13.2-kickoff_default_favs.patch +## [kdebase/kcontrol] Adds FR translation for KCM ICC +Patch9: tdebase-3.5.13.2-displayconfig_translation.patch + +# Patches from Mandriva +Patch101: tdebase-3.5.13.2-vibrate_dialog.patch +Patch102: tdebase-3.5.13.2-kcontrol_menu_entry.patch +Patch103: tdebase-3.5.13.2-kdesktop_crossfade.patch +Patch104: tdebase-3.5.13.2-kickoff_xdg_dirs.patch +Patch105: tdebase-3.5.13.2-suspend_unmount.patch +Patch106: tdebase-3.5.13.2-bookmark_global_copy.patch + + +### Specific patches for RHEL4 (should not go upstream) + +## [tdebase] Fix build on RHEL4, detect old libraries without pkg file +Patch201: kdebase-3.5.13-fix_lib_detection.patch +## [tdebase] Do not build against DBUS-TQT, only DBUS and DBUS-QT +Patch202: kdebase-3.5.13.2-build_without_dbustqt.patch +## [tdebase] Do not build against ConsoleKit +Patch203: kdebase-3.5.13-build_without_consolekit.patch +## [tdebase] Add WITH_COMPOSITE option to CMakeLists.txt +Patch204: kdebase-3.5.13.2-add_disable_composite_option.patch +## [tdebase] Downgrade halbackend to support Hal 0.4 +Patch205: kdebase-3.5.13-support_hal_04.patch +## [tdebase] Other(s) FTBFS ... +Patch206: kdebase-3.5.13-fix_rhel4_compilation.patch + +### Distribution-specific settings ### + +# Fedora 15 Theme: "Lovelock" +%if 0%{?fedora} == 15 +Requires: lovelock-backgrounds-single +%define tde_bg /usr/share/backgrounds/lovelock/default/standard/lovelock.png +%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png + +Requires: fedora-release-notes +%define tde_aboutlabel Fedora 15 +%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html +%endif + +# Fedora 16 Theme: "Verne" +%if 0%{?fedora} == 16 +Requires: verne-backgrounds-single +%define tde_bg /usr/share/backgrounds/verne/default/standard/verne.png +%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png + +Requires: fedora-release-notes +%define tde_aboutlabel Fedora 16 +%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html +%endif + +# Fedora 17 Theme: "Beefy Miracle" +%if 0%{?fedora} == 17 +Requires: beefy-miracle-backgrounds-single +%define tde_bg /usr/share/backgrounds/beefy-miracle/default/standard/beefy-miracle.png +%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png + +Requires: fedora-release-notes +%define tde_aboutlabel Fedora 17 +%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html +%endif + +# Fedora 18 Theme: "Spherical Cow" +%if 0%{?fedora} == 18 +Requires: spherical-cow-backgrounds-single +%define tde_bg /usr/share/backgrounds/spherical-cow/default/standard/spherical-cow.png +Requires: fedora-logos +%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png + +Requires: fedora-release-notes +%define tde_aboutlabel Fedora 18 +%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html +%endif + +# RHEL 4 Theme +%if 0%{?rhel} == 4 +Requires: desktop-backgrounds-basic +%define tde_bg /usr/share/backgrounds/images/default.png +Requires: redhat-logos +%define tde_starticon /usr/share/pixmaps/redhat/rpmlogo-64.xpm + +Requires: indexhtml +%define tde_aboutlabel Enterprise Linux 4 +%define tde_aboutpage /usr/share/doc/HTML/index.html +%endif + +# RHEL 5 Theme +%if 0%{?rhel} == 5 +Requires: desktop-backgrounds-basic +%define tde_bg /usr/share/backgrounds/images/default.jpg +%define tde_starticon /usr/share/pixmaps/redhat-starthere.png + +Requires: indexhtml +%define tde_aboutlabel Enterprise Linux 5 +%define tde_aboutpage /usr/share/doc/HTML/index.html +%endif + +# RHEL 6 Theme +%if 0%{?rhel} == 6 +Requires: redhat-logos +%define tde_bg /usr/share/backgrounds/default.png +%define tde_starticon /usr/share/icons/hicolor/96x96/apps/system-logo-icon.png + +Requires: redhat-indexhtml +%define tde_aboutlabel Enterprise Linux 6 +%define tde_aboutpage /usr/share/doc/HTML/index.html +%endif + +# Mageia 2 Theme +%if 0%{?mgaversion} == 2 +Requires: mageia-theme-Default +%define tde_bg /usr/share/mga/backgrounds/default.jpg +%define tde_starticon /usr/share/icons/hicolor/scalable/apps/mageia-menu.svg + +Requires: indexhtml +%define tde_aboutlabel Mageia 2 +%define tde_aboutpage /usr/share/mga/about/index.html +%endif + +# Mageia 3 Theme +%if 0%{?mgaversion} == 3 +Requires: mageia-theme-Default +%define tde_bg /usr/share/mga/backgrounds/default.jpg +%define tde_starticon %{tde_datadir}/oxygen/scalable/mgabutton.svg + +Requires: indexhtml +%define tde_aboutlabel Mageia 3 +%define tde_aboutpage /usr/share/mga/about/index.html +%endif + +# Mandriva 2011 Theme: "rosa" +%if "%{distribution}" == "Mandriva Linux" && "%{?mdkversion}" == "201100" +Requires: mandriva-theme +%define tde_bg /usr/share/mdk/backgrounds/default.jpg +%define tde_starticon /usr/share/icons/mandriva.png + +Requires: indexhtml +%define tde_aboutlabel Mandriva 2011 +%define tde_aboutpage /usr/share/mdk/about/index.html +%endif + +# PCLINUXOS 2012 +%if "%{?pclinuxos}" == "2012" +Requires: trinity-wallpaper-theme-default +%define tde_bg %{tde_datadir}/wallpapers/Pulse2012/contents/images/1600x1200.jpg +Requires: desktop-common-data +%define tde_starticon /usr/share/icons/pclinuxos.png + +Requires: indexhtml +%define tde_aboutlabel PCLinuxOS 2012 +%define tde_aboutpage /usr/share/mdk/about/index.html +%endif + +# PCLINUXOS 2013 +%if "%{?pclinuxos}" == "2013" +Requires: trinity-wallpaper-theme-default +%if "%{_lib}" == "lib64" +%define tde_bg %{tde_datadir}/wallpapers/pclinuxos64.jpg +%else +%define tde_bg %{tde_datadir}/wallpapers/pclinuxos32.jpg +%endif +Requires: desktop-common-data +%define tde_starticon /usr/share/icons/pclinuxos.png + +Requires: indexhtml +%define tde_aboutlabel PCLinuxOS 2013 +%define tde_aboutpage /usr/share/mdk/about/index.html +%endif + +# OpenSuse 11.4 Theme +%if "%{?suse_version}" == "1140" +Requires: hicolor-icon-theme-branding +%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg + +Requires: opensuse-manuals_en +%define tde_aboutlabel OpenSuse 11.4 +%define tde_aboutpage /usr/share/doc/manual/opensuse-manuals_en/manual/book.opensuse.startup.html +%endif + +# OpenSuse 12.2 Theme +%if "%{?suse_version}" == "1220" +Requires: wallpaper-branding +%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg +Requires: hicolor-icon-theme-branding +%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg + +Requires: opensuse-manuals_en +%define tde_aboutlabel OpenSuse 12.2 +%define tde_aboutpage /usr/share/doc/manual/opensuse-manuals_en/book.opensuse.startup.html +%endif + +# OpenSuse 12.3 Theme +%if "%{?suse_version}" == "1230" +Requires: wallpaper-branding +%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg +Requires: hicolor-icon-theme-branding +%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg + +Requires: opensuse-manuals_en +%define tde_aboutlabel OpenSuse 12.3 +%define tde_aboutpage /usr/share/doc/manual/opensuse-manuals_en/book.opensuse.startup.html +%endif + +BuildRequires: cmake >= 2.8 +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: gcc-c++ +BuildRequires: make +BuildRequires: qt%{?_qt_suffix}-devel +BuildRequires: openssl-devel +BuildRequires: audiofile-devel +BuildRequires: alsa-lib-devel +BuildRequires: libraw1394-devel +BuildRequires: libvorbis-devel +BuildRequires: glib2-devel +BuildRequires: pcre-devel + +# LIBUSB support +BuildRequires: pam-devel +%if 0%{?mageia} || 0%{?mandriva} || 0%{?pclinuxos} +BuildRequires: %{_lib}usb1.0-devel +BuildRequires: %{_lib}usb-compat0.1-devel +%else +BuildRequires: libusb-devel +%endif + +# ESOUND support +%if 0%{?rhel} || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} +%define with_esound 1 +BuildRequires: esound-devel +%endif + +# OPENLDAP support +%if 0%{?suse_version} +BuildRequires: openldap2-devel +%else +BuildRequires: openldap-devel +%endif + +# SENSORS support +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} +BuildRequires: lm_sensors-devel +%endif +%if 0%{?suse_version} +BuildRequires: libsensors4-devel +%endif + +# TSAK support (requires libudev-devel) +# On RHEL5, udev is built statically, so TSAK cannot build. +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version} +%define with_tsak 1 +BuildRequires: libudev-devel +%endif + +# XRANDR support +# On RHEL5, xrandr library is too old. +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version} +%define with_xrandr 1 +%endif + +# XTEST support +# On RHEL4, xtest library is too old. +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} +%define with_xtest 1 +%endif + +# HAL support +# On RHEL4, we do not use HAL (too old) +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} +%define with_hal 1 +BuildRequires: hal-devel >= 0.4.8 +%endif + +# OPENEXR support +# Disabled on RHEL4 +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} +%define with_exr 1 +BuildRequires: OpenEXR-devel +%endif + +# XSCREENSAVER support +# Disabled on RHEL4 +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} +%define with_xscreensaver 1 +%if 0%{?rhel} == 5 +BuildRequires: xorg-x11-proto-devel +BuildRequires: gnome-screensaver +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel +%endif +%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} >= 1220 +BuildRequires: libXScrnSaver-devel +%endif +%if 0%{?suse_version} == 1140 +BuildRequires: xscreensaver +%endif +%endif + +# AVAHI support +# Disabled on RHEL4 and RHEL5 +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version} +BuildRequires: trinity-avahi-tqt-devel +Requires: trinity-avahi-tqt +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}avahi-client-devel +Requires: %{_lib}avahi-client3 +%else +BuildRequires: avahi-devel +Requires: avahi +%endif +%endif + +# NAS support +# (what is nas btw ?) +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: nas-devel +%endif + +# DBUS support +# TQT bindings not available for RHEL4 +%if 0%{?rhel} == 4 +# Dbus bindings were rebuilt with Qt support +BuildRequires: dbus-devel >= 0.22-12.EL.9p1 +Requires: dbus-qt +%else +BuildRequires: trinity-dbus-tqt-devel +Requires: trinity-dbus-tqt >= %{version} +%endif + +%if 0%{?fedora} >= 17 +BuildRequires: perl-Digest-MD5 +%endif + +# JACK support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}jack-devel +%endif +%if 0%{?fedora} || 0%{?rhel} >= 5 +BuildRequires: jack-audio-connection-kit-devel +%endif + +# LIBART support +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} || 0%{?fedora} || 0%{?rhel} >= 5 +%define with_libart 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}art_lgpl-devel +%endif +%if 0%{?suse_version} || 0%{?fedora} || 0%{?rhel} +BuildRequires: libart_lgpl-devel +%endif +%endif + +# SAMBA support +%if 0%{?rhel} == 4 +BuildRequires: samba-common +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} +BuildRequires: libsmbclient-devel +%endif + +# IMAKE +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} >= 1220 +BuildRequires: imake +%endif + +# X11 stuff ... +%if 0%{?rhel} == 4 +BuildRequires: xorg-x11-devel +%endif + +%if 0%{?suse_version} == 1140 +BuildRequires: xorg-x11-libxkbfile-devel +BuildRequires: xorg-x11-libfontenc-devel +%endif + +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} >= 1220 +BuildRequires: libxkbfile-devel +BuildRequires: libfontenc-devel +%endif + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel +BuildRequires: %{_lib}xdamage-devel +BuildRequires: %{_lib}xdmcp%{?mgaversion:6}-devel +BuildRequires: %{_lib}xtst%{?mgaversion:6}-devel +BuildRequires: x11-font-util +BuildRequires: x11-proto-devel +%endif + +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 +BuildRequires: libXcomposite-devel +BuildRequires: libXdamage-devel +BuildRequires: libXdmcp-devel +BuildRequires: libXtst-devel +BuildRequires: xorg-x11-proto-devel +%endif + +%if 0%{?rhel} >= 5 || 0%{?fedora} +BuildRequires: xorg-x11-font-utils +%endif + +%if 0%{?suse_version} >= 1220 +BuildRequires: font-util +BuildRequires: bdftopcf +%endif + +%if 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: drakconf +%endif + +# tdebase is a metapackage that installs all sub-packages +Requires: %{name}-runtime-data-common = %{version}-%{release} +Requires: %{name}-data = %{version}-%{release} +Requires: %{name}-bin = %{version}-%{release} +Requires: %{name}-tdeio-plugins = %{version}-%{release} +Requires: %{name}-tdeio-pim-plugins = %{version}-%{release} +Requires: trinity-kappfinder = %{version}-%{release} +Requires: trinity-kate = %{version}-%{release} +Requires: trinity-kwrite = %{version}-%{release} +Requires: trinity-kcontrol = %{version}-%{release} +Requires: trinity-kdepasswd = %{version}-%{release} +Requires: trinity-tdeprint = %{version}-%{release} +Requires: trinity-kdesktop = %{version}-%{release} +Requires: trinity-tdm = %{version}-%{release} +Requires: trinity-kfind = %{version}-%{release} +Requires: trinity-khelpcenter = %{version}-%{release} +Requires: trinity-kicker = %{version}-%{release} +Requires: trinity-klipper = %{version}-%{release} +Requires: trinity-kmenuedit = %{version}-%{release} +Requires: trinity-konqueror = %{version}-%{release} +Requires: trinity-konqueror-nsplugins = %{version}-%{release} +Requires: trinity-konsole = %{version}-%{release} +Requires: trinity-kpager = %{version}-%{release} +Requires: trinity-kpersonalizer = %{version}-%{release} +Requires: trinity-ksmserver = %{version}-%{release} +Requires: trinity-ksplash = %{version}-%{release} +Requires: trinity-ksysguard = %{version}-%{release} +Requires: trinity-ksysguardd = %{version}-%{release} +Requires: trinity-ktip = %{version}-%{release} +Requires: trinity-twin = %{version}-%{release} +Requires: trinity-libkonq = %{version}-%{release} +Requires: %{name}-libtqt3-integration = %{version}-%{release} +Requires: %{name}-tdeio-smb-plugin = %{version}-%{release} + +Requires: trinity-tqtinterface >= %{version} +Requires: trinity-arts >= %{version} +Requires: trinity-tdelibs >= %{version} +Requires: qt%{?_qt_suffix} +Requires: openssl + + +# RHEL 6 Configuration files are provided in separate packages +%if 0%{?rhel} || 0%{?fedora} +%if "%{?tde_prefix}" == "/usr" +Requires: kde-settings-kdm +%endif +Requires: redhat-menus +%endif + +%if 0%{?suse_version} +Requires: desktop-data-openSUSE +%endif + +%description +TDE (the Trinity Desktop Environment) is a powerful Open Source graphical +desktop environment for Unix workstations. It combines ease of use, +contemporary functionality, and outstanding graphical design with the +technological superiority of the Unix operating system. + +This metapackage includes the nucleus of TDE, namely the minimal package +set necessary to run TDE as a desktop environment. This includes the +window manager, taskbar, control center, a text editor, file manager, +web browser, X terminal emulator, and many other programs and components. + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING COPYING-DOCS README README.pam + +########## + +%package devel +Summary: %{summary} - Development files +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: trinity-tdelibs-devel + +Requires: %{name}-bin-devel = %{version}-%{release} +Requires: trinity-kate-devel = %{version}-%{release} +Requires: trinity-kcontrol-devel = %{version}-%{release} +Requires: trinity-kdesktop-devel = %{version}-%{release} +Requires: trinity-kicker-devel = %{version}-%{release} +Requires: trinity-konqueror-devel = %{version}-%{release} +Requires: trinity-ksplash-devel = %{version}-%{release} +Requires: trinity-ksysguard-devel = %{version}-%{release} +Requires: trinity-libkonq-devel = %{version}-%{release} +Requires: trinity-tdm-devel = %{version}-%{release} +Requires: trinity-twin-devel = %{version}-%{release} + +Provides: trinity-kdebase-devel = %{version}-%{release} +Obsoletes: trinity-kdebase-devel < %{version}-%{release} +Provides: tdebase-devel = %{version}-%{release} +Obsoletes: tdebase-devel < %{version}-%{release} + +Obsoletes: trinity-kdebase-cmake < %{version}-%{release} +Obsoletes: tdebase-cmake < %{version}-%{release} + +%description devel +This is a meta-package that installs all tdebase development packages. + +Header files for developing applications using %{name}. +Install tdebase-devel if you want to develop or compile Konqueror, +Kate plugins or KWin styles. + +%files devel +%defattr(-,root,root,-) +%{tde_datadir}/cmake/*.cmake + +########## + +%package tdeio-pim-plugins +Summary: PIM TDEIOslaves from %{name} +Group: Environment/Libraries + +Provides: trinity-kdebase-pim-ioslaves = %{version}-%{release} +Obsoletes: trinity-kdebase-pim-ioslaves < %{version}-%{release} +Provides: tdebase-kio-pim-plugins = %{version}-%{release} +Obsoletes: tdebase-kio-pim-plugins < %{version}-%{release} +Provides: trinity-tdebase-kio-pim-plugins = %{version}-%{release} +Obsoletes: trinity-tdebase-kio-pim-plugins < %{version}-%{release} + +%description tdeio-pim-plugins +Protocol handlers (TDEIOslaves) for personal information management, including: + * kio_ldap + * kio_nntp + * kio_pop3 + * kio_smtp + +%files tdeio-pim-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/kio_ldap.la +%{tde_tdelibdir}/kio_ldap.so +%{tde_tdelibdir}/kio_nntp.la +%{tde_tdelibdir}/kio_nntp.so +%{tde_tdelibdir}/kio_pop3.la +%{tde_tdelibdir}/kio_pop3.so +%{tde_tdelibdir}/kio_smtp.la +%{tde_tdelibdir}/kio_smtp.so +%{tde_datadir}/services/ldap.protocol +%{tde_datadir}/services/ldaps.protocol +%{tde_datadir}/services/nntp.protocol +%{tde_datadir}/services/nntps.protocol +%{tde_datadir}/services/pop3.protocol +%{tde_datadir}/services/pop3s.protocol +%{tde_datadir}/services/smtp.protocol +%{tde_datadir}/services/smtps.protocol + +########## + +%package runtime-data-common +Summary: Shared common files for Trinity and KDE4 +Group: Environment/Libraries + +Provides: tdebase-runtime-data-common = %{version}-%{release} +Obsoletes: tdebase-runtime-data-common < %{version}-%{release} + +%description runtime-data-common +Shared common files for both Trinity and KDE4 +Such as the desktop right-click-"Create New" list + +%files runtime-data-common +%defattr(-,root,root,-) +%{tde_datadir}/autostart/khotkeys.desktop +%{tde_datadir}/desktop-directories/* +%{tde_datadir}/icons/hicolor/*/apps/kxkb.png +%{tde_datadir}/icons/hicolor/*/apps/knetattach.* +%{tde_datadir}/icons/hicolor/*/apps/khotkeys.png +%{tde_datadir}/icons/hicolor/*/apps/kmenuedit.png +%{tde_datadir}/icons/hicolor/*/apps/ksplash.png +%{tde_datadir}/locale/en_US/entry.desktop +%{tde_datadir}/locale/l10n/*.desktop +%{tde_datadir}/locale/l10n/*/entry.desktop +%{tde_datadir}/locale/l10n/*/flag.png +%{tde_datadir}/sounds/pop.wav +%{tde_datadir}/templates + +%post runtime-data-common +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%postun runtime-data-common +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package -n trinity-kappfinder +Summary: non-TDE application finder for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-kappfinder +kappfinder searches your workstation for many common applications and +creates menu entries for them. + +%files -n trinity-kappfinder +%defattr(-,root,root,-) +%{tde_bindir}/kappfinder +%{tde_tdeappdir}/kappfinder.desktop +%{tde_datadir}/applnk/System/kappfinder.desktop +%{tde_datadir}/apps/kappfinder +%{tde_datadir}/icons/hicolor/*/apps/kappfinder.png + +%post -n trinity-kappfinder +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%postun -n trinity-kappfinder +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database %{tde_appdir} 2> /dev/null || : + +########## + +%package -n trinity-libkateinterfaces +Summary: Common libraries used by kwrite and kate +Group: Environment/Libraries + +%description -n trinity-libkateinterfaces +%{summary} + +%files -n trinity-libkateinterfaces +%defattr(-,root,root,-) +%{tde_libdir}/libkateinterfaces.so.* + +%post -n trinity-libkateinterfaces +/sbin/ldconfig || : + +%postun -n trinity-libkateinterfaces +/sbin/ldconfig || : + +########## + +%package -n trinity-kate +Summary: advanced text editor for TDE +Group: Applications/Text +Requires: %{name}-data = %{version}-%{release} +Requires: trinity-kwrite = %{version}-%{release} +Requires: trinity-libkateinterfaces = %{version}-%{release} + +%description -n trinity-kate +Kate is a multi document editor, based on a rewritten version of the kwrite +editing widget of TDE. + +It is a multi-view editor that lets you view several instances of the same +document with all instances being synced, or view more files at the same +time for easy reference or simultaneous editing. The terminal emulation +and sidebar are docked windows that can be plugged out of the main window, +or replaced therein according to your preference. + +Some random features: +* Editing of big files +* Extensible syntax highlighting +* Folding +* Dynamic word wrap +* Selectable encoding +* Filter command +* Global grep dialog + +%files -n trinity-kate +%defattr(-,root,root,-) +%{tde_bindir}/kate +%{tde_tdelibdir}/kate.la +%{tde_tdelibdir}/kate.so +%{tde_libdir}/libkateutils.so.* +%{tde_libdir}/lib[kt]deinit_kate.la +%{tde_libdir}/lib[kt]deinit_kate.so +%{tde_tdeappdir}/kate.desktop +%{tde_datadir}/apps/kate/ +%{tde_datadir}/apps/kconf_update/kate-2.4.upd +%{_sysconfdir}/trinity/katerc +%{tde_datadir}/icons/hicolor/*/apps/kate.png +%{tde_datadir}/icons/hicolor/*/apps/kate2.svgz +%{tde_datadir}/servicetypes/kateplugin.desktop +%{tde_tdedocdir}/HTML/en/kate/ + +%post -n trinity-kate +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database %{tde_appdir} 2> /dev/null || : +/sbin/ldconfig || : + +%postun -n trinity-kate +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database %{tde_appdir} 2> /dev/null || : +/sbin/ldconfig || : + +########## + +%package -n trinity-kate-devel +Summary: Development files for kate +Group: Development/Libraries +Requires: trinity-kate = %{version}-%{release} + +%description -n trinity-kate-devel +%{summary} + +%files -n trinity-kate-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kate/ +%{tde_libdir}/libkateutils.so +%{tde_libdir}/libkateutils.la +%{tde_libdir}/libkateinterfaces.so +%{tde_libdir}/libkateinterfaces.la + +%post -n trinity-kate-devel +/sbin/ldconfig || : + +%postun -n trinity-kate-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-kwrite +Summary: advanced text editor for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} +Requires: trinity-libkateinterfaces = %{version}-%{release} + +%description -n trinity-kwrite +Kwrite is a text editor for TDE. + +%files -n trinity-kwrite +%defattr(-,root,root,-) +%{tde_bindir}/kwrite +%{tde_tdelibdir}/kwrite.la +%{tde_tdelibdir}/kwrite.so +%{tde_libdir}/lib[kt]deinit_kwrite.la +%{tde_libdir}/lib[kt]deinit_kwrite.so +%{tde_tdeappdir}/kwrite.desktop +%{tde_datadir}/apps/kwrite/kwriteui.rc +%{tde_datadir}/icons/hicolor/*/apps/kwrite.png +%{tde_datadir}/icons/hicolor/*/apps/kwrite2.svgz +%{tde_tdedocdir}/HTML/en/kwrite/ + + +%post -n trinity-kwrite +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%postun -n trinity-kwrite +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database %{tde_appdir} 2> /dev/null || : + +########## + +%package -n trinity-kcontrol +Summary: control center for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +# Requires 'usb.ids' +Requires: usbutils +%if 0%{?suse_version} == 0 +Requires: hwdata +%endif + +%description -n trinity-kcontrol +The TDE Control Center provides you with a centralized and convenient +way to configure all of your TDE settings. + +It is made up of multiple modules. Each module is a separate application, +but the control center organizes all of these programs into a convenient +location. + +In combination with udev KControl supports the advanced +configuration of Logitech mice, though the user must be a member of the +plugdev group. + +%files -n trinity-kcontrol +%defattr(-,root,root,-) +%{tde_bindir}/kaccess +%{tde_bindir}/kcontrol +%{tde_bindir}/kdeinstallktheme +%{tde_bindir}/keditfiletype +%{tde_bindir}/kfontinst +%{tde_bindir}/kfontview +%{tde_bindir}/kinfocenter +%{tde_bindir}/klocaldomainurifilterhelper +%{tde_bindir}/krdb +%{tde_tdelibdir}/fontthumbnail.la +%{tde_tdelibdir}/fontthumbnail.so +%{tde_tdelibdir}/kaccess.la +%{tde_tdelibdir}/kaccess.so +%{tde_tdelibdir}/kcm_access.la +%{tde_tdelibdir}/kcm_access.so +%{tde_tdelibdir}/kcm_arts.la +%{tde_tdelibdir}/kcm_arts.so +%{tde_tdelibdir}/kcm_background.la +%{tde_tdelibdir}/kcm_background.so +%{tde_tdelibdir}/kcm_bell.la +%{tde_tdelibdir}/kcm_bell.so +%{tde_tdelibdir}/kcm_clock.la +%{tde_tdelibdir}/kcm_clock.so +%{tde_tdelibdir}/kcm_colors.la +%{tde_tdelibdir}/kcm_colors.so +%{tde_tdelibdir}/kcm_componentchooser.la +%{tde_tdelibdir}/kcm_componentchooser.so +%{tde_tdelibdir}/kcm_crypto.la +%{tde_tdelibdir}/kcm_crypto.so +%{tde_tdelibdir}/kcm_css.la +%{tde_tdelibdir}/kcm_css.so +%{tde_tdelibdir}/kcm_display.la +%{tde_tdelibdir}/kcm_display.so +%{tde_tdelibdir}/kcm_energy.la +%{tde_tdelibdir}/kcm_energy.so +%{tde_tdelibdir}/kcm_filetypes.la +%{tde_tdelibdir}/kcm_filetypes.so +%{tde_tdelibdir}/kcm_fontinst.la +%{tde_tdelibdir}/kcm_fontinst.so +%{tde_tdelibdir}/kcm_fonts.la +%{tde_tdelibdir}/kcm_fonts.so +#%{tde_tdelibdir}/kcm_hwmanager.la +#%{tde_tdelibdir}/kcm_hwmanager.so +%{tde_tdelibdir}/kcm_icons.la +%{tde_tdelibdir}/kcm_icons.so +%{tde_tdelibdir}/kcm_info.la +%{tde_tdelibdir}/kcm_info.so +%{tde_tdelibdir}/kcm_input.la +%{tde_tdelibdir}/kcm_input.so +%{tde_tdelibdir}/kcm_ioslaveinfo.la +%{tde_tdelibdir}/kcm_ioslaveinfo.so +%{tde_tdelibdir}/kcm_joystick.la +%{tde_tdelibdir}/kcm_joystick.so +%{tde_tdelibdir}/kcm_kded.la +%{tde_tdelibdir}/kcm_kded.so +%{tde_tdelibdir}/kcm_[kt]dm.la +%{tde_tdelibdir}/kcm_[kt]dm.so +%{tde_tdelibdir}/kcm_kdnssd.so +%{tde_tdelibdir}/kcm_kdnssd.la +%{tde_tdelibdir}/kcm_keys.la +%{tde_tdelibdir}/kcm_keys.so +%{tde_tdelibdir}/kcm_kicker.la +%{tde_tdelibdir}/kcm_kicker.so +%{tde_tdelibdir}/kcm_kio.la +%{tde_tdelibdir}/kcm_kio.so +%{tde_tdelibdir}/kcm_knotify.la +%{tde_tdelibdir}/kcm_knotify.so +%{tde_tdelibdir}/kcm_konqhtml.la +%{tde_tdelibdir}/kcm_konqhtml.so +%{tde_tdelibdir}/kcm_konq.la +%{tde_tdelibdir}/kcm_konq.so +%{tde_tdelibdir}/kcm_kthememanager.la +%{tde_tdelibdir}/kcm_kthememanager.so +%{tde_tdelibdir}/kcm_kurifilt.la +%{tde_tdelibdir}/kcm_kurifilt.so +%{tde_tdelibdir}/kcm_launch.la +%{tde_tdelibdir}/kcm_launch.so +%{tde_tdelibdir}/kcm_locale.la +%{tde_tdelibdir}/kcm_locale.so +%{tde_tdelibdir}/kcm_nic.la +%{tde_tdelibdir}/kcm_nic.so +%{tde_tdelibdir}/kcm_performance.la +%{tde_tdelibdir}/kcm_performance.so +%{tde_tdelibdir}/kcm_privacy.la +%{tde_tdelibdir}/kcm_privacy.so +%{tde_tdelibdir}/kcm_screensaver.la +%{tde_tdelibdir}/kcm_screensaver.so +%{tde_tdelibdir}/kcm_smserver.la +%{tde_tdelibdir}/kcm_smserver.so +%{tde_tdelibdir}/kcm_spellchecking.la +%{tde_tdelibdir}/kcm_spellchecking.so +%{tde_tdelibdir}/kcm_style.la +%{tde_tdelibdir}/kcm_style.so +%{tde_tdelibdir}/kcm_taskbar.la +%{tde_tdelibdir}/kcm_taskbar.so +%{tde_tdelibdir}/kcm_usb.la +%{tde_tdelibdir}/kcm_usb.so +%{tde_tdelibdir}/kcm_view1394.la +%{tde_tdelibdir}/kcm_view1394.so +%{tde_tdelibdir}/kcm_xinerama.la +%{tde_tdelibdir}/kcm_xinerama.so +%{tde_tdelibdir}/kcontrol.la +%{tde_tdelibdir}/kcontrol.so +%{tde_tdelibdir}/kfile_font.la +%{tde_tdelibdir}/kfile_font.so +%{tde_tdelibdir}/kio_fonts.la +%{tde_tdelibdir}/kio_fonts.so +%{tde_tdelibdir}/kstyle_keramik_config.la +%{tde_tdelibdir}/kstyle_keramik_config.so +%{tde_tdelibdir}/libkfontviewpart.la +%{tde_tdelibdir}/libkfontviewpart.so +%{tde_tdelibdir}/libkshorturifilter.la +%{tde_tdelibdir}/libkshorturifilter.so +%{tde_tdelibdir}/libkuriikwsfilter.la +%{tde_tdelibdir}/libkuriikwsfilter.so +%{tde_tdelibdir}/libkurisearchfilter.la +%{tde_tdelibdir}/libkurisearchfilter.so +%{tde_tdelibdir}/liblocaldomainurifilter.la +%{tde_tdelibdir}/liblocaldomainurifilter.so +%{tde_libdir}/lib[kt]deinit_kaccess.la +%{tde_libdir}/lib[kt]deinit_kaccess.so +%{tde_libdir}/lib[kt]deinit_kcontrol.la +%{tde_libdir}/lib[kt]deinit_kcontrol.so +%{tde_libdir}/libkfontinst.so.* +%{tde_tdeappdir}/arts.desktop +%{tde_tdeappdir}/background.desktop +%{tde_tdeappdir}/bell.desktop +%{tde_tdeappdir}/cache.desktop +%{tde_tdeappdir}/cdinfo.desktop +%{tde_tdeappdir}/clock.desktop +%{tde_tdeappdir}/colors.desktop +%{tde_tdeappdir}/componentchooser.desktop +%{tde_tdeappdir}/cookies.desktop +%{tde_tdeappdir}/crypto.desktop +%{tde_tdeappdir}/desktopbehavior.desktop +%{tde_tdeappdir}/desktop.desktop +%{tde_tdeappdir}/desktoppath.desktop +%{tde_tdeappdir}/devices.desktop +%{tde_tdeappdir}/display.desktop +%{tde_tdeappdir}/dma.desktop +%{tde_tdeappdir}/ebrowsing.desktop +%{tde_tdeappdir}/filebrowser.desktop +%{tde_tdeappdir}/filetypes.desktop +%{tde_tdeappdir}/fonts.desktop +#%{tde_tdeappdir}/hwmanager.desktop +%{tde_tdeappdir}/icons.desktop +%{tde_tdeappdir}/installktheme.desktop +%{tde_tdeappdir}/interrupts.desktop +%{tde_tdeappdir}/ioports.desktop +%{tde_tdeappdir}/ioslaveinfo.desktop +%{tde_tdeappdir}/joystick.desktop +%{tde_tdeappdir}/kcm_kdnssd.desktop +%{tde_tdeappdir}/kcmaccess.desktop +%{tde_tdeappdir}/kcmcss.desktop +%{tde_tdeappdir}/kcmfontinst.desktop +%{tde_tdeappdir}/kcmkded.desktop +%{tde_tdeappdir}/kcmlaunch.desktop +%{tde_tdeappdir}/kcmnotify.desktop +%{tde_tdeappdir}/kcmperformance.desktop +%{tde_tdeappdir}/kcmsmserver.desktop +%{tde_tdeappdir}/kcmtaskbar.desktop +%{tde_tdeappdir}/kcmusb.desktop +%{tde_tdeappdir}/kcmview1394.desktop +%{tde_tdeappdir}/KControl.desktop +%{tde_tdeappdir}/[kt]dm.desktop +%{tde_tdeappdir}/keys.desktop +%{tde_tdeappdir}/kfontview.desktop +%{tde_tdeappdir}/khtml_behavior.desktop +%{tde_tdeappdir}/khtml_fonts.desktop +%{tde_tdeappdir}/khtml_java_js.desktop +%{tde_tdeappdir}/kinfocenter.desktop +%{tde_tdeappdir}/kthememanager.desktop +%{tde_tdeappdir}/lanbrowser.desktop +%{tde_tdeappdir}/language.desktop +%{tde_tdeappdir}/media.desktop +%{tde_tdeappdir}/memory.desktop +%{tde_tdeappdir}/mouse.desktop +%{tde_tdeappdir}/netpref.desktop +%{tde_tdeappdir}/nic.desktop +%{tde_tdeappdir}/opengl.desktop +%{tde_tdeappdir}/panel_appearance.desktop +%{tde_tdeappdir}/panel.desktop +%{tde_tdeappdir}/partitions.desktop +%{tde_tdeappdir}/pci.desktop +%{tde_tdeappdir}/privacy.desktop +%{tde_tdeappdir}/processor.desktop +%{tde_tdeappdir}/proxy.desktop +%{tde_tdeappdir}/screensaver.desktop +%{tde_tdeappdir}/scsi.desktop +%{tde_tdeappdir}/smbstatus.desktop +%{tde_tdeappdir}/sound.desktop +%{tde_tdeappdir}/spellchecking.desktop +%{tde_tdeappdir}/style.desktop +%{tde_tdeappdir}/useragent.desktop +%{tde_tdeappdir}/xserver.desktop +%{tde_datadir}/applnk/.hidden/energy.desktop +%{tde_datadir}/applnk/.hidden/fileappearance.desktop +%{tde_datadir}/applnk/.hidden/filebehavior.desktop +%{tde_datadir}/applnk/.hidden/filepreviews.desktop +%{tde_datadir}/applnk/.hidden/kcmkonqyperformance.desktop +%{tde_datadir}/applnk/.hidden/kicker_config_appearance.desktop +%{tde_datadir}/applnk/.hidden/kicker_config.desktop +%{tde_datadir}/applnk/.hidden/smb.desktop +%{tde_datadir}/applnk/.hidden/xinerama.desktop +%{tde_datadir}/applnk/Settings/LookNFeel/ +%{tde_datadir}/applnk/Settings/WebBrowsing/khtml_appearance.desktop +%{tde_datadir}/applnk/Settings/WebBrowsing/nsplugin.desktop +%{tde_datadir}/applnk/Settings/WebBrowsing/smb.desktop +%{tde_datadir}/apps/kcm_componentchooser/kcm_browser.desktop +%{tde_datadir}/apps/kcm_componentchooser/kcm_kemail.desktop +%{tde_datadir}/apps/kcm_componentchooser/kcm_terminal.desktop +%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/fonts.desktop +%{tde_datadir}/apps/konqueror/servicemenus/installfont.desktop +%{tde_datadir}/mimelnk/application/x-ktheme.desktop +%{tde_datadir}/mimelnk/fonts/folder.desktop +%{tde_datadir}/mimelnk/fonts/package.desktop +%{tde_datadir}/mimelnk/fonts/system-folder.desktop +%{tde_datadir}/services/fonts.protocol +%{tde_datadir}/services/fontthumbnail.desktop +%{tde_datadir}/services/kaccess.desktop +%{tde_datadir}/services/kfile_font.desktop +%{tde_datadir}/services/kfontviewpart.desktop +%{tde_datadir}/services/kshorturifilter.desktop +%{tde_datadir}/services/kuriikwsfilter.desktop +%{tde_datadir}/services/kurisearchfilter.desktop +%{tde_datadir}/services/localdomainurifilter.desktop + +%{tde_datadir}/apps/usb.ids +%{tde_datadir}/apps/kcmview1394/oui.db + +# The following features are not compiled under RHEL 5 and older +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} +%{tde_bindir}/krandrtray +%{tde_tdelibdir}/kcm_displayconfig.la +%{tde_tdelibdir}/kcm_displayconfig.so +%{tde_tdelibdir}/kcm_iccconfig.la +%{tde_tdelibdir}/kcm_iccconfig.so +%{tde_tdelibdir}/kcm_randr.la +%{tde_tdelibdir}/kcm_randr.so +%{tde_tdeappdir}/displayconfig.desktop +%{tde_tdeappdir}/iccconfig.desktop +%{tde_tdeappdir}/krandrtray.desktop +%{tde_datadir}/applnk/.hidden/randr.desktop +%{tde_datadir}/autostart/krandrtray-autostart.desktop +%endif + +%post -n trinity-kcontrol +/sbin/ldconfig || : +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%postun -n trinity-kcontrol +/sbin/ldconfig || : +update-desktop-database %{tde_appdir} 2> /dev/null || : + +########## + +%package -n trinity-kcontrol-devel +Summary: Development files for kcontrol +Group: Development/Libraries +Requires: trinity-kcontrol = %{version}-%{release} + +%description -n trinity-kcontrol-devel +%{summary} + +%files -n trinity-kcontrol-devel +%defattr(-,root,root,-) +%{tde_libdir}/libkfontinst.la +%{tde_libdir}/libkfontinst.so + +%post -n trinity-kcontrol-devel +/sbin/ldconfig || : + +%postun -n trinity-kcontrol-devel +/sbin/ldconfig || : + +########## + +%package bin +Summary: core binaries for the TDE base module +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} +Requires: pam + +Provides: tdebase-bin = %{version}-%{release} +Obsoletes: tdebase-bin < %{version}-%{release} + +%description bin +This package contains miscellaneous programs needed by other +TDE applications, particularly those in the TDE base module. + +%files bin +%defattr(-,root,root,-) +%{tde_bindir}/krootbacking +#%{tde_bindir}/tdeinit_phase1 +%if 0%{?with_tsak} +%attr(4511,root,root) %{tde_bindir}/[kt]dmtsak +%{tde_bindir}/tsak +%endif +%{tde_bindir}/kdebugdialog +%{tde_bindir}/kreadconfig +%{tde_bindir}/kwriteconfig +%{tde_bindir}/kstart +%{_sysconfdir}/trinity/kxkb_groups +%{tde_bindir}/drkonqi +%{tde_bindir}/crashtest +%{tde_bindir}/kapplymousetheme +%{tde_bindir}/kblankscrn.kss +%attr(4755,root,root) %{tde_bindir}/kcheckpass +%{tde_bindir}/kcminit +%{tde_bindir}/kcminit_startup +%{tde_bindir}/kdcop +%{tde_bindir}/[kt]desu +%attr(0755,root,root) %{tde_bindir}/[kt]desud +%{tde_bindir}/kdialog +%{tde_bindir}/khotkeys +%{tde_bindir}/knetattach +%{tde_bindir}/krandom.kss +%{tde_bindir}/ksystraycmd +%{tde_bindir}/kxkb +%{tde_libdir}/kconf_update_bin/khotkeys_update +%{tde_tdelibdir}/kcminit.la +%{tde_tdelibdir}/kcminit.so +%{tde_tdelibdir}/kcminit_startup.la +%{tde_tdelibdir}/kcminit_startup.so +%{tde_tdelibdir}/kcm_keyboard.la +%{tde_tdelibdir}/kcm_keyboard.so +%{tde_tdelibdir}/kcm_khotkeys_init.la +%{tde_tdelibdir}/kcm_khotkeys_init.so +%{tde_tdelibdir}/kcm_khotkeys.la +%{tde_tdelibdir}/kcm_khotkeys.so +%{tde_tdelibdir}/kded_khotkeys.la +%{tde_tdelibdir}/kded_khotkeys.so +%{tde_tdelibdir}/kgreet_classic.la +%{tde_tdelibdir}/kgreet_classic.so +%{tde_tdelibdir}/kgreet_winbind.la +%{tde_tdelibdir}/kgreet_winbind.so +%{tde_tdelibdir}/khotkeys.la +%{tde_tdelibdir}/khotkeys.so +%{tde_tdelibdir}/khotkeys_arts.la +%{tde_tdelibdir}/khotkeys_arts.so +%{tde_tdelibdir}/kxkb.la +%{tde_tdelibdir}/kxkb.so +%{tde_libdir}/lib[kt]deinit_kcminit.la +%{tde_libdir}/lib[kt]deinit_kcminit.so +%{tde_libdir}/lib[kt]deinit_kcminit_startup.la +%{tde_libdir}/lib[kt]deinit_kcminit_startup.so +%{tde_libdir}/lib[kt]deinit_khotkeys.la +%{tde_libdir}/lib[kt]deinit_khotkeys.so +%{tde_libdir}/lib[kt]deinit_kxkb.la +%{tde_libdir}/lib[kt]deinit_kxkb.so +%{tde_libdir}/libkhotkeys_shared.so.* +%{tde_tdeappdir}/keyboard.desktop +%{tde_tdeappdir}/keyboard_layout.desktop +%{tde_tdeappdir}/khotkeys.desktop +%{tde_tdeappdir}/knetattach.desktop +%{tde_datadir}/applnk/System/ScreenSavers/ +%{tde_datadir}/apps/drkonqi/ +%{tde_datadir}/apps/kconf_update/khotkeys_32b1_update.upd +%{tde_datadir}/apps/kconf_update/khotkeys_printscreen.upd +%{tde_datadir}/apps/kconf_update/konqueror_gestures_trinity21_update.upd +%{tde_datadir}/apps/kdcop/kdcopui.rc +%{tde_datadir}/apps/khotkeys/ +%{tde_datadir}/services/kded/khotkeys.desktop +%{tde_datadir}/services/kxkb.desktop +%if 0%{?suse_version} == 0 +%{_sysconfdir}/pam.d/kcheckpass-trinity +%{_sysconfdir}/pam.d/kscreensaver-trinity +%endif +%{tde_tdedocdir}/HTML/en/kdcop/ +%{tde_tdedocdir}/HTML/en/kdebugdialog// +%{tde_tdedocdir}/HTML/en/[kt]desu/ +%{tde_tdedocdir}/HTML/en/knetattach/ +%{tde_tdedocdir}/HTML/en/kxkb/ + +%post bin +/sbin/ldconfig || : +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%postun bin +/sbin/ldconfig || : +update-desktop-database %{tde_appdir} 2> /dev/null || : + +########## + +%package bin-devel +Summary: Development files for core binaries for the TDE base module +Group: Development/Libraries +Requires: %{name}-bin = %{version}-%{release} + +Obsoletes: tdebase-bin-devel < %{version}-%{release} +Provides: tdebase-bin-devel = %{version}-%{release} + +%description bin-devel +%{summary} + +%files bin-devel +%defattr(-,root,root,-) +%{tde_libdir}/libkhotkeys_shared.la +%{tde_libdir}/libkhotkeys_shared.so + +%post bin-devel +/sbin/ldconfig || : + +%postun bin-devel +/sbin/ldconfig || : + +########## + +%package data +Summary: shared data files for the TDE base module +Group: Environment/Libraries +Requires: %{name}-runtime-data-common = %{version}-%{release} + +Obsoletes: tdebase-data < %{version}-%{release} +Provides: tdebase-data = %{version}-%{release} + +%description data +This package contains the architecture-independent shared data files +needed for a basic TDE desktop installation. + +%files data +%defattr(-,root,root,-) +%{_sysconfdir}/trinity/kshorturifilterrc +%{tde_datadir}/applnk/.hidden/battery.desktop +%{tde_datadir}/applnk/.hidden/bwarning.desktop +%{tde_datadir}/applnk/.hidden/cwarning.desktop +%{tde_datadir}/applnk/.hidden/.directory +%{tde_datadir}/applnk/.hidden/email.desktop +%{tde_datadir}/applnk/.hidden/kcmkonq.desktop +%{tde_datadir}/applnk/.hidden/kcmkxmlrpcd.desktop +%{tde_datadir}/applnk/.hidden/konqhtml.desktop +%{tde_datadir}/applnk/.hidden/passwords.desktop +%{tde_datadir}/applnk/.hidden/power.desktop +%{tde_datadir}/applnk/.hidden/socks.desktop +%{tde_datadir}/applnk/.hidden/userinfo.desktop +%{tde_datadir}/applnk/.hidden/virtualdesktops.desktop +%{tde_datadir}/apps/kaccess/eventsrc +%{tde_datadir}/apps/kcmcss/template.css +%{tde_datadir}/apps/kcminput/ +%{tde_datadir}/apps/kcmkeys/ +%{tde_datadir}/apps/kcmlocale/pics/background.png +%{tde_datadir}/apps/kconf_update/convertShortcuts.pl +%{tde_datadir}/apps/kconf_update/kaccel.upd +%{tde_datadir}/apps/kconf_update/kcmdisplayrc.upd +%{tde_datadir}/apps/kconf_update/kuriikwsfilter.upd +%{tde_datadir}/apps/kconf_update/mouse_cursor_theme.upd +%{tde_datadir}/apps/kconf_update/socks.upd +%{tde_datadir}/apps/kcontrol/ +%{tde_datadir}/apps/kdisplay/ +%{tde_datadir}/apps/kfontview/ +%{tde_datadir}/apps/kinfocenter/kinfocenterui.rc +%{tde_datadir}/apps/kthememanager/themes/* +%{tde_datadir}/icons/crystalsvg/*/apps/access.png +%{tde_datadir}/icons/crystalsvg/*/apps/acroread.png +%{tde_datadir}/icons/crystalsvg/*/apps/applixware.png +%{tde_datadir}/icons/crystalsvg/*/apps/arts.png +%{tde_datadir}/icons/crystalsvg/*/apps/background.png +%{tde_datadir}/icons/crystalsvg/*/apps/bell.png +%{tde_datadir}/icons/crystalsvg/*/apps/cache.png +%{tde_datadir}/icons/crystalsvg/*/apps/clanbomber.png +%{tde_datadir}/icons/crystalsvg/*/apps/clock.png +%{tde_datadir}/icons/crystalsvg/*/apps/colors.png +%{tde_datadir}/icons/crystalsvg/*/apps/date.png +%{tde_datadir}/icons/crystalsvg/*/apps/email.png +%{tde_datadir}/icons/crystalsvg/*/apps/energy.png +%{tde_datadir}/icons/crystalsvg/*/apps/energy_star.png +%{tde_datadir}/icons/crystalsvg/*/apps/filetypes.png +%{tde_datadir}/icons/crystalsvg/*/apps/fonts.png +%{tde_datadir}/icons/crystalsvg/*/apps/gimp.png +%{tde_datadir}/icons/crystalsvg/*/apps/help_index.png +%{tde_datadir}/icons/crystalsvg/*/apps/hwinfo.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmdevices.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmdf.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmkwm.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmmemory.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmpartitions.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmpci.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcontrol.png +%{tde_datadir}/icons/crystalsvg/*/apps/[kt]dmconfig.png +%{tde_datadir}/icons/crystalsvg/*/apps/key_bindings.png +%{tde_datadir}/icons/crystalsvg/*/apps/kfm_home.png +%{tde_datadir}/icons/crystalsvg/*/apps/kscreensaver.png +%{tde_datadir}/icons/crystalsvg/*/apps/kthememgr.png +%{tde_datadir}/icons/crystalsvg/*/apps/licq.png +%{tde_datadir}/icons/crystalsvg/*/apps/linuxconf.png +%{tde_datadir}/icons/crystalsvg/*/apps/locale.png +%{tde_datadir}/icons/crystalsvg/*/apps/looknfeel.png +%{tde_datadir}/icons/crystalsvg/*/apps/multimedia.png +%{tde_datadir}/icons/crystalsvg/*/apps/netscape.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_applications.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_development.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_favourite.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_games.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_games_kids.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_multimedia.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_network.png +%{tde_datadir}/icons/crystalsvg/*/apps/package.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_settings.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_toys.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_utilities.png +%{tde_datadir}/icons/crystalsvg/*/apps/penguin.png +%{tde_datadir}/icons/crystalsvg/*/apps/personal.png +%{tde_datadir}/icons/crystalsvg/*/apps/phppg.png +%{tde_datadir}/icons/crystalsvg/*/apps/proxy.png +%{tde_datadir}/icons/crystalsvg/*/apps/pysol.png +%{tde_datadir}/icons/crystalsvg/*/apps/randr.png +%{tde_datadir}/icons/crystalsvg/*/apps/samba.png +%{tde_datadir}/icons/crystalsvg/*/apps/staroffice.png +%{tde_datadir}/icons/crystalsvg/*/apps/stylesheet.png +%{tde_datadir}/icons/crystalsvg/*/apps/terminal.png +%{tde_datadir}/icons/crystalsvg/*/apps/tux.png +%{tde_datadir}/icons/crystalsvg/*/apps/wp.png +%{tde_datadir}/icons/crystalsvg/*/apps/xclock.png +%{tde_datadir}/icons/crystalsvg/*/apps/xfmail.png +%{tde_datadir}/icons/crystalsvg/*/apps/xmag.png +%{tde_datadir}/icons/crystalsvg/*/apps/xpaint.png +%{tde_datadir}/icons/crystalsvg/scalable/apps/access.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/acroread.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/aim.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/aktion.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/antivirus.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/applixware.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/arts.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/background.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/bell.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/browser.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/cache.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/camera.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/clanbomber.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/clock.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/colors.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/core.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/date.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/display.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/download_manager.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/email.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/energy.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/error.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/fifteenpieces.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/filetypes.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/fonts.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/galeon.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/gnome_apps.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/hardware.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/hwinfo.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/ieee1394.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/kcmdevices.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/kcmkwm.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/kcmx.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/locale.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/my_mac.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/netscape.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/openoffice.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/package_development.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/package_games_kids.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/package_toys.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/penguin.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/personal.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/quicktime.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/realplayer.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/samba.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/shell.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/staroffice.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/stylesheet.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/terminal.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/tux.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/wine.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/x.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/xapp.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/xcalc.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/xchat.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/xclock.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/xeyes.svgz +%{tde_datadir}/icons/crystalsvg/scalable/apps/xpaint.svgz +%{tde_datadir}/icons/crystalsvg/*/devices/laptop.png +%{tde_datadir}/icons/crystalsvg/*/devices/laptop.svgz +%{tde_datadir}/icons/crystalsvg/*/actions/newfont.png +%{tde_datadir}/icons/crystalsvg/*/apps/abiword.png +%{tde_datadir}/icons/crystalsvg/*/apps/agent.png +%{tde_datadir}/icons/crystalsvg/*/apps/alevt.png +%{tde_datadir}/icons/crystalsvg/*/apps/assistant.png +%{tde_datadir}/icons/crystalsvg/*/apps/blender.png +%{tde_datadir}/icons/crystalsvg/*/apps/bluefish.png +%{tde_datadir}/icons/crystalsvg/*/apps/cookie.png +%{tde_datadir}/icons/crystalsvg/*/apps/designer.png +%{tde_datadir}/icons/crystalsvg/*/apps/dia.png +%{tde_datadir}/icons/crystalsvg/*/apps/dlgedit.png +%{tde_datadir}/icons/crystalsvg/*/apps/eclipse.png +%{tde_datadir}/icons/crystalsvg/*/apps/edu_languages.png +%{tde_datadir}/icons/crystalsvg/*/apps/edu_mathematics.png +%{tde_datadir}/icons/crystalsvg/*/apps/edu_miscellaneous.png +%{tde_datadir}/icons/crystalsvg/*/apps/edu_science.png +%{tde_datadir}/icons/crystalsvg/*/apps/emacs.png +%{tde_datadir}/icons/crystalsvg/*/apps/enhanced_browsing.png +%{tde_datadir}/icons/crystalsvg/*/apps/evolution.png +%{tde_datadir}/icons/crystalsvg/*/apps/fifteenpieces.png +%{tde_datadir}/icons/crystalsvg/*/apps/gabber.png +%{tde_datadir}/icons/crystalsvg/*/apps/gaim.png +%{tde_datadir}/icons/crystalsvg/*/apps/gnome_apps.png +%{tde_datadir}/icons/crystalsvg/*/apps/gnomemeeting.png +%{tde_datadir}/icons/crystalsvg/*/apps/gnucash.png +%{tde_datadir}/icons/crystalsvg/*/apps/gnumeric.png +%{tde_datadir}/icons/crystalsvg/*/apps/gv.png +%{tde_datadir}/icons/crystalsvg/*/apps/gvim.png +%{tde_datadir}/icons/crystalsvg/*/apps/icons.png +%{tde_datadir}/icons/crystalsvg/*/apps/iconthemes.png +%{tde_datadir}/icons/crystalsvg/*/apps/ieee1394.png +%{tde_datadir}/icons/crystalsvg/*/apps/input_devices_settings.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmkicker.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmmidi.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmprocessor.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmscsi.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmsound.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmsystem.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmx.png +%{tde_datadir}/icons/crystalsvg/*/apps/keyboard.png +%{tde_datadir}/icons/crystalsvg/*/apps/keyboard_layout.png +%{tde_datadir}/icons/crystalsvg/*/apps/knotify.png +%{tde_datadir}/icons/crystalsvg/*/apps/kvirc.png +%{tde_datadir}/icons/crystalsvg/*/apps/linguist.png +%{tde_datadir}/icons/crystalsvg/*/apps/lyx.png +%{tde_datadir}/icons/crystalsvg/*/apps/mac.png +%{tde_datadir}/icons/crystalsvg/*/apps/mathematica.png +%{tde_datadir}/icons/crystalsvg/*/apps/nedit.png +%{tde_datadir}/icons/crystalsvg/*/apps/opera.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_application.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_editors.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_edutainment.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_games_arcade.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_games_board.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_games_card.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_games_strategy.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_graphics.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_system.png +%{tde_datadir}/icons/crystalsvg/*/apps/package_wordprocessing.png +%{tde_datadir}/icons/crystalsvg/*/apps/pan.png +%{tde_datadir}/icons/crystalsvg/*/apps/panel_settings.png +%{tde_datadir}/icons/crystalsvg/*/apps/plan.png +%{tde_datadir}/icons/crystalsvg/*/apps/planner.png +%{tde_datadir}/icons/crystalsvg/*/apps/pybliographic.png +%{tde_datadir}/icons/crystalsvg/*/apps/realplayer.png +%{tde_datadir}/icons/crystalsvg/*/apps/remote.png +%{tde_datadir}/icons/crystalsvg/*/apps/scribus.png +%{tde_datadir}/icons/crystalsvg/*/apps/sodipodi.png +%{tde_datadir}/icons/crystalsvg/*/apps/style.png +%{tde_datadir}/icons/crystalsvg/*/apps/usb.png +%{tde_datadir}/icons/crystalsvg/*/apps/vnc.png +%{tde_datadir}/icons/crystalsvg/*/apps/wabi.png +%{tde_datadir}/icons/crystalsvg/*/apps/wine.png +%{tde_datadir}/icons/crystalsvg/*/apps/xcalc.png +%{tde_datadir}/icons/crystalsvg/*/apps/xchat.png +%{tde_datadir}/icons/crystalsvg/*/apps/xclipboard.png +%{tde_datadir}/icons/crystalsvg/*/apps/xconsole.png +%{tde_datadir}/icons/crystalsvg/*/apps/xedit.png +%{tde_datadir}/icons/crystalsvg/*/apps/xemacs.png +%{tde_datadir}/icons/crystalsvg/*/apps/xeyes.png +%{tde_datadir}/icons/crystalsvg/*/apps/xfig.png +%{tde_datadir}/icons/crystalsvg/*/apps/xload.png +%{tde_datadir}/icons/crystalsvg/*/apps/xmms.png +%{tde_datadir}/icons/crystalsvg/*/apps/xosview.png +%{tde_datadir}/icons/crystalsvg/*/apps/xv.png +%{tde_datadir}/icons/crystalsvg/*/apps/galeon.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmdrkonqi.png +%{tde_datadir}/icons/crystalsvg/*/apps/pinguin.png +%{tde_datadir}/icons/crystalsvg/*/apps/x.png +%{tde_datadir}/icons/crystalsvg/*/apps/xapp.png +%{tde_datadir}/icons/crystalsvg/*/apps/xawtv.png +%{tde_datadir}/icons/crystalsvg/*/apps/kcmopengl.png +%{tde_datadir}/icons/crystalsvg/*/apps/wmaker_apps.png +%{tde_datadir}/icons/crystalsvg/*/apps/qtella.png +%{tde_datadir}/services/searchproviders +%{tde_datadir}/services/useragentstrings/*.desktop +%{tde_datadir}/servicetypes/searchprovider.desktop +%{tde_datadir}/servicetypes/uasprovider.desktop +%exclude %{tde_datadir}/sounds/pop.wav +%{tde_datadir}/sounds/ +%{tde_datadir}/wallpapers/* + +%if "%{tde_prefix}" != "/usr" +%{tde_prefix}/etc/xdg/menus/applications-merged/kde-essential.menu +%{tde_prefix}/etc/xdg/menus/kde-information.menu +%{tde_prefix}/etc/xdg/menus/kde-screensavers.menu +%{tde_prefix}/etc/xdg/menus/kde-settings.menu +%else +%{_sysconfdir}/xdg/menus/applications-merged/kde-essential.menu +%{_sysconfdir}/xdg/menus/kde-information.menu +%{_sysconfdir}/xdg/menus/kde-screensavers.menu +%{_sysconfdir}/xdg/menus/kde-settings.menu +%endif + +%{tde_tdedocdir}/HTML/en/kcontrol/ +%exclude %{tde_tdedocdir}/HTML/en/kcontrol/kcmkonsole/ +%{tde_tdedocdir}/HTML/en/kinfocenter/ + +%post data +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%if "%{distribution}" == "Mandriva Linux" +# Mandriva-specific: we have to choose a background for current distribution variant (Free, One, Powerpack, ...) +# First, we read the "product" key in /etc/product.id +eval $(tr "," ";" /dev/null +# Then, we create a symbolic link to the corresponding background +if [ -r "%{_datadir}/mdk/backgrounds/Mandriva-${product:-Free}-1280x1024-1300.jpg" "%{tde_bg}" ]; then + %__ln -sf "%{_datadir}/mdk/backgrounds/Mandriva-${product:-Free}-1280x1024-1300.jpg" "%{tde_bg}" +fi +%endif + +%if "%{distribution}" == "Mageia" +if [ ! -r "%{tde_bg}" ] && [ -r "%{_datadir}/mga/backgrounds/Mageia-Default-1920x1440.png" ]; then + %__ln -sf "%{_datadir}/mga/backgrounds/Mageia-Default-1920x1440.png" "%{tde_bg}" +fi +%endif + +%postun data +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package tdeio-plugins +Summary: core I/O slaves for TDE +Group: Applications/Utilities +Requires: trinity-kdesktop = %{version}-%{release} +Requires: cyrus-sasl +Requires: psmisc +%if 0%{?with_hal} +Requires: hal >= 0.4.8 +%endif +%if 0%{?rhel} == 4 || 0%{?suse_version} +Requires: cryptsetup +%else +Requires: cryptsetup-luks +%endif + +Obsoletes: tdebase-kio-plugins < %{version}-%{release} +Provides: tdebase-kio-plugins = %{version}-%{release} +Obsoletes: trinity-tdebase-kio-plugins < %{version}-%{release} +Provides: trinity-tdebase-kio-plugins = %{version}-%{release} + +%description tdeio-plugins +This package includes the base tdeioslaves. They include, amongst many +others, file, http, and ftp. + +It also includes the media tdeioslave, which handles removable devices, +and which works best with hal (and therefore udev) and pmount. Media +also extends the functionality of many other tdeioslaves. To use this +service, please make sure that your user is a member of the plugdev +group. + +%files tdeio-plugins +%defattr(-,root,root,-) +%{tde_bindir}/kio_media_mounthelper +%{tde_bindir}/ktrash +%{tde_tdelibdir}/cursorthumbnail.la +%{tde_tdelibdir}/cursorthumbnail.so +%{tde_tdelibdir}/djvuthumbnail.la +%{tde_tdelibdir}/djvuthumbnail.so +%{tde_tdelibdir}/htmlthumbnail.la +%{tde_tdelibdir}/htmlthumbnail.so +%{tde_tdelibdir}/imagethumbnail.la +%{tde_tdelibdir}/imagethumbnail.so +%{tde_tdelibdir}/kcm_cgi.la +%{tde_tdelibdir}/kcm_cgi.so +%{tde_tdelibdir}/kcm_media.la +%{tde_tdelibdir}/kcm_media.so +%{tde_tdelibdir}/kded_homedirnotify.la +%{tde_tdelibdir}/kded_homedirnotify.so +%{tde_tdelibdir}/kded_mediamanager.la +%{tde_tdelibdir}/kded_mediamanager.so +%{tde_tdelibdir}/kded_medianotifier.la +%{tde_tdelibdir}/kded_medianotifier.so +%{tde_tdelibdir}/kded_remotedirnotify.la +%{tde_tdelibdir}/kded_remotedirnotify.so +%{tde_tdelibdir}/kded_systemdirnotify.la +%{tde_tdelibdir}/kded_systemdirnotify.so +%{tde_tdelibdir}/kfile_media.la +%{tde_tdelibdir}/kfile_media.so +%{tde_tdelibdir}/kfile_trash.la +%{tde_tdelibdir}/kfile_trash.so +%{tde_tdelibdir}/kio_about.la +%{tde_tdelibdir}/kio_about.so +%{tde_tdelibdir}/kio_cgi.la +%{tde_tdelibdir}/kio_cgi.so +%{tde_tdelibdir}/kio_filter.la +%{tde_tdelibdir}/kio_filter.so +%{tde_tdelibdir}/kio_finger.la +%{tde_tdelibdir}/kio_finger.so +%{tde_tdelibdir}/kio_fish.la +%{tde_tdelibdir}/kio_fish.so +%{tde_tdelibdir}/kio_floppy.la +%{tde_tdelibdir}/kio_floppy.so +%{tde_tdelibdir}/kio_home.la +%{tde_tdelibdir}/kio_home.so +%{tde_tdelibdir}/kio_info.la +%{tde_tdelibdir}/kio_info.so +%{tde_tdelibdir}/kio_mac.la +%{tde_tdelibdir}/kio_mac.so +%{tde_tdelibdir}/kio_man.la +%{tde_tdelibdir}/kio_man.so +%{tde_tdelibdir}/kio_media.la +%{tde_tdelibdir}/kio_media.so +%{tde_tdelibdir}/kio_nfs.la +%{tde_tdelibdir}/kio_nfs.so +%{tde_tdelibdir}/kio_remote.la +%{tde_tdelibdir}/kio_remote.so +%{tde_tdelibdir}/kio_settings.la +%{tde_tdelibdir}/kio_settings.so +%{tde_tdelibdir}/kio_sftp.la +%{tde_tdelibdir}/kio_sftp.so +%{tde_tdelibdir}/kio_system.la +%{tde_tdelibdir}/kio_system.so +%{tde_tdelibdir}/kio_tar.la +%{tde_tdelibdir}/kio_tar.so +%{tde_tdelibdir}/kio_thumbnail.la +%{tde_tdelibdir}/kio_thumbnail.so +%{tde_tdelibdir}/kio_trash.la +%{tde_tdelibdir}/kio_trash.so +%{tde_tdelibdir}/libkmanpart.la +%{tde_tdelibdir}/libkmanpart.so +%{tde_tdelibdir}/textthumbnail.la +%{tde_tdelibdir}/textthumbnail.so +%{tde_tdeappdir}/kcmcgi.desktop +%{tde_datadir}/apps/kio_finger/kio_finger.css +%{tde_datadir}/apps/kio_finger/kio_finger.pl +%{tde_datadir}/apps/kio_info/kde-info2html +%{tde_datadir}/apps/kio_info/kde-info2html.conf +%{tde_datadir}/apps/kio_man/kio_man.css +%{tde_datadir}/apps/systemview/*.desktop +%{tde_datadir}/config.kcfg/mediamanagersettings.kcfg +%{tde_datadir}/mimelnk/application/x-smb-server.desktop +%{tde_datadir}/mimelnk/inode/system_directory.desktop +%{tde_datadir}/mimelnk/media/*.desktop +%{tde_datadir}/services/about.protocol +%{tde_datadir}/services/applications.protocol +%{tde_datadir}/services/ar.protocol +%{tde_datadir}/services/bzip.protocol +%{tde_datadir}/services/bzip2.protocol +%{tde_datadir}/services/cgi.protocol +%{tde_datadir}/services/cursorthumbnail.desktop +%{tde_datadir}/services/djvuthumbnail.desktop +%{tde_datadir}/services/finger.protocol +%{tde_datadir}/services/fish.protocol +%{tde_datadir}/services/floppy.protocol +%{tde_datadir}/services/gzip.protocol +%{tde_datadir}/services/home.protocol +%{tde_datadir}/services/htmlthumbnail.desktop +%{tde_datadir}/services/imagethumbnail.desktop +%{tde_datadir}/services/info.protocol +%{tde_datadir}/services/kded/homedirnotify.desktop +%{tde_datadir}/services/kded/mediamanager.desktop +%{tde_datadir}/services/kded/medianotifier.desktop +%{tde_datadir}/services/kded/remotedirnotify.desktop +%{tde_datadir}/services/kded/systemdirnotify.desktop +%{tde_datadir}/services/kfile_media.desktop +%{tde_datadir}/services/kfile_trash_system.desktop +%{tde_datadir}/services/lzma.protocol +%{tde_datadir}/services/kmanpart.desktop +%{tde_datadir}/services/mac.protocol +%{tde_datadir}/services/man.protocol +%{tde_datadir}/services/media.protocol +%{tde_datadir}/services/nfs.protocol +%{tde_datadir}/services/nxfish.protocol +%{tde_datadir}/services/programs.protocol +%{tde_datadir}/services/remote.protocol +%{tde_datadir}/services/settings.protocol +%{tde_datadir}/services/sftp.protocol +%{tde_datadir}/services/system.protocol +%{tde_datadir}/services/tar.protocol +%{tde_datadir}/services/textthumbnail.desktop +%{tde_datadir}/services/thumbnail.protocol +%{tde_datadir}/services/trash.protocol +%{tde_datadir}/services/xz.protocol +%{tde_datadir}/services/zip.protocol +%{tde_datadir}/servicetypes/thumbcreator.desktop +%{tde_datadir}/services/kfile_trash.desktop +%{tde_tdedocdir}/HTML/en/kioslave/ +%if 0%{?with_exr} +%{tde_tdelibdir}/exrthumbnail.la +%{tde_tdelibdir}/exrthumbnail.so +%{tde_datadir}/services/exrthumbnail.desktop +%endif +%if 0%{?with_hal} +%{tde_tdelibdir}/media_propsdlgplugin.la +%{tde_tdelibdir}/media_propsdlgplugin.so +%{tde_datadir}/services/media_propsdlgplugin.desktop +%endif + +%post tdeio-plugins +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%postun tdeio-plugins +update-desktop-database %{tde_appdir} 2> /dev/null || : + + +########## + +%package -n trinity-kdepasswd +Summary: password changer for TDE +Group: Applications/Utilities + +%description -n trinity-kdepasswd +This is a simple application which allows users to change their +system passwords. + +%files -n trinity-kdepasswd +%defattr(-,root,root,-) +%{tde_bindir}/kdepasswd +%{tde_tdelibdir}/kcm_useraccount.la +%{tde_tdelibdir}/kcm_useraccount.so +%{tde_tdeappdir}/kcm_useraccount.desktop +%{tde_tdeappdir}/kdepasswd.desktop +%exclude %{tde_datadir}/apps/[kt]dm/pics/users/default1.png +%exclude %{tde_datadir}/apps/[kt]dm/pics/users/default2.png +%exclude %{tde_datadir}/apps/[kt]dm/pics/users/default3.png +%exclude %{tde_datadir}/apps/[kt]dm/pics/users/root1.png +%{tde_datadir}/apps/[kt]dm/pics/users/*.png +%{tde_datadir}/config.kcfg/kcm_useraccount.kcfg +%{tde_datadir}/config.kcfg/kcm_useraccount_pass.kcfg + +%post -n trinity-kdepasswd +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%postun -n trinity-kdepasswd +update-desktop-database %{tde_appdir} 2> /dev/null || : + +########## + +%package -n trinity-tdeprint +Summary: print system for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} +Requires: psutils + +%description -n trinity-tdeprint +This package contains the TDE printing subsystem. It can use CUPS, +lpd-ng or the traditional lpd. It also includes support for fax and +pdf printing. + +Installation of smbclient will make you able to use smb shared printers. + +%files -n trinity-tdeprint +%defattr(-,root,root,-) +%{tde_bindir}/[kt]deprintfax +%{tde_bindir}/kjobviewer +%{tde_bindir}/kprinter +%{tde_tdelibdir}/kcm_printmgr.la +%{tde_tdelibdir}/kcm_printmgr.so +%{tde_tdelibdir}/kio_print.la +%{tde_tdelibdir}/kio_print.so +%{tde_tdelibdir}/kjobviewer.la +%{tde_tdelibdir}/kjobviewer.so +%{tde_tdelibdir}/kprinter.la +%{tde_tdelibdir}/kprinter.so +%{tde_tdelibdir}/lib[kt]deprint_part.la +%{tde_tdelibdir}/lib[kt]deprint_part.so +%{tde_libdir}/lib[kt]deinit_kjobviewer.la +%{tde_libdir}/lib[kt]deinit_kjobviewer.so +%{tde_libdir}/lib[kt]deinit_kprinter.la +%{tde_libdir}/lib[kt]deinit_kprinter.so +%{tde_tdeappdir}/[kt]deprintfax.desktop +%{tde_tdeappdir}/[kt]jobviewer.desktop +%{tde_tdeappdir}/printers.desktop +%{tde_datadir}/apps/[kt]deprint/ +%{tde_datadir}/apps/[kt]deprintfax/ +%{tde_datadir}/apps/[kt]jobviewer/ +%{tde_datadir}/apps/[kt]deprint_part/kdeprint_part.rc +%{tde_datadir}/icons/hicolor/*/apps/kdeprintfax.png +%{tde_datadir}/icons/hicolor/*/apps/kjobviewer.png +%{tde_datadir}/icons/hicolor/*/apps/printmgr.png +%{tde_datadir}/icons/hicolor/scalable/apps/kdeprintfax.svgz +%{tde_datadir}/icons/hicolor/scalable/apps/kjobviewer.svgz +%{tde_datadir}/icons/hicolor/scalable/apps/printmgr.svgz +%{tde_datadir}/mimelnk/print/class.desktop +%{tde_datadir}/mimelnk/print/driver.desktop +%{tde_datadir}/mimelnk/print/folder.desktop +%{tde_datadir}/mimelnk/print/jobs.desktop +%{tde_datadir}/mimelnk/print/manager.desktop +%{tde_datadir}/mimelnk/print/printer.desktop +%{tde_datadir}/mimelnk/print/printermodel.desktop +%{tde_datadir}/services/kdeprint_part.desktop +%{tde_datadir}/services/print.protocol +%{tde_datadir}/services/printdb.protocol +%{tde_tdedocdir}/HTML/en/[kt]deprint/ + +%post -n trinity-tdeprint +/sbin/ldconfig || : +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%postun -n trinity-tdeprint +/sbin/ldconfig || : +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package -n trinity-kdesktop +Summary: miscellaneous binaries and files for the TDE desktop +Group: Applications/Utilities +Requires: %{name}-bin = %{version}-%{release} +Requires: %{name}-data = %{version}-%{release} +Requires: trinity-libkonq = %{version}-%{release} +Requires: eject +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +Requires: xdg-utils +%endif + +%description -n trinity-kdesktop +This package contains miscellaneous binaries and files integral to +the TDE desktop. + +%files -n trinity-kdesktop +%defattr(-,root,root,-) +%{_sysconfdir}/trinity/kdesktop_custom_menu1 +%{_sysconfdir}/trinity/kdesktop_custom_menu2 +%{tde_bindir}/kcheckrunning +%{tde_bindir}/kxdglauncher +%{tde_bindir}/kdeeject +%{tde_bindir}/kdesktop +%{tde_bindir}/kdesktop_lock +%{tde_bindir}/kwebdesktop +%{tde_tdelibdir}/kdesktop.la +%{tde_tdelibdir}/kdesktop.so +%{tde_libdir}/lib[kt]deinit_kdesktop.la +%{tde_libdir}/lib[kt]deinit_kdesktop.so +%{tde_datadir}/apps/kdesktop/ +%{tde_datadir}/apps/konqueror/servicemenus/kdesktopSetAsBackground.desktop +%{tde_datadir}/autostart/kdesktop.desktop +%{tde_datadir}/config.kcfg/kdesktop.kcfg +%{tde_datadir}/config.kcfg/klaunch.kcfg +%{tde_datadir}/config.kcfg/kwebdesktop.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/error.png + +%post -n trinity-kdesktop +/sbin/ldconfig || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%postun -n trinity-kdesktop +/sbin/ldconfig || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package -n trinity-kdesktop-devel +Summary: Development files for kdesktop +Group: Development/Libraries +Requires: trinity-kdesktop = %{version}-%{release} + +%description -n trinity-kdesktop-devel +%{summary} + +%files -n trinity-kdesktop-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/KBackgroundIface.h +%{tde_tdeincludedir}/KDesktopIface.h +%{tde_tdeincludedir}/KScreensaverIface.h + +########## + +%package -n trinity-tdm +Summary: X Display manager for TDE +Group: Applications/Utilities +Requires: %{name}-bin = %{version}-%{release} +Requires: %{name}-data = %{version}-%{release} +Requires: pam + +# Provides the global Xsession script (/etc/X11/xinit/Xsession or /etc/X11/Xsession) +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} == 4 +Requires: xinitrc +%endif +%if 0%{?suse_version} == 1140 +Requires: xorg-x11 +%endif +%if 0%{?suse_version} >= 1220 +Requires: xdm +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} +Requires: xorg-x11-xinit +%endif + +# Required for Fedora LiveCD +%if 0%{?rhel} || 0%{?fedora} +Provides: service(graphical-login) +%endif +# Required for Mandriva's installer +%if 0%{?mgaversion} || 0%{?mdkversion} +Provides: dm +%endif + +%description -n trinity-tdm +tdm manages a collection of X servers, which may be on the local host or +remote machines. It provides services similar to those provided by init, +getty, and login on character-based terminals: prompting for login name and +password, authenticating the user, and running a session. tdm supports XDMCP +(X Display Manager Control Protocol) and can also be used to run a chooser +process which presents the user with a menu of possible hosts that offer +XDMCP display management. + +A collection of icons to associate with individual users is included with +TDE, but as part of the kdepasswd package. + +The menu package will help to provide TDM with a list of window managers +that can be launched, if the window manager does not register with TDM +already. Most users won't need this. + +%files -n trinity-tdm +%defattr(-,root,root,-) +%{tde_tdelibdir}/kgreet_pam.la +%{tde_tdelibdir}/kgreet_pam.so +%{tde_bindir}/gen[kt]dmconf +%{tde_bindir}/[kt]dm +%{tde_bindir}/[kt]dm_config +%{tde_bindir}/[kt]dmctl +%{tde_bindir}/[kt]dm_greet +%{tde_bindir}/krootimage +%{tde_datadir}/apps/[kt]dm/pics/kdelogo.png +%{tde_datadir}/apps/[kt]dm/pics/kdelogo-crystal.png +%{tde_datadir}/apps/[kt]dm/pics/shutdown.jpg +%{tde_datadir}/apps/[kt]dm/pics/users/default1.png +%{tde_datadir}/apps/[kt]dm/pics/users/default2.png +%{tde_datadir}/apps/[kt]dm/pics/users/default3.png +%{tde_datadir}/apps/[kt]dm/pics/users/root1.png +%{tde_datadir}/apps/[kt]dm/sessions/*.desktop +%{tde_datadir}/apps/[kt]dm/themes/ +%{tde_datadir}/config/kdm +%{_sysconfdir}/trinity/[kt]dm/ +%{tde_tdedocdir}/HTML/en/[kt]dm/ +%if 0%{?suse_version} == 0 +%{_sysconfdir}/pam.d/kdm-trinity +%{_sysconfdir}/pam.d/kdm-trinity-np +%endif +%if 0%{?suse_version} +/usr/lib/X11/displaymanagers/tdm +%endif +%if 0%{?fedora} >= 18 +/usr/lib/systemd/system/tdm.service +%endif + +# Distribution specific stuff +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%{_datadir}/xsessions/tde.desktop +%endif + +# https://wiki.mageia.org/en/How_to_add_a_new_Window_Manager_or_Display_Manager +%if 0%{?mgaversion} || 0%{?mdkversion} +%{_sysconfdir}/X11/wmsession.d/45TDE +%{_datadir}/X11/dm.d/45TDE.conf +%endif + +# SELINUX policy +%if 0%{?with_selinux_policy} +%{?_sysconfdir}/trinity/kdm/tdm.pp +%endif + +%pre -n trinity-tdm +# Make sure that TDM configuration files are now under '/etc/trinity/kdm' +if [ -d "%{tde_datadir}/config/kdm" ] && [ ! -L "%{tde_datadir}/config/kdm" ]; then + if [ -d "%{_sysconfdir}/trinity/kdm" ]; then + # If there is already something under '/etc/trinity/kdm', simply delete old configuration + echo "Deleting TDM configuration under '%{tde_datadir}/config/kdm'" + %__rm -rf "%{tde_datadir}/config/kdm" + else + # Else, move '/opt/trinity/share/config/kdm' to '/etc/trinity/kdm' + if [ ! -d "%{_sysconfdir}/trinity" ]; then + %__mkdir_p "%{_sysconfdir}/trinity" + fi + echo "Migrating TDM configuration from '%{tde_datadir}/config/kdm' to '%{_sysconfdir}/trinity/kdm'" + %__mv -f "%{tde_datadir}/config/kdm" "%{_sysconfdir}/trinity/kdm.migr" + fi +fi + +%post -n trinity-tdm +%if 0%{?mgaversion} || 0%{?mdkversion} +%make_session +%endif +%if 0%{?with_selinux_policy} +/usr/sbin/semodule -i "%{?_sysconfdir}/trinity/kdm/tdm.pp" +%endif +# Default user icon in TDM +if [ ! -r "%{tde_datadir}/apps/kdm/faces/.default.face.icon" ]; then + [ -d "%{tde_datadir}/apps/kdm/faces" ] || mkdir -p "%{tde_datadir}/apps/kdm/faces" + %__cp -f "%{tde_datadir}/apps/kdm/pics/users/default2.png" "%{tde_datadir}/apps/kdm/faces/.default.face.icon" +fi + +%posttrans -n trinity-tdm +# Make sure that TDM configuration files are now under '/etc/trinity/kdm' +if [ -d "%{_sysconfdir}/trinity/kdm.migr" ] && [ -d "%{_sysconfdir}/trinity/kdm" ]; then + %__mv -f "%{_sysconfdir}/trinity/kdm.migr/"* "%{_sysconfdir}/trinity/kdm/" + rmdir "%{_sysconfdir}/trinity/kdm.migr/" +fi + +%postun -n trinity-tdm +%if 0%{?mgaversion} || 0%{?mdkversion} +%make_session +%endif + +########## + +%package -n trinity-tdm-devel +Summary: Development files for tdm +Group: Development/Libraries +Requires: trinity-tdm = %{version}-%{release} + +%description -n trinity-tdm-devel +%{summary} + +%files -n trinity-tdm-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kgreeterplugin.h + +########## + +%package -n trinity-kfind +Summary: file-find utility for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-kfind +kfind can be used to find files and directories on your +workstations. + +%files -n trinity-kfind +%defattr(-,root,root,-) +%{tde_bindir}/kfind +%{tde_tdelibdir}/libkfindpart.la +%{tde_tdelibdir}/libkfindpart.so +%{tde_tdeappdir}/Kfind.desktop +%{tde_datadir}/apps/kfindpart/ +%{tde_datadir}/icons/hicolor/*/apps/kfind.png +%{tde_datadir}/services/kfindpart.desktop +%{tde_datadir}/servicetypes/findpart.desktop +%{tde_tdedocdir}/HTML/en/kfind/ + +%post -n trinity-kfind +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%postun -n trinity-kfind +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package -n trinity-khelpcenter +Summary: help center for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} +Requires: htdig + +%description -n trinity-khelpcenter +The TDE Help Center provides documentation on how to use the KDE desktop. + +The htdig package is needed to build a searchable archive of TDE +documentation. + +%files -n trinity-khelpcenter +%defattr(-,root,root,-) +#%{tde_bindir}/khc_beagle_index.pl +#%{tde_bindir}/khc_beagle_search.pl +%{tde_bindir}/khc_docbookdig.pl +%{tde_bindir}/khc_htdig.pl +%{tde_bindir}/khc_htsearch.pl +%{tde_bindir}/khc_indexbuilder +%{tde_bindir}/khc_mansearch.pl +%{tde_bindir}/khelpcenter +%{tde_tdelibdir}/khelpcenter.la +%{tde_tdelibdir}/khelpcenter.so +%{tde_libdir}/lib[kt]deinit_khelpcenter.la +%{tde_libdir}/lib[kt]deinit_khelpcenter.so +%{tde_tdeappdir}/Help.desktop +%{tde_datadir}/apps/khelpcenter/ +%{tde_datadir}/config.kcfg/khelpcenter.kcfg +%{tde_datadir}/icons/hicolor/*/apps/khelpcenter.* +%{tde_datadir}/services/khelpcenter.desktop +%{tde_tdedocdir}/HTML/en/khelpcenter/ + +%post -n trinity-khelpcenter +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +%postun -n trinity-khelpcenter +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +########## + +%package -n trinity-kicker +Summary: desktop panel for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-kicker +Kicker provides the TDE panel on you desktop. It can be used as a +program launcher and can load plugins to provide additional +functionality. + +%files -n trinity-kicker +%defattr(-,root,root,-) +%{tde_bindir}/appletproxy +%{tde_bindir}/extensionproxy +%{tde_bindir}/kasbar +%{tde_bindir}/kicker +%{tde_libdir}/kconf_update_bin/kicker-3.4-reverseLayout +%{tde_tdelibdir}/appletproxy.la +%{tde_tdelibdir}/appletproxy.so +%{tde_tdelibdir}/clock_panelapplet.la +%{tde_tdelibdir}/clock_panelapplet.so +%{tde_tdelibdir}/dockbar_panelextension.la +%{tde_tdelibdir}/dockbar_panelextension.so +%{tde_tdelibdir}/extensionproxy.la +%{tde_tdelibdir}/extensionproxy.so +%{tde_tdelibdir}/kasbar_panelextension.la +%{tde_tdelibdir}/kasbar_panelextension.so +%{tde_tdelibdir}/kicker.la +%{tde_tdelibdir}/kickermenu_find.la +%{tde_tdelibdir}/kickermenu_find.so +%{tde_tdelibdir}/kickermenu_kate.so +%{tde_tdelibdir}/kickermenu_kate.la +%{tde_tdelibdir}/kickermenu_[kt]deprint.la +%{tde_tdelibdir}/kickermenu_[kt]deprint.so +%{tde_tdelibdir}/kickermenu_konqueror.la +%{tde_tdelibdir}/kickermenu_konqueror.so +%{tde_tdelibdir}/kickermenu_konsole.la +%{tde_tdelibdir}/kickermenu_konsole.so +%{tde_tdelibdir}/kickermenu_prefmenu.la +%{tde_tdelibdir}/kickermenu_prefmenu.so +%{tde_tdelibdir}/kickermenu_recentdocs.la +%{tde_tdelibdir}/kickermenu_recentdocs.so +%{tde_tdelibdir}/kickermenu_remotemenu.la +%{tde_tdelibdir}/kickermenu_remotemenu.so +%{tde_tdelibdir}/kickermenu_systemmenu.la +%{tde_tdelibdir}/kickermenu_systemmenu.so +%{tde_tdelibdir}/kicker.so +%{tde_tdelibdir}/launcher_panelapplet.la +%{tde_tdelibdir}/launcher_panelapplet.so +%{tde_tdelibdir}/lockout_panelapplet.la +%{tde_tdelibdir}/lockout_panelapplet.so +%{tde_tdelibdir}/media_panelapplet.la +%{tde_tdelibdir}/media_panelapplet.so +%{tde_tdelibdir}/menu_panelapplet.la +%{tde_tdelibdir}/menu_panelapplet.so +%{tde_tdelibdir}/minipager_panelapplet.la +%{tde_tdelibdir}/minipager_panelapplet.so +%{tde_tdelibdir}/naughty_panelapplet.la +%{tde_tdelibdir}/naughty_panelapplet.so +%{tde_tdelibdir}/run_panelapplet.la +%{tde_tdelibdir}/run_panelapplet.so +%{tde_tdelibdir}/sidebar_panelextension.la +%{tde_tdelibdir}/sidebar_panelextension.so +%{tde_tdelibdir}/systemtray_panelapplet.la +%{tde_tdelibdir}/systemtray_panelapplet.so +%{tde_tdelibdir}/taskbar_panelapplet.la +%{tde_tdelibdir}/taskbar_panelapplet.so +%{tde_tdelibdir}/taskbar_panelextension.la +%{tde_tdelibdir}/taskbar_panelextension.so +%{tde_tdelibdir}/trash_panelapplet.la +%{tde_tdelibdir}/trash_panelapplet.so +%{tde_libdir}/libkasbar.so.* +%{tde_libdir}/lib[kt]deinit_appletproxy.la +%{tde_libdir}/lib[kt]deinit_appletproxy.so +%{tde_libdir}/lib[kt]deinit_extensionproxy.la +%{tde_libdir}/lib[kt]deinit_extensionproxy.so +%{tde_libdir}/lib[kt]deinit_kicker.la +%{tde_libdir}/lib[kt]deinit_kicker.so +%{tde_libdir}/libkickermain.so.* +%{tde_libdir}/libtaskbar.so.* +%{tde_libdir}/libtaskmanager.so.* +%{tde_libdir}/libkickoffsearch_interfaces.so.* +%{tde_tdeappdir}/kcmkicker.desktop +%{tde_datadir}/applnk/.hidden/kicker_config_arrangement.desktop +%{tde_datadir}/applnk/.hidden/kicker_config_hiding.desktop +%{tde_datadir}/applnk/.hidden/kicker_config_menus.desktop +%{tde_datadir}/apps/clockapplet/pics/lcd.png +%{tde_datadir}/apps/kconf_update/kicker-3.1-properSizeSetting.pl +%{tde_datadir}/apps/kconf_update/kicker-3.5-kconfigXTize.pl +%{tde_datadir}/apps/kconf_update/kicker-3.5-taskbarEnums.pl +%{tde_datadir}/apps/kconf_update/kickerrc.upd +%{tde_datadir}/apps/kicker/ +%exclude %{tde_datadir}/apps/kicker/applets/klipper.desktop +%exclude %{tde_datadir}/apps/kicker/applets/ksysguardapplet.desktop +%{tde_datadir}/apps/naughtyapplet/pics/naughty-happy.png +%{tde_datadir}/apps/naughtyapplet/pics/naughty-sad.png +%{tde_datadir}/autostart/panel.desktop +%{tde_datadir}/config.kcfg/kickerSettings.kcfg +%{tde_datadir}/config.kcfg/launcherapplet.kcfg +%{tde_datadir}/config.kcfg/pagersettings.kcfg +%{tde_datadir}/config.kcfg/taskbar.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/systemtray.png +%{tde_datadir}/icons/crystalsvg/*/apps/taskbar.png +%{tde_datadir}/icons/crystalsvg/*/apps/kbinaryclock.png +%{tde_datadir}/icons/crystalsvg/*/apps/kdisknav.png +%{tde_datadir}/icons/crystalsvg/*/apps/kicker.png +%{tde_datadir}/icons/crystalsvg/*/apps/panel.png +%{tde_datadir}/icons/crystalsvg/*/apps/runprocesscatcher.png +%{tde_datadir}/icons/crystalsvg/*/apps/window_list.png +%{tde_datadir}/icons/crystalsvg/*/apps/kbinaryclock.svgz +%{tde_datadir}/icons/crystalsvg/*/apps/systemtray.svgz +%{tde_datadir}/servicetypes/kickoffsearchplugin.desktop +%{tde_tdedocdir}/HTML/en/kicker/ +%if 0%{?mgaversion} >= 3 +%{tde_datadir}/oxygen/scalable/mgabutton.svg +%endif + +%post -n trinity-kicker +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +%postun -n trinity-kicker +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +########## + +%package -n trinity-kicker-devel +Summary: Development files for kicker +Group: Development/Libraries +Requires: trinity-kicker = %{version}-%{release} + +%description -n trinity-kicker-devel +%{summary} + +%files -n trinity-kicker-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kickoff-search-plugin.h +%{tde_tdeincludedir}/kickoffsearchinterface.h +%{tde_libdir}/libkasbar.la +%{tde_libdir}/libkasbar.so +%{tde_libdir}/libkickermain.la +%{tde_libdir}/libkickermain.so +%{tde_libdir}/libkickoffsearch_interfaces.la +%{tde_libdir}/libkickoffsearch_interfaces.so +%{tde_libdir}/libtaskbar.la +%{tde_libdir}/libtaskbar.so +%{tde_libdir}/libtaskmanager.la +%{tde_libdir}/libtaskmanager.so + +%post -n trinity-kicker-devel +/sbin/ldconfig || : + +%postun -n trinity-kicker-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-klipper +Summary: clipboard utility for Trinity +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-klipper +klipper provides standard clipboard functions (cut and paste, history +saving) plus additional features, like the ability to offer actions to +take dependent on the clipboard contents. For example, it can launch a +web browser if the clipboard contains a URL. + +%files -n trinity-klipper +%defattr(-,root,root,-) +%{tde_bindir}/klipper +%{_sysconfdir}/trinity/klipperrc +%{tde_tdelibdir}/klipper.la +%{tde_tdelibdir}/klipper.so +%{tde_tdelibdir}/klipper_panelapplet.la +%{tde_tdelibdir}/klipper_panelapplet.so +%{tde_libdir}/lib[kt]deinit_klipper.la +%{tde_libdir}/lib[kt]deinit_klipper.so +%{tde_tdeappdir}/klipper.desktop +%{tde_datadir}/apps/kconf_update/klipper-1-2.pl +%{tde_datadir}/apps/kconf_update/klipper-trinity1.sh +%{tde_datadir}/apps/kconf_update/klipperrc.upd +%{tde_datadir}/apps/kconf_update/klippershortcuts.upd +%{tde_datadir}/apps/kicker/applets/klipper.desktop +%{tde_datadir}/autostart/klipper.desktop +%{tde_datadir}/icons/hicolor/*/apps/klipper.* +%{tde_tdedocdir}/HTML/en/klipper/ + +%post -n trinity-klipper +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +%postun -n trinity-klipper +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +########## + +%package -n trinity-kmenuedit +Summary: menu editor for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-kmenuedit +The TDE menu editor allows you to make customisations to the KDE menu +structure. + +%files -n trinity-kmenuedit +%defattr(-,root,root,-) +%{tde_bindir}/kcontroledit +%{tde_bindir}/kmenuedit +%{tde_tdelibdir}/kcontroledit.la +%{tde_tdelibdir}/kcontroledit.so +%{tde_tdelibdir}/kmenuedit.la +%{tde_tdelibdir}/kmenuedit.so +%{tde_libdir}/lib[kt]deinit_kcontroledit.la +%{tde_libdir}/lib[kt]deinit_kcontroledit.so +%{tde_libdir}/lib[kt]deinit_kmenuedit.la +%{tde_libdir}/lib[kt]deinit_kmenuedit.so +%{tde_tdeappdir}/kmenuedit.desktop +%{tde_datadir}/applnk/System/kmenuedit.desktop +%{tde_datadir}/apps/kcontroledit/ +%{tde_datadir}/apps/kmenuedit/ +%{tde_tdedocdir}/HTML/en/kmenuedit/ + +%post -n trinity-kmenuedit +update-desktop-database %{tde_appdir} 2> /dev/null || : +/sbin/ldconfig || : + +%postun -n trinity-kmenuedit +update-desktop-database %{tde_appdir} 2> /dev/null || : +/sbin/ldconfig || : + +########## + +%package -n trinity-konqueror +Summary: TDE's advanced file manager, web browser and document viewer +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} +Requires: trinity-kcontrol = %{version}-%{release} +Requires: %{name}-tdeio-plugins = %{version}-%{release} +Requires: trinity-kdesktop = %{version}-%{release} +Requires: trinity-kfind = %{version}-%{release} +Requires: trinity-libkonq = %{version}-%{release} + +%description -n trinity-konqueror +Konqueror is the file manager for the Trinity Desktop Environment. +It supports basic file management on local UNIX filesystems, +from simple cut/copy and paste operations to advanced remote +and local network file browsing. + +It is also the canvas for all the latest TDE technology, +from KIO slaves (which provide mechanisms for file access) to +component embedding via the KParts object interface, and it +is one of the most customizable applications available. + +Konqueror is an Open Source web browser with HTML4.0 compliance, +supporting Java applets, JavaScript, CSS1 and (partially) CSS2, +as well as Netscape plugins (for example, Flash or RealVideo plugins). + +It is a universal viewing application, capable of embedding +read-only viewing components in itself to view documents without +ever launching another application. + +%files -n trinity-konqueror +%defattr(-,root,root,-) +%{_sysconfdir}/trinity/konqsidebartng.rc +%{tde_bindir}/kbookmarkmerger +%{tde_bindir}/keditbookmarks +%{tde_bindir}/kfmclient +%{tde_bindir}/konqueror +%{tde_tdelibdir}/kcm_history.la +%{tde_tdelibdir}/kcm_history.so +%{tde_tdelibdir}/kded_konqy_preloader.la +%{tde_tdelibdir}/kded_konqy_preloader.so +%{tde_tdelibdir}/keditbookmarks.la +%{tde_tdelibdir}/keditbookmarks.so +%{tde_tdelibdir}/kfmclient.la +%{tde_tdelibdir}/kfmclient.so +%{tde_tdelibdir}/konq_aboutpage.la +%{tde_tdelibdir}/konq_aboutpage.so +%{tde_tdelibdir}/konq_iconview.la +%{tde_tdelibdir}/konq_iconview.so +%{tde_tdelibdir}/konq_listview.la +%{tde_tdelibdir}/konq_listview.so +%{tde_tdelibdir}/konq_remoteencoding.la +%{tde_tdelibdir}/konq_remoteencoding.so +%{tde_tdelibdir}/konq_shellcmdplugin.la +%{tde_tdelibdir}/konq_shellcmdplugin.so +%{tde_tdelibdir}/konq_sidebar.la +%{tde_tdelibdir}/konq_sidebar.so +%{tde_tdelibdir}/konq_sidebartree_bookmarks.la +%{tde_tdelibdir}/konq_sidebartree_bookmarks.so +%{tde_tdelibdir}/konq_sidebartree_dirtree.la +%{tde_tdelibdir}/konq_sidebartree_dirtree.so +%{tde_tdelibdir}/konq_sidebartree_history.la +%{tde_tdelibdir}/konq_sidebartree_history.so +%{tde_tdelibdir}/konqsidebar_tree.la +%{tde_tdelibdir}/konqsidebar_tree.so +%{tde_tdelibdir}/konqsidebar_web.la +%{tde_tdelibdir}/konqsidebar_web.so +%{tde_tdelibdir}/konqueror.la +%{tde_tdelibdir}/konqueror.so +%{tde_tdelibdir}/libkhtmlkttsdplugin.la +%{tde_tdelibdir}/libkhtmlkttsdplugin.so +%{tde_libdir}/lib[kt]deinit_keditbookmarks.la +%{tde_libdir}/lib[kt]deinit_keditbookmarks.so +%{tde_libdir}/lib[kt]deinit_kfmclient.la +%{tde_libdir}/lib[kt]deinit_kfmclient.so +%{tde_libdir}/lib[kt]deinit_konqueror.la +%{tde_libdir}/lib[kt]deinit_konqueror.so +%{tde_libdir}/libkonqsidebarplugin.so.* +%{tde_tdeappdir}/Home.desktop +%{tde_tdeappdir}/kcmhistory.desktop +%{tde_tdeappdir}/kfmclient.desktop +%{tde_tdeappdir}/kfmclient_dir.desktop +%{tde_tdeappdir}/kfmclient_html.desktop +%{tde_tdeappdir}/kfmclient_war.desktop +%{tde_tdeappdir}/khtml_filter.desktop +%{tde_tdeappdir}/konqbrowser.desktop +%{tde_tdeappdir}/konquerorsu.desktop +%{tde_datadir}/applnk/.hidden/konqfilemgr.desktop +%{tde_datadir}/applnk/Internet/keditbookmarks.desktop +%{tde_datadir}/applnk/konqueror.desktop +%{tde_datadir}/apps/kconf_update/kfmclient_3_2.upd +%{tde_datadir}/apps/kconf_update/kfmclient_3_2_update.sh +%{tde_datadir}/apps/kconf_update/konqsidebartng.upd +%{tde_datadir}/apps/kconf_update/move_konqsidebartng_entries.sh +%{tde_datadir}/apps/keditbookmarks/keditbookmarks-genui.rc +%{tde_datadir}/apps/keditbookmarks/keditbookmarksui.rc +%{tde_datadir}/apps/khtml/kpartplugins/khtmlkttsd.desktop +%{tde_datadir}/apps/khtml/kpartplugins/khtmlkttsd.rc +%{tde_datadir}/apps/konqiconview/ +%{tde_datadir}/apps/konqlistview/ +%exclude %{tde_datadir}/apps/konqsidebartng/virtual_folders/services/fonts.desktop +%{tde_datadir}/apps/konqsidebartng/ +%{tde_datadir}/apps/konqueror/about/ +%{tde_datadir}/apps/konqueror/icons/ +%{tde_datadir}/apps/konqueror/konq-simplebrowser.rc +%{tde_datadir}/apps/konqueror/konqueror.rc +%{tde_datadir}/apps/konqueror/pics/indicator_connect.png +%{tde_datadir}/apps/konqueror/pics/indicator_empty.png +%{tde_datadir}/apps/konqueror/pics/indicator_noconnect.png +%{tde_datadir}/apps/konqueror/pics/indicator_viewactive.png +%{tde_datadir}/apps/konqueror/profiles/ +%exclude %{tde_datadir}/apps/konqueror/servicemenus/kdesktopSetAsBackground.desktop +%exclude %{tde_datadir}/apps/konqueror/servicemenus/konsolehere.desktop +%exclude %{tde_datadir}/apps/konqueror/servicemenus/installfont.desktop +%{tde_datadir}/apps/konqueror/servicemenus/*.desktop +%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase +%{_sysconfdir}/alternatives/media_safelyremove.desktop_tdebase +%{tde_datadir}/apps/konqueror/tiles/*.png +%{tde_datadir}/autostart/konqy_preload.desktop +%{tde_datadir}/config.kcfg/keditbookmarks.kcfg +%{tde_datadir}/config.kcfg/konq_listview.kcfg +%{tde_datadir}/config.kcfg/konqueror.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/keditbookmarks.png +%{tde_datadir}/icons/crystalsvg/*/apps/kfm_home.svgz +%{tde_datadir}/icons/hicolor/*/apps/kfm.png +%{tde_datadir}/icons/hicolor/*/apps/konqueror.* +%{tde_datadir}/services/kded/konqy_preloader.desktop +%{tde_datadir}/services/konq_*.desktop +%{tde_datadir}/servicetypes/konqaboutpage.desktop +%{tde_tdedocdir}/HTML/en/konqueror/ + +%post -n trinity-konqueror +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : +update-alternatives --install \ + %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop \ + media_safelyremove.desktop_konqueror \ + %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase \ + 10 || : + +%postun -n trinity-konqueror +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +%preun -n trinity-konqueror +if [ $1 -eq 0 ]; then + update-alternatives --remove \ + media_safelyremove.desktop_konqueror \ + %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase || : +fi + +########## + +%package -n trinity-konqueror-devel +Summary: Development files for konqueror +Group: Development/Libraries +Requires: trinity-konqueror = %{version}-%{release} + +%description -n trinity-konqueror-devel +%{summary} + +%files -n trinity-konqueror-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/konqsidebarplugin.h +%{tde_tdeincludedir}/KonquerorIface.h +%{tde_libdir}/libkonqsidebarplugin.la +%{tde_libdir}/libkonqsidebarplugin.so + +%post -n trinity-konqueror-devel +/sbin/ldconfig || : + +%postun -n trinity-konqueror-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-konqueror-nsplugins +Summary: Netscape plugin support for Konqueror +Group: Applications/Utilities +Requires: trinity-konqueror = %{version}-%{release} + +%description -n trinity-konqueror-nsplugins +This package includes support for Netscape plugins in Konqueror. + +%files -n trinity-konqueror-nsplugins +%defattr(-,root,root,-) +%{tde_bindir}/nspluginscan +%{tde_bindir}/nspluginviewer +%{tde_tdelibdir}/kcm_nsplugins.la +%{tde_tdelibdir}/kcm_nsplugins.so +%{tde_tdelibdir}/libnsplugin.la +%{tde_tdelibdir}/libnsplugin.so +%{tde_tdeappdir}/khtml_plugins.desktop +%{tde_datadir}/apps/plugin/nspluginpart.rc + +%post -n trinity-konqueror-nsplugins +update-desktop-database %{tde_appdir} 2> /dev/null || : + +%postun -n trinity-konqueror-nsplugins +update-desktop-database %{tde_appdir} 2> /dev/null || : + +########## + +%package -n trinity-konsole +Summary: X terminal emulator for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-konsole +Konsole is an X terminal emulation which provides a command-line interface +(CLI) while using the graphical K Desktop Environment. Konsole helps to +better organize user's desktop by containing multiple sessions in a single +window (a less cluttered desktop). + +Its advanced features include a simple configuration and the ability to use +multiple terminal shells in a single window + +Using Konsole, a user can open: +* Linux console sessions +* Midnight Commander file manager sessions +* Shell sessions +* Root consoles sessions + +%files -n trinity-konsole +%defattr(-,root,root,-) +%{tde_bindir}/konsole +%{tde_tdelibdir}/kcm_konsole.la +%{tde_tdelibdir}/kcm_konsole.so +%{tde_tdelibdir}/kded_kwrited.la +%{tde_tdelibdir}/kded_kwrited.so +%{tde_tdelibdir}/konsole.la +%{tde_tdelibdir}/konsole.so +%{tde_tdelibdir}/libkonsolepart.la +%{tde_tdelibdir}/libkonsolepart.so +%{tde_libdir}/lib[kt]deinit_konsole.la +%{tde_libdir}/lib[kt]deinit_konsole.so +%{tde_tdeappdir}/konsole.desktop +%{tde_tdeappdir}/konsolesu.desktop +%{tde_datadir}/applnk/.hidden/kcmkonsole.desktop +%{tde_datadir}/apps/kconf_update/konsole.upd +%{tde_datadir}/apps/kconf_update/schemaStrip.pl +%{tde_datadir}/apps/konqueror/servicemenus/konsolehere.desktop +%{tde_datadir}/apps/konsole/ +%{tde_datadir}/icons/hicolor/*/apps/konsole.* +%{tde_datadir}/mimelnk/application/x-konsole.desktop +%{tde_datadir}/services/kded/kwrited.desktop +%{tde_datadir}/services/konsolepart.desktop +%{tde_datadir}/services/konsole-script.desktop +%{tde_datadir}/services/kwrited.desktop +%{tde_datadir}/servicetypes/terminalemulator.desktop +%{tde_tdedocdir}/HTML/en/konsole/ +%{tde_tdedocdir}/HTML/en/kcontrol/kcmkonsole/ + +%post -n trinity-konsole +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +%postun -n trinity-konsole +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +########## + +%package -n trinity-kpager +Summary: desktop pager for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-kpager +This package contains TDE's desktop pager, which displays your virtual +desktops iconically in a window, along with icons of any running +applications. It is used to switch between applications or desktops. + +%files -n trinity-kpager +%defattr(-,root,root,-) +%{tde_bindir}/kpager +%{tde_tdeappdir}/kpager.desktop +%{tde_datadir}/applnk/Utilities/kpager.desktop +%{tde_datadir}/icons/hicolor/*/apps/kpager.png +%{tde_tdedocdir}/HTML/en/kpager/ + +%post -n trinity-kpager +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%postun -n trinity-kpager +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package -n trinity-kpersonalizer +Summary: installation personalizer for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-kpersonalizer +TDE Personalizer is the application that configures the TDE desktop for you. +It's a very useful wizard that allows you to quickly change the TDE desktop to +suit your own needs. When you run TDE for the first time, KPersonalizer is +automatically started. KPersonalizer can also be called later. + +%files -n trinity-kpersonalizer +%defattr(-,root,root,-) +%{tde_bindir}/kpersonalizer +%{tde_tdeappdir}/kpersonalizer.desktop +%{tde_datadir}/applnk/System/kpersonalizer.desktop +%{tde_datadir}/apps/kpersonalizer/ +%{tde_datadir}/icons/crystalsvg/*/apps/kpersonalizer.png + +%post -n trinity-kpersonalizer +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%postun -n trinity-kpersonalizer +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package -n trinity-ksmserver +Summary: session manager for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} +Requires: trinity-twin = %{version}-%{release} + +%description -n trinity-ksmserver +This package contains the KDE session manager. It is responsible for +restoring your TDE session on login. It is also needed to properly +start a KDE session. It registers KDE with X display managers, and +provides the 'starttde' command, for starting an X session with KDE +from the console. + +If you are running TDE for the first time for a certain user, +kpersonalizer is used to help with setup. If it is not present, +KDE will start, but many good defaults will not be set. + +%files -n trinity-ksmserver +%defattr(-,root,root,-) +%{tde_bindir}/ksmserver +%{tde_bindir}/startkde +%{tde_bindir}/migratekde3 +%{tde_tdelibdir}/ksmserver.la +%{tde_tdelibdir}/ksmserver.so +%{tde_libdir}/lib[kt]deinit_ksmserver.la +%{tde_libdir}/lib[kt]deinit_ksmserver.so +%{tde_datadir}/apps/kconf_update/ksmserver.upd +%{tde_datadir}/apps/kconf_update/move_session_config.sh +%{tde_datadir}/apps/ksmserver/pics/shutdownkonq.png + +# Remove conflicts with redhat-menus +%if "%{?tde_prefix}" != "/usr" +%{tde_bindir}/plasma-desktop +%endif + +%post -n trinity-ksmserver +/sbin/ldconfig || : + +%postun -n trinity-ksmserver +/sbin/ldconfig || : + +########## + +%package -n trinity-ksplash +Summary: the TDE splash screen +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-ksplash +This package includes the TDE Splash screen, which is seen when +a TDE session is launched. + +%files -n trinity-ksplash +%defattr(-,root,root,-) +%{tde_bindir}/ksplash +%{tde_bindir}/ksplashsimple +%{tde_tdelibdir}/kcm_ksplashthemes.la +%{tde_tdelibdir}/kcm_ksplashthemes.so +%{tde_tdelibdir}/ksplashdefault.la +%{tde_tdelibdir}/ksplashdefault.so +%{tde_tdelibdir}/ksplashunified.la +%{tde_tdelibdir}/ksplashunified.so +%{tde_tdelibdir}/ksplashredmond.la +%{tde_tdelibdir}/ksplashredmond.so +%{tde_tdelibdir}/ksplashstandard.la +%{tde_tdelibdir}/ksplashstandard.so +%{tde_libdir}/libksplashthemes.so.* +%{tde_tdeappdir}/ksplashthememgr.desktop +%{tde_datadir}/apps/ksplash +%{tde_datadir}/services/ksplashdefault.desktop +%{tde_datadir}/services/ksplash.desktop +%{tde_datadir}/services/ksplashunified.desktop +%{tde_datadir}/services/ksplashredmond.desktop +%{tde_datadir}/services/ksplashstandard.desktop +%{tde_datadir}/servicetypes/ksplashplugins.desktop +%{tde_tdedocdir}/HTML/en/ksplashml/ + +%post -n trinity-ksplash +update-desktop-database %{tde_appdir} 2> /dev/null || : +/sbin/ldconfig || : + +%postun -n trinity-ksplash +update-desktop-database %{tde_appdir} 2> /dev/null || : +/sbin/ldconfig || : + +########## + +%package -n trinity-ksplash-devel +Summary: Development files for ksplash +Group: Development/Libraries +Requires: trinity-ksplash = %{version}-%{release} + +%description -n trinity-ksplash-devel +%{summary} + +%files -n trinity-ksplash-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/ksplash/* +%{tde_libdir}/libksplashthemes.la +%{tde_libdir}/libksplashthemes.so + +%post -n trinity-ksplash-devel +/sbin/ldconfig || : + +%postun -n trinity-ksplash-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-ksysguard +Summary: system guard for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} +Requires: trinity-ksysguardd = %{version}-%{release} + +%description -n trinity-ksysguard +TDE System Guard allows you to monitor various statistics about your +computer. + +%files -n trinity-ksysguard +%defattr(-,root,root,-) +%{tde_bindir}/kpm +%{tde_bindir}/ksysguard +%{tde_tdelibdir}/sysguard_panelapplet.la +%{tde_tdelibdir}/sysguard_panelapplet.so +%{tde_libdir}/libksgrd.so.* +%{tde_tdeappdir}/ksysguard.desktop +%{tde_datadir}/apps/kicker/applets/ksysguardapplet.desktop +%{tde_datadir}/apps/ksysguard/ +%{tde_datadir}/icons/crystalsvg/*/apps/ksysguard.png +%{tde_datadir}/mimelnk/application/x-ksysguard.desktop +%{tde_tdedocdir}/HTML/en/ksysguard/ + +%post -n trinity-ksysguard +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +%postun -n trinity-ksysguard +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +########## + +%package -n trinity-ksysguard-devel +Summary: Development files for ksysguard +Group: Development/Libraries +Requires: trinity-ksysguard = %{version}-%{release} + +%description -n trinity-ksysguard-devel +%{summary} + +%files -n trinity-ksysguard-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/ksgrd/* +%{tde_libdir}/libksgrd.la +%{tde_libdir}/libksgrd.so + +%post -n trinity-ksysguard-devel +/sbin/ldconfig || : + +%postun -n trinity-ksysguard-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-ksysguardd +Summary: system guard daemon for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-ksysguardd +TDE System Guard Daemon is the daemon part of ksysguard. The daemon can +be installed on a remote machine to enable ksysguard on another machine +to monitor it through the daemon running there. + +%files -n trinity-ksysguardd +%defattr(-,root,root,-) +%{tde_bindir}/ksysguardd +%config(noreplace) %{_sysconfdir}/trinity/ksysguarddrc + +########## + +%package -n trinity-ktip +Summary: useful tips for TDE +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-ktip +ktip provides many useful tips on using TDE when you log in. + +%files -n trinity-ktip +%defattr(-,root,root,-) +%{tde_bindir}/ktip +%{tde_tdeappdir}/ktip.desktop +%{tde_datadir}/applnk/Toys/ktip.desktop +%{tde_datadir}/apps/kdewizard/pics/wizard_small.png +%{tde_datadir}/apps/kdewizard/tips/ +%{tde_datadir}/autostart/ktip.desktop +%{tde_datadir}/icons/hicolor/*/apps/ktip.* + +%post -n trinity-ktip +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +%postun -n trinity-ktip +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done + +########## + +%package -n trinity-twin +Summary: the TDE window manager +Group: Applications/Utilities +Requires: %{name}-data = %{version}-%{release} + +%description -n trinity-twin +This package contains the default X window manager for TDE. + +%files -n trinity-twin +%defattr(-,root,root,-) +%{tde_bindir}/kompmgr +%{tde_bindir}/[kt]win +%{tde_bindir}/[kt]win_killer_helper +#%{tde_bindir}/[kt]win_resumer_helper +%{tde_bindir}/[kt]win_rules_dialog +%{tde_libdir}/kconf_update_bin/[kt]win_update_default_rules +%{tde_libdir}/kconf_update_bin/[kt]win_update_window_settings +%{tde_tdelibdir}/kcm_[kt]win*.la +%{tde_tdelibdir}/kcm_[kt]win*.so +%{tde_tdelibdir}/[kt]win*.la +%{tde_tdelibdir}/[kt]win*.so +%{tde_libdir}/lib[kt]decorations.so.* +%{tde_libdir}/lib[kt]deinit_[kt]win_rules_dialog.la +%{tde_libdir}/lib[kt]deinit_[kt]win_rules_dialog.so +%{tde_libdir}/lib[kt]deinit_[kt]win.la +%{tde_libdir}/lib[kt]deinit_[kt]win.so +%{tde_tdeappdir}/showdesktop.desktop +%{tde_tdeappdir}/[kt]windecoration.desktop +%{tde_tdeappdir}/[kt]winoptions.desktop +%{tde_tdeappdir}/[kt]winrules.desktop +%{tde_datadir}/applnk/.hidden/[kt]winactions.desktop +%{tde_datadir}/applnk/.hidden/[kt]winadvanced.desktop +%{tde_datadir}/applnk/.hidden/[kt]winfocus.desktop +%{tde_datadir}/applnk/.hidden/[kt]winmoving.desktop +%{tde_datadir}/applnk/.hidden/[kt]wintranslucency.desktop +%{tde_datadir}/apps/kconf_update/[kt]win3_plugin.pl +%{tde_datadir}/apps/kconf_update/[kt]win3_plugin.upd +%{tde_datadir}/apps/kconf_update/[kt]win_focus1.sh +%{tde_datadir}/apps/kconf_update/[kt]win_focus1.upd +%{tde_datadir}/apps/kconf_update/[kt]win_focus2.sh +%{tde_datadir}/apps/kconf_update/[kt]win_focus2.upd +%{tde_datadir}/apps/kconf_update/[kt]win_fsp_workarounds_1.upd +%{tde_datadir}/apps/kconf_update/[kt]winiconify.upd +%{tde_datadir}/apps/kconf_update/[kt]winsticky.upd +%{tde_datadir}/apps/kconf_update/[kt]win.upd +%{tde_datadir}/apps/kconf_update/[kt]winupdatewindowsettings.upd +%{tde_datadir}/apps/kconf_update/pluginlibFix.pl +%{tde_datadir}/apps/[kt]win/ +%{tde_datadir}/config.kcfg/[kt]win.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/[kt]win.png +%{tde_tdedocdir}/HTML/en/kompmgr/ + +%post -n trinity-twin +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +%postun -n trinity-twin +update-desktop-database %{tde_appdir} 2> /dev/null || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +/sbin/ldconfig || : + +########## + +%package -n trinity-twin-devel +Summary: Development files for twin +Group: Development/Libraries +Requires: trinity-twin = %{version}-%{release} + +%description -n trinity-twin-devel +%{summary} + +%files -n trinity-twin-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/[kt]win/ +%{tde_tdeincludedir}/kcommondecoration.h +%{tde_tdeincludedir}/kdecoration.h +%{tde_tdeincludedir}/kdecoration_p.h +%{tde_tdeincludedir}/kdecoration_plugins_p.h +%{tde_tdeincludedir}/kdecorationfactory.h +%{tde_tdeincludedir}/KWinInterface.h +%{tde_libdir}/libkdecorations.la +%{tde_libdir}/libkdecorations.so + +%post -n trinity-twin-devel +/sbin/ldconfig || : + +%postun -n trinity-twin-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libkonq +Summary: core libraries for Konqueror +Group: Environment/Libraries + +%description -n trinity-libkonq +These libraries are used by several TDE applications, most notably +Konqueror and the kdesktop package. + +%files -n trinity-libkonq +%defattr(-,root,root,-) +%{tde_tdelibdir}/kded_favicons.la +%{tde_tdelibdir}/kded_favicons.so +%{tde_tdelibdir}/konq_sound.la +%{tde_tdelibdir}/konq_sound.so +%{tde_libdir}/libkonq.so.* +%{tde_datadir}/apps/kbookmark/directory_bookmarkbar.desktop +%{tde_datadir}/apps/kconf_update/favicons.upd +%{tde_datadir}/apps/kconf_update/move_favicons.sh +%{tde_datadir}/apps/konqueror/pics/arrow_bottomleft.png +%{tde_datadir}/apps/konqueror/pics/arrow_bottomright.png +%{tde_datadir}/apps/konqueror/pics/arrow_topleft.png +%{tde_datadir}/apps/konqueror/pics/arrow_topright.png +%{tde_datadir}/apps/konqueror/pics/thumbnailfont_7x4.png +%{tde_datadir}/services/kded/favicons.desktop +%{tde_datadir}/servicetypes/konqpopupmenuplugin.desktop + +%post -n trinity-libkonq +/sbin/ldconfig || : + +%postun -n trinity-libkonq +/sbin/ldconfig || : + +########## + +%package libtqt3-integration +Summary: Integration library between TQt3 and TDE +Group: Environment/Libraries + +Obsoletes: tdebase-libtqt3-integration < %{version}-%{release} +Provides: tdebase-libtqt3-integration = %{version}-%{release} + +%description libtqt3-integration +These libraries allow you to use TDE dialogs in native TQt3 applications. + +%files libtqt3-integration +%defattr(-,root,root,-) +%{tde_tdelibdir}/plugins/integration/libqtkde.la +%{tde_tdelibdir}/plugins/integration/libqtkde.so +%{tde_tdelibdir}/plugins/integration/libqtkde.so.* +%{tde_tdelibdir}/kded_kdeintegration.la +%{tde_tdelibdir}/kded_kdeintegration.so +%{tde_datadir}/services/kded/kdeintegration.desktop + +########## + +%package -n trinity-libkonq-devel +Summary: development files for Konqueror's core libraries +Group: Development/Libraries +Requires: trinity-libkonq = %{version}-%{release} + +%description -n trinity-libkonq-devel +This package contains headers and other development files for the core +Konqueror libraries. + +%files -n trinity-libkonq-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kfileivi.h +%{tde_tdeincludedir}/kivdirectoryoverlay.h +%{tde_tdeincludedir}/knewmenu.h +%{tde_tdeincludedir}/konqbookmarkmanager.h +%{tde_tdeincludedir}/konq_*.h +%{tde_tdeincludedir}/libkonq_export.h +%{tde_libdir}/libkonq.la +%{tde_libdir}/libkonq.so + +%post -n trinity-libkonq-devel +/sbin/ldconfig || : + +%postun -n trinity-libkonq-devel +/sbin/ldconfig || : + +########## + +%package tdeio-smb-plugin +Summary: Windows Connection Module for TDE +Group: Environment/Libraries + +%description tdeio-smb-plugin +This package provides the "smb://" protocol, to connect to and from +Windows and Samba shares. + +%files tdeio-smb-plugin +%defattr(-,root,root) +%{tde_tdelibdir}/kcm_samba.la +%{tde_tdelibdir}/kcm_samba.so +%{tde_tdelibdir}/kio_smb.la +%{tde_tdelibdir}/kio_smb.so +%{tde_datadir}/services/smb.protocol +%{tde_datadir}/apps/konqueror/dirtree/remote/smb-network.desktop +%{tde_datadir}/apps/remoteview/smb-network.desktop +%{tde_datadir}/mimelnk/application/x-smb-workgroup.desktop + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +%patch1 -p1 -b .kdesu_no_ignore +%patch2 -p1 -b .openterminalhere +%if 0%{?rhel} || 0%{?fedora} +%patch3 -p1 -b .Xsession +%endif +%if 0%{?suse_version} +%patch4 -p1 -b .Xsession +%endif +%patch5 -p1 -b .tdeicon +%patch6 -p1 -b .xtestsupport +%patch7 -p1 -b .pid +%patch8 -p1 -b .kickoff_default_favs +%patch9 -p1 -b .translation + +%patch101 -p1 -b .vibrate_dialog +%patch102 -p1 -b .kcontrol_menu_entry +%patch103 -p1 -b .kdesktop_crossfade +%patch104 -p1 -b .kickoff_xdg +%patch105 -p1 -b .suspend_unmount +%patch106 -p1 -b .bookmark_global_copy + + +%if 0%{?rhel} == 4 +%patch201 -p1 -b .libdetect +%patch202 -p1 -b .dbustqt +%patch203 -p1 -b .consolekit +%patch204 -p1 -b .composite +#patch205 -p1 -b .hal04 +%patch206 -p1 -b .rhel4 +%endif + +# Applies an optional distro-specific graphical theme +%if "%{?tde_bg}" != "" +# TDM Background +%__sed -i "kdm/kfrontend/genkdmconf.c" \ + -e 's|"Wallpaper=isadora.png\n"|"Wallpaper=%{tde_bg}\n"|' + +# TDE user default background +%__sed -i "kpersonalizer/keyecandypage.cpp" \ + -e 's|#define DEFAULT_WALLPAPER "isadora.png"|#define DEFAULT_WALLPAPER "%{tde_bg}"|' +%__sed -i "startkde" \ + -e 's|/usr/share/wallpapers/isadora.png.desktop|%{tde_bg}|' \ + -e 's|Wallpaper=isadora.png|Wallpaper=%{tde_bg}|' +%endif + +# TDE branding: removes KUbuntu references [Bug #617] +%__sed -i "kcontrol/kdm/kdm-appear.cpp" \ + -e "s|Welcome to Kubuntu |Welcome to %{tde_aboutlabel} |" +%__sed -i "konqueror/about/konq_aboutpage.cc" \ + -e "s|About Kubuntu|About %{tde_aboutlabel}|" \ + -e "s|help:/kubuntu/|%{tde_aboutpage}|" \ + -e "s|Kubuntu Documentation|%{tde_aboutlabel} Documentation|" +%__sed -i "konqueror/about/launch.html" \ + -e "s|help:/kubuntu/about-kubuntu/index.html|%{tde_aboutpage}|" +%__sed -i "kdm/config.def" \ + -e "s|Welcome to Trinity |Welcome to %{tde_aboutlabel} |" + +# TDE default directory in 'startkde' script (KDEDIR) +%__sed -i "startkde" \ + -e "s|/opt/trinity|%{tde_prefix}|g" + +# TDE default start button icon +%__sed -i "startkde" \ + -e "s|%%{tde_starticon}|%{tde_starticon}|g" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" +export LD_LIBRARY_PATH="%{tde_libdir}" + +# Avoids building against KDE3's old stuff, if installed +export KDEDIR=%{tde_prefix} + +# Shitty hack for RHEL4 ... +if [ -d "/usr/X11R6" ]; then + export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/X11R6/include:/usr/X11R6/%{_lib}" + export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +# Samba 4.0 includes (Fedora 18) +if [ -d "/usr/include/samba-4.0" ]; then + export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/include/samba-4.0" +fi + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DBIN_INSTALL_DIR="%{tde_bindir}" \ + -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DCONFIG_INSTALL_DIR="/etc/trinity" \ + -DSYSCONF_INSTALL_DIR="/etc/trinity" \ + -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \ + -DWITH_SASL=ON \ + -DWITH_LDAP=ON \ + -DWITH_SAMBA=ON \ + %{?with_exr:-DWITH_OPENEXR=ON} \ + -DWITH_XCOMPOSITE=ON \ + -DWITH_XCURSOR=ON \ + -DWITH_XFIXES=ON \ + %{?with_xrandr:-DWITH_XRANDR=ON} \ + -DWITH_XRENDER=ON \ + -DWITH_XDAMAGE=ON \ + -DWITH_XEXT=ON \ + %{?with_xtest:-DWITH_XTEST=ON} \ + %{?with_xscreensaver:-DWITH_XSCREENSAVER=ON} \ + %{?with_libart:-DWITH_LIBART=ON} \ + -DWITH_LIBUSB=ON \ + -DWITH_LIBRAW1394=ON \ + -DWITH_SUDO_KDESU_BACKEND=OFF \ + -DWITH_PAM=ON \ + -DWITH_SHADOW=ON \ + -DWITH_XDMCP=ON \ + -DWITH_XINERAMA=ON \ + -DWITH_ARTS=ON \ + -DWITH_I8K=ON \ + %{?with_hal:-DWITH_HAL=ON} \ + -DWITH_KDESKTOP_LOCK_BACKTRACE=OFF \ + -DBUILD_ALL=ON \ +%if 0%{?suse_version} + -DKCHECKPASS_PAM_SERVICE="xdm" \ + -DKDM_PAM_SERVICE="xdm" \ + -DKSCREENSAVER_PAM_SERVICE="xdm" \ +%else + -DKCHECKPASS_PAM_SERVICE="kcheckpass-trinity" \ + -DKDM_PAM_SERVICE="kdm-trinity" \ + -DKSCREENSAVER_PAM_SERVICE="kscreensaver-trinity" \ +%endif + %{!?with_tsak:-DBUILD_TSAK=OFF} \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{?buildroot} -C build + +# Removes obsolete Beagle-related files +%__rm -f %{?buildroot}%{tde_bindir}/khc_beagle_index.pl +%__rm -f %{?buildroot}%{tde_bindir}/khc_beagle_search.pl + +# Adds a GDM/KDM/XDM session called 'TDE' + +# Under RHEL/Fedora/Suse, static 'xsessions' files go to '/usr/share/xsessions'. +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__install -D -m 644 \ + "%{?buildroot}%{tde_datadir}/apps/kdm/sessions/tde.desktop" \ + "%{?buildroot}%{_datadir}/xsessions/tde.desktop" + +# Force session name to be 'TDE' +%__sed -i "%{?buildroot}%{_datadir}/xsessions/tde.desktop" \ + -e "s,^Name=.*,Name=TDE," +%endif + +# Mageia/Mandriva/PCLinuxOS stores its session file in different folder than RHEL/Fedora +# Generated files for TDM/KDM4 go to '/usr/share/apps/kdm/sessions' +%if 0%{?mgaversion} || 0%{?mdkversion} +%__install -d -m 755 %{?buildroot}%{_sysconfdir}/X11/wmsession.d +cat <"%{?buildroot}%{_sysconfdir}/X11/wmsession.d/45TDE" +NAME=TDE +ICON=kde-wmsession.xpm +DESC=The Trinity Desktop Environment +EXEC=%{tde_bindir}/startkde +SCRIPT: +exec %{tde_bindir}/startkde +EOF + +%__install -d -m 755 %{?buildroot}%{_datadir}/X11/dm.d +cat <"%{?buildroot}%{_datadir}/X11/dm.d/45TDE.conf" +NAME=TDM +DESCRIPTION=TDM (Trinity Display Manager) +PACKAGE=trinity-tdm +EXEC=%{tde_bindir}/kdm +FNDSESSION_EXEC="/usr/sbin/chksession -k" +EOF +%endif + +# TDE 3.5.12: add script "plasma-desktop" to avoid conflict with KDE4 +%if "%{?tde_prefix}" != "/usr" +%__install -m 755 "%{SOURCE1}" "%{?buildroot}%{tde_bindir}" +%endif + +# PAM configuration files (except openSUSE) +%if 0%{?suse_version} == 0 +%__install -D -m 644 "%{SOURCE2}" "%{?buildroot}%{_sysconfdir}/pam.d/kdm-trinity" +%__install -D -m 644 "%{SOURCE3}" "%{?buildroot}%{_sysconfdir}/pam.d/kdm-trinity-np" +%__install -D -m 644 "%{SOURCE4}" "%{?buildroot}%{_sysconfdir}/pam.d/kcheckpass-trinity" +%__install -D -m 644 "%{SOURCE5}" "%{?buildroot}%{_sysconfdir}/pam.d/kscreensaver-trinity" +%endif + +# KDM configuration +%__sed -i "%{?buildroot}%{_sysconfdir}/trinity/kdm/kdmrc" \ +%if 0%{?fedora} >= 16 || 0%{?suse_version} >= 1220 + -e "s/^#*MinShowUID=.*/MinShowUID=1000/" +%else + -e "s/^#*MinShowUID=.*/MinShowUID=500/" +%endif + +# Moves the XDG configuration files to TDE directory +%if "%{tde_prefix}" != "/usr" +%__mkdir_p "%{?buildroot}%{tde_prefix}/etc" +%__mv -f "%{?buildroot}%{_sysconfdir}/xdg" "%{?buildroot}%{tde_prefix}/etc" +%endif + +# Symlinks 'usb.ids' (Use system-provided version, not TDE provided version) +%__rm -f "%{?buildroot}%{tde_datadir}/apps/usb.ids" +%if 0%{?suse_version} +%__ln_s -f "/usr/share/usb.ids" "%{?buildroot}%{tde_datadir}/apps/usb.ids" +%else +%__ln_s -f "/usr/share/hwdata/usb.ids" "%{?buildroot}%{tde_datadir}/apps/usb.ids" +%endif + +# Makes 'media_safelyremove.desktop' an alternative +%__mv -f "%{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop" "%{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase" +%__ln_s "%{_sysconfdir}/alternatives/media_safelyremove.desktop_tdebase" "%{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop" +%__mkdir_p "%{?buildroot}%{_sysconfdir}/alternatives" +%__ln_s "%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase" "%{?buildroot}%{_sysconfdir}/alternatives/media_safelyremove.desktop_tdebase" + +# SUSE: creates DM config file, used by '/etc/init.d/xdm' +# You must set 'DISPLAYMANAGER=tdm' in '/etc/sysconfig/displaymanager' +%if 0%{?suse_version} +%__install -D -m 644 "%{SOURCE6}" "%{?buildroot}/usr/lib/X11/displaymanagers/tdm" +%__sed -i "%{?buildroot}/usr/lib/X11/displaymanagers/tdm" -e "s|/opt/trinity/bin|%{tde_bindir}|g" +%endif + +# Fedora 18: no more SYSV init script, we have to use systemd. +%if 0%{?fedora} >= 18 +%__install -D -m 644 "%{SOURCE7}" "%{?buildroot}/usr/lib/systemd/system/tdm.service" +%endif + +# Symlink KDM configuration +%__mkdir_p "%{?buildroot}%{tde_datadir}/config" +%__ln_s "%{_sysconfdir}/trinity/kdm" "%{?buildroot}%{tde_datadir}/config/kdm" + +# SELINUX policy +%if 0%{?with_selinux_policy} +%__install -D -m 644 "%{SOURCE8}" "%{?buildroot}%{?_sysconfdir}/trinity/kdm/tdm.pp" +%endif + +# Mageia icon +%if 0%{?mgaversion} >= 3 +%__install -D -m 644 %{SOURCE9} %{?buildroot}%{tde_datadir}/oxygen/scalable/mgabutton.svg +%endif + + +%clean +%__rm -rf %{?buildroot} + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 +- Initial release for TDE 3.5.13.2 diff --git a/redhat/tdebase/trinity-kdebase-3.5.12.spec b/redhat/tdebase/trinity-kdebase-3.5.12.spec deleted file mode 100644 index 9982abd3a..000000000 --- a/redhat/tdebase/trinity-kdebase-3.5.12.spec +++ /dev/null @@ -1,757 +0,0 @@ -# Default version for this component -%if "%{?version}" == "" -%define version 3.5.12 -%endif -%define release 15 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_libdir %{_libdir}/kde3 - -# Older RHEL/Fedora versions use packages named "qt", "qt-devel", .. -# whereas newer versions use "qt3", "qt3-devel" ... -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 8 -%define _qt_suffix 3 -%endif - - -Name: trinity-kdebase -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} -License: GPL -Summary: Trinity KDE Base Programs -Group: User Interface/Desktops - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: kdebase-%{version}.tar.gz - -# Wrapper script to prevent Plasma launch at Trinity Startup -Source1: plasma-desktop - -# Pam configuration files for RHEL / Fedora -Source2: pamd.kdm-trinity%{?dist} -Source3: pamd.kdm-trinity-np%{?dist} -Source4: pamd.kcheckpass-trinity%{?dist} -Source5: pamd.kscreensaver-trinity%{?dist} - -# TDE Official patches (from SVN), unmodified -# [kdebase/kcontrol] fix for openssl 1.0 -Patch1: http://www.trinitydesktop.org/patches/r1201523.diff -# [kdebase/kcontrol] make it compatible with openssl < 1.0 -Patch2: http://www.trinitydesktop.org/patches/r1201705.diff -# Fix My Documents shortcut on desktop -Patch3: http://www.trinitydesktop.org/patches/r1182808.diff -# [kdebase] fixed an incompatibility with gcc 4.5 -Patch4: http://www.trinitydesktop.org/patches/r1221326.diff - -# TDE Official patches (from SVN), modified -# [kdebase/ksmserver/shutdowndlg.cpp] Fixed invalid constructor per GCC 4.5.2 -Patch5: kdebase-3.5.12-r1220975.patch -# [kdebase] Another invalid constructor per gcc 4.5 -Patch6: kdebase-3.5.12-r1220927.patch - -# TDE unofficial patches, fixing FTBFS -## Fix for DBUS include files in RHEL6 -Patch7: kdebase-3.5.12-shutdowndlg-dbus-include.patch -## [kdebase/kcontrol]: disable components that depends of krandr (old distros) -Patch8: kdebase-3.5.12-disable-krandr.patch - -# TDE for RHEL/Fedora specific patches -## [kdebase/kdesu] Remove 'ignore' button on 'kdesu' dialog box -Patch10: kdebase-3.5.12-kdesu-noignorebutton.patch -## [kdebase/kdesktop] Modifies 'open terminal here' on desktop -Patch11: kdebase-3.5.12-desktop-openterminalhere.patch -## [kdebase/kioslave] Forces HAL backend to use HAL mount options -Patch12: kdebase-3.5.12-halmountoptions.patch -## [kdebase/kdm/kfrontend] Global Xsession file is '/etc/X11/xinit/Xsession' -Patch13: kdebase-3.5.13-genkdmconf_Xsession_location.patch -## [kdebase/kicker/kicker/ui] Fix kickoff menu issues -Patch14: kdebase-3.5.12-kickoff_unstable.patch -## [kdebase/startkde] Sets default Start Icon in 'kickerrc' -Patch15: kdebase-3.5.13-startkde_icon.patch -## [kdebase/startkde] Fixes duplicate and incorrect TDE directories location -Patch16: kdebase-3.5.12-startkde_directories.patch - -# TDE unofficial patches for enhanced features -## [kdebase/kate] Restores the 'number of files' and sorting widgets to the Kate configuration -Patch20: kdebase-3.5.13-kate_mru.patch -## [kdebase/kioslave/man] Fix kio_man for older distros without 'man-db' -Patch21: kdebase-3.5.12-kio_man_utf8.patch -## [kdebase/konqueror] Re-enable 'open tab in background' -Patch22: kdebase-3.5.12-konq_menu_tab_background.patch -## [kdebase/konqueror/sidebar] Fix error message on documents parent folder -Patch23: kdebase-3.5.13-konqsidebar_documents.patch -## [kdebase/kdesktop/lock] Fix missing black background -Patch29: kdebase-3.5.12-kdesktop_lock_fix.patch -## [kdebase/kdm/kfrontend] Allows to hide KDM menu button -Patch30: kdebase-3.5.12-kdm_hide_menu_button.patch - -# Fedora 15 Theme: "Lovelock" -%if 0%{?fedora} == 15 -Requires: lovelock-backgrounds-single -%define tde_bg /usr/share/backgrounds/lovelock/default/standard/lovelock.png - -Requires: fedora-release-notes -%define tde_aboutlabel Fedora 15 -%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html -%endif - -# Fedora 16 Theme: "Verne" -%if 0%{?fedora} == 16 -Requires: verne-backgrounds-single -%define tde_bg /usr/share/backgrounds/verne/default/standard/verne.png - -Requires: fedora-release-notes -%define tde_aboutlabel Fedora 16 -%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html -%endif - -# RHEL 5 Theme -%if 0%{?rhel} == 5 -Requires: desktop-backgrounds-basic -%define tde_bg /usr/share/backgrounds/images/default.jpg - -Requires: indexhtml -%define tde_aboutlabel Enterprise Linux 5 -%define tde_aboutpage /usr/share/doc/HTML/index.html -%endif - -# RHEL 6 Theme -%if 0%{?rhel} == 6 -Requires: redhat-logos -%define tde_bg /usr/share/backgrounds/default.png - -Requires: redhat-indexhtml -%define tde_aboutlabel Enterprise Linux 6 -%define tde_aboutpage /usr/share/doc/HTML/index.html -%endif - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-arts-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: qt%{?_qt_suffix}-devel -BuildRequires: openssl-devel -BuildRequires: avahi-devel avahi-qt3-devel -BuildRequires: imake -BuildRequires: xorg-x11-proto-devel -BuildRequires: OpenEXR-devel -BuildRequires: libsmbclient-devel -BuildRequires: dbus-devel -BuildRequires: dbus-qt-devel -BuildRequires: lm_sensors-devel -BuildRequires: libfontenc-devel -BuildRequires: hal-devel -BuildRequires: audiofile-devel alsa-lib-devel -BuildRequires: libraw1394-devel -BuildRequires: openldap-devel -BuildRequires: libvorbis-devel -BuildRequires: pam-devel -BuildRequires: libXdmcp-devel -BuildRequires: libxkbfile-devel -BuildRequires: libusb-devel -BuildRequires: esound-devel -BuildRequires: glib2-devel -BuildRequires: libXcomposite-devel -BuildRequires: libXtst-devel -BuildRequires: libXdamage-devel -BuildRequires: xorg-x11-font-utils - -# These dependancies are not met in RHEL -%if 0%{?fedora} -BuildRequires: jack-audio-connection-kit-devel -BuildRequires: nas-devel -%endif - -Requires: tqtinterface -Requires: trinity-arts -Requires: trinity-kdelibs -Requires: qt%{?_qt_suffix} -Requires: openssl -Requires: avahi avahi-qt3 -Requires: dbus-qt -# Provides the global Xsession script (/etc/X11/xinit/Xsession) -Requires: xorg-x11-xinit - - -# RHEL 6 Configuration files are provided in separate packages -%if "%{?_prefix}" == "/usr" -Requires: kde-settings-kdm -%endif -Requires: redhat-menus - -#Provides: kdebase%{?_qt_suffix} = %{version} -%if "%{?_prefix}" == "/usr" -Provides: kdebase%{?_qt_suffix} = %{version} -Obsoletes: kdebase%{?_qt_suffix} <= 3.5.10 -%endif - - -# Required for Fedora LiveCD -Provides: service(graphical-login) - - -%description -Core applications for the Trinity K Desktop Environment. Included are: kdm -(replacement for xdm), kwin (window manager), konqueror (filemanager, -web browser, ftp client, ...), konsole (xterm replacement), kpanel -(application starter and desktop pager), kaudio (audio server), -kdehelp (viewer for kde help files, info and man pages), kthememgr -(system for managing alternate theme packages) plus other KDE -components (kcheckpass, kikbd, kscreensaver, kcontrol, kfind, -kfontmanager, kmenuedit). - - -%package devel -Requires: %{name} -Requires: %{name}-libs = %{version}-%{release} -Requires: trinity-kdelibs-devel -Summary: %{summary} - Development files -%if "%{?_prefix}" == "/usr" -Provides: kdebase%{?_qt_suffix}-devel = %{version} -Obsoletes: kdebase%{?_qt_suffix}-devel <= 3.5.10 -%endif - -Group: Development/Libraries -%description devel -Header files for developing applications using %{name}. -Install kdebase-devel if you want to develop or compile Konqueror, -Kate plugins or KWin styles. - - -%package extras -Summary: Extra applications from %{name} -Group: User Interface/Desktops -Requires: %{name} = %{version}-%{release} -%if "%{?_prefix}" == "/usr" -Provides: kdebase%{?_qt_suffix}-extras = %{version} -Obsoletes: kdebase%{?_qt_suffix}-extras <= 3.5.10 -%endif -%description extras -%{summary}, including: - * kappfinder - * kpager - * ktip - * kpersonalizer - - -%package libs -Summary: %{name} runtime libraries -Group: System Environment/Libraries -Requires: trinity-kdelibs -%if "%{?_prefix}" == "/usr" -Provides: kdebase%{?_qt_suffix}-libs = %{version} -Obsoletes: kdebase%{?_qt_suffix}-libs <= 3.5.10 -%endif -Requires: %{name} = %{version}-%{release} -%description libs -%{summary} - - -%package pim-ioslaves -Summary: PIM KIOslaves from %{name} -Group: System Environment/Libraries -%if "%{?_prefix}" == "/usr" -Provides: kdebase%{?_qt_suffix}-pim-ioslaves = %{version} -Obsoletes: kdebase%{?_qt_suffix}-pim-ioslaves <= 3.5.10 -%endif -%description pim-ioslaves -Protocol handlers (KIOslaves) for personal information management, including: - * kio_ldap - * kio_nntp - * kio_pop3 - * kio_smtp - - -%prep -%setup -q -n kdebase -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 -%if 0%{?rhel} && 0%{?rhel} < 6 -%patch8 -p1 -%endif - -%patch10 -p1 -%patch11 -p1 -%patch12 -p1 -%patch13 -p1 -%patch14 -p1 -%patch15 -p1 -%patch16 -p1 - -%patch20 -p4 -%if 0%{?rhel} > 0 -%patch21 -p1 -%endif -%patch22 -p1 -%patch23 -p1 - -%patch29 -p1 -%patch30 -p1 - -# Applies an optional distro-specific graphical theme -%if "%{?tde_bg}" != "" -# KDM Background -%__sed -i "kdm/kfrontend/genkdmconf.c" \ - -e 's|"Wallpaper=isadora.png\n"|"Wallpaper=%{tde_bg}\n"|' - -# TDE user default background -%__sed -i "kpersonalizer/keyecandypage.cpp" \ - -e 's|#define DEFAULT_WALLPAPER "isadora.png"|#define DEFAULT_WALLPAPER "%{tde_bg}"|' -%__sed -i "startkde" \ - -e 's|/usr/share/wallpapers/isadora.png.desktop|%{tde_bg}|' \ - -e 's|Wallpaper=isadora.png|Wallpaper=%{tde_bg}|' -%endif - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - -# TDE branding: removes KUbuntu references [Bug #617] -%__sed -i "kcontrol/kdm/kdm-appear.cpp" \ - -e "s|Welcome to Kubuntu |Welcome to %{tde_aboutlabel} |" -%__sed -i "konqueror/about/konq_aboutpage.cc" \ - -e "s|About Kubuntu|About %{tde_aboutlabel}|" \ - -e "s|help:/kubuntu/|%{tde_aboutpage}|" \ - -e "s|Kubuntu Documentation|%{tde_aboutlabel} Documentation|" -%__sed -i "konqueror/about/launch.html" \ - -e "s|help:/kubuntu/about-kubuntu/index.html|%{tde_aboutpage}|" -%__sed -i "kdm/config.def" \ - -e "s|Welcome to Trinity |Welcome to %{tde_aboutlabel} |" - -# TDE default directory in 'startkde' script (KDEDIR) -%__sed -i "startkde" \ - -e "s|/opt/trinity|%{_prefix}|g" - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" -export IMAKEINCLUDE="-I/usr/share/X11/config" - -%configure \ - --disable-rpath \ - --enable-new-ldflags \ - --disable-dependency-tracking \ - --disable-debug --disable-warnings --enable-final \ - --with-pam=yes \ - --with-kdm-pam=kdm-trinity \ - --with-kcp-pam=kcheckpass-trinity \ - --with-kss-pam=kscreensaver-trinity \ - --with-libraw1394 \ - --with-openexr \ - --with-samba \ - --with-xinerama \ - --with-xscreensaver \ - --without-shadow \ - --enable-closure \ - --with-extra-includes=%{_includedir}/tqt - -# Do NOT use %{?_smp_mflags} for this package, or it will fail to build ! -%__make - -%install -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{?buildroot} - -# Adds a GDM/KDM/XDM session called 'TDE' -%__install -D -m 644 \ - "%{?buildroot}%{_datadir}/apps/kdm/sessions/kde.desktop" \ - "%{?buildroot}%{_usr}/share/xsessions/tde.desktop" - -# Force session name to be 'TDE' -%__sed -i "%{?buildroot}%{_usr}/share/xsessions/tde.desktop" \ - -e "s,^Name=.*,Name=TDE," - -# Modifies 'startkde' to set KDEDIR and KDEHOME hardcoded specific for TDE -%__sed -i "%{?buildroot}%{_bindir}/startkde" \ - -e '/^echo "\[startkde\] Starting startkde.".*/ s,$,\nexport KDEDIR=%{_prefix}\nexport KDEHOME=~/.trinity,' - -# Renames '/etc/ksysguarddrc' to avoid conflict with KDE4 'ksysguard' -%__mv -f \ - %{?buildroot}%{_sysconfdir}/ksysguarddrc \ - %{?buildroot}%{_sysconfdir}/ksysguarddrc.tde - -# TDE 3.5.12: add script "plasma-desktop" to avoid conflict with KDE4 -%if "%{?_prefix}" != "/usr" -%__install -m 755 "%{SOURCE1}" "%{?buildroot}%{_bindir}" -%endif - -# PAM configuration files -%__install -D -m 644 "%{SOURCE2}" "%{?buildroot}%{_sysconfdir}/pam.d/kdm-trinity" -%__install -D -m 644 "%{SOURCE3}" "%{?buildroot}%{_sysconfdir}/pam.d/kdm-trinity-np" -%__install -D -m 644 "%{SOURCE4}" "%{?buildroot}%{_sysconfdir}/pam.d/kcheckpass-trinity" -%__install -D -m 644 "%{SOURCE5}" "%{?buildroot}%{_sysconfdir}/pam.d/kscreensaver-trinity" - -# KDM configuration for RHEL/Fedora -%__sed -i "%{?buildroot}%{_datadir}/config/kdm/kdmrc" \ -%if 0%{?fedora} >= 16 - -e "s/^#*MinShowUID=.*/MinShowUID=1000/" -%else - -e "s/^#*MinShowUID=.*/MinShowUID=500/" -%endif - -# Moves the XDG configuration files to TDE directory -%if "%{_prefix}" != "/usr" -%__mkdir_p "%{?buildroot}%{_prefix}/etc" -%__mv -f "%{?buildroot}%{_sysconfdir}/xdg" "%{?buildroot}%{_prefix}/etc" -%endif - -%clean -%__rm -rf %{?buildroot} - - -%post -touch --no-create %{_datadir}/icons/crystalsvg 2> /dev/null || : -gtk-update-icon-cache --quiet %{_datadir}/icons/crystalsvg 2> /dev/null || : -update-desktop-database 2> /dev/null || : -# Dirty hack to install '/etc/ksysguardrc' alongside with KDE4 -[ -r "%{_sysconfdir}/ksysguarddrc" ] || cp -f "%{_sysconfdir}/ksysguarddrc.tde" "%{_sysconfdir}/ksysguarddrc" - -%postun -touch --no-create %{_datadir}/icons/crystalsvg 2> /dev/null || : -gtk-update-icon-cache --quiet %{_datadir}/icons/crystalsvg 2> /dev/null || : -update-desktop-database 2> /dev/null || : - - -%post libs -/sbin/ldconfig - -%postun libs -/sbin/ldconfig - -%post extras -for f in crystalsvg hicolor ; do - touch --no-create %{_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun extras -for f in crystalsvg hicolor ; do - touch --no-create %{_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - - -%files extras -%defattr(-,root,root,-) -# kappfinder -%{_bindir}/kappfinder -%{_datadir}/applications/kde/kappfinder.desktop -%{_datadir}/applnk/System/kappfinder.desktop -%{_datadir}/apps/kappfinder/ -%{_datadir}/icons/hicolor/*/apps/kappfinder.png -# ktip -%{_bindir}/ktip -%{_datadir}/applications/kde/ktip.desktop -%{_datadir}/applnk/Toys/ktip.desktop -%{_datadir}/apps/kdewizard -%{_datadir}/autostart/ktip.desktop -%{_datadir}/icons/hicolor/*/apps/ktip* -# kpersonalizer -%{_bindir}/kpersonalizer -%{_datadir}/applications/kde/kpersonalizer.desktop -%{_datadir}/applnk/System/kpersonalizer.desktop -%{_datadir}/apps/kpersonalizer/ -%{_datadir}/icons/crystalsvg/*/apps/kpersonalizer.png -# kpager -%{_bindir}/kpager -%{_datadir}/applications/kde/kpager.desktop -%{_datadir}/applnk/Utilities/kpager.desktop -%{_datadir}/icons/hicolor/*/apps/kpager.png - - -%files -%defattr(-,root,root,-) -# kappfinder -%exclude %{_datadir}/applications/kde/kappfinder.desktop -%exclude %{_datadir}/applnk/System/kappfinder.desktop -%exclude %{_datadir}/apps/kappfinder/ -%exclude %{_datadir}/icons/hicolor/*/apps/kappfinder.png -# ktip -%exclude %{_datadir}/applications/kde/ktip.desktop -%exclude %{_datadir}/applnk/Toys/ktip.desktop -%exclude %{_datadir}/apps/kdewizard -%exclude %{_datadir}/autostart/ktip.desktop -%exclude %{_datadir}/icons/hicolor/*/apps/ktip* -# kpersonalizer -%exclude %{_datadir}/applications/kde/kpersonalizer.desktop -%exclude %{_datadir}/applnk/System/kpersonalizer.desktop -%exclude %{_datadir}/apps/kpersonalizer/ -%exclude %{_datadir}/icons/crystalsvg/*/apps/kpersonalizer.png -# kpager -%exclude %{_datadir}/applications/kde/kpager.desktop -%exclude %{_datadir}/applnk/Utilities/kpager.desktop -%exclude %{_datadir}/icons/hicolor/*/apps/kpager.png - -# Pam configuration -%{_sysconfdir}/pam.d/* - -%doc AUTHORS COPYING COPYING-DOCS README README.pam -%{tde_docdir}/HTML/en/* -%config(noreplace) %{_sysconfdir}/ksysguarddrc.tde -%{_bindir}/genkdmconf -%{_bindir}/kaccess -%{_bindir}/kapplymousetheme -%{_bindir}/kate -%{_bindir}/kblankscrn.kss -%{_bindir}/kbookmarkmerger -%{_bindir}/kcminit -%{_bindir}/kcminit_startup -%{_bindir}/kcontrol -%{_bindir}/kcontroledit -%{_bindir}/kdebugdialog -%{_bindir}/kdeinstallktheme -%{_bindir}/kdepasswd -%{_bindir}/kdesu -%attr(0755,root,root) %{_bindir}/kdesud -%{_bindir}/kdialog -%{_bindir}/kdm -%{_bindir}/kdmctl -%{_bindir}/keditbookmarks -%{_bindir}/keditfiletype -%{_bindir}/kfind -%{_bindir}/kfmclient -%{_bindir}/khelpcenter -%{_bindir}/khotkeys -%{_bindir}/kinfocenter -%{_bindir}/klipper -%{_bindir}/kmenuedit -%{_bindir}/konqueror -%{_bindir}/konsole -%{_bindir}/krandom.kss -%{_bindir}/krdb -%{_bindir}/kreadconfig -%{_bindir}/ksmserver -%{_bindir}/ksplashsimple -%{_bindir}/kstart -%{_bindir}/ksysguard -%{_bindir}/ksysguardd -%{_bindir}/ksystraycmd -%{_bindir}/ktrash -%{_bindir}/kwin -%{_bindir}/kwin_killer_helper -%{_bindir}/kwin_rules_dialog -%{_bindir}/kwrite -%{_bindir}/kwriteconfig -%{_bindir}/kxkb -%{_bindir}/nspluginscan -%{_bindir}/nspluginviewer -%{_bindir}/startkde -%{_bindir}/kcheckrunning -%{_bindir}/kdesktop -%{_bindir}/kdesktop_lock -%{_bindir}/kdm_config -%{_bindir}/kdm_greet -%{_bindir}/kfontinst -%{_bindir}/kfontview -%{_bindir}/krootimage -%{_bindir}/kwebdesktop -%{_datadir}/autostart/* -%{_datadir}/desktop-directories/* -%{_datadir}/locale/*/entry.desktop -%{_datadir}/locale/l10n -%{_datadir}/templates/* -%{_datadir}/templates/.source/* -%{_datadir}/wallpapers/* -%{_bindir}/appletproxy -%{_bindir}/drkonqi -%{_bindir}/extensionproxy -%{_bindir}/kasbar -%attr(4755,root,root) %{_bindir}/kcheckpass -%{_bindir}/kdeeject -%{_bindir}/khc_docbookdig.pl -%{_bindir}/khc_htdig.pl -%{_bindir}/khc_htsearch.pl -%{_bindir}/khc_indexbuilder -%{_bindir}/khc_mansearch.pl -%{_bindir}/kicker -%{_bindir}/knetattach -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 -%{_bindir}/krandrtray -%endif -%{_bindir}/kompmgr -%{_bindir}/kpm -%{_bindir}/ksplash -%{_libdir}/kconf_update_bin -%{_datadir}/applnk/*.desktop -%{_datadir}/applnk/*/* -%{_datadir}/applnk/.hidden/* -%exclude %{_datadir}/applnk/.hidden/.directory -%{_datadir}/config.kcfg/* -%{_bindir}/kio_media_mounthelper -%{_bindir}/kdcop -%{_bindir}/kdeprintfax -%{_bindir}/khc_beagle_index.pl -%{_bindir}/khc_beagle_search.pl -%{_bindir}/kxdglauncher -%{_bindir}/kjobviewer -%{_bindir}/klocaldomainurifilterhelper -%{_bindir}/kprinter -%{_datadir}/applications/*/* -%{_datadir}/apps/* -%{_datadir}/icons/*color/*/*/* -%{_datadir}/icons/crystalsvg/*/*/* -%{_datadir}/mimelnk/*/* -%{_datadir}/services/* -%{_datadir}/servicetypes/* -%{_datadir}/sounds/* -%{tde_libdir}/* -%{_libdir}/libkdeinit_*.* -%if "%{_prefix}" != "/usr" -%{_prefix}/etc/xdg/menus/applications-merged/kde-essential.menu -%{_prefix}/etc/xdg/menus/kde-information.menu -%{_prefix}/etc/xdg/menus/kde-screensavers.menu -%{_prefix}/etc/xdg/menus/kde-settings.menu -%else -%{_sysconfdir}/xdg/menus/applications-merged/kde-essential.menu -%{_sysconfdir}/xdg/menus/kde-information.menu -%{_sysconfdir}/xdg/menus/kde-screensavers.menu -%{_sysconfdir}/xdg/menus/kde-settings.menu -%endif -/usr/share/xsessions/*.desktop -# Remove conflicts with redhat-menus -%if "%{?_prefix}" != "/usr" -%{_bindir}/plasma-desktop -%config(noreplace) %{_datadir}/config/* -%else -%exclude %{_datadir}/config -%endif -# exclude pim-ioslaves files from main package -%exclude %{tde_libdir}/kio_ldap.* -%exclude %{tde_libdir}/kio_nntp.* -%exclude %{tde_libdir}/kio_pop3.* -%exclude %{tde_libdir}/kio_smtp.* -%exclude %{_datadir}/services/ldap*.protocol -%exclude %{_datadir}/services/nntp*.protocol -%exclude %{_datadir}/services/pop3*.protocol -%exclude %{_datadir}/services/smtp*.protocol - -# TDE 3.5.12 specific -%{_bindir}/kde3 -%exclude %{_datadir}/applications/kde/display.desktop -%exclude %{_datadir}/fonts/override/fonts.dir -%{_docdir}/kdm/README - -%files libs -%defattr(-,root,root,-) -%exclude %{_libdir}/libkdeinit_*.* -%{_libdir}/lib*.so.* -%{_libdir}/lib*.la - -%files pim-ioslaves -%defattr(-,root,root,-) -%{tde_libdir}/kio_ldap.* -%{tde_libdir}/kio_nntp.* -%{tde_libdir}/kio_pop3.* -%{tde_libdir}/kio_smtp.* -%{_datadir}/services/ldap*.protocol -%{_datadir}/services/nntp*.protocol -%{_datadir}/services/pop3*.protocol -%{_datadir}/services/smtp*.protocol - -%files devel -%defattr(-,root,root,-) -%{_includedir}/*.h -%dir %{_includedir}/kate -%{_includedir}/kate/* -%dir %{_includedir}/kwin -%{_includedir}/kwin/* -%dir %{_includedir}/ksgrd -%{_includedir}/ksgrd/* -%dir %{_includedir}/ksplash -%{_includedir}/ksplash/* -%{_libdir}/lib*.so -%exclude %{_libdir}/libkdeinit_*.* - -%changelog -* Thu Jan 05 2012 Francois Andriot - 3.5.12-15 -- Add KDM option to hide 'Menu' button on login prompt - -* Wed Dec 21 2011 Francois Andriot - 3.5.12-14 -- Fix kdesktop_lock missing black background on kscreensaver failure - -* Thu Dec 11 2011 Francois Andriot - 3.5.12-13 -- Backports patches from TDE 3.5.13-10 -- Removes Kubuntu branding [TDE Bug #449] -- Fix 'kio_man' on RHEL 5 and RHEL 6 [TDE Bug #714] -- Restores the 'number of files' and sorting widgets to the Kate configuration [TDE Bug #244] -- Re-enables 'open tab in background' konqueror feature [TDE Bug #245] -- Fix error message 'cannot find parent folder' on konqueror sidebar -- Fix KDEDIRS and other variables in 'startkde', that messes up translations. - -* Sun Nov 20 2011 Francois Andriot - 3.5.12-12 -- Updates Kickoff menu Fix [TDE Bugs #281, #508] -- Add distribution-specific start button icon -- Add graphical theme for RHEL 5, RHEL 6, Fedora 15, Fedora 16 -- Moves XDG files in TDE prefix to avoid conflict with distro-provided KDE -- Add "service(graphical-login)" -- kdmrc: sets "MinShowUID=500" -- Add missing BuildRequires - -* Fri Sep 16 2011 Francois Andriot - 3.5.12-11 -- Add support for RHEL 5. -- Remove file conflicts with KDE 4.6.5 under Fedora 15 - -* Mon Sep 12 2011 Francois Andriot - 3.5.12-10 -- Add "Group" field - -* Sun Sep 04 2011 Francois Andriot - 3.5.12-9 -- Import to GIT - -* Tue Aug 23 2011 Francois Andriot - 3.5.12-8 -- Add missing BuildRequires -- Add Patch7, Patch8, Patch9 to allow compilation under GCC >= 4.5.2 - -* Mon Aug 22 2011 Francois Andriot - 3.5.12-7 -- Correct macro to install under "/opt", if desired - -* Wed Jul 20 2011 Francois Andriot - 3.5.12-6 -- Add patch to force halbackend to use HAL-provided mount options - -* Wed Jul 20 2011 Francois Andriot - 3.5.12-5 -- Add patch to modify "Open terminal here" shortcut (now opens in home directory) - -* Tue Jul 19 2011 Francois Andriot - 3.5.12-4 -- Add 'BuildRequires: dbus-qt' to enable HAL support - -* Wed Jun 22 2011 Francois Andriot - 3.5.12-3 -- Adds setuid bit on '/usr/bin/kcheckpass' -- Removes '/usr/share/applications/kde/display.desktop' (does not work on RHEL 6.0) - -* Mon Dec 20 2010 Francois Andriot - 3.5.12-2 -- Add missing Requires -- Rename 'kde3.desktop' to 'kde.desktop' in case of default prefix - -* Fri Dec 17 2010 Francois Andriot - 3.5.12-1 -- Add macro _kde3_prefix to define custom installation prefix (ex: /opt/kde3) -- Add '--with-extra-includes=%{_includedir}/tqt' -- Add 'patch3' to remove ignore button on kdesu dialog box -- Add 'patch4' r1182808.diff : Fix My Documents shortcut on desktop - -* Wed Dec 14 2010 Francois Andriot - 3.5.12-0 -- Initial version -- Add script 'plasma-desktop' to prevent KDE4 plasma automatic startup -- Add 'patch0' to fix for DBUS include files in RHEL6 -- Add 'patch1' r1201523.diff : [kdebase/kcontrol] fix for openssl 1.0 -- Add 'patch2' r1201705.diff : [kdebase/kcontrol] make it compatible with openssl < 1.0 - diff --git a/redhat/tdebase/trinity-kdebase-3.5.13.1.spec b/redhat/tdebase/trinity-kdebase-3.5.13.1.spec deleted file mode 100644 index f58a045fb..000000000 --- a/redhat/tdebase/trinity-kdebase-3.5.13.1.spec +++ /dev/null @@ -1,3266 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -# Older RHEL/Fedora versions use packages named "qt", "qt-devel", .. -# whereas newer versions use "qt3", "qt3-devel" ... -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 8 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define _qt_suffix 3 -%endif - - -Name: trinity-tdebase -Version: 3.5.13.1 -Release: 2%{?dist}%{?_variant} -License: GPL -Summary: Trinity Base Programs -Group: User Interface/Desktops - -Obsoletes: trinity-kdebase < %{version}-%{release} -Provides: trinity-kdebase = %{version}-%{release} -Obsoletes: trinity-kdebase-libs < %{version}-%{release} -Obsoletes: trinity-kdebase-extras < %{version}-%{release} -Provides: trinity-kdebase-extras = %{version}-%{release} -Obsoletes: tdebase < %{version}-%{release} -Provides: tdebase = %{version}-%{release} - - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: kdebase-3.5.13.1.tar.gz - -# Wrapper script to prevent Plasma launch at Trinity Startup -Source1: plasma-desktop - -# Pam configuration files for RHEL / Fedora -%if 0%{?suse_version} -Source4: pamd.kcheckpass-trinity.opensuse%{?suse_version} -%else -Source2: pamd.kdm-trinity%{?dist} -Source3: pamd.kdm-trinity-np%{?dist} -Source4: pamd.kcheckpass-trinity%{?dist} -Source5: pamd.kscreensaver-trinity%{?dist} -%endif - -# openSUSE: configuration file for TDM -Source6: suse-displaymanagers-tdm - - -# TDE 3.5.13 patches -## [kdebase] Fix syntax error in icon -Patch1: kdebase-3.5.13.1-fix_displayconfig_icon.patch -## [kdebase/kdesktop] Modifies 'open terminal here' on desktop [RHEL/Fedora] -Patch11: kdebase-3.5.12-desktop-openterminalhere.patch -## [kdebase/kdm/kfrontend] Global Xsession file is '/etc/X11/xinit/Xsession' [RHEL/Fedora] -Patch13: kdebase-3.5.13-genkdmconf_Xsession_location.patch -Patch14: kdebase-3.5.13-genkdmconf_Xsession_location_xdm.patch -## [kdebase/startkde] Sets default Start Icon in 'kickerrc' [RHEL/Fedora] -Patch15: kdebase-3.5.13.1-startkde_icon.patch -## [kdebase/kioslave/man] Fix kio_man for older distros without 'man-db' [Bug #714] -Patch21: kdebase-3.5.13-kio_man_utf8.patch -## [kdebase/kdm/kfrontend] Allows to hide KDM menu button [RHEL/Fedora] -Patch30: kdebase-3.5.12-kdm_hide_menu_button.patch -## [kdebase/startkde] Fix wrong path setting -Patch31: kdebase-3.5.13.1-fix_startkde_path.patch -## [kdebase/kdm] Fix PID file is 'tdm.pid' instead of 'kdm.pid' (needed for openSUSE) -Patch32: kdebase-3.5.13.1-fix_tdm_pid_file.patch - -### Patches for RHEL4 (should not go upstream) - -## [tdebase] Fix build on RHEL4, detect old libraries without pkg file -Patch201: kdebase-3.5.13-fix_lib_detection.patch -## [tdebase] Do not build against DBUS-TQT, only DBUS and DBUS-QT -Patch202: kdebase-3.5.13-build_without_dbustqt.patch -## [tdebase] Do not build against ConsoleKit -Patch203: kdebase-3.5.13-build_without_consolekit.patch -## [tdebase] Add WITH_COMPOSITE option to CMakeLists.txt -Patch204: kdebase-3.5.13-add_disable_composite_option.patch -## [tdebase] Downgrade halbackend to support Hal 0.4 -Patch205: kdebase-3.5.13-support_hal_04.patch -## [tdebase] Other(s) FTBFS ... -Patch206: kdebase-3.5.13-fix_rhel4_compilation.patch - -### Distribution-specific settings ### - -# Fedora 15 Theme: "Lovelock" -%if 0%{?fedora} == 15 -Requires: lovelock-backgrounds-single -%define tde_bg /usr/share/backgrounds/lovelock/default/standard/lovelock.png -%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png - -Requires: fedora-release-notes -%define tde_aboutlabel Fedora 15 -%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html -%endif - -# Fedora 16 Theme: "Verne" -%if 0%{?fedora} == 16 -Requires: verne-backgrounds-single -%define tde_bg /usr/share/backgrounds/verne/default/standard/verne.png -%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png - -Requires: fedora-release-notes -%define tde_aboutlabel Fedora 16 -%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html -%endif - -# Fedora 17 Theme: "Beefy Miracle" -%if 0%{?fedora} == 17 -Requires: beefy-miracle-backgrounds-single -%define tde_bg /usr/share/backgrounds/beefy-miracle/default/standard/beefy-miracle.png -%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png - -Requires: fedora-release-notes -%define tde_aboutlabel Fedora 17 -%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html -%endif - -# RHEL 4 Theme -%if 0%{?rhel} == 4 -Requires: desktop-backgrounds-basic -%define tde_bg /usr/share/backgrounds/images/default.png -Requires: redhat-logos -%define tde_starticon /usr/share/pixmaps/redhat/rpmlogo-64.xpm - -Requires: indexhtml -%define tde_aboutlabel Enterprise Linux 4 -%define tde_aboutpage /usr/share/doc/HTML/index.html -%endif - -# RHEL 5 Theme -%if 0%{?rhel} == 5 -Requires: desktop-backgrounds-basic -%define tde_bg /usr/share/backgrounds/images/default.jpg -%define tde_starticon /usr/share/pixmaps/redhat-starthere.png - -Requires: indexhtml -%define tde_aboutlabel Enterprise Linux 5 -%define tde_aboutpage /usr/share/doc/HTML/index.html -%endif - -# RHEL 6 Theme -%if 0%{?rhel} == 6 -Requires: redhat-logos -%define tde_bg /usr/share/backgrounds/default.png -%define tde_starticon /usr/share/icons/hicolor/96x96/apps/system-logo-icon.png - -Requires: redhat-indexhtml -%define tde_aboutlabel Enterprise Linux 6 -%define tde_aboutpage /usr/share/doc/HTML/index.html -%endif - -# Mageia 2 Theme -%if 0%{?mgaversion} == 2 -Requires: mageia-theme-Default -%define tde_bg /usr/share/mga/backgrounds/default.jpg -%define tde_starticon /usr/share/icons/hicolor/scalable/apps/mageia-menu.svg - -Requires: indexhtml -%define tde_aboutlabel Mageia 2 -%define tde_aboutpage /usr/share/mga/about/index.html -%endif - -# Mandriva 2011 Theme: "rosa" -%if "%{?mdkversion}" == "201100" -Requires: mandriva-theme -%define tde_bg /usr/share/mdk/backgrounds/default.jpg -%define tde_starticon /usr/share/icons/mandriva.png - -Requires: indexhtml -%define tde_aboutlabel Mandriva 2011 -%define tde_aboutpage /usr/share/mdk/about/index.html -%endif - -# PCLINUXOS 2012 -%if "%{?pclinuxos}" == "2012" -Requires: trinity-wallpaper-theme-default -%define tde_bg %{tde_datadir}/wallpapers/Pulse2012/contents/images/1600x1200.jpg -Requires: desktop-common-data -%define tde_starticon /usr/share/icons/pclinuxos.png - -Requires: indexhtml -%define tde_aboutlabel PCLinuxOS 2012 -%define tde_aboutpage /usr/share/mdk/about/index.html -%endif - -# OpenSuse 12.2 Theme -%if "%{?suse_version}" == "1220" -Requires: wallpaper-branding -%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg -Requires: hicolor-icon-theme-branding -%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg - -Requires: opensuse-manuals_en -%define tde_aboutlabel OpenSuse 12.2 -%define tde_aboutpage /usr/share/doc/manual/opensuse-manuals_en/book.opensuse.startup.html -%endif - -BuildRequires: cmake >= 2.8 -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-arts-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} -BuildRequires: gcc-c++ make -BuildRequires: qt%{?_qt_suffix}-devel -BuildRequires: openssl-devel -BuildRequires: audiofile-devel -BuildRequires: alsa-lib-devel -BuildRequires: libraw1394-devel -BuildRequires: libvorbis-devel -BuildRequires: pam-devel -%if 0%{?mageia} || 0%{?mandriva} || 0%{?pclinuxos} -BuildRequires: %{_lib}usb1.0-devel -BuildRequires: %{_lib}usb-compat0.1-devel -%else -BuildRequires: libusb-devel -%endif -BuildRequires: esound-devel -BuildRequires: glib2-devel -BuildRequires: pcre-devel - -# OPENLDAP support -%if 0%{?suse_version} -BuildRequires: openldap2-devel -%else -BuildRequires: openldap-devel -%endif - -# SENSORS support -# Disabled on OpenSuse -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} -BuildRequires: lm_sensors-devel -%endif -%if 0%{?suse_version} -BuildRequires: libsensors4-devel -%endif - -# TSAK support (requires libudev-devel) -# On RHEL5, udev is built statically, so TSAK cannot build. -%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version} -%define with_tsak 1 -BuildRequires: libudev-devel -%endif - -# XRANDR support -# On RHEL5, xrandr library is too old. -%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version} -%define with_xrandr 1 -%endif - -# HAL support -# On RHEL4, we do not use HAL (too old) -%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} -%define with_hal 1 -BuildRequires: hal-devel >= 0.4.8 -%endif - -# OPENEXR support -# Disabled on RHEL4 -%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} -%define with_exr 1 -BuildRequires: OpenEXR-devel -%endif - -# XSCREENSAVER support -# Disabled on RHEL4 -%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} -%define with_xscreensaver 1 -%if 0%{?rhel} == 5 -BuildRequires: xorg-x11-proto-devel -BuildRequires: gnome-screensaver -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel -%endif -%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} -BuildRequires: libXScrnSaver-devel -%endif -%endif - -# AVAHI support -# Disabled on RHEL4 and RHEL5 -%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version} -BuildRequires: trinity-avahi-tqt-devel -Requires: trinity-avahi-tqt -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}avahi-client-devel -Requires: %{_lib}avahi-client3 -%else -BuildRequires: avahi-devel -Requires: avahi -%endif -%endif - -# NAS support -# (what is nas btw ?) -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: nas-devel -%endif - -# DBUS support -# TQT bindings not available for RHEL4 -%if 0%{?rhel} == 4 -# Dbus bindings were rebuilt with Qt support -BuildRequires: dbus-devel >= 0.22-12.EL.9p1 -Requires: dbus-qt -%else -BuildRequires: trinity-dbus-tqt-devel -Requires: trinity-dbus-tqt >= %{version} -%endif - -%if 0%{?fedora} >= 17 -BuildRequires: perl-Digest-MD5 -%endif - -# JACK support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}jack-devel -%endif -%if 0%{?fedora} || 0%{?rhel} >= 5 -BuildRequires: jack-audio-connection-kit-devel -%endif - -# X11 stuff ... -%if 0%{?rhel} == 4 -BuildRequires: xorg-x11-devel -BuildRequires: samba-common -%else -BuildRequires: imake -BuildRequires: libxkbfile-devel -BuildRequires: libsmbclient-devel -BuildRequires: libfontenc-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel -BuildRequires: %{_lib}xdamage-devel -BuildRequires: %{_lib}xdmcp%{?mgaversion:6}-devel -BuildRequires: %{_lib}xtst-devel -BuildRequires: x11-font-util -BuildRequires: x11-proto-devel -%else -BuildRequires: libXcomposite-devel -BuildRequires: libXdamage-devel -BuildRequires: libXdmcp-devel -BuildRequires: libXtst-devel -BuildRequires: xorg-x11-proto-devel - -%if 0%{?suse_version} -BuildRequires: font-util -BuildRequires: bdftopcf -%else -BuildRequires: xorg-x11-font-utils -%endif - -%endif - -%endif - -# tdebase is a metapackage that installs all sub-packages -Requires: %{name}-runtime-data-common = %{version}-%{release} -Requires: %{name}-data = %{version}-%{release} -Requires: %{name}-bin = %{version}-%{release} -Requires: %{name}-kio-plugins = %{version}-%{release} -Requires: %{name}-kio-pim-plugins = %{version}-%{release} -Requires: trinity-kappfinder = %{version}-%{release} -Requires: trinity-kate = %{version}-%{release} -Requires: trinity-kwrite = %{version}-%{release} -Requires: trinity-kcontrol = %{version}-%{release} -Requires: trinity-kdepasswd = %{version}-%{release} -Requires: trinity-tdeprint = %{version}-%{release} -Requires: trinity-kdesktop = %{version}-%{release} -Requires: trinity-tdm = %{version}-%{release} -Requires: trinity-kfind = %{version}-%{release} -Requires: trinity-khelpcenter = %{version}-%{release} -Requires: trinity-kicker = %{version}-%{release} -Requires: trinity-klipper = %{version}-%{release} -Requires: trinity-kmenuedit = %{version}-%{release} -Requires: trinity-konqueror = %{version}-%{release} -Requires: trinity-konqueror-nsplugins = %{version}-%{release} -Requires: trinity-konsole = %{version}-%{release} -Requires: trinity-kpager = %{version}-%{release} -Requires: trinity-kpersonalizer = %{version}-%{release} -Requires: trinity-ksmserver = %{version}-%{release} -Requires: trinity-ksplash = %{version}-%{release} -Requires: trinity-ksysguard = %{version}-%{release} -Requires: trinity-ksysguardd = %{version}-%{release} -Requires: trinity-ktip = %{version}-%{release} -Requires: trinity-twin = %{version}-%{release} -Requires: trinity-libkonq = %{version}-%{release} -Requires: %{name}-libtqt3-integration = %{version}-%{release} - -Requires: trinity-tqtinterface >= %{version} -Requires: trinity-arts >= %{version} -Requires: trinity-tdelibs >= %{version} -Requires: qt%{?_qt_suffix} -Requires: openssl - - -# RHEL 6 Configuration files are provided in separate packages -%if 0%{?rhel} || 0%{?fedora} -%if "%{?tde_prefix}" == "/usr" -Requires: kde-settings-kdm -%endif -Requires: redhat-menus -%endif - -%if 0%{?suse_version} -Requires: desktop-data-openSUSE -%endif - -%description -TDE (the Trinity Desktop Environment) is a powerful Open Source graphical -desktop environment for Unix workstations. It combines ease of use, -contemporary functionality, and outstanding graphical design with the -technological superiority of the Unix operating system. - -This metapackage includes the nucleus of TDE, namely the minimal package -set necessary to run TDE as a desktop environment. This includes the -window manager, taskbar, control center, a text editor, file manager, -web browser, X terminal emulator, and many other programs and components. - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING COPYING-DOCS README README.pam - -########## - -%package devel -Summary: %{summary} - Development files -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} -Requires: trinity-tdelibs-devel - -Requires: %{name}-bin-devel = %{version}-%{release} -Requires: trinity-kate-devel = %{version}-%{release} -Requires: trinity-kcontrol-devel = %{version}-%{release} -Requires: trinity-kdesktop-devel = %{version}-%{release} -Requires: trinity-kicker-devel = %{version}-%{release} -Requires: trinity-konqueror-devel = %{version}-%{release} -Requires: trinity-ksplash-devel = %{version}-%{release} -Requires: trinity-ksysguard-devel = %{version}-%{release} -Requires: trinity-libkonq-devel = %{version}-%{release} -Requires: trinity-tdm-devel = %{version}-%{release} -Requires: trinity-twin-devel = %{version}-%{release} - -Provides: trinity-kdebase-devel = %{version}-%{release} -Obsoletes: trinity-kdebase-devel < %{version}-%{release} -Provides: tdebase-devel = %{version}-%{release} -Obsoletes: tdebase-devel < %{version}-%{release} - -Obsoletes: trinity-kdebase-cmake < %{version}-%{release} -Obsoletes: tdebase-cmake < %{version}-%{release} - -%description devel -This is a meta-package that installs all tdebase development packages. - -Header files for developing applications using %{name}. -Install tdebase-devel if you want to develop or compile Konqueror, -Kate plugins or KWin styles. - -%files devel -%{tde_datadir}/cmake/*.cmake - -########## - -%package kio-pim-plugins -Summary: PIM KIOslaves from %{name} -Group: Environment/Libraries - -Provides: trinity-kdebase-pim-ioslaves = %{version}-%{release} -Obsoletes: trinity-kdebase-pim-ioslaves < %{version}-%{release} -Provides: tdebase-kio-pim-plugins = %{version}-%{release} -Obsoletes: tdebase-kio-pim-plugins < %{version}-%{release} - -%description kio-pim-plugins -Protocol handlers (KIOslaves) for personal information management, including: - * kio_ldap - * kio_nntp - * kio_pop3 - * kio_smtp - -%files kio-pim-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/kio_ldap.la -%{tde_tdelibdir}/kio_ldap.so -%{tde_tdelibdir}/kio_nntp.la -%{tde_tdelibdir}/kio_nntp.so -%{tde_tdelibdir}/kio_pop3.la -%{tde_tdelibdir}/kio_pop3.so -%{tde_tdelibdir}/kio_smtp.la -%{tde_tdelibdir}/kio_smtp.so -%{tde_datadir}/services/ldap.protocol -%{tde_datadir}/services/ldaps.protocol -%{tde_datadir}/services/nntp.protocol -%{tde_datadir}/services/nntps.protocol -%{tde_datadir}/services/pop3.protocol -%{tde_datadir}/services/pop3s.protocol -%{tde_datadir}/services/smtp.protocol -%{tde_datadir}/services/smtps.protocol - -########## - -%package runtime-data-common -Summary: Shared common files for Trinity and KDE4 -Group: Environment/Libraries - -Provides: tdebase-runtime-data-common = %{version}-%{release} -Obsoletes: tdebase-runtime-data-common < %{version}-%{release} - -%description runtime-data-common -Shared common files for both Trinity and KDE4 -Such as the desktop right-click-"Create New" list - -%files runtime-data-common -%defattr(-,root,root,-) -%{tde_datadir}/autostart/khotkeys.desktop -%{tde_datadir}/desktop-directories/* -%{tde_datadir}/icons/hicolor/*/apps/kxkb.png -%{tde_datadir}/icons/hicolor/*/apps/knetattach.* -%{tde_datadir}/icons/hicolor/*/apps/khotkeys.png -%{tde_datadir}/icons/hicolor/*/apps/kmenuedit.png -%{tde_datadir}/icons/hicolor/*/apps/ksplash.png -%{tde_datadir}/locale/en_US/entry.desktop -%{tde_datadir}/locale/l10n/*.desktop -%{tde_datadir}/locale/l10n/*/entry.desktop -%{tde_datadir}/locale/l10n/*/flag.png -%{tde_datadir}/sounds/pop.wav -%{tde_datadir}/templates - -%post runtime-data-common -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -%postun runtime-data-common -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -########## - -%package -n trinity-kappfinder -Summary: non-KDE application finder for KDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-kappfinder -kappfinder searches your workstation for many common applications and -creates menu entries for them. - -%files -n trinity-kappfinder -%defattr(-,root,root,-) -%{tde_bindir}/kappfinder -%{tde_tdeappdir}/kappfinder.desktop -%{tde_datadir}/applnk/System/kappfinder.desktop -%{tde_datadir}/apps/kappfinder -%{tde_datadir}/icons/hicolor/*/apps/kappfinder.png - -%post -n trinity-kappfinder -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%postun -n trinity-kappfinder -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database %{tde_appdir} 2> /dev/null || : - -########## - -%package -n trinity-libkateinterfaces -Summary: Common libraries used by kwrite and kate -Group: Environment/Libraries - -%description -n trinity-libkateinterfaces -%{summary} - -%files -n trinity-libkateinterfaces -%{tde_libdir}/libkateinterfaces.so.* - -%post -n trinity-libkateinterfaces -/sbin/ldconfig || : - -%postun -n trinity-libkateinterfaces -/sbin/ldconfig || : - -########## - -%package -n trinity-kate -Summary: advanced text editor for TDE -Group: Applications/Text -Requires: %{name}-data = %{version}-%{release} -Requires: trinity-kwrite = %{version}-%{release} -Requires: trinity-libkateinterfaces = %{version}-%{release} - -%description -n trinity-kate -Kate is a multi document editor, based on a rewritten version of the kwrite -editing widget of TDE. - -It is a multi-view editor that lets you view several instances of the same -document with all instances being synced, or view more files at the same -time for easy reference or simultaneous editing. The terminal emulation -and sidebar are docked windows that can be plugged out of the main window, -or replaced therein according to your preference. - -Some random features: -* Editing of big files -* Extensible syntax highlighting -* Folding -* Dynamic word wrap -* Selectable encoding -* Filter command -* Global grep dialog - -%files -n trinity-kate -%defattr(-,root,root,-) -%{tde_bindir}/kate -%{tde_tdelibdir}/kate.la -%{tde_tdelibdir}/kate.so -%{tde_libdir}/libkateutils.so.* -%{tde_libdir}/lib[kt]deinit_kate.la -%{tde_libdir}/lib[kt]deinit_kate.so -%{tde_tdeappdir}/kate.desktop -%{tde_datadir}/apps/kate/ -%{tde_datadir}/apps/kconf_update/kate-2.4.upd -%{tde_datadir}/config/katerc -%{tde_datadir}/icons/hicolor/*/apps/kate.png -%{tde_datadir}/icons/hicolor/*/apps/kate2.svgz -%{tde_datadir}/servicetypes/kateplugin.desktop -%{tde_tdedocdir}/HTML/en/kate/ - -%post -n trinity-kate -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database %{tde_appdir} 2> /dev/null || : -/sbin/ldconfig || : - -%postun -n trinity-kate -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database %{tde_appdir} 2> /dev/null || : -/sbin/ldconfig || : - -########## - -%package -n trinity-kate-devel -Summary: Development files for kate -Group: Development/Libraries -Requires: trinity-kate = %{version}-%{release} - -%description -n trinity-kate-devel -%{summary} - -%files -n trinity-kate-devel -%{tde_tdeincludedir}/kate/ -%{tde_libdir}/libkateutils.so -%{tde_libdir}/libkateutils.la -%{tde_libdir}/libkateinterfaces.so -%{tde_libdir}/libkateinterfaces.la - -%post -n trinity-kate-devel -/sbin/ldconfig || : - -%postun -n trinity-kate-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kwrite -Summary: advanced text editor for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} -Requires: trinity-libkateinterfaces = %{version}-%{release} - -%description -n trinity-kwrite -Kwrite is a text editor for TDE. - -%files -n trinity-kwrite -%defattr(-,root,root,-) -%{tde_bindir}/kwrite -%{tde_tdelibdir}/kwrite.la -%{tde_tdelibdir}/kwrite.so -%{tde_libdir}/lib[kt]deinit_kwrite.la -%{tde_libdir}/lib[kt]deinit_kwrite.so -%{tde_tdeappdir}/kwrite.desktop -%{tde_datadir}/apps/kwrite/kwriteui.rc -%{tde_datadir}/icons/hicolor/*/apps/kwrite.png -%{tde_datadir}/icons/hicolor/*/apps/kwrite2.svgz -%{tde_tdedocdir}/HTML/en/kwrite/ - - -%post -n trinity-kwrite -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%postun -n trinity-kwrite -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database %{tde_appdir} 2> /dev/null || : - -########## - -%package -n trinity-kcontrol -Summary: control center for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} -Requires: usbutils - -%if 0%{?suse_version} == 0 -Requires: hwdata -%endif - -%description -n trinity-kcontrol -The TDE Control Center provides you with a centralized and convenient -way to configure all of your TDE settings. - -It is made up of multiple modules. Each module is a separate application, -but the control center organizes all of these programs into a convenient -location. - -In combination with udev KControl supports the advanced -configuration of Logitech mice, though the user must be a member of the -plugdev group. - -%files -n trinity-kcontrol -%defattr(-,root,root,-) -%{tde_bindir}/kaccess -%{tde_bindir}/kcontrol -%{tde_bindir}/kdeinstallktheme -%{tde_bindir}/keditfiletype -%{tde_bindir}/kfontinst -%{tde_bindir}/kfontview -%{tde_bindir}/kinfocenter -%{tde_bindir}/klocaldomainurifilterhelper -%{tde_bindir}/krdb -%{tde_tdelibdir}/fontthumbnail.la -%{tde_tdelibdir}/fontthumbnail.so -%{tde_tdelibdir}/kaccess.la -%{tde_tdelibdir}/kaccess.so -%{tde_tdelibdir}/kcm_access.la -%{tde_tdelibdir}/kcm_access.so -%{tde_tdelibdir}/kcm_arts.la -%{tde_tdelibdir}/kcm_arts.so -%{tde_tdelibdir}/kcm_background.la -%{tde_tdelibdir}/kcm_background.so -%{tde_tdelibdir}/kcm_bell.la -%{tde_tdelibdir}/kcm_bell.so -%{tde_tdelibdir}/kcm_clock.la -%{tde_tdelibdir}/kcm_clock.so -%{tde_tdelibdir}/kcm_colors.la -%{tde_tdelibdir}/kcm_colors.so -%{tde_tdelibdir}/kcm_componentchooser.la -%{tde_tdelibdir}/kcm_componentchooser.so -%{tde_tdelibdir}/kcm_crypto.la -%{tde_tdelibdir}/kcm_crypto.so -%{tde_tdelibdir}/kcm_css.la -%{tde_tdelibdir}/kcm_css.so -%{tde_tdelibdir}/kcm_display.la -%{tde_tdelibdir}/kcm_display.so -%{tde_tdelibdir}/kcm_energy.la -%{tde_tdelibdir}/kcm_energy.so -%{tde_tdelibdir}/kcm_filetypes.la -%{tde_tdelibdir}/kcm_filetypes.so -%{tde_tdelibdir}/kcm_fontinst.la -%{tde_tdelibdir}/kcm_fontinst.so -%{tde_tdelibdir}/kcm_fonts.la -%{tde_tdelibdir}/kcm_fonts.so -#%{tde_tdelibdir}/kcm_hwmanager.la -#%{tde_tdelibdir}/kcm_hwmanager.so -%{tde_tdelibdir}/kcm_icons.la -%{tde_tdelibdir}/kcm_icons.so -%{tde_tdelibdir}/kcm_info.la -%{tde_tdelibdir}/kcm_info.so -%{tde_tdelibdir}/kcm_input.la -%{tde_tdelibdir}/kcm_input.so -%{tde_tdelibdir}/kcm_ioslaveinfo.la -%{tde_tdelibdir}/kcm_ioslaveinfo.so -%{tde_tdelibdir}/kcm_joystick.la -%{tde_tdelibdir}/kcm_joystick.so -%{tde_tdelibdir}/kcm_kded.la -%{tde_tdelibdir}/kcm_kded.so -%{tde_tdelibdir}/kcm_[kt]dm.la -%{tde_tdelibdir}/kcm_[kt]dm.so -%{tde_tdelibdir}/kcm_kdnssd.so -%{tde_tdelibdir}/kcm_kdnssd.la -%{tde_tdelibdir}/kcm_keys.la -%{tde_tdelibdir}/kcm_keys.so -%{tde_tdelibdir}/kcm_kicker.la -%{tde_tdelibdir}/kcm_kicker.so -%{tde_tdelibdir}/kcm_kio.la -%{tde_tdelibdir}/kcm_kio.so -%{tde_tdelibdir}/kcm_knotify.la -%{tde_tdelibdir}/kcm_knotify.so -%{tde_tdelibdir}/kcm_konqhtml.la -%{tde_tdelibdir}/kcm_konqhtml.so -%{tde_tdelibdir}/kcm_konq.la -%{tde_tdelibdir}/kcm_konq.so -%{tde_tdelibdir}/kcm_kthememanager.la -%{tde_tdelibdir}/kcm_kthememanager.so -%{tde_tdelibdir}/kcm_kurifilt.la -%{tde_tdelibdir}/kcm_kurifilt.so -%{tde_tdelibdir}/kcm_launch.la -%{tde_tdelibdir}/kcm_launch.so -%{tde_tdelibdir}/kcm_locale.la -%{tde_tdelibdir}/kcm_locale.so -%{tde_tdelibdir}/kcm_nic.la -%{tde_tdelibdir}/kcm_nic.so -%{tde_tdelibdir}/kcm_performance.la -%{tde_tdelibdir}/kcm_performance.so -%{tde_tdelibdir}/kcm_privacy.la -%{tde_tdelibdir}/kcm_privacy.so -%{tde_tdelibdir}/kcm_samba.la -%{tde_tdelibdir}/kcm_samba.so -%{tde_tdelibdir}/kcm_screensaver.la -%{tde_tdelibdir}/kcm_screensaver.so -%{tde_tdelibdir}/kcm_smserver.la -%{tde_tdelibdir}/kcm_smserver.so -%{tde_tdelibdir}/kcm_spellchecking.la -%{tde_tdelibdir}/kcm_spellchecking.so -%{tde_tdelibdir}/kcm_style.la -%{tde_tdelibdir}/kcm_style.so -%{tde_tdelibdir}/kcm_taskbar.la -%{tde_tdelibdir}/kcm_taskbar.so -%{tde_tdelibdir}/kcm_usb.la -%{tde_tdelibdir}/kcm_usb.so -%{tde_tdelibdir}/kcm_view1394.la -%{tde_tdelibdir}/kcm_view1394.so -%{tde_tdelibdir}/kcm_xinerama.la -%{tde_tdelibdir}/kcm_xinerama.so -%{tde_tdelibdir}/kcontrol.la -%{tde_tdelibdir}/kcontrol.so -%{tde_tdelibdir}/kfile_font.la -%{tde_tdelibdir}/kfile_font.so -%{tde_tdelibdir}/kio_fonts.la -%{tde_tdelibdir}/kio_fonts.so -%{tde_tdelibdir}/kstyle_keramik_config.la -%{tde_tdelibdir}/kstyle_keramik_config.so -%{tde_tdelibdir}/libkfontviewpart.la -%{tde_tdelibdir}/libkfontviewpart.so -%{tde_tdelibdir}/libkshorturifilter.la -%{tde_tdelibdir}/libkshorturifilter.so -%{tde_tdelibdir}/libkuriikwsfilter.la -%{tde_tdelibdir}/libkuriikwsfilter.so -%{tde_tdelibdir}/libkurisearchfilter.la -%{tde_tdelibdir}/libkurisearchfilter.so -%{tde_tdelibdir}/liblocaldomainurifilter.la -%{tde_tdelibdir}/liblocaldomainurifilter.so -%{tde_libdir}/lib[kt]deinit_kaccess.la -%{tde_libdir}/lib[kt]deinit_kaccess.so -%{tde_libdir}/lib[kt]deinit_kcontrol.la -%{tde_libdir}/lib[kt]deinit_kcontrol.so -%{tde_libdir}/libkfontinst.so.* -%{tde_tdeappdir}/arts.desktop -%{tde_tdeappdir}/background.desktop -%{tde_tdeappdir}/bell.desktop -%{tde_tdeappdir}/cache.desktop -%{tde_tdeappdir}/cdinfo.desktop -%{tde_tdeappdir}/clock.desktop -%{tde_tdeappdir}/colors.desktop -%{tde_tdeappdir}/componentchooser.desktop -%{tde_tdeappdir}/cookies.desktop -%{tde_tdeappdir}/crypto.desktop -%{tde_tdeappdir}/desktopbehavior.desktop -%{tde_tdeappdir}/desktop.desktop -%{tde_tdeappdir}/desktoppath.desktop -%{tde_tdeappdir}/devices.desktop -%{tde_tdeappdir}/display.desktop -%{tde_tdeappdir}/dma.desktop -%{tde_tdeappdir}/ebrowsing.desktop -%{tde_tdeappdir}/filebrowser.desktop -%{tde_tdeappdir}/filetypes.desktop -%{tde_tdeappdir}/fonts.desktop -#%{tde_tdeappdir}/hwmanager.desktop -%{tde_tdeappdir}/icons.desktop -%{tde_tdeappdir}/installktheme.desktop -%{tde_tdeappdir}/interrupts.desktop -%{tde_tdeappdir}/ioports.desktop -%{tde_tdeappdir}/ioslaveinfo.desktop -%{tde_tdeappdir}/joystick.desktop -%{tde_tdeappdir}/kcm_kdnssd.desktop -%{tde_tdeappdir}/kcmaccess.desktop -%{tde_tdeappdir}/kcmcss.desktop -%{tde_tdeappdir}/kcmfontinst.desktop -%{tde_tdeappdir}/kcmkded.desktop -%{tde_tdeappdir}/kcmlaunch.desktop -%{tde_tdeappdir}/kcmnotify.desktop -%{tde_tdeappdir}/kcmperformance.desktop -%{tde_tdeappdir}/kcmsmserver.desktop -%{tde_tdeappdir}/kcmtaskbar.desktop -%{tde_tdeappdir}/kcmusb.desktop -%{tde_tdeappdir}/kcmview1394.desktop -%{tde_tdeappdir}/KControl.desktop -%{tde_tdeappdir}/[kt]dm.desktop -%{tde_tdeappdir}/keys.desktop -%{tde_tdeappdir}/kfontview.desktop -%{tde_tdeappdir}/khtml_behavior.desktop -%{tde_tdeappdir}/khtml_fonts.desktop -%{tde_tdeappdir}/khtml_java_js.desktop -%{tde_tdeappdir}/kinfocenter.desktop -%{tde_tdeappdir}/kthememanager.desktop -%{tde_tdeappdir}/lanbrowser.desktop -%{tde_tdeappdir}/language.desktop -%{tde_tdeappdir}/media.desktop -%{tde_tdeappdir}/memory.desktop -%{tde_tdeappdir}/mouse.desktop -%{tde_tdeappdir}/netpref.desktop -%{tde_tdeappdir}/nic.desktop -%{tde_tdeappdir}/opengl.desktop -%{tde_tdeappdir}/panel_appearance.desktop -%{tde_tdeappdir}/panel.desktop -%{tde_tdeappdir}/partitions.desktop -%{tde_tdeappdir}/pci.desktop -%{tde_tdeappdir}/privacy.desktop -%{tde_tdeappdir}/processor.desktop -%{tde_tdeappdir}/proxy.desktop -%{tde_tdeappdir}/screensaver.desktop -%{tde_tdeappdir}/scsi.desktop -%{tde_tdeappdir}/smbstatus.desktop -%{tde_tdeappdir}/sound.desktop -%{tde_tdeappdir}/spellchecking.desktop -%{tde_tdeappdir}/style.desktop -%{tde_tdeappdir}/useragent.desktop -%{tde_tdeappdir}/xserver.desktop -%{tde_datadir}/applnk/.hidden/energy.desktop -%{tde_datadir}/applnk/.hidden/fileappearance.desktop -%{tde_datadir}/applnk/.hidden/filebehavior.desktop -%{tde_datadir}/applnk/.hidden/filepreviews.desktop -%{tde_datadir}/applnk/.hidden/kcmkonqyperformance.desktop -%{tde_datadir}/applnk/.hidden/kicker_config_appearance.desktop -%{tde_datadir}/applnk/.hidden/kicker_config.desktop -%{tde_datadir}/applnk/.hidden/smb.desktop -%{tde_datadir}/applnk/.hidden/xinerama.desktop -%{tde_datadir}/applnk/Settings/LookNFeel/ -%{tde_datadir}/applnk/Settings/WebBrowsing/khtml_appearance.desktop -%{tde_datadir}/applnk/Settings/WebBrowsing/nsplugin.desktop -%{tde_datadir}/applnk/Settings/WebBrowsing/smb.desktop -%{tde_datadir}/apps/kcm_componentchooser/kcm_browser.desktop -%{tde_datadir}/apps/kcm_componentchooser/kcm_kemail.desktop -%{tde_datadir}/apps/kcm_componentchooser/kcm_terminal.desktop -%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/fonts.desktop -%{tde_datadir}/apps/konqueror/servicemenus/installfont.desktop -%{tde_datadir}/mimelnk/application/x-ktheme.desktop -%{tde_datadir}/mimelnk/fonts/folder.desktop -%{tde_datadir}/mimelnk/fonts/package.desktop -%{tde_datadir}/mimelnk/fonts/system-folder.desktop -%{tde_datadir}/services/fonts.protocol -%{tde_datadir}/services/fontthumbnail.desktop -%{tde_datadir}/services/kaccess.desktop -%{tde_datadir}/services/kfile_font.desktop -%{tde_datadir}/services/kfontviewpart.desktop -%{tde_datadir}/services/kshorturifilter.desktop -%{tde_datadir}/services/kuriikwsfilter.desktop -%{tde_datadir}/services/kurisearchfilter.desktop -%{tde_datadir}/services/localdomainurifilter.desktop - -%{tde_datadir}/apps/usb.ids -%{tde_datadir}/apps/kcmview1394/oui.db - -# The following features are not compiled under RHEL 5 -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -%{tde_bindir}/krandrtray -%{tde_tdelibdir}/kcm_displayconfig.la -%{tde_tdelibdir}/kcm_displayconfig.so -%{tde_tdelibdir}/kcm_iccconfig.la -%{tde_tdelibdir}/kcm_iccconfig.so -%{tde_tdelibdir}/kcm_randr.la -%{tde_tdelibdir}/kcm_randr.so -%{tde_tdeappdir}/displayconfig.desktop -%{tde_tdeappdir}/iccconfig.desktop -%{tde_tdeappdir}/krandrtray.desktop -%{tde_datadir}/applnk/.hidden/randr.desktop -%{tde_datadir}/autostart/krandrtray-autostart.desktop -%endif - -%post -n trinity-kcontrol -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%postun -n trinity-kcontrol -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} 2> /dev/null || : - -########## - -%package -n trinity-kcontrol-devel -Summary: Development files for kcontrol -Group: Development/Libraries -Requires: trinity-kcontrol = %{version}-%{release} - -%description -n trinity-kcontrol-devel -%{summary} - -%files -n trinity-kcontrol-devel -%{tde_libdir}/libkfontinst.la -%{tde_libdir}/libkfontinst.so - -%post -n trinity-kcontrol-devel -/sbin/ldconfig || : - -%postun -n trinity-kcontrol-devel -/sbin/ldconfig || : - -########## - -%package bin -Summary: core binaries for the TDE base module -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} -Requires: pam - -Provides: tdebase-bin = %{version}-%{release} -Obsoletes: tdebase-bin < %{version}-%{release} - -%description bin -This package contains miscellaneous programs needed by other -TDE applications, particularly those in the TDE base module. - -%files bin -%defattr(-,root,root,-) -%{tde_bindir}/krootbacking -#%{tde_bindir}/tdeinit_phase1 -%if 0%{?with_tsak} -%attr(4511,root,root) %{tde_bindir}/[kt]dmtsak -%{tde_bindir}/tsak -%endif -%{tde_bindir}/kdebugdialog -%{tde_bindir}/kreadconfig -%{tde_bindir}/kwriteconfig -%{tde_bindir}/kstart -%{tde_datadir}/config/kxkb_groups -%{tde_bindir}/drkonqi -%{tde_bindir}/kapplymousetheme -%{tde_bindir}/kblankscrn.kss -%attr(4755,root,root) %{tde_bindir}/kcheckpass -%{tde_bindir}/kcminit -%{tde_bindir}/kcminit_startup -%{tde_bindir}/kdcop -%{tde_bindir}/[kt]desu -%attr(0755,root,root) %{tde_bindir}/[kt]desud -%{tde_bindir}/kdialog -%{tde_bindir}/khotkeys -%{tde_bindir}/knetattach -%{tde_bindir}/krandom.kss -%{tde_bindir}/ksystraycmd -%{tde_bindir}/kxkb -%{tde_libdir}/kconf_update_bin/khotkeys_update -%{tde_tdelibdir}/kcminit.la -%{tde_tdelibdir}/kcminit.so -%{tde_tdelibdir}/kcminit_startup.la -%{tde_tdelibdir}/kcminit_startup.so -%{tde_tdelibdir}/kcm_keyboard.la -%{tde_tdelibdir}/kcm_keyboard.so -%{tde_tdelibdir}/kcm_khotkeys_init.la -%{tde_tdelibdir}/kcm_khotkeys_init.so -%{tde_tdelibdir}/kcm_khotkeys.la -%{tde_tdelibdir}/kcm_khotkeys.so -%{tde_tdelibdir}/kded_khotkeys.la -%{tde_tdelibdir}/kded_khotkeys.so -%{tde_tdelibdir}/kgreet_classic.la -%{tde_tdelibdir}/kgreet_classic.so -%{tde_tdelibdir}/kgreet_winbind.la -%{tde_tdelibdir}/kgreet_winbind.so -%{tde_tdelibdir}/khotkeys.la -%{tde_tdelibdir}/khotkeys.so -%{tde_tdelibdir}/khotkeys_arts.la -%{tde_tdelibdir}/khotkeys_arts.so -%{tde_tdelibdir}/kxkb.la -%{tde_tdelibdir}/kxkb.so -%{tde_libdir}/lib[kt]deinit_kcminit.la -%{tde_libdir}/lib[kt]deinit_kcminit.so -%{tde_libdir}/lib[kt]deinit_kcminit_startup.la -%{tde_libdir}/lib[kt]deinit_kcminit_startup.so -%{tde_libdir}/lib[kt]deinit_khotkeys.la -%{tde_libdir}/lib[kt]deinit_khotkeys.so -%{tde_libdir}/lib[kt]deinit_kxkb.la -%{tde_libdir}/lib[kt]deinit_kxkb.so -%{tde_libdir}/libkhotkeys_shared.so.* -%{tde_tdeappdir}/keyboard.desktop -%{tde_tdeappdir}/keyboard_layout.desktop -%{tde_tdeappdir}/khotkeys.desktop -%{tde_tdeappdir}/knetattach.desktop -%{tde_datadir}/applnk/System/ScreenSavers/ -%{tde_datadir}/apps/drkonqi/ -%{tde_datadir}/apps/kconf_update/khotkeys_32b1_update.upd -%{tde_datadir}/apps/kconf_update/khotkeys_printscreen.upd -%{tde_datadir}/apps/kconf_update/konqueror_gestures_trinity21_update.upd -%{tde_datadir}/apps/kdcop/kdcopui.rc -%{tde_datadir}/apps/khotkeys/ -%{tde_datadir}/services/kded/khotkeys.desktop -%{tde_datadir}/services/kxkb.desktop -%{_sysconfdir}/pam.d/kcheckpass-trinity -%if 0%{?suse_version} == 0 -%{_sysconfdir}/pam.d/kscreensaver-trinity -%endif -%{tde_tdedocdir}/HTML/en/kdcop/ -%{tde_tdedocdir}/HTML/en/kdebugdialog// -%{tde_tdedocdir}/HTML/en/[kt]desu/ -%{tde_tdedocdir}/HTML/en/knetattach/ -%{tde_tdedocdir}/HTML/en/kxkb/ - -%post bin -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%postun bin -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} 2> /dev/null || : - -########## - -%package bin-devel -Summary: Development files for core binaries for the TDE base module -Group: Development/Libraries -Requires: %{name}-bin = %{version}-%{release} - -Obsoletes: tdebase-bin-devel < %{version}-%{release} -Provides: tdebase-bin-devel = %{version}-%{release} - -%description bin-devel -%{summary} - -%files bin-devel -%{tde_libdir}/libkhotkeys_shared.la -%{tde_libdir}/libkhotkeys_shared.so - -%post bin-devel -/sbin/ldconfig || : - -%postun bin-devel -/sbin/ldconfig || : - -########## - -%package data -Summary: shared data files for the TDE base module -Group: Environment/Libraries -Requires: %{name}-runtime-data-common = %{version}-%{release} - -Obsoletes: tdebase-data < %{version}-%{release} -Provides: tdebase-data = %{version}-%{release} - -%description data -This package contains the architecture-independent shared data files -needed for a basic TDE desktop installation. - -%files data -%defattr(-,root,root,-) -%{tde_datadir}/config/kshorturifilterrc -%{tde_datadir}/applnk/.hidden/battery.desktop -%{tde_datadir}/applnk/.hidden/bwarning.desktop -%{tde_datadir}/applnk/.hidden/cwarning.desktop -%{tde_datadir}/applnk/.hidden/.directory -%{tde_datadir}/applnk/.hidden/email.desktop -%{tde_datadir}/applnk/.hidden/kcmkonq.desktop -%{tde_datadir}/applnk/.hidden/kcmkxmlrpcd.desktop -%{tde_datadir}/applnk/.hidden/konqhtml.desktop -%{tde_datadir}/applnk/.hidden/passwords.desktop -%{tde_datadir}/applnk/.hidden/power.desktop -%{tde_datadir}/applnk/.hidden/socks.desktop -%{tde_datadir}/applnk/.hidden/userinfo.desktop -%{tde_datadir}/applnk/.hidden/virtualdesktops.desktop -%{tde_datadir}/apps/kaccess/eventsrc -%{tde_datadir}/apps/kcmcss/template.css -%{tde_datadir}/apps/kcminput/ -%{tde_datadir}/apps/kcmkeys/ -%{tde_datadir}/apps/kcmlocale/pics/background.png -%{tde_datadir}/apps/kconf_update/convertShortcuts.pl -%{tde_datadir}/apps/kconf_update/kaccel.upd -%{tde_datadir}/apps/kconf_update/kcmdisplayrc.upd -%{tde_datadir}/apps/kconf_update/kuriikwsfilter.upd -%{tde_datadir}/apps/kconf_update/mouse_cursor_theme.upd -%{tde_datadir}/apps/kconf_update/socks.upd -%{tde_datadir}/apps/kcontrol/ -%{tde_datadir}/apps/kdisplay/ -%{tde_datadir}/apps/kfontview/ -%{tde_datadir}/apps/kinfocenter/kinfocenterui.rc -%{tde_datadir}/apps/kthememanager/themes/* -%{tde_datadir}/icons/crystalsvg/*/apps/access.png -%{tde_datadir}/icons/crystalsvg/*/apps/acroread.png -%{tde_datadir}/icons/crystalsvg/*/apps/applixware.png -%{tde_datadir}/icons/crystalsvg/*/apps/arts.png -%{tde_datadir}/icons/crystalsvg/*/apps/background.png -%{tde_datadir}/icons/crystalsvg/*/apps/bell.png -%{tde_datadir}/icons/crystalsvg/*/apps/cache.png -%{tde_datadir}/icons/crystalsvg/*/apps/clanbomber.png -%{tde_datadir}/icons/crystalsvg/*/apps/clock.png -%{tde_datadir}/icons/crystalsvg/*/apps/colors.png -%{tde_datadir}/icons/crystalsvg/*/apps/date.png -%{tde_datadir}/icons/crystalsvg/*/apps/email.png -%{tde_datadir}/icons/crystalsvg/*/apps/energy.png -%{tde_datadir}/icons/crystalsvg/*/apps/energy_star.png -%{tde_datadir}/icons/crystalsvg/*/apps/filetypes.png -%{tde_datadir}/icons/crystalsvg/*/apps/fonts.png -%{tde_datadir}/icons/crystalsvg/*/apps/gimp.png -%{tde_datadir}/icons/crystalsvg/*/apps/help_index.png -%{tde_datadir}/icons/crystalsvg/*/apps/hwinfo.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmdevices.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmdf.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmkwm.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmmemory.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmpartitions.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmpci.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcontrol.png -%{tde_datadir}/icons/crystalsvg/*/apps/[kt]dmconfig.png -%{tde_datadir}/icons/crystalsvg/*/apps/key_bindings.png -%{tde_datadir}/icons/crystalsvg/*/apps/kfm_home.png -%{tde_datadir}/icons/crystalsvg/*/apps/kscreensaver.png -%{tde_datadir}/icons/crystalsvg/*/apps/kthememgr.png -%{tde_datadir}/icons/crystalsvg/*/apps/licq.png -%{tde_datadir}/icons/crystalsvg/*/apps/linuxconf.png -%{tde_datadir}/icons/crystalsvg/*/apps/locale.png -%{tde_datadir}/icons/crystalsvg/*/apps/looknfeel.png -%{tde_datadir}/icons/crystalsvg/*/apps/multimedia.png -%{tde_datadir}/icons/crystalsvg/*/apps/netscape.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_applications.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_development.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_favourite.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_games.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_games_kids.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_multimedia.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_network.png -%{tde_datadir}/icons/crystalsvg/*/apps/package.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_settings.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_toys.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_utilities.png -%{tde_datadir}/icons/crystalsvg/*/apps/penguin.png -%{tde_datadir}/icons/crystalsvg/*/apps/personal.png -%{tde_datadir}/icons/crystalsvg/*/apps/phppg.png -%{tde_datadir}/icons/crystalsvg/*/apps/proxy.png -%{tde_datadir}/icons/crystalsvg/*/apps/pysol.png -%{tde_datadir}/icons/crystalsvg/*/apps/randr.png -%{tde_datadir}/icons/crystalsvg/*/apps/samba.png -%{tde_datadir}/icons/crystalsvg/*/apps/staroffice.png -%{tde_datadir}/icons/crystalsvg/*/apps/stylesheet.png -%{tde_datadir}/icons/crystalsvg/*/apps/terminal.png -%{tde_datadir}/icons/crystalsvg/*/apps/tux.png -%{tde_datadir}/icons/crystalsvg/*/apps/wp.png -%{tde_datadir}/icons/crystalsvg/*/apps/xclock.png -%{tde_datadir}/icons/crystalsvg/*/apps/xfmail.png -%{tde_datadir}/icons/crystalsvg/*/apps/xmag.png -%{tde_datadir}/icons/crystalsvg/*/apps/xpaint.png -%{tde_datadir}/icons/crystalsvg/scalable/apps/access.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/acroread.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/aim.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/aktion.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/antivirus.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/applixware.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/arts.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/background.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/bell.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/browser.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/cache.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/camera.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/clanbomber.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/clock.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/colors.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/core.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/date.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/display.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/download_manager.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/email.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/energy.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/error.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/fifteenpieces.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/filetypes.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/fonts.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/galeon.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/gnome_apps.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/hardware.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/hwinfo.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/ieee1394.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/kcmdevices.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/kcmkwm.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/kcmx.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/locale.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/my_mac.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/netscape.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/openoffice.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/package_development.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/package_games_kids.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/package_toys.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/penguin.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/personal.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/quicktime.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/realplayer.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/samba.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/shell.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/staroffice.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/stylesheet.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/terminal.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/tux.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/wine.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/x.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/xapp.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/xcalc.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/xchat.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/xclock.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/xeyes.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/xpaint.svgz -%{tde_datadir}/icons/crystalsvg/*/devices/laptop.png -%{tde_datadir}/icons/crystalsvg/*/devices/laptop.svgz -%{tde_datadir}/icons/crystalsvg/*/actions/newfont.png -%{tde_datadir}/icons/crystalsvg/*/apps/abiword.png -%{tde_datadir}/icons/crystalsvg/*/apps/agent.png -%{tde_datadir}/icons/crystalsvg/*/apps/alevt.png -%{tde_datadir}/icons/crystalsvg/*/apps/assistant.png -%{tde_datadir}/icons/crystalsvg/*/apps/blender.png -%{tde_datadir}/icons/crystalsvg/*/apps/bluefish.png -%{tde_datadir}/icons/crystalsvg/*/apps/cookie.png -%{tde_datadir}/icons/crystalsvg/*/apps/designer.png -%{tde_datadir}/icons/crystalsvg/*/apps/dia.png -%{tde_datadir}/icons/crystalsvg/*/apps/dlgedit.png -%{tde_datadir}/icons/crystalsvg/*/apps/eclipse.png -%{tde_datadir}/icons/crystalsvg/*/apps/edu_languages.png -%{tde_datadir}/icons/crystalsvg/*/apps/edu_mathematics.png -%{tde_datadir}/icons/crystalsvg/*/apps/edu_miscellaneous.png -%{tde_datadir}/icons/crystalsvg/*/apps/edu_science.png -%{tde_datadir}/icons/crystalsvg/*/apps/emacs.png -%{tde_datadir}/icons/crystalsvg/*/apps/enhanced_browsing.png -%{tde_datadir}/icons/crystalsvg/*/apps/evolution.png -%{tde_datadir}/icons/crystalsvg/*/apps/fifteenpieces.png -%{tde_datadir}/icons/crystalsvg/*/apps/gabber.png -%{tde_datadir}/icons/crystalsvg/*/apps/gaim.png -%{tde_datadir}/icons/crystalsvg/*/apps/gnome_apps.png -%{tde_datadir}/icons/crystalsvg/*/apps/gnomemeeting.png -%{tde_datadir}/icons/crystalsvg/*/apps/gnucash.png -%{tde_datadir}/icons/crystalsvg/*/apps/gnumeric.png -%{tde_datadir}/icons/crystalsvg/*/apps/gv.png -%{tde_datadir}/icons/crystalsvg/*/apps/gvim.png -%{tde_datadir}/icons/crystalsvg/*/apps/icons.png -%{tde_datadir}/icons/crystalsvg/*/apps/iconthemes.png -%{tde_datadir}/icons/crystalsvg/*/apps/ieee1394.png -%{tde_datadir}/icons/crystalsvg/*/apps/input_devices_settings.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmkicker.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmmidi.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmprocessor.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmscsi.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmsound.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmsystem.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmx.png -%{tde_datadir}/icons/crystalsvg/*/apps/keyboard.png -%{tde_datadir}/icons/crystalsvg/*/apps/keyboard_layout.png -%{tde_datadir}/icons/crystalsvg/*/apps/knotify.png -%{tde_datadir}/icons/crystalsvg/*/apps/kvirc.png -%{tde_datadir}/icons/crystalsvg/*/apps/linguist.png -%{tde_datadir}/icons/crystalsvg/*/apps/lyx.png -%{tde_datadir}/icons/crystalsvg/*/apps/mac.png -%{tde_datadir}/icons/crystalsvg/*/apps/mathematica.png -%{tde_datadir}/icons/crystalsvg/*/apps/nedit.png -%{tde_datadir}/icons/crystalsvg/*/apps/opera.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_application.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_editors.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_edutainment.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_games_arcade.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_games_board.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_games_card.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_games_strategy.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_graphics.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_system.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_wordprocessing.png -%{tde_datadir}/icons/crystalsvg/*/apps/pan.png -%{tde_datadir}/icons/crystalsvg/*/apps/panel_settings.png -%{tde_datadir}/icons/crystalsvg/*/apps/plan.png -%{tde_datadir}/icons/crystalsvg/*/apps/planner.png -%{tde_datadir}/icons/crystalsvg/*/apps/pybliographic.png -%{tde_datadir}/icons/crystalsvg/*/apps/realplayer.png -%{tde_datadir}/icons/crystalsvg/*/apps/remote.png -%{tde_datadir}/icons/crystalsvg/*/apps/scribus.png -%{tde_datadir}/icons/crystalsvg/*/apps/sodipodi.png -%{tde_datadir}/icons/crystalsvg/*/apps/style.png -%{tde_datadir}/icons/crystalsvg/*/apps/usb.png -%{tde_datadir}/icons/crystalsvg/*/apps/vnc.png -%{tde_datadir}/icons/crystalsvg/*/apps/wabi.png -%{tde_datadir}/icons/crystalsvg/*/apps/wine.png -%{tde_datadir}/icons/crystalsvg/*/apps/xcalc.png -%{tde_datadir}/icons/crystalsvg/*/apps/xchat.png -%{tde_datadir}/icons/crystalsvg/*/apps/xclipboard.png -%{tde_datadir}/icons/crystalsvg/*/apps/xconsole.png -%{tde_datadir}/icons/crystalsvg/*/apps/xedit.png -%{tde_datadir}/icons/crystalsvg/*/apps/xemacs.png -%{tde_datadir}/icons/crystalsvg/*/apps/xeyes.png -%{tde_datadir}/icons/crystalsvg/*/apps/xfig.png -%{tde_datadir}/icons/crystalsvg/*/apps/xload.png -%{tde_datadir}/icons/crystalsvg/*/apps/xmms.png -%{tde_datadir}/icons/crystalsvg/*/apps/xosview.png -%{tde_datadir}/icons/crystalsvg/*/apps/xv.png -%{tde_datadir}/icons/crystalsvg/*/apps/galeon.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmdrkonqi.png -%{tde_datadir}/icons/crystalsvg/*/apps/pinguin.png -%{tde_datadir}/icons/crystalsvg/*/apps/x.png -%{tde_datadir}/icons/crystalsvg/*/apps/xapp.png -%{tde_datadir}/icons/crystalsvg/*/apps/xawtv.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmopengl.png -%{tde_datadir}/icons/crystalsvg/*/apps/wmaker_apps.png -%{tde_datadir}/icons/crystalsvg/*/apps/qtella.png -%{tde_datadir}/services/searchproviders -%{tde_datadir}/services/useragentstrings/*.desktop -%{tde_datadir}/servicetypes/searchprovider.desktop -%{tde_datadir}/servicetypes/uasprovider.desktop -%exclude %{tde_datadir}/sounds/pop.wav -%{tde_datadir}/sounds/ -%{tde_datadir}/wallpapers/* - -%if "%{tde_prefix}" != "/usr" -%{tde_prefix}/etc/xdg/menus/applications-merged/kde-essential.menu -%{tde_prefix}/etc/xdg/menus/kde-information.menu -%{tde_prefix}/etc/xdg/menus/kde-screensavers.menu -%{tde_prefix}/etc/xdg/menus/kde-settings.menu -%else -%{_sysconfdir}/xdg/menus/applications-merged/kde-essential.menu -%{_sysconfdir}/xdg/menus/kde-information.menu -%{_sysconfdir}/xdg/menus/kde-screensavers.menu -%{_sysconfdir}/xdg/menus/kde-settings.menu -%endif - -%{tde_tdedocdir}/HTML/en/kcontrol/ -%exclude %{tde_tdedocdir}/HTML/en/kcontrol/kcmkonsole/ -%{tde_tdedocdir}/HTML/en/kinfocenter/ - -%post data -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -%if 0%{?mdkversion} -# Mandriva-specific: we have to choose a background for current distribution variant (Free, One, Powerpack, ...) -# First, we read the "product" key in /etc/product.id -eval $(tr "," ";" /dev/null -# Then, we create a symbolic link to the corresponding background -if [ -r "/usr/share/mdk/backgrounds/Mandriva-${product:-Free}-1280x1024-1300.jpg" "%{tde_bg}" ]; then - %__ln -sf "/usr/share/mdk/backgrounds/Mandriva-${product:-Free}-1280x1024-1300.jpg" "%{tde_bg}" -fi -%endif - -%postun data -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -########## - -%package kio-plugins -Summary: core I/O slaves for TDE -Group: Applications/Utilities -Requires: trinity-kdesktop = %{version}-%{release} -Requires: cyrus-sasl -Requires: psmisc -%if 0%{?with_hal} -Requires: hal >= 0.4.8 -%endif -%if 0%{?rhel} == 4 || 0%{?suse_version} -Requires: cryptsetup -%else -Requires: cryptsetup-luks -%endif - -Obsoletes: tdebase-kio-plugins < %{version}-%{release} -Provides: tdebase-kio-plugins = %{version}-%{release} - -%description kio-plugins -This package includes the base kioslaves. They include, amongst many -others, file, http, and ftp. - -It also includes the media kioslave, which handles removable devices, -and which works best with hal (and therefore udev) and pmount. Media -also extends the functionality of many other kioslaves. To use this -service, please make sure that your user is a member of the plugdev -group. - -%files kio-plugins -%defattr(-,root,root,-) -%{tde_bindir}/kio_media_mounthelper -%{tde_bindir}/ktrash -%{tde_tdelibdir}/cursorthumbnail.la -%{tde_tdelibdir}/cursorthumbnail.so -%{tde_tdelibdir}/djvuthumbnail.la -%{tde_tdelibdir}/djvuthumbnail.so -%{tde_tdelibdir}/htmlthumbnail.la -%{tde_tdelibdir}/htmlthumbnail.so -%{tde_tdelibdir}/imagethumbnail.la -%{tde_tdelibdir}/imagethumbnail.so -%{tde_tdelibdir}/kcm_cgi.la -%{tde_tdelibdir}/kcm_cgi.so -%{tde_tdelibdir}/kcm_media.la -%{tde_tdelibdir}/kcm_media.so -%{tde_tdelibdir}/kded_homedirnotify.la -%{tde_tdelibdir}/kded_homedirnotify.so -%{tde_tdelibdir}/kded_mediamanager.la -%{tde_tdelibdir}/kded_mediamanager.so -%{tde_tdelibdir}/kded_medianotifier.la -%{tde_tdelibdir}/kded_medianotifier.so -%{tde_tdelibdir}/kded_remotedirnotify.la -%{tde_tdelibdir}/kded_remotedirnotify.so -%{tde_tdelibdir}/kded_systemdirnotify.la -%{tde_tdelibdir}/kded_systemdirnotify.so -%{tde_tdelibdir}/kfile_media.la -%{tde_tdelibdir}/kfile_media.so -%{tde_tdelibdir}/kfile_trash.la -%{tde_tdelibdir}/kfile_trash.so -%{tde_tdelibdir}/kio_about.la -%{tde_tdelibdir}/kio_about.so -%{tde_tdelibdir}/kio_cgi.la -%{tde_tdelibdir}/kio_cgi.so -%{tde_tdelibdir}/kio_filter.la -%{tde_tdelibdir}/kio_filter.so -%{tde_tdelibdir}/kio_finger.la -%{tde_tdelibdir}/kio_finger.so -%{tde_tdelibdir}/kio_fish.la -%{tde_tdelibdir}/kio_fish.so -%{tde_tdelibdir}/kio_floppy.la -%{tde_tdelibdir}/kio_floppy.so -%{tde_tdelibdir}/kio_home.la -%{tde_tdelibdir}/kio_home.so -%{tde_tdelibdir}/kio_info.la -%{tde_tdelibdir}/kio_info.so -%{tde_tdelibdir}/kio_mac.la -%{tde_tdelibdir}/kio_mac.so -%{tde_tdelibdir}/kio_man.la -%{tde_tdelibdir}/kio_man.so -%{tde_tdelibdir}/kio_media.la -%{tde_tdelibdir}/kio_media.so -%{tde_tdelibdir}/kio_nfs.la -%{tde_tdelibdir}/kio_nfs.so -%{tde_tdelibdir}/kio_remote.la -%{tde_tdelibdir}/kio_remote.so -%{tde_tdelibdir}/kio_settings.la -%{tde_tdelibdir}/kio_settings.so -%{tde_tdelibdir}/kio_sftp.la -%{tde_tdelibdir}/kio_sftp.so -%{tde_tdelibdir}/kio_smb.la -%{tde_tdelibdir}/kio_smb.so -%{tde_tdelibdir}/kio_system.la -%{tde_tdelibdir}/kio_system.so -%{tde_tdelibdir}/kio_tar.la -%{tde_tdelibdir}/kio_tar.so -%{tde_tdelibdir}/kio_thumbnail.la -%{tde_tdelibdir}/kio_thumbnail.so -%{tde_tdelibdir}/kio_trash.la -%{tde_tdelibdir}/kio_trash.so -%{tde_tdelibdir}/libkmanpart.la -%{tde_tdelibdir}/libkmanpart.so -%{tde_tdelibdir}/textthumbnail.la -%{tde_tdelibdir}/textthumbnail.so -%{tde_tdeappdir}/kcmcgi.desktop -%{tde_datadir}/apps/kio_finger/kio_finger.css -%{tde_datadir}/apps/kio_finger/kio_finger.pl -%{tde_datadir}/apps/kio_info/kde-info2html -%{tde_datadir}/apps/kio_info/kde-info2html.conf -%{tde_datadir}/apps/kio_man/kio_man.css -%{tde_datadir}/apps/konqueror/dirtree/remote/smb-network.desktop -%{tde_datadir}/apps/remoteview/smb-network.desktop -%{tde_datadir}/apps/systemview/*.desktop -%{tde_datadir}/config.kcfg/mediamanagersettings.kcfg -%{tde_datadir}/mimelnk/application/x-smb-server.desktop -%{tde_datadir}/mimelnk/application/x-smb-workgroup.desktop -%{tde_datadir}/mimelnk/inode/system_directory.desktop -%{tde_datadir}/mimelnk/media/*.desktop -%{tde_datadir}/services/about.protocol -%{tde_datadir}/services/applications.protocol -%{tde_datadir}/services/ar.protocol -%{tde_datadir}/services/bzip.protocol -%{tde_datadir}/services/bzip2.protocol -%{tde_datadir}/services/cgi.protocol -%{tde_datadir}/services/cursorthumbnail.desktop -%{tde_datadir}/services/djvuthumbnail.desktop -%{tde_datadir}/services/finger.protocol -%{tde_datadir}/services/fish.protocol -%{tde_datadir}/services/floppy.protocol -%{tde_datadir}/services/gzip.protocol -%{tde_datadir}/services/home.protocol -%{tde_datadir}/services/htmlthumbnail.desktop -%{tde_datadir}/services/imagethumbnail.desktop -%{tde_datadir}/services/info.protocol -%{tde_datadir}/services/kded/homedirnotify.desktop -%{tde_datadir}/services/kded/mediamanager.desktop -%{tde_datadir}/services/kded/medianotifier.desktop -%{tde_datadir}/services/kded/remotedirnotify.desktop -%{tde_datadir}/services/kded/systemdirnotify.desktop -%{tde_datadir}/services/kfile_media.desktop -%{tde_datadir}/services/kfile_trash_system.desktop -%{tde_datadir}/services/kmanpart.desktop -%{tde_datadir}/services/mac.protocol -%{tde_datadir}/services/man.protocol -%{tde_datadir}/services/media.protocol -%{tde_datadir}/services/nfs.protocol -%{tde_datadir}/services/nxfish.protocol -%{tde_datadir}/services/programs.protocol -%{tde_datadir}/services/remote.protocol -%{tde_datadir}/services/settings.protocol -%{tde_datadir}/services/sftp.protocol -%{tde_datadir}/services/smb.protocol -%{tde_datadir}/services/system.protocol -%{tde_datadir}/services/tar.protocol -%{tde_datadir}/services/textthumbnail.desktop -%{tde_datadir}/services/thumbnail.protocol -%{tde_datadir}/services/trash.protocol -%{tde_datadir}/services/zip.protocol -%{tde_datadir}/servicetypes/thumbcreator.desktop -%{tde_datadir}/services/kfile_trash.desktop -%{tde_tdedocdir}/HTML/en/kioslave/ -%if 0%{?with_exr} -%{tde_tdelibdir}/exrthumbnail.la -%{tde_tdelibdir}/exrthumbnail.so -%{tde_datadir}/services/exrthumbnail.desktop -%endif -%if 0%{?with_hal} -%{tde_tdelibdir}/media_propsdlgplugin.la -%{tde_tdelibdir}/media_propsdlgplugin.so -%{tde_datadir}/services/media_propsdlgplugin.desktop -%endif - -%post kio-plugins -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%postun kio-plugins -update-desktop-database %{tde_appdir} 2> /dev/null || : - - -########## - -%package -n trinity-kdepasswd -Summary: password changer for TDE -Group: Applications/Utilities - -%description -n trinity-kdepasswd -This is a simple application which allows users to change their -system passwords. - -%files -n trinity-kdepasswd -%defattr(-,root,root,-) -%{tde_bindir}/kdepasswd -%{tde_tdelibdir}/kcm_useraccount.la -%{tde_tdelibdir}/kcm_useraccount.so -%{tde_tdeappdir}/kcm_useraccount.desktop -%{tde_tdeappdir}/kdepasswd.desktop -%exclude %{tde_datadir}/apps/[kt]dm/pics/users/default1.png -%exclude %{tde_datadir}/apps/[kt]dm/pics/users/default2.png -%exclude %{tde_datadir}/apps/[kt]dm/pics/users/default3.png -%exclude %{tde_datadir}/apps/[kt]dm/pics/users/root1.png -%{tde_datadir}/apps/[kt]dm/pics/users/*.png -%{tde_datadir}/config.kcfg/kcm_useraccount.kcfg -%{tde_datadir}/config.kcfg/kcm_useraccount_pass.kcfg - -%post -n trinity-kdepasswd -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%postun -n trinity-kdepasswd -update-desktop-database %{tde_appdir} 2> /dev/null || : - -########## - -%package -n trinity-tdeprint -Summary: print system for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} -Requires: psutils - -%description -n trinity-tdeprint -This package contains the TDE printing subsystem. It can use CUPS, -lpd-ng or the traditional lpd. It also includes support for fax and -pdf printing. - -Installation of smbclient will make you able to use smb shared printers. - -%files -n trinity-tdeprint -%defattr(-,root,root,-) -%{tde_bindir}/[kt]deprintfax -%{tde_bindir}/kjobviewer -%{tde_bindir}/kprinter -%{tde_tdelibdir}/kcm_printmgr.la -%{tde_tdelibdir}/kcm_printmgr.so -%{tde_tdelibdir}/kio_print.la -%{tde_tdelibdir}/kio_print.so -%{tde_tdelibdir}/kjobviewer.la -%{tde_tdelibdir}/kjobviewer.so -%{tde_tdelibdir}/kprinter.la -%{tde_tdelibdir}/kprinter.so -%{tde_tdelibdir}/lib[kt]deprint_part.la -%{tde_tdelibdir}/lib[kt]deprint_part.so -%{tde_libdir}/lib[kt]deinit_kjobviewer.la -%{tde_libdir}/lib[kt]deinit_kjobviewer.so -%{tde_libdir}/lib[kt]deinit_kprinter.la -%{tde_libdir}/lib[kt]deinit_kprinter.so -%{tde_tdeappdir}/[kt]deprintfax.desktop -%{tde_tdeappdir}/[kt]jobviewer.desktop -%{tde_tdeappdir}/printers.desktop -%{tde_datadir}/apps/[kt]deprint/ -%{tde_datadir}/apps/[kt]deprintfax/ -%{tde_datadir}/apps/[kt]jobviewer/ -%{tde_datadir}/apps/[kt]deprint_part/kdeprint_part.rc -%{tde_datadir}/icons/hicolor/*/apps/kdeprintfax.png -%{tde_datadir}/icons/hicolor/*/apps/kjobviewer.png -%{tde_datadir}/icons/hicolor/*/apps/printmgr.png -%{tde_datadir}/icons/hicolor/scalable/apps/kdeprintfax.svgz -%{tde_datadir}/icons/hicolor/scalable/apps/kjobviewer.svgz -%{tde_datadir}/icons/hicolor/scalable/apps/printmgr.svgz -%{tde_datadir}/mimelnk/print/class.desktop -%{tde_datadir}/mimelnk/print/driver.desktop -%{tde_datadir}/mimelnk/print/folder.desktop -%{tde_datadir}/mimelnk/print/jobs.desktop -%{tde_datadir}/mimelnk/print/manager.desktop -%{tde_datadir}/mimelnk/print/printer.desktop -%{tde_datadir}/mimelnk/print/printermodel.desktop -%{tde_datadir}/services/kdeprint_part.desktop -%{tde_datadir}/services/print.protocol -%{tde_datadir}/services/printdb.protocol -%{tde_tdedocdir}/HTML/en/[kt]deprint/ - -%post -n trinity-tdeprint -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -%postun -n trinity-tdeprint -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -########## - -%package -n trinity-kdesktop -Summary: miscellaneous binaries and files for the TDE desktop -Group: Applications/Utilities -Requires: %{name}-bin = %{version}-%{release} -Requires: %{name}-data = %{version}-%{release} -Requires: trinity-libkonq = %{version}-%{release} -Requires: eject -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -Requires: xdg-utils -%endif - -%description -n trinity-kdesktop -This package contains miscellaneous binaries and files integral to -the TDE desktop. - -%files -n trinity-kdesktop -%defattr(-,root,root,-) -%{tde_datadir}/config/kdesktop_custom_menu1 -%{tde_datadir}/config/kdesktop_custom_menu2 -%{tde_bindir}/kcheckrunning -%{tde_bindir}/kxdglauncher -%{tde_bindir}/kdeeject -%{tde_bindir}/kdesktop -%{tde_bindir}/kdesktop_lock -%{tde_bindir}/kwebdesktop -%{tde_tdelibdir}/kdesktop.la -%{tde_tdelibdir}/kdesktop.so -%{tde_libdir}/lib[kt]deinit_kdesktop.la -%{tde_libdir}/lib[kt]deinit_kdesktop.so -%{tde_datadir}/apps/kdesktop/ -%{tde_datadir}/apps/konqueror/servicemenus/kdesktopSetAsBackground.desktop -%{tde_datadir}/autostart/kdesktop.desktop -%{tde_datadir}/config.kcfg/kdesktop.kcfg -%{tde_datadir}/config.kcfg/klaunch.kcfg -%{tde_datadir}/config.kcfg/kwebdesktop.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/error.png - -%post -n trinity-kdesktop -/sbin/ldconfig || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -%postun -n trinity-kdesktop -/sbin/ldconfig || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -########## - -%package -n trinity-kdesktop-devel -Summary: Development files for kdesktop -Group: Development/Libraries -Requires: trinity-kdesktop = %{version}-%{release} - -%description -n trinity-kdesktop-devel -%{summary} - -%files -n trinity-kdesktop-devel -%{tde_tdeincludedir}/KBackgroundIface.h -%{tde_tdeincludedir}/KDesktopIface.h -%{tde_tdeincludedir}/KScreensaverIface.h - -########## - -%package -n trinity-tdm -Summary: X Display manager for TDE -Group: Applications/Utilities -Requires: %{name}-bin = %{version}-%{release} -Requires: %{name}-data = %{version}-%{release} -Requires: pam - -# Provides the global Xsession script (/etc/X11/xinit/Xsession or /etc/X11/Xsession) -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} == 4 -Requires: xinitrc -%endif -%if 0%{?suse_version} -Requires: xdm -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} -Requires: xorg-x11-xinit -%endif - -# Required for Fedora LiveCD -%if 0%{?rhel} || 0%{?fedora} -Provides: service(graphical-login) -%endif -# Required for Mandriva's installer -%if 0%{?mgaversion} || 0%{?mdkversion} -Provides: dm -%endif - -%description -n trinity-tdm -tdm manages a collection of X servers, which may be on the local host or -remote machines. It provides services similar to those provided by init, -getty, and login on character-based terminals: prompting for login name and -password, authenticating the user, and running a session. tdm supports XDMCP -(X Display Manager Control Protocol) and can also be used to run a chooser -process which presents the user with a menu of possible hosts that offer -XDMCP display management. - -A collection of icons to associate with individual users is included with -TDE, but as part of the kdepasswd package. - -The menu package will help to provide TDM with a list of window managers -that can be launched, if the window manager does not register with TDM -already. Most users won't need this. - -%files -n trinity-tdm -%defattr(-,root,root,-) -%{tde_tdelibdir}/kgreet_pam.la -%{tde_tdelibdir}/kgreet_pam.so -%{tde_bindir}/gen[kt]dmconf -%{tde_bindir}/[kt]dm -%{tde_bindir}/[kt]dm_config -%{tde_bindir}/[kt]dmctl -%{tde_bindir}/[kt]dm_greet -%{tde_bindir}/krootimage -%{tde_datadir}/apps/[kt]dm/pics/kdelogo.png -%{tde_datadir}/apps/[kt]dm/pics/kdelogo-crystal.png -%{tde_datadir}/apps/[kt]dm/pics/shutdown.jpg -%{tde_datadir}/apps/[kt]dm/pics/users/default1.png -%{tde_datadir}/apps/[kt]dm/pics/users/default2.png -%{tde_datadir}/apps/[kt]dm/pics/users/default3.png -%{tde_datadir}/apps/[kt]dm/pics/users/root1.png -%{tde_datadir}/apps/[kt]dm/sessions/*.desktop -%{tde_datadir}/apps/[kt]dm/themes/ -%{tde_datadir}/config/[kt]dm/ -%{tde_tdedocdir}/HTML/en/[kt]dm/ -%if 0%{?suse_version} == 0 -%{_sysconfdir}/pam.d/kdm-trinity -%{_sysconfdir}/pam.d/kdm-trinity-np -%endif -%if 0%{?suse_version} -/usr/lib/X11/displaymanagers/tdm -%endif - -# Distribution specific stuff -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%{_usr}/share/xsessions/tde.desktop -%endif - -# https://wiki.mageia.org/en/How_to_add_a_new_Window_Manager_or_Display_Manager -%if 0%{?mgaversion} || 0%{?mdkversion} -%{_sysconfdir}/X11/wmsession.d/45TDE -%{_datadir}/X11/dm.d/45TDE.conf - -%post -n trinity-tdm -%make_session - -%postun -n trinity-tdm -%make_session -%endif - -########## - -%package -n trinity-tdm-devel -Summary: Development files for tdm -Group: Development/Libraries -Requires: trinity-tdm = %{version}-%{release} - -%description -n trinity-tdm-devel -%{summary} - -%files -n trinity-tdm-devel -%{tde_tdeincludedir}/kgreeterplugin.h - -########## - -%package -n trinity-kfind -Summary: file-find utility for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-kfind -kfind can be used to find files and directories on your -workstations. - -%files -n trinity-kfind -%defattr(-,root,root,-) -%{tde_bindir}/kfind -%{tde_tdelibdir}/libkfindpart.la -%{tde_tdelibdir}/libkfindpart.so -%{tde_tdeappdir}/Kfind.desktop -%{tde_datadir}/apps/kfindpart/ -%{tde_datadir}/icons/hicolor/*/apps/kfind.png -%{tde_datadir}/services/kfindpart.desktop -%{tde_datadir}/servicetypes/findpart.desktop -%{tde_tdedocdir}/HTML/en/kfind/ - -%post -n trinity-kfind -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -%postun -n trinity-kfind -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -########## - -%package -n trinity-khelpcenter -Summary: help center for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} -Requires: htdig - -%description -n trinity-khelpcenter -The TDE Help Center provides documentation on how to use the KDE desktop. - -The htdig package is needed to build a searchable archive of TDE -documentation. - -%files -n trinity-khelpcenter -%defattr(-,root,root,-) -%{tde_bindir}/khc_beagle_index.pl -%{tde_bindir}/khc_beagle_search.pl -%{tde_bindir}/khc_docbookdig.pl -%{tde_bindir}/khc_htdig.pl -%{tde_bindir}/khc_htsearch.pl -%{tde_bindir}/khc_indexbuilder -%{tde_bindir}/khc_mansearch.pl -%{tde_bindir}/khelpcenter -%{tde_tdelibdir}/khelpcenter.la -%{tde_tdelibdir}/khelpcenter.so -%{tde_libdir}/lib[kt]deinit_khelpcenter.la -%{tde_libdir}/lib[kt]deinit_khelpcenter.so -%{tde_tdeappdir}/Help.desktop -%{tde_datadir}/apps/khelpcenter/ -%{tde_datadir}/config.kcfg/khelpcenter.kcfg -%{tde_datadir}/icons/hicolor/*/apps/khelpcenter.* -%{tde_datadir}/services/khelpcenter.desktop -%{tde_tdedocdir}/HTML/en/khelpcenter/ - -%post -n trinity-khelpcenter -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -%postun -n trinity-khelpcenter -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -########## - -%package -n trinity-kicker -Summary: desktop panel for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-kicker -Kicker provides the TDE panel on you desktop. It can be used as a -program launcher and can load plugins to provide additional -functionality. - -%files -n trinity-kicker -%defattr(-,root,root,-) -%{tde_bindir}/appletproxy -%{tde_bindir}/extensionproxy -%{tde_bindir}/kasbar -%{tde_bindir}/kicker -%{tde_libdir}/kconf_update_bin/kicker-3.4-reverseLayout -%{tde_tdelibdir}/appletproxy.la -%{tde_tdelibdir}/appletproxy.so -%{tde_tdelibdir}/clock_panelapplet.la -%{tde_tdelibdir}/clock_panelapplet.so -%{tde_tdelibdir}/dockbar_panelextension.la -%{tde_tdelibdir}/dockbar_panelextension.so -%{tde_tdelibdir}/extensionproxy.la -%{tde_tdelibdir}/extensionproxy.so -%{tde_tdelibdir}/kasbar_panelextension.la -%{tde_tdelibdir}/kasbar_panelextension.so -%{tde_tdelibdir}/kicker.la -%{tde_tdelibdir}/kickermenu_find.la -%{tde_tdelibdir}/kickermenu_find.so -%{tde_tdelibdir}/kickermenu_kate.so -%{tde_tdelibdir}/kickermenu_kate.la -%{tde_tdelibdir}/kickermenu_[kt]deprint.la -%{tde_tdelibdir}/kickermenu_[kt]deprint.so -%{tde_tdelibdir}/kickermenu_konqueror.la -%{tde_tdelibdir}/kickermenu_konqueror.so -%{tde_tdelibdir}/kickermenu_konsole.la -%{tde_tdelibdir}/kickermenu_konsole.so -%{tde_tdelibdir}/kickermenu_prefmenu.la -%{tde_tdelibdir}/kickermenu_prefmenu.so -%{tde_tdelibdir}/kickermenu_recentdocs.la -%{tde_tdelibdir}/kickermenu_recentdocs.so -%{tde_tdelibdir}/kickermenu_remotemenu.la -%{tde_tdelibdir}/kickermenu_remotemenu.so -%{tde_tdelibdir}/kickermenu_systemmenu.la -%{tde_tdelibdir}/kickermenu_systemmenu.so -%{tde_tdelibdir}/kicker.so -%{tde_tdelibdir}/launcher_panelapplet.la -%{tde_tdelibdir}/launcher_panelapplet.so -%{tde_tdelibdir}/lockout_panelapplet.la -%{tde_tdelibdir}/lockout_panelapplet.so -%{tde_tdelibdir}/media_panelapplet.la -%{tde_tdelibdir}/media_panelapplet.so -%{tde_tdelibdir}/menu_panelapplet.la -%{tde_tdelibdir}/menu_panelapplet.so -%{tde_tdelibdir}/minipager_panelapplet.la -%{tde_tdelibdir}/minipager_panelapplet.so -%{tde_tdelibdir}/naughty_panelapplet.la -%{tde_tdelibdir}/naughty_panelapplet.so -%{tde_tdelibdir}/run_panelapplet.la -%{tde_tdelibdir}/run_panelapplet.so -%{tde_tdelibdir}/sidebar_panelextension.la -%{tde_tdelibdir}/sidebar_panelextension.so -%{tde_tdelibdir}/systemtray_panelapplet.la -%{tde_tdelibdir}/systemtray_panelapplet.so -%{tde_tdelibdir}/taskbar_panelapplet.la -%{tde_tdelibdir}/taskbar_panelapplet.so -%{tde_tdelibdir}/taskbar_panelextension.la -%{tde_tdelibdir}/taskbar_panelextension.so -%{tde_tdelibdir}/trash_panelapplet.la -%{tde_tdelibdir}/trash_panelapplet.so -%{tde_libdir}/libkasbar.so.* -%{tde_libdir}/lib[kt]deinit_appletproxy.la -%{tde_libdir}/lib[kt]deinit_appletproxy.so -%{tde_libdir}/lib[kt]deinit_extensionproxy.la -%{tde_libdir}/lib[kt]deinit_extensionproxy.so -%{tde_libdir}/lib[kt]deinit_kicker.la -%{tde_libdir}/lib[kt]deinit_kicker.so -%{tde_libdir}/libkickermain.so.* -%{tde_libdir}/libtaskbar.so.* -%{tde_libdir}/libtaskmanager.so.* -%{tde_libdir}/libkickoffsearch_interfaces.so.* -%{tde_tdeappdir}/kcmkicker.desktop -%{tde_datadir}/applnk/.hidden/kicker_config_arrangement.desktop -%{tde_datadir}/applnk/.hidden/kicker_config_hiding.desktop -%{tde_datadir}/applnk/.hidden/kicker_config_menus.desktop -%{tde_datadir}/apps/clockapplet/pics/lcd.png -%{tde_datadir}/apps/kconf_update/kicker-3.1-properSizeSetting.pl -%{tde_datadir}/apps/kconf_update/kicker-3.5-kconfigXTize.pl -%{tde_datadir}/apps/kconf_update/kicker-3.5-taskbarEnums.pl -%{tde_datadir}/apps/kconf_update/kickerrc.upd -%{tde_datadir}/apps/kicker/ -%exclude %{tde_datadir}/apps/kicker/applets/klipper.desktop -%exclude %{tde_datadir}/apps/kicker/applets/ksysguardapplet.desktop -%{tde_datadir}/apps/naughtyapplet/pics/naughty-happy.png -%{tde_datadir}/apps/naughtyapplet/pics/naughty-sad.png -%{tde_datadir}/autostart/panel.desktop -%{tde_datadir}/config.kcfg/kickerSettings.kcfg -%{tde_datadir}/config.kcfg/launcherapplet.kcfg -%{tde_datadir}/config.kcfg/pagersettings.kcfg -%{tde_datadir}/config.kcfg/taskbar.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/systemtray.png -%{tde_datadir}/icons/crystalsvg/*/apps/taskbar.png -%{tde_datadir}/icons/crystalsvg/*/apps/kbinaryclock.png -%{tde_datadir}/icons/crystalsvg/*/apps/kdisknav.png -%{tde_datadir}/icons/crystalsvg/*/apps/kicker.png -%{tde_datadir}/icons/crystalsvg/*/apps/panel.png -%{tde_datadir}/icons/crystalsvg/*/apps/runprocesscatcher.png -%{tde_datadir}/icons/crystalsvg/*/apps/window_list.png -%{tde_datadir}/icons/crystalsvg/*/apps/kbinaryclock.svgz -%{tde_datadir}/icons/crystalsvg/*/apps/systemtray.svgz -%{tde_datadir}/servicetypes/kickoffsearchplugin.desktop -%{tde_tdedocdir}/HTML/en/kicker/ - -%post -n trinity-kicker -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -%postun -n trinity-kicker -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -########## - -%package -n trinity-kicker-devel -Summary: Development files for kicker -Group: Development/Libraries -Requires: trinity-kicker = %{version}-%{release} - -%description -n trinity-kicker-devel -%{summary} - -%files -n trinity-kicker-devel -%{tde_tdeincludedir}/kickoff-search-plugin.h -%{tde_tdeincludedir}/kickoffsearchinterface.h -%{tde_libdir}/libkasbar.la -%{tde_libdir}/libkasbar.so -%{tde_libdir}/libkickermain.la -%{tde_libdir}/libkickermain.so -%{tde_libdir}/libkickoffsearch_interfaces.la -%{tde_libdir}/libkickoffsearch_interfaces.so -%{tde_libdir}/libtaskbar.la -%{tde_libdir}/libtaskbar.so -%{tde_libdir}/libtaskmanager.la -%{tde_libdir}/libtaskmanager.so - -%post -n trinity-kicker-devel -/sbin/ldconfig || : - -%postun -n trinity-kicker-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-klipper -Summary: clipboard utility for Trinity -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-klipper -klipper provides standard clipboard functions (cut and paste, history -saving) plus additional features, like the ability to offer actions to -take dependent on the clipboard contents. For example, it can launch a -web browser if the clipboard contains a URL. - -%files -n trinity-klipper -%defattr(-,root,root,-) -%{tde_bindir}/klipper -%{tde_datadir}/config/klipperrc -%{tde_tdelibdir}/klipper.la -%{tde_tdelibdir}/klipper.so -%{tde_tdelibdir}/klipper_panelapplet.la -%{tde_tdelibdir}/klipper_panelapplet.so -%{tde_libdir}/lib[kt]deinit_klipper.la -%{tde_libdir}/lib[kt]deinit_klipper.so -%{tde_tdeappdir}/klipper.desktop -%{tde_datadir}/apps/kconf_update/klipper-1-2.pl -%{tde_datadir}/apps/kconf_update/klipper-trinity1.sh -%{tde_datadir}/apps/kconf_update/klipperrc.upd -%{tde_datadir}/apps/kconf_update/klippershortcuts.upd -%{tde_datadir}/apps/kicker/applets/klipper.desktop -%{tde_datadir}/autostart/klipper.desktop -%{tde_datadir}/icons/hicolor/*/apps/klipper.* -%{tde_tdedocdir}/HTML/en/klipper/ - -%post -n trinity-klipper -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -%postun -n trinity-klipper -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -########## - -%package -n trinity-kmenuedit -Summary: menu editor for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-kmenuedit -The TDE menu editor allows you to make customisations to the KDE menu -structure. - -%files -n trinity-kmenuedit -%defattr(-,root,root,-) -%{tde_bindir}/kcontroledit -%{tde_bindir}/kmenuedit -%{tde_tdelibdir}/kcontroledit.la -%{tde_tdelibdir}/kcontroledit.so -%{tde_tdelibdir}/kmenuedit.la -%{tde_tdelibdir}/kmenuedit.so -%{tde_libdir}/lib[kt]deinit_kcontroledit.la -%{tde_libdir}/lib[kt]deinit_kcontroledit.so -%{tde_libdir}/lib[kt]deinit_kmenuedit.la -%{tde_libdir}/lib[kt]deinit_kmenuedit.so -%{tde_tdeappdir}/kmenuedit.desktop -%{tde_datadir}/applnk/System/kmenuedit.desktop -%{tde_datadir}/apps/kcontroledit/ -%{tde_datadir}/apps/kmenuedit/ -%{tde_tdedocdir}/HTML/en/kmenuedit/ - -%post -n trinity-kmenuedit -update-desktop-database %{tde_appdir} 2> /dev/null || : -/sbin/ldconfig || : - -%postun -n trinity-kmenuedit -update-desktop-database %{tde_appdir} 2> /dev/null || : -/sbin/ldconfig || : - -########## - -%package -n trinity-konqueror -Summary: TDE's advanced file manager, web browser and document viewer -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} -Requires: trinity-kcontrol = %{version}-%{release} -Requires: %{name}-kio-plugins = %{version}-%{release} -Requires: trinity-kdesktop = %{version}-%{release} -Requires: trinity-kfind = %{version}-%{release} -Requires: trinity-libkonq = %{version}-%{release} - -%description -n trinity-konqueror -Konqueror is the file manager for the Trinity Desktop Environment. -It supports basic file management on local UNIX filesystems, -from simple cut/copy and paste operations to advanced remote -and local network file browsing. - -It is also the canvas for all the latest TDE technology, -from KIO slaves (which provide mechanisms for file access) to -component embedding via the KParts object interface, and it -is one of the most customizable applications available. - -Konqueror is an Open Source web browser with HTML4.0 compliance, -supporting Java applets, JavaScript, CSS1 and (partially) CSS2, -as well as Netscape plugins (for example, Flash or RealVideo plugins). - -It is a universal viewing application, capable of embedding -read-only viewing components in itself to view documents without -ever launching another application. - -%files -n trinity-konqueror -%defattr(-,root,root,-) -%{tde_datadir}/config/konqsidebartng.rc -%{tde_bindir}/kbookmarkmerger -%{tde_bindir}/keditbookmarks -%{tde_bindir}/kfmclient -%{tde_bindir}/konqueror -%{tde_tdelibdir}/kcm_history.la -%{tde_tdelibdir}/kcm_history.so -%{tde_tdelibdir}/kded_konqy_preloader.la -%{tde_tdelibdir}/kded_konqy_preloader.so -%{tde_tdelibdir}/keditbookmarks.la -%{tde_tdelibdir}/keditbookmarks.so -%{tde_tdelibdir}/kfmclient.la -%{tde_tdelibdir}/kfmclient.so -%{tde_tdelibdir}/konq_aboutpage.la -%{tde_tdelibdir}/konq_aboutpage.so -%{tde_tdelibdir}/konq_iconview.la -%{tde_tdelibdir}/konq_iconview.so -%{tde_tdelibdir}/konq_listview.la -%{tde_tdelibdir}/konq_listview.so -%{tde_tdelibdir}/konq_remoteencoding.la -%{tde_tdelibdir}/konq_remoteencoding.so -%{tde_tdelibdir}/konq_shellcmdplugin.la -%{tde_tdelibdir}/konq_shellcmdplugin.so -%{tde_tdelibdir}/konq_sidebar.la -%{tde_tdelibdir}/konq_sidebar.so -%{tde_tdelibdir}/konq_sidebartree_bookmarks.la -%{tde_tdelibdir}/konq_sidebartree_bookmarks.so -%{tde_tdelibdir}/konq_sidebartree_dirtree.la -%{tde_tdelibdir}/konq_sidebartree_dirtree.so -%{tde_tdelibdir}/konq_sidebartree_history.la -%{tde_tdelibdir}/konq_sidebartree_history.so -%{tde_tdelibdir}/konqsidebar_tree.la -%{tde_tdelibdir}/konqsidebar_tree.so -%{tde_tdelibdir}/konqsidebar_web.la -%{tde_tdelibdir}/konqsidebar_web.so -%{tde_tdelibdir}/konqueror.la -%{tde_tdelibdir}/konqueror.so -%{tde_tdelibdir}/libkhtmlkttsdplugin.la -%{tde_tdelibdir}/libkhtmlkttsdplugin.so -%{tde_libdir}/lib[kt]deinit_keditbookmarks.la -%{tde_libdir}/lib[kt]deinit_keditbookmarks.so -%{tde_libdir}/lib[kt]deinit_kfmclient.la -%{tde_libdir}/lib[kt]deinit_kfmclient.so -%{tde_libdir}/lib[kt]deinit_konqueror.la -%{tde_libdir}/lib[kt]deinit_konqueror.so -%{tde_libdir}/libkonqsidebarplugin.so.* -%{tde_tdeappdir}/Home.desktop -%{tde_tdeappdir}/kcmhistory.desktop -%{tde_tdeappdir}/kfmclient.desktop -%{tde_tdeappdir}/kfmclient_dir.desktop -%{tde_tdeappdir}/kfmclient_html.desktop -%{tde_tdeappdir}/kfmclient_war.desktop -%{tde_tdeappdir}/khtml_filter.desktop -%{tde_tdeappdir}/konqbrowser.desktop -%{tde_tdeappdir}/konquerorsu.desktop -%{tde_datadir}/applnk/.hidden/konqfilemgr.desktop -%{tde_datadir}/applnk/Internet/keditbookmarks.desktop -%{tde_datadir}/applnk/konqueror.desktop -%{tde_datadir}/apps/kconf_update/kfmclient_3_2.upd -%{tde_datadir}/apps/kconf_update/kfmclient_3_2_update.sh -%{tde_datadir}/apps/kconf_update/konqsidebartng.upd -%{tde_datadir}/apps/kconf_update/move_konqsidebartng_entries.sh -%{tde_datadir}/apps/keditbookmarks/keditbookmarks-genui.rc -%{tde_datadir}/apps/keditbookmarks/keditbookmarksui.rc -%{tde_datadir}/apps/khtml/kpartplugins/khtmlkttsd.desktop -%{tde_datadir}/apps/khtml/kpartplugins/khtmlkttsd.rc -%{tde_datadir}/apps/konqiconview/ -%{tde_datadir}/apps/konqlistview/ -%exclude %{tde_datadir}/apps/konqsidebartng/virtual_folders/services/fonts.desktop -%{tde_datadir}/apps/konqsidebartng/ -%{tde_datadir}/apps/konqueror/about/ -%{tde_datadir}/apps/konqueror/icons/ -%{tde_datadir}/apps/konqueror/konq-simplebrowser.rc -%{tde_datadir}/apps/konqueror/konqueror.rc -%{tde_datadir}/apps/konqueror/pics/indicator_connect.png -%{tde_datadir}/apps/konqueror/pics/indicator_empty.png -%{tde_datadir}/apps/konqueror/pics/indicator_noconnect.png -%{tde_datadir}/apps/konqueror/pics/indicator_viewactive.png -%{tde_datadir}/apps/konqueror/profiles/ -%exclude %{tde_datadir}/apps/konqueror/servicemenus/kdesktopSetAsBackground.desktop -%exclude %{tde_datadir}/apps/konqueror/servicemenus/konsolehere.desktop -%exclude %{tde_datadir}/apps/konqueror/servicemenus/installfont.desktop -%{tde_datadir}/apps/konqueror/servicemenus/*.desktop -%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase -%{tde_datadir}/apps/konqueror/tiles/*.png -%{tde_datadir}/autostart/konqy_preload.desktop -%{tde_datadir}/config.kcfg/keditbookmarks.kcfg -%{tde_datadir}/config.kcfg/konq_listview.kcfg -%{tde_datadir}/config.kcfg/konqueror.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/keditbookmarks.png -%{tde_datadir}/icons/crystalsvg/*/apps/kfm_home.svgz -%{tde_datadir}/icons/hicolor/*/apps/kfm.png -%{tde_datadir}/icons/hicolor/*/apps/konqueror.* -%{tde_datadir}/services/kded/konqy_preloader.desktop -%{tde_datadir}/services/konq_*.desktop -%{tde_datadir}/servicetypes/konqaboutpage.desktop -%{tde_tdedocdir}/HTML/en/konqueror/ - -%post -n trinity-konqueror -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : -%if 0%{?suse_version} -update-alternatives --install \ -%else -alternatives --install \ -%endif - %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop \ - media_safelyremove.desktop_konqueror \ - %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase \ - 10 || : - -%postun -n trinity-konqueror -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -%preun -n trinity-konqueror -if [ $1 -eq 0 ]; then -%if 0%{?suse_version} - update-alternatives --remove \ -%else - alternatives --remove \ -%endif - media_safelyremove.desktop_konqueror \ - %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase || : -fi - -########## - -%package -n trinity-konqueror-devel -Summary: Development files for konqueror -Group: Development/Libraries -Requires: trinity-konqueror = %{version}-%{release} - -%description -n trinity-konqueror-devel -%{summary} - -%files -n trinity-konqueror-devel -%{tde_tdeincludedir}/konqsidebarplugin.h -%{tde_tdeincludedir}/KonquerorIface.h -%{tde_libdir}/libkonqsidebarplugin.la -%{tde_libdir}/libkonqsidebarplugin.so - -%post -n trinity-konqueror-devel -/sbin/ldconfig || : - -%postun -n trinity-konqueror-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-konqueror-nsplugins -Summary: Netscape plugin support for Konqueror -Group: Applications/Utilities -Requires: trinity-konqueror = %{version}-%{release} - -%description -n trinity-konqueror-nsplugins -This package includes support for Netscape plugins in Konqueror. - -%files -n trinity-konqueror-nsplugins -%defattr(-,root,root,-) -%{tde_bindir}/nspluginscan -%{tde_bindir}/nspluginviewer -%{tde_tdelibdir}/kcm_nsplugins.la -%{tde_tdelibdir}/kcm_nsplugins.so -%{tde_tdelibdir}/libnsplugin.la -%{tde_tdelibdir}/libnsplugin.so -%{tde_tdeappdir}/khtml_plugins.desktop -%{tde_datadir}/apps/plugin/nspluginpart.rc - -%post -n trinity-konqueror-nsplugins -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%postun -n trinity-konqueror-nsplugins -update-desktop-database %{tde_appdir} 2> /dev/null || : - -########## - -%package -n trinity-konsole -Summary: X terminal emulator for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-konsole -Konsole is an X terminal emulation which provides a command-line interface -(CLI) while using the graphical K Desktop Environment. Konsole helps to -better organize user's desktop by containing multiple sessions in a single -window (a less cluttered desktop). - -Its advanced features include a simple configuration and the ability to use -multiple terminal shells in a single window - -Using Konsole, a user can open: -* Linux console sessions -* Midnight Commander file manager sessions -* Shell sessions -* Root consoles sessions - -%files -n trinity-konsole -%defattr(-,root,root,-) -%{tde_bindir}/konsole -%{tde_tdelibdir}/kcm_konsole.la -%{tde_tdelibdir}/kcm_konsole.so -%{tde_tdelibdir}/kded_kwrited.la -%{tde_tdelibdir}/kded_kwrited.so -%{tde_tdelibdir}/konsole.la -%{tde_tdelibdir}/konsole.so -%{tde_tdelibdir}/libkonsolepart.la -%{tde_tdelibdir}/libkonsolepart.so -%{tde_libdir}/lib[kt]deinit_konsole.la -%{tde_libdir}/lib[kt]deinit_konsole.so -%{tde_tdeappdir}/konsole.desktop -%{tde_tdeappdir}/konsolesu.desktop -%{tde_datadir}/applnk/.hidden/kcmkonsole.desktop -%{tde_datadir}/apps/kconf_update/konsole.upd -%{tde_datadir}/apps/kconf_update/schemaStrip.pl -%{tde_datadir}/apps/konqueror/servicemenus/konsolehere.desktop -%{tde_datadir}/apps/konsole/ -%{tde_datadir}/icons/hicolor/*/apps/konsole.* -%{tde_datadir}/mimelnk/application/x-konsole.desktop -%{tde_datadir}/services/kded/kwrited.desktop -%{tde_datadir}/services/konsolepart.desktop -%{tde_datadir}/services/konsole-script.desktop -%{tde_datadir}/services/kwrited.desktop -%{tde_datadir}/servicetypes/terminalemulator.desktop -%{tde_tdedocdir}/HTML/en/konsole/ -%{tde_tdedocdir}/HTML/en/kcontrol/kcmkonsole/ - -%post -n trinity-konsole -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -%postun -n trinity-konsole -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -########## - -%package -n trinity-kpager -Summary: desktop pager for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-kpager -This package contains TDE's desktop pager, which displays your virtual -desktops iconically in a window, along with icons of any running -applications. It is used to switch between applications or desktops. - -%files -n trinity-kpager -%defattr(-,root,root,-) -%{tde_bindir}/kpager -%{tde_tdeappdir}/kpager.desktop -%{tde_datadir}/applnk/Utilities/kpager.desktop -%{tde_datadir}/icons/hicolor/*/apps/kpager.png -%{tde_tdedocdir}/HTML/en/kpager/ - -%post -n trinity-kpager -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -%postun -n trinity-kpager -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -########## - -%package -n trinity-kpersonalizer -Summary: installation personalizer for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-kpersonalizer -TDE Personalizer is the application that configures the TDE desktop for you. -It's a very useful wizard that allows you to quickly change the TDE desktop to -suit your own needs. When you run TDE for the first time, KPersonalizer is -automatically started. KPersonalizer can also be called later. - -%files -n trinity-kpersonalizer -%defattr(-,root,root,-) -%{tde_bindir}/kpersonalizer -%{tde_tdeappdir}/kpersonalizer.desktop -%{tde_datadir}/applnk/System/kpersonalizer.desktop -%{tde_datadir}/apps/kpersonalizer/ -%{tde_datadir}/icons/crystalsvg/*/apps/kpersonalizer.png - -%post -n trinity-kpersonalizer -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -%postun -n trinity-kpersonalizer -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -########## - -%package -n trinity-ksmserver -Summary: session manager for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} -Requires: trinity-twin = %{version}-%{release} - -%description -n trinity-ksmserver -This package contains the KDE session manager. It is responsible for -restoring your TDE session on login. It is also needed to properly -start a KDE session. It registers KDE with X display managers, and -provides the 'starttde' command, for starting an X session with KDE -from the console. - -If you are running TDE for the first time for a certain user, -kpersonalizer is used to help with setup. If it is not present, -KDE will start, but many good defaults will not be set. - -%files -n trinity-ksmserver -%defattr(-,root,root,-) -%{tde_bindir}/ksmserver -%{tde_bindir}/start[kt]de -%{tde_tdelibdir}/ksmserver.la -%{tde_tdelibdir}/ksmserver.so -%{tde_libdir}/lib[kt]deinit_ksmserver.la -%{tde_libdir}/lib[kt]deinit_ksmserver.so -%{tde_datadir}/apps/kconf_update/ksmserver.upd -%{tde_datadir}/apps/kconf_update/move_session_config.sh -%{tde_datadir}/apps/ksmserver/pics/shutdownkonq.png - -# Remove conflicts with redhat-menus -%if "%{?tde_prefix}" != "/usr" -%{tde_bindir}/plasma-desktop -%endif - -%post -n trinity-ksmserver -/sbin/ldconfig || : - -%postun -n trinity-ksmserver -/sbin/ldconfig || : - -########## - -%package -n trinity-ksplash -Summary: the TDE splash screen -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-ksplash -This package includes the TDE Splash screen, which is seen when -a TDE session is launched. - -%files -n trinity-ksplash -%defattr(-,root,root,-) -%{tde_bindir}/ksplash -%{tde_bindir}/ksplashsimple -%{tde_tdelibdir}/kcm_ksplashthemes.la -%{tde_tdelibdir}/kcm_ksplashthemes.so -%{tde_tdelibdir}/ksplashdefault.la -%{tde_tdelibdir}/ksplashdefault.so -%{tde_tdelibdir}/ksplashunified.la -%{tde_tdelibdir}/ksplashunified.so -%{tde_tdelibdir}/ksplashredmond.la -%{tde_tdelibdir}/ksplashredmond.so -%{tde_tdelibdir}/ksplashstandard.la -%{tde_tdelibdir}/ksplashstandard.so -%{tde_libdir}/libksplashthemes.so.* -%{tde_tdeappdir}/ksplashthememgr.desktop -%{tde_datadir}/apps/ksplash -%{tde_datadir}/services/ksplashdefault.desktop -%{tde_datadir}/services/ksplash.desktop -%{tde_datadir}/services/ksplashunified.desktop -%{tde_datadir}/services/ksplashredmond.desktop -%{tde_datadir}/services/ksplashstandard.desktop -%{tde_datadir}/servicetypes/ksplashplugins.desktop -%{tde_tdedocdir}/HTML/en/ksplashml/ - -%post -n trinity-ksplash -update-desktop-database %{tde_appdir} 2> /dev/null || : -/sbin/ldconfig || : - -%postun -n trinity-ksplash -update-desktop-database %{tde_appdir} 2> /dev/null || : -/sbin/ldconfig || : - -########## - -%package -n trinity-ksplash-devel -Summary: Development files for ksplash -Group: Development/Libraries -Requires: trinity-ksplash = %{version}-%{release} - -%description -n trinity-ksplash-devel -%{summary} - -%files -n trinity-ksplash-devel -%{tde_tdeincludedir}/ksplash/* -%{tde_libdir}/libksplashthemes.la -%{tde_libdir}/libksplashthemes.so - -%post -n trinity-ksplash-devel -/sbin/ldconfig || : - -%postun -n trinity-ksplash-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-ksysguard -Summary: system guard for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} -Requires: trinity-ksysguardd = %{version}-%{release} - -%description -n trinity-ksysguard -TDE System Guard allows you to monitor various statistics about your -computer. - -%files -n trinity-ksysguard -%defattr(-,root,root,-) -%{tde_bindir}/kpm -%{tde_bindir}/ksysguard -%{tde_tdelibdir}/sysguard_panelapplet.la -%{tde_tdelibdir}/sysguard_panelapplet.so -%{tde_libdir}/libksgrd.so.* -%{tde_tdeappdir}/ksysguard.desktop -%{tde_datadir}/apps/kicker/applets/ksysguardapplet.desktop -%{tde_datadir}/apps/ksysguard/ -%{tde_datadir}/icons/crystalsvg/*/apps/ksysguard.png -%{tde_datadir}/mimelnk/application/x-ksysguard.desktop -%{tde_tdedocdir}/HTML/en/ksysguard/ - -%post -n trinity-ksysguard -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -%postun -n trinity-ksysguard -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -########## - -%package -n trinity-ksysguard-devel -Summary: Development files for ksysguard -Group: Development/Libraries -Requires: trinity-ksysguard = %{version}-%{release} - -%description -n trinity-ksysguard-devel -%{summary} - -%files -n trinity-ksysguard-devel -%{tde_tdeincludedir}/ksgrd/* -%{tde_libdir}/libksgrd.la -%{tde_libdir}/libksgrd.so - -%post -n trinity-ksysguard-devel -/sbin/ldconfig || : - -%postun -n trinity-ksysguard-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-ksysguardd -Summary: system guard daemon for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-ksysguardd -TDE System Guard Daemon is the daemon part of ksysguard. The daemon can -be installed on a remote machine to enable ksysguard on another machine -to monitor it through the daemon running there. - -%files -n trinity-ksysguardd -%defattr(-,root,root,-) -%{tde_bindir}/ksysguardd -%config(noreplace) %{_sysconfdir}/ksysguarddrc.tde - -%post -n trinity-ksysguardd -# Dirty hack to install '/etc/ksysguarddrc' alongside with KDE4 -[ -r "%{_sysconfdir}/ksysguarddrc" ] || cp -f "%{_sysconfdir}/ksysguarddrc.tde" "%{_sysconfdir}/ksysguarddrc" - -########## - -%package -n trinity-ktip -Summary: useful tips for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-ktip -ktip provides many useful tips on using KDE when you log in. - -%files -n trinity-ktip -%defattr(-,root,root,-) -%{tde_bindir}/ktip -%{tde_tdeappdir}/ktip.desktop -%{tde_datadir}/applnk/Toys/ktip.desktop -%{tde_datadir}/apps/kdewizard/pics/wizard_small.png -%{tde_datadir}/apps/kdewizard/tips/ -%{tde_datadir}/autostart/ktip.desktop -%{tde_datadir}/icons/hicolor/*/apps/ktip.* - -%post -n trinity-ktip -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -%postun -n trinity-ktip -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -########## - -%package -n trinity-twin -Summary: the TDE window manager -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-twin -This package contains the default X window manager for KDE. - -%files -n trinity-twin -%defattr(-,root,root,-) -%{tde_bindir}/kompmgr -%{tde_bindir}/[kt]win -%{tde_bindir}/[kt]win_killer_helper -#%{tde_bindir}/[kt]win_resumer_helper -%{tde_bindir}/[kt]win_rules_dialog -%{tde_libdir}/kconf_update_bin/[kt]win_update_default_rules -%{tde_libdir}/kconf_update_bin/[kt]win_update_window_settings -%{tde_tdelibdir}/kcm_[kt]win*.la -%{tde_tdelibdir}/kcm_[kt]win*.so -%{tde_tdelibdir}/[kt]win*.la -%{tde_tdelibdir}/[kt]win*.so -%{tde_libdir}/lib[kt]decorations.so.* -%{tde_libdir}/lib[kt]deinit_[kt]win_rules_dialog.la -%{tde_libdir}/lib[kt]deinit_[kt]win_rules_dialog.so -%{tde_libdir}/lib[kt]deinit_[kt]win.la -%{tde_libdir}/lib[kt]deinit_[kt]win.so -%{tde_tdeappdir}/showdesktop.desktop -%{tde_tdeappdir}/[kt]windecoration.desktop -%{tde_tdeappdir}/[kt]winoptions.desktop -%{tde_tdeappdir}/[kt]winrules.desktop -%{tde_datadir}/applnk/.hidden/[kt]winactions.desktop -%{tde_datadir}/applnk/.hidden/[kt]winadvanced.desktop -%{tde_datadir}/applnk/.hidden/[kt]winfocus.desktop -%{tde_datadir}/applnk/.hidden/[kt]winmoving.desktop -%{tde_datadir}/applnk/.hidden/[kt]wintranslucency.desktop -%{tde_datadir}/apps/kconf_update/[kt]win3_plugin.pl -%{tde_datadir}/apps/kconf_update/[kt]win3_plugin.upd -%{tde_datadir}/apps/kconf_update/[kt]win_focus1.sh -%{tde_datadir}/apps/kconf_update/[kt]win_focus1.upd -%{tde_datadir}/apps/kconf_update/[kt]win_focus2.sh -%{tde_datadir}/apps/kconf_update/[kt]win_focus2.upd -%{tde_datadir}/apps/kconf_update/[kt]win_fsp_workarounds_1.upd -%{tde_datadir}/apps/kconf_update/[kt]winiconify.upd -%{tde_datadir}/apps/kconf_update/[kt]winsticky.upd -%{tde_datadir}/apps/kconf_update/[kt]win.upd -%{tde_datadir}/apps/kconf_update/[kt]winupdatewindowsettings.upd -%{tde_datadir}/apps/kconf_update/pluginlibFix.pl -%{tde_datadir}/apps/[kt]win/ -%{tde_datadir}/config.kcfg/[kt]win.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/[kt]win.png -%{tde_tdedocdir}/HTML/en/kompmgr/ - -%post -n trinity-twin -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -%postun -n trinity-twin -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -########## - -%package -n trinity-twin-devel -Summary: Development files for twin -Group: Development/Libraries -Requires: trinity-twin = %{version}-%{release} - -%description -n trinity-twin-devel -%{summary} - -%files -n trinity-twin-devel -%{tde_tdeincludedir}/[kt]win/ -%{tde_tdeincludedir}/kcommondecoration.h -%{tde_tdeincludedir}/kdecoration.h -%{tde_tdeincludedir}/kdecoration_p.h -%{tde_tdeincludedir}/kdecoration_plugins_p.h -%{tde_tdeincludedir}/kdecorationfactory.h -%{tde_tdeincludedir}/KWinInterface.h -%{tde_libdir}/libkdecorations.la -%{tde_libdir}/libkdecorations.so - -%post -n trinity-twin-devel -/sbin/ldconfig || : - -%postun -n trinity-twin-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkonq -Summary: core libraries for Konqueror -Group: Environment/Libraries - -%description -n trinity-libkonq -These libraries are used by several TDE applications, most notably -Konqueror and the kdesktop package. - -%files -n trinity-libkonq -%defattr(-,root,root,-) -%{tde_tdelibdir}/kded_favicons.la -%{tde_tdelibdir}/kded_favicons.so -%{tde_tdelibdir}/konq_sound.la -%{tde_tdelibdir}/konq_sound.so -%{tde_libdir}/libkonq.so.* -%{tde_datadir}/apps/kbookmark/directory_bookmarkbar.desktop -%{tde_datadir}/apps/kconf_update/favicons.upd -%{tde_datadir}/apps/kconf_update/move_favicons.sh -%{tde_datadir}/apps/konqueror/pics/arrow_bottomleft.png -%{tde_datadir}/apps/konqueror/pics/arrow_bottomright.png -%{tde_datadir}/apps/konqueror/pics/arrow_topleft.png -%{tde_datadir}/apps/konqueror/pics/arrow_topright.png -%{tde_datadir}/apps/konqueror/pics/thumbnailfont_7x4.png -%{tde_datadir}/services/kded/favicons.desktop -%{tde_datadir}/servicetypes/konqpopupmenuplugin.desktop - -%post -n trinity-libkonq -/sbin/ldconfig || : - -%postun -n trinity-libkonq -/sbin/ldconfig || : - -########## - -%package libtqt3-integration -Summary: Integration library between TQt3 and TDE -Group: Environment/Libraries - -Obsoletes: tdebase-libtqt3-integration < %{version}-%{release} -Provides: tdebase-libtqt3-integration = %{version}-%{release} - -%description libtqt3-integration -These libraries allow you to use TDE dialogs in native TQt3 applications. - -%files libtqt3-integration -%defattr(-,root,root,-) -%{tde_tdelibdir}/plugins/integration/libqtkde.la -%{tde_tdelibdir}/plugins/integration/libqtkde.so -%{tde_tdelibdir}/plugins/integration/libqtkde.so.* -%{tde_tdelibdir}/kded_kdeintegration.la -%{tde_tdelibdir}/kded_kdeintegration.so -%{tde_datadir}/services/kded/kdeintegration.desktop - -########## - -%package -n trinity-libkonq-devel -Summary: development files for Konqueror's core libraries -Group: Development/Libraries -Requires: trinity-libkonq = %{version}-%{release} - -%description -n trinity-libkonq-devel -This package contains headers and other development files for the core -Konqueror libraries. - -%files -n trinity-libkonq-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kfileivi.h -%{tde_tdeincludedir}/kivdirectoryoverlay.h -%{tde_tdeincludedir}/knewmenu.h -%{tde_tdeincludedir}/konqbookmarkmanager.h -%{tde_tdeincludedir}/konq_*.h -%{tde_tdeincludedir}/libkonq_export.h -%{tde_libdir}/libkonq.la -%{tde_libdir}/libkonq.so - -%post -n trinity-libkonq-devel -/sbin/ldconfig || : - -%postun -n trinity-libkonq-devel -/sbin/ldconfig || : - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n kdebase-3.5.13.1 - -%patch1 -p1 -b .icon -%patch11 -p1 -b .openterminalhere -%if 0%{?rhel} || 0%{?fedora} -%patch13 -p1 -b .Xsession -%endif -%if 0%{?suse_version} -%patch14 -p1 -b .Xsession -%endif -%patch15 -p1 -b .tdeicon -%if 0%{?rhel} || 0%{?mgaversion} || 0%{?mdkversion} -%patch21 -p1 -b .man -%endif -%patch30 -p1 -b .xtestsupport -%patch31 -p1 -b .startkde -%patch32 -p1 -b .pid - -%if 0%{?rhel} == 4 -%patch201 -p1 -b .libdetect -%patch202 -p1 -b .dbustqt -%patch203 -p1 -b .consolekit -%patch204 -p1 -b .composite -%patch205 -p1 -b .hal04 -%patch206 -p1 -b .rhel4 -%endif - -# Applies an optional distro-specific graphical theme -%if "%{?tde_bg}" != "" -# KDM Background -%__sed -i "kdm/kfrontend/genkdmconf.c" \ - -e 's|"Wallpaper=isadora.png\n"|"Wallpaper=%{tde_bg}\n"|' - -# TDE user default background -%__sed -i "kpersonalizer/keyecandypage.cpp" \ - -e 's|#define DEFAULT_WALLPAPER "isadora.png"|#define DEFAULT_WALLPAPER "%{tde_bg}"|' -%__sed -i "startkde" \ - -e 's|/usr/share/wallpapers/isadora.png.desktop|%{tde_bg}|' \ - -e 's|Wallpaper=isadora.png|Wallpaper=%{tde_bg}|' -%endif - -# TDE branding: removes KUbuntu references [Bug #617] -%__sed -i "kcontrol/kdm/kdm-appear.cpp" \ - -e "s|Welcome to Kubuntu |Welcome to %{tde_aboutlabel} |" -%__sed -i "konqueror/about/konq_aboutpage.cc" \ - -e "s|About Kubuntu|About %{tde_aboutlabel}|" \ - -e "s|help:/kubuntu/|%{tde_aboutpage}|" \ - -e "s|Kubuntu Documentation|%{tde_aboutlabel} Documentation|" -%__sed -i "konqueror/about/launch.html" \ - -e "s|help:/kubuntu/about-kubuntu/index.html|%{tde_aboutpage}|" -%__sed -i "kdm/config.def" \ - -e "s|Welcome to Trinity |Welcome to %{tde_aboutlabel} |" - -# TDE default directory in 'startkde' script (KDEDIR) -%__sed -i "startkde" \ - -e "s|/opt/trinity|%{tde_prefix}|g" - -# TDE default start button icon -%__sed -i "startkde" \ - -e "s|%%{tde_starticon}|%{tde_starticon}|g" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" -export LD_LIBRARY_PATH="%{tde_libdir}" - -# Avoids building against KDE3's old stuff, if installed -export KDEDIR=%{tde_prefix} - -# Shitty hack for RHEL4 ... -if [ -d /usr/X11R6 ]; then - export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH=}:/usr/X11R6/include:/usr/X11R6/%{_lib}" - export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - -DWITH_SASL=ON \ - -DWITH_LDAP=ON \ - -DWITH_SAMBA=ON \ - %{?with_exr:-DWITH_OPENEXR=ON} \ - %{?with_hal:-DWITH_HAL=ON} \ - %{?with_xscreensaver:-DWITH_XSCREENSAVER=ON} \ -%if 0%{?rhel} == 4 - -DWITH_XTEST=OFF \ -%else - -DWITH_XTEST=ON \ -%endif - -DWITH_XCURSOR=ON \ - -DWITH_XFIXES=ON \ - %{?with_xrandr:-DWITH_XRANDR=ON} \ - -DWITH_XDAMAGE=ON \ - -DWITH_XEXT=ON \ - -DWITH_LIBUSB=ON \ - -DWITH_LIBRAW1394=ON \ - -DWITH_PAM=ON \ - -DWITH_XDMCP=ON \ - -DWITH_XINERAMA=ON \ - -DWITH_XCOMPOSITE=ON \ - -DWITH_XRENDER=ON \ - -DWITH_ARTS=ON \ - -DWITH_I8K=ON \ - -DBUILD_ALL=ON \ - -DKCHECKPASS_PAM_SERVICE="kcheckpass-trinity" \ -%if 0%{?suse_version} - -DKDM_PAM_SERVICE="xdm" \ - -DKSCREENSAVER_PAM_SERVICE="kcheckpass-trinity" \ -%else - -DKDM_PAM_SERVICE="kdm-trinity" \ - -DKSCREENSAVER_PAM_SERVICE="kscreensaver-trinity" \ -%endif - %{!?with_tsak:-DBUILD_TSAK=OFF} \ - .. - -%__make %{?_smp_mflags} - - -%install -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{?buildroot} -C build - - -# Under RHEL/Fedora/Suse, static 'xsessions' files go to '/usr/share/xsessions'. - -# Adds a GDM/KDM/XDM session called 'TDE' -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__install -D -m 644 \ - "%{?buildroot}%{tde_datadir}/apps/kdm/sessions/tde.desktop" \ - "%{?buildroot}%{_datadir}/xsessions/tde.desktop" - -# Force session name to be 'TDE' -%__sed -i "%{?buildroot}%{_datadir}/xsessions/tde.desktop" \ - -e "s,^Name=.*,Name=TDE," -%endif - -# Mageia/Mandriva stores its session file in different folder than RHEL/Fedora -# Generated files for TDM/KDM4 are in '/usr/share/apps/kdm/sessions' -%if 0%{?mgaversion} || 0%{?mdkversion} -%__install -d -m 755 %{?buildroot}%{_sysconfdir}/X11/wmsession.d -cat <"%{?buildroot}%{_sysconfdir}/X11/wmsession.d/45TDE" -NAME=TDE -ICON=kde-wmsession.xpm -DESC=The Trinity Desktop Environment -EXEC=%{tde_bindir}/startkde -SCRIPT: -exec %{tde_bindir}/startkde -EOF - -%__install -d -m 755 %{?buildroot}%{_datadir}/X11/dm.d -cat <"%{?buildroot}%{_datadir}/X11/dm.d/45TDE.conf" -NAME=TDM -DESCRIPTION=TDM (Trinity Display Manager) -PACKAGE=trinity-tdm -EXEC=%{tde_bindir}/kdm -FNDSESSION_EXEC="/usr/sbin/chksession -K" -EOF -%endif - -# Renames '/etc/ksysguarddrc' to avoid conflict with KDE4 'ksysguard' -%__mv -f \ - %{?buildroot}%{_sysconfdir}/ksysguarddrc \ - %{?buildroot}%{_sysconfdir}/ksysguarddrc.tde - -# TDE 3.5.12: add script "plasma-desktop" to avoid conflict with KDE4 -%if "%{?tde_prefix}" != "/usr" -%__install -m 755 "%{SOURCE1}" "%{?buildroot}%{tde_bindir}" -%endif - -# PAM configuration files -%if 0%{?suse_version} -%__install -D -m 644 "%{SOURCE4}" "%{?buildroot}%{_sysconfdir}/pam.d/kcheckpass-trinity" -%else -%__install -D -m 644 "%{SOURCE2}" "%{?buildroot}%{_sysconfdir}/pam.d/kdm-trinity" -%__install -D -m 644 "%{SOURCE3}" "%{?buildroot}%{_sysconfdir}/pam.d/kdm-trinity-np" -%__install -D -m 644 "%{SOURCE4}" "%{?buildroot}%{_sysconfdir}/pam.d/kcheckpass-trinity" -%__install -D -m 644 "%{SOURCE5}" "%{?buildroot}%{_sysconfdir}/pam.d/kscreensaver-trinity" -%endif - -# KDM configuration for RHEL/Fedora -%__sed -i "%{?buildroot}%{tde_datadir}/config/kdm/kdmrc" \ -%if 0%{?fedora} >= 16 || 0%{?suse_version} >= 1220 - -e "s/^#*MinShowUID=.*/MinShowUID=1000/" -%else - -e "s/^#*MinShowUID=.*/MinShowUID=500/" -%endif - -# Moves the XDG configuration files to TDE directory -%if "%{tde_prefix}" != "/usr" -%__mkdir_p "%{?buildroot}%{tde_prefix}/etc" -%__mv -f "%{?buildroot}%{_sysconfdir}/xdg" "%{?buildroot}%{tde_prefix}/etc" -%endif - -# Symlinks 'usb.ids' -%if 0%{?suse_version} == 0 -%__rm -f "%{?buildroot}%{tde_datadir}/apps/usb.ids" -%__ln_s -f "/usr/share/hwdata/usb.ids" "%{?buildroot}%{tde_datadir}/apps/usb.ids" -%endif - -# Makes 'media_safelyremove.desktop' an alternative -%__mv -f %{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop %{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase -%__ln_s /etc/alternatives/media_safelyremove.desktop_tdebase %{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop - -# SUSE: creates DM config file, used by '/etc/init.d/xdm' -# You must set 'DISPLAYMANAGER=tdm' in '/etc/sysconfig/displaymanager' -%if 0%{?suse_version} -%__install -D -m 644 "%{SOURCE6}" "%{?buildroot}/usr/lib/X11/displaymanagers/tdm" -%__sed -i "%{?buildroot}/usr/lib/X11/displaymanagers/tdm" -e "s|/opt/trinity/bin|%{tde_bindir}|g" -%endif - -%clean -%__rm -rf %{?buildroot} - - - - -%changelog -* Thu Nov 29 2012 Francois Andriot - 3.5.13.1-2 -- openSUSE: fix TDM detection by XDM scripts - -* Mon Sep 24 2012 Francois Andriot - 3.5.13.1-1 -- Initial build for TDE 3.5.13.1 diff --git a/redhat/tdebase/trinity-kdebase-3.5.13.spec b/redhat/tdebase/trinity-kdebase-3.5.13.spec deleted file mode 100644 index 5e69920e9..000000000 --- a/redhat/tdebase/trinity-kdebase-3.5.13.spec +++ /dev/null @@ -1,3467 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -# Older RHEL/Fedora versions use packages named "qt", "qt-devel", .. -# whereas newer versions use "qt3", "qt3-devel" ... -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 8 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define _qt_suffix 3 -%endif - - -Name: trinity-tdebase -Version: 3.5.13 -Release: 27%{?release}%{?dist}%{?_variant} -License: GPL -Summary: Trinity Base Programs -Group: User Interface/Desktops - -Obsoletes: trinity-kdebase < %{version}-%{release} -Provides: trinity-kdebase = %{version}-%{release} -Obsoletes: trinity-kdebase-libs < %{version}-%{release} -Obsoletes: trinity-kdebase-extras < %{version}-%{release} -Provides: trinity-kdebase-extras = %{version}-%{release} -Obsoletes: tdebase < %{version}-%{release} -Provides: tdebase = %{version}-%{release} - - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: kdebase-%{version}.tar.gz - -# Wrapper script to prevent Plasma launch at Trinity Startup -Source1: plasma-desktop - -# Pam configuration files for RHEL / Fedora -%if 0%{?suse_version} -Source4: pamd.kcheckpass-trinity.opensuse%{?suse_version} -%else -Source2: pamd.kdm-trinity%{?dist} -Source3: pamd.kdm-trinity-np%{?dist} -Source4: pamd.kcheckpass-trinity%{?dist} -Source5: pamd.kscreensaver-trinity%{?dist} -%endif - -# [kdebase] Fix corrupted PNG images [Bug #298] -Source6: tiles-fixed-png-images.tar.gz - -# TDE 3.5.13 patches -## [kdebase] Missing LDFLAGS cause FTBFS -Patch2: tdebase-3.5.13.1-missing_ldflags.patch -## [kdebase/kdm] adds gcrypt support [Bug #624] -Patch7: kdebase-3.5.13-kdm-crypt.patch -## [kdebase/kioslave/media/mediamanager] FTBFS missing dbus-tqt includes [RHEL/Fedora] -Patch8: kdebase-3.5.13-mediamanager_ftbfs.patch -## [kdebase/startkde] Hardcoded path '/usr/lib/xxx' in startkde, not suitable for x86_64 [RHEL/Fedora] -Patch9: kdebase-3.5.13-startkde_ldpreload.patch -## [kdebase/kdesu] Remove 'ignore' button on 'kdesu' dialog box [RHEL/Fedora] -Patch10: kdebase-3.5.13-kdesu-noignorebutton.patch -## [kdebase/kdesktop] Modifies 'open terminal here' on desktop [RHEL/Fedora] -Patch11: kdebase-3.5.12-desktop-openterminalhere.patch -## [kdebase/kioslave] Forces HAL backend to use HAL mount options [Bug #986] -Patch12: kdebase-3.5.12-halmountoptions.patch -## [kdebase/kdm/kfrontend] Global Xsession file is '/etc/X11/xinit/Xsession' [RHEL/Fedora] -Patch13: kdebase-3.5.13-genkdmconf_Xsession_location.patch -## [kdebase/kicker/kicker/ui] Fix kickoff menu issues [Bug #508] -Patch14: kdebase-3.5.13-kickoff_unstable.patch -## [kdebase/startkde] Sets default Start Icon in 'kickerrc' [RHEL/Fedora] -Patch15: kdebase-3.5.13-startkde_icon.patch -## [kdebase/startkde] Fixes duplicate and incorrect TDE directories location [Bug #741] -Patch16: kdebase-3.5.13-startkde_directories.patch -## [kdebase/kate] Restores the 'number of files' and sorting widgets to the Kate configuration [Bug #244] -Patch20: kdebase-3.5.13-kate_mru.patch -## [kdebase/kioslave/man] Fix kio_man for older distros without 'man-db' [Bug #714] -Patch21: kdebase-3.5.13-kio_man_utf8.patch -## [kdebase/konqueror] Re-enable 'open tab in background' [Bug #245] -Patch22: kdebase-3.5.13-konq_menu_tab_background.patch -## [kdebase/konqueror/sidebar] Fix error message on documents parent folder [Bug #723] -Patch23: kdebase-3.5.13-konqsidebar_documents.patch -## [kdebase/konqueror/listview] Konqueror Icon Activation Effect [Bug #335] -Patch24: kdebase-3.5.13-konq_icon_effect.patch -## [kdebase/kdesu] Restores the "Keep password" check box to the kdesu dialog box [Bug #388] -Patch25: kdebase-3.5.13-kdesu_showkeeppassword.patch -## [kdebase/kpersonalizer] Repair KPersonalizer settings to match system defaults [Bug #759] -Patch26: kdebase-3.5.13-kpersonalizer_default_doubleclick.patch -## [kdebase/kicker] Restores the original KDE3 clock [Bug #387] -Patch27: kdebase-3.5.13-restore_kde3_clock.patch -## [kdebase/kcontrol/randr] Implement X11 event merging in krandrtray [Bug #758] -Patch28: kdebase-3.5.13-randrtray_merge_x11_reconfig_requests.patch -## [kdebase/kdesktop/lock] Fix multihead screen locking [Bug #669] -Patch29: kdebase-3.5.13-fix_multihead_desktop_lock.patch -## [kdebase/kdm/kfrontend] Allows to hide KDM menu button [RHEL/Fedora] -Patch30: kdebase-3.5.12-kdm_hide_menu_button.patch -## [kdebase/kxkb] Enables xtest support -Patch31: kdebase-3.5.13-enable_xtest_support.patch -## [kdebase/kdm/kfrontend] fix KDM high CPU usage when inactive [Bug #690] -Patch32: kdebase-3.5.13-fix_kdm_cpu_usage.patch -## [kdebase/tsak] Add keyboard hotplug (add/remove) support to tsak [Bug #587] -Patch33: kdebase-3.5.13-tsak_keyboard_hotplug.patch -## [kdebase/tsak] Replicate LED status from virtual keyboards to physical keyboards [Bug #561] -Patch34: kdebase-3.5.13-replicate_led_status_on_virtual_keyboard.patch -## [kdebase/kwin] do not show hostname in titlebar if it's FQDN of localhost [Bug #889] -Patch35: kdebase-3.5.13-fix_fqdn_in_title.patch -## [kdebase/kicker/applets] Adds option to disable desktop switch on mouse wheel cycling [Bug #908] -Patch36: kdebase-3.5.13-option_to_disable_scroll_desktop.patch -## [kdebase] Fix Keramik window decoration in KWIN [Bug #905] -Patch37: kdebase-3.5.13-kwin-keramic-pics-emb.patch -## [kdebase/kdesktop] Fix device icon placement on desktop [Bug #392] -Patch38: kdebase-3.5.13-fix_device_icon_placement.patch -## [kdebase/kdesktop/lock] Fix security hole in kdesktop_lock -Patch39: kdebase-3.5.13-fix_kdesktop_lock_security_issue.patch -## [kdebase/kdesktop/lock] Allow minimal managed window interaction inside the lock process [Bug #810] -Patch40: kdebase-3.5.13-allow_minimal_window_interaction_inside_lock_process.patch -## [kdebase/kwin] Corrects a potential ABI compat problem -Patch41: kdebase-3.5.13-fix_potential_ABI_compat_problem.patch -## [kdebase] Fix kdebase translations in desktop files - part 2 [Bug #890] -Patch42: kdebase-3.5.13-fix_translations_in_desktop_files.patch -## [kdebase/kate] Kate: fix focus broken when using the --use parameter [Bug #692] -Patch43: kdebase-3.5.13-kate_focus_fix.patch -## [kdebase/kicker] Ensures that 'pagersettings.kcfg' is installed [Bug #908, Commit bd9c1479] -Patch44: kdebase-3.5.13-ensure_pagersettings_is_installed.patch -## [kdebase] Fix "Malformed URL $( kxdglauncher --getpath xdgname DOCUMENTS )" error dialog. -Patch45: kdebase-3.5.13-fix_kxdglauncher_document.patch -## [kdebase/kioslave] Fix sftp failure on newer systems [Bug #897] -Patch46: kdebase-3.5.13-fix_kio_sftp.patch -## [kdebase/kicker] Fix compilation with GCC 4.7 [Bug #958] -Patch47: kdebase-3.5.13-kicker-easyvector.patch -## [kdebase/kioslave] Fix sftp when nonstandard port is specified in ssh config [Bug #897] -Patch48: kdebase-3.5.13-fix_kio_sftp_nonstandard_ports.patch -## [kdebase/kdm] Start minimal dcop system to support twin in tdm [Commit #66a19439] -Patch49: kdebase-3.5.13-start_dcop_in_tdm.patch -## [kdebase/kdesktop/lock] Update lock process to engage the lock in near real time [Commit #8d521d0b] -Patch50: kdebase-3.5.13-engage_lock_in_near_real_time.patch -## [kdebase/kdesktop/lock] Commit the rest of 8d521d0b, not merged due to GIT glitch [Commit #49526413] -Patch51: kdebase-3.5.13-engage_lock_in_near_real_time_continued.patch -## [kdebase/kdesktop/lock] Fix desktop lock failure due to race condition within signal handler between qt and xcb [Commit #67a3a8f3] -Patch52: kdebase-3.5.13-fix_lock_failure.patch -## [kdebase/kioslave] Temporary fix for a probable race condition on some systems. [Bug #760] [Commit #d41f5217] -Patch53: kdebase-3.5.13-fix_race_condition.patch -## [kdebase] Adds USB default mount options in control panel [Bug #986] -Patch54: kdebase-3.5.13-add_usbstorage_panel.patch -## [tdebase] Add the ability to reorder documents in kate [Commit #46a657f7] -Patch55: kdebase-3.5.13-add_reorder_documents_in_kate.patch -## [tdebase] Add drag and drop to kate file list in manual mode [Commit #b0fa10df] -Patch56: kdebase-3.5.13-add_drag_drop_to_kate_file_list.patch -## [tdebase] Disable keyboard shortcuts for file location moving, as they did not work properly -## and have very little practical use [Commit #9a948c1a] -Patch57: kdebase-3.5.13-disable_keyboard_shortcuts_for_file_location_moving.patch -## [tdebase] Fix KHTML smooth scrolling control center option [Bug #1001] [Commit #b45b4bd7] -Patch58: kdebase-3.5.13-fix_khtml_smooth_scrolling.patch -## [tdebase] Fix fancy logout not allowing interaction with save dialogs [Bug #922] -## Fix desktop wallpaper export failing when triggered by krootbacking or ksmserver and konsole or kdesktop_lock not previously loaded [Commit #d2f8fca9] -Patch59: kdebase-3.5.13-fix_fancy_logout.patch -## [tdebase] Update default konqueror maximum image preview size to 10MB. [Commit #03e19305] -Patch60: kdebase-3.5.13-update_default_konq_max_image_prev_size.patch -## [tdebase] Fix menu crash with disabled search field [Bug #1081] [Commit #0afb2d8a] -Patch61: kdebase-3.5.13-fix_menu_crash_with_disabled_search.patch -## [tdebase] Add xscreensaver support to CMake [Bug #659] [Commit #80deb529] -Patch62: kdebase-3.5.13-add_xscreensaver_support.patch -## [tdebase] Forcibly prevent transient override redirect windows from showing up over the lock screen [Bug #1079] [Commit #553923b2] -Patch63: kdebase-3.5.13-prevent_tooltip_over_lockscreen.patch -## [tdebase] Fix tsak FTBFS on RHEL6 -Patch64: kdebase-3.5.13-fix_tsak_ftbfs.patch -## [tdebase] Do not require DBUS-TQT if TSAK is not built -Patch65: kdebase-3.5.13-do_not_require_dbustqt_if_no_tsak.patch -## [kdebase/kdm/kfrontend] Global Xsession file is '/etc/X11/xdm/Xsession' [RHEL4/Suse] -Patch66: kdebase-3.5.13-genkdmconf_Xsession_location_xdm.patch -## [kdebase/kdm/backend] Fix DBUS include directory -Patch67: kdebase-3.5.13-fix_dbus_include.patch - -## [tdebase] Upgrade to v3.5.13-sru branch -Patch100: kdebase-3.5.13-upgrade_to_sru_20120806.patch.gz -## [tdebase] Fix for SAK dialog are displayed even if TSAK is not built. -Patch101: kdebase-3.5.13-disable_tsak_dialog_if_not_built.patch - -### Patches for RHEL4 (should not go upstream) - -## [tdebase] Fix build on RHEL4, detect old libraries without pkg file -Patch201: kdebase-3.5.13-fix_lib_detection.patch -## [tdebase] Do not build against DBUS-TQT, only DBUS and DBUS-QT -Patch202: kdebase-3.5.13-build_without_dbustqt.patch -## [tdebase] Do not build against ConsoleKit -Patch203: kdebase-3.5.13-build_without_consolekit.patch -## [tdebase] Add WITH_COMPOSITE option to CMakeLists.txt -Patch204: kdebase-3.5.13-add_disable_composite_option.patch -## [tdebase] Downgrade halbackend to support Hal 0.4 -Patch205: kdebase-3.5.13-support_hal_04.patch -## [tdebase] Other(s) FTBFS ... -Patch206: kdebase-3.5.13-fix_rhel4_compilation.patch - -### FEDORA / RHEL distribution-specific settings ### - -# Fedora 15 Theme: "Lovelock" -%if 0%{?fedora} == 15 -Requires: lovelock-backgrounds-single -%define tde_bg /usr/share/backgrounds/lovelock/default/standard/lovelock.png -%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png - -Requires: fedora-release-notes -%define tde_aboutlabel Fedora 15 -%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html -%endif - -# Fedora 16 Theme: "Verne" -%if 0%{?fedora} == 16 -Requires: verne-backgrounds-single -%define tde_bg /usr/share/backgrounds/verne/default/standard/verne.png -%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png - -Requires: fedora-release-notes -%define tde_aboutlabel Fedora 16 -%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html -%endif - -# Fedora 17 Theme: "Beefy Miracle" -%if 0%{?fedora} == 17 -Requires: beefy-miracle-backgrounds-single -%define tde_bg /usr/share/backgrounds/beefy-miracle/default/standard/beefy-miracle.png -%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png - -Requires: fedora-release-notes -%define tde_aboutlabel Fedora 17 -%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html -%endif - -# RHEL 4 Theme -%if 0%{?rhel} == 4 -Requires: desktop-backgrounds-basic -%define tde_bg /usr/share/backgrounds/images/default.png -Requires: redhat-logos -%define tde_starticon /usr/share/pixmaps/redhat/rpmlogo-64.xpm - -Requires: indexhtml -%define tde_aboutlabel Enterprise Linux 4 -%define tde_aboutpage /usr/share/doc/HTML/index.html -%endif - -# RHEL 5 Theme -%if 0%{?rhel} == 5 -Requires: desktop-backgrounds-basic -%define tde_bg /usr/share/backgrounds/images/default.jpg -%define tde_starticon /usr/share/pixmaps/redhat-starthere.png - -Requires: indexhtml -%define tde_aboutlabel Enterprise Linux 5 -%define tde_aboutpage /usr/share/doc/HTML/index.html -%endif - -# RHEL 6 Theme -%if 0%{?rhel} == 6 -Requires: redhat-logos -%define tde_bg /usr/share/backgrounds/default.png -%define tde_starticon /usr/share/icons/hicolor/96x96/apps/system-logo-icon.png - -Requires: redhat-indexhtml -%define tde_aboutlabel Enterprise Linux 6 -%define tde_aboutpage /usr/share/doc/HTML/index.html -%endif - -# Mageia 2 Theme -%if 0%{?mgaversion} == 2 -Requires: mageia-theme-Default -%define tde_bg /usr/share/mga/backgrounds/default.jpg -%define tde_starticon /usr/share/icons/hicolor/scalable/apps/mageia-menu.svg - -Requires: indexhtml -%define tde_aboutlabel Mageia 2 -%define tde_aboutpage /usr/share/mga/about/index.html -%endif - -# Mandriva 2011 Theme: "rosa" -%if "%{?mdkversion}" == "201100" -Requires: mandriva-theme -%define tde_bg /usr/share/mdk/backgrounds/default.jpg -%define tde_starticon /usr/share/icons/mandriva.png - -Requires: indexhtml -%define tde_aboutlabel Mandriva 2011 -%define tde_aboutpage /usr/share/mdk/about/index.html -%endif - -# OpenSuse 12.2 Theme -%if "%{?suse_version}" == "1220" -Requires: wallpaper-branding -%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg -Requires: hicolor-icon-theme-branding -%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg - -Requires: opensuse-manuals_en -%define tde_aboutlabel OpenSuse 12.2 -%define tde_aboutpage /usr/share/doc/manual/opensuse-manuals_en/book.opensuse.startup.html -%endif - -BuildRequires: cmake >= 2.8 -BuildRequires: tqtinterface-devel -BuildRequires: trinity-arts-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: gcc-c++ make -BuildRequires: qt%{?_qt_suffix}-devel -BuildRequires: openssl-devel -BuildRequires: audiofile-devel -BuildRequires: alsa-lib-devel -BuildRequires: libraw1394-devel -BuildRequires: libvorbis-devel -BuildRequires: pam-devel -BuildRequires: libusb-devel -BuildRequires: esound-devel -BuildRequires: glib2-devel -BuildRequires: pcre-devel - -%if 0%{?suse_version} -BuildRequires: openldap2-devel -%else -BuildRequires: lm_sensors-devel -BuildRequires: openldap-devel -%endif - - -# TSAK support requires libudev-devel -# On RHEL5, udev is built statically, so TSAK cannot build. -# On RHEL5, xrandr library is too old. -%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version} -%define with_tsak 1 -%define with_xrandr 1 -BuildRequires: libudev-devel -%endif - -# On RHEL4, we do not have openexr -# On RHEL4, we do not use HAL -%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} -%define with_exr 1 -BuildRequires: OpenEXR-devel -%define with_hal 1 -BuildRequires: hal-devel >= 0.4.8 -%endif - - -%if 0%{?fedora} >= 17 -BuildRequires: perl-Digest-MD5 -%endif - -%if 0%{?rhel} == 4 -BuildRequires: xorg-x11-devel -BuildRequires: samba-common -# Dbus bindings were rebuilt with Qt support -BuildRequires: dbus-devel >= 0.22-12.EL.9p1 -%else -BuildRequires: imake -%if 0%{?suse_version} -BuildRequires: dbus-1-devel -%else -BuildRequires: dbus-devel -BuildRequires: nas-devel -%endif -BuildRequires: dbus-tqt-devel -BuildRequires: avahi-tqt-devel -BuildRequires: libxkbfile-devel -BuildRequires: libsmbclient-devel -BuildRequires: libfontenc-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}avahi-client-devel -BuildRequires: %{_lib}jack-devel -BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel -BuildRequires: %{_lib}xdamage-devel -BuildRequires: %{_lib}xdmcp%{?mgaversion:6}-devel -BuildRequires: %{_lib}xtst-devel -BuildRequires: x11-font-util -BuildRequires: x11-proto-devel -BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel -Requires: %{_lib}avahi-client3 -%else -BuildRequires: avahi-devel -BuildRequires: jack-audio-connection-kit-devel -BuildRequires: libXcomposite-devel -BuildRequires: libXdamage-devel -BuildRequires: libXdmcp-devel -BuildRequires: libXtst-devel -%if 0%{?suse_version} -BuildRequires: font-util -BuildRequires: bdftopcf -%else -BuildRequires: xorg-x11-font-utils -%endif -BuildRequires: xorg-x11-proto-devel -%if 0%{?rhel} == 5 -BuildRequires: gnome-screensaver -%else -BuildRequires: xscreensaver -%endif -Requires: avahi-tqt -%endif -%endif - -# tdebase is a metapackage that installs all sub-packages -Requires: %{name}-runtime-data-common = %{version}-%{release} -Requires: %{name}-data = %{version}-%{release} -Requires: %{name}-bin = %{version}-%{release} -Requires: %{name}-kio-plugins = %{version}-%{release} -Requires: %{name}-kio-pim-plugins = %{version}-%{release} -Requires: trinity-kappfinder = %{version}-%{release} -Requires: trinity-kate = %{version}-%{release} -Requires: trinity-kwrite = %{version}-%{release} -Requires: trinity-kcontrol = %{version}-%{release} -Requires: trinity-kdepasswd = %{version}-%{release} -Requires: trinity-tdeprint = %{version}-%{release} -Requires: trinity-kdesktop = %{version}-%{release} -Requires: trinity-tdm = %{version}-%{release} -Requires: trinity-kfind = %{version}-%{release} -Requires: trinity-khelpcenter = %{version}-%{release} -Requires: trinity-kicker = %{version}-%{release} -Requires: trinity-klipper = %{version}-%{release} -Requires: trinity-kmenuedit = %{version}-%{release} -Requires: trinity-konqueror = %{version}-%{release} -Requires: trinity-konqueror-nsplugins = %{version}-%{release} -Requires: trinity-konsole = %{version}-%{release} -Requires: trinity-kpager = %{version}-%{release} -Requires: trinity-kpersonalizer = %{version}-%{release} -Requires: trinity-ksmserver = %{version}-%{release} -Requires: trinity-ksplash = %{version}-%{release} -Requires: trinity-ksysguard = %{version}-%{release} -Requires: trinity-ksysguardd = %{version}-%{release} -Requires: trinity-ktip = %{version}-%{release} -Requires: trinity-twin = %{version}-%{release} -Requires: trinity-libkonq = %{version}-%{release} -Requires: %{name}-libtqt3-integration = %{version}-%{release} - -Requires: tqtinterface -Requires: trinity-arts -Requires: trinity-tdelibs -Requires: qt%{?_qt_suffix} -Requires: openssl - -%if 0%{?rhel} == 4 -Requires: dbus-qt -%else -Requires: dbus-tqt -Requires: avahi -%endif - -# RHEL 6 Configuration files are provided in separate packages -%if 0%{?rhel} || 0%{?fedora} -%if "%{?tde_prefix}" == "/usr" -Requires: kde-settings-kdm -%endif -Requires: redhat-menus -%endif - -%if 0%{?suse_version} -Requires: desktop-data-openSUSE -%endif - -%description -TDE (the Trinity Desktop Environment) is a powerful Open Source graphical -desktop environment for Unix workstations. It combines ease of use, -contemporary functionality, and outstanding graphical design with the -technological superiority of the Unix operating system. - -This metapackage includes the nucleus of TDE, namely the minimal package -set necessary to run TDE as a desktop environment. This includes the -window manager, taskbar, control center, a text editor, file manager, -web browser, X terminal emulator, and many other programs and components. - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING COPYING-DOCS README README.pam - -########## - -%package devel -Summary: %{summary} - Development files -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} -Requires: trinity-tdelibs-devel - -Requires: %{name}-bin-devel = %{version}-%{release} -Requires: trinity-kate-devel = %{version}-%{release} -Requires: trinity-kcontrol-devel = %{version}-%{release} -Requires: trinity-kdesktop-devel = %{version}-%{release} -Requires: trinity-kicker-devel = %{version}-%{release} -Requires: trinity-konqueror-devel = %{version}-%{release} -Requires: trinity-ksplash-devel = %{version}-%{release} -Requires: trinity-ksysguard-devel = %{version}-%{release} -Requires: trinity-libkonq-devel = %{version}-%{release} -Requires: trinity-tdm-devel = %{version}-%{release} -Requires: trinity-twin-devel = %{version}-%{release} - -Provides: trinity-kdebase-devel = %{version}-%{release} -Obsoletes: trinity-kdebase-devel < %{version}-%{release} -Provides: tdebase-devel = %{version}-%{release} -Obsoletes: tdebase-devel < %{version}-%{release} - -Obsoletes: trinity-kdebase-cmake < %{version}-%{release} -Obsoletes: tdebase-cmake < %{version}-%{release} - -%description devel -This is a meta-package that installs all tdebase development packages. - -Header files for developing applications using %{name}. -Install tdebase-devel if you want to develop or compile Konqueror, -Kate plugins or KWin styles. - -%files devel -%{tde_datadir}/cmake/*.cmake - -########## - -%package kio-pim-plugins -Summary: PIM KIOslaves from %{name} -Group: Environment/Libraries - -Provides: trinity-kdebase-pim-ioslaves = %{version}-%{release} -Obsoletes: trinity-kdebase-pim-ioslaves < %{version}-%{release} -Provides: tdebase-kio-pim-plugins = %{version}-%{release} -Obsoletes: tdebase-kio-pim-plugins < %{version}-%{release} - -%description kio-pim-plugins -Protocol handlers (KIOslaves) for personal information management, including: - * kio_ldap - * kio_nntp - * kio_pop3 - * kio_smtp - -%files kio-pim-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/kio_ldap.la -%{tde_tdelibdir}/kio_ldap.so -%{tde_tdelibdir}/kio_nntp.la -%{tde_tdelibdir}/kio_nntp.so -%{tde_tdelibdir}/kio_pop3.la -%{tde_tdelibdir}/kio_pop3.so -%{tde_tdelibdir}/kio_smtp.la -%{tde_tdelibdir}/kio_smtp.so -%{tde_datadir}/services/ldap.protocol -%{tde_datadir}/services/ldaps.protocol -%{tde_datadir}/services/nntp.protocol -%{tde_datadir}/services/nntps.protocol -%{tde_datadir}/services/pop3.protocol -%{tde_datadir}/services/pop3s.protocol -%{tde_datadir}/services/smtp.protocol -%{tde_datadir}/services/smtps.protocol - -########## - -%package runtime-data-common -Summary: Shared common files for Trinity and KDE4 -Group: Environment/Libraries - -Provides: tdebase-runtime-data-common = %{version}-%{release} -Obsoletes: tdebase-runtime-data-common < %{version}-%{release} - -%description runtime-data-common -Shared common files for both Trinity and KDE4 -Such as the desktop right-click-"Create New" list - -%files runtime-data-common -%defattr(-,root,root,-) -%{tde_datadir}/autostart/khotkeys.desktop -%{tde_datadir}/desktop-directories/* -%{tde_datadir}/icons/hicolor/*/apps/kxkb.png -%{tde_datadir}/icons/hicolor/*/apps/knetattach.* -%{tde_datadir}/icons/hicolor/*/apps/khotkeys.png -%{tde_datadir}/icons/hicolor/*/apps/kmenuedit.png -%{tde_datadir}/icons/hicolor/*/apps/ksplash.png -%{tde_datadir}/locale/en_US/entry.desktop -%{tde_datadir}/locale/l10n/*.desktop -%{tde_datadir}/locale/l10n/*/entry.desktop -%{tde_datadir}/locale/l10n/*/flag.png -%{tde_datadir}/sounds/pop.wav -%{tde_datadir}/templates - -%post runtime-data-common -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -%postun runtime-data-common -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -########## - -%package -n trinity-kappfinder -Summary: non-KDE application finder for KDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-kappfinder -kappfinder searches your workstation for many common applications and -creates menu entries for them. - -%files -n trinity-kappfinder -%defattr(-,root,root,-) -%{tde_bindir}/kappfinder -%{tde_tdeappdir}/kappfinder.desktop -%{tde_datadir}/applnk/System/kappfinder.desktop -%{tde_datadir}/apps/kappfinder -%{tde_datadir}/icons/hicolor/*/apps/kappfinder.png - -%post -n trinity-kappfinder -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%postun -n trinity-kappfinder -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database %{tde_appdir} 2> /dev/null || : - -########## - -%package -n trinity-libkateinterfaces -Summary: Common libraries used by kwrite and kate -Group: Environment/Libraries - -%description -n trinity-libkateinterfaces -%{summary} - -%files -n trinity-libkateinterfaces -%{tde_libdir}/libkateinterfaces.so.* - -%post -n trinity-libkateinterfaces -/sbin/ldconfig || : - -%postun -n trinity-libkateinterfaces -/sbin/ldconfig || : - -########## - -%package -n trinity-kate -Summary: advanced text editor for TDE -Group: Applications/Text -Requires: %{name}-data = %{version}-%{release} -Requires: trinity-kwrite = %{version}-%{release} -Requires: trinity-libkateinterfaces = %{version}-%{release} - -%description -n trinity-kate -Kate is a multi document editor, based on a rewritten version of the kwrite -editing widget of TDE. - -It is a multi-view editor that lets you view several instances of the same -document with all instances being synced, or view more files at the same -time for easy reference or simultaneous editing. The terminal emulation -and sidebar are docked windows that can be plugged out of the main window, -or replaced therein according to your preference. - -Some random features: -* Editing of big files -* Extensible syntax highlighting -* Folding -* Dynamic word wrap -* Selectable encoding -* Filter command -* Global grep dialog - -%files -n trinity-kate -%defattr(-,root,root,-) -%{tde_bindir}/kate -%{tde_tdelibdir}/kate.la -%{tde_tdelibdir}/kate.so -%{tde_libdir}/libkateutils.so.* -%{tde_libdir}/lib[kt]deinit_kate.la -%{tde_libdir}/lib[kt]deinit_kate.so -%{tde_tdeappdir}/kate.desktop -%{tde_datadir}/apps/kate/ -%{tde_datadir}/apps/kconf_update/kate-2.4.upd -%{tde_datadir}/config/katerc -%{tde_datadir}/icons/hicolor/*/apps/kate.png -%{tde_datadir}/icons/hicolor/*/apps/kate2.svgz -%{tde_datadir}/servicetypes/kateplugin.desktop -%{tde_tdedocdir}/HTML/en/kate/ - -%post -n trinity-kate -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database %{tde_appdir} 2> /dev/null || : -/sbin/ldconfig || : - -%postun -n trinity-kate -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database %{tde_appdir} 2> /dev/null || : -/sbin/ldconfig || : - -########## - -%package -n trinity-kate-devel -Summary: Development files for kate -Group: Development/Libraries -Requires: trinity-kate = %{version}-%{release} - -%description -n trinity-kate-devel -%{summary} - -%files -n trinity-kate-devel -%{tde_tdeincludedir}/kate/ -%{tde_libdir}/libkateutils.so -%{tde_libdir}/libkateutils.la -%{tde_libdir}/libkateinterfaces.so -%{tde_libdir}/libkateinterfaces.la - -%post -n trinity-kate-devel -/sbin/ldconfig || : - -%postun -n trinity-kate-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kwrite -Summary: advanced text editor for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} -Requires: trinity-libkateinterfaces = %{version}-%{release} - -%description -n trinity-kwrite -Kwrite is a text editor for TDE. - -%files -n trinity-kwrite -%defattr(-,root,root,-) -%{tde_bindir}/kwrite -%{tde_tdelibdir}/kwrite.la -%{tde_tdelibdir}/kwrite.so -%{tde_libdir}/lib[kt]deinit_kwrite.la -%{tde_libdir}/lib[kt]deinit_kwrite.so -%{tde_tdeappdir}/kwrite.desktop -%{tde_datadir}/apps/kwrite/kwriteui.rc -%{tde_datadir}/icons/hicolor/*/apps/kwrite.png -%{tde_datadir}/icons/hicolor/*/apps/kwrite2.svgz -%{tde_tdedocdir}/HTML/en/kwrite/ - - -%post -n trinity-kwrite -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%postun -n trinity-kwrite -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database %{tde_appdir} 2> /dev/null || : - -########## - -%package -n trinity-kcontrol -Summary: control center for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} -Requires: usbutils - -%if 0%{?suse_version} == 0 -Requires: hwdata -%endif - -%description -n trinity-kcontrol -The TDE Control Center provides you with a centralized and convenient -way to configure all of your TDE settings. - -It is made up of multiple modules. Each module is a separate application, -but the control center organizes all of these programs into a convenient -location. - -In combination with udev KControl supports the advanced -configuration of Logitech mice, though the user must be a member of the -plugdev group. - -%files -n trinity-kcontrol -%defattr(-,root,root,-) -%{tde_bindir}/kaccess -%{tde_bindir}/kcontrol -%{tde_bindir}/kdeinstallktheme -%{tde_bindir}/keditfiletype -%{tde_bindir}/kfontinst -%{tde_bindir}/kfontview -%{tde_bindir}/kinfocenter -%{tde_bindir}/klocaldomainurifilterhelper -%{tde_bindir}/krdb -%{tde_tdelibdir}/fontthumbnail.la -%{tde_tdelibdir}/fontthumbnail.so -%{tde_tdelibdir}/kaccess.la -%{tde_tdelibdir}/kaccess.so -%{tde_tdelibdir}/kcm_access.la -%{tde_tdelibdir}/kcm_access.so -%{tde_tdelibdir}/kcm_arts.la -%{tde_tdelibdir}/kcm_arts.so -%{tde_tdelibdir}/kcm_background.la -%{tde_tdelibdir}/kcm_background.so -%{tde_tdelibdir}/kcm_bell.la -%{tde_tdelibdir}/kcm_bell.so -%{tde_tdelibdir}/kcm_clock.la -%{tde_tdelibdir}/kcm_clock.so -%{tde_tdelibdir}/kcm_colors.la -%{tde_tdelibdir}/kcm_colors.so -%{tde_tdelibdir}/kcm_componentchooser.la -%{tde_tdelibdir}/kcm_componentchooser.so -%{tde_tdelibdir}/kcm_crypto.la -%{tde_tdelibdir}/kcm_crypto.so -%{tde_tdelibdir}/kcm_css.la -%{tde_tdelibdir}/kcm_css.so -%{tde_tdelibdir}/kcm_display.la -%{tde_tdelibdir}/kcm_display.so -%{tde_tdelibdir}/kcm_energy.la -%{tde_tdelibdir}/kcm_energy.so -%{tde_tdelibdir}/kcm_filetypes.la -%{tde_tdelibdir}/kcm_filetypes.so -%{tde_tdelibdir}/kcm_fontinst.la -%{tde_tdelibdir}/kcm_fontinst.so -%{tde_tdelibdir}/kcm_fonts.la -%{tde_tdelibdir}/kcm_fonts.so -#%{tde_tdelibdir}/kcm_hwmanager.la -#%{tde_tdelibdir}/kcm_hwmanager.so -%{tde_tdelibdir}/kcm_icons.la -%{tde_tdelibdir}/kcm_icons.so -%{tde_tdelibdir}/kcm_info.la -%{tde_tdelibdir}/kcm_info.so -%{tde_tdelibdir}/kcm_input.la -%{tde_tdelibdir}/kcm_input.so -%{tde_tdelibdir}/kcm_ioslaveinfo.la -%{tde_tdelibdir}/kcm_ioslaveinfo.so -%{tde_tdelibdir}/kcm_joystick.la -%{tde_tdelibdir}/kcm_joystick.so -%{tde_tdelibdir}/kcm_kded.la -%{tde_tdelibdir}/kcm_kded.so -%{tde_tdelibdir}/kcm_[kt]dm.la -%{tde_tdelibdir}/kcm_[kt]dm.so -%{tde_tdelibdir}/kcm_kdnssd.so -%{tde_tdelibdir}/kcm_kdnssd.la -%{tde_tdelibdir}/kcm_keys.la -%{tde_tdelibdir}/kcm_keys.so -%{tde_tdelibdir}/kcm_kicker.la -%{tde_tdelibdir}/kcm_kicker.so -%{tde_tdelibdir}/kcm_kio.la -%{tde_tdelibdir}/kcm_kio.so -%{tde_tdelibdir}/kcm_knotify.la -%{tde_tdelibdir}/kcm_knotify.so -%{tde_tdelibdir}/kcm_konqhtml.la -%{tde_tdelibdir}/kcm_konqhtml.so -%{tde_tdelibdir}/kcm_konq.la -%{tde_tdelibdir}/kcm_konq.so -%{tde_tdelibdir}/kcm_kthememanager.la -%{tde_tdelibdir}/kcm_kthememanager.so -%{tde_tdelibdir}/kcm_kurifilt.la -%{tde_tdelibdir}/kcm_kurifilt.so -%{tde_tdelibdir}/kcm_launch.la -%{tde_tdelibdir}/kcm_launch.so -%{tde_tdelibdir}/kcm_locale.la -%{tde_tdelibdir}/kcm_locale.so -%{tde_tdelibdir}/kcm_nic.la -%{tde_tdelibdir}/kcm_nic.so -%{tde_tdelibdir}/kcm_performance.la -%{tde_tdelibdir}/kcm_performance.so -%{tde_tdelibdir}/kcm_privacy.la -%{tde_tdelibdir}/kcm_privacy.so -%{tde_tdelibdir}/kcm_samba.la -%{tde_tdelibdir}/kcm_samba.so -%{tde_tdelibdir}/kcm_screensaver.la -%{tde_tdelibdir}/kcm_screensaver.so -%{tde_tdelibdir}/kcm_smserver.la -%{tde_tdelibdir}/kcm_smserver.so -%{tde_tdelibdir}/kcm_spellchecking.la -%{tde_tdelibdir}/kcm_spellchecking.so -%{tde_tdelibdir}/kcm_style.la -%{tde_tdelibdir}/kcm_style.so -%{tde_tdelibdir}/kcm_taskbar.la -%{tde_tdelibdir}/kcm_taskbar.so -%{tde_tdelibdir}/kcm_usb.la -%{tde_tdelibdir}/kcm_usb.so -%{tde_tdelibdir}/kcm_view1394.la -%{tde_tdelibdir}/kcm_view1394.so -%{tde_tdelibdir}/kcm_xinerama.la -%{tde_tdelibdir}/kcm_xinerama.so -%{tde_tdelibdir}/kcontrol.la -%{tde_tdelibdir}/kcontrol.so -%{tde_tdelibdir}/kfile_font.la -%{tde_tdelibdir}/kfile_font.so -%{tde_tdelibdir}/kio_fonts.la -%{tde_tdelibdir}/kio_fonts.so -%{tde_tdelibdir}/kstyle_keramik_config.la -%{tde_tdelibdir}/kstyle_keramik_config.so -%{tde_tdelibdir}/libkfontviewpart.la -%{tde_tdelibdir}/libkfontviewpart.so -%{tde_tdelibdir}/libkshorturifilter.la -%{tde_tdelibdir}/libkshorturifilter.so -%{tde_tdelibdir}/libkuriikwsfilter.la -%{tde_tdelibdir}/libkuriikwsfilter.so -%{tde_tdelibdir}/libkurisearchfilter.la -%{tde_tdelibdir}/libkurisearchfilter.so -%{tde_tdelibdir}/liblocaldomainurifilter.la -%{tde_tdelibdir}/liblocaldomainurifilter.so -%{tde_libdir}/lib[kt]deinit_kaccess.la -%{tde_libdir}/lib[kt]deinit_kaccess.so -%{tde_libdir}/lib[kt]deinit_kcontrol.la -%{tde_libdir}/lib[kt]deinit_kcontrol.so -%{tde_libdir}/libkfontinst.so.* -%{tde_tdeappdir}/arts.desktop -%{tde_tdeappdir}/background.desktop -%{tde_tdeappdir}/bell.desktop -%{tde_tdeappdir}/cache.desktop -%{tde_tdeappdir}/cdinfo.desktop -%{tde_tdeappdir}/clock.desktop -%{tde_tdeappdir}/colors.desktop -%{tde_tdeappdir}/componentchooser.desktop -%{tde_tdeappdir}/cookies.desktop -%{tde_tdeappdir}/crypto.desktop -%{tde_tdeappdir}/desktopbehavior.desktop -%{tde_tdeappdir}/desktop.desktop -%{tde_tdeappdir}/desktoppath.desktop -%{tde_tdeappdir}/devices.desktop -%{tde_tdeappdir}/display.desktop -%{tde_tdeappdir}/dma.desktop -%{tde_tdeappdir}/ebrowsing.desktop -%{tde_tdeappdir}/filebrowser.desktop -%{tde_tdeappdir}/filetypes.desktop -%{tde_tdeappdir}/fonts.desktop -#%{tde_tdeappdir}/hwmanager.desktop -%{tde_tdeappdir}/icons.desktop -%{tde_tdeappdir}/installktheme.desktop -%{tde_tdeappdir}/interrupts.desktop -%{tde_tdeappdir}/ioports.desktop -%{tde_tdeappdir}/ioslaveinfo.desktop -%{tde_tdeappdir}/joystick.desktop -%{tde_tdeappdir}/kcm_kdnssd.desktop -%{tde_tdeappdir}/kcmaccess.desktop -%{tde_tdeappdir}/kcmcss.desktop -%{tde_tdeappdir}/kcmfontinst.desktop -%{tde_tdeappdir}/kcmkded.desktop -%{tde_tdeappdir}/kcmlaunch.desktop -%{tde_tdeappdir}/kcmnotify.desktop -%{tde_tdeappdir}/kcmperformance.desktop -%{tde_tdeappdir}/kcmsmserver.desktop -%{tde_tdeappdir}/kcmtaskbar.desktop -%{tde_tdeappdir}/kcmusb.desktop -%{tde_tdeappdir}/kcmview1394.desktop -%{tde_tdeappdir}/KControl.desktop -%{tde_tdeappdir}/[kt]dm.desktop -%{tde_tdeappdir}/keys.desktop -%{tde_tdeappdir}/kfontview.desktop -%{tde_tdeappdir}/khtml_behavior.desktop -%{tde_tdeappdir}/khtml_fonts.desktop -%{tde_tdeappdir}/khtml_java_js.desktop -%{tde_tdeappdir}/kinfocenter.desktop -%{tde_tdeappdir}/kthememanager.desktop -%{tde_tdeappdir}/lanbrowser.desktop -%{tde_tdeappdir}/language.desktop -%{tde_tdeappdir}/media.desktop -%{tde_tdeappdir}/memory.desktop -%{tde_tdeappdir}/mouse.desktop -%{tde_tdeappdir}/netpref.desktop -%{tde_tdeappdir}/nic.desktop -%{tde_tdeappdir}/opengl.desktop -%{tde_tdeappdir}/panel_appearance.desktop -%{tde_tdeappdir}/panel.desktop -%{tde_tdeappdir}/partitions.desktop -%{tde_tdeappdir}/pci.desktop -%{tde_tdeappdir}/privacy.desktop -%{tde_tdeappdir}/processor.desktop -%{tde_tdeappdir}/proxy.desktop -%{tde_tdeappdir}/screensaver.desktop -%{tde_tdeappdir}/scsi.desktop -%{tde_tdeappdir}/smbstatus.desktop -%{tde_tdeappdir}/sound.desktop -%{tde_tdeappdir}/spellchecking.desktop -%{tde_tdeappdir}/style.desktop -%{tde_tdeappdir}/useragent.desktop -%{tde_tdeappdir}/xserver.desktop -%{tde_datadir}/applnk/.hidden/energy.desktop -%{tde_datadir}/applnk/.hidden/fileappearance.desktop -%{tde_datadir}/applnk/.hidden/filebehavior.desktop -%{tde_datadir}/applnk/.hidden/filepreviews.desktop -%{tde_datadir}/applnk/.hidden/kcmkonqyperformance.desktop -%{tde_datadir}/applnk/.hidden/kicker_config_appearance.desktop -%{tde_datadir}/applnk/.hidden/kicker_config.desktop -%{tde_datadir}/applnk/.hidden/smb.desktop -%{tde_datadir}/applnk/.hidden/xinerama.desktop -%{tde_datadir}/applnk/Settings/LookNFeel/ -%{tde_datadir}/applnk/Settings/WebBrowsing/khtml_appearance.desktop -%{tde_datadir}/applnk/Settings/WebBrowsing/nsplugin.desktop -%{tde_datadir}/applnk/Settings/WebBrowsing/smb.desktop -%{tde_datadir}/apps/kcm_componentchooser/kcm_browser.desktop -%{tde_datadir}/apps/kcm_componentchooser/kcm_kemail.desktop -%{tde_datadir}/apps/kcm_componentchooser/kcm_terminal.desktop -%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/fonts.desktop -%{tde_datadir}/apps/konqueror/servicemenus/installfont.desktop -%{tde_datadir}/mimelnk/application/x-ktheme.desktop -%{tde_datadir}/mimelnk/fonts/folder.desktop -%{tde_datadir}/mimelnk/fonts/package.desktop -%{tde_datadir}/mimelnk/fonts/system-folder.desktop -%{tde_datadir}/services/fonts.protocol -%{tde_datadir}/services/fontthumbnail.desktop -%{tde_datadir}/services/kaccess.desktop -%{tde_datadir}/services/kfile_font.desktop -%{tde_datadir}/services/kfontviewpart.desktop -%{tde_datadir}/services/kshorturifilter.desktop -%{tde_datadir}/services/kuriikwsfilter.desktop -%{tde_datadir}/services/kurisearchfilter.desktop -%{tde_datadir}/services/localdomainurifilter.desktop - -%{tde_datadir}/apps/usb.ids -%{tde_datadir}/apps/kcmview1394/oui.db - -# The following features are not compiled under RHEL 5 -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -%{tde_bindir}/krandrtray -%{tde_tdelibdir}/kcm_displayconfig.la -%{tde_tdelibdir}/kcm_displayconfig.so -%{tde_tdelibdir}/kcm_iccconfig.la -%{tde_tdelibdir}/kcm_iccconfig.so -%{tde_tdelibdir}/kcm_randr.la -%{tde_tdelibdir}/kcm_randr.so -%{tde_tdeappdir}/displayconfig.desktop -%{tde_tdeappdir}/iccconfig.desktop -%{tde_tdeappdir}/krandrtray.desktop -%{tde_datadir}/applnk/.hidden/randr.desktop -%{tde_datadir}/autostart/krandrtray-autostart.desktop -%endif - -%post -n trinity-kcontrol -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%postun -n trinity-kcontrol -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} 2> /dev/null || : - -########## - -%package -n trinity-kcontrol-devel -Summary: Development files for kcontrol -Group: Development/Libraries -Requires: trinity-kcontrol = %{version}-%{release} - -%description -n trinity-kcontrol-devel -%{summary} - -%files -n trinity-kcontrol-devel -%{tde_libdir}/libkfontinst.la -%{tde_libdir}/libkfontinst.so - -%post -n trinity-kcontrol-devel -/sbin/ldconfig || : - -%postun -n trinity-kcontrol-devel -/sbin/ldconfig || : - -########## - -%package bin -Summary: core binaries for the TDE base module -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} -Requires: pam - -Provides: tdebase-bin = %{version}-%{release} -Obsoletes: tdebase-bin < %{version}-%{release} - -%description bin -This package contains miscellaneous programs needed by other -TDE applications, particularly those in the TDE base module. - -%files bin -%defattr(-,root,root,-) -%{tde_bindir}/krootbacking -#%{tde_bindir}/tdeinit_phase1 -%if 0%{?with_tsak} -%attr(4511,root,root) %{tde_bindir}/[kt]dmtsak -%{tde_bindir}/tsak -%endif -%{tde_bindir}/kdebugdialog -%{tde_bindir}/kreadconfig -%{tde_bindir}/kwriteconfig -%{tde_bindir}/kstart -%{tde_datadir}/config/kxkb_groups -%{tde_bindir}/drkonqi -%{tde_bindir}/kapplymousetheme -%{tde_bindir}/kblankscrn.kss -%attr(4755,root,root) %{tde_bindir}/kcheckpass -%{tde_bindir}/kcminit -%{tde_bindir}/kcminit_startup -%{tde_bindir}/kdcop -%{tde_bindir}/[kt]desu -%attr(0755,root,root) %{tde_bindir}/[kt]desud -%{tde_bindir}/kdialog -%{tde_bindir}/khotkeys -%{tde_bindir}/knetattach -%{tde_bindir}/krandom.kss -%{tde_bindir}/ksystraycmd -%{tde_bindir}/kxkb -%{tde_libdir}/kconf_update_bin/khotkeys_update -%{tde_tdelibdir}/kcminit.la -%{tde_tdelibdir}/kcminit.so -%{tde_tdelibdir}/kcminit_startup.la -%{tde_tdelibdir}/kcminit_startup.so -%{tde_tdelibdir}/kcm_keyboard.la -%{tde_tdelibdir}/kcm_keyboard.so -%{tde_tdelibdir}/kcm_khotkeys_init.la -%{tde_tdelibdir}/kcm_khotkeys_init.so -%{tde_tdelibdir}/kcm_khotkeys.la -%{tde_tdelibdir}/kcm_khotkeys.so -%{tde_tdelibdir}/kded_khotkeys.la -%{tde_tdelibdir}/kded_khotkeys.so -%{tde_tdelibdir}/kgreet_classic.la -%{tde_tdelibdir}/kgreet_classic.so -%{tde_tdelibdir}/kgreet_winbind.la -%{tde_tdelibdir}/kgreet_winbind.so -%{tde_tdelibdir}/khotkeys.la -%{tde_tdelibdir}/khotkeys.so -%{tde_tdelibdir}/khotkeys_arts.la -%{tde_tdelibdir}/khotkeys_arts.so -%{tde_tdelibdir}/kxkb.la -%{tde_tdelibdir}/kxkb.so -%{tde_libdir}/lib[kt]deinit_kcminit.la -%{tde_libdir}/lib[kt]deinit_kcminit.so -%{tde_libdir}/lib[kt]deinit_kcminit_startup.la -%{tde_libdir}/lib[kt]deinit_kcminit_startup.so -%{tde_libdir}/lib[kt]deinit_khotkeys.la -%{tde_libdir}/lib[kt]deinit_khotkeys.so -%{tde_libdir}/lib[kt]deinit_kxkb.la -%{tde_libdir}/lib[kt]deinit_kxkb.so -%{tde_libdir}/libkhotkeys_shared.so.* -%{tde_tdeappdir}/keyboard.desktop -%{tde_tdeappdir}/keyboard_layout.desktop -%{tde_tdeappdir}/khotkeys.desktop -%{tde_tdeappdir}/knetattach.desktop -%{tde_datadir}/applnk/System/ScreenSavers/ -%{tde_datadir}/apps/drkonqi/ -%{tde_datadir}/apps/kconf_update/khotkeys_32b1_update.upd -%{tde_datadir}/apps/kconf_update/khotkeys_printscreen.upd -%{tde_datadir}/apps/kconf_update/konqueror_gestures_trinity21_update.upd -%{tde_datadir}/apps/kdcop/kdcopui.rc -%{tde_datadir}/apps/khotkeys/ -%{tde_datadir}/services/kded/khotkeys.desktop -%{tde_datadir}/services/kxkb.desktop -%{_sysconfdir}/pam.d/kcheckpass-trinity -%if 0%{?suse_version} == 0 -%{_sysconfdir}/pam.d/kscreensaver-trinity -%endif -%{tde_tdedocdir}/HTML/en/kdcop/ -%{tde_tdedocdir}/HTML/en/kdebugdialog// -%{tde_tdedocdir}/HTML/en/[kt]desu/ -%{tde_tdedocdir}/HTML/en/knetattach/ -%{tde_tdedocdir}/HTML/en/kxkb/ - -%post bin -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%postun bin -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} 2> /dev/null || : - -########## - -%package bin-devel -Summary: Development files for core binaries for the TDE base module -Group: Development/Libraries -Requires: %{name}-bin = %{version}-%{release} - -Obsoletes: tdebase-bin-devel < %{version}-%{release} -Provides: tdebase-bin-devel = %{version}-%{release} - -%description bin-devel -%{summary} - -%files bin-devel -%{tde_libdir}/libkhotkeys_shared.la -%{tde_libdir}/libkhotkeys_shared.so - -%post bin-devel -/sbin/ldconfig || : - -%postun bin-devel -/sbin/ldconfig || : - -########## - -%package data -Summary: shared data files for the TDE base module -Group: Environment/Libraries -Requires: %{name}-runtime-data-common = %{version}-%{release} - -Obsoletes: tdebase-data < %{version}-%{release} -Provides: tdebase-data = %{version}-%{release} - -%description data -This package contains the architecture-independent shared data files -needed for a basic TDE desktop installation. - -%files data -%defattr(-,root,root,-) -%{tde_datadir}/config/kshorturifilterrc -%{tde_datadir}/applnk/.hidden/battery.desktop -%{tde_datadir}/applnk/.hidden/bwarning.desktop -%{tde_datadir}/applnk/.hidden/cwarning.desktop -%{tde_datadir}/applnk/.hidden/.directory -%{tde_datadir}/applnk/.hidden/email.desktop -%{tde_datadir}/applnk/.hidden/kcmkonq.desktop -%{tde_datadir}/applnk/.hidden/kcmkxmlrpcd.desktop -%{tde_datadir}/applnk/.hidden/konqhtml.desktop -%{tde_datadir}/applnk/.hidden/passwords.desktop -%{tde_datadir}/applnk/.hidden/power.desktop -%{tde_datadir}/applnk/.hidden/socks.desktop -%{tde_datadir}/applnk/.hidden/userinfo.desktop -%{tde_datadir}/applnk/.hidden/virtualdesktops.desktop -%{tde_datadir}/apps/kaccess/eventsrc -%{tde_datadir}/apps/kcmcss/template.css -%{tde_datadir}/apps/kcminput/ -%{tde_datadir}/apps/kcmkeys/ -%{tde_datadir}/apps/kcmlocale/pics/background.png -%{tde_datadir}/apps/kconf_update/convertShortcuts.pl -%{tde_datadir}/apps/kconf_update/kaccel.upd -%{tde_datadir}/apps/kconf_update/kcmdisplayrc.upd -%{tde_datadir}/apps/kconf_update/kuriikwsfilter.upd -%{tde_datadir}/apps/kconf_update/mouse_cursor_theme.upd -%{tde_datadir}/apps/kconf_update/socks.upd -%{tde_datadir}/apps/kcontrol/ -%{tde_datadir}/apps/kdisplay/ -%{tde_datadir}/apps/kfontview/ -%{tde_datadir}/apps/kinfocenter/kinfocenterui.rc -%{tde_datadir}/apps/kthememanager/themes/* -%{tde_datadir}/icons/crystalsvg/*/apps/access.png -%{tde_datadir}/icons/crystalsvg/*/apps/acroread.png -%{tde_datadir}/icons/crystalsvg/*/apps/applixware.png -%{tde_datadir}/icons/crystalsvg/*/apps/arts.png -%{tde_datadir}/icons/crystalsvg/*/apps/background.png -%{tde_datadir}/icons/crystalsvg/*/apps/bell.png -%{tde_datadir}/icons/crystalsvg/*/apps/cache.png -%{tde_datadir}/icons/crystalsvg/*/apps/clanbomber.png -%{tde_datadir}/icons/crystalsvg/*/apps/clock.png -%{tde_datadir}/icons/crystalsvg/*/apps/colors.png -%{tde_datadir}/icons/crystalsvg/*/apps/date.png -%{tde_datadir}/icons/crystalsvg/*/apps/email.png -%{tde_datadir}/icons/crystalsvg/*/apps/energy.png -%{tde_datadir}/icons/crystalsvg/*/apps/energy_star.png -%{tde_datadir}/icons/crystalsvg/*/apps/filetypes.png -%{tde_datadir}/icons/crystalsvg/*/apps/fonts.png -%{tde_datadir}/icons/crystalsvg/*/apps/gimp.png -%{tde_datadir}/icons/crystalsvg/*/apps/help_index.png -%{tde_datadir}/icons/crystalsvg/*/apps/hwinfo.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmdevices.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmdf.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmkwm.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmmemory.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmpartitions.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmpci.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcontrol.png -%{tde_datadir}/icons/crystalsvg/*/apps/[kt]dmconfig.png -%{tde_datadir}/icons/crystalsvg/*/apps/key_bindings.png -%{tde_datadir}/icons/crystalsvg/*/apps/kfm_home.png -%{tde_datadir}/icons/crystalsvg/*/apps/kscreensaver.png -%{tde_datadir}/icons/crystalsvg/*/apps/kthememgr.png -%{tde_datadir}/icons/crystalsvg/*/apps/licq.png -%{tde_datadir}/icons/crystalsvg/*/apps/linuxconf.png -%{tde_datadir}/icons/crystalsvg/*/apps/locale.png -%{tde_datadir}/icons/crystalsvg/*/apps/looknfeel.png -%{tde_datadir}/icons/crystalsvg/*/apps/multimedia.png -%{tde_datadir}/icons/crystalsvg/*/apps/netscape.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_applications.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_development.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_favourite.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_games.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_multimedia.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_network.png -%{tde_datadir}/icons/crystalsvg/*/apps/package.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_settings.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_toys.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_utilities.png -%{tde_datadir}/icons/crystalsvg/*/apps/penguin.png -%{tde_datadir}/icons/crystalsvg/*/apps/personal.png -%{tde_datadir}/icons/crystalsvg/*/apps/phppg.png -%{tde_datadir}/icons/crystalsvg/*/apps/proxy.png -%{tde_datadir}/icons/crystalsvg/*/apps/pysol.png -%{tde_datadir}/icons/crystalsvg/*/apps/randr.png -%{tde_datadir}/icons/crystalsvg/*/apps/samba.png -%{tde_datadir}/icons/crystalsvg/*/apps/staroffice.png -%{tde_datadir}/icons/crystalsvg/*/apps/stylesheet.png -%{tde_datadir}/icons/crystalsvg/*/apps/terminal.png -%{tde_datadir}/icons/crystalsvg/*/apps/tux.png -%{tde_datadir}/icons/crystalsvg/*/apps/wp.png -%{tde_datadir}/icons/crystalsvg/*/apps/xclock.png -%{tde_datadir}/icons/crystalsvg/*/apps/xfmail.png -%{tde_datadir}/icons/crystalsvg/*/apps/xmag.png -%{tde_datadir}/icons/crystalsvg/*/apps/xpaint.png -%{tde_datadir}/icons/crystalsvg/scalable/apps/access.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/acroread.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/aim.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/aktion.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/antivirus.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/applixware.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/arts.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/background.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/bell.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/browser.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/cache.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/camera.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/clanbomber.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/clock.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/colors.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/core.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/date.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/display.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/download_manager.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/email.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/energy.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/error.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/fifteenpieces.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/filetypes.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/fonts.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/galeon.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/gnome_apps.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/hardware.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/hwinfo.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/ieee1394.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/kcmdevices.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/kcmkwm.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/kcmx.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/locale.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/my_mac.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/netscape.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/openoffice.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/package_development.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/package_toys.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/penguin.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/personal.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/quicktime.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/realplayer.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/samba.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/shell.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/staroffice.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/stylesheet.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/terminal.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/tux.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/wine.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/x.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/xapp.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/xcalc.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/xchat.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/xclock.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/xeyes.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/xpaint.svgz -%{tde_datadir}/icons/crystalsvg/*/devices/laptop.png -%{tde_datadir}/icons/crystalsvg/*/devices/laptop.svgz -%{tde_datadir}/icons/crystalsvg/*/actions/newfont.png -%{tde_datadir}/icons/crystalsvg/*/apps/abiword.png -%{tde_datadir}/icons/crystalsvg/*/apps/agent.png -%{tde_datadir}/icons/crystalsvg/*/apps/alevt.png -%{tde_datadir}/icons/crystalsvg/*/apps/assistant.png -%{tde_datadir}/icons/crystalsvg/*/apps/blender.png -%{tde_datadir}/icons/crystalsvg/*/apps/bluefish.png -%{tde_datadir}/icons/crystalsvg/*/apps/cookie.png -%{tde_datadir}/icons/crystalsvg/*/apps/designer.png -%{tde_datadir}/icons/crystalsvg/*/apps/dia.png -%{tde_datadir}/icons/crystalsvg/*/apps/dlgedit.png -%{tde_datadir}/icons/crystalsvg/*/apps/eclipse.png -%{tde_datadir}/icons/crystalsvg/*/apps/edu_languages.png -%{tde_datadir}/icons/crystalsvg/*/apps/edu_mathematics.png -%{tde_datadir}/icons/crystalsvg/*/apps/edu_miscellaneous.png -%{tde_datadir}/icons/crystalsvg/*/apps/edu_science.png -%{tde_datadir}/icons/crystalsvg/*/apps/emacs.png -%{tde_datadir}/icons/crystalsvg/*/apps/enhanced_browsing.png -%{tde_datadir}/icons/crystalsvg/*/apps/evolution.png -%{tde_datadir}/icons/crystalsvg/*/apps/fifteenpieces.png -%{tde_datadir}/icons/crystalsvg/*/apps/gabber.png -%{tde_datadir}/icons/crystalsvg/*/apps/gaim.png -%{tde_datadir}/icons/crystalsvg/*/apps/gnome_apps.png -%{tde_datadir}/icons/crystalsvg/*/apps/gnomemeeting.png -%{tde_datadir}/icons/crystalsvg/*/apps/gnucash.png -%{tde_datadir}/icons/crystalsvg/*/apps/gnumeric.png -%{tde_datadir}/icons/crystalsvg/*/apps/gv.png -%{tde_datadir}/icons/crystalsvg/*/apps/gvim.png -%{tde_datadir}/icons/crystalsvg/*/apps/icons.png -%{tde_datadir}/icons/crystalsvg/*/apps/iconthemes.png -%{tde_datadir}/icons/crystalsvg/*/apps/ieee1394.png -%{tde_datadir}/icons/crystalsvg/*/apps/input_devices_settings.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmkicker.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmmidi.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmprocessor.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmscsi.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmsound.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmsystem.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmx.png -%{tde_datadir}/icons/crystalsvg/*/apps/keyboard.png -%{tde_datadir}/icons/crystalsvg/*/apps/keyboard_layout.png -%{tde_datadir}/icons/crystalsvg/*/apps/knotify.png -%{tde_datadir}/icons/crystalsvg/*/apps/kvirc.png -%{tde_datadir}/icons/crystalsvg/*/apps/linguist.png -%{tde_datadir}/icons/crystalsvg/*/apps/lyx.png -%{tde_datadir}/icons/crystalsvg/*/apps/mac.png -%{tde_datadir}/icons/crystalsvg/*/apps/mathematica.png -%{tde_datadir}/icons/crystalsvg/*/apps/nedit.png -%{tde_datadir}/icons/crystalsvg/*/apps/opera.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_application.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_editors.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_edutainment.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_games_arcade.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_games_board.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_games_card.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_games_strategy.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_graphics.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_system.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_wordprocessing.png -%{tde_datadir}/icons/crystalsvg/*/apps/pan.png -%{tde_datadir}/icons/crystalsvg/*/apps/panel_settings.png -%{tde_datadir}/icons/crystalsvg/*/apps/plan.png -%{tde_datadir}/icons/crystalsvg/*/apps/planner.png -%{tde_datadir}/icons/crystalsvg/*/apps/pybliographic.png -%{tde_datadir}/icons/crystalsvg/*/apps/realplayer.png -%{tde_datadir}/icons/crystalsvg/*/apps/remote.png -%{tde_datadir}/icons/crystalsvg/*/apps/scribus.png -%{tde_datadir}/icons/crystalsvg/*/apps/sodipodi.png -%{tde_datadir}/icons/crystalsvg/*/apps/style.png -%{tde_datadir}/icons/crystalsvg/*/apps/usb.png -%{tde_datadir}/icons/crystalsvg/*/apps/vnc.png -%{tde_datadir}/icons/crystalsvg/*/apps/wabi.png -%{tde_datadir}/icons/crystalsvg/*/apps/wine.png -%{tde_datadir}/icons/crystalsvg/*/apps/xcalc.png -%{tde_datadir}/icons/crystalsvg/*/apps/xchat.png -%{tde_datadir}/icons/crystalsvg/*/apps/xclipboard.png -%{tde_datadir}/icons/crystalsvg/*/apps/xconsole.png -%{tde_datadir}/icons/crystalsvg/*/apps/xedit.png -%{tde_datadir}/icons/crystalsvg/*/apps/xemacs.png -%{tde_datadir}/icons/crystalsvg/*/apps/xeyes.png -%{tde_datadir}/icons/crystalsvg/*/apps/xfig.png -%{tde_datadir}/icons/crystalsvg/*/apps/xload.png -%{tde_datadir}/icons/crystalsvg/*/apps/xmms.png -%{tde_datadir}/icons/crystalsvg/*/apps/xosview.png -%{tde_datadir}/icons/crystalsvg/*/apps/xv.png -%{tde_datadir}/icons/crystalsvg/*/apps/galeon.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmdrkonqi.png -%{tde_datadir}/icons/crystalsvg/*/apps/pinguin.png -%{tde_datadir}/icons/crystalsvg/*/apps/x.png -%{tde_datadir}/icons/crystalsvg/*/apps/xapp.png -%{tde_datadir}/icons/crystalsvg/*/apps/xawtv.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmopengl.png -%{tde_datadir}/icons/crystalsvg/*/apps/wmaker_apps.png -%{tde_datadir}/icons/crystalsvg/*/apps/qtella.png -%{tde_datadir}/services/searchproviders -%{tde_datadir}/services/useragentstrings/*.desktop -%{tde_datadir}/servicetypes/searchprovider.desktop -%{tde_datadir}/servicetypes/uasprovider.desktop -%exclude %{tde_datadir}/sounds/pop.wav -%{tde_datadir}/sounds/ -%{tde_datadir}/wallpapers/* - -%if "%{tde_prefix}" != "/usr" -%{tde_prefix}/etc/xdg/menus/applications-merged/kde-essential.menu -%{tde_prefix}/etc/xdg/menus/kde-information.menu -%{tde_prefix}/etc/xdg/menus/kde-screensavers.menu -%{tde_prefix}/etc/xdg/menus/kde-settings.menu -%else -%{_sysconfdir}/xdg/menus/applications-merged/kde-essential.menu -%{_sysconfdir}/xdg/menus/kde-information.menu -%{_sysconfdir}/xdg/menus/kde-screensavers.menu -%{_sysconfdir}/xdg/menus/kde-settings.menu -%endif - -%{tde_tdedocdir}/HTML/en/kcontrol/ -%exclude %{tde_tdedocdir}/HTML/en/kcontrol/kcmkonsole/ -%{tde_tdedocdir}/HTML/en/kinfocenter/ - -%post data -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -%if 0%{?mdkversion} -# Mandriva-specific: we have to choose a background for current distribution variant (Free, One, Powerpack, ...) -# First, we read the "product" key in /etc/product.id -eval $(tr "," ";" /dev/null -# Then, we create a symbolic link to the corresponding background -%__ln -sf "/usr/share/mdk/backgrounds/Mandriva-${product:-Free}-1280x1024-1300.jpg" "%{tde_bg}" -%endif - -%postun data -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -########## - -%package kio-plugins -Summary: core I/O slaves for TDE -Group: Applications/Utilities -Requires: trinity-kdesktop = %{version}-%{release} -Requires: cyrus-sasl -Requires: psmisc -%if 0%{?with_hal} -Requires: hal >= 0.4.8 -%endif -%if 0%{?rhel} == 4 || 0%{?suse_version} -Requires: cryptsetup -%else -Requires: cryptsetup-luks -%endif - -Obsoletes: tdebase-kio-plugins < %{version}-%{release} -Provides: tdebase-kio-plugins = %{version}-%{release} - -%description kio-plugins -This package includes the base kioslaves. They include, amongst many -others, file, http, and ftp. - -It also includes the media kioslave, which handles removable devices, -and which works best with hal (and therefore udev) and pmount. Media -also extends the functionality of many other kioslaves. To use this -service, please make sure that your user is a member of the plugdev -group. - -%files kio-plugins -%defattr(-,root,root,-) -%{tde_bindir}/kio_media_mounthelper -%{tde_bindir}/ktrash -%{tde_tdelibdir}/cursorthumbnail.la -%{tde_tdelibdir}/cursorthumbnail.so -%{tde_tdelibdir}/djvuthumbnail.la -%{tde_tdelibdir}/djvuthumbnail.so -%{tde_tdelibdir}/htmlthumbnail.la -%{tde_tdelibdir}/htmlthumbnail.so -%{tde_tdelibdir}/imagethumbnail.la -%{tde_tdelibdir}/imagethumbnail.so -%{tde_tdelibdir}/kcm_cgi.la -%{tde_tdelibdir}/kcm_cgi.so -%{tde_tdelibdir}/kcm_media.la -%{tde_tdelibdir}/kcm_media.so -%{tde_tdelibdir}/kded_homedirnotify.la -%{tde_tdelibdir}/kded_homedirnotify.so -%{tde_tdelibdir}/kded_mediamanager.la -%{tde_tdelibdir}/kded_mediamanager.so -%{tde_tdelibdir}/kded_medianotifier.la -%{tde_tdelibdir}/kded_medianotifier.so -%{tde_tdelibdir}/kded_remotedirnotify.la -%{tde_tdelibdir}/kded_remotedirnotify.so -%{tde_tdelibdir}/kded_systemdirnotify.la -%{tde_tdelibdir}/kded_systemdirnotify.so -%{tde_tdelibdir}/kfile_media.la -%{tde_tdelibdir}/kfile_media.so -%{tde_tdelibdir}/kfile_trash.la -%{tde_tdelibdir}/kfile_trash.so -%{tde_tdelibdir}/kio_about.la -%{tde_tdelibdir}/kio_about.so -%{tde_tdelibdir}/kio_cgi.la -%{tde_tdelibdir}/kio_cgi.so -%{tde_tdelibdir}/kio_filter.la -%{tde_tdelibdir}/kio_filter.so -%{tde_tdelibdir}/kio_finger.la -%{tde_tdelibdir}/kio_finger.so -%{tde_tdelibdir}/kio_fish.la -%{tde_tdelibdir}/kio_fish.so -%{tde_tdelibdir}/kio_floppy.la -%{tde_tdelibdir}/kio_floppy.so -%{tde_tdelibdir}/kio_home.la -%{tde_tdelibdir}/kio_home.so -%{tde_tdelibdir}/kio_info.la -%{tde_tdelibdir}/kio_info.so -%{tde_tdelibdir}/kio_mac.la -%{tde_tdelibdir}/kio_mac.so -%{tde_tdelibdir}/kio_man.la -%{tde_tdelibdir}/kio_man.so -%{tde_tdelibdir}/kio_media.la -%{tde_tdelibdir}/kio_media.so -%{tde_tdelibdir}/kio_nfs.la -%{tde_tdelibdir}/kio_nfs.so -%{tde_tdelibdir}/kio_remote.la -%{tde_tdelibdir}/kio_remote.so -%{tde_tdelibdir}/kio_settings.la -%{tde_tdelibdir}/kio_settings.so -%{tde_tdelibdir}/kio_sftp.la -%{tde_tdelibdir}/kio_sftp.so -%{tde_tdelibdir}/kio_smb.la -%{tde_tdelibdir}/kio_smb.so -%{tde_tdelibdir}/kio_system.la -%{tde_tdelibdir}/kio_system.so -%{tde_tdelibdir}/kio_tar.la -%{tde_tdelibdir}/kio_tar.so -%{tde_tdelibdir}/kio_thumbnail.la -%{tde_tdelibdir}/kio_thumbnail.so -%{tde_tdelibdir}/kio_trash.la -%{tde_tdelibdir}/kio_trash.so -%{tde_tdelibdir}/libkmanpart.la -%{tde_tdelibdir}/libkmanpart.so -%{tde_tdelibdir}/textthumbnail.la -%{tde_tdelibdir}/textthumbnail.so -%{tde_tdeappdir}/kcmcgi.desktop -%{tde_datadir}/apps/kio_finger/kio_finger.css -%{tde_datadir}/apps/kio_finger/kio_finger.pl -%{tde_datadir}/apps/kio_info/kde-info2html -%{tde_datadir}/apps/kio_info/kde-info2html.conf -%{tde_datadir}/apps/kio_man/kio_man.css -%{tde_datadir}/apps/konqueror/dirtree/remote/smb-network.desktop -%{tde_datadir}/apps/remoteview/smb-network.desktop -%{tde_datadir}/apps/systemview/*.desktop -%{tde_datadir}/config.kcfg/mediamanagersettings.kcfg -%{tde_datadir}/mimelnk/application/x-smb-server.desktop -%{tde_datadir}/mimelnk/application/x-smb-workgroup.desktop -%{tde_datadir}/mimelnk/inode/system_directory.desktop -%{tde_datadir}/mimelnk/media/*.desktop -%{tde_datadir}/services/about.protocol -%{tde_datadir}/services/applications.protocol -%{tde_datadir}/services/ar.protocol -%{tde_datadir}/services/bzip.protocol -%{tde_datadir}/services/bzip2.protocol -%{tde_datadir}/services/cgi.protocol -%{tde_datadir}/services/cursorthumbnail.desktop -%{tde_datadir}/services/djvuthumbnail.desktop -%{tde_datadir}/services/finger.protocol -%{tde_datadir}/services/fish.protocol -%{tde_datadir}/services/floppy.protocol -%{tde_datadir}/services/gzip.protocol -%{tde_datadir}/services/home.protocol -%{tde_datadir}/services/htmlthumbnail.desktop -%{tde_datadir}/services/imagethumbnail.desktop -%{tde_datadir}/services/info.protocol -%{tde_datadir}/services/kded/homedirnotify.desktop -%{tde_datadir}/services/kded/mediamanager.desktop -%{tde_datadir}/services/kded/medianotifier.desktop -%{tde_datadir}/services/kded/remotedirnotify.desktop -%{tde_datadir}/services/kded/systemdirnotify.desktop -%{tde_datadir}/services/kfile_media.desktop -%{tde_datadir}/services/kfile_trash_system.desktop -%{tde_datadir}/services/kmanpart.desktop -%{tde_datadir}/services/mac.protocol -%{tde_datadir}/services/man.protocol -%{tde_datadir}/services/media.protocol -%{tde_datadir}/services/nfs.protocol -%{tde_datadir}/services/nxfish.protocol -%{tde_datadir}/services/programs.protocol -%{tde_datadir}/services/remote.protocol -%{tde_datadir}/services/settings.protocol -%{tde_datadir}/services/sftp.protocol -%{tde_datadir}/services/smb.protocol -%{tde_datadir}/services/system.protocol -%{tde_datadir}/services/tar.protocol -%{tde_datadir}/services/textthumbnail.desktop -%{tde_datadir}/services/thumbnail.protocol -%{tde_datadir}/services/trash.protocol -%{tde_datadir}/services/zip.protocol -%{tde_datadir}/servicetypes/thumbcreator.desktop -%{tde_datadir}/services/kfile_trash.desktop -%{tde_tdedocdir}/HTML/en/kioslave/ -%if 0%{?with_exr} -%{tde_tdelibdir}/exrthumbnail.la -%{tde_tdelibdir}/exrthumbnail.so -%{tde_datadir}/services/exrthumbnail.desktop -%endif -%if 0%{?with_hal} -%{tde_tdelibdir}/media_propsdlgplugin.la -%{tde_tdelibdir}/media_propsdlgplugin.so -%{tde_datadir}/services/media_propsdlgplugin.desktop -%endif - -%post kio-plugins -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%postun kio-plugins -update-desktop-database %{tde_appdir} 2> /dev/null || : - - -########## - -%package -n trinity-kdepasswd -Summary: password changer for TDE -Group: Applications/Utilities - -%description -n trinity-kdepasswd -This is a simple application which allows users to change their -system passwords. - -%files -n trinity-kdepasswd -%defattr(-,root,root,-) -%{tde_bindir}/kdepasswd -%{tde_tdelibdir}/kcm_useraccount.la -%{tde_tdelibdir}/kcm_useraccount.so -%{tde_tdeappdir}/kcm_useraccount.desktop -%{tde_tdeappdir}/kdepasswd.desktop -%exclude %{tde_datadir}/apps/[kt]dm/pics/users/default1.png -%exclude %{tde_datadir}/apps/[kt]dm/pics/users/default2.png -%exclude %{tde_datadir}/apps/[kt]dm/pics/users/default3.png -%exclude %{tde_datadir}/apps/[kt]dm/pics/users/root1.png -%{tde_datadir}/apps/[kt]dm/pics/users/*.png -%{tde_datadir}/config.kcfg/kcm_useraccount.kcfg -%{tde_datadir}/config.kcfg/kcm_useraccount_pass.kcfg - -%post -n trinity-kdepasswd -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%postun -n trinity-kdepasswd -update-desktop-database %{tde_appdir} 2> /dev/null || : - -########## - -%package -n trinity-tdeprint -Summary: print system for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} -Requires: psutils - -%description -n trinity-tdeprint -This package contains the TDE printing subsystem. It can use CUPS, -lpd-ng or the traditional lpd. It also includes support for fax and -pdf printing. - -Installation of smbclient will make you able to use smb shared printers. - -%files -n trinity-tdeprint -%defattr(-,root,root,-) -%{tde_bindir}/[kt]deprintfax -%{tde_bindir}/kjobviewer -%{tde_bindir}/kprinter -%{tde_tdelibdir}/kcm_printmgr.la -%{tde_tdelibdir}/kcm_printmgr.so -%{tde_tdelibdir}/kio_print.la -%{tde_tdelibdir}/kio_print.so -%{tde_tdelibdir}/kjobviewer.la -%{tde_tdelibdir}/kjobviewer.so -%{tde_tdelibdir}/kprinter.la -%{tde_tdelibdir}/kprinter.so -%{tde_tdelibdir}/lib[kt]deprint_part.la -%{tde_tdelibdir}/lib[kt]deprint_part.so -%{tde_libdir}/lib[kt]deinit_kjobviewer.la -%{tde_libdir}/lib[kt]deinit_kjobviewer.so -%{tde_libdir}/lib[kt]deinit_kprinter.la -%{tde_libdir}/lib[kt]deinit_kprinter.so -%{tde_tdeappdir}/[kt]deprintfax.desktop -%{tde_tdeappdir}/[kt]jobviewer.desktop -%{tde_tdeappdir}/printers.desktop -%{tde_datadir}/apps/[kt]deprint/ -%{tde_datadir}/apps/[kt]deprintfax/ -%{tde_datadir}/apps/[kt]jobviewer/ -%{tde_datadir}/apps/[kt]deprint_part/kdeprint_part.rc -%{tde_datadir}/icons/hicolor/*/apps/kdeprintfax.png -%{tde_datadir}/icons/hicolor/*/apps/kjobviewer.png -%{tde_datadir}/icons/hicolor/*/apps/printmgr.png -%{tde_datadir}/icons/hicolor/scalable/apps/kdeprintfax.svgz -%{tde_datadir}/icons/hicolor/scalable/apps/kjobviewer.svgz -%{tde_datadir}/icons/hicolor/scalable/apps/printmgr.svgz -%{tde_datadir}/mimelnk/print/class.desktop -%{tde_datadir}/mimelnk/print/driver.desktop -%{tde_datadir}/mimelnk/print/folder.desktop -%{tde_datadir}/mimelnk/print/jobs.desktop -%{tde_datadir}/mimelnk/print/manager.desktop -%{tde_datadir}/mimelnk/print/printer.desktop -%{tde_datadir}/mimelnk/print/printermodel.desktop -%{tde_datadir}/services/kdeprint_part.desktop -%{tde_datadir}/services/print.protocol -%{tde_datadir}/services/printdb.protocol -%{tde_tdedocdir}/HTML/en/[kt]deprint/ - -%post -n trinity-tdeprint -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -%postun -n trinity-tdeprint -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -########## - -%package -n trinity-kdesktop -Summary: miscellaneous binaries and files for the TDE desktop -Group: Applications/Utilities -Requires: %{name}-bin = %{version}-%{release} -Requires: %{name}-data = %{version}-%{release} -Requires: trinity-libkonq = %{version}-%{release} -Requires: eject -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -Requires: xdg-utils -%endif - -%description -n trinity-kdesktop -This package contains miscellaneous binaries and files integral to -the TDE desktop. - -%files -n trinity-kdesktop -%defattr(-,root,root,-) -%{tde_datadir}/config/kdesktop_custom_menu1 -%{tde_datadir}/config/kdesktop_custom_menu2 -%{tde_bindir}/kcheckrunning -%{tde_bindir}/kxdglauncher -%{tde_bindir}/kdeeject -%{tde_bindir}/kdesktop -%{tde_bindir}/kdesktop_lock -%{tde_bindir}/kwebdesktop -%{tde_tdelibdir}/kdesktop.la -%{tde_tdelibdir}/kdesktop.so -%{tde_libdir}/lib[kt]deinit_kdesktop.la -%{tde_libdir}/lib[kt]deinit_kdesktop.so -%{tde_datadir}/apps/kdesktop/ -%{tde_datadir}/apps/konqueror/servicemenus/kdesktopSetAsBackground.desktop -%{tde_datadir}/autostart/kdesktop.desktop -%{tde_datadir}/config.kcfg/kdesktop.kcfg -%{tde_datadir}/config.kcfg/klaunch.kcfg -%{tde_datadir}/config.kcfg/kwebdesktop.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/error.png - -%post -n trinity-kdesktop -/sbin/ldconfig || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -%postun -n trinity-kdesktop -/sbin/ldconfig || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -########## - -%package -n trinity-kdesktop-devel -Summary: Development files for kdesktop -Group: Development/Libraries -Requires: trinity-kdesktop = %{version}-%{release} - -%description -n trinity-kdesktop-devel -%{summary} - -%files -n trinity-kdesktop-devel -%{tde_tdeincludedir}/KBackgroundIface.h -%{tde_tdeincludedir}/KDesktopIface.h -%{tde_tdeincludedir}/KScreensaverIface.h - -########## - -%package -n trinity-tdm -Summary: X Display manager for TDE -Group: Applications/Utilities -Requires: %{name}-bin = %{version}-%{release} -Requires: %{name}-data = %{version}-%{release} -Requires: pam - -# Provides the global Xsession script (/etc/X11/xinit/Xsession or /etc/X11/Xsession) -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} == 4 -Requires: xinitrc -%endif -%if 0%{?suse_version} -Requires: xdm -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} -Requires: xorg-x11-xinit -%endif - -# Required for Fedora LiveCD -Provides: service(graphical-login) - -%description -n trinity-tdm -tdm manages a collection of X servers, which may be on the local host or -remote machines. It provides services similar to those provided by init, -getty, and login on character-based terminals: prompting for login name and -password, authenticating the user, and running a session. tdm supports XDMCP -(X Display Manager Control Protocol) and can also be used to run a chooser -process which presents the user with a menu of possible hosts that offer -XDMCP display management. - -A collection of icons to associate with individual users is included with -TDE, but as part of the kdepasswd package. - -The menu package will help to provide TDM with a list of window managers -that can be launched, if the window manager does not register with TDM -already. Most users won't need this. - -%files -n trinity-tdm -%defattr(-,root,root,-) -%{tde_tdelibdir}/kgreet_pam.la -%{tde_tdelibdir}/kgreet_pam.so -%{tde_bindir}/gen[kt]dmconf -%{tde_bindir}/[kt]dm -%{tde_bindir}/[kt]dm_config -%{tde_bindir}/[kt]dmctl -%{tde_bindir}/[kt]dm_greet -%{tde_bindir}/krootimage -%{tde_datadir}/apps/[kt]dm/pics/kdelogo.png -%{tde_datadir}/apps/[kt]dm/pics/kdelogo-crystal.png -%{tde_datadir}/apps/[kt]dm/pics/shutdown.jpg -%{tde_datadir}/apps/[kt]dm/pics/users/default1.png -%{tde_datadir}/apps/[kt]dm/pics/users/default2.png -%{tde_datadir}/apps/[kt]dm/pics/users/default3.png -%{tde_datadir}/apps/[kt]dm/pics/users/root1.png -%{tde_datadir}/apps/[kt]dm/sessions/*.desktop -%{tde_datadir}/apps/[kt]dm/themes/ -%{tde_datadir}/config/[kt]dm/ -%{tde_tdedocdir}/HTML/en/[kt]dm/ -%if 0%{?suse_version} == 0 -%{_sysconfdir}/pam.d/kdm-trinity -%{_sysconfdir}/pam.d/kdm-trinity-np -%endif - -# Distribution specific stuff -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%{_usr}/share/xsessions/tde.desktop -%endif - -# https://wiki.mageia.org/en/How_to_add_a_new_Window_Manager_or_Display_Manager -%if 0%{?mgaversion} || 0%{?mdkversion} -%{_sysconfdir}/X11/wmsession.d/45TDE -%{_datadir}/X11/dm.d/45TDE.conf -%endif - -########## - -%package -n trinity-tdm-devel -Summary: Development files for tdm -Group: Development/Libraries -Requires: trinity-tdm = %{version}-%{release} - -%description -n trinity-tdm-devel -%{summary} - -%files -n trinity-tdm-devel -%{tde_tdeincludedir}/kgreeterplugin.h - -########## - -%package -n trinity-kfind -Summary: file-find utility for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-kfind -kfind can be used to find files and directories on your -workstations. - -%files -n trinity-kfind -%defattr(-,root,root,-) -%{tde_bindir}/kfind -%{tde_tdelibdir}/libkfindpart.la -%{tde_tdelibdir}/libkfindpart.so -%{tde_tdeappdir}/Kfind.desktop -%{tde_datadir}/apps/kfindpart/ -%{tde_datadir}/icons/hicolor/*/apps/kfind.png -%{tde_datadir}/services/kfindpart.desktop -%{tde_datadir}/servicetypes/findpart.desktop -%{tde_tdedocdir}/HTML/en/kfind/ - -%post -n trinity-kfind -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -%postun -n trinity-kfind -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -########## - -%package -n trinity-khelpcenter -Summary: help center for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} -Requires: htdig - -%description -n trinity-khelpcenter -The TDE Help Center provides documentation on how to use the KDE desktop. - -The htdig package is needed to build a searchable archive of TDE -documentation. - -%files -n trinity-khelpcenter -%defattr(-,root,root,-) -%{tde_bindir}/khc_beagle_index.pl -%{tde_bindir}/khc_beagle_search.pl -%{tde_bindir}/khc_docbookdig.pl -%{tde_bindir}/khc_htdig.pl -%{tde_bindir}/khc_htsearch.pl -%{tde_bindir}/khc_indexbuilder -%{tde_bindir}/khc_mansearch.pl -%{tde_bindir}/khelpcenter -%{tde_tdelibdir}/khelpcenter.la -%{tde_tdelibdir}/khelpcenter.so -%{tde_libdir}/lib[kt]deinit_khelpcenter.la -%{tde_libdir}/lib[kt]deinit_khelpcenter.so -%{tde_tdeappdir}/Help.desktop -%{tde_datadir}/apps/khelpcenter/ -%{tde_datadir}/config.kcfg/khelpcenter.kcfg -%{tde_datadir}/icons/hicolor/*/apps/khelpcenter.* -%{tde_datadir}/services/khelpcenter.desktop -%{tde_tdedocdir}/HTML/en/khelpcenter/ - -%post -n trinity-khelpcenter -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -%postun -n trinity-khelpcenter -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -########## - -%package -n trinity-kicker -Summary: desktop panel for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-kicker -Kicker provides the TDE panel on you desktop. It can be used as a -program launcher and can load plugins to provide additional -functionality. - -%files -n trinity-kicker -%defattr(-,root,root,-) -%{tde_bindir}/appletproxy -%{tde_bindir}/extensionproxy -%{tde_bindir}/kasbar -%{tde_bindir}/kicker -%{tde_libdir}/kconf_update_bin/kicker-3.4-reverseLayout -%{tde_tdelibdir}/appletproxy.la -%{tde_tdelibdir}/appletproxy.so -%{tde_tdelibdir}/clock_panelapplet.la -%{tde_tdelibdir}/clock_panelapplet.so -%{tde_tdelibdir}/dockbar_panelextension.la -%{tde_tdelibdir}/dockbar_panelextension.so -%{tde_tdelibdir}/extensionproxy.la -%{tde_tdelibdir}/extensionproxy.so -%{tde_tdelibdir}/kasbar_panelextension.la -%{tde_tdelibdir}/kasbar_panelextension.so -%{tde_tdelibdir}/kicker.la -%{tde_tdelibdir}/kickermenu_find.la -%{tde_tdelibdir}/kickermenu_find.so -%{tde_tdelibdir}/kickermenu_kate.so -%{tde_tdelibdir}/kickermenu_kate.la -%{tde_tdelibdir}/kickermenu_[kt]deprint.la -%{tde_tdelibdir}/kickermenu_[kt]deprint.so -%{tde_tdelibdir}/kickermenu_konqueror.la -%{tde_tdelibdir}/kickermenu_konqueror.so -%{tde_tdelibdir}/kickermenu_konsole.la -%{tde_tdelibdir}/kickermenu_konsole.so -%{tde_tdelibdir}/kickermenu_prefmenu.la -%{tde_tdelibdir}/kickermenu_prefmenu.so -%{tde_tdelibdir}/kickermenu_recentdocs.la -%{tde_tdelibdir}/kickermenu_recentdocs.so -%{tde_tdelibdir}/kickermenu_remotemenu.la -%{tde_tdelibdir}/kickermenu_remotemenu.so -%{tde_tdelibdir}/kickermenu_systemmenu.la -%{tde_tdelibdir}/kickermenu_systemmenu.so -%{tde_tdelibdir}/kicker.so -%{tde_tdelibdir}/launcher_panelapplet.la -%{tde_tdelibdir}/launcher_panelapplet.so -%{tde_tdelibdir}/lockout_panelapplet.la -%{tde_tdelibdir}/lockout_panelapplet.so -%{tde_tdelibdir}/media_panelapplet.la -%{tde_tdelibdir}/media_panelapplet.so -%{tde_tdelibdir}/menu_panelapplet.la -%{tde_tdelibdir}/menu_panelapplet.so -%{tde_tdelibdir}/minipager_panelapplet.la -%{tde_tdelibdir}/minipager_panelapplet.so -%{tde_tdelibdir}/naughty_panelapplet.la -%{tde_tdelibdir}/naughty_panelapplet.so -%{tde_tdelibdir}/run_panelapplet.la -%{tde_tdelibdir}/run_panelapplet.so -%{tde_tdelibdir}/sidebar_panelextension.la -%{tde_tdelibdir}/sidebar_panelextension.so -%{tde_tdelibdir}/systemtray_panelapplet.la -%{tde_tdelibdir}/systemtray_panelapplet.so -%{tde_tdelibdir}/taskbar_panelapplet.la -%{tde_tdelibdir}/taskbar_panelapplet.so -%{tde_tdelibdir}/taskbar_panelextension.la -%{tde_tdelibdir}/taskbar_panelextension.so -%{tde_tdelibdir}/trash_panelapplet.la -%{tde_tdelibdir}/trash_panelapplet.so -%{tde_libdir}/libkasbar.so.* -%{tde_libdir}/lib[kt]deinit_appletproxy.la -%{tde_libdir}/lib[kt]deinit_appletproxy.so -%{tde_libdir}/lib[kt]deinit_extensionproxy.la -%{tde_libdir}/lib[kt]deinit_extensionproxy.so -%{tde_libdir}/lib[kt]deinit_kicker.la -%{tde_libdir}/lib[kt]deinit_kicker.so -%{tde_libdir}/libkickermain.so.* -%{tde_libdir}/libtaskbar.so.* -%{tde_libdir}/libtaskmanager.so.* -%{tde_libdir}/libkickoffsearch_interfaces.so.* -%{tde_tdeappdir}/kcmkicker.desktop -%{tde_datadir}/applnk/.hidden/kicker_config_arrangement.desktop -%{tde_datadir}/applnk/.hidden/kicker_config_hiding.desktop -%{tde_datadir}/applnk/.hidden/kicker_config_menus.desktop -%{tde_datadir}/apps/clockapplet/pics/lcd.png -%{tde_datadir}/apps/kconf_update/kicker-3.1-properSizeSetting.pl -%{tde_datadir}/apps/kconf_update/kicker-3.5-kconfigXTize.pl -%{tde_datadir}/apps/kconf_update/kicker-3.5-taskbarEnums.pl -%{tde_datadir}/apps/kconf_update/kickerrc.upd -%{tde_datadir}/apps/kicker/ -%exclude %{tde_datadir}/apps/kicker/applets/klipper.desktop -%exclude %{tde_datadir}/apps/kicker/applets/ksysguardapplet.desktop -%{tde_datadir}/apps/naughtyapplet/pics/naughty-happy.png -%{tde_datadir}/apps/naughtyapplet/pics/naughty-sad.png -%{tde_datadir}/autostart/panel.desktop -%{tde_datadir}/config.kcfg/kickerSettings.kcfg -%{tde_datadir}/config.kcfg/launcherapplet.kcfg -%{tde_datadir}/config.kcfg/pagersettings.kcfg -%{tde_datadir}/config.kcfg/taskbar.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/systemtray.png -%{tde_datadir}/icons/crystalsvg/*/apps/taskbar.png -%{tde_datadir}/icons/crystalsvg/*/apps/kbinaryclock.png -%{tde_datadir}/icons/crystalsvg/*/apps/kdisknav.png -%{tde_datadir}/icons/crystalsvg/*/apps/kicker.png -%{tde_datadir}/icons/crystalsvg/*/apps/panel.png -%{tde_datadir}/icons/crystalsvg/*/apps/runprocesscatcher.png -%{tde_datadir}/icons/crystalsvg/*/apps/window_list.png -%{tde_datadir}/icons/crystalsvg/*/apps/kbinaryclock.svgz -%{tde_datadir}/icons/crystalsvg/*/apps/systemtray.svgz -%{tde_datadir}/servicetypes/kickoffsearchplugin.desktop -%{tde_tdedocdir}/HTML/en/kicker/ - -%post -n trinity-kicker -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -%postun -n trinity-kicker -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -########## - -%package -n trinity-kicker-devel -Summary: Development files for kicker -Group: Development/Libraries -Requires: trinity-kicker = %{version}-%{release} - -%description -n trinity-kicker-devel -%{summary} - -%files -n trinity-kicker-devel -%{tde_tdeincludedir}/kickoff-search-plugin.h -%{tde_tdeincludedir}/kickoffsearchinterface.h -%{tde_libdir}/libkasbar.la -%{tde_libdir}/libkasbar.so -%{tde_libdir}/libkickermain.la -%{tde_libdir}/libkickermain.so -%{tde_libdir}/libkickoffsearch_interfaces.la -%{tde_libdir}/libkickoffsearch_interfaces.so -%{tde_libdir}/libtaskbar.la -%{tde_libdir}/libtaskbar.so -%{tde_libdir}/libtaskmanager.la -%{tde_libdir}/libtaskmanager.so - -%post -n trinity-kicker-devel -/sbin/ldconfig || : - -%postun -n trinity-kicker-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-klipper -Summary: clipboard utility for Trinity -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-klipper -klipper provides standard clipboard functions (cut and paste, history -saving) plus additional features, like the ability to offer actions to -take dependent on the clipboard contents. For example, it can launch a -web browser if the clipboard contains a URL. - -%files -n trinity-klipper -%defattr(-,root,root,-) -%{tde_bindir}/klipper -%{tde_datadir}/config/klipperrc -%{tde_tdelibdir}/klipper.la -%{tde_tdelibdir}/klipper.so -%{tde_tdelibdir}/klipper_panelapplet.la -%{tde_tdelibdir}/klipper_panelapplet.so -%{tde_libdir}/lib[kt]deinit_klipper.la -%{tde_libdir}/lib[kt]deinit_klipper.so -%{tde_tdeappdir}/klipper.desktop -%{tde_datadir}/apps/kconf_update/klipper-1-2.pl -%{tde_datadir}/apps/kconf_update/klipper-trinity1.sh -%{tde_datadir}/apps/kconf_update/klipperrc.upd -%{tde_datadir}/apps/kconf_update/klippershortcuts.upd -%{tde_datadir}/apps/kicker/applets/klipper.desktop -%{tde_datadir}/autostart/klipper.desktop -%{tde_datadir}/icons/hicolor/*/apps/klipper.* -%{tde_tdedocdir}/HTML/en/klipper/ - -%post -n trinity-klipper -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -%postun -n trinity-klipper -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -########## - -%package -n trinity-kmenuedit -Summary: menu editor for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-kmenuedit -The TDE menu editor allows you to make customisations to the KDE menu -structure. - -%files -n trinity-kmenuedit -%defattr(-,root,root,-) -%{tde_bindir}/kcontroledit -%{tde_bindir}/kmenuedit -%{tde_tdelibdir}/kcontroledit.la -%{tde_tdelibdir}/kcontroledit.so -%{tde_tdelibdir}/kmenuedit.la -%{tde_tdelibdir}/kmenuedit.so -%{tde_libdir}/lib[kt]deinit_kcontroledit.la -%{tde_libdir}/lib[kt]deinit_kcontroledit.so -%{tde_libdir}/lib[kt]deinit_kmenuedit.la -%{tde_libdir}/lib[kt]deinit_kmenuedit.so -%{tde_tdeappdir}/kmenuedit.desktop -%{tde_datadir}/applnk/System/kmenuedit.desktop -%{tde_datadir}/apps/kcontroledit/ -%{tde_datadir}/apps/kmenuedit/ -%{tde_tdedocdir}/HTML/en/kmenuedit/ - -%post -n trinity-kmenuedit -update-desktop-database %{tde_appdir} 2> /dev/null || : -/sbin/ldconfig || : - -%postun -n trinity-kmenuedit -update-desktop-database %{tde_appdir} 2> /dev/null || : -/sbin/ldconfig || : - -########## - -%package -n trinity-konqueror -Summary: TDE's advanced file manager, web browser and document viewer -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} -Requires: trinity-kcontrol = %{version}-%{release} -Requires: %{name}-kio-plugins = %{version}-%{release} -Requires: trinity-kdesktop = %{version}-%{release} -Requires: trinity-kfind = %{version}-%{release} -Requires: trinity-libkonq = %{version}-%{release} - -%description -n trinity-konqueror -Konqueror is the file manager for the Trinity Desktop Environment. -It supports basic file management on local UNIX filesystems, -from simple cut/copy and paste operations to advanced remote -and local network file browsing. - -It is also the canvas for all the latest TDE technology, -from KIO slaves (which provide mechanisms for file access) to -component embedding via the KParts object interface, and it -is one of the most customizable applications available. - -Konqueror is an Open Source web browser with HTML4.0 compliance, -supporting Java applets, JavaScript, CSS1 and (partially) CSS2, -as well as Netscape plugins (for example, Flash or RealVideo plugins). - -It is a universal viewing application, capable of embedding -read-only viewing components in itself to view documents without -ever launching another application. - -%files -n trinity-konqueror -%defattr(-,root,root,-) -%{tde_datadir}/config/konqsidebartng.rc -%{tde_bindir}/kbookmarkmerger -%{tde_bindir}/keditbookmarks -%{tde_bindir}/kfmclient -%{tde_bindir}/konqueror -%{tde_tdelibdir}/kcm_history.la -%{tde_tdelibdir}/kcm_history.so -%{tde_tdelibdir}/kded_konqy_preloader.la -%{tde_tdelibdir}/kded_konqy_preloader.so -%{tde_tdelibdir}/keditbookmarks.la -%{tde_tdelibdir}/keditbookmarks.so -%{tde_tdelibdir}/kfmclient.la -%{tde_tdelibdir}/kfmclient.so -%{tde_tdelibdir}/konq_aboutpage.la -%{tde_tdelibdir}/konq_aboutpage.so -%{tde_tdelibdir}/konq_iconview.la -%{tde_tdelibdir}/konq_iconview.so -%{tde_tdelibdir}/konq_listview.la -%{tde_tdelibdir}/konq_listview.so -%{tde_tdelibdir}/konq_remoteencoding.la -%{tde_tdelibdir}/konq_remoteencoding.so -%{tde_tdelibdir}/konq_shellcmdplugin.la -%{tde_tdelibdir}/konq_shellcmdplugin.so -%{tde_tdelibdir}/konq_sidebar.la -%{tde_tdelibdir}/konq_sidebar.so -%{tde_tdelibdir}/konq_sidebartree_bookmarks.la -%{tde_tdelibdir}/konq_sidebartree_bookmarks.so -%{tde_tdelibdir}/konq_sidebartree_dirtree.la -%{tde_tdelibdir}/konq_sidebartree_dirtree.so -%{tde_tdelibdir}/konq_sidebartree_history.la -%{tde_tdelibdir}/konq_sidebartree_history.so -%{tde_tdelibdir}/konqsidebar_tree.la -%{tde_tdelibdir}/konqsidebar_tree.so -%{tde_tdelibdir}/konqsidebar_web.la -%{tde_tdelibdir}/konqsidebar_web.so -%{tde_tdelibdir}/konqueror.la -%{tde_tdelibdir}/konqueror.so -%{tde_tdelibdir}/libkhtmlkttsdplugin.la -%{tde_tdelibdir}/libkhtmlkttsdplugin.so -%{tde_libdir}/lib[kt]deinit_keditbookmarks.la -%{tde_libdir}/lib[kt]deinit_keditbookmarks.so -%{tde_libdir}/lib[kt]deinit_kfmclient.la -%{tde_libdir}/lib[kt]deinit_kfmclient.so -%{tde_libdir}/lib[kt]deinit_konqueror.la -%{tde_libdir}/lib[kt]deinit_konqueror.so -%{tde_libdir}/libkonqsidebarplugin.so.* -%{tde_tdeappdir}/Home.desktop -%{tde_tdeappdir}/kcmhistory.desktop -%{tde_tdeappdir}/kfmclient.desktop -%{tde_tdeappdir}/kfmclient_dir.desktop -%{tde_tdeappdir}/kfmclient_html.desktop -%{tde_tdeappdir}/kfmclient_war.desktop -%{tde_tdeappdir}/khtml_filter.desktop -%{tde_tdeappdir}/konqbrowser.desktop -%{tde_tdeappdir}/konquerorsu.desktop -%{tde_datadir}/applnk/.hidden/konqfilemgr.desktop -%{tde_datadir}/applnk/Internet/keditbookmarks.desktop -%{tde_datadir}/applnk/konqueror.desktop -%{tde_datadir}/apps/kconf_update/kfmclient_3_2.upd -%{tde_datadir}/apps/kconf_update/kfmclient_3_2_update.sh -%{tde_datadir}/apps/kconf_update/konqsidebartng.upd -%{tde_datadir}/apps/kconf_update/move_konqsidebartng_entries.sh -%{tde_datadir}/apps/keditbookmarks/keditbookmarks-genui.rc -%{tde_datadir}/apps/keditbookmarks/keditbookmarksui.rc -%{tde_datadir}/apps/khtml/kpartplugins/khtmlkttsd.desktop -%{tde_datadir}/apps/khtml/kpartplugins/khtmlkttsd.rc -%{tde_datadir}/apps/konqiconview/ -%{tde_datadir}/apps/konqlistview/ -%exclude %{tde_datadir}/apps/konqsidebartng/virtual_folders/services/fonts.desktop -%{tde_datadir}/apps/konqsidebartng/ -%{tde_datadir}/apps/konqueror/about/ -%{tde_datadir}/apps/konqueror/icons/ -%{tde_datadir}/apps/konqueror/konq-simplebrowser.rc -%{tde_datadir}/apps/konqueror/konqueror.rc -%{tde_datadir}/apps/konqueror/pics/indicator_connect.png -%{tde_datadir}/apps/konqueror/pics/indicator_empty.png -%{tde_datadir}/apps/konqueror/pics/indicator_noconnect.png -%{tde_datadir}/apps/konqueror/pics/indicator_viewactive.png -%{tde_datadir}/apps/konqueror/profiles/ -%exclude %{tde_datadir}/apps/konqueror/servicemenus/kdesktopSetAsBackground.desktop -%exclude %{tde_datadir}/apps/konqueror/servicemenus/konsolehere.desktop -%exclude %{tde_datadir}/apps/konqueror/servicemenus/installfont.desktop -%{tde_datadir}/apps/konqueror/servicemenus/*.desktop -%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase -%{tde_datadir}/apps/konqueror/tiles/*.png -%{tde_datadir}/autostart/konqy_preload.desktop -%{tde_datadir}/config.kcfg/keditbookmarks.kcfg -%{tde_datadir}/config.kcfg/konq_listview.kcfg -%{tde_datadir}/config.kcfg/konqueror.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/keditbookmarks.png -%{tde_datadir}/icons/crystalsvg/*/apps/kfm_home.svgz -%{tde_datadir}/icons/hicolor/*/apps/kfm.png -%{tde_datadir}/icons/hicolor/*/apps/konqueror.* -%{tde_datadir}/services/kded/konqy_preloader.desktop -%{tde_datadir}/services/konq_*.desktop -%{tde_datadir}/servicetypes/konqaboutpage.desktop -%{tde_tdedocdir}/HTML/en/konqueror/ - -%post -n trinity-konqueror -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : -%if 0%{?suse_version} -update-alternatives --install \ -%else -alternatives --install \ -%endif - %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop \ - media_safelyremove.desktop_konqueror \ - %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase \ - 10 || : - -%postun -n trinity-konqueror -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -%preun -n trinity-konqueror -if [ $1 -eq 0 ]; then -%if 0%{?suse_version} - update-alternatives --remove \ -%else - alternatives --remove \ -%endif - media_safelyremove.desktop_konqueror \ - %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase || : -fi - -########## - -%package -n trinity-konqueror-devel -Summary: Development files for konqueror -Group: Development/Libraries -Requires: trinity-konqueror = %{version}-%{release} - -%description -n trinity-konqueror-devel -%{summary} - -%files -n trinity-konqueror-devel -%{tde_tdeincludedir}/konqsidebarplugin.h -%{tde_tdeincludedir}/KonquerorIface.h -%{tde_libdir}/libkonqsidebarplugin.la -%{tde_libdir}/libkonqsidebarplugin.so - -%post -n trinity-konqueror-devel -/sbin/ldconfig || : - -%postun -n trinity-konqueror-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-konqueror-nsplugins -Summary: Netscape plugin support for Konqueror -Group: Applications/Utilities -Requires: trinity-konqueror = %{version}-%{release} - -%description -n trinity-konqueror-nsplugins -This package includes support for Netscape plugins in Konqueror. - -%files -n trinity-konqueror-nsplugins -%defattr(-,root,root,-) -%{tde_bindir}/nspluginscan -%{tde_bindir}/nspluginviewer -%{tde_tdelibdir}/kcm_nsplugins.la -%{tde_tdelibdir}/kcm_nsplugins.so -%{tde_tdelibdir}/libnsplugin.la -%{tde_tdelibdir}/libnsplugin.so -%{tde_tdeappdir}/khtml_plugins.desktop -%{tde_datadir}/apps/plugin/nspluginpart.rc - -%post -n trinity-konqueror-nsplugins -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%postun -n trinity-konqueror-nsplugins -update-desktop-database %{tde_appdir} 2> /dev/null || : - -########## - -%package -n trinity-konsole -Summary: X terminal emulator for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-konsole -Konsole is an X terminal emulation which provides a command-line interface -(CLI) while using the graphical K Desktop Environment. Konsole helps to -better organize user's desktop by containing multiple sessions in a single -window (a less cluttered desktop). - -Its advanced features include a simple configuration and the ability to use -multiple terminal shells in a single window - -Using Konsole, a user can open: -* Linux console sessions -* Midnight Commander file manager sessions -* Shell sessions -* Root consoles sessions - -%files -n trinity-konsole -%defattr(-,root,root,-) -%{tde_bindir}/konsole -%{tde_tdelibdir}/kcm_konsole.la -%{tde_tdelibdir}/kcm_konsole.so -%{tde_tdelibdir}/kded_kwrited.la -%{tde_tdelibdir}/kded_kwrited.so -%{tde_tdelibdir}/konsole.la -%{tde_tdelibdir}/konsole.so -%{tde_tdelibdir}/libkonsolepart.la -%{tde_tdelibdir}/libkonsolepart.so -%{tde_libdir}/lib[kt]deinit_konsole.la -%{tde_libdir}/lib[kt]deinit_konsole.so -%{tde_tdeappdir}/konsole.desktop -%{tde_tdeappdir}/konsolesu.desktop -%{tde_datadir}/applnk/.hidden/kcmkonsole.desktop -%{tde_datadir}/apps/kconf_update/konsole.upd -%{tde_datadir}/apps/kconf_update/schemaStrip.pl -%{tde_datadir}/apps/konqueror/servicemenus/konsolehere.desktop -%{tde_datadir}/apps/konsole/ -%{tde_datadir}/icons/hicolor/*/apps/konsole.* -%{tde_datadir}/mimelnk/application/x-konsole.desktop -%{tde_datadir}/services/kded/kwrited.desktop -%{tde_datadir}/services/konsolepart.desktop -%{tde_datadir}/services/konsole-script.desktop -%{tde_datadir}/services/kwrited.desktop -%{tde_datadir}/servicetypes/terminalemulator.desktop -%{tde_tdedocdir}/HTML/en/konsole/ -%{tde_tdedocdir}/HTML/en/kcontrol/kcmkonsole/ - -%post -n trinity-konsole -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -%postun -n trinity-konsole -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -########## - -%package -n trinity-kpager -Summary: desktop pager for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-kpager -This package contains TDE's desktop pager, which displays your virtual -desktops iconically in a window, along with icons of any running -applications. It is used to switch between applications or desktops. - -%files -n trinity-kpager -%defattr(-,root,root,-) -%{tde_bindir}/kpager -%{tde_tdeappdir}/kpager.desktop -%{tde_datadir}/applnk/Utilities/kpager.desktop -%{tde_datadir}/icons/hicolor/*/apps/kpager.png -%{tde_tdedocdir}/HTML/en/kpager/ - -%post -n trinity-kpager -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -%postun -n trinity-kpager -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -########## - -%package -n trinity-kpersonalizer -Summary: installation personalizer for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-kpersonalizer -TDE Personalizer is the application that configures the TDE desktop for you. -It's a very useful wizard that allows you to quickly change the TDE desktop to -suit your own needs. When you run TDE for the first time, KPersonalizer is -automatically started. KPersonalizer can also be called later. - -%files -n trinity-kpersonalizer -%defattr(-,root,root,-) -%{tde_bindir}/kpersonalizer -%{tde_tdeappdir}/kpersonalizer.desktop -%{tde_datadir}/applnk/System/kpersonalizer.desktop -%{tde_datadir}/apps/kpersonalizer/ -%{tde_datadir}/icons/crystalsvg/*/apps/kpersonalizer.png - -%post -n trinity-kpersonalizer -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -%postun -n trinity-kpersonalizer -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -########## - -%package -n trinity-ksmserver -Summary: session manager for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} -Requires: trinity-twin = %{version}-%{release} - -%description -n trinity-ksmserver -This package contains the KDE session manager. It is responsible for -restoring your TDE session on login. It is also needed to properly -start a KDE session. It registers KDE with X display managers, and -provides the 'starttde' command, for starting an X session with KDE -from the console. - -If you are running TDE for the first time for a certain user, -kpersonalizer is used to help with setup. If it is not present, -KDE will start, but many good defaults will not be set. - -%files -n trinity-ksmserver -%defattr(-,root,root,-) -%{tde_bindir}/ksmserver -%{tde_bindir}/start[kt]de -%{tde_tdelibdir}/ksmserver.la -%{tde_tdelibdir}/ksmserver.so -%{tde_libdir}/lib[kt]deinit_ksmserver.la -%{tde_libdir}/lib[kt]deinit_ksmserver.so -%{tde_datadir}/apps/kconf_update/ksmserver.upd -%{tde_datadir}/apps/kconf_update/move_session_config.sh -%{tde_datadir}/apps/ksmserver/pics/shutdownkonq.png - -# Remove conflicts with redhat-menus -%if "%{?tde_prefix}" != "/usr" -%{tde_bindir}/plasma-desktop -%endif - -%post -n trinity-ksmserver -/sbin/ldconfig || : - -%postun -n trinity-ksmserver -/sbin/ldconfig || : - -########## - -%package -n trinity-ksplash -Summary: the TDE splash screen -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-ksplash -This package includes the TDE Splash screen, which is seen when -a TDE session is launched. - -%files -n trinity-ksplash -%defattr(-,root,root,-) -%{tde_bindir}/ksplash -%{tde_bindir}/ksplashsimple -%{tde_tdelibdir}/kcm_ksplashthemes.la -%{tde_tdelibdir}/kcm_ksplashthemes.so -%{tde_tdelibdir}/ksplashdefault.la -%{tde_tdelibdir}/ksplashdefault.so -%{tde_tdelibdir}/ksplashunified.la -%{tde_tdelibdir}/ksplashunified.so -%{tde_tdelibdir}/ksplashredmond.la -%{tde_tdelibdir}/ksplashredmond.so -%{tde_tdelibdir}/ksplashstandard.la -%{tde_tdelibdir}/ksplashstandard.so -%{tde_libdir}/libksplashthemes.so.* -%{tde_tdeappdir}/ksplashthememgr.desktop -%{tde_datadir}/apps/ksplash -%{tde_datadir}/services/ksplashdefault.desktop -%{tde_datadir}/services/ksplash.desktop -%{tde_datadir}/services/ksplashunified.desktop -%{tde_datadir}/services/ksplashredmond.desktop -%{tde_datadir}/services/ksplashstandard.desktop -%{tde_datadir}/servicetypes/ksplashplugins.desktop -%{tde_tdedocdir}/HTML/en/ksplashml/ - -%post -n trinity-ksplash -update-desktop-database %{tde_appdir} 2> /dev/null || : -/sbin/ldconfig || : - -%postun -n trinity-ksplash -update-desktop-database %{tde_appdir} 2> /dev/null || : -/sbin/ldconfig || : - -########## - -%package -n trinity-ksplash-devel -Summary: Development files for ksplash -Group: Development/Libraries -Requires: trinity-ksplash = %{version}-%{release} - -%description -n trinity-ksplash-devel -%{summary} - -%files -n trinity-ksplash-devel -%{tde_tdeincludedir}/ksplash/* -%{tde_libdir}/libksplashthemes.la -%{tde_libdir}/libksplashthemes.so - -%post -n trinity-ksplash-devel -/sbin/ldconfig || : - -%postun -n trinity-ksplash-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-ksysguard -Summary: system guard for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} -Requires: trinity-ksysguardd = %{version}-%{release} - -%description -n trinity-ksysguard -TDE System Guard allows you to monitor various statistics about your -computer. - -%files -n trinity-ksysguard -%defattr(-,root,root,-) -%{tde_bindir}/kpm -%{tde_bindir}/ksysguard -%{tde_tdelibdir}/sysguard_panelapplet.la -%{tde_tdelibdir}/sysguard_panelapplet.so -%{tde_libdir}/libksgrd.so.* -%{tde_tdeappdir}/ksysguard.desktop -%{tde_datadir}/apps/kicker/applets/ksysguardapplet.desktop -%{tde_datadir}/apps/ksysguard/ -%{tde_datadir}/icons/crystalsvg/*/apps/ksysguard.png -%{tde_datadir}/mimelnk/application/x-ksysguard.desktop -%{tde_tdedocdir}/HTML/en/ksysguard/ - -%post -n trinity-ksysguard -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -%postun -n trinity-ksysguard -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -########## - -%package -n trinity-ksysguard-devel -Summary: Development files for ksysguard -Group: Development/Libraries -Requires: trinity-ksysguard = %{version}-%{release} - -%description -n trinity-ksysguard-devel -%{summary} - -%files -n trinity-ksysguard-devel -%{tde_tdeincludedir}/ksgrd/* -%{tde_libdir}/libksgrd.la -%{tde_libdir}/libksgrd.so - -%post -n trinity-ksysguard-devel -/sbin/ldconfig || : - -%postun -n trinity-ksysguard-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-ksysguardd -Summary: system guard daemon for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-ksysguardd -TDE System Guard Daemon is the daemon part of ksysguard. The daemon can -be installed on a remote machine to enable ksysguard on another machine -to monitor it through the daemon running there. - -%files -n trinity-ksysguardd -%defattr(-,root,root,-) -%{tde_bindir}/ksysguardd -%config(noreplace) %{_sysconfdir}/ksysguarddrc.tde - -%post -n trinity-ksysguardd -# Dirty hack to install '/etc/ksysguarddrc' alongside with KDE4 -[ -r "%{_sysconfdir}/ksysguarddrc" ] || cp -f "%{_sysconfdir}/ksysguarddrc.tde" "%{_sysconfdir}/ksysguarddrc" - -########## - -%package -n trinity-ktip -Summary: useful tips for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-ktip -ktip provides many useful tips on using KDE when you log in. - -%files -n trinity-ktip -%defattr(-,root,root,-) -%{tde_bindir}/ktip -%{tde_tdeappdir}/ktip.desktop -%{tde_datadir}/applnk/Toys/ktip.desktop -%{tde_datadir}/apps/kdewizard/pics/wizard_small.png -%{tde_datadir}/apps/kdewizard/tips/ -%{tde_datadir}/autostart/ktip.desktop -%{tde_datadir}/icons/hicolor/*/apps/ktip.* - -%post -n trinity-ktip -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -%postun -n trinity-ktip -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -########## - -%package -n trinity-twin -Summary: the TDE window manager -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-twin -This package contains the default X window manager for KDE. - -%files -n trinity-twin -%defattr(-,root,root,-) -%{tde_bindir}/kompmgr -%{tde_bindir}/[kt]win -%{tde_bindir}/[kt]win_killer_helper -#%{tde_bindir}/[kt]win_resumer_helper -%{tde_bindir}/[kt]win_rules_dialog -%{tde_libdir}/kconf_update_bin/[kt]win_update_default_rules -%{tde_libdir}/kconf_update_bin/[kt]win_update_window_settings -%{tde_tdelibdir}/kcm_[kt]win*.la -%{tde_tdelibdir}/kcm_[kt]win*.so -%{tde_tdelibdir}/[kt]win*.la -%{tde_tdelibdir}/[kt]win*.so -%{tde_libdir}/lib[kt]decorations.so.* -%{tde_libdir}/lib[kt]deinit_[kt]win_rules_dialog.la -%{tde_libdir}/lib[kt]deinit_[kt]win_rules_dialog.so -%{tde_libdir}/lib[kt]deinit_[kt]win.la -%{tde_libdir}/lib[kt]deinit_[kt]win.so -%{tde_tdeappdir}/showdesktop.desktop -%{tde_tdeappdir}/[kt]windecoration.desktop -%{tde_tdeappdir}/[kt]winoptions.desktop -%{tde_tdeappdir}/[kt]winrules.desktop -%{tde_datadir}/applnk/.hidden/[kt]winactions.desktop -%{tde_datadir}/applnk/.hidden/[kt]winadvanced.desktop -%{tde_datadir}/applnk/.hidden/[kt]winfocus.desktop -%{tde_datadir}/applnk/.hidden/[kt]winmoving.desktop -%{tde_datadir}/applnk/.hidden/[kt]wintranslucency.desktop -%{tde_datadir}/apps/kconf_update/[kt]win3_plugin.pl -%{tde_datadir}/apps/kconf_update/[kt]win3_plugin.upd -%{tde_datadir}/apps/kconf_update/[kt]win_focus1.sh -%{tde_datadir}/apps/kconf_update/[kt]win_focus1.upd -%{tde_datadir}/apps/kconf_update/[kt]win_focus2.sh -%{tde_datadir}/apps/kconf_update/[kt]win_focus2.upd -%{tde_datadir}/apps/kconf_update/[kt]win_fsp_workarounds_1.upd -%{tde_datadir}/apps/kconf_update/[kt]winiconify.upd -%{tde_datadir}/apps/kconf_update/[kt]winsticky.upd -%{tde_datadir}/apps/kconf_update/[kt]win.upd -%{tde_datadir}/apps/kconf_update/[kt]winupdatewindowsettings.upd -%{tde_datadir}/apps/kconf_update/pluginlibFix.pl -%{tde_datadir}/apps/[kt]win/ -%{tde_datadir}/config.kcfg/[kt]win.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/[kt]win.png -%{tde_tdedocdir}/HTML/en/kompmgr/ - -%post -n trinity-twin -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -%postun -n trinity-twin -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -########## - -%package -n trinity-twin-devel -Summary: Development files for twin -Group: Development/Libraries -Requires: trinity-twin = %{version}-%{release} - -%description -n trinity-twin-devel -%{summary} - -%files -n trinity-twin-devel -%{tde_tdeincludedir}/[kt]win/ -%{tde_tdeincludedir}/kcommondecoration.h -%{tde_tdeincludedir}/kdecoration.h -%{tde_tdeincludedir}/kdecoration_p.h -%{tde_tdeincludedir}/kdecoration_plugins_p.h -%{tde_tdeincludedir}/kdecorationfactory.h -%{tde_tdeincludedir}/KWinInterface.h -%{tde_libdir}/libkdecorations.la -%{tde_libdir}/libkdecorations.so - -%post -n trinity-twin-devel -/sbin/ldconfig || : - -%postun -n trinity-twin-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkonq -Summary: core libraries for Konqueror -Group: Environment/Libraries - -%description -n trinity-libkonq -These libraries are used by several TDE applications, most notably -Konqueror and the kdesktop package. - -%files -n trinity-libkonq -%defattr(-,root,root,-) -%{tde_tdelibdir}/kded_favicons.la -%{tde_tdelibdir}/kded_favicons.so -%{tde_tdelibdir}/konq_sound.la -%{tde_tdelibdir}/konq_sound.so -%{tde_libdir}/libkonq.so.* -%{tde_datadir}/apps/kbookmark/directory_bookmarkbar.desktop -%{tde_datadir}/apps/kconf_update/favicons.upd -%{tde_datadir}/apps/kconf_update/move_favicons.sh -%{tde_datadir}/apps/konqueror/pics/arrow_bottomleft.png -%{tde_datadir}/apps/konqueror/pics/arrow_bottomright.png -%{tde_datadir}/apps/konqueror/pics/arrow_topleft.png -%{tde_datadir}/apps/konqueror/pics/arrow_topright.png -%{tde_datadir}/apps/konqueror/pics/thumbnailfont_7x4.png -%{tde_datadir}/services/kded/favicons.desktop -%{tde_datadir}/servicetypes/konqpopupmenuplugin.desktop - -%post -n trinity-libkonq -/sbin/ldconfig || : - -%postun -n trinity-libkonq -/sbin/ldconfig || : - -########## - -%package libtqt3-integration -Summary: Integration library between TQt3 and TDE -Group: Environment/Libraries - -Obsoletes: tdebase-libtqt3-integration < %{version}-%{release} -Provides: tdebase-libtqt3-integration = %{version}-%{release} - -%description libtqt3-integration -These libraries allow you to use TDE dialogs in native TQt3 applications. - -%files libtqt3-integration -%defattr(-,root,root,-) -%{tde_tdelibdir}/plugins/integration/libqtkde.la -%{tde_tdelibdir}/plugins/integration/libqtkde.so -%{tde_tdelibdir}/plugins/integration/libqtkde.so.* -%{tde_tdelibdir}/kded_kdeintegration.la -%{tde_tdelibdir}/kded_kdeintegration.so -%{tde_datadir}/services/kded/kdeintegration.desktop - -########## - -%package -n trinity-libkonq-devel -Summary: development files for Konqueror's core libraries -Group: Development/Libraries -Requires: trinity-libkonq = %{version}-%{release} - -%description -n trinity-libkonq-devel -This package contains headers and other development files for the core -Konqueror libraries. - -%files -n trinity-libkonq-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kfileivi.h -%{tde_tdeincludedir}/kivdirectoryoverlay.h -%{tde_tdeincludedir}/knewmenu.h -%{tde_tdeincludedir}/konqbookmarkmanager.h -%{tde_tdeincludedir}/konq_*.h -%{tde_tdeincludedir}/libkonq_export.h -%{tde_libdir}/libkonq.la -%{tde_libdir}/libkonq.so - -%post -n trinity-libkonq-devel -/sbin/ldconfig || : - -%postun -n trinity-libkonq-devel -/sbin/ldconfig || : - -########## - -%if 0%{?suse_version} -%debug_package -%endif - -########## - -%prep -%setup -q -n kdebase -%__tar xfz %{SOURCE6} -C kicker/data/tiles - -%patch2 -p1 -%patch7 -p1 -%patch8 -p1 -%patch9 -p1 - -%patch10 -p1 -%patch11 -p1 -%patch12 -p1 -%if 0%{?rhel} == 4 || 0%{?suse_version} -%patch66 -p1 -b .Xsession -%endif -%if 0%{?rhel} >= 5|| 0%{?fedora} -%patch13 -p1 -b .Xsession -%endif -%patch14 -p1 -%patch15 -p1 -%patch16 -p1 - -%patch20 -p4 -%if 0%{?rhel} || 0%{?mgaversion} || 0%{?mdkversion} -%patch21 -p1 -b .man -%endif -%patch22 -p1 -%patch23 -p1 -%patch24 -p4 -%patch25 -p1 -%patch26 -p1 -%patch27 -p0 -%patch28 -p0 -%patch29 -p0 -%patch30 -p1 -%patch31 -p1 -%patch32 -p1 -%patch33 -p1 -%patch34 -p1 -%patch35 -p1 -%patch36 -p1 -%patch37 -p1 -%patch38 -p1 -%patch39 -p1 -%patch40 -p1 -%patch41 -p1 -%patch42 -p1 -%patch43 -p1 -%patch44 -p1 -%patch45 -p1 -%patch46 -p1 -%patch47 -p0 -%patch48 -p1 -%patch49 -p1 -%patch50 -p1 -%patch51 -p1 -%patch52 -p1 -%patch53 -p1 -%patch54 -p1 -%patch55 -p1 -%patch56 -p1 -%patch57 -p1 -%patch58 -p1 -%patch59 -p1 -%patch60 -p1 -%patch61 -p1 -%patch62 -p1 -%patch63 -p1 -b .tooltips -%patch64 -p1 -b .tsak -%patch65 -p1 -b .dbustsak -%patch67 -p1 -b .dbus - -%patch100 -p1 -%patch101 -p1 -b .tsak - - -%if 0%{?rhel} == 4 -%patch201 -p1 -b .libdetect -%patch202 -p1 -b .dbustqt -%patch203 -p1 -b .consolekit -%patch204 -p1 -b .composite -%patch205 -p1 -b .hal04 -%patch206 -p1 -b .rhel4 -%endif - -# Applies an optional distro-specific graphical theme -%if "%{?tde_bg}" != "" -# KDM Background -%__sed -i "kdm/kfrontend/genkdmconf.c" \ - -e 's|"Wallpaper=isadora.png\n"|"Wallpaper=%{tde_bg}\n"|' - -# TDE user default background -%__sed -i "kpersonalizer/keyecandypage.cpp" \ - -e 's|#define DEFAULT_WALLPAPER "isadora.png"|#define DEFAULT_WALLPAPER "%{tde_bg}"|' -%__sed -i "startkde" \ - -e 's|/usr/share/wallpapers/isadora.png.desktop|%{tde_bg}|' \ - -e 's|Wallpaper=isadora.png|Wallpaper=%{tde_bg}|' -%endif - -# TDE branding: removes KUbuntu references [Bug #617] -%__sed -i "kcontrol/kdm/kdm-appear.cpp" \ - -e "s|Welcome to Kubuntu |Welcome to %{tde_aboutlabel} |" -%__sed -i "konqueror/about/konq_aboutpage.cc" \ - -e "s|About Kubuntu|About %{tde_aboutlabel}|" \ - -e "s|help:/kubuntu/|%{tde_aboutpage}|" \ - -e "s|Kubuntu Documentation|%{tde_aboutlabel} Documentation|" -%__sed -i "konqueror/about/launch.html" \ - -e "s|help:/kubuntu/about-kubuntu/index.html|%{tde_aboutpage}|" -%__sed -i "kdm/config.def" \ - -e "s|Welcome to Trinity |Welcome to %{tde_aboutlabel} |" - -# TDE default directory in 'startkde' script (KDEDIR) -%__sed -i "startkde" \ - -e "s|/opt/trinity|%{tde_prefix}|g" - -# TDE default start button icon -%__sed -i "startkde" \ - -e "s|%%{tde_starticon}|%{tde_starticon}|g" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" -export LD_LIBRARY_PATH="%{tde_libdir}" - -# Avoids building against KDE3's old stuff, if installed -export KDEDIR=%{tde_prefix} - -# Shitty hack for RHEL4 ... -if [ -d /usr/X11R6 ]; then - export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH=}:/usr/X11R6/include:/usr/X11R6/%{_lib}" - export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - -DWITH_SASL=ON \ - -DWITH_LDAP=ON \ - -DWITH_SAMBA=ON \ - %{?with_exr:-DWITH_OPENEXR=ON} \ - %{?with_hal:-DWITH_HAL=ON} \ -%if 0%{?rhel} == 4 - -DWITH_XTEST=OFF \ - -DWITH_XSCREENSAVER=OFF \ -%else - -DWITH_XTEST=ON \ - -DWITH_XSCREENSAVER=ON \ -%endif - -DWITH_XCURSOR=ON \ - -DWITH_XFIXES=ON \ - %{?with_xrandr:-DWITH_XRANDR=ON} \ - -DWITH_XDAMAGE=ON \ - -DWITH_XEXT=ON \ - -DWITH_LIBUSB=ON \ - -DWITH_LIBRAW1394=ON \ - -DWITH_PAM=ON \ - -DWITH_XDMCP=ON \ - -DWITH_XINERAMA=ON \ - -DWITH_XCOMPOSITE=ON \ - -DWITH_XRENDER=ON \ - -DWITH_ARTS=ON \ - -DWITH_I8K=ON \ - -DBUILD_ALL=ON \ - -DKCHECKPASS_PAM_SERVICE="kcheckpass-trinity" \ -%if 0%{?suse_version} - -DKDM_PAM_SERVICE="xdm" \ - -DKSCREENSAVER_PAM_SERVICE="kcheckpass-trinity" \ -%else - -DKDM_PAM_SERVICE="kdm-trinity" \ - -DKSCREENSAVER_PAM_SERVICE="kscreensaver-trinity" \ -%endif - %{!?with_tsak:-DBUILD_TSAK=OFF} \ - .. - -%__make %{?_smp_mflags} - - -%install -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{?buildroot} -C build - - -# Under RHEL/Fedora/Suse, static 'xsessions' files go to '/usr/share/xsessions'. - -# Adds a GDM/KDM/XDM session called 'TDE' -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__install -D -m 644 \ - "%{?buildroot}%{tde_datadir}/apps/kdm/sessions/tde.desktop" \ - "%{?buildroot}%{_datadir}/xsessions/tde.desktop" - -# Force session name to be 'TDE' -%__sed -i "%{?buildroot}%{_datadir}/xsessions/tde.desktop" \ - -e "s,^Name=.*,Name=TDE," -%endif - -# Mageia/Mandriva stores its session file in different folder than RHEL/Fedora -# Generated files for TDM/KDM4 are in '/usr/share/apps/kdm/sessions' -%if 0%{?mgaversion} || 0%{?mdkversion} -%__install -d -m 755 %{?buildroot}%{_sysconfdir}/X11/wmsession.d -cat <"%{?buildroot}%{_sysconfdir}/X11/wmsession.d/45TDE" -NAME=TDE -ICON=kde-wmsession.xpm -DESC=The Trinity Desktop Environment -EXEC=%{tde_bindir}/startkde -SCRIPT: -exec %{tde_bindir}/startkde -EOF - -%__install -d -m 755 %{?buildroot}%{_datadir}/X11/dm.d -cat <"%{?buildroot}%{_datadir}/X11/dm.d/45TDE.conf" -NAME=TDM -DESCRIPTION=TDM (Trinity Display Manager) -PACKAGE=trinity-tdm -EXEC=%{tde_bindir}/kdm -FNDSESSION_EXEC="/usr/sbin/chksession -K" -EOF -%endif - -# Renames '/etc/ksysguarddrc' to avoid conflict with KDE4 'ksysguard' -%__mv -f \ - %{?buildroot}%{_sysconfdir}/ksysguarddrc \ - %{?buildroot}%{_sysconfdir}/ksysguarddrc.tde - -# TDE 3.5.12: add script "plasma-desktop" to avoid conflict with KDE4 -%if "%{?tde_prefix}" != "/usr" -%__install -m 755 "%{SOURCE1}" "%{?buildroot}%{tde_bindir}" -%endif - -# PAM configuration files -%if 0%{?suse_version} -%__install -D -m 644 "%{SOURCE4}" "%{?buildroot}%{_sysconfdir}/pam.d/kcheckpass-trinity" -%else -%__install -D -m 644 "%{SOURCE2}" "%{?buildroot}%{_sysconfdir}/pam.d/kdm-trinity" -%__install -D -m 644 "%{SOURCE3}" "%{?buildroot}%{_sysconfdir}/pam.d/kdm-trinity-np" -%__install -D -m 644 "%{SOURCE4}" "%{?buildroot}%{_sysconfdir}/pam.d/kcheckpass-trinity" -%__install -D -m 644 "%{SOURCE5}" "%{?buildroot}%{_sysconfdir}/pam.d/kscreensaver-trinity" -%endif - -# KDM configuration for RHEL/Fedora -%__sed -i "%{?buildroot}%{tde_datadir}/config/kdm/kdmrc" \ -%if 0%{?fedora} >= 16 || 0%{?suse_version} >= 1220 - -e "s/^#*MinShowUID=.*/MinShowUID=1000/" -%else - -e "s/^#*MinShowUID=.*/MinShowUID=500/" -%endif - -# Moves the XDG configuration files to TDE directory -%if "%{tde_prefix}" != "/usr" -%__mkdir_p "%{?buildroot}%{tde_prefix}/etc" -%__mv -f "%{?buildroot}%{_sysconfdir}/xdg" "%{?buildroot}%{tde_prefix}/etc" -%endif - -# Symlinks 'usb.ids' -%if 0%{?suse_version} == 0 -%__rm -f "%{?buildroot}%{tde_datadir}/apps/usb.ids" -%__ln_s -f "/usr/share/hwdata/usb.ids" "%{?buildroot}%{tde_datadir}/apps/usb.ids" -%endif - -# Makes 'media_safelyremove.desktop' an alternative -%__mv -f %{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop %{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase -%__ln_s /etc/alternatives/media_safelyremove.desktop_tdebase %{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop - - -%clean -%__rm -rf %{?buildroot} - - - - -%changelog -* Sun Aug 19 2012 Francois Andriot - 3.5.13-27 -- Merge with v3.5.13-sru branch, but still using v3.5.13 tdelibs -- See: http://git.trinitydesktop.org/cgit/tdebase/log/?h=origin/v3.5.13-sru -- Removes the "tqapp" => "app" renaming from SRU, to keep applications compatibility -- This is the final update for v3.5.13 . Next release should be 3.5.13.1 . - -* Sat Jul 14 2012 Francois Andriot - 3.5.13-26 -- Add xscreensaver support to CMake [Bug #659] [Commit #80deb529] -- Enables 'shadow' support -- Enables 'i8k' support - -* Sun Jul 08 2012 Francois Andriot - 3.5.13-25 -- Fix menu crash with disabled search field [Bug #1081] [Commit #0afb2d8a] -- Makes 'media_safelyremove.desktop' an alternative - -* Sun Jul 01 2012 Francois Andriot - 3.5.13-24 -- Renames 'tdebase' to 'trinity-tdebase' -- Update default konqueror maximum image preview size to 10MB. [Commit #03e19305] - -* Sun Jun 17 2012 Francois Andriot - 3.5.13-23 -- Renames 'trinity-kdebase' to 'tdebase' -- Split into several packages - -* Sat May 05 2012 Francois Andriot - 3.5.13-22 -- Adds panel to choose default mounting options for removable storage [Bug #986] -- Add the ability to reorder documents in kate [Commit #46a657f7] -- Add drag and drop to kate file list in manual mode [Commit #b0fa10df] -- Disable keyboard shortcuts for file location moving, as they did not work properly - and have very little practical use [Commit #9a948c1a] -- Fix KHTML smooth scrolling control center option [Bug #1001] [Commit #b45b4bd7] -- Fix fancy logout not allowing interaction with save dialogs [Bug #922] - Fix desktop wallpaper export failing when triggered by krootbacking or ksmserver and konsole or - kdesktop_lock not previously loaded [Commit #d2f8fca9] - -* Mon Apr 30 2012 Francois Andriot - 3.5.13-21 -- Commit the rest of 8d521d0b, not merged due to GIT glitch [Commit #49526413] - -* Fri Apr 27 2012 Francois Andriot - 3.5.13-20 -- Fix sftp when nonstandard port is specified in ssh config [Bug #897] -- Start minimal dcop system to support twin in tdm [Commit #66a19439] -- Update lock process to engage the lock in near real time [Commit #8d521d0b] -- Fix desktop lock failure due to race condition within signal handler between qt and xcb [Commit #67a3a8f3] -- Temporary fix for a probable race condition on some systems. [Bug #760] [Commit #d41f5217] - -* Tue Apr 24 2012 Francois Andriot - 3.5.13-19 -- Build for Fedora 17 -- Fix compilation with GCC 4.7 [Bug #958] - -* Mon Apr 23 2012 Francois Andriot - 3.5.13-18 -- Ensures that 'pagersettings.kcfg' is installed [Bug #908, Commit bd9c1479] -- Fix "Malformed URL $( kxdglauncher --getpath xdgname DOCUMENTS )" error dialog. -- Fix sftp failure on newer systems [Bug #897] - -* Sun Apr 01 2012 Francois Andriot - 3.5.13-17 -- do not show hostname in titlebar if it's FQDN of localhost [Bug #889] -- Adds option to disable desktop switch on mouse wheel cycling [Bug #908] -- Fix Keramik window decoration in KWIN [Bug #905] -- Fix device icon placement on desktop [Bug #392] -- Fix security hole in kdesktop_lock -- Allow minimal managed window interaction inside the lock process [Bug #810] -- Corrects a potential ABI compat problem -- Fix kdebase translations in desktop files - part 2 [Bug #890] -- Kate: fix focus broken when using the --use parameter [Bug #692] - -* Sat Jan 21 2012 Francois Andriot - 3.5.13-16 -- Fix KDM high CPU usage when inactive [Bug #690] -- Add keyboard hotplug (add/remove) support to tsak [Bug #587] -- Replicate LED status from virtual keyboards to physical keyboards [Bug #561] - -* Thu Jan 05 2012 Francois Andriot - 3.5.13-15 -- Add a KDM option to hide 'Menu' button on login prompt -- Fix corrupted PNG tiles [Bug #298] -- Adds 'xtest' support - -* Mon Jan 02 2012 Francois Andriot - 3.5.13-14 -- Fix Konqueror Icon Activation Effect [Bug #335] -- Restores the "Keep password" check box to the kdesu dialog box [Bug #388] -- Repair KPersonalizer settings to match system defaults [Bug #759] -- Restores the original KDE3 clock [Bug #387] -- Implement X11 event merging in krandrtray [Bug #758] -- Fix multihead screen locking [Bug #669] - -* Mon Dec 12 2011 Francois Andriot - 3.5.13-13 -- Fix variables (again) - -* Sun Dec 11 2011 Francois Andriot - 3.5.13-12 -- Fix KDEDIRS and other variables in 'startkde', that messes up translations. [Bug #741] - -* Sat Dec 10 2011 Francois Andriot - 3.5.13-11 -- Fix error message 'cannot find parent folder' on konqueror sidebar. [Bug #723] - -* Sat Dec 03 2011 Francois Andriot - 3.5.13-10 -- Removes Kubuntu branding [Bug #449] -- Re-enables 'open tab in background' konqueror feature [Bug #245] - -* Wed Nov 29 2011 Francois Andriot - 3.5.13-9 -- Fix 'kio_man' on RHEL 5 and RHEL 6 [Bug #714] -- Restores the 'number of files' and sorting widgets to the Kate configuration [Bug #244] - -* Fri Nov 18 2011 Francois Andriot - 3.5.13-8 -- Updates Kickoff menu Fix [Bugs #281, #508] -- Adds KDM gcrypt dependency - -* Sun Nov 13 2011 Francois Andriot - 3.5.13-7 -- Add distribution-specific start button icon - -* Sat Nov 12 2011 Francois Andriot - 3.5.13-6 -- Add graphical theme for RHEL 5, RHEL 6, Fedora 15, Fedora 16 -- Moves XDG files in TDE prefix to avoid conflict with distro-provided KDE - -* Fri Nov 11 2011 Francois Andriot - 3.5.13-5 -- Add "service(graphical-login)" -- Add kickoff menu fix [Bug #508] -- kdmrc: sets "MinShowUID=500" - -* Tue Nov 08 2011 Francois Andriot - 3.5.13-4 -- Fix FTBFS with dbus-tqt - -* Thu Nov 03 2011 Francois Andriot - 3.5.13-3 -- Add missing BuildRequires - -* Tue Nov 01 2011 Francois Andriot - 3.5.13-2 -- Add 'patch8' to fix LD_PRELOAD variable set by 'startkde' under x86_64 - -* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 -- Initial release for RHEL 6, RHEL 5 and Fedora 15 - -* Sat Sep 03 2011 Francois Andriot - 3.5.13-0 -- Import to GIT -- Use TDE 3.5.13, cmake, QT3.3.3.8d diff --git a/redhat/tdebase/trinity-tdebase-14.0.0.spec b/redhat/tdebase/trinity-tdebase-14.0.0.spec deleted file mode 100644 index 54c5f56b7..000000000 --- a/redhat/tdebase/trinity-tdebase-14.0.0.spec +++ /dev/null @@ -1,3423 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-tdebase -Version: 14.0.0 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} -License: GPL -Summary: Trinity Base Programs -Group: User Interface/Desktops - -Obsoletes: trinity-kdebase < %{version}-%{release} -Provides: trinity-kdebase = %{version}-%{release} -Obsoletes: trinity-kdebase-libs < %{version}-%{release} -Provides: trinity-kdebase-libs = %{version}-%{release} -Obsoletes: trinity-kdebase-extras < %{version}-%{release} -Provides: trinity-kdebase-extras = %{version}-%{release} -Obsoletes: tdebase < %{version}-%{release} -Provides: tdebase = %{version}-%{release} - - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz - -# Wrapper script to prevent Plasma launch at Trinity Startup -Source1: plasma-desktop - -# Pam configuration files for RHEL / Fedora -%if 0%{?suse_version} == 0 -Source2: pamd.kdm-trinity%{?dist} -Source3: pamd.kdm-trinity-np%{?dist} -Source4: pamd.kcheckpass-trinity%{?dist} -Source5: pamd.kscreensaver-trinity%{?dist} -%endif - -# openSUSE: configuration file for TDM -Source6: suse-displaymanagers-tdm - -# Fedora 18: use SYSTEMD for TDM startup -%if 0%{?fedora} >= 18 -Source7: tdm.service%{?dist} -%endif - -# Fedora 17: special selinux policy required -%if 0%{?fedora} == 17 || 0%{?rhel} == 6 -%define with_selinux_policy 1 -Source8: tdm%{?dist}.pp -%endif - -%if 0%{?mgaversion} >= 3 -Source9: mgabutton.svg -%endif - - -### Distribution-specific settings ### - -# Fedora 15 Theme: "Lovelock" -%if 0%{?fedora} == 15 -Requires: lovelock-backgrounds-single -%define tde_bg /usr/share/backgrounds/lovelock/default/standard/lovelock.png -%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png - -Requires: fedora-release-notes -%define tde_aboutlabel Fedora 15 -%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html -%endif - -# Fedora 16 Theme: "Verne" -%if 0%{?fedora} == 16 -Requires: verne-backgrounds-single -%define tde_bg /usr/share/backgrounds/verne/default/standard/verne.png -%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png - -Requires: fedora-release-notes -%define tde_aboutlabel Fedora 16 -%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html -%endif - -# Fedora 17 Theme: "Beefy Miracle" -%if 0%{?fedora} == 17 -Requires: beefy-miracle-backgrounds-single -%define tde_bg /usr/share/backgrounds/beefy-miracle/default/standard/beefy-miracle.png -%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png - -Requires: fedora-release-notes -%define tde_aboutlabel Fedora 17 -%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html -%endif - -# Fedora 18 Theme: "Spherical Cow" -%if 0%{?fedora} == 18 -Requires: spherical-cow-backgrounds-single -%define tde_bg /usr/share/backgrounds/spherical-cow/default/standard/spherical-cow.png -Requires: fedora-logos -%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png - -Requires: fedora-release-notes -%define tde_aboutlabel Fedora 18 -%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html -%endif - -# RHEL 4 Theme -%if 0%{?rhel} == 4 -Requires: desktop-backgrounds-basic -%define tde_bg /usr/share/backgrounds/images/default.png -Requires: redhat-logos -%define tde_starticon /usr/share/pixmaps/redhat/rpmlogo-64.xpm - -Requires: indexhtml -%define tde_aboutlabel Enterprise Linux 4 -%define tde_aboutpage /usr/share/doc/HTML/index.html -%endif - -# RHEL 5 Theme -%if 0%{?rhel} == 5 -Requires: desktop-backgrounds-basic -%define tde_bg /usr/share/backgrounds/images/default.jpg -%define tde_starticon /usr/share/pixmaps/redhat-starthere.png - -Requires: indexhtml -%define tde_aboutlabel Enterprise Linux 5 -%define tde_aboutpage /usr/share/doc/HTML/index.html -%endif - -# RHEL 6 Theme -%if 0%{?rhel} == 6 -Requires: redhat-logos -%define tde_bg /usr/share/backgrounds/default.png -%define tde_starticon /usr/share/icons/hicolor/96x96/apps/system-logo-icon.png - -Requires: redhat-indexhtml -%define tde_aboutlabel Enterprise Linux 6 -%define tde_aboutpage /usr/share/doc/HTML/index.html -%endif - -# Mageia 2 Theme -%if 0%{?mgaversion} == 2 -Requires: mageia-theme-Default -%define tde_bg /usr/share/mga/backgrounds/default.jpg -%define tde_starticon /usr/share/icons/hicolor/scalable/apps/mageia-menu.svg - -Requires: indexhtml -%define tde_aboutlabel Mageia 2 -%define tde_aboutpage /usr/share/mga/about/index.html -%endif - -# Mageia 3 Theme -%if 0%{?mgaversion} == 3 -Requires: mageia-theme-Default -%define tde_bg /usr/share/mga/backgrounds/default.jpg -%define tde_starticon %{tde_datadir}/oxygen/scalable/mgabutton.svg - -Requires: indexhtml -%define tde_aboutlabel Mageia 3 -%define tde_aboutpage /usr/share/mga/about/index.html -%endif - -# Mandriva 2011 Theme: "rosa" -%if "%{distribution}" == "Mandriva Linux" && "%{?mdkversion}" == "201100" -Requires: mandriva-theme -%define tde_bg /usr/share/mdk/backgrounds/default.jpg -%define tde_starticon /usr/share/icons/mandriva.png - -Requires: indexhtml -%define tde_aboutlabel Mandriva 2011 -%define tde_aboutpage /usr/share/mdk/about/index.html -%endif - -# PCLINUXOS 2012 -%if "%{?pclinuxos}" == "2012" -Requires: trinity-wallpaper-theme-default -%define tde_bg %{tde_datadir}/wallpapers/Pulse2012/contents/images/1600x1200.jpg -Requires: desktop-common-data -%define tde_starticon /usr/share/icons/pclinuxos.png - -Requires: indexhtml -%define tde_aboutlabel PCLinuxOS 2012 -%define tde_aboutpage /usr/share/mdk/about/index.html -%endif - -# PCLINUXOS 2013 -%if "%{?pclinuxos}" == "2013" -Requires: trinity-wallpaper-theme-default -%if "%{_lib}" == "lib64" -%define tde_bg %{tde_datadir}/wallpapers/pclinuxos64.jpg -%else -%define tde_bg %{tde_datadir}/wallpapers/pclinuxos32.jpg -%endif -Requires: desktop-common-data -%define tde_starticon /usr/share/icons/pclinuxos.png - -Requires: indexhtml -%define tde_aboutlabel PCLinuxOS 2013 -%define tde_aboutpage /usr/share/mdk/about/index.html -%endif - -# OpenSuse 11.4 Theme -%if "%{?suse_version}" == "1140" -Requires: hicolor-icon-theme-branding -%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg - -Requires: opensuse-manuals_en -%define tde_aboutlabel OpenSuse 11.4 -%define tde_aboutpage /usr/share/doc/manual/opensuse-manuals_en/manual/book.opensuse.startup.html -%endif - -# OpenSuse 12.2 Theme -%if "%{?suse_version}" == "1220" -Requires: wallpaper-branding -%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg -Requires: hicolor-icon-theme-branding -%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg - -Requires: opensuse-manuals_en -%define tde_aboutlabel OpenSuse 12.2 -%define tde_aboutpage /usr/share/doc/manual/opensuse-manuals_en/book.opensuse.startup.html -%endif - -# OpenSuse 12.3 Theme -%if "%{?suse_version}" == "1230" -Requires: wallpaper-branding -%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg -Requires: hicolor-icon-theme-branding -%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg - -Requires: opensuse-manuals_en -%define tde_aboutlabel OpenSuse 12.3 -%define tde_aboutpage /usr/share/doc/manual/opensuse-manuals_en/book.opensuse.startup.html -%endif - -BuildRequires: cmake >= 2.8 -BuildRequires: trinity-tqt3-devel >= %{version} -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-arts-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} -BuildRequires: gcc-c++ -BuildRequires: make -BuildRequires: openssl-devel -BuildRequires: audiofile-devel -BuildRequires: alsa-lib-devel -BuildRequires: libraw1394-devel -BuildRequires: libvorbis-devel -BuildRequires: glib2-devel -BuildRequires: pcre-devel - -# LIBUSB support -BuildRequires: pam-devel -%if 0%{?mageia} || 0%{?mandriva} || 0%{?pclinuxos} -BuildRequires: %{_lib}usb1.0-devel -BuildRequires: %{_lib}usb-compat0.1-devel -%else -BuildRequires: libusb-devel -%endif - -# ESOUND support -%if 0%{?rhel} || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -%define with_esound 1 -BuildRequires: esound-devel -%endif - -# OPENLDAP support -%if 0%{?suse_version} -BuildRequires: openldap2-devel -%else -BuildRequires: openldap-devel -%endif - -# SENSORS support -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} -BuildRequires: lm_sensors-devel -%endif -%if 0%{?suse_version} -BuildRequires: libsensors4-devel -%endif - -# TSAK support (requires libudev-devel) -# On RHEL5, udev is built statically, so TSAK cannot build. -%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version} -%define with_tsak 1 -BuildRequires: libudev-devel -%endif - -# XRANDR support -# On RHEL5, xrandr library is too old. -%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version} -%define with_xrandr 1 -%endif - -# XTEST support -# On RHEL4, xtest library is too old. -%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} -%define with_xtest 1 -%endif - -# OPENEXR support -# Disabled on RHEL4 -%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} -%define with_exr 1 -BuildRequires: OpenEXR-devel -%endif - -# XSCREENSAVER support -# Disabled on RHEL4 -%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} -%define with_xscreensaver 1 -%if 0%{?rhel} == 5 -BuildRequires: xorg-x11-proto-devel -BuildRequires: gnome-screensaver -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel -%endif -%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} >= 1220 -BuildRequires: libXScrnSaver-devel -%endif -%if 0%{?suse_version} == 1140 -BuildRequires: xscreensaver -%endif -%endif - -# AVAHI support -# Disabled on RHEL4 and RHEL5 -%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version} -BuildRequires: trinity-avahi-tqt-devel -Requires: trinity-avahi-tqt -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}avahi-client-devel -Requires: %{_lib}avahi-client3 -%else -BuildRequires: avahi-devel -Requires: avahi -%endif -%endif - -# NAS support -# (what is nas btw ?) -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: nas-devel -%endif - -# DBUS support -# TQT bindings not available for RHEL4 -%if 0%{?rhel} == 4 -# Dbus bindings were rebuilt with Qt support -BuildRequires: dbus-devel >= 0.22-12.EL.9p1 -Requires: dbus-qt >= 0.22-12.EL.9p1 -%else -BuildRequires: trinity-dbus-tqt-devel >= %{version} -Requires: trinity-dbus-tqt >= %{version} -%endif - -%if 0%{?fedora} >= 17 -BuildRequires: perl-Digest-MD5 -%endif - -# JACK support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}jack-devel -%endif -%if 0%{?fedora} || 0%{?rhel} >= 5 -BuildRequires: jack-audio-connection-kit-devel -%endif - -# LIBART support -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} || 0%{?fedora} || 0%{?rhel} >= 5 -%define with_libart 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}art_lgpl-devel -%endif -%if 0%{?suse_version} || 0%{?fedora} || 0%{?rhel} -BuildRequires: libart_lgpl-devel -%endif -%endif - -# SAMBA support -%if 0%{?rhel} == 4 -BuildRequires: samba-common -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -BuildRequires: libsmbclient-devel -%endif - -# IMAKE -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} >= 1220 -BuildRequires: imake -%endif - -# X11 stuff ... -%if 0%{?rhel} == 4 -BuildRequires: xorg-x11-devel -%endif - -%if 0%{?suse_version} == 1140 -BuildRequires: xorg-x11-libxkbfile-devel -BuildRequires: xorg-x11-libfontenc-devel -%endif - -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} >= 1220 -BuildRequires: libxkbfile-devel -BuildRequires: libfontenc-devel -%endif - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel -BuildRequires: %{_lib}xdamage-devel -BuildRequires: %{_lib}xdmcp%{?mgaversion:6}-devel -BuildRequires: %{_lib}xtst%{?mgaversion:6}-devel -BuildRequires: x11-font-util -BuildRequires: x11-proto-devel -%endif - -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 -BuildRequires: libXcomposite-devel -BuildRequires: libXdamage-devel -BuildRequires: libXdmcp-devel -BuildRequires: libXtst-devel -BuildRequires: xorg-x11-proto-devel -%endif - -%if 0%{?rhel} >= 5 || 0%{?fedora} -BuildRequires: xorg-x11-font-utils -%endif - -%if 0%{?suse_version} >= 1220 -BuildRequires: font-util -BuildRequires: bdftopcf -%endif - -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: drakconf -%endif - -# tdebase is a metapackage that installs all sub-packages -Requires: %{name}-runtime-data-common = %{version}-%{release} -Requires: %{name}-data = %{version}-%{release} -Requires: %{name}-bin = %{version}-%{release} -Requires: %{name}-tdeio-plugins = %{version}-%{release} -Requires: %{name}-tdeio-pim-plugins = %{version}-%{release} -Requires: trinity-kappfinder = %{version}-%{release} -Requires: trinity-kate = %{version}-%{release} -Requires: trinity-kwrite = %{version}-%{release} -Requires: trinity-kcontrol = %{version}-%{release} -Requires: trinity-kdepasswd = %{version}-%{release} -Requires: trinity-tdeprint = %{version}-%{release} -Requires: trinity-kdesktop = %{version}-%{release} -Requires: trinity-tdm = %{version}-%{release} -Requires: trinity-kfind = %{version}-%{release} -Requires: trinity-khelpcenter = %{version}-%{release} -Requires: trinity-kicker = %{version}-%{release} -Requires: trinity-klipper = %{version}-%{release} -Requires: trinity-kmenuedit = %{version}-%{release} -Requires: trinity-konqueror = %{version}-%{release} -Requires: trinity-konqueror-nsplugins = %{version}-%{release} -Requires: trinity-konsole = %{version}-%{release} -Requires: trinity-kpager = %{version}-%{release} -Requires: trinity-kpersonalizer = %{version}-%{release} -Requires: trinity-ksmserver = %{version}-%{release} -Requires: trinity-ksplash = %{version}-%{release} -Requires: trinity-ksysguard = %{version}-%{release} -Requires: trinity-ksysguardd = %{version}-%{release} -Requires: trinity-ktip = %{version}-%{release} -Requires: trinity-twin = %{version}-%{release} -Requires: trinity-libkonq = %{version}-%{release} -Requires: %{name}-libtqt3-integration = %{version}-%{release} -Requires: %{name}-tdeio-smb-plugin = %{version}-%{release} - -Requires: trinity-tqtinterface >= %{version} -Requires: trinity-arts >= %{version} -Requires: trinity-tdelibs >= %{version} -Requires: trinity-tqt3 >= %{version} -Requires: openssl - - -# RHEL 6 Configuration files are provided in separate packages -%if 0%{?rhel} || 0%{?fedora} -%if "%{?tde_prefix}" == "/usr" -Requires: kde-settings-kdm -%endif -Requires: redhat-menus -%endif - -%if 0%{?suse_version} -Requires: desktop-data-openSUSE -%endif - -%description -TDE (the Trinity Desktop Environment) is a powerful Open Source graphical -desktop environment for Unix workstations. It combines ease of use, -contemporary functionality, and outstanding graphical design with the -technological superiority of the Unix operating system. - -This metapackage includes the nucleus of TDE, namely the minimal package -set necessary to run TDE as a desktop environment. This includes the -window manager, taskbar, control center, a text editor, file manager, -web browser, X terminal emulator, and many other programs and components. - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING COPYING-DOCS README README.pam - -########## - -%package devel -Summary: %{summary} - Development files -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} -Requires: trinity-tdelibs-devel - -Requires: %{name}-bin-devel = %{version}-%{release} -Requires: trinity-kate-devel = %{version}-%{release} -Requires: trinity-kcontrol-devel = %{version}-%{release} -Requires: trinity-kdesktop-devel = %{version}-%{release} -Requires: trinity-kicker-devel = %{version}-%{release} -Requires: trinity-konqueror-devel = %{version}-%{release} -Requires: trinity-ksplash-devel = %{version}-%{release} -Requires: trinity-ksysguard-devel = %{version}-%{release} -Requires: trinity-libkonq-devel = %{version}-%{release} -Requires: trinity-tdm-devel = %{version}-%{release} -Requires: trinity-twin-devel = %{version}-%{release} - -Provides: trinity-kdebase-devel = %{version}-%{release} -Obsoletes: trinity-kdebase-devel < %{version}-%{release} -Provides: tdebase-devel = %{version}-%{release} -Obsoletes: tdebase-devel < %{version}-%{release} - -Obsoletes: trinity-kdebase-cmake < %{version}-%{release} -Obsoletes: tdebase-cmake < %{version}-%{release} - -%description devel -This is a meta-package that installs all tdebase development packages. - -Header files for developing applications using %{name}. -Install tdebase-devel if you want to develop or compile Konqueror, -Kate plugins or KWin styles. - -%files devel -%defattr(-,root,root,-) -%{tde_datadir}/cmake/*.cmake - -########## - -%package tdeio-pim-plugins -Summary: PIM TDEIOslaves from %{name} -Group: Environment/Libraries - -Provides: trinity-kdebase-pim-ioslaves = %{version}-%{release} -Obsoletes: trinity-kdebase-pim-ioslaves < %{version}-%{release} -Provides: tdebase-kio-pim-plugins = %{version}-%{release} -Obsoletes: tdebase-kio-pim-plugins < %{version}-%{release} -Provides: trinity-tdebase-kio-pim-plugins = %{version}-%{release} -Obsoletes: trinity-tdebase-kio-pim-plugins < %{version}-%{release} - -%description tdeio-pim-plugins -Protocol handlers (TDEIOslaves) for personal information management, including: - * tdeio_ldap - * tdeio_nntp - * tdeio_pop3 - * tdeio_smtp - -%files tdeio-pim-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/tdeio_ldap.la -%{tde_tdelibdir}/tdeio_ldap.so -%{tde_tdelibdir}/tdeio_nntp.la -%{tde_tdelibdir}/tdeio_nntp.so -%{tde_tdelibdir}/tdeio_pop3.la -%{tde_tdelibdir}/tdeio_pop3.so -%{tde_tdelibdir}/tdeio_smtp.la -%{tde_tdelibdir}/tdeio_smtp.so -%{tde_datadir}/services/ldap.protocol -%{tde_datadir}/services/ldaps.protocol -%{tde_datadir}/services/nntp.protocol -%{tde_datadir}/services/nntps.protocol -%{tde_datadir}/services/pop3.protocol -%{tde_datadir}/services/pop3s.protocol -%{tde_datadir}/services/smtp.protocol -%{tde_datadir}/services/smtps.protocol - -########## - -%package runtime-data-common -Summary: Shared common files for Trinity and KDE4 -Group: Environment/Libraries - -Provides: tdebase-runtime-data-common = %{version}-%{release} -Obsoletes: tdebase-runtime-data-common < %{version}-%{release} - -%description runtime-data-common -Shared common files for both Trinity and KDE4 -Such as the desktop right-click-"Create New" list - -%files runtime-data-common -%defattr(-,root,root,-) -%{tde_datadir}/autostart/khotkeys.desktop -%{tde_datadir}/desktop-directories/* -%{tde_datadir}/icons/hicolor/*/apps/kxkb.png -%{tde_datadir}/icons/hicolor/*/apps/knetattach.* -%{tde_datadir}/icons/hicolor/*/apps/khotkeys.png -%{tde_datadir}/icons/hicolor/*/apps/kmenuedit.png -%{tde_datadir}/icons/hicolor/*/apps/ksplash.png -%{tde_datadir}/locale/en_US/entry.desktop -%{tde_datadir}/locale/l10n/*.desktop -%{tde_datadir}/locale/l10n/*/entry.desktop -%{tde_datadir}/locale/l10n/*/flag.png -%{tde_datadir}/sounds/pop.wav -%{tde_datadir}/templates/ - -%post runtime-data-common -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -%postun runtime-data-common -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -########## - -%package -n trinity-kappfinder -Summary: non-TDE application finder for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-kappfinder -kappfinder searches your workstation for many common applications and -creates menu entries for them. - -%files -n trinity-kappfinder -%defattr(-,root,root,-) -%{tde_bindir}/kappfinder -%{tde_tdeappdir}/kappfinder.desktop -%{tde_datadir}/applnk/System/kappfinder.desktop -%{tde_datadir}/apps/kappfinder -%{tde_datadir}/icons/hicolor/*/apps/kappfinder.png - -%post -n trinity-kappfinder -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%postun -n trinity-kappfinder -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database %{tde_appdir} 2> /dev/null || : - -########## - -%package -n trinity-libkateinterfaces -Summary: Common libraries used by kwrite and kate -Group: Environment/Libraries - -%description -n trinity-libkateinterfaces -%{summary} - -%files -n trinity-libkateinterfaces -%defattr(-,root,root,-) -%{tde_libdir}/libkateinterfaces.so.* - -%post -n trinity-libkateinterfaces -/sbin/ldconfig || : - -%postun -n trinity-libkateinterfaces -/sbin/ldconfig || : - -########## - -%package -n trinity-kate -Summary: advanced text editor for TDE -Group: Applications/Text -Requires: %{name}-data = %{version}-%{release} -Requires: trinity-kwrite = %{version}-%{release} -Requires: trinity-libkateinterfaces = %{version}-%{release} - -%description -n trinity-kate -Kate is a multi document editor, based on a rewritten version of the kwrite -editing widget of TDE. - -It is a multi-view editor that lets you view several instances of the same -document with all instances being synced, or view more files at the same -time for easy reference or simultaneous editing. The terminal emulation -and sidebar are docked windows that can be plugged out of the main window, -or replaced therein according to your preference. - -Some random features: -* Editing of big files -* Extensible syntax highlighting -* Folding -* Dynamic word wrap -* Selectable encoding -* Filter command -* Global grep dialog - -%files -n trinity-kate -%defattr(-,root,root,-) -%{tde_bindir}/kate -%{tde_tdelibdir}/kate.la -%{tde_tdelibdir}/kate.so -%{tde_libdir}/libkateutils.so.* -%{tde_libdir}/lib[kt]deinit_kate.la -%{tde_libdir}/lib[kt]deinit_kate.so -%{tde_tdeappdir}/kate.desktop -%{tde_datadir}/apps/kate/ -%{tde_datadir}/apps/tdeconf_update/kate-2.4.upd -%{_sysconfdir}/trinity/katerc -%{tde_datadir}/icons/hicolor/*/apps/kate.png -%{tde_datadir}/icons/hicolor/*/apps/kate2.svgz -%{tde_datadir}/servicetypes/kateplugin.desktop -%{tde_tdedocdir}/HTML/en/kate/ - -%post -n trinity-kate -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database %{tde_appdir} 2> /dev/null || : -/sbin/ldconfig || : - -%postun -n trinity-kate -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database %{tde_appdir} 2> /dev/null || : -/sbin/ldconfig || : - -########## - -%package -n trinity-kate-devel -Summary: Development files for kate -Group: Development/Libraries -Requires: trinity-kate = %{version}-%{release} - -%description -n trinity-kate-devel -%{summary} - -%files -n trinity-kate-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kate/ -%{tde_libdir}/libkateutils.so -%{tde_libdir}/libkateutils.la -%{tde_libdir}/libkateinterfaces.so -%{tde_libdir}/libkateinterfaces.la - -%post -n trinity-kate-devel -/sbin/ldconfig || : - -%postun -n trinity-kate-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kwrite -Summary: advanced text editor for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} -Requires: trinity-libkateinterfaces = %{version}-%{release} - -%description -n trinity-kwrite -Kwrite is a text editor for TDE. - -%files -n trinity-kwrite -%defattr(-,root,root,-) -%{tde_bindir}/kwrite -%{tde_tdelibdir}/kwrite.la -%{tde_tdelibdir}/kwrite.so -%{tde_libdir}/lib[kt]deinit_kwrite.la -%{tde_libdir}/lib[kt]deinit_kwrite.so -%{tde_tdeappdir}/kwrite.desktop -%{tde_datadir}/apps/kwrite/kwriteui.rc -%{tde_datadir}/icons/hicolor/*/apps/kwrite.png -%{tde_datadir}/icons/hicolor/*/apps/kwrite2.svgz -%{tde_tdedocdir}/HTML/en/kwrite/ - - -%post -n trinity-kwrite -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%postun -n trinity-kwrite -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database %{tde_appdir} 2> /dev/null || : - -########## - -%package -n trinity-kcontrol -Summary: control center for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -# Requires 'usb.ids' -Requires: usbutils -%if 0%{?suse_version} == 0 -Requires: hwdata -%endif - -%description -n trinity-kcontrol -The TDE Control Center provides you with a centralized and convenient -way to configure all of your TDE settings. - -It is made up of multiple modules. Each module is a separate application, -but the control center organizes all of these programs into a convenient -location. - -In combination with udev KControl supports the advanced -configuration of Logitech mice, though the user must be a member of the -plugdev group. - -%files -n trinity-kcontrol -%defattr(-,root,root,-) -%{tde_bindir}/kaccess -%{tde_bindir}/kcontrol -%{tde_bindir}/kdeinstallktheme -%{tde_bindir}/keditfiletype -%{tde_bindir}/tdefontinst -%{tde_bindir}/tdefontview -%{tde_bindir}/kinfocenter -%{tde_bindir}/klocaldomainurifilterhelper -%{tde_bindir}/krdb -%{tde_tdelibdir}/fontthumbnail.la -%{tde_tdelibdir}/fontthumbnail.so -%{tde_tdelibdir}/kaccess.la -%{tde_tdelibdir}/kaccess.so -%{tde_tdelibdir}/kcm_access.la -%{tde_tdelibdir}/kcm_access.so -%{tde_tdelibdir}/kcm_arts.la -%{tde_tdelibdir}/kcm_arts.so -%{tde_tdelibdir}/kcm_background.la -%{tde_tdelibdir}/kcm_background.so -%{tde_tdelibdir}/kcm_bell.la -%{tde_tdelibdir}/kcm_bell.so -%{tde_tdelibdir}/kcm_clock.la -%{tde_tdelibdir}/kcm_clock.so -%{tde_tdelibdir}/kcm_colors.la -%{tde_tdelibdir}/kcm_colors.so -%{tde_tdelibdir}/kcm_componentchooser.la -%{tde_tdelibdir}/kcm_componentchooser.so -%{tde_tdelibdir}/kcm_crypto.la -%{tde_tdelibdir}/kcm_crypto.so -%{tde_tdelibdir}/kcm_css.la -%{tde_tdelibdir}/kcm_css.so -%{tde_tdelibdir}/kcm_display.la -%{tde_tdelibdir}/kcm_display.so -%{tde_tdelibdir}/kcm_energy.la -%{tde_tdelibdir}/kcm_energy.so -%{tde_tdelibdir}/kcm_filetypes.la -%{tde_tdelibdir}/kcm_filetypes.so -%{tde_tdelibdir}/kcm_fontinst.la -%{tde_tdelibdir}/kcm_fontinst.so -%{tde_tdelibdir}/kcm_fonts.la -%{tde_tdelibdir}/kcm_fonts.so -%{tde_tdelibdir}/kcm_hwmanager.la -%{tde_tdelibdir}/kcm_hwmanager.so -%{tde_tdelibdir}/kcm_icons.la -%{tde_tdelibdir}/kcm_icons.so -%{tde_tdelibdir}/kcm_info.la -%{tde_tdelibdir}/kcm_info.so -%{tde_tdelibdir}/kcm_input.la -%{tde_tdelibdir}/kcm_input.so -%{tde_tdelibdir}/kcm_ioslaveinfo.la -%{tde_tdelibdir}/kcm_ioslaveinfo.so -%{tde_tdelibdir}/kcm_joystick.la -%{tde_tdelibdir}/kcm_joystick.so -%{tde_tdelibdir}/kcm_kded.la -%{tde_tdelibdir}/kcm_kded.so -%{tde_tdelibdir}/kcm_[kt]dm.la -%{tde_tdelibdir}/kcm_[kt]dm.so -%{tde_tdelibdir}/kcm_tdednssd.so -%{tde_tdelibdir}/kcm_tdednssd.la -%{tde_tdelibdir}/kcm_keys.la -%{tde_tdelibdir}/kcm_keys.so -%{tde_tdelibdir}/kcm_kicker.la -%{tde_tdelibdir}/kcm_kicker.so -%{tde_tdelibdir}/kcm_tdeio.la -%{tde_tdelibdir}/kcm_tdeio.so -%{tde_tdelibdir}/kcm_knotify.la -%{tde_tdelibdir}/kcm_knotify.so -%{tde_tdelibdir}/kcm_konqhtml.la -%{tde_tdelibdir}/kcm_konqhtml.so -%{tde_tdelibdir}/kcm_konq.la -%{tde_tdelibdir}/kcm_konq.so -%{tde_tdelibdir}/kcm_kthememanager.la -%{tde_tdelibdir}/kcm_kthememanager.so -%{tde_tdelibdir}/kcm_kurifilt.la -%{tde_tdelibdir}/kcm_kurifilt.so -%{tde_tdelibdir}/kcm_launch.la -%{tde_tdelibdir}/kcm_launch.so -%{tde_tdelibdir}/kcm_locale.la -%{tde_tdelibdir}/kcm_locale.so -%{tde_tdelibdir}/kcm_nic.la -%{tde_tdelibdir}/kcm_nic.so -%{tde_tdelibdir}/kcm_performance.la -%{tde_tdelibdir}/kcm_performance.so -%{tde_tdelibdir}/kcm_privacy.la -%{tde_tdelibdir}/kcm_privacy.so -%{tde_tdelibdir}/kcm_screensaver.la -%{tde_tdelibdir}/kcm_screensaver.so -%{tde_tdelibdir}/kcm_smserver.la -%{tde_tdelibdir}/kcm_smserver.so -%{tde_tdelibdir}/kcm_spellchecking.la -%{tde_tdelibdir}/kcm_spellchecking.so -%{tde_tdelibdir}/kcm_style.la -%{tde_tdelibdir}/kcm_style.so -%{tde_tdelibdir}/kcm_taskbar.la -%{tde_tdelibdir}/kcm_taskbar.so -%{tde_tdelibdir}/kcm_usb.la -%{tde_tdelibdir}/kcm_usb.so -%{tde_tdelibdir}/kcm_view1394.la -%{tde_tdelibdir}/kcm_view1394.so -%{tde_tdelibdir}/kcm_xinerama.la -%{tde_tdelibdir}/kcm_xinerama.so -%{tde_tdelibdir}/kcontrol.la -%{tde_tdelibdir}/kcontrol.so -%{tde_tdelibdir}/tdefile_font.la -%{tde_tdelibdir}/tdefile_font.so -%{tde_tdelibdir}/tdeio_fonts.la -%{tde_tdelibdir}/tdeio_fonts.so -%{tde_tdelibdir}/kstyle_keramik_config.la -%{tde_tdelibdir}/kstyle_keramik_config.so -%{tde_tdelibdir}/libtdefontviewpart.la -%{tde_tdelibdir}/libtdefontviewpart.so -%{tde_tdelibdir}/libtdeshorturifilter.la -%{tde_tdelibdir}/libtdeshorturifilter.so -%{tde_tdelibdir}/libkuriikwsfilter.la -%{tde_tdelibdir}/libkuriikwsfilter.so -%{tde_tdelibdir}/libkurisearchfilter.la -%{tde_tdelibdir}/libkurisearchfilter.so -%{tde_tdelibdir}/liblocaldomainurifilter.la -%{tde_tdelibdir}/liblocaldomainurifilter.so -%{tde_libdir}/lib[kt]deinit_kaccess.la -%{tde_libdir}/lib[kt]deinit_kaccess.so -%{tde_libdir}/lib[kt]deinit_kcontrol.la -%{tde_libdir}/lib[kt]deinit_kcontrol.so -%{tde_libdir}/libtdefontinst.so.* -%{tde_tdeappdir}/arts.desktop -%{tde_tdeappdir}/background.desktop -%{tde_tdeappdir}/bell.desktop -%{tde_tdeappdir}/cache.desktop -%{tde_tdeappdir}/cdinfo.desktop -%{tde_tdeappdir}/clock.desktop -%{tde_tdeappdir}/colors.desktop -%{tde_tdeappdir}/componentchooser.desktop -%{tde_tdeappdir}/cookies.desktop -%{tde_tdeappdir}/crypto.desktop -%{tde_tdeappdir}/desktopbehavior.desktop -%{tde_tdeappdir}/desktop.desktop -%{tde_tdeappdir}/desktoppath.desktop -%{tde_tdeappdir}/devices.desktop -%{tde_tdeappdir}/display.desktop -%{tde_tdeappdir}/dma.desktop -%{tde_tdeappdir}/ebrowsing.desktop -%{tde_tdeappdir}/filebrowser.desktop -%{tde_tdeappdir}/filetypes.desktop -%{tde_tdeappdir}/fonts.desktop -%{tde_tdeappdir}/hwmanager.desktop -%{tde_tdeappdir}/icons.desktop -%{tde_tdeappdir}/installktheme.desktop -%{tde_tdeappdir}/interrupts.desktop -%{tde_tdeappdir}/ioports.desktop -%{tde_tdeappdir}/ioslaveinfo.desktop -%{tde_tdeappdir}/joystick.desktop -%{tde_tdeappdir}/kcm_tdednssd.desktop -%{tde_tdeappdir}/kcmaccess.desktop -%{tde_tdeappdir}/kcmcss.desktop -%{tde_tdeappdir}/kcmfontinst.desktop -%{tde_tdeappdir}/kcmkded.desktop -%{tde_tdeappdir}/kcmlaunch.desktop -%{tde_tdeappdir}/kcmnotify.desktop -%{tde_tdeappdir}/kcmperformance.desktop -%{tde_tdeappdir}/kcmsmserver.desktop -%{tde_tdeappdir}/kcmtaskbar.desktop -%{tde_tdeappdir}/kcmusb.desktop -%{tde_tdeappdir}/kcmview1394.desktop -%{tde_tdeappdir}/KControl.desktop -%{tde_tdeappdir}/[kt]dm.desktop -%{tde_tdeappdir}/keys.desktop -%{tde_tdeappdir}/tdefontview.desktop -%{tde_tdeappdir}/tdehtml_behavior.desktop -%{tde_tdeappdir}/tdehtml_fonts.desktop -%{tde_tdeappdir}/tdehtml_java_js.desktop -%{tde_tdeappdir}/kinfocenter.desktop -%{tde_tdeappdir}/kthememanager.desktop -%{tde_tdeappdir}/lanbrowser.desktop -%{tde_tdeappdir}/language.desktop -%{tde_tdeappdir}/media.desktop -%{tde_tdeappdir}/memory.desktop -%{tde_tdeappdir}/mouse.desktop -%{tde_tdeappdir}/netpref.desktop -%{tde_tdeappdir}/nic.desktop -%{tde_tdeappdir}/opengl.desktop -%{tde_tdeappdir}/panel_appearance.desktop -%{tde_tdeappdir}/panel.desktop -%{tde_tdeappdir}/partitions.desktop -%{tde_tdeappdir}/pci.desktop -%{tde_tdeappdir}/privacy.desktop -%{tde_tdeappdir}/processor.desktop -%{tde_tdeappdir}/proxy.desktop -%{tde_tdeappdir}/screensaver.desktop -%{tde_tdeappdir}/scsi.desktop -%{tde_tdeappdir}/smbstatus.desktop -%{tde_tdeappdir}/sound.desktop -%{tde_tdeappdir}/spellchecking.desktop -%{tde_tdeappdir}/style.desktop -%{tde_tdeappdir}/useragent.desktop -%{tde_tdeappdir}/xserver.desktop -%{tde_datadir}/applnk/.hidden/energy.desktop -%{tde_datadir}/applnk/.hidden/fileappearance.desktop -%{tde_datadir}/applnk/.hidden/filebehavior.desktop -%{tde_datadir}/applnk/.hidden/filepreviews.desktop -%{tde_datadir}/applnk/.hidden/kcmkonqyperformance.desktop -%{tde_datadir}/applnk/.hidden/kicker_config_appearance.desktop -%{tde_datadir}/applnk/.hidden/kicker_config.desktop -%{tde_datadir}/applnk/.hidden/smb.desktop -%{tde_datadir}/applnk/.hidden/xinerama.desktop -%{tde_datadir}/applnk/Settings/LookNFeel/ -%{tde_datadir}/applnk/Settings/WebBrowsing/tdehtml_appearance.desktop -%{tde_datadir}/applnk/Settings/WebBrowsing/nsplugin.desktop -%{tde_datadir}/applnk/Settings/WebBrowsing/smb.desktop -%{tde_datadir}/apps/kcm_componentchooser/kcm_browser.desktop -%{tde_datadir}/apps/kcm_componentchooser/kcm_kemail.desktop -%{tde_datadir}/apps/kcm_componentchooser/kcm_terminal.desktop -%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/fonts.desktop -%{tde_datadir}/apps/konqueror/servicemenus/installfont.desktop -%{tde_datadir}/mimelnk/application/x-ktheme.desktop -%{tde_datadir}/mimelnk/fonts/folder.desktop -%{tde_datadir}/mimelnk/fonts/package.desktop -%{tde_datadir}/mimelnk/fonts/system-folder.desktop -%{tde_datadir}/services/fonts.protocol -%{tde_datadir}/services/fontthumbnail.desktop -%{tde_datadir}/services/kaccess.desktop -%{tde_datadir}/services/tdefile_font.desktop -%{tde_datadir}/services/tdefontviewpart.desktop -%{tde_datadir}/services/tdeshorturifilter.desktop -%{tde_datadir}/services/kuriikwsfilter.desktop -%{tde_datadir}/services/kurisearchfilter.desktop -%{tde_datadir}/services/localdomainurifilter.desktop - -%{tde_datadir}/apps/usb.ids -%{tde_datadir}/apps/kcmview1394/oui.db - -# The following features are not compiled under RHEL 5 and older -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -%{tde_bindir}/tderandrtray -%{tde_tdelibdir}/kcm_displayconfig.la -%{tde_tdelibdir}/kcm_displayconfig.so -%{tde_tdelibdir}/kcm_iccconfig.la -%{tde_tdelibdir}/kcm_iccconfig.so -%{tde_tdelibdir}/kcm_randr.la -%{tde_tdelibdir}/kcm_randr.so -%{tde_tdeappdir}/displayconfig.desktop -%{tde_tdeappdir}/iccconfig.desktop -%{tde_tdeappdir}/tderandrtray.desktop -%{tde_datadir}/applnk/.hidden/randr.desktop -%{tde_datadir}/autostart/tderandrtray-autostart.desktop -%endif - -%post -n trinity-kcontrol -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%postun -n trinity-kcontrol -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} 2> /dev/null || : - -########## - -%package -n trinity-kcontrol-devel -Summary: Development files for kcontrol -Group: Development/Libraries -Requires: trinity-kcontrol = %{version}-%{release} - -%description -n trinity-kcontrol-devel -%{summary} - -%files -n trinity-kcontrol-devel -%defattr(-,root,root,-) -%{tde_libdir}/libtdefontinst.la -%{tde_libdir}/libtdefontinst.so - -%post -n trinity-kcontrol-devel -/sbin/ldconfig || : - -%postun -n trinity-kcontrol-devel -/sbin/ldconfig || : - -########## - -%package bin -Summary: core binaries for the TDE base module -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} -Requires: pam - -Provides: tdebase-bin = %{version}-%{release} -Obsoletes: tdebase-bin < %{version}-%{release} - -%description bin -This package contains miscellaneous programs needed by other -TDE applications, particularly those in the TDE base module. - -%files bin -%defattr(-,root,root,-) -%{tde_bindir}/krootbacking -#%{tde_bindir}/tdeinit_phase1 -%if 0%{?with_tsak} -%attr(4511,root,root) %{tde_bindir}/[kt]dmtsak -%{tde_bindir}/tsak -%endif -%{tde_bindir}/kdebugdialog -%{tde_bindir}/kreadconfig -%{tde_bindir}/kwriteconfig -%{tde_bindir}/kstart -%{_sysconfdir}/trinity/kxkb_groups -%{tde_bindir}/drkonqi -%{tde_bindir}/crashtest -%{tde_bindir}/kapplymousetheme -%{tde_bindir}/kblankscrn.kss -%attr(4755,root,root) %{tde_bindir}/kcheckpass -%{tde_bindir}/kcminit -%{tde_bindir}/kcminit_startup -%{tde_bindir}/kdcop -%{tde_bindir}/[kt]desu -%attr(0755,root,root) %{tde_bindir}/[kt]desud -%{tde_bindir}/kdialog -%{tde_bindir}/khotkeys -%{tde_bindir}/knetattach -%{tde_bindir}/krandom.kss -%{tde_bindir}/ksystraycmd -%{tde_bindir}/kxkb -%{tde_libdir}/tdeconf_update_bin/khotkeys_update -%{tde_tdelibdir}/kcminit.la -%{tde_tdelibdir}/kcminit.so -%{tde_tdelibdir}/kcminit_startup.la -%{tde_tdelibdir}/kcminit_startup.so -%{tde_tdelibdir}/kcm_keyboard.la -%{tde_tdelibdir}/kcm_keyboard.so -%{tde_tdelibdir}/kcm_khotkeys_init.la -%{tde_tdelibdir}/kcm_khotkeys_init.so -%{tde_tdelibdir}/kcm_khotkeys.la -%{tde_tdelibdir}/kcm_khotkeys.so -%{tde_tdelibdir}/kded_khotkeys.la -%{tde_tdelibdir}/kded_khotkeys.so -%{tde_tdelibdir}/kgreet_classic.la -%{tde_tdelibdir}/kgreet_classic.so -%{tde_tdelibdir}/kgreet_winbind.la -%{tde_tdelibdir}/kgreet_winbind.so -%{tde_tdelibdir}/khotkeys.la -%{tde_tdelibdir}/khotkeys.so -%{tde_tdelibdir}/khotkeys_arts.la -%{tde_tdelibdir}/khotkeys_arts.so -%{tde_tdelibdir}/kxkb.la -%{tde_tdelibdir}/kxkb.so -%{tde_libdir}/lib[kt]deinit_kcminit.la -%{tde_libdir}/lib[kt]deinit_kcminit.so -%{tde_libdir}/lib[kt]deinit_kcminit_startup.la -%{tde_libdir}/lib[kt]deinit_kcminit_startup.so -%{tde_libdir}/lib[kt]deinit_khotkeys.la -%{tde_libdir}/lib[kt]deinit_khotkeys.so -%{tde_libdir}/lib[kt]deinit_kxkb.la -%{tde_libdir}/lib[kt]deinit_kxkb.so -%{tde_libdir}/libkhotkeys_shared.so.* -%{tde_tdeappdir}/keyboard.desktop -%{tde_tdeappdir}/keyboard_layout.desktop -%{tde_tdeappdir}/khotkeys.desktop -%{tde_tdeappdir}/knetattach.desktop -%{tde_datadir}/applnk/System/ScreenSavers/ -%{tde_datadir}/apps/drkonqi/ -%{tde_datadir}/apps/tdeconf_update/khotkeys_32b1_update.upd -%{tde_datadir}/apps/tdeconf_update/khotkeys_printscreen.upd -%{tde_datadir}/apps/tdeconf_update/konqueror_gestures_trinity21_update.upd -%{tde_datadir}/apps/kdcop/kdcopui.rc -%{tde_datadir}/apps/khotkeys/ -%{tde_datadir}/services/kded/khotkeys.desktop -%{tde_datadir}/services/kxkb.desktop -%if 0%{?suse_version} == 0 -%{_sysconfdir}/pam.d/kcheckpass-trinity -%{_sysconfdir}/pam.d/tdescreensaver-trinity -%endif -%{tde_tdedocdir}/HTML/en/kdcop/ -%{tde_tdedocdir}/HTML/en/kdebugdialog// -%{tde_tdedocdir}/HTML/en/[kt]desu/ -%{tde_tdedocdir}/HTML/en/knetattach/ -%{tde_tdedocdir}/HTML/en/kxkb/ - -%post bin -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%postun bin -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} 2> /dev/null || : - -########## - -%package bin-devel -Summary: Development files for core binaries for the TDE base module -Group: Development/Libraries -Requires: %{name}-bin = %{version}-%{release} - -Obsoletes: tdebase-bin-devel < %{version}-%{release} -Provides: tdebase-bin-devel = %{version}-%{release} - -%description bin-devel -%{summary} - -%files bin-devel -%defattr(-,root,root,-) -%{tde_libdir}/libkhotkeys_shared.la -%{tde_libdir}/libkhotkeys_shared.so - -%post bin-devel -/sbin/ldconfig || : - -%postun bin-devel -/sbin/ldconfig || : - -########## - -%package data -Summary: shared data files for the TDE base module -Group: Environment/Libraries -Requires: %{name}-runtime-data-common = %{version}-%{release} - -Obsoletes: tdebase-data < %{version}-%{release} -Provides: tdebase-data = %{version}-%{release} - -%description data -This package contains the architecture-independent shared data files -needed for a basic TDE desktop installation. - -%files data -%defattr(-,root,root,-) -%{_sysconfdir}/trinity/tdeshorturifilterrc -%{tde_datadir}/applnk/.hidden/battery.desktop -%{tde_datadir}/applnk/.hidden/bwarning.desktop -%{tde_datadir}/applnk/.hidden/cwarning.desktop -%{tde_datadir}/applnk/.hidden/.directory -%{tde_datadir}/applnk/.hidden/email.desktop -%{tde_datadir}/applnk/.hidden/kcmkonq.desktop -%{tde_datadir}/applnk/.hidden/kcmkxmlrpcd.desktop -%{tde_datadir}/applnk/.hidden/konqhtml.desktop -%{tde_datadir}/applnk/.hidden/passwords.desktop -%{tde_datadir}/applnk/.hidden/power.desktop -%{tde_datadir}/applnk/.hidden/socks.desktop -%{tde_datadir}/applnk/.hidden/userinfo.desktop -%{tde_datadir}/applnk/.hidden/virtualdesktops.desktop -%{tde_datadir}/apps/kaccess/eventsrc -%{tde_datadir}/apps/kcmcss/template.css -%{tde_datadir}/apps/kcminput/ -%{tde_datadir}/apps/kcmkeys/ -%{tde_datadir}/apps/kcmlocale/pics/background.png -%{tde_datadir}/apps/tdeconf_update/convertShortcuts.pl -%{tde_datadir}/apps/tdeconf_update/tdeaccel.upd -%{tde_datadir}/apps/tdeconf_update/kcmdisplayrc.upd -%{tde_datadir}/apps/tdeconf_update/kuriikwsfilter.upd -%{tde_datadir}/apps/tdeconf_update/mouse_cursor_theme.upd -%{tde_datadir}/apps/tdeconf_update/socks.upd -%{tde_datadir}/apps/kcontrol/ -%{tde_datadir}/apps/tdedisplay/ -%{tde_datadir}/apps/tdefontview/ -%{tde_datadir}/apps/kinfocenter/kinfocenterui.rc -%{tde_datadir}/apps/kthememanager/themes/* -%{tde_datadir}/icons/crystalsvg/*/apps/access.png -%{tde_datadir}/icons/crystalsvg/*/apps/acroread.png -%{tde_datadir}/icons/crystalsvg/*/apps/applixware.png -%{tde_datadir}/icons/crystalsvg/*/apps/arts.png -%{tde_datadir}/icons/crystalsvg/*/apps/background.png -%{tde_datadir}/icons/crystalsvg/*/apps/bell.png -%{tde_datadir}/icons/crystalsvg/*/apps/cache.png -%{tde_datadir}/icons/crystalsvg/*/apps/clanbomber.png -%{tde_datadir}/icons/crystalsvg/*/apps/clock.png -%{tde_datadir}/icons/crystalsvg/*/apps/colors.png -%{tde_datadir}/icons/crystalsvg/*/apps/date.png -%{tde_datadir}/icons/crystalsvg/*/apps/email.png -%{tde_datadir}/icons/crystalsvg/*/apps/energy.png -%{tde_datadir}/icons/crystalsvg/*/apps/energy_star.png -%{tde_datadir}/icons/crystalsvg/*/apps/filetypes.png -%{tde_datadir}/icons/crystalsvg/*/apps/fonts.png -%{tde_datadir}/icons/crystalsvg/*/apps/gimp.png -%{tde_datadir}/icons/crystalsvg/*/apps/help_index.png -%{tde_datadir}/icons/crystalsvg/*/apps/hwinfo.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmdevices.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmdf.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmkwm.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmmemory.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmpartitions.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmpci.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcontrol.png -%{tde_datadir}/icons/crystalsvg/*/apps/[kt]dmconfig.png -%{tde_datadir}/icons/crystalsvg/*/apps/key_bindings.png -%{tde_datadir}/icons/crystalsvg/*/apps/kfm_home.png -%{tde_datadir}/icons/crystalsvg/*/apps/tdescreensaver.png -%{tde_datadir}/icons/crystalsvg/*/apps/kthememgr.png -%{tde_datadir}/icons/crystalsvg/*/apps/licq.png -%{tde_datadir}/icons/crystalsvg/*/apps/linuxconf.png -%{tde_datadir}/icons/crystalsvg/*/apps/locale.png -%{tde_datadir}/icons/crystalsvg/*/apps/looknfeel.png -%{tde_datadir}/icons/crystalsvg/*/apps/multimedia.png -%{tde_datadir}/icons/crystalsvg/*/apps/netscape.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_applications.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_development.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_favourite.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_games.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_games_kids.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_multimedia.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_network.png -%{tde_datadir}/icons/crystalsvg/*/apps/package.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_settings.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_toys.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_utilities.png -%{tde_datadir}/icons/crystalsvg/*/apps/penguin.png -%{tde_datadir}/icons/crystalsvg/*/apps/personal.png -%{tde_datadir}/icons/crystalsvg/*/apps/phppg.png -%{tde_datadir}/icons/crystalsvg/*/apps/proxy.png -%{tde_datadir}/icons/crystalsvg/*/apps/pysol.png -%{tde_datadir}/icons/crystalsvg/*/apps/randr.png -%{tde_datadir}/icons/crystalsvg/*/apps/samba.png -%{tde_datadir}/icons/crystalsvg/*/apps/staroffice.png -%{tde_datadir}/icons/crystalsvg/*/apps/stylesheet.png -%{tde_datadir}/icons/crystalsvg/*/apps/terminal.png -%{tde_datadir}/icons/crystalsvg/*/apps/tux.png -%{tde_datadir}/icons/crystalsvg/*/apps/wp.png -%{tde_datadir}/icons/crystalsvg/*/apps/xclock.png -%{tde_datadir}/icons/crystalsvg/*/apps/xfmail.png -%{tde_datadir}/icons/crystalsvg/*/apps/xmag.png -%{tde_datadir}/icons/crystalsvg/*/apps/xpaint.png -%{tde_datadir}/icons/crystalsvg/scalable/apps/access.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/acroread.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/aim.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/aktion.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/antivirus.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/applixware.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/arts.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/background.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/bell.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/browser.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/cache.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/camera.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/clanbomber.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/clock.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/colors.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/core.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/date.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/display.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/download_manager.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/email.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/energy.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/error.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/fifteenpieces.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/filetypes.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/fonts.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/galeon.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/gnome_apps.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/hardware.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/hwinfo.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/ieee1394.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/kcmdevices.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/kcmkwm.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/kcmx.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/locale.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/my_mac.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/netscape.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/openoffice.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/package_development.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/package_games_kids.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/package_toys.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/penguin.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/personal.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/quicktime.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/realplayer.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/samba.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/shell.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/staroffice.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/stylesheet.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/terminal.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/tux.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/wine.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/x.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/xapp.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/xcalc.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/xchat.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/xclock.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/xeyes.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/xpaint.svgz -%{tde_datadir}/icons/crystalsvg/*/devices/laptop.png -%{tde_datadir}/icons/crystalsvg/*/devices/laptop.svgz -%{tde_datadir}/icons/crystalsvg/*/actions/newfont.png -%{tde_datadir}/icons/crystalsvg/*/apps/abiword.png -%{tde_datadir}/icons/crystalsvg/*/apps/agent.png -%{tde_datadir}/icons/crystalsvg/*/apps/alevt.png -%{tde_datadir}/icons/crystalsvg/*/apps/assistant.png -%{tde_datadir}/icons/crystalsvg/*/apps/blender.png -%{tde_datadir}/icons/crystalsvg/*/apps/bluefish.png -%{tde_datadir}/icons/crystalsvg/*/apps/cookie.png -%{tde_datadir}/icons/crystalsvg/*/apps/designer.png -%{tde_datadir}/icons/crystalsvg/*/apps/dia.png -%{tde_datadir}/icons/crystalsvg/*/apps/dlgedit.png -%{tde_datadir}/icons/crystalsvg/*/apps/eclipse.png -%{tde_datadir}/icons/crystalsvg/*/apps/edu_languages.png -%{tde_datadir}/icons/crystalsvg/*/apps/edu_mathematics.png -%{tde_datadir}/icons/crystalsvg/*/apps/edu_miscellaneous.png -%{tde_datadir}/icons/crystalsvg/*/apps/edu_science.png -%{tde_datadir}/icons/crystalsvg/*/apps/emacs.png -%{tde_datadir}/icons/crystalsvg/*/apps/enhanced_browsing.png -%{tde_datadir}/icons/crystalsvg/*/apps/evolution.png -%{tde_datadir}/icons/crystalsvg/*/apps/fifteenpieces.png -%{tde_datadir}/icons/crystalsvg/*/apps/gabber.png -%{tde_datadir}/icons/crystalsvg/*/apps/gaim.png -%{tde_datadir}/icons/crystalsvg/*/apps/gnome_apps.png -%{tde_datadir}/icons/crystalsvg/*/apps/gnomemeeting.png -%{tde_datadir}/icons/crystalsvg/*/apps/gnucash.png -%{tde_datadir}/icons/crystalsvg/*/apps/gnumeric.png -%{tde_datadir}/icons/crystalsvg/*/apps/gv.png -%{tde_datadir}/icons/crystalsvg/*/apps/gvim.png -%{tde_datadir}/icons/crystalsvg/*/apps/icons.png -%{tde_datadir}/icons/crystalsvg/*/apps/iconthemes.png -%{tde_datadir}/icons/crystalsvg/*/apps/ieee1394.png -%{tde_datadir}/icons/crystalsvg/*/apps/input_devices_settings.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmkicker.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmmidi.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmprocessor.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmscsi.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmsound.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmsystem.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmx.png -%{tde_datadir}/icons/crystalsvg/*/apps/keyboard.png -%{tde_datadir}/icons/crystalsvg/*/apps/keyboard_layout.png -%{tde_datadir}/icons/crystalsvg/*/apps/knotify.png -%{tde_datadir}/icons/crystalsvg/*/apps/kvirc.png -%{tde_datadir}/icons/crystalsvg/*/apps/linguist.png -%{tde_datadir}/icons/crystalsvg/*/apps/lyx.png -%{tde_datadir}/icons/crystalsvg/*/apps/mac.png -%{tde_datadir}/icons/crystalsvg/*/apps/mathematica.png -%{tde_datadir}/icons/crystalsvg/*/apps/nedit.png -%{tde_datadir}/icons/crystalsvg/*/apps/opera.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_application.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_editors.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_edutainment.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_games_arcade.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_games_board.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_games_card.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_games_strategy.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_graphics.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_system.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_wordprocessing.png -%{tde_datadir}/icons/crystalsvg/*/apps/pan.png -%{tde_datadir}/icons/crystalsvg/*/apps/panel_settings.png -%{tde_datadir}/icons/crystalsvg/*/apps/plan.png -%{tde_datadir}/icons/crystalsvg/*/apps/planner.png -%{tde_datadir}/icons/crystalsvg/*/apps/pybliographic.png -%{tde_datadir}/icons/crystalsvg/*/apps/realplayer.png -%{tde_datadir}/icons/crystalsvg/*/apps/remote.png -%{tde_datadir}/icons/crystalsvg/*/apps/scribus.png -%{tde_datadir}/icons/crystalsvg/*/apps/sodipodi.png -%{tde_datadir}/icons/crystalsvg/*/apps/style.png -%{tde_datadir}/icons/crystalsvg/*/apps/usb.png -%{tde_datadir}/icons/crystalsvg/*/apps/vnc.png -%{tde_datadir}/icons/crystalsvg/*/apps/wabi.png -%{tde_datadir}/icons/crystalsvg/*/apps/wine.png -%{tde_datadir}/icons/crystalsvg/*/apps/xcalc.png -%{tde_datadir}/icons/crystalsvg/*/apps/xchat.png -%{tde_datadir}/icons/crystalsvg/*/apps/xclipboard.png -%{tde_datadir}/icons/crystalsvg/*/apps/xconsole.png -%{tde_datadir}/icons/crystalsvg/*/apps/xedit.png -%{tde_datadir}/icons/crystalsvg/*/apps/xemacs.png -%{tde_datadir}/icons/crystalsvg/*/apps/xeyes.png -%{tde_datadir}/icons/crystalsvg/*/apps/xfig.png -%{tde_datadir}/icons/crystalsvg/*/apps/xload.png -%{tde_datadir}/icons/crystalsvg/*/apps/xmms.png -%{tde_datadir}/icons/crystalsvg/*/apps/xosview.png -%{tde_datadir}/icons/crystalsvg/*/apps/xv.png -%{tde_datadir}/icons/crystalsvg/*/apps/galeon.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmdrkonqi.png -%{tde_datadir}/icons/crystalsvg/*/apps/pinguin.png -%{tde_datadir}/icons/crystalsvg/*/apps/x.png -%{tde_datadir}/icons/crystalsvg/*/apps/xapp.png -%{tde_datadir}/icons/crystalsvg/*/apps/xawtv.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmopengl.png -%{tde_datadir}/icons/crystalsvg/*/apps/wmaker_apps.png -%{tde_datadir}/icons/crystalsvg/*/apps/qtella.png -%{tde_datadir}/services/searchproviders -%{tde_datadir}/services/useragentstrings/*.desktop -%{tde_datadir}/servicetypes/searchprovider.desktop -%{tde_datadir}/servicetypes/uasprovider.desktop -%exclude %{tde_datadir}/sounds/pop.wav -%{tde_datadir}/sounds/ -%{tde_datadir}/wallpapers/* - -%if "%{tde_prefix}" != "/usr" -%{tde_prefix}/etc/xdg/menus/applications-merged/tde-essential.menu -%{tde_prefix}/etc/xdg/menus/tde-information.menu -%{tde_prefix}/etc/xdg/menus/tde-screensavers.menu -%{tde_prefix}/etc/xdg/menus/tde-settings.menu -%else -%{_sysconfdir}/xdg/menus/applications-merged/tde-essential.menu -%{_sysconfdir}/xdg/menus/tde-information.menu -%{_sysconfdir}/xdg/menus/tde-screensavers.menu -%{_sysconfdir}/xdg/menus/tde-settings.menu -%endif - -%{tde_tdedocdir}/HTML/en/kcontrol/ -%exclude %{tde_tdedocdir}/HTML/en/kcontrol/kcmkonsole/ -%{tde_tdedocdir}/HTML/en/kinfocenter/ - -%post data -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -%if "%{distribution}" == "Mandriva Linux" -# Mandriva-specific: we have to choose a background for current distribution variant (Free, One, Powerpack, ...) -# First, we read the "product" key in /etc/product.id -eval $(tr "," ";" /dev/null -# Then, we create a symbolic link to the corresponding background -if [ -r "%{_datadir}/mdk/backgrounds/Mandriva-${product:-Free}-1280x1024-1300.jpg" "%{tde_bg}" ]; then - %__ln -sf "%{_datadir}/mdk/backgrounds/Mandriva-${product:-Free}-1280x1024-1300.jpg" "%{tde_bg}" -fi -%endif - -%if "%{distribution}" == "Mageia" -if [ ! -r "%{tde_bg}" ] && [ -r "%{_datadir}/mga/backgrounds/Mageia-Default-1920x1440.png" ]; then - %__ln -sf "%{_datadir}/mga/backgrounds/Mageia-Default-1920x1440.png" "%{tde_bg}" -fi -%endif - -%postun data -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -########## - -%package tdeio-plugins -Summary: core I/O slaves for TDE -Group: Applications/Utilities -Requires: trinity-kdesktop = %{version}-%{release} -Requires: cyrus-sasl -Requires: psmisc -%if 0%{?rhel} == 4 || 0%{?suse_version} -Requires: cryptsetup -%else -Requires: cryptsetup-luks -%endif - -Obsoletes: tdebase-kio-plugins < %{version}-%{release} -Provides: tdebase-kio-plugins = %{version}-%{release} -Obsoletes: trinity-tdebase-kio-plugins < %{version}-%{release} -Provides: trinity-tdebase-kio-plugins = %{version}-%{release} - -%description tdeio-plugins -This package includes the base tdeioslaves. They include, amongst many -others, file, http, and ftp. - -It also includes the media tdeioslave, which handles removable devices, -and which works best with udev, udisks and pmount. Media -also extends the functionality of many other tdeioslaves. To use this -service, please make sure that your user is a member of the plugdev -group. - -%files tdeio-plugins -%defattr(-,root,root,-) -%{tde_bindir}/tdeio_media_mounthelper -%{tde_bindir}/ktrash -%{tde_tdelibdir}/cursorthumbnail.la -%{tde_tdelibdir}/cursorthumbnail.so -%{tde_tdelibdir}/djvuthumbnail.la -%{tde_tdelibdir}/djvuthumbnail.so -%{tde_tdelibdir}/htmlthumbnail.la -%{tde_tdelibdir}/htmlthumbnail.so -%{tde_tdelibdir}/imagethumbnail.la -%{tde_tdelibdir}/imagethumbnail.so -%{tde_tdelibdir}/kcm_cgi.la -%{tde_tdelibdir}/kcm_cgi.so -%{tde_tdelibdir}/kcm_media.la -%{tde_tdelibdir}/kcm_media.so -%{tde_tdelibdir}/kded_homedirnotify.la -%{tde_tdelibdir}/kded_homedirnotify.so -%{tde_tdelibdir}/kded_mediamanager.la -%{tde_tdelibdir}/kded_mediamanager.so -%{tde_tdelibdir}/kded_medianotifier.la -%{tde_tdelibdir}/kded_medianotifier.so -%{tde_tdelibdir}/kded_remotedirnotify.la -%{tde_tdelibdir}/kded_remotedirnotify.so -%{tde_tdelibdir}/kded_systemdirnotify.la -%{tde_tdelibdir}/kded_systemdirnotify.so -%{tde_tdelibdir}/tdefile_media.la -%{tde_tdelibdir}/tdefile_media.so -%{tde_tdelibdir}/tdefile_trash.la -%{tde_tdelibdir}/tdefile_trash.so -%{tde_tdelibdir}/tdeio_about.la -%{tde_tdelibdir}/tdeio_about.so -%{tde_tdelibdir}/tdeio_cgi.la -%{tde_tdelibdir}/tdeio_cgi.so -%{tde_tdelibdir}/tdeio_filter.la -%{tde_tdelibdir}/tdeio_filter.so -%{tde_tdelibdir}/tdeio_finger.la -%{tde_tdelibdir}/tdeio_finger.so -%{tde_tdelibdir}/tdeio_fish.la -%{tde_tdelibdir}/tdeio_fish.so -%{tde_tdelibdir}/tdeio_floppy.la -%{tde_tdelibdir}/tdeio_floppy.so -%{tde_tdelibdir}/tdeio_home.la -%{tde_tdelibdir}/tdeio_home.so -%{tde_tdelibdir}/tdeio_info.la -%{tde_tdelibdir}/tdeio_info.so -%{tde_tdelibdir}/tdeio_mac.la -%{tde_tdelibdir}/tdeio_mac.so -%{tde_tdelibdir}/tdeio_man.la -%{tde_tdelibdir}/tdeio_man.so -%{tde_tdelibdir}/tdeio_media.la -%{tde_tdelibdir}/tdeio_media.so -%{tde_tdelibdir}/tdeio_nfs.la -%{tde_tdelibdir}/tdeio_nfs.so -%{tde_tdelibdir}/tdeio_remote.la -%{tde_tdelibdir}/tdeio_remote.so -%{tde_tdelibdir}/tdeio_settings.la -%{tde_tdelibdir}/tdeio_settings.so -%{tde_tdelibdir}/tdeio_sftp.la -%{tde_tdelibdir}/tdeio_sftp.so -%{tde_tdelibdir}/tdeio_system.la -%{tde_tdelibdir}/tdeio_system.so -%{tde_tdelibdir}/tdeio_tar.la -%{tde_tdelibdir}/tdeio_tar.so -%{tde_tdelibdir}/tdeio_thumbnail.la -%{tde_tdelibdir}/tdeio_thumbnail.so -%{tde_tdelibdir}/tdeio_trash.la -%{tde_tdelibdir}/tdeio_trash.so -%{tde_tdelibdir}/libkmanpart.la -%{tde_tdelibdir}/libkmanpart.so -%{tde_tdelibdir}/textthumbnail.la -%{tde_tdelibdir}/textthumbnail.so -%{tde_tdeappdir}/kcmcgi.desktop -%{tde_datadir}/apps/tdeio_finger/tdeio_finger.css -%{tde_datadir}/apps/tdeio_finger/tdeio_finger.pl -%{tde_datadir}/apps/tdeio_info/kde-info2html -%{tde_datadir}/apps/tdeio_info/kde-info2html.conf -%{tde_datadir}/apps/tdeio_man/tdeio_man.css -%{tde_datadir}/apps/systemview/*.desktop -%{tde_datadir}/config.kcfg/mediamanagersettings.kcfg -%{tde_datadir}/mimelnk/application/x-smb-server.desktop -%{tde_datadir}/mimelnk/inode/system_directory.desktop -%{tde_datadir}/mimelnk/media/*.desktop -%{tde_datadir}/services/about.protocol -%{tde_datadir}/services/applications.protocol -%{tde_datadir}/services/ar.protocol -%{tde_datadir}/services/bzip.protocol -%{tde_datadir}/services/bzip2.protocol -%{tde_datadir}/services/cgi.protocol -%{tde_datadir}/services/cursorthumbnail.desktop -%{tde_datadir}/services/djvuthumbnail.desktop -%{tde_datadir}/services/finger.protocol -%{tde_datadir}/services/fish.protocol -%{tde_datadir}/services/floppy.protocol -%{tde_datadir}/services/gzip.protocol -%{tde_datadir}/services/home.protocol -%{tde_datadir}/services/htmlthumbnail.desktop -%{tde_datadir}/services/imagethumbnail.desktop -%{tde_datadir}/services/info.protocol -%{tde_datadir}/services/kded/homedirnotify.desktop -%{tde_datadir}/services/kded/mediamanager.desktop -%{tde_datadir}/services/kded/medianotifier.desktop -%{tde_datadir}/services/kded/remotedirnotify.desktop -%{tde_datadir}/services/kded/systemdirnotify.desktop -%{tde_datadir}/services/tdefile_media.desktop -%{tde_datadir}/services/tdefile_trash_system.desktop -%{tde_datadir}/services/lzma.protocol -%{tde_datadir}/services/kmanpart.desktop -%{tde_datadir}/services/mac.protocol -%{tde_datadir}/services/man.protocol -%{tde_datadir}/services/media.protocol -%{tde_datadir}/services/nfs.protocol -%{tde_datadir}/services/nxfish.protocol -%{tde_datadir}/services/programs.protocol -%{tde_datadir}/services/remote.protocol -%{tde_datadir}/services/settings.protocol -%{tde_datadir}/services/sftp.protocol -%{tde_datadir}/services/system.protocol -%{tde_datadir}/services/tar.protocol -%{tde_datadir}/services/textthumbnail.desktop -%{tde_datadir}/services/thumbnail.protocol -%{tde_datadir}/services/trash.protocol -%{tde_datadir}/services/xz.protocol -%{tde_datadir}/services/zip.protocol -%{tde_datadir}/servicetypes/thumbcreator.desktop -%{tde_datadir}/services/tdefile_trash.desktop -%{tde_tdedocdir}/HTML/en/tdeioslave/ -%if 0%{?with_exr} -%{tde_tdelibdir}/exrthumbnail.la -%{tde_tdelibdir}/exrthumbnail.so -%{tde_datadir}/services/exrthumbnail.desktop -%endif -# HWManager -%{tde_tdelibdir}/media_propsdlgplugin.la -%{tde_tdelibdir}/media_propsdlgplugin.so -%{tde_datadir}/services/media_propsdlgplugin.desktop - - -%post tdeio-plugins -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%postun tdeio-plugins -update-desktop-database %{tde_appdir} 2> /dev/null || : - - -########## - -%package -n trinity-kdepasswd -Summary: password changer for TDE -Group: Applications/Utilities - -%description -n trinity-kdepasswd -This is a simple application which allows users to change their -system passwords. - -%files -n trinity-kdepasswd -%defattr(-,root,root,-) -%{tde_bindir}/kdepasswd -%{tde_tdelibdir}/kcm_useraccount.la -%{tde_tdelibdir}/kcm_useraccount.so -%{tde_tdeappdir}/kcm_useraccount.desktop -%{tde_tdeappdir}/kdepasswd.desktop -%exclude %{tde_datadir}/apps/[kt]dm/pics/users/default1.png -%exclude %{tde_datadir}/apps/[kt]dm/pics/users/default2.png -%exclude %{tde_datadir}/apps/[kt]dm/pics/users/default3.png -%exclude %{tde_datadir}/apps/[kt]dm/pics/users/root1.png -%{tde_datadir}/apps/[kt]dm/pics/users/*.png -%{tde_datadir}/config.kcfg/kcm_useraccount.kcfg -%{tde_datadir}/config.kcfg/kcm_useraccount_pass.kcfg - -%post -n trinity-kdepasswd -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%postun -n trinity-kdepasswd -update-desktop-database %{tde_appdir} 2> /dev/null || : - -########## - -%package -n trinity-tdeprint -Summary: print system for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} -Requires: psutils - -%description -n trinity-tdeprint -This package contains the TDE printing subsystem. It can use CUPS, -lpd-ng or the traditional lpd. It also includes support for fax and -pdf printing. - -Installation of smbclient will make you able to use smb shared printers. - -%files -n trinity-tdeprint -%defattr(-,root,root,-) -%{tde_bindir}/[kt]deprintfax -%{tde_bindir}/kjobviewer -%{tde_bindir}/kprinter -%{tde_tdelibdir}/kcm_printmgr.la -%{tde_tdelibdir}/kcm_printmgr.so -%{tde_tdelibdir}/tdeio_print.la -%{tde_tdelibdir}/tdeio_print.so -%{tde_tdelibdir}/kjobviewer.la -%{tde_tdelibdir}/kjobviewer.so -%{tde_tdelibdir}/kprinter.la -%{tde_tdelibdir}/kprinter.so -%{tde_tdelibdir}/lib[kt]deprint_part.la -%{tde_tdelibdir}/lib[kt]deprint_part.so -%{tde_libdir}/lib[kt]deinit_kjobviewer.la -%{tde_libdir}/lib[kt]deinit_kjobviewer.so -%{tde_libdir}/lib[kt]deinit_kprinter.la -%{tde_libdir}/lib[kt]deinit_kprinter.so -%{tde_tdeappdir}/[kt]deprintfax.desktop -%{tde_tdeappdir}/[kt]jobviewer.desktop -%{tde_tdeappdir}/printers.desktop -%{tde_datadir}/apps/[kt]deprint/ -%{tde_datadir}/apps/[kt]deprintfax/ -%{tde_datadir}/apps/[kt]jobviewer/ -%{tde_datadir}/apps/[kt]deprint_part/tdeprint_part.rc -%{tde_datadir}/icons/hicolor/*/apps/tdeprintfax.png -%{tde_datadir}/icons/hicolor/*/apps/kjobviewer.png -%{tde_datadir}/icons/hicolor/*/apps/printmgr.png -%{tde_datadir}/icons/hicolor/scalable/apps/tdeprintfax.svgz -%{tde_datadir}/icons/hicolor/scalable/apps/kjobviewer.svgz -%{tde_datadir}/icons/hicolor/scalable/apps/printmgr.svgz -%{tde_datadir}/mimelnk/print/class.desktop -%{tde_datadir}/mimelnk/print/driver.desktop -%{tde_datadir}/mimelnk/print/folder.desktop -%{tde_datadir}/mimelnk/print/jobs.desktop -%{tde_datadir}/mimelnk/print/manager.desktop -%{tde_datadir}/mimelnk/print/printer.desktop -%{tde_datadir}/mimelnk/print/printermodel.desktop -%{tde_datadir}/services/tdeprint_part.desktop -%{tde_datadir}/services/print.protocol -%{tde_datadir}/services/printdb.protocol -%{tde_tdedocdir}/HTML/en/[kt]deprint/ - -%post -n trinity-tdeprint -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -%postun -n trinity-tdeprint -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -########## - -%package -n trinity-kdesktop -Summary: miscellaneous binaries and files for the TDE desktop -Group: Applications/Utilities -Requires: %{name}-bin = %{version}-%{release} -Requires: %{name}-data = %{version}-%{release} -Requires: trinity-libkonq = %{version}-%{release} -Requires: eject -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -Requires: xdg-utils -%endif - -%description -n trinity-kdesktop -This package contains miscellaneous binaries and files integral to -the TDE desktop. - -%files -n trinity-kdesktop -%defattr(-,root,root,-) -%{_sysconfdir}/trinity/kdesktop_custom_menu1 -%{_sysconfdir}/trinity/kdesktop_custom_menu2 -%{tde_bindir}/kcheckrunning -%{tde_bindir}/kxdglauncher -%{tde_bindir}/kdeeject -%{tde_bindir}/kdesktop -%{tde_bindir}/kdesktop_lock -%{tde_bindir}/kwebdesktop -%{tde_tdelibdir}/kdesktop.la -%{tde_tdelibdir}/kdesktop.so -%{tde_libdir}/lib[kt]deinit_kdesktop.la -%{tde_libdir}/lib[kt]deinit_kdesktop.so -%{tde_datadir}/apps/kdesktop/ -%{tde_datadir}/apps/konqueror/servicemenus/kdesktopSetAsBackground.desktop -%{tde_datadir}/autostart/kdesktop.desktop -%{tde_datadir}/config.kcfg/kdesktop.kcfg -%{tde_datadir}/config.kcfg/tdelaunch.kcfg -%{tde_datadir}/config.kcfg/kwebdesktop.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/error.png - -%post -n trinity-kdesktop -/sbin/ldconfig || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -%postun -n trinity-kdesktop -/sbin/ldconfig || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -########## - -%package -n trinity-kdesktop-devel -Summary: Development files for kdesktop -Group: Development/Libraries -Requires: trinity-kdesktop = %{version}-%{release} - -%description -n trinity-kdesktop-devel -%{summary} - -%files -n trinity-kdesktop-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/KBackgroundIface.h -%{tde_tdeincludedir}/KDesktopIface.h -%{tde_tdeincludedir}/KScreensaverIface.h - -########## - -%package -n trinity-tdm -Summary: X Display manager for TDE -Group: Applications/Utilities -Requires: %{name}-bin = %{version}-%{release} -Requires: %{name}-data = %{version}-%{release} -Requires: pam - -# Provides the global Xsession script (/etc/X11/xinit/Xsession or /etc/X11/Xsession) -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} == 4 -Requires: xinitrc -%endif -%if 0%{?suse_version} == 1140 -Requires: xorg-x11 -%endif -%if 0%{?suse_version} >= 1220 -Requires: xdm -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} -Requires: xorg-x11-xinit -%endif - -# Required for Fedora LiveCD -%if 0%{?rhel} || 0%{?fedora} -Provides: service(graphical-login) -%endif -# Required for Mandriva's installer -%if 0%{?mgaversion} || 0%{?mdkversion} -Provides: dm -%endif - -%description -n trinity-tdm -tdm manages a collection of X servers, which may be on the local host or -remote machines. It provides services similar to those provided by init, -getty, and login on character-based terminals: prompting for login name and -password, authenticating the user, and running a session. tdm supports XDMCP -(X Display Manager Control Protocol) and can also be used to run a chooser -process which presents the user with a menu of possible hosts that offer -XDMCP display management. - -A collection of icons to associate with individual users is included with -TDE, but as part of the kdepasswd package. - -The menu package will help to provide TDM with a list of window managers -that can be launched, if the window manager does not register with TDM -already. Most users won't need this. - -%files -n trinity-tdm -%defattr(-,root,root,-) -%{tde_tdelibdir}/kgreet_pam.la -%{tde_tdelibdir}/kgreet_pam.so -%{tde_bindir}/gen[kt]dmconf -%{tde_bindir}/[kt]dm -%{tde_bindir}/[kt]dm_config -%{tde_bindir}/[kt]dmctl -%{tde_bindir}/[kt]dm_greet -%{tde_bindir}/krootimage -%{tde_datadir}/apps/[kt]dm/pics/kdelogo.png -%{tde_datadir}/apps/[kt]dm/pics/shutdown.jpg -%{tde_datadir}/apps/[kt]dm/pics/users/default1.png -%{tde_datadir}/apps/[kt]dm/pics/users/default2.png -%{tde_datadir}/apps/[kt]dm/pics/users/default3.png -%{tde_datadir}/apps/[kt]dm/pics/users/root1.png -%{tde_datadir}/apps/[kt]dm/sessions/*.desktop -%{tde_datadir}/apps/[kt]dm/themes/ -%{tde_datadir}/config/tdm -%{_sysconfdir}/trinity/[kt]dm/ -%{tde_tdedocdir}/HTML/en/[kt]dm/ -%if 0%{?suse_version} == 0 -%{_sysconfdir}/pam.d/tdm-trinity -%{_sysconfdir}/pam.d/tdm-trinity-np -%endif -%if 0%{?suse_version} -/usr/lib/X11/displaymanagers/tdm -%endif -%if 0%{?fedora} >= 18 -/usr/lib/systemd/system/tdm.service -%endif - -# Distribution specific stuff -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%{_datadir}/xsessions/tde.desktop -%endif - -# https://wiki.mageia.org/en/How_to_add_a_new_Window_Manager_or_Display_Manager -%if 0%{?mgaversion} || 0%{?mdkversion} -%{_sysconfdir}/X11/wmsession.d/45TDE -%{_datadir}/X11/dm.d/45TDE.conf -%endif - -# SELINUX policy -%if 0%{?with_selinux_policy} -%{?_sysconfdir}/trinity/tdm/tdm.pp -%endif - -%pre -n trinity-tdm -# Make sure that TDM configuration files are now under '/etc/trinity/tdm' -if [ -d "%{tde_datadir}/config/tdm" ] && [ ! -L "%{tde_datadir}/config/tdm" ]; then - if [ -d "%{_sysconfdir}/trinity/tdm" ]; then - # If there is already something under '/etc/trinity/tdm', simply delete old configuration - echo "Deleting TDM configuration under '%{tde_datadir}/config/tdm'" - %__rm -rf "%{tde_datadir}/config/tdm" - else - # Else, move '/opt/trinity/share/config/tdm' to '/etc/trinity/tdm' - if [ ! -d "%{_sysconfdir}/trinity" ]; then - %__mkdir_p "%{_sysconfdir}/trinity" - fi - echo "Migrating TDM configuration from '%{tde_datadir}/config/tdm' to '%{_sysconfdir}/trinity/tdm'" - %__mv -f "%{tde_datadir}/config/tdm" "%{_sysconfdir}/trinity/tdm.migr" - fi -fi - -%post -n trinity-tdm -%if 0%{?mgaversion} || 0%{?mdkversion} -%make_session -%endif -%if 0%{?with_selinux_policy} -/usr/sbin/semodule -i "%{?_sysconfdir}/trinity/tdm/tdm.pp" -%endif -# Default user icon in TDM -if [ ! -r "%{tde_datadir}/apps/tdm/faces/.default.face.icon" ]; then - [ -d "%{tde_datadir}/apps/tdm/faces" ] || mkdir -p "%{tde_datadir}/apps/tdm/faces" - %__cp -f "%{tde_datadir}/apps/tdm/pics/users/default2.png" "%{tde_datadir}/apps/tdm/faces/.default.face.icon" -fi - -%posttrans -n trinity-tdm -# Make sure that TDM configuration files are now under '/etc/trinity/tdm' -if [ -d "%{_sysconfdir}/trinity/tdm.migr" ] && [ -d "%{_sysconfdir}/trinity/tdm" ]; then - %__mv -f "%{_sysconfdir}/trinity/tdm.migr/"* "%{_sysconfdir}/trinity/tdm/" - rmdir "%{_sysconfdir}/trinity/tdm.migr/" -fi - -%postun -n trinity-tdm -%if 0%{?mgaversion} || 0%{?mdkversion} -%make_session -%endif - -########## - -%package -n trinity-tdm-devel -Summary: Development files for tdm -Group: Development/Libraries -Requires: trinity-tdm = %{version}-%{release} - -%description -n trinity-tdm-devel -%{summary} - -%files -n trinity-tdm-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kgreeterplugin.h - -########## - -%package -n trinity-kfind -Summary: file-find utility for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-kfind -kfind can be used to find files and directories on your -workstations. - -%files -n trinity-kfind -%defattr(-,root,root,-) -%{tde_bindir}/kfind -%{tde_tdelibdir}/libkfindpart.la -%{tde_tdelibdir}/libkfindpart.so -%{tde_tdeappdir}/Kfind.desktop -%{tde_datadir}/apps/kfindpart/ -%{tde_datadir}/icons/hicolor/*/apps/kfind.png -%{tde_datadir}/services/kfindpart.desktop -%{tde_datadir}/servicetypes/findpart.desktop -%{tde_tdedocdir}/HTML/en/kfind/ - -%post -n trinity-kfind -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -%postun -n trinity-kfind -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -########## - -%package -n trinity-khelpcenter -Summary: help center for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} -Requires: htdig - -%description -n trinity-khelpcenter -The TDE Help Center provides documentation on how to use the KDE desktop. - -The htdig package is needed to build a searchable archive of TDE -documentation. - -%files -n trinity-khelpcenter -%defattr(-,root,root,-) -#%{tde_bindir}/khc_beagle_index.pl -#%{tde_bindir}/khc_beagle_search.pl -%{tde_bindir}/khc_docbookdig.pl -%{tde_bindir}/khc_htdig.pl -%{tde_bindir}/khc_htsearch.pl -%{tde_bindir}/khc_indexbuilder -%{tde_bindir}/khc_mansearch.pl -%{tde_bindir}/khelpcenter -%{tde_tdelibdir}/khelpcenter.la -%{tde_tdelibdir}/khelpcenter.so -%{tde_libdir}/lib[kt]deinit_khelpcenter.la -%{tde_libdir}/lib[kt]deinit_khelpcenter.so -%{tde_tdeappdir}/Help.desktop -%{tde_datadir}/apps/khelpcenter/ -%{tde_datadir}/config.kcfg/khelpcenter.kcfg -%{tde_datadir}/icons/hicolor/*/apps/khelpcenter.* -%{tde_datadir}/services/khelpcenter.desktop -%{tde_tdedocdir}/HTML/en/khelpcenter/ - -%post -n trinity-khelpcenter -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -%postun -n trinity-khelpcenter -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -########## - -%package -n trinity-kicker -Summary: desktop panel for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-kicker -Kicker provides the TDE panel on you desktop. It can be used as a -program launcher and can load plugins to provide additional -functionality. - -%files -n trinity-kicker -%defattr(-,root,root,-) -%{tde_bindir}/appletproxy -%{tde_bindir}/extensionproxy -%{tde_bindir}/kasbar -%{tde_bindir}/kicker -%{tde_libdir}/tdeconf_update_bin/kicker-3.4-reverseLayout -%{tde_tdelibdir}/appletproxy.la -%{tde_tdelibdir}/appletproxy.so -%{tde_tdelibdir}/clock_panelapplet.la -%{tde_tdelibdir}/clock_panelapplet.so -%{tde_tdelibdir}/dockbar_panelextension.la -%{tde_tdelibdir}/dockbar_panelextension.so -%{tde_tdelibdir}/extensionproxy.la -%{tde_tdelibdir}/extensionproxy.so -%{tde_tdelibdir}/kasbar_panelextension.la -%{tde_tdelibdir}/kasbar_panelextension.so -%{tde_tdelibdir}/kicker.la -%{tde_tdelibdir}/kickermenu_find.la -%{tde_tdelibdir}/kickermenu_find.so -%{tde_tdelibdir}/kickermenu_kate.so -%{tde_tdelibdir}/kickermenu_kate.la -%{tde_tdelibdir}/kickermenu_[kt]deprint.la -%{tde_tdelibdir}/kickermenu_[kt]deprint.so -%{tde_tdelibdir}/kickermenu_konqueror.la -%{tde_tdelibdir}/kickermenu_konqueror.so -%{tde_tdelibdir}/kickermenu_konsole.la -%{tde_tdelibdir}/kickermenu_konsole.so -%{tde_tdelibdir}/kickermenu_prefmenu.la -%{tde_tdelibdir}/kickermenu_prefmenu.so -%{tde_tdelibdir}/kickermenu_recentdocs.la -%{tde_tdelibdir}/kickermenu_recentdocs.so -%{tde_tdelibdir}/kickermenu_remotemenu.la -%{tde_tdelibdir}/kickermenu_remotemenu.so -%{tde_tdelibdir}/kickermenu_systemmenu.la -%{tde_tdelibdir}/kickermenu_systemmenu.so -%{tde_tdelibdir}/kicker.so -%{tde_tdelibdir}/launcher_panelapplet.la -%{tde_tdelibdir}/launcher_panelapplet.so -%{tde_tdelibdir}/lockout_panelapplet.la -%{tde_tdelibdir}/lockout_panelapplet.so -%{tde_tdelibdir}/media_panelapplet.la -%{tde_tdelibdir}/media_panelapplet.so -%{tde_tdelibdir}/menu_panelapplet.la -%{tde_tdelibdir}/menu_panelapplet.so -%{tde_tdelibdir}/minipager_panelapplet.la -%{tde_tdelibdir}/minipager_panelapplet.so -%{tde_tdelibdir}/naughty_panelapplet.la -%{tde_tdelibdir}/naughty_panelapplet.so -%{tde_tdelibdir}/run_panelapplet.la -%{tde_tdelibdir}/run_panelapplet.so -%{tde_tdelibdir}/sidebar_panelextension.la -%{tde_tdelibdir}/sidebar_panelextension.so -%{tde_tdelibdir}/systemtray_panelapplet.la -%{tde_tdelibdir}/systemtray_panelapplet.so -%{tde_tdelibdir}/taskbar_panelapplet.la -%{tde_tdelibdir}/taskbar_panelapplet.so -%{tde_tdelibdir}/taskbar_panelextension.la -%{tde_tdelibdir}/taskbar_panelextension.so -%{tde_tdelibdir}/trash_panelapplet.la -%{tde_tdelibdir}/trash_panelapplet.so -%{tde_libdir}/libkasbar.so.* -%{tde_libdir}/lib[kt]deinit_appletproxy.la -%{tde_libdir}/lib[kt]deinit_appletproxy.so -%{tde_libdir}/lib[kt]deinit_extensionproxy.la -%{tde_libdir}/lib[kt]deinit_extensionproxy.so -%{tde_libdir}/lib[kt]deinit_kicker.la -%{tde_libdir}/lib[kt]deinit_kicker.so -%{tde_libdir}/libkickermain.so.* -%{tde_libdir}/libtaskbar.so.* -%{tde_libdir}/libtaskmanager.so.* -%{tde_libdir}/libkickoffsearch_interfaces.so.* -%{tde_tdeappdir}/kcmkicker.desktop -%{tde_datadir}/applnk/.hidden/kicker_config_arrangement.desktop -%{tde_datadir}/applnk/.hidden/kicker_config_hiding.desktop -%{tde_datadir}/applnk/.hidden/kicker_config_menus.desktop -%{tde_datadir}/apps/clockapplet/pics/lcd.png -%{tde_datadir}/apps/tdeconf_update/kicker-3.1-properSizeSetting.pl -%{tde_datadir}/apps/tdeconf_update/kicker-3.5-tdeconfigXTize.pl -%{tde_datadir}/apps/tdeconf_update/kicker-3.5-taskbarEnums.pl -%{tde_datadir}/apps/tdeconf_update/kickerrc.upd -%{tde_datadir}/apps/kicker/ -%exclude %{tde_datadir}/apps/kicker/applets/klipper.desktop -%exclude %{tde_datadir}/apps/kicker/applets/ksysguardapplet.desktop -%{tde_datadir}/apps/naughtyapplet/pics/naughty-happy.png -%{tde_datadir}/apps/naughtyapplet/pics/naughty-sad.png -%{tde_datadir}/autostart/panel.desktop -%{tde_datadir}/config.kcfg/kickerSettings.kcfg -%{tde_datadir}/config.kcfg/launcherapplet.kcfg -%{tde_datadir}/config.kcfg/pagersettings.kcfg -%{tde_datadir}/config.kcfg/taskbar.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/systemtray.png -%{tde_datadir}/icons/crystalsvg/*/apps/taskbar.png -%{tde_datadir}/icons/crystalsvg/*/apps/kbinaryclock.png -%{tde_datadir}/icons/crystalsvg/*/apps/kdisknav.png -%{tde_datadir}/icons/crystalsvg/*/apps/kicker.png -%{tde_datadir}/icons/crystalsvg/*/apps/panel.png -%{tde_datadir}/icons/crystalsvg/*/apps/runprocesscatcher.png -%{tde_datadir}/icons/crystalsvg/*/apps/window_list.png -%{tde_datadir}/icons/crystalsvg/*/apps/kbinaryclock.svgz -%{tde_datadir}/icons/crystalsvg/*/apps/systemtray.svgz -%{tde_datadir}/servicetypes/kickoffsearchplugin.desktop -%{tde_tdedocdir}/HTML/en/kicker/ -%if 0%{?mgaversion} >= 3 -%{tde_datadir}/oxygen/scalable/mgabutton.svg -%endif - -%post -n trinity-kicker -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -%postun -n trinity-kicker -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -########## - -%package -n trinity-kicker-devel -Summary: Development files for kicker -Group: Development/Libraries -Requires: trinity-kicker = %{version}-%{release} - -%description -n trinity-kicker-devel -%{summary} - -%files -n trinity-kicker-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kickoff-search-plugin.h -%{tde_tdeincludedir}/kickoffsearchinterface.h -%{tde_libdir}/libkasbar.la -%{tde_libdir}/libkasbar.so -%{tde_libdir}/libkickermain.la -%{tde_libdir}/libkickermain.so -%{tde_libdir}/libkickoffsearch_interfaces.la -%{tde_libdir}/libkickoffsearch_interfaces.so -%{tde_libdir}/libtaskbar.la -%{tde_libdir}/libtaskbar.so -%{tde_libdir}/libtaskmanager.la -%{tde_libdir}/libtaskmanager.so - -%post -n trinity-kicker-devel -/sbin/ldconfig || : - -%postun -n trinity-kicker-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-klipper -Summary: clipboard utility for Trinity -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-klipper -klipper provides standard clipboard functions (cut and paste, history -saving) plus additional features, like the ability to offer actions to -take dependent on the clipboard contents. For example, it can launch a -web browser if the clipboard contains a URL. - -%files -n trinity-klipper -%defattr(-,root,root,-) -%{tde_bindir}/klipper -%{_sysconfdir}/trinity/klipperrc -%{tde_tdelibdir}/klipper.la -%{tde_tdelibdir}/klipper.so -%{tde_tdelibdir}/klipper_panelapplet.la -%{tde_tdelibdir}/klipper_panelapplet.so -%{tde_libdir}/lib[kt]deinit_klipper.la -%{tde_libdir}/lib[kt]deinit_klipper.so -%{tde_tdeappdir}/klipper.desktop -%{tde_datadir}/apps/tdeconf_update/klipper-1-2.pl -%{tde_datadir}/apps/tdeconf_update/klipper-trinity1.sh -%{tde_datadir}/apps/tdeconf_update/klipperrc.upd -%{tde_datadir}/apps/tdeconf_update/klippershortcuts.upd -%{tde_datadir}/apps/kicker/applets/klipper.desktop -%{tde_datadir}/autostart/klipper.desktop -%{tde_datadir}/icons/hicolor/*/apps/klipper.* -%{tde_tdedocdir}/HTML/en/klipper/ - -%post -n trinity-klipper -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -%postun -n trinity-klipper -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -########## - -%package -n trinity-kmenuedit -Summary: menu editor for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-kmenuedit -The TDE menu editor allows you to make customisations to the KDE menu -structure. - -%files -n trinity-kmenuedit -%defattr(-,root,root,-) -%{tde_bindir}/kcontroledit -%{tde_bindir}/kmenuedit -%{tde_tdelibdir}/kcontroledit.la -%{tde_tdelibdir}/kcontroledit.so -%{tde_tdelibdir}/kmenuedit.la -%{tde_tdelibdir}/kmenuedit.so -%{tde_libdir}/lib[kt]deinit_kcontroledit.la -%{tde_libdir}/lib[kt]deinit_kcontroledit.so -%{tde_libdir}/lib[kt]deinit_kmenuedit.la -%{tde_libdir}/lib[kt]deinit_kmenuedit.so -%{tde_tdeappdir}/kmenuedit.desktop -%{tde_datadir}/applnk/System/kmenuedit.desktop -%{tde_datadir}/apps/kcontroledit/ -%{tde_datadir}/apps/kmenuedit/ -%{tde_tdedocdir}/HTML/en/kmenuedit/ - -%post -n trinity-kmenuedit -update-desktop-database %{tde_appdir} 2> /dev/null || : -/sbin/ldconfig || : - -%postun -n trinity-kmenuedit -update-desktop-database %{tde_appdir} 2> /dev/null || : -/sbin/ldconfig || : - -########## - -%package -n trinity-konqueror -Summary: TDE's advanced file manager, web browser and document viewer -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} -Requires: trinity-kcontrol = %{version}-%{release} -Requires: %{name}-tdeio-plugins = %{version}-%{release} -Requires: trinity-kdesktop = %{version}-%{release} -Requires: trinity-kfind = %{version}-%{release} -Requires: trinity-libkonq = %{version}-%{release} - -%description -n trinity-konqueror -Konqueror is the file manager for the Trinity Desktop Environment. -It supports basic file management on local UNIX filesystems, -from simple cut/copy and paste operations to advanced remote -and local network file browsing. - -It is also the canvas for all the latest TDE technology, -from KIO slaves (which provide mechanisms for file access) to -component embedding via the KParts object interface, and it -is one of the most customizable applications available. - -Konqueror is an Open Source web browser with HTML4.0 compliance, -supporting Java applets, JavaScript, CSS1 and (partially) CSS2, -as well as Netscape plugins (for example, Flash or RealVideo plugins). - -It is a universal viewing application, capable of embedding -read-only viewing components in itself to view documents without -ever launching another application. - -%files -n trinity-konqueror -%defattr(-,root,root,-) -%{_sysconfdir}/trinity/konqsidebartng.rc -%{tde_bindir}/kbookmarkmerger -%{tde_bindir}/keditbookmarks -%{tde_bindir}/kfmclient -%{tde_bindir}/konqueror -%{tde_tdelibdir}/kcm_history.la -%{tde_tdelibdir}/kcm_history.so -%{tde_tdelibdir}/kded_konqy_preloader.la -%{tde_tdelibdir}/kded_konqy_preloader.so -%{tde_tdelibdir}/keditbookmarks.la -%{tde_tdelibdir}/keditbookmarks.so -%{tde_tdelibdir}/kfmclient.la -%{tde_tdelibdir}/kfmclient.so -%{tde_tdelibdir}/konq_aboutpage.la -%{tde_tdelibdir}/konq_aboutpage.so -%{tde_tdelibdir}/konq_iconview.la -%{tde_tdelibdir}/konq_iconview.so -%{tde_tdelibdir}/konq_listview.la -%{tde_tdelibdir}/konq_listview.so -%{tde_tdelibdir}/konq_remoteencoding.la -%{tde_tdelibdir}/konq_remoteencoding.so -%{tde_tdelibdir}/konq_shellcmdplugin.la -%{tde_tdelibdir}/konq_shellcmdplugin.so -%{tde_tdelibdir}/konq_sidebar.la -%{tde_tdelibdir}/konq_sidebar.so -%{tde_tdelibdir}/konq_sidebartree_bookmarks.la -%{tde_tdelibdir}/konq_sidebartree_bookmarks.so -%{tde_tdelibdir}/konq_sidebartree_dirtree.la -%{tde_tdelibdir}/konq_sidebartree_dirtree.so -%{tde_tdelibdir}/konq_sidebartree_history.la -%{tde_tdelibdir}/konq_sidebartree_history.so -%{tde_tdelibdir}/konqsidebar_tree.la -%{tde_tdelibdir}/konqsidebar_tree.so -%{tde_tdelibdir}/konqsidebar_web.la -%{tde_tdelibdir}/konqsidebar_web.so -%{tde_tdelibdir}/konqueror.la -%{tde_tdelibdir}/konqueror.so -%{tde_tdelibdir}/libtdehtmlkttsdplugin.la -%{tde_tdelibdir}/libtdehtmlkttsdplugin.so -%{tde_libdir}/lib[kt]deinit_keditbookmarks.la -%{tde_libdir}/lib[kt]deinit_keditbookmarks.so -%{tde_libdir}/lib[kt]deinit_kfmclient.la -%{tde_libdir}/lib[kt]deinit_kfmclient.so -%{tde_libdir}/lib[kt]deinit_konqueror.la -%{tde_libdir}/lib[kt]deinit_konqueror.so -%{tde_libdir}/libkonqsidebarplugin.so.* -%{tde_tdeappdir}/Home.desktop -%{tde_tdeappdir}/kcmhistory.desktop -%{tde_tdeappdir}/kfmclient.desktop -%{tde_tdeappdir}/kfmclient_dir.desktop -%{tde_tdeappdir}/kfmclient_html.desktop -%{tde_tdeappdir}/kfmclient_war.desktop -%{tde_tdeappdir}/tdehtml_filter.desktop -%{tde_tdeappdir}/konqbrowser.desktop -%{tde_tdeappdir}/konquerorsu.desktop -%{tde_datadir}/applnk/.hidden/konqfilemgr.desktop -%{tde_datadir}/applnk/Internet/keditbookmarks.desktop -%{tde_datadir}/applnk/konqueror.desktop -%{tde_datadir}/apps/tdeconf_update/kfmclient_3_2.upd -%{tde_datadir}/apps/tdeconf_update/kfmclient_3_2_update.sh -%{tde_datadir}/apps/tdeconf_update/konqsidebartng.upd -%{tde_datadir}/apps/tdeconf_update/move_konqsidebartng_entries.sh -%{tde_datadir}/apps/keditbookmarks/keditbookmarks-genui.rc -%{tde_datadir}/apps/keditbookmarks/keditbookmarksui.rc -%{tde_datadir}/apps/tdehtml/kpartplugins/tdehtmlkttsd.desktop -%{tde_datadir}/apps/tdehtml/kpartplugins/tdehtmlkttsd.rc -%{tde_datadir}/apps/konqiconview/ -%{tde_datadir}/apps/konqlistview/ -%exclude %{tde_datadir}/apps/konqsidebartng/virtual_folders/services/fonts.desktop -%{tde_datadir}/apps/konqsidebartng/ -%{tde_datadir}/apps/konqueror/about/ -%{tde_datadir}/apps/konqueror/icons/ -%{tde_datadir}/apps/konqueror/konq-simplebrowser.rc -%{tde_datadir}/apps/konqueror/konqueror.rc -%{tde_datadir}/apps/konqueror/pics/indicator_connect.png -%{tde_datadir}/apps/konqueror/pics/indicator_empty.png -%{tde_datadir}/apps/konqueror/pics/indicator_noconnect.png -%{tde_datadir}/apps/konqueror/pics/indicator_viewactive.png -%{tde_datadir}/apps/konqueror/profiles/ -%exclude %{tde_datadir}/apps/konqueror/servicemenus/kdesktopSetAsBackground.desktop -%exclude %{tde_datadir}/apps/konqueror/servicemenus/konsolehere.desktop -%exclude %{tde_datadir}/apps/konqueror/servicemenus/installfont.desktop -%{tde_datadir}/apps/konqueror/servicemenus/*.desktop -%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase -%{_sysconfdir}/alternatives/media_safelyremove.desktop_tdebase -%{tde_datadir}/apps/konqueror/tiles/*.png -%{tde_datadir}/autostart/konqy_preload.desktop -%{tde_datadir}/config.kcfg/keditbookmarks.kcfg -%{tde_datadir}/config.kcfg/konq_listview.kcfg -%{tde_datadir}/config.kcfg/konqueror.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/keditbookmarks.png -%{tde_datadir}/icons/crystalsvg/*/apps/kfm_home.svgz -%{tde_datadir}/icons/hicolor/*/apps/kfm.png -%{tde_datadir}/icons/hicolor/*/apps/konqueror.* -%{tde_datadir}/services/kded/konqy_preloader.desktop -%{tde_datadir}/services/konq_*.desktop -%{tde_datadir}/servicetypes/konqaboutpage.desktop -%{tde_tdedocdir}/HTML/en/konqueror/ - -%post -n trinity-konqueror -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : -update-alternatives --install \ - %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop \ - media_safelyremove.desktop_konqueror \ - %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase \ - 10 || : - -%postun -n trinity-konqueror -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -%preun -n trinity-konqueror -if [ $1 -eq 0 ]; then - update-alternatives --remove \ - media_safelyremove.desktop_konqueror \ - %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase || : -fi - -########## - -%package -n trinity-konqueror-devel -Summary: Development files for konqueror -Group: Development/Libraries -Requires: trinity-konqueror = %{version}-%{release} - -%description -n trinity-konqueror-devel -%{summary} - -%files -n trinity-konqueror-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/konqsidebarplugin.h -%{tde_tdeincludedir}/KonquerorIface.h -%{tde_libdir}/libkonqsidebarplugin.la -%{tde_libdir}/libkonqsidebarplugin.so - -%post -n trinity-konqueror-devel -/sbin/ldconfig || : - -%postun -n trinity-konqueror-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-konqueror-nsplugins -Summary: Netscape plugin support for Konqueror -Group: Applications/Utilities -Requires: trinity-konqueror = %{version}-%{release} - -%description -n trinity-konqueror-nsplugins -This package includes support for Netscape plugins in Konqueror. - -%files -n trinity-konqueror-nsplugins -%defattr(-,root,root,-) -%{tde_bindir}/nspluginscan -%{tde_bindir}/nspluginviewer -%{tde_tdelibdir}/kcm_nsplugins.la -%{tde_tdelibdir}/kcm_nsplugins.so -%{tde_tdelibdir}/libnsplugin.la -%{tde_tdelibdir}/libnsplugin.so -%{tde_tdeappdir}/tdehtml_plugins.desktop -%{tde_datadir}/apps/plugin/nspluginpart.rc - -%post -n trinity-konqueror-nsplugins -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%postun -n trinity-konqueror-nsplugins -update-desktop-database %{tde_appdir} 2> /dev/null || : - -########## - -%package -n trinity-konsole -Summary: X terminal emulator for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-konsole -Konsole is an X terminal emulation which provides a command-line interface -(CLI) while using the graphical Trinity Desktop Environment. Konsole helps to -better organize user's desktop by containing multiple sessions in a single -window (a less cluttered desktop). - -Its advanced features include a simple configuration and the ability to use -multiple terminal shells in a single window - -Using Konsole, a user can open: -* Linux console sessions -* Midnight Commander file manager sessions -* Shell sessions -* Root consoles sessions - -%files -n trinity-konsole -%defattr(-,root,root,-) -%{tde_bindir}/konsole -%{tde_tdelibdir}/kcm_konsole.la -%{tde_tdelibdir}/kcm_konsole.so -%{tde_tdelibdir}/kded_kwrited.la -%{tde_tdelibdir}/kded_kwrited.so -%{tde_tdelibdir}/konsole.la -%{tde_tdelibdir}/konsole.so -%{tde_tdelibdir}/libkonsolepart.la -%{tde_tdelibdir}/libkonsolepart.so -%{tde_libdir}/lib[kt]deinit_konsole.la -%{tde_libdir}/lib[kt]deinit_konsole.so -%{tde_tdeappdir}/konsole.desktop -%{tde_tdeappdir}/konsolesu.desktop -%{tde_datadir}/applnk/.hidden/kcmkonsole.desktop -%{tde_datadir}/apps/tdeconf_update/konsole.upd -%{tde_datadir}/apps/tdeconf_update/schemaStrip.pl -%{tde_datadir}/apps/konqueror/servicemenus/konsolehere.desktop -%{tde_datadir}/apps/konsole/ -%{tde_datadir}/icons/hicolor/*/apps/konsole.* -%{tde_datadir}/mimelnk/application/x-konsole.desktop -%{tde_datadir}/services/kded/kwrited.desktop -%{tde_datadir}/services/konsolepart.desktop -%{tde_datadir}/services/konsole-script.desktop -%{tde_datadir}/services/kwrited.desktop -%{tde_datadir}/servicetypes/terminalemulator.desktop -%{tde_tdedocdir}/HTML/en/konsole/ -%{tde_tdedocdir}/HTML/en/kcontrol/kcmkonsole/ - -%post -n trinity-konsole -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -%postun -n trinity-konsole -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -########## - -%package -n trinity-kpager -Summary: desktop pager for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-kpager -This package contains TDE's desktop pager, which displays your virtual -desktops iconically in a window, along with icons of any running -applications. It is used to switch between applications or desktops. - -%files -n trinity-kpager -%defattr(-,root,root,-) -%{tde_bindir}/kpager -%{tde_tdeappdir}/kpager.desktop -%{tde_datadir}/applnk/Utilities/kpager.desktop -%{tde_datadir}/icons/hicolor/*/apps/kpager.png -%{tde_tdedocdir}/HTML/en/kpager/ - -%post -n trinity-kpager -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -%postun -n trinity-kpager -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -########## - -%package -n trinity-kpersonalizer -Summary: installation personalizer for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-kpersonalizer -TDE Personalizer is the application that configures the TDE desktop for you. -It's a very useful wizard that allows you to quickly change the TDE desktop to -suit your own needs. When you run TDE for the first time, KPersonalizer is -automatically started. KPersonalizer can also be called later. - -%files -n trinity-kpersonalizer -%defattr(-,root,root,-) -%{tde_bindir}/kpersonalizer -%{tde_tdeappdir}/kpersonalizer.desktop -%{tde_datadir}/applnk/System/kpersonalizer.desktop -%{tde_datadir}/apps/kpersonalizer/ -%{tde_datadir}/icons/crystalsvg/*/apps/kpersonalizer.png - -%post -n trinity-kpersonalizer -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -%postun -n trinity-kpersonalizer -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -########## - -%package -n trinity-ksmserver -Summary: session manager for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} -Requires: trinity-twin = %{version}-%{release} - -%description -n trinity-ksmserver -This package contains the TDE session manager. It is responsible for -restoring your TDE session on login. It is also needed to properly -start a TDE session. It registers KDE with X display managers, and -provides the 'starttde' command, for starting an X session with TDE -from the console. - -If you are running TDE for the first time for a certain user, -kpersonalizer is used to help with setup. If it is not present, -TDE will start, but many good defaults will not be set. - -%files -n trinity-ksmserver -%defattr(-,root,root,-) -%{tde_bindir}/ksmserver -%{tde_bindir}/start[kt]de -%{tde_bindir}/migratekde3 -%{tde_bindir}/r14-xdg-update -%{tde_bindir}/tdeinit_displayconfig -%{tde_bindir}/tdeinit_phase1 -%{tde_tdelibdir}/ksmserver.la -%{tde_tdelibdir}/ksmserver.so -%{tde_libdir}/lib[kt]deinit_ksmserver.la -%{tde_libdir}/lib[kt]deinit_ksmserver.so -%{tde_datadir}/apps/tdeconf_update/ksmserver.upd -%{tde_datadir}/apps/tdeconf_update/move_session_config.sh -%{tde_datadir}/apps/ksmserver/pics/shutdown.png -%{tde_datadir}/apps/ksmserver/pics/shutdownkonq.png - -# Remove conflicts with redhat-menus -%if "%{?tde_prefix}" != "/usr" -%{tde_bindir}/plasma-desktop -%endif - -%post -n trinity-ksmserver -/sbin/ldconfig || : - -%postun -n trinity-ksmserver -/sbin/ldconfig || : - -########## - -%package -n trinity-ksplash -Summary: the TDE splash screen -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-ksplash -This package includes the TDE Splash screen, which is seen when -a TDE session is launched. - -%files -n trinity-ksplash -%defattr(-,root,root,-) -%{tde_bindir}/ksplash -%{tde_bindir}/ksplashsimple -%{tde_tdelibdir}/kcm_ksplashthemes.la -%{tde_tdelibdir}/kcm_ksplashthemes.so -%{tde_tdelibdir}/ksplashdefault.la -%{tde_tdelibdir}/ksplashdefault.so -%{tde_tdelibdir}/ksplashunified.la -%{tde_tdelibdir}/ksplashunified.so -%{tde_tdelibdir}/ksplashredmond.la -%{tde_tdelibdir}/ksplashredmond.so -%{tde_tdelibdir}/ksplashstandard.la -%{tde_tdelibdir}/ksplashstandard.so -%{tde_libdir}/libksplashthemes.so.* -%{tde_tdeappdir}/ksplashthememgr.desktop -%{tde_datadir}/apps/ksplash -%{tde_datadir}/services/ksplashdefault.desktop -%{tde_datadir}/services/ksplash.desktop -%{tde_datadir}/services/ksplashunified.desktop -%{tde_datadir}/services/ksplashredmond.desktop -%{tde_datadir}/services/ksplashstandard.desktop -%{tde_datadir}/servicetypes/ksplashplugins.desktop -%{tde_tdedocdir}/HTML/en/ksplashml/ - -%post -n trinity-ksplash -update-desktop-database %{tde_appdir} 2> /dev/null || : -/sbin/ldconfig || : - -%postun -n trinity-ksplash -update-desktop-database %{tde_appdir} 2> /dev/null || : -/sbin/ldconfig || : - -########## - -%package -n trinity-ksplash-devel -Summary: Development files for ksplash -Group: Development/Libraries -Requires: trinity-ksplash = %{version}-%{release} - -%description -n trinity-ksplash-devel -%{summary} - -%files -n trinity-ksplash-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/ksplash/* -%{tde_libdir}/libksplashthemes.la -%{tde_libdir}/libksplashthemes.so - -%post -n trinity-ksplash-devel -/sbin/ldconfig || : - -%postun -n trinity-ksplash-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-ksysguard -Summary: system guard for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} -Requires: trinity-ksysguardd = %{version}-%{release} - -%description -n trinity-ksysguard -TDE System Guard allows you to monitor various statistics about your -computer. - -%files -n trinity-ksysguard -%defattr(-,root,root,-) -%{tde_bindir}/kpm -%{tde_bindir}/ksysguard -%{tde_tdelibdir}/sysguard_panelapplet.la -%{tde_tdelibdir}/sysguard_panelapplet.so -%{tde_libdir}/libksgrd.so.* -%{tde_tdeappdir}/ksysguard.desktop -%{tde_datadir}/apps/kicker/applets/ksysguardapplet.desktop -%{tde_datadir}/apps/ksysguard/ -%{tde_datadir}/icons/crystalsvg/*/apps/ksysguard.png -%{tde_datadir}/mimelnk/application/x-ksysguard.desktop -%{tde_tdedocdir}/HTML/en/ksysguard/ - -%post -n trinity-ksysguard -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -%postun -n trinity-ksysguard -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -########## - -%package -n trinity-ksysguard-devel -Summary: Development files for ksysguard -Group: Development/Libraries -Requires: trinity-ksysguard = %{version}-%{release} - -%description -n trinity-ksysguard-devel -%{summary} - -%files -n trinity-ksysguard-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/ksgrd/* -%{tde_libdir}/libksgrd.la -%{tde_libdir}/libksgrd.so - -%post -n trinity-ksysguard-devel -/sbin/ldconfig || : - -%postun -n trinity-ksysguard-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-ksysguardd -Summary: system guard daemon for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-ksysguardd -TDE System Guard Daemon is the daemon part of ksysguard. The daemon can -be installed on a remote machine to enable ksysguard on another machine -to monitor it through the daemon running there. - -%files -n trinity-ksysguardd -%defattr(-,root,root,-) -%{tde_bindir}/ksysguardd -%config(noreplace) %{_sysconfdir}/trinity/ksysguarddrc - -########## - -%package -n trinity-ktip -Summary: useful tips for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-ktip -ktip provides many useful tips on using TDE when you log in. - -%files -n trinity-ktip -%defattr(-,root,root,-) -%{tde_bindir}/ktip -%{tde_tdeappdir}/ktip.desktop -%{tde_datadir}/applnk/Toys/ktip.desktop -%{tde_datadir}/apps/kdewizard/pics/wizard_small.png -%{tde_datadir}/apps/kdewizard/tips/ -%{tde_datadir}/autostart/ktip.desktop -%{tde_datadir}/icons/hicolor/*/apps/ktip.* - -%post -n trinity-ktip -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -%postun -n trinity-ktip -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -########## - -%package -n trinity-twin -Summary: the TDE window manager -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-twin -This package contains the default X window manager for TDE. - -%files -n trinity-twin -%defattr(-,root,root,-) -%{tde_bindir}/kompmgr -%{tde_bindir}/[kt]win -%{tde_bindir}/[kt]win_killer_helper -%{tde_bindir}/[kt]win_resumer_helper -%{tde_bindir}/[kt]win_rules_dialog -%{tde_libdir}/tdeconf_update_bin/[kt]win_update_default_rules -%{tde_libdir}/tdeconf_update_bin/[kt]win_update_window_settings -%{tde_tdelibdir}/kcm_[kt]win*.la -%{tde_tdelibdir}/kcm_[kt]win*.so -%{tde_tdelibdir}/[kt]win*.la -%{tde_tdelibdir}/[kt]win*.so -%{tde_libdir}/lib[kt]decorations.so.* -%{tde_libdir}/lib[kt]deinit_[kt]win_rules_dialog.la -%{tde_libdir}/lib[kt]deinit_[kt]win_rules_dialog.so -%{tde_libdir}/lib[kt]deinit_[kt]win.la -%{tde_libdir}/lib[kt]deinit_[kt]win.so -%{tde_tdeappdir}/showdesktop.desktop -%{tde_tdeappdir}/[kt]windecoration.desktop -%{tde_tdeappdir}/[kt]winoptions.desktop -%{tde_tdeappdir}/[kt]winrules.desktop -%{tde_datadir}/applnk/.hidden/[kt]winactions.desktop -%{tde_datadir}/applnk/.hidden/[kt]winadvanced.desktop -%{tde_datadir}/applnk/.hidden/[kt]winfocus.desktop -%{tde_datadir}/applnk/.hidden/[kt]winmoving.desktop -%{tde_datadir}/applnk/.hidden/[kt]wintranslucency.desktop -%{tde_datadir}/apps/tdeconf_update/[kt]win3_plugin.pl -%{tde_datadir}/apps/tdeconf_update/[kt]win3_plugin.upd -%{tde_datadir}/apps/tdeconf_update/[kt]win_focus1.sh -%{tde_datadir}/apps/tdeconf_update/[kt]win_focus1.upd -%{tde_datadir}/apps/tdeconf_update/[kt]win_focus2.sh -%{tde_datadir}/apps/tdeconf_update/[kt]win_focus2.upd -%{tde_datadir}/apps/tdeconf_update/[kt]win_fsp_workarounds_1.upd -%{tde_datadir}/apps/tdeconf_update/[kt]winiconify.upd -%{tde_datadir}/apps/tdeconf_update/[kt]winsticky.upd -%{tde_datadir}/apps/tdeconf_update/[kt]win.upd -%{tde_datadir}/apps/tdeconf_update/[kt]winupdatewindowsettings.upd -%{tde_datadir}/apps/tdeconf_update/pluginlibFix.pl -%{tde_datadir}/apps/[kt]win/ -%{tde_datadir}/config.kcfg/[kt]win.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/[kt]win.png -%{tde_tdedocdir}/HTML/en/kompmgr/ - -%post -n trinity-twin -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -%postun -n trinity-twin -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -########## - -%package -n trinity-twin-devel -Summary: Development files for twin -Group: Development/Libraries -Requires: trinity-twin = %{version}-%{release} - -%description -n trinity-twin-devel -%{summary} - -%files -n trinity-twin-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/[kt]win/ -%{tde_tdeincludedir}/kcommondecoration.h -%{tde_tdeincludedir}/kdecoration.h -%{tde_tdeincludedir}/kdecoration_p.h -%{tde_tdeincludedir}/kdecoration_plugins_p.h -%{tde_tdeincludedir}/kdecorationfactory.h -%{tde_tdeincludedir}/KWinInterface.h -%{tde_libdir}/libtdecorations.la -%{tde_libdir}/libtdecorations.so - -%post -n trinity-twin-devel -/sbin/ldconfig || : - -%postun -n trinity-twin-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkonq -Summary: core libraries for Konqueror -Group: Environment/Libraries - -%description -n trinity-libkonq -These libraries are used by several TDE applications, most notably -Konqueror and the kdesktop package. - -%files -n trinity-libkonq -%defattr(-,root,root,-) -%{tde_tdelibdir}/kded_favicons.la -%{tde_tdelibdir}/kded_favicons.so -%{tde_tdelibdir}/konq_sound.la -%{tde_tdelibdir}/konq_sound.so -%{tde_libdir}/libkonq.so.* -%{tde_datadir}/apps/kbookmark/directory_bookmarkbar.desktop -%{tde_datadir}/apps/tdeconf_update/favicons.upd -%{tde_datadir}/apps/tdeconf_update/move_favicons.sh -%{tde_datadir}/apps/konqueror/pics/arrow_bottomleft.png -%{tde_datadir}/apps/konqueror/pics/arrow_bottomright.png -%{tde_datadir}/apps/konqueror/pics/arrow_topleft.png -%{tde_datadir}/apps/konqueror/pics/arrow_topright.png -%{tde_datadir}/apps/konqueror/pics/thumbnailfont_7x4.png -%{tde_datadir}/services/kded/favicons.desktop -%{tde_datadir}/servicetypes/konqpopupmenuplugin.desktop - -%post -n trinity-libkonq -/sbin/ldconfig || : - -%postun -n trinity-libkonq -/sbin/ldconfig || : - -########## - -%package libtqt3-integration -Summary: Integration library between TQt3 and TDE -Group: Environment/Libraries - -Obsoletes: tdebase-libtqt3-integration < %{version}-%{release} -Provides: tdebase-libtqt3-integration = %{version}-%{release} - -%description libtqt3-integration -These libraries allow you to use TDE dialogs in native TQt3 applications. - -%files libtqt3-integration -%defattr(-,root,root,-) -%{tde_tdelibdir}/plugins/integration/libqtkde.la -%{tde_tdelibdir}/plugins/integration/libqtkde.so -%{tde_tdelibdir}/plugins/integration/libqtkde.so.* -%{tde_tdelibdir}/kded_kdeintegration.la -%{tde_tdelibdir}/kded_kdeintegration.so -%{tde_datadir}/services/kded/kdeintegration.desktop - -########## - -%package -n trinity-libkonq-devel -Summary: development files for Konqueror's core libraries -Group: Development/Libraries -Requires: trinity-libkonq = %{version}-%{release} - -%description -n trinity-libkonq-devel -This package contains headers and other development files for the core -Konqueror libraries. - -%files -n trinity-libkonq-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/tdefileivi.h -%{tde_tdeincludedir}/kivdirectoryoverlay.h -%{tde_tdeincludedir}/kivfreespaceoverlay.h -%{tde_tdeincludedir}/knewmenu.h -%{tde_tdeincludedir}/konqbookmarkmanager.h -%{tde_tdeincludedir}/konq_*.h -%{tde_tdeincludedir}/libkonq_export.h -%{tde_libdir}/libkonq.la -%{tde_libdir}/libkonq.so - -%post -n trinity-libkonq-devel -/sbin/ldconfig || : - -%postun -n trinity-libkonq-devel -/sbin/ldconfig || : - -########## - -%package tdeio-smb-plugin -Summary: Windows Connection Module for TDE -Group: Environment/Libraries - -%description tdeio-smb-plugin -This package provides the "smb://" protocol, to connect to and from -Windows and Samba shares. - -%files tdeio-smb-plugin -%defattr(-,root,root) -%{tde_tdelibdir}/kcm_samba.la -%{tde_tdelibdir}/kcm_samba.so -%{tde_tdelibdir}/tdeio_smb.la -%{tde_tdelibdir}/tdeio_smb.so -%{tde_datadir}/services/smb.protocol -%{tde_datadir}/apps/konqueror/dirtree/remote/smb-network.desktop -%{tde_datadir}/apps/remoteview/smb-network.desktop -%{tde_datadir}/mimelnk/application/x-smb-workgroup.desktop - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - - -# Applies an optional distro-specific graphical theme -%if "%{?tde_bg}" != "" -# TDM Background -%__sed -i "tdm/kfrontend/gentdmconf.c" \ - -e 's|"Wallpaper=isadora.png\n"|"Wallpaper=%{tde_bg}\n"|' - -# TDE user default background -%__sed -i "kpersonalizer/keyecandypage.cpp" \ - -e 's|#define DEFAULT_WALLPAPER "isadora.png"|#define DEFAULT_WALLPAPER "%{tde_bg}"|' -%__sed -i "starttde" \ - -e 's|/usr/share/wallpapers/isadora.png.desktop|%{tde_bg}|' \ - -e 's|Wallpaper=isadora.png|Wallpaper=%{tde_bg}|' -%endif - -# TDE branding: removes KUbuntu references [Bug #617] -%__sed -i "kcontrol/tdm/tdm-appear.cpp" \ - -e "s|Welcome to Kubuntu |Welcome to %{tde_aboutlabel} |" -%__sed -i "konqueror/about/konq_aboutpage.cc" \ - -e "s|About Kubuntu|About %{tde_aboutlabel}|" \ - -e "s|help:/kubuntu/|%{tde_aboutpage}|" \ - -e "s|Kubuntu Documentation|%{tde_aboutlabel} Documentation|" -%__sed -i "konqueror/about/launch.html" \ - -e "s|help:/kubuntu/about-kubuntu/index.html|%{tde_aboutpage}|" -%__sed -i "tdm/config.def" \ - -e "s|Welcome to Trinity |Welcome to %{tde_aboutlabel} |" - -# TDE default directory in 'starttde' script (KDEDIR) -%__sed -i "starttde" \ - -e "s|/opt/trinity|%{tde_prefix}|g" \ - -e "s|%%{tde_starticon}|%{tde_starticon}|g" - - -%build -unset QTDIR -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" -export LD_LIBRARY_PATH="%{tde_libdir}" - -# Shitty hack for RHEL4 ... -if [ -d "/usr/X11R6" ]; then - export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/X11R6/include:/usr/X11R6/%{_lib}" - export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -# Samba 4.0 includes (Fedora 18) -if [ -d "/usr/include/samba-4.0" ]; then - export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/include/samba-4.0" -fi - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DBIN_INSTALL_DIR="%{tde_bindir}" \ - -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DCMAKE_SKIP_RPATH="OFF" \ - -DCONFIG_INSTALL_DIR="/etc/trinity" \ - -DSYSCONF_INSTALL_DIR="/etc/trinity" \ - -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \ - -DWITH_SASL=ON \ - -DWITH_LDAP=ON \ - -DWITH_SAMBA=ON \ - %{?with_exr:-DWITH_OPENEXR=ON} \ - -DWITH_XCOMPOSITE=ON \ - -DWITH_XCURSOR=ON \ - -DWITH_XFIXES=ON \ - %{?with_xrandr:-DWITH_XRANDR=ON} \ - -DWITH_XRENDER=ON \ - -DWITH_XDAMAGE=ON \ - -DWITH_XEXT=ON \ - %{?with_xtest:-DWITH_XTEST=ON} \ - %{?with_xscreensaver:-DWITH_XSCREENSAVER=ON} \ - %{?with_libart:-DWITH_LIBART=ON} \ - -DWITH_LIBUSB=ON \ - -DWITH_LIBRAW1394=ON \ - -DWITH_SUDO_TDESU_BACKEND=OFF \ - -DWITH_PAM=ON \ - -DWITH_SHADOW=ON \ - -DWITH_XDMCP=ON \ - -DWITH_XINERAMA=ON \ - -DWITH_ARTS=ON \ - -DWITH_I8K=ON \ - %{?with_hal:-DWITH_HAL=ON} %{?!with_hal:-DWITH_HAL=OFF} \ - -DWITH_TDEHWLIB=ON \ - -DWITH_UPOWER=ON \ - -DWITH_GCC_VISIBILITY=ON \ - -DWITH_KDESKTOP_LOCK_BACKTRACE=OFF \ - -DBUILD_ALL=ON \ -%if 0%{?suse_version} - -DKCHECKPASS_PAM_SERVICE="xdm" \ - -DTDM_PAM_SERVICE="xdm" \ - -DKSCREENSAVER_PAM_SERVICE="xdm" \ -%else - -DKCHECKPASS_PAM_SERVICE="kcheckpass-trinity" \ - -DTDM_PAM_SERVICE="tdm-trinity" \ - -DKSCREENSAVER_PAM_SERVICE="tdescreensaver-trinity" \ -%endif - %{!?with_tsak:-DBUILD_TSAK=OFF} \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{?buildroot} -C build - -# Removes obsolete Beagle-related files -%__rm -f %{?buildroot}%{tde_bindir}/khc_beagle_index.pl -%__rm -f %{?buildroot}%{tde_bindir}/khc_beagle_search.pl - -# Adds a GDM/KDM/XDM session called 'TDE' - -# Under RHEL/Fedora/Suse, static 'xsessions' files go to '/usr/share/xsessions'. -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__install -D -m 644 \ - "%{?buildroot}%{tde_datadir}/apps/tdm/sessions/tde.desktop" \ - "%{?buildroot}%{_datadir}/xsessions/tde.desktop" - -# Force session name to be 'TDE' -%__sed -i "%{?buildroot}%{_datadir}/xsessions/tde.desktop" \ - -e "s,^Name=.*,Name=TDE," -%endif - -# Mageia/Mandriva/PCLinuxOS stores its session file in different folder than RHEL/Fedora -# Generated files for TDM/KDM4 go to '/usr/share/apps/kdm/sessions' -%if 0%{?mgaversion} || 0%{?mdkversion} -%__install -d -m 755 %{?buildroot}%{_sysconfdir}/X11/wmsession.d -cat <"%{?buildroot}%{_sysconfdir}/X11/wmsession.d/45TDE" -NAME=TDE -ICON=kde-wmsession.xpm -DESC=The Trinity Desktop Environment -EXEC=%{tde_bindir}/starttde -SCRIPT: -exec %{tde_bindir}/starttde -EOF - -%__install -d -m 755 %{?buildroot}%{_datadir}/X11/dm.d -cat <"%{?buildroot}%{_datadir}/X11/dm.d/45TDE.conf" -NAME=TDM -DESCRIPTION=TDM (Trinity Display Manager) -PACKAGE=trinity-tdm -EXEC=%{tde_bindir}/tdm -FNDSESSION_EXEC="/usr/sbin/chksession -k" -EOF -%endif - -# TDE 3.5.12: add script "plasma-desktop" to avoid conflict with KDE4 -%if "%{?tde_prefix}" != "/usr" -%__install -m 755 "%{SOURCE1}" "%{?buildroot}%{tde_bindir}" -%endif - -# PAM configuration files (except openSUSE) -%if 0%{?suse_version} == 0 -%__install -D -m 644 "%{SOURCE2}" "%{?buildroot}%{_sysconfdir}/pam.d/tdm-trinity" -%__install -D -m 644 "%{SOURCE3}" "%{?buildroot}%{_sysconfdir}/pam.d/tdm-trinity-np" -%__install -D -m 644 "%{SOURCE4}" "%{?buildroot}%{_sysconfdir}/pam.d/kcheckpass-trinity" -%__install -D -m 644 "%{SOURCE5}" "%{?buildroot}%{_sysconfdir}/pam.d/tdescreensaver-trinity" -%endif - -# TDM configuration -%__sed -i "%{?buildroot}%{_sysconfdir}/trinity/tdm/tdmrc" \ -%if 0%{?fedora} >= 16 || 0%{?suse_version} >= 1220 - -e "s/^#*MinShowUID=.*/MinShowUID=1000/" -%else - -e "s/^#*MinShowUID=.*/MinShowUID=500/" -%endif - -# Moves the XDG configuration files to TDE directory -%if "%{tde_prefix}" != "/usr" -%__mkdir_p "%{?buildroot}%{tde_prefix}/etc" -%__mv -f "%{?buildroot}%{_sysconfdir}/xdg" "%{?buildroot}%{tde_prefix}/etc" -%endif - -# Symlinks 'usb.ids' (Use system-provided version, not TDE provided version) -%__rm -f "%{?buildroot}%{tde_datadir}/apps/usb.ids" -%if 0%{?suse_version} -%__ln_s -f "/usr/share/usb.ids" "%{?buildroot}%{tde_datadir}/apps/usb.ids" -%else -%__ln_s -f "/usr/share/hwdata/usb.ids" "%{?buildroot}%{tde_datadir}/apps/usb.ids" -%endif - -# Makes 'media_safelyremove.desktop' an alternative -%__mv -f "%{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop" "%{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase" -%__ln_s "%{_sysconfdir}/alternatives/media_safelyremove.desktop_tdebase" "%{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop" -%__mkdir_p "%{?buildroot}%{_sysconfdir}/alternatives" -%__ln_s "%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase" "%{?buildroot}%{_sysconfdir}/alternatives/media_safelyremove.desktop_tdebase" - -# SUSE: creates DM config file, used by '/etc/init.d/xdm' -# You must set 'DISPLAYMANAGER=tdm' in '/etc/sysconfig/displaymanager' -%if 0%{?suse_version} -%__install -D -m 644 "%{SOURCE6}" "%{?buildroot}/usr/lib/X11/displaymanagers/tdm" -%__sed -i "%{?buildroot}/usr/lib/X11/displaymanagers/tdm" -e "s|/opt/trinity/bin|%{tde_bindir}|g" -%endif - -# Fedora 18: no more SYSV init script, we have to use systemd. -%if 0%{?fedora} >= 18 -%__install -D -m 644 "%{SOURCE7}" "%{?buildroot}/usr/lib/systemd/system/tdm.service" -%endif - -# Symlink TDM configuration -%__mkdir_p "%{?buildroot}%{tde_datadir}/config" -%__ln_s "%{_sysconfdir}/trinity/tdm" "%{?buildroot}%{tde_datadir}/config/tdm" - -# SELINUX policy -%if 0%{?with_selinux_policy} -%__install -D -m 644 "%{SOURCE8}" "%{?buildroot}%{?_sysconfdir}/trinity/tdm/tdm.pp" -%endif - -# Mageia icon -%if 0%{?mgaversion} >= 3 -%__install -D -m 644 %{SOURCE9} %{?buildroot}%{tde_datadir}/oxygen/scalable/mgabutton.svg -%endif - - -%clean -%__rm -rf %{?buildroot} - - -%changelog -* Sun Mar 04 2012 Francois Andriot - 14.0.0-1 -- Initial build for TDE R14, using 'tqt3' instead of 'qt3' diff --git a/redhat/tdebase/trinity-tdebase-3.5.13.2.spec b/redhat/tdebase/trinity-tdebase-3.5.13.2.spec deleted file mode 100644 index 48e7b887a..000000000 --- a/redhat/tdebase/trinity-tdebase-3.5.13.2.spec +++ /dev/null @@ -1,3511 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -# Older RHEL/Fedora versions use packages named "qt", "qt-devel", .. -# whereas newer versions use "qt3", "qt3-devel" ... -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 8 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define _qt_suffix 3 -%endif - - -Name: trinity-tdebase -Version: 3.5.13.2 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} -License: GPL -Summary: Trinity Base Programs -Group: User Interface/Desktops - -Obsoletes: trinity-kdebase < %{version}-%{release} -Provides: trinity-kdebase = %{version}-%{release} -Obsoletes: trinity-kdebase-libs < %{version}-%{release} -Provides: trinity-kdebase-libs = %{version}-%{release} -Obsoletes: trinity-kdebase-extras < %{version}-%{release} -Provides: trinity-kdebase-extras = %{version}-%{release} -Obsoletes: tdebase < %{version}-%{release} -Provides: tdebase = %{version}-%{release} - - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz - -# Wrapper script to prevent Plasma launch at Trinity Startup -Source1: plasma-desktop - -# Pam configuration files for RHEL / Fedora -%if 0%{?suse_version} == 0 -Source2: pamd.kdm-trinity%{?dist} -Source3: pamd.kdm-trinity-np%{?dist} -Source4: pamd.kcheckpass-trinity%{?dist} -Source5: pamd.kscreensaver-trinity%{?dist} -%endif - -# openSUSE: configuration file for TDM -Source6: suse-displaymanagers-tdm - -# Fedora 18: use SYSTEMD for TDM startup -%if 0%{?fedora} >= 18 -Source7: tdm.service%{?dist} -%endif - -# Fedora 17: special selinux policy required -%if 0%{?fedora} == 17 || 0%{?rhel} == 6 -%define with_selinux_policy 1 -Source8: tdm%{?dist}.pp -%endif - -%if 0%{?mgaversion} >= 3 -Source9: mgabutton.svg -%endif - -# TDE 3.5.13 patches -## [kdebase/kdesu] Remove 'ignore' button on 'kdesu' dialog box [RHEL/Fedora] -Patch1: tdebase-3.5.13.2-kdesu-noignorebutton.patch -## [kdebase/kdesktop] Modifies 'open terminal here' on desktop [RHEL/Fedora] -Patch2: kdebase-3.5.12-desktop-openterminalhere.patch -## [kdebase/kdm/kfrontend] Global Xsession file is '/etc/X11/xinit/Xsession' [RHEL/Fedora] -Patch3: kdebase-3.5.13-genkdmconf_Xsession_location.patch -## [kdebase/kdm/kfrontend] Global Xsession file is '/etc/X11/xdm/Xsession' [openSUSE] -Patch4: kdebase-3.5.13-genkdmconf_Xsession_location_xdm.patch -## [kdebase/startkde] Sets default Start Icon in 'kickerrc' [RHEL/Fedora] -Patch5: kdebase-3.5.13.1-startkde_icon.patch -## [kdebase/kdm/kfrontend] Allows to hide KDM menu button [RHEL/Fedora] -Patch6: kdebase-3.5.12-kdm_hide_menu_button.patch -## [kdebase/kdm] Fix PID file is 'tdm.pid' instead of 'kdm.pid' (needed for openSUSE) -Patch7: kdebase-3.5.13.1-fix_tdm_pid_file.patch -## [kdebase/kicker] Fixes for Kickoff menu -Patch8: tdebase-3.5.13.2-kickoff_default_favs.patch -## [kdebase/kcontrol] Adds FR translation for KCM ICC -Patch9: tdebase-3.5.13.2-displayconfig_translation.patch - -# Patches from Mandriva -Patch101: tdebase-3.5.13.2-vibrate_dialog.patch -Patch102: tdebase-3.5.13.2-kcontrol_menu_entry.patch -Patch103: tdebase-3.5.13.2-kdesktop_crossfade.patch -Patch104: tdebase-3.5.13.2-kickoff_xdg_dirs.patch -Patch105: tdebase-3.5.13.2-suspend_unmount.patch -Patch106: tdebase-3.5.13.2-bookmark_global_copy.patch - - -### Specific patches for RHEL4 (should not go upstream) - -## [tdebase] Fix build on RHEL4, detect old libraries without pkg file -Patch201: kdebase-3.5.13-fix_lib_detection.patch -## [tdebase] Do not build against DBUS-TQT, only DBUS and DBUS-QT -Patch202: kdebase-3.5.13.2-build_without_dbustqt.patch -## [tdebase] Do not build against ConsoleKit -Patch203: kdebase-3.5.13-build_without_consolekit.patch -## [tdebase] Add WITH_COMPOSITE option to CMakeLists.txt -Patch204: kdebase-3.5.13.2-add_disable_composite_option.patch -## [tdebase] Downgrade halbackend to support Hal 0.4 -Patch205: kdebase-3.5.13-support_hal_04.patch -## [tdebase] Other(s) FTBFS ... -Patch206: kdebase-3.5.13-fix_rhel4_compilation.patch - -### Distribution-specific settings ### - -# Fedora 15 Theme: "Lovelock" -%if 0%{?fedora} == 15 -Requires: lovelock-backgrounds-single -%define tde_bg /usr/share/backgrounds/lovelock/default/standard/lovelock.png -%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png - -Requires: fedora-release-notes -%define tde_aboutlabel Fedora 15 -%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html -%endif - -# Fedora 16 Theme: "Verne" -%if 0%{?fedora} == 16 -Requires: verne-backgrounds-single -%define tde_bg /usr/share/backgrounds/verne/default/standard/verne.png -%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png - -Requires: fedora-release-notes -%define tde_aboutlabel Fedora 16 -%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html -%endif - -# Fedora 17 Theme: "Beefy Miracle" -%if 0%{?fedora} == 17 -Requires: beefy-miracle-backgrounds-single -%define tde_bg /usr/share/backgrounds/beefy-miracle/default/standard/beefy-miracle.png -%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png - -Requires: fedora-release-notes -%define tde_aboutlabel Fedora 17 -%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html -%endif - -# Fedora 18 Theme: "Spherical Cow" -%if 0%{?fedora} == 18 -Requires: spherical-cow-backgrounds-single -%define tde_bg /usr/share/backgrounds/spherical-cow/default/standard/spherical-cow.png -Requires: fedora-logos -%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png - -Requires: fedora-release-notes -%define tde_aboutlabel Fedora 18 -%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html -%endif - -# RHEL 4 Theme -%if 0%{?rhel} == 4 -Requires: desktop-backgrounds-basic -%define tde_bg /usr/share/backgrounds/images/default.png -Requires: redhat-logos -%define tde_starticon /usr/share/pixmaps/redhat/rpmlogo-64.xpm - -Requires: indexhtml -%define tde_aboutlabel Enterprise Linux 4 -%define tde_aboutpage /usr/share/doc/HTML/index.html -%endif - -# RHEL 5 Theme -%if 0%{?rhel} == 5 -Requires: desktop-backgrounds-basic -%define tde_bg /usr/share/backgrounds/images/default.jpg -%define tde_starticon /usr/share/pixmaps/redhat-starthere.png - -Requires: indexhtml -%define tde_aboutlabel Enterprise Linux 5 -%define tde_aboutpage /usr/share/doc/HTML/index.html -%endif - -# RHEL 6 Theme -%if 0%{?rhel} == 6 -Requires: redhat-logos -%define tde_bg /usr/share/backgrounds/default.png -%define tde_starticon /usr/share/icons/hicolor/96x96/apps/system-logo-icon.png - -Requires: redhat-indexhtml -%define tde_aboutlabel Enterprise Linux 6 -%define tde_aboutpage /usr/share/doc/HTML/index.html -%endif - -# Mageia 2 Theme -%if 0%{?mgaversion} == 2 -Requires: mageia-theme-Default -%define tde_bg /usr/share/mga/backgrounds/default.jpg -%define tde_starticon /usr/share/icons/hicolor/scalable/apps/mageia-menu.svg - -Requires: indexhtml -%define tde_aboutlabel Mageia 2 -%define tde_aboutpage /usr/share/mga/about/index.html -%endif - -# Mageia 3 Theme -%if 0%{?mgaversion} == 3 -Requires: mageia-theme-Default -%define tde_bg /usr/share/mga/backgrounds/default.jpg -%define tde_starticon %{tde_datadir}/oxygen/scalable/mgabutton.svg - -Requires: indexhtml -%define tde_aboutlabel Mageia 3 -%define tde_aboutpage /usr/share/mga/about/index.html -%endif - -# Mandriva 2011 Theme: "rosa" -%if "%{distribution}" == "Mandriva Linux" && "%{?mdkversion}" == "201100" -Requires: mandriva-theme -%define tde_bg /usr/share/mdk/backgrounds/default.jpg -%define tde_starticon /usr/share/icons/mandriva.png - -Requires: indexhtml -%define tde_aboutlabel Mandriva 2011 -%define tde_aboutpage /usr/share/mdk/about/index.html -%endif - -# PCLINUXOS 2012 -%if "%{?pclinuxos}" == "2012" -Requires: trinity-wallpaper-theme-default -%define tde_bg %{tde_datadir}/wallpapers/Pulse2012/contents/images/1600x1200.jpg -Requires: desktop-common-data -%define tde_starticon /usr/share/icons/pclinuxos.png - -Requires: indexhtml -%define tde_aboutlabel PCLinuxOS 2012 -%define tde_aboutpage /usr/share/mdk/about/index.html -%endif - -# PCLINUXOS 2013 -%if "%{?pclinuxos}" == "2013" -Requires: trinity-wallpaper-theme-default -%if "%{_lib}" == "lib64" -%define tde_bg %{tde_datadir}/wallpapers/pclinuxos64.jpg -%else -%define tde_bg %{tde_datadir}/wallpapers/pclinuxos32.jpg -%endif -Requires: desktop-common-data -%define tde_starticon /usr/share/icons/pclinuxos.png - -Requires: indexhtml -%define tde_aboutlabel PCLinuxOS 2013 -%define tde_aboutpage /usr/share/mdk/about/index.html -%endif - -# OpenSuse 11.4 Theme -%if "%{?suse_version}" == "1140" -Requires: hicolor-icon-theme-branding -%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg - -Requires: opensuse-manuals_en -%define tde_aboutlabel OpenSuse 11.4 -%define tde_aboutpage /usr/share/doc/manual/opensuse-manuals_en/manual/book.opensuse.startup.html -%endif - -# OpenSuse 12.2 Theme -%if "%{?suse_version}" == "1220" -Requires: wallpaper-branding -%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg -Requires: hicolor-icon-theme-branding -%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg - -Requires: opensuse-manuals_en -%define tde_aboutlabel OpenSuse 12.2 -%define tde_aboutpage /usr/share/doc/manual/opensuse-manuals_en/book.opensuse.startup.html -%endif - -# OpenSuse 12.3 Theme -%if "%{?suse_version}" == "1230" -Requires: wallpaper-branding -%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg -Requires: hicolor-icon-theme-branding -%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg - -Requires: opensuse-manuals_en -%define tde_aboutlabel OpenSuse 12.3 -%define tde_aboutpage /usr/share/doc/manual/opensuse-manuals_en/book.opensuse.startup.html -%endif - -BuildRequires: cmake >= 2.8 -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-arts-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} -BuildRequires: gcc-c++ -BuildRequires: make -BuildRequires: qt%{?_qt_suffix}-devel -BuildRequires: openssl-devel -BuildRequires: audiofile-devel -BuildRequires: alsa-lib-devel -BuildRequires: libraw1394-devel -BuildRequires: libvorbis-devel -BuildRequires: glib2-devel -BuildRequires: pcre-devel - -# LIBUSB support -BuildRequires: pam-devel -%if 0%{?mageia} || 0%{?mandriva} || 0%{?pclinuxos} -BuildRequires: %{_lib}usb1.0-devel -BuildRequires: %{_lib}usb-compat0.1-devel -%else -BuildRequires: libusb-devel -%endif - -# ESOUND support -%if 0%{?rhel} || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -%define with_esound 1 -BuildRequires: esound-devel -%endif - -# OPENLDAP support -%if 0%{?suse_version} -BuildRequires: openldap2-devel -%else -BuildRequires: openldap-devel -%endif - -# SENSORS support -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} -BuildRequires: lm_sensors-devel -%endif -%if 0%{?suse_version} -BuildRequires: libsensors4-devel -%endif - -# TSAK support (requires libudev-devel) -# On RHEL5, udev is built statically, so TSAK cannot build. -%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version} -%define with_tsak 1 -BuildRequires: libudev-devel -%endif - -# XRANDR support -# On RHEL5, xrandr library is too old. -%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version} -%define with_xrandr 1 -%endif - -# XTEST support -# On RHEL4, xtest library is too old. -%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} -%define with_xtest 1 -%endif - -# HAL support -# On RHEL4, we do not use HAL (too old) -%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} -%define with_hal 1 -BuildRequires: hal-devel >= 0.4.8 -%endif - -# OPENEXR support -# Disabled on RHEL4 -%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} -%define with_exr 1 -BuildRequires: OpenEXR-devel -%endif - -# XSCREENSAVER support -# Disabled on RHEL4 -%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} -%define with_xscreensaver 1 -%if 0%{?rhel} == 5 -BuildRequires: xorg-x11-proto-devel -BuildRequires: gnome-screensaver -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel -%endif -%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} >= 1220 -BuildRequires: libXScrnSaver-devel -%endif -%if 0%{?suse_version} == 1140 -BuildRequires: xscreensaver -%endif -%endif - -# AVAHI support -# Disabled on RHEL4 and RHEL5 -%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version} -BuildRequires: trinity-avahi-tqt-devel -Requires: trinity-avahi-tqt -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}avahi-client-devel -Requires: %{_lib}avahi-client3 -%else -BuildRequires: avahi-devel -Requires: avahi -%endif -%endif - -# NAS support -# (what is nas btw ?) -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: nas-devel -%endif - -# DBUS support -# TQT bindings not available for RHEL4 -%if 0%{?rhel} == 4 -# Dbus bindings were rebuilt with Qt support -BuildRequires: dbus-devel >= 0.22-12.EL.9p1 -Requires: dbus-qt -%else -BuildRequires: trinity-dbus-tqt-devel -Requires: trinity-dbus-tqt >= %{version} -%endif - -%if 0%{?fedora} >= 17 -BuildRequires: perl-Digest-MD5 -%endif - -# JACK support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}jack-devel -%endif -%if 0%{?fedora} || 0%{?rhel} >= 5 -BuildRequires: jack-audio-connection-kit-devel -%endif - -# LIBART support -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} || 0%{?fedora} || 0%{?rhel} >= 5 -%define with_libart 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}art_lgpl-devel -%endif -%if 0%{?suse_version} || 0%{?fedora} || 0%{?rhel} -BuildRequires: libart_lgpl-devel -%endif -%endif - -# SAMBA support -%if 0%{?rhel} == 4 -BuildRequires: samba-common -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -BuildRequires: libsmbclient-devel -%endif - -# IMAKE -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} >= 1220 -BuildRequires: imake -%endif - -# X11 stuff ... -%if 0%{?rhel} == 4 -BuildRequires: xorg-x11-devel -%endif - -%if 0%{?suse_version} == 1140 -BuildRequires: xorg-x11-libxkbfile-devel -BuildRequires: xorg-x11-libfontenc-devel -%endif - -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} >= 1220 -BuildRequires: libxkbfile-devel -BuildRequires: libfontenc-devel -%endif - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel -BuildRequires: %{_lib}xdamage-devel -BuildRequires: %{_lib}xdmcp%{?mgaversion:6}-devel -BuildRequires: %{_lib}xtst%{?mgaversion:6}-devel -BuildRequires: x11-font-util -BuildRequires: x11-proto-devel -%endif - -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 -BuildRequires: libXcomposite-devel -BuildRequires: libXdamage-devel -BuildRequires: libXdmcp-devel -BuildRequires: libXtst-devel -BuildRequires: xorg-x11-proto-devel -%endif - -%if 0%{?rhel} >= 5 || 0%{?fedora} -BuildRequires: xorg-x11-font-utils -%endif - -%if 0%{?suse_version} >= 1220 -BuildRequires: font-util -BuildRequires: bdftopcf -%endif - -%if 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: drakconf -%endif - -# tdebase is a metapackage that installs all sub-packages -Requires: %{name}-runtime-data-common = %{version}-%{release} -Requires: %{name}-data = %{version}-%{release} -Requires: %{name}-bin = %{version}-%{release} -Requires: %{name}-tdeio-plugins = %{version}-%{release} -Requires: %{name}-tdeio-pim-plugins = %{version}-%{release} -Requires: trinity-kappfinder = %{version}-%{release} -Requires: trinity-kate = %{version}-%{release} -Requires: trinity-kwrite = %{version}-%{release} -Requires: trinity-kcontrol = %{version}-%{release} -Requires: trinity-kdepasswd = %{version}-%{release} -Requires: trinity-tdeprint = %{version}-%{release} -Requires: trinity-kdesktop = %{version}-%{release} -Requires: trinity-tdm = %{version}-%{release} -Requires: trinity-kfind = %{version}-%{release} -Requires: trinity-khelpcenter = %{version}-%{release} -Requires: trinity-kicker = %{version}-%{release} -Requires: trinity-klipper = %{version}-%{release} -Requires: trinity-kmenuedit = %{version}-%{release} -Requires: trinity-konqueror = %{version}-%{release} -Requires: trinity-konqueror-nsplugins = %{version}-%{release} -Requires: trinity-konsole = %{version}-%{release} -Requires: trinity-kpager = %{version}-%{release} -Requires: trinity-kpersonalizer = %{version}-%{release} -Requires: trinity-ksmserver = %{version}-%{release} -Requires: trinity-ksplash = %{version}-%{release} -Requires: trinity-ksysguard = %{version}-%{release} -Requires: trinity-ksysguardd = %{version}-%{release} -Requires: trinity-ktip = %{version}-%{release} -Requires: trinity-twin = %{version}-%{release} -Requires: trinity-libkonq = %{version}-%{release} -Requires: %{name}-libtqt3-integration = %{version}-%{release} -Requires: %{name}-tdeio-smb-plugin = %{version}-%{release} - -Requires: trinity-tqtinterface >= %{version} -Requires: trinity-arts >= %{version} -Requires: trinity-tdelibs >= %{version} -Requires: qt%{?_qt_suffix} -Requires: openssl - - -# RHEL 6 Configuration files are provided in separate packages -%if 0%{?rhel} || 0%{?fedora} -%if "%{?tde_prefix}" == "/usr" -Requires: kde-settings-kdm -%endif -Requires: redhat-menus -%endif - -%if 0%{?suse_version} -Requires: desktop-data-openSUSE -%endif - -%description -TDE (the Trinity Desktop Environment) is a powerful Open Source graphical -desktop environment for Unix workstations. It combines ease of use, -contemporary functionality, and outstanding graphical design with the -technological superiority of the Unix operating system. - -This metapackage includes the nucleus of TDE, namely the minimal package -set necessary to run TDE as a desktop environment. This includes the -window manager, taskbar, control center, a text editor, file manager, -web browser, X terminal emulator, and many other programs and components. - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING COPYING-DOCS README README.pam - -########## - -%package devel -Summary: %{summary} - Development files -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} -Requires: trinity-tdelibs-devel - -Requires: %{name}-bin-devel = %{version}-%{release} -Requires: trinity-kate-devel = %{version}-%{release} -Requires: trinity-kcontrol-devel = %{version}-%{release} -Requires: trinity-kdesktop-devel = %{version}-%{release} -Requires: trinity-kicker-devel = %{version}-%{release} -Requires: trinity-konqueror-devel = %{version}-%{release} -Requires: trinity-ksplash-devel = %{version}-%{release} -Requires: trinity-ksysguard-devel = %{version}-%{release} -Requires: trinity-libkonq-devel = %{version}-%{release} -Requires: trinity-tdm-devel = %{version}-%{release} -Requires: trinity-twin-devel = %{version}-%{release} - -Provides: trinity-kdebase-devel = %{version}-%{release} -Obsoletes: trinity-kdebase-devel < %{version}-%{release} -Provides: tdebase-devel = %{version}-%{release} -Obsoletes: tdebase-devel < %{version}-%{release} - -Obsoletes: trinity-kdebase-cmake < %{version}-%{release} -Obsoletes: tdebase-cmake < %{version}-%{release} - -%description devel -This is a meta-package that installs all tdebase development packages. - -Header files for developing applications using %{name}. -Install tdebase-devel if you want to develop or compile Konqueror, -Kate plugins or KWin styles. - -%files devel -%defattr(-,root,root,-) -%{tde_datadir}/cmake/*.cmake - -########## - -%package tdeio-pim-plugins -Summary: PIM TDEIOslaves from %{name} -Group: Environment/Libraries - -Provides: trinity-kdebase-pim-ioslaves = %{version}-%{release} -Obsoletes: trinity-kdebase-pim-ioslaves < %{version}-%{release} -Provides: tdebase-kio-pim-plugins = %{version}-%{release} -Obsoletes: tdebase-kio-pim-plugins < %{version}-%{release} -Provides: trinity-tdebase-kio-pim-plugins = %{version}-%{release} -Obsoletes: trinity-tdebase-kio-pim-plugins < %{version}-%{release} - -%description tdeio-pim-plugins -Protocol handlers (TDEIOslaves) for personal information management, including: - * kio_ldap - * kio_nntp - * kio_pop3 - * kio_smtp - -%files tdeio-pim-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/kio_ldap.la -%{tde_tdelibdir}/kio_ldap.so -%{tde_tdelibdir}/kio_nntp.la -%{tde_tdelibdir}/kio_nntp.so -%{tde_tdelibdir}/kio_pop3.la -%{tde_tdelibdir}/kio_pop3.so -%{tde_tdelibdir}/kio_smtp.la -%{tde_tdelibdir}/kio_smtp.so -%{tde_datadir}/services/ldap.protocol -%{tde_datadir}/services/ldaps.protocol -%{tde_datadir}/services/nntp.protocol -%{tde_datadir}/services/nntps.protocol -%{tde_datadir}/services/pop3.protocol -%{tde_datadir}/services/pop3s.protocol -%{tde_datadir}/services/smtp.protocol -%{tde_datadir}/services/smtps.protocol - -########## - -%package runtime-data-common -Summary: Shared common files for Trinity and KDE4 -Group: Environment/Libraries - -Provides: tdebase-runtime-data-common = %{version}-%{release} -Obsoletes: tdebase-runtime-data-common < %{version}-%{release} - -%description runtime-data-common -Shared common files for both Trinity and KDE4 -Such as the desktop right-click-"Create New" list - -%files runtime-data-common -%defattr(-,root,root,-) -%{tde_datadir}/autostart/khotkeys.desktop -%{tde_datadir}/desktop-directories/* -%{tde_datadir}/icons/hicolor/*/apps/kxkb.png -%{tde_datadir}/icons/hicolor/*/apps/knetattach.* -%{tde_datadir}/icons/hicolor/*/apps/khotkeys.png -%{tde_datadir}/icons/hicolor/*/apps/kmenuedit.png -%{tde_datadir}/icons/hicolor/*/apps/ksplash.png -%{tde_datadir}/locale/en_US/entry.desktop -%{tde_datadir}/locale/l10n/*.desktop -%{tde_datadir}/locale/l10n/*/entry.desktop -%{tde_datadir}/locale/l10n/*/flag.png -%{tde_datadir}/sounds/pop.wav -%{tde_datadir}/templates - -%post runtime-data-common -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -%postun runtime-data-common -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -########## - -%package -n trinity-kappfinder -Summary: non-TDE application finder for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-kappfinder -kappfinder searches your workstation for many common applications and -creates menu entries for them. - -%files -n trinity-kappfinder -%defattr(-,root,root,-) -%{tde_bindir}/kappfinder -%{tde_tdeappdir}/kappfinder.desktop -%{tde_datadir}/applnk/System/kappfinder.desktop -%{tde_datadir}/apps/kappfinder -%{tde_datadir}/icons/hicolor/*/apps/kappfinder.png - -%post -n trinity-kappfinder -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%postun -n trinity-kappfinder -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database %{tde_appdir} 2> /dev/null || : - -########## - -%package -n trinity-libkateinterfaces -Summary: Common libraries used by kwrite and kate -Group: Environment/Libraries - -%description -n trinity-libkateinterfaces -%{summary} - -%files -n trinity-libkateinterfaces -%defattr(-,root,root,-) -%{tde_libdir}/libkateinterfaces.so.* - -%post -n trinity-libkateinterfaces -/sbin/ldconfig || : - -%postun -n trinity-libkateinterfaces -/sbin/ldconfig || : - -########## - -%package -n trinity-kate -Summary: advanced text editor for TDE -Group: Applications/Text -Requires: %{name}-data = %{version}-%{release} -Requires: trinity-kwrite = %{version}-%{release} -Requires: trinity-libkateinterfaces = %{version}-%{release} - -%description -n trinity-kate -Kate is a multi document editor, based on a rewritten version of the kwrite -editing widget of TDE. - -It is a multi-view editor that lets you view several instances of the same -document with all instances being synced, or view more files at the same -time for easy reference or simultaneous editing. The terminal emulation -and sidebar are docked windows that can be plugged out of the main window, -or replaced therein according to your preference. - -Some random features: -* Editing of big files -* Extensible syntax highlighting -* Folding -* Dynamic word wrap -* Selectable encoding -* Filter command -* Global grep dialog - -%files -n trinity-kate -%defattr(-,root,root,-) -%{tde_bindir}/kate -%{tde_tdelibdir}/kate.la -%{tde_tdelibdir}/kate.so -%{tde_libdir}/libkateutils.so.* -%{tde_libdir}/lib[kt]deinit_kate.la -%{tde_libdir}/lib[kt]deinit_kate.so -%{tde_tdeappdir}/kate.desktop -%{tde_datadir}/apps/kate/ -%{tde_datadir}/apps/kconf_update/kate-2.4.upd -%{_sysconfdir}/trinity/katerc -%{tde_datadir}/icons/hicolor/*/apps/kate.png -%{tde_datadir}/icons/hicolor/*/apps/kate2.svgz -%{tde_datadir}/servicetypes/kateplugin.desktop -%{tde_tdedocdir}/HTML/en/kate/ - -%post -n trinity-kate -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database %{tde_appdir} 2> /dev/null || : -/sbin/ldconfig || : - -%postun -n trinity-kate -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database %{tde_appdir} 2> /dev/null || : -/sbin/ldconfig || : - -########## - -%package -n trinity-kate-devel -Summary: Development files for kate -Group: Development/Libraries -Requires: trinity-kate = %{version}-%{release} - -%description -n trinity-kate-devel -%{summary} - -%files -n trinity-kate-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kate/ -%{tde_libdir}/libkateutils.so -%{tde_libdir}/libkateutils.la -%{tde_libdir}/libkateinterfaces.so -%{tde_libdir}/libkateinterfaces.la - -%post -n trinity-kate-devel -/sbin/ldconfig || : - -%postun -n trinity-kate-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kwrite -Summary: advanced text editor for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} -Requires: trinity-libkateinterfaces = %{version}-%{release} - -%description -n trinity-kwrite -Kwrite is a text editor for TDE. - -%files -n trinity-kwrite -%defattr(-,root,root,-) -%{tde_bindir}/kwrite -%{tde_tdelibdir}/kwrite.la -%{tde_tdelibdir}/kwrite.so -%{tde_libdir}/lib[kt]deinit_kwrite.la -%{tde_libdir}/lib[kt]deinit_kwrite.so -%{tde_tdeappdir}/kwrite.desktop -%{tde_datadir}/apps/kwrite/kwriteui.rc -%{tde_datadir}/icons/hicolor/*/apps/kwrite.png -%{tde_datadir}/icons/hicolor/*/apps/kwrite2.svgz -%{tde_tdedocdir}/HTML/en/kwrite/ - - -%post -n trinity-kwrite -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%postun -n trinity-kwrite -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database %{tde_appdir} 2> /dev/null || : - -########## - -%package -n trinity-kcontrol -Summary: control center for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -# Requires 'usb.ids' -Requires: usbutils -%if 0%{?suse_version} == 0 -Requires: hwdata -%endif - -%description -n trinity-kcontrol -The TDE Control Center provides you with a centralized and convenient -way to configure all of your TDE settings. - -It is made up of multiple modules. Each module is a separate application, -but the control center organizes all of these programs into a convenient -location. - -In combination with udev KControl supports the advanced -configuration of Logitech mice, though the user must be a member of the -plugdev group. - -%files -n trinity-kcontrol -%defattr(-,root,root,-) -%{tde_bindir}/kaccess -%{tde_bindir}/kcontrol -%{tde_bindir}/kdeinstallktheme -%{tde_bindir}/keditfiletype -%{tde_bindir}/kfontinst -%{tde_bindir}/kfontview -%{tde_bindir}/kinfocenter -%{tde_bindir}/klocaldomainurifilterhelper -%{tde_bindir}/krdb -%{tde_tdelibdir}/fontthumbnail.la -%{tde_tdelibdir}/fontthumbnail.so -%{tde_tdelibdir}/kaccess.la -%{tde_tdelibdir}/kaccess.so -%{tde_tdelibdir}/kcm_access.la -%{tde_tdelibdir}/kcm_access.so -%{tde_tdelibdir}/kcm_arts.la -%{tde_tdelibdir}/kcm_arts.so -%{tde_tdelibdir}/kcm_background.la -%{tde_tdelibdir}/kcm_background.so -%{tde_tdelibdir}/kcm_bell.la -%{tde_tdelibdir}/kcm_bell.so -%{tde_tdelibdir}/kcm_clock.la -%{tde_tdelibdir}/kcm_clock.so -%{tde_tdelibdir}/kcm_colors.la -%{tde_tdelibdir}/kcm_colors.so -%{tde_tdelibdir}/kcm_componentchooser.la -%{tde_tdelibdir}/kcm_componentchooser.so -%{tde_tdelibdir}/kcm_crypto.la -%{tde_tdelibdir}/kcm_crypto.so -%{tde_tdelibdir}/kcm_css.la -%{tde_tdelibdir}/kcm_css.so -%{tde_tdelibdir}/kcm_display.la -%{tde_tdelibdir}/kcm_display.so -%{tde_tdelibdir}/kcm_energy.la -%{tde_tdelibdir}/kcm_energy.so -%{tde_tdelibdir}/kcm_filetypes.la -%{tde_tdelibdir}/kcm_filetypes.so -%{tde_tdelibdir}/kcm_fontinst.la -%{tde_tdelibdir}/kcm_fontinst.so -%{tde_tdelibdir}/kcm_fonts.la -%{tde_tdelibdir}/kcm_fonts.so -#%{tde_tdelibdir}/kcm_hwmanager.la -#%{tde_tdelibdir}/kcm_hwmanager.so -%{tde_tdelibdir}/kcm_icons.la -%{tde_tdelibdir}/kcm_icons.so -%{tde_tdelibdir}/kcm_info.la -%{tde_tdelibdir}/kcm_info.so -%{tde_tdelibdir}/kcm_input.la -%{tde_tdelibdir}/kcm_input.so -%{tde_tdelibdir}/kcm_ioslaveinfo.la -%{tde_tdelibdir}/kcm_ioslaveinfo.so -%{tde_tdelibdir}/kcm_joystick.la -%{tde_tdelibdir}/kcm_joystick.so -%{tde_tdelibdir}/kcm_kded.la -%{tde_tdelibdir}/kcm_kded.so -%{tde_tdelibdir}/kcm_[kt]dm.la -%{tde_tdelibdir}/kcm_[kt]dm.so -%{tde_tdelibdir}/kcm_kdnssd.so -%{tde_tdelibdir}/kcm_kdnssd.la -%{tde_tdelibdir}/kcm_keys.la -%{tde_tdelibdir}/kcm_keys.so -%{tde_tdelibdir}/kcm_kicker.la -%{tde_tdelibdir}/kcm_kicker.so -%{tde_tdelibdir}/kcm_kio.la -%{tde_tdelibdir}/kcm_kio.so -%{tde_tdelibdir}/kcm_knotify.la -%{tde_tdelibdir}/kcm_knotify.so -%{tde_tdelibdir}/kcm_konqhtml.la -%{tde_tdelibdir}/kcm_konqhtml.so -%{tde_tdelibdir}/kcm_konq.la -%{tde_tdelibdir}/kcm_konq.so -%{tde_tdelibdir}/kcm_kthememanager.la -%{tde_tdelibdir}/kcm_kthememanager.so -%{tde_tdelibdir}/kcm_kurifilt.la -%{tde_tdelibdir}/kcm_kurifilt.so -%{tde_tdelibdir}/kcm_launch.la -%{tde_tdelibdir}/kcm_launch.so -%{tde_tdelibdir}/kcm_locale.la -%{tde_tdelibdir}/kcm_locale.so -%{tde_tdelibdir}/kcm_nic.la -%{tde_tdelibdir}/kcm_nic.so -%{tde_tdelibdir}/kcm_performance.la -%{tde_tdelibdir}/kcm_performance.so -%{tde_tdelibdir}/kcm_privacy.la -%{tde_tdelibdir}/kcm_privacy.so -%{tde_tdelibdir}/kcm_screensaver.la -%{tde_tdelibdir}/kcm_screensaver.so -%{tde_tdelibdir}/kcm_smserver.la -%{tde_tdelibdir}/kcm_smserver.so -%{tde_tdelibdir}/kcm_spellchecking.la -%{tde_tdelibdir}/kcm_spellchecking.so -%{tde_tdelibdir}/kcm_style.la -%{tde_tdelibdir}/kcm_style.so -%{tde_tdelibdir}/kcm_taskbar.la -%{tde_tdelibdir}/kcm_taskbar.so -%{tde_tdelibdir}/kcm_usb.la -%{tde_tdelibdir}/kcm_usb.so -%{tde_tdelibdir}/kcm_view1394.la -%{tde_tdelibdir}/kcm_view1394.so -%{tde_tdelibdir}/kcm_xinerama.la -%{tde_tdelibdir}/kcm_xinerama.so -%{tde_tdelibdir}/kcontrol.la -%{tde_tdelibdir}/kcontrol.so -%{tde_tdelibdir}/kfile_font.la -%{tde_tdelibdir}/kfile_font.so -%{tde_tdelibdir}/kio_fonts.la -%{tde_tdelibdir}/kio_fonts.so -%{tde_tdelibdir}/kstyle_keramik_config.la -%{tde_tdelibdir}/kstyle_keramik_config.so -%{tde_tdelibdir}/libkfontviewpart.la -%{tde_tdelibdir}/libkfontviewpart.so -%{tde_tdelibdir}/libkshorturifilter.la -%{tde_tdelibdir}/libkshorturifilter.so -%{tde_tdelibdir}/libkuriikwsfilter.la -%{tde_tdelibdir}/libkuriikwsfilter.so -%{tde_tdelibdir}/libkurisearchfilter.la -%{tde_tdelibdir}/libkurisearchfilter.so -%{tde_tdelibdir}/liblocaldomainurifilter.la -%{tde_tdelibdir}/liblocaldomainurifilter.so -%{tde_libdir}/lib[kt]deinit_kaccess.la -%{tde_libdir}/lib[kt]deinit_kaccess.so -%{tde_libdir}/lib[kt]deinit_kcontrol.la -%{tde_libdir}/lib[kt]deinit_kcontrol.so -%{tde_libdir}/libkfontinst.so.* -%{tde_tdeappdir}/arts.desktop -%{tde_tdeappdir}/background.desktop -%{tde_tdeappdir}/bell.desktop -%{tde_tdeappdir}/cache.desktop -%{tde_tdeappdir}/cdinfo.desktop -%{tde_tdeappdir}/clock.desktop -%{tde_tdeappdir}/colors.desktop -%{tde_tdeappdir}/componentchooser.desktop -%{tde_tdeappdir}/cookies.desktop -%{tde_tdeappdir}/crypto.desktop -%{tde_tdeappdir}/desktopbehavior.desktop -%{tde_tdeappdir}/desktop.desktop -%{tde_tdeappdir}/desktoppath.desktop -%{tde_tdeappdir}/devices.desktop -%{tde_tdeappdir}/display.desktop -%{tde_tdeappdir}/dma.desktop -%{tde_tdeappdir}/ebrowsing.desktop -%{tde_tdeappdir}/filebrowser.desktop -%{tde_tdeappdir}/filetypes.desktop -%{tde_tdeappdir}/fonts.desktop -#%{tde_tdeappdir}/hwmanager.desktop -%{tde_tdeappdir}/icons.desktop -%{tde_tdeappdir}/installktheme.desktop -%{tde_tdeappdir}/interrupts.desktop -%{tde_tdeappdir}/ioports.desktop -%{tde_tdeappdir}/ioslaveinfo.desktop -%{tde_tdeappdir}/joystick.desktop -%{tde_tdeappdir}/kcm_kdnssd.desktop -%{tde_tdeappdir}/kcmaccess.desktop -%{tde_tdeappdir}/kcmcss.desktop -%{tde_tdeappdir}/kcmfontinst.desktop -%{tde_tdeappdir}/kcmkded.desktop -%{tde_tdeappdir}/kcmlaunch.desktop -%{tde_tdeappdir}/kcmnotify.desktop -%{tde_tdeappdir}/kcmperformance.desktop -%{tde_tdeappdir}/kcmsmserver.desktop -%{tde_tdeappdir}/kcmtaskbar.desktop -%{tde_tdeappdir}/kcmusb.desktop -%{tde_tdeappdir}/kcmview1394.desktop -%{tde_tdeappdir}/KControl.desktop -%{tde_tdeappdir}/[kt]dm.desktop -%{tde_tdeappdir}/keys.desktop -%{tde_tdeappdir}/kfontview.desktop -%{tde_tdeappdir}/khtml_behavior.desktop -%{tde_tdeappdir}/khtml_fonts.desktop -%{tde_tdeappdir}/khtml_java_js.desktop -%{tde_tdeappdir}/kinfocenter.desktop -%{tde_tdeappdir}/kthememanager.desktop -%{tde_tdeappdir}/lanbrowser.desktop -%{tde_tdeappdir}/language.desktop -%{tde_tdeappdir}/media.desktop -%{tde_tdeappdir}/memory.desktop -%{tde_tdeappdir}/mouse.desktop -%{tde_tdeappdir}/netpref.desktop -%{tde_tdeappdir}/nic.desktop -%{tde_tdeappdir}/opengl.desktop -%{tde_tdeappdir}/panel_appearance.desktop -%{tde_tdeappdir}/panel.desktop -%{tde_tdeappdir}/partitions.desktop -%{tde_tdeappdir}/pci.desktop -%{tde_tdeappdir}/privacy.desktop -%{tde_tdeappdir}/processor.desktop -%{tde_tdeappdir}/proxy.desktop -%{tde_tdeappdir}/screensaver.desktop -%{tde_tdeappdir}/scsi.desktop -%{tde_tdeappdir}/smbstatus.desktop -%{tde_tdeappdir}/sound.desktop -%{tde_tdeappdir}/spellchecking.desktop -%{tde_tdeappdir}/style.desktop -%{tde_tdeappdir}/useragent.desktop -%{tde_tdeappdir}/xserver.desktop -%{tde_datadir}/applnk/.hidden/energy.desktop -%{tde_datadir}/applnk/.hidden/fileappearance.desktop -%{tde_datadir}/applnk/.hidden/filebehavior.desktop -%{tde_datadir}/applnk/.hidden/filepreviews.desktop -%{tde_datadir}/applnk/.hidden/kcmkonqyperformance.desktop -%{tde_datadir}/applnk/.hidden/kicker_config_appearance.desktop -%{tde_datadir}/applnk/.hidden/kicker_config.desktop -%{tde_datadir}/applnk/.hidden/smb.desktop -%{tde_datadir}/applnk/.hidden/xinerama.desktop -%{tde_datadir}/applnk/Settings/LookNFeel/ -%{tde_datadir}/applnk/Settings/WebBrowsing/khtml_appearance.desktop -%{tde_datadir}/applnk/Settings/WebBrowsing/nsplugin.desktop -%{tde_datadir}/applnk/Settings/WebBrowsing/smb.desktop -%{tde_datadir}/apps/kcm_componentchooser/kcm_browser.desktop -%{tde_datadir}/apps/kcm_componentchooser/kcm_kemail.desktop -%{tde_datadir}/apps/kcm_componentchooser/kcm_terminal.desktop -%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/fonts.desktop -%{tde_datadir}/apps/konqueror/servicemenus/installfont.desktop -%{tde_datadir}/mimelnk/application/x-ktheme.desktop -%{tde_datadir}/mimelnk/fonts/folder.desktop -%{tde_datadir}/mimelnk/fonts/package.desktop -%{tde_datadir}/mimelnk/fonts/system-folder.desktop -%{tde_datadir}/services/fonts.protocol -%{tde_datadir}/services/fontthumbnail.desktop -%{tde_datadir}/services/kaccess.desktop -%{tde_datadir}/services/kfile_font.desktop -%{tde_datadir}/services/kfontviewpart.desktop -%{tde_datadir}/services/kshorturifilter.desktop -%{tde_datadir}/services/kuriikwsfilter.desktop -%{tde_datadir}/services/kurisearchfilter.desktop -%{tde_datadir}/services/localdomainurifilter.desktop - -%{tde_datadir}/apps/usb.ids -%{tde_datadir}/apps/kcmview1394/oui.db - -# The following features are not compiled under RHEL 5 and older -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -%{tde_bindir}/krandrtray -%{tde_tdelibdir}/kcm_displayconfig.la -%{tde_tdelibdir}/kcm_displayconfig.so -%{tde_tdelibdir}/kcm_iccconfig.la -%{tde_tdelibdir}/kcm_iccconfig.so -%{tde_tdelibdir}/kcm_randr.la -%{tde_tdelibdir}/kcm_randr.so -%{tde_tdeappdir}/displayconfig.desktop -%{tde_tdeappdir}/iccconfig.desktop -%{tde_tdeappdir}/krandrtray.desktop -%{tde_datadir}/applnk/.hidden/randr.desktop -%{tde_datadir}/autostart/krandrtray-autostart.desktop -%endif - -%post -n trinity-kcontrol -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%postun -n trinity-kcontrol -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} 2> /dev/null || : - -########## - -%package -n trinity-kcontrol-devel -Summary: Development files for kcontrol -Group: Development/Libraries -Requires: trinity-kcontrol = %{version}-%{release} - -%description -n trinity-kcontrol-devel -%{summary} - -%files -n trinity-kcontrol-devel -%defattr(-,root,root,-) -%{tde_libdir}/libkfontinst.la -%{tde_libdir}/libkfontinst.so - -%post -n trinity-kcontrol-devel -/sbin/ldconfig || : - -%postun -n trinity-kcontrol-devel -/sbin/ldconfig || : - -########## - -%package bin -Summary: core binaries for the TDE base module -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} -Requires: pam - -Provides: tdebase-bin = %{version}-%{release} -Obsoletes: tdebase-bin < %{version}-%{release} - -%description bin -This package contains miscellaneous programs needed by other -TDE applications, particularly those in the TDE base module. - -%files bin -%defattr(-,root,root,-) -%{tde_bindir}/krootbacking -#%{tde_bindir}/tdeinit_phase1 -%if 0%{?with_tsak} -%attr(4511,root,root) %{tde_bindir}/[kt]dmtsak -%{tde_bindir}/tsak -%endif -%{tde_bindir}/kdebugdialog -%{tde_bindir}/kreadconfig -%{tde_bindir}/kwriteconfig -%{tde_bindir}/kstart -%{_sysconfdir}/trinity/kxkb_groups -%{tde_bindir}/drkonqi -%{tde_bindir}/crashtest -%{tde_bindir}/kapplymousetheme -%{tde_bindir}/kblankscrn.kss -%attr(4755,root,root) %{tde_bindir}/kcheckpass -%{tde_bindir}/kcminit -%{tde_bindir}/kcminit_startup -%{tde_bindir}/kdcop -%{tde_bindir}/[kt]desu -%attr(0755,root,root) %{tde_bindir}/[kt]desud -%{tde_bindir}/kdialog -%{tde_bindir}/khotkeys -%{tde_bindir}/knetattach -%{tde_bindir}/krandom.kss -%{tde_bindir}/ksystraycmd -%{tde_bindir}/kxkb -%{tde_libdir}/kconf_update_bin/khotkeys_update -%{tde_tdelibdir}/kcminit.la -%{tde_tdelibdir}/kcminit.so -%{tde_tdelibdir}/kcminit_startup.la -%{tde_tdelibdir}/kcminit_startup.so -%{tde_tdelibdir}/kcm_keyboard.la -%{tde_tdelibdir}/kcm_keyboard.so -%{tde_tdelibdir}/kcm_khotkeys_init.la -%{tde_tdelibdir}/kcm_khotkeys_init.so -%{tde_tdelibdir}/kcm_khotkeys.la -%{tde_tdelibdir}/kcm_khotkeys.so -%{tde_tdelibdir}/kded_khotkeys.la -%{tde_tdelibdir}/kded_khotkeys.so -%{tde_tdelibdir}/kgreet_classic.la -%{tde_tdelibdir}/kgreet_classic.so -%{tde_tdelibdir}/kgreet_winbind.la -%{tde_tdelibdir}/kgreet_winbind.so -%{tde_tdelibdir}/khotkeys.la -%{tde_tdelibdir}/khotkeys.so -%{tde_tdelibdir}/khotkeys_arts.la -%{tde_tdelibdir}/khotkeys_arts.so -%{tde_tdelibdir}/kxkb.la -%{tde_tdelibdir}/kxkb.so -%{tde_libdir}/lib[kt]deinit_kcminit.la -%{tde_libdir}/lib[kt]deinit_kcminit.so -%{tde_libdir}/lib[kt]deinit_kcminit_startup.la -%{tde_libdir}/lib[kt]deinit_kcminit_startup.so -%{tde_libdir}/lib[kt]deinit_khotkeys.la -%{tde_libdir}/lib[kt]deinit_khotkeys.so -%{tde_libdir}/lib[kt]deinit_kxkb.la -%{tde_libdir}/lib[kt]deinit_kxkb.so -%{tde_libdir}/libkhotkeys_shared.so.* -%{tde_tdeappdir}/keyboard.desktop -%{tde_tdeappdir}/keyboard_layout.desktop -%{tde_tdeappdir}/khotkeys.desktop -%{tde_tdeappdir}/knetattach.desktop -%{tde_datadir}/applnk/System/ScreenSavers/ -%{tde_datadir}/apps/drkonqi/ -%{tde_datadir}/apps/kconf_update/khotkeys_32b1_update.upd -%{tde_datadir}/apps/kconf_update/khotkeys_printscreen.upd -%{tde_datadir}/apps/kconf_update/konqueror_gestures_trinity21_update.upd -%{tde_datadir}/apps/kdcop/kdcopui.rc -%{tde_datadir}/apps/khotkeys/ -%{tde_datadir}/services/kded/khotkeys.desktop -%{tde_datadir}/services/kxkb.desktop -%if 0%{?suse_version} == 0 -%{_sysconfdir}/pam.d/kcheckpass-trinity -%{_sysconfdir}/pam.d/kscreensaver-trinity -%endif -%{tde_tdedocdir}/HTML/en/kdcop/ -%{tde_tdedocdir}/HTML/en/kdebugdialog// -%{tde_tdedocdir}/HTML/en/[kt]desu/ -%{tde_tdedocdir}/HTML/en/knetattach/ -%{tde_tdedocdir}/HTML/en/kxkb/ - -%post bin -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%postun bin -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} 2> /dev/null || : - -########## - -%package bin-devel -Summary: Development files for core binaries for the TDE base module -Group: Development/Libraries -Requires: %{name}-bin = %{version}-%{release} - -Obsoletes: tdebase-bin-devel < %{version}-%{release} -Provides: tdebase-bin-devel = %{version}-%{release} - -%description bin-devel -%{summary} - -%files bin-devel -%defattr(-,root,root,-) -%{tde_libdir}/libkhotkeys_shared.la -%{tde_libdir}/libkhotkeys_shared.so - -%post bin-devel -/sbin/ldconfig || : - -%postun bin-devel -/sbin/ldconfig || : - -########## - -%package data -Summary: shared data files for the TDE base module -Group: Environment/Libraries -Requires: %{name}-runtime-data-common = %{version}-%{release} - -Obsoletes: tdebase-data < %{version}-%{release} -Provides: tdebase-data = %{version}-%{release} - -%description data -This package contains the architecture-independent shared data files -needed for a basic TDE desktop installation. - -%files data -%defattr(-,root,root,-) -%{_sysconfdir}/trinity/kshorturifilterrc -%{tde_datadir}/applnk/.hidden/battery.desktop -%{tde_datadir}/applnk/.hidden/bwarning.desktop -%{tde_datadir}/applnk/.hidden/cwarning.desktop -%{tde_datadir}/applnk/.hidden/.directory -%{tde_datadir}/applnk/.hidden/email.desktop -%{tde_datadir}/applnk/.hidden/kcmkonq.desktop -%{tde_datadir}/applnk/.hidden/kcmkxmlrpcd.desktop -%{tde_datadir}/applnk/.hidden/konqhtml.desktop -%{tde_datadir}/applnk/.hidden/passwords.desktop -%{tde_datadir}/applnk/.hidden/power.desktop -%{tde_datadir}/applnk/.hidden/socks.desktop -%{tde_datadir}/applnk/.hidden/userinfo.desktop -%{tde_datadir}/applnk/.hidden/virtualdesktops.desktop -%{tde_datadir}/apps/kaccess/eventsrc -%{tde_datadir}/apps/kcmcss/template.css -%{tde_datadir}/apps/kcminput/ -%{tde_datadir}/apps/kcmkeys/ -%{tde_datadir}/apps/kcmlocale/pics/background.png -%{tde_datadir}/apps/kconf_update/convertShortcuts.pl -%{tde_datadir}/apps/kconf_update/kaccel.upd -%{tde_datadir}/apps/kconf_update/kcmdisplayrc.upd -%{tde_datadir}/apps/kconf_update/kuriikwsfilter.upd -%{tde_datadir}/apps/kconf_update/mouse_cursor_theme.upd -%{tde_datadir}/apps/kconf_update/socks.upd -%{tde_datadir}/apps/kcontrol/ -%{tde_datadir}/apps/kdisplay/ -%{tde_datadir}/apps/kfontview/ -%{tde_datadir}/apps/kinfocenter/kinfocenterui.rc -%{tde_datadir}/apps/kthememanager/themes/* -%{tde_datadir}/icons/crystalsvg/*/apps/access.png -%{tde_datadir}/icons/crystalsvg/*/apps/acroread.png -%{tde_datadir}/icons/crystalsvg/*/apps/applixware.png -%{tde_datadir}/icons/crystalsvg/*/apps/arts.png -%{tde_datadir}/icons/crystalsvg/*/apps/background.png -%{tde_datadir}/icons/crystalsvg/*/apps/bell.png -%{tde_datadir}/icons/crystalsvg/*/apps/cache.png -%{tde_datadir}/icons/crystalsvg/*/apps/clanbomber.png -%{tde_datadir}/icons/crystalsvg/*/apps/clock.png -%{tde_datadir}/icons/crystalsvg/*/apps/colors.png -%{tde_datadir}/icons/crystalsvg/*/apps/date.png -%{tde_datadir}/icons/crystalsvg/*/apps/email.png -%{tde_datadir}/icons/crystalsvg/*/apps/energy.png -%{tde_datadir}/icons/crystalsvg/*/apps/energy_star.png -%{tde_datadir}/icons/crystalsvg/*/apps/filetypes.png -%{tde_datadir}/icons/crystalsvg/*/apps/fonts.png -%{tde_datadir}/icons/crystalsvg/*/apps/gimp.png -%{tde_datadir}/icons/crystalsvg/*/apps/help_index.png -%{tde_datadir}/icons/crystalsvg/*/apps/hwinfo.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmdevices.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmdf.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmkwm.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmmemory.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmpartitions.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmpci.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcontrol.png -%{tde_datadir}/icons/crystalsvg/*/apps/[kt]dmconfig.png -%{tde_datadir}/icons/crystalsvg/*/apps/key_bindings.png -%{tde_datadir}/icons/crystalsvg/*/apps/kfm_home.png -%{tde_datadir}/icons/crystalsvg/*/apps/kscreensaver.png -%{tde_datadir}/icons/crystalsvg/*/apps/kthememgr.png -%{tde_datadir}/icons/crystalsvg/*/apps/licq.png -%{tde_datadir}/icons/crystalsvg/*/apps/linuxconf.png -%{tde_datadir}/icons/crystalsvg/*/apps/locale.png -%{tde_datadir}/icons/crystalsvg/*/apps/looknfeel.png -%{tde_datadir}/icons/crystalsvg/*/apps/multimedia.png -%{tde_datadir}/icons/crystalsvg/*/apps/netscape.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_applications.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_development.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_favourite.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_games.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_games_kids.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_multimedia.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_network.png -%{tde_datadir}/icons/crystalsvg/*/apps/package.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_settings.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_toys.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_utilities.png -%{tde_datadir}/icons/crystalsvg/*/apps/penguin.png -%{tde_datadir}/icons/crystalsvg/*/apps/personal.png -%{tde_datadir}/icons/crystalsvg/*/apps/phppg.png -%{tde_datadir}/icons/crystalsvg/*/apps/proxy.png -%{tde_datadir}/icons/crystalsvg/*/apps/pysol.png -%{tde_datadir}/icons/crystalsvg/*/apps/randr.png -%{tde_datadir}/icons/crystalsvg/*/apps/samba.png -%{tde_datadir}/icons/crystalsvg/*/apps/staroffice.png -%{tde_datadir}/icons/crystalsvg/*/apps/stylesheet.png -%{tde_datadir}/icons/crystalsvg/*/apps/terminal.png -%{tde_datadir}/icons/crystalsvg/*/apps/tux.png -%{tde_datadir}/icons/crystalsvg/*/apps/wp.png -%{tde_datadir}/icons/crystalsvg/*/apps/xclock.png -%{tde_datadir}/icons/crystalsvg/*/apps/xfmail.png -%{tde_datadir}/icons/crystalsvg/*/apps/xmag.png -%{tde_datadir}/icons/crystalsvg/*/apps/xpaint.png -%{tde_datadir}/icons/crystalsvg/scalable/apps/access.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/acroread.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/aim.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/aktion.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/antivirus.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/applixware.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/arts.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/background.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/bell.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/browser.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/cache.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/camera.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/clanbomber.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/clock.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/colors.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/core.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/date.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/display.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/download_manager.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/email.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/energy.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/error.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/fifteenpieces.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/filetypes.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/fonts.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/galeon.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/gnome_apps.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/hardware.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/hwinfo.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/ieee1394.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/kcmdevices.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/kcmkwm.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/kcmx.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/locale.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/my_mac.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/netscape.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/openoffice.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/package_development.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/package_games_kids.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/package_toys.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/penguin.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/personal.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/quicktime.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/realplayer.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/samba.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/shell.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/staroffice.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/stylesheet.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/terminal.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/tux.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/wine.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/x.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/xapp.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/xcalc.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/xchat.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/xclock.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/xeyes.svgz -%{tde_datadir}/icons/crystalsvg/scalable/apps/xpaint.svgz -%{tde_datadir}/icons/crystalsvg/*/devices/laptop.png -%{tde_datadir}/icons/crystalsvg/*/devices/laptop.svgz -%{tde_datadir}/icons/crystalsvg/*/actions/newfont.png -%{tde_datadir}/icons/crystalsvg/*/apps/abiword.png -%{tde_datadir}/icons/crystalsvg/*/apps/agent.png -%{tde_datadir}/icons/crystalsvg/*/apps/alevt.png -%{tde_datadir}/icons/crystalsvg/*/apps/assistant.png -%{tde_datadir}/icons/crystalsvg/*/apps/blender.png -%{tde_datadir}/icons/crystalsvg/*/apps/bluefish.png -%{tde_datadir}/icons/crystalsvg/*/apps/cookie.png -%{tde_datadir}/icons/crystalsvg/*/apps/designer.png -%{tde_datadir}/icons/crystalsvg/*/apps/dia.png -%{tde_datadir}/icons/crystalsvg/*/apps/dlgedit.png -%{tde_datadir}/icons/crystalsvg/*/apps/eclipse.png -%{tde_datadir}/icons/crystalsvg/*/apps/edu_languages.png -%{tde_datadir}/icons/crystalsvg/*/apps/edu_mathematics.png -%{tde_datadir}/icons/crystalsvg/*/apps/edu_miscellaneous.png -%{tde_datadir}/icons/crystalsvg/*/apps/edu_science.png -%{tde_datadir}/icons/crystalsvg/*/apps/emacs.png -%{tde_datadir}/icons/crystalsvg/*/apps/enhanced_browsing.png -%{tde_datadir}/icons/crystalsvg/*/apps/evolution.png -%{tde_datadir}/icons/crystalsvg/*/apps/fifteenpieces.png -%{tde_datadir}/icons/crystalsvg/*/apps/gabber.png -%{tde_datadir}/icons/crystalsvg/*/apps/gaim.png -%{tde_datadir}/icons/crystalsvg/*/apps/gnome_apps.png -%{tde_datadir}/icons/crystalsvg/*/apps/gnomemeeting.png -%{tde_datadir}/icons/crystalsvg/*/apps/gnucash.png -%{tde_datadir}/icons/crystalsvg/*/apps/gnumeric.png -%{tde_datadir}/icons/crystalsvg/*/apps/gv.png -%{tde_datadir}/icons/crystalsvg/*/apps/gvim.png -%{tde_datadir}/icons/crystalsvg/*/apps/icons.png -%{tde_datadir}/icons/crystalsvg/*/apps/iconthemes.png -%{tde_datadir}/icons/crystalsvg/*/apps/ieee1394.png -%{tde_datadir}/icons/crystalsvg/*/apps/input_devices_settings.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmkicker.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmmidi.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmprocessor.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmscsi.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmsound.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmsystem.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmx.png -%{tde_datadir}/icons/crystalsvg/*/apps/keyboard.png -%{tde_datadir}/icons/crystalsvg/*/apps/keyboard_layout.png -%{tde_datadir}/icons/crystalsvg/*/apps/knotify.png -%{tde_datadir}/icons/crystalsvg/*/apps/kvirc.png -%{tde_datadir}/icons/crystalsvg/*/apps/linguist.png -%{tde_datadir}/icons/crystalsvg/*/apps/lyx.png -%{tde_datadir}/icons/crystalsvg/*/apps/mac.png -%{tde_datadir}/icons/crystalsvg/*/apps/mathematica.png -%{tde_datadir}/icons/crystalsvg/*/apps/nedit.png -%{tde_datadir}/icons/crystalsvg/*/apps/opera.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_application.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_editors.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_edutainment.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_games_arcade.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_games_board.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_games_card.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_games_strategy.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_graphics.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_system.png -%{tde_datadir}/icons/crystalsvg/*/apps/package_wordprocessing.png -%{tde_datadir}/icons/crystalsvg/*/apps/pan.png -%{tde_datadir}/icons/crystalsvg/*/apps/panel_settings.png -%{tde_datadir}/icons/crystalsvg/*/apps/plan.png -%{tde_datadir}/icons/crystalsvg/*/apps/planner.png -%{tde_datadir}/icons/crystalsvg/*/apps/pybliographic.png -%{tde_datadir}/icons/crystalsvg/*/apps/realplayer.png -%{tde_datadir}/icons/crystalsvg/*/apps/remote.png -%{tde_datadir}/icons/crystalsvg/*/apps/scribus.png -%{tde_datadir}/icons/crystalsvg/*/apps/sodipodi.png -%{tde_datadir}/icons/crystalsvg/*/apps/style.png -%{tde_datadir}/icons/crystalsvg/*/apps/usb.png -%{tde_datadir}/icons/crystalsvg/*/apps/vnc.png -%{tde_datadir}/icons/crystalsvg/*/apps/wabi.png -%{tde_datadir}/icons/crystalsvg/*/apps/wine.png -%{tde_datadir}/icons/crystalsvg/*/apps/xcalc.png -%{tde_datadir}/icons/crystalsvg/*/apps/xchat.png -%{tde_datadir}/icons/crystalsvg/*/apps/xclipboard.png -%{tde_datadir}/icons/crystalsvg/*/apps/xconsole.png -%{tde_datadir}/icons/crystalsvg/*/apps/xedit.png -%{tde_datadir}/icons/crystalsvg/*/apps/xemacs.png -%{tde_datadir}/icons/crystalsvg/*/apps/xeyes.png -%{tde_datadir}/icons/crystalsvg/*/apps/xfig.png -%{tde_datadir}/icons/crystalsvg/*/apps/xload.png -%{tde_datadir}/icons/crystalsvg/*/apps/xmms.png -%{tde_datadir}/icons/crystalsvg/*/apps/xosview.png -%{tde_datadir}/icons/crystalsvg/*/apps/xv.png -%{tde_datadir}/icons/crystalsvg/*/apps/galeon.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmdrkonqi.png -%{tde_datadir}/icons/crystalsvg/*/apps/pinguin.png -%{tde_datadir}/icons/crystalsvg/*/apps/x.png -%{tde_datadir}/icons/crystalsvg/*/apps/xapp.png -%{tde_datadir}/icons/crystalsvg/*/apps/xawtv.png -%{tde_datadir}/icons/crystalsvg/*/apps/kcmopengl.png -%{tde_datadir}/icons/crystalsvg/*/apps/wmaker_apps.png -%{tde_datadir}/icons/crystalsvg/*/apps/qtella.png -%{tde_datadir}/services/searchproviders -%{tde_datadir}/services/useragentstrings/*.desktop -%{tde_datadir}/servicetypes/searchprovider.desktop -%{tde_datadir}/servicetypes/uasprovider.desktop -%exclude %{tde_datadir}/sounds/pop.wav -%{tde_datadir}/sounds/ -%{tde_datadir}/wallpapers/* - -%if "%{tde_prefix}" != "/usr" -%{tde_prefix}/etc/xdg/menus/applications-merged/kde-essential.menu -%{tde_prefix}/etc/xdg/menus/kde-information.menu -%{tde_prefix}/etc/xdg/menus/kde-screensavers.menu -%{tde_prefix}/etc/xdg/menus/kde-settings.menu -%else -%{_sysconfdir}/xdg/menus/applications-merged/kde-essential.menu -%{_sysconfdir}/xdg/menus/kde-information.menu -%{_sysconfdir}/xdg/menus/kde-screensavers.menu -%{_sysconfdir}/xdg/menus/kde-settings.menu -%endif - -%{tde_tdedocdir}/HTML/en/kcontrol/ -%exclude %{tde_tdedocdir}/HTML/en/kcontrol/kcmkonsole/ -%{tde_tdedocdir}/HTML/en/kinfocenter/ - -%post data -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -%if "%{distribution}" == "Mandriva Linux" -# Mandriva-specific: we have to choose a background for current distribution variant (Free, One, Powerpack, ...) -# First, we read the "product" key in /etc/product.id -eval $(tr "," ";" /dev/null -# Then, we create a symbolic link to the corresponding background -if [ -r "%{_datadir}/mdk/backgrounds/Mandriva-${product:-Free}-1280x1024-1300.jpg" "%{tde_bg}" ]; then - %__ln -sf "%{_datadir}/mdk/backgrounds/Mandriva-${product:-Free}-1280x1024-1300.jpg" "%{tde_bg}" -fi -%endif - -%if "%{distribution}" == "Mageia" -if [ ! -r "%{tde_bg}" ] && [ -r "%{_datadir}/mga/backgrounds/Mageia-Default-1920x1440.png" ]; then - %__ln -sf "%{_datadir}/mga/backgrounds/Mageia-Default-1920x1440.png" "%{tde_bg}" -fi -%endif - -%postun data -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -########## - -%package tdeio-plugins -Summary: core I/O slaves for TDE -Group: Applications/Utilities -Requires: trinity-kdesktop = %{version}-%{release} -Requires: cyrus-sasl -Requires: psmisc -%if 0%{?with_hal} -Requires: hal >= 0.4.8 -%endif -%if 0%{?rhel} == 4 || 0%{?suse_version} -Requires: cryptsetup -%else -Requires: cryptsetup-luks -%endif - -Obsoletes: tdebase-kio-plugins < %{version}-%{release} -Provides: tdebase-kio-plugins = %{version}-%{release} -Obsoletes: trinity-tdebase-kio-plugins < %{version}-%{release} -Provides: trinity-tdebase-kio-plugins = %{version}-%{release} - -%description tdeio-plugins -This package includes the base tdeioslaves. They include, amongst many -others, file, http, and ftp. - -It also includes the media tdeioslave, which handles removable devices, -and which works best with hal (and therefore udev) and pmount. Media -also extends the functionality of many other tdeioslaves. To use this -service, please make sure that your user is a member of the plugdev -group. - -%files tdeio-plugins -%defattr(-,root,root,-) -%{tde_bindir}/kio_media_mounthelper -%{tde_bindir}/ktrash -%{tde_tdelibdir}/cursorthumbnail.la -%{tde_tdelibdir}/cursorthumbnail.so -%{tde_tdelibdir}/djvuthumbnail.la -%{tde_tdelibdir}/djvuthumbnail.so -%{tde_tdelibdir}/htmlthumbnail.la -%{tde_tdelibdir}/htmlthumbnail.so -%{tde_tdelibdir}/imagethumbnail.la -%{tde_tdelibdir}/imagethumbnail.so -%{tde_tdelibdir}/kcm_cgi.la -%{tde_tdelibdir}/kcm_cgi.so -%{tde_tdelibdir}/kcm_media.la -%{tde_tdelibdir}/kcm_media.so -%{tde_tdelibdir}/kded_homedirnotify.la -%{tde_tdelibdir}/kded_homedirnotify.so -%{tde_tdelibdir}/kded_mediamanager.la -%{tde_tdelibdir}/kded_mediamanager.so -%{tde_tdelibdir}/kded_medianotifier.la -%{tde_tdelibdir}/kded_medianotifier.so -%{tde_tdelibdir}/kded_remotedirnotify.la -%{tde_tdelibdir}/kded_remotedirnotify.so -%{tde_tdelibdir}/kded_systemdirnotify.la -%{tde_tdelibdir}/kded_systemdirnotify.so -%{tde_tdelibdir}/kfile_media.la -%{tde_tdelibdir}/kfile_media.so -%{tde_tdelibdir}/kfile_trash.la -%{tde_tdelibdir}/kfile_trash.so -%{tde_tdelibdir}/kio_about.la -%{tde_tdelibdir}/kio_about.so -%{tde_tdelibdir}/kio_cgi.la -%{tde_tdelibdir}/kio_cgi.so -%{tde_tdelibdir}/kio_filter.la -%{tde_tdelibdir}/kio_filter.so -%{tde_tdelibdir}/kio_finger.la -%{tde_tdelibdir}/kio_finger.so -%{tde_tdelibdir}/kio_fish.la -%{tde_tdelibdir}/kio_fish.so -%{tde_tdelibdir}/kio_floppy.la -%{tde_tdelibdir}/kio_floppy.so -%{tde_tdelibdir}/kio_home.la -%{tde_tdelibdir}/kio_home.so -%{tde_tdelibdir}/kio_info.la -%{tde_tdelibdir}/kio_info.so -%{tde_tdelibdir}/kio_mac.la -%{tde_tdelibdir}/kio_mac.so -%{tde_tdelibdir}/kio_man.la -%{tde_tdelibdir}/kio_man.so -%{tde_tdelibdir}/kio_media.la -%{tde_tdelibdir}/kio_media.so -%{tde_tdelibdir}/kio_nfs.la -%{tde_tdelibdir}/kio_nfs.so -%{tde_tdelibdir}/kio_remote.la -%{tde_tdelibdir}/kio_remote.so -%{tde_tdelibdir}/kio_settings.la -%{tde_tdelibdir}/kio_settings.so -%{tde_tdelibdir}/kio_sftp.la -%{tde_tdelibdir}/kio_sftp.so -%{tde_tdelibdir}/kio_system.la -%{tde_tdelibdir}/kio_system.so -%{tde_tdelibdir}/kio_tar.la -%{tde_tdelibdir}/kio_tar.so -%{tde_tdelibdir}/kio_thumbnail.la -%{tde_tdelibdir}/kio_thumbnail.so -%{tde_tdelibdir}/kio_trash.la -%{tde_tdelibdir}/kio_trash.so -%{tde_tdelibdir}/libkmanpart.la -%{tde_tdelibdir}/libkmanpart.so -%{tde_tdelibdir}/textthumbnail.la -%{tde_tdelibdir}/textthumbnail.so -%{tde_tdeappdir}/kcmcgi.desktop -%{tde_datadir}/apps/kio_finger/kio_finger.css -%{tde_datadir}/apps/kio_finger/kio_finger.pl -%{tde_datadir}/apps/kio_info/kde-info2html -%{tde_datadir}/apps/kio_info/kde-info2html.conf -%{tde_datadir}/apps/kio_man/kio_man.css -%{tde_datadir}/apps/systemview/*.desktop -%{tde_datadir}/config.kcfg/mediamanagersettings.kcfg -%{tde_datadir}/mimelnk/application/x-smb-server.desktop -%{tde_datadir}/mimelnk/inode/system_directory.desktop -%{tde_datadir}/mimelnk/media/*.desktop -%{tde_datadir}/services/about.protocol -%{tde_datadir}/services/applications.protocol -%{tde_datadir}/services/ar.protocol -%{tde_datadir}/services/bzip.protocol -%{tde_datadir}/services/bzip2.protocol -%{tde_datadir}/services/cgi.protocol -%{tde_datadir}/services/cursorthumbnail.desktop -%{tde_datadir}/services/djvuthumbnail.desktop -%{tde_datadir}/services/finger.protocol -%{tde_datadir}/services/fish.protocol -%{tde_datadir}/services/floppy.protocol -%{tde_datadir}/services/gzip.protocol -%{tde_datadir}/services/home.protocol -%{tde_datadir}/services/htmlthumbnail.desktop -%{tde_datadir}/services/imagethumbnail.desktop -%{tde_datadir}/services/info.protocol -%{tde_datadir}/services/kded/homedirnotify.desktop -%{tde_datadir}/services/kded/mediamanager.desktop -%{tde_datadir}/services/kded/medianotifier.desktop -%{tde_datadir}/services/kded/remotedirnotify.desktop -%{tde_datadir}/services/kded/systemdirnotify.desktop -%{tde_datadir}/services/kfile_media.desktop -%{tde_datadir}/services/kfile_trash_system.desktop -%{tde_datadir}/services/lzma.protocol -%{tde_datadir}/services/kmanpart.desktop -%{tde_datadir}/services/mac.protocol -%{tde_datadir}/services/man.protocol -%{tde_datadir}/services/media.protocol -%{tde_datadir}/services/nfs.protocol -%{tde_datadir}/services/nxfish.protocol -%{tde_datadir}/services/programs.protocol -%{tde_datadir}/services/remote.protocol -%{tde_datadir}/services/settings.protocol -%{tde_datadir}/services/sftp.protocol -%{tde_datadir}/services/system.protocol -%{tde_datadir}/services/tar.protocol -%{tde_datadir}/services/textthumbnail.desktop -%{tde_datadir}/services/thumbnail.protocol -%{tde_datadir}/services/trash.protocol -%{tde_datadir}/services/xz.protocol -%{tde_datadir}/services/zip.protocol -%{tde_datadir}/servicetypes/thumbcreator.desktop -%{tde_datadir}/services/kfile_trash.desktop -%{tde_tdedocdir}/HTML/en/kioslave/ -%if 0%{?with_exr} -%{tde_tdelibdir}/exrthumbnail.la -%{tde_tdelibdir}/exrthumbnail.so -%{tde_datadir}/services/exrthumbnail.desktop -%endif -%if 0%{?with_hal} -%{tde_tdelibdir}/media_propsdlgplugin.la -%{tde_tdelibdir}/media_propsdlgplugin.so -%{tde_datadir}/services/media_propsdlgplugin.desktop -%endif - -%post tdeio-plugins -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%postun tdeio-plugins -update-desktop-database %{tde_appdir} 2> /dev/null || : - - -########## - -%package -n trinity-kdepasswd -Summary: password changer for TDE -Group: Applications/Utilities - -%description -n trinity-kdepasswd -This is a simple application which allows users to change their -system passwords. - -%files -n trinity-kdepasswd -%defattr(-,root,root,-) -%{tde_bindir}/kdepasswd -%{tde_tdelibdir}/kcm_useraccount.la -%{tde_tdelibdir}/kcm_useraccount.so -%{tde_tdeappdir}/kcm_useraccount.desktop -%{tde_tdeappdir}/kdepasswd.desktop -%exclude %{tde_datadir}/apps/[kt]dm/pics/users/default1.png -%exclude %{tde_datadir}/apps/[kt]dm/pics/users/default2.png -%exclude %{tde_datadir}/apps/[kt]dm/pics/users/default3.png -%exclude %{tde_datadir}/apps/[kt]dm/pics/users/root1.png -%{tde_datadir}/apps/[kt]dm/pics/users/*.png -%{tde_datadir}/config.kcfg/kcm_useraccount.kcfg -%{tde_datadir}/config.kcfg/kcm_useraccount_pass.kcfg - -%post -n trinity-kdepasswd -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%postun -n trinity-kdepasswd -update-desktop-database %{tde_appdir} 2> /dev/null || : - -########## - -%package -n trinity-tdeprint -Summary: print system for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} -Requires: psutils - -%description -n trinity-tdeprint -This package contains the TDE printing subsystem. It can use CUPS, -lpd-ng or the traditional lpd. It also includes support for fax and -pdf printing. - -Installation of smbclient will make you able to use smb shared printers. - -%files -n trinity-tdeprint -%defattr(-,root,root,-) -%{tde_bindir}/[kt]deprintfax -%{tde_bindir}/kjobviewer -%{tde_bindir}/kprinter -%{tde_tdelibdir}/kcm_printmgr.la -%{tde_tdelibdir}/kcm_printmgr.so -%{tde_tdelibdir}/kio_print.la -%{tde_tdelibdir}/kio_print.so -%{tde_tdelibdir}/kjobviewer.la -%{tde_tdelibdir}/kjobviewer.so -%{tde_tdelibdir}/kprinter.la -%{tde_tdelibdir}/kprinter.so -%{tde_tdelibdir}/lib[kt]deprint_part.la -%{tde_tdelibdir}/lib[kt]deprint_part.so -%{tde_libdir}/lib[kt]deinit_kjobviewer.la -%{tde_libdir}/lib[kt]deinit_kjobviewer.so -%{tde_libdir}/lib[kt]deinit_kprinter.la -%{tde_libdir}/lib[kt]deinit_kprinter.so -%{tde_tdeappdir}/[kt]deprintfax.desktop -%{tde_tdeappdir}/[kt]jobviewer.desktop -%{tde_tdeappdir}/printers.desktop -%{tde_datadir}/apps/[kt]deprint/ -%{tde_datadir}/apps/[kt]deprintfax/ -%{tde_datadir}/apps/[kt]jobviewer/ -%{tde_datadir}/apps/[kt]deprint_part/kdeprint_part.rc -%{tde_datadir}/icons/hicolor/*/apps/kdeprintfax.png -%{tde_datadir}/icons/hicolor/*/apps/kjobviewer.png -%{tde_datadir}/icons/hicolor/*/apps/printmgr.png -%{tde_datadir}/icons/hicolor/scalable/apps/kdeprintfax.svgz -%{tde_datadir}/icons/hicolor/scalable/apps/kjobviewer.svgz -%{tde_datadir}/icons/hicolor/scalable/apps/printmgr.svgz -%{tde_datadir}/mimelnk/print/class.desktop -%{tde_datadir}/mimelnk/print/driver.desktop -%{tde_datadir}/mimelnk/print/folder.desktop -%{tde_datadir}/mimelnk/print/jobs.desktop -%{tde_datadir}/mimelnk/print/manager.desktop -%{tde_datadir}/mimelnk/print/printer.desktop -%{tde_datadir}/mimelnk/print/printermodel.desktop -%{tde_datadir}/services/kdeprint_part.desktop -%{tde_datadir}/services/print.protocol -%{tde_datadir}/services/printdb.protocol -%{tde_tdedocdir}/HTML/en/[kt]deprint/ - -%post -n trinity-tdeprint -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -%postun -n trinity-tdeprint -/sbin/ldconfig || : -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -########## - -%package -n trinity-kdesktop -Summary: miscellaneous binaries and files for the TDE desktop -Group: Applications/Utilities -Requires: %{name}-bin = %{version}-%{release} -Requires: %{name}-data = %{version}-%{release} -Requires: trinity-libkonq = %{version}-%{release} -Requires: eject -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -Requires: xdg-utils -%endif - -%description -n trinity-kdesktop -This package contains miscellaneous binaries and files integral to -the TDE desktop. - -%files -n trinity-kdesktop -%defattr(-,root,root,-) -%{_sysconfdir}/trinity/kdesktop_custom_menu1 -%{_sysconfdir}/trinity/kdesktop_custom_menu2 -%{tde_bindir}/kcheckrunning -%{tde_bindir}/kxdglauncher -%{tde_bindir}/kdeeject -%{tde_bindir}/kdesktop -%{tde_bindir}/kdesktop_lock -%{tde_bindir}/kwebdesktop -%{tde_tdelibdir}/kdesktop.la -%{tde_tdelibdir}/kdesktop.so -%{tde_libdir}/lib[kt]deinit_kdesktop.la -%{tde_libdir}/lib[kt]deinit_kdesktop.so -%{tde_datadir}/apps/kdesktop/ -%{tde_datadir}/apps/konqueror/servicemenus/kdesktopSetAsBackground.desktop -%{tde_datadir}/autostart/kdesktop.desktop -%{tde_datadir}/config.kcfg/kdesktop.kcfg -%{tde_datadir}/config.kcfg/klaunch.kcfg -%{tde_datadir}/config.kcfg/kwebdesktop.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/error.png - -%post -n trinity-kdesktop -/sbin/ldconfig || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -%postun -n trinity-kdesktop -/sbin/ldconfig || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -########## - -%package -n trinity-kdesktop-devel -Summary: Development files for kdesktop -Group: Development/Libraries -Requires: trinity-kdesktop = %{version}-%{release} - -%description -n trinity-kdesktop-devel -%{summary} - -%files -n trinity-kdesktop-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/KBackgroundIface.h -%{tde_tdeincludedir}/KDesktopIface.h -%{tde_tdeincludedir}/KScreensaverIface.h - -########## - -%package -n trinity-tdm -Summary: X Display manager for TDE -Group: Applications/Utilities -Requires: %{name}-bin = %{version}-%{release} -Requires: %{name}-data = %{version}-%{release} -Requires: pam - -# Provides the global Xsession script (/etc/X11/xinit/Xsession or /etc/X11/Xsession) -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} == 4 -Requires: xinitrc -%endif -%if 0%{?suse_version} == 1140 -Requires: xorg-x11 -%endif -%if 0%{?suse_version} >= 1220 -Requires: xdm -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} -Requires: xorg-x11-xinit -%endif - -# Required for Fedora LiveCD -%if 0%{?rhel} || 0%{?fedora} -Provides: service(graphical-login) -%endif -# Required for Mandriva's installer -%if 0%{?mgaversion} || 0%{?mdkversion} -Provides: dm -%endif - -%description -n trinity-tdm -tdm manages a collection of X servers, which may be on the local host or -remote machines. It provides services similar to those provided by init, -getty, and login on character-based terminals: prompting for login name and -password, authenticating the user, and running a session. tdm supports XDMCP -(X Display Manager Control Protocol) and can also be used to run a chooser -process which presents the user with a menu of possible hosts that offer -XDMCP display management. - -A collection of icons to associate with individual users is included with -TDE, but as part of the kdepasswd package. - -The menu package will help to provide TDM with a list of window managers -that can be launched, if the window manager does not register with TDM -already. Most users won't need this. - -%files -n trinity-tdm -%defattr(-,root,root,-) -%{tde_tdelibdir}/kgreet_pam.la -%{tde_tdelibdir}/kgreet_pam.so -%{tde_bindir}/gen[kt]dmconf -%{tde_bindir}/[kt]dm -%{tde_bindir}/[kt]dm_config -%{tde_bindir}/[kt]dmctl -%{tde_bindir}/[kt]dm_greet -%{tde_bindir}/krootimage -%{tde_datadir}/apps/[kt]dm/pics/kdelogo.png -%{tde_datadir}/apps/[kt]dm/pics/kdelogo-crystal.png -%{tde_datadir}/apps/[kt]dm/pics/shutdown.jpg -%{tde_datadir}/apps/[kt]dm/pics/users/default1.png -%{tde_datadir}/apps/[kt]dm/pics/users/default2.png -%{tde_datadir}/apps/[kt]dm/pics/users/default3.png -%{tde_datadir}/apps/[kt]dm/pics/users/root1.png -%{tde_datadir}/apps/[kt]dm/sessions/*.desktop -%{tde_datadir}/apps/[kt]dm/themes/ -%{tde_datadir}/config/kdm -%{_sysconfdir}/trinity/[kt]dm/ -%{tde_tdedocdir}/HTML/en/[kt]dm/ -%if 0%{?suse_version} == 0 -%{_sysconfdir}/pam.d/kdm-trinity -%{_sysconfdir}/pam.d/kdm-trinity-np -%endif -%if 0%{?suse_version} -/usr/lib/X11/displaymanagers/tdm -%endif -%if 0%{?fedora} >= 18 -/usr/lib/systemd/system/tdm.service -%endif - -# Distribution specific stuff -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%{_datadir}/xsessions/tde.desktop -%endif - -# https://wiki.mageia.org/en/How_to_add_a_new_Window_Manager_or_Display_Manager -%if 0%{?mgaversion} || 0%{?mdkversion} -%{_sysconfdir}/X11/wmsession.d/45TDE -%{_datadir}/X11/dm.d/45TDE.conf -%endif - -# SELINUX policy -%if 0%{?with_selinux_policy} -%{?_sysconfdir}/trinity/kdm/tdm.pp -%endif - -%pre -n trinity-tdm -# Make sure that TDM configuration files are now under '/etc/trinity/kdm' -if [ -d "%{tde_datadir}/config/kdm" ] && [ ! -L "%{tde_datadir}/config/kdm" ]; then - if [ -d "%{_sysconfdir}/trinity/kdm" ]; then - # If there is already something under '/etc/trinity/kdm', simply delete old configuration - echo "Deleting TDM configuration under '%{tde_datadir}/config/kdm'" - %__rm -rf "%{tde_datadir}/config/kdm" - else - # Else, move '/opt/trinity/share/config/kdm' to '/etc/trinity/kdm' - if [ ! -d "%{_sysconfdir}/trinity" ]; then - %__mkdir_p "%{_sysconfdir}/trinity" - fi - echo "Migrating TDM configuration from '%{tde_datadir}/config/kdm' to '%{_sysconfdir}/trinity/kdm'" - %__mv -f "%{tde_datadir}/config/kdm" "%{_sysconfdir}/trinity/kdm.migr" - fi -fi - -%post -n trinity-tdm -%if 0%{?mgaversion} || 0%{?mdkversion} -%make_session -%endif -%if 0%{?with_selinux_policy} -/usr/sbin/semodule -i "%{?_sysconfdir}/trinity/kdm/tdm.pp" -%endif -# Default user icon in TDM -if [ ! -r "%{tde_datadir}/apps/kdm/faces/.default.face.icon" ]; then - [ -d "%{tde_datadir}/apps/kdm/faces" ] || mkdir -p "%{tde_datadir}/apps/kdm/faces" - %__cp -f "%{tde_datadir}/apps/kdm/pics/users/default2.png" "%{tde_datadir}/apps/kdm/faces/.default.face.icon" -fi - -%posttrans -n trinity-tdm -# Make sure that TDM configuration files are now under '/etc/trinity/kdm' -if [ -d "%{_sysconfdir}/trinity/kdm.migr" ] && [ -d "%{_sysconfdir}/trinity/kdm" ]; then - %__mv -f "%{_sysconfdir}/trinity/kdm.migr/"* "%{_sysconfdir}/trinity/kdm/" - rmdir "%{_sysconfdir}/trinity/kdm.migr/" -fi - -%postun -n trinity-tdm -%if 0%{?mgaversion} || 0%{?mdkversion} -%make_session -%endif - -########## - -%package -n trinity-tdm-devel -Summary: Development files for tdm -Group: Development/Libraries -Requires: trinity-tdm = %{version}-%{release} - -%description -n trinity-tdm-devel -%{summary} - -%files -n trinity-tdm-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kgreeterplugin.h - -########## - -%package -n trinity-kfind -Summary: file-find utility for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-kfind -kfind can be used to find files and directories on your -workstations. - -%files -n trinity-kfind -%defattr(-,root,root,-) -%{tde_bindir}/kfind -%{tde_tdelibdir}/libkfindpart.la -%{tde_tdelibdir}/libkfindpart.so -%{tde_tdeappdir}/Kfind.desktop -%{tde_datadir}/apps/kfindpart/ -%{tde_datadir}/icons/hicolor/*/apps/kfind.png -%{tde_datadir}/services/kfindpart.desktop -%{tde_datadir}/servicetypes/findpart.desktop -%{tde_tdedocdir}/HTML/en/kfind/ - -%post -n trinity-kfind -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -%postun -n trinity-kfind -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -########## - -%package -n trinity-khelpcenter -Summary: help center for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} -Requires: htdig - -%description -n trinity-khelpcenter -The TDE Help Center provides documentation on how to use the KDE desktop. - -The htdig package is needed to build a searchable archive of TDE -documentation. - -%files -n trinity-khelpcenter -%defattr(-,root,root,-) -#%{tde_bindir}/khc_beagle_index.pl -#%{tde_bindir}/khc_beagle_search.pl -%{tde_bindir}/khc_docbookdig.pl -%{tde_bindir}/khc_htdig.pl -%{tde_bindir}/khc_htsearch.pl -%{tde_bindir}/khc_indexbuilder -%{tde_bindir}/khc_mansearch.pl -%{tde_bindir}/khelpcenter -%{tde_tdelibdir}/khelpcenter.la -%{tde_tdelibdir}/khelpcenter.so -%{tde_libdir}/lib[kt]deinit_khelpcenter.la -%{tde_libdir}/lib[kt]deinit_khelpcenter.so -%{tde_tdeappdir}/Help.desktop -%{tde_datadir}/apps/khelpcenter/ -%{tde_datadir}/config.kcfg/khelpcenter.kcfg -%{tde_datadir}/icons/hicolor/*/apps/khelpcenter.* -%{tde_datadir}/services/khelpcenter.desktop -%{tde_tdedocdir}/HTML/en/khelpcenter/ - -%post -n trinity-khelpcenter -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -%postun -n trinity-khelpcenter -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -########## - -%package -n trinity-kicker -Summary: desktop panel for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-kicker -Kicker provides the TDE panel on you desktop. It can be used as a -program launcher and can load plugins to provide additional -functionality. - -%files -n trinity-kicker -%defattr(-,root,root,-) -%{tde_bindir}/appletproxy -%{tde_bindir}/extensionproxy -%{tde_bindir}/kasbar -%{tde_bindir}/kicker -%{tde_libdir}/kconf_update_bin/kicker-3.4-reverseLayout -%{tde_tdelibdir}/appletproxy.la -%{tde_tdelibdir}/appletproxy.so -%{tde_tdelibdir}/clock_panelapplet.la -%{tde_tdelibdir}/clock_panelapplet.so -%{tde_tdelibdir}/dockbar_panelextension.la -%{tde_tdelibdir}/dockbar_panelextension.so -%{tde_tdelibdir}/extensionproxy.la -%{tde_tdelibdir}/extensionproxy.so -%{tde_tdelibdir}/kasbar_panelextension.la -%{tde_tdelibdir}/kasbar_panelextension.so -%{tde_tdelibdir}/kicker.la -%{tde_tdelibdir}/kickermenu_find.la -%{tde_tdelibdir}/kickermenu_find.so -%{tde_tdelibdir}/kickermenu_kate.so -%{tde_tdelibdir}/kickermenu_kate.la -%{tde_tdelibdir}/kickermenu_[kt]deprint.la -%{tde_tdelibdir}/kickermenu_[kt]deprint.so -%{tde_tdelibdir}/kickermenu_konqueror.la -%{tde_tdelibdir}/kickermenu_konqueror.so -%{tde_tdelibdir}/kickermenu_konsole.la -%{tde_tdelibdir}/kickermenu_konsole.so -%{tde_tdelibdir}/kickermenu_prefmenu.la -%{tde_tdelibdir}/kickermenu_prefmenu.so -%{tde_tdelibdir}/kickermenu_recentdocs.la -%{tde_tdelibdir}/kickermenu_recentdocs.so -%{tde_tdelibdir}/kickermenu_remotemenu.la -%{tde_tdelibdir}/kickermenu_remotemenu.so -%{tde_tdelibdir}/kickermenu_systemmenu.la -%{tde_tdelibdir}/kickermenu_systemmenu.so -%{tde_tdelibdir}/kicker.so -%{tde_tdelibdir}/launcher_panelapplet.la -%{tde_tdelibdir}/launcher_panelapplet.so -%{tde_tdelibdir}/lockout_panelapplet.la -%{tde_tdelibdir}/lockout_panelapplet.so -%{tde_tdelibdir}/media_panelapplet.la -%{tde_tdelibdir}/media_panelapplet.so -%{tde_tdelibdir}/menu_panelapplet.la -%{tde_tdelibdir}/menu_panelapplet.so -%{tde_tdelibdir}/minipager_panelapplet.la -%{tde_tdelibdir}/minipager_panelapplet.so -%{tde_tdelibdir}/naughty_panelapplet.la -%{tde_tdelibdir}/naughty_panelapplet.so -%{tde_tdelibdir}/run_panelapplet.la -%{tde_tdelibdir}/run_panelapplet.so -%{tde_tdelibdir}/sidebar_panelextension.la -%{tde_tdelibdir}/sidebar_panelextension.so -%{tde_tdelibdir}/systemtray_panelapplet.la -%{tde_tdelibdir}/systemtray_panelapplet.so -%{tde_tdelibdir}/taskbar_panelapplet.la -%{tde_tdelibdir}/taskbar_panelapplet.so -%{tde_tdelibdir}/taskbar_panelextension.la -%{tde_tdelibdir}/taskbar_panelextension.so -%{tde_tdelibdir}/trash_panelapplet.la -%{tde_tdelibdir}/trash_panelapplet.so -%{tde_libdir}/libkasbar.so.* -%{tde_libdir}/lib[kt]deinit_appletproxy.la -%{tde_libdir}/lib[kt]deinit_appletproxy.so -%{tde_libdir}/lib[kt]deinit_extensionproxy.la -%{tde_libdir}/lib[kt]deinit_extensionproxy.so -%{tde_libdir}/lib[kt]deinit_kicker.la -%{tde_libdir}/lib[kt]deinit_kicker.so -%{tde_libdir}/libkickermain.so.* -%{tde_libdir}/libtaskbar.so.* -%{tde_libdir}/libtaskmanager.so.* -%{tde_libdir}/libkickoffsearch_interfaces.so.* -%{tde_tdeappdir}/kcmkicker.desktop -%{tde_datadir}/applnk/.hidden/kicker_config_arrangement.desktop -%{tde_datadir}/applnk/.hidden/kicker_config_hiding.desktop -%{tde_datadir}/applnk/.hidden/kicker_config_menus.desktop -%{tde_datadir}/apps/clockapplet/pics/lcd.png -%{tde_datadir}/apps/kconf_update/kicker-3.1-properSizeSetting.pl -%{tde_datadir}/apps/kconf_update/kicker-3.5-kconfigXTize.pl -%{tde_datadir}/apps/kconf_update/kicker-3.5-taskbarEnums.pl -%{tde_datadir}/apps/kconf_update/kickerrc.upd -%{tde_datadir}/apps/kicker/ -%exclude %{tde_datadir}/apps/kicker/applets/klipper.desktop -%exclude %{tde_datadir}/apps/kicker/applets/ksysguardapplet.desktop -%{tde_datadir}/apps/naughtyapplet/pics/naughty-happy.png -%{tde_datadir}/apps/naughtyapplet/pics/naughty-sad.png -%{tde_datadir}/autostart/panel.desktop -%{tde_datadir}/config.kcfg/kickerSettings.kcfg -%{tde_datadir}/config.kcfg/launcherapplet.kcfg -%{tde_datadir}/config.kcfg/pagersettings.kcfg -%{tde_datadir}/config.kcfg/taskbar.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/systemtray.png -%{tde_datadir}/icons/crystalsvg/*/apps/taskbar.png -%{tde_datadir}/icons/crystalsvg/*/apps/kbinaryclock.png -%{tde_datadir}/icons/crystalsvg/*/apps/kdisknav.png -%{tde_datadir}/icons/crystalsvg/*/apps/kicker.png -%{tde_datadir}/icons/crystalsvg/*/apps/panel.png -%{tde_datadir}/icons/crystalsvg/*/apps/runprocesscatcher.png -%{tde_datadir}/icons/crystalsvg/*/apps/window_list.png -%{tde_datadir}/icons/crystalsvg/*/apps/kbinaryclock.svgz -%{tde_datadir}/icons/crystalsvg/*/apps/systemtray.svgz -%{tde_datadir}/servicetypes/kickoffsearchplugin.desktop -%{tde_tdedocdir}/HTML/en/kicker/ -%if 0%{?mgaversion} >= 3 -%{tde_datadir}/oxygen/scalable/mgabutton.svg -%endif - -%post -n trinity-kicker -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -%postun -n trinity-kicker -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -########## - -%package -n trinity-kicker-devel -Summary: Development files for kicker -Group: Development/Libraries -Requires: trinity-kicker = %{version}-%{release} - -%description -n trinity-kicker-devel -%{summary} - -%files -n trinity-kicker-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kickoff-search-plugin.h -%{tde_tdeincludedir}/kickoffsearchinterface.h -%{tde_libdir}/libkasbar.la -%{tde_libdir}/libkasbar.so -%{tde_libdir}/libkickermain.la -%{tde_libdir}/libkickermain.so -%{tde_libdir}/libkickoffsearch_interfaces.la -%{tde_libdir}/libkickoffsearch_interfaces.so -%{tde_libdir}/libtaskbar.la -%{tde_libdir}/libtaskbar.so -%{tde_libdir}/libtaskmanager.la -%{tde_libdir}/libtaskmanager.so - -%post -n trinity-kicker-devel -/sbin/ldconfig || : - -%postun -n trinity-kicker-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-klipper -Summary: clipboard utility for Trinity -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-klipper -klipper provides standard clipboard functions (cut and paste, history -saving) plus additional features, like the ability to offer actions to -take dependent on the clipboard contents. For example, it can launch a -web browser if the clipboard contains a URL. - -%files -n trinity-klipper -%defattr(-,root,root,-) -%{tde_bindir}/klipper -%{_sysconfdir}/trinity/klipperrc -%{tde_tdelibdir}/klipper.la -%{tde_tdelibdir}/klipper.so -%{tde_tdelibdir}/klipper_panelapplet.la -%{tde_tdelibdir}/klipper_panelapplet.so -%{tde_libdir}/lib[kt]deinit_klipper.la -%{tde_libdir}/lib[kt]deinit_klipper.so -%{tde_tdeappdir}/klipper.desktop -%{tde_datadir}/apps/kconf_update/klipper-1-2.pl -%{tde_datadir}/apps/kconf_update/klipper-trinity1.sh -%{tde_datadir}/apps/kconf_update/klipperrc.upd -%{tde_datadir}/apps/kconf_update/klippershortcuts.upd -%{tde_datadir}/apps/kicker/applets/klipper.desktop -%{tde_datadir}/autostart/klipper.desktop -%{tde_datadir}/icons/hicolor/*/apps/klipper.* -%{tde_tdedocdir}/HTML/en/klipper/ - -%post -n trinity-klipper -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -%postun -n trinity-klipper -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -########## - -%package -n trinity-kmenuedit -Summary: menu editor for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-kmenuedit -The TDE menu editor allows you to make customisations to the KDE menu -structure. - -%files -n trinity-kmenuedit -%defattr(-,root,root,-) -%{tde_bindir}/kcontroledit -%{tde_bindir}/kmenuedit -%{tde_tdelibdir}/kcontroledit.la -%{tde_tdelibdir}/kcontroledit.so -%{tde_tdelibdir}/kmenuedit.la -%{tde_tdelibdir}/kmenuedit.so -%{tde_libdir}/lib[kt]deinit_kcontroledit.la -%{tde_libdir}/lib[kt]deinit_kcontroledit.so -%{tde_libdir}/lib[kt]deinit_kmenuedit.la -%{tde_libdir}/lib[kt]deinit_kmenuedit.so -%{tde_tdeappdir}/kmenuedit.desktop -%{tde_datadir}/applnk/System/kmenuedit.desktop -%{tde_datadir}/apps/kcontroledit/ -%{tde_datadir}/apps/kmenuedit/ -%{tde_tdedocdir}/HTML/en/kmenuedit/ - -%post -n trinity-kmenuedit -update-desktop-database %{tde_appdir} 2> /dev/null || : -/sbin/ldconfig || : - -%postun -n trinity-kmenuedit -update-desktop-database %{tde_appdir} 2> /dev/null || : -/sbin/ldconfig || : - -########## - -%package -n trinity-konqueror -Summary: TDE's advanced file manager, web browser and document viewer -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} -Requires: trinity-kcontrol = %{version}-%{release} -Requires: %{name}-tdeio-plugins = %{version}-%{release} -Requires: trinity-kdesktop = %{version}-%{release} -Requires: trinity-kfind = %{version}-%{release} -Requires: trinity-libkonq = %{version}-%{release} - -%description -n trinity-konqueror -Konqueror is the file manager for the Trinity Desktop Environment. -It supports basic file management on local UNIX filesystems, -from simple cut/copy and paste operations to advanced remote -and local network file browsing. - -It is also the canvas for all the latest TDE technology, -from KIO slaves (which provide mechanisms for file access) to -component embedding via the KParts object interface, and it -is one of the most customizable applications available. - -Konqueror is an Open Source web browser with HTML4.0 compliance, -supporting Java applets, JavaScript, CSS1 and (partially) CSS2, -as well as Netscape plugins (for example, Flash or RealVideo plugins). - -It is a universal viewing application, capable of embedding -read-only viewing components in itself to view documents without -ever launching another application. - -%files -n trinity-konqueror -%defattr(-,root,root,-) -%{_sysconfdir}/trinity/konqsidebartng.rc -%{tde_bindir}/kbookmarkmerger -%{tde_bindir}/keditbookmarks -%{tde_bindir}/kfmclient -%{tde_bindir}/konqueror -%{tde_tdelibdir}/kcm_history.la -%{tde_tdelibdir}/kcm_history.so -%{tde_tdelibdir}/kded_konqy_preloader.la -%{tde_tdelibdir}/kded_konqy_preloader.so -%{tde_tdelibdir}/keditbookmarks.la -%{tde_tdelibdir}/keditbookmarks.so -%{tde_tdelibdir}/kfmclient.la -%{tde_tdelibdir}/kfmclient.so -%{tde_tdelibdir}/konq_aboutpage.la -%{tde_tdelibdir}/konq_aboutpage.so -%{tde_tdelibdir}/konq_iconview.la -%{tde_tdelibdir}/konq_iconview.so -%{tde_tdelibdir}/konq_listview.la -%{tde_tdelibdir}/konq_listview.so -%{tde_tdelibdir}/konq_remoteencoding.la -%{tde_tdelibdir}/konq_remoteencoding.so -%{tde_tdelibdir}/konq_shellcmdplugin.la -%{tde_tdelibdir}/konq_shellcmdplugin.so -%{tde_tdelibdir}/konq_sidebar.la -%{tde_tdelibdir}/konq_sidebar.so -%{tde_tdelibdir}/konq_sidebartree_bookmarks.la -%{tde_tdelibdir}/konq_sidebartree_bookmarks.so -%{tde_tdelibdir}/konq_sidebartree_dirtree.la -%{tde_tdelibdir}/konq_sidebartree_dirtree.so -%{tde_tdelibdir}/konq_sidebartree_history.la -%{tde_tdelibdir}/konq_sidebartree_history.so -%{tde_tdelibdir}/konqsidebar_tree.la -%{tde_tdelibdir}/konqsidebar_tree.so -%{tde_tdelibdir}/konqsidebar_web.la -%{tde_tdelibdir}/konqsidebar_web.so -%{tde_tdelibdir}/konqueror.la -%{tde_tdelibdir}/konqueror.so -%{tde_tdelibdir}/libkhtmlkttsdplugin.la -%{tde_tdelibdir}/libkhtmlkttsdplugin.so -%{tde_libdir}/lib[kt]deinit_keditbookmarks.la -%{tde_libdir}/lib[kt]deinit_keditbookmarks.so -%{tde_libdir}/lib[kt]deinit_kfmclient.la -%{tde_libdir}/lib[kt]deinit_kfmclient.so -%{tde_libdir}/lib[kt]deinit_konqueror.la -%{tde_libdir}/lib[kt]deinit_konqueror.so -%{tde_libdir}/libkonqsidebarplugin.so.* -%{tde_tdeappdir}/Home.desktop -%{tde_tdeappdir}/kcmhistory.desktop -%{tde_tdeappdir}/kfmclient.desktop -%{tde_tdeappdir}/kfmclient_dir.desktop -%{tde_tdeappdir}/kfmclient_html.desktop -%{tde_tdeappdir}/kfmclient_war.desktop -%{tde_tdeappdir}/khtml_filter.desktop -%{tde_tdeappdir}/konqbrowser.desktop -%{tde_tdeappdir}/konquerorsu.desktop -%{tde_datadir}/applnk/.hidden/konqfilemgr.desktop -%{tde_datadir}/applnk/Internet/keditbookmarks.desktop -%{tde_datadir}/applnk/konqueror.desktop -%{tde_datadir}/apps/kconf_update/kfmclient_3_2.upd -%{tde_datadir}/apps/kconf_update/kfmclient_3_2_update.sh -%{tde_datadir}/apps/kconf_update/konqsidebartng.upd -%{tde_datadir}/apps/kconf_update/move_konqsidebartng_entries.sh -%{tde_datadir}/apps/keditbookmarks/keditbookmarks-genui.rc -%{tde_datadir}/apps/keditbookmarks/keditbookmarksui.rc -%{tde_datadir}/apps/khtml/kpartplugins/khtmlkttsd.desktop -%{tde_datadir}/apps/khtml/kpartplugins/khtmlkttsd.rc -%{tde_datadir}/apps/konqiconview/ -%{tde_datadir}/apps/konqlistview/ -%exclude %{tde_datadir}/apps/konqsidebartng/virtual_folders/services/fonts.desktop -%{tde_datadir}/apps/konqsidebartng/ -%{tde_datadir}/apps/konqueror/about/ -%{tde_datadir}/apps/konqueror/icons/ -%{tde_datadir}/apps/konqueror/konq-simplebrowser.rc -%{tde_datadir}/apps/konqueror/konqueror.rc -%{tde_datadir}/apps/konqueror/pics/indicator_connect.png -%{tde_datadir}/apps/konqueror/pics/indicator_empty.png -%{tde_datadir}/apps/konqueror/pics/indicator_noconnect.png -%{tde_datadir}/apps/konqueror/pics/indicator_viewactive.png -%{tde_datadir}/apps/konqueror/profiles/ -%exclude %{tde_datadir}/apps/konqueror/servicemenus/kdesktopSetAsBackground.desktop -%exclude %{tde_datadir}/apps/konqueror/servicemenus/konsolehere.desktop -%exclude %{tde_datadir}/apps/konqueror/servicemenus/installfont.desktop -%{tde_datadir}/apps/konqueror/servicemenus/*.desktop -%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase -%{_sysconfdir}/alternatives/media_safelyremove.desktop_tdebase -%{tde_datadir}/apps/konqueror/tiles/*.png -%{tde_datadir}/autostart/konqy_preload.desktop -%{tde_datadir}/config.kcfg/keditbookmarks.kcfg -%{tde_datadir}/config.kcfg/konq_listview.kcfg -%{tde_datadir}/config.kcfg/konqueror.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/keditbookmarks.png -%{tde_datadir}/icons/crystalsvg/*/apps/kfm_home.svgz -%{tde_datadir}/icons/hicolor/*/apps/kfm.png -%{tde_datadir}/icons/hicolor/*/apps/konqueror.* -%{tde_datadir}/services/kded/konqy_preloader.desktop -%{tde_datadir}/services/konq_*.desktop -%{tde_datadir}/servicetypes/konqaboutpage.desktop -%{tde_tdedocdir}/HTML/en/konqueror/ - -%post -n trinity-konqueror -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : -update-alternatives --install \ - %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop \ - media_safelyremove.desktop_konqueror \ - %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase \ - 10 || : - -%postun -n trinity-konqueror -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -%preun -n trinity-konqueror -if [ $1 -eq 0 ]; then - update-alternatives --remove \ - media_safelyremove.desktop_konqueror \ - %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase || : -fi - -########## - -%package -n trinity-konqueror-devel -Summary: Development files for konqueror -Group: Development/Libraries -Requires: trinity-konqueror = %{version}-%{release} - -%description -n trinity-konqueror-devel -%{summary} - -%files -n trinity-konqueror-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/konqsidebarplugin.h -%{tde_tdeincludedir}/KonquerorIface.h -%{tde_libdir}/libkonqsidebarplugin.la -%{tde_libdir}/libkonqsidebarplugin.so - -%post -n trinity-konqueror-devel -/sbin/ldconfig || : - -%postun -n trinity-konqueror-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-konqueror-nsplugins -Summary: Netscape plugin support for Konqueror -Group: Applications/Utilities -Requires: trinity-konqueror = %{version}-%{release} - -%description -n trinity-konqueror-nsplugins -This package includes support for Netscape plugins in Konqueror. - -%files -n trinity-konqueror-nsplugins -%defattr(-,root,root,-) -%{tde_bindir}/nspluginscan -%{tde_bindir}/nspluginviewer -%{tde_tdelibdir}/kcm_nsplugins.la -%{tde_tdelibdir}/kcm_nsplugins.so -%{tde_tdelibdir}/libnsplugin.la -%{tde_tdelibdir}/libnsplugin.so -%{tde_tdeappdir}/khtml_plugins.desktop -%{tde_datadir}/apps/plugin/nspluginpart.rc - -%post -n trinity-konqueror-nsplugins -update-desktop-database %{tde_appdir} 2> /dev/null || : - -%postun -n trinity-konqueror-nsplugins -update-desktop-database %{tde_appdir} 2> /dev/null || : - -########## - -%package -n trinity-konsole -Summary: X terminal emulator for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-konsole -Konsole is an X terminal emulation which provides a command-line interface -(CLI) while using the graphical K Desktop Environment. Konsole helps to -better organize user's desktop by containing multiple sessions in a single -window (a less cluttered desktop). - -Its advanced features include a simple configuration and the ability to use -multiple terminal shells in a single window - -Using Konsole, a user can open: -* Linux console sessions -* Midnight Commander file manager sessions -* Shell sessions -* Root consoles sessions - -%files -n trinity-konsole -%defattr(-,root,root,-) -%{tde_bindir}/konsole -%{tde_tdelibdir}/kcm_konsole.la -%{tde_tdelibdir}/kcm_konsole.so -%{tde_tdelibdir}/kded_kwrited.la -%{tde_tdelibdir}/kded_kwrited.so -%{tde_tdelibdir}/konsole.la -%{tde_tdelibdir}/konsole.so -%{tde_tdelibdir}/libkonsolepart.la -%{tde_tdelibdir}/libkonsolepart.so -%{tde_libdir}/lib[kt]deinit_konsole.la -%{tde_libdir}/lib[kt]deinit_konsole.so -%{tde_tdeappdir}/konsole.desktop -%{tde_tdeappdir}/konsolesu.desktop -%{tde_datadir}/applnk/.hidden/kcmkonsole.desktop -%{tde_datadir}/apps/kconf_update/konsole.upd -%{tde_datadir}/apps/kconf_update/schemaStrip.pl -%{tde_datadir}/apps/konqueror/servicemenus/konsolehere.desktop -%{tde_datadir}/apps/konsole/ -%{tde_datadir}/icons/hicolor/*/apps/konsole.* -%{tde_datadir}/mimelnk/application/x-konsole.desktop -%{tde_datadir}/services/kded/kwrited.desktop -%{tde_datadir}/services/konsolepart.desktop -%{tde_datadir}/services/konsole-script.desktop -%{tde_datadir}/services/kwrited.desktop -%{tde_datadir}/servicetypes/terminalemulator.desktop -%{tde_tdedocdir}/HTML/en/konsole/ -%{tde_tdedocdir}/HTML/en/kcontrol/kcmkonsole/ - -%post -n trinity-konsole -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -%postun -n trinity-konsole -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -########## - -%package -n trinity-kpager -Summary: desktop pager for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-kpager -This package contains TDE's desktop pager, which displays your virtual -desktops iconically in a window, along with icons of any running -applications. It is used to switch between applications or desktops. - -%files -n trinity-kpager -%defattr(-,root,root,-) -%{tde_bindir}/kpager -%{tde_tdeappdir}/kpager.desktop -%{tde_datadir}/applnk/Utilities/kpager.desktop -%{tde_datadir}/icons/hicolor/*/apps/kpager.png -%{tde_tdedocdir}/HTML/en/kpager/ - -%post -n trinity-kpager -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -%postun -n trinity-kpager -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -########## - -%package -n trinity-kpersonalizer -Summary: installation personalizer for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-kpersonalizer -TDE Personalizer is the application that configures the TDE desktop for you. -It's a very useful wizard that allows you to quickly change the TDE desktop to -suit your own needs. When you run TDE for the first time, KPersonalizer is -automatically started. KPersonalizer can also be called later. - -%files -n trinity-kpersonalizer -%defattr(-,root,root,-) -%{tde_bindir}/kpersonalizer -%{tde_tdeappdir}/kpersonalizer.desktop -%{tde_datadir}/applnk/System/kpersonalizer.desktop -%{tde_datadir}/apps/kpersonalizer/ -%{tde_datadir}/icons/crystalsvg/*/apps/kpersonalizer.png - -%post -n trinity-kpersonalizer -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -%postun -n trinity-kpersonalizer -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -########## - -%package -n trinity-ksmserver -Summary: session manager for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} -Requires: trinity-twin = %{version}-%{release} - -%description -n trinity-ksmserver -This package contains the KDE session manager. It is responsible for -restoring your TDE session on login. It is also needed to properly -start a KDE session. It registers KDE with X display managers, and -provides the 'starttde' command, for starting an X session with KDE -from the console. - -If you are running TDE for the first time for a certain user, -kpersonalizer is used to help with setup. If it is not present, -KDE will start, but many good defaults will not be set. - -%files -n trinity-ksmserver -%defattr(-,root,root,-) -%{tde_bindir}/ksmserver -%{tde_bindir}/startkde -%{tde_bindir}/migratekde3 -%{tde_tdelibdir}/ksmserver.la -%{tde_tdelibdir}/ksmserver.so -%{tde_libdir}/lib[kt]deinit_ksmserver.la -%{tde_libdir}/lib[kt]deinit_ksmserver.so -%{tde_datadir}/apps/kconf_update/ksmserver.upd -%{tde_datadir}/apps/kconf_update/move_session_config.sh -%{tde_datadir}/apps/ksmserver/pics/shutdownkonq.png - -# Remove conflicts with redhat-menus -%if "%{?tde_prefix}" != "/usr" -%{tde_bindir}/plasma-desktop -%endif - -%post -n trinity-ksmserver -/sbin/ldconfig || : - -%postun -n trinity-ksmserver -/sbin/ldconfig || : - -########## - -%package -n trinity-ksplash -Summary: the TDE splash screen -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-ksplash -This package includes the TDE Splash screen, which is seen when -a TDE session is launched. - -%files -n trinity-ksplash -%defattr(-,root,root,-) -%{tde_bindir}/ksplash -%{tde_bindir}/ksplashsimple -%{tde_tdelibdir}/kcm_ksplashthemes.la -%{tde_tdelibdir}/kcm_ksplashthemes.so -%{tde_tdelibdir}/ksplashdefault.la -%{tde_tdelibdir}/ksplashdefault.so -%{tde_tdelibdir}/ksplashunified.la -%{tde_tdelibdir}/ksplashunified.so -%{tde_tdelibdir}/ksplashredmond.la -%{tde_tdelibdir}/ksplashredmond.so -%{tde_tdelibdir}/ksplashstandard.la -%{tde_tdelibdir}/ksplashstandard.so -%{tde_libdir}/libksplashthemes.so.* -%{tde_tdeappdir}/ksplashthememgr.desktop -%{tde_datadir}/apps/ksplash -%{tde_datadir}/services/ksplashdefault.desktop -%{tde_datadir}/services/ksplash.desktop -%{tde_datadir}/services/ksplashunified.desktop -%{tde_datadir}/services/ksplashredmond.desktop -%{tde_datadir}/services/ksplashstandard.desktop -%{tde_datadir}/servicetypes/ksplashplugins.desktop -%{tde_tdedocdir}/HTML/en/ksplashml/ - -%post -n trinity-ksplash -update-desktop-database %{tde_appdir} 2> /dev/null || : -/sbin/ldconfig || : - -%postun -n trinity-ksplash -update-desktop-database %{tde_appdir} 2> /dev/null || : -/sbin/ldconfig || : - -########## - -%package -n trinity-ksplash-devel -Summary: Development files for ksplash -Group: Development/Libraries -Requires: trinity-ksplash = %{version}-%{release} - -%description -n trinity-ksplash-devel -%{summary} - -%files -n trinity-ksplash-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/ksplash/* -%{tde_libdir}/libksplashthemes.la -%{tde_libdir}/libksplashthemes.so - -%post -n trinity-ksplash-devel -/sbin/ldconfig || : - -%postun -n trinity-ksplash-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-ksysguard -Summary: system guard for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} -Requires: trinity-ksysguardd = %{version}-%{release} - -%description -n trinity-ksysguard -TDE System Guard allows you to monitor various statistics about your -computer. - -%files -n trinity-ksysguard -%defattr(-,root,root,-) -%{tde_bindir}/kpm -%{tde_bindir}/ksysguard -%{tde_tdelibdir}/sysguard_panelapplet.la -%{tde_tdelibdir}/sysguard_panelapplet.so -%{tde_libdir}/libksgrd.so.* -%{tde_tdeappdir}/ksysguard.desktop -%{tde_datadir}/apps/kicker/applets/ksysguardapplet.desktop -%{tde_datadir}/apps/ksysguard/ -%{tde_datadir}/icons/crystalsvg/*/apps/ksysguard.png -%{tde_datadir}/mimelnk/application/x-ksysguard.desktop -%{tde_tdedocdir}/HTML/en/ksysguard/ - -%post -n trinity-ksysguard -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -%postun -n trinity-ksysguard -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -########## - -%package -n trinity-ksysguard-devel -Summary: Development files for ksysguard -Group: Development/Libraries -Requires: trinity-ksysguard = %{version}-%{release} - -%description -n trinity-ksysguard-devel -%{summary} - -%files -n trinity-ksysguard-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/ksgrd/* -%{tde_libdir}/libksgrd.la -%{tde_libdir}/libksgrd.so - -%post -n trinity-ksysguard-devel -/sbin/ldconfig || : - -%postun -n trinity-ksysguard-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-ksysguardd -Summary: system guard daemon for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-ksysguardd -TDE System Guard Daemon is the daemon part of ksysguard. The daemon can -be installed on a remote machine to enable ksysguard on another machine -to monitor it through the daemon running there. - -%files -n trinity-ksysguardd -%defattr(-,root,root,-) -%{tde_bindir}/ksysguardd -%config(noreplace) %{_sysconfdir}/trinity/ksysguarddrc - -########## - -%package -n trinity-ktip -Summary: useful tips for TDE -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-ktip -ktip provides many useful tips on using TDE when you log in. - -%files -n trinity-ktip -%defattr(-,root,root,-) -%{tde_bindir}/ktip -%{tde_tdeappdir}/ktip.desktop -%{tde_datadir}/applnk/Toys/ktip.desktop -%{tde_datadir}/apps/kdewizard/pics/wizard_small.png -%{tde_datadir}/apps/kdewizard/tips/ -%{tde_datadir}/autostart/ktip.desktop -%{tde_datadir}/icons/hicolor/*/apps/ktip.* - -%post -n trinity-ktip -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -%postun -n trinity-ktip -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done - -########## - -%package -n trinity-twin -Summary: the TDE window manager -Group: Applications/Utilities -Requires: %{name}-data = %{version}-%{release} - -%description -n trinity-twin -This package contains the default X window manager for TDE. - -%files -n trinity-twin -%defattr(-,root,root,-) -%{tde_bindir}/kompmgr -%{tde_bindir}/[kt]win -%{tde_bindir}/[kt]win_killer_helper -#%{tde_bindir}/[kt]win_resumer_helper -%{tde_bindir}/[kt]win_rules_dialog -%{tde_libdir}/kconf_update_bin/[kt]win_update_default_rules -%{tde_libdir}/kconf_update_bin/[kt]win_update_window_settings -%{tde_tdelibdir}/kcm_[kt]win*.la -%{tde_tdelibdir}/kcm_[kt]win*.so -%{tde_tdelibdir}/[kt]win*.la -%{tde_tdelibdir}/[kt]win*.so -%{tde_libdir}/lib[kt]decorations.so.* -%{tde_libdir}/lib[kt]deinit_[kt]win_rules_dialog.la -%{tde_libdir}/lib[kt]deinit_[kt]win_rules_dialog.so -%{tde_libdir}/lib[kt]deinit_[kt]win.la -%{tde_libdir}/lib[kt]deinit_[kt]win.so -%{tde_tdeappdir}/showdesktop.desktop -%{tde_tdeappdir}/[kt]windecoration.desktop -%{tde_tdeappdir}/[kt]winoptions.desktop -%{tde_tdeappdir}/[kt]winrules.desktop -%{tde_datadir}/applnk/.hidden/[kt]winactions.desktop -%{tde_datadir}/applnk/.hidden/[kt]winadvanced.desktop -%{tde_datadir}/applnk/.hidden/[kt]winfocus.desktop -%{tde_datadir}/applnk/.hidden/[kt]winmoving.desktop -%{tde_datadir}/applnk/.hidden/[kt]wintranslucency.desktop -%{tde_datadir}/apps/kconf_update/[kt]win3_plugin.pl -%{tde_datadir}/apps/kconf_update/[kt]win3_plugin.upd -%{tde_datadir}/apps/kconf_update/[kt]win_focus1.sh -%{tde_datadir}/apps/kconf_update/[kt]win_focus1.upd -%{tde_datadir}/apps/kconf_update/[kt]win_focus2.sh -%{tde_datadir}/apps/kconf_update/[kt]win_focus2.upd -%{tde_datadir}/apps/kconf_update/[kt]win_fsp_workarounds_1.upd -%{tde_datadir}/apps/kconf_update/[kt]winiconify.upd -%{tde_datadir}/apps/kconf_update/[kt]winsticky.upd -%{tde_datadir}/apps/kconf_update/[kt]win.upd -%{tde_datadir}/apps/kconf_update/[kt]winupdatewindowsettings.upd -%{tde_datadir}/apps/kconf_update/pluginlibFix.pl -%{tde_datadir}/apps/[kt]win/ -%{tde_datadir}/config.kcfg/[kt]win.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/[kt]win.png -%{tde_tdedocdir}/HTML/en/kompmgr/ - -%post -n trinity-twin -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -%postun -n trinity-twin -update-desktop-database %{tde_appdir} 2> /dev/null || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -/sbin/ldconfig || : - -########## - -%package -n trinity-twin-devel -Summary: Development files for twin -Group: Development/Libraries -Requires: trinity-twin = %{version}-%{release} - -%description -n trinity-twin-devel -%{summary} - -%files -n trinity-twin-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/[kt]win/ -%{tde_tdeincludedir}/kcommondecoration.h -%{tde_tdeincludedir}/kdecoration.h -%{tde_tdeincludedir}/kdecoration_p.h -%{tde_tdeincludedir}/kdecoration_plugins_p.h -%{tde_tdeincludedir}/kdecorationfactory.h -%{tde_tdeincludedir}/KWinInterface.h -%{tde_libdir}/libkdecorations.la -%{tde_libdir}/libkdecorations.so - -%post -n trinity-twin-devel -/sbin/ldconfig || : - -%postun -n trinity-twin-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkonq -Summary: core libraries for Konqueror -Group: Environment/Libraries - -%description -n trinity-libkonq -These libraries are used by several TDE applications, most notably -Konqueror and the kdesktop package. - -%files -n trinity-libkonq -%defattr(-,root,root,-) -%{tde_tdelibdir}/kded_favicons.la -%{tde_tdelibdir}/kded_favicons.so -%{tde_tdelibdir}/konq_sound.la -%{tde_tdelibdir}/konq_sound.so -%{tde_libdir}/libkonq.so.* -%{tde_datadir}/apps/kbookmark/directory_bookmarkbar.desktop -%{tde_datadir}/apps/kconf_update/favicons.upd -%{tde_datadir}/apps/kconf_update/move_favicons.sh -%{tde_datadir}/apps/konqueror/pics/arrow_bottomleft.png -%{tde_datadir}/apps/konqueror/pics/arrow_bottomright.png -%{tde_datadir}/apps/konqueror/pics/arrow_topleft.png -%{tde_datadir}/apps/konqueror/pics/arrow_topright.png -%{tde_datadir}/apps/konqueror/pics/thumbnailfont_7x4.png -%{tde_datadir}/services/kded/favicons.desktop -%{tde_datadir}/servicetypes/konqpopupmenuplugin.desktop - -%post -n trinity-libkonq -/sbin/ldconfig || : - -%postun -n trinity-libkonq -/sbin/ldconfig || : - -########## - -%package libtqt3-integration -Summary: Integration library between TQt3 and TDE -Group: Environment/Libraries - -Obsoletes: tdebase-libtqt3-integration < %{version}-%{release} -Provides: tdebase-libtqt3-integration = %{version}-%{release} - -%description libtqt3-integration -These libraries allow you to use TDE dialogs in native TQt3 applications. - -%files libtqt3-integration -%defattr(-,root,root,-) -%{tde_tdelibdir}/plugins/integration/libqtkde.la -%{tde_tdelibdir}/plugins/integration/libqtkde.so -%{tde_tdelibdir}/plugins/integration/libqtkde.so.* -%{tde_tdelibdir}/kded_kdeintegration.la -%{tde_tdelibdir}/kded_kdeintegration.so -%{tde_datadir}/services/kded/kdeintegration.desktop - -########## - -%package -n trinity-libkonq-devel -Summary: development files for Konqueror's core libraries -Group: Development/Libraries -Requires: trinity-libkonq = %{version}-%{release} - -%description -n trinity-libkonq-devel -This package contains headers and other development files for the core -Konqueror libraries. - -%files -n trinity-libkonq-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kfileivi.h -%{tde_tdeincludedir}/kivdirectoryoverlay.h -%{tde_tdeincludedir}/knewmenu.h -%{tde_tdeincludedir}/konqbookmarkmanager.h -%{tde_tdeincludedir}/konq_*.h -%{tde_tdeincludedir}/libkonq_export.h -%{tde_libdir}/libkonq.la -%{tde_libdir}/libkonq.so - -%post -n trinity-libkonq-devel -/sbin/ldconfig || : - -%postun -n trinity-libkonq-devel -/sbin/ldconfig || : - -########## - -%package tdeio-smb-plugin -Summary: Windows Connection Module for TDE -Group: Environment/Libraries - -%description tdeio-smb-plugin -This package provides the "smb://" protocol, to connect to and from -Windows and Samba shares. - -%files tdeio-smb-plugin -%defattr(-,root,root) -%{tde_tdelibdir}/kcm_samba.la -%{tde_tdelibdir}/kcm_samba.so -%{tde_tdelibdir}/kio_smb.la -%{tde_tdelibdir}/kio_smb.so -%{tde_datadir}/services/smb.protocol -%{tde_datadir}/apps/konqueror/dirtree/remote/smb-network.desktop -%{tde_datadir}/apps/remoteview/smb-network.desktop -%{tde_datadir}/mimelnk/application/x-smb-workgroup.desktop - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - -%patch1 -p1 -b .kdesu_no_ignore -%patch2 -p1 -b .openterminalhere -%if 0%{?rhel} || 0%{?fedora} -%patch3 -p1 -b .Xsession -%endif -%if 0%{?suse_version} -%patch4 -p1 -b .Xsession -%endif -%patch5 -p1 -b .tdeicon -%patch6 -p1 -b .xtestsupport -%patch7 -p1 -b .pid -%patch8 -p1 -b .kickoff_default_favs -%patch9 -p1 -b .translation - -%patch101 -p1 -b .vibrate_dialog -%patch102 -p1 -b .kcontrol_menu_entry -%patch103 -p1 -b .kdesktop_crossfade -%patch104 -p1 -b .kickoff_xdg -%patch105 -p1 -b .suspend_unmount -%patch106 -p1 -b .bookmark_global_copy - - -%if 0%{?rhel} == 4 -%patch201 -p1 -b .libdetect -%patch202 -p1 -b .dbustqt -%patch203 -p1 -b .consolekit -%patch204 -p1 -b .composite -#patch205 -p1 -b .hal04 -%patch206 -p1 -b .rhel4 -%endif - -# Applies an optional distro-specific graphical theme -%if "%{?tde_bg}" != "" -# TDM Background -%__sed -i "kdm/kfrontend/genkdmconf.c" \ - -e 's|"Wallpaper=isadora.png\n"|"Wallpaper=%{tde_bg}\n"|' - -# TDE user default background -%__sed -i "kpersonalizer/keyecandypage.cpp" \ - -e 's|#define DEFAULT_WALLPAPER "isadora.png"|#define DEFAULT_WALLPAPER "%{tde_bg}"|' -%__sed -i "startkde" \ - -e 's|/usr/share/wallpapers/isadora.png.desktop|%{tde_bg}|' \ - -e 's|Wallpaper=isadora.png|Wallpaper=%{tde_bg}|' -%endif - -# TDE branding: removes KUbuntu references [Bug #617] -%__sed -i "kcontrol/kdm/kdm-appear.cpp" \ - -e "s|Welcome to Kubuntu |Welcome to %{tde_aboutlabel} |" -%__sed -i "konqueror/about/konq_aboutpage.cc" \ - -e "s|About Kubuntu|About %{tde_aboutlabel}|" \ - -e "s|help:/kubuntu/|%{tde_aboutpage}|" \ - -e "s|Kubuntu Documentation|%{tde_aboutlabel} Documentation|" -%__sed -i "konqueror/about/launch.html" \ - -e "s|help:/kubuntu/about-kubuntu/index.html|%{tde_aboutpage}|" -%__sed -i "kdm/config.def" \ - -e "s|Welcome to Trinity |Welcome to %{tde_aboutlabel} |" - -# TDE default directory in 'startkde' script (KDEDIR) -%__sed -i "startkde" \ - -e "s|/opt/trinity|%{tde_prefix}|g" - -# TDE default start button icon -%__sed -i "startkde" \ - -e "s|%%{tde_starticon}|%{tde_starticon}|g" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" -export LD_LIBRARY_PATH="%{tde_libdir}" - -# Avoids building against KDE3's old stuff, if installed -export KDEDIR=%{tde_prefix} - -# Shitty hack for RHEL4 ... -if [ -d "/usr/X11R6" ]; then - export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/X11R6/include:/usr/X11R6/%{_lib}" - export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -# Samba 4.0 includes (Fedora 18) -if [ -d "/usr/include/samba-4.0" ]; then - export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/include/samba-4.0" -fi - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DBIN_INSTALL_DIR="%{tde_bindir}" \ - -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DCMAKE_SKIP_RPATH="OFF" \ - -DCONFIG_INSTALL_DIR="/etc/trinity" \ - -DSYSCONF_INSTALL_DIR="/etc/trinity" \ - -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \ - -DWITH_SASL=ON \ - -DWITH_LDAP=ON \ - -DWITH_SAMBA=ON \ - %{?with_exr:-DWITH_OPENEXR=ON} \ - -DWITH_XCOMPOSITE=ON \ - -DWITH_XCURSOR=ON \ - -DWITH_XFIXES=ON \ - %{?with_xrandr:-DWITH_XRANDR=ON} \ - -DWITH_XRENDER=ON \ - -DWITH_XDAMAGE=ON \ - -DWITH_XEXT=ON \ - %{?with_xtest:-DWITH_XTEST=ON} \ - %{?with_xscreensaver:-DWITH_XSCREENSAVER=ON} \ - %{?with_libart:-DWITH_LIBART=ON} \ - -DWITH_LIBUSB=ON \ - -DWITH_LIBRAW1394=ON \ - -DWITH_SUDO_KDESU_BACKEND=OFF \ - -DWITH_PAM=ON \ - -DWITH_SHADOW=ON \ - -DWITH_XDMCP=ON \ - -DWITH_XINERAMA=ON \ - -DWITH_ARTS=ON \ - -DWITH_I8K=ON \ - %{?with_hal:-DWITH_HAL=ON} \ - -DWITH_KDESKTOP_LOCK_BACKTRACE=OFF \ - -DBUILD_ALL=ON \ -%if 0%{?suse_version} - -DKCHECKPASS_PAM_SERVICE="xdm" \ - -DKDM_PAM_SERVICE="xdm" \ - -DKSCREENSAVER_PAM_SERVICE="xdm" \ -%else - -DKCHECKPASS_PAM_SERVICE="kcheckpass-trinity" \ - -DKDM_PAM_SERVICE="kdm-trinity" \ - -DKSCREENSAVER_PAM_SERVICE="kscreensaver-trinity" \ -%endif - %{!?with_tsak:-DBUILD_TSAK=OFF} \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{?buildroot} -C build - -# Removes obsolete Beagle-related files -%__rm -f %{?buildroot}%{tde_bindir}/khc_beagle_index.pl -%__rm -f %{?buildroot}%{tde_bindir}/khc_beagle_search.pl - -# Adds a GDM/KDM/XDM session called 'TDE' - -# Under RHEL/Fedora/Suse, static 'xsessions' files go to '/usr/share/xsessions'. -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__install -D -m 644 \ - "%{?buildroot}%{tde_datadir}/apps/kdm/sessions/tde.desktop" \ - "%{?buildroot}%{_datadir}/xsessions/tde.desktop" - -# Force session name to be 'TDE' -%__sed -i "%{?buildroot}%{_datadir}/xsessions/tde.desktop" \ - -e "s,^Name=.*,Name=TDE," -%endif - -# Mageia/Mandriva/PCLinuxOS stores its session file in different folder than RHEL/Fedora -# Generated files for TDM/KDM4 go to '/usr/share/apps/kdm/sessions' -%if 0%{?mgaversion} || 0%{?mdkversion} -%__install -d -m 755 %{?buildroot}%{_sysconfdir}/X11/wmsession.d -cat <"%{?buildroot}%{_sysconfdir}/X11/wmsession.d/45TDE" -NAME=TDE -ICON=kde-wmsession.xpm -DESC=The Trinity Desktop Environment -EXEC=%{tde_bindir}/startkde -SCRIPT: -exec %{tde_bindir}/startkde -EOF - -%__install -d -m 755 %{?buildroot}%{_datadir}/X11/dm.d -cat <"%{?buildroot}%{_datadir}/X11/dm.d/45TDE.conf" -NAME=TDM -DESCRIPTION=TDM (Trinity Display Manager) -PACKAGE=trinity-tdm -EXEC=%{tde_bindir}/kdm -FNDSESSION_EXEC="/usr/sbin/chksession -k" -EOF -%endif - -# TDE 3.5.12: add script "plasma-desktop" to avoid conflict with KDE4 -%if "%{?tde_prefix}" != "/usr" -%__install -m 755 "%{SOURCE1}" "%{?buildroot}%{tde_bindir}" -%endif - -# PAM configuration files (except openSUSE) -%if 0%{?suse_version} == 0 -%__install -D -m 644 "%{SOURCE2}" "%{?buildroot}%{_sysconfdir}/pam.d/kdm-trinity" -%__install -D -m 644 "%{SOURCE3}" "%{?buildroot}%{_sysconfdir}/pam.d/kdm-trinity-np" -%__install -D -m 644 "%{SOURCE4}" "%{?buildroot}%{_sysconfdir}/pam.d/kcheckpass-trinity" -%__install -D -m 644 "%{SOURCE5}" "%{?buildroot}%{_sysconfdir}/pam.d/kscreensaver-trinity" -%endif - -# KDM configuration -%__sed -i "%{?buildroot}%{_sysconfdir}/trinity/kdm/kdmrc" \ -%if 0%{?fedora} >= 16 || 0%{?suse_version} >= 1220 - -e "s/^#*MinShowUID=.*/MinShowUID=1000/" -%else - -e "s/^#*MinShowUID=.*/MinShowUID=500/" -%endif - -# Moves the XDG configuration files to TDE directory -%if "%{tde_prefix}" != "/usr" -%__mkdir_p "%{?buildroot}%{tde_prefix}/etc" -%__mv -f "%{?buildroot}%{_sysconfdir}/xdg" "%{?buildroot}%{tde_prefix}/etc" -%endif - -# Symlinks 'usb.ids' (Use system-provided version, not TDE provided version) -%__rm -f "%{?buildroot}%{tde_datadir}/apps/usb.ids" -%if 0%{?suse_version} -%__ln_s -f "/usr/share/usb.ids" "%{?buildroot}%{tde_datadir}/apps/usb.ids" -%else -%__ln_s -f "/usr/share/hwdata/usb.ids" "%{?buildroot}%{tde_datadir}/apps/usb.ids" -%endif - -# Makes 'media_safelyremove.desktop' an alternative -%__mv -f "%{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop" "%{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase" -%__ln_s "%{_sysconfdir}/alternatives/media_safelyremove.desktop_tdebase" "%{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop" -%__mkdir_p "%{?buildroot}%{_sysconfdir}/alternatives" -%__ln_s "%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase" "%{?buildroot}%{_sysconfdir}/alternatives/media_safelyremove.desktop_tdebase" - -# SUSE: creates DM config file, used by '/etc/init.d/xdm' -# You must set 'DISPLAYMANAGER=tdm' in '/etc/sysconfig/displaymanager' -%if 0%{?suse_version} -%__install -D -m 644 "%{SOURCE6}" "%{?buildroot}/usr/lib/X11/displaymanagers/tdm" -%__sed -i "%{?buildroot}/usr/lib/X11/displaymanagers/tdm" -e "s|/opt/trinity/bin|%{tde_bindir}|g" -%endif - -# Fedora 18: no more SYSV init script, we have to use systemd. -%if 0%{?fedora} >= 18 -%__install -D -m 644 "%{SOURCE7}" "%{?buildroot}/usr/lib/systemd/system/tdm.service" -%endif - -# Symlink KDM configuration -%__mkdir_p "%{?buildroot}%{tde_datadir}/config" -%__ln_s "%{_sysconfdir}/trinity/kdm" "%{?buildroot}%{tde_datadir}/config/kdm" - -# SELINUX policy -%if 0%{?with_selinux_policy} -%__install -D -m 644 "%{SOURCE8}" "%{?buildroot}%{?_sysconfdir}/trinity/kdm/tdm.pp" -%endif - -# Mageia icon -%if 0%{?mgaversion} >= 3 -%__install -D -m 644 %{SOURCE9} %{?buildroot}%{tde_datadir}/oxygen/scalable/mgabutton.svg -%endif - - -%clean -%__rm -rf %{?buildroot} - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 -- Initial release for TDE 3.5.13.2 diff --git a/redhat/tdebindings/kdebindings-3.5.12.spec b/redhat/tdebindings/kdebindings-3.5.12.spec new file mode 100644 index 000000000..2c4af58b7 --- /dev/null +++ b/redhat/tdebindings/kdebindings-3.5.12.spec @@ -0,0 +1,295 @@ +# Default version for this component +%if "%{?version}" == "" +%define version 3.5.12 +%endif +%define release 4 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_prefix}/share/doc +%endif + +# TDE 3.5.12 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir} +%define tde_libdir %{_libdir}/kde3 +%define tde_includedir %{_includedir}/kde + + +Name: trinity-kdebindings +Summary: TDE bindings to non-C++ languages +Version: %{?version} +Release: %{?release}%{?dist}%{_variant} + +License: GPLv2 +Group: User Interface/Desktops + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Source0: kdebindings-%{version}.tar.gz + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + + +# RedHat Legacy patches (from Fedora) +Patch1: kdebindings-3.5.6-libgcj.patch + +# TDE official patches (unmodified) +# [kde-common] Add python2.7 to Python search paths +Patch2: http://www.trinitydesktop.org/patches/r1244127.diff + +BuildRequires: desktop-file-utils +BuildRequires: tqtinterface-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: zlib-devel +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: trinity-arts-devel +BuildRequires: glib-devel gtk+-devel +%define perl_ver %{expand:%%(eval `perl -V:version`; echo $version)} +%define perl_vendorarch %{expand:%%(eval `perl -V:installvendorarch`; echo $installvendorarch)} +%define perl_vendorlib %{expand:%%(eval `perl -V:installvendorlib`; echo $installvendorlib)} +%define perl_man3dir %{expand:%%(eval `perl -V:installman3dir`; echo $installman3dir)} + +Requires: trinity-kdelibs +Requires: trinity-kdebase +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig + +%define python_ver %{expand:%%(%{__python} -c "import sys ; print sys.version[:3]")} +%define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)") + +## dcoppython +BuildRequires: python-devel +Provides: %{name}-dcoppython = %{version}-%{release} + +## ruby +BuildRequires: ruby-devel >= 1.8, ruby +Provides: %{name}-ruby = %{version}-%{release} +%{!?ruby_arch: %define ruby_arch %(ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]')} +%{!?ruby_sitelib: %define ruby_sitelib %(ruby -rrbconfig -e 'puts Config::CONFIG["sitelibdir"]')} +%{!?ruby_sitearch: %define ruby_sitearch %(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"]')} + +## java +%if 0%{?rhel} && 0%{?rhel} < 6 +BuildRequires: java-1.4.2-gcj-compat-devel libgcj-devel gcc-java +%else +BuildRequires: java-devel >= 1.4.2 +%endif +%define java_home %{_usr}/lib/jvm/java +%define _with_java --with-java=%{java_home} +Provides: %{name}-java = %{version}-%{release} + +%description +KDE/DCOP bindings to non-C++ languages + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: trinity-kdelibs-devel +%description devel +Development files for the KDE bindings. + +## dcopperl +%package dcopperl +Summary: DCOP Bindings for Perl +Group: Development/Libraries +%description dcopperl +Perl bindings to the DCOP interprocess communication protocol used by KDE + + +%prep +%setup -q -n kdebindings +%patch1 -p1 -b .libgcj +%patch2 -p1 + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f admin/Makefile.common + + +%build +unset QTDIR || : ; source /etc/profile.d/qt.sh +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +unset JAVA_HOME ||: +%{?java_home:JAVA_HOME=%{java_home}; export JAVA_HOME} + +# sip/PyQt/PyKDE built separately, not here +export DO_NOT_COMPILE="$DO_NOT_COMPILE python" + +%configure \ + --includedir=%{tde_includedir} \ + --disable-rpath \ + --enable-new-ldflags \ + --disable-debug --disable-warnings \ + --disable-dependency-tracking \ + --with-extra-libs=%{_libdir} \ + --with-pythondir=%{_usr} \ + --enable-closure \ + --disable-final \ + %{?_with_java} %{!?_with_java:--without-java} \ + %{?_enable_qscintilla} %{!?_enable_qscintilla:--disable-qscintilla} \ + --with-extra-includes=%{_includedir}/tqt + + +pushd dcopperl +CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor + +# Ugly hack to add TQT include directory in Makefile +sed -i Makefile \ + -e "s,^\(INC = .*\),\1 -I%{_includedir}/tqt," + +%__make OPTIMIZE="$RPM_OPT_FLAGS" ||: +popd + +# smoke/ not smp-safe +%__make -C smoke + +# The rest is smp-safe +%__make %{?_smp_mflags} PYTHON=%{__python} + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf $RPM_BUILD_ROOT + +%__make install DESTDIR=%{?buildroot} \ + PYTHON=%{__python} + +desktop-file-install \ + --vendor="" \ + --add-category="Qt" \ + --add-category="KDE" \ + --add-category="Utility" \ + --dir $RPM_BUILD_ROOT%{_datadir}/applications/kde \ + $RPM_BUILD_ROOT%{_datadir}/applnk/Utilities/*.desktop ||: + +## File lists +# perl +find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \ + -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';' + +find $RPM_BUILD_ROOT%{perl_vendorarch} -type f -print | \ + sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-dcopperl.list +find $RPM_BUILD_ROOT%{perl_vendorlib} -type f -print | \ + sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-dcopperl.list +if [ "$(cat %{name}-dcopperl.list)X" = "X" ] ; then + echo "ERROR: EMPTY FILE LIST"; exit 1 +fi + +# locale's +%find_lang %{name} || touch %{name}.lang +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then +for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi +done +fi + +# rpmdocs +for dir in dcopperl dcoppython kalyptus %{?_with_java:kdejava qtjava} kjsembed korundum qtruby qtsharp smoke; do + for file in AUTHORS ChangeLog README TODO ; do + test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file" + done +done + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%post +/sbin/ldconfig ||: +touch --no-create %{_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database >& /dev/null ||: + +%postun +/sbin/ldconfig ||: +touch --no-create %{_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database >& /dev/null ||: + + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING README +%doc rpmdocs/* +%{_bindir}/* +%{tde_libdir}/* +%{_libdir}/lib*.la +%{_libdir}/lib*.so.* +%{_datadir}/appl*/*/*.desktop +%{_datadir}/apps/embedjs/ +%{_datadir}/apps/kate/scripts/* +%{_datadir}/apps/kjsembed/ +%{_datadir}/icons/hicolor/*/*/* +%{_datadir}/service*/*.desktop +%{_mandir}/man1/* +%{python_sitearch}/* +#%{_libdir}/python%{python_ver}/*.py* +%if "%{?_with_java:1}" == "1" +%{_libdir}/java +%{_libdir}/jni/*.so.* +%endif +#%{ruby_sitearch}/* +#%{ruby_sitelib}/K* +#%{ruby_sitelib}/Qt* +%{_usr}/lib/ruby/*/* +%{ruby_arch}/*.so.* + +# Excludes 'kjscmd' (conflicts with 'kdelibs' from RHEL6) +%if "%{?_prefix}" == "/usr" +%exclude %{_bindir}/kjscmd +%exclude %{_mandir}/man1/kjscmd* +%endif + + +%files dcopperl -f %{name}-dcopperl.list +%defattr(-,root,root,-) +%doc dcopperl/AUTHORS dcopperl/Changes dcopperl/README dcopperl/TODO +%{perl_man3dir}/DCOP.3pm.gz + +%files devel +%defattr(-,root,root,-) +%{tde_includedir}/* +%{_libdir}/lib*.so +%if "%{?_with_java:1}" == "1" +%{_libdir}/jni/*.so +%{_libdir}/jni/*.la +%endif +%{ruby_arch}/*.so +%{ruby_arch}/*.la + +%changelog +* Sun Sep 18 2011 Francois Andriot - 3.5.12-4 +- Add RHEL5 support +- Add 'ruby_arch' macro to avoid handling distro-specific ruby path + +* Sun Sep 04 2011 Francois Andriot - 3.5.12-3 +- Import to GIT + +* Tue Aug 23 2011 Francois Andriot - 3.5.12-2 +- Small fixes for F15 +- Add 'patch2' to handle Python 2.7 + +* Mon Aug 22 2011 Francois Andriot - 3.5.12-1 +- Correct macro to install under "/opt", if desired + +* Tue Jun 21 2011 Francois Andriot - 3.5.12-0 +- Initial version for RHEL 6 +- Specfile based on Fedora 8 'kdebindings 3.5.10-1' diff --git a/redhat/tdebindings/kdebindings-3.5.13.1.spec b/redhat/tdebindings/kdebindings-3.5.13.1.spec new file mode 100644 index 000000000..e94009b78 --- /dev/null +++ b/redhat/tdebindings/kdebindings-3.5.13.1.spec @@ -0,0 +1,1112 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +Name: trinity-tdebindings +Summary: TDE bindings to non-C++ languages +Version: 3.5.13.1 +Release: 1%{?dist}%{_variant} + +License: GPLv2 +Group: User Interface/Desktops + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: kdebindings-3.5.13.1.tar.gz + +# RedHat Legacy patches (from Fedora) +Patch1: kdebindings-3.5.6-libgcj.patch + +# [kdebindings] Removes 'hpi' support in openjdk (obsolete in openjdk 1.7.0) [Bug #978] +Patch2: kdebindings-3.5.13-openjdk_remove_hpi_support.patch +# [kdebindings] Fix directory for dcopc include +Patch6: kdebindings-3.5.13-fix_dcopc_header_location.patch +# [kdebindings] Fix FTBFS in dcopjava/bindings +Patch7: kdebindings-3.5.13.1-fix_dcopjava_ldflags.patch + +# [tdebindings] Detect presence of Ruby pkg-config file and adjust directory search accordingly [Commit #de49c748] +Patch10: kdebindings-3.5.13.1-detect_ruby_pkg.patch +# [tdebindings] Use cflags from ruby pc file [Commit #c1faffb8] +Patch11: kdebindings-3.5.13.1-use_cflags_from_pc_file.patch +# [tdebindings] Set HAVE_RUBY_1_9 if ruby 1.9.x installed [Commit #46659f99] +Patch12: kdebindings-3.5.13.1-set_have_ruby19.patch +# [tdebindings] Fix FTBS on ruby 1.9.x [Commit #ef7a6086] +Patch13: kdebindings-3.5.13.1-fix_ftbfs_ruby19.patch +# [tdebindings] Fix FTBFS on ruby 1.8.x [Commit #14594d81] +Patch14: kdebindings-3.5.13.1-fix_ftbfs_ruby18.patch +# [tdebindings] Fall back to ruby-1.9 pkgconfig file if needed [Commit #2f6e9c73] +Patch15: kdebindings-3.5.13.1-fallback_to_ruby19_pc_file.patch +# [tdebindings] Fix Ruby detection when .pc file is ruby-1.9 [Commit #10fc891a] +Patch16: kdebindings-3.5.13.1-fix_ruby_detect_when_pc_file_is_19.patch +# [tdebindings] Fix FTBFS on x86 systems [Commit #a901a123] +Patch17: kdebindings-3.5.13.1-fix_ftbfs_on_x86.patch +# [tdebindings] Function 'rb_frame_this_func' does not exist in RHEL5 +Patch18: kdebindings-3.5.13.1-fix_rhel5_ftbfs.patch + +BuildRequires: autoconf automake libtool m4 +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} + +BuildRequires: desktop-file-utils +BuildRequires: zlib-devel +BuildRequires: perl(ExtUtils::MakeMaker) + +%if 0%{?rhel} == 4 +BuildRequires: evolution28-gtk2-devel +%else +BuildRequires: gtk2-devel +BuildRequires: xulrunner-devel +%endif + +%if 0%{?fedora} || 0%{?rhel} +%define with_gtk1 1 +BuildRequires: glib-devel +BuildRequires: gtk+-devel +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +%define with_gtk1 1 +BuildRequires: %{_lib}glib1.2-devel +BuildRequires: %{_lib}gtk+-devel +%endif + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}gdk_pixbuf2.0-devel +%else +%if 0%{?fedora} >= 17 +BuildRequires: gdk-pixbuf2-devel +%else +BuildRequires: gdk-pixbuf-devel +%endif +%endif + + +## Python +BuildRequires: python-devel +%define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)") + +## ruby +BuildRequires: ruby-devel >= 1.8, ruby +%{!?ruby_arch: %define ruby_arch %(ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]')} +%{!?ruby_rubylibdir: %define ruby_rubylibdir %(ruby -rrbconfig -e 'puts Config::CONFIG["rubylibdir"]')} +# Ruby 1.9 includes are located in strance directories ... (taken from ruby 1.9 spec file) +%global _normalized_cpu %(echo %{_target_cpu} | sed 's/^ppc/powerpc/;s/i.86/i386/;s/sparcv./sparc/;s/armv.*/arm/') + +## java +%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 +BuildRequires: java-1.4.2-gcj-compat-devel +BuildRequires: libgcj-devel +BuildRequires: gcc-java +%endif + +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} + +# PCLinuxOS use SUN's Java +%if 0%{?pclinuxos} +BuildRequires: java-1.6.0-sun +BuildRequires: java-1.6.0-sun-devel +%else + +# Others use OpenJDK +BuildRequires: java-openjdk +BuildRequires: java-devel >= 1.4.2 +%if 0%{?fedora} >= 17 || 0%{?suse_version} >= 1220 +BuildRequires: java-1.7.0-openjdk-devel +%else +BuildRequires: java-1.6.0-openjdk-devel +%endif + +%endif +%endif + +%if 0%{?suse_version} +%define java_home %{_usr}/%{_lib}/jvm/java +%else +%if 0%{?rhel} == 4 +%define java_home %{_usr}/lib/jvm/java-1.4.2-gcj-1.4.2.0 +%else +%define java_home %{_usr}/lib/jvm/java +%endif +%endif +%define _with_java --with-java=%{java_home} + +## Perl +# There is no 'perl-devel' package on RHEL5 +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: perl-devel +%endif +%define perl_vendorarch %{expand:%%(eval `perl -V:installvendorarch`; echo $installvendorarch)} + + +Obsoletes: trinity-kdebindings < %{version}-%{release} +Provides: trinity-kdebindings = %{version}-%{release} + +# Metapackage requires +Requires: trinity-tdebindings-java = %{version}-%{release} +Requires: trinity-libsmokeqt1 = %{version}-%{release} +Requires: trinity-libsmokekde1 = %{version}-%{release} +Requires: trinity-perl-dcop = %{version}-%{release} +Requires: trinity-python-dcop = %{version}-%{release} +Requires: trinity-libkjsembed1 = %{version}-%{release} +Requires: trinity-kjscmd = %{version}-%{release} +Requires: trinity-juic = %{version}-%{release} +Requires: trinity-libkorundum0-ruby = %{version}-%{release} +Requires: trinity-libqt0-ruby = %{version}-%{release} + + +%description +TDE/DCOP bindings to non-C++ languages + +%files + +########## + +%package java +Summary: TDE Java bindings metapackage [Trinity] +Group: Environment/Libraries +Requires: trinity-libdcop3-java = %{version}-%{release} +Requires: trinity-libdcop3-jni = %{version}-%{release} +Requires: trinity-libqt3-java = %{version}-%{release} +Requires: trinity-libqt3-jni = %{version}-%{release} +Requires: trinity-libtrinity-java = %{version}-%{release} +Requires: trinity-libtrinity-jni = %{version}-%{release} + +%description java +A metapackage depending on all TDE, Qt and DCOP bindings libraries +related to the Java language. + +This package is part of the official TDE bindings module. + +%files java +%defattr(-,root,root,-) + +########## + +%package -n trinity-libdcop3-java +Summary: DCOP bindings for Java [Trinity] +Group: Environment/Libraries + +Requires: trinity-libdcop3-jni = %{version}-%{release} + +%description -n trinity-libdcop3-java +This package contains the Java classes necessary to run Java programs +using the Java DCOP bindings. DCOP is the TDE Desktop COmmunications +Protocol, used for communicating with running TDE applications. + +This package is part of the official TDE bindings module. + +%files -n trinity-libdcop3-java +%defattr(-,root,root,-) +#%{tde_datadir}/java/dcopjava*.jar +%{tde_libdir}/java/org/kde/DCOP/*.class + +########## + +%package -n trinity-libdcop3-java-devel +Summary: DCOP bindings for Java (dcopidl2java program) [Trinity] +Group: Development/Libraries +Requires: trinity-libdcop3-java = %{version}-%{release} + +%description -n trinity-libdcop3-java-devel +This package contains the dcopidl2java program which generates Java +stubs from DCOP IDL files, necessary to do development with the DCOP Java +bindings. DCOP is the TDE Desktop COmmunications Protocol, used for +communicating with running TDE applications. + +This package is part of the official TDE bindings module. + +%files -n trinity-libdcop3-java-devel +%defattr(-,root,root,-) +%{tde_bindir}/dcopidl2java + +########## + +%package -n trinity-libdcop3-jni +Summary: DCOP bindings for Java ( Native libraries ) [Trinity] +Group: Environment/Libraries + +%description -n trinity-libdcop3-jni +This package contains the shared libraries and scripts necessary to +run programs using the Java DCOP bindings. DCOP is the TDE Desktop +COmmunications Protocol, used for communicating with running TDE +applications. + +This package is part of the official TDE bindings module. + +%files -n trinity-libdcop3-jni +%defattr(-,root,root,-) +%{tde_libdir}/libjavadcop.la +%{tde_libdir}/libjavadcop.so + +%post -n trinity-libdcop3-jni +/sbin/ldconfig || : + +%postun -n trinity-libdcop3-jni +/sbin/ldconfig || : + +########## + +%package -n trinity-libqt3-java +Summary: Java bindings for Qt [Trinity] +Group: Environment/Libraries +Requires: trinity-libdcop3-jni = %{version}-%{release} +Requires: trinity-libqt3-jni = %{version}-%{release} +Requires: trinity-juic = %{version}-%{release} + +%description -n trinity-libqt3-java +This package contains the Java classes necessary to run Java programs +using the Java Qt bindings. Qt is a very popular GUI toolkit, used by +the TDE desktop environment. + +It also includes many example programs that make use of these bindings, +plus many of the Qt Tutorial examples translated into Java. + +This package is part of the official TDE bindings module. + +%files -n trinity-libqt3-java +%defattr(-,root,root,-) +%{tde_libdir}/java/qtjava*.jar +%{tde_tdedocdir}/HTML/en/javalib/ + +########## + +%package -n trinity-libqt3-jni +Summary: Java bindings for Qt ( Native libraries ) [Trinity] +Group: Environment/Libraries + +%description -n trinity-libqt3-jni +This package contains the shared libraries necessary to run Java +programs using the Java Qt bindings. Qt is a very popular GUI +toolkit, used by the TDE desktop environment. + +This package is part of the official TDE bindings module. + +%files -n trinity-libqt3-jni +%defattr(-,root,root,-) +%{tde_libdir}/libqtjavasupport.la +%{tde_libdir}/libqtjavasupport.so.* +%{tde_libdir}/jni/libqtjava.la +%{tde_libdir}/jni/libqtjava.so.* +%doc qtjava/ChangeLog + +########## + +%package -n trinity-libqt3-jni-devel +Summary: Development files fo Java bindings for Qt ( Native libraries ) [Trinity] +Group: Development/Libraries +Requires: trinity-libqt3-jni = %{version}-%{release} + +%description -n trinity-libqt3-jni-devel +This package contains the development files for trinity-libqt3-jni. + +This package is part of the official TDE bindings module. + +%files -n trinity-libqt3-jni-devel +%defattr(-,root,root,-) +%{tde_libdir}/libqtjavasupport.so +%{tde_libdir}/jni/libqtjava.so + +########## + +%package -n trinity-libtrinity-java +Summary: tdelibs bindings for Java [Trinity] +Group: Environment/Libraries + +Requires: trinity-libtrinity-jni = %{version}-%{release} + +%description -n trinity-libtrinity-java +This package contains the Java classes necessary to run Java programs +using the Java tdelibs bindings. TDE is the Trinity Desktop Environment, a +very popular UNIX Desktop Environment. + +It also includes some example applications that use these Java +classes, and multiple usage samples of the most common TDE classes. + +This package is part of the official TDE bindings module. + +%files -n trinity-libtrinity-java +%defattr(-,root,root,-) +%{tde_libdir}/java/koala*.jar + +########## + +%package -n trinity-libtrinity-jni +Summary: tdelibs bindings for java ( Native libraries ) [Trinity] +Group: Environment/Libraries + +%description -n trinity-libtrinity-jni +This package contains the shared libraries necessary to run Java +programs using the Java tdelibs bindings. TDE is the Trinity Desktop +Environment, a very popular UNIX Desktop Environment. + +This package is part of the official TDE bindings module. + +%files -n trinity-libtrinity-jni +%defattr(-,root,root,-) +%{tde_libdir}/jni/libkdejava.la +%{tde_libdir}/jni/libkdejava.so.* +%doc kdejava/ChangeLog + +########## + +%package -n trinity-libtrinity-jni-devel +Summary: Development files for tdelibs bindings for java ( Native libraries ) [Trinity] +Group: Development/Libraries +Requires: trinity-libtrinity-jni = %{version}-%{release} + +%description -n trinity-libtrinity-jni-devel +This package contains the development files for trinity-libtrinity-jni. + +This package is part of the official TDE bindings module. + +%files -n trinity-libtrinity-jni-devel +%defattr(-,root,root,-) +%{tde_libdir}/jni/libkdejava.so + +########## + +%package -n trinity-libsmokeqt1 +Summary: SMOKE Binding Library to Qt +Group: Environment/Libraries + +%description -n trinity-libsmokeqt1 +The "Scripting Meta Object Kompiler Engine" library is used by +various TDE language bindings packages to provide interfaces to the +Qt library. + +This package is part of the official TDE bindings module. + +%files -n trinity-libsmokeqt1 +%defattr(-,root,root,-) +%{tde_libdir}/libsmokeqt.so.* + +%post -n trinity-libsmokeqt1 +/sbin/ldconfig || : + +%postun -n trinity-libsmokeqt1 +/sbin/ldconfig || : + +########## + +%package -n trinity-libsmokeqt-devel +Summary: SMOKE Binding Library to Qt - Development Files +Group: Development/Libraries +Requires: trinity-libsmokeqt1 = %{version}-%{release} + +%description -n trinity-libsmokeqt-devel +The "Scripting Meta Object Kompiler Engine" library is used by +various TDE language bindings packages to provide interfaces to the +Qt library. This package contains the development files for the +library. + +If you are a normal user, you probably don't need this +package. + +This package is part of the official TDE bindings module. + +%files -n trinity-libsmokeqt-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/smoke.h +%{tde_libdir}/libsmokeqt.so +%{tde_libdir}/libsmokeqt.la + +%post -n trinity-libsmokeqt-devel +/sbin/ldconfig || : + +%postun -n trinity-libsmokeqt-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libsmokekde1 +Summary: SMOKE Binding Library to TDE +Group: Environment/Libraries + +%description -n trinity-libsmokekde1 +The "Scripting Meta Object Kompiler Engine" library is used by +various TDE language bindings packages to provide interfaces to the +TDE libraries. + +This package is part of the official TDE bindings module. + +%files -n trinity-libsmokekde1 +%defattr(-,root,root,-) +%{tde_libdir}/libsmokekde.so.* + +%post -n trinity-libsmokekde1 +/sbin/ldconfig || : + +%postun -n trinity-libsmokekde1 +/sbin/ldconfig || : + +########## + +%package -n trinity-libsmokekde-devel +Summary: SMOKE Binding Library to TDE - Development Files +Group: Development/Libraries +Requires: trinity-libsmokekde1 = %{version}-%{release} + +%description -n trinity-libsmokekde-devel +The "Scripting Meta Object Kompiler Engine" library is used by +various TDE language bindings packages to provide interfaces to the +Qt and TDE libraries. This package contains the development files for +the library. + +If you are a normal user, you probably don't need this +package. + +This package is part of the official TDE bindings module. + +%files -n trinity-libsmokekde-devel +%defattr(-,root,root,-) +%{tde_libdir}/libsmokekde.so +%{tde_libdir}/libsmokekde.la + +%post -n trinity-libsmokekde-devel +/sbin/ldconfig || : + +%postun -n trinity-libsmokekde-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-perl-dcop +Summary: DCOP Bindings for Perl +Group: Development/Libraries + +Obsoletes: trinity-kdebindings-dcopperl < %{version}-%{release} +Provides: trinity-kdebindings-dcopperl = %{version}-%{release} + +%description -n trinity-perl-dcop +Perl bindings to the DCOP interprocess communication protocol used by TDE + +%files -n trinity-perl-dcop +%defattr(-,root,root,-) +%{perl_vendorarch}/auto/DCOP/* +%{perl_vendorarch}/DCOP.pm +%{perl_vendorarch}/DCOP/* +%doc dcopperl/AUTHORS dcopperl/Changes dcopperl/README dcopperl/TODO +%{tde_mandir}/man3/DCOP.3pm* + +########## + +%package -n trinity-python-dcop +Summary: DCOP bindings for Python +Group: Environment/Libraries +Requires: python +#Provides: %{name}-dcoppython = %{version}-%{release} + +%description -n trinity-python-dcop +This package contains the shared libraries necessary to run and +develop Python programs using the Python DCOP bindings +libraries. DCOP is the TDE Desktop COmmunications Protocol, used for +communicating with running TDE applications. + +This package is part of the official TDE bindings module. + +%files -n trinity-python-dcop +%defattr(-,root,root,-) +%{python_sitearch}/pcop.la +%{python_sitearch}/pcop.so +%{python_sitearch}/pydcop.py* + +########## + +%package -n trinity-libkjsembed1 +Summary: Embedded JavaScript library +Group: Environment/Libraries + +%description -n trinity-libkjsembed1 +This package contains the shared libraries necessary to run programs +linked with the KJSEmbed library. This library provides JavaScript +embedded scripting facilities to TDE applications. + +This package is part of the official TDE bindings module. + +%files -n trinity-libkjsembed1 +%defattr(-,root,root,-) +%{tde_libdir}/libkjsembed.so.* +%{tde_tdelibdir}/libimagefxplugin.la +%{tde_tdelibdir}/libimagefxplugin.so +%{tde_datadir}/services/imagefx_plugin.desktop +%{tde_tdelibdir}/libqprocessplugin.so +%{tde_tdelibdir}/libqprocessplugin.la +%{tde_datadir}/services/qprocess_plugin.desktop +%{tde_tdelibdir}/libfileitemplugin.la +%{tde_tdelibdir}/libfileitemplugin.so +%{tde_datadir}/services/kfileitem_plugin.desktop +%{tde_datadir}/apps/kjsembed/cmdline.js +%{tde_datadir}/servicetypes/binding_type.desktop +%{tde_bindir}/embedjs +%{tde_datadir}/apps/embedjs/embedjsui.rc +%{tde_datadir}/applnk/Utilities/embedjs.desktop +%{tde_datadir}/icons/hicolor/16x16/apps/embedjs.png +%{tde_datadir}/icons/hicolor/32x32/apps/embedjs.png +%{tde_tdelibdir}/libjavascript.la +%{tde_tdelibdir}/libjavascript.so +%{tde_datadir}/apps/kate/scripts/swaptabs.js +%{tde_datadir}/apps/kate/scripts/swaptabs.ui +%{tde_datadir}/apps/kate/scripts/swaptabs.desktop +%{tde_datadir}/services/javascript.desktop +%doc kjsembed/docs/ChangeLog + +%post -n trinity-libkjsembed1 +/sbin/ldconfig ||: +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database >& /dev/null ||: + +%postun -n trinity-libkjsembed1 +/sbin/ldconfig ||: +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database >& /dev/null ||: + +########## + +%package -n trinity-libkjsembed-devel +Summary: Embedded JavaScript library (Development files) +Group: Development/Libraries +Requires: trinity-libkjsembed1 = %{version}-%{release} + +%description -n trinity-libkjsembed-devel +This package contains the header files and symbolic links necessary +to develop and compile programs using the KJSEmbed library. This +library provides JavaScript embedded scripting facilities to TDE +applications. + +It also includes lots of example programs that make use of these +bindings, plus comprehensive documentation of the bindings. + +This package is part of the official TDE bindings module. + +%files -n trinity-libkjsembed-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kjsembed/ +%{tde_libdir}/libkjsembed.so +%{tde_libdir}/libkjsembed.la +%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ + +%post -n trinity-libkjsembed-devel +/sbin/ldconfig || : + +%postun -n trinity-libkjsembed-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-kjscmd +Summary: A script interpreter using the TDE JavaScript library +Group: Environment/Libraries + +%description -n trinity-kjscmd +This package contains the kjscmd program, which is a standalone +JavaScript interpreter using the KJSEmbed library. + +This package is part of the official TDE bindings module. + +%files -n trinity-kjscmd +%defattr(-,root,root,-) +%{tde_bindir}/kjscmd +%{tde_tdeappdir}/kjscmd.desktop +%{tde_mandir}/man1/kjscmd.* +%{tde_tdelibdir}/libjsconsoleplugin.la +%{tde_tdelibdir}/libjsconsoleplugin.so + +%post -n trinity-kjscmd +update-desktop-database >& /dev/null ||: + +%postun -n trinity-kjscmd +update-desktop-database >& /dev/null ||: + +########## + +%package -n trinity-juic +Summary: The Qt Java UI Compiler +Group: Environment/Libraries +Requires: trinity-libqt3-java = %{version}-%{release} + +%description -n trinity-juic +This package contains the juic program, which is used to convert +a UI description file generated by the Qt Designer, and converts +it into a Qt Java class. It is necessary for compiling and +developing programs using the Qt Java bindings together with Qt +Designer. + +This package is part of the official TDE bindings module. + +%files -n trinity-juic +%defattr(-,root,root,-) +%{tde_bindir}/juic +%{tde_datadir}/juic/ + +########## + +%package -n trinity-libkorundum0-ruby +Summary: TDE bindings for Ruby [Trinity] +Group: Environment/Libraries +Requires: trinity-libqt0-ruby = %{version}-%{release} + +%description -n trinity-libkorundum0-ruby +This package contains the files necessary for running and developing +Ruby code using the Korundum TDE Ruby bindings. + +It also includes some example programs and templates that make use of +these bindings. + +This package is part of the official TDE bindings module. + +%files -n trinity-libkorundum0-ruby +%defattr(-,root,root,-) +%{tde_bindir}/rbkdesh +%{tde_bindir}/rbkdeapi +%{tde_bindir}/krubyinit +%{tde_bindir}/rbkconfig_compiler +%{ruby_rubylibdir}/Korundum.rb +%{ruby_rubylibdir}/KDE/korundum.rb +%{ruby_arch}/korundum.la +%{ruby_arch}/korundum.so* +%doc korundum/ChangeLog + +%post -n trinity-libkorundum0-ruby +/sbin/ldconfig || : + +%postun -n trinity-libkorundum0-ruby +/sbin/ldconfig || : + +########## + +%package -n trinity-libqt0-ruby +Summary: Qt bindings for Ruby [Trinity] +Group: Environment/Libraries +Requires: ruby + +%description -n trinity-libqt0-ruby +This package contains the files necessary for running and developing +Ruby code using the Qt Ruby bindings. + +It also includes some example programs that make use of these bindings, +plus many of the Qt Tutorial examples translated into Ruby. + +This package is part of the official TDE bindings module. + +%files -n trinity-libqt0-ruby +%defattr(-,root,root,-) +%{tde_bindir}/rbqtsh +%{tde_bindir}/rbqtapi +%{tde_bindir}/rbuic +%{tde_bindir}/qtrubyinit +%{ruby_rubylibdir}/Qt/qtruby.rb +%{ruby_rubylibdir}/Qt.rb +%{ruby_arch}/qtruby.so* +%{ruby_arch}/qtruby.la +%{ruby_arch}/qui.so* +%{ruby_arch}/qui.la +%doc qtruby/ChangeLog + +%post -n trinity-libqt0-ruby +/sbin/ldconfig || : + +%postun -n trinity-libqt0-ruby +/sbin/ldconfig || : + +########## + +%if 0 +%package -n trinity-kmozilla +Summary: Kmozilla for TDE +Group: Environment/Libraries + +%description -n trinity-kmozilla +%{summary} + +%files -n trinity-kmozilla +%defattr(-,root,root,-) +%{tde_bindir}/kmozilla +%{tde_libdir}/libkmozillapart.so.* +%{tde_libdir}/libkmozillapart.so +%{tde_libdir}/libkmozillapart.la +%{tde_datadir}/services/kmozilla.desktop +%endif + +########## + +%package -n trinity-xpart-notepad +Summary: A small XPart editor +Group: Applications/Utilities + +%description -n trinity-xpart-notepad +xpart_notepad is a small XPart editor. Use it to understand how to use XPart. + +%files -n trinity-xpart-notepad +%defattr(-,root,root,-) +%{tde_bindir}/shell_xparthost +%{tde_bindir}/xp_notepad +%{tde_libdir}/libxp_notepadpart.la +%{tde_libdir}/libxp_notepadpart.so +%{tde_libdir}/libxp_notepadpart.so.* +%{tde_datadir}/services/xp_notepad.desktop +%doc xparts/xpart_notepad/README + +%post -n trinity-xpart-notepad +/sbin/ldconfig || : + +%postun -n trinity-xpart-notepad +/sbin/ldconfig || : + +########## + +%if 0%{?with_gtk1} +%package -n trinity-libgtkxparts1 +Summary: Xparts library for GTK +Group: Environment/Libraries + +%description -n trinity-libgtkxparts1 +%{summary} + +%files -n trinity-libgtkxparts1 +%defattr(-,root,root,-) +%{tde_libdir}/libgtkxparts.so.* +%{tde_libdir}/libgtkxparts.la + +%post -n trinity-libgtkxparts1 +/sbin/ldconfig || : + +%postun -n trinity-libgtkxparts1 +/sbin/ldconfig || : +%endif + +########## + +%package -n trinity-libkdexparts1 +Summary: Xparts library for KDE +Group: Environment/Libraries + +%description -n trinity-libkdexparts1 +%{summary} + +%files -n trinity-libkdexparts1 +%defattr(-,root,root,-) +%{tde_libdir}/libkdexparts.so.* +%{tde_libdir}/libkdexparts.la + +%post -n trinity-libkdexparts1 +/sbin/ldconfig || : + +%postun -n trinity-libkdexparts1 +/sbin/ldconfig || : + +########## + +%package -n trinity-libxparts-devel +Summary: Xparts development files +Group: Development/Libraries +%if 0%{?with_gtk1} +Requires: trinity-libgtkxparts1 = %{version}-%{release} +%endif +Requires: trinity-libkdexparts1 = %{version}-%{release} + +%description -n trinity-libxparts-devel +%{summary} + +%files -n trinity-libxparts-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/xkparts/ +%if 0%{?with_gtk1} +%{tde_libdir}/libgtkxparts.so +%endif +%{tde_libdir}/libkdexparts.so + +%post -n trinity-libxparts-devel +/sbin/ldconfig || : + +%postun -n trinity-libxparts-devel +/sbin/ldconfig || : + +########## + +%package xparts-extras +Summary: Extra xparts for TDE [Trinity] +Group: Environment/Libraries + +# Metapckage requires +Requires: trinity-xpart-notepad = %{version}-%{release} +%if 0%{?with_gtk1} +Requires: trinity-libgtkxparts1 = %{version}-%{release} +%endif +Requires: trinity-libkdexparts1 = %{version}-%{release} +Requires: trinity-libdcop-c = %{version}-%{release} + +%description xparts-extras +This package contains extra xparts-based modules for Trinity +This includes the mozilla-konqueror plugin + +This package is part of the official TDE bindings module. + +%files xparts-extras + +########### + +%package -n trinity-libdcop-c +Summary: DCOP bindings for C [Trinity] +Group: Environment/Libraries + +%description -n trinity-libdcop-c +%{summary} + +%files -n trinity-libdcop-c +%defattr(-,root,root,-) +%{tde_libdir}/libdcopc.so.* + +%post -n trinity-libdcop-c +/sbin/ldconfig || : + +%postun -n trinity-libdcop-c +/sbin/ldconfig || : + +########### + +%package -n trinity-libdcop-c-devel +Summary: DCOP bindings for C, development files [Trinity] +Group: Development/Libraries +Requires: trinity-libdcop-c = %{version}-%{release} + +%description -n trinity-libdcop-c-devel +%{summary} + +%files -n trinity-libdcop-c-devel +%defattr(-,root,root,-) +%{tde_libdir}/libdcopc.so +%{tde_libdir}/libdcopc.la +%{tde_tdeincludedir}/dcopc/ + +%post -n trinity-libdcop-c-devel +/sbin/ldconfig || : + +%postun -n trinity-libdcop-c-devel +/sbin/ldconfig || : + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: trinity-tdelibs-devel + +Obsoletes: trinity-kdebindings-devel < %{version}-%{release} +Provides: trinity-kdebindings-devel = %{version}-%{release} + +# Metapackage +Requires: trinity-libsmokeqt-devel = %{version}-%{release} +Requires: trinity-libdcop3-java-devel = %{version}-%{release} +Requires: trinity-libsmokekde-devel = %{version}-%{release} +Requires: trinity-libkjsembed-devel = %{version}-%{release} +Requires: trinity-libxparts-devel = %{version}-%{release} +Requires: trinity-libdcop-c-devel = %{version}-%{release} +Requires: trinity-libqt3-jni-devel = %{version}-%{release} +Requires: trinity-libtrinity-jni-devel = %{version}-%{release} + +%description devel +Development files for the TDE bindings. + +%files devel + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n kdebindings-3.5.13.1 +%patch1 -p1 -b .libgcj + +%if 0%{?fedora} >= 17 || 0%{?suse_version} >= 1220 +%patch2 -p1 -b .libhpi +%endif +%patch6 -p1 -b .dcopcinclude +%patch7 -p1 -b .dcopjavaldflags + +%patch10 -p1 -b .ruby19 +%patch11 -p1 -b .ruby19 +%patch12 -p1 -b .ruby19 +%patch13 -p1 -b .ruby19 +%patch14 -p1 -b .ruby19 +%patch15 -p1 -b .ruby19 +%patch16 -p1 -b .ruby19 +%patch17 -p1 -b .ruby19 +%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 +%patch18 -p1 -b .ruby +%endif + +# Adds non-standard Ruby include path in include dirs +%if 0%{?rhel} == 5 +#for d in \ +# qtruby/rubylib/qtruby \ +# qtruby/rubylib/designer/uilib \ +# qtruby/bin \ +# korundum/rubylib/korundum \ +# korundum/bin \ +#; do +# echo -e "\nINCLUDES += -I%{_usr}/include/%{_normalized_cpu}-%{_target_os}" >> "${d}/Makefile.am" +#done +%endif + +# Disable kmozilla, it does not build with recent xulrunner (missing 'libmozjs.so') +%__sed -i "xparts/Makefile.am" \ + -e "s|SUBDIRS = .*|SUBDIRS = src xpart_notepad|" + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; source /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +unset JAVA_HOME ||: +%{?java_home:JAVA_HOME=%{java_home}; export JAVA_HOME} + +# sip/PyQt/PyKDE built separately, not here +export DO_NOT_COMPILE="$DO_NOT_COMPILE python" + +# Specific path for RHEL4 +if [ -d /usr/X11R6 ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --docdir=%{tde_docdir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --enable-new-ldflags \ + --disable-debug --disable-warnings \ + --disable-dependency-tracking \ + --with-extra-libs=%{tde_libdir} \ + --with-pythondir=%{_usr} \ + --enable-closure \ + --enable-final \ + %{?_with_java} %{!?_with_java:--without-java} \ + %{?_enable_qscintilla} %{!?_enable_qscintilla:--disable-qscintilla} \ + --with-extra-includes=%{tde_includedir}/tqt + +pushd dcopperl +CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor + +# Ugly hack to add TQT include directory in Makefile +# Also modifies the man pages directory +sed -i Makefile \ + -e "s|^\(INC = .*\)|\1 -I%{tde_includedir}/tqt|" \ + -e "s|/usr/share/man|%{tde_mandir}|g" + +%__make OPTIMIZE="$RPM_OPT_FLAGS" ||: +popd + +# smoke (not smp-safe) +%__make -C smoke + +# The rest is smp-safe +%__make %{?_smp_mflags} PYTHON=%{__python} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf $RPM_BUILD_ROOT + +%__make install DESTDIR=%{?buildroot} \ + PYTHON=%{__python} + +# Removes some perl files +find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \ + -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';' + +# locale's +%find_lang %{name} || touch %{name}.lang +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then +for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi +done +fi + +# Installs juic +%__install -D -m 755 qtjava/designer/juic/bin/juic %{?buildroot}%{tde_bindir}/juic +%__install -d -m 755 %{?buildroot}%{tde_datadir}/juic/common +%__install qtjava/designer/juic/common/*.xml %{?buildroot}%{tde_datadir}/juic/common +%__install qtjava/designer/juic/common/*.xsl %{?buildroot}%{tde_datadir}/juic/common +%__install -d -m 755 %{?buildroot}%{tde_datadir}/juic/java +%__install qtjava/designer/juic/java/*.xml %{?buildroot}%{tde_datadir}/juic/java +%__install qtjava/designer/juic/java/*.xsl %{?buildroot}%{tde_datadir}/juic/java +%__install qtjava/designer/juic/juic.xsl %{?buildroot}%{tde_datadir}/juic + +# kjsembed sample files +%__install -d -m 755 %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install kjsembed/plugins/customobject_plugin.cpp %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install kjsembed/plugins/customobject_plugin.h %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install kjsembed/plugins/customobject_plugin.desktop %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install kjsembed/plugins/customqobject_plugin.cpp %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install kjsembed/plugins/customqobject_plugin.h %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install kjsembed/plugins/customqobject_plugin.desktop %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ + + +# Man installation location is wrong on RHEL4... +if [ -d "%{buildroot}%{_mandir}/man3" ]; then + mv -f %{buildroot}%{_mandir}/man3 %{buildroot}%{tde_mandir}/man3/ + rm -rf %{buildroot}%{_mandir} +fi + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + + +%changelog +* Sat Sep 29 2012 Francois Andriot - 3.5.13.1-1 +- Initial build for TDE 3.5.13.1 diff --git a/redhat/tdebindings/kdebindings-3.5.13.spec b/redhat/tdebindings/kdebindings-3.5.13.spec new file mode 100644 index 000000000..2637b79eb --- /dev/null +++ b/redhat/tdebindings/kdebindings-3.5.13.spec @@ -0,0 +1,1061 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +Name: trinity-tdebindings +Summary: TDE bindings to non-C++ languages +Version: 3.5.13 +Release: 5%{?dist}%{_variant} + +License: GPLv2 +Group: User Interface/Desktops + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: kdebindings-%{version}.tar.gz + +# RedHat Legacy patches (from Fedora) +Patch1: kdebindings-3.5.6-libgcj.patch + +# [kdebindings] Removes 'hpi' support in openjdk (obsolete in openjdk 1.7.0) [Bug #978] +Patch2: kdebindings-3.5.13-openjdk_remove_hpi_support.patch +# [kdebindings] Allow compilation with Ruby >= 1.9 [Bug #597] +Patch3: kdebindings-3.5.13-ruby_1.9.patch +# [kdebindings] Fix various build issues [Bug #597] +Patch4: kdebindings-3.5.13-fixes.patch +# [kdebindings] Fix smoke compilation on MGA2 (missing LDFLAGS) +Patch5: kdebindings-3.5.13-missing_ldflags.patch +# [kdebindings] Fix directory for dcopc include +Patch6: kdebindings-3.5.13-fix_dcopc_header_location.patch + +BuildRequires: autoconf automake libtool m4 +BuildRequires: tqtinterface-devel +BuildRequires: trinity-arts-devel +BuildRequires: trinity-kdelibs-devel + +BuildRequires: desktop-file-utils +BuildRequires: zlib-devel +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: gtk2-devel +BuildRequires: java-openjdk +BuildRequires: xulrunner-devel + +%if 0%{?fedora} +BuildRequires: glib-devel +BuildRequires: gtk+-devel +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}glib1.2-devel +BuildRequires: %{_lib}gtk+-devel +%endif + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}gdk_pixbuf2.0-devel +%else +%if 0%{?fedora} >= 17 +BuildRequires: gdk-pixbuf2-devel +%else +BuildRequires: gdk-pixbuf-devel +%endif +%endif + + +## Python +BuildRequires: python-devel +%define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)") + +## ruby +BuildRequires: ruby-devel >= 1.8, ruby +%{!?ruby_arch: %define ruby_arch %(ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]')} +%{!?ruby_rubylibdir: %define ruby_rubylibdir %(ruby -rrbconfig -e 'puts Config::CONFIG["rubylibdir"]')} +# Ruby 1.9 includes are located in strance directories ... (taken from ruby 1.9 spec file) +%global _normalized_cpu %(echo %{_target_cpu} | sed 's/^ppc/powerpc/;s/i.86/i386/;s/sparcv./sparc/;s/armv.*/arm/') + +## java +%if 0%{?rhel} > 0 && 0%{?rhel} < 6 +BuildRequires: java-1.4.2-gcj-compat-devel libgcj-devel gcc-java +%else +BuildRequires: java-devel >= 1.4.2 +%if 0%{?fedora} >= 17 +BuildRequires: java-1.7.0-openjdk-devel +%else +BuildRequires: java-1.6.0-openjdk-devel +%endif +%endif +%define java_home %{_usr}/lib/jvm/java +%define _with_java --with-java=%{java_home} + +## Perl +# There is no 'perl-devel' package on RHEL5 +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: perl-devel +%endif +%define perl_vendorarch %{expand:%%(eval `perl -V:installvendorarch`; echo $installvendorarch)} + + +Obsoletes: trinity-kdebindings < %{version}-%{release} +Provides: trinity-kdebindings = %{version}-%{release} + +# Metapackage requires +Requires: trinity-tdebindings-java = %{version}-%{release} +Requires: trinity-libsmokeqt1 = %{version}-%{release} +Requires: trinity-libsmokekde1 = %{version}-%{release} +Requires: trinity-perl-dcop = %{version}-%{release} +Requires: trinity-python-dcop = %{version}-%{release} +Requires: trinity-libkjsembed1 = %{version}-%{release} +Requires: trinity-kjscmd = %{version}-%{release} +Requires: trinity-juic = %{version}-%{release} +Requires: trinity-libkorundum0-ruby = %{version}-%{release} +Requires: trinity-libqt0-ruby = %{version}-%{release} + + +%description +TDE/DCOP bindings to non-C++ languages + +%files + +########## + +%package java +Summary: TDE Java bindings metapackage [Trinity] +Group: Environment/Libraries +Requires: trinity-libdcop3-java = %{version}-%{release} +Requires: trinity-libdcop3-jni = %{version}-%{release} +Requires: trinity-libqt3-java = %{version}-%{release} +Requires: trinity-libqt3-jni = %{version}-%{release} +Requires: trinity-libtrinity-java = %{version}-%{release} +Requires: trinity-libtrinity-jni = %{version}-%{release} + +%description java +A metapackage depending on all TDE, Qt and DCOP bindings libraries +related to the Java language. + +This package is part of the official TDE bindings module. + +%files java +%defattr(-,root,root,-) + +########## + +%package -n trinity-libdcop3-java +Summary: DCOP bindings for Java [Trinity] +Group: Environment/Libraries + +Requires: trinity-libdcop3-jni = %{version}-%{release} + +%description -n trinity-libdcop3-java +This package contains the Java classes necessary to run Java programs +using the Java DCOP bindings. DCOP is the TDE Desktop COmmunications +Protocol, used for communicating with running TDE applications. + +This package is part of the official TDE bindings module. + +%files -n trinity-libdcop3-java +%defattr(-,root,root,-) +#%{tde_datadir}/java/dcopjava*.jar +%{tde_libdir}/java/org/kde/DCOP/*.class + +########## + +%package -n trinity-libdcop3-java-devel +Summary: DCOP bindings for Java (dcopidl2java program) [Trinity] +Group: Development/Libraries +Requires: trinity-libdcop3-java = %{version}-%{release} + +%description -n trinity-libdcop3-java-devel +This package contains the dcopidl2java program which generates Java +stubs from DCOP IDL files, necessary to do development with the DCOP Java +bindings. DCOP is the TDE Desktop COmmunications Protocol, used for +communicating with running TDE applications. + +This package is part of the official TDE bindings module. + +%files -n trinity-libdcop3-java-devel +%defattr(-,root,root,-) +%{tde_bindir}/dcopidl2java + +########## + +%package -n trinity-libdcop3-jni +Summary: DCOP bindings for Java ( Native libraries ) [Trinity] +Group: Environment/Libraries + +%description -n trinity-libdcop3-jni +This package contains the shared libraries and scripts necessary to +run programs using the Java DCOP bindings. DCOP is the TDE Desktop +COmmunications Protocol, used for communicating with running TDE +applications. + +This package is part of the official TDE bindings module. + +%files -n trinity-libdcop3-jni +%defattr(-,root,root,-) +%{tde_libdir}/libjavadcop.la +%{tde_libdir}/libjavadcop.so + +%post -n trinity-libdcop3-jni +/sbin/ldconfig || : + +%postun -n trinity-libdcop3-jni +/sbin/ldconfig || : + +########## + +%package -n trinity-libqt3-java +Summary: Java bindings for Qt [Trinity] +Group: Environment/Libraries +Requires: trinity-libdcop3-jni = %{version}-%{release} +Requires: trinity-libqt3-jni = %{version}-%{release} +Requires: trinity-juic = %{version}-%{release} + +%description -n trinity-libqt3-java +This package contains the Java classes necessary to run Java programs +using the Java Qt bindings. Qt is a very popular GUI toolkit, used by +the TDE desktop environment. + +It also includes many example programs that make use of these bindings, +plus many of the Qt Tutorial examples translated into Java. + +This package is part of the official TDE bindings module. + +%files -n trinity-libqt3-java +%defattr(-,root,root,-) +%{tde_libdir}/java/qtjava*.jar +%{tde_tdedocdir}/HTML/en/javalib/ + +########## + +%package -n trinity-libqt3-jni +Summary: Java bindings for Qt ( Native libraries ) [Trinity] +Group: Environment/Libraries + +%description -n trinity-libqt3-jni +This package contains the shared libraries necessary to run Java +programs using the Java Qt bindings. Qt is a very popular GUI +toolkit, used by the TDE desktop environment. + +This package is part of the official TDE bindings module. + +%files -n trinity-libqt3-jni +%defattr(-,root,root,-) +%{tde_libdir}/libqtjavasupport.la +%{tde_libdir}/libqtjavasupport.so.* +%{tde_libdir}/jni/libqtjava.la +%{tde_libdir}/jni/libqtjava.so.* +%doc qtjava/ChangeLog + +########## + +%package -n trinity-libqt3-jni-devel +Summary: Development files fo Java bindings for Qt ( Native libraries ) [Trinity] +Group: Development/Libraries +Requires: trinity-libqt3-jni = %{version}-%{release} + +%description -n trinity-libqt3-jni-devel +This package contains the development files for trinity-libqt3-jni. + +This package is part of the official TDE bindings module. + +%files -n trinity-libqt3-jni-devel +%defattr(-,root,root,-) +%{tde_libdir}/libqtjavasupport.so +%{tde_libdir}/jni/libqtjava.so + +########## + +%package -n trinity-libtrinity-java +Summary: tdelibs bindings for Java [Trinity] +Group: Environment/Libraries + +Requires: trinity-libtrinity-jni = %{version}-%{release} + +%description -n trinity-libtrinity-java +This package contains the Java classes necessary to run Java programs +using the Java tdelibs bindings. TDE is the Trinity Desktop Environment, a +very popular UNIX Desktop Environment. + +It also includes some example applications that use these Java +classes, and multiple usage samples of the most common TDE classes. + +This package is part of the official TDE bindings module. + +%files -n trinity-libtrinity-java +%defattr(-,root,root,-) +%{tde_libdir}/java/koala*.jar + +########## + +%package -n trinity-libtrinity-jni +Summary: tdelibs bindings for java ( Native libraries ) [Trinity] +Group: Environment/Libraries + +%description -n trinity-libtrinity-jni +This package contains the shared libraries necessary to run Java +programs using the Java tdelibs bindings. TDE is the Trinity Desktop +Environment, a very popular UNIX Desktop Environment. + +This package is part of the official TDE bindings module. + +%files -n trinity-libtrinity-jni +%defattr(-,root,root,-) +%{tde_libdir}/jni/libkdejava.la +%{tde_libdir}/jni/libkdejava.so.* +%doc kdejava/ChangeLog + +########## + +%package -n trinity-libtrinity-jni-devel +Summary: Development files for tdelibs bindings for java ( Native libraries ) [Trinity] +Group: Development/Libraries +Requires: trinity-libtrinity-jni = %{version}-%{release} + +%description -n trinity-libtrinity-jni-devel +This package contains the development files for trinity-libtrinity-jni. + +This package is part of the official TDE bindings module. + +%files -n trinity-libtrinity-jni-devel +%defattr(-,root,root,-) +%{tde_libdir}/jni/libkdejava.so + +########## + +%package -n trinity-libsmokeqt1 +Summary: SMOKE Binding Library to Qt +Group: Environment/Libraries + +%description -n trinity-libsmokeqt1 +The "Scripting Meta Object Kompiler Engine" library is used by +various TDE language bindings packages to provide interfaces to the +Qt library. + +This package is part of the official TDE bindings module. + +%files -n trinity-libsmokeqt1 +%defattr(-,root,root,-) +%{tde_libdir}/libsmokeqt.so.* + +%post -n trinity-libsmokeqt1 +/sbin/ldconfig || : + +%postun -n trinity-libsmokeqt1 +/sbin/ldconfig || : + +########## + +%package -n trinity-libsmokeqt-devel +Summary: SMOKE Binding Library to Qt - Development Files +Group: Development/Libraries +Requires: trinity-libsmokeqt1 = %{version}-%{release} + +%description -n trinity-libsmokeqt-devel +The "Scripting Meta Object Kompiler Engine" library is used by +various TDE language bindings packages to provide interfaces to the +Qt library. This package contains the development files for the +library. + +If you are a normal user, you probably don't need this +package. + +This package is part of the official TDE bindings module. + +%files -n trinity-libsmokeqt-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/smoke.h +%{tde_libdir}/libsmokeqt.so +%{tde_libdir}/libsmokeqt.la + +%post -n trinity-libsmokeqt-devel +/sbin/ldconfig || : + +%postun -n trinity-libsmokeqt-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libsmokekde1 +Summary: SMOKE Binding Library to TDE +Group: Environment/Libraries + +%description -n trinity-libsmokekde1 +The "Scripting Meta Object Kompiler Engine" library is used by +various TDE language bindings packages to provide interfaces to the +TDE libraries. + +This package is part of the official TDE bindings module. + +%files -n trinity-libsmokekde1 +%defattr(-,root,root,-) +%{tde_libdir}/libsmokekde.so.* + +%post -n trinity-libsmokekde1 +/sbin/ldconfig || : + +%postun -n trinity-libsmokekde1 +/sbin/ldconfig || : + +########## + +%package -n trinity-libsmokekde-devel +Summary: SMOKE Binding Library to TDE - Development Files +Group: Development/Libraries +Requires: trinity-libsmokekde1 = %{version}-%{release} + +%description -n trinity-libsmokekde-devel +The "Scripting Meta Object Kompiler Engine" library is used by +various TDE language bindings packages to provide interfaces to the +Qt and TDE libraries. This package contains the development files for +the library. + +If you are a normal user, you probably don't need this +package. + +This package is part of the official TDE bindings module. + +%files -n trinity-libsmokekde-devel +%defattr(-,root,root,-) +%{tde_libdir}/libsmokekde.so +%{tde_libdir}/libsmokekde.la + +%post -n trinity-libsmokekde-devel +/sbin/ldconfig || : + +%postun -n trinity-libsmokekde-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-perl-dcop +Summary: DCOP Bindings for Perl +Group: Development/Libraries + +Obsoletes: trinity-kdebindings-dcopperl < %{version}-%{release} +Provides: trinity-kdebindings-dcopperl = %{version}-%{release} + +%description -n trinity-perl-dcop +Perl bindings to the DCOP interprocess communication protocol used by TDE + +%files -n trinity-perl-dcop +%defattr(-,root,root,-) +%{perl_vendorarch}/auto/DCOP/* +%{perl_vendorarch}/DCOP.pm +%{perl_vendorarch}/DCOP/* +%doc dcopperl/AUTHORS dcopperl/Changes dcopperl/README dcopperl/TODO +%{tde_mandir}/man3/DCOP.3pm* + +########## + +%package -n trinity-python-dcop +Summary: DCOP bindings for Python +Group: Environment/Libraries +Requires: python +#Provides: %{name}-dcoppython = %{version}-%{release} + +%description -n trinity-python-dcop +This package contains the shared libraries necessary to run and +develop Python programs using the Python DCOP bindings +libraries. DCOP is the TDE Desktop COmmunications Protocol, used for +communicating with running TDE applications. + +This package is part of the official TDE bindings module. + +%files -n trinity-python-dcop +%defattr(-,root,root,-) +%{python_sitearch}/pcop.la +%{python_sitearch}/pcop.so +%{python_sitearch}/pydcop.py* + +########## + +%package -n trinity-libkjsembed1 +Summary: Embedded JavaScript library +Group: Environment/Libraries + +%description -n trinity-libkjsembed1 +This package contains the shared libraries necessary to run programs +linked with the KJSEmbed library. This library provides JavaScript +embedded scripting facilities to TDE applications. + +This package is part of the official TDE bindings module. + +%files -n trinity-libkjsembed1 +%defattr(-,root,root,-) +%{tde_libdir}/libkjsembed.so.* +%{tde_tdelibdir}/libimagefxplugin.la +%{tde_tdelibdir}/libimagefxplugin.so +%{tde_datadir}/services/imagefx_plugin.desktop +%{tde_tdelibdir}/libqprocessplugin.so +%{tde_tdelibdir}/libqprocessplugin.la +%{tde_datadir}/services/qprocess_plugin.desktop +%{tde_tdelibdir}/libfileitemplugin.la +%{tde_tdelibdir}/libfileitemplugin.so +%{tde_datadir}/services/kfileitem_plugin.desktop +%{tde_datadir}/apps/kjsembed/cmdline.js +%{tde_datadir}/servicetypes/binding_type.desktop +%{tde_bindir}/embedjs +%{tde_datadir}/apps/embedjs/embedjsui.rc +%{tde_datadir}/applnk/Utilities/embedjs.desktop +%{tde_datadir}/icons/hicolor/16x16/apps/embedjs.png +%{tde_datadir}/icons/hicolor/32x32/apps/embedjs.png +%{tde_tdelibdir}/libjavascript.la +%{tde_tdelibdir}/libjavascript.so +%{tde_datadir}/apps/kate/scripts/swaptabs.js +%{tde_datadir}/apps/kate/scripts/swaptabs.ui +%{tde_datadir}/apps/kate/scripts/swaptabs.desktop +%{tde_datadir}/services/javascript.desktop +%doc kjsembed/docs/ChangeLog + +%post -n trinity-libkjsembed1 +/sbin/ldconfig ||: +touch --no-create %{_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database >& /dev/null ||: + +%postun -n trinity-libkjsembed1 +/sbin/ldconfig ||: +touch --no-create %{_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database >& /dev/null ||: + +########## + +%package -n trinity-libkjsembed-devel +Summary: Embedded JavaScript library (Development files) +Group: Development/Libraries +Requires: trinity-libkjsembed1 = %{version}-%{release} + +%description -n trinity-libkjsembed-devel +This package contains the header files and symbolic links necessary +to develop and compile programs using the KJSEmbed library. This +library provides JavaScript embedded scripting facilities to TDE +applications. + +It also includes lots of example programs that make use of these +bindings, plus comprehensive documentation of the bindings. + +This package is part of the official TDE bindings module. + +%files -n trinity-libkjsembed-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kjsembed/ +%{tde_libdir}/libkjsembed.so +%{tde_libdir}/libkjsembed.la +%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ + +%post -n trinity-libkjsembed-devel +/sbin/ldconfig || : + +%postun -n trinity-libkjsembed-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-kjscmd +Summary: A script interpreter using the TDE JavaScript library +Group: Environment/Libraries + +%description -n trinity-kjscmd +This package contains the kjscmd program, which is a standalone +JavaScript interpreter using the KJSEmbed library. + +This package is part of the official TDE bindings module. + +%files -n trinity-kjscmd +%defattr(-,root,root,-) +%{tde_bindir}/kjscmd +%{tde_tdeappdir}/kjscmd.desktop +%{tde_mandir}/man1/kjscmd.* +%{tde_tdelibdir}/libjsconsoleplugin.la +%{tde_tdelibdir}/libjsconsoleplugin.so + +%post -n trinity-kjscmd +update-desktop-database >& /dev/null ||: + +%postun -n trinity-kjscmd +update-desktop-database >& /dev/null ||: + +########## + +%package -n trinity-juic +Summary: The Qt Java UI Compiler +Group: Environment/Libraries +Requires: trinity-libqt3-java = %{version}-%{release} + +%description -n trinity-juic +This package contains the juic program, which is used to convert +a UI description file generated by the Qt Designer, and converts +it into a Qt Java class. It is necessary for compiling and +developing programs using the Qt Java bindings together with Qt +Designer. + +This package is part of the official TDE bindings module. + +%files -n trinity-juic +%defattr(-,root,root,-) +%{tde_bindir}/juic +%{tde_datadir}/juic/ + +########## + +%package -n trinity-libkorundum0-ruby +Summary: TDE bindings for Ruby [Trinity] +Group: Environment/Libraries +Requires: trinity-libqt0-ruby = %{version}-%{release} + +%description -n trinity-libkorundum0-ruby +This package contains the files necessary for running and developing +Ruby code using the Korundum TDE Ruby bindings. + +It also includes some example programs and templates that make use of +these bindings. + +This package is part of the official TDE bindings module. + +%files -n trinity-libkorundum0-ruby +%defattr(-,root,root,-) +%{tde_bindir}/rbkdesh +%{tde_bindir}/rbkdeapi +%{tde_bindir}/krubyinit +%{tde_bindir}/rbkconfig_compiler +%{ruby_rubylibdir}/Korundum.rb +%{ruby_rubylibdir}/KDE/korundum.rb +%if 0%{?fedora} == 17 +%{_usr}/%{_lib}/korundum.la +%{_usr}/%{_lib}/korundum.so* +%else +%{ruby_arch}/korundum.la +%{ruby_arch}/korundum.so* +%endif +%doc korundum/ChangeLog + +%post -n trinity-libkorundum0-ruby +/sbin/ldconfig || : + +%postun -n trinity-libkorundum0-ruby +/sbin/ldconfig || : + +########## + +%package -n trinity-libqt0-ruby +Summary: Qt bindings for Ruby [Trinity] +Group: Environment/Libraries +Requires: ruby + +%description -n trinity-libqt0-ruby +This package contains the files necessary for running and developing +Ruby code using the Qt Ruby bindings. + +It also includes some example programs that make use of these bindings, +plus many of the Qt Tutorial examples translated into Ruby. + +This package is part of the official TDE bindings module. + +%files -n trinity-libqt0-ruby +%defattr(-,root,root,-) +%{tde_bindir}/rbqtsh +%{tde_bindir}/rbqtapi +%{tde_bindir}/rbuic +%{tde_bindir}/qtrubyinit +%{ruby_rubylibdir}/Qt/qtruby.rb +%{ruby_rubylibdir}/Qt.rb +%{ruby_arch}/qtruby.so* +%{ruby_arch}/qtruby.la +%if 0%{?fedora} >= 17 +%{_usr}/%{_lib}/qui.so* +%{_usr}/%{_lib}/qui.la +%else +%{ruby_arch}/qui.so* +%{ruby_arch}/qui.la +%endif +%doc qtruby/ChangeLog + +%post -n trinity-libqt0-ruby +/sbin/ldconfig || : + +%postun -n trinity-libqt0-ruby +/sbin/ldconfig || : + +########## + +%if 0 +%package -n trinity-kmozilla +Summary: Kmozilla for TDE +Group: Environment/Libraries + +%description -n trinity-kmozilla +%{summary} + +%files -n trinity-kmozilla +%defattr(-,root,root,-) +%{tde_bindir}/kmozilla +%{tde_libdir}/libkmozillapart.so.* +%{tde_libdir}/libkmozillapart.so +%{tde_libdir}/libkmozillapart.la +%{tde_datadir}/services/kmozilla.desktop +%endif + +########## + +%package -n trinity-xpart-notepad +Summary: A small XPart editor +Group: Applications/Utilities + +%description -n trinity-xpart-notepad +xpart_notepad is a small XPart editor. Use it to understand how to use XPart. + +%files -n trinity-xpart-notepad +%defattr(-,root,root,-) +%{tde_bindir}/shell_xparthost +%{tde_bindir}/xp_notepad +%{tde_libdir}/libxp_notepadpart.la +%{tde_libdir}/libxp_notepadpart.so +%{tde_libdir}/libxp_notepadpart.so.* +%{tde_datadir}/services/xp_notepad.desktop +%doc xparts/xpart_notepad/README + +%post -n trinity-xpart-notepad +/sbin/ldconfig || : + +%postun -n trinity-xpart-notepad +/sbin/ldconfig || : + +########## + +%package -n trinity-libgtkxparts1 +Summary: Xparts library for GTK +Group: Environment/Libraries + +%description -n trinity-libgtkxparts1 +%{summary} + +%files -n trinity-libgtkxparts1 +%defattr(-,root,root,-) +%{tde_libdir}/libgtkxparts.so.* +%{tde_libdir}/libgtkxparts.la + +%post -n trinity-libgtkxparts1 +/sbin/ldconfig || : + +%postun -n trinity-libgtkxparts1 +/sbin/ldconfig || : + +########## + +%package -n trinity-libkdexparts1 +Summary: Xparts library for KDE +Group: Environment/Libraries + +%description -n trinity-libkdexparts1 +%{summary} + +%files -n trinity-libkdexparts1 +%defattr(-,root,root,-) +%{tde_libdir}/libkdexparts.so.* +%{tde_libdir}/libkdexparts.la + +%post -n trinity-libkdexparts1 +/sbin/ldconfig || : + +%postun -n trinity-libkdexparts1 +/sbin/ldconfig || : + +########## + +%package -n trinity-libxparts-devel +Summary: Xparts development files +Group: Development/Libraries +Requires: trinity-libgtkxparts1 = %{version}-%{release} +Requires: trinity-libkdexparts1 = %{version}-%{release} + +%description -n trinity-libxparts-devel +%{summary} + +%files -n trinity-libxparts-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/xkparts/ +%{tde_libdir}/libgtkxparts.so +%{tde_libdir}/libkdexparts.so + +%post -n trinity-libxparts-devel +/sbin/ldconfig || : + +%postun -n trinity-libxparts-devel +/sbin/ldconfig || : + +########## + +%package xparts-extras +Summary: Extra xparts for TDE [Trinity] +Group: Environment/Libraries + +# Metapckage requires +Requires: trinity-xpart-notepad = %{version}-%{release} +Requires: trinity-libgtkxparts1 = %{version}-%{release} +Requires: trinity-libkdexparts1 = %{version}-%{release} +Requires: trinity-libdcop-c = %{version}-%{release} + +%description xparts-extras +This package contains extra xparts-based modules for Trinity +This includes the mozilla-konqueror plugin + +This package is part of the official TDE bindings module. + +%files xparts-extras + +########### + +%package -n trinity-libdcop-c +Summary: DCOP bindings for C [Trinity] +Group: Environment/Libraries + +%description -n trinity-libdcop-c +%{summary} + +%files -n trinity-libdcop-c +%defattr(-,root,root,-) +%{tde_libdir}/libdcopc.so.* + +%post -n trinity-libdcop-c +/sbin/ldconfig || : + +%postun -n trinity-libdcop-c +/sbin/ldconfig || : + +########### + +%package -n trinity-libdcop-c-devel +Summary: DCOP bindings for C, development files [Trinity] +Group: Development/Libraries +Requires: trinity-libdcop-c = %{version}-%{release} + +%description -n trinity-libdcop-c-devel +%{summary} + +%files -n trinity-libdcop-c-devel +%defattr(-,root,root,-) +%{tde_libdir}/libdcopc.so +%{tde_libdir}/libdcopc.la +%{tde_tdeincludedir}/dcopc/ + +%post -n trinity-libdcop-c-devel +/sbin/ldconfig || : + +%postun -n trinity-libdcop-c-devel +/sbin/ldconfig || : + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: trinity-tdelibs-devel + +Obsoletes: trinity-kdebindings-devel < %{version}-%{release} +Provides: trinity-kdebindings-devel = %{version}-%{release} + +# Metapackage +Requires: trinity-libsmokeqt-devel = %{version}-%{release} +Requires: trinity-libdcop3-java-devel = %{version}-%{release} +Requires: trinity-libsmokekde-devel = %{version}-%{release} +Requires: trinity-libkjsembed-devel = %{version}-%{release} +Requires: trinity-libxparts-devel = %{version}-%{release} +Requires: trinity-libdcop-c-devel = %{version}-%{release} +Requires: trinity-libqt3-jni-devel = %{version}-%{release} +Requires: trinity-libtrinity-jni-devel = %{version}-%{release} + +%description devel +Development files for the TDE bindings. + +%files devel + +########## + +%prep +%setup -q -n kdebindings +%patch1 -p1 -b .libgcj + +%if 0%{?fedora} >= 17 +%patch2 -p1 -b .libhpi +%patch3 -p1 +%endif +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 -b .dcopcinclude + +# Adds non-standard Ruby include path in include dirs +for d in \ + qtruby/rubylib/qtruby \ + qtruby/rubylib/designer/uilib \ + qtruby/bin \ + korundum/rubylib/korundum \ + korundum/bin \ +; do + echo -e "\nINCLUDES += -I%{_usr}/include/%{_normalized_cpu}-%{_target_os}" >> "${d}/Makefile.am" +done + +# Disable kmozilla, it does not build with recent xulrunner (missing 'libmozjs.so') +%__sed -i "xparts/Makefile.am" \ + -e "s|SUBDIRS = .*|SUBDIRS = src xpart_notepad|" + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; source /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +unset JAVA_HOME ||: +%{?java_home:JAVA_HOME=%{java_home}; export JAVA_HOME} + +# sip/PyQt/PyKDE built separately, not here +export DO_NOT_COMPILE="$DO_NOT_COMPILE python" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --docdir=%{tde_docdir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --enable-new-ldflags \ + --disable-debug --disable-warnings \ + --disable-dependency-tracking \ + --with-extra-libs=%{tde_libdir} \ + --with-pythondir=%{_usr} \ + --enable-closure \ + --enable-final \ + %{?_with_java} %{!?_with_java:--without-java} \ + %{?_enable_qscintilla} %{!?_enable_qscintilla:--disable-qscintilla} \ + --with-extra-includes=%{tde_includedir}/tqt + +pushd dcopperl +CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor + +# Ugly hack to add TQT include directory in Makefile +# Also modifies the man pages directory +sed -i Makefile \ + -e "s|^\(INC = .*\)|\1 -I%{tde_includedir}/tqt|" \ + -e "s|/usr/share/man|%{tde_mandir}|g" + +%__make OPTIMIZE="$RPM_OPT_FLAGS" ||: +popd + +# smoke (not smp-safe) +%__make -C smoke + +# The rest is smp-safe +%__make %{?_smp_mflags} PYTHON=%{__python} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf $RPM_BUILD_ROOT + +%__make install DESTDIR=%{?buildroot} \ + PYTHON=%{__python} + +# Removes some perl files +find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \ + -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';' + +# locale's +%find_lang %{name} || touch %{name}.lang +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then +for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi +done +fi + +# Installs juic +%__install -D -m 755 qtjava/designer/juic/bin/juic %{?buildroot}%{tde_bindir}/juic +%__install -d -m 755 %{?buildroot}%{tde_datadir}/juic/common +%__install qtjava/designer/juic/common/*.xml %{?buildroot}%{tde_datadir}/juic/common +%__install qtjava/designer/juic/common/*.xsl %{?buildroot}%{tde_datadir}/juic/common +%__install -d -m 755 %{?buildroot}%{tde_datadir}/juic/java +%__install qtjava/designer/juic/java/*.xml %{?buildroot}%{tde_datadir}/juic/java +%__install qtjava/designer/juic/java/*.xsl %{?buildroot}%{tde_datadir}/juic/java +%__install qtjava/designer/juic/juic.xsl %{?buildroot}%{tde_datadir}/juic + +# kjsembed sample files +%__install -d -m 755 %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install kjsembed/plugins/customobject_plugin.cpp %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install kjsembed/plugins/customobject_plugin.h %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install kjsembed/plugins/customobject_plugin.desktop %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install kjsembed/plugins/customqobject_plugin.cpp %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install kjsembed/plugins/customqobject_plugin.h %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install kjsembed/plugins/customqobject_plugin.desktop %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + + +%changelog +* Sun Jul 29 2012 Francois Andriot - 3.5.13-5 +- Split into several packages +- Add support for Mageia 2 +- Fix dcopperl man page location +- Removes strange install stuff from legacy Fedora + +* Tue Apr 24 2012 Francois Andriot - 3.5.13-4 +- Add support for Fedora 17 +- Removes 'hpi' support in openjdk (obsolete in openjdk 1.7.0) [Bug #978] +- Allow compilation with Ruby >= 1.9 [Bug #597] +- Fix various build issues [Bug #597] + +* Fri Nov 25 2011 Francois Andriot - 3.5.13-3 +- Fix HTML directory location + +* Fri Nov 04 2011 Francois Andriot - 3.5.13-2 +- Add missing BuildRequires + +* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 +- Initial release for RHEL 6, RHEL 5 and Fedora 15 + +* Sat Sep 03 2011 Francois Andriot - 3.5.13-0 +- Import to GIT +- Built with future TDE version (3.5.13 + cmake + QT3.3.8d) diff --git a/redhat/tdebindings/tdebindings-14.0.0.spec b/redhat/tdebindings/tdebindings-14.0.0.spec new file mode 100644 index 000000000..784ca0be5 --- /dev/null +++ b/redhat/tdebindings/tdebindings-14.0.0.spec @@ -0,0 +1,1101 @@ +# Special note for RHEL4: +# You must create symlink 'libgcj.so' manually because it does not exist by default. +# E.g: +# ln -s /usr/lib/libgcj.so.5.0.0 /usr/lib/jvm/java/lib/libgcj.so +# or 64 bits: +# ln -s /usr/lib64/libgcj.so.5.0.0 /usr/lib/jvm/java/lib/libgcj.so + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +# RHEL4 specific +Source91: filter-requires.sh +%if 0%{?rhel} == 4 +%define _use_internal_dependency_generator 0 +%define __find_requires sh %{SOURCE91} +%endif + +Name: trinity-tdebindings +Summary: TDE bindings to non-C++ languages +Version: 14.0.0 +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} + +License: GPLv2 +Group: User Interface/Desktops + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz + +# [kdebindings] Fix FTBFS in dcopjava/bindings +Patch7: kdebindings-3.5.13.1-fix_dcopjava_ldflags.patch + +# [tdebindings] Function 'rb_frame_this_func' does not exist in RHEL5 +Patch18: kdebindings-3.5.13.1-fix_rhel5_ftbfs.patch + +BuildRequires: autoconf automake libtool m4 +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} + +BuildRequires: desktop-file-utils +BuildRequires: zlib-devel +BuildRequires: perl(ExtUtils::MakeMaker) + +# GTK2 support +%if 0%{?rhel} == 4 +BuildRequires: evolution28-gtk2-devel +Requires: evolution28-gtk2 +BuildRequires: evolution28-glib2-devel +Requires: evolution28-glib2 +BuildRequires: evolution28-cairo-devel +Requires: evolution28-cairo +BuildRequires: evolution28-pango-devel +Requires: evolution28-pango +BuildRequires: evolution28-atk-devel +Requires: evolution28-atk +%else +BuildRequires: gtk2-devel +%endif + +# XULRUNNER support +%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} >= 1220 +BuildRequires: xulrunner-devel +%endif +%if 0%{?suse_version} == 1140 +BuildRequires: mozilla-xulrunner20-devel +%endif + +# GTK1 support +%if 0%{?fedora} || 0%{?rhel} +%define with_gtk1 1 +BuildRequires: glib-devel +BuildRequires: gtk+-devel +%endif +%if 0%{?mdkversion} == 201100 +%define with_gtk1 1 +BuildRequires: %{_lib}glib1.2-devel +BuildRequires: %{_lib}gtk+-devel +%endif + +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} +BuildRequires: libgdk_pixbuf2.0-devel +%else +BuildRequires: %{_lib}gdk_pixbuf2.0-devel +%endif +%else +%if 0%{?fedora} >= 17 +BuildRequires: gdk-pixbuf2-devel +%else +BuildRequires: gdk-pixbuf-devel +%endif +%endif + + +## Python +BuildRequires: python-devel +%define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)") + +## ruby +BuildRequires: ruby-devel >= 1.8, ruby +%{!?ruby_arch: %define ruby_arch %(ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]')} +%{!?ruby_rubylibdir: %define ruby_rubylibdir %(ruby -rrbconfig -e 'puts Config::CONFIG["rubylibdir"]')} +# Ruby 1.9 includes are located in strance directories ... (taken from ruby 1.9 spec file) +%global _normalized_cpu %(echo %{_target_cpu} | sed 's/^ppc/powerpc/;s/i.86/i386/;s/sparcv./sparc/;s/armv.*/arm/') + +## java +%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 +BuildRequires: java-1.4.2-gcj-compat-devel +BuildRequires: libgcj-devel +BuildRequires: gcc-java +%endif + +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} + +# PCLinuxOS use SUN's Java +%if 0%{?pclinuxos} +BuildRequires: java-1.6.0-sun +BuildRequires: java-1.6.0-sun-devel +%else + +# Others use OpenJDK +BuildRequires: java-openjdk +BuildRequires: java-devel >= 1.4.2 +%if 0%{?fedora} >= 17 || 0%{?suse_version} >= 1220 || 0%{?mgaversion} >= 3 +BuildRequires: java-1.7.0-openjdk-devel +%else +BuildRequires: java-1.6.0-openjdk-devel +%endif + +%endif +%endif + +%if 0%{?suse_version} +%define java_home %{_usr}/%{_lib}/jvm/java +%else +%if 0%{?rhel} == 4 +%define java_home %{_usr}/lib/jvm/java-1.4.2-gcj-1.4.2.0 +%else +%define java_home %{_usr}/lib/jvm/java +%endif +%endif +%define _with_java --with-java=%{java_home} + +## Perl +# There is no 'perl-devel' package on RHEL5 +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: perl-devel +%endif +%define perl_vendorarch %{expand:%%(eval `perl -V:installvendorarch`; echo $installvendorarch)} + + +Obsoletes: trinity-kdebindings < %{version}-%{release} +Provides: trinity-kdebindings = %{version}-%{release} + +# Metapackage requires +Requires: trinity-tdebindings-java = %{version}-%{release} +Requires: trinity-libsmokeqt1 = %{version}-%{release} +Requires: trinity-libsmokekde1 = %{version}-%{release} +Requires: trinity-perl-dcop = %{version}-%{release} +Requires: trinity-python-dcop = %{version}-%{release} +Requires: trinity-libkjsembed1 = %{version}-%{release} +Requires: trinity-kjscmd = %{version}-%{release} +Requires: trinity-juic = %{version}-%{release} +Requires: trinity-libkorundum0-ruby = %{version}-%{release} +Requires: trinity-libqt0-ruby = %{version}-%{release} + + +%description +TDE/DCOP bindings to non-C++ languages + +%files + +########## + +%package java +Summary: TDE Java bindings metapackage [Trinity] +Group: Environment/Libraries +Requires: trinity-libdcop3-java = %{version}-%{release} +Requires: trinity-libdcop3-jni = %{version}-%{release} +Requires: trinity-libqt3-java = %{version}-%{release} +Requires: trinity-libqt3-jni = %{version}-%{release} +Requires: trinity-libtrinity-java = %{version}-%{release} +Requires: trinity-libtrinity-jni = %{version}-%{release} + +%description java +A metapackage depending on all TDE, Qt and DCOP bindings libraries +related to the Java language. + +This package is part of the official TDE bindings module. + +%files java +%defattr(-,root,root,-) + +########## + +%package -n trinity-libdcop3-java +Summary: DCOP bindings for Java [Trinity] +Group: Environment/Libraries + +Requires: trinity-libdcop3-jni = %{version}-%{release} + +%description -n trinity-libdcop3-java +This package contains the Java classes necessary to run Java programs +using the Java DCOP bindings. DCOP is the TDE Desktop COmmunications +Protocol, used for communicating with running TDE applications. + +This package is part of the official TDE bindings module. + +%files -n trinity-libdcop3-java +%defattr(-,root,root,-) +#%{tde_datadir}/java/dcopjava*.jar +%{tde_libdir}/java/org/kde/DCOP/*.class + +########## + +%package -n trinity-libdcop3-java-devel +Summary: DCOP bindings for Java (dcopidl2java program) [Trinity] +Group: Development/Libraries +Requires: trinity-libdcop3-java = %{version}-%{release} + +%description -n trinity-libdcop3-java-devel +This package contains the dcopidl2java program which generates Java +stubs from DCOP IDL files, necessary to do development with the DCOP Java +bindings. DCOP is the TDE Desktop COmmunications Protocol, used for +communicating with running TDE applications. + +This package is part of the official TDE bindings module. + +%files -n trinity-libdcop3-java-devel +%defattr(-,root,root,-) +%{tde_bindir}/dcopidl2java + +########## + +%package -n trinity-libdcop3-jni +Summary: DCOP bindings for Java ( Native libraries ) [Trinity] +Group: Environment/Libraries + +%description -n trinity-libdcop3-jni +This package contains the shared libraries and scripts necessary to +run programs using the Java DCOP bindings. DCOP is the TDE Desktop +COmmunications Protocol, used for communicating with running TDE +applications. + +This package is part of the official TDE bindings module. + +%files -n trinity-libdcop3-jni +%defattr(-,root,root,-) +%{tde_libdir}/libjavadcop.la +%{tde_libdir}/libjavadcop.so + +%post -n trinity-libdcop3-jni +/sbin/ldconfig || : + +%postun -n trinity-libdcop3-jni +/sbin/ldconfig || : + +########## + +%package -n trinity-libqt3-java +Summary: Java bindings for Qt [Trinity] +Group: Environment/Libraries +Requires: trinity-libdcop3-jni = %{version}-%{release} +Requires: trinity-libqt3-jni = %{version}-%{release} +Requires: trinity-juic = %{version}-%{release} + +%description -n trinity-libqt3-java +This package contains the Java classes necessary to run Java programs +using the Java Qt bindings. Qt is a very popular GUI toolkit, used by +the TDE desktop environment. + +It also includes many example programs that make use of these bindings, +plus many of the Qt Tutorial examples translated into Java. + +This package is part of the official TDE bindings module. + +%files -n trinity-libqt3-java +%defattr(-,root,root,-) +%{tde_libdir}/java/qtjava*.jar +%{tde_tdedocdir}/HTML/en/javalib/ + +########## + +%package -n trinity-libqt3-jni +Summary: Java bindings for Qt ( Native libraries ) [Trinity] +Group: Environment/Libraries + +%description -n trinity-libqt3-jni +This package contains the shared libraries necessary to run Java +programs using the Java Qt bindings. Qt is a very popular GUI +toolkit, used by the TDE desktop environment. + +This package is part of the official TDE bindings module. + +%files -n trinity-libqt3-jni +%defattr(-,root,root,-) +%{tde_libdir}/libqtjavasupport.la +%{tde_libdir}/libqtjavasupport.so.* +%{tde_libdir}/jni/libqtjava.la +%{tde_libdir}/jni/libqtjava.so.* +%doc qtjava/ChangeLog + +########## + +%package -n trinity-libqt3-jni-devel +Summary: Development files fo Java bindings for Qt ( Native libraries ) [Trinity] +Group: Development/Libraries +Requires: trinity-libqt3-jni = %{version}-%{release} + +%description -n trinity-libqt3-jni-devel +This package contains the development files for trinity-libqt3-jni. + +This package is part of the official TDE bindings module. + +%files -n trinity-libqt3-jni-devel +%defattr(-,root,root,-) +%{tde_libdir}/libqtjavasupport.so +%{tde_libdir}/jni/libqtjava.so + +########## + +%package -n trinity-libtrinity-java +Summary: tdelibs bindings for Java [Trinity] +Group: Environment/Libraries + +Requires: trinity-libtrinity-jni = %{version}-%{release} + +%description -n trinity-libtrinity-java +This package contains the Java classes necessary to run Java programs +using the Java tdelibs bindings. TDE is the Trinity Desktop Environment, a +very popular UNIX Desktop Environment. + +It also includes some example applications that use these Java +classes, and multiple usage samples of the most common TDE classes. + +This package is part of the official TDE bindings module. + +%files -n trinity-libtrinity-java +%defattr(-,root,root,-) +%{tde_libdir}/java/koala*.jar + +########## + +%package -n trinity-libtrinity-jni +Summary: tdelibs bindings for java ( Native libraries ) [Trinity] +Group: Environment/Libraries + +%description -n trinity-libtrinity-jni +This package contains the shared libraries necessary to run Java +programs using the Java tdelibs bindings. TDE is the Trinity Desktop +Environment, a very popular UNIX Desktop Environment. + +This package is part of the official TDE bindings module. + +%files -n trinity-libtrinity-jni +%defattr(-,root,root,-) +%{tde_libdir}/jni/libkdejava.la +%{tde_libdir}/jni/libkdejava.so.* +%doc kdejava/ChangeLog + +########## + +%package -n trinity-libtrinity-jni-devel +Summary: Development files for tdelibs bindings for java ( Native libraries ) [Trinity] +Group: Development/Libraries +Requires: trinity-libtrinity-jni = %{version}-%{release} + +%description -n trinity-libtrinity-jni-devel +This package contains the development files for trinity-libtrinity-jni. + +This package is part of the official TDE bindings module. + +%files -n trinity-libtrinity-jni-devel +%defattr(-,root,root,-) +%{tde_libdir}/jni/libkdejava.so + +########## + +%package -n trinity-libsmokeqt1 +Summary: SMOKE Binding Library to Qt +Group: Environment/Libraries + +%description -n trinity-libsmokeqt1 +The "Scripting Meta Object Kompiler Engine" library is used by +various TDE language bindings packages to provide interfaces to the +Qt library. + +This package is part of the official TDE bindings module. + +%files -n trinity-libsmokeqt1 +%defattr(-,root,root,-) +%{tde_libdir}/libsmokeqt.so.* + +%post -n trinity-libsmokeqt1 +/sbin/ldconfig || : + +%postun -n trinity-libsmokeqt1 +/sbin/ldconfig || : + +########## + +%package -n trinity-libsmokeqt-devel +Summary: SMOKE Binding Library to Qt - Development Files +Group: Development/Libraries +Requires: trinity-libsmokeqt1 = %{version}-%{release} + +%description -n trinity-libsmokeqt-devel +The "Scripting Meta Object Kompiler Engine" library is used by +various TDE language bindings packages to provide interfaces to the +Qt library. This package contains the development files for the +library. + +If you are a normal user, you probably don't need this +package. + +This package is part of the official TDE bindings module. + +%files -n trinity-libsmokeqt-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/smoke.h +%{tde_libdir}/libsmokeqt.so +%{tde_libdir}/libsmokeqt.la + +%post -n trinity-libsmokeqt-devel +/sbin/ldconfig || : + +%postun -n trinity-libsmokeqt-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libsmokekde1 +Summary: SMOKE Binding Library to TDE +Group: Environment/Libraries + +%description -n trinity-libsmokekde1 +The "Scripting Meta Object Kompiler Engine" library is used by +various TDE language bindings packages to provide interfaces to the +TDE libraries. + +This package is part of the official TDE bindings module. + +%files -n trinity-libsmokekde1 +%defattr(-,root,root,-) +%{tde_libdir}/libsmokekde.so.* + +%post -n trinity-libsmokekde1 +/sbin/ldconfig || : + +%postun -n trinity-libsmokekde1 +/sbin/ldconfig || : + +########## + +%package -n trinity-libsmokekde-devel +Summary: SMOKE Binding Library to TDE - Development Files +Group: Development/Libraries +Requires: trinity-libsmokekde1 = %{version}-%{release} + +%description -n trinity-libsmokekde-devel +The "Scripting Meta Object Kompiler Engine" library is used by +various TDE language bindings packages to provide interfaces to the +Qt and TDE libraries. This package contains the development files for +the library. + +If you are a normal user, you probably don't need this +package. + +This package is part of the official TDE bindings module. + +%files -n trinity-libsmokekde-devel +%defattr(-,root,root,-) +%{tde_libdir}/libsmokekde.so +%{tde_libdir}/libsmokekde.la + +%post -n trinity-libsmokekde-devel +/sbin/ldconfig || : + +%postun -n trinity-libsmokekde-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-perl-dcop +Summary: DCOP Bindings for Perl +Group: Development/Libraries + +Obsoletes: trinity-kdebindings-dcopperl < %{version}-%{release} +Provides: trinity-kdebindings-dcopperl = %{version}-%{release} + +%description -n trinity-perl-dcop +Perl bindings to the DCOP interprocess communication protocol used by TDE + +%files -n trinity-perl-dcop +%defattr(-,root,root,-) +%{perl_vendorarch}/auto/DCOP/* +%{perl_vendorarch}/DCOP.pm +%{perl_vendorarch}/DCOP/* +%doc dcopperl/AUTHORS dcopperl/Changes dcopperl/README dcopperl/TODO +%{tde_mandir}/man3/DCOP.3pm* + +########## + +%package -n trinity-python-dcop +Summary: DCOP bindings for Python +Group: Environment/Libraries +Requires: python +#Provides: %{name}-dcoppython = %{version}-%{release} + +%description -n trinity-python-dcop +This package contains the shared libraries necessary to run and +develop Python programs using the Python DCOP bindings +libraries. DCOP is the TDE Desktop COmmunications Protocol, used for +communicating with running TDE applications. + +This package is part of the official TDE bindings module. + +%files -n trinity-python-dcop +%defattr(-,root,root,-) +%{python_sitearch}/pcop.la +%{python_sitearch}/pcop.so +%{python_sitearch}/pydcop.py* + +########## + +%package -n trinity-libkjsembed1 +Summary: Embedded JavaScript library +Group: Environment/Libraries + +%description -n trinity-libkjsembed1 +This package contains the shared libraries necessary to run programs +linked with the KJSEmbed library. This library provides JavaScript +embedded scripting facilities to TDE applications. + +This package is part of the official TDE bindings module. + +%files -n trinity-libkjsembed1 +%defattr(-,root,root,-) +%{tde_libdir}/libkjsembed.so.* +%{tde_tdelibdir}/libimagefxplugin.la +%{tde_tdelibdir}/libimagefxplugin.so +%{tde_datadir}/services/imagefx_plugin.desktop +%{tde_tdelibdir}/libqprocessplugin.so +%{tde_tdelibdir}/libqprocessplugin.la +%{tde_datadir}/services/qprocess_plugin.desktop +%{tde_tdelibdir}/libfileitemplugin.la +%{tde_tdelibdir}/libfileitemplugin.so +%{tde_datadir}/services/kfileitem_plugin.desktop +%{tde_datadir}/apps/kjsembed/cmdline.js +%{tde_datadir}/servicetypes/binding_type.desktop +%{tde_bindir}/embedjs +%{tde_datadir}/apps/embedjs/embedjsui.rc +%{tde_datadir}/applnk/Utilities/embedjs.desktop +%{tde_datadir}/icons/hicolor/16x16/apps/embedjs.png +%{tde_datadir}/icons/hicolor/32x32/apps/embedjs.png +%{tde_tdelibdir}/libjavascript.la +%{tde_tdelibdir}/libjavascript.so +%{tde_datadir}/apps/kate/scripts/swaptabs.js +%{tde_datadir}/apps/kate/scripts/swaptabs.ui +%{tde_datadir}/apps/kate/scripts/swaptabs.desktop +%{tde_datadir}/services/javascript.desktop +%doc kjsembed/docs/ChangeLog + +%post -n trinity-libkjsembed1 +/sbin/ldconfig ||: +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database >& /dev/null ||: + +%postun -n trinity-libkjsembed1 +/sbin/ldconfig ||: +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database >& /dev/null ||: + +########## + +%package -n trinity-libkjsembed-devel +Summary: Embedded JavaScript library (Development files) +Group: Development/Libraries +Requires: trinity-libkjsembed1 = %{version}-%{release} + +%description -n trinity-libkjsembed-devel +This package contains the header files and symbolic links necessary +to develop and compile programs using the KJSEmbed library. This +library provides JavaScript embedded scripting facilities to TDE +applications. + +It also includes lots of example programs that make use of these +bindings, plus comprehensive documentation of the bindings. + +This package is part of the official TDE bindings module. + +%files -n trinity-libkjsembed-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kjsembed/ +%{tde_libdir}/libkjsembed.so +%{tde_libdir}/libkjsembed.la +%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ + +%post -n trinity-libkjsembed-devel +/sbin/ldconfig || : + +%postun -n trinity-libkjsembed-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-kjscmd +Summary: A script interpreter using the TDE JavaScript library +Group: Environment/Libraries + +%description -n trinity-kjscmd +This package contains the kjscmd program, which is a standalone +JavaScript interpreter using the KJSEmbed library. + +This package is part of the official TDE bindings module. + +%files -n trinity-kjscmd +%defattr(-,root,root,-) +%{tde_bindir}/kjscmd +%{tde_tdeappdir}/kjscmd.desktop +%{tde_mandir}/man1/kjscmd.* +%{tde_tdelibdir}/libjsconsoleplugin.la +%{tde_tdelibdir}/libjsconsoleplugin.so + +%post -n trinity-kjscmd +update-desktop-database >& /dev/null ||: + +%postun -n trinity-kjscmd +update-desktop-database >& /dev/null ||: + +########## + +%package -n trinity-juic +Summary: The Qt Java UI Compiler +Group: Environment/Libraries +Requires: trinity-libqt3-java = %{version}-%{release} + +%description -n trinity-juic +This package contains the juic program, which is used to convert +a UI description file generated by the Qt Designer, and converts +it into a Qt Java class. It is necessary for compiling and +developing programs using the Qt Java bindings together with Qt +Designer. + +This package is part of the official TDE bindings module. + +%files -n trinity-juic +%defattr(-,root,root,-) +%{tde_bindir}/juic +%{tde_datadir}/juic/ + +########## + +%package -n trinity-libkorundum0-ruby +Summary: TDE bindings for Ruby [Trinity] +Group: Environment/Libraries +Requires: trinity-libqt0-ruby = %{version}-%{release} + +%description -n trinity-libkorundum0-ruby +This package contains the files necessary for running and developing +Ruby code using the Korundum TDE Ruby bindings. + +It also includes some example programs and templates that make use of +these bindings. + +This package is part of the official TDE bindings module. + +%files -n trinity-libkorundum0-ruby +%defattr(-,root,root,-) +%{tde_bindir}/rbkdesh +%{tde_bindir}/rbkdeapi +%{tde_bindir}/krubyinit +%{tde_bindir}/rbkconfig_compiler +%{ruby_rubylibdir}/Korundum.rb +%{ruby_rubylibdir}/KDE/korundum.rb +%{ruby_arch}/korundum.la +%{ruby_arch}/korundum.so* +%doc korundum/ChangeLog + +%post -n trinity-libkorundum0-ruby +/sbin/ldconfig || : + +%postun -n trinity-libkorundum0-ruby +/sbin/ldconfig || : + +########## + +%package -n trinity-libqt0-ruby +Summary: Qt bindings for Ruby [Trinity] +Group: Environment/Libraries +Requires: ruby + +%description -n trinity-libqt0-ruby +This package contains the files necessary for running and developing +Ruby code using the Qt Ruby bindings. + +It also includes some example programs that make use of these bindings, +plus many of the Qt Tutorial examples translated into Ruby. + +This package is part of the official TDE bindings module. + +%files -n trinity-libqt0-ruby +%defattr(-,root,root,-) +%{tde_bindir}/rbqtsh +%{tde_bindir}/rbqtapi +%{tde_bindir}/rbuic +%{tde_bindir}/qtrubyinit +%{ruby_rubylibdir}/Qt/qtruby.rb +%{ruby_rubylibdir}/Qt.rb +%{ruby_arch}/qtruby.so* +%{ruby_arch}/qtruby.la +%{ruby_arch}/qui.so* +%{ruby_arch}/qui.la +%doc qtruby/ChangeLog + +%post -n trinity-libqt0-ruby +/sbin/ldconfig || : + +%postun -n trinity-libqt0-ruby +/sbin/ldconfig || : + +########## + +%if 0 +%package -n trinity-kmozilla +Summary: Kmozilla for TDE +Group: Environment/Libraries + +%description -n trinity-kmozilla +%{summary} + +%files -n trinity-kmozilla +%defattr(-,root,root,-) +%{tde_bindir}/kmozilla +%{tde_libdir}/libkmozillapart.so.* +%{tde_libdir}/libkmozillapart.so +%{tde_libdir}/libkmozillapart.la +%{tde_datadir}/services/kmozilla.desktop +%endif + +########## + +%package -n trinity-xpart-notepad +Summary: A small XPart editor +Group: Applications/Utilities + +%description -n trinity-xpart-notepad +xpart_notepad is a small XPart editor. Use it to understand how to use XPart. + +%files -n trinity-xpart-notepad +%defattr(-,root,root,-) +%{tde_bindir}/shell_xparthost +%{tde_bindir}/xp_notepad +%{tde_libdir}/libxp_notepadpart.la +%{tde_libdir}/libxp_notepadpart.so +%{tde_libdir}/libxp_notepadpart.so.* +%{tde_datadir}/services/xp_notepad.desktop +%doc xparts/xpart_notepad/README + +%post -n trinity-xpart-notepad +/sbin/ldconfig || : + +%postun -n trinity-xpart-notepad +/sbin/ldconfig || : + +########## + +%if 0%{?with_gtk1} +%package -n trinity-libgtkxparts1 +Summary: Xparts library for GTK +Group: Environment/Libraries + +%description -n trinity-libgtkxparts1 +%{summary} + +%files -n trinity-libgtkxparts1 +%defattr(-,root,root,-) +%{tde_libdir}/libgtkxparts.so.* +%{tde_libdir}/libgtkxparts.la + +%post -n trinity-libgtkxparts1 +/sbin/ldconfig || : + +%postun -n trinity-libgtkxparts1 +/sbin/ldconfig || : +%endif + +########## + +%package -n trinity-libkdexparts1 +Summary: Xparts library for KDE +Group: Environment/Libraries + +%description -n trinity-libkdexparts1 +%{summary} + +%files -n trinity-libkdexparts1 +%defattr(-,root,root,-) +%{tde_libdir}/libkdexparts.so.* +%{tde_libdir}/libkdexparts.la + +%post -n trinity-libkdexparts1 +/sbin/ldconfig || : + +%postun -n trinity-libkdexparts1 +/sbin/ldconfig || : + +########## + +%package -n trinity-libxparts-devel +Summary: Xparts development files +Group: Development/Libraries +%if 0%{?with_gtk1} +Requires: trinity-libgtkxparts1 = %{version}-%{release} +%endif +Requires: trinity-libkdexparts1 = %{version}-%{release} + +%description -n trinity-libxparts-devel +%{summary} + +%files -n trinity-libxparts-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/xkparts/ +%if 0%{?with_gtk1} +%{tde_libdir}/libgtkxparts.so +%endif +%{tde_libdir}/libkdexparts.so + +%post -n trinity-libxparts-devel +/sbin/ldconfig || : + +%postun -n trinity-libxparts-devel +/sbin/ldconfig || : + +########## + +%package xparts-extras +Summary: Extra xparts for TDE [Trinity] +Group: Environment/Libraries + +# Metapckage requires +Requires: trinity-xpart-notepad = %{version}-%{release} +%if 0%{?with_gtk1} +Requires: trinity-libgtkxparts1 = %{version}-%{release} +%endif +Requires: trinity-libkdexparts1 = %{version}-%{release} +Requires: trinity-libdcop-c = %{version}-%{release} + +%description xparts-extras +This package contains extra xparts-based modules for Trinity +This includes the mozilla-konqueror plugin + +This package is part of the official TDE bindings module. + +%files xparts-extras +%defattr(-,root,root,-) + +########### + +%package -n trinity-libdcop-c +Summary: DCOP bindings for C [Trinity] +Group: Environment/Libraries + +%description -n trinity-libdcop-c +%{summary} + +%files -n trinity-libdcop-c +%defattr(-,root,root,-) +%{tde_libdir}/libdcopc.so.* + +%post -n trinity-libdcop-c +/sbin/ldconfig || : + +%postun -n trinity-libdcop-c +/sbin/ldconfig || : + +########### + +%package -n trinity-libdcop-c-devel +Summary: DCOP bindings for C, development files [Trinity] +Group: Development/Libraries +Requires: trinity-libdcop-c = %{version}-%{release} + +%description -n trinity-libdcop-c-devel +%{summary} + +%files -n trinity-libdcop-c-devel +%defattr(-,root,root,-) +%{tde_libdir}/libdcopc.so +%{tde_libdir}/libdcopc.la +%{tde_tdeincludedir}/dcopc/ + +%post -n trinity-libdcop-c-devel +/sbin/ldconfig || : + +%postun -n trinity-libdcop-c-devel +/sbin/ldconfig || : + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: trinity-tdelibs-devel + +Obsoletes: trinity-kdebindings-devel < %{version}-%{release} +Provides: trinity-kdebindings-devel = %{version}-%{release} + +# Metapackage +Requires: trinity-libsmokeqt-devel = %{version}-%{release} +Requires: trinity-libdcop3-java-devel = %{version}-%{release} +Requires: trinity-libsmokekde-devel = %{version}-%{release} +Requires: trinity-libkjsembed-devel = %{version}-%{release} +Requires: trinity-libxparts-devel = %{version}-%{release} +Requires: trinity-libdcop-c-devel = %{version}-%{release} +Requires: trinity-libqt3-jni-devel = %{version}-%{release} +Requires: trinity-libtrinity-jni-devel = %{version}-%{release} + +%description devel +Development files for the TDE bindings. + +%files devel + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} +%patch7 -p1 -b .dcopjavaldflags + +%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 +%patch18 -p1 -b .ruby +%endif + +# Workarounds strange issue in MGA3 +%if 0%{?mgaversion} == 3 || 0%{?pclinuxos} >= 2013 +%__cp /usr/share/automake-1.13/test-driver admin/ +%endif + +# Disable kmozilla, it does not build with recent xulrunner (missing 'libmozjs.so') +%__sed -i "xparts/Makefile.am" \ + -e "s|SUBDIRS = .*|SUBDIRS = src xpart_notepad|" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +unset JAVA_HOME ||: +%{?java_home:JAVA_HOME=%{java_home}; export JAVA_HOME} + +# sip/PyQt/PyKDE built separately, not here +export DO_NOT_COMPILE="$DO_NOT_COMPILE python" + +# Specific path for RHEL4 +if [ -d /usr/X11R6 ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi +if [ -d /usr/evolution28 ]; then + export PATH="/usr/evolution28/bin:${PATH}" + export PKG_CONFIG_PATH="/usr/evolution28/%{_lib}/pkgconfig:${PKG_CONFIG_PATH}" +fi + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --docdir=%{tde_docdir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --enable-new-ldflags \ + --disable-debug --disable-warnings \ + --disable-dependency-tracking \ + --with-extra-libs=%{tde_libdir} \ + --with-pythondir=%{_usr} \ + --enable-closure \ + --enable-final \ + %{?_with_java} %{!?_with_java:--without-java} \ + %{?_enable_qscintilla} %{!?_enable_qscintilla:--disable-qscintilla} \ + --with-extra-includes=%{tde_includedir}/tqt + +pushd dcopperl +CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor + +# Ugly hack to add TQT include directory in Makefile +# Also modifies the man pages directory +sed -i Makefile \ + -e "s|^\(INC = .*\)|\1 -I%{tde_includedir}/tqt|" \ + -e "s|/usr/share/man|%{tde_mandir}|g" + +%__make OPTIMIZE="$RPM_OPT_FLAGS" ||: +popd + +# smoke (not smp-safe) +%__make -C smoke + +# The rest is smp-safe +%__make %{?_smp_mflags} PYTHON=%{__python} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf $RPM_BUILD_ROOT + +%__make install DESTDIR=%{?buildroot} \ + PYTHON=%{__python} + +# Removes some perl files +find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \ + -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';' + +# locale's +%find_lang %{name} || touch %{name}.lang +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then +for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi +done +fi + +# Installs juic +%__install -D -m 755 qtjava/designer/juic/bin/juic %{?buildroot}%{tde_bindir}/juic +%__install -d -m 755 %{?buildroot}%{tde_datadir}/juic/common +%__install qtjava/designer/juic/common/*.xml %{?buildroot}%{tde_datadir}/juic/common +%__install qtjava/designer/juic/common/*.xsl %{?buildroot}%{tde_datadir}/juic/common +%__install -d -m 755 %{?buildroot}%{tde_datadir}/juic/java +%__install qtjava/designer/juic/java/*.xml %{?buildroot}%{tde_datadir}/juic/java +%__install qtjava/designer/juic/java/*.xsl %{?buildroot}%{tde_datadir}/juic/java +%__install qtjava/designer/juic/juic.xsl %{?buildroot}%{tde_datadir}/juic + +# kjsembed sample files +%__install -d -m 755 %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install kjsembed/plugins/customobject_plugin.cpp %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install kjsembed/plugins/customobject_plugin.h %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install kjsembed/plugins/customobject_plugin.desktop %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install kjsembed/plugins/customqobject_plugin.cpp %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install kjsembed/plugins/customqobject_plugin.h %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install kjsembed/plugins/customqobject_plugin.desktop %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ + + +# Man installation location is wrong on RHEL4... +if [ -d "%{buildroot}%{_mandir}/man3" ]; then + mv -f %{buildroot}%{_mandir}/man3 %{buildroot}%{tde_mandir}/man3/ + rm -rf %{buildroot}%{_mandir} +fi + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 +- Initial release for TDE 3.5.13.2 diff --git a/redhat/tdebindings/tdebindings-3.5.13.2.spec b/redhat/tdebindings/tdebindings-3.5.13.2.spec new file mode 100644 index 000000000..da5536070 --- /dev/null +++ b/redhat/tdebindings/tdebindings-3.5.13.2.spec @@ -0,0 +1,1112 @@ +# Special note for RHEL4: +# You must create symlink 'libgcj.so' manually because it does not exist by default. +# E.g: +# ln -s /usr/lib/libgcj.so.5.0.0 /usr/lib/jvm/java/lib/libgcj.so +# or 64 bits: +# ln -s /usr/lib64/libgcj.so.5.0.0 /usr/lib/jvm/java/lib/libgcj.so + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +# RHEL4 specific +Source91: filter-requires.sh +%if 0%{?rhel} == 4 +%define _use_internal_dependency_generator 0 +%define __find_requires sh %{SOURCE91} +%endif + +Name: trinity-tdebindings +Summary: TDE bindings to non-C++ languages +Version: 3.5.13.2 +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} + +License: GPLv2 +Group: User Interface/Desktops + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz + +# [kdebindings] Fix FTBFS in dcopjava/bindings +Patch7: kdebindings-3.5.13.1-fix_dcopjava_ldflags.patch + +# [tdebindings] Function 'rb_frame_this_func' does not exist in RHEL5 +Patch18: kdebindings-3.5.13.1-fix_rhel5_ftbfs.patch + +BuildRequires: autoconf automake libtool m4 +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} + +BuildRequires: desktop-file-utils +BuildRequires: zlib-devel +BuildRequires: perl(ExtUtils::MakeMaker) + +# GTK2 support +%if 0%{?rhel} == 4 +BuildRequires: evolution28-gtk2-devel +Requires: evolution28-gtk2 +BuildRequires: evolution28-glib2-devel +Requires: evolution28-glib2 +BuildRequires: evolution28-cairo-devel +Requires: evolution28-cairo +BuildRequires: evolution28-pango-devel +Requires: evolution28-pango +BuildRequires: evolution28-atk-devel +Requires: evolution28-atk +%else +BuildRequires: gtk2-devel +%endif + +# XULRUNNER support +%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} >= 1220 +BuildRequires: xulrunner-devel +%endif +%if 0%{?suse_version} == 1140 +BuildRequires: mozilla-xulrunner20-devel +%endif + +# GTK1 support +%if 0%{?fedora} || 0%{?rhel} +%define with_gtk1 1 +BuildRequires: glib-devel +BuildRequires: gtk+-devel +%endif +%if 0%{?mdkversion} == 201100 +%define with_gtk1 1 +BuildRequires: %{_lib}glib1.2-devel +BuildRequires: %{_lib}gtk+-devel +%endif + +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} +BuildRequires: libgdk_pixbuf2.0-devel +%else +BuildRequires: %{_lib}gdk_pixbuf2.0-devel +%endif +%else +%if 0%{?fedora} >= 17 +BuildRequires: gdk-pixbuf2-devel +%else +BuildRequires: gdk-pixbuf-devel +%endif +%endif + + +## Python +BuildRequires: python-devel +%define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)") + +## ruby +BuildRequires: ruby-devel >= 1.8, ruby +%{!?ruby_arch: %define ruby_arch %(ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]')} +%{!?ruby_rubylibdir: %define ruby_rubylibdir %(ruby -rrbconfig -e 'puts Config::CONFIG["rubylibdir"]')} +# Ruby 1.9 includes are located in strance directories ... (taken from ruby 1.9 spec file) +%global _normalized_cpu %(echo %{_target_cpu} | sed 's/^ppc/powerpc/;s/i.86/i386/;s/sparcv./sparc/;s/armv.*/arm/') + +## java +%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 +BuildRequires: java-1.4.2-gcj-compat-devel +BuildRequires: libgcj-devel +BuildRequires: gcc-java +%endif + +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} + +# PCLinuxOS use SUN's Java +%if 0%{?pclinuxos} +BuildRequires: java-1.6.0-sun +BuildRequires: java-1.6.0-sun-devel +%else + +# Others use OpenJDK +BuildRequires: java-openjdk +BuildRequires: java-devel >= 1.4.2 +%if 0%{?fedora} >= 17 || 0%{?suse_version} >= 1220 || 0%{?mgaversion} >= 3 +BuildRequires: java-1.7.0-openjdk-devel +%else +BuildRequires: java-1.6.0-openjdk-devel +%endif + +%endif +%endif + +%if 0%{?suse_version} +%define java_home %{_usr}/%{_lib}/jvm/java +%else +%if 0%{?rhel} == 4 +%define java_home %{_usr}/lib/jvm/java-1.4.2-gcj-1.4.2.0 +%else +%define java_home %{_usr}/lib/jvm/java +%endif +%endif +%define _with_java --with-java=%{java_home} + +## Perl +# There is no 'perl-devel' package on RHEL5 +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} +BuildRequires: perl-devel +%endif +%define perl_vendorarch %{expand:%%(eval `perl -V:installvendorarch`; echo $installvendorarch)} + + +Obsoletes: trinity-kdebindings < %{version}-%{release} +Provides: trinity-kdebindings = %{version}-%{release} + +# Metapackage requires +Requires: trinity-tdebindings-java = %{version}-%{release} +Requires: trinity-libsmokeqt1 = %{version}-%{release} +Requires: trinity-libsmokekde1 = %{version}-%{release} +Requires: trinity-perl-dcop = %{version}-%{release} +Requires: trinity-python-dcop = %{version}-%{release} +Requires: trinity-libkjsembed1 = %{version}-%{release} +Requires: trinity-kjscmd = %{version}-%{release} +Requires: trinity-juic = %{version}-%{release} +Requires: trinity-libkorundum0-ruby = %{version}-%{release} +Requires: trinity-libqt0-ruby = %{version}-%{release} + + +%description +TDE/DCOP bindings to non-C++ languages + +%files + +########## + +%package java +Summary: TDE Java bindings metapackage [Trinity] +Group: Environment/Libraries +Requires: trinity-libdcop3-java = %{version}-%{release} +Requires: trinity-libdcop3-jni = %{version}-%{release} +Requires: trinity-libqt3-java = %{version}-%{release} +Requires: trinity-libqt3-jni = %{version}-%{release} +Requires: trinity-libtrinity-java = %{version}-%{release} +Requires: trinity-libtrinity-jni = %{version}-%{release} + +%description java +A metapackage depending on all TDE, Qt and DCOP bindings libraries +related to the Java language. + +This package is part of the official TDE bindings module. + +%files java +%defattr(-,root,root,-) + +########## + +%package -n trinity-libdcop3-java +Summary: DCOP bindings for Java [Trinity] +Group: Environment/Libraries + +Requires: trinity-libdcop3-jni = %{version}-%{release} + +%description -n trinity-libdcop3-java +This package contains the Java classes necessary to run Java programs +using the Java DCOP bindings. DCOP is the TDE Desktop COmmunications +Protocol, used for communicating with running TDE applications. + +This package is part of the official TDE bindings module. + +%files -n trinity-libdcop3-java +%defattr(-,root,root,-) +#%{tde_datadir}/java/dcopjava*.jar +%{tde_libdir}/java/org/kde/DCOP/*.class + +########## + +%package -n trinity-libdcop3-java-devel +Summary: DCOP bindings for Java (dcopidl2java program) [Trinity] +Group: Development/Libraries +Requires: trinity-libdcop3-java = %{version}-%{release} + +%description -n trinity-libdcop3-java-devel +This package contains the dcopidl2java program which generates Java +stubs from DCOP IDL files, necessary to do development with the DCOP Java +bindings. DCOP is the TDE Desktop COmmunications Protocol, used for +communicating with running TDE applications. + +This package is part of the official TDE bindings module. + +%files -n trinity-libdcop3-java-devel +%defattr(-,root,root,-) +%{tde_bindir}/dcopidl2java + +########## + +%package -n trinity-libdcop3-jni +Summary: DCOP bindings for Java ( Native libraries ) [Trinity] +Group: Environment/Libraries + +%description -n trinity-libdcop3-jni +This package contains the shared libraries and scripts necessary to +run programs using the Java DCOP bindings. DCOP is the TDE Desktop +COmmunications Protocol, used for communicating with running TDE +applications. + +This package is part of the official TDE bindings module. + +%files -n trinity-libdcop3-jni +%defattr(-,root,root,-) +%{tde_libdir}/libjavadcop.la +%{tde_libdir}/libjavadcop.so + +%post -n trinity-libdcop3-jni +/sbin/ldconfig || : + +%postun -n trinity-libdcop3-jni +/sbin/ldconfig || : + +########## + +%package -n trinity-libqt3-java +Summary: Java bindings for Qt [Trinity] +Group: Environment/Libraries +Requires: trinity-libdcop3-jni = %{version}-%{release} +Requires: trinity-libqt3-jni = %{version}-%{release} +Requires: trinity-juic = %{version}-%{release} + +%description -n trinity-libqt3-java +This package contains the Java classes necessary to run Java programs +using the Java Qt bindings. Qt is a very popular GUI toolkit, used by +the TDE desktop environment. + +It also includes many example programs that make use of these bindings, +plus many of the Qt Tutorial examples translated into Java. + +This package is part of the official TDE bindings module. + +%files -n trinity-libqt3-java +%defattr(-,root,root,-) +%{tde_libdir}/java/qtjava*.jar +%{tde_tdedocdir}/HTML/en/javalib/ + +########## + +%package -n trinity-libqt3-jni +Summary: Java bindings for Qt ( Native libraries ) [Trinity] +Group: Environment/Libraries + +%description -n trinity-libqt3-jni +This package contains the shared libraries necessary to run Java +programs using the Java Qt bindings. Qt is a very popular GUI +toolkit, used by the TDE desktop environment. + +This package is part of the official TDE bindings module. + +%files -n trinity-libqt3-jni +%defattr(-,root,root,-) +%{tde_libdir}/libqtjavasupport.la +%{tde_libdir}/libqtjavasupport.so.* +%{tde_libdir}/jni/libqtjava.la +%{tde_libdir}/jni/libqtjava.so.* +%doc qtjava/ChangeLog + +########## + +%package -n trinity-libqt3-jni-devel +Summary: Development files fo Java bindings for Qt ( Native libraries ) [Trinity] +Group: Development/Libraries +Requires: trinity-libqt3-jni = %{version}-%{release} + +%description -n trinity-libqt3-jni-devel +This package contains the development files for trinity-libqt3-jni. + +This package is part of the official TDE bindings module. + +%files -n trinity-libqt3-jni-devel +%defattr(-,root,root,-) +%{tde_libdir}/libqtjavasupport.so +%{tde_libdir}/jni/libqtjava.so + +########## + +%package -n trinity-libtrinity-java +Summary: tdelibs bindings for Java [Trinity] +Group: Environment/Libraries + +Requires: trinity-libtrinity-jni = %{version}-%{release} + +%description -n trinity-libtrinity-java +This package contains the Java classes necessary to run Java programs +using the Java tdelibs bindings. TDE is the Trinity Desktop Environment, a +very popular UNIX Desktop Environment. + +It also includes some example applications that use these Java +classes, and multiple usage samples of the most common TDE classes. + +This package is part of the official TDE bindings module. + +%files -n trinity-libtrinity-java +%defattr(-,root,root,-) +%{tde_libdir}/java/koala*.jar + +########## + +%package -n trinity-libtrinity-jni +Summary: tdelibs bindings for java ( Native libraries ) [Trinity] +Group: Environment/Libraries + +%description -n trinity-libtrinity-jni +This package contains the shared libraries necessary to run Java +programs using the Java tdelibs bindings. TDE is the Trinity Desktop +Environment, a very popular UNIX Desktop Environment. + +This package is part of the official TDE bindings module. + +%files -n trinity-libtrinity-jni +%defattr(-,root,root,-) +%{tde_libdir}/jni/libkdejava.la +%{tde_libdir}/jni/libkdejava.so.* +%doc kdejava/ChangeLog + +########## + +%package -n trinity-libtrinity-jni-devel +Summary: Development files for tdelibs bindings for java ( Native libraries ) [Trinity] +Group: Development/Libraries +Requires: trinity-libtrinity-jni = %{version}-%{release} + +%description -n trinity-libtrinity-jni-devel +This package contains the development files for trinity-libtrinity-jni. + +This package is part of the official TDE bindings module. + +%files -n trinity-libtrinity-jni-devel +%defattr(-,root,root,-) +%{tde_libdir}/jni/libkdejava.so + +########## + +%package -n trinity-libsmokeqt1 +Summary: SMOKE Binding Library to Qt +Group: Environment/Libraries + +%description -n trinity-libsmokeqt1 +The "Scripting Meta Object Kompiler Engine" library is used by +various TDE language bindings packages to provide interfaces to the +Qt library. + +This package is part of the official TDE bindings module. + +%files -n trinity-libsmokeqt1 +%defattr(-,root,root,-) +%{tde_libdir}/libsmokeqt.so.* + +%post -n trinity-libsmokeqt1 +/sbin/ldconfig || : + +%postun -n trinity-libsmokeqt1 +/sbin/ldconfig || : + +########## + +%package -n trinity-libsmokeqt-devel +Summary: SMOKE Binding Library to Qt - Development Files +Group: Development/Libraries +Requires: trinity-libsmokeqt1 = %{version}-%{release} + +%description -n trinity-libsmokeqt-devel +The "Scripting Meta Object Kompiler Engine" library is used by +various TDE language bindings packages to provide interfaces to the +Qt library. This package contains the development files for the +library. + +If you are a normal user, you probably don't need this +package. + +This package is part of the official TDE bindings module. + +%files -n trinity-libsmokeqt-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/smoke.h +%{tde_libdir}/libsmokeqt.so +%{tde_libdir}/libsmokeqt.la + +%post -n trinity-libsmokeqt-devel +/sbin/ldconfig || : + +%postun -n trinity-libsmokeqt-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libsmokekde1 +Summary: SMOKE Binding Library to TDE +Group: Environment/Libraries + +%description -n trinity-libsmokekde1 +The "Scripting Meta Object Kompiler Engine" library is used by +various TDE language bindings packages to provide interfaces to the +TDE libraries. + +This package is part of the official TDE bindings module. + +%files -n trinity-libsmokekde1 +%defattr(-,root,root,-) +%{tde_libdir}/libsmokekde.so.* + +%post -n trinity-libsmokekde1 +/sbin/ldconfig || : + +%postun -n trinity-libsmokekde1 +/sbin/ldconfig || : + +########## + +%package -n trinity-libsmokekde-devel +Summary: SMOKE Binding Library to TDE - Development Files +Group: Development/Libraries +Requires: trinity-libsmokekde1 = %{version}-%{release} + +%description -n trinity-libsmokekde-devel +The "Scripting Meta Object Kompiler Engine" library is used by +various TDE language bindings packages to provide interfaces to the +Qt and TDE libraries. This package contains the development files for +the library. + +If you are a normal user, you probably don't need this +package. + +This package is part of the official TDE bindings module. + +%files -n trinity-libsmokekde-devel +%defattr(-,root,root,-) +%{tde_libdir}/libsmokekde.so +%{tde_libdir}/libsmokekde.la + +%post -n trinity-libsmokekde-devel +/sbin/ldconfig || : + +%postun -n trinity-libsmokekde-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-perl-dcop +Summary: DCOP Bindings for Perl +Group: Development/Libraries + +Obsoletes: trinity-kdebindings-dcopperl < %{version}-%{release} +Provides: trinity-kdebindings-dcopperl = %{version}-%{release} + +%description -n trinity-perl-dcop +Perl bindings to the DCOP interprocess communication protocol used by TDE + +%files -n trinity-perl-dcop +%defattr(-,root,root,-) +%{perl_vendorarch}/auto/DCOP/* +%{perl_vendorarch}/DCOP.pm +%{perl_vendorarch}/DCOP/* +%doc dcopperl/AUTHORS dcopperl/Changes dcopperl/README dcopperl/TODO +%{tde_mandir}/man3/DCOP.3pm* + +########## + +%package -n trinity-python-dcop +Summary: DCOP bindings for Python +Group: Environment/Libraries +Requires: python +#Provides: %{name}-dcoppython = %{version}-%{release} + +%description -n trinity-python-dcop +This package contains the shared libraries necessary to run and +develop Python programs using the Python DCOP bindings +libraries. DCOP is the TDE Desktop COmmunications Protocol, used for +communicating with running TDE applications. + +This package is part of the official TDE bindings module. + +%files -n trinity-python-dcop +%defattr(-,root,root,-) +%{python_sitearch}/pcop.la +%{python_sitearch}/pcop.so +%{python_sitearch}/pydcop.py* + +########## + +%package -n trinity-libkjsembed1 +Summary: Embedded JavaScript library +Group: Environment/Libraries + +%description -n trinity-libkjsembed1 +This package contains the shared libraries necessary to run programs +linked with the KJSEmbed library. This library provides JavaScript +embedded scripting facilities to TDE applications. + +This package is part of the official TDE bindings module. + +%files -n trinity-libkjsembed1 +%defattr(-,root,root,-) +%{tde_libdir}/libkjsembed.so.* +%{tde_tdelibdir}/libimagefxplugin.la +%{tde_tdelibdir}/libimagefxplugin.so +%{tde_datadir}/services/imagefx_plugin.desktop +%{tde_tdelibdir}/libqprocessplugin.so +%{tde_tdelibdir}/libqprocessplugin.la +%{tde_datadir}/services/qprocess_plugin.desktop +%{tde_tdelibdir}/libfileitemplugin.la +%{tde_tdelibdir}/libfileitemplugin.so +%{tde_datadir}/services/kfileitem_plugin.desktop +%{tde_datadir}/apps/kjsembed/cmdline.js +%{tde_datadir}/servicetypes/binding_type.desktop +%{tde_bindir}/embedjs +%{tde_datadir}/apps/embedjs/embedjsui.rc +%{tde_datadir}/applnk/Utilities/embedjs.desktop +%{tde_datadir}/icons/hicolor/16x16/apps/embedjs.png +%{tde_datadir}/icons/hicolor/32x32/apps/embedjs.png +%{tde_tdelibdir}/libjavascript.la +%{tde_tdelibdir}/libjavascript.so +%{tde_datadir}/apps/kate/scripts/swaptabs.js +%{tde_datadir}/apps/kate/scripts/swaptabs.ui +%{tde_datadir}/apps/kate/scripts/swaptabs.desktop +%{tde_datadir}/services/javascript.desktop +%doc kjsembed/docs/ChangeLog + +%post -n trinity-libkjsembed1 +/sbin/ldconfig ||: +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database >& /dev/null ||: + +%postun -n trinity-libkjsembed1 +/sbin/ldconfig ||: +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database >& /dev/null ||: + +########## + +%package -n trinity-libkjsembed-devel +Summary: Embedded JavaScript library (Development files) +Group: Development/Libraries +Requires: trinity-libkjsembed1 = %{version}-%{release} + +%description -n trinity-libkjsembed-devel +This package contains the header files and symbolic links necessary +to develop and compile programs using the KJSEmbed library. This +library provides JavaScript embedded scripting facilities to TDE +applications. + +It also includes lots of example programs that make use of these +bindings, plus comprehensive documentation of the bindings. + +This package is part of the official TDE bindings module. + +%files -n trinity-libkjsembed-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kjsembed/ +%{tde_libdir}/libkjsembed.so +%{tde_libdir}/libkjsembed.la +%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ + +%post -n trinity-libkjsembed-devel +/sbin/ldconfig || : + +%postun -n trinity-libkjsembed-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-kjscmd +Summary: A script interpreter using the TDE JavaScript library +Group: Environment/Libraries + +%description -n trinity-kjscmd +This package contains the kjscmd program, which is a standalone +JavaScript interpreter using the KJSEmbed library. + +This package is part of the official TDE bindings module. + +%files -n trinity-kjscmd +%defattr(-,root,root,-) +%{tde_bindir}/kjscmd +%{tde_tdeappdir}/kjscmd.desktop +%{tde_mandir}/man1/kjscmd.* +%{tde_tdelibdir}/libjsconsoleplugin.la +%{tde_tdelibdir}/libjsconsoleplugin.so + +%post -n trinity-kjscmd +update-desktop-database >& /dev/null ||: + +%postun -n trinity-kjscmd +update-desktop-database >& /dev/null ||: + +########## + +%package -n trinity-juic +Summary: The Qt Java UI Compiler +Group: Environment/Libraries +Requires: trinity-libqt3-java = %{version}-%{release} + +%description -n trinity-juic +This package contains the juic program, which is used to convert +a UI description file generated by the Qt Designer, and converts +it into a Qt Java class. It is necessary for compiling and +developing programs using the Qt Java bindings together with Qt +Designer. + +This package is part of the official TDE bindings module. + +%files -n trinity-juic +%defattr(-,root,root,-) +%{tde_bindir}/juic +%{tde_datadir}/juic/ + +########## + +%package -n trinity-libkorundum0-ruby +Summary: TDE bindings for Ruby [Trinity] +Group: Environment/Libraries +Requires: trinity-libqt0-ruby = %{version}-%{release} + +%description -n trinity-libkorundum0-ruby +This package contains the files necessary for running and developing +Ruby code using the Korundum TDE Ruby bindings. + +It also includes some example programs and templates that make use of +these bindings. + +This package is part of the official TDE bindings module. + +%files -n trinity-libkorundum0-ruby +%defattr(-,root,root,-) +%{tde_bindir}/rbkdesh +%{tde_bindir}/rbkdeapi +%{tde_bindir}/krubyinit +%{tde_bindir}/rbkconfig_compiler +%{ruby_rubylibdir}/Korundum.rb +%{ruby_rubylibdir}/KDE/korundum.rb +%{ruby_arch}/korundum.la +%{ruby_arch}/korundum.so* +%doc korundum/ChangeLog + +%post -n trinity-libkorundum0-ruby +/sbin/ldconfig || : + +%postun -n trinity-libkorundum0-ruby +/sbin/ldconfig || : + +########## + +%package -n trinity-libqt0-ruby +Summary: Qt bindings for Ruby [Trinity] +Group: Environment/Libraries +Requires: ruby + +%description -n trinity-libqt0-ruby +This package contains the files necessary for running and developing +Ruby code using the Qt Ruby bindings. + +It also includes some example programs that make use of these bindings, +plus many of the Qt Tutorial examples translated into Ruby. + +This package is part of the official TDE bindings module. + +%files -n trinity-libqt0-ruby +%defattr(-,root,root,-) +%{tde_bindir}/rbqtsh +%{tde_bindir}/rbqtapi +%{tde_bindir}/rbuic +%{tde_bindir}/qtrubyinit +%{ruby_rubylibdir}/Qt/qtruby.rb +%{ruby_rubylibdir}/Qt.rb +%{ruby_arch}/qtruby.so* +%{ruby_arch}/qtruby.la +%{ruby_arch}/qui.so* +%{ruby_arch}/qui.la +%doc qtruby/ChangeLog + +%post -n trinity-libqt0-ruby +/sbin/ldconfig || : + +%postun -n trinity-libqt0-ruby +/sbin/ldconfig || : + +########## + +%if 0 +%package -n trinity-kmozilla +Summary: Kmozilla for TDE +Group: Environment/Libraries + +%description -n trinity-kmozilla +%{summary} + +%files -n trinity-kmozilla +%defattr(-,root,root,-) +%{tde_bindir}/kmozilla +%{tde_libdir}/libkmozillapart.so.* +%{tde_libdir}/libkmozillapart.so +%{tde_libdir}/libkmozillapart.la +%{tde_datadir}/services/kmozilla.desktop +%endif + +########## + +%package -n trinity-xpart-notepad +Summary: A small XPart editor +Group: Applications/Utilities + +%description -n trinity-xpart-notepad +xpart_notepad is a small XPart editor. Use it to understand how to use XPart. + +%files -n trinity-xpart-notepad +%defattr(-,root,root,-) +%{tde_bindir}/shell_xparthost +%{tde_bindir}/xp_notepad +%{tde_libdir}/libxp_notepadpart.la +%{tde_libdir}/libxp_notepadpart.so +%{tde_libdir}/libxp_notepadpart.so.* +%{tde_datadir}/services/xp_notepad.desktop +%doc xparts/xpart_notepad/README + +%post -n trinity-xpart-notepad +/sbin/ldconfig || : + +%postun -n trinity-xpart-notepad +/sbin/ldconfig || : + +########## + +%if 0%{?with_gtk1} +%package -n trinity-libgtkxparts1 +Summary: Xparts library for GTK +Group: Environment/Libraries + +%description -n trinity-libgtkxparts1 +%{summary} + +%files -n trinity-libgtkxparts1 +%defattr(-,root,root,-) +%{tde_libdir}/libgtkxparts.so.* +%{tde_libdir}/libgtkxparts.la + +%post -n trinity-libgtkxparts1 +/sbin/ldconfig || : + +%postun -n trinity-libgtkxparts1 +/sbin/ldconfig || : +%endif + +########## + +%package -n trinity-libkdexparts1 +Summary: Xparts library for KDE +Group: Environment/Libraries + +%description -n trinity-libkdexparts1 +%{summary} + +%files -n trinity-libkdexparts1 +%defattr(-,root,root,-) +%{tde_libdir}/libkdexparts.so.* +%{tde_libdir}/libkdexparts.la + +%post -n trinity-libkdexparts1 +/sbin/ldconfig || : + +%postun -n trinity-libkdexparts1 +/sbin/ldconfig || : + +########## + +%package -n trinity-libxparts-devel +Summary: Xparts development files +Group: Development/Libraries +%if 0%{?with_gtk1} +Requires: trinity-libgtkxparts1 = %{version}-%{release} +%endif +Requires: trinity-libkdexparts1 = %{version}-%{release} + +%description -n trinity-libxparts-devel +%{summary} + +%files -n trinity-libxparts-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/xkparts/ +%if 0%{?with_gtk1} +%{tde_libdir}/libgtkxparts.so +%endif +%{tde_libdir}/libkdexparts.so + +%post -n trinity-libxparts-devel +/sbin/ldconfig || : + +%postun -n trinity-libxparts-devel +/sbin/ldconfig || : + +########## + +%package xparts-extras +Summary: Extra xparts for TDE [Trinity] +Group: Environment/Libraries + +# Metapckage requires +Requires: trinity-xpart-notepad = %{version}-%{release} +%if 0%{?with_gtk1} +Requires: trinity-libgtkxparts1 = %{version}-%{release} +%endif +Requires: trinity-libkdexparts1 = %{version}-%{release} +Requires: trinity-libdcop-c = %{version}-%{release} + +%description xparts-extras +This package contains extra xparts-based modules for Trinity +This includes the mozilla-konqueror plugin + +This package is part of the official TDE bindings module. + +%files xparts-extras +%defattr(-,root,root,-) + +########### + +%package -n trinity-libdcop-c +Summary: DCOP bindings for C [Trinity] +Group: Environment/Libraries + +%description -n trinity-libdcop-c +%{summary} + +%files -n trinity-libdcop-c +%defattr(-,root,root,-) +%{tde_libdir}/libdcopc.so.* + +%post -n trinity-libdcop-c +/sbin/ldconfig || : + +%postun -n trinity-libdcop-c +/sbin/ldconfig || : + +########### + +%package -n trinity-libdcop-c-devel +Summary: DCOP bindings for C, development files [Trinity] +Group: Development/Libraries +Requires: trinity-libdcop-c = %{version}-%{release} + +%description -n trinity-libdcop-c-devel +%{summary} + +%files -n trinity-libdcop-c-devel +%defattr(-,root,root,-) +%{tde_libdir}/libdcopc.so +%{tde_libdir}/libdcopc.la +%{tde_tdeincludedir}/dcopc/ + +%post -n trinity-libdcop-c-devel +/sbin/ldconfig || : + +%postun -n trinity-libdcop-c-devel +/sbin/ldconfig || : + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: trinity-tdelibs-devel +Requires: %{name} = %{version}-%{release} + +Obsoletes: trinity-kdebindings-devel < %{version}-%{release} +Provides: trinity-kdebindings-devel = %{version}-%{release} + +# Metapackage +Requires: trinity-libsmokeqt-devel = %{version}-%{release} +Requires: trinity-libdcop3-java-devel = %{version}-%{release} +Requires: trinity-libsmokekde-devel = %{version}-%{release} +Requires: trinity-libkjsembed-devel = %{version}-%{release} +Requires: trinity-libxparts-devel = %{version}-%{release} +Requires: trinity-libdcop-c-devel = %{version}-%{release} +Requires: trinity-libqt3-jni-devel = %{version}-%{release} +Requires: trinity-libtrinity-jni-devel = %{version}-%{release} + +%description devel +Development files for the TDE bindings. + +%files devel + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} +%patch7 -p1 -b .dcopjavaldflags + +%if "%{?perl_vendorarch}" == "" +exit 1 +%endif + +%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 +%patch18 -p1 -b .ruby +%endif + +# Workarounds strange issue in MGA3 +%if 0%{?mgaversion} == 3 || 0%{?pclinuxos} >= 2013 +%__cp /usr/share/automake-1.13/test-driver admin/ +%endif + +# Disable kmozilla, it does not build with recent xulrunner (missing 'libmozjs.so') +%__sed -i "xparts/Makefile.am" \ + -e "s|SUBDIRS = .*|SUBDIRS = src xpart_notepad|" + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; source /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +unset JAVA_HOME ||: +%{?java_home:JAVA_HOME=%{java_home}; export JAVA_HOME} + +# sip/PyQt/PyKDE built separately, not here +export DO_NOT_COMPILE="$DO_NOT_COMPILE python" + +# Specific path for RHEL4 +if [ -d /usr/X11R6 ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi +if [ -d /usr/evolution28 ]; then + export PATH="/usr/evolution28/bin:${PATH}" + export PKG_CONFIG_PATH="/usr/evolution28/%{_lib}/pkgconfig:${PKG_CONFIG_PATH}" +fi + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --docdir=%{tde_docdir} \ + --includedir=%{tde_tdeincludedir} \ + --libdir=%{tde_libdir} \ + --mandir=%{tde_mandir} \ + --disable-rpath \ + --enable-new-ldflags \ + --disable-debug --disable-warnings \ + --disable-dependency-tracking \ + --with-extra-libs=%{tde_libdir} \ + --with-pythondir=%{_usr} \ + --enable-closure \ + --enable-final \ + %{?_with_java} %{!?_with_java:--without-java} \ + %{?_enable_qscintilla} %{!?_enable_qscintilla:--disable-qscintilla} \ + --with-extra-includes=%{tde_includedir}/tqt + +pushd dcopperl +CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor + +# Ugly hack to add TQT include directory in Makefile +# Also modifies the man pages directory +sed -i Makefile \ + -e "s|^\(INC = .*\)|\1 -I%{tde_includedir}/tqt|" \ + -e "s|/usr/share/man|%{tde_mandir}|g" + +%__make OPTIMIZE="$RPM_OPT_FLAGS" ||: +popd + +# smoke (not smp-safe) +%__make -C smoke + +# The rest is smp-safe +%__make %{?_smp_mflags} PYTHON=%{__python} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf $RPM_BUILD_ROOT + +%__make install DESTDIR=%{?buildroot} \ + PYTHON=%{__python} + +# Removes some perl files +find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \ + -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';' + +# locale's +%find_lang %{name} || touch %{name}.lang +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then +for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi +done +fi + +# Installs juic +%__install -D -m 755 qtjava/designer/juic/bin/juic %{?buildroot}%{tde_bindir}/juic +%__install -d -m 755 %{?buildroot}%{tde_datadir}/juic/common +%__install qtjava/designer/juic/common/*.xml %{?buildroot}%{tde_datadir}/juic/common +%__install qtjava/designer/juic/common/*.xsl %{?buildroot}%{tde_datadir}/juic/common +%__install -d -m 755 %{?buildroot}%{tde_datadir}/juic/java +%__install qtjava/designer/juic/java/*.xml %{?buildroot}%{tde_datadir}/juic/java +%__install qtjava/designer/juic/java/*.xsl %{?buildroot}%{tde_datadir}/juic/java +%__install qtjava/designer/juic/juic.xsl %{?buildroot}%{tde_datadir}/juic + +# kjsembed sample files +%__install -d -m 755 %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install kjsembed/plugins/customobject_plugin.cpp %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install kjsembed/plugins/customobject_plugin.h %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install kjsembed/plugins/customobject_plugin.desktop %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install kjsembed/plugins/customqobject_plugin.cpp %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install kjsembed/plugins/customqobject_plugin.h %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ +%__install kjsembed/plugins/customqobject_plugin.desktop %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ + + +# Man installation location is wrong on RHEL4... +if [ -d "%{buildroot}%{_mandir}/man3" ]; then + mv -f %{buildroot}%{_mandir}/man3 %{buildroot}%{tde_mandir}/man3/ + rm -rf %{buildroot}%{_mandir} +fi + + +%clean +%__rm -rf $RPM_BUILD_ROOT + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 +- Initial release for TDE 3.5.13.2 diff --git a/redhat/tdebindings/trinity-kdebindings-3.5.12.spec b/redhat/tdebindings/trinity-kdebindings-3.5.12.spec deleted file mode 100644 index 2c4af58b7..000000000 --- a/redhat/tdebindings/trinity-kdebindings-3.5.12.spec +++ /dev/null @@ -1,295 +0,0 @@ -# Default version for this component -%if "%{?version}" == "" -%define version 3.5.12 -%endif -%define release 4 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_libdir %{_libdir}/kde3 -%define tde_includedir %{_includedir}/kde - - -Name: trinity-kdebindings -Summary: TDE bindings to non-C++ languages -Version: %{?version} -Release: %{?release}%{?dist}%{_variant} - -License: GPLv2 -Group: User Interface/Desktops - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Source0: kdebindings-%{version}.tar.gz - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - - -# RedHat Legacy patches (from Fedora) -Patch1: kdebindings-3.5.6-libgcj.patch - -# TDE official patches (unmodified) -# [kde-common] Add python2.7 to Python search paths -Patch2: http://www.trinitydesktop.org/patches/r1244127.diff - -BuildRequires: desktop-file-utils -BuildRequires: tqtinterface-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: zlib-devel -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: trinity-arts-devel -BuildRequires: glib-devel gtk+-devel -%define perl_ver %{expand:%%(eval `perl -V:version`; echo $version)} -%define perl_vendorarch %{expand:%%(eval `perl -V:installvendorarch`; echo $installvendorarch)} -%define perl_vendorlib %{expand:%%(eval `perl -V:installvendorlib`; echo $installvendorlib)} -%define perl_man3dir %{expand:%%(eval `perl -V:installman3dir`; echo $installman3dir)} - -Requires: trinity-kdelibs -Requires: trinity-kdebase -Requires(post): /sbin/ldconfig -Requires(postun): /sbin/ldconfig - -%define python_ver %{expand:%%(%{__python} -c "import sys ; print sys.version[:3]")} -%define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)") - -## dcoppython -BuildRequires: python-devel -Provides: %{name}-dcoppython = %{version}-%{release} - -## ruby -BuildRequires: ruby-devel >= 1.8, ruby -Provides: %{name}-ruby = %{version}-%{release} -%{!?ruby_arch: %define ruby_arch %(ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]')} -%{!?ruby_sitelib: %define ruby_sitelib %(ruby -rrbconfig -e 'puts Config::CONFIG["sitelibdir"]')} -%{!?ruby_sitearch: %define ruby_sitearch %(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"]')} - -## java -%if 0%{?rhel} && 0%{?rhel} < 6 -BuildRequires: java-1.4.2-gcj-compat-devel libgcj-devel gcc-java -%else -BuildRequires: java-devel >= 1.4.2 -%endif -%define java_home %{_usr}/lib/jvm/java -%define _with_java --with-java=%{java_home} -Provides: %{name}-java = %{version}-%{release} - -%description -KDE/DCOP bindings to non-C++ languages - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} -Requires: trinity-kdelibs-devel -%description devel -Development files for the KDE bindings. - -## dcopperl -%package dcopperl -Summary: DCOP Bindings for Perl -Group: Development/Libraries -%description dcopperl -Perl bindings to the DCOP interprocess communication protocol used by KDE - - -%prep -%setup -q -n kdebindings -%patch1 -p1 -b .libgcj -%patch2 -p1 - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f admin/Makefile.common - - -%build -unset QTDIR || : ; source /etc/profile.d/qt.sh -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -unset JAVA_HOME ||: -%{?java_home:JAVA_HOME=%{java_home}; export JAVA_HOME} - -# sip/PyQt/PyKDE built separately, not here -export DO_NOT_COMPILE="$DO_NOT_COMPILE python" - -%configure \ - --includedir=%{tde_includedir} \ - --disable-rpath \ - --enable-new-ldflags \ - --disable-debug --disable-warnings \ - --disable-dependency-tracking \ - --with-extra-libs=%{_libdir} \ - --with-pythondir=%{_usr} \ - --enable-closure \ - --disable-final \ - %{?_with_java} %{!?_with_java:--without-java} \ - %{?_enable_qscintilla} %{!?_enable_qscintilla:--disable-qscintilla} \ - --with-extra-includes=%{_includedir}/tqt - - -pushd dcopperl -CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor - -# Ugly hack to add TQT include directory in Makefile -sed -i Makefile \ - -e "s,^\(INC = .*\),\1 -I%{_includedir}/tqt," - -%__make OPTIMIZE="$RPM_OPT_FLAGS" ||: -popd - -# smoke/ not smp-safe -%__make -C smoke - -# The rest is smp-safe -%__make %{?_smp_mflags} PYTHON=%{__python} - - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf $RPM_BUILD_ROOT - -%__make install DESTDIR=%{?buildroot} \ - PYTHON=%{__python} - -desktop-file-install \ - --vendor="" \ - --add-category="Qt" \ - --add-category="KDE" \ - --add-category="Utility" \ - --dir $RPM_BUILD_ROOT%{_datadir}/applications/kde \ - $RPM_BUILD_ROOT%{_datadir}/applnk/Utilities/*.desktop ||: - -## File lists -# perl -find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \ - -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';' - -find $RPM_BUILD_ROOT%{perl_vendorarch} -type f -print | \ - sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-dcopperl.list -find $RPM_BUILD_ROOT%{perl_vendorlib} -type f -print | \ - sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-dcopperl.list -if [ "$(cat %{name}-dcopperl.list)X" = "X" ] ; then - echo "ERROR: EMPTY FILE LIST"; exit 1 -fi - -# locale's -%find_lang %{name} || touch %{name}.lang -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then -for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common - done - popd - fi -done -fi - -# rpmdocs -for dir in dcopperl dcoppython kalyptus %{?_with_java:kdejava qtjava} kjsembed korundum qtruby qtsharp smoke; do - for file in AUTHORS ChangeLog README TODO ; do - test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file" - done -done - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%post -/sbin/ldconfig ||: -touch --no-create %{_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database >& /dev/null ||: - -%postun -/sbin/ldconfig ||: -touch --no-create %{_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database >& /dev/null ||: - - -%files -f %{name}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING README -%doc rpmdocs/* -%{_bindir}/* -%{tde_libdir}/* -%{_libdir}/lib*.la -%{_libdir}/lib*.so.* -%{_datadir}/appl*/*/*.desktop -%{_datadir}/apps/embedjs/ -%{_datadir}/apps/kate/scripts/* -%{_datadir}/apps/kjsembed/ -%{_datadir}/icons/hicolor/*/*/* -%{_datadir}/service*/*.desktop -%{_mandir}/man1/* -%{python_sitearch}/* -#%{_libdir}/python%{python_ver}/*.py* -%if "%{?_with_java:1}" == "1" -%{_libdir}/java -%{_libdir}/jni/*.so.* -%endif -#%{ruby_sitearch}/* -#%{ruby_sitelib}/K* -#%{ruby_sitelib}/Qt* -%{_usr}/lib/ruby/*/* -%{ruby_arch}/*.so.* - -# Excludes 'kjscmd' (conflicts with 'kdelibs' from RHEL6) -%if "%{?_prefix}" == "/usr" -%exclude %{_bindir}/kjscmd -%exclude %{_mandir}/man1/kjscmd* -%endif - - -%files dcopperl -f %{name}-dcopperl.list -%defattr(-,root,root,-) -%doc dcopperl/AUTHORS dcopperl/Changes dcopperl/README dcopperl/TODO -%{perl_man3dir}/DCOP.3pm.gz - -%files devel -%defattr(-,root,root,-) -%{tde_includedir}/* -%{_libdir}/lib*.so -%if "%{?_with_java:1}" == "1" -%{_libdir}/jni/*.so -%{_libdir}/jni/*.la -%endif -%{ruby_arch}/*.so -%{ruby_arch}/*.la - -%changelog -* Sun Sep 18 2011 Francois Andriot - 3.5.12-4 -- Add RHEL5 support -- Add 'ruby_arch' macro to avoid handling distro-specific ruby path - -* Sun Sep 04 2011 Francois Andriot - 3.5.12-3 -- Import to GIT - -* Tue Aug 23 2011 Francois Andriot - 3.5.12-2 -- Small fixes for F15 -- Add 'patch2' to handle Python 2.7 - -* Mon Aug 22 2011 Francois Andriot - 3.5.12-1 -- Correct macro to install under "/opt", if desired - -* Tue Jun 21 2011 Francois Andriot - 3.5.12-0 -- Initial version for RHEL 6 -- Specfile based on Fedora 8 'kdebindings 3.5.10-1' diff --git a/redhat/tdebindings/trinity-kdebindings-3.5.13.1.spec b/redhat/tdebindings/trinity-kdebindings-3.5.13.1.spec deleted file mode 100644 index e94009b78..000000000 --- a/redhat/tdebindings/trinity-kdebindings-3.5.13.1.spec +++ /dev/null @@ -1,1112 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -Name: trinity-tdebindings -Summary: TDE bindings to non-C++ languages -Version: 3.5.13.1 -Release: 1%{?dist}%{_variant} - -License: GPLv2 -Group: User Interface/Desktops - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: kdebindings-3.5.13.1.tar.gz - -# RedHat Legacy patches (from Fedora) -Patch1: kdebindings-3.5.6-libgcj.patch - -# [kdebindings] Removes 'hpi' support in openjdk (obsolete in openjdk 1.7.0) [Bug #978] -Patch2: kdebindings-3.5.13-openjdk_remove_hpi_support.patch -# [kdebindings] Fix directory for dcopc include -Patch6: kdebindings-3.5.13-fix_dcopc_header_location.patch -# [kdebindings] Fix FTBFS in dcopjava/bindings -Patch7: kdebindings-3.5.13.1-fix_dcopjava_ldflags.patch - -# [tdebindings] Detect presence of Ruby pkg-config file and adjust directory search accordingly [Commit #de49c748] -Patch10: kdebindings-3.5.13.1-detect_ruby_pkg.patch -# [tdebindings] Use cflags from ruby pc file [Commit #c1faffb8] -Patch11: kdebindings-3.5.13.1-use_cflags_from_pc_file.patch -# [tdebindings] Set HAVE_RUBY_1_9 if ruby 1.9.x installed [Commit #46659f99] -Patch12: kdebindings-3.5.13.1-set_have_ruby19.patch -# [tdebindings] Fix FTBS on ruby 1.9.x [Commit #ef7a6086] -Patch13: kdebindings-3.5.13.1-fix_ftbfs_ruby19.patch -# [tdebindings] Fix FTBFS on ruby 1.8.x [Commit #14594d81] -Patch14: kdebindings-3.5.13.1-fix_ftbfs_ruby18.patch -# [tdebindings] Fall back to ruby-1.9 pkgconfig file if needed [Commit #2f6e9c73] -Patch15: kdebindings-3.5.13.1-fallback_to_ruby19_pc_file.patch -# [tdebindings] Fix Ruby detection when .pc file is ruby-1.9 [Commit #10fc891a] -Patch16: kdebindings-3.5.13.1-fix_ruby_detect_when_pc_file_is_19.patch -# [tdebindings] Fix FTBFS on x86 systems [Commit #a901a123] -Patch17: kdebindings-3.5.13.1-fix_ftbfs_on_x86.patch -# [tdebindings] Function 'rb_frame_this_func' does not exist in RHEL5 -Patch18: kdebindings-3.5.13.1-fix_rhel5_ftbfs.patch - -BuildRequires: autoconf automake libtool m4 -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-arts-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} - -BuildRequires: desktop-file-utils -BuildRequires: zlib-devel -BuildRequires: perl(ExtUtils::MakeMaker) - -%if 0%{?rhel} == 4 -BuildRequires: evolution28-gtk2-devel -%else -BuildRequires: gtk2-devel -BuildRequires: xulrunner-devel -%endif - -%if 0%{?fedora} || 0%{?rhel} -%define with_gtk1 1 -BuildRequires: glib-devel -BuildRequires: gtk+-devel -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -%define with_gtk1 1 -BuildRequires: %{_lib}glib1.2-devel -BuildRequires: %{_lib}gtk+-devel -%endif - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}gdk_pixbuf2.0-devel -%else -%if 0%{?fedora} >= 17 -BuildRequires: gdk-pixbuf2-devel -%else -BuildRequires: gdk-pixbuf-devel -%endif -%endif - - -## Python -BuildRequires: python-devel -%define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)") - -## ruby -BuildRequires: ruby-devel >= 1.8, ruby -%{!?ruby_arch: %define ruby_arch %(ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]')} -%{!?ruby_rubylibdir: %define ruby_rubylibdir %(ruby -rrbconfig -e 'puts Config::CONFIG["rubylibdir"]')} -# Ruby 1.9 includes are located in strance directories ... (taken from ruby 1.9 spec file) -%global _normalized_cpu %(echo %{_target_cpu} | sed 's/^ppc/powerpc/;s/i.86/i386/;s/sparcv./sparc/;s/armv.*/arm/') - -## java -%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 -BuildRequires: java-1.4.2-gcj-compat-devel -BuildRequires: libgcj-devel -BuildRequires: gcc-java -%endif - -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} - -# PCLinuxOS use SUN's Java -%if 0%{?pclinuxos} -BuildRequires: java-1.6.0-sun -BuildRequires: java-1.6.0-sun-devel -%else - -# Others use OpenJDK -BuildRequires: java-openjdk -BuildRequires: java-devel >= 1.4.2 -%if 0%{?fedora} >= 17 || 0%{?suse_version} >= 1220 -BuildRequires: java-1.7.0-openjdk-devel -%else -BuildRequires: java-1.6.0-openjdk-devel -%endif - -%endif -%endif - -%if 0%{?suse_version} -%define java_home %{_usr}/%{_lib}/jvm/java -%else -%if 0%{?rhel} == 4 -%define java_home %{_usr}/lib/jvm/java-1.4.2-gcj-1.4.2.0 -%else -%define java_home %{_usr}/lib/jvm/java -%endif -%endif -%define _with_java --with-java=%{java_home} - -## Perl -# There is no 'perl-devel' package on RHEL5 -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: perl-devel -%endif -%define perl_vendorarch %{expand:%%(eval `perl -V:installvendorarch`; echo $installvendorarch)} - - -Obsoletes: trinity-kdebindings < %{version}-%{release} -Provides: trinity-kdebindings = %{version}-%{release} - -# Metapackage requires -Requires: trinity-tdebindings-java = %{version}-%{release} -Requires: trinity-libsmokeqt1 = %{version}-%{release} -Requires: trinity-libsmokekde1 = %{version}-%{release} -Requires: trinity-perl-dcop = %{version}-%{release} -Requires: trinity-python-dcop = %{version}-%{release} -Requires: trinity-libkjsembed1 = %{version}-%{release} -Requires: trinity-kjscmd = %{version}-%{release} -Requires: trinity-juic = %{version}-%{release} -Requires: trinity-libkorundum0-ruby = %{version}-%{release} -Requires: trinity-libqt0-ruby = %{version}-%{release} - - -%description -TDE/DCOP bindings to non-C++ languages - -%files - -########## - -%package java -Summary: TDE Java bindings metapackage [Trinity] -Group: Environment/Libraries -Requires: trinity-libdcop3-java = %{version}-%{release} -Requires: trinity-libdcop3-jni = %{version}-%{release} -Requires: trinity-libqt3-java = %{version}-%{release} -Requires: trinity-libqt3-jni = %{version}-%{release} -Requires: trinity-libtrinity-java = %{version}-%{release} -Requires: trinity-libtrinity-jni = %{version}-%{release} - -%description java -A metapackage depending on all TDE, Qt and DCOP bindings libraries -related to the Java language. - -This package is part of the official TDE bindings module. - -%files java -%defattr(-,root,root,-) - -########## - -%package -n trinity-libdcop3-java -Summary: DCOP bindings for Java [Trinity] -Group: Environment/Libraries - -Requires: trinity-libdcop3-jni = %{version}-%{release} - -%description -n trinity-libdcop3-java -This package contains the Java classes necessary to run Java programs -using the Java DCOP bindings. DCOP is the TDE Desktop COmmunications -Protocol, used for communicating with running TDE applications. - -This package is part of the official TDE bindings module. - -%files -n trinity-libdcop3-java -%defattr(-,root,root,-) -#%{tde_datadir}/java/dcopjava*.jar -%{tde_libdir}/java/org/kde/DCOP/*.class - -########## - -%package -n trinity-libdcop3-java-devel -Summary: DCOP bindings for Java (dcopidl2java program) [Trinity] -Group: Development/Libraries -Requires: trinity-libdcop3-java = %{version}-%{release} - -%description -n trinity-libdcop3-java-devel -This package contains the dcopidl2java program which generates Java -stubs from DCOP IDL files, necessary to do development with the DCOP Java -bindings. DCOP is the TDE Desktop COmmunications Protocol, used for -communicating with running TDE applications. - -This package is part of the official TDE bindings module. - -%files -n trinity-libdcop3-java-devel -%defattr(-,root,root,-) -%{tde_bindir}/dcopidl2java - -########## - -%package -n trinity-libdcop3-jni -Summary: DCOP bindings for Java ( Native libraries ) [Trinity] -Group: Environment/Libraries - -%description -n trinity-libdcop3-jni -This package contains the shared libraries and scripts necessary to -run programs using the Java DCOP bindings. DCOP is the TDE Desktop -COmmunications Protocol, used for communicating with running TDE -applications. - -This package is part of the official TDE bindings module. - -%files -n trinity-libdcop3-jni -%defattr(-,root,root,-) -%{tde_libdir}/libjavadcop.la -%{tde_libdir}/libjavadcop.so - -%post -n trinity-libdcop3-jni -/sbin/ldconfig || : - -%postun -n trinity-libdcop3-jni -/sbin/ldconfig || : - -########## - -%package -n trinity-libqt3-java -Summary: Java bindings for Qt [Trinity] -Group: Environment/Libraries -Requires: trinity-libdcop3-jni = %{version}-%{release} -Requires: trinity-libqt3-jni = %{version}-%{release} -Requires: trinity-juic = %{version}-%{release} - -%description -n trinity-libqt3-java -This package contains the Java classes necessary to run Java programs -using the Java Qt bindings. Qt is a very popular GUI toolkit, used by -the TDE desktop environment. - -It also includes many example programs that make use of these bindings, -plus many of the Qt Tutorial examples translated into Java. - -This package is part of the official TDE bindings module. - -%files -n trinity-libqt3-java -%defattr(-,root,root,-) -%{tde_libdir}/java/qtjava*.jar -%{tde_tdedocdir}/HTML/en/javalib/ - -########## - -%package -n trinity-libqt3-jni -Summary: Java bindings for Qt ( Native libraries ) [Trinity] -Group: Environment/Libraries - -%description -n trinity-libqt3-jni -This package contains the shared libraries necessary to run Java -programs using the Java Qt bindings. Qt is a very popular GUI -toolkit, used by the TDE desktop environment. - -This package is part of the official TDE bindings module. - -%files -n trinity-libqt3-jni -%defattr(-,root,root,-) -%{tde_libdir}/libqtjavasupport.la -%{tde_libdir}/libqtjavasupport.so.* -%{tde_libdir}/jni/libqtjava.la -%{tde_libdir}/jni/libqtjava.so.* -%doc qtjava/ChangeLog - -########## - -%package -n trinity-libqt3-jni-devel -Summary: Development files fo Java bindings for Qt ( Native libraries ) [Trinity] -Group: Development/Libraries -Requires: trinity-libqt3-jni = %{version}-%{release} - -%description -n trinity-libqt3-jni-devel -This package contains the development files for trinity-libqt3-jni. - -This package is part of the official TDE bindings module. - -%files -n trinity-libqt3-jni-devel -%defattr(-,root,root,-) -%{tde_libdir}/libqtjavasupport.so -%{tde_libdir}/jni/libqtjava.so - -########## - -%package -n trinity-libtrinity-java -Summary: tdelibs bindings for Java [Trinity] -Group: Environment/Libraries - -Requires: trinity-libtrinity-jni = %{version}-%{release} - -%description -n trinity-libtrinity-java -This package contains the Java classes necessary to run Java programs -using the Java tdelibs bindings. TDE is the Trinity Desktop Environment, a -very popular UNIX Desktop Environment. - -It also includes some example applications that use these Java -classes, and multiple usage samples of the most common TDE classes. - -This package is part of the official TDE bindings module. - -%files -n trinity-libtrinity-java -%defattr(-,root,root,-) -%{tde_libdir}/java/koala*.jar - -########## - -%package -n trinity-libtrinity-jni -Summary: tdelibs bindings for java ( Native libraries ) [Trinity] -Group: Environment/Libraries - -%description -n trinity-libtrinity-jni -This package contains the shared libraries necessary to run Java -programs using the Java tdelibs bindings. TDE is the Trinity Desktop -Environment, a very popular UNIX Desktop Environment. - -This package is part of the official TDE bindings module. - -%files -n trinity-libtrinity-jni -%defattr(-,root,root,-) -%{tde_libdir}/jni/libkdejava.la -%{tde_libdir}/jni/libkdejava.so.* -%doc kdejava/ChangeLog - -########## - -%package -n trinity-libtrinity-jni-devel -Summary: Development files for tdelibs bindings for java ( Native libraries ) [Trinity] -Group: Development/Libraries -Requires: trinity-libtrinity-jni = %{version}-%{release} - -%description -n trinity-libtrinity-jni-devel -This package contains the development files for trinity-libtrinity-jni. - -This package is part of the official TDE bindings module. - -%files -n trinity-libtrinity-jni-devel -%defattr(-,root,root,-) -%{tde_libdir}/jni/libkdejava.so - -########## - -%package -n trinity-libsmokeqt1 -Summary: SMOKE Binding Library to Qt -Group: Environment/Libraries - -%description -n trinity-libsmokeqt1 -The "Scripting Meta Object Kompiler Engine" library is used by -various TDE language bindings packages to provide interfaces to the -Qt library. - -This package is part of the official TDE bindings module. - -%files -n trinity-libsmokeqt1 -%defattr(-,root,root,-) -%{tde_libdir}/libsmokeqt.so.* - -%post -n trinity-libsmokeqt1 -/sbin/ldconfig || : - -%postun -n trinity-libsmokeqt1 -/sbin/ldconfig || : - -########## - -%package -n trinity-libsmokeqt-devel -Summary: SMOKE Binding Library to Qt - Development Files -Group: Development/Libraries -Requires: trinity-libsmokeqt1 = %{version}-%{release} - -%description -n trinity-libsmokeqt-devel -The "Scripting Meta Object Kompiler Engine" library is used by -various TDE language bindings packages to provide interfaces to the -Qt library. This package contains the development files for the -library. - -If you are a normal user, you probably don't need this -package. - -This package is part of the official TDE bindings module. - -%files -n trinity-libsmokeqt-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/smoke.h -%{tde_libdir}/libsmokeqt.so -%{tde_libdir}/libsmokeqt.la - -%post -n trinity-libsmokeqt-devel -/sbin/ldconfig || : - -%postun -n trinity-libsmokeqt-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libsmokekde1 -Summary: SMOKE Binding Library to TDE -Group: Environment/Libraries - -%description -n trinity-libsmokekde1 -The "Scripting Meta Object Kompiler Engine" library is used by -various TDE language bindings packages to provide interfaces to the -TDE libraries. - -This package is part of the official TDE bindings module. - -%files -n trinity-libsmokekde1 -%defattr(-,root,root,-) -%{tde_libdir}/libsmokekde.so.* - -%post -n trinity-libsmokekde1 -/sbin/ldconfig || : - -%postun -n trinity-libsmokekde1 -/sbin/ldconfig || : - -########## - -%package -n trinity-libsmokekde-devel -Summary: SMOKE Binding Library to TDE - Development Files -Group: Development/Libraries -Requires: trinity-libsmokekde1 = %{version}-%{release} - -%description -n trinity-libsmokekde-devel -The "Scripting Meta Object Kompiler Engine" library is used by -various TDE language bindings packages to provide interfaces to the -Qt and TDE libraries. This package contains the development files for -the library. - -If you are a normal user, you probably don't need this -package. - -This package is part of the official TDE bindings module. - -%files -n trinity-libsmokekde-devel -%defattr(-,root,root,-) -%{tde_libdir}/libsmokekde.so -%{tde_libdir}/libsmokekde.la - -%post -n trinity-libsmokekde-devel -/sbin/ldconfig || : - -%postun -n trinity-libsmokekde-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-perl-dcop -Summary: DCOP Bindings for Perl -Group: Development/Libraries - -Obsoletes: trinity-kdebindings-dcopperl < %{version}-%{release} -Provides: trinity-kdebindings-dcopperl = %{version}-%{release} - -%description -n trinity-perl-dcop -Perl bindings to the DCOP interprocess communication protocol used by TDE - -%files -n trinity-perl-dcop -%defattr(-,root,root,-) -%{perl_vendorarch}/auto/DCOP/* -%{perl_vendorarch}/DCOP.pm -%{perl_vendorarch}/DCOP/* -%doc dcopperl/AUTHORS dcopperl/Changes dcopperl/README dcopperl/TODO -%{tde_mandir}/man3/DCOP.3pm* - -########## - -%package -n trinity-python-dcop -Summary: DCOP bindings for Python -Group: Environment/Libraries -Requires: python -#Provides: %{name}-dcoppython = %{version}-%{release} - -%description -n trinity-python-dcop -This package contains the shared libraries necessary to run and -develop Python programs using the Python DCOP bindings -libraries. DCOP is the TDE Desktop COmmunications Protocol, used for -communicating with running TDE applications. - -This package is part of the official TDE bindings module. - -%files -n trinity-python-dcop -%defattr(-,root,root,-) -%{python_sitearch}/pcop.la -%{python_sitearch}/pcop.so -%{python_sitearch}/pydcop.py* - -########## - -%package -n trinity-libkjsembed1 -Summary: Embedded JavaScript library -Group: Environment/Libraries - -%description -n trinity-libkjsembed1 -This package contains the shared libraries necessary to run programs -linked with the KJSEmbed library. This library provides JavaScript -embedded scripting facilities to TDE applications. - -This package is part of the official TDE bindings module. - -%files -n trinity-libkjsembed1 -%defattr(-,root,root,-) -%{tde_libdir}/libkjsembed.so.* -%{tde_tdelibdir}/libimagefxplugin.la -%{tde_tdelibdir}/libimagefxplugin.so -%{tde_datadir}/services/imagefx_plugin.desktop -%{tde_tdelibdir}/libqprocessplugin.so -%{tde_tdelibdir}/libqprocessplugin.la -%{tde_datadir}/services/qprocess_plugin.desktop -%{tde_tdelibdir}/libfileitemplugin.la -%{tde_tdelibdir}/libfileitemplugin.so -%{tde_datadir}/services/kfileitem_plugin.desktop -%{tde_datadir}/apps/kjsembed/cmdline.js -%{tde_datadir}/servicetypes/binding_type.desktop -%{tde_bindir}/embedjs -%{tde_datadir}/apps/embedjs/embedjsui.rc -%{tde_datadir}/applnk/Utilities/embedjs.desktop -%{tde_datadir}/icons/hicolor/16x16/apps/embedjs.png -%{tde_datadir}/icons/hicolor/32x32/apps/embedjs.png -%{tde_tdelibdir}/libjavascript.la -%{tde_tdelibdir}/libjavascript.so -%{tde_datadir}/apps/kate/scripts/swaptabs.js -%{tde_datadir}/apps/kate/scripts/swaptabs.ui -%{tde_datadir}/apps/kate/scripts/swaptabs.desktop -%{tde_datadir}/services/javascript.desktop -%doc kjsembed/docs/ChangeLog - -%post -n trinity-libkjsembed1 -/sbin/ldconfig ||: -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database >& /dev/null ||: - -%postun -n trinity-libkjsembed1 -/sbin/ldconfig ||: -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database >& /dev/null ||: - -########## - -%package -n trinity-libkjsembed-devel -Summary: Embedded JavaScript library (Development files) -Group: Development/Libraries -Requires: trinity-libkjsembed1 = %{version}-%{release} - -%description -n trinity-libkjsembed-devel -This package contains the header files and symbolic links necessary -to develop and compile programs using the KJSEmbed library. This -library provides JavaScript embedded scripting facilities to TDE -applications. - -It also includes lots of example programs that make use of these -bindings, plus comprehensive documentation of the bindings. - -This package is part of the official TDE bindings module. - -%files -n trinity-libkjsembed-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kjsembed/ -%{tde_libdir}/libkjsembed.so -%{tde_libdir}/libkjsembed.la -%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ - -%post -n trinity-libkjsembed-devel -/sbin/ldconfig || : - -%postun -n trinity-libkjsembed-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kjscmd -Summary: A script interpreter using the TDE JavaScript library -Group: Environment/Libraries - -%description -n trinity-kjscmd -This package contains the kjscmd program, which is a standalone -JavaScript interpreter using the KJSEmbed library. - -This package is part of the official TDE bindings module. - -%files -n trinity-kjscmd -%defattr(-,root,root,-) -%{tde_bindir}/kjscmd -%{tde_tdeappdir}/kjscmd.desktop -%{tde_mandir}/man1/kjscmd.* -%{tde_tdelibdir}/libjsconsoleplugin.la -%{tde_tdelibdir}/libjsconsoleplugin.so - -%post -n trinity-kjscmd -update-desktop-database >& /dev/null ||: - -%postun -n trinity-kjscmd -update-desktop-database >& /dev/null ||: - -########## - -%package -n trinity-juic -Summary: The Qt Java UI Compiler -Group: Environment/Libraries -Requires: trinity-libqt3-java = %{version}-%{release} - -%description -n trinity-juic -This package contains the juic program, which is used to convert -a UI description file generated by the Qt Designer, and converts -it into a Qt Java class. It is necessary for compiling and -developing programs using the Qt Java bindings together with Qt -Designer. - -This package is part of the official TDE bindings module. - -%files -n trinity-juic -%defattr(-,root,root,-) -%{tde_bindir}/juic -%{tde_datadir}/juic/ - -########## - -%package -n trinity-libkorundum0-ruby -Summary: TDE bindings for Ruby [Trinity] -Group: Environment/Libraries -Requires: trinity-libqt0-ruby = %{version}-%{release} - -%description -n trinity-libkorundum0-ruby -This package contains the files necessary for running and developing -Ruby code using the Korundum TDE Ruby bindings. - -It also includes some example programs and templates that make use of -these bindings. - -This package is part of the official TDE bindings module. - -%files -n trinity-libkorundum0-ruby -%defattr(-,root,root,-) -%{tde_bindir}/rbkdesh -%{tde_bindir}/rbkdeapi -%{tde_bindir}/krubyinit -%{tde_bindir}/rbkconfig_compiler -%{ruby_rubylibdir}/Korundum.rb -%{ruby_rubylibdir}/KDE/korundum.rb -%{ruby_arch}/korundum.la -%{ruby_arch}/korundum.so* -%doc korundum/ChangeLog - -%post -n trinity-libkorundum0-ruby -/sbin/ldconfig || : - -%postun -n trinity-libkorundum0-ruby -/sbin/ldconfig || : - -########## - -%package -n trinity-libqt0-ruby -Summary: Qt bindings for Ruby [Trinity] -Group: Environment/Libraries -Requires: ruby - -%description -n trinity-libqt0-ruby -This package contains the files necessary for running and developing -Ruby code using the Qt Ruby bindings. - -It also includes some example programs that make use of these bindings, -plus many of the Qt Tutorial examples translated into Ruby. - -This package is part of the official TDE bindings module. - -%files -n trinity-libqt0-ruby -%defattr(-,root,root,-) -%{tde_bindir}/rbqtsh -%{tde_bindir}/rbqtapi -%{tde_bindir}/rbuic -%{tde_bindir}/qtrubyinit -%{ruby_rubylibdir}/Qt/qtruby.rb -%{ruby_rubylibdir}/Qt.rb -%{ruby_arch}/qtruby.so* -%{ruby_arch}/qtruby.la -%{ruby_arch}/qui.so* -%{ruby_arch}/qui.la -%doc qtruby/ChangeLog - -%post -n trinity-libqt0-ruby -/sbin/ldconfig || : - -%postun -n trinity-libqt0-ruby -/sbin/ldconfig || : - -########## - -%if 0 -%package -n trinity-kmozilla -Summary: Kmozilla for TDE -Group: Environment/Libraries - -%description -n trinity-kmozilla -%{summary} - -%files -n trinity-kmozilla -%defattr(-,root,root,-) -%{tde_bindir}/kmozilla -%{tde_libdir}/libkmozillapart.so.* -%{tde_libdir}/libkmozillapart.so -%{tde_libdir}/libkmozillapart.la -%{tde_datadir}/services/kmozilla.desktop -%endif - -########## - -%package -n trinity-xpart-notepad -Summary: A small XPart editor -Group: Applications/Utilities - -%description -n trinity-xpart-notepad -xpart_notepad is a small XPart editor. Use it to understand how to use XPart. - -%files -n trinity-xpart-notepad -%defattr(-,root,root,-) -%{tde_bindir}/shell_xparthost -%{tde_bindir}/xp_notepad -%{tde_libdir}/libxp_notepadpart.la -%{tde_libdir}/libxp_notepadpart.so -%{tde_libdir}/libxp_notepadpart.so.* -%{tde_datadir}/services/xp_notepad.desktop -%doc xparts/xpart_notepad/README - -%post -n trinity-xpart-notepad -/sbin/ldconfig || : - -%postun -n trinity-xpart-notepad -/sbin/ldconfig || : - -########## - -%if 0%{?with_gtk1} -%package -n trinity-libgtkxparts1 -Summary: Xparts library for GTK -Group: Environment/Libraries - -%description -n trinity-libgtkxparts1 -%{summary} - -%files -n trinity-libgtkxparts1 -%defattr(-,root,root,-) -%{tde_libdir}/libgtkxparts.so.* -%{tde_libdir}/libgtkxparts.la - -%post -n trinity-libgtkxparts1 -/sbin/ldconfig || : - -%postun -n trinity-libgtkxparts1 -/sbin/ldconfig || : -%endif - -########## - -%package -n trinity-libkdexparts1 -Summary: Xparts library for KDE -Group: Environment/Libraries - -%description -n trinity-libkdexparts1 -%{summary} - -%files -n trinity-libkdexparts1 -%defattr(-,root,root,-) -%{tde_libdir}/libkdexparts.so.* -%{tde_libdir}/libkdexparts.la - -%post -n trinity-libkdexparts1 -/sbin/ldconfig || : - -%postun -n trinity-libkdexparts1 -/sbin/ldconfig || : - -########## - -%package -n trinity-libxparts-devel -Summary: Xparts development files -Group: Development/Libraries -%if 0%{?with_gtk1} -Requires: trinity-libgtkxparts1 = %{version}-%{release} -%endif -Requires: trinity-libkdexparts1 = %{version}-%{release} - -%description -n trinity-libxparts-devel -%{summary} - -%files -n trinity-libxparts-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/xkparts/ -%if 0%{?with_gtk1} -%{tde_libdir}/libgtkxparts.so -%endif -%{tde_libdir}/libkdexparts.so - -%post -n trinity-libxparts-devel -/sbin/ldconfig || : - -%postun -n trinity-libxparts-devel -/sbin/ldconfig || : - -########## - -%package xparts-extras -Summary: Extra xparts for TDE [Trinity] -Group: Environment/Libraries - -# Metapckage requires -Requires: trinity-xpart-notepad = %{version}-%{release} -%if 0%{?with_gtk1} -Requires: trinity-libgtkxparts1 = %{version}-%{release} -%endif -Requires: trinity-libkdexparts1 = %{version}-%{release} -Requires: trinity-libdcop-c = %{version}-%{release} - -%description xparts-extras -This package contains extra xparts-based modules for Trinity -This includes the mozilla-konqueror plugin - -This package is part of the official TDE bindings module. - -%files xparts-extras - -########### - -%package -n trinity-libdcop-c -Summary: DCOP bindings for C [Trinity] -Group: Environment/Libraries - -%description -n trinity-libdcop-c -%{summary} - -%files -n trinity-libdcop-c -%defattr(-,root,root,-) -%{tde_libdir}/libdcopc.so.* - -%post -n trinity-libdcop-c -/sbin/ldconfig || : - -%postun -n trinity-libdcop-c -/sbin/ldconfig || : - -########### - -%package -n trinity-libdcop-c-devel -Summary: DCOP bindings for C, development files [Trinity] -Group: Development/Libraries -Requires: trinity-libdcop-c = %{version}-%{release} - -%description -n trinity-libdcop-c-devel -%{summary} - -%files -n trinity-libdcop-c-devel -%defattr(-,root,root,-) -%{tde_libdir}/libdcopc.so -%{tde_libdir}/libdcopc.la -%{tde_tdeincludedir}/dcopc/ - -%post -n trinity-libdcop-c-devel -/sbin/ldconfig || : - -%postun -n trinity-libdcop-c-devel -/sbin/ldconfig || : - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: trinity-tdelibs-devel - -Obsoletes: trinity-kdebindings-devel < %{version}-%{release} -Provides: trinity-kdebindings-devel = %{version}-%{release} - -# Metapackage -Requires: trinity-libsmokeqt-devel = %{version}-%{release} -Requires: trinity-libdcop3-java-devel = %{version}-%{release} -Requires: trinity-libsmokekde-devel = %{version}-%{release} -Requires: trinity-libkjsembed-devel = %{version}-%{release} -Requires: trinity-libxparts-devel = %{version}-%{release} -Requires: trinity-libdcop-c-devel = %{version}-%{release} -Requires: trinity-libqt3-jni-devel = %{version}-%{release} -Requires: trinity-libtrinity-jni-devel = %{version}-%{release} - -%description devel -Development files for the TDE bindings. - -%files devel - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n kdebindings-3.5.13.1 -%patch1 -p1 -b .libgcj - -%if 0%{?fedora} >= 17 || 0%{?suse_version} >= 1220 -%patch2 -p1 -b .libhpi -%endif -%patch6 -p1 -b .dcopcinclude -%patch7 -p1 -b .dcopjavaldflags - -%patch10 -p1 -b .ruby19 -%patch11 -p1 -b .ruby19 -%patch12 -p1 -b .ruby19 -%patch13 -p1 -b .ruby19 -%patch14 -p1 -b .ruby19 -%patch15 -p1 -b .ruby19 -%patch16 -p1 -b .ruby19 -%patch17 -p1 -b .ruby19 -%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 -%patch18 -p1 -b .ruby -%endif - -# Adds non-standard Ruby include path in include dirs -%if 0%{?rhel} == 5 -#for d in \ -# qtruby/rubylib/qtruby \ -# qtruby/rubylib/designer/uilib \ -# qtruby/bin \ -# korundum/rubylib/korundum \ -# korundum/bin \ -#; do -# echo -e "\nINCLUDES += -I%{_usr}/include/%{_normalized_cpu}-%{_target_os}" >> "${d}/Makefile.am" -#done -%endif - -# Disable kmozilla, it does not build with recent xulrunner (missing 'libmozjs.so') -%__sed -i "xparts/Makefile.am" \ - -e "s|SUBDIRS = .*|SUBDIRS = src xpart_notepad|" - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; source /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -unset JAVA_HOME ||: -%{?java_home:JAVA_HOME=%{java_home}; export JAVA_HOME} - -# sip/PyQt/PyKDE built separately, not here -export DO_NOT_COMPILE="$DO_NOT_COMPILE python" - -# Specific path for RHEL4 -if [ -d /usr/X11R6 ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --docdir=%{tde_docdir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --enable-new-ldflags \ - --disable-debug --disable-warnings \ - --disable-dependency-tracking \ - --with-extra-libs=%{tde_libdir} \ - --with-pythondir=%{_usr} \ - --enable-closure \ - --enable-final \ - %{?_with_java} %{!?_with_java:--without-java} \ - %{?_enable_qscintilla} %{!?_enable_qscintilla:--disable-qscintilla} \ - --with-extra-includes=%{tde_includedir}/tqt - -pushd dcopperl -CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor - -# Ugly hack to add TQT include directory in Makefile -# Also modifies the man pages directory -sed -i Makefile \ - -e "s|^\(INC = .*\)|\1 -I%{tde_includedir}/tqt|" \ - -e "s|/usr/share/man|%{tde_mandir}|g" - -%__make OPTIMIZE="$RPM_OPT_FLAGS" ||: -popd - -# smoke (not smp-safe) -%__make -C smoke - -# The rest is smp-safe -%__make %{?_smp_mflags} PYTHON=%{__python} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf $RPM_BUILD_ROOT - -%__make install DESTDIR=%{?buildroot} \ - PYTHON=%{__python} - -# Removes some perl files -find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \ - -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';' - -# locale's -%find_lang %{name} || touch %{name}.lang -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then -for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common - done - popd - fi -done -fi - -# Installs juic -%__install -D -m 755 qtjava/designer/juic/bin/juic %{?buildroot}%{tde_bindir}/juic -%__install -d -m 755 %{?buildroot}%{tde_datadir}/juic/common -%__install qtjava/designer/juic/common/*.xml %{?buildroot}%{tde_datadir}/juic/common -%__install qtjava/designer/juic/common/*.xsl %{?buildroot}%{tde_datadir}/juic/common -%__install -d -m 755 %{?buildroot}%{tde_datadir}/juic/java -%__install qtjava/designer/juic/java/*.xml %{?buildroot}%{tde_datadir}/juic/java -%__install qtjava/designer/juic/java/*.xsl %{?buildroot}%{tde_datadir}/juic/java -%__install qtjava/designer/juic/juic.xsl %{?buildroot}%{tde_datadir}/juic - -# kjsembed sample files -%__install -d -m 755 %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ -%__install kjsembed/plugins/customobject_plugin.cpp %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ -%__install kjsembed/plugins/customobject_plugin.h %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ -%__install kjsembed/plugins/customobject_plugin.desktop %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ -%__install kjsembed/plugins/customqobject_plugin.cpp %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ -%__install kjsembed/plugins/customqobject_plugin.h %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ -%__install kjsembed/plugins/customqobject_plugin.desktop %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ - - -# Man installation location is wrong on RHEL4... -if [ -d "%{buildroot}%{_mandir}/man3" ]; then - mv -f %{buildroot}%{_mandir}/man3 %{buildroot}%{tde_mandir}/man3/ - rm -rf %{buildroot}%{_mandir} -fi - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - - -%changelog -* Sat Sep 29 2012 Francois Andriot - 3.5.13.1-1 -- Initial build for TDE 3.5.13.1 diff --git a/redhat/tdebindings/trinity-kdebindings-3.5.13.spec b/redhat/tdebindings/trinity-kdebindings-3.5.13.spec deleted file mode 100644 index 2637b79eb..000000000 --- a/redhat/tdebindings/trinity-kdebindings-3.5.13.spec +++ /dev/null @@ -1,1061 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -Name: trinity-tdebindings -Summary: TDE bindings to non-C++ languages -Version: 3.5.13 -Release: 5%{?dist}%{_variant} - -License: GPLv2 -Group: User Interface/Desktops - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: kdebindings-%{version}.tar.gz - -# RedHat Legacy patches (from Fedora) -Patch1: kdebindings-3.5.6-libgcj.patch - -# [kdebindings] Removes 'hpi' support in openjdk (obsolete in openjdk 1.7.0) [Bug #978] -Patch2: kdebindings-3.5.13-openjdk_remove_hpi_support.patch -# [kdebindings] Allow compilation with Ruby >= 1.9 [Bug #597] -Patch3: kdebindings-3.5.13-ruby_1.9.patch -# [kdebindings] Fix various build issues [Bug #597] -Patch4: kdebindings-3.5.13-fixes.patch -# [kdebindings] Fix smoke compilation on MGA2 (missing LDFLAGS) -Patch5: kdebindings-3.5.13-missing_ldflags.patch -# [kdebindings] Fix directory for dcopc include -Patch6: kdebindings-3.5.13-fix_dcopc_header_location.patch - -BuildRequires: autoconf automake libtool m4 -BuildRequires: tqtinterface-devel -BuildRequires: trinity-arts-devel -BuildRequires: trinity-kdelibs-devel - -BuildRequires: desktop-file-utils -BuildRequires: zlib-devel -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: gtk2-devel -BuildRequires: java-openjdk -BuildRequires: xulrunner-devel - -%if 0%{?fedora} -BuildRequires: glib-devel -BuildRequires: gtk+-devel -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}glib1.2-devel -BuildRequires: %{_lib}gtk+-devel -%endif - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}gdk_pixbuf2.0-devel -%else -%if 0%{?fedora} >= 17 -BuildRequires: gdk-pixbuf2-devel -%else -BuildRequires: gdk-pixbuf-devel -%endif -%endif - - -## Python -BuildRequires: python-devel -%define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)") - -## ruby -BuildRequires: ruby-devel >= 1.8, ruby -%{!?ruby_arch: %define ruby_arch %(ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]')} -%{!?ruby_rubylibdir: %define ruby_rubylibdir %(ruby -rrbconfig -e 'puts Config::CONFIG["rubylibdir"]')} -# Ruby 1.9 includes are located in strance directories ... (taken from ruby 1.9 spec file) -%global _normalized_cpu %(echo %{_target_cpu} | sed 's/^ppc/powerpc/;s/i.86/i386/;s/sparcv./sparc/;s/armv.*/arm/') - -## java -%if 0%{?rhel} > 0 && 0%{?rhel} < 6 -BuildRequires: java-1.4.2-gcj-compat-devel libgcj-devel gcc-java -%else -BuildRequires: java-devel >= 1.4.2 -%if 0%{?fedora} >= 17 -BuildRequires: java-1.7.0-openjdk-devel -%else -BuildRequires: java-1.6.0-openjdk-devel -%endif -%endif -%define java_home %{_usr}/lib/jvm/java -%define _with_java --with-java=%{java_home} - -## Perl -# There is no 'perl-devel' package on RHEL5 -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: perl-devel -%endif -%define perl_vendorarch %{expand:%%(eval `perl -V:installvendorarch`; echo $installvendorarch)} - - -Obsoletes: trinity-kdebindings < %{version}-%{release} -Provides: trinity-kdebindings = %{version}-%{release} - -# Metapackage requires -Requires: trinity-tdebindings-java = %{version}-%{release} -Requires: trinity-libsmokeqt1 = %{version}-%{release} -Requires: trinity-libsmokekde1 = %{version}-%{release} -Requires: trinity-perl-dcop = %{version}-%{release} -Requires: trinity-python-dcop = %{version}-%{release} -Requires: trinity-libkjsembed1 = %{version}-%{release} -Requires: trinity-kjscmd = %{version}-%{release} -Requires: trinity-juic = %{version}-%{release} -Requires: trinity-libkorundum0-ruby = %{version}-%{release} -Requires: trinity-libqt0-ruby = %{version}-%{release} - - -%description -TDE/DCOP bindings to non-C++ languages - -%files - -########## - -%package java -Summary: TDE Java bindings metapackage [Trinity] -Group: Environment/Libraries -Requires: trinity-libdcop3-java = %{version}-%{release} -Requires: trinity-libdcop3-jni = %{version}-%{release} -Requires: trinity-libqt3-java = %{version}-%{release} -Requires: trinity-libqt3-jni = %{version}-%{release} -Requires: trinity-libtrinity-java = %{version}-%{release} -Requires: trinity-libtrinity-jni = %{version}-%{release} - -%description java -A metapackage depending on all TDE, Qt and DCOP bindings libraries -related to the Java language. - -This package is part of the official TDE bindings module. - -%files java -%defattr(-,root,root,-) - -########## - -%package -n trinity-libdcop3-java -Summary: DCOP bindings for Java [Trinity] -Group: Environment/Libraries - -Requires: trinity-libdcop3-jni = %{version}-%{release} - -%description -n trinity-libdcop3-java -This package contains the Java classes necessary to run Java programs -using the Java DCOP bindings. DCOP is the TDE Desktop COmmunications -Protocol, used for communicating with running TDE applications. - -This package is part of the official TDE bindings module. - -%files -n trinity-libdcop3-java -%defattr(-,root,root,-) -#%{tde_datadir}/java/dcopjava*.jar -%{tde_libdir}/java/org/kde/DCOP/*.class - -########## - -%package -n trinity-libdcop3-java-devel -Summary: DCOP bindings for Java (dcopidl2java program) [Trinity] -Group: Development/Libraries -Requires: trinity-libdcop3-java = %{version}-%{release} - -%description -n trinity-libdcop3-java-devel -This package contains the dcopidl2java program which generates Java -stubs from DCOP IDL files, necessary to do development with the DCOP Java -bindings. DCOP is the TDE Desktop COmmunications Protocol, used for -communicating with running TDE applications. - -This package is part of the official TDE bindings module. - -%files -n trinity-libdcop3-java-devel -%defattr(-,root,root,-) -%{tde_bindir}/dcopidl2java - -########## - -%package -n trinity-libdcop3-jni -Summary: DCOP bindings for Java ( Native libraries ) [Trinity] -Group: Environment/Libraries - -%description -n trinity-libdcop3-jni -This package contains the shared libraries and scripts necessary to -run programs using the Java DCOP bindings. DCOP is the TDE Desktop -COmmunications Protocol, used for communicating with running TDE -applications. - -This package is part of the official TDE bindings module. - -%files -n trinity-libdcop3-jni -%defattr(-,root,root,-) -%{tde_libdir}/libjavadcop.la -%{tde_libdir}/libjavadcop.so - -%post -n trinity-libdcop3-jni -/sbin/ldconfig || : - -%postun -n trinity-libdcop3-jni -/sbin/ldconfig || : - -########## - -%package -n trinity-libqt3-java -Summary: Java bindings for Qt [Trinity] -Group: Environment/Libraries -Requires: trinity-libdcop3-jni = %{version}-%{release} -Requires: trinity-libqt3-jni = %{version}-%{release} -Requires: trinity-juic = %{version}-%{release} - -%description -n trinity-libqt3-java -This package contains the Java classes necessary to run Java programs -using the Java Qt bindings. Qt is a very popular GUI toolkit, used by -the TDE desktop environment. - -It also includes many example programs that make use of these bindings, -plus many of the Qt Tutorial examples translated into Java. - -This package is part of the official TDE bindings module. - -%files -n trinity-libqt3-java -%defattr(-,root,root,-) -%{tde_libdir}/java/qtjava*.jar -%{tde_tdedocdir}/HTML/en/javalib/ - -########## - -%package -n trinity-libqt3-jni -Summary: Java bindings for Qt ( Native libraries ) [Trinity] -Group: Environment/Libraries - -%description -n trinity-libqt3-jni -This package contains the shared libraries necessary to run Java -programs using the Java Qt bindings. Qt is a very popular GUI -toolkit, used by the TDE desktop environment. - -This package is part of the official TDE bindings module. - -%files -n trinity-libqt3-jni -%defattr(-,root,root,-) -%{tde_libdir}/libqtjavasupport.la -%{tde_libdir}/libqtjavasupport.so.* -%{tde_libdir}/jni/libqtjava.la -%{tde_libdir}/jni/libqtjava.so.* -%doc qtjava/ChangeLog - -########## - -%package -n trinity-libqt3-jni-devel -Summary: Development files fo Java bindings for Qt ( Native libraries ) [Trinity] -Group: Development/Libraries -Requires: trinity-libqt3-jni = %{version}-%{release} - -%description -n trinity-libqt3-jni-devel -This package contains the development files for trinity-libqt3-jni. - -This package is part of the official TDE bindings module. - -%files -n trinity-libqt3-jni-devel -%defattr(-,root,root,-) -%{tde_libdir}/libqtjavasupport.so -%{tde_libdir}/jni/libqtjava.so - -########## - -%package -n trinity-libtrinity-java -Summary: tdelibs bindings for Java [Trinity] -Group: Environment/Libraries - -Requires: trinity-libtrinity-jni = %{version}-%{release} - -%description -n trinity-libtrinity-java -This package contains the Java classes necessary to run Java programs -using the Java tdelibs bindings. TDE is the Trinity Desktop Environment, a -very popular UNIX Desktop Environment. - -It also includes some example applications that use these Java -classes, and multiple usage samples of the most common TDE classes. - -This package is part of the official TDE bindings module. - -%files -n trinity-libtrinity-java -%defattr(-,root,root,-) -%{tde_libdir}/java/koala*.jar - -########## - -%package -n trinity-libtrinity-jni -Summary: tdelibs bindings for java ( Native libraries ) [Trinity] -Group: Environment/Libraries - -%description -n trinity-libtrinity-jni -This package contains the shared libraries necessary to run Java -programs using the Java tdelibs bindings. TDE is the Trinity Desktop -Environment, a very popular UNIX Desktop Environment. - -This package is part of the official TDE bindings module. - -%files -n trinity-libtrinity-jni -%defattr(-,root,root,-) -%{tde_libdir}/jni/libkdejava.la -%{tde_libdir}/jni/libkdejava.so.* -%doc kdejava/ChangeLog - -########## - -%package -n trinity-libtrinity-jni-devel -Summary: Development files for tdelibs bindings for java ( Native libraries ) [Trinity] -Group: Development/Libraries -Requires: trinity-libtrinity-jni = %{version}-%{release} - -%description -n trinity-libtrinity-jni-devel -This package contains the development files for trinity-libtrinity-jni. - -This package is part of the official TDE bindings module. - -%files -n trinity-libtrinity-jni-devel -%defattr(-,root,root,-) -%{tde_libdir}/jni/libkdejava.so - -########## - -%package -n trinity-libsmokeqt1 -Summary: SMOKE Binding Library to Qt -Group: Environment/Libraries - -%description -n trinity-libsmokeqt1 -The "Scripting Meta Object Kompiler Engine" library is used by -various TDE language bindings packages to provide interfaces to the -Qt library. - -This package is part of the official TDE bindings module. - -%files -n trinity-libsmokeqt1 -%defattr(-,root,root,-) -%{tde_libdir}/libsmokeqt.so.* - -%post -n trinity-libsmokeqt1 -/sbin/ldconfig || : - -%postun -n trinity-libsmokeqt1 -/sbin/ldconfig || : - -########## - -%package -n trinity-libsmokeqt-devel -Summary: SMOKE Binding Library to Qt - Development Files -Group: Development/Libraries -Requires: trinity-libsmokeqt1 = %{version}-%{release} - -%description -n trinity-libsmokeqt-devel -The "Scripting Meta Object Kompiler Engine" library is used by -various TDE language bindings packages to provide interfaces to the -Qt library. This package contains the development files for the -library. - -If you are a normal user, you probably don't need this -package. - -This package is part of the official TDE bindings module. - -%files -n trinity-libsmokeqt-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/smoke.h -%{tde_libdir}/libsmokeqt.so -%{tde_libdir}/libsmokeqt.la - -%post -n trinity-libsmokeqt-devel -/sbin/ldconfig || : - -%postun -n trinity-libsmokeqt-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libsmokekde1 -Summary: SMOKE Binding Library to TDE -Group: Environment/Libraries - -%description -n trinity-libsmokekde1 -The "Scripting Meta Object Kompiler Engine" library is used by -various TDE language bindings packages to provide interfaces to the -TDE libraries. - -This package is part of the official TDE bindings module. - -%files -n trinity-libsmokekde1 -%defattr(-,root,root,-) -%{tde_libdir}/libsmokekde.so.* - -%post -n trinity-libsmokekde1 -/sbin/ldconfig || : - -%postun -n trinity-libsmokekde1 -/sbin/ldconfig || : - -########## - -%package -n trinity-libsmokekde-devel -Summary: SMOKE Binding Library to TDE - Development Files -Group: Development/Libraries -Requires: trinity-libsmokekde1 = %{version}-%{release} - -%description -n trinity-libsmokekde-devel -The "Scripting Meta Object Kompiler Engine" library is used by -various TDE language bindings packages to provide interfaces to the -Qt and TDE libraries. This package contains the development files for -the library. - -If you are a normal user, you probably don't need this -package. - -This package is part of the official TDE bindings module. - -%files -n trinity-libsmokekde-devel -%defattr(-,root,root,-) -%{tde_libdir}/libsmokekde.so -%{tde_libdir}/libsmokekde.la - -%post -n trinity-libsmokekde-devel -/sbin/ldconfig || : - -%postun -n trinity-libsmokekde-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-perl-dcop -Summary: DCOP Bindings for Perl -Group: Development/Libraries - -Obsoletes: trinity-kdebindings-dcopperl < %{version}-%{release} -Provides: trinity-kdebindings-dcopperl = %{version}-%{release} - -%description -n trinity-perl-dcop -Perl bindings to the DCOP interprocess communication protocol used by TDE - -%files -n trinity-perl-dcop -%defattr(-,root,root,-) -%{perl_vendorarch}/auto/DCOP/* -%{perl_vendorarch}/DCOP.pm -%{perl_vendorarch}/DCOP/* -%doc dcopperl/AUTHORS dcopperl/Changes dcopperl/README dcopperl/TODO -%{tde_mandir}/man3/DCOP.3pm* - -########## - -%package -n trinity-python-dcop -Summary: DCOP bindings for Python -Group: Environment/Libraries -Requires: python -#Provides: %{name}-dcoppython = %{version}-%{release} - -%description -n trinity-python-dcop -This package contains the shared libraries necessary to run and -develop Python programs using the Python DCOP bindings -libraries. DCOP is the TDE Desktop COmmunications Protocol, used for -communicating with running TDE applications. - -This package is part of the official TDE bindings module. - -%files -n trinity-python-dcop -%defattr(-,root,root,-) -%{python_sitearch}/pcop.la -%{python_sitearch}/pcop.so -%{python_sitearch}/pydcop.py* - -########## - -%package -n trinity-libkjsembed1 -Summary: Embedded JavaScript library -Group: Environment/Libraries - -%description -n trinity-libkjsembed1 -This package contains the shared libraries necessary to run programs -linked with the KJSEmbed library. This library provides JavaScript -embedded scripting facilities to TDE applications. - -This package is part of the official TDE bindings module. - -%files -n trinity-libkjsembed1 -%defattr(-,root,root,-) -%{tde_libdir}/libkjsembed.so.* -%{tde_tdelibdir}/libimagefxplugin.la -%{tde_tdelibdir}/libimagefxplugin.so -%{tde_datadir}/services/imagefx_plugin.desktop -%{tde_tdelibdir}/libqprocessplugin.so -%{tde_tdelibdir}/libqprocessplugin.la -%{tde_datadir}/services/qprocess_plugin.desktop -%{tde_tdelibdir}/libfileitemplugin.la -%{tde_tdelibdir}/libfileitemplugin.so -%{tde_datadir}/services/kfileitem_plugin.desktop -%{tde_datadir}/apps/kjsembed/cmdline.js -%{tde_datadir}/servicetypes/binding_type.desktop -%{tde_bindir}/embedjs -%{tde_datadir}/apps/embedjs/embedjsui.rc -%{tde_datadir}/applnk/Utilities/embedjs.desktop -%{tde_datadir}/icons/hicolor/16x16/apps/embedjs.png -%{tde_datadir}/icons/hicolor/32x32/apps/embedjs.png -%{tde_tdelibdir}/libjavascript.la -%{tde_tdelibdir}/libjavascript.so -%{tde_datadir}/apps/kate/scripts/swaptabs.js -%{tde_datadir}/apps/kate/scripts/swaptabs.ui -%{tde_datadir}/apps/kate/scripts/swaptabs.desktop -%{tde_datadir}/services/javascript.desktop -%doc kjsembed/docs/ChangeLog - -%post -n trinity-libkjsembed1 -/sbin/ldconfig ||: -touch --no-create %{_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database >& /dev/null ||: - -%postun -n trinity-libkjsembed1 -/sbin/ldconfig ||: -touch --no-create %{_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database >& /dev/null ||: - -########## - -%package -n trinity-libkjsembed-devel -Summary: Embedded JavaScript library (Development files) -Group: Development/Libraries -Requires: trinity-libkjsembed1 = %{version}-%{release} - -%description -n trinity-libkjsembed-devel -This package contains the header files and symbolic links necessary -to develop and compile programs using the KJSEmbed library. This -library provides JavaScript embedded scripting facilities to TDE -applications. - -It also includes lots of example programs that make use of these -bindings, plus comprehensive documentation of the bindings. - -This package is part of the official TDE bindings module. - -%files -n trinity-libkjsembed-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kjsembed/ -%{tde_libdir}/libkjsembed.so -%{tde_libdir}/libkjsembed.la -%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ - -%post -n trinity-libkjsembed-devel -/sbin/ldconfig || : - -%postun -n trinity-libkjsembed-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kjscmd -Summary: A script interpreter using the TDE JavaScript library -Group: Environment/Libraries - -%description -n trinity-kjscmd -This package contains the kjscmd program, which is a standalone -JavaScript interpreter using the KJSEmbed library. - -This package is part of the official TDE bindings module. - -%files -n trinity-kjscmd -%defattr(-,root,root,-) -%{tde_bindir}/kjscmd -%{tde_tdeappdir}/kjscmd.desktop -%{tde_mandir}/man1/kjscmd.* -%{tde_tdelibdir}/libjsconsoleplugin.la -%{tde_tdelibdir}/libjsconsoleplugin.so - -%post -n trinity-kjscmd -update-desktop-database >& /dev/null ||: - -%postun -n trinity-kjscmd -update-desktop-database >& /dev/null ||: - -########## - -%package -n trinity-juic -Summary: The Qt Java UI Compiler -Group: Environment/Libraries -Requires: trinity-libqt3-java = %{version}-%{release} - -%description -n trinity-juic -This package contains the juic program, which is used to convert -a UI description file generated by the Qt Designer, and converts -it into a Qt Java class. It is necessary for compiling and -developing programs using the Qt Java bindings together with Qt -Designer. - -This package is part of the official TDE bindings module. - -%files -n trinity-juic -%defattr(-,root,root,-) -%{tde_bindir}/juic -%{tde_datadir}/juic/ - -########## - -%package -n trinity-libkorundum0-ruby -Summary: TDE bindings for Ruby [Trinity] -Group: Environment/Libraries -Requires: trinity-libqt0-ruby = %{version}-%{release} - -%description -n trinity-libkorundum0-ruby -This package contains the files necessary for running and developing -Ruby code using the Korundum TDE Ruby bindings. - -It also includes some example programs and templates that make use of -these bindings. - -This package is part of the official TDE bindings module. - -%files -n trinity-libkorundum0-ruby -%defattr(-,root,root,-) -%{tde_bindir}/rbkdesh -%{tde_bindir}/rbkdeapi -%{tde_bindir}/krubyinit -%{tde_bindir}/rbkconfig_compiler -%{ruby_rubylibdir}/Korundum.rb -%{ruby_rubylibdir}/KDE/korundum.rb -%if 0%{?fedora} == 17 -%{_usr}/%{_lib}/korundum.la -%{_usr}/%{_lib}/korundum.so* -%else -%{ruby_arch}/korundum.la -%{ruby_arch}/korundum.so* -%endif -%doc korundum/ChangeLog - -%post -n trinity-libkorundum0-ruby -/sbin/ldconfig || : - -%postun -n trinity-libkorundum0-ruby -/sbin/ldconfig || : - -########## - -%package -n trinity-libqt0-ruby -Summary: Qt bindings for Ruby [Trinity] -Group: Environment/Libraries -Requires: ruby - -%description -n trinity-libqt0-ruby -This package contains the files necessary for running and developing -Ruby code using the Qt Ruby bindings. - -It also includes some example programs that make use of these bindings, -plus many of the Qt Tutorial examples translated into Ruby. - -This package is part of the official TDE bindings module. - -%files -n trinity-libqt0-ruby -%defattr(-,root,root,-) -%{tde_bindir}/rbqtsh -%{tde_bindir}/rbqtapi -%{tde_bindir}/rbuic -%{tde_bindir}/qtrubyinit -%{ruby_rubylibdir}/Qt/qtruby.rb -%{ruby_rubylibdir}/Qt.rb -%{ruby_arch}/qtruby.so* -%{ruby_arch}/qtruby.la -%if 0%{?fedora} >= 17 -%{_usr}/%{_lib}/qui.so* -%{_usr}/%{_lib}/qui.la -%else -%{ruby_arch}/qui.so* -%{ruby_arch}/qui.la -%endif -%doc qtruby/ChangeLog - -%post -n trinity-libqt0-ruby -/sbin/ldconfig || : - -%postun -n trinity-libqt0-ruby -/sbin/ldconfig || : - -########## - -%if 0 -%package -n trinity-kmozilla -Summary: Kmozilla for TDE -Group: Environment/Libraries - -%description -n trinity-kmozilla -%{summary} - -%files -n trinity-kmozilla -%defattr(-,root,root,-) -%{tde_bindir}/kmozilla -%{tde_libdir}/libkmozillapart.so.* -%{tde_libdir}/libkmozillapart.so -%{tde_libdir}/libkmozillapart.la -%{tde_datadir}/services/kmozilla.desktop -%endif - -########## - -%package -n trinity-xpart-notepad -Summary: A small XPart editor -Group: Applications/Utilities - -%description -n trinity-xpart-notepad -xpart_notepad is a small XPart editor. Use it to understand how to use XPart. - -%files -n trinity-xpart-notepad -%defattr(-,root,root,-) -%{tde_bindir}/shell_xparthost -%{tde_bindir}/xp_notepad -%{tde_libdir}/libxp_notepadpart.la -%{tde_libdir}/libxp_notepadpart.so -%{tde_libdir}/libxp_notepadpart.so.* -%{tde_datadir}/services/xp_notepad.desktop -%doc xparts/xpart_notepad/README - -%post -n trinity-xpart-notepad -/sbin/ldconfig || : - -%postun -n trinity-xpart-notepad -/sbin/ldconfig || : - -########## - -%package -n trinity-libgtkxparts1 -Summary: Xparts library for GTK -Group: Environment/Libraries - -%description -n trinity-libgtkxparts1 -%{summary} - -%files -n trinity-libgtkxparts1 -%defattr(-,root,root,-) -%{tde_libdir}/libgtkxparts.so.* -%{tde_libdir}/libgtkxparts.la - -%post -n trinity-libgtkxparts1 -/sbin/ldconfig || : - -%postun -n trinity-libgtkxparts1 -/sbin/ldconfig || : - -########## - -%package -n trinity-libkdexparts1 -Summary: Xparts library for KDE -Group: Environment/Libraries - -%description -n trinity-libkdexparts1 -%{summary} - -%files -n trinity-libkdexparts1 -%defattr(-,root,root,-) -%{tde_libdir}/libkdexparts.so.* -%{tde_libdir}/libkdexparts.la - -%post -n trinity-libkdexparts1 -/sbin/ldconfig || : - -%postun -n trinity-libkdexparts1 -/sbin/ldconfig || : - -########## - -%package -n trinity-libxparts-devel -Summary: Xparts development files -Group: Development/Libraries -Requires: trinity-libgtkxparts1 = %{version}-%{release} -Requires: trinity-libkdexparts1 = %{version}-%{release} - -%description -n trinity-libxparts-devel -%{summary} - -%files -n trinity-libxparts-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/xkparts/ -%{tde_libdir}/libgtkxparts.so -%{tde_libdir}/libkdexparts.so - -%post -n trinity-libxparts-devel -/sbin/ldconfig || : - -%postun -n trinity-libxparts-devel -/sbin/ldconfig || : - -########## - -%package xparts-extras -Summary: Extra xparts for TDE [Trinity] -Group: Environment/Libraries - -# Metapckage requires -Requires: trinity-xpart-notepad = %{version}-%{release} -Requires: trinity-libgtkxparts1 = %{version}-%{release} -Requires: trinity-libkdexparts1 = %{version}-%{release} -Requires: trinity-libdcop-c = %{version}-%{release} - -%description xparts-extras -This package contains extra xparts-based modules for Trinity -This includes the mozilla-konqueror plugin - -This package is part of the official TDE bindings module. - -%files xparts-extras - -########### - -%package -n trinity-libdcop-c -Summary: DCOP bindings for C [Trinity] -Group: Environment/Libraries - -%description -n trinity-libdcop-c -%{summary} - -%files -n trinity-libdcop-c -%defattr(-,root,root,-) -%{tde_libdir}/libdcopc.so.* - -%post -n trinity-libdcop-c -/sbin/ldconfig || : - -%postun -n trinity-libdcop-c -/sbin/ldconfig || : - -########### - -%package -n trinity-libdcop-c-devel -Summary: DCOP bindings for C, development files [Trinity] -Group: Development/Libraries -Requires: trinity-libdcop-c = %{version}-%{release} - -%description -n trinity-libdcop-c-devel -%{summary} - -%files -n trinity-libdcop-c-devel -%defattr(-,root,root,-) -%{tde_libdir}/libdcopc.so -%{tde_libdir}/libdcopc.la -%{tde_tdeincludedir}/dcopc/ - -%post -n trinity-libdcop-c-devel -/sbin/ldconfig || : - -%postun -n trinity-libdcop-c-devel -/sbin/ldconfig || : - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: trinity-tdelibs-devel - -Obsoletes: trinity-kdebindings-devel < %{version}-%{release} -Provides: trinity-kdebindings-devel = %{version}-%{release} - -# Metapackage -Requires: trinity-libsmokeqt-devel = %{version}-%{release} -Requires: trinity-libdcop3-java-devel = %{version}-%{release} -Requires: trinity-libsmokekde-devel = %{version}-%{release} -Requires: trinity-libkjsembed-devel = %{version}-%{release} -Requires: trinity-libxparts-devel = %{version}-%{release} -Requires: trinity-libdcop-c-devel = %{version}-%{release} -Requires: trinity-libqt3-jni-devel = %{version}-%{release} -Requires: trinity-libtrinity-jni-devel = %{version}-%{release} - -%description devel -Development files for the TDE bindings. - -%files devel - -########## - -%prep -%setup -q -n kdebindings -%patch1 -p1 -b .libgcj - -%if 0%{?fedora} >= 17 -%patch2 -p1 -b .libhpi -%patch3 -p1 -%endif -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -b .dcopcinclude - -# Adds non-standard Ruby include path in include dirs -for d in \ - qtruby/rubylib/qtruby \ - qtruby/rubylib/designer/uilib \ - qtruby/bin \ - korundum/rubylib/korundum \ - korundum/bin \ -; do - echo -e "\nINCLUDES += -I%{_usr}/include/%{_normalized_cpu}-%{_target_os}" >> "${d}/Makefile.am" -done - -# Disable kmozilla, it does not build with recent xulrunner (missing 'libmozjs.so') -%__sed -i "xparts/Makefile.am" \ - -e "s|SUBDIRS = .*|SUBDIRS = src xpart_notepad|" - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; source /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -unset JAVA_HOME ||: -%{?java_home:JAVA_HOME=%{java_home}; export JAVA_HOME} - -# sip/PyQt/PyKDE built separately, not here -export DO_NOT_COMPILE="$DO_NOT_COMPILE python" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --docdir=%{tde_docdir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --enable-new-ldflags \ - --disable-debug --disable-warnings \ - --disable-dependency-tracking \ - --with-extra-libs=%{tde_libdir} \ - --with-pythondir=%{_usr} \ - --enable-closure \ - --enable-final \ - %{?_with_java} %{!?_with_java:--without-java} \ - %{?_enable_qscintilla} %{!?_enable_qscintilla:--disable-qscintilla} \ - --with-extra-includes=%{tde_includedir}/tqt - -pushd dcopperl -CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor - -# Ugly hack to add TQT include directory in Makefile -# Also modifies the man pages directory -sed -i Makefile \ - -e "s|^\(INC = .*\)|\1 -I%{tde_includedir}/tqt|" \ - -e "s|/usr/share/man|%{tde_mandir}|g" - -%__make OPTIMIZE="$RPM_OPT_FLAGS" ||: -popd - -# smoke (not smp-safe) -%__make -C smoke - -# The rest is smp-safe -%__make %{?_smp_mflags} PYTHON=%{__python} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf $RPM_BUILD_ROOT - -%__make install DESTDIR=%{?buildroot} \ - PYTHON=%{__python} - -# Removes some perl files -find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \ - -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';' - -# locale's -%find_lang %{name} || touch %{name}.lang -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then -for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common - done - popd - fi -done -fi - -# Installs juic -%__install -D -m 755 qtjava/designer/juic/bin/juic %{?buildroot}%{tde_bindir}/juic -%__install -d -m 755 %{?buildroot}%{tde_datadir}/juic/common -%__install qtjava/designer/juic/common/*.xml %{?buildroot}%{tde_datadir}/juic/common -%__install qtjava/designer/juic/common/*.xsl %{?buildroot}%{tde_datadir}/juic/common -%__install -d -m 755 %{?buildroot}%{tde_datadir}/juic/java -%__install qtjava/designer/juic/java/*.xml %{?buildroot}%{tde_datadir}/juic/java -%__install qtjava/designer/juic/java/*.xsl %{?buildroot}%{tde_datadir}/juic/java -%__install qtjava/designer/juic/juic.xsl %{?buildroot}%{tde_datadir}/juic - -# kjsembed sample files -%__install -d -m 755 %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ -%__install kjsembed/plugins/customobject_plugin.cpp %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ -%__install kjsembed/plugins/customobject_plugin.h %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ -%__install kjsembed/plugins/customobject_plugin.desktop %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ -%__install kjsembed/plugins/customqobject_plugin.cpp %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ -%__install kjsembed/plugins/customqobject_plugin.h %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ -%__install kjsembed/plugins/customqobject_plugin.desktop %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - - -%changelog -* Sun Jul 29 2012 Francois Andriot - 3.5.13-5 -- Split into several packages -- Add support for Mageia 2 -- Fix dcopperl man page location -- Removes strange install stuff from legacy Fedora - -* Tue Apr 24 2012 Francois Andriot - 3.5.13-4 -- Add support for Fedora 17 -- Removes 'hpi' support in openjdk (obsolete in openjdk 1.7.0) [Bug #978] -- Allow compilation with Ruby >= 1.9 [Bug #597] -- Fix various build issues [Bug #597] - -* Fri Nov 25 2011 Francois Andriot - 3.5.13-3 -- Fix HTML directory location - -* Fri Nov 04 2011 Francois Andriot - 3.5.13-2 -- Add missing BuildRequires - -* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 -- Initial release for RHEL 6, RHEL 5 and Fedora 15 - -* Sat Sep 03 2011 Francois Andriot - 3.5.13-0 -- Import to GIT -- Built with future TDE version (3.5.13 + cmake + QT3.3.8d) diff --git a/redhat/tdebindings/trinity-tdebindings-14.0.0.spec b/redhat/tdebindings/trinity-tdebindings-14.0.0.spec deleted file mode 100644 index 784ca0be5..000000000 --- a/redhat/tdebindings/trinity-tdebindings-14.0.0.spec +++ /dev/null @@ -1,1101 +0,0 @@ -# Special note for RHEL4: -# You must create symlink 'libgcj.so' manually because it does not exist by default. -# E.g: -# ln -s /usr/lib/libgcj.so.5.0.0 /usr/lib/jvm/java/lib/libgcj.so -# or 64 bits: -# ln -s /usr/lib64/libgcj.so.5.0.0 /usr/lib/jvm/java/lib/libgcj.so - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -# RHEL4 specific -Source91: filter-requires.sh -%if 0%{?rhel} == 4 -%define _use_internal_dependency_generator 0 -%define __find_requires sh %{SOURCE91} -%endif - -Name: trinity-tdebindings -Summary: TDE bindings to non-C++ languages -Version: 14.0.0 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} - -License: GPLv2 -Group: User Interface/Desktops - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz - -# [kdebindings] Fix FTBFS in dcopjava/bindings -Patch7: kdebindings-3.5.13.1-fix_dcopjava_ldflags.patch - -# [tdebindings] Function 'rb_frame_this_func' does not exist in RHEL5 -Patch18: kdebindings-3.5.13.1-fix_rhel5_ftbfs.patch - -BuildRequires: autoconf automake libtool m4 -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-arts-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} - -BuildRequires: desktop-file-utils -BuildRequires: zlib-devel -BuildRequires: perl(ExtUtils::MakeMaker) - -# GTK2 support -%if 0%{?rhel} == 4 -BuildRequires: evolution28-gtk2-devel -Requires: evolution28-gtk2 -BuildRequires: evolution28-glib2-devel -Requires: evolution28-glib2 -BuildRequires: evolution28-cairo-devel -Requires: evolution28-cairo -BuildRequires: evolution28-pango-devel -Requires: evolution28-pango -BuildRequires: evolution28-atk-devel -Requires: evolution28-atk -%else -BuildRequires: gtk2-devel -%endif - -# XULRUNNER support -%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} >= 1220 -BuildRequires: xulrunner-devel -%endif -%if 0%{?suse_version} == 1140 -BuildRequires: mozilla-xulrunner20-devel -%endif - -# GTK1 support -%if 0%{?fedora} || 0%{?rhel} -%define with_gtk1 1 -BuildRequires: glib-devel -BuildRequires: gtk+-devel -%endif -%if 0%{?mdkversion} == 201100 -%define with_gtk1 1 -BuildRequires: %{_lib}glib1.2-devel -BuildRequires: %{_lib}gtk+-devel -%endif - -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} -BuildRequires: libgdk_pixbuf2.0-devel -%else -BuildRequires: %{_lib}gdk_pixbuf2.0-devel -%endif -%else -%if 0%{?fedora} >= 17 -BuildRequires: gdk-pixbuf2-devel -%else -BuildRequires: gdk-pixbuf-devel -%endif -%endif - - -## Python -BuildRequires: python-devel -%define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)") - -## ruby -BuildRequires: ruby-devel >= 1.8, ruby -%{!?ruby_arch: %define ruby_arch %(ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]')} -%{!?ruby_rubylibdir: %define ruby_rubylibdir %(ruby -rrbconfig -e 'puts Config::CONFIG["rubylibdir"]')} -# Ruby 1.9 includes are located in strance directories ... (taken from ruby 1.9 spec file) -%global _normalized_cpu %(echo %{_target_cpu} | sed 's/^ppc/powerpc/;s/i.86/i386/;s/sparcv./sparc/;s/armv.*/arm/') - -## java -%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 -BuildRequires: java-1.4.2-gcj-compat-devel -BuildRequires: libgcj-devel -BuildRequires: gcc-java -%endif - -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} - -# PCLinuxOS use SUN's Java -%if 0%{?pclinuxos} -BuildRequires: java-1.6.0-sun -BuildRequires: java-1.6.0-sun-devel -%else - -# Others use OpenJDK -BuildRequires: java-openjdk -BuildRequires: java-devel >= 1.4.2 -%if 0%{?fedora} >= 17 || 0%{?suse_version} >= 1220 || 0%{?mgaversion} >= 3 -BuildRequires: java-1.7.0-openjdk-devel -%else -BuildRequires: java-1.6.0-openjdk-devel -%endif - -%endif -%endif - -%if 0%{?suse_version} -%define java_home %{_usr}/%{_lib}/jvm/java -%else -%if 0%{?rhel} == 4 -%define java_home %{_usr}/lib/jvm/java-1.4.2-gcj-1.4.2.0 -%else -%define java_home %{_usr}/lib/jvm/java -%endif -%endif -%define _with_java --with-java=%{java_home} - -## Perl -# There is no 'perl-devel' package on RHEL5 -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: perl-devel -%endif -%define perl_vendorarch %{expand:%%(eval `perl -V:installvendorarch`; echo $installvendorarch)} - - -Obsoletes: trinity-kdebindings < %{version}-%{release} -Provides: trinity-kdebindings = %{version}-%{release} - -# Metapackage requires -Requires: trinity-tdebindings-java = %{version}-%{release} -Requires: trinity-libsmokeqt1 = %{version}-%{release} -Requires: trinity-libsmokekde1 = %{version}-%{release} -Requires: trinity-perl-dcop = %{version}-%{release} -Requires: trinity-python-dcop = %{version}-%{release} -Requires: trinity-libkjsembed1 = %{version}-%{release} -Requires: trinity-kjscmd = %{version}-%{release} -Requires: trinity-juic = %{version}-%{release} -Requires: trinity-libkorundum0-ruby = %{version}-%{release} -Requires: trinity-libqt0-ruby = %{version}-%{release} - - -%description -TDE/DCOP bindings to non-C++ languages - -%files - -########## - -%package java -Summary: TDE Java bindings metapackage [Trinity] -Group: Environment/Libraries -Requires: trinity-libdcop3-java = %{version}-%{release} -Requires: trinity-libdcop3-jni = %{version}-%{release} -Requires: trinity-libqt3-java = %{version}-%{release} -Requires: trinity-libqt3-jni = %{version}-%{release} -Requires: trinity-libtrinity-java = %{version}-%{release} -Requires: trinity-libtrinity-jni = %{version}-%{release} - -%description java -A metapackage depending on all TDE, Qt and DCOP bindings libraries -related to the Java language. - -This package is part of the official TDE bindings module. - -%files java -%defattr(-,root,root,-) - -########## - -%package -n trinity-libdcop3-java -Summary: DCOP bindings for Java [Trinity] -Group: Environment/Libraries - -Requires: trinity-libdcop3-jni = %{version}-%{release} - -%description -n trinity-libdcop3-java -This package contains the Java classes necessary to run Java programs -using the Java DCOP bindings. DCOP is the TDE Desktop COmmunications -Protocol, used for communicating with running TDE applications. - -This package is part of the official TDE bindings module. - -%files -n trinity-libdcop3-java -%defattr(-,root,root,-) -#%{tde_datadir}/java/dcopjava*.jar -%{tde_libdir}/java/org/kde/DCOP/*.class - -########## - -%package -n trinity-libdcop3-java-devel -Summary: DCOP bindings for Java (dcopidl2java program) [Trinity] -Group: Development/Libraries -Requires: trinity-libdcop3-java = %{version}-%{release} - -%description -n trinity-libdcop3-java-devel -This package contains the dcopidl2java program which generates Java -stubs from DCOP IDL files, necessary to do development with the DCOP Java -bindings. DCOP is the TDE Desktop COmmunications Protocol, used for -communicating with running TDE applications. - -This package is part of the official TDE bindings module. - -%files -n trinity-libdcop3-java-devel -%defattr(-,root,root,-) -%{tde_bindir}/dcopidl2java - -########## - -%package -n trinity-libdcop3-jni -Summary: DCOP bindings for Java ( Native libraries ) [Trinity] -Group: Environment/Libraries - -%description -n trinity-libdcop3-jni -This package contains the shared libraries and scripts necessary to -run programs using the Java DCOP bindings. DCOP is the TDE Desktop -COmmunications Protocol, used for communicating with running TDE -applications. - -This package is part of the official TDE bindings module. - -%files -n trinity-libdcop3-jni -%defattr(-,root,root,-) -%{tde_libdir}/libjavadcop.la -%{tde_libdir}/libjavadcop.so - -%post -n trinity-libdcop3-jni -/sbin/ldconfig || : - -%postun -n trinity-libdcop3-jni -/sbin/ldconfig || : - -########## - -%package -n trinity-libqt3-java -Summary: Java bindings for Qt [Trinity] -Group: Environment/Libraries -Requires: trinity-libdcop3-jni = %{version}-%{release} -Requires: trinity-libqt3-jni = %{version}-%{release} -Requires: trinity-juic = %{version}-%{release} - -%description -n trinity-libqt3-java -This package contains the Java classes necessary to run Java programs -using the Java Qt bindings. Qt is a very popular GUI toolkit, used by -the TDE desktop environment. - -It also includes many example programs that make use of these bindings, -plus many of the Qt Tutorial examples translated into Java. - -This package is part of the official TDE bindings module. - -%files -n trinity-libqt3-java -%defattr(-,root,root,-) -%{tde_libdir}/java/qtjava*.jar -%{tde_tdedocdir}/HTML/en/javalib/ - -########## - -%package -n trinity-libqt3-jni -Summary: Java bindings for Qt ( Native libraries ) [Trinity] -Group: Environment/Libraries - -%description -n trinity-libqt3-jni -This package contains the shared libraries necessary to run Java -programs using the Java Qt bindings. Qt is a very popular GUI -toolkit, used by the TDE desktop environment. - -This package is part of the official TDE bindings module. - -%files -n trinity-libqt3-jni -%defattr(-,root,root,-) -%{tde_libdir}/libqtjavasupport.la -%{tde_libdir}/libqtjavasupport.so.* -%{tde_libdir}/jni/libqtjava.la -%{tde_libdir}/jni/libqtjava.so.* -%doc qtjava/ChangeLog - -########## - -%package -n trinity-libqt3-jni-devel -Summary: Development files fo Java bindings for Qt ( Native libraries ) [Trinity] -Group: Development/Libraries -Requires: trinity-libqt3-jni = %{version}-%{release} - -%description -n trinity-libqt3-jni-devel -This package contains the development files for trinity-libqt3-jni. - -This package is part of the official TDE bindings module. - -%files -n trinity-libqt3-jni-devel -%defattr(-,root,root,-) -%{tde_libdir}/libqtjavasupport.so -%{tde_libdir}/jni/libqtjava.so - -########## - -%package -n trinity-libtrinity-java -Summary: tdelibs bindings for Java [Trinity] -Group: Environment/Libraries - -Requires: trinity-libtrinity-jni = %{version}-%{release} - -%description -n trinity-libtrinity-java -This package contains the Java classes necessary to run Java programs -using the Java tdelibs bindings. TDE is the Trinity Desktop Environment, a -very popular UNIX Desktop Environment. - -It also includes some example applications that use these Java -classes, and multiple usage samples of the most common TDE classes. - -This package is part of the official TDE bindings module. - -%files -n trinity-libtrinity-java -%defattr(-,root,root,-) -%{tde_libdir}/java/koala*.jar - -########## - -%package -n trinity-libtrinity-jni -Summary: tdelibs bindings for java ( Native libraries ) [Trinity] -Group: Environment/Libraries - -%description -n trinity-libtrinity-jni -This package contains the shared libraries necessary to run Java -programs using the Java tdelibs bindings. TDE is the Trinity Desktop -Environment, a very popular UNIX Desktop Environment. - -This package is part of the official TDE bindings module. - -%files -n trinity-libtrinity-jni -%defattr(-,root,root,-) -%{tde_libdir}/jni/libkdejava.la -%{tde_libdir}/jni/libkdejava.so.* -%doc kdejava/ChangeLog - -########## - -%package -n trinity-libtrinity-jni-devel -Summary: Development files for tdelibs bindings for java ( Native libraries ) [Trinity] -Group: Development/Libraries -Requires: trinity-libtrinity-jni = %{version}-%{release} - -%description -n trinity-libtrinity-jni-devel -This package contains the development files for trinity-libtrinity-jni. - -This package is part of the official TDE bindings module. - -%files -n trinity-libtrinity-jni-devel -%defattr(-,root,root,-) -%{tde_libdir}/jni/libkdejava.so - -########## - -%package -n trinity-libsmokeqt1 -Summary: SMOKE Binding Library to Qt -Group: Environment/Libraries - -%description -n trinity-libsmokeqt1 -The "Scripting Meta Object Kompiler Engine" library is used by -various TDE language bindings packages to provide interfaces to the -Qt library. - -This package is part of the official TDE bindings module. - -%files -n trinity-libsmokeqt1 -%defattr(-,root,root,-) -%{tde_libdir}/libsmokeqt.so.* - -%post -n trinity-libsmokeqt1 -/sbin/ldconfig || : - -%postun -n trinity-libsmokeqt1 -/sbin/ldconfig || : - -########## - -%package -n trinity-libsmokeqt-devel -Summary: SMOKE Binding Library to Qt - Development Files -Group: Development/Libraries -Requires: trinity-libsmokeqt1 = %{version}-%{release} - -%description -n trinity-libsmokeqt-devel -The "Scripting Meta Object Kompiler Engine" library is used by -various TDE language bindings packages to provide interfaces to the -Qt library. This package contains the development files for the -library. - -If you are a normal user, you probably don't need this -package. - -This package is part of the official TDE bindings module. - -%files -n trinity-libsmokeqt-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/smoke.h -%{tde_libdir}/libsmokeqt.so -%{tde_libdir}/libsmokeqt.la - -%post -n trinity-libsmokeqt-devel -/sbin/ldconfig || : - -%postun -n trinity-libsmokeqt-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libsmokekde1 -Summary: SMOKE Binding Library to TDE -Group: Environment/Libraries - -%description -n trinity-libsmokekde1 -The "Scripting Meta Object Kompiler Engine" library is used by -various TDE language bindings packages to provide interfaces to the -TDE libraries. - -This package is part of the official TDE bindings module. - -%files -n trinity-libsmokekde1 -%defattr(-,root,root,-) -%{tde_libdir}/libsmokekde.so.* - -%post -n trinity-libsmokekde1 -/sbin/ldconfig || : - -%postun -n trinity-libsmokekde1 -/sbin/ldconfig || : - -########## - -%package -n trinity-libsmokekde-devel -Summary: SMOKE Binding Library to TDE - Development Files -Group: Development/Libraries -Requires: trinity-libsmokekde1 = %{version}-%{release} - -%description -n trinity-libsmokekde-devel -The "Scripting Meta Object Kompiler Engine" library is used by -various TDE language bindings packages to provide interfaces to the -Qt and TDE libraries. This package contains the development files for -the library. - -If you are a normal user, you probably don't need this -package. - -This package is part of the official TDE bindings module. - -%files -n trinity-libsmokekde-devel -%defattr(-,root,root,-) -%{tde_libdir}/libsmokekde.so -%{tde_libdir}/libsmokekde.la - -%post -n trinity-libsmokekde-devel -/sbin/ldconfig || : - -%postun -n trinity-libsmokekde-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-perl-dcop -Summary: DCOP Bindings for Perl -Group: Development/Libraries - -Obsoletes: trinity-kdebindings-dcopperl < %{version}-%{release} -Provides: trinity-kdebindings-dcopperl = %{version}-%{release} - -%description -n trinity-perl-dcop -Perl bindings to the DCOP interprocess communication protocol used by TDE - -%files -n trinity-perl-dcop -%defattr(-,root,root,-) -%{perl_vendorarch}/auto/DCOP/* -%{perl_vendorarch}/DCOP.pm -%{perl_vendorarch}/DCOP/* -%doc dcopperl/AUTHORS dcopperl/Changes dcopperl/README dcopperl/TODO -%{tde_mandir}/man3/DCOP.3pm* - -########## - -%package -n trinity-python-dcop -Summary: DCOP bindings for Python -Group: Environment/Libraries -Requires: python -#Provides: %{name}-dcoppython = %{version}-%{release} - -%description -n trinity-python-dcop -This package contains the shared libraries necessary to run and -develop Python programs using the Python DCOP bindings -libraries. DCOP is the TDE Desktop COmmunications Protocol, used for -communicating with running TDE applications. - -This package is part of the official TDE bindings module. - -%files -n trinity-python-dcop -%defattr(-,root,root,-) -%{python_sitearch}/pcop.la -%{python_sitearch}/pcop.so -%{python_sitearch}/pydcop.py* - -########## - -%package -n trinity-libkjsembed1 -Summary: Embedded JavaScript library -Group: Environment/Libraries - -%description -n trinity-libkjsembed1 -This package contains the shared libraries necessary to run programs -linked with the KJSEmbed library. This library provides JavaScript -embedded scripting facilities to TDE applications. - -This package is part of the official TDE bindings module. - -%files -n trinity-libkjsembed1 -%defattr(-,root,root,-) -%{tde_libdir}/libkjsembed.so.* -%{tde_tdelibdir}/libimagefxplugin.la -%{tde_tdelibdir}/libimagefxplugin.so -%{tde_datadir}/services/imagefx_plugin.desktop -%{tde_tdelibdir}/libqprocessplugin.so -%{tde_tdelibdir}/libqprocessplugin.la -%{tde_datadir}/services/qprocess_plugin.desktop -%{tde_tdelibdir}/libfileitemplugin.la -%{tde_tdelibdir}/libfileitemplugin.so -%{tde_datadir}/services/kfileitem_plugin.desktop -%{tde_datadir}/apps/kjsembed/cmdline.js -%{tde_datadir}/servicetypes/binding_type.desktop -%{tde_bindir}/embedjs -%{tde_datadir}/apps/embedjs/embedjsui.rc -%{tde_datadir}/applnk/Utilities/embedjs.desktop -%{tde_datadir}/icons/hicolor/16x16/apps/embedjs.png -%{tde_datadir}/icons/hicolor/32x32/apps/embedjs.png -%{tde_tdelibdir}/libjavascript.la -%{tde_tdelibdir}/libjavascript.so -%{tde_datadir}/apps/kate/scripts/swaptabs.js -%{tde_datadir}/apps/kate/scripts/swaptabs.ui -%{tde_datadir}/apps/kate/scripts/swaptabs.desktop -%{tde_datadir}/services/javascript.desktop -%doc kjsembed/docs/ChangeLog - -%post -n trinity-libkjsembed1 -/sbin/ldconfig ||: -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database >& /dev/null ||: - -%postun -n trinity-libkjsembed1 -/sbin/ldconfig ||: -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database >& /dev/null ||: - -########## - -%package -n trinity-libkjsembed-devel -Summary: Embedded JavaScript library (Development files) -Group: Development/Libraries -Requires: trinity-libkjsembed1 = %{version}-%{release} - -%description -n trinity-libkjsembed-devel -This package contains the header files and symbolic links necessary -to develop and compile programs using the KJSEmbed library. This -library provides JavaScript embedded scripting facilities to TDE -applications. - -It also includes lots of example programs that make use of these -bindings, plus comprehensive documentation of the bindings. - -This package is part of the official TDE bindings module. - -%files -n trinity-libkjsembed-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kjsembed/ -%{tde_libdir}/libkjsembed.so -%{tde_libdir}/libkjsembed.la -%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ - -%post -n trinity-libkjsembed-devel -/sbin/ldconfig || : - -%postun -n trinity-libkjsembed-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kjscmd -Summary: A script interpreter using the TDE JavaScript library -Group: Environment/Libraries - -%description -n trinity-kjscmd -This package contains the kjscmd program, which is a standalone -JavaScript interpreter using the KJSEmbed library. - -This package is part of the official TDE bindings module. - -%files -n trinity-kjscmd -%defattr(-,root,root,-) -%{tde_bindir}/kjscmd -%{tde_tdeappdir}/kjscmd.desktop -%{tde_mandir}/man1/kjscmd.* -%{tde_tdelibdir}/libjsconsoleplugin.la -%{tde_tdelibdir}/libjsconsoleplugin.so - -%post -n trinity-kjscmd -update-desktop-database >& /dev/null ||: - -%postun -n trinity-kjscmd -update-desktop-database >& /dev/null ||: - -########## - -%package -n trinity-juic -Summary: The Qt Java UI Compiler -Group: Environment/Libraries -Requires: trinity-libqt3-java = %{version}-%{release} - -%description -n trinity-juic -This package contains the juic program, which is used to convert -a UI description file generated by the Qt Designer, and converts -it into a Qt Java class. It is necessary for compiling and -developing programs using the Qt Java bindings together with Qt -Designer. - -This package is part of the official TDE bindings module. - -%files -n trinity-juic -%defattr(-,root,root,-) -%{tde_bindir}/juic -%{tde_datadir}/juic/ - -########## - -%package -n trinity-libkorundum0-ruby -Summary: TDE bindings for Ruby [Trinity] -Group: Environment/Libraries -Requires: trinity-libqt0-ruby = %{version}-%{release} - -%description -n trinity-libkorundum0-ruby -This package contains the files necessary for running and developing -Ruby code using the Korundum TDE Ruby bindings. - -It also includes some example programs and templates that make use of -these bindings. - -This package is part of the official TDE bindings module. - -%files -n trinity-libkorundum0-ruby -%defattr(-,root,root,-) -%{tde_bindir}/rbkdesh -%{tde_bindir}/rbkdeapi -%{tde_bindir}/krubyinit -%{tde_bindir}/rbkconfig_compiler -%{ruby_rubylibdir}/Korundum.rb -%{ruby_rubylibdir}/KDE/korundum.rb -%{ruby_arch}/korundum.la -%{ruby_arch}/korundum.so* -%doc korundum/ChangeLog - -%post -n trinity-libkorundum0-ruby -/sbin/ldconfig || : - -%postun -n trinity-libkorundum0-ruby -/sbin/ldconfig || : - -########## - -%package -n trinity-libqt0-ruby -Summary: Qt bindings for Ruby [Trinity] -Group: Environment/Libraries -Requires: ruby - -%description -n trinity-libqt0-ruby -This package contains the files necessary for running and developing -Ruby code using the Qt Ruby bindings. - -It also includes some example programs that make use of these bindings, -plus many of the Qt Tutorial examples translated into Ruby. - -This package is part of the official TDE bindings module. - -%files -n trinity-libqt0-ruby -%defattr(-,root,root,-) -%{tde_bindir}/rbqtsh -%{tde_bindir}/rbqtapi -%{tde_bindir}/rbuic -%{tde_bindir}/qtrubyinit -%{ruby_rubylibdir}/Qt/qtruby.rb -%{ruby_rubylibdir}/Qt.rb -%{ruby_arch}/qtruby.so* -%{ruby_arch}/qtruby.la -%{ruby_arch}/qui.so* -%{ruby_arch}/qui.la -%doc qtruby/ChangeLog - -%post -n trinity-libqt0-ruby -/sbin/ldconfig || : - -%postun -n trinity-libqt0-ruby -/sbin/ldconfig || : - -########## - -%if 0 -%package -n trinity-kmozilla -Summary: Kmozilla for TDE -Group: Environment/Libraries - -%description -n trinity-kmozilla -%{summary} - -%files -n trinity-kmozilla -%defattr(-,root,root,-) -%{tde_bindir}/kmozilla -%{tde_libdir}/libkmozillapart.so.* -%{tde_libdir}/libkmozillapart.so -%{tde_libdir}/libkmozillapart.la -%{tde_datadir}/services/kmozilla.desktop -%endif - -########## - -%package -n trinity-xpart-notepad -Summary: A small XPart editor -Group: Applications/Utilities - -%description -n trinity-xpart-notepad -xpart_notepad is a small XPart editor. Use it to understand how to use XPart. - -%files -n trinity-xpart-notepad -%defattr(-,root,root,-) -%{tde_bindir}/shell_xparthost -%{tde_bindir}/xp_notepad -%{tde_libdir}/libxp_notepadpart.la -%{tde_libdir}/libxp_notepadpart.so -%{tde_libdir}/libxp_notepadpart.so.* -%{tde_datadir}/services/xp_notepad.desktop -%doc xparts/xpart_notepad/README - -%post -n trinity-xpart-notepad -/sbin/ldconfig || : - -%postun -n trinity-xpart-notepad -/sbin/ldconfig || : - -########## - -%if 0%{?with_gtk1} -%package -n trinity-libgtkxparts1 -Summary: Xparts library for GTK -Group: Environment/Libraries - -%description -n trinity-libgtkxparts1 -%{summary} - -%files -n trinity-libgtkxparts1 -%defattr(-,root,root,-) -%{tde_libdir}/libgtkxparts.so.* -%{tde_libdir}/libgtkxparts.la - -%post -n trinity-libgtkxparts1 -/sbin/ldconfig || : - -%postun -n trinity-libgtkxparts1 -/sbin/ldconfig || : -%endif - -########## - -%package -n trinity-libkdexparts1 -Summary: Xparts library for KDE -Group: Environment/Libraries - -%description -n trinity-libkdexparts1 -%{summary} - -%files -n trinity-libkdexparts1 -%defattr(-,root,root,-) -%{tde_libdir}/libkdexparts.so.* -%{tde_libdir}/libkdexparts.la - -%post -n trinity-libkdexparts1 -/sbin/ldconfig || : - -%postun -n trinity-libkdexparts1 -/sbin/ldconfig || : - -########## - -%package -n trinity-libxparts-devel -Summary: Xparts development files -Group: Development/Libraries -%if 0%{?with_gtk1} -Requires: trinity-libgtkxparts1 = %{version}-%{release} -%endif -Requires: trinity-libkdexparts1 = %{version}-%{release} - -%description -n trinity-libxparts-devel -%{summary} - -%files -n trinity-libxparts-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/xkparts/ -%if 0%{?with_gtk1} -%{tde_libdir}/libgtkxparts.so -%endif -%{tde_libdir}/libkdexparts.so - -%post -n trinity-libxparts-devel -/sbin/ldconfig || : - -%postun -n trinity-libxparts-devel -/sbin/ldconfig || : - -########## - -%package xparts-extras -Summary: Extra xparts for TDE [Trinity] -Group: Environment/Libraries - -# Metapckage requires -Requires: trinity-xpart-notepad = %{version}-%{release} -%if 0%{?with_gtk1} -Requires: trinity-libgtkxparts1 = %{version}-%{release} -%endif -Requires: trinity-libkdexparts1 = %{version}-%{release} -Requires: trinity-libdcop-c = %{version}-%{release} - -%description xparts-extras -This package contains extra xparts-based modules for Trinity -This includes the mozilla-konqueror plugin - -This package is part of the official TDE bindings module. - -%files xparts-extras -%defattr(-,root,root,-) - -########### - -%package -n trinity-libdcop-c -Summary: DCOP bindings for C [Trinity] -Group: Environment/Libraries - -%description -n trinity-libdcop-c -%{summary} - -%files -n trinity-libdcop-c -%defattr(-,root,root,-) -%{tde_libdir}/libdcopc.so.* - -%post -n trinity-libdcop-c -/sbin/ldconfig || : - -%postun -n trinity-libdcop-c -/sbin/ldconfig || : - -########### - -%package -n trinity-libdcop-c-devel -Summary: DCOP bindings for C, development files [Trinity] -Group: Development/Libraries -Requires: trinity-libdcop-c = %{version}-%{release} - -%description -n trinity-libdcop-c-devel -%{summary} - -%files -n trinity-libdcop-c-devel -%defattr(-,root,root,-) -%{tde_libdir}/libdcopc.so -%{tde_libdir}/libdcopc.la -%{tde_tdeincludedir}/dcopc/ - -%post -n trinity-libdcop-c-devel -/sbin/ldconfig || : - -%postun -n trinity-libdcop-c-devel -/sbin/ldconfig || : - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: trinity-tdelibs-devel - -Obsoletes: trinity-kdebindings-devel < %{version}-%{release} -Provides: trinity-kdebindings-devel = %{version}-%{release} - -# Metapackage -Requires: trinity-libsmokeqt-devel = %{version}-%{release} -Requires: trinity-libdcop3-java-devel = %{version}-%{release} -Requires: trinity-libsmokekde-devel = %{version}-%{release} -Requires: trinity-libkjsembed-devel = %{version}-%{release} -Requires: trinity-libxparts-devel = %{version}-%{release} -Requires: trinity-libdcop-c-devel = %{version}-%{release} -Requires: trinity-libqt3-jni-devel = %{version}-%{release} -Requires: trinity-libtrinity-jni-devel = %{version}-%{release} - -%description devel -Development files for the TDE bindings. - -%files devel - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} -%patch7 -p1 -b .dcopjavaldflags - -%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 -%patch18 -p1 -b .ruby -%endif - -# Workarounds strange issue in MGA3 -%if 0%{?mgaversion} == 3 || 0%{?pclinuxos} >= 2013 -%__cp /usr/share/automake-1.13/test-driver admin/ -%endif - -# Disable kmozilla, it does not build with recent xulrunner (missing 'libmozjs.so') -%__sed -i "xparts/Makefile.am" \ - -e "s|SUBDIRS = .*|SUBDIRS = src xpart_notepad|" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -unset JAVA_HOME ||: -%{?java_home:JAVA_HOME=%{java_home}; export JAVA_HOME} - -# sip/PyQt/PyKDE built separately, not here -export DO_NOT_COMPILE="$DO_NOT_COMPILE python" - -# Specific path for RHEL4 -if [ -d /usr/X11R6 ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi -if [ -d /usr/evolution28 ]; then - export PATH="/usr/evolution28/bin:${PATH}" - export PKG_CONFIG_PATH="/usr/evolution28/%{_lib}/pkgconfig:${PKG_CONFIG_PATH}" -fi - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --docdir=%{tde_docdir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --enable-new-ldflags \ - --disable-debug --disable-warnings \ - --disable-dependency-tracking \ - --with-extra-libs=%{tde_libdir} \ - --with-pythondir=%{_usr} \ - --enable-closure \ - --enable-final \ - %{?_with_java} %{!?_with_java:--without-java} \ - %{?_enable_qscintilla} %{!?_enable_qscintilla:--disable-qscintilla} \ - --with-extra-includes=%{tde_includedir}/tqt - -pushd dcopperl -CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor - -# Ugly hack to add TQT include directory in Makefile -# Also modifies the man pages directory -sed -i Makefile \ - -e "s|^\(INC = .*\)|\1 -I%{tde_includedir}/tqt|" \ - -e "s|/usr/share/man|%{tde_mandir}|g" - -%__make OPTIMIZE="$RPM_OPT_FLAGS" ||: -popd - -# smoke (not smp-safe) -%__make -C smoke - -# The rest is smp-safe -%__make %{?_smp_mflags} PYTHON=%{__python} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf $RPM_BUILD_ROOT - -%__make install DESTDIR=%{?buildroot} \ - PYTHON=%{__python} - -# Removes some perl files -find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \ - -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';' - -# locale's -%find_lang %{name} || touch %{name}.lang -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then -for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common - done - popd - fi -done -fi - -# Installs juic -%__install -D -m 755 qtjava/designer/juic/bin/juic %{?buildroot}%{tde_bindir}/juic -%__install -d -m 755 %{?buildroot}%{tde_datadir}/juic/common -%__install qtjava/designer/juic/common/*.xml %{?buildroot}%{tde_datadir}/juic/common -%__install qtjava/designer/juic/common/*.xsl %{?buildroot}%{tde_datadir}/juic/common -%__install -d -m 755 %{?buildroot}%{tde_datadir}/juic/java -%__install qtjava/designer/juic/java/*.xml %{?buildroot}%{tde_datadir}/juic/java -%__install qtjava/designer/juic/java/*.xsl %{?buildroot}%{tde_datadir}/juic/java -%__install qtjava/designer/juic/juic.xsl %{?buildroot}%{tde_datadir}/juic - -# kjsembed sample files -%__install -d -m 755 %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ -%__install kjsembed/plugins/customobject_plugin.cpp %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ -%__install kjsembed/plugins/customobject_plugin.h %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ -%__install kjsembed/plugins/customobject_plugin.desktop %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ -%__install kjsembed/plugins/customqobject_plugin.cpp %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ -%__install kjsembed/plugins/customqobject_plugin.h %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ -%__install kjsembed/plugins/customqobject_plugin.desktop %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ - - -# Man installation location is wrong on RHEL4... -if [ -d "%{buildroot}%{_mandir}/man3" ]; then - mv -f %{buildroot}%{_mandir}/man3 %{buildroot}%{tde_mandir}/man3/ - rm -rf %{buildroot}%{_mandir} -fi - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 -- Initial release for TDE 3.5.13.2 diff --git a/redhat/tdebindings/trinity-tdebindings-3.5.13.2.spec b/redhat/tdebindings/trinity-tdebindings-3.5.13.2.spec deleted file mode 100644 index da5536070..000000000 --- a/redhat/tdebindings/trinity-tdebindings-3.5.13.2.spec +++ /dev/null @@ -1,1112 +0,0 @@ -# Special note for RHEL4: -# You must create symlink 'libgcj.so' manually because it does not exist by default. -# E.g: -# ln -s /usr/lib/libgcj.so.5.0.0 /usr/lib/jvm/java/lib/libgcj.so -# or 64 bits: -# ln -s /usr/lib64/libgcj.so.5.0.0 /usr/lib/jvm/java/lib/libgcj.so - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -# RHEL4 specific -Source91: filter-requires.sh -%if 0%{?rhel} == 4 -%define _use_internal_dependency_generator 0 -%define __find_requires sh %{SOURCE91} -%endif - -Name: trinity-tdebindings -Summary: TDE bindings to non-C++ languages -Version: 3.5.13.2 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} - -License: GPLv2 -Group: User Interface/Desktops - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz - -# [kdebindings] Fix FTBFS in dcopjava/bindings -Patch7: kdebindings-3.5.13.1-fix_dcopjava_ldflags.patch - -# [tdebindings] Function 'rb_frame_this_func' does not exist in RHEL5 -Patch18: kdebindings-3.5.13.1-fix_rhel5_ftbfs.patch - -BuildRequires: autoconf automake libtool m4 -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-arts-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} - -BuildRequires: desktop-file-utils -BuildRequires: zlib-devel -BuildRequires: perl(ExtUtils::MakeMaker) - -# GTK2 support -%if 0%{?rhel} == 4 -BuildRequires: evolution28-gtk2-devel -Requires: evolution28-gtk2 -BuildRequires: evolution28-glib2-devel -Requires: evolution28-glib2 -BuildRequires: evolution28-cairo-devel -Requires: evolution28-cairo -BuildRequires: evolution28-pango-devel -Requires: evolution28-pango -BuildRequires: evolution28-atk-devel -Requires: evolution28-atk -%else -BuildRequires: gtk2-devel -%endif - -# XULRUNNER support -%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} >= 1220 -BuildRequires: xulrunner-devel -%endif -%if 0%{?suse_version} == 1140 -BuildRequires: mozilla-xulrunner20-devel -%endif - -# GTK1 support -%if 0%{?fedora} || 0%{?rhel} -%define with_gtk1 1 -BuildRequires: glib-devel -BuildRequires: gtk+-devel -%endif -%if 0%{?mdkversion} == 201100 -%define with_gtk1 1 -BuildRequires: %{_lib}glib1.2-devel -BuildRequires: %{_lib}gtk+-devel -%endif - -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} -BuildRequires: libgdk_pixbuf2.0-devel -%else -BuildRequires: %{_lib}gdk_pixbuf2.0-devel -%endif -%else -%if 0%{?fedora} >= 17 -BuildRequires: gdk-pixbuf2-devel -%else -BuildRequires: gdk-pixbuf-devel -%endif -%endif - - -## Python -BuildRequires: python-devel -%define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)") - -## ruby -BuildRequires: ruby-devel >= 1.8, ruby -%{!?ruby_arch: %define ruby_arch %(ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]')} -%{!?ruby_rubylibdir: %define ruby_rubylibdir %(ruby -rrbconfig -e 'puts Config::CONFIG["rubylibdir"]')} -# Ruby 1.9 includes are located in strance directories ... (taken from ruby 1.9 spec file) -%global _normalized_cpu %(echo %{_target_cpu} | sed 's/^ppc/powerpc/;s/i.86/i386/;s/sparcv./sparc/;s/armv.*/arm/') - -## java -%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 -BuildRequires: java-1.4.2-gcj-compat-devel -BuildRequires: libgcj-devel -BuildRequires: gcc-java -%endif - -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} - -# PCLinuxOS use SUN's Java -%if 0%{?pclinuxos} -BuildRequires: java-1.6.0-sun -BuildRequires: java-1.6.0-sun-devel -%else - -# Others use OpenJDK -BuildRequires: java-openjdk -BuildRequires: java-devel >= 1.4.2 -%if 0%{?fedora} >= 17 || 0%{?suse_version} >= 1220 || 0%{?mgaversion} >= 3 -BuildRequires: java-1.7.0-openjdk-devel -%else -BuildRequires: java-1.6.0-openjdk-devel -%endif - -%endif -%endif - -%if 0%{?suse_version} -%define java_home %{_usr}/%{_lib}/jvm/java -%else -%if 0%{?rhel} == 4 -%define java_home %{_usr}/lib/jvm/java-1.4.2-gcj-1.4.2.0 -%else -%define java_home %{_usr}/lib/jvm/java -%endif -%endif -%define _with_java --with-java=%{java_home} - -## Perl -# There is no 'perl-devel' package on RHEL5 -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} -BuildRequires: perl-devel -%endif -%define perl_vendorarch %{expand:%%(eval `perl -V:installvendorarch`; echo $installvendorarch)} - - -Obsoletes: trinity-kdebindings < %{version}-%{release} -Provides: trinity-kdebindings = %{version}-%{release} - -# Metapackage requires -Requires: trinity-tdebindings-java = %{version}-%{release} -Requires: trinity-libsmokeqt1 = %{version}-%{release} -Requires: trinity-libsmokekde1 = %{version}-%{release} -Requires: trinity-perl-dcop = %{version}-%{release} -Requires: trinity-python-dcop = %{version}-%{release} -Requires: trinity-libkjsembed1 = %{version}-%{release} -Requires: trinity-kjscmd = %{version}-%{release} -Requires: trinity-juic = %{version}-%{release} -Requires: trinity-libkorundum0-ruby = %{version}-%{release} -Requires: trinity-libqt0-ruby = %{version}-%{release} - - -%description -TDE/DCOP bindings to non-C++ languages - -%files - -########## - -%package java -Summary: TDE Java bindings metapackage [Trinity] -Group: Environment/Libraries -Requires: trinity-libdcop3-java = %{version}-%{release} -Requires: trinity-libdcop3-jni = %{version}-%{release} -Requires: trinity-libqt3-java = %{version}-%{release} -Requires: trinity-libqt3-jni = %{version}-%{release} -Requires: trinity-libtrinity-java = %{version}-%{release} -Requires: trinity-libtrinity-jni = %{version}-%{release} - -%description java -A metapackage depending on all TDE, Qt and DCOP bindings libraries -related to the Java language. - -This package is part of the official TDE bindings module. - -%files java -%defattr(-,root,root,-) - -########## - -%package -n trinity-libdcop3-java -Summary: DCOP bindings for Java [Trinity] -Group: Environment/Libraries - -Requires: trinity-libdcop3-jni = %{version}-%{release} - -%description -n trinity-libdcop3-java -This package contains the Java classes necessary to run Java programs -using the Java DCOP bindings. DCOP is the TDE Desktop COmmunications -Protocol, used for communicating with running TDE applications. - -This package is part of the official TDE bindings module. - -%files -n trinity-libdcop3-java -%defattr(-,root,root,-) -#%{tde_datadir}/java/dcopjava*.jar -%{tde_libdir}/java/org/kde/DCOP/*.class - -########## - -%package -n trinity-libdcop3-java-devel -Summary: DCOP bindings for Java (dcopidl2java program) [Trinity] -Group: Development/Libraries -Requires: trinity-libdcop3-java = %{version}-%{release} - -%description -n trinity-libdcop3-java-devel -This package contains the dcopidl2java program which generates Java -stubs from DCOP IDL files, necessary to do development with the DCOP Java -bindings. DCOP is the TDE Desktop COmmunications Protocol, used for -communicating with running TDE applications. - -This package is part of the official TDE bindings module. - -%files -n trinity-libdcop3-java-devel -%defattr(-,root,root,-) -%{tde_bindir}/dcopidl2java - -########## - -%package -n trinity-libdcop3-jni -Summary: DCOP bindings for Java ( Native libraries ) [Trinity] -Group: Environment/Libraries - -%description -n trinity-libdcop3-jni -This package contains the shared libraries and scripts necessary to -run programs using the Java DCOP bindings. DCOP is the TDE Desktop -COmmunications Protocol, used for communicating with running TDE -applications. - -This package is part of the official TDE bindings module. - -%files -n trinity-libdcop3-jni -%defattr(-,root,root,-) -%{tde_libdir}/libjavadcop.la -%{tde_libdir}/libjavadcop.so - -%post -n trinity-libdcop3-jni -/sbin/ldconfig || : - -%postun -n trinity-libdcop3-jni -/sbin/ldconfig || : - -########## - -%package -n trinity-libqt3-java -Summary: Java bindings for Qt [Trinity] -Group: Environment/Libraries -Requires: trinity-libdcop3-jni = %{version}-%{release} -Requires: trinity-libqt3-jni = %{version}-%{release} -Requires: trinity-juic = %{version}-%{release} - -%description -n trinity-libqt3-java -This package contains the Java classes necessary to run Java programs -using the Java Qt bindings. Qt is a very popular GUI toolkit, used by -the TDE desktop environment. - -It also includes many example programs that make use of these bindings, -plus many of the Qt Tutorial examples translated into Java. - -This package is part of the official TDE bindings module. - -%files -n trinity-libqt3-java -%defattr(-,root,root,-) -%{tde_libdir}/java/qtjava*.jar -%{tde_tdedocdir}/HTML/en/javalib/ - -########## - -%package -n trinity-libqt3-jni -Summary: Java bindings for Qt ( Native libraries ) [Trinity] -Group: Environment/Libraries - -%description -n trinity-libqt3-jni -This package contains the shared libraries necessary to run Java -programs using the Java Qt bindings. Qt is a very popular GUI -toolkit, used by the TDE desktop environment. - -This package is part of the official TDE bindings module. - -%files -n trinity-libqt3-jni -%defattr(-,root,root,-) -%{tde_libdir}/libqtjavasupport.la -%{tde_libdir}/libqtjavasupport.so.* -%{tde_libdir}/jni/libqtjava.la -%{tde_libdir}/jni/libqtjava.so.* -%doc qtjava/ChangeLog - -########## - -%package -n trinity-libqt3-jni-devel -Summary: Development files fo Java bindings for Qt ( Native libraries ) [Trinity] -Group: Development/Libraries -Requires: trinity-libqt3-jni = %{version}-%{release} - -%description -n trinity-libqt3-jni-devel -This package contains the development files for trinity-libqt3-jni. - -This package is part of the official TDE bindings module. - -%files -n trinity-libqt3-jni-devel -%defattr(-,root,root,-) -%{tde_libdir}/libqtjavasupport.so -%{tde_libdir}/jni/libqtjava.so - -########## - -%package -n trinity-libtrinity-java -Summary: tdelibs bindings for Java [Trinity] -Group: Environment/Libraries - -Requires: trinity-libtrinity-jni = %{version}-%{release} - -%description -n trinity-libtrinity-java -This package contains the Java classes necessary to run Java programs -using the Java tdelibs bindings. TDE is the Trinity Desktop Environment, a -very popular UNIX Desktop Environment. - -It also includes some example applications that use these Java -classes, and multiple usage samples of the most common TDE classes. - -This package is part of the official TDE bindings module. - -%files -n trinity-libtrinity-java -%defattr(-,root,root,-) -%{tde_libdir}/java/koala*.jar - -########## - -%package -n trinity-libtrinity-jni -Summary: tdelibs bindings for java ( Native libraries ) [Trinity] -Group: Environment/Libraries - -%description -n trinity-libtrinity-jni -This package contains the shared libraries necessary to run Java -programs using the Java tdelibs bindings. TDE is the Trinity Desktop -Environment, a very popular UNIX Desktop Environment. - -This package is part of the official TDE bindings module. - -%files -n trinity-libtrinity-jni -%defattr(-,root,root,-) -%{tde_libdir}/jni/libkdejava.la -%{tde_libdir}/jni/libkdejava.so.* -%doc kdejava/ChangeLog - -########## - -%package -n trinity-libtrinity-jni-devel -Summary: Development files for tdelibs bindings for java ( Native libraries ) [Trinity] -Group: Development/Libraries -Requires: trinity-libtrinity-jni = %{version}-%{release} - -%description -n trinity-libtrinity-jni-devel -This package contains the development files for trinity-libtrinity-jni. - -This package is part of the official TDE bindings module. - -%files -n trinity-libtrinity-jni-devel -%defattr(-,root,root,-) -%{tde_libdir}/jni/libkdejava.so - -########## - -%package -n trinity-libsmokeqt1 -Summary: SMOKE Binding Library to Qt -Group: Environment/Libraries - -%description -n trinity-libsmokeqt1 -The "Scripting Meta Object Kompiler Engine" library is used by -various TDE language bindings packages to provide interfaces to the -Qt library. - -This package is part of the official TDE bindings module. - -%files -n trinity-libsmokeqt1 -%defattr(-,root,root,-) -%{tde_libdir}/libsmokeqt.so.* - -%post -n trinity-libsmokeqt1 -/sbin/ldconfig || : - -%postun -n trinity-libsmokeqt1 -/sbin/ldconfig || : - -########## - -%package -n trinity-libsmokeqt-devel -Summary: SMOKE Binding Library to Qt - Development Files -Group: Development/Libraries -Requires: trinity-libsmokeqt1 = %{version}-%{release} - -%description -n trinity-libsmokeqt-devel -The "Scripting Meta Object Kompiler Engine" library is used by -various TDE language bindings packages to provide interfaces to the -Qt library. This package contains the development files for the -library. - -If you are a normal user, you probably don't need this -package. - -This package is part of the official TDE bindings module. - -%files -n trinity-libsmokeqt-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/smoke.h -%{tde_libdir}/libsmokeqt.so -%{tde_libdir}/libsmokeqt.la - -%post -n trinity-libsmokeqt-devel -/sbin/ldconfig || : - -%postun -n trinity-libsmokeqt-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libsmokekde1 -Summary: SMOKE Binding Library to TDE -Group: Environment/Libraries - -%description -n trinity-libsmokekde1 -The "Scripting Meta Object Kompiler Engine" library is used by -various TDE language bindings packages to provide interfaces to the -TDE libraries. - -This package is part of the official TDE bindings module. - -%files -n trinity-libsmokekde1 -%defattr(-,root,root,-) -%{tde_libdir}/libsmokekde.so.* - -%post -n trinity-libsmokekde1 -/sbin/ldconfig || : - -%postun -n trinity-libsmokekde1 -/sbin/ldconfig || : - -########## - -%package -n trinity-libsmokekde-devel -Summary: SMOKE Binding Library to TDE - Development Files -Group: Development/Libraries -Requires: trinity-libsmokekde1 = %{version}-%{release} - -%description -n trinity-libsmokekde-devel -The "Scripting Meta Object Kompiler Engine" library is used by -various TDE language bindings packages to provide interfaces to the -Qt and TDE libraries. This package contains the development files for -the library. - -If you are a normal user, you probably don't need this -package. - -This package is part of the official TDE bindings module. - -%files -n trinity-libsmokekde-devel -%defattr(-,root,root,-) -%{tde_libdir}/libsmokekde.so -%{tde_libdir}/libsmokekde.la - -%post -n trinity-libsmokekde-devel -/sbin/ldconfig || : - -%postun -n trinity-libsmokekde-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-perl-dcop -Summary: DCOP Bindings for Perl -Group: Development/Libraries - -Obsoletes: trinity-kdebindings-dcopperl < %{version}-%{release} -Provides: trinity-kdebindings-dcopperl = %{version}-%{release} - -%description -n trinity-perl-dcop -Perl bindings to the DCOP interprocess communication protocol used by TDE - -%files -n trinity-perl-dcop -%defattr(-,root,root,-) -%{perl_vendorarch}/auto/DCOP/* -%{perl_vendorarch}/DCOP.pm -%{perl_vendorarch}/DCOP/* -%doc dcopperl/AUTHORS dcopperl/Changes dcopperl/README dcopperl/TODO -%{tde_mandir}/man3/DCOP.3pm* - -########## - -%package -n trinity-python-dcop -Summary: DCOP bindings for Python -Group: Environment/Libraries -Requires: python -#Provides: %{name}-dcoppython = %{version}-%{release} - -%description -n trinity-python-dcop -This package contains the shared libraries necessary to run and -develop Python programs using the Python DCOP bindings -libraries. DCOP is the TDE Desktop COmmunications Protocol, used for -communicating with running TDE applications. - -This package is part of the official TDE bindings module. - -%files -n trinity-python-dcop -%defattr(-,root,root,-) -%{python_sitearch}/pcop.la -%{python_sitearch}/pcop.so -%{python_sitearch}/pydcop.py* - -########## - -%package -n trinity-libkjsembed1 -Summary: Embedded JavaScript library -Group: Environment/Libraries - -%description -n trinity-libkjsembed1 -This package contains the shared libraries necessary to run programs -linked with the KJSEmbed library. This library provides JavaScript -embedded scripting facilities to TDE applications. - -This package is part of the official TDE bindings module. - -%files -n trinity-libkjsembed1 -%defattr(-,root,root,-) -%{tde_libdir}/libkjsembed.so.* -%{tde_tdelibdir}/libimagefxplugin.la -%{tde_tdelibdir}/libimagefxplugin.so -%{tde_datadir}/services/imagefx_plugin.desktop -%{tde_tdelibdir}/libqprocessplugin.so -%{tde_tdelibdir}/libqprocessplugin.la -%{tde_datadir}/services/qprocess_plugin.desktop -%{tde_tdelibdir}/libfileitemplugin.la -%{tde_tdelibdir}/libfileitemplugin.so -%{tde_datadir}/services/kfileitem_plugin.desktop -%{tde_datadir}/apps/kjsembed/cmdline.js -%{tde_datadir}/servicetypes/binding_type.desktop -%{tde_bindir}/embedjs -%{tde_datadir}/apps/embedjs/embedjsui.rc -%{tde_datadir}/applnk/Utilities/embedjs.desktop -%{tde_datadir}/icons/hicolor/16x16/apps/embedjs.png -%{tde_datadir}/icons/hicolor/32x32/apps/embedjs.png -%{tde_tdelibdir}/libjavascript.la -%{tde_tdelibdir}/libjavascript.so -%{tde_datadir}/apps/kate/scripts/swaptabs.js -%{tde_datadir}/apps/kate/scripts/swaptabs.ui -%{tde_datadir}/apps/kate/scripts/swaptabs.desktop -%{tde_datadir}/services/javascript.desktop -%doc kjsembed/docs/ChangeLog - -%post -n trinity-libkjsembed1 -/sbin/ldconfig ||: -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database >& /dev/null ||: - -%postun -n trinity-libkjsembed1 -/sbin/ldconfig ||: -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database >& /dev/null ||: - -########## - -%package -n trinity-libkjsembed-devel -Summary: Embedded JavaScript library (Development files) -Group: Development/Libraries -Requires: trinity-libkjsembed1 = %{version}-%{release} - -%description -n trinity-libkjsembed-devel -This package contains the header files and symbolic links necessary -to develop and compile programs using the KJSEmbed library. This -library provides JavaScript embedded scripting facilities to TDE -applications. - -It also includes lots of example programs that make use of these -bindings, plus comprehensive documentation of the bindings. - -This package is part of the official TDE bindings module. - -%files -n trinity-libkjsembed-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kjsembed/ -%{tde_libdir}/libkjsembed.so -%{tde_libdir}/libkjsembed.la -%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ - -%post -n trinity-libkjsembed-devel -/sbin/ldconfig || : - -%postun -n trinity-libkjsembed-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kjscmd -Summary: A script interpreter using the TDE JavaScript library -Group: Environment/Libraries - -%description -n trinity-kjscmd -This package contains the kjscmd program, which is a standalone -JavaScript interpreter using the KJSEmbed library. - -This package is part of the official TDE bindings module. - -%files -n trinity-kjscmd -%defattr(-,root,root,-) -%{tde_bindir}/kjscmd -%{tde_tdeappdir}/kjscmd.desktop -%{tde_mandir}/man1/kjscmd.* -%{tde_tdelibdir}/libjsconsoleplugin.la -%{tde_tdelibdir}/libjsconsoleplugin.so - -%post -n trinity-kjscmd -update-desktop-database >& /dev/null ||: - -%postun -n trinity-kjscmd -update-desktop-database >& /dev/null ||: - -########## - -%package -n trinity-juic -Summary: The Qt Java UI Compiler -Group: Environment/Libraries -Requires: trinity-libqt3-java = %{version}-%{release} - -%description -n trinity-juic -This package contains the juic program, which is used to convert -a UI description file generated by the Qt Designer, and converts -it into a Qt Java class. It is necessary for compiling and -developing programs using the Qt Java bindings together with Qt -Designer. - -This package is part of the official TDE bindings module. - -%files -n trinity-juic -%defattr(-,root,root,-) -%{tde_bindir}/juic -%{tde_datadir}/juic/ - -########## - -%package -n trinity-libkorundum0-ruby -Summary: TDE bindings for Ruby [Trinity] -Group: Environment/Libraries -Requires: trinity-libqt0-ruby = %{version}-%{release} - -%description -n trinity-libkorundum0-ruby -This package contains the files necessary for running and developing -Ruby code using the Korundum TDE Ruby bindings. - -It also includes some example programs and templates that make use of -these bindings. - -This package is part of the official TDE bindings module. - -%files -n trinity-libkorundum0-ruby -%defattr(-,root,root,-) -%{tde_bindir}/rbkdesh -%{tde_bindir}/rbkdeapi -%{tde_bindir}/krubyinit -%{tde_bindir}/rbkconfig_compiler -%{ruby_rubylibdir}/Korundum.rb -%{ruby_rubylibdir}/KDE/korundum.rb -%{ruby_arch}/korundum.la -%{ruby_arch}/korundum.so* -%doc korundum/ChangeLog - -%post -n trinity-libkorundum0-ruby -/sbin/ldconfig || : - -%postun -n trinity-libkorundum0-ruby -/sbin/ldconfig || : - -########## - -%package -n trinity-libqt0-ruby -Summary: Qt bindings for Ruby [Trinity] -Group: Environment/Libraries -Requires: ruby - -%description -n trinity-libqt0-ruby -This package contains the files necessary for running and developing -Ruby code using the Qt Ruby bindings. - -It also includes some example programs that make use of these bindings, -plus many of the Qt Tutorial examples translated into Ruby. - -This package is part of the official TDE bindings module. - -%files -n trinity-libqt0-ruby -%defattr(-,root,root,-) -%{tde_bindir}/rbqtsh -%{tde_bindir}/rbqtapi -%{tde_bindir}/rbuic -%{tde_bindir}/qtrubyinit -%{ruby_rubylibdir}/Qt/qtruby.rb -%{ruby_rubylibdir}/Qt.rb -%{ruby_arch}/qtruby.so* -%{ruby_arch}/qtruby.la -%{ruby_arch}/qui.so* -%{ruby_arch}/qui.la -%doc qtruby/ChangeLog - -%post -n trinity-libqt0-ruby -/sbin/ldconfig || : - -%postun -n trinity-libqt0-ruby -/sbin/ldconfig || : - -########## - -%if 0 -%package -n trinity-kmozilla -Summary: Kmozilla for TDE -Group: Environment/Libraries - -%description -n trinity-kmozilla -%{summary} - -%files -n trinity-kmozilla -%defattr(-,root,root,-) -%{tde_bindir}/kmozilla -%{tde_libdir}/libkmozillapart.so.* -%{tde_libdir}/libkmozillapart.so -%{tde_libdir}/libkmozillapart.la -%{tde_datadir}/services/kmozilla.desktop -%endif - -########## - -%package -n trinity-xpart-notepad -Summary: A small XPart editor -Group: Applications/Utilities - -%description -n trinity-xpart-notepad -xpart_notepad is a small XPart editor. Use it to understand how to use XPart. - -%files -n trinity-xpart-notepad -%defattr(-,root,root,-) -%{tde_bindir}/shell_xparthost -%{tde_bindir}/xp_notepad -%{tde_libdir}/libxp_notepadpart.la -%{tde_libdir}/libxp_notepadpart.so -%{tde_libdir}/libxp_notepadpart.so.* -%{tde_datadir}/services/xp_notepad.desktop -%doc xparts/xpart_notepad/README - -%post -n trinity-xpart-notepad -/sbin/ldconfig || : - -%postun -n trinity-xpart-notepad -/sbin/ldconfig || : - -########## - -%if 0%{?with_gtk1} -%package -n trinity-libgtkxparts1 -Summary: Xparts library for GTK -Group: Environment/Libraries - -%description -n trinity-libgtkxparts1 -%{summary} - -%files -n trinity-libgtkxparts1 -%defattr(-,root,root,-) -%{tde_libdir}/libgtkxparts.so.* -%{tde_libdir}/libgtkxparts.la - -%post -n trinity-libgtkxparts1 -/sbin/ldconfig || : - -%postun -n trinity-libgtkxparts1 -/sbin/ldconfig || : -%endif - -########## - -%package -n trinity-libkdexparts1 -Summary: Xparts library for KDE -Group: Environment/Libraries - -%description -n trinity-libkdexparts1 -%{summary} - -%files -n trinity-libkdexparts1 -%defattr(-,root,root,-) -%{tde_libdir}/libkdexparts.so.* -%{tde_libdir}/libkdexparts.la - -%post -n trinity-libkdexparts1 -/sbin/ldconfig || : - -%postun -n trinity-libkdexparts1 -/sbin/ldconfig || : - -########## - -%package -n trinity-libxparts-devel -Summary: Xparts development files -Group: Development/Libraries -%if 0%{?with_gtk1} -Requires: trinity-libgtkxparts1 = %{version}-%{release} -%endif -Requires: trinity-libkdexparts1 = %{version}-%{release} - -%description -n trinity-libxparts-devel -%{summary} - -%files -n trinity-libxparts-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/xkparts/ -%if 0%{?with_gtk1} -%{tde_libdir}/libgtkxparts.so -%endif -%{tde_libdir}/libkdexparts.so - -%post -n trinity-libxparts-devel -/sbin/ldconfig || : - -%postun -n trinity-libxparts-devel -/sbin/ldconfig || : - -########## - -%package xparts-extras -Summary: Extra xparts for TDE [Trinity] -Group: Environment/Libraries - -# Metapckage requires -Requires: trinity-xpart-notepad = %{version}-%{release} -%if 0%{?with_gtk1} -Requires: trinity-libgtkxparts1 = %{version}-%{release} -%endif -Requires: trinity-libkdexparts1 = %{version}-%{release} -Requires: trinity-libdcop-c = %{version}-%{release} - -%description xparts-extras -This package contains extra xparts-based modules for Trinity -This includes the mozilla-konqueror plugin - -This package is part of the official TDE bindings module. - -%files xparts-extras -%defattr(-,root,root,-) - -########### - -%package -n trinity-libdcop-c -Summary: DCOP bindings for C [Trinity] -Group: Environment/Libraries - -%description -n trinity-libdcop-c -%{summary} - -%files -n trinity-libdcop-c -%defattr(-,root,root,-) -%{tde_libdir}/libdcopc.so.* - -%post -n trinity-libdcop-c -/sbin/ldconfig || : - -%postun -n trinity-libdcop-c -/sbin/ldconfig || : - -########### - -%package -n trinity-libdcop-c-devel -Summary: DCOP bindings for C, development files [Trinity] -Group: Development/Libraries -Requires: trinity-libdcop-c = %{version}-%{release} - -%description -n trinity-libdcop-c-devel -%{summary} - -%files -n trinity-libdcop-c-devel -%defattr(-,root,root,-) -%{tde_libdir}/libdcopc.so -%{tde_libdir}/libdcopc.la -%{tde_tdeincludedir}/dcopc/ - -%post -n trinity-libdcop-c-devel -/sbin/ldconfig || : - -%postun -n trinity-libdcop-c-devel -/sbin/ldconfig || : - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: trinity-tdelibs-devel -Requires: %{name} = %{version}-%{release} - -Obsoletes: trinity-kdebindings-devel < %{version}-%{release} -Provides: trinity-kdebindings-devel = %{version}-%{release} - -# Metapackage -Requires: trinity-libsmokeqt-devel = %{version}-%{release} -Requires: trinity-libdcop3-java-devel = %{version}-%{release} -Requires: trinity-libsmokekde-devel = %{version}-%{release} -Requires: trinity-libkjsembed-devel = %{version}-%{release} -Requires: trinity-libxparts-devel = %{version}-%{release} -Requires: trinity-libdcop-c-devel = %{version}-%{release} -Requires: trinity-libqt3-jni-devel = %{version}-%{release} -Requires: trinity-libtrinity-jni-devel = %{version}-%{release} - -%description devel -Development files for the TDE bindings. - -%files devel - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} -%patch7 -p1 -b .dcopjavaldflags - -%if "%{?perl_vendorarch}" == "" -exit 1 -%endif - -%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 -%patch18 -p1 -b .ruby -%endif - -# Workarounds strange issue in MGA3 -%if 0%{?mgaversion} == 3 || 0%{?pclinuxos} >= 2013 -%__cp /usr/share/automake-1.13/test-driver admin/ -%endif - -# Disable kmozilla, it does not build with recent xulrunner (missing 'libmozjs.so') -%__sed -i "xparts/Makefile.am" \ - -e "s|SUBDIRS = .*|SUBDIRS = src xpart_notepad|" - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; source /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -unset JAVA_HOME ||: -%{?java_home:JAVA_HOME=%{java_home}; export JAVA_HOME} - -# sip/PyQt/PyKDE built separately, not here -export DO_NOT_COMPILE="$DO_NOT_COMPILE python" - -# Specific path for RHEL4 -if [ -d /usr/X11R6 ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi -if [ -d /usr/evolution28 ]; then - export PATH="/usr/evolution28/bin:${PATH}" - export PKG_CONFIG_PATH="/usr/evolution28/%{_lib}/pkgconfig:${PKG_CONFIG_PATH}" -fi - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --docdir=%{tde_docdir} \ - --includedir=%{tde_tdeincludedir} \ - --libdir=%{tde_libdir} \ - --mandir=%{tde_mandir} \ - --disable-rpath \ - --enable-new-ldflags \ - --disable-debug --disable-warnings \ - --disable-dependency-tracking \ - --with-extra-libs=%{tde_libdir} \ - --with-pythondir=%{_usr} \ - --enable-closure \ - --enable-final \ - %{?_with_java} %{!?_with_java:--without-java} \ - %{?_enable_qscintilla} %{!?_enable_qscintilla:--disable-qscintilla} \ - --with-extra-includes=%{tde_includedir}/tqt - -pushd dcopperl -CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor - -# Ugly hack to add TQT include directory in Makefile -# Also modifies the man pages directory -sed -i Makefile \ - -e "s|^\(INC = .*\)|\1 -I%{tde_includedir}/tqt|" \ - -e "s|/usr/share/man|%{tde_mandir}|g" - -%__make OPTIMIZE="$RPM_OPT_FLAGS" ||: -popd - -# smoke (not smp-safe) -%__make -C smoke - -# The rest is smp-safe -%__make %{?_smp_mflags} PYTHON=%{__python} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf $RPM_BUILD_ROOT - -%__make install DESTDIR=%{?buildroot} \ - PYTHON=%{__python} - -# Removes some perl files -find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \ - -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';' - -# locale's -%find_lang %{name} || touch %{name}.lang -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then -for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common - done - popd - fi -done -fi - -# Installs juic -%__install -D -m 755 qtjava/designer/juic/bin/juic %{?buildroot}%{tde_bindir}/juic -%__install -d -m 755 %{?buildroot}%{tde_datadir}/juic/common -%__install qtjava/designer/juic/common/*.xml %{?buildroot}%{tde_datadir}/juic/common -%__install qtjava/designer/juic/common/*.xsl %{?buildroot}%{tde_datadir}/juic/common -%__install -d -m 755 %{?buildroot}%{tde_datadir}/juic/java -%__install qtjava/designer/juic/java/*.xml %{?buildroot}%{tde_datadir}/juic/java -%__install qtjava/designer/juic/java/*.xsl %{?buildroot}%{tde_datadir}/juic/java -%__install qtjava/designer/juic/juic.xsl %{?buildroot}%{tde_datadir}/juic - -# kjsembed sample files -%__install -d -m 755 %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ -%__install kjsembed/plugins/customobject_plugin.cpp %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ -%__install kjsembed/plugins/customobject_plugin.h %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ -%__install kjsembed/plugins/customobject_plugin.desktop %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ -%__install kjsembed/plugins/customqobject_plugin.cpp %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ -%__install kjsembed/plugins/customqobject_plugin.h %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ -%__install kjsembed/plugins/customqobject_plugin.desktop %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/ - - -# Man installation location is wrong on RHEL4... -if [ -d "%{buildroot}%{_mandir}/man3" ]; then - mv -f %{buildroot}%{_mandir}/man3 %{buildroot}%{tde_mandir}/man3/ - rm -rf %{buildroot}%{_mandir} -fi - - -%clean -%__rm -rf $RPM_BUILD_ROOT - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 -- Initial release for TDE 3.5.13.2 diff --git a/redhat/tdeedu/kdeedu-3.5.12.spec b/redhat/tdeedu/kdeedu-3.5.12.spec new file mode 100644 index 000000000..744c4c8e4 --- /dev/null +++ b/redhat/tdeedu/kdeedu-3.5.12.spec @@ -0,0 +1,235 @@ +# Default version for this component +%if "%{?version}" == "" +%define version 3.5.12 +%endif +%define release 2 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_prefix}/share/doc +%endif + +# TDE 3.5.12 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir} +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/kde3 + + +Name: trinity-kdeedu +Summary: Educational/Edutainment applications +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2 +Group: Amusements/Games + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: kdeedu-%{version}.tar.gz + +Provides: kdeedu3 = %{version}-%{release} + +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig + +Requires: %{name}-libs = %{version}-%{release} + +BuildRequires: desktop-file-utils +BuildRequires: trinity-kdelibs-devel +BuildRequires: python-devel python +BuildRequires: boost-devel +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 +BuildRequires: ocaml(compiler) +%else +BuildRequires: ocaml +%endif +#BuildRequires: ocaml-facile-devel + + +%description +Educational/Edutainment applications, including: +* blinken: Simon Says Game +* kalzium: Periodic Table of Elements +* kanagram: Letter Order Game +* kbruch: Exercise Fractions +* keduca: Tests and Exams +* kgeography: Geography Trainer +* khangman: Hangman Game +* kig: Interactive Geometry +* kiten: Japanese Reference/Study Tool +* klatin: Latin Reviser +* klettres: French alphabet tutor +* kmplot: Mathematical Function Plotter +* kpercentage: Excersie Percentages +* kstars: Desktop Planetarium +* ktouch: Touch Typing Tutor +* kturtle: Logo Programming Environment +* kverbos: Study Spanish Verbforms +* kvoctrain: Vocabulary Trainer +* kwordquiz: Vocabulary Trainer + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Provides: kdeedu3-devel = %{version}-%{release} +Requires: %{name}-libs = %{version}-%{release} +%description devel +%{summary}. + +%package libs +Summary: %{name} runtime libraries +Group: System Environment/Libraries +Requires: trinity-kdelibs +# include to be paranoid, installing libs-only is still mostly untested -- Rex +Requires: %{name} = %{version}-%{release} +%description libs +%{summary}. + + +%prep +%setup -q -n kdeedu + +%if 0%{?rhel} > 0 +rm -rf doc/kgeography kgeography +perl -pi -e "s|kgeography||" subdirs +%endif + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +# Fix link with kparts +export CXXFLAGS="${CXXFLAGS} -lkparts" + +%if 0%{?fedora} +export CXXFLAGS="${CXXFLAGS} -fpermissive" +%endif + +%configure \ + --enable-new-ldflags \ + --disable-dependency-tracking \ + --disable-rpath \ +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 + --enable-kig-python-scripting \ +%else + --disable-kig-python-scripting \ +%endif + --disable-debug \ + --disable-warnings \ + --enable-final \ + --enable-closure \ + --includedir=%{_includedir}/kde \ + --disable-ocamlsolver \ + --with-extra-includes=%{_includedir}/tqt + + +%__make \ + OCAMLLIB=$(ocamlc -where) FACILELIB=$(ocamlc -where) + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# locale's +%find_lang %{name} || touch %{name}.lang +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi +done +fi + +# rpmdocs +for dir in blinken k* ; do + for file in AUTHORS ChangeLog README TODO ; do + test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file" + done +done + + +%clean +%__rm -rf %{buildroot} + + +%post +for i in crystalsvg hicolor locolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database >& /dev/null ||: + +%postun +for i in crystalsvg hicolor locolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database >& /dev/null ||: + +%post libs +/sbin/ldconfig + +%postun libs +/sbin/ldconfig + + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc README COPYING +%doc rpmdocs/* +%{_bindir}/* +%{_datadir}/applications/kde/* +# FIXME +%{_datadir}/applnk/Edutainment/ +%{_datadir}/apps/* +%config %{_datadir}/config*/* +%{_datadir}/mimelnk/*/* +%{_datadir}/icons/crystalsvg/*/*/* +%{_datadir}/icons/hicolor/*/*/* +%{_datadir}/icons/locolor/*/*/* +%{_datadir}/services/* +%{tde_libdir}/* + +%files libs +%defattr(-,root,root,-) +%{_libdir}/lib*.so.* +%{_libdir}/lib*.la + +%files devel +%defattr(-,root,root,-) +%doc libkdeedu/AUTHORS libkdeedu/README +%{tde_includedir}/* +%{_libdir}/lib*.so + + +%changelog +* Mon Sep 19 2011 Francois Andriot - 3.5.12-2 +- Add support for RHEL5 + +* Sun Sep 11 2011 Francois Andriot - 3.5.12-1 +- Initial build for RHEL 6 +- Spec file based on Fedora 8 "kdeedu-3.5.10-1" +- Import to GIT diff --git a/redhat/tdeedu/kdeedu-3.5.13.1.spec b/redhat/tdeedu/kdeedu-3.5.13.1.spec new file mode 100644 index 000000000..40e829b90 --- /dev/null +++ b/redhat/tdeedu/kdeedu-3.5.13.1.spec @@ -0,0 +1,1400 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +# Required for Mageia 2: removes the ldflag '--no-undefined' +%define _disable_ld_no_undefined 1 + +Name: trinity-tdeedu +Summary: Educational/Edutainment applications +Version: 3.5.13.1 +Release: 1%{?dist}%{?_variant} + +License: GPLv2 +Group: Amusements/Games + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: kdeedu-3.5.13.1.tar.gz + +BuildRequires: autoconf automake libtool m4 +BuildRequires: desktop-file-utils +BuildRequires: trinity-kdelibs-devel +BuildRequires: python-devel python +BuildRequires: boost-devel +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 +BuildRequires: ocaml(compiler) +%else +BuildRequires: ocaml +%endif + +Obsoletes: trinity-kdeedu < %{version}-%{release} +Provides: trinity-kdeedu = %{version}-%{release} +Obsoletes: trinity-kdeedu-libs < %{version}-%{release} +Provides: trinity-kdeedu-libs = %{version}-%{release} + +# Meta-package +Requires: %{name}-data = %{version}-%{release} +Requires: trinity-blinken = %{version}-%{release} +Requires: trinity-kalzium = %{version}-%{release} +Requires: trinity-kalzium-data = %{version}-%{release} +Requires: trinity-kanagram = %{version}-%{release} +Requires: trinity-kbruch = %{version}-%{release} +Requires: trinity-keduca = %{version}-%{release} +Requires: trinity-kgeography = %{version}-%{release} +Requires: trinity-kgeography-data = %{version}-%{release} +Requires: trinity-khangman = %{version}-%{release} +Requires: trinity-kig = %{version}-%{release} +Requires: trinity-kiten = %{version}-%{release} +Requires: trinity-klatin = %{version}-%{release} +Requires: trinity-klettres = %{version}-%{release} +Requires: trinity-klettres-data = %{version}-%{release} +Requires: trinity-kmplot = %{version}-%{release} +Requires: trinity-kpercentage = %{version}-%{release} +Requires: trinity-kstars = %{version}-%{release} +Requires: trinity-kstars-data = %{version}-%{release} +Requires: trinity-ktouch = %{version}-%{release} +Requires: trinity-kturtle = %{version}-%{release} +Requires: trinity-kverbos = %{version}-%{release} +Requires: trinity-kvoctrain = %{version}-%{release} +Requires: trinity-kwordquiz = %{version}-%{release} +Requires: trinity-libtdeedu3 = %{version}-%{release} +Requires: trinity-libkiten1 = %{version}-%{release} +Requires: trinity-indi = %{version}-%{release} + + +%description +Educational/Edutainment applications, including: +* blinken: Simon Says Game +* kalzium: Periodic Table of Elements +* kanagram: Letter Order Game +* kbruch: Exercise Fractions +* keduca: Tests and Exams +* kgeography: Geography Trainer +* khangman: Hangman Game +* kig: Interactive Geometry +* kiten: Japanese Reference/Study Tool +* klatin: Latin Reviser +* klettres: French alphabet tutor +* kmplot: Mathematical Function Plotter +* kpercentage: Excersie Percentages +* kstars: Desktop Planetarium +* ktouch: Touch Typing Tutor +* kturtle: Logo Programming Environment +* kverbos: Study Spanish Verbforms +* kvoctrain: Vocabulary Trainer +* kwordquiz: Vocabulary Trainer + +%files +%defattr(-,root,root,-) +%doc COPYING README + +########## + +%package data +Summary: shared data for Trinity educational applications +Group: Amusements/Games + +%description data +This package contains shared data necessary for running the +educational applications provided with KDE (the K Desktop +Environment). + +This package is part of Trinity, as a component of the KDE education module. + +%files data +%defattr(-,root,root,-) +%{tde_datadir}/applnk/Edutainment/Languages/.directory +%{tde_datadir}/applnk/Edutainment/Miscellaneous/.directory +%{tde_datadir}/applnk/Edutainment/Mathematics/.directory +%{tde_datadir}/applnk/Edutainment/Science/.directory +%{tde_datadir}/applnk/Edutainment/Tools/.directory + +########## + +%package -n trinity-blinken +Summary: Trinity version of the Simon Says electronic memory game +Group: Amusements/Games +#Requires: sj-delphine-fonts +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-blinken +Blinken is based on an electronic game released in 1978, which +challenges players to remember sequences of increasing length. On +the face of the device, there are 4 different color buttons, each +with its own distinctive sound. These buttons light up randomly, +creating the sequence that the player must then recall. If the +player is successful in remembering the sequence of lights in the +correct order, they advance to the next stage, where an identical +sequence with one extra step is presented. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-blinken +%defattr(-,root,root,-) +%{tde_bindir}/blinken +%{tde_tdeappdir}/blinken.desktop +%{tde_datadir}/apps/blinken/ +%{tde_datadir}/config.kcfg/blinken.kcfg +%{tde_datadir}/icons/hicolor/*/apps/blinken.png +%{tde_datadir}/icons/hicolor/scalable/apps/blinken.svgz +%{tde_tdedocdir}/HTML/en/blinken/ + +%post -n trinity-blinken +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-blinken +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kalzium +Summary: chemistry teaching tool for Trinity +Group: Amusements/Games +Requires: trinity-kalzium-data = %{version}-%{release} +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kalzium +Kalzium is a program which shows you the Periodic System of Elements +(PSE). You can use Kalzium to search for information about the +elements or to learn facts about the PSE. + +Kalzium provides you with all kinds of information about the PSE. +You can look up lots of information about the elements and also use +visualisations to show them. + +You can visualise the Periodic Table of the Elements by blocks, +groups, acidic behavior or different states of matter. You can also +plot data for a range of elements (weight, mean weight, density, IE1, +IE2, electronegativity), and you can go back in time to see what +elements were known at a given date. In addition, on platforms where +OCaml supports native code generation, Kalzium includes a chemical +equation solver. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-kalzium +%defattr(-,root,root,-) +%{tde_bindir}/kalzium +%{tde_tdeappdir}/kalzium.desktop +%{tde_datadir}/config.kcfg/kalzium.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kalzium.png +%{tde_datadir}/icons/hicolor/scalable/apps/kalzium.svgz +%{tde_tdedocdir}/HTML/en/kalzium/ + +%post -n trinity-kalzium +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kalzium +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kalzium-data +Summary: data files for Kalzium +Group: Amusements/Games + +%description -n trinity-kalzium-data +This package contains architecture-independent data files for +Kalzium, the KDE periodic table application. This includes pictures +of various chemical equipment and of samples of several elements, in +addition to the actual chemical data. + +See the kalzium package for further information. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-kalzium-data +%defattr(-,root,root,-) +%{tde_datadir}/apps/kalzium/ + +########## + +%package -n trinity-kanagram +Summary: letter order game for Trinity +Group: Amusements/Games +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kanagram +KAnagram is a game that is based on the word/letter puzzles that the +author played as a child. A word is picked at random and displayed +with its letters in a messed order, with difficulty dependent on the +chosen level. You have an unlimited number of attempts, and scores +are kept. + +It is a very simply constructed game, with 3 difficulty levels of +play. It is fully customizable, allowing you to write in your own +words and set your own 'look and feel' of the game. It is aimed for +children aged 10+ because of the difficulty, but of course everyone +is welcome to try. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-kanagram +%defattr(-,root,root,-) +%{tde_bindir}/kanagram +%{tde_tdeappdir}/kanagram.desktop +%{tde_datadir}/apps/kanagram/ +%{tde_datadir}/config.kcfg/kanagram.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kanagram.png +%{tde_datadir}/icons/hicolor/scalable/apps/kanagram.svgz +%{tde_tdedocdir}/HTML/en/kanagram/ + +%post -n trinity-kanagram +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kanagram +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kbruch +Summary: fraction calculation teaching tool for Trinity +Group: Amusements/Games +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kbruch +KBruch is a small program to practice calculating with fractions. +Different exercises are provided for this purpose. The program +checks the user's input and gives feedback. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-kbruch +%defattr(-,root,root,-) +%{tde_bindir}/kbruch +%{tde_datadir}/apps/kbruch/kbruchui.rc +%{tde_tdeappdir}/kbruch.desktop +%{tde_datadir}/config.kcfg/kbruch.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kbruch.png +%{tde_datadir}/icons/hicolor/scalable/apps/kbruch.svgz +%{tde_datadir}/icons/crystalsvg/*/actions/kbruch_*.png +%{tde_tdedocdir}/HTML/en/kbruch/ + +%post -n trinity-kbruch +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kbruch +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-keduca +Summary: interactive form-based tests for Trinity +Group: Amusements/Games +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-keduca +KEduca is a flash-card application which allows you to make +interactive form-based tests. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-keduca +%defattr(-,root,root,-) +%{tde_bindir}/keduca +%{tde_bindir}/keducabuilder +%{tde_tdelibdir}/libkeducapart.la +%{tde_tdelibdir}/libkeducapart.so +%{tde_tdeappdir}/keduca.desktop +%{tde_tdeappdir}/keducabuilder.desktop +%{tde_datadir}/apps/keduca/ +%{tde_datadir}/config.kcfg/keduca.kcfg +%{tde_datadir}/icons/hicolor/*/apps/keduca.png +%{tde_datadir}/mimelnk/application/x-edu.desktop +%{tde_datadir}/mimelnk/application/x-edugallery.desktop +%{tde_datadir}/services/keduca_part.desktop +%{tde_tdedocdir}/HTML/en/keduca/ + +%post -n trinity-keduca +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-keduca +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kgeography +Summary: Geography learning tool for Trinity +Group: Amusements/Games +Requires: trinity-kgeography-data = %{version}-%{release} +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kgeography +KGeography contains maps allowing you to learn various countries or +the political divisions of several countries. It has several modes, +including a map browser and games involving the names, capitals, or +flags of the map divisions. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-kgeography +%defattr(-,root,root,-) +%{tde_bindir}/kgeography +%{tde_tdeappdir}/kgeography.desktop +%{tde_datadir}/config.kcfg/kgeography.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/kgeography.png +%{tde_datadir}/icons/crystalsvg/scalable/apps/kgeography.svgz +%{tde_datadir}/icons/hicolor/*/apps/kgeography.png +%{tde_tdedocdir}/HTML/en/kgeography + +%post -n trinity-kgeography +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kgeography +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kgeography-data +Summary: data files for KGeography +Group: Amusements/Games + +%description -n trinity-kgeography-data +This package contains architecture-independent data files for +KGeography, the geography learning tool for KDE. This includes map +and flag images. + +See the kgeography package for further information. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-kgeography-data +%defattr(-,root,root,-) +%{tde_datadir}/apps/kgeography/ + +########## + +%package -n trinity-khangman +Summary: the classical hangman game for Trinity +Group: Amusements/Games +#Requires: dustin-dustismo-sans-fonts +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-khangman +KHangMan is a game based on the well known hangman game. It is aimed +for children aged 6 and above. It has four levels of difficulty: +Animals (animals words), Easy, Medium and Hard. + +A word is picked at random and the letters are hidden. You must +guess the word by trying one letter after another. Each time you +guess a wrong letter, a picture of a hangman is drawn. You must +guess the word before getting hanged! You have 10 tries. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-khangman +%defattr(-,root,root,-) +%{tde_datadir}/config/khangmanrc +%{tde_bindir}/khangman +%{tde_tdeappdir}/khangman.desktop +%{tde_datadir}/apps/khangman/ +%{tde_datadir}/config.kcfg/khangman.kcfg +%{tde_datadir}/icons/hicolor/*/apps/khangman.png +%{tde_datadir}/icons/hicolor/scalable/apps/khangman.svgz +%{tde_tdedocdir}/HTML/en/khangman/ + +%post -n trinity-khangman +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-khangman +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kig +Summary: interactive geometry program for KDE +Group: Amusements/Games +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kig +Kig is an application for interactive geometry. It is intended to +serve two purposes: + +- to allow students to interactively explore mathematical figures and + concepts using the computer; +- to serve as a WYSIWYG tool for drawing mathematical figures and + including them in other documents. + +With this program you can do geometry on a computer just like you +would on a blackboard in a classroom. However, the program allows +you to move and change parts of a geometrical drawing so that you can +see how the other parts change as a result. + +Kig supports loci and user-defined macros. It also supports imports +and exports to/from foreign file formats including Cabri, Dr. Geo, +KGeo, KSeg and XFig. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-kig +%defattr(-,root,root,-) +%{tde_datadir}/config/magic/cabri.magic +%{tde_datadir}/config/magic/drgeo.magic +%{tde_bindir}/kig +%{tde_bindir}/pykig.py* +%{tde_tdelibdir}/kfile_drgeo.la +%{tde_tdelibdir}/kfile_drgeo.so +%{tde_tdelibdir}/kfile_kig.la +%{tde_tdelibdir}/kfile_kig.so +%{tde_tdelibdir}/libkigpart.la +%{tde_tdelibdir}/libkigpart.so +%{tde_tdeappdir}/kig.desktop +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%{tde_datadir}/apps/katepart/syntax/python-kig.xml +%endif +%{tde_datadir}/apps/kig/ +%{tde_datadir}/icons/crystalsvg/*/mimetypes/kig_doc.png +%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/kig_doc.svgz +%{tde_datadir}/icons/hicolor/*/apps/kig.png +%{tde_datadir}/icons/hicolor/scalable/apps/kig.svgz +%{tde_datadir}/mimelnk/application/x-cabri.desktop +%{tde_datadir}/mimelnk/application/x-drgeo.desktop +%{tde_datadir}/mimelnk/application/x-kig.desktop +%{tde_datadir}/mimelnk/application/x-kgeo.desktop +%{tde_datadir}/mimelnk/application/x-kseg.desktop +%{tde_datadir}/services/kfile_drgeo.desktop +%{tde_datadir}/services/kfile_kig.desktop +%{tde_datadir}/services/kig_part.desktop +%{tde_tdedocdir}/HTML/en/kig/ + +%post -n trinity-kig +for i in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kig +for i in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kiten +Summary: Japanese reference/study tool for Trinity +Group: Amusements/Games +Requires: trinity-tdeedu-data = %{version}-%{release} +#Requires: ttf-kochi-gothic | ttf-kochi-mincho + +%description -n trinity-kiten +Kiten is a Japanese reference and study tool for KDE. It is an +application with multiple functions. Firstly, it is a convenient +English to Japanese and Japanese to English dictionary. Secondly, it +is a Kanji dictionary, with multiple ways to look up specific +characters. Thirdly, it is a tool to help you learn Kanji. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-kiten +%defattr(-,root,root,-) +%{tde_bindir}/kiten +%{tde_bindir}/kitengen +%{tde_tdeappdir}/kiten.desktop +%{tde_tdedocdir}/HTML/en/kiten/ +%{tde_datadir}/icons/hicolor/*/apps/kiten.png +%{tde_datadir}/icons/hicolor/scalable/apps/kiten.svgz + +%post -n trinity-kiten +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kiten +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-klatin +Summary: application to help revise/teach Latin +Group: Amusements/Games +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-klatin +KLatin is a program to help revise Latin. There are three "sections" +in which different aspects of the language can be revised. These are +the vocabulary, grammar and verb testing sections. In addition there +is a set of revision notes that can be used for self-guided revision. + +In the vocabulary section an XML file is loaded containing various +words and their local language translations. KLatin asks you what +each of these words translate into. The questions take place in a +multiple-choice environment. + +In the grammar and verb sections KLatin asks for a particular part of +a noun or a verb, such as the "ablative singular", or the "1st person +indicative passive plural", and is not multiple choice. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-klatin +%defattr(-,root,root,-) +%{tde_bindir}/klatin +%{tde_tdeappdir}/klatin.desktop +%{tde_datadir}/apps/klatin/ +%{tde_datadir}/config.kcfg/klatin.kcfg +%{tde_datadir}/icons/hicolor/*/apps/klatin.png +%{tde_datadir}/icons/hicolor/scalable/apps/klatin.svgz +%{tde_tdedocdir}/HTML/en/klatin/ + +%post -n trinity-klatin +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-klatin +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-klettres +Summary: foreign alphabet tutor for Trinity +Group: Amusements/Games +Requires: trinity-klettres-data = %{version}-%{release} +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-klettres +KLettres is an application specially designed to help the user to +learn the alphabet in a new language and then to learn to read simple +syllables. The user can be a young child aged from two and a half or +an adult that wants to learn the basics of a foreign language. + +Seven languages are currently available: Czech, Danish, Dutch, +English, French, Italian and Slovak. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-klettres +%defattr(-,root,root,-) +%{tde_datadir}/config/klettresrc +%{tde_bindir}/klettres +%{tde_tdeappdir}/klettres.desktop +%{tde_datadir}/config.kcfg/klettres.kcfg +%{tde_datadir}/icons/hicolor/*/apps/klettres.png +%{tde_datadir}/icons/hicolor/scalable/apps/klettres.svgz +%{tde_tdedocdir}/HTML/en/klettres/ + +%post -n trinity-klettres +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-klettres +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-klettres-data +Summary: data files for KLettres foreign alphabet tutor +Group: Amusements/Games + +%description -n trinity-klettres-data +This package contains architecture-independent data files for +KLettres, the foreign alphabet tutor for KDE. This includes sound +files and graphics. + +See the klettres package for further information. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-klettres-data +%defattr(-,root,root,-) +%{tde_datadir}/apps/klettres/ + +########## + +%package -n trinity-kmplot +Summary: mathematical function plotter for Trinity +Group: Amusements/Games +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kmplot +KmPlot is a mathematical function plotter for KDE. It has a powerful +built-in parser. You can plot different functions simultaneously and +combine them to build new functions. + +KmPlot supports parametric functions and functions in polar +coordinates. Several grid modes are supported. Plots may be printed +with high precision in the correct scale. + +KmPlot also provides some numerical and visual features, like filling +and calculating the area between the plot and the first axis, finding +maximum and minimum values, changing function parameters dynamically +and plotting derivatives and integral functions. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-kmplot +%defattr(-,root,root,-) +%{tde_bindir}/kmplot +%{tde_tdelibdir}/libkmplotpart.la +%{tde_tdelibdir}/libkmplotpart.so +%{tde_tdeappdir}/kmplot.desktop +%{tde_datadir}/apps/kmplot/ +%{tde_datadir}/config.kcfg/kmplot.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kmplot.png +%{tde_datadir}/icons/hicolor/scalable/apps/kmplot.svgz +%{tde_datadir}/mimelnk/application/x-kmplot.desktop +%{tde_datadir}/services/kmplot_part.desktop +%{tde_tdedocdir}/HTML/en/kmplot/ + +%post -n trinity-kmplot +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kmplot +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kpercentage +Summary: percentage calculation teaching tool for Trinity +Group: Amusements/Games +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kpercentage +KPercentage is a small math application that will help pupils to +improve their skills in calculating percentages. + +There is a special training section for the three basic tasks. +Finally the pupil can select a random mode, in which all three tasks +are mixed randomly. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-kpercentage +%defattr(-,root,root,-) +%{tde_bindir}/kpercentage +%{tde_tdeappdir}/kpercentage.desktop +%{tde_datadir}/apps/kpercentage/ +%{tde_datadir}/icons/hicolor/*/apps/kpercentage.png +%{tde_datadir}/icons/hicolor/scalable/apps/kpercentage.svgz +%{tde_tdedocdir}/HTML/en/kpercentage/ + +%post -n trinity-kpercentage +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kpercentage +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kstars +Summary: desktop planetarium for Trinity +Group: Amusements/Games +Requires: trinity-tdeedu-data = %{version}-%{release} +Requires: trinity-kstars-data = %{version}-%{release} +Requires: trinity-indi = %{version}-%{release} + +%description -n trinity-kstars +KStars is a graphical desktop planetarium for KDE. It depicts an +accurate simulation of the night sky, including stars, +constellations, star clusters, nebulae, galaxies, all planets, the +Sun, the Moon, comets and asteroids. You can see the sky as it +appears from any location on Earth, on any date. + +The user interface is highly intuitive and flexible. The display can +be panned and zoomed with the mouse, and you can easily identify +objects and track their motion across the sky. KStars includes many +powerful features, yet the interface is clean and simple and fun to +use. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-kstars +%defattr(-,root,root,-) +%{tde_datadir}/config/kstarsrc +%{tde_bindir}/kstars +%{tde_tdeappdir}/kstars.desktop +%{tde_datadir}/config.kcfg/kstars.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kstars.png +%{tde_datadir}/icons/hicolor/scalable/apps/kstars.svgz +%{tde_tdedocdir}/HTML/en/kstars/ + +%post -n trinity-kstars +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kstars +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kstars-data +Summary: data files for KStars desktop planetarium +Group: Amusements/Games + +%description -n trinity-kstars-data +This package contains architecture-independent data files for KStars, +the graphical desktop planetarium for KDE. This includes star +catalogues and astronomical images. + +See the kstars package for further information. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-kstars-data +%defattr(-,root,root,-) +%{tde_datadir}/apps/kstars/ + +########## + +%package -n trinity-ktouch +Summary: touch typing tutor for Trinity +Group: Amusements/Games +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-ktouch +KTouch is a program for learning touch typing - it helps you learn to +type on a keyboard quickly and correctly. Every finger has its place +on the keyboard with associated keys to press. + +KTouch helps you learn to touch type by providing you with text to +train on, and adjusts to different levels depending on how good you +are. It can display which key to press next, and the correct finger +to use. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-ktouch +%defattr(-,root,root,-) +%{tde_bindir}/ktouch +%{tde_tdeappdir}/ktouch.desktop +%{tde_datadir}/apps/ktouch/ +%{tde_datadir}/config.kcfg/ktouch.kcfg +%{tde_datadir}/icons/hicolor/*/apps/ktouch.png +%{tde_datadir}/icons/hicolor/scalable/apps/ktouch.svgz +%{tde_tdedocdir}/HTML/en/ktouch/ + +%post -n trinity-ktouch +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ktouch +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kturtle +Summary: educational Logo programming environment +Group: Amusements/Games +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kturtle +KTurtle is an educational programming environment using the Logo +programming language. It tries to make programming as easy and +accessible as possible. This makes KTurtle suitable for teaching +kids the basics of mathematics, geometry and programming. + +The commands used to program are in the style of the Logo programming +language. The unique feature of Logo is that the commands are often +translated into the speaking language of the programmer. + +KTurtle is named after "the turtle" that plays a central role in the +programming environment. The user programs the turtle, using the +Logo commands, to draw a picture on the canvas. + +Note that this version of Logo is only focused on the educational +qualities of the programming language and will not try to suit +professional programmers' needs. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-kturtle +%defattr(-,root,root,-) +%{tde_bindir}/kturtle +%{tde_tdeappdir}/kturtle.desktop +%{tde_datadir}/apps/katepart/syntax/logohighlightstyle* +%{tde_datadir}/apps/kturtle/ +%{tde_datadir}/config.kcfg/kturtle.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kturtle.png +%{tde_tdedocdir}/HTML/en/kturtle/ + +%post -n trinity-kturtle +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kturtle +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kverbos +Summary: Spanish verb form study application for Trinity +Group: Amusements/Games +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kverbos +Kverbos allows the user to learn the forms of Spanish verbs. The +program suggests a verb and a time and the user enters the different +verb forms. The program corrects the user input and gives feedback. + +The user can edit the list of the verbs that can be studied. The +program can build regular verb forms by itself. Irregular verb forms +have to be entered by the user. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-kverbos +%defattr(-,root,root,-) +%{tde_bindir}/kverbos +%{tde_tdeappdir}/kverbos.desktop +%{tde_datadir}/apps/kverbos/ +%{tde_datadir}/config.kcfg/kverbos.kcfg +%{tde_datadir}/icons/crystalsvg/16x16/actions/kverbosuser.png +%{tde_datadir}/icons/hicolor/*/apps/kverbos.png +%{tde_datadir}/icons/hicolor/scalable/apps/kverbos.svgz +%{tde_tdedocdir}/HTML/en/kverbos/ + +%post -n trinity-kverbos +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kverbos +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kvoctrain +Summary: vocabulary trainer for Trinity +Group: Amusements/Games +Requires: perl +Requires: perl-libwww-perl +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kvoctrain +KVocTrain is a little utility to help you train your vocabulary when +you are trying to learn a foreign language. You can create your own +database with the words you need. It is intended as a replacement +for index (flash) cards. + +You probably remember flashcards from school. The teacher would +write the original expression on the front side of the card and the +translation on the back. Then look at the cards one after another. +If you knew the translation, you could put it away. If you failed, +you put it back to try again. + +KVocTrain is not intended to teach you grammar or other sophisticated +things. This is and probably will stay beyond the scope of this +application. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-kvoctrain +%defattr(-,root,root,-) +%{tde_datadir}/config/kvoctrainrc +%{tde_bindir}/kvoctrain +%{tde_bindir}/spotlight2kvtml +%{tde_libdir}/libkvoctraincore.so.* +%{tde_tdeappdir}/kvoctrain.desktop +%{tde_datadir}/apps/kvoctrain/ +%{tde_datadir}/mimelnk/text/x-kvtml.desktop +%{tde_datadir}/config.kcfg/kvoctrain.kcfg +%{tde_datadir}/config.kcfg/languagesettings.kcfg +%{tde_datadir}/config.kcfg/presettings.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kvoctrain.png +%{tde_tdedocdir}/HTML/en/kvoctrain/ + +%post -n trinity-kvoctrain +/sbin/ldconfig || : +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kvoctrain +/sbin/ldconfig || : +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kwordquiz +Summary: flashcard and vocabulary learning program for Trinity +Group: Amusements/Games +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kwordquiz +KWordQuiz is a flashcard-based tool that helps you to master new +vocabularies. It may be a language or any other kind of terminology. + +KWordQuiz can open several types of vocabulary data. Supported are +kvtml files used by other KDE programs such as KVocTrain, wql files +used by WordQuiz for Windows, csv files with comma-separated text, +and xml.gz files created by Pauker (http://pauker.sourceforge.net). + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-kwordquiz +%defattr(-,root,root,-) +%{tde_datadir}/config/kwordquizrc +%{tde_bindir}/kwordquiz +%{tde_tdeappdir}/kwordquiz.desktop +%{tde_datadir}/apps/kwordquiz/ +%{tde_datadir}/config.kcfg/kwordquiz.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kwordquiz.png +%{tde_datadir}/icons/hicolor/scalable/apps/kwordquiz.svg +%{tde_datadir}/icons/crystalsvg/*/mimetypes/kwordquiz_doc.png +%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/kwordquiz_doc.svg +%{tde_datadir}/mimelnk/application/x-kwordquiz.desktop +%{tde_tdedocdir}/HTML/en/kwordquiz/ + +%post -n trinity-kwordquiz +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kwordquiz +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-libtdeedu3 +Summary: library for use with Trinity educational apps +Group: Environment/Libraries + +%description -n trinity-libtdeedu3 +The KDE-based library libtdeedu is used with educational +applications. It currently provides support for data plotting and +vocabulary items (including a parser for kvtml vocabulary files). + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-libtdeedu3 +%defattr(-,root,root,-) +%{tde_libdir}/libextdate.so.* +%{tde_libdir}/lib[kt]deeducore.so.* +%{tde_libdir}/lib[kt]deeduplot.so.* +%{tde_libdir}/lib[kt]deeduui.so.* + +%post -n trinity-libtdeedu3 +/sbin/ldconfig || : + +%postun -n trinity-libtdeedu3 +/sbin/ldconfig || : + +########## + +%package -n trinity-libtdeedu-devel +Summary: development files for Trinity educational library +Group: Development/Libraries +Requires: trinity-libtdeedu3 = %{version}-%{release} + +%description -n trinity-libtdeedu-devel +The KDE-based library libtdeedu is used with educational +applications. It currently provides support for data plotting and +vocabulary items (including a parser for kvtml vocabulary files). + +Development files for libtdeedu are included in this package. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-libtdeedu-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/lib[kt]deedu/ +%{tde_libdir}/libextdate.la +%{tde_libdir}/libextdate.so +%{tde_libdir}/lib[kt]deeducore.la +%{tde_libdir}/lib[kt]deeducore.so +%{tde_libdir}/lib[kt]deeduui.la +%{tde_libdir}/lib[kt]deeduui.so +%{tde_libdir}/lib[kt]deeduplot.la +%{tde_libdir}/lib[kt]deeduplot.so + +%post -n trinity-libtdeedu-devel +/sbin/ldconfig || : + +%postun -n trinity-libtdeedu-devel +/sbin/ldconfig || : + + +########## + +%package -n trinity-libkiten1 +Summary: library for Kiten Japanese reference/study tool +Group: Environment/Libraries +#Requires: kanjidic + +%description -n trinity-libkiten1 +Kiten is a Japanese reference/study tool for KDE. The library +libkiten contains portions of Kiten that may be useful for other +applications. These portions include dictionary, character lookup +and widget classes. + +This package contains the libkiten library along with supporting +data, such as Japanese language data files and GUI resource files. +For further information, see the kiten package. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-libkiten1 +%defattr(-,root,root,-) +%{tde_libdir}/libkiten.so.* +%{tde_datadir}/apps/kiten/ +%{tde_datadir}/config.kcfg/kiten.kcfg +%{tde_datadir}/icons/crystalsvg/16x16/actions/kanjidic.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/edit_add.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/edit_remove.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/kanjidic.png +%{tde_datadir}/icons/locolor/16x16/actions/edit_add.png +%{tde_datadir}/icons/locolor/16x16/actions/edit_remove.png + +%post -n trinity-libkiten1 +for i in crystalsvg locolor locolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +/sbin/ldconfig || : + +%postun -n trinity-libkiten1 +for i in crystalsvg locolor locolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +/sbin/ldconfig || : + +########## + +%package -n trinity-libkiten-devel +Summary: development files for Kiten library +Group: Development/Libraries +Requires: trinity-libkiten1 = %{version}-%{release} +Requires: trinity-tdelibs-devel >= %{version} + +%description -n trinity-libkiten-devel +Kiten is a Japanese reference/study tool for KDE. The library +libkiten contains portions of Kiten that may be useful for other +applications. These portions include dictionary, character lookup +and widget classes. + +Development files for libkiten are included in this package. For +further information, see the kiten package. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-libkiten-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/libkiten/ +%{tde_libdir}/libkiten.la +%{tde_libdir}/libkiten.so + +%post -n trinity-libkiten-devel +/sbin/ldconfig || : + +%postun -n trinity-libkiten-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-indi +Summary: Instrument Neutral Distributed Interface for astronomical devices +Group: Amusements/Games + +%description -n trinity-indi +INDI is an Instrument Neutral Distributed Interface control protocol for +astronomical devices, which provides a framework that decouples low level +hardware drivers from high level front end clients. Clients that use the +device drivers are completely unaware of the device capabilities and +communicate with the device drivers and build a completely dynamic GUI +based on the services provided by the device. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-indi +%defattr(-,root,root,-) +%{tde_bindir}/apmount +%{tde_bindir}/apogee_ppi +%{tde_bindir}/celestrongps +%{tde_bindir}/fliccd +%{tde_bindir}/fliwheel +%{tde_bindir}/indiserver +%{tde_bindir}/lx200_16 +%{tde_bindir}/lx200autostar +%{tde_bindir}/lx200basic +%{tde_bindir}/lx200classic +%{tde_bindir}/lx200generic +%{tde_bindir}/lx200gps +%{tde_bindir}/meade_lpi +%{tde_bindir}/sbigccd +%{tde_bindir}/skycommander +%{tde_bindir}/temma +%{tde_bindir}/v4ldriver +%{tde_bindir}/v4lphilips + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: trinity-libtdeedu-devel = %{version}-%{release} +Requires: trinity-libkiten-devel = %{version}-%{release} + +Obsoletes: trinity-kdeedu-devel < %{version}-%{release} +Provides: trinity-kdeedu-devel = %{version}-%{release} + +%description devel +%{summary}. + +%files devel +%defattr(-,root,root,-) +%doc libkdeedu/AUTHORS libkdeedu/README +# kstars +%{tde_tdeincludedir}/kstarsinterface.h +%{tde_tdeincludedir}/simclockinterface.h +# kvoctrain +%{tde_libdir}/libkvoctraincore.la +%{tde_libdir}/libkvoctraincore.so + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + + +%prep +%setup -q -n kdeedu-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +# Do not build against any "/usr" installed KDE +export KDEDIR=%{tde_prefix} + +# Specific path for RHEL4 +if [ -d /usr/X11R6 ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" + export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%configure \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --enable-new-ldflags \ + --disable-dependency-tracking \ + --disable-rpath \ +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} + --enable-kig-python-scripting \ +%else + --disable-kig-python-scripting \ +%endif + --disable-debug \ + --disable-warnings \ + --enable-final \ + --enable-closure \ + --disable-ocamlsolver \ + --with-extra-includes=%{tde_includedir}/tqt + + +%__make %{_smp_mflags} \ + OCAMLLIB=$(ocamlc -where) \ + FACILELIB=$(ocamlc -where) + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# locale's +%find_lang %{name} || touch %{name}.lang +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi +done +fi + + +%clean +%__rm -rf %{buildroot} + + + +%changelog +* Sun Sep 30 2012 Francois Andriot - 3.5.13.1-1 +- Initial build for TDE 3.5.13.1 diff --git a/redhat/tdeedu/kdeedu-3.5.13.spec b/redhat/tdeedu/kdeedu-3.5.13.spec new file mode 100644 index 000000000..4a7000cdd --- /dev/null +++ b/redhat/tdeedu/kdeedu-3.5.13.spec @@ -0,0 +1,1429 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +# Required for Mageia 2: removes the ldflag '--no-undefined' +%define _disable_ld_no_undefined 1 + +Name: trinity-tdeedu +Summary: Educational/Edutainment applications +Version: 3.5.13 +Release: 4%{?dist}%{?_variant} + +License: GPLv2 +Group: Amusements/Games + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: kdeedu-%{version}.tar.gz + +# [kdeedu] Fix compilation with GCC 4.7 [Bug #958] +Patch1: kdeedu-3.5.13-fix_gcc47_compilation.patch +# [tdeedu] Fix kdeedu makefile glitch [Bug #785] [Commit #b83d0455] +Patch2: kdeedu-3.5.13-fix_makefile_glitch.patch +# [tdeedu] Fix kbruch/Makefile.am to eliminate build error. [Bug #786] [Commit #9d1871a4] +Patch3: kdeedu-3.5.13-fix_kbruch_build_error.patch +# [tdeedu] Fix linear alphabet string errors [Commit #0cd3b7ce] +Patch4: kdeedu-3.5.13-fix_linear_alphabet.patch + + + +# [kdeedu] Missing LDFLAGS causes FTBFS on Mageia 2 +Patch5: kdeedu-3.5.13-missing_ldflags.patch + + +#Requires(post): /sbin/ldconfig +#Requires(postun): /sbin/ldconfig + + +BuildRequires: autoconf automake libtool m4 +BuildRequires: desktop-file-utils +BuildRequires: trinity-kdelibs-devel +BuildRequires: python-devel python +BuildRequires: boost-devel +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 +BuildRequires: ocaml(compiler) +%else +BuildRequires: ocaml +%endif + +Obsoletes: trinity-kdeedu < %{version}-%{release} +Provides: trinity-kdeedu = %{version}-%{release} +Obsoletes: trinity-kdeedu-libs < %{version}-%{release} +Provides: trinity-kdeedu-libs = %{version}-%{release} + +# Meta-package +Requires: %{name}-data = %{version}-%{release} +Requires: trinity-blinken = %{version}-%{release} +Requires: trinity-kalzium = %{version}-%{release} +Requires: trinity-kalzium-data = %{version}-%{release} +Requires: trinity-kanagram = %{version}-%{release} +Requires: trinity-kbruch = %{version}-%{release} +Requires: trinity-keduca = %{version}-%{release} +Requires: trinity-kgeography = %{version}-%{release} +Requires: trinity-kgeography-data = %{version}-%{release} +Requires: trinity-khangman = %{version}-%{release} +Requires: trinity-kig = %{version}-%{release} +Requires: trinity-kiten = %{version}-%{release} +Requires: trinity-klatin = %{version}-%{release} +Requires: trinity-klettres = %{version}-%{release} +Requires: trinity-klettres-data = %{version}-%{release} +Requires: trinity-kmplot = %{version}-%{release} +Requires: trinity-kpercentage = %{version}-%{release} +Requires: trinity-kstars = %{version}-%{release} +Requires: trinity-kstars-data = %{version}-%{release} +Requires: trinity-ktouch = %{version}-%{release} +Requires: trinity-kturtle = %{version}-%{release} +Requires: trinity-kverbos = %{version}-%{release} +Requires: trinity-kvoctrain = %{version}-%{release} +Requires: trinity-kwordquiz = %{version}-%{release} +Requires: trinity-libtdeedu3 = %{version}-%{release} +Requires: trinity-libkiten1 = %{version}-%{release} +Requires: trinity-indi = %{version}-%{release} + + +%description +Educational/Edutainment applications, including: +* blinken: Simon Says Game +* kalzium: Periodic Table of Elements +* kanagram: Letter Order Game +* kbruch: Exercise Fractions +* keduca: Tests and Exams +* kgeography: Geography Trainer +* khangman: Hangman Game +* kig: Interactive Geometry +* kiten: Japanese Reference/Study Tool +* klatin: Latin Reviser +* klettres: French alphabet tutor +* kmplot: Mathematical Function Plotter +* kpercentage: Excersie Percentages +* kstars: Desktop Planetarium +* ktouch: Touch Typing Tutor +* kturtle: Logo Programming Environment +* kverbos: Study Spanish Verbforms +* kvoctrain: Vocabulary Trainer +* kwordquiz: Vocabulary Trainer + +%files +%defattr(-,root,root,-) +%doc COPYING README + +########## + +%package data +Summary: shared data for Trinity educational applications +Group: Amusements/Games + +%description data +This package contains shared data necessary for running the +educational applications provided with KDE (the K Desktop +Environment). + +This package is part of Trinity, as a component of the KDE education module. + +%files data +%defattr(-,root,root,-) +%{tde_datadir}/applnk/Edutainment/Languages/.directory +%{tde_datadir}/applnk/Edutainment/Miscellaneous/.directory +%{tde_datadir}/applnk/Edutainment/Mathematics/.directory +%{tde_datadir}/applnk/Edutainment/Science/.directory +%{tde_datadir}/applnk/Edutainment/Tools/.directory + +########## + +%package -n trinity-blinken +Summary: Trinity version of the Simon Says electronic memory game +Group: Amusements/Games +#Requires: sj-delphine-fonts +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-blinken +Blinken is based on an electronic game released in 1978, which +challenges players to remember sequences of increasing length. On +the face of the device, there are 4 different color buttons, each +with its own distinctive sound. These buttons light up randomly, +creating the sequence that the player must then recall. If the +player is successful in remembering the sequence of lights in the +correct order, they advance to the next stage, where an identical +sequence with one extra step is presented. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-blinken +%defattr(-,root,root,-) +%{tde_bindir}/blinken +%{tde_tdeappdir}/blinken.desktop +%{tde_datadir}/apps/blinken/ +%{tde_datadir}/config.kcfg/blinken.kcfg +%{tde_datadir}/icons/hicolor/*/apps/blinken.png +%{tde_datadir}/icons/hicolor/scalable/apps/blinken.svgz +%{tde_tdedocdir}/HTML/en/blinken/ + +%post -n trinity-blinken +for i in hicolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-blinken +for i in hicolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kalzium +Summary: chemistry teaching tool for Trinity +Group: Amusements/Games +Requires: trinity-kalzium-data = %{version}-%{release} +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kalzium +Kalzium is a program which shows you the Periodic System of Elements +(PSE). You can use Kalzium to search for information about the +elements or to learn facts about the PSE. + +Kalzium provides you with all kinds of information about the PSE. +You can look up lots of information about the elements and also use +visualisations to show them. + +You can visualise the Periodic Table of the Elements by blocks, +groups, acidic behavior or different states of matter. You can also +plot data for a range of elements (weight, mean weight, density, IE1, +IE2, electronegativity), and you can go back in time to see what +elements were known at a given date. In addition, on platforms where +OCaml supports native code generation, Kalzium includes a chemical +equation solver. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-kalzium +%defattr(-,root,root,-) +%{tde_bindir}/kalzium +%{tde_tdeappdir}/kalzium.desktop +%{tde_datadir}/config.kcfg/kalzium.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kalzium.png +%{tde_datadir}/icons/hicolor/scalable/apps/kalzium.svgz +%{tde_tdedocdir}/HTML/en/kalzium/ + +%post -n trinity-kalzium +for i in hicolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kalzium +for i in hicolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kalzium-data +Summary: data files for Kalzium +Group: Amusements/Games + +%description -n trinity-kalzium-data +This package contains architecture-independent data files for +Kalzium, the KDE periodic table application. This includes pictures +of various chemical equipment and of samples of several elements, in +addition to the actual chemical data. + +See the kalzium package for further information. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-kalzium-data +%defattr(-,root,root,-) +%{tde_datadir}/apps/kalzium/ + +########## + +%package -n trinity-kanagram +Summary: letter order game for Trinity +Group: Amusements/Games +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kanagram +KAnagram is a game that is based on the word/letter puzzles that the +author played as a child. A word is picked at random and displayed +with its letters in a messed order, with difficulty dependent on the +chosen level. You have an unlimited number of attempts, and scores +are kept. + +It is a very simply constructed game, with 3 difficulty levels of +play. It is fully customizable, allowing you to write in your own +words and set your own 'look and feel' of the game. It is aimed for +children aged 10+ because of the difficulty, but of course everyone +is welcome to try. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-kanagram +%defattr(-,root,root,-) +%{tde_bindir}/kanagram +%{tde_tdeappdir}/kanagram.desktop +%{tde_datadir}/apps/kanagram/ +%{tde_datadir}/config.kcfg/kanagram.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kanagram.png +%{tde_datadir}/icons/hicolor/scalable/apps/kanagram.svgz +%{tde_tdedocdir}/HTML/en/kanagram/ + +%post -n trinity-kanagram +for i in hicolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kanagram +for i in hicolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kbruch +Summary: fraction calculation teaching tool for Trinity +Group: Amusements/Games +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kbruch +KBruch is a small program to practice calculating with fractions. +Different exercises are provided for this purpose. The program +checks the user's input and gives feedback. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-kbruch +%defattr(-,root,root,-) +%{tde_bindir}/kbruch +%{tde_datadir}/apps/kbruch/kbruchui.rc +%{tde_tdeappdir}/kbruch.desktop +%{tde_datadir}/config.kcfg/kbruch.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kbruch.png +%{tde_datadir}/icons/hicolor/scalable/apps/kbruch.svgz +%{tde_datadir}/icons/crystalsvg/*/actions/kbruch_*.png +%{tde_tdedocdir}/HTML/en/kbruch/ + +%post -n trinity-kbruch +for i in hicolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kbruch +for i in hicolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-keduca +Summary: interactive form-based tests for Trinity +Group: Amusements/Games +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-keduca +KEduca is a flash-card application which allows you to make +interactive form-based tests. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-keduca +%defattr(-,root,root,-) +%{tde_bindir}/keduca +%{tde_bindir}/keducabuilder +%{tde_tdelibdir}/libkeducapart.la +%{tde_tdelibdir}/libkeducapart.so +%{tde_tdeappdir}/keduca.desktop +%{tde_tdeappdir}/keducabuilder.desktop +%{tde_datadir}/apps/keduca/ +%{tde_datadir}/config.kcfg/keduca.kcfg +%{tde_datadir}/icons/hicolor/*/apps/keduca.png +%{tde_datadir}/mimelnk/application/x-edu.desktop +%{tde_datadir}/mimelnk/application/x-edugallery.desktop +%{tde_datadir}/services/keduca_part.desktop +%{tde_tdedocdir}/HTML/en/keduca/ + +%post -n trinity-keduca +for i in hicolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-keduca +for i in hicolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kgeography +Summary: Geography learning tool for Trinity +Group: Amusements/Games +Requires: trinity-kgeography-data = %{version}-%{release} +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kgeography +KGeography contains maps allowing you to learn various countries or +the political divisions of several countries. It has several modes, +including a map browser and games involving the names, capitals, or +flags of the map divisions. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-kgeography +%defattr(-,root,root,-) +%{tde_bindir}/kgeography +%{tde_tdeappdir}/kgeography.desktop +%{tde_datadir}/config.kcfg/kgeography.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/kgeography.png +%{tde_datadir}/icons/crystalsvg/scalable/apps/kgeography.svgz +%{tde_datadir}/icons/hicolor/*/apps/kgeography.png +%{tde_tdedocdir}/HTML/en/kgeography + +%post -n trinity-kgeography +for i in hicolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kgeography +for i in hicolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kgeography-data +Summary: data files for KGeography +Group: Amusements/Games + +%description -n trinity-kgeography-data +This package contains architecture-independent data files for +KGeography, the geography learning tool for KDE. This includes map +and flag images. + +See the kgeography package for further information. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-kgeography-data +%defattr(-,root,root,-) +%{tde_datadir}/apps/kgeography/ + +########## + +%package -n trinity-khangman +Summary: the classical hangman game for Trinity +Group: Amusements/Games +#Requires: dustin-dustismo-sans-fonts +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-khangman +KHangMan is a game based on the well known hangman game. It is aimed +for children aged 6 and above. It has four levels of difficulty: +Animals (animals words), Easy, Medium and Hard. + +A word is picked at random and the letters are hidden. You must +guess the word by trying one letter after another. Each time you +guess a wrong letter, a picture of a hangman is drawn. You must +guess the word before getting hanged! You have 10 tries. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-khangman +%defattr(-,root,root,-) +%{tde_datadir}/config/khangmanrc +%{tde_bindir}/khangman +%{tde_tdeappdir}/khangman.desktop +%{tde_datadir}/apps/khangman/ +%{tde_datadir}/config.kcfg/khangman.kcfg +%{tde_datadir}/icons/hicolor/*/apps/khangman.png +%{tde_datadir}/icons/hicolor/scalable/apps/khangman.svgz +%{tde_tdedocdir}/HTML/en/khangman/ + +%post -n trinity-khangman +for i in hicolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-khangman +for i in hicolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kig +Summary: interactive geometry program for KDE +Group: Amusements/Games +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kig +Kig is an application for interactive geometry. It is intended to +serve two purposes: + +- to allow students to interactively explore mathematical figures and + concepts using the computer; +- to serve as a WYSIWYG tool for drawing mathematical figures and + including them in other documents. + +With this program you can do geometry on a computer just like you +would on a blackboard in a classroom. However, the program allows +you to move and change parts of a geometrical drawing so that you can +see how the other parts change as a result. + +Kig supports loci and user-defined macros. It also supports imports +and exports to/from foreign file formats including Cabri, Dr. Geo, +KGeo, KSeg and XFig. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-kig +%defattr(-,root,root,-) +%{tde_datadir}/config/magic/cabri.magic +%{tde_datadir}/config/magic/drgeo.magic +%{tde_bindir}/kig +%{tde_bindir}/pykig.py* +%{tde_tdelibdir}/kfile_drgeo.la +%{tde_tdelibdir}/kfile_drgeo.so +%{tde_tdelibdir}/kfile_kig.la +%{tde_tdelibdir}/kfile_kig.so +%{tde_tdelibdir}/libkigpart.la +%{tde_tdelibdir}/libkigpart.so +%{tde_tdeappdir}/kig.desktop +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%{tde_datadir}/apps/katepart/syntax/python-kig.xml +%endif +%{tde_datadir}/apps/kig/ +%{tde_datadir}/icons/crystalsvg/*/mimetypes/kig_doc.png +%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/kig_doc.svgz +%{tde_datadir}/icons/hicolor/*/apps/kig.png +%{tde_datadir}/icons/hicolor/scalable/apps/kig.svgz +%{tde_datadir}/mimelnk/application/x-cabri.desktop +%{tde_datadir}/mimelnk/application/x-drgeo.desktop +%{tde_datadir}/mimelnk/application/x-kig.desktop +%{tde_datadir}/mimelnk/application/x-kgeo.desktop +%{tde_datadir}/mimelnk/application/x-kseg.desktop +%{tde_datadir}/services/kfile_drgeo.desktop +%{tde_datadir}/services/kfile_kig.desktop +%{tde_datadir}/services/kig_part.desktop +%{tde_tdedocdir}/HTML/en/kig/ + +%post -n trinity-kig +for i in crystalsvg hicolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kig +for i in crystalsvg hicolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kiten +Summary: Japanese reference/study tool for Trinity +Group: Amusements/Games +Requires: trinity-tdeedu-data = %{version}-%{release} +#Requires: ttf-kochi-gothic | ttf-kochi-mincho + +%description -n trinity-kiten +Kiten is a Japanese reference and study tool for KDE. It is an +application with multiple functions. Firstly, it is a convenient +English to Japanese and Japanese to English dictionary. Secondly, it +is a Kanji dictionary, with multiple ways to look up specific +characters. Thirdly, it is a tool to help you learn Kanji. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-kiten +%defattr(-,root,root,-) +%{tde_bindir}/kiten +%{tde_bindir}/kitengen +%{tde_tdeappdir}/kiten.desktop +%{tde_tdedocdir}/HTML/en/kiten/ +%{tde_datadir}/icons/hicolor/*/apps/kiten.png +%{tde_datadir}/icons/hicolor/scalable/apps/kiten.svgz + +%post -n trinity-kiten +for i in hicolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kiten +for i in hicolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-klatin +Summary: application to help revise/teach Latin +Group: Amusements/Games +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-klatin +KLatin is a program to help revise Latin. There are three "sections" +in which different aspects of the language can be revised. These are +the vocabulary, grammar and verb testing sections. In addition there +is a set of revision notes that can be used for self-guided revision. + +In the vocabulary section an XML file is loaded containing various +words and their local language translations. KLatin asks you what +each of these words translate into. The questions take place in a +multiple-choice environment. + +In the grammar and verb sections KLatin asks for a particular part of +a noun or a verb, such as the "ablative singular", or the "1st person +indicative passive plural", and is not multiple choice. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-klatin +%defattr(-,root,root,-) +%{tde_bindir}/klatin +%{tde_tdeappdir}/klatin.desktop +%{tde_datadir}/apps/klatin/ +%{tde_datadir}/config.kcfg/klatin.kcfg +%{tde_datadir}/icons/hicolor/*/apps/klatin.png +%{tde_datadir}/icons/hicolor/scalable/apps/klatin.svgz +%{tde_tdedocdir}/HTML/en/klatin/ + +%post -n trinity-klatin +for i in hicolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-klatin +for i in hicolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-klettres +Summary: foreign alphabet tutor for Trinity +Group: Amusements/Games +Requires: trinity-klettres-data = %{version}-%{release} +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-klettres +KLettres is an application specially designed to help the user to +learn the alphabet in a new language and then to learn to read simple +syllables. The user can be a young child aged from two and a half or +an adult that wants to learn the basics of a foreign language. + +Seven languages are currently available: Czech, Danish, Dutch, +English, French, Italian and Slovak. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-klettres +%defattr(-,root,root,-) +%{tde_datadir}/config/klettresrc +%{tde_bindir}/klettres +%{tde_tdeappdir}/klettres.desktop +%{tde_datadir}/config.kcfg/klettres.kcfg +%{tde_datadir}/icons/hicolor/*/apps/klettres.png +%{tde_datadir}/icons/hicolor/scalable/apps/klettres.svgz +%{tde_tdedocdir}/HTML/en/klettres/ + +%post -n trinity-klettres +for i in hicolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-klettres +for i in hicolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-klettres-data +Summary: data files for KLettres foreign alphabet tutor +Group: Amusements/Games + +%description -n trinity-klettres-data +This package contains architecture-independent data files for +KLettres, the foreign alphabet tutor for KDE. This includes sound +files and graphics. + +See the klettres package for further information. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-klettres-data +%defattr(-,root,root,-) +%{tde_datadir}/apps/klettres/ + +########## + +%package -n trinity-kmplot +Summary: mathematical function plotter for Trinity +Group: Amusements/Games +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kmplot +KmPlot is a mathematical function plotter for KDE. It has a powerful +built-in parser. You can plot different functions simultaneously and +combine them to build new functions. + +KmPlot supports parametric functions and functions in polar +coordinates. Several grid modes are supported. Plots may be printed +with high precision in the correct scale. + +KmPlot also provides some numerical and visual features, like filling +and calculating the area between the plot and the first axis, finding +maximum and minimum values, changing function parameters dynamically +and plotting derivatives and integral functions. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-kmplot +%defattr(-,root,root,-) +%{tde_bindir}/kmplot +%{tde_tdelibdir}/libkmplotpart.la +%{tde_tdelibdir}/libkmplotpart.so +%{tde_tdeappdir}/kmplot.desktop +%{tde_datadir}/apps/kmplot/ +%{tde_datadir}/config.kcfg/kmplot.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kmplot.png +%{tde_datadir}/icons/hicolor/scalable/apps/kmplot.svgz +%{tde_datadir}/mimelnk/application/x-kmplot.desktop +%{tde_datadir}/services/kmplot_part.desktop +%{tde_tdedocdir}/HTML/en/kmplot/ + +%post -n trinity-kmplot +for i in hicolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kmplot +for i in hicolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kpercentage +Summary: percentage calculation teaching tool for Trinity +Group: Amusements/Games +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kpercentage +KPercentage is a small math application that will help pupils to +improve their skills in calculating percentages. + +There is a special training section for the three basic tasks. +Finally the pupil can select a random mode, in which all three tasks +are mixed randomly. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-kpercentage +%defattr(-,root,root,-) +%{tde_bindir}/kpercentage +%{tde_tdeappdir}/kpercentage.desktop +%{tde_datadir}/apps/kpercentage/ +%{tde_datadir}/icons/hicolor/*/apps/kpercentage.png +%{tde_datadir}/icons/hicolor/scalable/apps/kpercentage.svgz +%{tde_tdedocdir}/HTML/en/kpercentage/ + +%post -n trinity-kpercentage +for i in hicolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kpercentage +for i in hicolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kstars +Summary: desktop planetarium for Trinity +Group: Amusements/Games +Requires: trinity-tdeedu-data = %{version}-%{release} +Requires: trinity-kstars-data = %{version}-%{release} +Requires: trinity-indi = %{version}-%{release} + +%description -n trinity-kstars +KStars is a graphical desktop planetarium for KDE. It depicts an +accurate simulation of the night sky, including stars, +constellations, star clusters, nebulae, galaxies, all planets, the +Sun, the Moon, comets and asteroids. You can see the sky as it +appears from any location on Earth, on any date. + +The user interface is highly intuitive and flexible. The display can +be panned and zoomed with the mouse, and you can easily identify +objects and track their motion across the sky. KStars includes many +powerful features, yet the interface is clean and simple and fun to +use. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-kstars +%defattr(-,root,root,-) +%{tde_datadir}/config/kstarsrc +%{tde_bindir}/kstars +%{tde_tdeappdir}/kstars.desktop +%{tde_datadir}/config.kcfg/kstars.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kstars.png +%{tde_datadir}/icons/hicolor/scalable/apps/kstars.svgz +%{tde_tdedocdir}/HTML/en/kstars/ + +%post -n trinity-kstars +for i in hicolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kstars +for i in hicolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kstars-data +Summary: data files for KStars desktop planetarium +Group: Amusements/Games + +%description -n trinity-kstars-data +This package contains architecture-independent data files for KStars, +the graphical desktop planetarium for KDE. This includes star +catalogues and astronomical images. + +See the kstars package for further information. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-kstars-data +%defattr(-,root,root,-) +%{tde_datadir}/apps/kstars/ + +########## + +%package -n trinity-ktouch +Summary: touch typing tutor for Trinity +Group: Amusements/Games +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-ktouch +KTouch is a program for learning touch typing - it helps you learn to +type on a keyboard quickly and correctly. Every finger has its place +on the keyboard with associated keys to press. + +KTouch helps you learn to touch type by providing you with text to +train on, and adjusts to different levels depending on how good you +are. It can display which key to press next, and the correct finger +to use. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-ktouch +%defattr(-,root,root,-) +%{tde_bindir}/ktouch +%{tde_tdeappdir}/ktouch.desktop +%{tde_datadir}/apps/ktouch/ +%{tde_datadir}/config.kcfg/ktouch.kcfg +%{tde_datadir}/icons/hicolor/*/apps/ktouch.png +%{tde_datadir}/icons/hicolor/scalable/apps/ktouch.svgz +%{tde_tdedocdir}/HTML/en/ktouch/ + +%post -n trinity-ktouch +for i in hicolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ktouch +for i in hicolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kturtle +Summary: educational Logo programming environment +Group: Amusements/Games +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kturtle +KTurtle is an educational programming environment using the Logo +programming language. It tries to make programming as easy and +accessible as possible. This makes KTurtle suitable for teaching +kids the basics of mathematics, geometry and programming. + +The commands used to program are in the style of the Logo programming +language. The unique feature of Logo is that the commands are often +translated into the speaking language of the programmer. + +KTurtle is named after "the turtle" that plays a central role in the +programming environment. The user programs the turtle, using the +Logo commands, to draw a picture on the canvas. + +Note that this version of Logo is only focused on the educational +qualities of the programming language and will not try to suit +professional programmers' needs. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-kturtle +%defattr(-,root,root,-) +%{tde_bindir}/kturtle +%{tde_tdeappdir}/kturtle.desktop +%{tde_datadir}/apps/katepart/syntax/logohighlightstyle* +%{tde_datadir}/apps/kturtle/ +%{tde_datadir}/config.kcfg/kturtle.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kturtle.png +%{tde_tdedocdir}/HTML/en/kturtle/ + +%post -n trinity-kturtle +for i in hicolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kturtle +for i in hicolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kverbos +Summary: Spanish verb form study application for Trinity +Group: Amusements/Games +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kverbos +Kverbos allows the user to learn the forms of Spanish verbs. The +program suggests a verb and a time and the user enters the different +verb forms. The program corrects the user input and gives feedback. + +The user can edit the list of the verbs that can be studied. The +program can build regular verb forms by itself. Irregular verb forms +have to be entered by the user. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-kverbos +%defattr(-,root,root,-) +%{tde_bindir}/kverbos +%{tde_tdeappdir}/kverbos.desktop +%{tde_datadir}/apps/kverbos/ +%{tde_datadir}/config.kcfg/kverbos.kcfg +%{tde_datadir}/icons/crystalsvg/16x16/actions/kverbosuser.png +%{tde_datadir}/icons/hicolor/*/apps/kverbos.png +%{tde_datadir}/icons/hicolor/scalable/apps/kverbos.svgz +%{tde_tdedocdir}/HTML/en/kverbos/ + +%post -n trinity-kverbos +for i in hicolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kverbos +for i in hicolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kvoctrain +Summary: vocabulary trainer for Trinity +Group: Amusements/Games +Requires: perl +Requires: perl-libwww-perl +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kvoctrain +KVocTrain is a little utility to help you train your vocabulary when +you are trying to learn a foreign language. You can create your own +database with the words you need. It is intended as a replacement +for index (flash) cards. + +You probably remember flashcards from school. The teacher would +write the original expression on the front side of the card and the +translation on the back. Then look at the cards one after another. +If you knew the translation, you could put it away. If you failed, +you put it back to try again. + +KVocTrain is not intended to teach you grammar or other sophisticated +things. This is and probably will stay beyond the scope of this +application. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-kvoctrain +%defattr(-,root,root,-) +%{tde_datadir}/config/kvoctrainrc +%{tde_bindir}/kvoctrain +%{tde_bindir}/spotlight2kvtml +%{tde_libdir}/libkvoctraincore.so.* +%{tde_tdeappdir}/kvoctrain.desktop +%{tde_datadir}/apps/kvoctrain/ +%{tde_datadir}/mimelnk/text/x-kvtml.desktop +%{tde_datadir}/config.kcfg/kvoctrain.kcfg +%{tde_datadir}/config.kcfg/languagesettings.kcfg +%{tde_datadir}/config.kcfg/presettings.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kvoctrain.png +%{tde_tdedocdir}/HTML/en/kvoctrain/ + +%post -n trinity-kvoctrain +/sbin/ldconfig || : +for i in hicolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kvoctrain +/sbin/ldconfig || : +for i in hicolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kwordquiz +Summary: flashcard and vocabulary learning program for Trinity +Group: Amusements/Games +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kwordquiz +KWordQuiz is a flashcard-based tool that helps you to master new +vocabularies. It may be a language or any other kind of terminology. + +KWordQuiz can open several types of vocabulary data. Supported are +kvtml files used by other KDE programs such as KVocTrain, wql files +used by WordQuiz for Windows, csv files with comma-separated text, +and xml.gz files created by Pauker (http://pauker.sourceforge.net). + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-kwordquiz +%defattr(-,root,root,-) +%{tde_datadir}/config/kwordquizrc +%{tde_bindir}/kwordquiz +%{tde_tdeappdir}/kwordquiz.desktop +%{tde_datadir}/apps/kwordquiz/ +%{tde_datadir}/config.kcfg/kwordquiz.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kwordquiz.png +%{tde_datadir}/icons/hicolor/scalable/apps/kwordquiz.svg +%{tde_datadir}/icons/crystalsvg/*/mimetypes/kwordquiz_doc.png +%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/kwordquiz_doc.svg +%{tde_datadir}/mimelnk/application/x-kwordquiz.desktop +%{tde_tdedocdir}/HTML/en/kwordquiz/ + +%post -n trinity-kwordquiz +for i in hicolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kwordquiz +for i in hicolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-libtdeedu3 +Summary: library for use with Trinity educational apps +Group: Environment/Libraries + +%description -n trinity-libtdeedu3 +The KDE-based library libtdeedu is used with educational +applications. It currently provides support for data plotting and +vocabulary items (including a parser for kvtml vocabulary files). + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-libtdeedu3 +%defattr(-,root,root,-) +%{tde_libdir}/libextdate.so.* +%{tde_libdir}/lib[kt]deeducore.so.* +%{tde_libdir}/lib[kt]deeduplot.so.* +%{tde_libdir}/lib[kt]deeduui.so.* + +%post -n trinity-libtdeedu3 +/sbin/ldconfig || : + +%postun -n trinity-libtdeedu3 +/sbin/ldconfig || : + +########## + +%package -n trinity-libtdeedu-devel +Summary: development files for Trinity educational library +Group: Development/Libraries +Requires: trinity-libtdeedu3 = %{version}-%{release} + +%description -n trinity-libtdeedu-devel +The KDE-based library libtdeedu is used with educational +applications. It currently provides support for data plotting and +vocabulary items (including a parser for kvtml vocabulary files). + +Development files for libtdeedu are included in this package. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-libtdeedu-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/lib[kt]deedu/ +%{tde_libdir}/libextdate.la +%{tde_libdir}/libextdate.so +%{tde_libdir}/lib[kt]deeducore.la +%{tde_libdir}/lib[kt]deeducore.so +%{tde_libdir}/lib[kt]deeduui.la +%{tde_libdir}/lib[kt]deeduui.so +%{tde_libdir}/lib[kt]deeduplot.la +%{tde_libdir}/lib[kt]deeduplot.so + +%post -n trinity-libtdeedu-devel +/sbin/ldconfig || : + +%postun -n trinity-libtdeedu-devel +/sbin/ldconfig || : + + +########## + +%package -n trinity-libkiten1 +Summary: library for Kiten Japanese reference/study tool +Group: Environment/Libraries +#Requires: kanjidic + +%description -n trinity-libkiten1 +Kiten is a Japanese reference/study tool for KDE. The library +libkiten contains portions of Kiten that may be useful for other +applications. These portions include dictionary, character lookup +and widget classes. + +This package contains the libkiten library along with supporting +data, such as Japanese language data files and GUI resource files. +For further information, see the kiten package. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-libkiten1 +%defattr(-,root,root,-) +%{tde_libdir}/libkiten.so.* +%{tde_datadir}/apps/kiten/ +%{tde_datadir}/config.kcfg/kiten.kcfg +%{tde_datadir}/icons/crystalsvg/16x16/actions/kanjidic.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/edit_add.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/edit_remove.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/kanjidic.png +%{tde_datadir}/icons/locolor/16x16/actions/edit_add.png +%{tde_datadir}/icons/locolor/16x16/actions/edit_remove.png + +%post -n trinity-libkiten1 +for i in crystalsvg locolor locolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +/sbin/ldconfig || : + +%postun -n trinity-libkiten1 +for i in crystalsvg locolor locolor ; do + touch --no-create %{_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : +done +/sbin/ldconfig || : + +########## + +%package -n trinity-libkiten-devel +Summary: development files for Kiten library +Group: Development/Libraries +Requires: trinity-libkiten1 = %{version}-%{release} +Requires: trinity-tdelibs-devel >= 3.5.13 + +%description -n trinity-libkiten-devel +Kiten is a Japanese reference/study tool for KDE. The library +libkiten contains portions of Kiten that may be useful for other +applications. These portions include dictionary, character lookup +and widget classes. + +Development files for libkiten are included in this package. For +further information, see the kiten package. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-libkiten-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/libkiten/ +%{tde_libdir}/libkiten.la +%{tde_libdir}/libkiten.so + +%post -n trinity-libkiten-devel +/sbin/ldconfig || : + +%postun -n trinity-libkiten-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-indi +Summary: Instrument Neutral Distributed Interface for astronomical devices +Group: Amusements/Games + +%description -n trinity-indi +INDI is an Instrument Neutral Distributed Interface control protocol for +astronomical devices, which provides a framework that decouples low level +hardware drivers from high level front end clients. Clients that use the +device drivers are completely unaware of the device capabilities and +communicate with the device drivers and build a completely dynamic GUI +based on the services provided by the device. + +This package is part of Trinity, as a component of the KDE education module. + +%files -n trinity-indi +%defattr(-,root,root,-) +%{tde_bindir}/apmount +%{tde_bindir}/apogee_ppi +%{tde_bindir}/celestrongps +%{tde_bindir}/fliccd +%{tde_bindir}/fliwheel +%{tde_bindir}/indiserver +%{tde_bindir}/lx200_16 +%{tde_bindir}/lx200autostar +%{tde_bindir}/lx200basic +%{tde_bindir}/lx200classic +%{tde_bindir}/lx200generic +%{tde_bindir}/lx200gps +%{tde_bindir}/meade_lpi +%{tde_bindir}/sbigccd +%{tde_bindir}/skycommander +%{tde_bindir}/temma +%{tde_bindir}/v4ldriver +%{tde_bindir}/v4lphilips + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: trinity-libtdeedu-devel = %{version}-%{release} +Requires: trinity-libkiten-devel = %{version}-%{release} + +Obsoletes: trinity-kdeedu-devel < %{version}-%{release} +Provides: trinity-kdeedu-devel = %{version}-%{release} + +%description devel +%{summary}. + +%files devel +%defattr(-,root,root,-) +%doc libkdeedu/AUTHORS libkdeedu/README +# kstars +%{tde_tdeincludedir}/kstarsinterface.h +%{tde_tdeincludedir}/simclockinterface.h +# kvoctrain +%{tde_libdir}/libkvoctraincore.la +%{tde_libdir}/libkvoctraincore.so + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + +########## + + +%prep +%setup -q -n kdeedu +%patch1 -p1 -b .gcc47 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 -b .ftbfs + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --enable-new-ldflags \ + --disable-dependency-tracking \ + --disable-rpath \ +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} + --enable-kig-python-scripting \ +%else + --disable-kig-python-scripting \ +%endif + --disable-debug \ + --disable-warnings \ + --enable-final \ + --enable-closure \ + --disable-ocamlsolver \ + --with-extra-includes=%{tde_includedir}/tqt + + +%__make %{_smp_mflags} \ + OCAMLLIB=$(ocamlc -where) \ + FACILELIB=$(ocamlc -where) + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# locale's +%find_lang %{name} || touch %{name}.lang +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi +done +fi + + +%clean +%__rm -rf %{buildroot} + + + + + +%changelog +* Wed Aug 01 2012 Francois Andriot - 3.5.13-4 +- Split into several packages +- Renames to 'trinity-tdeedu' +- Add support for Mageia 2 +- Fix kdeedu makefile glitch [Bug #785] [Commit #b83d0455] +- Fix kbruch/Makefile.am to eliminate build error. [Bug #786] [Commit #9d1871a4] +- Fix linear alphabet string errors [Commit #0cd3b7ce] + +* Wed Apr 25 2012 Francois Andriot - 3.5.13-3 +- Fix compilation with GCC 4.7 [Bug #958] +- Enable 'kgeography' on RHEL + +* Fri Nov 25 2011 Francois Andriot - 3.5.13-2 +- Fix HTML directory location + +* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 +- Initial release for RHEL 6, RHEL 5 and Fedora 15 + +* Sat Sep 09 2011 Francois Andriot - 3.5.13-0 +- Import to GIT diff --git a/redhat/tdeedu/tdeedu-3.5.13.2.spec b/redhat/tdeedu/tdeedu-3.5.13.2.spec new file mode 100644 index 000000000..91f081362 --- /dev/null +++ b/redhat/tdeedu/tdeedu-3.5.13.2.spec @@ -0,0 +1,1395 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +Name: trinity-tdeedu +Summary: Educational/Edutainment applications +Version: 3.5.13.2 +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} + +License: GPLv2 +Group: Amusements/Games + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: autoconf automake libtool m4 +BuildRequires: desktop-file-utils +BuildRequires: trinity-kdelibs-devel +BuildRequires: python-devel python +BuildRequires: boost-devel +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 +BuildRequires: ocaml(compiler) +%else +BuildRequires: ocaml +%endif + +Obsoletes: trinity-kdeedu < %{version}-%{release} +Provides: trinity-kdeedu = %{version}-%{release} +Obsoletes: trinity-kdeedu-libs < %{version}-%{release} +Provides: trinity-kdeedu-libs = %{version}-%{release} + +# Meta-package +Requires: %{name}-data = %{version}-%{release} +Requires: trinity-blinken = %{version}-%{release} +Requires: trinity-kalzium = %{version}-%{release} +Requires: trinity-kalzium-data = %{version}-%{release} +Requires: trinity-kanagram = %{version}-%{release} +Requires: trinity-kbruch = %{version}-%{release} +Requires: trinity-keduca = %{version}-%{release} +Requires: trinity-kgeography = %{version}-%{release} +Requires: trinity-kgeography-data = %{version}-%{release} +Requires: trinity-khangman = %{version}-%{release} +Requires: trinity-kig = %{version}-%{release} +Requires: trinity-kiten = %{version}-%{release} +Requires: trinity-klatin = %{version}-%{release} +Requires: trinity-klettres = %{version}-%{release} +Requires: trinity-klettres-data = %{version}-%{release} +Requires: trinity-kmplot = %{version}-%{release} +Requires: trinity-kpercentage = %{version}-%{release} +Requires: trinity-kstars = %{version}-%{release} +Requires: trinity-kstars-data = %{version}-%{release} +Requires: trinity-ktouch = %{version}-%{release} +Requires: trinity-kturtle = %{version}-%{release} +Requires: trinity-kverbos = %{version}-%{release} +Requires: trinity-kvoctrain = %{version}-%{release} +Requires: trinity-kwordquiz = %{version}-%{release} +Requires: trinity-libtdeedu3 = %{version}-%{release} +Requires: trinity-libkiten1 = %{version}-%{release} +Requires: trinity-indi = %{version}-%{release} + + +%description +Educational/Edutainment applications, including: +* blinken: Simon Says Game +* kalzium: Periodic Table of Elements +* kanagram: Letter Order Game +* kbruch: Exercise Fractions +* keduca: Tests and Exams +* kgeography: Geography Trainer +* khangman: Hangman Game +* kig: Interactive Geometry +* kiten: Japanese Reference/Study Tool +* klatin: Latin Reviser +* klettres: French alphabet tutor +* kmplot: Mathematical Function Plotter +* kpercentage: Excersie Percentages +* kstars: Desktop Planetarium +* ktouch: Touch Typing Tutor +* kturtle: Logo Programming Environment +* kverbos: Study Spanish Verbforms +* kvoctrain: Vocabulary Trainer +* kwordquiz: Vocabulary Trainer + +%files +%defattr(-,root,root,-) +%doc COPYING README + +########## + +%package data +Summary: shared data for Trinity educational applications +Group: Amusements/Games + +%description data +This package contains shared data necessary for running the +educational applications provided with KDE (the K Desktop +Environment). + +This package is part of Trinity, as a component of the TDE education module. + +%files data +%defattr(-,root,root,-) +%{tde_datadir}/applnk/Edutainment/Languages/.directory +%{tde_datadir}/applnk/Edutainment/Miscellaneous/.directory +%{tde_datadir}/applnk/Edutainment/Mathematics/.directory +%{tde_datadir}/applnk/Edutainment/Science/.directory +%{tde_datadir}/applnk/Edutainment/Tools/.directory + +########## + +%package -n trinity-blinken +Summary: Trinity version of the Simon Says electronic memory game +Group: Amusements/Games +#Requires: sj-delphine-fonts +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-blinken +Blinken is based on an electronic game released in 1978, which +challenges players to remember sequences of increasing length. On +the face of the device, there are 4 different color buttons, each +with its own distinctive sound. These buttons light up randomly, +creating the sequence that the player must then recall. If the +player is successful in remembering the sequence of lights in the +correct order, they advance to the next stage, where an identical +sequence with one extra step is presented. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-blinken +%defattr(-,root,root,-) +%{tde_bindir}/blinken +%{tde_tdeappdir}/blinken.desktop +%{tde_datadir}/apps/blinken/ +%{tde_datadir}/config.kcfg/blinken.kcfg +%{tde_datadir}/icons/hicolor/*/apps/blinken.png +%{tde_datadir}/icons/hicolor/scalable/apps/blinken.svgz +%{tde_tdedocdir}/HTML/en/blinken/ + +%post -n trinity-blinken +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-blinken +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kalzium +Summary: chemistry teaching tool for Trinity +Group: Amusements/Games +Requires: trinity-kalzium-data = %{version}-%{release} +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kalzium +Kalzium is a program which shows you the Periodic System of Elements +(PSE). You can use Kalzium to search for information about the +elements or to learn facts about the PSE. + +Kalzium provides you with all kinds of information about the PSE. +You can look up lots of information about the elements and also use +visualisations to show them. + +You can visualise the Periodic Table of the Elements by blocks, +groups, acidic behavior or different states of matter. You can also +plot data for a range of elements (weight, mean weight, density, IE1, +IE2, electronegativity), and you can go back in time to see what +elements were known at a given date. In addition, on platforms where +OCaml supports native code generation, Kalzium includes a chemical +equation solver. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kalzium +%defattr(-,root,root,-) +%{tde_bindir}/kalzium +%{tde_tdeappdir}/kalzium.desktop +%{tde_datadir}/config.kcfg/kalzium.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kalzium.png +%{tde_datadir}/icons/hicolor/scalable/apps/kalzium.svgz +%{tde_tdedocdir}/HTML/en/kalzium/ + +%post -n trinity-kalzium +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kalzium +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kalzium-data +Summary: data files for Kalzium +Group: Amusements/Games + +%description -n trinity-kalzium-data +This package contains architecture-independent data files for +Kalzium, the KDE periodic table application. This includes pictures +of various chemical equipment and of samples of several elements, in +addition to the actual chemical data. + +See the kalzium package for further information. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kalzium-data +%defattr(-,root,root,-) +%{tde_datadir}/apps/kalzium/ + +########## + +%package -n trinity-kanagram +Summary: letter order game for Trinity +Group: Amusements/Games +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kanagram +KAnagram is a game that is based on the word/letter puzzles that the +author played as a child. A word is picked at random and displayed +with its letters in a messed order, with difficulty dependent on the +chosen level. You have an unlimited number of attempts, and scores +are kept. + +It is a very simply constructed game, with 3 difficulty levels of +play. It is fully customizable, allowing you to write in your own +words and set your own 'look and feel' of the game. It is aimed for +children aged 10+ because of the difficulty, but of course everyone +is welcome to try. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kanagram +%defattr(-,root,root,-) +%{tde_bindir}/kanagram +%{tde_tdeappdir}/kanagram.desktop +%{tde_datadir}/apps/kanagram/ +%{tde_datadir}/config.kcfg/kanagram.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kanagram.png +%{tde_datadir}/icons/hicolor/scalable/apps/kanagram.svgz +%{tde_tdedocdir}/HTML/en/kanagram/ + +%post -n trinity-kanagram +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kanagram +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kbruch +Summary: fraction calculation teaching tool for Trinity +Group: Amusements/Games +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kbruch +KBruch is a small program to practice calculating with fractions. +Different exercises are provided for this purpose. The program +checks the user's input and gives feedback. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kbruch +%defattr(-,root,root,-) +%{tde_bindir}/kbruch +%{tde_datadir}/apps/kbruch/kbruchui.rc +%{tde_tdeappdir}/kbruch.desktop +%{tde_datadir}/config.kcfg/kbruch.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kbruch.png +%{tde_datadir}/icons/hicolor/scalable/apps/kbruch.svgz +%{tde_datadir}/icons/crystalsvg/*/actions/kbruch_*.png +%{tde_tdedocdir}/HTML/en/kbruch/ + +%post -n trinity-kbruch +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kbruch +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-keduca +Summary: interactive form-based tests for Trinity +Group: Amusements/Games +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-keduca +KEduca is a flash-card application which allows you to make +interactive form-based tests. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-keduca +%defattr(-,root,root,-) +%{tde_bindir}/keduca +%{tde_bindir}/keducabuilder +%{tde_tdelibdir}/libkeducapart.la +%{tde_tdelibdir}/libkeducapart.so +%{tde_tdeappdir}/keduca.desktop +%{tde_tdeappdir}/keducabuilder.desktop +%{tde_datadir}/apps/keduca/ +%{tde_datadir}/config.kcfg/keduca.kcfg +%{tde_datadir}/icons/hicolor/*/apps/keduca.png +%{tde_datadir}/mimelnk/application/x-edu.desktop +%{tde_datadir}/mimelnk/application/x-edugallery.desktop +%{tde_datadir}/services/keduca_part.desktop +%{tde_tdedocdir}/HTML/en/keduca/ + +%post -n trinity-keduca +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-keduca +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kgeography +Summary: Geography learning tool for Trinity +Group: Amusements/Games +Requires: trinity-kgeography-data = %{version}-%{release} +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kgeography +KGeography contains maps allowing you to learn various countries or +the political divisions of several countries. It has several modes, +including a map browser and games involving the names, capitals, or +flags of the map divisions. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kgeography +%defattr(-,root,root,-) +%{tde_bindir}/kgeography +%{tde_tdeappdir}/kgeography.desktop +%{tde_datadir}/config.kcfg/kgeography.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/kgeography.png +%{tde_datadir}/icons/crystalsvg/scalable/apps/kgeography.svgz +%{tde_datadir}/icons/hicolor/*/apps/kgeography.png +%{tde_tdedocdir}/HTML/en/kgeography + +%post -n trinity-kgeography +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kgeography +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kgeography-data +Summary: data files for KGeography +Group: Amusements/Games + +%description -n trinity-kgeography-data +This package contains architecture-independent data files for +KGeography, the geography learning tool for KDE. This includes map +and flag images. + +See the kgeography package for further information. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kgeography-data +%defattr(-,root,root,-) +%{tde_datadir}/apps/kgeography/ + +########## + +%package -n trinity-khangman +Summary: the classical hangman game for Trinity +Group: Amusements/Games +#Requires: dustin-dustismo-sans-fonts +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-khangman +KHangMan is a game based on the well known hangman game. It is aimed +for children aged 6 and above. It has four levels of difficulty: +Animals (animals words), Easy, Medium and Hard. + +A word is picked at random and the letters are hidden. You must +guess the word by trying one letter after another. Each time you +guess a wrong letter, a picture of a hangman is drawn. You must +guess the word before getting hanged! You have 10 tries. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-khangman +%defattr(-,root,root,-) +%{tde_datadir}/config/khangmanrc +%{tde_bindir}/khangman +%{tde_tdeappdir}/khangman.desktop +%{tde_datadir}/apps/khangman/ +%{tde_datadir}/config.kcfg/khangman.kcfg +%{tde_datadir}/icons/hicolor/*/apps/khangman.png +%{tde_datadir}/icons/hicolor/scalable/apps/khangman.svgz +%{tde_tdedocdir}/HTML/en/khangman/ + +%post -n trinity-khangman +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-khangman +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kig +Summary: interactive geometry program for KDE +Group: Amusements/Games +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kig +Kig is an application for interactive geometry. It is intended to +serve two purposes: + +- to allow students to interactively explore mathematical figures and + concepts using the computer; +- to serve as a WYSIWYG tool for drawing mathematical figures and + including them in other documents. + +With this program you can do geometry on a computer just like you +would on a blackboard in a classroom. However, the program allows +you to move and change parts of a geometrical drawing so that you can +see how the other parts change as a result. + +Kig supports loci and user-defined macros. It also supports imports +and exports to/from foreign file formats including Cabri, Dr. Geo, +KGeo, KSeg and XFig. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kig +%defattr(-,root,root,-) +%{tde_datadir}/config/magic/cabri.magic +%{tde_datadir}/config/magic/drgeo.magic +%{tde_bindir}/kig +%{tde_bindir}/pykig.py* +%{tde_tdelibdir}/kfile_drgeo.la +%{tde_tdelibdir}/kfile_drgeo.so +%{tde_tdelibdir}/kfile_kig.la +%{tde_tdelibdir}/kfile_kig.so +%{tde_tdelibdir}/libkigpart.la +%{tde_tdelibdir}/libkigpart.so +%{tde_tdeappdir}/kig.desktop +%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%{tde_datadir}/apps/katepart/syntax/python-kig.xml +%endif +%{tde_datadir}/apps/kig/ +%{tde_datadir}/icons/crystalsvg/*/mimetypes/kig_doc.png +%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/kig_doc.svgz +%{tde_datadir}/icons/hicolor/*/apps/kig.png +%{tde_datadir}/icons/hicolor/scalable/apps/kig.svgz +%{tde_datadir}/mimelnk/application/x-cabri.desktop +%{tde_datadir}/mimelnk/application/x-drgeo.desktop +%{tde_datadir}/mimelnk/application/x-kig.desktop +%{tde_datadir}/mimelnk/application/x-kgeo.desktop +%{tde_datadir}/mimelnk/application/x-kseg.desktop +%{tde_datadir}/services/kfile_drgeo.desktop +%{tde_datadir}/services/kfile_kig.desktop +%{tde_datadir}/services/kig_part.desktop +%{tde_tdedocdir}/HTML/en/kig/ + +%post -n trinity-kig +for i in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kig +for i in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kiten +Summary: Japanese reference/study tool for Trinity +Group: Amusements/Games +Requires: trinity-tdeedu-data = %{version}-%{release} +#Requires: ttf-kochi-gothic | ttf-kochi-mincho + +%description -n trinity-kiten +Kiten is a Japanese reference and study tool for KDE. It is an +application with multiple functions. Firstly, it is a convenient +English to Japanese and Japanese to English dictionary. Secondly, it +is a Kanji dictionary, with multiple ways to look up specific +characters. Thirdly, it is a tool to help you learn Kanji. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kiten +%defattr(-,root,root,-) +%{tde_bindir}/kiten +%{tde_bindir}/kitengen +%{tde_tdeappdir}/kiten.desktop +%{tde_tdedocdir}/HTML/en/kiten/ +%{tde_datadir}/icons/hicolor/*/apps/kiten.png +%{tde_datadir}/icons/hicolor/scalable/apps/kiten.svgz + +%post -n trinity-kiten +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kiten +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-klatin +Summary: application to help revise/teach Latin +Group: Amusements/Games +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-klatin +KLatin is a program to help revise Latin. There are three "sections" +in which different aspects of the language can be revised. These are +the vocabulary, grammar and verb testing sections. In addition there +is a set of revision notes that can be used for self-guided revision. + +In the vocabulary section an XML file is loaded containing various +words and their local language translations. KLatin asks you what +each of these words translate into. The questions take place in a +multiple-choice environment. + +In the grammar and verb sections KLatin asks for a particular part of +a noun or a verb, such as the "ablative singular", or the "1st person +indicative passive plural", and is not multiple choice. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-klatin +%defattr(-,root,root,-) +%{tde_bindir}/klatin +%{tde_tdeappdir}/klatin.desktop +%{tde_datadir}/apps/klatin/ +%{tde_datadir}/config.kcfg/klatin.kcfg +%{tde_datadir}/icons/hicolor/*/apps/klatin.png +%{tde_datadir}/icons/hicolor/scalable/apps/klatin.svgz +%{tde_tdedocdir}/HTML/en/klatin/ + +%post -n trinity-klatin +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-klatin +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-klettres +Summary: foreign alphabet tutor for Trinity +Group: Amusements/Games +Requires: trinity-klettres-data = %{version}-%{release} +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-klettres +KLettres is an application specially designed to help the user to +learn the alphabet in a new language and then to learn to read simple +syllables. The user can be a young child aged from two and a half or +an adult that wants to learn the basics of a foreign language. + +Seven languages are currently available: Czech, Danish, Dutch, +English, French, Italian and Slovak. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-klettres +%defattr(-,root,root,-) +%{tde_datadir}/config/klettresrc +%{tde_bindir}/klettres +%{tde_tdeappdir}/klettres.desktop +%{tde_datadir}/config.kcfg/klettres.kcfg +%{tde_datadir}/icons/hicolor/*/apps/klettres.png +%{tde_datadir}/icons/hicolor/scalable/apps/klettres.svgz +%{tde_tdedocdir}/HTML/en/klettres/ + +%post -n trinity-klettres +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-klettres +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-klettres-data +Summary: data files for KLettres foreign alphabet tutor +Group: Amusements/Games + +%description -n trinity-klettres-data +This package contains architecture-independent data files for +KLettres, the foreign alphabet tutor for KDE. This includes sound +files and graphics. + +See the klettres package for further information. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-klettres-data +%defattr(-,root,root,-) +%{tde_datadir}/apps/klettres/ + +########## + +%package -n trinity-kmplot +Summary: mathematical function plotter for Trinity +Group: Amusements/Games +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kmplot +KmPlot is a mathematical function plotter for KDE. It has a powerful +built-in parser. You can plot different functions simultaneously and +combine them to build new functions. + +KmPlot supports parametric functions and functions in polar +coordinates. Several grid modes are supported. Plots may be printed +with high precision in the correct scale. + +KmPlot also provides some numerical and visual features, like filling +and calculating the area between the plot and the first axis, finding +maximum and minimum values, changing function parameters dynamically +and plotting derivatives and integral functions. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kmplot +%defattr(-,root,root,-) +%{tde_bindir}/kmplot +%{tde_tdelibdir}/libkmplotpart.la +%{tde_tdelibdir}/libkmplotpart.so +%{tde_tdeappdir}/kmplot.desktop +%{tde_datadir}/apps/kmplot/ +%{tde_datadir}/config.kcfg/kmplot.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kmplot.png +%{tde_datadir}/icons/hicolor/scalable/apps/kmplot.svgz +%{tde_datadir}/mimelnk/application/x-kmplot.desktop +%{tde_datadir}/services/kmplot_part.desktop +%{tde_tdedocdir}/HTML/en/kmplot/ + +%post -n trinity-kmplot +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kmplot +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kpercentage +Summary: percentage calculation teaching tool for Trinity +Group: Amusements/Games +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kpercentage +KPercentage is a small math application that will help pupils to +improve their skills in calculating percentages. + +There is a special training section for the three basic tasks. +Finally the pupil can select a random mode, in which all three tasks +are mixed randomly. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kpercentage +%defattr(-,root,root,-) +%{tde_bindir}/kpercentage +%{tde_tdeappdir}/kpercentage.desktop +%{tde_datadir}/apps/kpercentage/ +%{tde_datadir}/icons/hicolor/*/apps/kpercentage.png +%{tde_datadir}/icons/hicolor/scalable/apps/kpercentage.svgz +%{tde_tdedocdir}/HTML/en/kpercentage/ + +%post -n trinity-kpercentage +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kpercentage +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kstars +Summary: desktop planetarium for Trinity +Group: Amusements/Games +Requires: trinity-tdeedu-data = %{version}-%{release} +Requires: trinity-kstars-data = %{version}-%{release} +Requires: trinity-indi = %{version}-%{release} + +%description -n trinity-kstars +KStars is a graphical desktop planetarium for KDE. It depicts an +accurate simulation of the night sky, including stars, +constellations, star clusters, nebulae, galaxies, all planets, the +Sun, the Moon, comets and asteroids. You can see the sky as it +appears from any location on Earth, on any date. + +The user interface is highly intuitive and flexible. The display can +be panned and zoomed with the mouse, and you can easily identify +objects and track their motion across the sky. KStars includes many +powerful features, yet the interface is clean and simple and fun to +use. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kstars +%defattr(-,root,root,-) +%{tde_datadir}/config/kstarsrc +%{tde_bindir}/kstars +%{tde_tdeappdir}/kstars.desktop +%{tde_datadir}/config.kcfg/kstars.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kstars.png +%{tde_datadir}/icons/hicolor/scalable/apps/kstars.svgz +%{tde_tdedocdir}/HTML/en/kstars/ + +%post -n trinity-kstars +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kstars +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kstars-data +Summary: data files for KStars desktop planetarium +Group: Amusements/Games + +%description -n trinity-kstars-data +This package contains architecture-independent data files for KStars, +the graphical desktop planetarium for KDE. This includes star +catalogues and astronomical images. + +See the kstars package for further information. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kstars-data +%defattr(-,root,root,-) +%{tde_datadir}/apps/kstars/ + +########## + +%package -n trinity-ktouch +Summary: touch typing tutor for Trinity +Group: Amusements/Games +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-ktouch +KTouch is a program for learning touch typing - it helps you learn to +type on a keyboard quickly and correctly. Every finger has its place +on the keyboard with associated keys to press. + +KTouch helps you learn to touch type by providing you with text to +train on, and adjusts to different levels depending on how good you +are. It can display which key to press next, and the correct finger +to use. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-ktouch +%defattr(-,root,root,-) +%{tde_bindir}/ktouch +%{tde_tdeappdir}/ktouch.desktop +%{tde_datadir}/apps/ktouch/ +%{tde_datadir}/config.kcfg/ktouch.kcfg +%{tde_datadir}/icons/hicolor/*/apps/ktouch.png +%{tde_datadir}/icons/hicolor/scalable/apps/ktouch.svgz +%{tde_tdedocdir}/HTML/en/ktouch/ + +%post -n trinity-ktouch +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ktouch +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kturtle +Summary: educational Logo programming environment +Group: Amusements/Games +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kturtle +KTurtle is an educational programming environment using the Logo +programming language. It tries to make programming as easy and +accessible as possible. This makes KTurtle suitable for teaching +kids the basics of mathematics, geometry and programming. + +The commands used to program are in the style of the Logo programming +language. The unique feature of Logo is that the commands are often +translated into the speaking language of the programmer. + +KTurtle is named after "the turtle" that plays a central role in the +programming environment. The user programs the turtle, using the +Logo commands, to draw a picture on the canvas. + +Note that this version of Logo is only focused on the educational +qualities of the programming language and will not try to suit +professional programmers' needs. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kturtle +%defattr(-,root,root,-) +%{tde_bindir}/kturtle +%{tde_tdeappdir}/kturtle.desktop +%{tde_datadir}/apps/katepart/syntax/logohighlightstyle* +%{tde_datadir}/apps/kturtle/ +%{tde_datadir}/config.kcfg/kturtle.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kturtle.png +%{tde_tdedocdir}/HTML/en/kturtle/ + +%post -n trinity-kturtle +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kturtle +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kverbos +Summary: Spanish verb form study application for Trinity +Group: Amusements/Games +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kverbos +Kverbos allows the user to learn the forms of Spanish verbs. The +program suggests a verb and a time and the user enters the different +verb forms. The program corrects the user input and gives feedback. + +The user can edit the list of the verbs that can be studied. The +program can build regular verb forms by itself. Irregular verb forms +have to be entered by the user. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kverbos +%defattr(-,root,root,-) +%{tde_bindir}/kverbos +%{tde_tdeappdir}/kverbos.desktop +%{tde_datadir}/apps/kverbos/ +%{tde_datadir}/config.kcfg/kverbos.kcfg +%{tde_datadir}/icons/crystalsvg/16x16/actions/kverbosuser.png +%{tde_datadir}/icons/hicolor/*/apps/kverbos.png +%{tde_datadir}/icons/hicolor/scalable/apps/kverbos.svgz +%{tde_tdedocdir}/HTML/en/kverbos/ + +%post -n trinity-kverbos +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kverbos +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kvoctrain +Summary: vocabulary trainer for Trinity +Group: Amusements/Games +Requires: perl +Requires: perl-libwww-perl +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kvoctrain +KVocTrain is a little utility to help you train your vocabulary when +you are trying to learn a foreign language. You can create your own +database with the words you need. It is intended as a replacement +for index (flash) cards. + +You probably remember flashcards from school. The teacher would +write the original expression on the front side of the card and the +translation on the back. Then look at the cards one after another. +If you knew the translation, you could put it away. If you failed, +you put it back to try again. + +KVocTrain is not intended to teach you grammar or other sophisticated +things. This is and probably will stay beyond the scope of this +application. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kvoctrain +%defattr(-,root,root,-) +%{tde_datadir}/config/kvoctrainrc +%{tde_bindir}/kvoctrain +%{tde_bindir}/spotlight2kvtml +%{tde_libdir}/libkvoctraincore.so.* +%{tde_tdeappdir}/kvoctrain.desktop +%{tde_datadir}/apps/kvoctrain/ +%{tde_datadir}/mimelnk/text/x-kvtml.desktop +%{tde_datadir}/config.kcfg/kvoctrain.kcfg +%{tde_datadir}/config.kcfg/languagesettings.kcfg +%{tde_datadir}/config.kcfg/presettings.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kvoctrain.png +%{tde_tdedocdir}/HTML/en/kvoctrain/ + +%post -n trinity-kvoctrain +/sbin/ldconfig || : +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kvoctrain +/sbin/ldconfig || : +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kwordquiz +Summary: flashcard and vocabulary learning program for Trinity +Group: Amusements/Games +Requires: trinity-tdeedu-data = %{version}-%{release} + +%description -n trinity-kwordquiz +KWordQuiz is a flashcard-based tool that helps you to master new +vocabularies. It may be a language or any other kind of terminology. + +KWordQuiz can open several types of vocabulary data. Supported are +kvtml files used by other KDE programs such as KVocTrain, wql files +used by WordQuiz for Windows, csv files with comma-separated text, +and xml.gz files created by Pauker (http://pauker.sourceforge.net). + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-kwordquiz +%defattr(-,root,root,-) +%{tde_datadir}/config/kwordquizrc +%{tde_bindir}/kwordquiz +%{tde_tdeappdir}/kwordquiz.desktop +%{tde_datadir}/apps/kwordquiz/ +%{tde_datadir}/config.kcfg/kwordquiz.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kwordquiz.png +%{tde_datadir}/icons/hicolor/scalable/apps/kwordquiz.svg +%{tde_datadir}/icons/crystalsvg/*/mimetypes/kwordquiz_doc.png +%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/kwordquiz_doc.svg +%{tde_datadir}/mimelnk/application/x-kwordquiz.desktop +%{tde_tdedocdir}/HTML/en/kwordquiz/ + +%post -n trinity-kwordquiz +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kwordquiz +for i in hicolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-libtdeedu3 +Summary: library for use with Trinity educational apps +Group: Environment/Libraries + +%description -n trinity-libtdeedu3 +The KDE-based library libtdeedu is used with educational +applications. It currently provides support for data plotting and +vocabulary items (including a parser for kvtml vocabulary files). + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-libtdeedu3 +%defattr(-,root,root,-) +%{tde_libdir}/libextdate.so.* +%{tde_libdir}/lib[kt]deeducore.so.* +%{tde_libdir}/lib[kt]deeduplot.so.* +%{tde_libdir}/lib[kt]deeduui.so.* + +%post -n trinity-libtdeedu3 +/sbin/ldconfig || : + +%postun -n trinity-libtdeedu3 +/sbin/ldconfig || : + +########## + +%package -n trinity-libtdeedu-devel +Summary: development files for Trinity educational library +Group: Development/Libraries +Requires: trinity-libtdeedu3 = %{version}-%{release} + +%description -n trinity-libtdeedu-devel +The KDE-based library libtdeedu is used with educational +applications. It currently provides support for data plotting and +vocabulary items (including a parser for kvtml vocabulary files). + +Development files for libtdeedu are included in this package. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-libtdeedu-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/lib[kt]deedu/ +%{tde_libdir}/libextdate.la +%{tde_libdir}/libextdate.so +%{tde_libdir}/lib[kt]deeducore.la +%{tde_libdir}/lib[kt]deeducore.so +%{tde_libdir}/lib[kt]deeduui.la +%{tde_libdir}/lib[kt]deeduui.so +%{tde_libdir}/lib[kt]deeduplot.la +%{tde_libdir}/lib[kt]deeduplot.so + +%post -n trinity-libtdeedu-devel +/sbin/ldconfig || : + +%postun -n trinity-libtdeedu-devel +/sbin/ldconfig || : + + +########## + +%package -n trinity-libkiten1 +Summary: library for Kiten Japanese reference/study tool +Group: Environment/Libraries +#Requires: kanjidic + +%description -n trinity-libkiten1 +Kiten is a Japanese reference/study tool for KDE. The library +libkiten contains portions of Kiten that may be useful for other +applications. These portions include dictionary, character lookup +and widget classes. + +This package contains the libkiten library along with supporting +data, such as Japanese language data files and GUI resource files. +For further information, see the kiten package. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-libkiten1 +%defattr(-,root,root,-) +%{tde_libdir}/libkiten.so.* +%{tde_datadir}/apps/kiten/ +%{tde_datadir}/config.kcfg/kiten.kcfg +%{tde_datadir}/icons/crystalsvg/16x16/actions/kanjidic.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/edit_add.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/edit_remove.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/kanjidic.png +%{tde_datadir}/icons/locolor/16x16/actions/edit_add.png +%{tde_datadir}/icons/locolor/16x16/actions/edit_remove.png + +%post -n trinity-libkiten1 +for i in crystalsvg locolor locolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +/sbin/ldconfig || : + +%postun -n trinity-libkiten1 +for i in crystalsvg locolor locolor ; do + touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : + gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : +done +/sbin/ldconfig || : + +########## + +%package -n trinity-libkiten-devel +Summary: development files for Kiten library +Group: Development/Libraries +Requires: trinity-libkiten1 = %{version}-%{release} +Requires: trinity-tdelibs-devel >= %{version} + +%description -n trinity-libkiten-devel +Kiten is a Japanese reference/study tool for KDE. The library +libkiten contains portions of Kiten that may be useful for other +applications. These portions include dictionary, character lookup +and widget classes. + +Development files for libkiten are included in this package. For +further information, see the kiten package. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-libkiten-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/libkiten/ +%{tde_libdir}/libkiten.la +%{tde_libdir}/libkiten.so + +%post -n trinity-libkiten-devel +/sbin/ldconfig || : + +%postun -n trinity-libkiten-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-indi +Summary: Instrument Neutral Distributed Interface for astronomical devices +Group: Amusements/Games + +%description -n trinity-indi +INDI is an Instrument Neutral Distributed Interface control protocol for +astronomical devices, which provides a framework that decouples low level +hardware drivers from high level front end clients. Clients that use the +device drivers are completely unaware of the device capabilities and +communicate with the device drivers and build a completely dynamic GUI +based on the services provided by the device. + +This package is part of Trinity, as a component of the TDE education module. + +%files -n trinity-indi +%defattr(-,root,root,-) +%{tde_bindir}/apmount +%{tde_bindir}/apogee_ppi +%{tde_bindir}/celestrongps +%{tde_bindir}/fliccd +%{tde_bindir}/fliwheel +%{tde_bindir}/indiserver +%{tde_bindir}/lx200_16 +%{tde_bindir}/lx200autostar +%{tde_bindir}/lx200basic +%{tde_bindir}/lx200classic +%{tde_bindir}/lx200generic +%{tde_bindir}/lx200gps +%{tde_bindir}/meade_lpi +%{tde_bindir}/sbigccd +%{tde_bindir}/skycommander +%{tde_bindir}/temma +%{tde_bindir}/v4ldriver +%{tde_bindir}/v4lphilips + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: trinity-libtdeedu-devel = %{version}-%{release} +Requires: trinity-libkiten-devel = %{version}-%{release} + +Obsoletes: trinity-kdeedu-devel < %{version}-%{release} +Provides: trinity-kdeedu-devel = %{version}-%{release} + +%description devel +%{summary}. + +%files devel +%defattr(-,root,root,-) +%doc libkdeedu/AUTHORS libkdeedu/README +# kstars +%{tde_tdeincludedir}/kstarsinterface.h +%{tde_tdeincludedir}/simclockinterface.h +# kvoctrain +%{tde_libdir}/libkvoctraincore.la +%{tde_libdir}/libkvoctraincore.so + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +# Do not build against any "/usr" installed KDE +export KDEDIR=%{tde_prefix} + +# Specific path for RHEL4 +if [ -d "/usr/X11R6" ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" + export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --enable-new-ldflags \ + --disable-dependency-tracking \ + --disable-rpath \ +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} + --enable-kig-python-scripting \ +%else + --disable-kig-python-scripting \ +%endif + --disable-debug \ + --disable-warnings \ + --enable-final \ + --enable-closure \ + --enable-ocamlsolver \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{_smp_mflags} \ + OCAMLLIB=$(ocamlc -where) \ + FACILELIB=$(ocamlc -where) + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# locale's +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi +done +fi + + +%clean +%__rm -rf %{buildroot} + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 +- Initial release for TDE 3.5.13.2 diff --git a/redhat/tdeedu/trinity-kdeedu-3.5.12.spec b/redhat/tdeedu/trinity-kdeedu-3.5.12.spec deleted file mode 100644 index 744c4c8e4..000000000 --- a/redhat/tdeedu/trinity-kdeedu-3.5.12.spec +++ /dev/null @@ -1,235 +0,0 @@ -# Default version for this component -%if "%{?version}" == "" -%define version 3.5.12 -%endif -%define release 2 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_includedir %{_includedir}/kde -%define tde_libdir %{_libdir}/kde3 - - -Name: trinity-kdeedu -Summary: Educational/Edutainment applications -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} - -License: GPLv2 -Group: Amusements/Games - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: kdeedu-%{version}.tar.gz - -Provides: kdeedu3 = %{version}-%{release} - -Requires(post): /sbin/ldconfig -Requires(postun): /sbin/ldconfig - -Requires: %{name}-libs = %{version}-%{release} - -BuildRequires: desktop-file-utils -BuildRequires: trinity-kdelibs-devel -BuildRequires: python-devel python -BuildRequires: boost-devel -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 -BuildRequires: ocaml(compiler) -%else -BuildRequires: ocaml -%endif -#BuildRequires: ocaml-facile-devel - - -%description -Educational/Edutainment applications, including: -* blinken: Simon Says Game -* kalzium: Periodic Table of Elements -* kanagram: Letter Order Game -* kbruch: Exercise Fractions -* keduca: Tests and Exams -* kgeography: Geography Trainer -* khangman: Hangman Game -* kig: Interactive Geometry -* kiten: Japanese Reference/Study Tool -* klatin: Latin Reviser -* klettres: French alphabet tutor -* kmplot: Mathematical Function Plotter -* kpercentage: Excersie Percentages -* kstars: Desktop Planetarium -* ktouch: Touch Typing Tutor -* kturtle: Logo Programming Environment -* kverbos: Study Spanish Verbforms -* kvoctrain: Vocabulary Trainer -* kwordquiz: Vocabulary Trainer - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Provides: kdeedu3-devel = %{version}-%{release} -Requires: %{name}-libs = %{version}-%{release} -%description devel -%{summary}. - -%package libs -Summary: %{name} runtime libraries -Group: System Environment/Libraries -Requires: trinity-kdelibs -# include to be paranoid, installing libs-only is still mostly untested -- Rex -Requires: %{name} = %{version}-%{release} -%description libs -%{summary}. - - -%prep -%setup -q -n kdeedu - -%if 0%{?rhel} > 0 -rm -rf doc/kgeography kgeography -perl -pi -e "s|kgeography||" subdirs -%endif - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -# Fix link with kparts -export CXXFLAGS="${CXXFLAGS} -lkparts" - -%if 0%{?fedora} -export CXXFLAGS="${CXXFLAGS} -fpermissive" -%endif - -%configure \ - --enable-new-ldflags \ - --disable-dependency-tracking \ - --disable-rpath \ -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 - --enable-kig-python-scripting \ -%else - --disable-kig-python-scripting \ -%endif - --disable-debug \ - --disable-warnings \ - --enable-final \ - --enable-closure \ - --includedir=%{_includedir}/kde \ - --disable-ocamlsolver \ - --with-extra-includes=%{_includedir}/tqt - - -%__make \ - OCAMLLIB=$(ocamlc -where) FACILELIB=$(ocamlc -where) - - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# locale's -%find_lang %{name} || touch %{name}.lang -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common - done - popd - fi -done -fi - -# rpmdocs -for dir in blinken k* ; do - for file in AUTHORS ChangeLog README TODO ; do - test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file" - done -done - - -%clean -%__rm -rf %{buildroot} - - -%post -for i in crystalsvg hicolor locolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database >& /dev/null ||: - -%postun -for i in crystalsvg hicolor locolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database >& /dev/null ||: - -%post libs -/sbin/ldconfig - -%postun libs -/sbin/ldconfig - - -%files -f %{name}.lang -%defattr(-,root,root,-) -%doc README COPYING -%doc rpmdocs/* -%{_bindir}/* -%{_datadir}/applications/kde/* -# FIXME -%{_datadir}/applnk/Edutainment/ -%{_datadir}/apps/* -%config %{_datadir}/config*/* -%{_datadir}/mimelnk/*/* -%{_datadir}/icons/crystalsvg/*/*/* -%{_datadir}/icons/hicolor/*/*/* -%{_datadir}/icons/locolor/*/*/* -%{_datadir}/services/* -%{tde_libdir}/* - -%files libs -%defattr(-,root,root,-) -%{_libdir}/lib*.so.* -%{_libdir}/lib*.la - -%files devel -%defattr(-,root,root,-) -%doc libkdeedu/AUTHORS libkdeedu/README -%{tde_includedir}/* -%{_libdir}/lib*.so - - -%changelog -* Mon Sep 19 2011 Francois Andriot - 3.5.12-2 -- Add support for RHEL5 - -* Sun Sep 11 2011 Francois Andriot - 3.5.12-1 -- Initial build for RHEL 6 -- Spec file based on Fedora 8 "kdeedu-3.5.10-1" -- Import to GIT diff --git a/redhat/tdeedu/trinity-kdeedu-3.5.13.1.spec b/redhat/tdeedu/trinity-kdeedu-3.5.13.1.spec deleted file mode 100644 index 40e829b90..000000000 --- a/redhat/tdeedu/trinity-kdeedu-3.5.13.1.spec +++ /dev/null @@ -1,1400 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -# Required for Mageia 2: removes the ldflag '--no-undefined' -%define _disable_ld_no_undefined 1 - -Name: trinity-tdeedu -Summary: Educational/Edutainment applications -Version: 3.5.13.1 -Release: 1%{?dist}%{?_variant} - -License: GPLv2 -Group: Amusements/Games - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: kdeedu-3.5.13.1.tar.gz - -BuildRequires: autoconf automake libtool m4 -BuildRequires: desktop-file-utils -BuildRequires: trinity-kdelibs-devel -BuildRequires: python-devel python -BuildRequires: boost-devel -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 -BuildRequires: ocaml(compiler) -%else -BuildRequires: ocaml -%endif - -Obsoletes: trinity-kdeedu < %{version}-%{release} -Provides: trinity-kdeedu = %{version}-%{release} -Obsoletes: trinity-kdeedu-libs < %{version}-%{release} -Provides: trinity-kdeedu-libs = %{version}-%{release} - -# Meta-package -Requires: %{name}-data = %{version}-%{release} -Requires: trinity-blinken = %{version}-%{release} -Requires: trinity-kalzium = %{version}-%{release} -Requires: trinity-kalzium-data = %{version}-%{release} -Requires: trinity-kanagram = %{version}-%{release} -Requires: trinity-kbruch = %{version}-%{release} -Requires: trinity-keduca = %{version}-%{release} -Requires: trinity-kgeography = %{version}-%{release} -Requires: trinity-kgeography-data = %{version}-%{release} -Requires: trinity-khangman = %{version}-%{release} -Requires: trinity-kig = %{version}-%{release} -Requires: trinity-kiten = %{version}-%{release} -Requires: trinity-klatin = %{version}-%{release} -Requires: trinity-klettres = %{version}-%{release} -Requires: trinity-klettres-data = %{version}-%{release} -Requires: trinity-kmplot = %{version}-%{release} -Requires: trinity-kpercentage = %{version}-%{release} -Requires: trinity-kstars = %{version}-%{release} -Requires: trinity-kstars-data = %{version}-%{release} -Requires: trinity-ktouch = %{version}-%{release} -Requires: trinity-kturtle = %{version}-%{release} -Requires: trinity-kverbos = %{version}-%{release} -Requires: trinity-kvoctrain = %{version}-%{release} -Requires: trinity-kwordquiz = %{version}-%{release} -Requires: trinity-libtdeedu3 = %{version}-%{release} -Requires: trinity-libkiten1 = %{version}-%{release} -Requires: trinity-indi = %{version}-%{release} - - -%description -Educational/Edutainment applications, including: -* blinken: Simon Says Game -* kalzium: Periodic Table of Elements -* kanagram: Letter Order Game -* kbruch: Exercise Fractions -* keduca: Tests and Exams -* kgeography: Geography Trainer -* khangman: Hangman Game -* kig: Interactive Geometry -* kiten: Japanese Reference/Study Tool -* klatin: Latin Reviser -* klettres: French alphabet tutor -* kmplot: Mathematical Function Plotter -* kpercentage: Excersie Percentages -* kstars: Desktop Planetarium -* ktouch: Touch Typing Tutor -* kturtle: Logo Programming Environment -* kverbos: Study Spanish Verbforms -* kvoctrain: Vocabulary Trainer -* kwordquiz: Vocabulary Trainer - -%files -%defattr(-,root,root,-) -%doc COPYING README - -########## - -%package data -Summary: shared data for Trinity educational applications -Group: Amusements/Games - -%description data -This package contains shared data necessary for running the -educational applications provided with KDE (the K Desktop -Environment). - -This package is part of Trinity, as a component of the KDE education module. - -%files data -%defattr(-,root,root,-) -%{tde_datadir}/applnk/Edutainment/Languages/.directory -%{tde_datadir}/applnk/Edutainment/Miscellaneous/.directory -%{tde_datadir}/applnk/Edutainment/Mathematics/.directory -%{tde_datadir}/applnk/Edutainment/Science/.directory -%{tde_datadir}/applnk/Edutainment/Tools/.directory - -########## - -%package -n trinity-blinken -Summary: Trinity version of the Simon Says electronic memory game -Group: Amusements/Games -#Requires: sj-delphine-fonts -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-blinken -Blinken is based on an electronic game released in 1978, which -challenges players to remember sequences of increasing length. On -the face of the device, there are 4 different color buttons, each -with its own distinctive sound. These buttons light up randomly, -creating the sequence that the player must then recall. If the -player is successful in remembering the sequence of lights in the -correct order, they advance to the next stage, where an identical -sequence with one extra step is presented. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-blinken -%defattr(-,root,root,-) -%{tde_bindir}/blinken -%{tde_tdeappdir}/blinken.desktop -%{tde_datadir}/apps/blinken/ -%{tde_datadir}/config.kcfg/blinken.kcfg -%{tde_datadir}/icons/hicolor/*/apps/blinken.png -%{tde_datadir}/icons/hicolor/scalable/apps/blinken.svgz -%{tde_tdedocdir}/HTML/en/blinken/ - -%post -n trinity-blinken -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-blinken -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kalzium -Summary: chemistry teaching tool for Trinity -Group: Amusements/Games -Requires: trinity-kalzium-data = %{version}-%{release} -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kalzium -Kalzium is a program which shows you the Periodic System of Elements -(PSE). You can use Kalzium to search for information about the -elements or to learn facts about the PSE. - -Kalzium provides you with all kinds of information about the PSE. -You can look up lots of information about the elements and also use -visualisations to show them. - -You can visualise the Periodic Table of the Elements by blocks, -groups, acidic behavior or different states of matter. You can also -plot data for a range of elements (weight, mean weight, density, IE1, -IE2, electronegativity), and you can go back in time to see what -elements were known at a given date. In addition, on platforms where -OCaml supports native code generation, Kalzium includes a chemical -equation solver. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-kalzium -%defattr(-,root,root,-) -%{tde_bindir}/kalzium -%{tde_tdeappdir}/kalzium.desktop -%{tde_datadir}/config.kcfg/kalzium.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kalzium.png -%{tde_datadir}/icons/hicolor/scalable/apps/kalzium.svgz -%{tde_tdedocdir}/HTML/en/kalzium/ - -%post -n trinity-kalzium -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kalzium -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kalzium-data -Summary: data files for Kalzium -Group: Amusements/Games - -%description -n trinity-kalzium-data -This package contains architecture-independent data files for -Kalzium, the KDE periodic table application. This includes pictures -of various chemical equipment and of samples of several elements, in -addition to the actual chemical data. - -See the kalzium package for further information. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-kalzium-data -%defattr(-,root,root,-) -%{tde_datadir}/apps/kalzium/ - -########## - -%package -n trinity-kanagram -Summary: letter order game for Trinity -Group: Amusements/Games -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kanagram -KAnagram is a game that is based on the word/letter puzzles that the -author played as a child. A word is picked at random and displayed -with its letters in a messed order, with difficulty dependent on the -chosen level. You have an unlimited number of attempts, and scores -are kept. - -It is a very simply constructed game, with 3 difficulty levels of -play. It is fully customizable, allowing you to write in your own -words and set your own 'look and feel' of the game. It is aimed for -children aged 10+ because of the difficulty, but of course everyone -is welcome to try. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-kanagram -%defattr(-,root,root,-) -%{tde_bindir}/kanagram -%{tde_tdeappdir}/kanagram.desktop -%{tde_datadir}/apps/kanagram/ -%{tde_datadir}/config.kcfg/kanagram.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kanagram.png -%{tde_datadir}/icons/hicolor/scalable/apps/kanagram.svgz -%{tde_tdedocdir}/HTML/en/kanagram/ - -%post -n trinity-kanagram -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kanagram -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kbruch -Summary: fraction calculation teaching tool for Trinity -Group: Amusements/Games -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kbruch -KBruch is a small program to practice calculating with fractions. -Different exercises are provided for this purpose. The program -checks the user's input and gives feedback. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-kbruch -%defattr(-,root,root,-) -%{tde_bindir}/kbruch -%{tde_datadir}/apps/kbruch/kbruchui.rc -%{tde_tdeappdir}/kbruch.desktop -%{tde_datadir}/config.kcfg/kbruch.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kbruch.png -%{tde_datadir}/icons/hicolor/scalable/apps/kbruch.svgz -%{tde_datadir}/icons/crystalsvg/*/actions/kbruch_*.png -%{tde_tdedocdir}/HTML/en/kbruch/ - -%post -n trinity-kbruch -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kbruch -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-keduca -Summary: interactive form-based tests for Trinity -Group: Amusements/Games -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-keduca -KEduca is a flash-card application which allows you to make -interactive form-based tests. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-keduca -%defattr(-,root,root,-) -%{tde_bindir}/keduca -%{tde_bindir}/keducabuilder -%{tde_tdelibdir}/libkeducapart.la -%{tde_tdelibdir}/libkeducapart.so -%{tde_tdeappdir}/keduca.desktop -%{tde_tdeappdir}/keducabuilder.desktop -%{tde_datadir}/apps/keduca/ -%{tde_datadir}/config.kcfg/keduca.kcfg -%{tde_datadir}/icons/hicolor/*/apps/keduca.png -%{tde_datadir}/mimelnk/application/x-edu.desktop -%{tde_datadir}/mimelnk/application/x-edugallery.desktop -%{tde_datadir}/services/keduca_part.desktop -%{tde_tdedocdir}/HTML/en/keduca/ - -%post -n trinity-keduca -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-keduca -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kgeography -Summary: Geography learning tool for Trinity -Group: Amusements/Games -Requires: trinity-kgeography-data = %{version}-%{release} -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kgeography -KGeography contains maps allowing you to learn various countries or -the political divisions of several countries. It has several modes, -including a map browser and games involving the names, capitals, or -flags of the map divisions. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-kgeography -%defattr(-,root,root,-) -%{tde_bindir}/kgeography -%{tde_tdeappdir}/kgeography.desktop -%{tde_datadir}/config.kcfg/kgeography.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/kgeography.png -%{tde_datadir}/icons/crystalsvg/scalable/apps/kgeography.svgz -%{tde_datadir}/icons/hicolor/*/apps/kgeography.png -%{tde_tdedocdir}/HTML/en/kgeography - -%post -n trinity-kgeography -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kgeography -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kgeography-data -Summary: data files for KGeography -Group: Amusements/Games - -%description -n trinity-kgeography-data -This package contains architecture-independent data files for -KGeography, the geography learning tool for KDE. This includes map -and flag images. - -See the kgeography package for further information. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-kgeography-data -%defattr(-,root,root,-) -%{tde_datadir}/apps/kgeography/ - -########## - -%package -n trinity-khangman -Summary: the classical hangman game for Trinity -Group: Amusements/Games -#Requires: dustin-dustismo-sans-fonts -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-khangman -KHangMan is a game based on the well known hangman game. It is aimed -for children aged 6 and above. It has four levels of difficulty: -Animals (animals words), Easy, Medium and Hard. - -A word is picked at random and the letters are hidden. You must -guess the word by trying one letter after another. Each time you -guess a wrong letter, a picture of a hangman is drawn. You must -guess the word before getting hanged! You have 10 tries. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-khangman -%defattr(-,root,root,-) -%{tde_datadir}/config/khangmanrc -%{tde_bindir}/khangman -%{tde_tdeappdir}/khangman.desktop -%{tde_datadir}/apps/khangman/ -%{tde_datadir}/config.kcfg/khangman.kcfg -%{tde_datadir}/icons/hicolor/*/apps/khangman.png -%{tde_datadir}/icons/hicolor/scalable/apps/khangman.svgz -%{tde_tdedocdir}/HTML/en/khangman/ - -%post -n trinity-khangman -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-khangman -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kig -Summary: interactive geometry program for KDE -Group: Amusements/Games -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kig -Kig is an application for interactive geometry. It is intended to -serve two purposes: - -- to allow students to interactively explore mathematical figures and - concepts using the computer; -- to serve as a WYSIWYG tool for drawing mathematical figures and - including them in other documents. - -With this program you can do geometry on a computer just like you -would on a blackboard in a classroom. However, the program allows -you to move and change parts of a geometrical drawing so that you can -see how the other parts change as a result. - -Kig supports loci and user-defined macros. It also supports imports -and exports to/from foreign file formats including Cabri, Dr. Geo, -KGeo, KSeg and XFig. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-kig -%defattr(-,root,root,-) -%{tde_datadir}/config/magic/cabri.magic -%{tde_datadir}/config/magic/drgeo.magic -%{tde_bindir}/kig -%{tde_bindir}/pykig.py* -%{tde_tdelibdir}/kfile_drgeo.la -%{tde_tdelibdir}/kfile_drgeo.so -%{tde_tdelibdir}/kfile_kig.la -%{tde_tdelibdir}/kfile_kig.so -%{tde_tdelibdir}/libkigpart.la -%{tde_tdelibdir}/libkigpart.so -%{tde_tdeappdir}/kig.desktop -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%{tde_datadir}/apps/katepart/syntax/python-kig.xml -%endif -%{tde_datadir}/apps/kig/ -%{tde_datadir}/icons/crystalsvg/*/mimetypes/kig_doc.png -%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/kig_doc.svgz -%{tde_datadir}/icons/hicolor/*/apps/kig.png -%{tde_datadir}/icons/hicolor/scalable/apps/kig.svgz -%{tde_datadir}/mimelnk/application/x-cabri.desktop -%{tde_datadir}/mimelnk/application/x-drgeo.desktop -%{tde_datadir}/mimelnk/application/x-kig.desktop -%{tde_datadir}/mimelnk/application/x-kgeo.desktop -%{tde_datadir}/mimelnk/application/x-kseg.desktop -%{tde_datadir}/services/kfile_drgeo.desktop -%{tde_datadir}/services/kfile_kig.desktop -%{tde_datadir}/services/kig_part.desktop -%{tde_tdedocdir}/HTML/en/kig/ - -%post -n trinity-kig -for i in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kig -for i in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kiten -Summary: Japanese reference/study tool for Trinity -Group: Amusements/Games -Requires: trinity-tdeedu-data = %{version}-%{release} -#Requires: ttf-kochi-gothic | ttf-kochi-mincho - -%description -n trinity-kiten -Kiten is a Japanese reference and study tool for KDE. It is an -application with multiple functions. Firstly, it is a convenient -English to Japanese and Japanese to English dictionary. Secondly, it -is a Kanji dictionary, with multiple ways to look up specific -characters. Thirdly, it is a tool to help you learn Kanji. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-kiten -%defattr(-,root,root,-) -%{tde_bindir}/kiten -%{tde_bindir}/kitengen -%{tde_tdeappdir}/kiten.desktop -%{tde_tdedocdir}/HTML/en/kiten/ -%{tde_datadir}/icons/hicolor/*/apps/kiten.png -%{tde_datadir}/icons/hicolor/scalable/apps/kiten.svgz - -%post -n trinity-kiten -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kiten -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-klatin -Summary: application to help revise/teach Latin -Group: Amusements/Games -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-klatin -KLatin is a program to help revise Latin. There are three "sections" -in which different aspects of the language can be revised. These are -the vocabulary, grammar and verb testing sections. In addition there -is a set of revision notes that can be used for self-guided revision. - -In the vocabulary section an XML file is loaded containing various -words and their local language translations. KLatin asks you what -each of these words translate into. The questions take place in a -multiple-choice environment. - -In the grammar and verb sections KLatin asks for a particular part of -a noun or a verb, such as the "ablative singular", or the "1st person -indicative passive plural", and is not multiple choice. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-klatin -%defattr(-,root,root,-) -%{tde_bindir}/klatin -%{tde_tdeappdir}/klatin.desktop -%{tde_datadir}/apps/klatin/ -%{tde_datadir}/config.kcfg/klatin.kcfg -%{tde_datadir}/icons/hicolor/*/apps/klatin.png -%{tde_datadir}/icons/hicolor/scalable/apps/klatin.svgz -%{tde_tdedocdir}/HTML/en/klatin/ - -%post -n trinity-klatin -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-klatin -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-klettres -Summary: foreign alphabet tutor for Trinity -Group: Amusements/Games -Requires: trinity-klettres-data = %{version}-%{release} -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-klettres -KLettres is an application specially designed to help the user to -learn the alphabet in a new language and then to learn to read simple -syllables. The user can be a young child aged from two and a half or -an adult that wants to learn the basics of a foreign language. - -Seven languages are currently available: Czech, Danish, Dutch, -English, French, Italian and Slovak. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-klettres -%defattr(-,root,root,-) -%{tde_datadir}/config/klettresrc -%{tde_bindir}/klettres -%{tde_tdeappdir}/klettres.desktop -%{tde_datadir}/config.kcfg/klettres.kcfg -%{tde_datadir}/icons/hicolor/*/apps/klettres.png -%{tde_datadir}/icons/hicolor/scalable/apps/klettres.svgz -%{tde_tdedocdir}/HTML/en/klettres/ - -%post -n trinity-klettres -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-klettres -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-klettres-data -Summary: data files for KLettres foreign alphabet tutor -Group: Amusements/Games - -%description -n trinity-klettres-data -This package contains architecture-independent data files for -KLettres, the foreign alphabet tutor for KDE. This includes sound -files and graphics. - -See the klettres package for further information. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-klettres-data -%defattr(-,root,root,-) -%{tde_datadir}/apps/klettres/ - -########## - -%package -n trinity-kmplot -Summary: mathematical function plotter for Trinity -Group: Amusements/Games -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kmplot -KmPlot is a mathematical function plotter for KDE. It has a powerful -built-in parser. You can plot different functions simultaneously and -combine them to build new functions. - -KmPlot supports parametric functions and functions in polar -coordinates. Several grid modes are supported. Plots may be printed -with high precision in the correct scale. - -KmPlot also provides some numerical and visual features, like filling -and calculating the area between the plot and the first axis, finding -maximum and minimum values, changing function parameters dynamically -and plotting derivatives and integral functions. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-kmplot -%defattr(-,root,root,-) -%{tde_bindir}/kmplot -%{tde_tdelibdir}/libkmplotpart.la -%{tde_tdelibdir}/libkmplotpart.so -%{tde_tdeappdir}/kmplot.desktop -%{tde_datadir}/apps/kmplot/ -%{tde_datadir}/config.kcfg/kmplot.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kmplot.png -%{tde_datadir}/icons/hicolor/scalable/apps/kmplot.svgz -%{tde_datadir}/mimelnk/application/x-kmplot.desktop -%{tde_datadir}/services/kmplot_part.desktop -%{tde_tdedocdir}/HTML/en/kmplot/ - -%post -n trinity-kmplot -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kmplot -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kpercentage -Summary: percentage calculation teaching tool for Trinity -Group: Amusements/Games -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kpercentage -KPercentage is a small math application that will help pupils to -improve their skills in calculating percentages. - -There is a special training section for the three basic tasks. -Finally the pupil can select a random mode, in which all three tasks -are mixed randomly. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-kpercentage -%defattr(-,root,root,-) -%{tde_bindir}/kpercentage -%{tde_tdeappdir}/kpercentage.desktop -%{tde_datadir}/apps/kpercentage/ -%{tde_datadir}/icons/hicolor/*/apps/kpercentage.png -%{tde_datadir}/icons/hicolor/scalable/apps/kpercentage.svgz -%{tde_tdedocdir}/HTML/en/kpercentage/ - -%post -n trinity-kpercentage -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kpercentage -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kstars -Summary: desktop planetarium for Trinity -Group: Amusements/Games -Requires: trinity-tdeedu-data = %{version}-%{release} -Requires: trinity-kstars-data = %{version}-%{release} -Requires: trinity-indi = %{version}-%{release} - -%description -n trinity-kstars -KStars is a graphical desktop planetarium for KDE. It depicts an -accurate simulation of the night sky, including stars, -constellations, star clusters, nebulae, galaxies, all planets, the -Sun, the Moon, comets and asteroids. You can see the sky as it -appears from any location on Earth, on any date. - -The user interface is highly intuitive and flexible. The display can -be panned and zoomed with the mouse, and you can easily identify -objects and track their motion across the sky. KStars includes many -powerful features, yet the interface is clean and simple and fun to -use. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-kstars -%defattr(-,root,root,-) -%{tde_datadir}/config/kstarsrc -%{tde_bindir}/kstars -%{tde_tdeappdir}/kstars.desktop -%{tde_datadir}/config.kcfg/kstars.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kstars.png -%{tde_datadir}/icons/hicolor/scalable/apps/kstars.svgz -%{tde_tdedocdir}/HTML/en/kstars/ - -%post -n trinity-kstars -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kstars -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kstars-data -Summary: data files for KStars desktop planetarium -Group: Amusements/Games - -%description -n trinity-kstars-data -This package contains architecture-independent data files for KStars, -the graphical desktop planetarium for KDE. This includes star -catalogues and astronomical images. - -See the kstars package for further information. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-kstars-data -%defattr(-,root,root,-) -%{tde_datadir}/apps/kstars/ - -########## - -%package -n trinity-ktouch -Summary: touch typing tutor for Trinity -Group: Amusements/Games -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-ktouch -KTouch is a program for learning touch typing - it helps you learn to -type on a keyboard quickly and correctly. Every finger has its place -on the keyboard with associated keys to press. - -KTouch helps you learn to touch type by providing you with text to -train on, and adjusts to different levels depending on how good you -are. It can display which key to press next, and the correct finger -to use. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-ktouch -%defattr(-,root,root,-) -%{tde_bindir}/ktouch -%{tde_tdeappdir}/ktouch.desktop -%{tde_datadir}/apps/ktouch/ -%{tde_datadir}/config.kcfg/ktouch.kcfg -%{tde_datadir}/icons/hicolor/*/apps/ktouch.png -%{tde_datadir}/icons/hicolor/scalable/apps/ktouch.svgz -%{tde_tdedocdir}/HTML/en/ktouch/ - -%post -n trinity-ktouch -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ktouch -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kturtle -Summary: educational Logo programming environment -Group: Amusements/Games -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kturtle -KTurtle is an educational programming environment using the Logo -programming language. It tries to make programming as easy and -accessible as possible. This makes KTurtle suitable for teaching -kids the basics of mathematics, geometry and programming. - -The commands used to program are in the style of the Logo programming -language. The unique feature of Logo is that the commands are often -translated into the speaking language of the programmer. - -KTurtle is named after "the turtle" that plays a central role in the -programming environment. The user programs the turtle, using the -Logo commands, to draw a picture on the canvas. - -Note that this version of Logo is only focused on the educational -qualities of the programming language and will not try to suit -professional programmers' needs. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-kturtle -%defattr(-,root,root,-) -%{tde_bindir}/kturtle -%{tde_tdeappdir}/kturtle.desktop -%{tde_datadir}/apps/katepart/syntax/logohighlightstyle* -%{tde_datadir}/apps/kturtle/ -%{tde_datadir}/config.kcfg/kturtle.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kturtle.png -%{tde_tdedocdir}/HTML/en/kturtle/ - -%post -n trinity-kturtle -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kturtle -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kverbos -Summary: Spanish verb form study application for Trinity -Group: Amusements/Games -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kverbos -Kverbos allows the user to learn the forms of Spanish verbs. The -program suggests a verb and a time and the user enters the different -verb forms. The program corrects the user input and gives feedback. - -The user can edit the list of the verbs that can be studied. The -program can build regular verb forms by itself. Irregular verb forms -have to be entered by the user. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-kverbos -%defattr(-,root,root,-) -%{tde_bindir}/kverbos -%{tde_tdeappdir}/kverbos.desktop -%{tde_datadir}/apps/kverbos/ -%{tde_datadir}/config.kcfg/kverbos.kcfg -%{tde_datadir}/icons/crystalsvg/16x16/actions/kverbosuser.png -%{tde_datadir}/icons/hicolor/*/apps/kverbos.png -%{tde_datadir}/icons/hicolor/scalable/apps/kverbos.svgz -%{tde_tdedocdir}/HTML/en/kverbos/ - -%post -n trinity-kverbos -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kverbos -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kvoctrain -Summary: vocabulary trainer for Trinity -Group: Amusements/Games -Requires: perl -Requires: perl-libwww-perl -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kvoctrain -KVocTrain is a little utility to help you train your vocabulary when -you are trying to learn a foreign language. You can create your own -database with the words you need. It is intended as a replacement -for index (flash) cards. - -You probably remember flashcards from school. The teacher would -write the original expression on the front side of the card and the -translation on the back. Then look at the cards one after another. -If you knew the translation, you could put it away. If you failed, -you put it back to try again. - -KVocTrain is not intended to teach you grammar or other sophisticated -things. This is and probably will stay beyond the scope of this -application. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-kvoctrain -%defattr(-,root,root,-) -%{tde_datadir}/config/kvoctrainrc -%{tde_bindir}/kvoctrain -%{tde_bindir}/spotlight2kvtml -%{tde_libdir}/libkvoctraincore.so.* -%{tde_tdeappdir}/kvoctrain.desktop -%{tde_datadir}/apps/kvoctrain/ -%{tde_datadir}/mimelnk/text/x-kvtml.desktop -%{tde_datadir}/config.kcfg/kvoctrain.kcfg -%{tde_datadir}/config.kcfg/languagesettings.kcfg -%{tde_datadir}/config.kcfg/presettings.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kvoctrain.png -%{tde_tdedocdir}/HTML/en/kvoctrain/ - -%post -n trinity-kvoctrain -/sbin/ldconfig || : -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kvoctrain -/sbin/ldconfig || : -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kwordquiz -Summary: flashcard and vocabulary learning program for Trinity -Group: Amusements/Games -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kwordquiz -KWordQuiz is a flashcard-based tool that helps you to master new -vocabularies. It may be a language or any other kind of terminology. - -KWordQuiz can open several types of vocabulary data. Supported are -kvtml files used by other KDE programs such as KVocTrain, wql files -used by WordQuiz for Windows, csv files with comma-separated text, -and xml.gz files created by Pauker (http://pauker.sourceforge.net). - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-kwordquiz -%defattr(-,root,root,-) -%{tde_datadir}/config/kwordquizrc -%{tde_bindir}/kwordquiz -%{tde_tdeappdir}/kwordquiz.desktop -%{tde_datadir}/apps/kwordquiz/ -%{tde_datadir}/config.kcfg/kwordquiz.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kwordquiz.png -%{tde_datadir}/icons/hicolor/scalable/apps/kwordquiz.svg -%{tde_datadir}/icons/crystalsvg/*/mimetypes/kwordquiz_doc.png -%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/kwordquiz_doc.svg -%{tde_datadir}/mimelnk/application/x-kwordquiz.desktop -%{tde_tdedocdir}/HTML/en/kwordquiz/ - -%post -n trinity-kwordquiz -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kwordquiz -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-libtdeedu3 -Summary: library for use with Trinity educational apps -Group: Environment/Libraries - -%description -n trinity-libtdeedu3 -The KDE-based library libtdeedu is used with educational -applications. It currently provides support for data plotting and -vocabulary items (including a parser for kvtml vocabulary files). - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-libtdeedu3 -%defattr(-,root,root,-) -%{tde_libdir}/libextdate.so.* -%{tde_libdir}/lib[kt]deeducore.so.* -%{tde_libdir}/lib[kt]deeduplot.so.* -%{tde_libdir}/lib[kt]deeduui.so.* - -%post -n trinity-libtdeedu3 -/sbin/ldconfig || : - -%postun -n trinity-libtdeedu3 -/sbin/ldconfig || : - -########## - -%package -n trinity-libtdeedu-devel -Summary: development files for Trinity educational library -Group: Development/Libraries -Requires: trinity-libtdeedu3 = %{version}-%{release} - -%description -n trinity-libtdeedu-devel -The KDE-based library libtdeedu is used with educational -applications. It currently provides support for data plotting and -vocabulary items (including a parser for kvtml vocabulary files). - -Development files for libtdeedu are included in this package. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-libtdeedu-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/lib[kt]deedu/ -%{tde_libdir}/libextdate.la -%{tde_libdir}/libextdate.so -%{tde_libdir}/lib[kt]deeducore.la -%{tde_libdir}/lib[kt]deeducore.so -%{tde_libdir}/lib[kt]deeduui.la -%{tde_libdir}/lib[kt]deeduui.so -%{tde_libdir}/lib[kt]deeduplot.la -%{tde_libdir}/lib[kt]deeduplot.so - -%post -n trinity-libtdeedu-devel -/sbin/ldconfig || : - -%postun -n trinity-libtdeedu-devel -/sbin/ldconfig || : - - -########## - -%package -n trinity-libkiten1 -Summary: library for Kiten Japanese reference/study tool -Group: Environment/Libraries -#Requires: kanjidic - -%description -n trinity-libkiten1 -Kiten is a Japanese reference/study tool for KDE. The library -libkiten contains portions of Kiten that may be useful for other -applications. These portions include dictionary, character lookup -and widget classes. - -This package contains the libkiten library along with supporting -data, such as Japanese language data files and GUI resource files. -For further information, see the kiten package. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-libkiten1 -%defattr(-,root,root,-) -%{tde_libdir}/libkiten.so.* -%{tde_datadir}/apps/kiten/ -%{tde_datadir}/config.kcfg/kiten.kcfg -%{tde_datadir}/icons/crystalsvg/16x16/actions/kanjidic.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/edit_add.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/edit_remove.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/kanjidic.png -%{tde_datadir}/icons/locolor/16x16/actions/edit_add.png -%{tde_datadir}/icons/locolor/16x16/actions/edit_remove.png - -%post -n trinity-libkiten1 -for i in crystalsvg locolor locolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -/sbin/ldconfig || : - -%postun -n trinity-libkiten1 -for i in crystalsvg locolor locolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -/sbin/ldconfig || : - -########## - -%package -n trinity-libkiten-devel -Summary: development files for Kiten library -Group: Development/Libraries -Requires: trinity-libkiten1 = %{version}-%{release} -Requires: trinity-tdelibs-devel >= %{version} - -%description -n trinity-libkiten-devel -Kiten is a Japanese reference/study tool for KDE. The library -libkiten contains portions of Kiten that may be useful for other -applications. These portions include dictionary, character lookup -and widget classes. - -Development files for libkiten are included in this package. For -further information, see the kiten package. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-libkiten-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/libkiten/ -%{tde_libdir}/libkiten.la -%{tde_libdir}/libkiten.so - -%post -n trinity-libkiten-devel -/sbin/ldconfig || : - -%postun -n trinity-libkiten-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-indi -Summary: Instrument Neutral Distributed Interface for astronomical devices -Group: Amusements/Games - -%description -n trinity-indi -INDI is an Instrument Neutral Distributed Interface control protocol for -astronomical devices, which provides a framework that decouples low level -hardware drivers from high level front end clients. Clients that use the -device drivers are completely unaware of the device capabilities and -communicate with the device drivers and build a completely dynamic GUI -based on the services provided by the device. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-indi -%defattr(-,root,root,-) -%{tde_bindir}/apmount -%{tde_bindir}/apogee_ppi -%{tde_bindir}/celestrongps -%{tde_bindir}/fliccd -%{tde_bindir}/fliwheel -%{tde_bindir}/indiserver -%{tde_bindir}/lx200_16 -%{tde_bindir}/lx200autostar -%{tde_bindir}/lx200basic -%{tde_bindir}/lx200classic -%{tde_bindir}/lx200generic -%{tde_bindir}/lx200gps -%{tde_bindir}/meade_lpi -%{tde_bindir}/sbigccd -%{tde_bindir}/skycommander -%{tde_bindir}/temma -%{tde_bindir}/v4ldriver -%{tde_bindir}/v4lphilips - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} -Requires: trinity-libtdeedu-devel = %{version}-%{release} -Requires: trinity-libkiten-devel = %{version}-%{release} - -Obsoletes: trinity-kdeedu-devel < %{version}-%{release} -Provides: trinity-kdeedu-devel = %{version}-%{release} - -%description devel -%{summary}. - -%files devel -%defattr(-,root,root,-) -%doc libkdeedu/AUTHORS libkdeedu/README -# kstars -%{tde_tdeincludedir}/kstarsinterface.h -%{tde_tdeincludedir}/simclockinterface.h -# kvoctrain -%{tde_libdir}/libkvoctraincore.la -%{tde_libdir}/libkvoctraincore.so - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - - -%prep -%setup -q -n kdeedu-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -# Do not build against any "/usr" installed KDE -export KDEDIR=%{tde_prefix} - -# Specific path for RHEL4 -if [ -d /usr/X11R6 ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" - export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%configure \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --enable-new-ldflags \ - --disable-dependency-tracking \ - --disable-rpath \ -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} - --enable-kig-python-scripting \ -%else - --disable-kig-python-scripting \ -%endif - --disable-debug \ - --disable-warnings \ - --enable-final \ - --enable-closure \ - --disable-ocamlsolver \ - --with-extra-includes=%{tde_includedir}/tqt - - -%__make %{_smp_mflags} \ - OCAMLLIB=$(ocamlc -where) \ - FACILELIB=$(ocamlc -where) - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# locale's -%find_lang %{name} || touch %{name}.lang -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common - done - popd - fi -done -fi - - -%clean -%__rm -rf %{buildroot} - - - -%changelog -* Sun Sep 30 2012 Francois Andriot - 3.5.13.1-1 -- Initial build for TDE 3.5.13.1 diff --git a/redhat/tdeedu/trinity-kdeedu-3.5.13.spec b/redhat/tdeedu/trinity-kdeedu-3.5.13.spec deleted file mode 100644 index 4a7000cdd..000000000 --- a/redhat/tdeedu/trinity-kdeedu-3.5.13.spec +++ /dev/null @@ -1,1429 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -# Required for Mageia 2: removes the ldflag '--no-undefined' -%define _disable_ld_no_undefined 1 - -Name: trinity-tdeedu -Summary: Educational/Edutainment applications -Version: 3.5.13 -Release: 4%{?dist}%{?_variant} - -License: GPLv2 -Group: Amusements/Games - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: kdeedu-%{version}.tar.gz - -# [kdeedu] Fix compilation with GCC 4.7 [Bug #958] -Patch1: kdeedu-3.5.13-fix_gcc47_compilation.patch -# [tdeedu] Fix kdeedu makefile glitch [Bug #785] [Commit #b83d0455] -Patch2: kdeedu-3.5.13-fix_makefile_glitch.patch -# [tdeedu] Fix kbruch/Makefile.am to eliminate build error. [Bug #786] [Commit #9d1871a4] -Patch3: kdeedu-3.5.13-fix_kbruch_build_error.patch -# [tdeedu] Fix linear alphabet string errors [Commit #0cd3b7ce] -Patch4: kdeedu-3.5.13-fix_linear_alphabet.patch - - - -# [kdeedu] Missing LDFLAGS causes FTBFS on Mageia 2 -Patch5: kdeedu-3.5.13-missing_ldflags.patch - - -#Requires(post): /sbin/ldconfig -#Requires(postun): /sbin/ldconfig - - -BuildRequires: autoconf automake libtool m4 -BuildRequires: desktop-file-utils -BuildRequires: trinity-kdelibs-devel -BuildRequires: python-devel python -BuildRequires: boost-devel -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 -BuildRequires: ocaml(compiler) -%else -BuildRequires: ocaml -%endif - -Obsoletes: trinity-kdeedu < %{version}-%{release} -Provides: trinity-kdeedu = %{version}-%{release} -Obsoletes: trinity-kdeedu-libs < %{version}-%{release} -Provides: trinity-kdeedu-libs = %{version}-%{release} - -# Meta-package -Requires: %{name}-data = %{version}-%{release} -Requires: trinity-blinken = %{version}-%{release} -Requires: trinity-kalzium = %{version}-%{release} -Requires: trinity-kalzium-data = %{version}-%{release} -Requires: trinity-kanagram = %{version}-%{release} -Requires: trinity-kbruch = %{version}-%{release} -Requires: trinity-keduca = %{version}-%{release} -Requires: trinity-kgeography = %{version}-%{release} -Requires: trinity-kgeography-data = %{version}-%{release} -Requires: trinity-khangman = %{version}-%{release} -Requires: trinity-kig = %{version}-%{release} -Requires: trinity-kiten = %{version}-%{release} -Requires: trinity-klatin = %{version}-%{release} -Requires: trinity-klettres = %{version}-%{release} -Requires: trinity-klettres-data = %{version}-%{release} -Requires: trinity-kmplot = %{version}-%{release} -Requires: trinity-kpercentage = %{version}-%{release} -Requires: trinity-kstars = %{version}-%{release} -Requires: trinity-kstars-data = %{version}-%{release} -Requires: trinity-ktouch = %{version}-%{release} -Requires: trinity-kturtle = %{version}-%{release} -Requires: trinity-kverbos = %{version}-%{release} -Requires: trinity-kvoctrain = %{version}-%{release} -Requires: trinity-kwordquiz = %{version}-%{release} -Requires: trinity-libtdeedu3 = %{version}-%{release} -Requires: trinity-libkiten1 = %{version}-%{release} -Requires: trinity-indi = %{version}-%{release} - - -%description -Educational/Edutainment applications, including: -* blinken: Simon Says Game -* kalzium: Periodic Table of Elements -* kanagram: Letter Order Game -* kbruch: Exercise Fractions -* keduca: Tests and Exams -* kgeography: Geography Trainer -* khangman: Hangman Game -* kig: Interactive Geometry -* kiten: Japanese Reference/Study Tool -* klatin: Latin Reviser -* klettres: French alphabet tutor -* kmplot: Mathematical Function Plotter -* kpercentage: Excersie Percentages -* kstars: Desktop Planetarium -* ktouch: Touch Typing Tutor -* kturtle: Logo Programming Environment -* kverbos: Study Spanish Verbforms -* kvoctrain: Vocabulary Trainer -* kwordquiz: Vocabulary Trainer - -%files -%defattr(-,root,root,-) -%doc COPYING README - -########## - -%package data -Summary: shared data for Trinity educational applications -Group: Amusements/Games - -%description data -This package contains shared data necessary for running the -educational applications provided with KDE (the K Desktop -Environment). - -This package is part of Trinity, as a component of the KDE education module. - -%files data -%defattr(-,root,root,-) -%{tde_datadir}/applnk/Edutainment/Languages/.directory -%{tde_datadir}/applnk/Edutainment/Miscellaneous/.directory -%{tde_datadir}/applnk/Edutainment/Mathematics/.directory -%{tde_datadir}/applnk/Edutainment/Science/.directory -%{tde_datadir}/applnk/Edutainment/Tools/.directory - -########## - -%package -n trinity-blinken -Summary: Trinity version of the Simon Says electronic memory game -Group: Amusements/Games -#Requires: sj-delphine-fonts -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-blinken -Blinken is based on an electronic game released in 1978, which -challenges players to remember sequences of increasing length. On -the face of the device, there are 4 different color buttons, each -with its own distinctive sound. These buttons light up randomly, -creating the sequence that the player must then recall. If the -player is successful in remembering the sequence of lights in the -correct order, they advance to the next stage, where an identical -sequence with one extra step is presented. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-blinken -%defattr(-,root,root,-) -%{tde_bindir}/blinken -%{tde_tdeappdir}/blinken.desktop -%{tde_datadir}/apps/blinken/ -%{tde_datadir}/config.kcfg/blinken.kcfg -%{tde_datadir}/icons/hicolor/*/apps/blinken.png -%{tde_datadir}/icons/hicolor/scalable/apps/blinken.svgz -%{tde_tdedocdir}/HTML/en/blinken/ - -%post -n trinity-blinken -for i in hicolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-blinken -for i in hicolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kalzium -Summary: chemistry teaching tool for Trinity -Group: Amusements/Games -Requires: trinity-kalzium-data = %{version}-%{release} -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kalzium -Kalzium is a program which shows you the Periodic System of Elements -(PSE). You can use Kalzium to search for information about the -elements or to learn facts about the PSE. - -Kalzium provides you with all kinds of information about the PSE. -You can look up lots of information about the elements and also use -visualisations to show them. - -You can visualise the Periodic Table of the Elements by blocks, -groups, acidic behavior or different states of matter. You can also -plot data for a range of elements (weight, mean weight, density, IE1, -IE2, electronegativity), and you can go back in time to see what -elements were known at a given date. In addition, on platforms where -OCaml supports native code generation, Kalzium includes a chemical -equation solver. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-kalzium -%defattr(-,root,root,-) -%{tde_bindir}/kalzium -%{tde_tdeappdir}/kalzium.desktop -%{tde_datadir}/config.kcfg/kalzium.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kalzium.png -%{tde_datadir}/icons/hicolor/scalable/apps/kalzium.svgz -%{tde_tdedocdir}/HTML/en/kalzium/ - -%post -n trinity-kalzium -for i in hicolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kalzium -for i in hicolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kalzium-data -Summary: data files for Kalzium -Group: Amusements/Games - -%description -n trinity-kalzium-data -This package contains architecture-independent data files for -Kalzium, the KDE periodic table application. This includes pictures -of various chemical equipment and of samples of several elements, in -addition to the actual chemical data. - -See the kalzium package for further information. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-kalzium-data -%defattr(-,root,root,-) -%{tde_datadir}/apps/kalzium/ - -########## - -%package -n trinity-kanagram -Summary: letter order game for Trinity -Group: Amusements/Games -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kanagram -KAnagram is a game that is based on the word/letter puzzles that the -author played as a child. A word is picked at random and displayed -with its letters in a messed order, with difficulty dependent on the -chosen level. You have an unlimited number of attempts, and scores -are kept. - -It is a very simply constructed game, with 3 difficulty levels of -play. It is fully customizable, allowing you to write in your own -words and set your own 'look and feel' of the game. It is aimed for -children aged 10+ because of the difficulty, but of course everyone -is welcome to try. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-kanagram -%defattr(-,root,root,-) -%{tde_bindir}/kanagram -%{tde_tdeappdir}/kanagram.desktop -%{tde_datadir}/apps/kanagram/ -%{tde_datadir}/config.kcfg/kanagram.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kanagram.png -%{tde_datadir}/icons/hicolor/scalable/apps/kanagram.svgz -%{tde_tdedocdir}/HTML/en/kanagram/ - -%post -n trinity-kanagram -for i in hicolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kanagram -for i in hicolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kbruch -Summary: fraction calculation teaching tool for Trinity -Group: Amusements/Games -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kbruch -KBruch is a small program to practice calculating with fractions. -Different exercises are provided for this purpose. The program -checks the user's input and gives feedback. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-kbruch -%defattr(-,root,root,-) -%{tde_bindir}/kbruch -%{tde_datadir}/apps/kbruch/kbruchui.rc -%{tde_tdeappdir}/kbruch.desktop -%{tde_datadir}/config.kcfg/kbruch.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kbruch.png -%{tde_datadir}/icons/hicolor/scalable/apps/kbruch.svgz -%{tde_datadir}/icons/crystalsvg/*/actions/kbruch_*.png -%{tde_tdedocdir}/HTML/en/kbruch/ - -%post -n trinity-kbruch -for i in hicolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kbruch -for i in hicolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-keduca -Summary: interactive form-based tests for Trinity -Group: Amusements/Games -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-keduca -KEduca is a flash-card application which allows you to make -interactive form-based tests. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-keduca -%defattr(-,root,root,-) -%{tde_bindir}/keduca -%{tde_bindir}/keducabuilder -%{tde_tdelibdir}/libkeducapart.la -%{tde_tdelibdir}/libkeducapart.so -%{tde_tdeappdir}/keduca.desktop -%{tde_tdeappdir}/keducabuilder.desktop -%{tde_datadir}/apps/keduca/ -%{tde_datadir}/config.kcfg/keduca.kcfg -%{tde_datadir}/icons/hicolor/*/apps/keduca.png -%{tde_datadir}/mimelnk/application/x-edu.desktop -%{tde_datadir}/mimelnk/application/x-edugallery.desktop -%{tde_datadir}/services/keduca_part.desktop -%{tde_tdedocdir}/HTML/en/keduca/ - -%post -n trinity-keduca -for i in hicolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-keduca -for i in hicolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kgeography -Summary: Geography learning tool for Trinity -Group: Amusements/Games -Requires: trinity-kgeography-data = %{version}-%{release} -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kgeography -KGeography contains maps allowing you to learn various countries or -the political divisions of several countries. It has several modes, -including a map browser and games involving the names, capitals, or -flags of the map divisions. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-kgeography -%defattr(-,root,root,-) -%{tde_bindir}/kgeography -%{tde_tdeappdir}/kgeography.desktop -%{tde_datadir}/config.kcfg/kgeography.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/kgeography.png -%{tde_datadir}/icons/crystalsvg/scalable/apps/kgeography.svgz -%{tde_datadir}/icons/hicolor/*/apps/kgeography.png -%{tde_tdedocdir}/HTML/en/kgeography - -%post -n trinity-kgeography -for i in hicolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kgeography -for i in hicolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kgeography-data -Summary: data files for KGeography -Group: Amusements/Games - -%description -n trinity-kgeography-data -This package contains architecture-independent data files for -KGeography, the geography learning tool for KDE. This includes map -and flag images. - -See the kgeography package for further information. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-kgeography-data -%defattr(-,root,root,-) -%{tde_datadir}/apps/kgeography/ - -########## - -%package -n trinity-khangman -Summary: the classical hangman game for Trinity -Group: Amusements/Games -#Requires: dustin-dustismo-sans-fonts -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-khangman -KHangMan is a game based on the well known hangman game. It is aimed -for children aged 6 and above. It has four levels of difficulty: -Animals (animals words), Easy, Medium and Hard. - -A word is picked at random and the letters are hidden. You must -guess the word by trying one letter after another. Each time you -guess a wrong letter, a picture of a hangman is drawn. You must -guess the word before getting hanged! You have 10 tries. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-khangman -%defattr(-,root,root,-) -%{tde_datadir}/config/khangmanrc -%{tde_bindir}/khangman -%{tde_tdeappdir}/khangman.desktop -%{tde_datadir}/apps/khangman/ -%{tde_datadir}/config.kcfg/khangman.kcfg -%{tde_datadir}/icons/hicolor/*/apps/khangman.png -%{tde_datadir}/icons/hicolor/scalable/apps/khangman.svgz -%{tde_tdedocdir}/HTML/en/khangman/ - -%post -n trinity-khangman -for i in hicolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-khangman -for i in hicolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kig -Summary: interactive geometry program for KDE -Group: Amusements/Games -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kig -Kig is an application for interactive geometry. It is intended to -serve two purposes: - -- to allow students to interactively explore mathematical figures and - concepts using the computer; -- to serve as a WYSIWYG tool for drawing mathematical figures and - including them in other documents. - -With this program you can do geometry on a computer just like you -would on a blackboard in a classroom. However, the program allows -you to move and change parts of a geometrical drawing so that you can -see how the other parts change as a result. - -Kig supports loci and user-defined macros. It also supports imports -and exports to/from foreign file formats including Cabri, Dr. Geo, -KGeo, KSeg and XFig. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-kig -%defattr(-,root,root,-) -%{tde_datadir}/config/magic/cabri.magic -%{tde_datadir}/config/magic/drgeo.magic -%{tde_bindir}/kig -%{tde_bindir}/pykig.py* -%{tde_tdelibdir}/kfile_drgeo.la -%{tde_tdelibdir}/kfile_drgeo.so -%{tde_tdelibdir}/kfile_kig.la -%{tde_tdelibdir}/kfile_kig.so -%{tde_tdelibdir}/libkigpart.la -%{tde_tdelibdir}/libkigpart.so -%{tde_tdeappdir}/kig.desktop -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%{tde_datadir}/apps/katepart/syntax/python-kig.xml -%endif -%{tde_datadir}/apps/kig/ -%{tde_datadir}/icons/crystalsvg/*/mimetypes/kig_doc.png -%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/kig_doc.svgz -%{tde_datadir}/icons/hicolor/*/apps/kig.png -%{tde_datadir}/icons/hicolor/scalable/apps/kig.svgz -%{tde_datadir}/mimelnk/application/x-cabri.desktop -%{tde_datadir}/mimelnk/application/x-drgeo.desktop -%{tde_datadir}/mimelnk/application/x-kig.desktop -%{tde_datadir}/mimelnk/application/x-kgeo.desktop -%{tde_datadir}/mimelnk/application/x-kseg.desktop -%{tde_datadir}/services/kfile_drgeo.desktop -%{tde_datadir}/services/kfile_kig.desktop -%{tde_datadir}/services/kig_part.desktop -%{tde_tdedocdir}/HTML/en/kig/ - -%post -n trinity-kig -for i in crystalsvg hicolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kig -for i in crystalsvg hicolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kiten -Summary: Japanese reference/study tool for Trinity -Group: Amusements/Games -Requires: trinity-tdeedu-data = %{version}-%{release} -#Requires: ttf-kochi-gothic | ttf-kochi-mincho - -%description -n trinity-kiten -Kiten is a Japanese reference and study tool for KDE. It is an -application with multiple functions. Firstly, it is a convenient -English to Japanese and Japanese to English dictionary. Secondly, it -is a Kanji dictionary, with multiple ways to look up specific -characters. Thirdly, it is a tool to help you learn Kanji. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-kiten -%defattr(-,root,root,-) -%{tde_bindir}/kiten -%{tde_bindir}/kitengen -%{tde_tdeappdir}/kiten.desktop -%{tde_tdedocdir}/HTML/en/kiten/ -%{tde_datadir}/icons/hicolor/*/apps/kiten.png -%{tde_datadir}/icons/hicolor/scalable/apps/kiten.svgz - -%post -n trinity-kiten -for i in hicolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kiten -for i in hicolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-klatin -Summary: application to help revise/teach Latin -Group: Amusements/Games -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-klatin -KLatin is a program to help revise Latin. There are three "sections" -in which different aspects of the language can be revised. These are -the vocabulary, grammar and verb testing sections. In addition there -is a set of revision notes that can be used for self-guided revision. - -In the vocabulary section an XML file is loaded containing various -words and their local language translations. KLatin asks you what -each of these words translate into. The questions take place in a -multiple-choice environment. - -In the grammar and verb sections KLatin asks for a particular part of -a noun or a verb, such as the "ablative singular", or the "1st person -indicative passive plural", and is not multiple choice. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-klatin -%defattr(-,root,root,-) -%{tde_bindir}/klatin -%{tde_tdeappdir}/klatin.desktop -%{tde_datadir}/apps/klatin/ -%{tde_datadir}/config.kcfg/klatin.kcfg -%{tde_datadir}/icons/hicolor/*/apps/klatin.png -%{tde_datadir}/icons/hicolor/scalable/apps/klatin.svgz -%{tde_tdedocdir}/HTML/en/klatin/ - -%post -n trinity-klatin -for i in hicolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-klatin -for i in hicolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-klettres -Summary: foreign alphabet tutor for Trinity -Group: Amusements/Games -Requires: trinity-klettres-data = %{version}-%{release} -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-klettres -KLettres is an application specially designed to help the user to -learn the alphabet in a new language and then to learn to read simple -syllables. The user can be a young child aged from two and a half or -an adult that wants to learn the basics of a foreign language. - -Seven languages are currently available: Czech, Danish, Dutch, -English, French, Italian and Slovak. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-klettres -%defattr(-,root,root,-) -%{tde_datadir}/config/klettresrc -%{tde_bindir}/klettres -%{tde_tdeappdir}/klettres.desktop -%{tde_datadir}/config.kcfg/klettres.kcfg -%{tde_datadir}/icons/hicolor/*/apps/klettres.png -%{tde_datadir}/icons/hicolor/scalable/apps/klettres.svgz -%{tde_tdedocdir}/HTML/en/klettres/ - -%post -n trinity-klettres -for i in hicolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-klettres -for i in hicolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-klettres-data -Summary: data files for KLettres foreign alphabet tutor -Group: Amusements/Games - -%description -n trinity-klettres-data -This package contains architecture-independent data files for -KLettres, the foreign alphabet tutor for KDE. This includes sound -files and graphics. - -See the klettres package for further information. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-klettres-data -%defattr(-,root,root,-) -%{tde_datadir}/apps/klettres/ - -########## - -%package -n trinity-kmplot -Summary: mathematical function plotter for Trinity -Group: Amusements/Games -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kmplot -KmPlot is a mathematical function plotter for KDE. It has a powerful -built-in parser. You can plot different functions simultaneously and -combine them to build new functions. - -KmPlot supports parametric functions and functions in polar -coordinates. Several grid modes are supported. Plots may be printed -with high precision in the correct scale. - -KmPlot also provides some numerical and visual features, like filling -and calculating the area between the plot and the first axis, finding -maximum and minimum values, changing function parameters dynamically -and plotting derivatives and integral functions. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-kmplot -%defattr(-,root,root,-) -%{tde_bindir}/kmplot -%{tde_tdelibdir}/libkmplotpart.la -%{tde_tdelibdir}/libkmplotpart.so -%{tde_tdeappdir}/kmplot.desktop -%{tde_datadir}/apps/kmplot/ -%{tde_datadir}/config.kcfg/kmplot.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kmplot.png -%{tde_datadir}/icons/hicolor/scalable/apps/kmplot.svgz -%{tde_datadir}/mimelnk/application/x-kmplot.desktop -%{tde_datadir}/services/kmplot_part.desktop -%{tde_tdedocdir}/HTML/en/kmplot/ - -%post -n trinity-kmplot -for i in hicolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kmplot -for i in hicolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kpercentage -Summary: percentage calculation teaching tool for Trinity -Group: Amusements/Games -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kpercentage -KPercentage is a small math application that will help pupils to -improve their skills in calculating percentages. - -There is a special training section for the three basic tasks. -Finally the pupil can select a random mode, in which all three tasks -are mixed randomly. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-kpercentage -%defattr(-,root,root,-) -%{tde_bindir}/kpercentage -%{tde_tdeappdir}/kpercentage.desktop -%{tde_datadir}/apps/kpercentage/ -%{tde_datadir}/icons/hicolor/*/apps/kpercentage.png -%{tde_datadir}/icons/hicolor/scalable/apps/kpercentage.svgz -%{tde_tdedocdir}/HTML/en/kpercentage/ - -%post -n trinity-kpercentage -for i in hicolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kpercentage -for i in hicolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kstars -Summary: desktop planetarium for Trinity -Group: Amusements/Games -Requires: trinity-tdeedu-data = %{version}-%{release} -Requires: trinity-kstars-data = %{version}-%{release} -Requires: trinity-indi = %{version}-%{release} - -%description -n trinity-kstars -KStars is a graphical desktop planetarium for KDE. It depicts an -accurate simulation of the night sky, including stars, -constellations, star clusters, nebulae, galaxies, all planets, the -Sun, the Moon, comets and asteroids. You can see the sky as it -appears from any location on Earth, on any date. - -The user interface is highly intuitive and flexible. The display can -be panned and zoomed with the mouse, and you can easily identify -objects and track their motion across the sky. KStars includes many -powerful features, yet the interface is clean and simple and fun to -use. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-kstars -%defattr(-,root,root,-) -%{tde_datadir}/config/kstarsrc -%{tde_bindir}/kstars -%{tde_tdeappdir}/kstars.desktop -%{tde_datadir}/config.kcfg/kstars.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kstars.png -%{tde_datadir}/icons/hicolor/scalable/apps/kstars.svgz -%{tde_tdedocdir}/HTML/en/kstars/ - -%post -n trinity-kstars -for i in hicolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kstars -for i in hicolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kstars-data -Summary: data files for KStars desktop planetarium -Group: Amusements/Games - -%description -n trinity-kstars-data -This package contains architecture-independent data files for KStars, -the graphical desktop planetarium for KDE. This includes star -catalogues and astronomical images. - -See the kstars package for further information. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-kstars-data -%defattr(-,root,root,-) -%{tde_datadir}/apps/kstars/ - -########## - -%package -n trinity-ktouch -Summary: touch typing tutor for Trinity -Group: Amusements/Games -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-ktouch -KTouch is a program for learning touch typing - it helps you learn to -type on a keyboard quickly and correctly. Every finger has its place -on the keyboard with associated keys to press. - -KTouch helps you learn to touch type by providing you with text to -train on, and adjusts to different levels depending on how good you -are. It can display which key to press next, and the correct finger -to use. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-ktouch -%defattr(-,root,root,-) -%{tde_bindir}/ktouch -%{tde_tdeappdir}/ktouch.desktop -%{tde_datadir}/apps/ktouch/ -%{tde_datadir}/config.kcfg/ktouch.kcfg -%{tde_datadir}/icons/hicolor/*/apps/ktouch.png -%{tde_datadir}/icons/hicolor/scalable/apps/ktouch.svgz -%{tde_tdedocdir}/HTML/en/ktouch/ - -%post -n trinity-ktouch -for i in hicolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ktouch -for i in hicolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kturtle -Summary: educational Logo programming environment -Group: Amusements/Games -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kturtle -KTurtle is an educational programming environment using the Logo -programming language. It tries to make programming as easy and -accessible as possible. This makes KTurtle suitable for teaching -kids the basics of mathematics, geometry and programming. - -The commands used to program are in the style of the Logo programming -language. The unique feature of Logo is that the commands are often -translated into the speaking language of the programmer. - -KTurtle is named after "the turtle" that plays a central role in the -programming environment. The user programs the turtle, using the -Logo commands, to draw a picture on the canvas. - -Note that this version of Logo is only focused on the educational -qualities of the programming language and will not try to suit -professional programmers' needs. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-kturtle -%defattr(-,root,root,-) -%{tde_bindir}/kturtle -%{tde_tdeappdir}/kturtle.desktop -%{tde_datadir}/apps/katepart/syntax/logohighlightstyle* -%{tde_datadir}/apps/kturtle/ -%{tde_datadir}/config.kcfg/kturtle.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kturtle.png -%{tde_tdedocdir}/HTML/en/kturtle/ - -%post -n trinity-kturtle -for i in hicolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kturtle -for i in hicolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kverbos -Summary: Spanish verb form study application for Trinity -Group: Amusements/Games -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kverbos -Kverbos allows the user to learn the forms of Spanish verbs. The -program suggests a verb and a time and the user enters the different -verb forms. The program corrects the user input and gives feedback. - -The user can edit the list of the verbs that can be studied. The -program can build regular verb forms by itself. Irregular verb forms -have to be entered by the user. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-kverbos -%defattr(-,root,root,-) -%{tde_bindir}/kverbos -%{tde_tdeappdir}/kverbos.desktop -%{tde_datadir}/apps/kverbos/ -%{tde_datadir}/config.kcfg/kverbos.kcfg -%{tde_datadir}/icons/crystalsvg/16x16/actions/kverbosuser.png -%{tde_datadir}/icons/hicolor/*/apps/kverbos.png -%{tde_datadir}/icons/hicolor/scalable/apps/kverbos.svgz -%{tde_tdedocdir}/HTML/en/kverbos/ - -%post -n trinity-kverbos -for i in hicolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kverbos -for i in hicolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kvoctrain -Summary: vocabulary trainer for Trinity -Group: Amusements/Games -Requires: perl -Requires: perl-libwww-perl -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kvoctrain -KVocTrain is a little utility to help you train your vocabulary when -you are trying to learn a foreign language. You can create your own -database with the words you need. It is intended as a replacement -for index (flash) cards. - -You probably remember flashcards from school. The teacher would -write the original expression on the front side of the card and the -translation on the back. Then look at the cards one after another. -If you knew the translation, you could put it away. If you failed, -you put it back to try again. - -KVocTrain is not intended to teach you grammar or other sophisticated -things. This is and probably will stay beyond the scope of this -application. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-kvoctrain -%defattr(-,root,root,-) -%{tde_datadir}/config/kvoctrainrc -%{tde_bindir}/kvoctrain -%{tde_bindir}/spotlight2kvtml -%{tde_libdir}/libkvoctraincore.so.* -%{tde_tdeappdir}/kvoctrain.desktop -%{tde_datadir}/apps/kvoctrain/ -%{tde_datadir}/mimelnk/text/x-kvtml.desktop -%{tde_datadir}/config.kcfg/kvoctrain.kcfg -%{tde_datadir}/config.kcfg/languagesettings.kcfg -%{tde_datadir}/config.kcfg/presettings.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kvoctrain.png -%{tde_tdedocdir}/HTML/en/kvoctrain/ - -%post -n trinity-kvoctrain -/sbin/ldconfig || : -for i in hicolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kvoctrain -/sbin/ldconfig || : -for i in hicolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kwordquiz -Summary: flashcard and vocabulary learning program for Trinity -Group: Amusements/Games -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kwordquiz -KWordQuiz is a flashcard-based tool that helps you to master new -vocabularies. It may be a language or any other kind of terminology. - -KWordQuiz can open several types of vocabulary data. Supported are -kvtml files used by other KDE programs such as KVocTrain, wql files -used by WordQuiz for Windows, csv files with comma-separated text, -and xml.gz files created by Pauker (http://pauker.sourceforge.net). - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-kwordquiz -%defattr(-,root,root,-) -%{tde_datadir}/config/kwordquizrc -%{tde_bindir}/kwordquiz -%{tde_tdeappdir}/kwordquiz.desktop -%{tde_datadir}/apps/kwordquiz/ -%{tde_datadir}/config.kcfg/kwordquiz.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kwordquiz.png -%{tde_datadir}/icons/hicolor/scalable/apps/kwordquiz.svg -%{tde_datadir}/icons/crystalsvg/*/mimetypes/kwordquiz_doc.png -%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/kwordquiz_doc.svg -%{tde_datadir}/mimelnk/application/x-kwordquiz.desktop -%{tde_tdedocdir}/HTML/en/kwordquiz/ - -%post -n trinity-kwordquiz -for i in hicolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kwordquiz -for i in hicolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-libtdeedu3 -Summary: library for use with Trinity educational apps -Group: Environment/Libraries - -%description -n trinity-libtdeedu3 -The KDE-based library libtdeedu is used with educational -applications. It currently provides support for data plotting and -vocabulary items (including a parser for kvtml vocabulary files). - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-libtdeedu3 -%defattr(-,root,root,-) -%{tde_libdir}/libextdate.so.* -%{tde_libdir}/lib[kt]deeducore.so.* -%{tde_libdir}/lib[kt]deeduplot.so.* -%{tde_libdir}/lib[kt]deeduui.so.* - -%post -n trinity-libtdeedu3 -/sbin/ldconfig || : - -%postun -n trinity-libtdeedu3 -/sbin/ldconfig || : - -########## - -%package -n trinity-libtdeedu-devel -Summary: development files for Trinity educational library -Group: Development/Libraries -Requires: trinity-libtdeedu3 = %{version}-%{release} - -%description -n trinity-libtdeedu-devel -The KDE-based library libtdeedu is used with educational -applications. It currently provides support for data plotting and -vocabulary items (including a parser for kvtml vocabulary files). - -Development files for libtdeedu are included in this package. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-libtdeedu-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/lib[kt]deedu/ -%{tde_libdir}/libextdate.la -%{tde_libdir}/libextdate.so -%{tde_libdir}/lib[kt]deeducore.la -%{tde_libdir}/lib[kt]deeducore.so -%{tde_libdir}/lib[kt]deeduui.la -%{tde_libdir}/lib[kt]deeduui.so -%{tde_libdir}/lib[kt]deeduplot.la -%{tde_libdir}/lib[kt]deeduplot.so - -%post -n trinity-libtdeedu-devel -/sbin/ldconfig || : - -%postun -n trinity-libtdeedu-devel -/sbin/ldconfig || : - - -########## - -%package -n trinity-libkiten1 -Summary: library for Kiten Japanese reference/study tool -Group: Environment/Libraries -#Requires: kanjidic - -%description -n trinity-libkiten1 -Kiten is a Japanese reference/study tool for KDE. The library -libkiten contains portions of Kiten that may be useful for other -applications. These portions include dictionary, character lookup -and widget classes. - -This package contains the libkiten library along with supporting -data, such as Japanese language data files and GUI resource files. -For further information, see the kiten package. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-libkiten1 -%defattr(-,root,root,-) -%{tde_libdir}/libkiten.so.* -%{tde_datadir}/apps/kiten/ -%{tde_datadir}/config.kcfg/kiten.kcfg -%{tde_datadir}/icons/crystalsvg/16x16/actions/kanjidic.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/edit_add.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/edit_remove.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/kanjidic.png -%{tde_datadir}/icons/locolor/16x16/actions/edit_add.png -%{tde_datadir}/icons/locolor/16x16/actions/edit_remove.png - -%post -n trinity-libkiten1 -for i in crystalsvg locolor locolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -/sbin/ldconfig || : - -%postun -n trinity-libkiten1 -for i in crystalsvg locolor locolor ; do - touch --no-create %{_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{_datadir}/icons/$i 2>/dev/null || : -done -/sbin/ldconfig || : - -########## - -%package -n trinity-libkiten-devel -Summary: development files for Kiten library -Group: Development/Libraries -Requires: trinity-libkiten1 = %{version}-%{release} -Requires: trinity-tdelibs-devel >= 3.5.13 - -%description -n trinity-libkiten-devel -Kiten is a Japanese reference/study tool for KDE. The library -libkiten contains portions of Kiten that may be useful for other -applications. These portions include dictionary, character lookup -and widget classes. - -Development files for libkiten are included in this package. For -further information, see the kiten package. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-libkiten-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/libkiten/ -%{tde_libdir}/libkiten.la -%{tde_libdir}/libkiten.so - -%post -n trinity-libkiten-devel -/sbin/ldconfig || : - -%postun -n trinity-libkiten-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-indi -Summary: Instrument Neutral Distributed Interface for astronomical devices -Group: Amusements/Games - -%description -n trinity-indi -INDI is an Instrument Neutral Distributed Interface control protocol for -astronomical devices, which provides a framework that decouples low level -hardware drivers from high level front end clients. Clients that use the -device drivers are completely unaware of the device capabilities and -communicate with the device drivers and build a completely dynamic GUI -based on the services provided by the device. - -This package is part of Trinity, as a component of the KDE education module. - -%files -n trinity-indi -%defattr(-,root,root,-) -%{tde_bindir}/apmount -%{tde_bindir}/apogee_ppi -%{tde_bindir}/celestrongps -%{tde_bindir}/fliccd -%{tde_bindir}/fliwheel -%{tde_bindir}/indiserver -%{tde_bindir}/lx200_16 -%{tde_bindir}/lx200autostar -%{tde_bindir}/lx200basic -%{tde_bindir}/lx200classic -%{tde_bindir}/lx200generic -%{tde_bindir}/lx200gps -%{tde_bindir}/meade_lpi -%{tde_bindir}/sbigccd -%{tde_bindir}/skycommander -%{tde_bindir}/temma -%{tde_bindir}/v4ldriver -%{tde_bindir}/v4lphilips - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} -Requires: trinity-libtdeedu-devel = %{version}-%{release} -Requires: trinity-libkiten-devel = %{version}-%{release} - -Obsoletes: trinity-kdeedu-devel < %{version}-%{release} -Provides: trinity-kdeedu-devel = %{version}-%{release} - -%description devel -%{summary}. - -%files devel -%defattr(-,root,root,-) -%doc libkdeedu/AUTHORS libkdeedu/README -# kstars -%{tde_tdeincludedir}/kstarsinterface.h -%{tde_tdeincludedir}/simclockinterface.h -# kvoctrain -%{tde_libdir}/libkvoctraincore.la -%{tde_libdir}/libkvoctraincore.so - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - -########## - - -%prep -%setup -q -n kdeedu -%patch1 -p1 -b .gcc47 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -b .ftbfs - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --enable-new-ldflags \ - --disable-dependency-tracking \ - --disable-rpath \ -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} - --enable-kig-python-scripting \ -%else - --disable-kig-python-scripting \ -%endif - --disable-debug \ - --disable-warnings \ - --enable-final \ - --enable-closure \ - --disable-ocamlsolver \ - --with-extra-includes=%{tde_includedir}/tqt - - -%__make %{_smp_mflags} \ - OCAMLLIB=$(ocamlc -where) \ - FACILELIB=$(ocamlc -where) - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# locale's -%find_lang %{name} || touch %{name}.lang -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common - done - popd - fi -done -fi - - -%clean -%__rm -rf %{buildroot} - - - - - -%changelog -* Wed Aug 01 2012 Francois Andriot - 3.5.13-4 -- Split into several packages -- Renames to 'trinity-tdeedu' -- Add support for Mageia 2 -- Fix kdeedu makefile glitch [Bug #785] [Commit #b83d0455] -- Fix kbruch/Makefile.am to eliminate build error. [Bug #786] [Commit #9d1871a4] -- Fix linear alphabet string errors [Commit #0cd3b7ce] - -* Wed Apr 25 2012 Francois Andriot - 3.5.13-3 -- Fix compilation with GCC 4.7 [Bug #958] -- Enable 'kgeography' on RHEL - -* Fri Nov 25 2011 Francois Andriot - 3.5.13-2 -- Fix HTML directory location - -* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 -- Initial release for RHEL 6, RHEL 5 and Fedora 15 - -* Sat Sep 09 2011 Francois Andriot - 3.5.13-0 -- Import to GIT diff --git a/redhat/tdeedu/trinity-tdeedu-3.5.13.2.spec b/redhat/tdeedu/trinity-tdeedu-3.5.13.2.spec deleted file mode 100644 index 91f081362..000000000 --- a/redhat/tdeedu/trinity-tdeedu-3.5.13.2.spec +++ /dev/null @@ -1,1395 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -Name: trinity-tdeedu -Summary: Educational/Edutainment applications -Version: 3.5.13.2 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} - -License: GPLv2 -Group: Amusements/Games - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: autoconf automake libtool m4 -BuildRequires: desktop-file-utils -BuildRequires: trinity-kdelibs-devel -BuildRequires: python-devel python -BuildRequires: boost-devel -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 -BuildRequires: ocaml(compiler) -%else -BuildRequires: ocaml -%endif - -Obsoletes: trinity-kdeedu < %{version}-%{release} -Provides: trinity-kdeedu = %{version}-%{release} -Obsoletes: trinity-kdeedu-libs < %{version}-%{release} -Provides: trinity-kdeedu-libs = %{version}-%{release} - -# Meta-package -Requires: %{name}-data = %{version}-%{release} -Requires: trinity-blinken = %{version}-%{release} -Requires: trinity-kalzium = %{version}-%{release} -Requires: trinity-kalzium-data = %{version}-%{release} -Requires: trinity-kanagram = %{version}-%{release} -Requires: trinity-kbruch = %{version}-%{release} -Requires: trinity-keduca = %{version}-%{release} -Requires: trinity-kgeography = %{version}-%{release} -Requires: trinity-kgeography-data = %{version}-%{release} -Requires: trinity-khangman = %{version}-%{release} -Requires: trinity-kig = %{version}-%{release} -Requires: trinity-kiten = %{version}-%{release} -Requires: trinity-klatin = %{version}-%{release} -Requires: trinity-klettres = %{version}-%{release} -Requires: trinity-klettres-data = %{version}-%{release} -Requires: trinity-kmplot = %{version}-%{release} -Requires: trinity-kpercentage = %{version}-%{release} -Requires: trinity-kstars = %{version}-%{release} -Requires: trinity-kstars-data = %{version}-%{release} -Requires: trinity-ktouch = %{version}-%{release} -Requires: trinity-kturtle = %{version}-%{release} -Requires: trinity-kverbos = %{version}-%{release} -Requires: trinity-kvoctrain = %{version}-%{release} -Requires: trinity-kwordquiz = %{version}-%{release} -Requires: trinity-libtdeedu3 = %{version}-%{release} -Requires: trinity-libkiten1 = %{version}-%{release} -Requires: trinity-indi = %{version}-%{release} - - -%description -Educational/Edutainment applications, including: -* blinken: Simon Says Game -* kalzium: Periodic Table of Elements -* kanagram: Letter Order Game -* kbruch: Exercise Fractions -* keduca: Tests and Exams -* kgeography: Geography Trainer -* khangman: Hangman Game -* kig: Interactive Geometry -* kiten: Japanese Reference/Study Tool -* klatin: Latin Reviser -* klettres: French alphabet tutor -* kmplot: Mathematical Function Plotter -* kpercentage: Excersie Percentages -* kstars: Desktop Planetarium -* ktouch: Touch Typing Tutor -* kturtle: Logo Programming Environment -* kverbos: Study Spanish Verbforms -* kvoctrain: Vocabulary Trainer -* kwordquiz: Vocabulary Trainer - -%files -%defattr(-,root,root,-) -%doc COPYING README - -########## - -%package data -Summary: shared data for Trinity educational applications -Group: Amusements/Games - -%description data -This package contains shared data necessary for running the -educational applications provided with KDE (the K Desktop -Environment). - -This package is part of Trinity, as a component of the TDE education module. - -%files data -%defattr(-,root,root,-) -%{tde_datadir}/applnk/Edutainment/Languages/.directory -%{tde_datadir}/applnk/Edutainment/Miscellaneous/.directory -%{tde_datadir}/applnk/Edutainment/Mathematics/.directory -%{tde_datadir}/applnk/Edutainment/Science/.directory -%{tde_datadir}/applnk/Edutainment/Tools/.directory - -########## - -%package -n trinity-blinken -Summary: Trinity version of the Simon Says electronic memory game -Group: Amusements/Games -#Requires: sj-delphine-fonts -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-blinken -Blinken is based on an electronic game released in 1978, which -challenges players to remember sequences of increasing length. On -the face of the device, there are 4 different color buttons, each -with its own distinctive sound. These buttons light up randomly, -creating the sequence that the player must then recall. If the -player is successful in remembering the sequence of lights in the -correct order, they advance to the next stage, where an identical -sequence with one extra step is presented. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-blinken -%defattr(-,root,root,-) -%{tde_bindir}/blinken -%{tde_tdeappdir}/blinken.desktop -%{tde_datadir}/apps/blinken/ -%{tde_datadir}/config.kcfg/blinken.kcfg -%{tde_datadir}/icons/hicolor/*/apps/blinken.png -%{tde_datadir}/icons/hicolor/scalable/apps/blinken.svgz -%{tde_tdedocdir}/HTML/en/blinken/ - -%post -n trinity-blinken -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-blinken -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kalzium -Summary: chemistry teaching tool for Trinity -Group: Amusements/Games -Requires: trinity-kalzium-data = %{version}-%{release} -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kalzium -Kalzium is a program which shows you the Periodic System of Elements -(PSE). You can use Kalzium to search for information about the -elements or to learn facts about the PSE. - -Kalzium provides you with all kinds of information about the PSE. -You can look up lots of information about the elements and also use -visualisations to show them. - -You can visualise the Periodic Table of the Elements by blocks, -groups, acidic behavior or different states of matter. You can also -plot data for a range of elements (weight, mean weight, density, IE1, -IE2, electronegativity), and you can go back in time to see what -elements were known at a given date. In addition, on platforms where -OCaml supports native code generation, Kalzium includes a chemical -equation solver. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kalzium -%defattr(-,root,root,-) -%{tde_bindir}/kalzium -%{tde_tdeappdir}/kalzium.desktop -%{tde_datadir}/config.kcfg/kalzium.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kalzium.png -%{tde_datadir}/icons/hicolor/scalable/apps/kalzium.svgz -%{tde_tdedocdir}/HTML/en/kalzium/ - -%post -n trinity-kalzium -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kalzium -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kalzium-data -Summary: data files for Kalzium -Group: Amusements/Games - -%description -n trinity-kalzium-data -This package contains architecture-independent data files for -Kalzium, the KDE periodic table application. This includes pictures -of various chemical equipment and of samples of several elements, in -addition to the actual chemical data. - -See the kalzium package for further information. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kalzium-data -%defattr(-,root,root,-) -%{tde_datadir}/apps/kalzium/ - -########## - -%package -n trinity-kanagram -Summary: letter order game for Trinity -Group: Amusements/Games -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kanagram -KAnagram is a game that is based on the word/letter puzzles that the -author played as a child. A word is picked at random and displayed -with its letters in a messed order, with difficulty dependent on the -chosen level. You have an unlimited number of attempts, and scores -are kept. - -It is a very simply constructed game, with 3 difficulty levels of -play. It is fully customizable, allowing you to write in your own -words and set your own 'look and feel' of the game. It is aimed for -children aged 10+ because of the difficulty, but of course everyone -is welcome to try. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kanagram -%defattr(-,root,root,-) -%{tde_bindir}/kanagram -%{tde_tdeappdir}/kanagram.desktop -%{tde_datadir}/apps/kanagram/ -%{tde_datadir}/config.kcfg/kanagram.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kanagram.png -%{tde_datadir}/icons/hicolor/scalable/apps/kanagram.svgz -%{tde_tdedocdir}/HTML/en/kanagram/ - -%post -n trinity-kanagram -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kanagram -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kbruch -Summary: fraction calculation teaching tool for Trinity -Group: Amusements/Games -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kbruch -KBruch is a small program to practice calculating with fractions. -Different exercises are provided for this purpose. The program -checks the user's input and gives feedback. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kbruch -%defattr(-,root,root,-) -%{tde_bindir}/kbruch -%{tde_datadir}/apps/kbruch/kbruchui.rc -%{tde_tdeappdir}/kbruch.desktop -%{tde_datadir}/config.kcfg/kbruch.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kbruch.png -%{tde_datadir}/icons/hicolor/scalable/apps/kbruch.svgz -%{tde_datadir}/icons/crystalsvg/*/actions/kbruch_*.png -%{tde_tdedocdir}/HTML/en/kbruch/ - -%post -n trinity-kbruch -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kbruch -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-keduca -Summary: interactive form-based tests for Trinity -Group: Amusements/Games -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-keduca -KEduca is a flash-card application which allows you to make -interactive form-based tests. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-keduca -%defattr(-,root,root,-) -%{tde_bindir}/keduca -%{tde_bindir}/keducabuilder -%{tde_tdelibdir}/libkeducapart.la -%{tde_tdelibdir}/libkeducapart.so -%{tde_tdeappdir}/keduca.desktop -%{tde_tdeappdir}/keducabuilder.desktop -%{tde_datadir}/apps/keduca/ -%{tde_datadir}/config.kcfg/keduca.kcfg -%{tde_datadir}/icons/hicolor/*/apps/keduca.png -%{tde_datadir}/mimelnk/application/x-edu.desktop -%{tde_datadir}/mimelnk/application/x-edugallery.desktop -%{tde_datadir}/services/keduca_part.desktop -%{tde_tdedocdir}/HTML/en/keduca/ - -%post -n trinity-keduca -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-keduca -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kgeography -Summary: Geography learning tool for Trinity -Group: Amusements/Games -Requires: trinity-kgeography-data = %{version}-%{release} -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kgeography -KGeography contains maps allowing you to learn various countries or -the political divisions of several countries. It has several modes, -including a map browser and games involving the names, capitals, or -flags of the map divisions. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kgeography -%defattr(-,root,root,-) -%{tde_bindir}/kgeography -%{tde_tdeappdir}/kgeography.desktop -%{tde_datadir}/config.kcfg/kgeography.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/kgeography.png -%{tde_datadir}/icons/crystalsvg/scalable/apps/kgeography.svgz -%{tde_datadir}/icons/hicolor/*/apps/kgeography.png -%{tde_tdedocdir}/HTML/en/kgeography - -%post -n trinity-kgeography -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kgeography -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kgeography-data -Summary: data files for KGeography -Group: Amusements/Games - -%description -n trinity-kgeography-data -This package contains architecture-independent data files for -KGeography, the geography learning tool for KDE. This includes map -and flag images. - -See the kgeography package for further information. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kgeography-data -%defattr(-,root,root,-) -%{tde_datadir}/apps/kgeography/ - -########## - -%package -n trinity-khangman -Summary: the classical hangman game for Trinity -Group: Amusements/Games -#Requires: dustin-dustismo-sans-fonts -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-khangman -KHangMan is a game based on the well known hangman game. It is aimed -for children aged 6 and above. It has four levels of difficulty: -Animals (animals words), Easy, Medium and Hard. - -A word is picked at random and the letters are hidden. You must -guess the word by trying one letter after another. Each time you -guess a wrong letter, a picture of a hangman is drawn. You must -guess the word before getting hanged! You have 10 tries. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-khangman -%defattr(-,root,root,-) -%{tde_datadir}/config/khangmanrc -%{tde_bindir}/khangman -%{tde_tdeappdir}/khangman.desktop -%{tde_datadir}/apps/khangman/ -%{tde_datadir}/config.kcfg/khangman.kcfg -%{tde_datadir}/icons/hicolor/*/apps/khangman.png -%{tde_datadir}/icons/hicolor/scalable/apps/khangman.svgz -%{tde_tdedocdir}/HTML/en/khangman/ - -%post -n trinity-khangman -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-khangman -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kig -Summary: interactive geometry program for KDE -Group: Amusements/Games -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kig -Kig is an application for interactive geometry. It is intended to -serve two purposes: - -- to allow students to interactively explore mathematical figures and - concepts using the computer; -- to serve as a WYSIWYG tool for drawing mathematical figures and - including them in other documents. - -With this program you can do geometry on a computer just like you -would on a blackboard in a classroom. However, the program allows -you to move and change parts of a geometrical drawing so that you can -see how the other parts change as a result. - -Kig supports loci and user-defined macros. It also supports imports -and exports to/from foreign file formats including Cabri, Dr. Geo, -KGeo, KSeg and XFig. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kig -%defattr(-,root,root,-) -%{tde_datadir}/config/magic/cabri.magic -%{tde_datadir}/config/magic/drgeo.magic -%{tde_bindir}/kig -%{tde_bindir}/pykig.py* -%{tde_tdelibdir}/kfile_drgeo.la -%{tde_tdelibdir}/kfile_drgeo.so -%{tde_tdelibdir}/kfile_kig.la -%{tde_tdelibdir}/kfile_kig.so -%{tde_tdelibdir}/libkigpart.la -%{tde_tdelibdir}/libkigpart.so -%{tde_tdeappdir}/kig.desktop -%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%{tde_datadir}/apps/katepart/syntax/python-kig.xml -%endif -%{tde_datadir}/apps/kig/ -%{tde_datadir}/icons/crystalsvg/*/mimetypes/kig_doc.png -%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/kig_doc.svgz -%{tde_datadir}/icons/hicolor/*/apps/kig.png -%{tde_datadir}/icons/hicolor/scalable/apps/kig.svgz -%{tde_datadir}/mimelnk/application/x-cabri.desktop -%{tde_datadir}/mimelnk/application/x-drgeo.desktop -%{tde_datadir}/mimelnk/application/x-kig.desktop -%{tde_datadir}/mimelnk/application/x-kgeo.desktop -%{tde_datadir}/mimelnk/application/x-kseg.desktop -%{tde_datadir}/services/kfile_drgeo.desktop -%{tde_datadir}/services/kfile_kig.desktop -%{tde_datadir}/services/kig_part.desktop -%{tde_tdedocdir}/HTML/en/kig/ - -%post -n trinity-kig -for i in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kig -for i in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kiten -Summary: Japanese reference/study tool for Trinity -Group: Amusements/Games -Requires: trinity-tdeedu-data = %{version}-%{release} -#Requires: ttf-kochi-gothic | ttf-kochi-mincho - -%description -n trinity-kiten -Kiten is a Japanese reference and study tool for KDE. It is an -application with multiple functions. Firstly, it is a convenient -English to Japanese and Japanese to English dictionary. Secondly, it -is a Kanji dictionary, with multiple ways to look up specific -characters. Thirdly, it is a tool to help you learn Kanji. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kiten -%defattr(-,root,root,-) -%{tde_bindir}/kiten -%{tde_bindir}/kitengen -%{tde_tdeappdir}/kiten.desktop -%{tde_tdedocdir}/HTML/en/kiten/ -%{tde_datadir}/icons/hicolor/*/apps/kiten.png -%{tde_datadir}/icons/hicolor/scalable/apps/kiten.svgz - -%post -n trinity-kiten -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kiten -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-klatin -Summary: application to help revise/teach Latin -Group: Amusements/Games -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-klatin -KLatin is a program to help revise Latin. There are three "sections" -in which different aspects of the language can be revised. These are -the vocabulary, grammar and verb testing sections. In addition there -is a set of revision notes that can be used for self-guided revision. - -In the vocabulary section an XML file is loaded containing various -words and their local language translations. KLatin asks you what -each of these words translate into. The questions take place in a -multiple-choice environment. - -In the grammar and verb sections KLatin asks for a particular part of -a noun or a verb, such as the "ablative singular", or the "1st person -indicative passive plural", and is not multiple choice. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-klatin -%defattr(-,root,root,-) -%{tde_bindir}/klatin -%{tde_tdeappdir}/klatin.desktop -%{tde_datadir}/apps/klatin/ -%{tde_datadir}/config.kcfg/klatin.kcfg -%{tde_datadir}/icons/hicolor/*/apps/klatin.png -%{tde_datadir}/icons/hicolor/scalable/apps/klatin.svgz -%{tde_tdedocdir}/HTML/en/klatin/ - -%post -n trinity-klatin -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-klatin -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-klettres -Summary: foreign alphabet tutor for Trinity -Group: Amusements/Games -Requires: trinity-klettres-data = %{version}-%{release} -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-klettres -KLettres is an application specially designed to help the user to -learn the alphabet in a new language and then to learn to read simple -syllables. The user can be a young child aged from two and a half or -an adult that wants to learn the basics of a foreign language. - -Seven languages are currently available: Czech, Danish, Dutch, -English, French, Italian and Slovak. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-klettres -%defattr(-,root,root,-) -%{tde_datadir}/config/klettresrc -%{tde_bindir}/klettres -%{tde_tdeappdir}/klettres.desktop -%{tde_datadir}/config.kcfg/klettres.kcfg -%{tde_datadir}/icons/hicolor/*/apps/klettres.png -%{tde_datadir}/icons/hicolor/scalable/apps/klettres.svgz -%{tde_tdedocdir}/HTML/en/klettres/ - -%post -n trinity-klettres -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-klettres -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-klettres-data -Summary: data files for KLettres foreign alphabet tutor -Group: Amusements/Games - -%description -n trinity-klettres-data -This package contains architecture-independent data files for -KLettres, the foreign alphabet tutor for KDE. This includes sound -files and graphics. - -See the klettres package for further information. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-klettres-data -%defattr(-,root,root,-) -%{tde_datadir}/apps/klettres/ - -########## - -%package -n trinity-kmplot -Summary: mathematical function plotter for Trinity -Group: Amusements/Games -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kmplot -KmPlot is a mathematical function plotter for KDE. It has a powerful -built-in parser. You can plot different functions simultaneously and -combine them to build new functions. - -KmPlot supports parametric functions and functions in polar -coordinates. Several grid modes are supported. Plots may be printed -with high precision in the correct scale. - -KmPlot also provides some numerical and visual features, like filling -and calculating the area between the plot and the first axis, finding -maximum and minimum values, changing function parameters dynamically -and plotting derivatives and integral functions. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kmplot -%defattr(-,root,root,-) -%{tde_bindir}/kmplot -%{tde_tdelibdir}/libkmplotpart.la -%{tde_tdelibdir}/libkmplotpart.so -%{tde_tdeappdir}/kmplot.desktop -%{tde_datadir}/apps/kmplot/ -%{tde_datadir}/config.kcfg/kmplot.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kmplot.png -%{tde_datadir}/icons/hicolor/scalable/apps/kmplot.svgz -%{tde_datadir}/mimelnk/application/x-kmplot.desktop -%{tde_datadir}/services/kmplot_part.desktop -%{tde_tdedocdir}/HTML/en/kmplot/ - -%post -n trinity-kmplot -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kmplot -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kpercentage -Summary: percentage calculation teaching tool for Trinity -Group: Amusements/Games -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kpercentage -KPercentage is a small math application that will help pupils to -improve their skills in calculating percentages. - -There is a special training section for the three basic tasks. -Finally the pupil can select a random mode, in which all three tasks -are mixed randomly. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kpercentage -%defattr(-,root,root,-) -%{tde_bindir}/kpercentage -%{tde_tdeappdir}/kpercentage.desktop -%{tde_datadir}/apps/kpercentage/ -%{tde_datadir}/icons/hicolor/*/apps/kpercentage.png -%{tde_datadir}/icons/hicolor/scalable/apps/kpercentage.svgz -%{tde_tdedocdir}/HTML/en/kpercentage/ - -%post -n trinity-kpercentage -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kpercentage -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kstars -Summary: desktop planetarium for Trinity -Group: Amusements/Games -Requires: trinity-tdeedu-data = %{version}-%{release} -Requires: trinity-kstars-data = %{version}-%{release} -Requires: trinity-indi = %{version}-%{release} - -%description -n trinity-kstars -KStars is a graphical desktop planetarium for KDE. It depicts an -accurate simulation of the night sky, including stars, -constellations, star clusters, nebulae, galaxies, all planets, the -Sun, the Moon, comets and asteroids. You can see the sky as it -appears from any location on Earth, on any date. - -The user interface is highly intuitive and flexible. The display can -be panned and zoomed with the mouse, and you can easily identify -objects and track their motion across the sky. KStars includes many -powerful features, yet the interface is clean and simple and fun to -use. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kstars -%defattr(-,root,root,-) -%{tde_datadir}/config/kstarsrc -%{tde_bindir}/kstars -%{tde_tdeappdir}/kstars.desktop -%{tde_datadir}/config.kcfg/kstars.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kstars.png -%{tde_datadir}/icons/hicolor/scalable/apps/kstars.svgz -%{tde_tdedocdir}/HTML/en/kstars/ - -%post -n trinity-kstars -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kstars -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kstars-data -Summary: data files for KStars desktop planetarium -Group: Amusements/Games - -%description -n trinity-kstars-data -This package contains architecture-independent data files for KStars, -the graphical desktop planetarium for KDE. This includes star -catalogues and astronomical images. - -See the kstars package for further information. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kstars-data -%defattr(-,root,root,-) -%{tde_datadir}/apps/kstars/ - -########## - -%package -n trinity-ktouch -Summary: touch typing tutor for Trinity -Group: Amusements/Games -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-ktouch -KTouch is a program for learning touch typing - it helps you learn to -type on a keyboard quickly and correctly. Every finger has its place -on the keyboard with associated keys to press. - -KTouch helps you learn to touch type by providing you with text to -train on, and adjusts to different levels depending on how good you -are. It can display which key to press next, and the correct finger -to use. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-ktouch -%defattr(-,root,root,-) -%{tde_bindir}/ktouch -%{tde_tdeappdir}/ktouch.desktop -%{tde_datadir}/apps/ktouch/ -%{tde_datadir}/config.kcfg/ktouch.kcfg -%{tde_datadir}/icons/hicolor/*/apps/ktouch.png -%{tde_datadir}/icons/hicolor/scalable/apps/ktouch.svgz -%{tde_tdedocdir}/HTML/en/ktouch/ - -%post -n trinity-ktouch -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ktouch -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kturtle -Summary: educational Logo programming environment -Group: Amusements/Games -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kturtle -KTurtle is an educational programming environment using the Logo -programming language. It tries to make programming as easy and -accessible as possible. This makes KTurtle suitable for teaching -kids the basics of mathematics, geometry and programming. - -The commands used to program are in the style of the Logo programming -language. The unique feature of Logo is that the commands are often -translated into the speaking language of the programmer. - -KTurtle is named after "the turtle" that plays a central role in the -programming environment. The user programs the turtle, using the -Logo commands, to draw a picture on the canvas. - -Note that this version of Logo is only focused on the educational -qualities of the programming language and will not try to suit -professional programmers' needs. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kturtle -%defattr(-,root,root,-) -%{tde_bindir}/kturtle -%{tde_tdeappdir}/kturtle.desktop -%{tde_datadir}/apps/katepart/syntax/logohighlightstyle* -%{tde_datadir}/apps/kturtle/ -%{tde_datadir}/config.kcfg/kturtle.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kturtle.png -%{tde_tdedocdir}/HTML/en/kturtle/ - -%post -n trinity-kturtle -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kturtle -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kverbos -Summary: Spanish verb form study application for Trinity -Group: Amusements/Games -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kverbos -Kverbos allows the user to learn the forms of Spanish verbs. The -program suggests a verb and a time and the user enters the different -verb forms. The program corrects the user input and gives feedback. - -The user can edit the list of the verbs that can be studied. The -program can build regular verb forms by itself. Irregular verb forms -have to be entered by the user. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kverbos -%defattr(-,root,root,-) -%{tde_bindir}/kverbos -%{tde_tdeappdir}/kverbos.desktop -%{tde_datadir}/apps/kverbos/ -%{tde_datadir}/config.kcfg/kverbos.kcfg -%{tde_datadir}/icons/crystalsvg/16x16/actions/kverbosuser.png -%{tde_datadir}/icons/hicolor/*/apps/kverbos.png -%{tde_datadir}/icons/hicolor/scalable/apps/kverbos.svgz -%{tde_tdedocdir}/HTML/en/kverbos/ - -%post -n trinity-kverbos -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kverbos -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kvoctrain -Summary: vocabulary trainer for Trinity -Group: Amusements/Games -Requires: perl -Requires: perl-libwww-perl -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kvoctrain -KVocTrain is a little utility to help you train your vocabulary when -you are trying to learn a foreign language. You can create your own -database with the words you need. It is intended as a replacement -for index (flash) cards. - -You probably remember flashcards from school. The teacher would -write the original expression on the front side of the card and the -translation on the back. Then look at the cards one after another. -If you knew the translation, you could put it away. If you failed, -you put it back to try again. - -KVocTrain is not intended to teach you grammar or other sophisticated -things. This is and probably will stay beyond the scope of this -application. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kvoctrain -%defattr(-,root,root,-) -%{tde_datadir}/config/kvoctrainrc -%{tde_bindir}/kvoctrain -%{tde_bindir}/spotlight2kvtml -%{tde_libdir}/libkvoctraincore.so.* -%{tde_tdeappdir}/kvoctrain.desktop -%{tde_datadir}/apps/kvoctrain/ -%{tde_datadir}/mimelnk/text/x-kvtml.desktop -%{tde_datadir}/config.kcfg/kvoctrain.kcfg -%{tde_datadir}/config.kcfg/languagesettings.kcfg -%{tde_datadir}/config.kcfg/presettings.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kvoctrain.png -%{tde_tdedocdir}/HTML/en/kvoctrain/ - -%post -n trinity-kvoctrain -/sbin/ldconfig || : -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kvoctrain -/sbin/ldconfig || : -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kwordquiz -Summary: flashcard and vocabulary learning program for Trinity -Group: Amusements/Games -Requires: trinity-tdeedu-data = %{version}-%{release} - -%description -n trinity-kwordquiz -KWordQuiz is a flashcard-based tool that helps you to master new -vocabularies. It may be a language or any other kind of terminology. - -KWordQuiz can open several types of vocabulary data. Supported are -kvtml files used by other KDE programs such as KVocTrain, wql files -used by WordQuiz for Windows, csv files with comma-separated text, -and xml.gz files created by Pauker (http://pauker.sourceforge.net). - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-kwordquiz -%defattr(-,root,root,-) -%{tde_datadir}/config/kwordquizrc -%{tde_bindir}/kwordquiz -%{tde_tdeappdir}/kwordquiz.desktop -%{tde_datadir}/apps/kwordquiz/ -%{tde_datadir}/config.kcfg/kwordquiz.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kwordquiz.png -%{tde_datadir}/icons/hicolor/scalable/apps/kwordquiz.svg -%{tde_datadir}/icons/crystalsvg/*/mimetypes/kwordquiz_doc.png -%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/kwordquiz_doc.svg -%{tde_datadir}/mimelnk/application/x-kwordquiz.desktop -%{tde_tdedocdir}/HTML/en/kwordquiz/ - -%post -n trinity-kwordquiz -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kwordquiz -for i in hicolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-libtdeedu3 -Summary: library for use with Trinity educational apps -Group: Environment/Libraries - -%description -n trinity-libtdeedu3 -The KDE-based library libtdeedu is used with educational -applications. It currently provides support for data plotting and -vocabulary items (including a parser for kvtml vocabulary files). - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-libtdeedu3 -%defattr(-,root,root,-) -%{tde_libdir}/libextdate.so.* -%{tde_libdir}/lib[kt]deeducore.so.* -%{tde_libdir}/lib[kt]deeduplot.so.* -%{tde_libdir}/lib[kt]deeduui.so.* - -%post -n trinity-libtdeedu3 -/sbin/ldconfig || : - -%postun -n trinity-libtdeedu3 -/sbin/ldconfig || : - -########## - -%package -n trinity-libtdeedu-devel -Summary: development files for Trinity educational library -Group: Development/Libraries -Requires: trinity-libtdeedu3 = %{version}-%{release} - -%description -n trinity-libtdeedu-devel -The KDE-based library libtdeedu is used with educational -applications. It currently provides support for data plotting and -vocabulary items (including a parser for kvtml vocabulary files). - -Development files for libtdeedu are included in this package. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-libtdeedu-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/lib[kt]deedu/ -%{tde_libdir}/libextdate.la -%{tde_libdir}/libextdate.so -%{tde_libdir}/lib[kt]deeducore.la -%{tde_libdir}/lib[kt]deeducore.so -%{tde_libdir}/lib[kt]deeduui.la -%{tde_libdir}/lib[kt]deeduui.so -%{tde_libdir}/lib[kt]deeduplot.la -%{tde_libdir}/lib[kt]deeduplot.so - -%post -n trinity-libtdeedu-devel -/sbin/ldconfig || : - -%postun -n trinity-libtdeedu-devel -/sbin/ldconfig || : - - -########## - -%package -n trinity-libkiten1 -Summary: library for Kiten Japanese reference/study tool -Group: Environment/Libraries -#Requires: kanjidic - -%description -n trinity-libkiten1 -Kiten is a Japanese reference/study tool for KDE. The library -libkiten contains portions of Kiten that may be useful for other -applications. These portions include dictionary, character lookup -and widget classes. - -This package contains the libkiten library along with supporting -data, such as Japanese language data files and GUI resource files. -For further information, see the kiten package. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-libkiten1 -%defattr(-,root,root,-) -%{tde_libdir}/libkiten.so.* -%{tde_datadir}/apps/kiten/ -%{tde_datadir}/config.kcfg/kiten.kcfg -%{tde_datadir}/icons/crystalsvg/16x16/actions/kanjidic.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/edit_add.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/edit_remove.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/kanjidic.png -%{tde_datadir}/icons/locolor/16x16/actions/edit_add.png -%{tde_datadir}/icons/locolor/16x16/actions/edit_remove.png - -%post -n trinity-libkiten1 -for i in crystalsvg locolor locolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -/sbin/ldconfig || : - -%postun -n trinity-libkiten1 -for i in crystalsvg locolor locolor ; do - touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || : - gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || : -done -/sbin/ldconfig || : - -########## - -%package -n trinity-libkiten-devel -Summary: development files for Kiten library -Group: Development/Libraries -Requires: trinity-libkiten1 = %{version}-%{release} -Requires: trinity-tdelibs-devel >= %{version} - -%description -n trinity-libkiten-devel -Kiten is a Japanese reference/study tool for KDE. The library -libkiten contains portions of Kiten that may be useful for other -applications. These portions include dictionary, character lookup -and widget classes. - -Development files for libkiten are included in this package. For -further information, see the kiten package. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-libkiten-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/libkiten/ -%{tde_libdir}/libkiten.la -%{tde_libdir}/libkiten.so - -%post -n trinity-libkiten-devel -/sbin/ldconfig || : - -%postun -n trinity-libkiten-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-indi -Summary: Instrument Neutral Distributed Interface for astronomical devices -Group: Amusements/Games - -%description -n trinity-indi -INDI is an Instrument Neutral Distributed Interface control protocol for -astronomical devices, which provides a framework that decouples low level -hardware drivers from high level front end clients. Clients that use the -device drivers are completely unaware of the device capabilities and -communicate with the device drivers and build a completely dynamic GUI -based on the services provided by the device. - -This package is part of Trinity, as a component of the TDE education module. - -%files -n trinity-indi -%defattr(-,root,root,-) -%{tde_bindir}/apmount -%{tde_bindir}/apogee_ppi -%{tde_bindir}/celestrongps -%{tde_bindir}/fliccd -%{tde_bindir}/fliwheel -%{tde_bindir}/indiserver -%{tde_bindir}/lx200_16 -%{tde_bindir}/lx200autostar -%{tde_bindir}/lx200basic -%{tde_bindir}/lx200classic -%{tde_bindir}/lx200generic -%{tde_bindir}/lx200gps -%{tde_bindir}/meade_lpi -%{tde_bindir}/sbigccd -%{tde_bindir}/skycommander -%{tde_bindir}/temma -%{tde_bindir}/v4ldriver -%{tde_bindir}/v4lphilips - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} -Requires: trinity-libtdeedu-devel = %{version}-%{release} -Requires: trinity-libkiten-devel = %{version}-%{release} - -Obsoletes: trinity-kdeedu-devel < %{version}-%{release} -Provides: trinity-kdeedu-devel = %{version}-%{release} - -%description devel -%{summary}. - -%files devel -%defattr(-,root,root,-) -%doc libkdeedu/AUTHORS libkdeedu/README -# kstars -%{tde_tdeincludedir}/kstarsinterface.h -%{tde_tdeincludedir}/simclockinterface.h -# kvoctrain -%{tde_libdir}/libkvoctraincore.la -%{tde_libdir}/libkvoctraincore.so - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -# Do not build against any "/usr" installed KDE -export KDEDIR=%{tde_prefix} - -# Specific path for RHEL4 -if [ -d "/usr/X11R6" ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" - export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --enable-new-ldflags \ - --disable-dependency-tracking \ - --disable-rpath \ -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} - --enable-kig-python-scripting \ -%else - --disable-kig-python-scripting \ -%endif - --disable-debug \ - --disable-warnings \ - --enable-final \ - --enable-closure \ - --enable-ocamlsolver \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{_smp_mflags} \ - OCAMLLIB=$(ocamlc -where) \ - FACILELIB=$(ocamlc -where) - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# locale's -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common - done - popd - fi -done -fi - - -%clean -%__rm -rf %{buildroot} - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 -- Initial release for TDE 3.5.13.2 diff --git a/redhat/tdegames/kdegames-3.5.12.spec b/redhat/tdegames/kdegames-3.5.12.spec new file mode 100644 index 000000000..148a3c7d2 --- /dev/null +++ b/redhat/tdegames/kdegames-3.5.12.spec @@ -0,0 +1,196 @@ +# Default version for this component +%if "%{?version}" == "" +%define version 3.5.12 +%endif +%define release 2 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_prefix}/share/doc +%endif + +# TDE 3.5.12 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir} +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/kde3 + + +Name: trinity-kdegames +Summary: Trinity Desktop Environment - Games +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2 +Group: Amusements/Games + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source: kdegames-%{version}.tar.gz + +Provides: kdegames3 = %{version}-%{release} + +Requires: %{name}-libs = %{version}-%{release} + +BuildRequires: trinity-kdelibs-devel + +%description +Games and gaming libraries for the K Desktop Environment. +Included with this package are: kenolaba, kasteroids, kblackbox, kmahjongg, +kmines, konquest, kpat, kpoker, kreversi, ksame, kshisen, ksmiletris, +ksnake, ksirtet, katomic, kjumpingcube, ktuberling. + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +License: LGPLv2 +Provides: kdegames3-devel = %{version}-%{release} +Requires: %{name}-libs = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: trinity-kdelibs-devel +%description devel +%{summary}. +Install %{name}-devel if you wish to develop or compile games for the +KDE desktop. + +%package libs +Summary: %{name} runtime libraries +Group: System Environment/Libraries +Requires: trinity-kdelibs +License: LGPLv2 +# include to paranoid, installing libs-only is still mostly untested -- Rex +#Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} +%description libs +%{summary}. + + + +%prep +%setup -q -n kdegames + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%if 0%{?fedora} > 0 +export CXXFLAGS="${CXXFLAGS} -lkio" +%endif + +%configure \ + --enable-new-ldflags \ + --disable-dependency-tracking \ + --disable-rpath \ + --enable-final \ + --disable-debug \ + --disable-warnings \ + --includedir=%{_includedir}/kde \ + --disable-setgid \ + --with-extra-includes=%{_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# locale's +%find_lang %{name} || touch %{name}.lang +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi +done +fi + +# rpmdocs +for dir in k* lskat ; do + for file in AUTHORS ChangeLog README TODO ; do + test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file" + done +done + + +%clean +%__rm -rf %{buildroot} + + +%post +for f in crystalsvg hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun +for f in crystalsvg hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%post libs +/sbin/ldconfig + +%postun libs +/sbin/ldconfig + + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc AUTHORS README COPYING +%doc rpmdocs/* +%{_bindir}/* +%{_datadir}/applications/kde/*.desktop +%{_datadir}/apps/* +%{_datadir}/config*/* +%{_datadir}/icons/crystalsvg/*/*/* +%{_datadir}/icons/hicolor/*/*/* +%{_datadir}/mimelnk/*/* +%{_datadir}/service*/* +%{tde_libdir}/* +%{_libdir}/libkdeinit_*.so + +%files libs +%defattr(-,root,root,-) +%{_libdir}/lib*.so.* +%{_libdir}/lib*.la + +%files devel +%defattr(-,root,root,-) +%doc COPYING.LIB +%doc libkdegames/README libkdegames/TODO +%{tde_includedir}/* +%{_libdir}/lib*.so +%exclude %{_libdir}/libkdeinit_*.so + + +%changelog +* Mon Sep 19 2011 Francois Andriot - 3.5.12-2 +- Add support for RHEL5 + +* Sun Sep 11 2011 Francois Andriot - 3.5.12-1 +- Initial build for RHEL 6 +- Spec file based on Fedora 8 "kdegames-3.5.10-1" +- Import to GIT diff --git a/redhat/tdegames/kdegames-3.5.13.1.spec b/redhat/tdegames/kdegames-3.5.13.1.spec new file mode 100644 index 000000000..d8dffc2ad --- /dev/null +++ b/redhat/tdegames/kdegames-3.5.13.1.spec @@ -0,0 +1,1604 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-tdegames +Summary: Trinity Desktop Environment - Games +Version: 3.5.13.1 +Release: 1%{?dist}%{?_variant} + +License: GPLv2 +Group: Amusements/Games + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source: kdegames-3.5.13.1.tar.gz + +BuildRequires: autoconf automake libtool m4 +BuildRequires: trinity-tdelibs-devel +BuildRequires: libtool + +BuildRequires: tqtinterface-devel >= %{version} +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdemultimedia-devel >= %{version} +BuildRequires: qt3-devel + +Obsoletes: trinity-kdegames < %{version}-%{release} +Provides: trinity-kdegames = %{version}-%{release} +Obsoletes: trinity-kdegames-libs < %{version}-%{release} +Provides: trinity-kdegames-libs = %{version}-%{release} + +Requires: trinity-libtdegames1 = %{version}-%{release} +Requires: trinity-tdegames-card-data = %{version}-%{release} +Requires: trinity-atlantik = %{version}-%{release} +Requires: trinity-kasteroids = %{version}-%{release} +Requires: trinity-katomic = %{version}-%{release} +Requires: trinity-kbackgammon = %{version}-%{release} +Requires: trinity-kbattleship = %{version}-%{release} +Requires: trinity-kblackbox = %{version}-%{release} +Requires: trinity-kbounce = %{version}-%{release} +Requires: trinity-kenolaba = %{version}-%{release} +Requires: trinity-kfouleggs = %{version}-%{release} +Requires: trinity-kgoldrunner = %{version}-%{release} +Requires: trinity-kjumpingcube = %{version}-%{release} +Requires: trinity-klickety = %{version}-%{release} +Requires: trinity-klines = %{version}-%{release} +Requires: trinity-kmahjongg = %{version}-%{release} +Requires: trinity-kmines = %{version}-%{release} +Requires: trinity-knetwalk = %{version}-%{release} +Requires: trinity-kolf = %{version}-%{release} +Requires: trinity-konquest = %{version}-%{release} +Requires: trinity-kpat = %{version}-%{release} +Requires: trinity-kpoker = %{version}-%{release} +Requires: trinity-kreversi = %{version}-%{release} +Requires: trinity-ksame = %{version}-%{release} +Requires: trinity-kshisen = %{version}-%{release} +Requires: trinity-ksirtet = %{version}-%{release} +Requires: trinity-ksmiletris = %{version}-%{release} +Requires: trinity-ksnake = %{version}-%{release} +Requires: trinity-ksokoban = %{version}-%{release} +Requires: trinity-kspaceduel = %{version}-%{release} +Requires: trinity-ktron = %{version}-%{release} +Requires: trinity-ktuberling = %{version}-%{release} +Requires: trinity-twin4 = %{version}-%{release} +Requires: trinity-lskat = %{version}-%{release} + + +%description +Games and gaming libraries for the Trinity Desktop Environment. +Included with this package are: kenolaba, kasteroids, kblackbox, kmahjongg, +kmines, konquest, kpat, kpoker, kreversi, ksame, kshisen, ksmiletris, +ksnake, ksirtet, katomic, kjumpingcube, ktuberling. + +%files + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +License: LGPLv2 + +Requires: %{name} = %{version}-%{release} +Requires: trinity-tdelibs-devel >= 3.5.13 +Requires: trinity-libtdegames-devel = %{version}-%{release} +Requires: trinity-atlantik-devel = %{version}-%{release} +Requires: trinity-kolf-devel = %{version}-%{release} + +Obsoletes: trinity-kdegames-devel < %{version}-%{release} +Provides: trinity-kdegames-devel = %{version}-%{release} + +%description devel +%{summary}. + +Install %{name}-devel if you wish to develop or compile games for the +TDE desktop. + +%files devel +%defattr(-,root,root,-) + +########## + +%package -n trinity-libtdegames1 +Summary: Trinity games library and common files +Group: Amusements/Games + +%description -n trinity-libtdegames1 +This library provides a common infrastructure for several of the +games in the TDE distribution. Features include standardized menu +items, high score handling, card display, and network connections +including chat capabilities. + +This package is part of TDE, and a component of the TDE games module. + +%files -n trinity-libtdegames1 +%defattr(-,root,root,-) +%{tde_libdir}/lib[kt]degames.so.* +%{tde_datadir}/apps/[kt]degames/pics/star.png +%{tde_datadir}/icons/crystalsvg/*/actions/roll.png +%{tde_datadir}/icons/crystalsvg/*/actions/highscore.png +%{tde_tdedocdir}/HTML/en/[kt]degames-3.5.13.1-apidocs/ + +%post -n trinity-libtdegames1 +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +/sbin/ldconfig || : + +%postun -n trinity-libtdegames1 +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +/sbin/ldconfig || : + +########## + +%package -n trinity-libtdegames-devel +Summary: Trinity games library headers +Group: Development/Libraries +Requires: trinity-libtdegames1 = %{version}-%{release} + +%description -n trinity-libtdegames-devel +This package is necessary if you want to develop your own games using +the TDE games library. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-libtdegames-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/*.h +%{tde_tdeincludedir}/kgame +%{tde_libdir}/lib[kt]degames.so +%{tde_libdir}/lib[kt]degames.la + +########## + +%package card-data +Summary: Card decks for Trinity games +Group: Amusements/Games + +%description card-data +Several different collections of card images for use by TDE games. + +This package is part of Trinity, and a component of the TDE games module. + +%files card-data +%defattr(-,root,root,-) +%{tde_datadir}/apps/carddecks/* + +########## + +%package -n trinity-atlantik +Summary: TDE client for Monopoly-like network games +Group: Amusements/Games + +%description -n trinity-atlantik +This is a TDE client for playing Monopoly-like boardgames on the +monopd network. It can play any board supported by the network +server, including the classic Monopoly game, as well as the Atlantik +game in which the property includes several major cities in North +America and Europe. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-atlantik +%defattr(-,root,root,-) +%{tde_bindir}/atlantik +%{tde_libdir}/libatlantic.so.* +%{tde_libdir}/libatlantikclient.so.* +%{tde_libdir}/libatlantikui.so.* +%{tde_tdelibdir}/kio_atlantik.la +%{tde_tdelibdir}/kio_atlantik.so +%{tde_datadir}/services/atlantik.protocol +%{tde_tdeappdir}/atlantik.desktop +%{tde_datadir}/icons/hicolor/*/apps/atlantik.png +%{tde_datadir}/apps/atlantik/ +%{tde_tdedocdir}/HTML/en/atlantik/ + +%post -n trinity-atlantik +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-atlantik +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-atlantik-devel +Summary: Development files for Atlantik +Group: Development/Libraries +Requires: trinity-atlantik = %{version}-%{release} + +%description -n trinity-atlantik-devel +This package contains header files for compiling programs against the +libraries which come with Atlantik. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-atlantik-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/atlantik +%{tde_tdeincludedir}/atlantic +%{tde_libdir}/libatlantic.so +%{tde_libdir}/libatlantic.la +%{tde_libdir}/libatlantikclient.so +%{tde_libdir}/libatlantikclient.la +%{tde_libdir}/libatlantikui.so +%{tde_libdir}/libatlantikui.la + +%post -n trinity-atlantik-devel +/sbin/ldconfig || : + +%postun -n trinity-atlantik-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-kasteroids +Summary: Asteroids for Trinity +Group: Amusements/Games + +%description -n trinity-kasteroids +You know this game. It is based on Warwick Allison's QwSpriteField +widget. + +The objective of kasteroids is to destroy all the asteroids on the +screen to advance to the next level. Your ship is destroyed if it +makes contact with an asteroid. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kasteroids +%defattr(-,root,root,-) +%{tde_bindir}/kasteroids +%{tde_datadir}/icons/hicolor/*/apps/kasteroids.png +%{tde_tdeappdir}/kasteroids.desktop +%{tde_datadir}/apps/kasteroids/ +%{tde_datadir}/config.kcfg/kasteroids.kcfg +%{tde_tdedocdir}/HTML/en/kasteroids/ + +%post -n trinity-kasteroids +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kasteroids +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-katomic +Summary: Atomic Entertainment game for Trinity +Group: Amusements/Games + +%description -n trinity-katomic +This is a puzzle game, in which the object is to assemble a molecule +from its atoms on a Sokoban-like board. On each move, an atom goes +as far as it can in a specified direction before being stopped by a +wall or another atom. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-katomic +%defattr(-,root,root,-) +%{tde_datadir}/apps/katomic/ +%{tde_datadir}/icons/hicolor/*/apps/katomic.png +%{tde_tdeappdir}/katomic.desktop +%{tde_bindir}/katomic +%{tde_tdedocdir}/HTML/en/katomic/ + +%post -n trinity-katomic +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-katomic +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kbackgammon +Summary: A Backgammon game for Trinity +Group: Amusements/Games + +%description -n trinity-kbackgammon +KBackgammon is a backgammon program for Trinity. It is based on the +code, ideas and concepts of KFibs (which is a FIBS client for +TDE1). For a short time, KBackgammon was called bacKgammon (if you +know somebody who is still using bacKgammon, please force them to +upgrade :-)). + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kbackgammon +%defattr(-,root,root,-) +%{tde_bindir}/kbackgammon +%{tde_tdeappdir}/kbackgammon.desktop +%{tde_datadir}/apps/kbackgammon/ +%{tde_datadir}/icons/hicolor/*/apps/kbackgammon.png +%{tde_datadir}/icons/hicolor/*/apps/kbackgammon_engine.png +%{tde_tdedocdir}/HTML/en/kbackgammon/ + +%post -n trinity-kbackgammon +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kbackgammon +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kbattleship +Summary: Battleship game for Trinity +Group: Amusements/Games + +%description -n trinity-kbattleship +This is an implementation of the Battleship game. Each player tries +to be the first to sink all the opponent's ships by firing "blindly" +at them. The game has options to play over a network connection or +against the computer. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kbattleship +%defattr(-,root,root,-) +%{tde_datadir}/apps/kbattleship/ +%{tde_datadir}/apps/zeroconf/_kbattleship._tcp +%{tde_datadir}/icons/hicolor/*/apps/kbattleship.png +%{tde_tdeappdir}/kbattleship.desktop +%{tde_bindir}/kbattleship +%{tde_tdedocdir}/HTML/en/kbattleship/ + +%post -n trinity-kbattleship +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kbattleship +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kblackbox +Summary: A simple logical game for the Trinity project +Group: Amusements/Games + +%description -n trinity-kblackbox +KBlackBox is a game of hide and seek played on an grid of boxes. Your +opponent (Random number generator, in this case) has hidden several +balls within this box. By shooting rays into the box and observing +where they emerge it is possible to deduce the positions of the +hidden balls. The fewer rays you use to find the balls, the lower +your score. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kblackbox +%defattr(-,root,root,-) +%{tde_datadir}/apps/kblackbox/ +%{tde_datadir}/icons/hicolor/*/apps/kblackbox.png +%{tde_tdeappdir}/kblackbox.desktop +%{tde_bindir}/kblackbox +%{tde_tdedocdir}/HTML/en/kblackbox/ + +%post -n trinity-kblackbox +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kblackbox +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kbounce +Summary: Jezzball clone for the K Desktop Environment +Group: Amusements/Games + +%description -n trinity-kbounce +This is a clone of the popular Jezzball game originally created by +Microsoft. Jezzball is one of the rare and simple games requiring +skill, timing, and patience in order to be successful. A ball begins +to bounce off of an area enclosed by four borders (like a +square). You must move your pointer to certain areas within the +square. Upon clicking, a new border is constructed at a relatively +quick pace. You can change the direction of the borders by 90 degrees +as well. Ultimately, you must force the ball to bounce around in a +smaller, and smaller area as time goes by without the ball ever +touching the borders as they are being constructed. If a ball touches +a certain part of the border as it is being built, the game is over. +After 75% of the original space has been blocked off from the moving +ball, you advance one level, and one more ball is added to the mix in +the following level. + +This game was previously known as kjezz. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kbounce +%defattr(-,root,root,-) +%{tde_datadir}/apps/kbounce/ +%{tde_tdeappdir}/kbounce.desktop +%{tde_datadir}/icons/hicolor/*/apps/kbounce.png +%{tde_bindir}/kbounce +%{tde_tdedocdir}/HTML/en/kbounce/ + +%post -n trinity-kbounce +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kbounce +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kenolaba +Summary: Enolaba board game for Trinity +Group: Amusements/Games + +%description -n trinity-kenolaba +kenolaba is a simple board strategy game that is played by two +players. There are red and yellow pieces for each player. Beginning +from a start position where each player has 14 pieces, moves are +drawn until one player has pushed 6 pieces of his opponent out of the +board. + +This game was previously known as kabalone, and was inspired by the +board game Abalone by Abalone SA, France. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kenolaba +%defattr(-,root,root,-) +%{tde_datadir}/apps/kenolaba/ +%{tde_datadir}/icons/hicolor/*/apps/kenolaba.png +%{tde_tdeappdir}/kenolaba.desktop +%{tde_bindir}/kenolaba +%{tde_tdedocdir}/HTML/en/kenolaba/ + +%post -n trinity-kenolaba +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kenolaba +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kfouleggs +Summary: A TDE clone of the Japanese PuyoPuyo game +Group: Amusements/Games + +%description -n trinity-kfouleggs +KFouleggs is a clone of the Japanese PuyoPuyo game, with advanced +features such as multiplayer games against human or AI, and network +play. If you have played Tetris or one of its many clones, you will +find KFouleggs easy to learn. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kfouleggs +%defattr(-,root,root,-) +%{tde_tdeappdir}/kfouleggs.desktop +%{tde_datadir}/apps/kfouleggs/ +%{tde_datadir}/config.kcfg/kfouleggs.kcfg +%{tde_bindir}/kfouleggs +%{tde_datadir}/icons/hicolor/*/apps/kfouleggs.png +%{tde_tdedocdir}/HTML/en/kfouleggs/ + +%post -n trinity-kfouleggs +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kfouleggs +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kgoldrunner +Summary: A Trinity clone of the Loderunner arcade game +Group: Amusements/Games + +%description -n trinity-kgoldrunner +KGoldrunner, a game of action and puzzle solving. Run through the +maze, dodge your enemies, collect all the gold and climb up to the +next level. + +You must guide the hero with the mouse or keyboard and collect all +the gold nuggets, then you can climb up into the next level. Your +enemies are also after the gold and they will kill you if they catch +you! + +The problem is you have no weapon to kill them. All you can do is +run away, dig holes in the floor to trap them or lure them into some +area where they cannot hurt you. After a short time a trapped enemy +climbs out of his hole, but if it closes before that, he will die and +reappear somewhere else. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kgoldrunner +%defattr(-,root,root,-) +%{tde_datadir}/apps/kgoldrunner/ +%{tde_datadir}/icons/hicolor/*/apps/kgoldrunner.png +%{tde_tdeappdir}/KGoldrunner.desktop +%{tde_bindir}/kgoldrunner +%{tde_tdedocdir}/HTML/en/kgoldrunner/ + +%post -n trinity-kgoldrunner +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kgoldrunner +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kjumpingcube +Summary: Tactical one or two player game +Group: Amusements/Games + +%description -n trinity-kjumpingcube +KJumpingCube is a simple tactical game. You can play it against the +computer or against a friend. The playing field consists of squares +that contains points. By clicking on the squares you can increase +the points and if the points reach a maximum the points will jump to +the squares neighbours and take them over. Winner is the one, who +owns all squares. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kjumpingcube +%defattr(-,root,root,-) +%{tde_bindir}/kjumpingcube +%{tde_datadir}/icons/hicolor/*/apps/kjumpingcube.png +%{tde_datadir}/apps/kjumpingcube/ +%{tde_tdeappdir}/kjumpingcube.desktop +%{tde_datadir}/config.kcfg/kjumpingcube.kcfg +%{tde_tdedocdir}/HTML/en/kjumpingcube/ + +%post -n trinity-kjumpingcube +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kjumpingcube +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-klickety +Summary: A Clickomania-like game for Trinity +Group: Amusements/Games + +%description -n trinity-klickety +Klickety is an adaptation of the (perhaps) well-known Clickomania +game; it is very similar to the "same" game. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-klickety +%defattr(-,root,root,-) +%{tde_bindir}/klickety +%{tde_tdeappdir}/klickety.desktop +%{tde_datadir}/icons/hicolor/*/apps/klickety.png +%{tde_datadir}/icons/crystalsvg/*/actions/endturn.png +%{tde_datadir}/apps/klickety/klicketyui.rc +%{tde_datadir}/apps/klickety/eventsrc +%{tde_tdedocdir}/HTML/en/klickety/ + +%post -n trinity-klickety +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-klickety +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-klines +Summary: Color lines for Trinity +Group: Amusements/Games + +%description -n trinity-klines +KLines is a simple game. It is played by one player, so there is only +one winner :-). You play for fun and against the high score. It was +inspired by a well known game - "Color lines", written for DOS by +Olga Demina, Igor Demina, Igor Ivkin and Gennady Denisov back in +1992. + +The main rules of the game are as simple as possible: you move (using +the mouse) marbles from cell to cell and build lines (horizontal, +vertical or diagonal). When a line contains 5 or more marbles, they +are removed and your score grows. After each turn the computer drops +three more marbles. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-klines +%defattr(-,root,root,-) +%{tde_datadir}/apps/klines/ +%{tde_tdeappdir}/klines.desktop +%{tde_bindir}/klines +%{tde_datadir}/config.kcfg/klines.kcfg +%{tde_datadir}/icons/hicolor/*/apps/klines.png +%{tde_tdedocdir}/HTML/en/klines/ + +%post -n trinity-klines +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-klines +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kmahjongg +Summary: the classic mahjongg game for Trinity project +Group: Amusements/Games + +%description -n trinity-kmahjongg +Your mission in this game is to remove all tiles from the game board. A +matching pair of tiles can be removed, if they are 'free', which means that +no other tiles block them on the left or right side. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kmahjongg +%defattr(-,root,root,-) +%{tde_datadir}/apps/kmahjongg/ +%{tde_datadir}/icons/hicolor/*/apps/kmahjongg.png +%{tde_tdeappdir}/kmahjongg.desktop +%{tde_bindir}/kmahjongg +%{tde_datadir}/config.kcfg/kmahjongg.kcfg +%{tde_tdedocdir}/HTML/en/kmahjongg/ + +%post -n trinity-kmahjongg +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kmahjongg +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kmines +Summary: Minesweeper for Trinity +Group: Amusements/Games + +%description -n trinity-kmines +KMines is the classic Minesweeper game. You must uncover all the +empty cases without blowing on a mine. + +When you uncover a case, a number appears : it indicates how many +mines surround this case. If there is no number the neighbour cases +are automatically uncovered. In your process of uncovering secure +cases, it is very useful to put a flag on the cases which contain a +mine. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kmines +%defattr(-,root,root,-) +%{tde_datadir}/icons/hicolor/*/apps/kmines.png +%{tde_tdeappdir}/kmines.desktop +%{tde_datadir}/apps/kmines/ +%{tde_bindir}/kmines +%{tde_tdedocdir}/HTML/en/kmines/ + +%post -n trinity-kmines +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kmines +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-knetwalk +Summary: A game for system administrators +Group: Amusements/Games + +%description -n trinity-knetwalk +This game presents the player with a rectangular field consisting of +a server, several clients, and pieces of wire. The object is to +rotate these elements until every client is connected to the server, +and no wires are left unconnected. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-knetwalk +%defattr(-,root,root,-) +%{tde_bindir}/knetwalk +%{tde_datadir}/apps/knetwalk +%{tde_datadir}/icons/hicolor/*/apps/knetwalk.png +%{tde_tdeappdir}/knetwalk.desktop + +%post -n trinity-knetwalk +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-knetwalk +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kolf +Summary: Minigolf game for TDE +Group: Amusements/Games + +%description -n trinity-kolf +This is a minigolf game for TDE that allows you to go through different +golf courses and waste an exorbitant amount of time. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kolf +%defattr(-,root,root,-) +%{tde_datadir}/config/magic/kolf.magic +%{tde_datadir}/apps/kolf/ +%{tde_bindir}/kolf +%{tde_tdeappdir}/kolf.desktop +%{tde_datadir}/icons/hicolor/*/apps/kolf.png +%{tde_datadir}/mimelnk/application/x-kolf.desktop +%{tde_datadir}/mimelnk/application/x-kourse.desktop +%{tde_libdir}/lib[kt]deinit_kolf.so +%{tde_libdir}/lib[kt]deinit_kolf.la +%{tde_tdelibdir}/kolf.la +%{tde_tdelibdir}/kolf.so +%{tde_libdir}/libkolf.so.1 +%{tde_libdir}/libkolf.so.1.2.0 +%{tde_tdedocdir}/HTML/en/kolf/ + +%post -n trinity-kolf +/sbin/ldconfig || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kolf +/sbin/ldconfig || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kolf-devel +Summary: Development files for Kolf +Group: Development/Libraries +Requires: trinity-kolf = %{version}-%{release} + +%description -n trinity-kolf-devel +This package contains headers and development libraries for compiling +Kolf plugins. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kolf-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kolf +%{tde_libdir}/libkolf.la +%{tde_libdir}/libkolf.so + +%post -n trinity-kolf-devel +/sbin/ldconfig || : + +%postun -n trinity-kolf-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-konquest +Summary: TDE based GNU-Lactic Konquest game +Group: Amusements/Games + +%description -n trinity-konquest +This the TDE version of Gnu-Lactic Konquest, a multi-player strategy +game. The goal of the game is to expand your interstellar empire +across the galaxy and, of course, crush your rivals in the process. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-konquest +%defattr(-,root,root,-) +%{tde_datadir}/apps/konquest/ +%{tde_datadir}/icons/hicolor/*/apps/konquest.png +%{tde_tdeappdir}/konquest.desktop +%{tde_bindir}/konquest +%{tde_tdedocdir}/HTML/en/konquest/ + +%post -n trinity-konquest +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-konquest +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kpat +Summary: Trinity solitaire patience game +Group: Amusements/Games + +%description -n trinity-kpat +KPatience is a collection of 14 card games. All the games are single +player games. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kpat +%defattr(-,root,root,-) +%{tde_datadir}/icons/hicolor/*/apps/kpat.png +%{tde_datadir}/apps/kpat/ +%{tde_tdeappdir}/kpat.desktop +%{tde_bindir}/kpat +%{tde_tdedocdir}/HTML/en/kpat/ + +%post -n trinity-kpat +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kpat +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kpoker +Summary: Trinity based Poker clone +Group: Amusements/Games + +%description -n trinity-kpoker +KPoker is a TDE compliant clone of those highly addictive pocket +video poker games which are sometimes called "Videopoker" as well. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kpoker +%defattr(-,root,root,-) +%{tde_datadir}/apps/kpoker/ +%{tde_datadir}/icons/hicolor/*/apps/kpoker.png +%{tde_tdeappdir}/kpoker.desktop +%{tde_bindir}/kpoker +%{tde_tdedocdir}/HTML/en/kpoker/ + +%post -n trinity-kpoker +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kpoker +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kreversi +Summary: Reversi for Trinity +Group: Amusements/Games + +%description -n trinity-kreversi +Reversi is a simple strategy game that is played by two +players. There is only one type of piece - one side of it is black, +the other white. If a player captures a piece on the board, that +piece is turned and belongs to that player. The winner is the person +that has more pieces of his own color on the board and if there are +no more moves possible. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kreversi +%defattr(-,root,root,-) +%{tde_bindir}/kreversi +%{tde_tdeappdir}/kreversi.desktop +%{tde_datadir}/apps/kreversi/ +%{tde_datadir}/config.kcfg/kreversi.kcfg +%{tde_datadir}/icons/crystalsvg/*/actions/lastmoves.png +%{tde_datadir}/icons/crystalsvg/*/actions/legalmoves.png +%{tde_datadir}/icons/crystalsvg/scalable/actions/lastmoves.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/legalmoves.svgz +%{tde_datadir}/icons/hicolor/*/apps/kreversi.png +%{tde_tdedocdir}/HTML/en/kreversi/ + +%post -n trinity-kreversi +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kreversi +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ksame +Summary: SameGame for Trinity +Group: Amusements/Games + +%description -n trinity-ksame +KSame is a simple game. It's played by one player, so there is only +one winner :-) You play for fun and against the high score. It has +been inspired by SameGame, that is only famous on the Macintosh +platform. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-ksame +%defattr(-,root,root,-) +%{tde_bindir}/ksame +%{tde_datadir}/icons/hicolor/*/apps/ksame.png +%{tde_datadir}/apps/ksame/* +%{tde_tdeappdir}/ksame.desktop +%{tde_tdedocdir}/HTML/en/ksame/ + +%post -n trinity-ksame +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ksame +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kshisen +Summary: Shisen-Sho for Trinity +Group: Amusements/Games + +%description -n trinity-kshisen +KShisen-Sho is a single-player-game similar to Mahjongg and uses the +same set of tiles as Mahjongg. + +The object of the game is to remove all tiles from the field. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kshisen +%defattr(-,root,root,-) +%{tde_datadir}/apps/kshisen/ +%{tde_datadir}/config.kcfg/kshisen.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kshisen.png +%{tde_tdeappdir}/kshisen.desktop +%{tde_bindir}/kshisen +%{tde_tdedocdir}/HTML/en/kshisen/ + +%post -n trinity-kshisen +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kshisen +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ksirtet +Summary: Tetris and Puyo-Puyo games for Trinity +Group: Amusements/Games + +%description -n trinity-ksirtet +This program is a clone of the well known game Tetris. You must fit +the falling pieces to form full lines. You can rotate and translate +the falling piece. The game ends when no more piece can fall ie when +your incomplete lines reach the top of the board. + +Every time you have destroyed 10 lines, you gain a level and the +pieces fall quicker (exactly the piece falls from a line each +1/(1+level) second). + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-ksirtet +%defattr(-,root,root,-) +%{tde_tdeappdir}/ksirtet.desktop +%{tde_datadir}/icons/hicolor/*/apps/ksirtet.png +%{tde_datadir}/apps/ksirtet/ +%{tde_bindir}/ksirtet +%{tde_datadir}/config.kcfg/ksirtet.kcfg +%{tde_tdedocdir}/HTML/en/ksirtet/ + +%post -n trinity-ksirtet +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ksirtet +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ksmiletris +Summary: Tetris like game for Trinity +Group: Amusements/Games + +%description -n trinity-ksmiletris +This is a game with falling blocks composed of different types of +smilies. The object of the game is to "crack a smile" by guiding +blocks so there are two or more of the same symbol vertically. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-ksmiletris +%defattr(-,root,root,-) +%{tde_datadir}/apps/ksmiletris/ +%{tde_datadir}/icons/hicolor/*/apps/ksmiletris.png +%{tde_tdeappdir}/ksmiletris.desktop +%{tde_bindir}/ksmiletris +%{tde_tdedocdir}/HTML/en/ksmiletris/ + +%post -n trinity-ksmiletris +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ksmiletris +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ksnake +Summary: Snake Race for Trinity +Group: Amusements/Games + +%description -n trinity-ksnake +Snake Race is a game of speed and agility. You are a hungry snake and +are trying to eat all the apples in the room before getting out! + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-ksnake +%defattr(-,root,root,-) +%{tde_datadir}/apps/ksnake/ +%{tde_datadir}/config.kcfg/ksnake.kcfg +%{tde_datadir}/icons/hicolor/*/apps/ksnake.png +%{tde_tdeappdir}/ksnake.desktop +%{tde_bindir}/ksnake +%{tde_tdedocdir}/HTML/en/ksnake/ + +%post -n trinity-ksnake +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ksnake +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ksokoban +Summary: Sokoban game for Trinity +Group: Amusements/Games + +%description -n trinity-ksokoban +The first sokoban game was created in 1982 by Hiroyuki Imabayashi at +the Japanese company Thinking Rabbit, Inc. "Sokoban" is japanese for +"warehouse keeper". The idea is that you are a warehouse keeper +trying to push crates to their proper locations in a warehouse. + +The problem is that you cannot pull the crates or step over them. If +you are not careful, some of the crates can get stuck in wrong places +and/or block your way. + +It can be rather difficult just to solve a level. But if you want to +make it even harder, you can try to minimise the number of moves +and/or pushes you use to solve the level. + +To make the game more fun for small kids (below 10 years or so), some +collections with easier levels are also included in KSokoban. These +are marked (easy) in the level collection menu. Of course, these +levels can be fun for adults too, for example if you don't want to +expose yourself to too much mental strain. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-ksokoban +%defattr(-,root,root,-) +%{tde_tdeappdir}/ksokoban.desktop +%{tde_datadir}/icons/hicolor/*/apps/ksokoban.png +%{tde_bindir}/ksokoban +%{tde_tdedocdir}/HTML/en/ksokoban/ + +%post -n trinity-ksokoban +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ksokoban +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kspaceduel +Summary: Arcade two-player space game for Trinity +Group: Amusements/Games + +%description -n trinity-kspaceduel +KSpaceduel is an space arcade game for two players. + +Each player controls a ship that flies around the sun and tries to +shoot at the other ship. You can play KSpaceduel with another person, +against the computer, or you can have the computer control both ships +and play each other. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kspaceduel +%defattr(-,root,root,-) +%{tde_datadir}/apps/kspaceduel/ +%{tde_datadir}/icons/hicolor/*/apps/kspaceduel.png +%{tde_tdeappdir}/kspaceduel.desktop +%{tde_bindir}/kspaceduel +%{tde_datadir}/config.kcfg/kspaceduel.kcfg +%{tde_tdedocdir}/HTML/en/kspaceduel/ + +%post -n trinity-kspaceduel +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kspaceduel +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ktron +Summary: Tron clone for the K Desktop Environment +Group: Amusements/Games + +%description -n trinity-ktron +The object of the game is to avoid running into walls, your own tail, +and that of your opponent. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-ktron +%defattr(-,root,root,-) +%{tde_bindir}/ktron +%{tde_datadir}/icons/hicolor/*/apps/ktron.png +%{tde_tdeappdir}/ktron.desktop +%{tde_datadir}/apps/ktron/ +%{tde_datadir}/config.kcfg/ktron.kcfg +%{tde_tdedocdir}/HTML/en/ktron/ + +%post -n trinity-ktron +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ktron +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ktuberling +Summary: Potato Guy for Trinity +Group: Amusements/Games + +%description -n trinity-ktuberling +KTuberling is a game intended for small children. Of course, it may +be suitable for adults who have remained young at heart. + +It is a potato editor. That means that you can drag and drop eyes, +mouths, moustache, and other parts of face and goodies onto a +potato-like guy. Similarly, you have a penguin on which you can drop +other stuff. + +There is no winner for the game. The only purpose is to make the +funniest faces you can. + +There is a museum (like a "Madame Tusseau" gallery) where you can +find many funny examples of decorated potatoes. Of course, you can +send your own creations to the programmer, Eric Bischoff, who will +include them in the museum if he gets some spare time. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-ktuberling +%defattr(-,root,root,-) +%{tde_bindir}/ktuberling +%{tde_datadir}/icons/hicolor/*/apps/ktuberling.png +%{tde_tdeappdir}/ktuberling.desktop +%{tde_datadir}/apps/ktuberling/ +%{tde_datadir}/mimelnk/application/x-tuberling.desktop +%{tde_tdedocdir}/HTML/en/ktuberling/ + +%post -n trinity-ktuberling +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ktuberling +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-twin4 +Summary: Connect Four clone for Trinity +Group: Amusements/Games + +%description -n trinity-twin4 +Four wins is a game for two players. Each player is represented by a +colour (yellow and red). The goal of the game is to get four +connected pieces of your colour into a row, column or any +diagonal. This is done by placing one of your pieces into any of the +seven columns. A piece will begin to fill a column from the bottom, +i.e. it will fall down until it reaches the ground level or another +stone. After a move is done it is the turn of the other player. This +is repeated until the game is over, i.e. one of the players has four +pieces in a row, column or diagonal or no more moves are possible +because the board is filled. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-twin4 +%defattr(-,root,root,-) +%{tde_bindir}/[kt]win4 +%{tde_bindir}/[kt]win4proc +%{tde_datadir}/apps/[kt]win4/ +%{tde_datadir}/config.kcfg/[kt]win4.kcfg +%{tde_datadir}/icons/hicolor/*/apps/[kt]win4.png +%{tde_tdeappdir}/[kt]win4.desktop +%{tde_tdedocdir}/HTML/en/[kt]win4/ + +%post -n trinity-twin4 +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-twin4 +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-lskat +Summary: Lieutnant Skat card game for Trinity +Group: Amusements/Games + +%description -n trinity-lskat +Lieutnant Skat (from German Offiziersskat) is a card game for two +players. It is roughly played according to the rules of Skat but with +only two players and simplified rules. + +Every player has a set of cards in front of him/her, half of them +covered and half of them open. Both players try to win more than 60 +of the 120 possible points. After 16 moves all cards are played and +the game ends. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-lskat +%defattr(-,root,root,-) +%{tde_bindir}/lskat +%{tde_bindir}/lskatproc +%{tde_datadir}/apps/lskat/ +%{tde_datadir}/icons/hicolor/*/apps/lskat.png +%{tde_tdeappdir}/lskat.desktop +%{tde_tdedocdir}/HTML/en/lskat/ + +%post -n trinity-lskat +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-lskat +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + + +%prep +%setup -q -n kdegames-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +# Do not build against any "/usr" installed KDE +export KDEDIR=%{tde_prefix} + +# Specific path for RHEL4 +if [ -d /usr/X11R6 ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --enable-new-ldflags \ + --disable-dependency-tracking \ + --disable-rpath \ + --enable-final \ + --disable-debug \ + --disable-warnings \ + --enable-closure \ + --disable-setgid \ + --with-extra-includes=%{tde_includedir}/tqt + +# WTF hack for RHEL4 +%if 0%{?rhel} == 4 +mkdir atlantik/libatlantic/.libs +ln -s . atlantik/libatlantic/.libs/.libs +%endif + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# locale's +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi +done +fi + + +%clean +%__rm -rf %{buildroot} + + + +%changelog +* Sun Sep 30 2012 Francois Andriot - 3.5.13.1-1 +- Initial build for TDE 3.5.13.1 diff --git a/redhat/tdegames/kdegames-3.5.13.spec b/redhat/tdegames/kdegames-3.5.13.spec new file mode 100644 index 000000000..3998e2c9c --- /dev/null +++ b/redhat/tdegames/kdegames-3.5.13.spec @@ -0,0 +1,1610 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-tdegames +Summary: Trinity Desktop Environment - Games +Version: 3.5.13 +Release: 5%{?dist}%{?_variant} + +License: GPLv2 +Group: Amusements/Games + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source: kdegames-%{version}.tar.gz + +# [kdegames/ktuberling] Fix ktuberling pictures loading +Patch1: kdegames-3.5.13-ktuberling_fail_load_picture.patch +# [kdegames] Missing LDFLAGS cause FTBFS on Mageia 2 +Patch2: kdegames-3.5.13-missing_ldflags.patch +# [kdegames] Switch to v3.5.13-sru branch +Patch3: kdegames-3.5.13-sru-20120827.patch.gz + +BuildRequires: autoconf automake libtool m4 +BuildRequires: trinity-tdelibs-devel +BuildRequires: libtool + +BuildRequires: tqtinterface-devel >= 3.5.13 +BuildRequires: trinity-arts-devel >= 3.5.13 +BuildRequires: trinity-tdemultimedia-devel >= 3.5.13 +BuildRequires: qt3-devel >= 3.3.8.d + +Obsoletes: trinity-kdegames < %{version}-%{release} +Provides: trinity-kdegames = %{version}-%{release} +Obsoletes: trinity-kdegames-libs < %{version}-%{release} +Provides: trinity-kdegames-libs = %{version}-%{release} + +Requires: trinity-libtdegames1 = %{version}-%{release} +Requires: trinity-tdegames-card-data = %{version}-%{release} +Requires: trinity-atlantik = %{version}-%{release} +Requires: trinity-kasteroids = %{version}-%{release} +Requires: trinity-katomic = %{version}-%{release} +Requires: trinity-kbackgammon = %{version}-%{release} +Requires: trinity-kbattleship = %{version}-%{release} +Requires: trinity-kblackbox = %{version}-%{release} +Requires: trinity-kbounce = %{version}-%{release} +Requires: trinity-kenolaba = %{version}-%{release} +Requires: trinity-kfouleggs = %{version}-%{release} +Requires: trinity-kgoldrunner = %{version}-%{release} +Requires: trinity-kjumpingcube = %{version}-%{release} +Requires: trinity-klickety = %{version}-%{release} +Requires: trinity-klines = %{version}-%{release} +Requires: trinity-kmahjongg = %{version}-%{release} +Requires: trinity-kmines = %{version}-%{release} +Requires: trinity-knetwalk = %{version}-%{release} +Requires: trinity-kolf = %{version}-%{release} +Requires: trinity-konquest = %{version}-%{release} +Requires: trinity-kpat = %{version}-%{release} +Requires: trinity-kpoker = %{version}-%{release} +Requires: trinity-kreversi = %{version}-%{release} +Requires: trinity-ksame = %{version}-%{release} +Requires: trinity-kshisen = %{version}-%{release} +Requires: trinity-ksirtet = %{version}-%{release} +Requires: trinity-ksmiletris = %{version}-%{release} +Requires: trinity-ksnake = %{version}-%{release} +Requires: trinity-ksokoban = %{version}-%{release} +Requires: trinity-kspaceduel = %{version}-%{release} +Requires: trinity-ktron = %{version}-%{release} +Requires: trinity-ktuberling = %{version}-%{release} +Requires: trinity-twin4 = %{version}-%{release} +Requires: trinity-lskat = %{version}-%{release} + + +%description +Games and gaming libraries for the Trinity Desktop Environment. +Included with this package are: kenolaba, kasteroids, kblackbox, kmahjongg, +kmines, konquest, kpat, kpoker, kreversi, ksame, kshisen, ksmiletris, +ksnake, ksirtet, katomic, kjumpingcube, ktuberling. + +%files + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +License: LGPLv2 + +Requires: %{name} = %{version}-%{release} +Requires: trinity-tdelibs-devel >= 3.5.13 +Requires: trinity-libtdegames-devel = %{version}-%{release} +Requires: trinity-atlantik-devel = %{version}-%{release} +Requires: trinity-kolf-devel = %{version}-%{release} + +Obsoletes: trinity-kdegames-devel < %{version}-%{release} +Provides: trinity-kdegames-devel = %{version}-%{release} + +%description devel +%{summary}. + +Install %{name}-devel if you wish to develop or compile games for the +TDE desktop. + +%files devel +%defattr(-,root,root,-) + +########## + +%package -n trinity-libtdegames1 +Summary: Trinity games library and common files +Group: Amusements/Games + +%description -n trinity-libtdegames1 +This library provides a common infrastructure for several of the +games in the TDE distribution. Features include standardized menu +items, high score handling, card display, and network connections +including chat capabilities. + +This package is part of TDE, and a component of the TDE games module. + +%files -n trinity-libtdegames1 +%defattr(-,root,root,-) +%{tde_libdir}/lib[kt]degames.so.* +%{tde_datadir}/apps/[kt]degames/pics/star.png +%{tde_datadir}/icons/crystalsvg/*/actions/roll.png +%{tde_datadir}/icons/crystalsvg/*/actions/highscore.png +%{tde_tdedocdir}/HTML/en/[kt]degames-apidocs/ + +%post -n trinity-libtdegames1 +for f in crystalsvg ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +/sbin/ldconfig || : + +%postun -n trinity-libtdegames1 +for f in crystalsvg ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +/sbin/ldconfig || : + +########## + +%package -n trinity-libtdegames-devel +Summary: Trinity games library headers +Group: Development/Libraries +Requires: trinity-libtdegames1 = %{version}-%{release} + +%description -n trinity-libtdegames-devel +This package is necessary if you want to develop your own games using +the TDE games library. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-libtdegames-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/*.h +%{tde_tdeincludedir}/kgame +%{tde_libdir}/lib[kt]degames.so +%{tde_libdir}/lib[kt]degames.la + +########## + +%package card-data +Summary: Card decks for Trinity games +Group: Amusements/Games + +%description card-data +Several different collections of card images for use by TDE games. + +This package is part of Trinity, and a component of the TDE games module. + +%files card-data +%defattr(-,root,root,-) +%{tde_datadir}/apps/carddecks/* + +########## + +%package -n trinity-atlantik +Summary: TDE client for Monopoly-like network games +Group: Amusements/Games + +%description -n trinity-atlantik +This is a TDE client for playing Monopoly-like boardgames on the +monopd network. It can play any board supported by the network +server, including the classic Monopoly game, as well as the Atlantik +game in which the property includes several major cities in North +America and Europe. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-atlantik +%defattr(-,root,root,-) +%{tde_bindir}/atlantik +%{tde_libdir}/libatlantic.so.* +%{tde_libdir}/libatlantikclient.so.* +%{tde_libdir}/libatlantikui.so.* +%{tde_tdelibdir}/kio_atlantik.la +%{tde_tdelibdir}/kio_atlantik.so +%{tde_datadir}/services/atlantik.protocol +%{tde_tdeappdir}/atlantik.desktop +%{tde_datadir}/icons/hicolor/*/apps/atlantik.png +%{tde_datadir}/apps/atlantik/ +%{tde_tdedocdir}/HTML/en/atlantik/ + +%post -n trinity-atlantik +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-atlantik +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-atlantik-devel +Summary: Development files for Atlantik +Group: Development/Libraries +Requires: trinity-atlantik = %{version}-%{release} + +%description -n trinity-atlantik-devel +This package contains header files for compiling programs against the +libraries which come with Atlantik. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-atlantik-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/atlantik +%{tde_tdeincludedir}/atlantic +%{tde_libdir}/libatlantic.so +%{tde_libdir}/libatlantic.la +%{tde_libdir}/libatlantikclient.so +%{tde_libdir}/libatlantikclient.la +%{tde_libdir}/libatlantikui.so +%{tde_libdir}/libatlantikui.la + +%post -n trinity-atlantik-devel +/sbin/ldconfig || : + +%postun -n trinity-atlantik-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-kasteroids +Summary: Asteroids for Trinity +Group: Amusements/Games + +%description -n trinity-kasteroids +You know this game. It is based on Warwick Allison's QwSpriteField +widget. + +The objective of kasteroids is to destroy all the asteroids on the +screen to advance to the next level. Your ship is destroyed if it +makes contact with an asteroid. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kasteroids +%defattr(-,root,root,-) +%{tde_bindir}/kasteroids +%{tde_datadir}/icons/hicolor/*/apps/kasteroids.png +%{tde_tdeappdir}/kasteroids.desktop +%{tde_datadir}/apps/kasteroids/ +%{tde_datadir}/config.kcfg/kasteroids.kcfg +%{tde_tdedocdir}/HTML/en/kasteroids/ + +%post -n trinity-kasteroids +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kasteroids +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-katomic +Summary: Atomic Entertainment game for Trinity +Group: Amusements/Games + +%description -n trinity-katomic +This is a puzzle game, in which the object is to assemble a molecule +from its atoms on a Sokoban-like board. On each move, an atom goes +as far as it can in a specified direction before being stopped by a +wall or another atom. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-katomic +%defattr(-,root,root,-) +%{tde_datadir}/apps/katomic/ +%{tde_datadir}/icons/hicolor/*/apps/katomic.png +%{tde_tdeappdir}/katomic.desktop +%{tde_bindir}/katomic +%{tde_tdedocdir}/HTML/en/katomic/ + +%post -n trinity-katomic +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-katomic +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kbackgammon +Summary: A Backgammon game for Trinity +Group: Amusements/Games + +%description -n trinity-kbackgammon +KBackgammon is a backgammon program for Trinity. It is based on the +code, ideas and concepts of KFibs (which is a FIBS client for +TDE1). For a short time, KBackgammon was called bacKgammon (if you +know somebody who is still using bacKgammon, please force them to +upgrade :-)). + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kbackgammon +%defattr(-,root,root,-) +%{tde_bindir}/kbackgammon +%{tde_tdeappdir}/kbackgammon.desktop +%{tde_datadir}/apps/kbackgammon/ +%{tde_datadir}/icons/hicolor/*/apps/kbackgammon.png +%{tde_datadir}/icons/hicolor/*/apps/kbackgammon_engine.png +%{tde_tdedocdir}/HTML/en/kbackgammon/ + +%post -n trinity-kbackgammon +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kbackgammon +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kbattleship +Summary: Battleship game for Trinity +Group: Amusements/Games + +%description -n trinity-kbattleship +This is an implementation of the Battleship game. Each player tries +to be the first to sink all the opponent's ships by firing "blindly" +at them. The game has options to play over a network connection or +against the computer. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kbattleship +%defattr(-,root,root,-) +%{tde_datadir}/apps/kbattleship/ +%{tde_datadir}/apps/zeroconf/_kbattleship._tcp +%{tde_datadir}/icons/hicolor/*/apps/kbattleship.png +%{tde_tdeappdir}/kbattleship.desktop +%{tde_bindir}/kbattleship +%{tde_tdedocdir}/HTML/en/kbattleship/ + +%post -n trinity-kbattleship +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kbattleship +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kblackbox +Summary: A simple logical game for the Trinity project +Group: Amusements/Games + +%description -n trinity-kblackbox +KBlackBox is a game of hide and seek played on an grid of boxes. Your +opponent (Random number generator, in this case) has hidden several +balls within this box. By shooting rays into the box and observing +where they emerge it is possible to deduce the positions of the +hidden balls. The fewer rays you use to find the balls, the lower +your score. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kblackbox +%defattr(-,root,root,-) +%{tde_datadir}/apps/kblackbox/ +%{tde_datadir}/icons/hicolor/*/apps/kblackbox.png +%{tde_tdeappdir}/kblackbox.desktop +%{tde_bindir}/kblackbox +%{tde_tdedocdir}/HTML/en/kblackbox/ + +%post -n trinity-kblackbox +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kblackbox +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kbounce +Summary: Jezzball clone for the K Desktop Environment +Group: Amusements/Games + +%description -n trinity-kbounce +This is a clone of the popular Jezzball game originally created by +Microsoft. Jezzball is one of the rare and simple games requiring +skill, timing, and patience in order to be successful. A ball begins +to bounce off of an area enclosed by four borders (like a +square). You must move your pointer to certain areas within the +square. Upon clicking, a new border is constructed at a relatively +quick pace. You can change the direction of the borders by 90 degrees +as well. Ultimately, you must force the ball to bounce around in a +smaller, and smaller area as time goes by without the ball ever +touching the borders as they are being constructed. If a ball touches +a certain part of the border as it is being built, the game is over. +After 75% of the original space has been blocked off from the moving +ball, you advance one level, and one more ball is added to the mix in +the following level. + +This game was previously known as kjezz. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kbounce +%defattr(-,root,root,-) +%{tde_datadir}/apps/kbounce/ +%{tde_tdeappdir}/kbounce.desktop +%{tde_datadir}/icons/hicolor/*/apps/kbounce.png +%{tde_bindir}/kbounce +%{tde_tdedocdir}/HTML/en/kbounce/ + +%post -n trinity-kbounce +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kbounce +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kenolaba +Summary: Enolaba board game for Trinity +Group: Amusements/Games + +%description -n trinity-kenolaba +kenolaba is a simple board strategy game that is played by two +players. There are red and yellow pieces for each player. Beginning +from a start position where each player has 14 pieces, moves are +drawn until one player has pushed 6 pieces of his opponent out of the +board. + +This game was previously known as kabalone, and was inspired by the +board game Abalone by Abalone SA, France. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kenolaba +%defattr(-,root,root,-) +%{tde_datadir}/apps/kenolaba/ +%{tde_datadir}/icons/hicolor/*/apps/kenolaba.png +%{tde_tdeappdir}/kenolaba.desktop +%{tde_bindir}/kenolaba +%{tde_tdedocdir}/HTML/en/kenolaba/ + +%post -n trinity-kenolaba +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kenolaba +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kfouleggs +Summary: A TDE clone of the Japanese PuyoPuyo game +Group: Amusements/Games + +%description -n trinity-kfouleggs +KFouleggs is a clone of the Japanese PuyoPuyo game, with advanced +features such as multiplayer games against human or AI, and network +play. If you have played Tetris or one of its many clones, you will +find KFouleggs easy to learn. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kfouleggs +%defattr(-,root,root,-) +%{tde_tdeappdir}/kfouleggs.desktop +%{tde_datadir}/apps/kfouleggs/ +%{tde_datadir}/config.kcfg/kfouleggs.kcfg +%{tde_bindir}/kfouleggs +%{tde_datadir}/icons/hicolor/*/apps/kfouleggs.png +%{tde_tdedocdir}/HTML/en/kfouleggs/ + +%post -n trinity-kfouleggs +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kfouleggs +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kgoldrunner +Summary: A Trinity clone of the Loderunner arcade game +Group: Amusements/Games + +%description -n trinity-kgoldrunner +KGoldrunner, a game of action and puzzle solving. Run through the +maze, dodge your enemies, collect all the gold and climb up to the +next level. + +You must guide the hero with the mouse or keyboard and collect all +the gold nuggets, then you can climb up into the next level. Your +enemies are also after the gold and they will kill you if they catch +you! + +The problem is you have no weapon to kill them. All you can do is +run away, dig holes in the floor to trap them or lure them into some +area where they cannot hurt you. After a short time a trapped enemy +climbs out of his hole, but if it closes before that, he will die and +reappear somewhere else. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kgoldrunner +%defattr(-,root,root,-) +%{tde_datadir}/apps/kgoldrunner/ +%{tde_datadir}/icons/hicolor/*/apps/kgoldrunner.png +%{tde_tdeappdir}/KGoldrunner.desktop +%{tde_bindir}/kgoldrunner +%{tde_tdedocdir}/HTML/en/kgoldrunner/ + +%post -n trinity-kgoldrunner +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kgoldrunner +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kjumpingcube +Summary: Tactical one or two player game +Group: Amusements/Games + +%description -n trinity-kjumpingcube +KJumpingCube is a simple tactical game. You can play it against the +computer or against a friend. The playing field consists of squares +that contains points. By clicking on the squares you can increase +the points and if the points reach a maximum the points will jump to +the squares neighbours and take them over. Winner is the one, who +owns all squares. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kjumpingcube +%defattr(-,root,root,-) +%{tde_bindir}/kjumpingcube +%{tde_datadir}/icons/hicolor/*/apps/kjumpingcube.png +%{tde_datadir}/apps/kjumpingcube/ +%{tde_tdeappdir}/kjumpingcube.desktop +%{tde_datadir}/config.kcfg/kjumpingcube.kcfg +%{tde_tdedocdir}/HTML/en/kjumpingcube/ + +%post -n trinity-kjumpingcube +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kjumpingcube +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-klickety +Summary: A Clickomania-like game for Trinity +Group: Amusements/Games + +%description -n trinity-klickety +Klickety is an adaptation of the (perhaps) well-known Clickomania +game; it is very similar to the "same" game. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-klickety +%defattr(-,root,root,-) +%{tde_bindir}/klickety +%{tde_tdeappdir}/klickety.desktop +%{tde_datadir}/icons/hicolor/*/apps/klickety.png +%{tde_datadir}/icons/crystalsvg/*/actions/endturn.png +%{tde_datadir}/apps/klickety/klicketyui.rc +%{tde_datadir}/apps/klickety/eventsrc +%{tde_tdedocdir}/HTML/en/klickety/ + +%post -n trinity-klickety +for f in crystalsvg hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-klickety +for f in crystalsvg hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-klines +Summary: Color lines for Trinity +Group: Amusements/Games + +%description -n trinity-klines +KLines is a simple game. It is played by one player, so there is only +one winner :-). You play for fun and against the high score. It was +inspired by a well known game - "Color lines", written for DOS by +Olga Demina, Igor Demina, Igor Ivkin and Gennady Denisov back in +1992. + +The main rules of the game are as simple as possible: you move (using +the mouse) marbles from cell to cell and build lines (horizontal, +vertical or diagonal). When a line contains 5 or more marbles, they +are removed and your score grows. After each turn the computer drops +three more marbles. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-klines +%defattr(-,root,root,-) +%{tde_datadir}/apps/klines/ +%{tde_tdeappdir}/klines.desktop +%{tde_bindir}/klines +%{tde_datadir}/config.kcfg/klines.kcfg +%{tde_datadir}/icons/hicolor/*/apps/klines.png +%{tde_tdedocdir}/HTML/en/klines/ + +%post -n trinity-klines +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-klines +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kmahjongg +Summary: the classic mahjongg game for Trinity project +Group: Amusements/Games + +%description -n trinity-kmahjongg +Your mission in this game is to remove all tiles from the game board. A +matching pair of tiles can be removed, if they are 'free', which means that +no other tiles block them on the left or right side. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kmahjongg +%defattr(-,root,root,-) +%{tde_datadir}/apps/kmahjongg/ +%{tde_datadir}/icons/hicolor/*/apps/kmahjongg.png +%{tde_tdeappdir}/kmahjongg.desktop +%{tde_bindir}/kmahjongg +%{tde_datadir}/config.kcfg/kmahjongg.kcfg +%{tde_tdedocdir}/HTML/en/kmahjongg/ + +%post -n trinity-kmahjongg +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kmahjongg +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kmines +Summary: Minesweeper for Trinity +Group: Amusements/Games + +%description -n trinity-kmines +KMines is the classic Minesweeper game. You must uncover all the +empty cases without blowing on a mine. + +When you uncover a case, a number appears : it indicates how many +mines surround this case. If there is no number the neighbour cases +are automatically uncovered. In your process of uncovering secure +cases, it is very useful to put a flag on the cases which contain a +mine. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kmines +%defattr(-,root,root,-) +%{tde_datadir}/icons/hicolor/*/apps/kmines.png +%{tde_tdeappdir}/kmines.desktop +%{tde_datadir}/apps/kmines/ +%{tde_bindir}/kmines +%{tde_tdedocdir}/HTML/en/kmines/ + +%post -n trinity-kmines +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kmines +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-knetwalk +Summary: A game for system administrators +Group: Amusements/Games + +%description -n trinity-knetwalk +This game presents the player with a rectangular field consisting of +a server, several clients, and pieces of wire. The object is to +rotate these elements until every client is connected to the server, +and no wires are left unconnected. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-knetwalk +%defattr(-,root,root,-) +%{tde_bindir}/knetwalk +%{tde_datadir}/apps/knetwalk +%{tde_datadir}/icons/hicolor/*/apps/knetwalk.png +%{tde_tdeappdir}/knetwalk.desktop + +%post -n trinity-knetwalk +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-knetwalk +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kolf +Summary: Minigolf game for TDE +Group: Amusements/Games + +%description -n trinity-kolf +This is a minigolf game for TDE that allows you to go through different +golf courses and waste an exorbitant amount of time. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kolf +%defattr(-,root,root,-) +%{tde_datadir}/config/magic/kolf.magic +%{tde_datadir}/apps/kolf/ +%{tde_bindir}/kolf +%{tde_tdeappdir}/kolf.desktop +%{tde_datadir}/icons/hicolor/*/apps/kolf.png +%{tde_datadir}/mimelnk/application/x-kolf.desktop +%{tde_datadir}/mimelnk/application/x-kourse.desktop +%{tde_libdir}/lib[kt]deinit_kolf.so +%{tde_libdir}/lib[kt]deinit_kolf.la +%{tde_tdelibdir}/kolf.la +%{tde_tdelibdir}/kolf.so +%{tde_libdir}/libkolf.so.1 +%{tde_libdir}/libkolf.so.1.2.0 +%{tde_tdedocdir}/HTML/en/kolf/ + +%post -n trinity-kolf +/sbin/ldconfig || : +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kolf +/sbin/ldconfig || : +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kolf-devel +Summary: Development files for Kolf +Group: Development/Libraries +Requires: trinity-kolf = %{version}-%{release} + +%description -n trinity-kolf-devel +This package contains headers and development libraries for compiling +Kolf plugins. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kolf-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kolf +%{tde_libdir}/libkolf.la +%{tde_libdir}/libkolf.so + +%post -n trinity-kolf-devel +/sbin/ldconfig || : + +%postun -n trinity-kolf-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-konquest +Summary: TDE based GNU-Lactic Konquest game +Group: Amusements/Games + +%description -n trinity-konquest +This the TDE version of Gnu-Lactic Konquest, a multi-player strategy +game. The goal of the game is to expand your interstellar empire +across the galaxy and, of course, crush your rivals in the process. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-konquest +%defattr(-,root,root,-) +%{tde_datadir}/apps/konquest/ +%{tde_datadir}/icons/hicolor/*/apps/konquest.png +%{tde_tdeappdir}/konquest.desktop +%{tde_bindir}/konquest +%{tde_tdedocdir}/HTML/en/konquest/ + +%post -n trinity-konquest +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-konquest +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kpat +Summary: Trinity solitaire patience game +Group: Amusements/Games + +%description -n trinity-kpat +KPatience is a collection of 14 card games. All the games are single +player games. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kpat +%defattr(-,root,root,-) +%{tde_datadir}/icons/hicolor/*/apps/kpat.png +%{tde_datadir}/apps/kpat/ +%{tde_tdeappdir}/kpat.desktop +%{tde_bindir}/kpat +%{tde_tdedocdir}/HTML/en/kpat/ + +%post -n trinity-kpat +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kpat +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kpoker +Summary: Trinity based Poker clone +Group: Amusements/Games + +%description -n trinity-kpoker +KPoker is a TDE compliant clone of those highly addictive pocket +video poker games which are sometimes called "Videopoker" as well. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kpoker +%defattr(-,root,root,-) +%{tde_datadir}/apps/kpoker/ +%{tde_datadir}/icons/hicolor/*/apps/kpoker.png +%{tde_tdeappdir}/kpoker.desktop +%{tde_bindir}/kpoker +%{tde_tdedocdir}/HTML/en/kpoker/ + +%post -n trinity-kpoker +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kpoker +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kreversi +Summary: Reversi for Trinity +Group: Amusements/Games + +%description -n trinity-kreversi +Reversi is a simple strategy game that is played by two +players. There is only one type of piece - one side of it is black, +the other white. If a player captures a piece on the board, that +piece is turned and belongs to that player. The winner is the person +that has more pieces of his own color on the board and if there are +no more moves possible. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kreversi +%defattr(-,root,root,-) +%{tde_bindir}/kreversi +%{tde_tdeappdir}/kreversi.desktop +%{tde_datadir}/apps/kreversi/ +%{tde_datadir}/config.kcfg/kreversi.kcfg +%{tde_datadir}/icons/crystalsvg/*/actions/lastmoves.png +%{tde_datadir}/icons/crystalsvg/*/actions/legalmoves.png +%{tde_datadir}/icons/crystalsvg/scalable/actions/lastmoves.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/legalmoves.svgz +%{tde_datadir}/icons/hicolor/*/apps/kreversi.png +%{tde_tdedocdir}/HTML/en/kreversi/ + +%post -n trinity-kreversi +for f in crystalsvg hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kreversi +for f in crystalsvg hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ksame +Summary: SameGame for Trinity +Group: Amusements/Games + +%description -n trinity-ksame +KSame is a simple game. It's played by one player, so there is only +one winner :-) You play for fun and against the high score. It has +been inspired by SameGame, that is only famous on the Macintosh +platform. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-ksame +%defattr(-,root,root,-) +%{tde_bindir}/ksame +%{tde_datadir}/icons/hicolor/*/apps/ksame.png +%{tde_datadir}/apps/ksame/* +%{tde_tdeappdir}/ksame.desktop +%{tde_tdedocdir}/HTML/en/ksame/ + +%post -n trinity-ksame +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ksame +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kshisen +Summary: Shisen-Sho for Trinity +Group: Amusements/Games + +%description -n trinity-kshisen +KShisen-Sho is a single-player-game similar to Mahjongg and uses the +same set of tiles as Mahjongg. + +The object of the game is to remove all tiles from the field. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kshisen +%defattr(-,root,root,-) +%{tde_datadir}/apps/kshisen/ +%{tde_datadir}/config.kcfg/kshisen.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kshisen.png +%{tde_tdeappdir}/kshisen.desktop +%{tde_bindir}/kshisen +%{tde_tdedocdir}/HTML/en/kshisen/ + +%post -n trinity-kshisen +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kshisen +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ksirtet +Summary: Tetris and Puyo-Puyo games for Trinity +Group: Amusements/Games + +%description -n trinity-ksirtet +This program is a clone of the well known game Tetris. You must fit +the falling pieces to form full lines. You can rotate and translate +the falling piece. The game ends when no more piece can fall ie when +your incomplete lines reach the top of the board. + +Every time you have destroyed 10 lines, you gain a level and the +pieces fall quicker (exactly the piece falls from a line each +1/(1+level) second). + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-ksirtet +%defattr(-,root,root,-) +%{tde_tdeappdir}/ksirtet.desktop +%{tde_datadir}/icons/hicolor/*/apps/ksirtet.png +%{tde_datadir}/apps/ksirtet/ +%{tde_bindir}/ksirtet +%{tde_datadir}/config.kcfg/ksirtet.kcfg +%{tde_tdedocdir}/HTML/en/ksirtet/ + +%post -n trinity-ksirtet +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ksirtet +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ksmiletris +Summary: Tetris like game for Trinity +Group: Amusements/Games + +%description -n trinity-ksmiletris +This is a game with falling blocks composed of different types of +smilies. The object of the game is to "crack a smile" by guiding +blocks so there are two or more of the same symbol vertically. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-ksmiletris +%defattr(-,root,root,-) +%{tde_datadir}/apps/ksmiletris/ +%{tde_datadir}/icons/hicolor/*/apps/ksmiletris.png +%{tde_tdeappdir}/ksmiletris.desktop +%{tde_bindir}/ksmiletris +%{tde_tdedocdir}/HTML/en/ksmiletris/ + +%post -n trinity-ksmiletris +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ksmiletris +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ksnake +Summary: Snake Race for Trinity +Group: Amusements/Games + +%description -n trinity-ksnake +Snake Race is a game of speed and agility. You are a hungry snake and +are trying to eat all the apples in the room before getting out! + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-ksnake +%defattr(-,root,root,-) +%{tde_datadir}/apps/ksnake/ +%{tde_datadir}/config.kcfg/ksnake.kcfg +%{tde_datadir}/icons/hicolor/*/apps/ksnake.png +%{tde_tdeappdir}/ksnake.desktop +%{tde_bindir}/ksnake +%{tde_tdedocdir}/HTML/en/ksnake/ + +%post -n trinity-ksnake +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ksnake +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ksokoban +Summary: Sokoban game for Trinity +Group: Amusements/Games + +%description -n trinity-ksokoban +The first sokoban game was created in 1982 by Hiroyuki Imabayashi at +the Japanese company Thinking Rabbit, Inc. "Sokoban" is japanese for +"warehouse keeper". The idea is that you are a warehouse keeper +trying to push crates to their proper locations in a warehouse. + +The problem is that you cannot pull the crates or step over them. If +you are not careful, some of the crates can get stuck in wrong places +and/or block your way. + +It can be rather difficult just to solve a level. But if you want to +make it even harder, you can try to minimise the number of moves +and/or pushes you use to solve the level. + +To make the game more fun for small kids (below 10 years or so), some +collections with easier levels are also included in KSokoban. These +are marked (easy) in the level collection menu. Of course, these +levels can be fun for adults too, for example if you don't want to +expose yourself to too much mental strain. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-ksokoban +%defattr(-,root,root,-) +%{tde_tdeappdir}/ksokoban.desktop +%{tde_datadir}/icons/hicolor/*/apps/ksokoban.png +%{tde_bindir}/ksokoban +%{tde_tdedocdir}/HTML/en/ksokoban/ + +%post -n trinity-ksokoban +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ksokoban +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kspaceduel +Summary: Arcade two-player space game for Trinity +Group: Amusements/Games + +%description -n trinity-kspaceduel +KSpaceduel is an space arcade game for two players. + +Each player controls a ship that flies around the sun and tries to +shoot at the other ship. You can play KSpaceduel with another person, +against the computer, or you can have the computer control both ships +and play each other. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kspaceduel +%defattr(-,root,root,-) +%{tde_datadir}/apps/kspaceduel/ +%{tde_datadir}/icons/hicolor/*/apps/kspaceduel.png +%{tde_tdeappdir}/kspaceduel.desktop +%{tde_bindir}/kspaceduel +%{tde_datadir}/config.kcfg/kspaceduel.kcfg +%{tde_tdedocdir}/HTML/en/kspaceduel/ + +%post -n trinity-kspaceduel +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kspaceduel +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ktron +Summary: Tron clone for the K Desktop Environment +Group: Amusements/Games + +%description -n trinity-ktron +The object of the game is to avoid running into walls, your own tail, +and that of your opponent. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-ktron +%defattr(-,root,root,-) +%{tde_bindir}/ktron +%{tde_datadir}/icons/hicolor/*/apps/ktron.png +%{tde_tdeappdir}/ktron.desktop +%{tde_datadir}/apps/ktron/ +%{tde_datadir}/config.kcfg/ktron.kcfg +%{tde_tdedocdir}/HTML/en/ktron/ + +%post -n trinity-ktron +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ktron +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ktuberling +Summary: Potato Guy for Trinity +Group: Amusements/Games + +%description -n trinity-ktuberling +KTuberling is a game intended for small children. Of course, it may +be suitable for adults who have remained young at heart. + +It is a potato editor. That means that you can drag and drop eyes, +mouths, moustache, and other parts of face and goodies onto a +potato-like guy. Similarly, you have a penguin on which you can drop +other stuff. + +There is no winner for the game. The only purpose is to make the +funniest faces you can. + +There is a museum (like a "Madame Tusseau" gallery) where you can +find many funny examples of decorated potatoes. Of course, you can +send your own creations to the programmer, Eric Bischoff, who will +include them in the museum if he gets some spare time. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-ktuberling +%defattr(-,root,root,-) +%{tde_bindir}/ktuberling +%{tde_datadir}/icons/hicolor/*/apps/ktuberling.png +%{tde_tdeappdir}/ktuberling.desktop +%{tde_datadir}/apps/ktuberling/ +%{tde_datadir}/mimelnk/application/x-tuberling.desktop +%{tde_tdedocdir}/HTML/en/ktuberling/ + +%post -n trinity-ktuberling +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ktuberling +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-twin4 +Summary: Connect Four clone for Trinity +Group: Amusements/Games + +%description -n trinity-twin4 +Four wins is a game for two players. Each player is represented by a +colour (yellow and red). The goal of the game is to get four +connected pieces of your colour into a row, column or any +diagonal. This is done by placing one of your pieces into any of the +seven columns. A piece will begin to fill a column from the bottom, +i.e. it will fall down until it reaches the ground level or another +stone. After a move is done it is the turn of the other player. This +is repeated until the game is over, i.e. one of the players has four +pieces in a row, column or diagonal or no more moves are possible +because the board is filled. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-twin4 +%defattr(-,root,root,-) +%{tde_bindir}/[kt]win4 +%{tde_bindir}/[kt]win4proc +%{tde_datadir}/apps/[kt]win4/ +%{tde_datadir}/config.kcfg/[kt]win4.kcfg +%{tde_datadir}/icons/hicolor/*/apps/[kt]win4.png +%{tde_tdeappdir}/[kt]win4.desktop +%{tde_tdedocdir}/HTML/en/[kt]win4/ + +%post -n trinity-twin4 +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-twin4 +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-lskat +Summary: Lieutnant Skat card game for Trinity +Group: Amusements/Games + +%description -n trinity-lskat +Lieutnant Skat (from German Offiziersskat) is a card game for two +players. It is roughly played according to the rules of Skat but with +only two players and simplified rules. + +Every player has a set of cards in front of him/her, half of them +covered and half of them open. Both players try to win more than 60 +of the 120 possible points. After 16 moves all cards are played and +the game ends. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-lskat +%defattr(-,root,root,-) +%{tde_bindir}/lskat +%{tde_bindir}/lskatproc +%{tde_datadir}/apps/lskat/ +%{tde_datadir}/icons/hicolor/*/apps/lskat.png +%{tde_tdeappdir}/lskat.desktop +%{tde_tdedocdir}/HTML/en/lskat/ + +%post -n trinity-lskat +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-lskat +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + + +%prep +%setup -q -n kdegames +#patch1 -p1 +#patch2 -p1 -b .ftbfs +%patch3 -p1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --enable-new-ldflags \ + --disable-dependency-tracking \ + --disable-rpath \ + --enable-final \ + --disable-debug \ + --disable-warnings \ + --enable-closure \ + --disable-setgid \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# locale's +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi +done +fi + + +%clean +%__rm -rf %{buildroot} + + + + +%changelog +* Mon Aug 27 2012 Francois Andriot - 3.5.13-5 +- Switch to v3.5.13-sru branch + +* Tue Jul 31 2012 Francois Andriot - 3.5.13-4 +- Split into several packages +- Add support for Mageia 2 + +* Sun Dec 04 2011 Francois Andriot - 3.5.13-3 +- Fix ktuberling picture loading [TDE Bug #638] + +* Fri Nov 25 2011 Francois Andriot - 3.5.13-2 +- Fix HTML directory location + +* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 +- Initial release for RHEL 6, RHEL 5 and Fedora 15 + +* Sat Sep 09 2011 Francois Andriot - 3.5.13-0 +- Import to GIT diff --git a/redhat/tdegames/tdegames-3.5.13.2.spec b/redhat/tdegames/tdegames-3.5.13.2.spec new file mode 100644 index 000000000..517b23de4 --- /dev/null +++ b/redhat/tdegames/tdegames-3.5.13.2.spec @@ -0,0 +1,1603 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-tdegames +Summary: Trinity Desktop Environment - Games +Version: 3.5.13.2 +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} + +License: GPLv2 +Group: Amusements/Games + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz + +BuildRequires: autoconf automake libtool m4 +BuildRequires: libtool + +BuildRequires: tqtinterface-devel >= %{version} +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: trinity-tdemultimedia-devel >= %{version} +BuildRequires: qt3-devel + +Obsoletes: trinity-kdegames < %{version}-%{release} +Provides: trinity-kdegames = %{version}-%{release} +Obsoletes: trinity-kdegames-libs < %{version}-%{release} +Provides: trinity-kdegames-libs = %{version}-%{release} + +Requires: trinity-libtdegames1 = %{version}-%{release} +Requires: trinity-tdegames-card-data = %{version}-%{release} +Requires: trinity-atlantik = %{version}-%{release} +Requires: trinity-kasteroids = %{version}-%{release} +Requires: trinity-katomic = %{version}-%{release} +Requires: trinity-kbackgammon = %{version}-%{release} +Requires: trinity-kbattleship = %{version}-%{release} +Requires: trinity-kblackbox = %{version}-%{release} +Requires: trinity-kbounce = %{version}-%{release} +Requires: trinity-kenolaba = %{version}-%{release} +Requires: trinity-kfouleggs = %{version}-%{release} +Requires: trinity-kgoldrunner = %{version}-%{release} +Requires: trinity-kjumpingcube = %{version}-%{release} +Requires: trinity-klickety = %{version}-%{release} +Requires: trinity-klines = %{version}-%{release} +Requires: trinity-kmahjongg = %{version}-%{release} +Requires: trinity-kmines = %{version}-%{release} +Requires: trinity-knetwalk = %{version}-%{release} +Requires: trinity-kolf = %{version}-%{release} +Requires: trinity-konquest = %{version}-%{release} +Requires: trinity-kpat = %{version}-%{release} +Requires: trinity-kpoker = %{version}-%{release} +Requires: trinity-kreversi = %{version}-%{release} +Requires: trinity-ksame = %{version}-%{release} +Requires: trinity-kshisen = %{version}-%{release} +Requires: trinity-ksirtet = %{version}-%{release} +Requires: trinity-ksmiletris = %{version}-%{release} +Requires: trinity-ksnake = %{version}-%{release} +Requires: trinity-ksokoban = %{version}-%{release} +Requires: trinity-kspaceduel = %{version}-%{release} +Requires: trinity-ktron = %{version}-%{release} +Requires: trinity-ktuberling = %{version}-%{release} +Requires: trinity-twin4 = %{version}-%{release} +Requires: trinity-lskat = %{version}-%{release} + + +%description +Games and gaming libraries for the Trinity Desktop Environment. +Included with this package are: kenolaba, kasteroids, kblackbox, kmahjongg, +kmines, konquest, kpat, kpoker, kreversi, ksame, kshisen, ksmiletris, +ksnake, ksirtet, katomic, kjumpingcube, ktuberling. + +%files + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +License: LGPLv2 + +Requires: %{name} = %{version}-%{release} +Requires: trinity-tdelibs-devel >= 3.5.13 +Requires: trinity-libtdegames-devel = %{version}-%{release} +Requires: trinity-atlantik-devel = %{version}-%{release} +Requires: trinity-kolf-devel = %{version}-%{release} + +Obsoletes: trinity-kdegames-devel < %{version}-%{release} +Provides: trinity-kdegames-devel = %{version}-%{release} + +%description devel +%{summary}. + +Install %{name}-devel if you wish to develop or compile games for the +TDE desktop. + +%files devel +%defattr(-,root,root,-) + +########## + +%package -n trinity-libtdegames1 +Summary: Trinity games library and common files +Group: Amusements/Games + +%description -n trinity-libtdegames1 +This library provides a common infrastructure for several of the +games in the TDE distribution. Features include standardized menu +items, high score handling, card display, and network connections +including chat capabilities. + +This package is part of TDE, and a component of the TDE games module. + +%files -n trinity-libtdegames1 +%defattr(-,root,root,-) +%{tde_libdir}/lib[kt]degames.so.* +%{tde_datadir}/apps/[kt]degames/pics/star.png +%{tde_datadir}/icons/crystalsvg/*/actions/roll.png +%{tde_datadir}/icons/crystalsvg/*/actions/highscore.png +#%{tde_tdedocdir}/HTML/en/%{name}-%{version}-apidocs/ + +%post -n trinity-libtdegames1 +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +/sbin/ldconfig || : + +%postun -n trinity-libtdegames1 +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +/sbin/ldconfig || : + +########## + +%package -n trinity-libtdegames-devel +Summary: Trinity games library headers +Group: Development/Libraries +Requires: trinity-libtdegames1 = %{version}-%{release} + +%description -n trinity-libtdegames-devel +This package is necessary if you want to develop your own games using +the TDE games library. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-libtdegames-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/*.h +%{tde_tdeincludedir}/kgame +%{tde_libdir}/lib[kt]degames.so +%{tde_libdir}/lib[kt]degames.la + +########## + +%package card-data +Summary: Card decks for Trinity games +Group: Amusements/Games + +%description card-data +Several different collections of card images for use by TDE games. + +This package is part of Trinity, and a component of the TDE games module. + +%files card-data +%defattr(-,root,root,-) +%{tde_datadir}/apps/carddecks/* + +########## + +%package -n trinity-atlantik +Summary: TDE client for Monopoly-like network games +Group: Amusements/Games + +%description -n trinity-atlantik +This is a TDE client for playing Monopoly-like boardgames on the +monopd network. It can play any board supported by the network +server, including the classic Monopoly game, as well as the Atlantik +game in which the property includes several major cities in North +America and Europe. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-atlantik +%defattr(-,root,root,-) +%{tde_bindir}/atlantik +%{tde_libdir}/libatlantic.so.* +%{tde_libdir}/libatlantikclient.so.* +%{tde_libdir}/libatlantikui.so.* +%{tde_tdelibdir}/kio_atlantik.la +%{tde_tdelibdir}/kio_atlantik.so +%{tde_datadir}/services/atlantik.protocol +%{tde_tdeappdir}/atlantik.desktop +%{tde_datadir}/icons/hicolor/*/apps/atlantik.png +%{tde_datadir}/apps/atlantik/ +%{tde_tdedocdir}/HTML/en/atlantik/ + +%post -n trinity-atlantik +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-atlantik +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-atlantik-devel +Summary: Development files for Atlantik +Group: Development/Libraries +Requires: trinity-atlantik = %{version}-%{release} + +%description -n trinity-atlantik-devel +This package contains header files for compiling programs against the +libraries which come with Atlantik. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-atlantik-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/atlantik +%{tde_tdeincludedir}/atlantic +%{tde_libdir}/libatlantic.so +%{tde_libdir}/libatlantic.la +%{tde_libdir}/libatlantikclient.so +%{tde_libdir}/libatlantikclient.la +%{tde_libdir}/libatlantikui.so +%{tde_libdir}/libatlantikui.la + +%post -n trinity-atlantik-devel +/sbin/ldconfig || : + +%postun -n trinity-atlantik-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-kasteroids +Summary: Asteroids for Trinity +Group: Amusements/Games + +%description -n trinity-kasteroids +You know this game. It is based on Warwick Allison's QwSpriteField +widget. + +The objective of kasteroids is to destroy all the asteroids on the +screen to advance to the next level. Your ship is destroyed if it +makes contact with an asteroid. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kasteroids +%defattr(-,root,root,-) +%{tde_bindir}/kasteroids +%{tde_datadir}/icons/hicolor/*/apps/kasteroids.png +%{tde_tdeappdir}/kasteroids.desktop +%{tde_datadir}/apps/kasteroids/ +%{tde_datadir}/config.kcfg/kasteroids.kcfg +%{tde_tdedocdir}/HTML/en/kasteroids/ + +%post -n trinity-kasteroids +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kasteroids +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-katomic +Summary: Atomic Entertainment game for Trinity +Group: Amusements/Games + +%description -n trinity-katomic +This is a puzzle game, in which the object is to assemble a molecule +from its atoms on a Sokoban-like board. On each move, an atom goes +as far as it can in a specified direction before being stopped by a +wall or another atom. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-katomic +%defattr(-,root,root,-) +%{tde_datadir}/apps/katomic/ +%{tde_datadir}/icons/hicolor/*/apps/katomic.png +%{tde_tdeappdir}/katomic.desktop +%{tde_bindir}/katomic +%{tde_tdedocdir}/HTML/en/katomic/ + +%post -n trinity-katomic +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-katomic +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kbackgammon +Summary: A Backgammon game for Trinity +Group: Amusements/Games + +%description -n trinity-kbackgammon +KBackgammon is a backgammon program for Trinity. It is based on the +code, ideas and concepts of KFibs (which is a FIBS client for +TDE1). For a short time, KBackgammon was called bacKgammon (if you +know somebody who is still using bacKgammon, please force them to +upgrade :-)). + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kbackgammon +%defattr(-,root,root,-) +%{tde_bindir}/kbackgammon +%{tde_tdeappdir}/kbackgammon.desktop +%{tde_datadir}/apps/kbackgammon/ +%{tde_datadir}/icons/hicolor/*/apps/kbackgammon.png +%{tde_datadir}/icons/hicolor/*/apps/kbackgammon_engine.png +%{tde_tdedocdir}/HTML/en/kbackgammon/ + +%post -n trinity-kbackgammon +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kbackgammon +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kbattleship +Summary: Battleship game for Trinity +Group: Amusements/Games + +%description -n trinity-kbattleship +This is an implementation of the Battleship game. Each player tries +to be the first to sink all the opponent's ships by firing "blindly" +at them. The game has options to play over a network connection or +against the computer. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kbattleship +%defattr(-,root,root,-) +%{tde_datadir}/apps/kbattleship/ +%{tde_datadir}/apps/zeroconf/_kbattleship._tcp +%{tde_datadir}/icons/hicolor/*/apps/kbattleship.png +%{tde_tdeappdir}/kbattleship.desktop +%{tde_bindir}/kbattleship +%{tde_tdedocdir}/HTML/en/kbattleship/ + +%post -n trinity-kbattleship +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kbattleship +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kblackbox +Summary: A simple logical game for the Trinity project +Group: Amusements/Games + +%description -n trinity-kblackbox +KBlackBox is a game of hide and seek played on an grid of boxes. Your +opponent (Random number generator, in this case) has hidden several +balls within this box. By shooting rays into the box and observing +where they emerge it is possible to deduce the positions of the +hidden balls. The fewer rays you use to find the balls, the lower +your score. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kblackbox +%defattr(-,root,root,-) +%{tde_datadir}/apps/kblackbox/ +%{tde_datadir}/icons/hicolor/*/apps/kblackbox.png +%{tde_tdeappdir}/kblackbox.desktop +%{tde_bindir}/kblackbox +%{tde_tdedocdir}/HTML/en/kblackbox/ + +%post -n trinity-kblackbox +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kblackbox +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kbounce +Summary: Jezzball clone for the K Desktop Environment +Group: Amusements/Games + +%description -n trinity-kbounce +This is a clone of the popular Jezzball game originally created by +Microsoft. Jezzball is one of the rare and simple games requiring +skill, timing, and patience in order to be successful. A ball begins +to bounce off of an area enclosed by four borders (like a +square). You must move your pointer to certain areas within the +square. Upon clicking, a new border is constructed at a relatively +quick pace. You can change the direction of the borders by 90 degrees +as well. Ultimately, you must force the ball to bounce around in a +smaller, and smaller area as time goes by without the ball ever +touching the borders as they are being constructed. If a ball touches +a certain part of the border as it is being built, the game is over. +After 75% of the original space has been blocked off from the moving +ball, you advance one level, and one more ball is added to the mix in +the following level. + +This game was previously known as kjezz. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kbounce +%defattr(-,root,root,-) +%{tde_datadir}/apps/kbounce/ +%{tde_tdeappdir}/kbounce.desktop +%{tde_datadir}/icons/hicolor/*/apps/kbounce.png +%{tde_bindir}/kbounce +%{tde_tdedocdir}/HTML/en/kbounce/ + +%post -n trinity-kbounce +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kbounce +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kenolaba +Summary: Enolaba board game for Trinity +Group: Amusements/Games + +%description -n trinity-kenolaba +kenolaba is a simple board strategy game that is played by two +players. There are red and yellow pieces for each player. Beginning +from a start position where each player has 14 pieces, moves are +drawn until one player has pushed 6 pieces of his opponent out of the +board. + +This game was previously known as kabalone, and was inspired by the +board game Abalone by Abalone SA, France. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kenolaba +%defattr(-,root,root,-) +%{tde_datadir}/apps/kenolaba/ +%{tde_datadir}/icons/hicolor/*/apps/kenolaba.png +%{tde_tdeappdir}/kenolaba.desktop +%{tde_bindir}/kenolaba +%{tde_tdedocdir}/HTML/en/kenolaba/ + +%post -n trinity-kenolaba +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kenolaba +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kfouleggs +Summary: A TDE clone of the Japanese PuyoPuyo game +Group: Amusements/Games + +%description -n trinity-kfouleggs +KFouleggs is a clone of the Japanese PuyoPuyo game, with advanced +features such as multiplayer games against human or AI, and network +play. If you have played Tetris or one of its many clones, you will +find KFouleggs easy to learn. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kfouleggs +%defattr(-,root,root,-) +%{tde_tdeappdir}/kfouleggs.desktop +%{tde_datadir}/apps/kfouleggs/ +%{tde_datadir}/config.kcfg/kfouleggs.kcfg +%{tde_bindir}/kfouleggs +%{tde_datadir}/icons/hicolor/*/apps/kfouleggs.png +%{tde_tdedocdir}/HTML/en/kfouleggs/ + +%post -n trinity-kfouleggs +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kfouleggs +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kgoldrunner +Summary: A Trinity clone of the Loderunner arcade game +Group: Amusements/Games + +%description -n trinity-kgoldrunner +KGoldrunner, a game of action and puzzle solving. Run through the +maze, dodge your enemies, collect all the gold and climb up to the +next level. + +You must guide the hero with the mouse or keyboard and collect all +the gold nuggets, then you can climb up into the next level. Your +enemies are also after the gold and they will kill you if they catch +you! + +The problem is you have no weapon to kill them. All you can do is +run away, dig holes in the floor to trap them or lure them into some +area where they cannot hurt you. After a short time a trapped enemy +climbs out of his hole, but if it closes before that, he will die and +reappear somewhere else. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kgoldrunner +%defattr(-,root,root,-) +%{tde_datadir}/apps/kgoldrunner/ +%{tde_datadir}/icons/hicolor/*/apps/kgoldrunner.png +%{tde_tdeappdir}/KGoldrunner.desktop +%{tde_bindir}/kgoldrunner +%{tde_tdedocdir}/HTML/en/kgoldrunner/ + +%post -n trinity-kgoldrunner +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kgoldrunner +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kjumpingcube +Summary: Tactical one or two player game +Group: Amusements/Games + +%description -n trinity-kjumpingcube +KJumpingCube is a simple tactical game. You can play it against the +computer or against a friend. The playing field consists of squares +that contains points. By clicking on the squares you can increase +the points and if the points reach a maximum the points will jump to +the squares neighbours and take them over. Winner is the one, who +owns all squares. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kjumpingcube +%defattr(-,root,root,-) +%{tde_bindir}/kjumpingcube +%{tde_datadir}/icons/hicolor/*/apps/kjumpingcube.png +%{tde_datadir}/apps/kjumpingcube/ +%{tde_tdeappdir}/kjumpingcube.desktop +%{tde_datadir}/config.kcfg/kjumpingcube.kcfg +%{tde_tdedocdir}/HTML/en/kjumpingcube/ + +%post -n trinity-kjumpingcube +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kjumpingcube +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-klickety +Summary: A Clickomania-like game for Trinity +Group: Amusements/Games + +%description -n trinity-klickety +Klickety is an adaptation of the (perhaps) well-known Clickomania +game; it is very similar to the "same" game. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-klickety +%defattr(-,root,root,-) +%{tde_bindir}/klickety +%{tde_tdeappdir}/klickety.desktop +%{tde_datadir}/icons/hicolor/*/apps/klickety.png +%{tde_datadir}/icons/crystalsvg/*/actions/endturn.png +%{tde_datadir}/apps/klickety/klicketyui.rc +%{tde_datadir}/apps/klickety/eventsrc +%{tde_tdedocdir}/HTML/en/klickety/ + +%post -n trinity-klickety +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-klickety +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-klines +Summary: Color lines for Trinity +Group: Amusements/Games + +%description -n trinity-klines +KLines is a simple game. It is played by one player, so there is only +one winner :-). You play for fun and against the high score. It was +inspired by a well known game - "Color lines", written for DOS by +Olga Demina, Igor Demina, Igor Ivkin and Gennady Denisov back in +1992. + +The main rules of the game are as simple as possible: you move (using +the mouse) marbles from cell to cell and build lines (horizontal, +vertical or diagonal). When a line contains 5 or more marbles, they +are removed and your score grows. After each turn the computer drops +three more marbles. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-klines +%defattr(-,root,root,-) +%{tde_datadir}/apps/klines/ +%{tde_tdeappdir}/klines.desktop +%{tde_bindir}/klines +%{tde_datadir}/config.kcfg/klines.kcfg +%{tde_datadir}/icons/hicolor/*/apps/klines.png +%{tde_tdedocdir}/HTML/en/klines/ + +%post -n trinity-klines +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-klines +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kmahjongg +Summary: the classic mahjongg game for Trinity project +Group: Amusements/Games + +%description -n trinity-kmahjongg +Your mission in this game is to remove all tiles from the game board. A +matching pair of tiles can be removed, if they are 'free', which means that +no other tiles block them on the left or right side. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kmahjongg +%defattr(-,root,root,-) +%{tde_datadir}/apps/kmahjongg/ +%{tde_datadir}/icons/hicolor/*/apps/kmahjongg.png +%{tde_tdeappdir}/kmahjongg.desktop +%{tde_bindir}/kmahjongg +%{tde_datadir}/config.kcfg/kmahjongg.kcfg +%{tde_tdedocdir}/HTML/en/kmahjongg/ + +%post -n trinity-kmahjongg +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kmahjongg +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kmines +Summary: Minesweeper for Trinity +Group: Amusements/Games + +%description -n trinity-kmines +KMines is the classic Minesweeper game. You must uncover all the +empty cases without blowing on a mine. + +When you uncover a case, a number appears : it indicates how many +mines surround this case. If there is no number the neighbour cases +are automatically uncovered. In your process of uncovering secure +cases, it is very useful to put a flag on the cases which contain a +mine. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kmines +%defattr(-,root,root,-) +%{tde_datadir}/icons/hicolor/*/apps/kmines.png +%{tde_tdeappdir}/kmines.desktop +%{tde_datadir}/apps/kmines/ +%{tde_bindir}/kmines +%{tde_tdedocdir}/HTML/en/kmines/ + +%post -n trinity-kmines +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kmines +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-knetwalk +Summary: A game for system administrators +Group: Amusements/Games + +%description -n trinity-knetwalk +This game presents the player with a rectangular field consisting of +a server, several clients, and pieces of wire. The object is to +rotate these elements until every client is connected to the server, +and no wires are left unconnected. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-knetwalk +%defattr(-,root,root,-) +%{tde_bindir}/knetwalk +%{tde_datadir}/apps/knetwalk +%{tde_datadir}/icons/hicolor/*/apps/knetwalk.png +%{tde_tdeappdir}/knetwalk.desktop + +%post -n trinity-knetwalk +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-knetwalk +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kolf +Summary: Minigolf game for TDE +Group: Amusements/Games + +%description -n trinity-kolf +This is a minigolf game for TDE that allows you to go through different +golf courses and waste an exorbitant amount of time. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kolf +%defattr(-,root,root,-) +%{tde_datadir}/config/magic/kolf.magic +%{tde_datadir}/apps/kolf/ +%{tde_bindir}/kolf +%{tde_tdeappdir}/kolf.desktop +%{tde_datadir}/icons/hicolor/*/apps/kolf.png +%{tde_datadir}/mimelnk/application/x-kolf.desktop +%{tde_datadir}/mimelnk/application/x-kourse.desktop +%{tde_libdir}/lib[kt]deinit_kolf.so +%{tde_libdir}/lib[kt]deinit_kolf.la +%{tde_tdelibdir}/kolf.la +%{tde_tdelibdir}/kolf.so +%{tde_libdir}/libkolf.so.1 +%{tde_libdir}/libkolf.so.1.2.0 +%{tde_tdedocdir}/HTML/en/kolf/ + +%post -n trinity-kolf +/sbin/ldconfig || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kolf +/sbin/ldconfig || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kolf-devel +Summary: Development files for Kolf +Group: Development/Libraries +Requires: trinity-kolf = %{version}-%{release} + +%description -n trinity-kolf-devel +This package contains headers and development libraries for compiling +Kolf plugins. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kolf-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kolf +%{tde_libdir}/libkolf.la +%{tde_libdir}/libkolf.so + +%post -n trinity-kolf-devel +/sbin/ldconfig || : + +%postun -n trinity-kolf-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-konquest +Summary: TDE based GNU-Lactic Konquest game +Group: Amusements/Games + +%description -n trinity-konquest +This the TDE version of Gnu-Lactic Konquest, a multi-player strategy +game. The goal of the game is to expand your interstellar empire +across the galaxy and, of course, crush your rivals in the process. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-konquest +%defattr(-,root,root,-) +%{tde_datadir}/apps/konquest/ +%{tde_datadir}/icons/hicolor/*/apps/konquest.png +%{tde_tdeappdir}/konquest.desktop +%{tde_bindir}/konquest +%{tde_tdedocdir}/HTML/en/konquest/ + +%post -n trinity-konquest +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-konquest +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kpat +Summary: Trinity solitaire patience game +Group: Amusements/Games + +%description -n trinity-kpat +KPatience is a collection of 14 card games. All the games are single +player games. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kpat +%defattr(-,root,root,-) +%{tde_datadir}/icons/hicolor/*/apps/kpat.png +%{tde_datadir}/apps/kpat/ +%{tde_tdeappdir}/kpat.desktop +%{tde_bindir}/kpat +%{tde_tdedocdir}/HTML/en/kpat/ + +%post -n trinity-kpat +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kpat +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kpoker +Summary: Trinity based Poker clone +Group: Amusements/Games + +%description -n trinity-kpoker +KPoker is a TDE compliant clone of those highly addictive pocket +video poker games which are sometimes called "Videopoker" as well. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kpoker +%defattr(-,root,root,-) +%{tde_datadir}/apps/kpoker/ +%{tde_datadir}/icons/hicolor/*/apps/kpoker.png +%{tde_tdeappdir}/kpoker.desktop +%{tde_bindir}/kpoker +%{tde_tdedocdir}/HTML/en/kpoker/ + +%post -n trinity-kpoker +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kpoker +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kreversi +Summary: Reversi for Trinity +Group: Amusements/Games + +%description -n trinity-kreversi +Reversi is a simple strategy game that is played by two +players. There is only one type of piece - one side of it is black, +the other white. If a player captures a piece on the board, that +piece is turned and belongs to that player. The winner is the person +that has more pieces of his own color on the board and if there are +no more moves possible. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kreversi +%defattr(-,root,root,-) +%{tde_bindir}/kreversi +%{tde_tdeappdir}/kreversi.desktop +%{tde_datadir}/apps/kreversi/ +%{tde_datadir}/config.kcfg/kreversi.kcfg +%{tde_datadir}/icons/crystalsvg/*/actions/lastmoves.png +%{tde_datadir}/icons/crystalsvg/*/actions/legalmoves.png +%{tde_datadir}/icons/crystalsvg/scalable/actions/lastmoves.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/legalmoves.svgz +%{tde_datadir}/icons/hicolor/*/apps/kreversi.png +%{tde_tdedocdir}/HTML/en/kreversi/ + +%post -n trinity-kreversi +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kreversi +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ksame +Summary: SameGame for Trinity +Group: Amusements/Games + +%description -n trinity-ksame +KSame is a simple game. It's played by one player, so there is only +one winner :-) You play for fun and against the high score. It has +been inspired by SameGame, that is only famous on the Macintosh +platform. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-ksame +%defattr(-,root,root,-) +%{tde_bindir}/ksame +%{tde_datadir}/icons/hicolor/*/apps/ksame.png +%{tde_datadir}/apps/ksame/* +%{tde_tdeappdir}/ksame.desktop +%{tde_tdedocdir}/HTML/en/ksame/ + +%post -n trinity-ksame +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ksame +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kshisen +Summary: Shisen-Sho for Trinity +Group: Amusements/Games + +%description -n trinity-kshisen +KShisen-Sho is a single-player-game similar to Mahjongg and uses the +same set of tiles as Mahjongg. + +The object of the game is to remove all tiles from the field. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kshisen +%defattr(-,root,root,-) +%{tde_datadir}/apps/kshisen/ +%{tde_datadir}/config.kcfg/kshisen.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kshisen.png +%{tde_tdeappdir}/kshisen.desktop +%{tde_bindir}/kshisen +%{tde_tdedocdir}/HTML/en/kshisen/ + +%post -n trinity-kshisen +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kshisen +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ksirtet +Summary: Tetris and Puyo-Puyo games for Trinity +Group: Amusements/Games + +%description -n trinity-ksirtet +This program is a clone of the well known game Tetris. You must fit +the falling pieces to form full lines. You can rotate and translate +the falling piece. The game ends when no more piece can fall ie when +your incomplete lines reach the top of the board. + +Every time you have destroyed 10 lines, you gain a level and the +pieces fall quicker (exactly the piece falls from a line each +1/(1+level) second). + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-ksirtet +%defattr(-,root,root,-) +%{tde_tdeappdir}/ksirtet.desktop +%{tde_datadir}/icons/hicolor/*/apps/ksirtet.png +%{tde_datadir}/apps/ksirtet/ +%{tde_bindir}/ksirtet +%{tde_datadir}/config.kcfg/ksirtet.kcfg +%{tde_tdedocdir}/HTML/en/ksirtet/ + +%post -n trinity-ksirtet +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ksirtet +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ksmiletris +Summary: Tetris like game for Trinity +Group: Amusements/Games + +%description -n trinity-ksmiletris +This is a game with falling blocks composed of different types of +smilies. The object of the game is to "crack a smile" by guiding +blocks so there are two or more of the same symbol vertically. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-ksmiletris +%defattr(-,root,root,-) +%{tde_datadir}/apps/ksmiletris/ +%{tde_datadir}/icons/hicolor/*/apps/ksmiletris.png +%{tde_tdeappdir}/ksmiletris.desktop +%{tde_bindir}/ksmiletris +%{tde_tdedocdir}/HTML/en/ksmiletris/ + +%post -n trinity-ksmiletris +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ksmiletris +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ksnake +Summary: Snake Race for Trinity +Group: Amusements/Games + +%description -n trinity-ksnake +Snake Race is a game of speed and agility. You are a hungry snake and +are trying to eat all the apples in the room before getting out! + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-ksnake +%defattr(-,root,root,-) +%{tde_datadir}/apps/ksnake/ +%{tde_datadir}/config.kcfg/ksnake.kcfg +%{tde_datadir}/icons/hicolor/*/apps/ksnake.png +%{tde_tdeappdir}/ksnake.desktop +%{tde_bindir}/ksnake +%{tde_tdedocdir}/HTML/en/ksnake/ + +%post -n trinity-ksnake +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ksnake +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ksokoban +Summary: Sokoban game for Trinity +Group: Amusements/Games + +%description -n trinity-ksokoban +The first sokoban game was created in 1982 by Hiroyuki Imabayashi at +the Japanese company Thinking Rabbit, Inc. "Sokoban" is japanese for +"warehouse keeper". The idea is that you are a warehouse keeper +trying to push crates to their proper locations in a warehouse. + +The problem is that you cannot pull the crates or step over them. If +you are not careful, some of the crates can get stuck in wrong places +and/or block your way. + +It can be rather difficult just to solve a level. But if you want to +make it even harder, you can try to minimise the number of moves +and/or pushes you use to solve the level. + +To make the game more fun for small kids (below 10 years or so), some +collections with easier levels are also included in KSokoban. These +are marked (easy) in the level collection menu. Of course, these +levels can be fun for adults too, for example if you don't want to +expose yourself to too much mental strain. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-ksokoban +%defattr(-,root,root,-) +%{tde_tdeappdir}/ksokoban.desktop +%{tde_datadir}/icons/hicolor/*/apps/ksokoban.png +%{tde_bindir}/ksokoban +%{tde_tdedocdir}/HTML/en/ksokoban/ + +%post -n trinity-ksokoban +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ksokoban +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kspaceduel +Summary: Arcade two-player space game for Trinity +Group: Amusements/Games + +%description -n trinity-kspaceduel +KSpaceduel is an space arcade game for two players. + +Each player controls a ship that flies around the sun and tries to +shoot at the other ship. You can play KSpaceduel with another person, +against the computer, or you can have the computer control both ships +and play each other. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-kspaceduel +%defattr(-,root,root,-) +%{tde_datadir}/apps/kspaceduel/ +%{tde_datadir}/icons/hicolor/*/apps/kspaceduel.png +%{tde_tdeappdir}/kspaceduel.desktop +%{tde_bindir}/kspaceduel +%{tde_datadir}/config.kcfg/kspaceduel.kcfg +%{tde_tdedocdir}/HTML/en/kspaceduel/ + +%post -n trinity-kspaceduel +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kspaceduel +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ktron +Summary: Tron clone for the K Desktop Environment +Group: Amusements/Games + +%description -n trinity-ktron +The object of the game is to avoid running into walls, your own tail, +and that of your opponent. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-ktron +%defattr(-,root,root,-) +%{tde_bindir}/ktron +%{tde_datadir}/icons/hicolor/*/apps/ktron.png +%{tde_tdeappdir}/ktron.desktop +%{tde_datadir}/apps/ktron/ +%{tde_datadir}/config.kcfg/ktron.kcfg +%{tde_tdedocdir}/HTML/en/ktron/ + +%post -n trinity-ktron +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ktron +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ktuberling +Summary: Potato Guy for Trinity +Group: Amusements/Games + +%description -n trinity-ktuberling +KTuberling is a game intended for small children. Of course, it may +be suitable for adults who have remained young at heart. + +It is a potato editor. That means that you can drag and drop eyes, +mouths, moustache, and other parts of face and goodies onto a +potato-like guy. Similarly, you have a penguin on which you can drop +other stuff. + +There is no winner for the game. The only purpose is to make the +funniest faces you can. + +There is a museum (like a "Madame Tusseau" gallery) where you can +find many funny examples of decorated potatoes. Of course, you can +send your own creations to the programmer, Eric Bischoff, who will +include them in the museum if he gets some spare time. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-ktuberling +%defattr(-,root,root,-) +%{tde_bindir}/ktuberling +%{tde_datadir}/icons/hicolor/*/apps/ktuberling.png +%{tde_tdeappdir}/ktuberling.desktop +%{tde_datadir}/apps/ktuberling/ +%{tde_datadir}/mimelnk/application/x-tuberling.desktop +%{tde_tdedocdir}/HTML/en/ktuberling/ + +%post -n trinity-ktuberling +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ktuberling +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-twin4 +Summary: Connect Four clone for Trinity +Group: Amusements/Games + +%description -n trinity-twin4 +Four wins is a game for two players. Each player is represented by a +colour (yellow and red). The goal of the game is to get four +connected pieces of your colour into a row, column or any +diagonal. This is done by placing one of your pieces into any of the +seven columns. A piece will begin to fill a column from the bottom, +i.e. it will fall down until it reaches the ground level or another +stone. After a move is done it is the turn of the other player. This +is repeated until the game is over, i.e. one of the players has four +pieces in a row, column or diagonal or no more moves are possible +because the board is filled. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-twin4 +%defattr(-,root,root,-) +%{tde_bindir}/[kt]win4 +%{tde_bindir}/[kt]win4proc +%{tde_datadir}/apps/[kt]win4/ +%{tde_datadir}/config.kcfg/[kt]win4.kcfg +%{tde_datadir}/icons/hicolor/*/apps/[kt]win4.png +%{tde_tdeappdir}/[kt]win4.desktop +%{tde_tdedocdir}/HTML/en/[kt]win4/ + +%post -n trinity-twin4 +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-twin4 +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-lskat +Summary: Lieutnant Skat card game for Trinity +Group: Amusements/Games + +%description -n trinity-lskat +Lieutnant Skat (from German Offiziersskat) is a card game for two +players. It is roughly played according to the rules of Skat but with +only two players and simplified rules. + +Every player has a set of cards in front of him/her, half of them +covered and half of them open. Both players try to win more than 60 +of the 120 possible points. After 16 moves all cards are played and +the game ends. + +This package is part of Trinity, and a component of the TDE games module. + +%files -n trinity-lskat +%defattr(-,root,root,-) +%{tde_bindir}/lskat +%{tde_bindir}/lskatproc +%{tde_datadir}/apps/lskat/ +%{tde_datadir}/icons/hicolor/*/apps/lskat.png +%{tde_tdeappdir}/lskat.desktop +%{tde_tdedocdir}/HTML/en/lskat/ + +%post -n trinity-lskat +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-lskat +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +# Do not build against any "/usr" installed KDE +export KDEDIR="%{tde_prefix}" + +# Specific path for RHEL4 +if [ -d "/usr/X11R6" ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --enable-new-ldflags \ + --disable-dependency-tracking \ + --disable-rpath \ + --enable-final \ + --disable-debug \ + --disable-warnings \ + --enable-closure \ + --disable-setgid \ + --with-extra-includes=%{tde_includedir}/tqt + +# WTF hack for RHEL4 +%if 0%{?rhel} == 4 +mkdir atlantik/libatlantic/.libs +ln -s . atlantik/libatlantic/.libs/.libs +%endif + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} + +# locale's +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi +done +fi + + +%clean +%__rm -rf %{buildroot} + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 +- Initial release for TDE 3.5.13.2 diff --git a/redhat/tdegames/trinity-kdegames-3.5.12.spec b/redhat/tdegames/trinity-kdegames-3.5.12.spec deleted file mode 100644 index 148a3c7d2..000000000 --- a/redhat/tdegames/trinity-kdegames-3.5.12.spec +++ /dev/null @@ -1,196 +0,0 @@ -# Default version for this component -%if "%{?version}" == "" -%define version 3.5.12 -%endif -%define release 2 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_includedir %{_includedir}/kde -%define tde_libdir %{_libdir}/kde3 - - -Name: trinity-kdegames -Summary: Trinity Desktop Environment - Games -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} - -License: GPLv2 -Group: Amusements/Games - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source: kdegames-%{version}.tar.gz - -Provides: kdegames3 = %{version}-%{release} - -Requires: %{name}-libs = %{version}-%{release} - -BuildRequires: trinity-kdelibs-devel - -%description -Games and gaming libraries for the K Desktop Environment. -Included with this package are: kenolaba, kasteroids, kblackbox, kmahjongg, -kmines, konquest, kpat, kpoker, kreversi, ksame, kshisen, ksmiletris, -ksnake, ksirtet, katomic, kjumpingcube, ktuberling. - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -License: LGPLv2 -Provides: kdegames3-devel = %{version}-%{release} -Requires: %{name}-libs = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: trinity-kdelibs-devel -%description devel -%{summary}. -Install %{name}-devel if you wish to develop or compile games for the -KDE desktop. - -%package libs -Summary: %{name} runtime libraries -Group: System Environment/Libraries -Requires: trinity-kdelibs -License: LGPLv2 -# include to paranoid, installing libs-only is still mostly untested -- Rex -#Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} -%description libs -%{summary}. - - - -%prep -%setup -q -n kdegames - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -%if 0%{?fedora} > 0 -export CXXFLAGS="${CXXFLAGS} -lkio" -%endif - -%configure \ - --enable-new-ldflags \ - --disable-dependency-tracking \ - --disable-rpath \ - --enable-final \ - --disable-debug \ - --disable-warnings \ - --includedir=%{_includedir}/kde \ - --disable-setgid \ - --with-extra-includes=%{_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# locale's -%find_lang %{name} || touch %{name}.lang -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common - done - popd - fi -done -fi - -# rpmdocs -for dir in k* lskat ; do - for file in AUTHORS ChangeLog README TODO ; do - test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file" - done -done - - -%clean -%__rm -rf %{buildroot} - - -%post -for f in crystalsvg hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -for f in crystalsvg hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%post libs -/sbin/ldconfig - -%postun libs -/sbin/ldconfig - - -%files -f %{name}.lang -%defattr(-,root,root,-) -%doc AUTHORS README COPYING -%doc rpmdocs/* -%{_bindir}/* -%{_datadir}/applications/kde/*.desktop -%{_datadir}/apps/* -%{_datadir}/config*/* -%{_datadir}/icons/crystalsvg/*/*/* -%{_datadir}/icons/hicolor/*/*/* -%{_datadir}/mimelnk/*/* -%{_datadir}/service*/* -%{tde_libdir}/* -%{_libdir}/libkdeinit_*.so - -%files libs -%defattr(-,root,root,-) -%{_libdir}/lib*.so.* -%{_libdir}/lib*.la - -%files devel -%defattr(-,root,root,-) -%doc COPYING.LIB -%doc libkdegames/README libkdegames/TODO -%{tde_includedir}/* -%{_libdir}/lib*.so -%exclude %{_libdir}/libkdeinit_*.so - - -%changelog -* Mon Sep 19 2011 Francois Andriot - 3.5.12-2 -- Add support for RHEL5 - -* Sun Sep 11 2011 Francois Andriot - 3.5.12-1 -- Initial build for RHEL 6 -- Spec file based on Fedora 8 "kdegames-3.5.10-1" -- Import to GIT diff --git a/redhat/tdegames/trinity-kdegames-3.5.13.1.spec b/redhat/tdegames/trinity-kdegames-3.5.13.1.spec deleted file mode 100644 index d8dffc2ad..000000000 --- a/redhat/tdegames/trinity-kdegames-3.5.13.1.spec +++ /dev/null @@ -1,1604 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-tdegames -Summary: Trinity Desktop Environment - Games -Version: 3.5.13.1 -Release: 1%{?dist}%{?_variant} - -License: GPLv2 -Group: Amusements/Games - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source: kdegames-3.5.13.1.tar.gz - -BuildRequires: autoconf automake libtool m4 -BuildRequires: trinity-tdelibs-devel -BuildRequires: libtool - -BuildRequires: tqtinterface-devel >= %{version} -BuildRequires: trinity-arts-devel >= %{version} -BuildRequires: trinity-tdemultimedia-devel >= %{version} -BuildRequires: qt3-devel - -Obsoletes: trinity-kdegames < %{version}-%{release} -Provides: trinity-kdegames = %{version}-%{release} -Obsoletes: trinity-kdegames-libs < %{version}-%{release} -Provides: trinity-kdegames-libs = %{version}-%{release} - -Requires: trinity-libtdegames1 = %{version}-%{release} -Requires: trinity-tdegames-card-data = %{version}-%{release} -Requires: trinity-atlantik = %{version}-%{release} -Requires: trinity-kasteroids = %{version}-%{release} -Requires: trinity-katomic = %{version}-%{release} -Requires: trinity-kbackgammon = %{version}-%{release} -Requires: trinity-kbattleship = %{version}-%{release} -Requires: trinity-kblackbox = %{version}-%{release} -Requires: trinity-kbounce = %{version}-%{release} -Requires: trinity-kenolaba = %{version}-%{release} -Requires: trinity-kfouleggs = %{version}-%{release} -Requires: trinity-kgoldrunner = %{version}-%{release} -Requires: trinity-kjumpingcube = %{version}-%{release} -Requires: trinity-klickety = %{version}-%{release} -Requires: trinity-klines = %{version}-%{release} -Requires: trinity-kmahjongg = %{version}-%{release} -Requires: trinity-kmines = %{version}-%{release} -Requires: trinity-knetwalk = %{version}-%{release} -Requires: trinity-kolf = %{version}-%{release} -Requires: trinity-konquest = %{version}-%{release} -Requires: trinity-kpat = %{version}-%{release} -Requires: trinity-kpoker = %{version}-%{release} -Requires: trinity-kreversi = %{version}-%{release} -Requires: trinity-ksame = %{version}-%{release} -Requires: trinity-kshisen = %{version}-%{release} -Requires: trinity-ksirtet = %{version}-%{release} -Requires: trinity-ksmiletris = %{version}-%{release} -Requires: trinity-ksnake = %{version}-%{release} -Requires: trinity-ksokoban = %{version}-%{release} -Requires: trinity-kspaceduel = %{version}-%{release} -Requires: trinity-ktron = %{version}-%{release} -Requires: trinity-ktuberling = %{version}-%{release} -Requires: trinity-twin4 = %{version}-%{release} -Requires: trinity-lskat = %{version}-%{release} - - -%description -Games and gaming libraries for the Trinity Desktop Environment. -Included with this package are: kenolaba, kasteroids, kblackbox, kmahjongg, -kmines, konquest, kpat, kpoker, kreversi, ksame, kshisen, ksmiletris, -ksnake, ksirtet, katomic, kjumpingcube, ktuberling. - -%files - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -License: LGPLv2 - -Requires: %{name} = %{version}-%{release} -Requires: trinity-tdelibs-devel >= 3.5.13 -Requires: trinity-libtdegames-devel = %{version}-%{release} -Requires: trinity-atlantik-devel = %{version}-%{release} -Requires: trinity-kolf-devel = %{version}-%{release} - -Obsoletes: trinity-kdegames-devel < %{version}-%{release} -Provides: trinity-kdegames-devel = %{version}-%{release} - -%description devel -%{summary}. - -Install %{name}-devel if you wish to develop or compile games for the -TDE desktop. - -%files devel -%defattr(-,root,root,-) - -########## - -%package -n trinity-libtdegames1 -Summary: Trinity games library and common files -Group: Amusements/Games - -%description -n trinity-libtdegames1 -This library provides a common infrastructure for several of the -games in the TDE distribution. Features include standardized menu -items, high score handling, card display, and network connections -including chat capabilities. - -This package is part of TDE, and a component of the TDE games module. - -%files -n trinity-libtdegames1 -%defattr(-,root,root,-) -%{tde_libdir}/lib[kt]degames.so.* -%{tde_datadir}/apps/[kt]degames/pics/star.png -%{tde_datadir}/icons/crystalsvg/*/actions/roll.png -%{tde_datadir}/icons/crystalsvg/*/actions/highscore.png -%{tde_tdedocdir}/HTML/en/[kt]degames-3.5.13.1-apidocs/ - -%post -n trinity-libtdegames1 -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -/sbin/ldconfig || : - -%postun -n trinity-libtdegames1 -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -/sbin/ldconfig || : - -########## - -%package -n trinity-libtdegames-devel -Summary: Trinity games library headers -Group: Development/Libraries -Requires: trinity-libtdegames1 = %{version}-%{release} - -%description -n trinity-libtdegames-devel -This package is necessary if you want to develop your own games using -the TDE games library. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-libtdegames-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/*.h -%{tde_tdeincludedir}/kgame -%{tde_libdir}/lib[kt]degames.so -%{tde_libdir}/lib[kt]degames.la - -########## - -%package card-data -Summary: Card decks for Trinity games -Group: Amusements/Games - -%description card-data -Several different collections of card images for use by TDE games. - -This package is part of Trinity, and a component of the TDE games module. - -%files card-data -%defattr(-,root,root,-) -%{tde_datadir}/apps/carddecks/* - -########## - -%package -n trinity-atlantik -Summary: TDE client for Monopoly-like network games -Group: Amusements/Games - -%description -n trinity-atlantik -This is a TDE client for playing Monopoly-like boardgames on the -monopd network. It can play any board supported by the network -server, including the classic Monopoly game, as well as the Atlantik -game in which the property includes several major cities in North -America and Europe. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-atlantik -%defattr(-,root,root,-) -%{tde_bindir}/atlantik -%{tde_libdir}/libatlantic.so.* -%{tde_libdir}/libatlantikclient.so.* -%{tde_libdir}/libatlantikui.so.* -%{tde_tdelibdir}/kio_atlantik.la -%{tde_tdelibdir}/kio_atlantik.so -%{tde_datadir}/services/atlantik.protocol -%{tde_tdeappdir}/atlantik.desktop -%{tde_datadir}/icons/hicolor/*/apps/atlantik.png -%{tde_datadir}/apps/atlantik/ -%{tde_tdedocdir}/HTML/en/atlantik/ - -%post -n trinity-atlantik -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-atlantik -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-atlantik-devel -Summary: Development files for Atlantik -Group: Development/Libraries -Requires: trinity-atlantik = %{version}-%{release} - -%description -n trinity-atlantik-devel -This package contains header files for compiling programs against the -libraries which come with Atlantik. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-atlantik-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/atlantik -%{tde_tdeincludedir}/atlantic -%{tde_libdir}/libatlantic.so -%{tde_libdir}/libatlantic.la -%{tde_libdir}/libatlantikclient.so -%{tde_libdir}/libatlantikclient.la -%{tde_libdir}/libatlantikui.so -%{tde_libdir}/libatlantikui.la - -%post -n trinity-atlantik-devel -/sbin/ldconfig || : - -%postun -n trinity-atlantik-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kasteroids -Summary: Asteroids for Trinity -Group: Amusements/Games - -%description -n trinity-kasteroids -You know this game. It is based on Warwick Allison's QwSpriteField -widget. - -The objective of kasteroids is to destroy all the asteroids on the -screen to advance to the next level. Your ship is destroyed if it -makes contact with an asteroid. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kasteroids -%defattr(-,root,root,-) -%{tde_bindir}/kasteroids -%{tde_datadir}/icons/hicolor/*/apps/kasteroids.png -%{tde_tdeappdir}/kasteroids.desktop -%{tde_datadir}/apps/kasteroids/ -%{tde_datadir}/config.kcfg/kasteroids.kcfg -%{tde_tdedocdir}/HTML/en/kasteroids/ - -%post -n trinity-kasteroids -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kasteroids -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-katomic -Summary: Atomic Entertainment game for Trinity -Group: Amusements/Games - -%description -n trinity-katomic -This is a puzzle game, in which the object is to assemble a molecule -from its atoms on a Sokoban-like board. On each move, an atom goes -as far as it can in a specified direction before being stopped by a -wall or another atom. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-katomic -%defattr(-,root,root,-) -%{tde_datadir}/apps/katomic/ -%{tde_datadir}/icons/hicolor/*/apps/katomic.png -%{tde_tdeappdir}/katomic.desktop -%{tde_bindir}/katomic -%{tde_tdedocdir}/HTML/en/katomic/ - -%post -n trinity-katomic -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-katomic -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kbackgammon -Summary: A Backgammon game for Trinity -Group: Amusements/Games - -%description -n trinity-kbackgammon -KBackgammon is a backgammon program for Trinity. It is based on the -code, ideas and concepts of KFibs (which is a FIBS client for -TDE1). For a short time, KBackgammon was called bacKgammon (if you -know somebody who is still using bacKgammon, please force them to -upgrade :-)). - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kbackgammon -%defattr(-,root,root,-) -%{tde_bindir}/kbackgammon -%{tde_tdeappdir}/kbackgammon.desktop -%{tde_datadir}/apps/kbackgammon/ -%{tde_datadir}/icons/hicolor/*/apps/kbackgammon.png -%{tde_datadir}/icons/hicolor/*/apps/kbackgammon_engine.png -%{tde_tdedocdir}/HTML/en/kbackgammon/ - -%post -n trinity-kbackgammon -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kbackgammon -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kbattleship -Summary: Battleship game for Trinity -Group: Amusements/Games - -%description -n trinity-kbattleship -This is an implementation of the Battleship game. Each player tries -to be the first to sink all the opponent's ships by firing "blindly" -at them. The game has options to play over a network connection or -against the computer. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kbattleship -%defattr(-,root,root,-) -%{tde_datadir}/apps/kbattleship/ -%{tde_datadir}/apps/zeroconf/_kbattleship._tcp -%{tde_datadir}/icons/hicolor/*/apps/kbattleship.png -%{tde_tdeappdir}/kbattleship.desktop -%{tde_bindir}/kbattleship -%{tde_tdedocdir}/HTML/en/kbattleship/ - -%post -n trinity-kbattleship -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kbattleship -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kblackbox -Summary: A simple logical game for the Trinity project -Group: Amusements/Games - -%description -n trinity-kblackbox -KBlackBox is a game of hide and seek played on an grid of boxes. Your -opponent (Random number generator, in this case) has hidden several -balls within this box. By shooting rays into the box and observing -where they emerge it is possible to deduce the positions of the -hidden balls. The fewer rays you use to find the balls, the lower -your score. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kblackbox -%defattr(-,root,root,-) -%{tde_datadir}/apps/kblackbox/ -%{tde_datadir}/icons/hicolor/*/apps/kblackbox.png -%{tde_tdeappdir}/kblackbox.desktop -%{tde_bindir}/kblackbox -%{tde_tdedocdir}/HTML/en/kblackbox/ - -%post -n trinity-kblackbox -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kblackbox -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kbounce -Summary: Jezzball clone for the K Desktop Environment -Group: Amusements/Games - -%description -n trinity-kbounce -This is a clone of the popular Jezzball game originally created by -Microsoft. Jezzball is one of the rare and simple games requiring -skill, timing, and patience in order to be successful. A ball begins -to bounce off of an area enclosed by four borders (like a -square). You must move your pointer to certain areas within the -square. Upon clicking, a new border is constructed at a relatively -quick pace. You can change the direction of the borders by 90 degrees -as well. Ultimately, you must force the ball to bounce around in a -smaller, and smaller area as time goes by without the ball ever -touching the borders as they are being constructed. If a ball touches -a certain part of the border as it is being built, the game is over. -After 75% of the original space has been blocked off from the moving -ball, you advance one level, and one more ball is added to the mix in -the following level. - -This game was previously known as kjezz. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kbounce -%defattr(-,root,root,-) -%{tde_datadir}/apps/kbounce/ -%{tde_tdeappdir}/kbounce.desktop -%{tde_datadir}/icons/hicolor/*/apps/kbounce.png -%{tde_bindir}/kbounce -%{tde_tdedocdir}/HTML/en/kbounce/ - -%post -n trinity-kbounce -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kbounce -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kenolaba -Summary: Enolaba board game for Trinity -Group: Amusements/Games - -%description -n trinity-kenolaba -kenolaba is a simple board strategy game that is played by two -players. There are red and yellow pieces for each player. Beginning -from a start position where each player has 14 pieces, moves are -drawn until one player has pushed 6 pieces of his opponent out of the -board. - -This game was previously known as kabalone, and was inspired by the -board game Abalone by Abalone SA, France. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kenolaba -%defattr(-,root,root,-) -%{tde_datadir}/apps/kenolaba/ -%{tde_datadir}/icons/hicolor/*/apps/kenolaba.png -%{tde_tdeappdir}/kenolaba.desktop -%{tde_bindir}/kenolaba -%{tde_tdedocdir}/HTML/en/kenolaba/ - -%post -n trinity-kenolaba -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kenolaba -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kfouleggs -Summary: A TDE clone of the Japanese PuyoPuyo game -Group: Amusements/Games - -%description -n trinity-kfouleggs -KFouleggs is a clone of the Japanese PuyoPuyo game, with advanced -features such as multiplayer games against human or AI, and network -play. If you have played Tetris or one of its many clones, you will -find KFouleggs easy to learn. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kfouleggs -%defattr(-,root,root,-) -%{tde_tdeappdir}/kfouleggs.desktop -%{tde_datadir}/apps/kfouleggs/ -%{tde_datadir}/config.kcfg/kfouleggs.kcfg -%{tde_bindir}/kfouleggs -%{tde_datadir}/icons/hicolor/*/apps/kfouleggs.png -%{tde_tdedocdir}/HTML/en/kfouleggs/ - -%post -n trinity-kfouleggs -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kfouleggs -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kgoldrunner -Summary: A Trinity clone of the Loderunner arcade game -Group: Amusements/Games - -%description -n trinity-kgoldrunner -KGoldrunner, a game of action and puzzle solving. Run through the -maze, dodge your enemies, collect all the gold and climb up to the -next level. - -You must guide the hero with the mouse or keyboard and collect all -the gold nuggets, then you can climb up into the next level. Your -enemies are also after the gold and they will kill you if they catch -you! - -The problem is you have no weapon to kill them. All you can do is -run away, dig holes in the floor to trap them or lure them into some -area where they cannot hurt you. After a short time a trapped enemy -climbs out of his hole, but if it closes before that, he will die and -reappear somewhere else. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kgoldrunner -%defattr(-,root,root,-) -%{tde_datadir}/apps/kgoldrunner/ -%{tde_datadir}/icons/hicolor/*/apps/kgoldrunner.png -%{tde_tdeappdir}/KGoldrunner.desktop -%{tde_bindir}/kgoldrunner -%{tde_tdedocdir}/HTML/en/kgoldrunner/ - -%post -n trinity-kgoldrunner -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kgoldrunner -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kjumpingcube -Summary: Tactical one or two player game -Group: Amusements/Games - -%description -n trinity-kjumpingcube -KJumpingCube is a simple tactical game. You can play it against the -computer or against a friend. The playing field consists of squares -that contains points. By clicking on the squares you can increase -the points and if the points reach a maximum the points will jump to -the squares neighbours and take them over. Winner is the one, who -owns all squares. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kjumpingcube -%defattr(-,root,root,-) -%{tde_bindir}/kjumpingcube -%{tde_datadir}/icons/hicolor/*/apps/kjumpingcube.png -%{tde_datadir}/apps/kjumpingcube/ -%{tde_tdeappdir}/kjumpingcube.desktop -%{tde_datadir}/config.kcfg/kjumpingcube.kcfg -%{tde_tdedocdir}/HTML/en/kjumpingcube/ - -%post -n trinity-kjumpingcube -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kjumpingcube -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-klickety -Summary: A Clickomania-like game for Trinity -Group: Amusements/Games - -%description -n trinity-klickety -Klickety is an adaptation of the (perhaps) well-known Clickomania -game; it is very similar to the "same" game. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-klickety -%defattr(-,root,root,-) -%{tde_bindir}/klickety -%{tde_tdeappdir}/klickety.desktop -%{tde_datadir}/icons/hicolor/*/apps/klickety.png -%{tde_datadir}/icons/crystalsvg/*/actions/endturn.png -%{tde_datadir}/apps/klickety/klicketyui.rc -%{tde_datadir}/apps/klickety/eventsrc -%{tde_tdedocdir}/HTML/en/klickety/ - -%post -n trinity-klickety -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-klickety -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-klines -Summary: Color lines for Trinity -Group: Amusements/Games - -%description -n trinity-klines -KLines is a simple game. It is played by one player, so there is only -one winner :-). You play for fun and against the high score. It was -inspired by a well known game - "Color lines", written for DOS by -Olga Demina, Igor Demina, Igor Ivkin and Gennady Denisov back in -1992. - -The main rules of the game are as simple as possible: you move (using -the mouse) marbles from cell to cell and build lines (horizontal, -vertical or diagonal). When a line contains 5 or more marbles, they -are removed and your score grows. After each turn the computer drops -three more marbles. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-klines -%defattr(-,root,root,-) -%{tde_datadir}/apps/klines/ -%{tde_tdeappdir}/klines.desktop -%{tde_bindir}/klines -%{tde_datadir}/config.kcfg/klines.kcfg -%{tde_datadir}/icons/hicolor/*/apps/klines.png -%{tde_tdedocdir}/HTML/en/klines/ - -%post -n trinity-klines -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-klines -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kmahjongg -Summary: the classic mahjongg game for Trinity project -Group: Amusements/Games - -%description -n trinity-kmahjongg -Your mission in this game is to remove all tiles from the game board. A -matching pair of tiles can be removed, if they are 'free', which means that -no other tiles block them on the left or right side. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kmahjongg -%defattr(-,root,root,-) -%{tde_datadir}/apps/kmahjongg/ -%{tde_datadir}/icons/hicolor/*/apps/kmahjongg.png -%{tde_tdeappdir}/kmahjongg.desktop -%{tde_bindir}/kmahjongg -%{tde_datadir}/config.kcfg/kmahjongg.kcfg -%{tde_tdedocdir}/HTML/en/kmahjongg/ - -%post -n trinity-kmahjongg -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kmahjongg -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kmines -Summary: Minesweeper for Trinity -Group: Amusements/Games - -%description -n trinity-kmines -KMines is the classic Minesweeper game. You must uncover all the -empty cases without blowing on a mine. - -When you uncover a case, a number appears : it indicates how many -mines surround this case. If there is no number the neighbour cases -are automatically uncovered. In your process of uncovering secure -cases, it is very useful to put a flag on the cases which contain a -mine. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kmines -%defattr(-,root,root,-) -%{tde_datadir}/icons/hicolor/*/apps/kmines.png -%{tde_tdeappdir}/kmines.desktop -%{tde_datadir}/apps/kmines/ -%{tde_bindir}/kmines -%{tde_tdedocdir}/HTML/en/kmines/ - -%post -n trinity-kmines -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kmines -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-knetwalk -Summary: A game for system administrators -Group: Amusements/Games - -%description -n trinity-knetwalk -This game presents the player with a rectangular field consisting of -a server, several clients, and pieces of wire. The object is to -rotate these elements until every client is connected to the server, -and no wires are left unconnected. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-knetwalk -%defattr(-,root,root,-) -%{tde_bindir}/knetwalk -%{tde_datadir}/apps/knetwalk -%{tde_datadir}/icons/hicolor/*/apps/knetwalk.png -%{tde_tdeappdir}/knetwalk.desktop - -%post -n trinity-knetwalk -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-knetwalk -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kolf -Summary: Minigolf game for TDE -Group: Amusements/Games - -%description -n trinity-kolf -This is a minigolf game for TDE that allows you to go through different -golf courses and waste an exorbitant amount of time. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kolf -%defattr(-,root,root,-) -%{tde_datadir}/config/magic/kolf.magic -%{tde_datadir}/apps/kolf/ -%{tde_bindir}/kolf -%{tde_tdeappdir}/kolf.desktop -%{tde_datadir}/icons/hicolor/*/apps/kolf.png -%{tde_datadir}/mimelnk/application/x-kolf.desktop -%{tde_datadir}/mimelnk/application/x-kourse.desktop -%{tde_libdir}/lib[kt]deinit_kolf.so -%{tde_libdir}/lib[kt]deinit_kolf.la -%{tde_tdelibdir}/kolf.la -%{tde_tdelibdir}/kolf.so -%{tde_libdir}/libkolf.so.1 -%{tde_libdir}/libkolf.so.1.2.0 -%{tde_tdedocdir}/HTML/en/kolf/ - -%post -n trinity-kolf -/sbin/ldconfig || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kolf -/sbin/ldconfig || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kolf-devel -Summary: Development files for Kolf -Group: Development/Libraries -Requires: trinity-kolf = %{version}-%{release} - -%description -n trinity-kolf-devel -This package contains headers and development libraries for compiling -Kolf plugins. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kolf-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kolf -%{tde_libdir}/libkolf.la -%{tde_libdir}/libkolf.so - -%post -n trinity-kolf-devel -/sbin/ldconfig || : - -%postun -n trinity-kolf-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-konquest -Summary: TDE based GNU-Lactic Konquest game -Group: Amusements/Games - -%description -n trinity-konquest -This the TDE version of Gnu-Lactic Konquest, a multi-player strategy -game. The goal of the game is to expand your interstellar empire -across the galaxy and, of course, crush your rivals in the process. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-konquest -%defattr(-,root,root,-) -%{tde_datadir}/apps/konquest/ -%{tde_datadir}/icons/hicolor/*/apps/konquest.png -%{tde_tdeappdir}/konquest.desktop -%{tde_bindir}/konquest -%{tde_tdedocdir}/HTML/en/konquest/ - -%post -n trinity-konquest -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-konquest -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kpat -Summary: Trinity solitaire patience game -Group: Amusements/Games - -%description -n trinity-kpat -KPatience is a collection of 14 card games. All the games are single -player games. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kpat -%defattr(-,root,root,-) -%{tde_datadir}/icons/hicolor/*/apps/kpat.png -%{tde_datadir}/apps/kpat/ -%{tde_tdeappdir}/kpat.desktop -%{tde_bindir}/kpat -%{tde_tdedocdir}/HTML/en/kpat/ - -%post -n trinity-kpat -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kpat -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kpoker -Summary: Trinity based Poker clone -Group: Amusements/Games - -%description -n trinity-kpoker -KPoker is a TDE compliant clone of those highly addictive pocket -video poker games which are sometimes called "Videopoker" as well. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kpoker -%defattr(-,root,root,-) -%{tde_datadir}/apps/kpoker/ -%{tde_datadir}/icons/hicolor/*/apps/kpoker.png -%{tde_tdeappdir}/kpoker.desktop -%{tde_bindir}/kpoker -%{tde_tdedocdir}/HTML/en/kpoker/ - -%post -n trinity-kpoker -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kpoker -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kreversi -Summary: Reversi for Trinity -Group: Amusements/Games - -%description -n trinity-kreversi -Reversi is a simple strategy game that is played by two -players. There is only one type of piece - one side of it is black, -the other white. If a player captures a piece on the board, that -piece is turned and belongs to that player. The winner is the person -that has more pieces of his own color on the board and if there are -no more moves possible. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kreversi -%defattr(-,root,root,-) -%{tde_bindir}/kreversi -%{tde_tdeappdir}/kreversi.desktop -%{tde_datadir}/apps/kreversi/ -%{tde_datadir}/config.kcfg/kreversi.kcfg -%{tde_datadir}/icons/crystalsvg/*/actions/lastmoves.png -%{tde_datadir}/icons/crystalsvg/*/actions/legalmoves.png -%{tde_datadir}/icons/crystalsvg/scalable/actions/lastmoves.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/legalmoves.svgz -%{tde_datadir}/icons/hicolor/*/apps/kreversi.png -%{tde_tdedocdir}/HTML/en/kreversi/ - -%post -n trinity-kreversi -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kreversi -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ksame -Summary: SameGame for Trinity -Group: Amusements/Games - -%description -n trinity-ksame -KSame is a simple game. It's played by one player, so there is only -one winner :-) You play for fun and against the high score. It has -been inspired by SameGame, that is only famous on the Macintosh -platform. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-ksame -%defattr(-,root,root,-) -%{tde_bindir}/ksame -%{tde_datadir}/icons/hicolor/*/apps/ksame.png -%{tde_datadir}/apps/ksame/* -%{tde_tdeappdir}/ksame.desktop -%{tde_tdedocdir}/HTML/en/ksame/ - -%post -n trinity-ksame -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ksame -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kshisen -Summary: Shisen-Sho for Trinity -Group: Amusements/Games - -%description -n trinity-kshisen -KShisen-Sho is a single-player-game similar to Mahjongg and uses the -same set of tiles as Mahjongg. - -The object of the game is to remove all tiles from the field. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kshisen -%defattr(-,root,root,-) -%{tde_datadir}/apps/kshisen/ -%{tde_datadir}/config.kcfg/kshisen.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kshisen.png -%{tde_tdeappdir}/kshisen.desktop -%{tde_bindir}/kshisen -%{tde_tdedocdir}/HTML/en/kshisen/ - -%post -n trinity-kshisen -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kshisen -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ksirtet -Summary: Tetris and Puyo-Puyo games for Trinity -Group: Amusements/Games - -%description -n trinity-ksirtet -This program is a clone of the well known game Tetris. You must fit -the falling pieces to form full lines. You can rotate and translate -the falling piece. The game ends when no more piece can fall ie when -your incomplete lines reach the top of the board. - -Every time you have destroyed 10 lines, you gain a level and the -pieces fall quicker (exactly the piece falls from a line each -1/(1+level) second). - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-ksirtet -%defattr(-,root,root,-) -%{tde_tdeappdir}/ksirtet.desktop -%{tde_datadir}/icons/hicolor/*/apps/ksirtet.png -%{tde_datadir}/apps/ksirtet/ -%{tde_bindir}/ksirtet -%{tde_datadir}/config.kcfg/ksirtet.kcfg -%{tde_tdedocdir}/HTML/en/ksirtet/ - -%post -n trinity-ksirtet -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ksirtet -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ksmiletris -Summary: Tetris like game for Trinity -Group: Amusements/Games - -%description -n trinity-ksmiletris -This is a game with falling blocks composed of different types of -smilies. The object of the game is to "crack a smile" by guiding -blocks so there are two or more of the same symbol vertically. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-ksmiletris -%defattr(-,root,root,-) -%{tde_datadir}/apps/ksmiletris/ -%{tde_datadir}/icons/hicolor/*/apps/ksmiletris.png -%{tde_tdeappdir}/ksmiletris.desktop -%{tde_bindir}/ksmiletris -%{tde_tdedocdir}/HTML/en/ksmiletris/ - -%post -n trinity-ksmiletris -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ksmiletris -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ksnake -Summary: Snake Race for Trinity -Group: Amusements/Games - -%description -n trinity-ksnake -Snake Race is a game of speed and agility. You are a hungry snake and -are trying to eat all the apples in the room before getting out! - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-ksnake -%defattr(-,root,root,-) -%{tde_datadir}/apps/ksnake/ -%{tde_datadir}/config.kcfg/ksnake.kcfg -%{tde_datadir}/icons/hicolor/*/apps/ksnake.png -%{tde_tdeappdir}/ksnake.desktop -%{tde_bindir}/ksnake -%{tde_tdedocdir}/HTML/en/ksnake/ - -%post -n trinity-ksnake -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ksnake -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ksokoban -Summary: Sokoban game for Trinity -Group: Amusements/Games - -%description -n trinity-ksokoban -The first sokoban game was created in 1982 by Hiroyuki Imabayashi at -the Japanese company Thinking Rabbit, Inc. "Sokoban" is japanese for -"warehouse keeper". The idea is that you are a warehouse keeper -trying to push crates to their proper locations in a warehouse. - -The problem is that you cannot pull the crates or step over them. If -you are not careful, some of the crates can get stuck in wrong places -and/or block your way. - -It can be rather difficult just to solve a level. But if you want to -make it even harder, you can try to minimise the number of moves -and/or pushes you use to solve the level. - -To make the game more fun for small kids (below 10 years or so), some -collections with easier levels are also included in KSokoban. These -are marked (easy) in the level collection menu. Of course, these -levels can be fun for adults too, for example if you don't want to -expose yourself to too much mental strain. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-ksokoban -%defattr(-,root,root,-) -%{tde_tdeappdir}/ksokoban.desktop -%{tde_datadir}/icons/hicolor/*/apps/ksokoban.png -%{tde_bindir}/ksokoban -%{tde_tdedocdir}/HTML/en/ksokoban/ - -%post -n trinity-ksokoban -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ksokoban -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kspaceduel -Summary: Arcade two-player space game for Trinity -Group: Amusements/Games - -%description -n trinity-kspaceduel -KSpaceduel is an space arcade game for two players. - -Each player controls a ship that flies around the sun and tries to -shoot at the other ship. You can play KSpaceduel with another person, -against the computer, or you can have the computer control both ships -and play each other. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kspaceduel -%defattr(-,root,root,-) -%{tde_datadir}/apps/kspaceduel/ -%{tde_datadir}/icons/hicolor/*/apps/kspaceduel.png -%{tde_tdeappdir}/kspaceduel.desktop -%{tde_bindir}/kspaceduel -%{tde_datadir}/config.kcfg/kspaceduel.kcfg -%{tde_tdedocdir}/HTML/en/kspaceduel/ - -%post -n trinity-kspaceduel -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kspaceduel -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ktron -Summary: Tron clone for the K Desktop Environment -Group: Amusements/Games - -%description -n trinity-ktron -The object of the game is to avoid running into walls, your own tail, -and that of your opponent. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-ktron -%defattr(-,root,root,-) -%{tde_bindir}/ktron -%{tde_datadir}/icons/hicolor/*/apps/ktron.png -%{tde_tdeappdir}/ktron.desktop -%{tde_datadir}/apps/ktron/ -%{tde_datadir}/config.kcfg/ktron.kcfg -%{tde_tdedocdir}/HTML/en/ktron/ - -%post -n trinity-ktron -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ktron -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ktuberling -Summary: Potato Guy for Trinity -Group: Amusements/Games - -%description -n trinity-ktuberling -KTuberling is a game intended for small children. Of course, it may -be suitable for adults who have remained young at heart. - -It is a potato editor. That means that you can drag and drop eyes, -mouths, moustache, and other parts of face and goodies onto a -potato-like guy. Similarly, you have a penguin on which you can drop -other stuff. - -There is no winner for the game. The only purpose is to make the -funniest faces you can. - -There is a museum (like a "Madame Tusseau" gallery) where you can -find many funny examples of decorated potatoes. Of course, you can -send your own creations to the programmer, Eric Bischoff, who will -include them in the museum if he gets some spare time. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-ktuberling -%defattr(-,root,root,-) -%{tde_bindir}/ktuberling -%{tde_datadir}/icons/hicolor/*/apps/ktuberling.png -%{tde_tdeappdir}/ktuberling.desktop -%{tde_datadir}/apps/ktuberling/ -%{tde_datadir}/mimelnk/application/x-tuberling.desktop -%{tde_tdedocdir}/HTML/en/ktuberling/ - -%post -n trinity-ktuberling -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ktuberling -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-twin4 -Summary: Connect Four clone for Trinity -Group: Amusements/Games - -%description -n trinity-twin4 -Four wins is a game for two players. Each player is represented by a -colour (yellow and red). The goal of the game is to get four -connected pieces of your colour into a row, column or any -diagonal. This is done by placing one of your pieces into any of the -seven columns. A piece will begin to fill a column from the bottom, -i.e. it will fall down until it reaches the ground level or another -stone. After a move is done it is the turn of the other player. This -is repeated until the game is over, i.e. one of the players has four -pieces in a row, column or diagonal or no more moves are possible -because the board is filled. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-twin4 -%defattr(-,root,root,-) -%{tde_bindir}/[kt]win4 -%{tde_bindir}/[kt]win4proc -%{tde_datadir}/apps/[kt]win4/ -%{tde_datadir}/config.kcfg/[kt]win4.kcfg -%{tde_datadir}/icons/hicolor/*/apps/[kt]win4.png -%{tde_tdeappdir}/[kt]win4.desktop -%{tde_tdedocdir}/HTML/en/[kt]win4/ - -%post -n trinity-twin4 -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-twin4 -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-lskat -Summary: Lieutnant Skat card game for Trinity -Group: Amusements/Games - -%description -n trinity-lskat -Lieutnant Skat (from German Offiziersskat) is a card game for two -players. It is roughly played according to the rules of Skat but with -only two players and simplified rules. - -Every player has a set of cards in front of him/her, half of them -covered and half of them open. Both players try to win more than 60 -of the 120 possible points. After 16 moves all cards are played and -the game ends. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-lskat -%defattr(-,root,root,-) -%{tde_bindir}/lskat -%{tde_bindir}/lskatproc -%{tde_datadir}/apps/lskat/ -%{tde_datadir}/icons/hicolor/*/apps/lskat.png -%{tde_tdeappdir}/lskat.desktop -%{tde_tdedocdir}/HTML/en/lskat/ - -%post -n trinity-lskat -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-lskat -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - - -%prep -%setup -q -n kdegames-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -# Do not build against any "/usr" installed KDE -export KDEDIR=%{tde_prefix} - -# Specific path for RHEL4 -if [ -d /usr/X11R6 ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --enable-new-ldflags \ - --disable-dependency-tracking \ - --disable-rpath \ - --enable-final \ - --disable-debug \ - --disable-warnings \ - --enable-closure \ - --disable-setgid \ - --with-extra-includes=%{tde_includedir}/tqt - -# WTF hack for RHEL4 -%if 0%{?rhel} == 4 -mkdir atlantik/libatlantic/.libs -ln -s . atlantik/libatlantic/.libs/.libs -%endif - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# locale's -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common - done - popd - fi -done -fi - - -%clean -%__rm -rf %{buildroot} - - - -%changelog -* Sun Sep 30 2012 Francois Andriot - 3.5.13.1-1 -- Initial build for TDE 3.5.13.1 diff --git a/redhat/tdegames/trinity-kdegames-3.5.13.spec b/redhat/tdegames/trinity-kdegames-3.5.13.spec deleted file mode 100644 index 3998e2c9c..000000000 --- a/redhat/tdegames/trinity-kdegames-3.5.13.spec +++ /dev/null @@ -1,1610 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-tdegames -Summary: Trinity Desktop Environment - Games -Version: 3.5.13 -Release: 5%{?dist}%{?_variant} - -License: GPLv2 -Group: Amusements/Games - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source: kdegames-%{version}.tar.gz - -# [kdegames/ktuberling] Fix ktuberling pictures loading -Patch1: kdegames-3.5.13-ktuberling_fail_load_picture.patch -# [kdegames] Missing LDFLAGS cause FTBFS on Mageia 2 -Patch2: kdegames-3.5.13-missing_ldflags.patch -# [kdegames] Switch to v3.5.13-sru branch -Patch3: kdegames-3.5.13-sru-20120827.patch.gz - -BuildRequires: autoconf automake libtool m4 -BuildRequires: trinity-tdelibs-devel -BuildRequires: libtool - -BuildRequires: tqtinterface-devel >= 3.5.13 -BuildRequires: trinity-arts-devel >= 3.5.13 -BuildRequires: trinity-tdemultimedia-devel >= 3.5.13 -BuildRequires: qt3-devel >= 3.3.8.d - -Obsoletes: trinity-kdegames < %{version}-%{release} -Provides: trinity-kdegames = %{version}-%{release} -Obsoletes: trinity-kdegames-libs < %{version}-%{release} -Provides: trinity-kdegames-libs = %{version}-%{release} - -Requires: trinity-libtdegames1 = %{version}-%{release} -Requires: trinity-tdegames-card-data = %{version}-%{release} -Requires: trinity-atlantik = %{version}-%{release} -Requires: trinity-kasteroids = %{version}-%{release} -Requires: trinity-katomic = %{version}-%{release} -Requires: trinity-kbackgammon = %{version}-%{release} -Requires: trinity-kbattleship = %{version}-%{release} -Requires: trinity-kblackbox = %{version}-%{release} -Requires: trinity-kbounce = %{version}-%{release} -Requires: trinity-kenolaba = %{version}-%{release} -Requires: trinity-kfouleggs = %{version}-%{release} -Requires: trinity-kgoldrunner = %{version}-%{release} -Requires: trinity-kjumpingcube = %{version}-%{release} -Requires: trinity-klickety = %{version}-%{release} -Requires: trinity-klines = %{version}-%{release} -Requires: trinity-kmahjongg = %{version}-%{release} -Requires: trinity-kmines = %{version}-%{release} -Requires: trinity-knetwalk = %{version}-%{release} -Requires: trinity-kolf = %{version}-%{release} -Requires: trinity-konquest = %{version}-%{release} -Requires: trinity-kpat = %{version}-%{release} -Requires: trinity-kpoker = %{version}-%{release} -Requires: trinity-kreversi = %{version}-%{release} -Requires: trinity-ksame = %{version}-%{release} -Requires: trinity-kshisen = %{version}-%{release} -Requires: trinity-ksirtet = %{version}-%{release} -Requires: trinity-ksmiletris = %{version}-%{release} -Requires: trinity-ksnake = %{version}-%{release} -Requires: trinity-ksokoban = %{version}-%{release} -Requires: trinity-kspaceduel = %{version}-%{release} -Requires: trinity-ktron = %{version}-%{release} -Requires: trinity-ktuberling = %{version}-%{release} -Requires: trinity-twin4 = %{version}-%{release} -Requires: trinity-lskat = %{version}-%{release} - - -%description -Games and gaming libraries for the Trinity Desktop Environment. -Included with this package are: kenolaba, kasteroids, kblackbox, kmahjongg, -kmines, konquest, kpat, kpoker, kreversi, ksame, kshisen, ksmiletris, -ksnake, ksirtet, katomic, kjumpingcube, ktuberling. - -%files - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -License: LGPLv2 - -Requires: %{name} = %{version}-%{release} -Requires: trinity-tdelibs-devel >= 3.5.13 -Requires: trinity-libtdegames-devel = %{version}-%{release} -Requires: trinity-atlantik-devel = %{version}-%{release} -Requires: trinity-kolf-devel = %{version}-%{release} - -Obsoletes: trinity-kdegames-devel < %{version}-%{release} -Provides: trinity-kdegames-devel = %{version}-%{release} - -%description devel -%{summary}. - -Install %{name}-devel if you wish to develop or compile games for the -TDE desktop. - -%files devel -%defattr(-,root,root,-) - -########## - -%package -n trinity-libtdegames1 -Summary: Trinity games library and common files -Group: Amusements/Games - -%description -n trinity-libtdegames1 -This library provides a common infrastructure for several of the -games in the TDE distribution. Features include standardized menu -items, high score handling, card display, and network connections -including chat capabilities. - -This package is part of TDE, and a component of the TDE games module. - -%files -n trinity-libtdegames1 -%defattr(-,root,root,-) -%{tde_libdir}/lib[kt]degames.so.* -%{tde_datadir}/apps/[kt]degames/pics/star.png -%{tde_datadir}/icons/crystalsvg/*/actions/roll.png -%{tde_datadir}/icons/crystalsvg/*/actions/highscore.png -%{tde_tdedocdir}/HTML/en/[kt]degames-apidocs/ - -%post -n trinity-libtdegames1 -for f in crystalsvg ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -/sbin/ldconfig || : - -%postun -n trinity-libtdegames1 -for f in crystalsvg ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -/sbin/ldconfig || : - -########## - -%package -n trinity-libtdegames-devel -Summary: Trinity games library headers -Group: Development/Libraries -Requires: trinity-libtdegames1 = %{version}-%{release} - -%description -n trinity-libtdegames-devel -This package is necessary if you want to develop your own games using -the TDE games library. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-libtdegames-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/*.h -%{tde_tdeincludedir}/kgame -%{tde_libdir}/lib[kt]degames.so -%{tde_libdir}/lib[kt]degames.la - -########## - -%package card-data -Summary: Card decks for Trinity games -Group: Amusements/Games - -%description card-data -Several different collections of card images for use by TDE games. - -This package is part of Trinity, and a component of the TDE games module. - -%files card-data -%defattr(-,root,root,-) -%{tde_datadir}/apps/carddecks/* - -########## - -%package -n trinity-atlantik -Summary: TDE client for Monopoly-like network games -Group: Amusements/Games - -%description -n trinity-atlantik -This is a TDE client for playing Monopoly-like boardgames on the -monopd network. It can play any board supported by the network -server, including the classic Monopoly game, as well as the Atlantik -game in which the property includes several major cities in North -America and Europe. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-atlantik -%defattr(-,root,root,-) -%{tde_bindir}/atlantik -%{tde_libdir}/libatlantic.so.* -%{tde_libdir}/libatlantikclient.so.* -%{tde_libdir}/libatlantikui.so.* -%{tde_tdelibdir}/kio_atlantik.la -%{tde_tdelibdir}/kio_atlantik.so -%{tde_datadir}/services/atlantik.protocol -%{tde_tdeappdir}/atlantik.desktop -%{tde_datadir}/icons/hicolor/*/apps/atlantik.png -%{tde_datadir}/apps/atlantik/ -%{tde_tdedocdir}/HTML/en/atlantik/ - -%post -n trinity-atlantik -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-atlantik -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-atlantik-devel -Summary: Development files for Atlantik -Group: Development/Libraries -Requires: trinity-atlantik = %{version}-%{release} - -%description -n trinity-atlantik-devel -This package contains header files for compiling programs against the -libraries which come with Atlantik. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-atlantik-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/atlantik -%{tde_tdeincludedir}/atlantic -%{tde_libdir}/libatlantic.so -%{tde_libdir}/libatlantic.la -%{tde_libdir}/libatlantikclient.so -%{tde_libdir}/libatlantikclient.la -%{tde_libdir}/libatlantikui.so -%{tde_libdir}/libatlantikui.la - -%post -n trinity-atlantik-devel -/sbin/ldconfig || : - -%postun -n trinity-atlantik-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kasteroids -Summary: Asteroids for Trinity -Group: Amusements/Games - -%description -n trinity-kasteroids -You know this game. It is based on Warwick Allison's QwSpriteField -widget. - -The objective of kasteroids is to destroy all the asteroids on the -screen to advance to the next level. Your ship is destroyed if it -makes contact with an asteroid. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kasteroids -%defattr(-,root,root,-) -%{tde_bindir}/kasteroids -%{tde_datadir}/icons/hicolor/*/apps/kasteroids.png -%{tde_tdeappdir}/kasteroids.desktop -%{tde_datadir}/apps/kasteroids/ -%{tde_datadir}/config.kcfg/kasteroids.kcfg -%{tde_tdedocdir}/HTML/en/kasteroids/ - -%post -n trinity-kasteroids -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kasteroids -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-katomic -Summary: Atomic Entertainment game for Trinity -Group: Amusements/Games - -%description -n trinity-katomic -This is a puzzle game, in which the object is to assemble a molecule -from its atoms on a Sokoban-like board. On each move, an atom goes -as far as it can in a specified direction before being stopped by a -wall or another atom. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-katomic -%defattr(-,root,root,-) -%{tde_datadir}/apps/katomic/ -%{tde_datadir}/icons/hicolor/*/apps/katomic.png -%{tde_tdeappdir}/katomic.desktop -%{tde_bindir}/katomic -%{tde_tdedocdir}/HTML/en/katomic/ - -%post -n trinity-katomic -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-katomic -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kbackgammon -Summary: A Backgammon game for Trinity -Group: Amusements/Games - -%description -n trinity-kbackgammon -KBackgammon is a backgammon program for Trinity. It is based on the -code, ideas and concepts of KFibs (which is a FIBS client for -TDE1). For a short time, KBackgammon was called bacKgammon (if you -know somebody who is still using bacKgammon, please force them to -upgrade :-)). - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kbackgammon -%defattr(-,root,root,-) -%{tde_bindir}/kbackgammon -%{tde_tdeappdir}/kbackgammon.desktop -%{tde_datadir}/apps/kbackgammon/ -%{tde_datadir}/icons/hicolor/*/apps/kbackgammon.png -%{tde_datadir}/icons/hicolor/*/apps/kbackgammon_engine.png -%{tde_tdedocdir}/HTML/en/kbackgammon/ - -%post -n trinity-kbackgammon -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kbackgammon -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kbattleship -Summary: Battleship game for Trinity -Group: Amusements/Games - -%description -n trinity-kbattleship -This is an implementation of the Battleship game. Each player tries -to be the first to sink all the opponent's ships by firing "blindly" -at them. The game has options to play over a network connection or -against the computer. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kbattleship -%defattr(-,root,root,-) -%{tde_datadir}/apps/kbattleship/ -%{tde_datadir}/apps/zeroconf/_kbattleship._tcp -%{tde_datadir}/icons/hicolor/*/apps/kbattleship.png -%{tde_tdeappdir}/kbattleship.desktop -%{tde_bindir}/kbattleship -%{tde_tdedocdir}/HTML/en/kbattleship/ - -%post -n trinity-kbattleship -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kbattleship -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kblackbox -Summary: A simple logical game for the Trinity project -Group: Amusements/Games - -%description -n trinity-kblackbox -KBlackBox is a game of hide and seek played on an grid of boxes. Your -opponent (Random number generator, in this case) has hidden several -balls within this box. By shooting rays into the box and observing -where they emerge it is possible to deduce the positions of the -hidden balls. The fewer rays you use to find the balls, the lower -your score. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kblackbox -%defattr(-,root,root,-) -%{tde_datadir}/apps/kblackbox/ -%{tde_datadir}/icons/hicolor/*/apps/kblackbox.png -%{tde_tdeappdir}/kblackbox.desktop -%{tde_bindir}/kblackbox -%{tde_tdedocdir}/HTML/en/kblackbox/ - -%post -n trinity-kblackbox -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kblackbox -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kbounce -Summary: Jezzball clone for the K Desktop Environment -Group: Amusements/Games - -%description -n trinity-kbounce -This is a clone of the popular Jezzball game originally created by -Microsoft. Jezzball is one of the rare and simple games requiring -skill, timing, and patience in order to be successful. A ball begins -to bounce off of an area enclosed by four borders (like a -square). You must move your pointer to certain areas within the -square. Upon clicking, a new border is constructed at a relatively -quick pace. You can change the direction of the borders by 90 degrees -as well. Ultimately, you must force the ball to bounce around in a -smaller, and smaller area as time goes by without the ball ever -touching the borders as they are being constructed. If a ball touches -a certain part of the border as it is being built, the game is over. -After 75% of the original space has been blocked off from the moving -ball, you advance one level, and one more ball is added to the mix in -the following level. - -This game was previously known as kjezz. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kbounce -%defattr(-,root,root,-) -%{tde_datadir}/apps/kbounce/ -%{tde_tdeappdir}/kbounce.desktop -%{tde_datadir}/icons/hicolor/*/apps/kbounce.png -%{tde_bindir}/kbounce -%{tde_tdedocdir}/HTML/en/kbounce/ - -%post -n trinity-kbounce -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kbounce -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kenolaba -Summary: Enolaba board game for Trinity -Group: Amusements/Games - -%description -n trinity-kenolaba -kenolaba is a simple board strategy game that is played by two -players. There are red and yellow pieces for each player. Beginning -from a start position where each player has 14 pieces, moves are -drawn until one player has pushed 6 pieces of his opponent out of the -board. - -This game was previously known as kabalone, and was inspired by the -board game Abalone by Abalone SA, France. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kenolaba -%defattr(-,root,root,-) -%{tde_datadir}/apps/kenolaba/ -%{tde_datadir}/icons/hicolor/*/apps/kenolaba.png -%{tde_tdeappdir}/kenolaba.desktop -%{tde_bindir}/kenolaba -%{tde_tdedocdir}/HTML/en/kenolaba/ - -%post -n trinity-kenolaba -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kenolaba -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kfouleggs -Summary: A TDE clone of the Japanese PuyoPuyo game -Group: Amusements/Games - -%description -n trinity-kfouleggs -KFouleggs is a clone of the Japanese PuyoPuyo game, with advanced -features such as multiplayer games against human or AI, and network -play. If you have played Tetris or one of its many clones, you will -find KFouleggs easy to learn. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kfouleggs -%defattr(-,root,root,-) -%{tde_tdeappdir}/kfouleggs.desktop -%{tde_datadir}/apps/kfouleggs/ -%{tde_datadir}/config.kcfg/kfouleggs.kcfg -%{tde_bindir}/kfouleggs -%{tde_datadir}/icons/hicolor/*/apps/kfouleggs.png -%{tde_tdedocdir}/HTML/en/kfouleggs/ - -%post -n trinity-kfouleggs -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kfouleggs -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kgoldrunner -Summary: A Trinity clone of the Loderunner arcade game -Group: Amusements/Games - -%description -n trinity-kgoldrunner -KGoldrunner, a game of action and puzzle solving. Run through the -maze, dodge your enemies, collect all the gold and climb up to the -next level. - -You must guide the hero with the mouse or keyboard and collect all -the gold nuggets, then you can climb up into the next level. Your -enemies are also after the gold and they will kill you if they catch -you! - -The problem is you have no weapon to kill them. All you can do is -run away, dig holes in the floor to trap them or lure them into some -area where they cannot hurt you. After a short time a trapped enemy -climbs out of his hole, but if it closes before that, he will die and -reappear somewhere else. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kgoldrunner -%defattr(-,root,root,-) -%{tde_datadir}/apps/kgoldrunner/ -%{tde_datadir}/icons/hicolor/*/apps/kgoldrunner.png -%{tde_tdeappdir}/KGoldrunner.desktop -%{tde_bindir}/kgoldrunner -%{tde_tdedocdir}/HTML/en/kgoldrunner/ - -%post -n trinity-kgoldrunner -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kgoldrunner -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kjumpingcube -Summary: Tactical one or two player game -Group: Amusements/Games - -%description -n trinity-kjumpingcube -KJumpingCube is a simple tactical game. You can play it against the -computer or against a friend. The playing field consists of squares -that contains points. By clicking on the squares you can increase -the points and if the points reach a maximum the points will jump to -the squares neighbours and take them over. Winner is the one, who -owns all squares. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kjumpingcube -%defattr(-,root,root,-) -%{tde_bindir}/kjumpingcube -%{tde_datadir}/icons/hicolor/*/apps/kjumpingcube.png -%{tde_datadir}/apps/kjumpingcube/ -%{tde_tdeappdir}/kjumpingcube.desktop -%{tde_datadir}/config.kcfg/kjumpingcube.kcfg -%{tde_tdedocdir}/HTML/en/kjumpingcube/ - -%post -n trinity-kjumpingcube -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kjumpingcube -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-klickety -Summary: A Clickomania-like game for Trinity -Group: Amusements/Games - -%description -n trinity-klickety -Klickety is an adaptation of the (perhaps) well-known Clickomania -game; it is very similar to the "same" game. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-klickety -%defattr(-,root,root,-) -%{tde_bindir}/klickety -%{tde_tdeappdir}/klickety.desktop -%{tde_datadir}/icons/hicolor/*/apps/klickety.png -%{tde_datadir}/icons/crystalsvg/*/actions/endturn.png -%{tde_datadir}/apps/klickety/klicketyui.rc -%{tde_datadir}/apps/klickety/eventsrc -%{tde_tdedocdir}/HTML/en/klickety/ - -%post -n trinity-klickety -for f in crystalsvg hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-klickety -for f in crystalsvg hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-klines -Summary: Color lines for Trinity -Group: Amusements/Games - -%description -n trinity-klines -KLines is a simple game. It is played by one player, so there is only -one winner :-). You play for fun and against the high score. It was -inspired by a well known game - "Color lines", written for DOS by -Olga Demina, Igor Demina, Igor Ivkin and Gennady Denisov back in -1992. - -The main rules of the game are as simple as possible: you move (using -the mouse) marbles from cell to cell and build lines (horizontal, -vertical or diagonal). When a line contains 5 or more marbles, they -are removed and your score grows. After each turn the computer drops -three more marbles. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-klines -%defattr(-,root,root,-) -%{tde_datadir}/apps/klines/ -%{tde_tdeappdir}/klines.desktop -%{tde_bindir}/klines -%{tde_datadir}/config.kcfg/klines.kcfg -%{tde_datadir}/icons/hicolor/*/apps/klines.png -%{tde_tdedocdir}/HTML/en/klines/ - -%post -n trinity-klines -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-klines -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kmahjongg -Summary: the classic mahjongg game for Trinity project -Group: Amusements/Games - -%description -n trinity-kmahjongg -Your mission in this game is to remove all tiles from the game board. A -matching pair of tiles can be removed, if they are 'free', which means that -no other tiles block them on the left or right side. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kmahjongg -%defattr(-,root,root,-) -%{tde_datadir}/apps/kmahjongg/ -%{tde_datadir}/icons/hicolor/*/apps/kmahjongg.png -%{tde_tdeappdir}/kmahjongg.desktop -%{tde_bindir}/kmahjongg -%{tde_datadir}/config.kcfg/kmahjongg.kcfg -%{tde_tdedocdir}/HTML/en/kmahjongg/ - -%post -n trinity-kmahjongg -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kmahjongg -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kmines -Summary: Minesweeper for Trinity -Group: Amusements/Games - -%description -n trinity-kmines -KMines is the classic Minesweeper game. You must uncover all the -empty cases without blowing on a mine. - -When you uncover a case, a number appears : it indicates how many -mines surround this case. If there is no number the neighbour cases -are automatically uncovered. In your process of uncovering secure -cases, it is very useful to put a flag on the cases which contain a -mine. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kmines -%defattr(-,root,root,-) -%{tde_datadir}/icons/hicolor/*/apps/kmines.png -%{tde_tdeappdir}/kmines.desktop -%{tde_datadir}/apps/kmines/ -%{tde_bindir}/kmines -%{tde_tdedocdir}/HTML/en/kmines/ - -%post -n trinity-kmines -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kmines -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-knetwalk -Summary: A game for system administrators -Group: Amusements/Games - -%description -n trinity-knetwalk -This game presents the player with a rectangular field consisting of -a server, several clients, and pieces of wire. The object is to -rotate these elements until every client is connected to the server, -and no wires are left unconnected. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-knetwalk -%defattr(-,root,root,-) -%{tde_bindir}/knetwalk -%{tde_datadir}/apps/knetwalk -%{tde_datadir}/icons/hicolor/*/apps/knetwalk.png -%{tde_tdeappdir}/knetwalk.desktop - -%post -n trinity-knetwalk -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-knetwalk -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kolf -Summary: Minigolf game for TDE -Group: Amusements/Games - -%description -n trinity-kolf -This is a minigolf game for TDE that allows you to go through different -golf courses and waste an exorbitant amount of time. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kolf -%defattr(-,root,root,-) -%{tde_datadir}/config/magic/kolf.magic -%{tde_datadir}/apps/kolf/ -%{tde_bindir}/kolf -%{tde_tdeappdir}/kolf.desktop -%{tde_datadir}/icons/hicolor/*/apps/kolf.png -%{tde_datadir}/mimelnk/application/x-kolf.desktop -%{tde_datadir}/mimelnk/application/x-kourse.desktop -%{tde_libdir}/lib[kt]deinit_kolf.so -%{tde_libdir}/lib[kt]deinit_kolf.la -%{tde_tdelibdir}/kolf.la -%{tde_tdelibdir}/kolf.so -%{tde_libdir}/libkolf.so.1 -%{tde_libdir}/libkolf.so.1.2.0 -%{tde_tdedocdir}/HTML/en/kolf/ - -%post -n trinity-kolf -/sbin/ldconfig || : -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kolf -/sbin/ldconfig || : -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kolf-devel -Summary: Development files for Kolf -Group: Development/Libraries -Requires: trinity-kolf = %{version}-%{release} - -%description -n trinity-kolf-devel -This package contains headers and development libraries for compiling -Kolf plugins. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kolf-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kolf -%{tde_libdir}/libkolf.la -%{tde_libdir}/libkolf.so - -%post -n trinity-kolf-devel -/sbin/ldconfig || : - -%postun -n trinity-kolf-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-konquest -Summary: TDE based GNU-Lactic Konquest game -Group: Amusements/Games - -%description -n trinity-konquest -This the TDE version of Gnu-Lactic Konquest, a multi-player strategy -game. The goal of the game is to expand your interstellar empire -across the galaxy and, of course, crush your rivals in the process. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-konquest -%defattr(-,root,root,-) -%{tde_datadir}/apps/konquest/ -%{tde_datadir}/icons/hicolor/*/apps/konquest.png -%{tde_tdeappdir}/konquest.desktop -%{tde_bindir}/konquest -%{tde_tdedocdir}/HTML/en/konquest/ - -%post -n trinity-konquest -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-konquest -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kpat -Summary: Trinity solitaire patience game -Group: Amusements/Games - -%description -n trinity-kpat -KPatience is a collection of 14 card games. All the games are single -player games. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kpat -%defattr(-,root,root,-) -%{tde_datadir}/icons/hicolor/*/apps/kpat.png -%{tde_datadir}/apps/kpat/ -%{tde_tdeappdir}/kpat.desktop -%{tde_bindir}/kpat -%{tde_tdedocdir}/HTML/en/kpat/ - -%post -n trinity-kpat -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kpat -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kpoker -Summary: Trinity based Poker clone -Group: Amusements/Games - -%description -n trinity-kpoker -KPoker is a TDE compliant clone of those highly addictive pocket -video poker games which are sometimes called "Videopoker" as well. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kpoker -%defattr(-,root,root,-) -%{tde_datadir}/apps/kpoker/ -%{tde_datadir}/icons/hicolor/*/apps/kpoker.png -%{tde_tdeappdir}/kpoker.desktop -%{tde_bindir}/kpoker -%{tde_tdedocdir}/HTML/en/kpoker/ - -%post -n trinity-kpoker -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kpoker -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kreversi -Summary: Reversi for Trinity -Group: Amusements/Games - -%description -n trinity-kreversi -Reversi is a simple strategy game that is played by two -players. There is only one type of piece - one side of it is black, -the other white. If a player captures a piece on the board, that -piece is turned and belongs to that player. The winner is the person -that has more pieces of his own color on the board and if there are -no more moves possible. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kreversi -%defattr(-,root,root,-) -%{tde_bindir}/kreversi -%{tde_tdeappdir}/kreversi.desktop -%{tde_datadir}/apps/kreversi/ -%{tde_datadir}/config.kcfg/kreversi.kcfg -%{tde_datadir}/icons/crystalsvg/*/actions/lastmoves.png -%{tde_datadir}/icons/crystalsvg/*/actions/legalmoves.png -%{tde_datadir}/icons/crystalsvg/scalable/actions/lastmoves.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/legalmoves.svgz -%{tde_datadir}/icons/hicolor/*/apps/kreversi.png -%{tde_tdedocdir}/HTML/en/kreversi/ - -%post -n trinity-kreversi -for f in crystalsvg hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kreversi -for f in crystalsvg hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ksame -Summary: SameGame for Trinity -Group: Amusements/Games - -%description -n trinity-ksame -KSame is a simple game. It's played by one player, so there is only -one winner :-) You play for fun and against the high score. It has -been inspired by SameGame, that is only famous on the Macintosh -platform. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-ksame -%defattr(-,root,root,-) -%{tde_bindir}/ksame -%{tde_datadir}/icons/hicolor/*/apps/ksame.png -%{tde_datadir}/apps/ksame/* -%{tde_tdeappdir}/ksame.desktop -%{tde_tdedocdir}/HTML/en/ksame/ - -%post -n trinity-ksame -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ksame -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kshisen -Summary: Shisen-Sho for Trinity -Group: Amusements/Games - -%description -n trinity-kshisen -KShisen-Sho is a single-player-game similar to Mahjongg and uses the -same set of tiles as Mahjongg. - -The object of the game is to remove all tiles from the field. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kshisen -%defattr(-,root,root,-) -%{tde_datadir}/apps/kshisen/ -%{tde_datadir}/config.kcfg/kshisen.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kshisen.png -%{tde_tdeappdir}/kshisen.desktop -%{tde_bindir}/kshisen -%{tde_tdedocdir}/HTML/en/kshisen/ - -%post -n trinity-kshisen -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kshisen -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ksirtet -Summary: Tetris and Puyo-Puyo games for Trinity -Group: Amusements/Games - -%description -n trinity-ksirtet -This program is a clone of the well known game Tetris. You must fit -the falling pieces to form full lines. You can rotate and translate -the falling piece. The game ends when no more piece can fall ie when -your incomplete lines reach the top of the board. - -Every time you have destroyed 10 lines, you gain a level and the -pieces fall quicker (exactly the piece falls from a line each -1/(1+level) second). - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-ksirtet -%defattr(-,root,root,-) -%{tde_tdeappdir}/ksirtet.desktop -%{tde_datadir}/icons/hicolor/*/apps/ksirtet.png -%{tde_datadir}/apps/ksirtet/ -%{tde_bindir}/ksirtet -%{tde_datadir}/config.kcfg/ksirtet.kcfg -%{tde_tdedocdir}/HTML/en/ksirtet/ - -%post -n trinity-ksirtet -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ksirtet -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ksmiletris -Summary: Tetris like game for Trinity -Group: Amusements/Games - -%description -n trinity-ksmiletris -This is a game with falling blocks composed of different types of -smilies. The object of the game is to "crack a smile" by guiding -blocks so there are two or more of the same symbol vertically. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-ksmiletris -%defattr(-,root,root,-) -%{tde_datadir}/apps/ksmiletris/ -%{tde_datadir}/icons/hicolor/*/apps/ksmiletris.png -%{tde_tdeappdir}/ksmiletris.desktop -%{tde_bindir}/ksmiletris -%{tde_tdedocdir}/HTML/en/ksmiletris/ - -%post -n trinity-ksmiletris -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ksmiletris -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ksnake -Summary: Snake Race for Trinity -Group: Amusements/Games - -%description -n trinity-ksnake -Snake Race is a game of speed and agility. You are a hungry snake and -are trying to eat all the apples in the room before getting out! - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-ksnake -%defattr(-,root,root,-) -%{tde_datadir}/apps/ksnake/ -%{tde_datadir}/config.kcfg/ksnake.kcfg -%{tde_datadir}/icons/hicolor/*/apps/ksnake.png -%{tde_tdeappdir}/ksnake.desktop -%{tde_bindir}/ksnake -%{tde_tdedocdir}/HTML/en/ksnake/ - -%post -n trinity-ksnake -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ksnake -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ksokoban -Summary: Sokoban game for Trinity -Group: Amusements/Games - -%description -n trinity-ksokoban -The first sokoban game was created in 1982 by Hiroyuki Imabayashi at -the Japanese company Thinking Rabbit, Inc. "Sokoban" is japanese for -"warehouse keeper". The idea is that you are a warehouse keeper -trying to push crates to their proper locations in a warehouse. - -The problem is that you cannot pull the crates or step over them. If -you are not careful, some of the crates can get stuck in wrong places -and/or block your way. - -It can be rather difficult just to solve a level. But if you want to -make it even harder, you can try to minimise the number of moves -and/or pushes you use to solve the level. - -To make the game more fun for small kids (below 10 years or so), some -collections with easier levels are also included in KSokoban. These -are marked (easy) in the level collection menu. Of course, these -levels can be fun for adults too, for example if you don't want to -expose yourself to too much mental strain. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-ksokoban -%defattr(-,root,root,-) -%{tde_tdeappdir}/ksokoban.desktop -%{tde_datadir}/icons/hicolor/*/apps/ksokoban.png -%{tde_bindir}/ksokoban -%{tde_tdedocdir}/HTML/en/ksokoban/ - -%post -n trinity-ksokoban -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ksokoban -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kspaceduel -Summary: Arcade two-player space game for Trinity -Group: Amusements/Games - -%description -n trinity-kspaceduel -KSpaceduel is an space arcade game for two players. - -Each player controls a ship that flies around the sun and tries to -shoot at the other ship. You can play KSpaceduel with another person, -against the computer, or you can have the computer control both ships -and play each other. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kspaceduel -%defattr(-,root,root,-) -%{tde_datadir}/apps/kspaceduel/ -%{tde_datadir}/icons/hicolor/*/apps/kspaceduel.png -%{tde_tdeappdir}/kspaceduel.desktop -%{tde_bindir}/kspaceduel -%{tde_datadir}/config.kcfg/kspaceduel.kcfg -%{tde_tdedocdir}/HTML/en/kspaceduel/ - -%post -n trinity-kspaceduel -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kspaceduel -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ktron -Summary: Tron clone for the K Desktop Environment -Group: Amusements/Games - -%description -n trinity-ktron -The object of the game is to avoid running into walls, your own tail, -and that of your opponent. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-ktron -%defattr(-,root,root,-) -%{tde_bindir}/ktron -%{tde_datadir}/icons/hicolor/*/apps/ktron.png -%{tde_tdeappdir}/ktron.desktop -%{tde_datadir}/apps/ktron/ -%{tde_datadir}/config.kcfg/ktron.kcfg -%{tde_tdedocdir}/HTML/en/ktron/ - -%post -n trinity-ktron -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ktron -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ktuberling -Summary: Potato Guy for Trinity -Group: Amusements/Games - -%description -n trinity-ktuberling -KTuberling is a game intended for small children. Of course, it may -be suitable for adults who have remained young at heart. - -It is a potato editor. That means that you can drag and drop eyes, -mouths, moustache, and other parts of face and goodies onto a -potato-like guy. Similarly, you have a penguin on which you can drop -other stuff. - -There is no winner for the game. The only purpose is to make the -funniest faces you can. - -There is a museum (like a "Madame Tusseau" gallery) where you can -find many funny examples of decorated potatoes. Of course, you can -send your own creations to the programmer, Eric Bischoff, who will -include them in the museum if he gets some spare time. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-ktuberling -%defattr(-,root,root,-) -%{tde_bindir}/ktuberling -%{tde_datadir}/icons/hicolor/*/apps/ktuberling.png -%{tde_tdeappdir}/ktuberling.desktop -%{tde_datadir}/apps/ktuberling/ -%{tde_datadir}/mimelnk/application/x-tuberling.desktop -%{tde_tdedocdir}/HTML/en/ktuberling/ - -%post -n trinity-ktuberling -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ktuberling -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-twin4 -Summary: Connect Four clone for Trinity -Group: Amusements/Games - -%description -n trinity-twin4 -Four wins is a game for two players. Each player is represented by a -colour (yellow and red). The goal of the game is to get four -connected pieces of your colour into a row, column or any -diagonal. This is done by placing one of your pieces into any of the -seven columns. A piece will begin to fill a column from the bottom, -i.e. it will fall down until it reaches the ground level or another -stone. After a move is done it is the turn of the other player. This -is repeated until the game is over, i.e. one of the players has four -pieces in a row, column or diagonal or no more moves are possible -because the board is filled. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-twin4 -%defattr(-,root,root,-) -%{tde_bindir}/[kt]win4 -%{tde_bindir}/[kt]win4proc -%{tde_datadir}/apps/[kt]win4/ -%{tde_datadir}/config.kcfg/[kt]win4.kcfg -%{tde_datadir}/icons/hicolor/*/apps/[kt]win4.png -%{tde_tdeappdir}/[kt]win4.desktop -%{tde_tdedocdir}/HTML/en/[kt]win4/ - -%post -n trinity-twin4 -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-twin4 -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-lskat -Summary: Lieutnant Skat card game for Trinity -Group: Amusements/Games - -%description -n trinity-lskat -Lieutnant Skat (from German Offiziersskat) is a card game for two -players. It is roughly played according to the rules of Skat but with -only two players and simplified rules. - -Every player has a set of cards in front of him/her, half of them -covered and half of them open. Both players try to win more than 60 -of the 120 possible points. After 16 moves all cards are played and -the game ends. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-lskat -%defattr(-,root,root,-) -%{tde_bindir}/lskat -%{tde_bindir}/lskatproc -%{tde_datadir}/apps/lskat/ -%{tde_datadir}/icons/hicolor/*/apps/lskat.png -%{tde_tdeappdir}/lskat.desktop -%{tde_tdedocdir}/HTML/en/lskat/ - -%post -n trinity-lskat -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-lskat -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - - -%prep -%setup -q -n kdegames -#patch1 -p1 -#patch2 -p1 -b .ftbfs -%patch3 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --enable-new-ldflags \ - --disable-dependency-tracking \ - --disable-rpath \ - --enable-final \ - --disable-debug \ - --disable-warnings \ - --enable-closure \ - --disable-setgid \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# locale's -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common - done - popd - fi -done -fi - - -%clean -%__rm -rf %{buildroot} - - - - -%changelog -* Mon Aug 27 2012 Francois Andriot - 3.5.13-5 -- Switch to v3.5.13-sru branch - -* Tue Jul 31 2012 Francois Andriot - 3.5.13-4 -- Split into several packages -- Add support for Mageia 2 - -* Sun Dec 04 2011 Francois Andriot - 3.5.13-3 -- Fix ktuberling picture loading [TDE Bug #638] - -* Fri Nov 25 2011 Francois Andriot - 3.5.13-2 -- Fix HTML directory location - -* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 -- Initial release for RHEL 6, RHEL 5 and Fedora 15 - -* Sat Sep 09 2011 Francois Andriot - 3.5.13-0 -- Import to GIT diff --git a/redhat/tdegames/trinity-tdegames-3.5.13.2.spec b/redhat/tdegames/trinity-tdegames-3.5.13.2.spec deleted file mode 100644 index 517b23de4..000000000 --- a/redhat/tdegames/trinity-tdegames-3.5.13.2.spec +++ /dev/null @@ -1,1603 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-tdegames -Summary: Trinity Desktop Environment - Games -Version: 3.5.13.2 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} - -License: GPLv2 -Group: Amusements/Games - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz - -BuildRequires: autoconf automake libtool m4 -BuildRequires: libtool - -BuildRequires: tqtinterface-devel >= %{version} -BuildRequires: trinity-arts-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} -BuildRequires: trinity-tdemultimedia-devel >= %{version} -BuildRequires: qt3-devel - -Obsoletes: trinity-kdegames < %{version}-%{release} -Provides: trinity-kdegames = %{version}-%{release} -Obsoletes: trinity-kdegames-libs < %{version}-%{release} -Provides: trinity-kdegames-libs = %{version}-%{release} - -Requires: trinity-libtdegames1 = %{version}-%{release} -Requires: trinity-tdegames-card-data = %{version}-%{release} -Requires: trinity-atlantik = %{version}-%{release} -Requires: trinity-kasteroids = %{version}-%{release} -Requires: trinity-katomic = %{version}-%{release} -Requires: trinity-kbackgammon = %{version}-%{release} -Requires: trinity-kbattleship = %{version}-%{release} -Requires: trinity-kblackbox = %{version}-%{release} -Requires: trinity-kbounce = %{version}-%{release} -Requires: trinity-kenolaba = %{version}-%{release} -Requires: trinity-kfouleggs = %{version}-%{release} -Requires: trinity-kgoldrunner = %{version}-%{release} -Requires: trinity-kjumpingcube = %{version}-%{release} -Requires: trinity-klickety = %{version}-%{release} -Requires: trinity-klines = %{version}-%{release} -Requires: trinity-kmahjongg = %{version}-%{release} -Requires: trinity-kmines = %{version}-%{release} -Requires: trinity-knetwalk = %{version}-%{release} -Requires: trinity-kolf = %{version}-%{release} -Requires: trinity-konquest = %{version}-%{release} -Requires: trinity-kpat = %{version}-%{release} -Requires: trinity-kpoker = %{version}-%{release} -Requires: trinity-kreversi = %{version}-%{release} -Requires: trinity-ksame = %{version}-%{release} -Requires: trinity-kshisen = %{version}-%{release} -Requires: trinity-ksirtet = %{version}-%{release} -Requires: trinity-ksmiletris = %{version}-%{release} -Requires: trinity-ksnake = %{version}-%{release} -Requires: trinity-ksokoban = %{version}-%{release} -Requires: trinity-kspaceduel = %{version}-%{release} -Requires: trinity-ktron = %{version}-%{release} -Requires: trinity-ktuberling = %{version}-%{release} -Requires: trinity-twin4 = %{version}-%{release} -Requires: trinity-lskat = %{version}-%{release} - - -%description -Games and gaming libraries for the Trinity Desktop Environment. -Included with this package are: kenolaba, kasteroids, kblackbox, kmahjongg, -kmines, konquest, kpat, kpoker, kreversi, ksame, kshisen, ksmiletris, -ksnake, ksirtet, katomic, kjumpingcube, ktuberling. - -%files - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -License: LGPLv2 - -Requires: %{name} = %{version}-%{release} -Requires: trinity-tdelibs-devel >= 3.5.13 -Requires: trinity-libtdegames-devel = %{version}-%{release} -Requires: trinity-atlantik-devel = %{version}-%{release} -Requires: trinity-kolf-devel = %{version}-%{release} - -Obsoletes: trinity-kdegames-devel < %{version}-%{release} -Provides: trinity-kdegames-devel = %{version}-%{release} - -%description devel -%{summary}. - -Install %{name}-devel if you wish to develop or compile games for the -TDE desktop. - -%files devel -%defattr(-,root,root,-) - -########## - -%package -n trinity-libtdegames1 -Summary: Trinity games library and common files -Group: Amusements/Games - -%description -n trinity-libtdegames1 -This library provides a common infrastructure for several of the -games in the TDE distribution. Features include standardized menu -items, high score handling, card display, and network connections -including chat capabilities. - -This package is part of TDE, and a component of the TDE games module. - -%files -n trinity-libtdegames1 -%defattr(-,root,root,-) -%{tde_libdir}/lib[kt]degames.so.* -%{tde_datadir}/apps/[kt]degames/pics/star.png -%{tde_datadir}/icons/crystalsvg/*/actions/roll.png -%{tde_datadir}/icons/crystalsvg/*/actions/highscore.png -#%{tde_tdedocdir}/HTML/en/%{name}-%{version}-apidocs/ - -%post -n trinity-libtdegames1 -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -/sbin/ldconfig || : - -%postun -n trinity-libtdegames1 -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -/sbin/ldconfig || : - -########## - -%package -n trinity-libtdegames-devel -Summary: Trinity games library headers -Group: Development/Libraries -Requires: trinity-libtdegames1 = %{version}-%{release} - -%description -n trinity-libtdegames-devel -This package is necessary if you want to develop your own games using -the TDE games library. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-libtdegames-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/*.h -%{tde_tdeincludedir}/kgame -%{tde_libdir}/lib[kt]degames.so -%{tde_libdir}/lib[kt]degames.la - -########## - -%package card-data -Summary: Card decks for Trinity games -Group: Amusements/Games - -%description card-data -Several different collections of card images for use by TDE games. - -This package is part of Trinity, and a component of the TDE games module. - -%files card-data -%defattr(-,root,root,-) -%{tde_datadir}/apps/carddecks/* - -########## - -%package -n trinity-atlantik -Summary: TDE client for Monopoly-like network games -Group: Amusements/Games - -%description -n trinity-atlantik -This is a TDE client for playing Monopoly-like boardgames on the -monopd network. It can play any board supported by the network -server, including the classic Monopoly game, as well as the Atlantik -game in which the property includes several major cities in North -America and Europe. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-atlantik -%defattr(-,root,root,-) -%{tde_bindir}/atlantik -%{tde_libdir}/libatlantic.so.* -%{tde_libdir}/libatlantikclient.so.* -%{tde_libdir}/libatlantikui.so.* -%{tde_tdelibdir}/kio_atlantik.la -%{tde_tdelibdir}/kio_atlantik.so -%{tde_datadir}/services/atlantik.protocol -%{tde_tdeappdir}/atlantik.desktop -%{tde_datadir}/icons/hicolor/*/apps/atlantik.png -%{tde_datadir}/apps/atlantik/ -%{tde_tdedocdir}/HTML/en/atlantik/ - -%post -n trinity-atlantik -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-atlantik -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-atlantik-devel -Summary: Development files for Atlantik -Group: Development/Libraries -Requires: trinity-atlantik = %{version}-%{release} - -%description -n trinity-atlantik-devel -This package contains header files for compiling programs against the -libraries which come with Atlantik. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-atlantik-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/atlantik -%{tde_tdeincludedir}/atlantic -%{tde_libdir}/libatlantic.so -%{tde_libdir}/libatlantic.la -%{tde_libdir}/libatlantikclient.so -%{tde_libdir}/libatlantikclient.la -%{tde_libdir}/libatlantikui.so -%{tde_libdir}/libatlantikui.la - -%post -n trinity-atlantik-devel -/sbin/ldconfig || : - -%postun -n trinity-atlantik-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kasteroids -Summary: Asteroids for Trinity -Group: Amusements/Games - -%description -n trinity-kasteroids -You know this game. It is based on Warwick Allison's QwSpriteField -widget. - -The objective of kasteroids is to destroy all the asteroids on the -screen to advance to the next level. Your ship is destroyed if it -makes contact with an asteroid. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kasteroids -%defattr(-,root,root,-) -%{tde_bindir}/kasteroids -%{tde_datadir}/icons/hicolor/*/apps/kasteroids.png -%{tde_tdeappdir}/kasteroids.desktop -%{tde_datadir}/apps/kasteroids/ -%{tde_datadir}/config.kcfg/kasteroids.kcfg -%{tde_tdedocdir}/HTML/en/kasteroids/ - -%post -n trinity-kasteroids -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kasteroids -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-katomic -Summary: Atomic Entertainment game for Trinity -Group: Amusements/Games - -%description -n trinity-katomic -This is a puzzle game, in which the object is to assemble a molecule -from its atoms on a Sokoban-like board. On each move, an atom goes -as far as it can in a specified direction before being stopped by a -wall or another atom. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-katomic -%defattr(-,root,root,-) -%{tde_datadir}/apps/katomic/ -%{tde_datadir}/icons/hicolor/*/apps/katomic.png -%{tde_tdeappdir}/katomic.desktop -%{tde_bindir}/katomic -%{tde_tdedocdir}/HTML/en/katomic/ - -%post -n trinity-katomic -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-katomic -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kbackgammon -Summary: A Backgammon game for Trinity -Group: Amusements/Games - -%description -n trinity-kbackgammon -KBackgammon is a backgammon program for Trinity. It is based on the -code, ideas and concepts of KFibs (which is a FIBS client for -TDE1). For a short time, KBackgammon was called bacKgammon (if you -know somebody who is still using bacKgammon, please force them to -upgrade :-)). - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kbackgammon -%defattr(-,root,root,-) -%{tde_bindir}/kbackgammon -%{tde_tdeappdir}/kbackgammon.desktop -%{tde_datadir}/apps/kbackgammon/ -%{tde_datadir}/icons/hicolor/*/apps/kbackgammon.png -%{tde_datadir}/icons/hicolor/*/apps/kbackgammon_engine.png -%{tde_tdedocdir}/HTML/en/kbackgammon/ - -%post -n trinity-kbackgammon -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kbackgammon -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kbattleship -Summary: Battleship game for Trinity -Group: Amusements/Games - -%description -n trinity-kbattleship -This is an implementation of the Battleship game. Each player tries -to be the first to sink all the opponent's ships by firing "blindly" -at them. The game has options to play over a network connection or -against the computer. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kbattleship -%defattr(-,root,root,-) -%{tde_datadir}/apps/kbattleship/ -%{tde_datadir}/apps/zeroconf/_kbattleship._tcp -%{tde_datadir}/icons/hicolor/*/apps/kbattleship.png -%{tde_tdeappdir}/kbattleship.desktop -%{tde_bindir}/kbattleship -%{tde_tdedocdir}/HTML/en/kbattleship/ - -%post -n trinity-kbattleship -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kbattleship -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kblackbox -Summary: A simple logical game for the Trinity project -Group: Amusements/Games - -%description -n trinity-kblackbox -KBlackBox is a game of hide and seek played on an grid of boxes. Your -opponent (Random number generator, in this case) has hidden several -balls within this box. By shooting rays into the box and observing -where they emerge it is possible to deduce the positions of the -hidden balls. The fewer rays you use to find the balls, the lower -your score. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kblackbox -%defattr(-,root,root,-) -%{tde_datadir}/apps/kblackbox/ -%{tde_datadir}/icons/hicolor/*/apps/kblackbox.png -%{tde_tdeappdir}/kblackbox.desktop -%{tde_bindir}/kblackbox -%{tde_tdedocdir}/HTML/en/kblackbox/ - -%post -n trinity-kblackbox -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kblackbox -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kbounce -Summary: Jezzball clone for the K Desktop Environment -Group: Amusements/Games - -%description -n trinity-kbounce -This is a clone of the popular Jezzball game originally created by -Microsoft. Jezzball is one of the rare and simple games requiring -skill, timing, and patience in order to be successful. A ball begins -to bounce off of an area enclosed by four borders (like a -square). You must move your pointer to certain areas within the -square. Upon clicking, a new border is constructed at a relatively -quick pace. You can change the direction of the borders by 90 degrees -as well. Ultimately, you must force the ball to bounce around in a -smaller, and smaller area as time goes by without the ball ever -touching the borders as they are being constructed. If a ball touches -a certain part of the border as it is being built, the game is over. -After 75% of the original space has been blocked off from the moving -ball, you advance one level, and one more ball is added to the mix in -the following level. - -This game was previously known as kjezz. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kbounce -%defattr(-,root,root,-) -%{tde_datadir}/apps/kbounce/ -%{tde_tdeappdir}/kbounce.desktop -%{tde_datadir}/icons/hicolor/*/apps/kbounce.png -%{tde_bindir}/kbounce -%{tde_tdedocdir}/HTML/en/kbounce/ - -%post -n trinity-kbounce -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kbounce -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kenolaba -Summary: Enolaba board game for Trinity -Group: Amusements/Games - -%description -n trinity-kenolaba -kenolaba is a simple board strategy game that is played by two -players. There are red and yellow pieces for each player. Beginning -from a start position where each player has 14 pieces, moves are -drawn until one player has pushed 6 pieces of his opponent out of the -board. - -This game was previously known as kabalone, and was inspired by the -board game Abalone by Abalone SA, France. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kenolaba -%defattr(-,root,root,-) -%{tde_datadir}/apps/kenolaba/ -%{tde_datadir}/icons/hicolor/*/apps/kenolaba.png -%{tde_tdeappdir}/kenolaba.desktop -%{tde_bindir}/kenolaba -%{tde_tdedocdir}/HTML/en/kenolaba/ - -%post -n trinity-kenolaba -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kenolaba -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kfouleggs -Summary: A TDE clone of the Japanese PuyoPuyo game -Group: Amusements/Games - -%description -n trinity-kfouleggs -KFouleggs is a clone of the Japanese PuyoPuyo game, with advanced -features such as multiplayer games against human or AI, and network -play. If you have played Tetris or one of its many clones, you will -find KFouleggs easy to learn. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kfouleggs -%defattr(-,root,root,-) -%{tde_tdeappdir}/kfouleggs.desktop -%{tde_datadir}/apps/kfouleggs/ -%{tde_datadir}/config.kcfg/kfouleggs.kcfg -%{tde_bindir}/kfouleggs -%{tde_datadir}/icons/hicolor/*/apps/kfouleggs.png -%{tde_tdedocdir}/HTML/en/kfouleggs/ - -%post -n trinity-kfouleggs -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kfouleggs -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kgoldrunner -Summary: A Trinity clone of the Loderunner arcade game -Group: Amusements/Games - -%description -n trinity-kgoldrunner -KGoldrunner, a game of action and puzzle solving. Run through the -maze, dodge your enemies, collect all the gold and climb up to the -next level. - -You must guide the hero with the mouse or keyboard and collect all -the gold nuggets, then you can climb up into the next level. Your -enemies are also after the gold and they will kill you if they catch -you! - -The problem is you have no weapon to kill them. All you can do is -run away, dig holes in the floor to trap them or lure them into some -area where they cannot hurt you. After a short time a trapped enemy -climbs out of his hole, but if it closes before that, he will die and -reappear somewhere else. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kgoldrunner -%defattr(-,root,root,-) -%{tde_datadir}/apps/kgoldrunner/ -%{tde_datadir}/icons/hicolor/*/apps/kgoldrunner.png -%{tde_tdeappdir}/KGoldrunner.desktop -%{tde_bindir}/kgoldrunner -%{tde_tdedocdir}/HTML/en/kgoldrunner/ - -%post -n trinity-kgoldrunner -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kgoldrunner -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kjumpingcube -Summary: Tactical one or two player game -Group: Amusements/Games - -%description -n trinity-kjumpingcube -KJumpingCube is a simple tactical game. You can play it against the -computer or against a friend. The playing field consists of squares -that contains points. By clicking on the squares you can increase -the points and if the points reach a maximum the points will jump to -the squares neighbours and take them over. Winner is the one, who -owns all squares. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kjumpingcube -%defattr(-,root,root,-) -%{tde_bindir}/kjumpingcube -%{tde_datadir}/icons/hicolor/*/apps/kjumpingcube.png -%{tde_datadir}/apps/kjumpingcube/ -%{tde_tdeappdir}/kjumpingcube.desktop -%{tde_datadir}/config.kcfg/kjumpingcube.kcfg -%{tde_tdedocdir}/HTML/en/kjumpingcube/ - -%post -n trinity-kjumpingcube -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kjumpingcube -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-klickety -Summary: A Clickomania-like game for Trinity -Group: Amusements/Games - -%description -n trinity-klickety -Klickety is an adaptation of the (perhaps) well-known Clickomania -game; it is very similar to the "same" game. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-klickety -%defattr(-,root,root,-) -%{tde_bindir}/klickety -%{tde_tdeappdir}/klickety.desktop -%{tde_datadir}/icons/hicolor/*/apps/klickety.png -%{tde_datadir}/icons/crystalsvg/*/actions/endturn.png -%{tde_datadir}/apps/klickety/klicketyui.rc -%{tde_datadir}/apps/klickety/eventsrc -%{tde_tdedocdir}/HTML/en/klickety/ - -%post -n trinity-klickety -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-klickety -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-klines -Summary: Color lines for Trinity -Group: Amusements/Games - -%description -n trinity-klines -KLines is a simple game. It is played by one player, so there is only -one winner :-). You play for fun and against the high score. It was -inspired by a well known game - "Color lines", written for DOS by -Olga Demina, Igor Demina, Igor Ivkin and Gennady Denisov back in -1992. - -The main rules of the game are as simple as possible: you move (using -the mouse) marbles from cell to cell and build lines (horizontal, -vertical or diagonal). When a line contains 5 or more marbles, they -are removed and your score grows. After each turn the computer drops -three more marbles. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-klines -%defattr(-,root,root,-) -%{tde_datadir}/apps/klines/ -%{tde_tdeappdir}/klines.desktop -%{tde_bindir}/klines -%{tde_datadir}/config.kcfg/klines.kcfg -%{tde_datadir}/icons/hicolor/*/apps/klines.png -%{tde_tdedocdir}/HTML/en/klines/ - -%post -n trinity-klines -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-klines -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kmahjongg -Summary: the classic mahjongg game for Trinity project -Group: Amusements/Games - -%description -n trinity-kmahjongg -Your mission in this game is to remove all tiles from the game board. A -matching pair of tiles can be removed, if they are 'free', which means that -no other tiles block them on the left or right side. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kmahjongg -%defattr(-,root,root,-) -%{tde_datadir}/apps/kmahjongg/ -%{tde_datadir}/icons/hicolor/*/apps/kmahjongg.png -%{tde_tdeappdir}/kmahjongg.desktop -%{tde_bindir}/kmahjongg -%{tde_datadir}/config.kcfg/kmahjongg.kcfg -%{tde_tdedocdir}/HTML/en/kmahjongg/ - -%post -n trinity-kmahjongg -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kmahjongg -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kmines -Summary: Minesweeper for Trinity -Group: Amusements/Games - -%description -n trinity-kmines -KMines is the classic Minesweeper game. You must uncover all the -empty cases without blowing on a mine. - -When you uncover a case, a number appears : it indicates how many -mines surround this case. If there is no number the neighbour cases -are automatically uncovered. In your process of uncovering secure -cases, it is very useful to put a flag on the cases which contain a -mine. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kmines -%defattr(-,root,root,-) -%{tde_datadir}/icons/hicolor/*/apps/kmines.png -%{tde_tdeappdir}/kmines.desktop -%{tde_datadir}/apps/kmines/ -%{tde_bindir}/kmines -%{tde_tdedocdir}/HTML/en/kmines/ - -%post -n trinity-kmines -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kmines -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-knetwalk -Summary: A game for system administrators -Group: Amusements/Games - -%description -n trinity-knetwalk -This game presents the player with a rectangular field consisting of -a server, several clients, and pieces of wire. The object is to -rotate these elements until every client is connected to the server, -and no wires are left unconnected. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-knetwalk -%defattr(-,root,root,-) -%{tde_bindir}/knetwalk -%{tde_datadir}/apps/knetwalk -%{tde_datadir}/icons/hicolor/*/apps/knetwalk.png -%{tde_tdeappdir}/knetwalk.desktop - -%post -n trinity-knetwalk -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-knetwalk -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kolf -Summary: Minigolf game for TDE -Group: Amusements/Games - -%description -n trinity-kolf -This is a minigolf game for TDE that allows you to go through different -golf courses and waste an exorbitant amount of time. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kolf -%defattr(-,root,root,-) -%{tde_datadir}/config/magic/kolf.magic -%{tde_datadir}/apps/kolf/ -%{tde_bindir}/kolf -%{tde_tdeappdir}/kolf.desktop -%{tde_datadir}/icons/hicolor/*/apps/kolf.png -%{tde_datadir}/mimelnk/application/x-kolf.desktop -%{tde_datadir}/mimelnk/application/x-kourse.desktop -%{tde_libdir}/lib[kt]deinit_kolf.so -%{tde_libdir}/lib[kt]deinit_kolf.la -%{tde_tdelibdir}/kolf.la -%{tde_tdelibdir}/kolf.so -%{tde_libdir}/libkolf.so.1 -%{tde_libdir}/libkolf.so.1.2.0 -%{tde_tdedocdir}/HTML/en/kolf/ - -%post -n trinity-kolf -/sbin/ldconfig || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kolf -/sbin/ldconfig || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kolf-devel -Summary: Development files for Kolf -Group: Development/Libraries -Requires: trinity-kolf = %{version}-%{release} - -%description -n trinity-kolf-devel -This package contains headers and development libraries for compiling -Kolf plugins. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kolf-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kolf -%{tde_libdir}/libkolf.la -%{tde_libdir}/libkolf.so - -%post -n trinity-kolf-devel -/sbin/ldconfig || : - -%postun -n trinity-kolf-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-konquest -Summary: TDE based GNU-Lactic Konquest game -Group: Amusements/Games - -%description -n trinity-konquest -This the TDE version of Gnu-Lactic Konquest, a multi-player strategy -game. The goal of the game is to expand your interstellar empire -across the galaxy and, of course, crush your rivals in the process. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-konquest -%defattr(-,root,root,-) -%{tde_datadir}/apps/konquest/ -%{tde_datadir}/icons/hicolor/*/apps/konquest.png -%{tde_tdeappdir}/konquest.desktop -%{tde_bindir}/konquest -%{tde_tdedocdir}/HTML/en/konquest/ - -%post -n trinity-konquest -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-konquest -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kpat -Summary: Trinity solitaire patience game -Group: Amusements/Games - -%description -n trinity-kpat -KPatience is a collection of 14 card games. All the games are single -player games. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kpat -%defattr(-,root,root,-) -%{tde_datadir}/icons/hicolor/*/apps/kpat.png -%{tde_datadir}/apps/kpat/ -%{tde_tdeappdir}/kpat.desktop -%{tde_bindir}/kpat -%{tde_tdedocdir}/HTML/en/kpat/ - -%post -n trinity-kpat -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kpat -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kpoker -Summary: Trinity based Poker clone -Group: Amusements/Games - -%description -n trinity-kpoker -KPoker is a TDE compliant clone of those highly addictive pocket -video poker games which are sometimes called "Videopoker" as well. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kpoker -%defattr(-,root,root,-) -%{tde_datadir}/apps/kpoker/ -%{tde_datadir}/icons/hicolor/*/apps/kpoker.png -%{tde_tdeappdir}/kpoker.desktop -%{tde_bindir}/kpoker -%{tde_tdedocdir}/HTML/en/kpoker/ - -%post -n trinity-kpoker -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kpoker -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kreversi -Summary: Reversi for Trinity -Group: Amusements/Games - -%description -n trinity-kreversi -Reversi is a simple strategy game that is played by two -players. There is only one type of piece - one side of it is black, -the other white. If a player captures a piece on the board, that -piece is turned and belongs to that player. The winner is the person -that has more pieces of his own color on the board and if there are -no more moves possible. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kreversi -%defattr(-,root,root,-) -%{tde_bindir}/kreversi -%{tde_tdeappdir}/kreversi.desktop -%{tde_datadir}/apps/kreversi/ -%{tde_datadir}/config.kcfg/kreversi.kcfg -%{tde_datadir}/icons/crystalsvg/*/actions/lastmoves.png -%{tde_datadir}/icons/crystalsvg/*/actions/legalmoves.png -%{tde_datadir}/icons/crystalsvg/scalable/actions/lastmoves.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/legalmoves.svgz -%{tde_datadir}/icons/hicolor/*/apps/kreversi.png -%{tde_tdedocdir}/HTML/en/kreversi/ - -%post -n trinity-kreversi -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kreversi -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ksame -Summary: SameGame for Trinity -Group: Amusements/Games - -%description -n trinity-ksame -KSame is a simple game. It's played by one player, so there is only -one winner :-) You play for fun and against the high score. It has -been inspired by SameGame, that is only famous on the Macintosh -platform. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-ksame -%defattr(-,root,root,-) -%{tde_bindir}/ksame -%{tde_datadir}/icons/hicolor/*/apps/ksame.png -%{tde_datadir}/apps/ksame/* -%{tde_tdeappdir}/ksame.desktop -%{tde_tdedocdir}/HTML/en/ksame/ - -%post -n trinity-ksame -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ksame -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kshisen -Summary: Shisen-Sho for Trinity -Group: Amusements/Games - -%description -n trinity-kshisen -KShisen-Sho is a single-player-game similar to Mahjongg and uses the -same set of tiles as Mahjongg. - -The object of the game is to remove all tiles from the field. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kshisen -%defattr(-,root,root,-) -%{tde_datadir}/apps/kshisen/ -%{tde_datadir}/config.kcfg/kshisen.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kshisen.png -%{tde_tdeappdir}/kshisen.desktop -%{tde_bindir}/kshisen -%{tde_tdedocdir}/HTML/en/kshisen/ - -%post -n trinity-kshisen -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kshisen -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ksirtet -Summary: Tetris and Puyo-Puyo games for Trinity -Group: Amusements/Games - -%description -n trinity-ksirtet -This program is a clone of the well known game Tetris. You must fit -the falling pieces to form full lines. You can rotate and translate -the falling piece. The game ends when no more piece can fall ie when -your incomplete lines reach the top of the board. - -Every time you have destroyed 10 lines, you gain a level and the -pieces fall quicker (exactly the piece falls from a line each -1/(1+level) second). - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-ksirtet -%defattr(-,root,root,-) -%{tde_tdeappdir}/ksirtet.desktop -%{tde_datadir}/icons/hicolor/*/apps/ksirtet.png -%{tde_datadir}/apps/ksirtet/ -%{tde_bindir}/ksirtet -%{tde_datadir}/config.kcfg/ksirtet.kcfg -%{tde_tdedocdir}/HTML/en/ksirtet/ - -%post -n trinity-ksirtet -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ksirtet -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ksmiletris -Summary: Tetris like game for Trinity -Group: Amusements/Games - -%description -n trinity-ksmiletris -This is a game with falling blocks composed of different types of -smilies. The object of the game is to "crack a smile" by guiding -blocks so there are two or more of the same symbol vertically. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-ksmiletris -%defattr(-,root,root,-) -%{tde_datadir}/apps/ksmiletris/ -%{tde_datadir}/icons/hicolor/*/apps/ksmiletris.png -%{tde_tdeappdir}/ksmiletris.desktop -%{tde_bindir}/ksmiletris -%{tde_tdedocdir}/HTML/en/ksmiletris/ - -%post -n trinity-ksmiletris -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ksmiletris -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ksnake -Summary: Snake Race for Trinity -Group: Amusements/Games - -%description -n trinity-ksnake -Snake Race is a game of speed and agility. You are a hungry snake and -are trying to eat all the apples in the room before getting out! - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-ksnake -%defattr(-,root,root,-) -%{tde_datadir}/apps/ksnake/ -%{tde_datadir}/config.kcfg/ksnake.kcfg -%{tde_datadir}/icons/hicolor/*/apps/ksnake.png -%{tde_tdeappdir}/ksnake.desktop -%{tde_bindir}/ksnake -%{tde_tdedocdir}/HTML/en/ksnake/ - -%post -n trinity-ksnake -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ksnake -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ksokoban -Summary: Sokoban game for Trinity -Group: Amusements/Games - -%description -n trinity-ksokoban -The first sokoban game was created in 1982 by Hiroyuki Imabayashi at -the Japanese company Thinking Rabbit, Inc. "Sokoban" is japanese for -"warehouse keeper". The idea is that you are a warehouse keeper -trying to push crates to their proper locations in a warehouse. - -The problem is that you cannot pull the crates or step over them. If -you are not careful, some of the crates can get stuck in wrong places -and/or block your way. - -It can be rather difficult just to solve a level. But if you want to -make it even harder, you can try to minimise the number of moves -and/or pushes you use to solve the level. - -To make the game more fun for small kids (below 10 years or so), some -collections with easier levels are also included in KSokoban. These -are marked (easy) in the level collection menu. Of course, these -levels can be fun for adults too, for example if you don't want to -expose yourself to too much mental strain. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-ksokoban -%defattr(-,root,root,-) -%{tde_tdeappdir}/ksokoban.desktop -%{tde_datadir}/icons/hicolor/*/apps/ksokoban.png -%{tde_bindir}/ksokoban -%{tde_tdedocdir}/HTML/en/ksokoban/ - -%post -n trinity-ksokoban -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ksokoban -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kspaceduel -Summary: Arcade two-player space game for Trinity -Group: Amusements/Games - -%description -n trinity-kspaceduel -KSpaceduel is an space arcade game for two players. - -Each player controls a ship that flies around the sun and tries to -shoot at the other ship. You can play KSpaceduel with another person, -against the computer, or you can have the computer control both ships -and play each other. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-kspaceduel -%defattr(-,root,root,-) -%{tde_datadir}/apps/kspaceduel/ -%{tde_datadir}/icons/hicolor/*/apps/kspaceduel.png -%{tde_tdeappdir}/kspaceduel.desktop -%{tde_bindir}/kspaceduel -%{tde_datadir}/config.kcfg/kspaceduel.kcfg -%{tde_tdedocdir}/HTML/en/kspaceduel/ - -%post -n trinity-kspaceduel -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kspaceduel -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ktron -Summary: Tron clone for the K Desktop Environment -Group: Amusements/Games - -%description -n trinity-ktron -The object of the game is to avoid running into walls, your own tail, -and that of your opponent. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-ktron -%defattr(-,root,root,-) -%{tde_bindir}/ktron -%{tde_datadir}/icons/hicolor/*/apps/ktron.png -%{tde_tdeappdir}/ktron.desktop -%{tde_datadir}/apps/ktron/ -%{tde_datadir}/config.kcfg/ktron.kcfg -%{tde_tdedocdir}/HTML/en/ktron/ - -%post -n trinity-ktron -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ktron -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ktuberling -Summary: Potato Guy for Trinity -Group: Amusements/Games - -%description -n trinity-ktuberling -KTuberling is a game intended for small children. Of course, it may -be suitable for adults who have remained young at heart. - -It is a potato editor. That means that you can drag and drop eyes, -mouths, moustache, and other parts of face and goodies onto a -potato-like guy. Similarly, you have a penguin on which you can drop -other stuff. - -There is no winner for the game. The only purpose is to make the -funniest faces you can. - -There is a museum (like a "Madame Tusseau" gallery) where you can -find many funny examples of decorated potatoes. Of course, you can -send your own creations to the programmer, Eric Bischoff, who will -include them in the museum if he gets some spare time. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-ktuberling -%defattr(-,root,root,-) -%{tde_bindir}/ktuberling -%{tde_datadir}/icons/hicolor/*/apps/ktuberling.png -%{tde_tdeappdir}/ktuberling.desktop -%{tde_datadir}/apps/ktuberling/ -%{tde_datadir}/mimelnk/application/x-tuberling.desktop -%{tde_tdedocdir}/HTML/en/ktuberling/ - -%post -n trinity-ktuberling -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ktuberling -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-twin4 -Summary: Connect Four clone for Trinity -Group: Amusements/Games - -%description -n trinity-twin4 -Four wins is a game for two players. Each player is represented by a -colour (yellow and red). The goal of the game is to get four -connected pieces of your colour into a row, column or any -diagonal. This is done by placing one of your pieces into any of the -seven columns. A piece will begin to fill a column from the bottom, -i.e. it will fall down until it reaches the ground level or another -stone. After a move is done it is the turn of the other player. This -is repeated until the game is over, i.e. one of the players has four -pieces in a row, column or diagonal or no more moves are possible -because the board is filled. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-twin4 -%defattr(-,root,root,-) -%{tde_bindir}/[kt]win4 -%{tde_bindir}/[kt]win4proc -%{tde_datadir}/apps/[kt]win4/ -%{tde_datadir}/config.kcfg/[kt]win4.kcfg -%{tde_datadir}/icons/hicolor/*/apps/[kt]win4.png -%{tde_tdeappdir}/[kt]win4.desktop -%{tde_tdedocdir}/HTML/en/[kt]win4/ - -%post -n trinity-twin4 -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-twin4 -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-lskat -Summary: Lieutnant Skat card game for Trinity -Group: Amusements/Games - -%description -n trinity-lskat -Lieutnant Skat (from German Offiziersskat) is a card game for two -players. It is roughly played according to the rules of Skat but with -only two players and simplified rules. - -Every player has a set of cards in front of him/her, half of them -covered and half of them open. Both players try to win more than 60 -of the 120 possible points. After 16 moves all cards are played and -the game ends. - -This package is part of Trinity, and a component of the TDE games module. - -%files -n trinity-lskat -%defattr(-,root,root,-) -%{tde_bindir}/lskat -%{tde_bindir}/lskatproc -%{tde_datadir}/apps/lskat/ -%{tde_datadir}/icons/hicolor/*/apps/lskat.png -%{tde_tdeappdir}/lskat.desktop -%{tde_tdedocdir}/HTML/en/lskat/ - -%post -n trinity-lskat -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-lskat -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -# Do not build against any "/usr" installed KDE -export KDEDIR="%{tde_prefix}" - -# Specific path for RHEL4 -if [ -d "/usr/X11R6" ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --enable-new-ldflags \ - --disable-dependency-tracking \ - --disable-rpath \ - --enable-final \ - --disable-debug \ - --disable-warnings \ - --enable-closure \ - --disable-setgid \ - --with-extra-includes=%{tde_includedir}/tqt - -# WTF hack for RHEL4 -%if 0%{?rhel} == 4 -mkdir atlantik/libatlantic/.libs -ln -s . atlantik/libatlantic/.libs/.libs -%endif - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} - -# locale's -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common - done - popd - fi -done -fi - - -%clean -%__rm -rf %{buildroot} - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 -- Initial release for TDE 3.5.13.2 diff --git a/redhat/tdegraphics/kdegraphics-3.5.12.spec b/redhat/tdegraphics/kdegraphics-3.5.12.spec new file mode 100644 index 000000000..9e1e07e3b --- /dev/null +++ b/redhat/tdegraphics/kdegraphics-3.5.12.spec @@ -0,0 +1,369 @@ +# Default version for this component +%if "%{?version}" == "" +%define version 3.5.12 +%endif +%define release 3 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_prefix}/share/doc +%endif + +# TDE 3.5.12 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir} +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/kde3 + + +Name: trinity-kdegraphics +Version: %{?version} +Release: %{?release}%{?dist}%{_variant} +License: GPL +Summary: K Desktop Environment - Graphics Applications + +Group: Applications/Multimedia + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: kdegraphics-%{version}.tar.gz + +# Official TDE patches (from SVN) +# Fix kdegraphics FTBFS under gcc4.6 +# Thanks to David Rankin for the patch! +Patch0: r1242777.diff + +# [kdegraphics/kviewshell]: GCC >= 4.5 fix +# avoid "documentWidget.cpp:290:70: error: taking address of temporary" +Patch1: kdegraphics-documentwidget-gcc45.patch + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: trinity-kdebase-devel +BuildRequires: gettext +BuildRequires: libmng-devel +BuildRequires: libpng-devel +BuildRequires: libtiff-devel +BuildRequires: libungif-devel +BuildRequires: automake libtool +BuildRequires: gphoto2-devel +BuildRequires: sane-backends-devel +BuildRequires: libusb-devel + + +# kgamma +BuildRequires: libXxf86vm-devel +# kuickshow +BuildRequires: imlib-devel +#kfile-plugin +BuildRequires: OpenEXR-devel +# kpdf +BuildRequires: freetype-devel +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 +BuildRequires: poppler-qt-devel +%else +BuildRequires: poppler-devel +%endif +BuildRequires: libpaper-devel +# ksvg +BuildRequires: fontconfig-devel +BuildRequires: fribidi-devel +BuildRequires: lcms-devel +BuildRequires: libart_lgpl-devel +BuildRequires: libXmu-devel +# kpovmodeler +BuildRequires: libGL-devel libGLU-devel libXi-devel + +Requires: tqtinterface +Requires: trinity-arts +Requires: trinity-kdelibs +Requires: ghostscript +Requires: %{name}-libs = %{version}-%{release} + +%if "%{_prefix}" == "/usr" +Provides: kdegraphics3 = %{version}-%{release} +Conflicts: kdegraphics +%endif + +%description +Graphics applications for the K Desktop Environment, including +* kamera (digital camera support) +* kcoloredit (palette editor and color chooser) +* kdvi (displays TeX .dvi files) +* kghostview (displays postscript files) +* kiconedit (icon editor) +* kooka (scanner application) +* kpdf (displays PDF files) +* kruler (screen ruler and color measurement tool) +* ksnapshot (screen capture utility) +* kview (image viewer for GIF, JPEG, TIFF, etc.) + +%package devel +Summary: Development files for %{name} +Provides: kdegraphics3-devel = %{version}-%{release} +Requires: %{name}-libs = %{version}-%{release} +Group: Development/Libraries +%description devel +%{summary}. + +## FIXME: move more stuff to -extras +%package extras +Summary: Extra applications from %{name} +Group: Applications/Multimedia +Requires: %{name}-libs = %{version}-%{release} +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig + +%description extras +%{summary}, including: +* kfax +* kfaxview +* kpovmodler + +%package libs +Summary: %{name} runtime libraries +Group: System Environment/Libraries +Requires: trinity-kdelibs >= %{version} +# include to be paranoid, installing libs-only is still mostly untested -- Rex +Requires: %{name} = %{version}-%{release} +%description libs +%{summary}. + + + +%prep +%setup -q -n kdegraphics +%patch0 -p1 +%patch1 -p1 + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%configure \ + --enable-new-ldflags \ + --disable-dependency-tracking \ + --disable-rpath \ + --disable-debug \ + --disable-warnings \ + --enable-final \ + --includedir=%{_includedir}/kde \ + --with-xinerama \ + --with-extra-includes=%{_includedir}/tqt + +%if 0%{?fedora} >= 15 +# Ugly fix for kolourpaint - problem when linking libkdefx.so +sed -i kolourpaint/Makefile \ + -e 's,\($(kolourpaint_LINK) $(kolourpaint_OBJECTS) $(kolourpaint_LDADD) \)\($(LIBS)\),\1 -lkdefx \2,' + +# Another ugly fix for kpdf - problem when linking fontconfig +sed -i kpdf/Makefile \ + -e '/^LDFLAGS = .*/ s,$, -lfontconfig,' +%endif + +%__make %{?_smp_mflags} + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} + +%__make install DESTDIR=%{buildroot} + +# locale's +%find_lang %{name} || touch %{name}.lang +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi +done +fi + +# rpmdocs +for dir in k* ; do + for file in AUTHORS ChangeLog README TODO ; do + if test -s "$dir/$file" ; then + install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file" + echo "%doc rpmdocs/$dir/" >> %{name}.lang + fi + done +done + +# unpackaged files +# omit kpovmodeler-devel files (for now) -- Rex +rm -f %{buildroot}/libkpovmodeler.so + + +%clean +rm -rf %{buildroot} + + +%post +for f in crystalsvg hicolor ; do + touch --no-create %{_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun +for f in crystalsvg hicolor ; do + touch --no-create %{_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%post libs +/sbin/ldconfig + +%postun libs +/sbin/ldconfig + +%post extras +/sbin/ldconfig ||: +for f in crystalsvg hicolor ; do + touch --no-create %{_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun extras +/sbin/ldconfig ||: +for f in crystalsvg hicolor ; do + touch --no-create %{_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + + +%files extras +%defattr(-,root,root,-) + +# kfax +%doc rpmdocs/kfax/ +%{_bindir}/kfax +%{_datadir}/applications/kde/kfax.desktop +%{_datadir}/apps/kfax/ +%{_datadir}/icons/hicolor/??x??/apps/kfax.png +%{_datadir}/icons/hicolor/scalable/apps/kfax.svgz + +# kfaxview +%{_bindir}/kfaxview +%{_libdir}/libkfaximage.so +%{_libdir}/libkfaximage.la +%{tde_libdir}/kfaxviewpart.* +%{_datadir}/applications/kde/kfaxview.desktop +%{_datadir}/apps/kfaxview/ +%{_datadir}/icons/hicolor/??x??/apps/kfaxview.png +%{_datadir}/icons/hicolor/scalable/apps/kfaxview.svgz +%{_datadir}/services/kfaxmultipage.desktop +%{_datadir}/services/kfaxmultipage_tiff.desktop + +# kpovmodeler +%doc rpmdocs/kpovmodeler/ +%doc %{_docdir}/HTML/en/kpovmodeler/ +%{_bindir}/kpovmodeler +%{_libdir}/libkpovmodeler.so.* +%{_libdir}/libkpovmodeler.la +%{tde_libdir}/libkpovmodelerpart.* +%{_datadir}/applications/kde/kpovmodeler.desktop +%{_datadir}/apps/kpovmodeler/ +%{_datadir}/icons/crystalsvg/*/mimetypes/kpovmodeler_doc.* +%{_datadir}/icons/hicolor/*/apps/kpovmodeler.* + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING README +%doc rpmdocs/* + +# kfax +%exclude %{_bindir}/kfax +%exclude %{_datadir}/applications/kde/kfax.desktop +%exclude %{_datadir}/apps/kfax/ +%exclude %{_datadir}/icons/hicolor/*/apps/kfax.* + +# kfaxview +%exclude %{_bindir}/kfaxview +%exclude %{_libdir}/libkfaximage.so +%exclude %{_libdir}/libkfaximage.la +%exclude %{tde_libdir}/kfaxviewpart.* +%exclude %{_datadir}/applications/kde/kfaxview.desktop +%exclude %{_datadir}/apps/kfaxview/ +%exclude %{_datadir}/icons/hicolor/*/apps/kfaxview.* +%exclude %{_datadir}/services/kfaxmultipage.desktop +%exclude %{_datadir}/services/kfaxmultipage_tiff.desktop + +# kpovmodeler +%exclude %{tde_docdir}/HTML/en/kpovmodeler/ +%exclude %{_bindir}/kpovmodeler +%exclude %{_libdir}/libkpovmodeler.* +%exclude %{tde_libdir}/libkpovmodelerpart.* +%exclude %{_datadir}/applications/kde/kpovmodeler.desktop +%exclude %{_datadir}/apps/kpovmodeler/ +%exclude %{_datadir}/icons/crystalsvg/*/mimetypes/kpovmodeler_doc.* +%exclude %{_datadir}/icons/hicolor/*/apps/kpovmodeler.* + +%{_bindir}/* +%{_datadir}/applications/kde/*.desktop +%{_datadir}/applnk/Graphics/*kruler.desktop +%{_datadir}/apps/* +%{_datadir}/icons/crystalsvg/*/*/* +%{_datadir}/icons/hicolor/*/*/* +%{_datadir}/config*/* +%{_datadir}/service*/* +%{_datadir}/mimelnk/*/* +%{_libdir}/libkdeinit_*.so +%{tde_libdir}/* + +%files libs +%defattr(-,root,root,-) +%exclude %{_libdir}/libkfaximage.la +%exclude %{_libdir}/libkpovmodeler.la +%exclude %{_libdir}/libkpovmodeler.so.* +%{_libdir}/lib*.so.* +%{_libdir}/lib*.la +# Why ??? +%{_libdir}/libdjvu.so + +%files devel +%defattr(-,root,root,-) +%{_includedir}/kde/* +%{_libdir}/lib*.so +#exclude %{_libdir}/libkpovmodeler.so +%exclude %{_libdir}/libkfaximage.so +%exclude %{_libdir}/libkdeinit_*.so +%exclude %{_libdir}/libdjvu.so + +%changelog +* Mon Sep 19 2011 Francois Andriot - 3.5.12-3 +- Add support for RHEL5 + +* Sun Sep 11 2011 Francois Andriot - 3.5.12-2 +- Import to GIT + +* Wed Aug 24 2011 Francois Andriot - 3.5.12-1 +- Add fix for Fedora 15 +- Add 'patch0' and 'patch1' for GCC >= 4.5 +- Correct macro to install under "/opt", if desired + +* Thu Jun 30 2011 Francois Andriot - 3.5.12-0 +- Initial build for RHEL 6.0 +- SPEC file taken from Fedora 8 "kdegraphics 7:3.5.10-1" diff --git a/redhat/tdegraphics/kdegraphics-3.5.13.1.spec b/redhat/tdegraphics/kdegraphics-3.5.13.1.spec new file mode 100644 index 000000000..2268633da --- /dev/null +++ b/redhat/tdegraphics/kdegraphics-3.5.13.1.spec @@ -0,0 +1,1312 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-tdegraphics +Version: 3.5.13.1 +Release: 1%{?dist}%{_variant} +License: GPL +Summary: Trinity Desktop Environment - Graphics Applications + +Group: Applications/Multimedia +Prefix: %{tde_prefix} + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: kdegraphics-3.5.13.1.tar.gz + +# TDE 3.5.13 +## RHEL / Fedora specific patches +# [kdegraphics/kpdf/xpdf] Disable 'mkstemps' support for RHEL5 +Patch3: kdegraphics-3.5.13-xpdf_disable_mkstemps.patch +# [tdegraphics] Fix poppler include directory location +Patch9: kdegraphics-3.5.13-fix_poppler_include_dir.patch +# [tdegraohics] Fix poppler include directory location (2) +Patch10: kdegraphics-3.5.13.1-fix_poppler_pkgconfig.patch + +# [tdegraphics] Fix build on RHEL4 +Patch201: kdegraphics-3.5.13.1-fix_rhel4_libraries.patch + +BuildRequires: cmake >= 2.8 +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: trinity-tdebase-devel >= %{version} +BuildRequires: gettext +BuildRequires: libmng-devel +%if 0%{?mdkversion} && 0%{?pclinuxos} == 0 +BuildRequires: %{_lib}png15-devel +%else +BuildRequires: libpng-devel +%endif +BuildRequires: libtiff-devel +BuildRequires: automake libtool +BuildRequires: libusb-devel +BuildRequires: pcre-devel + +# GIF support +%if 0%{?suse_version} +BuildRequires: giflib-devel +%else +BuildRequires: libungif-devel +%endif + +# GPHOTO2 support +%if 0%{?suse_version} +BuildRequires: libgphoto2-devel +%else +BuildRequires: gphoto2-devel +%endif + +# PAPER support +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_paper 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}paper-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: libpaper-devel +%endif +%endif + +# T1LIB support +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} +%define with_t1lib 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}t1lib-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} +BuildRequires: t1lib-devel +%endif +%endif + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}sane1-devel +# kuickshow +#BuildRequires: %{_lib}imlib-devel +# kpovmodeler +BuildRequires: %{_lib}xi-devel +# kgamma +BuildRequires: %{_lib}xxf86vm-devel +# ksvg +BuildRequires: %{_lib}xmu%{?mgaversion:6}-devel +# kpovmodeler +BuildRequires: %{_lib}mesagl1-devel +BuildRequires: %{_lib}mesaglu1-devel +%else +BuildRequires: sane-backends-devel + +# kuickshow +#BuildRequires: imlib-devel + +%if 0%{?rhel} == 4 +BuildRequires: xorg-x11-devel +%else +BuildRequires: libdrm-devel + +# kpovmodeler +BuildRequires: libXi-devel + +# kgamma +BuildRequires: libXxf86vm-devel + +# ksvg +BuildRequires: libXmu-devel +%endif + +# kpovmodeler +%if 0%{?suse_version} +BuildRequires: Mesa-libGL-devel +BuildRequires: Mesa-libGLU-devel +%else +BuildRequires: libGL-devel +BuildRequires: libGLU-devel +%endif +%endif + +#kfile-plugin +BuildRequires: OpenEXR-devel + +# kpdf +BuildRequires: freetype-devel + +# poppler +%if 0%{?rhel} >=6 || 0%{?fedora} >= 15 || 0%{?suse_version} +BuildRequires: poppler-devel >= 0.12 +#BuildRequires: poppler-qt-devel >= 0.12 +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}poppler-devel +%endif +%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 +# On RHEL 5, the distro-provided poppler is too old. We built a newer one. +BuildRequires: trinity-poppler-devel +BuildRequires: trinity-poppler-qt3-devel >= 0.12 +%endif + +# ksvg +BuildRequires: fontconfig-devel +%if 0%{?suse_version} +BuildRequires: liblcms-devel +%else +BuildRequires: lcms-devel +%endif +BuildRequires: libart_lgpl-devel + +# kuickshow +BuildRequires: fribidi-devel + +# kamera +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} +%define build_kamera 1 +%endif + +Obsoletes: trinity-kdegraphics < %{version}-%{release} +Provides: trinity-kdegraphics = %{version}-%{release} +Obsoletes: trinity-kdegraphics-libs < %{version}-%{release} +Provides: trinity-kdegraphics-libs = %{version}-%{release} +Obsoletes: trinity-kdegraphics-extras < %{version}-%{release} +Provides: trinity-kdegraphics-extras = %{version}-%{release} + + +%{?build_kamera:Requires: trinity-kamera = %{version}-%{release}} +Requires: trinity-kcoloredit = %{version}-%{release} +Requires: %{name}-kfile-plugins = %{version}-%{release} +Requires: trinity-kdvi = %{version}-%{release} +Requires: trinity-kfax = %{version}-%{release} +Requires: trinity-kfaxview = %{version}-%{release} +Requires: trinity-kgamma = %{version}-%{release} +Requires: trinity-kghostview = %{version}-%{release} +Requires: trinity-kiconedit = %{version}-%{release} +Requires: trinity-kmrml = %{version}-%{release} +Requires: trinity-kolourpaint = %{version}-%{release} +Requires: trinity-kooka = %{version}-%{release} +Requires: trinity-kpdf = %{version}-%{release} +Requires: trinity-kpovmodeler = %{version}-%{release} +Requires: trinity-kruler = %{version}-%{release} +Requires: trinity-ksnapshot = %{version}-%{release} +Requires: trinity-ksvg = %{version}-%{release} +Requires: trinity-kview = %{version}-%{release} +Requires: trinity-kviewshell = %{version}-%{release} +Requires: trinity-libkscan = %{version}-%{release} +Requires: %{name}-libpoppler-tqt = %{version}-%{release} + +%description +Graphics applications for the Trinity Desktop Environment, including +%if 0%{?build_kamera} +* kamera (digital camera support) +%endif +* kcoloredit (palette editor and color chooser) +* kdvi (displays TeX .dvi files) +* kfax +* kfaxview +* kghostview (displays postscript files) +* kiconedit (icon editor) +* kooka (scanner application) +* kpdf (displays PDF files) +* kpovmodler +* kruler (screen ruler and color measurement tool) +* ksnapshot (screen capture utility) +* kview (image viewer for GIF, JPEG, TIFF, etc.) + +%files + +########## + +%if 0%{?build_kamera} + +%package -n trinity-kamera +Summary: Digital camera io_slave for Konqueror +Group: Applications/Graphics + +%description -n trinity-kamera +This is a digital camera io_slave for TDE which uses gphoto2 and libgpio +to allow access to your camera's pictures with the URL camera:/ + +%post -n trinity-kamera +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kamera +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%files -n trinity-kamera +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcm_kamera.la +%{tde_tdelibdir}/kcm_kamera.so +%{tde_tdelibdir}/kio_kamera.la +%{tde_tdelibdir}/kio_kamera.so +%{tde_tdeappdir}/kamera.desktop +%{tde_datadir}/icons/crystalsvg/*/actions/camera_test.png +%{tde_datadir}/icons/crystalsvg/*/apps/camera.png +%{tde_datadir}/icons/crystalsvg/*/devices/camera.png +%{tde_datadir}/icons/crystalsvg/*/filesystems/camera.png +%{tde_datadir}/services/camera.protocol +%{tde_tdedocdir}/HTML/en/kamera/ + +%endif + +########## + +%package -n trinity-kcoloredit +Summary: A color palette editor and color picker for TDE +Group: Applications/Graphics + +%description -n trinity-kcoloredit +This package contains two programs, a color palette editor and also a color +picker. + +%files -n trinity-kcoloredit +%defattr(-,root,root,-) +%{tde_bindir}/kcolorchooser +%{tde_bindir}/kcoloredit +%{tde_tdeappdir}/kcolorchooser.desktop +%{tde_tdeappdir}/kcoloredit.desktop +%{tde_datadir}/apps/kcoloredit/kcoloreditui.rc +%{tde_datadir}/icons/hicolor/*/apps/kcolorchooser.png +%{tde_datadir}/icons/hicolor/*/apps/kcoloredit.png +%{tde_tdedocdir}/HTML/en/kcoloredit/ + +%post -n trinity-kcoloredit +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kcoloredit +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package kfile-plugins +Summary: TDE metainfo plugins for graphic files +Group: Environment/Libraries + +%description kfile-plugins +This packages provides meta information for graphic files (file sizes, +tags, etc. all from within the file manager). + +%files kfile-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/gsthumbnail.la +%{tde_tdelibdir}/gsthumbnail.so +%{tde_tdelibdir}/kfile_bmp.la +%{tde_tdelibdir}/kfile_bmp.so +%{tde_tdelibdir}/kfile_dds.la +%{tde_tdelibdir}/kfile_dds.so +%{tde_tdelibdir}/kfile_dvi.la +%{tde_tdelibdir}/kfile_dvi.so +%{tde_tdelibdir}/kfile_exr.la +%{tde_tdelibdir}/kfile_exr.so +%{tde_tdelibdir}/kfile_gif.la +%{tde_tdelibdir}/kfile_gif.so +%{tde_tdelibdir}/kfile_ico.la +%{tde_tdelibdir}/kfile_ico.so +%{tde_tdelibdir}/kfile_jpeg.la +%{tde_tdelibdir}/kfile_jpeg.so +%{tde_tdelibdir}/kfile_pcx.la +%{tde_tdelibdir}/kfile_pcx.so +%{tde_tdelibdir}/kfile_pdf.la +%{tde_tdelibdir}/kfile_pdf.so +%{tde_tdelibdir}/kfile_png.la +%{tde_tdelibdir}/kfile_png.so +%{tde_tdelibdir}/kfile_pnm.la +%{tde_tdelibdir}/kfile_pnm.so +%{tde_tdelibdir}/kfile_ps.la +%{tde_tdelibdir}/kfile_ps.so +%{tde_tdelibdir}/kfile_raw.la +%{tde_tdelibdir}/kfile_raw.so +%{tde_tdelibdir}/kfile_rgb.la +%{tde_tdelibdir}/kfile_rgb.so +%{tde_tdelibdir}/kfile_tga.la +%{tde_tdelibdir}/kfile_tga.so +%{tde_tdelibdir}/kfile_tiff.la +%{tde_tdelibdir}/kfile_tiff.so +%{tde_tdelibdir}/kfile_xbm.la +%{tde_tdelibdir}/kfile_xbm.so +%{tde_tdelibdir}/kfile_xpm.la +%{tde_tdelibdir}/kfile_xpm.so +%{tde_datadir}/services/gsthumbnail.desktop +%{tde_datadir}/services/kfile_bmp.desktop +%{tde_datadir}/services/kfile_dds.desktop +%{tde_datadir}/services/kfile_dvi.desktop +%{tde_datadir}/services/kfile_exr.desktop +%{tde_datadir}/services/kfile_gif.desktop +%{tde_datadir}/services/kfile_ico.desktop +%{tde_datadir}/services/kfile_jpeg.desktop +%{tde_datadir}/services/kfile_pcx.desktop +%{tde_datadir}/services/kfile_pdf.desktop +%{tde_datadir}/services/kfile_png.desktop +%{tde_datadir}/services/kfile_pnm.desktop +%{tde_datadir}/services/kfile_ps.desktop +%{tde_datadir}/services/kfile_raw.desktop +%{tde_datadir}/services/kfile_rgb.desktop +%{tde_datadir}/services/kfile_tga.desktop +%{tde_datadir}/services/kfile_tiff.desktop +%{tde_datadir}/services/kfile_xbm.desktop +%{tde_datadir}/services/kfile_xpm.desktop + +########## + +%package -n trinity-kdvi +Summary: Dvi viewer for TDE +Group: Applications/Graphics + +%description -n trinity-kdvi +This program and KPart allow the user to display *.DVI files from TeX. + +%files -n trinity-kdvi +%defattr(-,root,root,-) +%{tde_bindir}/kdvi +%{tde_tdelibdir}/kdvipart.la +%{tde_tdelibdir}/kdvipart.so +%{tde_tdeappdir}/kdvi.desktop +%{tde_datadir}/apps/kdvi/ +%{tde_datadir}/config.kcfg/kdvi.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kdvi.png +%{tde_datadir}/icons/hicolor/scalable/apps/kdvi.svgz +%{tde_datadir}/services/kdvimultipage.desktop +%{tde_tdedocdir}/HTML/en/kdvi/ + +%post -n trinity-kdvi +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kdvi +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kfax +Summary: G3/G4 fax viewer for Trinity +Group: Applications/Graphics +Requires: libtiff + +%description -n trinity-kfax +A fax viewer for Trinity, supporting the display of raw and tiffed fax images +(g3, g3-2d, g4). + +%files -n trinity-kfax +%defattr(-,root,root,-) +%doc rpmdocs/kfax/ +%{tde_bindir}/kfax +%{tde_tdeappdir}/kfax.desktop +%{tde_datadir}/apps/kfax/ +%{tde_datadir}/icons/hicolor/??x??/apps/kfax.png +%{tde_datadir}/icons/hicolor/scalable/apps/kfax.svgz + +%post -n trinity-kfax +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kfax +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kfaxview +Summary: G3/G4 fax viewer for Trinity using kviewshell +Group: Applications/Graphics + +%description -n trinity-kfaxview +A fax viewer for Trinity, supporting the display of raw and tiffed fax images +(g3, g3-2d, g4). + +This faxviewer uses kviewshell and is intended to replace the standalone +kfax application once it reproduces all of kfax's features. + +%files -n trinity-kfaxview +%defattr(-,root,root,-) +%{tde_bindir}/kfaxview +%{tde_libdir}/libkfaximage.so.* +%{tde_tdelibdir}/kfaxviewpart.* +%{tde_tdeappdir}/kfaxview.desktop +%{tde_datadir}/apps/kfaxview/ +%{tde_datadir}/icons/hicolor/??x??/apps/kfaxview.png +%{tde_datadir}/icons/hicolor/scalable/apps/kfaxview.svgz +%{tde_datadir}/services/kfaxmultipage.desktop +%{tde_datadir}/services/kfaxmultipage_tiff.desktop + +%post -n trinity-kfaxview +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : +/sbin/ldconfig || : + +%postun -n trinity-kfaxview +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : +/sbin/ldconfig || : + +########## + +%package -n trinity-kgamma +Summary: Gamma correction module for the Trinity Control Center +Group: Applications/Graphics + +%description -n trinity-kgamma +KGamma is a Trinity Control Center module for gamma calibration/correction +of XFree86. With proper gamma settings, your display (websites, images, +etc.) will look the same on your monitor as on other monitors. + +Homepage: http://kgamma.berlios.de/index2.php + +%files -n trinity-kgamma +%defattr(-,root,root,-) +%{tde_bindir}/xf86gammacfg +%{tde_tdelibdir}/kcm_kgamma.la +%{tde_tdelibdir}/kcm_kgamma.so +%{tde_tdeappdir}/kgamma.desktop +%{tde_datadir}/apps/kgamma/ +%{tde_datadir}/icons/hicolor/*/apps/kgamma.png +%{tde_tdedocdir}/HTML/en/kgamma/ + +%post -n trinity-kgamma +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kgamma +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kghostview +Summary: PostScript viewer for Trinity +Group: Applications/Graphics +Requires: ghostscript + +%description -n trinity-kghostview +KGhostview is Trinity's PostScript viewer. It is a port of Tim Theisen's +Ghostview program which is used to view documents prepared in Adobe's +PostScript page description language. PostScript is the major page +description language for printing on UNIX systems, and this application is +useful to preview material intended for printing, or for reading documents +online. + +%files -n trinity-kghostview +%defattr(-,root,root,-) +%{tde_bindir}/kghostview +%{tde_tdelibdir}/libkghostviewpart.la +%{tde_tdelibdir}/libkghostviewpart.so +%{tde_libdir}/libkghostviewlib.so.* +%{tde_tdeappdir}/kghostview.desktop +%{tde_datadir}/apps/kconf_update/kghostview.upd +%{tde_datadir}/apps/kconf_update/update-to-xt-names.pl +%{tde_datadir}/apps/kghostview/ +%{tde_datadir}/config.kcfg/kghostview.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kghostview.png +%{tde_datadir}/services/kghostview_part.desktop +%{tde_tdedocdir}/HTML/en/kghostview/ + +%post -n trinity-kghostview +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : +/sbin/ldconfig || : + +%postun -n trinity-kghostview +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : +/sbin/ldconfig || : + +########## + +%package -n trinity-kiconedit +Summary: An icon editor for Trinity +Group: Applications/Graphics + +%description -n trinity-kiconedit +KIconedit allows you easily to create and edit icons. + +%files -n trinity-kiconedit +%defattr(-,root,root,-) +%{tde_bindir}/kiconedit +%{tde_tdeappdir}/kiconedit.desktop +%{tde_datadir}/apps/kiconedit/ +%{tde_datadir}/icons/hicolor/*/apps/kiconedit.png +%{tde_tdedocdir}/HTML/en/kiconedit/ + +%post -n trinity-kiconedit +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kiconedit +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kmrml +Summary: A Konqueror plugin for searching pictures +Group: Applications/Graphics + +%description -n trinity-kmrml +MRML is short for Multimedia Retrieval Markup Language, which defines a +protocol for querying a server for images based on their content. See +http://www.mrml.net about MRML and the GNU Image Finding Tool (GIFT), an +MRML server. + +%files -n trinity-kmrml +%defattr(-,root,root,-) +%{tde_bindir}/mrmlsearch +%{tde_tdelibdir}/kcm_kmrml.la +%{tde_tdelibdir}/kcm_kmrml.so +%{tde_tdelibdir}/kded_daemonwatcher.la +%{tde_tdelibdir}/kded_daemonwatcher.so +%{tde_tdelibdir}/kio_mrml.la +%{tde_tdelibdir}/kio_mrml.so +%{tde_tdelibdir}/libkmrmlpart.la +%{tde_tdelibdir}/libkmrmlpart.so +%{tde_tdelibdir}/mrmlsearch.la +%{tde_tdelibdir}/mrmlsearch.so +%{tde_libdir}/lib[kt]deinit_mrmlsearch.so +%{tde_tdeappdir}/kcmkmrml.desktop +%{tde_datadir}/apps/konqueror/servicemenus/mrml-servicemenu.desktop +%{tde_datadir}/mimelnk/text/mrml.desktop +%{tde_datadir}/services/kded/daemonwatcher.desktop +%{tde_datadir}/services/mrml.protocol +%{tde_datadir}/services/mrml_part.desktop + +%post -n trinity-kmrml +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : +/sbin/ldconfig || : + +%postun -n trinity-kmrml +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : +/sbin/ldconfig || : + +########## + +%package -n trinity-kolourpaint +Summary: A simple paint program for Trinity +Group: Applications/Graphics + +%description -n trinity-kolourpaint +KolourPaint is a very simple paint program for Trinity. It aims to be +conceptually simple to understand; providing a level of functionality +targeted towards the average user. It's designed for daily tasks like: + +* Painting - drawing diagrams and "finger painting" +* Image Manipulation - editing screenshots and photos; applying effects +* Icon Editing - drawing clipart and logos with transparency + +It's not an unusable and monolithic program where simple tasks like +drawing lines become near impossible. Nor is it so simple that it lacks +essential features like Undo/Redo. + +Homepage: http://kolourpaint.sourceforge.net + +%files -n trinity-kolourpaint +%defattr(-,root,root,-) +%{tde_bindir}/kolourpaint +%{tde_tdeappdir}/kolourpaint.desktop +%{tde_datadir}/apps/kolourpaint/ +%{tde_datadir}/icons/hicolor/*/apps/kolourpaint.png +%{tde_datadir}/icons/hicolor/scalable/apps/kolourpaint.svgz +%{tde_tdedocdir}/HTML/en/kolourpaint/ + +%post -n trinity-kolourpaint +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kolourpaint +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kooka +Summary: Scanner program for Trinity +Group: Applications/Graphics + +%description -n trinity-kooka +Kooka is an open source GNU/Linux scan program based on SANE and +KScan library. + +Kooka helps you to handle the most important scan parameters, find the +correct image file format to save and manage your scanned images. It +offers support for different OCR modules. Libkscan, a autonomous part +of Kooka, provides a scan service for easy and consistent use to all +KDE applications. + +Install ocrad or gocr if you wish to enable optical character recognition +in kooka. + +Homepage: http://kooka.kde.org/ + +%files -n trinity-kooka +%defattr(-,root,root,-) +%{tde_datadir}/config/kookarc +%{tde_bindir}/kooka +%{tde_tdeappdir}/kooka.desktop +%{tde_datadir}/apps/kooka/ +%{tde_tdedocdir}/HTML/en/kooka/ + +%post -n trinity-kooka +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kooka +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kpdf +Summary: PDF viewer for Trinity +Group: Applications/Graphics +#Recommends: kghostview-trinity (= ${binary:Version}) + +%description -n trinity-kpdf +KPDF allows you to view PDF (Portable Document Format) files. This package +includes kpdfpart so you can embed in konqueror or run as a standalone +application. + +%files -n trinity-kpdf +%defattr(-,root,root,-) +%{tde_bindir}/kpdf +%{tde_tdelibdir}/libkpdfpart.la +%{tde_tdelibdir}/libkpdfpart.so +%{tde_tdeappdir}/kpdf.desktop +%{tde_datadir}/apps/kpdf/shell.rc +%{tde_datadir}/apps/kpdfpart/part.rc +%{tde_datadir}/config.kcfg/kpdf.kcfg +%{tde_tdedocdir}/HTML/en/kpdf/ +%{tde_datadir}/icons/hicolor/*/apps/kpdf.png +%{tde_datadir}/icons/hicolor/scalable/apps/kpdf.svgz +%{tde_datadir}/services/kpdf_part.desktop + +%post -n trinity-kpdf +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kpdf +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kpovmodeler +Summary: A graphical editor for povray scenes +Group: Applications/Graphics +#Requires: povray + +%description -n trinity-kpovmodeler +KPovmodeler is KDE's graphical editor for povray scenes. KPovModeler is a +modeling and composition program for creating POV-Ray scenes in KDE. + +For most modelers, POV-Ray is nothing but a rendering engine. This greatly +limits the innate possibilities of the POV-Ray scripted language. This +is not the case for KPovModeler, which allows you to use all the features +of POV-Ray through the translation of POV-Ray language into a graphical +tree. + +kpovmodeler uses the povray package, currently available only in Debian's +non-free, unsupported repository. + +Homepage: http://www.kpovmodeler.org + +%files -n trinity-kpovmodeler +%defattr(-,root,root,-) +%doc rpmdocs/kpovmodeler/ +%{tde_bindir}/kpovmodeler +%{tde_libdir}/libkpovmodeler.so.* +%{tde_tdelibdir}/libkpovmodelerpart.* +%{tde_tdeappdir}/kpovmodeler.desktop +%{tde_datadir}/apps/kpovmodeler/ +%{tde_datadir}/icons/crystalsvg/*/mimetypes/kpovmodeler_doc.* +%{tde_datadir}/icons/hicolor/*/apps/kpovmodeler.* +%doc %{tde_tdedocdir}/HTML/en/kpovmodeler/ + +%post -n trinity-kpovmodeler +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : +/sbin/ldconfig || : + +%postun -n trinity-kpovmodeler +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : +/sbin/ldconfig || : + +########## + +%package -n trinity-kruler +Summary: A screen ruler and color measurement tool for Trinity +Group: Applications/Graphics + +%description -n trinity-kruler +Kruler is a screen ruler (using pixels) and color measurement tool for KDE. + +%files -n trinity-kruler +%defattr(-,root,root,-) +%{tde_bindir}/kruler +%{tde_tdeappdir}/kruler.desktop +%{tde_datadir}/applnk/Graphics/kruler.desktop +%{tde_datadir}/apps/kruler/ +%{tde_datadir}/icons/hicolor/*/apps/kruler.png +%{tde_tdedocdir}/HTML/en/kruler/ + +%post -n trinity-kruler +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kruler +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ksnapshot +Summary: Screenshot utility for Trinity +Group: Applications/Graphics + +%description -n trinity-ksnapshot +KSnapshot is a simple applet for taking screenshots. It is capable of +capturing images of either the whole desktop or just a single window. +The images can then be saved in a variety of formats. + +%files -n trinity-ksnapshot +%defattr(-,root,root,-) +%{tde_bindir}/ksnapshot +%{tde_tdeappdir}/ksnapshot.desktop +%{tde_datadir}/icons/hicolor/*/apps/ksnapshot.png +%{tde_datadir}/icons/hicolor/scalable/apps/ksnapshot.svgz +%{tde_tdedocdir}/HTML/en/ksnapshot/ + +%post -n trinity-ksnapshot +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ksnapshot +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ksvg +Summary: SVG viewer for Trinity +Group: Applications/Graphics + +%description -n trinity-ksvg +KSVG allows you view SVG (scalable vector graphics) files. This package +includes kpart so you can embed it in konqueror and a standalone +application. + +%files -n trinity-ksvg +%defattr(-,root,root,-) +%{tde_bindir}/printnodetest +%{tde_bindir}/svgdisplay +%{tde_tdelibdir}/libksvgplugin.la +%{tde_tdelibdir}/libksvgplugin.so +%{tde_tdelibdir}/libksvgrendererlibart.la +%{tde_tdelibdir}/libksvgrendererlibart.so +%{tde_tdelibdir}/svgthumbnail.la +%{tde_tdelibdir}/svgthumbnail.so +%{tde_libdir}/libksvg.so.0 +%{tde_libdir}/libksvg.so.0.0.1 +%{tde_libdir}/libtext2path.so.0 +%{tde_libdir}/libtext2path.so.0.0.0 +%{tde_datadir}/apps/ksvg/ksvgplugin.rc +%{tde_datadir}/services/ksvglibartcanvas.desktop +%{tde_datadir}/services/ksvgplugin.desktop +%{tde_datadir}/services/svgthumbnail.desktop +%{tde_datadir}/servicetypes/ksvgrenderer.desktop + +%post -n trinity-ksvg +/sbin/ldconfig || : + +%postun -n trinity-ksvg +/sbin/ldconfig || : + +########## + +%package -n trinity-kview +Summary: Simple image viewer/converter for Trinity +Group: Applications/Graphics + +%description -n trinity-kview +KView is a simple image viewer and converter application. It supports +a number of plugins, which add an array of basic editing capabilities +as well. + +%files -n trinity-kview +%defattr(-,root,root,-) +%{tde_bindir}/kview +%{tde_tdelibdir}/kcm_kviewcanvasconfig.la +%{tde_tdelibdir}/kcm_kviewcanvasconfig.so +%{tde_tdelibdir}/kcm_kviewgeneralconfig.la +%{tde_tdelibdir}/kcm_kviewgeneralconfig.so +%{tde_tdelibdir}/kcm_kviewpluginsconfig.la +%{tde_tdelibdir}/kcm_kviewpluginsconfig.so +%{tde_tdelibdir}/kcm_kviewpresenterconfig.la +%{tde_tdelibdir}/kcm_kviewpresenterconfig.so +%{tde_tdelibdir}/kcm_kviewviewerpluginsconfig.la +%{tde_tdelibdir}/kcm_kviewviewerpluginsconfig.so +%{tde_tdelibdir}/kview.la +%{tde_tdelibdir}/kview.so +%{tde_tdelibdir}/kview_browserplugin.la +%{tde_tdelibdir}/kview_browserplugin.so +%{tde_tdelibdir}/kview_effectsplugin.la +%{tde_tdelibdir}/kview_effectsplugin.so +%{tde_tdelibdir}/kview_presenterplugin.la +%{tde_tdelibdir}/kview_presenterplugin.so +%{tde_tdelibdir}/kview_scannerplugin.la +%{tde_tdelibdir}/kview_scannerplugin.so +%{tde_tdelibdir}/libkviewcanvas.la +%{tde_tdelibdir}/libkviewcanvas.so +%{tde_tdelibdir}/libkviewviewer.la +%{tde_tdelibdir}/libkviewviewer.so +%{tde_libdir}/lib[kt]deinit_kview.so +%{tde_libdir}/libkimageviewer.so.* +%{tde_tdelibdir}/libphotobook.la +%{tde_tdelibdir}/libphotobook.so +%{tde_tdeappdir}/kview.desktop +%{tde_datadir}/apps/kview/ +%{tde_datadir}/apps/kviewviewer/ +%{tde_datadir}/apps/photobook/photobookui.rc +%{tde_datadir}/icons/crystalsvg/*/apps/photobook.png +%{tde_datadir}/icons/hicolor/*/apps/kview.png +%{tde_datadir}/services/kconfiguredialog/kviewcanvasconfig.desktop +%{tde_datadir}/services/kconfiguredialog/kviewgeneralconfig.desktop +%{tde_datadir}/services/kconfiguredialog/kviewpluginsconfig.desktop +%{tde_datadir}/services/kconfiguredialog/kviewpresenterconfig.desktop +%{tde_datadir}/services/kconfiguredialog/kviewviewerpluginsconfig.desktop +%{tde_datadir}/services/kviewcanvas.desktop +%{tde_datadir}/services/kviewviewer.desktop +%{tde_datadir}/services/photobook.desktop +%{tde_datadir}/servicetypes/kimageviewer.desktop +%{tde_datadir}/servicetypes/kimageviewercanvas.desktop +%{tde_tdedocdir}/HTML/en/kview/ + +%post -n trinity-kview +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : +/sbin/ldconfig || : + +%postun -n trinity-kview +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : +/sbin/ldconfig || : + +########## + +%package -n trinity-kviewshell +Summary: Generic framework for viewer applications in Trinity +Group: Applications/Graphics + +%description -n trinity-kviewshell +KViewShell is a generic viewing framework that allows the graphical +applications, such as the kview image viewer, to be embedded in other +KDE applications, such as Konqueror. + +KViewShell comes with a djvuviewpart plugin included, for viewing +DjVu images. + +%files -n trinity-kviewshell +%defattr(-,root,root,-) +%{tde_bindir}/kviewshell +%{tde_libdir}/libdjvu.la +%{tde_libdir}/libdjvu.so +%{tde_tdelibdir}/djvuviewpart.so +%{tde_tdelibdir}/djvuviewpart.la +%{tde_tdelibdir}/emptymultipagepart.la +%{tde_tdelibdir}/emptymultipagepart.so +%{tde_tdelibdir}/kviewerpart.la +%{tde_tdelibdir}/kviewerpart.so +%{tde_libdir}/libkmultipage.so.* +%{tde_datadir}/apps/djvumultipage.rc +%{tde_datadir}/apps/kviewerpart/ +%{tde_datadir}/apps/kviewshell/kviewshell.rc +%{tde_datadir}/config.kcfg/djvumultipage.kcfg +%{tde_datadir}/config.kcfg/kviewshell.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/kviewshell.png +%{tde_datadir}/services/emptymultipage.desktop +%{tde_datadir}/services/djvumultipage.desktop +%{tde_datadir}/servicetypes/kmultipage.desktop + +%post -n trinity-kviewshell +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : + +%postun -n trinity-kviewshell +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : + +########## + +%package -n trinity-libkscan +Summary: Scanner library for Trinity +Group: Environment/Libraries + +%description -n trinity-libkscan +KScan is TDE's scanner library. It's used by kooka and by koffice currently. +It provides an easy-to-use library, which allows you to access your scanner +(as long as it's sane compatible). + +%files -n trinity-libkscan +%defattr(-,root,root,-) +%{tde_libdir}/libkscan.so.* +%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_color.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_gray.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_halftone.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_lineart.png +%{tde_datadir}/services/scanservice.desktop + +%post -n trinity-libkscan +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : + +%postun -n trinity-libkscan +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : + +########## + +%package -n trinity-libkscan-devel +Summary: Development files for the Trinity scanner library +Group: Development/Libraries + +%description -n trinity-libkscan-devel +This package contains development files for Trinity's scanner library. + +%files -n trinity-libkscan-devel +%defattr(-,root,root,-) +%{tde_libdir}/libkscan.la +%{tde_libdir}/libkscan.so + +%post -n trinity-libkscan-devel +/sbin/ldconfig || : + +%postun -n trinity-libkscan-devel +/sbin/ldconfig || : + +########## + +%package libpoppler-tqt +Summary: TQt support for Poppler +Group: Environment/Libraries +Provides: poppler-tqt = %{version}-%{release} + +%description libpoppler-tqt +TQt support library for Poppler. +This library is used by the Trinity graphics file plugins for PDF support. + +%files libpoppler-tqt +%defattr(-,root,root,-) +%{tde_libdir}/libpoppler-tqt.so.* + +%post libpoppler-tqt +/sbin/ldconfig || : + +%postun libpoppler-tqt +/sbin/ldconfig || : + +########## + +%package libpoppler-tqt-devel +Summary: Development files for TQt support for Poppler +Group: Development/Libraries +Requires: %{name}-libpoppler-tqt +Provides: poppler-tqt-devel = %{version}-%{release} + +%description libpoppler-tqt-devel +Development files of TQt support library for Poppler. +This package contains the development files needed to compile applications against poppler-tqt. + +%files libpoppler-tqt-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/poppler-link-qt3.h +%{tde_tdeincludedir}/poppler-page-transition.h +%{tde_tdeincludedir}/poppler-qt.h +%{tde_libdir}/libpoppler-tqt.la +%{tde_libdir}/libpoppler-tqt.so +%{tde_libdir}/pkgconfig/poppler-tqt.pc + +%post libpoppler-tqt-devel +/sbin/ldconfig || : + +%postun libpoppler-tqt-devel +/sbin/ldconfig || : + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries + +Obsoletes: trinity-kdegraphics-devel < %{version}-%{release} +Provides: trinity-kdegraphics-devel = %{version}-%{release} + +Requires: trinity-libkscan-devel = %{version}-%{release} +Requires: %{name}-libpoppler-tqt-devel = %{version}-%{release} + +%description devel +%{summary}. + +%files devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/dom/ +#%{tde_tdeincludedir}/kfaximage.h +%{tde_tdeincludedir}/kmultipageInterface.h +%{tde_tdeincludedir}/ksvg/ +%{tde_tdeincludedir}/kviewshell/ +%{tde_tdeincludedir}/libtext2path-0.1/BezierPath.h +%{tde_tdeincludedir}/libtext2path-0.1/Glyph.h +%{tde_tdeincludedir}/libtext2path-0.1/GlyphTracer.h +%{tde_libdir}/lib[kt]deinit_kview.la +%{tde_libdir}/lib[kt]deinit_mrmlsearch.la +%{tde_libdir}/libkghostviewlib.la +%{tde_libdir}/libkghostviewlib.so +%{tde_libdir}/libkimageviewer.la +%{tde_libdir}/libkimageviewer.so +%{tde_libdir}/libkmultipage.la +%{tde_libdir}/libkmultipage.so +%{tde_libdir}/libkpovmodeler.la +%{tde_libdir}/libkpovmodeler.so +%{tde_libdir}/libksvg.la +%{tde_libdir}/libksvg.so +%{tde_libdir}/libtext2path.la +%{tde_libdir}/libtext2path.so +# kfaxview +%{tde_libdir}/libkfaximage.so +%{tde_libdir}/libkfaximage.la +# cmake +%{tde_datadir}/cmake/* + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + +############ + +# Excludes kuickshow (built separately) +#%exclude %{tde_bindir}/kuickshow +#%exclude %{tde_tdelibdir}/kuickshow.la +#%exclude %{tde_tdelibdir}/kuickshow.so +#%exclude %{tde_libdir}/lib[kt]deinit_kuickshow.la +#%exclude %{tde_libdir}/lib[kt]deinit_kuickshow.so +#%exclude %{tde_tdeappdir}/kuickshow.desktop +#%exclude %{tde_datadir}/apps/kuickshow/ +#%exclude %{tde_datadir}/icons/hicolor/*/apps/kuickshow.png +#%exclude %{tde_tdedocdir}/HTML/en/kuickshow/ + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n kdegraphics-3.5.13.1 +%if 0%{?rhel} && 0%{?rhel} <= 5 +%patch3 -p1 -b .mkstemps +%endif +%patch9 -p1 +%patch10 -p1 + +%if 0%{?rhel} == 4 +%patch201 -p1 -b .rhel4 +%endif + +%if 0%{?build_kamera} == 0 +%__rm -rf doc/kamera/ +%endif + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" + +# Do not build against any "/usr" installed KDE +export KDEDIR=%{tde_prefix} + +# Specific path for RHEL4 +if [ -d /usr/X11R6 ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \ + -DCMAKE_SKIP_RPATH="OFF" \ + %{?with_t1lib:-DWITH_T1LIB=ON} \ + %{?with_paper:-DWITH_LIBPAPER=ON} \ + -DWITH_TIFF=ON \ + -DWITH_OPENEXR=ON \ + -DWITH_PDF=ON \ + -DBUILD_ALL=ON \ + -DBUILD_KUICKSHOW=OFF \ + %{!?build_kamera:-DBUILD_KAMERA=OFF} \ + .. + +%__make %{?_smp_mflags} || %__make + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +# locale's +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi +done +fi + +# rpmdocs +for dir in k* ; do + for file in AUTHORS ChangeLog README TODO ; do + if test -s "$dir/$file" ; then + install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file" + echo "%doc rpmdocs/$dir/" >> %{name}.lang + fi + done +done + + +%clean +%__rm -rf %{buildroot} + + + +%changelog +* Sun Sep 30 2012 Francois Andriot - 3.5.13.1-1 +- Initial build for TDE 3.5.13.1 diff --git a/redhat/tdegraphics/kdegraphics-3.5.13.spec b/redhat/tdegraphics/kdegraphics-3.5.13.spec new file mode 100644 index 000000000..2fb1459e1 --- /dev/null +++ b/redhat/tdegraphics/kdegraphics-3.5.13.spec @@ -0,0 +1,1007 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-tdegraphics +Version: 3.5.13 +Release: 6%{?dist}%{_variant} +License: GPL +Summary: Trinity Desktop Environment - Graphics Applications + +Group: Applications/Multimedia +Prefix: %{tde_prefix} + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: kdegraphics-%{version}.tar.gz + +# TDE 3.5.13 +## RHEL / Fedora specific patches +# [kdegraphics/ksnapshot] Missing -lXext in LDFLAGS (required for Fedora 15) +Patch0: kdegraphics-3.5.13-ksnapshot_ldflags.patch +# [kdegraphics/kpovmodeler] CMAKE does not detect GL/glu.h (on RHEL5) +Patch1: kdegraphics-3.5.13-kpovmodeler_check_glu.patch +# [kdegraphics/kfile-plugins/dependencies/poppler-tqt] Compile 'poppler-tqt' only if HAVE_POPPLER_016 +Patch2: kdegraphics-3.5.13-disable_poppler.patch +# [kdegraphics/kpdf/xpdf] Disable 'mkstemps' support for RHEL5 +Patch3: kdegraphics-3.5.13-xpdf_disable_mkstemps.patch +# [kdegraphics/kpovmodeler] CMAKE missing GLU_LIBRARIES +Patch4: kdegraphics-3.5.13-kpovmodeler_missing_gl_ldflags.patch +# [kdegraphics] Fix compilation with GCC 4.7 +Patch5: kdegraphics-3.5.13-fix_gcc47_compilation.patch +# [kdegraphics] Fix FTBFS due to poppler-tqt +Patch6: kdegraphics-3.5.13-fix_poppler_support.patch +# [tdegraphics] Fix corrupt image file. [Commit #d655a9f8] +Patch7: kdegraphics-3.5.13-fix_corrupt_image_file.patch +# [tdegraphics] Add poppler-tqt.pc file [Commit #b2d01d00] +Patch8: kdegraphics-3.5.13-add_poppler_tqt_pc.patch +# [tdegraphics] Fix poppler include directory location +Patch9: kdegraphics-3.5.13-fix_poppler_include_dir.patch +# [tdegraphics] Disable kuickshow documentation if kuickshow is not built +Patch10: kdegraphics-3.5.13-disable_kuickshow_doc.patch + +BuildRequires: cmake >= 2.8 +BuildRequires: tqtinterface-devel >= 3.5.13 +BuildRequires: trinity-tdelibs-devel >= 3.5.13 +BuildRequires: trinity-tdebase-devel >= 3.5.13 +BuildRequires: gettext +BuildRequires: libmng-devel +BuildRequires: libpng-devel +BuildRequires: libtiff-devel +BuildRequires: libungif-devel +BuildRequires: automake libtool +BuildRequires: gphoto2-devel +BuildRequires: libusb-devel +BuildRequires: libdrm-devel +BuildRequires: pcre-devel + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}sane1-devel +BuildRequires: %{_lib}t1lib-devel +BuildRequires: %{_lib}paper-devel +# kuickshow +BuildRequires: %{_lib}imlib-devel +# kpovmodeler +BuildRequires: %{_lib}xi-devel +# kgamma +BuildRequires: %{_lib}xxf86vm-devel +# ksvg +BuildRequires: %{_lib}xmu%{?mgaversion:6}-devel +# kpovmodeler +BuildRequires: %{_lib}mesagl1-devel +BuildRequires: %{_lib}mesaglu1-devel +%else +BuildRequires: sane-backends-devel +BuildRequires: t1lib-devel +BuildRequires: libpaper-devel +# kuickshow +BuildRequires: imlib-devel +# kpovmodeler +BuildRequires: libXi-devel +# kgamma +BuildRequires: libXxf86vm-devel +# ksvg +BuildRequires: libXmu-devel +# kpovmodeler +BuildRequires: libGL-devel +BuildRequires: libGLU-devel +%endif + +#kfile-plugin +BuildRequires: OpenEXR-devel + +# kpdf +BuildRequires: freetype-devel +%if 0%{?rhel} >=6 || 0%{?fedora} >= 15 +BuildRequires: poppler-devel >= 0.12 +#BuildRequires: poppler-qt-devel >= 0.12 +%else +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}poppler-devel +%else +# On RHEL 5, the distro-provided poppler is too old. We built a newer one. +BuildRequires: trinity-poppler-devel +BuildRequires: trinity-poppler-qt3-devel >= 0.12 +%endif +%endif + +# ksvg +BuildRequires: fontconfig-devel +BuildRequires: lcms-devel +BuildRequires: libart_lgpl-devel + + +# kuickshow +BuildRequires: fribidi-devel + + +Obsoletes: trinity-kdegraphics < %{version}-%{release} +Provides: trinity-kdegraphics = %{version}-%{release} +Obsoletes: trinity-kdegraphics-libs < %{version}-%{release} +Provides: trinity-kdegraphics-libs = %{version}-%{release} +Obsoletes: trinity-kdegraphics-extras < %{version}-%{release} +Provides: trinity-kdegraphics-extras = %{version}-%{release} + + +Requires: trinity-kamera = %{version}-%{release} +Requires: trinity-kcoloredit = %{version}-%{release} +Requires: %{name}-kfile-plugins = %{version}-%{release} +Requires: trinity-kdvi = %{version}-%{release} +Requires: trinity-kfax = %{version}-%{release} +Requires: trinity-kfaxview = %{version}-%{release} +Requires: trinity-kgamma = %{version}-%{release} +Requires: trinity-kghostview = %{version}-%{release} +Requires: trinity-kiconedit = %{version}-%{release} +Requires: trinity-kmrml = %{version}-%{release} +Requires: trinity-kolourpaint = %{version}-%{release} +Requires: trinity-kooka = %{version}-%{release} +Requires: trinity-kpdf = %{version}-%{release} +Requires: trinity-kpovmodeler = %{version}-%{release} +Requires: trinity-kruler = %{version}-%{release} +Requires: trinity-ksnapshot = %{version}-%{release} +Requires: trinity-ksvg = %{version}-%{release} +Requires: trinity-kview = %{version}-%{release} +Requires: trinity-kviewshell = %{version}-%{release} +Requires: trinity-libkscan = %{version}-%{release} +Requires: %{name}-libpoppler-tqt = %{version}-%{release} + +%description +Graphics applications for the Trinity Desktop Environment, including +* kamera (digital camera support) +* kcoloredit (palette editor and color chooser) +* kdvi (displays TeX .dvi files) +* kfax +* kfaxview +* kghostview (displays postscript files) +* kiconedit (icon editor) +* kooka (scanner application) +* kpdf (displays PDF files) +* kpovmodler +* kruler (screen ruler and color measurement tool) +* ksnapshot (screen capture utility) +* kview (image viewer for GIF, JPEG, TIFF, etc.) + +%files + +########## + +%package -n trinity-kamera +Summary: Digital camera io_slave for Konqueror +Group: Applications/Graphics + +%description -n trinity-kamera +This is a digital camera io_slave for TDE which uses gphoto2 and libgpio +to allow access to your camera's pictures with the URL camera:/ + +%post -n trinity-kamera +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kamera +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%files -n trinity-kamera +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcm_kamera.la +%{tde_tdelibdir}/kcm_kamera.so +%{tde_tdelibdir}/kio_kamera.la +%{tde_tdelibdir}/kio_kamera.so +%{tde_tdeappdir}/kamera.desktop +%{tde_datadir}/icons/crystalsvg/*/actions/camera_test.png +%{tde_datadir}/icons/crystalsvg/*/apps/camera.png +%{tde_datadir}/icons/crystalsvg/*/devices/camera.png +%{tde_datadir}/icons/crystalsvg/*/filesystems/camera.png +%{tde_datadir}/services/camera.protocol +%{tde_tdedocdir}/HTML/en/kamera/ + +########## + +%package -n trinity-kcoloredit +Summary: A color palette editor and color picker for TDE +Group: Applications/Graphics + +%description -n trinity-kcoloredit +This package contains two programs, a color palette editor and also a color +picker. + +%files -n trinity-kcoloredit +%defattr(-,root,root,-) +%{tde_bindir}/kcolorchooser +%{tde_bindir}/kcoloredit +%{tde_tdeappdir}/kcolorchooser.desktop +%{tde_tdeappdir}/kcoloredit.desktop +%{tde_datadir}/apps/kcoloredit/kcoloreditui.rc +%{tde_datadir}/icons/hicolor/*/apps/kcolorchooser.png +%{tde_datadir}/icons/hicolor/*/apps/kcoloredit.png +%{tde_tdedocdir}/HTML/en/kcoloredit/ + +########## + +%package kfile-plugins +Summary: TDE metainfo plugins for graphic files +Group: Environment/Libraries + +%description kfile-plugins +This packages provides meta information for graphic files (file sizes, +tags, etc. all from within the file manager). + +%files kfile-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/gsthumbnail.la +%{tde_tdelibdir}/gsthumbnail.so +%{tde_tdelibdir}/kfile_bmp.la +%{tde_tdelibdir}/kfile_bmp.so +%{tde_tdelibdir}/kfile_dds.la +%{tde_tdelibdir}/kfile_dds.so +%{tde_tdelibdir}/kfile_dvi.la +%{tde_tdelibdir}/kfile_dvi.so +%{tde_tdelibdir}/kfile_exr.la +%{tde_tdelibdir}/kfile_exr.so +%{tde_tdelibdir}/kfile_gif.la +%{tde_tdelibdir}/kfile_gif.so +%{tde_tdelibdir}/kfile_ico.la +%{tde_tdelibdir}/kfile_ico.so +%{tde_tdelibdir}/kfile_jpeg.la +%{tde_tdelibdir}/kfile_jpeg.so +%{tde_tdelibdir}/kfile_pcx.la +%{tde_tdelibdir}/kfile_pcx.so +%{tde_tdelibdir}/kfile_pdf.la +%{tde_tdelibdir}/kfile_pdf.so +%{tde_tdelibdir}/kfile_png.la +%{tde_tdelibdir}/kfile_png.so +%{tde_tdelibdir}/kfile_pnm.la +%{tde_tdelibdir}/kfile_pnm.so +%{tde_tdelibdir}/kfile_ps.la +%{tde_tdelibdir}/kfile_ps.so +%{tde_tdelibdir}/kfile_raw.la +%{tde_tdelibdir}/kfile_raw.so +%{tde_tdelibdir}/kfile_rgb.la +%{tde_tdelibdir}/kfile_rgb.so +%{tde_tdelibdir}/kfile_tga.la +%{tde_tdelibdir}/kfile_tga.so +%{tde_tdelibdir}/kfile_tiff.la +%{tde_tdelibdir}/kfile_tiff.so +%{tde_tdelibdir}/kfile_xbm.la +%{tde_tdelibdir}/kfile_xbm.so +%{tde_tdelibdir}/kfile_xpm.la +%{tde_tdelibdir}/kfile_xpm.so +%{tde_datadir}/services/gsthumbnail.desktop +%{tde_datadir}/services/kfile_bmp.desktop +%{tde_datadir}/services/kfile_dds.desktop +%{tde_datadir}/services/kfile_dvi.desktop +%{tde_datadir}/services/kfile_exr.desktop +%{tde_datadir}/services/kfile_gif.desktop +%{tde_datadir}/services/kfile_ico.desktop +%{tde_datadir}/services/kfile_jpeg.desktop +%{tde_datadir}/services/kfile_pcx.desktop +%{tde_datadir}/services/kfile_pdf.desktop +%{tde_datadir}/services/kfile_png.desktop +%{tde_datadir}/services/kfile_pnm.desktop +%{tde_datadir}/services/kfile_ps.desktop +%{tde_datadir}/services/kfile_raw.desktop +%{tde_datadir}/services/kfile_rgb.desktop +%{tde_datadir}/services/kfile_tga.desktop +%{tde_datadir}/services/kfile_tiff.desktop +%{tde_datadir}/services/kfile_xbm.desktop +%{tde_datadir}/services/kfile_xpm.desktop + +########## + +%package -n trinity-kdvi +Summary: Dvi viewer for TDE +Group: Applications/Graphics + +%description -n trinity-kdvi +This program and KPart allow the user to display *.DVI files from TeX. + +%files -n trinity-kdvi +%defattr(-,root,root,-) +%{tde_bindir}/kdvi +%{tde_tdelibdir}/kdvipart.la +%{tde_tdelibdir}/kdvipart.so +%{tde_tdeappdir}/kdvi.desktop +%{tde_datadir}/apps/kdvi/ +%{tde_datadir}/config.kcfg/kdvi.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kdvi.png +%{tde_datadir}/icons/hicolor/scalable/apps/kdvi.svgz +%{tde_datadir}/services/kdvimultipage.desktop +%{tde_tdedocdir}/HTML/en/kdvi/ + +########## + +%package -n trinity-kfax +Summary: G3/G4 fax viewer for Trinity +Group: Applications/Graphics +Requires: libtiff + +%description -n trinity-kfax +A fax viewer for Trinity, supporting the display of raw and tiffed fax images +(g3, g3-2d, g4). + +%files -n trinity-kfax +%defattr(-,root,root,-) +%doc rpmdocs/kfax/ +%{tde_bindir}/kfax +%{tde_tdeappdir}/kfax.desktop +%{tde_datadir}/apps/kfax/ +%{tde_datadir}/icons/hicolor/??x??/apps/kfax.png +%{tde_datadir}/icons/hicolor/scalable/apps/kfax.svgz + +########## + +%package -n trinity-kfaxview +Summary: G3/G4 fax viewer for Trinity using kviewshell +Group: Applications/Graphics + +%description -n trinity-kfaxview +A fax viewer for Trinity, supporting the display of raw and tiffed fax images +(g3, g3-2d, g4). + +This faxviewer uses kviewshell and is intended to replace the standalone +kfax application once it reproduces all of kfax's features. + +%files -n trinity-kfaxview +%defattr(-,root,root,-) +%{tde_bindir}/kfaxview +%{tde_libdir}/libkfaximage.so.* +%{tde_tdelibdir}/kfaxviewpart.* +%{tde_tdeappdir}/kfaxview.desktop +%{tde_datadir}/apps/kfaxview/ +%{tde_datadir}/icons/hicolor/??x??/apps/kfaxview.png +%{tde_datadir}/icons/hicolor/scalable/apps/kfaxview.svgz +%{tde_datadir}/services/kfaxmultipage.desktop +%{tde_datadir}/services/kfaxmultipage_tiff.desktop + +########## + +%package -n trinity-kgamma +Summary: Gamma correction module for the Trinity Control Center +Group: Applications/Graphics + +%description -n trinity-kgamma +KGamma is a Trinity Control Center module for gamma calibration/correction +of XFree86. With proper gamma settings, your display (websites, images, +etc.) will look the same on your monitor as on other monitors. + +Homepage: http://kgamma.berlios.de/index2.php + +%files -n trinity-kgamma +%defattr(-,root,root,-) +%{tde_bindir}/xf86gammacfg +%{tde_tdelibdir}/kcm_kgamma.la +%{tde_tdelibdir}/kcm_kgamma.so +%{tde_tdeappdir}/kgamma.desktop +%{tde_datadir}/apps/kgamma/ +%{tde_datadir}/icons/hicolor/*/apps/kgamma.png +%{tde_tdedocdir}/HTML/en/kgamma/ + +########## + +%package -n trinity-kghostview +Summary: PostScript viewer for Trinity +Group: Applications/Graphics +Requires: ghostscript + +%description -n trinity-kghostview +KGhostview is Trinity's PostScript viewer. It is a port of Tim Theisen's +Ghostview program which is used to view documents prepared in Adobe's +PostScript page description language. PostScript is the major page +description language for printing on UNIX systems, and this application is +useful to preview material intended for printing, or for reading documents +online. + +%files -n trinity-kghostview +%defattr(-,root,root,-) +%{tde_bindir}/kghostview +%{tde_tdelibdir}/libkghostviewpart.la +%{tde_tdelibdir}/libkghostviewpart.so +%{tde_libdir}/libkghostviewlib.so.* +%{tde_tdeappdir}/kghostview.desktop +%{tde_datadir}/apps/kconf_update/kghostview.upd +%{tde_datadir}/apps/kconf_update/update-to-xt-names.pl +%{tde_datadir}/apps/kghostview/ +%{tde_datadir}/config.kcfg/kghostview.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kghostview.png +%{tde_datadir}/services/kghostview_part.desktop +%{tde_tdedocdir}/HTML/en/kghostview/ + +########## + +%package -n trinity-kiconedit +Summary: An icon editor for Trinity +Group: Applications/Graphics + +%description -n trinity-kiconedit +KIconedit allows you easily to create and edit icons. + +%files -n trinity-kiconedit +%defattr(-,root,root,-) +%{tde_bindir}/kiconedit +%{tde_tdeappdir}/kiconedit.desktop +%{tde_datadir}/apps/kiconedit/ +%{tde_datadir}/icons/hicolor/*/apps/kiconedit.png +%{tde_tdedocdir}/HTML/en/kiconedit/ + +########## + +%package -n trinity-kmrml +Summary: A Konqueror plugin for searching pictures +Group: Applications/Graphics + +%description -n trinity-kmrml +MRML is short for Multimedia Retrieval Markup Language, which defines a +protocol for querying a server for images based on their content. See +http://www.mrml.net about MRML and the GNU Image Finding Tool (GIFT), an +MRML server. + +%files -n trinity-kmrml +%defattr(-,root,root,-) +%{tde_bindir}/mrmlsearch +%{tde_tdelibdir}/kcm_kmrml.la +%{tde_tdelibdir}/kcm_kmrml.so +%{tde_tdelibdir}/kded_daemonwatcher.la +%{tde_tdelibdir}/kded_daemonwatcher.so +%{tde_tdelibdir}/kio_mrml.la +%{tde_tdelibdir}/kio_mrml.so +%{tde_tdelibdir}/libkmrmlpart.la +%{tde_tdelibdir}/libkmrmlpart.so +%{tde_tdelibdir}/mrmlsearch.la +%{tde_tdelibdir}/mrmlsearch.so +%{tde_libdir}/lib[kt]deinit_mrmlsearch.so +%{tde_tdeappdir}/kcmkmrml.desktop +%{tde_datadir}/apps/konqueror/servicemenus/mrml-servicemenu.desktop +%{tde_datadir}/mimelnk/text/mrml.desktop +%{tde_datadir}/services/kded/daemonwatcher.desktop +%{tde_datadir}/services/mrml.protocol +%{tde_datadir}/services/mrml_part.desktop + +########## + +%package -n trinity-kolourpaint +Summary: A simple paint program for Trinity +Group: Applications/Graphics + +%description -n trinity-kolourpaint +KolourPaint is a very simple paint program for Trinity. It aims to be +conceptually simple to understand; providing a level of functionality +targeted towards the average user. It's designed for daily tasks like: + +* Painting - drawing diagrams and "finger painting" +* Image Manipulation - editing screenshots and photos; applying effects +* Icon Editing - drawing clipart and logos with transparency + +It's not an unusable and monolithic program where simple tasks like +drawing lines become near impossible. Nor is it so simple that it lacks +essential features like Undo/Redo. + +Homepage: http://kolourpaint.sourceforge.net + +%files -n trinity-kolourpaint +%defattr(-,root,root,-) +%{tde_bindir}/kolourpaint +%{tde_tdeappdir}/kolourpaint.desktop +%{tde_datadir}/apps/kolourpaint/ +%{tde_datadir}/icons/hicolor/*/apps/kolourpaint.png +%{tde_datadir}/icons/hicolor/scalable/apps/kolourpaint.svgz +%{tde_tdedocdir}/HTML/en/kolourpaint/ + +########## + +%package -n trinity-kooka +Summary: Scanner program for Trinity +Group: Applications/Graphics + +%description -n trinity-kooka +Kooka is an open source GNU/Linux scan program based on SANE and +KScan library. + +Kooka helps you to handle the most important scan parameters, find the +correct image file format to save and manage your scanned images. It +offers support for different OCR modules. Libkscan, a autonomous part +of Kooka, provides a scan service for easy and consistent use to all +KDE applications. + +Install ocrad or gocr if you wish to enable optical character recognition +in kooka. + +Homepage: http://kooka.kde.org/ + +%files -n trinity-kooka +%defattr(-,root,root,-) +%{tde_datadir}/config/kookarc +%{tde_bindir}/kooka +%{tde_tdeappdir}/kooka.desktop +%{tde_datadir}/apps/kooka/ +%{tde_tdedocdir}/HTML/en/kooka/ + +########## + +%package -n trinity-kpdf +Summary: PDF viewer for Trinity +Group: Applications/Graphics +#Recommends: kghostview-trinity (= ${binary:Version}) + +%description -n trinity-kpdf +KPDF allows you to view PDF (Portable Document Format) files. This package +includes kpdfpart so you can embed in konqueror or run as a standalone +application. + +%files -n trinity-kpdf +%defattr(-,root,root,-) +%{tde_bindir}/kpdf +%{tde_tdelibdir}/libkpdfpart.la +%{tde_tdelibdir}/libkpdfpart.so +%{tde_tdeappdir}/kpdf.desktop +%{tde_datadir}/apps/kpdf/shell.rc +%{tde_datadir}/apps/kpdfpart/part.rc +%{tde_datadir}/config.kcfg/kpdf.kcfg +%{tde_tdedocdir}/HTML/en/kpdf/ +%{tde_datadir}/icons/hicolor/*/apps/kpdf.png +%{tde_datadir}/icons/hicolor/scalable/apps/kpdf.svgz +%{tde_datadir}/services/kpdf_part.desktop + +########## + +%package -n trinity-kpovmodeler +Summary: A graphical editor for povray scenes +Group: Applications/Graphics +#Requires: povray + +%description -n trinity-kpovmodeler +KPovmodeler is KDE's graphical editor for povray scenes. KPovModeler is a +modeling and composition program for creating POV-Ray scenes in KDE. + +For most modelers, POV-Ray is nothing but a rendering engine. This greatly +limits the innate possibilities of the POV-Ray scripted language. This +is not the case for KPovModeler, which allows you to use all the features +of POV-Ray through the translation of POV-Ray language into a graphical +tree. + +kpovmodeler uses the povray package, currently available only in Debian's +non-free, unsupported repository. + +Homepage: http://www.kpovmodeler.org + +%files -n trinity-kpovmodeler +%defattr(-,root,root,-) +%doc rpmdocs/kpovmodeler/ +%{tde_bindir}/kpovmodeler +%{tde_libdir}/libkpovmodeler.so.* +%{tde_tdelibdir}/libkpovmodelerpart.* +%{tde_tdeappdir}/kpovmodeler.desktop +%{tde_datadir}/apps/kpovmodeler/ +%{tde_datadir}/icons/crystalsvg/*/mimetypes/kpovmodeler_doc.* +%{tde_datadir}/icons/hicolor/*/apps/kpovmodeler.* +%doc %{tde_tdedocdir}/HTML/en/kpovmodeler/ + +########## + +%package -n trinity-kruler +Summary: A screen ruler and color measurement tool for Trinity +Group: Applications/Graphics + +%description -n trinity-kruler +Kruler is a screen ruler (using pixels) and color measurement tool for KDE. + +%files -n trinity-kruler +%defattr(-,root,root,-) +%{tde_bindir}/kruler +%{tde_tdeappdir}/kruler.desktop +%{tde_datadir}/applnk/Graphics/kruler.desktop +%{tde_datadir}/apps/kruler/ +%{tde_datadir}/icons/hicolor/*/apps/kruler.png +%{tde_tdedocdir}/HTML/en/kruler/ + +########## + +%package -n trinity-ksnapshot +Summary: Screenshot utility for Trinity +Group: Applications/Graphics + +%description -n trinity-ksnapshot +KSnapshot is a simple applet for taking screenshots. It is capable of +capturing images of either the whole desktop or just a single window. +The images can then be saved in a variety of formats. + +%files -n trinity-ksnapshot +%defattr(-,root,root,-) +%{tde_bindir}/ksnapshot +%{tde_tdeappdir}/ksnapshot.desktop +%{tde_tdedocdir}/HTML/en/ksnapshot/ +%{tde_datadir}/icons/hicolor/*/apps/ksnapshot.png +%{tde_datadir}/icons/hicolor/scalable/apps/ksnapshot.svgz + +########## + +%package -n trinity-ksvg +Summary: SVG viewer for Trinity +Group: Applications/Graphics + +%description -n trinity-ksvg +KSVG allows you view SVG (scalable vector graphics) files. This package +includes kpart so you can embed it in konqueror and a standalone +application. + +%files -n trinity-ksvg +%defattr(-,root,root,-) +%{tde_bindir}/printnodetest +%{tde_bindir}/svgdisplay +%{tde_tdelibdir}/libksvgplugin.la +%{tde_tdelibdir}/libksvgplugin.so +%{tde_tdelibdir}/libksvgrendererlibart.la +%{tde_tdelibdir}/libksvgrendererlibart.so +%{tde_tdelibdir}/svgthumbnail.la +%{tde_tdelibdir}/svgthumbnail.so +%{tde_libdir}/libksvg.so.0 +%{tde_libdir}/libksvg.so.0.0.1 +%{tde_libdir}/libtext2path.so.0 +%{tde_libdir}/libtext2path.so.0.0.0 +%{tde_datadir}/apps/ksvg/ksvgplugin.rc +%{tde_datadir}/services/ksvglibartcanvas.desktop +%{tde_datadir}/services/ksvgplugin.desktop +%{tde_datadir}/services/svgthumbnail.desktop +%{tde_datadir}/servicetypes/ksvgrenderer.desktop + +########## + +%package -n trinity-kview +Summary: Simple image viewer/converter for Trinity +Group: Applications/Graphics + +%description -n trinity-kview +KView is a simple image viewer and converter application. It supports +a number of plugins, which add an array of basic editing capabilities +as well. + +%files -n trinity-kview +%defattr(-,root,root,-) +%{tde_bindir}/kview +%{tde_tdelibdir}/kcm_kviewcanvasconfig.la +%{tde_tdelibdir}/kcm_kviewcanvasconfig.so +%{tde_tdelibdir}/kcm_kviewgeneralconfig.la +%{tde_tdelibdir}/kcm_kviewgeneralconfig.so +%{tde_tdelibdir}/kcm_kviewpluginsconfig.la +%{tde_tdelibdir}/kcm_kviewpluginsconfig.so +%{tde_tdelibdir}/kcm_kviewpresenterconfig.la +%{tde_tdelibdir}/kcm_kviewpresenterconfig.so +%{tde_tdelibdir}/kcm_kviewviewerpluginsconfig.la +%{tde_tdelibdir}/kcm_kviewviewerpluginsconfig.so +%{tde_tdelibdir}/kview.la +%{tde_tdelibdir}/kview.so +%{tde_tdelibdir}/kview_browserplugin.la +%{tde_tdelibdir}/kview_browserplugin.so +%{tde_tdelibdir}/kview_effectsplugin.la +%{tde_tdelibdir}/kview_effectsplugin.so +%{tde_tdelibdir}/kview_presenterplugin.la +%{tde_tdelibdir}/kview_presenterplugin.so +%{tde_tdelibdir}/kview_scannerplugin.la +%{tde_tdelibdir}/kview_scannerplugin.so +%{tde_tdelibdir}/libkviewcanvas.la +%{tde_tdelibdir}/libkviewcanvas.so +%{tde_tdelibdir}/libkviewviewer.la +%{tde_tdelibdir}/libkviewviewer.so +%{tde_libdir}/lib[kt]deinit_kview.so +%{tde_libdir}/libkimageviewer.so.* +%{tde_tdelibdir}/libphotobook.la +%{tde_tdelibdir}/libphotobook.so +%{tde_tdeappdir}/kview.desktop +%{tde_datadir}/apps/kview/ +%{tde_datadir}/apps/kviewviewer/ +%{tde_datadir}/apps/photobook/photobookui.rc +%{tde_datadir}/icons/crystalsvg/*/apps/photobook.png +%{tde_datadir}/icons/hicolor/*/apps/kview.png +%{tde_datadir}/services/kconfiguredialog/kviewcanvasconfig.desktop +%{tde_datadir}/services/kconfiguredialog/kviewgeneralconfig.desktop +%{tde_datadir}/services/kconfiguredialog/kviewpluginsconfig.desktop +%{tde_datadir}/services/kconfiguredialog/kviewpresenterconfig.desktop +%{tde_datadir}/services/kconfiguredialog/kviewviewerpluginsconfig.desktop +%{tde_datadir}/services/kviewcanvas.desktop +%{tde_datadir}/services/kviewviewer.desktop +%{tde_datadir}/services/photobook.desktop +%{tde_datadir}/servicetypes/kimageviewer.desktop +%{tde_datadir}/servicetypes/kimageviewercanvas.desktop +%{tde_tdedocdir}/HTML/en/kview/ + +########## + +%package -n trinity-kviewshell +Summary: Generic framework for viewer applications in Trinity +Group: Applications/Graphics + +%description -n trinity-kviewshell +KViewShell is a generic viewing framework that allows the graphical +applications, such as the kview image viewer, to be embedded in other +KDE applications, such as Konqueror. + +KViewShell comes with a djvuviewpart plugin included, for viewing +DjVu images. + +%files -n trinity-kviewshell +%defattr(-,root,root,-) +%{tde_bindir}/kviewshell +%{tde_libdir}/libdjvu.la +%{tde_libdir}/libdjvu.so +%{tde_tdelibdir}/djvuviewpart.so +%{tde_tdelibdir}/djvuviewpart.la +%{tde_tdelibdir}/emptymultipagepart.la +%{tde_tdelibdir}/emptymultipagepart.so +%{tde_tdelibdir}/kviewerpart.la +%{tde_tdelibdir}/kviewerpart.so +%{tde_libdir}/libkmultipage.so.* +%{tde_datadir}/apps/djvumultipage.rc +%{tde_datadir}/apps/kviewerpart/ +%{tde_datadir}/apps/kviewshell/kviewshell.rc +%{tde_datadir}/config.kcfg/djvumultipage.kcfg +%{tde_datadir}/config.kcfg/kviewshell.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/kviewshell.png +%{tde_datadir}/services/emptymultipage.desktop +%{tde_datadir}/services/djvumultipage.desktop +%{tde_datadir}/servicetypes/kmultipage.desktop + +########## + +%package -n trinity-libkscan +Summary: Scanner library for Trinity +Group: Environment/Libraries + +%description -n trinity-libkscan +KScan is TDE's scanner library. It's used by kooka and by koffice currently. +It provides an easy-to-use library, which allows you to access your scanner +(as long as it's sane compatible). + +%files -n trinity-libkscan +%defattr(-,root,root,-) +%{tde_libdir}/libkscan.so.* +%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_color.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_gray.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_halftone.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_lineart.png +%{tde_datadir}/services/scanservice.desktop + +########## + +%package -n trinity-libkscan-devel +Summary: Development files for the Trinity scanner library +Group: Development/Libraries + +%description -n trinity-libkscan-devel +This package contains development files for Trinity's scanner library. + +%files -n trinity-libkscan-devel +%defattr(-,root,root,-) +%{tde_libdir}/libkscan.la +%{tde_libdir}/libkscan.so + +########## + +%package libpoppler-tqt +Summary: TQt support for Poppler +Group: Environment/Libraries +Provides: poppler-tqt = %{version}-%{release} + +%description libpoppler-tqt +TQt support library for Poppler. +This library is used by the Trinity graphics file plugins for PDF support. + +%files libpoppler-tqt +%defattr(-,root,root,-) +%{tde_libdir}/libpoppler-tqt.so.* + +########## + +%package libpoppler-tqt-devel +Summary: Development files for TQt support for Poppler +Group: Development/Libraries +Requires: %{name}-libpoppler-tqt +Provides: poppler-tqt-devel = %{version}-%{release} + +%description libpoppler-tqt-devel +Development files of TQt support library for Poppler. +This package contains the development files needed to compile applications against poppler-tqt. + +%files libpoppler-tqt-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/poppler-link-qt3.h +%{tde_tdeincludedir}/poppler-page-transition.h +%{tde_tdeincludedir}/poppler-qt.h +%{tde_libdir}/libpoppler-tqt.la +%{tde_libdir}/libpoppler-tqt.so +%{tde_libdir}/pkgconfig/poppler-tqt.pc + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries + +Obsoletes: trinity-kdegraphics-devel < %{version}-%{release} +Provides: trinity-kdegraphics-devel = %{version}-%{release} + +Requires: trinity-libkscan-devel = %{version}-%{release} +Requires: %{name}-libpoppler-tqt-devel = %{version}-%{release} + +%description devel +%{summary}. + +%files devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/dom/ +#%{tde_tdeincludedir}/kfaximage.h +%{tde_tdeincludedir}/kmultipageInterface.h +%{tde_tdeincludedir}/ksvg/ +%{tde_tdeincludedir}/kviewshell/ +%{tde_tdeincludedir}/libtext2path-0.1/BezierPath.h +%{tde_tdeincludedir}/libtext2path-0.1/Glyph.h +%{tde_tdeincludedir}/libtext2path-0.1/GlyphTracer.h +%{tde_libdir}/lib[kt]deinit_kview.la +%{tde_libdir}/lib[kt]deinit_mrmlsearch.la +%{tde_libdir}/libkghostviewlib.la +%{tde_libdir}/libkghostviewlib.so +%{tde_libdir}/libkimageviewer.la +%{tde_libdir}/libkimageviewer.so +%{tde_libdir}/libkmultipage.la +%{tde_libdir}/libkmultipage.so +%{tde_libdir}/libkpovmodeler.la +%{tde_libdir}/libkpovmodeler.so +%{tde_libdir}/libksvg.la +%{tde_libdir}/libksvg.so +%{tde_libdir}/libtext2path.la +%{tde_libdir}/libtext2path.so +# kfaxview +%{tde_libdir}/libkfaximage.so +%{tde_libdir}/libkfaximage.la +# cmake +%{tde_datadir}/cmake/* + +############ + +# Excludes kuickshow (built separately) +#%exclude %{tde_bindir}/kuickshow +#%exclude %{tde_tdelibdir}/kuickshow.la +#%exclude %{tde_tdelibdir}/kuickshow.so +#%exclude %{tde_libdir}/lib[kt]deinit_kuickshow.la +#%exclude %{tde_libdir}/lib[kt]deinit_kuickshow.so +#%exclude %{tde_tdeappdir}/kuickshow.desktop +#%exclude %{tde_datadir}/apps/kuickshow/ +#%exclude %{tde_datadir}/icons/hicolor/*/apps/kuickshow.png +#%exclude %{tde_tdedocdir}/HTML/en/kuickshow/ + +########## + +%prep +%setup -q -n kdegraphics +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%if 0%{?rhel} && 0%{?rhel} <= 5 +%patch3 -p1 -b .mkstemps +%endif +%patch4 -p1 +%patch5 -p1 -b .gcc47 +%patch6 -p1 -b .poppler +%patch7 -p1 +%patch8 -p1 +%patch9 -p1 +%patch10 -p1 -b .kuickshowdoc + + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" +#export LD_LIBRARY_PATH="%{tde_libdir}" + +%if 0%{?rhel} || 0%{?fedora} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DWITH_T1LIB=ON \ + -DWITH_LIBPAPER=ON \ + -DWITH_TIFF=ON \ + -DWITH_OPENEXR=ON \ + -DWITH_PDF=ON \ + -DWITH_PDF=ON \ + -DBUILD_ALL=ON \ + -DBUILD_KUICKSHOW=OFF \ + .. + +%__make %{?_smp_mflags} + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +# locale's +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi +done +fi + +# rpmdocs +for dir in k* ; do + for file in AUTHORS ChangeLog README TODO ; do + if test -s "$dir/$file" ; then + install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file" + echo "%doc rpmdocs/$dir/" >> %{name}.lang + fi + done +done + + +%clean +%__rm -rf %{buildroot} + + + +%changelog +* Wed Aug 01 2012 Francois Andriot - 3.5.13-6 +- Add poppler-tqt.pc file [Commit #b2d01d00] + +* Mon Jul 09 2012 Francois Andriot - 3.5.13-5 +- Renames 'kdegraphics' to 'tdegraphics' +- Split in several packages + +* Tue Nov 22 2011 Francois Andriot - 3.5.13-4 +- Rebuild with poppler 0.12 for RHEL 5 +- Re-adds qt-poppler include files + +* Fri Nov 04 2011 Francois Andriot - 3.5.13-3 +- Updates BuildRequires + +* Wed Nov 02 2011 Francois Andriot - 3.5.13-2 +- Fix kpovmodeler compilation on RHEL 5 (patch4) + +* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 +- Initial release for RHEL 6, RHEL 5 and Fedora 15 +- RHEL 5 build has some features disabled (see patches) + +* Sun Sep 11 2011 Francois Andriot - 3.5.13-0 +- Import to GIT diff --git a/redhat/tdegraphics/tdegraphics-3.5.13.2.spec b/redhat/tdegraphics/tdegraphics-3.5.13.2.spec new file mode 100644 index 000000000..623550984 --- /dev/null +++ b/redhat/tdegraphics/tdegraphics-3.5.13.2.spec @@ -0,0 +1,1324 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Name: trinity-tdegraphics +Version: 3.5.13.2 +Release: 1%{?dist}%{?_variant} +License: GPL +Summary: Trinity Desktop Environment - Graphics Applications + +Group: Applications/Multimedia +Prefix: %{tde_prefix} + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}.tar.gz + +# TDE 3.5.13 +## RHEL / Fedora specific patches +# [kdegraphics/kpdf/xpdf] Disable 'mkstemps' support for RHEL5 +Patch3: kdegraphics-3.5.13-xpdf_disable_mkstemps.patch + +# [tdegraphics] Fix build on RHEL4 +Patch201: kdegraphics-3.5.13.1-fix_rhel4_libraries.patch + +BuildRequires: cmake >= 2.8 +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: trinity-tdebase-devel >= %{version} +BuildRequires: gettext +BuildRequires: libmng-devel +%if 0%{?mdkversion} && 0%{?pclinuxos} == 0 +BuildRequires: %{_lib}png15-devel +%else +BuildRequires: libpng-devel +%endif +BuildRequires: libtiff-devel +BuildRequires: automake libtool +BuildRequires: libusb-devel +BuildRequires: pcre-devel + +# GIF support +%if 0%{?suse_version} +BuildRequires: giflib-devel +%else +BuildRequires: libungif-devel +%endif + +# GPHOTO2 support +%if 0%{?suse_version} +BuildRequires: libgphoto2-devel +%else +BuildRequires: gphoto2-devel +%endif + +# PAPER support +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_paper 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}paper-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: libpaper-devel +%endif +%endif + +# T1LIB support +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} +%define with_t1lib 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}t1lib-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} +BuildRequires: t1lib-devel +%endif +%endif + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}sane1-devel +# kuickshow +#BuildRequires: %{_lib}imlib-devel +# kpovmodeler +BuildRequires: %{_lib}xi-devel +# kgamma +BuildRequires: %{_lib}xxf86vm-devel +# ksvg +BuildRequires: %{_lib}xmu%{?mgaversion:6}-devel +# kpovmodeler +BuildRequires: %{_lib}mesagl1-devel +BuildRequires: %{_lib}mesaglu1-devel +%else +BuildRequires: sane-backends-devel + +# kuickshow +#BuildRequires: imlib-devel + +%if 0%{?rhel} == 4 +BuildRequires: xorg-x11-devel +%else +BuildRequires: libdrm-devel + +# kpovmodeler +%if 0%{?suse_version} == 1140 +BuildRequires: libXi6-devel +%else +BuildRequires: libXi-devel + +# kgamma +BuildRequires: libXxf86vm-devel +%endif + +# ksvg +%if 0%{?suse_version} == 1140 +BuildRequires: xorg-x11-libXmu-devel +%else +BuildRequires: libXmu-devel +%endif +%endif + +# kpovmodeler +%if 0%{?suse_version} +%if 0%{?suse_version} >= 1220 +BuildRequires: Mesa-libGL-devel +BuildRequires: Mesa-libGLU-devel +%else +BuildRequires: Mesa-devel +%endif +%else +BuildRequires: libGL-devel +BuildRequires: libGLU-devel +%endif +%endif + +#kfile-plugin +BuildRequires: OpenEXR-devel + +# kpdf +%if 0%{?suse_version} == 1140 +BuildRequires: freetype2-devel +%else +BuildRequires: freetype-devel +%endif + +# poppler +%if 0%{?rhel} >=6 || 0%{?fedora} >= 15 || 0%{?suse_version} +BuildRequires: poppler-devel >= 0.12 +#BuildRequires: poppler-qt-devel >= 0.12 +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}poppler-devel +%endif +%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 +# On RHEL 5, the distro-provided poppler is too old. We built a newer one. +BuildRequires: trinity-poppler-devel +BuildRequires: trinity-poppler-qt3-devel >= 0.12 +%endif + +# ksvg +BuildRequires: fontconfig-devel +%if 0%{?suse_version} +BuildRequires: liblcms-devel +%else +BuildRequires: lcms-devel +%endif +BuildRequires: libart_lgpl-devel + +# kuickshow +BuildRequires: fribidi-devel + +# kamera +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} +%define build_kamera 1 +%endif + +Obsoletes: trinity-kdegraphics < %{version}-%{release} +Provides: trinity-kdegraphics = %{version}-%{release} +Obsoletes: trinity-kdegraphics-libs < %{version}-%{release} +Provides: trinity-kdegraphics-libs = %{version}-%{release} +Obsoletes: trinity-kdegraphics-extras < %{version}-%{release} +Provides: trinity-kdegraphics-extras = %{version}-%{release} + + +%{?build_kamera:Requires: trinity-kamera = %{version}-%{release}} +Requires: trinity-kcoloredit = %{version}-%{release} +Requires: %{name}-kfile-plugins = %{version}-%{release} +Requires: trinity-kdvi = %{version}-%{release} +Requires: trinity-kfax = %{version}-%{release} +Requires: trinity-kfaxview = %{version}-%{release} +Requires: trinity-kgamma = %{version}-%{release} +Requires: trinity-kghostview = %{version}-%{release} +Requires: trinity-kiconedit = %{version}-%{release} +Requires: trinity-kmrml = %{version}-%{release} +Requires: trinity-kolourpaint = %{version}-%{release} +Requires: trinity-kooka = %{version}-%{release} +Requires: trinity-kpdf = %{version}-%{release} +Requires: trinity-kpovmodeler = %{version}-%{release} +Requires: trinity-kruler = %{version}-%{release} +Requires: trinity-ksnapshot = %{version}-%{release} +Requires: trinity-ksvg = %{version}-%{release} +Requires: trinity-kview = %{version}-%{release} +Requires: trinity-kviewshell = %{version}-%{release} +Requires: trinity-libkscan = %{version}-%{release} +Requires: %{name}-libpoppler-tqt = %{version}-%{release} + +%description +Graphics applications for the Trinity Desktop Environment, including +%if 0%{?build_kamera} +* kamera (digital camera support) +%endif +* kcoloredit (palette editor and color chooser) +* kdvi (displays TeX .dvi files) +* kfax +* kfaxview +* kghostview (displays postscript files) +* kiconedit (icon editor) +* kooka (scanner application) +* kpdf (displays PDF files) +* kpovmodler +* kruler (screen ruler and color measurement tool) +* ksnapshot (screen capture utility) +* kview (image viewer for GIF, JPEG, TIFF, etc.) + +%files + +########## + +%if 0%{?build_kamera} + +%package -n trinity-kamera +Summary: Digital camera io_slave for Konqueror +Group: Applications/Graphics + +%description -n trinity-kamera +This is a digital camera io_slave for TDE which uses gphoto2 and libgpio +to allow access to your camera's pictures with the URL camera:/ + +%post -n trinity-kamera +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kamera +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%files -n trinity-kamera +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcm_kamera.la +%{tde_tdelibdir}/kcm_kamera.so +%{tde_tdelibdir}/kio_kamera.la +%{tde_tdelibdir}/kio_kamera.so +%{tde_tdeappdir}/kamera.desktop +%{tde_datadir}/icons/crystalsvg/*/actions/camera_test.png +%{tde_datadir}/icons/crystalsvg/*/apps/camera.png +%{tde_datadir}/icons/crystalsvg/*/devices/camera.png +%{tde_datadir}/icons/crystalsvg/*/filesystems/camera.png +%{tde_datadir}/services/camera.protocol +%{tde_tdedocdir}/HTML/en/kamera/ + +%endif + +########## + +%package -n trinity-kcoloredit +Summary: A color palette editor and color picker for TDE +Group: Applications/Graphics + +%description -n trinity-kcoloredit +This package contains two programs, a color palette editor and also a color +picker. + +%files -n trinity-kcoloredit +%defattr(-,root,root,-) +%{tde_bindir}/kcolorchooser +%{tde_bindir}/kcoloredit +%{tde_tdeappdir}/kcolorchooser.desktop +%{tde_tdeappdir}/kcoloredit.desktop +%{tde_datadir}/apps/kcoloredit/kcoloreditui.rc +%{tde_datadir}/icons/hicolor/*/apps/kcolorchooser.png +%{tde_datadir}/icons/hicolor/*/apps/kcoloredit.png +%{tde_tdedocdir}/HTML/en/kcoloredit/ + +%post -n trinity-kcoloredit +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kcoloredit +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package kfile-plugins +Summary: TDE metainfo plugins for graphic files +Group: Environment/Libraries + +%description kfile-plugins +This packages provides meta information for graphic files (file sizes, +tags, etc. all from within the file manager). + +%files kfile-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/gsthumbnail.la +%{tde_tdelibdir}/gsthumbnail.so +%{tde_tdelibdir}/kfile_bmp.la +%{tde_tdelibdir}/kfile_bmp.so +%{tde_tdelibdir}/kfile_dds.la +%{tde_tdelibdir}/kfile_dds.so +%{tde_tdelibdir}/kfile_dvi.la +%{tde_tdelibdir}/kfile_dvi.so +%{tde_tdelibdir}/kfile_exr.la +%{tde_tdelibdir}/kfile_exr.so +%{tde_tdelibdir}/kfile_gif.la +%{tde_tdelibdir}/kfile_gif.so +%{tde_tdelibdir}/kfile_ico.la +%{tde_tdelibdir}/kfile_ico.so +%{tde_tdelibdir}/kfile_jpeg.la +%{tde_tdelibdir}/kfile_jpeg.so +%{tde_tdelibdir}/kfile_pcx.la +%{tde_tdelibdir}/kfile_pcx.so +%{tde_tdelibdir}/kfile_pdf.la +%{tde_tdelibdir}/kfile_pdf.so +%{tde_tdelibdir}/kfile_png.la +%{tde_tdelibdir}/kfile_png.so +%{tde_tdelibdir}/kfile_pnm.la +%{tde_tdelibdir}/kfile_pnm.so +%{tde_tdelibdir}/kfile_ps.la +%{tde_tdelibdir}/kfile_ps.so +%{tde_tdelibdir}/kfile_raw.la +%{tde_tdelibdir}/kfile_raw.so +%{tde_tdelibdir}/kfile_rgb.la +%{tde_tdelibdir}/kfile_rgb.so +%{tde_tdelibdir}/kfile_tga.la +%{tde_tdelibdir}/kfile_tga.so +%{tde_tdelibdir}/kfile_tiff.la +%{tde_tdelibdir}/kfile_tiff.so +%{tde_tdelibdir}/kfile_xbm.la +%{tde_tdelibdir}/kfile_xbm.so +%{tde_tdelibdir}/kfile_xpm.la +%{tde_tdelibdir}/kfile_xpm.so +%{tde_datadir}/services/gsthumbnail.desktop +%{tde_datadir}/services/kfile_bmp.desktop +%{tde_datadir}/services/kfile_dds.desktop +%{tde_datadir}/services/kfile_dvi.desktop +%{tde_datadir}/services/kfile_exr.desktop +%{tde_datadir}/services/kfile_gif.desktop +%{tde_datadir}/services/kfile_ico.desktop +%{tde_datadir}/services/kfile_jpeg.desktop +%{tde_datadir}/services/kfile_pcx.desktop +%{tde_datadir}/services/kfile_pdf.desktop +%{tde_datadir}/services/kfile_png.desktop +%{tde_datadir}/services/kfile_pnm.desktop +%{tde_datadir}/services/kfile_ps.desktop +%{tde_datadir}/services/kfile_raw.desktop +%{tde_datadir}/services/kfile_rgb.desktop +%{tde_datadir}/services/kfile_tga.desktop +%{tde_datadir}/services/kfile_tiff.desktop +%{tde_datadir}/services/kfile_xbm.desktop +%{tde_datadir}/services/kfile_xpm.desktop + +########## + +%package -n trinity-kdvi +Summary: Dvi viewer for TDE +Group: Applications/Graphics + +%description -n trinity-kdvi +This program and KPart allow the user to display *.DVI files from TeX. + +%files -n trinity-kdvi +%defattr(-,root,root,-) +%{tde_bindir}/kdvi +%{tde_tdelibdir}/kdvipart.la +%{tde_tdelibdir}/kdvipart.so +%{tde_tdeappdir}/kdvi.desktop +%{tde_datadir}/apps/kdvi/ +%{tde_datadir}/config.kcfg/kdvi.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kdvi.png +%{tde_datadir}/icons/hicolor/scalable/apps/kdvi.svgz +%{tde_datadir}/services/kdvimultipage.desktop +%{tde_tdedocdir}/HTML/en/kdvi/ + +%post -n trinity-kdvi +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kdvi +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kfax +Summary: G3/G4 fax viewer for Trinity +Group: Applications/Graphics +Requires: libtiff + +%description -n trinity-kfax +A fax viewer for Trinity, supporting the display of raw and tiffed fax images +(g3, g3-2d, g4). + +%files -n trinity-kfax +%defattr(-,root,root,-) +%doc rpmdocs/kfax/ +%{tde_bindir}/kfax +%{tde_tdeappdir}/kfax.desktop +%{tde_datadir}/apps/kfax/ +%{tde_datadir}/icons/hicolor/??x??/apps/kfax.png +%{tde_datadir}/icons/hicolor/scalable/apps/kfax.svgz + +%post -n trinity-kfax +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kfax +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kfaxview +Summary: G3/G4 fax viewer for Trinity using kviewshell +Group: Applications/Graphics + +%description -n trinity-kfaxview +A fax viewer for Trinity, supporting the display of raw and tiffed fax images +(g3, g3-2d, g4). + +This faxviewer uses kviewshell and is intended to replace the standalone +kfax application once it reproduces all of kfax's features. + +%files -n trinity-kfaxview +%defattr(-,root,root,-) +%{tde_bindir}/kfaxview +%{tde_libdir}/libkfaximage.so.* +%{tde_tdelibdir}/kfaxviewpart.* +%{tde_tdeappdir}/kfaxview.desktop +%{tde_datadir}/apps/kfaxview/ +%{tde_datadir}/icons/hicolor/??x??/apps/kfaxview.png +%{tde_datadir}/icons/hicolor/scalable/apps/kfaxview.svgz +%{tde_datadir}/services/kfaxmultipage.desktop +%{tde_datadir}/services/kfaxmultipage_tiff.desktop + +%post -n trinity-kfaxview +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : +/sbin/ldconfig || : + +%postun -n trinity-kfaxview +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : +/sbin/ldconfig || : + +########## + +%package -n trinity-kgamma +Summary: Gamma correction module for the Trinity Control Center +Group: Applications/Graphics + +%description -n trinity-kgamma +KGamma is a Trinity Control Center module for gamma calibration/correction +of XFree86. With proper gamma settings, your display (websites, images, +etc.) will look the same on your monitor as on other monitors. + +Homepage: http://kgamma.berlios.de/index2.php + +%files -n trinity-kgamma +%defattr(-,root,root,-) +%{tde_bindir}/xf86gammacfg +%{tde_tdelibdir}/kcm_kgamma.la +%{tde_tdelibdir}/kcm_kgamma.so +%{tde_tdeappdir}/kgamma.desktop +%{tde_datadir}/apps/kgamma/ +%{tde_datadir}/icons/hicolor/*/apps/kgamma.png +%{tde_tdedocdir}/HTML/en/kgamma/ + +%post -n trinity-kgamma +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kgamma +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kghostview +Summary: PostScript viewer for Trinity +Group: Applications/Graphics +Requires: ghostscript + +%description -n trinity-kghostview +KGhostview is Trinity's PostScript viewer. It is a port of Tim Theisen's +Ghostview program which is used to view documents prepared in Adobe's +PostScript page description language. PostScript is the major page +description language for printing on UNIX systems, and this application is +useful to preview material intended for printing, or for reading documents +online. + +%files -n trinity-kghostview +%defattr(-,root,root,-) +%{tde_bindir}/kghostview +%{tde_tdelibdir}/libkghostviewpart.la +%{tde_tdelibdir}/libkghostviewpart.so +%{tde_libdir}/libkghostviewlib.so.* +%{tde_tdeappdir}/kghostview.desktop +%{tde_datadir}/apps/kconf_update/kghostview.upd +%{tde_datadir}/apps/kconf_update/update-to-xt-names.pl +%{tde_datadir}/apps/kghostview/ +%{tde_datadir}/config.kcfg/kghostview.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kghostview.png +%{tde_datadir}/services/kghostview_part.desktop +%{tde_tdedocdir}/HTML/en/kghostview/ + +%post -n trinity-kghostview +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : +/sbin/ldconfig || : + +%postun -n trinity-kghostview +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : +/sbin/ldconfig || : + +########## + +%package -n trinity-kiconedit +Summary: An icon editor for Trinity +Group: Applications/Graphics + +%description -n trinity-kiconedit +KIconedit allows you easily to create and edit icons. + +%files -n trinity-kiconedit +%defattr(-,root,root,-) +%{tde_bindir}/kiconedit +%{tde_tdeappdir}/kiconedit.desktop +%{tde_datadir}/apps/kiconedit/ +%{tde_datadir}/icons/hicolor/*/apps/kiconedit.png +%{tde_tdedocdir}/HTML/en/kiconedit/ + +%post -n trinity-kiconedit +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kiconedit +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kmrml +Summary: A Konqueror plugin for searching pictures +Group: Applications/Graphics + +%description -n trinity-kmrml +MRML is short for Multimedia Retrieval Markup Language, which defines a +protocol for querying a server for images based on their content. See +http://www.mrml.net about MRML and the GNU Image Finding Tool (GIFT), an +MRML server. + +%files -n trinity-kmrml +%defattr(-,root,root,-) +%{tde_bindir}/mrmlsearch +%{tde_tdelibdir}/kcm_kmrml.la +%{tde_tdelibdir}/kcm_kmrml.so +%{tde_tdelibdir}/kded_daemonwatcher.la +%{tde_tdelibdir}/kded_daemonwatcher.so +%{tde_tdelibdir}/kio_mrml.la +%{tde_tdelibdir}/kio_mrml.so +%{tde_tdelibdir}/libkmrmlpart.la +%{tde_tdelibdir}/libkmrmlpart.so +%{tde_tdelibdir}/mrmlsearch.la +%{tde_tdelibdir}/mrmlsearch.so +%{tde_libdir}/lib[kt]deinit_mrmlsearch.so +%{tde_tdeappdir}/kcmkmrml.desktop +%{tde_datadir}/apps/konqueror/servicemenus/mrml-servicemenu.desktop +%{tde_datadir}/mimelnk/text/mrml.desktop +%{tde_datadir}/services/kded/daemonwatcher.desktop +%{tde_datadir}/services/mrml.protocol +%{tde_datadir}/services/mrml_part.desktop + +%post -n trinity-kmrml +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : +/sbin/ldconfig || : + +%postun -n trinity-kmrml +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : +/sbin/ldconfig || : + +########## + +%package -n trinity-kolourpaint +Summary: A simple paint program for Trinity +Group: Applications/Graphics + +%description -n trinity-kolourpaint +KolourPaint is a very simple paint program for Trinity. It aims to be +conceptually simple to understand; providing a level of functionality +targeted towards the average user. It's designed for daily tasks like: + +* Painting - drawing diagrams and "finger painting" +* Image Manipulation - editing screenshots and photos; applying effects +* Icon Editing - drawing clipart and logos with transparency + +It's not an unusable and monolithic program where simple tasks like +drawing lines become near impossible. Nor is it so simple that it lacks +essential features like Undo/Redo. + +Homepage: http://kolourpaint.sourceforge.net + +%files -n trinity-kolourpaint +%defattr(-,root,root,-) +%{tde_bindir}/kolourpaint +%{tde_tdeappdir}/kolourpaint.desktop +%{tde_datadir}/apps/kolourpaint/ +%{tde_datadir}/icons/hicolor/*/apps/kolourpaint.png +%{tde_datadir}/icons/hicolor/scalable/apps/kolourpaint.svgz +%{tde_tdedocdir}/HTML/en/kolourpaint/ + +%post -n trinity-kolourpaint +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kolourpaint +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kooka +Summary: Scanner program for Trinity +Group: Applications/Graphics + +%description -n trinity-kooka +Kooka is an open source GNU/Linux scan program based on SANE and +KScan library. + +Kooka helps you to handle the most important scan parameters, find the +correct image file format to save and manage your scanned images. It +offers support for different OCR modules. Libkscan, a autonomous part +of Kooka, provides a scan service for easy and consistent use to all +KDE applications. + +Install ocrad or gocr if you wish to enable optical character recognition +in kooka. + +Homepage: http://kooka.kde.org/ + +%files -n trinity-kooka +%defattr(-,root,root,-) +%{tde_datadir}/config/kookarc +%{tde_bindir}/kooka +%{tde_tdeappdir}/kooka.desktop +%{tde_datadir}/apps/kooka/ +%{tde_tdedocdir}/HTML/en/kooka/ + +%post -n trinity-kooka +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kooka +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kpdf +Summary: PDF viewer for Trinity +Group: Applications/Graphics +#Recommends: kghostview-trinity (= ${binary:Version}) + +%description -n trinity-kpdf +KPDF allows you to view PDF (Portable Document Format) files. This package +includes kpdfpart so you can embed in konqueror or run as a standalone +application. + +%files -n trinity-kpdf +%defattr(-,root,root,-) +%{tde_bindir}/kpdf +%{tde_tdelibdir}/libkpdfpart.la +%{tde_tdelibdir}/libkpdfpart.so +%{tde_tdeappdir}/kpdf.desktop +%{tde_datadir}/apps/kpdf/shell.rc +%{tde_datadir}/apps/kpdfpart/part.rc +%{tde_datadir}/config.kcfg/kpdf.kcfg +%{tde_tdedocdir}/HTML/en/kpdf/ +%{tde_datadir}/icons/hicolor/*/apps/kpdf.png +%{tde_datadir}/icons/hicolor/scalable/apps/kpdf.svgz +%{tde_datadir}/services/kpdf_part.desktop + +%post -n trinity-kpdf +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kpdf +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kpovmodeler +Summary: A graphical editor for povray scenes +Group: Applications/Graphics +#Requires: povray + +%description -n trinity-kpovmodeler +KPovmodeler is KDE's graphical editor for povray scenes. KPovModeler is a +modeling and composition program for creating POV-Ray scenes in KDE. + +For most modelers, POV-Ray is nothing but a rendering engine. This greatly +limits the innate possibilities of the POV-Ray scripted language. This +is not the case for KPovModeler, which allows you to use all the features +of POV-Ray through the translation of POV-Ray language into a graphical +tree. + +kpovmodeler uses the povray package, currently available only in Debian's +non-free, unsupported repository. + +Homepage: http://www.kpovmodeler.org + +%files -n trinity-kpovmodeler +%defattr(-,root,root,-) +%doc rpmdocs/kpovmodeler/ +%{tde_bindir}/kpovmodeler +%{tde_libdir}/libkpovmodeler.so.* +%{tde_tdelibdir}/libkpovmodelerpart.* +%{tde_tdeappdir}/kpovmodeler.desktop +%{tde_datadir}/apps/kpovmodeler/ +%{tde_datadir}/icons/crystalsvg/*/mimetypes/kpovmodeler_doc.* +%{tde_datadir}/icons/hicolor/*/apps/kpovmodeler.* +%doc %{tde_tdedocdir}/HTML/en/kpovmodeler/ + +%post -n trinity-kpovmodeler +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : +/sbin/ldconfig || : + +%postun -n trinity-kpovmodeler +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : +/sbin/ldconfig || : + +########## + +%package -n trinity-kruler +Summary: A screen ruler and color measurement tool for Trinity +Group: Applications/Graphics + +%description -n trinity-kruler +Kruler is a screen ruler (using pixels) and color measurement tool for KDE. + +%files -n trinity-kruler +%defattr(-,root,root,-) +%{tde_bindir}/kruler +%{tde_tdeappdir}/kruler.desktop +%{tde_datadir}/applnk/Graphics/kruler.desktop +%{tde_datadir}/apps/kruler/ +%{tde_datadir}/icons/hicolor/*/apps/kruler.png +%{tde_tdedocdir}/HTML/en/kruler/ + +%post -n trinity-kruler +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kruler +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ksnapshot +Summary: Screenshot utility for Trinity +Group: Applications/Graphics + +%description -n trinity-ksnapshot +KSnapshot is a simple applet for taking screenshots. It is capable of +capturing images of either the whole desktop or just a single window. +The images can then be saved in a variety of formats. + +%files -n trinity-ksnapshot +%defattr(-,root,root,-) +%{tde_bindir}/ksnapshot +%{tde_tdeappdir}/ksnapshot.desktop +%{tde_datadir}/icons/hicolor/*/apps/ksnapshot.png +%{tde_datadir}/icons/hicolor/scalable/apps/ksnapshot.svgz +%{tde_tdedocdir}/HTML/en/ksnapshot/ + +%post -n trinity-ksnapshot +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ksnapshot +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ksvg +Summary: SVG viewer for Trinity +Group: Applications/Graphics + +%description -n trinity-ksvg +KSVG allows you view SVG (scalable vector graphics) files. This package +includes kpart so you can embed it in konqueror and a standalone +application. + +%files -n trinity-ksvg +%defattr(-,root,root,-) +%{tde_bindir}/printnodetest +%{tde_bindir}/svgdisplay +%{tde_tdelibdir}/libksvgplugin.la +%{tde_tdelibdir}/libksvgplugin.so +%{tde_tdelibdir}/libksvgrendererlibart.la +%{tde_tdelibdir}/libksvgrendererlibart.so +%{tde_tdelibdir}/svgthumbnail.la +%{tde_tdelibdir}/svgthumbnail.so +%{tde_libdir}/libksvg.so.0 +%{tde_libdir}/libksvg.so.0.0.1 +%{tde_libdir}/libtext2path.so.0 +%{tde_libdir}/libtext2path.so.0.0.0 +%{tde_datadir}/apps/ksvg/ksvgplugin.rc +%{tde_datadir}/services/ksvglibartcanvas.desktop +%{tde_datadir}/services/ksvgplugin.desktop +%{tde_datadir}/services/svgthumbnail.desktop +%{tde_datadir}/servicetypes/ksvgrenderer.desktop + +%post -n trinity-ksvg +/sbin/ldconfig || : + +%postun -n trinity-ksvg +/sbin/ldconfig || : + +########## + +%package -n trinity-kview +Summary: Simple image viewer/converter for Trinity +Group: Applications/Graphics + +%description -n trinity-kview +KView is a simple image viewer and converter application. It supports +a number of plugins, which add an array of basic editing capabilities +as well. + +%files -n trinity-kview +%defattr(-,root,root,-) +%{tde_bindir}/kview +%{tde_tdelibdir}/kcm_kviewcanvasconfig.la +%{tde_tdelibdir}/kcm_kviewcanvasconfig.so +%{tde_tdelibdir}/kcm_kviewgeneralconfig.la +%{tde_tdelibdir}/kcm_kviewgeneralconfig.so +%{tde_tdelibdir}/kcm_kviewpluginsconfig.la +%{tde_tdelibdir}/kcm_kviewpluginsconfig.so +%{tde_tdelibdir}/kcm_kviewpresenterconfig.la +%{tde_tdelibdir}/kcm_kviewpresenterconfig.so +%{tde_tdelibdir}/kcm_kviewviewerpluginsconfig.la +%{tde_tdelibdir}/kcm_kviewviewerpluginsconfig.so +%{tde_tdelibdir}/kview.la +%{tde_tdelibdir}/kview.so +%{tde_tdelibdir}/kview_browserplugin.la +%{tde_tdelibdir}/kview_browserplugin.so +%{tde_tdelibdir}/kview_effectsplugin.la +%{tde_tdelibdir}/kview_effectsplugin.so +%{tde_tdelibdir}/kview_presenterplugin.la +%{tde_tdelibdir}/kview_presenterplugin.so +%{tde_tdelibdir}/kview_scannerplugin.la +%{tde_tdelibdir}/kview_scannerplugin.so +%{tde_tdelibdir}/libkviewcanvas.la +%{tde_tdelibdir}/libkviewcanvas.so +%{tde_tdelibdir}/libkviewviewer.la +%{tde_tdelibdir}/libkviewviewer.so +%{tde_libdir}/lib[kt]deinit_kview.so +%{tde_libdir}/libkimageviewer.so.* +%{tde_tdelibdir}/libphotobook.la +%{tde_tdelibdir}/libphotobook.so +%{tde_tdeappdir}/kview.desktop +%{tde_datadir}/apps/kview/ +%{tde_datadir}/apps/kviewviewer/ +%{tde_datadir}/apps/photobook/photobookui.rc +%{tde_datadir}/icons/crystalsvg/*/apps/photobook.png +%{tde_datadir}/icons/hicolor/*/apps/kview.png +%{tde_datadir}/services/kconfiguredialog/kviewcanvasconfig.desktop +%{tde_datadir}/services/kconfiguredialog/kviewgeneralconfig.desktop +%{tde_datadir}/services/kconfiguredialog/kviewpluginsconfig.desktop +%{tde_datadir}/services/kconfiguredialog/kviewpresenterconfig.desktop +%{tde_datadir}/services/kconfiguredialog/kviewviewerpluginsconfig.desktop +%{tde_datadir}/services/kviewcanvas.desktop +%{tde_datadir}/services/kviewviewer.desktop +%{tde_datadir}/services/photobook.desktop +%{tde_datadir}/servicetypes/kimageviewer.desktop +%{tde_datadir}/servicetypes/kimageviewercanvas.desktop +%{tde_tdedocdir}/HTML/en/kview/ + +%post -n trinity-kview +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : +/sbin/ldconfig || : + +%postun -n trinity-kview +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : +/sbin/ldconfig || : + +########## + +%package -n trinity-kviewshell +Summary: Generic framework for viewer applications in Trinity +Group: Applications/Graphics + +%description -n trinity-kviewshell +KViewShell is a generic viewing framework that allows the graphical +applications, such as the kview image viewer, to be embedded in other +KDE applications, such as Konqueror. + +KViewShell comes with a djvuviewpart plugin included, for viewing +DjVu images. + +%files -n trinity-kviewshell +%defattr(-,root,root,-) +%{tde_bindir}/kviewshell +%{tde_libdir}/libdjvu.la +%{tde_libdir}/libdjvu.so +%{tde_tdelibdir}/djvuviewpart.so +%{tde_tdelibdir}/djvuviewpart.la +%{tde_tdelibdir}/emptymultipagepart.la +%{tde_tdelibdir}/emptymultipagepart.so +%{tde_tdelibdir}/kviewerpart.la +%{tde_tdelibdir}/kviewerpart.so +%{tde_libdir}/libkmultipage.so.* +%{tde_datadir}/apps/djvumultipage.rc +%{tde_datadir}/apps/kviewerpart/ +%{tde_datadir}/apps/kviewshell/kviewshell.rc +%{tde_datadir}/config.kcfg/djvumultipage.kcfg +%{tde_datadir}/config.kcfg/kviewshell.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/kviewshell.png +%{tde_datadir}/services/emptymultipage.desktop +%{tde_datadir}/services/djvumultipage.desktop +%{tde_datadir}/servicetypes/kmultipage.desktop + +%post -n trinity-kviewshell +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : + +%postun -n trinity-kviewshell +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : + +########## + +%package -n trinity-libkscan +Summary: Scanner library for Trinity +Group: Environment/Libraries + +%description -n trinity-libkscan +KScan is TDE's scanner library. It's used by kooka and by koffice currently. +It provides an easy-to-use library, which allows you to access your scanner +(as long as it's sane compatible). + +%files -n trinity-libkscan +%defattr(-,root,root,-) +%{tde_libdir}/libkscan.so.* +%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_color.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_gray.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_halftone.png +%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_lineart.png +%{tde_datadir}/services/scanservice.desktop + +%post -n trinity-libkscan +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : + +%postun -n trinity-libkscan +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : + +########## + +%package -n trinity-libkscan-devel +Summary: Development files for the Trinity scanner library +Group: Development/Libraries + +%description -n trinity-libkscan-devel +This package contains development files for Trinity's scanner library. + +%files -n trinity-libkscan-devel +%defattr(-,root,root,-) +%{tde_libdir}/libkscan.la +%{tde_libdir}/libkscan.so + +%post -n trinity-libkscan-devel +/sbin/ldconfig || : + +%postun -n trinity-libkscan-devel +/sbin/ldconfig || : + +########## + +%package libpoppler-tqt +Summary: TQt support for Poppler +Group: Environment/Libraries +Provides: poppler-tqt = %{version}-%{release} + +%description libpoppler-tqt +TQt support library for Poppler. +This library is used by the Trinity graphics file plugins for PDF support. + +%files libpoppler-tqt +%defattr(-,root,root,-) +%{tde_libdir}/libpoppler-tqt.so.* + +%post libpoppler-tqt +/sbin/ldconfig || : + +%postun libpoppler-tqt +/sbin/ldconfig || : + +########## + +%package libpoppler-tqt-devel +Summary: Development files for TQt support for Poppler +Group: Development/Libraries +Requires: %{name}-libpoppler-tqt +Provides: poppler-tqt-devel = %{version}-%{release} + +%description libpoppler-tqt-devel +Development files of TQt support library for Poppler. +This package contains the development files needed to compile applications against poppler-tqt. + +%files libpoppler-tqt-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/poppler-link-qt3.h +%{tde_tdeincludedir}/poppler-page-transition.h +%{tde_tdeincludedir}/poppler-qt.h +%{tde_libdir}/libpoppler-tqt.la +%{tde_libdir}/libpoppler-tqt.so +%{tde_libdir}/pkgconfig/poppler-tqt.pc + +%post libpoppler-tqt-devel +/sbin/ldconfig || : + +%postun libpoppler-tqt-devel +/sbin/ldconfig || : + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries + +Obsoletes: trinity-kdegraphics-devel < %{version}-%{release} +Provides: trinity-kdegraphics-devel = %{version}-%{release} + +Requires: %{name} = %{version}-%{release} +Requires: trinity-libkscan-devel = %{version}-%{release} +Requires: %{name}-libpoppler-tqt-devel = %{version}-%{release} + +%description devel +%{summary}. + +%files devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/dom/ +%{tde_tdeincludedir}/kfaximage.h +%{tde_tdeincludedir}/kmultipageInterface.h +%{tde_tdeincludedir}/ksvg/ +%{tde_tdeincludedir}/kviewshell/ +%{tde_tdeincludedir}/libtext2path-0.1/BezierPath.h +%{tde_tdeincludedir}/libtext2path-0.1/Glyph.h +%{tde_tdeincludedir}/libtext2path-0.1/GlyphTracer.h +%{tde_libdir}/lib[kt]deinit_kview.la +%{tde_libdir}/lib[kt]deinit_mrmlsearch.la +%{tde_libdir}/libkghostviewlib.la +%{tde_libdir}/libkghostviewlib.so +%{tde_libdir}/libkimageviewer.la +%{tde_libdir}/libkimageviewer.so +%{tde_libdir}/libkmultipage.la +%{tde_libdir}/libkmultipage.so +%{tde_libdir}/libkpovmodeler.la +%{tde_libdir}/libkpovmodeler.so +%{tde_libdir}/libksvg.la +%{tde_libdir}/libksvg.so +%{tde_libdir}/libtext2path.la +%{tde_libdir}/libtext2path.so +# kfaxview +%{tde_libdir}/libkfaximage.so +%{tde_libdir}/libkfaximage.la +# cmake +%{tde_datadir}/cmake/* + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + +############ + +# Excludes kuickshow (built separately) +#%exclude %{tde_bindir}/kuickshow +#%exclude %{tde_tdelibdir}/kuickshow.la +#%exclude %{tde_tdelibdir}/kuickshow.so +#%exclude %{tde_libdir}/lib[kt]deinit_kuickshow.la +#%exclude %{tde_libdir}/lib[kt]deinit_kuickshow.so +#%exclude %{tde_tdeappdir}/kuickshow.desktop +#%exclude %{tde_datadir}/apps/kuickshow/ +#%exclude %{tde_datadir}/icons/hicolor/*/apps/kuickshow.png +#%exclude %{tde_tdedocdir}/HTML/en/kuickshow/ + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q + +%if 0%{?rhel} && 0%{?rhel} <= 5 +%patch3 -p1 -b .mkstemps +%endif + +%if 0%{?rhel} == 4 +%patch201 -p1 -b .rhel4 +%endif + +%if 0%{?build_kamera} == 0 +%__rm -rf doc/kamera/ +%endif + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" + +# Do not build against any "/usr" installed KDE +export KDEDIR=%{tde_prefix} + +# Specific path for RHEL4 +if [ -d /usr/X11R6 ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \ + -DCMAKE_SKIP_RPATH="OFF" \ + %{?with_t1lib:-DWITH_T1LIB=ON} \ + %{?with_paper:-DWITH_LIBPAPER=ON} \ + -DWITH_TIFF=ON \ + -DWITH_OPENEXR=ON \ + -DWITH_PDF=ON \ + -DBUILD_ALL=ON \ + -DBUILD_KUICKSHOW=OFF \ + %{!?build_kamera:-DBUILD_KAMERA=OFF} \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + +# locale's +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi +done +fi + +# rpmdocs +for dir in k* ; do + for file in AUTHORS ChangeLog README TODO ; do + if test -s "$dir/$file" ; then + install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file" + echo "%doc rpmdocs/$dir/" >> %{name}.lang + fi + done +done + + +%clean +%__rm -rf %{buildroot} + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 +- Initial release for TDE 3.5.13.2 diff --git a/redhat/tdegraphics/trinity-kdegraphics-3.5.12.spec b/redhat/tdegraphics/trinity-kdegraphics-3.5.12.spec deleted file mode 100644 index 9e1e07e3b..000000000 --- a/redhat/tdegraphics/trinity-kdegraphics-3.5.12.spec +++ /dev/null @@ -1,369 +0,0 @@ -# Default version for this component -%if "%{?version}" == "" -%define version 3.5.12 -%endif -%define release 3 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_includedir %{_includedir}/kde -%define tde_libdir %{_libdir}/kde3 - - -Name: trinity-kdegraphics -Version: %{?version} -Release: %{?release}%{?dist}%{_variant} -License: GPL -Summary: K Desktop Environment - Graphics Applications - -Group: Applications/Multimedia - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: kdegraphics-%{version}.tar.gz - -# Official TDE patches (from SVN) -# Fix kdegraphics FTBFS under gcc4.6 -# Thanks to David Rankin for the patch! -Patch0: r1242777.diff - -# [kdegraphics/kviewshell]: GCC >= 4.5 fix -# avoid "documentWidget.cpp:290:70: error: taking address of temporary" -Patch1: kdegraphics-documentwidget-gcc45.patch - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: trinity-kdebase-devel -BuildRequires: gettext -BuildRequires: libmng-devel -BuildRequires: libpng-devel -BuildRequires: libtiff-devel -BuildRequires: libungif-devel -BuildRequires: automake libtool -BuildRequires: gphoto2-devel -BuildRequires: sane-backends-devel -BuildRequires: libusb-devel - - -# kgamma -BuildRequires: libXxf86vm-devel -# kuickshow -BuildRequires: imlib-devel -#kfile-plugin -BuildRequires: OpenEXR-devel -# kpdf -BuildRequires: freetype-devel -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 -BuildRequires: poppler-qt-devel -%else -BuildRequires: poppler-devel -%endif -BuildRequires: libpaper-devel -# ksvg -BuildRequires: fontconfig-devel -BuildRequires: fribidi-devel -BuildRequires: lcms-devel -BuildRequires: libart_lgpl-devel -BuildRequires: libXmu-devel -# kpovmodeler -BuildRequires: libGL-devel libGLU-devel libXi-devel - -Requires: tqtinterface -Requires: trinity-arts -Requires: trinity-kdelibs -Requires: ghostscript -Requires: %{name}-libs = %{version}-%{release} - -%if "%{_prefix}" == "/usr" -Provides: kdegraphics3 = %{version}-%{release} -Conflicts: kdegraphics -%endif - -%description -Graphics applications for the K Desktop Environment, including -* kamera (digital camera support) -* kcoloredit (palette editor and color chooser) -* kdvi (displays TeX .dvi files) -* kghostview (displays postscript files) -* kiconedit (icon editor) -* kooka (scanner application) -* kpdf (displays PDF files) -* kruler (screen ruler and color measurement tool) -* ksnapshot (screen capture utility) -* kview (image viewer for GIF, JPEG, TIFF, etc.) - -%package devel -Summary: Development files for %{name} -Provides: kdegraphics3-devel = %{version}-%{release} -Requires: %{name}-libs = %{version}-%{release} -Group: Development/Libraries -%description devel -%{summary}. - -## FIXME: move more stuff to -extras -%package extras -Summary: Extra applications from %{name} -Group: Applications/Multimedia -Requires: %{name}-libs = %{version}-%{release} -Requires(post): /sbin/ldconfig -Requires(postun): /sbin/ldconfig - -%description extras -%{summary}, including: -* kfax -* kfaxview -* kpovmodler - -%package libs -Summary: %{name} runtime libraries -Group: System Environment/Libraries -Requires: trinity-kdelibs >= %{version} -# include to be paranoid, installing libs-only is still mostly untested -- Rex -Requires: %{name} = %{version}-%{release} -%description libs -%{summary}. - - - -%prep -%setup -q -n kdegraphics -%patch0 -p1 -%patch1 -p1 - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -%configure \ - --enable-new-ldflags \ - --disable-dependency-tracking \ - --disable-rpath \ - --disable-debug \ - --disable-warnings \ - --enable-final \ - --includedir=%{_includedir}/kde \ - --with-xinerama \ - --with-extra-includes=%{_includedir}/tqt - -%if 0%{?fedora} >= 15 -# Ugly fix for kolourpaint - problem when linking libkdefx.so -sed -i kolourpaint/Makefile \ - -e 's,\($(kolourpaint_LINK) $(kolourpaint_OBJECTS) $(kolourpaint_LDADD) \)\($(LIBS)\),\1 -lkdefx \2,' - -# Another ugly fix for kpdf - problem when linking fontconfig -sed -i kpdf/Makefile \ - -e '/^LDFLAGS = .*/ s,$, -lfontconfig,' -%endif - -%__make %{?_smp_mflags} - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{buildroot} - -%__make install DESTDIR=%{buildroot} - -# locale's -%find_lang %{name} || touch %{name}.lang -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common - done - popd - fi -done -fi - -# rpmdocs -for dir in k* ; do - for file in AUTHORS ChangeLog README TODO ; do - if test -s "$dir/$file" ; then - install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file" - echo "%doc rpmdocs/$dir/" >> %{name}.lang - fi - done -done - -# unpackaged files -# omit kpovmodeler-devel files (for now) -- Rex -rm -f %{buildroot}/libkpovmodeler.so - - -%clean -rm -rf %{buildroot} - - -%post -for f in crystalsvg hicolor ; do - touch --no-create %{_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -for f in crystalsvg hicolor ; do - touch --no-create %{_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%post libs -/sbin/ldconfig - -%postun libs -/sbin/ldconfig - -%post extras -/sbin/ldconfig ||: -for f in crystalsvg hicolor ; do - touch --no-create %{_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun extras -/sbin/ldconfig ||: -for f in crystalsvg hicolor ; do - touch --no-create %{_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - - -%files extras -%defattr(-,root,root,-) - -# kfax -%doc rpmdocs/kfax/ -%{_bindir}/kfax -%{_datadir}/applications/kde/kfax.desktop -%{_datadir}/apps/kfax/ -%{_datadir}/icons/hicolor/??x??/apps/kfax.png -%{_datadir}/icons/hicolor/scalable/apps/kfax.svgz - -# kfaxview -%{_bindir}/kfaxview -%{_libdir}/libkfaximage.so -%{_libdir}/libkfaximage.la -%{tde_libdir}/kfaxviewpart.* -%{_datadir}/applications/kde/kfaxview.desktop -%{_datadir}/apps/kfaxview/ -%{_datadir}/icons/hicolor/??x??/apps/kfaxview.png -%{_datadir}/icons/hicolor/scalable/apps/kfaxview.svgz -%{_datadir}/services/kfaxmultipage.desktop -%{_datadir}/services/kfaxmultipage_tiff.desktop - -# kpovmodeler -%doc rpmdocs/kpovmodeler/ -%doc %{_docdir}/HTML/en/kpovmodeler/ -%{_bindir}/kpovmodeler -%{_libdir}/libkpovmodeler.so.* -%{_libdir}/libkpovmodeler.la -%{tde_libdir}/libkpovmodelerpart.* -%{_datadir}/applications/kde/kpovmodeler.desktop -%{_datadir}/apps/kpovmodeler/ -%{_datadir}/icons/crystalsvg/*/mimetypes/kpovmodeler_doc.* -%{_datadir}/icons/hicolor/*/apps/kpovmodeler.* - -%files -f %{name}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING README -%doc rpmdocs/* - -# kfax -%exclude %{_bindir}/kfax -%exclude %{_datadir}/applications/kde/kfax.desktop -%exclude %{_datadir}/apps/kfax/ -%exclude %{_datadir}/icons/hicolor/*/apps/kfax.* - -# kfaxview -%exclude %{_bindir}/kfaxview -%exclude %{_libdir}/libkfaximage.so -%exclude %{_libdir}/libkfaximage.la -%exclude %{tde_libdir}/kfaxviewpart.* -%exclude %{_datadir}/applications/kde/kfaxview.desktop -%exclude %{_datadir}/apps/kfaxview/ -%exclude %{_datadir}/icons/hicolor/*/apps/kfaxview.* -%exclude %{_datadir}/services/kfaxmultipage.desktop -%exclude %{_datadir}/services/kfaxmultipage_tiff.desktop - -# kpovmodeler -%exclude %{tde_docdir}/HTML/en/kpovmodeler/ -%exclude %{_bindir}/kpovmodeler -%exclude %{_libdir}/libkpovmodeler.* -%exclude %{tde_libdir}/libkpovmodelerpart.* -%exclude %{_datadir}/applications/kde/kpovmodeler.desktop -%exclude %{_datadir}/apps/kpovmodeler/ -%exclude %{_datadir}/icons/crystalsvg/*/mimetypes/kpovmodeler_doc.* -%exclude %{_datadir}/icons/hicolor/*/apps/kpovmodeler.* - -%{_bindir}/* -%{_datadir}/applications/kde/*.desktop -%{_datadir}/applnk/Graphics/*kruler.desktop -%{_datadir}/apps/* -%{_datadir}/icons/crystalsvg/*/*/* -%{_datadir}/icons/hicolor/*/*/* -%{_datadir}/config*/* -%{_datadir}/service*/* -%{_datadir}/mimelnk/*/* -%{_libdir}/libkdeinit_*.so -%{tde_libdir}/* - -%files libs -%defattr(-,root,root,-) -%exclude %{_libdir}/libkfaximage.la -%exclude %{_libdir}/libkpovmodeler.la -%exclude %{_libdir}/libkpovmodeler.so.* -%{_libdir}/lib*.so.* -%{_libdir}/lib*.la -# Why ??? -%{_libdir}/libdjvu.so - -%files devel -%defattr(-,root,root,-) -%{_includedir}/kde/* -%{_libdir}/lib*.so -#exclude %{_libdir}/libkpovmodeler.so -%exclude %{_libdir}/libkfaximage.so -%exclude %{_libdir}/libkdeinit_*.so -%exclude %{_libdir}/libdjvu.so - -%changelog -* Mon Sep 19 2011 Francois Andriot - 3.5.12-3 -- Add support for RHEL5 - -* Sun Sep 11 2011 Francois Andriot - 3.5.12-2 -- Import to GIT - -* Wed Aug 24 2011 Francois Andriot - 3.5.12-1 -- Add fix for Fedora 15 -- Add 'patch0' and 'patch1' for GCC >= 4.5 -- Correct macro to install under "/opt", if desired - -* Thu Jun 30 2011 Francois Andriot - 3.5.12-0 -- Initial build for RHEL 6.0 -- SPEC file taken from Fedora 8 "kdegraphics 7:3.5.10-1" diff --git a/redhat/tdegraphics/trinity-kdegraphics-3.5.13.1.spec b/redhat/tdegraphics/trinity-kdegraphics-3.5.13.1.spec deleted file mode 100644 index 2268633da..000000000 --- a/redhat/tdegraphics/trinity-kdegraphics-3.5.13.1.spec +++ /dev/null @@ -1,1312 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-tdegraphics -Version: 3.5.13.1 -Release: 1%{?dist}%{_variant} -License: GPL -Summary: Trinity Desktop Environment - Graphics Applications - -Group: Applications/Multimedia -Prefix: %{tde_prefix} - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: kdegraphics-3.5.13.1.tar.gz - -# TDE 3.5.13 -## RHEL / Fedora specific patches -# [kdegraphics/kpdf/xpdf] Disable 'mkstemps' support for RHEL5 -Patch3: kdegraphics-3.5.13-xpdf_disable_mkstemps.patch -# [tdegraphics] Fix poppler include directory location -Patch9: kdegraphics-3.5.13-fix_poppler_include_dir.patch -# [tdegraohics] Fix poppler include directory location (2) -Patch10: kdegraphics-3.5.13.1-fix_poppler_pkgconfig.patch - -# [tdegraphics] Fix build on RHEL4 -Patch201: kdegraphics-3.5.13.1-fix_rhel4_libraries.patch - -BuildRequires: cmake >= 2.8 -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} -BuildRequires: trinity-tdebase-devel >= %{version} -BuildRequires: gettext -BuildRequires: libmng-devel -%if 0%{?mdkversion} && 0%{?pclinuxos} == 0 -BuildRequires: %{_lib}png15-devel -%else -BuildRequires: libpng-devel -%endif -BuildRequires: libtiff-devel -BuildRequires: automake libtool -BuildRequires: libusb-devel -BuildRequires: pcre-devel - -# GIF support -%if 0%{?suse_version} -BuildRequires: giflib-devel -%else -BuildRequires: libungif-devel -%endif - -# GPHOTO2 support -%if 0%{?suse_version} -BuildRequires: libgphoto2-devel -%else -BuildRequires: gphoto2-devel -%endif - -# PAPER support -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_paper 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}paper-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: libpaper-devel -%endif -%endif - -# T1LIB support -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} -%define with_t1lib 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}t1lib-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} -BuildRequires: t1lib-devel -%endif -%endif - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}sane1-devel -# kuickshow -#BuildRequires: %{_lib}imlib-devel -# kpovmodeler -BuildRequires: %{_lib}xi-devel -# kgamma -BuildRequires: %{_lib}xxf86vm-devel -# ksvg -BuildRequires: %{_lib}xmu%{?mgaversion:6}-devel -# kpovmodeler -BuildRequires: %{_lib}mesagl1-devel -BuildRequires: %{_lib}mesaglu1-devel -%else -BuildRequires: sane-backends-devel - -# kuickshow -#BuildRequires: imlib-devel - -%if 0%{?rhel} == 4 -BuildRequires: xorg-x11-devel -%else -BuildRequires: libdrm-devel - -# kpovmodeler -BuildRequires: libXi-devel - -# kgamma -BuildRequires: libXxf86vm-devel - -# ksvg -BuildRequires: libXmu-devel -%endif - -# kpovmodeler -%if 0%{?suse_version} -BuildRequires: Mesa-libGL-devel -BuildRequires: Mesa-libGLU-devel -%else -BuildRequires: libGL-devel -BuildRequires: libGLU-devel -%endif -%endif - -#kfile-plugin -BuildRequires: OpenEXR-devel - -# kpdf -BuildRequires: freetype-devel - -# poppler -%if 0%{?rhel} >=6 || 0%{?fedora} >= 15 || 0%{?suse_version} -BuildRequires: poppler-devel >= 0.12 -#BuildRequires: poppler-qt-devel >= 0.12 -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}poppler-devel -%endif -%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 -# On RHEL 5, the distro-provided poppler is too old. We built a newer one. -BuildRequires: trinity-poppler-devel -BuildRequires: trinity-poppler-qt3-devel >= 0.12 -%endif - -# ksvg -BuildRequires: fontconfig-devel -%if 0%{?suse_version} -BuildRequires: liblcms-devel -%else -BuildRequires: lcms-devel -%endif -BuildRequires: libart_lgpl-devel - -# kuickshow -BuildRequires: fribidi-devel - -# kamera -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} -%define build_kamera 1 -%endif - -Obsoletes: trinity-kdegraphics < %{version}-%{release} -Provides: trinity-kdegraphics = %{version}-%{release} -Obsoletes: trinity-kdegraphics-libs < %{version}-%{release} -Provides: trinity-kdegraphics-libs = %{version}-%{release} -Obsoletes: trinity-kdegraphics-extras < %{version}-%{release} -Provides: trinity-kdegraphics-extras = %{version}-%{release} - - -%{?build_kamera:Requires: trinity-kamera = %{version}-%{release}} -Requires: trinity-kcoloredit = %{version}-%{release} -Requires: %{name}-kfile-plugins = %{version}-%{release} -Requires: trinity-kdvi = %{version}-%{release} -Requires: trinity-kfax = %{version}-%{release} -Requires: trinity-kfaxview = %{version}-%{release} -Requires: trinity-kgamma = %{version}-%{release} -Requires: trinity-kghostview = %{version}-%{release} -Requires: trinity-kiconedit = %{version}-%{release} -Requires: trinity-kmrml = %{version}-%{release} -Requires: trinity-kolourpaint = %{version}-%{release} -Requires: trinity-kooka = %{version}-%{release} -Requires: trinity-kpdf = %{version}-%{release} -Requires: trinity-kpovmodeler = %{version}-%{release} -Requires: trinity-kruler = %{version}-%{release} -Requires: trinity-ksnapshot = %{version}-%{release} -Requires: trinity-ksvg = %{version}-%{release} -Requires: trinity-kview = %{version}-%{release} -Requires: trinity-kviewshell = %{version}-%{release} -Requires: trinity-libkscan = %{version}-%{release} -Requires: %{name}-libpoppler-tqt = %{version}-%{release} - -%description -Graphics applications for the Trinity Desktop Environment, including -%if 0%{?build_kamera} -* kamera (digital camera support) -%endif -* kcoloredit (palette editor and color chooser) -* kdvi (displays TeX .dvi files) -* kfax -* kfaxview -* kghostview (displays postscript files) -* kiconedit (icon editor) -* kooka (scanner application) -* kpdf (displays PDF files) -* kpovmodler -* kruler (screen ruler and color measurement tool) -* ksnapshot (screen capture utility) -* kview (image viewer for GIF, JPEG, TIFF, etc.) - -%files - -########## - -%if 0%{?build_kamera} - -%package -n trinity-kamera -Summary: Digital camera io_slave for Konqueror -Group: Applications/Graphics - -%description -n trinity-kamera -This is a digital camera io_slave for TDE which uses gphoto2 and libgpio -to allow access to your camera's pictures with the URL camera:/ - -%post -n trinity-kamera -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kamera -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%files -n trinity-kamera -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_kamera.la -%{tde_tdelibdir}/kcm_kamera.so -%{tde_tdelibdir}/kio_kamera.la -%{tde_tdelibdir}/kio_kamera.so -%{tde_tdeappdir}/kamera.desktop -%{tde_datadir}/icons/crystalsvg/*/actions/camera_test.png -%{tde_datadir}/icons/crystalsvg/*/apps/camera.png -%{tde_datadir}/icons/crystalsvg/*/devices/camera.png -%{tde_datadir}/icons/crystalsvg/*/filesystems/camera.png -%{tde_datadir}/services/camera.protocol -%{tde_tdedocdir}/HTML/en/kamera/ - -%endif - -########## - -%package -n trinity-kcoloredit -Summary: A color palette editor and color picker for TDE -Group: Applications/Graphics - -%description -n trinity-kcoloredit -This package contains two programs, a color palette editor and also a color -picker. - -%files -n trinity-kcoloredit -%defattr(-,root,root,-) -%{tde_bindir}/kcolorchooser -%{tde_bindir}/kcoloredit -%{tde_tdeappdir}/kcolorchooser.desktop -%{tde_tdeappdir}/kcoloredit.desktop -%{tde_datadir}/apps/kcoloredit/kcoloreditui.rc -%{tde_datadir}/icons/hicolor/*/apps/kcolorchooser.png -%{tde_datadir}/icons/hicolor/*/apps/kcoloredit.png -%{tde_tdedocdir}/HTML/en/kcoloredit/ - -%post -n trinity-kcoloredit -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kcoloredit -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package kfile-plugins -Summary: TDE metainfo plugins for graphic files -Group: Environment/Libraries - -%description kfile-plugins -This packages provides meta information for graphic files (file sizes, -tags, etc. all from within the file manager). - -%files kfile-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/gsthumbnail.la -%{tde_tdelibdir}/gsthumbnail.so -%{tde_tdelibdir}/kfile_bmp.la -%{tde_tdelibdir}/kfile_bmp.so -%{tde_tdelibdir}/kfile_dds.la -%{tde_tdelibdir}/kfile_dds.so -%{tde_tdelibdir}/kfile_dvi.la -%{tde_tdelibdir}/kfile_dvi.so -%{tde_tdelibdir}/kfile_exr.la -%{tde_tdelibdir}/kfile_exr.so -%{tde_tdelibdir}/kfile_gif.la -%{tde_tdelibdir}/kfile_gif.so -%{tde_tdelibdir}/kfile_ico.la -%{tde_tdelibdir}/kfile_ico.so -%{tde_tdelibdir}/kfile_jpeg.la -%{tde_tdelibdir}/kfile_jpeg.so -%{tde_tdelibdir}/kfile_pcx.la -%{tde_tdelibdir}/kfile_pcx.so -%{tde_tdelibdir}/kfile_pdf.la -%{tde_tdelibdir}/kfile_pdf.so -%{tde_tdelibdir}/kfile_png.la -%{tde_tdelibdir}/kfile_png.so -%{tde_tdelibdir}/kfile_pnm.la -%{tde_tdelibdir}/kfile_pnm.so -%{tde_tdelibdir}/kfile_ps.la -%{tde_tdelibdir}/kfile_ps.so -%{tde_tdelibdir}/kfile_raw.la -%{tde_tdelibdir}/kfile_raw.so -%{tde_tdelibdir}/kfile_rgb.la -%{tde_tdelibdir}/kfile_rgb.so -%{tde_tdelibdir}/kfile_tga.la -%{tde_tdelibdir}/kfile_tga.so -%{tde_tdelibdir}/kfile_tiff.la -%{tde_tdelibdir}/kfile_tiff.so -%{tde_tdelibdir}/kfile_xbm.la -%{tde_tdelibdir}/kfile_xbm.so -%{tde_tdelibdir}/kfile_xpm.la -%{tde_tdelibdir}/kfile_xpm.so -%{tde_datadir}/services/gsthumbnail.desktop -%{tde_datadir}/services/kfile_bmp.desktop -%{tde_datadir}/services/kfile_dds.desktop -%{tde_datadir}/services/kfile_dvi.desktop -%{tde_datadir}/services/kfile_exr.desktop -%{tde_datadir}/services/kfile_gif.desktop -%{tde_datadir}/services/kfile_ico.desktop -%{tde_datadir}/services/kfile_jpeg.desktop -%{tde_datadir}/services/kfile_pcx.desktop -%{tde_datadir}/services/kfile_pdf.desktop -%{tde_datadir}/services/kfile_png.desktop -%{tde_datadir}/services/kfile_pnm.desktop -%{tde_datadir}/services/kfile_ps.desktop -%{tde_datadir}/services/kfile_raw.desktop -%{tde_datadir}/services/kfile_rgb.desktop -%{tde_datadir}/services/kfile_tga.desktop -%{tde_datadir}/services/kfile_tiff.desktop -%{tde_datadir}/services/kfile_xbm.desktop -%{tde_datadir}/services/kfile_xpm.desktop - -########## - -%package -n trinity-kdvi -Summary: Dvi viewer for TDE -Group: Applications/Graphics - -%description -n trinity-kdvi -This program and KPart allow the user to display *.DVI files from TeX. - -%files -n trinity-kdvi -%defattr(-,root,root,-) -%{tde_bindir}/kdvi -%{tde_tdelibdir}/kdvipart.la -%{tde_tdelibdir}/kdvipart.so -%{tde_tdeappdir}/kdvi.desktop -%{tde_datadir}/apps/kdvi/ -%{tde_datadir}/config.kcfg/kdvi.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kdvi.png -%{tde_datadir}/icons/hicolor/scalable/apps/kdvi.svgz -%{tde_datadir}/services/kdvimultipage.desktop -%{tde_tdedocdir}/HTML/en/kdvi/ - -%post -n trinity-kdvi -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kdvi -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kfax -Summary: G3/G4 fax viewer for Trinity -Group: Applications/Graphics -Requires: libtiff - -%description -n trinity-kfax -A fax viewer for Trinity, supporting the display of raw and tiffed fax images -(g3, g3-2d, g4). - -%files -n trinity-kfax -%defattr(-,root,root,-) -%doc rpmdocs/kfax/ -%{tde_bindir}/kfax -%{tde_tdeappdir}/kfax.desktop -%{tde_datadir}/apps/kfax/ -%{tde_datadir}/icons/hicolor/??x??/apps/kfax.png -%{tde_datadir}/icons/hicolor/scalable/apps/kfax.svgz - -%post -n trinity-kfax -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kfax -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kfaxview -Summary: G3/G4 fax viewer for Trinity using kviewshell -Group: Applications/Graphics - -%description -n trinity-kfaxview -A fax viewer for Trinity, supporting the display of raw and tiffed fax images -(g3, g3-2d, g4). - -This faxviewer uses kviewshell and is intended to replace the standalone -kfax application once it reproduces all of kfax's features. - -%files -n trinity-kfaxview -%defattr(-,root,root,-) -%{tde_bindir}/kfaxview -%{tde_libdir}/libkfaximage.so.* -%{tde_tdelibdir}/kfaxviewpart.* -%{tde_tdeappdir}/kfaxview.desktop -%{tde_datadir}/apps/kfaxview/ -%{tde_datadir}/icons/hicolor/??x??/apps/kfaxview.png -%{tde_datadir}/icons/hicolor/scalable/apps/kfaxview.svgz -%{tde_datadir}/services/kfaxmultipage.desktop -%{tde_datadir}/services/kfaxmultipage_tiff.desktop - -%post -n trinity-kfaxview -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : -/sbin/ldconfig || : - -%postun -n trinity-kfaxview -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : -/sbin/ldconfig || : - -########## - -%package -n trinity-kgamma -Summary: Gamma correction module for the Trinity Control Center -Group: Applications/Graphics - -%description -n trinity-kgamma -KGamma is a Trinity Control Center module for gamma calibration/correction -of XFree86. With proper gamma settings, your display (websites, images, -etc.) will look the same on your monitor as on other monitors. - -Homepage: http://kgamma.berlios.de/index2.php - -%files -n trinity-kgamma -%defattr(-,root,root,-) -%{tde_bindir}/xf86gammacfg -%{tde_tdelibdir}/kcm_kgamma.la -%{tde_tdelibdir}/kcm_kgamma.so -%{tde_tdeappdir}/kgamma.desktop -%{tde_datadir}/apps/kgamma/ -%{tde_datadir}/icons/hicolor/*/apps/kgamma.png -%{tde_tdedocdir}/HTML/en/kgamma/ - -%post -n trinity-kgamma -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kgamma -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kghostview -Summary: PostScript viewer for Trinity -Group: Applications/Graphics -Requires: ghostscript - -%description -n trinity-kghostview -KGhostview is Trinity's PostScript viewer. It is a port of Tim Theisen's -Ghostview program which is used to view documents prepared in Adobe's -PostScript page description language. PostScript is the major page -description language for printing on UNIX systems, and this application is -useful to preview material intended for printing, or for reading documents -online. - -%files -n trinity-kghostview -%defattr(-,root,root,-) -%{tde_bindir}/kghostview -%{tde_tdelibdir}/libkghostviewpart.la -%{tde_tdelibdir}/libkghostviewpart.so -%{tde_libdir}/libkghostviewlib.so.* -%{tde_tdeappdir}/kghostview.desktop -%{tde_datadir}/apps/kconf_update/kghostview.upd -%{tde_datadir}/apps/kconf_update/update-to-xt-names.pl -%{tde_datadir}/apps/kghostview/ -%{tde_datadir}/config.kcfg/kghostview.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kghostview.png -%{tde_datadir}/services/kghostview_part.desktop -%{tde_tdedocdir}/HTML/en/kghostview/ - -%post -n trinity-kghostview -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : -/sbin/ldconfig || : - -%postun -n trinity-kghostview -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : -/sbin/ldconfig || : - -########## - -%package -n trinity-kiconedit -Summary: An icon editor for Trinity -Group: Applications/Graphics - -%description -n trinity-kiconedit -KIconedit allows you easily to create and edit icons. - -%files -n trinity-kiconedit -%defattr(-,root,root,-) -%{tde_bindir}/kiconedit -%{tde_tdeappdir}/kiconedit.desktop -%{tde_datadir}/apps/kiconedit/ -%{tde_datadir}/icons/hicolor/*/apps/kiconedit.png -%{tde_tdedocdir}/HTML/en/kiconedit/ - -%post -n trinity-kiconedit -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kiconedit -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kmrml -Summary: A Konqueror plugin for searching pictures -Group: Applications/Graphics - -%description -n trinity-kmrml -MRML is short for Multimedia Retrieval Markup Language, which defines a -protocol for querying a server for images based on their content. See -http://www.mrml.net about MRML and the GNU Image Finding Tool (GIFT), an -MRML server. - -%files -n trinity-kmrml -%defattr(-,root,root,-) -%{tde_bindir}/mrmlsearch -%{tde_tdelibdir}/kcm_kmrml.la -%{tde_tdelibdir}/kcm_kmrml.so -%{tde_tdelibdir}/kded_daemonwatcher.la -%{tde_tdelibdir}/kded_daemonwatcher.so -%{tde_tdelibdir}/kio_mrml.la -%{tde_tdelibdir}/kio_mrml.so -%{tde_tdelibdir}/libkmrmlpart.la -%{tde_tdelibdir}/libkmrmlpart.so -%{tde_tdelibdir}/mrmlsearch.la -%{tde_tdelibdir}/mrmlsearch.so -%{tde_libdir}/lib[kt]deinit_mrmlsearch.so -%{tde_tdeappdir}/kcmkmrml.desktop -%{tde_datadir}/apps/konqueror/servicemenus/mrml-servicemenu.desktop -%{tde_datadir}/mimelnk/text/mrml.desktop -%{tde_datadir}/services/kded/daemonwatcher.desktop -%{tde_datadir}/services/mrml.protocol -%{tde_datadir}/services/mrml_part.desktop - -%post -n trinity-kmrml -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : -/sbin/ldconfig || : - -%postun -n trinity-kmrml -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : -/sbin/ldconfig || : - -########## - -%package -n trinity-kolourpaint -Summary: A simple paint program for Trinity -Group: Applications/Graphics - -%description -n trinity-kolourpaint -KolourPaint is a very simple paint program for Trinity. It aims to be -conceptually simple to understand; providing a level of functionality -targeted towards the average user. It's designed for daily tasks like: - -* Painting - drawing diagrams and "finger painting" -* Image Manipulation - editing screenshots and photos; applying effects -* Icon Editing - drawing clipart and logos with transparency - -It's not an unusable and monolithic program where simple tasks like -drawing lines become near impossible. Nor is it so simple that it lacks -essential features like Undo/Redo. - -Homepage: http://kolourpaint.sourceforge.net - -%files -n trinity-kolourpaint -%defattr(-,root,root,-) -%{tde_bindir}/kolourpaint -%{tde_tdeappdir}/kolourpaint.desktop -%{tde_datadir}/apps/kolourpaint/ -%{tde_datadir}/icons/hicolor/*/apps/kolourpaint.png -%{tde_datadir}/icons/hicolor/scalable/apps/kolourpaint.svgz -%{tde_tdedocdir}/HTML/en/kolourpaint/ - -%post -n trinity-kolourpaint -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kolourpaint -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kooka -Summary: Scanner program for Trinity -Group: Applications/Graphics - -%description -n trinity-kooka -Kooka is an open source GNU/Linux scan program based on SANE and -KScan library. - -Kooka helps you to handle the most important scan parameters, find the -correct image file format to save and manage your scanned images. It -offers support for different OCR modules. Libkscan, a autonomous part -of Kooka, provides a scan service for easy and consistent use to all -KDE applications. - -Install ocrad or gocr if you wish to enable optical character recognition -in kooka. - -Homepage: http://kooka.kde.org/ - -%files -n trinity-kooka -%defattr(-,root,root,-) -%{tde_datadir}/config/kookarc -%{tde_bindir}/kooka -%{tde_tdeappdir}/kooka.desktop -%{tde_datadir}/apps/kooka/ -%{tde_tdedocdir}/HTML/en/kooka/ - -%post -n trinity-kooka -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kooka -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kpdf -Summary: PDF viewer for Trinity -Group: Applications/Graphics -#Recommends: kghostview-trinity (= ${binary:Version}) - -%description -n trinity-kpdf -KPDF allows you to view PDF (Portable Document Format) files. This package -includes kpdfpart so you can embed in konqueror or run as a standalone -application. - -%files -n trinity-kpdf -%defattr(-,root,root,-) -%{tde_bindir}/kpdf -%{tde_tdelibdir}/libkpdfpart.la -%{tde_tdelibdir}/libkpdfpart.so -%{tde_tdeappdir}/kpdf.desktop -%{tde_datadir}/apps/kpdf/shell.rc -%{tde_datadir}/apps/kpdfpart/part.rc -%{tde_datadir}/config.kcfg/kpdf.kcfg -%{tde_tdedocdir}/HTML/en/kpdf/ -%{tde_datadir}/icons/hicolor/*/apps/kpdf.png -%{tde_datadir}/icons/hicolor/scalable/apps/kpdf.svgz -%{tde_datadir}/services/kpdf_part.desktop - -%post -n trinity-kpdf -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kpdf -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kpovmodeler -Summary: A graphical editor for povray scenes -Group: Applications/Graphics -#Requires: povray - -%description -n trinity-kpovmodeler -KPovmodeler is KDE's graphical editor for povray scenes. KPovModeler is a -modeling and composition program for creating POV-Ray scenes in KDE. - -For most modelers, POV-Ray is nothing but a rendering engine. This greatly -limits the innate possibilities of the POV-Ray scripted language. This -is not the case for KPovModeler, which allows you to use all the features -of POV-Ray through the translation of POV-Ray language into a graphical -tree. - -kpovmodeler uses the povray package, currently available only in Debian's -non-free, unsupported repository. - -Homepage: http://www.kpovmodeler.org - -%files -n trinity-kpovmodeler -%defattr(-,root,root,-) -%doc rpmdocs/kpovmodeler/ -%{tde_bindir}/kpovmodeler -%{tde_libdir}/libkpovmodeler.so.* -%{tde_tdelibdir}/libkpovmodelerpart.* -%{tde_tdeappdir}/kpovmodeler.desktop -%{tde_datadir}/apps/kpovmodeler/ -%{tde_datadir}/icons/crystalsvg/*/mimetypes/kpovmodeler_doc.* -%{tde_datadir}/icons/hicolor/*/apps/kpovmodeler.* -%doc %{tde_tdedocdir}/HTML/en/kpovmodeler/ - -%post -n trinity-kpovmodeler -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : -/sbin/ldconfig || : - -%postun -n trinity-kpovmodeler -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : -/sbin/ldconfig || : - -########## - -%package -n trinity-kruler -Summary: A screen ruler and color measurement tool for Trinity -Group: Applications/Graphics - -%description -n trinity-kruler -Kruler is a screen ruler (using pixels) and color measurement tool for KDE. - -%files -n trinity-kruler -%defattr(-,root,root,-) -%{tde_bindir}/kruler -%{tde_tdeappdir}/kruler.desktop -%{tde_datadir}/applnk/Graphics/kruler.desktop -%{tde_datadir}/apps/kruler/ -%{tde_datadir}/icons/hicolor/*/apps/kruler.png -%{tde_tdedocdir}/HTML/en/kruler/ - -%post -n trinity-kruler -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kruler -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ksnapshot -Summary: Screenshot utility for Trinity -Group: Applications/Graphics - -%description -n trinity-ksnapshot -KSnapshot is a simple applet for taking screenshots. It is capable of -capturing images of either the whole desktop or just a single window. -The images can then be saved in a variety of formats. - -%files -n trinity-ksnapshot -%defattr(-,root,root,-) -%{tde_bindir}/ksnapshot -%{tde_tdeappdir}/ksnapshot.desktop -%{tde_datadir}/icons/hicolor/*/apps/ksnapshot.png -%{tde_datadir}/icons/hicolor/scalable/apps/ksnapshot.svgz -%{tde_tdedocdir}/HTML/en/ksnapshot/ - -%post -n trinity-ksnapshot -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ksnapshot -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ksvg -Summary: SVG viewer for Trinity -Group: Applications/Graphics - -%description -n trinity-ksvg -KSVG allows you view SVG (scalable vector graphics) files. This package -includes kpart so you can embed it in konqueror and a standalone -application. - -%files -n trinity-ksvg -%defattr(-,root,root,-) -%{tde_bindir}/printnodetest -%{tde_bindir}/svgdisplay -%{tde_tdelibdir}/libksvgplugin.la -%{tde_tdelibdir}/libksvgplugin.so -%{tde_tdelibdir}/libksvgrendererlibart.la -%{tde_tdelibdir}/libksvgrendererlibart.so -%{tde_tdelibdir}/svgthumbnail.la -%{tde_tdelibdir}/svgthumbnail.so -%{tde_libdir}/libksvg.so.0 -%{tde_libdir}/libksvg.so.0.0.1 -%{tde_libdir}/libtext2path.so.0 -%{tde_libdir}/libtext2path.so.0.0.0 -%{tde_datadir}/apps/ksvg/ksvgplugin.rc -%{tde_datadir}/services/ksvglibartcanvas.desktop -%{tde_datadir}/services/ksvgplugin.desktop -%{tde_datadir}/services/svgthumbnail.desktop -%{tde_datadir}/servicetypes/ksvgrenderer.desktop - -%post -n trinity-ksvg -/sbin/ldconfig || : - -%postun -n trinity-ksvg -/sbin/ldconfig || : - -########## - -%package -n trinity-kview -Summary: Simple image viewer/converter for Trinity -Group: Applications/Graphics - -%description -n trinity-kview -KView is a simple image viewer and converter application. It supports -a number of plugins, which add an array of basic editing capabilities -as well. - -%files -n trinity-kview -%defattr(-,root,root,-) -%{tde_bindir}/kview -%{tde_tdelibdir}/kcm_kviewcanvasconfig.la -%{tde_tdelibdir}/kcm_kviewcanvasconfig.so -%{tde_tdelibdir}/kcm_kviewgeneralconfig.la -%{tde_tdelibdir}/kcm_kviewgeneralconfig.so -%{tde_tdelibdir}/kcm_kviewpluginsconfig.la -%{tde_tdelibdir}/kcm_kviewpluginsconfig.so -%{tde_tdelibdir}/kcm_kviewpresenterconfig.la -%{tde_tdelibdir}/kcm_kviewpresenterconfig.so -%{tde_tdelibdir}/kcm_kviewviewerpluginsconfig.la -%{tde_tdelibdir}/kcm_kviewviewerpluginsconfig.so -%{tde_tdelibdir}/kview.la -%{tde_tdelibdir}/kview.so -%{tde_tdelibdir}/kview_browserplugin.la -%{tde_tdelibdir}/kview_browserplugin.so -%{tde_tdelibdir}/kview_effectsplugin.la -%{tde_tdelibdir}/kview_effectsplugin.so -%{tde_tdelibdir}/kview_presenterplugin.la -%{tde_tdelibdir}/kview_presenterplugin.so -%{tde_tdelibdir}/kview_scannerplugin.la -%{tde_tdelibdir}/kview_scannerplugin.so -%{tde_tdelibdir}/libkviewcanvas.la -%{tde_tdelibdir}/libkviewcanvas.so -%{tde_tdelibdir}/libkviewviewer.la -%{tde_tdelibdir}/libkviewviewer.so -%{tde_libdir}/lib[kt]deinit_kview.so -%{tde_libdir}/libkimageviewer.so.* -%{tde_tdelibdir}/libphotobook.la -%{tde_tdelibdir}/libphotobook.so -%{tde_tdeappdir}/kview.desktop -%{tde_datadir}/apps/kview/ -%{tde_datadir}/apps/kviewviewer/ -%{tde_datadir}/apps/photobook/photobookui.rc -%{tde_datadir}/icons/crystalsvg/*/apps/photobook.png -%{tde_datadir}/icons/hicolor/*/apps/kview.png -%{tde_datadir}/services/kconfiguredialog/kviewcanvasconfig.desktop -%{tde_datadir}/services/kconfiguredialog/kviewgeneralconfig.desktop -%{tde_datadir}/services/kconfiguredialog/kviewpluginsconfig.desktop -%{tde_datadir}/services/kconfiguredialog/kviewpresenterconfig.desktop -%{tde_datadir}/services/kconfiguredialog/kviewviewerpluginsconfig.desktop -%{tde_datadir}/services/kviewcanvas.desktop -%{tde_datadir}/services/kviewviewer.desktop -%{tde_datadir}/services/photobook.desktop -%{tde_datadir}/servicetypes/kimageviewer.desktop -%{tde_datadir}/servicetypes/kimageviewercanvas.desktop -%{tde_tdedocdir}/HTML/en/kview/ - -%post -n trinity-kview -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : -/sbin/ldconfig || : - -%postun -n trinity-kview -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : -/sbin/ldconfig || : - -########## - -%package -n trinity-kviewshell -Summary: Generic framework for viewer applications in Trinity -Group: Applications/Graphics - -%description -n trinity-kviewshell -KViewShell is a generic viewing framework that allows the graphical -applications, such as the kview image viewer, to be embedded in other -KDE applications, such as Konqueror. - -KViewShell comes with a djvuviewpart plugin included, for viewing -DjVu images. - -%files -n trinity-kviewshell -%defattr(-,root,root,-) -%{tde_bindir}/kviewshell -%{tde_libdir}/libdjvu.la -%{tde_libdir}/libdjvu.so -%{tde_tdelibdir}/djvuviewpart.so -%{tde_tdelibdir}/djvuviewpart.la -%{tde_tdelibdir}/emptymultipagepart.la -%{tde_tdelibdir}/emptymultipagepart.so -%{tde_tdelibdir}/kviewerpart.la -%{tde_tdelibdir}/kviewerpart.so -%{tde_libdir}/libkmultipage.so.* -%{tde_datadir}/apps/djvumultipage.rc -%{tde_datadir}/apps/kviewerpart/ -%{tde_datadir}/apps/kviewshell/kviewshell.rc -%{tde_datadir}/config.kcfg/djvumultipage.kcfg -%{tde_datadir}/config.kcfg/kviewshell.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/kviewshell.png -%{tde_datadir}/services/emptymultipage.desktop -%{tde_datadir}/services/djvumultipage.desktop -%{tde_datadir}/servicetypes/kmultipage.desktop - -%post -n trinity-kviewshell -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -%postun -n trinity-kviewshell -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -########## - -%package -n trinity-libkscan -Summary: Scanner library for Trinity -Group: Environment/Libraries - -%description -n trinity-libkscan -KScan is TDE's scanner library. It's used by kooka and by koffice currently. -It provides an easy-to-use library, which allows you to access your scanner -(as long as it's sane compatible). - -%files -n trinity-libkscan -%defattr(-,root,root,-) -%{tde_libdir}/libkscan.so.* -%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_color.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_gray.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_halftone.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_lineart.png -%{tde_datadir}/services/scanservice.desktop - -%post -n trinity-libkscan -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -%postun -n trinity-libkscan -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -########## - -%package -n trinity-libkscan-devel -Summary: Development files for the Trinity scanner library -Group: Development/Libraries - -%description -n trinity-libkscan-devel -This package contains development files for Trinity's scanner library. - -%files -n trinity-libkscan-devel -%defattr(-,root,root,-) -%{tde_libdir}/libkscan.la -%{tde_libdir}/libkscan.so - -%post -n trinity-libkscan-devel -/sbin/ldconfig || : - -%postun -n trinity-libkscan-devel -/sbin/ldconfig || : - -########## - -%package libpoppler-tqt -Summary: TQt support for Poppler -Group: Environment/Libraries -Provides: poppler-tqt = %{version}-%{release} - -%description libpoppler-tqt -TQt support library for Poppler. -This library is used by the Trinity graphics file plugins for PDF support. - -%files libpoppler-tqt -%defattr(-,root,root,-) -%{tde_libdir}/libpoppler-tqt.so.* - -%post libpoppler-tqt -/sbin/ldconfig || : - -%postun libpoppler-tqt -/sbin/ldconfig || : - -########## - -%package libpoppler-tqt-devel -Summary: Development files for TQt support for Poppler -Group: Development/Libraries -Requires: %{name}-libpoppler-tqt -Provides: poppler-tqt-devel = %{version}-%{release} - -%description libpoppler-tqt-devel -Development files of TQt support library for Poppler. -This package contains the development files needed to compile applications against poppler-tqt. - -%files libpoppler-tqt-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/poppler-link-qt3.h -%{tde_tdeincludedir}/poppler-page-transition.h -%{tde_tdeincludedir}/poppler-qt.h -%{tde_libdir}/libpoppler-tqt.la -%{tde_libdir}/libpoppler-tqt.so -%{tde_libdir}/pkgconfig/poppler-tqt.pc - -%post libpoppler-tqt-devel -/sbin/ldconfig || : - -%postun libpoppler-tqt-devel -/sbin/ldconfig || : - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries - -Obsoletes: trinity-kdegraphics-devel < %{version}-%{release} -Provides: trinity-kdegraphics-devel = %{version}-%{release} - -Requires: trinity-libkscan-devel = %{version}-%{release} -Requires: %{name}-libpoppler-tqt-devel = %{version}-%{release} - -%description devel -%{summary}. - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/dom/ -#%{tde_tdeincludedir}/kfaximage.h -%{tde_tdeincludedir}/kmultipageInterface.h -%{tde_tdeincludedir}/ksvg/ -%{tde_tdeincludedir}/kviewshell/ -%{tde_tdeincludedir}/libtext2path-0.1/BezierPath.h -%{tde_tdeincludedir}/libtext2path-0.1/Glyph.h -%{tde_tdeincludedir}/libtext2path-0.1/GlyphTracer.h -%{tde_libdir}/lib[kt]deinit_kview.la -%{tde_libdir}/lib[kt]deinit_mrmlsearch.la -%{tde_libdir}/libkghostviewlib.la -%{tde_libdir}/libkghostviewlib.so -%{tde_libdir}/libkimageviewer.la -%{tde_libdir}/libkimageviewer.so -%{tde_libdir}/libkmultipage.la -%{tde_libdir}/libkmultipage.so -%{tde_libdir}/libkpovmodeler.la -%{tde_libdir}/libkpovmodeler.so -%{tde_libdir}/libksvg.la -%{tde_libdir}/libksvg.so -%{tde_libdir}/libtext2path.la -%{tde_libdir}/libtext2path.so -# kfaxview -%{tde_libdir}/libkfaximage.so -%{tde_libdir}/libkfaximage.la -# cmake -%{tde_datadir}/cmake/* - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - -############ - -# Excludes kuickshow (built separately) -#%exclude %{tde_bindir}/kuickshow -#%exclude %{tde_tdelibdir}/kuickshow.la -#%exclude %{tde_tdelibdir}/kuickshow.so -#%exclude %{tde_libdir}/lib[kt]deinit_kuickshow.la -#%exclude %{tde_libdir}/lib[kt]deinit_kuickshow.so -#%exclude %{tde_tdeappdir}/kuickshow.desktop -#%exclude %{tde_datadir}/apps/kuickshow/ -#%exclude %{tde_datadir}/icons/hicolor/*/apps/kuickshow.png -#%exclude %{tde_tdedocdir}/HTML/en/kuickshow/ - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n kdegraphics-3.5.13.1 -%if 0%{?rhel} && 0%{?rhel} <= 5 -%patch3 -p1 -b .mkstemps -%endif -%patch9 -p1 -%patch10 -p1 - -%if 0%{?rhel} == 4 -%patch201 -p1 -b .rhel4 -%endif - -%if 0%{?build_kamera} == 0 -%__rm -rf doc/kamera/ -%endif - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" - -# Do not build against any "/usr" installed KDE -export KDEDIR=%{tde_prefix} - -# Specific path for RHEL4 -if [ -d /usr/X11R6 ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \ - -DCMAKE_SKIP_RPATH="OFF" \ - %{?with_t1lib:-DWITH_T1LIB=ON} \ - %{?with_paper:-DWITH_LIBPAPER=ON} \ - -DWITH_TIFF=ON \ - -DWITH_OPENEXR=ON \ - -DWITH_PDF=ON \ - -DBUILD_ALL=ON \ - -DBUILD_KUICKSHOW=OFF \ - %{!?build_kamera:-DBUILD_KAMERA=OFF} \ - .. - -%__make %{?_smp_mflags} || %__make - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -# locale's -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common - done - popd - fi -done -fi - -# rpmdocs -for dir in k* ; do - for file in AUTHORS ChangeLog README TODO ; do - if test -s "$dir/$file" ; then - install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file" - echo "%doc rpmdocs/$dir/" >> %{name}.lang - fi - done -done - - -%clean -%__rm -rf %{buildroot} - - - -%changelog -* Sun Sep 30 2012 Francois Andriot - 3.5.13.1-1 -- Initial build for TDE 3.5.13.1 diff --git a/redhat/tdegraphics/trinity-kdegraphics-3.5.13.spec b/redhat/tdegraphics/trinity-kdegraphics-3.5.13.spec deleted file mode 100644 index 2fb1459e1..000000000 --- a/redhat/tdegraphics/trinity-kdegraphics-3.5.13.spec +++ /dev/null @@ -1,1007 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-tdegraphics -Version: 3.5.13 -Release: 6%{?dist}%{_variant} -License: GPL -Summary: Trinity Desktop Environment - Graphics Applications - -Group: Applications/Multimedia -Prefix: %{tde_prefix} - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: kdegraphics-%{version}.tar.gz - -# TDE 3.5.13 -## RHEL / Fedora specific patches -# [kdegraphics/ksnapshot] Missing -lXext in LDFLAGS (required for Fedora 15) -Patch0: kdegraphics-3.5.13-ksnapshot_ldflags.patch -# [kdegraphics/kpovmodeler] CMAKE does not detect GL/glu.h (on RHEL5) -Patch1: kdegraphics-3.5.13-kpovmodeler_check_glu.patch -# [kdegraphics/kfile-plugins/dependencies/poppler-tqt] Compile 'poppler-tqt' only if HAVE_POPPLER_016 -Patch2: kdegraphics-3.5.13-disable_poppler.patch -# [kdegraphics/kpdf/xpdf] Disable 'mkstemps' support for RHEL5 -Patch3: kdegraphics-3.5.13-xpdf_disable_mkstemps.patch -# [kdegraphics/kpovmodeler] CMAKE missing GLU_LIBRARIES -Patch4: kdegraphics-3.5.13-kpovmodeler_missing_gl_ldflags.patch -# [kdegraphics] Fix compilation with GCC 4.7 -Patch5: kdegraphics-3.5.13-fix_gcc47_compilation.patch -# [kdegraphics] Fix FTBFS due to poppler-tqt -Patch6: kdegraphics-3.5.13-fix_poppler_support.patch -# [tdegraphics] Fix corrupt image file. [Commit #d655a9f8] -Patch7: kdegraphics-3.5.13-fix_corrupt_image_file.patch -# [tdegraphics] Add poppler-tqt.pc file [Commit #b2d01d00] -Patch8: kdegraphics-3.5.13-add_poppler_tqt_pc.patch -# [tdegraphics] Fix poppler include directory location -Patch9: kdegraphics-3.5.13-fix_poppler_include_dir.patch -# [tdegraphics] Disable kuickshow documentation if kuickshow is not built -Patch10: kdegraphics-3.5.13-disable_kuickshow_doc.patch - -BuildRequires: cmake >= 2.8 -BuildRequires: tqtinterface-devel >= 3.5.13 -BuildRequires: trinity-tdelibs-devel >= 3.5.13 -BuildRequires: trinity-tdebase-devel >= 3.5.13 -BuildRequires: gettext -BuildRequires: libmng-devel -BuildRequires: libpng-devel -BuildRequires: libtiff-devel -BuildRequires: libungif-devel -BuildRequires: automake libtool -BuildRequires: gphoto2-devel -BuildRequires: libusb-devel -BuildRequires: libdrm-devel -BuildRequires: pcre-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}sane1-devel -BuildRequires: %{_lib}t1lib-devel -BuildRequires: %{_lib}paper-devel -# kuickshow -BuildRequires: %{_lib}imlib-devel -# kpovmodeler -BuildRequires: %{_lib}xi-devel -# kgamma -BuildRequires: %{_lib}xxf86vm-devel -# ksvg -BuildRequires: %{_lib}xmu%{?mgaversion:6}-devel -# kpovmodeler -BuildRequires: %{_lib}mesagl1-devel -BuildRequires: %{_lib}mesaglu1-devel -%else -BuildRequires: sane-backends-devel -BuildRequires: t1lib-devel -BuildRequires: libpaper-devel -# kuickshow -BuildRequires: imlib-devel -# kpovmodeler -BuildRequires: libXi-devel -# kgamma -BuildRequires: libXxf86vm-devel -# ksvg -BuildRequires: libXmu-devel -# kpovmodeler -BuildRequires: libGL-devel -BuildRequires: libGLU-devel -%endif - -#kfile-plugin -BuildRequires: OpenEXR-devel - -# kpdf -BuildRequires: freetype-devel -%if 0%{?rhel} >=6 || 0%{?fedora} >= 15 -BuildRequires: poppler-devel >= 0.12 -#BuildRequires: poppler-qt-devel >= 0.12 -%else -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}poppler-devel -%else -# On RHEL 5, the distro-provided poppler is too old. We built a newer one. -BuildRequires: trinity-poppler-devel -BuildRequires: trinity-poppler-qt3-devel >= 0.12 -%endif -%endif - -# ksvg -BuildRequires: fontconfig-devel -BuildRequires: lcms-devel -BuildRequires: libart_lgpl-devel - - -# kuickshow -BuildRequires: fribidi-devel - - -Obsoletes: trinity-kdegraphics < %{version}-%{release} -Provides: trinity-kdegraphics = %{version}-%{release} -Obsoletes: trinity-kdegraphics-libs < %{version}-%{release} -Provides: trinity-kdegraphics-libs = %{version}-%{release} -Obsoletes: trinity-kdegraphics-extras < %{version}-%{release} -Provides: trinity-kdegraphics-extras = %{version}-%{release} - - -Requires: trinity-kamera = %{version}-%{release} -Requires: trinity-kcoloredit = %{version}-%{release} -Requires: %{name}-kfile-plugins = %{version}-%{release} -Requires: trinity-kdvi = %{version}-%{release} -Requires: trinity-kfax = %{version}-%{release} -Requires: trinity-kfaxview = %{version}-%{release} -Requires: trinity-kgamma = %{version}-%{release} -Requires: trinity-kghostview = %{version}-%{release} -Requires: trinity-kiconedit = %{version}-%{release} -Requires: trinity-kmrml = %{version}-%{release} -Requires: trinity-kolourpaint = %{version}-%{release} -Requires: trinity-kooka = %{version}-%{release} -Requires: trinity-kpdf = %{version}-%{release} -Requires: trinity-kpovmodeler = %{version}-%{release} -Requires: trinity-kruler = %{version}-%{release} -Requires: trinity-ksnapshot = %{version}-%{release} -Requires: trinity-ksvg = %{version}-%{release} -Requires: trinity-kview = %{version}-%{release} -Requires: trinity-kviewshell = %{version}-%{release} -Requires: trinity-libkscan = %{version}-%{release} -Requires: %{name}-libpoppler-tqt = %{version}-%{release} - -%description -Graphics applications for the Trinity Desktop Environment, including -* kamera (digital camera support) -* kcoloredit (palette editor and color chooser) -* kdvi (displays TeX .dvi files) -* kfax -* kfaxview -* kghostview (displays postscript files) -* kiconedit (icon editor) -* kooka (scanner application) -* kpdf (displays PDF files) -* kpovmodler -* kruler (screen ruler and color measurement tool) -* ksnapshot (screen capture utility) -* kview (image viewer for GIF, JPEG, TIFF, etc.) - -%files - -########## - -%package -n trinity-kamera -Summary: Digital camera io_slave for Konqueror -Group: Applications/Graphics - -%description -n trinity-kamera -This is a digital camera io_slave for TDE which uses gphoto2 and libgpio -to allow access to your camera's pictures with the URL camera:/ - -%post -n trinity-kamera -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kamera -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%files -n trinity-kamera -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_kamera.la -%{tde_tdelibdir}/kcm_kamera.so -%{tde_tdelibdir}/kio_kamera.la -%{tde_tdelibdir}/kio_kamera.so -%{tde_tdeappdir}/kamera.desktop -%{tde_datadir}/icons/crystalsvg/*/actions/camera_test.png -%{tde_datadir}/icons/crystalsvg/*/apps/camera.png -%{tde_datadir}/icons/crystalsvg/*/devices/camera.png -%{tde_datadir}/icons/crystalsvg/*/filesystems/camera.png -%{tde_datadir}/services/camera.protocol -%{tde_tdedocdir}/HTML/en/kamera/ - -########## - -%package -n trinity-kcoloredit -Summary: A color palette editor and color picker for TDE -Group: Applications/Graphics - -%description -n trinity-kcoloredit -This package contains two programs, a color palette editor and also a color -picker. - -%files -n trinity-kcoloredit -%defattr(-,root,root,-) -%{tde_bindir}/kcolorchooser -%{tde_bindir}/kcoloredit -%{tde_tdeappdir}/kcolorchooser.desktop -%{tde_tdeappdir}/kcoloredit.desktop -%{tde_datadir}/apps/kcoloredit/kcoloreditui.rc -%{tde_datadir}/icons/hicolor/*/apps/kcolorchooser.png -%{tde_datadir}/icons/hicolor/*/apps/kcoloredit.png -%{tde_tdedocdir}/HTML/en/kcoloredit/ - -########## - -%package kfile-plugins -Summary: TDE metainfo plugins for graphic files -Group: Environment/Libraries - -%description kfile-plugins -This packages provides meta information for graphic files (file sizes, -tags, etc. all from within the file manager). - -%files kfile-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/gsthumbnail.la -%{tde_tdelibdir}/gsthumbnail.so -%{tde_tdelibdir}/kfile_bmp.la -%{tde_tdelibdir}/kfile_bmp.so -%{tde_tdelibdir}/kfile_dds.la -%{tde_tdelibdir}/kfile_dds.so -%{tde_tdelibdir}/kfile_dvi.la -%{tde_tdelibdir}/kfile_dvi.so -%{tde_tdelibdir}/kfile_exr.la -%{tde_tdelibdir}/kfile_exr.so -%{tde_tdelibdir}/kfile_gif.la -%{tde_tdelibdir}/kfile_gif.so -%{tde_tdelibdir}/kfile_ico.la -%{tde_tdelibdir}/kfile_ico.so -%{tde_tdelibdir}/kfile_jpeg.la -%{tde_tdelibdir}/kfile_jpeg.so -%{tde_tdelibdir}/kfile_pcx.la -%{tde_tdelibdir}/kfile_pcx.so -%{tde_tdelibdir}/kfile_pdf.la -%{tde_tdelibdir}/kfile_pdf.so -%{tde_tdelibdir}/kfile_png.la -%{tde_tdelibdir}/kfile_png.so -%{tde_tdelibdir}/kfile_pnm.la -%{tde_tdelibdir}/kfile_pnm.so -%{tde_tdelibdir}/kfile_ps.la -%{tde_tdelibdir}/kfile_ps.so -%{tde_tdelibdir}/kfile_raw.la -%{tde_tdelibdir}/kfile_raw.so -%{tde_tdelibdir}/kfile_rgb.la -%{tde_tdelibdir}/kfile_rgb.so -%{tde_tdelibdir}/kfile_tga.la -%{tde_tdelibdir}/kfile_tga.so -%{tde_tdelibdir}/kfile_tiff.la -%{tde_tdelibdir}/kfile_tiff.so -%{tde_tdelibdir}/kfile_xbm.la -%{tde_tdelibdir}/kfile_xbm.so -%{tde_tdelibdir}/kfile_xpm.la -%{tde_tdelibdir}/kfile_xpm.so -%{tde_datadir}/services/gsthumbnail.desktop -%{tde_datadir}/services/kfile_bmp.desktop -%{tde_datadir}/services/kfile_dds.desktop -%{tde_datadir}/services/kfile_dvi.desktop -%{tde_datadir}/services/kfile_exr.desktop -%{tde_datadir}/services/kfile_gif.desktop -%{tde_datadir}/services/kfile_ico.desktop -%{tde_datadir}/services/kfile_jpeg.desktop -%{tde_datadir}/services/kfile_pcx.desktop -%{tde_datadir}/services/kfile_pdf.desktop -%{tde_datadir}/services/kfile_png.desktop -%{tde_datadir}/services/kfile_pnm.desktop -%{tde_datadir}/services/kfile_ps.desktop -%{tde_datadir}/services/kfile_raw.desktop -%{tde_datadir}/services/kfile_rgb.desktop -%{tde_datadir}/services/kfile_tga.desktop -%{tde_datadir}/services/kfile_tiff.desktop -%{tde_datadir}/services/kfile_xbm.desktop -%{tde_datadir}/services/kfile_xpm.desktop - -########## - -%package -n trinity-kdvi -Summary: Dvi viewer for TDE -Group: Applications/Graphics - -%description -n trinity-kdvi -This program and KPart allow the user to display *.DVI files from TeX. - -%files -n trinity-kdvi -%defattr(-,root,root,-) -%{tde_bindir}/kdvi -%{tde_tdelibdir}/kdvipart.la -%{tde_tdelibdir}/kdvipart.so -%{tde_tdeappdir}/kdvi.desktop -%{tde_datadir}/apps/kdvi/ -%{tde_datadir}/config.kcfg/kdvi.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kdvi.png -%{tde_datadir}/icons/hicolor/scalable/apps/kdvi.svgz -%{tde_datadir}/services/kdvimultipage.desktop -%{tde_tdedocdir}/HTML/en/kdvi/ - -########## - -%package -n trinity-kfax -Summary: G3/G4 fax viewer for Trinity -Group: Applications/Graphics -Requires: libtiff - -%description -n trinity-kfax -A fax viewer for Trinity, supporting the display of raw and tiffed fax images -(g3, g3-2d, g4). - -%files -n trinity-kfax -%defattr(-,root,root,-) -%doc rpmdocs/kfax/ -%{tde_bindir}/kfax -%{tde_tdeappdir}/kfax.desktop -%{tde_datadir}/apps/kfax/ -%{tde_datadir}/icons/hicolor/??x??/apps/kfax.png -%{tde_datadir}/icons/hicolor/scalable/apps/kfax.svgz - -########## - -%package -n trinity-kfaxview -Summary: G3/G4 fax viewer for Trinity using kviewshell -Group: Applications/Graphics - -%description -n trinity-kfaxview -A fax viewer for Trinity, supporting the display of raw and tiffed fax images -(g3, g3-2d, g4). - -This faxviewer uses kviewshell and is intended to replace the standalone -kfax application once it reproduces all of kfax's features. - -%files -n trinity-kfaxview -%defattr(-,root,root,-) -%{tde_bindir}/kfaxview -%{tde_libdir}/libkfaximage.so.* -%{tde_tdelibdir}/kfaxviewpart.* -%{tde_tdeappdir}/kfaxview.desktop -%{tde_datadir}/apps/kfaxview/ -%{tde_datadir}/icons/hicolor/??x??/apps/kfaxview.png -%{tde_datadir}/icons/hicolor/scalable/apps/kfaxview.svgz -%{tde_datadir}/services/kfaxmultipage.desktop -%{tde_datadir}/services/kfaxmultipage_tiff.desktop - -########## - -%package -n trinity-kgamma -Summary: Gamma correction module for the Trinity Control Center -Group: Applications/Graphics - -%description -n trinity-kgamma -KGamma is a Trinity Control Center module for gamma calibration/correction -of XFree86. With proper gamma settings, your display (websites, images, -etc.) will look the same on your monitor as on other monitors. - -Homepage: http://kgamma.berlios.de/index2.php - -%files -n trinity-kgamma -%defattr(-,root,root,-) -%{tde_bindir}/xf86gammacfg -%{tde_tdelibdir}/kcm_kgamma.la -%{tde_tdelibdir}/kcm_kgamma.so -%{tde_tdeappdir}/kgamma.desktop -%{tde_datadir}/apps/kgamma/ -%{tde_datadir}/icons/hicolor/*/apps/kgamma.png -%{tde_tdedocdir}/HTML/en/kgamma/ - -########## - -%package -n trinity-kghostview -Summary: PostScript viewer for Trinity -Group: Applications/Graphics -Requires: ghostscript - -%description -n trinity-kghostview -KGhostview is Trinity's PostScript viewer. It is a port of Tim Theisen's -Ghostview program which is used to view documents prepared in Adobe's -PostScript page description language. PostScript is the major page -description language for printing on UNIX systems, and this application is -useful to preview material intended for printing, or for reading documents -online. - -%files -n trinity-kghostview -%defattr(-,root,root,-) -%{tde_bindir}/kghostview -%{tde_tdelibdir}/libkghostviewpart.la -%{tde_tdelibdir}/libkghostviewpart.so -%{tde_libdir}/libkghostviewlib.so.* -%{tde_tdeappdir}/kghostview.desktop -%{tde_datadir}/apps/kconf_update/kghostview.upd -%{tde_datadir}/apps/kconf_update/update-to-xt-names.pl -%{tde_datadir}/apps/kghostview/ -%{tde_datadir}/config.kcfg/kghostview.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kghostview.png -%{tde_datadir}/services/kghostview_part.desktop -%{tde_tdedocdir}/HTML/en/kghostview/ - -########## - -%package -n trinity-kiconedit -Summary: An icon editor for Trinity -Group: Applications/Graphics - -%description -n trinity-kiconedit -KIconedit allows you easily to create and edit icons. - -%files -n trinity-kiconedit -%defattr(-,root,root,-) -%{tde_bindir}/kiconedit -%{tde_tdeappdir}/kiconedit.desktop -%{tde_datadir}/apps/kiconedit/ -%{tde_datadir}/icons/hicolor/*/apps/kiconedit.png -%{tde_tdedocdir}/HTML/en/kiconedit/ - -########## - -%package -n trinity-kmrml -Summary: A Konqueror plugin for searching pictures -Group: Applications/Graphics - -%description -n trinity-kmrml -MRML is short for Multimedia Retrieval Markup Language, which defines a -protocol for querying a server for images based on their content. See -http://www.mrml.net about MRML and the GNU Image Finding Tool (GIFT), an -MRML server. - -%files -n trinity-kmrml -%defattr(-,root,root,-) -%{tde_bindir}/mrmlsearch -%{tde_tdelibdir}/kcm_kmrml.la -%{tde_tdelibdir}/kcm_kmrml.so -%{tde_tdelibdir}/kded_daemonwatcher.la -%{tde_tdelibdir}/kded_daemonwatcher.so -%{tde_tdelibdir}/kio_mrml.la -%{tde_tdelibdir}/kio_mrml.so -%{tde_tdelibdir}/libkmrmlpart.la -%{tde_tdelibdir}/libkmrmlpart.so -%{tde_tdelibdir}/mrmlsearch.la -%{tde_tdelibdir}/mrmlsearch.so -%{tde_libdir}/lib[kt]deinit_mrmlsearch.so -%{tde_tdeappdir}/kcmkmrml.desktop -%{tde_datadir}/apps/konqueror/servicemenus/mrml-servicemenu.desktop -%{tde_datadir}/mimelnk/text/mrml.desktop -%{tde_datadir}/services/kded/daemonwatcher.desktop -%{tde_datadir}/services/mrml.protocol -%{tde_datadir}/services/mrml_part.desktop - -########## - -%package -n trinity-kolourpaint -Summary: A simple paint program for Trinity -Group: Applications/Graphics - -%description -n trinity-kolourpaint -KolourPaint is a very simple paint program for Trinity. It aims to be -conceptually simple to understand; providing a level of functionality -targeted towards the average user. It's designed for daily tasks like: - -* Painting - drawing diagrams and "finger painting" -* Image Manipulation - editing screenshots and photos; applying effects -* Icon Editing - drawing clipart and logos with transparency - -It's not an unusable and monolithic program where simple tasks like -drawing lines become near impossible. Nor is it so simple that it lacks -essential features like Undo/Redo. - -Homepage: http://kolourpaint.sourceforge.net - -%files -n trinity-kolourpaint -%defattr(-,root,root,-) -%{tde_bindir}/kolourpaint -%{tde_tdeappdir}/kolourpaint.desktop -%{tde_datadir}/apps/kolourpaint/ -%{tde_datadir}/icons/hicolor/*/apps/kolourpaint.png -%{tde_datadir}/icons/hicolor/scalable/apps/kolourpaint.svgz -%{tde_tdedocdir}/HTML/en/kolourpaint/ - -########## - -%package -n trinity-kooka -Summary: Scanner program for Trinity -Group: Applications/Graphics - -%description -n trinity-kooka -Kooka is an open source GNU/Linux scan program based on SANE and -KScan library. - -Kooka helps you to handle the most important scan parameters, find the -correct image file format to save and manage your scanned images. It -offers support for different OCR modules. Libkscan, a autonomous part -of Kooka, provides a scan service for easy and consistent use to all -KDE applications. - -Install ocrad or gocr if you wish to enable optical character recognition -in kooka. - -Homepage: http://kooka.kde.org/ - -%files -n trinity-kooka -%defattr(-,root,root,-) -%{tde_datadir}/config/kookarc -%{tde_bindir}/kooka -%{tde_tdeappdir}/kooka.desktop -%{tde_datadir}/apps/kooka/ -%{tde_tdedocdir}/HTML/en/kooka/ - -########## - -%package -n trinity-kpdf -Summary: PDF viewer for Trinity -Group: Applications/Graphics -#Recommends: kghostview-trinity (= ${binary:Version}) - -%description -n trinity-kpdf -KPDF allows you to view PDF (Portable Document Format) files. This package -includes kpdfpart so you can embed in konqueror or run as a standalone -application. - -%files -n trinity-kpdf -%defattr(-,root,root,-) -%{tde_bindir}/kpdf -%{tde_tdelibdir}/libkpdfpart.la -%{tde_tdelibdir}/libkpdfpart.so -%{tde_tdeappdir}/kpdf.desktop -%{tde_datadir}/apps/kpdf/shell.rc -%{tde_datadir}/apps/kpdfpart/part.rc -%{tde_datadir}/config.kcfg/kpdf.kcfg -%{tde_tdedocdir}/HTML/en/kpdf/ -%{tde_datadir}/icons/hicolor/*/apps/kpdf.png -%{tde_datadir}/icons/hicolor/scalable/apps/kpdf.svgz -%{tde_datadir}/services/kpdf_part.desktop - -########## - -%package -n trinity-kpovmodeler -Summary: A graphical editor for povray scenes -Group: Applications/Graphics -#Requires: povray - -%description -n trinity-kpovmodeler -KPovmodeler is KDE's graphical editor for povray scenes. KPovModeler is a -modeling and composition program for creating POV-Ray scenes in KDE. - -For most modelers, POV-Ray is nothing but a rendering engine. This greatly -limits the innate possibilities of the POV-Ray scripted language. This -is not the case for KPovModeler, which allows you to use all the features -of POV-Ray through the translation of POV-Ray language into a graphical -tree. - -kpovmodeler uses the povray package, currently available only in Debian's -non-free, unsupported repository. - -Homepage: http://www.kpovmodeler.org - -%files -n trinity-kpovmodeler -%defattr(-,root,root,-) -%doc rpmdocs/kpovmodeler/ -%{tde_bindir}/kpovmodeler -%{tde_libdir}/libkpovmodeler.so.* -%{tde_tdelibdir}/libkpovmodelerpart.* -%{tde_tdeappdir}/kpovmodeler.desktop -%{tde_datadir}/apps/kpovmodeler/ -%{tde_datadir}/icons/crystalsvg/*/mimetypes/kpovmodeler_doc.* -%{tde_datadir}/icons/hicolor/*/apps/kpovmodeler.* -%doc %{tde_tdedocdir}/HTML/en/kpovmodeler/ - -########## - -%package -n trinity-kruler -Summary: A screen ruler and color measurement tool for Trinity -Group: Applications/Graphics - -%description -n trinity-kruler -Kruler is a screen ruler (using pixels) and color measurement tool for KDE. - -%files -n trinity-kruler -%defattr(-,root,root,-) -%{tde_bindir}/kruler -%{tde_tdeappdir}/kruler.desktop -%{tde_datadir}/applnk/Graphics/kruler.desktop -%{tde_datadir}/apps/kruler/ -%{tde_datadir}/icons/hicolor/*/apps/kruler.png -%{tde_tdedocdir}/HTML/en/kruler/ - -########## - -%package -n trinity-ksnapshot -Summary: Screenshot utility for Trinity -Group: Applications/Graphics - -%description -n trinity-ksnapshot -KSnapshot is a simple applet for taking screenshots. It is capable of -capturing images of either the whole desktop or just a single window. -The images can then be saved in a variety of formats. - -%files -n trinity-ksnapshot -%defattr(-,root,root,-) -%{tde_bindir}/ksnapshot -%{tde_tdeappdir}/ksnapshot.desktop -%{tde_tdedocdir}/HTML/en/ksnapshot/ -%{tde_datadir}/icons/hicolor/*/apps/ksnapshot.png -%{tde_datadir}/icons/hicolor/scalable/apps/ksnapshot.svgz - -########## - -%package -n trinity-ksvg -Summary: SVG viewer for Trinity -Group: Applications/Graphics - -%description -n trinity-ksvg -KSVG allows you view SVG (scalable vector graphics) files. This package -includes kpart so you can embed it in konqueror and a standalone -application. - -%files -n trinity-ksvg -%defattr(-,root,root,-) -%{tde_bindir}/printnodetest -%{tde_bindir}/svgdisplay -%{tde_tdelibdir}/libksvgplugin.la -%{tde_tdelibdir}/libksvgplugin.so -%{tde_tdelibdir}/libksvgrendererlibart.la -%{tde_tdelibdir}/libksvgrendererlibart.so -%{tde_tdelibdir}/svgthumbnail.la -%{tde_tdelibdir}/svgthumbnail.so -%{tde_libdir}/libksvg.so.0 -%{tde_libdir}/libksvg.so.0.0.1 -%{tde_libdir}/libtext2path.so.0 -%{tde_libdir}/libtext2path.so.0.0.0 -%{tde_datadir}/apps/ksvg/ksvgplugin.rc -%{tde_datadir}/services/ksvglibartcanvas.desktop -%{tde_datadir}/services/ksvgplugin.desktop -%{tde_datadir}/services/svgthumbnail.desktop -%{tde_datadir}/servicetypes/ksvgrenderer.desktop - -########## - -%package -n trinity-kview -Summary: Simple image viewer/converter for Trinity -Group: Applications/Graphics - -%description -n trinity-kview -KView is a simple image viewer and converter application. It supports -a number of plugins, which add an array of basic editing capabilities -as well. - -%files -n trinity-kview -%defattr(-,root,root,-) -%{tde_bindir}/kview -%{tde_tdelibdir}/kcm_kviewcanvasconfig.la -%{tde_tdelibdir}/kcm_kviewcanvasconfig.so -%{tde_tdelibdir}/kcm_kviewgeneralconfig.la -%{tde_tdelibdir}/kcm_kviewgeneralconfig.so -%{tde_tdelibdir}/kcm_kviewpluginsconfig.la -%{tde_tdelibdir}/kcm_kviewpluginsconfig.so -%{tde_tdelibdir}/kcm_kviewpresenterconfig.la -%{tde_tdelibdir}/kcm_kviewpresenterconfig.so -%{tde_tdelibdir}/kcm_kviewviewerpluginsconfig.la -%{tde_tdelibdir}/kcm_kviewviewerpluginsconfig.so -%{tde_tdelibdir}/kview.la -%{tde_tdelibdir}/kview.so -%{tde_tdelibdir}/kview_browserplugin.la -%{tde_tdelibdir}/kview_browserplugin.so -%{tde_tdelibdir}/kview_effectsplugin.la -%{tde_tdelibdir}/kview_effectsplugin.so -%{tde_tdelibdir}/kview_presenterplugin.la -%{tde_tdelibdir}/kview_presenterplugin.so -%{tde_tdelibdir}/kview_scannerplugin.la -%{tde_tdelibdir}/kview_scannerplugin.so -%{tde_tdelibdir}/libkviewcanvas.la -%{tde_tdelibdir}/libkviewcanvas.so -%{tde_tdelibdir}/libkviewviewer.la -%{tde_tdelibdir}/libkviewviewer.so -%{tde_libdir}/lib[kt]deinit_kview.so -%{tde_libdir}/libkimageviewer.so.* -%{tde_tdelibdir}/libphotobook.la -%{tde_tdelibdir}/libphotobook.so -%{tde_tdeappdir}/kview.desktop -%{tde_datadir}/apps/kview/ -%{tde_datadir}/apps/kviewviewer/ -%{tde_datadir}/apps/photobook/photobookui.rc -%{tde_datadir}/icons/crystalsvg/*/apps/photobook.png -%{tde_datadir}/icons/hicolor/*/apps/kview.png -%{tde_datadir}/services/kconfiguredialog/kviewcanvasconfig.desktop -%{tde_datadir}/services/kconfiguredialog/kviewgeneralconfig.desktop -%{tde_datadir}/services/kconfiguredialog/kviewpluginsconfig.desktop -%{tde_datadir}/services/kconfiguredialog/kviewpresenterconfig.desktop -%{tde_datadir}/services/kconfiguredialog/kviewviewerpluginsconfig.desktop -%{tde_datadir}/services/kviewcanvas.desktop -%{tde_datadir}/services/kviewviewer.desktop -%{tde_datadir}/services/photobook.desktop -%{tde_datadir}/servicetypes/kimageviewer.desktop -%{tde_datadir}/servicetypes/kimageviewercanvas.desktop -%{tde_tdedocdir}/HTML/en/kview/ - -########## - -%package -n trinity-kviewshell -Summary: Generic framework for viewer applications in Trinity -Group: Applications/Graphics - -%description -n trinity-kviewshell -KViewShell is a generic viewing framework that allows the graphical -applications, such as the kview image viewer, to be embedded in other -KDE applications, such as Konqueror. - -KViewShell comes with a djvuviewpart plugin included, for viewing -DjVu images. - -%files -n trinity-kviewshell -%defattr(-,root,root,-) -%{tde_bindir}/kviewshell -%{tde_libdir}/libdjvu.la -%{tde_libdir}/libdjvu.so -%{tde_tdelibdir}/djvuviewpart.so -%{tde_tdelibdir}/djvuviewpart.la -%{tde_tdelibdir}/emptymultipagepart.la -%{tde_tdelibdir}/emptymultipagepart.so -%{tde_tdelibdir}/kviewerpart.la -%{tde_tdelibdir}/kviewerpart.so -%{tde_libdir}/libkmultipage.so.* -%{tde_datadir}/apps/djvumultipage.rc -%{tde_datadir}/apps/kviewerpart/ -%{tde_datadir}/apps/kviewshell/kviewshell.rc -%{tde_datadir}/config.kcfg/djvumultipage.kcfg -%{tde_datadir}/config.kcfg/kviewshell.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/kviewshell.png -%{tde_datadir}/services/emptymultipage.desktop -%{tde_datadir}/services/djvumultipage.desktop -%{tde_datadir}/servicetypes/kmultipage.desktop - -########## - -%package -n trinity-libkscan -Summary: Scanner library for Trinity -Group: Environment/Libraries - -%description -n trinity-libkscan -KScan is TDE's scanner library. It's used by kooka and by koffice currently. -It provides an easy-to-use library, which allows you to access your scanner -(as long as it's sane compatible). - -%files -n trinity-libkscan -%defattr(-,root,root,-) -%{tde_libdir}/libkscan.so.* -%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_color.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_gray.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_halftone.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_lineart.png -%{tde_datadir}/services/scanservice.desktop - -########## - -%package -n trinity-libkscan-devel -Summary: Development files for the Trinity scanner library -Group: Development/Libraries - -%description -n trinity-libkscan-devel -This package contains development files for Trinity's scanner library. - -%files -n trinity-libkscan-devel -%defattr(-,root,root,-) -%{tde_libdir}/libkscan.la -%{tde_libdir}/libkscan.so - -########## - -%package libpoppler-tqt -Summary: TQt support for Poppler -Group: Environment/Libraries -Provides: poppler-tqt = %{version}-%{release} - -%description libpoppler-tqt -TQt support library for Poppler. -This library is used by the Trinity graphics file plugins for PDF support. - -%files libpoppler-tqt -%defattr(-,root,root,-) -%{tde_libdir}/libpoppler-tqt.so.* - -########## - -%package libpoppler-tqt-devel -Summary: Development files for TQt support for Poppler -Group: Development/Libraries -Requires: %{name}-libpoppler-tqt -Provides: poppler-tqt-devel = %{version}-%{release} - -%description libpoppler-tqt-devel -Development files of TQt support library for Poppler. -This package contains the development files needed to compile applications against poppler-tqt. - -%files libpoppler-tqt-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/poppler-link-qt3.h -%{tde_tdeincludedir}/poppler-page-transition.h -%{tde_tdeincludedir}/poppler-qt.h -%{tde_libdir}/libpoppler-tqt.la -%{tde_libdir}/libpoppler-tqt.so -%{tde_libdir}/pkgconfig/poppler-tqt.pc - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries - -Obsoletes: trinity-kdegraphics-devel < %{version}-%{release} -Provides: trinity-kdegraphics-devel = %{version}-%{release} - -Requires: trinity-libkscan-devel = %{version}-%{release} -Requires: %{name}-libpoppler-tqt-devel = %{version}-%{release} - -%description devel -%{summary}. - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/dom/ -#%{tde_tdeincludedir}/kfaximage.h -%{tde_tdeincludedir}/kmultipageInterface.h -%{tde_tdeincludedir}/ksvg/ -%{tde_tdeincludedir}/kviewshell/ -%{tde_tdeincludedir}/libtext2path-0.1/BezierPath.h -%{tde_tdeincludedir}/libtext2path-0.1/Glyph.h -%{tde_tdeincludedir}/libtext2path-0.1/GlyphTracer.h -%{tde_libdir}/lib[kt]deinit_kview.la -%{tde_libdir}/lib[kt]deinit_mrmlsearch.la -%{tde_libdir}/libkghostviewlib.la -%{tde_libdir}/libkghostviewlib.so -%{tde_libdir}/libkimageviewer.la -%{tde_libdir}/libkimageviewer.so -%{tde_libdir}/libkmultipage.la -%{tde_libdir}/libkmultipage.so -%{tde_libdir}/libkpovmodeler.la -%{tde_libdir}/libkpovmodeler.so -%{tde_libdir}/libksvg.la -%{tde_libdir}/libksvg.so -%{tde_libdir}/libtext2path.la -%{tde_libdir}/libtext2path.so -# kfaxview -%{tde_libdir}/libkfaximage.so -%{tde_libdir}/libkfaximage.la -# cmake -%{tde_datadir}/cmake/* - -############ - -# Excludes kuickshow (built separately) -#%exclude %{tde_bindir}/kuickshow -#%exclude %{tde_tdelibdir}/kuickshow.la -#%exclude %{tde_tdelibdir}/kuickshow.so -#%exclude %{tde_libdir}/lib[kt]deinit_kuickshow.la -#%exclude %{tde_libdir}/lib[kt]deinit_kuickshow.so -#%exclude %{tde_tdeappdir}/kuickshow.desktop -#%exclude %{tde_datadir}/apps/kuickshow/ -#%exclude %{tde_datadir}/icons/hicolor/*/apps/kuickshow.png -#%exclude %{tde_tdedocdir}/HTML/en/kuickshow/ - -########## - -%prep -%setup -q -n kdegraphics -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%if 0%{?rhel} && 0%{?rhel} <= 5 -%patch3 -p1 -b .mkstemps -%endif -%patch4 -p1 -%patch5 -p1 -b .gcc47 -%patch6 -p1 -b .poppler -%patch7 -p1 -%patch8 -p1 -%patch9 -p1 -%patch10 -p1 -b .kuickshowdoc - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" -#export LD_LIBRARY_PATH="%{tde_libdir}" - -%if 0%{?rhel} || 0%{?fedora} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \ - -DCMAKE_SKIP_RPATH="OFF" \ - -DWITH_T1LIB=ON \ - -DWITH_LIBPAPER=ON \ - -DWITH_TIFF=ON \ - -DWITH_OPENEXR=ON \ - -DWITH_PDF=ON \ - -DWITH_PDF=ON \ - -DBUILD_ALL=ON \ - -DBUILD_KUICKSHOW=OFF \ - .. - -%__make %{?_smp_mflags} - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -# locale's -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common - done - popd - fi -done -fi - -# rpmdocs -for dir in k* ; do - for file in AUTHORS ChangeLog README TODO ; do - if test -s "$dir/$file" ; then - install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file" - echo "%doc rpmdocs/$dir/" >> %{name}.lang - fi - done -done - - -%clean -%__rm -rf %{buildroot} - - - -%changelog -* Wed Aug 01 2012 Francois Andriot - 3.5.13-6 -- Add poppler-tqt.pc file [Commit #b2d01d00] - -* Mon Jul 09 2012 Francois Andriot - 3.5.13-5 -- Renames 'kdegraphics' to 'tdegraphics' -- Split in several packages - -* Tue Nov 22 2011 Francois Andriot - 3.5.13-4 -- Rebuild with poppler 0.12 for RHEL 5 -- Re-adds qt-poppler include files - -* Fri Nov 04 2011 Francois Andriot - 3.5.13-3 -- Updates BuildRequires - -* Wed Nov 02 2011 Francois Andriot - 3.5.13-2 -- Fix kpovmodeler compilation on RHEL 5 (patch4) - -* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 -- Initial release for RHEL 6, RHEL 5 and Fedora 15 -- RHEL 5 build has some features disabled (see patches) - -* Sun Sep 11 2011 Francois Andriot - 3.5.13-0 -- Import to GIT diff --git a/redhat/tdegraphics/trinity-tdegraphics-3.5.13.2.spec b/redhat/tdegraphics/trinity-tdegraphics-3.5.13.2.spec deleted file mode 100644 index 623550984..000000000 --- a/redhat/tdegraphics/trinity-tdegraphics-3.5.13.2.spec +++ /dev/null @@ -1,1324 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Name: trinity-tdegraphics -Version: 3.5.13.2 -Release: 1%{?dist}%{?_variant} -License: GPL -Summary: Trinity Desktop Environment - Graphics Applications - -Group: Applications/Multimedia -Prefix: %{tde_prefix} - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}.tar.gz - -# TDE 3.5.13 -## RHEL / Fedora specific patches -# [kdegraphics/kpdf/xpdf] Disable 'mkstemps' support for RHEL5 -Patch3: kdegraphics-3.5.13-xpdf_disable_mkstemps.patch - -# [tdegraphics] Fix build on RHEL4 -Patch201: kdegraphics-3.5.13.1-fix_rhel4_libraries.patch - -BuildRequires: cmake >= 2.8 -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} -BuildRequires: trinity-tdebase-devel >= %{version} -BuildRequires: gettext -BuildRequires: libmng-devel -%if 0%{?mdkversion} && 0%{?pclinuxos} == 0 -BuildRequires: %{_lib}png15-devel -%else -BuildRequires: libpng-devel -%endif -BuildRequires: libtiff-devel -BuildRequires: automake libtool -BuildRequires: libusb-devel -BuildRequires: pcre-devel - -# GIF support -%if 0%{?suse_version} -BuildRequires: giflib-devel -%else -BuildRequires: libungif-devel -%endif - -# GPHOTO2 support -%if 0%{?suse_version} -BuildRequires: libgphoto2-devel -%else -BuildRequires: gphoto2-devel -%endif - -# PAPER support -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_paper 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}paper-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: libpaper-devel -%endif -%endif - -# T1LIB support -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} -%define with_t1lib 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}t1lib-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} -BuildRequires: t1lib-devel -%endif -%endif - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}sane1-devel -# kuickshow -#BuildRequires: %{_lib}imlib-devel -# kpovmodeler -BuildRequires: %{_lib}xi-devel -# kgamma -BuildRequires: %{_lib}xxf86vm-devel -# ksvg -BuildRequires: %{_lib}xmu%{?mgaversion:6}-devel -# kpovmodeler -BuildRequires: %{_lib}mesagl1-devel -BuildRequires: %{_lib}mesaglu1-devel -%else -BuildRequires: sane-backends-devel - -# kuickshow -#BuildRequires: imlib-devel - -%if 0%{?rhel} == 4 -BuildRequires: xorg-x11-devel -%else -BuildRequires: libdrm-devel - -# kpovmodeler -%if 0%{?suse_version} == 1140 -BuildRequires: libXi6-devel -%else -BuildRequires: libXi-devel - -# kgamma -BuildRequires: libXxf86vm-devel -%endif - -# ksvg -%if 0%{?suse_version} == 1140 -BuildRequires: xorg-x11-libXmu-devel -%else -BuildRequires: libXmu-devel -%endif -%endif - -# kpovmodeler -%if 0%{?suse_version} -%if 0%{?suse_version} >= 1220 -BuildRequires: Mesa-libGL-devel -BuildRequires: Mesa-libGLU-devel -%else -BuildRequires: Mesa-devel -%endif -%else -BuildRequires: libGL-devel -BuildRequires: libGLU-devel -%endif -%endif - -#kfile-plugin -BuildRequires: OpenEXR-devel - -# kpdf -%if 0%{?suse_version} == 1140 -BuildRequires: freetype2-devel -%else -BuildRequires: freetype-devel -%endif - -# poppler -%if 0%{?rhel} >=6 || 0%{?fedora} >= 15 || 0%{?suse_version} -BuildRequires: poppler-devel >= 0.12 -#BuildRequires: poppler-qt-devel >= 0.12 -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}poppler-devel -%endif -%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5 -# On RHEL 5, the distro-provided poppler is too old. We built a newer one. -BuildRequires: trinity-poppler-devel -BuildRequires: trinity-poppler-qt3-devel >= 0.12 -%endif - -# ksvg -BuildRequires: fontconfig-devel -%if 0%{?suse_version} -BuildRequires: liblcms-devel -%else -BuildRequires: lcms-devel -%endif -BuildRequires: libart_lgpl-devel - -# kuickshow -BuildRequires: fribidi-devel - -# kamera -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} -%define build_kamera 1 -%endif - -Obsoletes: trinity-kdegraphics < %{version}-%{release} -Provides: trinity-kdegraphics = %{version}-%{release} -Obsoletes: trinity-kdegraphics-libs < %{version}-%{release} -Provides: trinity-kdegraphics-libs = %{version}-%{release} -Obsoletes: trinity-kdegraphics-extras < %{version}-%{release} -Provides: trinity-kdegraphics-extras = %{version}-%{release} - - -%{?build_kamera:Requires: trinity-kamera = %{version}-%{release}} -Requires: trinity-kcoloredit = %{version}-%{release} -Requires: %{name}-kfile-plugins = %{version}-%{release} -Requires: trinity-kdvi = %{version}-%{release} -Requires: trinity-kfax = %{version}-%{release} -Requires: trinity-kfaxview = %{version}-%{release} -Requires: trinity-kgamma = %{version}-%{release} -Requires: trinity-kghostview = %{version}-%{release} -Requires: trinity-kiconedit = %{version}-%{release} -Requires: trinity-kmrml = %{version}-%{release} -Requires: trinity-kolourpaint = %{version}-%{release} -Requires: trinity-kooka = %{version}-%{release} -Requires: trinity-kpdf = %{version}-%{release} -Requires: trinity-kpovmodeler = %{version}-%{release} -Requires: trinity-kruler = %{version}-%{release} -Requires: trinity-ksnapshot = %{version}-%{release} -Requires: trinity-ksvg = %{version}-%{release} -Requires: trinity-kview = %{version}-%{release} -Requires: trinity-kviewshell = %{version}-%{release} -Requires: trinity-libkscan = %{version}-%{release} -Requires: %{name}-libpoppler-tqt = %{version}-%{release} - -%description -Graphics applications for the Trinity Desktop Environment, including -%if 0%{?build_kamera} -* kamera (digital camera support) -%endif -* kcoloredit (palette editor and color chooser) -* kdvi (displays TeX .dvi files) -* kfax -* kfaxview -* kghostview (displays postscript files) -* kiconedit (icon editor) -* kooka (scanner application) -* kpdf (displays PDF files) -* kpovmodler -* kruler (screen ruler and color measurement tool) -* ksnapshot (screen capture utility) -* kview (image viewer for GIF, JPEG, TIFF, etc.) - -%files - -########## - -%if 0%{?build_kamera} - -%package -n trinity-kamera -Summary: Digital camera io_slave for Konqueror -Group: Applications/Graphics - -%description -n trinity-kamera -This is a digital camera io_slave for TDE which uses gphoto2 and libgpio -to allow access to your camera's pictures with the URL camera:/ - -%post -n trinity-kamera -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kamera -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%files -n trinity-kamera -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_kamera.la -%{tde_tdelibdir}/kcm_kamera.so -%{tde_tdelibdir}/kio_kamera.la -%{tde_tdelibdir}/kio_kamera.so -%{tde_tdeappdir}/kamera.desktop -%{tde_datadir}/icons/crystalsvg/*/actions/camera_test.png -%{tde_datadir}/icons/crystalsvg/*/apps/camera.png -%{tde_datadir}/icons/crystalsvg/*/devices/camera.png -%{tde_datadir}/icons/crystalsvg/*/filesystems/camera.png -%{tde_datadir}/services/camera.protocol -%{tde_tdedocdir}/HTML/en/kamera/ - -%endif - -########## - -%package -n trinity-kcoloredit -Summary: A color palette editor and color picker for TDE -Group: Applications/Graphics - -%description -n trinity-kcoloredit -This package contains two programs, a color palette editor and also a color -picker. - -%files -n trinity-kcoloredit -%defattr(-,root,root,-) -%{tde_bindir}/kcolorchooser -%{tde_bindir}/kcoloredit -%{tde_tdeappdir}/kcolorchooser.desktop -%{tde_tdeappdir}/kcoloredit.desktop -%{tde_datadir}/apps/kcoloredit/kcoloreditui.rc -%{tde_datadir}/icons/hicolor/*/apps/kcolorchooser.png -%{tde_datadir}/icons/hicolor/*/apps/kcoloredit.png -%{tde_tdedocdir}/HTML/en/kcoloredit/ - -%post -n trinity-kcoloredit -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kcoloredit -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package kfile-plugins -Summary: TDE metainfo plugins for graphic files -Group: Environment/Libraries - -%description kfile-plugins -This packages provides meta information for graphic files (file sizes, -tags, etc. all from within the file manager). - -%files kfile-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/gsthumbnail.la -%{tde_tdelibdir}/gsthumbnail.so -%{tde_tdelibdir}/kfile_bmp.la -%{tde_tdelibdir}/kfile_bmp.so -%{tde_tdelibdir}/kfile_dds.la -%{tde_tdelibdir}/kfile_dds.so -%{tde_tdelibdir}/kfile_dvi.la -%{tde_tdelibdir}/kfile_dvi.so -%{tde_tdelibdir}/kfile_exr.la -%{tde_tdelibdir}/kfile_exr.so -%{tde_tdelibdir}/kfile_gif.la -%{tde_tdelibdir}/kfile_gif.so -%{tde_tdelibdir}/kfile_ico.la -%{tde_tdelibdir}/kfile_ico.so -%{tde_tdelibdir}/kfile_jpeg.la -%{tde_tdelibdir}/kfile_jpeg.so -%{tde_tdelibdir}/kfile_pcx.la -%{tde_tdelibdir}/kfile_pcx.so -%{tde_tdelibdir}/kfile_pdf.la -%{tde_tdelibdir}/kfile_pdf.so -%{tde_tdelibdir}/kfile_png.la -%{tde_tdelibdir}/kfile_png.so -%{tde_tdelibdir}/kfile_pnm.la -%{tde_tdelibdir}/kfile_pnm.so -%{tde_tdelibdir}/kfile_ps.la -%{tde_tdelibdir}/kfile_ps.so -%{tde_tdelibdir}/kfile_raw.la -%{tde_tdelibdir}/kfile_raw.so -%{tde_tdelibdir}/kfile_rgb.la -%{tde_tdelibdir}/kfile_rgb.so -%{tde_tdelibdir}/kfile_tga.la -%{tde_tdelibdir}/kfile_tga.so -%{tde_tdelibdir}/kfile_tiff.la -%{tde_tdelibdir}/kfile_tiff.so -%{tde_tdelibdir}/kfile_xbm.la -%{tde_tdelibdir}/kfile_xbm.so -%{tde_tdelibdir}/kfile_xpm.la -%{tde_tdelibdir}/kfile_xpm.so -%{tde_datadir}/services/gsthumbnail.desktop -%{tde_datadir}/services/kfile_bmp.desktop -%{tde_datadir}/services/kfile_dds.desktop -%{tde_datadir}/services/kfile_dvi.desktop -%{tde_datadir}/services/kfile_exr.desktop -%{tde_datadir}/services/kfile_gif.desktop -%{tde_datadir}/services/kfile_ico.desktop -%{tde_datadir}/services/kfile_jpeg.desktop -%{tde_datadir}/services/kfile_pcx.desktop -%{tde_datadir}/services/kfile_pdf.desktop -%{tde_datadir}/services/kfile_png.desktop -%{tde_datadir}/services/kfile_pnm.desktop -%{tde_datadir}/services/kfile_ps.desktop -%{tde_datadir}/services/kfile_raw.desktop -%{tde_datadir}/services/kfile_rgb.desktop -%{tde_datadir}/services/kfile_tga.desktop -%{tde_datadir}/services/kfile_tiff.desktop -%{tde_datadir}/services/kfile_xbm.desktop -%{tde_datadir}/services/kfile_xpm.desktop - -########## - -%package -n trinity-kdvi -Summary: Dvi viewer for TDE -Group: Applications/Graphics - -%description -n trinity-kdvi -This program and KPart allow the user to display *.DVI files from TeX. - -%files -n trinity-kdvi -%defattr(-,root,root,-) -%{tde_bindir}/kdvi -%{tde_tdelibdir}/kdvipart.la -%{tde_tdelibdir}/kdvipart.so -%{tde_tdeappdir}/kdvi.desktop -%{tde_datadir}/apps/kdvi/ -%{tde_datadir}/config.kcfg/kdvi.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kdvi.png -%{tde_datadir}/icons/hicolor/scalable/apps/kdvi.svgz -%{tde_datadir}/services/kdvimultipage.desktop -%{tde_tdedocdir}/HTML/en/kdvi/ - -%post -n trinity-kdvi -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kdvi -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kfax -Summary: G3/G4 fax viewer for Trinity -Group: Applications/Graphics -Requires: libtiff - -%description -n trinity-kfax -A fax viewer for Trinity, supporting the display of raw and tiffed fax images -(g3, g3-2d, g4). - -%files -n trinity-kfax -%defattr(-,root,root,-) -%doc rpmdocs/kfax/ -%{tde_bindir}/kfax -%{tde_tdeappdir}/kfax.desktop -%{tde_datadir}/apps/kfax/ -%{tde_datadir}/icons/hicolor/??x??/apps/kfax.png -%{tde_datadir}/icons/hicolor/scalable/apps/kfax.svgz - -%post -n trinity-kfax -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kfax -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kfaxview -Summary: G3/G4 fax viewer for Trinity using kviewshell -Group: Applications/Graphics - -%description -n trinity-kfaxview -A fax viewer for Trinity, supporting the display of raw and tiffed fax images -(g3, g3-2d, g4). - -This faxviewer uses kviewshell and is intended to replace the standalone -kfax application once it reproduces all of kfax's features. - -%files -n trinity-kfaxview -%defattr(-,root,root,-) -%{tde_bindir}/kfaxview -%{tde_libdir}/libkfaximage.so.* -%{tde_tdelibdir}/kfaxviewpart.* -%{tde_tdeappdir}/kfaxview.desktop -%{tde_datadir}/apps/kfaxview/ -%{tde_datadir}/icons/hicolor/??x??/apps/kfaxview.png -%{tde_datadir}/icons/hicolor/scalable/apps/kfaxview.svgz -%{tde_datadir}/services/kfaxmultipage.desktop -%{tde_datadir}/services/kfaxmultipage_tiff.desktop - -%post -n trinity-kfaxview -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : -/sbin/ldconfig || : - -%postun -n trinity-kfaxview -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : -/sbin/ldconfig || : - -########## - -%package -n trinity-kgamma -Summary: Gamma correction module for the Trinity Control Center -Group: Applications/Graphics - -%description -n trinity-kgamma -KGamma is a Trinity Control Center module for gamma calibration/correction -of XFree86. With proper gamma settings, your display (websites, images, -etc.) will look the same on your monitor as on other monitors. - -Homepage: http://kgamma.berlios.de/index2.php - -%files -n trinity-kgamma -%defattr(-,root,root,-) -%{tde_bindir}/xf86gammacfg -%{tde_tdelibdir}/kcm_kgamma.la -%{tde_tdelibdir}/kcm_kgamma.so -%{tde_tdeappdir}/kgamma.desktop -%{tde_datadir}/apps/kgamma/ -%{tde_datadir}/icons/hicolor/*/apps/kgamma.png -%{tde_tdedocdir}/HTML/en/kgamma/ - -%post -n trinity-kgamma -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kgamma -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kghostview -Summary: PostScript viewer for Trinity -Group: Applications/Graphics -Requires: ghostscript - -%description -n trinity-kghostview -KGhostview is Trinity's PostScript viewer. It is a port of Tim Theisen's -Ghostview program which is used to view documents prepared in Adobe's -PostScript page description language. PostScript is the major page -description language for printing on UNIX systems, and this application is -useful to preview material intended for printing, or for reading documents -online. - -%files -n trinity-kghostview -%defattr(-,root,root,-) -%{tde_bindir}/kghostview -%{tde_tdelibdir}/libkghostviewpart.la -%{tde_tdelibdir}/libkghostviewpart.so -%{tde_libdir}/libkghostviewlib.so.* -%{tde_tdeappdir}/kghostview.desktop -%{tde_datadir}/apps/kconf_update/kghostview.upd -%{tde_datadir}/apps/kconf_update/update-to-xt-names.pl -%{tde_datadir}/apps/kghostview/ -%{tde_datadir}/config.kcfg/kghostview.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kghostview.png -%{tde_datadir}/services/kghostview_part.desktop -%{tde_tdedocdir}/HTML/en/kghostview/ - -%post -n trinity-kghostview -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : -/sbin/ldconfig || : - -%postun -n trinity-kghostview -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : -/sbin/ldconfig || : - -########## - -%package -n trinity-kiconedit -Summary: An icon editor for Trinity -Group: Applications/Graphics - -%description -n trinity-kiconedit -KIconedit allows you easily to create and edit icons. - -%files -n trinity-kiconedit -%defattr(-,root,root,-) -%{tde_bindir}/kiconedit -%{tde_tdeappdir}/kiconedit.desktop -%{tde_datadir}/apps/kiconedit/ -%{tde_datadir}/icons/hicolor/*/apps/kiconedit.png -%{tde_tdedocdir}/HTML/en/kiconedit/ - -%post -n trinity-kiconedit -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kiconedit -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kmrml -Summary: A Konqueror plugin for searching pictures -Group: Applications/Graphics - -%description -n trinity-kmrml -MRML is short for Multimedia Retrieval Markup Language, which defines a -protocol for querying a server for images based on their content. See -http://www.mrml.net about MRML and the GNU Image Finding Tool (GIFT), an -MRML server. - -%files -n trinity-kmrml -%defattr(-,root,root,-) -%{tde_bindir}/mrmlsearch -%{tde_tdelibdir}/kcm_kmrml.la -%{tde_tdelibdir}/kcm_kmrml.so -%{tde_tdelibdir}/kded_daemonwatcher.la -%{tde_tdelibdir}/kded_daemonwatcher.so -%{tde_tdelibdir}/kio_mrml.la -%{tde_tdelibdir}/kio_mrml.so -%{tde_tdelibdir}/libkmrmlpart.la -%{tde_tdelibdir}/libkmrmlpart.so -%{tde_tdelibdir}/mrmlsearch.la -%{tde_tdelibdir}/mrmlsearch.so -%{tde_libdir}/lib[kt]deinit_mrmlsearch.so -%{tde_tdeappdir}/kcmkmrml.desktop -%{tde_datadir}/apps/konqueror/servicemenus/mrml-servicemenu.desktop -%{tde_datadir}/mimelnk/text/mrml.desktop -%{tde_datadir}/services/kded/daemonwatcher.desktop -%{tde_datadir}/services/mrml.protocol -%{tde_datadir}/services/mrml_part.desktop - -%post -n trinity-kmrml -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : -/sbin/ldconfig || : - -%postun -n trinity-kmrml -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : -/sbin/ldconfig || : - -########## - -%package -n trinity-kolourpaint -Summary: A simple paint program for Trinity -Group: Applications/Graphics - -%description -n trinity-kolourpaint -KolourPaint is a very simple paint program for Trinity. It aims to be -conceptually simple to understand; providing a level of functionality -targeted towards the average user. It's designed for daily tasks like: - -* Painting - drawing diagrams and "finger painting" -* Image Manipulation - editing screenshots and photos; applying effects -* Icon Editing - drawing clipart and logos with transparency - -It's not an unusable and monolithic program where simple tasks like -drawing lines become near impossible. Nor is it so simple that it lacks -essential features like Undo/Redo. - -Homepage: http://kolourpaint.sourceforge.net - -%files -n trinity-kolourpaint -%defattr(-,root,root,-) -%{tde_bindir}/kolourpaint -%{tde_tdeappdir}/kolourpaint.desktop -%{tde_datadir}/apps/kolourpaint/ -%{tde_datadir}/icons/hicolor/*/apps/kolourpaint.png -%{tde_datadir}/icons/hicolor/scalable/apps/kolourpaint.svgz -%{tde_tdedocdir}/HTML/en/kolourpaint/ - -%post -n trinity-kolourpaint -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kolourpaint -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kooka -Summary: Scanner program for Trinity -Group: Applications/Graphics - -%description -n trinity-kooka -Kooka is an open source GNU/Linux scan program based on SANE and -KScan library. - -Kooka helps you to handle the most important scan parameters, find the -correct image file format to save and manage your scanned images. It -offers support for different OCR modules. Libkscan, a autonomous part -of Kooka, provides a scan service for easy and consistent use to all -KDE applications. - -Install ocrad or gocr if you wish to enable optical character recognition -in kooka. - -Homepage: http://kooka.kde.org/ - -%files -n trinity-kooka -%defattr(-,root,root,-) -%{tde_datadir}/config/kookarc -%{tde_bindir}/kooka -%{tde_tdeappdir}/kooka.desktop -%{tde_datadir}/apps/kooka/ -%{tde_tdedocdir}/HTML/en/kooka/ - -%post -n trinity-kooka -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kooka -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kpdf -Summary: PDF viewer for Trinity -Group: Applications/Graphics -#Recommends: kghostview-trinity (= ${binary:Version}) - -%description -n trinity-kpdf -KPDF allows you to view PDF (Portable Document Format) files. This package -includes kpdfpart so you can embed in konqueror or run as a standalone -application. - -%files -n trinity-kpdf -%defattr(-,root,root,-) -%{tde_bindir}/kpdf -%{tde_tdelibdir}/libkpdfpart.la -%{tde_tdelibdir}/libkpdfpart.so -%{tde_tdeappdir}/kpdf.desktop -%{tde_datadir}/apps/kpdf/shell.rc -%{tde_datadir}/apps/kpdfpart/part.rc -%{tde_datadir}/config.kcfg/kpdf.kcfg -%{tde_tdedocdir}/HTML/en/kpdf/ -%{tde_datadir}/icons/hicolor/*/apps/kpdf.png -%{tde_datadir}/icons/hicolor/scalable/apps/kpdf.svgz -%{tde_datadir}/services/kpdf_part.desktop - -%post -n trinity-kpdf -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kpdf -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kpovmodeler -Summary: A graphical editor for povray scenes -Group: Applications/Graphics -#Requires: povray - -%description -n trinity-kpovmodeler -KPovmodeler is KDE's graphical editor for povray scenes. KPovModeler is a -modeling and composition program for creating POV-Ray scenes in KDE. - -For most modelers, POV-Ray is nothing but a rendering engine. This greatly -limits the innate possibilities of the POV-Ray scripted language. This -is not the case for KPovModeler, which allows you to use all the features -of POV-Ray through the translation of POV-Ray language into a graphical -tree. - -kpovmodeler uses the povray package, currently available only in Debian's -non-free, unsupported repository. - -Homepage: http://www.kpovmodeler.org - -%files -n trinity-kpovmodeler -%defattr(-,root,root,-) -%doc rpmdocs/kpovmodeler/ -%{tde_bindir}/kpovmodeler -%{tde_libdir}/libkpovmodeler.so.* -%{tde_tdelibdir}/libkpovmodelerpart.* -%{tde_tdeappdir}/kpovmodeler.desktop -%{tde_datadir}/apps/kpovmodeler/ -%{tde_datadir}/icons/crystalsvg/*/mimetypes/kpovmodeler_doc.* -%{tde_datadir}/icons/hicolor/*/apps/kpovmodeler.* -%doc %{tde_tdedocdir}/HTML/en/kpovmodeler/ - -%post -n trinity-kpovmodeler -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : -/sbin/ldconfig || : - -%postun -n trinity-kpovmodeler -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : -/sbin/ldconfig || : - -########## - -%package -n trinity-kruler -Summary: A screen ruler and color measurement tool for Trinity -Group: Applications/Graphics - -%description -n trinity-kruler -Kruler is a screen ruler (using pixels) and color measurement tool for KDE. - -%files -n trinity-kruler -%defattr(-,root,root,-) -%{tde_bindir}/kruler -%{tde_tdeappdir}/kruler.desktop -%{tde_datadir}/applnk/Graphics/kruler.desktop -%{tde_datadir}/apps/kruler/ -%{tde_datadir}/icons/hicolor/*/apps/kruler.png -%{tde_tdedocdir}/HTML/en/kruler/ - -%post -n trinity-kruler -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kruler -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ksnapshot -Summary: Screenshot utility for Trinity -Group: Applications/Graphics - -%description -n trinity-ksnapshot -KSnapshot is a simple applet for taking screenshots. It is capable of -capturing images of either the whole desktop or just a single window. -The images can then be saved in a variety of formats. - -%files -n trinity-ksnapshot -%defattr(-,root,root,-) -%{tde_bindir}/ksnapshot -%{tde_tdeappdir}/ksnapshot.desktop -%{tde_datadir}/icons/hicolor/*/apps/ksnapshot.png -%{tde_datadir}/icons/hicolor/scalable/apps/ksnapshot.svgz -%{tde_tdedocdir}/HTML/en/ksnapshot/ - -%post -n trinity-ksnapshot -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ksnapshot -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ksvg -Summary: SVG viewer for Trinity -Group: Applications/Graphics - -%description -n trinity-ksvg -KSVG allows you view SVG (scalable vector graphics) files. This package -includes kpart so you can embed it in konqueror and a standalone -application. - -%files -n trinity-ksvg -%defattr(-,root,root,-) -%{tde_bindir}/printnodetest -%{tde_bindir}/svgdisplay -%{tde_tdelibdir}/libksvgplugin.la -%{tde_tdelibdir}/libksvgplugin.so -%{tde_tdelibdir}/libksvgrendererlibart.la -%{tde_tdelibdir}/libksvgrendererlibart.so -%{tde_tdelibdir}/svgthumbnail.la -%{tde_tdelibdir}/svgthumbnail.so -%{tde_libdir}/libksvg.so.0 -%{tde_libdir}/libksvg.so.0.0.1 -%{tde_libdir}/libtext2path.so.0 -%{tde_libdir}/libtext2path.so.0.0.0 -%{tde_datadir}/apps/ksvg/ksvgplugin.rc -%{tde_datadir}/services/ksvglibartcanvas.desktop -%{tde_datadir}/services/ksvgplugin.desktop -%{tde_datadir}/services/svgthumbnail.desktop -%{tde_datadir}/servicetypes/ksvgrenderer.desktop - -%post -n trinity-ksvg -/sbin/ldconfig || : - -%postun -n trinity-ksvg -/sbin/ldconfig || : - -########## - -%package -n trinity-kview -Summary: Simple image viewer/converter for Trinity -Group: Applications/Graphics - -%description -n trinity-kview -KView is a simple image viewer and converter application. It supports -a number of plugins, which add an array of basic editing capabilities -as well. - -%files -n trinity-kview -%defattr(-,root,root,-) -%{tde_bindir}/kview -%{tde_tdelibdir}/kcm_kviewcanvasconfig.la -%{tde_tdelibdir}/kcm_kviewcanvasconfig.so -%{tde_tdelibdir}/kcm_kviewgeneralconfig.la -%{tde_tdelibdir}/kcm_kviewgeneralconfig.so -%{tde_tdelibdir}/kcm_kviewpluginsconfig.la -%{tde_tdelibdir}/kcm_kviewpluginsconfig.so -%{tde_tdelibdir}/kcm_kviewpresenterconfig.la -%{tde_tdelibdir}/kcm_kviewpresenterconfig.so -%{tde_tdelibdir}/kcm_kviewviewerpluginsconfig.la -%{tde_tdelibdir}/kcm_kviewviewerpluginsconfig.so -%{tde_tdelibdir}/kview.la -%{tde_tdelibdir}/kview.so -%{tde_tdelibdir}/kview_browserplugin.la -%{tde_tdelibdir}/kview_browserplugin.so -%{tde_tdelibdir}/kview_effectsplugin.la -%{tde_tdelibdir}/kview_effectsplugin.so -%{tde_tdelibdir}/kview_presenterplugin.la -%{tde_tdelibdir}/kview_presenterplugin.so -%{tde_tdelibdir}/kview_scannerplugin.la -%{tde_tdelibdir}/kview_scannerplugin.so -%{tde_tdelibdir}/libkviewcanvas.la -%{tde_tdelibdir}/libkviewcanvas.so -%{tde_tdelibdir}/libkviewviewer.la -%{tde_tdelibdir}/libkviewviewer.so -%{tde_libdir}/lib[kt]deinit_kview.so -%{tde_libdir}/libkimageviewer.so.* -%{tde_tdelibdir}/libphotobook.la -%{tde_tdelibdir}/libphotobook.so -%{tde_tdeappdir}/kview.desktop -%{tde_datadir}/apps/kview/ -%{tde_datadir}/apps/kviewviewer/ -%{tde_datadir}/apps/photobook/photobookui.rc -%{tde_datadir}/icons/crystalsvg/*/apps/photobook.png -%{tde_datadir}/icons/hicolor/*/apps/kview.png -%{tde_datadir}/services/kconfiguredialog/kviewcanvasconfig.desktop -%{tde_datadir}/services/kconfiguredialog/kviewgeneralconfig.desktop -%{tde_datadir}/services/kconfiguredialog/kviewpluginsconfig.desktop -%{tde_datadir}/services/kconfiguredialog/kviewpresenterconfig.desktop -%{tde_datadir}/services/kconfiguredialog/kviewviewerpluginsconfig.desktop -%{tde_datadir}/services/kviewcanvas.desktop -%{tde_datadir}/services/kviewviewer.desktop -%{tde_datadir}/services/photobook.desktop -%{tde_datadir}/servicetypes/kimageviewer.desktop -%{tde_datadir}/servicetypes/kimageviewercanvas.desktop -%{tde_tdedocdir}/HTML/en/kview/ - -%post -n trinity-kview -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : -/sbin/ldconfig || : - -%postun -n trinity-kview -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : -/sbin/ldconfig || : - -########## - -%package -n trinity-kviewshell -Summary: Generic framework for viewer applications in Trinity -Group: Applications/Graphics - -%description -n trinity-kviewshell -KViewShell is a generic viewing framework that allows the graphical -applications, such as the kview image viewer, to be embedded in other -KDE applications, such as Konqueror. - -KViewShell comes with a djvuviewpart plugin included, for viewing -DjVu images. - -%files -n trinity-kviewshell -%defattr(-,root,root,-) -%{tde_bindir}/kviewshell -%{tde_libdir}/libdjvu.la -%{tde_libdir}/libdjvu.so -%{tde_tdelibdir}/djvuviewpart.so -%{tde_tdelibdir}/djvuviewpart.la -%{tde_tdelibdir}/emptymultipagepart.la -%{tde_tdelibdir}/emptymultipagepart.so -%{tde_tdelibdir}/kviewerpart.la -%{tde_tdelibdir}/kviewerpart.so -%{tde_libdir}/libkmultipage.so.* -%{tde_datadir}/apps/djvumultipage.rc -%{tde_datadir}/apps/kviewerpart/ -%{tde_datadir}/apps/kviewshell/kviewshell.rc -%{tde_datadir}/config.kcfg/djvumultipage.kcfg -%{tde_datadir}/config.kcfg/kviewshell.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/kviewshell.png -%{tde_datadir}/services/emptymultipage.desktop -%{tde_datadir}/services/djvumultipage.desktop -%{tde_datadir}/servicetypes/kmultipage.desktop - -%post -n trinity-kviewshell -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -%postun -n trinity-kviewshell -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -########## - -%package -n trinity-libkscan -Summary: Scanner library for Trinity -Group: Environment/Libraries - -%description -n trinity-libkscan -KScan is TDE's scanner library. It's used by kooka and by koffice currently. -It provides an easy-to-use library, which allows you to access your scanner -(as long as it's sane compatible). - -%files -n trinity-libkscan -%defattr(-,root,root,-) -%{tde_libdir}/libkscan.so.* -%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_color.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_gray.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_halftone.png -%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_lineart.png -%{tde_datadir}/services/scanservice.desktop - -%post -n trinity-libkscan -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -%postun -n trinity-libkscan -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -########## - -%package -n trinity-libkscan-devel -Summary: Development files for the Trinity scanner library -Group: Development/Libraries - -%description -n trinity-libkscan-devel -This package contains development files for Trinity's scanner library. - -%files -n trinity-libkscan-devel -%defattr(-,root,root,-) -%{tde_libdir}/libkscan.la -%{tde_libdir}/libkscan.so - -%post -n trinity-libkscan-devel -/sbin/ldconfig || : - -%postun -n trinity-libkscan-devel -/sbin/ldconfig || : - -########## - -%package libpoppler-tqt -Summary: TQt support for Poppler -Group: Environment/Libraries -Provides: poppler-tqt = %{version}-%{release} - -%description libpoppler-tqt -TQt support library for Poppler. -This library is used by the Trinity graphics file plugins for PDF support. - -%files libpoppler-tqt -%defattr(-,root,root,-) -%{tde_libdir}/libpoppler-tqt.so.* - -%post libpoppler-tqt -/sbin/ldconfig || : - -%postun libpoppler-tqt -/sbin/ldconfig || : - -########## - -%package libpoppler-tqt-devel -Summary: Development files for TQt support for Poppler -Group: Development/Libraries -Requires: %{name}-libpoppler-tqt -Provides: poppler-tqt-devel = %{version}-%{release} - -%description libpoppler-tqt-devel -Development files of TQt support library for Poppler. -This package contains the development files needed to compile applications against poppler-tqt. - -%files libpoppler-tqt-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/poppler-link-qt3.h -%{tde_tdeincludedir}/poppler-page-transition.h -%{tde_tdeincludedir}/poppler-qt.h -%{tde_libdir}/libpoppler-tqt.la -%{tde_libdir}/libpoppler-tqt.so -%{tde_libdir}/pkgconfig/poppler-tqt.pc - -%post libpoppler-tqt-devel -/sbin/ldconfig || : - -%postun libpoppler-tqt-devel -/sbin/ldconfig || : - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries - -Obsoletes: trinity-kdegraphics-devel < %{version}-%{release} -Provides: trinity-kdegraphics-devel = %{version}-%{release} - -Requires: %{name} = %{version}-%{release} -Requires: trinity-libkscan-devel = %{version}-%{release} -Requires: %{name}-libpoppler-tqt-devel = %{version}-%{release} - -%description devel -%{summary}. - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/dom/ -%{tde_tdeincludedir}/kfaximage.h -%{tde_tdeincludedir}/kmultipageInterface.h -%{tde_tdeincludedir}/ksvg/ -%{tde_tdeincludedir}/kviewshell/ -%{tde_tdeincludedir}/libtext2path-0.1/BezierPath.h -%{tde_tdeincludedir}/libtext2path-0.1/Glyph.h -%{tde_tdeincludedir}/libtext2path-0.1/GlyphTracer.h -%{tde_libdir}/lib[kt]deinit_kview.la -%{tde_libdir}/lib[kt]deinit_mrmlsearch.la -%{tde_libdir}/libkghostviewlib.la -%{tde_libdir}/libkghostviewlib.so -%{tde_libdir}/libkimageviewer.la -%{tde_libdir}/libkimageviewer.so -%{tde_libdir}/libkmultipage.la -%{tde_libdir}/libkmultipage.so -%{tde_libdir}/libkpovmodeler.la -%{tde_libdir}/libkpovmodeler.so -%{tde_libdir}/libksvg.la -%{tde_libdir}/libksvg.so -%{tde_libdir}/libtext2path.la -%{tde_libdir}/libtext2path.so -# kfaxview -%{tde_libdir}/libkfaximage.so -%{tde_libdir}/libkfaximage.la -# cmake -%{tde_datadir}/cmake/* - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - -############ - -# Excludes kuickshow (built separately) -#%exclude %{tde_bindir}/kuickshow -#%exclude %{tde_tdelibdir}/kuickshow.la -#%exclude %{tde_tdelibdir}/kuickshow.so -#%exclude %{tde_libdir}/lib[kt]deinit_kuickshow.la -#%exclude %{tde_libdir}/lib[kt]deinit_kuickshow.so -#%exclude %{tde_tdeappdir}/kuickshow.desktop -#%exclude %{tde_datadir}/apps/kuickshow/ -#%exclude %{tde_datadir}/icons/hicolor/*/apps/kuickshow.png -#%exclude %{tde_tdedocdir}/HTML/en/kuickshow/ - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q - -%if 0%{?rhel} && 0%{?rhel} <= 5 -%patch3 -p1 -b .mkstemps -%endif - -%if 0%{?rhel} == 4 -%patch201 -p1 -b .rhel4 -%endif - -%if 0%{?build_kamera} == 0 -%__rm -rf doc/kamera/ -%endif - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" - -# Do not build against any "/usr" installed KDE -export KDEDIR=%{tde_prefix} - -# Specific path for RHEL4 -if [ -d /usr/X11R6 ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \ - -DCMAKE_SKIP_RPATH="OFF" \ - %{?with_t1lib:-DWITH_T1LIB=ON} \ - %{?with_paper:-DWITH_LIBPAPER=ON} \ - -DWITH_TIFF=ON \ - -DWITH_OPENEXR=ON \ - -DWITH_PDF=ON \ - -DBUILD_ALL=ON \ - -DBUILD_KUICKSHOW=OFF \ - %{!?build_kamera:-DBUILD_KAMERA=OFF} \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - -# locale's -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common - done - popd - fi -done -fi - -# rpmdocs -for dir in k* ; do - for file in AUTHORS ChangeLog README TODO ; do - if test -s "$dir/$file" ; then - install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file" - echo "%doc rpmdocs/$dir/" >> %{name}.lang - fi - done -done - - -%clean -%__rm -rf %{buildroot} - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 -- Initial release for TDE 3.5.13.2 diff --git a/redhat/tdelibs/kdelibs-3.5.12.spec b/redhat/tdelibs/kdelibs-3.5.12.spec new file mode 100644 index 000000000..4c31bba3e --- /dev/null +++ b/redhat/tdelibs/kdelibs-3.5.12.spec @@ -0,0 +1,369 @@ +# Default version for this component +%if "%{?version}" == "" +%define version 3.5.12 +%endif +%define release 10 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_prefix}/share/doc +%endif + +# TDE 3.5.12 specific variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir} +%define tde_libdir %{_libdir}/kde3 + +# Older RHEL/Fedora versions use packages named "qt", "qt-devel", .. +# whereas newer versions use "qt3", "qt3-devel" ... +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 8 +%define _qt_suffix 3 +%endif + + +Name: trinity-kdelibs +Version: %{version} +Release: %{?release}%{?dist}%{?_variant} +License: GPL +Summary: TDE Libraries +Group: System Environment/Libraries + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: kdelibs-%{version}.tar.gz + +# TDE 3.5.12 patches for RHEL/Fedora build +## [kdelibs/kio/kio] Removes the maximum line length detection +Patch0: kdelibs-3.5.13-maxlinelength.patch +## [kdecore] sets TDE 3.5.12 defaults directories +Patch1: kdelibs-3.5.12-kstandarddirs_trinity.patch +## [kdelibs/kdecore] fixed a conflict between fixx11h.h and Xdefs.h +Patch2: kdelibs-3.5.12-fixx11h.patch + +BuildRequires: libtool +BuildRequires: tqtinterface-devel +BuildRequires: trinity-arts-devel +BuildRequires: avahi-devel +BuildRequires: lua-devel +BuildRequires: krb5-devel libxslt-devel cups-devel libart_lgpl-devel pcre-devel +BuildRequires: libutempter-devel +BuildRequires: bzip2-devel +BuildRequires: openssl-devel +BuildRequires: gcc-c++ +BuildRequires: alsa-lib-devel +BuildRequires: libidn-devel +BuildRequires: qt%{?_qt_suffix}-devel +BuildRequires: avahi-qt3-devel +BuildRequires: jasper-devel +BuildRequires: libtiff-devel +BuildRequires: OpenEXR-devel +BuildRequires: libtool-ltdl-devel +BuildRequires: glib2-devel + +Requires: tqtinterface +Requires: trinity-arts +Requires: avahi +Requires: qt%{?_qt_suffix} +Requires: avahi-qt3 + + +#Provides: kdelibs%{?_qt_suffix} = %{version} +%if "%{?_prefix}" == "/usr" +Obsoletes: kdelibs%{?_qt_suffix} <= 3.5.10 +%endif + +%description +Libraries for the Trinity Desktop Environment: +KDE Libraries included: kdecore (KDE core library), kdeui (user interface), +kfm (file manager), khtmlw (HTML widget), kio (Input/Output, networking), +kspell (spelling checker), jscript (javascript), kab (addressbook), +kimgio (image manipulation). + + +%package devel +Summary: %{name} - Development files +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Provides: kdelibs%{?_qt_suffix}-devel = %{version} +%if "%{?_prefix}" == "/usr" +Obsoletes: kdelibs%{?_qt_suffix}-devel <= 3.5.10 +%endif + +%description devel +This package includes the header files you will need to compile +applications for TDE. + +%package apidocs +Group: Development/Libraries +Summary: %{name} - API documentation +Requires: %{name} = %{version}-%{release} +Provides: kdelibs%{?_qt_suffix}-apidocs = %{version} +%if "%{?_prefix}" == "/usr" +Obsoletes: kdelibs%{?_qt_suffix}-apidocs <= 3.5.10 +%endif + +%description apidocs +This package includes the TDE API documentation in HTML +format for easy browsing + + +%prep +%setup -q -n kdelibs +%patch0 -p1 +%patch1 -p1 +%patch2 -p3 + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{_bindir}:${PATH}" +export LD_LIBRARY_PATH="%{_libdir}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +# On older RHEL, libXrandr is too old so krandr cannot be compiled. +# Kspell2 does not compile either. +%if 0%{?rhel} && 0%{?rhel} <= 5 +export DO_NOT_COMPILE="krandr" +%endif + +%configure \ + --disable-rpath \ + --enable-new-ldflags \ + --disable-dependency-tracking \ + --disable-debug --disable-warnings --enable-final \ + --disable-fast-malloc \ + --enable-cups \ + --enable-mitshm \ + --enable-pie \ + --enable-sendfile \ + --with-distribution="$(cat /etc/redhat-release 2>/dev/null)" \ + --with-alsa \ + --without-aspell \ + --without-hspell \ + --disable-libfam \ + --enable-dnotify \ + --enable-inotify \ + --with-utempter \ + --with-jasper \ + --with-openexr \ + --with-xinerama \ + --enable-closure \ + --with-extra-includes=%{_includedir}/tqt + +# Do NOT use %{?_smp_mflags} for this package, or it will fail to build ! +%__make + + +%install +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{?buildroot} + +%if "%{?_prefix}" != "/usr" +%__mkdir_p "%{?buildroot}%{_sysconfdir}/ld.so.conf.d" +cat <"%{?buildroot}%{_sysconfdir}/ld.so.conf.d/trinity.conf" +%{_libdir} +EOF +%endif + +# Moves the XDG configuration files to TDE directory +%if "%{_prefix}" != "/usr" +%__install -p -D -m644 \ + "%{?buildroot}%{_sysconfdir}/xdg/menus/applications.menu" \ + "%{?buildroot}%{_prefix}/etc/xdg/menus/kde-applications.menu" +%__rm -rf "%{?buildroot}%{_sysconfdir}/xdg" +%else +%__mv -f "%{?buildroot}%{_sysconfdir}/xdg/menus/applications.menu" "%{?buildroot}%{_sysconfdir}/xdg/menus/kde-applications.menu" +%endif + + +%clean +%__rm -rf %{?buildroot} + + +%post +/sbin/ldconfig + +%postun +/sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING* README TODO +%{_bindir}/artsmessage +%{_bindir}/cupsdconf +%{_bindir}/cupsdoprint +%{_bindir}/dcop +%{_bindir}/dcopclient +%{_bindir}/dcopfind +%{_bindir}/dcopobject +%{_bindir}/dcopquit +%{_bindir}/dcopref +%{_bindir}/dcopserver +%{_bindir}/dcopserver_shutdown +%{_bindir}/dcopstart +%{_bindir}/filesharelist +%{_bindir}/fileshareset +%{_bindir}/imagetops +%{_bindir}/kab2kabc +%{_bindir}/kaddprinterwizard +%{_bindir}/kbuildsycoca +%{_bindir}/kcmshell +%{_bindir}/kconf_update +%{_bindir}/kcookiejar +%{_bindir}/kde-config +%{_bindir}/kde-menu +%{_bindir}/kded +%{_bindir}/kdeinit +%{_bindir}/kdeinit_shutdown +%{_bindir}/kdeinit_wrapper +%{_bindir}/kdesu_stub +%{_bindir}/kdontchangethehostname +%{_bindir}/kdostartupconfig +%{_bindir}/kfile +%{_bindir}/kfmexec +%{_bindir}/khotnewstuff +%{_bindir}/kinstalltheme +%{_bindir}/kio_http_cache_cleaner +%{_bindir}/kio_uiserver +%{_bindir}/kioexec +%{_bindir}/kioslave +%{_bindir}/klauncher +%{_bindir}/kmailservice +%{_bindir}/kmimelist +%attr(4755,root,root) %{_bindir}/kpac_dhcp_helper +%{_bindir}/ksendbugmail +%{_bindir}/kshell +%{_bindir}/kstartupconfig +%{_bindir}/ktelnetservice +%{_bindir}/ktradertest +%{_bindir}/kwrapper +%{_bindir}/lnusertemp +%{_bindir}/make_driver_db_cups +%{_bindir}/make_driver_db_lpr +%{_bindir}/meinproc +%{_bindir}/networkstatustestservice +%{_bindir}/start_kdeinit +%{_bindir}/start_kdeinit_wrapper +%attr(4755,root,root) %{_bindir}/kgrantpty +%{_libdir}/lib*.so.* +%{_libdir}/libkdeinit_*.so +%{_libdir}/lib*.la +%{tde_libdir}/ +%{_datadir}/applications/kde/*.desktop +%{_datadir}/autostart/kab2kabc.desktop +%{_datadir}/applnk/kio_iso.desktop +%{_datadir}/apps/* +%exclude %{_datadir}/apps/ksgmltools2/ +%config(noreplace) %{_datadir}/config/* +%{_datadir}/emoticons/* +%{_datadir}/icons/default.kde +%{_datadir}/mimelnk/magic +%{_datadir}/mimelnk/*/*.desktop +%{_datadir}/services/* +%{_datadir}/servicetypes/* +%{_datadir}/icons/crystalsvg/ +%{tde_docdir}/HTML/en/kspell +# remove conflicts with kdelibs-4 +%if "%{?_prefix}" != "/usr" +%{_bindir}/checkXML +%{_bindir}/ksvgtopng +%{_bindir}/kunittestmodrunner +%{_bindir}/preparetips +%{_datadir}/icons/hicolor/index.theme +%{_datadir}/locale/all_languages +%{tde_docdir}/HTML/en/common/* +%else +%exclude %{_bindir}/checkXML +%exclude %{_bindir}/ksvgtopng +%exclude %{_bindir}/kunittestmodrunner +%exclude %{_bindir}/preparetips +%exclude %{_datadir}/config/colors +%exclude %{_datadir}/config/kdebug.areas +%exclude %{_datadir}/config/kdebugrc +%exclude %{_datadir}/config/ksslcalist +%exclude %{_datadir}/config/ui/ui_standards.rc +%exclude %{_datadir}/icons/hicolor/index.theme +%exclude %{_datadir}/locale/all_languages +%exclude %{tde_docdir}/HTML/en/common/* +%endif +# ld.so.conf needed only if installed under '/opt/trinity' +%if "%{?_prefix}" != "/usr" +%{_sysconfdir}/ld.so.conf.d/trinity.conf +%endif + +# Avoid conflict with 'redhat-menus' package +%if "%{_prefix}" == "/usr" +%{_sysconfdir}/xdg/menus/kde-applications.menu +%else +%{_prefix}/etc/xdg/menus/kde-applications.menu +%endif + +%files devel +%defattr(-,root,root,-) +%{_bindir}/dcopidl* +%{_bindir}/kconfig_compiler +%{_bindir}/makekdewidgets +%{_datadir}/apps/ksgmltools2/ +%{_includedir}/ +%{_libdir}/lib*.so +%{_libdir}/lib*.a +%exclude %{_libdir}/libkdeinit_*.so + +%files apidocs +%defattr(-,root,root,-) +%{_docdir}/%{name}-%{version}/ +%{tde_docdir}/HTML/en/kdelibs* + + +%changelog +* Fri Dec 09 2011 Francois Andriot - 3.5.12-10 +- Fix conflict with distro-provided KDE +- Fix HTML directory location +- Change defaults TDE directory to '/etc/trinity' and '~/.trinity' +- Removes 'ld.so.conf.d' when installed under '/usr' + +* Sun Nov 29 2011 Francois Andriot - 3.5.12-9 +- Moves XDG files in TDE prefix to avoid conflict with distro-provided KDE +- Disable 'max line length' detection +- Add missing BuildRequires + +* Fri Sep 16 2011 Francois Andriot - 3.5.12-8 +- Add support for RHEL 5. + +* Thu Sep 15 2011 Francois Andriot - 3.5.12-7 +- Add missings 'BuildRequires' +- Re-add lost 'ld.so.conf' file + +* Mon Sep 12 2011 Francois Andriot - 3.5.12-6 +- Add "Group" field + +* Sun Sep 04 2011 Francois Andriot - 3.5.12-5 +- Import to GIT +- Removes cmake stuff, build with autotools only + +* Tue Aug 23 2011 Francois Andriot - 3.5.12-4 +- Add missing BuildRequires + +* Mon Aug 22 2011 Francois Andriot - 3.5.12-3 +- Correct macro to install under "/opt", if desired + +* Sun Dec 19 2010 Francois Andriot - 3.5.12-2 +- Rebuilt + +* Fri Dec 17 2010 Francois Andriot - 3.5.12-1 +- Add macro _kde3_prefix to define custom installation prefix (ex: /opt/trinity) +- Add '--with-extra-includes=%{_includedir}/tqt' + +* Wed Dec 14 2010 Francois Andriot - 3.5.12-0 +- Initial version diff --git a/redhat/tdelibs/kdelibs-3.5.13.1.spec b/redhat/tdelibs/kdelibs-3.5.13.1.spec new file mode 100644 index 000000000..67847efec --- /dev/null +++ b/redhat/tdelibs/kdelibs-3.5.13.1.spec @@ -0,0 +1,434 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +Name: trinity-tdelibs +Version: 3.5.13.1 +Release: 2%{?dist}%{?_variant} +License: GPL +Summary: TDE Libraries +Group: Environment/Libraries + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: kdelibs-3.5.13.1.tar.gz + +# [kdelibs] Security popup always appear on invalid SSL certificate, even when set +# to "always accept" [Bug #1287] +Patch1: kdelibs-3.5.13.1-disable_invalid_certificate_always_prompt.patch + +Obsoletes: tdelibs < %{version}-%{release} +Provides: tdelibs = %{version}-%{release} +Obsoletes: trinity-kdelibs < %{version}-%{release} +Provides: trinity-kdelibs = %{version}-%{release} +Obsoletes: trinity-kdelibs-apidocs < %{version}-%{release} +Provides: trinity-kdelibs-apidocs = %{version}-%{release} + + +BuildRequires: cmake >= 2.8 +BuildRequires: libtool +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: krb5-devel +BuildRequires: libxslt-devel +BuildRequires: cups-devel +BuildRequires: libart_lgpl-devel +BuildRequires: pcre-devel +BuildRequires: openssl-devel +BuildRequires: gcc-c++ +BuildRequires: alsa-lib-devel +BuildRequires: libidn-devel +BuildRequires: qt3-devel +BuildRequires: libtiff-devel +BuildRequires: glib2-devel +BuildRequires: gamin-devel +BuildRequires: aspell +BuildRequires: aspell-devel +# LUA support are not ready yet +#BuildRequires: lua-devel + + + +# BZIP2 support +%if 0%{?suse_version} +BuildRequires: libbz2-devel +%else +BuildRequires: bzip2-devel +%endif + +# UTEMPTER support +%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: libutempter-devel +%endif +%if 0%{?rhel} == 4 +BuildRequires: utempter +%endif +%if 0%{?suse_version} +BuildRequires: utempter-devel +%endif + +# HSPELL support +%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_hspell 1 +BuildRequires: hspell-devel +%endif + +# JASPER support +%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_jasper 1 +%if 0%{?suse_version} +BuildRequires: libjasper-devel +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}jasper-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: jasper-devel +%endif +%endif + +# AVAHI support +%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_avahi 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: trinity-avahi-tqt-devel >= %{version} +BuildRequires: %{_lib}avahi-client-devel +Requires: %{_lib}avahi-client3 +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} +BuildRequires: trinity-avahi-tqt-devel >= %{version} +BuildRequires: avahi-devel +Requires: avahi +%endif +%endif + +# OPENEXR support +%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_openexr 1 +BuildRequires: OpenEXR-devel +%endif + +# LIBTOOL +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}ltdl-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} +BuildRequires: libtool-ltdl-devel +%endif +%if 0%{?rhel} == 4 +BuildRequires: libtool +%endif + +# X11 support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: x11-proto-devel +BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} +BuildRequires: xorg-x11-proto-devel +BuildRequires: libXcomposite-devel +%endif +%if 0%{?rhel} == 4 +BuildRequires: xorg-x11-devel +%endif + +# ICEAUTH +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +Requires: iceauth +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} +Requires: xorg-x11-server-utils +%endif +%if 0%{?rhel} == 4 +Requires: xorg-x11 +%endif + +Requires: trinity-tqtinterface >= %{version} +Requires: trinity-arts >= %{version} +Requires: qt3 >= 3.3.8.d + +%description +Libraries for the Trinity Desktop Environment: +TDE Libraries included: tdecore (TDE core library), kdeui (user interface), +kfm (file manager), khtmlw (HTML widget), kio (Input/Output, networking), +kspell (spelling checker), jscript (javascript), kab (addressbook), +kimgio (image manipulation). + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING COPYING-DOCS COPYING.LIB README TODO +%{tde_bindir}/artsmessage +%{tde_bindir}/cupsdconf +%{tde_bindir}/cupsdoprint +%{tde_bindir}/dcop +%{tde_bindir}/dcopclient +%{tde_bindir}/dcopfind +%{tde_bindir}/dcopobject +%{tde_bindir}/dcopquit +%{tde_bindir}/dcopref +%{tde_bindir}/dcopserver +%{tde_bindir}/dcopserver_shutdown +%{tde_bindir}/dcopstart +%{tde_bindir}/filesharelist +%{tde_bindir}/fileshareset +%{tde_bindir}/imagetops +%{tde_bindir}/kab2kabc +%{tde_bindir}/kaddprinterwizard +%{tde_bindir}/kbuildsycoca +%{tde_bindir}/kcmshell +%{tde_bindir}/kconf_update +%{tde_bindir}/kcookiejar +%{tde_bindir}/kde-config +%{tde_bindir}/kde-menu +%{tde_bindir}/kded +%{tde_bindir}/kdeinit +%{tde_bindir}/kdeinit_shutdown +%{tde_bindir}/kdeinit_wrapper +%{tde_bindir}/kdesu_stub +%{tde_bindir}/kdontchangethehostname +%{tde_bindir}/kdostartupconfig +%{tde_bindir}/kfile +%{tde_bindir}/kfmexec +%{tde_bindir}/khotnewstuff +%{tde_bindir}/kinstalltheme +%{tde_bindir}/kio_http_cache_cleaner +%{tde_bindir}/kio_uiserver +%{tde_bindir}/kioexec +%{tde_bindir}/kioslave +%{tde_bindir}/klauncher +%{tde_bindir}/kmailservice +%{tde_bindir}/kmimelist +%attr(4755,root,root) %{tde_bindir}/kpac_dhcp_helper +%{tde_bindir}/ksendbugmail +%{tde_bindir}/kshell +%{tde_bindir}/kstartupconfig +%{tde_bindir}/ktelnetservice +%{tde_bindir}/ktradertest +%{tde_bindir}/kwrapper +%{tde_bindir}/lnusertemp +%{tde_bindir}/make_driver_db_cups +%{tde_bindir}/make_driver_db_lpr +%{tde_bindir}/meinproc +%{tde_bindir}/networkstatustestservice +%{tde_bindir}/start_kdeinit +%{tde_bindir}/start_kdeinit_wrapper +%attr(4755,root,root) %{tde_bindir}/kgrantpty +%{tde_tdelibdir}/* +%{tde_libdir}/lib*.so.* +%{tde_libdir}/lib[kt]deinit_*.la +%{tde_libdir}/lib[kt]deinit_*.so +%{tde_datadir}/applications/kde/*.desktop +%{tde_datadir}/autostart/kab2kabc.desktop +%{tde_datadir}/applnk/kio_iso.desktop +%{tde_datadir}/apps/* +%exclude %{tde_datadir}/apps/ksgmltools2/ +%config(noreplace) %{tde_datadir}/config/* +%{tde_datadir}/emoticons/* +%{tde_datadir}/icons/default.kde +%{tde_datadir}/mimelnk/magic +%{tde_datadir}/mimelnk/*/*.desktop +%{tde_datadir}/services/* +%{tde_datadir}/servicetypes/* +%{tde_datadir}/icons/crystalsvg/ +%{tde_tdedocdir}/HTML/en/kspell/ +# remove conflicts with kdelibs-4 +%if "%{?tde_prefix}" != "/usr" +%{tde_bindir}/checkXML +%{tde_bindir}/ksvgtopng +%{tde_bindir}/kunittestmodrunner +%{tde_bindir}/preparetips +%{tde_datadir}/icons/hicolor/index.theme +%{tde_datadir}/locale/all_languages +%{tde_tdedocdir}/HTML/en/common/* +%{_sysconfdir}/ld.so.conf.d/trinity.conf +%else +%exclude %{tde_bindir}/checkXML +%exclude %{tde_bindir}/ksvgtopng +%exclude %{tde_bindir}/kunittestmodrunner +%exclude %{tde_bindir}/preparetips +%exclude %{tde_datadir}/config/colors +%exclude %{tde_datadir}/config/kdebug.areas +%exclude %{tde_datadir}/config/kdebugrc +%exclude %{tde_datadir}/config/ksslcalist +%exclude %{tde_datadir}/config/ui/ui_standards.rc +%exclude %{tde_datadir}/icons/hicolor/index.theme +%exclude %{tde_datadir}/locale/all_languages +%exclude %{tde_tdedocdir}/HTML/en/common/* +%endif + +# Avoid conflict with 'redhat-menus' package +%if "%{tde_prefix}" == "/usr" +%{_sysconfdir}/xdg/menus/kde-applications.menu +%else +%{tde_prefix}/etc/xdg/menus/kde-applications.menu +%endif + +# New in TDE 3.5.13 +%{tde_bindir}/kdetcompmgr + +%pre +# Bug 1074 +if [ -d %{tde_datadir}/locale/all_languages ]; then + rm -rf %{tde_datadir}/locale/all_languages +fi + +%post +/sbin/ldconfig || : + +%postun +/sbin/ldconfig || : + +########## + +%package devel +Summary: %{name} - Development files +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +Obsoletes: tdelibs-devel < %{version}-%{release} +Provides: tdelibs-devel = %{version}-%{release} +Obsoletes: trinity-kdelibs-devel < %{version}-%{release} +Provides: trinity-kdelibs-devel = %{version}-%{release} + +%description devel +This package includes the header files you will need to compile +applications for TDE. + +%files devel +%defattr(-,root,root,-) +%{tde_bindir}/dcopidl* +%{tde_bindir}/kconfig_compiler +%{tde_bindir}/makekdewidgets +%{tde_datadir}/apps/ksgmltools2/ +%{tde_tdeincludedir}/* +%{tde_libdir}/*.la +%{tde_libdir}/*.so +%{tde_libdir}/*.a +%exclude %{tde_libdir}/libkdeinit_*.la +%exclude %{tde_libdir}/libkdeinit_*.so + +# New in TDE 3.5.13 +%{tde_datadir}/cmake/kdelibs.cmake + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n kdelibs-3.5.13.1 +%patch1 -p1 + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${QTDIR}/bin:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" + +# We need LD_LIBRARY_PATH here because ld.so.conf file has not been written yet +export LD_LIBRARY_PATH="%{tde_libdir}" + +if [ -d /usr/X11R6 ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -L/usr/X11R6/%{_lib} -I/usr/X11R6/include" +fi + + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DDOC_INSTALL_DIR=%{tde_docdir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DPKGCONFIG_INSTALL_DIR=%{tde_libdir}/pkgconfig \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DWITH_ARTS=ON \ + -DWITH_ALSA=ON \ + -DWITH_LIBART=ON \ + -DWITH_LIBIDN=ON \ + -DWITH_SSL=ON \ + -DWITH_CUPS=ON \ + -DWITH_LUA=OFF \ + -DWITH_TIFF=ON \ + %{?with_jasper:-DWITH_JASPER=ON} \ + %{?with_hspell:-DWITH_HSPELL=ON} \ + %{?with_openexr:-DWITH_OPENEXR=ON} \ + %{?with_avahi:-DWITH_AVAHI=ON} \ +%if 0%{?rhel} == 4 + -DWITH_PCRE=OFF \ + -DWITH_INOTIFY=OFF \ +%else + -DWITH_PCRE=ON \ + -DWITH_INOTIFY=ON \ +%endif + -DWITH_UTEMPTER=ON \ + -DWITH_ASPELL=ON \ + -DWITH_GAMIN=ON \ + .. + +%__make %{?_smp_mflags} + + +%install +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{?buildroot} -C build + +%if "%{?tde_prefix}" != "/usr" +%__mkdir_p %{?buildroot}%{_sysconfdir}/ld.so.conf.d +cat <%{?buildroot}%{_sysconfdir}/ld.so.conf.d/trinity.conf +%{tde_libdir} +EOF +%endif + +# Moves the XDG configuration files to TDE directory +%if "%{tde_prefix}" != "/usr" +%__install -p -D -m644 \ + "%{?buildroot}%{_sysconfdir}/xdg/menus/applications.menu" \ + "%{?buildroot}%{tde_prefix}/etc/xdg/menus/kde-applications.menu" +%__rm -rf "%{?buildroot}%{_sysconfdir}/xdg" +%else +%__mv -f "%{?buildroot}%{_sysconfdir}/xdg/menus/applications.menu" "%{?buildroot}%{_sysconfdir}/xdg/menus/kde-applications.menu" +%endif + + +%clean +%__rm -rf %{?buildroot} + + +%changelog +* Tue Sep 11 2012 Francois Andriot - 3.5.13.1-1 +- Initial build for TDE 3.5.13.1 diff --git a/redhat/tdelibs/kdelibs-3.5.13.spec b/redhat/tdelibs/kdelibs-3.5.13.spec new file mode 100644 index 000000000..0392162bf --- /dev/null +++ b/redhat/tdelibs/kdelibs-3.5.13.spec @@ -0,0 +1,520 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +Name: trinity-tdelibs +Version: 3.5.13 +Release: 12%{?dist}%{?_variant} +License: GPL +Summary: TDE Libraries +Group: Environment/Libraries + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: kdelibs-%{version}.tar.gz + +Obsoletes: tdelibs < %{version}-%{release} +Provides: tdelibs = %{version}-%{release} +Obsoletes: trinity-kdelibs < %{version}-%{release} +Provides: trinity-kdelibs = %{version}-%{release} +Obsoletes: trinity-kdelibs-apidocs < %{version}-%{release} +Provides: trinity-kdelibs-apidocs = %{version}-%{release} + +## [kdelibs/kio] Disable 'max line length' detection [Bug #656] +Patch10: kdelibs-3.5.13-maxlinelength.patch +## [kdelibs/kjs] Enable pcre support in kdelibs [Bug #569] +Patch11: kdelibs-3.5.13-enable_pcre.patch +## [kdelibs/kate] Updated syntax highlighting files [Bug #764] +Patch12: kdelibs-3.5.13-kate_syntax.patch.gz +## [kdelibs] Adds Inotify support (backport commit 24f144fa) +Patch13: kdelibs-3.5.13-add_inotify_support.patch +## [kdelibs] Add fam/gamin support to tdelibs CMake (backport commit 2b035349) +Patch14: kdelibs-3.5.13-enable_fam_gamin.patch +## [kdelibs/kioslave/http] Fix UTF8 Encoding for WebDAV directories [Bug #766] [Commit #e131f10b] +Patch15: kdelibs-3.5.13-fix_UTF8_encoding_for_WebDAV_directories.patch +## [kdelibs/kdeprint] Fix add printer [Bug #383] +Patch16: kdelibs-3.5.13-fix_add_printer.patch +## [kdelibs/kio/kdirwatch] Fix "Konqueror: Does not update file pane with file changes" [Bug #756] +Patch17: kdelibs-3.5.13-fix_kdirwatch.patch +## [kdelibs/dcop] Fix 'dcoptypes.h' for compilation with GCC 4.7 +Patch18: kdelibs-3.5.13-fix_dcoptypes_h.patch +## [tdelibs] Fix konq filter in list view mode. [Commit #06b51484] +Patch19: kdelibs-3.5.13-fix_konq_filter.patch +## [tdelibs] Fix tdesu internal pathing [Bug #766] [Commit #e131f10b] +Patch20: kdelibs-3.5.13-fix_tdesu_internal_pathing.patch +## [tdelibs] Fix slider drawing on external paint devices [Commit #a1c30c14] +Patch21: kdelibs-3.5.13-fix_slide_drawing.patch +## [tdelibs] Reduce "More Applications" and extra koffice items from TDE menu. [Commit #1c06ae32] +Patch22: kdelibs-3.5.13-reduce_more_applications.patch +## [tdelibs] Fix creation of profile directory in system root [Bug #293] [Commit #049525ee] +Patch23: kdelibs-3.5.13-fix_creation_of_profile_directory.patch +## [tdelibs] Initialize X11 threading when kinit is used to launch a program [Bug #812] [Commit #6c806af1] +Patch24: kdelibs-3.5.13-fix_x11_threading_when_kinit_is_used.patch +## [tdelibs] Fix composition extension detection [Commit #41ea89f7] +Patch25: kdelibs-3.5.13-fix_composition_extension_detection.patch +## [tdelibs] Fix KTempFile not obeying special bits on file creation [Bug #349] [Commit #9068fffd] +Patch26: kdelibs-3.5.13-fix_ktempfile_special_bits.patch +## [tdelibs] Add dynamic label support to kpassworddialog [Commit #3c752316] +Patch27: kdelibs-3.5.13-add_dynamic_label_to_kpassword.patch +## [tdelibs] Fix FTBFS - incomplete build kspell2 [Bug #657] [Commit #3e284fad] +Patch28: kdelibs-3.5.13-fix_build_kspell2.patch +## [tdelibs] Export kdemain symbol in iso kioslave [Bug #465] [Commit #0536f0b7] +Patch29: kdelibs-3.5.13-fix_iso_kioslave.patch +## [tdelibs] Fix iso kioslave not parsing large images properly [Commit #b4bba7b5] +Patch30: kdelibs-3.5.13-fix_iso_kioslave_not_parsing_large_image_properly.patch +## [tdelibs] Fix spinbox text entry when base is not 10 [Commit #d1c71f69] +Patch32: kdelibs-3.5.13-fix_spinbox_text_entry_when_base_not_10.patch +## [tdelibs] Update iso kioslave to better handle large images [Commit #dca4c677] +Patch33: kdelibs-3.5.13-update_iso_kioslave_better_handle_large_image.patch +## [tdelibs] Restore tdesu dialog "Keep password" check box default to disabled/unchecked. [Commit #87363770] +Patch34: kdelibs-3.5.13-restore_tdesu_keeppassword_default_disabled.patch +## [tdelibs] Fix language switch inside application [Bug #1074] +Patch35: kdelibs-3.5.13-fix_all_languages_installation.patch +## [tdelibs] Prevent XDG autostart files from starting multiple times [Bug #1096] [Commit #e9f29cfb] +Patch36: kdelibs-3.5.13-prevent_xdg_autostart_multiple_times.patch +## [tdelibs] Fix xrender include dir +Patch37: kdelibs-3.5.13-fix_xrender_libdir.patch + +BuildRequires: cmake >= 2.8 +BuildRequires: libtool +BuildRequires: tqtinterface-devel +BuildRequires: trinity-arts-devel +BuildRequires: avahi-tqt-devel >= 3.5.13 +BuildRequires: krb5-devel +BuildRequires: libxslt-devel +BuildRequires: cups-devel +BuildRequires: libart_lgpl-devel +BuildRequires: pcre-devel +BuildRequires: openssl-devel +BuildRequires: gcc-c++ +BuildRequires: alsa-lib-devel +BuildRequires: libidn-devel +BuildRequires: qt3-devel +BuildRequires: libtiff-devel +BuildRequires: glib2-devel +BuildRequires: gamin-devel +BuildRequires: aspell +BuildRequires: aspell-devel +BuildRequires: OpenEXR-devel +# LUA support are not ready yet +#BuildRequires: lua-devel + +%if 0%{?suse_version} +BuildRequires: utempter-devel +BuildRequires: libbz2-devel +%else +BuildRequires: libutempter-devel +BuildRequires: bzip2-devel +%endif + +%if 0%{?rhel} == 4 +BuildRequires: xorg-x11-devel +%else + +# Hspell support +%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_hspell 1 +BuildRequires: hspell-devel +%endif + +# Jasper support +%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_jasper 1 +%if 0%{?suse_version} +BuildRequires: libjasper-devel +%else +BuildRequires: jasper-devel +%endif +%endif + + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}avahi-client-devel +BuildRequires: %{_lib}ltdl-devel +BuildRequires: x11-proto-devel +BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel +Requires: %{_lib}avahi-client3 +%else +BuildRequires: avahi-devel +BuildRequires: libtool-ltdl-devel +BuildRequires: xorg-x11-proto-devel +BuildRequires: libXcomposite-devel +%endif + +Requires: avahi +%endif + +Requires: tqtinterface >= 3.5.13 +Requires: trinity-arts >= 3.5.13 +Requires: qt3 + + +%description +Libraries for the Trinity Desktop Environment: +TDE Libraries included: tdecore (TDE core library), kdeui (user interface), +kfm (file manager), khtmlw (HTML widget), kio (Input/Output, networking), +kspell (spelling checker), jscript (javascript), kab (addressbook), +kimgio (image manipulation). + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING COPYING-DOCS COPYING.LIB README TODO +%{tde_bindir}/artsmessage +%{tde_bindir}/cupsdconf +%{tde_bindir}/cupsdoprint +%{tde_bindir}/dcop +%{tde_bindir}/dcopclient +%{tde_bindir}/dcopfind +%{tde_bindir}/dcopobject +%{tde_bindir}/dcopquit +%{tde_bindir}/dcopref +%{tde_bindir}/dcopserver +%{tde_bindir}/dcopserver_shutdown +%{tde_bindir}/dcopstart +%{tde_bindir}/filesharelist +%{tde_bindir}/fileshareset +%{tde_bindir}/imagetops +%{tde_bindir}/kab2kabc +%{tde_bindir}/kaddprinterwizard +%{tde_bindir}/kbuildsycoca +%{tde_bindir}/kcmshell +%{tde_bindir}/kconf_update +%{tde_bindir}/kcookiejar +%{tde_bindir}/kde-config +%{tde_bindir}/kde-menu +%{tde_bindir}/kded +%{tde_bindir}/kdeinit +%{tde_bindir}/kdeinit_shutdown +%{tde_bindir}/kdeinit_wrapper +%{tde_bindir}/kdesu_stub +%{tde_bindir}/kdontchangethehostname +%{tde_bindir}/kdostartupconfig +%{tde_bindir}/kfile +%{tde_bindir}/kfmexec +%{tde_bindir}/khotnewstuff +%{tde_bindir}/kinstalltheme +%{tde_bindir}/kio_http_cache_cleaner +%{tde_bindir}/kio_uiserver +%{tde_bindir}/kioexec +%{tde_bindir}/kioslave +%{tde_bindir}/klauncher +%{tde_bindir}/kmailservice +%{tde_bindir}/kmimelist +%attr(4755,root,root) %{tde_bindir}/kpac_dhcp_helper +%{tde_bindir}/ksendbugmail +%{tde_bindir}/kshell +%{tde_bindir}/kstartupconfig +%{tde_bindir}/ktelnetservice +%{tde_bindir}/ktradertest +%{tde_bindir}/kwrapper +%{tde_bindir}/lnusertemp +%{tde_bindir}/make_driver_db_cups +%{tde_bindir}/make_driver_db_lpr +%{tde_bindir}/meinproc +%{tde_bindir}/networkstatustestservice +%{tde_bindir}/start_kdeinit +%{tde_bindir}/start_kdeinit_wrapper +%attr(4755,root,root) %{tde_bindir}/kgrantpty +%{tde_tdelibdir}/* +%{tde_libdir}/lib*.so.* +%{tde_libdir}/lib[kt]deinit_*.la +%{tde_libdir}/lib[kt]deinit_*.so +%{tde_datadir}/applications/kde/*.desktop +%{tde_datadir}/autostart/kab2kabc.desktop +%{tde_datadir}/applnk/kio_iso.desktop +%{tde_datadir}/apps/* +%exclude %{tde_datadir}/apps/ksgmltools2/ +%config(noreplace) %{tde_datadir}/config/* +%{tde_datadir}/emoticons/* +%{tde_datadir}/icons/default.kde +%{tde_datadir}/mimelnk/magic +%{tde_datadir}/mimelnk/*/*.desktop +%{tde_datadir}/services/* +%{tde_datadir}/servicetypes/* +%{tde_datadir}/icons/crystalsvg/ +%{tde_tdedocdir}/HTML/en/kspell/ +# remove conflicts with kdelibs-4 +%if "%{?tde_prefix}" != "/usr" +%{tde_bindir}/checkXML +%{tde_bindir}/ksvgtopng +%{tde_bindir}/kunittestmodrunner +%{tde_bindir}/preparetips +%{tde_datadir}/icons/hicolor/index.theme +%{tde_datadir}/locale/all_languages +%{tde_tdedocdir}/HTML/en/common/* +%{_sysconfdir}/ld.so.conf.d/trinity.conf +%else +%exclude %{tde_bindir}/checkXML +%exclude %{tde_bindir}/ksvgtopng +%exclude %{tde_bindir}/kunittestmodrunner +%exclude %{tde_bindir}/preparetips +%exclude %{tde_datadir}/config/colors +%exclude %{tde_datadir}/config/kdebug.areas +%exclude %{tde_datadir}/config/kdebugrc +%exclude %{tde_datadir}/config/ksslcalist +%exclude %{tde_datadir}/config/ui/ui_standards.rc +%exclude %{tde_datadir}/icons/hicolor/index.theme +%exclude %{tde_datadir}/locale/all_languages +%exclude %{tde_tdedocdir}/HTML/en/common/* +%endif + +# Avoid conflict with 'redhat-menus' package +%if "%{tde_prefix}" == "/usr" +%{_sysconfdir}/xdg/menus/kde-applications.menu +%else +%{tde_prefix}/etc/xdg/menus/kde-applications.menu +%endif + +# New in TDE 3.5.13 +%{tde_bindir}/kdetcompmgr + +%pre +# Bug 1074 +if [ -d %{tde_datadir}/locale/all_languages ]; then + rm -rf %{tde_datadir}/locale/all_languages +fi + +%post +/sbin/ldconfig || : + +%postun +/sbin/ldconfig || : + +########## + +%package devel +Summary: %{name} - Development files +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +Obsoletes: tdelibs-devel < %{version}-%{release} +Provides: tdelibs-devel = %{version}-%{release} +Obsoletes: trinity-kdelibs-devel < %{version}-%{release} +Provides: trinity-kdelibs-devel = %{version}-%{release} + +%description devel +This package includes the header files you will need to compile +applications for TDE. + +%files devel +%defattr(-,root,root,-) +%{tde_bindir}/dcopidl* +%{tde_bindir}/kconfig_compiler +%{tde_bindir}/makekdewidgets +%{tde_datadir}/apps/ksgmltools2/ +%{tde_tdeincludedir}/* +%{tde_libdir}/*.la +%{tde_libdir}/*.so +%{tde_libdir}/*.a +%exclude %{tde_libdir}/libkdeinit_*.la +%exclude %{tde_libdir}/libkdeinit_*.so + +# New in TDE 3.5.13 +%{tde_datadir}/cmake/kdelibs.cmake + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + +########## + +%if 0%{?suse_version} +%debug_package +%endif + +########## + +%prep +%setup -q -n kdelibs +%patch10 -p1 +%patch11 -p0 +%patch12 -p1 +%patch13 -p1 +%patch14 -p1 +%patch15 -p1 +%patch16 -p1 +%patch17 -p1 +%patch18 -p1 +%patch19 -p1 +%patch20 -p1 +%patch21 -p1 +%patch22 -p1 +%patch23 -p1 +%patch24 -p1 +%patch25 -p1 +%patch26 -p1 +%patch27 -p1 +%patch28 -p1 +%patch29 -p1 +%patch30 -p1 +%patch32 -p1 +%patch33 -p1 +%patch34 -p1 +%patch35 -p1 +%patch36 -p1 +%patch37 -p1 + + +%build +unset QTDIR || : ; . /etc/profile.d/qt?.sh +export PATH="%{tde_bindir}:${QTDIR}/bin:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" + +# We need LD_LIBRARY_PATH here because ld.so.conf file has not been written yet +export LD_LIBRARY_PATH="%{tde_libdir}" + + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DDOC_INSTALL_DIR=%{tde_docdir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DPKGCONFIG_INSTALL_DIR=%{tde_libdir}/pkgconfig \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DWITH_ARTS=ON \ + -DWITH_ALSA=ON \ + -DWITH_LIBART=ON \ + -DWITH_LIBIDN=ON \ + -DWITH_SSL=ON \ + -DWITH_CUPS=ON \ + -DWITH_LUA=OFF \ + -DWITH_TIFF=ON \ + %{?with_jasper:-DWITH_JASPER=ON} \ + %{?with_hspell:-DWITH_HSPELL=ON} \ +%if 0%{?rhel} == 4 + -DWITH_OPENEXR=OFF \ + -DWITH_PCRE=OFF \ + -DWITH_INOTIFY=OFF \ + -DWITH_AVAHI=OFF \ +%else + -DWITH_OPENEXR=ON \ + -DWITH_PCRE=ON \ + -DWITH_INOTIFY=ON \ + -DWITH_AVAHI=ON \ +%endif + -DWITH_UTEMPTER=ON \ + -DWITH_ASPELL=ON \ + -DWITH_GAMIN=ON \ + .. + +%__make %{?_smp_mflags} + + +%install +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{?buildroot} -C build + +%if "%{?tde_prefix}" != "/usr" +%__mkdir_p %{?buildroot}%{_sysconfdir}/ld.so.conf.d +cat <%{?buildroot}%{_sysconfdir}/ld.so.conf.d/trinity.conf +%{tde_libdir} +EOF +%endif + +# Moves the XDG configuration files to TDE directory +%if "%{tde_prefix}" != "/usr" +%__install -p -D -m644 \ + "%{?buildroot}%{_sysconfdir}/xdg/menus/applications.menu" \ + "%{?buildroot}%{tde_prefix}/etc/xdg/menus/kde-applications.menu" +%__rm -rf "%{?buildroot}%{_sysconfdir}/xdg" +%else +%__mv -f "%{?buildroot}%{_sysconfdir}/xdg/menus/applications.menu" "%{?buildroot}%{_sysconfdir}/xdg/menus/kde-applications.menu" +%endif + + +%clean +%__rm -rf %{?buildroot} + + +%changelog +* Sat Aug 18 2012 Francois Andriot - 3.5.13-12 +- Fix language switch inside application [Bug #1074] +- Removes patch 'Add ability to set KLed off color [Commit #513ffc6e]' +- Prevent XDG autostart files from starting multiple times [Bug #1096] [Commit #e9f29cfb] + +* Sun Jul 22 2012 Francois Andriot - 3.5.13-11 +- Fix iso kioslave not parsing large images properly [Commit #b4bba7b5] +- Add ability to set KLed off color [Commit #513ffc6e] +- Fix spinbox text entry when base is not 10 [Commit #d1c71f69] +- Update iso kioslave to better handle large images [Commit #dca4c677] +- Restore tdesu dialog "Keep password" check box default to disabled/unchecked. [Commit #87363770] + +* Tue Jun 26 2012 Francois Andriot - 3.5.13-10 +- Renames to 'trinity-tdelibs' +- Enable 'aspell', 'hspell' and 'libidn' +- Export kdemain symbol in iso kioslave [Bug #465] [Commit #0536f0b7] + +* Tue Jun 19 2012 Francois Andriot - 3.5.13-9 +- Renames to 'tdelibs' +- Fix 'ld.so.conf' file +- Fix konq filter in list view mode. [Commit #06b51484] +- Fix tdesu internal pathing [Bug #766] [Commit #e131f10b] +- Fix slider drawing on external paint devices [Commit #a1c30c14] +- Reduce "More Applications" and extra koffice items from TDE menu. [Commit #1c06ae32] +- Fix creation of profile directory in system root [Bug #293] [Commit #049525ee] +- Initialize X11 threading when kinit is used to launch a program [Bug #812] [Commit #6c806af1] +- Fix composition extension detection [Commit #41ea89f7] +- Fix KTempFile not obeying special bits on file creation [Bug #349] [Commit #9068fffd] +- Add dynamic label support to kpassworddialog [Commit #3c752316] +- Fix FTBFS - incomplete build kspell2 [Bug #657] [Commit #3e284fad] + +* Tue Apr 24 2012 Francois Andriot - 3.5.13-8 +- Fix "Konqueror: Does not update file pane with file changes" [Bug #756] +- Fix compilation with GCC 4.7 + +* Sat Jan 21 2012 Francois Andriot - 3.5.13-7 +- Fix UTF8 Encoding for WebDAV directories +- Fix hardcoded path in 'add printer' [Bug #383] + +* Mon Jan 16 2012 Francois Andriot - 3.5.13-6 +- Adds 'fam' and 'gamin' support + +* Sat Jan 14 2012 Francois Andriot - 3.5.13-5 +- Adds 'inotify' support + +* Sat Dec 31 2011 Francois Andriot - 3.5.13-4 +- Enable pcre support in kdelibs [Bug #569] +- Updated Kate syntax highlighting files [Bug #764] +- Disable 'max line length' detection [Bug #656] +- Add 'Provides: kdelibs3' to avoid installing distro-provided KDE3 libraries + +* Sat Nov 12 2011 Francois Andriot - 3.5.13-3 +- Moves XDG files in TDE prefix to avoid conflict with distro-provided KDE + +* Thu Nov 03 2011 Francois Andriot - 3.5.13-2 +- Add missing BuildRequires + +* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 +- Initial release for RHEL 6, RHEL 5 and Fedora 15 + +* Wed Sep 02 2011 Francois Andriot - 3.5.13-0 +- Import to GIT diff --git a/redhat/tdelibs/tdelibs-14.0.0.spec b/redhat/tdelibs/tdelibs-14.0.0.spec new file mode 100644 index 000000000..326915004 --- /dev/null +++ b/redhat/tdelibs/tdelibs-14.0.0.spec @@ -0,0 +1,456 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE specific variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +Name: trinity-tdelibs +Version: 14.0.0 +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} +License: GPL +Summary: TDE Libraries +Group: Environment/Libraries + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz + + +Obsoletes: tdelibs < %{version}-%{release} +Provides: tdelibs = %{version}-%{release} +Obsoletes: trinity-kdelibs < %{version}-%{release} +Provides: trinity-kdelibs = %{version}-%{release} +Obsoletes: trinity-kdelibs-apidocs < %{version}-%{release} +Provides: trinity-kdelibs-apidocs = %{version}-%{release} + + +BuildRequires: cmake >= 2.8 +BuildRequires: libtool +BuildRequires: trinity-tqt3-devel >= %{version} +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-dbus-1-tqt-devel >= %{version} +BuildRequires: trinity-dbus-tqt-devel >= %{version} +BuildRequires: krb5-devel +BuildRequires: libxslt-devel +BuildRequires: cups-devel +BuildRequires: trinity-libart-lgpl-devel +BuildRequires: openssl-devel +BuildRequires: gcc-c++ +BuildRequires: alsa-lib-devel +BuildRequires: libidn-devel +BuildRequires: libtiff-devel +BuildRequires: glib2-devel +# LUA support are not ready yet +#BuildRequires: lua-devel + +# ASPELL support +BuildRequires: aspell +BuildRequires: aspell-devel + +# GAMIN support +# Not on openSUSE. +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_gamin 1 +BuildRequires: gamin-devel +%endif + +# PCRE support +%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_pcre 1 +BuildRequires: pcre-devel +%endif + +# INOTIFY support +%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_inotify 1 +%endif + +# BZIP2 support +%if 0%{?suse_version} +BuildRequires: libbz2-devel +%else +BuildRequires: bzip2-devel +%endif + +# UTEMPTER support +%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: libutempter-devel +%endif +%if 0%{?rhel} == 4 +BuildRequires: utempter +%endif +%if 0%{?suse_version} +BuildRequires: utempter-devel +%endif + +# HSPELL support +%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_hspell 1 +BuildRequires: hspell-devel +%endif + +# JASPER support +%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_jasper 1 +%if 0%{?suse_version} +BuildRequires: libjasper-devel +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}jasper-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: jasper-devel +%endif +%endif + +# AVAHI support +%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_avahi 1 +BuildRequires: trinity-avahi-tqt-devel >= %{version} +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}avahi-client-devel +Requires: %{_lib}avahi-client3 +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} +BuildRequires: avahi-devel +Requires: avahi +%endif +%endif + +# OPENEXR support +%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_openexr 1 +BuildRequires: OpenEXR-devel +%endif + +# LIBTOOL +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}ltdl-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 +BuildRequires: libtool-ltdl-devel +%endif +%if 0%{?rhel} == 4 || 0%{?suse_version} == 1140 +BuildRequires: libtool +%endif + +# X11 support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: x11-proto-devel +BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} +BuildRequires: xorg-x11-proto-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 +BuildRequires: libXcomposite-devel +%endif +%if 0%{?rhel} == 4 +BuildRequires: xorg-x11-devel +%endif + +# ICEAUTH +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} >= 1220 +Requires: iceauth +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} +Requires: xorg-x11-server-utils +%endif +%if 0%{?rhel} == 4 || 0%{?suse_version} +Requires: xorg-x11 +%endif + +# XZ support +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} +%define with_lzma 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}lzma-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} +BuildRequires: xz-devel +%endif +%endif + +# NETWORKMANAGER support +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?suse_version} +%define with_nm 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}nm-util-devel +%endif +%endif + +Requires: trinity-tqt3 >= %{version} +Requires: trinity-tqtinterface >= %{version} +Requires: trinity-arts >= %{version} + +%description +Libraries for the Trinity Desktop Environment: +TDE Libraries included: tdecore (TDE core library), kdeui (user interface), +kfm (file manager), khtmlw (HTML widget), kio (Input/Output, networking), +kspell (spelling checker), jscript (javascript), kab (addressbook), +kimgio (image manipulation). + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING COPYING-DOCS COPYING.LIB README TODO +%{tde_bindir}/artsmessage +%{tde_bindir}/cupsdconf +%{tde_bindir}/cupsdoprint +%{tde_bindir}/dcop +%{tde_bindir}/dcopclient +%{tde_bindir}/dcopfind +%{tde_bindir}/dcopobject +%{tde_bindir}/dcopquit +%{tde_bindir}/dcopref +%{tde_bindir}/dcopserver +%{tde_bindir}/dcopserver_shutdown +%{tde_bindir}/dcopstart +%{tde_bindir}/filesharelist +%{tde_bindir}/fileshareset +%{tde_bindir}/imagetops +%{tde_bindir}/tdeab2tdeabc +%{tde_bindir}/kaddprinterwizard +%{tde_bindir}/tdebuildsycoca +%{tde_bindir}/tdecmshell +%{tde_bindir}/tdeconf_update +%{tde_bindir}/kcookiejar +%{tde_bindir}/[kt]de-config +%{tde_bindir}/[kt]de-menu +%{tde_bindir}/kded +%{tde_bindir}/[kt]deinit +%{tde_bindir}/[kt]deinit_shutdown +%{tde_bindir}/[kt]deinit_wrapper +%{tde_bindir}/[kt]desu_stub +%{tde_bindir}/kdetcompmgr +%{tde_bindir}/kdontchangethehostname +%{tde_bindir}/tdedostartupconfig +%{tde_bindir}/tdefile +%{tde_bindir}/kfmexec +%{tde_bindir}/tdehotnewstuff +%{tde_bindir}/kinstalltheme +%{tde_bindir}/tdeio_http_cache_cleaner +%{tde_bindir}/tdeio_uiserver +%{tde_bindir}/tdeioexec +%{tde_bindir}/tdeioslave +%{tde_bindir}/tdelauncher +%{tde_bindir}/tdemailservice +%{tde_bindir}/tdemimelist +%attr(4755,root,root) %{tde_bindir}/kpac_dhcp_helper +%{tde_bindir}/tdesendbugmail +%{tde_bindir}/kshell +%{tde_bindir}/tdestartupconfig +%{tde_bindir}/tdetelnetservice +%{tde_bindir}/tdetradertest +%{tde_bindir}/kwrapper +%{tde_bindir}/lnusertemp +%{tde_bindir}/make_driver_db_cups +%{tde_bindir}/make_driver_db_lpr +%{tde_bindir}/meinproc +%{tde_bindir}/networkstatustestservice +%{tde_bindir}/start_[kt]deinit +%{tde_bindir}/start_[kt]deinit_wrapper +%attr(4755,root,root) %{tde_bindir}/kgrantpty +%{tde_bindir}/tde_dbus_hardwarecontrol +%{tde_bindir}/checkXML +%{tde_bindir}/ksvgtopng +%{tde_bindir}/tdeunittestmodrunner +%{tde_bindir}/preparetips +%{tde_tdelibdir}/* +%{tde_libdir}/lib*.so.* +%{tde_libdir}/lib[kt]deinit_*.la +%{tde_libdir}/lib[kt]deinit_*.so +%{tde_datadir}/applications/[kt]de/*.desktop +%{tde_datadir}/autostart/tdeab2tdeabc.desktop +%{tde_datadir}/applnk/tdeio_iso.desktop +%{tde_datadir}/apps/* +%exclude %{tde_datadir}/apps/ksgmltools2/ +%config(noreplace) %{tde_datadir}/config/* +%{tde_datadir}/emoticons/* +%{tde_datadir}/icons/crystalsvg/ +%{tde_datadir}/icons/default.tde +%{tde_datadir}/icons/hicolor/index.theme +%{tde_datadir}/locale/all_languages +%{tde_datadir}/mimelnk/magic +%{tde_datadir}/mimelnk/*/*.desktop +%{tde_datadir}/services/* +%{tde_datadir}/servicetypes/* +%{tde_tdedocdir}/HTML/en/common/* +%{tde_tdedocdir}/HTML/en/tdespell/ + +%{_sysconfdir}/dbus-1/system.d/org.trinitydesktop.hardwarecontrol.conf +%{tde_prefix}/etc/xdg/menus/tde-applications.menu +%{_sysconfdir}/ld.so.conf.d/trinity.conf +%{_datadir}/dbus-1/system-services/org.trinitydesktop.hardwarecontrol.service + + +%pre +# TDE Bug #1074 +if [ -d "%{tde_datadir}/locale/all_languages" ]; then + rm -rf "%{tde_datadir}/locale/all_languages" +fi + +%post +/sbin/ldconfig || : + +%postun +/sbin/ldconfig || : + +########## + +%package devel +Summary: %{name} - Development files +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +Obsoletes: tdelibs-devel < %{version}-%{release} +Provides: tdelibs-devel = %{version}-%{release} +Obsoletes: trinity-kdelibs-devel < %{version}-%{release} +Provides: trinity-kdelibs-devel = %{version}-%{release} + +%description devel +This package includes the header files you will need to compile +applications for TDE. + +%files devel +%defattr(-,root,root,-) +%{tde_bindir}/dcopidl* +%{tde_bindir}/*config_compiler +%{tde_bindir}/make[kt]dewidgets +%{tde_datadir}/apps/ksgmltools2/ +%{tde_tdeincludedir}/* +%{tde_libdir}/*.la +%{tde_libdir}/*.so +%{tde_libdir}/*.a +%{tde_libdir}/pkgconfig/tdelibs.pc +%exclude %{tde_libdir}/lib[kt]deinit_*.la +%exclude %{tde_libdir}/lib[kt]deinit_*.so +%{tde_datadir}/cmake/[kt]delibs.cmake + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + + +%build +unset QTDIR +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" + +# We need LD_LIBRARY_PATH here because ld.so.conf file has not been written yet +export LD_LIBRARY_PATH="%{tde_libdir}" + +if [ -d "/usr/X11R6" ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -L/usr/X11R6/%{_lib} -I/usr/X11R6/include" +fi + + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DBIN_INSTALL_DIR="%{tde_bindir}" \ + -DDOC_INSTALL_DIR="%{tde_docdir}" \ + -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DWITH_ARTS=ON \ + -DWITH_ALSA=ON \ + -DWITH_LIBART=ON \ + -DWITH_LIBIDN=ON \ + -DWITH_SSL=ON \ + -DWITH_CUPS=ON \ + -DWITH_LUA=OFF \ + -DWITH_TIFF=ON \ + %{?with_jasper:-DWITH_JASPER=ON} \ + %{?with_openexr:-DWITH_OPENEXR=ON} \ + -DWITH_UTEMPTER=ON \ + -DWITH_ELFICON=OFF \ + %{?with_avahi:-DWITH_AVAHI=ON} \ + %{?!with_pcre:-DWITH_PCRE=OFF} \ + -DWITH_GCC_VISIBILITY=ON \ + %{?!with_inotify:-DWITH_INOTIFY=OFF} \ + %{?!with_gamin:-DWITH_GAMIN=OFF} %{?with_gamin:-DWITH_GAMIN=ON} \ + -DWITH_UPOWER=ON \ + -DWITH_UDISKS=ON \ + -DWITH_UDISKS2=ON \ + -DWITH_CONSOLEKIT=ON \ + %{?with_nm:-DWITH_NETWORK_MANAGER_BACKEND=ON} \ + -DWITH_SUDO_TDESU_BACKEND=OFF \ + -DWITH_OLD_XDG_STD=OFF \ + %{?with_lzma:-DWITH_LZMA=ON} %{?!with_lzma:-DWITH_LZMA=OFF} \ + -DWITH_ASPELL=ON \ + %{?with_hspell:-DWITH_HSPELL=ON} \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf "%{?buildroot}" +%__make install DESTDIR="%{?buildroot}" -C build + +%if "%{?tde_prefix}" != "/usr" +%__mkdir_p "%{?buildroot}%{_sysconfdir}/ld.so.conf.d" +cat <"%{?buildroot}%{_sysconfdir}/ld.so.conf.d/trinity.conf" +%{tde_libdir} +EOF +%endif + +# Moves the XDG configuration files to TDE directory +%if "%{tde_prefix}" != "/usr" +%__install -p -D -m644 \ + "%{?buildroot}%{_sysconfdir}/xdg/menus/applications.menu" \ + "%{?buildroot}%{tde_prefix}/etc/xdg/menus/tde-applications.menu" +%__rm -rf "%{?buildroot}%{_sysconfdir}/xdg" +%else +%__mv -f "%{?buildroot}%{_sysconfdir}/xdg/menus/applications.menu" "%{?buildroot}%{_sysconfdir}/xdg/menus/tde-applications.menu" +%endif + +# Appends TDE version to '.pc' file +echo "Version: %{version}" >>"%{?buildroot}%{tde_libdir}/pkgconfig/tdelibs.pc" + + +%clean +%__rm -rf "%{?buildroot}" + + +%changelog +* Thu Feb 16 2012 Francois Andriot - 14.0.0-1 +- Initial build for TDE R14, using 'tqt3' instead of 'qt3' diff --git a/redhat/tdelibs/tdelibs-3.5.13.2.spec b/redhat/tdelibs/tdelibs-3.5.13.2.spec new file mode 100644 index 000000000..ec061213a --- /dev/null +++ b/redhat/tdelibs/tdelibs-3.5.13.2.spec @@ -0,0 +1,481 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +Name: trinity-tdelibs +Version: 3.5.13.2 +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} +License: GPL +Summary: TDE Libraries +Group: Environment/Libraries + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz + +Patch1: tdelibs-3.5.13.2-xdg_dirs_set_path.patch +Patch2: tdelibs-3.5.13.2-cups_by_default.patch + +Obsoletes: tdelibs < %{version}-%{release} +Provides: tdelibs = %{version}-%{release} +Obsoletes: trinity-kdelibs < %{version}-%{release} +Provides: trinity-kdelibs = %{version}-%{release} +Obsoletes: trinity-kdelibs-apidocs < %{version}-%{release} +Provides: trinity-kdelibs-apidocs = %{version}-%{release} + + +BuildRequires: cmake >= 2.8 +BuildRequires: libtool +BuildRequires: qt3-devel +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: krb5-devel +BuildRequires: libxslt-devel +BuildRequires: cups-devel +BuildRequires: libart_lgpl-devel +BuildRequires: openssl-devel +BuildRequires: gcc-c++ +BuildRequires: alsa-lib-devel +BuildRequires: libidn-devel +BuildRequires: libtiff-devel +BuildRequires: glib2-devel +# LUA support are not ready yet +#BuildRequires: lua-devel + +# ASPELL support +BuildRequires: aspell +BuildRequires: aspell-devel + +# GAMIN support +# Not on openSUSE. +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_gamin 1 +BuildRequires: gamin-devel +%endif + +# PCRE support +%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_pcre 1 +BuildRequires: pcre-devel +%endif + +# INOTIFY support +%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_inotify 1 +%endif + +# BZIP2 support +%if 0%{?suse_version} +BuildRequires: libbz2-devel +%else +BuildRequires: bzip2-devel +%endif + +# UTEMPTER support +%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: libutempter-devel +%endif +%if 0%{?rhel} == 4 +BuildRequires: utempter +%endif +%if 0%{?suse_version} +BuildRequires: utempter-devel +%endif + +# HSPELL support +%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_hspell 1 +BuildRequires: hspell-devel +%endif + +# JASPER support +%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_jasper 1 +%if 0%{?suse_version} +BuildRequires: libjasper-devel +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}jasper-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: jasper-devel +%endif +%endif + +# AVAHI support +%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_avahi 1 +BuildRequires: trinity-avahi-tqt-devel >= %{version} +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}avahi-client-devel +Requires: %{_lib}avahi-client3 +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} +BuildRequires: avahi-devel +Requires: avahi +%endif +%endif + +# OPENEXR support +%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_openexr 1 +BuildRequires: OpenEXR-devel +%endif + +# LIBTOOL +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}ltdl-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 +BuildRequires: libtool-ltdl-devel +%endif +%if 0%{?rhel} == 4 || 0%{?suse_version} == 1140 +BuildRequires: libtool +%endif + +# X11 support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: x11-proto-devel +BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} +BuildRequires: xorg-x11-proto-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 +BuildRequires: libXcomposite-devel +%endif +%if 0%{?rhel} == 4 +BuildRequires: xorg-x11-devel +%endif + +# ICEAUTH +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} >= 1220 +Requires: iceauth +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} +Requires: xorg-x11-server-utils +%endif +%if 0%{?rhel} == 4 || 0%{?suse_version} +Requires: xorg-x11 +%endif + +# XZ support +%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} +%define with_lzma 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}lzma-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} +BuildRequires: xz-devel +%endif +%endif + +Requires: trinity-tqtinterface >= %{version} +Requires: trinity-arts >= %{version} +Requires: qt3 >= 3.3.8.d + +%description +Libraries for the Trinity Desktop Environment: +TDE Libraries included: tdecore (TDE core library), kdeui (user interface), +kfm (file manager), khtmlw (HTML widget), kio (Input/Output, networking), +kspell (spelling checker), jscript (javascript), kab (addressbook), +kimgio (image manipulation). + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING COPYING-DOCS COPYING.LIB README TODO +%{tde_bindir}/artsmessage +%{tde_bindir}/cupsdconf +%{tde_bindir}/cupsdoprint +%{tde_bindir}/dcop +%{tde_bindir}/dcopclient +%{tde_bindir}/dcopfind +%{tde_bindir}/dcopobject +%{tde_bindir}/dcopquit +%{tde_bindir}/dcopref +%{tde_bindir}/dcopserver +%{tde_bindir}/dcopserver_shutdown +%{tde_bindir}/dcopstart +%{tde_bindir}/filesharelist +%{tde_bindir}/fileshareset +%{tde_bindir}/imagetops +%{tde_bindir}/kab2kabc +%{tde_bindir}/kaddprinterwizard +%{tde_bindir}/kbuildsycoca +%{tde_bindir}/kcmshell +%{tde_bindir}/kconf_update +%{tde_bindir}/kcookiejar +%{tde_bindir}/kde-config +%{tde_bindir}/kde-menu +%{tde_bindir}/kded +%{tde_bindir}/kdeinit +%{tde_bindir}/kdeinit_shutdown +%{tde_bindir}/kdeinit_wrapper +%{tde_bindir}/kdesu_stub +%{tde_bindir}/kdontchangethehostname +%{tde_bindir}/kdostartupconfig +%{tde_bindir}/kfile +%{tde_bindir}/kfmexec +%{tde_bindir}/khotnewstuff +%{tde_bindir}/kinstalltheme +%{tde_bindir}/kio_http_cache_cleaner +%{tde_bindir}/kio_uiserver +%{tde_bindir}/kioexec +%{tde_bindir}/kioslave +%{tde_bindir}/klauncher +%{tde_bindir}/kmailservice +%{tde_bindir}/kmimelist +%attr(4755,root,root) %{tde_bindir}/kpac_dhcp_helper +%{tde_bindir}/ksendbugmail +%{tde_bindir}/kshell +%{tde_bindir}/kstartupconfig +%{tde_bindir}/ktelnetservice +%{tde_bindir}/ktradertest +%{tde_bindir}/kwrapper +%{tde_bindir}/lnusertemp +%{tde_bindir}/make_driver_db_cups +%{tde_bindir}/make_driver_db_lpr +%{tde_bindir}/meinproc +%{tde_bindir}/networkstatustestservice +%{tde_bindir}/start_kdeinit +%{tde_bindir}/start_kdeinit_wrapper +%attr(4755,root,root) %{tde_bindir}/kgrantpty +%{tde_tdelibdir}/* +%{tde_libdir}/lib*.so.* +%{tde_libdir}/lib[kt]deinit_*.la +%{tde_libdir}/lib[kt]deinit_*.so +%{tde_datadir}/applications/kde/*.desktop +%{tde_datadir}/autostart/kab2kabc.desktop +%{tde_datadir}/applnk/kio_iso.desktop +%{tde_datadir}/apps/* +%exclude %{tde_datadir}/apps/ksgmltools2/ +%config(noreplace) %{tde_datadir}/config/* +%{tde_datadir}/emoticons/* +%{tde_datadir}/icons/default.kde +%{_sysconfdir}/alternatives/default.kde +%{tde_datadir}/mimelnk/magic +%{tde_datadir}/mimelnk/*/*.desktop +%{tde_datadir}/services/* +%{tde_datadir}/servicetypes/* +%{tde_datadir}/icons/crystalsvg/ +%{tde_tdedocdir}/HTML/en/kspell/ +# remove conflicts with kdelibs-4 +%if "%{?tde_prefix}" != "/usr" +%{tde_bindir}/checkXML +%{tde_bindir}/ksvgtopng +%{tde_bindir}/kunittestmodrunner +%{tde_bindir}/preparetips +%{tde_datadir}/icons/hicolor/index.theme +%{tde_datadir}/locale/all_languages +%{tde_tdedocdir}/HTML/en/common/* +%{_sysconfdir}/ld.so.conf.d/trinity.conf +%else +%exclude %{tde_bindir}/checkXML +%exclude %{tde_bindir}/ksvgtopng +%exclude %{tde_bindir}/kunittestmodrunner +%exclude %{tde_bindir}/preparetips +%exclude %{tde_datadir}/config/colors +%exclude %{tde_datadir}/config/kdebug.areas +%exclude %{tde_datadir}/config/kdebugrc +%exclude %{tde_datadir}/config/ksslcalist +%exclude %{tde_datadir}/config/ui/ui_standards.rc +%exclude %{tde_datadir}/icons/hicolor/index.theme +%exclude %{tde_datadir}/locale/all_languages +%exclude %{tde_tdedocdir}/HTML/en/common/* +%endif + +# Avoid conflict with 'redhat-menus' package +%if "%{tde_prefix}" == "/usr" +%{_sysconfdir}/xdg/menus/kde-applications.menu +%else +%{tde_prefix}/etc/xdg/menus/kde-applications.menu +%endif + +# New in TDE 3.5.13 +%{tde_bindir}/kdetcompmgr + +%pre +# TDE Bug #1074 +if [ -d "%{tde_datadir}/locale/all_languages" ]; then + rm -rf "%{tde_datadir}/locale/all_languages" +fi + +%post +/sbin/ldconfig || : +# Sets default theme as 'crystalsvg' +update-alternatives --install \ + %{tde_datadir}/icons/default.kde \ + default.kde \ + %{tde_datadir}/icons/crystalsvg \ + 10 || : + +%preun +if [ $1 -eq 0 ]; then + update-alternatives --remove \ + default.kde \ + %{tde_datadir}/icons/crystalsvg || : +fi + +%postun +/sbin/ldconfig || : + +########## + +%package devel +Summary: %{name} - Development files +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +Obsoletes: tdelibs-devel < %{version}-%{release} +Provides: tdelibs-devel = %{version}-%{release} +Obsoletes: trinity-kdelibs-devel < %{version}-%{release} +Provides: trinity-kdelibs-devel = %{version}-%{release} + +%description devel +This package includes the header files you will need to compile +applications for TDE. + +%files devel +%defattr(-,root,root,-) +%{tde_bindir}/dcopidl* +%{tde_bindir}/kconfig_compiler +%{tde_bindir}/makekdewidgets +%{tde_datadir}/apps/ksgmltools2/ +%{tde_tdeincludedir}/* +%{tde_libdir}/*.la +%{tde_libdir}/*.so +%{tde_libdir}/*.a +%exclude %{tde_libdir}/lib[kt]deinit_*.la +%exclude %{tde_libdir}/lib[kt]deinit_*.so + +# New in TDE 3.5.13 +%{tde_datadir}/cmake/[kt]delibs.cmake + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} +%patch1 -p1 -b .xdg_path +%patch2 -p1 -b .cups_by_default + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${QTDIR}/bin:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" + +# We need LD_LIBRARY_PATH here because ld.so.conf file has not been written yet +export LD_LIBRARY_PATH="%{tde_libdir}" + +export KDEDIR="%{tde_prefix}" + +if [ -d "/usr/X11R6" ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -L/usr/X11R6/%{_lib} -I/usr/X11R6/include" +fi + + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DBIN_INSTALL_DIR="%{tde_bindir}" \ + -DDOC_INSTALL_DIR="%{tde_docdir}" \ + -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DWITH_ARTS=ON \ + -DWITH_ALSA=ON \ + -DWITH_LIBART=ON \ + -DWITH_LIBIDN=ON \ + -DWITH_SSL=ON \ + -DWITH_CUPS=ON \ + -DWITH_LUA=OFF \ + -DWITH_TIFF=ON \ + %{?with_jasper:-DWITH_JASPER=ON} \ + %{?with_openexr:-DWITH_OPENEXR=ON} \ + -DWITH_UTEMPTER=ON \ + %{?with_avahi:-DWITH_AVAHI=ON} \ + %{?!with_pcre:-DWITH_PCRE=OFF} \ + %{?!with_inotify:-DWITH_INOTIFY=OFF} \ + %{?!with_gamin:-DWITH_GAMIN=OFF} %{?with_gamin:-DWITH_GAMIN=ON} \ + -DWITH_SUDO_KDESU_BACKEND=OFF \ + %{?with_lzma:-DWITH_LZMA=ON} %{?!with_lzma:-DWITH_LZMA=OFF} \ + -DWITH_ASPELL=ON \ + %{?with_hspell:-DWITH_HSPELL=ON} \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +%__rm -rf "%{?buildroot}" +%__make install DESTDIR="%{?buildroot}" -C build + +%if "%{?tde_prefix}" != "/usr" +%__mkdir_p "%{?buildroot}%{_sysconfdir}/ld.so.conf.d" +cat <"%{?buildroot}%{_sysconfdir}/ld.so.conf.d/trinity.conf" +%{tde_libdir} +EOF +%endif + +# Moves the XDG configuration files to TDE directory +%if "%{tde_prefix}" != "/usr" +%__install -p -D -m644 \ + "%{?buildroot}%{_sysconfdir}/xdg/menus/applications.menu" \ + "%{?buildroot}%{tde_prefix}/etc/xdg/menus/kde-applications.menu" +%__rm -rf "%{?buildroot}%{_sysconfdir}/xdg" +%else +%__mv -f "%{?buildroot}%{_sysconfdir}/xdg/menus/applications.menu" "%{?buildroot}%{_sysconfdir}/xdg/menus/kde-applications.menu" +%endif + +# Makes 'default.kde' theme an alternative with 'crystalsvg-updated' +%__rm -f "%{?buildroot}%{tde_datadir}/icons/default.kde" +%__ln_s "%{_sysconfdir}/alternatives/default.kde" "%{?buildroot}%{tde_datadir}/icons/default.kde" +%__mkdir_p "%{?buildroot}%{_sysconfdir}/alternatives" +%__ln_s "%{tde_datadir}/icons/crystalsvg" "%{?buildroot}%{_sysconfdir}/alternatives/default.kde" + + +%clean +%__rm -rf "%{?buildroot}" + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 +- Initial release for TDE 3.5.13.2 diff --git a/redhat/tdelibs/trinity-kdelibs-3.5.12.spec b/redhat/tdelibs/trinity-kdelibs-3.5.12.spec deleted file mode 100644 index 4c31bba3e..000000000 --- a/redhat/tdelibs/trinity-kdelibs-3.5.12.spec +++ /dev/null @@ -1,369 +0,0 @@ -# Default version for this component -%if "%{?version}" == "" -%define version 3.5.12 -%endif -%define release 10 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.12 specific variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_libdir %{_libdir}/kde3 - -# Older RHEL/Fedora versions use packages named "qt", "qt-devel", .. -# whereas newer versions use "qt3", "qt3-devel" ... -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 8 -%define _qt_suffix 3 -%endif - - -Name: trinity-kdelibs -Version: %{version} -Release: %{?release}%{?dist}%{?_variant} -License: GPL -Summary: TDE Libraries -Group: System Environment/Libraries - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: kdelibs-%{version}.tar.gz - -# TDE 3.5.12 patches for RHEL/Fedora build -## [kdelibs/kio/kio] Removes the maximum line length detection -Patch0: kdelibs-3.5.13-maxlinelength.patch -## [kdecore] sets TDE 3.5.12 defaults directories -Patch1: kdelibs-3.5.12-kstandarddirs_trinity.patch -## [kdelibs/kdecore] fixed a conflict between fixx11h.h and Xdefs.h -Patch2: kdelibs-3.5.12-fixx11h.patch - -BuildRequires: libtool -BuildRequires: tqtinterface-devel -BuildRequires: trinity-arts-devel -BuildRequires: avahi-devel -BuildRequires: lua-devel -BuildRequires: krb5-devel libxslt-devel cups-devel libart_lgpl-devel pcre-devel -BuildRequires: libutempter-devel -BuildRequires: bzip2-devel -BuildRequires: openssl-devel -BuildRequires: gcc-c++ -BuildRequires: alsa-lib-devel -BuildRequires: libidn-devel -BuildRequires: qt%{?_qt_suffix}-devel -BuildRequires: avahi-qt3-devel -BuildRequires: jasper-devel -BuildRequires: libtiff-devel -BuildRequires: OpenEXR-devel -BuildRequires: libtool-ltdl-devel -BuildRequires: glib2-devel - -Requires: tqtinterface -Requires: trinity-arts -Requires: avahi -Requires: qt%{?_qt_suffix} -Requires: avahi-qt3 - - -#Provides: kdelibs%{?_qt_suffix} = %{version} -%if "%{?_prefix}" == "/usr" -Obsoletes: kdelibs%{?_qt_suffix} <= 3.5.10 -%endif - -%description -Libraries for the Trinity Desktop Environment: -KDE Libraries included: kdecore (KDE core library), kdeui (user interface), -kfm (file manager), khtmlw (HTML widget), kio (Input/Output, networking), -kspell (spelling checker), jscript (javascript), kab (addressbook), -kimgio (image manipulation). - - -%package devel -Summary: %{name} - Development files -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} -Provides: kdelibs%{?_qt_suffix}-devel = %{version} -%if "%{?_prefix}" == "/usr" -Obsoletes: kdelibs%{?_qt_suffix}-devel <= 3.5.10 -%endif - -%description devel -This package includes the header files you will need to compile -applications for TDE. - -%package apidocs -Group: Development/Libraries -Summary: %{name} - API documentation -Requires: %{name} = %{version}-%{release} -Provides: kdelibs%{?_qt_suffix}-apidocs = %{version} -%if "%{?_prefix}" == "/usr" -Obsoletes: kdelibs%{?_qt_suffix}-apidocs <= 3.5.10 -%endif - -%description apidocs -This package includes the TDE API documentation in HTML -format for easy browsing - - -%prep -%setup -q -n kdelibs -%patch0 -p1 -%patch1 -p1 -%patch2 -p3 - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{_bindir}:${PATH}" -export LD_LIBRARY_PATH="%{_libdir}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -# On older RHEL, libXrandr is too old so krandr cannot be compiled. -# Kspell2 does not compile either. -%if 0%{?rhel} && 0%{?rhel} <= 5 -export DO_NOT_COMPILE="krandr" -%endif - -%configure \ - --disable-rpath \ - --enable-new-ldflags \ - --disable-dependency-tracking \ - --disable-debug --disable-warnings --enable-final \ - --disable-fast-malloc \ - --enable-cups \ - --enable-mitshm \ - --enable-pie \ - --enable-sendfile \ - --with-distribution="$(cat /etc/redhat-release 2>/dev/null)" \ - --with-alsa \ - --without-aspell \ - --without-hspell \ - --disable-libfam \ - --enable-dnotify \ - --enable-inotify \ - --with-utempter \ - --with-jasper \ - --with-openexr \ - --with-xinerama \ - --enable-closure \ - --with-extra-includes=%{_includedir}/tqt - -# Do NOT use %{?_smp_mflags} for this package, or it will fail to build ! -%__make - - -%install -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{?buildroot} - -%if "%{?_prefix}" != "/usr" -%__mkdir_p "%{?buildroot}%{_sysconfdir}/ld.so.conf.d" -cat <"%{?buildroot}%{_sysconfdir}/ld.so.conf.d/trinity.conf" -%{_libdir} -EOF -%endif - -# Moves the XDG configuration files to TDE directory -%if "%{_prefix}" != "/usr" -%__install -p -D -m644 \ - "%{?buildroot}%{_sysconfdir}/xdg/menus/applications.menu" \ - "%{?buildroot}%{_prefix}/etc/xdg/menus/kde-applications.menu" -%__rm -rf "%{?buildroot}%{_sysconfdir}/xdg" -%else -%__mv -f "%{?buildroot}%{_sysconfdir}/xdg/menus/applications.menu" "%{?buildroot}%{_sysconfdir}/xdg/menus/kde-applications.menu" -%endif - - -%clean -%__rm -rf %{?buildroot} - - -%post -/sbin/ldconfig - -%postun -/sbin/ldconfig - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING* README TODO -%{_bindir}/artsmessage -%{_bindir}/cupsdconf -%{_bindir}/cupsdoprint -%{_bindir}/dcop -%{_bindir}/dcopclient -%{_bindir}/dcopfind -%{_bindir}/dcopobject -%{_bindir}/dcopquit -%{_bindir}/dcopref -%{_bindir}/dcopserver -%{_bindir}/dcopserver_shutdown -%{_bindir}/dcopstart -%{_bindir}/filesharelist -%{_bindir}/fileshareset -%{_bindir}/imagetops -%{_bindir}/kab2kabc -%{_bindir}/kaddprinterwizard -%{_bindir}/kbuildsycoca -%{_bindir}/kcmshell -%{_bindir}/kconf_update -%{_bindir}/kcookiejar -%{_bindir}/kde-config -%{_bindir}/kde-menu -%{_bindir}/kded -%{_bindir}/kdeinit -%{_bindir}/kdeinit_shutdown -%{_bindir}/kdeinit_wrapper -%{_bindir}/kdesu_stub -%{_bindir}/kdontchangethehostname -%{_bindir}/kdostartupconfig -%{_bindir}/kfile -%{_bindir}/kfmexec -%{_bindir}/khotnewstuff -%{_bindir}/kinstalltheme -%{_bindir}/kio_http_cache_cleaner -%{_bindir}/kio_uiserver -%{_bindir}/kioexec -%{_bindir}/kioslave -%{_bindir}/klauncher -%{_bindir}/kmailservice -%{_bindir}/kmimelist -%attr(4755,root,root) %{_bindir}/kpac_dhcp_helper -%{_bindir}/ksendbugmail -%{_bindir}/kshell -%{_bindir}/kstartupconfig -%{_bindir}/ktelnetservice -%{_bindir}/ktradertest -%{_bindir}/kwrapper -%{_bindir}/lnusertemp -%{_bindir}/make_driver_db_cups -%{_bindir}/make_driver_db_lpr -%{_bindir}/meinproc -%{_bindir}/networkstatustestservice -%{_bindir}/start_kdeinit -%{_bindir}/start_kdeinit_wrapper -%attr(4755,root,root) %{_bindir}/kgrantpty -%{_libdir}/lib*.so.* -%{_libdir}/libkdeinit_*.so -%{_libdir}/lib*.la -%{tde_libdir}/ -%{_datadir}/applications/kde/*.desktop -%{_datadir}/autostart/kab2kabc.desktop -%{_datadir}/applnk/kio_iso.desktop -%{_datadir}/apps/* -%exclude %{_datadir}/apps/ksgmltools2/ -%config(noreplace) %{_datadir}/config/* -%{_datadir}/emoticons/* -%{_datadir}/icons/default.kde -%{_datadir}/mimelnk/magic -%{_datadir}/mimelnk/*/*.desktop -%{_datadir}/services/* -%{_datadir}/servicetypes/* -%{_datadir}/icons/crystalsvg/ -%{tde_docdir}/HTML/en/kspell -# remove conflicts with kdelibs-4 -%if "%{?_prefix}" != "/usr" -%{_bindir}/checkXML -%{_bindir}/ksvgtopng -%{_bindir}/kunittestmodrunner -%{_bindir}/preparetips -%{_datadir}/icons/hicolor/index.theme -%{_datadir}/locale/all_languages -%{tde_docdir}/HTML/en/common/* -%else -%exclude %{_bindir}/checkXML -%exclude %{_bindir}/ksvgtopng -%exclude %{_bindir}/kunittestmodrunner -%exclude %{_bindir}/preparetips -%exclude %{_datadir}/config/colors -%exclude %{_datadir}/config/kdebug.areas -%exclude %{_datadir}/config/kdebugrc -%exclude %{_datadir}/config/ksslcalist -%exclude %{_datadir}/config/ui/ui_standards.rc -%exclude %{_datadir}/icons/hicolor/index.theme -%exclude %{_datadir}/locale/all_languages -%exclude %{tde_docdir}/HTML/en/common/* -%endif -# ld.so.conf needed only if installed under '/opt/trinity' -%if "%{?_prefix}" != "/usr" -%{_sysconfdir}/ld.so.conf.d/trinity.conf -%endif - -# Avoid conflict with 'redhat-menus' package -%if "%{_prefix}" == "/usr" -%{_sysconfdir}/xdg/menus/kde-applications.menu -%else -%{_prefix}/etc/xdg/menus/kde-applications.menu -%endif - -%files devel -%defattr(-,root,root,-) -%{_bindir}/dcopidl* -%{_bindir}/kconfig_compiler -%{_bindir}/makekdewidgets -%{_datadir}/apps/ksgmltools2/ -%{_includedir}/ -%{_libdir}/lib*.so -%{_libdir}/lib*.a -%exclude %{_libdir}/libkdeinit_*.so - -%files apidocs -%defattr(-,root,root,-) -%{_docdir}/%{name}-%{version}/ -%{tde_docdir}/HTML/en/kdelibs* - - -%changelog -* Fri Dec 09 2011 Francois Andriot - 3.5.12-10 -- Fix conflict with distro-provided KDE -- Fix HTML directory location -- Change defaults TDE directory to '/etc/trinity' and '~/.trinity' -- Removes 'ld.so.conf.d' when installed under '/usr' - -* Sun Nov 29 2011 Francois Andriot - 3.5.12-9 -- Moves XDG files in TDE prefix to avoid conflict with distro-provided KDE -- Disable 'max line length' detection -- Add missing BuildRequires - -* Fri Sep 16 2011 Francois Andriot - 3.5.12-8 -- Add support for RHEL 5. - -* Thu Sep 15 2011 Francois Andriot - 3.5.12-7 -- Add missings 'BuildRequires' -- Re-add lost 'ld.so.conf' file - -* Mon Sep 12 2011 Francois Andriot - 3.5.12-6 -- Add "Group" field - -* Sun Sep 04 2011 Francois Andriot - 3.5.12-5 -- Import to GIT -- Removes cmake stuff, build with autotools only - -* Tue Aug 23 2011 Francois Andriot - 3.5.12-4 -- Add missing BuildRequires - -* Mon Aug 22 2011 Francois Andriot - 3.5.12-3 -- Correct macro to install under "/opt", if desired - -* Sun Dec 19 2010 Francois Andriot - 3.5.12-2 -- Rebuilt - -* Fri Dec 17 2010 Francois Andriot - 3.5.12-1 -- Add macro _kde3_prefix to define custom installation prefix (ex: /opt/trinity) -- Add '--with-extra-includes=%{_includedir}/tqt' - -* Wed Dec 14 2010 Francois Andriot - 3.5.12-0 -- Initial version diff --git a/redhat/tdelibs/trinity-kdelibs-3.5.13.1.spec b/redhat/tdelibs/trinity-kdelibs-3.5.13.1.spec deleted file mode 100644 index 67847efec..000000000 --- a/redhat/tdelibs/trinity-kdelibs-3.5.13.1.spec +++ /dev/null @@ -1,434 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -Name: trinity-tdelibs -Version: 3.5.13.1 -Release: 2%{?dist}%{?_variant} -License: GPL -Summary: TDE Libraries -Group: Environment/Libraries - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: kdelibs-3.5.13.1.tar.gz - -# [kdelibs] Security popup always appear on invalid SSL certificate, even when set -# to "always accept" [Bug #1287] -Patch1: kdelibs-3.5.13.1-disable_invalid_certificate_always_prompt.patch - -Obsoletes: tdelibs < %{version}-%{release} -Provides: tdelibs = %{version}-%{release} -Obsoletes: trinity-kdelibs < %{version}-%{release} -Provides: trinity-kdelibs = %{version}-%{release} -Obsoletes: trinity-kdelibs-apidocs < %{version}-%{release} -Provides: trinity-kdelibs-apidocs = %{version}-%{release} - - -BuildRequires: cmake >= 2.8 -BuildRequires: libtool -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-arts-devel >= %{version} -BuildRequires: krb5-devel -BuildRequires: libxslt-devel -BuildRequires: cups-devel -BuildRequires: libart_lgpl-devel -BuildRequires: pcre-devel -BuildRequires: openssl-devel -BuildRequires: gcc-c++ -BuildRequires: alsa-lib-devel -BuildRequires: libidn-devel -BuildRequires: qt3-devel -BuildRequires: libtiff-devel -BuildRequires: glib2-devel -BuildRequires: gamin-devel -BuildRequires: aspell -BuildRequires: aspell-devel -# LUA support are not ready yet -#BuildRequires: lua-devel - - - -# BZIP2 support -%if 0%{?suse_version} -BuildRequires: libbz2-devel -%else -BuildRequires: bzip2-devel -%endif - -# UTEMPTER support -%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: libutempter-devel -%endif -%if 0%{?rhel} == 4 -BuildRequires: utempter -%endif -%if 0%{?suse_version} -BuildRequires: utempter-devel -%endif - -# HSPELL support -%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_hspell 1 -BuildRequires: hspell-devel -%endif - -# JASPER support -%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define with_jasper 1 -%if 0%{?suse_version} -BuildRequires: libjasper-devel -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}jasper-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: jasper-devel -%endif -%endif - -# AVAHI support -%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define with_avahi 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: trinity-avahi-tqt-devel >= %{version} -BuildRequires: %{_lib}avahi-client-devel -Requires: %{_lib}avahi-client3 -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} -BuildRequires: trinity-avahi-tqt-devel >= %{version} -BuildRequires: avahi-devel -Requires: avahi -%endif -%endif - -# OPENEXR support -%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define with_openexr 1 -BuildRequires: OpenEXR-devel -%endif - -# LIBTOOL -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}ltdl-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} -BuildRequires: libtool-ltdl-devel -%endif -%if 0%{?rhel} == 4 -BuildRequires: libtool -%endif - -# X11 support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: x11-proto-devel -BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} -BuildRequires: xorg-x11-proto-devel -BuildRequires: libXcomposite-devel -%endif -%if 0%{?rhel} == 4 -BuildRequires: xorg-x11-devel -%endif - -# ICEAUTH -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -Requires: iceauth -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} -Requires: xorg-x11-server-utils -%endif -%if 0%{?rhel} == 4 -Requires: xorg-x11 -%endif - -Requires: trinity-tqtinterface >= %{version} -Requires: trinity-arts >= %{version} -Requires: qt3 >= 3.3.8.d - -%description -Libraries for the Trinity Desktop Environment: -TDE Libraries included: tdecore (TDE core library), kdeui (user interface), -kfm (file manager), khtmlw (HTML widget), kio (Input/Output, networking), -kspell (spelling checker), jscript (javascript), kab (addressbook), -kimgio (image manipulation). - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING COPYING-DOCS COPYING.LIB README TODO -%{tde_bindir}/artsmessage -%{tde_bindir}/cupsdconf -%{tde_bindir}/cupsdoprint -%{tde_bindir}/dcop -%{tde_bindir}/dcopclient -%{tde_bindir}/dcopfind -%{tde_bindir}/dcopobject -%{tde_bindir}/dcopquit -%{tde_bindir}/dcopref -%{tde_bindir}/dcopserver -%{tde_bindir}/dcopserver_shutdown -%{tde_bindir}/dcopstart -%{tde_bindir}/filesharelist -%{tde_bindir}/fileshareset -%{tde_bindir}/imagetops -%{tde_bindir}/kab2kabc -%{tde_bindir}/kaddprinterwizard -%{tde_bindir}/kbuildsycoca -%{tde_bindir}/kcmshell -%{tde_bindir}/kconf_update -%{tde_bindir}/kcookiejar -%{tde_bindir}/kde-config -%{tde_bindir}/kde-menu -%{tde_bindir}/kded -%{tde_bindir}/kdeinit -%{tde_bindir}/kdeinit_shutdown -%{tde_bindir}/kdeinit_wrapper -%{tde_bindir}/kdesu_stub -%{tde_bindir}/kdontchangethehostname -%{tde_bindir}/kdostartupconfig -%{tde_bindir}/kfile -%{tde_bindir}/kfmexec -%{tde_bindir}/khotnewstuff -%{tde_bindir}/kinstalltheme -%{tde_bindir}/kio_http_cache_cleaner -%{tde_bindir}/kio_uiserver -%{tde_bindir}/kioexec -%{tde_bindir}/kioslave -%{tde_bindir}/klauncher -%{tde_bindir}/kmailservice -%{tde_bindir}/kmimelist -%attr(4755,root,root) %{tde_bindir}/kpac_dhcp_helper -%{tde_bindir}/ksendbugmail -%{tde_bindir}/kshell -%{tde_bindir}/kstartupconfig -%{tde_bindir}/ktelnetservice -%{tde_bindir}/ktradertest -%{tde_bindir}/kwrapper -%{tde_bindir}/lnusertemp -%{tde_bindir}/make_driver_db_cups -%{tde_bindir}/make_driver_db_lpr -%{tde_bindir}/meinproc -%{tde_bindir}/networkstatustestservice -%{tde_bindir}/start_kdeinit -%{tde_bindir}/start_kdeinit_wrapper -%attr(4755,root,root) %{tde_bindir}/kgrantpty -%{tde_tdelibdir}/* -%{tde_libdir}/lib*.so.* -%{tde_libdir}/lib[kt]deinit_*.la -%{tde_libdir}/lib[kt]deinit_*.so -%{tde_datadir}/applications/kde/*.desktop -%{tde_datadir}/autostart/kab2kabc.desktop -%{tde_datadir}/applnk/kio_iso.desktop -%{tde_datadir}/apps/* -%exclude %{tde_datadir}/apps/ksgmltools2/ -%config(noreplace) %{tde_datadir}/config/* -%{tde_datadir}/emoticons/* -%{tde_datadir}/icons/default.kde -%{tde_datadir}/mimelnk/magic -%{tde_datadir}/mimelnk/*/*.desktop -%{tde_datadir}/services/* -%{tde_datadir}/servicetypes/* -%{tde_datadir}/icons/crystalsvg/ -%{tde_tdedocdir}/HTML/en/kspell/ -# remove conflicts with kdelibs-4 -%if "%{?tde_prefix}" != "/usr" -%{tde_bindir}/checkXML -%{tde_bindir}/ksvgtopng -%{tde_bindir}/kunittestmodrunner -%{tde_bindir}/preparetips -%{tde_datadir}/icons/hicolor/index.theme -%{tde_datadir}/locale/all_languages -%{tde_tdedocdir}/HTML/en/common/* -%{_sysconfdir}/ld.so.conf.d/trinity.conf -%else -%exclude %{tde_bindir}/checkXML -%exclude %{tde_bindir}/ksvgtopng -%exclude %{tde_bindir}/kunittestmodrunner -%exclude %{tde_bindir}/preparetips -%exclude %{tde_datadir}/config/colors -%exclude %{tde_datadir}/config/kdebug.areas -%exclude %{tde_datadir}/config/kdebugrc -%exclude %{tde_datadir}/config/ksslcalist -%exclude %{tde_datadir}/config/ui/ui_standards.rc -%exclude %{tde_datadir}/icons/hicolor/index.theme -%exclude %{tde_datadir}/locale/all_languages -%exclude %{tde_tdedocdir}/HTML/en/common/* -%endif - -# Avoid conflict with 'redhat-menus' package -%if "%{tde_prefix}" == "/usr" -%{_sysconfdir}/xdg/menus/kde-applications.menu -%else -%{tde_prefix}/etc/xdg/menus/kde-applications.menu -%endif - -# New in TDE 3.5.13 -%{tde_bindir}/kdetcompmgr - -%pre -# Bug 1074 -if [ -d %{tde_datadir}/locale/all_languages ]; then - rm -rf %{tde_datadir}/locale/all_languages -fi - -%post -/sbin/ldconfig || : - -%postun -/sbin/ldconfig || : - -########## - -%package devel -Summary: %{name} - Development files -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -Obsoletes: tdelibs-devel < %{version}-%{release} -Provides: tdelibs-devel = %{version}-%{release} -Obsoletes: trinity-kdelibs-devel < %{version}-%{release} -Provides: trinity-kdelibs-devel = %{version}-%{release} - -%description devel -This package includes the header files you will need to compile -applications for TDE. - -%files devel -%defattr(-,root,root,-) -%{tde_bindir}/dcopidl* -%{tde_bindir}/kconfig_compiler -%{tde_bindir}/makekdewidgets -%{tde_datadir}/apps/ksgmltools2/ -%{tde_tdeincludedir}/* -%{tde_libdir}/*.la -%{tde_libdir}/*.so -%{tde_libdir}/*.a -%exclude %{tde_libdir}/libkdeinit_*.la -%exclude %{tde_libdir}/libkdeinit_*.so - -# New in TDE 3.5.13 -%{tde_datadir}/cmake/kdelibs.cmake - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n kdelibs-3.5.13.1 -%patch1 -p1 - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${QTDIR}/bin:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" - -# We need LD_LIBRARY_PATH here because ld.so.conf file has not been written yet -export LD_LIBRARY_PATH="%{tde_libdir}" - -if [ -d /usr/X11R6 ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -L/usr/X11R6/%{_lib} -I/usr/X11R6/include" -fi - - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DDOC_INSTALL_DIR=%{tde_docdir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DPKGCONFIG_INSTALL_DIR=%{tde_libdir}/pkgconfig \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - -DWITH_ARTS=ON \ - -DWITH_ALSA=ON \ - -DWITH_LIBART=ON \ - -DWITH_LIBIDN=ON \ - -DWITH_SSL=ON \ - -DWITH_CUPS=ON \ - -DWITH_LUA=OFF \ - -DWITH_TIFF=ON \ - %{?with_jasper:-DWITH_JASPER=ON} \ - %{?with_hspell:-DWITH_HSPELL=ON} \ - %{?with_openexr:-DWITH_OPENEXR=ON} \ - %{?with_avahi:-DWITH_AVAHI=ON} \ -%if 0%{?rhel} == 4 - -DWITH_PCRE=OFF \ - -DWITH_INOTIFY=OFF \ -%else - -DWITH_PCRE=ON \ - -DWITH_INOTIFY=ON \ -%endif - -DWITH_UTEMPTER=ON \ - -DWITH_ASPELL=ON \ - -DWITH_GAMIN=ON \ - .. - -%__make %{?_smp_mflags} - - -%install -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{?buildroot} -C build - -%if "%{?tde_prefix}" != "/usr" -%__mkdir_p %{?buildroot}%{_sysconfdir}/ld.so.conf.d -cat <%{?buildroot}%{_sysconfdir}/ld.so.conf.d/trinity.conf -%{tde_libdir} -EOF -%endif - -# Moves the XDG configuration files to TDE directory -%if "%{tde_prefix}" != "/usr" -%__install -p -D -m644 \ - "%{?buildroot}%{_sysconfdir}/xdg/menus/applications.menu" \ - "%{?buildroot}%{tde_prefix}/etc/xdg/menus/kde-applications.menu" -%__rm -rf "%{?buildroot}%{_sysconfdir}/xdg" -%else -%__mv -f "%{?buildroot}%{_sysconfdir}/xdg/menus/applications.menu" "%{?buildroot}%{_sysconfdir}/xdg/menus/kde-applications.menu" -%endif - - -%clean -%__rm -rf %{?buildroot} - - -%changelog -* Tue Sep 11 2012 Francois Andriot - 3.5.13.1-1 -- Initial build for TDE 3.5.13.1 diff --git a/redhat/tdelibs/trinity-kdelibs-3.5.13.spec b/redhat/tdelibs/trinity-kdelibs-3.5.13.spec deleted file mode 100644 index 0392162bf..000000000 --- a/redhat/tdelibs/trinity-kdelibs-3.5.13.spec +++ /dev/null @@ -1,520 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -Name: trinity-tdelibs -Version: 3.5.13 -Release: 12%{?dist}%{?_variant} -License: GPL -Summary: TDE Libraries -Group: Environment/Libraries - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: kdelibs-%{version}.tar.gz - -Obsoletes: tdelibs < %{version}-%{release} -Provides: tdelibs = %{version}-%{release} -Obsoletes: trinity-kdelibs < %{version}-%{release} -Provides: trinity-kdelibs = %{version}-%{release} -Obsoletes: trinity-kdelibs-apidocs < %{version}-%{release} -Provides: trinity-kdelibs-apidocs = %{version}-%{release} - -## [kdelibs/kio] Disable 'max line length' detection [Bug #656] -Patch10: kdelibs-3.5.13-maxlinelength.patch -## [kdelibs/kjs] Enable pcre support in kdelibs [Bug #569] -Patch11: kdelibs-3.5.13-enable_pcre.patch -## [kdelibs/kate] Updated syntax highlighting files [Bug #764] -Patch12: kdelibs-3.5.13-kate_syntax.patch.gz -## [kdelibs] Adds Inotify support (backport commit 24f144fa) -Patch13: kdelibs-3.5.13-add_inotify_support.patch -## [kdelibs] Add fam/gamin support to tdelibs CMake (backport commit 2b035349) -Patch14: kdelibs-3.5.13-enable_fam_gamin.patch -## [kdelibs/kioslave/http] Fix UTF8 Encoding for WebDAV directories [Bug #766] [Commit #e131f10b] -Patch15: kdelibs-3.5.13-fix_UTF8_encoding_for_WebDAV_directories.patch -## [kdelibs/kdeprint] Fix add printer [Bug #383] -Patch16: kdelibs-3.5.13-fix_add_printer.patch -## [kdelibs/kio/kdirwatch] Fix "Konqueror: Does not update file pane with file changes" [Bug #756] -Patch17: kdelibs-3.5.13-fix_kdirwatch.patch -## [kdelibs/dcop] Fix 'dcoptypes.h' for compilation with GCC 4.7 -Patch18: kdelibs-3.5.13-fix_dcoptypes_h.patch -## [tdelibs] Fix konq filter in list view mode. [Commit #06b51484] -Patch19: kdelibs-3.5.13-fix_konq_filter.patch -## [tdelibs] Fix tdesu internal pathing [Bug #766] [Commit #e131f10b] -Patch20: kdelibs-3.5.13-fix_tdesu_internal_pathing.patch -## [tdelibs] Fix slider drawing on external paint devices [Commit #a1c30c14] -Patch21: kdelibs-3.5.13-fix_slide_drawing.patch -## [tdelibs] Reduce "More Applications" and extra koffice items from TDE menu. [Commit #1c06ae32] -Patch22: kdelibs-3.5.13-reduce_more_applications.patch -## [tdelibs] Fix creation of profile directory in system root [Bug #293] [Commit #049525ee] -Patch23: kdelibs-3.5.13-fix_creation_of_profile_directory.patch -## [tdelibs] Initialize X11 threading when kinit is used to launch a program [Bug #812] [Commit #6c806af1] -Patch24: kdelibs-3.5.13-fix_x11_threading_when_kinit_is_used.patch -## [tdelibs] Fix composition extension detection [Commit #41ea89f7] -Patch25: kdelibs-3.5.13-fix_composition_extension_detection.patch -## [tdelibs] Fix KTempFile not obeying special bits on file creation [Bug #349] [Commit #9068fffd] -Patch26: kdelibs-3.5.13-fix_ktempfile_special_bits.patch -## [tdelibs] Add dynamic label support to kpassworddialog [Commit #3c752316] -Patch27: kdelibs-3.5.13-add_dynamic_label_to_kpassword.patch -## [tdelibs] Fix FTBFS - incomplete build kspell2 [Bug #657] [Commit #3e284fad] -Patch28: kdelibs-3.5.13-fix_build_kspell2.patch -## [tdelibs] Export kdemain symbol in iso kioslave [Bug #465] [Commit #0536f0b7] -Patch29: kdelibs-3.5.13-fix_iso_kioslave.patch -## [tdelibs] Fix iso kioslave not parsing large images properly [Commit #b4bba7b5] -Patch30: kdelibs-3.5.13-fix_iso_kioslave_not_parsing_large_image_properly.patch -## [tdelibs] Fix spinbox text entry when base is not 10 [Commit #d1c71f69] -Patch32: kdelibs-3.5.13-fix_spinbox_text_entry_when_base_not_10.patch -## [tdelibs] Update iso kioslave to better handle large images [Commit #dca4c677] -Patch33: kdelibs-3.5.13-update_iso_kioslave_better_handle_large_image.patch -## [tdelibs] Restore tdesu dialog "Keep password" check box default to disabled/unchecked. [Commit #87363770] -Patch34: kdelibs-3.5.13-restore_tdesu_keeppassword_default_disabled.patch -## [tdelibs] Fix language switch inside application [Bug #1074] -Patch35: kdelibs-3.5.13-fix_all_languages_installation.patch -## [tdelibs] Prevent XDG autostart files from starting multiple times [Bug #1096] [Commit #e9f29cfb] -Patch36: kdelibs-3.5.13-prevent_xdg_autostart_multiple_times.patch -## [tdelibs] Fix xrender include dir -Patch37: kdelibs-3.5.13-fix_xrender_libdir.patch - -BuildRequires: cmake >= 2.8 -BuildRequires: libtool -BuildRequires: tqtinterface-devel -BuildRequires: trinity-arts-devel -BuildRequires: avahi-tqt-devel >= 3.5.13 -BuildRequires: krb5-devel -BuildRequires: libxslt-devel -BuildRequires: cups-devel -BuildRequires: libart_lgpl-devel -BuildRequires: pcre-devel -BuildRequires: openssl-devel -BuildRequires: gcc-c++ -BuildRequires: alsa-lib-devel -BuildRequires: libidn-devel -BuildRequires: qt3-devel -BuildRequires: libtiff-devel -BuildRequires: glib2-devel -BuildRequires: gamin-devel -BuildRequires: aspell -BuildRequires: aspell-devel -BuildRequires: OpenEXR-devel -# LUA support are not ready yet -#BuildRequires: lua-devel - -%if 0%{?suse_version} -BuildRequires: utempter-devel -BuildRequires: libbz2-devel -%else -BuildRequires: libutempter-devel -BuildRequires: bzip2-devel -%endif - -%if 0%{?rhel} == 4 -BuildRequires: xorg-x11-devel -%else - -# Hspell support -%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_hspell 1 -BuildRequires: hspell-devel -%endif - -# Jasper support -%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define with_jasper 1 -%if 0%{?suse_version} -BuildRequires: libjasper-devel -%else -BuildRequires: jasper-devel -%endif -%endif - - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}avahi-client-devel -BuildRequires: %{_lib}ltdl-devel -BuildRequires: x11-proto-devel -BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel -Requires: %{_lib}avahi-client3 -%else -BuildRequires: avahi-devel -BuildRequires: libtool-ltdl-devel -BuildRequires: xorg-x11-proto-devel -BuildRequires: libXcomposite-devel -%endif - -Requires: avahi -%endif - -Requires: tqtinterface >= 3.5.13 -Requires: trinity-arts >= 3.5.13 -Requires: qt3 - - -%description -Libraries for the Trinity Desktop Environment: -TDE Libraries included: tdecore (TDE core library), kdeui (user interface), -kfm (file manager), khtmlw (HTML widget), kio (Input/Output, networking), -kspell (spelling checker), jscript (javascript), kab (addressbook), -kimgio (image manipulation). - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING COPYING-DOCS COPYING.LIB README TODO -%{tde_bindir}/artsmessage -%{tde_bindir}/cupsdconf -%{tde_bindir}/cupsdoprint -%{tde_bindir}/dcop -%{tde_bindir}/dcopclient -%{tde_bindir}/dcopfind -%{tde_bindir}/dcopobject -%{tde_bindir}/dcopquit -%{tde_bindir}/dcopref -%{tde_bindir}/dcopserver -%{tde_bindir}/dcopserver_shutdown -%{tde_bindir}/dcopstart -%{tde_bindir}/filesharelist -%{tde_bindir}/fileshareset -%{tde_bindir}/imagetops -%{tde_bindir}/kab2kabc -%{tde_bindir}/kaddprinterwizard -%{tde_bindir}/kbuildsycoca -%{tde_bindir}/kcmshell -%{tde_bindir}/kconf_update -%{tde_bindir}/kcookiejar -%{tde_bindir}/kde-config -%{tde_bindir}/kde-menu -%{tde_bindir}/kded -%{tde_bindir}/kdeinit -%{tde_bindir}/kdeinit_shutdown -%{tde_bindir}/kdeinit_wrapper -%{tde_bindir}/kdesu_stub -%{tde_bindir}/kdontchangethehostname -%{tde_bindir}/kdostartupconfig -%{tde_bindir}/kfile -%{tde_bindir}/kfmexec -%{tde_bindir}/khotnewstuff -%{tde_bindir}/kinstalltheme -%{tde_bindir}/kio_http_cache_cleaner -%{tde_bindir}/kio_uiserver -%{tde_bindir}/kioexec -%{tde_bindir}/kioslave -%{tde_bindir}/klauncher -%{tde_bindir}/kmailservice -%{tde_bindir}/kmimelist -%attr(4755,root,root) %{tde_bindir}/kpac_dhcp_helper -%{tde_bindir}/ksendbugmail -%{tde_bindir}/kshell -%{tde_bindir}/kstartupconfig -%{tde_bindir}/ktelnetservice -%{tde_bindir}/ktradertest -%{tde_bindir}/kwrapper -%{tde_bindir}/lnusertemp -%{tde_bindir}/make_driver_db_cups -%{tde_bindir}/make_driver_db_lpr -%{tde_bindir}/meinproc -%{tde_bindir}/networkstatustestservice -%{tde_bindir}/start_kdeinit -%{tde_bindir}/start_kdeinit_wrapper -%attr(4755,root,root) %{tde_bindir}/kgrantpty -%{tde_tdelibdir}/* -%{tde_libdir}/lib*.so.* -%{tde_libdir}/lib[kt]deinit_*.la -%{tde_libdir}/lib[kt]deinit_*.so -%{tde_datadir}/applications/kde/*.desktop -%{tde_datadir}/autostart/kab2kabc.desktop -%{tde_datadir}/applnk/kio_iso.desktop -%{tde_datadir}/apps/* -%exclude %{tde_datadir}/apps/ksgmltools2/ -%config(noreplace) %{tde_datadir}/config/* -%{tde_datadir}/emoticons/* -%{tde_datadir}/icons/default.kde -%{tde_datadir}/mimelnk/magic -%{tde_datadir}/mimelnk/*/*.desktop -%{tde_datadir}/services/* -%{tde_datadir}/servicetypes/* -%{tde_datadir}/icons/crystalsvg/ -%{tde_tdedocdir}/HTML/en/kspell/ -# remove conflicts with kdelibs-4 -%if "%{?tde_prefix}" != "/usr" -%{tde_bindir}/checkXML -%{tde_bindir}/ksvgtopng -%{tde_bindir}/kunittestmodrunner -%{tde_bindir}/preparetips -%{tde_datadir}/icons/hicolor/index.theme -%{tde_datadir}/locale/all_languages -%{tde_tdedocdir}/HTML/en/common/* -%{_sysconfdir}/ld.so.conf.d/trinity.conf -%else -%exclude %{tde_bindir}/checkXML -%exclude %{tde_bindir}/ksvgtopng -%exclude %{tde_bindir}/kunittestmodrunner -%exclude %{tde_bindir}/preparetips -%exclude %{tde_datadir}/config/colors -%exclude %{tde_datadir}/config/kdebug.areas -%exclude %{tde_datadir}/config/kdebugrc -%exclude %{tde_datadir}/config/ksslcalist -%exclude %{tde_datadir}/config/ui/ui_standards.rc -%exclude %{tde_datadir}/icons/hicolor/index.theme -%exclude %{tde_datadir}/locale/all_languages -%exclude %{tde_tdedocdir}/HTML/en/common/* -%endif - -# Avoid conflict with 'redhat-menus' package -%if "%{tde_prefix}" == "/usr" -%{_sysconfdir}/xdg/menus/kde-applications.menu -%else -%{tde_prefix}/etc/xdg/menus/kde-applications.menu -%endif - -# New in TDE 3.5.13 -%{tde_bindir}/kdetcompmgr - -%pre -# Bug 1074 -if [ -d %{tde_datadir}/locale/all_languages ]; then - rm -rf %{tde_datadir}/locale/all_languages -fi - -%post -/sbin/ldconfig || : - -%postun -/sbin/ldconfig || : - -########## - -%package devel -Summary: %{name} - Development files -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -Obsoletes: tdelibs-devel < %{version}-%{release} -Provides: tdelibs-devel = %{version}-%{release} -Obsoletes: trinity-kdelibs-devel < %{version}-%{release} -Provides: trinity-kdelibs-devel = %{version}-%{release} - -%description devel -This package includes the header files you will need to compile -applications for TDE. - -%files devel -%defattr(-,root,root,-) -%{tde_bindir}/dcopidl* -%{tde_bindir}/kconfig_compiler -%{tde_bindir}/makekdewidgets -%{tde_datadir}/apps/ksgmltools2/ -%{tde_tdeincludedir}/* -%{tde_libdir}/*.la -%{tde_libdir}/*.so -%{tde_libdir}/*.a -%exclude %{tde_libdir}/libkdeinit_*.la -%exclude %{tde_libdir}/libkdeinit_*.so - -# New in TDE 3.5.13 -%{tde_datadir}/cmake/kdelibs.cmake - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - -########## - -%if 0%{?suse_version} -%debug_package -%endif - -########## - -%prep -%setup -q -n kdelibs -%patch10 -p1 -%patch11 -p0 -%patch12 -p1 -%patch13 -p1 -%patch14 -p1 -%patch15 -p1 -%patch16 -p1 -%patch17 -p1 -%patch18 -p1 -%patch19 -p1 -%patch20 -p1 -%patch21 -p1 -%patch22 -p1 -%patch23 -p1 -%patch24 -p1 -%patch25 -p1 -%patch26 -p1 -%patch27 -p1 -%patch28 -p1 -%patch29 -p1 -%patch30 -p1 -%patch32 -p1 -%patch33 -p1 -%patch34 -p1 -%patch35 -p1 -%patch36 -p1 -%patch37 -p1 - - -%build -unset QTDIR || : ; . /etc/profile.d/qt?.sh -export PATH="%{tde_bindir}:${QTDIR}/bin:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" - -# We need LD_LIBRARY_PATH here because ld.so.conf file has not been written yet -export LD_LIBRARY_PATH="%{tde_libdir}" - - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DDOC_INSTALL_DIR=%{tde_docdir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DPKGCONFIG_INSTALL_DIR=%{tde_libdir}/pkgconfig \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - -DWITH_ARTS=ON \ - -DWITH_ALSA=ON \ - -DWITH_LIBART=ON \ - -DWITH_LIBIDN=ON \ - -DWITH_SSL=ON \ - -DWITH_CUPS=ON \ - -DWITH_LUA=OFF \ - -DWITH_TIFF=ON \ - %{?with_jasper:-DWITH_JASPER=ON} \ - %{?with_hspell:-DWITH_HSPELL=ON} \ -%if 0%{?rhel} == 4 - -DWITH_OPENEXR=OFF \ - -DWITH_PCRE=OFF \ - -DWITH_INOTIFY=OFF \ - -DWITH_AVAHI=OFF \ -%else - -DWITH_OPENEXR=ON \ - -DWITH_PCRE=ON \ - -DWITH_INOTIFY=ON \ - -DWITH_AVAHI=ON \ -%endif - -DWITH_UTEMPTER=ON \ - -DWITH_ASPELL=ON \ - -DWITH_GAMIN=ON \ - .. - -%__make %{?_smp_mflags} - - -%install -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{?buildroot} -C build - -%if "%{?tde_prefix}" != "/usr" -%__mkdir_p %{?buildroot}%{_sysconfdir}/ld.so.conf.d -cat <%{?buildroot}%{_sysconfdir}/ld.so.conf.d/trinity.conf -%{tde_libdir} -EOF -%endif - -# Moves the XDG configuration files to TDE directory -%if "%{tde_prefix}" != "/usr" -%__install -p -D -m644 \ - "%{?buildroot}%{_sysconfdir}/xdg/menus/applications.menu" \ - "%{?buildroot}%{tde_prefix}/etc/xdg/menus/kde-applications.menu" -%__rm -rf "%{?buildroot}%{_sysconfdir}/xdg" -%else -%__mv -f "%{?buildroot}%{_sysconfdir}/xdg/menus/applications.menu" "%{?buildroot}%{_sysconfdir}/xdg/menus/kde-applications.menu" -%endif - - -%clean -%__rm -rf %{?buildroot} - - -%changelog -* Sat Aug 18 2012 Francois Andriot - 3.5.13-12 -- Fix language switch inside application [Bug #1074] -- Removes patch 'Add ability to set KLed off color [Commit #513ffc6e]' -- Prevent XDG autostart files from starting multiple times [Bug #1096] [Commit #e9f29cfb] - -* Sun Jul 22 2012 Francois Andriot - 3.5.13-11 -- Fix iso kioslave not parsing large images properly [Commit #b4bba7b5] -- Add ability to set KLed off color [Commit #513ffc6e] -- Fix spinbox text entry when base is not 10 [Commit #d1c71f69] -- Update iso kioslave to better handle large images [Commit #dca4c677] -- Restore tdesu dialog "Keep password" check box default to disabled/unchecked. [Commit #87363770] - -* Tue Jun 26 2012 Francois Andriot - 3.5.13-10 -- Renames to 'trinity-tdelibs' -- Enable 'aspell', 'hspell' and 'libidn' -- Export kdemain symbol in iso kioslave [Bug #465] [Commit #0536f0b7] - -* Tue Jun 19 2012 Francois Andriot - 3.5.13-9 -- Renames to 'tdelibs' -- Fix 'ld.so.conf' file -- Fix konq filter in list view mode. [Commit #06b51484] -- Fix tdesu internal pathing [Bug #766] [Commit #e131f10b] -- Fix slider drawing on external paint devices [Commit #a1c30c14] -- Reduce "More Applications" and extra koffice items from TDE menu. [Commit #1c06ae32] -- Fix creation of profile directory in system root [Bug #293] [Commit #049525ee] -- Initialize X11 threading when kinit is used to launch a program [Bug #812] [Commit #6c806af1] -- Fix composition extension detection [Commit #41ea89f7] -- Fix KTempFile not obeying special bits on file creation [Bug #349] [Commit #9068fffd] -- Add dynamic label support to kpassworddialog [Commit #3c752316] -- Fix FTBFS - incomplete build kspell2 [Bug #657] [Commit #3e284fad] - -* Tue Apr 24 2012 Francois Andriot - 3.5.13-8 -- Fix "Konqueror: Does not update file pane with file changes" [Bug #756] -- Fix compilation with GCC 4.7 - -* Sat Jan 21 2012 Francois Andriot - 3.5.13-7 -- Fix UTF8 Encoding for WebDAV directories -- Fix hardcoded path in 'add printer' [Bug #383] - -* Mon Jan 16 2012 Francois Andriot - 3.5.13-6 -- Adds 'fam' and 'gamin' support - -* Sat Jan 14 2012 Francois Andriot - 3.5.13-5 -- Adds 'inotify' support - -* Sat Dec 31 2011 Francois Andriot - 3.5.13-4 -- Enable pcre support in kdelibs [Bug #569] -- Updated Kate syntax highlighting files [Bug #764] -- Disable 'max line length' detection [Bug #656] -- Add 'Provides: kdelibs3' to avoid installing distro-provided KDE3 libraries - -* Sat Nov 12 2011 Francois Andriot - 3.5.13-3 -- Moves XDG files in TDE prefix to avoid conflict with distro-provided KDE - -* Thu Nov 03 2011 Francois Andriot - 3.5.13-2 -- Add missing BuildRequires - -* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 -- Initial release for RHEL 6, RHEL 5 and Fedora 15 - -* Wed Sep 02 2011 Francois Andriot - 3.5.13-0 -- Import to GIT diff --git a/redhat/tdelibs/trinity-tdelibs-14.0.0.spec b/redhat/tdelibs/trinity-tdelibs-14.0.0.spec deleted file mode 100644 index 326915004..000000000 --- a/redhat/tdelibs/trinity-tdelibs-14.0.0.spec +++ /dev/null @@ -1,456 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE specific variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -Name: trinity-tdelibs -Version: 14.0.0 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} -License: GPL -Summary: TDE Libraries -Group: Environment/Libraries - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz - - -Obsoletes: tdelibs < %{version}-%{release} -Provides: tdelibs = %{version}-%{release} -Obsoletes: trinity-kdelibs < %{version}-%{release} -Provides: trinity-kdelibs = %{version}-%{release} -Obsoletes: trinity-kdelibs-apidocs < %{version}-%{release} -Provides: trinity-kdelibs-apidocs = %{version}-%{release} - - -BuildRequires: cmake >= 2.8 -BuildRequires: libtool -BuildRequires: trinity-tqt3-devel >= %{version} -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-arts-devel >= %{version} -BuildRequires: trinity-dbus-1-tqt-devel >= %{version} -BuildRequires: trinity-dbus-tqt-devel >= %{version} -BuildRequires: krb5-devel -BuildRequires: libxslt-devel -BuildRequires: cups-devel -BuildRequires: trinity-libart-lgpl-devel -BuildRequires: openssl-devel -BuildRequires: gcc-c++ -BuildRequires: alsa-lib-devel -BuildRequires: libidn-devel -BuildRequires: libtiff-devel -BuildRequires: glib2-devel -# LUA support are not ready yet -#BuildRequires: lua-devel - -# ASPELL support -BuildRequires: aspell -BuildRequires: aspell-devel - -# GAMIN support -# Not on openSUSE. -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_gamin 1 -BuildRequires: gamin-devel -%endif - -# PCRE support -%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define with_pcre 1 -BuildRequires: pcre-devel -%endif - -# INOTIFY support -%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define with_inotify 1 -%endif - -# BZIP2 support -%if 0%{?suse_version} -BuildRequires: libbz2-devel -%else -BuildRequires: bzip2-devel -%endif - -# UTEMPTER support -%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: libutempter-devel -%endif -%if 0%{?rhel} == 4 -BuildRequires: utempter -%endif -%if 0%{?suse_version} -BuildRequires: utempter-devel -%endif - -# HSPELL support -%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_hspell 1 -BuildRequires: hspell-devel -%endif - -# JASPER support -%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define with_jasper 1 -%if 0%{?suse_version} -BuildRequires: libjasper-devel -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}jasper-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: jasper-devel -%endif -%endif - -# AVAHI support -%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define with_avahi 1 -BuildRequires: trinity-avahi-tqt-devel >= %{version} -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}avahi-client-devel -Requires: %{_lib}avahi-client3 -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} -BuildRequires: avahi-devel -Requires: avahi -%endif -%endif - -# OPENEXR support -%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define with_openexr 1 -BuildRequires: OpenEXR-devel -%endif - -# LIBTOOL -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}ltdl-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 -BuildRequires: libtool-ltdl-devel -%endif -%if 0%{?rhel} == 4 || 0%{?suse_version} == 1140 -BuildRequires: libtool -%endif - -# X11 support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: x11-proto-devel -BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} -BuildRequires: xorg-x11-proto-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 -BuildRequires: libXcomposite-devel -%endif -%if 0%{?rhel} == 4 -BuildRequires: xorg-x11-devel -%endif - -# ICEAUTH -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} >= 1220 -Requires: iceauth -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} -Requires: xorg-x11-server-utils -%endif -%if 0%{?rhel} == 4 || 0%{?suse_version} -Requires: xorg-x11 -%endif - -# XZ support -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} -%define with_lzma 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}lzma-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} -BuildRequires: xz-devel -%endif -%endif - -# NETWORKMANAGER support -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?suse_version} -%define with_nm 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}nm-util-devel -%endif -%endif - -Requires: trinity-tqt3 >= %{version} -Requires: trinity-tqtinterface >= %{version} -Requires: trinity-arts >= %{version} - -%description -Libraries for the Trinity Desktop Environment: -TDE Libraries included: tdecore (TDE core library), kdeui (user interface), -kfm (file manager), khtmlw (HTML widget), kio (Input/Output, networking), -kspell (spelling checker), jscript (javascript), kab (addressbook), -kimgio (image manipulation). - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING COPYING-DOCS COPYING.LIB README TODO -%{tde_bindir}/artsmessage -%{tde_bindir}/cupsdconf -%{tde_bindir}/cupsdoprint -%{tde_bindir}/dcop -%{tde_bindir}/dcopclient -%{tde_bindir}/dcopfind -%{tde_bindir}/dcopobject -%{tde_bindir}/dcopquit -%{tde_bindir}/dcopref -%{tde_bindir}/dcopserver -%{tde_bindir}/dcopserver_shutdown -%{tde_bindir}/dcopstart -%{tde_bindir}/filesharelist -%{tde_bindir}/fileshareset -%{tde_bindir}/imagetops -%{tde_bindir}/tdeab2tdeabc -%{tde_bindir}/kaddprinterwizard -%{tde_bindir}/tdebuildsycoca -%{tde_bindir}/tdecmshell -%{tde_bindir}/tdeconf_update -%{tde_bindir}/kcookiejar -%{tde_bindir}/[kt]de-config -%{tde_bindir}/[kt]de-menu -%{tde_bindir}/kded -%{tde_bindir}/[kt]deinit -%{tde_bindir}/[kt]deinit_shutdown -%{tde_bindir}/[kt]deinit_wrapper -%{tde_bindir}/[kt]desu_stub -%{tde_bindir}/kdetcompmgr -%{tde_bindir}/kdontchangethehostname -%{tde_bindir}/tdedostartupconfig -%{tde_bindir}/tdefile -%{tde_bindir}/kfmexec -%{tde_bindir}/tdehotnewstuff -%{tde_bindir}/kinstalltheme -%{tde_bindir}/tdeio_http_cache_cleaner -%{tde_bindir}/tdeio_uiserver -%{tde_bindir}/tdeioexec -%{tde_bindir}/tdeioslave -%{tde_bindir}/tdelauncher -%{tde_bindir}/tdemailservice -%{tde_bindir}/tdemimelist -%attr(4755,root,root) %{tde_bindir}/kpac_dhcp_helper -%{tde_bindir}/tdesendbugmail -%{tde_bindir}/kshell -%{tde_bindir}/tdestartupconfig -%{tde_bindir}/tdetelnetservice -%{tde_bindir}/tdetradertest -%{tde_bindir}/kwrapper -%{tde_bindir}/lnusertemp -%{tde_bindir}/make_driver_db_cups -%{tde_bindir}/make_driver_db_lpr -%{tde_bindir}/meinproc -%{tde_bindir}/networkstatustestservice -%{tde_bindir}/start_[kt]deinit -%{tde_bindir}/start_[kt]deinit_wrapper -%attr(4755,root,root) %{tde_bindir}/kgrantpty -%{tde_bindir}/tde_dbus_hardwarecontrol -%{tde_bindir}/checkXML -%{tde_bindir}/ksvgtopng -%{tde_bindir}/tdeunittestmodrunner -%{tde_bindir}/preparetips -%{tde_tdelibdir}/* -%{tde_libdir}/lib*.so.* -%{tde_libdir}/lib[kt]deinit_*.la -%{tde_libdir}/lib[kt]deinit_*.so -%{tde_datadir}/applications/[kt]de/*.desktop -%{tde_datadir}/autostart/tdeab2tdeabc.desktop -%{tde_datadir}/applnk/tdeio_iso.desktop -%{tde_datadir}/apps/* -%exclude %{tde_datadir}/apps/ksgmltools2/ -%config(noreplace) %{tde_datadir}/config/* -%{tde_datadir}/emoticons/* -%{tde_datadir}/icons/crystalsvg/ -%{tde_datadir}/icons/default.tde -%{tde_datadir}/icons/hicolor/index.theme -%{tde_datadir}/locale/all_languages -%{tde_datadir}/mimelnk/magic -%{tde_datadir}/mimelnk/*/*.desktop -%{tde_datadir}/services/* -%{tde_datadir}/servicetypes/* -%{tde_tdedocdir}/HTML/en/common/* -%{tde_tdedocdir}/HTML/en/tdespell/ - -%{_sysconfdir}/dbus-1/system.d/org.trinitydesktop.hardwarecontrol.conf -%{tde_prefix}/etc/xdg/menus/tde-applications.menu -%{_sysconfdir}/ld.so.conf.d/trinity.conf -%{_datadir}/dbus-1/system-services/org.trinitydesktop.hardwarecontrol.service - - -%pre -# TDE Bug #1074 -if [ -d "%{tde_datadir}/locale/all_languages" ]; then - rm -rf "%{tde_datadir}/locale/all_languages" -fi - -%post -/sbin/ldconfig || : - -%postun -/sbin/ldconfig || : - -########## - -%package devel -Summary: %{name} - Development files -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -Obsoletes: tdelibs-devel < %{version}-%{release} -Provides: tdelibs-devel = %{version}-%{release} -Obsoletes: trinity-kdelibs-devel < %{version}-%{release} -Provides: trinity-kdelibs-devel = %{version}-%{release} - -%description devel -This package includes the header files you will need to compile -applications for TDE. - -%files devel -%defattr(-,root,root,-) -%{tde_bindir}/dcopidl* -%{tde_bindir}/*config_compiler -%{tde_bindir}/make[kt]dewidgets -%{tde_datadir}/apps/ksgmltools2/ -%{tde_tdeincludedir}/* -%{tde_libdir}/*.la -%{tde_libdir}/*.so -%{tde_libdir}/*.a -%{tde_libdir}/pkgconfig/tdelibs.pc -%exclude %{tde_libdir}/lib[kt]deinit_*.la -%exclude %{tde_libdir}/lib[kt]deinit_*.so -%{tde_datadir}/cmake/[kt]delibs.cmake - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - - -%build -unset QTDIR -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" - -# We need LD_LIBRARY_PATH here because ld.so.conf file has not been written yet -export LD_LIBRARY_PATH="%{tde_libdir}" - -if [ -d "/usr/X11R6" ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -L/usr/X11R6/%{_lib} -I/usr/X11R6/include" -fi - - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DBIN_INSTALL_DIR="%{tde_bindir}" \ - -DDOC_INSTALL_DIR="%{tde_docdir}" \ - -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DWITH_ARTS=ON \ - -DWITH_ALSA=ON \ - -DWITH_LIBART=ON \ - -DWITH_LIBIDN=ON \ - -DWITH_SSL=ON \ - -DWITH_CUPS=ON \ - -DWITH_LUA=OFF \ - -DWITH_TIFF=ON \ - %{?with_jasper:-DWITH_JASPER=ON} \ - %{?with_openexr:-DWITH_OPENEXR=ON} \ - -DWITH_UTEMPTER=ON \ - -DWITH_ELFICON=OFF \ - %{?with_avahi:-DWITH_AVAHI=ON} \ - %{?!with_pcre:-DWITH_PCRE=OFF} \ - -DWITH_GCC_VISIBILITY=ON \ - %{?!with_inotify:-DWITH_INOTIFY=OFF} \ - %{?!with_gamin:-DWITH_GAMIN=OFF} %{?with_gamin:-DWITH_GAMIN=ON} \ - -DWITH_UPOWER=ON \ - -DWITH_UDISKS=ON \ - -DWITH_UDISKS2=ON \ - -DWITH_CONSOLEKIT=ON \ - %{?with_nm:-DWITH_NETWORK_MANAGER_BACKEND=ON} \ - -DWITH_SUDO_TDESU_BACKEND=OFF \ - -DWITH_OLD_XDG_STD=OFF \ - %{?with_lzma:-DWITH_LZMA=ON} %{?!with_lzma:-DWITH_LZMA=OFF} \ - -DWITH_ASPELL=ON \ - %{?with_hspell:-DWITH_HSPELL=ON} \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -%__rm -rf "%{?buildroot}" -%__make install DESTDIR="%{?buildroot}" -C build - -%if "%{?tde_prefix}" != "/usr" -%__mkdir_p "%{?buildroot}%{_sysconfdir}/ld.so.conf.d" -cat <"%{?buildroot}%{_sysconfdir}/ld.so.conf.d/trinity.conf" -%{tde_libdir} -EOF -%endif - -# Moves the XDG configuration files to TDE directory -%if "%{tde_prefix}" != "/usr" -%__install -p -D -m644 \ - "%{?buildroot}%{_sysconfdir}/xdg/menus/applications.menu" \ - "%{?buildroot}%{tde_prefix}/etc/xdg/menus/tde-applications.menu" -%__rm -rf "%{?buildroot}%{_sysconfdir}/xdg" -%else -%__mv -f "%{?buildroot}%{_sysconfdir}/xdg/menus/applications.menu" "%{?buildroot}%{_sysconfdir}/xdg/menus/tde-applications.menu" -%endif - -# Appends TDE version to '.pc' file -echo "Version: %{version}" >>"%{?buildroot}%{tde_libdir}/pkgconfig/tdelibs.pc" - - -%clean -%__rm -rf "%{?buildroot}" - - -%changelog -* Thu Feb 16 2012 Francois Andriot - 14.0.0-1 -- Initial build for TDE R14, using 'tqt3' instead of 'qt3' diff --git a/redhat/tdelibs/trinity-tdelibs-3.5.13.2.spec b/redhat/tdelibs/trinity-tdelibs-3.5.13.2.spec deleted file mode 100644 index ec061213a..000000000 --- a/redhat/tdelibs/trinity-tdelibs-3.5.13.2.spec +++ /dev/null @@ -1,481 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -Name: trinity-tdelibs -Version: 3.5.13.2 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} -License: GPL -Summary: TDE Libraries -Group: Environment/Libraries - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz - -Patch1: tdelibs-3.5.13.2-xdg_dirs_set_path.patch -Patch2: tdelibs-3.5.13.2-cups_by_default.patch - -Obsoletes: tdelibs < %{version}-%{release} -Provides: tdelibs = %{version}-%{release} -Obsoletes: trinity-kdelibs < %{version}-%{release} -Provides: trinity-kdelibs = %{version}-%{release} -Obsoletes: trinity-kdelibs-apidocs < %{version}-%{release} -Provides: trinity-kdelibs-apidocs = %{version}-%{release} - - -BuildRequires: cmake >= 2.8 -BuildRequires: libtool -BuildRequires: qt3-devel -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-arts-devel >= %{version} -BuildRequires: krb5-devel -BuildRequires: libxslt-devel -BuildRequires: cups-devel -BuildRequires: libart_lgpl-devel -BuildRequires: openssl-devel -BuildRequires: gcc-c++ -BuildRequires: alsa-lib-devel -BuildRequires: libidn-devel -BuildRequires: libtiff-devel -BuildRequires: glib2-devel -# LUA support are not ready yet -#BuildRequires: lua-devel - -# ASPELL support -BuildRequires: aspell -BuildRequires: aspell-devel - -# GAMIN support -# Not on openSUSE. -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_gamin 1 -BuildRequires: gamin-devel -%endif - -# PCRE support -%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define with_pcre 1 -BuildRequires: pcre-devel -%endif - -# INOTIFY support -%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define with_inotify 1 -%endif - -# BZIP2 support -%if 0%{?suse_version} -BuildRequires: libbz2-devel -%else -BuildRequires: bzip2-devel -%endif - -# UTEMPTER support -%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: libutempter-devel -%endif -%if 0%{?rhel} == 4 -BuildRequires: utempter -%endif -%if 0%{?suse_version} -BuildRequires: utempter-devel -%endif - -# HSPELL support -%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_hspell 1 -BuildRequires: hspell-devel -%endif - -# JASPER support -%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define with_jasper 1 -%if 0%{?suse_version} -BuildRequires: libjasper-devel -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}jasper-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: jasper-devel -%endif -%endif - -# AVAHI support -%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define with_avahi 1 -BuildRequires: trinity-avahi-tqt-devel >= %{version} -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}avahi-client-devel -Requires: %{_lib}avahi-client3 -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} -BuildRequires: avahi-devel -Requires: avahi -%endif -%endif - -# OPENEXR support -%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define with_openexr 1 -BuildRequires: OpenEXR-devel -%endif - -# LIBTOOL -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}ltdl-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 -BuildRequires: libtool-ltdl-devel -%endif -%if 0%{?rhel} == 4 || 0%{?suse_version} == 1140 -BuildRequires: libtool -%endif - -# X11 support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: x11-proto-devel -BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} -BuildRequires: xorg-x11-proto-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 -BuildRequires: libXcomposite-devel -%endif -%if 0%{?rhel} == 4 -BuildRequires: xorg-x11-devel -%endif - -# ICEAUTH -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} >= 1220 -Requires: iceauth -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} -Requires: xorg-x11-server-utils -%endif -%if 0%{?rhel} == 4 || 0%{?suse_version} -Requires: xorg-x11 -%endif - -# XZ support -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} -%define with_lzma 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}lzma-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} -BuildRequires: xz-devel -%endif -%endif - -Requires: trinity-tqtinterface >= %{version} -Requires: trinity-arts >= %{version} -Requires: qt3 >= 3.3.8.d - -%description -Libraries for the Trinity Desktop Environment: -TDE Libraries included: tdecore (TDE core library), kdeui (user interface), -kfm (file manager), khtmlw (HTML widget), kio (Input/Output, networking), -kspell (spelling checker), jscript (javascript), kab (addressbook), -kimgio (image manipulation). - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING COPYING-DOCS COPYING.LIB README TODO -%{tde_bindir}/artsmessage -%{tde_bindir}/cupsdconf -%{tde_bindir}/cupsdoprint -%{tde_bindir}/dcop -%{tde_bindir}/dcopclient -%{tde_bindir}/dcopfind -%{tde_bindir}/dcopobject -%{tde_bindir}/dcopquit -%{tde_bindir}/dcopref -%{tde_bindir}/dcopserver -%{tde_bindir}/dcopserver_shutdown -%{tde_bindir}/dcopstart -%{tde_bindir}/filesharelist -%{tde_bindir}/fileshareset -%{tde_bindir}/imagetops -%{tde_bindir}/kab2kabc -%{tde_bindir}/kaddprinterwizard -%{tde_bindir}/kbuildsycoca -%{tde_bindir}/kcmshell -%{tde_bindir}/kconf_update -%{tde_bindir}/kcookiejar -%{tde_bindir}/kde-config -%{tde_bindir}/kde-menu -%{tde_bindir}/kded -%{tde_bindir}/kdeinit -%{tde_bindir}/kdeinit_shutdown -%{tde_bindir}/kdeinit_wrapper -%{tde_bindir}/kdesu_stub -%{tde_bindir}/kdontchangethehostname -%{tde_bindir}/kdostartupconfig -%{tde_bindir}/kfile -%{tde_bindir}/kfmexec -%{tde_bindir}/khotnewstuff -%{tde_bindir}/kinstalltheme -%{tde_bindir}/kio_http_cache_cleaner -%{tde_bindir}/kio_uiserver -%{tde_bindir}/kioexec -%{tde_bindir}/kioslave -%{tde_bindir}/klauncher -%{tde_bindir}/kmailservice -%{tde_bindir}/kmimelist -%attr(4755,root,root) %{tde_bindir}/kpac_dhcp_helper -%{tde_bindir}/ksendbugmail -%{tde_bindir}/kshell -%{tde_bindir}/kstartupconfig -%{tde_bindir}/ktelnetservice -%{tde_bindir}/ktradertest -%{tde_bindir}/kwrapper -%{tde_bindir}/lnusertemp -%{tde_bindir}/make_driver_db_cups -%{tde_bindir}/make_driver_db_lpr -%{tde_bindir}/meinproc -%{tde_bindir}/networkstatustestservice -%{tde_bindir}/start_kdeinit -%{tde_bindir}/start_kdeinit_wrapper -%attr(4755,root,root) %{tde_bindir}/kgrantpty -%{tde_tdelibdir}/* -%{tde_libdir}/lib*.so.* -%{tde_libdir}/lib[kt]deinit_*.la -%{tde_libdir}/lib[kt]deinit_*.so -%{tde_datadir}/applications/kde/*.desktop -%{tde_datadir}/autostart/kab2kabc.desktop -%{tde_datadir}/applnk/kio_iso.desktop -%{tde_datadir}/apps/* -%exclude %{tde_datadir}/apps/ksgmltools2/ -%config(noreplace) %{tde_datadir}/config/* -%{tde_datadir}/emoticons/* -%{tde_datadir}/icons/default.kde -%{_sysconfdir}/alternatives/default.kde -%{tde_datadir}/mimelnk/magic -%{tde_datadir}/mimelnk/*/*.desktop -%{tde_datadir}/services/* -%{tde_datadir}/servicetypes/* -%{tde_datadir}/icons/crystalsvg/ -%{tde_tdedocdir}/HTML/en/kspell/ -# remove conflicts with kdelibs-4 -%if "%{?tde_prefix}" != "/usr" -%{tde_bindir}/checkXML -%{tde_bindir}/ksvgtopng -%{tde_bindir}/kunittestmodrunner -%{tde_bindir}/preparetips -%{tde_datadir}/icons/hicolor/index.theme -%{tde_datadir}/locale/all_languages -%{tde_tdedocdir}/HTML/en/common/* -%{_sysconfdir}/ld.so.conf.d/trinity.conf -%else -%exclude %{tde_bindir}/checkXML -%exclude %{tde_bindir}/ksvgtopng -%exclude %{tde_bindir}/kunittestmodrunner -%exclude %{tde_bindir}/preparetips -%exclude %{tde_datadir}/config/colors -%exclude %{tde_datadir}/config/kdebug.areas -%exclude %{tde_datadir}/config/kdebugrc -%exclude %{tde_datadir}/config/ksslcalist -%exclude %{tde_datadir}/config/ui/ui_standards.rc -%exclude %{tde_datadir}/icons/hicolor/index.theme -%exclude %{tde_datadir}/locale/all_languages -%exclude %{tde_tdedocdir}/HTML/en/common/* -%endif - -# Avoid conflict with 'redhat-menus' package -%if "%{tde_prefix}" == "/usr" -%{_sysconfdir}/xdg/menus/kde-applications.menu -%else -%{tde_prefix}/etc/xdg/menus/kde-applications.menu -%endif - -# New in TDE 3.5.13 -%{tde_bindir}/kdetcompmgr - -%pre -# TDE Bug #1074 -if [ -d "%{tde_datadir}/locale/all_languages" ]; then - rm -rf "%{tde_datadir}/locale/all_languages" -fi - -%post -/sbin/ldconfig || : -# Sets default theme as 'crystalsvg' -update-alternatives --install \ - %{tde_datadir}/icons/default.kde \ - default.kde \ - %{tde_datadir}/icons/crystalsvg \ - 10 || : - -%preun -if [ $1 -eq 0 ]; then - update-alternatives --remove \ - default.kde \ - %{tde_datadir}/icons/crystalsvg || : -fi - -%postun -/sbin/ldconfig || : - -########## - -%package devel -Summary: %{name} - Development files -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -Obsoletes: tdelibs-devel < %{version}-%{release} -Provides: tdelibs-devel = %{version}-%{release} -Obsoletes: trinity-kdelibs-devel < %{version}-%{release} -Provides: trinity-kdelibs-devel = %{version}-%{release} - -%description devel -This package includes the header files you will need to compile -applications for TDE. - -%files devel -%defattr(-,root,root,-) -%{tde_bindir}/dcopidl* -%{tde_bindir}/kconfig_compiler -%{tde_bindir}/makekdewidgets -%{tde_datadir}/apps/ksgmltools2/ -%{tde_tdeincludedir}/* -%{tde_libdir}/*.la -%{tde_libdir}/*.so -%{tde_libdir}/*.a -%exclude %{tde_libdir}/lib[kt]deinit_*.la -%exclude %{tde_libdir}/lib[kt]deinit_*.so - -# New in TDE 3.5.13 -%{tde_datadir}/cmake/[kt]delibs.cmake - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} -%patch1 -p1 -b .xdg_path -%patch2 -p1 -b .cups_by_default - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${QTDIR}/bin:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" - -# We need LD_LIBRARY_PATH here because ld.so.conf file has not been written yet -export LD_LIBRARY_PATH="%{tde_libdir}" - -export KDEDIR="%{tde_prefix}" - -if [ -d "/usr/X11R6" ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -L/usr/X11R6/%{_lib} -I/usr/X11R6/include" -fi - - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DBIN_INSTALL_DIR="%{tde_bindir}" \ - -DDOC_INSTALL_DIR="%{tde_docdir}" \ - -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DWITH_ARTS=ON \ - -DWITH_ALSA=ON \ - -DWITH_LIBART=ON \ - -DWITH_LIBIDN=ON \ - -DWITH_SSL=ON \ - -DWITH_CUPS=ON \ - -DWITH_LUA=OFF \ - -DWITH_TIFF=ON \ - %{?with_jasper:-DWITH_JASPER=ON} \ - %{?with_openexr:-DWITH_OPENEXR=ON} \ - -DWITH_UTEMPTER=ON \ - %{?with_avahi:-DWITH_AVAHI=ON} \ - %{?!with_pcre:-DWITH_PCRE=OFF} \ - %{?!with_inotify:-DWITH_INOTIFY=OFF} \ - %{?!with_gamin:-DWITH_GAMIN=OFF} %{?with_gamin:-DWITH_GAMIN=ON} \ - -DWITH_SUDO_KDESU_BACKEND=OFF \ - %{?with_lzma:-DWITH_LZMA=ON} %{?!with_lzma:-DWITH_LZMA=OFF} \ - -DWITH_ASPELL=ON \ - %{?with_hspell:-DWITH_HSPELL=ON} \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -%__rm -rf "%{?buildroot}" -%__make install DESTDIR="%{?buildroot}" -C build - -%if "%{?tde_prefix}" != "/usr" -%__mkdir_p "%{?buildroot}%{_sysconfdir}/ld.so.conf.d" -cat <"%{?buildroot}%{_sysconfdir}/ld.so.conf.d/trinity.conf" -%{tde_libdir} -EOF -%endif - -# Moves the XDG configuration files to TDE directory -%if "%{tde_prefix}" != "/usr" -%__install -p -D -m644 \ - "%{?buildroot}%{_sysconfdir}/xdg/menus/applications.menu" \ - "%{?buildroot}%{tde_prefix}/etc/xdg/menus/kde-applications.menu" -%__rm -rf "%{?buildroot}%{_sysconfdir}/xdg" -%else -%__mv -f "%{?buildroot}%{_sysconfdir}/xdg/menus/applications.menu" "%{?buildroot}%{_sysconfdir}/xdg/menus/kde-applications.menu" -%endif - -# Makes 'default.kde' theme an alternative with 'crystalsvg-updated' -%__rm -f "%{?buildroot}%{tde_datadir}/icons/default.kde" -%__ln_s "%{_sysconfdir}/alternatives/default.kde" "%{?buildroot}%{tde_datadir}/icons/default.kde" -%__mkdir_p "%{?buildroot}%{_sysconfdir}/alternatives" -%__ln_s "%{tde_datadir}/icons/crystalsvg" "%{?buildroot}%{_sysconfdir}/alternatives/default.kde" - - -%clean -%__rm -rf "%{?buildroot}" - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 -- Initial release for TDE 3.5.13.2 diff --git a/redhat/tdemultimedia/kdemultimedia-3.5.12.spec b/redhat/tdemultimedia/kdemultimedia-3.5.12.spec new file mode 100644 index 000000000..e7dd20564 --- /dev/null +++ b/redhat/tdemultimedia/kdemultimedia-3.5.12.spec @@ -0,0 +1,396 @@ +# Default version for this component +%if "%{?version}" == "" +%define version 3.5.12 +%endif +%define release 2 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_prefix}/share/doc +%endif + +# TDE 3.5.12 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir} +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/kde3 + + +%define appdir %{_datadir}/applications/kde + +# former extras bits +#define _with_akode --with-akode +## not currently compatible with libtunepimp-0.5 (only libtunepimp-0.4) +#define _with_musicbrainz --with-musicbrainz +%define _with_taglib --with-taglib +%define _with_xine --with-xine + +Name: trinity-kdemultimedia +Summary: Multimedia applications for the K Desktop Environment (KDE) +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2 +Group: Applications/Multimedia + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: kdemultimedia-%{version}.tar.gz + +Provides: kdemultimedia3 = %{version}-%{release} + +# RedHat Legacy patches (from Fedora 8) +Patch3: kdemultimedia-3.4.0-xdg.patch +Patch5: kdemultimedia-3.5.7-pthread.patch + +Provides: kdemultimedia3 = %{version}-%{release} + +Requires: %{name}-libs = %{version}-%{release} + +BuildRequires: zlib-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: libvorbis-devel +BuildRequires: audiofile-devel +BuildRequires: desktop-file-utils +BuildRequires: libtheora-devel +BuildRequires: flac-devel +BuildRequires: alsa-lib-devel +BuildRequires: cdparanoia-devel cdparanoia +BuildRequires: gstreamer-devel +BuildRequires: automake libtool +%{?_with_akode:BuildRequires: akode-devel} +%{?_with_musicbrainz:BuildRequires: libmusicbrainz-devel libtunepimp-devel} +%{?_with_taglib:BuildRequires: taglib-devel} +%{?_with_xine:BuildRequires: xine-lib-devel} +BuildRequires: libXxf86dga-devel +BuildRequires: libXxf86vm-devel + +%description +The K Desktop Environment (KDE) is a GUI desktop for the X Window +System. The %{name} package contains multimedia applications for +KDE, including: + kmid, a midi player + kmix, an audio mixer + arts, additional functionality for the aRts sound system + krec, a recording tool + kscd, an Audio-CD player + kaudiocreator, a graphical frontend for audio file creation + +%package devel +Summary: Development files for %{name}, aRts and noatun plugins +Group: Development/Libraries +Provides: kdemultimedia3-devel = %{version}-%{release} +Requires: %{name}-libs = %{version}-%{release} +# for noatun shlib(s) +Requires: %{name}-extras-libs = %{version}-%{release} +Requires: trinity-kdelibs-devel +%description devel +{summary}. +Install %{name}-devel if you wish to develop or compile any +applications using aRtsbuilder, aRtsmidi, aRtskde, aRts modules or +noatun plugins. + +%package extras +Summary: Extra applications from %{name} +Group: Applications/Multimedia +Requires: %{name}-extras-libs = %{version}-%{release} +%description extras +%{summary}, including: + * juk, a media player + * kaboodle, a media player + * noatun, a media player + +%package extras-libs +Summary: Extra %{name} runtime libraries +Group: System Environment/Libraries +Requires: %{name}-libs = %{version}-%{release} +%description extras-libs +%{summary}. + +%package libs +Summary: %{name} runtime libraries +Group: System Environment/Libraries +Requires: trinity-kdelibs +# include to be paranoid, installing libs-only is still mostly untested -- Rex +Requires: %{name} = %{version}-%{release} +%description libs +%{summary}. + + +%prep +%setup -q -n kdemultimedia +%patch3 -p1 -b .xdg +%patch5 -p1 -b .pthread + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%if 0%{?fedora} > 0 +export CXXFLAGS="${CXXFLAGS} -lDCOP" +%endif + +%configure \ + --enable-new-ldflags \ + --disable-dependency-tracking \ + --includedir=%{tde_includedir} \ + --with-cdparanoia \ + --with-flac \ + --with-theora \ + --with-vorbis \ + --with-alsa \ + --with-gstreamer \ + --without-lame \ + --disable-debug \ + --disable-warnings \ + --enable-final \ + --disable-rpath \ + %{?_with_akode} %{!?_with_akode:--without-akode} \ + %{?_with_musicbrainz} %{!?_with_musicbrainz:--without-musicbrainz} \ + %{?_with_taglib} %{!?_with_taglib:--without-taglib} \ + %{?_with_xine} %{!?_with_xine:--without-xine} \ + --with-extra-includes=%{_usr}/include/cdda:%{_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{?buildroot} + +%__make install DESTDIR=%{?buildroot} +%__make install DESTDIR=%{?buildroot} -C kaudiocreator + +## Remove/uninstall (conflicting) bits we don't want +%__rm -f $RPM_BUILD_ROOT%{_libdir}/mcop/akode*MPEGPlayObject.mcopclass + +# only show in KDE, really? -- Rex (FIXME) +for f in %{buildroot}%{appdir}/*.desktop ; do + if [ -f %{buildroot}%{appdir}/*.desktop ] ; then + echo "OnlyShowIn=KDE;" >> $f + fi +done + +# don't make these world-writeable +chmod go-w %{buildroot}%{_datadir}/apps/kscd/* + +# locale's +%find_lang %{name} || touch %{name}.lang +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi +done +fi + +# rpmdocs +for dir in k* ; do + for file in AUTHORS ChangeLog README TODO ; do + if test -s "$dir/$file" ; then + install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file" + # exclude kaboodle, juk, noatun + if [ $dir != kaboodle -a $dir != juk -a $dir != noatun ] ; then + echo "%doc rpmdocs/$dir/" >> %{name}.lang + fi + fi + done +done + + +%post +/sbin/ldconfig +for f in crystalsvg hicolor locolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun +/sbin/ldconfig +for f in crystalsvg hicolor locolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%post libs +/sbin/ldconfig + +%postun libs +/sbin/ldconfig + +%post extras-libs +/sbin/ldconfig + +%postun extras-libs +/sbin/ldconfig + +%post extras +/sbin/ldconfig +for f in crystalsvg hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun extras +/sbin/ldconfig +for f in crystalsvg hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + + +%clean +%__rm -rf %{buildroot} + + +%files extras +%defattr(-,root,root,-) + +# kaboodle +%doc rpmdocs/kaboodle/ +%doc %lang(en) %{_docdir}/HTML/en/kaboodle/ +%{_bindir}/kaboodle +%{tde_libdir}/libkaboodlepart.* +%{_datadir}/applications/kde/kaboodle.desktop +%{_datadir}/apps/kaboodle/ +%{_datadir}/icons/hicolor/*/apps/kaboodle.png +%{_datadir}/services/kaboodle* + +# noatun +%doc %lang(en) %{_docdir}/HTML/en/noatun/ +%{_bindir}/noatun +%{_libdir}/kconf_update_bin/noatun20update +%{tde_libdir}/noatun* +%{_libdir}/libartseffects.* +%{_libdir}/libwinskinvis.* +%{_libdir}/libkdeinit_noatun.* +%{_datadir}/applications/kde/noatun.desktop +%{_datadir}/apps/kconf_update/noatun.upd +%{_datadir}/apps/noatun/ +%{_datadir}/icons/hicolor/*/apps/noatun.png +%{_datadir}/mimelnk/interface/x-winamp-skin.desktop + +# juk +%doc %lang(en) %{_docdir}/HTML/en/juk/ +%{_bindir}/juk +%{_datadir}/applications/kde/juk.desktop +%{_datadir}/apps/juk/ +%{_datadir}/apps/konqueror/servicemenus/jukservicemenu.desktop +%{_datadir}/icons/crystalsvg/*/*/juk* +%{_datadir}/icons/hicolor/*/apps/juk.png + +%files extras-libs +%defattr(-,root,root,-) +%{_libdir}/libnoatun*.la +%{_libdir}/libnoatun*.so.* +%{_libdir}/libnoatunarts.so + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc COPYING + +# kaboodle +%exclude %{tde_docdir}/HTML/en/kaboodle/ +%exclude %{_bindir}/kaboodle +%exclude %{tde_libdir}/libkaboodlepart.* +%exclude %{_datadir}/applications/kde/kaboodle.desktop +%exclude %{_datadir}/apps/kaboodle/ +%exclude %{_datadir}/icons/hicolor/*/apps/kaboodle.png +%exclude %{_datadir}/services/kaboodle* + +# noatun +%exclude %{tde_docdir}/HTML/en/noatun/ +%exclude %{_bindir}/noatun +%exclude %{_libdir}/kconf_update_bin/noatun20update +%exclude %{tde_libdir}/noatun* +%exclude %{_libdir}/libartseffects.* +%exclude %{_libdir}/libkdeinit_noatun.* +%exclude %{_libdir}/libnoatunarts.* +%exclude %{_libdir}/libnoatuncontrols.* +%exclude %{_libdir}/libnoatun.* +%exclude %{_libdir}/libnoatuntags.* +%exclude %{_libdir}/libwinskinvis.* +%exclude %{_datadir}/applications/kde/noatun.desktop +%exclude %{_datadir}/apps/kconf_update/noatun.upd +%exclude %{_datadir}/apps/noatun/ +%exclude %{_datadir}/icons/hicolor/*/apps/noatun.png +%exclude %{_datadir}/mimelnk/interface/x-winamp-skin.desktop + +# juk +%exclude %{tde_docdir}/HTML/en/juk/ +%exclude %{_bindir}/juk +%exclude %{_datadir}/applications/kde/juk.desktop +%exclude %{_datadir}/apps/juk/ +%exclude %{_datadir}/apps/konqueror/servicemenus/jukservicemenu.desktop +%exclude %{_datadir}/icons/crystalsvg/*/*/juk* +%exclude %{_datadir}/icons/hicolor/*/apps/juk.png + +/etc/xdg/menus/applications-merged/* +%{_libdir}/mcop/* +%{_libdir}/libkdeinit_*.so +#%{_libdir}/liboggarts.so +%{tde_libdir}/* +%{_libdir}/kconf_update_bin/* +%{_bindir}/* +%{_datadir}/applications/kde/* +%{_datadir}/apps/* +%{_datadir}/autostart/* +%{_datadir}/config.kcfg/* +%{_datadir}/desktop-directories/* +%{_datadir}/icons/crystalsvg/*/*/* +%{_datadir}/icons/hicolor/*/*/* +%{_datadir}/icons/locolor/*/*/* +%{_datadir}/mimelnk/* +%{_datadir}/services/* +%{_datadir}/servicetypes/* + +%files libs +%defattr(-,root,root,-) +%exclude %{_libdir}/libnoatun*.* +%{_libdir}/lib*.so.* +%{_libdir}/lib*.la + + +%files devel +%defattr(-,root,root,-) +%{tde_includedir}/* +%{_libdir}/lib*.so +%exclude %{_libdir}/libkdeinit_*.so +%exclude %{_libdir}/libartseffects.so +%exclude %{_libdir}/libnoatunarts.* +#exclude %{_libdir}/liboggarts.so +%exclude %{_libdir}/libwinskinvis.so + + +%changelog +* Mon Sep 19 2011 Francois Andriot - 3.5.12-2 +- Add support for RHEL5 + +* Sat Sep 09 2011 Francois Andriot - 3.5.12-1 +- Initial build for RHEL 6 +- Spec file based on Fedora 8 "kdemultimedia-6:3.5.10-2" diff --git a/redhat/tdemultimedia/kdemultimedia-3.5.13.1.spec b/redhat/tdemultimedia/kdemultimedia-3.5.13.1.spec new file mode 100644 index 000000000..3bd093778 --- /dev/null +++ b/redhat/tdemultimedia/kdemultimedia-3.5.13.1.spec @@ -0,0 +1,1185 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +# former extras bits +%define _with_akode --with-akode +## not currently compatible with libtunepimp-0.5 (only libtunepimp-0.4) +#define _with_musicbrainz --with-musicbrainz +%define _with_taglib --with-taglib + +Name: trinity-tdemultimedia +Summary: Multimedia applications for the Trinity Desktop Environment (TDE) +Version: 3.5.13.1 +Release: 1%{?dist}%{?_variant} + +License: GPLv2 +Group: Applications/Multimedia + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: kdemultimedia-%{version}.tar.gz + + +# RedHat Legacy patches (from Fedora 8) +Patch3: kdemultimedia-3.4.0-xdg.patch +Patch5: kdemultimedia-3.5.7-pthread.patch + + +Obsoletes: trinity-kdemultimedia < %{version}-%{release} +Provides: trinity-kdemultimedia = %{version}-%{release} +Obsoletes: trinity-kdemultimedia-libs < %{version}-%{release} +Provides: trinity-kdemultimedia-libs = %{version}-%{release} +Obsoletes: trinity-kdemultimedia-extras < %{version}-%{release} +Provides: trinity-kdemultimedia-extras = %{version}-%{release} +Obsoletes: trinity-kdemultimedia-extras-libs < %{version}-%{release} +Provides: trinity-kdemultimedia-extras-libs = %{version}-%{release} + + +BuildRequires: autoconf automake libtool m4 +BuildRequires: qt3-devel +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +%{?_with_akode:BuildRequires: trinity-akode-devel} + +BuildRequires: desktop-file-utils +BuildRequires: zlib-devel + +# Audio libraries +BuildRequires: libvorbis-devel +BuildRequires: audiofile-devel +BuildRequires: libtheora-devel +BuildRequires: alsa-lib-devel +%{?_with_musicbrainz:BuildRequires: libmusicbrainz-devel libtunepimp-devel} +%{?_with_taglib:BuildRequires: taglib-devel} +BuildRequires: cdparanoia + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}gstreamer0.10-devel +BuildRequires: %{_lib}flac-devel +BuildRequires: libcdda-devel +%else +BuildRequires: gstreamer-devel +BuildRequires: flac-devel +BuildRequires: cdparanoia-devel +%endif + +# X11 Libraries +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xxf86dga-devel +BuildRequires: %{_lib}xxf86vm-devel +BuildRequires: %{_lib}xtst-devel +%endif +%if 0%{?rhel} == 4 +BuildRequires: xorg-x11-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} +BuildRequires: libXxf86dga-devel +BuildRequires: libXxf86vm-devel +BuildRequires: libXt-devel +%endif + +# XINE support +%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_xine 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xine-devel +%endif +%if 0%{?fedora} || 0%{?rhel} +BuildRequires: xine-lib-devel +%endif +%if 0%{?suse_version} >= 1220 +BuildRequires: libxine-devel +%endif +%endif + +Requires: trinity-artsbuilder = %{version}-%{release} +Requires: trinity-juk = %{version}-%{release} +Requires: trinity-kaboodle = %{version}-%{release} +Requires: trinity-kaudiocreator = %{version}-%{release} +Requires: %{name}-kfile-plugins = %{version}-%{release} +Requires: %{name}-kappfinder-data = %{version}-%{release} +Requires: %{name}-kio-plugins = %{version}-%{release} +Requires: trinity-kmid = %{version}-%{release} +Requires: trinity-kmix = %{version}-%{release} +Requires: trinity-krec = %{version}-%{release} +Requires: trinity-kscd = %{version}-%{release} +Requires: trinity-libarts-akode = %{version}-%{release} +Requires: trinity-libarts-audiofile = %{version}-%{release} +Requires: trinity-libarts-mpeglib = %{version}-%{release} +%{?with_xine:Requires: trinity-libarts-xine = %{version}-%{release}} +Requires: trinity-libkcddb = %{version}-%{release} +Requires: trinity-mpeglib = %{version}-%{release} +Requires: trinity-noatun = %{version}-%{release} + + +%description +The Trinity Desktop Environment (TDE) is a GUI desktop for the X Window +System. The %{name} package contains multimedia applications for +TDE, including: + artsbuilder, Synthesizer designer for aRts + juk, a media player + kmid, a midi player + kmix, an audio mixer + arts, additional functionality for the aRts sound system + krec, a recording tool + kscd, an Audio-CD player + kaudiocreator, a graphical frontend for audio file creation + kaboodle, a media player + noatun, a media player + +%files + +########## + +%package -n trinity-artsbuilder +Summary: Synthesizer designer for aRts +Group: Applications/Multimedia + +%description -n trinity-artsbuilder +This is the analog Realtime synthesizer's graphical design tool. + +%files -n trinity-artsbuilder +%defattr(-,root,root,-) +%{tde_bindir}/artsbuilder +%{tde_bindir}/artscontrol +%{tde_bindir}/midisend +%{tde_libdir}/libartsbuilder.la +%{tde_libdir}/libartsbuilder.so.* +%{tde_libdir}/libartscontrolapplet.la +%{tde_libdir}/libartscontrolapplet.so.* +%{tde_libdir}/libartscontrolsupport.la +%{tde_libdir}/libartscontrolsupport.so.* +%{tde_libdir}/libartsgui_idl.la +%{tde_libdir}/libartsgui_idl.so.* +%{tde_libdir}/libartsgui_kde.la +%{tde_libdir}/libartsgui_kde.so.* +%{tde_libdir}/libartsgui.la +%{tde_libdir}/libartsgui.so.* +%{tde_libdir}/libartsmidi_idl.la +%{tde_libdir}/libartsmidi_idl.so.* +%{tde_libdir}/libartsmidi.la +%{tde_libdir}/libartsmidi.so.* +%{tde_libdir}/libartsmodulescommon.la +%{tde_libdir}/libartsmodulescommon.so.* +%{tde_libdir}/libartsmoduleseffects.la +%{tde_libdir}/libartsmoduleseffects.so.* +%{tde_libdir}/libartsmodulesmixers.la +%{tde_libdir}/libartsmodulesmixers.so.* +%{tde_libdir}/libartsmodules.la +%{tde_libdir}/libartsmodules.so.* +%{tde_libdir}/libartsmodulessynth.la +%{tde_libdir}/libartsmodulessynth.so.* +%{tde_libdir}/mcop/Arts/ArtsBuilderLoader.mcopclass +%{tde_libdir}/mcop/artsbuilder.mcopclass +%{tde_libdir}/mcop/artsbuilder.mcoptype +%{tde_libdir}/mcop/Arts/Button.mcopclass +%{tde_libdir}/mcop/Arts/EffectRackGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/Effect_WAVECAPTURE.mcopclass +%{tde_libdir}/mcop/Arts/Environment/Container.mcopclass +%{tde_libdir}/mcop/Arts/Environment/EffectRackItem.mcopclass +%{tde_libdir}/mcop/Arts/Environment/InstrumentItemGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/Environment/InstrumentItem.mcopclass +%{tde_libdir}/mcop/Arts/Environment/MixerItem.mcopclass +%{tde_libdir}/mcop/Arts/Fader.mcopclass +%{tde_libdir}/mcop/Arts/FiveBandMonoComplexEQGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/FiveBandMonoComplexEQ.mcopclass +%{tde_libdir}/mcop/Arts/FreeverbGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/GenericGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/GraphLine.mcopclass +%{tde_libdir}/mcop/artsgui.mcopclass +%{tde_libdir}/mcop/artsgui.mcoptype +%{tde_libdir}/mcop/Arts/HBox.mcopclass +%{tde_libdir}/mcop/Arts/Label.mcopclass +%{tde_libdir}/mcop/Arts/LayoutBox.mcopclass +%{tde_libdir}/mcop/Arts/LevelMeter.mcopclass +%{tde_libdir}/mcop/Arts/LineEdit.mcopclass +%{tde_libdir}/mcop/Arts/LittleStereoMixerChannelGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/LittleStereoMixerChannel.mcopclass +%{tde_libdir}/mcop/Arts/LocalFactory.mcopclass +%{tde_libdir}/mcop/Arts/MidiManager.mcopclass +%{tde_libdir}/mcop/artsmidi.mcopclass +%{tde_libdir}/mcop/artsmidi.mcoptype +%{tde_libdir}/mcop/Arts/MixerGuiFactory.mcopclass +%{tde_libdir}/mcop/artsmodulescommon.mcopclass +%{tde_libdir}/mcop/artsmodulescommon.mcoptype +%{tde_libdir}/mcop/artsmoduleseffects.mcopclass +%{tde_libdir}/mcop/artsmoduleseffects.mcoptype +%{tde_libdir}/mcop/artsmodules.mcopclass +%{tde_libdir}/mcop/artsmodules.mcoptype +%{tde_libdir}/mcop/artsmodulesmixers.mcopclass +%{tde_libdir}/mcop/artsmodulesmixers.mcoptype +%{tde_libdir}/mcop/artsmodulessynth.mcopclass +%{tde_libdir}/mcop/artsmodulessynth.mcoptype +%{tde_libdir}/mcop/Arts/MonoSimpleMixerChannelGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/MonoSimpleMixerChannel.mcopclass +%{tde_libdir}/mcop/Arts/MonoToStereo.mcopclass +%{tde_libdir}/mcop/Arts/PopupBox.mcopclass +%{tde_libdir}/mcop/Arts/Poti.mcopclass +%{tde_libdir}/mcop/Arts/SimpleMixerChannelGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/SimpleMixerChannel.mcopclass +%{tde_libdir}/mcop/Arts/SpinBox.mcopclass +%{tde_libdir}/mcop/Arts/StereoBalanceGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/StereoBalance.mcopclass +%{tde_libdir}/mcop/Arts/StereoCompressorGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/StereoFirEqualizerGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/StereoToMono.mcopclass +%{tde_libdir}/mcop/Arts/StereoVolumeControlGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/StereoVolumeControlGui.mcopclass +%{tde_libdir}/mcop/Arts/StructureBuilder.mcopclass +%{tde_libdir}/mcop/Arts/StructureDesc.mcopclass +%{tde_libdir}/mcop/Arts/Synth_ATAN_SATURATE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_AUTOPANNER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_BRICKWALL_LIMITER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_CAPTURE_WAV.mcopclass +%{tde_libdir}/mcop/Arts/Synth_CDELAY.mcopclass +%{tde_libdir}/mcop/Arts/Synth_COMPRESSOR.mcopclass +%{tde_libdir}/mcop/Arts/Synth_DATA.mcopclass +%{tde_libdir}/mcop/Arts/Synth_DEBUG.mcopclass +%{tde_libdir}/mcop/Arts/Synth_DELAY.mcopclass +%{tde_libdir}/mcop/Arts/Synth_DIV.mcopclass +%{tde_libdir}/mcop/Arts/Synth_ENVELOPE_ADSR.mcopclass +%{tde_libdir}/mcop/Arts/Synth_FM_SOURCE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_FREEVERB.mcopclass +%{tde_libdir}/mcop/Arts/Synth_FX_CFLANGER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_MIDI_DEBUG.mcopclass +%{tde_libdir}/mcop/Arts/Synth_MIDI_TEST.mcopclass +%{tde_libdir}/mcop/Arts/Synth_MOOG_VCF.mcopclass +%{tde_libdir}/mcop/Arts/Synth_NIL.mcopclass +%{tde_libdir}/mcop/Arts/Synth_NOISE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_OSC.mcopclass +%{tde_libdir}/mcop/Arts/Synth_PITCH_SHIFT_FFT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_PITCH_SHIFT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_PLAY_PAT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_PSCALE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_RC.mcopclass +%{tde_libdir}/mcop/Arts/Synth_SEQUENCE_FREQ.mcopclass +%{tde_libdir}/mcop/Arts/Synth_SEQUENCE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_SHELVE_CUTOFF.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STD_EQUALIZER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STEREO_COMPRESSOR.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STEREO_FIR_EQUALIZER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STEREO_PITCH_SHIFT_FFT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STEREO_PITCH_SHIFT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_TREMOLO.mcopclass +%{tde_libdir}/mcop/Arts/Synth_VOICE_REMOVAL.mcopclass +%{tde_libdir}/mcop/Arts/Synth_WAVE_PULSE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_WAVE_SOFTSAW.mcopclass +%{tde_libdir}/mcop/Arts/Synth_WAVE_SQUARE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_WAVE_TRI.mcopclass +%{tde_libdir}/mcop/Arts/Synth_XFADE.mcopclass +%{tde_libdir}/mcop/Arts/VBox.mcopclass +%{tde_libdir}/mcop/Arts/VoiceRemovalGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/Widget.mcopclass +%{tde_tdeappdir}/artsbuilder.desktop +%{tde_tdeappdir}/artscontrol.desktop +%{tde_datadir}/apps/artsbuilder/ +%{tde_datadir}/apps/artscontrol/ +%{tde_datadir}/apps/kicker/applets/artscontrolapplet.desktop +%{tde_datadir}/icons/crystalsvg/*/actions/artsaudiomanager.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsbuilderexecute.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsenvironment.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsfftscope.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsmediatypes.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsmidimanager.png +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsaudiomanager.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsenvironment.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsfftscope.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsmediatypes.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsmidimanager.svgz +%{tde_datadir}/icons/hicolor/*/apps/artsbuilder.png +%{tde_datadir}/icons/hicolor/*/apps/artscontrol.png +%{tde_datadir}/icons/hicolor/scalable/apps/artsbuilder.svgz +%{tde_datadir}/icons/hicolor/scalable/apps/artscontrol.svgz +%{tde_datadir}/mimelnk/application/x-artsbuilder.desktop +%{tde_tdedocdir}/HTML/en/artsbuilder/ + +%post -n trinity-artsbuilder +/sbin/ldconfig +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-artsbuilder +/sbin/ldconfig +for f in crystalsvg hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-juk +Summary: Music organizer and player for Trinity +Group: Applications/Multimedia + +%description -n trinity-juk +JuK (pronounced "jook") is a jukebox and music manager for the TDE +desktop similar to jukebox software on other platforms such as +iTunes or RealOne. + +Some of JuK's features include: +* Support for Ogg Vorbis and MP3 formats +* Tag editing support for both formats, including ID3v2 for MP3 files. + Multitagging or editing a selection of multiple files at once is also + supported +* Output to either the aRts, default KDE sound system, or GStreamer +* Management of your "collection" and multiple playlists +* Import and export to m3u playlists +* Binary caching of audio meta-data and playlist information for faster + load times (starting with the second time you run JuK) +* Integration into TDE that allows drag-and-drop and clipboard usage + with other TDE and X apps + +%files -n trinity-juk +%defattr(-,root,root,-) +%{tde_bindir}/juk +%{tde_tdeappdir}/juk.desktop +%{tde_datadir}/apps/juk/ +%{tde_datadir}/apps/konqueror/servicemenus/jukservicemenu.desktop +%{tde_datadir}/icons/crystalsvg/*/actions/juk_dock.png +%{tde_datadir}/icons/hicolor/*/apps/juk.png +%{tde_tdedocdir}/HTML/en/juk/ + +%post -n trinity-juk +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-juk +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kaboodle +Summary: light, embedded media player for Trinity +Group: Applications/Multimedia + +%if 0%{?with_xine} +Requires: trinity-libarts-xine = %{version}-%{release} +%endif + +%description -n trinity-kaboodle +Kaboodle is a light, embedded media player, supporting both video and audio, +for TDE. It uses the aRts framework for playing media files. + +%files -n trinity-kaboodle +%defattr(-,root,root,-) +%{tde_bindir}/kaboodle +%{tde_tdelibdir}/libkaboodlepart.la +%{tde_tdelibdir}/libkaboodlepart.so +%{tde_tdeappdir}/kaboodle.desktop +%{tde_datadir}/apps/kaboodle/ +%{tde_datadir}/icons/hicolor/*/apps/kaboodle.png +%{tde_datadir}/services/kaboodle_component.desktop +%{tde_datadir}/services/kaboodleengine.desktop +%{tde_tdedocdir}/HTML/en/kaboodle/ + +%post -n trinity-kaboodle +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kaboodle +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kaudiocreator +Summary: CD ripper and audio encoder frontend for Trinity +Group: Applications/Multimedia + +Requires: %{name}-kio-plugins = %{version}-%{release} +Requires: vorbis-tools +Requires: flac + +%description -n trinity-kaudiocreator +KAudioCreator is a tool for audio extraction (ripping) and encoding. It can +keep your WAV files, or convert them to Ogg/Vorbis, MP3, or FLAC. It also +searches CDDB to retrieve the information of the disk. + +%files -n trinity-kaudiocreator +%defattr(-,root,root,-) +%{tde_bindir}/kaudiocreator +%{tde_tdeappdir}/kaudiocreator.desktop +%{tde_datadir}/apps/kaudiocreator/ +%{tde_datadir}/apps/kconf_update/kaudiocreator-libkcddb.upd +%{tde_datadir}/apps/kconf_update/kaudiocreator-meta.upd +%{tde_datadir}/apps/kconf_update/upgrade-kaudiocreator-metadata.sh +%{tde_datadir}/apps/konqueror/servicemenus/audiocd_extract.desktop +%{tde_datadir}/config.kcfg/kaudiocreator.kcfg +%{tde_datadir}/config.kcfg/kaudiocreator_encoders.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kaudiocreator.png +%{tde_datadir}/icons/locolor/*/apps/kaudiocreator.png +%{tde_tdedocdir}/HTML/en/kaudiocreator/ + +%post -n trinity-kaudiocreator +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kaudiocreator +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package kfile-plugins +Summary: au/avi/m3u/mp3/ogg/wav plugins for kfile +Group: Applications/Multimedia + +%description kfile-plugins +au/avi/m3u/mp3/ogg/wav file metainformation plugins for Trinity. + +%files kfile-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/kfile_au.la +%{tde_tdelibdir}/kfile_au.so +%{tde_tdelibdir}/kfile_avi.la +%{tde_tdelibdir}/kfile_avi.so +%{tde_tdelibdir}/kfile_flac.la +%{tde_tdelibdir}/kfile_flac.so +%{tde_tdelibdir}/kfile_m3u.la +%{tde_tdelibdir}/kfile_m3u.so +%{tde_tdelibdir}/kfile_mp3.la +%{tde_tdelibdir}/kfile_mp3.so +%{tde_tdelibdir}/kfile_mpc.la +%{tde_tdelibdir}/kfile_mpc.so +%{tde_tdelibdir}/kfile_mpeg.la +%{tde_tdelibdir}/kfile_mpeg.so +%{tde_tdelibdir}/kfile_ogg.la +%{tde_tdelibdir}/kfile_ogg.so +%{tde_tdelibdir}/kfile_sid.la +%{tde_tdelibdir}/kfile_sid.so +%{tde_tdelibdir}/kfile_theora.la +%{tde_tdelibdir}/kfile_theora.so +%{tde_tdelibdir}/kfile_wav.la +%{tde_tdelibdir}/kfile_wav.so +%{tde_datadir}/services/kfile_au.desktop +%{tde_datadir}/services/kfile_avi.desktop +%{tde_datadir}/services/kfile_flac.desktop +%{tde_datadir}/services/kfile_m3u.desktop +%{tde_datadir}/services/kfile_mp3.desktop +%{tde_datadir}/services/kfile_mpc.desktop +%{tde_datadir}/services/kfile_mpeg.desktop +%{tde_datadir}/services/kfile_ogg.desktop +%{tde_datadir}/services/kfile_sid.desktop +%{tde_datadir}/services/kfile_theora.desktop +%{tde_datadir}/services/kfile_wav.desktop + +########## + +%package kappfinder-data +Summary: multimedia data for kappfinder-trinity +Group: Applications/Multimedia + +Requires: trinity-kappfinder + +%description kappfinder-data +This package provides data on multimedia applications for kappfinder. + +%files kappfinder-data +%defattr(-,root,root,-) +%{tde_datadir}/apps/kappfinder/* +%{tde_datadir}/desktop-directories/[kt]de-multimedia-music.directory +%{tde_prefix}/etc/xdg/menus/applications-merged/trinity-multimedia-music.menu + +########## + +%package kio-plugins +Summary: Enables the browsing of audio CDs under Konqueror +Group: Applications/Multimedia + +%description kio-plugins +This package allow audio CDs to be browsed like a file system using +Konqueror and the audiocd:/ URL. + +%files kio-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcm_audiocd.la +%{tde_tdelibdir}/kcm_audiocd.so +%{tde_tdelibdir}/kio_audiocd.la +%{tde_tdelibdir}/kio_audiocd.so +%{tde_tdelibdir}/libaudiocd_encoder_flac.la +%{tde_tdelibdir}/libaudiocd_encoder_flac.so +%{tde_tdelibdir}/libaudiocd_encoder_lame.la +%{tde_tdelibdir}/libaudiocd_encoder_lame.so +%{tde_tdelibdir}/libaudiocd_encoder_vorbis.la +%{tde_tdelibdir}/libaudiocd_encoder_vorbis.so +%{tde_tdelibdir}/libaudiocd_encoder_wav.la +%{tde_tdelibdir}/libaudiocd_encoder_wav.so +%{tde_libdir}/libaudiocdplugins.so.* +%{tde_tdeappdir}/audiocd.desktop +%{tde_datadir}/apps/kconf_update/audiocd.upd +%{tde_datadir}/apps/kconf_update/upgrade-metadata.sh +%{tde_datadir}/config.kcfg/audiocd_lame_encoder.kcfg +%{tde_datadir}/config.kcfg/audiocd_vorbis_encoder.kcfg +%{tde_datadir}/services/audiocd.protocol +%{tde_tdedocdir}/HTML/en/kioslave/audiocd.docbook + +%post kio-plugins +/sbin/ldconfig +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun kio-plugins +/sbin/ldconfig +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kmid +Summary: MIDI/karaoke player for Trinity +Group: Applications/Multimedia + +%description -n trinity-kmid +This package provides a MIDI and karaoke player for TDE. + +%files -n trinity-kmid +%defattr(-,root,root,-) +%{tde_bindir}/kmid +%{tde_tdelibdir}/libkmidpart.la +%{tde_tdelibdir}/libkmidpart.so +%{tde_libdir}/libkmidlib.so.* +%{tde_tdeappdir}/kmid.desktop +%{tde_datadir}/apps/kmid/ +%{tde_datadir}/icons/hicolor/*/apps/kmid.png +%{tde_datadir}/mimelnk/audio/x-karaoke.desktop +%{tde_datadir}/servicetypes/audiomidi.desktop +%{tde_tdedocdir}/HTML/en/kmid/ + +%post -n trinity-kmid +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kmid +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kmix +Summary: Sound mixer applet for Trinity +Group: Applications/Multimedia + +%description -n trinity-kmix +This package includes TDE's dockable sound mixer applet. + +%files -n trinity-kmix +%defattr(-,root,root,-) +%{tde_bindir}/kmix +%{tde_bindir}/kmixctrl +%{tde_tdelibdir}/kmix.la +%{tde_tdelibdir}/kmix.so +%{tde_tdelibdir}/kmix_panelapplet.la +%{tde_tdelibdir}/kmix_panelapplet.so +%{tde_tdelibdir}/kmixctrl.la +%{tde_tdelibdir}/kmixctrl.so +%{tde_libdir}/lib[kt]deinit_kmix.so +%{tde_libdir}/lib[kt]deinit_kmixctrl.so +%{tde_tdeappdir}/kmix.desktop +%{tde_datadir}/apps/kicker/applets/kmixapplet.desktop +%{tde_datadir}/apps/kmix/ +%{tde_datadir}/autostart/kmix.desktop +%{tde_datadir}/autostart/restore_kmix_volumes.desktop +%{tde_datadir}/icons/hicolor/*/apps/kmix.png +%{tde_datadir}/services/kmixctrl_restore.desktop +%{tde_tdedocdir}/HTML/en/kmix/ + +%post -n trinity-kmix +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kmix +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-krec +Summary: Sound recorder utility for Trinity +Group: Applications/Multimedia + +%description -n trinity-krec +This is a sound recording utility for Trinity. + +%files -n trinity-krec +%defattr(-,root,root,-) +%{tde_bindir}/krec +%{tde_tdelibdir}/kcm_krec.la +%{tde_tdelibdir}/kcm_krec.so +%{tde_tdelibdir}/kcm_krec_files.la +%{tde_tdelibdir}/kcm_krec_files.so +%{tde_tdelibdir}/krec.la +%{tde_tdelibdir}/krec.so +%{tde_tdelibdir}/libkrecexport_ogg.la +%{tde_tdelibdir}/libkrecexport_ogg.so +%{tde_tdelibdir}/libkrecexport_wave.la +%{tde_tdelibdir}/libkrecexport_wave.so +%{tde_libdir}/lib[kt]deinit_krec.so +%{tde_tdeappdir}/krec.desktop +%{tde_datadir}/apps/krec/ +%{tde_datadir}/icons/hicolor/*/apps/krec.png +%{tde_datadir}/services/kcm_krec.desktop +%{tde_datadir}/services/kcm_krec_files.desktop +%{tde_datadir}/services/krec_exportogg.desktop +%{tde_datadir}/services/krec_exportwave.desktop +%{tde_datadir}/servicetypes/krec_exportitem.desktop +%{tde_tdedocdir}/HTML/en/krec/ + +%post -n trinity-krec +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-krec +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kscd +Summary: Audio CD player for Trinity +Group: Applications/Multimedia + +%description -n trinity-kscd +This is Trinity's audio CD player. + +%files -n trinity-kscd +%defattr(-,root,root,-) +%{tde_bindir}/kscd +%{tde_bindir}/workman2cddb.pl +%{tde_tdeappdir}/kscd.desktop +%{tde_datadir}/apps/konqueror/servicemenus/audiocd_play.desktop +%{tde_datadir}/apps/kscd/ +%{tde_datadir}/apps/profiles/kscd.profile.xml +%{tde_datadir}/config.kcfg/kscd.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kscd.png +%{tde_datadir}/mimelnk/text/xmcd.desktop +%{tde_tdedocdir}/HTML/en/kscd/ + +%post -n trinity-kscd +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kscd +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-libarts-akode +Summary: Akode plugin for aRts +Group: Environment/Libraries + +%description -n trinity-libarts-akode +This package contains akode plugins for aRts. + +%files -n trinity-libarts-akode +%defattr(-,root,root,-) +%{tde_libdir}/libarts_akode.so.* +%{tde_libdir}/libarts_akode.la +%{tde_libdir}/mcop/akodearts.mcoptype +%{tde_libdir}/mcop/akodearts.mcopclass +%{tde_libdir}/mcop/akodeMPCPlayObject.mcopclass +%{tde_libdir}/mcop/akodePlayObject.mcopclass +%{tde_libdir}/mcop/akodeSpeexStreamPlayObject.mcopclass +%{tde_libdir}/mcop/akodeVorbisStreamPlayObject.mcopclass +%{tde_libdir}/mcop/akodeXiphPlayObject.mcopclass + +# -devel + +%post -n trinity-libarts-akode +/sbin/ldconfig + +%postun -n trinity-libarts-akode +/sbin/ldconfig + +########## + +%package -n trinity-libarts-audiofile +Summary: Audiofile plugin for aRts +Group: Environment/Libraries + +%description -n trinity-libarts-audiofile +This package contains audiofile plugins for aRts. + +%files -n trinity-libarts-audiofile +%defattr(-,root,root,-) +%{tde_libdir}/libarts_audiofile.so.* +%{tde_libdir}/libarts_audiofile.la +%{tde_libdir}/mcop/Arts/audiofilePlayObject.mcopclass +%{tde_libdir}/mcop/audiofilearts.mcopclass +%{tde_libdir}/mcop/audiofilearts.mcoptype + +%post -n trinity-libarts-audiofile +/sbin/ldconfig + +%postun -n trinity-libarts-audiofile +/sbin/ldconfig + +########## + +%package -n trinity-libarts-mpeglib +Summary: Mpeglib plugin for aRts, supporting mp3 and mpeg audio/video +Group: Environment/Libraries + +%description -n trinity-libarts-mpeglib +This package contains the mpeglib aRts plugin, supporting mp3 and mpeg +audio and video. + +This is the arts (TDE Sound daemon) plugin. + +%files -n trinity-libarts-mpeglib +%defattr(-,root,root,-) +%{tde_bindir}/mpeglibartsplay +%{tde_libdir}/libarts_mpeglib-0.3.0.so.* +%{tde_libdir}/libarts_mpeglib.la +%{tde_libdir}/libarts_splay.so.* +%{tde_libdir}/libarts_splay.la +%{tde_libdir}/mcop/CDDAPlayObject.mcopclass +%{tde_libdir}/mcop/MP3PlayObject.mcopclass +%{tde_libdir}/mcop/NULLPlayObject.mcopclass +%{tde_libdir}/mcop/OGGPlayObject.mcopclass +%{tde_libdir}/mcop/SplayPlayObject.mcopclass +%{tde_libdir}/mcop/WAVPlayObject.mcopclass + +%post -n trinity-libarts-mpeglib +/sbin/ldconfig + +%postun -n trinity-libarts-mpeglib +/sbin/ldconfig + +########## + +%if 0%{?with_xine} +%package -n trinity-libarts-xine +Summary: aRts plugin enabling xine support +Group: Environment/Libraries + +%description -n trinity-libarts-xine +This package contains aRts' xine plugin, allowing the use of the xine +multimedia engine though aRts. + +%files -n trinity-libarts-xine +%defattr(-,root,root,-) +%{tde_tdelibdir}/videothumbnail.la +%{tde_tdelibdir}/videothumbnail.so +%{tde_libdir}/libarts_xine.so.* +%{tde_libdir}/libarts_xine.la +%{tde_libdir}/mcop/xineAudioPlayObject.mcopclass +%{tde_libdir}/mcop/xineVideoPlayObject.mcopclass +%{tde_datadir}/apps/videothumbnail/sprocket-large.png +%{tde_datadir}/apps/videothumbnail/sprocket-medium.png +%{tde_datadir}/apps/videothumbnail/sprocket-small.png +%{tde_datadir}/services/videothumbnail.desktop + +%post -n trinity-libarts-xine +/sbin/ldconfig + +%postun -n trinity-libarts-xine +/sbin/ldconfig +%endif + +########## + +%package -n trinity-libkcddb +Summary: CDDB library for Trinity +Group: Environment/Libraries + +%description -n trinity-libkcddb +The Trinity native CDDB (CD Data Base) library, providing easy access to Audio +CD meta-information (track titles, artist information, etc.) from on-line +databases, for TDE applications. + +%files -n trinity-libkcddb +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcm_cddb.la +%{tde_tdelibdir}/kcm_cddb.so +%{tde_libdir}/libkcddb.so.* +%{tde_tdeappdir}/libkcddb.desktop +%{tde_datadir}/apps/kconf_update/kcmcddb-emailsettings.upd +%{tde_datadir}/config.kcfg/libkcddb.kcfg + +%post -n trinity-libkcddb +/sbin/ldconfig +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-libkcddb +/sbin/ldconfig +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-mpeglib +Summary: MP3 and MPEG-1 audio and video library +Group: Environment/Libraries +Requires: trinity-libarts-mpeglib = %{version}-%{release} + +%description -n trinity-mpeglib +mpeglib is a MPEG-1 and MP3 audio and video library. It supports +MPEG-1 audio (layers 1, 2, 3), MPEG-1 video, MPEG-1 system layer, +and WAV playback + +%files -n trinity-mpeglib +%defattr(-,root,root,-) +%{tde_bindir}/yaf-cdda +%{tde_bindir}/yaf-mpgplay +%{tde_bindir}/yaf-splay +%{tde_bindir}/yaf-tplay +%{tde_bindir}/yaf-vorbis +%{tde_bindir}/yaf-yuv +%{tde_libdir}/libmpeg-0.3.0.so +%{tde_libdir}/libyafcore.so +%{tde_libdir}/libyafxplayer.so + +%post -n trinity-mpeglib +/sbin/ldconfig + +%postun -n trinity-mpeglib +/sbin/ldconfig + +########## + +%package -n trinity-noatun +Summary: Media player for Trinity +Group: Applications/Multimedia + +# 20120802: Hack to avoir dependency issue on MGA2 and MDV2011 +%if 0%{?mgaversion} || 0%{?mdkversion} +Provides: devel(libnoatunarts) +Provides: devel(libnoatunarts(64bit)) +%endif + +%description -n trinity-noatun +Noatun is an aRts-based audio and video player for Trinity. It supports all +formats supported by your installation of aRts (including aRts plugins). + +%files -n trinity-noatun +%defattr(-,root,root,-) +%{tde_bindir}/noatun +%{tde_libdir}/kconf_update_bin/noatun20update +%{tde_tdelibdir}/noatun.la +%{tde_tdelibdir}/noatun.so +%{tde_tdelibdir}/noatun_dcopiface.la +%{tde_tdelibdir}/noatun_dcopiface.so +%{tde_tdelibdir}/noatun_excellent.la +%{tde_tdelibdir}/noatun_excellent.so +%{tde_tdelibdir}/noatun_htmlexport.la +%{tde_tdelibdir}/noatun_htmlexport.so +%{tde_tdelibdir}/noatun_infrared.la +%{tde_tdelibdir}/noatun_infrared.so +%{tde_tdelibdir}/noatun_kaiman.la +%{tde_tdelibdir}/noatun_kaiman.so +%{tde_tdelibdir}/noatun_keyz.la +%{tde_tdelibdir}/noatun_keyz.so +%{tde_tdelibdir}/noatun_kjofol.la +%{tde_tdelibdir}/noatun_kjofol.so +%{tde_tdelibdir}/noatun_marquis.la +%{tde_tdelibdir}/noatun_marquis.so +%{tde_tdelibdir}/noatun_metatag.la +%{tde_tdelibdir}/noatun_metatag.so +%{tde_tdelibdir}/noatun_monoscope.la +%{tde_tdelibdir}/noatun_monoscope.so +%{tde_tdelibdir}/noatun_net.la +%{tde_tdelibdir}/noatun_net.so +%{tde_tdelibdir}/noatun_splitplaylist.la +%{tde_tdelibdir}/noatun_splitplaylist.so +%{tde_tdelibdir}/noatun_systray.la +%{tde_tdelibdir}/noatun_systray.so +%{tde_tdelibdir}/noatun_ui.la +%{tde_tdelibdir}/noatun_ui.so +%{tde_tdelibdir}/noatun_voiceprint.la +%{tde_tdelibdir}/noatun_voiceprint.so +%{tde_tdelibdir}/noatun_winskin.la +%{tde_tdelibdir}/noatun_winskin.so +%{tde_tdelibdir}/noatunsimple.la +%{tde_tdelibdir}/noatunsimple.so +%{tde_libdir}/libartseffects.la +%{tde_libdir}/libartseffects.so +%{tde_libdir}/lib[kt]deinit_noatun.so +%{tde_libdir}/libnoatun.so.* +%{tde_libdir}/libnoatunarts.la +%{tde_libdir}/libnoatunarts.so +%{tde_libdir}/libnoatuncontrols.so.* +%{tde_libdir}/libnoatuntags.so.* +%{tde_libdir}/libwinskinvis.la +%{tde_libdir}/libwinskinvis.so +%{tde_libdir}/mcop/ExtraStereo.mcopclass +%{tde_libdir}/mcop/ExtraStereoGuiFactory.mcopclass +%{tde_libdir}/mcop/Noatun/ +%{tde_libdir}/mcop/RawWriter.mcopclass +%{tde_libdir}/mcop/VoiceRemoval.mcopclass +%{tde_libdir}/mcop/artseffects.mcopclass +%{tde_libdir}/mcop/artseffects.mcoptype +%{tde_libdir}/mcop/noatunarts.mcopclass +%{tde_libdir}/mcop/noatunarts.mcoptype +%{tde_libdir}/mcop/winskinvis.mcopclass +%{tde_libdir}/mcop/winskinvis.mcoptype +%{tde_tdeappdir}/noatun.desktop +%{tde_datadir}/apps/kconf_update/noatun.upd +%{tde_datadir}/apps/noatun/ +%{tde_datadir}/icons/hicolor/*/apps/noatun.png +%{tde_datadir}/mimelnk/interface/x-winamp-skin.desktop +%{tde_tdedocdir}/HTML/en/noatun/ + +%post -n trinity-noatun +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-noatun +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package devel +Summary: Development files for %{name}, aRts and noatun plugins +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: trinity-tdelibs-devel >= 3.5.13 + +Obsoletes: trinity-kdemultimedia-devel < %{version}-%{release} +Provides: trinity-kdemultimedia-devel = %{version}-%{release} + +%description devel +{summary}. + +Install %{name}-devel if you wish to develop or compile any +applications using aRtsbuilder, aRtsmidi, aRtskde, aRts modules or +noatun plugins. + +%files devel +%defattr(-,root,root,-) +%{tde_includedir}/* +%{tde_libdir}/libarts_akode.so +%{tde_libdir}/libarts_audiofile.so +%{tde_libdir}/libarts_mpeglib.so +%{tde_libdir}/libarts_splay.so +%{?with_xine:%{tde_libdir}/libarts_xine.so} +%{tde_libdir}/libartsbuilder.so +%{tde_libdir}/libartscontrolapplet.so +%{tde_libdir}/libartscontrolsupport.so +%{tde_libdir}/libartsgui.so +%{tde_libdir}/libartsgui_idl.so +%{tde_libdir}/libartsgui_kde.so +%{tde_libdir}/libartsmidi.so +%{tde_libdir}/libartsmidi_idl.so +%{tde_libdir}/libartsmodules.so +%{tde_libdir}/libartsmodulescommon.so +%{tde_libdir}/libartsmoduleseffects.so +%{tde_libdir}/libartsmodulesmixers.so +%{tde_libdir}/libartsmodulessynth.so +%{tde_libdir}/libaudiocdplugins.la +%{tde_libdir}/libaudiocdplugins.so +%{tde_libdir}/libkcddb.la +%{tde_libdir}/libkcddb.so +%{tde_libdir}/lib[kt]deinit_kmix.la +%{tde_libdir}/lib[kt]deinit_kmixctrl.la +%{tde_libdir}/lib[kt]deinit_krec.la +%{tde_libdir}/lib[kt]deinit_noatun.la +%{tde_libdir}/libkmidlib.la +%{tde_libdir}/libkmidlib.so +%{tde_libdir}/libmpeg.la +%{tde_libdir}/libmpeg.so +%{tde_libdir}/libnoatun.la +%{tde_libdir}/libnoatun.so +%{tde_libdir}/libnoatuncontrols.la +%{tde_libdir}/libnoatuncontrols.so +%{tde_libdir}/libnoatuntags.la +%{tde_libdir}/libnoatuntags.so +%{tde_libdir}/libyafcore.la +%{tde_libdir}/libyafxplayer.la + +%post devel +/sbin/ldconfig + +%postun devel +/sbin/ldconfig + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + + +%prep +%setup -q -n kdemultimedia-3.5.13.1 +%patch3 -p1 -b .xdg +%patch5 -p1 -b .pthread + + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +# Required for some distro +export KDEDIRS=%{tde_prefix} + +# Specific path for RHEL4 +if [ -d /usr/X11R6 ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_tdeincludedir} \ + --datadir=%{tde_datadir} \ + --enable-new-ldflags \ + --disable-dependency-tracking \ + --with-cdparanoia \ + --with-flac \ + --with-theora \ + --with-vorbis \ + --with-alsa \ + --with-gstreamer \ + --without-lame \ + --disable-debug \ + --disable-warnings \ + --enable-final \ + --disable-rpath \ + %{?_with_akode} %{!?_with_akode:--without-akode} \ + %{?_with_musicbrainz} %{!?_with_musicbrainz:--without-musicbrainz} \ + %{?_with_taglib} %{!?_with_taglib:--without-taglib} \ + %{?with_xine:--with-xine} %{!?with_xine:--without-xine} \ + --with-extra-includes="%{_includedir}/cdda:%{_includedir}/cddb:%{tde_includedir}/tqt:%{tde_tdeincludedir}/arts:%{tde_includedir}/artsc" \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{buildroot} + +# don't make these world-writeable +chmod go-w %{buildroot}%{tde_datadir}/apps/kscd/* + +# locale's +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi +done +fi + +# Moves the XDG configuration files to TDE directory +%__install -p -D -m644 \ + "%{?buildroot}%{_sysconfdir}/xdg/menus/applications-merged/kde-multimedia-music.menu" \ + "%{?buildroot}%{tde_prefix}/etc/xdg/menus/applications-merged/trinity-multimedia-music.menu" +%__rm -rf "%{?buildroot}%{_sysconfdir}/xdg" + + +%clean +%__rm -rf %{buildroot} + + +%changelog +* Sat Sep 29 2012 Francois Andriot - 3.5.13.1-1 +- Initial build for TDE 3.5.13.1 diff --git a/redhat/tdemultimedia/kdemultimedia-3.5.13.spec b/redhat/tdemultimedia/kdemultimedia-3.5.13.spec new file mode 100644 index 000000000..388a81727 --- /dev/null +++ b/redhat/tdemultimedia/kdemultimedia-3.5.13.spec @@ -0,0 +1,1204 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +# former extras bits +%define _with_akode --with-akode +## not currently compatible with libtunepimp-0.5 (only libtunepimp-0.4) +#define _with_musicbrainz --with-musicbrainz +%define _with_taglib --with-taglib + +#%if 0%{?fedora} +%define _with_xine --with-xine +#%endif + +Name: trinity-tdemultimedia +Summary: Multimedia applications for the Trinity Desktop Environment (TDE) +Version: 3.5.13 +Release: 9%{?dist}%{?_variant} + +License: GPLv2 +Group: Applications/Multimedia + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: kdemultimedia-%{version}.tar.gz + + +# RedHat Legacy patches (from Fedora 8) +Patch3: kdemultimedia-3.4.0-xdg.patch +Patch5: kdemultimedia-3.5.7-pthread.patch + +# Missing LDFLAGS on Mageia cause FTBFS +Patch1: kdemultimedia-3.5.13-missing_ldflags.patch + +# [kdemultimedia] Fix MMX detection [Bug #800] +Patch10: kdemultimedia-3.5.13-fix_mmx_detection.patch +# [tdemultimedia] Remove "More Applications" from TDE menu. [Commit #31e44a7b] +Patch21: kdemultimedia-3.5.13-remove_more_applications.patch +# [tdemultimedia] Fix linear alphabet string errors [Commit #fd6afacf] +Patch22: kdemultimedia-3.5.13-fix_linear_alphabet.patch +# [tdemultimedia] Fix kmix autostart. This resolves Bug 503, and re-applies commit 2cc2e3a2 as part of the fix. [Commit #7da06e55] +Patch23: kdemultimedia-3.5.13-fix_kmix_autostart.patch + + +Obsoletes: trinity-kdemultimedia < %{version}-%{release} +Provides: trinity-kdemultimedia = %{version}-%{release} +Obsoletes: trinity-kdemultimedia-libs < %{version}-%{release} +Provides: trinity-kdemultimedia-libs = %{version}-%{release} +Obsoletes: trinity-kdemultimedia-extras < %{version}-%{release} +Provides: trinity-kdemultimedia-extras = %{version}-%{release} +Obsoletes: trinity-kdemultimedia-extras-libs < %{version}-%{release} +Provides: trinity-kdemultimedia-extras-libs = %{version}-%{release} + + +BuildRequires: cmake >= 2.8 +BuildRequires: tqtinterface-devel +BuildRequires: trinity-arts-devel +BuildRequires: trinity-tdelibs-devel +BuildRequires: qt3-devel >= 3.3.8.d + +BuildRequires: zlib-devel +BuildRequires: libvorbis-devel +BuildRequires: audiofile-devel +BuildRequires: desktop-file-utils +BuildRequires: libtheora-devel +BuildRequires: alsa-lib-devel +BuildRequires: automake libtool +%{?_with_akode:BuildRequires: trinity-akode-devel} +%{?_with_musicbrainz:BuildRequires: libmusicbrainz-devel libtunepimp-devel} +%{?_with_taglib:BuildRequires: taglib-devel} +BuildRequires: cdparanoia +BuildRequires: trinity-akode-devel + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}gstreamer0.10-devel +BuildRequires: %{_lib}flac-devel +BuildRequires: libcdda-devel +%{?_with_xine:BuildRequires: %{_lib}xine-devel} +BuildRequires: %{_lib}xxf86dga-devel +BuildRequires: %{_lib}xxf86vm-devel +BuildRequires: %{_lib}xtst-devel +%else +BuildRequires: gstreamer-devel +BuildRequires: flac-devel +BuildRequires: cdparanoia-devel +%{?_with_xine:BuildRequires: xine-lib-devel} +BuildRequires: libXxf86dga-devel +BuildRequires: libXxf86vm-devel +BuildRequires: libXt-devel +%endif + +Requires: trinity-artsbuilder = %{version}-%{release} +Requires: trinity-juk = %{version}-%{release} +Requires: trinity-kaboodle = %{version}-%{release} +Requires: trinity-kaudiocreator = %{version}-%{release} +Requires: %{name}-kfile-plugins = %{version}-%{release} +Requires: %{name}-kappfinder-data = %{version}-%{release} +Requires: %{name}-kio-plugins = %{version}-%{release} +Requires: trinity-kmid = %{version}-%{release} +Requires: trinity-kmix = %{version}-%{release} +Requires: trinity-krec = %{version}-%{release} +Requires: trinity-kscd = %{version}-%{release} +Requires: trinity-libarts-akode = %{version}-%{release} +Requires: trinity-libarts-audiofile = %{version}-%{release} +Requires: trinity-libarts-mpeglib = %{version}-%{release} +Requires: trinity-libarts-xine = %{version}-%{release} +Requires: trinity-libkcddb = %{version}-%{release} +Requires: trinity-mpeglib = %{version}-%{release} +Requires: trinity-noatun = %{version}-%{release} + + +%description +The Trinity Desktop Environment (TDE) is a GUI desktop for the X Window +System. The %{name} package contains multimedia applications for +TDE, including: + artsbuilder, Synthesizer designer for aRts + juk, a media player + kmid, a midi player + kmix, an audio mixer + arts, additional functionality for the aRts sound system + krec, a recording tool + kscd, an Audio-CD player + kaudiocreator, a graphical frontend for audio file creation + kaboodle, a media player + noatun, a media player + +%files + +########## + +%package -n trinity-artsbuilder +Summary: Synthesizer designer for aRts +Group: Applications/Multimedia + +%description -n trinity-artsbuilder +This is the analog Realtime synthesizer's graphical design tool. + +%files -n trinity-artsbuilder +%defattr(-,root,root,-) +%{tde_bindir}/artsbuilder +%{tde_bindir}/artscontrol +%{tde_bindir}/midisend +%{tde_libdir}/libartsbuilder.la +%{tde_libdir}/libartsbuilder.so.* +%{tde_libdir}/libartscontrolapplet.la +%{tde_libdir}/libartscontrolapplet.so.* +%{tde_libdir}/libartscontrolsupport.la +%{tde_libdir}/libartscontrolsupport.so.* +%{tde_libdir}/libartsgui_idl.la +%{tde_libdir}/libartsgui_idl.so.* +%{tde_libdir}/libartsgui_kde.la +%{tde_libdir}/libartsgui_kde.so.* +%{tde_libdir}/libartsgui.la +%{tde_libdir}/libartsgui.so.* +%{tde_libdir}/libartsmidi_idl.la +%{tde_libdir}/libartsmidi_idl.so.* +%{tde_libdir}/libartsmidi.la +%{tde_libdir}/libartsmidi.so.* +%{tde_libdir}/libartsmodulescommon.la +%{tde_libdir}/libartsmodulescommon.so.* +%{tde_libdir}/libartsmoduleseffects.la +%{tde_libdir}/libartsmoduleseffects.so.* +%{tde_libdir}/libartsmodulesmixers.la +%{tde_libdir}/libartsmodulesmixers.so.* +%{tde_libdir}/libartsmodules.la +%{tde_libdir}/libartsmodules.so.* +%{tde_libdir}/libartsmodulessynth.la +%{tde_libdir}/libartsmodulessynth.so.* +%{tde_libdir}/mcop/Arts/ArtsBuilderLoader.mcopclass +%{tde_libdir}/mcop/artsbuilder.mcopclass +%{tde_libdir}/mcop/artsbuilder.mcoptype +%{tde_libdir}/mcop/Arts/Button.mcopclass +%{tde_libdir}/mcop/Arts/EffectRackGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/Effect_WAVECAPTURE.mcopclass +%{tde_libdir}/mcop/Arts/Environment/Container.mcopclass +%{tde_libdir}/mcop/Arts/Environment/EffectRackItem.mcopclass +%{tde_libdir}/mcop/Arts/Environment/InstrumentItemGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/Environment/InstrumentItem.mcopclass +%{tde_libdir}/mcop/Arts/Environment/MixerItem.mcopclass +%{tde_libdir}/mcop/Arts/Fader.mcopclass +%{tde_libdir}/mcop/Arts/FiveBandMonoComplexEQGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/FiveBandMonoComplexEQ.mcopclass +%{tde_libdir}/mcop/Arts/FreeverbGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/GenericGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/GraphLine.mcopclass +%{tde_libdir}/mcop/artsgui.mcopclass +%{tde_libdir}/mcop/artsgui.mcoptype +%{tde_libdir}/mcop/Arts/HBox.mcopclass +%{tde_libdir}/mcop/Arts/Label.mcopclass +%{tde_libdir}/mcop/Arts/LayoutBox.mcopclass +%{tde_libdir}/mcop/Arts/LevelMeter.mcopclass +%{tde_libdir}/mcop/Arts/LineEdit.mcopclass +%{tde_libdir}/mcop/Arts/LittleStereoMixerChannelGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/LittleStereoMixerChannel.mcopclass +%{tde_libdir}/mcop/Arts/LocalFactory.mcopclass +%{tde_libdir}/mcop/Arts/MidiManager.mcopclass +%{tde_libdir}/mcop/artsmidi.mcopclass +%{tde_libdir}/mcop/artsmidi.mcoptype +%{tde_libdir}/mcop/Arts/MixerGuiFactory.mcopclass +%{tde_libdir}/mcop/artsmodulescommon.mcopclass +%{tde_libdir}/mcop/artsmodulescommon.mcoptype +%{tde_libdir}/mcop/artsmoduleseffects.mcopclass +%{tde_libdir}/mcop/artsmoduleseffects.mcoptype +%{tde_libdir}/mcop/artsmodules.mcopclass +%{tde_libdir}/mcop/artsmodules.mcoptype +%{tde_libdir}/mcop/artsmodulesmixers.mcopclass +%{tde_libdir}/mcop/artsmodulesmixers.mcoptype +%{tde_libdir}/mcop/artsmodulessynth.mcopclass +%{tde_libdir}/mcop/artsmodulessynth.mcoptype +%{tde_libdir}/mcop/Arts/MonoSimpleMixerChannelGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/MonoSimpleMixerChannel.mcopclass +%{tde_libdir}/mcop/Arts/MonoToStereo.mcopclass +%{tde_libdir}/mcop/Arts/PopupBox.mcopclass +%{tde_libdir}/mcop/Arts/Poti.mcopclass +%{tde_libdir}/mcop/Arts/SimpleMixerChannelGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/SimpleMixerChannel.mcopclass +%{tde_libdir}/mcop/Arts/SpinBox.mcopclass +%{tde_libdir}/mcop/Arts/StereoBalanceGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/StereoBalance.mcopclass +%{tde_libdir}/mcop/Arts/StereoCompressorGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/StereoFirEqualizerGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/StereoToMono.mcopclass +%{tde_libdir}/mcop/Arts/StereoVolumeControlGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/StereoVolumeControlGui.mcopclass +%{tde_libdir}/mcop/Arts/StructureBuilder.mcopclass +%{tde_libdir}/mcop/Arts/StructureDesc.mcopclass +%{tde_libdir}/mcop/Arts/Synth_ATAN_SATURATE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_AUTOPANNER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_BRICKWALL_LIMITER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_CAPTURE_WAV.mcopclass +%{tde_libdir}/mcop/Arts/Synth_CDELAY.mcopclass +%{tde_libdir}/mcop/Arts/Synth_COMPRESSOR.mcopclass +%{tde_libdir}/mcop/Arts/Synth_DATA.mcopclass +%{tde_libdir}/mcop/Arts/Synth_DEBUG.mcopclass +%{tde_libdir}/mcop/Arts/Synth_DELAY.mcopclass +%{tde_libdir}/mcop/Arts/Synth_DIV.mcopclass +%{tde_libdir}/mcop/Arts/Synth_ENVELOPE_ADSR.mcopclass +%{tde_libdir}/mcop/Arts/Synth_FM_SOURCE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_FREEVERB.mcopclass +%{tde_libdir}/mcop/Arts/Synth_FX_CFLANGER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_MIDI_DEBUG.mcopclass +%{tde_libdir}/mcop/Arts/Synth_MIDI_TEST.mcopclass +%{tde_libdir}/mcop/Arts/Synth_MOOG_VCF.mcopclass +%{tde_libdir}/mcop/Arts/Synth_NIL.mcopclass +%{tde_libdir}/mcop/Arts/Synth_NOISE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_OSC.mcopclass +%{tde_libdir}/mcop/Arts/Synth_PITCH_SHIFT_FFT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_PITCH_SHIFT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_PLAY_PAT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_PSCALE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_RC.mcopclass +%{tde_libdir}/mcop/Arts/Synth_SEQUENCE_FREQ.mcopclass +%{tde_libdir}/mcop/Arts/Synth_SEQUENCE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_SHELVE_CUTOFF.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STD_EQUALIZER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STEREO_COMPRESSOR.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STEREO_FIR_EQUALIZER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STEREO_PITCH_SHIFT_FFT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STEREO_PITCH_SHIFT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_TREMOLO.mcopclass +%{tde_libdir}/mcop/Arts/Synth_VOICE_REMOVAL.mcopclass +%{tde_libdir}/mcop/Arts/Synth_WAVE_PULSE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_WAVE_SOFTSAW.mcopclass +%{tde_libdir}/mcop/Arts/Synth_WAVE_SQUARE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_WAVE_TRI.mcopclass +%{tde_libdir}/mcop/Arts/Synth_XFADE.mcopclass +%{tde_libdir}/mcop/Arts/VBox.mcopclass +%{tde_libdir}/mcop/Arts/VoiceRemovalGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/Widget.mcopclass +%{tde_tdeappdir}/artsbuilder.desktop +%{tde_tdeappdir}/artscontrol.desktop +%{tde_datadir}/apps/artsbuilder/ +%{tde_datadir}/apps/artscontrol/ +%{tde_datadir}/apps/kicker/applets/artscontrolapplet.desktop +%{tde_datadir}/icons/crystalsvg/*/actions/artsaudiomanager.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsbuilderexecute.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsenvironment.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsfftscope.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsmediatypes.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsmidimanager.png +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsaudiomanager.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsenvironment.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsfftscope.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsmediatypes.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsmidimanager.svgz +%{tde_datadir}/icons/hicolor/*/apps/artsbuilder.png +%{tde_datadir}/icons/hicolor/*/apps/artscontrol.png +%{tde_datadir}/icons/hicolor/scalable/apps/artsbuilder.svgz +%{tde_datadir}/icons/hicolor/scalable/apps/artscontrol.svgz +%{tde_datadir}/mimelnk/application/x-artsbuilder.desktop +%{tde_tdedocdir}/HTML/en/artsbuilder/ + +%post -n trinity-artsbuilder +/sbin/ldconfig +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-artsbuilder +/sbin/ldconfig +for f in crystalsvg hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-juk +Summary: Music organizer and player for Trinity +Group: Applications/Multimedia + +%description -n trinity-juk +JuK (pronounced "jook") is a jukebox and music manager for the TDE +desktop similar to jukebox software on other platforms such as +iTunes or RealOne. + +Some of JuK's features include: +* Support for Ogg Vorbis and MP3 formats +* Tag editing support for both formats, including ID3v2 for MP3 files. + Multitagging or editing a selection of multiple files at once is also + supported +* Output to either the aRts, default KDE sound system, or GStreamer +* Management of your "collection" and multiple playlists +* Import and export to m3u playlists +* Binary caching of audio meta-data and playlist information for faster + load times (starting with the second time you run JuK) +* Integration into TDE that allows drag-and-drop and clipboard usage + with other TDE and X apps + +%files -n trinity-juk +%defattr(-,root,root,-) +%{tde_bindir}/juk +%{tde_tdeappdir}/juk.desktop +%{tde_datadir}/apps/juk/ +%{tde_datadir}/apps/konqueror/servicemenus/jukservicemenu.desktop +%{tde_datadir}/icons/crystalsvg/*/actions/juk_dock.png +%{tde_datadir}/icons/hicolor/*/apps/juk.png +%{tde_tdedocdir}/HTML/en/juk/ + +%post -n trinity-juk +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-juk +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kaboodle +Summary: light, embedded media player for Trinity +Group: Applications/Multimedia + +Requires: trinity-libarts-xine = %{version}-%{release} + +%description -n trinity-kaboodle +Kaboodle is a light, embedded media player, supporting both video and audio, +for TDE. It uses the aRts framework for playing media files. + +%files -n trinity-kaboodle +%defattr(-,root,root,-) +%{tde_bindir}/kaboodle +%{tde_tdelibdir}/libkaboodlepart.la +%{tde_tdelibdir}/libkaboodlepart.so +%{tde_tdeappdir}/kaboodle.desktop +%{tde_datadir}/apps/kaboodle/ +%{tde_datadir}/icons/hicolor/*/apps/kaboodle.png +%{tde_datadir}/services/kaboodle_component.desktop +%{tde_datadir}/services/kaboodleengine.desktop +%{tde_tdedocdir}/HTML/en/kaboodle/ + +%post -n trinity-kaboodle +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kaboodle +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kaudiocreator +Summary: CD ripper and audio encoder frontend for Trinity +Group: Applications/Multimedia + +Requires: %{name}-kio-plugins = %{version}-%{release} +Requires: vorbis-tools +Requires: flac + +%description -n trinity-kaudiocreator +KAudioCreator is a tool for audio extraction (ripping) and encoding. It can +keep your WAV files, or convert them to Ogg/Vorbis, MP3, or FLAC. It also +searches CDDB to retrieve the information of the disk. + +%files -n trinity-kaudiocreator +%defattr(-,root,root,-) +%{tde_bindir}/kaudiocreator +%{tde_tdeappdir}/kaudiocreator.desktop +%{tde_datadir}/apps/kaudiocreator/ +%{tde_datadir}/apps/kconf_update/kaudiocreator-libkcddb.upd +%{tde_datadir}/apps/kconf_update/kaudiocreator-meta.upd +%{tde_datadir}/apps/kconf_update/upgrade-kaudiocreator-metadata.sh +%{tde_datadir}/apps/konqueror/servicemenus/audiocd_extract.desktop +%{tde_datadir}/config.kcfg/kaudiocreator.kcfg +%{tde_datadir}/config.kcfg/kaudiocreator_encoders.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kaudiocreator.png +%{tde_datadir}/icons/locolor/*/apps/kaudiocreator.png +%{tde_tdedocdir}/HTML/en/kaudiocreator/ + +%post -n trinity-kaudiocreator +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kaudiocreator +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package kfile-plugins +Summary: au/avi/m3u/mp3/ogg/wav plugins for kfile +Group: Applications/Multimedia + +%description kfile-plugins +au/avi/m3u/mp3/ogg/wav file metainformation plugins for Trinity. + +%files kfile-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/kfile_au.la +%{tde_tdelibdir}/kfile_au.so +%{tde_tdelibdir}/kfile_avi.la +%{tde_tdelibdir}/kfile_avi.so +%{tde_tdelibdir}/kfile_flac.la +%{tde_tdelibdir}/kfile_flac.so +%{tde_tdelibdir}/kfile_m3u.la +%{tde_tdelibdir}/kfile_m3u.so +%{tde_tdelibdir}/kfile_mp3.la +%{tde_tdelibdir}/kfile_mp3.so +%{tde_tdelibdir}/kfile_mpc.la +%{tde_tdelibdir}/kfile_mpc.so +%{tde_tdelibdir}/kfile_mpeg.la +%{tde_tdelibdir}/kfile_mpeg.so +%{tde_tdelibdir}/kfile_ogg.la +%{tde_tdelibdir}/kfile_ogg.so +%{tde_tdelibdir}/kfile_sid.la +%{tde_tdelibdir}/kfile_sid.so +%{tde_tdelibdir}/kfile_theora.la +%{tde_tdelibdir}/kfile_theora.so +%{tde_tdelibdir}/kfile_wav.la +%{tde_tdelibdir}/kfile_wav.so +%{tde_datadir}/services/kfile_au.desktop +%{tde_datadir}/services/kfile_avi.desktop +%{tde_datadir}/services/kfile_flac.desktop +%{tde_datadir}/services/kfile_m3u.desktop +%{tde_datadir}/services/kfile_mp3.desktop +%{tde_datadir}/services/kfile_mpc.desktop +%{tde_datadir}/services/kfile_mpeg.desktop +%{tde_datadir}/services/kfile_ogg.desktop +%{tde_datadir}/services/kfile_sid.desktop +%{tde_datadir}/services/kfile_theora.desktop +%{tde_datadir}/services/kfile_wav.desktop + +########## + +%package kappfinder-data +Summary: multimedia data for kappfinder-trinity +Group: Applications/Multimedia + +Requires: trinity-kappfinder + +%description kappfinder-data +This package provides data on multimedia applications for kappfinder. + +%files kappfinder-data +%defattr(-,root,root,-) +%{tde_datadir}/apps/kappfinder/* +%{tde_datadir}/desktop-directories/[kt]de-multimedia-music.directory +%{tde_prefix}/etc/xdg/menus/applications-merged/trinity-multimedia-music.menu + +########## + +%package kio-plugins +Summary: Enables the browsing of audio CDs under Konqueror +Group: Applications/Multimedia + +%description kio-plugins +This package allow audio CDs to be browsed like a file system using +Konqueror and the audiocd:/ URL. + +%files kio-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcm_audiocd.la +%{tde_tdelibdir}/kcm_audiocd.so +%{tde_tdelibdir}/kio_audiocd.la +%{tde_tdelibdir}/kio_audiocd.so +%{tde_tdelibdir}/libaudiocd_encoder_flac.la +%{tde_tdelibdir}/libaudiocd_encoder_flac.so +%{tde_tdelibdir}/libaudiocd_encoder_lame.la +%{tde_tdelibdir}/libaudiocd_encoder_lame.so +%{tde_tdelibdir}/libaudiocd_encoder_vorbis.la +%{tde_tdelibdir}/libaudiocd_encoder_vorbis.so +%{tde_tdelibdir}/libaudiocd_encoder_wav.la +%{tde_tdelibdir}/libaudiocd_encoder_wav.so +%{tde_libdir}/libaudiocdplugins.so.* +%{tde_tdeappdir}/audiocd.desktop +%{tde_datadir}/apps/kconf_update/audiocd.upd +%{tde_datadir}/apps/kconf_update/upgrade-metadata.sh +%{tde_datadir}/config.kcfg/audiocd_lame_encoder.kcfg +%{tde_datadir}/config.kcfg/audiocd_vorbis_encoder.kcfg +%{tde_datadir}/services/audiocd.protocol +%{tde_tdedocdir}/HTML/en/kioslave/audiocd.docbook + +%post kio-plugins +/sbin/ldconfig +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun kio-plugins +/sbin/ldconfig +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kmid +Summary: MIDI/karaoke player for Trinity +Group: Applications/Multimedia + +%description -n trinity-kmid +This package provides a MIDI and karaoke player for TDE. + +%files -n trinity-kmid +%defattr(-,root,root,-) +%{tde_bindir}/kmid +%{tde_tdelibdir}/libkmidpart.la +%{tde_tdelibdir}/libkmidpart.so +%{tde_libdir}/libkmidlib.so.* +%{tde_tdeappdir}/kmid.desktop +%{tde_datadir}/apps/kmid/ +%{tde_datadir}/icons/hicolor/*/apps/kmid.png +%{tde_datadir}/mimelnk/audio/x-karaoke.desktop +%{tde_datadir}/servicetypes/audiomidi.desktop +%{tde_tdedocdir}/HTML/en/kmid/ + +%post -n trinity-kmid +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kmid +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kmix +Summary: Sound mixer applet for Trinity +Group: Applications/Multimedia + +%description -n trinity-kmix +This package includes TDE's dockable sound mixer applet. + +%files -n trinity-kmix +%defattr(-,root,root,-) +%{tde_bindir}/kmix +%{tde_bindir}/kmixctrl +%{tde_tdelibdir}/kmix.la +%{tde_tdelibdir}/kmix.so +%{tde_tdelibdir}/kmix_panelapplet.la +%{tde_tdelibdir}/kmix_panelapplet.so +%{tde_tdelibdir}/kmixctrl.la +%{tde_tdelibdir}/kmixctrl.so +%{tde_libdir}/lib[kt]deinit_kmix.so +%{tde_libdir}/lib[kt]deinit_kmixctrl.so +%{tde_tdeappdir}/kmix.desktop +%{tde_datadir}/apps/kicker/applets/kmixapplet.desktop +%{tde_datadir}/apps/kmix/ +%{tde_datadir}/autostart/kmix.desktop +%{tde_datadir}/autostart/restore_kmix_volumes.desktop +%{tde_datadir}/icons/hicolor/*/apps/kmix.png +%{tde_datadir}/services/kmixctrl_restore.desktop +%{tde_tdedocdir}/HTML/en/kmix/ + +%post -n trinity-kmix +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kmix +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-krec +Summary: Sound recorder utility for Trinity +Group: Applications/Multimedia + +%description -n trinity-krec +This is a sound recording utility for Trinity. + +%files -n trinity-krec +%defattr(-,root,root,-) +%{tde_bindir}/krec +%{tde_tdelibdir}/kcm_krec.la +%{tde_tdelibdir}/kcm_krec.so +%{tde_tdelibdir}/kcm_krec_files.la +%{tde_tdelibdir}/kcm_krec_files.so +%{tde_tdelibdir}/krec.la +%{tde_tdelibdir}/krec.so +%{tde_tdelibdir}/libkrecexport_ogg.la +%{tde_tdelibdir}/libkrecexport_ogg.so +%{tde_tdelibdir}/libkrecexport_wave.la +%{tde_tdelibdir}/libkrecexport_wave.so +%{tde_libdir}/lib[kt]deinit_krec.so +%{tde_tdeappdir}/krec.desktop +%{tde_datadir}/apps/krec/ +%{tde_datadir}/icons/hicolor/*/apps/krec.png +%{tde_datadir}/services/kcm_krec.desktop +%{tde_datadir}/services/kcm_krec_files.desktop +%{tde_datadir}/services/krec_exportogg.desktop +%{tde_datadir}/services/krec_exportwave.desktop +%{tde_datadir}/servicetypes/krec_exportitem.desktop +%{tde_tdedocdir}/HTML/en/krec/ + +%post -n trinity-krec +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-krec +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kscd +Summary: Audio CD player for Trinity +Group: Applications/Multimedia + +%description -n trinity-kscd +This is Trinity's audio CD player. + +%files -n trinity-kscd +%defattr(-,root,root,-) +%{tde_bindir}/kscd +%{tde_bindir}/workman2cddb.pl +%{tde_tdeappdir}/kscd.desktop +%{tde_datadir}/apps/konqueror/servicemenus/audiocd_play.desktop +%{tde_datadir}/apps/kscd/ +%{tde_datadir}/apps/profiles/kscd.profile.xml +%{tde_datadir}/config.kcfg/kscd.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kscd.png +%{tde_datadir}/mimelnk/text/xmcd.desktop +%{tde_tdedocdir}/HTML/en/kscd/ + +%post -n trinity-kscd +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kscd +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-libarts-akode +Summary: Akode plugin for aRts +Group: Environment/Libraries + +%description -n trinity-libarts-akode +This package contains akode plugins for aRts. + +%files -n trinity-libarts-akode +%defattr(-,root,root,-) +%{tde_libdir}/libarts_akode.so.* +%{tde_libdir}/libarts_akode.la +%{tde_libdir}/mcop/akodearts.mcoptype +%{tde_libdir}/mcop/akodearts.mcopclass +%{tde_libdir}/mcop/akodeMPCPlayObject.mcopclass +%{tde_libdir}/mcop/akodePlayObject.mcopclass +%{tde_libdir}/mcop/akodeSpeexStreamPlayObject.mcopclass +%{tde_libdir}/mcop/akodeVorbisStreamPlayObject.mcopclass +%{tde_libdir}/mcop/akodeXiphPlayObject.mcopclass + +# -devel + +%post -n trinity-libarts-akode +/sbin/ldconfig + +%postun -n trinity-libarts-akode +/sbin/ldconfig + +########## + +%package -n trinity-libarts-audiofile +Summary: Audiofile plugin for aRts +Group: Environment/Libraries + +%description -n trinity-libarts-audiofile +This package contains audiofile plugins for aRts. + +%files -n trinity-libarts-audiofile +%defattr(-,root,root,-) +%{tde_libdir}/libarts_audiofile.so.* +%{tde_libdir}/libarts_audiofile.la +%{tde_libdir}/mcop/Arts/audiofilePlayObject.mcopclass +%{tde_libdir}/mcop/audiofilearts.mcopclass +%{tde_libdir}/mcop/audiofilearts.mcoptype + +%post -n trinity-libarts-audiofile +/sbin/ldconfig + +%postun -n trinity-libarts-audiofile +/sbin/ldconfig + +########## + +%package -n trinity-libarts-mpeglib +Summary: Mpeglib plugin for aRts, supporting mp3 and mpeg audio/video +Group: Environment/Libraries + +%description -n trinity-libarts-mpeglib +This package contains the mpeglib aRts plugin, supporting mp3 and mpeg +audio and video. + +This is the arts (TDE Sound daemon) plugin. + +%files -n trinity-libarts-mpeglib +%defattr(-,root,root,-) +%{tde_bindir}/mpeglibartsplay +%{tde_libdir}/libarts_mpeglib-0.3.0.so.* +%{tde_libdir}/libarts_mpeglib.la +%{tde_libdir}/libarts_splay.so.* +%{tde_libdir}/libarts_splay.la +%{tde_libdir}/mcop/CDDAPlayObject.mcopclass +%{tde_libdir}/mcop/MP3PlayObject.mcopclass +%{tde_libdir}/mcop/NULLPlayObject.mcopclass +%{tde_libdir}/mcop/OGGPlayObject.mcopclass +%{tde_libdir}/mcop/SplayPlayObject.mcopclass +%{tde_libdir}/mcop/WAVPlayObject.mcopclass + +%post -n trinity-libarts-mpeglib +/sbin/ldconfig + +%postun -n trinity-libarts-mpeglib +/sbin/ldconfig + +########## + +%package -n trinity-libarts-xine +Summary: aRts plugin enabling xine support +Group: Environment/Libraries + +%description -n trinity-libarts-xine +This package contains aRts' xine plugin, allowing the use of the xine +multimedia engine though aRts. + +%files -n trinity-libarts-xine +%defattr(-,root,root,-) +%{tde_tdelibdir}/videothumbnail.la +%{tde_tdelibdir}/videothumbnail.so +%{tde_libdir}/libarts_xine.so.* +%{tde_libdir}/libarts_xine.la +%{tde_libdir}/mcop/xineAudioPlayObject.mcopclass +%{tde_libdir}/mcop/xineVideoPlayObject.mcopclass +%{tde_datadir}/apps/videothumbnail/sprocket-large.png +%{tde_datadir}/apps/videothumbnail/sprocket-medium.png +%{tde_datadir}/apps/videothumbnail/sprocket-small.png +%{tde_datadir}/services/videothumbnail.desktop + +%post -n trinity-libarts-xine +/sbin/ldconfig + +%postun -n trinity-libarts-xine +/sbin/ldconfig + +########## + +%package -n trinity-libkcddb +Summary: CDDB library for Trinity +Group: Environment/Libraries + +%description -n trinity-libkcddb +The Trinity native CDDB (CD Data Base) library, providing easy access to Audio +CD meta-information (track titles, artist information, etc.) from on-line +databases, for TDE applications. + +%files -n trinity-libkcddb +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcm_cddb.la +%{tde_tdelibdir}/kcm_cddb.so +%{tde_libdir}/libkcddb.so.* +%{tde_tdeappdir}/libkcddb.desktop +%{tde_datadir}/apps/kconf_update/kcmcddb-emailsettings.upd +%{tde_datadir}/config.kcfg/libkcddb.kcfg + +%post -n trinity-libkcddb +/sbin/ldconfig +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-libkcddb +/sbin/ldconfig +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-mpeglib +Summary: MP3 and MPEG-1 audio and video library +Group: Environment/Libraries +Requires: trinity-libarts-mpeglib = %{version}-%{release} + +%description -n trinity-mpeglib +mpeglib is a MPEG-1 and MP3 audio and video library. It supports +MPEG-1 audio (layers 1, 2, 3), MPEG-1 video, MPEG-1 system layer, +and WAV playback + +%files -n trinity-mpeglib +%defattr(-,root,root,-) +%{tde_bindir}/yaf-cdda +%{tde_bindir}/yaf-mpgplay +%{tde_bindir}/yaf-splay +%{tde_bindir}/yaf-tplay +%{tde_bindir}/yaf-vorbis +%{tde_bindir}/yaf-yuv +%{tde_libdir}/libmpeg-0.3.0.so +%{tde_libdir}/libyafcore.so +%{tde_libdir}/libyafxplayer.so + +%post -n trinity-mpeglib +/sbin/ldconfig + +%postun -n trinity-mpeglib +/sbin/ldconfig + +########## + +%package -n trinity-noatun +Summary: Media player for Trinity +Group: Applications/Multimedia + +# 20120802: Hack to avoir dependency issue on MGA2 and MDV2011 +%if 0%{?mgaversion} || 0%{?mdkversion} +Provides: devel(libnoatunarts) +Provides: devel(libnoatunarts(64bit)) +%endif + +%description -n trinity-noatun +Noatun is an aRts-based audio and video player for Trinity. It supports all +formats supported by your installation of aRts (including aRts plugins). + +%files -n trinity-noatun +%defattr(-,root,root,-) +%{tde_bindir}/noatun +%{tde_libdir}/kconf_update_bin/noatun20update +%{tde_tdelibdir}/noatun.la +%{tde_tdelibdir}/noatun.so +%{tde_tdelibdir}/noatun_dcopiface.la +%{tde_tdelibdir}/noatun_dcopiface.so +%{tde_tdelibdir}/noatun_excellent.la +%{tde_tdelibdir}/noatun_excellent.so +%{tde_tdelibdir}/noatun_htmlexport.la +%{tde_tdelibdir}/noatun_htmlexport.so +%{tde_tdelibdir}/noatun_infrared.la +%{tde_tdelibdir}/noatun_infrared.so +%{tde_tdelibdir}/noatun_kaiman.la +%{tde_tdelibdir}/noatun_kaiman.so +%{tde_tdelibdir}/noatun_keyz.la +%{tde_tdelibdir}/noatun_keyz.so +%{tde_tdelibdir}/noatun_kjofol.la +%{tde_tdelibdir}/noatun_kjofol.so +%{tde_tdelibdir}/noatun_marquis.la +%{tde_tdelibdir}/noatun_marquis.so +%{tde_tdelibdir}/noatun_metatag.la +%{tde_tdelibdir}/noatun_metatag.so +%{tde_tdelibdir}/noatun_monoscope.la +%{tde_tdelibdir}/noatun_monoscope.so +%{tde_tdelibdir}/noatun_net.la +%{tde_tdelibdir}/noatun_net.so +%{tde_tdelibdir}/noatun_splitplaylist.la +%{tde_tdelibdir}/noatun_splitplaylist.so +%{tde_tdelibdir}/noatun_systray.la +%{tde_tdelibdir}/noatun_systray.so +%{tde_tdelibdir}/noatun_ui.la +%{tde_tdelibdir}/noatun_ui.so +%{tde_tdelibdir}/noatun_voiceprint.la +%{tde_tdelibdir}/noatun_voiceprint.so +%{tde_tdelibdir}/noatun_winskin.la +%{tde_tdelibdir}/noatun_winskin.so +%{tde_tdelibdir}/noatunsimple.la +%{tde_tdelibdir}/noatunsimple.so +%{tde_libdir}/libartseffects.la +%{tde_libdir}/libartseffects.so +%{tde_libdir}/lib[kt]deinit_noatun.so +%{tde_libdir}/libnoatun.so.* +%{tde_libdir}/libnoatunarts.la +%{tde_libdir}/libnoatunarts.so +%{tde_libdir}/libnoatuncontrols.so.* +%{tde_libdir}/libnoatuntags.so.* +%{tde_libdir}/libwinskinvis.la +%{tde_libdir}/libwinskinvis.so +%{tde_libdir}/mcop/ExtraStereo.mcopclass +%{tde_libdir}/mcop/ExtraStereoGuiFactory.mcopclass +%{tde_libdir}/mcop/Noatun/ +%{tde_libdir}/mcop/RawWriter.mcopclass +%{tde_libdir}/mcop/VoiceRemoval.mcopclass +%{tde_libdir}/mcop/artseffects.mcopclass +%{tde_libdir}/mcop/artseffects.mcoptype +%{tde_libdir}/mcop/noatunarts.mcopclass +%{tde_libdir}/mcop/noatunarts.mcoptype +%{tde_libdir}/mcop/winskinvis.mcopclass +%{tde_libdir}/mcop/winskinvis.mcoptype +%{tde_tdeappdir}/noatun.desktop +%{tde_datadir}/apps/kconf_update/noatun.upd +%{tde_datadir}/apps/noatun/ +%{tde_datadir}/icons/hicolor/*/apps/noatun.png +%{tde_datadir}/mimelnk/interface/x-winamp-skin.desktop +%{tde_tdedocdir}/HTML/en/noatun/ + +%post -n trinity-noatun +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-noatun +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package devel +Summary: Development files for %{name}, aRts and noatun plugins +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: trinity-tdelibs-devel >= 3.5.13 + +Obsoletes: trinity-kdemultimedia-devel < %{version}-%{release} +Provides: trinity-kdemultimedia-devel = %{version}-%{release} + +%description devel +{summary}. + +Install %{name}-devel if you wish to develop or compile any +applications using aRtsbuilder, aRtsmidi, aRtskde, aRts modules or +noatun plugins. + +%files devel +%defattr(-,root,root,-) +%{tde_includedir}/* +%{tde_libdir}/libarts_akode.so +%{tde_libdir}/libarts_audiofile.so +%{tde_libdir}/libarts_mpeglib.so +%{tde_libdir}/libarts_splay.so +%{tde_libdir}/libarts_xine.so +%{tde_libdir}/libartsbuilder.so +%{tde_libdir}/libartscontrolapplet.so +%{tde_libdir}/libartscontrolsupport.so +%{tde_libdir}/libartsgui.so +%{tde_libdir}/libartsgui_idl.so +%{tde_libdir}/libartsgui_kde.so +%{tde_libdir}/libartsmidi.so +%{tde_libdir}/libartsmidi_idl.so +%{tde_libdir}/libartsmodules.so +%{tde_libdir}/libartsmodulescommon.so +%{tde_libdir}/libartsmoduleseffects.so +%{tde_libdir}/libartsmodulesmixers.so +%{tde_libdir}/libartsmodulessynth.so +%{tde_libdir}/libaudiocdplugins.la +%{tde_libdir}/libaudiocdplugins.so +%{tde_libdir}/libkcddb.la +%{tde_libdir}/libkcddb.so +%{tde_libdir}/lib[kt]deinit_kmix.la +%{tde_libdir}/lib[kt]deinit_kmixctrl.la +%{tde_libdir}/lib[kt]deinit_krec.la +%{tde_libdir}/lib[kt]deinit_noatun.la +%{tde_libdir}/libkmidlib.la +%{tde_libdir}/libkmidlib.so +%{tde_libdir}/libmpeg.la +%{tde_libdir}/libmpeg.so +%{tde_libdir}/libnoatun.la +%{tde_libdir}/libnoatun.so +%{tde_libdir}/libnoatuncontrols.la +%{tde_libdir}/libnoatuncontrols.so +%{tde_libdir}/libnoatuntags.la +%{tde_libdir}/libnoatuntags.so +%{tde_libdir}/libyafcore.la +%{tde_libdir}/libyafxplayer.la + +%post devel +/sbin/ldconfig + +%postun devel +/sbin/ldconfig + +########## + + +%prep +%setup -q -n kdemultimedia +%patch1 -p1 -b .ftbfs +%patch3 -p1 -b .xdg +%patch5 -p1 -b .pthread +%patch10 -p1 +%patch21 -p1 -b .moreapplications +%patch22 -p1 +%patch23 -p1 -b .kmixautostart + + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +# Required for some distro +export KDEDIRS=%{tde_prefix} + +%configure \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_tdeincludedir} \ + --datadir=%{tde_datadir} \ + --enable-new-ldflags \ + --disable-dependency-tracking \ + --with-cdparanoia \ + --with-flac \ + --with-theora \ + --with-vorbis \ + --with-alsa \ + --with-gstreamer \ + --without-lame \ + --disable-debug \ + --disable-warnings \ + --enable-final \ + --disable-rpath \ + %{?_with_akode} %{!?_with_akode:--without-akode} \ + %{?_with_musicbrainz} %{!?_with_musicbrainz:--without-musicbrainz} \ + %{?_with_taglib} %{!?_with_taglib:--without-taglib} \ + %{?_with_xine} %{!?_with_xine:--without-xine} \ + --with-extra-includes="%{_includedir}/cdda:%{_includedir}/cddb:%{tde_includedir}/tqt:%{tde_tdeincludedir}/arts:%{tde_includedir}/artsc" \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{buildroot} + +# don't make these world-writeable +chmod go-w %{buildroot}%{tde_datadir}/apps/kscd/* + +# locale's +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi +done +fi + +# Moves the XDG configuration files to TDE directory +%__install -p -D -m644 \ + "%{?buildroot}%{_sysconfdir}/xdg/menus/applications-merged/kde-multimedia-music.menu" \ + "%{?buildroot}%{tde_prefix}/etc/xdg/menus/applications-merged/trinity-multimedia-music.menu" +%__rm -rf "%{?buildroot}%{_sysconfdir}/xdg" + + +%clean +%__rm -rf %{buildroot} + + +%changelog +* Sat Aug 18 2012 Francois Andriot - 3.5.13-9 +- Rebuild for tdelibs-3.5.13-12 +- Fix kmix autostart. This resolves Bug 503, and re-applies commit 2cc2e3a2 as part of the fix. [Commit #7da06e55] + +* Sun Jul 01 2012 Francois Andriot - 3.5.13-8 +- Split in several packages +- Enables Xine support on RHEL/CentOS +- Removes previous patch. [Bug #503] + +* Wed May 09 2012 Francois Andriot - 3.5.13-7 +- Fix kmix not autostarting in the user's session. [Bug #503] + +* Tue May 01 2012 Francois Andriot - 3.5.13-6 +- Updates BuildRequires +- Remove "More Applications" from TDE menu. [Commit #31e44a7b] +- Fix linear alphabet string errors [Commit #fd6afacf] + +* Mon Jan 16 2012 Francois Andriot - 3.5.13-5 +- Enables 'akode' support +- Fix MMX support [Bug #800] + +* Fri Nov 25 2011 Francois Andriot - 3.5.13-4 +- Fix HTML directory location + +* Sat Nov 12 2011 Francois Andriot - 3.5.13-3 +- Moves XDG files in TDE prefix to avoid conflict with distro-provided KDE + +* Fri Nov 04 2011 Francois Andriot - 3.5.13-2 +- Updates BuildRequires + +* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 +- Initial release for RHEL 6, RHEL 5 and Fedora 15 + +* Sat Sep 09 2011 Francois Andriot - 3.5.13-0 +- Import to GIT +- Spec file based on Fedora 8 "kdemultimedia-6:3.5.10-2" + diff --git a/redhat/tdemultimedia/tdemultimedia-14.0.0.spec b/redhat/tdemultimedia/tdemultimedia-14.0.0.spec new file mode 100644 index 000000000..68c6ee218 --- /dev/null +++ b/redhat/tdemultimedia/tdemultimedia-14.0.0.spec @@ -0,0 +1,1228 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +# former extras bits +%define _with_akode --with-akode +## not currently compatible with libtunepimp-0.5 (only libtunepimp-0.4) +#define _with_musicbrainz --with-musicbrainz +%define _with_taglib --with-taglib + +Name: trinity-tdemultimedia +Summary: Multimedia applications for the Trinity Desktop Environment (TDE) +Version: 14.0.0 +Release: %{?!preversion:2}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} + +License: GPLv2 +Group: Applications/Multimedia + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz + +Obsoletes: trinity-kdemultimedia < %{version}-%{release} +Provides: trinity-kdemultimedia = %{version}-%{release} +Obsoletes: trinity-kdemultimedia-libs < %{version}-%{release} +Provides: trinity-kdemultimedia-libs = %{version}-%{release} +Obsoletes: trinity-kdemultimedia-extras < %{version}-%{release} +Provides: trinity-kdemultimedia-extras = %{version}-%{release} +Obsoletes: trinity-kdemultimedia-extras-libs < %{version}-%{release} +Provides: trinity-kdemultimedia-extras-libs = %{version}-%{release} + + +BuildRequires: autoconf automake libtool m4 +BuildRequires: trinity-tqt3-devel >= %{version} +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} + +%if "%{?_with_akode}" != "" +BuildRequires: trinity-akode-devel +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} +BuildRequires: trinity-akode-libmad +%endif +%endif + +BuildRequires: desktop-file-utils +BuildRequires: zlib-devel + +# Audio libraries +BuildRequires: libvorbis-devel +BuildRequires: audiofile-devel +BuildRequires: libtheora-devel +BuildRequires: alsa-lib-devel +%{?_with_musicbrainz:BuildRequires: libmusicbrainz-devel libtunepimp-devel} +%{?_with_taglib:BuildRequires: taglib-devel} +BuildRequires: cdparanoia + +# CDDA support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: libcdda-devel +%endif +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +BuildRequires: cdparanoia-devel +%endif + +# FLAC support +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} +BuildRequires: libflac-devel +%else +BuildRequires: %{_lib}flac-devel +%endif +%endif +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +BuildRequires: flac-devel +%endif + +# GSTREAMER support +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} +BuildRequires: libgstreamer0.10-devel +%else +BuildRequires: %{_lib}gstreamer0.10-devel +%endif +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: gstreamer-devel +%endif +%if 0%{?suse_version} +BuildRequires: gstreamer-0_10-devel +%endif + +# X11 Libraries +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xxf86dga-devel +BuildRequires: %{_lib}xxf86vm-devel +BuildRequires: %{_lib}xtst%{?mgaversion:6}-devel +%endif +%if 0%{?rhel} == 4 +BuildRequires: xorg-x11-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 +BuildRequires: libXxf86dga-devel +BuildRequires: libXxf86vm-devel +BuildRequires: libXt-devel +%endif + +# XINE support +%if 0%{?fedora} || 0%{?rhel} >= 4 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_xine 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xine-devel +%endif +%if 0%{?fedora} || 0%{?rhel} +BuildRequires: xine-lib-devel +%endif +%if 0%{?suse_version} +BuildRequires: libxine-devel +%endif +%endif + +# LAME support +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} +%define with_lame 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} +BuildRequires: liblame-devel +%else +BuildRequires: %{_lib}lame-devel +%endif +%endif +%if 0%{?suse_version} +BuildRequires: libmp3lame-devel +%endif +%if 0%{?fedora} || 0%{?rhel} +BuildRequires: lame-devel +%endif +%endif + +Requires: trinity-artsbuilder = %{version}-%{release} +Requires: trinity-juk = %{version}-%{release} +Requires: trinity-kaboodle = %{version}-%{release} +Requires: trinity-kaudiocreator = %{version}-%{release} +Requires: %{name}-kfile-plugins = %{version}-%{release} +Requires: %{name}-kappfinder-data = %{version}-%{release} +Requires: %{name}-tdeio-plugins = %{version}-%{release} +Requires: trinity-kmid = %{version}-%{release} +Requires: trinity-kmix = %{version}-%{release} +Requires: trinity-krec = %{version}-%{release} +Requires: trinity-kscd = %{version}-%{release} +Requires: trinity-libarts-akode = %{version}-%{release} +Requires: trinity-libarts-audiofile = %{version}-%{release} +Requires: trinity-libarts-mpeglib = %{version}-%{release} +%{?with_xine:Requires: trinity-libarts-xine = %{version}-%{release}} +Requires: trinity-libkcddb = %{version}-%{release} +Requires: trinity-mpeglib = %{version}-%{release} +Requires: trinity-noatun = %{version}-%{release} + + +%description +The Trinity Desktop Environment (TDE) is a GUI desktop for the X Window +System. The %{name} package contains multimedia applications for +TDE, including: + artsbuilder, Synthesizer designer for aRts + juk, a media player + kmid, a midi player + kmix, an audio mixer + arts, additional functionality for the aRts sound system + krec, a recording tool + kscd, an Audio-CD player + kaudiocreator, a graphical frontend for audio file creation + kaboodle, a media player + noatun, a media player + +%files + +########## + +%package -n trinity-artsbuilder +Summary: Synthesizer designer for aRts +Group: Applications/Multimedia + +%description -n trinity-artsbuilder +This is the analog Realtime synthesizer's graphical design tool. + +%files -n trinity-artsbuilder +%defattr(-,root,root,-) +%{tde_bindir}/artsbuilder +%{tde_bindir}/artscontrol +%{tde_bindir}/midisend +%{tde_libdir}/libartsbuilder.la +%{tde_libdir}/libartsbuilder.so.* +%{tde_libdir}/libartscontrolapplet.la +%{tde_libdir}/libartscontrolapplet.so.* +%{tde_libdir}/libartscontrolsupport.la +%{tde_libdir}/libartscontrolsupport.so.* +%{tde_libdir}/libartsgui_idl.la +%{tde_libdir}/libartsgui_idl.so.* +%{tde_libdir}/libartsgui_kde.la +%{tde_libdir}/libartsgui_kde.so.* +%{tde_libdir}/libartsgui.la +%{tde_libdir}/libartsgui.so.* +%{tde_libdir}/libartsmidi_idl.la +%{tde_libdir}/libartsmidi_idl.so.* +%{tde_libdir}/libartsmidi.la +%{tde_libdir}/libartsmidi.so.* +%{tde_libdir}/libartsmodulescommon.la +%{tde_libdir}/libartsmodulescommon.so.* +%{tde_libdir}/libartsmoduleseffects.la +%{tde_libdir}/libartsmoduleseffects.so.* +%{tde_libdir}/libartsmodulesmixers.la +%{tde_libdir}/libartsmodulesmixers.so.* +%{tde_libdir}/libartsmodules.la +%{tde_libdir}/libartsmodules.so.* +%{tde_libdir}/libartsmodulessynth.la +%{tde_libdir}/libartsmodulessynth.so.* +%{tde_libdir}/mcop/Arts/ArtsBuilderLoader.mcopclass +%{tde_libdir}/mcop/artsbuilder.mcopclass +%{tde_libdir}/mcop/artsbuilder.mcoptype +%{tde_libdir}/mcop/Arts/Button.mcopclass +%{tde_libdir}/mcop/Arts/EffectRackGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/Effect_WAVECAPTURE.mcopclass +%{tde_libdir}/mcop/Arts/Environment/Container.mcopclass +%{tde_libdir}/mcop/Arts/Environment/EffectRackItem.mcopclass +%{tde_libdir}/mcop/Arts/Environment/InstrumentItemGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/Environment/InstrumentItem.mcopclass +%{tde_libdir}/mcop/Arts/Environment/MixerItem.mcopclass +%{tde_libdir}/mcop/Arts/Fader.mcopclass +%{tde_libdir}/mcop/Arts/FiveBandMonoComplexEQGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/FiveBandMonoComplexEQ.mcopclass +%{tde_libdir}/mcop/Arts/FreeverbGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/GenericGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/GraphLine.mcopclass +%{tde_libdir}/mcop/artsgui.mcopclass +%{tde_libdir}/mcop/artsgui.mcoptype +%{tde_libdir}/mcop/Arts/HBox.mcopclass +%{tde_libdir}/mcop/Arts/Label.mcopclass +%{tde_libdir}/mcop/Arts/LayoutBox.mcopclass +%{tde_libdir}/mcop/Arts/LevelMeter.mcopclass +%{tde_libdir}/mcop/Arts/LineEdit.mcopclass +%{tde_libdir}/mcop/Arts/LittleStereoMixerChannelGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/LittleStereoMixerChannel.mcopclass +%{tde_libdir}/mcop/Arts/LocalFactory.mcopclass +%{tde_libdir}/mcop/Arts/MidiManager.mcopclass +%{tde_libdir}/mcop/artsmidi.mcopclass +%{tde_libdir}/mcop/artsmidi.mcoptype +%{tde_libdir}/mcop/Arts/MixerGuiFactory.mcopclass +%{tde_libdir}/mcop/artsmodulescommon.mcopclass +%{tde_libdir}/mcop/artsmodulescommon.mcoptype +%{tde_libdir}/mcop/artsmoduleseffects.mcopclass +%{tde_libdir}/mcop/artsmoduleseffects.mcoptype +%{tde_libdir}/mcop/artsmodules.mcopclass +%{tde_libdir}/mcop/artsmodules.mcoptype +%{tde_libdir}/mcop/artsmodulesmixers.mcopclass +%{tde_libdir}/mcop/artsmodulesmixers.mcoptype +%{tde_libdir}/mcop/artsmodulessynth.mcopclass +%{tde_libdir}/mcop/artsmodulessynth.mcoptype +%{tde_libdir}/mcop/Arts/MonoSimpleMixerChannelGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/MonoSimpleMixerChannel.mcopclass +%{tde_libdir}/mcop/Arts/MonoToStereo.mcopclass +%{tde_libdir}/mcop/Arts/PopupBox.mcopclass +%{tde_libdir}/mcop/Arts/Poti.mcopclass +%{tde_libdir}/mcop/Arts/SimpleMixerChannelGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/SimpleMixerChannel.mcopclass +%{tde_libdir}/mcop/Arts/SpinBox.mcopclass +%{tde_libdir}/mcop/Arts/StereoBalanceGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/StereoBalance.mcopclass +%{tde_libdir}/mcop/Arts/StereoCompressorGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/StereoFirEqualizerGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/StereoToMono.mcopclass +%{tde_libdir}/mcop/Arts/StereoVolumeControlGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/StereoVolumeControlGui.mcopclass +%{tde_libdir}/mcop/Arts/StructureBuilder.mcopclass +%{tde_libdir}/mcop/Arts/StructureDesc.mcopclass +%{tde_libdir}/mcop/Arts/Synth_ATAN_SATURATE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_AUTOPANNER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_BRICKWALL_LIMITER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_CAPTURE_WAV.mcopclass +%{tde_libdir}/mcop/Arts/Synth_CDELAY.mcopclass +%{tde_libdir}/mcop/Arts/Synth_COMPRESSOR.mcopclass +%{tde_libdir}/mcop/Arts/Synth_DATA.mcopclass +%{tde_libdir}/mcop/Arts/Synth_DEBUG.mcopclass +%{tde_libdir}/mcop/Arts/Synth_DELAY.mcopclass +%{tde_libdir}/mcop/Arts/Synth_DIV.mcopclass +%{tde_libdir}/mcop/Arts/Synth_ENVELOPE_ADSR.mcopclass +%{tde_libdir}/mcop/Arts/Synth_FM_SOURCE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_FREEVERB.mcopclass +%{tde_libdir}/mcop/Arts/Synth_FX_CFLANGER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_MIDI_DEBUG.mcopclass +%{tde_libdir}/mcop/Arts/Synth_MIDI_TEST.mcopclass +%{tde_libdir}/mcop/Arts/Synth_MOOG_VCF.mcopclass +%{tde_libdir}/mcop/Arts/Synth_NIL.mcopclass +%{tde_libdir}/mcop/Arts/Synth_NOISE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_OSC.mcopclass +%{tde_libdir}/mcop/Arts/Synth_PITCH_SHIFT_FFT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_PITCH_SHIFT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_PLAY_PAT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_PSCALE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_RC.mcopclass +%{tde_libdir}/mcop/Arts/Synth_SEQUENCE_FREQ.mcopclass +%{tde_libdir}/mcop/Arts/Synth_SEQUENCE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_SHELVE_CUTOFF.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STD_EQUALIZER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STEREO_COMPRESSOR.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STEREO_FIR_EQUALIZER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STEREO_PITCH_SHIFT_FFT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STEREO_PITCH_SHIFT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_TREMOLO.mcopclass +%{tde_libdir}/mcop/Arts/Synth_VOICE_REMOVAL.mcopclass +%{tde_libdir}/mcop/Arts/Synth_WAVE_PULSE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_WAVE_SOFTSAW.mcopclass +%{tde_libdir}/mcop/Arts/Synth_WAVE_SQUARE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_WAVE_TRI.mcopclass +%{tde_libdir}/mcop/Arts/Synth_XFADE.mcopclass +%{tde_libdir}/mcop/Arts/VBox.mcopclass +%{tde_libdir}/mcop/Arts/VoiceRemovalGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/Widget.mcopclass +%{tde_tdeappdir}/artsbuilder.desktop +%{tde_tdeappdir}/artscontrol.desktop +%{tde_datadir}/apps/artsbuilder/ +%{tde_datadir}/apps/artscontrol/ +%{tde_datadir}/apps/kicker/applets/artscontrolapplet.desktop +%{tde_datadir}/icons/crystalsvg/*/actions/artsaudiomanager.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsbuilderexecute.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsenvironment.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsfftscope.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsmediatypes.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsmidimanager.png +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsaudiomanager.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsenvironment.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsfftscope.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsmediatypes.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsmidimanager.svgz +%{tde_datadir}/icons/hicolor/*/apps/artsbuilder.png +%{tde_datadir}/icons/hicolor/*/apps/artscontrol.png +%{tde_datadir}/icons/hicolor/scalable/apps/artsbuilder.svgz +%{tde_datadir}/icons/hicolor/scalable/apps/artscontrol.svgz +%{tde_datadir}/mimelnk/application/x-artsbuilder.desktop +%{tde_tdedocdir}/HTML/en/artsbuilder/ + +%post -n trinity-artsbuilder +/sbin/ldconfig +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-artsbuilder +/sbin/ldconfig +for f in crystalsvg hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-juk +Summary: Music organizer and player for Trinity +Group: Applications/Multimedia + +%description -n trinity-juk +JuK (pronounced "jook") is a jukebox and music manager for the TDE +desktop similar to jukebox software on other platforms such as +iTunes or RealOne. + +Some of JuK's features include: +* Support for Ogg Vorbis and MP3 formats +* Tag editing support for both formats, including ID3v2 for MP3 files. + Multitagging or editing a selection of multiple files at once is also + supported +* Output to either the aRts, default KDE sound system, or GStreamer +* Management of your "collection" and multiple playlists +* Import and export to m3u playlists +* Binary caching of audio meta-data and playlist information for faster + load times (starting with the second time you run JuK) +* Integration into TDE that allows drag-and-drop and clipboard usage + with other TDE and X apps + +%files -n trinity-juk +%defattr(-,root,root,-) +%{tde_bindir}/juk +%{tde_tdeappdir}/juk.desktop +%{tde_datadir}/apps/juk/ +%{tde_datadir}/apps/konqueror/servicemenus/jukservicemenu.desktop +%{tde_datadir}/icons/crystalsvg/*/actions/juk_dock.png +%{tde_datadir}/icons/hicolor/*/apps/juk.png +%{tde_tdedocdir}/HTML/en/juk/ + +%post -n trinity-juk +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-juk +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kaboodle +Summary: light, embedded media player for Trinity +Group: Applications/Multimedia + +%if 0%{?with_xine} +Requires: trinity-libarts-xine = %{version}-%{release} +%endif + +%description -n trinity-kaboodle +Kaboodle is a light, embedded media player, supporting both video and audio, +for TDE. It uses the aRts framework for playing media files. + +%files -n trinity-kaboodle +%defattr(-,root,root,-) +%{tde_bindir}/kaboodle +%{tde_tdelibdir}/libkaboodlepart.la +%{tde_tdelibdir}/libkaboodlepart.so +%{tde_tdeappdir}/kaboodle.desktop +%{tde_datadir}/apps/kaboodle/ +%{tde_datadir}/icons/hicolor/*/apps/kaboodle.png +%{tde_datadir}/services/kaboodle_component.desktop +%{tde_datadir}/services/kaboodleengine.desktop +%{tde_tdedocdir}/HTML/en/kaboodle/ + +%post -n trinity-kaboodle +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kaboodle +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kaudiocreator +Summary: CD ripper and audio encoder frontend for Trinity +Group: Applications/Multimedia + +Requires: %{name}-tdeio-plugins = %{version}-%{release} +Requires: vorbis-tools +Requires: flac + +%description -n trinity-kaudiocreator +KAudioCreator is a tool for audio extraction (ripping) and encoding. It can +keep your WAV files, or convert them to Ogg/Vorbis, MP3, or FLAC. It also +searches CDDB to retrieve the information of the disk. + +%files -n trinity-kaudiocreator +%defattr(-,root,root,-) +%{tde_bindir}/kaudiocreator +%{tde_tdeappdir}/kaudiocreator.desktop +%{tde_datadir}/apps/kaudiocreator/ +%{tde_datadir}/apps/kconf_update/kaudiocreator-libkcddb.upd +%{tde_datadir}/apps/kconf_update/kaudiocreator-meta.upd +%{tde_datadir}/apps/kconf_update/upgrade-kaudiocreator-metadata.sh +%{tde_datadir}/apps/konqueror/servicemenus/audiocd_extract.desktop +%{tde_datadir}/config.kcfg/kaudiocreator.kcfg +%{tde_datadir}/config.kcfg/kaudiocreator_encoders.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kaudiocreator.png +%{tde_datadir}/icons/locolor/*/apps/kaudiocreator.png +%{tde_tdedocdir}/HTML/en/kaudiocreator/ + +%post -n trinity-kaudiocreator +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kaudiocreator +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package kfile-plugins +Summary: au/avi/m3u/mp3/ogg/wav plugins for kfile +Group: Applications/Multimedia + +%description kfile-plugins +au/avi/m3u/mp3/ogg/wav file metainformation plugins for Trinity. + +%files kfile-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/kfile_au.la +%{tde_tdelibdir}/kfile_au.so +%{tde_tdelibdir}/kfile_avi.la +%{tde_tdelibdir}/kfile_avi.so +%{tde_tdelibdir}/kfile_flac.la +%{tde_tdelibdir}/kfile_flac.so +%{tde_tdelibdir}/kfile_m3u.la +%{tde_tdelibdir}/kfile_m3u.so +%{tde_tdelibdir}/kfile_mp3.la +%{tde_tdelibdir}/kfile_mp3.so +%{tde_tdelibdir}/kfile_mpc.la +%{tde_tdelibdir}/kfile_mpc.so +%{tde_tdelibdir}/kfile_mpeg.la +%{tde_tdelibdir}/kfile_mpeg.so +%{tde_tdelibdir}/kfile_ogg.la +%{tde_tdelibdir}/kfile_ogg.so +%{tde_tdelibdir}/kfile_sid.la +%{tde_tdelibdir}/kfile_sid.so +%{tde_tdelibdir}/kfile_theora.la +%{tde_tdelibdir}/kfile_theora.so +%{tde_tdelibdir}/kfile_wav.la +%{tde_tdelibdir}/kfile_wav.so +%{tde_datadir}/services/kfile_au.desktop +%{tde_datadir}/services/kfile_avi.desktop +%{tde_datadir}/services/kfile_flac.desktop +%{tde_datadir}/services/kfile_m3u.desktop +%{tde_datadir}/services/kfile_mp3.desktop +%{tde_datadir}/services/kfile_mpc.desktop +%{tde_datadir}/services/kfile_mpeg.desktop +%{tde_datadir}/services/kfile_ogg.desktop +%{tde_datadir}/services/kfile_sid.desktop +%{tde_datadir}/services/kfile_theora.desktop +%{tde_datadir}/services/kfile_wav.desktop + +########## + +%package kappfinder-data +Summary: multimedia data for kappfinder-trinity +Group: Applications/Multimedia + +Requires: trinity-kappfinder + +%description kappfinder-data +This package provides data on multimedia applications for kappfinder. + +%files kappfinder-data +%defattr(-,root,root,-) +%{tde_datadir}/apps/kappfinder/* +%{tde_datadir}/desktop-directories/[kt]de-multimedia-music.directory +%{tde_prefix}/etc/xdg/menus/applications-merged/trinity-multimedia-music.menu + +########## + +%package tdeio-plugins +Summary: Enables the browsing of audio CDs under Konqueror +Group: Applications/Multimedia + +Obsoletes: trinity-tdemultimedia-kio-plugins < %{version}-%{release} +Provides: trinity-tdemultimedia-kio-plugins = %{version}-%{release} + +%description tdeio-plugins +This package allow audio CDs to be browsed like a file system using +Konqueror and the audiocd:/ URL. + +%files tdeio-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcm_audiocd.la +%{tde_tdelibdir}/kcm_audiocd.so +%{tde_tdelibdir}/kio_audiocd.la +%{tde_tdelibdir}/kio_audiocd.so +%{tde_tdelibdir}/libaudiocd_encoder_flac.la +%{tde_tdelibdir}/libaudiocd_encoder_flac.so +%{tde_tdelibdir}/libaudiocd_encoder_lame.la +%{tde_tdelibdir}/libaudiocd_encoder_lame.so +%{tde_tdelibdir}/libaudiocd_encoder_vorbis.la +%{tde_tdelibdir}/libaudiocd_encoder_vorbis.so +%{tde_tdelibdir}/libaudiocd_encoder_wav.la +%{tde_tdelibdir}/libaudiocd_encoder_wav.so +%{tde_libdir}/libaudiocdplugins.so.* +%{tde_tdeappdir}/audiocd.desktop +%{tde_datadir}/apps/kconf_update/audiocd.upd +%{tde_datadir}/apps/kconf_update/upgrade-metadata.sh +%{tde_datadir}/config.kcfg/audiocd_lame_encoder.kcfg +%{tde_datadir}/config.kcfg/audiocd_vorbis_encoder.kcfg +%{tde_datadir}/services/audiocd.protocol +%{tde_tdedocdir}/HTML/en/kioslave/audiocd.docbook + +%post tdeio-plugins +/sbin/ldconfig +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun tdeio-plugins +/sbin/ldconfig +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kmid +Summary: MIDI/karaoke player for Trinity +Group: Applications/Multimedia + +%description -n trinity-kmid +This package provides a MIDI and karaoke player for TDE. + +%files -n trinity-kmid +%defattr(-,root,root,-) +%{tde_bindir}/kmid +%{tde_tdelibdir}/libkmidpart.la +%{tde_tdelibdir}/libkmidpart.so +%{tde_libdir}/libkmidlib.so.* +%{tde_tdeappdir}/kmid.desktop +%{tde_datadir}/apps/kmid/ +%{tde_datadir}/icons/hicolor/*/apps/kmid.png +%{tde_datadir}/mimelnk/audio/x-karaoke.desktop +%{tde_datadir}/servicetypes/audiomidi.desktop +%{tde_tdedocdir}/HTML/en/kmid/ + +%post -n trinity-kmid +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kmid +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kmix +Summary: Sound mixer applet for Trinity +Group: Applications/Multimedia + +%description -n trinity-kmix +This package includes TDE's dockable sound mixer applet. + +%files -n trinity-kmix +%defattr(-,root,root,-) +%{tde_bindir}/kmix +%{tde_bindir}/kmixctrl +%{tde_tdelibdir}/kmix.la +%{tde_tdelibdir}/kmix.so +%{tde_tdelibdir}/kmix_panelapplet.la +%{tde_tdelibdir}/kmix_panelapplet.so +%{tde_tdelibdir}/kmixctrl.la +%{tde_tdelibdir}/kmixctrl.so +%{tde_libdir}/lib[kt]deinit_kmix.so +%{tde_libdir}/lib[kt]deinit_kmixctrl.so +%{tde_tdeappdir}/kmix.desktop +%{tde_datadir}/apps/kicker/applets/kmixapplet.desktop +%{tde_datadir}/apps/kmix/ +%{tde_datadir}/autostart/kmix.desktop +%{tde_datadir}/autostart/restore_kmix_volumes.desktop +%{tde_datadir}/icons/hicolor/*/apps/kmix.png +%{tde_datadir}/services/kmixctrl_restore.desktop +%{tde_tdedocdir}/HTML/en/kmix/ + +%post -n trinity-kmix +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kmix +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-krec +Summary: Sound recorder utility for Trinity +Group: Applications/Multimedia + +%description -n trinity-krec +This is a sound recording utility for Trinity. + +%files -n trinity-krec +%defattr(-,root,root,-) +%{tde_bindir}/krec +%{tde_tdelibdir}/kcm_krec.la +%{tde_tdelibdir}/kcm_krec.so +%{tde_tdelibdir}/kcm_krec_files.la +%{tde_tdelibdir}/kcm_krec_files.so +%{tde_tdelibdir}/krec.la +%{tde_tdelibdir}/krec.so +%if %{?with_lame} +%{tde_tdelibdir}/libkrecexport_mp3.la +%{tde_tdelibdir}/libkrecexport_mp3.so +%{tde_datadir}/services/krec_exportmp3.desktop +%endif +%{tde_tdelibdir}/libkrecexport_ogg.la +%{tde_tdelibdir}/libkrecexport_ogg.so +%{tde_tdelibdir}/libkrecexport_wave.la +%{tde_tdelibdir}/libkrecexport_wave.so +%{tde_libdir}/lib[kt]deinit_krec.so +%{tde_tdeappdir}/krec.desktop +%{tde_datadir}/apps/krec/ +%{tde_datadir}/icons/hicolor/*/apps/krec.png +%{tde_datadir}/services/kcm_krec.desktop +%{tde_datadir}/services/kcm_krec_files.desktop +%{tde_datadir}/services/krec_exportogg.desktop +%{tde_datadir}/services/krec_exportwave.desktop +%{tde_datadir}/servicetypes/krec_exportitem.desktop +%{tde_tdedocdir}/HTML/en/krec/ + +%post -n trinity-krec +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-krec +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kscd +Summary: Audio CD player for Trinity +Group: Applications/Multimedia + +%description -n trinity-kscd +This is Trinity's audio CD player. + +%files -n trinity-kscd +%defattr(-,root,root,-) +%{tde_bindir}/kscd +%{tde_bindir}/workman2cddb.pl +%{tde_tdeappdir}/kscd.desktop +%{tde_datadir}/apps/konqueror/servicemenus/audiocd_play.desktop +%{tde_datadir}/apps/kscd/ +%{tde_datadir}/apps/profiles/kscd.profile.xml +%{tde_datadir}/config.kcfg/kscd.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kscd.png +%{tde_datadir}/mimelnk/text/xmcd.desktop +%{tde_tdedocdir}/HTML/en/kscd/ + +%post -n trinity-kscd +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kscd +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-libarts-akode +Summary: Akode plugin for aRts +Group: Environment/Libraries + +%description -n trinity-libarts-akode +This package contains akode plugins for aRts. + +%files -n trinity-libarts-akode +%defattr(-,root,root,-) +%{tde_libdir}/libarts_akode.so.* +%{tde_libdir}/libarts_akode.la +%{tde_libdir}/mcop/akodearts.mcoptype +%{tde_libdir}/mcop/akodearts.mcopclass +%{tde_libdir}/mcop/akodeMPCPlayObject.mcopclass +%{tde_libdir}/mcop/akodePlayObject.mcopclass +%{tde_libdir}/mcop/akodeSpeexStreamPlayObject.mcopclass +%{tde_libdir}/mcop/akodeVorbisStreamPlayObject.mcopclass +%{tde_libdir}/mcop/akodeXiphPlayObject.mcopclass + +# Requires MAD support +%{tde_libdir}/mcop/akodeMPEGPlayObject.mcopclass + +%post -n trinity-libarts-akode +/sbin/ldconfig + +%postun -n trinity-libarts-akode +/sbin/ldconfig + +########## + +%package -n trinity-libarts-audiofile +Summary: Audiofile plugin for aRts +Group: Environment/Libraries + +%description -n trinity-libarts-audiofile +This package contains audiofile plugins for aRts. + +%files -n trinity-libarts-audiofile +%defattr(-,root,root,-) +%{tde_libdir}/libarts_audiofile.so.* +%{tde_libdir}/libarts_audiofile.la +%{tde_libdir}/mcop/Arts/audiofilePlayObject.mcopclass +%{tde_libdir}/mcop/audiofilearts.mcopclass +%{tde_libdir}/mcop/audiofilearts.mcoptype + +%post -n trinity-libarts-audiofile +/sbin/ldconfig + +%postun -n trinity-libarts-audiofile +/sbin/ldconfig + +########## + +%package -n trinity-libarts-mpeglib +Summary: Mpeglib plugin for aRts, supporting mp3 and mpeg audio/video +Group: Environment/Libraries + +%description -n trinity-libarts-mpeglib +This package contains the mpeglib aRts plugin, supporting mp3 and mpeg +audio and video. + +This is the arts (TDE Sound daemon) plugin. + +%files -n trinity-libarts-mpeglib +%defattr(-,root,root,-) +%{tde_bindir}/mpeglibartsplay +%{tde_libdir}/libarts_mpeglib-0.3.0.so.* +%{tde_libdir}/libarts_mpeglib.la +%{tde_libdir}/libarts_splay.so.* +%{tde_libdir}/libarts_splay.la +%{tde_libdir}/mcop/CDDAPlayObject.mcopclass +%{tde_libdir}/mcop/MP3PlayObject.mcopclass +%{tde_libdir}/mcop/NULLPlayObject.mcopclass +%{tde_libdir}/mcop/OGGPlayObject.mcopclass +%{tde_libdir}/mcop/SplayPlayObject.mcopclass +%{tde_libdir}/mcop/WAVPlayObject.mcopclass + +%post -n trinity-libarts-mpeglib +/sbin/ldconfig + +%postun -n trinity-libarts-mpeglib +/sbin/ldconfig + +########## + +%if 0%{?with_xine} +%package -n trinity-libarts-xine +Summary: aRts plugin enabling xine support +Group: Environment/Libraries + +%description -n trinity-libarts-xine +This package contains aRts' xine plugin, allowing the use of the xine +multimedia engine though aRts. + +%files -n trinity-libarts-xine +%defattr(-,root,root,-) +%{tde_tdelibdir}/videothumbnail.la +%{tde_tdelibdir}/videothumbnail.so +%{tde_libdir}/libarts_xine.so.* +%{tde_libdir}/libarts_xine.la +%{tde_libdir}/mcop/xineAudioPlayObject.mcopclass +%{tde_libdir}/mcop/xineVideoPlayObject.mcopclass +%{tde_datadir}/apps/videothumbnail/sprocket-large.png +%{tde_datadir}/apps/videothumbnail/sprocket-medium.png +%{tde_datadir}/apps/videothumbnail/sprocket-small.png +%{tde_datadir}/services/videothumbnail.desktop + +%post -n trinity-libarts-xine +/sbin/ldconfig + +%postun -n trinity-libarts-xine +/sbin/ldconfig +%endif + +########## + +%package -n trinity-libkcddb +Summary: CDDB library for Trinity +Group: Environment/Libraries + +%description -n trinity-libkcddb +The Trinity native CDDB (CD Data Base) library, providing easy access to Audio +CD meta-information (track titles, artist information, etc.) from on-line +databases, for TDE applications. + +%files -n trinity-libkcddb +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcm_cddb.la +%{tde_tdelibdir}/kcm_cddb.so +%{tde_libdir}/libkcddb.so.* +%{tde_tdeappdir}/libkcddb.desktop +%{tde_datadir}/apps/kconf_update/kcmcddb-emailsettings.upd +%{tde_datadir}/config.kcfg/libkcddb.kcfg + +%post -n trinity-libkcddb +/sbin/ldconfig +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-libkcddb +/sbin/ldconfig +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-mpeglib +Summary: MP3 and MPEG-1 audio and video library +Group: Environment/Libraries +Requires: trinity-libarts-mpeglib = %{version}-%{release} + +%description -n trinity-mpeglib +mpeglib is a MPEG-1 and MP3 audio and video library. It supports +MPEG-1 audio (layers 1, 2, 3), MPEG-1 video, MPEG-1 system layer, +and WAV playback + +%files -n trinity-mpeglib +%defattr(-,root,root,-) +%{tde_bindir}/yaf-cdda +%{tde_bindir}/yaf-mpgplay +%{tde_bindir}/yaf-splay +%{tde_bindir}/yaf-tplay +%{tde_bindir}/yaf-vorbis +%{tde_bindir}/yaf-yuv +%{tde_libdir}/libmpeg-0.3.0.so +%{tde_libdir}/libyafcore.so +%{tde_libdir}/libyafxplayer.so + +%post -n trinity-mpeglib +/sbin/ldconfig + +%postun -n trinity-mpeglib +/sbin/ldconfig + +########## + +%package -n trinity-noatun +Summary: Media player for Trinity +Group: Applications/Multimedia + +# 20120802: Hack to avoid dependency issue on MGA2 and MDV2011 +%if 0%{?mgaversion} || 0%{?mdkversion} +Provides: devel(libnoatunarts) +Provides: devel(libnoatunarts(64bit)) +%endif + +%description -n trinity-noatun +Noatun is an aRts-based audio and video player for Trinity. It supports all +formats supported by your installation of aRts (including aRts plugins). + +%files -n trinity-noatun +%defattr(-,root,root,-) +%{tde_bindir}/noatun +%{tde_libdir}/kconf_update_bin/noatun20update +%{tde_tdelibdir}/noatun.la +%{tde_tdelibdir}/noatun.so +%{tde_tdelibdir}/noatun_dcopiface.la +%{tde_tdelibdir}/noatun_dcopiface.so +%{tde_tdelibdir}/noatun_excellent.la +%{tde_tdelibdir}/noatun_excellent.so +%{tde_tdelibdir}/noatun_htmlexport.la +%{tde_tdelibdir}/noatun_htmlexport.so +%{tde_tdelibdir}/noatun_infrared.la +%{tde_tdelibdir}/noatun_infrared.so +%{tde_tdelibdir}/noatun_kaiman.la +%{tde_tdelibdir}/noatun_kaiman.so +%{tde_tdelibdir}/noatun_keyz.la +%{tde_tdelibdir}/noatun_keyz.so +%{tde_tdelibdir}/noatun_kjofol.la +%{tde_tdelibdir}/noatun_kjofol.so +%{tde_tdelibdir}/noatun_marquis.la +%{tde_tdelibdir}/noatun_marquis.so +%{tde_tdelibdir}/noatun_metatag.la +%{tde_tdelibdir}/noatun_metatag.so +%{tde_tdelibdir}/noatun_monoscope.la +%{tde_tdelibdir}/noatun_monoscope.so +%{tde_tdelibdir}/noatun_net.la +%{tde_tdelibdir}/noatun_net.so +%{tde_tdelibdir}/noatun_splitplaylist.la +%{tde_tdelibdir}/noatun_splitplaylist.so +%{tde_tdelibdir}/noatun_systray.la +%{tde_tdelibdir}/noatun_systray.so +%{tde_tdelibdir}/noatun_ui.la +%{tde_tdelibdir}/noatun_ui.so +%{tde_tdelibdir}/noatun_voiceprint.la +%{tde_tdelibdir}/noatun_voiceprint.so +%{tde_tdelibdir}/noatun_winskin.la +%{tde_tdelibdir}/noatun_winskin.so +%{tde_tdelibdir}/noatunsimple.la +%{tde_tdelibdir}/noatunsimple.so +%{tde_libdir}/libartseffects.la +%{tde_libdir}/libartseffects.so +%{tde_libdir}/lib[kt]deinit_noatun.so +%{tde_libdir}/libnoatun.so.* +%{tde_libdir}/libnoatunarts.la +%{tde_libdir}/libnoatunarts.so +%{tde_libdir}/libnoatuncontrols.so.* +%{tde_libdir}/libnoatuntags.so.* +%{tde_libdir}/libwinskinvis.la +%{tde_libdir}/libwinskinvis.so +%{tde_libdir}/mcop/ExtraStereo.mcopclass +%{tde_libdir}/mcop/ExtraStereoGuiFactory.mcopclass +%{tde_libdir}/mcop/Noatun/ +%{tde_libdir}/mcop/RawWriter.mcopclass +%{tde_libdir}/mcop/VoiceRemoval.mcopclass +%{tde_libdir}/mcop/artseffects.mcopclass +%{tde_libdir}/mcop/artseffects.mcoptype +%{tde_libdir}/mcop/noatunarts.mcopclass +%{tde_libdir}/mcop/noatunarts.mcoptype +%{tde_libdir}/mcop/winskinvis.mcopclass +%{tde_libdir}/mcop/winskinvis.mcoptype +%{tde_tdeappdir}/noatun.desktop +%{tde_datadir}/apps/kconf_update/noatun.upd +%{tde_datadir}/apps/noatun/ +%{tde_datadir}/icons/hicolor/*/apps/noatun.png +%{tde_datadir}/mimelnk/interface/x-winamp-skin.desktop +%{tde_tdedocdir}/HTML/en/noatun/ + +%post -n trinity-noatun +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-noatun +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package devel +Summary: Development files for %{name}, aRts and noatun plugins +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: trinity-tdelibs-devel >= 3.5.13 + +Obsoletes: trinity-kdemultimedia-devel < %{version}-%{release} +Provides: trinity-kdemultimedia-devel = %{version}-%{release} + +%description devel +{summary}. + +Install %{name}-devel if you wish to develop or compile any +applications using aRtsbuilder, aRtsmidi, aRtskde, aRts modules or +noatun plugins. + +%files devel +%defattr(-,root,root,-) +%{tde_includedir}/* +%{tde_libdir}/libarts_akode.so +%{tde_libdir}/libarts_audiofile.so +%{tde_libdir}/libarts_mpeglib.so +%{tde_libdir}/libarts_splay.so +%{?with_xine:%{tde_libdir}/libarts_xine.so} +%{tde_libdir}/libartsbuilder.so +%{tde_libdir}/libartscontrolapplet.so +%{tde_libdir}/libartscontrolsupport.so +%{tde_libdir}/libartsgui.so +%{tde_libdir}/libartsgui_idl.so +%{tde_libdir}/libartsgui_kde.so +%{tde_libdir}/libartsmidi.so +%{tde_libdir}/libartsmidi_idl.so +%{tde_libdir}/libartsmodules.so +%{tde_libdir}/libartsmodulescommon.so +%{tde_libdir}/libartsmoduleseffects.so +%{tde_libdir}/libartsmodulesmixers.so +%{tde_libdir}/libartsmodulessynth.so +%{tde_libdir}/libaudiocdplugins.la +%{tde_libdir}/libaudiocdplugins.so +%{tde_libdir}/libkcddb.la +%{tde_libdir}/libkcddb.so +%{tde_libdir}/lib[kt]deinit_kmix.la +%{tde_libdir}/lib[kt]deinit_kmixctrl.la +%{tde_libdir}/lib[kt]deinit_krec.la +%{tde_libdir}/lib[kt]deinit_noatun.la +%{tde_libdir}/libkmidlib.la +%{tde_libdir}/libkmidlib.so +%{tde_libdir}/libmpeg.la +%{tde_libdir}/libmpeg.so +%{tde_libdir}/libnoatun.la +%{tde_libdir}/libnoatun.so +%{tde_libdir}/libnoatuncontrols.la +%{tde_libdir}/libnoatuncontrols.so +%{tde_libdir}/libnoatuntags.la +%{tde_libdir}/libnoatuntags.so +%{tde_libdir}/libyafcore.la +%{tde_libdir}/libyafxplayer.la + +%post devel +/sbin/ldconfig + +%postun devel +/sbin/ldconfig + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +# Specific path for RHEL4 +if [ -d "/usr/X11R6" ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_tdeincludedir} \ + --datadir=%{tde_datadir} \ + --enable-new-ldflags \ + --disable-dependency-tracking \ + --with-cdparanoia \ + --with-flac \ + --with-theora \ + --with-vorbis \ + --with-alsa \ + --with-gstreamer \ + --with-lame \ + --disable-debug \ + --disable-warnings \ + --enable-final \ + --disable-rpath \ + %{?_with_akode} %{!?_with_akode:--without-akode} \ + %{?_with_musicbrainz} %{!?_with_musicbrainz:--without-musicbrainz} \ + %{?_with_taglib} %{!?_with_taglib:--without-taglib} \ + %{?with_xine:--with-xine} %{!?with_xine:--without-xine} \ + --with-extra-includes="%{_includedir}/cdda:%{_includedir}/cddb:%{tde_includedir}/tqt:%{tde_tdeincludedir}/arts:%{tde_includedir}/artsc" \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{buildroot} + +# don't make these world-writeable +chmod go-w %{buildroot}%{tde_datadir}/apps/kscd/* + +# locale's +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi +done +fi + +# Moves the XDG configuration files to TDE directory +%__install -p -D -m644 \ + "%{?buildroot}%{_sysconfdir}/xdg/menus/applications-merged/kde-multimedia-music.menu" \ + "%{?buildroot}%{tde_prefix}/etc/xdg/menus/applications-merged/trinity-multimedia-music.menu" +%__rm -rf "%{?buildroot}%{_sysconfdir}/xdg" + + +%clean +%__rm -rf %{buildroot} + + +%changelog +* Mon Jun 17 2013 Francois Andriot - 3.5.13.2-2 +- Enable "LAME" support + +* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 +- Initial release for TDE 3.5.13.2 diff --git a/redhat/tdemultimedia/tdemultimedia-3.5.13.2.spec b/redhat/tdemultimedia/tdemultimedia-3.5.13.2.spec new file mode 100644 index 000000000..1e4b2a989 --- /dev/null +++ b/redhat/tdemultimedia/tdemultimedia-3.5.13.2.spec @@ -0,0 +1,1241 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +# former extras bits +%define _with_akode --with-akode +## not currently compatible with libtunepimp-0.5 (only libtunepimp-0.4) +#define _with_musicbrainz --with-musicbrainz +%define _with_taglib --with-taglib + +Name: trinity-tdemultimedia +Summary: Multimedia applications for the Trinity Desktop Environment (TDE) +Version: 3.5.13.2 +Release: %{?!preversion:2}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} + +License: GPLv2 +Group: Applications/Multimedia + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz + +Patch0: tdemultimedia-3.5.13.2-ftbfs.patch + +Obsoletes: trinity-kdemultimedia < %{version}-%{release} +Provides: trinity-kdemultimedia = %{version}-%{release} +Obsoletes: trinity-kdemultimedia-libs < %{version}-%{release} +Provides: trinity-kdemultimedia-libs = %{version}-%{release} +Obsoletes: trinity-kdemultimedia-extras < %{version}-%{release} +Provides: trinity-kdemultimedia-extras = %{version}-%{release} +Obsoletes: trinity-kdemultimedia-extras-libs < %{version}-%{release} +Provides: trinity-kdemultimedia-extras-libs = %{version}-%{release} + + +BuildRequires: autoconf automake libtool m4 +BuildRequires: qt3-devel +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} + +%if "%{?_with_akode}" != "" +BuildRequires: trinity-akode-devel +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} +BuildRequires: trinity-akode-libmad +%endif +%endif + +BuildRequires: desktop-file-utils +BuildRequires: zlib-devel + +# Audio libraries +BuildRequires: libvorbis-devel +BuildRequires: audiofile-devel +BuildRequires: libtheora-devel +BuildRequires: alsa-lib-devel +%{?_with_musicbrainz:BuildRequires: libmusicbrainz-devel libtunepimp-devel} +%{?_with_taglib:BuildRequires: taglib-devel} +BuildRequires: cdparanoia + +# CDDA support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: libcdda-devel +%endif +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +BuildRequires: cdparanoia-devel +%endif + +# FLAC support +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} +BuildRequires: libflac-devel +%else +BuildRequires: %{_lib}flac-devel +%endif +%endif +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +BuildRequires: flac-devel +%endif + +# GSTREAMER support +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} +BuildRequires: libgstreamer0.10-devel +%else +BuildRequires: %{_lib}gstreamer0.10-devel +%endif +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: gstreamer-devel +%endif +%if 0%{?suse_version} +BuildRequires: gstreamer-0_10-devel +%endif + +# X11 Libraries +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xxf86dga-devel +BuildRequires: %{_lib}xxf86vm-devel +BuildRequires: %{_lib}xtst%{?mgaversion:6}-devel +%endif +%if 0%{?rhel} == 4 +BuildRequires: xorg-x11-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 +BuildRequires: libXxf86dga-devel +BuildRequires: libXxf86vm-devel +BuildRequires: libXt-devel +%endif + +# XINE support +%if 0%{?fedora} || 0%{?rhel} >= 4 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_xine 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xine-devel +%endif +%if 0%{?fedora} || 0%{?rhel} +BuildRequires: xine-lib-devel +%endif +%if 0%{?suse_version} +BuildRequires: libxine-devel +%endif +%endif + +# LAME support +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} +%define with_lame 1 +%if 0%{?mgaversion} || 0%{?mdkversion} +%if 0%{?pclinuxos} +BuildRequires: liblame-devel +%else +BuildRequires: %{_lib}lame-devel +%endif +%endif +%if 0%{?suse_version} +BuildRequires: libmp3lame-devel +%endif +%if 0%{?fedora} || 0%{?rhel} +BuildRequires: lame-devel +%endif +%endif + +Requires: trinity-artsbuilder = %{version}-%{release} +Requires: trinity-juk = %{version}-%{release} +Requires: trinity-kaboodle = %{version}-%{release} +Requires: trinity-kaudiocreator = %{version}-%{release} +Requires: %{name}-kfile-plugins = %{version}-%{release} +Requires: %{name}-kappfinder-data = %{version}-%{release} +Requires: %{name}-tdeio-plugins = %{version}-%{release} +Requires: trinity-kmid = %{version}-%{release} +Requires: trinity-kmix = %{version}-%{release} +Requires: trinity-krec = %{version}-%{release} +Requires: trinity-kscd = %{version}-%{release} +Requires: trinity-libarts-akode = %{version}-%{release} +Requires: trinity-libarts-audiofile = %{version}-%{release} +Requires: trinity-libarts-mpeglib = %{version}-%{release} +%{?with_xine:Requires: trinity-libarts-xine = %{version}-%{release}} +Requires: trinity-libkcddb = %{version}-%{release} +Requires: trinity-mpeglib = %{version}-%{release} +Requires: trinity-noatun = %{version}-%{release} + + +%description +The Trinity Desktop Environment (TDE) is a GUI desktop for the X Window +System. The %{name} package contains multimedia applications for +TDE, including: + artsbuilder, Synthesizer designer for aRts + juk, a media player + kmid, a midi player + kmix, an audio mixer + arts, additional functionality for the aRts sound system + krec, a recording tool + kscd, an Audio-CD player + kaudiocreator, a graphical frontend for audio file creation + kaboodle, a media player + noatun, a media player + +%files + +########## + +%package -n trinity-artsbuilder +Summary: Synthesizer designer for aRts +Group: Applications/Multimedia + +%description -n trinity-artsbuilder +This is the analog Realtime synthesizer's graphical design tool. + +%files -n trinity-artsbuilder +%defattr(-,root,root,-) +%{tde_bindir}/artsbuilder +%{tde_bindir}/artscontrol +%{tde_bindir}/midisend +%{tde_libdir}/libartsbuilder.la +%{tde_libdir}/libartsbuilder.so.* +%{tde_libdir}/libartscontrolapplet.la +%{tde_libdir}/libartscontrolapplet.so.* +%{tde_libdir}/libartscontrolsupport.la +%{tde_libdir}/libartscontrolsupport.so.* +%{tde_libdir}/libartsgui_idl.la +%{tde_libdir}/libartsgui_idl.so.* +%{tde_libdir}/libartsgui_kde.la +%{tde_libdir}/libartsgui_kde.so.* +%{tde_libdir}/libartsgui.la +%{tde_libdir}/libartsgui.so.* +%{tde_libdir}/libartsmidi_idl.la +%{tde_libdir}/libartsmidi_idl.so.* +%{tde_libdir}/libartsmidi.la +%{tde_libdir}/libartsmidi.so.* +%{tde_libdir}/libartsmodulescommon.la +%{tde_libdir}/libartsmodulescommon.so.* +%{tde_libdir}/libartsmoduleseffects.la +%{tde_libdir}/libartsmoduleseffects.so.* +%{tde_libdir}/libartsmodulesmixers.la +%{tde_libdir}/libartsmodulesmixers.so.* +%{tde_libdir}/libartsmodules.la +%{tde_libdir}/libartsmodules.so.* +%{tde_libdir}/libartsmodulessynth.la +%{tde_libdir}/libartsmodulessynth.so.* +%{tde_libdir}/mcop/Arts/ArtsBuilderLoader.mcopclass +%{tde_libdir}/mcop/artsbuilder.mcopclass +%{tde_libdir}/mcop/artsbuilder.mcoptype +%{tde_libdir}/mcop/Arts/Button.mcopclass +%{tde_libdir}/mcop/Arts/EffectRackGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/Effect_WAVECAPTURE.mcopclass +%{tde_libdir}/mcop/Arts/Environment/Container.mcopclass +%{tde_libdir}/mcop/Arts/Environment/EffectRackItem.mcopclass +%{tde_libdir}/mcop/Arts/Environment/InstrumentItemGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/Environment/InstrumentItem.mcopclass +%{tde_libdir}/mcop/Arts/Environment/MixerItem.mcopclass +%{tde_libdir}/mcop/Arts/Fader.mcopclass +%{tde_libdir}/mcop/Arts/FiveBandMonoComplexEQGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/FiveBandMonoComplexEQ.mcopclass +%{tde_libdir}/mcop/Arts/FreeverbGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/GenericGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/GraphLine.mcopclass +%{tde_libdir}/mcop/artsgui.mcopclass +%{tde_libdir}/mcop/artsgui.mcoptype +%{tde_libdir}/mcop/Arts/HBox.mcopclass +%{tde_libdir}/mcop/Arts/Label.mcopclass +%{tde_libdir}/mcop/Arts/LayoutBox.mcopclass +%{tde_libdir}/mcop/Arts/LevelMeter.mcopclass +%{tde_libdir}/mcop/Arts/LineEdit.mcopclass +%{tde_libdir}/mcop/Arts/LittleStereoMixerChannelGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/LittleStereoMixerChannel.mcopclass +%{tde_libdir}/mcop/Arts/LocalFactory.mcopclass +%{tde_libdir}/mcop/Arts/MidiManager.mcopclass +%{tde_libdir}/mcop/artsmidi.mcopclass +%{tde_libdir}/mcop/artsmidi.mcoptype +%{tde_libdir}/mcop/Arts/MixerGuiFactory.mcopclass +%{tde_libdir}/mcop/artsmodulescommon.mcopclass +%{tde_libdir}/mcop/artsmodulescommon.mcoptype +%{tde_libdir}/mcop/artsmoduleseffects.mcopclass +%{tde_libdir}/mcop/artsmoduleseffects.mcoptype +%{tde_libdir}/mcop/artsmodules.mcopclass +%{tde_libdir}/mcop/artsmodules.mcoptype +%{tde_libdir}/mcop/artsmodulesmixers.mcopclass +%{tde_libdir}/mcop/artsmodulesmixers.mcoptype +%{tde_libdir}/mcop/artsmodulessynth.mcopclass +%{tde_libdir}/mcop/artsmodulessynth.mcoptype +%{tde_libdir}/mcop/Arts/MonoSimpleMixerChannelGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/MonoSimpleMixerChannel.mcopclass +%{tde_libdir}/mcop/Arts/MonoToStereo.mcopclass +%{tde_libdir}/mcop/Arts/PopupBox.mcopclass +%{tde_libdir}/mcop/Arts/Poti.mcopclass +%{tde_libdir}/mcop/Arts/SimpleMixerChannelGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/SimpleMixerChannel.mcopclass +%{tde_libdir}/mcop/Arts/SpinBox.mcopclass +%{tde_libdir}/mcop/Arts/StereoBalanceGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/StereoBalance.mcopclass +%{tde_libdir}/mcop/Arts/StereoCompressorGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/StereoFirEqualizerGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/StereoToMono.mcopclass +%{tde_libdir}/mcop/Arts/StereoVolumeControlGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/StereoVolumeControlGui.mcopclass +%{tde_libdir}/mcop/Arts/StructureBuilder.mcopclass +%{tde_libdir}/mcop/Arts/StructureDesc.mcopclass +%{tde_libdir}/mcop/Arts/Synth_ATAN_SATURATE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_AUTOPANNER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_BRICKWALL_LIMITER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_CAPTURE_WAV.mcopclass +%{tde_libdir}/mcop/Arts/Synth_CDELAY.mcopclass +%{tde_libdir}/mcop/Arts/Synth_COMPRESSOR.mcopclass +%{tde_libdir}/mcop/Arts/Synth_DATA.mcopclass +%{tde_libdir}/mcop/Arts/Synth_DEBUG.mcopclass +%{tde_libdir}/mcop/Arts/Synth_DELAY.mcopclass +%{tde_libdir}/mcop/Arts/Synth_DIV.mcopclass +%{tde_libdir}/mcop/Arts/Synth_ENVELOPE_ADSR.mcopclass +%{tde_libdir}/mcop/Arts/Synth_FM_SOURCE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_FREEVERB.mcopclass +%{tde_libdir}/mcop/Arts/Synth_FX_CFLANGER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_MIDI_DEBUG.mcopclass +%{tde_libdir}/mcop/Arts/Synth_MIDI_TEST.mcopclass +%{tde_libdir}/mcop/Arts/Synth_MOOG_VCF.mcopclass +%{tde_libdir}/mcop/Arts/Synth_NIL.mcopclass +%{tde_libdir}/mcop/Arts/Synth_NOISE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_OSC.mcopclass +%{tde_libdir}/mcop/Arts/Synth_PITCH_SHIFT_FFT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_PITCH_SHIFT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_PLAY_PAT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_PSCALE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_RC.mcopclass +%{tde_libdir}/mcop/Arts/Synth_SEQUENCE_FREQ.mcopclass +%{tde_libdir}/mcop/Arts/Synth_SEQUENCE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_SHELVE_CUTOFF.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STD_EQUALIZER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STEREO_COMPRESSOR.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STEREO_FIR_EQUALIZER.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STEREO_PITCH_SHIFT_FFT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_STEREO_PITCH_SHIFT.mcopclass +%{tde_libdir}/mcop/Arts/Synth_TREMOLO.mcopclass +%{tde_libdir}/mcop/Arts/Synth_VOICE_REMOVAL.mcopclass +%{tde_libdir}/mcop/Arts/Synth_WAVE_PULSE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_WAVE_SOFTSAW.mcopclass +%{tde_libdir}/mcop/Arts/Synth_WAVE_SQUARE.mcopclass +%{tde_libdir}/mcop/Arts/Synth_WAVE_TRI.mcopclass +%{tde_libdir}/mcop/Arts/Synth_XFADE.mcopclass +%{tde_libdir}/mcop/Arts/VBox.mcopclass +%{tde_libdir}/mcop/Arts/VoiceRemovalGuiFactory.mcopclass +%{tde_libdir}/mcop/Arts/Widget.mcopclass +%{tde_tdeappdir}/artsbuilder.desktop +%{tde_tdeappdir}/artscontrol.desktop +%{tde_datadir}/apps/artsbuilder/ +%{tde_datadir}/apps/artscontrol/ +%{tde_datadir}/apps/kicker/applets/artscontrolapplet.desktop +%{tde_datadir}/icons/crystalsvg/*/actions/artsaudiomanager.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsbuilderexecute.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsenvironment.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsfftscope.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsmediatypes.png +%{tde_datadir}/icons/crystalsvg/*/actions/artsmidimanager.png +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsaudiomanager.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsenvironment.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsfftscope.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsmediatypes.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/artsmidimanager.svgz +%{tde_datadir}/icons/hicolor/*/apps/artsbuilder.png +%{tde_datadir}/icons/hicolor/*/apps/artscontrol.png +%{tde_datadir}/icons/hicolor/scalable/apps/artsbuilder.svgz +%{tde_datadir}/icons/hicolor/scalable/apps/artscontrol.svgz +%{tde_datadir}/mimelnk/application/x-artsbuilder.desktop +%{tde_tdedocdir}/HTML/en/artsbuilder/ + +%post -n trinity-artsbuilder +/sbin/ldconfig +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-artsbuilder +/sbin/ldconfig +for f in crystalsvg hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-juk +Summary: Music organizer and player for Trinity +Group: Applications/Multimedia + +%description -n trinity-juk +JuK (pronounced "jook") is a jukebox and music manager for the TDE +desktop similar to jukebox software on other platforms such as +iTunes or RealOne. + +Some of JuK's features include: +* Support for Ogg Vorbis and MP3 formats +* Tag editing support for both formats, including ID3v2 for MP3 files. + Multitagging or editing a selection of multiple files at once is also + supported +* Output to either the aRts, default KDE sound system, or GStreamer +* Management of your "collection" and multiple playlists +* Import and export to m3u playlists +* Binary caching of audio meta-data and playlist information for faster + load times (starting with the second time you run JuK) +* Integration into TDE that allows drag-and-drop and clipboard usage + with other TDE and X apps + +%files -n trinity-juk +%defattr(-,root,root,-) +%{tde_bindir}/juk +%{tde_tdeappdir}/juk.desktop +%{tde_datadir}/apps/juk/ +%{tde_datadir}/apps/konqueror/servicemenus/jukservicemenu.desktop +%{tde_datadir}/icons/crystalsvg/*/actions/juk_dock.png +%{tde_datadir}/icons/hicolor/*/apps/juk.png +%{tde_tdedocdir}/HTML/en/juk/ + +%post -n trinity-juk +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-juk +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kaboodle +Summary: light, embedded media player for Trinity +Group: Applications/Multimedia + +%if 0%{?with_xine} +Requires: trinity-libarts-xine = %{version}-%{release} +%endif + +%description -n trinity-kaboodle +Kaboodle is a light, embedded media player, supporting both video and audio, +for TDE. It uses the aRts framework for playing media files. + +%files -n trinity-kaboodle +%defattr(-,root,root,-) +%{tde_bindir}/kaboodle +%{tde_tdelibdir}/libkaboodlepart.la +%{tde_tdelibdir}/libkaboodlepart.so +%{tde_tdeappdir}/kaboodle.desktop +%{tde_datadir}/apps/kaboodle/ +%{tde_datadir}/icons/hicolor/*/apps/kaboodle.png +%{tde_datadir}/services/kaboodle_component.desktop +%{tde_datadir}/services/kaboodleengine.desktop +%{tde_tdedocdir}/HTML/en/kaboodle/ + +%post -n trinity-kaboodle +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kaboodle +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kaudiocreator +Summary: CD ripper and audio encoder frontend for Trinity +Group: Applications/Multimedia + +Requires: %{name}-tdeio-plugins = %{version}-%{release} +Requires: vorbis-tools +Requires: flac + +%description -n trinity-kaudiocreator +KAudioCreator is a tool for audio extraction (ripping) and encoding. It can +keep your WAV files, or convert them to Ogg/Vorbis, MP3, or FLAC. It also +searches CDDB to retrieve the information of the disk. + +%files -n trinity-kaudiocreator +%defattr(-,root,root,-) +%{tde_bindir}/kaudiocreator +%{tde_tdeappdir}/kaudiocreator.desktop +%{tde_datadir}/apps/kaudiocreator/ +%{tde_datadir}/apps/kconf_update/kaudiocreator-libkcddb.upd +%{tde_datadir}/apps/kconf_update/kaudiocreator-meta.upd +%{tde_datadir}/apps/kconf_update/upgrade-kaudiocreator-metadata.sh +%{tde_datadir}/apps/konqueror/servicemenus/audiocd_extract.desktop +%{tde_datadir}/config.kcfg/kaudiocreator.kcfg +%{tde_datadir}/config.kcfg/kaudiocreator_encoders.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kaudiocreator.png +%{tde_datadir}/icons/locolor/*/apps/kaudiocreator.png +%{tde_tdedocdir}/HTML/en/kaudiocreator/ + +%post -n trinity-kaudiocreator +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kaudiocreator +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package kfile-plugins +Summary: au/avi/m3u/mp3/ogg/wav plugins for kfile +Group: Applications/Multimedia + +%description kfile-plugins +au/avi/m3u/mp3/ogg/wav file metainformation plugins for Trinity. + +%files kfile-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/kfile_au.la +%{tde_tdelibdir}/kfile_au.so +%{tde_tdelibdir}/kfile_avi.la +%{tde_tdelibdir}/kfile_avi.so +%{tde_tdelibdir}/kfile_flac.la +%{tde_tdelibdir}/kfile_flac.so +%{tde_tdelibdir}/kfile_m3u.la +%{tde_tdelibdir}/kfile_m3u.so +%{tde_tdelibdir}/kfile_mp3.la +%{tde_tdelibdir}/kfile_mp3.so +%{tde_tdelibdir}/kfile_mpc.la +%{tde_tdelibdir}/kfile_mpc.so +%{tde_tdelibdir}/kfile_mpeg.la +%{tde_tdelibdir}/kfile_mpeg.so +%{tde_tdelibdir}/kfile_ogg.la +%{tde_tdelibdir}/kfile_ogg.so +%{tde_tdelibdir}/kfile_sid.la +%{tde_tdelibdir}/kfile_sid.so +%{tde_tdelibdir}/kfile_theora.la +%{tde_tdelibdir}/kfile_theora.so +%{tde_tdelibdir}/kfile_wav.la +%{tde_tdelibdir}/kfile_wav.so +%{tde_datadir}/services/kfile_au.desktop +%{tde_datadir}/services/kfile_avi.desktop +%{tde_datadir}/services/kfile_flac.desktop +%{tde_datadir}/services/kfile_m3u.desktop +%{tde_datadir}/services/kfile_mp3.desktop +%{tde_datadir}/services/kfile_mpc.desktop +%{tde_datadir}/services/kfile_mpeg.desktop +%{tde_datadir}/services/kfile_ogg.desktop +%{tde_datadir}/services/kfile_sid.desktop +%{tde_datadir}/services/kfile_theora.desktop +%{tde_datadir}/services/kfile_wav.desktop + +########## + +%package kappfinder-data +Summary: multimedia data for kappfinder-trinity +Group: Applications/Multimedia + +Requires: trinity-kappfinder + +%description kappfinder-data +This package provides data on multimedia applications for kappfinder. + +%files kappfinder-data +%defattr(-,root,root,-) +%{tde_datadir}/apps/kappfinder/* +%{tde_datadir}/desktop-directories/[kt]de-multimedia-music.directory +%{tde_prefix}/etc/xdg/menus/applications-merged/trinity-multimedia-music.menu + +########## + +%package tdeio-plugins +Summary: Enables the browsing of audio CDs under Konqueror +Group: Applications/Multimedia + +Obsoletes: trinity-tdemultimedia-kio-plugins < %{version}-%{release} +Provides: trinity-tdemultimedia-kio-plugins = %{version}-%{release} + +%description tdeio-plugins +This package allow audio CDs to be browsed like a file system using +Konqueror and the audiocd:/ URL. + +%files tdeio-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcm_audiocd.la +%{tde_tdelibdir}/kcm_audiocd.so +%{tde_tdelibdir}/kio_audiocd.la +%{tde_tdelibdir}/kio_audiocd.so +%{tde_tdelibdir}/libaudiocd_encoder_flac.la +%{tde_tdelibdir}/libaudiocd_encoder_flac.so +%{tde_tdelibdir}/libaudiocd_encoder_lame.la +%{tde_tdelibdir}/libaudiocd_encoder_lame.so +%{tde_tdelibdir}/libaudiocd_encoder_vorbis.la +%{tde_tdelibdir}/libaudiocd_encoder_vorbis.so +%{tde_tdelibdir}/libaudiocd_encoder_wav.la +%{tde_tdelibdir}/libaudiocd_encoder_wav.so +%{tde_libdir}/libaudiocdplugins.so.* +%{tde_tdeappdir}/audiocd.desktop +%{tde_datadir}/apps/kconf_update/audiocd.upd +%{tde_datadir}/apps/kconf_update/upgrade-metadata.sh +%{tde_datadir}/config.kcfg/audiocd_lame_encoder.kcfg +%{tde_datadir}/config.kcfg/audiocd_vorbis_encoder.kcfg +%{tde_datadir}/services/audiocd.protocol +%{tde_tdedocdir}/HTML/en/kioslave/audiocd.docbook + +%post tdeio-plugins +/sbin/ldconfig +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun tdeio-plugins +/sbin/ldconfig +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kmid +Summary: MIDI/karaoke player for Trinity +Group: Applications/Multimedia + +%description -n trinity-kmid +This package provides a MIDI and karaoke player for TDE. + +%files -n trinity-kmid +%defattr(-,root,root,-) +%{tde_bindir}/kmid +%{tde_tdelibdir}/libkmidpart.la +%{tde_tdelibdir}/libkmidpart.so +%{tde_libdir}/libkmidlib.so.* +%{tde_tdeappdir}/kmid.desktop +%{tde_datadir}/apps/kmid/ +%{tde_datadir}/icons/hicolor/*/apps/kmid.png +%{tde_datadir}/mimelnk/audio/x-karaoke.desktop +%{tde_datadir}/servicetypes/audiomidi.desktop +%{tde_tdedocdir}/HTML/en/kmid/ + +%post -n trinity-kmid +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kmid +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kmix +Summary: Sound mixer applet for Trinity +Group: Applications/Multimedia + +%description -n trinity-kmix +This package includes TDE's dockable sound mixer applet. + +%files -n trinity-kmix +%defattr(-,root,root,-) +%{tde_bindir}/kmix +%{tde_bindir}/kmixctrl +%{tde_tdelibdir}/kmix.la +%{tde_tdelibdir}/kmix.so +%{tde_tdelibdir}/kmix_panelapplet.la +%{tde_tdelibdir}/kmix_panelapplet.so +%{tde_tdelibdir}/kmixctrl.la +%{tde_tdelibdir}/kmixctrl.so +%{tde_libdir}/lib[kt]deinit_kmix.so +%{tde_libdir}/lib[kt]deinit_kmixctrl.so +%{tde_tdeappdir}/kmix.desktop +%{tde_datadir}/apps/kicker/applets/kmixapplet.desktop +%{tde_datadir}/apps/kmix/ +%{tde_datadir}/autostart/kmix.desktop +%{tde_datadir}/autostart/restore_kmix_volumes.desktop +%{tde_datadir}/icons/hicolor/*/apps/kmix.png +%{tde_datadir}/services/kmixctrl_restore.desktop +%{tde_tdedocdir}/HTML/en/kmix/ + +%post -n trinity-kmix +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kmix +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-krec +Summary: Sound recorder utility for Trinity +Group: Applications/Multimedia + +%description -n trinity-krec +This is a sound recording utility for Trinity. + +%files -n trinity-krec +%defattr(-,root,root,-) +%{tde_bindir}/krec +%{tde_tdelibdir}/kcm_krec.la +%{tde_tdelibdir}/kcm_krec.so +%{tde_tdelibdir}/kcm_krec_files.la +%{tde_tdelibdir}/kcm_krec_files.so +%{tde_tdelibdir}/krec.la +%{tde_tdelibdir}/krec.so +%if %{?with_lame} +%{tde_tdelibdir}/libkrecexport_mp3.la +%{tde_tdelibdir}/libkrecexport_mp3.so +%{tde_datadir}/services/krec_exportmp3.desktop +%endif +%{tde_tdelibdir}/libkrecexport_ogg.la +%{tde_tdelibdir}/libkrecexport_ogg.so +%{tde_tdelibdir}/libkrecexport_wave.la +%{tde_tdelibdir}/libkrecexport_wave.so +%{tde_libdir}/lib[kt]deinit_krec.so +%{tde_tdeappdir}/krec.desktop +%{tde_datadir}/apps/krec/ +%{tde_datadir}/icons/hicolor/*/apps/krec.png +%{tde_datadir}/services/kcm_krec.desktop +%{tde_datadir}/services/kcm_krec_files.desktop +%{tde_datadir}/services/krec_exportogg.desktop +%{tde_datadir}/services/krec_exportwave.desktop +%{tde_datadir}/servicetypes/krec_exportitem.desktop +%{tde_tdedocdir}/HTML/en/krec/ + +%post -n trinity-krec +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-krec +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kscd +Summary: Audio CD player for Trinity +Group: Applications/Multimedia + +%description -n trinity-kscd +This is Trinity's audio CD player. + +%files -n trinity-kscd +%defattr(-,root,root,-) +%{tde_bindir}/kscd +%{tde_bindir}/workman2cddb.pl +%{tde_tdeappdir}/kscd.desktop +%{tde_datadir}/apps/konqueror/servicemenus/audiocd_play.desktop +%{tde_datadir}/apps/kscd/ +%{tde_datadir}/apps/profiles/kscd.profile.xml +%{tde_datadir}/config.kcfg/kscd.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kscd.png +%{tde_datadir}/mimelnk/text/xmcd.desktop +%{tde_tdedocdir}/HTML/en/kscd/ + +%post -n trinity-kscd +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kscd +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-libarts-akode +Summary: Akode plugin for aRts +Group: Environment/Libraries + +%description -n trinity-libarts-akode +This package contains akode plugins for aRts. + +%files -n trinity-libarts-akode +%defattr(-,root,root,-) +%{tde_libdir}/libarts_akode.so.* +%{tde_libdir}/libarts_akode.la +%{tde_libdir}/mcop/akodearts.mcoptype +%{tde_libdir}/mcop/akodearts.mcopclass +%{tde_libdir}/mcop/akodeMPCPlayObject.mcopclass +%{tde_libdir}/mcop/akodePlayObject.mcopclass +%{tde_libdir}/mcop/akodeSpeexStreamPlayObject.mcopclass +%{tde_libdir}/mcop/akodeVorbisStreamPlayObject.mcopclass +%{tde_libdir}/mcop/akodeXiphPlayObject.mcopclass + +# Requires MAD support +%{tde_libdir}/mcop/akodeMPEGPlayObject.mcopclass + +%post -n trinity-libarts-akode +/sbin/ldconfig + +%postun -n trinity-libarts-akode +/sbin/ldconfig + +########## + +%package -n trinity-libarts-audiofile +Summary: Audiofile plugin for aRts +Group: Environment/Libraries + +%description -n trinity-libarts-audiofile +This package contains audiofile plugins for aRts. + +%files -n trinity-libarts-audiofile +%defattr(-,root,root,-) +%{tde_libdir}/libarts_audiofile.so.* +%{tde_libdir}/libarts_audiofile.la +%{tde_libdir}/mcop/Arts/audiofilePlayObject.mcopclass +%{tde_libdir}/mcop/audiofilearts.mcopclass +%{tde_libdir}/mcop/audiofilearts.mcoptype + +%post -n trinity-libarts-audiofile +/sbin/ldconfig + +%postun -n trinity-libarts-audiofile +/sbin/ldconfig + +########## + +%package -n trinity-libarts-mpeglib +Summary: Mpeglib plugin for aRts, supporting mp3 and mpeg audio/video +Group: Environment/Libraries + +%description -n trinity-libarts-mpeglib +This package contains the mpeglib aRts plugin, supporting mp3 and mpeg +audio and video. + +This is the arts (TDE Sound daemon) plugin. + +%files -n trinity-libarts-mpeglib +%defattr(-,root,root,-) +%{tde_bindir}/mpeglibartsplay +%{tde_libdir}/libarts_mpeglib-0.3.0.so.* +%{tde_libdir}/libarts_mpeglib.la +%{tde_libdir}/libarts_splay.so.* +%{tde_libdir}/libarts_splay.la +%{tde_libdir}/mcop/CDDAPlayObject.mcopclass +%{tde_libdir}/mcop/MP3PlayObject.mcopclass +%{tde_libdir}/mcop/NULLPlayObject.mcopclass +%{tde_libdir}/mcop/OGGPlayObject.mcopclass +%{tde_libdir}/mcop/SplayPlayObject.mcopclass +%{tde_libdir}/mcop/WAVPlayObject.mcopclass + +%post -n trinity-libarts-mpeglib +/sbin/ldconfig + +%postun -n trinity-libarts-mpeglib +/sbin/ldconfig + +########## + +%if 0%{?with_xine} +%package -n trinity-libarts-xine +Summary: aRts plugin enabling xine support +Group: Environment/Libraries + +%description -n trinity-libarts-xine +This package contains aRts' xine plugin, allowing the use of the xine +multimedia engine though aRts. + +%files -n trinity-libarts-xine +%defattr(-,root,root,-) +%{tde_tdelibdir}/videothumbnail.la +%{tde_tdelibdir}/videothumbnail.so +%{tde_libdir}/libarts_xine.so.* +%{tde_libdir}/libarts_xine.la +%{tde_libdir}/mcop/xineAudioPlayObject.mcopclass +%{tde_libdir}/mcop/xineVideoPlayObject.mcopclass +%{tde_datadir}/apps/videothumbnail/sprocket-large.png +%{tde_datadir}/apps/videothumbnail/sprocket-medium.png +%{tde_datadir}/apps/videothumbnail/sprocket-small.png +%{tde_datadir}/services/videothumbnail.desktop + +%post -n trinity-libarts-xine +/sbin/ldconfig + +%postun -n trinity-libarts-xine +/sbin/ldconfig +%endif + +########## + +%package -n trinity-libkcddb +Summary: CDDB library for Trinity +Group: Environment/Libraries + +%description -n trinity-libkcddb +The Trinity native CDDB (CD Data Base) library, providing easy access to Audio +CD meta-information (track titles, artist information, etc.) from on-line +databases, for TDE applications. + +%files -n trinity-libkcddb +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcm_cddb.la +%{tde_tdelibdir}/kcm_cddb.so +%{tde_libdir}/libkcddb.so.* +%{tde_tdeappdir}/libkcddb.desktop +%{tde_datadir}/apps/kconf_update/kcmcddb-emailsettings.upd +%{tde_datadir}/config.kcfg/libkcddb.kcfg + +%post -n trinity-libkcddb +/sbin/ldconfig +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-libkcddb +/sbin/ldconfig +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-mpeglib +Summary: MP3 and MPEG-1 audio and video library +Group: Environment/Libraries +Requires: trinity-libarts-mpeglib = %{version}-%{release} + +%description -n trinity-mpeglib +mpeglib is a MPEG-1 and MP3 audio and video library. It supports +MPEG-1 audio (layers 1, 2, 3), MPEG-1 video, MPEG-1 system layer, +and WAV playback + +%files -n trinity-mpeglib +%defattr(-,root,root,-) +%{tde_bindir}/yaf-cdda +%{tde_bindir}/yaf-mpgplay +%{tde_bindir}/yaf-splay +%{tde_bindir}/yaf-tplay +%{tde_bindir}/yaf-vorbis +%{tde_bindir}/yaf-yuv +%{tde_libdir}/libmpeg-0.3.0.so +%{tde_libdir}/libyafcore.so +%{tde_libdir}/libyafxplayer.so + +%post -n trinity-mpeglib +/sbin/ldconfig + +%postun -n trinity-mpeglib +/sbin/ldconfig + +########## + +%package -n trinity-noatun +Summary: Media player for Trinity +Group: Applications/Multimedia + +# 20120802: Hack to avoid dependency issue on MGA2 and MDV2011 +%if 0%{?mgaversion} || 0%{?mdkversion} +Provides: devel(libnoatunarts) +Provides: devel(libnoatunarts(64bit)) +%endif + +%description -n trinity-noatun +Noatun is an aRts-based audio and video player for Trinity. It supports all +formats supported by your installation of aRts (including aRts plugins). + +%files -n trinity-noatun +%defattr(-,root,root,-) +%{tde_bindir}/noatun +%{tde_libdir}/kconf_update_bin/noatun20update +%{tde_tdelibdir}/noatun.la +%{tde_tdelibdir}/noatun.so +%{tde_tdelibdir}/noatun_dcopiface.la +%{tde_tdelibdir}/noatun_dcopiface.so +%{tde_tdelibdir}/noatun_excellent.la +%{tde_tdelibdir}/noatun_excellent.so +%{tde_tdelibdir}/noatun_htmlexport.la +%{tde_tdelibdir}/noatun_htmlexport.so +%{tde_tdelibdir}/noatun_infrared.la +%{tde_tdelibdir}/noatun_infrared.so +%{tde_tdelibdir}/noatun_kaiman.la +%{tde_tdelibdir}/noatun_kaiman.so +%{tde_tdelibdir}/noatun_keyz.la +%{tde_tdelibdir}/noatun_keyz.so +%{tde_tdelibdir}/noatun_kjofol.la +%{tde_tdelibdir}/noatun_kjofol.so +%{tde_tdelibdir}/noatun_marquis.la +%{tde_tdelibdir}/noatun_marquis.so +%{tde_tdelibdir}/noatun_metatag.la +%{tde_tdelibdir}/noatun_metatag.so +%{tde_tdelibdir}/noatun_monoscope.la +%{tde_tdelibdir}/noatun_monoscope.so +%{tde_tdelibdir}/noatun_net.la +%{tde_tdelibdir}/noatun_net.so +%{tde_tdelibdir}/noatun_splitplaylist.la +%{tde_tdelibdir}/noatun_splitplaylist.so +%{tde_tdelibdir}/noatun_systray.la +%{tde_tdelibdir}/noatun_systray.so +%{tde_tdelibdir}/noatun_ui.la +%{tde_tdelibdir}/noatun_ui.so +%{tde_tdelibdir}/noatun_voiceprint.la +%{tde_tdelibdir}/noatun_voiceprint.so +%{tde_tdelibdir}/noatun_winskin.la +%{tde_tdelibdir}/noatun_winskin.so +%{tde_tdelibdir}/noatunsimple.la +%{tde_tdelibdir}/noatunsimple.so +%{tde_libdir}/libartseffects.la +%{tde_libdir}/libartseffects.so +%{tde_libdir}/lib[kt]deinit_noatun.so +%{tde_libdir}/libnoatun.so.* +%{tde_libdir}/libnoatunarts.la +%{tde_libdir}/libnoatunarts.so +%{tde_libdir}/libnoatuncontrols.so.* +%{tde_libdir}/libnoatuntags.so.* +%{tde_libdir}/libwinskinvis.la +%{tde_libdir}/libwinskinvis.so +%{tde_libdir}/mcop/ExtraStereo.mcopclass +%{tde_libdir}/mcop/ExtraStereoGuiFactory.mcopclass +%{tde_libdir}/mcop/Noatun/ +%{tde_libdir}/mcop/RawWriter.mcopclass +%{tde_libdir}/mcop/VoiceRemoval.mcopclass +%{tde_libdir}/mcop/artseffects.mcopclass +%{tde_libdir}/mcop/artseffects.mcoptype +%{tde_libdir}/mcop/noatunarts.mcopclass +%{tde_libdir}/mcop/noatunarts.mcoptype +%{tde_libdir}/mcop/winskinvis.mcopclass +%{tde_libdir}/mcop/winskinvis.mcoptype +%{tde_tdeappdir}/noatun.desktop +%{tde_datadir}/apps/kconf_update/noatun.upd +%{tde_datadir}/apps/noatun/ +%{tde_datadir}/icons/hicolor/*/apps/noatun.png +%{tde_datadir}/mimelnk/interface/x-winamp-skin.desktop +%{tde_tdedocdir}/HTML/en/noatun/ + +%post -n trinity-noatun +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-noatun +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package devel +Summary: Development files for %{name}, aRts and noatun plugins +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: trinity-tdelibs-devel >= 3.5.13 + +Obsoletes: trinity-kdemultimedia-devel < %{version}-%{release} +Provides: trinity-kdemultimedia-devel = %{version}-%{release} + +%description devel +{summary}. + +Install %{name}-devel if you wish to develop or compile any +applications using aRtsbuilder, aRtsmidi, aRtskde, aRts modules or +noatun plugins. + +%files devel +%defattr(-,root,root,-) +%{tde_includedir}/* +%{tde_libdir}/libarts_akode.so +%{tde_libdir}/libarts_audiofile.so +%{tde_libdir}/libarts_mpeglib.so +%{tde_libdir}/libarts_splay.so +%{?with_xine:%{tde_libdir}/libarts_xine.so} +%{tde_libdir}/libartsbuilder.so +%{tde_libdir}/libartscontrolapplet.so +%{tde_libdir}/libartscontrolsupport.so +%{tde_libdir}/libartsgui.so +%{tde_libdir}/libartsgui_idl.so +%{tde_libdir}/libartsgui_kde.so +%{tde_libdir}/libartsmidi.so +%{tde_libdir}/libartsmidi_idl.so +%{tde_libdir}/libartsmodules.so +%{tde_libdir}/libartsmodulescommon.so +%{tde_libdir}/libartsmoduleseffects.so +%{tde_libdir}/libartsmodulesmixers.so +%{tde_libdir}/libartsmodulessynth.so +%{tde_libdir}/libaudiocdplugins.la +%{tde_libdir}/libaudiocdplugins.so +%{tde_libdir}/libkcddb.la +%{tde_libdir}/libkcddb.so +%{tde_libdir}/lib[kt]deinit_kmix.la +%{tde_libdir}/lib[kt]deinit_kmixctrl.la +%{tde_libdir}/lib[kt]deinit_krec.la +%{tde_libdir}/lib[kt]deinit_noatun.la +%{tde_libdir}/libkmidlib.la +%{tde_libdir}/libkmidlib.so +%{tde_libdir}/libmpeg.la +%{tde_libdir}/libmpeg.so +%{tde_libdir}/libnoatun.la +%{tde_libdir}/libnoatun.so +%{tde_libdir}/libnoatuncontrols.la +%{tde_libdir}/libnoatuncontrols.so +%{tde_libdir}/libnoatuntags.la +%{tde_libdir}/libnoatuntags.so +%{tde_libdir}/libyafcore.la +%{tde_libdir}/libyafxplayer.la + +%post devel +/sbin/ldconfig + +%postun devel +/sbin/ldconfig + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +%patch0 -p1 -b .ftbfs + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" + +# Required for some distro +export KDEDIRS="%{tde_prefix}" + +# Specific path for RHEL4 +if [ -d "/usr/X11R6" ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_tdeincludedir} \ + --datadir=%{tde_datadir} \ + --enable-new-ldflags \ + --disable-dependency-tracking \ + --with-cdparanoia \ + --with-flac \ + --with-theora \ + --with-vorbis \ + --with-alsa \ + --with-gstreamer \ + --with-lame \ + --disable-debug \ + --disable-warnings \ + --enable-final \ + --disable-rpath \ + %{?_with_akode} %{!?_with_akode:--without-akode} \ + %{?_with_musicbrainz} %{!?_with_musicbrainz:--without-musicbrainz} \ + %{?_with_taglib} %{!?_with_taglib:--without-taglib} \ + %{?with_xine:--with-xine} %{!?with_xine:--without-xine} \ + --with-extra-includes="%{_includedir}/cdda:%{_includedir}/cddb:%{tde_includedir}/tqt:%{tde_tdeincludedir}/arts:%{tde_includedir}/artsc" \ + --enable-closure + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{buildroot} + +# don't make these world-writeable +chmod go-w %{buildroot}%{tde_datadir}/apps/kscd/* + +# locale's +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi +done +fi + +# Moves the XDG configuration files to TDE directory +%__install -p -D -m644 \ + "%{?buildroot}%{_sysconfdir}/xdg/menus/applications-merged/kde-multimedia-music.menu" \ + "%{?buildroot}%{tde_prefix}/etc/xdg/menus/applications-merged/trinity-multimedia-music.menu" +%__rm -rf "%{?buildroot}%{_sysconfdir}/xdg" + + +%clean +%__rm -rf %{buildroot} + + +%changelog +* Mon Jun 17 2013 Francois Andriot - 3.5.13.2-2 +- Enable "LAME" support + +* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 +- Initial release for TDE 3.5.13.2 diff --git a/redhat/tdemultimedia/trinity-kdemultimedia-3.5.12.spec b/redhat/tdemultimedia/trinity-kdemultimedia-3.5.12.spec deleted file mode 100644 index e7dd20564..000000000 --- a/redhat/tdemultimedia/trinity-kdemultimedia-3.5.12.spec +++ /dev/null @@ -1,396 +0,0 @@ -# Default version for this component -%if "%{?version}" == "" -%define version 3.5.12 -%endif -%define release 2 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_includedir %{_includedir}/kde -%define tde_libdir %{_libdir}/kde3 - - -%define appdir %{_datadir}/applications/kde - -# former extras bits -#define _with_akode --with-akode -## not currently compatible with libtunepimp-0.5 (only libtunepimp-0.4) -#define _with_musicbrainz --with-musicbrainz -%define _with_taglib --with-taglib -%define _with_xine --with-xine - -Name: trinity-kdemultimedia -Summary: Multimedia applications for the K Desktop Environment (KDE) -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} - -License: GPLv2 -Group: Applications/Multimedia - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: kdemultimedia-%{version}.tar.gz - -Provides: kdemultimedia3 = %{version}-%{release} - -# RedHat Legacy patches (from Fedora 8) -Patch3: kdemultimedia-3.4.0-xdg.patch -Patch5: kdemultimedia-3.5.7-pthread.patch - -Provides: kdemultimedia3 = %{version}-%{release} - -Requires: %{name}-libs = %{version}-%{release} - -BuildRequires: zlib-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: libvorbis-devel -BuildRequires: audiofile-devel -BuildRequires: desktop-file-utils -BuildRequires: libtheora-devel -BuildRequires: flac-devel -BuildRequires: alsa-lib-devel -BuildRequires: cdparanoia-devel cdparanoia -BuildRequires: gstreamer-devel -BuildRequires: automake libtool -%{?_with_akode:BuildRequires: akode-devel} -%{?_with_musicbrainz:BuildRequires: libmusicbrainz-devel libtunepimp-devel} -%{?_with_taglib:BuildRequires: taglib-devel} -%{?_with_xine:BuildRequires: xine-lib-devel} -BuildRequires: libXxf86dga-devel -BuildRequires: libXxf86vm-devel - -%description -The K Desktop Environment (KDE) is a GUI desktop for the X Window -System. The %{name} package contains multimedia applications for -KDE, including: - kmid, a midi player - kmix, an audio mixer - arts, additional functionality for the aRts sound system - krec, a recording tool - kscd, an Audio-CD player - kaudiocreator, a graphical frontend for audio file creation - -%package devel -Summary: Development files for %{name}, aRts and noatun plugins -Group: Development/Libraries -Provides: kdemultimedia3-devel = %{version}-%{release} -Requires: %{name}-libs = %{version}-%{release} -# for noatun shlib(s) -Requires: %{name}-extras-libs = %{version}-%{release} -Requires: trinity-kdelibs-devel -%description devel -{summary}. -Install %{name}-devel if you wish to develop or compile any -applications using aRtsbuilder, aRtsmidi, aRtskde, aRts modules or -noatun plugins. - -%package extras -Summary: Extra applications from %{name} -Group: Applications/Multimedia -Requires: %{name}-extras-libs = %{version}-%{release} -%description extras -%{summary}, including: - * juk, a media player - * kaboodle, a media player - * noatun, a media player - -%package extras-libs -Summary: Extra %{name} runtime libraries -Group: System Environment/Libraries -Requires: %{name}-libs = %{version}-%{release} -%description extras-libs -%{summary}. - -%package libs -Summary: %{name} runtime libraries -Group: System Environment/Libraries -Requires: trinity-kdelibs -# include to be paranoid, installing libs-only is still mostly untested -- Rex -Requires: %{name} = %{version}-%{release} -%description libs -%{summary}. - - -%prep -%setup -q -n kdemultimedia -%patch3 -p1 -b .xdg -%patch5 -p1 -b .pthread - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -%if 0%{?fedora} > 0 -export CXXFLAGS="${CXXFLAGS} -lDCOP" -%endif - -%configure \ - --enable-new-ldflags \ - --disable-dependency-tracking \ - --includedir=%{tde_includedir} \ - --with-cdparanoia \ - --with-flac \ - --with-theora \ - --with-vorbis \ - --with-alsa \ - --with-gstreamer \ - --without-lame \ - --disable-debug \ - --disable-warnings \ - --enable-final \ - --disable-rpath \ - %{?_with_akode} %{!?_with_akode:--without-akode} \ - %{?_with_musicbrainz} %{!?_with_musicbrainz:--without-musicbrainz} \ - %{?_with_taglib} %{!?_with_taglib:--without-taglib} \ - %{?_with_xine} %{!?_with_xine:--without-xine} \ - --with-extra-includes=%{_usr}/include/cdda:%{_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{?buildroot} - -%__make install DESTDIR=%{?buildroot} -%__make install DESTDIR=%{?buildroot} -C kaudiocreator - -## Remove/uninstall (conflicting) bits we don't want -%__rm -f $RPM_BUILD_ROOT%{_libdir}/mcop/akode*MPEGPlayObject.mcopclass - -# only show in KDE, really? -- Rex (FIXME) -for f in %{buildroot}%{appdir}/*.desktop ; do - if [ -f %{buildroot}%{appdir}/*.desktop ] ; then - echo "OnlyShowIn=KDE;" >> $f - fi -done - -# don't make these world-writeable -chmod go-w %{buildroot}%{_datadir}/apps/kscd/* - -# locale's -%find_lang %{name} || touch %{name}.lang -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common - done - popd - fi -done -fi - -# rpmdocs -for dir in k* ; do - for file in AUTHORS ChangeLog README TODO ; do - if test -s "$dir/$file" ; then - install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file" - # exclude kaboodle, juk, noatun - if [ $dir != kaboodle -a $dir != juk -a $dir != noatun ] ; then - echo "%doc rpmdocs/$dir/" >> %{name}.lang - fi - fi - done -done - - -%post -/sbin/ldconfig -for f in crystalsvg hicolor locolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -/sbin/ldconfig -for f in crystalsvg hicolor locolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%post libs -/sbin/ldconfig - -%postun libs -/sbin/ldconfig - -%post extras-libs -/sbin/ldconfig - -%postun extras-libs -/sbin/ldconfig - -%post extras -/sbin/ldconfig -for f in crystalsvg hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun extras -/sbin/ldconfig -for f in crystalsvg hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - - -%clean -%__rm -rf %{buildroot} - - -%files extras -%defattr(-,root,root,-) - -# kaboodle -%doc rpmdocs/kaboodle/ -%doc %lang(en) %{_docdir}/HTML/en/kaboodle/ -%{_bindir}/kaboodle -%{tde_libdir}/libkaboodlepart.* -%{_datadir}/applications/kde/kaboodle.desktop -%{_datadir}/apps/kaboodle/ -%{_datadir}/icons/hicolor/*/apps/kaboodle.png -%{_datadir}/services/kaboodle* - -# noatun -%doc %lang(en) %{_docdir}/HTML/en/noatun/ -%{_bindir}/noatun -%{_libdir}/kconf_update_bin/noatun20update -%{tde_libdir}/noatun* -%{_libdir}/libartseffects.* -%{_libdir}/libwinskinvis.* -%{_libdir}/libkdeinit_noatun.* -%{_datadir}/applications/kde/noatun.desktop -%{_datadir}/apps/kconf_update/noatun.upd -%{_datadir}/apps/noatun/ -%{_datadir}/icons/hicolor/*/apps/noatun.png -%{_datadir}/mimelnk/interface/x-winamp-skin.desktop - -# juk -%doc %lang(en) %{_docdir}/HTML/en/juk/ -%{_bindir}/juk -%{_datadir}/applications/kde/juk.desktop -%{_datadir}/apps/juk/ -%{_datadir}/apps/konqueror/servicemenus/jukservicemenu.desktop -%{_datadir}/icons/crystalsvg/*/*/juk* -%{_datadir}/icons/hicolor/*/apps/juk.png - -%files extras-libs -%defattr(-,root,root,-) -%{_libdir}/libnoatun*.la -%{_libdir}/libnoatun*.so.* -%{_libdir}/libnoatunarts.so - -%files -f %{name}.lang -%defattr(-,root,root,-) -%doc COPYING - -# kaboodle -%exclude %{tde_docdir}/HTML/en/kaboodle/ -%exclude %{_bindir}/kaboodle -%exclude %{tde_libdir}/libkaboodlepart.* -%exclude %{_datadir}/applications/kde/kaboodle.desktop -%exclude %{_datadir}/apps/kaboodle/ -%exclude %{_datadir}/icons/hicolor/*/apps/kaboodle.png -%exclude %{_datadir}/services/kaboodle* - -# noatun -%exclude %{tde_docdir}/HTML/en/noatun/ -%exclude %{_bindir}/noatun -%exclude %{_libdir}/kconf_update_bin/noatun20update -%exclude %{tde_libdir}/noatun* -%exclude %{_libdir}/libartseffects.* -%exclude %{_libdir}/libkdeinit_noatun.* -%exclude %{_libdir}/libnoatunarts.* -%exclude %{_libdir}/libnoatuncontrols.* -%exclude %{_libdir}/libnoatun.* -%exclude %{_libdir}/libnoatuntags.* -%exclude %{_libdir}/libwinskinvis.* -%exclude %{_datadir}/applications/kde/noatun.desktop -%exclude %{_datadir}/apps/kconf_update/noatun.upd -%exclude %{_datadir}/apps/noatun/ -%exclude %{_datadir}/icons/hicolor/*/apps/noatun.png -%exclude %{_datadir}/mimelnk/interface/x-winamp-skin.desktop - -# juk -%exclude %{tde_docdir}/HTML/en/juk/ -%exclude %{_bindir}/juk -%exclude %{_datadir}/applications/kde/juk.desktop -%exclude %{_datadir}/apps/juk/ -%exclude %{_datadir}/apps/konqueror/servicemenus/jukservicemenu.desktop -%exclude %{_datadir}/icons/crystalsvg/*/*/juk* -%exclude %{_datadir}/icons/hicolor/*/apps/juk.png - -/etc/xdg/menus/applications-merged/* -%{_libdir}/mcop/* -%{_libdir}/libkdeinit_*.so -#%{_libdir}/liboggarts.so -%{tde_libdir}/* -%{_libdir}/kconf_update_bin/* -%{_bindir}/* -%{_datadir}/applications/kde/* -%{_datadir}/apps/* -%{_datadir}/autostart/* -%{_datadir}/config.kcfg/* -%{_datadir}/desktop-directories/* -%{_datadir}/icons/crystalsvg/*/*/* -%{_datadir}/icons/hicolor/*/*/* -%{_datadir}/icons/locolor/*/*/* -%{_datadir}/mimelnk/* -%{_datadir}/services/* -%{_datadir}/servicetypes/* - -%files libs -%defattr(-,root,root,-) -%exclude %{_libdir}/libnoatun*.* -%{_libdir}/lib*.so.* -%{_libdir}/lib*.la - - -%files devel -%defattr(-,root,root,-) -%{tde_includedir}/* -%{_libdir}/lib*.so -%exclude %{_libdir}/libkdeinit_*.so -%exclude %{_libdir}/libartseffects.so -%exclude %{_libdir}/libnoatunarts.* -#exclude %{_libdir}/liboggarts.so -%exclude %{_libdir}/libwinskinvis.so - - -%changelog -* Mon Sep 19 2011 Francois Andriot - 3.5.12-2 -- Add support for RHEL5 - -* Sat Sep 09 2011 Francois Andriot - 3.5.12-1 -- Initial build for RHEL 6 -- Spec file based on Fedora 8 "kdemultimedia-6:3.5.10-2" diff --git a/redhat/tdemultimedia/trinity-kdemultimedia-3.5.13.1.spec b/redhat/tdemultimedia/trinity-kdemultimedia-3.5.13.1.spec deleted file mode 100644 index 3bd093778..000000000 --- a/redhat/tdemultimedia/trinity-kdemultimedia-3.5.13.1.spec +++ /dev/null @@ -1,1185 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -# former extras bits -%define _with_akode --with-akode -## not currently compatible with libtunepimp-0.5 (only libtunepimp-0.4) -#define _with_musicbrainz --with-musicbrainz -%define _with_taglib --with-taglib - -Name: trinity-tdemultimedia -Summary: Multimedia applications for the Trinity Desktop Environment (TDE) -Version: 3.5.13.1 -Release: 1%{?dist}%{?_variant} - -License: GPLv2 -Group: Applications/Multimedia - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: kdemultimedia-%{version}.tar.gz - - -# RedHat Legacy patches (from Fedora 8) -Patch3: kdemultimedia-3.4.0-xdg.patch -Patch5: kdemultimedia-3.5.7-pthread.patch - - -Obsoletes: trinity-kdemultimedia < %{version}-%{release} -Provides: trinity-kdemultimedia = %{version}-%{release} -Obsoletes: trinity-kdemultimedia-libs < %{version}-%{release} -Provides: trinity-kdemultimedia-libs = %{version}-%{release} -Obsoletes: trinity-kdemultimedia-extras < %{version}-%{release} -Provides: trinity-kdemultimedia-extras = %{version}-%{release} -Obsoletes: trinity-kdemultimedia-extras-libs < %{version}-%{release} -Provides: trinity-kdemultimedia-extras-libs = %{version}-%{release} - - -BuildRequires: autoconf automake libtool m4 -BuildRequires: qt3-devel -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-arts-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} -%{?_with_akode:BuildRequires: trinity-akode-devel} - -BuildRequires: desktop-file-utils -BuildRequires: zlib-devel - -# Audio libraries -BuildRequires: libvorbis-devel -BuildRequires: audiofile-devel -BuildRequires: libtheora-devel -BuildRequires: alsa-lib-devel -%{?_with_musicbrainz:BuildRequires: libmusicbrainz-devel libtunepimp-devel} -%{?_with_taglib:BuildRequires: taglib-devel} -BuildRequires: cdparanoia - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}gstreamer0.10-devel -BuildRequires: %{_lib}flac-devel -BuildRequires: libcdda-devel -%else -BuildRequires: gstreamer-devel -BuildRequires: flac-devel -BuildRequires: cdparanoia-devel -%endif - -# X11 Libraries -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xxf86dga-devel -BuildRequires: %{_lib}xxf86vm-devel -BuildRequires: %{_lib}xtst-devel -%endif -%if 0%{?rhel} == 4 -BuildRequires: xorg-x11-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} -BuildRequires: libXxf86dga-devel -BuildRequires: libXxf86vm-devel -BuildRequires: libXt-devel -%endif - -# XINE support -%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_xine 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xine-devel -%endif -%if 0%{?fedora} || 0%{?rhel} -BuildRequires: xine-lib-devel -%endif -%if 0%{?suse_version} >= 1220 -BuildRequires: libxine-devel -%endif -%endif - -Requires: trinity-artsbuilder = %{version}-%{release} -Requires: trinity-juk = %{version}-%{release} -Requires: trinity-kaboodle = %{version}-%{release} -Requires: trinity-kaudiocreator = %{version}-%{release} -Requires: %{name}-kfile-plugins = %{version}-%{release} -Requires: %{name}-kappfinder-data = %{version}-%{release} -Requires: %{name}-kio-plugins = %{version}-%{release} -Requires: trinity-kmid = %{version}-%{release} -Requires: trinity-kmix = %{version}-%{release} -Requires: trinity-krec = %{version}-%{release} -Requires: trinity-kscd = %{version}-%{release} -Requires: trinity-libarts-akode = %{version}-%{release} -Requires: trinity-libarts-audiofile = %{version}-%{release} -Requires: trinity-libarts-mpeglib = %{version}-%{release} -%{?with_xine:Requires: trinity-libarts-xine = %{version}-%{release}} -Requires: trinity-libkcddb = %{version}-%{release} -Requires: trinity-mpeglib = %{version}-%{release} -Requires: trinity-noatun = %{version}-%{release} - - -%description -The Trinity Desktop Environment (TDE) is a GUI desktop for the X Window -System. The %{name} package contains multimedia applications for -TDE, including: - artsbuilder, Synthesizer designer for aRts - juk, a media player - kmid, a midi player - kmix, an audio mixer - arts, additional functionality for the aRts sound system - krec, a recording tool - kscd, an Audio-CD player - kaudiocreator, a graphical frontend for audio file creation - kaboodle, a media player - noatun, a media player - -%files - -########## - -%package -n trinity-artsbuilder -Summary: Synthesizer designer for aRts -Group: Applications/Multimedia - -%description -n trinity-artsbuilder -This is the analog Realtime synthesizer's graphical design tool. - -%files -n trinity-artsbuilder -%defattr(-,root,root,-) -%{tde_bindir}/artsbuilder -%{tde_bindir}/artscontrol -%{tde_bindir}/midisend -%{tde_libdir}/libartsbuilder.la -%{tde_libdir}/libartsbuilder.so.* -%{tde_libdir}/libartscontrolapplet.la -%{tde_libdir}/libartscontrolapplet.so.* -%{tde_libdir}/libartscontrolsupport.la -%{tde_libdir}/libartscontrolsupport.so.* -%{tde_libdir}/libartsgui_idl.la -%{tde_libdir}/libartsgui_idl.so.* -%{tde_libdir}/libartsgui_kde.la -%{tde_libdir}/libartsgui_kde.so.* -%{tde_libdir}/libartsgui.la -%{tde_libdir}/libartsgui.so.* -%{tde_libdir}/libartsmidi_idl.la -%{tde_libdir}/libartsmidi_idl.so.* -%{tde_libdir}/libartsmidi.la -%{tde_libdir}/libartsmidi.so.* -%{tde_libdir}/libartsmodulescommon.la -%{tde_libdir}/libartsmodulescommon.so.* -%{tde_libdir}/libartsmoduleseffects.la -%{tde_libdir}/libartsmoduleseffects.so.* -%{tde_libdir}/libartsmodulesmixers.la -%{tde_libdir}/libartsmodulesmixers.so.* -%{tde_libdir}/libartsmodules.la -%{tde_libdir}/libartsmodules.so.* -%{tde_libdir}/libartsmodulessynth.la -%{tde_libdir}/libartsmodulessynth.so.* -%{tde_libdir}/mcop/Arts/ArtsBuilderLoader.mcopclass -%{tde_libdir}/mcop/artsbuilder.mcopclass -%{tde_libdir}/mcop/artsbuilder.mcoptype -%{tde_libdir}/mcop/Arts/Button.mcopclass -%{tde_libdir}/mcop/Arts/EffectRackGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/Effect_WAVECAPTURE.mcopclass -%{tde_libdir}/mcop/Arts/Environment/Container.mcopclass -%{tde_libdir}/mcop/Arts/Environment/EffectRackItem.mcopclass -%{tde_libdir}/mcop/Arts/Environment/InstrumentItemGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/Environment/InstrumentItem.mcopclass -%{tde_libdir}/mcop/Arts/Environment/MixerItem.mcopclass -%{tde_libdir}/mcop/Arts/Fader.mcopclass -%{tde_libdir}/mcop/Arts/FiveBandMonoComplexEQGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/FiveBandMonoComplexEQ.mcopclass -%{tde_libdir}/mcop/Arts/FreeverbGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/GenericGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/GraphLine.mcopclass -%{tde_libdir}/mcop/artsgui.mcopclass -%{tde_libdir}/mcop/artsgui.mcoptype -%{tde_libdir}/mcop/Arts/HBox.mcopclass -%{tde_libdir}/mcop/Arts/Label.mcopclass -%{tde_libdir}/mcop/Arts/LayoutBox.mcopclass -%{tde_libdir}/mcop/Arts/LevelMeter.mcopclass -%{tde_libdir}/mcop/Arts/LineEdit.mcopclass -%{tde_libdir}/mcop/Arts/LittleStereoMixerChannelGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/LittleStereoMixerChannel.mcopclass -%{tde_libdir}/mcop/Arts/LocalFactory.mcopclass -%{tde_libdir}/mcop/Arts/MidiManager.mcopclass -%{tde_libdir}/mcop/artsmidi.mcopclass -%{tde_libdir}/mcop/artsmidi.mcoptype -%{tde_libdir}/mcop/Arts/MixerGuiFactory.mcopclass -%{tde_libdir}/mcop/artsmodulescommon.mcopclass -%{tde_libdir}/mcop/artsmodulescommon.mcoptype -%{tde_libdir}/mcop/artsmoduleseffects.mcopclass -%{tde_libdir}/mcop/artsmoduleseffects.mcoptype -%{tde_libdir}/mcop/artsmodules.mcopclass -%{tde_libdir}/mcop/artsmodules.mcoptype -%{tde_libdir}/mcop/artsmodulesmixers.mcopclass -%{tde_libdir}/mcop/artsmodulesmixers.mcoptype -%{tde_libdir}/mcop/artsmodulessynth.mcopclass -%{tde_libdir}/mcop/artsmodulessynth.mcoptype -%{tde_libdir}/mcop/Arts/MonoSimpleMixerChannelGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/MonoSimpleMixerChannel.mcopclass -%{tde_libdir}/mcop/Arts/MonoToStereo.mcopclass -%{tde_libdir}/mcop/Arts/PopupBox.mcopclass -%{tde_libdir}/mcop/Arts/Poti.mcopclass -%{tde_libdir}/mcop/Arts/SimpleMixerChannelGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/SimpleMixerChannel.mcopclass -%{tde_libdir}/mcop/Arts/SpinBox.mcopclass -%{tde_libdir}/mcop/Arts/StereoBalanceGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/StereoBalance.mcopclass -%{tde_libdir}/mcop/Arts/StereoCompressorGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/StereoFirEqualizerGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/StereoToMono.mcopclass -%{tde_libdir}/mcop/Arts/StereoVolumeControlGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/StereoVolumeControlGui.mcopclass -%{tde_libdir}/mcop/Arts/StructureBuilder.mcopclass -%{tde_libdir}/mcop/Arts/StructureDesc.mcopclass -%{tde_libdir}/mcop/Arts/Synth_ATAN_SATURATE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_AUTOPANNER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_BRICKWALL_LIMITER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_CAPTURE_WAV.mcopclass -%{tde_libdir}/mcop/Arts/Synth_CDELAY.mcopclass -%{tde_libdir}/mcop/Arts/Synth_COMPRESSOR.mcopclass -%{tde_libdir}/mcop/Arts/Synth_DATA.mcopclass -%{tde_libdir}/mcop/Arts/Synth_DEBUG.mcopclass -%{tde_libdir}/mcop/Arts/Synth_DELAY.mcopclass -%{tde_libdir}/mcop/Arts/Synth_DIV.mcopclass -%{tde_libdir}/mcop/Arts/Synth_ENVELOPE_ADSR.mcopclass -%{tde_libdir}/mcop/Arts/Synth_FM_SOURCE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_FREEVERB.mcopclass -%{tde_libdir}/mcop/Arts/Synth_FX_CFLANGER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_MIDI_DEBUG.mcopclass -%{tde_libdir}/mcop/Arts/Synth_MIDI_TEST.mcopclass -%{tde_libdir}/mcop/Arts/Synth_MOOG_VCF.mcopclass -%{tde_libdir}/mcop/Arts/Synth_NIL.mcopclass -%{tde_libdir}/mcop/Arts/Synth_NOISE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_OSC.mcopclass -%{tde_libdir}/mcop/Arts/Synth_PITCH_SHIFT_FFT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_PITCH_SHIFT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_PLAY_PAT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_PSCALE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_RC.mcopclass -%{tde_libdir}/mcop/Arts/Synth_SEQUENCE_FREQ.mcopclass -%{tde_libdir}/mcop/Arts/Synth_SEQUENCE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_SHELVE_CUTOFF.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STD_EQUALIZER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STEREO_COMPRESSOR.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STEREO_FIR_EQUALIZER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STEREO_PITCH_SHIFT_FFT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STEREO_PITCH_SHIFT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_TREMOLO.mcopclass -%{tde_libdir}/mcop/Arts/Synth_VOICE_REMOVAL.mcopclass -%{tde_libdir}/mcop/Arts/Synth_WAVE_PULSE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_WAVE_SOFTSAW.mcopclass -%{tde_libdir}/mcop/Arts/Synth_WAVE_SQUARE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_WAVE_TRI.mcopclass -%{tde_libdir}/mcop/Arts/Synth_XFADE.mcopclass -%{tde_libdir}/mcop/Arts/VBox.mcopclass -%{tde_libdir}/mcop/Arts/VoiceRemovalGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/Widget.mcopclass -%{tde_tdeappdir}/artsbuilder.desktop -%{tde_tdeappdir}/artscontrol.desktop -%{tde_datadir}/apps/artsbuilder/ -%{tde_datadir}/apps/artscontrol/ -%{tde_datadir}/apps/kicker/applets/artscontrolapplet.desktop -%{tde_datadir}/icons/crystalsvg/*/actions/artsaudiomanager.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsbuilderexecute.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsenvironment.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsfftscope.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsmediatypes.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsmidimanager.png -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsaudiomanager.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsenvironment.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsfftscope.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsmediatypes.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsmidimanager.svgz -%{tde_datadir}/icons/hicolor/*/apps/artsbuilder.png -%{tde_datadir}/icons/hicolor/*/apps/artscontrol.png -%{tde_datadir}/icons/hicolor/scalable/apps/artsbuilder.svgz -%{tde_datadir}/icons/hicolor/scalable/apps/artscontrol.svgz -%{tde_datadir}/mimelnk/application/x-artsbuilder.desktop -%{tde_tdedocdir}/HTML/en/artsbuilder/ - -%post -n trinity-artsbuilder -/sbin/ldconfig -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-artsbuilder -/sbin/ldconfig -for f in crystalsvg hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-juk -Summary: Music organizer and player for Trinity -Group: Applications/Multimedia - -%description -n trinity-juk -JuK (pronounced "jook") is a jukebox and music manager for the TDE -desktop similar to jukebox software on other platforms such as -iTunes or RealOne. - -Some of JuK's features include: -* Support for Ogg Vorbis and MP3 formats -* Tag editing support for both formats, including ID3v2 for MP3 files. - Multitagging or editing a selection of multiple files at once is also - supported -* Output to either the aRts, default KDE sound system, or GStreamer -* Management of your "collection" and multiple playlists -* Import and export to m3u playlists -* Binary caching of audio meta-data and playlist information for faster - load times (starting with the second time you run JuK) -* Integration into TDE that allows drag-and-drop and clipboard usage - with other TDE and X apps - -%files -n trinity-juk -%defattr(-,root,root,-) -%{tde_bindir}/juk -%{tde_tdeappdir}/juk.desktop -%{tde_datadir}/apps/juk/ -%{tde_datadir}/apps/konqueror/servicemenus/jukservicemenu.desktop -%{tde_datadir}/icons/crystalsvg/*/actions/juk_dock.png -%{tde_datadir}/icons/hicolor/*/apps/juk.png -%{tde_tdedocdir}/HTML/en/juk/ - -%post -n trinity-juk -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-juk -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kaboodle -Summary: light, embedded media player for Trinity -Group: Applications/Multimedia - -%if 0%{?with_xine} -Requires: trinity-libarts-xine = %{version}-%{release} -%endif - -%description -n trinity-kaboodle -Kaboodle is a light, embedded media player, supporting both video and audio, -for TDE. It uses the aRts framework for playing media files. - -%files -n trinity-kaboodle -%defattr(-,root,root,-) -%{tde_bindir}/kaboodle -%{tde_tdelibdir}/libkaboodlepart.la -%{tde_tdelibdir}/libkaboodlepart.so -%{tde_tdeappdir}/kaboodle.desktop -%{tde_datadir}/apps/kaboodle/ -%{tde_datadir}/icons/hicolor/*/apps/kaboodle.png -%{tde_datadir}/services/kaboodle_component.desktop -%{tde_datadir}/services/kaboodleengine.desktop -%{tde_tdedocdir}/HTML/en/kaboodle/ - -%post -n trinity-kaboodle -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kaboodle -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kaudiocreator -Summary: CD ripper and audio encoder frontend for Trinity -Group: Applications/Multimedia - -Requires: %{name}-kio-plugins = %{version}-%{release} -Requires: vorbis-tools -Requires: flac - -%description -n trinity-kaudiocreator -KAudioCreator is a tool for audio extraction (ripping) and encoding. It can -keep your WAV files, or convert them to Ogg/Vorbis, MP3, or FLAC. It also -searches CDDB to retrieve the information of the disk. - -%files -n trinity-kaudiocreator -%defattr(-,root,root,-) -%{tde_bindir}/kaudiocreator -%{tde_tdeappdir}/kaudiocreator.desktop -%{tde_datadir}/apps/kaudiocreator/ -%{tde_datadir}/apps/kconf_update/kaudiocreator-libkcddb.upd -%{tde_datadir}/apps/kconf_update/kaudiocreator-meta.upd -%{tde_datadir}/apps/kconf_update/upgrade-kaudiocreator-metadata.sh -%{tde_datadir}/apps/konqueror/servicemenus/audiocd_extract.desktop -%{tde_datadir}/config.kcfg/kaudiocreator.kcfg -%{tde_datadir}/config.kcfg/kaudiocreator_encoders.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kaudiocreator.png -%{tde_datadir}/icons/locolor/*/apps/kaudiocreator.png -%{tde_tdedocdir}/HTML/en/kaudiocreator/ - -%post -n trinity-kaudiocreator -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kaudiocreator -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package kfile-plugins -Summary: au/avi/m3u/mp3/ogg/wav plugins for kfile -Group: Applications/Multimedia - -%description kfile-plugins -au/avi/m3u/mp3/ogg/wav file metainformation plugins for Trinity. - -%files kfile-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/kfile_au.la -%{tde_tdelibdir}/kfile_au.so -%{tde_tdelibdir}/kfile_avi.la -%{tde_tdelibdir}/kfile_avi.so -%{tde_tdelibdir}/kfile_flac.la -%{tde_tdelibdir}/kfile_flac.so -%{tde_tdelibdir}/kfile_m3u.la -%{tde_tdelibdir}/kfile_m3u.so -%{tde_tdelibdir}/kfile_mp3.la -%{tde_tdelibdir}/kfile_mp3.so -%{tde_tdelibdir}/kfile_mpc.la -%{tde_tdelibdir}/kfile_mpc.so -%{tde_tdelibdir}/kfile_mpeg.la -%{tde_tdelibdir}/kfile_mpeg.so -%{tde_tdelibdir}/kfile_ogg.la -%{tde_tdelibdir}/kfile_ogg.so -%{tde_tdelibdir}/kfile_sid.la -%{tde_tdelibdir}/kfile_sid.so -%{tde_tdelibdir}/kfile_theora.la -%{tde_tdelibdir}/kfile_theora.so -%{tde_tdelibdir}/kfile_wav.la -%{tde_tdelibdir}/kfile_wav.so -%{tde_datadir}/services/kfile_au.desktop -%{tde_datadir}/services/kfile_avi.desktop -%{tde_datadir}/services/kfile_flac.desktop -%{tde_datadir}/services/kfile_m3u.desktop -%{tde_datadir}/services/kfile_mp3.desktop -%{tde_datadir}/services/kfile_mpc.desktop -%{tde_datadir}/services/kfile_mpeg.desktop -%{tde_datadir}/services/kfile_ogg.desktop -%{tde_datadir}/services/kfile_sid.desktop -%{tde_datadir}/services/kfile_theora.desktop -%{tde_datadir}/services/kfile_wav.desktop - -########## - -%package kappfinder-data -Summary: multimedia data for kappfinder-trinity -Group: Applications/Multimedia - -Requires: trinity-kappfinder - -%description kappfinder-data -This package provides data on multimedia applications for kappfinder. - -%files kappfinder-data -%defattr(-,root,root,-) -%{tde_datadir}/apps/kappfinder/* -%{tde_datadir}/desktop-directories/[kt]de-multimedia-music.directory -%{tde_prefix}/etc/xdg/menus/applications-merged/trinity-multimedia-music.menu - -########## - -%package kio-plugins -Summary: Enables the browsing of audio CDs under Konqueror -Group: Applications/Multimedia - -%description kio-plugins -This package allow audio CDs to be browsed like a file system using -Konqueror and the audiocd:/ URL. - -%files kio-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_audiocd.la -%{tde_tdelibdir}/kcm_audiocd.so -%{tde_tdelibdir}/kio_audiocd.la -%{tde_tdelibdir}/kio_audiocd.so -%{tde_tdelibdir}/libaudiocd_encoder_flac.la -%{tde_tdelibdir}/libaudiocd_encoder_flac.so -%{tde_tdelibdir}/libaudiocd_encoder_lame.la -%{tde_tdelibdir}/libaudiocd_encoder_lame.so -%{tde_tdelibdir}/libaudiocd_encoder_vorbis.la -%{tde_tdelibdir}/libaudiocd_encoder_vorbis.so -%{tde_tdelibdir}/libaudiocd_encoder_wav.la -%{tde_tdelibdir}/libaudiocd_encoder_wav.so -%{tde_libdir}/libaudiocdplugins.so.* -%{tde_tdeappdir}/audiocd.desktop -%{tde_datadir}/apps/kconf_update/audiocd.upd -%{tde_datadir}/apps/kconf_update/upgrade-metadata.sh -%{tde_datadir}/config.kcfg/audiocd_lame_encoder.kcfg -%{tde_datadir}/config.kcfg/audiocd_vorbis_encoder.kcfg -%{tde_datadir}/services/audiocd.protocol -%{tde_tdedocdir}/HTML/en/kioslave/audiocd.docbook - -%post kio-plugins -/sbin/ldconfig -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun kio-plugins -/sbin/ldconfig -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kmid -Summary: MIDI/karaoke player for Trinity -Group: Applications/Multimedia - -%description -n trinity-kmid -This package provides a MIDI and karaoke player for TDE. - -%files -n trinity-kmid -%defattr(-,root,root,-) -%{tde_bindir}/kmid -%{tde_tdelibdir}/libkmidpart.la -%{tde_tdelibdir}/libkmidpart.so -%{tde_libdir}/libkmidlib.so.* -%{tde_tdeappdir}/kmid.desktop -%{tde_datadir}/apps/kmid/ -%{tde_datadir}/icons/hicolor/*/apps/kmid.png -%{tde_datadir}/mimelnk/audio/x-karaoke.desktop -%{tde_datadir}/servicetypes/audiomidi.desktop -%{tde_tdedocdir}/HTML/en/kmid/ - -%post -n trinity-kmid -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kmid -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kmix -Summary: Sound mixer applet for Trinity -Group: Applications/Multimedia - -%description -n trinity-kmix -This package includes TDE's dockable sound mixer applet. - -%files -n trinity-kmix -%defattr(-,root,root,-) -%{tde_bindir}/kmix -%{tde_bindir}/kmixctrl -%{tde_tdelibdir}/kmix.la -%{tde_tdelibdir}/kmix.so -%{tde_tdelibdir}/kmix_panelapplet.la -%{tde_tdelibdir}/kmix_panelapplet.so -%{tde_tdelibdir}/kmixctrl.la -%{tde_tdelibdir}/kmixctrl.so -%{tde_libdir}/lib[kt]deinit_kmix.so -%{tde_libdir}/lib[kt]deinit_kmixctrl.so -%{tde_tdeappdir}/kmix.desktop -%{tde_datadir}/apps/kicker/applets/kmixapplet.desktop -%{tde_datadir}/apps/kmix/ -%{tde_datadir}/autostart/kmix.desktop -%{tde_datadir}/autostart/restore_kmix_volumes.desktop -%{tde_datadir}/icons/hicolor/*/apps/kmix.png -%{tde_datadir}/services/kmixctrl_restore.desktop -%{tde_tdedocdir}/HTML/en/kmix/ - -%post -n trinity-kmix -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kmix -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-krec -Summary: Sound recorder utility for Trinity -Group: Applications/Multimedia - -%description -n trinity-krec -This is a sound recording utility for Trinity. - -%files -n trinity-krec -%defattr(-,root,root,-) -%{tde_bindir}/krec -%{tde_tdelibdir}/kcm_krec.la -%{tde_tdelibdir}/kcm_krec.so -%{tde_tdelibdir}/kcm_krec_files.la -%{tde_tdelibdir}/kcm_krec_files.so -%{tde_tdelibdir}/krec.la -%{tde_tdelibdir}/krec.so -%{tde_tdelibdir}/libkrecexport_ogg.la -%{tde_tdelibdir}/libkrecexport_ogg.so -%{tde_tdelibdir}/libkrecexport_wave.la -%{tde_tdelibdir}/libkrecexport_wave.so -%{tde_libdir}/lib[kt]deinit_krec.so -%{tde_tdeappdir}/krec.desktop -%{tde_datadir}/apps/krec/ -%{tde_datadir}/icons/hicolor/*/apps/krec.png -%{tde_datadir}/services/kcm_krec.desktop -%{tde_datadir}/services/kcm_krec_files.desktop -%{tde_datadir}/services/krec_exportogg.desktop -%{tde_datadir}/services/krec_exportwave.desktop -%{tde_datadir}/servicetypes/krec_exportitem.desktop -%{tde_tdedocdir}/HTML/en/krec/ - -%post -n trinity-krec -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-krec -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kscd -Summary: Audio CD player for Trinity -Group: Applications/Multimedia - -%description -n trinity-kscd -This is Trinity's audio CD player. - -%files -n trinity-kscd -%defattr(-,root,root,-) -%{tde_bindir}/kscd -%{tde_bindir}/workman2cddb.pl -%{tde_tdeappdir}/kscd.desktop -%{tde_datadir}/apps/konqueror/servicemenus/audiocd_play.desktop -%{tde_datadir}/apps/kscd/ -%{tde_datadir}/apps/profiles/kscd.profile.xml -%{tde_datadir}/config.kcfg/kscd.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kscd.png -%{tde_datadir}/mimelnk/text/xmcd.desktop -%{tde_tdedocdir}/HTML/en/kscd/ - -%post -n trinity-kscd -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kscd -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-libarts-akode -Summary: Akode plugin for aRts -Group: Environment/Libraries - -%description -n trinity-libarts-akode -This package contains akode plugins for aRts. - -%files -n trinity-libarts-akode -%defattr(-,root,root,-) -%{tde_libdir}/libarts_akode.so.* -%{tde_libdir}/libarts_akode.la -%{tde_libdir}/mcop/akodearts.mcoptype -%{tde_libdir}/mcop/akodearts.mcopclass -%{tde_libdir}/mcop/akodeMPCPlayObject.mcopclass -%{tde_libdir}/mcop/akodePlayObject.mcopclass -%{tde_libdir}/mcop/akodeSpeexStreamPlayObject.mcopclass -%{tde_libdir}/mcop/akodeVorbisStreamPlayObject.mcopclass -%{tde_libdir}/mcop/akodeXiphPlayObject.mcopclass - -# -devel - -%post -n trinity-libarts-akode -/sbin/ldconfig - -%postun -n trinity-libarts-akode -/sbin/ldconfig - -########## - -%package -n trinity-libarts-audiofile -Summary: Audiofile plugin for aRts -Group: Environment/Libraries - -%description -n trinity-libarts-audiofile -This package contains audiofile plugins for aRts. - -%files -n trinity-libarts-audiofile -%defattr(-,root,root,-) -%{tde_libdir}/libarts_audiofile.so.* -%{tde_libdir}/libarts_audiofile.la -%{tde_libdir}/mcop/Arts/audiofilePlayObject.mcopclass -%{tde_libdir}/mcop/audiofilearts.mcopclass -%{tde_libdir}/mcop/audiofilearts.mcoptype - -%post -n trinity-libarts-audiofile -/sbin/ldconfig - -%postun -n trinity-libarts-audiofile -/sbin/ldconfig - -########## - -%package -n trinity-libarts-mpeglib -Summary: Mpeglib plugin for aRts, supporting mp3 and mpeg audio/video -Group: Environment/Libraries - -%description -n trinity-libarts-mpeglib -This package contains the mpeglib aRts plugin, supporting mp3 and mpeg -audio and video. - -This is the arts (TDE Sound daemon) plugin. - -%files -n trinity-libarts-mpeglib -%defattr(-,root,root,-) -%{tde_bindir}/mpeglibartsplay -%{tde_libdir}/libarts_mpeglib-0.3.0.so.* -%{tde_libdir}/libarts_mpeglib.la -%{tde_libdir}/libarts_splay.so.* -%{tde_libdir}/libarts_splay.la -%{tde_libdir}/mcop/CDDAPlayObject.mcopclass -%{tde_libdir}/mcop/MP3PlayObject.mcopclass -%{tde_libdir}/mcop/NULLPlayObject.mcopclass -%{tde_libdir}/mcop/OGGPlayObject.mcopclass -%{tde_libdir}/mcop/SplayPlayObject.mcopclass -%{tde_libdir}/mcop/WAVPlayObject.mcopclass - -%post -n trinity-libarts-mpeglib -/sbin/ldconfig - -%postun -n trinity-libarts-mpeglib -/sbin/ldconfig - -########## - -%if 0%{?with_xine} -%package -n trinity-libarts-xine -Summary: aRts plugin enabling xine support -Group: Environment/Libraries - -%description -n trinity-libarts-xine -This package contains aRts' xine plugin, allowing the use of the xine -multimedia engine though aRts. - -%files -n trinity-libarts-xine -%defattr(-,root,root,-) -%{tde_tdelibdir}/videothumbnail.la -%{tde_tdelibdir}/videothumbnail.so -%{tde_libdir}/libarts_xine.so.* -%{tde_libdir}/libarts_xine.la -%{tde_libdir}/mcop/xineAudioPlayObject.mcopclass -%{tde_libdir}/mcop/xineVideoPlayObject.mcopclass -%{tde_datadir}/apps/videothumbnail/sprocket-large.png -%{tde_datadir}/apps/videothumbnail/sprocket-medium.png -%{tde_datadir}/apps/videothumbnail/sprocket-small.png -%{tde_datadir}/services/videothumbnail.desktop - -%post -n trinity-libarts-xine -/sbin/ldconfig - -%postun -n trinity-libarts-xine -/sbin/ldconfig -%endif - -########## - -%package -n trinity-libkcddb -Summary: CDDB library for Trinity -Group: Environment/Libraries - -%description -n trinity-libkcddb -The Trinity native CDDB (CD Data Base) library, providing easy access to Audio -CD meta-information (track titles, artist information, etc.) from on-line -databases, for TDE applications. - -%files -n trinity-libkcddb -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_cddb.la -%{tde_tdelibdir}/kcm_cddb.so -%{tde_libdir}/libkcddb.so.* -%{tde_tdeappdir}/libkcddb.desktop -%{tde_datadir}/apps/kconf_update/kcmcddb-emailsettings.upd -%{tde_datadir}/config.kcfg/libkcddb.kcfg - -%post -n trinity-libkcddb -/sbin/ldconfig -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-libkcddb -/sbin/ldconfig -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-mpeglib -Summary: MP3 and MPEG-1 audio and video library -Group: Environment/Libraries -Requires: trinity-libarts-mpeglib = %{version}-%{release} - -%description -n trinity-mpeglib -mpeglib is a MPEG-1 and MP3 audio and video library. It supports -MPEG-1 audio (layers 1, 2, 3), MPEG-1 video, MPEG-1 system layer, -and WAV playback - -%files -n trinity-mpeglib -%defattr(-,root,root,-) -%{tde_bindir}/yaf-cdda -%{tde_bindir}/yaf-mpgplay -%{tde_bindir}/yaf-splay -%{tde_bindir}/yaf-tplay -%{tde_bindir}/yaf-vorbis -%{tde_bindir}/yaf-yuv -%{tde_libdir}/libmpeg-0.3.0.so -%{tde_libdir}/libyafcore.so -%{tde_libdir}/libyafxplayer.so - -%post -n trinity-mpeglib -/sbin/ldconfig - -%postun -n trinity-mpeglib -/sbin/ldconfig - -########## - -%package -n trinity-noatun -Summary: Media player for Trinity -Group: Applications/Multimedia - -# 20120802: Hack to avoir dependency issue on MGA2 and MDV2011 -%if 0%{?mgaversion} || 0%{?mdkversion} -Provides: devel(libnoatunarts) -Provides: devel(libnoatunarts(64bit)) -%endif - -%description -n trinity-noatun -Noatun is an aRts-based audio and video player for Trinity. It supports all -formats supported by your installation of aRts (including aRts plugins). - -%files -n trinity-noatun -%defattr(-,root,root,-) -%{tde_bindir}/noatun -%{tde_libdir}/kconf_update_bin/noatun20update -%{tde_tdelibdir}/noatun.la -%{tde_tdelibdir}/noatun.so -%{tde_tdelibdir}/noatun_dcopiface.la -%{tde_tdelibdir}/noatun_dcopiface.so -%{tde_tdelibdir}/noatun_excellent.la -%{tde_tdelibdir}/noatun_excellent.so -%{tde_tdelibdir}/noatun_htmlexport.la -%{tde_tdelibdir}/noatun_htmlexport.so -%{tde_tdelibdir}/noatun_infrared.la -%{tde_tdelibdir}/noatun_infrared.so -%{tde_tdelibdir}/noatun_kaiman.la -%{tde_tdelibdir}/noatun_kaiman.so -%{tde_tdelibdir}/noatun_keyz.la -%{tde_tdelibdir}/noatun_keyz.so -%{tde_tdelibdir}/noatun_kjofol.la -%{tde_tdelibdir}/noatun_kjofol.so -%{tde_tdelibdir}/noatun_marquis.la -%{tde_tdelibdir}/noatun_marquis.so -%{tde_tdelibdir}/noatun_metatag.la -%{tde_tdelibdir}/noatun_metatag.so -%{tde_tdelibdir}/noatun_monoscope.la -%{tde_tdelibdir}/noatun_monoscope.so -%{tde_tdelibdir}/noatun_net.la -%{tde_tdelibdir}/noatun_net.so -%{tde_tdelibdir}/noatun_splitplaylist.la -%{tde_tdelibdir}/noatun_splitplaylist.so -%{tde_tdelibdir}/noatun_systray.la -%{tde_tdelibdir}/noatun_systray.so -%{tde_tdelibdir}/noatun_ui.la -%{tde_tdelibdir}/noatun_ui.so -%{tde_tdelibdir}/noatun_voiceprint.la -%{tde_tdelibdir}/noatun_voiceprint.so -%{tde_tdelibdir}/noatun_winskin.la -%{tde_tdelibdir}/noatun_winskin.so -%{tde_tdelibdir}/noatunsimple.la -%{tde_tdelibdir}/noatunsimple.so -%{tde_libdir}/libartseffects.la -%{tde_libdir}/libartseffects.so -%{tde_libdir}/lib[kt]deinit_noatun.so -%{tde_libdir}/libnoatun.so.* -%{tde_libdir}/libnoatunarts.la -%{tde_libdir}/libnoatunarts.so -%{tde_libdir}/libnoatuncontrols.so.* -%{tde_libdir}/libnoatuntags.so.* -%{tde_libdir}/libwinskinvis.la -%{tde_libdir}/libwinskinvis.so -%{tde_libdir}/mcop/ExtraStereo.mcopclass -%{tde_libdir}/mcop/ExtraStereoGuiFactory.mcopclass -%{tde_libdir}/mcop/Noatun/ -%{tde_libdir}/mcop/RawWriter.mcopclass -%{tde_libdir}/mcop/VoiceRemoval.mcopclass -%{tde_libdir}/mcop/artseffects.mcopclass -%{tde_libdir}/mcop/artseffects.mcoptype -%{tde_libdir}/mcop/noatunarts.mcopclass -%{tde_libdir}/mcop/noatunarts.mcoptype -%{tde_libdir}/mcop/winskinvis.mcopclass -%{tde_libdir}/mcop/winskinvis.mcoptype -%{tde_tdeappdir}/noatun.desktop -%{tde_datadir}/apps/kconf_update/noatun.upd -%{tde_datadir}/apps/noatun/ -%{tde_datadir}/icons/hicolor/*/apps/noatun.png -%{tde_datadir}/mimelnk/interface/x-winamp-skin.desktop -%{tde_tdedocdir}/HTML/en/noatun/ - -%post -n trinity-noatun -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-noatun -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package devel -Summary: Development files for %{name}, aRts and noatun plugins -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} -Requires: trinity-tdelibs-devel >= 3.5.13 - -Obsoletes: trinity-kdemultimedia-devel < %{version}-%{release} -Provides: trinity-kdemultimedia-devel = %{version}-%{release} - -%description devel -{summary}. - -Install %{name}-devel if you wish to develop or compile any -applications using aRtsbuilder, aRtsmidi, aRtskde, aRts modules or -noatun plugins. - -%files devel -%defattr(-,root,root,-) -%{tde_includedir}/* -%{tde_libdir}/libarts_akode.so -%{tde_libdir}/libarts_audiofile.so -%{tde_libdir}/libarts_mpeglib.so -%{tde_libdir}/libarts_splay.so -%{?with_xine:%{tde_libdir}/libarts_xine.so} -%{tde_libdir}/libartsbuilder.so -%{tde_libdir}/libartscontrolapplet.so -%{tde_libdir}/libartscontrolsupport.so -%{tde_libdir}/libartsgui.so -%{tde_libdir}/libartsgui_idl.so -%{tde_libdir}/libartsgui_kde.so -%{tde_libdir}/libartsmidi.so -%{tde_libdir}/libartsmidi_idl.so -%{tde_libdir}/libartsmodules.so -%{tde_libdir}/libartsmodulescommon.so -%{tde_libdir}/libartsmoduleseffects.so -%{tde_libdir}/libartsmodulesmixers.so -%{tde_libdir}/libartsmodulessynth.so -%{tde_libdir}/libaudiocdplugins.la -%{tde_libdir}/libaudiocdplugins.so -%{tde_libdir}/libkcddb.la -%{tde_libdir}/libkcddb.so -%{tde_libdir}/lib[kt]deinit_kmix.la -%{tde_libdir}/lib[kt]deinit_kmixctrl.la -%{tde_libdir}/lib[kt]deinit_krec.la -%{tde_libdir}/lib[kt]deinit_noatun.la -%{tde_libdir}/libkmidlib.la -%{tde_libdir}/libkmidlib.so -%{tde_libdir}/libmpeg.la -%{tde_libdir}/libmpeg.so -%{tde_libdir}/libnoatun.la -%{tde_libdir}/libnoatun.so -%{tde_libdir}/libnoatuncontrols.la -%{tde_libdir}/libnoatuncontrols.so -%{tde_libdir}/libnoatuntags.la -%{tde_libdir}/libnoatuntags.so -%{tde_libdir}/libyafcore.la -%{tde_libdir}/libyafxplayer.la - -%post devel -/sbin/ldconfig - -%postun devel -/sbin/ldconfig - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - - -%prep -%setup -q -n kdemultimedia-3.5.13.1 -%patch3 -p1 -b .xdg -%patch5 -p1 -b .pthread - - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -# Required for some distro -export KDEDIRS=%{tde_prefix} - -# Specific path for RHEL4 -if [ -d /usr/X11R6 ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --includedir=%{tde_tdeincludedir} \ - --datadir=%{tde_datadir} \ - --enable-new-ldflags \ - --disable-dependency-tracking \ - --with-cdparanoia \ - --with-flac \ - --with-theora \ - --with-vorbis \ - --with-alsa \ - --with-gstreamer \ - --without-lame \ - --disable-debug \ - --disable-warnings \ - --enable-final \ - --disable-rpath \ - %{?_with_akode} %{!?_with_akode:--without-akode} \ - %{?_with_musicbrainz} %{!?_with_musicbrainz:--without-musicbrainz} \ - %{?_with_taglib} %{!?_with_taglib:--without-taglib} \ - %{?with_xine:--with-xine} %{!?with_xine:--without-xine} \ - --with-extra-includes="%{_includedir}/cdda:%{_includedir}/cddb:%{tde_includedir}/tqt:%{tde_tdeincludedir}/arts:%{tde_includedir}/artsc" \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{buildroot} - -# don't make these world-writeable -chmod go-w %{buildroot}%{tde_datadir}/apps/kscd/* - -# locale's -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common - done - popd - fi -done -fi - -# Moves the XDG configuration files to TDE directory -%__install -p -D -m644 \ - "%{?buildroot}%{_sysconfdir}/xdg/menus/applications-merged/kde-multimedia-music.menu" \ - "%{?buildroot}%{tde_prefix}/etc/xdg/menus/applications-merged/trinity-multimedia-music.menu" -%__rm -rf "%{?buildroot}%{_sysconfdir}/xdg" - - -%clean -%__rm -rf %{buildroot} - - -%changelog -* Sat Sep 29 2012 Francois Andriot - 3.5.13.1-1 -- Initial build for TDE 3.5.13.1 diff --git a/redhat/tdemultimedia/trinity-kdemultimedia-3.5.13.spec b/redhat/tdemultimedia/trinity-kdemultimedia-3.5.13.spec deleted file mode 100644 index 388a81727..000000000 --- a/redhat/tdemultimedia/trinity-kdemultimedia-3.5.13.spec +++ /dev/null @@ -1,1204 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -# former extras bits -%define _with_akode --with-akode -## not currently compatible with libtunepimp-0.5 (only libtunepimp-0.4) -#define _with_musicbrainz --with-musicbrainz -%define _with_taglib --with-taglib - -#%if 0%{?fedora} -%define _with_xine --with-xine -#%endif - -Name: trinity-tdemultimedia -Summary: Multimedia applications for the Trinity Desktop Environment (TDE) -Version: 3.5.13 -Release: 9%{?dist}%{?_variant} - -License: GPLv2 -Group: Applications/Multimedia - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: kdemultimedia-%{version}.tar.gz - - -# RedHat Legacy patches (from Fedora 8) -Patch3: kdemultimedia-3.4.0-xdg.patch -Patch5: kdemultimedia-3.5.7-pthread.patch - -# Missing LDFLAGS on Mageia cause FTBFS -Patch1: kdemultimedia-3.5.13-missing_ldflags.patch - -# [kdemultimedia] Fix MMX detection [Bug #800] -Patch10: kdemultimedia-3.5.13-fix_mmx_detection.patch -# [tdemultimedia] Remove "More Applications" from TDE menu. [Commit #31e44a7b] -Patch21: kdemultimedia-3.5.13-remove_more_applications.patch -# [tdemultimedia] Fix linear alphabet string errors [Commit #fd6afacf] -Patch22: kdemultimedia-3.5.13-fix_linear_alphabet.patch -# [tdemultimedia] Fix kmix autostart. This resolves Bug 503, and re-applies commit 2cc2e3a2 as part of the fix. [Commit #7da06e55] -Patch23: kdemultimedia-3.5.13-fix_kmix_autostart.patch - - -Obsoletes: trinity-kdemultimedia < %{version}-%{release} -Provides: trinity-kdemultimedia = %{version}-%{release} -Obsoletes: trinity-kdemultimedia-libs < %{version}-%{release} -Provides: trinity-kdemultimedia-libs = %{version}-%{release} -Obsoletes: trinity-kdemultimedia-extras < %{version}-%{release} -Provides: trinity-kdemultimedia-extras = %{version}-%{release} -Obsoletes: trinity-kdemultimedia-extras-libs < %{version}-%{release} -Provides: trinity-kdemultimedia-extras-libs = %{version}-%{release} - - -BuildRequires: cmake >= 2.8 -BuildRequires: tqtinterface-devel -BuildRequires: trinity-arts-devel -BuildRequires: trinity-tdelibs-devel -BuildRequires: qt3-devel >= 3.3.8.d - -BuildRequires: zlib-devel -BuildRequires: libvorbis-devel -BuildRequires: audiofile-devel -BuildRequires: desktop-file-utils -BuildRequires: libtheora-devel -BuildRequires: alsa-lib-devel -BuildRequires: automake libtool -%{?_with_akode:BuildRequires: trinity-akode-devel} -%{?_with_musicbrainz:BuildRequires: libmusicbrainz-devel libtunepimp-devel} -%{?_with_taglib:BuildRequires: taglib-devel} -BuildRequires: cdparanoia -BuildRequires: trinity-akode-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}gstreamer0.10-devel -BuildRequires: %{_lib}flac-devel -BuildRequires: libcdda-devel -%{?_with_xine:BuildRequires: %{_lib}xine-devel} -BuildRequires: %{_lib}xxf86dga-devel -BuildRequires: %{_lib}xxf86vm-devel -BuildRequires: %{_lib}xtst-devel -%else -BuildRequires: gstreamer-devel -BuildRequires: flac-devel -BuildRequires: cdparanoia-devel -%{?_with_xine:BuildRequires: xine-lib-devel} -BuildRequires: libXxf86dga-devel -BuildRequires: libXxf86vm-devel -BuildRequires: libXt-devel -%endif - -Requires: trinity-artsbuilder = %{version}-%{release} -Requires: trinity-juk = %{version}-%{release} -Requires: trinity-kaboodle = %{version}-%{release} -Requires: trinity-kaudiocreator = %{version}-%{release} -Requires: %{name}-kfile-plugins = %{version}-%{release} -Requires: %{name}-kappfinder-data = %{version}-%{release} -Requires: %{name}-kio-plugins = %{version}-%{release} -Requires: trinity-kmid = %{version}-%{release} -Requires: trinity-kmix = %{version}-%{release} -Requires: trinity-krec = %{version}-%{release} -Requires: trinity-kscd = %{version}-%{release} -Requires: trinity-libarts-akode = %{version}-%{release} -Requires: trinity-libarts-audiofile = %{version}-%{release} -Requires: trinity-libarts-mpeglib = %{version}-%{release} -Requires: trinity-libarts-xine = %{version}-%{release} -Requires: trinity-libkcddb = %{version}-%{release} -Requires: trinity-mpeglib = %{version}-%{release} -Requires: trinity-noatun = %{version}-%{release} - - -%description -The Trinity Desktop Environment (TDE) is a GUI desktop for the X Window -System. The %{name} package contains multimedia applications for -TDE, including: - artsbuilder, Synthesizer designer for aRts - juk, a media player - kmid, a midi player - kmix, an audio mixer - arts, additional functionality for the aRts sound system - krec, a recording tool - kscd, an Audio-CD player - kaudiocreator, a graphical frontend for audio file creation - kaboodle, a media player - noatun, a media player - -%files - -########## - -%package -n trinity-artsbuilder -Summary: Synthesizer designer for aRts -Group: Applications/Multimedia - -%description -n trinity-artsbuilder -This is the analog Realtime synthesizer's graphical design tool. - -%files -n trinity-artsbuilder -%defattr(-,root,root,-) -%{tde_bindir}/artsbuilder -%{tde_bindir}/artscontrol -%{tde_bindir}/midisend -%{tde_libdir}/libartsbuilder.la -%{tde_libdir}/libartsbuilder.so.* -%{tde_libdir}/libartscontrolapplet.la -%{tde_libdir}/libartscontrolapplet.so.* -%{tde_libdir}/libartscontrolsupport.la -%{tde_libdir}/libartscontrolsupport.so.* -%{tde_libdir}/libartsgui_idl.la -%{tde_libdir}/libartsgui_idl.so.* -%{tde_libdir}/libartsgui_kde.la -%{tde_libdir}/libartsgui_kde.so.* -%{tde_libdir}/libartsgui.la -%{tde_libdir}/libartsgui.so.* -%{tde_libdir}/libartsmidi_idl.la -%{tde_libdir}/libartsmidi_idl.so.* -%{tde_libdir}/libartsmidi.la -%{tde_libdir}/libartsmidi.so.* -%{tde_libdir}/libartsmodulescommon.la -%{tde_libdir}/libartsmodulescommon.so.* -%{tde_libdir}/libartsmoduleseffects.la -%{tde_libdir}/libartsmoduleseffects.so.* -%{tde_libdir}/libartsmodulesmixers.la -%{tde_libdir}/libartsmodulesmixers.so.* -%{tde_libdir}/libartsmodules.la -%{tde_libdir}/libartsmodules.so.* -%{tde_libdir}/libartsmodulessynth.la -%{tde_libdir}/libartsmodulessynth.so.* -%{tde_libdir}/mcop/Arts/ArtsBuilderLoader.mcopclass -%{tde_libdir}/mcop/artsbuilder.mcopclass -%{tde_libdir}/mcop/artsbuilder.mcoptype -%{tde_libdir}/mcop/Arts/Button.mcopclass -%{tde_libdir}/mcop/Arts/EffectRackGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/Effect_WAVECAPTURE.mcopclass -%{tde_libdir}/mcop/Arts/Environment/Container.mcopclass -%{tde_libdir}/mcop/Arts/Environment/EffectRackItem.mcopclass -%{tde_libdir}/mcop/Arts/Environment/InstrumentItemGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/Environment/InstrumentItem.mcopclass -%{tde_libdir}/mcop/Arts/Environment/MixerItem.mcopclass -%{tde_libdir}/mcop/Arts/Fader.mcopclass -%{tde_libdir}/mcop/Arts/FiveBandMonoComplexEQGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/FiveBandMonoComplexEQ.mcopclass -%{tde_libdir}/mcop/Arts/FreeverbGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/GenericGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/GraphLine.mcopclass -%{tde_libdir}/mcop/artsgui.mcopclass -%{tde_libdir}/mcop/artsgui.mcoptype -%{tde_libdir}/mcop/Arts/HBox.mcopclass -%{tde_libdir}/mcop/Arts/Label.mcopclass -%{tde_libdir}/mcop/Arts/LayoutBox.mcopclass -%{tde_libdir}/mcop/Arts/LevelMeter.mcopclass -%{tde_libdir}/mcop/Arts/LineEdit.mcopclass -%{tde_libdir}/mcop/Arts/LittleStereoMixerChannelGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/LittleStereoMixerChannel.mcopclass -%{tde_libdir}/mcop/Arts/LocalFactory.mcopclass -%{tde_libdir}/mcop/Arts/MidiManager.mcopclass -%{tde_libdir}/mcop/artsmidi.mcopclass -%{tde_libdir}/mcop/artsmidi.mcoptype -%{tde_libdir}/mcop/Arts/MixerGuiFactory.mcopclass -%{tde_libdir}/mcop/artsmodulescommon.mcopclass -%{tde_libdir}/mcop/artsmodulescommon.mcoptype -%{tde_libdir}/mcop/artsmoduleseffects.mcopclass -%{tde_libdir}/mcop/artsmoduleseffects.mcoptype -%{tde_libdir}/mcop/artsmodules.mcopclass -%{tde_libdir}/mcop/artsmodules.mcoptype -%{tde_libdir}/mcop/artsmodulesmixers.mcopclass -%{tde_libdir}/mcop/artsmodulesmixers.mcoptype -%{tde_libdir}/mcop/artsmodulessynth.mcopclass -%{tde_libdir}/mcop/artsmodulessynth.mcoptype -%{tde_libdir}/mcop/Arts/MonoSimpleMixerChannelGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/MonoSimpleMixerChannel.mcopclass -%{tde_libdir}/mcop/Arts/MonoToStereo.mcopclass -%{tde_libdir}/mcop/Arts/PopupBox.mcopclass -%{tde_libdir}/mcop/Arts/Poti.mcopclass -%{tde_libdir}/mcop/Arts/SimpleMixerChannelGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/SimpleMixerChannel.mcopclass -%{tde_libdir}/mcop/Arts/SpinBox.mcopclass -%{tde_libdir}/mcop/Arts/StereoBalanceGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/StereoBalance.mcopclass -%{tde_libdir}/mcop/Arts/StereoCompressorGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/StereoFirEqualizerGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/StereoToMono.mcopclass -%{tde_libdir}/mcop/Arts/StereoVolumeControlGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/StereoVolumeControlGui.mcopclass -%{tde_libdir}/mcop/Arts/StructureBuilder.mcopclass -%{tde_libdir}/mcop/Arts/StructureDesc.mcopclass -%{tde_libdir}/mcop/Arts/Synth_ATAN_SATURATE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_AUTOPANNER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_BRICKWALL_LIMITER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_CAPTURE_WAV.mcopclass -%{tde_libdir}/mcop/Arts/Synth_CDELAY.mcopclass -%{tde_libdir}/mcop/Arts/Synth_COMPRESSOR.mcopclass -%{tde_libdir}/mcop/Arts/Synth_DATA.mcopclass -%{tde_libdir}/mcop/Arts/Synth_DEBUG.mcopclass -%{tde_libdir}/mcop/Arts/Synth_DELAY.mcopclass -%{tde_libdir}/mcop/Arts/Synth_DIV.mcopclass -%{tde_libdir}/mcop/Arts/Synth_ENVELOPE_ADSR.mcopclass -%{tde_libdir}/mcop/Arts/Synth_FM_SOURCE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_FREEVERB.mcopclass -%{tde_libdir}/mcop/Arts/Synth_FX_CFLANGER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_MIDI_DEBUG.mcopclass -%{tde_libdir}/mcop/Arts/Synth_MIDI_TEST.mcopclass -%{tde_libdir}/mcop/Arts/Synth_MOOG_VCF.mcopclass -%{tde_libdir}/mcop/Arts/Synth_NIL.mcopclass -%{tde_libdir}/mcop/Arts/Synth_NOISE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_OSC.mcopclass -%{tde_libdir}/mcop/Arts/Synth_PITCH_SHIFT_FFT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_PITCH_SHIFT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_PLAY_PAT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_PSCALE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_RC.mcopclass -%{tde_libdir}/mcop/Arts/Synth_SEQUENCE_FREQ.mcopclass -%{tde_libdir}/mcop/Arts/Synth_SEQUENCE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_SHELVE_CUTOFF.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STD_EQUALIZER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STEREO_COMPRESSOR.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STEREO_FIR_EQUALIZER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STEREO_PITCH_SHIFT_FFT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STEREO_PITCH_SHIFT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_TREMOLO.mcopclass -%{tde_libdir}/mcop/Arts/Synth_VOICE_REMOVAL.mcopclass -%{tde_libdir}/mcop/Arts/Synth_WAVE_PULSE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_WAVE_SOFTSAW.mcopclass -%{tde_libdir}/mcop/Arts/Synth_WAVE_SQUARE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_WAVE_TRI.mcopclass -%{tde_libdir}/mcop/Arts/Synth_XFADE.mcopclass -%{tde_libdir}/mcop/Arts/VBox.mcopclass -%{tde_libdir}/mcop/Arts/VoiceRemovalGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/Widget.mcopclass -%{tde_tdeappdir}/artsbuilder.desktop -%{tde_tdeappdir}/artscontrol.desktop -%{tde_datadir}/apps/artsbuilder/ -%{tde_datadir}/apps/artscontrol/ -%{tde_datadir}/apps/kicker/applets/artscontrolapplet.desktop -%{tde_datadir}/icons/crystalsvg/*/actions/artsaudiomanager.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsbuilderexecute.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsenvironment.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsfftscope.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsmediatypes.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsmidimanager.png -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsaudiomanager.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsenvironment.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsfftscope.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsmediatypes.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsmidimanager.svgz -%{tde_datadir}/icons/hicolor/*/apps/artsbuilder.png -%{tde_datadir}/icons/hicolor/*/apps/artscontrol.png -%{tde_datadir}/icons/hicolor/scalable/apps/artsbuilder.svgz -%{tde_datadir}/icons/hicolor/scalable/apps/artscontrol.svgz -%{tde_datadir}/mimelnk/application/x-artsbuilder.desktop -%{tde_tdedocdir}/HTML/en/artsbuilder/ - -%post -n trinity-artsbuilder -/sbin/ldconfig -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-artsbuilder -/sbin/ldconfig -for f in crystalsvg hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-juk -Summary: Music organizer and player for Trinity -Group: Applications/Multimedia - -%description -n trinity-juk -JuK (pronounced "jook") is a jukebox and music manager for the TDE -desktop similar to jukebox software on other platforms such as -iTunes or RealOne. - -Some of JuK's features include: -* Support for Ogg Vorbis and MP3 formats -* Tag editing support for both formats, including ID3v2 for MP3 files. - Multitagging or editing a selection of multiple files at once is also - supported -* Output to either the aRts, default KDE sound system, or GStreamer -* Management of your "collection" and multiple playlists -* Import and export to m3u playlists -* Binary caching of audio meta-data and playlist information for faster - load times (starting with the second time you run JuK) -* Integration into TDE that allows drag-and-drop and clipboard usage - with other TDE and X apps - -%files -n trinity-juk -%defattr(-,root,root,-) -%{tde_bindir}/juk -%{tde_tdeappdir}/juk.desktop -%{tde_datadir}/apps/juk/ -%{tde_datadir}/apps/konqueror/servicemenus/jukservicemenu.desktop -%{tde_datadir}/icons/crystalsvg/*/actions/juk_dock.png -%{tde_datadir}/icons/hicolor/*/apps/juk.png -%{tde_tdedocdir}/HTML/en/juk/ - -%post -n trinity-juk -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-juk -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kaboodle -Summary: light, embedded media player for Trinity -Group: Applications/Multimedia - -Requires: trinity-libarts-xine = %{version}-%{release} - -%description -n trinity-kaboodle -Kaboodle is a light, embedded media player, supporting both video and audio, -for TDE. It uses the aRts framework for playing media files. - -%files -n trinity-kaboodle -%defattr(-,root,root,-) -%{tde_bindir}/kaboodle -%{tde_tdelibdir}/libkaboodlepart.la -%{tde_tdelibdir}/libkaboodlepart.so -%{tde_tdeappdir}/kaboodle.desktop -%{tde_datadir}/apps/kaboodle/ -%{tde_datadir}/icons/hicolor/*/apps/kaboodle.png -%{tde_datadir}/services/kaboodle_component.desktop -%{tde_datadir}/services/kaboodleengine.desktop -%{tde_tdedocdir}/HTML/en/kaboodle/ - -%post -n trinity-kaboodle -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kaboodle -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kaudiocreator -Summary: CD ripper and audio encoder frontend for Trinity -Group: Applications/Multimedia - -Requires: %{name}-kio-plugins = %{version}-%{release} -Requires: vorbis-tools -Requires: flac - -%description -n trinity-kaudiocreator -KAudioCreator is a tool for audio extraction (ripping) and encoding. It can -keep your WAV files, or convert them to Ogg/Vorbis, MP3, or FLAC. It also -searches CDDB to retrieve the information of the disk. - -%files -n trinity-kaudiocreator -%defattr(-,root,root,-) -%{tde_bindir}/kaudiocreator -%{tde_tdeappdir}/kaudiocreator.desktop -%{tde_datadir}/apps/kaudiocreator/ -%{tde_datadir}/apps/kconf_update/kaudiocreator-libkcddb.upd -%{tde_datadir}/apps/kconf_update/kaudiocreator-meta.upd -%{tde_datadir}/apps/kconf_update/upgrade-kaudiocreator-metadata.sh -%{tde_datadir}/apps/konqueror/servicemenus/audiocd_extract.desktop -%{tde_datadir}/config.kcfg/kaudiocreator.kcfg -%{tde_datadir}/config.kcfg/kaudiocreator_encoders.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kaudiocreator.png -%{tde_datadir}/icons/locolor/*/apps/kaudiocreator.png -%{tde_tdedocdir}/HTML/en/kaudiocreator/ - -%post -n trinity-kaudiocreator -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kaudiocreator -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package kfile-plugins -Summary: au/avi/m3u/mp3/ogg/wav plugins for kfile -Group: Applications/Multimedia - -%description kfile-plugins -au/avi/m3u/mp3/ogg/wav file metainformation plugins for Trinity. - -%files kfile-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/kfile_au.la -%{tde_tdelibdir}/kfile_au.so -%{tde_tdelibdir}/kfile_avi.la -%{tde_tdelibdir}/kfile_avi.so -%{tde_tdelibdir}/kfile_flac.la -%{tde_tdelibdir}/kfile_flac.so -%{tde_tdelibdir}/kfile_m3u.la -%{tde_tdelibdir}/kfile_m3u.so -%{tde_tdelibdir}/kfile_mp3.la -%{tde_tdelibdir}/kfile_mp3.so -%{tde_tdelibdir}/kfile_mpc.la -%{tde_tdelibdir}/kfile_mpc.so -%{tde_tdelibdir}/kfile_mpeg.la -%{tde_tdelibdir}/kfile_mpeg.so -%{tde_tdelibdir}/kfile_ogg.la -%{tde_tdelibdir}/kfile_ogg.so -%{tde_tdelibdir}/kfile_sid.la -%{tde_tdelibdir}/kfile_sid.so -%{tde_tdelibdir}/kfile_theora.la -%{tde_tdelibdir}/kfile_theora.so -%{tde_tdelibdir}/kfile_wav.la -%{tde_tdelibdir}/kfile_wav.so -%{tde_datadir}/services/kfile_au.desktop -%{tde_datadir}/services/kfile_avi.desktop -%{tde_datadir}/services/kfile_flac.desktop -%{tde_datadir}/services/kfile_m3u.desktop -%{tde_datadir}/services/kfile_mp3.desktop -%{tde_datadir}/services/kfile_mpc.desktop -%{tde_datadir}/services/kfile_mpeg.desktop -%{tde_datadir}/services/kfile_ogg.desktop -%{tde_datadir}/services/kfile_sid.desktop -%{tde_datadir}/services/kfile_theora.desktop -%{tde_datadir}/services/kfile_wav.desktop - -########## - -%package kappfinder-data -Summary: multimedia data for kappfinder-trinity -Group: Applications/Multimedia - -Requires: trinity-kappfinder - -%description kappfinder-data -This package provides data on multimedia applications for kappfinder. - -%files kappfinder-data -%defattr(-,root,root,-) -%{tde_datadir}/apps/kappfinder/* -%{tde_datadir}/desktop-directories/[kt]de-multimedia-music.directory -%{tde_prefix}/etc/xdg/menus/applications-merged/trinity-multimedia-music.menu - -########## - -%package kio-plugins -Summary: Enables the browsing of audio CDs under Konqueror -Group: Applications/Multimedia - -%description kio-plugins -This package allow audio CDs to be browsed like a file system using -Konqueror and the audiocd:/ URL. - -%files kio-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_audiocd.la -%{tde_tdelibdir}/kcm_audiocd.so -%{tde_tdelibdir}/kio_audiocd.la -%{tde_tdelibdir}/kio_audiocd.so -%{tde_tdelibdir}/libaudiocd_encoder_flac.la -%{tde_tdelibdir}/libaudiocd_encoder_flac.so -%{tde_tdelibdir}/libaudiocd_encoder_lame.la -%{tde_tdelibdir}/libaudiocd_encoder_lame.so -%{tde_tdelibdir}/libaudiocd_encoder_vorbis.la -%{tde_tdelibdir}/libaudiocd_encoder_vorbis.so -%{tde_tdelibdir}/libaudiocd_encoder_wav.la -%{tde_tdelibdir}/libaudiocd_encoder_wav.so -%{tde_libdir}/libaudiocdplugins.so.* -%{tde_tdeappdir}/audiocd.desktop -%{tde_datadir}/apps/kconf_update/audiocd.upd -%{tde_datadir}/apps/kconf_update/upgrade-metadata.sh -%{tde_datadir}/config.kcfg/audiocd_lame_encoder.kcfg -%{tde_datadir}/config.kcfg/audiocd_vorbis_encoder.kcfg -%{tde_datadir}/services/audiocd.protocol -%{tde_tdedocdir}/HTML/en/kioslave/audiocd.docbook - -%post kio-plugins -/sbin/ldconfig -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun kio-plugins -/sbin/ldconfig -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kmid -Summary: MIDI/karaoke player for Trinity -Group: Applications/Multimedia - -%description -n trinity-kmid -This package provides a MIDI and karaoke player for TDE. - -%files -n trinity-kmid -%defattr(-,root,root,-) -%{tde_bindir}/kmid -%{tde_tdelibdir}/libkmidpart.la -%{tde_tdelibdir}/libkmidpart.so -%{tde_libdir}/libkmidlib.so.* -%{tde_tdeappdir}/kmid.desktop -%{tde_datadir}/apps/kmid/ -%{tde_datadir}/icons/hicolor/*/apps/kmid.png -%{tde_datadir}/mimelnk/audio/x-karaoke.desktop -%{tde_datadir}/servicetypes/audiomidi.desktop -%{tde_tdedocdir}/HTML/en/kmid/ - -%post -n trinity-kmid -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kmid -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kmix -Summary: Sound mixer applet for Trinity -Group: Applications/Multimedia - -%description -n trinity-kmix -This package includes TDE's dockable sound mixer applet. - -%files -n trinity-kmix -%defattr(-,root,root,-) -%{tde_bindir}/kmix -%{tde_bindir}/kmixctrl -%{tde_tdelibdir}/kmix.la -%{tde_tdelibdir}/kmix.so -%{tde_tdelibdir}/kmix_panelapplet.la -%{tde_tdelibdir}/kmix_panelapplet.so -%{tde_tdelibdir}/kmixctrl.la -%{tde_tdelibdir}/kmixctrl.so -%{tde_libdir}/lib[kt]deinit_kmix.so -%{tde_libdir}/lib[kt]deinit_kmixctrl.so -%{tde_tdeappdir}/kmix.desktop -%{tde_datadir}/apps/kicker/applets/kmixapplet.desktop -%{tde_datadir}/apps/kmix/ -%{tde_datadir}/autostart/kmix.desktop -%{tde_datadir}/autostart/restore_kmix_volumes.desktop -%{tde_datadir}/icons/hicolor/*/apps/kmix.png -%{tde_datadir}/services/kmixctrl_restore.desktop -%{tde_tdedocdir}/HTML/en/kmix/ - -%post -n trinity-kmix -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kmix -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-krec -Summary: Sound recorder utility for Trinity -Group: Applications/Multimedia - -%description -n trinity-krec -This is a sound recording utility for Trinity. - -%files -n trinity-krec -%defattr(-,root,root,-) -%{tde_bindir}/krec -%{tde_tdelibdir}/kcm_krec.la -%{tde_tdelibdir}/kcm_krec.so -%{tde_tdelibdir}/kcm_krec_files.la -%{tde_tdelibdir}/kcm_krec_files.so -%{tde_tdelibdir}/krec.la -%{tde_tdelibdir}/krec.so -%{tde_tdelibdir}/libkrecexport_ogg.la -%{tde_tdelibdir}/libkrecexport_ogg.so -%{tde_tdelibdir}/libkrecexport_wave.la -%{tde_tdelibdir}/libkrecexport_wave.so -%{tde_libdir}/lib[kt]deinit_krec.so -%{tde_tdeappdir}/krec.desktop -%{tde_datadir}/apps/krec/ -%{tde_datadir}/icons/hicolor/*/apps/krec.png -%{tde_datadir}/services/kcm_krec.desktop -%{tde_datadir}/services/kcm_krec_files.desktop -%{tde_datadir}/services/krec_exportogg.desktop -%{tde_datadir}/services/krec_exportwave.desktop -%{tde_datadir}/servicetypes/krec_exportitem.desktop -%{tde_tdedocdir}/HTML/en/krec/ - -%post -n trinity-krec -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-krec -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kscd -Summary: Audio CD player for Trinity -Group: Applications/Multimedia - -%description -n trinity-kscd -This is Trinity's audio CD player. - -%files -n trinity-kscd -%defattr(-,root,root,-) -%{tde_bindir}/kscd -%{tde_bindir}/workman2cddb.pl -%{tde_tdeappdir}/kscd.desktop -%{tde_datadir}/apps/konqueror/servicemenus/audiocd_play.desktop -%{tde_datadir}/apps/kscd/ -%{tde_datadir}/apps/profiles/kscd.profile.xml -%{tde_datadir}/config.kcfg/kscd.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kscd.png -%{tde_datadir}/mimelnk/text/xmcd.desktop -%{tde_tdedocdir}/HTML/en/kscd/ - -%post -n trinity-kscd -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kscd -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-libarts-akode -Summary: Akode plugin for aRts -Group: Environment/Libraries - -%description -n trinity-libarts-akode -This package contains akode plugins for aRts. - -%files -n trinity-libarts-akode -%defattr(-,root,root,-) -%{tde_libdir}/libarts_akode.so.* -%{tde_libdir}/libarts_akode.la -%{tde_libdir}/mcop/akodearts.mcoptype -%{tde_libdir}/mcop/akodearts.mcopclass -%{tde_libdir}/mcop/akodeMPCPlayObject.mcopclass -%{tde_libdir}/mcop/akodePlayObject.mcopclass -%{tde_libdir}/mcop/akodeSpeexStreamPlayObject.mcopclass -%{tde_libdir}/mcop/akodeVorbisStreamPlayObject.mcopclass -%{tde_libdir}/mcop/akodeXiphPlayObject.mcopclass - -# -devel - -%post -n trinity-libarts-akode -/sbin/ldconfig - -%postun -n trinity-libarts-akode -/sbin/ldconfig - -########## - -%package -n trinity-libarts-audiofile -Summary: Audiofile plugin for aRts -Group: Environment/Libraries - -%description -n trinity-libarts-audiofile -This package contains audiofile plugins for aRts. - -%files -n trinity-libarts-audiofile -%defattr(-,root,root,-) -%{tde_libdir}/libarts_audiofile.so.* -%{tde_libdir}/libarts_audiofile.la -%{tde_libdir}/mcop/Arts/audiofilePlayObject.mcopclass -%{tde_libdir}/mcop/audiofilearts.mcopclass -%{tde_libdir}/mcop/audiofilearts.mcoptype - -%post -n trinity-libarts-audiofile -/sbin/ldconfig - -%postun -n trinity-libarts-audiofile -/sbin/ldconfig - -########## - -%package -n trinity-libarts-mpeglib -Summary: Mpeglib plugin for aRts, supporting mp3 and mpeg audio/video -Group: Environment/Libraries - -%description -n trinity-libarts-mpeglib -This package contains the mpeglib aRts plugin, supporting mp3 and mpeg -audio and video. - -This is the arts (TDE Sound daemon) plugin. - -%files -n trinity-libarts-mpeglib -%defattr(-,root,root,-) -%{tde_bindir}/mpeglibartsplay -%{tde_libdir}/libarts_mpeglib-0.3.0.so.* -%{tde_libdir}/libarts_mpeglib.la -%{tde_libdir}/libarts_splay.so.* -%{tde_libdir}/libarts_splay.la -%{tde_libdir}/mcop/CDDAPlayObject.mcopclass -%{tde_libdir}/mcop/MP3PlayObject.mcopclass -%{tde_libdir}/mcop/NULLPlayObject.mcopclass -%{tde_libdir}/mcop/OGGPlayObject.mcopclass -%{tde_libdir}/mcop/SplayPlayObject.mcopclass -%{tde_libdir}/mcop/WAVPlayObject.mcopclass - -%post -n trinity-libarts-mpeglib -/sbin/ldconfig - -%postun -n trinity-libarts-mpeglib -/sbin/ldconfig - -########## - -%package -n trinity-libarts-xine -Summary: aRts plugin enabling xine support -Group: Environment/Libraries - -%description -n trinity-libarts-xine -This package contains aRts' xine plugin, allowing the use of the xine -multimedia engine though aRts. - -%files -n trinity-libarts-xine -%defattr(-,root,root,-) -%{tde_tdelibdir}/videothumbnail.la -%{tde_tdelibdir}/videothumbnail.so -%{tde_libdir}/libarts_xine.so.* -%{tde_libdir}/libarts_xine.la -%{tde_libdir}/mcop/xineAudioPlayObject.mcopclass -%{tde_libdir}/mcop/xineVideoPlayObject.mcopclass -%{tde_datadir}/apps/videothumbnail/sprocket-large.png -%{tde_datadir}/apps/videothumbnail/sprocket-medium.png -%{tde_datadir}/apps/videothumbnail/sprocket-small.png -%{tde_datadir}/services/videothumbnail.desktop - -%post -n trinity-libarts-xine -/sbin/ldconfig - -%postun -n trinity-libarts-xine -/sbin/ldconfig - -########## - -%package -n trinity-libkcddb -Summary: CDDB library for Trinity -Group: Environment/Libraries - -%description -n trinity-libkcddb -The Trinity native CDDB (CD Data Base) library, providing easy access to Audio -CD meta-information (track titles, artist information, etc.) from on-line -databases, for TDE applications. - -%files -n trinity-libkcddb -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_cddb.la -%{tde_tdelibdir}/kcm_cddb.so -%{tde_libdir}/libkcddb.so.* -%{tde_tdeappdir}/libkcddb.desktop -%{tde_datadir}/apps/kconf_update/kcmcddb-emailsettings.upd -%{tde_datadir}/config.kcfg/libkcddb.kcfg - -%post -n trinity-libkcddb -/sbin/ldconfig -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-libkcddb -/sbin/ldconfig -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-mpeglib -Summary: MP3 and MPEG-1 audio and video library -Group: Environment/Libraries -Requires: trinity-libarts-mpeglib = %{version}-%{release} - -%description -n trinity-mpeglib -mpeglib is a MPEG-1 and MP3 audio and video library. It supports -MPEG-1 audio (layers 1, 2, 3), MPEG-1 video, MPEG-1 system layer, -and WAV playback - -%files -n trinity-mpeglib -%defattr(-,root,root,-) -%{tde_bindir}/yaf-cdda -%{tde_bindir}/yaf-mpgplay -%{tde_bindir}/yaf-splay -%{tde_bindir}/yaf-tplay -%{tde_bindir}/yaf-vorbis -%{tde_bindir}/yaf-yuv -%{tde_libdir}/libmpeg-0.3.0.so -%{tde_libdir}/libyafcore.so -%{tde_libdir}/libyafxplayer.so - -%post -n trinity-mpeglib -/sbin/ldconfig - -%postun -n trinity-mpeglib -/sbin/ldconfig - -########## - -%package -n trinity-noatun -Summary: Media player for Trinity -Group: Applications/Multimedia - -# 20120802: Hack to avoir dependency issue on MGA2 and MDV2011 -%if 0%{?mgaversion} || 0%{?mdkversion} -Provides: devel(libnoatunarts) -Provides: devel(libnoatunarts(64bit)) -%endif - -%description -n trinity-noatun -Noatun is an aRts-based audio and video player for Trinity. It supports all -formats supported by your installation of aRts (including aRts plugins). - -%files -n trinity-noatun -%defattr(-,root,root,-) -%{tde_bindir}/noatun -%{tde_libdir}/kconf_update_bin/noatun20update -%{tde_tdelibdir}/noatun.la -%{tde_tdelibdir}/noatun.so -%{tde_tdelibdir}/noatun_dcopiface.la -%{tde_tdelibdir}/noatun_dcopiface.so -%{tde_tdelibdir}/noatun_excellent.la -%{tde_tdelibdir}/noatun_excellent.so -%{tde_tdelibdir}/noatun_htmlexport.la -%{tde_tdelibdir}/noatun_htmlexport.so -%{tde_tdelibdir}/noatun_infrared.la -%{tde_tdelibdir}/noatun_infrared.so -%{tde_tdelibdir}/noatun_kaiman.la -%{tde_tdelibdir}/noatun_kaiman.so -%{tde_tdelibdir}/noatun_keyz.la -%{tde_tdelibdir}/noatun_keyz.so -%{tde_tdelibdir}/noatun_kjofol.la -%{tde_tdelibdir}/noatun_kjofol.so -%{tde_tdelibdir}/noatun_marquis.la -%{tde_tdelibdir}/noatun_marquis.so -%{tde_tdelibdir}/noatun_metatag.la -%{tde_tdelibdir}/noatun_metatag.so -%{tde_tdelibdir}/noatun_monoscope.la -%{tde_tdelibdir}/noatun_monoscope.so -%{tde_tdelibdir}/noatun_net.la -%{tde_tdelibdir}/noatun_net.so -%{tde_tdelibdir}/noatun_splitplaylist.la -%{tde_tdelibdir}/noatun_splitplaylist.so -%{tde_tdelibdir}/noatun_systray.la -%{tde_tdelibdir}/noatun_systray.so -%{tde_tdelibdir}/noatun_ui.la -%{tde_tdelibdir}/noatun_ui.so -%{tde_tdelibdir}/noatun_voiceprint.la -%{tde_tdelibdir}/noatun_voiceprint.so -%{tde_tdelibdir}/noatun_winskin.la -%{tde_tdelibdir}/noatun_winskin.so -%{tde_tdelibdir}/noatunsimple.la -%{tde_tdelibdir}/noatunsimple.so -%{tde_libdir}/libartseffects.la -%{tde_libdir}/libartseffects.so -%{tde_libdir}/lib[kt]deinit_noatun.so -%{tde_libdir}/libnoatun.so.* -%{tde_libdir}/libnoatunarts.la -%{tde_libdir}/libnoatunarts.so -%{tde_libdir}/libnoatuncontrols.so.* -%{tde_libdir}/libnoatuntags.so.* -%{tde_libdir}/libwinskinvis.la -%{tde_libdir}/libwinskinvis.so -%{tde_libdir}/mcop/ExtraStereo.mcopclass -%{tde_libdir}/mcop/ExtraStereoGuiFactory.mcopclass -%{tde_libdir}/mcop/Noatun/ -%{tde_libdir}/mcop/RawWriter.mcopclass -%{tde_libdir}/mcop/VoiceRemoval.mcopclass -%{tde_libdir}/mcop/artseffects.mcopclass -%{tde_libdir}/mcop/artseffects.mcoptype -%{tde_libdir}/mcop/noatunarts.mcopclass -%{tde_libdir}/mcop/noatunarts.mcoptype -%{tde_libdir}/mcop/winskinvis.mcopclass -%{tde_libdir}/mcop/winskinvis.mcoptype -%{tde_tdeappdir}/noatun.desktop -%{tde_datadir}/apps/kconf_update/noatun.upd -%{tde_datadir}/apps/noatun/ -%{tde_datadir}/icons/hicolor/*/apps/noatun.png -%{tde_datadir}/mimelnk/interface/x-winamp-skin.desktop -%{tde_tdedocdir}/HTML/en/noatun/ - -%post -n trinity-noatun -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-noatun -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package devel -Summary: Development files for %{name}, aRts and noatun plugins -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} -Requires: trinity-tdelibs-devel >= 3.5.13 - -Obsoletes: trinity-kdemultimedia-devel < %{version}-%{release} -Provides: trinity-kdemultimedia-devel = %{version}-%{release} - -%description devel -{summary}. - -Install %{name}-devel if you wish to develop or compile any -applications using aRtsbuilder, aRtsmidi, aRtskde, aRts modules or -noatun plugins. - -%files devel -%defattr(-,root,root,-) -%{tde_includedir}/* -%{tde_libdir}/libarts_akode.so -%{tde_libdir}/libarts_audiofile.so -%{tde_libdir}/libarts_mpeglib.so -%{tde_libdir}/libarts_splay.so -%{tde_libdir}/libarts_xine.so -%{tde_libdir}/libartsbuilder.so -%{tde_libdir}/libartscontrolapplet.so -%{tde_libdir}/libartscontrolsupport.so -%{tde_libdir}/libartsgui.so -%{tde_libdir}/libartsgui_idl.so -%{tde_libdir}/libartsgui_kde.so -%{tde_libdir}/libartsmidi.so -%{tde_libdir}/libartsmidi_idl.so -%{tde_libdir}/libartsmodules.so -%{tde_libdir}/libartsmodulescommon.so -%{tde_libdir}/libartsmoduleseffects.so -%{tde_libdir}/libartsmodulesmixers.so -%{tde_libdir}/libartsmodulessynth.so -%{tde_libdir}/libaudiocdplugins.la -%{tde_libdir}/libaudiocdplugins.so -%{tde_libdir}/libkcddb.la -%{tde_libdir}/libkcddb.so -%{tde_libdir}/lib[kt]deinit_kmix.la -%{tde_libdir}/lib[kt]deinit_kmixctrl.la -%{tde_libdir}/lib[kt]deinit_krec.la -%{tde_libdir}/lib[kt]deinit_noatun.la -%{tde_libdir}/libkmidlib.la -%{tde_libdir}/libkmidlib.so -%{tde_libdir}/libmpeg.la -%{tde_libdir}/libmpeg.so -%{tde_libdir}/libnoatun.la -%{tde_libdir}/libnoatun.so -%{tde_libdir}/libnoatuncontrols.la -%{tde_libdir}/libnoatuncontrols.so -%{tde_libdir}/libnoatuntags.la -%{tde_libdir}/libnoatuntags.so -%{tde_libdir}/libyafcore.la -%{tde_libdir}/libyafxplayer.la - -%post devel -/sbin/ldconfig - -%postun devel -/sbin/ldconfig - -########## - - -%prep -%setup -q -n kdemultimedia -%patch1 -p1 -b .ftbfs -%patch3 -p1 -b .xdg -%patch5 -p1 -b .pthread -%patch10 -p1 -%patch21 -p1 -b .moreapplications -%patch22 -p1 -%patch23 -p1 -b .kmixautostart - - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -# Required for some distro -export KDEDIRS=%{tde_prefix} - -%configure \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --includedir=%{tde_tdeincludedir} \ - --datadir=%{tde_datadir} \ - --enable-new-ldflags \ - --disable-dependency-tracking \ - --with-cdparanoia \ - --with-flac \ - --with-theora \ - --with-vorbis \ - --with-alsa \ - --with-gstreamer \ - --without-lame \ - --disable-debug \ - --disable-warnings \ - --enable-final \ - --disable-rpath \ - %{?_with_akode} %{!?_with_akode:--without-akode} \ - %{?_with_musicbrainz} %{!?_with_musicbrainz:--without-musicbrainz} \ - %{?_with_taglib} %{!?_with_taglib:--without-taglib} \ - %{?_with_xine} %{!?_with_xine:--without-xine} \ - --with-extra-includes="%{_includedir}/cdda:%{_includedir}/cddb:%{tde_includedir}/tqt:%{tde_tdeincludedir}/arts:%{tde_includedir}/artsc" \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{buildroot} - -# don't make these world-writeable -chmod go-w %{buildroot}%{tde_datadir}/apps/kscd/* - -# locale's -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common - done - popd - fi -done -fi - -# Moves the XDG configuration files to TDE directory -%__install -p -D -m644 \ - "%{?buildroot}%{_sysconfdir}/xdg/menus/applications-merged/kde-multimedia-music.menu" \ - "%{?buildroot}%{tde_prefix}/etc/xdg/menus/applications-merged/trinity-multimedia-music.menu" -%__rm -rf "%{?buildroot}%{_sysconfdir}/xdg" - - -%clean -%__rm -rf %{buildroot} - - -%changelog -* Sat Aug 18 2012 Francois Andriot - 3.5.13-9 -- Rebuild for tdelibs-3.5.13-12 -- Fix kmix autostart. This resolves Bug 503, and re-applies commit 2cc2e3a2 as part of the fix. [Commit #7da06e55] - -* Sun Jul 01 2012 Francois Andriot - 3.5.13-8 -- Split in several packages -- Enables Xine support on RHEL/CentOS -- Removes previous patch. [Bug #503] - -* Wed May 09 2012 Francois Andriot - 3.5.13-7 -- Fix kmix not autostarting in the user's session. [Bug #503] - -* Tue May 01 2012 Francois Andriot - 3.5.13-6 -- Updates BuildRequires -- Remove "More Applications" from TDE menu. [Commit #31e44a7b] -- Fix linear alphabet string errors [Commit #fd6afacf] - -* Mon Jan 16 2012 Francois Andriot - 3.5.13-5 -- Enables 'akode' support -- Fix MMX support [Bug #800] - -* Fri Nov 25 2011 Francois Andriot - 3.5.13-4 -- Fix HTML directory location - -* Sat Nov 12 2011 Francois Andriot - 3.5.13-3 -- Moves XDG files in TDE prefix to avoid conflict with distro-provided KDE - -* Fri Nov 04 2011 Francois Andriot - 3.5.13-2 -- Updates BuildRequires - -* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 -- Initial release for RHEL 6, RHEL 5 and Fedora 15 - -* Sat Sep 09 2011 Francois Andriot - 3.5.13-0 -- Import to GIT -- Spec file based on Fedora 8 "kdemultimedia-6:3.5.10-2" - diff --git a/redhat/tdemultimedia/trinity-tdemultimedia-14.0.0.spec b/redhat/tdemultimedia/trinity-tdemultimedia-14.0.0.spec deleted file mode 100644 index 68c6ee218..000000000 --- a/redhat/tdemultimedia/trinity-tdemultimedia-14.0.0.spec +++ /dev/null @@ -1,1228 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -# former extras bits -%define _with_akode --with-akode -## not currently compatible with libtunepimp-0.5 (only libtunepimp-0.4) -#define _with_musicbrainz --with-musicbrainz -%define _with_taglib --with-taglib - -Name: trinity-tdemultimedia -Summary: Multimedia applications for the Trinity Desktop Environment (TDE) -Version: 14.0.0 -Release: %{?!preversion:2}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} - -License: GPLv2 -Group: Applications/Multimedia - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz - -Obsoletes: trinity-kdemultimedia < %{version}-%{release} -Provides: trinity-kdemultimedia = %{version}-%{release} -Obsoletes: trinity-kdemultimedia-libs < %{version}-%{release} -Provides: trinity-kdemultimedia-libs = %{version}-%{release} -Obsoletes: trinity-kdemultimedia-extras < %{version}-%{release} -Provides: trinity-kdemultimedia-extras = %{version}-%{release} -Obsoletes: trinity-kdemultimedia-extras-libs < %{version}-%{release} -Provides: trinity-kdemultimedia-extras-libs = %{version}-%{release} - - -BuildRequires: autoconf automake libtool m4 -BuildRequires: trinity-tqt3-devel >= %{version} -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-arts-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} - -%if "%{?_with_akode}" != "" -BuildRequires: trinity-akode-devel -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} -BuildRequires: trinity-akode-libmad -%endif -%endif - -BuildRequires: desktop-file-utils -BuildRequires: zlib-devel - -# Audio libraries -BuildRequires: libvorbis-devel -BuildRequires: audiofile-devel -BuildRequires: libtheora-devel -BuildRequires: alsa-lib-devel -%{?_with_musicbrainz:BuildRequires: libmusicbrainz-devel libtunepimp-devel} -%{?_with_taglib:BuildRequires: taglib-devel} -BuildRequires: cdparanoia - -# CDDA support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: libcdda-devel -%endif -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -BuildRequires: cdparanoia-devel -%endif - -# FLAC support -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} -BuildRequires: libflac-devel -%else -BuildRequires: %{_lib}flac-devel -%endif -%endif -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -BuildRequires: flac-devel -%endif - -# GSTREAMER support -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} -BuildRequires: libgstreamer0.10-devel -%else -BuildRequires: %{_lib}gstreamer0.10-devel -%endif -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: gstreamer-devel -%endif -%if 0%{?suse_version} -BuildRequires: gstreamer-0_10-devel -%endif - -# X11 Libraries -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xxf86dga-devel -BuildRequires: %{_lib}xxf86vm-devel -BuildRequires: %{_lib}xtst%{?mgaversion:6}-devel -%endif -%if 0%{?rhel} == 4 -BuildRequires: xorg-x11-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 -BuildRequires: libXxf86dga-devel -BuildRequires: libXxf86vm-devel -BuildRequires: libXt-devel -%endif - -# XINE support -%if 0%{?fedora} || 0%{?rhel} >= 4 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_xine 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xine-devel -%endif -%if 0%{?fedora} || 0%{?rhel} -BuildRequires: xine-lib-devel -%endif -%if 0%{?suse_version} -BuildRequires: libxine-devel -%endif -%endif - -# LAME support -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} -%define with_lame 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} -BuildRequires: liblame-devel -%else -BuildRequires: %{_lib}lame-devel -%endif -%endif -%if 0%{?suse_version} -BuildRequires: libmp3lame-devel -%endif -%if 0%{?fedora} || 0%{?rhel} -BuildRequires: lame-devel -%endif -%endif - -Requires: trinity-artsbuilder = %{version}-%{release} -Requires: trinity-juk = %{version}-%{release} -Requires: trinity-kaboodle = %{version}-%{release} -Requires: trinity-kaudiocreator = %{version}-%{release} -Requires: %{name}-kfile-plugins = %{version}-%{release} -Requires: %{name}-kappfinder-data = %{version}-%{release} -Requires: %{name}-tdeio-plugins = %{version}-%{release} -Requires: trinity-kmid = %{version}-%{release} -Requires: trinity-kmix = %{version}-%{release} -Requires: trinity-krec = %{version}-%{release} -Requires: trinity-kscd = %{version}-%{release} -Requires: trinity-libarts-akode = %{version}-%{release} -Requires: trinity-libarts-audiofile = %{version}-%{release} -Requires: trinity-libarts-mpeglib = %{version}-%{release} -%{?with_xine:Requires: trinity-libarts-xine = %{version}-%{release}} -Requires: trinity-libkcddb = %{version}-%{release} -Requires: trinity-mpeglib = %{version}-%{release} -Requires: trinity-noatun = %{version}-%{release} - - -%description -The Trinity Desktop Environment (TDE) is a GUI desktop for the X Window -System. The %{name} package contains multimedia applications for -TDE, including: - artsbuilder, Synthesizer designer for aRts - juk, a media player - kmid, a midi player - kmix, an audio mixer - arts, additional functionality for the aRts sound system - krec, a recording tool - kscd, an Audio-CD player - kaudiocreator, a graphical frontend for audio file creation - kaboodle, a media player - noatun, a media player - -%files - -########## - -%package -n trinity-artsbuilder -Summary: Synthesizer designer for aRts -Group: Applications/Multimedia - -%description -n trinity-artsbuilder -This is the analog Realtime synthesizer's graphical design tool. - -%files -n trinity-artsbuilder -%defattr(-,root,root,-) -%{tde_bindir}/artsbuilder -%{tde_bindir}/artscontrol -%{tde_bindir}/midisend -%{tde_libdir}/libartsbuilder.la -%{tde_libdir}/libartsbuilder.so.* -%{tde_libdir}/libartscontrolapplet.la -%{tde_libdir}/libartscontrolapplet.so.* -%{tde_libdir}/libartscontrolsupport.la -%{tde_libdir}/libartscontrolsupport.so.* -%{tde_libdir}/libartsgui_idl.la -%{tde_libdir}/libartsgui_idl.so.* -%{tde_libdir}/libartsgui_kde.la -%{tde_libdir}/libartsgui_kde.so.* -%{tde_libdir}/libartsgui.la -%{tde_libdir}/libartsgui.so.* -%{tde_libdir}/libartsmidi_idl.la -%{tde_libdir}/libartsmidi_idl.so.* -%{tde_libdir}/libartsmidi.la -%{tde_libdir}/libartsmidi.so.* -%{tde_libdir}/libartsmodulescommon.la -%{tde_libdir}/libartsmodulescommon.so.* -%{tde_libdir}/libartsmoduleseffects.la -%{tde_libdir}/libartsmoduleseffects.so.* -%{tde_libdir}/libartsmodulesmixers.la -%{tde_libdir}/libartsmodulesmixers.so.* -%{tde_libdir}/libartsmodules.la -%{tde_libdir}/libartsmodules.so.* -%{tde_libdir}/libartsmodulessynth.la -%{tde_libdir}/libartsmodulessynth.so.* -%{tde_libdir}/mcop/Arts/ArtsBuilderLoader.mcopclass -%{tde_libdir}/mcop/artsbuilder.mcopclass -%{tde_libdir}/mcop/artsbuilder.mcoptype -%{tde_libdir}/mcop/Arts/Button.mcopclass -%{tde_libdir}/mcop/Arts/EffectRackGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/Effect_WAVECAPTURE.mcopclass -%{tde_libdir}/mcop/Arts/Environment/Container.mcopclass -%{tde_libdir}/mcop/Arts/Environment/EffectRackItem.mcopclass -%{tde_libdir}/mcop/Arts/Environment/InstrumentItemGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/Environment/InstrumentItem.mcopclass -%{tde_libdir}/mcop/Arts/Environment/MixerItem.mcopclass -%{tde_libdir}/mcop/Arts/Fader.mcopclass -%{tde_libdir}/mcop/Arts/FiveBandMonoComplexEQGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/FiveBandMonoComplexEQ.mcopclass -%{tde_libdir}/mcop/Arts/FreeverbGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/GenericGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/GraphLine.mcopclass -%{tde_libdir}/mcop/artsgui.mcopclass -%{tde_libdir}/mcop/artsgui.mcoptype -%{tde_libdir}/mcop/Arts/HBox.mcopclass -%{tde_libdir}/mcop/Arts/Label.mcopclass -%{tde_libdir}/mcop/Arts/LayoutBox.mcopclass -%{tde_libdir}/mcop/Arts/LevelMeter.mcopclass -%{tde_libdir}/mcop/Arts/LineEdit.mcopclass -%{tde_libdir}/mcop/Arts/LittleStereoMixerChannelGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/LittleStereoMixerChannel.mcopclass -%{tde_libdir}/mcop/Arts/LocalFactory.mcopclass -%{tde_libdir}/mcop/Arts/MidiManager.mcopclass -%{tde_libdir}/mcop/artsmidi.mcopclass -%{tde_libdir}/mcop/artsmidi.mcoptype -%{tde_libdir}/mcop/Arts/MixerGuiFactory.mcopclass -%{tde_libdir}/mcop/artsmodulescommon.mcopclass -%{tde_libdir}/mcop/artsmodulescommon.mcoptype -%{tde_libdir}/mcop/artsmoduleseffects.mcopclass -%{tde_libdir}/mcop/artsmoduleseffects.mcoptype -%{tde_libdir}/mcop/artsmodules.mcopclass -%{tde_libdir}/mcop/artsmodules.mcoptype -%{tde_libdir}/mcop/artsmodulesmixers.mcopclass -%{tde_libdir}/mcop/artsmodulesmixers.mcoptype -%{tde_libdir}/mcop/artsmodulessynth.mcopclass -%{tde_libdir}/mcop/artsmodulessynth.mcoptype -%{tde_libdir}/mcop/Arts/MonoSimpleMixerChannelGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/MonoSimpleMixerChannel.mcopclass -%{tde_libdir}/mcop/Arts/MonoToStereo.mcopclass -%{tde_libdir}/mcop/Arts/PopupBox.mcopclass -%{tde_libdir}/mcop/Arts/Poti.mcopclass -%{tde_libdir}/mcop/Arts/SimpleMixerChannelGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/SimpleMixerChannel.mcopclass -%{tde_libdir}/mcop/Arts/SpinBox.mcopclass -%{tde_libdir}/mcop/Arts/StereoBalanceGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/StereoBalance.mcopclass -%{tde_libdir}/mcop/Arts/StereoCompressorGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/StereoFirEqualizerGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/StereoToMono.mcopclass -%{tde_libdir}/mcop/Arts/StereoVolumeControlGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/StereoVolumeControlGui.mcopclass -%{tde_libdir}/mcop/Arts/StructureBuilder.mcopclass -%{tde_libdir}/mcop/Arts/StructureDesc.mcopclass -%{tde_libdir}/mcop/Arts/Synth_ATAN_SATURATE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_AUTOPANNER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_BRICKWALL_LIMITER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_CAPTURE_WAV.mcopclass -%{tde_libdir}/mcop/Arts/Synth_CDELAY.mcopclass -%{tde_libdir}/mcop/Arts/Synth_COMPRESSOR.mcopclass -%{tde_libdir}/mcop/Arts/Synth_DATA.mcopclass -%{tde_libdir}/mcop/Arts/Synth_DEBUG.mcopclass -%{tde_libdir}/mcop/Arts/Synth_DELAY.mcopclass -%{tde_libdir}/mcop/Arts/Synth_DIV.mcopclass -%{tde_libdir}/mcop/Arts/Synth_ENVELOPE_ADSR.mcopclass -%{tde_libdir}/mcop/Arts/Synth_FM_SOURCE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_FREEVERB.mcopclass -%{tde_libdir}/mcop/Arts/Synth_FX_CFLANGER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_MIDI_DEBUG.mcopclass -%{tde_libdir}/mcop/Arts/Synth_MIDI_TEST.mcopclass -%{tde_libdir}/mcop/Arts/Synth_MOOG_VCF.mcopclass -%{tde_libdir}/mcop/Arts/Synth_NIL.mcopclass -%{tde_libdir}/mcop/Arts/Synth_NOISE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_OSC.mcopclass -%{tde_libdir}/mcop/Arts/Synth_PITCH_SHIFT_FFT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_PITCH_SHIFT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_PLAY_PAT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_PSCALE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_RC.mcopclass -%{tde_libdir}/mcop/Arts/Synth_SEQUENCE_FREQ.mcopclass -%{tde_libdir}/mcop/Arts/Synth_SEQUENCE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_SHELVE_CUTOFF.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STD_EQUALIZER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STEREO_COMPRESSOR.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STEREO_FIR_EQUALIZER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STEREO_PITCH_SHIFT_FFT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STEREO_PITCH_SHIFT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_TREMOLO.mcopclass -%{tde_libdir}/mcop/Arts/Synth_VOICE_REMOVAL.mcopclass -%{tde_libdir}/mcop/Arts/Synth_WAVE_PULSE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_WAVE_SOFTSAW.mcopclass -%{tde_libdir}/mcop/Arts/Synth_WAVE_SQUARE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_WAVE_TRI.mcopclass -%{tde_libdir}/mcop/Arts/Synth_XFADE.mcopclass -%{tde_libdir}/mcop/Arts/VBox.mcopclass -%{tde_libdir}/mcop/Arts/VoiceRemovalGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/Widget.mcopclass -%{tde_tdeappdir}/artsbuilder.desktop -%{tde_tdeappdir}/artscontrol.desktop -%{tde_datadir}/apps/artsbuilder/ -%{tde_datadir}/apps/artscontrol/ -%{tde_datadir}/apps/kicker/applets/artscontrolapplet.desktop -%{tde_datadir}/icons/crystalsvg/*/actions/artsaudiomanager.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsbuilderexecute.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsenvironment.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsfftscope.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsmediatypes.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsmidimanager.png -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsaudiomanager.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsenvironment.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsfftscope.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsmediatypes.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsmidimanager.svgz -%{tde_datadir}/icons/hicolor/*/apps/artsbuilder.png -%{tde_datadir}/icons/hicolor/*/apps/artscontrol.png -%{tde_datadir}/icons/hicolor/scalable/apps/artsbuilder.svgz -%{tde_datadir}/icons/hicolor/scalable/apps/artscontrol.svgz -%{tde_datadir}/mimelnk/application/x-artsbuilder.desktop -%{tde_tdedocdir}/HTML/en/artsbuilder/ - -%post -n trinity-artsbuilder -/sbin/ldconfig -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-artsbuilder -/sbin/ldconfig -for f in crystalsvg hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-juk -Summary: Music organizer and player for Trinity -Group: Applications/Multimedia - -%description -n trinity-juk -JuK (pronounced "jook") is a jukebox and music manager for the TDE -desktop similar to jukebox software on other platforms such as -iTunes or RealOne. - -Some of JuK's features include: -* Support for Ogg Vorbis and MP3 formats -* Tag editing support for both formats, including ID3v2 for MP3 files. - Multitagging or editing a selection of multiple files at once is also - supported -* Output to either the aRts, default KDE sound system, or GStreamer -* Management of your "collection" and multiple playlists -* Import and export to m3u playlists -* Binary caching of audio meta-data and playlist information for faster - load times (starting with the second time you run JuK) -* Integration into TDE that allows drag-and-drop and clipboard usage - with other TDE and X apps - -%files -n trinity-juk -%defattr(-,root,root,-) -%{tde_bindir}/juk -%{tde_tdeappdir}/juk.desktop -%{tde_datadir}/apps/juk/ -%{tde_datadir}/apps/konqueror/servicemenus/jukservicemenu.desktop -%{tde_datadir}/icons/crystalsvg/*/actions/juk_dock.png -%{tde_datadir}/icons/hicolor/*/apps/juk.png -%{tde_tdedocdir}/HTML/en/juk/ - -%post -n trinity-juk -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-juk -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kaboodle -Summary: light, embedded media player for Trinity -Group: Applications/Multimedia - -%if 0%{?with_xine} -Requires: trinity-libarts-xine = %{version}-%{release} -%endif - -%description -n trinity-kaboodle -Kaboodle is a light, embedded media player, supporting both video and audio, -for TDE. It uses the aRts framework for playing media files. - -%files -n trinity-kaboodle -%defattr(-,root,root,-) -%{tde_bindir}/kaboodle -%{tde_tdelibdir}/libkaboodlepart.la -%{tde_tdelibdir}/libkaboodlepart.so -%{tde_tdeappdir}/kaboodle.desktop -%{tde_datadir}/apps/kaboodle/ -%{tde_datadir}/icons/hicolor/*/apps/kaboodle.png -%{tde_datadir}/services/kaboodle_component.desktop -%{tde_datadir}/services/kaboodleengine.desktop -%{tde_tdedocdir}/HTML/en/kaboodle/ - -%post -n trinity-kaboodle -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kaboodle -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kaudiocreator -Summary: CD ripper and audio encoder frontend for Trinity -Group: Applications/Multimedia - -Requires: %{name}-tdeio-plugins = %{version}-%{release} -Requires: vorbis-tools -Requires: flac - -%description -n trinity-kaudiocreator -KAudioCreator is a tool for audio extraction (ripping) and encoding. It can -keep your WAV files, or convert them to Ogg/Vorbis, MP3, or FLAC. It also -searches CDDB to retrieve the information of the disk. - -%files -n trinity-kaudiocreator -%defattr(-,root,root,-) -%{tde_bindir}/kaudiocreator -%{tde_tdeappdir}/kaudiocreator.desktop -%{tde_datadir}/apps/kaudiocreator/ -%{tde_datadir}/apps/kconf_update/kaudiocreator-libkcddb.upd -%{tde_datadir}/apps/kconf_update/kaudiocreator-meta.upd -%{tde_datadir}/apps/kconf_update/upgrade-kaudiocreator-metadata.sh -%{tde_datadir}/apps/konqueror/servicemenus/audiocd_extract.desktop -%{tde_datadir}/config.kcfg/kaudiocreator.kcfg -%{tde_datadir}/config.kcfg/kaudiocreator_encoders.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kaudiocreator.png -%{tde_datadir}/icons/locolor/*/apps/kaudiocreator.png -%{tde_tdedocdir}/HTML/en/kaudiocreator/ - -%post -n trinity-kaudiocreator -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kaudiocreator -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package kfile-plugins -Summary: au/avi/m3u/mp3/ogg/wav plugins for kfile -Group: Applications/Multimedia - -%description kfile-plugins -au/avi/m3u/mp3/ogg/wav file metainformation plugins for Trinity. - -%files kfile-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/kfile_au.la -%{tde_tdelibdir}/kfile_au.so -%{tde_tdelibdir}/kfile_avi.la -%{tde_tdelibdir}/kfile_avi.so -%{tde_tdelibdir}/kfile_flac.la -%{tde_tdelibdir}/kfile_flac.so -%{tde_tdelibdir}/kfile_m3u.la -%{tde_tdelibdir}/kfile_m3u.so -%{tde_tdelibdir}/kfile_mp3.la -%{tde_tdelibdir}/kfile_mp3.so -%{tde_tdelibdir}/kfile_mpc.la -%{tde_tdelibdir}/kfile_mpc.so -%{tde_tdelibdir}/kfile_mpeg.la -%{tde_tdelibdir}/kfile_mpeg.so -%{tde_tdelibdir}/kfile_ogg.la -%{tde_tdelibdir}/kfile_ogg.so -%{tde_tdelibdir}/kfile_sid.la -%{tde_tdelibdir}/kfile_sid.so -%{tde_tdelibdir}/kfile_theora.la -%{tde_tdelibdir}/kfile_theora.so -%{tde_tdelibdir}/kfile_wav.la -%{tde_tdelibdir}/kfile_wav.so -%{tde_datadir}/services/kfile_au.desktop -%{tde_datadir}/services/kfile_avi.desktop -%{tde_datadir}/services/kfile_flac.desktop -%{tde_datadir}/services/kfile_m3u.desktop -%{tde_datadir}/services/kfile_mp3.desktop -%{tde_datadir}/services/kfile_mpc.desktop -%{tde_datadir}/services/kfile_mpeg.desktop -%{tde_datadir}/services/kfile_ogg.desktop -%{tde_datadir}/services/kfile_sid.desktop -%{tde_datadir}/services/kfile_theora.desktop -%{tde_datadir}/services/kfile_wav.desktop - -########## - -%package kappfinder-data -Summary: multimedia data for kappfinder-trinity -Group: Applications/Multimedia - -Requires: trinity-kappfinder - -%description kappfinder-data -This package provides data on multimedia applications for kappfinder. - -%files kappfinder-data -%defattr(-,root,root,-) -%{tde_datadir}/apps/kappfinder/* -%{tde_datadir}/desktop-directories/[kt]de-multimedia-music.directory -%{tde_prefix}/etc/xdg/menus/applications-merged/trinity-multimedia-music.menu - -########## - -%package tdeio-plugins -Summary: Enables the browsing of audio CDs under Konqueror -Group: Applications/Multimedia - -Obsoletes: trinity-tdemultimedia-kio-plugins < %{version}-%{release} -Provides: trinity-tdemultimedia-kio-plugins = %{version}-%{release} - -%description tdeio-plugins -This package allow audio CDs to be browsed like a file system using -Konqueror and the audiocd:/ URL. - -%files tdeio-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_audiocd.la -%{tde_tdelibdir}/kcm_audiocd.so -%{tde_tdelibdir}/kio_audiocd.la -%{tde_tdelibdir}/kio_audiocd.so -%{tde_tdelibdir}/libaudiocd_encoder_flac.la -%{tde_tdelibdir}/libaudiocd_encoder_flac.so -%{tde_tdelibdir}/libaudiocd_encoder_lame.la -%{tde_tdelibdir}/libaudiocd_encoder_lame.so -%{tde_tdelibdir}/libaudiocd_encoder_vorbis.la -%{tde_tdelibdir}/libaudiocd_encoder_vorbis.so -%{tde_tdelibdir}/libaudiocd_encoder_wav.la -%{tde_tdelibdir}/libaudiocd_encoder_wav.so -%{tde_libdir}/libaudiocdplugins.so.* -%{tde_tdeappdir}/audiocd.desktop -%{tde_datadir}/apps/kconf_update/audiocd.upd -%{tde_datadir}/apps/kconf_update/upgrade-metadata.sh -%{tde_datadir}/config.kcfg/audiocd_lame_encoder.kcfg -%{tde_datadir}/config.kcfg/audiocd_vorbis_encoder.kcfg -%{tde_datadir}/services/audiocd.protocol -%{tde_tdedocdir}/HTML/en/kioslave/audiocd.docbook - -%post tdeio-plugins -/sbin/ldconfig -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun tdeio-plugins -/sbin/ldconfig -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kmid -Summary: MIDI/karaoke player for Trinity -Group: Applications/Multimedia - -%description -n trinity-kmid -This package provides a MIDI and karaoke player for TDE. - -%files -n trinity-kmid -%defattr(-,root,root,-) -%{tde_bindir}/kmid -%{tde_tdelibdir}/libkmidpart.la -%{tde_tdelibdir}/libkmidpart.so -%{tde_libdir}/libkmidlib.so.* -%{tde_tdeappdir}/kmid.desktop -%{tde_datadir}/apps/kmid/ -%{tde_datadir}/icons/hicolor/*/apps/kmid.png -%{tde_datadir}/mimelnk/audio/x-karaoke.desktop -%{tde_datadir}/servicetypes/audiomidi.desktop -%{tde_tdedocdir}/HTML/en/kmid/ - -%post -n trinity-kmid -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kmid -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kmix -Summary: Sound mixer applet for Trinity -Group: Applications/Multimedia - -%description -n trinity-kmix -This package includes TDE's dockable sound mixer applet. - -%files -n trinity-kmix -%defattr(-,root,root,-) -%{tde_bindir}/kmix -%{tde_bindir}/kmixctrl -%{tde_tdelibdir}/kmix.la -%{tde_tdelibdir}/kmix.so -%{tde_tdelibdir}/kmix_panelapplet.la -%{tde_tdelibdir}/kmix_panelapplet.so -%{tde_tdelibdir}/kmixctrl.la -%{tde_tdelibdir}/kmixctrl.so -%{tde_libdir}/lib[kt]deinit_kmix.so -%{tde_libdir}/lib[kt]deinit_kmixctrl.so -%{tde_tdeappdir}/kmix.desktop -%{tde_datadir}/apps/kicker/applets/kmixapplet.desktop -%{tde_datadir}/apps/kmix/ -%{tde_datadir}/autostart/kmix.desktop -%{tde_datadir}/autostart/restore_kmix_volumes.desktop -%{tde_datadir}/icons/hicolor/*/apps/kmix.png -%{tde_datadir}/services/kmixctrl_restore.desktop -%{tde_tdedocdir}/HTML/en/kmix/ - -%post -n trinity-kmix -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kmix -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-krec -Summary: Sound recorder utility for Trinity -Group: Applications/Multimedia - -%description -n trinity-krec -This is a sound recording utility for Trinity. - -%files -n trinity-krec -%defattr(-,root,root,-) -%{tde_bindir}/krec -%{tde_tdelibdir}/kcm_krec.la -%{tde_tdelibdir}/kcm_krec.so -%{tde_tdelibdir}/kcm_krec_files.la -%{tde_tdelibdir}/kcm_krec_files.so -%{tde_tdelibdir}/krec.la -%{tde_tdelibdir}/krec.so -%if %{?with_lame} -%{tde_tdelibdir}/libkrecexport_mp3.la -%{tde_tdelibdir}/libkrecexport_mp3.so -%{tde_datadir}/services/krec_exportmp3.desktop -%endif -%{tde_tdelibdir}/libkrecexport_ogg.la -%{tde_tdelibdir}/libkrecexport_ogg.so -%{tde_tdelibdir}/libkrecexport_wave.la -%{tde_tdelibdir}/libkrecexport_wave.so -%{tde_libdir}/lib[kt]deinit_krec.so -%{tde_tdeappdir}/krec.desktop -%{tde_datadir}/apps/krec/ -%{tde_datadir}/icons/hicolor/*/apps/krec.png -%{tde_datadir}/services/kcm_krec.desktop -%{tde_datadir}/services/kcm_krec_files.desktop -%{tde_datadir}/services/krec_exportogg.desktop -%{tde_datadir}/services/krec_exportwave.desktop -%{tde_datadir}/servicetypes/krec_exportitem.desktop -%{tde_tdedocdir}/HTML/en/krec/ - -%post -n trinity-krec -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-krec -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kscd -Summary: Audio CD player for Trinity -Group: Applications/Multimedia - -%description -n trinity-kscd -This is Trinity's audio CD player. - -%files -n trinity-kscd -%defattr(-,root,root,-) -%{tde_bindir}/kscd -%{tde_bindir}/workman2cddb.pl -%{tde_tdeappdir}/kscd.desktop -%{tde_datadir}/apps/konqueror/servicemenus/audiocd_play.desktop -%{tde_datadir}/apps/kscd/ -%{tde_datadir}/apps/profiles/kscd.profile.xml -%{tde_datadir}/config.kcfg/kscd.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kscd.png -%{tde_datadir}/mimelnk/text/xmcd.desktop -%{tde_tdedocdir}/HTML/en/kscd/ - -%post -n trinity-kscd -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kscd -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-libarts-akode -Summary: Akode plugin for aRts -Group: Environment/Libraries - -%description -n trinity-libarts-akode -This package contains akode plugins for aRts. - -%files -n trinity-libarts-akode -%defattr(-,root,root,-) -%{tde_libdir}/libarts_akode.so.* -%{tde_libdir}/libarts_akode.la -%{tde_libdir}/mcop/akodearts.mcoptype -%{tde_libdir}/mcop/akodearts.mcopclass -%{tde_libdir}/mcop/akodeMPCPlayObject.mcopclass -%{tde_libdir}/mcop/akodePlayObject.mcopclass -%{tde_libdir}/mcop/akodeSpeexStreamPlayObject.mcopclass -%{tde_libdir}/mcop/akodeVorbisStreamPlayObject.mcopclass -%{tde_libdir}/mcop/akodeXiphPlayObject.mcopclass - -# Requires MAD support -%{tde_libdir}/mcop/akodeMPEGPlayObject.mcopclass - -%post -n trinity-libarts-akode -/sbin/ldconfig - -%postun -n trinity-libarts-akode -/sbin/ldconfig - -########## - -%package -n trinity-libarts-audiofile -Summary: Audiofile plugin for aRts -Group: Environment/Libraries - -%description -n trinity-libarts-audiofile -This package contains audiofile plugins for aRts. - -%files -n trinity-libarts-audiofile -%defattr(-,root,root,-) -%{tde_libdir}/libarts_audiofile.so.* -%{tde_libdir}/libarts_audiofile.la -%{tde_libdir}/mcop/Arts/audiofilePlayObject.mcopclass -%{tde_libdir}/mcop/audiofilearts.mcopclass -%{tde_libdir}/mcop/audiofilearts.mcoptype - -%post -n trinity-libarts-audiofile -/sbin/ldconfig - -%postun -n trinity-libarts-audiofile -/sbin/ldconfig - -########## - -%package -n trinity-libarts-mpeglib -Summary: Mpeglib plugin for aRts, supporting mp3 and mpeg audio/video -Group: Environment/Libraries - -%description -n trinity-libarts-mpeglib -This package contains the mpeglib aRts plugin, supporting mp3 and mpeg -audio and video. - -This is the arts (TDE Sound daemon) plugin. - -%files -n trinity-libarts-mpeglib -%defattr(-,root,root,-) -%{tde_bindir}/mpeglibartsplay -%{tde_libdir}/libarts_mpeglib-0.3.0.so.* -%{tde_libdir}/libarts_mpeglib.la -%{tde_libdir}/libarts_splay.so.* -%{tde_libdir}/libarts_splay.la -%{tde_libdir}/mcop/CDDAPlayObject.mcopclass -%{tde_libdir}/mcop/MP3PlayObject.mcopclass -%{tde_libdir}/mcop/NULLPlayObject.mcopclass -%{tde_libdir}/mcop/OGGPlayObject.mcopclass -%{tde_libdir}/mcop/SplayPlayObject.mcopclass -%{tde_libdir}/mcop/WAVPlayObject.mcopclass - -%post -n trinity-libarts-mpeglib -/sbin/ldconfig - -%postun -n trinity-libarts-mpeglib -/sbin/ldconfig - -########## - -%if 0%{?with_xine} -%package -n trinity-libarts-xine -Summary: aRts plugin enabling xine support -Group: Environment/Libraries - -%description -n trinity-libarts-xine -This package contains aRts' xine plugin, allowing the use of the xine -multimedia engine though aRts. - -%files -n trinity-libarts-xine -%defattr(-,root,root,-) -%{tde_tdelibdir}/videothumbnail.la -%{tde_tdelibdir}/videothumbnail.so -%{tde_libdir}/libarts_xine.so.* -%{tde_libdir}/libarts_xine.la -%{tde_libdir}/mcop/xineAudioPlayObject.mcopclass -%{tde_libdir}/mcop/xineVideoPlayObject.mcopclass -%{tde_datadir}/apps/videothumbnail/sprocket-large.png -%{tde_datadir}/apps/videothumbnail/sprocket-medium.png -%{tde_datadir}/apps/videothumbnail/sprocket-small.png -%{tde_datadir}/services/videothumbnail.desktop - -%post -n trinity-libarts-xine -/sbin/ldconfig - -%postun -n trinity-libarts-xine -/sbin/ldconfig -%endif - -########## - -%package -n trinity-libkcddb -Summary: CDDB library for Trinity -Group: Environment/Libraries - -%description -n trinity-libkcddb -The Trinity native CDDB (CD Data Base) library, providing easy access to Audio -CD meta-information (track titles, artist information, etc.) from on-line -databases, for TDE applications. - -%files -n trinity-libkcddb -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_cddb.la -%{tde_tdelibdir}/kcm_cddb.so -%{tde_libdir}/libkcddb.so.* -%{tde_tdeappdir}/libkcddb.desktop -%{tde_datadir}/apps/kconf_update/kcmcddb-emailsettings.upd -%{tde_datadir}/config.kcfg/libkcddb.kcfg - -%post -n trinity-libkcddb -/sbin/ldconfig -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-libkcddb -/sbin/ldconfig -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-mpeglib -Summary: MP3 and MPEG-1 audio and video library -Group: Environment/Libraries -Requires: trinity-libarts-mpeglib = %{version}-%{release} - -%description -n trinity-mpeglib -mpeglib is a MPEG-1 and MP3 audio and video library. It supports -MPEG-1 audio (layers 1, 2, 3), MPEG-1 video, MPEG-1 system layer, -and WAV playback - -%files -n trinity-mpeglib -%defattr(-,root,root,-) -%{tde_bindir}/yaf-cdda -%{tde_bindir}/yaf-mpgplay -%{tde_bindir}/yaf-splay -%{tde_bindir}/yaf-tplay -%{tde_bindir}/yaf-vorbis -%{tde_bindir}/yaf-yuv -%{tde_libdir}/libmpeg-0.3.0.so -%{tde_libdir}/libyafcore.so -%{tde_libdir}/libyafxplayer.so - -%post -n trinity-mpeglib -/sbin/ldconfig - -%postun -n trinity-mpeglib -/sbin/ldconfig - -########## - -%package -n trinity-noatun -Summary: Media player for Trinity -Group: Applications/Multimedia - -# 20120802: Hack to avoid dependency issue on MGA2 and MDV2011 -%if 0%{?mgaversion} || 0%{?mdkversion} -Provides: devel(libnoatunarts) -Provides: devel(libnoatunarts(64bit)) -%endif - -%description -n trinity-noatun -Noatun is an aRts-based audio and video player for Trinity. It supports all -formats supported by your installation of aRts (including aRts plugins). - -%files -n trinity-noatun -%defattr(-,root,root,-) -%{tde_bindir}/noatun -%{tde_libdir}/kconf_update_bin/noatun20update -%{tde_tdelibdir}/noatun.la -%{tde_tdelibdir}/noatun.so -%{tde_tdelibdir}/noatun_dcopiface.la -%{tde_tdelibdir}/noatun_dcopiface.so -%{tde_tdelibdir}/noatun_excellent.la -%{tde_tdelibdir}/noatun_excellent.so -%{tde_tdelibdir}/noatun_htmlexport.la -%{tde_tdelibdir}/noatun_htmlexport.so -%{tde_tdelibdir}/noatun_infrared.la -%{tde_tdelibdir}/noatun_infrared.so -%{tde_tdelibdir}/noatun_kaiman.la -%{tde_tdelibdir}/noatun_kaiman.so -%{tde_tdelibdir}/noatun_keyz.la -%{tde_tdelibdir}/noatun_keyz.so -%{tde_tdelibdir}/noatun_kjofol.la -%{tde_tdelibdir}/noatun_kjofol.so -%{tde_tdelibdir}/noatun_marquis.la -%{tde_tdelibdir}/noatun_marquis.so -%{tde_tdelibdir}/noatun_metatag.la -%{tde_tdelibdir}/noatun_metatag.so -%{tde_tdelibdir}/noatun_monoscope.la -%{tde_tdelibdir}/noatun_monoscope.so -%{tde_tdelibdir}/noatun_net.la -%{tde_tdelibdir}/noatun_net.so -%{tde_tdelibdir}/noatun_splitplaylist.la -%{tde_tdelibdir}/noatun_splitplaylist.so -%{tde_tdelibdir}/noatun_systray.la -%{tde_tdelibdir}/noatun_systray.so -%{tde_tdelibdir}/noatun_ui.la -%{tde_tdelibdir}/noatun_ui.so -%{tde_tdelibdir}/noatun_voiceprint.la -%{tde_tdelibdir}/noatun_voiceprint.so -%{tde_tdelibdir}/noatun_winskin.la -%{tde_tdelibdir}/noatun_winskin.so -%{tde_tdelibdir}/noatunsimple.la -%{tde_tdelibdir}/noatunsimple.so -%{tde_libdir}/libartseffects.la -%{tde_libdir}/libartseffects.so -%{tde_libdir}/lib[kt]deinit_noatun.so -%{tde_libdir}/libnoatun.so.* -%{tde_libdir}/libnoatunarts.la -%{tde_libdir}/libnoatunarts.so -%{tde_libdir}/libnoatuncontrols.so.* -%{tde_libdir}/libnoatuntags.so.* -%{tde_libdir}/libwinskinvis.la -%{tde_libdir}/libwinskinvis.so -%{tde_libdir}/mcop/ExtraStereo.mcopclass -%{tde_libdir}/mcop/ExtraStereoGuiFactory.mcopclass -%{tde_libdir}/mcop/Noatun/ -%{tde_libdir}/mcop/RawWriter.mcopclass -%{tde_libdir}/mcop/VoiceRemoval.mcopclass -%{tde_libdir}/mcop/artseffects.mcopclass -%{tde_libdir}/mcop/artseffects.mcoptype -%{tde_libdir}/mcop/noatunarts.mcopclass -%{tde_libdir}/mcop/noatunarts.mcoptype -%{tde_libdir}/mcop/winskinvis.mcopclass -%{tde_libdir}/mcop/winskinvis.mcoptype -%{tde_tdeappdir}/noatun.desktop -%{tde_datadir}/apps/kconf_update/noatun.upd -%{tde_datadir}/apps/noatun/ -%{tde_datadir}/icons/hicolor/*/apps/noatun.png -%{tde_datadir}/mimelnk/interface/x-winamp-skin.desktop -%{tde_tdedocdir}/HTML/en/noatun/ - -%post -n trinity-noatun -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-noatun -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package devel -Summary: Development files for %{name}, aRts and noatun plugins -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} -Requires: trinity-tdelibs-devel >= 3.5.13 - -Obsoletes: trinity-kdemultimedia-devel < %{version}-%{release} -Provides: trinity-kdemultimedia-devel = %{version}-%{release} - -%description devel -{summary}. - -Install %{name}-devel if you wish to develop or compile any -applications using aRtsbuilder, aRtsmidi, aRtskde, aRts modules or -noatun plugins. - -%files devel -%defattr(-,root,root,-) -%{tde_includedir}/* -%{tde_libdir}/libarts_akode.so -%{tde_libdir}/libarts_audiofile.so -%{tde_libdir}/libarts_mpeglib.so -%{tde_libdir}/libarts_splay.so -%{?with_xine:%{tde_libdir}/libarts_xine.so} -%{tde_libdir}/libartsbuilder.so -%{tde_libdir}/libartscontrolapplet.so -%{tde_libdir}/libartscontrolsupport.so -%{tde_libdir}/libartsgui.so -%{tde_libdir}/libartsgui_idl.so -%{tde_libdir}/libartsgui_kde.so -%{tde_libdir}/libartsmidi.so -%{tde_libdir}/libartsmidi_idl.so -%{tde_libdir}/libartsmodules.so -%{tde_libdir}/libartsmodulescommon.so -%{tde_libdir}/libartsmoduleseffects.so -%{tde_libdir}/libartsmodulesmixers.so -%{tde_libdir}/libartsmodulessynth.so -%{tde_libdir}/libaudiocdplugins.la -%{tde_libdir}/libaudiocdplugins.so -%{tde_libdir}/libkcddb.la -%{tde_libdir}/libkcddb.so -%{tde_libdir}/lib[kt]deinit_kmix.la -%{tde_libdir}/lib[kt]deinit_kmixctrl.la -%{tde_libdir}/lib[kt]deinit_krec.la -%{tde_libdir}/lib[kt]deinit_noatun.la -%{tde_libdir}/libkmidlib.la -%{tde_libdir}/libkmidlib.so -%{tde_libdir}/libmpeg.la -%{tde_libdir}/libmpeg.so -%{tde_libdir}/libnoatun.la -%{tde_libdir}/libnoatun.so -%{tde_libdir}/libnoatuncontrols.la -%{tde_libdir}/libnoatuncontrols.so -%{tde_libdir}/libnoatuntags.la -%{tde_libdir}/libnoatuntags.so -%{tde_libdir}/libyafcore.la -%{tde_libdir}/libyafxplayer.la - -%post devel -/sbin/ldconfig - -%postun devel -/sbin/ldconfig - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -# Specific path for RHEL4 -if [ -d "/usr/X11R6" ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --includedir=%{tde_tdeincludedir} \ - --datadir=%{tde_datadir} \ - --enable-new-ldflags \ - --disable-dependency-tracking \ - --with-cdparanoia \ - --with-flac \ - --with-theora \ - --with-vorbis \ - --with-alsa \ - --with-gstreamer \ - --with-lame \ - --disable-debug \ - --disable-warnings \ - --enable-final \ - --disable-rpath \ - %{?_with_akode} %{!?_with_akode:--without-akode} \ - %{?_with_musicbrainz} %{!?_with_musicbrainz:--without-musicbrainz} \ - %{?_with_taglib} %{!?_with_taglib:--without-taglib} \ - %{?with_xine:--with-xine} %{!?with_xine:--without-xine} \ - --with-extra-includes="%{_includedir}/cdda:%{_includedir}/cddb:%{tde_includedir}/tqt:%{tde_tdeincludedir}/arts:%{tde_includedir}/artsc" \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{buildroot} - -# don't make these world-writeable -chmod go-w %{buildroot}%{tde_datadir}/apps/kscd/* - -# locale's -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common - done - popd - fi -done -fi - -# Moves the XDG configuration files to TDE directory -%__install -p -D -m644 \ - "%{?buildroot}%{_sysconfdir}/xdg/menus/applications-merged/kde-multimedia-music.menu" \ - "%{?buildroot}%{tde_prefix}/etc/xdg/menus/applications-merged/trinity-multimedia-music.menu" -%__rm -rf "%{?buildroot}%{_sysconfdir}/xdg" - - -%clean -%__rm -rf %{buildroot} - - -%changelog -* Mon Jun 17 2013 Francois Andriot - 3.5.13.2-2 -- Enable "LAME" support - -* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 -- Initial release for TDE 3.5.13.2 diff --git a/redhat/tdemultimedia/trinity-tdemultimedia-3.5.13.2.spec b/redhat/tdemultimedia/trinity-tdemultimedia-3.5.13.2.spec deleted file mode 100644 index 1e4b2a989..000000000 --- a/redhat/tdemultimedia/trinity-tdemultimedia-3.5.13.2.spec +++ /dev/null @@ -1,1241 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -# former extras bits -%define _with_akode --with-akode -## not currently compatible with libtunepimp-0.5 (only libtunepimp-0.4) -#define _with_musicbrainz --with-musicbrainz -%define _with_taglib --with-taglib - -Name: trinity-tdemultimedia -Summary: Multimedia applications for the Trinity Desktop Environment (TDE) -Version: 3.5.13.2 -Release: %{?!preversion:2}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} - -License: GPLv2 -Group: Applications/Multimedia - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz - -Patch0: tdemultimedia-3.5.13.2-ftbfs.patch - -Obsoletes: trinity-kdemultimedia < %{version}-%{release} -Provides: trinity-kdemultimedia = %{version}-%{release} -Obsoletes: trinity-kdemultimedia-libs < %{version}-%{release} -Provides: trinity-kdemultimedia-libs = %{version}-%{release} -Obsoletes: trinity-kdemultimedia-extras < %{version}-%{release} -Provides: trinity-kdemultimedia-extras = %{version}-%{release} -Obsoletes: trinity-kdemultimedia-extras-libs < %{version}-%{release} -Provides: trinity-kdemultimedia-extras-libs = %{version}-%{release} - - -BuildRequires: autoconf automake libtool m4 -BuildRequires: qt3-devel -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-arts-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} - -%if "%{?_with_akode}" != "" -BuildRequires: trinity-akode-devel -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} -BuildRequires: trinity-akode-libmad -%endif -%endif - -BuildRequires: desktop-file-utils -BuildRequires: zlib-devel - -# Audio libraries -BuildRequires: libvorbis-devel -BuildRequires: audiofile-devel -BuildRequires: libtheora-devel -BuildRequires: alsa-lib-devel -%{?_with_musicbrainz:BuildRequires: libmusicbrainz-devel libtunepimp-devel} -%{?_with_taglib:BuildRequires: taglib-devel} -BuildRequires: cdparanoia - -# CDDA support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: libcdda-devel -%endif -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -BuildRequires: cdparanoia-devel -%endif - -# FLAC support -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} -BuildRequires: libflac-devel -%else -BuildRequires: %{_lib}flac-devel -%endif -%endif -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -BuildRequires: flac-devel -%endif - -# GSTREAMER support -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} -BuildRequires: libgstreamer0.10-devel -%else -BuildRequires: %{_lib}gstreamer0.10-devel -%endif -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: gstreamer-devel -%endif -%if 0%{?suse_version} -BuildRequires: gstreamer-0_10-devel -%endif - -# X11 Libraries -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xxf86dga-devel -BuildRequires: %{_lib}xxf86vm-devel -BuildRequires: %{_lib}xtst%{?mgaversion:6}-devel -%endif -%if 0%{?rhel} == 4 -BuildRequires: xorg-x11-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 -BuildRequires: libXxf86dga-devel -BuildRequires: libXxf86vm-devel -BuildRequires: libXt-devel -%endif - -# XINE support -%if 0%{?fedora} || 0%{?rhel} >= 4 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_xine 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xine-devel -%endif -%if 0%{?fedora} || 0%{?rhel} -BuildRequires: xine-lib-devel -%endif -%if 0%{?suse_version} -BuildRequires: libxine-devel -%endif -%endif - -# LAME support -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} -%define with_lame 1 -%if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} -BuildRequires: liblame-devel -%else -BuildRequires: %{_lib}lame-devel -%endif -%endif -%if 0%{?suse_version} -BuildRequires: libmp3lame-devel -%endif -%if 0%{?fedora} || 0%{?rhel} -BuildRequires: lame-devel -%endif -%endif - -Requires: trinity-artsbuilder = %{version}-%{release} -Requires: trinity-juk = %{version}-%{release} -Requires: trinity-kaboodle = %{version}-%{release} -Requires: trinity-kaudiocreator = %{version}-%{release} -Requires: %{name}-kfile-plugins = %{version}-%{release} -Requires: %{name}-kappfinder-data = %{version}-%{release} -Requires: %{name}-tdeio-plugins = %{version}-%{release} -Requires: trinity-kmid = %{version}-%{release} -Requires: trinity-kmix = %{version}-%{release} -Requires: trinity-krec = %{version}-%{release} -Requires: trinity-kscd = %{version}-%{release} -Requires: trinity-libarts-akode = %{version}-%{release} -Requires: trinity-libarts-audiofile = %{version}-%{release} -Requires: trinity-libarts-mpeglib = %{version}-%{release} -%{?with_xine:Requires: trinity-libarts-xine = %{version}-%{release}} -Requires: trinity-libkcddb = %{version}-%{release} -Requires: trinity-mpeglib = %{version}-%{release} -Requires: trinity-noatun = %{version}-%{release} - - -%description -The Trinity Desktop Environment (TDE) is a GUI desktop for the X Window -System. The %{name} package contains multimedia applications for -TDE, including: - artsbuilder, Synthesizer designer for aRts - juk, a media player - kmid, a midi player - kmix, an audio mixer - arts, additional functionality for the aRts sound system - krec, a recording tool - kscd, an Audio-CD player - kaudiocreator, a graphical frontend for audio file creation - kaboodle, a media player - noatun, a media player - -%files - -########## - -%package -n trinity-artsbuilder -Summary: Synthesizer designer for aRts -Group: Applications/Multimedia - -%description -n trinity-artsbuilder -This is the analog Realtime synthesizer's graphical design tool. - -%files -n trinity-artsbuilder -%defattr(-,root,root,-) -%{tde_bindir}/artsbuilder -%{tde_bindir}/artscontrol -%{tde_bindir}/midisend -%{tde_libdir}/libartsbuilder.la -%{tde_libdir}/libartsbuilder.so.* -%{tde_libdir}/libartscontrolapplet.la -%{tde_libdir}/libartscontrolapplet.so.* -%{tde_libdir}/libartscontrolsupport.la -%{tde_libdir}/libartscontrolsupport.so.* -%{tde_libdir}/libartsgui_idl.la -%{tde_libdir}/libartsgui_idl.so.* -%{tde_libdir}/libartsgui_kde.la -%{tde_libdir}/libartsgui_kde.so.* -%{tde_libdir}/libartsgui.la -%{tde_libdir}/libartsgui.so.* -%{tde_libdir}/libartsmidi_idl.la -%{tde_libdir}/libartsmidi_idl.so.* -%{tde_libdir}/libartsmidi.la -%{tde_libdir}/libartsmidi.so.* -%{tde_libdir}/libartsmodulescommon.la -%{tde_libdir}/libartsmodulescommon.so.* -%{tde_libdir}/libartsmoduleseffects.la -%{tde_libdir}/libartsmoduleseffects.so.* -%{tde_libdir}/libartsmodulesmixers.la -%{tde_libdir}/libartsmodulesmixers.so.* -%{tde_libdir}/libartsmodules.la -%{tde_libdir}/libartsmodules.so.* -%{tde_libdir}/libartsmodulessynth.la -%{tde_libdir}/libartsmodulessynth.so.* -%{tde_libdir}/mcop/Arts/ArtsBuilderLoader.mcopclass -%{tde_libdir}/mcop/artsbuilder.mcopclass -%{tde_libdir}/mcop/artsbuilder.mcoptype -%{tde_libdir}/mcop/Arts/Button.mcopclass -%{tde_libdir}/mcop/Arts/EffectRackGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/Effect_WAVECAPTURE.mcopclass -%{tde_libdir}/mcop/Arts/Environment/Container.mcopclass -%{tde_libdir}/mcop/Arts/Environment/EffectRackItem.mcopclass -%{tde_libdir}/mcop/Arts/Environment/InstrumentItemGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/Environment/InstrumentItem.mcopclass -%{tde_libdir}/mcop/Arts/Environment/MixerItem.mcopclass -%{tde_libdir}/mcop/Arts/Fader.mcopclass -%{tde_libdir}/mcop/Arts/FiveBandMonoComplexEQGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/FiveBandMonoComplexEQ.mcopclass -%{tde_libdir}/mcop/Arts/FreeverbGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/GenericGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/GraphLine.mcopclass -%{tde_libdir}/mcop/artsgui.mcopclass -%{tde_libdir}/mcop/artsgui.mcoptype -%{tde_libdir}/mcop/Arts/HBox.mcopclass -%{tde_libdir}/mcop/Arts/Label.mcopclass -%{tde_libdir}/mcop/Arts/LayoutBox.mcopclass -%{tde_libdir}/mcop/Arts/LevelMeter.mcopclass -%{tde_libdir}/mcop/Arts/LineEdit.mcopclass -%{tde_libdir}/mcop/Arts/LittleStereoMixerChannelGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/LittleStereoMixerChannel.mcopclass -%{tde_libdir}/mcop/Arts/LocalFactory.mcopclass -%{tde_libdir}/mcop/Arts/MidiManager.mcopclass -%{tde_libdir}/mcop/artsmidi.mcopclass -%{tde_libdir}/mcop/artsmidi.mcoptype -%{tde_libdir}/mcop/Arts/MixerGuiFactory.mcopclass -%{tde_libdir}/mcop/artsmodulescommon.mcopclass -%{tde_libdir}/mcop/artsmodulescommon.mcoptype -%{tde_libdir}/mcop/artsmoduleseffects.mcopclass -%{tde_libdir}/mcop/artsmoduleseffects.mcoptype -%{tde_libdir}/mcop/artsmodules.mcopclass -%{tde_libdir}/mcop/artsmodules.mcoptype -%{tde_libdir}/mcop/artsmodulesmixers.mcopclass -%{tde_libdir}/mcop/artsmodulesmixers.mcoptype -%{tde_libdir}/mcop/artsmodulessynth.mcopclass -%{tde_libdir}/mcop/artsmodulessynth.mcoptype -%{tde_libdir}/mcop/Arts/MonoSimpleMixerChannelGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/MonoSimpleMixerChannel.mcopclass -%{tde_libdir}/mcop/Arts/MonoToStereo.mcopclass -%{tde_libdir}/mcop/Arts/PopupBox.mcopclass -%{tde_libdir}/mcop/Arts/Poti.mcopclass -%{tde_libdir}/mcop/Arts/SimpleMixerChannelGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/SimpleMixerChannel.mcopclass -%{tde_libdir}/mcop/Arts/SpinBox.mcopclass -%{tde_libdir}/mcop/Arts/StereoBalanceGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/StereoBalance.mcopclass -%{tde_libdir}/mcop/Arts/StereoCompressorGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/StereoFirEqualizerGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/StereoToMono.mcopclass -%{tde_libdir}/mcop/Arts/StereoVolumeControlGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/StereoVolumeControlGui.mcopclass -%{tde_libdir}/mcop/Arts/StructureBuilder.mcopclass -%{tde_libdir}/mcop/Arts/StructureDesc.mcopclass -%{tde_libdir}/mcop/Arts/Synth_ATAN_SATURATE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_AUTOPANNER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_BRICKWALL_LIMITER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_CAPTURE_WAV.mcopclass -%{tde_libdir}/mcop/Arts/Synth_CDELAY.mcopclass -%{tde_libdir}/mcop/Arts/Synth_COMPRESSOR.mcopclass -%{tde_libdir}/mcop/Arts/Synth_DATA.mcopclass -%{tde_libdir}/mcop/Arts/Synth_DEBUG.mcopclass -%{tde_libdir}/mcop/Arts/Synth_DELAY.mcopclass -%{tde_libdir}/mcop/Arts/Synth_DIV.mcopclass -%{tde_libdir}/mcop/Arts/Synth_ENVELOPE_ADSR.mcopclass -%{tde_libdir}/mcop/Arts/Synth_FM_SOURCE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_FREEVERB.mcopclass -%{tde_libdir}/mcop/Arts/Synth_FX_CFLANGER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_MIDI_DEBUG.mcopclass -%{tde_libdir}/mcop/Arts/Synth_MIDI_TEST.mcopclass -%{tde_libdir}/mcop/Arts/Synth_MOOG_VCF.mcopclass -%{tde_libdir}/mcop/Arts/Synth_NIL.mcopclass -%{tde_libdir}/mcop/Arts/Synth_NOISE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_OSC.mcopclass -%{tde_libdir}/mcop/Arts/Synth_PITCH_SHIFT_FFT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_PITCH_SHIFT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_PLAY_PAT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_PSCALE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_RC.mcopclass -%{tde_libdir}/mcop/Arts/Synth_SEQUENCE_FREQ.mcopclass -%{tde_libdir}/mcop/Arts/Synth_SEQUENCE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_SHELVE_CUTOFF.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STD_EQUALIZER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STEREO_COMPRESSOR.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STEREO_FIR_EQUALIZER.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STEREO_PITCH_SHIFT_FFT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_STEREO_PITCH_SHIFT.mcopclass -%{tde_libdir}/mcop/Arts/Synth_TREMOLO.mcopclass -%{tde_libdir}/mcop/Arts/Synth_VOICE_REMOVAL.mcopclass -%{tde_libdir}/mcop/Arts/Synth_WAVE_PULSE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_WAVE_SOFTSAW.mcopclass -%{tde_libdir}/mcop/Arts/Synth_WAVE_SQUARE.mcopclass -%{tde_libdir}/mcop/Arts/Synth_WAVE_TRI.mcopclass -%{tde_libdir}/mcop/Arts/Synth_XFADE.mcopclass -%{tde_libdir}/mcop/Arts/VBox.mcopclass -%{tde_libdir}/mcop/Arts/VoiceRemovalGuiFactory.mcopclass -%{tde_libdir}/mcop/Arts/Widget.mcopclass -%{tde_tdeappdir}/artsbuilder.desktop -%{tde_tdeappdir}/artscontrol.desktop -%{tde_datadir}/apps/artsbuilder/ -%{tde_datadir}/apps/artscontrol/ -%{tde_datadir}/apps/kicker/applets/artscontrolapplet.desktop -%{tde_datadir}/icons/crystalsvg/*/actions/artsaudiomanager.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsbuilderexecute.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsenvironment.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsfftscope.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsmediatypes.png -%{tde_datadir}/icons/crystalsvg/*/actions/artsmidimanager.png -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsaudiomanager.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsenvironment.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsfftscope.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsmediatypes.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/artsmidimanager.svgz -%{tde_datadir}/icons/hicolor/*/apps/artsbuilder.png -%{tde_datadir}/icons/hicolor/*/apps/artscontrol.png -%{tde_datadir}/icons/hicolor/scalable/apps/artsbuilder.svgz -%{tde_datadir}/icons/hicolor/scalable/apps/artscontrol.svgz -%{tde_datadir}/mimelnk/application/x-artsbuilder.desktop -%{tde_tdedocdir}/HTML/en/artsbuilder/ - -%post -n trinity-artsbuilder -/sbin/ldconfig -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-artsbuilder -/sbin/ldconfig -for f in crystalsvg hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-juk -Summary: Music organizer and player for Trinity -Group: Applications/Multimedia - -%description -n trinity-juk -JuK (pronounced "jook") is a jukebox and music manager for the TDE -desktop similar to jukebox software on other platforms such as -iTunes or RealOne. - -Some of JuK's features include: -* Support for Ogg Vorbis and MP3 formats -* Tag editing support for both formats, including ID3v2 for MP3 files. - Multitagging or editing a selection of multiple files at once is also - supported -* Output to either the aRts, default KDE sound system, or GStreamer -* Management of your "collection" and multiple playlists -* Import and export to m3u playlists -* Binary caching of audio meta-data and playlist information for faster - load times (starting with the second time you run JuK) -* Integration into TDE that allows drag-and-drop and clipboard usage - with other TDE and X apps - -%files -n trinity-juk -%defattr(-,root,root,-) -%{tde_bindir}/juk -%{tde_tdeappdir}/juk.desktop -%{tde_datadir}/apps/juk/ -%{tde_datadir}/apps/konqueror/servicemenus/jukservicemenu.desktop -%{tde_datadir}/icons/crystalsvg/*/actions/juk_dock.png -%{tde_datadir}/icons/hicolor/*/apps/juk.png -%{tde_tdedocdir}/HTML/en/juk/ - -%post -n trinity-juk -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-juk -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kaboodle -Summary: light, embedded media player for Trinity -Group: Applications/Multimedia - -%if 0%{?with_xine} -Requires: trinity-libarts-xine = %{version}-%{release} -%endif - -%description -n trinity-kaboodle -Kaboodle is a light, embedded media player, supporting both video and audio, -for TDE. It uses the aRts framework for playing media files. - -%files -n trinity-kaboodle -%defattr(-,root,root,-) -%{tde_bindir}/kaboodle -%{tde_tdelibdir}/libkaboodlepart.la -%{tde_tdelibdir}/libkaboodlepart.so -%{tde_tdeappdir}/kaboodle.desktop -%{tde_datadir}/apps/kaboodle/ -%{tde_datadir}/icons/hicolor/*/apps/kaboodle.png -%{tde_datadir}/services/kaboodle_component.desktop -%{tde_datadir}/services/kaboodleengine.desktop -%{tde_tdedocdir}/HTML/en/kaboodle/ - -%post -n trinity-kaboodle -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kaboodle -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kaudiocreator -Summary: CD ripper and audio encoder frontend for Trinity -Group: Applications/Multimedia - -Requires: %{name}-tdeio-plugins = %{version}-%{release} -Requires: vorbis-tools -Requires: flac - -%description -n trinity-kaudiocreator -KAudioCreator is a tool for audio extraction (ripping) and encoding. It can -keep your WAV files, or convert them to Ogg/Vorbis, MP3, or FLAC. It also -searches CDDB to retrieve the information of the disk. - -%files -n trinity-kaudiocreator -%defattr(-,root,root,-) -%{tde_bindir}/kaudiocreator -%{tde_tdeappdir}/kaudiocreator.desktop -%{tde_datadir}/apps/kaudiocreator/ -%{tde_datadir}/apps/kconf_update/kaudiocreator-libkcddb.upd -%{tde_datadir}/apps/kconf_update/kaudiocreator-meta.upd -%{tde_datadir}/apps/kconf_update/upgrade-kaudiocreator-metadata.sh -%{tde_datadir}/apps/konqueror/servicemenus/audiocd_extract.desktop -%{tde_datadir}/config.kcfg/kaudiocreator.kcfg -%{tde_datadir}/config.kcfg/kaudiocreator_encoders.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kaudiocreator.png -%{tde_datadir}/icons/locolor/*/apps/kaudiocreator.png -%{tde_tdedocdir}/HTML/en/kaudiocreator/ - -%post -n trinity-kaudiocreator -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kaudiocreator -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package kfile-plugins -Summary: au/avi/m3u/mp3/ogg/wav plugins for kfile -Group: Applications/Multimedia - -%description kfile-plugins -au/avi/m3u/mp3/ogg/wav file metainformation plugins for Trinity. - -%files kfile-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/kfile_au.la -%{tde_tdelibdir}/kfile_au.so -%{tde_tdelibdir}/kfile_avi.la -%{tde_tdelibdir}/kfile_avi.so -%{tde_tdelibdir}/kfile_flac.la -%{tde_tdelibdir}/kfile_flac.so -%{tde_tdelibdir}/kfile_m3u.la -%{tde_tdelibdir}/kfile_m3u.so -%{tde_tdelibdir}/kfile_mp3.la -%{tde_tdelibdir}/kfile_mp3.so -%{tde_tdelibdir}/kfile_mpc.la -%{tde_tdelibdir}/kfile_mpc.so -%{tde_tdelibdir}/kfile_mpeg.la -%{tde_tdelibdir}/kfile_mpeg.so -%{tde_tdelibdir}/kfile_ogg.la -%{tde_tdelibdir}/kfile_ogg.so -%{tde_tdelibdir}/kfile_sid.la -%{tde_tdelibdir}/kfile_sid.so -%{tde_tdelibdir}/kfile_theora.la -%{tde_tdelibdir}/kfile_theora.so -%{tde_tdelibdir}/kfile_wav.la -%{tde_tdelibdir}/kfile_wav.so -%{tde_datadir}/services/kfile_au.desktop -%{tde_datadir}/services/kfile_avi.desktop -%{tde_datadir}/services/kfile_flac.desktop -%{tde_datadir}/services/kfile_m3u.desktop -%{tde_datadir}/services/kfile_mp3.desktop -%{tde_datadir}/services/kfile_mpc.desktop -%{tde_datadir}/services/kfile_mpeg.desktop -%{tde_datadir}/services/kfile_ogg.desktop -%{tde_datadir}/services/kfile_sid.desktop -%{tde_datadir}/services/kfile_theora.desktop -%{tde_datadir}/services/kfile_wav.desktop - -########## - -%package kappfinder-data -Summary: multimedia data for kappfinder-trinity -Group: Applications/Multimedia - -Requires: trinity-kappfinder - -%description kappfinder-data -This package provides data on multimedia applications for kappfinder. - -%files kappfinder-data -%defattr(-,root,root,-) -%{tde_datadir}/apps/kappfinder/* -%{tde_datadir}/desktop-directories/[kt]de-multimedia-music.directory -%{tde_prefix}/etc/xdg/menus/applications-merged/trinity-multimedia-music.menu - -########## - -%package tdeio-plugins -Summary: Enables the browsing of audio CDs under Konqueror -Group: Applications/Multimedia - -Obsoletes: trinity-tdemultimedia-kio-plugins < %{version}-%{release} -Provides: trinity-tdemultimedia-kio-plugins = %{version}-%{release} - -%description tdeio-plugins -This package allow audio CDs to be browsed like a file system using -Konqueror and the audiocd:/ URL. - -%files tdeio-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_audiocd.la -%{tde_tdelibdir}/kcm_audiocd.so -%{tde_tdelibdir}/kio_audiocd.la -%{tde_tdelibdir}/kio_audiocd.so -%{tde_tdelibdir}/libaudiocd_encoder_flac.la -%{tde_tdelibdir}/libaudiocd_encoder_flac.so -%{tde_tdelibdir}/libaudiocd_encoder_lame.la -%{tde_tdelibdir}/libaudiocd_encoder_lame.so -%{tde_tdelibdir}/libaudiocd_encoder_vorbis.la -%{tde_tdelibdir}/libaudiocd_encoder_vorbis.so -%{tde_tdelibdir}/libaudiocd_encoder_wav.la -%{tde_tdelibdir}/libaudiocd_encoder_wav.so -%{tde_libdir}/libaudiocdplugins.so.* -%{tde_tdeappdir}/audiocd.desktop -%{tde_datadir}/apps/kconf_update/audiocd.upd -%{tde_datadir}/apps/kconf_update/upgrade-metadata.sh -%{tde_datadir}/config.kcfg/audiocd_lame_encoder.kcfg -%{tde_datadir}/config.kcfg/audiocd_vorbis_encoder.kcfg -%{tde_datadir}/services/audiocd.protocol -%{tde_tdedocdir}/HTML/en/kioslave/audiocd.docbook - -%post tdeio-plugins -/sbin/ldconfig -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun tdeio-plugins -/sbin/ldconfig -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kmid -Summary: MIDI/karaoke player for Trinity -Group: Applications/Multimedia - -%description -n trinity-kmid -This package provides a MIDI and karaoke player for TDE. - -%files -n trinity-kmid -%defattr(-,root,root,-) -%{tde_bindir}/kmid -%{tde_tdelibdir}/libkmidpart.la -%{tde_tdelibdir}/libkmidpart.so -%{tde_libdir}/libkmidlib.so.* -%{tde_tdeappdir}/kmid.desktop -%{tde_datadir}/apps/kmid/ -%{tde_datadir}/icons/hicolor/*/apps/kmid.png -%{tde_datadir}/mimelnk/audio/x-karaoke.desktop -%{tde_datadir}/servicetypes/audiomidi.desktop -%{tde_tdedocdir}/HTML/en/kmid/ - -%post -n trinity-kmid -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kmid -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kmix -Summary: Sound mixer applet for Trinity -Group: Applications/Multimedia - -%description -n trinity-kmix -This package includes TDE's dockable sound mixer applet. - -%files -n trinity-kmix -%defattr(-,root,root,-) -%{tde_bindir}/kmix -%{tde_bindir}/kmixctrl -%{tde_tdelibdir}/kmix.la -%{tde_tdelibdir}/kmix.so -%{tde_tdelibdir}/kmix_panelapplet.la -%{tde_tdelibdir}/kmix_panelapplet.so -%{tde_tdelibdir}/kmixctrl.la -%{tde_tdelibdir}/kmixctrl.so -%{tde_libdir}/lib[kt]deinit_kmix.so -%{tde_libdir}/lib[kt]deinit_kmixctrl.so -%{tde_tdeappdir}/kmix.desktop -%{tde_datadir}/apps/kicker/applets/kmixapplet.desktop -%{tde_datadir}/apps/kmix/ -%{tde_datadir}/autostart/kmix.desktop -%{tde_datadir}/autostart/restore_kmix_volumes.desktop -%{tde_datadir}/icons/hicolor/*/apps/kmix.png -%{tde_datadir}/services/kmixctrl_restore.desktop -%{tde_tdedocdir}/HTML/en/kmix/ - -%post -n trinity-kmix -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kmix -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-krec -Summary: Sound recorder utility for Trinity -Group: Applications/Multimedia - -%description -n trinity-krec -This is a sound recording utility for Trinity. - -%files -n trinity-krec -%defattr(-,root,root,-) -%{tde_bindir}/krec -%{tde_tdelibdir}/kcm_krec.la -%{tde_tdelibdir}/kcm_krec.so -%{tde_tdelibdir}/kcm_krec_files.la -%{tde_tdelibdir}/kcm_krec_files.so -%{tde_tdelibdir}/krec.la -%{tde_tdelibdir}/krec.so -%if %{?with_lame} -%{tde_tdelibdir}/libkrecexport_mp3.la -%{tde_tdelibdir}/libkrecexport_mp3.so -%{tde_datadir}/services/krec_exportmp3.desktop -%endif -%{tde_tdelibdir}/libkrecexport_ogg.la -%{tde_tdelibdir}/libkrecexport_ogg.so -%{tde_tdelibdir}/libkrecexport_wave.la -%{tde_tdelibdir}/libkrecexport_wave.so -%{tde_libdir}/lib[kt]deinit_krec.so -%{tde_tdeappdir}/krec.desktop -%{tde_datadir}/apps/krec/ -%{tde_datadir}/icons/hicolor/*/apps/krec.png -%{tde_datadir}/services/kcm_krec.desktop -%{tde_datadir}/services/kcm_krec_files.desktop -%{tde_datadir}/services/krec_exportogg.desktop -%{tde_datadir}/services/krec_exportwave.desktop -%{tde_datadir}/servicetypes/krec_exportitem.desktop -%{tde_tdedocdir}/HTML/en/krec/ - -%post -n trinity-krec -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-krec -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kscd -Summary: Audio CD player for Trinity -Group: Applications/Multimedia - -%description -n trinity-kscd -This is Trinity's audio CD player. - -%files -n trinity-kscd -%defattr(-,root,root,-) -%{tde_bindir}/kscd -%{tde_bindir}/workman2cddb.pl -%{tde_tdeappdir}/kscd.desktop -%{tde_datadir}/apps/konqueror/servicemenus/audiocd_play.desktop -%{tde_datadir}/apps/kscd/ -%{tde_datadir}/apps/profiles/kscd.profile.xml -%{tde_datadir}/config.kcfg/kscd.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kscd.png -%{tde_datadir}/mimelnk/text/xmcd.desktop -%{tde_tdedocdir}/HTML/en/kscd/ - -%post -n trinity-kscd -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kscd -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-libarts-akode -Summary: Akode plugin for aRts -Group: Environment/Libraries - -%description -n trinity-libarts-akode -This package contains akode plugins for aRts. - -%files -n trinity-libarts-akode -%defattr(-,root,root,-) -%{tde_libdir}/libarts_akode.so.* -%{tde_libdir}/libarts_akode.la -%{tde_libdir}/mcop/akodearts.mcoptype -%{tde_libdir}/mcop/akodearts.mcopclass -%{tde_libdir}/mcop/akodeMPCPlayObject.mcopclass -%{tde_libdir}/mcop/akodePlayObject.mcopclass -%{tde_libdir}/mcop/akodeSpeexStreamPlayObject.mcopclass -%{tde_libdir}/mcop/akodeVorbisStreamPlayObject.mcopclass -%{tde_libdir}/mcop/akodeXiphPlayObject.mcopclass - -# Requires MAD support -%{tde_libdir}/mcop/akodeMPEGPlayObject.mcopclass - -%post -n trinity-libarts-akode -/sbin/ldconfig - -%postun -n trinity-libarts-akode -/sbin/ldconfig - -########## - -%package -n trinity-libarts-audiofile -Summary: Audiofile plugin for aRts -Group: Environment/Libraries - -%description -n trinity-libarts-audiofile -This package contains audiofile plugins for aRts. - -%files -n trinity-libarts-audiofile -%defattr(-,root,root,-) -%{tde_libdir}/libarts_audiofile.so.* -%{tde_libdir}/libarts_audiofile.la -%{tde_libdir}/mcop/Arts/audiofilePlayObject.mcopclass -%{tde_libdir}/mcop/audiofilearts.mcopclass -%{tde_libdir}/mcop/audiofilearts.mcoptype - -%post -n trinity-libarts-audiofile -/sbin/ldconfig - -%postun -n trinity-libarts-audiofile -/sbin/ldconfig - -########## - -%package -n trinity-libarts-mpeglib -Summary: Mpeglib plugin for aRts, supporting mp3 and mpeg audio/video -Group: Environment/Libraries - -%description -n trinity-libarts-mpeglib -This package contains the mpeglib aRts plugin, supporting mp3 and mpeg -audio and video. - -This is the arts (TDE Sound daemon) plugin. - -%files -n trinity-libarts-mpeglib -%defattr(-,root,root,-) -%{tde_bindir}/mpeglibartsplay -%{tde_libdir}/libarts_mpeglib-0.3.0.so.* -%{tde_libdir}/libarts_mpeglib.la -%{tde_libdir}/libarts_splay.so.* -%{tde_libdir}/libarts_splay.la -%{tde_libdir}/mcop/CDDAPlayObject.mcopclass -%{tde_libdir}/mcop/MP3PlayObject.mcopclass -%{tde_libdir}/mcop/NULLPlayObject.mcopclass -%{tde_libdir}/mcop/OGGPlayObject.mcopclass -%{tde_libdir}/mcop/SplayPlayObject.mcopclass -%{tde_libdir}/mcop/WAVPlayObject.mcopclass - -%post -n trinity-libarts-mpeglib -/sbin/ldconfig - -%postun -n trinity-libarts-mpeglib -/sbin/ldconfig - -########## - -%if 0%{?with_xine} -%package -n trinity-libarts-xine -Summary: aRts plugin enabling xine support -Group: Environment/Libraries - -%description -n trinity-libarts-xine -This package contains aRts' xine plugin, allowing the use of the xine -multimedia engine though aRts. - -%files -n trinity-libarts-xine -%defattr(-,root,root,-) -%{tde_tdelibdir}/videothumbnail.la -%{tde_tdelibdir}/videothumbnail.so -%{tde_libdir}/libarts_xine.so.* -%{tde_libdir}/libarts_xine.la -%{tde_libdir}/mcop/xineAudioPlayObject.mcopclass -%{tde_libdir}/mcop/xineVideoPlayObject.mcopclass -%{tde_datadir}/apps/videothumbnail/sprocket-large.png -%{tde_datadir}/apps/videothumbnail/sprocket-medium.png -%{tde_datadir}/apps/videothumbnail/sprocket-small.png -%{tde_datadir}/services/videothumbnail.desktop - -%post -n trinity-libarts-xine -/sbin/ldconfig - -%postun -n trinity-libarts-xine -/sbin/ldconfig -%endif - -########## - -%package -n trinity-libkcddb -Summary: CDDB library for Trinity -Group: Environment/Libraries - -%description -n trinity-libkcddb -The Trinity native CDDB (CD Data Base) library, providing easy access to Audio -CD meta-information (track titles, artist information, etc.) from on-line -databases, for TDE applications. - -%files -n trinity-libkcddb -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_cddb.la -%{tde_tdelibdir}/kcm_cddb.so -%{tde_libdir}/libkcddb.so.* -%{tde_tdeappdir}/libkcddb.desktop -%{tde_datadir}/apps/kconf_update/kcmcddb-emailsettings.upd -%{tde_datadir}/config.kcfg/libkcddb.kcfg - -%post -n trinity-libkcddb -/sbin/ldconfig -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-libkcddb -/sbin/ldconfig -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-mpeglib -Summary: MP3 and MPEG-1 audio and video library -Group: Environment/Libraries -Requires: trinity-libarts-mpeglib = %{version}-%{release} - -%description -n trinity-mpeglib -mpeglib is a MPEG-1 and MP3 audio and video library. It supports -MPEG-1 audio (layers 1, 2, 3), MPEG-1 video, MPEG-1 system layer, -and WAV playback - -%files -n trinity-mpeglib -%defattr(-,root,root,-) -%{tde_bindir}/yaf-cdda -%{tde_bindir}/yaf-mpgplay -%{tde_bindir}/yaf-splay -%{tde_bindir}/yaf-tplay -%{tde_bindir}/yaf-vorbis -%{tde_bindir}/yaf-yuv -%{tde_libdir}/libmpeg-0.3.0.so -%{tde_libdir}/libyafcore.so -%{tde_libdir}/libyafxplayer.so - -%post -n trinity-mpeglib -/sbin/ldconfig - -%postun -n trinity-mpeglib -/sbin/ldconfig - -########## - -%package -n trinity-noatun -Summary: Media player for Trinity -Group: Applications/Multimedia - -# 20120802: Hack to avoid dependency issue on MGA2 and MDV2011 -%if 0%{?mgaversion} || 0%{?mdkversion} -Provides: devel(libnoatunarts) -Provides: devel(libnoatunarts(64bit)) -%endif - -%description -n trinity-noatun -Noatun is an aRts-based audio and video player for Trinity. It supports all -formats supported by your installation of aRts (including aRts plugins). - -%files -n trinity-noatun -%defattr(-,root,root,-) -%{tde_bindir}/noatun -%{tde_libdir}/kconf_update_bin/noatun20update -%{tde_tdelibdir}/noatun.la -%{tde_tdelibdir}/noatun.so -%{tde_tdelibdir}/noatun_dcopiface.la -%{tde_tdelibdir}/noatun_dcopiface.so -%{tde_tdelibdir}/noatun_excellent.la -%{tde_tdelibdir}/noatun_excellent.so -%{tde_tdelibdir}/noatun_htmlexport.la -%{tde_tdelibdir}/noatun_htmlexport.so -%{tde_tdelibdir}/noatun_infrared.la -%{tde_tdelibdir}/noatun_infrared.so -%{tde_tdelibdir}/noatun_kaiman.la -%{tde_tdelibdir}/noatun_kaiman.so -%{tde_tdelibdir}/noatun_keyz.la -%{tde_tdelibdir}/noatun_keyz.so -%{tde_tdelibdir}/noatun_kjofol.la -%{tde_tdelibdir}/noatun_kjofol.so -%{tde_tdelibdir}/noatun_marquis.la -%{tde_tdelibdir}/noatun_marquis.so -%{tde_tdelibdir}/noatun_metatag.la -%{tde_tdelibdir}/noatun_metatag.so -%{tde_tdelibdir}/noatun_monoscope.la -%{tde_tdelibdir}/noatun_monoscope.so -%{tde_tdelibdir}/noatun_net.la -%{tde_tdelibdir}/noatun_net.so -%{tde_tdelibdir}/noatun_splitplaylist.la -%{tde_tdelibdir}/noatun_splitplaylist.so -%{tde_tdelibdir}/noatun_systray.la -%{tde_tdelibdir}/noatun_systray.so -%{tde_tdelibdir}/noatun_ui.la -%{tde_tdelibdir}/noatun_ui.so -%{tde_tdelibdir}/noatun_voiceprint.la -%{tde_tdelibdir}/noatun_voiceprint.so -%{tde_tdelibdir}/noatun_winskin.la -%{tde_tdelibdir}/noatun_winskin.so -%{tde_tdelibdir}/noatunsimple.la -%{tde_tdelibdir}/noatunsimple.so -%{tde_libdir}/libartseffects.la -%{tde_libdir}/libartseffects.so -%{tde_libdir}/lib[kt]deinit_noatun.so -%{tde_libdir}/libnoatun.so.* -%{tde_libdir}/libnoatunarts.la -%{tde_libdir}/libnoatunarts.so -%{tde_libdir}/libnoatuncontrols.so.* -%{tde_libdir}/libnoatuntags.so.* -%{tde_libdir}/libwinskinvis.la -%{tde_libdir}/libwinskinvis.so -%{tde_libdir}/mcop/ExtraStereo.mcopclass -%{tde_libdir}/mcop/ExtraStereoGuiFactory.mcopclass -%{tde_libdir}/mcop/Noatun/ -%{tde_libdir}/mcop/RawWriter.mcopclass -%{tde_libdir}/mcop/VoiceRemoval.mcopclass -%{tde_libdir}/mcop/artseffects.mcopclass -%{tde_libdir}/mcop/artseffects.mcoptype -%{tde_libdir}/mcop/noatunarts.mcopclass -%{tde_libdir}/mcop/noatunarts.mcoptype -%{tde_libdir}/mcop/winskinvis.mcopclass -%{tde_libdir}/mcop/winskinvis.mcoptype -%{tde_tdeappdir}/noatun.desktop -%{tde_datadir}/apps/kconf_update/noatun.upd -%{tde_datadir}/apps/noatun/ -%{tde_datadir}/icons/hicolor/*/apps/noatun.png -%{tde_datadir}/mimelnk/interface/x-winamp-skin.desktop -%{tde_tdedocdir}/HTML/en/noatun/ - -%post -n trinity-noatun -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-noatun -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package devel -Summary: Development files for %{name}, aRts and noatun plugins -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} -Requires: trinity-tdelibs-devel >= 3.5.13 - -Obsoletes: trinity-kdemultimedia-devel < %{version}-%{release} -Provides: trinity-kdemultimedia-devel = %{version}-%{release} - -%description devel -{summary}. - -Install %{name}-devel if you wish to develop or compile any -applications using aRtsbuilder, aRtsmidi, aRtskde, aRts modules or -noatun plugins. - -%files devel -%defattr(-,root,root,-) -%{tde_includedir}/* -%{tde_libdir}/libarts_akode.so -%{tde_libdir}/libarts_audiofile.so -%{tde_libdir}/libarts_mpeglib.so -%{tde_libdir}/libarts_splay.so -%{?with_xine:%{tde_libdir}/libarts_xine.so} -%{tde_libdir}/libartsbuilder.so -%{tde_libdir}/libartscontrolapplet.so -%{tde_libdir}/libartscontrolsupport.so -%{tde_libdir}/libartsgui.so -%{tde_libdir}/libartsgui_idl.so -%{tde_libdir}/libartsgui_kde.so -%{tde_libdir}/libartsmidi.so -%{tde_libdir}/libartsmidi_idl.so -%{tde_libdir}/libartsmodules.so -%{tde_libdir}/libartsmodulescommon.so -%{tde_libdir}/libartsmoduleseffects.so -%{tde_libdir}/libartsmodulesmixers.so -%{tde_libdir}/libartsmodulessynth.so -%{tde_libdir}/libaudiocdplugins.la -%{tde_libdir}/libaudiocdplugins.so -%{tde_libdir}/libkcddb.la -%{tde_libdir}/libkcddb.so -%{tde_libdir}/lib[kt]deinit_kmix.la -%{tde_libdir}/lib[kt]deinit_kmixctrl.la -%{tde_libdir}/lib[kt]deinit_krec.la -%{tde_libdir}/lib[kt]deinit_noatun.la -%{tde_libdir}/libkmidlib.la -%{tde_libdir}/libkmidlib.so -%{tde_libdir}/libmpeg.la -%{tde_libdir}/libmpeg.so -%{tde_libdir}/libnoatun.la -%{tde_libdir}/libnoatun.so -%{tde_libdir}/libnoatuncontrols.la -%{tde_libdir}/libnoatuncontrols.so -%{tde_libdir}/libnoatuntags.la -%{tde_libdir}/libnoatuntags.so -%{tde_libdir}/libyafcore.la -%{tde_libdir}/libyafxplayer.la - -%post devel -/sbin/ldconfig - -%postun devel -/sbin/ldconfig - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - -%patch0 -p1 -b .ftbfs - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" - -# Required for some distro -export KDEDIRS="%{tde_prefix}" - -# Specific path for RHEL4 -if [ -d "/usr/X11R6" ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --includedir=%{tde_tdeincludedir} \ - --datadir=%{tde_datadir} \ - --enable-new-ldflags \ - --disable-dependency-tracking \ - --with-cdparanoia \ - --with-flac \ - --with-theora \ - --with-vorbis \ - --with-alsa \ - --with-gstreamer \ - --with-lame \ - --disable-debug \ - --disable-warnings \ - --enable-final \ - --disable-rpath \ - %{?_with_akode} %{!?_with_akode:--without-akode} \ - %{?_with_musicbrainz} %{!?_with_musicbrainz:--without-musicbrainz} \ - %{?_with_taglib} %{!?_with_taglib:--without-taglib} \ - %{?with_xine:--with-xine} %{!?with_xine:--without-xine} \ - --with-extra-includes="%{_includedir}/cdda:%{_includedir}/cddb:%{tde_includedir}/tqt:%{tde_tdeincludedir}/arts:%{tde_includedir}/artsc" \ - --enable-closure - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{buildroot} - -# don't make these world-writeable -chmod go-w %{buildroot}%{tde_datadir}/apps/kscd/* - -# locale's -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common - done - popd - fi -done -fi - -# Moves the XDG configuration files to TDE directory -%__install -p -D -m644 \ - "%{?buildroot}%{_sysconfdir}/xdg/menus/applications-merged/kde-multimedia-music.menu" \ - "%{?buildroot}%{tde_prefix}/etc/xdg/menus/applications-merged/trinity-multimedia-music.menu" -%__rm -rf "%{?buildroot}%{_sysconfdir}/xdg" - - -%clean -%__rm -rf %{buildroot} - - -%changelog -* Mon Jun 17 2013 Francois Andriot - 3.5.13.2-2 -- Enable "LAME" support - -* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 -- Initial release for TDE 3.5.13.2 diff --git a/redhat/tdenetwork/kdenetwork-3.5.12.spec b/redhat/tdenetwork/kdenetwork-3.5.12.spec new file mode 100644 index 000000000..7ef987e99 --- /dev/null +++ b/redhat/tdenetwork/kdenetwork-3.5.12.spec @@ -0,0 +1,502 @@ +# Default version for this component +%if "%{?version}" == "" +%define version 3.5.12 +%endif +%define release 5 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_prefix}/share/doc +%endif + +# TDE 3.5.12 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir} +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/kde3 + + +# Fedora review: http://bugzilla.redhat.com/195486 + +## Conditional build: +# disabled, for now, doesn't build -- Rex +#define _enable_jingle --enable-jingle +%define _enable_sametime_plugin --enable-sametime-plugin +#define _enable_slp --enable-slp +# RHEL6: xmms is outdated ! +#define _with_xmms --with-xmms +%ifnarch s390 s390x +%define _with_wifi --with-wifi +%endif + +%define console_helper 1 + +Name: trinity-kdenetwork +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} +Summary: K Desktop Environment - Network Applications + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +License: GPLv2 +Group: Applications/Internet + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Provides: kdenetwork3 = %{version}-%{release} + +Source0: kdenetwork-%{version}.tar.gz +Source1: kppp.pamd +Source2: ktalk +Source4: lisarc +Source5: lisa.redhat + +# RedHat/Fedora legacy patches +Patch3: kdenetwork-3.5.8-kppp.patch +Patch4: kdenetwork-3.2.3-resolv.patch +# include more/proper ppp headers +Patch6: kdenetwork-3.5.9-krfb_httpd.patch + +# Trinity official patches, from SVN +# Use libv4l1-videodev.h when available in kdenetwork +Patch7: r1243951.diff + +# Trinity unofficial patches +# Compiling Kopete for Fedora15 ... +Patch8: kdenetwork-kopete-gcc45.patch + +Requires: %{name}-libs = %{version}-%{release} + +BuildRequires: gettext +BuildRequires: trinity-kdelibs-devel +BuildRequires: coreutils +BuildRequires: openssl-devel +%if 0%{?fedora} > 4 || 0%{?rhel} > 4 +BuildRequires: libXmu-devel libXScrnSaver-devel libXtst-devel libXxf86vm-devel +%endif +%if "%{?_with_wifi:1}" == "1" +%if 0%{?fedora} > 5 || 0%{?rhel} > 4 +BuildRequires: wireless-tools-devel +%else +BuildRequires: wireless-tools +%endif +%endif +%{?_enable_slp:BuildRequires: openslp-devel} +## kopete: +BuildRequires: libxml2-devel libxslt-devel +%ifarch %{ix86} +# BR: %{_includedir}/valgrind/valgrind.h +BuildRequires: valgrind +%endif +#jabber +BuildRequires: libidn-devel +#jabber/jingle +%{?_enable_jingle:BuildRequires: expat-devel glib2-devel ortp-devel speex-devel} +# jabber/ssl +#{?fedora:Requires(hint): qca-tls} +# sametime +%{?_enable_sametime_plugin:BuildRequires: meanwhile-devel} +%{?_with_xmms:BuildRequires: xmms-devel} +Requires: jasper +## kppp +Requires: ppp +## krdc +Requires: rdesktop +## lisa +Requires(preun): chkconfig +Requires(post): chkconfig +#Requires(hint): samba-client +BuildRequires: avahi-qt3-devel + +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 +BuildRequires: libv4l-devel +%endif + +%if 0%{?console_helper} +Requires: usermode-gtk +%endif + + +%description +Networking applications, including: +* kget: downloader manager +* kio_lan: lan browsing kio slave +* knewsticker: RDF newsticker applet +* kopete: chat client +* kppp: dialer and front end for pppd +* krdc: a client for Desktop Sharing and other VNC servers +* krfb: Desktop Sharing server, allow others to access your desktop via VNC +* lisa: lan information server + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Provides: kdenetwork3-devel = %{version}-%{release} +Requires: %{name}-libs = %{version}-%{release} +Requires: trinity-kdelibs-devel +%description devel +%{summary}. + +%package extras +Summary: Extras packages for %{name} +Group: Applications/Internet +Requires: %{name}-libs = %{version}-%{release} +%if "%{?_with_xmms:1}" == "1" +Obsoletes: %{name}-nowlistening < %{version}-%{release} +Provides: %{name}-nowlistening = %{version}-%{release} +%endif +%description extras +More Networking applications for the K Desktop Environment: + * ksirc + * kdict + * ktalkd + * kpf + * kwifimanager +%if "%{?_with_xmms:1}" == "1" + * nowlistening (xmms) plugin for Kopete. +%endif + +%package libs +Summary: %{name} runtime libraries +Group: System Environment/Libraries +Requires: trinity-kdelibs >= %{version} +# helps multilib upgrades +Obsoletes: %{name} < %{version}-%{release} +# include to be paranoid, installing libs-only is still mostly untested -- Rex +Requires: %{name} = %{version}-%{release} +%description libs +%{summary}. + + +%prep +%setup -q -n kdenetwork + +%if %{console_helper} +%patch3 -p1 -b .kppp +%endif +%patch4 -p1 -b .resolv +%patch6 -p1 -b .krfb_httpd +%patch7 -p1 +%patch8 -p1 + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%configure \ + --enable-new-ldflags \ + --disable-dependency-tracking \ + --disable-rpath \ + --disable-debug \ + --disable-warnings \ + --enable-final \ + --includedir=%{tde_includedir} \ + %{?_enable_jingle} %{!?_enable_jingle:--disable-jingle} \ + %{?_enable_sametime_plugin} %{!?_enable_sametime_plugin:--disable-sametime-plugin} \ + %{?_enable_slp} %{!?_enable_slp:--disable-slp} \ + %{?_with_wifi} %{!?_with_wifi:--without-wifi} \ + %{?_with_xmms} %{!?_with_xmms:--without-xmms} \ + --with-extra-includes=%{_includedir}/tqt + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} + +%__make install DESTDIR=%{buildroot} +# RHEL6: kppp seems to be not installed by previous command ??? +%__make install DESTDIR=%{buildroot} -C kppp + + +## File lists +# locale's +%find_lang %{name} || touch %{name}.lang +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && %{__rm} -f $i/common && ln -sf ../common $i/common + done + popd + fi +done +fi + +# Show only in KDE, FIXME, need to re-evaluate these -- Rex +for i in fileshare kcmkrfb kcmktalkd kcmwifi krfb kppp kppplogview \ + kwifimanager kget knewsticker ksirc kdict ; do + if [ -f %{buildroot}%{_datadir}/applications/kde/$i.desktop ] ; then + echo "OnlyShowIn=KDE;" >> %{buildroot}%{_datadir}/applications/kde/$i.desktop + fi +done + +%if %console_helper +# Run kppp through consolehelper +install -p -m644 -D %{SOURCE1} %{buildroot}/etc/pam.d/kppp3 +mkdir -p %{buildroot}%{_sbindir} +mv %{buildroot}%{_bindir}/kppp %{buildroot}%{_sbindir} +ln -s consolehelper %{buildroot}%{_bindir}/kppp +mkdir -p %{buildroot}/etc/security/console.apps +cat > %{buildroot}/etc/security/console.apps/kppp3 < /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun +for f in crystalsvg hicolor locolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%preun +if [ $1 -eq 0 ]; then + /sbin/chkconfig --del lisa ||: + /sbin/service lisa stop > /dev/null 2>&1 ||: +fi + +%post libs +/sbin/ldconfig + +%postun libs +/sbin/ldconfig + +%post extras +for f in crystalsvg hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done + +%postun extras +for f in crystalsvg hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done + + +%clean +%__rm -rf %{buildroot} + + +%files extras +%defattr(-,root,root,-) + +# ksirc +%{_docdir}/HTML/??/ksirc/ +%{_bindir}/ksirc +%{_libdir}/libkdeinit_ksirc.* +%{_libdir}/kde3/ksirc.* +%{_datadir}/applications/kde/ksirc.desktop +%{_datadir}/apps/ksirc/ +%config(noreplace) %{_datadir}/config/ksircrc +%{_datadir}/icons/hicolor/*/apps/ksirc.* + +# kdict +%{_docdir}/HTML/en/kdict +%{_bindir}/kdict +%{_libdir}/kde3/kdict* +%{_libdir}/libkdeinit_kdict.* +%{_datadir}/applications/kde/kdict.desktop +%{_datadir}/apps/kdict +%{_datadir}/apps/kicker/applets/kdictapplet.desktop +%{_datadir}/icons/hicolor/*/apps/kdict.* + +# ktalk +%{_docdir}/HTML/en/ktalkd +%{_bindir}/ktalkd* +%{_libdir}/kde3/kcm_ktalkd.* +%{_datadir}/applications/kde/kcmktalkd.desktop +%config(noreplace) %{_datadir}/config/ktalkdrc +%{_datadir}/icons/crystalsvg/*/apps/ktalkd.* +%{_datadir}/sounds/ktalkd.wav +%config(noreplace) %{_sysconfdir}/xinetd.d/ktalk + +# kpf +%{_docdir}/HTML/en/kpf +%{_libdir}/kde3/kpf* +%{_datadir}/apps/kicker/applets/kpfapplet.desktop +%{_datadir}/icons/crystalsvg/*/apps/kpf.* +%{_datadir}/services/kpfpropertiesdialogplugin.desktop + +%if "%{?_with_wifi:1}" == "1" +# kwifimanager +%doc %{_docdir}/HTML/en/kwifimanager +%{_bindir}/kwifimanager +%{_libdir}/kde3/kcm_wifi.* +%{_datadir}/applications/kde/kcmwifi.desktop +%{_datadir}/applications/kde/kwifimanager.desktop +%{_datadir}/apps/kwifimanager +%{_datadir}/icons/hicolor/*/apps/kwifimanager.png +%endif + +%if "%{?_with_xmms:1}" == "1" +#files nowlistening +#defattr(-,root,root,-) +%{_datadir}/apps/kopete/*nowlisteningchatui* +%{_datadir}/apps/kopete/*nowlisteningui* +%{_datadir}/services/kconfiguredialog/*nowlistening* +%{_datadir}/services/*nowlistening* +%{_libdir}/kde3/*nowlistening* +%endif + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING README + +# ksirc +%exclude %{_bindir}/ksirc +%exclude %{_libdir}/libkdeinit_ksirc.* +%exclude %{_libdir}/kde3/ksirc.* +%exclude %{_datadir}/applications/kde/ksirc.desktop +%exclude %{_datadir}/apps/ksirc/ +%exclude %{_datadir}/config/ksircrc +%exclude %{_docdir}/HTML/??/ksirc/ +%exclude %{_datadir}/icons/hicolor/??x??/apps/ksirc.png + +# kdict +%exclude %{_docdir}/HTML/en/kdict +%exclude %{_bindir}/kdict +%exclude %{_libdir}/kde3/kdict* +%exclude %{_libdir}/libkdeinit_kdict.* +%exclude %{_datadir}/applications/kde/kdict.desktop +%exclude %{_datadir}/apps/kdict +%exclude %{_datadir}/apps/kicker/applets/kdictapplet.desktop +%exclude %{_datadir}/icons/hicolor/128x128/apps/kdict.png +%exclude %{_datadir}/icons/hicolor/??x??/apps/kdict.png +%exclude %{_datadir}/icons/hicolor/scalable/apps/kdict.svgz + +# ktalk +%exclude %{_docdir}/HTML/en/ktalkd +%exclude %{_sysconfdir}/xinetd.d/ktalk +%exclude %{_bindir}/ktalkd* +%exclude %{_libdir}/kde3/kcm_ktalkd.* +%exclude %{_datadir}/applications/kde/kcmktalkd.desktop +%exclude %{_datadir}/config/ktalkdrc +%exclude %{_datadir}/icons/crystalsvg/128x128/apps/ktalkd.png +%exclude %{_datadir}/icons/crystalsvg/??x??/apps/ktalkd.png +%exclude %{_datadir}/sounds/ktalkd.wav + +# kpf +%exclude %{_libdir}/kde3/kpf* +%exclude %{_datadir}/apps/kicker/applets/kpfapplet.desktop +%exclude %{_docdir}/HTML/en/kpf +%exclude %{_datadir}/icons/crystalsvg/??x??/apps/kpf.png +%exclude %{_datadir}/services/kpfpropertiesdialogplugin.desktop + +%ifnarch s390 s390x +# kwifimanager +%exclude %{_bindir}/kwifimanager +%exclude %{_libdir}/kde3/kcm_wifi.* +%exclude %{_datadir}/applications/kde/kcmwifi.desktop +%exclude %{_datadir}/applications/kde/kwifimanager.desktop +%exclude %{_datadir}/apps/kwifimanager +%exclude %{_docdir}/HTML/en/kwifimanager +%exclude %{_datadir}/icons/hicolor/128x128/apps/kwifimanager.png +%exclude %{_datadir}/icons/hicolor/??x??/apps/kwifimanager.png +%exclude %{_datadir}/icons/hicolor/scalable/apps/kwifimanager.svgz +%endif + +# nowlistening +%if "%{?_with_xmms:1}" == "1" +%exclude %{_datadir}/apps/kopete/*nowlisteningchatui* +%exclude %{_datadir}/apps/kopete/*nowlisteningui* +%exclude %{_datadir}/services/kconfiguredialog/*nowlistening* +%exclude %{_datadir}/services/*nowlistening* +%exclude %{_libdir}/kde3/*nowlistening* +%endif + +%{_docdir}/HTML/en/* +%if %console_helper +%config(noreplace) /etc/security/console.apps/kppp3 +%config(noreplace) /etc/pam.d/kppp3 +%{_sbindir}/kppp +%else +%attr(4755,root,root) %{_bindir}/kppp +%endif +%config(noreplace) %{_sysconfdir}/lisarc +%config(noreplace) %{_initrddir}/lisa +%{_libdir}/libkdeinit_*.so +%if "%{?_with_wifi:1}" == "1" +%{_libdir}/libkwireless.* +%endif +%{_libdir}/kde3/* +%{_libdir}/kconf_update_bin/* +%{_bindir}/* +%{_datadir}/apps/* +%{_datadir}/applications/kde/* +%{_datadir}/applnk/.hidden/* +%{_datadir}/config/* +%{_datadir}/config.kcfg/* +%{_datadir}/icons/*/*/*/* +%{_datadir}/mimelnk/* +%{_datadir}/services/* +%{_datadir}/servicetypes/* +%{_datadir}/sounds/* + +%files libs +%defattr(-,root,root,-) +%{_libdir}/libkopete*.so.* +%{_libdir}/libkopete*.la +%{_libdir}/librss.so.* +%{_libdir}/librss.la + +%files devel +%defattr(-,root,root,-) +%{_includedir}/kde/* +%{_libdir}/libkopete*.so +%{_libdir}/librss.so + + +%changelog +* Mon Sep 19 2011 Francois Andriot - 3.5.12-5 +- Add support for RHEL5 + +* Sun Sep 11 2011 Francois Andriot - 3.5.12-4 +- Import to GIT + +* Tue Aug 23 2011 Francois Andriot - 3.5.12-3 +- Add correction for Fedora 15 +- Add patch7 for V4L compilation + +* Mon Aug 22 2011 Francois Andriot - 3.5.12-2 +- Correct macro to install under "/opt", if desired + +* Fri Aug 05 2011 Francois Andriot - 3.5.12-1 +- Initial version +- Spec file based on Fedora 8 "kdenetwork 7:3.5.10-1" + diff --git a/redhat/tdenetwork/kdenetwork-3.5.13.1.spec b/redhat/tdenetwork/kdenetwork-3.5.13.1.spec new file mode 100644 index 000000000..17f8e2140 --- /dev/null +++ b/redhat/tdenetwork/kdenetwork-3.5.13.1.spec @@ -0,0 +1,1188 @@ +# Avoids relinking, which breaks consolehelper +%define dont_relink 1 + +# If TDE is built iwn a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_sbindir %{tde_prefix}/sbin + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +# Fedora review: http://bugzilla.redhat.com/195486 + +## Conditional build: +# RHEL6: xmms is outdated ! +#define _with_xmms --with-xmms +%ifnarch s390 s390x +%define _with_wifi --with-wifi +%endif + +Name: trinity-tdenetwork +Version: 3.5.13.1 +Release: 2%{?dist}%{?_variant} +Summary: Trinity Desktop Environment - Network Applications + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +License: GPLv2 +Group: Applications/Internet + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: kdenetwork-3.5.13.1.tar.gz +Source1: kppp.pamd +Source2: ktalk +Source4: lisarc +Source5: lisa.redhat + +# RedHat/Fedora legacy patches +Patch3: kdenetwork-3.5.8-kppp.patch +Patch4: kdenetwork-3.2.3-resolv.patch +# include more/proper ppp headers +Patch6: kdenetwork-3.5.9-krfb_httpd.patch + +# [kdenetwork] Missing LDFLAGS cause FTBFS +Patch1: kdenetwork-3.5.13-missing_ldflags.patch +# [kdenetwork] FTBFS in SMS client [Bug #1241] +Patch2: kdenetwork-3.5.13.1-fix_smsclient_ftbfs.patch +# [kdenetwork] Fix iwlib support in openSUSE +Patch7: kdenetwork-3.5.13.1-add_cmake_macro.patch +Patch8: kdenetwork-3.5.13.1-wifi3.diff + +# RHEL4 specific +Patch201: kdenetwork-3.5.13.1-fix_rhel4_libraries.patch + + +BuildRequires: gettext +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: coreutils +BuildRequires: openssl-devel +BuildRequires: sqlite-devel +BuildRequires: gnutls-devel + +# GADU support +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} +%define with_gadu 1 +BuildRequires: libgadu-devel +%endif + +%if 0%{?fedora} >= 5 || 0%{?rhel} >= 5 +BuildRequires: libXmu-devel +BuildRequires: libXScrnSaver-devel +BuildRequires: libXtst-devel +BuildRequires: libXxf86vm-devel +%endif + +# Wifi support +%if "%{?_with_wifi:1}" == "1" +%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5 +BuildRequires: wireless-tools-devel +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}iw29-devel +%endif +%if 0%{?rhel} == 5 +BuildRequires: wireless-tools +%endif +%if 0%{?suse_version} +BuildRequires: libiw-devel +%endif +%endif + +# OpenSLP support +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} +%define with_openslp 1 +BuildRequires: openslp-devel +%endif + +%ifarch %{ix86} +# BR: %{tde_includedir}/valgrind/valgrind.h +BuildRequires: valgrind +%endif + +%{?_with_xmms:BuildRequires: xmms-devel} + +# V4L support +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?suse_version} +BuildRequires: libv4l-devel +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}v4l-devel +%endif + + +BuildRequires: libxml2-devel +BuildRequires: libxslt-devel + +#jabber +BuildRequires: libidn-devel +#jabber/jingle +%if 0%{?suse_version} +BuildRequires: libexpat-devel +%else +BuildRequires: expat-devel +%endif +BuildRequires: glib2-devel +BuildRequires: speex-devel +# jabber/ssl +#{?fedora:Requires(hint): qca-tls} +Requires: jasper +# MEANWHILE +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?suse_version} +%define with_meanwhile 1 +BuildRequires: meanwhile-devel +%endif +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 +BuildRequires: ortp-devel +%endif + +# SPEEX support +%if 0%{?rhel} >= 5 || 0%{?fedora} >= 15 || 0%{?suse_version} || 0%{?mdkversion} || 0%{?mgaversion} +%define with_speex 1 +BuildRequires: speex-devel +%endif + +Obsoletes: trinity-kdenetwork < %{version}-%{release} +Provides: trinity-kdenetwork = %{version}-%{release} +Obsoletes: trinity-kdenetwork-libs < %{version}-%{release} +Provides: trinity-kdenetwork-libs = %{version}-%{release} +Obsoletes: trinity-kdenetwork-extras < %{version}-%{release} +Provides: trinity-kdenetwork-extras = %{version}-%{release} +Obsoletes: tdenetwork < %{version}-%{release} +Provides: tdenetwork = %{version}-%{release} + +Requires: trinity-dcoprss = %{version}-%{release} +Requires: %{name}-filesharing = %{version}-%{release} +Requires: trinity-kdict = %{version}-%{release} +Requires: %{name}-kfile-plugins = %{version}-%{release} +Requires: trinity-kget = %{version}-%{release} +Requires: trinity-knewsticker = %{version}-%{release} +Requires: trinity-kopete = %{version}-%{release} +Requires: trinity-kopete-nowlistening = %{version}-%{release} +Requires: trinity-kpf = %{version}-%{release} +Requires: trinity-kppp = %{version}-%{release} +Requires: trinity-krdc = %{version}-%{release} +Requires: trinity-krfb = %{version}-%{release} +Requires: trinity-ksirc = %{version}-%{release} +Requires: trinity-ktalkd = %{version}-%{release} +Requires: trinity-kwifimanager = %{version}-%{release} +Requires: trinity-librss = %{version}-%{release} +Requires: trinity-lisa = %{version}-%{release} + +%description +This metapackage includes a collection of network and networking related +applications provided with the official release of Trinity. + +Networking applications, including: +* dcoprss: RSS utilities for Trinity +* filesharing: Network filesharing configuration module for Trinity +* kdict: Dictionary client for Trinity +* kfile-plugins: Torrent metainfo plugin for Trinity +* kget: downloader manager +* knewsticker: RDF newsticker applet +* kopete: chat client +* kopete-nowlistening: (xmms) plugin for Kopete. +* kpf: Public fileserver for Trinity +* kppp: dialer and front end for pppd +* krdc: a client for Desktop Sharing and other VNC servers +* krfb: Desktop Sharing server, allow others to access your desktop via VNC +* ksirc: IRC client for Trinity +* ktalkd: Talk daemon for Trinity +* kwifimanager: Wireless lan manager for Trinity +* librss: RSS library for Trinity +* lisa: lan information server + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING README + + +########## + +%package -n trinity-dcoprss +Summary: RSS utilities for Trinity +Group: Applications/Internet + +%description -n trinity-dcoprss +dcoprss is a RSS to DCOP bridge, allowing all +DCOP aware applications to access RSS news feeds. There is also +a few sample utilities provided. +RSS is a standard for publishing news headlines. +DCOP is the TDE interprocess communication protocol. + +%files -n trinity-dcoprss +%defattr(-,root,root,-) +%{tde_bindir}/feedbrowser +%{tde_bindir}/rssclient +%{tde_bindir}/rssservice +%{tde_datadir}/services/rssservice.desktop + +%post -n trinity-dcoprss +update-desktop-database 2> /dev/null || : + +%postun -n trinity-dcoprss +update-desktop-database 2> /dev/null || : + +########## + +%package devel +Summary: Development files for the Trinity network module +Group: Development/Libraries +Requires: trinity-kdict = %{version}-%{release} +Requires: trinity-kopete = %{version}-%{release} +Requires: trinity-ksirc = %{version}-%{release} +Requires: trinity-librss = %{version}-%{release} +Requires: trinity-kdelibs-devel + +Obsoletes: trinity-kdenetwork-devel < %{version}-%{release} +Provides: trinity-kdenetwork-devel = %{version}-%{release} +Obsoletes: tdenetwork-devel < %{version}-%{release} +Provides: tdenetwork-devel = %{version}-%{release} + +%description devel +This is the development package which contains the headers for the KDE RSS +library as well as the Kopete chat client, as well as miscellaneous +development-related files for the TDE network module. + +%files devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kopete/*.h +%{tde_tdeincludedir}/kopete/ui/*.h +%{tde_tdeincludedir}/rss/*.h +%{tde_libdir}/libkdeinit_kdict.la +%{tde_libdir}/libkdeinit_ksirc.la +%{tde_libdir}/libkopete.la +%{tde_libdir}/libkopete.so +%{tde_libdir}/libkopete_msn_shared.la +%{tde_libdir}/libkopete_msn_shared.so +%{tde_libdir}/libkopete_oscar.la +%{tde_libdir}/libkopete_oscar.so +%{tde_libdir}/libkopete_videodevice.la +%{tde_libdir}/libkopete_videodevice.so +%{tde_libdir}/librss.la +%{tde_libdir}/librss.so + +%post devel +/sbin/ldconfig + +%postun devel +/sbin/ldconfig + +########## + +%package filesharing +#Recommends: perl-suid +Summary: Network filesharing configuration module for Trinity +Group: Applications/Internet + +Obsoletes: tdenetwork-filesharing < %{version}-%{release} +Provides: tdenetwork-filesharing = %{version}-%{release} + +%description filesharing +This package provides a TDE Control Center module to configure +NFS and Samba. + +%files filesharing +%defattr(-,root,root,-) +%{tde_tdelibdir}/fileshare_propsdlgplugin.la +%{tde_tdelibdir}/fileshare_propsdlgplugin.so +%{tde_tdelibdir}/kcm_fileshare.la +%{tde_tdelibdir}/kcm_fileshare.so +%{tde_tdelibdir}/kcm_kcmsambaconf.la +%{tde_tdelibdir}/kcm_kcmsambaconf.so +%{tde_tdeappdir}/fileshare.desktop +%{tde_tdeappdir}/kcmsambaconf.desktop +%{tde_datadir}/icons/hicolor/*/apps/kcmsambaconf.png +%{tde_datadir}/services/fileshare_propsdlgplugin.desktop + +%post filesharing +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun filesharing +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-kdict +Summary: Dictionary client for Trinity +Group: Applications/Internet + +%description -n trinity-kdict +KDict is an advanced TDE graphical client for the DICT Protocol, with full +Unicode support. It enables you to search through dictionary databases for a +word or phrase, then displays suitable definitions. KDict tries to ease +basic as well as advanced queries. + +%files -n trinity-kdict +%defattr(-,root,root,-) +%{tde_bindir}/kdict +%{tde_tdelibdir}/kdict.* +%{tde_tdelibdir}/kdict_panelapplet.* +%{tde_libdir}/libkdeinit_kdict.* +%{tde_tdeappdir}/kdict.desktop +%{tde_datadir}/apps/kdict +%{tde_datadir}/apps/kicker/applets/kdictapplet.desktop +%{tde_datadir}/icons/hicolor/*/apps/kdict.* +%{tde_tdedocdir}/HTML/en/kdict + +%post -n trinity-kdict +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-kdict +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package kfile-plugins +Summary: Torrent metainfo plugin for Trinity +Group: Applications/Internet + +Obsoletes: tdenetwork-kfile-plugins < %{version}-%{release} +Provides: tdenetwork-kfile-plugins = %{version}-%{release} + +%description kfile-plugins +This package provides a metainformation plugin for bittorrent files. +TDE uses kfile-plugins to provide metainfo tab in the files properties +dialog in konqueror and other file-handling applications. + +%files kfile-plugins +%{tde_tdelibdir}/kfile_torrent.la +%{tde_tdelibdir}/kfile_torrent.so +%{tde_datadir}/services/kfile_torrent.desktop + +%post kfile-plugins +update-desktop-database 2> /dev/null || : + +%postun kfile-plugins +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-kget +Summary: download manager for Trinity +Group: Applications/Internet + +%description -n trinity-kget +KGet is a a download manager similar to GetRight or Go!zilla. It keeps +all your downloads in one dialog and you can add and remove transfers. +Transfers can be paused, resumed, queued or scheduled. +Dialogs display info about status of transfers - progress, size, speed +and remaining time. Program supports drag & drop from TDE +applications and Netscape. + +%files -n trinity-kget +%defattr(-,root,root,-) +%{tde_bindir}/kget +%{tde_tdelibdir}/khtml_kget.la +%{tde_tdelibdir}/khtml_kget.so +%{tde_tdeappdir}/kget.desktop +%{tde_datadir}/apps/kget +%{tde_datadir}/apps/khtml/kpartplugins/kget_plug_in.desktop +%{tde_datadir}/apps/khtml/kpartplugins/kget_plug_in.rc +%{tde_datadir}/apps/konqueror/servicemenus/kget_download.desktop +%{tde_datadir}/icons/crystalsvg/*/actions/khtml_kget.png +%{tde_datadir}/icons/crystalsvg/*/apps/kget.png +%{tde_datadir}/icons/crystalsvg/*/mimetypes/kget_list.png +%{tde_datadir}/mimelnk/application/x-kgetlist.desktop +%{tde_datadir}/sounds/KGet_Added.ogg +%{tde_datadir}/sounds/KGet_Finished.ogg +%{tde_datadir}/sounds/KGet_Finished_All.ogg +%{tde_datadir}/sounds/KGet_Started.ogg +%{tde_tdedocdir}/HTML/en/kget + +%post -n trinity-kget +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-kget +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-knewsticker +Summary: news ticker applet for Trinity +Group: Applications/Internet + +%description -n trinity-knewsticker +This is a news ticker applet for the Trinity panel. It can scroll news from +your favorite news sites, such as lwn.net, /. and freshmeat.net. +To achieve this, KNewsTicker requires the news sites to provide a +RSS feed to newsitems. KNewsTicker already comes with a selection of +good news sources which provide such files. + +%files -n trinity-knewsticker +%defattr(-,root,root,-) +%{tde_bindir}/knewstickerstub +%{tde_tdelibdir}/knewsticker_panelapplet.la +%{tde_tdelibdir}/knewsticker_panelapplet.so +%{tde_tdelibdir}/kntsrcfilepropsdlg.la +%{tde_tdelibdir}/kntsrcfilepropsdlg.so +%{tde_tdeappdir}/knewsticker-standalone.desktop +%{tde_datadir}/applnk/.hidden/knewstickerstub.desktop +%{tde_datadir}/apps/kconf_update/knewsticker.upd +%{tde_datadir}/apps/kconf_update/knt-0.1-0.2.pl +%{tde_datadir}/apps/kicker/applets/knewsticker.desktop +%{tde_datadir}/apps/knewsticker/eventsrc +%{tde_datadir}/icons/hicolor/*/apps/knewsticker.png +%{tde_datadir}/services/kntsrcfilepropsdlg.desktop +%{tde_tdedocdir}/HTML/en/knewsticker + +%post -n trinity-knewsticker +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-knewsticker +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-kopete +Summary: instant messenger for Trinity +Group: Applications/Internet +URL: http://kopete.kde.org + +%description -n trinity-kopete +Kopete is an instant messenger program which can communicate with a variety +of IM systems, such as Yahoo, ICQ, MSN, IRC and Jabber. + +Support for more IM protocols can be added through a plugin system. + +%files -n trinity-kopete +%defattr(-,root,root,-) +# nowlistening support +%exclude %{tde_datadir}/apps/kopete/*nowlisteningchatui* +%exclude %{tde_datadir}/apps/kopete/*nowlisteningui* +%exclude %{tde_datadir}/config.kcfg/nowlisteningconfig.kcfg +%exclude %{tde_datadir}/services/kconfiguredialog/*nowlistening* +%exclude %{tde_datadir}/services/*nowlistening* +%exclude %{tde_tdelibdir}/*nowlistening* +# Main kopete package +%{tde_bindir}/kopete +%{tde_bindir}/kopete_latexconvert.sh +%{tde_libdir}/kconf_update_bin/kopete_account_kconf_update +%{tde_libdir}/kconf_update_bin/kopete_nameTracking_kconf_update +%{tde_libdir}/kconf_update_bin/kopete_pluginloader2_kconf_update +%{tde_tdelibdir}/kcm_kopete_*.so +%{tde_tdelibdir}/kcm_kopete_*.la +%{tde_tdelibdir}/kio_jabberdisco.la +%{tde_tdelibdir}/kio_jabberdisco.so +%{tde_tdelibdir}/kopete_*.la +%{tde_tdelibdir}/kopete_*.so +%{tde_tdelibdir}/libkrichtexteditpart.la +%{tde_tdelibdir}/libkrichtexteditpart.so +%{tde_libdir}/libkopete_msn_shared.so.* +%{tde_libdir}/libkopete_oscar.so.* +%{tde_libdir}/libkopete.so.* +%{tde_libdir}/libkopete_videodevice.so.* +%{tde_tdeappdir}/kopete.desktop +%{tde_datadir}/apps/kconf_update/kopete-* +%{tde_datadir}/apps/kopete +%{tde_datadir}/apps/kopete_*/*.rc +%{tde_datadir}/apps/kopeterichtexteditpart/kopeterichtexteditpartfull.rc +%{tde_datadir}/config.kcfg/historyconfig.kcfg +%{tde_datadir}/config.kcfg/kopeteidentityconfigpreferences.kcfg +%{tde_datadir}/config.kcfg/kopete.kcfg +%{tde_datadir}/config.kcfg/latexconfig.kcfg +%{tde_datadir}/icons/crystalsvg/*/actions/voicecall.png +%{tde_datadir}/icons/crystalsvg/*/actions/webcamreceive.png +%{tde_datadir}/icons/crystalsvg/*/actions/webcamsend.png +%{tde_datadir}/icons/crystalsvg/*/actions/account_offline_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/add_user.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_away_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_busy_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_food_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_invisible_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_phone_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_xa_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/delete_user.png +%{tde_datadir}/icons/crystalsvg/*/actions/edit_user.png +%{tde_datadir}/icons/crystalsvg/*/actions/emoticon.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_away.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_chatty.png +#%{tde_datadir}/icons/crystalsvg/*/actions/jabber_connecting.mng +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_group.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_invisible.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_na.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_offline.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_online.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_original.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_raw.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_serv_off.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_serv_on.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_xa.png +%{tde_datadir}/icons/crystalsvg/*/actions/kopeteavailable.png +%{tde_datadir}/icons/crystalsvg/*/actions/kopeteaway.png +%{tde_datadir}/icons/crystalsvg/*/actions/kopeteeditstatusmessage.png +%{tde_datadir}/icons/crystalsvg/*/actions/kopetestatusmessage.png +%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_away.png +%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_offline.png +%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_online.png +%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_unknown.png +%{tde_datadir}/icons/crystalsvg/*/actions/newmsg.png +%{tde_datadir}/icons/crystalsvg/*/actions/search_user.png +%{tde_datadir}/icons/crystalsvg/*/actions/show_offliners.png +%{tde_datadir}/icons/crystalsvg/*/actions/status_unknown_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/status_unknown.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_aim.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_gadu.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_http-ws.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_icq.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_irc.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_msn.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_qq.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_smtp.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_tlen.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_yahoo.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_protocol.png +%{tde_datadir}/icons/crystalsvg/*/apps/kopete_all_away.png +%{tde_datadir}/icons/crystalsvg/*/apps/kopete_offline.png +%{tde_datadir}/icons/crystalsvg/*/apps/kopete_some_away.png +%{tde_datadir}/icons/crystalsvg/*/apps/kopete_some_online.png +%{tde_datadir}/icons/crystalsvg/*/mimetypes/kopete_emoticons.png +%{tde_datadir}/icons/crystalsvg/scalable/actions/account_offline_overlay.svgz +%{tde_datadir}/icons/hicolor/*/apps/kopete.png +%{tde_datadir}/icons/hicolor/*/actions/emoticon.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_away.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_chatty.png +#%{tde_datadir}/icons/hicolor/*/actions/jabber_connecting.mng +%{tde_datadir}/icons/hicolor/*/actions/jabber_group.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_invisible.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_na.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_offline.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_online.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_original.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_raw.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_serv_off.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_serv_on.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_xa.png +%{tde_datadir}/icons/hicolor/*/actions/kopeteavailable.png +%{tde_datadir}/icons/hicolor/*/actions/kopeteaway.png +%{tde_datadir}/icons/hicolor/*/actions/newmsg.png +%{tde_datadir}/icons/hicolor/*/actions/status_unknown_overlay.png +%{tde_datadir}/icons/hicolor/*/actions/status_unknown.png +%{tde_datadir}/icons/hicolor/*/apps/jabber_protocol.png +%{tde_datadir}/icons/hicolor/scalable/apps/kopete2.svgz +%{tde_datadir}/mimelnk/application/x-icq.desktop +%{tde_datadir}/mimelnk/application/x-kopete-emoticons.desktop +%{tde_datadir}/services/aim.protocol +%{tde_datadir}/services/chatwindow.desktop +%{tde_datadir}/services/emailwindow.desktop +%{tde_datadir}/services/jabberdisco.protocol +%{tde_datadir}/services/kconfiguredialog/kopete_*.desktop +%{tde_datadir}/services/kopete_*.desktop +%{tde_datadir}/icons/crystalsvg/16x16/apps/jabber_gateway_sms.png +%{tde_datadir}/servicetypes/kopete*.desktop +%{tde_datadir}/sounds/Kopete_*.ogg +%{tde_tdedocdir}/HTML/en/kopete +# jingle support for kopete +%{tde_bindir}/relayserver +%{tde_bindir}/stunserver +# winpopup support for kopete +%{tde_bindir}/winpopup-install.sh +%{tde_bindir}/winpopup-send.sh +# meanwhile protocol support for kopete +%if 0%{?with_meanwhile} +%{tde_tdelibdir}/new_target0.la +%{tde_tdelibdir}/new_target0.so +%endif +# motionaway plugin for kopete +%{tde_datadir}/config.kcfg/motionawayconfig.kcfg +# smpp plugin for kopete +%{tde_datadir}/config.kcfg/smpppdcs.kcfg + + +%post -n trinity-kopete +for f in crystalsvg hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : +/sbin/ldconfig + +%postun -n trinity-kopete +for f in crystalsvg hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : +/sbin/ldconfig + +########## + +%package -n trinity-kopete-nowlistening +Summary: Nowlistening (xmms) plugin for Kopete. +Group: Applications/Internet + +%description -n trinity-kopete-nowlistening +Kopete includes the "Now Listening" plug-in that can report what music you +are currently listening to, in a number of different players, including +noatun, kscd, juk, kaffeine and amarok. + +%files -n trinity-kopete-nowlistening +%defattr(-,root,root,-) +%{tde_datadir}/apps/kopete/*nowlisteningchatui* +%{tde_datadir}/apps/kopete/*nowlisteningui* +%{tde_datadir}/config.kcfg/nowlisteningconfig.kcfg +%{tde_datadir}/services/kconfiguredialog/*nowlistening* +%{tde_datadir}/services/*nowlistening* +%{tde_tdelibdir}/*nowlistening* + +########## + +%package -n trinity-kpf +Summary: Public fileserver for Trinity +Group: Applications/Internet + +%description -n trinity-kpf +kpf provides simple file sharing using HTTP. kpf is strictly a public +fileserver, which means that there are no access restrictions to shared +files. Whatever you select for sharing is available to anyone. kpf is +designed to be used for sharing files with friends. + +%files -n trinity-kpf +%defattr(-,root,root,-) +%{tde_tdelibdir}/kpf* +%{tde_datadir}/apps/kicker/applets/kpfapplet.desktop +%{tde_datadir}/icons/crystalsvg/*/apps/kpf.* +%{tde_datadir}/services/kpfpropertiesdialogplugin.desktop +%{tde_tdedocdir}/HTML/en/kpf + +%post -n trinity-kpf +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-kpf +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-kppp +Summary: modem dialer and ppp frontend for Trinity +Group: Applications/Internet +Requires: ppp +%if 0%{?rhel} || 0%{?fedora} +Requires: usermode-gtk +%else +Requires: usermode +%endif + +%description -n trinity-kppp +KPPP is a dialer and front end for pppd. It allows for interactive +script generation and network setup. It will automate the dialing in +process to your ISP while letting you conveniently monitor the entire +process. + +Once connected KPPP will provide a rich set of statistics and keep +track of the time spent online for you. + +%files -n trinity-kppp +%defattr(-,root,root,-) +%config(noreplace) /etc/security/console.apps/kppp3 +%config(noreplace) /etc/pam.d/kppp3 +%{tde_bindir}/kppp3 +%{tde_bindir}/kppplogview +%{_sbindir}/kppp3 +%{tde_sbindir}/kppp3 +%{tde_tdeappdir}/Kppp.desktop +%{tde_tdeappdir}/kppplogview.desktop +%{tde_datadir}/apps/checkrules +%{tde_datadir}/apps/kppp +%{tde_datadir}/icons/hicolor/*/apps/kppp.png +%{tde_tdedocdir}/HTML/en/kppp + +%post -n trinity-kppp +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-kppp +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-krdc +Summary: Remote Desktop Connection for Trinity +Group: Applications/Internet +Requires: rdesktop + +%description -n trinity-krdc +krdc is an TDE graphical client for the rfb protocol, used by VNC, +and if rdesktop is installed, krdc can connect to Windows Terminal +Servers using RDP. + +%files -n trinity-krdc +%defattr(-,root,root,-) +%{tde_bindir}/krdc +%{tde_tdeappdir}/krdc.desktop +%{tde_datadir}/apps/konqueror/servicemenus/smb2rdc.desktop +%{tde_datadir}/apps/krdc +%{tde_datadir}/icons/crystalsvg/*/apps/krdc.png +%{tde_datadir}/services/rdp.protocol +%{tde_datadir}/services/vnc.protocol +%{tde_tdedocdir}/HTML/en/krdc + +%post -n trinity-krdc +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-krdc +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-krfb +Summary: Desktop Sharing for Trinity +Group: Applications/Internet + +%description -n trinity-krfb +Desktop Sharing (krfb) is a server application that allows you to share +your current session with a user on another machine, who can use a +VNC client like krdc to view or even control the desktop. It doesn't +require you to start a new X session - it can share the current session. +This makes it very useful when you want someone to help you perform a +task. + +%files -n trinity-krfb +%defattr(-,root,root,-) +%{tde_bindir}/krfb +%{tde_bindir}/krfb_httpd +%{tde_tdelibdir}/kcm_krfb.la +%{tde_tdelibdir}/kcm_krfb.so +%{tde_tdelibdir}/kded_kinetd.la +%{tde_tdelibdir}/kded_kinetd.so +%{tde_tdeappdir}/kcmkrfb.desktop +%{tde_tdeappdir}/krfb.desktop +%{tde_datadir}/apps/kinetd/eventsrc +%{tde_datadir}/apps/krfb +%{tde_datadir}/icons/crystalsvg/*/apps/krfb.png +%{tde_datadir}/icons/locolor/*/apps/krfb.png +%{tde_datadir}/services/kded/kinetd.desktop +%{tde_datadir}/services/kinetd_krfb.desktop +%{tde_datadir}/services/kinetd_krfb_httpd.desktop +%{tde_datadir}/servicetypes/kinetdmodule.desktop +%{tde_tdedocdir}/HTML/en/krfb + +%post -n trinity-krfb +for f in crystalsvg locolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-krfb +for f in crystalsvg locolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-ksirc +Summary: IRC client for Trinity +Group: Applications/Internet + +%description -n trinity-ksirc +KSirc is an IRC chat client for KDE. It supports scripting with Perl and has a +lot of compatibility with mIRC for general use. + +If you want to connect to an IRC server via SSL, you will need to install the +recommended package libio-socket-ssl-perl. + +%files -n trinity-ksirc +%defattr(-,root,root,-) +%{tde_bindir}/dsirc +%{tde_bindir}/ksirc +%{tde_libdir}/libkdeinit_ksirc.* +%{tde_tdelibdir}/ksirc.* +%{tde_tdeappdir}/ksirc.desktop +%{tde_datadir}/apps/ksirc/ +%config(noreplace) %{tde_datadir}/config/ksircrc +%{tde_datadir}/icons/hicolor/*/apps/ksirc.* +%{tde_tdedocdir}/HTML/??/ksirc/ + +%post -n trinity-ksirc +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : +/sbin/ldconfig + + +%postun -n trinity-ksirc +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : +/sbin/ldconfig + +########## + +%package -n trinity-ktalkd +Summary: Talk daemon for Trinity +Group: Applications/Internet + +%description -n trinity-ktalkd +KTalkd is an enhanced talk daemon - a program to handle incoming talk +requests, announce them and allow you to respond to it using a talk +client. Note that KTalkd is designed to run on a single-user workstation, +and shouldn't be run on a multi-user machine. + +%files -n trinity-ktalkd +%defattr(-,root,root,-) +%{tde_bindir}/ktalkd* +%{tde_bindir}/mail.local +%{tde_tdelibdir}/kcm_ktalkd.* +%{tde_tdeappdir}/kcmktalkd.desktop +%config(noreplace) %{tde_datadir}/config/ktalkdrc +%{tde_datadir}/icons/crystalsvg/*/apps/ktalkd.* +%{tde_datadir}/sounds/ktalkd.wav +%config(noreplace) %{_sysconfdir}/xinetd.d/ktalk +%{tde_tdedocdir}/HTML/en/kcontrol/kcmtalkd +%{tde_tdedocdir}/HTML/en/ktalkd + +%post -n trinity-ktalkd +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-ktalkd +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%if "%{?_with_wifi:1}" == "1" +%package -n trinity-kwifimanager +#Depends: ${shlibs:Depends}, wireless-tools +#Suggests: khelpcenter-trinity +Summary: Wireless lan manager for Trinity +Group: Applications/Internet + +%description -n trinity-kwifimanager +KWiFiManager suite is a set of tools which allows you to manage your +wireless LAN connection under the K Desktop Environment. It provides +information about your current connection. KWiFiManager supports every +wavelan card that uses the wireless extensions interface. + +%files -n trinity-kwifimanager +%defattr(-,root,root,-) +%{tde_bindir}/kwifimanager +%{tde_tdelibdir}/kcm_wifi.* +%{tde_tdelibdir}/libkwireless.la +%{tde_tdelibdir}/libkwireless.so +%{tde_tdeappdir}/kcmwifi.desktop +%{tde_tdeappdir}/kwifimanager.desktop +%{tde_datadir}/apps/kicker/applets/kwireless.desktop +%{tde_datadir}/apps/kwifimanager +%{tde_datadir}/icons/hicolor/*/apps/kwifimanager.png +%{tde_datadir}/icons/hicolor/*/apps/kwifimanager.svgz +%doc %{tde_tdedocdir}/HTML/en/kwifimanager + +%post -n trinity-kwifimanager +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-kwifimanager +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : +%endif + +########## + +%package -n trinity-librss +Summary: RSS library for Trinity +Group: Environment/Libraries + +%description -n trinity-librss +This is the runtime package for programs that use the TDE RSS library. +End users should not need to install this, it should get installed +automatically when needed. + +%files -n trinity-librss +%defattr(-,root,root,-) +%{tde_libdir}/librss.so.* + +%post -n trinity-librss +/sbin/ldconfig + +%postun -n trinity-librss +/sbin/ldconfig + +########## + +%package -n trinity-lisa +Summary: LAN information server for Trinity +Group: Applications/Internet +%if 0%{?suse_version} +Requires(preun): aaa_base +Requires(post): aaa_base +%else +Requires(preun): chkconfig +Requires(post): chkconfig +%endif + +%description -n trinity-lisa +LISa is intended to provide KDE with a kind of "network neighborhood" +but relying only on the TCP/IP protocol. + +%files -n trinity-lisa +%defattr(-,root,root,-) +%config(noreplace) %{_sysconfdir}/lisarc* +%config(noreplace) %{_initrddir}/lisa +%{tde_tdelibdir}/kcm_lanbrowser.la +%{tde_tdelibdir}/kcm_lanbrowser.so +%{tde_tdelibdir}/kio_lan.la +%{tde_tdelibdir}/kio_lan.so +%{tde_datadir}/applnk/.hidden/kcmkiolan.desktop +%{tde_datadir}/applnk/.hidden/kcmlisa.desktop +%{tde_datadir}/applnk/.hidden/kcmreslisa.desktop +%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/lisa.desktop +%{tde_datadir}/apps/konqueror/dirtree/remote/lan.desktop +%{tde_datadir}/apps/lisa/README +%{tde_datadir}/apps/remoteview/lan.desktop +%{tde_tdedocdir}/HTML/en/kcontrol/lanbrowser/common +%{tde_tdedocdir}/HTML/en/kcontrol/lanbrowser/index.cache.bz2 +%{tde_tdedocdir}/HTML/en/kcontrol/lanbrowser/index.docbook +%{tde_tdedocdir}/HTML/en/lisa/ +%{tde_datadir}/services/lan.protocol +%{tde_datadir}/services/rlan.protocol +%{tde_bindir}/lisa +%{tde_bindir}/reslisa + +%post -n trinity-lisa +/sbin/chkconfig --add lisa ||: +update-desktop-database 2> /dev/null || : + +%postun -n trinity-lisa +if [ $1 -eq 0 ]; then + /sbin/service lisa stop > /dev/null 2>&1 ||: + /sbin/chkconfig --del lisa ||: +fi +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-kdnssd +#Recommends: avahi-daemon +#Suggests: avahi-autoipd | zeroconf +Summary: Zeroconf support for KDE +Group: Applications/Internet + +%description -n trinity-kdnssd +A kioslave and kded module that provide Zeroconf support. Try +"zeroconf:/" in Konqueror. + +%files -n trinity-kdnssd +%defattr(-,root,root,-) +%{tde_datadir}/services/zeroconf.protocol +%{tde_datadir}/services/invitation.protocol +%{tde_datadir}/services/kded/dnssdwatcher.desktop +%{tde_datadir}/apps/remoteview/zeroconf.desktop +%{tde_datadir}/apps/zeroconf/_http._tcp +%{tde_datadir}/apps/zeroconf/_ftp._tcp +%{tde_datadir}/apps/zeroconf/_ldap._tcp +%{tde_datadir}/apps/zeroconf/_webdav._tcp +%{tde_datadir}/apps/zeroconf/_nfs._tcp +%{tde_datadir}/apps/zeroconf/_ssh._tcp +%{tde_datadir}/apps/zeroconf/_rfb._tcp +%{tde_tdelibdir}/kio_zeroconf.so +%{tde_tdelibdir}/kio_zeroconf.la +%{tde_tdelibdir}/kded_dnssdwatcher.so +%{tde_tdelibdir}/kded_dnssdwatcher.la + +%post -n trinity-kdnssd +update-desktop-database 2> /dev/null || : + +%postun -n trinity-kdnssd +update-desktop-database 2> /dev/null || : + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n kdenetwork-3.5.13.1 + +%patch1 -p1 -b .ldflags +%patch2 -p1 -b .ftbfs +%patch3 -p1 -b .kppp +%patch4 -p1 -b .resolv +%patch6 -p1 -b .krfb_httpd +%patch7 -p1 -d cmake +%patch8 -p1 + +%if 0%{?rhel} == 4 +%patch201 -p1 -b .rhel4 +%endif + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" +export LD_LIBRARY_PATH="%{tde_libdir}" + +# Specific path for RHEL4 +if [ -d /usr/X11R6 ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DWITH_JINGLE=ON \ + %{?with_speex:-DWITH_SPEEX=ON} \ + -DWITH_WEBCAM=ON \ + -DWITH_GSM=OFF \ + -DWITH_ARTS=ON \ + -DBUILD_ALL=ON \ + -DBUILD_KOPETE_PLUGIN_ALL=ON \ + -DBUILD_KOPETE_PROTOCOL_ALL=ON \ + %{!?with_gadu:-DBUILD_KOPETE_PROTOCOL_GADU=OFF} \ + %{!?with_meanwhile:-DBUILD_KOPETE_PROTOCOL_MEANWHILE=OFF} \ + .. + +# Tdenetwork is not smp safe ! +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + + +## File lists +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && %{__rm} -f $i/common && ln -sf ../common $i/common + done + popd + fi +done +fi + +# Show only in KDE, FIXME, need to re-evaluate these -- Rex +for i in fileshare kcmkrfb kcmktalkd kcmwifi krfb kppp kppplogview \ + kwifimanager kget knewsticker ksirc kdict ; do + if [ -f %{buildroot}%{tde_tdeappdir}/$i.desktop ] ; then + echo "OnlyShowIn=KDE;" >> %{buildroot}%{tde_datadir}/applications/kde/$i.desktop + fi +done + +# Run kppp through consolehelper, and rename it to 'kppp3' +%__install -p -m644 -D %{SOURCE1} %{buildroot}/etc/pam.d/kppp3 +%__mkdir_p %{buildroot}%{tde_sbindir} %{buildroot}%{_sbindir} +%__mv %{buildroot}%{tde_bindir}/kppp %{buildroot}%{tde_sbindir}/kppp3 +%__ln_s %{_bindir}/consolehelper %{buildroot}%{tde_bindir}/kppp3 +%if "%{tde_prefix}" != "/usr" +%__ln_s %{tde_sbindir}/kppp3 %{?buildroot}%{_sbindir}/kppp3 +%endif +%__mkdir_p %{buildroot}%{_sysconfdir}/security/console.apps +cat > %{buildroot}%{_sysconfdir}/security/console.apps/kppp3 < - 3.5.13.1-1 +- Initial build for TDE 3.5.13.1 diff --git a/redhat/tdenetwork/kdenetwork-3.5.13.spec b/redhat/tdenetwork/kdenetwork-3.5.13.spec new file mode 100644 index 000000000..f4e2ea6bd --- /dev/null +++ b/redhat/tdenetwork/kdenetwork-3.5.13.spec @@ -0,0 +1,1182 @@ +# Avoids relinking, which breaks consolehelper +%define dont_relink 1 + +# If TDE is built iwn a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_sbindir %{tde_prefix}/sbin + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +# Fedora review: http://bugzilla.redhat.com/195486 + +## Conditional build: +# RHEL6: xmms is outdated ! +#define _with_xmms --with-xmms +%ifnarch s390 s390x +%define _with_wifi --with-wifi +%endif + +Name: trinity-tdenetwork +Version: 3.5.13 +Release: 6%{?dist}%{?_variant} +Summary: Trinity Desktop Environment - Network Applications + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +License: GPLv2 +Group: Applications/Internet + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: kdenetwork-%{version}.tar.gz +Source1: kppp.pamd +Source2: ktalk +Source4: lisarc +Source5: lisa.redhat + +# RedHat/Fedora legacy patches +Patch3: kdenetwork-3.5.8-kppp.patch +Patch4: kdenetwork-3.2.3-resolv.patch +# include more/proper ppp headers +Patch6: kdenetwork-3.5.9-krfb_httpd.patch + +# [kdenetworks] Missing LDFLAGS cause FTBFS +Patch1: kdenetwork-3.5.13-missing_ldflags.patch +# [kdenetwork] Fix kopete protocol compilation [Bug #695] +Patch10: kdenetwork-3.5.13-kopete_msn_protocol.patch +Patch11: kdenetwork-3.5.13-kopete_sms_protocol.patch +Patch12: kdenetwork-3.5.13-kopete_jabber_protocol.patch +Patch13: kdenetwork-3.5.13-kopete_motionawayplugin_ftbfs.patch +# [kdenetwork] Fix references to "qname.h" [Bug #700] +Patch14: kdenetwork-3.5.13-reference_to_qmake_h.patch +# WTF is this ? shitty hack in autotool was forgotten in CMAKE port ! [Bug #695] +Source10: kdenetwork-3.5.13-dummy.cpp +# [tdenetwork] Fix linear alphabet string errors [Commit #3516f9bc] +Patch15: kdenetwork-3.5.13-fix_alphabet_string_error.patch +# [tdenetwork] Remove "More Applications" from TDE menu. [Bug #653] [Commit #f86a2538] +Patch17: kdenetwork-3.5.13-remove_more_applications_from_menu.patch +# [tdenetwork] Improve Kaffeine support in Kopete now listening plugin [Commit #f6708531] +Patch18: kdenetwork-3.5.13-improve_kaffeine_support_in_nowlistening_plugin.patch +# [tdenetwork] Fix html special chars in kopete nowlistening plugin [Bug #944] [Commit #0a2892ed] +Patch19: kdenetwork-3.5.13-fix_html_specialchar_in_kopete_nowlistening.patch +# [tdenetwork] Fix a fatal error message [Commit #5c988de1] +Patch20: kdenetwork-3.5.13-fix_a_fatal_error_message.patch +# [tdenetwork] Fix a parallel build bug [Commit #35c41f35] +Patch21: kdenetwork-3.5.13-fix_parallel_build.patch + +BuildRequires: gettext +BuildRequires: trinity-kdelibs-devel +BuildRequires: coreutils +BuildRequires: openssl-devel +#BuildRequires: avahi-qt3-devel +BuildRequires: sqlite-devel +BuildRequires: gnutls-devel +BuildRequires: libgadu-devel +BuildRequires: speex-devel + +%if 0%{?fedora} > 4 || 0%{?rhel} > 4 +BuildRequires: libXmu-devel libXScrnSaver-devel libXtst-devel libXxf86vm-devel +%endif +%if "%{?_with_wifi:1}" == "1" +%if 0%{?fedora} > 5 || 0%{?rhel} > 4 +BuildRequires: wireless-tools-devel +%else +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}iw29-devel +%else +# RHEL 5 +BuildRequires: wireless-tools +%endif +%endif +%endif +BuildRequires: openslp-devel +%ifarch %{ix86} +# BR: %{tde_includedir}/valgrind/valgrind.h +BuildRequires: valgrind +%endif +%{?_with_xmms:BuildRequires: xmms-devel} + +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 +BuildRequires: libv4l-devel +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}v4l-devel +%endif + +Obsoletes: trinity-kdenetwork < %{version}-%{release} +Provides: trinity-kdenetwork = %{version}-%{release} +Obsoletes: trinity-kdenetwork-libs < %{version}-%{release} +Provides: trinity-kdenetwork-libs = %{version}-%{release} +Obsoletes: trinity-kdenetwork-extras < %{version}-%{release} +Provides: trinity-kdenetwork-extras = %{version}-%{release} +Obsoletes: tdenetwork < %{version}-%{release} +Provides: tdenetwork = %{version}-%{release} + +Requires: trinity-dcoprss = %{version}-%{release} +Requires: %{name}-filesharing = %{version}-%{release} +Requires: trinity-kdict = %{version}-%{release} +Requires: %{name}-kfile-plugins = %{version}-%{release} +Requires: trinity-kget = %{version}-%{release} +Requires: trinity-knewsticker = %{version}-%{release} +Requires: trinity-kopete = %{version}-%{release} +Requires: trinity-kopete-nowlistening = %{version}-%{release} +Requires: trinity-kpf = %{version}-%{release} +Requires: trinity-kppp = %{version}-%{release} +Requires: trinity-krdc = %{version}-%{release} +Requires: trinity-krfb = %{version}-%{release} +Requires: trinity-ksirc = %{version}-%{release} +Requires: trinity-ktalkd = %{version}-%{release} +Requires: trinity-kwifimanager = %{version}-%{release} +Requires: trinity-librss = %{version}-%{release} +Requires: trinity-lisa = %{version}-%{release} + +%description +This metapackage includes a collection of network and networking related +applications provided with the official release of Trinity. + +Networking applications, including: +* dcoprss: RSS utilities for Trinity +* filesharing: Network filesharing configuration module for Trinity +* kdict: Dictionary client for Trinity +* kfile-plugins: Torrent metainfo plugin for Trinity +* kget: downloader manager +* knewsticker: RDF newsticker applet +* kopete: chat client +* kopete-nowlistening: (xmms) plugin for Kopete. +* kpf: Public fileserver for Trinity +* kppp: dialer and front end for pppd +* krdc: a client for Desktop Sharing and other VNC servers +* krfb: Desktop Sharing server, allow others to access your desktop via VNC +* ksirc: IRC client for Trinity +* ktalkd: Talk daemon for Trinity +* kwifimanager: Wireless lan manager for Trinity +* librss: RSS library for Trinity +* lisa: lan information server + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING README + + +########## + +%package -n trinity-dcoprss +Summary: RSS utilities for Trinity +Group: Applications/Internet + +%description -n trinity-dcoprss +dcoprss is a RSS to DCOP bridge, allowing all +DCOP aware applications to access RSS news feeds. There is also +a few sample utilities provided. +RSS is a standard for publishing news headlines. +DCOP is the TDE interprocess communication protocol. + +%files -n trinity-dcoprss +%defattr(-,root,root,-) +%{tde_bindir}/feedbrowser +%{tde_bindir}/rssclient +%{tde_bindir}/rssservice +%{tde_datadir}/services/rssservice.desktop + +%post -n trinity-dcoprss +update-desktop-database 2> /dev/null || : + +%postun -n trinity-dcoprss +update-desktop-database 2> /dev/null || : + +########## + +%package devel +Summary: Development files for the Trinity network module +Group: Development/Libraries +Requires: trinity-kdict = %{version}-%{release} +Requires: trinity-kopete = %{version}-%{release} +Requires: trinity-ksirc = %{version}-%{release} +Requires: trinity-librss = %{version}-%{release} +Requires: trinity-kdelibs-devel + +Obsoletes: trinity-kdenetwork-devel < %{version}-%{release} +Provides: trinity-kdenetwork-devel = %{version}-%{release} +Obsoletes: tdenetwork-devel < %{version}-%{release} +Provides: tdenetwork-devel = %{version}-%{release} + +%description devel +This is the development package which contains the headers for the KDE RSS +library as well as the Kopete chat client, as well as miscellaneous +development-related files for the TDE network module. + +%files devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kopete/*.h +%{tde_tdeincludedir}/kopete/ui/*.h +%{tde_tdeincludedir}/rss/*.h +%{tde_libdir}/libkdeinit_kdict.la +%{tde_libdir}/libkdeinit_ksirc.la +%{tde_libdir}/libkopete.la +%{tde_libdir}/libkopete.so +%{tde_libdir}/libkopete_msn_shared.la +%{tde_libdir}/libkopete_msn_shared.so +%{tde_libdir}/libkopete_oscar.la +%{tde_libdir}/libkopete_oscar.so +%{tde_libdir}/libkopete_videodevice.la +%{tde_libdir}/libkopete_videodevice.so +%{tde_libdir}/librss.la +%{tde_libdir}/librss.so + +%post devel +/sbin/ldconfig + +%postun devel +/sbin/ldconfig + +########## + +%package filesharing +#Recommends: perl-suid +Summary: Network filesharing configuration module for Trinity +Group: Applications/Internet + +Obsoletes: tdenetwork-filesharing < %{version}-%{release} +Provides: tdenetwork-filesharing = %{version}-%{release} + +%description filesharing +This package provides a TDE Control Center module to configure +NFS and Samba. + +%files filesharing +%defattr(-,root,root,-) +%{tde_tdelibdir}/fileshare_propsdlgplugin.la +%{tde_tdelibdir}/fileshare_propsdlgplugin.so +%{tde_tdelibdir}/kcm_fileshare.la +%{tde_tdelibdir}/kcm_fileshare.so +%{tde_tdelibdir}/kcm_kcmsambaconf.la +%{tde_tdelibdir}/kcm_kcmsambaconf.so +%{tde_tdeappdir}/fileshare.desktop +%{tde_tdeappdir}/kcmsambaconf.desktop +%{tde_datadir}/icons/hicolor/*/apps/kcmsambaconf.png +%{tde_datadir}/services/fileshare_propsdlgplugin.desktop + +%post filesharing +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun filesharing +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-kdict +Summary: Dictionary client for Trinity +Group: Applications/Internet + +%description -n trinity-kdict +KDict is an advanced TDE graphical client for the DICT Protocol, with full +Unicode support. It enables you to search through dictionary databases for a +word or phrase, then displays suitable definitions. KDict tries to ease +basic as well as advanced queries. + +%files -n trinity-kdict +%defattr(-,root,root,-) +%{tde_bindir}/kdict +%{tde_tdelibdir}/kdict.* +%{tde_tdelibdir}/kdict_panelapplet.* +%{tde_libdir}/libkdeinit_kdict.* +%{tde_tdeappdir}/kdict.desktop +%{tde_datadir}/apps/kdict +%{tde_datadir}/apps/kicker/applets/kdictapplet.desktop +%{tde_datadir}/icons/hicolor/*/apps/kdict.* +%{tde_tdedocdir}/HTML/en/kdict + +%post -n trinity-kdict +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-kdict +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package kfile-plugins +Summary: Torrent metainfo plugin for Trinity +Group: Applications/Internet + +Obsoletes: tdenetwork-kfile-plugins < %{version}-%{release} +Provides: tdenetwork-kfile-plugins = %{version}-%{release} + +%description kfile-plugins +This package provides a metainformation plugin for bittorrent files. +TDE uses kfile-plugins to provide metainfo tab in the files properties +dialog in konqueror and other file-handling applications. + +%files kfile-plugins +%{tde_tdelibdir}/kfile_torrent.la +%{tde_tdelibdir}/kfile_torrent.so +%{tde_datadir}/services/kfile_torrent.desktop + +%post kfile-plugins +update-desktop-database 2> /dev/null || : + +%postun kfile-plugins +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-kget +Summary: download manager for Trinity +Group: Applications/Internet + +%description -n trinity-kget +KGet is a a download manager similar to GetRight or Go!zilla. It keeps +all your downloads in one dialog and you can add and remove transfers. +Transfers can be paused, resumed, queued or scheduled. +Dialogs display info about status of transfers - progress, size, speed +and remaining time. Program supports drag & drop from TDE +applications and Netscape. + +%files -n trinity-kget +%defattr(-,root,root,-) +%{tde_bindir}/kget +%{tde_tdelibdir}/khtml_kget.la +%{tde_tdelibdir}/khtml_kget.so +%{tde_tdeappdir}/kget.desktop +%{tde_datadir}/apps/kget +%{tde_datadir}/apps/khtml/kpartplugins/kget_plug_in.desktop +%{tde_datadir}/apps/khtml/kpartplugins/kget_plug_in.rc +%{tde_datadir}/apps/konqueror/servicemenus/kget_download.desktop +%{tde_datadir}/icons/crystalsvg/*/actions/khtml_kget.png +%{tde_datadir}/icons/crystalsvg/*/apps/kget.png +%{tde_datadir}/icons/crystalsvg/*/mimetypes/kget_list.png +%{tde_datadir}/mimelnk/application/x-kgetlist.desktop +%{tde_datadir}/sounds/KGet_Added.ogg +%{tde_datadir}/sounds/KGet_Finished.ogg +%{tde_datadir}/sounds/KGet_Finished_All.ogg +%{tde_datadir}/sounds/KGet_Started.ogg +%{tde_tdedocdir}/HTML/en/kget + +%post -n trinity-kget +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-kget +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-knewsticker +Summary: news ticker applet for Trinity +Group: Applications/Internet + +%description -n trinity-knewsticker +This is a news ticker applet for the Trinity panel. It can scroll news from +your favorite news sites, such as lwn.net, /. and freshmeat.net. +To achieve this, KNewsTicker requires the news sites to provide a +RSS feed to newsitems. KNewsTicker already comes with a selection of +good news sources which provide such files. + +%files -n trinity-knewsticker +%defattr(-,root,root,-) +%{tde_bindir}/knewstickerstub +%{tde_tdelibdir}/knewsticker_panelapplet.la +%{tde_tdelibdir}/knewsticker_panelapplet.so +%{tde_tdelibdir}/kntsrcfilepropsdlg.la +%{tde_tdelibdir}/kntsrcfilepropsdlg.so +%{tde_tdeappdir}/knewsticker-standalone.desktop +%{tde_datadir}/applnk/.hidden/knewstickerstub.desktop +%{tde_datadir}/apps/kconf_update/knewsticker.upd +%{tde_datadir}/apps/kconf_update/knt-0.1-0.2.pl +%{tde_datadir}/apps/kicker/applets/knewsticker.desktop +%{tde_datadir}/apps/knewsticker/eventsrc +%{tde_datadir}/icons/hicolor/*/apps/knewsticker.png +%{tde_datadir}/services/kntsrcfilepropsdlg.desktop +%{tde_tdedocdir}/HTML/en/knewsticker + +%post -n trinity-knewsticker +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-knewsticker +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-kopete +Summary: instant messenger for Trinity +Group: Applications/Internet +URL: http://kopete.kde.org + +#Recommends: qca-tls +#Suggests: tdeartwork-emoticons-trinity, khelpcenter-trinity, imagemagick, gnupg, gnomemeeting +BuildRequires: libxml2-devel +BuildRequires: libxslt-devel +BuildRequires: meanwhile-devel +#jabber +BuildRequires: libidn-devel +#jabber/jingle +BuildRequires: expat-devel +BuildRequires: glib2-devel +BuildRequires: ortp-devel +BuildRequires: speex-devel +# jabber/ssl +#{?fedora:Requires(hint): qca-tls} +Requires: jasper + +%description -n trinity-kopete +Kopete is an instant messenger program which can communicate with a variety +of IM systems, such as Yahoo, ICQ, MSN, IRC and Jabber. + +Support for more IM protocols can be added through a plugin system. + +%files -n trinity-kopete +%defattr(-,root,root,-) +# nowlistening support +%exclude %{tde_datadir}/apps/kopete/*nowlisteningchatui* +%exclude %{tde_datadir}/apps/kopete/*nowlisteningui* +%exclude %{tde_datadir}/config.kcfg/nowlisteningconfig.kcfg +%exclude %{tde_datadir}/services/kconfiguredialog/*nowlistening* +%exclude %{tde_datadir}/services/*nowlistening* +%exclude %{tde_tdelibdir}/*nowlistening* +# Main kopete package +%{tde_bindir}/kopete +%{tde_bindir}/kopete_latexconvert.sh +%{tde_libdir}/kconf_update_bin/kopete_account_kconf_update +%{tde_libdir}/kconf_update_bin/kopete_nameTracking_kconf_update +%{tde_libdir}/kconf_update_bin/kopete_pluginloader2_kconf_update +%{tde_tdelibdir}/kcm_kopete_*.so +%{tde_tdelibdir}/kcm_kopete_*.la +%{tde_tdelibdir}/kio_jabberdisco.la +%{tde_tdelibdir}/kio_jabberdisco.so +%{tde_tdelibdir}/kopete_*.la +%{tde_tdelibdir}/kopete_*.so +%{tde_tdelibdir}/libkrichtexteditpart.la +%{tde_tdelibdir}/libkrichtexteditpart.so +%{tde_libdir}/libkopete_msn_shared.so.* +%{tde_libdir}/libkopete_oscar.so.* +%{tde_libdir}/libkopete.so.* +%{tde_libdir}/libkopete_videodevice.so.* +%{tde_tdeappdir}/kopete.desktop +%{tde_datadir}/apps/kconf_update/kopete-* +%{tde_datadir}/apps/kopete +%{tde_datadir}/apps/kopete_*/*.rc +%{tde_datadir}/apps/kopeterichtexteditpart/kopeterichtexteditpartfull.rc +%{tde_datadir}/config.kcfg/historyconfig.kcfg +%{tde_datadir}/config.kcfg/kopeteidentityconfigpreferences.kcfg +%{tde_datadir}/config.kcfg/kopete.kcfg +%{tde_datadir}/config.kcfg/latexconfig.kcfg +%{tde_datadir}/icons/crystalsvg/*/actions/voicecall.png +%{tde_datadir}/icons/crystalsvg/*/actions/webcamreceive.png +%{tde_datadir}/icons/crystalsvg/*/actions/webcamsend.png +%{tde_datadir}/icons/crystalsvg/*/actions/account_offline_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/add_user.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_away_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_busy_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_food_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_invisible_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_phone_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_xa_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/delete_user.png +%{tde_datadir}/icons/crystalsvg/*/actions/edit_user.png +%{tde_datadir}/icons/crystalsvg/*/actions/emoticon.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_away.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_chatty.png +#%{tde_datadir}/icons/crystalsvg/*/actions/jabber_connecting.mng +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_group.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_invisible.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_na.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_offline.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_online.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_original.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_raw.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_serv_off.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_serv_on.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_xa.png +%{tde_datadir}/icons/crystalsvg/*/actions/kopeteavailable.png +%{tde_datadir}/icons/crystalsvg/*/actions/kopeteaway.png +%{tde_datadir}/icons/crystalsvg/*/actions/kopeteeditstatusmessage.png +%{tde_datadir}/icons/crystalsvg/*/actions/kopetestatusmessage.png +%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_away.png +%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_offline.png +%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_online.png +%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_unknown.png +%{tde_datadir}/icons/crystalsvg/*/actions/newmsg.png +%{tde_datadir}/icons/crystalsvg/*/actions/search_user.png +%{tde_datadir}/icons/crystalsvg/*/actions/show_offliners.png +%{tde_datadir}/icons/crystalsvg/*/actions/status_unknown_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/status_unknown.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_aim.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_gadu.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_http-ws.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_icq.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_irc.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_msn.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_qq.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_smtp.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_tlen.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_yahoo.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_protocol.png +%{tde_datadir}/icons/crystalsvg/*/apps/kopete_all_away.png +%{tde_datadir}/icons/crystalsvg/*/apps/kopete_offline.png +%{tde_datadir}/icons/crystalsvg/*/apps/kopete_some_away.png +%{tde_datadir}/icons/crystalsvg/*/apps/kopete_some_online.png +%{tde_datadir}/icons/crystalsvg/*/mimetypes/kopete_emoticons.png +%{tde_datadir}/icons/crystalsvg/scalable/actions/account_offline_overlay.svgz +%{tde_datadir}/icons/hicolor/*/apps/kopete.png +%{tde_datadir}/icons/hicolor/*/actions/emoticon.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_away.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_chatty.png +#%{tde_datadir}/icons/hicolor/*/actions/jabber_connecting.mng +%{tde_datadir}/icons/hicolor/*/actions/jabber_group.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_invisible.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_na.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_offline.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_online.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_original.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_raw.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_serv_off.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_serv_on.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_xa.png +%{tde_datadir}/icons/hicolor/*/actions/kopeteavailable.png +%{tde_datadir}/icons/hicolor/*/actions/kopeteaway.png +%{tde_datadir}/icons/hicolor/*/actions/newmsg.png +%{tde_datadir}/icons/hicolor/*/actions/status_unknown_overlay.png +%{tde_datadir}/icons/hicolor/*/actions/status_unknown.png +%{tde_datadir}/icons/hicolor/*/apps/jabber_protocol.png +%{tde_datadir}/icons/hicolor/scalable/apps/kopete2.svgz +%{tde_datadir}/mimelnk/application/x-icq.desktop +%{tde_datadir}/mimelnk/application/x-kopete-emoticons.desktop +%{tde_datadir}/services/aim.protocol +%{tde_datadir}/services/chatwindow.desktop +%{tde_datadir}/services/emailwindow.desktop +%{tde_datadir}/services/jabberdisco.protocol +%{tde_datadir}/services/kconfiguredialog/kopete_*.desktop +%{tde_datadir}/services/kopete_*.desktop +%{tde_datadir}/icons/crystalsvg/16x16/apps/jabber_gateway_sms.png +%{tde_datadir}/servicetypes/kopete*.desktop +%{tde_datadir}/sounds/Kopete_*.ogg +%{tde_tdedocdir}/HTML/en/kopete +# jingle support for kopete +%{tde_bindir}/relayserver +%{tde_bindir}/stunserver +# winpopup support for kopete +%{tde_bindir}/winpopup-install.sh +%{tde_bindir}/winpopup-send.sh +# meanwhile protocol support for kopete +%{tde_tdelibdir}/new_target0.la +%{tde_tdelibdir}/new_target0.so +# motionaway plugin for kopete +%{tde_datadir}/config.kcfg/motionawayconfig.kcfg +# smpp plugin for kopete +%{tde_datadir}/config.kcfg/smpppdcs.kcfg + + +%post -n trinity-kopete +for f in crystalsvg hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : +/sbin/ldconfig + +%postun -n trinity-kopete +for f in crystalsvg hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : +/sbin/ldconfig + +########## + +%package -n trinity-kopete-nowlistening +Summary: Nowlistening (xmms) plugin for Kopete. +Group: Applications/Internet + +%description -n trinity-kopete-nowlistening +Kopete includes the "Now Listening" plug-in that can report what music you +are currently listening to, in a number of different players, including +noatun, kscd, juk, kaffeine and amarok. + +%files -n trinity-kopete-nowlistening +%defattr(-,root,root,-) +%{tde_datadir}/apps/kopete/*nowlisteningchatui* +%{tde_datadir}/apps/kopete/*nowlisteningui* +%{tde_datadir}/config.kcfg/nowlisteningconfig.kcfg +%{tde_datadir}/services/kconfiguredialog/*nowlistening* +%{tde_datadir}/services/*nowlistening* +%{tde_tdelibdir}/*nowlistening* + +########## + +%package -n trinity-kpf +Summary: Public fileserver for Trinity +Group: Applications/Internet + +%description -n trinity-kpf +kpf provides simple file sharing using HTTP. kpf is strictly a public +fileserver, which means that there are no access restrictions to shared +files. Whatever you select for sharing is available to anyone. kpf is +designed to be used for sharing files with friends. + +%files -n trinity-kpf +%defattr(-,root,root,-) +%{tde_tdelibdir}/kpf* +%{tde_datadir}/apps/kicker/applets/kpfapplet.desktop +%{tde_datadir}/icons/crystalsvg/*/apps/kpf.* +%{tde_datadir}/services/kpfpropertiesdialogplugin.desktop +%{tde_tdedocdir}/HTML/en/kpf + +%post -n trinity-kpf +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-kpf +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-kppp +Summary: modem dialer and ppp frontend for Trinity +Group: Applications/Internet +Requires: ppp +%if 0%{?rhel} || 0%{?fedora} +Requires: usermode-gtk +%else +Requires: usermode +%endif + +%description -n trinity-kppp +KPPP is a dialer and front end for pppd. It allows for interactive +script generation and network setup. It will automate the dialing in +process to your ISP while letting you conveniently monitor the entire +process. + +Once connected KPPP will provide a rich set of statistics and keep +track of the time spent online for you. + +%files -n trinity-kppp +%defattr(-,root,root,-) +%config(noreplace) /etc/security/console.apps/kppp3 +%config(noreplace) /etc/pam.d/kppp3 +%{tde_bindir}/kppp3 +%{tde_bindir}/kppplogview +%{_sbindir}/kppp3 +%{tde_sbindir}/kppp3 +%{tde_tdeappdir}/Kppp.desktop +%{tde_tdeappdir}/kppplogview.desktop +%{tde_datadir}/apps/checkrules +%{tde_datadir}/apps/kppp +%{tde_datadir}/icons/hicolor/*/apps/kppp.png +%{tde_tdedocdir}/HTML/en/kppp + +%post -n trinity-kppp +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-kppp +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-krdc +Summary: Remote Desktop Connection for Trinity +Group: Applications/Internet +Requires: rdesktop + +%description -n trinity-krdc +krdc is an TDE graphical client for the rfb protocol, used by VNC, +and if rdesktop is installed, krdc can connect to Windows Terminal +Servers using RDP. + +%files -n trinity-krdc +%defattr(-,root,root,-) +%{tde_bindir}/krdc +%{tde_tdeappdir}/krdc.desktop +%{tde_datadir}/apps/konqueror/servicemenus/smb2rdc.desktop +%{tde_datadir}/apps/krdc +%{tde_datadir}/icons/crystalsvg/*/apps/krdc.png +%{tde_datadir}/services/rdp.protocol +%{tde_datadir}/services/vnc.protocol +%{tde_tdedocdir}/HTML/en/krdc + +%post -n trinity-krdc +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-krdc +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-krfb +Summary: Desktop Sharing for Trinity +Group: Applications/Internet + +%description -n trinity-krfb +Desktop Sharing (krfb) is a server application that allows you to share +your current session with a user on another machine, who can use a +VNC client like krdc to view or even control the desktop. It doesn't +require you to start a new X session - it can share the current session. +This makes it very useful when you want someone to help you perform a +task. + +%files -n trinity-krfb +%defattr(-,root,root,-) +%{tde_bindir}/krfb +%{tde_bindir}/krfb_httpd +%{tde_tdelibdir}/kcm_krfb.la +%{tde_tdelibdir}/kcm_krfb.so +%{tde_tdelibdir}/kded_kinetd.la +%{tde_tdelibdir}/kded_kinetd.so +%{tde_tdeappdir}/kcmkrfb.desktop +%{tde_tdeappdir}/krfb.desktop +%{tde_datadir}/apps/kinetd/eventsrc +%{tde_datadir}/apps/krfb +%{tde_datadir}/icons/crystalsvg/*/apps/krfb.png +%{tde_datadir}/icons/locolor/*/apps/krfb.png +%{tde_datadir}/services/kded/kinetd.desktop +%{tde_datadir}/services/kinetd_krfb.desktop +%{tde_datadir}/services/kinetd_krfb_httpd.desktop +%{tde_datadir}/servicetypes/kinetdmodule.desktop +%{tde_tdedocdir}/HTML/en/krfb + +%post -n trinity-krfb +for f in crystalsvg locolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-krfb +for f in crystalsvg locolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-ksirc +Summary: IRC client for Trinity +Group: Applications/Internet + +%description -n trinity-ksirc +KSirc is an IRC chat client for KDE. It supports scripting with Perl and has a +lot of compatibility with mIRC for general use. + +If you want to connect to an IRC server via SSL, you will need to install the +recommended package libio-socket-ssl-perl. + +%files -n trinity-ksirc +%defattr(-,root,root,-) +%{tde_bindir}/dsirc +%{tde_bindir}/ksirc +%{tde_libdir}/libkdeinit_ksirc.* +%{tde_tdelibdir}/ksirc.* +%{tde_tdeappdir}/ksirc.desktop +%{tde_datadir}/apps/ksirc/ +%config(noreplace) %{tde_datadir}/config/ksircrc +%{tde_datadir}/icons/hicolor/*/apps/ksirc.* +%{tde_tdedocdir}/HTML/??/ksirc/ + +%post -n trinity-ksirc +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : +/sbin/ldconfig + + +%postun -n trinity-ksirc +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : +/sbin/ldconfig + +########## + +%package -n trinity-ktalkd +Summary: Talk daemon for Trinity +Group: Applications/Internet + +%description -n trinity-ktalkd +KTalkd is an enhanced talk daemon - a program to handle incoming talk +requests, announce them and allow you to respond to it using a talk +client. Note that KTalkd is designed to run on a single-user workstation, +and shouldn't be run on a multi-user machine. + +%files -n trinity-ktalkd +%defattr(-,root,root,-) +%{tde_bindir}/ktalkd* +%{tde_bindir}/mail.local +%{tde_tdelibdir}/kcm_ktalkd.* +%{tde_tdeappdir}/kcmktalkd.desktop +%config(noreplace) %{tde_datadir}/config/ktalkdrc +%{tde_datadir}/icons/crystalsvg/*/apps/ktalkd.* +%{tde_datadir}/sounds/ktalkd.wav +%config(noreplace) %{_sysconfdir}/xinetd.d/ktalk +%{tde_tdedocdir}/HTML/en/kcontrol/kcmtalkd +%{tde_tdedocdir}/HTML/en/ktalkd + +%post -n trinity-ktalkd +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-ktalkd +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%if "%{?_with_wifi:1}" == "1" +%package -n trinity-kwifimanager +#Depends: ${shlibs:Depends}, wireless-tools +#Suggests: khelpcenter-trinity +Summary: Wireless lan manager for Trinity +Group: Applications/Internet + +%description -n trinity-kwifimanager +KWiFiManager suite is a set of tools which allows you to manage your +wireless LAN connection under the K Desktop Environment. It provides +information about your current connection. KWiFiManager supports every +wavelan card that uses the wireless extensions interface. + +%files -n trinity-kwifimanager +%defattr(-,root,root,-) +%{tde_bindir}/kwifimanager +%{tde_tdelibdir}/kcm_wifi.* +%{tde_tdelibdir}/libkwireless.la +%{tde_tdelibdir}/libkwireless.so +%{tde_tdeappdir}/kcmwifi.desktop +%{tde_tdeappdir}/kwifimanager.desktop +%{tde_datadir}/apps/kicker/applets/kwireless.desktop +%{tde_datadir}/apps/kwifimanager +%{tde_datadir}/icons/hicolor/*/apps/kwifimanager.png +%{tde_datadir}/icons/hicolor/*/apps/kwifimanager.svgz +%doc %{tde_tdedocdir}/HTML/en/kwifimanager + +%post -n trinity-kwifimanager +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-kwifimanager +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : +%endif + +########## + +%package -n trinity-librss +Summary: RSS library for Trinity +Group: Environment/Libraries + +%description -n trinity-librss +This is the runtime package for programs that use the TDE RSS library. +End users should not need to install this, it should get installed +automatically when needed. + +%files -n trinity-librss +%defattr(-,root,root,-) +%{tde_libdir}/librss.so.* + +%post -n trinity-librss +/sbin/ldconfig + +%postun -n trinity-librss +/sbin/ldconfig + +########## + +%package -n trinity-lisa +Summary: LAN information server for Trinity +Group: Applications/Internet +Requires(preun): chkconfig +Requires(post): chkconfig + +%description -n trinity-lisa +LISa is intended to provide KDE with a kind of "network neighborhood" +but relying only on the TCP/IP protocol. + +%files -n trinity-lisa +%defattr(-,root,root,-) +%config(noreplace) %{_sysconfdir}/lisarc* +%config(noreplace) %{_initrddir}/lisa +%{tde_tdelibdir}/kcm_lanbrowser.la +%{tde_tdelibdir}/kcm_lanbrowser.so +%{tde_tdelibdir}/kio_lan.la +%{tde_tdelibdir}/kio_lan.so +%{tde_datadir}/applnk/.hidden/kcmkiolan.desktop +%{tde_datadir}/applnk/.hidden/kcmlisa.desktop +%{tde_datadir}/applnk/.hidden/kcmreslisa.desktop +%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/lisa.desktop +%{tde_datadir}/apps/konqueror/dirtree/remote/lan.desktop +%{tde_datadir}/apps/lisa/README +%{tde_datadir}/apps/remoteview/lan.desktop +%{tde_tdedocdir}/HTML/en/kcontrol/lanbrowser/common +%{tde_tdedocdir}/HTML/en/kcontrol/lanbrowser/index.cache.bz2 +%{tde_tdedocdir}/HTML/en/kcontrol/lanbrowser/index.docbook +%{tde_tdedocdir}/HTML/en/lisa +%{tde_datadir}/services/lan.protocol +%{tde_datadir}/services/rlan.protocol +%{tde_bindir}/lisa +%{tde_bindir}/reslisa + +%post -n trinity-lisa +/sbin/chkconfig --add lisa ||: +update-desktop-database 2> /dev/null || : + +%postun -n trinity-lisa +if [ $1 -eq 0 ]; then + /sbin/chkconfig --del lisa ||: + /sbin/service lisa stop > /dev/null 2>&1 ||: +fi +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-kdnssd +#Recommends: avahi-daemon +#Suggests: avahi-autoipd | zeroconf +Summary: Zeroconf support for KDE +Group: Applications/Internet + +%description -n trinity-kdnssd +A kioslave and kded module that provide Zeroconf support. Try +"zeroconf:/" in Konqueror. + +%files -n trinity-kdnssd +%defattr(-,root,root,-) +%{tde_datadir}/services/zeroconf.protocol +%{tde_datadir}/services/invitation.protocol +%{tde_datadir}/services/kded/dnssdwatcher.desktop +%{tde_datadir}/apps/remoteview/zeroconf.desktop +%{tde_datadir}/apps/zeroconf/_http._tcp +%{tde_datadir}/apps/zeroconf/_ftp._tcp +%{tde_datadir}/apps/zeroconf/_ldap._tcp +%{tde_datadir}/apps/zeroconf/_webdav._tcp +%{tde_datadir}/apps/zeroconf/_nfs._tcp +%{tde_datadir}/apps/zeroconf/_ssh._tcp +%{tde_datadir}/apps/zeroconf/_rfb._tcp +%{tde_tdelibdir}/kio_zeroconf.so +%{tde_tdelibdir}/kio_zeroconf.la +%{tde_tdelibdir}/kded_dnssdwatcher.so +%{tde_tdelibdir}/kded_dnssdwatcher.la + +%post -n trinity-kdnssd +update-desktop-database 2> /dev/null || : + +%postun -n trinity-kdnssd +update-desktop-database 2> /dev/null || : + +########## + +%prep +%setup -q -n kdenetwork + +%patch1 -p1 -b .ldflags +%patch3 -p1 -b .kppp +%patch4 -p1 -b .resolv +%patch6 -p1 -b .krfb_httpd +%patch10 -p1 +%patch11 -p1 +%patch12 -p1 +%patch13 -p1 +%patch14 -p4 +%patch15 -p1 +%patch17 -p1 +%patch18 -p1 +%patch19 -p1 +%patch20 -p1 +%patch21 -p1 + + +# TDE 3.5.13: missing 'dummy.cpp' in MSN protocol +%__install -m 644 %{SOURCE10} kopete/protocols/msn/dummy.cpp + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" +export LD_LIBRARY_PATH="%{tde_libdir}" + +%if 0%{?rhel} || 0%{?fedora} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DWITH_JINGLE=ON \ + -DWITH_SPEEX=ON \ + -DWITH_WEBCAM=ON \ + -DWITH_GSM=OFF \ + -DWITH_ARTS=ON \ + -DBUILD_ALL=ON \ + -DBUILD_KOPETE_PROTOCOL_ALL=ON \ + -DBUILD_KOPETE_PLUGIN_ALL=ON \ + .. + +# Tdenetwork is not smp safe ! +%__make VERBOSE=1 + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + + +## File lists +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && %{__rm} -f $i/common && ln -sf ../common $i/common + done + popd + fi +done +fi + +# Show only in KDE, FIXME, need to re-evaluate these -- Rex +for i in fileshare kcmkrfb kcmktalkd kcmwifi krfb kppp kppplogview \ + kwifimanager kget knewsticker ksirc kdict ; do + if [ -f %{buildroot}%{tde_datadir}/applications/kde/$i.desktop ] ; then + echo "OnlyShowIn=KDE;" >> %{buildroot}%{tde_datadir}/applications/kde/$i.desktop + fi +done + +# Run kppp through consolehelper, and rename it to 'kppp3' +%__install -p -m644 -D %{SOURCE1} %{buildroot}/etc/pam.d/kppp3 +%__mkdir_p %{buildroot}%{tde_sbindir} %{buildroot}%{_sbindir} +%__mv %{buildroot}%{tde_bindir}/kppp %{buildroot}%{tde_sbindir}/kppp3 +%__ln_s %{_bindir}/consolehelper %{buildroot}%{tde_bindir}/kppp3 +%if "%{tde_prefix}" != "/usr" +%__ln_s %{tde_sbindir}/kppp3 %{?buildroot}%{_sbindir}/kppp3 +%endif +%__mkdir_p %{buildroot}%{_sysconfdir}/security/console.apps +cat > %{buildroot}%{_sysconfdir}/security/console.apps/kppp3 < - 3.5.13-6 +- Renames to 'trinity-tdenetwork' +- Fix html special chars in kopete nowlistening plugin [Bug #944] [Commit #0a2892ed] +- Fix a fatal error message [Commit #5c988de1] +- Fix a parallel build bug [Commit #35c41f35] + +* Sat Jun 16 2012 Francois Andriot - 3.5.13-5 +- Split single package in multiple packages +- Removes useless 'Provides' +- Updates 'BuildRequires' +- Fix linear alphabet string errors [Commit #3516f9bc] +- Remove "More Applications" from TDE menu. [Bug #653] [Commit #f86a2538] +- Improve Kaffeine support in Kopete now listening plugin [Commit #f6708531] + +* Sun Nov 25 2011 Francois Andriot - 3.5.13-4 +- Enable Kopete protocols & plugins compilation +- Enables all features (openslp, jingle, ...) on all distros +- Moves 'irc.protocol' file to prevent conflict with other packages + +* Thu Nov 17 2011 Francois Andriot - 3.5.13-3 +- Fix symbolic link to 'consolehelper' + +* Sat Nov 12 2011 Francois Andriot - 3.5.13-2 +- Removes conflict on file 'lisarc' for RHEL 5 + +* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 +- Initial release for RHEL 6, RHEL 5 and Fedora 15 + +* Tue Oct 25 2011 Francois Andriot - 3.5.13-0 +- Import to GIT + diff --git a/redhat/tdenetwork/tdenetwork-14.0.0.spec b/redhat/tdenetwork/tdenetwork-14.0.0.spec new file mode 100644 index 000000000..debd146aa --- /dev/null +++ b/redhat/tdenetwork/tdenetwork-14.0.0.spec @@ -0,0 +1,1197 @@ +# Avoids relinking, which breaks consolehelper +%define dont_relink 1 + +# If TDE is built iwn a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_sbindir %{tde_prefix}/sbin + +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +# Fedora review: http://bugzilla.redhat.com/195486 + +## Conditional build: +# RHEL6: xmms is outdated ! +#define _with_xmms --with-xmms +%ifnarch s390 s390x +%define _with_wifi --with-wifi +%endif + +Name: trinity-tdenetwork +Version: 14.0.0 +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} +Summary: Trinity Desktop Environment - Network Applications + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +License: GPLv2 +Group: Applications/Internet + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz +Source1: kppp.pamd +Source2: ktalk +Source4: lisarc +Source5: lisa.redhat + +# RedHat/Fedora legacy patches +Patch4: kdenetwork-3.2.3-resolv.patch +# include more/proper ppp headers +Patch6: kdenetwork-3.5.9-krfb_httpd.patch + +# [kdenetwork] Missing LDFLAGS cause FTBFS +Patch1: kdenetwork-3.5.13-missing_ldflags.patch + +# RHEL4 specific +Patch201: kdenetwork-3.5.13.1-fix_rhel4_libraries.patch +Patch202: tdenetwork-3.5.13.2-fix_conflicting_definitions.patch + +BuildRequires: cmake >= 2.8 +BuildRequires: gettext +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: coreutils +BuildRequires: openssl-devel +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: sqlite3-devel +%else +BuildRequires: sqlite-devel +%endif +BuildRequires: gnutls-devel +BuildRequires: libxtst-devel + +# GADU support +%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} +%define with_gadu 1 +BuildRequires: libgadu-devel +%endif + +%if 0%{?fedora} >= 5 || 0%{?rhel} >= 5 +BuildRequires: libXmu-devel +BuildRequires: libXScrnSaver-devel +BuildRequires: libXtst-devel +BuildRequires: libXxf86vm-devel +%endif + +# Wifi support +%if "%{?_with_wifi:1}" == "1" +%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5 +BuildRequires: wireless-tools-devel +%endif +%if 0%{?mgaversion} == 2 || 0%{?mdkversion} +BuildRequires: %{_lib}iw29-devel +%endif +%if 0%{?rhel} == 5 +BuildRequires: wireless-tools +%endif +%if 0%{?suse_version} || 0%{?mgaversion} >= 3 +BuildRequires: libiw-devel +%endif +%endif + +# OpenSLP support +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} +%define with_openslp 1 +BuildRequires: openslp-devel +%endif + +%ifarch %{ix86} +# BR: %{tde_includedir}/valgrind/valgrind.h +BuildRequires: valgrind +%endif + +%{?_with_xmms:BuildRequires: xmms-devel} + +# V4L support +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?suse_version} +BuildRequires: libv4l-devel +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}v4l-devel +%endif + +# XML support +BuildRequires: libxml2-devel +BuildRequires: libxslt-devel + +#jabber +BuildRequires: libidn-devel +#jabber/jingle +%if 0%{?suse_version} +BuildRequires: libexpat-devel +%else +BuildRequires: expat-devel +%endif +BuildRequires: glib2-devel +BuildRequires: speex-devel +# jabber/ssl +#{?fedora:Requires(hint): qca-tls} +Requires: jasper + +# MEANWHILE support +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?suse_version} +%define with_meanwhile 1 +BuildRequires: meanwhile-devel +%endif + +# ORTP support +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 +BuildRequires: ortp-devel +%endif + +# SPEEX support +%if 0%{?rhel} >= 5 || 0%{?fedora} >= 15 || 0%{?suse_version} || 0%{?mdkversion} || 0%{?mgaversion} +%define with_speex 1 +BuildRequires: speex-devel +%endif + +# CONSOLEHELPER (usermode) support +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_consolehelper 1 + +# Avoids relinking, which breaks consolehelper +%define dont_relink 1 +%endif + +Obsoletes: trinity-kdenetwork < %{version}-%{release} +Provides: trinity-kdenetwork = %{version}-%{release} +Obsoletes: trinity-kdenetwork-libs < %{version}-%{release} +Provides: trinity-kdenetwork-libs = %{version}-%{release} +Obsoletes: trinity-kdenetwork-extras < %{version}-%{release} +Provides: trinity-kdenetwork-extras = %{version}-%{release} +Obsoletes: tdenetwork < %{version}-%{release} +Provides: tdenetwork = %{version}-%{release} + +Requires: trinity-dcoprss = %{version}-%{release} +Requires: %{name}-filesharing = %{version}-%{release} +Requires: trinity-kdict = %{version}-%{release} +Requires: %{name}-tdefile-plugins = %{version}-%{release} +Requires: trinity-kget = %{version}-%{release} +Requires: trinity-knewsticker = %{version}-%{release} +Requires: trinity-kopete = %{version}-%{release} +Requires: trinity-kopete-nowlistening = %{version}-%{release} +Requires: trinity-kpf = %{version}-%{release} +Requires: trinity-kppp = %{version}-%{release} +Requires: trinity-krdc = %{version}-%{release} +Requires: trinity-krfb = %{version}-%{release} +Requires: trinity-ksirc = %{version}-%{release} +Requires: trinity-ktalkd = %{version}-%{release} +Requires: trinity-kwifimanager = %{version}-%{release} +Requires: trinity-librss = %{version}-%{release} +Requires: trinity-lisa = %{version}-%{release} + +%description +This metapackage includes a collection of network and networking related +applications provided with the official release of Trinity. + +Networking applications, including: +* dcoprss: RSS utilities for Trinity +* filesharing: Network filesharing configuration module for Trinity +* kdict: Dictionary client for Trinity +* tdefile-plugins: Torrent metainfo plugin for Trinity +* kget: downloader manager +* knewsticker: RDF newsticker applet +* kopete: chat client +* kopete-nowlistening: (xmms) plugin for Kopete. +* kpf: Public fileserver for Trinity +* kppp: dialer and front end for pppd +* krdc: a client for Desktop Sharing and other VNC servers +* krfb: Desktop Sharing server, allow others to access your desktop via VNC +* ksirc: IRC client for Trinity +* ktalkd: Talk daemon for Trinity +* kwifimanager: Wireless lan manager for Trinity +* librss: RSS library for Trinity +* lisa: lan information server + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING README + + +########## + +%package -n trinity-dcoprss +Summary: RSS utilities for Trinity +Group: Applications/Internet + +%description -n trinity-dcoprss +dcoprss is a RSS to DCOP bridge, allowing all +DCOP aware applications to access RSS news feeds. There is also +a few sample utilities provided. +RSS is a standard for publishing news headlines. +DCOP is the TDE interprocess communication protocol. + +%files -n trinity-dcoprss +%defattr(-,root,root,-) +%{tde_bindir}/feedbrowser +%{tde_bindir}/rssclient +%{tde_bindir}/rssservice +%{tde_datadir}/services/rssservice.desktop + +%post -n trinity-dcoprss +update-desktop-database 2> /dev/null || : + +%postun -n trinity-dcoprss +update-desktop-database 2> /dev/null || : + +########## + +%package devel +Summary: Development files for the Trinity network module +Group: Development/Libraries +Requires: trinity-kdict = %{version}-%{release} +Requires: trinity-kopete = %{version}-%{release} +Requires: trinity-ksirc = %{version}-%{release} +Requires: trinity-librss = %{version}-%{release} +Requires: trinity-kdelibs-devel + +Obsoletes: trinity-kdenetwork-devel < %{version}-%{release} +Provides: trinity-kdenetwork-devel = %{version}-%{release} +Obsoletes: tdenetwork-devel < %{version}-%{release} +Provides: tdenetwork-devel = %{version}-%{release} + +%description devel +This is the development package which contains the headers for the KDE RSS +library as well as the Kopete chat client, as well as miscellaneous +development-related files for the TDE network module. + +%files devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kopete/*.h +%{tde_tdeincludedir}/kopete/ui/*.h +%{tde_tdeincludedir}/rss/*.h +%{tde_libdir}/libtdeinit_kdict.la +%{tde_libdir}/libtdeinit_ksirc.la +%{tde_libdir}/libkopete.la +%{tde_libdir}/libkopete.so +%{tde_libdir}/libkopete_msn_shared.la +%{tde_libdir}/libkopete_msn_shared.so +%{tde_libdir}/libkopete_oscar.la +%{tde_libdir}/libkopete_oscar.so +%{tde_libdir}/libkopete_videodevice.la +%{tde_libdir}/libkopete_videodevice.so +%{tde_libdir}/librss.la +%{tde_libdir}/librss.so + +%post devel +/sbin/ldconfig + +%postun devel +/sbin/ldconfig + +########## + +%package filesharing +#Recommends: perl-suid +Summary: Network filesharing configuration module for Trinity +Group: Applications/Internet + +Obsoletes: tdenetwork-filesharing < %{version}-%{release} +Provides: tdenetwork-filesharing = %{version}-%{release} + +%description filesharing +This package provides a TDE Control Center module to configure +NFS and Samba. + +%files filesharing +%defattr(-,root,root,-) +%{tde_tdelibdir}/fileshare_propsdlgplugin.la +%{tde_tdelibdir}/fileshare_propsdlgplugin.so +%{tde_tdelibdir}/kcm_fileshare.la +%{tde_tdelibdir}/kcm_fileshare.so +%{tde_tdelibdir}/kcm_kcmsambaconf.la +%{tde_tdelibdir}/kcm_kcmsambaconf.so +%{tde_tdeappdir}/fileshare.desktop +%{tde_tdeappdir}/kcmsambaconf.desktop +%{tde_datadir}/icons/hicolor/*/apps/kcmsambaconf.png +%{tde_datadir}/services/fileshare_propsdlgplugin.desktop + +%post filesharing +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun filesharing +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-kdict +Summary: Dictionary client for Trinity +Group: Applications/Internet + +%description -n trinity-kdict +KDict is an advanced TDE graphical client for the DICT Protocol, with full +Unicode support. It enables you to search through dictionary databases for a +word or phrase, then displays suitable definitions. KDict tries to ease +basic as well as advanced queries. + +%files -n trinity-kdict +%defattr(-,root,root,-) +%{tde_bindir}/kdict +%{tde_tdelibdir}/kdict.* +%{tde_tdelibdir}/kdict_panelapplet.* +%{tde_libdir}/libtdeinit_kdict.* +%{tde_tdeappdir}/kdict.desktop +%{tde_datadir}/apps/kdict +%{tde_datadir}/apps/kicker/applets/kdictapplet.desktop +%{tde_datadir}/icons/hicolor/*/apps/kdict.* +%{tde_tdedocdir}/HTML/en/kdict + +%post -n trinity-kdict +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-kdict +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package tdefile-plugins +Summary: Torrent metainfo plugin for Trinity +Group: Applications/Internet + +Obsoletes: tdenetwork-kfile-plugins < %{version}-%{release} +Provides: tdenetwork-kfile-plugins = %{version}-%{release} +Obsoletes: trinity-tdenetwork-kfile-plugins < %{version}-%{release} +Provides: trinity-tdenetwork-kfile-plugins = %{version}-%{release} + +%description tdefile-plugins +This package provides a metainformation plugin for bittorrent files. +TDE uses tdefile-plugins to provide metainfo tab in the files properties +dialog in konqueror and other file-handling applications. + +%files tdefile-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/tdefile_torrent.la +%{tde_tdelibdir}/tdefile_torrent.so +%{tde_datadir}/services/tdefile_torrent.desktop + +%post tdefile-plugins +update-desktop-database 2> /dev/null || : + +%postun tdefile-plugins +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-kget +Summary: download manager for Trinity +Group: Applications/Internet + +%description -n trinity-kget +KGet is a a download manager similar to GetRight or Go!zilla. It keeps +all your downloads in one dialog and you can add and remove transfers. +Transfers can be paused, resumed, queued or scheduled. +Dialogs display info about status of transfers - progress, size, speed +and remaining time. Program supports drag & drop from TDE +applications and Netscape. + +%files -n trinity-kget +%defattr(-,root,root,-) +%{tde_bindir}/kget +%{tde_tdelibdir}/tdehtml_kget.la +%{tde_tdelibdir}/tdehtml_kget.so +%{tde_tdeappdir}/kget.desktop +%{tde_datadir}/apps/kget +%{tde_datadir}/apps/tdehtml/kpartplugins/kget_plug_in.desktop +%{tde_datadir}/apps/tdehtml/kpartplugins/kget_plug_in.rc +%{tde_datadir}/apps/konqueror/servicemenus/kget_download.desktop +%{tde_datadir}/icons/crystalsvg/*/actions/tdehtml_kget.png +%{tde_datadir}/icons/crystalsvg/*/apps/kget.png +%{tde_datadir}/icons/crystalsvg/*/mimetypes/kget_list.png +%{tde_datadir}/mimelnk/application/x-kgetlist.desktop +%{tde_datadir}/sounds/KGet_Added.ogg +%{tde_datadir}/sounds/KGet_Finished.ogg +%{tde_datadir}/sounds/KGet_Finished_All.ogg +%{tde_datadir}/sounds/KGet_Started.ogg +%{tde_tdedocdir}/HTML/en/kget + +%post -n trinity-kget +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-kget +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-knewsticker +Summary: news ticker applet for Trinity +Group: Applications/Internet + +%description -n trinity-knewsticker +This is a news ticker applet for the Trinity panel. It can scroll news from +your favorite news sites, such as lwn.net, /. and freshmeat.net. +To achieve this, KNewsTicker requires the news sites to provide a +RSS feed to newsitems. KNewsTicker already comes with a selection of +good news sources which provide such files. + +%files -n trinity-knewsticker +%defattr(-,root,root,-) +%{tde_bindir}/knewstickerstub +%{tde_tdelibdir}/knewsticker_panelapplet.la +%{tde_tdelibdir}/knewsticker_panelapplet.so +%{tde_tdelibdir}/libkntsrcfilepropsdlg.la +%{tde_tdelibdir}/libkntsrcfilepropsdlg.so +%{tde_tdeappdir}/knewsticker-standalone.desktop +%{tde_datadir}/applnk/.hidden/knewstickerstub.desktop +%{tde_datadir}/apps/tdeconf_update/knewsticker.upd +%{tde_datadir}/apps/tdeconf_update/knt-0.1-0.2.pl +%{tde_datadir}/apps/kicker/applets/knewsticker.desktop +%{tde_datadir}/apps/knewsticker/eventsrc +%{tde_datadir}/icons/hicolor/*/apps/knewsticker.png +%{tde_datadir}/services/kntsrcfilepropsdlg.desktop +%{tde_tdedocdir}/HTML/en/knewsticker + +%post -n trinity-knewsticker +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-knewsticker +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-kopete +Summary: instant messenger for Trinity +Group: Applications/Internet +URL: http://kopete.kde.org + +%description -n trinity-kopete +Kopete is an instant messenger program which can communicate with a variety +of IM systems, such as Yahoo, ICQ, MSN, IRC and Jabber. + +Support for more IM protocols can be added through a plugin system. + +%files -n trinity-kopete +%defattr(-,root,root,-) +# nowlistening support +%exclude %{tde_datadir}/apps/kopete/*nowlisteningchatui* +%exclude %{tde_datadir}/apps/kopete/*nowlisteningui* +%exclude %{tde_datadir}/config.kcfg/nowlisteningconfig.kcfg +%exclude %{tde_datadir}/services/tdeconfiguredialog/*nowlistening* +%exclude %{tde_datadir}/services/*nowlistening* +%exclude %{tde_tdelibdir}/*nowlistening* +# Main kopete package +%{tde_bindir}/kopete +%{tde_bindir}/kopete_latexconvert.sh +%{tde_libdir}/tdeconf_update_bin/kopete-account-tdeconf_update +%{tde_libdir}/tdeconf_update_bin/kopete-nameTracking-tdeconf_update +%{tde_libdir}/tdeconf_update_bin/kopete-pluginloader2-tdeconf_update +%{tde_tdelibdir}/kcm_kopete_*.so +%{tde_tdelibdir}/kcm_kopete_*.la +%{tde_tdelibdir}/tdeio_jabberdisco.la +%{tde_tdelibdir}/tdeio_jabberdisco.so +%{tde_tdelibdir}/kopete_*.la +%{tde_tdelibdir}/kopete_*.so +%{tde_tdelibdir}/libkrichtexteditpart.la +%{tde_tdelibdir}/libkrichtexteditpart.so +%{tde_libdir}/libkopete_msn_shared.so.* +%{tde_libdir}/libkopete_oscar.so.* +%{tde_libdir}/libkopete.so.* +%{tde_libdir}/libkopete_videodevice.so.* +%{tde_tdeappdir}/kopete.desktop +%{tde_datadir}/apps/tdeconf_update/kopete-* +%{tde_datadir}/apps/kopete +%{tde_datadir}/apps/kopete_*/*.rc +%{tde_datadir}/apps/kopeterichtexteditpart/kopeterichtexteditpartfull.rc +%{tde_datadir}/config.kcfg/historyconfig.kcfg +%{tde_datadir}/config.kcfg/kopeteidentityconfigpreferences.kcfg +%{tde_datadir}/config.kcfg/kopete.kcfg +%{tde_datadir}/config.kcfg/latexconfig.kcfg +%{tde_datadir}/icons/crystalsvg/*/actions/voicecall.png +%{tde_datadir}/icons/crystalsvg/*/actions/webcamreceive.png +%{tde_datadir}/icons/crystalsvg/*/actions/webcamsend.png +%{tde_datadir}/icons/crystalsvg/*/actions/account_offline_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/add_user.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_away_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_busy_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_food_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_invisible_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_phone_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_xa_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/delete_user.png +%{tde_datadir}/icons/crystalsvg/*/actions/edit_user.png +%{tde_datadir}/icons/crystalsvg/*/actions/emoticon.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_away.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_chatty.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_connecting.mng +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_group.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_invisible.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_na.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_offline.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_online.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_original.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_raw.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_serv_off.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_serv_on.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_xa.png +%{tde_datadir}/icons/crystalsvg/*/actions/kopeteavailable.png +%{tde_datadir}/icons/crystalsvg/*/actions/kopeteaway.png +%{tde_datadir}/icons/crystalsvg/*/actions/kopeteeditstatusmessage.png +%{tde_datadir}/icons/crystalsvg/*/actions/kopetestatusmessage.png +%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_away.png +%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_offline.png +%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_online.png +%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_unknown.png +%{tde_datadir}/icons/crystalsvg/*/actions/newmsg.png +%{tde_datadir}/icons/crystalsvg/*/actions/search_user.png +%{tde_datadir}/icons/crystalsvg/*/actions/show_offliners.png +%{tde_datadir}/icons/crystalsvg/*/actions/status_unknown_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/status_unknown.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_aim.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_gadu.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_http-ws.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_icq.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_irc.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_msn.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_qq.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_smtp.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_tlen.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_yahoo.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_protocol.png +%{tde_datadir}/icons/crystalsvg/*/apps/kopete_all_away.png +%{tde_datadir}/icons/crystalsvg/*/apps/kopete_offline.png +%{tde_datadir}/icons/crystalsvg/*/apps/kopete_some_away.png +%{tde_datadir}/icons/crystalsvg/*/apps/kopete_some_online.png +%{tde_datadir}/icons/crystalsvg/*/mimetypes/kopete_emoticons.png +%{tde_datadir}/icons/crystalsvg/scalable/actions/account_offline_overlay.svgz +%{tde_datadir}/icons/hicolor/*/apps/kopete.png +%{tde_datadir}/icons/hicolor/*/actions/emoticon.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_away.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_chatty.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_connecting.mng +%{tde_datadir}/icons/hicolor/*/actions/jabber_group.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_invisible.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_na.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_offline.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_online.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_original.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_raw.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_serv_off.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_serv_on.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_xa.png +%{tde_datadir}/icons/hicolor/*/actions/kopeteavailable.png +%{tde_datadir}/icons/hicolor/*/actions/kopeteaway.png +%{tde_datadir}/icons/hicolor/*/actions/newmsg.png +%{tde_datadir}/icons/hicolor/*/actions/status_unknown_overlay.png +%{tde_datadir}/icons/hicolor/*/actions/status_unknown.png +%{tde_datadir}/icons/hicolor/*/apps/jabber_protocol.png +%{tde_datadir}/icons/hicolor/scalable/apps/kopete2.svgz +%{tde_datadir}/icons/crystalsvg/*/actions/newmessage.mng +%{tde_datadir}/icons/hicolor/*/actions/newmessage.mng +%{tde_datadir}/mimelnk/application/x-icq.desktop +%{tde_datadir}/mimelnk/application/x-kopete-emoticons.desktop +%{tde_datadir}/services/aim.protocol +%{tde_datadir}/services/chatwindow.desktop +%{tde_datadir}/services/emailwindow.desktop +%{tde_datadir}/services/jabberdisco.protocol +%{tde_datadir}/services/tdeconfiguredialog/kopete_*.desktop +%{tde_datadir}/services/kopete_*.desktop +%{tde_datadir}/icons/crystalsvg/16x16/apps/jabber_gateway_sms.png +%{tde_datadir}/servicetypes/kopete*.desktop +%{tde_datadir}/sounds/Kopete_*.ogg +%{tde_tdedocdir}/HTML/en/kopete +# jingle support for kopete +%{tde_bindir}/relayserver +%{tde_bindir}/stunserver +# winpopup support for kopete +%{tde_bindir}/winpopup-install.sh +%{tde_bindir}/winpopup-send.sh +# motionaway plugin for kopete +%{tde_datadir}/config.kcfg/motionawayconfig.kcfg +# smpp plugin for kopete +%{tde_datadir}/config.kcfg/smpppdcs.kcfg + + +%post -n trinity-kopete +for f in crystalsvg hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : +/sbin/ldconfig + +%postun -n trinity-kopete +for f in crystalsvg hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : +/sbin/ldconfig + +########## + +%package -n trinity-kopete-nowlistening +Summary: Nowlistening (xmms) plugin for Kopete. +Group: Applications/Internet + +%description -n trinity-kopete-nowlistening +Kopete includes the "Now Listening" plug-in that can report what music you +are currently listening to, in a number of different players, including +noatun, kscd, juk, kaffeine and amarok. + +%files -n trinity-kopete-nowlistening +%defattr(-,root,root,-) +%{tde_datadir}/apps/kopete/*nowlisteningchatui* +%{tde_datadir}/apps/kopete/*nowlisteningui* +%{tde_datadir}/config.kcfg/nowlisteningconfig.kcfg +%{tde_datadir}/services/tdeconfiguredialog/*nowlistening* +%{tde_datadir}/services/*nowlistening* +%{tde_tdelibdir}/*nowlistening* + +########## + +%package -n trinity-kpf +Summary: Public fileserver for Trinity +Group: Applications/Internet + +%description -n trinity-kpf +kpf provides simple file sharing using HTTP. kpf is strictly a public +fileserver, which means that there are no access restrictions to shared +files. Whatever you select for sharing is available to anyone. kpf is +designed to be used for sharing files with friends. + +%files -n trinity-kpf +%defattr(-,root,root,-) +%{tde_tdelibdir}/kpf* +%{tde_datadir}/apps/kicker/applets/kpfapplet.desktop +%{tde_datadir}/icons/crystalsvg/*/apps/kpf.* +%{tde_datadir}/services/kpfpropertiesdialogplugin.desktop +%{tde_tdedocdir}/HTML/en/kpf + +%post -n trinity-kpf +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-kpf +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-kppp +Summary: modem dialer and ppp frontend for Trinity +Group: Applications/Internet +Requires: ppp + +%if 0%{?with_consolehelper} +# package 'usermode' provides '/usr/bin/consolehelper-gtk' +%if 0%{?rhel} || 0%{?fedora} +Requires: usermode-gtk +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +Requires: usermode +%endif +%endif + +%description -n trinity-kppp +KPPP is a dialer and front end for pppd. It allows for interactive +script generation and network setup. It will automate the dialing in +process to your ISP while letting you conveniently monitor the entire +process. + +Once connected KPPP will provide a rich set of statistics and keep +track of the time spent online for you. + +%files -n trinity-kppp +%defattr(-,root,root,-) +%{?!with_consolehelper:%{tde_bindir}/kppp} +%{tde_bindir}/kppplogview +%{tde_tdeappdir}/Kppp.desktop +%{tde_tdeappdir}/kppplogview.desktop +%{tde_datadir}/apps/kppp/ +%{tde_datadir}/icons/hicolor/*/apps/kppp.png +%{tde_tdedocdir}/HTML/en/kppp/ + +%if 0%{?with_consolehelper} +%config(noreplace) /etc/security/console.apps/kppp3 +%config(noreplace) /etc/pam.d/kppp3 +%{_sbindir}/kppp3 +%{tde_bindir}/kppp3 +%{tde_sbindir}/kppp3 +%endif + +%post -n trinity-kppp +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-kppp +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-krdc +Summary: Remote Desktop Connection for Trinity +Group: Applications/Internet +Requires: rdesktop + +%description -n trinity-krdc +krdc is an TDE graphical client for the rfb protocol, used by VNC, +and if rdesktop is installed, krdc can connect to Windows Terminal +Servers using RDP. + +%files -n trinity-krdc +%defattr(-,root,root,-) +%{tde_bindir}/krdc +%{tde_tdeappdir}/krdc.desktop +%{tde_datadir}/apps/konqueror/servicemenus/smb2rdc.desktop +%{tde_datadir}/apps/krdc/ +%{tde_datadir}/icons/crystalsvg/*/apps/krdc.png +%{tde_datadir}/services/rdp.protocol +%{tde_datadir}/services/vnc.protocol +%{tde_tdedocdir}/HTML/en/krdc/ + +%post -n trinity-krdc +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-krdc +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-krfb +Summary: Desktop Sharing for Trinity +Group: Applications/Internet + +%description -n trinity-krfb +Desktop Sharing (krfb) is a server application that allows you to share +your current session with a user on another machine, who can use a +VNC client like krdc to view or even control the desktop. It doesn't +require you to start a new X session - it can share the current session. +This makes it very useful when you want someone to help you perform a +task. + +%files -n trinity-krfb +%defattr(-,root,root,-) +%{tde_bindir}/krfb +%{tde_bindir}/krfb_httpd +%{tde_tdelibdir}/kcm_krfb.la +%{tde_tdelibdir}/kcm_krfb.so +%{tde_tdelibdir}/kded_kinetd.la +%{tde_tdelibdir}/kded_kinetd.so +%{tde_tdeappdir}/kcmkrfb.desktop +%{tde_tdeappdir}/krfb.desktop +%{tde_datadir}/apps/kinetd/eventsrc +%{tde_datadir}/apps/krfb +%{tde_datadir}/icons/crystalsvg/*/apps/krfb.png +%{tde_datadir}/icons/locolor/*/apps/krfb.png +%{tde_datadir}/services/kded/kinetd.desktop +%{tde_datadir}/services/kinetd_krfb.desktop +%{tde_datadir}/services/kinetd_krfb_httpd.desktop +%{tde_datadir}/servicetypes/kinetdmodule.desktop +%{tde_tdedocdir}/HTML/en/krfb + +%post -n trinity-krfb +for f in crystalsvg locolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-krfb +for f in crystalsvg locolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-ksirc +Summary: IRC client for Trinity +Group: Applications/Internet + +%description -n trinity-ksirc +KSirc is an IRC chat client for KDE. It supports scripting with Perl and has a +lot of compatibility with mIRC for general use. + +If you want to connect to an IRC server via SSL, you will need to install the +recommended package libio-socket-ssl-perl. + +%files -n trinity-ksirc +%defattr(-,root,root,-) +%{tde_bindir}/dsirc +%{tde_bindir}/ksirc +%{tde_libdir}/libtdeinit_ksirc.* +%{tde_tdelibdir}/ksirc.* +%{tde_tdeappdir}/ksirc.desktop +%{tde_datadir}/apps/ksirc/ +%config(noreplace) %{tde_datadir}/config/ksircrc +%{tde_datadir}/icons/hicolor/*/apps/ksirc.* +%{tde_tdedocdir}/HTML/??/ksirc/ + +%post -n trinity-ksirc +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : +/sbin/ldconfig + + +%postun -n trinity-ksirc +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : +/sbin/ldconfig + +########## + +%package -n trinity-ktalkd +Summary: Talk daemon for Trinity +Group: Applications/Internet + +%description -n trinity-ktalkd +KTalkd is an enhanced talk daemon - a program to handle incoming talk +requests, announce them and allow you to respond to it using a talk +client. Note that KTalkd is designed to run on a single-user workstation, +and shouldn't be run on a multi-user machine. + +%files -n trinity-ktalkd +%defattr(-,root,root,-) +%{tde_bindir}/ktalkd* +%{tde_bindir}/mail.local +%{tde_tdelibdir}/kcm_ktalkd.* +%{tde_tdeappdir}/kcmktalkd.desktop +%config(noreplace) %{tde_datadir}/config/ktalkdrc +%{tde_datadir}/icons/crystalsvg/*/apps/ktalkd.* +%{tde_datadir}/sounds/ktalkd.wav +%config(noreplace) %{_sysconfdir}/xinetd.d/ktalk +%{tde_tdedocdir}/HTML/en/kcontrol/kcmtalkd +%{tde_tdedocdir}/HTML/en/ktalkd + +%post -n trinity-ktalkd +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-ktalkd +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%if "%{?_with_wifi:1}" == "1" +%package -n trinity-kwifimanager +Summary: Wireless lan manager for Trinity +Group: Applications/Internet + +%description -n trinity-kwifimanager +KWiFiManager suite is a set of tools which allows you to manage your +wireless LAN connection under the K Desktop Environment. It provides +information about your current connection. KWiFiManager supports every +wavelan card that uses the wireless extensions interface. + +%files -n trinity-kwifimanager +%defattr(-,root,root,-) +%{tde_bindir}/kwifimanager +%{tde_tdelibdir}/kcm_wifi.* +%{tde_libdir}/libkwireless.la +%{tde_libdir}/libkwireless.so +%{tde_tdeappdir}/kcmwifi.desktop +%{tde_tdeappdir}/kwifimanager.desktop +%{tde_datadir}/apps/kicker/applets/kwireless.desktop +%{tde_datadir}/apps/kwifimanager +%{tde_datadir}/icons/hicolor/*/apps/kwifimanager.png +%{tde_datadir}/icons/hicolor/*/apps/kwifimanager.svgz +%doc %{tde_tdedocdir}/HTML/en/kwifimanager + +%post -n trinity-kwifimanager +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-kwifimanager +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : +%endif + +########## + +%package -n trinity-librss +Summary: RSS library for Trinity +Group: Environment/Libraries + +%description -n trinity-librss +This is the runtime package for programs that use the TDE RSS library. +End users should not need to install this, it should get installed +automatically when needed. + +%files -n trinity-librss +%defattr(-,root,root,-) +%{tde_libdir}/librss.so.* +%{tde_datadir}/cmake/librss.cmake + +%post -n trinity-librss +/sbin/ldconfig + +%postun -n trinity-librss +/sbin/ldconfig + +########## + +%package -n trinity-lisa +Summary: LAN information server for Trinity +Group: Applications/Internet +%if 0%{?suse_version} +Requires(preun): aaa_base +Requires(post): aaa_base +%else +Requires(preun): chkconfig +Requires(post): chkconfig +%endif + +%description -n trinity-lisa +LISa is intended to provide TDE with a kind of "network neighborhood" +but relying only on the TCP/IP protocol. + +%files -n trinity-lisa +%defattr(-,root,root,-) +%config(noreplace) %{_sysconfdir}/lisarc* +%config(noreplace) %{_initrddir}/lisa +%{tde_tdelibdir}/kcm_lanbrowser.la +%{tde_tdelibdir}/kcm_lanbrowser.so +%{tde_tdelibdir}/tdeio_lan.la +%{tde_tdelibdir}/tdeio_lan.so +%{tde_datadir}/applnk/.hidden/kcmtdeiolan.desktop +%{tde_datadir}/applnk/.hidden/kcmlisa.desktop +%{tde_datadir}/applnk/.hidden/kcmreslisa.desktop +%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/lisa.desktop +%{tde_datadir}/apps/konqueror/dirtree/remote/lan.desktop +%{tde_datadir}/apps/lisa/README +%{tde_datadir}/apps/remoteview/lan.desktop +%{tde_tdedocdir}/HTML/en/kcontrol/lanbrowser/ +%{tde_tdedocdir}/HTML/en/lisa/ +%{tde_datadir}/services/lan.protocol +%{tde_datadir}/services/rlan.protocol +%{tde_bindir}/lisa +%{tde_bindir}/reslisa + +%post -n trinity-lisa +/sbin/chkconfig --add lisa ||: +update-desktop-database 2> /dev/null || : + +%postun -n trinity-lisa +if [ $1 -eq 0 ]; then + /sbin/service lisa stop > /dev/null 2>&1 ||: + /sbin/chkconfig --del lisa ||: +fi +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-kdnssd +Summary: Zeroconf support for KDE +Group: Applications/Internet + +%description -n trinity-kdnssd +A kioslave and kded module that provide Zeroconf support. Try +"zeroconf:/" in Konqueror. + +%files -n trinity-kdnssd +%defattr(-,root,root,-) +%{tde_datadir}/services/zeroconf.protocol +%{tde_datadir}/services/invitation.protocol +%{tde_datadir}/services/kded/dnssdwatcher.desktop +%{tde_datadir}/apps/remoteview/zeroconf.desktop +%{tde_datadir}/apps/zeroconf/_http._tcp +%{tde_datadir}/apps/zeroconf/_ftp._tcp +%{tde_datadir}/apps/zeroconf/_ldap._tcp +%{tde_datadir}/apps/zeroconf/_webdav._tcp +%{tde_datadir}/apps/zeroconf/_nfs._tcp +%{tde_datadir}/apps/zeroconf/_ssh._tcp +%{tde_datadir}/apps/zeroconf/_rfb._tcp +%{tde_tdelibdir}/tdeio_zeroconf.so +%{tde_tdelibdir}/tdeio_zeroconf.la +%{tde_tdelibdir}/kded_dnssdwatcher.so +%{tde_tdelibdir}/kded_dnssdwatcher.la + +%post -n trinity-kdnssd +update-desktop-database 2> /dev/null || : + +%postun -n trinity-kdnssd +update-desktop-database 2> /dev/null || : + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +%patch1 -p1 -b .ldflags +%patch4 -p1 -b .resolv +%patch6 -p1 -b .krfb_httpd + +%if 0%{?rhel} == 4 +%patch201 -p1 -b .rhel4 +%patch202 -p1 -b .rhel4 +%endif + +%build +unset QTDIRs +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" +export LD_LIBRARY_PATH="%{tde_libdir}" + +# Specific path for RHEL4 +if [ -d /usr/X11R6 ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DWITH_JINGLE=ON \ + %{?with_speex:-DWITH_SPEEX=ON} \ + -DWITH_WEBCAM=ON \ + -DWITH_GSM=OFF \ + -DWITH_XMMS=OFF \ + -DWITH_ARTS=ON \ + %{?with_openslp:-DWITH_SLP=ON} \ + -DBUILD_ALL=ON \ + -DBUILD_KOPETE_PLUGIN_ALL=ON \ + -DBUILD_KOPETE_PROTOCOL_ALL=ON \ + %{!?with_gadu:-DBUILD_KOPETE_PROTOCOL_GADU=OFF} \ + %{!?with_meanwhile:-DBUILD_KOPETE_PROTOCOL_MEANWHILE=OFF} \ + .. + +# Tdenetwork is not smp safe ! +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + + +## File lists +# HTML (1.0) +HTML_DIR=$(tde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && %{__rm} -f $i/common && ln -sf ../common $i/common + done + popd + fi +done +fi + + +%if 0%{?with_consolehelper} +# Run kppp through consolehelper, and rename it to 'kppp3' +%__install -p -m644 -D %{SOURCE1} %{buildroot}/etc/pam.d/kppp3 +%__mkdir_p %{buildroot}%{tde_sbindir} %{buildroot}%{_sbindir} +%__mv %{buildroot}%{tde_bindir}/kppp %{buildroot}%{tde_sbindir}/kppp3 +%__ln_s %{_bindir}/consolehelper %{buildroot}%{tde_bindir}/kppp3 +%if "%{tde_prefix}" != "/usr" +%__ln_s %{tde_sbindir}/kppp3 %{?buildroot}%{_sbindir}/kppp3 +%endif +%__mkdir_p %{buildroot}%{_sysconfdir}/security/console.apps +cat > %{buildroot}%{_sysconfdir}/security/console.apps/kppp3 < - 14.0.0-1 +- Initial release for TDE 14.0.0 diff --git a/redhat/tdenetwork/tdenetwork-3.5.13.2.spec b/redhat/tdenetwork/tdenetwork-3.5.13.2.spec new file mode 100644 index 000000000..701f108df --- /dev/null +++ b/redhat/tdenetwork/tdenetwork-3.5.13.2.spec @@ -0,0 +1,1199 @@ +# Avoids relinking, which breaks consolehelper +%define dont_relink 1 + +# If TDE is built iwn a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_sbindir %{tde_prefix}/sbin + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +# Fedora review: http://bugzilla.redhat.com/195486 + +## Conditional build: +# RHEL6: xmms is outdated ! +#define _with_xmms --with-xmms +%ifnarch s390 s390x +%define _with_wifi --with-wifi +%endif + +Name: trinity-tdenetwork +Version: 3.5.13.2 +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} +Summary: Trinity Desktop Environment - Network Applications + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +License: GPLv2 +Group: Applications/Internet + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz +Source1: kppp.pamd +Source2: ktalk +Source4: lisarc +Source5: lisa.redhat + +# RedHat/Fedora legacy patches +Patch3: kdenetwork-3.5.8-kppp.patch +Patch4: kdenetwork-3.2.3-resolv.patch +# include more/proper ppp headers +Patch6: kdenetwork-3.5.9-krfb_httpd.patch + +# [kdenetwork] Missing LDFLAGS cause FTBFS +Patch1: kdenetwork-3.5.13-missing_ldflags.patch + +# RHEL4 specific +Patch201: kdenetwork-3.5.13.1-fix_rhel4_libraries.patch +Patch202: tdenetwork-3.5.13.2-fix_conflicting_definitions.patch + +BuildRequires: gettext +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: coreutils +BuildRequires: openssl-devel +BuildRequires: sqlite-devel +BuildRequires: gnutls-devel + +# GADU support +%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} +%define with_gadu 1 +BuildRequires: libgadu-devel +%endif + +%if 0%{?fedora} >= 5 || 0%{?rhel} >= 5 +BuildRequires: libXmu-devel +BuildRequires: libXScrnSaver-devel +BuildRequires: libXtst-devel +BuildRequires: libXxf86vm-devel +%endif + +# Wifi support +%if "%{?_with_wifi:1}" == "1" +%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5 +BuildRequires: wireless-tools-devel +%endif +%if 0%{?mgaversion} == 2 || 0%{?mdkversion} +BuildRequires: %{_lib}iw29-devel +%endif +%if 0%{?rhel} == 5 +BuildRequires: wireless-tools +%endif +%if 0%{?suse_version} || 0%{?mgaversion} >= 3 +BuildRequires: libiw-devel +%endif +%endif + +# OpenSLP support +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} +%define with_openslp 1 +BuildRequires: openslp-devel +%endif + +%ifarch %{ix86} +# BR: %{tde_includedir}/valgrind/valgrind.h +BuildRequires: valgrind +%endif + +%{?_with_xmms:BuildRequires: xmms-devel} + +# V4L support +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?suse_version} +BuildRequires: libv4l-devel +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}v4l-devel +%endif + +# XML support +BuildRequires: libxml2-devel +BuildRequires: libxslt-devel + +#jabber +BuildRequires: libidn-devel +#jabber/jingle +%if 0%{?suse_version} +BuildRequires: libexpat-devel +%else +BuildRequires: expat-devel +%endif +BuildRequires: glib2-devel +BuildRequires: speex-devel +# jabber/ssl +#{?fedora:Requires(hint): qca-tls} +Requires: jasper + +# MEANWHILE support +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?suse_version} +%define with_meanwhile 1 +BuildRequires: meanwhile-devel +%endif + +# ORTP support +%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 +BuildRequires: ortp-devel +%endif + +# SPEEX support +%if 0%{?rhel} >= 5 || 0%{?fedora} >= 15 || 0%{?suse_version} || 0%{?mdkversion} || 0%{?mgaversion} +%define with_speex 1 +BuildRequires: speex-devel +%endif + +# CONSOLEHELPER (usermode) support +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_consolehelper 1 + +# Avoids relinking, which breaks consolehelper +%define dont_relink 1 +%endif + +Obsoletes: trinity-kdenetwork < %{version}-%{release} +Provides: trinity-kdenetwork = %{version}-%{release} +Obsoletes: trinity-kdenetwork-libs < %{version}-%{release} +Provides: trinity-kdenetwork-libs = %{version}-%{release} +Obsoletes: trinity-kdenetwork-extras < %{version}-%{release} +Provides: trinity-kdenetwork-extras = %{version}-%{release} +Obsoletes: tdenetwork < %{version}-%{release} +Provides: tdenetwork = %{version}-%{release} + +Requires: trinity-dcoprss = %{version}-%{release} +Requires: %{name}-filesharing = %{version}-%{release} +Requires: trinity-kdict = %{version}-%{release} +Requires: %{name}-kfile-plugins = %{version}-%{release} +Requires: trinity-kget = %{version}-%{release} +Requires: trinity-knewsticker = %{version}-%{release} +Requires: trinity-kopete = %{version}-%{release} +Requires: trinity-kopete-nowlistening = %{version}-%{release} +Requires: trinity-kpf = %{version}-%{release} +Requires: trinity-kppp = %{version}-%{release} +Requires: trinity-krdc = %{version}-%{release} +Requires: trinity-krfb = %{version}-%{release} +Requires: trinity-ksirc = %{version}-%{release} +Requires: trinity-ktalkd = %{version}-%{release} +Requires: trinity-kwifimanager = %{version}-%{release} +Requires: trinity-librss = %{version}-%{release} +Requires: trinity-lisa = %{version}-%{release} + +%description +This metapackage includes a collection of network and networking related +applications provided with the official release of Trinity. + +Networking applications, including: +* dcoprss: RSS utilities for Trinity +* filesharing: Network filesharing configuration module for Trinity +* kdict: Dictionary client for Trinity +* kfile-plugins: Torrent metainfo plugin for Trinity +* kget: downloader manager +* knewsticker: RDF newsticker applet +* kopete: chat client +* kopete-nowlistening: (xmms) plugin for Kopete. +* kpf: Public fileserver for Trinity +* kppp: dialer and front end for pppd +* krdc: a client for Desktop Sharing and other VNC servers +* krfb: Desktop Sharing server, allow others to access your desktop via VNC +* ksirc: IRC client for Trinity +* ktalkd: Talk daemon for Trinity +* kwifimanager: Wireless lan manager for Trinity +* librss: RSS library for Trinity +* lisa: lan information server + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING README + + +########## + +%package -n trinity-dcoprss +Summary: RSS utilities for Trinity +Group: Applications/Internet + +%description -n trinity-dcoprss +dcoprss is a RSS to DCOP bridge, allowing all +DCOP aware applications to access RSS news feeds. There is also +a few sample utilities provided. +RSS is a standard for publishing news headlines. +DCOP is the TDE interprocess communication protocol. + +%files -n trinity-dcoprss +%defattr(-,root,root,-) +%{tde_bindir}/feedbrowser +%{tde_bindir}/rssclient +%{tde_bindir}/rssservice +%{tde_datadir}/services/rssservice.desktop + +%post -n trinity-dcoprss +update-desktop-database 2> /dev/null || : + +%postun -n trinity-dcoprss +update-desktop-database 2> /dev/null || : + +########## + +%package devel +Summary: Development files for the Trinity network module +Group: Development/Libraries +Requires: trinity-tdenetwork = %{version}-%{release} +Requires: trinity-kdict = %{version}-%{release} +Requires: trinity-kopete = %{version}-%{release} +Requires: trinity-ksirc = %{version}-%{release} +Requires: trinity-librss = %{version}-%{release} +Requires: trinity-tdelibs-devel + +Obsoletes: trinity-kdenetwork-devel < %{version}-%{release} +Provides: trinity-kdenetwork-devel = %{version}-%{release} +Obsoletes: tdenetwork-devel < %{version}-%{release} +Provides: tdenetwork-devel = %{version}-%{release} + +%description devel +This is the development package which contains the headers for the KDE RSS +library as well as the Kopete chat client, as well as miscellaneous +development-related files for the TDE network module. + +%files devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kopete/*.h +%{tde_tdeincludedir}/kopete/ui/*.h +%{tde_tdeincludedir}/rss/*.h +%{tde_libdir}/libkdeinit_kdict.la +%{tde_libdir}/libkdeinit_ksirc.la +%{tde_libdir}/libkopete.la +%{tde_libdir}/libkopete.so +%{tde_libdir}/libkopete_msn_shared.la +%{tde_libdir}/libkopete_msn_shared.so +%{tde_libdir}/libkopete_oscar.la +%{tde_libdir}/libkopete_oscar.so +%{tde_libdir}/libkopete_videodevice.la +%{tde_libdir}/libkopete_videodevice.so +%{tde_libdir}/librss.la +%{tde_libdir}/librss.so + +%post devel +/sbin/ldconfig + +%postun devel +/sbin/ldconfig + +########## + +%package filesharing +#Recommends: perl-suid +Summary: Network filesharing configuration module for Trinity +Group: Applications/Internet + +Obsoletes: tdenetwork-filesharing < %{version}-%{release} +Provides: tdenetwork-filesharing = %{version}-%{release} + +%description filesharing +This package provides a TDE Control Center module to configure +NFS and Samba. + +%files filesharing +%defattr(-,root,root,-) +%{tde_tdelibdir}/fileshare_propsdlgplugin.la +%{tde_tdelibdir}/fileshare_propsdlgplugin.so +%{tde_tdelibdir}/kcm_fileshare.la +%{tde_tdelibdir}/kcm_fileshare.so +%{tde_tdelibdir}/kcm_kcmsambaconf.la +%{tde_tdelibdir}/kcm_kcmsambaconf.so +%{tde_tdeappdir}/fileshare.desktop +%{tde_tdeappdir}/kcmsambaconf.desktop +%{tde_datadir}/icons/hicolor/*/apps/kcmsambaconf.png +%{tde_datadir}/services/fileshare_propsdlgplugin.desktop + +%post filesharing +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun filesharing +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-kdict +Summary: Dictionary client for Trinity +Group: Applications/Internet + +%description -n trinity-kdict +KDict is an advanced TDE graphical client for the DICT Protocol, with full +Unicode support. It enables you to search through dictionary databases for a +word or phrase, then displays suitable definitions. KDict tries to ease +basic as well as advanced queries. + +%files -n trinity-kdict +%defattr(-,root,root,-) +%{tde_bindir}/kdict +%{tde_tdelibdir}/kdict.* +%{tde_tdelibdir}/kdict_panelapplet.* +%{tde_libdir}/libkdeinit_kdict.* +%{tde_tdeappdir}/kdict.desktop +%{tde_datadir}/apps/kdict +%{tde_datadir}/apps/kicker/applets/kdictapplet.desktop +%{tde_datadir}/icons/hicolor/*/apps/kdict.* +%{tde_tdedocdir}/HTML/en/kdict + +%post -n trinity-kdict +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-kdict +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package kfile-plugins +Summary: Torrent metainfo plugin for Trinity +Group: Applications/Internet + +Obsoletes: tdenetwork-kfile-plugins < %{version}-%{release} +Provides: tdenetwork-kfile-plugins = %{version}-%{release} + +%description kfile-plugins +This package provides a metainformation plugin for bittorrent files. +TDE uses kfile-plugins to provide metainfo tab in the files properties +dialog in konqueror and other file-handling applications. + +%files kfile-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/kfile_torrent.la +%{tde_tdelibdir}/kfile_torrent.so +%{tde_datadir}/services/kfile_torrent.desktop + +%post kfile-plugins +update-desktop-database 2> /dev/null || : + +%postun kfile-plugins +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-kget +Summary: download manager for Trinity +Group: Applications/Internet + +%description -n trinity-kget +KGet is a a download manager similar to GetRight or Go!zilla. It keeps +all your downloads in one dialog and you can add and remove transfers. +Transfers can be paused, resumed, queued or scheduled. +Dialogs display info about status of transfers - progress, size, speed +and remaining time. Program supports drag & drop from TDE +applications and Netscape. + +%files -n trinity-kget +%defattr(-,root,root,-) +%{tde_bindir}/kget +%{tde_tdelibdir}/khtml_kget.la +%{tde_tdelibdir}/khtml_kget.so +%{tde_tdeappdir}/kget.desktop +%{tde_datadir}/apps/kget +%{tde_datadir}/apps/khtml/kpartplugins/kget_plug_in.desktop +%{tde_datadir}/apps/khtml/kpartplugins/kget_plug_in.rc +%{tde_datadir}/apps/konqueror/servicemenus/kget_download.desktop +%{tde_datadir}/icons/crystalsvg/*/actions/khtml_kget.png +%{tde_datadir}/icons/crystalsvg/*/apps/kget.png +%{tde_datadir}/icons/crystalsvg/*/mimetypes/kget_list.png +%{tde_datadir}/mimelnk/application/x-kgetlist.desktop +%{tde_datadir}/sounds/KGet_Added.ogg +%{tde_datadir}/sounds/KGet_Finished.ogg +%{tde_datadir}/sounds/KGet_Finished_All.ogg +%{tde_datadir}/sounds/KGet_Started.ogg +%{tde_tdedocdir}/HTML/en/kget + +%post -n trinity-kget +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-kget +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-knewsticker +Summary: news ticker applet for Trinity +Group: Applications/Internet + +%description -n trinity-knewsticker +This is a news ticker applet for the Trinity panel. It can scroll news from +your favorite news sites, such as lwn.net, /. and freshmeat.net. +To achieve this, KNewsTicker requires the news sites to provide a +RSS feed to newsitems. KNewsTicker already comes with a selection of +good news sources which provide such files. + +%files -n trinity-knewsticker +%defattr(-,root,root,-) +%{tde_bindir}/knewstickerstub +%{tde_tdelibdir}/knewsticker_panelapplet.la +%{tde_tdelibdir}/knewsticker_panelapplet.so +%{tde_tdelibdir}/libkntsrcfilepropsdlg.la +%{tde_tdelibdir}/libkntsrcfilepropsdlg.so +%{tde_tdeappdir}/knewsticker-standalone.desktop +%{tde_datadir}/applnk/.hidden/knewstickerstub.desktop +%{tde_datadir}/apps/kconf_update/knewsticker.upd +%{tde_datadir}/apps/kconf_update/knt-0.1-0.2.pl +%{tde_datadir}/apps/kicker/applets/knewsticker.desktop +%{tde_datadir}/apps/knewsticker/eventsrc +%{tde_datadir}/icons/hicolor/*/apps/knewsticker.png +%{tde_datadir}/services/kntsrcfilepropsdlg.desktop +%{tde_tdedocdir}/HTML/en/knewsticker + +%post -n trinity-knewsticker +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-knewsticker +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-kopete +Summary: instant messenger for Trinity +Group: Applications/Internet +URL: http://kopete.kde.org + +%description -n trinity-kopete +Kopete is an instant messenger program which can communicate with a variety +of IM systems, such as Yahoo, ICQ, MSN, IRC and Jabber. + +Support for more IM protocols can be added through a plugin system. + +%files -n trinity-kopete +%defattr(-,root,root,-) +# nowlistening support +%exclude %{tde_datadir}/apps/kopete/*nowlisteningchatui* +%exclude %{tde_datadir}/apps/kopete/*nowlisteningui* +%exclude %{tde_datadir}/config.kcfg/nowlisteningconfig.kcfg +%exclude %{tde_datadir}/services/kconfiguredialog/*nowlistening* +%exclude %{tde_datadir}/services/*nowlistening* +%exclude %{tde_tdelibdir}/*nowlistening* +# Main kopete package +%{tde_bindir}/kopete +%{tde_bindir}/kopete_latexconvert.sh +%{tde_libdir}/kconf_update_bin/kopete-account-kconf_update +%{tde_libdir}/kconf_update_bin/kopete-nameTracking-kconf_update +%{tde_libdir}/kconf_update_bin/kopete-pluginloader2-kconf_update +%{tde_tdelibdir}/kcm_kopete_*.so +%{tde_tdelibdir}/kcm_kopete_*.la +%{tde_tdelibdir}/kio_jabberdisco.la +%{tde_tdelibdir}/kio_jabberdisco.so +%{tde_tdelibdir}/kopete_*.la +%{tde_tdelibdir}/kopete_*.so +%{tde_tdelibdir}/libkrichtexteditpart.la +%{tde_tdelibdir}/libkrichtexteditpart.so +%{tde_libdir}/libkopete_msn_shared.so.* +%{tde_libdir}/libkopete_oscar.so.* +%{tde_libdir}/libkopete.so.* +%{tde_libdir}/libkopete_videodevice.so.* +%{tde_tdeappdir}/kopete.desktop +%{tde_datadir}/apps/kconf_update/kopete-* +%{tde_datadir}/apps/kopete +%{tde_datadir}/apps/kopete_*/*.rc +%{tde_datadir}/apps/kopeterichtexteditpart/kopeterichtexteditpartfull.rc +%{tde_datadir}/config.kcfg/historyconfig.kcfg +%{tde_datadir}/config.kcfg/kopeteidentityconfigpreferences.kcfg +%{tde_datadir}/config.kcfg/kopete.kcfg +%{tde_datadir}/config.kcfg/latexconfig.kcfg +%{tde_datadir}/icons/crystalsvg/*/actions/voicecall.png +%{tde_datadir}/icons/crystalsvg/*/actions/webcamreceive.png +%{tde_datadir}/icons/crystalsvg/*/actions/webcamsend.png +%{tde_datadir}/icons/crystalsvg/*/actions/account_offline_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/add_user.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_away_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_busy_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_food_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_invisible_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_phone_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/contact_xa_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/delete_user.png +%{tde_datadir}/icons/crystalsvg/*/actions/edit_user.png +%{tde_datadir}/icons/crystalsvg/*/actions/emoticon.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_away.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_chatty.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_connecting.mng +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_group.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_invisible.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_na.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_offline.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_online.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_original.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_raw.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_serv_off.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_serv_on.png +%{tde_datadir}/icons/crystalsvg/*/actions/jabber_xa.png +%{tde_datadir}/icons/crystalsvg/*/actions/kopeteavailable.png +%{tde_datadir}/icons/crystalsvg/*/actions/kopeteaway.png +%{tde_datadir}/icons/crystalsvg/*/actions/kopeteeditstatusmessage.png +%{tde_datadir}/icons/crystalsvg/*/actions/kopetestatusmessage.png +%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_away.png +%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_offline.png +%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_online.png +%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_unknown.png +%{tde_datadir}/icons/crystalsvg/*/actions/newmsg.png +%{tde_datadir}/icons/crystalsvg/*/actions/search_user.png +%{tde_datadir}/icons/crystalsvg/*/actions/show_offliners.png +%{tde_datadir}/icons/crystalsvg/*/actions/status_unknown_overlay.png +%{tde_datadir}/icons/crystalsvg/*/actions/status_unknown.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_aim.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_gadu.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_http-ws.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_icq.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_irc.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_msn.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_qq.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_smtp.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_tlen.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_yahoo.png +%{tde_datadir}/icons/crystalsvg/*/apps/jabber_protocol.png +%{tde_datadir}/icons/crystalsvg/*/apps/kopete_all_away.png +%{tde_datadir}/icons/crystalsvg/*/apps/kopete_offline.png +%{tde_datadir}/icons/crystalsvg/*/apps/kopete_some_away.png +%{tde_datadir}/icons/crystalsvg/*/apps/kopete_some_online.png +%{tde_datadir}/icons/crystalsvg/*/mimetypes/kopete_emoticons.png +%{tde_datadir}/icons/crystalsvg/scalable/actions/account_offline_overlay.svgz +%{tde_datadir}/icons/hicolor/*/apps/kopete.png +%{tde_datadir}/icons/hicolor/*/actions/emoticon.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_away.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_chatty.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_connecting.mng +%{tde_datadir}/icons/hicolor/*/actions/jabber_group.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_invisible.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_na.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_offline.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_online.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_original.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_raw.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_serv_off.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_serv_on.png +%{tde_datadir}/icons/hicolor/*/actions/jabber_xa.png +%{tde_datadir}/icons/hicolor/*/actions/kopeteavailable.png +%{tde_datadir}/icons/hicolor/*/actions/kopeteaway.png +%{tde_datadir}/icons/hicolor/*/actions/newmsg.png +%{tde_datadir}/icons/hicolor/*/actions/status_unknown_overlay.png +%{tde_datadir}/icons/hicolor/*/actions/status_unknown.png +%{tde_datadir}/icons/hicolor/*/apps/jabber_protocol.png +%{tde_datadir}/icons/hicolor/scalable/apps/kopete2.svgz +%{tde_datadir}/icons/crystalsvg/*/actions/newmessage.mng +%{tde_datadir}/icons/hicolor/*/actions/newmessage.mng +%{tde_datadir}/mimelnk/application/x-icq.desktop +%{tde_datadir}/mimelnk/application/x-kopete-emoticons.desktop +%{tde_datadir}/services/aim.protocol +%{tde_datadir}/services/chatwindow.desktop +%{tde_datadir}/services/emailwindow.desktop +%{tde_datadir}/services/jabberdisco.protocol +%{tde_datadir}/services/kconfiguredialog/kopete_*.desktop +%{tde_datadir}/services/kopete_*.desktop +%{tde_datadir}/icons/crystalsvg/16x16/apps/jabber_gateway_sms.png +%{tde_datadir}/servicetypes/kopete*.desktop +%{tde_datadir}/sounds/Kopete_*.ogg +%{tde_tdedocdir}/HTML/en/kopete +# jingle support for kopete +%{tde_bindir}/relayserver +%{tde_bindir}/stunserver +# winpopup support for kopete +%{tde_bindir}/winpopup-install.sh +%{tde_bindir}/winpopup-send.sh +# motionaway plugin for kopete +%{tde_datadir}/config.kcfg/motionawayconfig.kcfg +# smpp plugin for kopete +%{tde_datadir}/config.kcfg/smpppdcs.kcfg + + +%post -n trinity-kopete +for f in crystalsvg hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : +/sbin/ldconfig + +%postun -n trinity-kopete +for f in crystalsvg hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : +/sbin/ldconfig + +########## + +%package -n trinity-kopete-nowlistening +Summary: Nowlistening (xmms) plugin for Kopete. +Group: Applications/Internet + +%description -n trinity-kopete-nowlistening +Kopete includes the "Now Listening" plug-in that can report what music you +are currently listening to, in a number of different players, including +noatun, kscd, juk, kaffeine and amarok. + +%files -n trinity-kopete-nowlistening +%defattr(-,root,root,-) +%{tde_datadir}/apps/kopete/*nowlisteningchatui* +%{tde_datadir}/apps/kopete/*nowlisteningui* +%{tde_datadir}/config.kcfg/nowlisteningconfig.kcfg +%{tde_datadir}/services/kconfiguredialog/*nowlistening* +%{tde_datadir}/services/*nowlistening* +%{tde_tdelibdir}/*nowlistening* + +########## + +%package -n trinity-kpf +Summary: Public fileserver for Trinity +Group: Applications/Internet + +%description -n trinity-kpf +kpf provides simple file sharing using HTTP. kpf is strictly a public +fileserver, which means that there are no access restrictions to shared +files. Whatever you select for sharing is available to anyone. kpf is +designed to be used for sharing files with friends. + +%files -n trinity-kpf +%defattr(-,root,root,-) +%{tde_tdelibdir}/kpf* +%{tde_datadir}/apps/kicker/applets/kpfapplet.desktop +%{tde_datadir}/icons/crystalsvg/*/apps/kpf.* +%{tde_datadir}/services/kpfpropertiesdialogplugin.desktop +%{tde_tdedocdir}/HTML/en/kpf + +%post -n trinity-kpf +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-kpf +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-kppp +Summary: modem dialer and ppp frontend for Trinity +Group: Applications/Internet +Requires: ppp + +%if 0%{?with_consolehelper} +# package 'usermode' provides '/usr/bin/consolehelper-gtk' +%if 0%{?rhel} || 0%{?fedora} +Requires: usermode-gtk +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +Requires: usermode +%endif +%endif + +%description -n trinity-kppp +KPPP is a dialer and front end for pppd. It allows for interactive +script generation and network setup. It will automate the dialing in +process to your ISP while letting you conveniently monitor the entire +process. + +Once connected KPPP will provide a rich set of statistics and keep +track of the time spent online for you. + +%files -n trinity-kppp +%defattr(-,root,root,-) +%{?!with_consolehelper:%{tde_bindir}/kppp} +%{tde_bindir}/kppplogview +%{tde_tdeappdir}/Kppp.desktop +%{tde_tdeappdir}/kppplogview.desktop +%{tde_datadir}/apps/kppp/ +%{tde_datadir}/icons/hicolor/*/apps/kppp.png +%{tde_tdedocdir}/HTML/en/kppp/ + +%if 0%{?with_consolehelper} +%config(noreplace) /etc/security/console.apps/kppp3 +%config(noreplace) /etc/pam.d/kppp3 +%{_sbindir}/kppp3 +%{tde_bindir}/kppp3 +%{tde_sbindir}/kppp3 +%endif + +%post -n trinity-kppp +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-kppp +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-krdc +Summary: Remote Desktop Connection for Trinity +Group: Applications/Internet +Requires: rdesktop + +%description -n trinity-krdc +krdc is an TDE graphical client for the rfb protocol, used by VNC, +and if rdesktop is installed, krdc can connect to Windows Terminal +Servers using RDP. + +%files -n trinity-krdc +%defattr(-,root,root,-) +%{tde_bindir}/krdc +%{tde_tdeappdir}/krdc.desktop +%{tde_datadir}/apps/konqueror/servicemenus/smb2rdc.desktop +%{tde_datadir}/apps/krdc +%{tde_datadir}/icons/crystalsvg/*/apps/krdc.png +%{tde_datadir}/services/rdp.protocol +%{tde_datadir}/services/vnc.protocol +%{tde_tdedocdir}/HTML/en/krdc + +%post -n trinity-krdc +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-krdc +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-krfb +Summary: Desktop Sharing for Trinity +Group: Applications/Internet + +%description -n trinity-krfb +Desktop Sharing (krfb) is a server application that allows you to share +your current session with a user on another machine, who can use a +VNC client like krdc to view or even control the desktop. It doesn't +require you to start a new X session - it can share the current session. +This makes it very useful when you want someone to help you perform a +task. + +%files -n trinity-krfb +%defattr(-,root,root,-) +%{tde_bindir}/krfb +%{tde_bindir}/krfb_httpd +%{tde_tdelibdir}/kcm_krfb.la +%{tde_tdelibdir}/kcm_krfb.so +%{tde_tdelibdir}/kded_kinetd.la +%{tde_tdelibdir}/kded_kinetd.so +%{tde_tdeappdir}/kcmkrfb.desktop +%{tde_tdeappdir}/krfb.desktop +%{tde_datadir}/apps/kinetd/eventsrc +%{tde_datadir}/apps/krfb +%{tde_datadir}/icons/crystalsvg/*/apps/krfb.png +%{tde_datadir}/icons/locolor/*/apps/krfb.png +%{tde_datadir}/services/kded/kinetd.desktop +%{tde_datadir}/services/kinetd_krfb.desktop +%{tde_datadir}/services/kinetd_krfb_httpd.desktop +%{tde_datadir}/servicetypes/kinetdmodule.desktop +%{tde_tdedocdir}/HTML/en/krfb + +%post -n trinity-krfb +for f in crystalsvg locolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-krfb +for f in crystalsvg locolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-ksirc +Summary: IRC client for Trinity +Group: Applications/Internet + +%description -n trinity-ksirc +KSirc is an IRC chat client for KDE. It supports scripting with Perl and has a +lot of compatibility with mIRC for general use. + +If you want to connect to an IRC server via SSL, you will need to install the +recommended package libio-socket-ssl-perl. + +%files -n trinity-ksirc +%defattr(-,root,root,-) +%{tde_bindir}/dsirc +%{tde_bindir}/ksirc +%{tde_libdir}/libkdeinit_ksirc.* +%{tde_tdelibdir}/ksirc.* +%{tde_tdeappdir}/ksirc.desktop +%{tde_datadir}/apps/ksirc/ +%config(noreplace) %{tde_datadir}/config/ksircrc +%{tde_datadir}/icons/hicolor/*/apps/ksirc.* +%{tde_tdedocdir}/HTML/??/ksirc/ + +%post -n trinity-ksirc +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : +/sbin/ldconfig + + +%postun -n trinity-ksirc +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : +/sbin/ldconfig + +########## + +%package -n trinity-ktalkd +Summary: Talk daemon for Trinity +Group: Applications/Internet + +%description -n trinity-ktalkd +KTalkd is an enhanced talk daemon - a program to handle incoming talk +requests, announce them and allow you to respond to it using a talk +client. Note that KTalkd is designed to run on a single-user workstation, +and shouldn't be run on a multi-user machine. + +%files -n trinity-ktalkd +%defattr(-,root,root,-) +%{tde_bindir}/ktalkd* +%{tde_bindir}/mail.local +%{tde_tdelibdir}/kcm_ktalkd.* +%{tde_tdeappdir}/kcmktalkd.desktop +%config(noreplace) %{tde_datadir}/config/ktalkdrc +%{tde_datadir}/icons/crystalsvg/*/apps/ktalkd.* +%{tde_datadir}/sounds/ktalkd.wav +%config(noreplace) %{_sysconfdir}/xinetd.d/ktalk +%{tde_tdedocdir}/HTML/en/kcontrol/kcmtalkd +%{tde_tdedocdir}/HTML/en/ktalkd + +%post -n trinity-ktalkd +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-ktalkd +for f in crystalsvg ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +########## + +%if "%{?_with_wifi:1}" == "1" +%package -n trinity-kwifimanager +Summary: Wireless lan manager for Trinity +Group: Applications/Internet + +%description -n trinity-kwifimanager +KWiFiManager suite is a set of tools which allows you to manage your +wireless LAN connection under the K Desktop Environment. It provides +information about your current connection. KWiFiManager supports every +wavelan card that uses the wireless extensions interface. + +%files -n trinity-kwifimanager +%defattr(-,root,root,-) +%{tde_bindir}/kwifimanager +%{tde_tdelibdir}/kcm_wifi.* +%{tde_libdir}/libkwireless.la +%{tde_libdir}/libkwireless.so +%{tde_tdeappdir}/kcmwifi.desktop +%{tde_tdeappdir}/kwifimanager.desktop +%{tde_datadir}/apps/kicker/applets/kwireless.desktop +%{tde_datadir}/apps/kwifimanager +%{tde_datadir}/icons/hicolor/*/apps/kwifimanager.png +%{tde_datadir}/icons/hicolor/*/apps/kwifimanager.svgz +%doc %{tde_tdedocdir}/HTML/en/kwifimanager + +%post -n trinity-kwifimanager +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : + +%postun -n trinity-kwifimanager +for f in hicolor ; do + gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : +done +update-desktop-database 2> /dev/null || : +%endif + +########## + +%package -n trinity-librss +Summary: RSS library for Trinity +Group: Environment/Libraries + +%description -n trinity-librss +This is the runtime package for programs that use the TDE RSS library. +End users should not need to install this, it should get installed +automatically when needed. + +%files -n trinity-librss +%defattr(-,root,root,-) +%{tde_libdir}/librss.so.* +%{tde_datadir}/cmake/librss.cmake + +%post -n trinity-librss +/sbin/ldconfig + +%postun -n trinity-librss +/sbin/ldconfig + +########## + +%package -n trinity-lisa +Summary: LAN information server for Trinity +Group: Applications/Internet +%if 0%{?suse_version} +Requires(preun): aaa_base +Requires(post): aaa_base +%else +Requires(preun): chkconfig +Requires(post): chkconfig +%endif + +%description -n trinity-lisa +LISa is intended to provide TDE with a kind of "network neighborhood" +but relying only on the TCP/IP protocol. + +%files -n trinity-lisa +%defattr(-,root,root,-) +%config(noreplace) %{_sysconfdir}/lisarc* +%config(noreplace) %{_initrddir}/lisa +%{tde_tdelibdir}/kcm_lanbrowser.la +%{tde_tdelibdir}/kcm_lanbrowser.so +%{tde_tdelibdir}/kio_lan.la +%{tde_tdelibdir}/kio_lan.so +%{tde_datadir}/applnk/.hidden/kcmkiolan.desktop +%{tde_datadir}/applnk/.hidden/kcmlisa.desktop +%{tde_datadir}/applnk/.hidden/kcmreslisa.desktop +%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/lisa.desktop +%{tde_datadir}/apps/konqueror/dirtree/remote/lan.desktop +%{tde_datadir}/apps/lisa/README +%{tde_datadir}/apps/remoteview/lan.desktop +%{tde_tdedocdir}/HTML/en/kcontrol/lanbrowser/ +%{tde_tdedocdir}/HTML/en/lisa/ +%{tde_datadir}/services/lan.protocol +%{tde_datadir}/services/rlan.protocol +%{tde_bindir}/lisa +%{tde_bindir}/reslisa + +%post -n trinity-lisa +/sbin/chkconfig --add lisa ||: +update-desktop-database 2> /dev/null || : + +%postun -n trinity-lisa +if [ $1 -eq 0 ]; then + /sbin/service lisa stop > /dev/null 2>&1 ||: + /sbin/chkconfig --del lisa ||: +fi +update-desktop-database 2> /dev/null || : + +########## + +%package -n trinity-kdnssd +Summary: Zeroconf support for KDE +Group: Applications/Internet + +%description -n trinity-kdnssd +A kioslave and kded module that provide Zeroconf support. Try +"zeroconf:/" in Konqueror. + +%files -n trinity-kdnssd +%defattr(-,root,root,-) +%{tde_datadir}/services/zeroconf.protocol +%{tde_datadir}/services/invitation.protocol +%{tde_datadir}/services/kded/dnssdwatcher.desktop +%{tde_datadir}/apps/remoteview/zeroconf.desktop +%{tde_datadir}/apps/zeroconf/_http._tcp +%{tde_datadir}/apps/zeroconf/_ftp._tcp +%{tde_datadir}/apps/zeroconf/_ldap._tcp +%{tde_datadir}/apps/zeroconf/_webdav._tcp +%{tde_datadir}/apps/zeroconf/_nfs._tcp +%{tde_datadir}/apps/zeroconf/_ssh._tcp +%{tde_datadir}/apps/zeroconf/_rfb._tcp +%{tde_tdelibdir}/kio_zeroconf.so +%{tde_tdelibdir}/kio_zeroconf.la +%{tde_tdelibdir}/kded_dnssdwatcher.so +%{tde_tdelibdir}/kded_dnssdwatcher.la + +%post -n trinity-kdnssd +update-desktop-database 2> /dev/null || : + +%postun -n trinity-kdnssd +update-desktop-database 2> /dev/null || : + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + +%patch1 -p1 -b .ldflags +%patch3 -p1 -b .kppp +%patch4 -p1 -b .resolv +%patch6 -p1 -b .krfb_httpd + +%if 0%{?rhel} == 4 +%patch201 -p1 -b .rhel4 +%patch202 -p1 -b .rhel4 +%endif + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" +export LD_LIBRARY_PATH="%{tde_libdir}" + +# Specific path for RHEL4 +if [ -d /usr/X11R6 ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DWITH_JINGLE=ON \ + %{?with_speex:-DWITH_SPEEX=ON} \ + -DWITH_WEBCAM=ON \ + -DWITH_GSM=OFF \ + -DWITH_XMMS=OFF \ + -DWITH_ARTS=ON \ + %{?with_openslp:-DWITH_SLP=ON} \ + -DBUILD_ALL=ON \ + -DBUILD_KOPETE_PLUGIN_ALL=ON \ + -DBUILD_KOPETE_PROTOCOL_ALL=ON \ + %{!?with_gadu:-DBUILD_KOPETE_PROTOCOL_GADU=OFF} \ + %{!?with_meanwhile:-DBUILD_KOPETE_PROTOCOL_MEANWHILE=OFF} \ + .. + +# Tdenetwork is not smp safe ! +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build + + +## File lists +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && %{__rm} -f $i/common && ln -sf ../common $i/common + done + popd + fi +done +fi + +# Show only in KDE, FIXME, need to re-evaluate these -- Rex +for i in fileshare kcmkrfb kcmktalkd kcmwifi krfb kppp kppplogview \ + kwifimanager kget knewsticker ksirc kdict ; do + if [ -f %{buildroot}%{tde_tdeappdir}/$i.desktop ] ; then + echo "OnlyShowIn=KDE;" >> %{buildroot}%{tde_datadir}/applications/kde/$i.desktop + fi +done + +%if 0%{?with_consolehelper} +# Run kppp through consolehelper, and rename it to 'kppp3' +%__install -p -m644 -D %{SOURCE1} %{buildroot}/etc/pam.d/kppp3 +%__mkdir_p %{buildroot}%{tde_sbindir} %{buildroot}%{_sbindir} +%__mv %{buildroot}%{tde_bindir}/kppp %{buildroot}%{tde_sbindir}/kppp3 +%__ln_s %{_bindir}/consolehelper %{buildroot}%{tde_bindir}/kppp3 +%if "%{tde_prefix}" != "/usr" +%__ln_s %{tde_sbindir}/kppp3 %{?buildroot}%{_sbindir}/kppp3 +%endif +%__mkdir_p %{buildroot}%{_sysconfdir}/security/console.apps +cat > %{buildroot}%{_sysconfdir}/security/console.apps/kppp3 < - 3.5.13.2-1 +- Initial release for TDE 3.5.13.2 diff --git a/redhat/tdenetwork/trinity-kdenetwork-3.5.12.spec b/redhat/tdenetwork/trinity-kdenetwork-3.5.12.spec deleted file mode 100644 index 7ef987e99..000000000 --- a/redhat/tdenetwork/trinity-kdenetwork-3.5.12.spec +++ /dev/null @@ -1,502 +0,0 @@ -# Default version for this component -%if "%{?version}" == "" -%define version 3.5.12 -%endif -%define release 5 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_includedir %{_includedir}/kde -%define tde_libdir %{_libdir}/kde3 - - -# Fedora review: http://bugzilla.redhat.com/195486 - -## Conditional build: -# disabled, for now, doesn't build -- Rex -#define _enable_jingle --enable-jingle -%define _enable_sametime_plugin --enable-sametime-plugin -#define _enable_slp --enable-slp -# RHEL6: xmms is outdated ! -#define _with_xmms --with-xmms -%ifnarch s390 s390x -%define _with_wifi --with-wifi -%endif - -%define console_helper 1 - -Name: trinity-kdenetwork -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} -Summary: K Desktop Environment - Network Applications - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -License: GPLv2 -Group: Applications/Internet - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Provides: kdenetwork3 = %{version}-%{release} - -Source0: kdenetwork-%{version}.tar.gz -Source1: kppp.pamd -Source2: ktalk -Source4: lisarc -Source5: lisa.redhat - -# RedHat/Fedora legacy patches -Patch3: kdenetwork-3.5.8-kppp.patch -Patch4: kdenetwork-3.2.3-resolv.patch -# include more/proper ppp headers -Patch6: kdenetwork-3.5.9-krfb_httpd.patch - -# Trinity official patches, from SVN -# Use libv4l1-videodev.h when available in kdenetwork -Patch7: r1243951.diff - -# Trinity unofficial patches -# Compiling Kopete for Fedora15 ... -Patch8: kdenetwork-kopete-gcc45.patch - -Requires: %{name}-libs = %{version}-%{release} - -BuildRequires: gettext -BuildRequires: trinity-kdelibs-devel -BuildRequires: coreutils -BuildRequires: openssl-devel -%if 0%{?fedora} > 4 || 0%{?rhel} > 4 -BuildRequires: libXmu-devel libXScrnSaver-devel libXtst-devel libXxf86vm-devel -%endif -%if "%{?_with_wifi:1}" == "1" -%if 0%{?fedora} > 5 || 0%{?rhel} > 4 -BuildRequires: wireless-tools-devel -%else -BuildRequires: wireless-tools -%endif -%endif -%{?_enable_slp:BuildRequires: openslp-devel} -## kopete: -BuildRequires: libxml2-devel libxslt-devel -%ifarch %{ix86} -# BR: %{_includedir}/valgrind/valgrind.h -BuildRequires: valgrind -%endif -#jabber -BuildRequires: libidn-devel -#jabber/jingle -%{?_enable_jingle:BuildRequires: expat-devel glib2-devel ortp-devel speex-devel} -# jabber/ssl -#{?fedora:Requires(hint): qca-tls} -# sametime -%{?_enable_sametime_plugin:BuildRequires: meanwhile-devel} -%{?_with_xmms:BuildRequires: xmms-devel} -Requires: jasper -## kppp -Requires: ppp -## krdc -Requires: rdesktop -## lisa -Requires(preun): chkconfig -Requires(post): chkconfig -#Requires(hint): samba-client -BuildRequires: avahi-qt3-devel - -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 -BuildRequires: libv4l-devel -%endif - -%if 0%{?console_helper} -Requires: usermode-gtk -%endif - - -%description -Networking applications, including: -* kget: downloader manager -* kio_lan: lan browsing kio slave -* knewsticker: RDF newsticker applet -* kopete: chat client -* kppp: dialer and front end for pppd -* krdc: a client for Desktop Sharing and other VNC servers -* krfb: Desktop Sharing server, allow others to access your desktop via VNC -* lisa: lan information server - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Provides: kdenetwork3-devel = %{version}-%{release} -Requires: %{name}-libs = %{version}-%{release} -Requires: trinity-kdelibs-devel -%description devel -%{summary}. - -%package extras -Summary: Extras packages for %{name} -Group: Applications/Internet -Requires: %{name}-libs = %{version}-%{release} -%if "%{?_with_xmms:1}" == "1" -Obsoletes: %{name}-nowlistening < %{version}-%{release} -Provides: %{name}-nowlistening = %{version}-%{release} -%endif -%description extras -More Networking applications for the K Desktop Environment: - * ksirc - * kdict - * ktalkd - * kpf - * kwifimanager -%if "%{?_with_xmms:1}" == "1" - * nowlistening (xmms) plugin for Kopete. -%endif - -%package libs -Summary: %{name} runtime libraries -Group: System Environment/Libraries -Requires: trinity-kdelibs >= %{version} -# helps multilib upgrades -Obsoletes: %{name} < %{version}-%{release} -# include to be paranoid, installing libs-only is still mostly untested -- Rex -Requires: %{name} = %{version}-%{release} -%description libs -%{summary}. - - -%prep -%setup -q -n kdenetwork - -%if %{console_helper} -%patch3 -p1 -b .kppp -%endif -%patch4 -p1 -b .resolv -%patch6 -p1 -b .krfb_httpd -%patch7 -p1 -%patch8 -p1 - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -%configure \ - --enable-new-ldflags \ - --disable-dependency-tracking \ - --disable-rpath \ - --disable-debug \ - --disable-warnings \ - --enable-final \ - --includedir=%{tde_includedir} \ - %{?_enable_jingle} %{!?_enable_jingle:--disable-jingle} \ - %{?_enable_sametime_plugin} %{!?_enable_sametime_plugin:--disable-sametime-plugin} \ - %{?_enable_slp} %{!?_enable_slp:--disable-slp} \ - %{?_with_wifi} %{!?_with_wifi:--without-wifi} \ - %{?_with_xmms} %{!?_with_xmms:--without-xmms} \ - --with-extra-includes=%{_includedir}/tqt - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{buildroot} - -%__make install DESTDIR=%{buildroot} -# RHEL6: kppp seems to be not installed by previous command ??? -%__make install DESTDIR=%{buildroot} -C kppp - - -## File lists -# locale's -%find_lang %{name} || touch %{name}.lang -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && %{__rm} -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - -# Show only in KDE, FIXME, need to re-evaluate these -- Rex -for i in fileshare kcmkrfb kcmktalkd kcmwifi krfb kppp kppplogview \ - kwifimanager kget knewsticker ksirc kdict ; do - if [ -f %{buildroot}%{_datadir}/applications/kde/$i.desktop ] ; then - echo "OnlyShowIn=KDE;" >> %{buildroot}%{_datadir}/applications/kde/$i.desktop - fi -done - -%if %console_helper -# Run kppp through consolehelper -install -p -m644 -D %{SOURCE1} %{buildroot}/etc/pam.d/kppp3 -mkdir -p %{buildroot}%{_sbindir} -mv %{buildroot}%{_bindir}/kppp %{buildroot}%{_sbindir} -ln -s consolehelper %{buildroot}%{_bindir}/kppp -mkdir -p %{buildroot}/etc/security/console.apps -cat > %{buildroot}/etc/security/console.apps/kppp3 < /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -for f in crystalsvg hicolor locolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%preun -if [ $1 -eq 0 ]; then - /sbin/chkconfig --del lisa ||: - /sbin/service lisa stop > /dev/null 2>&1 ||: -fi - -%post libs -/sbin/ldconfig - -%postun libs -/sbin/ldconfig - -%post extras -for f in crystalsvg hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done - -%postun extras -for f in crystalsvg hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done - - -%clean -%__rm -rf %{buildroot} - - -%files extras -%defattr(-,root,root,-) - -# ksirc -%{_docdir}/HTML/??/ksirc/ -%{_bindir}/ksirc -%{_libdir}/libkdeinit_ksirc.* -%{_libdir}/kde3/ksirc.* -%{_datadir}/applications/kde/ksirc.desktop -%{_datadir}/apps/ksirc/ -%config(noreplace) %{_datadir}/config/ksircrc -%{_datadir}/icons/hicolor/*/apps/ksirc.* - -# kdict -%{_docdir}/HTML/en/kdict -%{_bindir}/kdict -%{_libdir}/kde3/kdict* -%{_libdir}/libkdeinit_kdict.* -%{_datadir}/applications/kde/kdict.desktop -%{_datadir}/apps/kdict -%{_datadir}/apps/kicker/applets/kdictapplet.desktop -%{_datadir}/icons/hicolor/*/apps/kdict.* - -# ktalk -%{_docdir}/HTML/en/ktalkd -%{_bindir}/ktalkd* -%{_libdir}/kde3/kcm_ktalkd.* -%{_datadir}/applications/kde/kcmktalkd.desktop -%config(noreplace) %{_datadir}/config/ktalkdrc -%{_datadir}/icons/crystalsvg/*/apps/ktalkd.* -%{_datadir}/sounds/ktalkd.wav -%config(noreplace) %{_sysconfdir}/xinetd.d/ktalk - -# kpf -%{_docdir}/HTML/en/kpf -%{_libdir}/kde3/kpf* -%{_datadir}/apps/kicker/applets/kpfapplet.desktop -%{_datadir}/icons/crystalsvg/*/apps/kpf.* -%{_datadir}/services/kpfpropertiesdialogplugin.desktop - -%if "%{?_with_wifi:1}" == "1" -# kwifimanager -%doc %{_docdir}/HTML/en/kwifimanager -%{_bindir}/kwifimanager -%{_libdir}/kde3/kcm_wifi.* -%{_datadir}/applications/kde/kcmwifi.desktop -%{_datadir}/applications/kde/kwifimanager.desktop -%{_datadir}/apps/kwifimanager -%{_datadir}/icons/hicolor/*/apps/kwifimanager.png -%endif - -%if "%{?_with_xmms:1}" == "1" -#files nowlistening -#defattr(-,root,root,-) -%{_datadir}/apps/kopete/*nowlisteningchatui* -%{_datadir}/apps/kopete/*nowlisteningui* -%{_datadir}/services/kconfiguredialog/*nowlistening* -%{_datadir}/services/*nowlistening* -%{_libdir}/kde3/*nowlistening* -%endif - -%files -f %{name}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING README - -# ksirc -%exclude %{_bindir}/ksirc -%exclude %{_libdir}/libkdeinit_ksirc.* -%exclude %{_libdir}/kde3/ksirc.* -%exclude %{_datadir}/applications/kde/ksirc.desktop -%exclude %{_datadir}/apps/ksirc/ -%exclude %{_datadir}/config/ksircrc -%exclude %{_docdir}/HTML/??/ksirc/ -%exclude %{_datadir}/icons/hicolor/??x??/apps/ksirc.png - -# kdict -%exclude %{_docdir}/HTML/en/kdict -%exclude %{_bindir}/kdict -%exclude %{_libdir}/kde3/kdict* -%exclude %{_libdir}/libkdeinit_kdict.* -%exclude %{_datadir}/applications/kde/kdict.desktop -%exclude %{_datadir}/apps/kdict -%exclude %{_datadir}/apps/kicker/applets/kdictapplet.desktop -%exclude %{_datadir}/icons/hicolor/128x128/apps/kdict.png -%exclude %{_datadir}/icons/hicolor/??x??/apps/kdict.png -%exclude %{_datadir}/icons/hicolor/scalable/apps/kdict.svgz - -# ktalk -%exclude %{_docdir}/HTML/en/ktalkd -%exclude %{_sysconfdir}/xinetd.d/ktalk -%exclude %{_bindir}/ktalkd* -%exclude %{_libdir}/kde3/kcm_ktalkd.* -%exclude %{_datadir}/applications/kde/kcmktalkd.desktop -%exclude %{_datadir}/config/ktalkdrc -%exclude %{_datadir}/icons/crystalsvg/128x128/apps/ktalkd.png -%exclude %{_datadir}/icons/crystalsvg/??x??/apps/ktalkd.png -%exclude %{_datadir}/sounds/ktalkd.wav - -# kpf -%exclude %{_libdir}/kde3/kpf* -%exclude %{_datadir}/apps/kicker/applets/kpfapplet.desktop -%exclude %{_docdir}/HTML/en/kpf -%exclude %{_datadir}/icons/crystalsvg/??x??/apps/kpf.png -%exclude %{_datadir}/services/kpfpropertiesdialogplugin.desktop - -%ifnarch s390 s390x -# kwifimanager -%exclude %{_bindir}/kwifimanager -%exclude %{_libdir}/kde3/kcm_wifi.* -%exclude %{_datadir}/applications/kde/kcmwifi.desktop -%exclude %{_datadir}/applications/kde/kwifimanager.desktop -%exclude %{_datadir}/apps/kwifimanager -%exclude %{_docdir}/HTML/en/kwifimanager -%exclude %{_datadir}/icons/hicolor/128x128/apps/kwifimanager.png -%exclude %{_datadir}/icons/hicolor/??x??/apps/kwifimanager.png -%exclude %{_datadir}/icons/hicolor/scalable/apps/kwifimanager.svgz -%endif - -# nowlistening -%if "%{?_with_xmms:1}" == "1" -%exclude %{_datadir}/apps/kopete/*nowlisteningchatui* -%exclude %{_datadir}/apps/kopete/*nowlisteningui* -%exclude %{_datadir}/services/kconfiguredialog/*nowlistening* -%exclude %{_datadir}/services/*nowlistening* -%exclude %{_libdir}/kde3/*nowlistening* -%endif - -%{_docdir}/HTML/en/* -%if %console_helper -%config(noreplace) /etc/security/console.apps/kppp3 -%config(noreplace) /etc/pam.d/kppp3 -%{_sbindir}/kppp -%else -%attr(4755,root,root) %{_bindir}/kppp -%endif -%config(noreplace) %{_sysconfdir}/lisarc -%config(noreplace) %{_initrddir}/lisa -%{_libdir}/libkdeinit_*.so -%if "%{?_with_wifi:1}" == "1" -%{_libdir}/libkwireless.* -%endif -%{_libdir}/kde3/* -%{_libdir}/kconf_update_bin/* -%{_bindir}/* -%{_datadir}/apps/* -%{_datadir}/applications/kde/* -%{_datadir}/applnk/.hidden/* -%{_datadir}/config/* -%{_datadir}/config.kcfg/* -%{_datadir}/icons/*/*/*/* -%{_datadir}/mimelnk/* -%{_datadir}/services/* -%{_datadir}/servicetypes/* -%{_datadir}/sounds/* - -%files libs -%defattr(-,root,root,-) -%{_libdir}/libkopete*.so.* -%{_libdir}/libkopete*.la -%{_libdir}/librss.so.* -%{_libdir}/librss.la - -%files devel -%defattr(-,root,root,-) -%{_includedir}/kde/* -%{_libdir}/libkopete*.so -%{_libdir}/librss.so - - -%changelog -* Mon Sep 19 2011 Francois Andriot - 3.5.12-5 -- Add support for RHEL5 - -* Sun Sep 11 2011 Francois Andriot - 3.5.12-4 -- Import to GIT - -* Tue Aug 23 2011 Francois Andriot - 3.5.12-3 -- Add correction for Fedora 15 -- Add patch7 for V4L compilation - -* Mon Aug 22 2011 Francois Andriot - 3.5.12-2 -- Correct macro to install under "/opt", if desired - -* Fri Aug 05 2011 Francois Andriot - 3.5.12-1 -- Initial version -- Spec file based on Fedora 8 "kdenetwork 7:3.5.10-1" - diff --git a/redhat/tdenetwork/trinity-kdenetwork-3.5.13.1.spec b/redhat/tdenetwork/trinity-kdenetwork-3.5.13.1.spec deleted file mode 100644 index 17f8e2140..000000000 --- a/redhat/tdenetwork/trinity-kdenetwork-3.5.13.1.spec +++ /dev/null @@ -1,1188 +0,0 @@ -# Avoids relinking, which breaks consolehelper -%define dont_relink 1 - -# If TDE is built iwn a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_sbindir %{tde_prefix}/sbin - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -# Fedora review: http://bugzilla.redhat.com/195486 - -## Conditional build: -# RHEL6: xmms is outdated ! -#define _with_xmms --with-xmms -%ifnarch s390 s390x -%define _with_wifi --with-wifi -%endif - -Name: trinity-tdenetwork -Version: 3.5.13.1 -Release: 2%{?dist}%{?_variant} -Summary: Trinity Desktop Environment - Network Applications - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -License: GPLv2 -Group: Applications/Internet - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: kdenetwork-3.5.13.1.tar.gz -Source1: kppp.pamd -Source2: ktalk -Source4: lisarc -Source5: lisa.redhat - -# RedHat/Fedora legacy patches -Patch3: kdenetwork-3.5.8-kppp.patch -Patch4: kdenetwork-3.2.3-resolv.patch -# include more/proper ppp headers -Patch6: kdenetwork-3.5.9-krfb_httpd.patch - -# [kdenetwork] Missing LDFLAGS cause FTBFS -Patch1: kdenetwork-3.5.13-missing_ldflags.patch -# [kdenetwork] FTBFS in SMS client [Bug #1241] -Patch2: kdenetwork-3.5.13.1-fix_smsclient_ftbfs.patch -# [kdenetwork] Fix iwlib support in openSUSE -Patch7: kdenetwork-3.5.13.1-add_cmake_macro.patch -Patch8: kdenetwork-3.5.13.1-wifi3.diff - -# RHEL4 specific -Patch201: kdenetwork-3.5.13.1-fix_rhel4_libraries.patch - - -BuildRequires: gettext -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} -BuildRequires: coreutils -BuildRequires: openssl-devel -BuildRequires: sqlite-devel -BuildRequires: gnutls-devel - -# GADU support -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -%define with_gadu 1 -BuildRequires: libgadu-devel -%endif - -%if 0%{?fedora} >= 5 || 0%{?rhel} >= 5 -BuildRequires: libXmu-devel -BuildRequires: libXScrnSaver-devel -BuildRequires: libXtst-devel -BuildRequires: libXxf86vm-devel -%endif - -# Wifi support -%if "%{?_with_wifi:1}" == "1" -%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5 -BuildRequires: wireless-tools-devel -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}iw29-devel -%endif -%if 0%{?rhel} == 5 -BuildRequires: wireless-tools -%endif -%if 0%{?suse_version} -BuildRequires: libiw-devel -%endif -%endif - -# OpenSLP support -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -%define with_openslp 1 -BuildRequires: openslp-devel -%endif - -%ifarch %{ix86} -# BR: %{tde_includedir}/valgrind/valgrind.h -BuildRequires: valgrind -%endif - -%{?_with_xmms:BuildRequires: xmms-devel} - -# V4L support -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?suse_version} -BuildRequires: libv4l-devel -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}v4l-devel -%endif - - -BuildRequires: libxml2-devel -BuildRequires: libxslt-devel - -#jabber -BuildRequires: libidn-devel -#jabber/jingle -%if 0%{?suse_version} -BuildRequires: libexpat-devel -%else -BuildRequires: expat-devel -%endif -BuildRequires: glib2-devel -BuildRequires: speex-devel -# jabber/ssl -#{?fedora:Requires(hint): qca-tls} -Requires: jasper -# MEANWHILE -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?suse_version} -%define with_meanwhile 1 -BuildRequires: meanwhile-devel -%endif -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 -BuildRequires: ortp-devel -%endif - -# SPEEX support -%if 0%{?rhel} >= 5 || 0%{?fedora} >= 15 || 0%{?suse_version} || 0%{?mdkversion} || 0%{?mgaversion} -%define with_speex 1 -BuildRequires: speex-devel -%endif - -Obsoletes: trinity-kdenetwork < %{version}-%{release} -Provides: trinity-kdenetwork = %{version}-%{release} -Obsoletes: trinity-kdenetwork-libs < %{version}-%{release} -Provides: trinity-kdenetwork-libs = %{version}-%{release} -Obsoletes: trinity-kdenetwork-extras < %{version}-%{release} -Provides: trinity-kdenetwork-extras = %{version}-%{release} -Obsoletes: tdenetwork < %{version}-%{release} -Provides: tdenetwork = %{version}-%{release} - -Requires: trinity-dcoprss = %{version}-%{release} -Requires: %{name}-filesharing = %{version}-%{release} -Requires: trinity-kdict = %{version}-%{release} -Requires: %{name}-kfile-plugins = %{version}-%{release} -Requires: trinity-kget = %{version}-%{release} -Requires: trinity-knewsticker = %{version}-%{release} -Requires: trinity-kopete = %{version}-%{release} -Requires: trinity-kopete-nowlistening = %{version}-%{release} -Requires: trinity-kpf = %{version}-%{release} -Requires: trinity-kppp = %{version}-%{release} -Requires: trinity-krdc = %{version}-%{release} -Requires: trinity-krfb = %{version}-%{release} -Requires: trinity-ksirc = %{version}-%{release} -Requires: trinity-ktalkd = %{version}-%{release} -Requires: trinity-kwifimanager = %{version}-%{release} -Requires: trinity-librss = %{version}-%{release} -Requires: trinity-lisa = %{version}-%{release} - -%description -This metapackage includes a collection of network and networking related -applications provided with the official release of Trinity. - -Networking applications, including: -* dcoprss: RSS utilities for Trinity -* filesharing: Network filesharing configuration module for Trinity -* kdict: Dictionary client for Trinity -* kfile-plugins: Torrent metainfo plugin for Trinity -* kget: downloader manager -* knewsticker: RDF newsticker applet -* kopete: chat client -* kopete-nowlistening: (xmms) plugin for Kopete. -* kpf: Public fileserver for Trinity -* kppp: dialer and front end for pppd -* krdc: a client for Desktop Sharing and other VNC servers -* krfb: Desktop Sharing server, allow others to access your desktop via VNC -* ksirc: IRC client for Trinity -* ktalkd: Talk daemon for Trinity -* kwifimanager: Wireless lan manager for Trinity -* librss: RSS library for Trinity -* lisa: lan information server - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING README - - -########## - -%package -n trinity-dcoprss -Summary: RSS utilities for Trinity -Group: Applications/Internet - -%description -n trinity-dcoprss -dcoprss is a RSS to DCOP bridge, allowing all -DCOP aware applications to access RSS news feeds. There is also -a few sample utilities provided. -RSS is a standard for publishing news headlines. -DCOP is the TDE interprocess communication protocol. - -%files -n trinity-dcoprss -%defattr(-,root,root,-) -%{tde_bindir}/feedbrowser -%{tde_bindir}/rssclient -%{tde_bindir}/rssservice -%{tde_datadir}/services/rssservice.desktop - -%post -n trinity-dcoprss -update-desktop-database 2> /dev/null || : - -%postun -n trinity-dcoprss -update-desktop-database 2> /dev/null || : - -########## - -%package devel -Summary: Development files for the Trinity network module -Group: Development/Libraries -Requires: trinity-kdict = %{version}-%{release} -Requires: trinity-kopete = %{version}-%{release} -Requires: trinity-ksirc = %{version}-%{release} -Requires: trinity-librss = %{version}-%{release} -Requires: trinity-kdelibs-devel - -Obsoletes: trinity-kdenetwork-devel < %{version}-%{release} -Provides: trinity-kdenetwork-devel = %{version}-%{release} -Obsoletes: tdenetwork-devel < %{version}-%{release} -Provides: tdenetwork-devel = %{version}-%{release} - -%description devel -This is the development package which contains the headers for the KDE RSS -library as well as the Kopete chat client, as well as miscellaneous -development-related files for the TDE network module. - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kopete/*.h -%{tde_tdeincludedir}/kopete/ui/*.h -%{tde_tdeincludedir}/rss/*.h -%{tde_libdir}/libkdeinit_kdict.la -%{tde_libdir}/libkdeinit_ksirc.la -%{tde_libdir}/libkopete.la -%{tde_libdir}/libkopete.so -%{tde_libdir}/libkopete_msn_shared.la -%{tde_libdir}/libkopete_msn_shared.so -%{tde_libdir}/libkopete_oscar.la -%{tde_libdir}/libkopete_oscar.so -%{tde_libdir}/libkopete_videodevice.la -%{tde_libdir}/libkopete_videodevice.so -%{tde_libdir}/librss.la -%{tde_libdir}/librss.so - -%post devel -/sbin/ldconfig - -%postun devel -/sbin/ldconfig - -########## - -%package filesharing -#Recommends: perl-suid -Summary: Network filesharing configuration module for Trinity -Group: Applications/Internet - -Obsoletes: tdenetwork-filesharing < %{version}-%{release} -Provides: tdenetwork-filesharing = %{version}-%{release} - -%description filesharing -This package provides a TDE Control Center module to configure -NFS and Samba. - -%files filesharing -%defattr(-,root,root,-) -%{tde_tdelibdir}/fileshare_propsdlgplugin.la -%{tde_tdelibdir}/fileshare_propsdlgplugin.so -%{tde_tdelibdir}/kcm_fileshare.la -%{tde_tdelibdir}/kcm_fileshare.so -%{tde_tdelibdir}/kcm_kcmsambaconf.la -%{tde_tdelibdir}/kcm_kcmsambaconf.so -%{tde_tdeappdir}/fileshare.desktop -%{tde_tdeappdir}/kcmsambaconf.desktop -%{tde_datadir}/icons/hicolor/*/apps/kcmsambaconf.png -%{tde_datadir}/services/fileshare_propsdlgplugin.desktop - -%post filesharing -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun filesharing -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -########## - -%package -n trinity-kdict -Summary: Dictionary client for Trinity -Group: Applications/Internet - -%description -n trinity-kdict -KDict is an advanced TDE graphical client for the DICT Protocol, with full -Unicode support. It enables you to search through dictionary databases for a -word or phrase, then displays suitable definitions. KDict tries to ease -basic as well as advanced queries. - -%files -n trinity-kdict -%defattr(-,root,root,-) -%{tde_bindir}/kdict -%{tde_tdelibdir}/kdict.* -%{tde_tdelibdir}/kdict_panelapplet.* -%{tde_libdir}/libkdeinit_kdict.* -%{tde_tdeappdir}/kdict.desktop -%{tde_datadir}/apps/kdict -%{tde_datadir}/apps/kicker/applets/kdictapplet.desktop -%{tde_datadir}/icons/hicolor/*/apps/kdict.* -%{tde_tdedocdir}/HTML/en/kdict - -%post -n trinity-kdict -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-kdict -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -########## - -%package kfile-plugins -Summary: Torrent metainfo plugin for Trinity -Group: Applications/Internet - -Obsoletes: tdenetwork-kfile-plugins < %{version}-%{release} -Provides: tdenetwork-kfile-plugins = %{version}-%{release} - -%description kfile-plugins -This package provides a metainformation plugin for bittorrent files. -TDE uses kfile-plugins to provide metainfo tab in the files properties -dialog in konqueror and other file-handling applications. - -%files kfile-plugins -%{tde_tdelibdir}/kfile_torrent.la -%{tde_tdelibdir}/kfile_torrent.so -%{tde_datadir}/services/kfile_torrent.desktop - -%post kfile-plugins -update-desktop-database 2> /dev/null || : - -%postun kfile-plugins -update-desktop-database 2> /dev/null || : - -########## - -%package -n trinity-kget -Summary: download manager for Trinity -Group: Applications/Internet - -%description -n trinity-kget -KGet is a a download manager similar to GetRight or Go!zilla. It keeps -all your downloads in one dialog and you can add and remove transfers. -Transfers can be paused, resumed, queued or scheduled. -Dialogs display info about status of transfers - progress, size, speed -and remaining time. Program supports drag & drop from TDE -applications and Netscape. - -%files -n trinity-kget -%defattr(-,root,root,-) -%{tde_bindir}/kget -%{tde_tdelibdir}/khtml_kget.la -%{tde_tdelibdir}/khtml_kget.so -%{tde_tdeappdir}/kget.desktop -%{tde_datadir}/apps/kget -%{tde_datadir}/apps/khtml/kpartplugins/kget_plug_in.desktop -%{tde_datadir}/apps/khtml/kpartplugins/kget_plug_in.rc -%{tde_datadir}/apps/konqueror/servicemenus/kget_download.desktop -%{tde_datadir}/icons/crystalsvg/*/actions/khtml_kget.png -%{tde_datadir}/icons/crystalsvg/*/apps/kget.png -%{tde_datadir}/icons/crystalsvg/*/mimetypes/kget_list.png -%{tde_datadir}/mimelnk/application/x-kgetlist.desktop -%{tde_datadir}/sounds/KGet_Added.ogg -%{tde_datadir}/sounds/KGet_Finished.ogg -%{tde_datadir}/sounds/KGet_Finished_All.ogg -%{tde_datadir}/sounds/KGet_Started.ogg -%{tde_tdedocdir}/HTML/en/kget - -%post -n trinity-kget -for f in crystalsvg ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-kget -for f in crystalsvg ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -########## - -%package -n trinity-knewsticker -Summary: news ticker applet for Trinity -Group: Applications/Internet - -%description -n trinity-knewsticker -This is a news ticker applet for the Trinity panel. It can scroll news from -your favorite news sites, such as lwn.net, /. and freshmeat.net. -To achieve this, KNewsTicker requires the news sites to provide a -RSS feed to newsitems. KNewsTicker already comes with a selection of -good news sources which provide such files. - -%files -n trinity-knewsticker -%defattr(-,root,root,-) -%{tde_bindir}/knewstickerstub -%{tde_tdelibdir}/knewsticker_panelapplet.la -%{tde_tdelibdir}/knewsticker_panelapplet.so -%{tde_tdelibdir}/kntsrcfilepropsdlg.la -%{tde_tdelibdir}/kntsrcfilepropsdlg.so -%{tde_tdeappdir}/knewsticker-standalone.desktop -%{tde_datadir}/applnk/.hidden/knewstickerstub.desktop -%{tde_datadir}/apps/kconf_update/knewsticker.upd -%{tde_datadir}/apps/kconf_update/knt-0.1-0.2.pl -%{tde_datadir}/apps/kicker/applets/knewsticker.desktop -%{tde_datadir}/apps/knewsticker/eventsrc -%{tde_datadir}/icons/hicolor/*/apps/knewsticker.png -%{tde_datadir}/services/kntsrcfilepropsdlg.desktop -%{tde_tdedocdir}/HTML/en/knewsticker - -%post -n trinity-knewsticker -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-knewsticker -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -########## - -%package -n trinity-kopete -Summary: instant messenger for Trinity -Group: Applications/Internet -URL: http://kopete.kde.org - -%description -n trinity-kopete -Kopete is an instant messenger program which can communicate with a variety -of IM systems, such as Yahoo, ICQ, MSN, IRC and Jabber. - -Support for more IM protocols can be added through a plugin system. - -%files -n trinity-kopete -%defattr(-,root,root,-) -# nowlistening support -%exclude %{tde_datadir}/apps/kopete/*nowlisteningchatui* -%exclude %{tde_datadir}/apps/kopete/*nowlisteningui* -%exclude %{tde_datadir}/config.kcfg/nowlisteningconfig.kcfg -%exclude %{tde_datadir}/services/kconfiguredialog/*nowlistening* -%exclude %{tde_datadir}/services/*nowlistening* -%exclude %{tde_tdelibdir}/*nowlistening* -# Main kopete package -%{tde_bindir}/kopete -%{tde_bindir}/kopete_latexconvert.sh -%{tde_libdir}/kconf_update_bin/kopete_account_kconf_update -%{tde_libdir}/kconf_update_bin/kopete_nameTracking_kconf_update -%{tde_libdir}/kconf_update_bin/kopete_pluginloader2_kconf_update -%{tde_tdelibdir}/kcm_kopete_*.so -%{tde_tdelibdir}/kcm_kopete_*.la -%{tde_tdelibdir}/kio_jabberdisco.la -%{tde_tdelibdir}/kio_jabberdisco.so -%{tde_tdelibdir}/kopete_*.la -%{tde_tdelibdir}/kopete_*.so -%{tde_tdelibdir}/libkrichtexteditpart.la -%{tde_tdelibdir}/libkrichtexteditpart.so -%{tde_libdir}/libkopete_msn_shared.so.* -%{tde_libdir}/libkopete_oscar.so.* -%{tde_libdir}/libkopete.so.* -%{tde_libdir}/libkopete_videodevice.so.* -%{tde_tdeappdir}/kopete.desktop -%{tde_datadir}/apps/kconf_update/kopete-* -%{tde_datadir}/apps/kopete -%{tde_datadir}/apps/kopete_*/*.rc -%{tde_datadir}/apps/kopeterichtexteditpart/kopeterichtexteditpartfull.rc -%{tde_datadir}/config.kcfg/historyconfig.kcfg -%{tde_datadir}/config.kcfg/kopeteidentityconfigpreferences.kcfg -%{tde_datadir}/config.kcfg/kopete.kcfg -%{tde_datadir}/config.kcfg/latexconfig.kcfg -%{tde_datadir}/icons/crystalsvg/*/actions/voicecall.png -%{tde_datadir}/icons/crystalsvg/*/actions/webcamreceive.png -%{tde_datadir}/icons/crystalsvg/*/actions/webcamsend.png -%{tde_datadir}/icons/crystalsvg/*/actions/account_offline_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/add_user.png -%{tde_datadir}/icons/crystalsvg/*/actions/contact_away_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/contact_busy_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/contact_food_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/contact_invisible_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/contact_phone_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/contact_xa_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/delete_user.png -%{tde_datadir}/icons/crystalsvg/*/actions/edit_user.png -%{tde_datadir}/icons/crystalsvg/*/actions/emoticon.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_away.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_chatty.png -#%{tde_datadir}/icons/crystalsvg/*/actions/jabber_connecting.mng -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_group.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_invisible.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_na.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_offline.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_online.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_original.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_raw.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_serv_off.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_serv_on.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_xa.png -%{tde_datadir}/icons/crystalsvg/*/actions/kopeteavailable.png -%{tde_datadir}/icons/crystalsvg/*/actions/kopeteaway.png -%{tde_datadir}/icons/crystalsvg/*/actions/kopeteeditstatusmessage.png -%{tde_datadir}/icons/crystalsvg/*/actions/kopetestatusmessage.png -%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_away.png -%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_offline.png -%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_online.png -%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_unknown.png -%{tde_datadir}/icons/crystalsvg/*/actions/newmsg.png -%{tde_datadir}/icons/crystalsvg/*/actions/search_user.png -%{tde_datadir}/icons/crystalsvg/*/actions/show_offliners.png -%{tde_datadir}/icons/crystalsvg/*/actions/status_unknown_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/status_unknown.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_aim.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_gadu.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_http-ws.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_icq.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_irc.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_msn.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_qq.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_smtp.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_tlen.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_yahoo.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_protocol.png -%{tde_datadir}/icons/crystalsvg/*/apps/kopete_all_away.png -%{tde_datadir}/icons/crystalsvg/*/apps/kopete_offline.png -%{tde_datadir}/icons/crystalsvg/*/apps/kopete_some_away.png -%{tde_datadir}/icons/crystalsvg/*/apps/kopete_some_online.png -%{tde_datadir}/icons/crystalsvg/*/mimetypes/kopete_emoticons.png -%{tde_datadir}/icons/crystalsvg/scalable/actions/account_offline_overlay.svgz -%{tde_datadir}/icons/hicolor/*/apps/kopete.png -%{tde_datadir}/icons/hicolor/*/actions/emoticon.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_away.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_chatty.png -#%{tde_datadir}/icons/hicolor/*/actions/jabber_connecting.mng -%{tde_datadir}/icons/hicolor/*/actions/jabber_group.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_invisible.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_na.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_offline.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_online.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_original.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_raw.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_serv_off.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_serv_on.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_xa.png -%{tde_datadir}/icons/hicolor/*/actions/kopeteavailable.png -%{tde_datadir}/icons/hicolor/*/actions/kopeteaway.png -%{tde_datadir}/icons/hicolor/*/actions/newmsg.png -%{tde_datadir}/icons/hicolor/*/actions/status_unknown_overlay.png -%{tde_datadir}/icons/hicolor/*/actions/status_unknown.png -%{tde_datadir}/icons/hicolor/*/apps/jabber_protocol.png -%{tde_datadir}/icons/hicolor/scalable/apps/kopete2.svgz -%{tde_datadir}/mimelnk/application/x-icq.desktop -%{tde_datadir}/mimelnk/application/x-kopete-emoticons.desktop -%{tde_datadir}/services/aim.protocol -%{tde_datadir}/services/chatwindow.desktop -%{tde_datadir}/services/emailwindow.desktop -%{tde_datadir}/services/jabberdisco.protocol -%{tde_datadir}/services/kconfiguredialog/kopete_*.desktop -%{tde_datadir}/services/kopete_*.desktop -%{tde_datadir}/icons/crystalsvg/16x16/apps/jabber_gateway_sms.png -%{tde_datadir}/servicetypes/kopete*.desktop -%{tde_datadir}/sounds/Kopete_*.ogg -%{tde_tdedocdir}/HTML/en/kopete -# jingle support for kopete -%{tde_bindir}/relayserver -%{tde_bindir}/stunserver -# winpopup support for kopete -%{tde_bindir}/winpopup-install.sh -%{tde_bindir}/winpopup-send.sh -# meanwhile protocol support for kopete -%if 0%{?with_meanwhile} -%{tde_tdelibdir}/new_target0.la -%{tde_tdelibdir}/new_target0.so -%endif -# motionaway plugin for kopete -%{tde_datadir}/config.kcfg/motionawayconfig.kcfg -# smpp plugin for kopete -%{tde_datadir}/config.kcfg/smpppdcs.kcfg - - -%post -n trinity-kopete -for f in crystalsvg hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : -/sbin/ldconfig - -%postun -n trinity-kopete -for f in crystalsvg hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : -/sbin/ldconfig - -########## - -%package -n trinity-kopete-nowlistening -Summary: Nowlistening (xmms) plugin for Kopete. -Group: Applications/Internet - -%description -n trinity-kopete-nowlistening -Kopete includes the "Now Listening" plug-in that can report what music you -are currently listening to, in a number of different players, including -noatun, kscd, juk, kaffeine and amarok. - -%files -n trinity-kopete-nowlistening -%defattr(-,root,root,-) -%{tde_datadir}/apps/kopete/*nowlisteningchatui* -%{tde_datadir}/apps/kopete/*nowlisteningui* -%{tde_datadir}/config.kcfg/nowlisteningconfig.kcfg -%{tde_datadir}/services/kconfiguredialog/*nowlistening* -%{tde_datadir}/services/*nowlistening* -%{tde_tdelibdir}/*nowlistening* - -########## - -%package -n trinity-kpf -Summary: Public fileserver for Trinity -Group: Applications/Internet - -%description -n trinity-kpf -kpf provides simple file sharing using HTTP. kpf is strictly a public -fileserver, which means that there are no access restrictions to shared -files. Whatever you select for sharing is available to anyone. kpf is -designed to be used for sharing files with friends. - -%files -n trinity-kpf -%defattr(-,root,root,-) -%{tde_tdelibdir}/kpf* -%{tde_datadir}/apps/kicker/applets/kpfapplet.desktop -%{tde_datadir}/icons/crystalsvg/*/apps/kpf.* -%{tde_datadir}/services/kpfpropertiesdialogplugin.desktop -%{tde_tdedocdir}/HTML/en/kpf - -%post -n trinity-kpf -for f in crystalsvg ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-kpf -for f in crystalsvg ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -########## - -%package -n trinity-kppp -Summary: modem dialer and ppp frontend for Trinity -Group: Applications/Internet -Requires: ppp -%if 0%{?rhel} || 0%{?fedora} -Requires: usermode-gtk -%else -Requires: usermode -%endif - -%description -n trinity-kppp -KPPP is a dialer and front end for pppd. It allows for interactive -script generation and network setup. It will automate the dialing in -process to your ISP while letting you conveniently monitor the entire -process. - -Once connected KPPP will provide a rich set of statistics and keep -track of the time spent online for you. - -%files -n trinity-kppp -%defattr(-,root,root,-) -%config(noreplace) /etc/security/console.apps/kppp3 -%config(noreplace) /etc/pam.d/kppp3 -%{tde_bindir}/kppp3 -%{tde_bindir}/kppplogview -%{_sbindir}/kppp3 -%{tde_sbindir}/kppp3 -%{tde_tdeappdir}/Kppp.desktop -%{tde_tdeappdir}/kppplogview.desktop -%{tde_datadir}/apps/checkrules -%{tde_datadir}/apps/kppp -%{tde_datadir}/icons/hicolor/*/apps/kppp.png -%{tde_tdedocdir}/HTML/en/kppp - -%post -n trinity-kppp -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-kppp -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -########## - -%package -n trinity-krdc -Summary: Remote Desktop Connection for Trinity -Group: Applications/Internet -Requires: rdesktop - -%description -n trinity-krdc -krdc is an TDE graphical client for the rfb protocol, used by VNC, -and if rdesktop is installed, krdc can connect to Windows Terminal -Servers using RDP. - -%files -n trinity-krdc -%defattr(-,root,root,-) -%{tde_bindir}/krdc -%{tde_tdeappdir}/krdc.desktop -%{tde_datadir}/apps/konqueror/servicemenus/smb2rdc.desktop -%{tde_datadir}/apps/krdc -%{tde_datadir}/icons/crystalsvg/*/apps/krdc.png -%{tde_datadir}/services/rdp.protocol -%{tde_datadir}/services/vnc.protocol -%{tde_tdedocdir}/HTML/en/krdc - -%post -n trinity-krdc -for f in crystalsvg ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-krdc -for f in crystalsvg ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -########## - -%package -n trinity-krfb -Summary: Desktop Sharing for Trinity -Group: Applications/Internet - -%description -n trinity-krfb -Desktop Sharing (krfb) is a server application that allows you to share -your current session with a user on another machine, who can use a -VNC client like krdc to view or even control the desktop. It doesn't -require you to start a new X session - it can share the current session. -This makes it very useful when you want someone to help you perform a -task. - -%files -n trinity-krfb -%defattr(-,root,root,-) -%{tde_bindir}/krfb -%{tde_bindir}/krfb_httpd -%{tde_tdelibdir}/kcm_krfb.la -%{tde_tdelibdir}/kcm_krfb.so -%{tde_tdelibdir}/kded_kinetd.la -%{tde_tdelibdir}/kded_kinetd.so -%{tde_tdeappdir}/kcmkrfb.desktop -%{tde_tdeappdir}/krfb.desktop -%{tde_datadir}/apps/kinetd/eventsrc -%{tde_datadir}/apps/krfb -%{tde_datadir}/icons/crystalsvg/*/apps/krfb.png -%{tde_datadir}/icons/locolor/*/apps/krfb.png -%{tde_datadir}/services/kded/kinetd.desktop -%{tde_datadir}/services/kinetd_krfb.desktop -%{tde_datadir}/services/kinetd_krfb_httpd.desktop -%{tde_datadir}/servicetypes/kinetdmodule.desktop -%{tde_tdedocdir}/HTML/en/krfb - -%post -n trinity-krfb -for f in crystalsvg locolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-krfb -for f in crystalsvg locolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -########## - -%package -n trinity-ksirc -Summary: IRC client for Trinity -Group: Applications/Internet - -%description -n trinity-ksirc -KSirc is an IRC chat client for KDE. It supports scripting with Perl and has a -lot of compatibility with mIRC for general use. - -If you want to connect to an IRC server via SSL, you will need to install the -recommended package libio-socket-ssl-perl. - -%files -n trinity-ksirc -%defattr(-,root,root,-) -%{tde_bindir}/dsirc -%{tde_bindir}/ksirc -%{tde_libdir}/libkdeinit_ksirc.* -%{tde_tdelibdir}/ksirc.* -%{tde_tdeappdir}/ksirc.desktop -%{tde_datadir}/apps/ksirc/ -%config(noreplace) %{tde_datadir}/config/ksircrc -%{tde_datadir}/icons/hicolor/*/apps/ksirc.* -%{tde_tdedocdir}/HTML/??/ksirc/ - -%post -n trinity-ksirc -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : -/sbin/ldconfig - - -%postun -n trinity-ksirc -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : -/sbin/ldconfig - -########## - -%package -n trinity-ktalkd -Summary: Talk daemon for Trinity -Group: Applications/Internet - -%description -n trinity-ktalkd -KTalkd is an enhanced talk daemon - a program to handle incoming talk -requests, announce them and allow you to respond to it using a talk -client. Note that KTalkd is designed to run on a single-user workstation, -and shouldn't be run on a multi-user machine. - -%files -n trinity-ktalkd -%defattr(-,root,root,-) -%{tde_bindir}/ktalkd* -%{tde_bindir}/mail.local -%{tde_tdelibdir}/kcm_ktalkd.* -%{tde_tdeappdir}/kcmktalkd.desktop -%config(noreplace) %{tde_datadir}/config/ktalkdrc -%{tde_datadir}/icons/crystalsvg/*/apps/ktalkd.* -%{tde_datadir}/sounds/ktalkd.wav -%config(noreplace) %{_sysconfdir}/xinetd.d/ktalk -%{tde_tdedocdir}/HTML/en/kcontrol/kcmtalkd -%{tde_tdedocdir}/HTML/en/ktalkd - -%post -n trinity-ktalkd -for f in crystalsvg ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-ktalkd -for f in crystalsvg ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -########## - -%if "%{?_with_wifi:1}" == "1" -%package -n trinity-kwifimanager -#Depends: ${shlibs:Depends}, wireless-tools -#Suggests: khelpcenter-trinity -Summary: Wireless lan manager for Trinity -Group: Applications/Internet - -%description -n trinity-kwifimanager -KWiFiManager suite is a set of tools which allows you to manage your -wireless LAN connection under the K Desktop Environment. It provides -information about your current connection. KWiFiManager supports every -wavelan card that uses the wireless extensions interface. - -%files -n trinity-kwifimanager -%defattr(-,root,root,-) -%{tde_bindir}/kwifimanager -%{tde_tdelibdir}/kcm_wifi.* -%{tde_tdelibdir}/libkwireless.la -%{tde_tdelibdir}/libkwireless.so -%{tde_tdeappdir}/kcmwifi.desktop -%{tde_tdeappdir}/kwifimanager.desktop -%{tde_datadir}/apps/kicker/applets/kwireless.desktop -%{tde_datadir}/apps/kwifimanager -%{tde_datadir}/icons/hicolor/*/apps/kwifimanager.png -%{tde_datadir}/icons/hicolor/*/apps/kwifimanager.svgz -%doc %{tde_tdedocdir}/HTML/en/kwifimanager - -%post -n trinity-kwifimanager -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-kwifimanager -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : -%endif - -########## - -%package -n trinity-librss -Summary: RSS library for Trinity -Group: Environment/Libraries - -%description -n trinity-librss -This is the runtime package for programs that use the TDE RSS library. -End users should not need to install this, it should get installed -automatically when needed. - -%files -n trinity-librss -%defattr(-,root,root,-) -%{tde_libdir}/librss.so.* - -%post -n trinity-librss -/sbin/ldconfig - -%postun -n trinity-librss -/sbin/ldconfig - -########## - -%package -n trinity-lisa -Summary: LAN information server for Trinity -Group: Applications/Internet -%if 0%{?suse_version} -Requires(preun): aaa_base -Requires(post): aaa_base -%else -Requires(preun): chkconfig -Requires(post): chkconfig -%endif - -%description -n trinity-lisa -LISa is intended to provide KDE with a kind of "network neighborhood" -but relying only on the TCP/IP protocol. - -%files -n trinity-lisa -%defattr(-,root,root,-) -%config(noreplace) %{_sysconfdir}/lisarc* -%config(noreplace) %{_initrddir}/lisa -%{tde_tdelibdir}/kcm_lanbrowser.la -%{tde_tdelibdir}/kcm_lanbrowser.so -%{tde_tdelibdir}/kio_lan.la -%{tde_tdelibdir}/kio_lan.so -%{tde_datadir}/applnk/.hidden/kcmkiolan.desktop -%{tde_datadir}/applnk/.hidden/kcmlisa.desktop -%{tde_datadir}/applnk/.hidden/kcmreslisa.desktop -%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/lisa.desktop -%{tde_datadir}/apps/konqueror/dirtree/remote/lan.desktop -%{tde_datadir}/apps/lisa/README -%{tde_datadir}/apps/remoteview/lan.desktop -%{tde_tdedocdir}/HTML/en/kcontrol/lanbrowser/common -%{tde_tdedocdir}/HTML/en/kcontrol/lanbrowser/index.cache.bz2 -%{tde_tdedocdir}/HTML/en/kcontrol/lanbrowser/index.docbook -%{tde_tdedocdir}/HTML/en/lisa/ -%{tde_datadir}/services/lan.protocol -%{tde_datadir}/services/rlan.protocol -%{tde_bindir}/lisa -%{tde_bindir}/reslisa - -%post -n trinity-lisa -/sbin/chkconfig --add lisa ||: -update-desktop-database 2> /dev/null || : - -%postun -n trinity-lisa -if [ $1 -eq 0 ]; then - /sbin/service lisa stop > /dev/null 2>&1 ||: - /sbin/chkconfig --del lisa ||: -fi -update-desktop-database 2> /dev/null || : - -########## - -%package -n trinity-kdnssd -#Recommends: avahi-daemon -#Suggests: avahi-autoipd | zeroconf -Summary: Zeroconf support for KDE -Group: Applications/Internet - -%description -n trinity-kdnssd -A kioslave and kded module that provide Zeroconf support. Try -"zeroconf:/" in Konqueror. - -%files -n trinity-kdnssd -%defattr(-,root,root,-) -%{tde_datadir}/services/zeroconf.protocol -%{tde_datadir}/services/invitation.protocol -%{tde_datadir}/services/kded/dnssdwatcher.desktop -%{tde_datadir}/apps/remoteview/zeroconf.desktop -%{tde_datadir}/apps/zeroconf/_http._tcp -%{tde_datadir}/apps/zeroconf/_ftp._tcp -%{tde_datadir}/apps/zeroconf/_ldap._tcp -%{tde_datadir}/apps/zeroconf/_webdav._tcp -%{tde_datadir}/apps/zeroconf/_nfs._tcp -%{tde_datadir}/apps/zeroconf/_ssh._tcp -%{tde_datadir}/apps/zeroconf/_rfb._tcp -%{tde_tdelibdir}/kio_zeroconf.so -%{tde_tdelibdir}/kio_zeroconf.la -%{tde_tdelibdir}/kded_dnssdwatcher.so -%{tde_tdelibdir}/kded_dnssdwatcher.la - -%post -n trinity-kdnssd -update-desktop-database 2> /dev/null || : - -%postun -n trinity-kdnssd -update-desktop-database 2> /dev/null || : - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n kdenetwork-3.5.13.1 - -%patch1 -p1 -b .ldflags -%patch2 -p1 -b .ftbfs -%patch3 -p1 -b .kppp -%patch4 -p1 -b .resolv -%patch6 -p1 -b .krfb_httpd -%patch7 -p1 -d cmake -%patch8 -p1 - -%if 0%{?rhel} == 4 -%patch201 -p1 -b .rhel4 -%endif - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" -export LD_LIBRARY_PATH="%{tde_libdir}" - -# Specific path for RHEL4 -if [ -d /usr/X11R6 ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DWITH_JINGLE=ON \ - %{?with_speex:-DWITH_SPEEX=ON} \ - -DWITH_WEBCAM=ON \ - -DWITH_GSM=OFF \ - -DWITH_ARTS=ON \ - -DBUILD_ALL=ON \ - -DBUILD_KOPETE_PLUGIN_ALL=ON \ - -DBUILD_KOPETE_PROTOCOL_ALL=ON \ - %{!?with_gadu:-DBUILD_KOPETE_PROTOCOL_GADU=OFF} \ - %{!?with_meanwhile:-DBUILD_KOPETE_PROTOCOL_MEANWHILE=OFF} \ - .. - -# Tdenetwork is not smp safe ! -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && %{__rm} -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - -# Show only in KDE, FIXME, need to re-evaluate these -- Rex -for i in fileshare kcmkrfb kcmktalkd kcmwifi krfb kppp kppplogview \ - kwifimanager kget knewsticker ksirc kdict ; do - if [ -f %{buildroot}%{tde_tdeappdir}/$i.desktop ] ; then - echo "OnlyShowIn=KDE;" >> %{buildroot}%{tde_datadir}/applications/kde/$i.desktop - fi -done - -# Run kppp through consolehelper, and rename it to 'kppp3' -%__install -p -m644 -D %{SOURCE1} %{buildroot}/etc/pam.d/kppp3 -%__mkdir_p %{buildroot}%{tde_sbindir} %{buildroot}%{_sbindir} -%__mv %{buildroot}%{tde_bindir}/kppp %{buildroot}%{tde_sbindir}/kppp3 -%__ln_s %{_bindir}/consolehelper %{buildroot}%{tde_bindir}/kppp3 -%if "%{tde_prefix}" != "/usr" -%__ln_s %{tde_sbindir}/kppp3 %{?buildroot}%{_sbindir}/kppp3 -%endif -%__mkdir_p %{buildroot}%{_sysconfdir}/security/console.apps -cat > %{buildroot}%{_sysconfdir}/security/console.apps/kppp3 < - 3.5.13.1-1 -- Initial build for TDE 3.5.13.1 diff --git a/redhat/tdenetwork/trinity-kdenetwork-3.5.13.spec b/redhat/tdenetwork/trinity-kdenetwork-3.5.13.spec deleted file mode 100644 index f4e2ea6bd..000000000 --- a/redhat/tdenetwork/trinity-kdenetwork-3.5.13.spec +++ /dev/null @@ -1,1182 +0,0 @@ -# Avoids relinking, which breaks consolehelper -%define dont_relink 1 - -# If TDE is built iwn a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_sbindir %{tde_prefix}/sbin - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -# Fedora review: http://bugzilla.redhat.com/195486 - -## Conditional build: -# RHEL6: xmms is outdated ! -#define _with_xmms --with-xmms -%ifnarch s390 s390x -%define _with_wifi --with-wifi -%endif - -Name: trinity-tdenetwork -Version: 3.5.13 -Release: 6%{?dist}%{?_variant} -Summary: Trinity Desktop Environment - Network Applications - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -License: GPLv2 -Group: Applications/Internet - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: kdenetwork-%{version}.tar.gz -Source1: kppp.pamd -Source2: ktalk -Source4: lisarc -Source5: lisa.redhat - -# RedHat/Fedora legacy patches -Patch3: kdenetwork-3.5.8-kppp.patch -Patch4: kdenetwork-3.2.3-resolv.patch -# include more/proper ppp headers -Patch6: kdenetwork-3.5.9-krfb_httpd.patch - -# [kdenetworks] Missing LDFLAGS cause FTBFS -Patch1: kdenetwork-3.5.13-missing_ldflags.patch -# [kdenetwork] Fix kopete protocol compilation [Bug #695] -Patch10: kdenetwork-3.5.13-kopete_msn_protocol.patch -Patch11: kdenetwork-3.5.13-kopete_sms_protocol.patch -Patch12: kdenetwork-3.5.13-kopete_jabber_protocol.patch -Patch13: kdenetwork-3.5.13-kopete_motionawayplugin_ftbfs.patch -# [kdenetwork] Fix references to "qname.h" [Bug #700] -Patch14: kdenetwork-3.5.13-reference_to_qmake_h.patch -# WTF is this ? shitty hack in autotool was forgotten in CMAKE port ! [Bug #695] -Source10: kdenetwork-3.5.13-dummy.cpp -# [tdenetwork] Fix linear alphabet string errors [Commit #3516f9bc] -Patch15: kdenetwork-3.5.13-fix_alphabet_string_error.patch -# [tdenetwork] Remove "More Applications" from TDE menu. [Bug #653] [Commit #f86a2538] -Patch17: kdenetwork-3.5.13-remove_more_applications_from_menu.patch -# [tdenetwork] Improve Kaffeine support in Kopete now listening plugin [Commit #f6708531] -Patch18: kdenetwork-3.5.13-improve_kaffeine_support_in_nowlistening_plugin.patch -# [tdenetwork] Fix html special chars in kopete nowlistening plugin [Bug #944] [Commit #0a2892ed] -Patch19: kdenetwork-3.5.13-fix_html_specialchar_in_kopete_nowlistening.patch -# [tdenetwork] Fix a fatal error message [Commit #5c988de1] -Patch20: kdenetwork-3.5.13-fix_a_fatal_error_message.patch -# [tdenetwork] Fix a parallel build bug [Commit #35c41f35] -Patch21: kdenetwork-3.5.13-fix_parallel_build.patch - -BuildRequires: gettext -BuildRequires: trinity-kdelibs-devel -BuildRequires: coreutils -BuildRequires: openssl-devel -#BuildRequires: avahi-qt3-devel -BuildRequires: sqlite-devel -BuildRequires: gnutls-devel -BuildRequires: libgadu-devel -BuildRequires: speex-devel - -%if 0%{?fedora} > 4 || 0%{?rhel} > 4 -BuildRequires: libXmu-devel libXScrnSaver-devel libXtst-devel libXxf86vm-devel -%endif -%if "%{?_with_wifi:1}" == "1" -%if 0%{?fedora} > 5 || 0%{?rhel} > 4 -BuildRequires: wireless-tools-devel -%else -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}iw29-devel -%else -# RHEL 5 -BuildRequires: wireless-tools -%endif -%endif -%endif -BuildRequires: openslp-devel -%ifarch %{ix86} -# BR: %{tde_includedir}/valgrind/valgrind.h -BuildRequires: valgrind -%endif -%{?_with_xmms:BuildRequires: xmms-devel} - -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 -BuildRequires: libv4l-devel -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}v4l-devel -%endif - -Obsoletes: trinity-kdenetwork < %{version}-%{release} -Provides: trinity-kdenetwork = %{version}-%{release} -Obsoletes: trinity-kdenetwork-libs < %{version}-%{release} -Provides: trinity-kdenetwork-libs = %{version}-%{release} -Obsoletes: trinity-kdenetwork-extras < %{version}-%{release} -Provides: trinity-kdenetwork-extras = %{version}-%{release} -Obsoletes: tdenetwork < %{version}-%{release} -Provides: tdenetwork = %{version}-%{release} - -Requires: trinity-dcoprss = %{version}-%{release} -Requires: %{name}-filesharing = %{version}-%{release} -Requires: trinity-kdict = %{version}-%{release} -Requires: %{name}-kfile-plugins = %{version}-%{release} -Requires: trinity-kget = %{version}-%{release} -Requires: trinity-knewsticker = %{version}-%{release} -Requires: trinity-kopete = %{version}-%{release} -Requires: trinity-kopete-nowlistening = %{version}-%{release} -Requires: trinity-kpf = %{version}-%{release} -Requires: trinity-kppp = %{version}-%{release} -Requires: trinity-krdc = %{version}-%{release} -Requires: trinity-krfb = %{version}-%{release} -Requires: trinity-ksirc = %{version}-%{release} -Requires: trinity-ktalkd = %{version}-%{release} -Requires: trinity-kwifimanager = %{version}-%{release} -Requires: trinity-librss = %{version}-%{release} -Requires: trinity-lisa = %{version}-%{release} - -%description -This metapackage includes a collection of network and networking related -applications provided with the official release of Trinity. - -Networking applications, including: -* dcoprss: RSS utilities for Trinity -* filesharing: Network filesharing configuration module for Trinity -* kdict: Dictionary client for Trinity -* kfile-plugins: Torrent metainfo plugin for Trinity -* kget: downloader manager -* knewsticker: RDF newsticker applet -* kopete: chat client -* kopete-nowlistening: (xmms) plugin for Kopete. -* kpf: Public fileserver for Trinity -* kppp: dialer and front end for pppd -* krdc: a client for Desktop Sharing and other VNC servers -* krfb: Desktop Sharing server, allow others to access your desktop via VNC -* ksirc: IRC client for Trinity -* ktalkd: Talk daemon for Trinity -* kwifimanager: Wireless lan manager for Trinity -* librss: RSS library for Trinity -* lisa: lan information server - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING README - - -########## - -%package -n trinity-dcoprss -Summary: RSS utilities for Trinity -Group: Applications/Internet - -%description -n trinity-dcoprss -dcoprss is a RSS to DCOP bridge, allowing all -DCOP aware applications to access RSS news feeds. There is also -a few sample utilities provided. -RSS is a standard for publishing news headlines. -DCOP is the TDE interprocess communication protocol. - -%files -n trinity-dcoprss -%defattr(-,root,root,-) -%{tde_bindir}/feedbrowser -%{tde_bindir}/rssclient -%{tde_bindir}/rssservice -%{tde_datadir}/services/rssservice.desktop - -%post -n trinity-dcoprss -update-desktop-database 2> /dev/null || : - -%postun -n trinity-dcoprss -update-desktop-database 2> /dev/null || : - -########## - -%package devel -Summary: Development files for the Trinity network module -Group: Development/Libraries -Requires: trinity-kdict = %{version}-%{release} -Requires: trinity-kopete = %{version}-%{release} -Requires: trinity-ksirc = %{version}-%{release} -Requires: trinity-librss = %{version}-%{release} -Requires: trinity-kdelibs-devel - -Obsoletes: trinity-kdenetwork-devel < %{version}-%{release} -Provides: trinity-kdenetwork-devel = %{version}-%{release} -Obsoletes: tdenetwork-devel < %{version}-%{release} -Provides: tdenetwork-devel = %{version}-%{release} - -%description devel -This is the development package which contains the headers for the KDE RSS -library as well as the Kopete chat client, as well as miscellaneous -development-related files for the TDE network module. - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kopete/*.h -%{tde_tdeincludedir}/kopete/ui/*.h -%{tde_tdeincludedir}/rss/*.h -%{tde_libdir}/libkdeinit_kdict.la -%{tde_libdir}/libkdeinit_ksirc.la -%{tde_libdir}/libkopete.la -%{tde_libdir}/libkopete.so -%{tde_libdir}/libkopete_msn_shared.la -%{tde_libdir}/libkopete_msn_shared.so -%{tde_libdir}/libkopete_oscar.la -%{tde_libdir}/libkopete_oscar.so -%{tde_libdir}/libkopete_videodevice.la -%{tde_libdir}/libkopete_videodevice.so -%{tde_libdir}/librss.la -%{tde_libdir}/librss.so - -%post devel -/sbin/ldconfig - -%postun devel -/sbin/ldconfig - -########## - -%package filesharing -#Recommends: perl-suid -Summary: Network filesharing configuration module for Trinity -Group: Applications/Internet - -Obsoletes: tdenetwork-filesharing < %{version}-%{release} -Provides: tdenetwork-filesharing = %{version}-%{release} - -%description filesharing -This package provides a TDE Control Center module to configure -NFS and Samba. - -%files filesharing -%defattr(-,root,root,-) -%{tde_tdelibdir}/fileshare_propsdlgplugin.la -%{tde_tdelibdir}/fileshare_propsdlgplugin.so -%{tde_tdelibdir}/kcm_fileshare.la -%{tde_tdelibdir}/kcm_fileshare.so -%{tde_tdelibdir}/kcm_kcmsambaconf.la -%{tde_tdelibdir}/kcm_kcmsambaconf.so -%{tde_tdeappdir}/fileshare.desktop -%{tde_tdeappdir}/kcmsambaconf.desktop -%{tde_datadir}/icons/hicolor/*/apps/kcmsambaconf.png -%{tde_datadir}/services/fileshare_propsdlgplugin.desktop - -%post filesharing -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun filesharing -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -########## - -%package -n trinity-kdict -Summary: Dictionary client for Trinity -Group: Applications/Internet - -%description -n trinity-kdict -KDict is an advanced TDE graphical client for the DICT Protocol, with full -Unicode support. It enables you to search through dictionary databases for a -word or phrase, then displays suitable definitions. KDict tries to ease -basic as well as advanced queries. - -%files -n trinity-kdict -%defattr(-,root,root,-) -%{tde_bindir}/kdict -%{tde_tdelibdir}/kdict.* -%{tde_tdelibdir}/kdict_panelapplet.* -%{tde_libdir}/libkdeinit_kdict.* -%{tde_tdeappdir}/kdict.desktop -%{tde_datadir}/apps/kdict -%{tde_datadir}/apps/kicker/applets/kdictapplet.desktop -%{tde_datadir}/icons/hicolor/*/apps/kdict.* -%{tde_tdedocdir}/HTML/en/kdict - -%post -n trinity-kdict -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-kdict -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -########## - -%package kfile-plugins -Summary: Torrent metainfo plugin for Trinity -Group: Applications/Internet - -Obsoletes: tdenetwork-kfile-plugins < %{version}-%{release} -Provides: tdenetwork-kfile-plugins = %{version}-%{release} - -%description kfile-plugins -This package provides a metainformation plugin for bittorrent files. -TDE uses kfile-plugins to provide metainfo tab in the files properties -dialog in konqueror and other file-handling applications. - -%files kfile-plugins -%{tde_tdelibdir}/kfile_torrent.la -%{tde_tdelibdir}/kfile_torrent.so -%{tde_datadir}/services/kfile_torrent.desktop - -%post kfile-plugins -update-desktop-database 2> /dev/null || : - -%postun kfile-plugins -update-desktop-database 2> /dev/null || : - -########## - -%package -n trinity-kget -Summary: download manager for Trinity -Group: Applications/Internet - -%description -n trinity-kget -KGet is a a download manager similar to GetRight or Go!zilla. It keeps -all your downloads in one dialog and you can add and remove transfers. -Transfers can be paused, resumed, queued or scheduled. -Dialogs display info about status of transfers - progress, size, speed -and remaining time. Program supports drag & drop from TDE -applications and Netscape. - -%files -n trinity-kget -%defattr(-,root,root,-) -%{tde_bindir}/kget -%{tde_tdelibdir}/khtml_kget.la -%{tde_tdelibdir}/khtml_kget.so -%{tde_tdeappdir}/kget.desktop -%{tde_datadir}/apps/kget -%{tde_datadir}/apps/khtml/kpartplugins/kget_plug_in.desktop -%{tde_datadir}/apps/khtml/kpartplugins/kget_plug_in.rc -%{tde_datadir}/apps/konqueror/servicemenus/kget_download.desktop -%{tde_datadir}/icons/crystalsvg/*/actions/khtml_kget.png -%{tde_datadir}/icons/crystalsvg/*/apps/kget.png -%{tde_datadir}/icons/crystalsvg/*/mimetypes/kget_list.png -%{tde_datadir}/mimelnk/application/x-kgetlist.desktop -%{tde_datadir}/sounds/KGet_Added.ogg -%{tde_datadir}/sounds/KGet_Finished.ogg -%{tde_datadir}/sounds/KGet_Finished_All.ogg -%{tde_datadir}/sounds/KGet_Started.ogg -%{tde_tdedocdir}/HTML/en/kget - -%post -n trinity-kget -for f in crystalsvg ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-kget -for f in crystalsvg ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -########## - -%package -n trinity-knewsticker -Summary: news ticker applet for Trinity -Group: Applications/Internet - -%description -n trinity-knewsticker -This is a news ticker applet for the Trinity panel. It can scroll news from -your favorite news sites, such as lwn.net, /. and freshmeat.net. -To achieve this, KNewsTicker requires the news sites to provide a -RSS feed to newsitems. KNewsTicker already comes with a selection of -good news sources which provide such files. - -%files -n trinity-knewsticker -%defattr(-,root,root,-) -%{tde_bindir}/knewstickerstub -%{tde_tdelibdir}/knewsticker_panelapplet.la -%{tde_tdelibdir}/knewsticker_panelapplet.so -%{tde_tdelibdir}/kntsrcfilepropsdlg.la -%{tde_tdelibdir}/kntsrcfilepropsdlg.so -%{tde_tdeappdir}/knewsticker-standalone.desktop -%{tde_datadir}/applnk/.hidden/knewstickerstub.desktop -%{tde_datadir}/apps/kconf_update/knewsticker.upd -%{tde_datadir}/apps/kconf_update/knt-0.1-0.2.pl -%{tde_datadir}/apps/kicker/applets/knewsticker.desktop -%{tde_datadir}/apps/knewsticker/eventsrc -%{tde_datadir}/icons/hicolor/*/apps/knewsticker.png -%{tde_datadir}/services/kntsrcfilepropsdlg.desktop -%{tde_tdedocdir}/HTML/en/knewsticker - -%post -n trinity-knewsticker -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-knewsticker -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -########## - -%package -n trinity-kopete -Summary: instant messenger for Trinity -Group: Applications/Internet -URL: http://kopete.kde.org - -#Recommends: qca-tls -#Suggests: tdeartwork-emoticons-trinity, khelpcenter-trinity, imagemagick, gnupg, gnomemeeting -BuildRequires: libxml2-devel -BuildRequires: libxslt-devel -BuildRequires: meanwhile-devel -#jabber -BuildRequires: libidn-devel -#jabber/jingle -BuildRequires: expat-devel -BuildRequires: glib2-devel -BuildRequires: ortp-devel -BuildRequires: speex-devel -# jabber/ssl -#{?fedora:Requires(hint): qca-tls} -Requires: jasper - -%description -n trinity-kopete -Kopete is an instant messenger program which can communicate with a variety -of IM systems, such as Yahoo, ICQ, MSN, IRC and Jabber. - -Support for more IM protocols can be added through a plugin system. - -%files -n trinity-kopete -%defattr(-,root,root,-) -# nowlistening support -%exclude %{tde_datadir}/apps/kopete/*nowlisteningchatui* -%exclude %{tde_datadir}/apps/kopete/*nowlisteningui* -%exclude %{tde_datadir}/config.kcfg/nowlisteningconfig.kcfg -%exclude %{tde_datadir}/services/kconfiguredialog/*nowlistening* -%exclude %{tde_datadir}/services/*nowlistening* -%exclude %{tde_tdelibdir}/*nowlistening* -# Main kopete package -%{tde_bindir}/kopete -%{tde_bindir}/kopete_latexconvert.sh -%{tde_libdir}/kconf_update_bin/kopete_account_kconf_update -%{tde_libdir}/kconf_update_bin/kopete_nameTracking_kconf_update -%{tde_libdir}/kconf_update_bin/kopete_pluginloader2_kconf_update -%{tde_tdelibdir}/kcm_kopete_*.so -%{tde_tdelibdir}/kcm_kopete_*.la -%{tde_tdelibdir}/kio_jabberdisco.la -%{tde_tdelibdir}/kio_jabberdisco.so -%{tde_tdelibdir}/kopete_*.la -%{tde_tdelibdir}/kopete_*.so -%{tde_tdelibdir}/libkrichtexteditpart.la -%{tde_tdelibdir}/libkrichtexteditpart.so -%{tde_libdir}/libkopete_msn_shared.so.* -%{tde_libdir}/libkopete_oscar.so.* -%{tde_libdir}/libkopete.so.* -%{tde_libdir}/libkopete_videodevice.so.* -%{tde_tdeappdir}/kopete.desktop -%{tde_datadir}/apps/kconf_update/kopete-* -%{tde_datadir}/apps/kopete -%{tde_datadir}/apps/kopete_*/*.rc -%{tde_datadir}/apps/kopeterichtexteditpart/kopeterichtexteditpartfull.rc -%{tde_datadir}/config.kcfg/historyconfig.kcfg -%{tde_datadir}/config.kcfg/kopeteidentityconfigpreferences.kcfg -%{tde_datadir}/config.kcfg/kopete.kcfg -%{tde_datadir}/config.kcfg/latexconfig.kcfg -%{tde_datadir}/icons/crystalsvg/*/actions/voicecall.png -%{tde_datadir}/icons/crystalsvg/*/actions/webcamreceive.png -%{tde_datadir}/icons/crystalsvg/*/actions/webcamsend.png -%{tde_datadir}/icons/crystalsvg/*/actions/account_offline_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/add_user.png -%{tde_datadir}/icons/crystalsvg/*/actions/contact_away_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/contact_busy_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/contact_food_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/contact_invisible_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/contact_phone_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/contact_xa_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/delete_user.png -%{tde_datadir}/icons/crystalsvg/*/actions/edit_user.png -%{tde_datadir}/icons/crystalsvg/*/actions/emoticon.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_away.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_chatty.png -#%{tde_datadir}/icons/crystalsvg/*/actions/jabber_connecting.mng -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_group.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_invisible.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_na.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_offline.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_online.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_original.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_raw.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_serv_off.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_serv_on.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_xa.png -%{tde_datadir}/icons/crystalsvg/*/actions/kopeteavailable.png -%{tde_datadir}/icons/crystalsvg/*/actions/kopeteaway.png -%{tde_datadir}/icons/crystalsvg/*/actions/kopeteeditstatusmessage.png -%{tde_datadir}/icons/crystalsvg/*/actions/kopetestatusmessage.png -%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_away.png -%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_offline.png -%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_online.png -%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_unknown.png -%{tde_datadir}/icons/crystalsvg/*/actions/newmsg.png -%{tde_datadir}/icons/crystalsvg/*/actions/search_user.png -%{tde_datadir}/icons/crystalsvg/*/actions/show_offliners.png -%{tde_datadir}/icons/crystalsvg/*/actions/status_unknown_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/status_unknown.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_aim.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_gadu.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_http-ws.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_icq.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_irc.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_msn.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_qq.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_smtp.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_tlen.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_yahoo.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_protocol.png -%{tde_datadir}/icons/crystalsvg/*/apps/kopete_all_away.png -%{tde_datadir}/icons/crystalsvg/*/apps/kopete_offline.png -%{tde_datadir}/icons/crystalsvg/*/apps/kopete_some_away.png -%{tde_datadir}/icons/crystalsvg/*/apps/kopete_some_online.png -%{tde_datadir}/icons/crystalsvg/*/mimetypes/kopete_emoticons.png -%{tde_datadir}/icons/crystalsvg/scalable/actions/account_offline_overlay.svgz -%{tde_datadir}/icons/hicolor/*/apps/kopete.png -%{tde_datadir}/icons/hicolor/*/actions/emoticon.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_away.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_chatty.png -#%{tde_datadir}/icons/hicolor/*/actions/jabber_connecting.mng -%{tde_datadir}/icons/hicolor/*/actions/jabber_group.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_invisible.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_na.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_offline.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_online.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_original.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_raw.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_serv_off.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_serv_on.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_xa.png -%{tde_datadir}/icons/hicolor/*/actions/kopeteavailable.png -%{tde_datadir}/icons/hicolor/*/actions/kopeteaway.png -%{tde_datadir}/icons/hicolor/*/actions/newmsg.png -%{tde_datadir}/icons/hicolor/*/actions/status_unknown_overlay.png -%{tde_datadir}/icons/hicolor/*/actions/status_unknown.png -%{tde_datadir}/icons/hicolor/*/apps/jabber_protocol.png -%{tde_datadir}/icons/hicolor/scalable/apps/kopete2.svgz -%{tde_datadir}/mimelnk/application/x-icq.desktop -%{tde_datadir}/mimelnk/application/x-kopete-emoticons.desktop -%{tde_datadir}/services/aim.protocol -%{tde_datadir}/services/chatwindow.desktop -%{tde_datadir}/services/emailwindow.desktop -%{tde_datadir}/services/jabberdisco.protocol -%{tde_datadir}/services/kconfiguredialog/kopete_*.desktop -%{tde_datadir}/services/kopete_*.desktop -%{tde_datadir}/icons/crystalsvg/16x16/apps/jabber_gateway_sms.png -%{tde_datadir}/servicetypes/kopete*.desktop -%{tde_datadir}/sounds/Kopete_*.ogg -%{tde_tdedocdir}/HTML/en/kopete -# jingle support for kopete -%{tde_bindir}/relayserver -%{tde_bindir}/stunserver -# winpopup support for kopete -%{tde_bindir}/winpopup-install.sh -%{tde_bindir}/winpopup-send.sh -# meanwhile protocol support for kopete -%{tde_tdelibdir}/new_target0.la -%{tde_tdelibdir}/new_target0.so -# motionaway plugin for kopete -%{tde_datadir}/config.kcfg/motionawayconfig.kcfg -# smpp plugin for kopete -%{tde_datadir}/config.kcfg/smpppdcs.kcfg - - -%post -n trinity-kopete -for f in crystalsvg hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : -/sbin/ldconfig - -%postun -n trinity-kopete -for f in crystalsvg hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : -/sbin/ldconfig - -########## - -%package -n trinity-kopete-nowlistening -Summary: Nowlistening (xmms) plugin for Kopete. -Group: Applications/Internet - -%description -n trinity-kopete-nowlistening -Kopete includes the "Now Listening" plug-in that can report what music you -are currently listening to, in a number of different players, including -noatun, kscd, juk, kaffeine and amarok. - -%files -n trinity-kopete-nowlistening -%defattr(-,root,root,-) -%{tde_datadir}/apps/kopete/*nowlisteningchatui* -%{tde_datadir}/apps/kopete/*nowlisteningui* -%{tde_datadir}/config.kcfg/nowlisteningconfig.kcfg -%{tde_datadir}/services/kconfiguredialog/*nowlistening* -%{tde_datadir}/services/*nowlistening* -%{tde_tdelibdir}/*nowlistening* - -########## - -%package -n trinity-kpf -Summary: Public fileserver for Trinity -Group: Applications/Internet - -%description -n trinity-kpf -kpf provides simple file sharing using HTTP. kpf is strictly a public -fileserver, which means that there are no access restrictions to shared -files. Whatever you select for sharing is available to anyone. kpf is -designed to be used for sharing files with friends. - -%files -n trinity-kpf -%defattr(-,root,root,-) -%{tde_tdelibdir}/kpf* -%{tde_datadir}/apps/kicker/applets/kpfapplet.desktop -%{tde_datadir}/icons/crystalsvg/*/apps/kpf.* -%{tde_datadir}/services/kpfpropertiesdialogplugin.desktop -%{tde_tdedocdir}/HTML/en/kpf - -%post -n trinity-kpf -for f in crystalsvg ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-kpf -for f in crystalsvg ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -########## - -%package -n trinity-kppp -Summary: modem dialer and ppp frontend for Trinity -Group: Applications/Internet -Requires: ppp -%if 0%{?rhel} || 0%{?fedora} -Requires: usermode-gtk -%else -Requires: usermode -%endif - -%description -n trinity-kppp -KPPP is a dialer and front end for pppd. It allows for interactive -script generation and network setup. It will automate the dialing in -process to your ISP while letting you conveniently monitor the entire -process. - -Once connected KPPP will provide a rich set of statistics and keep -track of the time spent online for you. - -%files -n trinity-kppp -%defattr(-,root,root,-) -%config(noreplace) /etc/security/console.apps/kppp3 -%config(noreplace) /etc/pam.d/kppp3 -%{tde_bindir}/kppp3 -%{tde_bindir}/kppplogview -%{_sbindir}/kppp3 -%{tde_sbindir}/kppp3 -%{tde_tdeappdir}/Kppp.desktop -%{tde_tdeappdir}/kppplogview.desktop -%{tde_datadir}/apps/checkrules -%{tde_datadir}/apps/kppp -%{tde_datadir}/icons/hicolor/*/apps/kppp.png -%{tde_tdedocdir}/HTML/en/kppp - -%post -n trinity-kppp -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-kppp -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -########## - -%package -n trinity-krdc -Summary: Remote Desktop Connection for Trinity -Group: Applications/Internet -Requires: rdesktop - -%description -n trinity-krdc -krdc is an TDE graphical client for the rfb protocol, used by VNC, -and if rdesktop is installed, krdc can connect to Windows Terminal -Servers using RDP. - -%files -n trinity-krdc -%defattr(-,root,root,-) -%{tde_bindir}/krdc -%{tde_tdeappdir}/krdc.desktop -%{tde_datadir}/apps/konqueror/servicemenus/smb2rdc.desktop -%{tde_datadir}/apps/krdc -%{tde_datadir}/icons/crystalsvg/*/apps/krdc.png -%{tde_datadir}/services/rdp.protocol -%{tde_datadir}/services/vnc.protocol -%{tde_tdedocdir}/HTML/en/krdc - -%post -n trinity-krdc -for f in crystalsvg ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-krdc -for f in crystalsvg ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -########## - -%package -n trinity-krfb -Summary: Desktop Sharing for Trinity -Group: Applications/Internet - -%description -n trinity-krfb -Desktop Sharing (krfb) is a server application that allows you to share -your current session with a user on another machine, who can use a -VNC client like krdc to view or even control the desktop. It doesn't -require you to start a new X session - it can share the current session. -This makes it very useful when you want someone to help you perform a -task. - -%files -n trinity-krfb -%defattr(-,root,root,-) -%{tde_bindir}/krfb -%{tde_bindir}/krfb_httpd -%{tde_tdelibdir}/kcm_krfb.la -%{tde_tdelibdir}/kcm_krfb.so -%{tde_tdelibdir}/kded_kinetd.la -%{tde_tdelibdir}/kded_kinetd.so -%{tde_tdeappdir}/kcmkrfb.desktop -%{tde_tdeappdir}/krfb.desktop -%{tde_datadir}/apps/kinetd/eventsrc -%{tde_datadir}/apps/krfb -%{tde_datadir}/icons/crystalsvg/*/apps/krfb.png -%{tde_datadir}/icons/locolor/*/apps/krfb.png -%{tde_datadir}/services/kded/kinetd.desktop -%{tde_datadir}/services/kinetd_krfb.desktop -%{tde_datadir}/services/kinetd_krfb_httpd.desktop -%{tde_datadir}/servicetypes/kinetdmodule.desktop -%{tde_tdedocdir}/HTML/en/krfb - -%post -n trinity-krfb -for f in crystalsvg locolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-krfb -for f in crystalsvg locolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -########## - -%package -n trinity-ksirc -Summary: IRC client for Trinity -Group: Applications/Internet - -%description -n trinity-ksirc -KSirc is an IRC chat client for KDE. It supports scripting with Perl and has a -lot of compatibility with mIRC for general use. - -If you want to connect to an IRC server via SSL, you will need to install the -recommended package libio-socket-ssl-perl. - -%files -n trinity-ksirc -%defattr(-,root,root,-) -%{tde_bindir}/dsirc -%{tde_bindir}/ksirc -%{tde_libdir}/libkdeinit_ksirc.* -%{tde_tdelibdir}/ksirc.* -%{tde_tdeappdir}/ksirc.desktop -%{tde_datadir}/apps/ksirc/ -%config(noreplace) %{tde_datadir}/config/ksircrc -%{tde_datadir}/icons/hicolor/*/apps/ksirc.* -%{tde_tdedocdir}/HTML/??/ksirc/ - -%post -n trinity-ksirc -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : -/sbin/ldconfig - - -%postun -n trinity-ksirc -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : -/sbin/ldconfig - -########## - -%package -n trinity-ktalkd -Summary: Talk daemon for Trinity -Group: Applications/Internet - -%description -n trinity-ktalkd -KTalkd is an enhanced talk daemon - a program to handle incoming talk -requests, announce them and allow you to respond to it using a talk -client. Note that KTalkd is designed to run on a single-user workstation, -and shouldn't be run on a multi-user machine. - -%files -n trinity-ktalkd -%defattr(-,root,root,-) -%{tde_bindir}/ktalkd* -%{tde_bindir}/mail.local -%{tde_tdelibdir}/kcm_ktalkd.* -%{tde_tdeappdir}/kcmktalkd.desktop -%config(noreplace) %{tde_datadir}/config/ktalkdrc -%{tde_datadir}/icons/crystalsvg/*/apps/ktalkd.* -%{tde_datadir}/sounds/ktalkd.wav -%config(noreplace) %{_sysconfdir}/xinetd.d/ktalk -%{tde_tdedocdir}/HTML/en/kcontrol/kcmtalkd -%{tde_tdedocdir}/HTML/en/ktalkd - -%post -n trinity-ktalkd -for f in crystalsvg ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-ktalkd -for f in crystalsvg ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -########## - -%if "%{?_with_wifi:1}" == "1" -%package -n trinity-kwifimanager -#Depends: ${shlibs:Depends}, wireless-tools -#Suggests: khelpcenter-trinity -Summary: Wireless lan manager for Trinity -Group: Applications/Internet - -%description -n trinity-kwifimanager -KWiFiManager suite is a set of tools which allows you to manage your -wireless LAN connection under the K Desktop Environment. It provides -information about your current connection. KWiFiManager supports every -wavelan card that uses the wireless extensions interface. - -%files -n trinity-kwifimanager -%defattr(-,root,root,-) -%{tde_bindir}/kwifimanager -%{tde_tdelibdir}/kcm_wifi.* -%{tde_tdelibdir}/libkwireless.la -%{tde_tdelibdir}/libkwireless.so -%{tde_tdeappdir}/kcmwifi.desktop -%{tde_tdeappdir}/kwifimanager.desktop -%{tde_datadir}/apps/kicker/applets/kwireless.desktop -%{tde_datadir}/apps/kwifimanager -%{tde_datadir}/icons/hicolor/*/apps/kwifimanager.png -%{tde_datadir}/icons/hicolor/*/apps/kwifimanager.svgz -%doc %{tde_tdedocdir}/HTML/en/kwifimanager - -%post -n trinity-kwifimanager -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-kwifimanager -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : -%endif - -########## - -%package -n trinity-librss -Summary: RSS library for Trinity -Group: Environment/Libraries - -%description -n trinity-librss -This is the runtime package for programs that use the TDE RSS library. -End users should not need to install this, it should get installed -automatically when needed. - -%files -n trinity-librss -%defattr(-,root,root,-) -%{tde_libdir}/librss.so.* - -%post -n trinity-librss -/sbin/ldconfig - -%postun -n trinity-librss -/sbin/ldconfig - -########## - -%package -n trinity-lisa -Summary: LAN information server for Trinity -Group: Applications/Internet -Requires(preun): chkconfig -Requires(post): chkconfig - -%description -n trinity-lisa -LISa is intended to provide KDE with a kind of "network neighborhood" -but relying only on the TCP/IP protocol. - -%files -n trinity-lisa -%defattr(-,root,root,-) -%config(noreplace) %{_sysconfdir}/lisarc* -%config(noreplace) %{_initrddir}/lisa -%{tde_tdelibdir}/kcm_lanbrowser.la -%{tde_tdelibdir}/kcm_lanbrowser.so -%{tde_tdelibdir}/kio_lan.la -%{tde_tdelibdir}/kio_lan.so -%{tde_datadir}/applnk/.hidden/kcmkiolan.desktop -%{tde_datadir}/applnk/.hidden/kcmlisa.desktop -%{tde_datadir}/applnk/.hidden/kcmreslisa.desktop -%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/lisa.desktop -%{tde_datadir}/apps/konqueror/dirtree/remote/lan.desktop -%{tde_datadir}/apps/lisa/README -%{tde_datadir}/apps/remoteview/lan.desktop -%{tde_tdedocdir}/HTML/en/kcontrol/lanbrowser/common -%{tde_tdedocdir}/HTML/en/kcontrol/lanbrowser/index.cache.bz2 -%{tde_tdedocdir}/HTML/en/kcontrol/lanbrowser/index.docbook -%{tde_tdedocdir}/HTML/en/lisa -%{tde_datadir}/services/lan.protocol -%{tde_datadir}/services/rlan.protocol -%{tde_bindir}/lisa -%{tde_bindir}/reslisa - -%post -n trinity-lisa -/sbin/chkconfig --add lisa ||: -update-desktop-database 2> /dev/null || : - -%postun -n trinity-lisa -if [ $1 -eq 0 ]; then - /sbin/chkconfig --del lisa ||: - /sbin/service lisa stop > /dev/null 2>&1 ||: -fi -update-desktop-database 2> /dev/null || : - -########## - -%package -n trinity-kdnssd -#Recommends: avahi-daemon -#Suggests: avahi-autoipd | zeroconf -Summary: Zeroconf support for KDE -Group: Applications/Internet - -%description -n trinity-kdnssd -A kioslave and kded module that provide Zeroconf support. Try -"zeroconf:/" in Konqueror. - -%files -n trinity-kdnssd -%defattr(-,root,root,-) -%{tde_datadir}/services/zeroconf.protocol -%{tde_datadir}/services/invitation.protocol -%{tde_datadir}/services/kded/dnssdwatcher.desktop -%{tde_datadir}/apps/remoteview/zeroconf.desktop -%{tde_datadir}/apps/zeroconf/_http._tcp -%{tde_datadir}/apps/zeroconf/_ftp._tcp -%{tde_datadir}/apps/zeroconf/_ldap._tcp -%{tde_datadir}/apps/zeroconf/_webdav._tcp -%{tde_datadir}/apps/zeroconf/_nfs._tcp -%{tde_datadir}/apps/zeroconf/_ssh._tcp -%{tde_datadir}/apps/zeroconf/_rfb._tcp -%{tde_tdelibdir}/kio_zeroconf.so -%{tde_tdelibdir}/kio_zeroconf.la -%{tde_tdelibdir}/kded_dnssdwatcher.so -%{tde_tdelibdir}/kded_dnssdwatcher.la - -%post -n trinity-kdnssd -update-desktop-database 2> /dev/null || : - -%postun -n trinity-kdnssd -update-desktop-database 2> /dev/null || : - -########## - -%prep -%setup -q -n kdenetwork - -%patch1 -p1 -b .ldflags -%patch3 -p1 -b .kppp -%patch4 -p1 -b .resolv -%patch6 -p1 -b .krfb_httpd -%patch10 -p1 -%patch11 -p1 -%patch12 -p1 -%patch13 -p1 -%patch14 -p4 -%patch15 -p1 -%patch17 -p1 -%patch18 -p1 -%patch19 -p1 -%patch20 -p1 -%patch21 -p1 - - -# TDE 3.5.13: missing 'dummy.cpp' in MSN protocol -%__install -m 644 %{SOURCE10} kopete/protocols/msn/dummy.cpp - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" -export LD_LIBRARY_PATH="%{tde_libdir}" - -%if 0%{?rhel} || 0%{?fedora} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DWITH_JINGLE=ON \ - -DWITH_SPEEX=ON \ - -DWITH_WEBCAM=ON \ - -DWITH_GSM=OFF \ - -DWITH_ARTS=ON \ - -DBUILD_ALL=ON \ - -DBUILD_KOPETE_PROTOCOL_ALL=ON \ - -DBUILD_KOPETE_PLUGIN_ALL=ON \ - .. - -# Tdenetwork is not smp safe ! -%__make VERBOSE=1 - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && %{__rm} -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - -# Show only in KDE, FIXME, need to re-evaluate these -- Rex -for i in fileshare kcmkrfb kcmktalkd kcmwifi krfb kppp kppplogview \ - kwifimanager kget knewsticker ksirc kdict ; do - if [ -f %{buildroot}%{tde_datadir}/applications/kde/$i.desktop ] ; then - echo "OnlyShowIn=KDE;" >> %{buildroot}%{tde_datadir}/applications/kde/$i.desktop - fi -done - -# Run kppp through consolehelper, and rename it to 'kppp3' -%__install -p -m644 -D %{SOURCE1} %{buildroot}/etc/pam.d/kppp3 -%__mkdir_p %{buildroot}%{tde_sbindir} %{buildroot}%{_sbindir} -%__mv %{buildroot}%{tde_bindir}/kppp %{buildroot}%{tde_sbindir}/kppp3 -%__ln_s %{_bindir}/consolehelper %{buildroot}%{tde_bindir}/kppp3 -%if "%{tde_prefix}" != "/usr" -%__ln_s %{tde_sbindir}/kppp3 %{?buildroot}%{_sbindir}/kppp3 -%endif -%__mkdir_p %{buildroot}%{_sysconfdir}/security/console.apps -cat > %{buildroot}%{_sysconfdir}/security/console.apps/kppp3 < - 3.5.13-6 -- Renames to 'trinity-tdenetwork' -- Fix html special chars in kopete nowlistening plugin [Bug #944] [Commit #0a2892ed] -- Fix a fatal error message [Commit #5c988de1] -- Fix a parallel build bug [Commit #35c41f35] - -* Sat Jun 16 2012 Francois Andriot - 3.5.13-5 -- Split single package in multiple packages -- Removes useless 'Provides' -- Updates 'BuildRequires' -- Fix linear alphabet string errors [Commit #3516f9bc] -- Remove "More Applications" from TDE menu. [Bug #653] [Commit #f86a2538] -- Improve Kaffeine support in Kopete now listening plugin [Commit #f6708531] - -* Sun Nov 25 2011 Francois Andriot - 3.5.13-4 -- Enable Kopete protocols & plugins compilation -- Enables all features (openslp, jingle, ...) on all distros -- Moves 'irc.protocol' file to prevent conflict with other packages - -* Thu Nov 17 2011 Francois Andriot - 3.5.13-3 -- Fix symbolic link to 'consolehelper' - -* Sat Nov 12 2011 Francois Andriot - 3.5.13-2 -- Removes conflict on file 'lisarc' for RHEL 5 - -* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 -- Initial release for RHEL 6, RHEL 5 and Fedora 15 - -* Tue Oct 25 2011 Francois Andriot - 3.5.13-0 -- Import to GIT - diff --git a/redhat/tdenetwork/trinity-tdenetwork-14.0.0.spec b/redhat/tdenetwork/trinity-tdenetwork-14.0.0.spec deleted file mode 100644 index debd146aa..000000000 --- a/redhat/tdenetwork/trinity-tdenetwork-14.0.0.spec +++ /dev/null @@ -1,1197 +0,0 @@ -# Avoids relinking, which breaks consolehelper -%define dont_relink 1 - -# If TDE is built iwn a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_sbindir %{tde_prefix}/sbin - -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -# Fedora review: http://bugzilla.redhat.com/195486 - -## Conditional build: -# RHEL6: xmms is outdated ! -#define _with_xmms --with-xmms -%ifnarch s390 s390x -%define _with_wifi --with-wifi -%endif - -Name: trinity-tdenetwork -Version: 14.0.0 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} -Summary: Trinity Desktop Environment - Network Applications - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -License: GPLv2 -Group: Applications/Internet - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz -Source1: kppp.pamd -Source2: ktalk -Source4: lisarc -Source5: lisa.redhat - -# RedHat/Fedora legacy patches -Patch4: kdenetwork-3.2.3-resolv.patch -# include more/proper ppp headers -Patch6: kdenetwork-3.5.9-krfb_httpd.patch - -# [kdenetwork] Missing LDFLAGS cause FTBFS -Patch1: kdenetwork-3.5.13-missing_ldflags.patch - -# RHEL4 specific -Patch201: kdenetwork-3.5.13.1-fix_rhel4_libraries.patch -Patch202: tdenetwork-3.5.13.2-fix_conflicting_definitions.patch - -BuildRequires: cmake >= 2.8 -BuildRequires: gettext -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} -BuildRequires: coreutils -BuildRequires: openssl-devel -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: sqlite3-devel -%else -BuildRequires: sqlite-devel -%endif -BuildRequires: gnutls-devel -BuildRequires: libxtst-devel - -# GADU support -%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -%define with_gadu 1 -BuildRequires: libgadu-devel -%endif - -%if 0%{?fedora} >= 5 || 0%{?rhel} >= 5 -BuildRequires: libXmu-devel -BuildRequires: libXScrnSaver-devel -BuildRequires: libXtst-devel -BuildRequires: libXxf86vm-devel -%endif - -# Wifi support -%if "%{?_with_wifi:1}" == "1" -%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5 -BuildRequires: wireless-tools-devel -%endif -%if 0%{?mgaversion} == 2 || 0%{?mdkversion} -BuildRequires: %{_lib}iw29-devel -%endif -%if 0%{?rhel} == 5 -BuildRequires: wireless-tools -%endif -%if 0%{?suse_version} || 0%{?mgaversion} >= 3 -BuildRequires: libiw-devel -%endif -%endif - -# OpenSLP support -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -%define with_openslp 1 -BuildRequires: openslp-devel -%endif - -%ifarch %{ix86} -# BR: %{tde_includedir}/valgrind/valgrind.h -BuildRequires: valgrind -%endif - -%{?_with_xmms:BuildRequires: xmms-devel} - -# V4L support -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?suse_version} -BuildRequires: libv4l-devel -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}v4l-devel -%endif - -# XML support -BuildRequires: libxml2-devel -BuildRequires: libxslt-devel - -#jabber -BuildRequires: libidn-devel -#jabber/jingle -%if 0%{?suse_version} -BuildRequires: libexpat-devel -%else -BuildRequires: expat-devel -%endif -BuildRequires: glib2-devel -BuildRequires: speex-devel -# jabber/ssl -#{?fedora:Requires(hint): qca-tls} -Requires: jasper - -# MEANWHILE support -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?suse_version} -%define with_meanwhile 1 -BuildRequires: meanwhile-devel -%endif - -# ORTP support -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 -BuildRequires: ortp-devel -%endif - -# SPEEX support -%if 0%{?rhel} >= 5 || 0%{?fedora} >= 15 || 0%{?suse_version} || 0%{?mdkversion} || 0%{?mgaversion} -%define with_speex 1 -BuildRequires: speex-devel -%endif - -# CONSOLEHELPER (usermode) support -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_consolehelper 1 - -# Avoids relinking, which breaks consolehelper -%define dont_relink 1 -%endif - -Obsoletes: trinity-kdenetwork < %{version}-%{release} -Provides: trinity-kdenetwork = %{version}-%{release} -Obsoletes: trinity-kdenetwork-libs < %{version}-%{release} -Provides: trinity-kdenetwork-libs = %{version}-%{release} -Obsoletes: trinity-kdenetwork-extras < %{version}-%{release} -Provides: trinity-kdenetwork-extras = %{version}-%{release} -Obsoletes: tdenetwork < %{version}-%{release} -Provides: tdenetwork = %{version}-%{release} - -Requires: trinity-dcoprss = %{version}-%{release} -Requires: %{name}-filesharing = %{version}-%{release} -Requires: trinity-kdict = %{version}-%{release} -Requires: %{name}-tdefile-plugins = %{version}-%{release} -Requires: trinity-kget = %{version}-%{release} -Requires: trinity-knewsticker = %{version}-%{release} -Requires: trinity-kopete = %{version}-%{release} -Requires: trinity-kopete-nowlistening = %{version}-%{release} -Requires: trinity-kpf = %{version}-%{release} -Requires: trinity-kppp = %{version}-%{release} -Requires: trinity-krdc = %{version}-%{release} -Requires: trinity-krfb = %{version}-%{release} -Requires: trinity-ksirc = %{version}-%{release} -Requires: trinity-ktalkd = %{version}-%{release} -Requires: trinity-kwifimanager = %{version}-%{release} -Requires: trinity-librss = %{version}-%{release} -Requires: trinity-lisa = %{version}-%{release} - -%description -This metapackage includes a collection of network and networking related -applications provided with the official release of Trinity. - -Networking applications, including: -* dcoprss: RSS utilities for Trinity -* filesharing: Network filesharing configuration module for Trinity -* kdict: Dictionary client for Trinity -* tdefile-plugins: Torrent metainfo plugin for Trinity -* kget: downloader manager -* knewsticker: RDF newsticker applet -* kopete: chat client -* kopete-nowlistening: (xmms) plugin for Kopete. -* kpf: Public fileserver for Trinity -* kppp: dialer and front end for pppd -* krdc: a client for Desktop Sharing and other VNC servers -* krfb: Desktop Sharing server, allow others to access your desktop via VNC -* ksirc: IRC client for Trinity -* ktalkd: Talk daemon for Trinity -* kwifimanager: Wireless lan manager for Trinity -* librss: RSS library for Trinity -* lisa: lan information server - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING README - - -########## - -%package -n trinity-dcoprss -Summary: RSS utilities for Trinity -Group: Applications/Internet - -%description -n trinity-dcoprss -dcoprss is a RSS to DCOP bridge, allowing all -DCOP aware applications to access RSS news feeds. There is also -a few sample utilities provided. -RSS is a standard for publishing news headlines. -DCOP is the TDE interprocess communication protocol. - -%files -n trinity-dcoprss -%defattr(-,root,root,-) -%{tde_bindir}/feedbrowser -%{tde_bindir}/rssclient -%{tde_bindir}/rssservice -%{tde_datadir}/services/rssservice.desktop - -%post -n trinity-dcoprss -update-desktop-database 2> /dev/null || : - -%postun -n trinity-dcoprss -update-desktop-database 2> /dev/null || : - -########## - -%package devel -Summary: Development files for the Trinity network module -Group: Development/Libraries -Requires: trinity-kdict = %{version}-%{release} -Requires: trinity-kopete = %{version}-%{release} -Requires: trinity-ksirc = %{version}-%{release} -Requires: trinity-librss = %{version}-%{release} -Requires: trinity-kdelibs-devel - -Obsoletes: trinity-kdenetwork-devel < %{version}-%{release} -Provides: trinity-kdenetwork-devel = %{version}-%{release} -Obsoletes: tdenetwork-devel < %{version}-%{release} -Provides: tdenetwork-devel = %{version}-%{release} - -%description devel -This is the development package which contains the headers for the KDE RSS -library as well as the Kopete chat client, as well as miscellaneous -development-related files for the TDE network module. - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kopete/*.h -%{tde_tdeincludedir}/kopete/ui/*.h -%{tde_tdeincludedir}/rss/*.h -%{tde_libdir}/libtdeinit_kdict.la -%{tde_libdir}/libtdeinit_ksirc.la -%{tde_libdir}/libkopete.la -%{tde_libdir}/libkopete.so -%{tde_libdir}/libkopete_msn_shared.la -%{tde_libdir}/libkopete_msn_shared.so -%{tde_libdir}/libkopete_oscar.la -%{tde_libdir}/libkopete_oscar.so -%{tde_libdir}/libkopete_videodevice.la -%{tde_libdir}/libkopete_videodevice.so -%{tde_libdir}/librss.la -%{tde_libdir}/librss.so - -%post devel -/sbin/ldconfig - -%postun devel -/sbin/ldconfig - -########## - -%package filesharing -#Recommends: perl-suid -Summary: Network filesharing configuration module for Trinity -Group: Applications/Internet - -Obsoletes: tdenetwork-filesharing < %{version}-%{release} -Provides: tdenetwork-filesharing = %{version}-%{release} - -%description filesharing -This package provides a TDE Control Center module to configure -NFS and Samba. - -%files filesharing -%defattr(-,root,root,-) -%{tde_tdelibdir}/fileshare_propsdlgplugin.la -%{tde_tdelibdir}/fileshare_propsdlgplugin.so -%{tde_tdelibdir}/kcm_fileshare.la -%{tde_tdelibdir}/kcm_fileshare.so -%{tde_tdelibdir}/kcm_kcmsambaconf.la -%{tde_tdelibdir}/kcm_kcmsambaconf.so -%{tde_tdeappdir}/fileshare.desktop -%{tde_tdeappdir}/kcmsambaconf.desktop -%{tde_datadir}/icons/hicolor/*/apps/kcmsambaconf.png -%{tde_datadir}/services/fileshare_propsdlgplugin.desktop - -%post filesharing -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun filesharing -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -########## - -%package -n trinity-kdict -Summary: Dictionary client for Trinity -Group: Applications/Internet - -%description -n trinity-kdict -KDict is an advanced TDE graphical client for the DICT Protocol, with full -Unicode support. It enables you to search through dictionary databases for a -word or phrase, then displays suitable definitions. KDict tries to ease -basic as well as advanced queries. - -%files -n trinity-kdict -%defattr(-,root,root,-) -%{tde_bindir}/kdict -%{tde_tdelibdir}/kdict.* -%{tde_tdelibdir}/kdict_panelapplet.* -%{tde_libdir}/libtdeinit_kdict.* -%{tde_tdeappdir}/kdict.desktop -%{tde_datadir}/apps/kdict -%{tde_datadir}/apps/kicker/applets/kdictapplet.desktop -%{tde_datadir}/icons/hicolor/*/apps/kdict.* -%{tde_tdedocdir}/HTML/en/kdict - -%post -n trinity-kdict -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-kdict -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -########## - -%package tdefile-plugins -Summary: Torrent metainfo plugin for Trinity -Group: Applications/Internet - -Obsoletes: tdenetwork-kfile-plugins < %{version}-%{release} -Provides: tdenetwork-kfile-plugins = %{version}-%{release} -Obsoletes: trinity-tdenetwork-kfile-plugins < %{version}-%{release} -Provides: trinity-tdenetwork-kfile-plugins = %{version}-%{release} - -%description tdefile-plugins -This package provides a metainformation plugin for bittorrent files. -TDE uses tdefile-plugins to provide metainfo tab in the files properties -dialog in konqueror and other file-handling applications. - -%files tdefile-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/tdefile_torrent.la -%{tde_tdelibdir}/tdefile_torrent.so -%{tde_datadir}/services/tdefile_torrent.desktop - -%post tdefile-plugins -update-desktop-database 2> /dev/null || : - -%postun tdefile-plugins -update-desktop-database 2> /dev/null || : - -########## - -%package -n trinity-kget -Summary: download manager for Trinity -Group: Applications/Internet - -%description -n trinity-kget -KGet is a a download manager similar to GetRight or Go!zilla. It keeps -all your downloads in one dialog and you can add and remove transfers. -Transfers can be paused, resumed, queued or scheduled. -Dialogs display info about status of transfers - progress, size, speed -and remaining time. Program supports drag & drop from TDE -applications and Netscape. - -%files -n trinity-kget -%defattr(-,root,root,-) -%{tde_bindir}/kget -%{tde_tdelibdir}/tdehtml_kget.la -%{tde_tdelibdir}/tdehtml_kget.so -%{tde_tdeappdir}/kget.desktop -%{tde_datadir}/apps/kget -%{tde_datadir}/apps/tdehtml/kpartplugins/kget_plug_in.desktop -%{tde_datadir}/apps/tdehtml/kpartplugins/kget_plug_in.rc -%{tde_datadir}/apps/konqueror/servicemenus/kget_download.desktop -%{tde_datadir}/icons/crystalsvg/*/actions/tdehtml_kget.png -%{tde_datadir}/icons/crystalsvg/*/apps/kget.png -%{tde_datadir}/icons/crystalsvg/*/mimetypes/kget_list.png -%{tde_datadir}/mimelnk/application/x-kgetlist.desktop -%{tde_datadir}/sounds/KGet_Added.ogg -%{tde_datadir}/sounds/KGet_Finished.ogg -%{tde_datadir}/sounds/KGet_Finished_All.ogg -%{tde_datadir}/sounds/KGet_Started.ogg -%{tde_tdedocdir}/HTML/en/kget - -%post -n trinity-kget -for f in crystalsvg ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-kget -for f in crystalsvg ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -########## - -%package -n trinity-knewsticker -Summary: news ticker applet for Trinity -Group: Applications/Internet - -%description -n trinity-knewsticker -This is a news ticker applet for the Trinity panel. It can scroll news from -your favorite news sites, such as lwn.net, /. and freshmeat.net. -To achieve this, KNewsTicker requires the news sites to provide a -RSS feed to newsitems. KNewsTicker already comes with a selection of -good news sources which provide such files. - -%files -n trinity-knewsticker -%defattr(-,root,root,-) -%{tde_bindir}/knewstickerstub -%{tde_tdelibdir}/knewsticker_panelapplet.la -%{tde_tdelibdir}/knewsticker_panelapplet.so -%{tde_tdelibdir}/libkntsrcfilepropsdlg.la -%{tde_tdelibdir}/libkntsrcfilepropsdlg.so -%{tde_tdeappdir}/knewsticker-standalone.desktop -%{tde_datadir}/applnk/.hidden/knewstickerstub.desktop -%{tde_datadir}/apps/tdeconf_update/knewsticker.upd -%{tde_datadir}/apps/tdeconf_update/knt-0.1-0.2.pl -%{tde_datadir}/apps/kicker/applets/knewsticker.desktop -%{tde_datadir}/apps/knewsticker/eventsrc -%{tde_datadir}/icons/hicolor/*/apps/knewsticker.png -%{tde_datadir}/services/kntsrcfilepropsdlg.desktop -%{tde_tdedocdir}/HTML/en/knewsticker - -%post -n trinity-knewsticker -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-knewsticker -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -########## - -%package -n trinity-kopete -Summary: instant messenger for Trinity -Group: Applications/Internet -URL: http://kopete.kde.org - -%description -n trinity-kopete -Kopete is an instant messenger program which can communicate with a variety -of IM systems, such as Yahoo, ICQ, MSN, IRC and Jabber. - -Support for more IM protocols can be added through a plugin system. - -%files -n trinity-kopete -%defattr(-,root,root,-) -# nowlistening support -%exclude %{tde_datadir}/apps/kopete/*nowlisteningchatui* -%exclude %{tde_datadir}/apps/kopete/*nowlisteningui* -%exclude %{tde_datadir}/config.kcfg/nowlisteningconfig.kcfg -%exclude %{tde_datadir}/services/tdeconfiguredialog/*nowlistening* -%exclude %{tde_datadir}/services/*nowlistening* -%exclude %{tde_tdelibdir}/*nowlistening* -# Main kopete package -%{tde_bindir}/kopete -%{tde_bindir}/kopete_latexconvert.sh -%{tde_libdir}/tdeconf_update_bin/kopete-account-tdeconf_update -%{tde_libdir}/tdeconf_update_bin/kopete-nameTracking-tdeconf_update -%{tde_libdir}/tdeconf_update_bin/kopete-pluginloader2-tdeconf_update -%{tde_tdelibdir}/kcm_kopete_*.so -%{tde_tdelibdir}/kcm_kopete_*.la -%{tde_tdelibdir}/tdeio_jabberdisco.la -%{tde_tdelibdir}/tdeio_jabberdisco.so -%{tde_tdelibdir}/kopete_*.la -%{tde_tdelibdir}/kopete_*.so -%{tde_tdelibdir}/libkrichtexteditpart.la -%{tde_tdelibdir}/libkrichtexteditpart.so -%{tde_libdir}/libkopete_msn_shared.so.* -%{tde_libdir}/libkopete_oscar.so.* -%{tde_libdir}/libkopete.so.* -%{tde_libdir}/libkopete_videodevice.so.* -%{tde_tdeappdir}/kopete.desktop -%{tde_datadir}/apps/tdeconf_update/kopete-* -%{tde_datadir}/apps/kopete -%{tde_datadir}/apps/kopete_*/*.rc -%{tde_datadir}/apps/kopeterichtexteditpart/kopeterichtexteditpartfull.rc -%{tde_datadir}/config.kcfg/historyconfig.kcfg -%{tde_datadir}/config.kcfg/kopeteidentityconfigpreferences.kcfg -%{tde_datadir}/config.kcfg/kopete.kcfg -%{tde_datadir}/config.kcfg/latexconfig.kcfg -%{tde_datadir}/icons/crystalsvg/*/actions/voicecall.png -%{tde_datadir}/icons/crystalsvg/*/actions/webcamreceive.png -%{tde_datadir}/icons/crystalsvg/*/actions/webcamsend.png -%{tde_datadir}/icons/crystalsvg/*/actions/account_offline_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/add_user.png -%{tde_datadir}/icons/crystalsvg/*/actions/contact_away_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/contact_busy_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/contact_food_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/contact_invisible_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/contact_phone_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/contact_xa_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/delete_user.png -%{tde_datadir}/icons/crystalsvg/*/actions/edit_user.png -%{tde_datadir}/icons/crystalsvg/*/actions/emoticon.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_away.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_chatty.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_connecting.mng -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_group.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_invisible.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_na.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_offline.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_online.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_original.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_raw.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_serv_off.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_serv_on.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_xa.png -%{tde_datadir}/icons/crystalsvg/*/actions/kopeteavailable.png -%{tde_datadir}/icons/crystalsvg/*/actions/kopeteaway.png -%{tde_datadir}/icons/crystalsvg/*/actions/kopeteeditstatusmessage.png -%{tde_datadir}/icons/crystalsvg/*/actions/kopetestatusmessage.png -%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_away.png -%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_offline.png -%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_online.png -%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_unknown.png -%{tde_datadir}/icons/crystalsvg/*/actions/newmsg.png -%{tde_datadir}/icons/crystalsvg/*/actions/search_user.png -%{tde_datadir}/icons/crystalsvg/*/actions/show_offliners.png -%{tde_datadir}/icons/crystalsvg/*/actions/status_unknown_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/status_unknown.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_aim.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_gadu.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_http-ws.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_icq.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_irc.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_msn.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_qq.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_smtp.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_tlen.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_yahoo.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_protocol.png -%{tde_datadir}/icons/crystalsvg/*/apps/kopete_all_away.png -%{tde_datadir}/icons/crystalsvg/*/apps/kopete_offline.png -%{tde_datadir}/icons/crystalsvg/*/apps/kopete_some_away.png -%{tde_datadir}/icons/crystalsvg/*/apps/kopete_some_online.png -%{tde_datadir}/icons/crystalsvg/*/mimetypes/kopete_emoticons.png -%{tde_datadir}/icons/crystalsvg/scalable/actions/account_offline_overlay.svgz -%{tde_datadir}/icons/hicolor/*/apps/kopete.png -%{tde_datadir}/icons/hicolor/*/actions/emoticon.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_away.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_chatty.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_connecting.mng -%{tde_datadir}/icons/hicolor/*/actions/jabber_group.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_invisible.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_na.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_offline.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_online.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_original.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_raw.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_serv_off.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_serv_on.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_xa.png -%{tde_datadir}/icons/hicolor/*/actions/kopeteavailable.png -%{tde_datadir}/icons/hicolor/*/actions/kopeteaway.png -%{tde_datadir}/icons/hicolor/*/actions/newmsg.png -%{tde_datadir}/icons/hicolor/*/actions/status_unknown_overlay.png -%{tde_datadir}/icons/hicolor/*/actions/status_unknown.png -%{tde_datadir}/icons/hicolor/*/apps/jabber_protocol.png -%{tde_datadir}/icons/hicolor/scalable/apps/kopete2.svgz -%{tde_datadir}/icons/crystalsvg/*/actions/newmessage.mng -%{tde_datadir}/icons/hicolor/*/actions/newmessage.mng -%{tde_datadir}/mimelnk/application/x-icq.desktop -%{tde_datadir}/mimelnk/application/x-kopete-emoticons.desktop -%{tde_datadir}/services/aim.protocol -%{tde_datadir}/services/chatwindow.desktop -%{tde_datadir}/services/emailwindow.desktop -%{tde_datadir}/services/jabberdisco.protocol -%{tde_datadir}/services/tdeconfiguredialog/kopete_*.desktop -%{tde_datadir}/services/kopete_*.desktop -%{tde_datadir}/icons/crystalsvg/16x16/apps/jabber_gateway_sms.png -%{tde_datadir}/servicetypes/kopete*.desktop -%{tde_datadir}/sounds/Kopete_*.ogg -%{tde_tdedocdir}/HTML/en/kopete -# jingle support for kopete -%{tde_bindir}/relayserver -%{tde_bindir}/stunserver -# winpopup support for kopete -%{tde_bindir}/winpopup-install.sh -%{tde_bindir}/winpopup-send.sh -# motionaway plugin for kopete -%{tde_datadir}/config.kcfg/motionawayconfig.kcfg -# smpp plugin for kopete -%{tde_datadir}/config.kcfg/smpppdcs.kcfg - - -%post -n trinity-kopete -for f in crystalsvg hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : -/sbin/ldconfig - -%postun -n trinity-kopete -for f in crystalsvg hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : -/sbin/ldconfig - -########## - -%package -n trinity-kopete-nowlistening -Summary: Nowlistening (xmms) plugin for Kopete. -Group: Applications/Internet - -%description -n trinity-kopete-nowlistening -Kopete includes the "Now Listening" plug-in that can report what music you -are currently listening to, in a number of different players, including -noatun, kscd, juk, kaffeine and amarok. - -%files -n trinity-kopete-nowlistening -%defattr(-,root,root,-) -%{tde_datadir}/apps/kopete/*nowlisteningchatui* -%{tde_datadir}/apps/kopete/*nowlisteningui* -%{tde_datadir}/config.kcfg/nowlisteningconfig.kcfg -%{tde_datadir}/services/tdeconfiguredialog/*nowlistening* -%{tde_datadir}/services/*nowlistening* -%{tde_tdelibdir}/*nowlistening* - -########## - -%package -n trinity-kpf -Summary: Public fileserver for Trinity -Group: Applications/Internet - -%description -n trinity-kpf -kpf provides simple file sharing using HTTP. kpf is strictly a public -fileserver, which means that there are no access restrictions to shared -files. Whatever you select for sharing is available to anyone. kpf is -designed to be used for sharing files with friends. - -%files -n trinity-kpf -%defattr(-,root,root,-) -%{tde_tdelibdir}/kpf* -%{tde_datadir}/apps/kicker/applets/kpfapplet.desktop -%{tde_datadir}/icons/crystalsvg/*/apps/kpf.* -%{tde_datadir}/services/kpfpropertiesdialogplugin.desktop -%{tde_tdedocdir}/HTML/en/kpf - -%post -n trinity-kpf -for f in crystalsvg ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-kpf -for f in crystalsvg ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -########## - -%package -n trinity-kppp -Summary: modem dialer and ppp frontend for Trinity -Group: Applications/Internet -Requires: ppp - -%if 0%{?with_consolehelper} -# package 'usermode' provides '/usr/bin/consolehelper-gtk' -%if 0%{?rhel} || 0%{?fedora} -Requires: usermode-gtk -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -Requires: usermode -%endif -%endif - -%description -n trinity-kppp -KPPP is a dialer and front end for pppd. It allows for interactive -script generation and network setup. It will automate the dialing in -process to your ISP while letting you conveniently monitor the entire -process. - -Once connected KPPP will provide a rich set of statistics and keep -track of the time spent online for you. - -%files -n trinity-kppp -%defattr(-,root,root,-) -%{?!with_consolehelper:%{tde_bindir}/kppp} -%{tde_bindir}/kppplogview -%{tde_tdeappdir}/Kppp.desktop -%{tde_tdeappdir}/kppplogview.desktop -%{tde_datadir}/apps/kppp/ -%{tde_datadir}/icons/hicolor/*/apps/kppp.png -%{tde_tdedocdir}/HTML/en/kppp/ - -%if 0%{?with_consolehelper} -%config(noreplace) /etc/security/console.apps/kppp3 -%config(noreplace) /etc/pam.d/kppp3 -%{_sbindir}/kppp3 -%{tde_bindir}/kppp3 -%{tde_sbindir}/kppp3 -%endif - -%post -n trinity-kppp -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-kppp -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -########## - -%package -n trinity-krdc -Summary: Remote Desktop Connection for Trinity -Group: Applications/Internet -Requires: rdesktop - -%description -n trinity-krdc -krdc is an TDE graphical client for the rfb protocol, used by VNC, -and if rdesktop is installed, krdc can connect to Windows Terminal -Servers using RDP. - -%files -n trinity-krdc -%defattr(-,root,root,-) -%{tde_bindir}/krdc -%{tde_tdeappdir}/krdc.desktop -%{tde_datadir}/apps/konqueror/servicemenus/smb2rdc.desktop -%{tde_datadir}/apps/krdc/ -%{tde_datadir}/icons/crystalsvg/*/apps/krdc.png -%{tde_datadir}/services/rdp.protocol -%{tde_datadir}/services/vnc.protocol -%{tde_tdedocdir}/HTML/en/krdc/ - -%post -n trinity-krdc -for f in crystalsvg ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-krdc -for f in crystalsvg ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -########## - -%package -n trinity-krfb -Summary: Desktop Sharing for Trinity -Group: Applications/Internet - -%description -n trinity-krfb -Desktop Sharing (krfb) is a server application that allows you to share -your current session with a user on another machine, who can use a -VNC client like krdc to view or even control the desktop. It doesn't -require you to start a new X session - it can share the current session. -This makes it very useful when you want someone to help you perform a -task. - -%files -n trinity-krfb -%defattr(-,root,root,-) -%{tde_bindir}/krfb -%{tde_bindir}/krfb_httpd -%{tde_tdelibdir}/kcm_krfb.la -%{tde_tdelibdir}/kcm_krfb.so -%{tde_tdelibdir}/kded_kinetd.la -%{tde_tdelibdir}/kded_kinetd.so -%{tde_tdeappdir}/kcmkrfb.desktop -%{tde_tdeappdir}/krfb.desktop -%{tde_datadir}/apps/kinetd/eventsrc -%{tde_datadir}/apps/krfb -%{tde_datadir}/icons/crystalsvg/*/apps/krfb.png -%{tde_datadir}/icons/locolor/*/apps/krfb.png -%{tde_datadir}/services/kded/kinetd.desktop -%{tde_datadir}/services/kinetd_krfb.desktop -%{tde_datadir}/services/kinetd_krfb_httpd.desktop -%{tde_datadir}/servicetypes/kinetdmodule.desktop -%{tde_tdedocdir}/HTML/en/krfb - -%post -n trinity-krfb -for f in crystalsvg locolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-krfb -for f in crystalsvg locolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -########## - -%package -n trinity-ksirc -Summary: IRC client for Trinity -Group: Applications/Internet - -%description -n trinity-ksirc -KSirc is an IRC chat client for KDE. It supports scripting with Perl and has a -lot of compatibility with mIRC for general use. - -If you want to connect to an IRC server via SSL, you will need to install the -recommended package libio-socket-ssl-perl. - -%files -n trinity-ksirc -%defattr(-,root,root,-) -%{tde_bindir}/dsirc -%{tde_bindir}/ksirc -%{tde_libdir}/libtdeinit_ksirc.* -%{tde_tdelibdir}/ksirc.* -%{tde_tdeappdir}/ksirc.desktop -%{tde_datadir}/apps/ksirc/ -%config(noreplace) %{tde_datadir}/config/ksircrc -%{tde_datadir}/icons/hicolor/*/apps/ksirc.* -%{tde_tdedocdir}/HTML/??/ksirc/ - -%post -n trinity-ksirc -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : -/sbin/ldconfig - - -%postun -n trinity-ksirc -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : -/sbin/ldconfig - -########## - -%package -n trinity-ktalkd -Summary: Talk daemon for Trinity -Group: Applications/Internet - -%description -n trinity-ktalkd -KTalkd is an enhanced talk daemon - a program to handle incoming talk -requests, announce them and allow you to respond to it using a talk -client. Note that KTalkd is designed to run on a single-user workstation, -and shouldn't be run on a multi-user machine. - -%files -n trinity-ktalkd -%defattr(-,root,root,-) -%{tde_bindir}/ktalkd* -%{tde_bindir}/mail.local -%{tde_tdelibdir}/kcm_ktalkd.* -%{tde_tdeappdir}/kcmktalkd.desktop -%config(noreplace) %{tde_datadir}/config/ktalkdrc -%{tde_datadir}/icons/crystalsvg/*/apps/ktalkd.* -%{tde_datadir}/sounds/ktalkd.wav -%config(noreplace) %{_sysconfdir}/xinetd.d/ktalk -%{tde_tdedocdir}/HTML/en/kcontrol/kcmtalkd -%{tde_tdedocdir}/HTML/en/ktalkd - -%post -n trinity-ktalkd -for f in crystalsvg ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-ktalkd -for f in crystalsvg ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -########## - -%if "%{?_with_wifi:1}" == "1" -%package -n trinity-kwifimanager -Summary: Wireless lan manager for Trinity -Group: Applications/Internet - -%description -n trinity-kwifimanager -KWiFiManager suite is a set of tools which allows you to manage your -wireless LAN connection under the K Desktop Environment. It provides -information about your current connection. KWiFiManager supports every -wavelan card that uses the wireless extensions interface. - -%files -n trinity-kwifimanager -%defattr(-,root,root,-) -%{tde_bindir}/kwifimanager -%{tde_tdelibdir}/kcm_wifi.* -%{tde_libdir}/libkwireless.la -%{tde_libdir}/libkwireless.so -%{tde_tdeappdir}/kcmwifi.desktop -%{tde_tdeappdir}/kwifimanager.desktop -%{tde_datadir}/apps/kicker/applets/kwireless.desktop -%{tde_datadir}/apps/kwifimanager -%{tde_datadir}/icons/hicolor/*/apps/kwifimanager.png -%{tde_datadir}/icons/hicolor/*/apps/kwifimanager.svgz -%doc %{tde_tdedocdir}/HTML/en/kwifimanager - -%post -n trinity-kwifimanager -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-kwifimanager -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : -%endif - -########## - -%package -n trinity-librss -Summary: RSS library for Trinity -Group: Environment/Libraries - -%description -n trinity-librss -This is the runtime package for programs that use the TDE RSS library. -End users should not need to install this, it should get installed -automatically when needed. - -%files -n trinity-librss -%defattr(-,root,root,-) -%{tde_libdir}/librss.so.* -%{tde_datadir}/cmake/librss.cmake - -%post -n trinity-librss -/sbin/ldconfig - -%postun -n trinity-librss -/sbin/ldconfig - -########## - -%package -n trinity-lisa -Summary: LAN information server for Trinity -Group: Applications/Internet -%if 0%{?suse_version} -Requires(preun): aaa_base -Requires(post): aaa_base -%else -Requires(preun): chkconfig -Requires(post): chkconfig -%endif - -%description -n trinity-lisa -LISa is intended to provide TDE with a kind of "network neighborhood" -but relying only on the TCP/IP protocol. - -%files -n trinity-lisa -%defattr(-,root,root,-) -%config(noreplace) %{_sysconfdir}/lisarc* -%config(noreplace) %{_initrddir}/lisa -%{tde_tdelibdir}/kcm_lanbrowser.la -%{tde_tdelibdir}/kcm_lanbrowser.so -%{tde_tdelibdir}/tdeio_lan.la -%{tde_tdelibdir}/tdeio_lan.so -%{tde_datadir}/applnk/.hidden/kcmtdeiolan.desktop -%{tde_datadir}/applnk/.hidden/kcmlisa.desktop -%{tde_datadir}/applnk/.hidden/kcmreslisa.desktop -%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/lisa.desktop -%{tde_datadir}/apps/konqueror/dirtree/remote/lan.desktop -%{tde_datadir}/apps/lisa/README -%{tde_datadir}/apps/remoteview/lan.desktop -%{tde_tdedocdir}/HTML/en/kcontrol/lanbrowser/ -%{tde_tdedocdir}/HTML/en/lisa/ -%{tde_datadir}/services/lan.protocol -%{tde_datadir}/services/rlan.protocol -%{tde_bindir}/lisa -%{tde_bindir}/reslisa - -%post -n trinity-lisa -/sbin/chkconfig --add lisa ||: -update-desktop-database 2> /dev/null || : - -%postun -n trinity-lisa -if [ $1 -eq 0 ]; then - /sbin/service lisa stop > /dev/null 2>&1 ||: - /sbin/chkconfig --del lisa ||: -fi -update-desktop-database 2> /dev/null || : - -########## - -%package -n trinity-kdnssd -Summary: Zeroconf support for KDE -Group: Applications/Internet - -%description -n trinity-kdnssd -A kioslave and kded module that provide Zeroconf support. Try -"zeroconf:/" in Konqueror. - -%files -n trinity-kdnssd -%defattr(-,root,root,-) -%{tde_datadir}/services/zeroconf.protocol -%{tde_datadir}/services/invitation.protocol -%{tde_datadir}/services/kded/dnssdwatcher.desktop -%{tde_datadir}/apps/remoteview/zeroconf.desktop -%{tde_datadir}/apps/zeroconf/_http._tcp -%{tde_datadir}/apps/zeroconf/_ftp._tcp -%{tde_datadir}/apps/zeroconf/_ldap._tcp -%{tde_datadir}/apps/zeroconf/_webdav._tcp -%{tde_datadir}/apps/zeroconf/_nfs._tcp -%{tde_datadir}/apps/zeroconf/_ssh._tcp -%{tde_datadir}/apps/zeroconf/_rfb._tcp -%{tde_tdelibdir}/tdeio_zeroconf.so -%{tde_tdelibdir}/tdeio_zeroconf.la -%{tde_tdelibdir}/kded_dnssdwatcher.so -%{tde_tdelibdir}/kded_dnssdwatcher.la - -%post -n trinity-kdnssd -update-desktop-database 2> /dev/null || : - -%postun -n trinity-kdnssd -update-desktop-database 2> /dev/null || : - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - -%patch1 -p1 -b .ldflags -%patch4 -p1 -b .resolv -%patch6 -p1 -b .krfb_httpd - -%if 0%{?rhel} == 4 -%patch201 -p1 -b .rhel4 -%patch202 -p1 -b .rhel4 -%endif - -%build -unset QTDIRs -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" -export LD_LIBRARY_PATH="%{tde_libdir}" - -# Specific path for RHEL4 -if [ -d /usr/X11R6 ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DWITH_JINGLE=ON \ - %{?with_speex:-DWITH_SPEEX=ON} \ - -DWITH_WEBCAM=ON \ - -DWITH_GSM=OFF \ - -DWITH_XMMS=OFF \ - -DWITH_ARTS=ON \ - %{?with_openslp:-DWITH_SLP=ON} \ - -DBUILD_ALL=ON \ - -DBUILD_KOPETE_PLUGIN_ALL=ON \ - -DBUILD_KOPETE_PROTOCOL_ALL=ON \ - %{!?with_gadu:-DBUILD_KOPETE_PROTOCOL_GADU=OFF} \ - %{!?with_meanwhile:-DBUILD_KOPETE_PROTOCOL_MEANWHILE=OFF} \ - .. - -# Tdenetwork is not smp safe ! -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - - -## File lists -# HTML (1.0) -HTML_DIR=$(tde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && %{__rm} -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - - -%if 0%{?with_consolehelper} -# Run kppp through consolehelper, and rename it to 'kppp3' -%__install -p -m644 -D %{SOURCE1} %{buildroot}/etc/pam.d/kppp3 -%__mkdir_p %{buildroot}%{tde_sbindir} %{buildroot}%{_sbindir} -%__mv %{buildroot}%{tde_bindir}/kppp %{buildroot}%{tde_sbindir}/kppp3 -%__ln_s %{_bindir}/consolehelper %{buildroot}%{tde_bindir}/kppp3 -%if "%{tde_prefix}" != "/usr" -%__ln_s %{tde_sbindir}/kppp3 %{?buildroot}%{_sbindir}/kppp3 -%endif -%__mkdir_p %{buildroot}%{_sysconfdir}/security/console.apps -cat > %{buildroot}%{_sysconfdir}/security/console.apps/kppp3 < - 14.0.0-1 -- Initial release for TDE 14.0.0 diff --git a/redhat/tdenetwork/trinity-tdenetwork-3.5.13.2.spec b/redhat/tdenetwork/trinity-tdenetwork-3.5.13.2.spec deleted file mode 100644 index 701f108df..000000000 --- a/redhat/tdenetwork/trinity-tdenetwork-3.5.13.2.spec +++ /dev/null @@ -1,1199 +0,0 @@ -# Avoids relinking, which breaks consolehelper -%define dont_relink 1 - -# If TDE is built iwn a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_sbindir %{tde_prefix}/sbin - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -# Fedora review: http://bugzilla.redhat.com/195486 - -## Conditional build: -# RHEL6: xmms is outdated ! -#define _with_xmms --with-xmms -%ifnarch s390 s390x -%define _with_wifi --with-wifi -%endif - -Name: trinity-tdenetwork -Version: 3.5.13.2 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} -Summary: Trinity Desktop Environment - Network Applications - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -License: GPLv2 -Group: Applications/Internet - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz -Source1: kppp.pamd -Source2: ktalk -Source4: lisarc -Source5: lisa.redhat - -# RedHat/Fedora legacy patches -Patch3: kdenetwork-3.5.8-kppp.patch -Patch4: kdenetwork-3.2.3-resolv.patch -# include more/proper ppp headers -Patch6: kdenetwork-3.5.9-krfb_httpd.patch - -# [kdenetwork] Missing LDFLAGS cause FTBFS -Patch1: kdenetwork-3.5.13-missing_ldflags.patch - -# RHEL4 specific -Patch201: kdenetwork-3.5.13.1-fix_rhel4_libraries.patch -Patch202: tdenetwork-3.5.13.2-fix_conflicting_definitions.patch - -BuildRequires: gettext -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} -BuildRequires: coreutils -BuildRequires: openssl-devel -BuildRequires: sqlite-devel -BuildRequires: gnutls-devel - -# GADU support -%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -%define with_gadu 1 -BuildRequires: libgadu-devel -%endif - -%if 0%{?fedora} >= 5 || 0%{?rhel} >= 5 -BuildRequires: libXmu-devel -BuildRequires: libXScrnSaver-devel -BuildRequires: libXtst-devel -BuildRequires: libXxf86vm-devel -%endif - -# Wifi support -%if "%{?_with_wifi:1}" == "1" -%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5 -BuildRequires: wireless-tools-devel -%endif -%if 0%{?mgaversion} == 2 || 0%{?mdkversion} -BuildRequires: %{_lib}iw29-devel -%endif -%if 0%{?rhel} == 5 -BuildRequires: wireless-tools -%endif -%if 0%{?suse_version} || 0%{?mgaversion} >= 3 -BuildRequires: libiw-devel -%endif -%endif - -# OpenSLP support -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -%define with_openslp 1 -BuildRequires: openslp-devel -%endif - -%ifarch %{ix86} -# BR: %{tde_includedir}/valgrind/valgrind.h -BuildRequires: valgrind -%endif - -%{?_with_xmms:BuildRequires: xmms-devel} - -# V4L support -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?suse_version} -BuildRequires: libv4l-devel -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}v4l-devel -%endif - -# XML support -BuildRequires: libxml2-devel -BuildRequires: libxslt-devel - -#jabber -BuildRequires: libidn-devel -#jabber/jingle -%if 0%{?suse_version} -BuildRequires: libexpat-devel -%else -BuildRequires: expat-devel -%endif -BuildRequires: glib2-devel -BuildRequires: speex-devel -# jabber/ssl -#{?fedora:Requires(hint): qca-tls} -Requires: jasper - -# MEANWHILE support -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?suse_version} -%define with_meanwhile 1 -BuildRequires: meanwhile-devel -%endif - -# ORTP support -%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 -BuildRequires: ortp-devel -%endif - -# SPEEX support -%if 0%{?rhel} >= 5 || 0%{?fedora} >= 15 || 0%{?suse_version} || 0%{?mdkversion} || 0%{?mgaversion} -%define with_speex 1 -BuildRequires: speex-devel -%endif - -# CONSOLEHELPER (usermode) support -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_consolehelper 1 - -# Avoids relinking, which breaks consolehelper -%define dont_relink 1 -%endif - -Obsoletes: trinity-kdenetwork < %{version}-%{release} -Provides: trinity-kdenetwork = %{version}-%{release} -Obsoletes: trinity-kdenetwork-libs < %{version}-%{release} -Provides: trinity-kdenetwork-libs = %{version}-%{release} -Obsoletes: trinity-kdenetwork-extras < %{version}-%{release} -Provides: trinity-kdenetwork-extras = %{version}-%{release} -Obsoletes: tdenetwork < %{version}-%{release} -Provides: tdenetwork = %{version}-%{release} - -Requires: trinity-dcoprss = %{version}-%{release} -Requires: %{name}-filesharing = %{version}-%{release} -Requires: trinity-kdict = %{version}-%{release} -Requires: %{name}-kfile-plugins = %{version}-%{release} -Requires: trinity-kget = %{version}-%{release} -Requires: trinity-knewsticker = %{version}-%{release} -Requires: trinity-kopete = %{version}-%{release} -Requires: trinity-kopete-nowlistening = %{version}-%{release} -Requires: trinity-kpf = %{version}-%{release} -Requires: trinity-kppp = %{version}-%{release} -Requires: trinity-krdc = %{version}-%{release} -Requires: trinity-krfb = %{version}-%{release} -Requires: trinity-ksirc = %{version}-%{release} -Requires: trinity-ktalkd = %{version}-%{release} -Requires: trinity-kwifimanager = %{version}-%{release} -Requires: trinity-librss = %{version}-%{release} -Requires: trinity-lisa = %{version}-%{release} - -%description -This metapackage includes a collection of network and networking related -applications provided with the official release of Trinity. - -Networking applications, including: -* dcoprss: RSS utilities for Trinity -* filesharing: Network filesharing configuration module for Trinity -* kdict: Dictionary client for Trinity -* kfile-plugins: Torrent metainfo plugin for Trinity -* kget: downloader manager -* knewsticker: RDF newsticker applet -* kopete: chat client -* kopete-nowlistening: (xmms) plugin for Kopete. -* kpf: Public fileserver for Trinity -* kppp: dialer and front end for pppd -* krdc: a client for Desktop Sharing and other VNC servers -* krfb: Desktop Sharing server, allow others to access your desktop via VNC -* ksirc: IRC client for Trinity -* ktalkd: Talk daemon for Trinity -* kwifimanager: Wireless lan manager for Trinity -* librss: RSS library for Trinity -* lisa: lan information server - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING README - - -########## - -%package -n trinity-dcoprss -Summary: RSS utilities for Trinity -Group: Applications/Internet - -%description -n trinity-dcoprss -dcoprss is a RSS to DCOP bridge, allowing all -DCOP aware applications to access RSS news feeds. There is also -a few sample utilities provided. -RSS is a standard for publishing news headlines. -DCOP is the TDE interprocess communication protocol. - -%files -n trinity-dcoprss -%defattr(-,root,root,-) -%{tde_bindir}/feedbrowser -%{tde_bindir}/rssclient -%{tde_bindir}/rssservice -%{tde_datadir}/services/rssservice.desktop - -%post -n trinity-dcoprss -update-desktop-database 2> /dev/null || : - -%postun -n trinity-dcoprss -update-desktop-database 2> /dev/null || : - -########## - -%package devel -Summary: Development files for the Trinity network module -Group: Development/Libraries -Requires: trinity-tdenetwork = %{version}-%{release} -Requires: trinity-kdict = %{version}-%{release} -Requires: trinity-kopete = %{version}-%{release} -Requires: trinity-ksirc = %{version}-%{release} -Requires: trinity-librss = %{version}-%{release} -Requires: trinity-tdelibs-devel - -Obsoletes: trinity-kdenetwork-devel < %{version}-%{release} -Provides: trinity-kdenetwork-devel = %{version}-%{release} -Obsoletes: tdenetwork-devel < %{version}-%{release} -Provides: tdenetwork-devel = %{version}-%{release} - -%description devel -This is the development package which contains the headers for the KDE RSS -library as well as the Kopete chat client, as well as miscellaneous -development-related files for the TDE network module. - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kopete/*.h -%{tde_tdeincludedir}/kopete/ui/*.h -%{tde_tdeincludedir}/rss/*.h -%{tde_libdir}/libkdeinit_kdict.la -%{tde_libdir}/libkdeinit_ksirc.la -%{tde_libdir}/libkopete.la -%{tde_libdir}/libkopete.so -%{tde_libdir}/libkopete_msn_shared.la -%{tde_libdir}/libkopete_msn_shared.so -%{tde_libdir}/libkopete_oscar.la -%{tde_libdir}/libkopete_oscar.so -%{tde_libdir}/libkopete_videodevice.la -%{tde_libdir}/libkopete_videodevice.so -%{tde_libdir}/librss.la -%{tde_libdir}/librss.so - -%post devel -/sbin/ldconfig - -%postun devel -/sbin/ldconfig - -########## - -%package filesharing -#Recommends: perl-suid -Summary: Network filesharing configuration module for Trinity -Group: Applications/Internet - -Obsoletes: tdenetwork-filesharing < %{version}-%{release} -Provides: tdenetwork-filesharing = %{version}-%{release} - -%description filesharing -This package provides a TDE Control Center module to configure -NFS and Samba. - -%files filesharing -%defattr(-,root,root,-) -%{tde_tdelibdir}/fileshare_propsdlgplugin.la -%{tde_tdelibdir}/fileshare_propsdlgplugin.so -%{tde_tdelibdir}/kcm_fileshare.la -%{tde_tdelibdir}/kcm_fileshare.so -%{tde_tdelibdir}/kcm_kcmsambaconf.la -%{tde_tdelibdir}/kcm_kcmsambaconf.so -%{tde_tdeappdir}/fileshare.desktop -%{tde_tdeappdir}/kcmsambaconf.desktop -%{tde_datadir}/icons/hicolor/*/apps/kcmsambaconf.png -%{tde_datadir}/services/fileshare_propsdlgplugin.desktop - -%post filesharing -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun filesharing -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -########## - -%package -n trinity-kdict -Summary: Dictionary client for Trinity -Group: Applications/Internet - -%description -n trinity-kdict -KDict is an advanced TDE graphical client for the DICT Protocol, with full -Unicode support. It enables you to search through dictionary databases for a -word or phrase, then displays suitable definitions. KDict tries to ease -basic as well as advanced queries. - -%files -n trinity-kdict -%defattr(-,root,root,-) -%{tde_bindir}/kdict -%{tde_tdelibdir}/kdict.* -%{tde_tdelibdir}/kdict_panelapplet.* -%{tde_libdir}/libkdeinit_kdict.* -%{tde_tdeappdir}/kdict.desktop -%{tde_datadir}/apps/kdict -%{tde_datadir}/apps/kicker/applets/kdictapplet.desktop -%{tde_datadir}/icons/hicolor/*/apps/kdict.* -%{tde_tdedocdir}/HTML/en/kdict - -%post -n trinity-kdict -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-kdict -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -########## - -%package kfile-plugins -Summary: Torrent metainfo plugin for Trinity -Group: Applications/Internet - -Obsoletes: tdenetwork-kfile-plugins < %{version}-%{release} -Provides: tdenetwork-kfile-plugins = %{version}-%{release} - -%description kfile-plugins -This package provides a metainformation plugin for bittorrent files. -TDE uses kfile-plugins to provide metainfo tab in the files properties -dialog in konqueror and other file-handling applications. - -%files kfile-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/kfile_torrent.la -%{tde_tdelibdir}/kfile_torrent.so -%{tde_datadir}/services/kfile_torrent.desktop - -%post kfile-plugins -update-desktop-database 2> /dev/null || : - -%postun kfile-plugins -update-desktop-database 2> /dev/null || : - -########## - -%package -n trinity-kget -Summary: download manager for Trinity -Group: Applications/Internet - -%description -n trinity-kget -KGet is a a download manager similar to GetRight or Go!zilla. It keeps -all your downloads in one dialog and you can add and remove transfers. -Transfers can be paused, resumed, queued or scheduled. -Dialogs display info about status of transfers - progress, size, speed -and remaining time. Program supports drag & drop from TDE -applications and Netscape. - -%files -n trinity-kget -%defattr(-,root,root,-) -%{tde_bindir}/kget -%{tde_tdelibdir}/khtml_kget.la -%{tde_tdelibdir}/khtml_kget.so -%{tde_tdeappdir}/kget.desktop -%{tde_datadir}/apps/kget -%{tde_datadir}/apps/khtml/kpartplugins/kget_plug_in.desktop -%{tde_datadir}/apps/khtml/kpartplugins/kget_plug_in.rc -%{tde_datadir}/apps/konqueror/servicemenus/kget_download.desktop -%{tde_datadir}/icons/crystalsvg/*/actions/khtml_kget.png -%{tde_datadir}/icons/crystalsvg/*/apps/kget.png -%{tde_datadir}/icons/crystalsvg/*/mimetypes/kget_list.png -%{tde_datadir}/mimelnk/application/x-kgetlist.desktop -%{tde_datadir}/sounds/KGet_Added.ogg -%{tde_datadir}/sounds/KGet_Finished.ogg -%{tde_datadir}/sounds/KGet_Finished_All.ogg -%{tde_datadir}/sounds/KGet_Started.ogg -%{tde_tdedocdir}/HTML/en/kget - -%post -n trinity-kget -for f in crystalsvg ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-kget -for f in crystalsvg ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -########## - -%package -n trinity-knewsticker -Summary: news ticker applet for Trinity -Group: Applications/Internet - -%description -n trinity-knewsticker -This is a news ticker applet for the Trinity panel. It can scroll news from -your favorite news sites, such as lwn.net, /. and freshmeat.net. -To achieve this, KNewsTicker requires the news sites to provide a -RSS feed to newsitems. KNewsTicker already comes with a selection of -good news sources which provide such files. - -%files -n trinity-knewsticker -%defattr(-,root,root,-) -%{tde_bindir}/knewstickerstub -%{tde_tdelibdir}/knewsticker_panelapplet.la -%{tde_tdelibdir}/knewsticker_panelapplet.so -%{tde_tdelibdir}/libkntsrcfilepropsdlg.la -%{tde_tdelibdir}/libkntsrcfilepropsdlg.so -%{tde_tdeappdir}/knewsticker-standalone.desktop -%{tde_datadir}/applnk/.hidden/knewstickerstub.desktop -%{tde_datadir}/apps/kconf_update/knewsticker.upd -%{tde_datadir}/apps/kconf_update/knt-0.1-0.2.pl -%{tde_datadir}/apps/kicker/applets/knewsticker.desktop -%{tde_datadir}/apps/knewsticker/eventsrc -%{tde_datadir}/icons/hicolor/*/apps/knewsticker.png -%{tde_datadir}/services/kntsrcfilepropsdlg.desktop -%{tde_tdedocdir}/HTML/en/knewsticker - -%post -n trinity-knewsticker -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-knewsticker -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -########## - -%package -n trinity-kopete -Summary: instant messenger for Trinity -Group: Applications/Internet -URL: http://kopete.kde.org - -%description -n trinity-kopete -Kopete is an instant messenger program which can communicate with a variety -of IM systems, such as Yahoo, ICQ, MSN, IRC and Jabber. - -Support for more IM protocols can be added through a plugin system. - -%files -n trinity-kopete -%defattr(-,root,root,-) -# nowlistening support -%exclude %{tde_datadir}/apps/kopete/*nowlisteningchatui* -%exclude %{tde_datadir}/apps/kopete/*nowlisteningui* -%exclude %{tde_datadir}/config.kcfg/nowlisteningconfig.kcfg -%exclude %{tde_datadir}/services/kconfiguredialog/*nowlistening* -%exclude %{tde_datadir}/services/*nowlistening* -%exclude %{tde_tdelibdir}/*nowlistening* -# Main kopete package -%{tde_bindir}/kopete -%{tde_bindir}/kopete_latexconvert.sh -%{tde_libdir}/kconf_update_bin/kopete-account-kconf_update -%{tde_libdir}/kconf_update_bin/kopete-nameTracking-kconf_update -%{tde_libdir}/kconf_update_bin/kopete-pluginloader2-kconf_update -%{tde_tdelibdir}/kcm_kopete_*.so -%{tde_tdelibdir}/kcm_kopete_*.la -%{tde_tdelibdir}/kio_jabberdisco.la -%{tde_tdelibdir}/kio_jabberdisco.so -%{tde_tdelibdir}/kopete_*.la -%{tde_tdelibdir}/kopete_*.so -%{tde_tdelibdir}/libkrichtexteditpart.la -%{tde_tdelibdir}/libkrichtexteditpart.so -%{tde_libdir}/libkopete_msn_shared.so.* -%{tde_libdir}/libkopete_oscar.so.* -%{tde_libdir}/libkopete.so.* -%{tde_libdir}/libkopete_videodevice.so.* -%{tde_tdeappdir}/kopete.desktop -%{tde_datadir}/apps/kconf_update/kopete-* -%{tde_datadir}/apps/kopete -%{tde_datadir}/apps/kopete_*/*.rc -%{tde_datadir}/apps/kopeterichtexteditpart/kopeterichtexteditpartfull.rc -%{tde_datadir}/config.kcfg/historyconfig.kcfg -%{tde_datadir}/config.kcfg/kopeteidentityconfigpreferences.kcfg -%{tde_datadir}/config.kcfg/kopete.kcfg -%{tde_datadir}/config.kcfg/latexconfig.kcfg -%{tde_datadir}/icons/crystalsvg/*/actions/voicecall.png -%{tde_datadir}/icons/crystalsvg/*/actions/webcamreceive.png -%{tde_datadir}/icons/crystalsvg/*/actions/webcamsend.png -%{tde_datadir}/icons/crystalsvg/*/actions/account_offline_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/add_user.png -%{tde_datadir}/icons/crystalsvg/*/actions/contact_away_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/contact_busy_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/contact_food_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/contact_invisible_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/contact_phone_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/contact_xa_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/delete_user.png -%{tde_datadir}/icons/crystalsvg/*/actions/edit_user.png -%{tde_datadir}/icons/crystalsvg/*/actions/emoticon.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_away.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_chatty.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_connecting.mng -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_group.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_invisible.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_na.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_offline.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_online.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_original.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_raw.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_serv_off.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_serv_on.png -%{tde_datadir}/icons/crystalsvg/*/actions/jabber_xa.png -%{tde_datadir}/icons/crystalsvg/*/actions/kopeteavailable.png -%{tde_datadir}/icons/crystalsvg/*/actions/kopeteaway.png -%{tde_datadir}/icons/crystalsvg/*/actions/kopeteeditstatusmessage.png -%{tde_datadir}/icons/crystalsvg/*/actions/kopetestatusmessage.png -%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_away.png -%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_offline.png -%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_online.png -%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_unknown.png -%{tde_datadir}/icons/crystalsvg/*/actions/newmsg.png -%{tde_datadir}/icons/crystalsvg/*/actions/search_user.png -%{tde_datadir}/icons/crystalsvg/*/actions/show_offliners.png -%{tde_datadir}/icons/crystalsvg/*/actions/status_unknown_overlay.png -%{tde_datadir}/icons/crystalsvg/*/actions/status_unknown.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_aim.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_gadu.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_http-ws.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_icq.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_irc.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_msn.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_qq.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_smtp.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_tlen.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_yahoo.png -%{tde_datadir}/icons/crystalsvg/*/apps/jabber_protocol.png -%{tde_datadir}/icons/crystalsvg/*/apps/kopete_all_away.png -%{tde_datadir}/icons/crystalsvg/*/apps/kopete_offline.png -%{tde_datadir}/icons/crystalsvg/*/apps/kopete_some_away.png -%{tde_datadir}/icons/crystalsvg/*/apps/kopete_some_online.png -%{tde_datadir}/icons/crystalsvg/*/mimetypes/kopete_emoticons.png -%{tde_datadir}/icons/crystalsvg/scalable/actions/account_offline_overlay.svgz -%{tde_datadir}/icons/hicolor/*/apps/kopete.png -%{tde_datadir}/icons/hicolor/*/actions/emoticon.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_away.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_chatty.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_connecting.mng -%{tde_datadir}/icons/hicolor/*/actions/jabber_group.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_invisible.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_na.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_offline.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_online.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_original.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_raw.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_serv_off.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_serv_on.png -%{tde_datadir}/icons/hicolor/*/actions/jabber_xa.png -%{tde_datadir}/icons/hicolor/*/actions/kopeteavailable.png -%{tde_datadir}/icons/hicolor/*/actions/kopeteaway.png -%{tde_datadir}/icons/hicolor/*/actions/newmsg.png -%{tde_datadir}/icons/hicolor/*/actions/status_unknown_overlay.png -%{tde_datadir}/icons/hicolor/*/actions/status_unknown.png -%{tde_datadir}/icons/hicolor/*/apps/jabber_protocol.png -%{tde_datadir}/icons/hicolor/scalable/apps/kopete2.svgz -%{tde_datadir}/icons/crystalsvg/*/actions/newmessage.mng -%{tde_datadir}/icons/hicolor/*/actions/newmessage.mng -%{tde_datadir}/mimelnk/application/x-icq.desktop -%{tde_datadir}/mimelnk/application/x-kopete-emoticons.desktop -%{tde_datadir}/services/aim.protocol -%{tde_datadir}/services/chatwindow.desktop -%{tde_datadir}/services/emailwindow.desktop -%{tde_datadir}/services/jabberdisco.protocol -%{tde_datadir}/services/kconfiguredialog/kopete_*.desktop -%{tde_datadir}/services/kopete_*.desktop -%{tde_datadir}/icons/crystalsvg/16x16/apps/jabber_gateway_sms.png -%{tde_datadir}/servicetypes/kopete*.desktop -%{tde_datadir}/sounds/Kopete_*.ogg -%{tde_tdedocdir}/HTML/en/kopete -# jingle support for kopete -%{tde_bindir}/relayserver -%{tde_bindir}/stunserver -# winpopup support for kopete -%{tde_bindir}/winpopup-install.sh -%{tde_bindir}/winpopup-send.sh -# motionaway plugin for kopete -%{tde_datadir}/config.kcfg/motionawayconfig.kcfg -# smpp plugin for kopete -%{tde_datadir}/config.kcfg/smpppdcs.kcfg - - -%post -n trinity-kopete -for f in crystalsvg hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : -/sbin/ldconfig - -%postun -n trinity-kopete -for f in crystalsvg hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : -/sbin/ldconfig - -########## - -%package -n trinity-kopete-nowlistening -Summary: Nowlistening (xmms) plugin for Kopete. -Group: Applications/Internet - -%description -n trinity-kopete-nowlistening -Kopete includes the "Now Listening" plug-in that can report what music you -are currently listening to, in a number of different players, including -noatun, kscd, juk, kaffeine and amarok. - -%files -n trinity-kopete-nowlistening -%defattr(-,root,root,-) -%{tde_datadir}/apps/kopete/*nowlisteningchatui* -%{tde_datadir}/apps/kopete/*nowlisteningui* -%{tde_datadir}/config.kcfg/nowlisteningconfig.kcfg -%{tde_datadir}/services/kconfiguredialog/*nowlistening* -%{tde_datadir}/services/*nowlistening* -%{tde_tdelibdir}/*nowlistening* - -########## - -%package -n trinity-kpf -Summary: Public fileserver for Trinity -Group: Applications/Internet - -%description -n trinity-kpf -kpf provides simple file sharing using HTTP. kpf is strictly a public -fileserver, which means that there are no access restrictions to shared -files. Whatever you select for sharing is available to anyone. kpf is -designed to be used for sharing files with friends. - -%files -n trinity-kpf -%defattr(-,root,root,-) -%{tde_tdelibdir}/kpf* -%{tde_datadir}/apps/kicker/applets/kpfapplet.desktop -%{tde_datadir}/icons/crystalsvg/*/apps/kpf.* -%{tde_datadir}/services/kpfpropertiesdialogplugin.desktop -%{tde_tdedocdir}/HTML/en/kpf - -%post -n trinity-kpf -for f in crystalsvg ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-kpf -for f in crystalsvg ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -########## - -%package -n trinity-kppp -Summary: modem dialer and ppp frontend for Trinity -Group: Applications/Internet -Requires: ppp - -%if 0%{?with_consolehelper} -# package 'usermode' provides '/usr/bin/consolehelper-gtk' -%if 0%{?rhel} || 0%{?fedora} -Requires: usermode-gtk -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -Requires: usermode -%endif -%endif - -%description -n trinity-kppp -KPPP is a dialer and front end for pppd. It allows for interactive -script generation and network setup. It will automate the dialing in -process to your ISP while letting you conveniently monitor the entire -process. - -Once connected KPPP will provide a rich set of statistics and keep -track of the time spent online for you. - -%files -n trinity-kppp -%defattr(-,root,root,-) -%{?!with_consolehelper:%{tde_bindir}/kppp} -%{tde_bindir}/kppplogview -%{tde_tdeappdir}/Kppp.desktop -%{tde_tdeappdir}/kppplogview.desktop -%{tde_datadir}/apps/kppp/ -%{tde_datadir}/icons/hicolor/*/apps/kppp.png -%{tde_tdedocdir}/HTML/en/kppp/ - -%if 0%{?with_consolehelper} -%config(noreplace) /etc/security/console.apps/kppp3 -%config(noreplace) /etc/pam.d/kppp3 -%{_sbindir}/kppp3 -%{tde_bindir}/kppp3 -%{tde_sbindir}/kppp3 -%endif - -%post -n trinity-kppp -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-kppp -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -########## - -%package -n trinity-krdc -Summary: Remote Desktop Connection for Trinity -Group: Applications/Internet -Requires: rdesktop - -%description -n trinity-krdc -krdc is an TDE graphical client for the rfb protocol, used by VNC, -and if rdesktop is installed, krdc can connect to Windows Terminal -Servers using RDP. - -%files -n trinity-krdc -%defattr(-,root,root,-) -%{tde_bindir}/krdc -%{tde_tdeappdir}/krdc.desktop -%{tde_datadir}/apps/konqueror/servicemenus/smb2rdc.desktop -%{tde_datadir}/apps/krdc -%{tde_datadir}/icons/crystalsvg/*/apps/krdc.png -%{tde_datadir}/services/rdp.protocol -%{tde_datadir}/services/vnc.protocol -%{tde_tdedocdir}/HTML/en/krdc - -%post -n trinity-krdc -for f in crystalsvg ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-krdc -for f in crystalsvg ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -########## - -%package -n trinity-krfb -Summary: Desktop Sharing for Trinity -Group: Applications/Internet - -%description -n trinity-krfb -Desktop Sharing (krfb) is a server application that allows you to share -your current session with a user on another machine, who can use a -VNC client like krdc to view or even control the desktop. It doesn't -require you to start a new X session - it can share the current session. -This makes it very useful when you want someone to help you perform a -task. - -%files -n trinity-krfb -%defattr(-,root,root,-) -%{tde_bindir}/krfb -%{tde_bindir}/krfb_httpd -%{tde_tdelibdir}/kcm_krfb.la -%{tde_tdelibdir}/kcm_krfb.so -%{tde_tdelibdir}/kded_kinetd.la -%{tde_tdelibdir}/kded_kinetd.so -%{tde_tdeappdir}/kcmkrfb.desktop -%{tde_tdeappdir}/krfb.desktop -%{tde_datadir}/apps/kinetd/eventsrc -%{tde_datadir}/apps/krfb -%{tde_datadir}/icons/crystalsvg/*/apps/krfb.png -%{tde_datadir}/icons/locolor/*/apps/krfb.png -%{tde_datadir}/services/kded/kinetd.desktop -%{tde_datadir}/services/kinetd_krfb.desktop -%{tde_datadir}/services/kinetd_krfb_httpd.desktop -%{tde_datadir}/servicetypes/kinetdmodule.desktop -%{tde_tdedocdir}/HTML/en/krfb - -%post -n trinity-krfb -for f in crystalsvg locolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-krfb -for f in crystalsvg locolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -########## - -%package -n trinity-ksirc -Summary: IRC client for Trinity -Group: Applications/Internet - -%description -n trinity-ksirc -KSirc is an IRC chat client for KDE. It supports scripting with Perl and has a -lot of compatibility with mIRC for general use. - -If you want to connect to an IRC server via SSL, you will need to install the -recommended package libio-socket-ssl-perl. - -%files -n trinity-ksirc -%defattr(-,root,root,-) -%{tde_bindir}/dsirc -%{tde_bindir}/ksirc -%{tde_libdir}/libkdeinit_ksirc.* -%{tde_tdelibdir}/ksirc.* -%{tde_tdeappdir}/ksirc.desktop -%{tde_datadir}/apps/ksirc/ -%config(noreplace) %{tde_datadir}/config/ksircrc -%{tde_datadir}/icons/hicolor/*/apps/ksirc.* -%{tde_tdedocdir}/HTML/??/ksirc/ - -%post -n trinity-ksirc -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : -/sbin/ldconfig - - -%postun -n trinity-ksirc -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : -/sbin/ldconfig - -########## - -%package -n trinity-ktalkd -Summary: Talk daemon for Trinity -Group: Applications/Internet - -%description -n trinity-ktalkd -KTalkd is an enhanced talk daemon - a program to handle incoming talk -requests, announce them and allow you to respond to it using a talk -client. Note that KTalkd is designed to run on a single-user workstation, -and shouldn't be run on a multi-user machine. - -%files -n trinity-ktalkd -%defattr(-,root,root,-) -%{tde_bindir}/ktalkd* -%{tde_bindir}/mail.local -%{tde_tdelibdir}/kcm_ktalkd.* -%{tde_tdeappdir}/kcmktalkd.desktop -%config(noreplace) %{tde_datadir}/config/ktalkdrc -%{tde_datadir}/icons/crystalsvg/*/apps/ktalkd.* -%{tde_datadir}/sounds/ktalkd.wav -%config(noreplace) %{_sysconfdir}/xinetd.d/ktalk -%{tde_tdedocdir}/HTML/en/kcontrol/kcmtalkd -%{tde_tdedocdir}/HTML/en/ktalkd - -%post -n trinity-ktalkd -for f in crystalsvg ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-ktalkd -for f in crystalsvg ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -########## - -%if "%{?_with_wifi:1}" == "1" -%package -n trinity-kwifimanager -Summary: Wireless lan manager for Trinity -Group: Applications/Internet - -%description -n trinity-kwifimanager -KWiFiManager suite is a set of tools which allows you to manage your -wireless LAN connection under the K Desktop Environment. It provides -information about your current connection. KWiFiManager supports every -wavelan card that uses the wireless extensions interface. - -%files -n trinity-kwifimanager -%defattr(-,root,root,-) -%{tde_bindir}/kwifimanager -%{tde_tdelibdir}/kcm_wifi.* -%{tde_libdir}/libkwireless.la -%{tde_libdir}/libkwireless.so -%{tde_tdeappdir}/kcmwifi.desktop -%{tde_tdeappdir}/kwifimanager.desktop -%{tde_datadir}/apps/kicker/applets/kwireless.desktop -%{tde_datadir}/apps/kwifimanager -%{tde_datadir}/icons/hicolor/*/apps/kwifimanager.png -%{tde_datadir}/icons/hicolor/*/apps/kwifimanager.svgz -%doc %{tde_tdedocdir}/HTML/en/kwifimanager - -%post -n trinity-kwifimanager -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : - -%postun -n trinity-kwifimanager -for f in hicolor ; do - gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || : -done -update-desktop-database 2> /dev/null || : -%endif - -########## - -%package -n trinity-librss -Summary: RSS library for Trinity -Group: Environment/Libraries - -%description -n trinity-librss -This is the runtime package for programs that use the TDE RSS library. -End users should not need to install this, it should get installed -automatically when needed. - -%files -n trinity-librss -%defattr(-,root,root,-) -%{tde_libdir}/librss.so.* -%{tde_datadir}/cmake/librss.cmake - -%post -n trinity-librss -/sbin/ldconfig - -%postun -n trinity-librss -/sbin/ldconfig - -########## - -%package -n trinity-lisa -Summary: LAN information server for Trinity -Group: Applications/Internet -%if 0%{?suse_version} -Requires(preun): aaa_base -Requires(post): aaa_base -%else -Requires(preun): chkconfig -Requires(post): chkconfig -%endif - -%description -n trinity-lisa -LISa is intended to provide TDE with a kind of "network neighborhood" -but relying only on the TCP/IP protocol. - -%files -n trinity-lisa -%defattr(-,root,root,-) -%config(noreplace) %{_sysconfdir}/lisarc* -%config(noreplace) %{_initrddir}/lisa -%{tde_tdelibdir}/kcm_lanbrowser.la -%{tde_tdelibdir}/kcm_lanbrowser.so -%{tde_tdelibdir}/kio_lan.la -%{tde_tdelibdir}/kio_lan.so -%{tde_datadir}/applnk/.hidden/kcmkiolan.desktop -%{tde_datadir}/applnk/.hidden/kcmlisa.desktop -%{tde_datadir}/applnk/.hidden/kcmreslisa.desktop -%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/lisa.desktop -%{tde_datadir}/apps/konqueror/dirtree/remote/lan.desktop -%{tde_datadir}/apps/lisa/README -%{tde_datadir}/apps/remoteview/lan.desktop -%{tde_tdedocdir}/HTML/en/kcontrol/lanbrowser/ -%{tde_tdedocdir}/HTML/en/lisa/ -%{tde_datadir}/services/lan.protocol -%{tde_datadir}/services/rlan.protocol -%{tde_bindir}/lisa -%{tde_bindir}/reslisa - -%post -n trinity-lisa -/sbin/chkconfig --add lisa ||: -update-desktop-database 2> /dev/null || : - -%postun -n trinity-lisa -if [ $1 -eq 0 ]; then - /sbin/service lisa stop > /dev/null 2>&1 ||: - /sbin/chkconfig --del lisa ||: -fi -update-desktop-database 2> /dev/null || : - -########## - -%package -n trinity-kdnssd -Summary: Zeroconf support for KDE -Group: Applications/Internet - -%description -n trinity-kdnssd -A kioslave and kded module that provide Zeroconf support. Try -"zeroconf:/" in Konqueror. - -%files -n trinity-kdnssd -%defattr(-,root,root,-) -%{tde_datadir}/services/zeroconf.protocol -%{tde_datadir}/services/invitation.protocol -%{tde_datadir}/services/kded/dnssdwatcher.desktop -%{tde_datadir}/apps/remoteview/zeroconf.desktop -%{tde_datadir}/apps/zeroconf/_http._tcp -%{tde_datadir}/apps/zeroconf/_ftp._tcp -%{tde_datadir}/apps/zeroconf/_ldap._tcp -%{tde_datadir}/apps/zeroconf/_webdav._tcp -%{tde_datadir}/apps/zeroconf/_nfs._tcp -%{tde_datadir}/apps/zeroconf/_ssh._tcp -%{tde_datadir}/apps/zeroconf/_rfb._tcp -%{tde_tdelibdir}/kio_zeroconf.so -%{tde_tdelibdir}/kio_zeroconf.la -%{tde_tdelibdir}/kded_dnssdwatcher.so -%{tde_tdelibdir}/kded_dnssdwatcher.la - -%post -n trinity-kdnssd -update-desktop-database 2> /dev/null || : - -%postun -n trinity-kdnssd -update-desktop-database 2> /dev/null || : - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} - -%patch1 -p1 -b .ldflags -%patch3 -p1 -b .kppp -%patch4 -p1 -b .resolv -%patch6 -p1 -b .krfb_httpd - -%if 0%{?rhel} == 4 -%patch201 -p1 -b .rhel4 -%patch202 -p1 -b .rhel4 -%endif - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" -export LD_LIBRARY_PATH="%{tde_libdir}" - -# Specific path for RHEL4 -if [ -d /usr/X11R6 ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DWITH_JINGLE=ON \ - %{?with_speex:-DWITH_SPEEX=ON} \ - -DWITH_WEBCAM=ON \ - -DWITH_GSM=OFF \ - -DWITH_XMMS=OFF \ - -DWITH_ARTS=ON \ - %{?with_openslp:-DWITH_SLP=ON} \ - -DBUILD_ALL=ON \ - -DBUILD_KOPETE_PLUGIN_ALL=ON \ - -DBUILD_KOPETE_PROTOCOL_ALL=ON \ - %{!?with_gadu:-DBUILD_KOPETE_PROTOCOL_GADU=OFF} \ - %{!?with_meanwhile:-DBUILD_KOPETE_PROTOCOL_MEANWHILE=OFF} \ - .. - -# Tdenetwork is not smp safe ! -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build - - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && %{__rm} -f $i/common && ln -sf ../common $i/common - done - popd - fi -done -fi - -# Show only in KDE, FIXME, need to re-evaluate these -- Rex -for i in fileshare kcmkrfb kcmktalkd kcmwifi krfb kppp kppplogview \ - kwifimanager kget knewsticker ksirc kdict ; do - if [ -f %{buildroot}%{tde_tdeappdir}/$i.desktop ] ; then - echo "OnlyShowIn=KDE;" >> %{buildroot}%{tde_datadir}/applications/kde/$i.desktop - fi -done - -%if 0%{?with_consolehelper} -# Run kppp through consolehelper, and rename it to 'kppp3' -%__install -p -m644 -D %{SOURCE1} %{buildroot}/etc/pam.d/kppp3 -%__mkdir_p %{buildroot}%{tde_sbindir} %{buildroot}%{_sbindir} -%__mv %{buildroot}%{tde_bindir}/kppp %{buildroot}%{tde_sbindir}/kppp3 -%__ln_s %{_bindir}/consolehelper %{buildroot}%{tde_bindir}/kppp3 -%if "%{tde_prefix}" != "/usr" -%__ln_s %{tde_sbindir}/kppp3 %{?buildroot}%{_sbindir}/kppp3 -%endif -%__mkdir_p %{buildroot}%{_sysconfdir}/security/console.apps -cat > %{buildroot}%{_sysconfdir}/security/console.apps/kppp3 < - 3.5.13.2-1 -- Initial release for TDE 3.5.13.2 diff --git a/redhat/tdepim/kdepim-3.5.12.spec b/redhat/tdepim/kdepim-3.5.12.spec new file mode 100644 index 000000000..a8134cd94 --- /dev/null +++ b/redhat/tdepim/kdepim-3.5.12.spec @@ -0,0 +1,153 @@ +# Default version for this component +%if "%{?version}" == "" +%define version 3.5.12 +%define release 6 +%endif + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_prefix}/share/doc +%endif + +# TDE 3.5.12 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir} +%define tde_libdir %{_libdir}/kde3 + + +Name: trinity-kdepim +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} +License: GPL +Group: Applications/Productivity + +Vendor: Trinity Project +Packager: Francois Andriot +Summary: PIM (Personal Information Manager) applications + +Prefix: %{_prefix} + +Source0: kdepim-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +# TDE official patches from SVN, unmodified +# Attempt to fix a kdepim FTBFS based on a missing stdc header #include +Patch0: http://www.trinitydesktop.org/patches/r1228885.diff + +BuildRequires: tqtinterface +BuildRequires: trinity-arts +BuildRequires: trinity-kdelibs +BuildRequires: gpgme-devel +BuildRequires: libgpg-error-devel +BuildRequires: flex +BuildRequires: libical-devel +BuildRequires: gnokii-devel + +%if 0%{?fedora} >= 15 +BuildRequires: flex-static +%endif + +Requires: trinity-kdelibs + +%description +PIM (Personal Information Manager) applications. + + +%package devel +Requires: %{name} +Summary: %{name} - Development files +Group: Development/Libraries +%description devel +Development files for %{name}. + + +%prep +%setup -q -n kdepim +%patch0 -p1 + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%configure \ + --disable-rpath \ + --enable-new-ldflags \ + --disable-dependency-tracking \ + --disable-debug --disable-warnings --enable-final \ + --with-extra-includes=%{_includedir}/tqt + +# Do NOT use %{?_smp_mflags} for this package, or it will fail to build ! +%__make + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{?buildroot} + +%clean +%__rm -rf %{?buildroot} + +%files +%defattr(-,root,root,-) +%{_bindir}/* +%{_datadir}/applications/kde/*.desktop +%{_datadir}/applnk/.hidden/* +%{_datadir}/applnk/*/* +%{_datadir}/apps/* +%{_datadir}/autostart/*.desktop +%{_datadir}/config/* +%{_datadir}/icons/* +%{_datadir}/services/* +%{_datadir}/mimelnk/application/* +%{_datadir}/config.kcfg/* +%{_libdir}/lib*.so.* +%{tde_libdir}/*.so +%{tde_libdir}/*.so.* +%{tde_libdir}/plugins/designer/*.so +%{_datadir}/servicetypes/* +%{_libdir}/kconf_update_bin/* +%{_libdir}/libakregatorprivate.so +%{_libdir}/libkmailprivate.so +%{tde_docdir}/HTML/en/* + +%files devel +%defattr(-,root,root,-) +%{_libdir}/*.la +%{_libdir}/*.so +%{_includedir}/* +%{tde_libdir}/*.la +%{tde_libdir}/plugins/designer/*.la +%exclude %{_libdir}/libakregatorprivate.so +%exclude %{_libdir}/libkmailprivate.so + +%changelog +* Sun Sep 18 2011 Francois Andriot - 3.5.12-6 +- Add RHEL5 support + +* Mon Sep 05 2011 Francois Andriot - 3.5.12-5 +- Import to GIT + +* Tue Aug 23 2011 Francois Andriot - 3.5.12-4 +- Correct (again) macro to install under "/opt", if desired +- Add missing BuildRequires +- Add 'patch0' to allow compilation with GCC >= 4.5 + +* Mon Aug 22 2011 Francois Andriot - 3.5.12-3 +- Correct macro to install under "/opt", if desired + +* Sun Dec 19 2010 Francois Andriot - 3.5.12-2 +- Rebuilt + +* Fri Dec 17 2010 Francois Andriot - 3.5.12-1 +- Add macro _kde3_prefix to define custom installation prefix (ex: /opt/kde3) +- Add '--with-extra-includes=%{_includedir}/tqt' + +* Wed Dec 15 2010 Francois Andriot - 3.5.12-0 +- Initial version + diff --git a/redhat/tdepim/kdepim-3.5.13.1.spec b/redhat/tdepim/kdepim-3.5.13.1.spec new file mode 100644 index 000000000..e95b6798e --- /dev/null +++ b/redhat/tdepim/kdepim-3.5.13.1.spec @@ -0,0 +1,2166 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +BuildRequires: cmake >= 2.8 +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +# KDEPIM specific features +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_gnokii 1 +BuildRequires: gnokii-devel +%endif + +# TDEPIM optional features +#define with_kitchensync 0 + + +Name: trinity-tdepim +Version: 3.5.13.1 +Release: 2%{?dist}%{?_variant} +License: GPL +Group: Applications/Productivity + +Vendor: Trinity Project +Packager: Francois Andriot +Summary: Personal Information Management apps from the official Trinity release + +Prefix: %{tde_prefix} + +Source0: kdepim-3.5.13.1.tar.gz + +# [tdepim] Fix include directory location for installer .h files +Patch13: kdepim-3.5.13-fix_include_directory.patch +# [tdepim] Missing LDFLAGS cause FTBFS on MGA2/MDV2011 +Patch14: kdepim-3.5.13-missing_ldflags.patch + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-kdelibs-devel >= %{version} +BuildRequires: trinity-libcaldav-devel +BuildRequires: trinity-libcarddav-devel + +BuildRequires: gpgme-devel +BuildRequires: libgpg-error-devel +BuildRequires: flex +BuildRequires: libical-devel +BuildRequires: boost-devel +BuildRequires: pcre-devel +BuildRequires: glib2-devel +BuildRequires: gcc-c++ make +BuildRequires: libidn-devel + +%if 0%{?fedora} >= 15 +BuildRequires: flex-static +%endif +%if 0%{?rhel} > 0 && 0%{?rhel} <= 5 +BuildRequires: trinity-libcurl-devel +%else +BuildRequires: curl-devel +%endif + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel +BuildRequires: %{_lib}sasl2-devel +%else +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} +BuildRequires: libXcomposite-devel +%endif +BuildRequires: cyrus-sasl-devel +%endif + +Requires: trinity-libtdepim = %{version}-%{release} +Requires: %{name}-kfile-plugins = %{version}-%{release} +Requires: %{name}-kio-plugins = %{version}-%{release} +Requires: %{name}-kresources = %{version}-%{release} +Requires: %{name}-wizards = %{version}-%{release} +Requires: trinity-akregator = %{version}-%{release} +Requires: trinity-kaddressbook = %{version}-%{release} +Requires: trinity-kalarm = %{version}-%{release} +Requires: trinity-kandy = %{version}-%{release} +Requires: trinity-karm = %{version}-%{release} +Requires: trinity-kleopatra = %{version}-%{release} +Requires: trinity-kmail = %{version}-%{release} +Requires: trinity-kmailcvt = %{version}-%{release} +Requires: trinity-kmobile = %{version}-%{release} +Requires: trinity-knode = %{version}-%{release} +Requires: trinity-knotes = %{version}-%{release} +Requires: trinity-kode = %{version}-%{release} +Requires: trinity-konsolekalendar = %{version}-%{release} +Requires: trinity-kontact = %{version}-%{release} +Requires: trinity-korganizer = %{version}-%{release} +Requires: trinity-korn = %{version}-%{release} +Requires: trinity-ktnef = %{version}-%{release} +Requires: trinity-libindex = %{version}-%{release} +Requires: trinity-libkcal = %{version}-%{release} +Requires: trinity-libkgantt = %{version}-%{release} +Requires: trinity-libkleopatra = %{version}-%{release} +Requires: trinity-libkmime = %{version}-%{release} +Requires: trinity-libkpimexchange = %{version}-%{release} +Requires: trinity-libkpimidentities = %{version}-%{release} +Requires: trinity-libksieve = %{version}-%{release} +Requires: trinity-libktnef = %{version}-%{release} +Requires: trinity-libmimelib = %{version}-%{release} + +Obsoletes: trinity-kdepim < %{version}-%{release} +Provides: trinity-kdepim = %{version}-%{release} +Obsoletes: tdepim < %{version}-%{release} +Provides: tdepim = %{version}-%{release} + +%description +This metapackage includes a collection of Personal Information Management +(PIM) applications provided with the official release of Trinity. + +%files + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries + +Obsoletes: tdepim-cmake < %{version}-%{release} + +Obsoletes: trinity-kdepim-devel < %{version}-%{release} +Provides: trinity-kdepim-devel = %{version}-%{release} +Obsoletes: tdepim-devel < %{version}-%{release} +Provides: tdepim-devel = %{version}-%{release} + +Requires: %{name} = %{version}-%{release} +Requires: trinity-akregator-devel = %{version}-%{release} +Requires: trinity-libtdepim-devel = %{version}-%{release} +Requires: trinity-kaddressbook-devel = %{version}-%{release} +Requires: trinity-karm-devel = %{version}-%{release} +Requires: trinity-kmail-devel = %{version}-%{release} +Requires: trinity-knode-devel = %{version}-%{release} +Requires: trinity-knotes-devel = %{version}-%{release} +Requires: trinity-kode-devel = %{version}-%{release} +Requires: trinity-kontact-devel = %{version}-%{release} +Requires: trinity-korganizer-devel = %{version}-%{release} +Requires: trinity-libindex-devel = %{version}-%{release} +Requires: trinity-libkcal-devel = %{version}-%{release} +Requires: trinity-libkgantt-devel = %{version}-%{release} +Requires: trinity-libkleopatra-devel = %{version}-%{release} +Requires: trinity-libkmime-devel = %{version}-%{release} +Requires: trinity-libkpimexchange-devel = %{version}-%{release} +Requires: trinity-libkpimidentities-devel = %{version}-%{release} +Requires: trinity-libksieve-devel = %{version}-%{release} +Requires: trinity-libktnef-devel = %{version}-%{release} +Requires: trinity-libmimelib-devel = %{version}-%{release} +Requires: %{name}-kresources-devel = %{version}-%{release} + +%description devel +This metapackage includes all development files for TDE PIM. +It also contains the CMAKE macros. + +%files devel +%{tde_datadir}/cmake/* + +########## + +%package -n trinity-akregator +Summary: RSS feed aggregator for TDE +Group: Applications/Internet +Requires: trinity-libtdepim = %{version}-%{release} +Requires: trinity-libkcal = %{version}-%{release} + +%description -n trinity-akregator +aKregator is a fast, lightweight, and intuitive feed reader program +for TDE. It allows you to quickly browse through hundreds of +thousands of internet feeds in a quick, efficient, and familiar way. + +%files -n trinity-akregator +%{tde_bindir}/akregator +%{tde_tdelibdir}/libakregatorpart.la +%{tde_tdelibdir}/libakregatorpart.so +%{tde_tdelibdir}/libakregator_mk4storage_plugin.la +%{tde_tdelibdir}/libakregator_mk4storage_plugin.so +%{tde_libdir}/libakregatorprivate.so.* +%{tde_tdeappdir}/akregator.desktop +%{tde_datadir}/apps/akregator +%{tde_datadir}/config.kcfg/akregator.kcfg +%{tde_datadir}/config.kcfg/mk4config.kcfg +%{tde_datadir}/icons/crystalsvg/*/actions/rss_tag.png +%{tde_datadir}/icons/crystalsvg/16x16/apps/akregator_empty.png +%{tde_datadir}/icons/hicolor/*/apps/akregator.png +%{tde_datadir}/icons/hicolor/scalable/apps/akregator.svgz +%{tde_datadir}/services/akregator_mk4storage_plugin.desktop +%{tde_datadir}/services/akregator_part.desktop +%{tde_datadir}/services/feed.protocol +%{tde_datadir}/services/kontact/akregatorplugin*.desktop +%{tde_datadir}/servicetypes/akregator_plugin.desktop +%{tde_tdedocdir}/HTML/en/akregator/ + +%post -n trinity-akregator +/sbin/ldconfig || : +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-akregator +/sbin/ldconfig || : +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-akregator-devel +Summary: Development files for trinity-akregator +Group: Development/Libraries +Requires: trinity-akregator = %{version}-%{release} + +%description -n trinity-akregator-devel +%{summary} + +%files -n trinity-akregator-devel +%{tde_tdeincludedir}/akregator/ +%{tde_libdir}/libakregatorprivate.la +%{tde_libdir}/libakregatorprivate.so + +%post -n trinity-akregator-devel +/sbin/ldconfig || : + +%postun -n trinity-akregator-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-kaddressbook +Summary: TDE addressbook application +Group: Applications/Communications +Requires: trinity-kdebase-pim-ioslaves +Requires: %{name}-kresources = %{version}-%{release} + +%description -n trinity-kaddressbook +KAddressBook is the main address book application for TDE; it enables you +to manage your contacts efficiently and comfortably. It can load and save +your contacts to many different locations, including the local file system, +LDAP servers, and SQL databases. + +%files -n trinity-kaddressbook +%{tde_bindir}/kabc2mutt +%{tde_bindir}/kaddressbook +%{tde_bindir}/kabcdistlistupdater +%{tde_tdelibdir}/kcm_kabconfig.la +%{tde_tdelibdir}/kcm_kabconfig.so +%{tde_tdelibdir}/kcm_kabcustomfields.la +%{tde_tdelibdir}/kcm_kabcustomfields.so +%{tde_tdelibdir}/kcm_kabldapconfig.la +%{tde_tdelibdir}/kcm_kabldapconfig.so +%{tde_tdelibdir}/ldifvcardthumbnail.la +%{tde_tdelibdir}/ldifvcardthumbnail.so +%{tde_tdelibdir}/libkaddrbk_*.la +%{tde_tdelibdir}/libkaddrbk_*.so +%{tde_tdelibdir}/libkaddressbookpart.la +%{tde_tdelibdir}/libkaddressbookpart.so +%{tde_libdir}/libkabinterfaces.so.* +%{tde_libdir}/libkaddressbook.so.* +%{tde_tdeappdir}/kaddressbook.desktop +%{tde_datadir}/apps/kaddressbook +%{tde_datadir}/icons/hicolor/*/apps/kaddressbook.png +%{tde_datadir}/services/kabconfig.desktop +%{tde_datadir}/services/kabcustomfields.desktop +%{tde_datadir}/services/kabldapconfig.desktop +%{tde_datadir}/services/kaddressbook +%{tde_datadir}/services/kontact/kaddressbookplugin.desktop +%{tde_datadir}/services/kresources/kabc/imap.desktop +%{tde_datadir}/services/ldifvcardthumbnail.desktop +%{tde_datadir}/servicetypes/dcopaddressbook.desktop +%{tde_datadir}/servicetypes/kaddressbook_contacteditorwidget.desktop +%{tde_datadir}/servicetypes/kaddressbookimprotocol.desktop +%{tde_datadir}/servicetypes/kaddressbook_extension.desktop +%{tde_datadir}/servicetypes/kaddressbook_view.desktop +%{tde_datadir}/servicetypes/kaddressbook_xxport.desktop +%{tde_tdedocdir}/HTML/en/kaddressbook/ +%{tde_datadir}/autostart/kabcdistlistupdater.desktop +%{tde_tdeincludedir}/kaddressbook +%{tde_tdeincludedir}/kabc + +%post -n trinity-kaddressbook +/sbin/ldconfig || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kaddressbook +/sbin/ldconfig || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kaddressbook-devel +Summary: Development files for trinity-kaddressbook +Group: Development/Libraries +Requires: trinity-kaddressbook = %{version}-%{release} + +%description -n trinity-kaddressbook-devel +%{summary} + +%files -n trinity-kaddressbook-devel +%{tde_libdir}/libkabinterfaces.la +%{tde_libdir}/libkabinterfaces.so +%{tde_libdir}/libkaddressbook.la +%{tde_libdir}/libkaddressbook.so + +%post -n trinity-kaddressbook-devel +/sbin/ldconfig || : + +%postun -n trinity-kaddressbook-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-kalarm +Summary: Trinity alarm message, command and email scheduler +Group: Applications/Communications +Requires: trinity-libkpimidentities = %{version}-%{release} + +%description -n trinity-kalarm +KAlarm provides a graphical interface to schedule personal timed events - +pop-up alarm messages, command execution and sending emails. There is a +range of options for configuring recurring events. + +A pop-up alarm can show either a simple text message, or the contents of a +text or image file, It can optionally be spoken, or play a sound file. You +can choose its appearance, and set reminders. Among KAlarm's other +facilities, you can set up templates to allow KAlarm to be used as a 'tea +timer'. + +As an alternative to using the graphical interface, alarms can be scheduled +from the command line or via DCOP calls from other programs. KAlarm is +TDE-based, but will also run on other desktops. + +%files -n trinity-kalarm +%{tde_bindir}/kalarm +%{tde_bindir}/kalarmd +%{tde_tdeappdir}/kalarm.desktop +%{tde_datadir}/applnk/.hidden/kalarmd.desktop +%{tde_datadir}/applnk/Applications/kalarm.desktop +%{tde_datadir}/apps/kalarm +%{tde_datadir}/autostart/kalarm.tray.desktop +%{tde_datadir}/autostart/kalarmd.autostart.desktop +%{tde_datadir}/icons/crystalsvg/*/actions/kalarm.png +%{tde_datadir}/icons/hicolor/*/apps/kalarm.png +%{tde_tdedocdir}/HTML/en/kalarm/ + +%post -n trinity-kalarm +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kalarm +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kandy +Summary: Trinity mobile phone utility +Group: Applications/Communications + +%description -n trinity-kandy +At the moment Kandy is more or less a terminal program with some special +features to store commands and their parameters, but is also has a simple GUI +to access the phone book of a mobile phone and it is able to save this phone +book to the TDE address book. + +Kandy is aimed at mobile phones with integrated (GSM) modems. + +%files -n trinity-kandy +%{tde_bindir}/kandy +%{tde_bindir}/kandy_client +%{tde_tdeappdir}/kandy.desktop +%{tde_datadir}/applnk/Utilities/kandy.desktop +%{tde_datadir}/apps/kandy +%{tde_datadir}/icons/crystalsvg/*/apps/kandy.png +%{tde_datadir}/config.kcfg/kandy.kcfg +%{tde_tdedocdir}/HTML/en/kandy/ + +%post -n trinity-kandy +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kandy +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-karm +Summary: Trinity time tracker tool +Group: Applications/Productivity + +%description -n trinity-karm +KArm is a time tracker for busy people who need to keep track of the amount of +time they spend on various tasks. + +%files -n trinity-karm +%{tde_bindir}/karm +%{tde_libdir}/libkarm.so.* +%{tde_tdelibdir}/libkarmpart.la +%{tde_tdelibdir}/libkarmpart.so +%{tde_tdeappdir}/karm.desktop +%{tde_datadir}/applnk/Utilities/karm.desktop +%{tde_datadir}/apps/karm +%{tde_datadir}/apps/karmpart +%{tde_datadir}/icons/hicolor/*/apps/karm.png +%{tde_datadir}/services/karm_part.desktop +%{tde_datadir}/services/kontact/karmplugin.desktop +%{tde_tdedocdir}/HTML/en/karm/ + +%post -n trinity-karm +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-karm +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-karm-devel +Summary: Development files for karm +Group: Development/Libraries + +%description -n trinity-karm-devel +%{summary} + +%files -n trinity-karm-devel +%{tde_libdir}/libkarm.so +%{tde_libdir}/libkarm.la + +%post -n trinity-karm-devel +/sbin/ldconfig || : + +%postun -n trinity-karm-devel +/sbin/ldconfig || : + +########## + +%package kfile-plugins +Summary: TDE File dialog plugins for palm and vcf files +Group: Environment/Libraries + +Obsoletes: tdepim-kfile-plugins < %{version}-%{release} + +%description kfile-plugins +File dialog plugins for palm and vcf files. + +%files kfile-plugins +%{tde_tdelibdir}/kfile_ics.la +%{tde_tdelibdir}/kfile_ics.so +%{tde_tdelibdir}/kfile_vcf.la +%{tde_tdelibdir}/kfile_vcf.so +%{tde_datadir}/services/kfile_ics.desktop +%{tde_datadir}/services/kfile_vcf.desktop + +########## + +%package kio-plugins +Summary: Trinity pim I/O Slaves +Group: Environment/Libraries + +Obsoletes: tdepim-kio-plugins < %{version}-%{release} + +%description kio-plugins +This package includes the pim kioslaves. This includes imap4, sieve, +and mbox. + +%files kio-plugins +%{tde_tdelibdir}/kio_groupwise.la +%{tde_tdelibdir}/kio_groupwise.so +%{tde_tdelibdir}/kio_imap4.la +%{tde_tdelibdir}/kio_imap4.so +%{tde_tdelibdir}/kio_mbox.la +%{tde_tdelibdir}/kio_mbox.so +%{tde_tdelibdir}/kio_scalix.la +%{tde_tdelibdir}/kio_scalix.so +%{tde_tdelibdir}/kio_sieve.la +%{tde_tdelibdir}/kio_sieve.so +%{tde_datadir}/services/groupwise.protocol +%{tde_datadir}/services/groupwises.protocol +%{tde_datadir}/services/imap4.protocol +%{tde_datadir}/services/imaps.protocol +%{tde_datadir}/services/mbox.protocol +%{tde_datadir}/services/scalix.protocol +%{tde_datadir}/services/scalixs.protocol +%{tde_datadir}/services/sieve.protocol + +########## + +%package kresources +Summary: Trinity pim resource plugins +Group: Environment/Libraries +#Requires: trinity-kaddressbook = %{version}-%{release} +#Requires: trinity-korganizer = %{version}-%{release} +#Requires: trinity-knotes = %{version}-%{release} +Requires: libcaldav +Requires: libcarddav + +Obsoletes: tdepim-kresources < %{version}-%{release} + +%description kresources +This package includes several plugins needed to interface with groupware +servers. It also includes plugins for features such as blogging and +tracking feature plans. + +%files kresources +%{tde_tdelibdir}/kcal_caldav.la +%{tde_tdelibdir}/kcal_caldav.so +%{tde_tdelibdir}/kcal_groupdav.la +%{tde_tdelibdir}/kcal_groupdav.so +%{tde_tdelibdir}/kcal_groupwise.la +%{tde_tdelibdir}/kcal_groupwise.so +%{tde_tdelibdir}/kcal_kolab.la +%{tde_tdelibdir}/kcal_kolab.so +%{tde_tdelibdir}/kcal_scalix.la +%{tde_tdelibdir}/kcal_scalix.so +%{tde_tdelibdir}/kcal_newexchange.la +%{tde_tdelibdir}/kcal_newexchange.so +%{tde_tdelibdir}/kcal_resourcefeatureplan.la +%{tde_tdelibdir}/kcal_resourcefeatureplan.so +%{tde_tdelibdir}/kcal_slox.la +%{tde_tdelibdir}/kcal_slox.so +%{tde_tdelibdir}/kcal_xmlrpc.la +%{tde_tdelibdir}/kcal_xmlrpc.so +%{tde_tdelibdir}/knotes_kolab.la +%{tde_tdelibdir}/knotes_kolab.so +%{tde_tdelibdir}/knotes_scalix.la +%{tde_tdelibdir}/knotes_scalix.so +%{tde_tdelibdir}/knotes_xmlrpc.la +%{tde_tdelibdir}/knotes_xmlrpc.so +%{tde_libdir}/libkabckolab.so.* +%{tde_libdir}/libkabcscalix.so.* +%{tde_libdir}/libkabc_groupdav.so.* +%{tde_libdir}/libkabc_groupwise.so.* +%{tde_libdir}/libkabc_newexchange.so.* +%{tde_libdir}/libkabc_slox.so.* +%{tde_libdir}/libkabc_xmlrpc.so.* +%{tde_libdir}/libkcalkolab.so.* +%{tde_libdir}/libkcalscalix.so.* +%{tde_libdir}/libkcal_caldav.so.* +%{tde_libdir}/libkabc_carddav.so.* +%{tde_libdir}/libkcal_groupdav.so.* +%{tde_libdir}/libkcal_groupwise.so.* +%{tde_libdir}/libkcal_newexchange.so.* +%{tde_libdir}/libkcal_resourcefeatureplan.so.* +%{tde_libdir}/libkcal_slox.so.* +%{tde_libdir}/libkcal_xmlrpc.so.* +%{tde_libdir}/libkgroupwarebase.so.* +%{tde_libdir}/libkgroupwaredav.so.* +%{tde_libdir}/libknoteskolab.so.* +%{tde_libdir}/libknotesscalix.so.* +%{tde_libdir}/libknotes_xmlrpc.so.* +%{tde_libdir}/libkslox.so.* +%{tde_libdir}/libgwsoap.so.* +%{tde_datadir}/services/kresources/kabc/kabc_groupdav.desktop +%{tde_datadir}/services/kresources/kabc/kabc_groupwise.desktop +%{tde_datadir}/services/kresources/kabc/kabc_newexchange.desktop +%{tde_datadir}/services/kresources/kabc/kabc_opengroupware.desktop +%{tde_datadir}/services/kresources/kabc/kabc_ox.desktop +%{tde_datadir}/services/kresources/kabc/kabc_slox.desktop +%{tde_datadir}/services/kresources/kabc/kabc_xmlrpc.desktop +%{tde_datadir}/services/kresources/kabc/kolab.desktop +%{tde_datadir}/services/kresources/kabc/scalix.desktop +%{tde_datadir}/services/kresources/kcal/exchange.desktop +%{tde_datadir}/services/kresources/kcal/kcal_caldav.desktop +%{tde_datadir}/services/kresources/kabc/kabc_carddav.desktop +%{tde_datadir}/services/kresources/kcal/kcal_groupdav.desktop +%{tde_datadir}/services/kresources/kcal/kcal_groupwise.desktop +%{tde_datadir}/services/kresources/kcal/kcal_newexchange.desktop +%{tde_datadir}/services/kresources/kcal/kcal_opengroupware.desktop +%{tde_datadir}/services/kresources/kcal/kcal_ox.desktop +%{tde_datadir}/services/kresources/kcal/kcal_resourcefeatureplan.desktop +%{tde_datadir}/services/kresources/kcal/kcal_slox.desktop +%{tde_datadir}/services/kresources/kcal/kcal_xmlrpc.desktop +%{tde_datadir}/services/kresources/kcal/kolab.desktop +%{tde_datadir}/services/kresources/kcal/scalix.desktop +%{tde_datadir}/services/kresources/knotes/knotes_xmlrpc.desktop +%{tde_datadir}/services/kresources/knotes/kolabresource.desktop +%{tde_datadir}/services/kresources/knotes/scalix.desktop + +%{tde_datadir}/apps/kconf_update/upgrade-resourcetype.pl +%{tde_datadir}/apps/kconf_update/kolab-resource.upd + +%{tde_tdelibdir}/kabc_carddav.la +%{tde_tdelibdir}/kabc_carddav.so +%{tde_tdelibdir}/kabc_groupdav.la +%{tde_tdelibdir}/kabc_groupdav.so +%{tde_tdelibdir}/kabc_groupwise.la +%{tde_tdelibdir}/kabc_groupwise.so +%{tde_tdelibdir}/kabc_kolab.la +%{tde_tdelibdir}/kabc_kolab.so +%{tde_tdelibdir}/kabc_newexchange.la +%{tde_tdelibdir}/kabc_newexchange.so +%{tde_tdelibdir}/kabc_scalix.la +%{tde_tdelibdir}/kabc_scalix.so +%{tde_tdelibdir}/kabc_slox.la +%{tde_tdelibdir}/kabc_slox.so +%{tde_tdelibdir}/kabc_xmlrpc.la +%{tde_tdelibdir}/kabc_xmlrpc.so + +%post kresources +/sbin/ldconfig || : + +%postun kresources +/sbin/ldconfig || : + +########## + +%package kresources-devel +Summary: Development files for kresources +Group: Development/Libraries +Requires: %{name}-kresources = %{version}-%{release} +Requires: libcaldav +Requires: libcarddav + +Obsoletes: tdepim-kresources-devel < %{version}-%{release} + +%description kresources-devel +%{summary} + +%files kresources-devel +%{tde_libdir}/libkslox.la +%{tde_libdir}/libkslox.so +%{tde_libdir}/libkabc_groupdav.la +%{tde_libdir}/libkabc_groupdav.so +%{tde_libdir}/libkabc_groupwise.la +%{tde_libdir}/libkabc_groupwise.so +%{tde_libdir}/libgwsoap.la +%{tde_libdir}/libgwsoap.so +%{tde_libdir}/libkabc_carddav.la +%{tde_libdir}/libkabc_carddav.so +%{tde_libdir}/libkabc_newexchange.la +%{tde_libdir}/libkabc_newexchange.so +%{tde_libdir}/libkabc_slox.la +%{tde_libdir}/libkabc_slox.so +%{tde_libdir}/libkabc_xmlrpc.la +%{tde_libdir}/libkabc_xmlrpc.so +%{tde_libdir}/libkabckolab.la +%{tde_libdir}/libkabckolab.so +%{tde_libdir}/libkabcscalix.la +%{tde_libdir}/libkabcscalix.so +%{tde_libdir}/libkcal_caldav.la +%{tde_libdir}/libkcal_caldav.so +%{tde_libdir}/libkcal_groupdav.la +%{tde_libdir}/libkcal_groupdav.so +%{tde_libdir}/libkcal_groupwise.la +%{tde_libdir}/libkcal_groupwise.so +%{tde_libdir}/libkcal_newexchange.la +%{tde_libdir}/libkcal_newexchange.so +%{tde_libdir}/libkcal_resourcefeatureplan.la +%{tde_libdir}/libkcal_resourcefeatureplan.so +%{tde_libdir}/libkcal_slox.la +%{tde_libdir}/libkcal_slox.so +%{tde_libdir}/libkcal_xmlrpc.la +%{tde_libdir}/libkcal_xmlrpc.so +%{tde_libdir}/libkcalkolab.la +%{tde_libdir}/libkcalkolab.so +%{tde_libdir}/libkcalscalix.la +%{tde_libdir}/libkcalscalix.so +%{tde_libdir}/libkgroupwarebase.la +%{tde_libdir}/libkgroupwarebase.so +%{tde_libdir}/libkgroupwaredav.la +%{tde_libdir}/libkgroupwaredav.so +%{tde_libdir}/libknotes_xmlrpc.la +%{tde_libdir}/libknotes_xmlrpc.so +%{tde_libdir}/libknoteskolab.la +%{tde_libdir}/libknoteskolab.so +%{tde_libdir}/libknotesscalix.la +%{tde_libdir}/libknotesscalix.so +%{tde_tdeincludedir}/kpimprefs.h + +%post kresources-devel +/sbin/ldconfig || : + +%postun kresources-devel +/sbin/ldconfig || : + +########## + +%package wizards +Summary: Trinity server configuration wizards +Group: Applications/Communications + +Obsoletes: tdepim-wizards < %{version}-%{release} + +%description wizards +This package contains KDE-based wizards for configuring eGroupware, +Kolab, and SUSE Linux Openexchange servers. + +%files wizards +%{tde_bindir}/egroupwarewizard +%{tde_bindir}/exchangewizard +%{tde_bindir}/groupwarewizard +%{tde_bindir}/groupwisewizard +%{tde_bindir}/kolabwizard +%{tde_bindir}/scalixadmin +%{tde_bindir}/scalixwizard +%{tde_bindir}/sloxwizard +%{tde_tdelibdir}/libegroupwarewizard.la +%{tde_tdelibdir}/libegroupwarewizard.so +%{tde_tdelibdir}/libexchangewizard.la +%{tde_tdelibdir}/libexchangewizard.so +%{tde_tdelibdir}/libgroupwisewizard.la +%{tde_tdelibdir}/libgroupwisewizard.so +%{tde_tdelibdir}/libkolabwizard.la +%{tde_tdelibdir}/libkolabwizard.so +%{tde_tdelibdir}/libscalixwizard.la +%{tde_tdelibdir}/libscalixwizard.so +%{tde_tdelibdir}/libsloxwizard.la +%{tde_tdelibdir}/libsloxwizard.so +%{tde_tdeappdir}/groupwarewizard.desktop +%{tde_datadir}/config.kcfg/egroupware.kcfg +%{tde_datadir}/config.kcfg/groupwise.kcfg +%{tde_datadir}/config.kcfg/kolab.kcfg +%{tde_datadir}/config.kcfg/scalix.kcfg +%{tde_datadir}/config.kcfg/slox.kcfg + +%post wizards +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun wizards +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%if 0%{?with_kitchensync} +%package -n trinity-kitchensync +Summary: Synchronization framework +Group: Applications/Communications +BuildRequires: opensync-devel +#Suggests: konqueror-trinity +#Conflicts: kdebluetooth-irmcsync-trinity (<< 0.99+1.0beta2-4.1), ksync-trinity + +%description -n trinity-kitchensync +This package contains a synchronization framework, still under heavy +development (?). Kitchensync uses opensync. + +%files -n trinity-kitchensync +%{tde_bindir}/kitchensync +%{tde_tdelibdir}/libkitchensyncpart.la +%{tde_tdelibdir}/libkitchensyncpart.so +%{tde_datadir}/apps/kitchensync +%{tde_libdir}/libkitchensync.so.* +%{tde_libdir}/libqopensync.so.* +%{tde_tdeappdir}/kitchensync.desktop +%{tde_datadir}/icons/hicolor/*/apps/kitchensync.png + +%post -n trinity-kitchensync +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kitchensync +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : +%endif + +########## + +%package -n trinity-kleopatra +Summary: Trinity Certificate Manager +Group: Applications/Communications +%if 0%{?suse_version} +Requires: gpg2 +Requires: pinentry +Requires: dirmngr +%endif +%if 0%{?rhel} == 4 +Requires: gnupg +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} +Requires: gnupg2 +Requires: pinentry +Requires: dirmngr +%endif + +%description -n trinity-kleopatra +Kleopatra is the TDE tool for managing X.509 certificates in the gpgsm +keybox and for retrieving certificates from LDAP servers. + +%files -n trinity-kleopatra +%{tde_bindir}/kleopatra +%{tde_bindir}/kwatchgnupg +%{tde_tdelibdir}/kcm_kleopatra.la +%{tde_tdelibdir}/kcm_kleopatra.so +%{tde_tdeappdir}/kleopatra_import.desktop +%{tde_datadir}/apps/kleopatra +%{tde_datadir}/apps/kwatchgnupg +%{tde_datadir}/services/kleopatra_config_*.desktop +%{tde_tdedocdir}/HTML/en/kleopatra/ +%{tde_tdedocdir}/HTML/en/kwatchgnupg/ + +%post -n trinity-kleopatra +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kleopatra +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kmail +Summary: Trinity Email client +Group: Applications/Communications +Requires: %{name}-kio-plugins = %{version}-%{release} +%if 0%{?suse_version} +Requires: gpg2 +Requires: pinentry +%endif +%if 0%{?rhel} == 4 +Requires: gnupg +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} +Requires: gnupg2 +Requires: pinentry +%endif +Requires: procmail +Requires: trinity-kaddressbook = %{version}-%{release} +Requires: trinity-kleopatra = %{version}-%{release} +Requires: trinity-kdebase-pim-ioslaves + +Provides: imap-client, mail-reader + +%description -n trinity-kmail +KMail is a fully-featured email client that fits nicely into the TDE +desktop. It has features such as support for IMAP, POP3, multiple accounts, +mail filtering and sorting, PGP/GnuPG privacy, and inline attachments. + +You need to install %{name}-kio-plugins if you want to use IMAP or +mbox files, and/or trinity-tdebase-kio-plugins if you want to use POP3. + +%files -n trinity-kmail +%{tde_datadir}/config/kmail.antispamrc +%{tde_datadir}/config/kmail.antivirusrc +%{tde_bindir}/kmail +%{tde_bindir}/kmail_*.sh +%{tde_tdelibdir}/kcm_kmail.la +%{tde_tdelibdir}/kcm_kmail.so +%{tde_tdelibdir}/libkmail_bodypartformatter_application_octetstream.la +%{tde_tdelibdir}/libkmail_bodypartformatter_application_octetstream.so +%{tde_tdelibdir}/libkmail_bodypartformatter_text_calendar.la +%{tde_tdelibdir}/libkmail_bodypartformatter_text_calendar.so +%{tde_tdelibdir}/libkmail_bodypartformatter_text_vcard.la +%{tde_tdelibdir}/libkmail_bodypartformatter_text_vcard.so +%{tde_tdelibdir}/libkmail_bodypartformatter_text_xdiff.la +%{tde_tdelibdir}/libkmail_bodypartformatter_text_xdiff.so +%{tde_tdelibdir}/libkmailpart.la +%{tde_tdelibdir}/libkmailpart.so +%{tde_tdeappdir}/KMail.desktop +%{tde_tdeappdir}/kmail_view.desktop +%{tde_datadir}/apps/kconf_update/kmail-3.1-update-new-mail-notification-settings.pl +%{tde_datadir}/apps/kconf_update/kmail-3.1-use-UOID-for-identities.pl +%{tde_datadir}/apps/kconf_update/kmail-3.1.4-dont-use-UOID-0-for-any-identity.pl +%{tde_datadir}/apps/kconf_update/kmail-3.2-misc.sh +%{tde_datadir}/apps/kconf_update/kmail-3.2-update-loop-on-goto-unread-settings.sh +%{tde_datadir}/apps/kconf_update/kmail-3.3-aegypten.pl +%{tde_datadir}/apps/kconf_update/kmail-3.3-misc.pl +%{tde_datadir}/apps/kconf_update/kmail-3.3-move-identities.pl +%{tde_datadir}/apps/kconf_update/kmail-3.3-split-sign-encr-keys.sh +%{tde_datadir}/apps/kconf_update/kmail-3.3-use-ID-for-accounts.pl +%{tde_datadir}/apps/kconf_update/kmail-3.3b1-misc.pl +%{tde_datadir}/apps/kconf_update/kmail-3.4-misc.pl +%{tde_datadir}/apps/kconf_update/kmail-3.4.1-update-status-filters.pl +%{tde_datadir}/apps/kconf_update/kmail-3.5-trigger-flag-migration.pl +%{tde_datadir}/apps/kconf_update/kmail-3.5-filter-icons.pl +%{tde_datadir}/apps/kconf_update/kmail-pgpidentity.pl +%{tde_datadir}/apps/kconf_update/kmail-upd-identities.pl +%{tde_datadir}/apps/kconf_update/kmail.upd +%{tde_datadir}/apps/kconf_update/upgrade-signature.pl +%{tde_datadir}/apps/kconf_update/upgrade-transport.pl +%{tde_datadir}/apps/kmail +%{tde_datadir}/config.kcfg/custommimeheader.kcfg +%{tde_datadir}/config.kcfg/kmail.kcfg +%{tde_datadir}/config.kcfg/customtemplates_kfg.kcfg +%{tde_datadir}/config.kcfg/replyphrases.kcfg +%{tde_datadir}/config.kcfg/templatesconfiguration_kfg.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/kmaillight.png +%{tde_datadir}/icons/hicolor/*/apps/kmail.png +%{tde_datadir}/icons/hicolor/scalable/apps/kmail.svgz +%{tde_datadir}/services/kmail_config_*.desktop +%{tde_datadir}/services/kontact/kmailplugin.desktop +%{tde_datadir}/servicetypes/dcopimap.desktop +%{tde_datadir}/servicetypes/dcopmail.desktop +# 'libkmailprivate.so' is required at runtime, not devel ! +%{tde_libdir}/libkmailprivate.so +%{tde_libdir}/libkmailprivate.la +%{tde_tdedocdir}/HTML/en/kmail/ + +%post -n trinity-kmail +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kmail +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kmail-devel +Summary: Development files for kmail +Group: Development/Libraries + +%description -n trinity-kmail-devel +%{summary} + +%files -n trinity-kmail-devel +%{tde_tdeincludedir}/kmail/ +%{tde_tdeincludedir}/kmail*.h + +%post -n trinity-kmail-devel +/sbin/ldconfig || : + +%postun -n trinity-kmail-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-kmailcvt +Summary: Trinity KMail mail folder converter +Group: Applications/Communications +Requires: trinity-kmail = %{version}-%{release} + +%description -n trinity-kmailcvt +Converts mail folders to KMail format. Formats supported for import +include Outlook Express, Evolution, and plain mbox. + +%files -n trinity-kmailcvt +%{tde_bindir}/kmailcvt +%{tde_datadir}/applnk/Utilities/kmailcvt.desktop +%{tde_datadir}/apps/kmailcvt +%{tde_datadir}/icons/crystalsvg/*/apps/kmailcvt.png + +%post -n trinity-kmailcvt +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done + +%postun -n trinity-kmailcvt +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done + +########## + +%package -n trinity-knode +Summary: Trinity news reader +Group: Applications/Internet + +%description -n trinity-knode +KNode is an easy-to-use, convenient newsreader. It is intended to be usable +by inexperienced users, but also includes support for such features as +MIME attachments, article scoring, and creating and verifying GnuPG +signatures. + +%files -n trinity-knode +%{tde_bindir}/knode +%{tde_tdelibdir}/kcm_knode.la +%{tde_tdelibdir}/kcm_knode.so +%{tde_tdelibdir}/libknodepart.la +%{tde_tdelibdir}/libknodepart.so +%{tde_libdir}/libknodecommon.so.* +%{tde_tdeappdir}/KNode.desktop +%{tde_datadir}/apps/knode/ +%{tde_datadir}/icons/hicolor/*/apps/knode.png +%{tde_datadir}/icons/hicolor/*/apps/knode2.png +%{tde_datadir}/services/knewsservice.protocol +%{tde_datadir}/services/knode_config_*.desktop +%{tde_datadir}/services/kontact/knodeplugin.desktop +%{tde_tdedocdir}/HTML/en/knode/ + +%post -n trinity-knode +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-knode +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-knode-devel +Summary: Development files for trinity-knode +Group: Development/Libraries +Requires: trinity-knode = %{version}-%{release} + +%description -n trinity-knode-devel +%{summary} + +%files -n trinity-knode-devel +%{tde_libdir}/libknodecommon.la +%{tde_libdir}/libknodecommon.so + +%post -n trinity-knode-devel +/sbin/ldconfig || : + +%postun -n trinity-knode-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-knotes +Summary: Trinity sticky notes +Group: Applications/Utilities +Requires: trinity-tdepim-kresources = %{version}-%{release} + +%description -n trinity-knotes +KNotes is a program that lets you write sticky notes. The notes are saved +automatically when you exit the program, and they display when you open the +program. The program supports printing and mailing your notes. + +%files -n trinity-knotes +%{tde_bindir}/knotes +%{tde_tdelibdir}/knotes_local.la +%{tde_tdelibdir}/knotes_local.so +%{tde_libdir}/libknotes.so.* +%{tde_tdeappdir}/knotes.desktop +%{tde_datadir}/apps/knotes +%{tde_datadir}/config.kcfg/knoteconfig.kcfg +%{tde_datadir}/config.kcfg/knotesglobalconfig.kcfg +%{tde_datadir}/icons/hicolor/*/apps/knotes.png +%{tde_datadir}/services/kresources/knotes/imap.desktop +%{tde_datadir}/services/kresources/knotes/local.desktop +%{tde_datadir}/services/kresources/knotes_manager.desktop +%{tde_datadir}/services/kontact/knotesplugin.desktop +%{tde_tdedocdir}/HTML/en/knotes/ + +%post -n trinity-knotes +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-knotes +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-knotes-devel +Summary: Development files for knots +Group: Development/Libraries +Requires: trinity-knotes = %{version}-%{release} +Requires: %{name}-kresources-devel = %{version}-%{release} + +%description -n trinity-knotes-devel +%{summary} + +%files -n trinity-knotes-devel +%{tde_libdir}/libknotes.so +%{tde_libdir}/libknotes.la +%{tde_tdeincludedir}/KNotesAppIface.h +%{tde_tdeincludedir}/KNotesIface.h + +%post -n trinity-knotes-devel +/sbin/ldconfig || : + +%postun -n trinity-knotes-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-kode +Summary: Helper library for programmatic generation of C++ code +Group: Development/Libraries + +%description -n trinity-kode +This package includes a program kode for generation of C++ template files +and kxml_compiler for generation of C++ classes representing XML data +described by RelaxNG schemes. + +%files -n trinity-kode +%{tde_bindir}/kode +%{tde_bindir}/kxml_compiler +%{tde_libdir}/libkode.so.* + +%post -n trinity-kode +/sbin/ldconfig || : + +%postun -n trinity-kode +/sbin/ldconfig || : + +########## + +%package -n trinity-kode-devel +Summary: Development files for trinity-kode +Group: Development/Libraries +Requires: trinity-kode = %{version}-%{release} + +%description -n trinity-kode-devel +%{summary} + +%files -n trinity-kode-devel +%{tde_libdir}/libkode.la +%{tde_libdir}/libkode.so + +%post -n trinity-kode-devel +/sbin/ldconfig || : + +%postun -n trinity-kode-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-konsolekalendar +Summary: Trinity konsole personal organizer +Group: Applications/Productivity + +%description -n trinity-konsolekalendar +KonsoleKalendar is a command-line interface to TDE calendars. +Konsolekalendar complements the TDE KOrganizer by providing a console +frontend to manage your calendars. + +%files -n trinity-konsolekalendar +%{tde_bindir}/konsolekalendar +%{tde_tdeappdir}/konsolekalendar.desktop +%{tde_datadir}/icons/crystalsvg/*/apps/konsolekalendar.png +%{tde_tdedocdir}/HTML/en/konsolekalendar/ + +%post -n trinity-konsolekalendar +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-konsolekalendar +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kontact +Summary: Trinity pim application +Group: Applications/Communications +Requires: trinity-kmail = %{version}-%{release} +Requires: trinity-korganizer = %{version}-%{release} +Requires: trinity-kaddressbook = %{version}-%{release} +Requires: trinity-knode = %{version}-%{release} +Requires: trinity-knotes = %{version}-%{release} +Requires: trinity-akregator = %{version}-%{release} + +%description -n trinity-kontact +Kontact is the integrated solution to your personal information management +needs. It combines TDE applications like KMail, KOrganizer, and +KAddressBook into a single interface to provide easy access to mail, +scheduling, address book and other PIM functionality. + +%files -n trinity-kontact +%{tde_bindir}/kontact +%{tde_tdelibdir}/kcm_kmailsummary.la +%{tde_tdelibdir}/kcm_kmailsummary.so +%{tde_tdelibdir}/kcm_kontact.la +%{tde_tdelibdir}/kcm_kontact.so +%{tde_tdelibdir}/kcm_kontactknt.la +%{tde_tdelibdir}/kcm_kontactknt.so +%{tde_tdelibdir}/kcm_kontactsummary.la +%{tde_tdelibdir}/kcm_kontactsummary.so +%{tde_tdelibdir}/kcm_korgsummary.la +%{tde_tdelibdir}/kcm_korgsummary.so +%{tde_tdelibdir}/kcm_sdsummary.la +%{tde_tdelibdir}/kcm_sdsummary.so +%{tde_tdelibdir}/libkontact_*.la +%{tde_tdelibdir}/libkontact_*.so +%{tde_libdir}/libkontact.so.* +%{tde_libdir}/libkpinterfaces.so.* +%{tde_tdeappdir}/Kontact.desktop +%{tde_tdeappdir}/kontactdcop.desktop +%{tde_datadir}/apps/kontact +%{tde_datadir}/apps/kontactsummary/kontactsummary_part.rc +%{tde_datadir}/config.kcfg/kontact.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kontact.png +%{tde_datadir}/icons/crystalsvg/*/actions/kontact_*.png +%{tde_datadir}/services/kcmkmailsummary.desktop +%{tde_datadir}/services/kcmkontactknt.desktop +%{tde_datadir}/services/kcmkontactsummary.desktop +%{tde_datadir}/services/kcmkorgsummary.desktop +%{tde_datadir}/services/kcmsdsummary.desktop +%{tde_datadir}/services/kontact/newstickerplugin.desktop +%{tde_datadir}/services/kontact/specialdatesplugin.desktop +%{tde_datadir}/services/kontact/summaryplugin.desktop +%{tde_datadir}/services/kontact/weatherplugin.desktop +%{tde_datadir}/services/kontactconfig.desktop +%{tde_datadir}/servicetypes/kontactplugin.desktop +%{tde_tdedocdir}/HTML/en/kontact/ +%{tde_tdedocdir}/HTML/en/kpilot/ + +%post -n trinity-kontact +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kontact +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kontact-devel +Summary: Development files for kontact +Group: Development/Libraries +Requires: trinity-kontact = %{version}-%{release} + +%description -n trinity-kontact-devel +%{summary} + +%files -n trinity-kontact-devel +%{tde_libdir}/libkontact.la +%{tde_libdir}/libkontact.so +%{tde_libdir}/libkpinterfaces.la +%{tde_libdir}/libkpinterfaces.so +%{tde_tdeincludedir}/kontact/ + +%post -n trinity-kontact-devel +/sbin/ldconfig || : + +%postun -n trinity-kontact-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-korganizer +Summary: Trinity personal organizer +Group: Applications/Productivity +Requires: trinity-libkpimidentities = %{version}-%{release} +Requires: trinity-libkpimexchange = %{version}-%{release} +Requires: %{name}-kresources = %{version}-%{release} +Requires: perl + +%description -n trinity-korganizer +This package contains KOrganizer, a calendar and scheduling program. + +KOrganizer aims to be a complete program for organizing appointments, +contacts, projects, etc. KOrganizer natively supports information interchange +with other calendar applications, through the industry standard vCalendar +personal data interchange file format. This eases the move from other +modern PIMs to KOrganizer. + +KOrganizer offers full synchronization with Palm Pilots, if kpilot is +installed. + +%files -n trinity-korganizer +%{tde_bindir}/ical2vcal +%{tde_bindir}/korgac +%{tde_bindir}/korganizer +%{tde_tdelibdir}/kcm_korganizer.la +%{tde_tdelibdir}/kcm_korganizer.so +%{tde_tdelibdir}/libkorg_*.la +%{tde_tdelibdir}/libkorg_*.so +%{tde_tdelibdir}/libkorganizerpart.la +%{tde_tdelibdir}/libkorganizerpart.so +%{tde_libdir}/libkocorehelper.so.* +%{tde_libdir}/libkorg_stdprinting.so.* +%{tde_libdir}/libkorganizer.so.* +%{tde_libdir}/libkorganizer_calendar.so.* +%{tde_libdir}/libkorganizer_eventviewer.so.* +%{tde_tdeappdir}/korganizer.desktop +%{tde_datadir}/apps/kconf_update/korganizer.upd +%{tde_datadir}/apps/korgac +%{tde_datadir}/apps/korganizer +%{tde_datadir}/autostart/korgac.desktop +%{tde_datadir}/config.kcfg/korganizer.kcfg +%{tde_datadir}/icons/hicolor/*/apps/korganizer.png +%{tde_datadir}/services/kontact/korganizerplugin.desktop +%{tde_datadir}/services/kontact/journalplugin.desktop +%{tde_datadir}/services/kontact/todoplugin.desktop +%{tde_datadir}/services/korganizer_*.desktop +%{tde_datadir}/services/korganizer +%{tde_datadir}/services/webcal.protocol +%{tde_datadir}/servicetypes/calendardecoration.desktop +%{tde_datadir}/servicetypes/calendarplugin.desktop +%{tde_datadir}/servicetypes/dcopcalendar.desktop +%{tde_datadir}/servicetypes/korganizerpart.desktop +%{tde_datadir}/servicetypes/korgprintplugin.desktop +%{tde_tdedocdir}/HTML/en/korganizer/ + +%post -n trinity-korganizer +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-korganizer +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-korganizer-devel +Summary: Development files for korganizer +Group: Development/Libraries +Requires: trinity-korganizer = %{version}-%{release} + +%description -n trinity-korganizer-devel +%{summary} + +%files -n trinity-korganizer-devel +%{tde_tdeincludedir}/korganizer/ +%{tde_tdeincludedir}/calendar/ +%{tde_libdir}/libkocorehelper.la +%{tde_libdir}/libkocorehelper.so +%{tde_libdir}/libkorg_stdprinting.la +%{tde_libdir}/libkorg_stdprinting.so +%{tde_libdir}/libkorganizer.la +%{tde_libdir}/libkorganizer.so +%{tde_libdir}/libkorganizer_calendar.la +%{tde_libdir}/libkorganizer_calendar.so +%{tde_libdir}/libkorganizer_eventviewer.la +%{tde_libdir}/libkorganizer_eventviewer.so + +%post -n trinity-korganizer-devel +/sbin/ldconfig || : + +%postun -n trinity-korganizer-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-korn +Summary: Trinity mail checker +Group: Applications/Communications +Requires: %{name}-kio-plugins = %{version}-%{release} +#Requires: tdebase-kio-plugins-trinity + +%description -n trinity-korn +Korn is a TDE mail checker that can display a small summary in the Kicker +tray. It supports checking mbox, pop3, imap4, and nntp sources. + +Once mail is received you can have Korn run a third party program or change +the color/icon of the Kicker display. In addition to this you can have +Korn run a program once you click on the docked icon in Kicker. + +%files -n trinity-korn +%{tde_bindir}/korn +%{tde_libdir}/kconf_update_bin/korn-3-4-config_change +%{tde_tdeappdir}/KOrn.desktop +%{tde_datadir}/apps/kconf_update/korn-3-4-config_change.upd +%{tde_datadir}/apps/kconf_update/korn-3-5-metadata-update.pl +%{tde_datadir}/apps/kconf_update/korn-3-5-ssl-update.pl +%{tde_datadir}/apps/kconf_update/korn-3-5-update.upd +%{tde_datadir}/icons/hicolor/*/apps/korn.png +%{tde_tdedocdir}/HTML/en/korn/ + +%post -n trinity-korn +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-korn +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ktnef +Summary: Trinity TNEF viewer +Group: Applications/Communications + +%description -n trinity-ktnef +The TNEF File Viewer allows you to handle mail attachments using the TNEF +format. These attachments are usually found in mails coming from Microsoft +mail servers and embed the mail properties as well as the actual attachments. + +%files -n trinity-ktnef +%{tde_bindir}/ktnef +%{tde_tdeappdir}/ktnef.desktop +%{tde_datadir}/apps/ktnef +%{tde_datadir}/icons/hicolor/*/apps/ktnef.png +%{tde_datadir}/icons/locolor/*/apps/ktnef.png +%{tde_datadir}/mimelnk/application/ms-tnef.desktop +%{tde_tdedocdir}/HTML/en/ktnef/ + +%post -n trinity-ktnef +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ktnef +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-libindex +Summary: Trinity indexing library +Group: Environment/Libraries + +%description -n trinity-libindex +This library provides text indexing and is currently used by KMail +to implement fast searches in mail bodies. + +This is the runtime package for programs that use the libindex library. + +%files -n trinity-libindex +%{tde_libdir}/libindex.so.* + +%post -n trinity-libindex +/sbin/ldconfig || : + +%postun -n trinity-libindex +/sbin/ldconfig || : + +########## + +%package -n trinity-libindex-devel +Summary: Trinity indexing library [development] +Group: Development/Libraries +Requires: trinity-libindex = %{version}-%{release} + +%description -n trinity-libindex-devel +This library provides text indexing and is currently used by KMail +to implement searching through mail text. + +This is the development package which contains the headers for the libindex-trinity +library. + +%files -n trinity-libindex-devel +%{tde_bindir}/indexlib-config +%{tde_tdeincludedir}/index +%{tde_libdir}/libindex.la +%{tde_libdir}/libindex.so + +%post -n trinity-libindex-devel +/sbin/ldconfig || : + +%postun -n trinity-libindex-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libkcal +Summary: Trinity calendaring library +Group: Environment/Libraries +#Requires: %{name}-kresources = %{version}-%{release} + +%description -n trinity-libkcal +This library provides a C++ API for handling the vCalendar and iCalendar +formats. + +This is the runtime package for programs that use the libkcal-trinity library. + +%files -n trinity-libkcal +%{tde_tdelibdir}/kcal_kabc.la +%{tde_tdelibdir}/kcal_kabc.so +%{tde_tdelibdir}/kcal_localdir.la +%{tde_tdelibdir}/kcal_localdir.so +%{tde_tdelibdir}/kcal_local.la +%{tde_tdelibdir}/kcal_local.so +%{tde_tdelibdir}/kcal_remote.la +%{tde_tdelibdir}/kcal_remote.so +%{tde_libdir}/libkcal.so.* +%{tde_libdir}/libkcal_resourceremote.so.* +%{tde_libdir}/libkholidays.so.* +%{tde_datadir}/apps/libkholidays +%{tde_datadir}/services/kresources/kcal/imap.desktop +%{tde_datadir}/services/kresources/kcal/kabc.desktop +%{tde_datadir}/services/kresources/kcal/local.desktop +%{tde_datadir}/services/kresources/kcal/localdir.desktop +%{tde_datadir}/services/kresources/kcal/remote.desktop +%{tde_datadir}/services/kresources/kcal_manager.desktop + +%post -n trinity-libkcal +/sbin/ldconfig || : + +%postun -n trinity-libkcal +/sbin/ldconfig || : + +########## + +%package -n trinity-libkcal-devel +Summary: Trinity calendaring library [development] +Group: Development/Libraries +Requires: trinity-libkcal = %{version}-%{release} +Requires: trinity-libtdepim-devel = %{version}-%{release} +Requires: trinity-libktnef-devel = %{version}-%{release} + +%description -n trinity-libkcal-devel +This library provides a C++ API for handling the vCalendar and iCalendar +formats. + +This is the development package which contains the headers for the libkcal-trinity +library. + +%files -n trinity-libkcal-devel +%{tde_tdeincludedir}/libemailfunctions/idmapper.h +%{tde_tdeincludedir}/libkcal +%{tde_libdir}/libkcal.la +%{tde_libdir}/libkcal.so +%{tde_libdir}/libkcal_resourceremote.la +%{tde_libdir}/libkcal_resourceremote.so +%{tde_libdir}/libkholidays.la +%{tde_libdir}/libkholidays.so + +%post -n trinity-libkcal-devel +/sbin/ldconfig || : + +%postun -n trinity-libkcal-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libtdepim +Summary: Trinity PIM library +Group: Environment/Libraries +Requires: trinity-libkcal = %{version}-%{release} + +Obsoletes: libtdepim < %{version}-%{release} +Provides: libtdepim = %{version}-%{release} + +%description -n trinity-libtdepim +This is the runtime package for programs that use the libtdepim-trinity library. + +%files -n trinity-libtdepim +%{tde_tdelibdir}/plugins/designer/[kt]depimwidgets.la +%{tde_tdelibdir}/plugins/designer/[kt]depimwidgets.so +%{tde_tdelibdir}/plugins/designer/kpartsdesignerplugin.la +%{tde_tdelibdir}/plugins/designer/kpartsdesignerplugin.so +%{tde_libdir}/lib[kt]depim.so.* +%{tde_datadir}/apps/[kt]depimwidgets +%{tde_datadir}/apps/lib[kt]depim +%{tde_datadir}/apps/[kt]depim +%{tde_datadir}/config.kcfg/pimemoticons.kcfg +%{tde_datadir}/icons/crystalsvg/22x22/actions/button_fewer.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/button_more.png + +%post -n trinity-libtdepim +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : + +%postun -n trinity-libtdepim +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : + +########## + +%package -n trinity-libtdepim-devel +Summary: Trinity PIM library [development] +Group: Development/Libraries +Requires: trinity-libtdepim = %{version}-%{release} +Requires: trinity-kdelibs-devel + +Obsoletes: libtdepim-devel < %{version}-%{release} +Provides: libtdepim-devel = %{version}-%{release} + +%description -n trinity-libtdepim-devel +This is the development package which contains the headers for the libtdepim-trinity +library. + +%files -n trinity-libtdepim-devel +%{tde_tdeincludedir}/[kt]depimmacros.h +%{tde_libdir}/lib[kt]depim.la +%{tde_libdir}/lib[kt]depim.so + +%post -n trinity-libtdepim-devel +/sbin/ldconfig || : + +%postun -n trinity-libtdepim-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libkgantt +Summary: Trinity gantt charting library +Group: Environment/Libraries + +%description -n trinity-libkgantt +This is the runtime package for programs that use the libkgantt-trinity library. + +%files -n trinity-libkgantt +%{tde_libdir}/libkgantt.so.* +%{tde_datadir}/apps/kgantt + +%post -n trinity-libkgantt +/sbin/ldconfig || : + +%postun -n trinity-libkgantt +/sbin/ldconfig || : + +########## + +%package -n trinity-libkgantt-devel +Summary: Trinity gantt charting library [development] +Group: Development/Libraries +Requires: trinity-libkgantt = %{version}-%{release} +Requires: trinity-libtdepim-devel = %{version}-%{release} + +%description -n trinity-libkgantt-devel +This is the development package which contains the headers for the libkgantt-trinity +library. + +%files -n trinity-libkgantt-devel +%{tde_tdeincludedir}/kgantt +%{tde_libdir}/libkgantt.la +%{tde_libdir}/libkgantt.so + +%post -n trinity-libkgantt-devel +/sbin/ldconfig || : + +%postun -n trinity-libkgantt-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libkleopatra +Summary: TDE GnuPG interface libraries +Group: Environment/Libraries +Requires: gnupg + +%description -n trinity-libkleopatra +This library is used by several TDE applications to interface to the +GnuPG program. + +This is the runtime package for programs that use the libkleopatra-trinity library. + +%files -n trinity-libkleopatra +%{tde_datadir}/config/libkleopatrarc +%{tde_libdir}/libgpgme++.so.* +%{tde_libdir}/libkleopatra.so.* +%{tde_libdir}/libkpgp.so.* +%{tde_libdir}/libqgpgme.so.* +%{tde_datadir}/apps/kconf_update/kpgp-3.1-upgrade-address-data.pl +%{tde_datadir}/apps/kconf_update/kpgp.upd +%{tde_datadir}/apps/libkleopatra/ +%{tde_datadir}/icons/crystalsvg/*/apps/gpg.png +%{tde_datadir}/icons/crystalsvg/*/apps/gpgsm.png + +%post -n trinity-libkleopatra +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : + +%postun -n trinity-libkleopatra +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : + +########## + +%package -n trinity-libkleopatra-devel +Summary: Trinity GnuPG interface libraries [development] +Group: Development/Libraries +Requires: trinity-libkleopatra = %{version}-%{release} +Requires: trinity-libtdepim-devel = %{version}-%{release} + +%description -n trinity-libkleopatra-devel +This library is used by several KDE applications to interface to the +GnuPG program. + +This is the development package which contains the headers for the +libkleopatra-trinity library. + +%files -n trinity-libkleopatra-devel +%{tde_tdeincludedir}/gpgme++/ +%{tde_tdeincludedir}/kleo/ +%{tde_tdeincludedir}/qgpgme/ +%{tde_libdir}/libgpgme++.la +%{tde_libdir}/libgpgme++.so +%{tde_libdir}/libkleopatra.la +%{tde_libdir}/libkleopatra.so +%{tde_libdir}/libkpgp.la +%{tde_libdir}/libkpgp.so +%{tde_libdir}/libqgpgme.la +%{tde_libdir}/libqgpgme.so + +%post -n trinity-libkleopatra-devel +/sbin/ldconfig || : + +%postun -n trinity-libkleopatra-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libkmime +Summary: Trinity MIME interface library +Group: Environment/Libraries +#Conflicts: trinity-libmimelib + +%description -n trinity-libkmime +This library provides a C++ interface to MIME messages, parsing them into +an object tree. + +%files -n trinity-libkmime +%{tde_libdir}/libkmime.so.* + +%post -n trinity-libkmime +/sbin/ldconfig || : + +%postun -n trinity-libkmime +/sbin/ldconfig || : + +########## + +%package -n trinity-libkmime-devel +Summary: Development files for libkmime +Group: Development/Libraries +Requires: trinity-libkmime = %{version}-%{release} + +%description -n trinity-libkmime-devel +%{summary} + +%files -n trinity-libkmime-devel +%{tde_libdir}/libkmime.la +%{tde_libdir}/libkmime.so + +%post -n trinity-libkmime-devel +/sbin/ldconfig || : + +%postun -n trinity-libkmime-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libkpimexchange +Summary: Trinity PIM Exchange library +Group: Environment/Libraries + +%description -n trinity-libkpimexchange +This is the runtime package for programs that use the libkpimexchange-trinity +library. + +%files -n trinity-libkpimexchange +%{tde_tdelibdir}/resourcecalendarexchange.la +%{tde_tdelibdir}/resourcecalendarexchange.so +%{tde_libdir}/libkpimexchange.so.* + +%post -n trinity-libkpimexchange +/sbin/ldconfig || : + +%postun -n trinity-libkpimexchange +/sbin/ldconfig || : + +########## + +%package -n trinity-libkpimexchange-devel +Summary: Trinity PIM Exchange library [development] +Group: Development/Libraries +Requires: trinity-libkpimexchange = %{version}-%{release} +Requires: trinity-libkcal-devel = %{version}-%{release} +Requires: trinity-libtdepim-devel = %{version}-%{release} + +%description -n trinity-libkpimexchange-devel +This is the development package which contains the headers for the +libkpimexchange-trinity library. + +%files -n trinity-libkpimexchange-devel +%{tde_tdeincludedir}/[kt]depim/exchangeaccount.h +%{tde_tdeincludedir}/[kt]depim/exchangeclient.h +%{tde_libdir}/libkpimexchange.la +%{tde_libdir}/libkpimexchange.so + +%post -n trinity-libkpimexchange-devel +/sbin/ldconfig || : + +%postun -n trinity-libkpimexchange-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libkpimidentities +Summary: Trinity PIM user identity information library +Group: Environment/Libraries + +%description -n trinity-libkpimidentities +This library provides information to TDE programs about user identity, +such as email address, organization, etc. + +This is the runtime package for programs that use the libkpimidentities-trinity +library. + +%files -n trinity-libkpimidentities +%{tde_libdir}/libkpimidentities.so.* + +%post -n trinity-libkpimidentities +/sbin/ldconfig || : + +%postun -n trinity-libkpimidentities +/sbin/ldconfig || : + +########## + +%package -n trinity-libkpimidentities-devel +Summary: Development files for libkpimidentities +Group: Development/Libraries +Requires: trinity-libkpimidentities = %{version}-%{release} + +%description -n trinity-libkpimidentities-devel +%{summary} + +%files -n trinity-libkpimidentities-devel +%{tde_libdir}/libkpimidentities.la +%{tde_libdir}/libkpimidentities.so + +%post -n trinity-libkpimidentities-devel +/sbin/ldconfig || : + +%postun -n trinity-libkpimidentities-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libksieve +Summary: Trinity mail/news message filtering library +Group: Environment/Libraries + +%description -n trinity-libksieve +This is the runtime package for programs that use the libksieve-trinity library. + +%files -n trinity-libksieve +%{tde_libdir}/libksieve.so.* + +%post -n trinity-libksieve +/sbin/ldconfig || : + +%postun -n trinity-libksieve +/sbin/ldconfig || : + +########## + +%package -n trinity-libksieve-devel +Summary: Trinity mail/news message filtering library [development] +Group: Development/Libraries +Requires: trinity-libksieve = %{version}-%{release} +Requires: trinity-libtdepim-devel = %{version}-%{release} + +%description -n trinity-libksieve-devel +This is the development package which contains the headers for the libksieve-trinity +library. + +%files -n trinity-libksieve-devel +%{tde_tdeincludedir}/ksieve +%{tde_libdir}/libksieve.la +%{tde_libdir}/libksieve.so + +%post -n trinity-libksieve-devel +/sbin/ldconfig || : + +%postun -n trinity-libksieve-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libktnef +Summary: Library for handling KTNEF email attachments +Group: Environment/Libraries + +%description -n trinity-libktnef +This library handles mail attachments using the TNEF format. These +attachments are usually found in mails coming from Microsoft mail +servers and embed the mail properties as well as the actual +attachments. +. +This is the runtime library for packages using the ktnef-trinity library. + +%files -n trinity-libktnef +%{tde_libdir}/libktnef.so.* + +%post -n trinity-libktnef +/sbin/ldconfig || : + +%postun -n trinity-libktnef +/sbin/ldconfig || : + +########## + +%package -n trinity-libktnef-devel +Summary: KTNEF handler library [development] +Group: Development/Libraries +Requires: trinity-libktnef = %{version}-%{release} +Requires: trinity-libtdepim-devel = %{version}-%{release} + +%description -n trinity-libktnef-devel +This library handles mail attachments using the TNEF format. These +attachments are usually found in mails coming from Microsoft mail +servers and embed the mail properties as well as the actual +attachments. + +This is the development package which contains the headers for the +ktnef-trinity library. + +%files -n trinity-libktnef-devel +%{tde_tdeincludedir}/ktnef +%{tde_libdir}/libktnef.la +%{tde_libdir}/libktnef.so + +%post -n trinity-libktnef-devel +/sbin/ldconfig || : + +%postun -n trinity-libktnef-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libmimelib +Summary: Trinity mime library +Group: Environment/Libraries + +%description -n trinity-libmimelib +This library is used by several Trinity applications to handle mime types. + +This is the runtime package for programs that use the libmimelib-trinity library. + +%files -n trinity-libmimelib +%{tde_libdir}/libmimelib.so.* + +%post -n trinity-libmimelib +/sbin/ldconfig || : + +%postun -n trinity-libmimelib +/sbin/ldconfig || : + +########## + +%package -n trinity-libmimelib-devel +Summary: Trinity mime library [development] +Group: Development/Libraries +Requires: trinity-libmimelib = %{version}-%{release} + +%description -n trinity-libmimelib-devel +This library is used by several KDE applications to handle mime types. + +This is the development package which contains the headers for the +libmimelib library. + +%files -n trinity-libmimelib-devel +%{tde_tdeincludedir}/mimelib +%{tde_libdir}/libmimelib.la +%{tde_libdir}/libmimelib.so + +%post -n trinity-libmimelib-devel +/sbin/ldconfig || : + +%postun -n trinity-libmimelib-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-kmobile +Summary: Synchronize and manage mobile phone with your PC. +Group: Applications/Communications + +%description -n trinity-kmobile +KMobileTools is a nice TDE-based application that allows to synchronize +and manage mobile phones with your PC. It handles full SMS control, +dialing calls, phonebook, and phone status monitoring. + +%files -n trinity-kmobile +%{tde_bindir}/kmobile +%{tde_datadir}/icons/default.kde/32x32/devices/mobile_camera.png +%{tde_datadir}/icons/default.kde/32x32/devices/mobile_musicplayer.png +%{tde_datadir}/icons/default.kde/32x32/devices/mobile_organizer.png +%{tde_datadir}/icons/default.kde/32x32/devices/mobile_phone.png +%{tde_datadir}/icons/default.kde/32x32/devices/mobile_unknown.png +%{tde_datadir}/icons/hicolor/*/apps/kmobile.png +%{tde_datadir}/services/libkmobile_digicam.desktop +%{tde_datadir}/services/libkmobile_gammu.desktop +%{tde_datadir}/services/libkmobile_skeleton.desktop +%{tde_datadir}/servicetypes/libkmobile.desktop +%{tde_datadir}/apps/kmobile/kmobileui.rc +%{tde_tdeappdir}/kmobile.desktop +%{tde_tdelibdir}/libkmobile_skeleton.la +%{tde_tdelibdir}/libkmobile_skeleton.so +%{tde_libdir}/libkmobileclient.la +%{tde_libdir}/libkmobileclient.so +%{tde_libdir}/libkmobiledevice.la +%{tde_libdir}/libkmobiledevice.so + +%post -n trinity-kmobile +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kmobile +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n kdepim-3.5.13.1 +%patch13 -p1 -b .incdir +%patch14 -p1 -b .ldflags + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" +export LD_LIBRARY_PATH="%{tde_libdir}" + +# Specific path for RHEL4 +if [ -d /usr/X11R6 ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DWITH_ARTS=ON \ + -DWITH_SASL=ON \ + -DWITH_NEWDISTRLISTS=ON \ + %{?with_gnokii:-DWITH_GNOKII=ON} \ + -DWITH_EXCHANGE=ON \ + -DWITH_EGROUPWARE=ON \ + -DWITH_KOLAB=ON \ + -DWITH_SLOX=ON \ + -DWITH_GROUPWISE=ON \ + -DWITH_FEATUREPLAN=ON \ + -DWITH_GROUPDAV=ON \ + -DWITH_BIRTHDAYS=ON \ + -DWITH_NEWEXCHANGE=ON \ + -DWITH_SCALIX=ON \ + -DWITH_CALDAV=ON \ + -DWITH_CARDDAV=ON \ + -DWITH_INDEXLIB=ON \ + %{?with_kitchensync:-DBUILD_KITCHENSYNC=ON} \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{?buildroot} -C build + +# Fix for Perl path in trinity-korganizer +# Perl is '/usr/bin/perl' not '/bin/perl' +%if 0%{?fedora} >= 17 +%__sed -i %{?buildroot}%{?tde_bindir}/ical2vcal -e "s|/bin/perl|/usr/bin/perl|" +%endif + +%clean +%__rm -rf %{?buildroot} + + +%changelog +* Sun Nov 11 2012 Francois Andriot - 3.5.13.1-2 +- Fix korganizer packaging + +* Tue Sep 25 2012 Francois Andriot - 3.5.13.1-1 +- Initial build for TDE 3.5.13.1 diff --git a/redhat/tdepim/kdepim-3.5.13.spec b/redhat/tdepim/kdepim-3.5.13.spec new file mode 100644 index 000000000..8a9c6d6a6 --- /dev/null +++ b/redhat/tdepim/kdepim-3.5.13.spec @@ -0,0 +1,2198 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +BuildRequires: cmake >= 2.8 +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +# KDEPIM specific features +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_gnokii 1 +%else +%define with_gnokii 0 +%endif + +# TDEPIM optional features +#BuildRequires: opensync-devel +%define with_kitchensync 0 + + +Name: trinity-tdepim +Version: 3.5.13 +Release: 8%{?dist}%{?_variant} +License: GPL +Group: Applications/Productivity + +Vendor: Trinity Project +Packager: Francois Andriot +Summary: Personal Information Management apps from the official Trinity release + +Prefix: %{tde_prefix} + +Source0: kdepim-%{version}.tar.gz + +# [kdepim] Fix compilation with GCC 4.7 [Bug #958] +Patch1: kdepim-3.5.13-fix_gcc47_compilation.patch +# [tdepim] Reverse patch from GIT hash 33e649c9. [Bug #406] [Commit #2d5f15c8] +Patch2: kdepim-3.5.13-fix_check_mail.patch +# [tdepim] Fix kmail composer crash [Bug #953] +Patch3: kdepim-3.5.13-fix_composer_crash.patch +# [tdepim] Fix KMail counting of unread messages in the system tray icon [Commit #40c435e5] +Patch4: kdepim-3.5.13-fix_systray_count.patch +# [tdepim] Fix knotes not appearing on the desktop when a session is restored. [Bug #987] [Commit #533f494f] +Patch5: kdepim-3.5.13-fix_knotes_after_restored.patch +# [tdepim] Fix knotes to not close notes during saving session. [Bug #987] [Commit #c48253af] +Patch6: kdepim-3.5.13-fix_knotes_on_suspend.patch +# [tdepim] Fix linear alphabet string errors [Bug 635] [Commit #80bc593e] +Patch7: kdepim-3.5.13-fix_linear_alphabet.patch +# [tdepim] Fix infinite loop on IMAP4 authentication failure [Bug #1007] +Patch8: kdepim-3.5.13-fix_kio_imap4_infinite_loop.patch +# [tdepim] Fix infinite loop on kmime_utils addquotes [Bug #1009] [Commit #9b43d6e1] [Commit #b0c92b30] +Patch9: kdepim-3.5.13-fix_kio_imap4_addquotes.patch +Patch10: kdepim-3.5.13-fix_segv.patch +# [tdepim] Update kalarmd icon reference, which does not exist, to kalarm. [Commit #228ad1c6] +Patch11: kdepim-3.5.13-fix_kalarm_icon_reference.patch +# [tdepim] Disable unneccesary fsync() in cached IMAP handler [Bug #467] [Commit #82d4a938] +Patch12: kdepim-3.5.13-disable_fsync_in_cached_imap.patch +# [tdepim] Fix include directory location +Patch13: kdepim-3.5.13-fix_include_directory.patch +# [tdepim] Missing LDFLAGS cause FTBFS on MGA2/MDV2011 +Patch14: kdepim-3.5.13-missing_ldflags.patch + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-arts-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: gpgme-devel +BuildRequires: libgpg-error-devel +BuildRequires: flex +BuildRequires: libical-devel +BuildRequires: boost-devel +BuildRequires: pcre-devel +BuildRequires: glib2-devel +BuildRequires: gcc-c++ make +BuildRequires: libidn-devel + +BuildRequires: libcaldav-devel +BuildRequires: libcarddav-devel + +%if 0%{?with_gnokii} +BuildRequires: gnokii-devel +%endif + +%if 0%{?fedora} >= 15 +BuildRequires: flex-static +%endif +%if 0%{?rhel} > 0 && 0%{?rhel} <= 5 +BuildRequires: trinity-libcurl-devel +%else +BuildRequires: curl-devel +%endif + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel +BuildRequires: %{_lib}sasl2-devel +%else +BuildRequires: libXcomposite-devel +BuildRequires: cyrus-sasl-devel +%endif + +Requires: trinity-libtdepim = %{version}-%{release} +Requires: %{name}-kfile-plugins = %{version}-%{release} +Requires: %{name}-kio-plugins = %{version}-%{release} +Requires: %{name}-kresources = %{version}-%{release} +Requires: %{name}-wizards = %{version}-%{release} +Requires: trinity-akregator = %{version}-%{release} +Requires: trinity-kaddressbook = %{version}-%{release} +Requires: trinity-kalarm = %{version}-%{release} +Requires: trinity-kandy = %{version}-%{release} +Requires: trinity-karm = %{version}-%{release} +Requires: trinity-kleopatra = %{version}-%{release} +Requires: trinity-kmail = %{version}-%{release} +Requires: trinity-kmailcvt = %{version}-%{release} +Requires: trinity-kmobile = %{version}-%{release} +Requires: trinity-knode = %{version}-%{release} +Requires: trinity-knotes = %{version}-%{release} +Requires: trinity-kode = %{version}-%{release} +Requires: trinity-konsolekalendar = %{version}-%{release} +Requires: trinity-kontact = %{version}-%{release} +Requires: trinity-korganizer = %{version}-%{release} +Requires: trinity-korn = %{version}-%{release} +Requires: trinity-ktnef = %{version}-%{release} +Requires: trinity-libindex = %{version}-%{release} +Requires: trinity-libkcal = %{version}-%{release} +Requires: trinity-libkgantt = %{version}-%{release} +Requires: trinity-libkleopatra = %{version}-%{release} +Requires: trinity-libkmime = %{version}-%{release} +Requires: trinity-libkpimexchange = %{version}-%{release} +Requires: trinity-libkpimidentities = %{version}-%{release} +Requires: trinity-libksieve = %{version}-%{release} +Requires: trinity-libktnef = %{version}-%{release} +Requires: trinity-libmimelib = %{version}-%{release} + +Obsoletes: trinity-kdepim < %{version}-%{release} +Provides: trinity-kdepim = %{version}-%{release} +Obsoletes: tdepim < %{version}-%{release} +Provides: tdepim = %{version}-%{release} + +%description +This metapackage includes a collection of Personal Information Management +(PIM) applications provided with the official release of Trinity. + +%files + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries + +Obsoletes: tdepim-cmake < %{version}-%{release} + +Obsoletes: trinity-kdepim-devel < %{version}-%{release} +Provides: trinity-kdepim-devel = %{version}-%{release} +Obsoletes: tdepim-devel < %{version}-%{release} +Provides: tdepim-devel = %{version}-%{release} + +Requires: %{name} = %{version}-%{release} +Requires: trinity-akregator-devel = %{version}-%{release} +Requires: trinity-libtdepim-devel = %{version}-%{release} +Requires: trinity-kaddressbook-devel = %{version}-%{release} +Requires: trinity-karm-devel = %{version}-%{release} +Requires: trinity-kmail-devel = %{version}-%{release} +Requires: trinity-knode-devel = %{version}-%{release} +Requires: trinity-knotes-devel = %{version}-%{release} +Requires: trinity-kode-devel = %{version}-%{release} +Requires: trinity-kontact-devel = %{version}-%{release} +Requires: trinity-korganizer-devel = %{version}-%{release} +Requires: trinity-libindex-devel = %{version}-%{release} +Requires: trinity-libkcal-devel = %{version}-%{release} +Requires: trinity-libkgantt-devel = %{version}-%{release} +Requires: trinity-libkleopatra-devel = %{version}-%{release} +Requires: trinity-libkmime-devel = %{version}-%{release} +Requires: trinity-libkpimexchange-devel = %{version}-%{release} +Requires: trinity-libkpimidentities-devel = %{version}-%{release} +Requires: trinity-libksieve-devel = %{version}-%{release} +Requires: trinity-libktnef-devel = %{version}-%{release} +Requires: trinity-libmimelib-devel = %{version}-%{release} +Requires: %{name}-kresources-devel = %{version}-%{release} + +%description devel +This metapackage includes all development files for TDE PIM. +It also contains the CMAKE macros. + +%files devel +%{tde_datadir}/cmake/* + +########## + +%package -n trinity-akregator +Summary: RSS feed aggregator for TDE +Group: Applications/Internet +Requires: trinity-libtdepim = %{version}-%{release} +Requires: trinity-libkcal = %{version}-%{release} + +%description -n trinity-akregator +aKregator is a fast, lightweight, and intuitive feed reader program +for TDE. It allows you to quickly browse through hundreds of +thousands of internet feeds in a quick, efficient, and familiar way. + +%files -n trinity-akregator +%{tde_bindir}/akregator +%{tde_tdelibdir}/libakregatorpart.la +%{tde_tdelibdir}/libakregatorpart.so +%{tde_tdelibdir}/libakregator_mk4storage_plugin.la +%{tde_tdelibdir}/libakregator_mk4storage_plugin.so +%{tde_libdir}/libakregatorprivate.so.* +%{tde_tdeappdir}/akregator.desktop +%{tde_datadir}/apps/akregator +%{tde_datadir}/config.kcfg/akregator.kcfg +%{tde_datadir}/config.kcfg/mk4config.kcfg +%{tde_datadir}/icons/crystalsvg/*/actions/rss_tag.png +%{tde_datadir}/icons/crystalsvg/16x16/apps/akregator_empty.png +%{tde_datadir}/icons/hicolor/*/apps/akregator.png +%{tde_datadir}/icons/hicolor/scalable/apps/akregator.svgz +%{tde_datadir}/services/akregator_mk4storage_plugin.desktop +%{tde_datadir}/services/akregator_part.desktop +%{tde_datadir}/services/feed.protocol +%{tde_datadir}/services/kontact/akregatorplugin*.desktop +%{tde_datadir}/servicetypes/akregator_plugin.desktop +%{tde_tdedocdir}/HTML/en/akregator/ + +%post -n trinity-akregator +/sbin/ldconfig || : +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-akregator +/sbin/ldconfig || : +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-akregator-devel +Summary: Development files for trinity-akregator +Group: Development/Libraries +Requires: trinity-akregator = %{version}-%{release} + +%description -n trinity-akregator-devel +%{summary} + +%files -n trinity-akregator-devel +%{tde_tdeincludedir}/akregator/ +%{tde_libdir}/libakregatorprivate.la +%{tde_libdir}/libakregatorprivate.so + +%post -n trinity-akregator-devel +/sbin/ldconfig || : + +%postun -n trinity-akregator-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-kaddressbook +Summary: TDE addressbook application +Group: Applications/Communications +Requires: trinity-kdebase-pim-ioslaves +Requires: %{name}-kresources = %{version}-%{release} + +%description -n trinity-kaddressbook +KAddressBook is the main address book application for TDE; it enables you +to manage your contacts efficiently and comfortably. It can load and save +your contacts to many different locations, including the local file system, +LDAP servers, and SQL databases. + +%files -n trinity-kaddressbook +%{tde_bindir}/kabc2mutt +%{tde_bindir}/kaddressbook +%{tde_bindir}/kabcdistlistupdater +%{tde_tdelibdir}/kcm_kabconfig.la +%{tde_tdelibdir}/kcm_kabconfig.so +%{tde_tdelibdir}/kcm_kabcustomfields.la +%{tde_tdelibdir}/kcm_kabcustomfields.so +%{tde_tdelibdir}/kcm_kabldapconfig.la +%{tde_tdelibdir}/kcm_kabldapconfig.so +%{tde_tdelibdir}/ldifvcardthumbnail.la +%{tde_tdelibdir}/ldifvcardthumbnail.so +%{tde_tdelibdir}/libkaddrbk_*.la +%{tde_tdelibdir}/libkaddrbk_*.so +%{tde_tdelibdir}/libkaddressbookpart.la +%{tde_tdelibdir}/libkaddressbookpart.so +%{tde_libdir}/libkabinterfaces.so.* +%{tde_libdir}/libkaddressbook.so.* +%{tde_tdeappdir}/kaddressbook.desktop +%{tde_datadir}/apps/kaddressbook +%{tde_datadir}/icons/hicolor/*/apps/kaddressbook.png +%{tde_datadir}/services/kabconfig.desktop +%{tde_datadir}/services/kabcustomfields.desktop +%{tde_datadir}/services/kabldapconfig.desktop +%{tde_datadir}/services/kaddressbook +%{tde_datadir}/services/kontact/kaddressbookplugin.desktop +%{tde_datadir}/services/kresources/kabc/imap.desktop +%{tde_datadir}/services/ldifvcardthumbnail.desktop +%{tde_datadir}/servicetypes/dcopaddressbook.desktop +%{tde_datadir}/servicetypes/kaddressbook_contacteditorwidget.desktop +%{tde_datadir}/servicetypes/kaddressbookimprotocol.desktop +%{tde_datadir}/servicetypes/kaddressbook_extension.desktop +%{tde_datadir}/servicetypes/kaddressbook_view.desktop +%{tde_datadir}/servicetypes/kaddressbook_xxport.desktop +%{tde_tdedocdir}/HTML/en/kaddressbook/ +%{tde_datadir}/autostart/kabcdistlistupdater.desktop +%{tde_tdeincludedir}/kaddressbook +%{tde_tdeincludedir}/kabc + +%post -n trinity-kaddressbook +/sbin/ldconfig || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kaddressbook +/sbin/ldconfig || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kaddressbook-devel +Summary: Development files for trinity-kaddressbook +Group: Development/Libraries +Requires: trinity-kaddressbook = %{version}-%{release} + +%description -n trinity-kaddressbook-devel +%{summary} + +%files -n trinity-kaddressbook-devel +%{tde_libdir}/libkabinterfaces.la +%{tde_libdir}/libkabinterfaces.so +%{tde_libdir}/libkaddressbook.la +%{tde_libdir}/libkaddressbook.so + +%post -n trinity-kaddressbook-devel +/sbin/ldconfig || : + +%postun -n trinity-kaddressbook-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-kalarm +Summary: Trinity alarm message, command and email scheduler +Group: Applications/Communications +Requires: trinity-libkpimidentities = %{version}-%{release} + +%description -n trinity-kalarm +KAlarm provides a graphical interface to schedule personal timed events - +pop-up alarm messages, command execution and sending emails. There is a +range of options for configuring recurring events. + +A pop-up alarm can show either a simple text message, or the contents of a +text or image file, It can optionally be spoken, or play a sound file. You +can choose its appearance, and set reminders. Among KAlarm's other +facilities, you can set up templates to allow KAlarm to be used as a 'tea +timer'. + +As an alternative to using the graphical interface, alarms can be scheduled +from the command line or via DCOP calls from other programs. KAlarm is +TDE-based, but will also run on other desktops. + +%files -n trinity-kalarm +%{tde_bindir}/kalarm +%{tde_bindir}/kalarmd +%{tde_tdeappdir}/kalarm.desktop +%{tde_datadir}/applnk/.hidden/kalarmd.desktop +%{tde_datadir}/applnk/Applications/kalarm.desktop +%{tde_datadir}/apps/kalarm +%{tde_datadir}/autostart/kalarm.tray.desktop +%{tde_datadir}/autostart/kalarmd.autostart.desktop +%{tde_datadir}/icons/crystalsvg/*/actions/kalarm.png +%{tde_datadir}/icons/hicolor/*/apps/kalarm.png +%{tde_tdedocdir}/HTML/en/kalarm/ + +%post -n trinity-kalarm +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kalarm +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kandy +Summary: Trinity mobile phone utility +Group: Applications/Communications + +%description -n trinity-kandy +At the moment Kandy is more or less a terminal program with some special +features to store commands and their parameters, but is also has a simple GUI +to access the phone book of a mobile phone and it is able to save this phone +book to the TDE address book. + +Kandy is aimed at mobile phones with integrated (GSM) modems. + +%files -n trinity-kandy +%{tde_bindir}/kandy +%{tde_bindir}/kandy_client +%{tde_tdeappdir}/kandy.desktop +%{tde_datadir}/applnk/Utilities/kandy.desktop +%{tde_datadir}/apps/kandy +%{tde_datadir}/config.kcfg/kandy.kcfg +%{tde_tdedocdir}/HTML/en/kandy/ + +%post -n trinity-kandy +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kandy +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-karm +Summary: Trinity time tracker tool +Group: Applications/Productivity + +%description -n trinity-karm +KArm is a time tracker for busy people who need to keep track of the amount of +time they spend on various tasks. + +%files -n trinity-karm +%{tde_bindir}/karm +%{tde_libdir}/libkarm.so.* +%{tde_tdelibdir}/libkarmpart.la +%{tde_tdelibdir}/libkarmpart.so +%{tde_tdeappdir}/karm.desktop +%{tde_datadir}/applnk/Utilities/karm.desktop +%{tde_datadir}/apps/karm +%{tde_datadir}/apps/karmpart +%{tde_datadir}/icons/hicolor/*/apps/karm.png +%{tde_datadir}/services/karm_part.desktop +%{tde_datadir}/services/kontact/karmplugin.desktop +%{tde_tdedocdir}/HTML/en/karm/ + +%post -n trinity-karm +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-karm +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-karm-devel +Summary: Development files for karm +Group: Development/Libraries + +%description -n trinity-karm-devel +%{summary} + +%files -n trinity-karm-devel +%{tde_libdir}/libkarm.so +%{tde_libdir}/libkarm.la + +%post -n trinity-karm-devel +/sbin/ldconfig || : + +%postun -n trinity-karm-devel +/sbin/ldconfig || : + +########## + +%package kfile-plugins +Summary: TDE File dialog plugins for palm and vcf files +Group: Environment/Libraries + +Obsoletes: tdepim-kfile-plugins < %{version}-%{release} + +%description kfile-plugins +File dialog plugins for palm and vcf files. + +%files kfile-plugins +%{tde_tdelibdir}/kfile_ics.la +%{tde_tdelibdir}/kfile_ics.so +%{tde_tdelibdir}/kfile_vcf.la +%{tde_tdelibdir}/kfile_vcf.so +%{tde_datadir}/services/kfile_ics.desktop +%{tde_datadir}/services/kfile_vcf.desktop + +########## + +%package kio-plugins +Summary: Trinity pim I/O Slaves +Group: Environment/Libraries + +Obsoletes: tdepim-kio-plugins < %{version}-%{release} + +%description kio-plugins +This package includes the pim kioslaves. This includes imap4, sieve, +and mbox. + +%files kio-plugins +%{tde_tdelibdir}/kio_groupwise.la +%{tde_tdelibdir}/kio_groupwise.so +%{tde_tdelibdir}/kio_imap4.la +%{tde_tdelibdir}/kio_imap4.so +%{tde_tdelibdir}/kio_mbox.la +%{tde_tdelibdir}/kio_mbox.so +%{tde_tdelibdir}/kio_scalix.la +%{tde_tdelibdir}/kio_scalix.so +%{tde_tdelibdir}/kio_sieve.la +%{tde_tdelibdir}/kio_sieve.so +%{tde_datadir}/services/groupwise.protocol +%{tde_datadir}/services/groupwises.protocol +%{tde_datadir}/services/imap4.protocol +%{tde_datadir}/services/imaps.protocol +%{tde_datadir}/services/mbox.protocol +%{tde_datadir}/services/scalix.protocol +%{tde_datadir}/services/scalixs.protocol +%{tde_datadir}/services/sieve.protocol + +########## + +%package kresources +Summary: Trinity pim resource plugins +Group: Environment/Libraries +#Requires: trinity-kaddressbook = %{version}-%{release} +#Requires: trinity-korganizer = %{version}-%{release} +#Requires: trinity-knotes = %{version}-%{release} +Requires: libcaldav +Requires: libcarddav + +Obsoletes: tdepim-kresources < %{version}-%{release} + +%description kresources +This package includes several plugins needed to interface with groupware +servers. It also includes plugins for features such as blogging and +tracking feature plans. + +%files kresources +%{tde_tdelibdir}/kcal_caldav.la +%{tde_tdelibdir}/kcal_caldav.so +%{tde_tdelibdir}/kcal_groupdav.la +%{tde_tdelibdir}/kcal_groupdav.so +%{tde_tdelibdir}/kcal_groupwise.la +%{tde_tdelibdir}/kcal_groupwise.so +%{tde_tdelibdir}/kcal_kolab.la +%{tde_tdelibdir}/kcal_kolab.so +%{tde_tdelibdir}/kcal_scalix.la +%{tde_tdelibdir}/kcal_scalix.so +%{tde_tdelibdir}/kcal_newexchange.la +%{tde_tdelibdir}/kcal_newexchange.so +%{tde_tdelibdir}/kcal_resourcefeatureplan.la +%{tde_tdelibdir}/kcal_resourcefeatureplan.so +%{tde_tdelibdir}/kcal_slox.la +%{tde_tdelibdir}/kcal_slox.so +%{tde_tdelibdir}/kcal_xmlrpc.la +%{tde_tdelibdir}/kcal_xmlrpc.so +%{tde_tdelibdir}/knotes_kolab.la +%{tde_tdelibdir}/knotes_kolab.so +%{tde_tdelibdir}/knotes_scalix.la +%{tde_tdelibdir}/knotes_scalix.so +%{tde_tdelibdir}/knotes_xmlrpc.la +%{tde_tdelibdir}/knotes_xmlrpc.so +%{tde_libdir}/libkabckolab.so.* +%{tde_libdir}/libkabcscalix.so.* +%{tde_libdir}/libkabc_groupdav.so.* +%{tde_libdir}/libkabc_groupwise.so.* +%{tde_libdir}/libkabc_newexchange.so.* +%{tde_libdir}/libkabc_slox.so.* +%{tde_libdir}/libkabc_xmlrpc.so.* +%{tde_libdir}/libkcalkolab.so.* +%{tde_libdir}/libkcalscalix.so.* +%{tde_libdir}/libkcal_caldav.so.* +%{tde_libdir}/libkabc_carddav.so.* +%{tde_libdir}/libkcal_groupdav.so.* +%{tde_libdir}/libkcal_groupwise.so.* +%{tde_libdir}/libkcal_newexchange.so.* +%{tde_libdir}/libkcal_resourcefeatureplan.so.* +%{tde_libdir}/libkcal_slox.so.* +%{tde_libdir}/libkcal_xmlrpc.so.* +%{tde_libdir}/libkgroupwarebase.so.* +%{tde_libdir}/libkgroupwaredav.so.* +%{tde_libdir}/libknoteskolab.so.* +%{tde_libdir}/libknotesscalix.so.* +%{tde_libdir}/libknotes_xmlrpc.so.* +%{tde_libdir}/libkslox.so.* +%{tde_libdir}/libgwsoap.so.* +%{tde_datadir}/services/kresources/kabc/kabc_groupdav.desktop +%{tde_datadir}/services/kresources/kabc/kabc_groupwise.desktop +%{tde_datadir}/services/kresources/kabc/kabc_newexchange.desktop +%{tde_datadir}/services/kresources/kabc/kabc_opengroupware.desktop +%{tde_datadir}/services/kresources/kabc/kabc_ox.desktop +%{tde_datadir}/services/kresources/kabc/kabc_slox.desktop +%{tde_datadir}/services/kresources/kabc/kabc_xmlrpc.desktop +%{tde_datadir}/services/kresources/kabc/kolab.desktop +%{tde_datadir}/services/kresources/kabc/scalix.desktop +%{tde_datadir}/services/kresources/kcal/exchange.desktop +%{tde_datadir}/services/kresources/kcal/kcal_caldav.desktop +%{tde_datadir}/services/kresources/kabc/kabc_carddav.desktop +%{tde_datadir}/services/kresources/kcal/kcal_groupdav.desktop +%{tde_datadir}/services/kresources/kcal/kcal_groupwise.desktop +%{tde_datadir}/services/kresources/kcal/kcal_newexchange.desktop +%{tde_datadir}/services/kresources/kcal/kcal_opengroupware.desktop +%{tde_datadir}/services/kresources/kcal/kcal_ox.desktop +%{tde_datadir}/services/kresources/kcal/kcal_resourcefeatureplan.desktop +%{tde_datadir}/services/kresources/kcal/kcal_slox.desktop +%{tde_datadir}/services/kresources/kcal/kcal_xmlrpc.desktop +%{tde_datadir}/services/kresources/kcal/kolab.desktop +%{tde_datadir}/services/kresources/kcal/scalix.desktop +%{tde_datadir}/services/kresources/knotes/knotes_xmlrpc.desktop +%{tde_datadir}/services/kresources/knotes/kolabresource.desktop +%{tde_datadir}/services/kresources/knotes/scalix.desktop + +%{tde_datadir}/apps/kconf_update/upgrade-resourcetype.pl +%{tde_datadir}/apps/kconf_update/kolab-resource.upd + +%{tde_tdelibdir}/kabc_carddav.la +%{tde_tdelibdir}/kabc_carddav.so +%{tde_tdelibdir}/kabc_groupdav.la +%{tde_tdelibdir}/kabc_groupdav.so +%{tde_tdelibdir}/kabc_groupwise.la +%{tde_tdelibdir}/kabc_groupwise.so +%{tde_tdelibdir}/kabc_kolab.la +%{tde_tdelibdir}/kabc_kolab.so +%{tde_tdelibdir}/kabc_newexchange.la +%{tde_tdelibdir}/kabc_newexchange.so +%{tde_tdelibdir}/kabc_scalix.la +%{tde_tdelibdir}/kabc_scalix.so +%{tde_tdelibdir}/kabc_slox.la +%{tde_tdelibdir}/kabc_slox.so +%{tde_tdelibdir}/kabc_xmlrpc.la +%{tde_tdelibdir}/kabc_xmlrpc.so + +%post kresources +/sbin/ldconfig || : + +%postun kresources +/sbin/ldconfig || : + +########## + +%package kresources-devel +Summary: Development files for kresources +Group: Development/Libraries +Requires: %{name}-kresources = %{version}-%{release} +Requires: libcaldav +Requires: libcarddav + +Obsoletes: tdepim-kresources-devel < %{version}-%{release} + +%description kresources-devel +%{summary} + +%files kresources-devel +%{tde_libdir}/libkslox.la +%{tde_libdir}/libkslox.so +%{tde_libdir}/libkabc_groupdav.la +%{tde_libdir}/libkabc_groupdav.so +%{tde_libdir}/libkabc_groupwise.la +%{tde_libdir}/libkabc_groupwise.so +%{tde_libdir}/libgwsoap.la +%{tde_libdir}/libgwsoap.so +%{tde_libdir}/libkabc_carddav.la +%{tde_libdir}/libkabc_carddav.so +%{tde_libdir}/libkabc_newexchange.la +%{tde_libdir}/libkabc_newexchange.so +%{tde_libdir}/libkabc_slox.la +%{tde_libdir}/libkabc_slox.so +%{tde_libdir}/libkabc_xmlrpc.la +%{tde_libdir}/libkabc_xmlrpc.so +%{tde_libdir}/libkabckolab.la +%{tde_libdir}/libkabckolab.so +%{tde_libdir}/libkabcscalix.la +%{tde_libdir}/libkabcscalix.so +%{tde_libdir}/libkcal_caldav.la +%{tde_libdir}/libkcal_caldav.so +%{tde_libdir}/libkcal_groupdav.la +%{tde_libdir}/libkcal_groupdav.so +%{tde_libdir}/libkcal_groupwise.la +%{tde_libdir}/libkcal_groupwise.so +%{tde_libdir}/libkcal_newexchange.la +%{tde_libdir}/libkcal_newexchange.so +%{tde_libdir}/libkcal_resourcefeatureplan.la +%{tde_libdir}/libkcal_resourcefeatureplan.so +%{tde_libdir}/libkcal_slox.la +%{tde_libdir}/libkcal_slox.so +%{tde_libdir}/libkcal_xmlrpc.la +%{tde_libdir}/libkcal_xmlrpc.so +%{tde_libdir}/libkcalkolab.la +%{tde_libdir}/libkcalkolab.so +%{tde_libdir}/libkcalscalix.la +%{tde_libdir}/libkcalscalix.so +%{tde_libdir}/libkgroupwarebase.la +%{tde_libdir}/libkgroupwarebase.so +%{tde_libdir}/libkgroupwaredav.la +%{tde_libdir}/libkgroupwaredav.so +%{tde_libdir}/libknotes_xmlrpc.la +%{tde_libdir}/libknotes_xmlrpc.so +%{tde_libdir}/libknoteskolab.la +%{tde_libdir}/libknoteskolab.so +%{tde_libdir}/libknotesscalix.la +%{tde_libdir}/libknotesscalix.so +%{tde_tdeincludedir}/kpimprefs.h + +%post kresources-devel +/sbin/ldconfig || : + +%postun kresources-devel +/sbin/ldconfig || : + +########## + +%package wizards +Summary: Trinity server configuration wizards +Group: Applications/Communications + +Obsoletes: tdepim-wizards < %{version}-%{release} + +%description wizards +This package contains KDE-based wizards for configuring eGroupware, +Kolab, and SUSE Linux Openexchange servers. + +%files wizards +%{tde_bindir}/egroupwarewizard +%{tde_bindir}/exchangewizard +%{tde_bindir}/groupwarewizard +%{tde_bindir}/groupwisewizard +%{tde_bindir}/kolabwizard +%{tde_bindir}/scalixadmin +%{tde_bindir}/scalixwizard +%{tde_bindir}/sloxwizard +%{tde_tdelibdir}/libegroupwarewizard.la +%{tde_tdelibdir}/libegroupwarewizard.so +%{tde_tdelibdir}/libexchangewizard.la +%{tde_tdelibdir}/libexchangewizard.so +%{tde_tdelibdir}/libgroupwisewizard.la +%{tde_tdelibdir}/libgroupwisewizard.so +%{tde_tdelibdir}/libkolabwizard.la +%{tde_tdelibdir}/libkolabwizard.so +%{tde_tdelibdir}/libscalixwizard.la +%{tde_tdelibdir}/libscalixwizard.so +%{tde_tdelibdir}/libsloxwizard.la +%{tde_tdelibdir}/libsloxwizard.so +%{tde_tdeappdir}/groupwarewizard.desktop +%{tde_datadir}/config.kcfg/egroupware.kcfg +%{tde_datadir}/config.kcfg/groupwise.kcfg +%{tde_datadir}/config.kcfg/kolab.kcfg +%{tde_datadir}/config.kcfg/scalix.kcfg +%{tde_datadir}/config.kcfg/slox.kcfg + +%post wizards +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun wizards +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%if %{?with_kitchensync} +%package -n trinity-kitchensync +Summary: Synchronization framework +Group: Applications/Communications +#Suggests: konqueror-trinity +#Conflicts: kdebluetooth-irmcsync-trinity (<< 0.99+1.0beta2-4.1), ksync-trinity + +%description -n trinity-kitchensync +This package contains a synchronization framework, still under heavy +development (?). Kitchensync uses opensync. + +%files -n trinity-kitchensync +%{tde_bindir}/kitchensync +%{tde_tdelibdir}/libkitchensyncpart.la +%{tde_tdelibdir}/libkitchensyncpart.so +%{tde_datadir}/apps/kitchensync +%{tde_libdir}/libkitchensync.so.* +%{tde_libdir}/libqopensync.so.* +%{tde_tdeappdir}/kitchensync.desktop +%{tde_datadir}/icons/hicolor/*/apps/kitchensync.png + +%post -n trinity-kitchensync +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kitchensync +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : +%endif + +########## + +%package -n trinity-kleopatra +Summary: Trinity Certificate Manager +Group: Applications/Communications +Requires: gnupg2 +Requires: dirmngr +Requires: pinentry + +%description -n trinity-kleopatra +Kleopatra is the TDE tool for managing X.509 certificates in the gpgsm +keybox and for retrieving certificates from LDAP servers. + +%files -n trinity-kleopatra +%{tde_bindir}/kleopatra +%{tde_bindir}/kwatchgnupg +%{tde_tdelibdir}/kcm_kleopatra.la +%{tde_tdelibdir}/kcm_kleopatra.so +%{tde_tdeappdir}/kleopatra_import.desktop +%{tde_datadir}/apps/kleopatra +%{tde_datadir}/apps/kwatchgnupg +%{tde_datadir}/services/kleopatra_config_*.desktop +%{tde_tdedocdir}/HTML/en/kleopatra/ +%{tde_tdedocdir}/HTML/en/kwatchgnupg/ + +%post -n trinity-kleopatra +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kleopatra +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kmail +Summary: Trinity Email client +Group: Applications/Communications +Requires: %{name}-kio-plugins = %{version}-%{release} +Requires: gnupg2 +Requires: pinentry +Requires: procmail +Requires: trinity-kaddressbook = %{version}-%{release} +Requires: trinity-kleopatra = %{version}-%{release} +Requires: trinity-kdebase-pim-ioslaves + +Provides: imap-client, mail-reader + +%description -n trinity-kmail +KMail is a fully-featured email client that fits nicely into the TDE +desktop. It has features such as support for IMAP, POP3, multiple accounts, +mail filtering and sorting, PGP/GnuPG privacy, and inline attachments. + +You need to install %{name}-kio-plugins if you want to use IMAP or +mbox files, and/or trinity-tdebase-kio-plugins if you want to use POP3. + +%files -n trinity-kmail +%{tde_datadir}/config/kmail.antispamrc +%{tde_datadir}/config/kmail.antivirusrc +%{tde_bindir}/kmail +%{tde_bindir}/kmail_*.sh +%{tde_tdelibdir}/kcm_kmail.la +%{tde_tdelibdir}/kcm_kmail.so +%{tde_tdelibdir}/libkmail_bodypartformatter_application_octetstream.la +%{tde_tdelibdir}/libkmail_bodypartformatter_application_octetstream.so +%{tde_tdelibdir}/libkmail_bodypartformatter_text_calendar.la +%{tde_tdelibdir}/libkmail_bodypartformatter_text_calendar.so +%{tde_tdelibdir}/libkmail_bodypartformatter_text_vcard.la +%{tde_tdelibdir}/libkmail_bodypartformatter_text_vcard.so +%{tde_tdelibdir}/libkmail_bodypartformatter_text_xdiff.la +%{tde_tdelibdir}/libkmail_bodypartformatter_text_xdiff.so +%{tde_tdelibdir}/libkmailpart.la +%{tde_tdelibdir}/libkmailpart.so +%{tde_tdeappdir}/KMail.desktop +%{tde_tdeappdir}/kmail_view.desktop +%{tde_datadir}/apps/kconf_update/kmail-3.1-update-new-mail-notification-settings.pl +%{tde_datadir}/apps/kconf_update/kmail-3.1-use-UOID-for-identities.pl +%{tde_datadir}/apps/kconf_update/kmail-3.1.4-dont-use-UOID-0-for-any-identity.pl +%{tde_datadir}/apps/kconf_update/kmail-3.2-misc.sh +%{tde_datadir}/apps/kconf_update/kmail-3.2-update-loop-on-goto-unread-settings.sh +%{tde_datadir}/apps/kconf_update/kmail-3.3-aegypten.pl +%{tde_datadir}/apps/kconf_update/kmail-3.3-misc.pl +%{tde_datadir}/apps/kconf_update/kmail-3.3-move-identities.pl +%{tde_datadir}/apps/kconf_update/kmail-3.3-split-sign-encr-keys.sh +%{tde_datadir}/apps/kconf_update/kmail-3.3-use-ID-for-accounts.pl +%{tde_datadir}/apps/kconf_update/kmail-3.3b1-misc.pl +%{tde_datadir}/apps/kconf_update/kmail-3.4-misc.pl +%{tde_datadir}/apps/kconf_update/kmail-3.4.1-update-status-filters.pl +%{tde_datadir}/apps/kconf_update/kmail-3.5-trigger-flag-migration.pl +%{tde_datadir}/apps/kconf_update/kmail-3.5-filter-icons.pl +%{tde_datadir}/apps/kconf_update/kmail-pgpidentity.pl +%{tde_datadir}/apps/kconf_update/kmail-upd-identities.pl +%{tde_datadir}/apps/kconf_update/kmail.upd +%{tde_datadir}/apps/kconf_update/upgrade-signature.pl +%{tde_datadir}/apps/kconf_update/upgrade-transport.pl +%{tde_datadir}/apps/kmail +%{tde_datadir}/config.kcfg/custommimeheader.kcfg +%{tde_datadir}/config.kcfg/kmail.kcfg +%{tde_datadir}/config.kcfg/customtemplates_kfg.kcfg +%{tde_datadir}/config.kcfg/replyphrases.kcfg +%{tde_datadir}/config.kcfg/templatesconfiguration_kfg.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/kmaillight.png +%{tde_datadir}/icons/hicolor/*/apps/kmail.png +%{tde_datadir}/icons/hicolor/scalable/apps/kmail.svgz +%{tde_datadir}/services/kmail_config_*.desktop +%{tde_datadir}/services/kontact/kmailplugin.desktop +%{tde_datadir}/servicetypes/dcopimap.desktop +%{tde_datadir}/servicetypes/dcopmail.desktop +# 'libkmailprivate.so' is required at runtime, not devel ! +%{tde_libdir}/libkmailprivate.so +%{tde_libdir}/libkmailprivate.la +%{tde_tdedocdir}/HTML/en/kmail/ + +%post -n trinity-kmail +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kmail +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kmail-devel +Summary: Development files for kmail +Group: Development/Libraries + +%description -n trinity-kmail-devel +%{summary} + +%files -n trinity-kmail-devel +%{tde_tdeincludedir}/kmail/ +%{tde_tdeincludedir}/kmail*.h + +%post -n trinity-kmail-devel +/sbin/ldconfig || : + +%postun -n trinity-kmail-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-kmailcvt +Summary: Trinity KMail mail folder converter +Group: Applications/Communications +Requires: trinity-kmail = %{version}-%{release} + +%description -n trinity-kmailcvt +Converts mail folders to KMail format. Formats supported for import +include Outlook Express, Evolution, and plain mbox. + +%files -n trinity-kmailcvt +%{tde_bindir}/kmailcvt +%{tde_datadir}/applnk/Utilities/kmailcvt.desktop +%{tde_datadir}/apps/kmailcvt +%{tde_datadir}/icons/crystalsvg/*/apps/kmailcvt.png + +%post -n trinity-kmailcvt +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done + +%postun -n trinity-kmailcvt +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done + +########## + +%package -n trinity-knode +Summary: Trinity news reader +Group: Applications/Internet + +%description -n trinity-knode +KNode is an easy-to-use, convenient newsreader. It is intended to be usable +by inexperienced users, but also includes support for such features as +MIME attachments, article scoring, and creating and verifying GnuPG +signatures. + +%files -n trinity-knode +%{tde_bindir}/knode +%{tde_tdelibdir}/kcm_knode.la +%{tde_tdelibdir}/kcm_knode.so +%{tde_tdelibdir}/libknodepart.la +%{tde_tdelibdir}/libknodepart.so +%{tde_libdir}/libknodecommon.so.* +%{tde_tdeappdir}/KNode.desktop +%{tde_datadir}/apps/knode/ +%{tde_datadir}/icons/hicolor/*/apps/knode.png +%{tde_datadir}/icons/hicolor/*/apps/knode2.png +%{tde_datadir}/services/knewsservice.protocol +%{tde_datadir}/services/knode_config_*.desktop +%{tde_datadir}/services/kontact/knodeplugin.desktop +%{tde_tdedocdir}/HTML/en/knode/ + +%post -n trinity-knode +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-knode +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-knode-devel +Summary: Development files for trinity-knode +Group: Development/Libraries +Requires: trinity-knode = %{version}-%{release} + +%description -n trinity-knode-devel +%{summary} + +%files -n trinity-knode-devel +%{tde_libdir}/libknodecommon.la +%{tde_libdir}/libknodecommon.so + +%post -n trinity-knode-devel +/sbin/ldconfig || : + +%postun -n trinity-knode-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-knotes +Summary: Trinity sticky notes +Group: Applications/Utilities +Requires: trinity-tdepim-kresources = %{version}-%{release} + +%description -n trinity-knotes +KNotes is a program that lets you write sticky notes. The notes are saved +automatically when you exit the program, and they display when you open the +program. The program supports printing and mailing your notes. + +%files -n trinity-knotes +%{tde_bindir}/knotes +%{tde_tdelibdir}/knotes_local.la +%{tde_tdelibdir}/knotes_local.so +%{tde_libdir}/libknotes.so.* +%{tde_tdeappdir}/knotes.desktop +%{tde_datadir}/apps/knotes +%{tde_datadir}/config.kcfg/knoteconfig.kcfg +%{tde_datadir}/config.kcfg/knotesglobalconfig.kcfg +%{tde_datadir}/icons/hicolor/*/apps/knotes.png +%{tde_datadir}/services/kresources/knotes/imap.desktop +%{tde_datadir}/services/kresources/knotes/local.desktop +%{tde_datadir}/services/kresources/knotes_manager.desktop +%{tde_datadir}/services/kontact/knotesplugin.desktop +%{tde_tdedocdir}/HTML/en/knotes/ + +%post -n trinity-knotes +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-knotes +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-knotes-devel +Summary: Development files for knots +Group: Development/Libraries +Requires: trinity-knotes = %{version}-%{release} +Requires: %{name}-kresources-devel = %{version}-%{release} + +%description -n trinity-knotes-devel +%{summary} + +%files -n trinity-knotes-devel +%{tde_libdir}/libknotes.so +%{tde_libdir}/libknotes.la +%{tde_tdeincludedir}/KNotesAppIface.h +%{tde_tdeincludedir}/KNotesIface.h + +%post -n trinity-knotes-devel +/sbin/ldconfig || : + +%postun -n trinity-knotes-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-kode +Summary: Helper library for programmatic generation of C++ code +Group: Development/Libraries + +%description -n trinity-kode +This package includes a program kode for generation of C++ template files +and kxml_compiler for generation of C++ classes representing XML data +described by RelaxNG schemes. + +%files -n trinity-kode +%{tde_bindir}/kode +%{tde_bindir}/kxml_compiler +%{tde_libdir}/libkode.so.* + +%post -n trinity-kode +/sbin/ldconfig || : + +%postun -n trinity-kode +/sbin/ldconfig || : + +########## + +%package -n trinity-kode-devel +Summary: Development files for trinity-kode +Group: Development/Libraries +Requires: trinity-kode = %{version}-%{release} + +%description -n trinity-kode-devel +%{summary} + +%files -n trinity-kode-devel +%{tde_libdir}/libkode.la +%{tde_libdir}/libkode.so + +%post -n trinity-kode-devel +/sbin/ldconfig || : + +%postun -n trinity-kode-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-konsolekalendar +Summary: Trinity konsole personal organizer +Group: Applications/Productivity + +%description -n trinity-konsolekalendar +KonsoleKalendar is a command-line interface to TDE calendars. +Konsolekalendar complements the TDE KOrganizer by providing a console +frontend to manage your calendars. + +%files -n trinity-konsolekalendar +%{tde_bindir}/konsolekalendar +%{tde_tdeappdir}/konsolekalendar.desktop +%{tde_datadir}/icons/crystalsvg/*/apps/konsolekalendar.png +%{tde_tdedocdir}/HTML/en/konsolekalendar/ + +%post -n trinity-konsolekalendar +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-konsolekalendar +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kontact +Summary: Trinity pim application +Group: Applications/Communications +Requires: trinity-kmail = %{version}-%{release} +Requires: trinity-korganizer = %{version}-%{release} +Requires: trinity-kaddressbook = %{version}-%{release} +Requires: trinity-knode = %{version}-%{release} +Requires: trinity-knotes = %{version}-%{release} +Requires: trinity-akregator = %{version}-%{release} + +%description -n trinity-kontact +Kontact is the integrated solution to your personal information management +needs. It combines TDE applications like KMail, KOrganizer, and +KAddressBook into a single interface to provide easy access to mail, +scheduling, address book and other PIM functionality. + +%files -n trinity-kontact +%{tde_bindir}/kontact +%{tde_tdelibdir}/kcm_kmailsummary.la +%{tde_tdelibdir}/kcm_kmailsummary.so +%{tde_tdelibdir}/kcm_kontact.la +%{tde_tdelibdir}/kcm_kontact.so +%{tde_tdelibdir}/kcm_kontactknt.la +%{tde_tdelibdir}/kcm_kontactknt.so +%{tde_tdelibdir}/kcm_kontactsummary.la +%{tde_tdelibdir}/kcm_kontactsummary.so +%{tde_tdelibdir}/kcm_korgsummary.la +%{tde_tdelibdir}/kcm_korgsummary.so +%{tde_tdelibdir}/kcm_sdsummary.la +%{tde_tdelibdir}/kcm_sdsummary.so +%{tde_tdelibdir}/libkontact_*.la +%{tde_tdelibdir}/libkontact_*.so +%{tde_libdir}/libkontact.so.* +%{tde_libdir}/libkpinterfaces.so.* +%{tde_tdeappdir}/Kontact.desktop +%{tde_tdeappdir}/kontactdcop.desktop +%{tde_datadir}/apps/kontact +%{tde_datadir}/apps/kontactsummary/kontactsummary_part.rc +%{tde_datadir}/config.kcfg/kontact.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kontact.png +%{tde_datadir}/icons/crystalsvg/*/actions/kontact_*.png +%{tde_datadir}/services/kcmkmailsummary.desktop +%{tde_datadir}/services/kcmkontactknt.desktop +%{tde_datadir}/services/kcmkontactsummary.desktop +%{tde_datadir}/services/kcmkorgsummary.desktop +%{tde_datadir}/services/kcmsdsummary.desktop +%{tde_datadir}/services/kontact/newstickerplugin.desktop +%{tde_datadir}/services/kontact/specialdatesplugin.desktop +%{tde_datadir}/services/kontact/summaryplugin.desktop +%{tde_datadir}/services/kontact/weatherplugin.desktop +%{tde_datadir}/services/kontactconfig.desktop +%{tde_datadir}/servicetypes/kontactplugin.desktop +%{tde_tdedocdir}/HTML/en/kontact/ +%{tde_tdedocdir}/HTML/en/kpilot/ + +%post -n trinity-kontact +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kontact +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kontact-devel +Summary: Development files for kontact +Group: Development/Libraries +Requires: trinity-kontact = %{version}-%{release} + +%description -n trinity-kontact-devel +%{summary} + +%files -n trinity-kontact-devel +%{tde_libdir}/libkontact.la +%{tde_libdir}/libkontact.so +%{tde_libdir}/libkpinterfaces.la +%{tde_libdir}/libkpinterfaces.so +%{tde_tdeincludedir}/kontact/ + +%post -n trinity-kontact-devel +/sbin/ldconfig || : + +%postun -n trinity-kontact-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-korganizer +Summary: Trinity personal organizer +Group: Applications/Productivity +Requires: trinity-libkpimidentities = %{version}-%{release} +Requires: trinity-libkpimexchange = %{version}-%{release} +Requires: %{name}-kresources = %{version}-%{release} +Requires: perl + +%description -n trinity-korganizer +This package contains KOrganizer, a calendar and scheduling program. + +KOrganizer aims to be a complete program for organizing appointments, +contacts, projects, etc. KOrganizer natively supports information interchange +with other calendar applications, through the industry standard vCalendar +personal data interchange file format. This eases the move from other +modern PIMs to KOrganizer. + +KOrganizer offers full synchronization with Palm Pilots, if kpilot is +installed. + +%files -n trinity-korganizer +%{tde_bindir}/ical2vcal +%{tde_bindir}/korgac +%{tde_bindir}/korganizer +%{tde_tdelibdir}/kcm_korganizer.la +%{tde_tdelibdir}/kcm_korganizer.so +%{tde_tdelibdir}/libkorg_*.la +%{tde_tdelibdir}/libkorg_*.so +%{tde_tdelibdir}/libkorganizerpart.la +%{tde_tdelibdir}/libkorganizerpart.so +%{tde_libdir}/libkocorehelper.so.* +%{tde_libdir}/libkorg_stdprinting.so.* +%{tde_libdir}/libkorganizer.so.* +%{tde_libdir}/libkorganizer_calendar.so.* +%{tde_libdir}/libkorganizer_eventviewer.so.* +%{tde_tdeappdir}/korganizer.desktop +%{tde_datadir}/apps/kconf_update/korganizer.upd +%{tde_datadir}/apps/korgac +%{tde_datadir}/apps/korganizer +%{tde_datadir}/autostart/korgac.desktop +%{tde_datadir}/config.kcfg/korganizer.kcfg +%{tde_datadir}/icons/hicolor/*/apps/korganizer.png +%{tde_datadir}/services/kontact/korganizerplugin.desktop +%{tde_datadir}/services/kontact/journalplugin.desktop +%{tde_datadir}/services/kontact/todoplugin.desktop +%{tde_datadir}/services/korganizer_*.desktop +%{tde_datadir}/services/korganizer +%{tde_datadir}/services/webcal.protocol +%{tde_datadir}/servicetypes/calendardecoration.desktop +%{tde_datadir}/servicetypes/calendarplugin.desktop +%{tde_datadir}/servicetypes/dcopcalendar.desktop +%{tde_datadir}/servicetypes/korganizerpart.desktop +%{tde_datadir}/servicetypes/korgprintplugin.desktop +%{tde_tdeincludedir}/korganizer +%{tde_tdeincludedir}/korganizer +%{tde_tdeincludedir}/calendar +%{tde_tdedocdir}/HTML/en/korganizer/ + +%post -n trinity-korganizer +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-korganizer +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-korganizer-devel +Summary: Development files for korganizer +Group: Development/Libraries +Requires: trinity-korganizer = %{version}-%{release} + +%description -n trinity-korganizer-devel +%{summary} + +%files -n trinity-korganizer-devel +%{tde_libdir}/libkocorehelper.la +%{tde_libdir}/libkocorehelper.so +%{tde_libdir}/libkorg_stdprinting.la +%{tde_libdir}/libkorg_stdprinting.so +%{tde_libdir}/libkorganizer.la +%{tde_libdir}/libkorganizer.so +%{tde_libdir}/libkorganizer_calendar.la +%{tde_libdir}/libkorganizer_calendar.so +%{tde_libdir}/libkorganizer_eventviewer.la +%{tde_libdir}/libkorganizer_eventviewer.so + +%post -n trinity-korganizer-devel +/sbin/ldconfig || : + +%postun -n trinity-korganizer-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-korn +Summary: Trinity mail checker +Group: Applications/Communications +Requires: %{name}-kio-plugins = %{version}-%{release} +#Requires: tdebase-kio-plugins-trinity + +%description -n trinity-korn +Korn is a TDE mail checker that can display a small summary in the Kicker +tray. It supports checking mbox, pop3, imap4, and nntp sources. + +Once mail is received you can have Korn run a third party program or change +the color/icon of the Kicker display. In addition to this you can have +Korn run a program once you click on the docked icon in Kicker. + +%files -n trinity-korn +%{tde_bindir}/korn +%{tde_libdir}/kconf_update_bin/korn-3-4-config_change +%{tde_tdeappdir}/KOrn.desktop +%{tde_datadir}/apps/kconf_update/korn-3-4-config_change.upd +%{tde_datadir}/apps/kconf_update/korn-3-5-metadata-update.pl +%{tde_datadir}/apps/kconf_update/korn-3-5-ssl-update.pl +%{tde_datadir}/apps/kconf_update/korn-3-5-update.upd +%{tde_datadir}/icons/hicolor/*/apps/korn.png +%{tde_tdedocdir}/HTML/en/korn/ + +%post -n trinity-korn +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-korn +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ktnef +Summary: Trinity TNEF viewer +Group: Applications/Communications + +%description -n trinity-ktnef +The TNEF File Viewer allows you to handle mail attachments using the TNEF +format. These attachments are usually found in mails coming from Microsoft +mail servers and embed the mail properties as well as the actual attachments. + +%files -n trinity-ktnef +%{tde_bindir}/ktnef +%{tde_tdeappdir}/ktnef.desktop +%{tde_datadir}/apps/ktnef +%{tde_datadir}/icons/hicolor/*/apps/ktnef.png +%{tde_datadir}/icons/locolor/*/apps/ktnef.png +%{tde_datadir}/mimelnk/application/ms-tnef.desktop +%{tde_tdedocdir}/HTML/en/ktnef/ + +%post -n trinity-ktnef +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ktnef +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-libindex +Summary: Trinity indexing library +Group: Environment/Libraries + +%description -n trinity-libindex +This library provides text indexing and is currently used by KMail +to implement fast searches in mail bodies. + +This is the runtime package for programs that use the libindex library. + +%files -n trinity-libindex +%{tde_libdir}/libindex.so.* + +%post -n trinity-libindex +/sbin/ldconfig || : + +%postun -n trinity-libindex +/sbin/ldconfig || : + +########## + +%package -n trinity-libindex-devel +Summary: Trinity indexing library [development] +Group: Development/Libraries +Requires: trinity-libindex = %{version}-%{release} + +%description -n trinity-libindex-devel +This library provides text indexing and is currently used by KMail +to implement searching through mail text. + +This is the development package which contains the headers for the libindex-trinity +library. + +%files -n trinity-libindex-devel +%{tde_bindir}/indexlib-config +%{tde_tdeincludedir}/index +%{tde_libdir}/libindex.la +%{tde_libdir}/libindex.so + +%post -n trinity-libindex-devel +/sbin/ldconfig || : + +%postun -n trinity-libindex-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libkcal +Summary: Trinity calendaring library +Group: Environment/Libraries +#Requires: %{name}-kresources = %{version}-%{release} + +%description -n trinity-libkcal +This library provides a C++ API for handling the vCalendar and iCalendar +formats. + +This is the runtime package for programs that use the libkcal-trinity library. + +%files -n trinity-libkcal +%{tde_tdelibdir}/kcal_kabc.la +%{tde_tdelibdir}/kcal_kabc.so +%{tde_tdelibdir}/kcal_localdir.la +%{tde_tdelibdir}/kcal_localdir.so +%{tde_tdelibdir}/kcal_local.la +%{tde_tdelibdir}/kcal_local.so +%{tde_tdelibdir}/kcal_remote.la +%{tde_tdelibdir}/kcal_remote.so +%{tde_libdir}/libkcal.so.* +%{tde_libdir}/libkcal_resourceremote.so.* +%{tde_libdir}/libkholidays.so.* +%{tde_datadir}/apps/libkholidays +%{tde_datadir}/services/kresources/kcal/imap.desktop +%{tde_datadir}/services/kresources/kcal/kabc.desktop +%{tde_datadir}/services/kresources/kcal/local.desktop +%{tde_datadir}/services/kresources/kcal/localdir.desktop +%{tde_datadir}/services/kresources/kcal/remote.desktop +%{tde_datadir}/services/kresources/kcal_manager.desktop + +%post -n trinity-libkcal +/sbin/ldconfig || : + +%postun -n trinity-libkcal +/sbin/ldconfig || : + +########## + +%package -n trinity-libkcal-devel +Summary: Trinity calendaring library [development] +Group: Development/Libraries +Requires: trinity-libkcal = %{version}-%{release} +Requires: trinity-libtdepim-devel = %{version}-%{release} +Requires: trinity-libktnef-devel = %{version}-%{release} + +%description -n trinity-libkcal-devel +This library provides a C++ API for handling the vCalendar and iCalendar +formats. + +This is the development package which contains the headers for the libkcal-trinity +library. + +%files -n trinity-libkcal-devel +%{tde_tdeincludedir}/libemailfunctions/idmapper.h +%{tde_tdeincludedir}/libkcal +%{tde_libdir}/libkcal.la +%{tde_libdir}/libkcal.so +%{tde_libdir}/libkcal_resourceremote.la +%{tde_libdir}/libkcal_resourceremote.so +%{tde_libdir}/libkholidays.la +%{tde_libdir}/libkholidays.so + +%post -n trinity-libkcal-devel +/sbin/ldconfig || : + +%postun -n trinity-libkcal-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libtdepim +Summary: Trinity PIM library +Group: Environment/Libraries +Requires: trinity-libkcal = %{version}-%{release} + +Obsoletes: libtdepim < %{version}-%{release} +Provides: libtdepim = %{version}-%{release} + +%description -n trinity-libtdepim +This is the runtime package for programs that use the libtdepim-trinity library. + +%files -n trinity-libtdepim +%{tde_tdelibdir}/plugins/designer/[kt]depimwidgets.la +%{tde_tdelibdir}/plugins/designer/[kt]depimwidgets.so +%{tde_tdelibdir}/plugins/designer/kpartsdesignerplugin.la +%{tde_tdelibdir}/plugins/designer/kpartsdesignerplugin.so +%{tde_libdir}/lib[kt]depim.so.* +%{tde_datadir}/apps/[kt]depimwidgets +%{tde_datadir}/apps/lib[kt]depim +%{tde_datadir}/apps/[kt]depim +%{tde_datadir}/config.kcfg/pimemoticons.kcfg +%{tde_datadir}/icons/crystalsvg/22x22/actions/button_fewer.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/button_more.png + +%post -n trinity-libtdepim +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : + +%postun -n trinity-libtdepim +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : + +########## + +%package -n trinity-libtdepim-devel +Summary: Trinity PIM library [development] +Group: Development/Libraries +Requires: trinity-libtdepim = %{version}-%{release} +Requires: trinity-kdelibs-devel + +Obsoletes: libtdepim-devel < %{version}-%{release} +Provides: libtdepim-devel = %{version}-%{release} + +%description -n trinity-libtdepim-devel +This is the development package which contains the headers for the libtdepim-trinity +library. + +%files -n trinity-libtdepim-devel +%{tde_tdeincludedir}/[kt]depimmacros.h +%{tde_libdir}/lib[kt]depim.la +%{tde_libdir}/lib[kt]depim.so + +%post -n trinity-libtdepim-devel +/sbin/ldconfig || : + +%postun -n trinity-libtdepim-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libkgantt +Summary: Trinity gantt charting library +Group: Environment/Libraries + +%description -n trinity-libkgantt +This is the runtime package for programs that use the libkgantt-trinity library. + +%files -n trinity-libkgantt +%{tde_libdir}/libkgantt.so.* +%{tde_datadir}/apps/kgantt + +%post -n trinity-libkgantt +/sbin/ldconfig || : + +%postun -n trinity-libkgantt +/sbin/ldconfig || : + +########## + +%package -n trinity-libkgantt-devel +Summary: Trinity gantt charting library [development] +Group: Development/Libraries +Requires: trinity-libkgantt = %{version}-%{release} +Requires: trinity-libtdepim-devel = %{version}-%{release} + +%description -n trinity-libkgantt-devel +This is the development package which contains the headers for the libkgantt-trinity +library. + +%files -n trinity-libkgantt-devel +%{tde_tdeincludedir}/kgantt +%{tde_libdir}/libkgantt.la +%{tde_libdir}/libkgantt.so + +%post -n trinity-libkgantt-devel +/sbin/ldconfig || : + +%postun -n trinity-libkgantt-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libkleopatra +Summary: TDE GnuPG interface libraries +Group: Environment/Libraries +Requires: gnupg + +%description -n trinity-libkleopatra +This library is used by several TDE applications to interface to the +GnuPG program. + +This is the runtime package for programs that use the libkleopatra-trinity library. + +%files -n trinity-libkleopatra +%{tde_datadir}/config/libkleopatrarc +%{tde_libdir}/libgpgme++.so.* +%{tde_libdir}/libkleopatra.so.* +%{tde_libdir}/libkpgp.so.* +%{tde_libdir}/libqgpgme.so.* +%{tde_datadir}/apps/kconf_update/kpgp-3.1-upgrade-address-data.pl +%{tde_datadir}/apps/kconf_update/kpgp.upd +%{tde_datadir}/apps/libkleopatra/ +%{tde_datadir}/icons/crystalsvg/*/apps/gpg.png +%{tde_datadir}/icons/crystalsvg/*/apps/gpgsm.png + +%post -n trinity-libkleopatra +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : + +%postun -n trinity-libkleopatra +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : + +########## + +%package -n trinity-libkleopatra-devel +Summary: Trinity GnuPG interface libraries [development] +Group: Development/Libraries +Requires: trinity-libkleopatra = %{version}-%{release} +Requires: trinity-libtdepim-devel = %{version}-%{release} + +%description -n trinity-libkleopatra-devel +This library is used by several KDE applications to interface to the +GnuPG program. + +This is the development package which contains the headers for the +libkleopatra-trinity library. + +%files -n trinity-libkleopatra-devel +%{tde_tdeincludedir}/gpgme++ +%{tde_tdeincludedir}/kleo +%{tde_tdeincludedir}/qgpgme +%{tde_libdir}/libgpgme++.la +%{tde_libdir}/libgpgme++.so +%{tde_libdir}/libkleopatra.la +%{tde_libdir}/libkleopatra.so +%{tde_libdir}/libkpgp.la +%{tde_libdir}/libkpgp.so +%{tde_libdir}/libqgpgme.la +%{tde_libdir}/libqgpgme.so + +%post -n trinity-libkleopatra-devel +/sbin/ldconfig || : + +%postun -n trinity-libkleopatra-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libkmime +Summary: Trinity MIME interface library +Group: Environment/Libraries +#Conflicts: trinity-libmimelib + +%description -n trinity-libkmime +This library provides a C++ interface to MIME messages, parsing them into +an object tree. + +%files -n trinity-libkmime +%{tde_libdir}/libkmime.so.* + +%post -n trinity-libkmime +/sbin/ldconfig || : + +%postun -n trinity-libkmime +/sbin/ldconfig || : + +########## + +%package -n trinity-libkmime-devel +Summary: Development files for libkmime +Group: Development/Libraries +Requires: trinity-libkmime = %{version}-%{release} + +%description -n trinity-libkmime-devel +%{summary} + +%files -n trinity-libkmime-devel +%{tde_libdir}/libkmime.la +%{tde_libdir}/libkmime.so + +%post -n trinity-libkmime-devel +/sbin/ldconfig || : + +%postun -n trinity-libkmime-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libkpimexchange +Summary: Trinity PIM Exchange library +Group: Environment/Libraries + +%description -n trinity-libkpimexchange +This is the runtime package for programs that use the libkpimexchange-trinity +library. + +%files -n trinity-libkpimexchange +%{tde_tdelibdir}/resourcecalendarexchange.la +%{tde_tdelibdir}/resourcecalendarexchange.so +%{tde_libdir}/libkpimexchange.so.* + +%post -n trinity-libkpimexchange +/sbin/ldconfig || : + +%postun -n trinity-libkpimexchange +/sbin/ldconfig || : + +########## + +%package -n trinity-libkpimexchange-devel +Summary: Trinity PIM Exchange library [development] +Group: Development/Libraries +Requires: trinity-libkpimexchange = %{version}-%{release} +Requires: trinity-libkcal-devel = %{version}-%{release} +Requires: trinity-libtdepim-devel = %{version}-%{release} + +%description -n trinity-libkpimexchange-devel +This is the development package which contains the headers for the +libkpimexchange-trinity library. + +%files -n trinity-libkpimexchange-devel +%{tde_tdeincludedir}/[kt]depim/exchangeaccount.h +%{tde_tdeincludedir}/[kt]depim/exchangeclient.h +%{tde_libdir}/libkpimexchange.la +%{tde_libdir}/libkpimexchange.so + +%post -n trinity-libkpimexchange-devel +/sbin/ldconfig || : + +%postun -n trinity-libkpimexchange-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libkpimidentities +Summary: Trinity PIM user identity information library +Group: Environment/Libraries + +%description -n trinity-libkpimidentities +This library provides information to TDE programs about user identity, +such as email address, organization, etc. + +This is the runtime package for programs that use the libkpimidentities-trinity +library. + +%files -n trinity-libkpimidentities +%{tde_libdir}/libkpimidentities.so.* + +%post -n trinity-libkpimidentities +/sbin/ldconfig || : + +%postun -n trinity-libkpimidentities +/sbin/ldconfig || : + +########## + +%package -n trinity-libkpimidentities-devel +Summary: Development files for libkpimidentities +Group: Development/Libraries +Requires: trinity-libkpimidentities = %{version}-%{release} + +%description -n trinity-libkpimidentities-devel +%{summary} + +%files -n trinity-libkpimidentities-devel +%{tde_libdir}/libkpimidentities.la +%{tde_libdir}/libkpimidentities.so + +%post -n trinity-libkpimidentities-devel +/sbin/ldconfig || : + +%postun -n trinity-libkpimidentities-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libksieve +Summary: Trinity mail/news message filtering library +Group: Environment/Libraries + +%description -n trinity-libksieve +This is the runtime package for programs that use the libksieve-trinity library. + +%files -n trinity-libksieve +%{tde_libdir}/libksieve.so.* + +%post -n trinity-libksieve +/sbin/ldconfig || : + +%postun -n trinity-libksieve +/sbin/ldconfig || : + +########## + +%package -n trinity-libksieve-devel +Summary: Trinity mail/news message filtering library [development] +Group: Development/Libraries +Requires: trinity-libksieve = %{version}-%{release} +Requires: trinity-libtdepim-devel = %{version}-%{release} + +%description -n trinity-libksieve-devel +This is the development package which contains the headers for the libksieve-trinity +library. + +%files -n trinity-libksieve-devel +%{tde_tdeincludedir}/ksieve +%{tde_libdir}/libksieve.la +%{tde_libdir}/libksieve.so + +%post -n trinity-libksieve-devel +/sbin/ldconfig || : + +%postun -n trinity-libksieve-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libktnef +Summary: Library for handling KTNEF email attachments +Group: Environment/Libraries + +%description -n trinity-libktnef +This library handles mail attachments using the TNEF format. These +attachments are usually found in mails coming from Microsoft mail +servers and embed the mail properties as well as the actual +attachments. +. +This is the runtime library for packages using the ktnef-trinity library. + +%files -n trinity-libktnef +%{tde_libdir}/libktnef.so.* + +%post -n trinity-libktnef +/sbin/ldconfig || : + +%postun -n trinity-libktnef +/sbin/ldconfig || : + +########## + +%package -n trinity-libktnef-devel +Summary: KTNEF handler library [development] +Group: Development/Libraries +Requires: trinity-libktnef = %{version}-%{release} +Requires: trinity-libtdepim-devel = %{version}-%{release} + +%description -n trinity-libktnef-devel +This library handles mail attachments using the TNEF format. These +attachments are usually found in mails coming from Microsoft mail +servers and embed the mail properties as well as the actual +attachments. + +This is the development package which contains the headers for the +ktnef-trinity library. + +%files -n trinity-libktnef-devel +%{tde_tdeincludedir}/ktnef +%{tde_libdir}/libktnef.la +%{tde_libdir}/libktnef.so + +%post -n trinity-libktnef-devel +/sbin/ldconfig || : + +%postun -n trinity-libktnef-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libmimelib +Summary: Trinity mime library +Group: Environment/Libraries + +%description -n trinity-libmimelib +This library is used by several Trinity applications to handle mime types. + +This is the runtime package for programs that use the libmimelib-trinity library. + +%files -n trinity-libmimelib +%{tde_libdir}/libmimelib.so.* + +%post -n trinity-libmimelib +/sbin/ldconfig || : + +%postun -n trinity-libmimelib +/sbin/ldconfig || : + +########## + +%package -n trinity-libmimelib-devel +Summary: Trinity mime library [development] +Group: Development/Libraries +Requires: trinity-libmimelib = %{version}-%{release} + +%description -n trinity-libmimelib-devel +This library is used by several KDE applications to handle mime types. + +This is the development package which contains the headers for the +libmimelib library. + +%files -n trinity-libmimelib-devel +%{tde_tdeincludedir}/mimelib +%{tde_libdir}/libmimelib.la +%{tde_libdir}/libmimelib.so + +%post -n trinity-libmimelib-devel +/sbin/ldconfig || : + +%postun -n trinity-libmimelib-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-kmobile +Summary: Synchronize and manage mobile phone with your PC. +Group: Applications/Communications + +%description -n trinity-kmobile +KMobileTools is a nice TDE-based application that allows to synchronize +and manage mobile phones with your PC. It handles full SMS control, +dialing calls, phonebook, and phone status monitoring. + +%files -n trinity-kmobile +%{tde_bindir}/kmobile +%{tde_datadir}/icons/default.kde/32x32/devices/mobile_camera.png +%{tde_datadir}/icons/default.kde/32x32/devices/mobile_musicplayer.png +%{tde_datadir}/icons/default.kde/32x32/devices/mobile_organizer.png +%{tde_datadir}/icons/default.kde/32x32/devices/mobile_phone.png +%{tde_datadir}/icons/default.kde/32x32/devices/mobile_unknown.png +%{tde_datadir}/icons/hicolor/*/apps/kmobile.png +%{tde_datadir}/services/libkmobile_digicam.desktop +%{tde_datadir}/services/libkmobile_gammu.desktop +%{tde_datadir}/services/libkmobile_skeleton.desktop +%{tde_datadir}/servicetypes/libkmobile.desktop +%{tde_datadir}/apps/kmobile/kmobileui.rc +%{tde_tdeappdir}/kmobile.desktop +%{tde_tdelibdir}/libkmobile_skeleton.la +%{tde_tdelibdir}/libkmobile_skeleton.so +%{tde_libdir}/libkmobileclient.la +%{tde_libdir}/libkmobileclient.so +%{tde_libdir}/libkmobiledevice.la +%{tde_libdir}/libkmobiledevice.so + +%post -n trinity-kmobile +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kmobile +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%prep +%setup -q -n kdepim +%patch1 -p1 -b .gcc47 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 +%patch8 -p1 +#patch9 -p1 -b .addquotes +%patch10 -p1 -b .segv +%patch11 -p1 +%patch12 -p1 +%patch13 -p1 -b .incdir +%patch14 -p1 -b .ldflags + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" +export LD_LIBRARY_PATH="%{tde_libdir}" + +%if 0%{?rhel} || 0%{?fedora} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DWITH_ARTS=ON \ + -DWITH_SASL=ON \ + -DWITH_NEWDISTRLISTS=ON \ +%if 0%{?with_gnokii} + -DWITH_GNOKII=ON \ +%else + -DWITH_GNOKII=OFF \ +%endif + -DWITH_EXCHANGE=ON \ + -DWITH_EGROUPWARE=ON \ + -DWITH_KOLAB=ON \ + -DWITH_SLOX=ON \ + -DWITH_GROUPWISE=ON \ + -DWITH_FEATUREPLAN=ON \ + -DWITH_GROUPDAV=ON \ + -DWITH_BIRTHDAYS=ON \ + -DWITH_NEWEXCHANGE=ON \ + -DWITH_SCALIX=ON \ + -DWITH_CALDAV=ON \ + -DWITH_CARDDAV=ON \ + -DWITH_INDEXLIB=ON \ +%if %{?with_kitchensync} + -DBUILD_KITCHENSYNC=ON \ +%endif + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} || %__make VERBOSE=1 + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{?buildroot} -C build + +%clean +%__rm -rf %{?buildroot} + + +%changelog +* Sun Jul 30 2012 Francois Andriot - 3.5.13-8 +- Add more '-devel' packages +- Add support for Mageia 2 + +* Sat Jun 30 2012 Francois Andriot - 3.5.13-7 +- Rename 'tdepim' to 'trinity-tdepim' +- Disable unneccesary fsync() in cached IMAP handler [Bug #467] [Commit #82d4a938] + +* Sat Jun 16 2012 Francois Andriot - 3.5.13-6 +- Rename 'kdepim' to 'tdepim' +- Add 'Requires: trinity-kdebase-pim-ioslaves' to add POP3 support to kmail +- Split into several packages +- Update kalarmd icon reference, which does not exist, to kalarm. [Commit #228ad1c6] + +* Sun May 27 2012 Francois Andriot - 3.5.13-5 +- Fix KMail counting of unread messages in the system tray icon [Commit #40c435e5] +- Fix knotes not appearing on the desktop when a session is restored. [Bug #987] [Commit #533f494f] +- Fix knotes to not close notes during saving session. [Bug #987] [Commit #c48253af] +- Fix linear alphabet string errors [Bug 635] [Commit #80bc593e] +- Fix infinite loop on IMAP4 authentication failure [Bug #1007] + +* Wed Apr 25 2012 Francois Andriot - 3.5.13-4 +- Fix compilation with GCC 4.7 [Bug #958] +- Reverse patch from GIT hash 33e649c9. [Bug #406] [Commit #2d5f15c8] +- Fix kmail composer crash [Bug #953] + +* Sun Nov 27 2011 Francois Andriot - 3.5.13-3 +- Add missing files '*.la' + +* Fri Nov 04 2011 Francois Andriot - 3.5.13-2 +- Updates BuildRequires + +* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 +- Initial release for RHEL 6, RHEL 5 and Fedora 15 + +* Mon Sep 05 2011 Francois Andriot - 3.5.12-0 +- Import to GIT diff --git a/redhat/tdepim/tdepim-14.0.0.spec b/redhat/tdepim/tdepim-14.0.0.spec new file mode 100644 index 000000000..3a5479727 --- /dev/null +++ b/redhat/tdepim/tdepim-14.0.0.spec @@ -0,0 +1,2250 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +BuildRequires: cmake >= 2.8 +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/tde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +# KDEPIM specific features +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_gnokii 1 +BuildRequires: gnokii-devel +%endif + +# TDEPIM optional features +#define with_kitchensync 1 + + +Name: trinity-tdepim +Version: 14.0.0 +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} +License: GPL +Group: Applications/Productivity + +Vendor: Trinity Project +Packager: Francois Andriot +Summary: Personal Information Management apps from the official Trinity release + +Prefix: %{tde_prefix} + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz + +# [tdepim] Missing LDFLAGS cause FTBFS on MGA2/MDV2011 +Patch14: kdepim-3.5.13-missing_ldflags.patch + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: trinity-libcaldav-devel +BuildRequires: trinity-libcarddav-devel + +BuildRequires: gpgme-devel +BuildRequires: libgpg-error-devel +BuildRequires: flex +BuildRequires: libical-devel +BuildRequires: boost-devel +BuildRequires: pcre-devel +BuildRequires: glib2-devel +BuildRequires: gcc-c++ make +BuildRequires: libidn-devel + +# CURL support +%if 0%{?fedora} >= 15 +BuildRequires: flex-static +%endif +%if 0%{?rhel} > 0 && 0%{?rhel} <= 5 +BuildRequires: trinity-libcurl-devel +%else +BuildRequires: curl-devel +%endif + +# SASL support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}sasl2-devel +%else +BuildRequires: cyrus-sasl-devel +%endif + +# XCOMPOSITE support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 +BuildRequires: libXcomposite-devel +%endif + +# XSCREENSAVER support +# Disabled on RHEL4 +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} +%define with_xscreensaver 1 +%if 0%{?rhel} == 5 +BuildRequires: xorg-x11-proto-devel +BuildRequires: gnome-screensaver +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel +%endif +%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} >= 1220 +BuildRequires: libXScrnSaver-devel +%endif +%if 0%{?suse_version} == 1140 +BuildRequires: xscreensaver +%endif +%endif + + +Requires: trinity-libtdepim = %{version}-%{release} +Requires: %{name}-kfile-plugins = %{version}-%{release} +Requires: %{name}-tdeio-plugins = %{version}-%{release} +Requires: %{name}-tderesources = %{version}-%{release} +Requires: %{name}-wizards = %{version}-%{release} +Requires: trinity-akregator = %{version}-%{release} +Requires: trinity-kaddressbook = %{version}-%{release} +Requires: trinity-kalarm = %{version}-%{release} +Requires: trinity-kandy = %{version}-%{release} +Requires: trinity-karm = %{version}-%{release} +Requires: trinity-kleopatra = %{version}-%{release} +Requires: trinity-kmail = %{version}-%{release} +Requires: trinity-kmailcvt = %{version}-%{release} +Requires: trinity-kmobile = %{version}-%{release} +Requires: trinity-knode = %{version}-%{release} +Requires: trinity-knotes = %{version}-%{release} +Requires: trinity-kode = %{version}-%{release} +Requires: trinity-konsolekalendar = %{version}-%{release} +Requires: trinity-kontact = %{version}-%{release} +Requires: trinity-korganizer = %{version}-%{release} +Requires: trinity-korn = %{version}-%{release} +Requires: trinity-ktnef = %{version}-%{release} +Requires: trinity-libindex = %{version}-%{release} +Requires: trinity-libkcal = %{version}-%{release} +Requires: trinity-libkgantt = %{version}-%{release} +Requires: trinity-libkleopatra = %{version}-%{release} +Requires: trinity-libkmime = %{version}-%{release} +Requires: trinity-libkpimexchange = %{version}-%{release} +Requires: trinity-libkpimidentities = %{version}-%{release} +Requires: trinity-libksieve = %{version}-%{release} +Requires: trinity-libktnef = %{version}-%{release} +Requires: trinity-libmimelib = %{version}-%{release} + +Obsoletes: trinity-kdepim < %{version}-%{release} +Provides: trinity-kdepim = %{version}-%{release} +Obsoletes: tdepim < %{version}-%{release} +Provides: tdepim = %{version}-%{release} + +%description +This metapackage includes a collection of Personal Information Management +(PIM) applications provided with the official release of Trinity. + +%files + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries + +Obsoletes: tdepim-cmake < %{version}-%{release} + +Obsoletes: trinity-kdepim-devel < %{version}-%{release} +Provides: trinity-kdepim-devel = %{version}-%{release} +Obsoletes: tdepim-devel < %{version}-%{release} +Provides: tdepim-devel = %{version}-%{release} + +Requires: %{name} = %{version}-%{release} +Requires: trinity-akregator-devel = %{version}-%{release} +Requires: trinity-libtdepim-devel = %{version}-%{release} +Requires: trinity-kaddressbook-devel = %{version}-%{release} +Requires: trinity-karm-devel = %{version}-%{release} +Requires: trinity-kmail-devel = %{version}-%{release} +Requires: trinity-knode-devel = %{version}-%{release} +Requires: trinity-knotes-devel = %{version}-%{release} +Requires: trinity-kode-devel = %{version}-%{release} +Requires: trinity-kontact-devel = %{version}-%{release} +Requires: trinity-korganizer-devel = %{version}-%{release} +Requires: trinity-libindex-devel = %{version}-%{release} +Requires: trinity-libkcal-devel = %{version}-%{release} +Requires: trinity-libkgantt-devel = %{version}-%{release} +Requires: trinity-libkleopatra-devel = %{version}-%{release} +Requires: trinity-libkmime-devel = %{version}-%{release} +Requires: trinity-libkpimexchange-devel = %{version}-%{release} +Requires: trinity-libkpimidentities-devel = %{version}-%{release} +Requires: trinity-libksieve-devel = %{version}-%{release} +Requires: trinity-libktnef-devel = %{version}-%{release} +Requires: trinity-libmimelib-devel = %{version}-%{release} +Requires: %{name}-tderesources-devel = %{version}-%{release} + +%description devel +This metapackage includes all development files for TDE PIM. +It also contains the CMAKE macros. + +%files devel +%defattr(-,root,root,-) +%{tde_datadir}/cmake/* + +########## + +%package -n trinity-akregator +Summary: RSS feed aggregator for TDE +Group: Applications/Internet +Requires: trinity-libtdepim = %{version}-%{release} +Requires: trinity-libkcal = %{version}-%{release} + +%description -n trinity-akregator +aKregator is a fast, lightweight, and intuitive feed reader program +for TDE. It allows you to quickly browse through hundreds of +thousands of internet feeds in a quick, efficient, and familiar way. + +%files -n trinity-akregator +%defattr(-,root,root,-) +%{tde_bindir}/akregator +%{tde_tdelibdir}/libakregatorpart.la +%{tde_tdelibdir}/libakregatorpart.so +%{tde_tdelibdir}/libakregator_mk4storage_plugin.la +%{tde_tdelibdir}/libakregator_mk4storage_plugin.so +%{tde_libdir}/libakregatorprivate.so.* +%{tde_tdeappdir}/akregator.desktop +%{tde_datadir}/apps/akregator +%{tde_datadir}/config.kcfg/akregator.kcfg +%{tde_datadir}/config.kcfg/mk4config.kcfg +%{tde_datadir}/icons/crystalsvg/*/actions/rss_tag.png +%{tde_datadir}/icons/crystalsvg/16x16/apps/akregator_empty.png +%{tde_datadir}/icons/hicolor/*/apps/akregator.png +%{tde_datadir}/icons/hicolor/scalable/apps/akregator.svgz +%{tde_datadir}/services/akregator_mk4storage_plugin.desktop +%{tde_datadir}/services/akregator_part.desktop +%{tde_datadir}/services/feed.protocol +%{tde_datadir}/services/kontact/akregatorplugin*.desktop +%{tde_datadir}/servicetypes/akregator_plugin.desktop +%{tde_tdedocdir}/HTML/en/akregator/ + +%post -n trinity-akregator +/sbin/ldconfig || : +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-akregator +/sbin/ldconfig || : +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-akregator-devel +Summary: Development files for trinity-akregator +Group: Development/Libraries +Requires: trinity-akregator = %{version}-%{release} + +%description -n trinity-akregator-devel +%{summary} + +%files -n trinity-akregator-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/akregator/ +%{tde_libdir}/libakregatorprivate.la +%{tde_libdir}/libakregatorprivate.so + +%post -n trinity-akregator-devel +/sbin/ldconfig || : + +%postun -n trinity-akregator-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-kaddressbook +Summary: TDE addressbook application +Group: Applications/Communications +Requires: trinity-kdebase-pim-ioslaves +Requires: %{name}-tderesources = %{version}-%{release} + +%description -n trinity-kaddressbook +KAddressBook is the main address book application for TDE; it enables you +to manage your contacts efficiently and comfortably. It can load and save +your contacts to many different locations, including the local file system, +LDAP servers, and SQL databases. + +%files -n trinity-kaddressbook +%defattr(-,root,root,-) +%{tde_bindir}/kabc2mutt +%{tde_bindir}/kaddressbook +%{tde_bindir}/kabcdistlistupdater +%{tde_tdelibdir}/kcm_kabconfig.la +%{tde_tdelibdir}/kcm_kabconfig.so +%{tde_tdelibdir}/kcm_kabcustomfields.la +%{tde_tdelibdir}/kcm_kabcustomfields.so +%{tde_tdelibdir}/kcm_kabldapconfig.la +%{tde_tdelibdir}/kcm_kabldapconfig.so +%{tde_tdelibdir}/ldifvcardthumbnail.la +%{tde_tdelibdir}/ldifvcardthumbnail.so +%{tde_tdelibdir}/libkaddrbk_*.la +%{tde_tdelibdir}/libkaddrbk_*.so +%{tde_tdelibdir}/libkaddressbookpart.la +%{tde_tdelibdir}/libkaddressbookpart.so +%{tde_libdir}/libkabinterfaces.so.* +%{tde_libdir}/libkaddressbook.so.* +%{tde_tdeappdir}/kaddressbook.desktop +%{tde_datadir}/apps/kaddressbook +%{tde_datadir}/icons/hicolor/*/apps/kaddressbook.png +%{tde_datadir}/services/kabconfig.desktop +%{tde_datadir}/services/kabcustomfields.desktop +%{tde_datadir}/services/kabldapconfig.desktop +%{tde_datadir}/services/kaddressbook +%{tde_datadir}/services/kontact/kaddressbookplugin.desktop +%{tde_datadir}/services/tderesources/tdeabc/imap.desktop +%{tde_datadir}/services/ldifvcardthumbnail.desktop +%{tde_datadir}/servicetypes/dcopaddressbook.desktop +%{tde_datadir}/servicetypes/kaddressbook_contacteditorwidget.desktop +%{tde_datadir}/servicetypes/kaddressbookimprotocol.desktop +%{tde_datadir}/servicetypes/kaddressbook_extension.desktop +%{tde_datadir}/servicetypes/kaddressbook_view.desktop +%{tde_datadir}/servicetypes/kaddressbook_xxport.desktop +%{tde_tdedocdir}/HTML/en/kaddressbook/ +%{tde_datadir}/autostart/kabcdistlistupdater.desktop +%{tde_tdeincludedir}/kaddressbook/ +%{tde_tdeincludedir}/tdeabc/ + +%post -n trinity-kaddressbook +/sbin/ldconfig || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kaddressbook +/sbin/ldconfig || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kaddressbook-devel +Summary: Development files for trinity-kaddressbook +Group: Development/Libraries +Requires: trinity-kaddressbook = %{version}-%{release} + +%description -n trinity-kaddressbook-devel +%{summary} + +%files -n trinity-kaddressbook-devel +%defattr(-,root,root,-) +%{tde_libdir}/libkabinterfaces.la +%{tde_libdir}/libkabinterfaces.so +%{tde_libdir}/libkaddressbook.la +%{tde_libdir}/libkaddressbook.so + +%post -n trinity-kaddressbook-devel +/sbin/ldconfig || : + +%postun -n trinity-kaddressbook-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-kalarm +Summary: Trinity alarm message, command and email scheduler +Group: Applications/Communications +Requires: trinity-libkpimidentities = %{version}-%{release} + +%description -n trinity-kalarm +KAlarm provides a graphical interface to schedule personal timed events - +pop-up alarm messages, command execution and sending emails. There is a +range of options for configuring recurring events. + +A pop-up alarm can show either a simple text message, or the contents of a +text or image file, It can optionally be spoken, or play a sound file. You +can choose its appearance, and set reminders. Among KAlarm's other +facilities, you can set up templates to allow KAlarm to be used as a 'tea +timer'. + +As an alternative to using the graphical interface, alarms can be scheduled +from the command line or via DCOP calls from other programs. KAlarm is +TDE-based, but will also run on other desktops. + +%files -n trinity-kalarm +%defattr(-,root,root,-) +%{tde_bindir}/kalarm +%{tde_bindir}/kalarmd +%{tde_tdeappdir}/kalarm.desktop +%{tde_datadir}/applnk/.hidden/kalarmd.desktop +%{tde_datadir}/applnk/Applications/kalarm.desktop +%{tde_datadir}/apps/kalarm +%{tde_datadir}/autostart/kalarm.tray.desktop +%{tde_datadir}/autostart/kalarmd.autostart.desktop +%{tde_datadir}/icons/crystalsvg/*/actions/kalarm.png +%{tde_datadir}/icons/hicolor/*/apps/kalarm.png +%{tde_tdedocdir}/HTML/en/kalarm/ + +%post -n trinity-kalarm +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kalarm +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kandy +Summary: Trinity mobile phone utility +Group: Applications/Communications + +%description -n trinity-kandy +At the moment Kandy is more or less a terminal program with some special +features to store commands and their parameters, but is also has a simple GUI +to access the phone book of a mobile phone and it is able to save this phone +book to the TDE address book. + +Kandy is aimed at mobile phones with integrated (GSM) modems. + +%files -n trinity-kandy +%defattr(-,root,root,-) +%{tde_bindir}/kandy +%{tde_bindir}/kandy_client +%{tde_tdeappdir}/kandy.desktop +%{tde_datadir}/applnk/Utilities/kandy.desktop +%{tde_datadir}/apps/kandy/ +%{tde_datadir}/icons/crystalsvg/*/apps/kandy.png +%{tde_datadir}/config.kcfg/kandy.kcfg +%{tde_tdedocdir}/HTML/en/kandy/ + +%post -n trinity-kandy +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kandy +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-karm +Summary: Trinity time tracker tool +Group: Applications/Productivity + +%description -n trinity-karm +KArm is a time tracker for busy people who need to keep track of the amount of +time they spend on various tasks. + +%files -n trinity-karm +%defattr(-,root,root,-) +%{tde_bindir}/karm +%{tde_libdir}/libkarm.so.* +%{tde_tdelibdir}/libkarmpart.la +%{tde_tdelibdir}/libkarmpart.so +%{tde_tdeappdir}/karm.desktop +%{tde_datadir}/applnk/Utilities/karm.desktop +%{tde_datadir}/apps/karm/ +%{tde_datadir}/apps/karmpart/ +%{tde_datadir}/icons/hicolor/*/apps/karm.png +%{tde_datadir}/services/karm_part.desktop +%{tde_datadir}/services/kontact/karmplugin.desktop +%{tde_tdedocdir}/HTML/en/karm/ + +%post -n trinity-karm +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-karm +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-karm-devel +Summary: Development files for karm +Group: Development/Libraries + +%description -n trinity-karm-devel +%{summary} + +%files -n trinity-karm-devel +%defattr(-,root,root,-) +%{tde_libdir}/libkarm.so +%{tde_libdir}/libkarm.la + +%post -n trinity-karm-devel +/sbin/ldconfig || : + +%postun -n trinity-karm-devel +/sbin/ldconfig || : + +########## + +%package kfile-plugins +Summary: TDE File dialog plugins for palm and vcf files +Group: Environment/Libraries + +Obsoletes: tdepim-kfile-plugins < %{version}-%{release} + +%description kfile-plugins +File dialog plugins for palm and vcf files. + +%files kfile-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/tdefile_ics.la +%{tde_tdelibdir}/tdefile_ics.so +%{tde_tdelibdir}/tdefile_vcf.la +%{tde_tdelibdir}/tdefile_vcf.so +%{tde_datadir}/services/tdefile_ics.desktop +%{tde_datadir}/services/tdefile_vcf.desktop + +########## + +%package tdeio-plugins +Summary: Trinity PIM I/O Slaves +Group: Environment/Libraries + +Obsoletes: tdepim-kio-plugins < %{version}-%{release} +Obsoletes: trinity-tdepim-kio-plugins < %{version}-%{release} +Provides: trinity-tdepim-kio-plugins = %{version}-%{release} + +%description tdeio-plugins +This package includes the pim kioslaves. This includes imap4, sieve, +and mbox. + +%files tdeio-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/tdeio_groupwise.la +%{tde_tdelibdir}/tdeio_groupwise.so +%{tde_tdelibdir}/tdeio_imap4.la +%{tde_tdelibdir}/tdeio_imap4.so +%{tde_tdelibdir}/tdeio_mbox.la +%{tde_tdelibdir}/tdeio_mbox.so +%{tde_tdelibdir}/tdeio_scalix.la +%{tde_tdelibdir}/tdeio_scalix.so +%{tde_tdelibdir}/tdeio_sieve.la +%{tde_tdelibdir}/tdeio_sieve.so +%{tde_datadir}/services/groupwise.protocol +%{tde_datadir}/services/groupwises.protocol +%{tde_datadir}/services/imap4.protocol +%{tde_datadir}/services/imaps.protocol +%{tde_datadir}/services/mbox.protocol +%{tde_datadir}/services/scalix.protocol +%{tde_datadir}/services/scalixs.protocol +%{tde_datadir}/services/sieve.protocol + +########## + +%package tderesources +Summary: Trinity pim resource plugins +Group: Environment/Libraries +#Requires: trinity-kaddressbook = %{version}-%{release} +#Requires: trinity-korganizer = %{version}-%{release} +#Requires: trinity-knotes = %{version}-%{release} +Requires: libcaldav +Requires: libcarddav + +Obsoletes: tdepim-tderesources < %{version}-%{release} + +%description tderesources +This package includes several plugins needed to interface with groupware +servers. It also includes plugins for features such as blogging and +tracking feature plans. + +%files tderesources +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcal_caldav.la +%{tde_tdelibdir}/kcal_caldav.so +%{tde_tdelibdir}/kcal_groupdav.la +%{tde_tdelibdir}/kcal_groupdav.so +%{tde_tdelibdir}/kcal_groupwise.la +%{tde_tdelibdir}/kcal_groupwise.so +%{tde_tdelibdir}/kcal_kolab.la +%{tde_tdelibdir}/kcal_kolab.so +%{tde_tdelibdir}/kcal_scalix.la +%{tde_tdelibdir}/kcal_scalix.so +%{tde_tdelibdir}/kcal_newexchange.la +%{tde_tdelibdir}/kcal_newexchange.so +%{tde_tdelibdir}/kcal_resourcefeatureplan.la +%{tde_tdelibdir}/kcal_resourcefeatureplan.so +%{tde_tdelibdir}/kcal_slox.la +%{tde_tdelibdir}/kcal_slox.so +%{tde_tdelibdir}/kcal_xmlrpc.la +%{tde_tdelibdir}/kcal_xmlrpc.so +%{tde_tdelibdir}/knotes_kolab.la +%{tde_tdelibdir}/knotes_kolab.so +%{tde_tdelibdir}/knotes_scalix.la +%{tde_tdelibdir}/knotes_scalix.so +%{tde_tdelibdir}/knotes_xmlrpc.la +%{tde_tdelibdir}/knotes_xmlrpc.so +%{tde_libdir}/libkabckolab.so.* +%{tde_libdir}/libkabcscalix.so.* +%{tde_libdir}/libkabc_groupdav.so.* +%{tde_libdir}/libkabc_groupwise.so.* +%{tde_libdir}/libkabc_newexchange.so.* +%{tde_libdir}/libkabc_slox.so.* +%{tde_libdir}/libkabc_xmlrpc.so.* +%{tde_libdir}/libkcalkolab.so.* +%{tde_libdir}/libkcalscalix.so.* +%{tde_libdir}/libkcal_caldav.so.* +%{tde_libdir}/libkabc_carddav.so.* +%{tde_libdir}/libkcal_groupdav.so.* +%{tde_libdir}/libkcal_groupwise.so.* +%{tde_libdir}/libkcal_newexchange.so.* +%{tde_libdir}/libkcal_resourcefeatureplan.so.* +%{tde_libdir}/libkcal_slox.so.* +%{tde_libdir}/libkcal_xmlrpc.so.* +%{tde_libdir}/libkgroupwarebase.so.* +%{tde_libdir}/libkgroupwaredav.so.* +%{tde_libdir}/libknoteskolab.so.* +%{tde_libdir}/libknotesscalix.so.* +%{tde_libdir}/libknotes_xmlrpc.so.* +%{tde_libdir}/libkslox.so.* +%{tde_libdir}/libgwsoap.so.* +%{tde_datadir}/services/tderesources/tdeabc/kabc_groupdav.desktop +%{tde_datadir}/services/tderesources/tdeabc/kabc_groupwise.desktop +%{tde_datadir}/services/tderesources/tdeabc/kabc_newexchange.desktop +%{tde_datadir}/services/tderesources/tdeabc/kabc_opengroupware.desktop +%{tde_datadir}/services/tderesources/tdeabc/kabc_ox.desktop +%{tde_datadir}/services/tderesources/tdeabc/kabc_slox.desktop +%{tde_datadir}/services/tderesources/tdeabc/kabc_xmlrpc.desktop +%{tde_datadir}/services/tderesources/tdeabc/kolab.desktop +%{tde_datadir}/services/tderesources/tdeabc/scalix.desktop +%{tde_datadir}/services/tderesources/kcal/exchange.desktop +%{tde_datadir}/services/tderesources/kcal/kcal_caldav.desktop +%{tde_datadir}/services/tderesources/tdeabc/kabc_carddav.desktop +%{tde_datadir}/services/tderesources/kcal/kcal_groupdav.desktop +%{tde_datadir}/services/tderesources/kcal/kcal_groupwise.desktop +%{tde_datadir}/services/tderesources/kcal/kcal_newexchange.desktop +%{tde_datadir}/services/tderesources/kcal/kcal_opengroupware.desktop +%{tde_datadir}/services/tderesources/kcal/kcal_ox.desktop +%{tde_datadir}/services/tderesources/kcal/kcal_resourcefeatureplan.desktop +%{tde_datadir}/services/tderesources/kcal/kcal_slox.desktop +%{tde_datadir}/services/tderesources/kcal/kcal_xmlrpc.desktop +%{tde_datadir}/services/tderesources/kcal/kolab.desktop +%{tde_datadir}/services/tderesources/kcal/scalix.desktop +%{tde_datadir}/services/tderesources/knotes/knotes_xmlrpc.desktop +%{tde_datadir}/services/tderesources/knotes/kolabresource.desktop +%{tde_datadir}/services/tderesources/knotes/scalix.desktop + +%{tde_datadir}/apps/kconf_update/upgrade-resourcetype.pl +%{tde_datadir}/apps/kconf_update/kolab-resource.upd + +%{tde_tdelibdir}/kabc_carddav.la +%{tde_tdelibdir}/kabc_carddav.so +%{tde_tdelibdir}/kabc_groupdav.la +%{tde_tdelibdir}/kabc_groupdav.so +%{tde_tdelibdir}/kabc_groupwise.la +%{tde_tdelibdir}/kabc_groupwise.so +%{tde_tdelibdir}/kabc_kolab.la +%{tde_tdelibdir}/kabc_kolab.so +%{tde_tdelibdir}/kabc_newexchange.la +%{tde_tdelibdir}/kabc_newexchange.so +%{tde_tdelibdir}/kabc_scalix.la +%{tde_tdelibdir}/kabc_scalix.so +%{tde_tdelibdir}/kabc_slox.la +%{tde_tdelibdir}/kabc_slox.so +%{tde_tdelibdir}/kabc_xmlrpc.la +%{tde_tdelibdir}/kabc_xmlrpc.so + +%post tderesources +/sbin/ldconfig || : + +%postun tderesources +/sbin/ldconfig || : + +########## + +%package tderesources-devel +Summary: Development files for tderesources +Group: Development/Libraries +Requires: %{name}-tderesources = %{version}-%{release} +Requires: libcaldav +Requires: libcarddav + +Obsoletes: tdepim-tderesources-devel < %{version}-%{release} + +%description tderesources-devel +%{summary} + +%files tderesources-devel +%defattr(-,root,root,-) +%{tde_libdir}/libkslox.la +%{tde_libdir}/libkslox.so +%{tde_libdir}/libkabc_groupdav.la +%{tde_libdir}/libkabc_groupdav.so +%{tde_libdir}/libkabc_groupwise.la +%{tde_libdir}/libkabc_groupwise.so +%{tde_libdir}/libgwsoap.la +%{tde_libdir}/libgwsoap.so +%{tde_libdir}/libkabc_carddav.la +%{tde_libdir}/libkabc_carddav.so +%{tde_libdir}/libkabc_newexchange.la +%{tde_libdir}/libkabc_newexchange.so +%{tde_libdir}/libkabc_slox.la +%{tde_libdir}/libkabc_slox.so +%{tde_libdir}/libkabc_xmlrpc.la +%{tde_libdir}/libkabc_xmlrpc.so +%{tde_libdir}/libkabckolab.la +%{tde_libdir}/libkabckolab.so +%{tde_libdir}/libkabcscalix.la +%{tde_libdir}/libkabcscalix.so +%{tde_libdir}/libkcal_caldav.la +%{tde_libdir}/libkcal_caldav.so +%{tde_libdir}/libkcal_groupdav.la +%{tde_libdir}/libkcal_groupdav.so +%{tde_libdir}/libkcal_groupwise.la +%{tde_libdir}/libkcal_groupwise.so +%{tde_libdir}/libkcal_newexchange.la +%{tde_libdir}/libkcal_newexchange.so +%{tde_libdir}/libkcal_resourcefeatureplan.la +%{tde_libdir}/libkcal_resourcefeatureplan.so +%{tde_libdir}/libkcal_slox.la +%{tde_libdir}/libkcal_slox.so +%{tde_libdir}/libkcal_xmlrpc.la +%{tde_libdir}/libkcal_xmlrpc.so +%{tde_libdir}/libkcalkolab.la +%{tde_libdir}/libkcalkolab.so +%{tde_libdir}/libkcalscalix.la +%{tde_libdir}/libkcalscalix.so +%{tde_libdir}/libkgroupwarebase.la +%{tde_libdir}/libkgroupwarebase.so +%{tde_libdir}/libkgroupwaredav.la +%{tde_libdir}/libkgroupwaredav.so +%{tde_libdir}/libknotes_xmlrpc.la +%{tde_libdir}/libknotes_xmlrpc.so +%{tde_libdir}/libknoteskolab.la +%{tde_libdir}/libknoteskolab.so +%{tde_libdir}/libknotesscalix.la +%{tde_libdir}/libknotesscalix.so +%{tde_tdeincludedir}/kpimprefs.h + +%post tderesources-devel +/sbin/ldconfig || : + +%postun tderesources-devel +/sbin/ldconfig || : + +########## + +%package wizards +Summary: Trinity server configuration wizards +Group: Applications/Communications + +Obsoletes: tdepim-wizards < %{version}-%{release} + +%description wizards +This package contains TDE-based wizards for configuring eGroupware, +Kolab, and SUSE Linux Openexchange servers. + +%files wizards +%defattr(-,root,root,-) +%{tde_bindir}/egroupwarewizard +%{tde_bindir}/exchangewizard +%{tde_bindir}/groupwarewizard +%{tde_bindir}/groupwisewizard +%{tde_bindir}/kolabwizard +%{tde_bindir}/scalixadmin +%{tde_bindir}/scalixwizard +%{tde_bindir}/sloxwizard +%{tde_tdelibdir}/libegroupwarewizard.la +%{tde_tdelibdir}/libegroupwarewizard.so +%{tde_tdelibdir}/libexchangewizard.la +%{tde_tdelibdir}/libexchangewizard.so +%{tde_tdelibdir}/libgroupwisewizard.la +%{tde_tdelibdir}/libgroupwisewizard.so +%{tde_tdelibdir}/libkolabwizard.la +%{tde_tdelibdir}/libkolabwizard.so +%{tde_tdelibdir}/libscalixwizard.la +%{tde_tdelibdir}/libscalixwizard.so +%{tde_tdelibdir}/libsloxwizard.la +%{tde_tdelibdir}/libsloxwizard.so +%{tde_tdeappdir}/groupwarewizard.desktop +%{tde_datadir}/config.kcfg/egroupware.kcfg +%{tde_datadir}/config.kcfg/groupwise.kcfg +%{tde_datadir}/config.kcfg/kolab.kcfg +%{tde_datadir}/config.kcfg/scalix.kcfg +%{tde_datadir}/config.kcfg/slox.kcfg + +%post wizards +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun wizards +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%if 0%{?with_kitchensync} +%package -n trinity-kitchensync +Summary: Synchronization framework +Group: Applications/Communications +BuildRequires: opensync-devel +#Suggests: konqueror-trinity +#Conflicts: kdebluetooth-irmcsync-trinity (<< 0.99+1.0beta2-4.1), ksync-trinity + +%description -n trinity-kitchensync +This package contains a synchronization framework, still under heavy +development (?). Kitchensync uses opensync. + +%files -n trinity-kitchensync +%defattr(-,root,root,-) +%{tde_bindir}/kitchensync +%{tde_tdelibdir}/libkitchensyncpart.la +%{tde_tdelibdir}/libkitchensyncpart.so +%{tde_datadir}/apps/kitchensync +%{tde_libdir}/libkitchensync.so.* +%{tde_libdir}/libqopensync.so.* +%{tde_tdeappdir}/kitchensync.desktop +%{tde_datadir}/icons/hicolor/*/apps/kitchensync.png + +%post -n trinity-kitchensync +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kitchensync +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : +%endif + +########## + +%package -n trinity-kleopatra +Summary: Trinity Certificate Manager +Group: Applications/Communications + +# GPG support +%if 0%{?suse_version} +Requires: gpg2 +%endif +%if 0%{?rhel} == 4 +Requires: gnupg +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} +Requires: gnupg2 +%endif + +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} +Requires: pinentry +Requires: dirmngr +%endif + +%description -n trinity-kleopatra +Kleopatra is the TDE tool for managing X.509 certificates in the gpgsm +keybox and for retrieving certificates from LDAP servers. + +%files -n trinity-kleopatra +%defattr(-,root,root,-) +%{tde_bindir}/kleopatra +%{tde_bindir}/kwatchgnupg +%{tde_tdelibdir}/kcm_kleopatra.la +%{tde_tdelibdir}/kcm_kleopatra.so +%{tde_tdeappdir}/kleopatra_import.desktop +%{tde_datadir}/apps/kleopatra +%{tde_datadir}/apps/kwatchgnupg +%{tde_datadir}/services/kleopatra_config_*.desktop +%{tde_tdedocdir}/HTML/en/kleopatra/ +%{tde_tdedocdir}/HTML/en/kwatchgnupg/ + +%post -n trinity-kleopatra +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kleopatra +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kmail +Summary: Trinity Email client +Group: Applications/Communications +Requires: %{name}-tdeio-plugins = %{version}-%{release} +Requires: trinity-tdebase-tdeio-pim-plugins >= %{version} + +# GPG support +%if 0%{?suse_version} +Requires: gpg2 +%endif +%if 0%{?rhel} == 4 +Requires: gnupg +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} +Requires: gnupg2 +%endif + +# Pinentry +%if 0%{?suse_version} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} +Requires: pinentry +%endif + +Requires: procmail +Requires: trinity-kaddressbook = %{version}-%{release} +Requires: trinity-kleopatra = %{version}-%{release} +Requires: trinity-tdebase-tdeio-pim-plugins >= %{version}-%{release} + +Provides: imap-client, mail-reader + +%description -n trinity-kmail +KMail is a fully-featured email client that fits nicely into the TDE +desktop. It has features such as support for IMAP, POP3, multiple accounts, +mail filtering and sorting, PGP/GnuPG privacy, and inline attachments. + +You need to install %{name}-tdeio-plugins if you want to use IMAP or +mbox files, and/or trinity-tdebase-tdeio-plugins if you want to use POP3. + +%files -n trinity-kmail +%defattr(-,root,root,-) +%{tde_datadir}/config/kmail.antispamrc +%{tde_datadir}/config/kmail.antivirusrc +%{tde_bindir}/kmail +%{tde_bindir}/kmail_*.sh +%{tde_tdelibdir}/kcm_kmail.la +%{tde_tdelibdir}/kcm_kmail.so +%{tde_tdelibdir}/libkmail_bodypartformatter_application_octetstream.la +%{tde_tdelibdir}/libkmail_bodypartformatter_application_octetstream.so +%{tde_tdelibdir}/libkmail_bodypartformatter_text_calendar.la +%{tde_tdelibdir}/libkmail_bodypartformatter_text_calendar.so +%{tde_tdelibdir}/libkmail_bodypartformatter_text_vcard.la +%{tde_tdelibdir}/libkmail_bodypartformatter_text_vcard.so +%{tde_tdelibdir}/libkmail_bodypartformatter_text_xdiff.la +%{tde_tdelibdir}/libkmail_bodypartformatter_text_xdiff.so +%{tde_tdelibdir}/libkmailpart.la +%{tde_tdelibdir}/libkmailpart.so +%{tde_tdeappdir}/KMail.desktop +%{tde_tdeappdir}/kmail_view.desktop +%{tde_datadir}/apps/kconf_update/kmail-3.1-update-new-mail-notification-settings.pl +%{tde_datadir}/apps/kconf_update/kmail-3.1-use-UOID-for-identities.pl +%{tde_datadir}/apps/kconf_update/kmail-3.1.4-dont-use-UOID-0-for-any-identity.pl +%{tde_datadir}/apps/kconf_update/kmail-3.2-misc.sh +%{tde_datadir}/apps/kconf_update/kmail-3.2-update-loop-on-goto-unread-settings.sh +%{tde_datadir}/apps/kconf_update/kmail-3.3-aegypten.pl +%{tde_datadir}/apps/kconf_update/kmail-3.3-misc.pl +%{tde_datadir}/apps/kconf_update/kmail-3.3-move-identities.pl +%{tde_datadir}/apps/kconf_update/kmail-3.3-split-sign-encr-keys.sh +%{tde_datadir}/apps/kconf_update/kmail-3.3-use-ID-for-accounts.pl +%{tde_datadir}/apps/kconf_update/kmail-3.3b1-misc.pl +%{tde_datadir}/apps/kconf_update/kmail-3.4-misc.pl +%{tde_datadir}/apps/kconf_update/kmail-3.4.1-update-status-filters.pl +%{tde_datadir}/apps/kconf_update/kmail-3.5-trigger-flag-migration.pl +%{tde_datadir}/apps/kconf_update/kmail-3.5-filter-icons.pl +%{tde_datadir}/apps/kconf_update/kmail-pgpidentity.pl +%{tde_datadir}/apps/kconf_update/kmail-upd-identities.pl +%{tde_datadir}/apps/kconf_update/kmail.upd +%{tde_datadir}/apps/kconf_update/upgrade-signature.pl +%{tde_datadir}/apps/kconf_update/upgrade-transport.pl +%{tde_datadir}/apps/kmail +%{tde_datadir}/apps/konqueror/servicemenus/email.desktop +%{tde_datadir}/config.kcfg/custommimeheader.kcfg +%{tde_datadir}/config.kcfg/kmail.kcfg +%{tde_datadir}/config.kcfg/customtemplates_kfg.kcfg +%{tde_datadir}/config.kcfg/replyphrases.kcfg +%{tde_datadir}/config.kcfg/templatesconfiguration_kfg.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/kmaillight.png +%{tde_datadir}/icons/hicolor/*/apps/kmail.png +%{tde_datadir}/icons/hicolor/scalable/apps/kmail.svgz +%{tde_datadir}/services/kmail_config_*.desktop +%{tde_datadir}/services/kontact/kmailplugin.desktop +%{tde_datadir}/servicetypes/dcopimap.desktop +%{tde_datadir}/servicetypes/dcopmail.desktop +# 'libkmailprivate.so' is required at runtime, not devel ! +%{tde_libdir}/libkmailprivate.so +%{tde_libdir}/libkmailprivate.la +%{tde_tdedocdir}/HTML/en/kmail/ + +%post -n trinity-kmail +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kmail +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kmail-devel +Summary: Development files for kmail +Group: Development/Libraries + +%description -n trinity-kmail-devel +%{summary} + +%files -n trinity-kmail-devel +%defattr(-,root,root,-) +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kmail/ +%{tde_tdeincludedir}/kmail*.h + +%post -n trinity-kmail-devel +/sbin/ldconfig || : + +%postun -n trinity-kmail-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-kmailcvt +Summary: Trinity KMail mail folder converter +Group: Applications/Communications +Requires: trinity-kmail = %{version}-%{release} + +%description -n trinity-kmailcvt +Converts mail folders to KMail format. Formats supported for import +include Outlook Express, Evolution, and plain mbox. + +%files -n trinity-kmailcvt +%defattr(-,root,root,-) +%{tde_bindir}/kmailcvt +%{tde_datadir}/applnk/Utilities/kmailcvt.desktop +%{tde_datadir}/apps/kmailcvt +%{tde_datadir}/icons/crystalsvg/*/apps/kmailcvt.png + +%post -n trinity-kmailcvt +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done + +%postun -n trinity-kmailcvt +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done + +########## + +%package -n trinity-knode +Summary: Trinity news reader +Group: Applications/Internet + +%description -n trinity-knode +KNode is an easy-to-use, convenient newsreader. It is intended to be usable +by inexperienced users, but also includes support for such features as +MIME attachments, article scoring, and creating and verifying GnuPG +signatures. + +%files -n trinity-knode +%defattr(-,root,root,-) +%{tde_bindir}/knode +%{tde_tdelibdir}/kcm_knode.la +%{tde_tdelibdir}/kcm_knode.so +%{tde_tdelibdir}/libknodepart.la +%{tde_tdelibdir}/libknodepart.so +%{tde_libdir}/libknodecommon.so.* +%{tde_tdeappdir}/KNode.desktop +%{tde_datadir}/apps/knode/ +%{tde_datadir}/icons/hicolor/*/apps/knode.png +%{tde_datadir}/icons/hicolor/*/apps/knode2.png +%{tde_datadir}/services/knewsservice.protocol +%{tde_datadir}/services/knode_config_*.desktop +%{tde_datadir}/services/kontact/knodeplugin.desktop +%{tde_tdedocdir}/HTML/en/knode/ + +%post -n trinity-knode +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-knode +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-knode-devel +Summary: Development files for trinity-knode +Group: Development/Libraries +Requires: trinity-knode = %{version}-%{release} + +%description -n trinity-knode-devel +%{summary} + +%files -n trinity-knode-devel +%defattr(-,root,root,-) +%{tde_libdir}/libknodecommon.la +%{tde_libdir}/libknodecommon.so + +%post -n trinity-knode-devel +/sbin/ldconfig || : + +%postun -n trinity-knode-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-knotes +Summary: Trinity sticky notes +Group: Applications/Utilities +Requires: trinity-tdepim-tderesources = %{version}-%{release} + +%description -n trinity-knotes +KNotes is a program that lets you write sticky notes. The notes are saved +automatically when you exit the program, and they display when you open the +program. The program supports printing and mailing your notes. + +%files -n trinity-knotes +%defattr(-,root,root,-) +%{tde_bindir}/knotes +%{tde_tdelibdir}/knotes_local.la +%{tde_tdelibdir}/knotes_local.so +%{tde_libdir}/libknotes.so.* +%{tde_tdeappdir}/knotes.desktop +%{tde_datadir}/apps/knotes/ +%{tde_datadir}/config.kcfg/knoteconfig.kcfg +%{tde_datadir}/config.kcfg/knotesglobalconfig.kcfg +%{tde_datadir}/icons/hicolor/*/apps/knotes.png +%{tde_datadir}/services/tderesources/knotes/imap.desktop +%{tde_datadir}/services/tderesources/knotes/local.desktop +%{tde_datadir}/services/tderesources/knotes_manager.desktop +%{tde_datadir}/services/kontact/knotesplugin.desktop +%{tde_tdedocdir}/HTML/en/knotes/ + +%post -n trinity-knotes +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-knotes +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-knotes-devel +Summary: Development files for knots +Group: Development/Libraries +Requires: trinity-knotes = %{version}-%{release} +Requires: %{name}-tderesources-devel = %{version}-%{release} + +%description -n trinity-knotes-devel +%{summary} + +%files -n trinity-knotes-devel +%defattr(-,root,root,-) +%{tde_libdir}/libknotes.so +%{tde_libdir}/libknotes.la +%{tde_tdeincludedir}/KNotesAppIface.h +%{tde_tdeincludedir}/KNotesIface.h + +%post -n trinity-knotes-devel +/sbin/ldconfig || : + +%postun -n trinity-knotes-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-kode +Summary: Helper library for programmatic generation of C++ code +Group: Development/Libraries + +%description -n trinity-kode +This package includes a program kode for generation of C++ template files +and kxml_compiler for generation of C++ classes representing XML data +described by RelaxNG schemes. + +%files -n trinity-kode +%defattr(-,root,root,-) +%{tde_bindir}/kode +%{tde_bindir}/kxml_compiler +%{tde_libdir}/libkode.so.* + +%post -n trinity-kode +/sbin/ldconfig || : + +%postun -n trinity-kode +/sbin/ldconfig || : + +########## + +%package -n trinity-kode-devel +Summary: Development files for trinity-kode +Group: Development/Libraries +Requires: trinity-kode = %{version}-%{release} + +%description -n trinity-kode-devel +%{summary} + +%files -n trinity-kode-devel +%defattr(-,root,root,-) +%{tde_libdir}/libkode.la +%{tde_libdir}/libkode.so + +%post -n trinity-kode-devel +/sbin/ldconfig || : + +%postun -n trinity-kode-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-konsolekalendar +Summary: Trinity konsole personal organizer +Group: Applications/Productivity + +%description -n trinity-konsolekalendar +KonsoleKalendar is a command-line interface to TDE calendars. +Konsolekalendar complements the TDE KOrganizer by providing a console +frontend to manage your calendars. + +%files -n trinity-konsolekalendar +%defattr(-,root,root,-) +%{tde_bindir}/konsolekalendar +%{tde_tdeappdir}/konsolekalendar.desktop +%{tde_datadir}/icons/crystalsvg/*/apps/konsolekalendar.png +%{tde_tdedocdir}/HTML/en/konsolekalendar/ + +%post -n trinity-konsolekalendar +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-konsolekalendar +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kontact +Summary: Trinity pim application +Group: Applications/Communications +Requires: trinity-kmail = %{version}-%{release} +Requires: trinity-korganizer = %{version}-%{release} +Requires: trinity-kaddressbook = %{version}-%{release} +Requires: trinity-knode = %{version}-%{release} +Requires: trinity-knotes = %{version}-%{release} +Requires: trinity-akregator = %{version}-%{release} + +%description -n trinity-kontact +Kontact is the integrated solution to your personal information management +needs. It combines TDE applications like KMail, KOrganizer, and +KAddressBook into a single interface to provide easy access to mail, +scheduling, address book and other PIM functionality. + +%files -n trinity-kontact +%defattr(-,root,root,-) +%{tde_bindir}/kontact +%{tde_tdelibdir}/kcm_kmailsummary.la +%{tde_tdelibdir}/kcm_kmailsummary.so +%{tde_tdelibdir}/kcm_kontact.la +%{tde_tdelibdir}/kcm_kontact.so +%{tde_tdelibdir}/kcm_kontactknt.la +%{tde_tdelibdir}/kcm_kontactknt.so +%{tde_tdelibdir}/kcm_kontactsummary.la +%{tde_tdelibdir}/kcm_kontactsummary.so +%{tde_tdelibdir}/kcm_korgsummary.la +%{tde_tdelibdir}/kcm_korgsummary.so +%{tde_tdelibdir}/kcm_sdsummary.la +%{tde_tdelibdir}/kcm_sdsummary.so +%{tde_tdelibdir}/libkontact_*.la +%{tde_tdelibdir}/libkontact_*.so +%{tde_libdir}/libkontact.so.* +%{tde_libdir}/libkpinterfaces.so.* +%{tde_tdeappdir}/Kontact.desktop +%{tde_tdeappdir}/kontactdcop.desktop +%{tde_datadir}/apps/kontact +%{tde_datadir}/apps/kontactsummary/kontactsummary_part.rc +%{tde_datadir}/config.kcfg/kontact.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kontact.png +%{tde_datadir}/icons/crystalsvg/*/actions/kontact_*.png +%{tde_datadir}/services/kcmkmailsummary.desktop +%{tde_datadir}/services/kcmkontactknt.desktop +%{tde_datadir}/services/kcmkontactsummary.desktop +%{tde_datadir}/services/kcmkorgsummary.desktop +%{tde_datadir}/services/kcmsdsummary.desktop +%{tde_datadir}/services/kontact/newstickerplugin.desktop +%{tde_datadir}/services/kontact/specialdatesplugin.desktop +%{tde_datadir}/services/kontact/summaryplugin.desktop +%{tde_datadir}/services/kontact/weatherplugin.desktop +%{tde_datadir}/services/kontactconfig.desktop +%{tde_datadir}/servicetypes/kontactplugin.desktop +%{tde_tdedocdir}/HTML/en/kontact/ +%{tde_tdedocdir}/HTML/en/kpilot/ + +%post -n trinity-kontact +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kontact +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kontact-devel +Summary: Development files for kontact +Group: Development/Libraries +Requires: trinity-kontact = %{version}-%{release} + +%description -n trinity-kontact-devel +%{summary} + +%files -n trinity-kontact-devel +%defattr(-,root,root,-) +%{tde_libdir}/libkontact.la +%{tde_libdir}/libkontact.so +%{tde_libdir}/libkpinterfaces.la +%{tde_libdir}/libkpinterfaces.so +%{tde_tdeincludedir}/kontact/ + +%post -n trinity-kontact-devel +/sbin/ldconfig || : + +%postun -n trinity-kontact-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-korganizer +Summary: Trinity personal organizer +Group: Applications/Productivity +Requires: trinity-libkpimidentities = %{version}-%{release} +Requires: trinity-libkpimexchange = %{version}-%{release} +Requires: %{name}-tderesources = %{version}-%{release} +Requires: perl + +%description -n trinity-korganizer +This package contains KOrganizer, a calendar and scheduling program. + +KOrganizer aims to be a complete program for organizing appointments, +contacts, projects, etc. KOrganizer natively supports information interchange +with other calendar applications, through the industry standard vCalendar +personal data interchange file format. This eases the move from other +modern PIMs to KOrganizer. + +KOrganizer offers full synchronization with Palm Pilots, if kpilot is +installed. + +%files -n trinity-korganizer +%defattr(-,root,root,-) +%{tde_bindir}/ical2vcal +%{tde_bindir}/korgac +%{tde_bindir}/korganizer +%{tde_tdelibdir}/kcm_korganizer.la +%{tde_tdelibdir}/kcm_korganizer.so +%{tde_tdelibdir}/libkorg_*.la +%{tde_tdelibdir}/libkorg_*.so +%{tde_tdelibdir}/libkorganizerpart.la +%{tde_tdelibdir}/libkorganizerpart.so +%{tde_libdir}/libkocorehelper.so.* +%{tde_libdir}/libkorg_stdprinting.so.* +%{tde_libdir}/libkorganizer.so.* +%{tde_libdir}/libkorganizer_calendar.so.* +%{tde_libdir}/libkorganizer_eventviewer.so.* +%{tde_tdeappdir}/korganizer.desktop +%{tde_datadir}/apps/kconf_update/korganizer.upd +%{tde_datadir}/apps/korgac/ +%{tde_datadir}/apps/korganizer/ +%{tde_datadir}/autostart/korgac.desktop +%{tde_datadir}/config.kcfg/korganizer.kcfg +%{tde_datadir}/icons/hicolor/*/apps/korganizer.png +%{tde_datadir}/services/kontact/korganizerplugin.desktop +%{tde_datadir}/services/kontact/journalplugin.desktop +%{tde_datadir}/services/kontact/todoplugin.desktop +%{tde_datadir}/services/korganizer_*.desktop +%{tde_datadir}/services/korganizer +%{tde_datadir}/services/webcal.protocol +%{tde_datadir}/servicetypes/calendardecoration.desktop +%{tde_datadir}/servicetypes/calendarplugin.desktop +%{tde_datadir}/servicetypes/dcopcalendar.desktop +%{tde_datadir}/servicetypes/korganizerpart.desktop +%{tde_datadir}/servicetypes/korgprintplugin.desktop +%{tde_tdedocdir}/HTML/en/korganizer/ + +%post -n trinity-korganizer +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-korganizer +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-korganizer-devel +Summary: Development files for korganizer +Group: Development/Libraries +Requires: trinity-korganizer = %{version}-%{release} + +%description -n trinity-korganizer-devel +%{summary} + +%files -n trinity-korganizer-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/korganizer/ +%{tde_tdeincludedir}/calendar/ +%{tde_libdir}/libkocorehelper.la +%{tde_libdir}/libkocorehelper.so +%{tde_libdir}/libkorg_stdprinting.la +%{tde_libdir}/libkorg_stdprinting.so +%{tde_libdir}/libkorganizer.la +%{tde_libdir}/libkorganizer.so +%{tde_libdir}/libkorganizer_calendar.la +%{tde_libdir}/libkorganizer_calendar.so +%{tde_libdir}/libkorganizer_eventviewer.la +%{tde_libdir}/libkorganizer_eventviewer.so + +%post -n trinity-korganizer-devel +/sbin/ldconfig || : + +%postun -n trinity-korganizer-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-korn +Summary: Trinity mail checker +Group: Applications/Communications +Requires: %{name}-tdeio-plugins = %{version}-%{release} + +%description -n trinity-korn +Korn is a TDE mail checker that can display a small summary in the Kicker +tray. It supports checking mbox, pop3, imap4, and nntp sources. + +Once mail is received you can have Korn run a third party program or change +the color/icon of the Kicker display. In addition to this you can have +Korn run a program once you click on the docked icon in Kicker. + +%files -n trinity-korn +%defattr(-,root,root,-) +%{tde_bindir}/korn +%{tde_libdir}/kconf_update_bin/korn-3-4-config_change +%{tde_tdeappdir}/KOrn.desktop +%{tde_datadir}/apps/kconf_update/korn-3-4-config_change.upd +%{tde_datadir}/apps/kconf_update/korn-3-5-metadata-update.pl +%{tde_datadir}/apps/kconf_update/korn-3-5-ssl-update.pl +%{tde_datadir}/apps/kconf_update/korn-3-5-update.upd +%{tde_datadir}/icons/hicolor/*/apps/korn.png +%{tde_tdedocdir}/HTML/en/korn/ + +%post -n trinity-korn +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-korn +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ktnef +Summary: Trinity TNEF viewer +Group: Applications/Communications + +%description -n trinity-ktnef +The TNEF File Viewer allows you to handle mail attachments using the TNEF +format. These attachments are usually found in mails coming from Microsoft +mail servers and embed the mail properties as well as the actual attachments. + +%files -n trinity-ktnef +%defattr(-,root,root,-) +%{tde_bindir}/ktnef +%{tde_tdeappdir}/ktnef.desktop +%{tde_datadir}/apps/ktnef +%{tde_datadir}/icons/hicolor/*/apps/ktnef.png +%{tde_datadir}/icons/locolor/*/apps/ktnef.png +%{tde_datadir}/mimelnk/application/ms-tnef.desktop +%{tde_tdedocdir}/HTML/en/ktnef/ + +%post -n trinity-ktnef +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ktnef +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-libindex +Summary: Trinity indexing library +Group: Environment/Libraries + +%description -n trinity-libindex +This library provides text indexing and is currently used by KMail +to implement fast searches in mail bodies. + +This is the runtime package for programs that use the libindex library. + +%files -n trinity-libindex +%defattr(-,root,root,-) +%{tde_libdir}/libindex.so.* + +%post -n trinity-libindex +/sbin/ldconfig || : + +%postun -n trinity-libindex +/sbin/ldconfig || : + +########## + +%package -n trinity-libindex-devel +Summary: Trinity indexing library [development] +Group: Development/Libraries +Requires: trinity-libindex = %{version}-%{release} + +%description -n trinity-libindex-devel +This library provides text indexing and is currently used by KMail +to implement searching through mail text. + +This is the development package which contains the headers for the libindex-trinity +library. + +%files -n trinity-libindex-devel +%defattr(-,root,root,-) +%{tde_bindir}/indexlib-config +%{tde_tdeincludedir}/index +%{tde_libdir}/libindex.la +%{tde_libdir}/libindex.so + +%post -n trinity-libindex-devel +/sbin/ldconfig || : + +%postun -n trinity-libindex-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libkcal +Summary: Trinity calendaring library +Group: Environment/Libraries +#Requires: %{name}-tderesources = %{version}-%{release} + +%description -n trinity-libkcal +This library provides a C++ API for handling the vCalendar and iCalendar +formats. + +This is the runtime package for programs that use the libkcal-trinity library. + +%files -n trinity-libkcal +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcal_kabc.la +%{tde_tdelibdir}/kcal_kabc.so +%{tde_tdelibdir}/kcal_localdir.la +%{tde_tdelibdir}/kcal_localdir.so +%{tde_tdelibdir}/kcal_local.la +%{tde_tdelibdir}/kcal_local.so +%{tde_tdelibdir}/kcal_remote.la +%{tde_tdelibdir}/kcal_remote.so +%{tde_libdir}/libkcal.so.* +%{tde_libdir}/libkcal_resourceremote.so.* +%{tde_libdir}/libkholidays.so.* +%{tde_datadir}/apps/libkholidays +%{tde_datadir}/services/tderesources/kcal/imap.desktop +%{tde_datadir}/services/tderesources/kcal/kabc.desktop +%{tde_datadir}/services/tderesources/kcal/local.desktop +%{tde_datadir}/services/tderesources/kcal/localdir.desktop +%{tde_datadir}/services/tderesources/kcal/remote.desktop +%{tde_datadir}/services/tderesources/kcal_manager.desktop + +%post -n trinity-libkcal +/sbin/ldconfig || : + +%postun -n trinity-libkcal +/sbin/ldconfig || : + +########## + +%package -n trinity-libkcal-devel +Summary: Trinity calendaring library [development] +Group: Development/Libraries +Requires: trinity-libkcal = %{version}-%{release} +Requires: trinity-libtdepim-devel = %{version}-%{release} +Requires: trinity-libktnef-devel = %{version}-%{release} + +%description -n trinity-libkcal-devel +This library provides a C++ API for handling the vCalendar and iCalendar +formats. + +This is the development package which contains the headers for the libkcal-trinity +library. + +%files -n trinity-libkcal-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/libemailfunctions/idmapper.h +%{tde_tdeincludedir}/libkcal +%{tde_libdir}/libkcal.la +%{tde_libdir}/libkcal.so +%{tde_libdir}/libkcal_resourceremote.la +%{tde_libdir}/libkcal_resourceremote.so +%{tde_libdir}/libkholidays.la +%{tde_libdir}/libkholidays.so + +%post -n trinity-libkcal-devel +/sbin/ldconfig || : + +%postun -n trinity-libkcal-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libtdepim +Summary: Trinity PIM library +Group: Environment/Libraries +Requires: trinity-libkcal = %{version}-%{release} + +Obsoletes: libtdepim < %{version}-%{release} +Provides: libtdepim = %{version}-%{release} + +%description -n trinity-libtdepim +This is the runtime package for programs that use the trinity-libtdepim library. + +%files -n trinity-libtdepim +%defattr(-,root,root,-) +%{tde_tdelibdir}/plugins/designer/[kt]depimwidgets.la +%{tde_tdelibdir}/plugins/designer/[kt]depimwidgets.so +%{tde_tdelibdir}/plugins/designer/kpartsdesignerplugin.la +%{tde_tdelibdir}/plugins/designer/kpartsdesignerplugin.so +%{tde_libdir}/lib[kt]depim.so.* +%{tde_datadir}/apps/[kt]depimwidgets +%{tde_datadir}/apps/lib[kt]depim +%{tde_datadir}/apps/[kt]depim +%{tde_datadir}/config.kcfg/pimemoticons.kcfg +%{tde_datadir}/icons/crystalsvg/22x22/actions/button_fewer.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/button_more.png + +%post -n trinity-libtdepim +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : + +%postun -n trinity-libtdepim +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : + +########## + +%package -n trinity-libtdepim-devel +Summary: Trinity PIM library [development] +Group: Development/Libraries +Requires: trinity-libtdepim = %{version}-%{release} +Requires: trinity-tdelibs-devel >= %{version} + +Obsoletes: libtdepim-devel < %{version}-%{release} +Provides: libtdepim-devel = %{version}-%{release} + +%description -n trinity-libtdepim-devel +This is the development package which contains the headers for the libtdepim-trinity +library. + +%files -n trinity-libtdepim-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/[kt]depimmacros.h +%{tde_libdir}/lib[kt]depim.la +%{tde_libdir}/lib[kt]depim.so + +%post -n trinity-libtdepim-devel +/sbin/ldconfig || : + +%postun -n trinity-libtdepim-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libkgantt +Summary: Trinity gantt charting library +Group: Environment/Libraries + +%description -n trinity-libkgantt +This is the runtime package for programs that use the libkgantt-trinity library. + +%files -n trinity-libkgantt +%defattr(-,root,root,-) +%{tde_libdir}/libkgantt.so.* +%{tde_datadir}/apps/kgantt + +%post -n trinity-libkgantt +/sbin/ldconfig || : + +%postun -n trinity-libkgantt +/sbin/ldconfig || : + +########## + +%package -n trinity-libkgantt-devel +Summary: Trinity gantt charting library [development] +Group: Development/Libraries +Requires: trinity-libkgantt = %{version}-%{release} +Requires: trinity-libtdepim-devel = %{version}-%{release} + +%description -n trinity-libkgantt-devel +This is the development package which contains the headers for the libkgantt-trinity +library. + +%files -n trinity-libkgantt-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kgantt +%{tde_libdir}/libkgantt.la +%{tde_libdir}/libkgantt.so + +%post -n trinity-libkgantt-devel +/sbin/ldconfig || : + +%postun -n trinity-libkgantt-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libkleopatra +Summary: TDE GnuPG interface libraries +Group: Environment/Libraries +Requires: gnupg + +%description -n trinity-libkleopatra +This library is used by several TDE applications to interface to the +GnuPG program. + +This is the runtime package for programs that use the libkleopatra-trinity library. + +%files -n trinity-libkleopatra +%defattr(-,root,root,-) +%{tde_datadir}/config/libkleopatrarc +%{tde_libdir}/libgpgme++.so.* +%{tde_libdir}/libkleopatra.so.* +%{tde_libdir}/libkpgp.so.* +%{tde_libdir}/libqgpgme.so.* +%{tde_datadir}/apps/kconf_update/kpgp-3.1-upgrade-address-data.pl +%{tde_datadir}/apps/kconf_update/kpgp.upd +%{tde_datadir}/apps/libkleopatra/ +%{tde_datadir}/icons/crystalsvg/*/apps/gpg.png +%{tde_datadir}/icons/crystalsvg/*/apps/gpgsm.png + +%post -n trinity-libkleopatra +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : + +%postun -n trinity-libkleopatra +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : + +########## + +%package -n trinity-libkleopatra-devel +Summary: Trinity GnuPG interface libraries [development] +Group: Development/Libraries +Requires: trinity-libkleopatra = %{version}-%{release} +Requires: trinity-libtdepim-devel = %{version}-%{release} + +%description -n trinity-libkleopatra-devel +This library is used by several TDE applications to interface to the +GnuPG program. + +This is the development package which contains the headers for the +libkleopatra-trinity library. + +%files -n trinity-libkleopatra-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/gpgme++/ +%{tde_tdeincludedir}/kleo/ +%{tde_tdeincludedir}/qgpgme/ +%{tde_libdir}/libgpgme++.la +%{tde_libdir}/libgpgme++.so +%{tde_libdir}/libkleopatra.la +%{tde_libdir}/libkleopatra.so +%{tde_libdir}/libkpgp.la +%{tde_libdir}/libkpgp.so +%{tde_libdir}/libqgpgme.la +%{tde_libdir}/libqgpgme.so + +%post -n trinity-libkleopatra-devel +/sbin/ldconfig || : + +%postun -n trinity-libkleopatra-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libkmime +Summary: Trinity MIME interface library +Group: Environment/Libraries +#Conflicts: trinity-libmimelib + +%description -n trinity-libkmime +This library provides a C++ interface to MIME messages, parsing them into +an object tree. + +%files -n trinity-libkmime +%defattr(-,root,root,-) +%{tde_libdir}/libkmime.so.* + +%post -n trinity-libkmime +/sbin/ldconfig || : + +%postun -n trinity-libkmime +/sbin/ldconfig || : + +########## + +%package -n trinity-libkmime-devel +Summary: Development files for libkmime +Group: Development/Libraries +Requires: trinity-libkmime = %{version}-%{release} + +%description -n trinity-libkmime-devel +%{summary} + +%files -n trinity-libkmime-devel +%defattr(-,root,root,-) +%{tde_libdir}/libkmime.la +%{tde_libdir}/libkmime.so + +%post -n trinity-libkmime-devel +/sbin/ldconfig || : + +%postun -n trinity-libkmime-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libkpimexchange +Summary: Trinity PIM Exchange library +Group: Environment/Libraries + +%description -n trinity-libkpimexchange +This is the runtime package for programs that use the libkpimexchange-trinity +library. + +%files -n trinity-libkpimexchange +%defattr(-,root,root,-) +%{tde_tdelibdir}/resourcecalendarexchange.la +%{tde_tdelibdir}/resourcecalendarexchange.so +%{tde_libdir}/libkpimexchange.so.* + +%post -n trinity-libkpimexchange +/sbin/ldconfig || : + +%postun -n trinity-libkpimexchange +/sbin/ldconfig || : + +########## + +%package -n trinity-libkpimexchange-devel +Summary: Trinity PIM Exchange library [development] +Group: Development/Libraries +Requires: trinity-libkpimexchange = %{version}-%{release} +Requires: trinity-libkcal-devel = %{version}-%{release} +Requires: trinity-libtdepim-devel = %{version}-%{release} + +%description -n trinity-libkpimexchange-devel +This is the development package which contains the headers for the +libkpimexchange-trinity library. + +%files -n trinity-libkpimexchange-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/[kt]depim/exchangeaccount.h +%{tde_tdeincludedir}/[kt]depim/exchangeclient.h +%{tde_libdir}/libkpimexchange.la +%{tde_libdir}/libkpimexchange.so + +%post -n trinity-libkpimexchange-devel +/sbin/ldconfig || : + +%postun -n trinity-libkpimexchange-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libkpimidentities +Summary: Trinity PIM user identity information library +Group: Environment/Libraries + +%description -n trinity-libkpimidentities +This library provides information to TDE programs about user identity, +such as email address, organization, etc. + +This is the runtime package for programs that use the libkpimidentities-trinity +library. + +%files -n trinity-libkpimidentities +%defattr(-,root,root,-) +%{tde_libdir}/libkpimidentities.so.* + +%post -n trinity-libkpimidentities +/sbin/ldconfig || : + +%postun -n trinity-libkpimidentities +/sbin/ldconfig || : + +########## + +%package -n trinity-libkpimidentities-devel +Summary: Development files for libkpimidentities +Group: Development/Libraries +Requires: trinity-libkpimidentities = %{version}-%{release} + +%description -n trinity-libkpimidentities-devel +%{summary} + +%files -n trinity-libkpimidentities-devel +%defattr(-,root,root,-) +%{tde_libdir}/libkpimidentities.la +%{tde_libdir}/libkpimidentities.so + +%post -n trinity-libkpimidentities-devel +/sbin/ldconfig || : + +%postun -n trinity-libkpimidentities-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libksieve +Summary: Trinity mail/news message filtering library +Group: Environment/Libraries + +%description -n trinity-libksieve +This is the runtime package for programs that use the libksieve-trinity library. + +%files -n trinity-libksieve +%defattr(-,root,root,-) +%{tde_libdir}/libksieve.so.* + +%post -n trinity-libksieve +/sbin/ldconfig || : + +%postun -n trinity-libksieve +/sbin/ldconfig || : + +########## + +%package -n trinity-libksieve-devel +Summary: Trinity mail/news message filtering library [development] +Group: Development/Libraries +Requires: trinity-libksieve = %{version}-%{release} +Requires: trinity-libtdepim-devel = %{version}-%{release} + +%description -n trinity-libksieve-devel +This is the development package which contains the headers for the libksieve-trinity +library. + +%files -n trinity-libksieve-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/ksieve +%{tde_libdir}/libksieve.la +%{tde_libdir}/libksieve.so + +%post -n trinity-libksieve-devel +/sbin/ldconfig || : + +%postun -n trinity-libksieve-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libktnef +Summary: Library for handling KTNEF email attachments +Group: Environment/Libraries + +%description -n trinity-libktnef +This library handles mail attachments using the TNEF format. These +attachments are usually found in mails coming from Microsoft mail +servers and embed the mail properties as well as the actual +attachments. +. +This is the runtime library for packages using the ktnef-trinity library. + +%files -n trinity-libktnef +%defattr(-,root,root,-) +%{tde_libdir}/libktnef.so.* + +%post -n trinity-libktnef +/sbin/ldconfig || : + +%postun -n trinity-libktnef +/sbin/ldconfig || : + +########## + +%package -n trinity-libktnef-devel +Summary: KTNEF handler library [development] +Group: Development/Libraries +Requires: trinity-libktnef = %{version}-%{release} +Requires: trinity-libtdepim-devel = %{version}-%{release} + +%description -n trinity-libktnef-devel +This library handles mail attachments using the TNEF format. These +attachments are usually found in mails coming from Microsoft mail +servers and embed the mail properties as well as the actual +attachments. + +This is the development package which contains the headers for the +ktnef-trinity library. + +%files -n trinity-libktnef-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/ktnef +%{tde_libdir}/libktnef.la +%{tde_libdir}/libktnef.so + +%post -n trinity-libktnef-devel +/sbin/ldconfig || : + +%postun -n trinity-libktnef-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libmimelib +Summary: Trinity mime library +Group: Environment/Libraries + +%description -n trinity-libmimelib +This library is used by several Trinity applications to handle mime types. + +This is the runtime package for programs that use the libmimelib-trinity library. + +%files -n trinity-libmimelib +%defattr(-,root,root,-) +%{tde_libdir}/libmimelib.so.* + +%post -n trinity-libmimelib +/sbin/ldconfig || : + +%postun -n trinity-libmimelib +/sbin/ldconfig || : + +########## + +%package -n trinity-libmimelib-devel +Summary: Trinity mime library [development] +Group: Development/Libraries +Requires: trinity-libmimelib = %{version}-%{release} + +%description -n trinity-libmimelib-devel +This library is used by several TDE applications to handle mime types. + +This is the development package which contains the headers for the +libmimelib library. + +%files -n trinity-libmimelib-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/mimelib/ +%{tde_libdir}/libmimelib.la +%{tde_libdir}/libmimelib.so + +%post -n trinity-libmimelib-devel +/sbin/ldconfig || : + +%postun -n trinity-libmimelib-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-kmobile +Summary: Synchronize and manage mobile phone with your PC. +Group: Applications/Communications + +%description -n trinity-kmobile +KMobileTools is a nice TDE-based application that allows to synchronize +and manage mobile phones with your PC. It handles full SMS control, +dialing calls, phonebook, and phone status monitoring. + +%files -n trinity-kmobile +%defattr(-,root,root,-) +%{tde_bindir}/kmobile +%{tde_datadir}/icons/default.kde/32x32/devices/mobile_camera.png +%{tde_datadir}/icons/default.kde/32x32/devices/mobile_musicplayer.png +%{tde_datadir}/icons/default.kde/32x32/devices/mobile_organizer.png +%{tde_datadir}/icons/default.kde/32x32/devices/mobile_phone.png +%{tde_datadir}/icons/default.kde/32x32/devices/mobile_unknown.png +%{tde_datadir}/icons/hicolor/*/apps/kmobile.png +%{tde_datadir}/services/libkmobile_digicam.desktop +%{tde_datadir}/services/libkmobile_gammu.desktop +%{tde_datadir}/services/libkmobile_skeleton.desktop +%{tde_datadir}/servicetypes/libkmobile.desktop +%{tde_datadir}/apps/kmobile/kmobileui.rc +%{tde_tdeappdir}/kmobile.desktop +%{tde_tdelibdir}/libkmobile_skeleton.la +%{tde_tdelibdir}/libkmobile_skeleton.so +%{tde_libdir}/libkmobileclient.la +%{tde_libdir}/libkmobileclient.so +%{tde_libdir}/libkmobiledevice.la +%{tde_libdir}/libkmobiledevice.so + +%post -n trinity-kmobile +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kmobile +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} +%patch14 -p1 -b .ldflags + + +%build +unset QTDIR QTINC QTLIB +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export LD_LIBRARY_PATH="%{tde_libdir}" + +# Specific path for RHEL4 +if [ -d "/usr/X11R6" ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DWITH_ARTS=ON \ + -DWITH_SASL=ON \ + -DWITH_NEWDISTRLISTS=ON \ + %{?with_gnokii:-DWITH_GNOKII=ON} \ + -DWITH_EXCHANGE=ON \ + -DWITH_EGROUPWARE=ON \ + -DWITH_KOLAB=ON \ + -DWITH_SLOX=ON \ + -DWITH_GROUPWISE=ON \ + -DWITH_FEATUREPLAN=ON \ + -DWITH_GROUPDAV=ON \ + -DWITH_BIRTHDAYS=ON \ + -DWITH_NEWEXCHANGE=ON \ + -DWITH_SCALIX=ON \ + -DWITH_CALDAV=ON \ + -DWITH_CARDDAV=ON \ + -DWITH_INDEXLIB=ON \ + %{?with_xscreensaver:-DWITH_XSCREENSAVER=ON} \ + %{?with_kitchensync:-DBUILD_KITCHENSYNC=ON} \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} || %__make + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{?buildroot} -C build + + +%clean +%__rm -rf %{?buildroot} + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 +- Initial release for TDE 3.5.13.2 diff --git a/redhat/tdepim/tdepim-3.5.13.2.spec b/redhat/tdepim/tdepim-3.5.13.2.spec new file mode 100644 index 000000000..76b3392b9 --- /dev/null +++ b/redhat/tdepim/tdepim-3.5.13.2.spec @@ -0,0 +1,2251 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +BuildRequires: cmake >= 2.8 +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +# KDEPIM specific features +%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_gnokii 1 +BuildRequires: gnokii-devel +%endif + +# TDEPIM optional features +#define with_kitchensync 0 + + +Name: trinity-tdepim +Version: 3.5.13.2 +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} +License: GPL +Group: Applications/Productivity + +Vendor: Trinity Project +Packager: Francois Andriot +Summary: Personal Information Management apps from the official Trinity release + +Prefix: %{tde_prefix} + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz + +# [tdepim] Missing LDFLAGS cause FTBFS on MGA2/MDV2011 +Patch14: kdepim-3.5.13-missing_ldflags.patch + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: trinity-libcaldav-devel +BuildRequires: trinity-libcarddav-devel + +BuildRequires: gpgme-devel +BuildRequires: libgpg-error-devel +BuildRequires: flex +BuildRequires: libical-devel +BuildRequires: boost-devel +BuildRequires: pcre-devel +BuildRequires: glib2-devel +BuildRequires: gcc-c++ make +BuildRequires: libidn-devel + +# CURL support +%if 0%{?fedora} >= 15 +BuildRequires: flex-static +%endif +%if 0%{?rhel} > 0 && 0%{?rhel} <= 5 +BuildRequires: trinity-libcurl-devel +%else +BuildRequires: curl-devel +%endif + +# SASL support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}sasl2-devel +%else +BuildRequires: cyrus-sasl-devel +%endif + +# XCOMPOSITE support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 +BuildRequires: libXcomposite-devel +%endif + +# XSCREENSAVER support +# Disabled on RHEL4 +%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} +%define with_xscreensaver 1 +%if 0%{?rhel} == 5 +BuildRequires: xorg-x11-proto-devel +BuildRequires: gnome-screensaver +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel +%endif +%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} >= 1220 +BuildRequires: libXScrnSaver-devel +%endif +%if 0%{?suse_version} == 1140 +BuildRequires: xscreensaver +%endif +%endif + + +Requires: trinity-libtdepim = %{version}-%{release} +Requires: %{name}-kfile-plugins = %{version}-%{release} +Requires: %{name}-tdeio-plugins = %{version}-%{release} +Requires: %{name}-kresources = %{version}-%{release} +Requires: %{name}-wizards = %{version}-%{release} +Requires: trinity-akregator = %{version}-%{release} +Requires: trinity-kaddressbook = %{version}-%{release} +Requires: trinity-kalarm = %{version}-%{release} +Requires: trinity-kandy = %{version}-%{release} +Requires: trinity-karm = %{version}-%{release} +Requires: trinity-kleopatra = %{version}-%{release} +Requires: trinity-kmail = %{version}-%{release} +Requires: trinity-kmailcvt = %{version}-%{release} +Requires: trinity-kmobile = %{version}-%{release} +Requires: trinity-knode = %{version}-%{release} +Requires: trinity-knotes = %{version}-%{release} +Requires: trinity-kode = %{version}-%{release} +Requires: trinity-konsolekalendar = %{version}-%{release} +Requires: trinity-kontact = %{version}-%{release} +Requires: trinity-korganizer = %{version}-%{release} +Requires: trinity-korn = %{version}-%{release} +Requires: trinity-ktnef = %{version}-%{release} +Requires: trinity-libindex = %{version}-%{release} +Requires: trinity-libkcal = %{version}-%{release} +Requires: trinity-libkgantt = %{version}-%{release} +Requires: trinity-libkleopatra = %{version}-%{release} +Requires: trinity-libkmime = %{version}-%{release} +Requires: trinity-libkpimexchange = %{version}-%{release} +Requires: trinity-libkpimidentities = %{version}-%{release} +Requires: trinity-libksieve = %{version}-%{release} +Requires: trinity-libktnef = %{version}-%{release} +Requires: trinity-libmimelib = %{version}-%{release} + +Obsoletes: trinity-kdepim < %{version}-%{release} +Provides: trinity-kdepim = %{version}-%{release} +Obsoletes: tdepim < %{version}-%{release} +Provides: tdepim = %{version}-%{release} + +%description +This metapackage includes a collection of Personal Information Management +(PIM) applications provided with the official release of Trinity. + +%files + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries + +Obsoletes: tdepim-cmake < %{version}-%{release} + +Obsoletes: trinity-kdepim-devel < %{version}-%{release} +Provides: trinity-kdepim-devel = %{version}-%{release} +Obsoletes: tdepim-devel < %{version}-%{release} +Provides: tdepim-devel = %{version}-%{release} + +Requires: %{name} = %{version}-%{release} +Requires: trinity-akregator-devel = %{version}-%{release} +Requires: trinity-libtdepim-devel = %{version}-%{release} +Requires: trinity-kaddressbook-devel = %{version}-%{release} +Requires: trinity-karm-devel = %{version}-%{release} +Requires: trinity-kmail-devel = %{version}-%{release} +Requires: trinity-knode-devel = %{version}-%{release} +Requires: trinity-knotes-devel = %{version}-%{release} +Requires: trinity-kode-devel = %{version}-%{release} +Requires: trinity-kontact-devel = %{version}-%{release} +Requires: trinity-korganizer-devel = %{version}-%{release} +Requires: trinity-libindex-devel = %{version}-%{release} +Requires: trinity-libkcal-devel = %{version}-%{release} +Requires: trinity-libkgantt-devel = %{version}-%{release} +Requires: trinity-libkleopatra-devel = %{version}-%{release} +Requires: trinity-libkmime-devel = %{version}-%{release} +Requires: trinity-libkpimexchange-devel = %{version}-%{release} +Requires: trinity-libkpimidentities-devel = %{version}-%{release} +Requires: trinity-libksieve-devel = %{version}-%{release} +Requires: trinity-libktnef-devel = %{version}-%{release} +Requires: trinity-libmimelib-devel = %{version}-%{release} +Requires: %{name}-kresources-devel = %{version}-%{release} + +%description devel +This metapackage includes all development files for TDE PIM. +It also contains the CMAKE macros. + +%files devel +%defattr(-,root,root,-) +%{tde_datadir}/cmake/* + +########## + +%package -n trinity-akregator +Summary: RSS feed aggregator for TDE +Group: Applications/Internet +Requires: trinity-libtdepim = %{version}-%{release} +Requires: trinity-libkcal = %{version}-%{release} + +%description -n trinity-akregator +aKregator is a fast, lightweight, and intuitive feed reader program +for TDE. It allows you to quickly browse through hundreds of +thousands of internet feeds in a quick, efficient, and familiar way. + +%files -n trinity-akregator +%defattr(-,root,root,-) +%{tde_bindir}/akregator +%{tde_tdelibdir}/libakregatorpart.la +%{tde_tdelibdir}/libakregatorpart.so +%{tde_tdelibdir}/libakregator_mk4storage_plugin.la +%{tde_tdelibdir}/libakregator_mk4storage_plugin.so +%{tde_libdir}/libakregatorprivate.so.* +%{tde_tdeappdir}/akregator.desktop +%{tde_datadir}/apps/akregator +%{tde_datadir}/config.kcfg/akregator.kcfg +%{tde_datadir}/config.kcfg/mk4config.kcfg +%{tde_datadir}/icons/crystalsvg/*/actions/rss_tag.png +%{tde_datadir}/icons/crystalsvg/16x16/apps/akregator_empty.png +%{tde_datadir}/icons/hicolor/*/apps/akregator.png +%{tde_datadir}/icons/hicolor/scalable/apps/akregator.svgz +%{tde_datadir}/services/akregator_mk4storage_plugin.desktop +%{tde_datadir}/services/akregator_part.desktop +%{tde_datadir}/services/feed.protocol +%{tde_datadir}/services/kontact/akregatorplugin*.desktop +%{tde_datadir}/servicetypes/akregator_plugin.desktop +%{tde_tdedocdir}/HTML/en/akregator/ + +%post -n trinity-akregator +/sbin/ldconfig || : +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-akregator +/sbin/ldconfig || : +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-akregator-devel +Summary: Development files for trinity-akregator +Group: Development/Libraries +Requires: trinity-akregator = %{version}-%{release} + +%description -n trinity-akregator-devel +%{summary} + +%files -n trinity-akregator-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/akregator/ +%{tde_libdir}/libakregatorprivate.la +%{tde_libdir}/libakregatorprivate.so + +%post -n trinity-akregator-devel +/sbin/ldconfig || : + +%postun -n trinity-akregator-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-kaddressbook +Summary: TDE addressbook application +Group: Applications/Communications +Requires: trinity-kdebase-pim-ioslaves +Requires: %{name}-kresources = %{version}-%{release} + +%description -n trinity-kaddressbook +KAddressBook is the main address book application for TDE; it enables you +to manage your contacts efficiently and comfortably. It can load and save +your contacts to many different locations, including the local file system, +LDAP servers, and SQL databases. + +%files -n trinity-kaddressbook +%defattr(-,root,root,-) +%{tde_bindir}/kabc2mutt +%{tde_bindir}/kaddressbook +%{tde_bindir}/kabcdistlistupdater +%{tde_tdelibdir}/kcm_kabconfig.la +%{tde_tdelibdir}/kcm_kabconfig.so +%{tde_tdelibdir}/kcm_kabcustomfields.la +%{tde_tdelibdir}/kcm_kabcustomfields.so +%{tde_tdelibdir}/kcm_kabldapconfig.la +%{tde_tdelibdir}/kcm_kabldapconfig.so +%{tde_tdelibdir}/ldifvcardthumbnail.la +%{tde_tdelibdir}/ldifvcardthumbnail.so +%{tde_tdelibdir}/libkaddrbk_*.la +%{tde_tdelibdir}/libkaddrbk_*.so +%{tde_tdelibdir}/libkaddressbookpart.la +%{tde_tdelibdir}/libkaddressbookpart.so +%{tde_libdir}/libkabinterfaces.so.* +%{tde_libdir}/libkaddressbook.so.* +%{tde_tdeappdir}/kaddressbook.desktop +%{tde_datadir}/apps/kaddressbook +%{tde_datadir}/icons/hicolor/*/apps/kaddressbook.png +%{tde_datadir}/services/kabconfig.desktop +%{tde_datadir}/services/kabcustomfields.desktop +%{tde_datadir}/services/kabldapconfig.desktop +%{tde_datadir}/services/kaddressbook +%{tde_datadir}/services/kontact/kaddressbookplugin.desktop +%{tde_datadir}/services/kresources/kabc/imap.desktop +%{tde_datadir}/services/ldifvcardthumbnail.desktop +%{tde_datadir}/servicetypes/dcopaddressbook.desktop +%{tde_datadir}/servicetypes/kaddressbook_contacteditorwidget.desktop +%{tde_datadir}/servicetypes/kaddressbookimprotocol.desktop +%{tde_datadir}/servicetypes/kaddressbook_extension.desktop +%{tde_datadir}/servicetypes/kaddressbook_view.desktop +%{tde_datadir}/servicetypes/kaddressbook_xxport.desktop +%{tde_tdedocdir}/HTML/en/kaddressbook/ +%{tde_datadir}/autostart/kabcdistlistupdater.desktop +%{tde_tdeincludedir}/kaddressbook/ +%{tde_tdeincludedir}/kabc/ + +%post -n trinity-kaddressbook +/sbin/ldconfig || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kaddressbook +/sbin/ldconfig || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kaddressbook-devel +Summary: Development files for trinity-kaddressbook +Group: Development/Libraries +Requires: trinity-kaddressbook = %{version}-%{release} + +%description -n trinity-kaddressbook-devel +%{summary} + +%files -n trinity-kaddressbook-devel +%defattr(-,root,root,-) +%{tde_libdir}/libkabinterfaces.la +%{tde_libdir}/libkabinterfaces.so +%{tde_libdir}/libkaddressbook.la +%{tde_libdir}/libkaddressbook.so + +%post -n trinity-kaddressbook-devel +/sbin/ldconfig || : + +%postun -n trinity-kaddressbook-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-kalarm +Summary: Trinity alarm message, command and email scheduler +Group: Applications/Communications +Requires: trinity-libkpimidentities = %{version}-%{release} + +%description -n trinity-kalarm +KAlarm provides a graphical interface to schedule personal timed events - +pop-up alarm messages, command execution and sending emails. There is a +range of options for configuring recurring events. + +A pop-up alarm can show either a simple text message, or the contents of a +text or image file, It can optionally be spoken, or play a sound file. You +can choose its appearance, and set reminders. Among KAlarm's other +facilities, you can set up templates to allow KAlarm to be used as a 'tea +timer'. + +As an alternative to using the graphical interface, alarms can be scheduled +from the command line or via DCOP calls from other programs. KAlarm is +TDE-based, but will also run on other desktops. + +%files -n trinity-kalarm +%defattr(-,root,root,-) +%{tde_bindir}/kalarm +%{tde_bindir}/kalarmd +%{tde_tdeappdir}/kalarm.desktop +%{tde_datadir}/applnk/.hidden/kalarmd.desktop +%{tde_datadir}/applnk/Applications/kalarm.desktop +%{tde_datadir}/apps/kalarm +%{tde_datadir}/autostart/kalarm.tray.desktop +%{tde_datadir}/autostart/kalarmd.autostart.desktop +%{tde_datadir}/icons/crystalsvg/*/actions/kalarm.png +%{tde_datadir}/icons/hicolor/*/apps/kalarm.png +%{tde_tdedocdir}/HTML/en/kalarm/ + +%post -n trinity-kalarm +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kalarm +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kandy +Summary: Trinity mobile phone utility +Group: Applications/Communications + +%description -n trinity-kandy +At the moment Kandy is more or less a terminal program with some special +features to store commands and their parameters, but is also has a simple GUI +to access the phone book of a mobile phone and it is able to save this phone +book to the TDE address book. + +Kandy is aimed at mobile phones with integrated (GSM) modems. + +%files -n trinity-kandy +%defattr(-,root,root,-) +%{tde_bindir}/kandy +%{tde_bindir}/kandy_client +%{tde_tdeappdir}/kandy.desktop +%{tde_datadir}/applnk/Utilities/kandy.desktop +%{tde_datadir}/apps/kandy/ +%{tde_datadir}/icons/crystalsvg/*/apps/kandy.png +%{tde_datadir}/config.kcfg/kandy.kcfg +%{tde_tdedocdir}/HTML/en/kandy/ + +%post -n trinity-kandy +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kandy +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-karm +Summary: Trinity time tracker tool +Group: Applications/Productivity + +%description -n trinity-karm +KArm is a time tracker for busy people who need to keep track of the amount of +time they spend on various tasks. + +%files -n trinity-karm +%defattr(-,root,root,-) +%{tde_bindir}/karm +%{tde_libdir}/libkarm.so.* +%{tde_tdelibdir}/libkarmpart.la +%{tde_tdelibdir}/libkarmpart.so +%{tde_tdeappdir}/karm.desktop +%{tde_datadir}/applnk/Utilities/karm.desktop +%{tde_datadir}/apps/karm/ +%{tde_datadir}/apps/karmpart/ +%{tde_datadir}/icons/hicolor/*/apps/karm.png +%{tde_datadir}/services/karm_part.desktop +%{tde_datadir}/services/kontact/karmplugin.desktop +%{tde_tdedocdir}/HTML/en/karm/ + +%post -n trinity-karm +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-karm +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-karm-devel +Summary: Development files for karm +Group: Development/Libraries + +%description -n trinity-karm-devel +%{summary} + +%files -n trinity-karm-devel +%defattr(-,root,root,-) +%{tde_libdir}/libkarm.so +%{tde_libdir}/libkarm.la + +%post -n trinity-karm-devel +/sbin/ldconfig || : + +%postun -n trinity-karm-devel +/sbin/ldconfig || : + +########## + +%package kfile-plugins +Summary: TDE File dialog plugins for palm and vcf files +Group: Environment/Libraries + +Obsoletes: tdepim-kfile-plugins < %{version}-%{release} + +%description kfile-plugins +File dialog plugins for palm and vcf files. + +%files kfile-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/kfile_ics.la +%{tde_tdelibdir}/kfile_ics.so +%{tde_tdelibdir}/kfile_vcf.la +%{tde_tdelibdir}/kfile_vcf.so +%{tde_datadir}/services/kfile_ics.desktop +%{tde_datadir}/services/kfile_vcf.desktop + +########## + +%package tdeio-plugins +Summary: Trinity PIM I/O Slaves +Group: Environment/Libraries + +Obsoletes: tdepim-kio-plugins < %{version}-%{release} +Obsoletes: trinity-tdepim-kio-plugins < %{version}-%{release} +Provides: trinity-tdepim-kio-plugins = %{version}-%{release} + +%description tdeio-plugins +This package includes the pim kioslaves. This includes imap4, sieve, +and mbox. + +%files tdeio-plugins +%defattr(-,root,root,-) +%{tde_tdelibdir}/kio_groupwise.la +%{tde_tdelibdir}/kio_groupwise.so +%{tde_tdelibdir}/kio_imap4.la +%{tde_tdelibdir}/kio_imap4.so +%{tde_tdelibdir}/kio_mbox.la +%{tde_tdelibdir}/kio_mbox.so +%{tde_tdelibdir}/kio_scalix.la +%{tde_tdelibdir}/kio_scalix.so +%{tde_tdelibdir}/kio_sieve.la +%{tde_tdelibdir}/kio_sieve.so +%{tde_datadir}/services/groupwise.protocol +%{tde_datadir}/services/groupwises.protocol +%{tde_datadir}/services/imap4.protocol +%{tde_datadir}/services/imaps.protocol +%{tde_datadir}/services/mbox.protocol +%{tde_datadir}/services/scalix.protocol +%{tde_datadir}/services/scalixs.protocol +%{tde_datadir}/services/sieve.protocol + +########## + +%package kresources +Summary: Trinity pim resource plugins +Group: Environment/Libraries +#Requires: trinity-kaddressbook = %{version}-%{release} +#Requires: trinity-korganizer = %{version}-%{release} +#Requires: trinity-knotes = %{version}-%{release} +Requires: libcaldav +Requires: libcarddav + +Obsoletes: tdepim-kresources < %{version}-%{release} + +%description kresources +This package includes several plugins needed to interface with groupware +servers. It also includes plugins for features such as blogging and +tracking feature plans. + +%files kresources +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcal_caldav.la +%{tde_tdelibdir}/kcal_caldav.so +%{tde_tdelibdir}/kcal_groupdav.la +%{tde_tdelibdir}/kcal_groupdav.so +%{tde_tdelibdir}/kcal_groupwise.la +%{tde_tdelibdir}/kcal_groupwise.so +%{tde_tdelibdir}/kcal_kolab.la +%{tde_tdelibdir}/kcal_kolab.so +%{tde_tdelibdir}/kcal_scalix.la +%{tde_tdelibdir}/kcal_scalix.so +%{tde_tdelibdir}/kcal_newexchange.la +%{tde_tdelibdir}/kcal_newexchange.so +%{tde_tdelibdir}/kcal_resourcefeatureplan.la +%{tde_tdelibdir}/kcal_resourcefeatureplan.so +%{tde_tdelibdir}/kcal_slox.la +%{tde_tdelibdir}/kcal_slox.so +%{tde_tdelibdir}/kcal_xmlrpc.la +%{tde_tdelibdir}/kcal_xmlrpc.so +%{tde_tdelibdir}/knotes_kolab.la +%{tde_tdelibdir}/knotes_kolab.so +%{tde_tdelibdir}/knotes_scalix.la +%{tde_tdelibdir}/knotes_scalix.so +%{tde_tdelibdir}/knotes_xmlrpc.la +%{tde_tdelibdir}/knotes_xmlrpc.so +%{tde_libdir}/libkabckolab.so.* +%{tde_libdir}/libkabcscalix.so.* +%{tde_libdir}/libkabc_groupdav.so.* +%{tde_libdir}/libkabc_groupwise.so.* +%{tde_libdir}/libkabc_newexchange.so.* +%{tde_libdir}/libkabc_slox.so.* +%{tde_libdir}/libkabc_xmlrpc.so.* +%{tde_libdir}/libkcalkolab.so.* +%{tde_libdir}/libkcalscalix.so.* +%{tde_libdir}/libkcal_caldav.so.* +%{tde_libdir}/libkabc_carddav.so.* +%{tde_libdir}/libkcal_groupdav.so.* +%{tde_libdir}/libkcal_groupwise.so.* +%{tde_libdir}/libkcal_newexchange.so.* +%{tde_libdir}/libkcal_resourcefeatureplan.so.* +%{tde_libdir}/libkcal_slox.so.* +%{tde_libdir}/libkcal_xmlrpc.so.* +%{tde_libdir}/libkgroupwarebase.so.* +%{tde_libdir}/libkgroupwaredav.so.* +%{tde_libdir}/libknoteskolab.so.* +%{tde_libdir}/libknotesscalix.so.* +%{tde_libdir}/libknotes_xmlrpc.so.* +%{tde_libdir}/libkslox.so.* +%{tde_libdir}/libgwsoap.so.* +%{tde_datadir}/services/kresources/kabc/kabc_groupdav.desktop +%{tde_datadir}/services/kresources/kabc/kabc_groupwise.desktop +%{tde_datadir}/services/kresources/kabc/kabc_newexchange.desktop +%{tde_datadir}/services/kresources/kabc/kabc_opengroupware.desktop +%{tde_datadir}/services/kresources/kabc/kabc_ox.desktop +%{tde_datadir}/services/kresources/kabc/kabc_slox.desktop +%{tde_datadir}/services/kresources/kabc/kabc_xmlrpc.desktop +%{tde_datadir}/services/kresources/kabc/kolab.desktop +%{tde_datadir}/services/kresources/kabc/scalix.desktop +%{tde_datadir}/services/kresources/kcal/exchange.desktop +%{tde_datadir}/services/kresources/kcal/kcal_caldav.desktop +%{tde_datadir}/services/kresources/kabc/kabc_carddav.desktop +%{tde_datadir}/services/kresources/kcal/kcal_groupdav.desktop +%{tde_datadir}/services/kresources/kcal/kcal_groupwise.desktop +%{tde_datadir}/services/kresources/kcal/kcal_newexchange.desktop +%{tde_datadir}/services/kresources/kcal/kcal_opengroupware.desktop +%{tde_datadir}/services/kresources/kcal/kcal_ox.desktop +%{tde_datadir}/services/kresources/kcal/kcal_resourcefeatureplan.desktop +%{tde_datadir}/services/kresources/kcal/kcal_slox.desktop +%{tde_datadir}/services/kresources/kcal/kcal_xmlrpc.desktop +%{tde_datadir}/services/kresources/kcal/kolab.desktop +%{tde_datadir}/services/kresources/kcal/scalix.desktop +%{tde_datadir}/services/kresources/knotes/knotes_xmlrpc.desktop +%{tde_datadir}/services/kresources/knotes/kolabresource.desktop +%{tde_datadir}/services/kresources/knotes/scalix.desktop + +%{tde_datadir}/apps/kconf_update/upgrade-resourcetype.pl +%{tde_datadir}/apps/kconf_update/kolab-resource.upd + +%{tde_tdelibdir}/kabc_carddav.la +%{tde_tdelibdir}/kabc_carddav.so +%{tde_tdelibdir}/kabc_groupdav.la +%{tde_tdelibdir}/kabc_groupdav.so +%{tde_tdelibdir}/kabc_groupwise.la +%{tde_tdelibdir}/kabc_groupwise.so +%{tde_tdelibdir}/kabc_kolab.la +%{tde_tdelibdir}/kabc_kolab.so +%{tde_tdelibdir}/kabc_newexchange.la +%{tde_tdelibdir}/kabc_newexchange.so +%{tde_tdelibdir}/kabc_scalix.la +%{tde_tdelibdir}/kabc_scalix.so +%{tde_tdelibdir}/kabc_slox.la +%{tde_tdelibdir}/kabc_slox.so +%{tde_tdelibdir}/kabc_xmlrpc.la +%{tde_tdelibdir}/kabc_xmlrpc.so + +%post kresources +/sbin/ldconfig || : + +%postun kresources +/sbin/ldconfig || : + +########## + +%package kresources-devel +Summary: Development files for kresources +Group: Development/Libraries +Requires: %{name}-kresources = %{version}-%{release} +Requires: libcaldav +Requires: libcarddav + +Obsoletes: tdepim-kresources-devel < %{version}-%{release} + +%description kresources-devel +%{summary} + +%files kresources-devel +%defattr(-,root,root,-) +%{tde_libdir}/libkslox.la +%{tde_libdir}/libkslox.so +%{tde_libdir}/libkabc_groupdav.la +%{tde_libdir}/libkabc_groupdav.so +%{tde_libdir}/libkabc_groupwise.la +%{tde_libdir}/libkabc_groupwise.so +%{tde_libdir}/libgwsoap.la +%{tde_libdir}/libgwsoap.so +%{tde_libdir}/libkabc_carddav.la +%{tde_libdir}/libkabc_carddav.so +%{tde_libdir}/libkabc_newexchange.la +%{tde_libdir}/libkabc_newexchange.so +%{tde_libdir}/libkabc_slox.la +%{tde_libdir}/libkabc_slox.so +%{tde_libdir}/libkabc_xmlrpc.la +%{tde_libdir}/libkabc_xmlrpc.so +%{tde_libdir}/libkabckolab.la +%{tde_libdir}/libkabckolab.so +%{tde_libdir}/libkabcscalix.la +%{tde_libdir}/libkabcscalix.so +%{tde_libdir}/libkcal_caldav.la +%{tde_libdir}/libkcal_caldav.so +%{tde_libdir}/libkcal_groupdav.la +%{tde_libdir}/libkcal_groupdav.so +%{tde_libdir}/libkcal_groupwise.la +%{tde_libdir}/libkcal_groupwise.so +%{tde_libdir}/libkcal_newexchange.la +%{tde_libdir}/libkcal_newexchange.so +%{tde_libdir}/libkcal_resourcefeatureplan.la +%{tde_libdir}/libkcal_resourcefeatureplan.so +%{tde_libdir}/libkcal_slox.la +%{tde_libdir}/libkcal_slox.so +%{tde_libdir}/libkcal_xmlrpc.la +%{tde_libdir}/libkcal_xmlrpc.so +%{tde_libdir}/libkcalkolab.la +%{tde_libdir}/libkcalkolab.so +%{tde_libdir}/libkcalscalix.la +%{tde_libdir}/libkcalscalix.so +%{tde_libdir}/libkgroupwarebase.la +%{tde_libdir}/libkgroupwarebase.so +%{tde_libdir}/libkgroupwaredav.la +%{tde_libdir}/libkgroupwaredav.so +%{tde_libdir}/libknotes_xmlrpc.la +%{tde_libdir}/libknotes_xmlrpc.so +%{tde_libdir}/libknoteskolab.la +%{tde_libdir}/libknoteskolab.so +%{tde_libdir}/libknotesscalix.la +%{tde_libdir}/libknotesscalix.so +%{tde_tdeincludedir}/kpimprefs.h + +%post kresources-devel +/sbin/ldconfig || : + +%postun kresources-devel +/sbin/ldconfig || : + +########## + +%package wizards +Summary: Trinity server configuration wizards +Group: Applications/Communications + +Obsoletes: tdepim-wizards < %{version}-%{release} + +%description wizards +This package contains TDE-based wizards for configuring eGroupware, +Kolab, and SUSE Linux Openexchange servers. + +%files wizards +%defattr(-,root,root,-) +%{tde_bindir}/egroupwarewizard +%{tde_bindir}/exchangewizard +%{tde_bindir}/groupwarewizard +%{tde_bindir}/groupwisewizard +%{tde_bindir}/kolabwizard +%{tde_bindir}/scalixadmin +%{tde_bindir}/scalixwizard +%{tde_bindir}/sloxwizard +%{tde_tdelibdir}/libegroupwarewizard.la +%{tde_tdelibdir}/libegroupwarewizard.so +%{tde_tdelibdir}/libexchangewizard.la +%{tde_tdelibdir}/libexchangewizard.so +%{tde_tdelibdir}/libgroupwisewizard.la +%{tde_tdelibdir}/libgroupwisewizard.so +%{tde_tdelibdir}/libkolabwizard.la +%{tde_tdelibdir}/libkolabwizard.so +%{tde_tdelibdir}/libscalixwizard.la +%{tde_tdelibdir}/libscalixwizard.so +%{tde_tdelibdir}/libsloxwizard.la +%{tde_tdelibdir}/libsloxwizard.so +%{tde_tdeappdir}/groupwarewizard.desktop +%{tde_datadir}/config.kcfg/egroupware.kcfg +%{tde_datadir}/config.kcfg/groupwise.kcfg +%{tde_datadir}/config.kcfg/kolab.kcfg +%{tde_datadir}/config.kcfg/scalix.kcfg +%{tde_datadir}/config.kcfg/slox.kcfg + +%post wizards +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun wizards +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%if 0%{?with_kitchensync} +%package -n trinity-kitchensync +Summary: Synchronization framework +Group: Applications/Communications +BuildRequires: opensync-devel +#Suggests: konqueror-trinity +#Conflicts: kdebluetooth-irmcsync-trinity (<< 0.99+1.0beta2-4.1), ksync-trinity + +%description -n trinity-kitchensync +This package contains a synchronization framework, still under heavy +development (?). Kitchensync uses opensync. + +%files -n trinity-kitchensync +%defattr(-,root,root,-) +%{tde_bindir}/kitchensync +%{tde_tdelibdir}/libkitchensyncpart.la +%{tde_tdelibdir}/libkitchensyncpart.so +%{tde_datadir}/apps/kitchensync +%{tde_libdir}/libkitchensync.so.* +%{tde_libdir}/libqopensync.so.* +%{tde_tdeappdir}/kitchensync.desktop +%{tde_datadir}/icons/hicolor/*/apps/kitchensync.png + +%post -n trinity-kitchensync +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kitchensync +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : +%endif + +########## + +%package -n trinity-kleopatra +Summary: Trinity Certificate Manager +Group: Applications/Communications + +# GPG support +%if 0%{?suse_version} +Requires: gpg2 +%endif +%if 0%{?rhel} == 4 +Requires: gnupg +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} +Requires: gnupg2 +%endif + +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} +Requires: pinentry +Requires: dirmngr +%endif + +%description -n trinity-kleopatra +Kleopatra is the TDE tool for managing X.509 certificates in the gpgsm +keybox and for retrieving certificates from LDAP servers. + +%files -n trinity-kleopatra +%defattr(-,root,root,-) +%{tde_bindir}/kleopatra +%{tde_bindir}/kwatchgnupg +%{tde_tdelibdir}/kcm_kleopatra.la +%{tde_tdelibdir}/kcm_kleopatra.so +%{tde_tdeappdir}/kleopatra_import.desktop +%{tde_datadir}/apps/kleopatra +%{tde_datadir}/apps/kwatchgnupg +%{tde_datadir}/services/kleopatra_config_*.desktop +%{tde_tdedocdir}/HTML/en/kleopatra/ +%{tde_tdedocdir}/HTML/en/kwatchgnupg/ + +%post -n trinity-kleopatra +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kleopatra +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kmail +Summary: Trinity Email client +Group: Applications/Communications +Requires: %{name}-tdeio-plugins = %{version}-%{release} +Requires: trinity-tdebase-tdeio-pim-plugins >= %{version} + +# GPG support +%if 0%{?suse_version} +Requires: gpg2 +%endif +%if 0%{?rhel} == 4 +Requires: gnupg +%endif +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} +Requires: gnupg2 +%endif + +# Pinentry +%if 0%{?suse_version} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} +Requires: pinentry +%endif + +Requires: procmail +Requires: trinity-kaddressbook = %{version}-%{release} +Requires: trinity-kleopatra = %{version}-%{release} +Requires: trinity-tdebase-tdeio-pim-plugins >= %{version}-%{release} + +Provides: imap-client, mail-reader + +%description -n trinity-kmail +KMail is a fully-featured email client that fits nicely into the TDE +desktop. It has features such as support for IMAP, POP3, multiple accounts, +mail filtering and sorting, PGP/GnuPG privacy, and inline attachments. + +You need to install %{name}-tdeio-plugins if you want to use IMAP or +mbox files, and/or trinity-tdebase-tdeio-plugins if you want to use POP3. + +%files -n trinity-kmail +%defattr(-,root,root,-) +%{tde_datadir}/config/kmail.antispamrc +%{tde_datadir}/config/kmail.antivirusrc +%{tde_bindir}/kmail +%{tde_bindir}/kmail_*.sh +%{tde_tdelibdir}/kcm_kmail.la +%{tde_tdelibdir}/kcm_kmail.so +%{tde_tdelibdir}/libkmail_bodypartformatter_application_octetstream.la +%{tde_tdelibdir}/libkmail_bodypartformatter_application_octetstream.so +%{tde_tdelibdir}/libkmail_bodypartformatter_text_calendar.la +%{tde_tdelibdir}/libkmail_bodypartformatter_text_calendar.so +%{tde_tdelibdir}/libkmail_bodypartformatter_text_vcard.la +%{tde_tdelibdir}/libkmail_bodypartformatter_text_vcard.so +%{tde_tdelibdir}/libkmail_bodypartformatter_text_xdiff.la +%{tde_tdelibdir}/libkmail_bodypartformatter_text_xdiff.so +%{tde_tdelibdir}/libkmailpart.la +%{tde_tdelibdir}/libkmailpart.so +%{tde_tdeappdir}/KMail.desktop +%{tde_tdeappdir}/kmail_view.desktop +%{tde_datadir}/apps/kconf_update/kmail-3.1-update-new-mail-notification-settings.pl +%{tde_datadir}/apps/kconf_update/kmail-3.1-use-UOID-for-identities.pl +%{tde_datadir}/apps/kconf_update/kmail-3.1.4-dont-use-UOID-0-for-any-identity.pl +%{tde_datadir}/apps/kconf_update/kmail-3.2-misc.sh +%{tde_datadir}/apps/kconf_update/kmail-3.2-update-loop-on-goto-unread-settings.sh +%{tde_datadir}/apps/kconf_update/kmail-3.3-aegypten.pl +%{tde_datadir}/apps/kconf_update/kmail-3.3-misc.pl +%{tde_datadir}/apps/kconf_update/kmail-3.3-move-identities.pl +%{tde_datadir}/apps/kconf_update/kmail-3.3-split-sign-encr-keys.sh +%{tde_datadir}/apps/kconf_update/kmail-3.3-use-ID-for-accounts.pl +%{tde_datadir}/apps/kconf_update/kmail-3.3b1-misc.pl +%{tde_datadir}/apps/kconf_update/kmail-3.4-misc.pl +%{tde_datadir}/apps/kconf_update/kmail-3.4.1-update-status-filters.pl +%{tde_datadir}/apps/kconf_update/kmail-3.5-trigger-flag-migration.pl +%{tde_datadir}/apps/kconf_update/kmail-3.5-filter-icons.pl +%{tde_datadir}/apps/kconf_update/kmail-pgpidentity.pl +%{tde_datadir}/apps/kconf_update/kmail-upd-identities.pl +%{tde_datadir}/apps/kconf_update/kmail.upd +%{tde_datadir}/apps/kconf_update/upgrade-signature.pl +%{tde_datadir}/apps/kconf_update/upgrade-transport.pl +%{tde_datadir}/apps/kmail +%{tde_datadir}/apps/konqueror/servicemenus/email.desktop +%{tde_datadir}/config.kcfg/custommimeheader.kcfg +%{tde_datadir}/config.kcfg/kmail.kcfg +%{tde_datadir}/config.kcfg/customtemplates_kfg.kcfg +%{tde_datadir}/config.kcfg/replyphrases.kcfg +%{tde_datadir}/config.kcfg/templatesconfiguration_kfg.kcfg +%{tde_datadir}/icons/crystalsvg/*/apps/kmaillight.png +%{tde_datadir}/icons/hicolor/*/apps/kmail.png +%{tde_datadir}/icons/hicolor/scalable/apps/kmail.svgz +%{tde_datadir}/services/kmail_config_*.desktop +%{tde_datadir}/services/kontact/kmailplugin.desktop +%{tde_datadir}/servicetypes/dcopimap.desktop +%{tde_datadir}/servicetypes/dcopmail.desktop +# 'libkmailprivate.so' is required at runtime, not devel ! +%{tde_libdir}/libkmailprivate.so +%{tde_libdir}/libkmailprivate.la +%{tde_tdedocdir}/HTML/en/kmail/ + +%post -n trinity-kmail +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kmail +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kmail-devel +Summary: Development files for kmail +Group: Development/Libraries + +%description -n trinity-kmail-devel +%{summary} + +%files -n trinity-kmail-devel +%defattr(-,root,root,-) +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kmail/ +%{tde_tdeincludedir}/kmail*.h + +%post -n trinity-kmail-devel +/sbin/ldconfig || : + +%postun -n trinity-kmail-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-kmailcvt +Summary: Trinity KMail mail folder converter +Group: Applications/Communications +Requires: trinity-kmail = %{version}-%{release} + +%description -n trinity-kmailcvt +Converts mail folders to KMail format. Formats supported for import +include Outlook Express, Evolution, and plain mbox. + +%files -n trinity-kmailcvt +%defattr(-,root,root,-) +%{tde_bindir}/kmailcvt +%{tde_datadir}/applnk/Utilities/kmailcvt.desktop +%{tde_datadir}/apps/kmailcvt +%{tde_datadir}/icons/crystalsvg/*/apps/kmailcvt.png + +%post -n trinity-kmailcvt +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done + +%postun -n trinity-kmailcvt +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done + +########## + +%package -n trinity-knode +Summary: Trinity news reader +Group: Applications/Internet + +%description -n trinity-knode +KNode is an easy-to-use, convenient newsreader. It is intended to be usable +by inexperienced users, but also includes support for such features as +MIME attachments, article scoring, and creating and verifying GnuPG +signatures. + +%files -n trinity-knode +%defattr(-,root,root,-) +%{tde_bindir}/knode +%{tde_tdelibdir}/kcm_knode.la +%{tde_tdelibdir}/kcm_knode.so +%{tde_tdelibdir}/libknodepart.la +%{tde_tdelibdir}/libknodepart.so +%{tde_libdir}/libknodecommon.so.* +%{tde_tdeappdir}/KNode.desktop +%{tde_datadir}/apps/knode/ +%{tde_datadir}/icons/hicolor/*/apps/knode.png +%{tde_datadir}/icons/hicolor/*/apps/knode2.png +%{tde_datadir}/services/knewsservice.protocol +%{tde_datadir}/services/knode_config_*.desktop +%{tde_datadir}/services/kontact/knodeplugin.desktop +%{tde_tdedocdir}/HTML/en/knode/ + +%post -n trinity-knode +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-knode +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-knode-devel +Summary: Development files for trinity-knode +Group: Development/Libraries +Requires: trinity-knode = %{version}-%{release} + +%description -n trinity-knode-devel +%{summary} + +%files -n trinity-knode-devel +%defattr(-,root,root,-) +%{tde_libdir}/libknodecommon.la +%{tde_libdir}/libknodecommon.so + +%post -n trinity-knode-devel +/sbin/ldconfig || : + +%postun -n trinity-knode-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-knotes +Summary: Trinity sticky notes +Group: Applications/Utilities +Requires: trinity-tdepim-kresources = %{version}-%{release} + +%description -n trinity-knotes +KNotes is a program that lets you write sticky notes. The notes are saved +automatically when you exit the program, and they display when you open the +program. The program supports printing and mailing your notes. + +%files -n trinity-knotes +%defattr(-,root,root,-) +%{tde_bindir}/knotes +%{tde_tdelibdir}/knotes_local.la +%{tde_tdelibdir}/knotes_local.so +%{tde_libdir}/libknotes.so.* +%{tde_tdeappdir}/knotes.desktop +%{tde_datadir}/apps/knotes/ +%{tde_datadir}/config.kcfg/knoteconfig.kcfg +%{tde_datadir}/config.kcfg/knotesglobalconfig.kcfg +%{tde_datadir}/icons/hicolor/*/apps/knotes.png +%{tde_datadir}/services/kresources/knotes/imap.desktop +%{tde_datadir}/services/kresources/knotes/local.desktop +%{tde_datadir}/services/kresources/knotes_manager.desktop +%{tde_datadir}/services/kontact/knotesplugin.desktop +%{tde_tdedocdir}/HTML/en/knotes/ + +%post -n trinity-knotes +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-knotes +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-knotes-devel +Summary: Development files for knots +Group: Development/Libraries +Requires: trinity-knotes = %{version}-%{release} +Requires: %{name}-kresources-devel = %{version}-%{release} + +%description -n trinity-knotes-devel +%{summary} + +%files -n trinity-knotes-devel +%defattr(-,root,root,-) +%{tde_libdir}/libknotes.so +%{tde_libdir}/libknotes.la +%{tde_tdeincludedir}/KNotesAppIface.h +%{tde_tdeincludedir}/KNotesIface.h + +%post -n trinity-knotes-devel +/sbin/ldconfig || : + +%postun -n trinity-knotes-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-kode +Summary: Helper library for programmatic generation of C++ code +Group: Development/Libraries + +%description -n trinity-kode +This package includes a program kode for generation of C++ template files +and kxml_compiler for generation of C++ classes representing XML data +described by RelaxNG schemes. + +%files -n trinity-kode +%defattr(-,root,root,-) +%{tde_bindir}/kode +%{tde_bindir}/kxml_compiler +%{tde_libdir}/libkode.so.* + +%post -n trinity-kode +/sbin/ldconfig || : + +%postun -n trinity-kode +/sbin/ldconfig || : + +########## + +%package -n trinity-kode-devel +Summary: Development files for trinity-kode +Group: Development/Libraries +Requires: trinity-kode = %{version}-%{release} + +%description -n trinity-kode-devel +%{summary} + +%files -n trinity-kode-devel +%defattr(-,root,root,-) +%{tde_libdir}/libkode.la +%{tde_libdir}/libkode.so + +%post -n trinity-kode-devel +/sbin/ldconfig || : + +%postun -n trinity-kode-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-konsolekalendar +Summary: Trinity konsole personal organizer +Group: Applications/Productivity + +%description -n trinity-konsolekalendar +KonsoleKalendar is a command-line interface to TDE calendars. +Konsolekalendar complements the TDE KOrganizer by providing a console +frontend to manage your calendars. + +%files -n trinity-konsolekalendar +%defattr(-,root,root,-) +%{tde_bindir}/konsolekalendar +%{tde_tdeappdir}/konsolekalendar.desktop +%{tde_datadir}/icons/crystalsvg/*/apps/konsolekalendar.png +%{tde_tdedocdir}/HTML/en/konsolekalendar/ + +%post -n trinity-konsolekalendar +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-konsolekalendar +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kontact +Summary: Trinity pim application +Group: Applications/Communications +Requires: trinity-kmail = %{version}-%{release} +Requires: trinity-korganizer = %{version}-%{release} +Requires: trinity-kaddressbook = %{version}-%{release} +Requires: trinity-knode = %{version}-%{release} +Requires: trinity-knotes = %{version}-%{release} +Requires: trinity-akregator = %{version}-%{release} + +%description -n trinity-kontact +Kontact is the integrated solution to your personal information management +needs. It combines TDE applications like KMail, KOrganizer, and +KAddressBook into a single interface to provide easy access to mail, +scheduling, address book and other PIM functionality. + +%files -n trinity-kontact +%defattr(-,root,root,-) +%{tde_bindir}/kontact +%{tde_tdelibdir}/kcm_kmailsummary.la +%{tde_tdelibdir}/kcm_kmailsummary.so +%{tde_tdelibdir}/kcm_kontact.la +%{tde_tdelibdir}/kcm_kontact.so +%{tde_tdelibdir}/kcm_kontactknt.la +%{tde_tdelibdir}/kcm_kontactknt.so +%{tde_tdelibdir}/kcm_kontactsummary.la +%{tde_tdelibdir}/kcm_kontactsummary.so +%{tde_tdelibdir}/kcm_korgsummary.la +%{tde_tdelibdir}/kcm_korgsummary.so +%{tde_tdelibdir}/kcm_sdsummary.la +%{tde_tdelibdir}/kcm_sdsummary.so +%{tde_tdelibdir}/libkontact_*.la +%{tde_tdelibdir}/libkontact_*.so +%{tde_libdir}/libkontact.so.* +%{tde_libdir}/libkpinterfaces.so.* +%{tde_tdeappdir}/Kontact.desktop +%{tde_tdeappdir}/kontactdcop.desktop +%{tde_datadir}/apps/kontact +%{tde_datadir}/apps/kontactsummary/kontactsummary_part.rc +%{tde_datadir}/config.kcfg/kontact.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kontact.png +%{tde_datadir}/icons/crystalsvg/*/actions/kontact_*.png +%{tde_datadir}/services/kcmkmailsummary.desktop +%{tde_datadir}/services/kcmkontactknt.desktop +%{tde_datadir}/services/kcmkontactsummary.desktop +%{tde_datadir}/services/kcmkorgsummary.desktop +%{tde_datadir}/services/kcmsdsummary.desktop +%{tde_datadir}/services/kontact/newstickerplugin.desktop +%{tde_datadir}/services/kontact/specialdatesplugin.desktop +%{tde_datadir}/services/kontact/summaryplugin.desktop +%{tde_datadir}/services/kontact/weatherplugin.desktop +%{tde_datadir}/services/kontactconfig.desktop +%{tde_datadir}/servicetypes/kontactplugin.desktop +%{tde_tdedocdir}/HTML/en/kontact/ +%{tde_tdedocdir}/HTML/en/kpilot/ + +%post -n trinity-kontact +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kontact +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kontact-devel +Summary: Development files for kontact +Group: Development/Libraries +Requires: trinity-kontact = %{version}-%{release} + +%description -n trinity-kontact-devel +%{summary} + +%files -n trinity-kontact-devel +%defattr(-,root,root,-) +%{tde_libdir}/libkontact.la +%{tde_libdir}/libkontact.so +%{tde_libdir}/libkpinterfaces.la +%{tde_libdir}/libkpinterfaces.so +%{tde_tdeincludedir}/kontact/ + +%post -n trinity-kontact-devel +/sbin/ldconfig || : + +%postun -n trinity-kontact-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-korganizer +Summary: Trinity personal organizer +Group: Applications/Productivity +Requires: trinity-libkpimidentities = %{version}-%{release} +Requires: trinity-libkpimexchange = %{version}-%{release} +Requires: %{name}-kresources = %{version}-%{release} +Requires: perl + +%description -n trinity-korganizer +This package contains KOrganizer, a calendar and scheduling program. + +KOrganizer aims to be a complete program for organizing appointments, +contacts, projects, etc. KOrganizer natively supports information interchange +with other calendar applications, through the industry standard vCalendar +personal data interchange file format. This eases the move from other +modern PIMs to KOrganizer. + +KOrganizer offers full synchronization with Palm Pilots, if kpilot is +installed. + +%files -n trinity-korganizer +%defattr(-,root,root,-) +%{tde_bindir}/ical2vcal +%{tde_bindir}/korgac +%{tde_bindir}/korganizer +%{tde_tdelibdir}/kcm_korganizer.la +%{tde_tdelibdir}/kcm_korganizer.so +%{tde_tdelibdir}/libkorg_*.la +%{tde_tdelibdir}/libkorg_*.so +%{tde_tdelibdir}/libkorganizerpart.la +%{tde_tdelibdir}/libkorganizerpart.so +%{tde_libdir}/libkocorehelper.so.* +%{tde_libdir}/libkorg_stdprinting.so.* +%{tde_libdir}/libkorganizer.so.* +%{tde_libdir}/libkorganizer_calendar.so.* +%{tde_libdir}/libkorganizer_eventviewer.so.* +%{tde_tdeappdir}/korganizer.desktop +%{tde_datadir}/apps/kconf_update/korganizer.upd +%{tde_datadir}/apps/korgac/ +%{tde_datadir}/apps/korganizer/ +%{tde_datadir}/autostart/korgac.desktop +%{tde_datadir}/config.kcfg/korganizer.kcfg +%{tde_datadir}/icons/hicolor/*/apps/korganizer.png +%{tde_datadir}/services/kontact/korganizerplugin.desktop +%{tde_datadir}/services/kontact/journalplugin.desktop +%{tde_datadir}/services/kontact/todoplugin.desktop +%{tde_datadir}/services/korganizer_*.desktop +%{tde_datadir}/services/korganizer +%{tde_datadir}/services/webcal.protocol +%{tde_datadir}/servicetypes/calendardecoration.desktop +%{tde_datadir}/servicetypes/calendarplugin.desktop +%{tde_datadir}/servicetypes/dcopcalendar.desktop +%{tde_datadir}/servicetypes/korganizerpart.desktop +%{tde_datadir}/servicetypes/korgprintplugin.desktop +%{tde_tdedocdir}/HTML/en/korganizer/ + +%post -n trinity-korganizer +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-korganizer +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-korganizer-devel +Summary: Development files for korganizer +Group: Development/Libraries +Requires: trinity-korganizer = %{version}-%{release} + +%description -n trinity-korganizer-devel +%{summary} + +%files -n trinity-korganizer-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/korganizer/ +%{tde_tdeincludedir}/calendar/ +%{tde_libdir}/libkocorehelper.la +%{tde_libdir}/libkocorehelper.so +%{tde_libdir}/libkorg_stdprinting.la +%{tde_libdir}/libkorg_stdprinting.so +%{tde_libdir}/libkorganizer.la +%{tde_libdir}/libkorganizer.so +%{tde_libdir}/libkorganizer_calendar.la +%{tde_libdir}/libkorganizer_calendar.so +%{tde_libdir}/libkorganizer_eventviewer.la +%{tde_libdir}/libkorganizer_eventviewer.so + +%post -n trinity-korganizer-devel +/sbin/ldconfig || : + +%postun -n trinity-korganizer-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-korn +Summary: Trinity mail checker +Group: Applications/Communications +Requires: %{name}-tdeio-plugins = %{version}-%{release} + +%description -n trinity-korn +Korn is a TDE mail checker that can display a small summary in the Kicker +tray. It supports checking mbox, pop3, imap4, and nntp sources. + +Once mail is received you can have Korn run a third party program or change +the color/icon of the Kicker display. In addition to this you can have +Korn run a program once you click on the docked icon in Kicker. + +%files -n trinity-korn +%defattr(-,root,root,-) +%{tde_bindir}/korn +%{tde_libdir}/kconf_update_bin/korn-3-4-config_change +%{tde_tdeappdir}/KOrn.desktop +%{tde_datadir}/apps/kconf_update/korn-3-4-config_change.upd +%{tde_datadir}/apps/kconf_update/korn-3-5-metadata-update.pl +%{tde_datadir}/apps/kconf_update/korn-3-5-ssl-update.pl +%{tde_datadir}/apps/kconf_update/korn-3-5-update.upd +%{tde_datadir}/icons/hicolor/*/apps/korn.png +%{tde_tdedocdir}/HTML/en/korn/ + +%post -n trinity-korn +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-korn +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ktnef +Summary: Trinity TNEF viewer +Group: Applications/Communications + +%description -n trinity-ktnef +The TNEF File Viewer allows you to handle mail attachments using the TNEF +format. These attachments are usually found in mails coming from Microsoft +mail servers and embed the mail properties as well as the actual attachments. + +%files -n trinity-ktnef +%defattr(-,root,root,-) +%{tde_bindir}/ktnef +%{tde_tdeappdir}/ktnef.desktop +%{tde_datadir}/apps/ktnef +%{tde_datadir}/icons/hicolor/*/apps/ktnef.png +%{tde_datadir}/icons/locolor/*/apps/ktnef.png +%{tde_datadir}/mimelnk/application/ms-tnef.desktop +%{tde_tdedocdir}/HTML/en/ktnef/ + +%post -n trinity-ktnef +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ktnef +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-libindex +Summary: Trinity indexing library +Group: Environment/Libraries + +%description -n trinity-libindex +This library provides text indexing and is currently used by KMail +to implement fast searches in mail bodies. + +This is the runtime package for programs that use the libindex library. + +%files -n trinity-libindex +%defattr(-,root,root,-) +%{tde_libdir}/libindex.so.* + +%post -n trinity-libindex +/sbin/ldconfig || : + +%postun -n trinity-libindex +/sbin/ldconfig || : + +########## + +%package -n trinity-libindex-devel +Summary: Trinity indexing library [development] +Group: Development/Libraries +Requires: trinity-libindex = %{version}-%{release} + +%description -n trinity-libindex-devel +This library provides text indexing and is currently used by KMail +to implement searching through mail text. + +This is the development package which contains the headers for the libindex-trinity +library. + +%files -n trinity-libindex-devel +%defattr(-,root,root,-) +%{tde_bindir}/indexlib-config +%{tde_tdeincludedir}/index +%{tde_libdir}/libindex.la +%{tde_libdir}/libindex.so + +%post -n trinity-libindex-devel +/sbin/ldconfig || : + +%postun -n trinity-libindex-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libkcal +Summary: Trinity calendaring library +Group: Environment/Libraries +#Requires: %{name}-kresources = %{version}-%{release} + +%description -n trinity-libkcal +This library provides a C++ API for handling the vCalendar and iCalendar +formats. + +This is the runtime package for programs that use the libkcal-trinity library. + +%files -n trinity-libkcal +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcal_kabc.la +%{tde_tdelibdir}/kcal_kabc.so +%{tde_tdelibdir}/kcal_localdir.la +%{tde_tdelibdir}/kcal_localdir.so +%{tde_tdelibdir}/kcal_local.la +%{tde_tdelibdir}/kcal_local.so +%{tde_tdelibdir}/kcal_remote.la +%{tde_tdelibdir}/kcal_remote.so +%{tde_libdir}/libkcal.so.* +%{tde_libdir}/libkcal_resourceremote.so.* +%{tde_libdir}/libkholidays.so.* +%{tde_datadir}/apps/libkholidays +%{tde_datadir}/services/kresources/kcal/imap.desktop +%{tde_datadir}/services/kresources/kcal/kabc.desktop +%{tde_datadir}/services/kresources/kcal/local.desktop +%{tde_datadir}/services/kresources/kcal/localdir.desktop +%{tde_datadir}/services/kresources/kcal/remote.desktop +%{tde_datadir}/services/kresources/kcal_manager.desktop + +%post -n trinity-libkcal +/sbin/ldconfig || : + +%postun -n trinity-libkcal +/sbin/ldconfig || : + +########## + +%package -n trinity-libkcal-devel +Summary: Trinity calendaring library [development] +Group: Development/Libraries +Requires: trinity-libkcal = %{version}-%{release} +Requires: trinity-libtdepim-devel = %{version}-%{release} +Requires: trinity-libktnef-devel = %{version}-%{release} + +%description -n trinity-libkcal-devel +This library provides a C++ API for handling the vCalendar and iCalendar +formats. + +This is the development package which contains the headers for the libkcal-trinity +library. + +%files -n trinity-libkcal-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/libemailfunctions/idmapper.h +%{tde_tdeincludedir}/libkcal +%{tde_libdir}/libkcal.la +%{tde_libdir}/libkcal.so +%{tde_libdir}/libkcal_resourceremote.la +%{tde_libdir}/libkcal_resourceremote.so +%{tde_libdir}/libkholidays.la +%{tde_libdir}/libkholidays.so + +%post -n trinity-libkcal-devel +/sbin/ldconfig || : + +%postun -n trinity-libkcal-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libtdepim +Summary: Trinity PIM library +Group: Environment/Libraries +Requires: trinity-libkcal = %{version}-%{release} + +Obsoletes: libtdepim < %{version}-%{release} +Provides: libtdepim = %{version}-%{release} + +%description -n trinity-libtdepim +This is the runtime package for programs that use the trinity-libtdepim library. + +%files -n trinity-libtdepim +%defattr(-,root,root,-) +%{tde_tdelibdir}/plugins/designer/[kt]depimwidgets.la +%{tde_tdelibdir}/plugins/designer/[kt]depimwidgets.so +%{tde_tdelibdir}/plugins/designer/kpartsdesignerplugin.la +%{tde_tdelibdir}/plugins/designer/kpartsdesignerplugin.so +%{tde_libdir}/lib[kt]depim.so.* +%{tde_datadir}/apps/[kt]depimwidgets +%{tde_datadir}/apps/lib[kt]depim +%{tde_datadir}/apps/[kt]depim +%{tde_datadir}/config.kcfg/pimemoticons.kcfg +%{tde_datadir}/icons/crystalsvg/22x22/actions/button_fewer.png +%{tde_datadir}/icons/crystalsvg/22x22/actions/button_more.png + +%post -n trinity-libtdepim +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : + +%postun -n trinity-libtdepim +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : + +########## + +%package -n trinity-libtdepim-devel +Summary: Trinity PIM library [development] +Group: Development/Libraries +Requires: trinity-libtdepim = %{version}-%{release} +Requires: trinity-tdelibs-devel >= %{version} + +Obsoletes: libtdepim-devel < %{version}-%{release} +Provides: libtdepim-devel = %{version}-%{release} + +%description -n trinity-libtdepim-devel +This is the development package which contains the headers for the libtdepim-trinity +library. + +%files -n trinity-libtdepim-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/[kt]depimmacros.h +%{tde_libdir}/lib[kt]depim.la +%{tde_libdir}/lib[kt]depim.so + +%post -n trinity-libtdepim-devel +/sbin/ldconfig || : + +%postun -n trinity-libtdepim-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libkgantt +Summary: Trinity gantt charting library +Group: Environment/Libraries + +%description -n trinity-libkgantt +This is the runtime package for programs that use the libkgantt-trinity library. + +%files -n trinity-libkgantt +%defattr(-,root,root,-) +%{tde_libdir}/libkgantt.so.* +%{tde_datadir}/apps/kgantt + +%post -n trinity-libkgantt +/sbin/ldconfig || : + +%postun -n trinity-libkgantt +/sbin/ldconfig || : + +########## + +%package -n trinity-libkgantt-devel +Summary: Trinity gantt charting library [development] +Group: Development/Libraries +Requires: trinity-libkgantt = %{version}-%{release} +Requires: trinity-libtdepim-devel = %{version}-%{release} + +%description -n trinity-libkgantt-devel +This is the development package which contains the headers for the libkgantt-trinity +library. + +%files -n trinity-libkgantt-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/kgantt +%{tde_libdir}/libkgantt.la +%{tde_libdir}/libkgantt.so + +%post -n trinity-libkgantt-devel +/sbin/ldconfig || : + +%postun -n trinity-libkgantt-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libkleopatra +Summary: TDE GnuPG interface libraries +Group: Environment/Libraries +Requires: gnupg + +%description -n trinity-libkleopatra +This library is used by several TDE applications to interface to the +GnuPG program. + +This is the runtime package for programs that use the libkleopatra-trinity library. + +%files -n trinity-libkleopatra +%defattr(-,root,root,-) +%{tde_datadir}/config/libkleopatrarc +%{tde_libdir}/libgpgme++.so.* +%{tde_libdir}/libkleopatra.so.* +%{tde_libdir}/libkpgp.so.* +%{tde_libdir}/libqgpgme.so.* +%{tde_datadir}/apps/kconf_update/kpgp-3.1-upgrade-address-data.pl +%{tde_datadir}/apps/kconf_update/kpgp.upd +%{tde_datadir}/apps/libkleopatra/ +%{tde_datadir}/icons/crystalsvg/*/apps/gpg.png +%{tde_datadir}/icons/crystalsvg/*/apps/gpgsm.png + +%post -n trinity-libkleopatra +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : + +%postun -n trinity-libkleopatra +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +/sbin/ldconfig || : + +########## + +%package -n trinity-libkleopatra-devel +Summary: Trinity GnuPG interface libraries [development] +Group: Development/Libraries +Requires: trinity-libkleopatra = %{version}-%{release} +Requires: trinity-libtdepim-devel = %{version}-%{release} + +%description -n trinity-libkleopatra-devel +This library is used by several TDE applications to interface to the +GnuPG program. + +This is the development package which contains the headers for the +libkleopatra-trinity library. + +%files -n trinity-libkleopatra-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/gpgme++/ +%{tde_tdeincludedir}/kleo/ +%{tde_tdeincludedir}/qgpgme/ +%{tde_libdir}/libgpgme++.la +%{tde_libdir}/libgpgme++.so +%{tde_libdir}/libkleopatra.la +%{tde_libdir}/libkleopatra.so +%{tde_libdir}/libkpgp.la +%{tde_libdir}/libkpgp.so +%{tde_libdir}/libqgpgme.la +%{tde_libdir}/libqgpgme.so + +%post -n trinity-libkleopatra-devel +/sbin/ldconfig || : + +%postun -n trinity-libkleopatra-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libkmime +Summary: Trinity MIME interface library +Group: Environment/Libraries +#Conflicts: trinity-libmimelib + +%description -n trinity-libkmime +This library provides a C++ interface to MIME messages, parsing them into +an object tree. + +%files -n trinity-libkmime +%defattr(-,root,root,-) +%{tde_libdir}/libkmime.so.* + +%post -n trinity-libkmime +/sbin/ldconfig || : + +%postun -n trinity-libkmime +/sbin/ldconfig || : + +########## + +%package -n trinity-libkmime-devel +Summary: Development files for libkmime +Group: Development/Libraries +Requires: trinity-libkmime = %{version}-%{release} + +%description -n trinity-libkmime-devel +%{summary} + +%files -n trinity-libkmime-devel +%defattr(-,root,root,-) +%{tde_libdir}/libkmime.la +%{tde_libdir}/libkmime.so + +%post -n trinity-libkmime-devel +/sbin/ldconfig || : + +%postun -n trinity-libkmime-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libkpimexchange +Summary: Trinity PIM Exchange library +Group: Environment/Libraries + +%description -n trinity-libkpimexchange +This is the runtime package for programs that use the libkpimexchange-trinity +library. + +%files -n trinity-libkpimexchange +%defattr(-,root,root,-) +%{tde_tdelibdir}/resourcecalendarexchange.la +%{tde_tdelibdir}/resourcecalendarexchange.so +%{tde_libdir}/libkpimexchange.so.* + +%post -n trinity-libkpimexchange +/sbin/ldconfig || : + +%postun -n trinity-libkpimexchange +/sbin/ldconfig || : + +########## + +%package -n trinity-libkpimexchange-devel +Summary: Trinity PIM Exchange library [development] +Group: Development/Libraries +Requires: trinity-libkpimexchange = %{version}-%{release} +Requires: trinity-libkcal-devel = %{version}-%{release} +Requires: trinity-libtdepim-devel = %{version}-%{release} + +%description -n trinity-libkpimexchange-devel +This is the development package which contains the headers for the +libkpimexchange-trinity library. + +%files -n trinity-libkpimexchange-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/[kt]depim/exchangeaccount.h +%{tde_tdeincludedir}/[kt]depim/exchangeclient.h +%{tde_libdir}/libkpimexchange.la +%{tde_libdir}/libkpimexchange.so + +%post -n trinity-libkpimexchange-devel +/sbin/ldconfig || : + +%postun -n trinity-libkpimexchange-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libkpimidentities +Summary: Trinity PIM user identity information library +Group: Environment/Libraries + +%description -n trinity-libkpimidentities +This library provides information to TDE programs about user identity, +such as email address, organization, etc. + +This is the runtime package for programs that use the libkpimidentities-trinity +library. + +%files -n trinity-libkpimidentities +%defattr(-,root,root,-) +%{tde_libdir}/libkpimidentities.so.* + +%post -n trinity-libkpimidentities +/sbin/ldconfig || : + +%postun -n trinity-libkpimidentities +/sbin/ldconfig || : + +########## + +%package -n trinity-libkpimidentities-devel +Summary: Development files for libkpimidentities +Group: Development/Libraries +Requires: trinity-libkpimidentities = %{version}-%{release} + +%description -n trinity-libkpimidentities-devel +%{summary} + +%files -n trinity-libkpimidentities-devel +%defattr(-,root,root,-) +%{tde_libdir}/libkpimidentities.la +%{tde_libdir}/libkpimidentities.so + +%post -n trinity-libkpimidentities-devel +/sbin/ldconfig || : + +%postun -n trinity-libkpimidentities-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libksieve +Summary: Trinity mail/news message filtering library +Group: Environment/Libraries + +%description -n trinity-libksieve +This is the runtime package for programs that use the libksieve-trinity library. + +%files -n trinity-libksieve +%defattr(-,root,root,-) +%{tde_libdir}/libksieve.so.* + +%post -n trinity-libksieve +/sbin/ldconfig || : + +%postun -n trinity-libksieve +/sbin/ldconfig || : + +########## + +%package -n trinity-libksieve-devel +Summary: Trinity mail/news message filtering library [development] +Group: Development/Libraries +Requires: trinity-libksieve = %{version}-%{release} +Requires: trinity-libtdepim-devel = %{version}-%{release} + +%description -n trinity-libksieve-devel +This is the development package which contains the headers for the libksieve-trinity +library. + +%files -n trinity-libksieve-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/ksieve +%{tde_libdir}/libksieve.la +%{tde_libdir}/libksieve.so + +%post -n trinity-libksieve-devel +/sbin/ldconfig || : + +%postun -n trinity-libksieve-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libktnef +Summary: Library for handling KTNEF email attachments +Group: Environment/Libraries + +%description -n trinity-libktnef +This library handles mail attachments using the TNEF format. These +attachments are usually found in mails coming from Microsoft mail +servers and embed the mail properties as well as the actual +attachments. +. +This is the runtime library for packages using the ktnef-trinity library. + +%files -n trinity-libktnef +%defattr(-,root,root,-) +%{tde_libdir}/libktnef.so.* + +%post -n trinity-libktnef +/sbin/ldconfig || : + +%postun -n trinity-libktnef +/sbin/ldconfig || : + +########## + +%package -n trinity-libktnef-devel +Summary: KTNEF handler library [development] +Group: Development/Libraries +Requires: trinity-libktnef = %{version}-%{release} +Requires: trinity-libtdepim-devel = %{version}-%{release} + +%description -n trinity-libktnef-devel +This library handles mail attachments using the TNEF format. These +attachments are usually found in mails coming from Microsoft mail +servers and embed the mail properties as well as the actual +attachments. + +This is the development package which contains the headers for the +ktnef-trinity library. + +%files -n trinity-libktnef-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/ktnef +%{tde_libdir}/libktnef.la +%{tde_libdir}/libktnef.so + +%post -n trinity-libktnef-devel +/sbin/ldconfig || : + +%postun -n trinity-libktnef-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-libmimelib +Summary: Trinity mime library +Group: Environment/Libraries + +%description -n trinity-libmimelib +This library is used by several Trinity applications to handle mime types. + +This is the runtime package for programs that use the libmimelib-trinity library. + +%files -n trinity-libmimelib +%defattr(-,root,root,-) +%{tde_libdir}/libmimelib.so.* + +%post -n trinity-libmimelib +/sbin/ldconfig || : + +%postun -n trinity-libmimelib +/sbin/ldconfig || : + +########## + +%package -n trinity-libmimelib-devel +Summary: Trinity mime library [development] +Group: Development/Libraries +Requires: trinity-libmimelib = %{version}-%{release} + +%description -n trinity-libmimelib-devel +This library is used by several TDE applications to handle mime types. + +This is the development package which contains the headers for the +libmimelib library. + +%files -n trinity-libmimelib-devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/mimelib/ +%{tde_libdir}/libmimelib.la +%{tde_libdir}/libmimelib.so + +%post -n trinity-libmimelib-devel +/sbin/ldconfig || : + +%postun -n trinity-libmimelib-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-kmobile +Summary: Synchronize and manage mobile phone with your PC. +Group: Applications/Communications + +%description -n trinity-kmobile +KMobileTools is a nice TDE-based application that allows to synchronize +and manage mobile phones with your PC. It handles full SMS control, +dialing calls, phonebook, and phone status monitoring. + +%files -n trinity-kmobile +%defattr(-,root,root,-) +%{tde_bindir}/kmobile +%{tde_datadir}/icons/default.kde/32x32/devices/mobile_camera.png +%{tde_datadir}/icons/default.kde/32x32/devices/mobile_musicplayer.png +%{tde_datadir}/icons/default.kde/32x32/devices/mobile_organizer.png +%{tde_datadir}/icons/default.kde/32x32/devices/mobile_phone.png +%{tde_datadir}/icons/default.kde/32x32/devices/mobile_unknown.png +%{tde_datadir}/icons/hicolor/*/apps/kmobile.png +%{tde_datadir}/services/libkmobile_digicam.desktop +%{tde_datadir}/services/libkmobile_gammu.desktop +%{tde_datadir}/services/libkmobile_skeleton.desktop +%{tde_datadir}/servicetypes/libkmobile.desktop +%{tde_datadir}/apps/kmobile/kmobileui.rc +%{tde_tdeappdir}/kmobile.desktop +%{tde_tdelibdir}/libkmobile_skeleton.la +%{tde_tdelibdir}/libkmobile_skeleton.so +%{tde_libdir}/libkmobileclient.la +%{tde_libdir}/libkmobileclient.so +%{tde_libdir}/libkmobiledevice.la +%{tde_libdir}/libkmobiledevice.so + +%post -n trinity-kmobile +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kmobile +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} +%patch14 -p1 -b .ldflags + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" +export LD_LIBRARY_PATH="%{tde_libdir}" + +# Specific path for RHEL4 +if [ -d "/usr/X11R6" ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DWITH_ARTS=ON \ + -DWITH_SASL=ON \ + -DWITH_NEWDISTRLISTS=ON \ + %{?with_gnokii:-DWITH_GNOKII=ON} \ + -DWITH_EXCHANGE=ON \ + -DWITH_EGROUPWARE=ON \ + -DWITH_KOLAB=ON \ + -DWITH_SLOX=ON \ + -DWITH_GROUPWISE=ON \ + -DWITH_FEATUREPLAN=ON \ + -DWITH_GROUPDAV=ON \ + -DWITH_BIRTHDAYS=ON \ + -DWITH_NEWEXCHANGE=ON \ + -DWITH_SCALIX=ON \ + -DWITH_CALDAV=ON \ + -DWITH_CARDDAV=ON \ + -DWITH_INDEXLIB=ON \ + %{?with_xscreensaver:-DWITH_XSCREENSAVER=ON} \ + %{?with_kitchensync:-DBUILD_KITCHENSYNC=ON} \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} || %__make + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{?buildroot} -C build + + +%clean +%__rm -rf %{?buildroot} + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 +- Initial release for TDE 3.5.13.2 diff --git a/redhat/tdepim/trinity-kdepim-3.5.12.spec b/redhat/tdepim/trinity-kdepim-3.5.12.spec deleted file mode 100644 index a8134cd94..000000000 --- a/redhat/tdepim/trinity-kdepim-3.5.12.spec +++ /dev/null @@ -1,153 +0,0 @@ -# Default version for this component -%if "%{?version}" == "" -%define version 3.5.12 -%define release 6 -%endif - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_libdir %{_libdir}/kde3 - - -Name: trinity-kdepim -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} -License: GPL -Group: Applications/Productivity - -Vendor: Trinity Project -Packager: Francois Andriot -Summary: PIM (Personal Information Manager) applications - -Prefix: %{_prefix} - -Source0: kdepim-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -# TDE official patches from SVN, unmodified -# Attempt to fix a kdepim FTBFS based on a missing stdc header #include -Patch0: http://www.trinitydesktop.org/patches/r1228885.diff - -BuildRequires: tqtinterface -BuildRequires: trinity-arts -BuildRequires: trinity-kdelibs -BuildRequires: gpgme-devel -BuildRequires: libgpg-error-devel -BuildRequires: flex -BuildRequires: libical-devel -BuildRequires: gnokii-devel - -%if 0%{?fedora} >= 15 -BuildRequires: flex-static -%endif - -Requires: trinity-kdelibs - -%description -PIM (Personal Information Manager) applications. - - -%package devel -Requires: %{name} -Summary: %{name} - Development files -Group: Development/Libraries -%description devel -Development files for %{name}. - - -%prep -%setup -q -n kdepim -%patch0 -p1 - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -%configure \ - --disable-rpath \ - --enable-new-ldflags \ - --disable-dependency-tracking \ - --disable-debug --disable-warnings --enable-final \ - --with-extra-includes=%{_includedir}/tqt - -# Do NOT use %{?_smp_mflags} for this package, or it will fail to build ! -%__make - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{?buildroot} - -%clean -%__rm -rf %{?buildroot} - -%files -%defattr(-,root,root,-) -%{_bindir}/* -%{_datadir}/applications/kde/*.desktop -%{_datadir}/applnk/.hidden/* -%{_datadir}/applnk/*/* -%{_datadir}/apps/* -%{_datadir}/autostart/*.desktop -%{_datadir}/config/* -%{_datadir}/icons/* -%{_datadir}/services/* -%{_datadir}/mimelnk/application/* -%{_datadir}/config.kcfg/* -%{_libdir}/lib*.so.* -%{tde_libdir}/*.so -%{tde_libdir}/*.so.* -%{tde_libdir}/plugins/designer/*.so -%{_datadir}/servicetypes/* -%{_libdir}/kconf_update_bin/* -%{_libdir}/libakregatorprivate.so -%{_libdir}/libkmailprivate.so -%{tde_docdir}/HTML/en/* - -%files devel -%defattr(-,root,root,-) -%{_libdir}/*.la -%{_libdir}/*.so -%{_includedir}/* -%{tde_libdir}/*.la -%{tde_libdir}/plugins/designer/*.la -%exclude %{_libdir}/libakregatorprivate.so -%exclude %{_libdir}/libkmailprivate.so - -%changelog -* Sun Sep 18 2011 Francois Andriot - 3.5.12-6 -- Add RHEL5 support - -* Mon Sep 05 2011 Francois Andriot - 3.5.12-5 -- Import to GIT - -* Tue Aug 23 2011 Francois Andriot - 3.5.12-4 -- Correct (again) macro to install under "/opt", if desired -- Add missing BuildRequires -- Add 'patch0' to allow compilation with GCC >= 4.5 - -* Mon Aug 22 2011 Francois Andriot - 3.5.12-3 -- Correct macro to install under "/opt", if desired - -* Sun Dec 19 2010 Francois Andriot - 3.5.12-2 -- Rebuilt - -* Fri Dec 17 2010 Francois Andriot - 3.5.12-1 -- Add macro _kde3_prefix to define custom installation prefix (ex: /opt/kde3) -- Add '--with-extra-includes=%{_includedir}/tqt' - -* Wed Dec 15 2010 Francois Andriot - 3.5.12-0 -- Initial version - diff --git a/redhat/tdepim/trinity-kdepim-3.5.13.1.spec b/redhat/tdepim/trinity-kdepim-3.5.13.1.spec deleted file mode 100644 index e95b6798e..000000000 --- a/redhat/tdepim/trinity-kdepim-3.5.13.1.spec +++ /dev/null @@ -1,2166 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -BuildRequires: cmake >= 2.8 -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -# KDEPIM specific features -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define with_gnokii 1 -BuildRequires: gnokii-devel -%endif - -# TDEPIM optional features -#define with_kitchensync 0 - - -Name: trinity-tdepim -Version: 3.5.13.1 -Release: 2%{?dist}%{?_variant} -License: GPL -Group: Applications/Productivity - -Vendor: Trinity Project -Packager: Francois Andriot -Summary: Personal Information Management apps from the official Trinity release - -Prefix: %{tde_prefix} - -Source0: kdepim-3.5.13.1.tar.gz - -# [tdepim] Fix include directory location for installer .h files -Patch13: kdepim-3.5.13-fix_include_directory.patch -# [tdepim] Missing LDFLAGS cause FTBFS on MGA2/MDV2011 -Patch14: kdepim-3.5.13-missing_ldflags.patch - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-arts-devel >= %{version} -BuildRequires: trinity-kdelibs-devel >= %{version} -BuildRequires: trinity-libcaldav-devel -BuildRequires: trinity-libcarddav-devel - -BuildRequires: gpgme-devel -BuildRequires: libgpg-error-devel -BuildRequires: flex -BuildRequires: libical-devel -BuildRequires: boost-devel -BuildRequires: pcre-devel -BuildRequires: glib2-devel -BuildRequires: gcc-c++ make -BuildRequires: libidn-devel - -%if 0%{?fedora} >= 15 -BuildRequires: flex-static -%endif -%if 0%{?rhel} > 0 && 0%{?rhel} <= 5 -BuildRequires: trinity-libcurl-devel -%else -BuildRequires: curl-devel -%endif - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel -BuildRequires: %{_lib}sasl2-devel -%else -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} -BuildRequires: libXcomposite-devel -%endif -BuildRequires: cyrus-sasl-devel -%endif - -Requires: trinity-libtdepim = %{version}-%{release} -Requires: %{name}-kfile-plugins = %{version}-%{release} -Requires: %{name}-kio-plugins = %{version}-%{release} -Requires: %{name}-kresources = %{version}-%{release} -Requires: %{name}-wizards = %{version}-%{release} -Requires: trinity-akregator = %{version}-%{release} -Requires: trinity-kaddressbook = %{version}-%{release} -Requires: trinity-kalarm = %{version}-%{release} -Requires: trinity-kandy = %{version}-%{release} -Requires: trinity-karm = %{version}-%{release} -Requires: trinity-kleopatra = %{version}-%{release} -Requires: trinity-kmail = %{version}-%{release} -Requires: trinity-kmailcvt = %{version}-%{release} -Requires: trinity-kmobile = %{version}-%{release} -Requires: trinity-knode = %{version}-%{release} -Requires: trinity-knotes = %{version}-%{release} -Requires: trinity-kode = %{version}-%{release} -Requires: trinity-konsolekalendar = %{version}-%{release} -Requires: trinity-kontact = %{version}-%{release} -Requires: trinity-korganizer = %{version}-%{release} -Requires: trinity-korn = %{version}-%{release} -Requires: trinity-ktnef = %{version}-%{release} -Requires: trinity-libindex = %{version}-%{release} -Requires: trinity-libkcal = %{version}-%{release} -Requires: trinity-libkgantt = %{version}-%{release} -Requires: trinity-libkleopatra = %{version}-%{release} -Requires: trinity-libkmime = %{version}-%{release} -Requires: trinity-libkpimexchange = %{version}-%{release} -Requires: trinity-libkpimidentities = %{version}-%{release} -Requires: trinity-libksieve = %{version}-%{release} -Requires: trinity-libktnef = %{version}-%{release} -Requires: trinity-libmimelib = %{version}-%{release} - -Obsoletes: trinity-kdepim < %{version}-%{release} -Provides: trinity-kdepim = %{version}-%{release} -Obsoletes: tdepim < %{version}-%{release} -Provides: tdepim = %{version}-%{release} - -%description -This metapackage includes a collection of Personal Information Management -(PIM) applications provided with the official release of Trinity. - -%files - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries - -Obsoletes: tdepim-cmake < %{version}-%{release} - -Obsoletes: trinity-kdepim-devel < %{version}-%{release} -Provides: trinity-kdepim-devel = %{version}-%{release} -Obsoletes: tdepim-devel < %{version}-%{release} -Provides: tdepim-devel = %{version}-%{release} - -Requires: %{name} = %{version}-%{release} -Requires: trinity-akregator-devel = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} -Requires: trinity-kaddressbook-devel = %{version}-%{release} -Requires: trinity-karm-devel = %{version}-%{release} -Requires: trinity-kmail-devel = %{version}-%{release} -Requires: trinity-knode-devel = %{version}-%{release} -Requires: trinity-knotes-devel = %{version}-%{release} -Requires: trinity-kode-devel = %{version}-%{release} -Requires: trinity-kontact-devel = %{version}-%{release} -Requires: trinity-korganizer-devel = %{version}-%{release} -Requires: trinity-libindex-devel = %{version}-%{release} -Requires: trinity-libkcal-devel = %{version}-%{release} -Requires: trinity-libkgantt-devel = %{version}-%{release} -Requires: trinity-libkleopatra-devel = %{version}-%{release} -Requires: trinity-libkmime-devel = %{version}-%{release} -Requires: trinity-libkpimexchange-devel = %{version}-%{release} -Requires: trinity-libkpimidentities-devel = %{version}-%{release} -Requires: trinity-libksieve-devel = %{version}-%{release} -Requires: trinity-libktnef-devel = %{version}-%{release} -Requires: trinity-libmimelib-devel = %{version}-%{release} -Requires: %{name}-kresources-devel = %{version}-%{release} - -%description devel -This metapackage includes all development files for TDE PIM. -It also contains the CMAKE macros. - -%files devel -%{tde_datadir}/cmake/* - -########## - -%package -n trinity-akregator -Summary: RSS feed aggregator for TDE -Group: Applications/Internet -Requires: trinity-libtdepim = %{version}-%{release} -Requires: trinity-libkcal = %{version}-%{release} - -%description -n trinity-akregator -aKregator is a fast, lightweight, and intuitive feed reader program -for TDE. It allows you to quickly browse through hundreds of -thousands of internet feeds in a quick, efficient, and familiar way. - -%files -n trinity-akregator -%{tde_bindir}/akregator -%{tde_tdelibdir}/libakregatorpart.la -%{tde_tdelibdir}/libakregatorpart.so -%{tde_tdelibdir}/libakregator_mk4storage_plugin.la -%{tde_tdelibdir}/libakregator_mk4storage_plugin.so -%{tde_libdir}/libakregatorprivate.so.* -%{tde_tdeappdir}/akregator.desktop -%{tde_datadir}/apps/akregator -%{tde_datadir}/config.kcfg/akregator.kcfg -%{tde_datadir}/config.kcfg/mk4config.kcfg -%{tde_datadir}/icons/crystalsvg/*/actions/rss_tag.png -%{tde_datadir}/icons/crystalsvg/16x16/apps/akregator_empty.png -%{tde_datadir}/icons/hicolor/*/apps/akregator.png -%{tde_datadir}/icons/hicolor/scalable/apps/akregator.svgz -%{tde_datadir}/services/akregator_mk4storage_plugin.desktop -%{tde_datadir}/services/akregator_part.desktop -%{tde_datadir}/services/feed.protocol -%{tde_datadir}/services/kontact/akregatorplugin*.desktop -%{tde_datadir}/servicetypes/akregator_plugin.desktop -%{tde_tdedocdir}/HTML/en/akregator/ - -%post -n trinity-akregator -/sbin/ldconfig || : -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-akregator -/sbin/ldconfig || : -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-akregator-devel -Summary: Development files for trinity-akregator -Group: Development/Libraries -Requires: trinity-akregator = %{version}-%{release} - -%description -n trinity-akregator-devel -%{summary} - -%files -n trinity-akregator-devel -%{tde_tdeincludedir}/akregator/ -%{tde_libdir}/libakregatorprivate.la -%{tde_libdir}/libakregatorprivate.so - -%post -n trinity-akregator-devel -/sbin/ldconfig || : - -%postun -n trinity-akregator-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kaddressbook -Summary: TDE addressbook application -Group: Applications/Communications -Requires: trinity-kdebase-pim-ioslaves -Requires: %{name}-kresources = %{version}-%{release} - -%description -n trinity-kaddressbook -KAddressBook is the main address book application for TDE; it enables you -to manage your contacts efficiently and comfortably. It can load and save -your contacts to many different locations, including the local file system, -LDAP servers, and SQL databases. - -%files -n trinity-kaddressbook -%{tde_bindir}/kabc2mutt -%{tde_bindir}/kaddressbook -%{tde_bindir}/kabcdistlistupdater -%{tde_tdelibdir}/kcm_kabconfig.la -%{tde_tdelibdir}/kcm_kabconfig.so -%{tde_tdelibdir}/kcm_kabcustomfields.la -%{tde_tdelibdir}/kcm_kabcustomfields.so -%{tde_tdelibdir}/kcm_kabldapconfig.la -%{tde_tdelibdir}/kcm_kabldapconfig.so -%{tde_tdelibdir}/ldifvcardthumbnail.la -%{tde_tdelibdir}/ldifvcardthumbnail.so -%{tde_tdelibdir}/libkaddrbk_*.la -%{tde_tdelibdir}/libkaddrbk_*.so -%{tde_tdelibdir}/libkaddressbookpart.la -%{tde_tdelibdir}/libkaddressbookpart.so -%{tde_libdir}/libkabinterfaces.so.* -%{tde_libdir}/libkaddressbook.so.* -%{tde_tdeappdir}/kaddressbook.desktop -%{tde_datadir}/apps/kaddressbook -%{tde_datadir}/icons/hicolor/*/apps/kaddressbook.png -%{tde_datadir}/services/kabconfig.desktop -%{tde_datadir}/services/kabcustomfields.desktop -%{tde_datadir}/services/kabldapconfig.desktop -%{tde_datadir}/services/kaddressbook -%{tde_datadir}/services/kontact/kaddressbookplugin.desktop -%{tde_datadir}/services/kresources/kabc/imap.desktop -%{tde_datadir}/services/ldifvcardthumbnail.desktop -%{tde_datadir}/servicetypes/dcopaddressbook.desktop -%{tde_datadir}/servicetypes/kaddressbook_contacteditorwidget.desktop -%{tde_datadir}/servicetypes/kaddressbookimprotocol.desktop -%{tde_datadir}/servicetypes/kaddressbook_extension.desktop -%{tde_datadir}/servicetypes/kaddressbook_view.desktop -%{tde_datadir}/servicetypes/kaddressbook_xxport.desktop -%{tde_tdedocdir}/HTML/en/kaddressbook/ -%{tde_datadir}/autostart/kabcdistlistupdater.desktop -%{tde_tdeincludedir}/kaddressbook -%{tde_tdeincludedir}/kabc - -%post -n trinity-kaddressbook -/sbin/ldconfig || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kaddressbook -/sbin/ldconfig || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kaddressbook-devel -Summary: Development files for trinity-kaddressbook -Group: Development/Libraries -Requires: trinity-kaddressbook = %{version}-%{release} - -%description -n trinity-kaddressbook-devel -%{summary} - -%files -n trinity-kaddressbook-devel -%{tde_libdir}/libkabinterfaces.la -%{tde_libdir}/libkabinterfaces.so -%{tde_libdir}/libkaddressbook.la -%{tde_libdir}/libkaddressbook.so - -%post -n trinity-kaddressbook-devel -/sbin/ldconfig || : - -%postun -n trinity-kaddressbook-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kalarm -Summary: Trinity alarm message, command and email scheduler -Group: Applications/Communications -Requires: trinity-libkpimidentities = %{version}-%{release} - -%description -n trinity-kalarm -KAlarm provides a graphical interface to schedule personal timed events - -pop-up alarm messages, command execution and sending emails. There is a -range of options for configuring recurring events. - -A pop-up alarm can show either a simple text message, or the contents of a -text or image file, It can optionally be spoken, or play a sound file. You -can choose its appearance, and set reminders. Among KAlarm's other -facilities, you can set up templates to allow KAlarm to be used as a 'tea -timer'. - -As an alternative to using the graphical interface, alarms can be scheduled -from the command line or via DCOP calls from other programs. KAlarm is -TDE-based, but will also run on other desktops. - -%files -n trinity-kalarm -%{tde_bindir}/kalarm -%{tde_bindir}/kalarmd -%{tde_tdeappdir}/kalarm.desktop -%{tde_datadir}/applnk/.hidden/kalarmd.desktop -%{tde_datadir}/applnk/Applications/kalarm.desktop -%{tde_datadir}/apps/kalarm -%{tde_datadir}/autostart/kalarm.tray.desktop -%{tde_datadir}/autostart/kalarmd.autostart.desktop -%{tde_datadir}/icons/crystalsvg/*/actions/kalarm.png -%{tde_datadir}/icons/hicolor/*/apps/kalarm.png -%{tde_tdedocdir}/HTML/en/kalarm/ - -%post -n trinity-kalarm -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kalarm -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kandy -Summary: Trinity mobile phone utility -Group: Applications/Communications - -%description -n trinity-kandy -At the moment Kandy is more or less a terminal program with some special -features to store commands and their parameters, but is also has a simple GUI -to access the phone book of a mobile phone and it is able to save this phone -book to the TDE address book. - -Kandy is aimed at mobile phones with integrated (GSM) modems. - -%files -n trinity-kandy -%{tde_bindir}/kandy -%{tde_bindir}/kandy_client -%{tde_tdeappdir}/kandy.desktop -%{tde_datadir}/applnk/Utilities/kandy.desktop -%{tde_datadir}/apps/kandy -%{tde_datadir}/icons/crystalsvg/*/apps/kandy.png -%{tde_datadir}/config.kcfg/kandy.kcfg -%{tde_tdedocdir}/HTML/en/kandy/ - -%post -n trinity-kandy -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kandy -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-karm -Summary: Trinity time tracker tool -Group: Applications/Productivity - -%description -n trinity-karm -KArm is a time tracker for busy people who need to keep track of the amount of -time they spend on various tasks. - -%files -n trinity-karm -%{tde_bindir}/karm -%{tde_libdir}/libkarm.so.* -%{tde_tdelibdir}/libkarmpart.la -%{tde_tdelibdir}/libkarmpart.so -%{tde_tdeappdir}/karm.desktop -%{tde_datadir}/applnk/Utilities/karm.desktop -%{tde_datadir}/apps/karm -%{tde_datadir}/apps/karmpart -%{tde_datadir}/icons/hicolor/*/apps/karm.png -%{tde_datadir}/services/karm_part.desktop -%{tde_datadir}/services/kontact/karmplugin.desktop -%{tde_tdedocdir}/HTML/en/karm/ - -%post -n trinity-karm -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-karm -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-karm-devel -Summary: Development files for karm -Group: Development/Libraries - -%description -n trinity-karm-devel -%{summary} - -%files -n trinity-karm-devel -%{tde_libdir}/libkarm.so -%{tde_libdir}/libkarm.la - -%post -n trinity-karm-devel -/sbin/ldconfig || : - -%postun -n trinity-karm-devel -/sbin/ldconfig || : - -########## - -%package kfile-plugins -Summary: TDE File dialog plugins for palm and vcf files -Group: Environment/Libraries - -Obsoletes: tdepim-kfile-plugins < %{version}-%{release} - -%description kfile-plugins -File dialog plugins for palm and vcf files. - -%files kfile-plugins -%{tde_tdelibdir}/kfile_ics.la -%{tde_tdelibdir}/kfile_ics.so -%{tde_tdelibdir}/kfile_vcf.la -%{tde_tdelibdir}/kfile_vcf.so -%{tde_datadir}/services/kfile_ics.desktop -%{tde_datadir}/services/kfile_vcf.desktop - -########## - -%package kio-plugins -Summary: Trinity pim I/O Slaves -Group: Environment/Libraries - -Obsoletes: tdepim-kio-plugins < %{version}-%{release} - -%description kio-plugins -This package includes the pim kioslaves. This includes imap4, sieve, -and mbox. - -%files kio-plugins -%{tde_tdelibdir}/kio_groupwise.la -%{tde_tdelibdir}/kio_groupwise.so -%{tde_tdelibdir}/kio_imap4.la -%{tde_tdelibdir}/kio_imap4.so -%{tde_tdelibdir}/kio_mbox.la -%{tde_tdelibdir}/kio_mbox.so -%{tde_tdelibdir}/kio_scalix.la -%{tde_tdelibdir}/kio_scalix.so -%{tde_tdelibdir}/kio_sieve.la -%{tde_tdelibdir}/kio_sieve.so -%{tde_datadir}/services/groupwise.protocol -%{tde_datadir}/services/groupwises.protocol -%{tde_datadir}/services/imap4.protocol -%{tde_datadir}/services/imaps.protocol -%{tde_datadir}/services/mbox.protocol -%{tde_datadir}/services/scalix.protocol -%{tde_datadir}/services/scalixs.protocol -%{tde_datadir}/services/sieve.protocol - -########## - -%package kresources -Summary: Trinity pim resource plugins -Group: Environment/Libraries -#Requires: trinity-kaddressbook = %{version}-%{release} -#Requires: trinity-korganizer = %{version}-%{release} -#Requires: trinity-knotes = %{version}-%{release} -Requires: libcaldav -Requires: libcarddav - -Obsoletes: tdepim-kresources < %{version}-%{release} - -%description kresources -This package includes several plugins needed to interface with groupware -servers. It also includes plugins for features such as blogging and -tracking feature plans. - -%files kresources -%{tde_tdelibdir}/kcal_caldav.la -%{tde_tdelibdir}/kcal_caldav.so -%{tde_tdelibdir}/kcal_groupdav.la -%{tde_tdelibdir}/kcal_groupdav.so -%{tde_tdelibdir}/kcal_groupwise.la -%{tde_tdelibdir}/kcal_groupwise.so -%{tde_tdelibdir}/kcal_kolab.la -%{tde_tdelibdir}/kcal_kolab.so -%{tde_tdelibdir}/kcal_scalix.la -%{tde_tdelibdir}/kcal_scalix.so -%{tde_tdelibdir}/kcal_newexchange.la -%{tde_tdelibdir}/kcal_newexchange.so -%{tde_tdelibdir}/kcal_resourcefeatureplan.la -%{tde_tdelibdir}/kcal_resourcefeatureplan.so -%{tde_tdelibdir}/kcal_slox.la -%{tde_tdelibdir}/kcal_slox.so -%{tde_tdelibdir}/kcal_xmlrpc.la -%{tde_tdelibdir}/kcal_xmlrpc.so -%{tde_tdelibdir}/knotes_kolab.la -%{tde_tdelibdir}/knotes_kolab.so -%{tde_tdelibdir}/knotes_scalix.la -%{tde_tdelibdir}/knotes_scalix.so -%{tde_tdelibdir}/knotes_xmlrpc.la -%{tde_tdelibdir}/knotes_xmlrpc.so -%{tde_libdir}/libkabckolab.so.* -%{tde_libdir}/libkabcscalix.so.* -%{tde_libdir}/libkabc_groupdav.so.* -%{tde_libdir}/libkabc_groupwise.so.* -%{tde_libdir}/libkabc_newexchange.so.* -%{tde_libdir}/libkabc_slox.so.* -%{tde_libdir}/libkabc_xmlrpc.so.* -%{tde_libdir}/libkcalkolab.so.* -%{tde_libdir}/libkcalscalix.so.* -%{tde_libdir}/libkcal_caldav.so.* -%{tde_libdir}/libkabc_carddav.so.* -%{tde_libdir}/libkcal_groupdav.so.* -%{tde_libdir}/libkcal_groupwise.so.* -%{tde_libdir}/libkcal_newexchange.so.* -%{tde_libdir}/libkcal_resourcefeatureplan.so.* -%{tde_libdir}/libkcal_slox.so.* -%{tde_libdir}/libkcal_xmlrpc.so.* -%{tde_libdir}/libkgroupwarebase.so.* -%{tde_libdir}/libkgroupwaredav.so.* -%{tde_libdir}/libknoteskolab.so.* -%{tde_libdir}/libknotesscalix.so.* -%{tde_libdir}/libknotes_xmlrpc.so.* -%{tde_libdir}/libkslox.so.* -%{tde_libdir}/libgwsoap.so.* -%{tde_datadir}/services/kresources/kabc/kabc_groupdav.desktop -%{tde_datadir}/services/kresources/kabc/kabc_groupwise.desktop -%{tde_datadir}/services/kresources/kabc/kabc_newexchange.desktop -%{tde_datadir}/services/kresources/kabc/kabc_opengroupware.desktop -%{tde_datadir}/services/kresources/kabc/kabc_ox.desktop -%{tde_datadir}/services/kresources/kabc/kabc_slox.desktop -%{tde_datadir}/services/kresources/kabc/kabc_xmlrpc.desktop -%{tde_datadir}/services/kresources/kabc/kolab.desktop -%{tde_datadir}/services/kresources/kabc/scalix.desktop -%{tde_datadir}/services/kresources/kcal/exchange.desktop -%{tde_datadir}/services/kresources/kcal/kcal_caldav.desktop -%{tde_datadir}/services/kresources/kabc/kabc_carddav.desktop -%{tde_datadir}/services/kresources/kcal/kcal_groupdav.desktop -%{tde_datadir}/services/kresources/kcal/kcal_groupwise.desktop -%{tde_datadir}/services/kresources/kcal/kcal_newexchange.desktop -%{tde_datadir}/services/kresources/kcal/kcal_opengroupware.desktop -%{tde_datadir}/services/kresources/kcal/kcal_ox.desktop -%{tde_datadir}/services/kresources/kcal/kcal_resourcefeatureplan.desktop -%{tde_datadir}/services/kresources/kcal/kcal_slox.desktop -%{tde_datadir}/services/kresources/kcal/kcal_xmlrpc.desktop -%{tde_datadir}/services/kresources/kcal/kolab.desktop -%{tde_datadir}/services/kresources/kcal/scalix.desktop -%{tde_datadir}/services/kresources/knotes/knotes_xmlrpc.desktop -%{tde_datadir}/services/kresources/knotes/kolabresource.desktop -%{tde_datadir}/services/kresources/knotes/scalix.desktop - -%{tde_datadir}/apps/kconf_update/upgrade-resourcetype.pl -%{tde_datadir}/apps/kconf_update/kolab-resource.upd - -%{tde_tdelibdir}/kabc_carddav.la -%{tde_tdelibdir}/kabc_carddav.so -%{tde_tdelibdir}/kabc_groupdav.la -%{tde_tdelibdir}/kabc_groupdav.so -%{tde_tdelibdir}/kabc_groupwise.la -%{tde_tdelibdir}/kabc_groupwise.so -%{tde_tdelibdir}/kabc_kolab.la -%{tde_tdelibdir}/kabc_kolab.so -%{tde_tdelibdir}/kabc_newexchange.la -%{tde_tdelibdir}/kabc_newexchange.so -%{tde_tdelibdir}/kabc_scalix.la -%{tde_tdelibdir}/kabc_scalix.so -%{tde_tdelibdir}/kabc_slox.la -%{tde_tdelibdir}/kabc_slox.so -%{tde_tdelibdir}/kabc_xmlrpc.la -%{tde_tdelibdir}/kabc_xmlrpc.so - -%post kresources -/sbin/ldconfig || : - -%postun kresources -/sbin/ldconfig || : - -########## - -%package kresources-devel -Summary: Development files for kresources -Group: Development/Libraries -Requires: %{name}-kresources = %{version}-%{release} -Requires: libcaldav -Requires: libcarddav - -Obsoletes: tdepim-kresources-devel < %{version}-%{release} - -%description kresources-devel -%{summary} - -%files kresources-devel -%{tde_libdir}/libkslox.la -%{tde_libdir}/libkslox.so -%{tde_libdir}/libkabc_groupdav.la -%{tde_libdir}/libkabc_groupdav.so -%{tde_libdir}/libkabc_groupwise.la -%{tde_libdir}/libkabc_groupwise.so -%{tde_libdir}/libgwsoap.la -%{tde_libdir}/libgwsoap.so -%{tde_libdir}/libkabc_carddav.la -%{tde_libdir}/libkabc_carddav.so -%{tde_libdir}/libkabc_newexchange.la -%{tde_libdir}/libkabc_newexchange.so -%{tde_libdir}/libkabc_slox.la -%{tde_libdir}/libkabc_slox.so -%{tde_libdir}/libkabc_xmlrpc.la -%{tde_libdir}/libkabc_xmlrpc.so -%{tde_libdir}/libkabckolab.la -%{tde_libdir}/libkabckolab.so -%{tde_libdir}/libkabcscalix.la -%{tde_libdir}/libkabcscalix.so -%{tde_libdir}/libkcal_caldav.la -%{tde_libdir}/libkcal_caldav.so -%{tde_libdir}/libkcal_groupdav.la -%{tde_libdir}/libkcal_groupdav.so -%{tde_libdir}/libkcal_groupwise.la -%{tde_libdir}/libkcal_groupwise.so -%{tde_libdir}/libkcal_newexchange.la -%{tde_libdir}/libkcal_newexchange.so -%{tde_libdir}/libkcal_resourcefeatureplan.la -%{tde_libdir}/libkcal_resourcefeatureplan.so -%{tde_libdir}/libkcal_slox.la -%{tde_libdir}/libkcal_slox.so -%{tde_libdir}/libkcal_xmlrpc.la -%{tde_libdir}/libkcal_xmlrpc.so -%{tde_libdir}/libkcalkolab.la -%{tde_libdir}/libkcalkolab.so -%{tde_libdir}/libkcalscalix.la -%{tde_libdir}/libkcalscalix.so -%{tde_libdir}/libkgroupwarebase.la -%{tde_libdir}/libkgroupwarebase.so -%{tde_libdir}/libkgroupwaredav.la -%{tde_libdir}/libkgroupwaredav.so -%{tde_libdir}/libknotes_xmlrpc.la -%{tde_libdir}/libknotes_xmlrpc.so -%{tde_libdir}/libknoteskolab.la -%{tde_libdir}/libknoteskolab.so -%{tde_libdir}/libknotesscalix.la -%{tde_libdir}/libknotesscalix.so -%{tde_tdeincludedir}/kpimprefs.h - -%post kresources-devel -/sbin/ldconfig || : - -%postun kresources-devel -/sbin/ldconfig || : - -########## - -%package wizards -Summary: Trinity server configuration wizards -Group: Applications/Communications - -Obsoletes: tdepim-wizards < %{version}-%{release} - -%description wizards -This package contains KDE-based wizards for configuring eGroupware, -Kolab, and SUSE Linux Openexchange servers. - -%files wizards -%{tde_bindir}/egroupwarewizard -%{tde_bindir}/exchangewizard -%{tde_bindir}/groupwarewizard -%{tde_bindir}/groupwisewizard -%{tde_bindir}/kolabwizard -%{tde_bindir}/scalixadmin -%{tde_bindir}/scalixwizard -%{tde_bindir}/sloxwizard -%{tde_tdelibdir}/libegroupwarewizard.la -%{tde_tdelibdir}/libegroupwarewizard.so -%{tde_tdelibdir}/libexchangewizard.la -%{tde_tdelibdir}/libexchangewizard.so -%{tde_tdelibdir}/libgroupwisewizard.la -%{tde_tdelibdir}/libgroupwisewizard.so -%{tde_tdelibdir}/libkolabwizard.la -%{tde_tdelibdir}/libkolabwizard.so -%{tde_tdelibdir}/libscalixwizard.la -%{tde_tdelibdir}/libscalixwizard.so -%{tde_tdelibdir}/libsloxwizard.la -%{tde_tdelibdir}/libsloxwizard.so -%{tde_tdeappdir}/groupwarewizard.desktop -%{tde_datadir}/config.kcfg/egroupware.kcfg -%{tde_datadir}/config.kcfg/groupwise.kcfg -%{tde_datadir}/config.kcfg/kolab.kcfg -%{tde_datadir}/config.kcfg/scalix.kcfg -%{tde_datadir}/config.kcfg/slox.kcfg - -%post wizards -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun wizards -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%if 0%{?with_kitchensync} -%package -n trinity-kitchensync -Summary: Synchronization framework -Group: Applications/Communications -BuildRequires: opensync-devel -#Suggests: konqueror-trinity -#Conflicts: kdebluetooth-irmcsync-trinity (<< 0.99+1.0beta2-4.1), ksync-trinity - -%description -n trinity-kitchensync -This package contains a synchronization framework, still under heavy -development (?). Kitchensync uses opensync. - -%files -n trinity-kitchensync -%{tde_bindir}/kitchensync -%{tde_tdelibdir}/libkitchensyncpart.la -%{tde_tdelibdir}/libkitchensyncpart.so -%{tde_datadir}/apps/kitchensync -%{tde_libdir}/libkitchensync.so.* -%{tde_libdir}/libqopensync.so.* -%{tde_tdeappdir}/kitchensync.desktop -%{tde_datadir}/icons/hicolor/*/apps/kitchensync.png - -%post -n trinity-kitchensync -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kitchensync -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : -%endif - -########## - -%package -n trinity-kleopatra -Summary: Trinity Certificate Manager -Group: Applications/Communications -%if 0%{?suse_version} -Requires: gpg2 -Requires: pinentry -Requires: dirmngr -%endif -%if 0%{?rhel} == 4 -Requires: gnupg -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -Requires: gnupg2 -Requires: pinentry -Requires: dirmngr -%endif - -%description -n trinity-kleopatra -Kleopatra is the TDE tool for managing X.509 certificates in the gpgsm -keybox and for retrieving certificates from LDAP servers. - -%files -n trinity-kleopatra -%{tde_bindir}/kleopatra -%{tde_bindir}/kwatchgnupg -%{tde_tdelibdir}/kcm_kleopatra.la -%{tde_tdelibdir}/kcm_kleopatra.so -%{tde_tdeappdir}/kleopatra_import.desktop -%{tde_datadir}/apps/kleopatra -%{tde_datadir}/apps/kwatchgnupg -%{tde_datadir}/services/kleopatra_config_*.desktop -%{tde_tdedocdir}/HTML/en/kleopatra/ -%{tde_tdedocdir}/HTML/en/kwatchgnupg/ - -%post -n trinity-kleopatra -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kleopatra -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kmail -Summary: Trinity Email client -Group: Applications/Communications -Requires: %{name}-kio-plugins = %{version}-%{release} -%if 0%{?suse_version} -Requires: gpg2 -Requires: pinentry -%endif -%if 0%{?rhel} == 4 -Requires: gnupg -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -Requires: gnupg2 -Requires: pinentry -%endif -Requires: procmail -Requires: trinity-kaddressbook = %{version}-%{release} -Requires: trinity-kleopatra = %{version}-%{release} -Requires: trinity-kdebase-pim-ioslaves - -Provides: imap-client, mail-reader - -%description -n trinity-kmail -KMail is a fully-featured email client that fits nicely into the TDE -desktop. It has features such as support for IMAP, POP3, multiple accounts, -mail filtering and sorting, PGP/GnuPG privacy, and inline attachments. - -You need to install %{name}-kio-plugins if you want to use IMAP or -mbox files, and/or trinity-tdebase-kio-plugins if you want to use POP3. - -%files -n trinity-kmail -%{tde_datadir}/config/kmail.antispamrc -%{tde_datadir}/config/kmail.antivirusrc -%{tde_bindir}/kmail -%{tde_bindir}/kmail_*.sh -%{tde_tdelibdir}/kcm_kmail.la -%{tde_tdelibdir}/kcm_kmail.so -%{tde_tdelibdir}/libkmail_bodypartformatter_application_octetstream.la -%{tde_tdelibdir}/libkmail_bodypartformatter_application_octetstream.so -%{tde_tdelibdir}/libkmail_bodypartformatter_text_calendar.la -%{tde_tdelibdir}/libkmail_bodypartformatter_text_calendar.so -%{tde_tdelibdir}/libkmail_bodypartformatter_text_vcard.la -%{tde_tdelibdir}/libkmail_bodypartformatter_text_vcard.so -%{tde_tdelibdir}/libkmail_bodypartformatter_text_xdiff.la -%{tde_tdelibdir}/libkmail_bodypartformatter_text_xdiff.so -%{tde_tdelibdir}/libkmailpart.la -%{tde_tdelibdir}/libkmailpart.so -%{tde_tdeappdir}/KMail.desktop -%{tde_tdeappdir}/kmail_view.desktop -%{tde_datadir}/apps/kconf_update/kmail-3.1-update-new-mail-notification-settings.pl -%{tde_datadir}/apps/kconf_update/kmail-3.1-use-UOID-for-identities.pl -%{tde_datadir}/apps/kconf_update/kmail-3.1.4-dont-use-UOID-0-for-any-identity.pl -%{tde_datadir}/apps/kconf_update/kmail-3.2-misc.sh -%{tde_datadir}/apps/kconf_update/kmail-3.2-update-loop-on-goto-unread-settings.sh -%{tde_datadir}/apps/kconf_update/kmail-3.3-aegypten.pl -%{tde_datadir}/apps/kconf_update/kmail-3.3-misc.pl -%{tde_datadir}/apps/kconf_update/kmail-3.3-move-identities.pl -%{tde_datadir}/apps/kconf_update/kmail-3.3-split-sign-encr-keys.sh -%{tde_datadir}/apps/kconf_update/kmail-3.3-use-ID-for-accounts.pl -%{tde_datadir}/apps/kconf_update/kmail-3.3b1-misc.pl -%{tde_datadir}/apps/kconf_update/kmail-3.4-misc.pl -%{tde_datadir}/apps/kconf_update/kmail-3.4.1-update-status-filters.pl -%{tde_datadir}/apps/kconf_update/kmail-3.5-trigger-flag-migration.pl -%{tde_datadir}/apps/kconf_update/kmail-3.5-filter-icons.pl -%{tde_datadir}/apps/kconf_update/kmail-pgpidentity.pl -%{tde_datadir}/apps/kconf_update/kmail-upd-identities.pl -%{tde_datadir}/apps/kconf_update/kmail.upd -%{tde_datadir}/apps/kconf_update/upgrade-signature.pl -%{tde_datadir}/apps/kconf_update/upgrade-transport.pl -%{tde_datadir}/apps/kmail -%{tde_datadir}/config.kcfg/custommimeheader.kcfg -%{tde_datadir}/config.kcfg/kmail.kcfg -%{tde_datadir}/config.kcfg/customtemplates_kfg.kcfg -%{tde_datadir}/config.kcfg/replyphrases.kcfg -%{tde_datadir}/config.kcfg/templatesconfiguration_kfg.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/kmaillight.png -%{tde_datadir}/icons/hicolor/*/apps/kmail.png -%{tde_datadir}/icons/hicolor/scalable/apps/kmail.svgz -%{tde_datadir}/services/kmail_config_*.desktop -%{tde_datadir}/services/kontact/kmailplugin.desktop -%{tde_datadir}/servicetypes/dcopimap.desktop -%{tde_datadir}/servicetypes/dcopmail.desktop -# 'libkmailprivate.so' is required at runtime, not devel ! -%{tde_libdir}/libkmailprivate.so -%{tde_libdir}/libkmailprivate.la -%{tde_tdedocdir}/HTML/en/kmail/ - -%post -n trinity-kmail -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kmail -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kmail-devel -Summary: Development files for kmail -Group: Development/Libraries - -%description -n trinity-kmail-devel -%{summary} - -%files -n trinity-kmail-devel -%{tde_tdeincludedir}/kmail/ -%{tde_tdeincludedir}/kmail*.h - -%post -n trinity-kmail-devel -/sbin/ldconfig || : - -%postun -n trinity-kmail-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kmailcvt -Summary: Trinity KMail mail folder converter -Group: Applications/Communications -Requires: trinity-kmail = %{version}-%{release} - -%description -n trinity-kmailcvt -Converts mail folders to KMail format. Formats supported for import -include Outlook Express, Evolution, and plain mbox. - -%files -n trinity-kmailcvt -%{tde_bindir}/kmailcvt -%{tde_datadir}/applnk/Utilities/kmailcvt.desktop -%{tde_datadir}/apps/kmailcvt -%{tde_datadir}/icons/crystalsvg/*/apps/kmailcvt.png - -%post -n trinity-kmailcvt -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - -%postun -n trinity-kmailcvt -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - -########## - -%package -n trinity-knode -Summary: Trinity news reader -Group: Applications/Internet - -%description -n trinity-knode -KNode is an easy-to-use, convenient newsreader. It is intended to be usable -by inexperienced users, but also includes support for such features as -MIME attachments, article scoring, and creating and verifying GnuPG -signatures. - -%files -n trinity-knode -%{tde_bindir}/knode -%{tde_tdelibdir}/kcm_knode.la -%{tde_tdelibdir}/kcm_knode.so -%{tde_tdelibdir}/libknodepart.la -%{tde_tdelibdir}/libknodepart.so -%{tde_libdir}/libknodecommon.so.* -%{tde_tdeappdir}/KNode.desktop -%{tde_datadir}/apps/knode/ -%{tde_datadir}/icons/hicolor/*/apps/knode.png -%{tde_datadir}/icons/hicolor/*/apps/knode2.png -%{tde_datadir}/services/knewsservice.protocol -%{tde_datadir}/services/knode_config_*.desktop -%{tde_datadir}/services/kontact/knodeplugin.desktop -%{tde_tdedocdir}/HTML/en/knode/ - -%post -n trinity-knode -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-knode -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-knode-devel -Summary: Development files for trinity-knode -Group: Development/Libraries -Requires: trinity-knode = %{version}-%{release} - -%description -n trinity-knode-devel -%{summary} - -%files -n trinity-knode-devel -%{tde_libdir}/libknodecommon.la -%{tde_libdir}/libknodecommon.so - -%post -n trinity-knode-devel -/sbin/ldconfig || : - -%postun -n trinity-knode-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-knotes -Summary: Trinity sticky notes -Group: Applications/Utilities -Requires: trinity-tdepim-kresources = %{version}-%{release} - -%description -n trinity-knotes -KNotes is a program that lets you write sticky notes. The notes are saved -automatically when you exit the program, and they display when you open the -program. The program supports printing and mailing your notes. - -%files -n trinity-knotes -%{tde_bindir}/knotes -%{tde_tdelibdir}/knotes_local.la -%{tde_tdelibdir}/knotes_local.so -%{tde_libdir}/libknotes.so.* -%{tde_tdeappdir}/knotes.desktop -%{tde_datadir}/apps/knotes -%{tde_datadir}/config.kcfg/knoteconfig.kcfg -%{tde_datadir}/config.kcfg/knotesglobalconfig.kcfg -%{tde_datadir}/icons/hicolor/*/apps/knotes.png -%{tde_datadir}/services/kresources/knotes/imap.desktop -%{tde_datadir}/services/kresources/knotes/local.desktop -%{tde_datadir}/services/kresources/knotes_manager.desktop -%{tde_datadir}/services/kontact/knotesplugin.desktop -%{tde_tdedocdir}/HTML/en/knotes/ - -%post -n trinity-knotes -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-knotes -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-knotes-devel -Summary: Development files for knots -Group: Development/Libraries -Requires: trinity-knotes = %{version}-%{release} -Requires: %{name}-kresources-devel = %{version}-%{release} - -%description -n trinity-knotes-devel -%{summary} - -%files -n trinity-knotes-devel -%{tde_libdir}/libknotes.so -%{tde_libdir}/libknotes.la -%{tde_tdeincludedir}/KNotesAppIface.h -%{tde_tdeincludedir}/KNotesIface.h - -%post -n trinity-knotes-devel -/sbin/ldconfig || : - -%postun -n trinity-knotes-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kode -Summary: Helper library for programmatic generation of C++ code -Group: Development/Libraries - -%description -n trinity-kode -This package includes a program kode for generation of C++ template files -and kxml_compiler for generation of C++ classes representing XML data -described by RelaxNG schemes. - -%files -n trinity-kode -%{tde_bindir}/kode -%{tde_bindir}/kxml_compiler -%{tde_libdir}/libkode.so.* - -%post -n trinity-kode -/sbin/ldconfig || : - -%postun -n trinity-kode -/sbin/ldconfig || : - -########## - -%package -n trinity-kode-devel -Summary: Development files for trinity-kode -Group: Development/Libraries -Requires: trinity-kode = %{version}-%{release} - -%description -n trinity-kode-devel -%{summary} - -%files -n trinity-kode-devel -%{tde_libdir}/libkode.la -%{tde_libdir}/libkode.so - -%post -n trinity-kode-devel -/sbin/ldconfig || : - -%postun -n trinity-kode-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-konsolekalendar -Summary: Trinity konsole personal organizer -Group: Applications/Productivity - -%description -n trinity-konsolekalendar -KonsoleKalendar is a command-line interface to TDE calendars. -Konsolekalendar complements the TDE KOrganizer by providing a console -frontend to manage your calendars. - -%files -n trinity-konsolekalendar -%{tde_bindir}/konsolekalendar -%{tde_tdeappdir}/konsolekalendar.desktop -%{tde_datadir}/icons/crystalsvg/*/apps/konsolekalendar.png -%{tde_tdedocdir}/HTML/en/konsolekalendar/ - -%post -n trinity-konsolekalendar -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-konsolekalendar -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kontact -Summary: Trinity pim application -Group: Applications/Communications -Requires: trinity-kmail = %{version}-%{release} -Requires: trinity-korganizer = %{version}-%{release} -Requires: trinity-kaddressbook = %{version}-%{release} -Requires: trinity-knode = %{version}-%{release} -Requires: trinity-knotes = %{version}-%{release} -Requires: trinity-akregator = %{version}-%{release} - -%description -n trinity-kontact -Kontact is the integrated solution to your personal information management -needs. It combines TDE applications like KMail, KOrganizer, and -KAddressBook into a single interface to provide easy access to mail, -scheduling, address book and other PIM functionality. - -%files -n trinity-kontact -%{tde_bindir}/kontact -%{tde_tdelibdir}/kcm_kmailsummary.la -%{tde_tdelibdir}/kcm_kmailsummary.so -%{tde_tdelibdir}/kcm_kontact.la -%{tde_tdelibdir}/kcm_kontact.so -%{tde_tdelibdir}/kcm_kontactknt.la -%{tde_tdelibdir}/kcm_kontactknt.so -%{tde_tdelibdir}/kcm_kontactsummary.la -%{tde_tdelibdir}/kcm_kontactsummary.so -%{tde_tdelibdir}/kcm_korgsummary.la -%{tde_tdelibdir}/kcm_korgsummary.so -%{tde_tdelibdir}/kcm_sdsummary.la -%{tde_tdelibdir}/kcm_sdsummary.so -%{tde_tdelibdir}/libkontact_*.la -%{tde_tdelibdir}/libkontact_*.so -%{tde_libdir}/libkontact.so.* -%{tde_libdir}/libkpinterfaces.so.* -%{tde_tdeappdir}/Kontact.desktop -%{tde_tdeappdir}/kontactdcop.desktop -%{tde_datadir}/apps/kontact -%{tde_datadir}/apps/kontactsummary/kontactsummary_part.rc -%{tde_datadir}/config.kcfg/kontact.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kontact.png -%{tde_datadir}/icons/crystalsvg/*/actions/kontact_*.png -%{tde_datadir}/services/kcmkmailsummary.desktop -%{tde_datadir}/services/kcmkontactknt.desktop -%{tde_datadir}/services/kcmkontactsummary.desktop -%{tde_datadir}/services/kcmkorgsummary.desktop -%{tde_datadir}/services/kcmsdsummary.desktop -%{tde_datadir}/services/kontact/newstickerplugin.desktop -%{tde_datadir}/services/kontact/specialdatesplugin.desktop -%{tde_datadir}/services/kontact/summaryplugin.desktop -%{tde_datadir}/services/kontact/weatherplugin.desktop -%{tde_datadir}/services/kontactconfig.desktop -%{tde_datadir}/servicetypes/kontactplugin.desktop -%{tde_tdedocdir}/HTML/en/kontact/ -%{tde_tdedocdir}/HTML/en/kpilot/ - -%post -n trinity-kontact -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kontact -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kontact-devel -Summary: Development files for kontact -Group: Development/Libraries -Requires: trinity-kontact = %{version}-%{release} - -%description -n trinity-kontact-devel -%{summary} - -%files -n trinity-kontact-devel -%{tde_libdir}/libkontact.la -%{tde_libdir}/libkontact.so -%{tde_libdir}/libkpinterfaces.la -%{tde_libdir}/libkpinterfaces.so -%{tde_tdeincludedir}/kontact/ - -%post -n trinity-kontact-devel -/sbin/ldconfig || : - -%postun -n trinity-kontact-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-korganizer -Summary: Trinity personal organizer -Group: Applications/Productivity -Requires: trinity-libkpimidentities = %{version}-%{release} -Requires: trinity-libkpimexchange = %{version}-%{release} -Requires: %{name}-kresources = %{version}-%{release} -Requires: perl - -%description -n trinity-korganizer -This package contains KOrganizer, a calendar and scheduling program. - -KOrganizer aims to be a complete program for organizing appointments, -contacts, projects, etc. KOrganizer natively supports information interchange -with other calendar applications, through the industry standard vCalendar -personal data interchange file format. This eases the move from other -modern PIMs to KOrganizer. - -KOrganizer offers full synchronization with Palm Pilots, if kpilot is -installed. - -%files -n trinity-korganizer -%{tde_bindir}/ical2vcal -%{tde_bindir}/korgac -%{tde_bindir}/korganizer -%{tde_tdelibdir}/kcm_korganizer.la -%{tde_tdelibdir}/kcm_korganizer.so -%{tde_tdelibdir}/libkorg_*.la -%{tde_tdelibdir}/libkorg_*.so -%{tde_tdelibdir}/libkorganizerpart.la -%{tde_tdelibdir}/libkorganizerpart.so -%{tde_libdir}/libkocorehelper.so.* -%{tde_libdir}/libkorg_stdprinting.so.* -%{tde_libdir}/libkorganizer.so.* -%{tde_libdir}/libkorganizer_calendar.so.* -%{tde_libdir}/libkorganizer_eventviewer.so.* -%{tde_tdeappdir}/korganizer.desktop -%{tde_datadir}/apps/kconf_update/korganizer.upd -%{tde_datadir}/apps/korgac -%{tde_datadir}/apps/korganizer -%{tde_datadir}/autostart/korgac.desktop -%{tde_datadir}/config.kcfg/korganizer.kcfg -%{tde_datadir}/icons/hicolor/*/apps/korganizer.png -%{tde_datadir}/services/kontact/korganizerplugin.desktop -%{tde_datadir}/services/kontact/journalplugin.desktop -%{tde_datadir}/services/kontact/todoplugin.desktop -%{tde_datadir}/services/korganizer_*.desktop -%{tde_datadir}/services/korganizer -%{tde_datadir}/services/webcal.protocol -%{tde_datadir}/servicetypes/calendardecoration.desktop -%{tde_datadir}/servicetypes/calendarplugin.desktop -%{tde_datadir}/servicetypes/dcopcalendar.desktop -%{tde_datadir}/servicetypes/korganizerpart.desktop -%{tde_datadir}/servicetypes/korgprintplugin.desktop -%{tde_tdedocdir}/HTML/en/korganizer/ - -%post -n trinity-korganizer -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-korganizer -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-korganizer-devel -Summary: Development files for korganizer -Group: Development/Libraries -Requires: trinity-korganizer = %{version}-%{release} - -%description -n trinity-korganizer-devel -%{summary} - -%files -n trinity-korganizer-devel -%{tde_tdeincludedir}/korganizer/ -%{tde_tdeincludedir}/calendar/ -%{tde_libdir}/libkocorehelper.la -%{tde_libdir}/libkocorehelper.so -%{tde_libdir}/libkorg_stdprinting.la -%{tde_libdir}/libkorg_stdprinting.so -%{tde_libdir}/libkorganizer.la -%{tde_libdir}/libkorganizer.so -%{tde_libdir}/libkorganizer_calendar.la -%{tde_libdir}/libkorganizer_calendar.so -%{tde_libdir}/libkorganizer_eventviewer.la -%{tde_libdir}/libkorganizer_eventviewer.so - -%post -n trinity-korganizer-devel -/sbin/ldconfig || : - -%postun -n trinity-korganizer-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-korn -Summary: Trinity mail checker -Group: Applications/Communications -Requires: %{name}-kio-plugins = %{version}-%{release} -#Requires: tdebase-kio-plugins-trinity - -%description -n trinity-korn -Korn is a TDE mail checker that can display a small summary in the Kicker -tray. It supports checking mbox, pop3, imap4, and nntp sources. - -Once mail is received you can have Korn run a third party program or change -the color/icon of the Kicker display. In addition to this you can have -Korn run a program once you click on the docked icon in Kicker. - -%files -n trinity-korn -%{tde_bindir}/korn -%{tde_libdir}/kconf_update_bin/korn-3-4-config_change -%{tde_tdeappdir}/KOrn.desktop -%{tde_datadir}/apps/kconf_update/korn-3-4-config_change.upd -%{tde_datadir}/apps/kconf_update/korn-3-5-metadata-update.pl -%{tde_datadir}/apps/kconf_update/korn-3-5-ssl-update.pl -%{tde_datadir}/apps/kconf_update/korn-3-5-update.upd -%{tde_datadir}/icons/hicolor/*/apps/korn.png -%{tde_tdedocdir}/HTML/en/korn/ - -%post -n trinity-korn -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-korn -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ktnef -Summary: Trinity TNEF viewer -Group: Applications/Communications - -%description -n trinity-ktnef -The TNEF File Viewer allows you to handle mail attachments using the TNEF -format. These attachments are usually found in mails coming from Microsoft -mail servers and embed the mail properties as well as the actual attachments. - -%files -n trinity-ktnef -%{tde_bindir}/ktnef -%{tde_tdeappdir}/ktnef.desktop -%{tde_datadir}/apps/ktnef -%{tde_datadir}/icons/hicolor/*/apps/ktnef.png -%{tde_datadir}/icons/locolor/*/apps/ktnef.png -%{tde_datadir}/mimelnk/application/ms-tnef.desktop -%{tde_tdedocdir}/HTML/en/ktnef/ - -%post -n trinity-ktnef -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ktnef -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-libindex -Summary: Trinity indexing library -Group: Environment/Libraries - -%description -n trinity-libindex -This library provides text indexing and is currently used by KMail -to implement fast searches in mail bodies. - -This is the runtime package for programs that use the libindex library. - -%files -n trinity-libindex -%{tde_libdir}/libindex.so.* - -%post -n trinity-libindex -/sbin/ldconfig || : - -%postun -n trinity-libindex -/sbin/ldconfig || : - -########## - -%package -n trinity-libindex-devel -Summary: Trinity indexing library [development] -Group: Development/Libraries -Requires: trinity-libindex = %{version}-%{release} - -%description -n trinity-libindex-devel -This library provides text indexing and is currently used by KMail -to implement searching through mail text. - -This is the development package which contains the headers for the libindex-trinity -library. - -%files -n trinity-libindex-devel -%{tde_bindir}/indexlib-config -%{tde_tdeincludedir}/index -%{tde_libdir}/libindex.la -%{tde_libdir}/libindex.so - -%post -n trinity-libindex-devel -/sbin/ldconfig || : - -%postun -n trinity-libindex-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkcal -Summary: Trinity calendaring library -Group: Environment/Libraries -#Requires: %{name}-kresources = %{version}-%{release} - -%description -n trinity-libkcal -This library provides a C++ API for handling the vCalendar and iCalendar -formats. - -This is the runtime package for programs that use the libkcal-trinity library. - -%files -n trinity-libkcal -%{tde_tdelibdir}/kcal_kabc.la -%{tde_tdelibdir}/kcal_kabc.so -%{tde_tdelibdir}/kcal_localdir.la -%{tde_tdelibdir}/kcal_localdir.so -%{tde_tdelibdir}/kcal_local.la -%{tde_tdelibdir}/kcal_local.so -%{tde_tdelibdir}/kcal_remote.la -%{tde_tdelibdir}/kcal_remote.so -%{tde_libdir}/libkcal.so.* -%{tde_libdir}/libkcal_resourceremote.so.* -%{tde_libdir}/libkholidays.so.* -%{tde_datadir}/apps/libkholidays -%{tde_datadir}/services/kresources/kcal/imap.desktop -%{tde_datadir}/services/kresources/kcal/kabc.desktop -%{tde_datadir}/services/kresources/kcal/local.desktop -%{tde_datadir}/services/kresources/kcal/localdir.desktop -%{tde_datadir}/services/kresources/kcal/remote.desktop -%{tde_datadir}/services/kresources/kcal_manager.desktop - -%post -n trinity-libkcal -/sbin/ldconfig || : - -%postun -n trinity-libkcal -/sbin/ldconfig || : - -########## - -%package -n trinity-libkcal-devel -Summary: Trinity calendaring library [development] -Group: Development/Libraries -Requires: trinity-libkcal = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} -Requires: trinity-libktnef-devel = %{version}-%{release} - -%description -n trinity-libkcal-devel -This library provides a C++ API for handling the vCalendar and iCalendar -formats. - -This is the development package which contains the headers for the libkcal-trinity -library. - -%files -n trinity-libkcal-devel -%{tde_tdeincludedir}/libemailfunctions/idmapper.h -%{tde_tdeincludedir}/libkcal -%{tde_libdir}/libkcal.la -%{tde_libdir}/libkcal.so -%{tde_libdir}/libkcal_resourceremote.la -%{tde_libdir}/libkcal_resourceremote.so -%{tde_libdir}/libkholidays.la -%{tde_libdir}/libkholidays.so - -%post -n trinity-libkcal-devel -/sbin/ldconfig || : - -%postun -n trinity-libkcal-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libtdepim -Summary: Trinity PIM library -Group: Environment/Libraries -Requires: trinity-libkcal = %{version}-%{release} - -Obsoletes: libtdepim < %{version}-%{release} -Provides: libtdepim = %{version}-%{release} - -%description -n trinity-libtdepim -This is the runtime package for programs that use the libtdepim-trinity library. - -%files -n trinity-libtdepim -%{tde_tdelibdir}/plugins/designer/[kt]depimwidgets.la -%{tde_tdelibdir}/plugins/designer/[kt]depimwidgets.so -%{tde_tdelibdir}/plugins/designer/kpartsdesignerplugin.la -%{tde_tdelibdir}/plugins/designer/kpartsdesignerplugin.so -%{tde_libdir}/lib[kt]depim.so.* -%{tde_datadir}/apps/[kt]depimwidgets -%{tde_datadir}/apps/lib[kt]depim -%{tde_datadir}/apps/[kt]depim -%{tde_datadir}/config.kcfg/pimemoticons.kcfg -%{tde_datadir}/icons/crystalsvg/22x22/actions/button_fewer.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/button_more.png - -%post -n trinity-libtdepim -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -%postun -n trinity-libtdepim -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -########## - -%package -n trinity-libtdepim-devel -Summary: Trinity PIM library [development] -Group: Development/Libraries -Requires: trinity-libtdepim = %{version}-%{release} -Requires: trinity-kdelibs-devel - -Obsoletes: libtdepim-devel < %{version}-%{release} -Provides: libtdepim-devel = %{version}-%{release} - -%description -n trinity-libtdepim-devel -This is the development package which contains the headers for the libtdepim-trinity -library. - -%files -n trinity-libtdepim-devel -%{tde_tdeincludedir}/[kt]depimmacros.h -%{tde_libdir}/lib[kt]depim.la -%{tde_libdir}/lib[kt]depim.so - -%post -n trinity-libtdepim-devel -/sbin/ldconfig || : - -%postun -n trinity-libtdepim-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkgantt -Summary: Trinity gantt charting library -Group: Environment/Libraries - -%description -n trinity-libkgantt -This is the runtime package for programs that use the libkgantt-trinity library. - -%files -n trinity-libkgantt -%{tde_libdir}/libkgantt.so.* -%{tde_datadir}/apps/kgantt - -%post -n trinity-libkgantt -/sbin/ldconfig || : - -%postun -n trinity-libkgantt -/sbin/ldconfig || : - -########## - -%package -n trinity-libkgantt-devel -Summary: Trinity gantt charting library [development] -Group: Development/Libraries -Requires: trinity-libkgantt = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} - -%description -n trinity-libkgantt-devel -This is the development package which contains the headers for the libkgantt-trinity -library. - -%files -n trinity-libkgantt-devel -%{tde_tdeincludedir}/kgantt -%{tde_libdir}/libkgantt.la -%{tde_libdir}/libkgantt.so - -%post -n trinity-libkgantt-devel -/sbin/ldconfig || : - -%postun -n trinity-libkgantt-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkleopatra -Summary: TDE GnuPG interface libraries -Group: Environment/Libraries -Requires: gnupg - -%description -n trinity-libkleopatra -This library is used by several TDE applications to interface to the -GnuPG program. - -This is the runtime package for programs that use the libkleopatra-trinity library. - -%files -n trinity-libkleopatra -%{tde_datadir}/config/libkleopatrarc -%{tde_libdir}/libgpgme++.so.* -%{tde_libdir}/libkleopatra.so.* -%{tde_libdir}/libkpgp.so.* -%{tde_libdir}/libqgpgme.so.* -%{tde_datadir}/apps/kconf_update/kpgp-3.1-upgrade-address-data.pl -%{tde_datadir}/apps/kconf_update/kpgp.upd -%{tde_datadir}/apps/libkleopatra/ -%{tde_datadir}/icons/crystalsvg/*/apps/gpg.png -%{tde_datadir}/icons/crystalsvg/*/apps/gpgsm.png - -%post -n trinity-libkleopatra -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -%postun -n trinity-libkleopatra -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -########## - -%package -n trinity-libkleopatra-devel -Summary: Trinity GnuPG interface libraries [development] -Group: Development/Libraries -Requires: trinity-libkleopatra = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} - -%description -n trinity-libkleopatra-devel -This library is used by several KDE applications to interface to the -GnuPG program. - -This is the development package which contains the headers for the -libkleopatra-trinity library. - -%files -n trinity-libkleopatra-devel -%{tde_tdeincludedir}/gpgme++/ -%{tde_tdeincludedir}/kleo/ -%{tde_tdeincludedir}/qgpgme/ -%{tde_libdir}/libgpgme++.la -%{tde_libdir}/libgpgme++.so -%{tde_libdir}/libkleopatra.la -%{tde_libdir}/libkleopatra.so -%{tde_libdir}/libkpgp.la -%{tde_libdir}/libkpgp.so -%{tde_libdir}/libqgpgme.la -%{tde_libdir}/libqgpgme.so - -%post -n trinity-libkleopatra-devel -/sbin/ldconfig || : - -%postun -n trinity-libkleopatra-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkmime -Summary: Trinity MIME interface library -Group: Environment/Libraries -#Conflicts: trinity-libmimelib - -%description -n trinity-libkmime -This library provides a C++ interface to MIME messages, parsing them into -an object tree. - -%files -n trinity-libkmime -%{tde_libdir}/libkmime.so.* - -%post -n trinity-libkmime -/sbin/ldconfig || : - -%postun -n trinity-libkmime -/sbin/ldconfig || : - -########## - -%package -n trinity-libkmime-devel -Summary: Development files for libkmime -Group: Development/Libraries -Requires: trinity-libkmime = %{version}-%{release} - -%description -n trinity-libkmime-devel -%{summary} - -%files -n trinity-libkmime-devel -%{tde_libdir}/libkmime.la -%{tde_libdir}/libkmime.so - -%post -n trinity-libkmime-devel -/sbin/ldconfig || : - -%postun -n trinity-libkmime-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkpimexchange -Summary: Trinity PIM Exchange library -Group: Environment/Libraries - -%description -n trinity-libkpimexchange -This is the runtime package for programs that use the libkpimexchange-trinity -library. - -%files -n trinity-libkpimexchange -%{tde_tdelibdir}/resourcecalendarexchange.la -%{tde_tdelibdir}/resourcecalendarexchange.so -%{tde_libdir}/libkpimexchange.so.* - -%post -n trinity-libkpimexchange -/sbin/ldconfig || : - -%postun -n trinity-libkpimexchange -/sbin/ldconfig || : - -########## - -%package -n trinity-libkpimexchange-devel -Summary: Trinity PIM Exchange library [development] -Group: Development/Libraries -Requires: trinity-libkpimexchange = %{version}-%{release} -Requires: trinity-libkcal-devel = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} - -%description -n trinity-libkpimexchange-devel -This is the development package which contains the headers for the -libkpimexchange-trinity library. - -%files -n trinity-libkpimexchange-devel -%{tde_tdeincludedir}/[kt]depim/exchangeaccount.h -%{tde_tdeincludedir}/[kt]depim/exchangeclient.h -%{tde_libdir}/libkpimexchange.la -%{tde_libdir}/libkpimexchange.so - -%post -n trinity-libkpimexchange-devel -/sbin/ldconfig || : - -%postun -n trinity-libkpimexchange-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkpimidentities -Summary: Trinity PIM user identity information library -Group: Environment/Libraries - -%description -n trinity-libkpimidentities -This library provides information to TDE programs about user identity, -such as email address, organization, etc. - -This is the runtime package for programs that use the libkpimidentities-trinity -library. - -%files -n trinity-libkpimidentities -%{tde_libdir}/libkpimidentities.so.* - -%post -n trinity-libkpimidentities -/sbin/ldconfig || : - -%postun -n trinity-libkpimidentities -/sbin/ldconfig || : - -########## - -%package -n trinity-libkpimidentities-devel -Summary: Development files for libkpimidentities -Group: Development/Libraries -Requires: trinity-libkpimidentities = %{version}-%{release} - -%description -n trinity-libkpimidentities-devel -%{summary} - -%files -n trinity-libkpimidentities-devel -%{tde_libdir}/libkpimidentities.la -%{tde_libdir}/libkpimidentities.so - -%post -n trinity-libkpimidentities-devel -/sbin/ldconfig || : - -%postun -n trinity-libkpimidentities-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libksieve -Summary: Trinity mail/news message filtering library -Group: Environment/Libraries - -%description -n trinity-libksieve -This is the runtime package for programs that use the libksieve-trinity library. - -%files -n trinity-libksieve -%{tde_libdir}/libksieve.so.* - -%post -n trinity-libksieve -/sbin/ldconfig || : - -%postun -n trinity-libksieve -/sbin/ldconfig || : - -########## - -%package -n trinity-libksieve-devel -Summary: Trinity mail/news message filtering library [development] -Group: Development/Libraries -Requires: trinity-libksieve = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} - -%description -n trinity-libksieve-devel -This is the development package which contains the headers for the libksieve-trinity -library. - -%files -n trinity-libksieve-devel -%{tde_tdeincludedir}/ksieve -%{tde_libdir}/libksieve.la -%{tde_libdir}/libksieve.so - -%post -n trinity-libksieve-devel -/sbin/ldconfig || : - -%postun -n trinity-libksieve-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libktnef -Summary: Library for handling KTNEF email attachments -Group: Environment/Libraries - -%description -n trinity-libktnef -This library handles mail attachments using the TNEF format. These -attachments are usually found in mails coming from Microsoft mail -servers and embed the mail properties as well as the actual -attachments. -. -This is the runtime library for packages using the ktnef-trinity library. - -%files -n trinity-libktnef -%{tde_libdir}/libktnef.so.* - -%post -n trinity-libktnef -/sbin/ldconfig || : - -%postun -n trinity-libktnef -/sbin/ldconfig || : - -########## - -%package -n trinity-libktnef-devel -Summary: KTNEF handler library [development] -Group: Development/Libraries -Requires: trinity-libktnef = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} - -%description -n trinity-libktnef-devel -This library handles mail attachments using the TNEF format. These -attachments are usually found in mails coming from Microsoft mail -servers and embed the mail properties as well as the actual -attachments. - -This is the development package which contains the headers for the -ktnef-trinity library. - -%files -n trinity-libktnef-devel -%{tde_tdeincludedir}/ktnef -%{tde_libdir}/libktnef.la -%{tde_libdir}/libktnef.so - -%post -n trinity-libktnef-devel -/sbin/ldconfig || : - -%postun -n trinity-libktnef-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libmimelib -Summary: Trinity mime library -Group: Environment/Libraries - -%description -n trinity-libmimelib -This library is used by several Trinity applications to handle mime types. - -This is the runtime package for programs that use the libmimelib-trinity library. - -%files -n trinity-libmimelib -%{tde_libdir}/libmimelib.so.* - -%post -n trinity-libmimelib -/sbin/ldconfig || : - -%postun -n trinity-libmimelib -/sbin/ldconfig || : - -########## - -%package -n trinity-libmimelib-devel -Summary: Trinity mime library [development] -Group: Development/Libraries -Requires: trinity-libmimelib = %{version}-%{release} - -%description -n trinity-libmimelib-devel -This library is used by several KDE applications to handle mime types. - -This is the development package which contains the headers for the -libmimelib library. - -%files -n trinity-libmimelib-devel -%{tde_tdeincludedir}/mimelib -%{tde_libdir}/libmimelib.la -%{tde_libdir}/libmimelib.so - -%post -n trinity-libmimelib-devel -/sbin/ldconfig || : - -%postun -n trinity-libmimelib-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kmobile -Summary: Synchronize and manage mobile phone with your PC. -Group: Applications/Communications - -%description -n trinity-kmobile -KMobileTools is a nice TDE-based application that allows to synchronize -and manage mobile phones with your PC. It handles full SMS control, -dialing calls, phonebook, and phone status monitoring. - -%files -n trinity-kmobile -%{tde_bindir}/kmobile -%{tde_datadir}/icons/default.kde/32x32/devices/mobile_camera.png -%{tde_datadir}/icons/default.kde/32x32/devices/mobile_musicplayer.png -%{tde_datadir}/icons/default.kde/32x32/devices/mobile_organizer.png -%{tde_datadir}/icons/default.kde/32x32/devices/mobile_phone.png -%{tde_datadir}/icons/default.kde/32x32/devices/mobile_unknown.png -%{tde_datadir}/icons/hicolor/*/apps/kmobile.png -%{tde_datadir}/services/libkmobile_digicam.desktop -%{tde_datadir}/services/libkmobile_gammu.desktop -%{tde_datadir}/services/libkmobile_skeleton.desktop -%{tde_datadir}/servicetypes/libkmobile.desktop -%{tde_datadir}/apps/kmobile/kmobileui.rc -%{tde_tdeappdir}/kmobile.desktop -%{tde_tdelibdir}/libkmobile_skeleton.la -%{tde_tdelibdir}/libkmobile_skeleton.so -%{tde_libdir}/libkmobileclient.la -%{tde_libdir}/libkmobileclient.so -%{tde_libdir}/libkmobiledevice.la -%{tde_libdir}/libkmobiledevice.so - -%post -n trinity-kmobile -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kmobile -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n kdepim-3.5.13.1 -%patch13 -p1 -b .incdir -%patch14 -p1 -b .ldflags - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" -export LD_LIBRARY_PATH="%{tde_libdir}" - -# Specific path for RHEL4 -if [ -d /usr/X11R6 ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - -DWITH_ARTS=ON \ - -DWITH_SASL=ON \ - -DWITH_NEWDISTRLISTS=ON \ - %{?with_gnokii:-DWITH_GNOKII=ON} \ - -DWITH_EXCHANGE=ON \ - -DWITH_EGROUPWARE=ON \ - -DWITH_KOLAB=ON \ - -DWITH_SLOX=ON \ - -DWITH_GROUPWISE=ON \ - -DWITH_FEATUREPLAN=ON \ - -DWITH_GROUPDAV=ON \ - -DWITH_BIRTHDAYS=ON \ - -DWITH_NEWEXCHANGE=ON \ - -DWITH_SCALIX=ON \ - -DWITH_CALDAV=ON \ - -DWITH_CARDDAV=ON \ - -DWITH_INDEXLIB=ON \ - %{?with_kitchensync:-DBUILD_KITCHENSYNC=ON} \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{?buildroot} -C build - -# Fix for Perl path in trinity-korganizer -# Perl is '/usr/bin/perl' not '/bin/perl' -%if 0%{?fedora} >= 17 -%__sed -i %{?buildroot}%{?tde_bindir}/ical2vcal -e "s|/bin/perl|/usr/bin/perl|" -%endif - -%clean -%__rm -rf %{?buildroot} - - -%changelog -* Sun Nov 11 2012 Francois Andriot - 3.5.13.1-2 -- Fix korganizer packaging - -* Tue Sep 25 2012 Francois Andriot - 3.5.13.1-1 -- Initial build for TDE 3.5.13.1 diff --git a/redhat/tdepim/trinity-kdepim-3.5.13.spec b/redhat/tdepim/trinity-kdepim-3.5.13.spec deleted file mode 100644 index 8a9c6d6a6..000000000 --- a/redhat/tdepim/trinity-kdepim-3.5.13.spec +++ /dev/null @@ -1,2198 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -BuildRequires: cmake >= 2.8 -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -# KDEPIM specific features -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_gnokii 1 -%else -%define with_gnokii 0 -%endif - -# TDEPIM optional features -#BuildRequires: opensync-devel -%define with_kitchensync 0 - - -Name: trinity-tdepim -Version: 3.5.13 -Release: 8%{?dist}%{?_variant} -License: GPL -Group: Applications/Productivity - -Vendor: Trinity Project -Packager: Francois Andriot -Summary: Personal Information Management apps from the official Trinity release - -Prefix: %{tde_prefix} - -Source0: kdepim-%{version}.tar.gz - -# [kdepim] Fix compilation with GCC 4.7 [Bug #958] -Patch1: kdepim-3.5.13-fix_gcc47_compilation.patch -# [tdepim] Reverse patch from GIT hash 33e649c9. [Bug #406] [Commit #2d5f15c8] -Patch2: kdepim-3.5.13-fix_check_mail.patch -# [tdepim] Fix kmail composer crash [Bug #953] -Patch3: kdepim-3.5.13-fix_composer_crash.patch -# [tdepim] Fix KMail counting of unread messages in the system tray icon [Commit #40c435e5] -Patch4: kdepim-3.5.13-fix_systray_count.patch -# [tdepim] Fix knotes not appearing on the desktop when a session is restored. [Bug #987] [Commit #533f494f] -Patch5: kdepim-3.5.13-fix_knotes_after_restored.patch -# [tdepim] Fix knotes to not close notes during saving session. [Bug #987] [Commit #c48253af] -Patch6: kdepim-3.5.13-fix_knotes_on_suspend.patch -# [tdepim] Fix linear alphabet string errors [Bug 635] [Commit #80bc593e] -Patch7: kdepim-3.5.13-fix_linear_alphabet.patch -# [tdepim] Fix infinite loop on IMAP4 authentication failure [Bug #1007] -Patch8: kdepim-3.5.13-fix_kio_imap4_infinite_loop.patch -# [tdepim] Fix infinite loop on kmime_utils addquotes [Bug #1009] [Commit #9b43d6e1] [Commit #b0c92b30] -Patch9: kdepim-3.5.13-fix_kio_imap4_addquotes.patch -Patch10: kdepim-3.5.13-fix_segv.patch -# [tdepim] Update kalarmd icon reference, which does not exist, to kalarm. [Commit #228ad1c6] -Patch11: kdepim-3.5.13-fix_kalarm_icon_reference.patch -# [tdepim] Disable unneccesary fsync() in cached IMAP handler [Bug #467] [Commit #82d4a938] -Patch12: kdepim-3.5.13-disable_fsync_in_cached_imap.patch -# [tdepim] Fix include directory location -Patch13: kdepim-3.5.13-fix_include_directory.patch -# [tdepim] Missing LDFLAGS cause FTBFS on MGA2/MDV2011 -Patch14: kdepim-3.5.13-missing_ldflags.patch - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-arts-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: gpgme-devel -BuildRequires: libgpg-error-devel -BuildRequires: flex -BuildRequires: libical-devel -BuildRequires: boost-devel -BuildRequires: pcre-devel -BuildRequires: glib2-devel -BuildRequires: gcc-c++ make -BuildRequires: libidn-devel - -BuildRequires: libcaldav-devel -BuildRequires: libcarddav-devel - -%if 0%{?with_gnokii} -BuildRequires: gnokii-devel -%endif - -%if 0%{?fedora} >= 15 -BuildRequires: flex-static -%endif -%if 0%{?rhel} > 0 && 0%{?rhel} <= 5 -BuildRequires: trinity-libcurl-devel -%else -BuildRequires: curl-devel -%endif - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel -BuildRequires: %{_lib}sasl2-devel -%else -BuildRequires: libXcomposite-devel -BuildRequires: cyrus-sasl-devel -%endif - -Requires: trinity-libtdepim = %{version}-%{release} -Requires: %{name}-kfile-plugins = %{version}-%{release} -Requires: %{name}-kio-plugins = %{version}-%{release} -Requires: %{name}-kresources = %{version}-%{release} -Requires: %{name}-wizards = %{version}-%{release} -Requires: trinity-akregator = %{version}-%{release} -Requires: trinity-kaddressbook = %{version}-%{release} -Requires: trinity-kalarm = %{version}-%{release} -Requires: trinity-kandy = %{version}-%{release} -Requires: trinity-karm = %{version}-%{release} -Requires: trinity-kleopatra = %{version}-%{release} -Requires: trinity-kmail = %{version}-%{release} -Requires: trinity-kmailcvt = %{version}-%{release} -Requires: trinity-kmobile = %{version}-%{release} -Requires: trinity-knode = %{version}-%{release} -Requires: trinity-knotes = %{version}-%{release} -Requires: trinity-kode = %{version}-%{release} -Requires: trinity-konsolekalendar = %{version}-%{release} -Requires: trinity-kontact = %{version}-%{release} -Requires: trinity-korganizer = %{version}-%{release} -Requires: trinity-korn = %{version}-%{release} -Requires: trinity-ktnef = %{version}-%{release} -Requires: trinity-libindex = %{version}-%{release} -Requires: trinity-libkcal = %{version}-%{release} -Requires: trinity-libkgantt = %{version}-%{release} -Requires: trinity-libkleopatra = %{version}-%{release} -Requires: trinity-libkmime = %{version}-%{release} -Requires: trinity-libkpimexchange = %{version}-%{release} -Requires: trinity-libkpimidentities = %{version}-%{release} -Requires: trinity-libksieve = %{version}-%{release} -Requires: trinity-libktnef = %{version}-%{release} -Requires: trinity-libmimelib = %{version}-%{release} - -Obsoletes: trinity-kdepim < %{version}-%{release} -Provides: trinity-kdepim = %{version}-%{release} -Obsoletes: tdepim < %{version}-%{release} -Provides: tdepim = %{version}-%{release} - -%description -This metapackage includes a collection of Personal Information Management -(PIM) applications provided with the official release of Trinity. - -%files - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries - -Obsoletes: tdepim-cmake < %{version}-%{release} - -Obsoletes: trinity-kdepim-devel < %{version}-%{release} -Provides: trinity-kdepim-devel = %{version}-%{release} -Obsoletes: tdepim-devel < %{version}-%{release} -Provides: tdepim-devel = %{version}-%{release} - -Requires: %{name} = %{version}-%{release} -Requires: trinity-akregator-devel = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} -Requires: trinity-kaddressbook-devel = %{version}-%{release} -Requires: trinity-karm-devel = %{version}-%{release} -Requires: trinity-kmail-devel = %{version}-%{release} -Requires: trinity-knode-devel = %{version}-%{release} -Requires: trinity-knotes-devel = %{version}-%{release} -Requires: trinity-kode-devel = %{version}-%{release} -Requires: trinity-kontact-devel = %{version}-%{release} -Requires: trinity-korganizer-devel = %{version}-%{release} -Requires: trinity-libindex-devel = %{version}-%{release} -Requires: trinity-libkcal-devel = %{version}-%{release} -Requires: trinity-libkgantt-devel = %{version}-%{release} -Requires: trinity-libkleopatra-devel = %{version}-%{release} -Requires: trinity-libkmime-devel = %{version}-%{release} -Requires: trinity-libkpimexchange-devel = %{version}-%{release} -Requires: trinity-libkpimidentities-devel = %{version}-%{release} -Requires: trinity-libksieve-devel = %{version}-%{release} -Requires: trinity-libktnef-devel = %{version}-%{release} -Requires: trinity-libmimelib-devel = %{version}-%{release} -Requires: %{name}-kresources-devel = %{version}-%{release} - -%description devel -This metapackage includes all development files for TDE PIM. -It also contains the CMAKE macros. - -%files devel -%{tde_datadir}/cmake/* - -########## - -%package -n trinity-akregator -Summary: RSS feed aggregator for TDE -Group: Applications/Internet -Requires: trinity-libtdepim = %{version}-%{release} -Requires: trinity-libkcal = %{version}-%{release} - -%description -n trinity-akregator -aKregator is a fast, lightweight, and intuitive feed reader program -for TDE. It allows you to quickly browse through hundreds of -thousands of internet feeds in a quick, efficient, and familiar way. - -%files -n trinity-akregator -%{tde_bindir}/akregator -%{tde_tdelibdir}/libakregatorpart.la -%{tde_tdelibdir}/libakregatorpart.so -%{tde_tdelibdir}/libakregator_mk4storage_plugin.la -%{tde_tdelibdir}/libakregator_mk4storage_plugin.so -%{tde_libdir}/libakregatorprivate.so.* -%{tde_tdeappdir}/akregator.desktop -%{tde_datadir}/apps/akregator -%{tde_datadir}/config.kcfg/akregator.kcfg -%{tde_datadir}/config.kcfg/mk4config.kcfg -%{tde_datadir}/icons/crystalsvg/*/actions/rss_tag.png -%{tde_datadir}/icons/crystalsvg/16x16/apps/akregator_empty.png -%{tde_datadir}/icons/hicolor/*/apps/akregator.png -%{tde_datadir}/icons/hicolor/scalable/apps/akregator.svgz -%{tde_datadir}/services/akregator_mk4storage_plugin.desktop -%{tde_datadir}/services/akregator_part.desktop -%{tde_datadir}/services/feed.protocol -%{tde_datadir}/services/kontact/akregatorplugin*.desktop -%{tde_datadir}/servicetypes/akregator_plugin.desktop -%{tde_tdedocdir}/HTML/en/akregator/ - -%post -n trinity-akregator -/sbin/ldconfig || : -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-akregator -/sbin/ldconfig || : -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-akregator-devel -Summary: Development files for trinity-akregator -Group: Development/Libraries -Requires: trinity-akregator = %{version}-%{release} - -%description -n trinity-akregator-devel -%{summary} - -%files -n trinity-akregator-devel -%{tde_tdeincludedir}/akregator/ -%{tde_libdir}/libakregatorprivate.la -%{tde_libdir}/libakregatorprivate.so - -%post -n trinity-akregator-devel -/sbin/ldconfig || : - -%postun -n trinity-akregator-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kaddressbook -Summary: TDE addressbook application -Group: Applications/Communications -Requires: trinity-kdebase-pim-ioslaves -Requires: %{name}-kresources = %{version}-%{release} - -%description -n trinity-kaddressbook -KAddressBook is the main address book application for TDE; it enables you -to manage your contacts efficiently and comfortably. It can load and save -your contacts to many different locations, including the local file system, -LDAP servers, and SQL databases. - -%files -n trinity-kaddressbook -%{tde_bindir}/kabc2mutt -%{tde_bindir}/kaddressbook -%{tde_bindir}/kabcdistlistupdater -%{tde_tdelibdir}/kcm_kabconfig.la -%{tde_tdelibdir}/kcm_kabconfig.so -%{tde_tdelibdir}/kcm_kabcustomfields.la -%{tde_tdelibdir}/kcm_kabcustomfields.so -%{tde_tdelibdir}/kcm_kabldapconfig.la -%{tde_tdelibdir}/kcm_kabldapconfig.so -%{tde_tdelibdir}/ldifvcardthumbnail.la -%{tde_tdelibdir}/ldifvcardthumbnail.so -%{tde_tdelibdir}/libkaddrbk_*.la -%{tde_tdelibdir}/libkaddrbk_*.so -%{tde_tdelibdir}/libkaddressbookpart.la -%{tde_tdelibdir}/libkaddressbookpart.so -%{tde_libdir}/libkabinterfaces.so.* -%{tde_libdir}/libkaddressbook.so.* -%{tde_tdeappdir}/kaddressbook.desktop -%{tde_datadir}/apps/kaddressbook -%{tde_datadir}/icons/hicolor/*/apps/kaddressbook.png -%{tde_datadir}/services/kabconfig.desktop -%{tde_datadir}/services/kabcustomfields.desktop -%{tde_datadir}/services/kabldapconfig.desktop -%{tde_datadir}/services/kaddressbook -%{tde_datadir}/services/kontact/kaddressbookplugin.desktop -%{tde_datadir}/services/kresources/kabc/imap.desktop -%{tde_datadir}/services/ldifvcardthumbnail.desktop -%{tde_datadir}/servicetypes/dcopaddressbook.desktop -%{tde_datadir}/servicetypes/kaddressbook_contacteditorwidget.desktop -%{tde_datadir}/servicetypes/kaddressbookimprotocol.desktop -%{tde_datadir}/servicetypes/kaddressbook_extension.desktop -%{tde_datadir}/servicetypes/kaddressbook_view.desktop -%{tde_datadir}/servicetypes/kaddressbook_xxport.desktop -%{tde_tdedocdir}/HTML/en/kaddressbook/ -%{tde_datadir}/autostart/kabcdistlistupdater.desktop -%{tde_tdeincludedir}/kaddressbook -%{tde_tdeincludedir}/kabc - -%post -n trinity-kaddressbook -/sbin/ldconfig || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kaddressbook -/sbin/ldconfig || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kaddressbook-devel -Summary: Development files for trinity-kaddressbook -Group: Development/Libraries -Requires: trinity-kaddressbook = %{version}-%{release} - -%description -n trinity-kaddressbook-devel -%{summary} - -%files -n trinity-kaddressbook-devel -%{tde_libdir}/libkabinterfaces.la -%{tde_libdir}/libkabinterfaces.so -%{tde_libdir}/libkaddressbook.la -%{tde_libdir}/libkaddressbook.so - -%post -n trinity-kaddressbook-devel -/sbin/ldconfig || : - -%postun -n trinity-kaddressbook-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kalarm -Summary: Trinity alarm message, command and email scheduler -Group: Applications/Communications -Requires: trinity-libkpimidentities = %{version}-%{release} - -%description -n trinity-kalarm -KAlarm provides a graphical interface to schedule personal timed events - -pop-up alarm messages, command execution and sending emails. There is a -range of options for configuring recurring events. - -A pop-up alarm can show either a simple text message, or the contents of a -text or image file, It can optionally be spoken, or play a sound file. You -can choose its appearance, and set reminders. Among KAlarm's other -facilities, you can set up templates to allow KAlarm to be used as a 'tea -timer'. - -As an alternative to using the graphical interface, alarms can be scheduled -from the command line or via DCOP calls from other programs. KAlarm is -TDE-based, but will also run on other desktops. - -%files -n trinity-kalarm -%{tde_bindir}/kalarm -%{tde_bindir}/kalarmd -%{tde_tdeappdir}/kalarm.desktop -%{tde_datadir}/applnk/.hidden/kalarmd.desktop -%{tde_datadir}/applnk/Applications/kalarm.desktop -%{tde_datadir}/apps/kalarm -%{tde_datadir}/autostart/kalarm.tray.desktop -%{tde_datadir}/autostart/kalarmd.autostart.desktop -%{tde_datadir}/icons/crystalsvg/*/actions/kalarm.png -%{tde_datadir}/icons/hicolor/*/apps/kalarm.png -%{tde_tdedocdir}/HTML/en/kalarm/ - -%post -n trinity-kalarm -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kalarm -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kandy -Summary: Trinity mobile phone utility -Group: Applications/Communications - -%description -n trinity-kandy -At the moment Kandy is more or less a terminal program with some special -features to store commands and their parameters, but is also has a simple GUI -to access the phone book of a mobile phone and it is able to save this phone -book to the TDE address book. - -Kandy is aimed at mobile phones with integrated (GSM) modems. - -%files -n trinity-kandy -%{tde_bindir}/kandy -%{tde_bindir}/kandy_client -%{tde_tdeappdir}/kandy.desktop -%{tde_datadir}/applnk/Utilities/kandy.desktop -%{tde_datadir}/apps/kandy -%{tde_datadir}/config.kcfg/kandy.kcfg -%{tde_tdedocdir}/HTML/en/kandy/ - -%post -n trinity-kandy -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kandy -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-karm -Summary: Trinity time tracker tool -Group: Applications/Productivity - -%description -n trinity-karm -KArm is a time tracker for busy people who need to keep track of the amount of -time they spend on various tasks. - -%files -n trinity-karm -%{tde_bindir}/karm -%{tde_libdir}/libkarm.so.* -%{tde_tdelibdir}/libkarmpart.la -%{tde_tdelibdir}/libkarmpart.so -%{tde_tdeappdir}/karm.desktop -%{tde_datadir}/applnk/Utilities/karm.desktop -%{tde_datadir}/apps/karm -%{tde_datadir}/apps/karmpart -%{tde_datadir}/icons/hicolor/*/apps/karm.png -%{tde_datadir}/services/karm_part.desktop -%{tde_datadir}/services/kontact/karmplugin.desktop -%{tde_tdedocdir}/HTML/en/karm/ - -%post -n trinity-karm -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-karm -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-karm-devel -Summary: Development files for karm -Group: Development/Libraries - -%description -n trinity-karm-devel -%{summary} - -%files -n trinity-karm-devel -%{tde_libdir}/libkarm.so -%{tde_libdir}/libkarm.la - -%post -n trinity-karm-devel -/sbin/ldconfig || : - -%postun -n trinity-karm-devel -/sbin/ldconfig || : - -########## - -%package kfile-plugins -Summary: TDE File dialog plugins for palm and vcf files -Group: Environment/Libraries - -Obsoletes: tdepim-kfile-plugins < %{version}-%{release} - -%description kfile-plugins -File dialog plugins for palm and vcf files. - -%files kfile-plugins -%{tde_tdelibdir}/kfile_ics.la -%{tde_tdelibdir}/kfile_ics.so -%{tde_tdelibdir}/kfile_vcf.la -%{tde_tdelibdir}/kfile_vcf.so -%{tde_datadir}/services/kfile_ics.desktop -%{tde_datadir}/services/kfile_vcf.desktop - -########## - -%package kio-plugins -Summary: Trinity pim I/O Slaves -Group: Environment/Libraries - -Obsoletes: tdepim-kio-plugins < %{version}-%{release} - -%description kio-plugins -This package includes the pim kioslaves. This includes imap4, sieve, -and mbox. - -%files kio-plugins -%{tde_tdelibdir}/kio_groupwise.la -%{tde_tdelibdir}/kio_groupwise.so -%{tde_tdelibdir}/kio_imap4.la -%{tde_tdelibdir}/kio_imap4.so -%{tde_tdelibdir}/kio_mbox.la -%{tde_tdelibdir}/kio_mbox.so -%{tde_tdelibdir}/kio_scalix.la -%{tde_tdelibdir}/kio_scalix.so -%{tde_tdelibdir}/kio_sieve.la -%{tde_tdelibdir}/kio_sieve.so -%{tde_datadir}/services/groupwise.protocol -%{tde_datadir}/services/groupwises.protocol -%{tde_datadir}/services/imap4.protocol -%{tde_datadir}/services/imaps.protocol -%{tde_datadir}/services/mbox.protocol -%{tde_datadir}/services/scalix.protocol -%{tde_datadir}/services/scalixs.protocol -%{tde_datadir}/services/sieve.protocol - -########## - -%package kresources -Summary: Trinity pim resource plugins -Group: Environment/Libraries -#Requires: trinity-kaddressbook = %{version}-%{release} -#Requires: trinity-korganizer = %{version}-%{release} -#Requires: trinity-knotes = %{version}-%{release} -Requires: libcaldav -Requires: libcarddav - -Obsoletes: tdepim-kresources < %{version}-%{release} - -%description kresources -This package includes several plugins needed to interface with groupware -servers. It also includes plugins for features such as blogging and -tracking feature plans. - -%files kresources -%{tde_tdelibdir}/kcal_caldav.la -%{tde_tdelibdir}/kcal_caldav.so -%{tde_tdelibdir}/kcal_groupdav.la -%{tde_tdelibdir}/kcal_groupdav.so -%{tde_tdelibdir}/kcal_groupwise.la -%{tde_tdelibdir}/kcal_groupwise.so -%{tde_tdelibdir}/kcal_kolab.la -%{tde_tdelibdir}/kcal_kolab.so -%{tde_tdelibdir}/kcal_scalix.la -%{tde_tdelibdir}/kcal_scalix.so -%{tde_tdelibdir}/kcal_newexchange.la -%{tde_tdelibdir}/kcal_newexchange.so -%{tde_tdelibdir}/kcal_resourcefeatureplan.la -%{tde_tdelibdir}/kcal_resourcefeatureplan.so -%{tde_tdelibdir}/kcal_slox.la -%{tde_tdelibdir}/kcal_slox.so -%{tde_tdelibdir}/kcal_xmlrpc.la -%{tde_tdelibdir}/kcal_xmlrpc.so -%{tde_tdelibdir}/knotes_kolab.la -%{tde_tdelibdir}/knotes_kolab.so -%{tde_tdelibdir}/knotes_scalix.la -%{tde_tdelibdir}/knotes_scalix.so -%{tde_tdelibdir}/knotes_xmlrpc.la -%{tde_tdelibdir}/knotes_xmlrpc.so -%{tde_libdir}/libkabckolab.so.* -%{tde_libdir}/libkabcscalix.so.* -%{tde_libdir}/libkabc_groupdav.so.* -%{tde_libdir}/libkabc_groupwise.so.* -%{tde_libdir}/libkabc_newexchange.so.* -%{tde_libdir}/libkabc_slox.so.* -%{tde_libdir}/libkabc_xmlrpc.so.* -%{tde_libdir}/libkcalkolab.so.* -%{tde_libdir}/libkcalscalix.so.* -%{tde_libdir}/libkcal_caldav.so.* -%{tde_libdir}/libkabc_carddav.so.* -%{tde_libdir}/libkcal_groupdav.so.* -%{tde_libdir}/libkcal_groupwise.so.* -%{tde_libdir}/libkcal_newexchange.so.* -%{tde_libdir}/libkcal_resourcefeatureplan.so.* -%{tde_libdir}/libkcal_slox.so.* -%{tde_libdir}/libkcal_xmlrpc.so.* -%{tde_libdir}/libkgroupwarebase.so.* -%{tde_libdir}/libkgroupwaredav.so.* -%{tde_libdir}/libknoteskolab.so.* -%{tde_libdir}/libknotesscalix.so.* -%{tde_libdir}/libknotes_xmlrpc.so.* -%{tde_libdir}/libkslox.so.* -%{tde_libdir}/libgwsoap.so.* -%{tde_datadir}/services/kresources/kabc/kabc_groupdav.desktop -%{tde_datadir}/services/kresources/kabc/kabc_groupwise.desktop -%{tde_datadir}/services/kresources/kabc/kabc_newexchange.desktop -%{tde_datadir}/services/kresources/kabc/kabc_opengroupware.desktop -%{tde_datadir}/services/kresources/kabc/kabc_ox.desktop -%{tde_datadir}/services/kresources/kabc/kabc_slox.desktop -%{tde_datadir}/services/kresources/kabc/kabc_xmlrpc.desktop -%{tde_datadir}/services/kresources/kabc/kolab.desktop -%{tde_datadir}/services/kresources/kabc/scalix.desktop -%{tde_datadir}/services/kresources/kcal/exchange.desktop -%{tde_datadir}/services/kresources/kcal/kcal_caldav.desktop -%{tde_datadir}/services/kresources/kabc/kabc_carddav.desktop -%{tde_datadir}/services/kresources/kcal/kcal_groupdav.desktop -%{tde_datadir}/services/kresources/kcal/kcal_groupwise.desktop -%{tde_datadir}/services/kresources/kcal/kcal_newexchange.desktop -%{tde_datadir}/services/kresources/kcal/kcal_opengroupware.desktop -%{tde_datadir}/services/kresources/kcal/kcal_ox.desktop -%{tde_datadir}/services/kresources/kcal/kcal_resourcefeatureplan.desktop -%{tde_datadir}/services/kresources/kcal/kcal_slox.desktop -%{tde_datadir}/services/kresources/kcal/kcal_xmlrpc.desktop -%{tde_datadir}/services/kresources/kcal/kolab.desktop -%{tde_datadir}/services/kresources/kcal/scalix.desktop -%{tde_datadir}/services/kresources/knotes/knotes_xmlrpc.desktop -%{tde_datadir}/services/kresources/knotes/kolabresource.desktop -%{tde_datadir}/services/kresources/knotes/scalix.desktop - -%{tde_datadir}/apps/kconf_update/upgrade-resourcetype.pl -%{tde_datadir}/apps/kconf_update/kolab-resource.upd - -%{tde_tdelibdir}/kabc_carddav.la -%{tde_tdelibdir}/kabc_carddav.so -%{tde_tdelibdir}/kabc_groupdav.la -%{tde_tdelibdir}/kabc_groupdav.so -%{tde_tdelibdir}/kabc_groupwise.la -%{tde_tdelibdir}/kabc_groupwise.so -%{tde_tdelibdir}/kabc_kolab.la -%{tde_tdelibdir}/kabc_kolab.so -%{tde_tdelibdir}/kabc_newexchange.la -%{tde_tdelibdir}/kabc_newexchange.so -%{tde_tdelibdir}/kabc_scalix.la -%{tde_tdelibdir}/kabc_scalix.so -%{tde_tdelibdir}/kabc_slox.la -%{tde_tdelibdir}/kabc_slox.so -%{tde_tdelibdir}/kabc_xmlrpc.la -%{tde_tdelibdir}/kabc_xmlrpc.so - -%post kresources -/sbin/ldconfig || : - -%postun kresources -/sbin/ldconfig || : - -########## - -%package kresources-devel -Summary: Development files for kresources -Group: Development/Libraries -Requires: %{name}-kresources = %{version}-%{release} -Requires: libcaldav -Requires: libcarddav - -Obsoletes: tdepim-kresources-devel < %{version}-%{release} - -%description kresources-devel -%{summary} - -%files kresources-devel -%{tde_libdir}/libkslox.la -%{tde_libdir}/libkslox.so -%{tde_libdir}/libkabc_groupdav.la -%{tde_libdir}/libkabc_groupdav.so -%{tde_libdir}/libkabc_groupwise.la -%{tde_libdir}/libkabc_groupwise.so -%{tde_libdir}/libgwsoap.la -%{tde_libdir}/libgwsoap.so -%{tde_libdir}/libkabc_carddav.la -%{tde_libdir}/libkabc_carddav.so -%{tde_libdir}/libkabc_newexchange.la -%{tde_libdir}/libkabc_newexchange.so -%{tde_libdir}/libkabc_slox.la -%{tde_libdir}/libkabc_slox.so -%{tde_libdir}/libkabc_xmlrpc.la -%{tde_libdir}/libkabc_xmlrpc.so -%{tde_libdir}/libkabckolab.la -%{tde_libdir}/libkabckolab.so -%{tde_libdir}/libkabcscalix.la -%{tde_libdir}/libkabcscalix.so -%{tde_libdir}/libkcal_caldav.la -%{tde_libdir}/libkcal_caldav.so -%{tde_libdir}/libkcal_groupdav.la -%{tde_libdir}/libkcal_groupdav.so -%{tde_libdir}/libkcal_groupwise.la -%{tde_libdir}/libkcal_groupwise.so -%{tde_libdir}/libkcal_newexchange.la -%{tde_libdir}/libkcal_newexchange.so -%{tde_libdir}/libkcal_resourcefeatureplan.la -%{tde_libdir}/libkcal_resourcefeatureplan.so -%{tde_libdir}/libkcal_slox.la -%{tde_libdir}/libkcal_slox.so -%{tde_libdir}/libkcal_xmlrpc.la -%{tde_libdir}/libkcal_xmlrpc.so -%{tde_libdir}/libkcalkolab.la -%{tde_libdir}/libkcalkolab.so -%{tde_libdir}/libkcalscalix.la -%{tde_libdir}/libkcalscalix.so -%{tde_libdir}/libkgroupwarebase.la -%{tde_libdir}/libkgroupwarebase.so -%{tde_libdir}/libkgroupwaredav.la -%{tde_libdir}/libkgroupwaredav.so -%{tde_libdir}/libknotes_xmlrpc.la -%{tde_libdir}/libknotes_xmlrpc.so -%{tde_libdir}/libknoteskolab.la -%{tde_libdir}/libknoteskolab.so -%{tde_libdir}/libknotesscalix.la -%{tde_libdir}/libknotesscalix.so -%{tde_tdeincludedir}/kpimprefs.h - -%post kresources-devel -/sbin/ldconfig || : - -%postun kresources-devel -/sbin/ldconfig || : - -########## - -%package wizards -Summary: Trinity server configuration wizards -Group: Applications/Communications - -Obsoletes: tdepim-wizards < %{version}-%{release} - -%description wizards -This package contains KDE-based wizards for configuring eGroupware, -Kolab, and SUSE Linux Openexchange servers. - -%files wizards -%{tde_bindir}/egroupwarewizard -%{tde_bindir}/exchangewizard -%{tde_bindir}/groupwarewizard -%{tde_bindir}/groupwisewizard -%{tde_bindir}/kolabwizard -%{tde_bindir}/scalixadmin -%{tde_bindir}/scalixwizard -%{tde_bindir}/sloxwizard -%{tde_tdelibdir}/libegroupwarewizard.la -%{tde_tdelibdir}/libegroupwarewizard.so -%{tde_tdelibdir}/libexchangewizard.la -%{tde_tdelibdir}/libexchangewizard.so -%{tde_tdelibdir}/libgroupwisewizard.la -%{tde_tdelibdir}/libgroupwisewizard.so -%{tde_tdelibdir}/libkolabwizard.la -%{tde_tdelibdir}/libkolabwizard.so -%{tde_tdelibdir}/libscalixwizard.la -%{tde_tdelibdir}/libscalixwizard.so -%{tde_tdelibdir}/libsloxwizard.la -%{tde_tdelibdir}/libsloxwizard.so -%{tde_tdeappdir}/groupwarewizard.desktop -%{tde_datadir}/config.kcfg/egroupware.kcfg -%{tde_datadir}/config.kcfg/groupwise.kcfg -%{tde_datadir}/config.kcfg/kolab.kcfg -%{tde_datadir}/config.kcfg/scalix.kcfg -%{tde_datadir}/config.kcfg/slox.kcfg - -%post wizards -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun wizards -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%if %{?with_kitchensync} -%package -n trinity-kitchensync -Summary: Synchronization framework -Group: Applications/Communications -#Suggests: konqueror-trinity -#Conflicts: kdebluetooth-irmcsync-trinity (<< 0.99+1.0beta2-4.1), ksync-trinity - -%description -n trinity-kitchensync -This package contains a synchronization framework, still under heavy -development (?). Kitchensync uses opensync. - -%files -n trinity-kitchensync -%{tde_bindir}/kitchensync -%{tde_tdelibdir}/libkitchensyncpart.la -%{tde_tdelibdir}/libkitchensyncpart.so -%{tde_datadir}/apps/kitchensync -%{tde_libdir}/libkitchensync.so.* -%{tde_libdir}/libqopensync.so.* -%{tde_tdeappdir}/kitchensync.desktop -%{tde_datadir}/icons/hicolor/*/apps/kitchensync.png - -%post -n trinity-kitchensync -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kitchensync -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : -%endif - -########## - -%package -n trinity-kleopatra -Summary: Trinity Certificate Manager -Group: Applications/Communications -Requires: gnupg2 -Requires: dirmngr -Requires: pinentry - -%description -n trinity-kleopatra -Kleopatra is the TDE tool for managing X.509 certificates in the gpgsm -keybox and for retrieving certificates from LDAP servers. - -%files -n trinity-kleopatra -%{tde_bindir}/kleopatra -%{tde_bindir}/kwatchgnupg -%{tde_tdelibdir}/kcm_kleopatra.la -%{tde_tdelibdir}/kcm_kleopatra.so -%{tde_tdeappdir}/kleopatra_import.desktop -%{tde_datadir}/apps/kleopatra -%{tde_datadir}/apps/kwatchgnupg -%{tde_datadir}/services/kleopatra_config_*.desktop -%{tde_tdedocdir}/HTML/en/kleopatra/ -%{tde_tdedocdir}/HTML/en/kwatchgnupg/ - -%post -n trinity-kleopatra -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kleopatra -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kmail -Summary: Trinity Email client -Group: Applications/Communications -Requires: %{name}-kio-plugins = %{version}-%{release} -Requires: gnupg2 -Requires: pinentry -Requires: procmail -Requires: trinity-kaddressbook = %{version}-%{release} -Requires: trinity-kleopatra = %{version}-%{release} -Requires: trinity-kdebase-pim-ioslaves - -Provides: imap-client, mail-reader - -%description -n trinity-kmail -KMail is a fully-featured email client that fits nicely into the TDE -desktop. It has features such as support for IMAP, POP3, multiple accounts, -mail filtering and sorting, PGP/GnuPG privacy, and inline attachments. - -You need to install %{name}-kio-plugins if you want to use IMAP or -mbox files, and/or trinity-tdebase-kio-plugins if you want to use POP3. - -%files -n trinity-kmail -%{tde_datadir}/config/kmail.antispamrc -%{tde_datadir}/config/kmail.antivirusrc -%{tde_bindir}/kmail -%{tde_bindir}/kmail_*.sh -%{tde_tdelibdir}/kcm_kmail.la -%{tde_tdelibdir}/kcm_kmail.so -%{tde_tdelibdir}/libkmail_bodypartformatter_application_octetstream.la -%{tde_tdelibdir}/libkmail_bodypartformatter_application_octetstream.so -%{tde_tdelibdir}/libkmail_bodypartformatter_text_calendar.la -%{tde_tdelibdir}/libkmail_bodypartformatter_text_calendar.so -%{tde_tdelibdir}/libkmail_bodypartformatter_text_vcard.la -%{tde_tdelibdir}/libkmail_bodypartformatter_text_vcard.so -%{tde_tdelibdir}/libkmail_bodypartformatter_text_xdiff.la -%{tde_tdelibdir}/libkmail_bodypartformatter_text_xdiff.so -%{tde_tdelibdir}/libkmailpart.la -%{tde_tdelibdir}/libkmailpart.so -%{tde_tdeappdir}/KMail.desktop -%{tde_tdeappdir}/kmail_view.desktop -%{tde_datadir}/apps/kconf_update/kmail-3.1-update-new-mail-notification-settings.pl -%{tde_datadir}/apps/kconf_update/kmail-3.1-use-UOID-for-identities.pl -%{tde_datadir}/apps/kconf_update/kmail-3.1.4-dont-use-UOID-0-for-any-identity.pl -%{tde_datadir}/apps/kconf_update/kmail-3.2-misc.sh -%{tde_datadir}/apps/kconf_update/kmail-3.2-update-loop-on-goto-unread-settings.sh -%{tde_datadir}/apps/kconf_update/kmail-3.3-aegypten.pl -%{tde_datadir}/apps/kconf_update/kmail-3.3-misc.pl -%{tde_datadir}/apps/kconf_update/kmail-3.3-move-identities.pl -%{tde_datadir}/apps/kconf_update/kmail-3.3-split-sign-encr-keys.sh -%{tde_datadir}/apps/kconf_update/kmail-3.3-use-ID-for-accounts.pl -%{tde_datadir}/apps/kconf_update/kmail-3.3b1-misc.pl -%{tde_datadir}/apps/kconf_update/kmail-3.4-misc.pl -%{tde_datadir}/apps/kconf_update/kmail-3.4.1-update-status-filters.pl -%{tde_datadir}/apps/kconf_update/kmail-3.5-trigger-flag-migration.pl -%{tde_datadir}/apps/kconf_update/kmail-3.5-filter-icons.pl -%{tde_datadir}/apps/kconf_update/kmail-pgpidentity.pl -%{tde_datadir}/apps/kconf_update/kmail-upd-identities.pl -%{tde_datadir}/apps/kconf_update/kmail.upd -%{tde_datadir}/apps/kconf_update/upgrade-signature.pl -%{tde_datadir}/apps/kconf_update/upgrade-transport.pl -%{tde_datadir}/apps/kmail -%{tde_datadir}/config.kcfg/custommimeheader.kcfg -%{tde_datadir}/config.kcfg/kmail.kcfg -%{tde_datadir}/config.kcfg/customtemplates_kfg.kcfg -%{tde_datadir}/config.kcfg/replyphrases.kcfg -%{tde_datadir}/config.kcfg/templatesconfiguration_kfg.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/kmaillight.png -%{tde_datadir}/icons/hicolor/*/apps/kmail.png -%{tde_datadir}/icons/hicolor/scalable/apps/kmail.svgz -%{tde_datadir}/services/kmail_config_*.desktop -%{tde_datadir}/services/kontact/kmailplugin.desktop -%{tde_datadir}/servicetypes/dcopimap.desktop -%{tde_datadir}/servicetypes/dcopmail.desktop -# 'libkmailprivate.so' is required at runtime, not devel ! -%{tde_libdir}/libkmailprivate.so -%{tde_libdir}/libkmailprivate.la -%{tde_tdedocdir}/HTML/en/kmail/ - -%post -n trinity-kmail -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kmail -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kmail-devel -Summary: Development files for kmail -Group: Development/Libraries - -%description -n trinity-kmail-devel -%{summary} - -%files -n trinity-kmail-devel -%{tde_tdeincludedir}/kmail/ -%{tde_tdeincludedir}/kmail*.h - -%post -n trinity-kmail-devel -/sbin/ldconfig || : - -%postun -n trinity-kmail-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kmailcvt -Summary: Trinity KMail mail folder converter -Group: Applications/Communications -Requires: trinity-kmail = %{version}-%{release} - -%description -n trinity-kmailcvt -Converts mail folders to KMail format. Formats supported for import -include Outlook Express, Evolution, and plain mbox. - -%files -n trinity-kmailcvt -%{tde_bindir}/kmailcvt -%{tde_datadir}/applnk/Utilities/kmailcvt.desktop -%{tde_datadir}/apps/kmailcvt -%{tde_datadir}/icons/crystalsvg/*/apps/kmailcvt.png - -%post -n trinity-kmailcvt -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - -%postun -n trinity-kmailcvt -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - -########## - -%package -n trinity-knode -Summary: Trinity news reader -Group: Applications/Internet - -%description -n trinity-knode -KNode is an easy-to-use, convenient newsreader. It is intended to be usable -by inexperienced users, but also includes support for such features as -MIME attachments, article scoring, and creating and verifying GnuPG -signatures. - -%files -n trinity-knode -%{tde_bindir}/knode -%{tde_tdelibdir}/kcm_knode.la -%{tde_tdelibdir}/kcm_knode.so -%{tde_tdelibdir}/libknodepart.la -%{tde_tdelibdir}/libknodepart.so -%{tde_libdir}/libknodecommon.so.* -%{tde_tdeappdir}/KNode.desktop -%{tde_datadir}/apps/knode/ -%{tde_datadir}/icons/hicolor/*/apps/knode.png -%{tde_datadir}/icons/hicolor/*/apps/knode2.png -%{tde_datadir}/services/knewsservice.protocol -%{tde_datadir}/services/knode_config_*.desktop -%{tde_datadir}/services/kontact/knodeplugin.desktop -%{tde_tdedocdir}/HTML/en/knode/ - -%post -n trinity-knode -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-knode -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-knode-devel -Summary: Development files for trinity-knode -Group: Development/Libraries -Requires: trinity-knode = %{version}-%{release} - -%description -n trinity-knode-devel -%{summary} - -%files -n trinity-knode-devel -%{tde_libdir}/libknodecommon.la -%{tde_libdir}/libknodecommon.so - -%post -n trinity-knode-devel -/sbin/ldconfig || : - -%postun -n trinity-knode-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-knotes -Summary: Trinity sticky notes -Group: Applications/Utilities -Requires: trinity-tdepim-kresources = %{version}-%{release} - -%description -n trinity-knotes -KNotes is a program that lets you write sticky notes. The notes are saved -automatically when you exit the program, and they display when you open the -program. The program supports printing and mailing your notes. - -%files -n trinity-knotes -%{tde_bindir}/knotes -%{tde_tdelibdir}/knotes_local.la -%{tde_tdelibdir}/knotes_local.so -%{tde_libdir}/libknotes.so.* -%{tde_tdeappdir}/knotes.desktop -%{tde_datadir}/apps/knotes -%{tde_datadir}/config.kcfg/knoteconfig.kcfg -%{tde_datadir}/config.kcfg/knotesglobalconfig.kcfg -%{tde_datadir}/icons/hicolor/*/apps/knotes.png -%{tde_datadir}/services/kresources/knotes/imap.desktop -%{tde_datadir}/services/kresources/knotes/local.desktop -%{tde_datadir}/services/kresources/knotes_manager.desktop -%{tde_datadir}/services/kontact/knotesplugin.desktop -%{tde_tdedocdir}/HTML/en/knotes/ - -%post -n trinity-knotes -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-knotes -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-knotes-devel -Summary: Development files for knots -Group: Development/Libraries -Requires: trinity-knotes = %{version}-%{release} -Requires: %{name}-kresources-devel = %{version}-%{release} - -%description -n trinity-knotes-devel -%{summary} - -%files -n trinity-knotes-devel -%{tde_libdir}/libknotes.so -%{tde_libdir}/libknotes.la -%{tde_tdeincludedir}/KNotesAppIface.h -%{tde_tdeincludedir}/KNotesIface.h - -%post -n trinity-knotes-devel -/sbin/ldconfig || : - -%postun -n trinity-knotes-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kode -Summary: Helper library for programmatic generation of C++ code -Group: Development/Libraries - -%description -n trinity-kode -This package includes a program kode for generation of C++ template files -and kxml_compiler for generation of C++ classes representing XML data -described by RelaxNG schemes. - -%files -n trinity-kode -%{tde_bindir}/kode -%{tde_bindir}/kxml_compiler -%{tde_libdir}/libkode.so.* - -%post -n trinity-kode -/sbin/ldconfig || : - -%postun -n trinity-kode -/sbin/ldconfig || : - -########## - -%package -n trinity-kode-devel -Summary: Development files for trinity-kode -Group: Development/Libraries -Requires: trinity-kode = %{version}-%{release} - -%description -n trinity-kode-devel -%{summary} - -%files -n trinity-kode-devel -%{tde_libdir}/libkode.la -%{tde_libdir}/libkode.so - -%post -n trinity-kode-devel -/sbin/ldconfig || : - -%postun -n trinity-kode-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-konsolekalendar -Summary: Trinity konsole personal organizer -Group: Applications/Productivity - -%description -n trinity-konsolekalendar -KonsoleKalendar is a command-line interface to TDE calendars. -Konsolekalendar complements the TDE KOrganizer by providing a console -frontend to manage your calendars. - -%files -n trinity-konsolekalendar -%{tde_bindir}/konsolekalendar -%{tde_tdeappdir}/konsolekalendar.desktop -%{tde_datadir}/icons/crystalsvg/*/apps/konsolekalendar.png -%{tde_tdedocdir}/HTML/en/konsolekalendar/ - -%post -n trinity-konsolekalendar -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-konsolekalendar -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kontact -Summary: Trinity pim application -Group: Applications/Communications -Requires: trinity-kmail = %{version}-%{release} -Requires: trinity-korganizer = %{version}-%{release} -Requires: trinity-kaddressbook = %{version}-%{release} -Requires: trinity-knode = %{version}-%{release} -Requires: trinity-knotes = %{version}-%{release} -Requires: trinity-akregator = %{version}-%{release} - -%description -n trinity-kontact -Kontact is the integrated solution to your personal information management -needs. It combines TDE applications like KMail, KOrganizer, and -KAddressBook into a single interface to provide easy access to mail, -scheduling, address book and other PIM functionality. - -%files -n trinity-kontact -%{tde_bindir}/kontact -%{tde_tdelibdir}/kcm_kmailsummary.la -%{tde_tdelibdir}/kcm_kmailsummary.so -%{tde_tdelibdir}/kcm_kontact.la -%{tde_tdelibdir}/kcm_kontact.so -%{tde_tdelibdir}/kcm_kontactknt.la -%{tde_tdelibdir}/kcm_kontactknt.so -%{tde_tdelibdir}/kcm_kontactsummary.la -%{tde_tdelibdir}/kcm_kontactsummary.so -%{tde_tdelibdir}/kcm_korgsummary.la -%{tde_tdelibdir}/kcm_korgsummary.so -%{tde_tdelibdir}/kcm_sdsummary.la -%{tde_tdelibdir}/kcm_sdsummary.so -%{tde_tdelibdir}/libkontact_*.la -%{tde_tdelibdir}/libkontact_*.so -%{tde_libdir}/libkontact.so.* -%{tde_libdir}/libkpinterfaces.so.* -%{tde_tdeappdir}/Kontact.desktop -%{tde_tdeappdir}/kontactdcop.desktop -%{tde_datadir}/apps/kontact -%{tde_datadir}/apps/kontactsummary/kontactsummary_part.rc -%{tde_datadir}/config.kcfg/kontact.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kontact.png -%{tde_datadir}/icons/crystalsvg/*/actions/kontact_*.png -%{tde_datadir}/services/kcmkmailsummary.desktop -%{tde_datadir}/services/kcmkontactknt.desktop -%{tde_datadir}/services/kcmkontactsummary.desktop -%{tde_datadir}/services/kcmkorgsummary.desktop -%{tde_datadir}/services/kcmsdsummary.desktop -%{tde_datadir}/services/kontact/newstickerplugin.desktop -%{tde_datadir}/services/kontact/specialdatesplugin.desktop -%{tde_datadir}/services/kontact/summaryplugin.desktop -%{tde_datadir}/services/kontact/weatherplugin.desktop -%{tde_datadir}/services/kontactconfig.desktop -%{tde_datadir}/servicetypes/kontactplugin.desktop -%{tde_tdedocdir}/HTML/en/kontact/ -%{tde_tdedocdir}/HTML/en/kpilot/ - -%post -n trinity-kontact -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kontact -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kontact-devel -Summary: Development files for kontact -Group: Development/Libraries -Requires: trinity-kontact = %{version}-%{release} - -%description -n trinity-kontact-devel -%{summary} - -%files -n trinity-kontact-devel -%{tde_libdir}/libkontact.la -%{tde_libdir}/libkontact.so -%{tde_libdir}/libkpinterfaces.la -%{tde_libdir}/libkpinterfaces.so -%{tde_tdeincludedir}/kontact/ - -%post -n trinity-kontact-devel -/sbin/ldconfig || : - -%postun -n trinity-kontact-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-korganizer -Summary: Trinity personal organizer -Group: Applications/Productivity -Requires: trinity-libkpimidentities = %{version}-%{release} -Requires: trinity-libkpimexchange = %{version}-%{release} -Requires: %{name}-kresources = %{version}-%{release} -Requires: perl - -%description -n trinity-korganizer -This package contains KOrganizer, a calendar and scheduling program. - -KOrganizer aims to be a complete program for organizing appointments, -contacts, projects, etc. KOrganizer natively supports information interchange -with other calendar applications, through the industry standard vCalendar -personal data interchange file format. This eases the move from other -modern PIMs to KOrganizer. - -KOrganizer offers full synchronization with Palm Pilots, if kpilot is -installed. - -%files -n trinity-korganizer -%{tde_bindir}/ical2vcal -%{tde_bindir}/korgac -%{tde_bindir}/korganizer -%{tde_tdelibdir}/kcm_korganizer.la -%{tde_tdelibdir}/kcm_korganizer.so -%{tde_tdelibdir}/libkorg_*.la -%{tde_tdelibdir}/libkorg_*.so -%{tde_tdelibdir}/libkorganizerpart.la -%{tde_tdelibdir}/libkorganizerpart.so -%{tde_libdir}/libkocorehelper.so.* -%{tde_libdir}/libkorg_stdprinting.so.* -%{tde_libdir}/libkorganizer.so.* -%{tde_libdir}/libkorganizer_calendar.so.* -%{tde_libdir}/libkorganizer_eventviewer.so.* -%{tde_tdeappdir}/korganizer.desktop -%{tde_datadir}/apps/kconf_update/korganizer.upd -%{tde_datadir}/apps/korgac -%{tde_datadir}/apps/korganizer -%{tde_datadir}/autostart/korgac.desktop -%{tde_datadir}/config.kcfg/korganizer.kcfg -%{tde_datadir}/icons/hicolor/*/apps/korganizer.png -%{tde_datadir}/services/kontact/korganizerplugin.desktop -%{tde_datadir}/services/kontact/journalplugin.desktop -%{tde_datadir}/services/kontact/todoplugin.desktop -%{tde_datadir}/services/korganizer_*.desktop -%{tde_datadir}/services/korganizer -%{tde_datadir}/services/webcal.protocol -%{tde_datadir}/servicetypes/calendardecoration.desktop -%{tde_datadir}/servicetypes/calendarplugin.desktop -%{tde_datadir}/servicetypes/dcopcalendar.desktop -%{tde_datadir}/servicetypes/korganizerpart.desktop -%{tde_datadir}/servicetypes/korgprintplugin.desktop -%{tde_tdeincludedir}/korganizer -%{tde_tdeincludedir}/korganizer -%{tde_tdeincludedir}/calendar -%{tde_tdedocdir}/HTML/en/korganizer/ - -%post -n trinity-korganizer -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-korganizer -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-korganizer-devel -Summary: Development files for korganizer -Group: Development/Libraries -Requires: trinity-korganizer = %{version}-%{release} - -%description -n trinity-korganizer-devel -%{summary} - -%files -n trinity-korganizer-devel -%{tde_libdir}/libkocorehelper.la -%{tde_libdir}/libkocorehelper.so -%{tde_libdir}/libkorg_stdprinting.la -%{tde_libdir}/libkorg_stdprinting.so -%{tde_libdir}/libkorganizer.la -%{tde_libdir}/libkorganizer.so -%{tde_libdir}/libkorganizer_calendar.la -%{tde_libdir}/libkorganizer_calendar.so -%{tde_libdir}/libkorganizer_eventviewer.la -%{tde_libdir}/libkorganizer_eventviewer.so - -%post -n trinity-korganizer-devel -/sbin/ldconfig || : - -%postun -n trinity-korganizer-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-korn -Summary: Trinity mail checker -Group: Applications/Communications -Requires: %{name}-kio-plugins = %{version}-%{release} -#Requires: tdebase-kio-plugins-trinity - -%description -n trinity-korn -Korn is a TDE mail checker that can display a small summary in the Kicker -tray. It supports checking mbox, pop3, imap4, and nntp sources. - -Once mail is received you can have Korn run a third party program or change -the color/icon of the Kicker display. In addition to this you can have -Korn run a program once you click on the docked icon in Kicker. - -%files -n trinity-korn -%{tde_bindir}/korn -%{tde_libdir}/kconf_update_bin/korn-3-4-config_change -%{tde_tdeappdir}/KOrn.desktop -%{tde_datadir}/apps/kconf_update/korn-3-4-config_change.upd -%{tde_datadir}/apps/kconf_update/korn-3-5-metadata-update.pl -%{tde_datadir}/apps/kconf_update/korn-3-5-ssl-update.pl -%{tde_datadir}/apps/kconf_update/korn-3-5-update.upd -%{tde_datadir}/icons/hicolor/*/apps/korn.png -%{tde_tdedocdir}/HTML/en/korn/ - -%post -n trinity-korn -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-korn -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ktnef -Summary: Trinity TNEF viewer -Group: Applications/Communications - -%description -n trinity-ktnef -The TNEF File Viewer allows you to handle mail attachments using the TNEF -format. These attachments are usually found in mails coming from Microsoft -mail servers and embed the mail properties as well as the actual attachments. - -%files -n trinity-ktnef -%{tde_bindir}/ktnef -%{tde_tdeappdir}/ktnef.desktop -%{tde_datadir}/apps/ktnef -%{tde_datadir}/icons/hicolor/*/apps/ktnef.png -%{tde_datadir}/icons/locolor/*/apps/ktnef.png -%{tde_datadir}/mimelnk/application/ms-tnef.desktop -%{tde_tdedocdir}/HTML/en/ktnef/ - -%post -n trinity-ktnef -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ktnef -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-libindex -Summary: Trinity indexing library -Group: Environment/Libraries - -%description -n trinity-libindex -This library provides text indexing and is currently used by KMail -to implement fast searches in mail bodies. - -This is the runtime package for programs that use the libindex library. - -%files -n trinity-libindex -%{tde_libdir}/libindex.so.* - -%post -n trinity-libindex -/sbin/ldconfig || : - -%postun -n trinity-libindex -/sbin/ldconfig || : - -########## - -%package -n trinity-libindex-devel -Summary: Trinity indexing library [development] -Group: Development/Libraries -Requires: trinity-libindex = %{version}-%{release} - -%description -n trinity-libindex-devel -This library provides text indexing and is currently used by KMail -to implement searching through mail text. - -This is the development package which contains the headers for the libindex-trinity -library. - -%files -n trinity-libindex-devel -%{tde_bindir}/indexlib-config -%{tde_tdeincludedir}/index -%{tde_libdir}/libindex.la -%{tde_libdir}/libindex.so - -%post -n trinity-libindex-devel -/sbin/ldconfig || : - -%postun -n trinity-libindex-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkcal -Summary: Trinity calendaring library -Group: Environment/Libraries -#Requires: %{name}-kresources = %{version}-%{release} - -%description -n trinity-libkcal -This library provides a C++ API for handling the vCalendar and iCalendar -formats. - -This is the runtime package for programs that use the libkcal-trinity library. - -%files -n trinity-libkcal -%{tde_tdelibdir}/kcal_kabc.la -%{tde_tdelibdir}/kcal_kabc.so -%{tde_tdelibdir}/kcal_localdir.la -%{tde_tdelibdir}/kcal_localdir.so -%{tde_tdelibdir}/kcal_local.la -%{tde_tdelibdir}/kcal_local.so -%{tde_tdelibdir}/kcal_remote.la -%{tde_tdelibdir}/kcal_remote.so -%{tde_libdir}/libkcal.so.* -%{tde_libdir}/libkcal_resourceremote.so.* -%{tde_libdir}/libkholidays.so.* -%{tde_datadir}/apps/libkholidays -%{tde_datadir}/services/kresources/kcal/imap.desktop -%{tde_datadir}/services/kresources/kcal/kabc.desktop -%{tde_datadir}/services/kresources/kcal/local.desktop -%{tde_datadir}/services/kresources/kcal/localdir.desktop -%{tde_datadir}/services/kresources/kcal/remote.desktop -%{tde_datadir}/services/kresources/kcal_manager.desktop - -%post -n trinity-libkcal -/sbin/ldconfig || : - -%postun -n trinity-libkcal -/sbin/ldconfig || : - -########## - -%package -n trinity-libkcal-devel -Summary: Trinity calendaring library [development] -Group: Development/Libraries -Requires: trinity-libkcal = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} -Requires: trinity-libktnef-devel = %{version}-%{release} - -%description -n trinity-libkcal-devel -This library provides a C++ API for handling the vCalendar and iCalendar -formats. - -This is the development package which contains the headers for the libkcal-trinity -library. - -%files -n trinity-libkcal-devel -%{tde_tdeincludedir}/libemailfunctions/idmapper.h -%{tde_tdeincludedir}/libkcal -%{tde_libdir}/libkcal.la -%{tde_libdir}/libkcal.so -%{tde_libdir}/libkcal_resourceremote.la -%{tde_libdir}/libkcal_resourceremote.so -%{tde_libdir}/libkholidays.la -%{tde_libdir}/libkholidays.so - -%post -n trinity-libkcal-devel -/sbin/ldconfig || : - -%postun -n trinity-libkcal-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libtdepim -Summary: Trinity PIM library -Group: Environment/Libraries -Requires: trinity-libkcal = %{version}-%{release} - -Obsoletes: libtdepim < %{version}-%{release} -Provides: libtdepim = %{version}-%{release} - -%description -n trinity-libtdepim -This is the runtime package for programs that use the libtdepim-trinity library. - -%files -n trinity-libtdepim -%{tde_tdelibdir}/plugins/designer/[kt]depimwidgets.la -%{tde_tdelibdir}/plugins/designer/[kt]depimwidgets.so -%{tde_tdelibdir}/plugins/designer/kpartsdesignerplugin.la -%{tde_tdelibdir}/plugins/designer/kpartsdesignerplugin.so -%{tde_libdir}/lib[kt]depim.so.* -%{tde_datadir}/apps/[kt]depimwidgets -%{tde_datadir}/apps/lib[kt]depim -%{tde_datadir}/apps/[kt]depim -%{tde_datadir}/config.kcfg/pimemoticons.kcfg -%{tde_datadir}/icons/crystalsvg/22x22/actions/button_fewer.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/button_more.png - -%post -n trinity-libtdepim -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -%postun -n trinity-libtdepim -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -########## - -%package -n trinity-libtdepim-devel -Summary: Trinity PIM library [development] -Group: Development/Libraries -Requires: trinity-libtdepim = %{version}-%{release} -Requires: trinity-kdelibs-devel - -Obsoletes: libtdepim-devel < %{version}-%{release} -Provides: libtdepim-devel = %{version}-%{release} - -%description -n trinity-libtdepim-devel -This is the development package which contains the headers for the libtdepim-trinity -library. - -%files -n trinity-libtdepim-devel -%{tde_tdeincludedir}/[kt]depimmacros.h -%{tde_libdir}/lib[kt]depim.la -%{tde_libdir}/lib[kt]depim.so - -%post -n trinity-libtdepim-devel -/sbin/ldconfig || : - -%postun -n trinity-libtdepim-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkgantt -Summary: Trinity gantt charting library -Group: Environment/Libraries - -%description -n trinity-libkgantt -This is the runtime package for programs that use the libkgantt-trinity library. - -%files -n trinity-libkgantt -%{tde_libdir}/libkgantt.so.* -%{tde_datadir}/apps/kgantt - -%post -n trinity-libkgantt -/sbin/ldconfig || : - -%postun -n trinity-libkgantt -/sbin/ldconfig || : - -########## - -%package -n trinity-libkgantt-devel -Summary: Trinity gantt charting library [development] -Group: Development/Libraries -Requires: trinity-libkgantt = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} - -%description -n trinity-libkgantt-devel -This is the development package which contains the headers for the libkgantt-trinity -library. - -%files -n trinity-libkgantt-devel -%{tde_tdeincludedir}/kgantt -%{tde_libdir}/libkgantt.la -%{tde_libdir}/libkgantt.so - -%post -n trinity-libkgantt-devel -/sbin/ldconfig || : - -%postun -n trinity-libkgantt-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkleopatra -Summary: TDE GnuPG interface libraries -Group: Environment/Libraries -Requires: gnupg - -%description -n trinity-libkleopatra -This library is used by several TDE applications to interface to the -GnuPG program. - -This is the runtime package for programs that use the libkleopatra-trinity library. - -%files -n trinity-libkleopatra -%{tde_datadir}/config/libkleopatrarc -%{tde_libdir}/libgpgme++.so.* -%{tde_libdir}/libkleopatra.so.* -%{tde_libdir}/libkpgp.so.* -%{tde_libdir}/libqgpgme.so.* -%{tde_datadir}/apps/kconf_update/kpgp-3.1-upgrade-address-data.pl -%{tde_datadir}/apps/kconf_update/kpgp.upd -%{tde_datadir}/apps/libkleopatra/ -%{tde_datadir}/icons/crystalsvg/*/apps/gpg.png -%{tde_datadir}/icons/crystalsvg/*/apps/gpgsm.png - -%post -n trinity-libkleopatra -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -%postun -n trinity-libkleopatra -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -########## - -%package -n trinity-libkleopatra-devel -Summary: Trinity GnuPG interface libraries [development] -Group: Development/Libraries -Requires: trinity-libkleopatra = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} - -%description -n trinity-libkleopatra-devel -This library is used by several KDE applications to interface to the -GnuPG program. - -This is the development package which contains the headers for the -libkleopatra-trinity library. - -%files -n trinity-libkleopatra-devel -%{tde_tdeincludedir}/gpgme++ -%{tde_tdeincludedir}/kleo -%{tde_tdeincludedir}/qgpgme -%{tde_libdir}/libgpgme++.la -%{tde_libdir}/libgpgme++.so -%{tde_libdir}/libkleopatra.la -%{tde_libdir}/libkleopatra.so -%{tde_libdir}/libkpgp.la -%{tde_libdir}/libkpgp.so -%{tde_libdir}/libqgpgme.la -%{tde_libdir}/libqgpgme.so - -%post -n trinity-libkleopatra-devel -/sbin/ldconfig || : - -%postun -n trinity-libkleopatra-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkmime -Summary: Trinity MIME interface library -Group: Environment/Libraries -#Conflicts: trinity-libmimelib - -%description -n trinity-libkmime -This library provides a C++ interface to MIME messages, parsing them into -an object tree. - -%files -n trinity-libkmime -%{tde_libdir}/libkmime.so.* - -%post -n trinity-libkmime -/sbin/ldconfig || : - -%postun -n trinity-libkmime -/sbin/ldconfig || : - -########## - -%package -n trinity-libkmime-devel -Summary: Development files for libkmime -Group: Development/Libraries -Requires: trinity-libkmime = %{version}-%{release} - -%description -n trinity-libkmime-devel -%{summary} - -%files -n trinity-libkmime-devel -%{tde_libdir}/libkmime.la -%{tde_libdir}/libkmime.so - -%post -n trinity-libkmime-devel -/sbin/ldconfig || : - -%postun -n trinity-libkmime-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkpimexchange -Summary: Trinity PIM Exchange library -Group: Environment/Libraries - -%description -n trinity-libkpimexchange -This is the runtime package for programs that use the libkpimexchange-trinity -library. - -%files -n trinity-libkpimexchange -%{tde_tdelibdir}/resourcecalendarexchange.la -%{tde_tdelibdir}/resourcecalendarexchange.so -%{tde_libdir}/libkpimexchange.so.* - -%post -n trinity-libkpimexchange -/sbin/ldconfig || : - -%postun -n trinity-libkpimexchange -/sbin/ldconfig || : - -########## - -%package -n trinity-libkpimexchange-devel -Summary: Trinity PIM Exchange library [development] -Group: Development/Libraries -Requires: trinity-libkpimexchange = %{version}-%{release} -Requires: trinity-libkcal-devel = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} - -%description -n trinity-libkpimexchange-devel -This is the development package which contains the headers for the -libkpimexchange-trinity library. - -%files -n trinity-libkpimexchange-devel -%{tde_tdeincludedir}/[kt]depim/exchangeaccount.h -%{tde_tdeincludedir}/[kt]depim/exchangeclient.h -%{tde_libdir}/libkpimexchange.la -%{tde_libdir}/libkpimexchange.so - -%post -n trinity-libkpimexchange-devel -/sbin/ldconfig || : - -%postun -n trinity-libkpimexchange-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkpimidentities -Summary: Trinity PIM user identity information library -Group: Environment/Libraries - -%description -n trinity-libkpimidentities -This library provides information to TDE programs about user identity, -such as email address, organization, etc. - -This is the runtime package for programs that use the libkpimidentities-trinity -library. - -%files -n trinity-libkpimidentities -%{tde_libdir}/libkpimidentities.so.* - -%post -n trinity-libkpimidentities -/sbin/ldconfig || : - -%postun -n trinity-libkpimidentities -/sbin/ldconfig || : - -########## - -%package -n trinity-libkpimidentities-devel -Summary: Development files for libkpimidentities -Group: Development/Libraries -Requires: trinity-libkpimidentities = %{version}-%{release} - -%description -n trinity-libkpimidentities-devel -%{summary} - -%files -n trinity-libkpimidentities-devel -%{tde_libdir}/libkpimidentities.la -%{tde_libdir}/libkpimidentities.so - -%post -n trinity-libkpimidentities-devel -/sbin/ldconfig || : - -%postun -n trinity-libkpimidentities-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libksieve -Summary: Trinity mail/news message filtering library -Group: Environment/Libraries - -%description -n trinity-libksieve -This is the runtime package for programs that use the libksieve-trinity library. - -%files -n trinity-libksieve -%{tde_libdir}/libksieve.so.* - -%post -n trinity-libksieve -/sbin/ldconfig || : - -%postun -n trinity-libksieve -/sbin/ldconfig || : - -########## - -%package -n trinity-libksieve-devel -Summary: Trinity mail/news message filtering library [development] -Group: Development/Libraries -Requires: trinity-libksieve = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} - -%description -n trinity-libksieve-devel -This is the development package which contains the headers for the libksieve-trinity -library. - -%files -n trinity-libksieve-devel -%{tde_tdeincludedir}/ksieve -%{tde_libdir}/libksieve.la -%{tde_libdir}/libksieve.so - -%post -n trinity-libksieve-devel -/sbin/ldconfig || : - -%postun -n trinity-libksieve-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libktnef -Summary: Library for handling KTNEF email attachments -Group: Environment/Libraries - -%description -n trinity-libktnef -This library handles mail attachments using the TNEF format. These -attachments are usually found in mails coming from Microsoft mail -servers and embed the mail properties as well as the actual -attachments. -. -This is the runtime library for packages using the ktnef-trinity library. - -%files -n trinity-libktnef -%{tde_libdir}/libktnef.so.* - -%post -n trinity-libktnef -/sbin/ldconfig || : - -%postun -n trinity-libktnef -/sbin/ldconfig || : - -########## - -%package -n trinity-libktnef-devel -Summary: KTNEF handler library [development] -Group: Development/Libraries -Requires: trinity-libktnef = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} - -%description -n trinity-libktnef-devel -This library handles mail attachments using the TNEF format. These -attachments are usually found in mails coming from Microsoft mail -servers and embed the mail properties as well as the actual -attachments. - -This is the development package which contains the headers for the -ktnef-trinity library. - -%files -n trinity-libktnef-devel -%{tde_tdeincludedir}/ktnef -%{tde_libdir}/libktnef.la -%{tde_libdir}/libktnef.so - -%post -n trinity-libktnef-devel -/sbin/ldconfig || : - -%postun -n trinity-libktnef-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libmimelib -Summary: Trinity mime library -Group: Environment/Libraries - -%description -n trinity-libmimelib -This library is used by several Trinity applications to handle mime types. - -This is the runtime package for programs that use the libmimelib-trinity library. - -%files -n trinity-libmimelib -%{tde_libdir}/libmimelib.so.* - -%post -n trinity-libmimelib -/sbin/ldconfig || : - -%postun -n trinity-libmimelib -/sbin/ldconfig || : - -########## - -%package -n trinity-libmimelib-devel -Summary: Trinity mime library [development] -Group: Development/Libraries -Requires: trinity-libmimelib = %{version}-%{release} - -%description -n trinity-libmimelib-devel -This library is used by several KDE applications to handle mime types. - -This is the development package which contains the headers for the -libmimelib library. - -%files -n trinity-libmimelib-devel -%{tde_tdeincludedir}/mimelib -%{tde_libdir}/libmimelib.la -%{tde_libdir}/libmimelib.so - -%post -n trinity-libmimelib-devel -/sbin/ldconfig || : - -%postun -n trinity-libmimelib-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kmobile -Summary: Synchronize and manage mobile phone with your PC. -Group: Applications/Communications - -%description -n trinity-kmobile -KMobileTools is a nice TDE-based application that allows to synchronize -and manage mobile phones with your PC. It handles full SMS control, -dialing calls, phonebook, and phone status monitoring. - -%files -n trinity-kmobile -%{tde_bindir}/kmobile -%{tde_datadir}/icons/default.kde/32x32/devices/mobile_camera.png -%{tde_datadir}/icons/default.kde/32x32/devices/mobile_musicplayer.png -%{tde_datadir}/icons/default.kde/32x32/devices/mobile_organizer.png -%{tde_datadir}/icons/default.kde/32x32/devices/mobile_phone.png -%{tde_datadir}/icons/default.kde/32x32/devices/mobile_unknown.png -%{tde_datadir}/icons/hicolor/*/apps/kmobile.png -%{tde_datadir}/services/libkmobile_digicam.desktop -%{tde_datadir}/services/libkmobile_gammu.desktop -%{tde_datadir}/services/libkmobile_skeleton.desktop -%{tde_datadir}/servicetypes/libkmobile.desktop -%{tde_datadir}/apps/kmobile/kmobileui.rc -%{tde_tdeappdir}/kmobile.desktop -%{tde_tdelibdir}/libkmobile_skeleton.la -%{tde_tdelibdir}/libkmobile_skeleton.so -%{tde_libdir}/libkmobileclient.la -%{tde_libdir}/libkmobileclient.so -%{tde_libdir}/libkmobiledevice.la -%{tde_libdir}/libkmobiledevice.so - -%post -n trinity-kmobile -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kmobile -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%prep -%setup -q -n kdepim -%patch1 -p1 -b .gcc47 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 -%patch8 -p1 -#patch9 -p1 -b .addquotes -%patch10 -p1 -b .segv -%patch11 -p1 -%patch12 -p1 -%patch13 -p1 -b .incdir -%patch14 -p1 -b .ldflags - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" -export LD_LIBRARY_PATH="%{tde_libdir}" - -%if 0%{?rhel} || 0%{?fedora} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - -DWITH_ARTS=ON \ - -DWITH_SASL=ON \ - -DWITH_NEWDISTRLISTS=ON \ -%if 0%{?with_gnokii} - -DWITH_GNOKII=ON \ -%else - -DWITH_GNOKII=OFF \ -%endif - -DWITH_EXCHANGE=ON \ - -DWITH_EGROUPWARE=ON \ - -DWITH_KOLAB=ON \ - -DWITH_SLOX=ON \ - -DWITH_GROUPWISE=ON \ - -DWITH_FEATUREPLAN=ON \ - -DWITH_GROUPDAV=ON \ - -DWITH_BIRTHDAYS=ON \ - -DWITH_NEWEXCHANGE=ON \ - -DWITH_SCALIX=ON \ - -DWITH_CALDAV=ON \ - -DWITH_CARDDAV=ON \ - -DWITH_INDEXLIB=ON \ -%if %{?with_kitchensync} - -DBUILD_KITCHENSYNC=ON \ -%endif - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} || %__make VERBOSE=1 - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{?buildroot} -C build - -%clean -%__rm -rf %{?buildroot} - - -%changelog -* Sun Jul 30 2012 Francois Andriot - 3.5.13-8 -- Add more '-devel' packages -- Add support for Mageia 2 - -* Sat Jun 30 2012 Francois Andriot - 3.5.13-7 -- Rename 'tdepim' to 'trinity-tdepim' -- Disable unneccesary fsync() in cached IMAP handler [Bug #467] [Commit #82d4a938] - -* Sat Jun 16 2012 Francois Andriot - 3.5.13-6 -- Rename 'kdepim' to 'tdepim' -- Add 'Requires: trinity-kdebase-pim-ioslaves' to add POP3 support to kmail -- Split into several packages -- Update kalarmd icon reference, which does not exist, to kalarm. [Commit #228ad1c6] - -* Sun May 27 2012 Francois Andriot - 3.5.13-5 -- Fix KMail counting of unread messages in the system tray icon [Commit #40c435e5] -- Fix knotes not appearing on the desktop when a session is restored. [Bug #987] [Commit #533f494f] -- Fix knotes to not close notes during saving session. [Bug #987] [Commit #c48253af] -- Fix linear alphabet string errors [Bug 635] [Commit #80bc593e] -- Fix infinite loop on IMAP4 authentication failure [Bug #1007] - -* Wed Apr 25 2012 Francois Andriot - 3.5.13-4 -- Fix compilation with GCC 4.7 [Bug #958] -- Reverse patch from GIT hash 33e649c9. [Bug #406] [Commit #2d5f15c8] -- Fix kmail composer crash [Bug #953] - -* Sun Nov 27 2011 Francois Andriot - 3.5.13-3 -- Add missing files '*.la' - -* Fri Nov 04 2011 Francois Andriot - 3.5.13-2 -- Updates BuildRequires - -* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 -- Initial release for RHEL 6, RHEL 5 and Fedora 15 - -* Mon Sep 05 2011 Francois Andriot - 3.5.12-0 -- Import to GIT diff --git a/redhat/tdepim/trinity-tdepim-14.0.0.spec b/redhat/tdepim/trinity-tdepim-14.0.0.spec deleted file mode 100644 index 3a5479727..000000000 --- a/redhat/tdepim/trinity-tdepim-14.0.0.spec +++ /dev/null @@ -1,2250 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -BuildRequires: cmake >= 2.8 -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/tde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -# KDEPIM specific features -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define with_gnokii 1 -BuildRequires: gnokii-devel -%endif - -# TDEPIM optional features -#define with_kitchensync 1 - - -Name: trinity-tdepim -Version: 14.0.0 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} -License: GPL -Group: Applications/Productivity - -Vendor: Trinity Project -Packager: Francois Andriot -Summary: Personal Information Management apps from the official Trinity release - -Prefix: %{tde_prefix} - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz - -# [tdepim] Missing LDFLAGS cause FTBFS on MGA2/MDV2011 -Patch14: kdepim-3.5.13-missing_ldflags.patch - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-arts-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} -BuildRequires: trinity-libcaldav-devel -BuildRequires: trinity-libcarddav-devel - -BuildRequires: gpgme-devel -BuildRequires: libgpg-error-devel -BuildRequires: flex -BuildRequires: libical-devel -BuildRequires: boost-devel -BuildRequires: pcre-devel -BuildRequires: glib2-devel -BuildRequires: gcc-c++ make -BuildRequires: libidn-devel - -# CURL support -%if 0%{?fedora} >= 15 -BuildRequires: flex-static -%endif -%if 0%{?rhel} > 0 && 0%{?rhel} <= 5 -BuildRequires: trinity-libcurl-devel -%else -BuildRequires: curl-devel -%endif - -# SASL support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}sasl2-devel -%else -BuildRequires: cyrus-sasl-devel -%endif - -# XCOMPOSITE support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 -BuildRequires: libXcomposite-devel -%endif - -# XSCREENSAVER support -# Disabled on RHEL4 -%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} -%define with_xscreensaver 1 -%if 0%{?rhel} == 5 -BuildRequires: xorg-x11-proto-devel -BuildRequires: gnome-screensaver -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel -%endif -%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} >= 1220 -BuildRequires: libXScrnSaver-devel -%endif -%if 0%{?suse_version} == 1140 -BuildRequires: xscreensaver -%endif -%endif - - -Requires: trinity-libtdepim = %{version}-%{release} -Requires: %{name}-kfile-plugins = %{version}-%{release} -Requires: %{name}-tdeio-plugins = %{version}-%{release} -Requires: %{name}-tderesources = %{version}-%{release} -Requires: %{name}-wizards = %{version}-%{release} -Requires: trinity-akregator = %{version}-%{release} -Requires: trinity-kaddressbook = %{version}-%{release} -Requires: trinity-kalarm = %{version}-%{release} -Requires: trinity-kandy = %{version}-%{release} -Requires: trinity-karm = %{version}-%{release} -Requires: trinity-kleopatra = %{version}-%{release} -Requires: trinity-kmail = %{version}-%{release} -Requires: trinity-kmailcvt = %{version}-%{release} -Requires: trinity-kmobile = %{version}-%{release} -Requires: trinity-knode = %{version}-%{release} -Requires: trinity-knotes = %{version}-%{release} -Requires: trinity-kode = %{version}-%{release} -Requires: trinity-konsolekalendar = %{version}-%{release} -Requires: trinity-kontact = %{version}-%{release} -Requires: trinity-korganizer = %{version}-%{release} -Requires: trinity-korn = %{version}-%{release} -Requires: trinity-ktnef = %{version}-%{release} -Requires: trinity-libindex = %{version}-%{release} -Requires: trinity-libkcal = %{version}-%{release} -Requires: trinity-libkgantt = %{version}-%{release} -Requires: trinity-libkleopatra = %{version}-%{release} -Requires: trinity-libkmime = %{version}-%{release} -Requires: trinity-libkpimexchange = %{version}-%{release} -Requires: trinity-libkpimidentities = %{version}-%{release} -Requires: trinity-libksieve = %{version}-%{release} -Requires: trinity-libktnef = %{version}-%{release} -Requires: trinity-libmimelib = %{version}-%{release} - -Obsoletes: trinity-kdepim < %{version}-%{release} -Provides: trinity-kdepim = %{version}-%{release} -Obsoletes: tdepim < %{version}-%{release} -Provides: tdepim = %{version}-%{release} - -%description -This metapackage includes a collection of Personal Information Management -(PIM) applications provided with the official release of Trinity. - -%files - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries - -Obsoletes: tdepim-cmake < %{version}-%{release} - -Obsoletes: trinity-kdepim-devel < %{version}-%{release} -Provides: trinity-kdepim-devel = %{version}-%{release} -Obsoletes: tdepim-devel < %{version}-%{release} -Provides: tdepim-devel = %{version}-%{release} - -Requires: %{name} = %{version}-%{release} -Requires: trinity-akregator-devel = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} -Requires: trinity-kaddressbook-devel = %{version}-%{release} -Requires: trinity-karm-devel = %{version}-%{release} -Requires: trinity-kmail-devel = %{version}-%{release} -Requires: trinity-knode-devel = %{version}-%{release} -Requires: trinity-knotes-devel = %{version}-%{release} -Requires: trinity-kode-devel = %{version}-%{release} -Requires: trinity-kontact-devel = %{version}-%{release} -Requires: trinity-korganizer-devel = %{version}-%{release} -Requires: trinity-libindex-devel = %{version}-%{release} -Requires: trinity-libkcal-devel = %{version}-%{release} -Requires: trinity-libkgantt-devel = %{version}-%{release} -Requires: trinity-libkleopatra-devel = %{version}-%{release} -Requires: trinity-libkmime-devel = %{version}-%{release} -Requires: trinity-libkpimexchange-devel = %{version}-%{release} -Requires: trinity-libkpimidentities-devel = %{version}-%{release} -Requires: trinity-libksieve-devel = %{version}-%{release} -Requires: trinity-libktnef-devel = %{version}-%{release} -Requires: trinity-libmimelib-devel = %{version}-%{release} -Requires: %{name}-tderesources-devel = %{version}-%{release} - -%description devel -This metapackage includes all development files for TDE PIM. -It also contains the CMAKE macros. - -%files devel -%defattr(-,root,root,-) -%{tde_datadir}/cmake/* - -########## - -%package -n trinity-akregator -Summary: RSS feed aggregator for TDE -Group: Applications/Internet -Requires: trinity-libtdepim = %{version}-%{release} -Requires: trinity-libkcal = %{version}-%{release} - -%description -n trinity-akregator -aKregator is a fast, lightweight, and intuitive feed reader program -for TDE. It allows you to quickly browse through hundreds of -thousands of internet feeds in a quick, efficient, and familiar way. - -%files -n trinity-akregator -%defattr(-,root,root,-) -%{tde_bindir}/akregator -%{tde_tdelibdir}/libakregatorpart.la -%{tde_tdelibdir}/libakregatorpart.so -%{tde_tdelibdir}/libakregator_mk4storage_plugin.la -%{tde_tdelibdir}/libakregator_mk4storage_plugin.so -%{tde_libdir}/libakregatorprivate.so.* -%{tde_tdeappdir}/akregator.desktop -%{tde_datadir}/apps/akregator -%{tde_datadir}/config.kcfg/akregator.kcfg -%{tde_datadir}/config.kcfg/mk4config.kcfg -%{tde_datadir}/icons/crystalsvg/*/actions/rss_tag.png -%{tde_datadir}/icons/crystalsvg/16x16/apps/akregator_empty.png -%{tde_datadir}/icons/hicolor/*/apps/akregator.png -%{tde_datadir}/icons/hicolor/scalable/apps/akregator.svgz -%{tde_datadir}/services/akregator_mk4storage_plugin.desktop -%{tde_datadir}/services/akregator_part.desktop -%{tde_datadir}/services/feed.protocol -%{tde_datadir}/services/kontact/akregatorplugin*.desktop -%{tde_datadir}/servicetypes/akregator_plugin.desktop -%{tde_tdedocdir}/HTML/en/akregator/ - -%post -n trinity-akregator -/sbin/ldconfig || : -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-akregator -/sbin/ldconfig || : -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-akregator-devel -Summary: Development files for trinity-akregator -Group: Development/Libraries -Requires: trinity-akregator = %{version}-%{release} - -%description -n trinity-akregator-devel -%{summary} - -%files -n trinity-akregator-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/akregator/ -%{tde_libdir}/libakregatorprivate.la -%{tde_libdir}/libakregatorprivate.so - -%post -n trinity-akregator-devel -/sbin/ldconfig || : - -%postun -n trinity-akregator-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kaddressbook -Summary: TDE addressbook application -Group: Applications/Communications -Requires: trinity-kdebase-pim-ioslaves -Requires: %{name}-tderesources = %{version}-%{release} - -%description -n trinity-kaddressbook -KAddressBook is the main address book application for TDE; it enables you -to manage your contacts efficiently and comfortably. It can load and save -your contacts to many different locations, including the local file system, -LDAP servers, and SQL databases. - -%files -n trinity-kaddressbook -%defattr(-,root,root,-) -%{tde_bindir}/kabc2mutt -%{tde_bindir}/kaddressbook -%{tde_bindir}/kabcdistlistupdater -%{tde_tdelibdir}/kcm_kabconfig.la -%{tde_tdelibdir}/kcm_kabconfig.so -%{tde_tdelibdir}/kcm_kabcustomfields.la -%{tde_tdelibdir}/kcm_kabcustomfields.so -%{tde_tdelibdir}/kcm_kabldapconfig.la -%{tde_tdelibdir}/kcm_kabldapconfig.so -%{tde_tdelibdir}/ldifvcardthumbnail.la -%{tde_tdelibdir}/ldifvcardthumbnail.so -%{tde_tdelibdir}/libkaddrbk_*.la -%{tde_tdelibdir}/libkaddrbk_*.so -%{tde_tdelibdir}/libkaddressbookpart.la -%{tde_tdelibdir}/libkaddressbookpart.so -%{tde_libdir}/libkabinterfaces.so.* -%{tde_libdir}/libkaddressbook.so.* -%{tde_tdeappdir}/kaddressbook.desktop -%{tde_datadir}/apps/kaddressbook -%{tde_datadir}/icons/hicolor/*/apps/kaddressbook.png -%{tde_datadir}/services/kabconfig.desktop -%{tde_datadir}/services/kabcustomfields.desktop -%{tde_datadir}/services/kabldapconfig.desktop -%{tde_datadir}/services/kaddressbook -%{tde_datadir}/services/kontact/kaddressbookplugin.desktop -%{tde_datadir}/services/tderesources/tdeabc/imap.desktop -%{tde_datadir}/services/ldifvcardthumbnail.desktop -%{tde_datadir}/servicetypes/dcopaddressbook.desktop -%{tde_datadir}/servicetypes/kaddressbook_contacteditorwidget.desktop -%{tde_datadir}/servicetypes/kaddressbookimprotocol.desktop -%{tde_datadir}/servicetypes/kaddressbook_extension.desktop -%{tde_datadir}/servicetypes/kaddressbook_view.desktop -%{tde_datadir}/servicetypes/kaddressbook_xxport.desktop -%{tde_tdedocdir}/HTML/en/kaddressbook/ -%{tde_datadir}/autostart/kabcdistlistupdater.desktop -%{tde_tdeincludedir}/kaddressbook/ -%{tde_tdeincludedir}/tdeabc/ - -%post -n trinity-kaddressbook -/sbin/ldconfig || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kaddressbook -/sbin/ldconfig || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kaddressbook-devel -Summary: Development files for trinity-kaddressbook -Group: Development/Libraries -Requires: trinity-kaddressbook = %{version}-%{release} - -%description -n trinity-kaddressbook-devel -%{summary} - -%files -n trinity-kaddressbook-devel -%defattr(-,root,root,-) -%{tde_libdir}/libkabinterfaces.la -%{tde_libdir}/libkabinterfaces.so -%{tde_libdir}/libkaddressbook.la -%{tde_libdir}/libkaddressbook.so - -%post -n trinity-kaddressbook-devel -/sbin/ldconfig || : - -%postun -n trinity-kaddressbook-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kalarm -Summary: Trinity alarm message, command and email scheduler -Group: Applications/Communications -Requires: trinity-libkpimidentities = %{version}-%{release} - -%description -n trinity-kalarm -KAlarm provides a graphical interface to schedule personal timed events - -pop-up alarm messages, command execution and sending emails. There is a -range of options for configuring recurring events. - -A pop-up alarm can show either a simple text message, or the contents of a -text or image file, It can optionally be spoken, or play a sound file. You -can choose its appearance, and set reminders. Among KAlarm's other -facilities, you can set up templates to allow KAlarm to be used as a 'tea -timer'. - -As an alternative to using the graphical interface, alarms can be scheduled -from the command line or via DCOP calls from other programs. KAlarm is -TDE-based, but will also run on other desktops. - -%files -n trinity-kalarm -%defattr(-,root,root,-) -%{tde_bindir}/kalarm -%{tde_bindir}/kalarmd -%{tde_tdeappdir}/kalarm.desktop -%{tde_datadir}/applnk/.hidden/kalarmd.desktop -%{tde_datadir}/applnk/Applications/kalarm.desktop -%{tde_datadir}/apps/kalarm -%{tde_datadir}/autostart/kalarm.tray.desktop -%{tde_datadir}/autostart/kalarmd.autostart.desktop -%{tde_datadir}/icons/crystalsvg/*/actions/kalarm.png -%{tde_datadir}/icons/hicolor/*/apps/kalarm.png -%{tde_tdedocdir}/HTML/en/kalarm/ - -%post -n trinity-kalarm -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kalarm -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kandy -Summary: Trinity mobile phone utility -Group: Applications/Communications - -%description -n trinity-kandy -At the moment Kandy is more or less a terminal program with some special -features to store commands and their parameters, but is also has a simple GUI -to access the phone book of a mobile phone and it is able to save this phone -book to the TDE address book. - -Kandy is aimed at mobile phones with integrated (GSM) modems. - -%files -n trinity-kandy -%defattr(-,root,root,-) -%{tde_bindir}/kandy -%{tde_bindir}/kandy_client -%{tde_tdeappdir}/kandy.desktop -%{tde_datadir}/applnk/Utilities/kandy.desktop -%{tde_datadir}/apps/kandy/ -%{tde_datadir}/icons/crystalsvg/*/apps/kandy.png -%{tde_datadir}/config.kcfg/kandy.kcfg -%{tde_tdedocdir}/HTML/en/kandy/ - -%post -n trinity-kandy -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kandy -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-karm -Summary: Trinity time tracker tool -Group: Applications/Productivity - -%description -n trinity-karm -KArm is a time tracker for busy people who need to keep track of the amount of -time they spend on various tasks. - -%files -n trinity-karm -%defattr(-,root,root,-) -%{tde_bindir}/karm -%{tde_libdir}/libkarm.so.* -%{tde_tdelibdir}/libkarmpart.la -%{tde_tdelibdir}/libkarmpart.so -%{tde_tdeappdir}/karm.desktop -%{tde_datadir}/applnk/Utilities/karm.desktop -%{tde_datadir}/apps/karm/ -%{tde_datadir}/apps/karmpart/ -%{tde_datadir}/icons/hicolor/*/apps/karm.png -%{tde_datadir}/services/karm_part.desktop -%{tde_datadir}/services/kontact/karmplugin.desktop -%{tde_tdedocdir}/HTML/en/karm/ - -%post -n trinity-karm -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-karm -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-karm-devel -Summary: Development files for karm -Group: Development/Libraries - -%description -n trinity-karm-devel -%{summary} - -%files -n trinity-karm-devel -%defattr(-,root,root,-) -%{tde_libdir}/libkarm.so -%{tde_libdir}/libkarm.la - -%post -n trinity-karm-devel -/sbin/ldconfig || : - -%postun -n trinity-karm-devel -/sbin/ldconfig || : - -########## - -%package kfile-plugins -Summary: TDE File dialog plugins for palm and vcf files -Group: Environment/Libraries - -Obsoletes: tdepim-kfile-plugins < %{version}-%{release} - -%description kfile-plugins -File dialog plugins for palm and vcf files. - -%files kfile-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/tdefile_ics.la -%{tde_tdelibdir}/tdefile_ics.so -%{tde_tdelibdir}/tdefile_vcf.la -%{tde_tdelibdir}/tdefile_vcf.so -%{tde_datadir}/services/tdefile_ics.desktop -%{tde_datadir}/services/tdefile_vcf.desktop - -########## - -%package tdeio-plugins -Summary: Trinity PIM I/O Slaves -Group: Environment/Libraries - -Obsoletes: tdepim-kio-plugins < %{version}-%{release} -Obsoletes: trinity-tdepim-kio-plugins < %{version}-%{release} -Provides: trinity-tdepim-kio-plugins = %{version}-%{release} - -%description tdeio-plugins -This package includes the pim kioslaves. This includes imap4, sieve, -and mbox. - -%files tdeio-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/tdeio_groupwise.la -%{tde_tdelibdir}/tdeio_groupwise.so -%{tde_tdelibdir}/tdeio_imap4.la -%{tde_tdelibdir}/tdeio_imap4.so -%{tde_tdelibdir}/tdeio_mbox.la -%{tde_tdelibdir}/tdeio_mbox.so -%{tde_tdelibdir}/tdeio_scalix.la -%{tde_tdelibdir}/tdeio_scalix.so -%{tde_tdelibdir}/tdeio_sieve.la -%{tde_tdelibdir}/tdeio_sieve.so -%{tde_datadir}/services/groupwise.protocol -%{tde_datadir}/services/groupwises.protocol -%{tde_datadir}/services/imap4.protocol -%{tde_datadir}/services/imaps.protocol -%{tde_datadir}/services/mbox.protocol -%{tde_datadir}/services/scalix.protocol -%{tde_datadir}/services/scalixs.protocol -%{tde_datadir}/services/sieve.protocol - -########## - -%package tderesources -Summary: Trinity pim resource plugins -Group: Environment/Libraries -#Requires: trinity-kaddressbook = %{version}-%{release} -#Requires: trinity-korganizer = %{version}-%{release} -#Requires: trinity-knotes = %{version}-%{release} -Requires: libcaldav -Requires: libcarddav - -Obsoletes: tdepim-tderesources < %{version}-%{release} - -%description tderesources -This package includes several plugins needed to interface with groupware -servers. It also includes plugins for features such as blogging and -tracking feature plans. - -%files tderesources -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcal_caldav.la -%{tde_tdelibdir}/kcal_caldav.so -%{tde_tdelibdir}/kcal_groupdav.la -%{tde_tdelibdir}/kcal_groupdav.so -%{tde_tdelibdir}/kcal_groupwise.la -%{tde_tdelibdir}/kcal_groupwise.so -%{tde_tdelibdir}/kcal_kolab.la -%{tde_tdelibdir}/kcal_kolab.so -%{tde_tdelibdir}/kcal_scalix.la -%{tde_tdelibdir}/kcal_scalix.so -%{tde_tdelibdir}/kcal_newexchange.la -%{tde_tdelibdir}/kcal_newexchange.so -%{tde_tdelibdir}/kcal_resourcefeatureplan.la -%{tde_tdelibdir}/kcal_resourcefeatureplan.so -%{tde_tdelibdir}/kcal_slox.la -%{tde_tdelibdir}/kcal_slox.so -%{tde_tdelibdir}/kcal_xmlrpc.la -%{tde_tdelibdir}/kcal_xmlrpc.so -%{tde_tdelibdir}/knotes_kolab.la -%{tde_tdelibdir}/knotes_kolab.so -%{tde_tdelibdir}/knotes_scalix.la -%{tde_tdelibdir}/knotes_scalix.so -%{tde_tdelibdir}/knotes_xmlrpc.la -%{tde_tdelibdir}/knotes_xmlrpc.so -%{tde_libdir}/libkabckolab.so.* -%{tde_libdir}/libkabcscalix.so.* -%{tde_libdir}/libkabc_groupdav.so.* -%{tde_libdir}/libkabc_groupwise.so.* -%{tde_libdir}/libkabc_newexchange.so.* -%{tde_libdir}/libkabc_slox.so.* -%{tde_libdir}/libkabc_xmlrpc.so.* -%{tde_libdir}/libkcalkolab.so.* -%{tde_libdir}/libkcalscalix.so.* -%{tde_libdir}/libkcal_caldav.so.* -%{tde_libdir}/libkabc_carddav.so.* -%{tde_libdir}/libkcal_groupdav.so.* -%{tde_libdir}/libkcal_groupwise.so.* -%{tde_libdir}/libkcal_newexchange.so.* -%{tde_libdir}/libkcal_resourcefeatureplan.so.* -%{tde_libdir}/libkcal_slox.so.* -%{tde_libdir}/libkcal_xmlrpc.so.* -%{tde_libdir}/libkgroupwarebase.so.* -%{tde_libdir}/libkgroupwaredav.so.* -%{tde_libdir}/libknoteskolab.so.* -%{tde_libdir}/libknotesscalix.so.* -%{tde_libdir}/libknotes_xmlrpc.so.* -%{tde_libdir}/libkslox.so.* -%{tde_libdir}/libgwsoap.so.* -%{tde_datadir}/services/tderesources/tdeabc/kabc_groupdav.desktop -%{tde_datadir}/services/tderesources/tdeabc/kabc_groupwise.desktop -%{tde_datadir}/services/tderesources/tdeabc/kabc_newexchange.desktop -%{tde_datadir}/services/tderesources/tdeabc/kabc_opengroupware.desktop -%{tde_datadir}/services/tderesources/tdeabc/kabc_ox.desktop -%{tde_datadir}/services/tderesources/tdeabc/kabc_slox.desktop -%{tde_datadir}/services/tderesources/tdeabc/kabc_xmlrpc.desktop -%{tde_datadir}/services/tderesources/tdeabc/kolab.desktop -%{tde_datadir}/services/tderesources/tdeabc/scalix.desktop -%{tde_datadir}/services/tderesources/kcal/exchange.desktop -%{tde_datadir}/services/tderesources/kcal/kcal_caldav.desktop -%{tde_datadir}/services/tderesources/tdeabc/kabc_carddav.desktop -%{tde_datadir}/services/tderesources/kcal/kcal_groupdav.desktop -%{tde_datadir}/services/tderesources/kcal/kcal_groupwise.desktop -%{tde_datadir}/services/tderesources/kcal/kcal_newexchange.desktop -%{tde_datadir}/services/tderesources/kcal/kcal_opengroupware.desktop -%{tde_datadir}/services/tderesources/kcal/kcal_ox.desktop -%{tde_datadir}/services/tderesources/kcal/kcal_resourcefeatureplan.desktop -%{tde_datadir}/services/tderesources/kcal/kcal_slox.desktop -%{tde_datadir}/services/tderesources/kcal/kcal_xmlrpc.desktop -%{tde_datadir}/services/tderesources/kcal/kolab.desktop -%{tde_datadir}/services/tderesources/kcal/scalix.desktop -%{tde_datadir}/services/tderesources/knotes/knotes_xmlrpc.desktop -%{tde_datadir}/services/tderesources/knotes/kolabresource.desktop -%{tde_datadir}/services/tderesources/knotes/scalix.desktop - -%{tde_datadir}/apps/kconf_update/upgrade-resourcetype.pl -%{tde_datadir}/apps/kconf_update/kolab-resource.upd - -%{tde_tdelibdir}/kabc_carddav.la -%{tde_tdelibdir}/kabc_carddav.so -%{tde_tdelibdir}/kabc_groupdav.la -%{tde_tdelibdir}/kabc_groupdav.so -%{tde_tdelibdir}/kabc_groupwise.la -%{tde_tdelibdir}/kabc_groupwise.so -%{tde_tdelibdir}/kabc_kolab.la -%{tde_tdelibdir}/kabc_kolab.so -%{tde_tdelibdir}/kabc_newexchange.la -%{tde_tdelibdir}/kabc_newexchange.so -%{tde_tdelibdir}/kabc_scalix.la -%{tde_tdelibdir}/kabc_scalix.so -%{tde_tdelibdir}/kabc_slox.la -%{tde_tdelibdir}/kabc_slox.so -%{tde_tdelibdir}/kabc_xmlrpc.la -%{tde_tdelibdir}/kabc_xmlrpc.so - -%post tderesources -/sbin/ldconfig || : - -%postun tderesources -/sbin/ldconfig || : - -########## - -%package tderesources-devel -Summary: Development files for tderesources -Group: Development/Libraries -Requires: %{name}-tderesources = %{version}-%{release} -Requires: libcaldav -Requires: libcarddav - -Obsoletes: tdepim-tderesources-devel < %{version}-%{release} - -%description tderesources-devel -%{summary} - -%files tderesources-devel -%defattr(-,root,root,-) -%{tde_libdir}/libkslox.la -%{tde_libdir}/libkslox.so -%{tde_libdir}/libkabc_groupdav.la -%{tde_libdir}/libkabc_groupdav.so -%{tde_libdir}/libkabc_groupwise.la -%{tde_libdir}/libkabc_groupwise.so -%{tde_libdir}/libgwsoap.la -%{tde_libdir}/libgwsoap.so -%{tde_libdir}/libkabc_carddav.la -%{tde_libdir}/libkabc_carddav.so -%{tde_libdir}/libkabc_newexchange.la -%{tde_libdir}/libkabc_newexchange.so -%{tde_libdir}/libkabc_slox.la -%{tde_libdir}/libkabc_slox.so -%{tde_libdir}/libkabc_xmlrpc.la -%{tde_libdir}/libkabc_xmlrpc.so -%{tde_libdir}/libkabckolab.la -%{tde_libdir}/libkabckolab.so -%{tde_libdir}/libkabcscalix.la -%{tde_libdir}/libkabcscalix.so -%{tde_libdir}/libkcal_caldav.la -%{tde_libdir}/libkcal_caldav.so -%{tde_libdir}/libkcal_groupdav.la -%{tde_libdir}/libkcal_groupdav.so -%{tde_libdir}/libkcal_groupwise.la -%{tde_libdir}/libkcal_groupwise.so -%{tde_libdir}/libkcal_newexchange.la -%{tde_libdir}/libkcal_newexchange.so -%{tde_libdir}/libkcal_resourcefeatureplan.la -%{tde_libdir}/libkcal_resourcefeatureplan.so -%{tde_libdir}/libkcal_slox.la -%{tde_libdir}/libkcal_slox.so -%{tde_libdir}/libkcal_xmlrpc.la -%{tde_libdir}/libkcal_xmlrpc.so -%{tde_libdir}/libkcalkolab.la -%{tde_libdir}/libkcalkolab.so -%{tde_libdir}/libkcalscalix.la -%{tde_libdir}/libkcalscalix.so -%{tde_libdir}/libkgroupwarebase.la -%{tde_libdir}/libkgroupwarebase.so -%{tde_libdir}/libkgroupwaredav.la -%{tde_libdir}/libkgroupwaredav.so -%{tde_libdir}/libknotes_xmlrpc.la -%{tde_libdir}/libknotes_xmlrpc.so -%{tde_libdir}/libknoteskolab.la -%{tde_libdir}/libknoteskolab.so -%{tde_libdir}/libknotesscalix.la -%{tde_libdir}/libknotesscalix.so -%{tde_tdeincludedir}/kpimprefs.h - -%post tderesources-devel -/sbin/ldconfig || : - -%postun tderesources-devel -/sbin/ldconfig || : - -########## - -%package wizards -Summary: Trinity server configuration wizards -Group: Applications/Communications - -Obsoletes: tdepim-wizards < %{version}-%{release} - -%description wizards -This package contains TDE-based wizards for configuring eGroupware, -Kolab, and SUSE Linux Openexchange servers. - -%files wizards -%defattr(-,root,root,-) -%{tde_bindir}/egroupwarewizard -%{tde_bindir}/exchangewizard -%{tde_bindir}/groupwarewizard -%{tde_bindir}/groupwisewizard -%{tde_bindir}/kolabwizard -%{tde_bindir}/scalixadmin -%{tde_bindir}/scalixwizard -%{tde_bindir}/sloxwizard -%{tde_tdelibdir}/libegroupwarewizard.la -%{tde_tdelibdir}/libegroupwarewizard.so -%{tde_tdelibdir}/libexchangewizard.la -%{tde_tdelibdir}/libexchangewizard.so -%{tde_tdelibdir}/libgroupwisewizard.la -%{tde_tdelibdir}/libgroupwisewizard.so -%{tde_tdelibdir}/libkolabwizard.la -%{tde_tdelibdir}/libkolabwizard.so -%{tde_tdelibdir}/libscalixwizard.la -%{tde_tdelibdir}/libscalixwizard.so -%{tde_tdelibdir}/libsloxwizard.la -%{tde_tdelibdir}/libsloxwizard.so -%{tde_tdeappdir}/groupwarewizard.desktop -%{tde_datadir}/config.kcfg/egroupware.kcfg -%{tde_datadir}/config.kcfg/groupwise.kcfg -%{tde_datadir}/config.kcfg/kolab.kcfg -%{tde_datadir}/config.kcfg/scalix.kcfg -%{tde_datadir}/config.kcfg/slox.kcfg - -%post wizards -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun wizards -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%if 0%{?with_kitchensync} -%package -n trinity-kitchensync -Summary: Synchronization framework -Group: Applications/Communications -BuildRequires: opensync-devel -#Suggests: konqueror-trinity -#Conflicts: kdebluetooth-irmcsync-trinity (<< 0.99+1.0beta2-4.1), ksync-trinity - -%description -n trinity-kitchensync -This package contains a synchronization framework, still under heavy -development (?). Kitchensync uses opensync. - -%files -n trinity-kitchensync -%defattr(-,root,root,-) -%{tde_bindir}/kitchensync -%{tde_tdelibdir}/libkitchensyncpart.la -%{tde_tdelibdir}/libkitchensyncpart.so -%{tde_datadir}/apps/kitchensync -%{tde_libdir}/libkitchensync.so.* -%{tde_libdir}/libqopensync.so.* -%{tde_tdeappdir}/kitchensync.desktop -%{tde_datadir}/icons/hicolor/*/apps/kitchensync.png - -%post -n trinity-kitchensync -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kitchensync -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : -%endif - -########## - -%package -n trinity-kleopatra -Summary: Trinity Certificate Manager -Group: Applications/Communications - -# GPG support -%if 0%{?suse_version} -Requires: gpg2 -%endif -%if 0%{?rhel} == 4 -Requires: gnupg -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} -Requires: gnupg2 -%endif - -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -Requires: pinentry -Requires: dirmngr -%endif - -%description -n trinity-kleopatra -Kleopatra is the TDE tool for managing X.509 certificates in the gpgsm -keybox and for retrieving certificates from LDAP servers. - -%files -n trinity-kleopatra -%defattr(-,root,root,-) -%{tde_bindir}/kleopatra -%{tde_bindir}/kwatchgnupg -%{tde_tdelibdir}/kcm_kleopatra.la -%{tde_tdelibdir}/kcm_kleopatra.so -%{tde_tdeappdir}/kleopatra_import.desktop -%{tde_datadir}/apps/kleopatra -%{tde_datadir}/apps/kwatchgnupg -%{tde_datadir}/services/kleopatra_config_*.desktop -%{tde_tdedocdir}/HTML/en/kleopatra/ -%{tde_tdedocdir}/HTML/en/kwatchgnupg/ - -%post -n trinity-kleopatra -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kleopatra -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kmail -Summary: Trinity Email client -Group: Applications/Communications -Requires: %{name}-tdeio-plugins = %{version}-%{release} -Requires: trinity-tdebase-tdeio-pim-plugins >= %{version} - -# GPG support -%if 0%{?suse_version} -Requires: gpg2 -%endif -%if 0%{?rhel} == 4 -Requires: gnupg -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} -Requires: gnupg2 -%endif - -# Pinentry -%if 0%{?suse_version} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} -Requires: pinentry -%endif - -Requires: procmail -Requires: trinity-kaddressbook = %{version}-%{release} -Requires: trinity-kleopatra = %{version}-%{release} -Requires: trinity-tdebase-tdeio-pim-plugins >= %{version}-%{release} - -Provides: imap-client, mail-reader - -%description -n trinity-kmail -KMail is a fully-featured email client that fits nicely into the TDE -desktop. It has features such as support for IMAP, POP3, multiple accounts, -mail filtering and sorting, PGP/GnuPG privacy, and inline attachments. - -You need to install %{name}-tdeio-plugins if you want to use IMAP or -mbox files, and/or trinity-tdebase-tdeio-plugins if you want to use POP3. - -%files -n trinity-kmail -%defattr(-,root,root,-) -%{tde_datadir}/config/kmail.antispamrc -%{tde_datadir}/config/kmail.antivirusrc -%{tde_bindir}/kmail -%{tde_bindir}/kmail_*.sh -%{tde_tdelibdir}/kcm_kmail.la -%{tde_tdelibdir}/kcm_kmail.so -%{tde_tdelibdir}/libkmail_bodypartformatter_application_octetstream.la -%{tde_tdelibdir}/libkmail_bodypartformatter_application_octetstream.so -%{tde_tdelibdir}/libkmail_bodypartformatter_text_calendar.la -%{tde_tdelibdir}/libkmail_bodypartformatter_text_calendar.so -%{tde_tdelibdir}/libkmail_bodypartformatter_text_vcard.la -%{tde_tdelibdir}/libkmail_bodypartformatter_text_vcard.so -%{tde_tdelibdir}/libkmail_bodypartformatter_text_xdiff.la -%{tde_tdelibdir}/libkmail_bodypartformatter_text_xdiff.so -%{tde_tdelibdir}/libkmailpart.la -%{tde_tdelibdir}/libkmailpart.so -%{tde_tdeappdir}/KMail.desktop -%{tde_tdeappdir}/kmail_view.desktop -%{tde_datadir}/apps/kconf_update/kmail-3.1-update-new-mail-notification-settings.pl -%{tde_datadir}/apps/kconf_update/kmail-3.1-use-UOID-for-identities.pl -%{tde_datadir}/apps/kconf_update/kmail-3.1.4-dont-use-UOID-0-for-any-identity.pl -%{tde_datadir}/apps/kconf_update/kmail-3.2-misc.sh -%{tde_datadir}/apps/kconf_update/kmail-3.2-update-loop-on-goto-unread-settings.sh -%{tde_datadir}/apps/kconf_update/kmail-3.3-aegypten.pl -%{tde_datadir}/apps/kconf_update/kmail-3.3-misc.pl -%{tde_datadir}/apps/kconf_update/kmail-3.3-move-identities.pl -%{tde_datadir}/apps/kconf_update/kmail-3.3-split-sign-encr-keys.sh -%{tde_datadir}/apps/kconf_update/kmail-3.3-use-ID-for-accounts.pl -%{tde_datadir}/apps/kconf_update/kmail-3.3b1-misc.pl -%{tde_datadir}/apps/kconf_update/kmail-3.4-misc.pl -%{tde_datadir}/apps/kconf_update/kmail-3.4.1-update-status-filters.pl -%{tde_datadir}/apps/kconf_update/kmail-3.5-trigger-flag-migration.pl -%{tde_datadir}/apps/kconf_update/kmail-3.5-filter-icons.pl -%{tde_datadir}/apps/kconf_update/kmail-pgpidentity.pl -%{tde_datadir}/apps/kconf_update/kmail-upd-identities.pl -%{tde_datadir}/apps/kconf_update/kmail.upd -%{tde_datadir}/apps/kconf_update/upgrade-signature.pl -%{tde_datadir}/apps/kconf_update/upgrade-transport.pl -%{tde_datadir}/apps/kmail -%{tde_datadir}/apps/konqueror/servicemenus/email.desktop -%{tde_datadir}/config.kcfg/custommimeheader.kcfg -%{tde_datadir}/config.kcfg/kmail.kcfg -%{tde_datadir}/config.kcfg/customtemplates_kfg.kcfg -%{tde_datadir}/config.kcfg/replyphrases.kcfg -%{tde_datadir}/config.kcfg/templatesconfiguration_kfg.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/kmaillight.png -%{tde_datadir}/icons/hicolor/*/apps/kmail.png -%{tde_datadir}/icons/hicolor/scalable/apps/kmail.svgz -%{tde_datadir}/services/kmail_config_*.desktop -%{tde_datadir}/services/kontact/kmailplugin.desktop -%{tde_datadir}/servicetypes/dcopimap.desktop -%{tde_datadir}/servicetypes/dcopmail.desktop -# 'libkmailprivate.so' is required at runtime, not devel ! -%{tde_libdir}/libkmailprivate.so -%{tde_libdir}/libkmailprivate.la -%{tde_tdedocdir}/HTML/en/kmail/ - -%post -n trinity-kmail -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kmail -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kmail-devel -Summary: Development files for kmail -Group: Development/Libraries - -%description -n trinity-kmail-devel -%{summary} - -%files -n trinity-kmail-devel -%defattr(-,root,root,-) -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kmail/ -%{tde_tdeincludedir}/kmail*.h - -%post -n trinity-kmail-devel -/sbin/ldconfig || : - -%postun -n trinity-kmail-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kmailcvt -Summary: Trinity KMail mail folder converter -Group: Applications/Communications -Requires: trinity-kmail = %{version}-%{release} - -%description -n trinity-kmailcvt -Converts mail folders to KMail format. Formats supported for import -include Outlook Express, Evolution, and plain mbox. - -%files -n trinity-kmailcvt -%defattr(-,root,root,-) -%{tde_bindir}/kmailcvt -%{tde_datadir}/applnk/Utilities/kmailcvt.desktop -%{tde_datadir}/apps/kmailcvt -%{tde_datadir}/icons/crystalsvg/*/apps/kmailcvt.png - -%post -n trinity-kmailcvt -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - -%postun -n trinity-kmailcvt -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - -########## - -%package -n trinity-knode -Summary: Trinity news reader -Group: Applications/Internet - -%description -n trinity-knode -KNode is an easy-to-use, convenient newsreader. It is intended to be usable -by inexperienced users, but also includes support for such features as -MIME attachments, article scoring, and creating and verifying GnuPG -signatures. - -%files -n trinity-knode -%defattr(-,root,root,-) -%{tde_bindir}/knode -%{tde_tdelibdir}/kcm_knode.la -%{tde_tdelibdir}/kcm_knode.so -%{tde_tdelibdir}/libknodepart.la -%{tde_tdelibdir}/libknodepart.so -%{tde_libdir}/libknodecommon.so.* -%{tde_tdeappdir}/KNode.desktop -%{tde_datadir}/apps/knode/ -%{tde_datadir}/icons/hicolor/*/apps/knode.png -%{tde_datadir}/icons/hicolor/*/apps/knode2.png -%{tde_datadir}/services/knewsservice.protocol -%{tde_datadir}/services/knode_config_*.desktop -%{tde_datadir}/services/kontact/knodeplugin.desktop -%{tde_tdedocdir}/HTML/en/knode/ - -%post -n trinity-knode -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-knode -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-knode-devel -Summary: Development files for trinity-knode -Group: Development/Libraries -Requires: trinity-knode = %{version}-%{release} - -%description -n trinity-knode-devel -%{summary} - -%files -n trinity-knode-devel -%defattr(-,root,root,-) -%{tde_libdir}/libknodecommon.la -%{tde_libdir}/libknodecommon.so - -%post -n trinity-knode-devel -/sbin/ldconfig || : - -%postun -n trinity-knode-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-knotes -Summary: Trinity sticky notes -Group: Applications/Utilities -Requires: trinity-tdepim-tderesources = %{version}-%{release} - -%description -n trinity-knotes -KNotes is a program that lets you write sticky notes. The notes are saved -automatically when you exit the program, and they display when you open the -program. The program supports printing and mailing your notes. - -%files -n trinity-knotes -%defattr(-,root,root,-) -%{tde_bindir}/knotes -%{tde_tdelibdir}/knotes_local.la -%{tde_tdelibdir}/knotes_local.so -%{tde_libdir}/libknotes.so.* -%{tde_tdeappdir}/knotes.desktop -%{tde_datadir}/apps/knotes/ -%{tde_datadir}/config.kcfg/knoteconfig.kcfg -%{tde_datadir}/config.kcfg/knotesglobalconfig.kcfg -%{tde_datadir}/icons/hicolor/*/apps/knotes.png -%{tde_datadir}/services/tderesources/knotes/imap.desktop -%{tde_datadir}/services/tderesources/knotes/local.desktop -%{tde_datadir}/services/tderesources/knotes_manager.desktop -%{tde_datadir}/services/kontact/knotesplugin.desktop -%{tde_tdedocdir}/HTML/en/knotes/ - -%post -n trinity-knotes -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-knotes -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-knotes-devel -Summary: Development files for knots -Group: Development/Libraries -Requires: trinity-knotes = %{version}-%{release} -Requires: %{name}-tderesources-devel = %{version}-%{release} - -%description -n trinity-knotes-devel -%{summary} - -%files -n trinity-knotes-devel -%defattr(-,root,root,-) -%{tde_libdir}/libknotes.so -%{tde_libdir}/libknotes.la -%{tde_tdeincludedir}/KNotesAppIface.h -%{tde_tdeincludedir}/KNotesIface.h - -%post -n trinity-knotes-devel -/sbin/ldconfig || : - -%postun -n trinity-knotes-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kode -Summary: Helper library for programmatic generation of C++ code -Group: Development/Libraries - -%description -n trinity-kode -This package includes a program kode for generation of C++ template files -and kxml_compiler for generation of C++ classes representing XML data -described by RelaxNG schemes. - -%files -n trinity-kode -%defattr(-,root,root,-) -%{tde_bindir}/kode -%{tde_bindir}/kxml_compiler -%{tde_libdir}/libkode.so.* - -%post -n trinity-kode -/sbin/ldconfig || : - -%postun -n trinity-kode -/sbin/ldconfig || : - -########## - -%package -n trinity-kode-devel -Summary: Development files for trinity-kode -Group: Development/Libraries -Requires: trinity-kode = %{version}-%{release} - -%description -n trinity-kode-devel -%{summary} - -%files -n trinity-kode-devel -%defattr(-,root,root,-) -%{tde_libdir}/libkode.la -%{tde_libdir}/libkode.so - -%post -n trinity-kode-devel -/sbin/ldconfig || : - -%postun -n trinity-kode-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-konsolekalendar -Summary: Trinity konsole personal organizer -Group: Applications/Productivity - -%description -n trinity-konsolekalendar -KonsoleKalendar is a command-line interface to TDE calendars. -Konsolekalendar complements the TDE KOrganizer by providing a console -frontend to manage your calendars. - -%files -n trinity-konsolekalendar -%defattr(-,root,root,-) -%{tde_bindir}/konsolekalendar -%{tde_tdeappdir}/konsolekalendar.desktop -%{tde_datadir}/icons/crystalsvg/*/apps/konsolekalendar.png -%{tde_tdedocdir}/HTML/en/konsolekalendar/ - -%post -n trinity-konsolekalendar -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-konsolekalendar -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kontact -Summary: Trinity pim application -Group: Applications/Communications -Requires: trinity-kmail = %{version}-%{release} -Requires: trinity-korganizer = %{version}-%{release} -Requires: trinity-kaddressbook = %{version}-%{release} -Requires: trinity-knode = %{version}-%{release} -Requires: trinity-knotes = %{version}-%{release} -Requires: trinity-akregator = %{version}-%{release} - -%description -n trinity-kontact -Kontact is the integrated solution to your personal information management -needs. It combines TDE applications like KMail, KOrganizer, and -KAddressBook into a single interface to provide easy access to mail, -scheduling, address book and other PIM functionality. - -%files -n trinity-kontact -%defattr(-,root,root,-) -%{tde_bindir}/kontact -%{tde_tdelibdir}/kcm_kmailsummary.la -%{tde_tdelibdir}/kcm_kmailsummary.so -%{tde_tdelibdir}/kcm_kontact.la -%{tde_tdelibdir}/kcm_kontact.so -%{tde_tdelibdir}/kcm_kontactknt.la -%{tde_tdelibdir}/kcm_kontactknt.so -%{tde_tdelibdir}/kcm_kontactsummary.la -%{tde_tdelibdir}/kcm_kontactsummary.so -%{tde_tdelibdir}/kcm_korgsummary.la -%{tde_tdelibdir}/kcm_korgsummary.so -%{tde_tdelibdir}/kcm_sdsummary.la -%{tde_tdelibdir}/kcm_sdsummary.so -%{tde_tdelibdir}/libkontact_*.la -%{tde_tdelibdir}/libkontact_*.so -%{tde_libdir}/libkontact.so.* -%{tde_libdir}/libkpinterfaces.so.* -%{tde_tdeappdir}/Kontact.desktop -%{tde_tdeappdir}/kontactdcop.desktop -%{tde_datadir}/apps/kontact -%{tde_datadir}/apps/kontactsummary/kontactsummary_part.rc -%{tde_datadir}/config.kcfg/kontact.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kontact.png -%{tde_datadir}/icons/crystalsvg/*/actions/kontact_*.png -%{tde_datadir}/services/kcmkmailsummary.desktop -%{tde_datadir}/services/kcmkontactknt.desktop -%{tde_datadir}/services/kcmkontactsummary.desktop -%{tde_datadir}/services/kcmkorgsummary.desktop -%{tde_datadir}/services/kcmsdsummary.desktop -%{tde_datadir}/services/kontact/newstickerplugin.desktop -%{tde_datadir}/services/kontact/specialdatesplugin.desktop -%{tde_datadir}/services/kontact/summaryplugin.desktop -%{tde_datadir}/services/kontact/weatherplugin.desktop -%{tde_datadir}/services/kontactconfig.desktop -%{tde_datadir}/servicetypes/kontactplugin.desktop -%{tde_tdedocdir}/HTML/en/kontact/ -%{tde_tdedocdir}/HTML/en/kpilot/ - -%post -n trinity-kontact -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kontact -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kontact-devel -Summary: Development files for kontact -Group: Development/Libraries -Requires: trinity-kontact = %{version}-%{release} - -%description -n trinity-kontact-devel -%{summary} - -%files -n trinity-kontact-devel -%defattr(-,root,root,-) -%{tde_libdir}/libkontact.la -%{tde_libdir}/libkontact.so -%{tde_libdir}/libkpinterfaces.la -%{tde_libdir}/libkpinterfaces.so -%{tde_tdeincludedir}/kontact/ - -%post -n trinity-kontact-devel -/sbin/ldconfig || : - -%postun -n trinity-kontact-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-korganizer -Summary: Trinity personal organizer -Group: Applications/Productivity -Requires: trinity-libkpimidentities = %{version}-%{release} -Requires: trinity-libkpimexchange = %{version}-%{release} -Requires: %{name}-tderesources = %{version}-%{release} -Requires: perl - -%description -n trinity-korganizer -This package contains KOrganizer, a calendar and scheduling program. - -KOrganizer aims to be a complete program for organizing appointments, -contacts, projects, etc. KOrganizer natively supports information interchange -with other calendar applications, through the industry standard vCalendar -personal data interchange file format. This eases the move from other -modern PIMs to KOrganizer. - -KOrganizer offers full synchronization with Palm Pilots, if kpilot is -installed. - -%files -n trinity-korganizer -%defattr(-,root,root,-) -%{tde_bindir}/ical2vcal -%{tde_bindir}/korgac -%{tde_bindir}/korganizer -%{tde_tdelibdir}/kcm_korganizer.la -%{tde_tdelibdir}/kcm_korganizer.so -%{tde_tdelibdir}/libkorg_*.la -%{tde_tdelibdir}/libkorg_*.so -%{tde_tdelibdir}/libkorganizerpart.la -%{tde_tdelibdir}/libkorganizerpart.so -%{tde_libdir}/libkocorehelper.so.* -%{tde_libdir}/libkorg_stdprinting.so.* -%{tde_libdir}/libkorganizer.so.* -%{tde_libdir}/libkorganizer_calendar.so.* -%{tde_libdir}/libkorganizer_eventviewer.so.* -%{tde_tdeappdir}/korganizer.desktop -%{tde_datadir}/apps/kconf_update/korganizer.upd -%{tde_datadir}/apps/korgac/ -%{tde_datadir}/apps/korganizer/ -%{tde_datadir}/autostart/korgac.desktop -%{tde_datadir}/config.kcfg/korganizer.kcfg -%{tde_datadir}/icons/hicolor/*/apps/korganizer.png -%{tde_datadir}/services/kontact/korganizerplugin.desktop -%{tde_datadir}/services/kontact/journalplugin.desktop -%{tde_datadir}/services/kontact/todoplugin.desktop -%{tde_datadir}/services/korganizer_*.desktop -%{tde_datadir}/services/korganizer -%{tde_datadir}/services/webcal.protocol -%{tde_datadir}/servicetypes/calendardecoration.desktop -%{tde_datadir}/servicetypes/calendarplugin.desktop -%{tde_datadir}/servicetypes/dcopcalendar.desktop -%{tde_datadir}/servicetypes/korganizerpart.desktop -%{tde_datadir}/servicetypes/korgprintplugin.desktop -%{tde_tdedocdir}/HTML/en/korganizer/ - -%post -n trinity-korganizer -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-korganizer -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-korganizer-devel -Summary: Development files for korganizer -Group: Development/Libraries -Requires: trinity-korganizer = %{version}-%{release} - -%description -n trinity-korganizer-devel -%{summary} - -%files -n trinity-korganizer-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/korganizer/ -%{tde_tdeincludedir}/calendar/ -%{tde_libdir}/libkocorehelper.la -%{tde_libdir}/libkocorehelper.so -%{tde_libdir}/libkorg_stdprinting.la -%{tde_libdir}/libkorg_stdprinting.so -%{tde_libdir}/libkorganizer.la -%{tde_libdir}/libkorganizer.so -%{tde_libdir}/libkorganizer_calendar.la -%{tde_libdir}/libkorganizer_calendar.so -%{tde_libdir}/libkorganizer_eventviewer.la -%{tde_libdir}/libkorganizer_eventviewer.so - -%post -n trinity-korganizer-devel -/sbin/ldconfig || : - -%postun -n trinity-korganizer-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-korn -Summary: Trinity mail checker -Group: Applications/Communications -Requires: %{name}-tdeio-plugins = %{version}-%{release} - -%description -n trinity-korn -Korn is a TDE mail checker that can display a small summary in the Kicker -tray. It supports checking mbox, pop3, imap4, and nntp sources. - -Once mail is received you can have Korn run a third party program or change -the color/icon of the Kicker display. In addition to this you can have -Korn run a program once you click on the docked icon in Kicker. - -%files -n trinity-korn -%defattr(-,root,root,-) -%{tde_bindir}/korn -%{tde_libdir}/kconf_update_bin/korn-3-4-config_change -%{tde_tdeappdir}/KOrn.desktop -%{tde_datadir}/apps/kconf_update/korn-3-4-config_change.upd -%{tde_datadir}/apps/kconf_update/korn-3-5-metadata-update.pl -%{tde_datadir}/apps/kconf_update/korn-3-5-ssl-update.pl -%{tde_datadir}/apps/kconf_update/korn-3-5-update.upd -%{tde_datadir}/icons/hicolor/*/apps/korn.png -%{tde_tdedocdir}/HTML/en/korn/ - -%post -n trinity-korn -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-korn -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ktnef -Summary: Trinity TNEF viewer -Group: Applications/Communications - -%description -n trinity-ktnef -The TNEF File Viewer allows you to handle mail attachments using the TNEF -format. These attachments are usually found in mails coming from Microsoft -mail servers and embed the mail properties as well as the actual attachments. - -%files -n trinity-ktnef -%defattr(-,root,root,-) -%{tde_bindir}/ktnef -%{tde_tdeappdir}/ktnef.desktop -%{tde_datadir}/apps/ktnef -%{tde_datadir}/icons/hicolor/*/apps/ktnef.png -%{tde_datadir}/icons/locolor/*/apps/ktnef.png -%{tde_datadir}/mimelnk/application/ms-tnef.desktop -%{tde_tdedocdir}/HTML/en/ktnef/ - -%post -n trinity-ktnef -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ktnef -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-libindex -Summary: Trinity indexing library -Group: Environment/Libraries - -%description -n trinity-libindex -This library provides text indexing and is currently used by KMail -to implement fast searches in mail bodies. - -This is the runtime package for programs that use the libindex library. - -%files -n trinity-libindex -%defattr(-,root,root,-) -%{tde_libdir}/libindex.so.* - -%post -n trinity-libindex -/sbin/ldconfig || : - -%postun -n trinity-libindex -/sbin/ldconfig || : - -########## - -%package -n trinity-libindex-devel -Summary: Trinity indexing library [development] -Group: Development/Libraries -Requires: trinity-libindex = %{version}-%{release} - -%description -n trinity-libindex-devel -This library provides text indexing and is currently used by KMail -to implement searching through mail text. - -This is the development package which contains the headers for the libindex-trinity -library. - -%files -n trinity-libindex-devel -%defattr(-,root,root,-) -%{tde_bindir}/indexlib-config -%{tde_tdeincludedir}/index -%{tde_libdir}/libindex.la -%{tde_libdir}/libindex.so - -%post -n trinity-libindex-devel -/sbin/ldconfig || : - -%postun -n trinity-libindex-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkcal -Summary: Trinity calendaring library -Group: Environment/Libraries -#Requires: %{name}-tderesources = %{version}-%{release} - -%description -n trinity-libkcal -This library provides a C++ API for handling the vCalendar and iCalendar -formats. - -This is the runtime package for programs that use the libkcal-trinity library. - -%files -n trinity-libkcal -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcal_kabc.la -%{tde_tdelibdir}/kcal_kabc.so -%{tde_tdelibdir}/kcal_localdir.la -%{tde_tdelibdir}/kcal_localdir.so -%{tde_tdelibdir}/kcal_local.la -%{tde_tdelibdir}/kcal_local.so -%{tde_tdelibdir}/kcal_remote.la -%{tde_tdelibdir}/kcal_remote.so -%{tde_libdir}/libkcal.so.* -%{tde_libdir}/libkcal_resourceremote.so.* -%{tde_libdir}/libkholidays.so.* -%{tde_datadir}/apps/libkholidays -%{tde_datadir}/services/tderesources/kcal/imap.desktop -%{tde_datadir}/services/tderesources/kcal/kabc.desktop -%{tde_datadir}/services/tderesources/kcal/local.desktop -%{tde_datadir}/services/tderesources/kcal/localdir.desktop -%{tde_datadir}/services/tderesources/kcal/remote.desktop -%{tde_datadir}/services/tderesources/kcal_manager.desktop - -%post -n trinity-libkcal -/sbin/ldconfig || : - -%postun -n trinity-libkcal -/sbin/ldconfig || : - -########## - -%package -n trinity-libkcal-devel -Summary: Trinity calendaring library [development] -Group: Development/Libraries -Requires: trinity-libkcal = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} -Requires: trinity-libktnef-devel = %{version}-%{release} - -%description -n trinity-libkcal-devel -This library provides a C++ API for handling the vCalendar and iCalendar -formats. - -This is the development package which contains the headers for the libkcal-trinity -library. - -%files -n trinity-libkcal-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/libemailfunctions/idmapper.h -%{tde_tdeincludedir}/libkcal -%{tde_libdir}/libkcal.la -%{tde_libdir}/libkcal.so -%{tde_libdir}/libkcal_resourceremote.la -%{tde_libdir}/libkcal_resourceremote.so -%{tde_libdir}/libkholidays.la -%{tde_libdir}/libkholidays.so - -%post -n trinity-libkcal-devel -/sbin/ldconfig || : - -%postun -n trinity-libkcal-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libtdepim -Summary: Trinity PIM library -Group: Environment/Libraries -Requires: trinity-libkcal = %{version}-%{release} - -Obsoletes: libtdepim < %{version}-%{release} -Provides: libtdepim = %{version}-%{release} - -%description -n trinity-libtdepim -This is the runtime package for programs that use the trinity-libtdepim library. - -%files -n trinity-libtdepim -%defattr(-,root,root,-) -%{tde_tdelibdir}/plugins/designer/[kt]depimwidgets.la -%{tde_tdelibdir}/plugins/designer/[kt]depimwidgets.so -%{tde_tdelibdir}/plugins/designer/kpartsdesignerplugin.la -%{tde_tdelibdir}/plugins/designer/kpartsdesignerplugin.so -%{tde_libdir}/lib[kt]depim.so.* -%{tde_datadir}/apps/[kt]depimwidgets -%{tde_datadir}/apps/lib[kt]depim -%{tde_datadir}/apps/[kt]depim -%{tde_datadir}/config.kcfg/pimemoticons.kcfg -%{tde_datadir}/icons/crystalsvg/22x22/actions/button_fewer.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/button_more.png - -%post -n trinity-libtdepim -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -%postun -n trinity-libtdepim -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -########## - -%package -n trinity-libtdepim-devel -Summary: Trinity PIM library [development] -Group: Development/Libraries -Requires: trinity-libtdepim = %{version}-%{release} -Requires: trinity-tdelibs-devel >= %{version} - -Obsoletes: libtdepim-devel < %{version}-%{release} -Provides: libtdepim-devel = %{version}-%{release} - -%description -n trinity-libtdepim-devel -This is the development package which contains the headers for the libtdepim-trinity -library. - -%files -n trinity-libtdepim-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/[kt]depimmacros.h -%{tde_libdir}/lib[kt]depim.la -%{tde_libdir}/lib[kt]depim.so - -%post -n trinity-libtdepim-devel -/sbin/ldconfig || : - -%postun -n trinity-libtdepim-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkgantt -Summary: Trinity gantt charting library -Group: Environment/Libraries - -%description -n trinity-libkgantt -This is the runtime package for programs that use the libkgantt-trinity library. - -%files -n trinity-libkgantt -%defattr(-,root,root,-) -%{tde_libdir}/libkgantt.so.* -%{tde_datadir}/apps/kgantt - -%post -n trinity-libkgantt -/sbin/ldconfig || : - -%postun -n trinity-libkgantt -/sbin/ldconfig || : - -########## - -%package -n trinity-libkgantt-devel -Summary: Trinity gantt charting library [development] -Group: Development/Libraries -Requires: trinity-libkgantt = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} - -%description -n trinity-libkgantt-devel -This is the development package which contains the headers for the libkgantt-trinity -library. - -%files -n trinity-libkgantt-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kgantt -%{tde_libdir}/libkgantt.la -%{tde_libdir}/libkgantt.so - -%post -n trinity-libkgantt-devel -/sbin/ldconfig || : - -%postun -n trinity-libkgantt-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkleopatra -Summary: TDE GnuPG interface libraries -Group: Environment/Libraries -Requires: gnupg - -%description -n trinity-libkleopatra -This library is used by several TDE applications to interface to the -GnuPG program. - -This is the runtime package for programs that use the libkleopatra-trinity library. - -%files -n trinity-libkleopatra -%defattr(-,root,root,-) -%{tde_datadir}/config/libkleopatrarc -%{tde_libdir}/libgpgme++.so.* -%{tde_libdir}/libkleopatra.so.* -%{tde_libdir}/libkpgp.so.* -%{tde_libdir}/libqgpgme.so.* -%{tde_datadir}/apps/kconf_update/kpgp-3.1-upgrade-address-data.pl -%{tde_datadir}/apps/kconf_update/kpgp.upd -%{tde_datadir}/apps/libkleopatra/ -%{tde_datadir}/icons/crystalsvg/*/apps/gpg.png -%{tde_datadir}/icons/crystalsvg/*/apps/gpgsm.png - -%post -n trinity-libkleopatra -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -%postun -n trinity-libkleopatra -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -########## - -%package -n trinity-libkleopatra-devel -Summary: Trinity GnuPG interface libraries [development] -Group: Development/Libraries -Requires: trinity-libkleopatra = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} - -%description -n trinity-libkleopatra-devel -This library is used by several TDE applications to interface to the -GnuPG program. - -This is the development package which contains the headers for the -libkleopatra-trinity library. - -%files -n trinity-libkleopatra-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/gpgme++/ -%{tde_tdeincludedir}/kleo/ -%{tde_tdeincludedir}/qgpgme/ -%{tde_libdir}/libgpgme++.la -%{tde_libdir}/libgpgme++.so -%{tde_libdir}/libkleopatra.la -%{tde_libdir}/libkleopatra.so -%{tde_libdir}/libkpgp.la -%{tde_libdir}/libkpgp.so -%{tde_libdir}/libqgpgme.la -%{tde_libdir}/libqgpgme.so - -%post -n trinity-libkleopatra-devel -/sbin/ldconfig || : - -%postun -n trinity-libkleopatra-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkmime -Summary: Trinity MIME interface library -Group: Environment/Libraries -#Conflicts: trinity-libmimelib - -%description -n trinity-libkmime -This library provides a C++ interface to MIME messages, parsing them into -an object tree. - -%files -n trinity-libkmime -%defattr(-,root,root,-) -%{tde_libdir}/libkmime.so.* - -%post -n trinity-libkmime -/sbin/ldconfig || : - -%postun -n trinity-libkmime -/sbin/ldconfig || : - -########## - -%package -n trinity-libkmime-devel -Summary: Development files for libkmime -Group: Development/Libraries -Requires: trinity-libkmime = %{version}-%{release} - -%description -n trinity-libkmime-devel -%{summary} - -%files -n trinity-libkmime-devel -%defattr(-,root,root,-) -%{tde_libdir}/libkmime.la -%{tde_libdir}/libkmime.so - -%post -n trinity-libkmime-devel -/sbin/ldconfig || : - -%postun -n trinity-libkmime-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkpimexchange -Summary: Trinity PIM Exchange library -Group: Environment/Libraries - -%description -n trinity-libkpimexchange -This is the runtime package for programs that use the libkpimexchange-trinity -library. - -%files -n trinity-libkpimexchange -%defattr(-,root,root,-) -%{tde_tdelibdir}/resourcecalendarexchange.la -%{tde_tdelibdir}/resourcecalendarexchange.so -%{tde_libdir}/libkpimexchange.so.* - -%post -n trinity-libkpimexchange -/sbin/ldconfig || : - -%postun -n trinity-libkpimexchange -/sbin/ldconfig || : - -########## - -%package -n trinity-libkpimexchange-devel -Summary: Trinity PIM Exchange library [development] -Group: Development/Libraries -Requires: trinity-libkpimexchange = %{version}-%{release} -Requires: trinity-libkcal-devel = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} - -%description -n trinity-libkpimexchange-devel -This is the development package which contains the headers for the -libkpimexchange-trinity library. - -%files -n trinity-libkpimexchange-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/[kt]depim/exchangeaccount.h -%{tde_tdeincludedir}/[kt]depim/exchangeclient.h -%{tde_libdir}/libkpimexchange.la -%{tde_libdir}/libkpimexchange.so - -%post -n trinity-libkpimexchange-devel -/sbin/ldconfig || : - -%postun -n trinity-libkpimexchange-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkpimidentities -Summary: Trinity PIM user identity information library -Group: Environment/Libraries - -%description -n trinity-libkpimidentities -This library provides information to TDE programs about user identity, -such as email address, organization, etc. - -This is the runtime package for programs that use the libkpimidentities-trinity -library. - -%files -n trinity-libkpimidentities -%defattr(-,root,root,-) -%{tde_libdir}/libkpimidentities.so.* - -%post -n trinity-libkpimidentities -/sbin/ldconfig || : - -%postun -n trinity-libkpimidentities -/sbin/ldconfig || : - -########## - -%package -n trinity-libkpimidentities-devel -Summary: Development files for libkpimidentities -Group: Development/Libraries -Requires: trinity-libkpimidentities = %{version}-%{release} - -%description -n trinity-libkpimidentities-devel -%{summary} - -%files -n trinity-libkpimidentities-devel -%defattr(-,root,root,-) -%{tde_libdir}/libkpimidentities.la -%{tde_libdir}/libkpimidentities.so - -%post -n trinity-libkpimidentities-devel -/sbin/ldconfig || : - -%postun -n trinity-libkpimidentities-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libksieve -Summary: Trinity mail/news message filtering library -Group: Environment/Libraries - -%description -n trinity-libksieve -This is the runtime package for programs that use the libksieve-trinity library. - -%files -n trinity-libksieve -%defattr(-,root,root,-) -%{tde_libdir}/libksieve.so.* - -%post -n trinity-libksieve -/sbin/ldconfig || : - -%postun -n trinity-libksieve -/sbin/ldconfig || : - -########## - -%package -n trinity-libksieve-devel -Summary: Trinity mail/news message filtering library [development] -Group: Development/Libraries -Requires: trinity-libksieve = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} - -%description -n trinity-libksieve-devel -This is the development package which contains the headers for the libksieve-trinity -library. - -%files -n trinity-libksieve-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/ksieve -%{tde_libdir}/libksieve.la -%{tde_libdir}/libksieve.so - -%post -n trinity-libksieve-devel -/sbin/ldconfig || : - -%postun -n trinity-libksieve-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libktnef -Summary: Library for handling KTNEF email attachments -Group: Environment/Libraries - -%description -n trinity-libktnef -This library handles mail attachments using the TNEF format. These -attachments are usually found in mails coming from Microsoft mail -servers and embed the mail properties as well as the actual -attachments. -. -This is the runtime library for packages using the ktnef-trinity library. - -%files -n trinity-libktnef -%defattr(-,root,root,-) -%{tde_libdir}/libktnef.so.* - -%post -n trinity-libktnef -/sbin/ldconfig || : - -%postun -n trinity-libktnef -/sbin/ldconfig || : - -########## - -%package -n trinity-libktnef-devel -Summary: KTNEF handler library [development] -Group: Development/Libraries -Requires: trinity-libktnef = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} - -%description -n trinity-libktnef-devel -This library handles mail attachments using the TNEF format. These -attachments are usually found in mails coming from Microsoft mail -servers and embed the mail properties as well as the actual -attachments. - -This is the development package which contains the headers for the -ktnef-trinity library. - -%files -n trinity-libktnef-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/ktnef -%{tde_libdir}/libktnef.la -%{tde_libdir}/libktnef.so - -%post -n trinity-libktnef-devel -/sbin/ldconfig || : - -%postun -n trinity-libktnef-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libmimelib -Summary: Trinity mime library -Group: Environment/Libraries - -%description -n trinity-libmimelib -This library is used by several Trinity applications to handle mime types. - -This is the runtime package for programs that use the libmimelib-trinity library. - -%files -n trinity-libmimelib -%defattr(-,root,root,-) -%{tde_libdir}/libmimelib.so.* - -%post -n trinity-libmimelib -/sbin/ldconfig || : - -%postun -n trinity-libmimelib -/sbin/ldconfig || : - -########## - -%package -n trinity-libmimelib-devel -Summary: Trinity mime library [development] -Group: Development/Libraries -Requires: trinity-libmimelib = %{version}-%{release} - -%description -n trinity-libmimelib-devel -This library is used by several TDE applications to handle mime types. - -This is the development package which contains the headers for the -libmimelib library. - -%files -n trinity-libmimelib-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/mimelib/ -%{tde_libdir}/libmimelib.la -%{tde_libdir}/libmimelib.so - -%post -n trinity-libmimelib-devel -/sbin/ldconfig || : - -%postun -n trinity-libmimelib-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kmobile -Summary: Synchronize and manage mobile phone with your PC. -Group: Applications/Communications - -%description -n trinity-kmobile -KMobileTools is a nice TDE-based application that allows to synchronize -and manage mobile phones with your PC. It handles full SMS control, -dialing calls, phonebook, and phone status monitoring. - -%files -n trinity-kmobile -%defattr(-,root,root,-) -%{tde_bindir}/kmobile -%{tde_datadir}/icons/default.kde/32x32/devices/mobile_camera.png -%{tde_datadir}/icons/default.kde/32x32/devices/mobile_musicplayer.png -%{tde_datadir}/icons/default.kde/32x32/devices/mobile_organizer.png -%{tde_datadir}/icons/default.kde/32x32/devices/mobile_phone.png -%{tde_datadir}/icons/default.kde/32x32/devices/mobile_unknown.png -%{tde_datadir}/icons/hicolor/*/apps/kmobile.png -%{tde_datadir}/services/libkmobile_digicam.desktop -%{tde_datadir}/services/libkmobile_gammu.desktop -%{tde_datadir}/services/libkmobile_skeleton.desktop -%{tde_datadir}/servicetypes/libkmobile.desktop -%{tde_datadir}/apps/kmobile/kmobileui.rc -%{tde_tdeappdir}/kmobile.desktop -%{tde_tdelibdir}/libkmobile_skeleton.la -%{tde_tdelibdir}/libkmobile_skeleton.so -%{tde_libdir}/libkmobileclient.la -%{tde_libdir}/libkmobileclient.so -%{tde_libdir}/libkmobiledevice.la -%{tde_libdir}/libkmobiledevice.so - -%post -n trinity-kmobile -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kmobile -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} -%patch14 -p1 -b .ldflags - - -%build -unset QTDIR QTINC QTLIB -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export LD_LIBRARY_PATH="%{tde_libdir}" - -# Specific path for RHEL4 -if [ -d "/usr/X11R6" ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - -DWITH_ARTS=ON \ - -DWITH_SASL=ON \ - -DWITH_NEWDISTRLISTS=ON \ - %{?with_gnokii:-DWITH_GNOKII=ON} \ - -DWITH_EXCHANGE=ON \ - -DWITH_EGROUPWARE=ON \ - -DWITH_KOLAB=ON \ - -DWITH_SLOX=ON \ - -DWITH_GROUPWISE=ON \ - -DWITH_FEATUREPLAN=ON \ - -DWITH_GROUPDAV=ON \ - -DWITH_BIRTHDAYS=ON \ - -DWITH_NEWEXCHANGE=ON \ - -DWITH_SCALIX=ON \ - -DWITH_CALDAV=ON \ - -DWITH_CARDDAV=ON \ - -DWITH_INDEXLIB=ON \ - %{?with_xscreensaver:-DWITH_XSCREENSAVER=ON} \ - %{?with_kitchensync:-DBUILD_KITCHENSYNC=ON} \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} || %__make - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{?buildroot} -C build - - -%clean -%__rm -rf %{?buildroot} - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 -- Initial release for TDE 3.5.13.2 diff --git a/redhat/tdepim/trinity-tdepim-3.5.13.2.spec b/redhat/tdepim/trinity-tdepim-3.5.13.2.spec deleted file mode 100644 index 76b3392b9..000000000 --- a/redhat/tdepim/trinity-tdepim-3.5.13.2.spec +++ /dev/null @@ -1,2251 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -BuildRequires: cmake >= 2.8 -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -# KDEPIM specific features -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define with_gnokii 1 -BuildRequires: gnokii-devel -%endif - -# TDEPIM optional features -#define with_kitchensync 0 - - -Name: trinity-tdepim -Version: 3.5.13.2 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} -License: GPL -Group: Applications/Productivity - -Vendor: Trinity Project -Packager: Francois Andriot -Summary: Personal Information Management apps from the official Trinity release - -Prefix: %{tde_prefix} - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz - -# [tdepim] Missing LDFLAGS cause FTBFS on MGA2/MDV2011 -Patch14: kdepim-3.5.13-missing_ldflags.patch - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-arts-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} -BuildRequires: trinity-libcaldav-devel -BuildRequires: trinity-libcarddav-devel - -BuildRequires: gpgme-devel -BuildRequires: libgpg-error-devel -BuildRequires: flex -BuildRequires: libical-devel -BuildRequires: boost-devel -BuildRequires: pcre-devel -BuildRequires: glib2-devel -BuildRequires: gcc-c++ make -BuildRequires: libidn-devel - -# CURL support -%if 0%{?fedora} >= 15 -BuildRequires: flex-static -%endif -%if 0%{?rhel} > 0 && 0%{?rhel} <= 5 -BuildRequires: trinity-libcurl-devel -%else -BuildRequires: curl-devel -%endif - -# SASL support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}sasl2-devel -%else -BuildRequires: cyrus-sasl-devel -%endif - -# XCOMPOSITE support -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220 -BuildRequires: libXcomposite-devel -%endif - -# XSCREENSAVER support -# Disabled on RHEL4 -%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version} -%define with_xscreensaver 1 -%if 0%{?rhel} == 5 -BuildRequires: xorg-x11-proto-devel -BuildRequires: gnome-screensaver -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel -%endif -%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} >= 1220 -BuildRequires: libXScrnSaver-devel -%endif -%if 0%{?suse_version} == 1140 -BuildRequires: xscreensaver -%endif -%endif - - -Requires: trinity-libtdepim = %{version}-%{release} -Requires: %{name}-kfile-plugins = %{version}-%{release} -Requires: %{name}-tdeio-plugins = %{version}-%{release} -Requires: %{name}-kresources = %{version}-%{release} -Requires: %{name}-wizards = %{version}-%{release} -Requires: trinity-akregator = %{version}-%{release} -Requires: trinity-kaddressbook = %{version}-%{release} -Requires: trinity-kalarm = %{version}-%{release} -Requires: trinity-kandy = %{version}-%{release} -Requires: trinity-karm = %{version}-%{release} -Requires: trinity-kleopatra = %{version}-%{release} -Requires: trinity-kmail = %{version}-%{release} -Requires: trinity-kmailcvt = %{version}-%{release} -Requires: trinity-kmobile = %{version}-%{release} -Requires: trinity-knode = %{version}-%{release} -Requires: trinity-knotes = %{version}-%{release} -Requires: trinity-kode = %{version}-%{release} -Requires: trinity-konsolekalendar = %{version}-%{release} -Requires: trinity-kontact = %{version}-%{release} -Requires: trinity-korganizer = %{version}-%{release} -Requires: trinity-korn = %{version}-%{release} -Requires: trinity-ktnef = %{version}-%{release} -Requires: trinity-libindex = %{version}-%{release} -Requires: trinity-libkcal = %{version}-%{release} -Requires: trinity-libkgantt = %{version}-%{release} -Requires: trinity-libkleopatra = %{version}-%{release} -Requires: trinity-libkmime = %{version}-%{release} -Requires: trinity-libkpimexchange = %{version}-%{release} -Requires: trinity-libkpimidentities = %{version}-%{release} -Requires: trinity-libksieve = %{version}-%{release} -Requires: trinity-libktnef = %{version}-%{release} -Requires: trinity-libmimelib = %{version}-%{release} - -Obsoletes: trinity-kdepim < %{version}-%{release} -Provides: trinity-kdepim = %{version}-%{release} -Obsoletes: tdepim < %{version}-%{release} -Provides: tdepim = %{version}-%{release} - -%description -This metapackage includes a collection of Personal Information Management -(PIM) applications provided with the official release of Trinity. - -%files - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries - -Obsoletes: tdepim-cmake < %{version}-%{release} - -Obsoletes: trinity-kdepim-devel < %{version}-%{release} -Provides: trinity-kdepim-devel = %{version}-%{release} -Obsoletes: tdepim-devel < %{version}-%{release} -Provides: tdepim-devel = %{version}-%{release} - -Requires: %{name} = %{version}-%{release} -Requires: trinity-akregator-devel = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} -Requires: trinity-kaddressbook-devel = %{version}-%{release} -Requires: trinity-karm-devel = %{version}-%{release} -Requires: trinity-kmail-devel = %{version}-%{release} -Requires: trinity-knode-devel = %{version}-%{release} -Requires: trinity-knotes-devel = %{version}-%{release} -Requires: trinity-kode-devel = %{version}-%{release} -Requires: trinity-kontact-devel = %{version}-%{release} -Requires: trinity-korganizer-devel = %{version}-%{release} -Requires: trinity-libindex-devel = %{version}-%{release} -Requires: trinity-libkcal-devel = %{version}-%{release} -Requires: trinity-libkgantt-devel = %{version}-%{release} -Requires: trinity-libkleopatra-devel = %{version}-%{release} -Requires: trinity-libkmime-devel = %{version}-%{release} -Requires: trinity-libkpimexchange-devel = %{version}-%{release} -Requires: trinity-libkpimidentities-devel = %{version}-%{release} -Requires: trinity-libksieve-devel = %{version}-%{release} -Requires: trinity-libktnef-devel = %{version}-%{release} -Requires: trinity-libmimelib-devel = %{version}-%{release} -Requires: %{name}-kresources-devel = %{version}-%{release} - -%description devel -This metapackage includes all development files for TDE PIM. -It also contains the CMAKE macros. - -%files devel -%defattr(-,root,root,-) -%{tde_datadir}/cmake/* - -########## - -%package -n trinity-akregator -Summary: RSS feed aggregator for TDE -Group: Applications/Internet -Requires: trinity-libtdepim = %{version}-%{release} -Requires: trinity-libkcal = %{version}-%{release} - -%description -n trinity-akregator -aKregator is a fast, lightweight, and intuitive feed reader program -for TDE. It allows you to quickly browse through hundreds of -thousands of internet feeds in a quick, efficient, and familiar way. - -%files -n trinity-akregator -%defattr(-,root,root,-) -%{tde_bindir}/akregator -%{tde_tdelibdir}/libakregatorpart.la -%{tde_tdelibdir}/libakregatorpart.so -%{tde_tdelibdir}/libakregator_mk4storage_plugin.la -%{tde_tdelibdir}/libakregator_mk4storage_plugin.so -%{tde_libdir}/libakregatorprivate.so.* -%{tde_tdeappdir}/akregator.desktop -%{tde_datadir}/apps/akregator -%{tde_datadir}/config.kcfg/akregator.kcfg -%{tde_datadir}/config.kcfg/mk4config.kcfg -%{tde_datadir}/icons/crystalsvg/*/actions/rss_tag.png -%{tde_datadir}/icons/crystalsvg/16x16/apps/akregator_empty.png -%{tde_datadir}/icons/hicolor/*/apps/akregator.png -%{tde_datadir}/icons/hicolor/scalable/apps/akregator.svgz -%{tde_datadir}/services/akregator_mk4storage_plugin.desktop -%{tde_datadir}/services/akregator_part.desktop -%{tde_datadir}/services/feed.protocol -%{tde_datadir}/services/kontact/akregatorplugin*.desktop -%{tde_datadir}/servicetypes/akregator_plugin.desktop -%{tde_tdedocdir}/HTML/en/akregator/ - -%post -n trinity-akregator -/sbin/ldconfig || : -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-akregator -/sbin/ldconfig || : -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-akregator-devel -Summary: Development files for trinity-akregator -Group: Development/Libraries -Requires: trinity-akregator = %{version}-%{release} - -%description -n trinity-akregator-devel -%{summary} - -%files -n trinity-akregator-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/akregator/ -%{tde_libdir}/libakregatorprivate.la -%{tde_libdir}/libakregatorprivate.so - -%post -n trinity-akregator-devel -/sbin/ldconfig || : - -%postun -n trinity-akregator-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kaddressbook -Summary: TDE addressbook application -Group: Applications/Communications -Requires: trinity-kdebase-pim-ioslaves -Requires: %{name}-kresources = %{version}-%{release} - -%description -n trinity-kaddressbook -KAddressBook is the main address book application for TDE; it enables you -to manage your contacts efficiently and comfortably. It can load and save -your contacts to many different locations, including the local file system, -LDAP servers, and SQL databases. - -%files -n trinity-kaddressbook -%defattr(-,root,root,-) -%{tde_bindir}/kabc2mutt -%{tde_bindir}/kaddressbook -%{tde_bindir}/kabcdistlistupdater -%{tde_tdelibdir}/kcm_kabconfig.la -%{tde_tdelibdir}/kcm_kabconfig.so -%{tde_tdelibdir}/kcm_kabcustomfields.la -%{tde_tdelibdir}/kcm_kabcustomfields.so -%{tde_tdelibdir}/kcm_kabldapconfig.la -%{tde_tdelibdir}/kcm_kabldapconfig.so -%{tde_tdelibdir}/ldifvcardthumbnail.la -%{tde_tdelibdir}/ldifvcardthumbnail.so -%{tde_tdelibdir}/libkaddrbk_*.la -%{tde_tdelibdir}/libkaddrbk_*.so -%{tde_tdelibdir}/libkaddressbookpart.la -%{tde_tdelibdir}/libkaddressbookpart.so -%{tde_libdir}/libkabinterfaces.so.* -%{tde_libdir}/libkaddressbook.so.* -%{tde_tdeappdir}/kaddressbook.desktop -%{tde_datadir}/apps/kaddressbook -%{tde_datadir}/icons/hicolor/*/apps/kaddressbook.png -%{tde_datadir}/services/kabconfig.desktop -%{tde_datadir}/services/kabcustomfields.desktop -%{tde_datadir}/services/kabldapconfig.desktop -%{tde_datadir}/services/kaddressbook -%{tde_datadir}/services/kontact/kaddressbookplugin.desktop -%{tde_datadir}/services/kresources/kabc/imap.desktop -%{tde_datadir}/services/ldifvcardthumbnail.desktop -%{tde_datadir}/servicetypes/dcopaddressbook.desktop -%{tde_datadir}/servicetypes/kaddressbook_contacteditorwidget.desktop -%{tde_datadir}/servicetypes/kaddressbookimprotocol.desktop -%{tde_datadir}/servicetypes/kaddressbook_extension.desktop -%{tde_datadir}/servicetypes/kaddressbook_view.desktop -%{tde_datadir}/servicetypes/kaddressbook_xxport.desktop -%{tde_tdedocdir}/HTML/en/kaddressbook/ -%{tde_datadir}/autostart/kabcdistlistupdater.desktop -%{tde_tdeincludedir}/kaddressbook/ -%{tde_tdeincludedir}/kabc/ - -%post -n trinity-kaddressbook -/sbin/ldconfig || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kaddressbook -/sbin/ldconfig || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kaddressbook-devel -Summary: Development files for trinity-kaddressbook -Group: Development/Libraries -Requires: trinity-kaddressbook = %{version}-%{release} - -%description -n trinity-kaddressbook-devel -%{summary} - -%files -n trinity-kaddressbook-devel -%defattr(-,root,root,-) -%{tde_libdir}/libkabinterfaces.la -%{tde_libdir}/libkabinterfaces.so -%{tde_libdir}/libkaddressbook.la -%{tde_libdir}/libkaddressbook.so - -%post -n trinity-kaddressbook-devel -/sbin/ldconfig || : - -%postun -n trinity-kaddressbook-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kalarm -Summary: Trinity alarm message, command and email scheduler -Group: Applications/Communications -Requires: trinity-libkpimidentities = %{version}-%{release} - -%description -n trinity-kalarm -KAlarm provides a graphical interface to schedule personal timed events - -pop-up alarm messages, command execution and sending emails. There is a -range of options for configuring recurring events. - -A pop-up alarm can show either a simple text message, or the contents of a -text or image file, It can optionally be spoken, or play a sound file. You -can choose its appearance, and set reminders. Among KAlarm's other -facilities, you can set up templates to allow KAlarm to be used as a 'tea -timer'. - -As an alternative to using the graphical interface, alarms can be scheduled -from the command line or via DCOP calls from other programs. KAlarm is -TDE-based, but will also run on other desktops. - -%files -n trinity-kalarm -%defattr(-,root,root,-) -%{tde_bindir}/kalarm -%{tde_bindir}/kalarmd -%{tde_tdeappdir}/kalarm.desktop -%{tde_datadir}/applnk/.hidden/kalarmd.desktop -%{tde_datadir}/applnk/Applications/kalarm.desktop -%{tde_datadir}/apps/kalarm -%{tde_datadir}/autostart/kalarm.tray.desktop -%{tde_datadir}/autostart/kalarmd.autostart.desktop -%{tde_datadir}/icons/crystalsvg/*/actions/kalarm.png -%{tde_datadir}/icons/hicolor/*/apps/kalarm.png -%{tde_tdedocdir}/HTML/en/kalarm/ - -%post -n trinity-kalarm -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kalarm -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kandy -Summary: Trinity mobile phone utility -Group: Applications/Communications - -%description -n trinity-kandy -At the moment Kandy is more or less a terminal program with some special -features to store commands and their parameters, but is also has a simple GUI -to access the phone book of a mobile phone and it is able to save this phone -book to the TDE address book. - -Kandy is aimed at mobile phones with integrated (GSM) modems. - -%files -n trinity-kandy -%defattr(-,root,root,-) -%{tde_bindir}/kandy -%{tde_bindir}/kandy_client -%{tde_tdeappdir}/kandy.desktop -%{tde_datadir}/applnk/Utilities/kandy.desktop -%{tde_datadir}/apps/kandy/ -%{tde_datadir}/icons/crystalsvg/*/apps/kandy.png -%{tde_datadir}/config.kcfg/kandy.kcfg -%{tde_tdedocdir}/HTML/en/kandy/ - -%post -n trinity-kandy -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kandy -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-karm -Summary: Trinity time tracker tool -Group: Applications/Productivity - -%description -n trinity-karm -KArm is a time tracker for busy people who need to keep track of the amount of -time they spend on various tasks. - -%files -n trinity-karm -%defattr(-,root,root,-) -%{tde_bindir}/karm -%{tde_libdir}/libkarm.so.* -%{tde_tdelibdir}/libkarmpart.la -%{tde_tdelibdir}/libkarmpart.so -%{tde_tdeappdir}/karm.desktop -%{tde_datadir}/applnk/Utilities/karm.desktop -%{tde_datadir}/apps/karm/ -%{tde_datadir}/apps/karmpart/ -%{tde_datadir}/icons/hicolor/*/apps/karm.png -%{tde_datadir}/services/karm_part.desktop -%{tde_datadir}/services/kontact/karmplugin.desktop -%{tde_tdedocdir}/HTML/en/karm/ - -%post -n trinity-karm -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-karm -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-karm-devel -Summary: Development files for karm -Group: Development/Libraries - -%description -n trinity-karm-devel -%{summary} - -%files -n trinity-karm-devel -%defattr(-,root,root,-) -%{tde_libdir}/libkarm.so -%{tde_libdir}/libkarm.la - -%post -n trinity-karm-devel -/sbin/ldconfig || : - -%postun -n trinity-karm-devel -/sbin/ldconfig || : - -########## - -%package kfile-plugins -Summary: TDE File dialog plugins for palm and vcf files -Group: Environment/Libraries - -Obsoletes: tdepim-kfile-plugins < %{version}-%{release} - -%description kfile-plugins -File dialog plugins for palm and vcf files. - -%files kfile-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/kfile_ics.la -%{tde_tdelibdir}/kfile_ics.so -%{tde_tdelibdir}/kfile_vcf.la -%{tde_tdelibdir}/kfile_vcf.so -%{tde_datadir}/services/kfile_ics.desktop -%{tde_datadir}/services/kfile_vcf.desktop - -########## - -%package tdeio-plugins -Summary: Trinity PIM I/O Slaves -Group: Environment/Libraries - -Obsoletes: tdepim-kio-plugins < %{version}-%{release} -Obsoletes: trinity-tdepim-kio-plugins < %{version}-%{release} -Provides: trinity-tdepim-kio-plugins = %{version}-%{release} - -%description tdeio-plugins -This package includes the pim kioslaves. This includes imap4, sieve, -and mbox. - -%files tdeio-plugins -%defattr(-,root,root,-) -%{tde_tdelibdir}/kio_groupwise.la -%{tde_tdelibdir}/kio_groupwise.so -%{tde_tdelibdir}/kio_imap4.la -%{tde_tdelibdir}/kio_imap4.so -%{tde_tdelibdir}/kio_mbox.la -%{tde_tdelibdir}/kio_mbox.so -%{tde_tdelibdir}/kio_scalix.la -%{tde_tdelibdir}/kio_scalix.so -%{tde_tdelibdir}/kio_sieve.la -%{tde_tdelibdir}/kio_sieve.so -%{tde_datadir}/services/groupwise.protocol -%{tde_datadir}/services/groupwises.protocol -%{tde_datadir}/services/imap4.protocol -%{tde_datadir}/services/imaps.protocol -%{tde_datadir}/services/mbox.protocol -%{tde_datadir}/services/scalix.protocol -%{tde_datadir}/services/scalixs.protocol -%{tde_datadir}/services/sieve.protocol - -########## - -%package kresources -Summary: Trinity pim resource plugins -Group: Environment/Libraries -#Requires: trinity-kaddressbook = %{version}-%{release} -#Requires: trinity-korganizer = %{version}-%{release} -#Requires: trinity-knotes = %{version}-%{release} -Requires: libcaldav -Requires: libcarddav - -Obsoletes: tdepim-kresources < %{version}-%{release} - -%description kresources -This package includes several plugins needed to interface with groupware -servers. It also includes plugins for features such as blogging and -tracking feature plans. - -%files kresources -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcal_caldav.la -%{tde_tdelibdir}/kcal_caldav.so -%{tde_tdelibdir}/kcal_groupdav.la -%{tde_tdelibdir}/kcal_groupdav.so -%{tde_tdelibdir}/kcal_groupwise.la -%{tde_tdelibdir}/kcal_groupwise.so -%{tde_tdelibdir}/kcal_kolab.la -%{tde_tdelibdir}/kcal_kolab.so -%{tde_tdelibdir}/kcal_scalix.la -%{tde_tdelibdir}/kcal_scalix.so -%{tde_tdelibdir}/kcal_newexchange.la -%{tde_tdelibdir}/kcal_newexchange.so -%{tde_tdelibdir}/kcal_resourcefeatureplan.la -%{tde_tdelibdir}/kcal_resourcefeatureplan.so -%{tde_tdelibdir}/kcal_slox.la -%{tde_tdelibdir}/kcal_slox.so -%{tde_tdelibdir}/kcal_xmlrpc.la -%{tde_tdelibdir}/kcal_xmlrpc.so -%{tde_tdelibdir}/knotes_kolab.la -%{tde_tdelibdir}/knotes_kolab.so -%{tde_tdelibdir}/knotes_scalix.la -%{tde_tdelibdir}/knotes_scalix.so -%{tde_tdelibdir}/knotes_xmlrpc.la -%{tde_tdelibdir}/knotes_xmlrpc.so -%{tde_libdir}/libkabckolab.so.* -%{tde_libdir}/libkabcscalix.so.* -%{tde_libdir}/libkabc_groupdav.so.* -%{tde_libdir}/libkabc_groupwise.so.* -%{tde_libdir}/libkabc_newexchange.so.* -%{tde_libdir}/libkabc_slox.so.* -%{tde_libdir}/libkabc_xmlrpc.so.* -%{tde_libdir}/libkcalkolab.so.* -%{tde_libdir}/libkcalscalix.so.* -%{tde_libdir}/libkcal_caldav.so.* -%{tde_libdir}/libkabc_carddav.so.* -%{tde_libdir}/libkcal_groupdav.so.* -%{tde_libdir}/libkcal_groupwise.so.* -%{tde_libdir}/libkcal_newexchange.so.* -%{tde_libdir}/libkcal_resourcefeatureplan.so.* -%{tde_libdir}/libkcal_slox.so.* -%{tde_libdir}/libkcal_xmlrpc.so.* -%{tde_libdir}/libkgroupwarebase.so.* -%{tde_libdir}/libkgroupwaredav.so.* -%{tde_libdir}/libknoteskolab.so.* -%{tde_libdir}/libknotesscalix.so.* -%{tde_libdir}/libknotes_xmlrpc.so.* -%{tde_libdir}/libkslox.so.* -%{tde_libdir}/libgwsoap.so.* -%{tde_datadir}/services/kresources/kabc/kabc_groupdav.desktop -%{tde_datadir}/services/kresources/kabc/kabc_groupwise.desktop -%{tde_datadir}/services/kresources/kabc/kabc_newexchange.desktop -%{tde_datadir}/services/kresources/kabc/kabc_opengroupware.desktop -%{tde_datadir}/services/kresources/kabc/kabc_ox.desktop -%{tde_datadir}/services/kresources/kabc/kabc_slox.desktop -%{tde_datadir}/services/kresources/kabc/kabc_xmlrpc.desktop -%{tde_datadir}/services/kresources/kabc/kolab.desktop -%{tde_datadir}/services/kresources/kabc/scalix.desktop -%{tde_datadir}/services/kresources/kcal/exchange.desktop -%{tde_datadir}/services/kresources/kcal/kcal_caldav.desktop -%{tde_datadir}/services/kresources/kabc/kabc_carddav.desktop -%{tde_datadir}/services/kresources/kcal/kcal_groupdav.desktop -%{tde_datadir}/services/kresources/kcal/kcal_groupwise.desktop -%{tde_datadir}/services/kresources/kcal/kcal_newexchange.desktop -%{tde_datadir}/services/kresources/kcal/kcal_opengroupware.desktop -%{tde_datadir}/services/kresources/kcal/kcal_ox.desktop -%{tde_datadir}/services/kresources/kcal/kcal_resourcefeatureplan.desktop -%{tde_datadir}/services/kresources/kcal/kcal_slox.desktop -%{tde_datadir}/services/kresources/kcal/kcal_xmlrpc.desktop -%{tde_datadir}/services/kresources/kcal/kolab.desktop -%{tde_datadir}/services/kresources/kcal/scalix.desktop -%{tde_datadir}/services/kresources/knotes/knotes_xmlrpc.desktop -%{tde_datadir}/services/kresources/knotes/kolabresource.desktop -%{tde_datadir}/services/kresources/knotes/scalix.desktop - -%{tde_datadir}/apps/kconf_update/upgrade-resourcetype.pl -%{tde_datadir}/apps/kconf_update/kolab-resource.upd - -%{tde_tdelibdir}/kabc_carddav.la -%{tde_tdelibdir}/kabc_carddav.so -%{tde_tdelibdir}/kabc_groupdav.la -%{tde_tdelibdir}/kabc_groupdav.so -%{tde_tdelibdir}/kabc_groupwise.la -%{tde_tdelibdir}/kabc_groupwise.so -%{tde_tdelibdir}/kabc_kolab.la -%{tde_tdelibdir}/kabc_kolab.so -%{tde_tdelibdir}/kabc_newexchange.la -%{tde_tdelibdir}/kabc_newexchange.so -%{tde_tdelibdir}/kabc_scalix.la -%{tde_tdelibdir}/kabc_scalix.so -%{tde_tdelibdir}/kabc_slox.la -%{tde_tdelibdir}/kabc_slox.so -%{tde_tdelibdir}/kabc_xmlrpc.la -%{tde_tdelibdir}/kabc_xmlrpc.so - -%post kresources -/sbin/ldconfig || : - -%postun kresources -/sbin/ldconfig || : - -########## - -%package kresources-devel -Summary: Development files for kresources -Group: Development/Libraries -Requires: %{name}-kresources = %{version}-%{release} -Requires: libcaldav -Requires: libcarddav - -Obsoletes: tdepim-kresources-devel < %{version}-%{release} - -%description kresources-devel -%{summary} - -%files kresources-devel -%defattr(-,root,root,-) -%{tde_libdir}/libkslox.la -%{tde_libdir}/libkslox.so -%{tde_libdir}/libkabc_groupdav.la -%{tde_libdir}/libkabc_groupdav.so -%{tde_libdir}/libkabc_groupwise.la -%{tde_libdir}/libkabc_groupwise.so -%{tde_libdir}/libgwsoap.la -%{tde_libdir}/libgwsoap.so -%{tde_libdir}/libkabc_carddav.la -%{tde_libdir}/libkabc_carddav.so -%{tde_libdir}/libkabc_newexchange.la -%{tde_libdir}/libkabc_newexchange.so -%{tde_libdir}/libkabc_slox.la -%{tde_libdir}/libkabc_slox.so -%{tde_libdir}/libkabc_xmlrpc.la -%{tde_libdir}/libkabc_xmlrpc.so -%{tde_libdir}/libkabckolab.la -%{tde_libdir}/libkabckolab.so -%{tde_libdir}/libkabcscalix.la -%{tde_libdir}/libkabcscalix.so -%{tde_libdir}/libkcal_caldav.la -%{tde_libdir}/libkcal_caldav.so -%{tde_libdir}/libkcal_groupdav.la -%{tde_libdir}/libkcal_groupdav.so -%{tde_libdir}/libkcal_groupwise.la -%{tde_libdir}/libkcal_groupwise.so -%{tde_libdir}/libkcal_newexchange.la -%{tde_libdir}/libkcal_newexchange.so -%{tde_libdir}/libkcal_resourcefeatureplan.la -%{tde_libdir}/libkcal_resourcefeatureplan.so -%{tde_libdir}/libkcal_slox.la -%{tde_libdir}/libkcal_slox.so -%{tde_libdir}/libkcal_xmlrpc.la -%{tde_libdir}/libkcal_xmlrpc.so -%{tde_libdir}/libkcalkolab.la -%{tde_libdir}/libkcalkolab.so -%{tde_libdir}/libkcalscalix.la -%{tde_libdir}/libkcalscalix.so -%{tde_libdir}/libkgroupwarebase.la -%{tde_libdir}/libkgroupwarebase.so -%{tde_libdir}/libkgroupwaredav.la -%{tde_libdir}/libkgroupwaredav.so -%{tde_libdir}/libknotes_xmlrpc.la -%{tde_libdir}/libknotes_xmlrpc.so -%{tde_libdir}/libknoteskolab.la -%{tde_libdir}/libknoteskolab.so -%{tde_libdir}/libknotesscalix.la -%{tde_libdir}/libknotesscalix.so -%{tde_tdeincludedir}/kpimprefs.h - -%post kresources-devel -/sbin/ldconfig || : - -%postun kresources-devel -/sbin/ldconfig || : - -########## - -%package wizards -Summary: Trinity server configuration wizards -Group: Applications/Communications - -Obsoletes: tdepim-wizards < %{version}-%{release} - -%description wizards -This package contains TDE-based wizards for configuring eGroupware, -Kolab, and SUSE Linux Openexchange servers. - -%files wizards -%defattr(-,root,root,-) -%{tde_bindir}/egroupwarewizard -%{tde_bindir}/exchangewizard -%{tde_bindir}/groupwarewizard -%{tde_bindir}/groupwisewizard -%{tde_bindir}/kolabwizard -%{tde_bindir}/scalixadmin -%{tde_bindir}/scalixwizard -%{tde_bindir}/sloxwizard -%{tde_tdelibdir}/libegroupwarewizard.la -%{tde_tdelibdir}/libegroupwarewizard.so -%{tde_tdelibdir}/libexchangewizard.la -%{tde_tdelibdir}/libexchangewizard.so -%{tde_tdelibdir}/libgroupwisewizard.la -%{tde_tdelibdir}/libgroupwisewizard.so -%{tde_tdelibdir}/libkolabwizard.la -%{tde_tdelibdir}/libkolabwizard.so -%{tde_tdelibdir}/libscalixwizard.la -%{tde_tdelibdir}/libscalixwizard.so -%{tde_tdelibdir}/libsloxwizard.la -%{tde_tdelibdir}/libsloxwizard.so -%{tde_tdeappdir}/groupwarewizard.desktop -%{tde_datadir}/config.kcfg/egroupware.kcfg -%{tde_datadir}/config.kcfg/groupwise.kcfg -%{tde_datadir}/config.kcfg/kolab.kcfg -%{tde_datadir}/config.kcfg/scalix.kcfg -%{tde_datadir}/config.kcfg/slox.kcfg - -%post wizards -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun wizards -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%if 0%{?with_kitchensync} -%package -n trinity-kitchensync -Summary: Synchronization framework -Group: Applications/Communications -BuildRequires: opensync-devel -#Suggests: konqueror-trinity -#Conflicts: kdebluetooth-irmcsync-trinity (<< 0.99+1.0beta2-4.1), ksync-trinity - -%description -n trinity-kitchensync -This package contains a synchronization framework, still under heavy -development (?). Kitchensync uses opensync. - -%files -n trinity-kitchensync -%defattr(-,root,root,-) -%{tde_bindir}/kitchensync -%{tde_tdelibdir}/libkitchensyncpart.la -%{tde_tdelibdir}/libkitchensyncpart.so -%{tde_datadir}/apps/kitchensync -%{tde_libdir}/libkitchensync.so.* -%{tde_libdir}/libqopensync.so.* -%{tde_tdeappdir}/kitchensync.desktop -%{tde_datadir}/icons/hicolor/*/apps/kitchensync.png - -%post -n trinity-kitchensync -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kitchensync -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : -%endif - -########## - -%package -n trinity-kleopatra -Summary: Trinity Certificate Manager -Group: Applications/Communications - -# GPG support -%if 0%{?suse_version} -Requires: gpg2 -%endif -%if 0%{?rhel} == 4 -Requires: gnupg -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} -Requires: gnupg2 -%endif - -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} -Requires: pinentry -Requires: dirmngr -%endif - -%description -n trinity-kleopatra -Kleopatra is the TDE tool for managing X.509 certificates in the gpgsm -keybox and for retrieving certificates from LDAP servers. - -%files -n trinity-kleopatra -%defattr(-,root,root,-) -%{tde_bindir}/kleopatra -%{tde_bindir}/kwatchgnupg -%{tde_tdelibdir}/kcm_kleopatra.la -%{tde_tdelibdir}/kcm_kleopatra.so -%{tde_tdeappdir}/kleopatra_import.desktop -%{tde_datadir}/apps/kleopatra -%{tde_datadir}/apps/kwatchgnupg -%{tde_datadir}/services/kleopatra_config_*.desktop -%{tde_tdedocdir}/HTML/en/kleopatra/ -%{tde_tdedocdir}/HTML/en/kwatchgnupg/ - -%post -n trinity-kleopatra -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kleopatra -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kmail -Summary: Trinity Email client -Group: Applications/Communications -Requires: %{name}-tdeio-plugins = %{version}-%{release} -Requires: trinity-tdebase-tdeio-pim-plugins >= %{version} - -# GPG support -%if 0%{?suse_version} -Requires: gpg2 -%endif -%if 0%{?rhel} == 4 -Requires: gnupg -%endif -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} -Requires: gnupg2 -%endif - -# Pinentry -%if 0%{?suse_version} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} -Requires: pinentry -%endif - -Requires: procmail -Requires: trinity-kaddressbook = %{version}-%{release} -Requires: trinity-kleopatra = %{version}-%{release} -Requires: trinity-tdebase-tdeio-pim-plugins >= %{version}-%{release} - -Provides: imap-client, mail-reader - -%description -n trinity-kmail -KMail is a fully-featured email client that fits nicely into the TDE -desktop. It has features such as support for IMAP, POP3, multiple accounts, -mail filtering and sorting, PGP/GnuPG privacy, and inline attachments. - -You need to install %{name}-tdeio-plugins if you want to use IMAP or -mbox files, and/or trinity-tdebase-tdeio-plugins if you want to use POP3. - -%files -n trinity-kmail -%defattr(-,root,root,-) -%{tde_datadir}/config/kmail.antispamrc -%{tde_datadir}/config/kmail.antivirusrc -%{tde_bindir}/kmail -%{tde_bindir}/kmail_*.sh -%{tde_tdelibdir}/kcm_kmail.la -%{tde_tdelibdir}/kcm_kmail.so -%{tde_tdelibdir}/libkmail_bodypartformatter_application_octetstream.la -%{tde_tdelibdir}/libkmail_bodypartformatter_application_octetstream.so -%{tde_tdelibdir}/libkmail_bodypartformatter_text_calendar.la -%{tde_tdelibdir}/libkmail_bodypartformatter_text_calendar.so -%{tde_tdelibdir}/libkmail_bodypartformatter_text_vcard.la -%{tde_tdelibdir}/libkmail_bodypartformatter_text_vcard.so -%{tde_tdelibdir}/libkmail_bodypartformatter_text_xdiff.la -%{tde_tdelibdir}/libkmail_bodypartformatter_text_xdiff.so -%{tde_tdelibdir}/libkmailpart.la -%{tde_tdelibdir}/libkmailpart.so -%{tde_tdeappdir}/KMail.desktop -%{tde_tdeappdir}/kmail_view.desktop -%{tde_datadir}/apps/kconf_update/kmail-3.1-update-new-mail-notification-settings.pl -%{tde_datadir}/apps/kconf_update/kmail-3.1-use-UOID-for-identities.pl -%{tde_datadir}/apps/kconf_update/kmail-3.1.4-dont-use-UOID-0-for-any-identity.pl -%{tde_datadir}/apps/kconf_update/kmail-3.2-misc.sh -%{tde_datadir}/apps/kconf_update/kmail-3.2-update-loop-on-goto-unread-settings.sh -%{tde_datadir}/apps/kconf_update/kmail-3.3-aegypten.pl -%{tde_datadir}/apps/kconf_update/kmail-3.3-misc.pl -%{tde_datadir}/apps/kconf_update/kmail-3.3-move-identities.pl -%{tde_datadir}/apps/kconf_update/kmail-3.3-split-sign-encr-keys.sh -%{tde_datadir}/apps/kconf_update/kmail-3.3-use-ID-for-accounts.pl -%{tde_datadir}/apps/kconf_update/kmail-3.3b1-misc.pl -%{tde_datadir}/apps/kconf_update/kmail-3.4-misc.pl -%{tde_datadir}/apps/kconf_update/kmail-3.4.1-update-status-filters.pl -%{tde_datadir}/apps/kconf_update/kmail-3.5-trigger-flag-migration.pl -%{tde_datadir}/apps/kconf_update/kmail-3.5-filter-icons.pl -%{tde_datadir}/apps/kconf_update/kmail-pgpidentity.pl -%{tde_datadir}/apps/kconf_update/kmail-upd-identities.pl -%{tde_datadir}/apps/kconf_update/kmail.upd -%{tde_datadir}/apps/kconf_update/upgrade-signature.pl -%{tde_datadir}/apps/kconf_update/upgrade-transport.pl -%{tde_datadir}/apps/kmail -%{tde_datadir}/apps/konqueror/servicemenus/email.desktop -%{tde_datadir}/config.kcfg/custommimeheader.kcfg -%{tde_datadir}/config.kcfg/kmail.kcfg -%{tde_datadir}/config.kcfg/customtemplates_kfg.kcfg -%{tde_datadir}/config.kcfg/replyphrases.kcfg -%{tde_datadir}/config.kcfg/templatesconfiguration_kfg.kcfg -%{tde_datadir}/icons/crystalsvg/*/apps/kmaillight.png -%{tde_datadir}/icons/hicolor/*/apps/kmail.png -%{tde_datadir}/icons/hicolor/scalable/apps/kmail.svgz -%{tde_datadir}/services/kmail_config_*.desktop -%{tde_datadir}/services/kontact/kmailplugin.desktop -%{tde_datadir}/servicetypes/dcopimap.desktop -%{tde_datadir}/servicetypes/dcopmail.desktop -# 'libkmailprivate.so' is required at runtime, not devel ! -%{tde_libdir}/libkmailprivate.so -%{tde_libdir}/libkmailprivate.la -%{tde_tdedocdir}/HTML/en/kmail/ - -%post -n trinity-kmail -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kmail -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kmail-devel -Summary: Development files for kmail -Group: Development/Libraries - -%description -n trinity-kmail-devel -%{summary} - -%files -n trinity-kmail-devel -%defattr(-,root,root,-) -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kmail/ -%{tde_tdeincludedir}/kmail*.h - -%post -n trinity-kmail-devel -/sbin/ldconfig || : - -%postun -n trinity-kmail-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kmailcvt -Summary: Trinity KMail mail folder converter -Group: Applications/Communications -Requires: trinity-kmail = %{version}-%{release} - -%description -n trinity-kmailcvt -Converts mail folders to KMail format. Formats supported for import -include Outlook Express, Evolution, and plain mbox. - -%files -n trinity-kmailcvt -%defattr(-,root,root,-) -%{tde_bindir}/kmailcvt -%{tde_datadir}/applnk/Utilities/kmailcvt.desktop -%{tde_datadir}/apps/kmailcvt -%{tde_datadir}/icons/crystalsvg/*/apps/kmailcvt.png - -%post -n trinity-kmailcvt -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - -%postun -n trinity-kmailcvt -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - -########## - -%package -n trinity-knode -Summary: Trinity news reader -Group: Applications/Internet - -%description -n trinity-knode -KNode is an easy-to-use, convenient newsreader. It is intended to be usable -by inexperienced users, but also includes support for such features as -MIME attachments, article scoring, and creating and verifying GnuPG -signatures. - -%files -n trinity-knode -%defattr(-,root,root,-) -%{tde_bindir}/knode -%{tde_tdelibdir}/kcm_knode.la -%{tde_tdelibdir}/kcm_knode.so -%{tde_tdelibdir}/libknodepart.la -%{tde_tdelibdir}/libknodepart.so -%{tde_libdir}/libknodecommon.so.* -%{tde_tdeappdir}/KNode.desktop -%{tde_datadir}/apps/knode/ -%{tde_datadir}/icons/hicolor/*/apps/knode.png -%{tde_datadir}/icons/hicolor/*/apps/knode2.png -%{tde_datadir}/services/knewsservice.protocol -%{tde_datadir}/services/knode_config_*.desktop -%{tde_datadir}/services/kontact/knodeplugin.desktop -%{tde_tdedocdir}/HTML/en/knode/ - -%post -n trinity-knode -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-knode -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-knode-devel -Summary: Development files for trinity-knode -Group: Development/Libraries -Requires: trinity-knode = %{version}-%{release} - -%description -n trinity-knode-devel -%{summary} - -%files -n trinity-knode-devel -%defattr(-,root,root,-) -%{tde_libdir}/libknodecommon.la -%{tde_libdir}/libknodecommon.so - -%post -n trinity-knode-devel -/sbin/ldconfig || : - -%postun -n trinity-knode-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-knotes -Summary: Trinity sticky notes -Group: Applications/Utilities -Requires: trinity-tdepim-kresources = %{version}-%{release} - -%description -n trinity-knotes -KNotes is a program that lets you write sticky notes. The notes are saved -automatically when you exit the program, and they display when you open the -program. The program supports printing and mailing your notes. - -%files -n trinity-knotes -%defattr(-,root,root,-) -%{tde_bindir}/knotes -%{tde_tdelibdir}/knotes_local.la -%{tde_tdelibdir}/knotes_local.so -%{tde_libdir}/libknotes.so.* -%{tde_tdeappdir}/knotes.desktop -%{tde_datadir}/apps/knotes/ -%{tde_datadir}/config.kcfg/knoteconfig.kcfg -%{tde_datadir}/config.kcfg/knotesglobalconfig.kcfg -%{tde_datadir}/icons/hicolor/*/apps/knotes.png -%{tde_datadir}/services/kresources/knotes/imap.desktop -%{tde_datadir}/services/kresources/knotes/local.desktop -%{tde_datadir}/services/kresources/knotes_manager.desktop -%{tde_datadir}/services/kontact/knotesplugin.desktop -%{tde_tdedocdir}/HTML/en/knotes/ - -%post -n trinity-knotes -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-knotes -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-knotes-devel -Summary: Development files for knots -Group: Development/Libraries -Requires: trinity-knotes = %{version}-%{release} -Requires: %{name}-kresources-devel = %{version}-%{release} - -%description -n trinity-knotes-devel -%{summary} - -%files -n trinity-knotes-devel -%defattr(-,root,root,-) -%{tde_libdir}/libknotes.so -%{tde_libdir}/libknotes.la -%{tde_tdeincludedir}/KNotesAppIface.h -%{tde_tdeincludedir}/KNotesIface.h - -%post -n trinity-knotes-devel -/sbin/ldconfig || : - -%postun -n trinity-knotes-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kode -Summary: Helper library for programmatic generation of C++ code -Group: Development/Libraries - -%description -n trinity-kode -This package includes a program kode for generation of C++ template files -and kxml_compiler for generation of C++ classes representing XML data -described by RelaxNG schemes. - -%files -n trinity-kode -%defattr(-,root,root,-) -%{tde_bindir}/kode -%{tde_bindir}/kxml_compiler -%{tde_libdir}/libkode.so.* - -%post -n trinity-kode -/sbin/ldconfig || : - -%postun -n trinity-kode -/sbin/ldconfig || : - -########## - -%package -n trinity-kode-devel -Summary: Development files for trinity-kode -Group: Development/Libraries -Requires: trinity-kode = %{version}-%{release} - -%description -n trinity-kode-devel -%{summary} - -%files -n trinity-kode-devel -%defattr(-,root,root,-) -%{tde_libdir}/libkode.la -%{tde_libdir}/libkode.so - -%post -n trinity-kode-devel -/sbin/ldconfig || : - -%postun -n trinity-kode-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-konsolekalendar -Summary: Trinity konsole personal organizer -Group: Applications/Productivity - -%description -n trinity-konsolekalendar -KonsoleKalendar is a command-line interface to TDE calendars. -Konsolekalendar complements the TDE KOrganizer by providing a console -frontend to manage your calendars. - -%files -n trinity-konsolekalendar -%defattr(-,root,root,-) -%{tde_bindir}/konsolekalendar -%{tde_tdeappdir}/konsolekalendar.desktop -%{tde_datadir}/icons/crystalsvg/*/apps/konsolekalendar.png -%{tde_tdedocdir}/HTML/en/konsolekalendar/ - -%post -n trinity-konsolekalendar -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-konsolekalendar -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kontact -Summary: Trinity pim application -Group: Applications/Communications -Requires: trinity-kmail = %{version}-%{release} -Requires: trinity-korganizer = %{version}-%{release} -Requires: trinity-kaddressbook = %{version}-%{release} -Requires: trinity-knode = %{version}-%{release} -Requires: trinity-knotes = %{version}-%{release} -Requires: trinity-akregator = %{version}-%{release} - -%description -n trinity-kontact -Kontact is the integrated solution to your personal information management -needs. It combines TDE applications like KMail, KOrganizer, and -KAddressBook into a single interface to provide easy access to mail, -scheduling, address book and other PIM functionality. - -%files -n trinity-kontact -%defattr(-,root,root,-) -%{tde_bindir}/kontact -%{tde_tdelibdir}/kcm_kmailsummary.la -%{tde_tdelibdir}/kcm_kmailsummary.so -%{tde_tdelibdir}/kcm_kontact.la -%{tde_tdelibdir}/kcm_kontact.so -%{tde_tdelibdir}/kcm_kontactknt.la -%{tde_tdelibdir}/kcm_kontactknt.so -%{tde_tdelibdir}/kcm_kontactsummary.la -%{tde_tdelibdir}/kcm_kontactsummary.so -%{tde_tdelibdir}/kcm_korgsummary.la -%{tde_tdelibdir}/kcm_korgsummary.so -%{tde_tdelibdir}/kcm_sdsummary.la -%{tde_tdelibdir}/kcm_sdsummary.so -%{tde_tdelibdir}/libkontact_*.la -%{tde_tdelibdir}/libkontact_*.so -%{tde_libdir}/libkontact.so.* -%{tde_libdir}/libkpinterfaces.so.* -%{tde_tdeappdir}/Kontact.desktop -%{tde_tdeappdir}/kontactdcop.desktop -%{tde_datadir}/apps/kontact -%{tde_datadir}/apps/kontactsummary/kontactsummary_part.rc -%{tde_datadir}/config.kcfg/kontact.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kontact.png -%{tde_datadir}/icons/crystalsvg/*/actions/kontact_*.png -%{tde_datadir}/services/kcmkmailsummary.desktop -%{tde_datadir}/services/kcmkontactknt.desktop -%{tde_datadir}/services/kcmkontactsummary.desktop -%{tde_datadir}/services/kcmkorgsummary.desktop -%{tde_datadir}/services/kcmsdsummary.desktop -%{tde_datadir}/services/kontact/newstickerplugin.desktop -%{tde_datadir}/services/kontact/specialdatesplugin.desktop -%{tde_datadir}/services/kontact/summaryplugin.desktop -%{tde_datadir}/services/kontact/weatherplugin.desktop -%{tde_datadir}/services/kontactconfig.desktop -%{tde_datadir}/servicetypes/kontactplugin.desktop -%{tde_tdedocdir}/HTML/en/kontact/ -%{tde_tdedocdir}/HTML/en/kpilot/ - -%post -n trinity-kontact -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kontact -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kontact-devel -Summary: Development files for kontact -Group: Development/Libraries -Requires: trinity-kontact = %{version}-%{release} - -%description -n trinity-kontact-devel -%{summary} - -%files -n trinity-kontact-devel -%defattr(-,root,root,-) -%{tde_libdir}/libkontact.la -%{tde_libdir}/libkontact.so -%{tde_libdir}/libkpinterfaces.la -%{tde_libdir}/libkpinterfaces.so -%{tde_tdeincludedir}/kontact/ - -%post -n trinity-kontact-devel -/sbin/ldconfig || : - -%postun -n trinity-kontact-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-korganizer -Summary: Trinity personal organizer -Group: Applications/Productivity -Requires: trinity-libkpimidentities = %{version}-%{release} -Requires: trinity-libkpimexchange = %{version}-%{release} -Requires: %{name}-kresources = %{version}-%{release} -Requires: perl - -%description -n trinity-korganizer -This package contains KOrganizer, a calendar and scheduling program. - -KOrganizer aims to be a complete program for organizing appointments, -contacts, projects, etc. KOrganizer natively supports information interchange -with other calendar applications, through the industry standard vCalendar -personal data interchange file format. This eases the move from other -modern PIMs to KOrganizer. - -KOrganizer offers full synchronization with Palm Pilots, if kpilot is -installed. - -%files -n trinity-korganizer -%defattr(-,root,root,-) -%{tde_bindir}/ical2vcal -%{tde_bindir}/korgac -%{tde_bindir}/korganizer -%{tde_tdelibdir}/kcm_korganizer.la -%{tde_tdelibdir}/kcm_korganizer.so -%{tde_tdelibdir}/libkorg_*.la -%{tde_tdelibdir}/libkorg_*.so -%{tde_tdelibdir}/libkorganizerpart.la -%{tde_tdelibdir}/libkorganizerpart.so -%{tde_libdir}/libkocorehelper.so.* -%{tde_libdir}/libkorg_stdprinting.so.* -%{tde_libdir}/libkorganizer.so.* -%{tde_libdir}/libkorganizer_calendar.so.* -%{tde_libdir}/libkorganizer_eventviewer.so.* -%{tde_tdeappdir}/korganizer.desktop -%{tde_datadir}/apps/kconf_update/korganizer.upd -%{tde_datadir}/apps/korgac/ -%{tde_datadir}/apps/korganizer/ -%{tde_datadir}/autostart/korgac.desktop -%{tde_datadir}/config.kcfg/korganizer.kcfg -%{tde_datadir}/icons/hicolor/*/apps/korganizer.png -%{tde_datadir}/services/kontact/korganizerplugin.desktop -%{tde_datadir}/services/kontact/journalplugin.desktop -%{tde_datadir}/services/kontact/todoplugin.desktop -%{tde_datadir}/services/korganizer_*.desktop -%{tde_datadir}/services/korganizer -%{tde_datadir}/services/webcal.protocol -%{tde_datadir}/servicetypes/calendardecoration.desktop -%{tde_datadir}/servicetypes/calendarplugin.desktop -%{tde_datadir}/servicetypes/dcopcalendar.desktop -%{tde_datadir}/servicetypes/korganizerpart.desktop -%{tde_datadir}/servicetypes/korgprintplugin.desktop -%{tde_tdedocdir}/HTML/en/korganizer/ - -%post -n trinity-korganizer -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-korganizer -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-korganizer-devel -Summary: Development files for korganizer -Group: Development/Libraries -Requires: trinity-korganizer = %{version}-%{release} - -%description -n trinity-korganizer-devel -%{summary} - -%files -n trinity-korganizer-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/korganizer/ -%{tde_tdeincludedir}/calendar/ -%{tde_libdir}/libkocorehelper.la -%{tde_libdir}/libkocorehelper.so -%{tde_libdir}/libkorg_stdprinting.la -%{tde_libdir}/libkorg_stdprinting.so -%{tde_libdir}/libkorganizer.la -%{tde_libdir}/libkorganizer.so -%{tde_libdir}/libkorganizer_calendar.la -%{tde_libdir}/libkorganizer_calendar.so -%{tde_libdir}/libkorganizer_eventviewer.la -%{tde_libdir}/libkorganizer_eventviewer.so - -%post -n trinity-korganizer-devel -/sbin/ldconfig || : - -%postun -n trinity-korganizer-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-korn -Summary: Trinity mail checker -Group: Applications/Communications -Requires: %{name}-tdeio-plugins = %{version}-%{release} - -%description -n trinity-korn -Korn is a TDE mail checker that can display a small summary in the Kicker -tray. It supports checking mbox, pop3, imap4, and nntp sources. - -Once mail is received you can have Korn run a third party program or change -the color/icon of the Kicker display. In addition to this you can have -Korn run a program once you click on the docked icon in Kicker. - -%files -n trinity-korn -%defattr(-,root,root,-) -%{tde_bindir}/korn -%{tde_libdir}/kconf_update_bin/korn-3-4-config_change -%{tde_tdeappdir}/KOrn.desktop -%{tde_datadir}/apps/kconf_update/korn-3-4-config_change.upd -%{tde_datadir}/apps/kconf_update/korn-3-5-metadata-update.pl -%{tde_datadir}/apps/kconf_update/korn-3-5-ssl-update.pl -%{tde_datadir}/apps/kconf_update/korn-3-5-update.upd -%{tde_datadir}/icons/hicolor/*/apps/korn.png -%{tde_tdedocdir}/HTML/en/korn/ - -%post -n trinity-korn -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-korn -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ktnef -Summary: Trinity TNEF viewer -Group: Applications/Communications - -%description -n trinity-ktnef -The TNEF File Viewer allows you to handle mail attachments using the TNEF -format. These attachments are usually found in mails coming from Microsoft -mail servers and embed the mail properties as well as the actual attachments. - -%files -n trinity-ktnef -%defattr(-,root,root,-) -%{tde_bindir}/ktnef -%{tde_tdeappdir}/ktnef.desktop -%{tde_datadir}/apps/ktnef -%{tde_datadir}/icons/hicolor/*/apps/ktnef.png -%{tde_datadir}/icons/locolor/*/apps/ktnef.png -%{tde_datadir}/mimelnk/application/ms-tnef.desktop -%{tde_tdedocdir}/HTML/en/ktnef/ - -%post -n trinity-ktnef -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ktnef -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-libindex -Summary: Trinity indexing library -Group: Environment/Libraries - -%description -n trinity-libindex -This library provides text indexing and is currently used by KMail -to implement fast searches in mail bodies. - -This is the runtime package for programs that use the libindex library. - -%files -n trinity-libindex -%defattr(-,root,root,-) -%{tde_libdir}/libindex.so.* - -%post -n trinity-libindex -/sbin/ldconfig || : - -%postun -n trinity-libindex -/sbin/ldconfig || : - -########## - -%package -n trinity-libindex-devel -Summary: Trinity indexing library [development] -Group: Development/Libraries -Requires: trinity-libindex = %{version}-%{release} - -%description -n trinity-libindex-devel -This library provides text indexing and is currently used by KMail -to implement searching through mail text. - -This is the development package which contains the headers for the libindex-trinity -library. - -%files -n trinity-libindex-devel -%defattr(-,root,root,-) -%{tde_bindir}/indexlib-config -%{tde_tdeincludedir}/index -%{tde_libdir}/libindex.la -%{tde_libdir}/libindex.so - -%post -n trinity-libindex-devel -/sbin/ldconfig || : - -%postun -n trinity-libindex-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkcal -Summary: Trinity calendaring library -Group: Environment/Libraries -#Requires: %{name}-kresources = %{version}-%{release} - -%description -n trinity-libkcal -This library provides a C++ API for handling the vCalendar and iCalendar -formats. - -This is the runtime package for programs that use the libkcal-trinity library. - -%files -n trinity-libkcal -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcal_kabc.la -%{tde_tdelibdir}/kcal_kabc.so -%{tde_tdelibdir}/kcal_localdir.la -%{tde_tdelibdir}/kcal_localdir.so -%{tde_tdelibdir}/kcal_local.la -%{tde_tdelibdir}/kcal_local.so -%{tde_tdelibdir}/kcal_remote.la -%{tde_tdelibdir}/kcal_remote.so -%{tde_libdir}/libkcal.so.* -%{tde_libdir}/libkcal_resourceremote.so.* -%{tde_libdir}/libkholidays.so.* -%{tde_datadir}/apps/libkholidays -%{tde_datadir}/services/kresources/kcal/imap.desktop -%{tde_datadir}/services/kresources/kcal/kabc.desktop -%{tde_datadir}/services/kresources/kcal/local.desktop -%{tde_datadir}/services/kresources/kcal/localdir.desktop -%{tde_datadir}/services/kresources/kcal/remote.desktop -%{tde_datadir}/services/kresources/kcal_manager.desktop - -%post -n trinity-libkcal -/sbin/ldconfig || : - -%postun -n trinity-libkcal -/sbin/ldconfig || : - -########## - -%package -n trinity-libkcal-devel -Summary: Trinity calendaring library [development] -Group: Development/Libraries -Requires: trinity-libkcal = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} -Requires: trinity-libktnef-devel = %{version}-%{release} - -%description -n trinity-libkcal-devel -This library provides a C++ API for handling the vCalendar and iCalendar -formats. - -This is the development package which contains the headers for the libkcal-trinity -library. - -%files -n trinity-libkcal-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/libemailfunctions/idmapper.h -%{tde_tdeincludedir}/libkcal -%{tde_libdir}/libkcal.la -%{tde_libdir}/libkcal.so -%{tde_libdir}/libkcal_resourceremote.la -%{tde_libdir}/libkcal_resourceremote.so -%{tde_libdir}/libkholidays.la -%{tde_libdir}/libkholidays.so - -%post -n trinity-libkcal-devel -/sbin/ldconfig || : - -%postun -n trinity-libkcal-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libtdepim -Summary: Trinity PIM library -Group: Environment/Libraries -Requires: trinity-libkcal = %{version}-%{release} - -Obsoletes: libtdepim < %{version}-%{release} -Provides: libtdepim = %{version}-%{release} - -%description -n trinity-libtdepim -This is the runtime package for programs that use the trinity-libtdepim library. - -%files -n trinity-libtdepim -%defattr(-,root,root,-) -%{tde_tdelibdir}/plugins/designer/[kt]depimwidgets.la -%{tde_tdelibdir}/plugins/designer/[kt]depimwidgets.so -%{tde_tdelibdir}/plugins/designer/kpartsdesignerplugin.la -%{tde_tdelibdir}/plugins/designer/kpartsdesignerplugin.so -%{tde_libdir}/lib[kt]depim.so.* -%{tde_datadir}/apps/[kt]depimwidgets -%{tde_datadir}/apps/lib[kt]depim -%{tde_datadir}/apps/[kt]depim -%{tde_datadir}/config.kcfg/pimemoticons.kcfg -%{tde_datadir}/icons/crystalsvg/22x22/actions/button_fewer.png -%{tde_datadir}/icons/crystalsvg/22x22/actions/button_more.png - -%post -n trinity-libtdepim -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -%postun -n trinity-libtdepim -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -########## - -%package -n trinity-libtdepim-devel -Summary: Trinity PIM library [development] -Group: Development/Libraries -Requires: trinity-libtdepim = %{version}-%{release} -Requires: trinity-tdelibs-devel >= %{version} - -Obsoletes: libtdepim-devel < %{version}-%{release} -Provides: libtdepim-devel = %{version}-%{release} - -%description -n trinity-libtdepim-devel -This is the development package which contains the headers for the libtdepim-trinity -library. - -%files -n trinity-libtdepim-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/[kt]depimmacros.h -%{tde_libdir}/lib[kt]depim.la -%{tde_libdir}/lib[kt]depim.so - -%post -n trinity-libtdepim-devel -/sbin/ldconfig || : - -%postun -n trinity-libtdepim-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkgantt -Summary: Trinity gantt charting library -Group: Environment/Libraries - -%description -n trinity-libkgantt -This is the runtime package for programs that use the libkgantt-trinity library. - -%files -n trinity-libkgantt -%defattr(-,root,root,-) -%{tde_libdir}/libkgantt.so.* -%{tde_datadir}/apps/kgantt - -%post -n trinity-libkgantt -/sbin/ldconfig || : - -%postun -n trinity-libkgantt -/sbin/ldconfig || : - -########## - -%package -n trinity-libkgantt-devel -Summary: Trinity gantt charting library [development] -Group: Development/Libraries -Requires: trinity-libkgantt = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} - -%description -n trinity-libkgantt-devel -This is the development package which contains the headers for the libkgantt-trinity -library. - -%files -n trinity-libkgantt-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/kgantt -%{tde_libdir}/libkgantt.la -%{tde_libdir}/libkgantt.so - -%post -n trinity-libkgantt-devel -/sbin/ldconfig || : - -%postun -n trinity-libkgantt-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkleopatra -Summary: TDE GnuPG interface libraries -Group: Environment/Libraries -Requires: gnupg - -%description -n trinity-libkleopatra -This library is used by several TDE applications to interface to the -GnuPG program. - -This is the runtime package for programs that use the libkleopatra-trinity library. - -%files -n trinity-libkleopatra -%defattr(-,root,root,-) -%{tde_datadir}/config/libkleopatrarc -%{tde_libdir}/libgpgme++.so.* -%{tde_libdir}/libkleopatra.so.* -%{tde_libdir}/libkpgp.so.* -%{tde_libdir}/libqgpgme.so.* -%{tde_datadir}/apps/kconf_update/kpgp-3.1-upgrade-address-data.pl -%{tde_datadir}/apps/kconf_update/kpgp.upd -%{tde_datadir}/apps/libkleopatra/ -%{tde_datadir}/icons/crystalsvg/*/apps/gpg.png -%{tde_datadir}/icons/crystalsvg/*/apps/gpgsm.png - -%post -n trinity-libkleopatra -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -%postun -n trinity-libkleopatra -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -/sbin/ldconfig || : - -########## - -%package -n trinity-libkleopatra-devel -Summary: Trinity GnuPG interface libraries [development] -Group: Development/Libraries -Requires: trinity-libkleopatra = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} - -%description -n trinity-libkleopatra-devel -This library is used by several TDE applications to interface to the -GnuPG program. - -This is the development package which contains the headers for the -libkleopatra-trinity library. - -%files -n trinity-libkleopatra-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/gpgme++/ -%{tde_tdeincludedir}/kleo/ -%{tde_tdeincludedir}/qgpgme/ -%{tde_libdir}/libgpgme++.la -%{tde_libdir}/libgpgme++.so -%{tde_libdir}/libkleopatra.la -%{tde_libdir}/libkleopatra.so -%{tde_libdir}/libkpgp.la -%{tde_libdir}/libkpgp.so -%{tde_libdir}/libqgpgme.la -%{tde_libdir}/libqgpgme.so - -%post -n trinity-libkleopatra-devel -/sbin/ldconfig || : - -%postun -n trinity-libkleopatra-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkmime -Summary: Trinity MIME interface library -Group: Environment/Libraries -#Conflicts: trinity-libmimelib - -%description -n trinity-libkmime -This library provides a C++ interface to MIME messages, parsing them into -an object tree. - -%files -n trinity-libkmime -%defattr(-,root,root,-) -%{tde_libdir}/libkmime.so.* - -%post -n trinity-libkmime -/sbin/ldconfig || : - -%postun -n trinity-libkmime -/sbin/ldconfig || : - -########## - -%package -n trinity-libkmime-devel -Summary: Development files for libkmime -Group: Development/Libraries -Requires: trinity-libkmime = %{version}-%{release} - -%description -n trinity-libkmime-devel -%{summary} - -%files -n trinity-libkmime-devel -%defattr(-,root,root,-) -%{tde_libdir}/libkmime.la -%{tde_libdir}/libkmime.so - -%post -n trinity-libkmime-devel -/sbin/ldconfig || : - -%postun -n trinity-libkmime-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkpimexchange -Summary: Trinity PIM Exchange library -Group: Environment/Libraries - -%description -n trinity-libkpimexchange -This is the runtime package for programs that use the libkpimexchange-trinity -library. - -%files -n trinity-libkpimexchange -%defattr(-,root,root,-) -%{tde_tdelibdir}/resourcecalendarexchange.la -%{tde_tdelibdir}/resourcecalendarexchange.so -%{tde_libdir}/libkpimexchange.so.* - -%post -n trinity-libkpimexchange -/sbin/ldconfig || : - -%postun -n trinity-libkpimexchange -/sbin/ldconfig || : - -########## - -%package -n trinity-libkpimexchange-devel -Summary: Trinity PIM Exchange library [development] -Group: Development/Libraries -Requires: trinity-libkpimexchange = %{version}-%{release} -Requires: trinity-libkcal-devel = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} - -%description -n trinity-libkpimexchange-devel -This is the development package which contains the headers for the -libkpimexchange-trinity library. - -%files -n trinity-libkpimexchange-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/[kt]depim/exchangeaccount.h -%{tde_tdeincludedir}/[kt]depim/exchangeclient.h -%{tde_libdir}/libkpimexchange.la -%{tde_libdir}/libkpimexchange.so - -%post -n trinity-libkpimexchange-devel -/sbin/ldconfig || : - -%postun -n trinity-libkpimexchange-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libkpimidentities -Summary: Trinity PIM user identity information library -Group: Environment/Libraries - -%description -n trinity-libkpimidentities -This library provides information to TDE programs about user identity, -such as email address, organization, etc. - -This is the runtime package for programs that use the libkpimidentities-trinity -library. - -%files -n trinity-libkpimidentities -%defattr(-,root,root,-) -%{tde_libdir}/libkpimidentities.so.* - -%post -n trinity-libkpimidentities -/sbin/ldconfig || : - -%postun -n trinity-libkpimidentities -/sbin/ldconfig || : - -########## - -%package -n trinity-libkpimidentities-devel -Summary: Development files for libkpimidentities -Group: Development/Libraries -Requires: trinity-libkpimidentities = %{version}-%{release} - -%description -n trinity-libkpimidentities-devel -%{summary} - -%files -n trinity-libkpimidentities-devel -%defattr(-,root,root,-) -%{tde_libdir}/libkpimidentities.la -%{tde_libdir}/libkpimidentities.so - -%post -n trinity-libkpimidentities-devel -/sbin/ldconfig || : - -%postun -n trinity-libkpimidentities-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libksieve -Summary: Trinity mail/news message filtering library -Group: Environment/Libraries - -%description -n trinity-libksieve -This is the runtime package for programs that use the libksieve-trinity library. - -%files -n trinity-libksieve -%defattr(-,root,root,-) -%{tde_libdir}/libksieve.so.* - -%post -n trinity-libksieve -/sbin/ldconfig || : - -%postun -n trinity-libksieve -/sbin/ldconfig || : - -########## - -%package -n trinity-libksieve-devel -Summary: Trinity mail/news message filtering library [development] -Group: Development/Libraries -Requires: trinity-libksieve = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} - -%description -n trinity-libksieve-devel -This is the development package which contains the headers for the libksieve-trinity -library. - -%files -n trinity-libksieve-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/ksieve -%{tde_libdir}/libksieve.la -%{tde_libdir}/libksieve.so - -%post -n trinity-libksieve-devel -/sbin/ldconfig || : - -%postun -n trinity-libksieve-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libktnef -Summary: Library for handling KTNEF email attachments -Group: Environment/Libraries - -%description -n trinity-libktnef -This library handles mail attachments using the TNEF format. These -attachments are usually found in mails coming from Microsoft mail -servers and embed the mail properties as well as the actual -attachments. -. -This is the runtime library for packages using the ktnef-trinity library. - -%files -n trinity-libktnef -%defattr(-,root,root,-) -%{tde_libdir}/libktnef.so.* - -%post -n trinity-libktnef -/sbin/ldconfig || : - -%postun -n trinity-libktnef -/sbin/ldconfig || : - -########## - -%package -n trinity-libktnef-devel -Summary: KTNEF handler library [development] -Group: Development/Libraries -Requires: trinity-libktnef = %{version}-%{release} -Requires: trinity-libtdepim-devel = %{version}-%{release} - -%description -n trinity-libktnef-devel -This library handles mail attachments using the TNEF format. These -attachments are usually found in mails coming from Microsoft mail -servers and embed the mail properties as well as the actual -attachments. - -This is the development package which contains the headers for the -ktnef-trinity library. - -%files -n trinity-libktnef-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/ktnef -%{tde_libdir}/libktnef.la -%{tde_libdir}/libktnef.so - -%post -n trinity-libktnef-devel -/sbin/ldconfig || : - -%postun -n trinity-libktnef-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-libmimelib -Summary: Trinity mime library -Group: Environment/Libraries - -%description -n trinity-libmimelib -This library is used by several Trinity applications to handle mime types. - -This is the runtime package for programs that use the libmimelib-trinity library. - -%files -n trinity-libmimelib -%defattr(-,root,root,-) -%{tde_libdir}/libmimelib.so.* - -%post -n trinity-libmimelib -/sbin/ldconfig || : - -%postun -n trinity-libmimelib -/sbin/ldconfig || : - -########## - -%package -n trinity-libmimelib-devel -Summary: Trinity mime library [development] -Group: Development/Libraries -Requires: trinity-libmimelib = %{version}-%{release} - -%description -n trinity-libmimelib-devel -This library is used by several TDE applications to handle mime types. - -This is the development package which contains the headers for the -libmimelib library. - -%files -n trinity-libmimelib-devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/mimelib/ -%{tde_libdir}/libmimelib.la -%{tde_libdir}/libmimelib.so - -%post -n trinity-libmimelib-devel -/sbin/ldconfig || : - -%postun -n trinity-libmimelib-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kmobile -Summary: Synchronize and manage mobile phone with your PC. -Group: Applications/Communications - -%description -n trinity-kmobile -KMobileTools is a nice TDE-based application that allows to synchronize -and manage mobile phones with your PC. It handles full SMS control, -dialing calls, phonebook, and phone status monitoring. - -%files -n trinity-kmobile -%defattr(-,root,root,-) -%{tde_bindir}/kmobile -%{tde_datadir}/icons/default.kde/32x32/devices/mobile_camera.png -%{tde_datadir}/icons/default.kde/32x32/devices/mobile_musicplayer.png -%{tde_datadir}/icons/default.kde/32x32/devices/mobile_organizer.png -%{tde_datadir}/icons/default.kde/32x32/devices/mobile_phone.png -%{tde_datadir}/icons/default.kde/32x32/devices/mobile_unknown.png -%{tde_datadir}/icons/hicolor/*/apps/kmobile.png -%{tde_datadir}/services/libkmobile_digicam.desktop -%{tde_datadir}/services/libkmobile_gammu.desktop -%{tde_datadir}/services/libkmobile_skeleton.desktop -%{tde_datadir}/servicetypes/libkmobile.desktop -%{tde_datadir}/apps/kmobile/kmobileui.rc -%{tde_tdeappdir}/kmobile.desktop -%{tde_tdelibdir}/libkmobile_skeleton.la -%{tde_tdelibdir}/libkmobile_skeleton.so -%{tde_libdir}/libkmobileclient.la -%{tde_libdir}/libkmobileclient.so -%{tde_libdir}/libkmobiledevice.la -%{tde_libdir}/libkmobiledevice.so - -%post -n trinity-kmobile -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kmobile -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} -%patch14 -p1 -b .ldflags - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" -export LD_LIBRARY_PATH="%{tde_libdir}" - -# Specific path for RHEL4 -if [ -d "/usr/X11R6" ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - -DWITH_ARTS=ON \ - -DWITH_SASL=ON \ - -DWITH_NEWDISTRLISTS=ON \ - %{?with_gnokii:-DWITH_GNOKII=ON} \ - -DWITH_EXCHANGE=ON \ - -DWITH_EGROUPWARE=ON \ - -DWITH_KOLAB=ON \ - -DWITH_SLOX=ON \ - -DWITH_GROUPWISE=ON \ - -DWITH_FEATUREPLAN=ON \ - -DWITH_GROUPDAV=ON \ - -DWITH_BIRTHDAYS=ON \ - -DWITH_NEWEXCHANGE=ON \ - -DWITH_SCALIX=ON \ - -DWITH_CALDAV=ON \ - -DWITH_CARDDAV=ON \ - -DWITH_INDEXLIB=ON \ - %{?with_xscreensaver:-DWITH_XSCREENSAVER=ON} \ - %{?with_kitchensync:-DBUILD_KITCHENSYNC=ON} \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} || %__make - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{?buildroot} -C build - - -%clean -%__rm -rf %{?buildroot} - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 -- Initial release for TDE 3.5.13.2 diff --git a/redhat/tdesdk/kdesdk-3.5.12.spec b/redhat/tdesdk/kdesdk-3.5.12.spec new file mode 100644 index 000000000..ded3104de --- /dev/null +++ b/redhat/tdesdk/kdesdk-3.5.12.spec @@ -0,0 +1,245 @@ +# Default version for this component +%if "%{?version}" == "" +%define version 3.5.12 +%endif +%define release 3 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_prefix}/share/doc +%endif + +# TDE 3.5.12 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir} +%define tde_libdir %{_libdir}/kde3 + + +%define _with_subversion --with-subversion +%if 0%{?fedora} > 6 || 0%{?rhel} > 4 +%define _with_apr_config --with-apr-config=apr-1-config +%define _with_apu_config --with-apu-config=apu-1-config +%endif + + +Name: trinity-kdesdk +Summary: The KDE Software Development Kit (SDK) +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2 +Group: User Interface/Desktops +URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source: kdesdk-%{version}.tar.gz + +# RedHat Legacy patches +Patch1: kdesdk-3.5.7-subversion.patch + +# Official patches from SVN +# Import of revision 66 from svn.trinitydesktop.org +Patch2: r1225998.diff + +Provides: kdesdk3 = %{version}-%{release} + +Requires: %{name}-libs = %{version}-%{release} + +BuildRequires: libtool +BuildRequires: tqtinterface-devel +BuildRequires: pcre-devel +BuildRequires: trinity-kdelibs-devel +# for kbugbuster/libkcal +BuildRequires: trinity-kdepim-devel +BuildRequires: db4-devel +BuildRequires: desktop-file-utils +# kbabel, F-7+: flex >= 2.5.33-9 +BuildRequires: flex +# umbrello +BuildRequires: libxslt-devel libxml2-devel +%if 0%{?fedora} > 5 || 0%{?rhel} > 4 +BuildRequires: binutils-devel +%endif +BuildRequires: perl +BuildRequires: subversion-devel neon-devel + +# Obsoletes/Provides +%define cervisia_ver 2.4.7 +Provides: cervisia = %{cervisia_ver}-%{release} + +%define umbrello_ver 1.5.7 +Obsoletes: umbrello < %{umbrello_ver}-%{release} +Provides: umbrello = %{umbrello_ver}-%{release} + + +%description +A collection of applications and tools used by developers, including: +* cervisia: a CVS frontend +* kbabel: PO file management +* kbugbuster: a tool to manage the KDE bug report system +* kcachegrind: a browser for data produced by profiling tools (e.g. cachegrind) +* kompare: diff tool +* kuiviewer: displays designer's UI files +* umbrello: UML modeller and UML diagram tool + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Provides: trinity-kdesdk-devel = %{version}-%{release} +Requires: %{name}-libs = %{version}-%{release} +Requires: trinity-kdelibs-devel +%description devel +%{summary}. + +%package libs +Summary: %{name} runtime libraries +Group: System Environment/Libraries +Requires: trinity-kdelibs +# helps multilib upgrades +Obsoletes: %{name} < %{version}-%{release} +# include to be paranoid, installing libs-only is still mostly untested -- Rex +Requires: %{name} = %{version}-%{release} +%description libs +%{summary}. + + +%prep +%setup -q -n kdesdk +%patch1 -p1 -b .subversion +%patch2 -p1 + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f admin/Makefile.common + + +%build +unset QTDIR || :; . /etc/profile.d/qt.sh +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%configure \ + --includedir=%{_includedir}/kde \ + --disable-rpath \ + --enable-new-ldflags \ + --disable-debug --disable-warnings \ + --disable-dependancy-tracking --enable-final \ + %{?_with_subversion} %{?_with_apr_config} %{?_with_apu_config} \ + --with-extra-includes=%{_includedir}/tqt \ + --without-svn \ + --enable-closure + +# Do not use %{?_smp_mflags} ! +%__make + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{buildroot} + +%__make install DESTDIR=%{?buildroot} + +desktop-file-install --vendor "" \ + --dir %{buildroot}%{_datadir}/applications/kde \ + %{buildroot}%{_datadir}/applications/kde/*.desktop \ + +# make symlinks relative +if [ -d %{buildroot}%{tde_docdir}/HTML/en ]; then + pushd %{buildroot}%{tde_docdir}/HTML/en + for i in *; do + if [ -d $i -a -L $i/common ]; then + rm -f $i/common + ln -nfs ../common $i + fi + done + popd +fi + +%__rm -f %{buildroot}/%{_datadir}/apps/kapptemplate/admin/Makefile \ + %{buildroot}/%{_datadir}/apps/kapptemplate/admin/Makefile.in + + +%clean +%__rm -rf %{buildroot} + + +# trick to replace a dir by a symlink -- Rex +%pre +if [ $1 -gt 0 -a ! -L %{_docdir}/HTML/en/cervisia/common ]; then + rm -rf %{tde_docdir}/HTML/en/cervisia/common ||: +fi + +%post +for f in crystalsvg hicolor locolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun +for f in crystalsvg hicolor locolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%post libs +/sbin/ldconfig + +%postun libs +/sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%{_bindir}/* +%{tde_docdir}/HTML/en/* +%{_datadir}/apps/* +%{_datadir}/mimelnk/application/* +%{_datadir}/services/* +%{_datadir}/servicetypes/* +%{_datadir}/icons/crystalsvg/*/*/* +%{_datadir}/icons/hicolor/*/*/* +%{_datadir}/icons/locolor/*/*/* +%{_datadir}/applications/kde/* +%{_datadir}/config.kcfg/* +%{tde_libdir}/* +%{_libdir}/libkdeinit_*.so +%{_mandir}/man1/* + +# Removes conflict with package 'rpmdevtool' on RHEL 6 +%if "%{_prefix}" == "/usr" +%exclude %{_bindir}/licensecheck +%endif + +%files libs +%defattr(-,root,root,-) +%{_libdir}/lib*.so.* +%{_libdir}/lib*.la + +%files devel +%defattr(-,root,root,-) +%{_includedir}/kde/* +%{_libdir}/lib*.so +%exclude %{_libdir}/libkdeinit_*.so +%{_libdir}/kmtrace/* + + +%changelog +* Mon Sep 19 2011 Francois Andriot - 3.5.12-3 +- Add support for RHEL5 + +* Mon Sep 05 2011 Francois Andriot - 3.5.12-2 +- Import to GIT + +* Mon Aug 22 2011 Francois Andriot - 3.5.12-1 +- Correct macro to install under "/opt", if desired + +* Tue Jun 21 2011 Francois Andriot - 3.5.12-0 +- Initial version for RHEL 6 +- Specfile based on Fedora 8 'kdesdk 3.5.10-1' diff --git a/redhat/tdesdk/kdesdk-3.5.13.1.spec b/redhat/tdesdk/kdesdk-3.5.13.1.spec new file mode 100644 index 000000000..1301a84ab --- /dev/null +++ b/redhat/tdesdk/kdesdk-3.5.13.1.spec @@ -0,0 +1,1161 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-tdesdk +Summary: The KDE Software Development Kit (SDK) +Version: 3.5.13.1 +Release: 2%{?dist}%{?_variant} + +License: GPLv2 +Group: User Interface/Desktops +URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source: kdesdk-3.5.13.1.tar.gz + +# [tdesdk] Fix FTBFS on newer subversion libraries [Bug #872] [Commit #572169a2] +Patch5: kdesdk-3.5.13-fix_ftbfs_on_newer_svn.patch +# [tdesdk] Fix unknown macro 'tde_save_and_set' +Patch6: kdesdk-3.5.13.1-fix_cmake_macros.patch +# [tdesdk] Fix build of kcachegrind +Patch7: kdesdk-3.5.13.1-add_missing_files.patch +# [tdesdk] Use 'flex' instead of 'lex' +Patch8: kdesdk-3.5.13.1-use_flex_instead_of_lex.patch +# [tdesdk] Fix various cmake issues [Bug #1262] +Patch9: kdesdk-3.5.13.1-fix_various_cmake_issues.patch + +BuildRequires: cmake >= 2.8 +BuildRequires: libtool +BuildRequires: pcre-devel +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +# for kbugbuster/libkcal +BuildRequires: trinity-tdepim-devel >= %{version} +%if 0%{?mgaversion} || 0%{?mdkversion} +#BuildRequires: %{_lib}db4.8-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: db4-devel +%endif +%if 0%{?suse_version} +BuildRequires: libdb-4_8-devel +%endif +BuildRequires: desktop-file-utils +# kbabel, F-7+: flex >= 2.5.33-9 +BuildRequires: flex +# umbrello +BuildRequires: libxslt-devel +BuildRequires: libxml2-devel +BuildRequires: perl +BuildRequires: subversion-devel +BuildRequires: neon-devel + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}ltdl-devel +BuildRequires: %{_lib}binutils-devel +%endif +%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5 || 0%{?suse_version} +BuildRequires: libtool-ltdl-devel +BuildRequires: binutils-devel +%endif + +# KIOSLAVE +# Does not build on RHEL4 +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} +%define build_kioslave 1 +%endif + +Obsoletes: trinity-kdesdk < %{version}-%{release} +Provides: trinity-kdesdk = %{version}-%{release} +Obsoletes: trinity-kdesdk-libs < %{version}-%{release} +Provides: trinity-kdesdk-libs = %{version}-%{release} + +Requires: trinity-cervisia = %{version}-%{release} +Requires: trinity-kapptemplate = %{version}-%{release} +Requires: trinity-kbabel = %{version}-%{release} +Requires: trinity-kbugbuster = %{version}-%{release} +Requires: trinity-tdecachegrind = %{version}-%{release} +Requires: trinity-tdecachegrind-converters = %{version}-%{release} +Requires: %{name}-kfile-plugins = %{version}-%{release} +Requires: %{name}-misc = %{version}-%{release} +Requires: %{name}-scripts = %{version}-%{release} +Requires: trinity-kmtrace = %{version}-%{release} +Requires: trinity-kompare = %{version}-%{release} +Requires: trinity-kspy = %{version}-%{release} +Requires: trinity-kuiviewer = %{version}-%{release} +Requires: trinity-libcvsservice0 = %{version}-%{release} +Requires: trinity-libcvsservice-devel = %{version}-%{release} +Requires: trinity-poxml = %{version}-%{release} +Requires: trinity-umbrello = %{version}-%{release} +%{?build_kioslave:Requires: %{name}-kio-plugins = %{version}-%{release}} +Requires: trinity-kunittest = %{version}-%{release} + + +%description +A collection of applications and tools used by developers, including: +* cervisia: a CVS frontend +* kbabel: PO file management +* kbugbuster: a tool to manage the TDE bug report system +* kcachegrind: a browser for data produced by profiling tools (e.g. cachegrind) +* kompare: diff tool +* kuiviewer: displays designer's UI files +* umbrello: UML modeller and UML diagram tool + +%files + +########## + +%package -n trinity-cervisia +Summary: A graphical CVS front end for Trinity +Group: Development/Utilities + +%description -n trinity-cervisia +Cervisia is a TDE-based graphical front end for the CVS client. + +As well as providing both common and advanced CVS operations, it offers +a variety of methods for graphically viewing information about the CVS +repository, your own sandbox and the relationships between different +versions of files. A Changelog editor is also included and is coupled +with the commit dialog. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-cervisia +%{tde_bindir}/cervisia +%{tde_libdir}/lib[kt]deinit_cervisia.la +%{tde_libdir}/lib[kt]deinit_cervisia.so +%{tde_tdelibdir}/cervisia.la +%{tde_tdelibdir}/cervisia.so +%{tde_tdelibdir}/libcervisiapart.la +%{tde_tdelibdir}/libcervisiapart.so +%{tde_tdeappdir}/cervisia.desktop +%{tde_datadir}/apps/cervisia/ +%{tde_datadir}/apps/cervisiapart/cervisiaui.rc +%{tde_datadir}/apps/kconf_update/cervisia.upd +%{tde_datadir}/apps/kconf_update/cervisia-change_repos_list.pl +%{tde_datadir}/apps/kconf_update/cervisia-normalize_cvsroot.pl +%{tde_datadir}/apps/kconf_update/move_repositories.pl +%{tde_datadir}/apps/kconf_update/change_colors.pl +%{tde_datadir}/config.kcfg/cervisiapart.kcfg +%{tde_datadir}/icons/hicolor/*/apps/cervisia.png +%{tde_datadir}/icons/crystalsvg/*/actions/vcs_*.png +%{tde_datadir}/icons/crystalsvg/scalable/actions/vcs_*.svgz +%{tde_mandir}/man1/cervisia.1* +%{tde_tdedocdir}/HTML/en/cervisia/ + +%post -n trinity-cervisia +/sbin/ldconfig || : +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-cervisia +/sbin/ldconfig || : +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kapptemplate +Summary: Creates a framework to develop a Trinity application +Group: Development/Utilities + +%description -n trinity-kapptemplate +KAppTemplate is a shell script that will create the necessary +framework to develop various TDE applications. It takes care of the +autoconf/automake code as well as providing a skeleton and example of +what the code typically looks like. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kapptemplate +%{tde_bindir}/kapptemplate +%{tde_datadir}/apps/kapptemplate/ + +%pre -n trinity-kapptemplate +if [ -d "%{tde_bindir}/kapptemplate" ]; then + rm -rf "%{tde_bindir}/kapptemplate" +fi + +########## + +%package -n trinity-kbabel +Summary: PO-file editing suite for Trinity +Group: Development/Utilities + +%description -n trinity-kbabel +This is a suite of programs for editing gettext message files (PO-files). +It is designed to help you translate fast and consistently. + +This suite includes KBabel, CatalogManager and KBabelDict. KBabel is an +advanced and easy to use PO-file editor with full navigational and editing +capabilities, syntax checking and statistics. CatalogManager is a multi +functional catalog manager which allows you to keep track of many +PO-files at once. KBabelDict is a dictionary to assist with searching +for common translations. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kbabel +%{tde_bindir}/catalogmanager +%{tde_bindir}/kbabel +%{tde_bindir}/kbabeldict +%{tde_libdir}/libkbabelcommon.so.* +%{tde_libdir}/libkbabeldictplugin.so.* +%{tde_tdelibdir}/kfile_po.la +%{tde_tdelibdir}/kfile_po.so +%{tde_tdelibdir}/pothumbnail.la +%{tde_tdelibdir}/pothumbnail.so +%{tde_tdelibdir}/kbabel_accelstool.la +%{tde_tdelibdir}/kbabel_accelstool.so +%{tde_tdelibdir}/kbabel_argstool.la +%{tde_tdelibdir}/kbabel_argstool.so +%{tde_tdelibdir}/kbabel_contexttool.la +%{tde_tdelibdir}/kbabel_contexttool.so +%{tde_tdelibdir}/kbabel_equationstool.la +%{tde_tdelibdir}/kbabel_equationstool.so +%{tde_tdelibdir}/kbabel_gettextexport.la +%{tde_tdelibdir}/kbabel_gettextexport.so +%{tde_tdelibdir}/kbabel_gettextimport.la +%{tde_tdelibdir}/kbabel_gettextimport.so +%{tde_tdelibdir}/kbabel_lengthtool.la +%{tde_tdelibdir}/kbabel_lengthtool.so +%{tde_tdelibdir}/kbabel_linguistexport.la +%{tde_tdelibdir}/kbabel_linguistexport.so +%{tde_tdelibdir}/kbabel_linguistimport.la +%{tde_tdelibdir}/kbabel_linguistimport.so +%{tde_tdelibdir}/kbabel_nottranslatedtool.la +%{tde_tdelibdir}/kbabel_nottranslatedtool.so +%{tde_tdelibdir}/kbabel_pluraltool.la +%{tde_tdelibdir}/kbabel_pluraltool.so +%{tde_tdelibdir}/kbabel_punctuationtool.la +%{tde_tdelibdir}/kbabel_punctuationtool.so +%{tde_tdelibdir}/kbabel_regexptool.la +%{tde_tdelibdir}/kbabel_regexptool.so +%{tde_tdelibdir}/kbabel_setfuzzytool.la +%{tde_tdelibdir}/kbabel_setfuzzytool.so +%{tde_tdelibdir}/kbabel_whitespacetool.la +%{tde_tdelibdir}/kbabel_whitespacetool.so +%{tde_tdelibdir}/kbabel_xliffexport.la +%{tde_tdelibdir}/kbabel_xliffexport.so +%{tde_tdelibdir}/kbabel_xliffimport.la +%{tde_tdelibdir}/kbabel_xliffimport.so +%{tde_tdelibdir}/kbabel_xmltool.la +%{tde_tdelibdir}/kbabel_xmltool.so +%{tde_tdelibdir}/kbabeldict_dbsearchengine.la +%{tde_tdelibdir}/kbabeldict_dbsearchengine.so +%{tde_tdelibdir}/kbabeldict_poauxiliary.la +%{tde_tdelibdir}/kbabeldict_poauxiliary.so +%{tde_tdelibdir}/kbabeldict_pocompendium.la +%{tde_tdelibdir}/kbabeldict_pocompendium.so +%{tde_tdelibdir}/kbabeldict_tmxcompendium.la +%{tde_tdelibdir}/kbabeldict_tmxcompendium.so +%{tde_tdeappdir}/catalogmanager.desktop +%{tde_tdeappdir}/kbabel.desktop +%{tde_tdeappdir}/kbabeldict.desktop +%{tde_datadir}/apps/catalogmanager/catalogmanagerui.rc +%{tde_datadir}/apps/kbabel/ +%{tde_datadir}/apps/kconf_update/kbabel-difftoproject.upd +%{tde_datadir}/apps/kconf_update/kbabel-project.upd +%{tde_datadir}/apps/kconf_update/kbabel-projectrename.upd +%{tde_datadir}/config.kcfg/kbabel.kcfg +%{tde_datadir}/config.kcfg/kbprojectsettings.kcfg +%{tde_tdedocdir}/HTML/en/kbabel/ +%{tde_datadir}/icons/hicolor/*/apps/catalogmanager.png +%{tde_datadir}/icons/hicolor/*/apps/kbabel.png +%{tde_datadir}/icons/hicolor/*/apps/kbabeldict.png +%{tde_datadir}/icons/locolor/*/apps/catalogmanager.png +%{tde_datadir}/icons/locolor/*/apps/kbabel.png +%{tde_datadir}/icons/locolor/*/apps/kbabeldict.png +%{tde_datadir}/services/dbsearchengine.desktop +%{tde_datadir}/services/kfile_po.desktop +%{tde_datadir}/services/pothumbnail.desktop +%{tde_datadir}/services/kbabel_accelstool.desktop +%{tde_datadir}/services/kbabel_argstool.desktop +%{tde_datadir}/services/kbabel_contexttool.desktop +%{tde_datadir}/services/kbabel_equationstool.desktop +%{tde_datadir}/services/kbabel_gettext_export.desktop +%{tde_datadir}/services/kbabel_gettext_import.desktop +%{tde_datadir}/services/kbabel_lengthtool.desktop +%{tde_datadir}/services/kbabel_linguist_export.desktop +%{tde_datadir}/services/kbabel_linguist_import.desktop +%{tde_datadir}/services/kbabel_nottranslatedtool.desktop +%{tde_datadir}/services/kbabel_pluralformstool.desktop +%{tde_datadir}/services/kbabel_punctuationtool.desktop +%{tde_datadir}/services/kbabel_regexptool.desktop +%{tde_datadir}/services/kbabel_setfuzzytool.desktop +%{tde_datadir}/services/kbabel_whitespacetool.desktop +%{tde_datadir}/services/kbabel_xliff_export.desktop +%{tde_datadir}/services/kbabel_xliff_import.desktop +%{tde_datadir}/services/kbabel_xmltool.desktop +%{tde_datadir}/services/pocompendium.desktop +%{tde_datadir}/services/poauxiliary.desktop +%{tde_datadir}/services/tmxcompendium.desktop +%{tde_datadir}/servicetypes/kbabel_tool.desktop +%{tde_datadir}/servicetypes/kbabel_validator.desktop +%{tde_datadir}/servicetypes/kbabeldict_module.desktop +%{tde_datadir}/servicetypes/kbabelfilter.desktop + +%post -n trinity-kbabel +/sbin/ldconfig || : +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kbabel +/sbin/ldconfig || : +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kbabel-devel +Summary: PO-file editing suite for Trinity (development files) +Group: Development/Libraries +Requires: trinity-kbabel = %{version}-%{release} + +%description -n trinity-kbabel-devel +This is a suite of programs for editing gettext message files (PO-files). +It is designed to help you translate fast and consistently. + +This suite includes KBabel, CatalogManager and KBabelDict. KBabel is an +advanced and easy to use PO-file editor with full navigational and editing +capabilities, syntax checking and statistics. CatalogManager is a multi +functional catalog manager which allows you to keep track of many +PO-files at once. KBabelDict is a dictionary to assist with searching +for common translations. + +This package contains the KBabel development files. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kbabel-devel +%{tde_tdeincludedir}/kbabel/ +%{tde_libdir}/libkbabelcommon.la +%{tde_libdir}/libkbabelcommon.so +%{tde_libdir}/libkbabeldictplugin.la +%{tde_libdir}/libkbabeldictplugin.so + +%post -n trinity-kbabel-devel +/sbin/ldconfig || : + +%postun -n trinity-kbabel-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-kbugbuster +Summary: a front end for the Trinity bug tracking system +Group: Development/Utilities + +%description -n trinity-kbugbuster +KBugBuster is a GUI front end for the TDE bug tracking system. +It allows the user to view and manipulate bug reports and provides a +variety of options for searching through reports. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kbugbuster +%{tde_bindir}/kbugbuster +%{tde_tdelibdir}/kcal_bugzilla.la +%{tde_tdelibdir}/kcal_bugzilla.so +%{tde_tdeappdir}/kbugbuster.desktop +%{tde_datadir}/apps/kbugbuster/ +%{tde_datadir}/icons/hicolor/*/apps/kbugbuster.png +%{tde_datadir}/icons/locolor/*/apps/kbugbuster.png +%{tde_datadir}/services/kresources/kcal/bugzilla.desktop +%{tde_tdedocdir}/HTML/en/kbugbuster/ + +%post -n trinity-kbugbuster +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kbugbuster +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-tdecachegrind +Summary: visualisation tool for valgrind profiling output +Group: Development/Utilities + +%description -n trinity-tdecachegrind +KCachegrind is a visualisation tool for the profiling data generated +by calltree, a profiling skin for valgrind. Applications can be +profiled using calltree without being recompiled, and shared libraries +and plugin architectures are supported. + +For visualising the output from other profiling tools, several converters +can be found in the tdecachegrind-converters package. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-tdecachegrind +%{tde_bindir}/kcachegrind +%{tde_tdeappdir}/kcachegrind.desktop +%{tde_datadir}/apps/kcachegrind/ +%{tde_datadir}/icons/locolor/*/apps/kcachegrind.png +%{tde_datadir}/icons/hicolor/*/apps/kcachegrind.png +%{tde_datadir}/mimelnk/application/x-kcachegrind.desktop +%{tde_tdedocdir}/HTML/en/kcachegrind/ + +%post -n trinity-tdecachegrind +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-tdecachegrind +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-tdecachegrind-converters +Summary: format converters for KCachegrind profiling visualisation tool +Group: Development/Utilities +Requires: python +%if 0%{?suse_version} || 0%{?rhel} == 4 +Requires: php +%else +Requires: php-cli +%endif + +%description -n trinity-tdecachegrind-converters +This is a collection of scripts for converting the output from +different profiling tools into a format that KCachegrind can use. + +KCachegrind is a visualisation tool for the profiling data generated +by calltree, a profiling skin for valgrind. Applications can be +profiled using calltree without being recompiled, and shared libraries +and plugin architectures are supported. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-tdecachegrind-converters +%{tde_bindir}/dprof2calltree +%{tde_bindir}/hotshot2calltree +%{tde_bindir}/memprof2calltree +%{tde_bindir}/op2calltree +%{tde_bindir}/pprof2calltree + +########## + +%package kfile-plugins +Summary: Trinity file dialog plugins for software development files +Group: Environment/Libraries + +%description kfile-plugins +This is a collection of plugins for the TDE file dialog. These plugins +extend the file dialog to offer advanced meta-information for source files, +patch files and Qt Linguist data. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files kfile-plugins +%{tde_tdelibdir}/kfile_cpp.so +%{tde_tdelibdir}/kfile_cpp.la +%{tde_tdelibdir}/kfile_diff.so +%{tde_tdelibdir}/kfile_diff.la +%{tde_tdelibdir}/kfile_ts.so +%{tde_tdelibdir}/kfile_ts.la +%{tde_datadir}/services/kfile_cpp.desktop +%{tde_datadir}/services/kfile_diff.desktop +%{tde_datadir}/services/kfile_h.desktop +%{tde_datadir}/services/kfile_ts.desktop + +########## + +%package misc +Summary: various goodies from the Trinity Software Development Kit +Group: Development/Libraries + +%description misc +This package contains miscellaneous goodies provided with the official +TDE release to assist with TDE software development. + +Included are: +- headers to assist with profiling TDE code; +- a widget style for checking conformity with the TDE/Qt style guide; +- palettes that match the KDE standard colour palette; +- a TDE address book plugin that reads the list of TDE CVS accounts. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files misc +%{tde_tdeincludedir}/kprofilemethod.h +%{tde_tdelibdir}/kabcformat_kdeaccounts.la +%{tde_tdelibdir}/kabcformat_kdeaccounts.so +%{tde_tdelibdir}/plugins/styles/scheck.so +%{tde_tdelibdir}/plugins/styles/scheck.la +%{tde_datadir}/apps/kabc/formats/kdeaccountsplugin.desktop +%{tde_datadir}/apps/kstyle/themes/scheck.themerc +%{tde_datadir}/kdepalettes/ + +%{tde_libdir}/libkstartperf.so.* +%{tde_libdir}/libkstartperf.so +%{tde_libdir}/libkstartperf.la +%{tde_bindir}/kstartperf + +%post misc +/sbin/ldconfig || : + +%postun misc +/sbin/ldconfig || : + +########## + +%package scripts +Summary: a set of useful development scripts for Trinity +Group: Development/Utilities +Requires: python + +%description scripts +This package contains a number of scripts which can be used to help in +developing TDE-based applications. Many of these scripts however are +not specific to TDE, and in particular there are several general-use +scripts to help users in working with SVN and CVS repositories. + +In addition to these scripts, this package provides: +- gdb macros for Qt/TDE programming; +- vim and emacs helper files for Qt/TDE programming; +- bash and zsh completion controls for TDE apps; +- valgrind error suppressions for TDE apps. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files scripts +%{tde_bindir}/adddebug +%{tde_bindir}/build-progress.sh +%{tde_bindir}/cheatmake +%{tde_bindir}/create_cvsignore +%{tde_bindir}/create_makefile +%{tde_bindir}/create_makefiles +%{tde_bindir}/cvs-clean +%{tde_bindir}/cvs2dist +%{tde_bindir}/cvsbackport +%{tde_bindir}/cvsblame +%{tde_bindir}/cvscheck +%{tde_bindir}/cvsforwardport +%{tde_bindir}/cvslastchange +%{tde_bindir}/cvslastlog +%{tde_bindir}/cvsrevertlast +%{tde_bindir}/cvsversion +%{tde_bindir}/cxxmetric +%{tde_bindir}/extend_dmalloc +%{tde_bindir}/extractattr +%{tde_bindir}/extractrc +%{tde_bindir}/findmissingcrystal +%{tde_bindir}/fixkdeincludes +%{tde_bindir}/fixuifiles +%{tde_bindir}/includemocs +%{tde_bindir}/kde-build +%{tde_bindir}/kdedoc +%{tde_bindir}/kdekillall +%{tde_bindir}/kdelnk2desktop.py* +%{tde_bindir}/kdemangen.pl +%{tde_bindir}/makeobj +%{tde_bindir}/noncvslist +%{tde_bindir}/package_crystalsvg +%{tde_bindir}/png2mng.pl +%{tde_bindir}/pruneemptydirs +%{tde_bindir}/qtdoc +%{tde_bindir}/zonetab2pot.py* +%{tde_bindir}/svn2dist +%{tde_bindir}/svnrevertlast +%{tde_bindir}/svnforwardport +%{tde_bindir}/nonsvnlist +%{tde_bindir}/[kt]desvn-build +%{tde_bindir}/svnlastlog +%{tde_bindir}/svnversions +%{tde_bindir}/create_svnignore +%{tde_bindir}/svnlastchange +%{tde_bindir}/colorsvn +%{tde_bindir}/svnaddcurrentdir +%{tde_bindir}/svnbackport +%{tde_bindir}/svngettags +%{tde_bindir}/svnchangesince +%{tde_bindir}/svn-clean +%{tde_datadir}/apps/katepart/syntax/[kt]desvn-buildrc.xml +%{tde_mandir}/man1/cvsblame.1 +%{tde_mandir}/man1/cvscheck.1 +%{tde_mandir}/man1/cvsversion.1 +%{tde_mandir}/man1/kde-build.1 +%{tde_mandir}/man1/includemocs.1 +%{tde_mandir}/man1/noncvslist.1 +%{tde_mandir}/man1/[kt]desvn-build.1 +%{tde_tdedocdir}/HTML/en/[kt]desvn-build/ +#scripts/kde-devel-gdb /opt/trinity/share/tdesdk-scripts +#scripts/kde-devel-vim.vim /opt/trinity/share/tdesdk-scripts +#scripts/kde-emacs/*.el /opt/trinity/share/emacs/site-lisp/tdesdk-scripts +#scripts/kde.supp /opt/trinity/lib/valgrind +#scripts/completions /opt/trinity/share/tdesdk-scripts + +#debian/desktop-i18n/createdesktop.pl /opt/trinity/lib/kubuntu-desktop-i18n/ +#debian/desktop-i18n/findfiles /opt/trinity/lib/kubuntu-desktop-i18n/ +#debian/desktop-i18n/msgsplit /opt/trinity/lib/kubuntu-desktop-i18n/ + +%if "%{?tde_prefix}" != "/usr" +%{tde_bindir}/licensecheck +%else +%exclude %{tde_bindir}/licensecheck +%endif + +########## + +%package -n trinity-kmtrace +Summary: a Trinity memory leak tracer +Group: Development/Utilities +Requires: less + +%description -n trinity-kmtrace +KMtrace is a TDE tool to assist with malloc debugging using glibc's +"mtrace" functionality. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kmtrace +%{tde_bindir}/demangle +%{tde_bindir}/kminspector +%{tde_bindir}/kmmatch +%{tde_bindir}/kmtrace +%{tde_tdeincludedir}/ktrace.h +%{tde_libdir}/kmtrace/libktrace.la +%{tde_libdir}/kmtrace/libktrace.so +%{tde_libdir}/kmtrace/libktrace_s.a +%{tde_datadir}/apps/kmtrace/kde.excludes + +########## + +%package -n trinity-kompare +Summary: a Trinity GUI for viewing differences between files +Group: Development/Utilities + +%description -n trinity-kompare +Kompare is a graphical user interface for viewing the differences between +files. It can compare two documents, create a diff file, display a diff +file and/or blend a diff file back into the original documents. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kompare +%{tde_bindir}/kompare +%{tde_libdir}/libkompareinterface.la +%{tde_libdir}/libkompareinterface.so +%{tde_libdir}/libkompareinterface.so.* +%{tde_tdelibdir}/libkomparenavtreepart.la +%{tde_tdelibdir}/libkomparenavtreepart.so +%{tde_tdelibdir}/libkomparepart.la +%{tde_tdelibdir}/libkomparepart.so +%{tde_tdeappdir}/kompare.desktop +%{tde_datadir}/apps/kompare/komparepartui.rc +%{tde_datadir}/apps/kompare/kompareui.rc +%{tde_datadir}/services/komparenavtreepart.desktop +%{tde_datadir}/services/komparepart.desktop +%{tde_datadir}/servicetypes/komparenavigationpart.desktop +%{tde_datadir}/servicetypes/kompareviewpart.desktop +%{tde_datadir}/icons/hicolor/*/apps/kompare.png +%{tde_datadir}/icons/hicolor/scalable/apps/kompare.svgz +%{tde_tdedocdir}/HTML/en/kompare/ + +%post -n trinity-kompare +/sbin/ldconfig || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kompare +/sbin/ldconfig || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kspy +Summary: examines the internal state of a Qt/TDE app +Group: Environment/Libraries +Requires: trinity-tdelibs-devel + +%description -n trinity-kspy +KSpy is a tiny library which can be used to graphically display +the QObjects in use by a Qt/TDE app. In addition to the object tree, +you can also view the properties, signals and slots of any QObject. + +Basically it provides much the same info as QObject::dumpObjectTree() and +QObject::dumpObjectInfo(), but in a much more convenient form. KSpy has +minimal overhead for the application, because the kspy library is +loaded dynamically using KLibLoader. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kspy +%{tde_tdeincludedir}/kspy.h +%{tde_libdir}/libkspy.la +%{tde_libdir}/libkspy.so +%{tde_libdir}/libkspy.so.* + +%post -n trinity-kspy +/sbin/ldconfig || : + +%postun -n trinity-kspy +/sbin/ldconfig || : + +########## + +%package -n trinity-kuiviewer +Summary: viewer for Qt Designer user interface files +Group: Development/Utilities + +%description -n trinity-kuiviewer +KUIViewer is a utility to display and test the user interface (.ui) files +generated by Qt Designer. The interfaces can be displayed in a variety of +different widget styles. + +The Qt Designer itself is in the package qt3-designer. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kuiviewer +%{tde_bindir}/kuiviewer +%{tde_tdelibdir}/libkuiviewerpart.so +%{tde_tdelibdir}/libkuiviewerpart.la +%{tde_tdelibdir}/quithumbnail.so +%{tde_tdelibdir}/quithumbnail.la +%{tde_tdeappdir}/kuiviewer.desktop +%{tde_datadir}/apps/kuiviewer/kuiviewerui.rc +%{tde_datadir}/apps/kuiviewerpart/kuiviewer_part.rc +%{tde_datadir}/icons/hicolor/*/apps/kuiviewer.png +%{tde_datadir}/icons/locolor/*/apps/kuiviewer.png +%{tde_datadir}/services/designerthumbnail.desktop +%{tde_datadir}/services/kuiviewer_part.desktop + +%post -n trinity-kuiviewer +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done + +%postun -n trinity-kuiviewer +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done + +########## + +%package -n trinity-libcvsservice0 +Summary: DCOP service for accessing CVS repositories +Group: Environment/Libraries +Requires: cvs + +%description -n trinity-libcvsservice0 +This library provides a DCOP service for accessing and working with +remote CVS repositories. Applications may link with this library to +access the DCOP service directly from C++. Alternatively, scripts may +access the service using the standard "dcop" command-line tool. + +DCOP is the Desktop Communication Protocol used throughout TDE. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-libcvsservice0 +%{tde_bindir}/cvsaskpass +%{tde_bindir}/cvsservice +%{tde_libdir}/libcvsservice.so.* +%{tde_libdir}/lib[kt]deinit_cvsaskpass.so +%{tde_libdir}/lib[kt]deinit_cvsservice.so +%{tde_tdelibdir}/cvsaskpass.la +%{tde_tdelibdir}/cvsaskpass.so +%{tde_tdelibdir}/cvsservice.la +%{tde_tdelibdir}/cvsservice.so +%{tde_datadir}/services/cvsservice.desktop + +%post -n trinity-libcvsservice0 +/sbin/ldconfig || : + +%postun -n trinity-libcvsservice0 +/sbin/ldconfig || : + +########## + +%package -n trinity-libcvsservice-devel +Summary: development files for CVS DCOP service +Group: Development/Libraries +Requires: trinity-libcvsservice0 = %{version}-%{release} + +%description -n trinity-libcvsservice-devel +The library libcvsservice provides a DCOP service for accessing and +working with remote CVS repositories. Applications may link with this +library to access the DCOP service directly from C++. Alternatively, +scripts may access the service using the standard "dcop" command-line +tool. + +Development files for libcvsservice are included in this package. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-libcvsservice-devel +%{tde_tdeincludedir}/cvsjob_stub.h +%{tde_tdeincludedir}/cvsservice_stub.h +%{tde_tdeincludedir}/repository_stub.h +%{tde_libdir}/libcvsservice.la +%{tde_libdir}/libcvsservice.so +%{tde_libdir}/lib[kt]deinit_cvsaskpass.la +%{tde_libdir}/lib[kt]deinit_cvsservice.la +%{tde_datadir}/cmake/cervisia.cmake + +%post -n trinity-libcvsservice-devel +/sbin/ldconfig || : + +%postun -n trinity-libcvsservice-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-poxml +Summary: tools for using PO-files to translate DocBook XML files +Group: Development/Utilities + +%description -n trinity-poxml +This is a collection of tools that facilitate translating DocBook XML +files using gettext message files (PO-files). + +Also included are some miscellaneous command-line utilities for +manipulating DocBook XML files, PO-files and PO-template files. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-poxml +%{tde_bindir}/po2xml +%{tde_bindir}/split2po +%{tde_bindir}/swappo +%{tde_bindir}/transxx +%{tde_bindir}/xml2pot + +########## + +%package -n trinity-umbrello +Summary: UML modelling tool and code generator +Group: Development/Utilities + +%description -n trinity-umbrello +Umbrello UML Modeller is a Unified Modelling Language editor for TDE. +With UML you can create diagrams of software and other systems in an +industry standard format. Umbrello can also generate code from your +UML diagrams in a number of programming languages. + +The program supports class diagrams, sequence diagrams, collaboration +diagrams, use case diagrams, state diagrams, activity diagrams, component +diagrams and deployment diagrams. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-umbrello +%{tde_bindir}/umbodoc +%{tde_bindir}/umbrello +%{tde_tdeappdir}/umbrello.desktop +%{tde_datadir}/apps/umbrello/ +%{tde_datadir}/icons/crystalsvg/*/actions/umbrello_*.png +%{tde_datadir}/icons/crystalsvg/*/mimetypes/umbrellofile.png +%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/umbrellofile.svgz +%{tde_datadir}/icons/hicolor/*/apps/umbrello.png +%{tde_datadir}/icons/hicolor/scalable/apps/umbrello.svgz +%{tde_datadir}/icons/hicolor/*/mimetypes/umbrellofile.png +%{tde_datadir}/mimelnk/application/x-umbrello.desktop +%{tde_tdedocdir}/HTML/en/umbrello/ + +%post -n trinity-umbrello +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-umbrello +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%if 0%{?build_kioslave} + +%package kio-plugins +Summary: subversion ioslave for Trinity +Group: Environment/Libraries +Requires: subversion + +%description kio-plugins +This package provides easy access to remote SVN repositories from within +Konqueror, and TDE generally, by browsing them as if they were a +filesystem, using URLs like svn://hostname/path, or svn+ssh://, etc. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files kio-plugins +%{tde_bindir}/kio_svn_helper +%{tde_tdelibdir}/kded_ksvnd.la +%{tde_tdelibdir}/kded_ksvnd.so +%{tde_tdelibdir}/kio_svn.la +%{tde_tdelibdir}/kio_svn.so +%{tde_datadir}/apps/konqueror/servicemenus/subversion_toplevel.desktop +%{tde_datadir}/apps/konqueror/servicemenus/subversion.desktop +%{tde_datadir}/services/kded/ksvnd.desktop +%{tde_datadir}/services/svn+file.protocol_tdesdk +%{tde_datadir}/services/svn+http.protocol_tdesdk +%{tde_datadir}/services/svn+https.protocol_tdesdk +%{tde_datadir}/services/svn+ssh.protocol_tdesdk +%{tde_datadir}/services/svn.protocol_tdesdk +%{tde_datadir}/services/svn+file.protocol +%{tde_datadir}/services/svn+http.protocol +%{tde_datadir}/services/svn+https.protocol +%{tde_datadir}/services/svn+ssh.protocol +%{tde_datadir}/services/svn.protocol +%{tde_datadir}/icons/crystalsvg/*/actions/svn_switch.png +%{tde_datadir}/icons/crystalsvg/*/actions/svn_merge.png +%{tde_datadir}/icons/crystalsvg/*/actions/svn_branch.png +%{tde_datadir}/icons/crystalsvg/*/actions/svn_remove.png +%{tde_datadir}/icons/crystalsvg/*/actions/svn_add.png +%{tde_datadir}/icons/crystalsvg/*/actions/svn_status.png +%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_add.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_status.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_remove.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_switch.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_branch.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_merge.svgz + +%post kio-plugins +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done + +for proto in svn+file svn+http svn+https svn+ssh svn; do +%if 0%{?suse_version} + update-alternatives --install \ +%else + alternatives --install \ +%endif + %{tde_datadir}/services/${proto}.protocol \ + ${proto}.protocol \ + %{tde_datadir}/services/${proto}.protocol_tdesdk \ + 10 +done + +%postun kio-plugins +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done + +%preun kio-plugins +if [ $1 -eq 0 ]; then + for proto in svn+file svn+http svn+https svn+ssh svn; do +%if 0%{?suse_version} + update-alternatives --remove \ +%else + alternatives --remove \ +%endif + ${proto}.protocol \ + %{tde_datadir}/services/${proto}.protocol_tdesdk + done +fi + +%endif + +########## + +%package -n trinity-kunittest +Summary: unit testing library for Trinity +Group: Development/Utilities + +%description -n trinity-kunittest +KUnitTest is a small library that facilitates the writing of tests for +TDE developers. There are two ways to use the KUnitTest library. One is +to create dynamically loadable modules and use the kunittestmodrunner or +kunittestguimodrunner programs to run the tests. The other is to use the +libraries to create your own testing application. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kunittest +%{tde_bindir}/kunittest +%{tde_bindir}/kunittest_debughelper +%{tde_bindir}/kunittestmod +%{tde_bindir}/kunittestguimodrunner +%{tde_libdir}/libkunittestgui.la +%{tde_libdir}/libkunittestgui.so +%{tde_libdir}/libkunittestgui.so.* +%{tde_tdeincludedir}/kunittest/runnergui.h + +%post -n trinity-kunittest +/sbin/ldconfig || : + +%postun -n trinity-kunittest +/sbin/ldconfig || : + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries + +Requires: %{name} = %{version}-%{release} +Requires: trinity-kbabel-devel = %{version}-%{release} + +Obsoletes: trinity-kdesdk-devel < %{version}-%{release} +Provides: trinity-kdesdk-devel = %{version}-%{release} + +%description devel +%{summary}. + +%files devel + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + + +%prep +%setup -q -n kdesdk-3.5.13.1 +%patch5 -p1 -b .svn +%patch6 -p1 -b .cmake +%patch7 -p1 +%patch8 -p1 -b .flex +%patch9 -p1 -b .cmake + + +%build +unset QTDIR || :; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LD_LIBRARY_PATH="%{tde_libdir}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" + +# Specific path for RHEL4 +if [ -d /usr/X11R6 ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + + +%cmake \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DMAN_INSTALL_DIR=%{tde_mandir} \ + -DPKGCONFIG_INSTALL_DIR=%{tde_tdelibdir}/pkgconfig \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DWITH_DBSEARCHENGINE=ON \ + -DWITH_KCAL=ON \ + -DBUILD_ALL=ON \ + %{!?build_kioslave:-DBUILD_KIOSLAVE=OFF} \ + .. + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} + +%__make install DESTDIR=%{?buildroot} -C build + +# make symlinks relative +if [ -d %{buildroot}%{tde_tdedocdir}/HTML/en ]; then + pushd %{buildroot}%{tde_tdedocdir}/HTML/en + for i in *; do + if [ -d $i -a -L $i/common ]; then + rm -f $i/common + ln -nfs ../common $i + fi + done + popd +fi + +# Installs kdepalettes +%__install -D -m 644 kdepalettes/kde_xpaintrc %{?buildroot}%{tde_datadir}/kdepalettes +%__install -D -m 644 kdepalettes/KDE_Gimp %{?buildroot}%{tde_datadir}/kdepalettes +%__install -D -m 644 kdepalettes/README %{?buildroot}%{tde_datadir}/kdepalettes + +# Installs SVN protocols as alternatives +%if 0%{?build_kioslave} +%__mv -f %{?buildroot}%{tde_datadir}/services/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol_tdesdk +%__mv -f %{?buildroot}%{tde_datadir}/services/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol_tdesdk +%__mv -f %{?buildroot}%{tde_datadir}/services/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol_tdesdk +%__mv -f %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol_tdesdk +%__mv -f %{?buildroot}%{tde_datadir}/services/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol_tdesdk +%__ln_s /etc/alternatives/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol +%__ln_s /etc/alternatives/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol +%__ln_s /etc/alternatives/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol +%__ln_s /etc/alternatives/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol +%__ln_s /etc/alternatives/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol +%endif + +%clean +%__rm -rf %{buildroot} + + + +%changelog +* Wed Nov 07 2012 Francois Andriot - 3.5.13.1-2 +- Fix various cmake issues [Bug #1262] + +* Sun Sep 30 2012 Francois Andriot - 3.5.13.1-1 +- Initial build for TDE 3.5.13.1 diff --git a/redhat/tdesdk/kdesdk-3.5.13.spec b/redhat/tdesdk/kdesdk-3.5.13.spec new file mode 100644 index 000000000..6b096fdb9 --- /dev/null +++ b/redhat/tdesdk/kdesdk-3.5.13.spec @@ -0,0 +1,1130 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-tdesdk +Summary: The KDE Software Development Kit (SDK) +Version: 3.5.13 +Release: 2%{?dist}%{?_variant} + +License: GPLv2 +Group: User Interface/Desktops +URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source: kdesdk-%{version}.tar.gz + +# RedHat Legacy patches +Patch1: kdesdk-3.5.7-subversion.patch +# [tdesdk] cmake port [Commit #bfb0bc00] +Patch2: kdesdk-3.5.13-cmake_port.patch +# [tdesdk/cmake] added forgotten files [Commit #adee843c] +Patch3: kdesdk-3.5.13-add_forgotten_cmake_files.patch +# [tdesdk] fixes for RHEL/Fedora/MGA2 after previous patch +Patch4: kdesdk-3.5.13-misc_ftbfs.patch +# [tdesdk] Fix FTBFS on newer subversion libraries [Bug #872] [Commit #572169a2] +Patch5: kdesdk-3.5.13-fix_ftbfs_on_newer_svn.patch + +BuildRequires: cmake >= 2.8 +BuildRequires: libtool +BuildRequires: tqtinterface-devel +BuildRequires: pcre-devel +BuildRequires: trinity-tdelibs-devel +# for kbugbuster/libkcal +BuildRequires: trinity-tdepim-devel +%if 0%{?mgaversion} || 0%{?mdkversion} +#BuildRequires: %{_lib}db4.8-devel +%else +BuildRequires: db4-devel +%endif +BuildRequires: desktop-file-utils +# kbabel, F-7+: flex >= 2.5.33-9 +BuildRequires: flex +# umbrello +BuildRequires: libxslt-devel libxml2-devel +BuildRequires: perl +BuildRequires: subversion-devel neon-devel + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}ltdl-devel +BuildRequires: %{_lib}binutils-devel +%else +BuildRequires: libtool-ltdl-devel +%if 0%{?fedora} > 5 || 0%{?rhel} > 4 +BuildRequires: binutils-devel +%endif +%endif + +Obsoletes: trinity-kdesdk < %{version}-%{release} +Provides: trinity-kdesdk = %{version}-%{release} +Obsoletes: trinity-kdesdk-libs < %{version}-%{release} +Provides: trinity-kdesdk-libs = %{version}-%{release} + +Requires: trinity-cervisia = %{version}-%{release} +Requires: trinity-kapptemplate = %{version}-%{release} +Requires: trinity-kbabel = %{version}-%{release} +Requires: trinity-kbugbuster = %{version}-%{release} +Requires: trinity-tdecachegrind = %{version}-%{release} +Requires: trinity-tdecachegrind-converters = %{version}-%{release} +Requires: %{name}-kfile-plugins = %{version}-%{release} +Requires: %{name}-misc = %{version}-%{release} +Requires: %{name}-scripts = %{version}-%{release} +Requires: trinity-kmtrace = %{version}-%{release} +Requires: trinity-kompare = %{version}-%{release} +Requires: trinity-kspy = %{version}-%{release} +Requires: trinity-kuiviewer = %{version}-%{release} +Requires: trinity-libcvsservice0 = %{version}-%{release} +Requires: trinity-libcvsservice-devel = %{version}-%{release} +Requires: trinity-poxml = %{version}-%{release} +Requires: trinity-umbrello = %{version}-%{release} +Requires: %{name}-kio-plugins = %{version}-%{release} +Requires: trinity-kunittest = %{version}-%{release} + + +%description +A collection of applications and tools used by developers, including: +* cervisia: a CVS frontend +* kbabel: PO file management +* kbugbuster: a tool to manage the TDE bug report system +* kcachegrind: a browser for data produced by profiling tools (e.g. cachegrind) +* kompare: diff tool +* kuiviewer: displays designer's UI files +* umbrello: UML modeller and UML diagram tool + +%files + +########## + +%package -n trinity-cervisia +Summary: A graphical CVS front end for Trinity +Group: Development/Utilities + +%description -n trinity-cervisia +Cervisia is a TDE-based graphical front end for the CVS client. + +As well as providing both common and advanced CVS operations, it offers +a variety of methods for graphically viewing information about the CVS +repository, your own sandbox and the relationships between different +versions of files. A Changelog editor is also included and is coupled +with the commit dialog. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-cervisia +%{tde_bindir}/cervisia +%{tde_libdir}/lib[kt]deinit_cervisia.la +%{tde_libdir}/lib[kt]deinit_cervisia.so +%{tde_tdelibdir}/cervisia.la +%{tde_tdelibdir}/cervisia.so +%{tde_tdelibdir}/libcervisiapart.la +%{tde_tdelibdir}/libcervisiapart.so +%{tde_tdeappdir}/cervisia.desktop +%{tde_datadir}/apps/cervisia/ +%{tde_datadir}/apps/cervisiapart/cervisiaui.rc +%{tde_datadir}/apps/kconf_update/cervisia.upd +%{tde_datadir}/apps/kconf_update/cervisia-change_repos_list.pl +%{tde_datadir}/apps/kconf_update/cervisia-normalize_cvsroot.pl +%{tde_datadir}/apps/kconf_update/move_repositories.pl +%{tde_datadir}/apps/kconf_update/change_colors.pl +%{tde_datadir}/config.kcfg/cervisiapart.kcfg +%{tde_datadir}/icons/hicolor/*/apps/cervisia.png +%{tde_datadir}/icons/crystalsvg/*/actions/vcs_*.png +%{tde_datadir}/icons/crystalsvg/scalable/actions/vcs_*.svgz +#%{tde_mandir}/man1/cervisia.1* +%{tde_tdedocdir}/HTML/en/cervisia/ + +%post -n trinity-cervisia +/sbin/ldconfig || : +for f in crystalsvg hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-cervisia +/sbin/ldconfig || : +for f in crystalsvg hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kapptemplate +Summary: Creates a framework to develop a Trinity application +Group: Development/Utilities + +%description -n trinity-kapptemplate +KAppTemplate is a shell script that will create the necessary +framework to develop various TDE applications. It takes care of the +autoconf/automake code as well as providing a skeleton and example of +what the code typically looks like. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kapptemplate +%{tde_bindir}/kapptemplate +%{tde_datadir}/apps/kapptemplate/ + +########## + +%package -n trinity-kbabel +Summary: PO-file editing suite for Trinity +Group: Development/Utilities + +%description -n trinity-kbabel +This is a suite of programs for editing gettext message files (PO-files). +It is designed to help you translate fast and consistently. + +This suite includes KBabel, CatalogManager and KBabelDict. KBabel is an +advanced and easy to use PO-file editor with full navigational and editing +capabilities, syntax checking and statistics. CatalogManager is a multi +functional catalog manager which allows you to keep track of many +PO-files at once. KBabelDict is a dictionary to assist with searching +for common translations. + +This package is part of Trinity, and a component of the TDE SDK module. +See the 'kde-trinity' and 'tdesdk-trinity' packages for more information. + +%files -n trinity-kbabel +%{tde_bindir}/catalogmanager +%{tde_bindir}/kbabel +%{tde_bindir}/kbabeldict +%{tde_libdir}/libkbabelcommon.so.* +%{tde_libdir}/libkbabeldictplugin.so.* +%{tde_tdelibdir}/kfile_po.la +%{tde_tdelibdir}/kfile_po.so +%{tde_tdelibdir}/pothumbnail.la +%{tde_tdelibdir}/pothumbnail.so +%{tde_tdelibdir}/kbabel_accelstool.la +%{tde_tdelibdir}/kbabel_accelstool.so +%{tde_tdelibdir}/kbabel_argstool.la +%{tde_tdelibdir}/kbabel_argstool.so +%{tde_tdelibdir}/kbabel_contexttool.la +%{tde_tdelibdir}/kbabel_contexttool.so +%{tde_tdelibdir}/kbabel_equationstool.la +%{tde_tdelibdir}/kbabel_equationstool.so +%{tde_tdelibdir}/kbabel_gettextexport.la +%{tde_tdelibdir}/kbabel_gettextexport.so +%{tde_tdelibdir}/kbabel_gettextimport.la +%{tde_tdelibdir}/kbabel_gettextimport.so +%{tde_tdelibdir}/kbabel_lengthtool.la +%{tde_tdelibdir}/kbabel_lengthtool.so +%{tde_tdelibdir}/kbabel_linguistexport.la +%{tde_tdelibdir}/kbabel_linguistexport.so +%{tde_tdelibdir}/kbabel_linguistimport.la +%{tde_tdelibdir}/kbabel_linguistimport.so +%{tde_tdelibdir}/kbabel_nottranslatedtool.la +%{tde_tdelibdir}/kbabel_nottranslatedtool.so +%{tde_tdelibdir}/kbabel_pluraltool.la +%{tde_tdelibdir}/kbabel_pluraltool.so +%{tde_tdelibdir}/kbabel_punctuationtool.la +%{tde_tdelibdir}/kbabel_punctuationtool.so +%{tde_tdelibdir}/kbabel_regexptool.la +%{tde_tdelibdir}/kbabel_regexptool.so +%{tde_tdelibdir}/kbabel_setfuzzytool.la +%{tde_tdelibdir}/kbabel_setfuzzytool.so +%{tde_tdelibdir}/kbabel_whitespacetool.la +%{tde_tdelibdir}/kbabel_whitespacetool.so +%{tde_tdelibdir}/kbabel_xliffexport.la +%{tde_tdelibdir}/kbabel_xliffexport.so +%{tde_tdelibdir}/kbabel_xliffimport.la +%{tde_tdelibdir}/kbabel_xliffimport.so +%{tde_tdelibdir}/kbabel_xmltool.la +%{tde_tdelibdir}/kbabel_xmltool.so +%{tde_tdelibdir}/kbabeldict_dbsearchengine.la +%{tde_tdelibdir}/kbabeldict_dbsearchengine.so +%{tde_tdelibdir}/kbabeldict_poauxiliary.la +%{tde_tdelibdir}/kbabeldict_poauxiliary.so +%{tde_tdelibdir}/kbabeldict_pocompendium.la +%{tde_tdelibdir}/kbabeldict_pocompendium.so +%{tde_tdelibdir}/kbabeldict_tmxcompendium.la +%{tde_tdelibdir}/kbabeldict_tmxcompendium.so +%{tde_tdeappdir}/catalogmanager.desktop +%{tde_tdeappdir}/kbabel.desktop +%{tde_tdeappdir}/kbabeldict.desktop +%{tde_datadir}/apps/catalogmanager/catalogmanagerui.rc +%{tde_datadir}/apps/kbabel/ +%{tde_datadir}/apps/kconf_update/kbabel-difftoproject.upd +%{tde_datadir}/apps/kconf_update/kbabel-project.upd +%{tde_datadir}/apps/kconf_update/kbabel-projectrename.upd +%{tde_datadir}/config.kcfg/kbabel.kcfg +%{tde_datadir}/config.kcfg/kbprojectsettings.kcfg +%{tde_tdedocdir}/HTML/en/kbabel/ +%{tde_datadir}/icons/hicolor/*/apps/catalogmanager.png +%{tde_datadir}/icons/hicolor/*/apps/kbabel.png +%{tde_datadir}/icons/hicolor/*/apps/kbabeldict.png +%{tde_datadir}/icons/locolor/*/apps/catalogmanager.png +%{tde_datadir}/icons/locolor/*/apps/kbabel.png +%{tde_datadir}/icons/locolor/*/apps/kbabeldict.png +%{tde_datadir}/services/dbsearchengine.desktop +%{tde_datadir}/services/kfile_po.desktop +%{tde_datadir}/services/pothumbnail.desktop +%{tde_datadir}/services/kbabel_accelstool.desktop +%{tde_datadir}/services/kbabel_argstool.desktop +%{tde_datadir}/services/kbabel_contexttool.desktop +%{tde_datadir}/services/kbabel_equationstool.desktop +%{tde_datadir}/services/kbabel_gettext_export.desktop +%{tde_datadir}/services/kbabel_gettext_import.desktop +%{tde_datadir}/services/kbabel_lengthtool.desktop +%{tde_datadir}/services/kbabel_linguist_export.desktop +%{tde_datadir}/services/kbabel_linguist_import.desktop +%{tde_datadir}/services/kbabel_nottranslatedtool.desktop +%{tde_datadir}/services/kbabel_pluralformstool.desktop +%{tde_datadir}/services/kbabel_punctuationtool.desktop +%{tde_datadir}/services/kbabel_regexptool.desktop +%{tde_datadir}/services/kbabel_setfuzzytool.desktop +%{tde_datadir}/services/kbabel_whitespacetool.desktop +%{tde_datadir}/services/kbabel_xliff_export.desktop +%{tde_datadir}/services/kbabel_xliff_import.desktop +%{tde_datadir}/services/kbabel_xmltool.desktop +%{tde_datadir}/services/pocompendium.desktop +%{tde_datadir}/services/poauxiliary.desktop +%{tde_datadir}/services/tmxcompendium.desktop +%{tde_datadir}/servicetypes/kbabel_tool.desktop +%{tde_datadir}/servicetypes/kbabel_validator.desktop +%{tde_datadir}/servicetypes/kbabeldict_module.desktop +%{tde_datadir}/servicetypes/kbabelfilter.desktop + +%post -n trinity-kbabel +/sbin/ldconfig || : +for f in hicolor locolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kbabel +/sbin/ldconfig || : +for f in hicolor locolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kbabel-devel +Summary: PO-file editing suite for Trinity (development files) +Group: Development/Libraries +Requires: trinity-kbabel = %{version}-%{release} + +%description -n trinity-kbabel-devel +This is a suite of programs for editing gettext message files (PO-files). +It is designed to help you translate fast and consistently. + +This suite includes KBabel, CatalogManager and KBabelDict. KBabel is an +advanced and easy to use PO-file editor with full navigational and editing +capabilities, syntax checking and statistics. CatalogManager is a multi +functional catalog manager which allows you to keep track of many +PO-files at once. KBabelDict is a dictionary to assist with searching +for common translations. + +This package contains the KBabel development files. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kbabel-devel +%{tde_tdeincludedir}/kbabel/ +%{tde_libdir}/libkbabelcommon.la +%{tde_libdir}/libkbabelcommon.so +%{tde_libdir}/libkbabeldictplugin.la +%{tde_libdir}/libkbabeldictplugin.so + +%post -n trinity-kbabel-devel +/sbin/ldconfig || : + +%postun -n trinity-kbabel-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-kbugbuster +Summary: a front end for the Trinity bug tracking system +Group: Development/Utilities + +%description -n trinity-kbugbuster +KBugBuster is a GUI front end for the TDE bug tracking system. +It allows the user to view and manipulate bug reports and provides a +variety of options for searching through reports. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kbugbuster +%{tde_bindir}/kbugbuster +%{tde_tdelibdir}/kcal_bugzilla.la +%{tde_tdelibdir}/kcal_bugzilla.so +%{tde_tdeappdir}/kbugbuster.desktop +%{tde_datadir}/apps/kbugbuster/ +%{tde_datadir}/icons/hicolor/*/apps/kbugbuster.png +%{tde_datadir}/icons/locolor/*/apps/kbugbuster.png +%{tde_datadir}/services/kresources/kcal/bugzilla.desktop +%{tde_tdedocdir}/HTML/en/kbugbuster/ + +%post -n trinity-kbugbuster +for f in hicolor locolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kbugbuster +for f in hicolor locolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-tdecachegrind +Summary: visualisation tool for valgrind profiling output +Group: Development/Utilities + +%description -n trinity-tdecachegrind +KCachegrind is a visualisation tool for the profiling data generated +by calltree, a profiling skin for valgrind. Applications can be +profiled using calltree without being recompiled, and shared libraries +and plugin architectures are supported. + +For visualising the output from other profiling tools, several converters +can be found in the tdecachegrind-converters package. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-tdecachegrind +%{tde_bindir}/kcachegrind +%{tde_tdeappdir}/kcachegrind.desktop +%{tde_datadir}/apps/kcachegrind/ +%{tde_datadir}/icons/locolor/*/apps/kcachegrind.png +%{tde_datadir}/icons/hicolor/*/apps/kcachegrind.png +%{tde_datadir}/mimelnk/application/x-kcachegrind.desktop +%{tde_tdedocdir}/HTML/en/kcachegrind/ + +%post -n trinity-tdecachegrind +for f in hicolor locolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-tdecachegrind +for f in hicolor locolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-tdecachegrind-converters +Summary: format converters for KCachegrind profiling visualisation tool +Group: Development/Utilities +Requires: php-cli +Requires: python + +%description -n trinity-tdecachegrind-converters +This is a collection of scripts for converting the output from +different profiling tools into a format that KCachegrind can use. + +KCachegrind is a visualisation tool for the profiling data generated +by calltree, a profiling skin for valgrind. Applications can be +profiled using calltree without being recompiled, and shared libraries +and plugin architectures are supported. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-tdecachegrind-converters +%{tde_bindir}/dprof2calltree +%{tde_bindir}/hotshot2calltree +%{tde_bindir}/memprof2calltree +%{tde_bindir}/op2calltree +%{tde_bindir}/pprof2calltree + +########## + +%package kfile-plugins +Summary: Trinity file dialog plugins for software development files +Group: Environment/Libraries + +%description kfile-plugins +This is a collection of plugins for the TDE file dialog. These plugins +extend the file dialog to offer advanced meta-information for source files, +patch files and Qt Linguist data. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files kfile-plugins +%{tde_tdelibdir}/kfile_cpp.so +%{tde_tdelibdir}/kfile_cpp.la +%{tde_tdelibdir}/kfile_diff.so +%{tde_tdelibdir}/kfile_diff.la +%{tde_tdelibdir}/kfile_ts.so +%{tde_tdelibdir}/kfile_ts.la +%{tde_datadir}/services/kfile_cpp.desktop +%{tde_datadir}/services/kfile_diff.desktop +%{tde_datadir}/services/kfile_h.desktop +%{tde_datadir}/services/kfile_ts.desktop + +########## + +%package misc +Summary: various goodies from the Trinity Software Development Kit +Group: Development/Libraries + +%description misc +This package contains miscellaneous goodies provided with the official +TDE release to assist with TDE software development. + +Included are: +- headers to assist with profiling TDE code; +- a widget style for checking conformity with the TDE/Qt style guide; +- palettes that match the KDE standard colour palette; +- a TDE address book plugin that reads the list of TDE CVS accounts. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files misc +%{tde_tdeincludedir}/kprofilemethod.h +%{tde_tdelibdir}/kabcformat_kdeaccounts.la +%{tde_tdelibdir}/kabcformat_kdeaccounts.so +%{tde_tdelibdir}/scheck.so +%{tde_tdelibdir}/scheck.la +%{tde_datadir}/apps/kabc/formats/kdeaccountsplugin.desktop +%{tde_datadir}/apps/kstyle/themes/scheck.themerc +%{tde_datadir}/kdepalettes/ + +%{tde_libdir}/libkstartperf.so.* +%{tde_libdir}/libkstartperf.so +%{tde_libdir}/libkstartperf.la +%{tde_bindir}/kstartperf + +%post misc +/sbin/ldconfig || : + +%postun misc +/sbin/ldconfig || : + +########## + +%package scripts +Summary: a set of useful development scripts for Trinity +Group: Development/Utilities +Requires: python + +%description scripts +This package contains a number of scripts which can be used to help in +developing TDE-based applications. Many of these scripts however are +not specific to TDE, and in particular there are several general-use +scripts to help users in working with SVN and CVS repositories. + +In addition to these scripts, this package provides: +- gdb macros for Qt/TDE programming; +- vim and emacs helper files for Qt/TDE programming; +- bash and zsh completion controls for TDE apps; +- valgrind error suppressions for TDE apps. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files scripts +%{tde_bindir}/adddebug +%{tde_bindir}/build-progress.sh +%{tde_bindir}/cheatmake +%{tde_bindir}/create_cvsignore +%{tde_bindir}/create_makefile +%{tde_bindir}/create_makefiles +%{tde_bindir}/cvs-clean +%{tde_bindir}/cvs2dist +%{tde_bindir}/cvsbackport +%{tde_bindir}/cvsblame +%{tde_bindir}/cvscheck +%{tde_bindir}/cvsforwardport +%{tde_bindir}/cvslastchange +%{tde_bindir}/cvslastlog +%{tde_bindir}/cvsrevertlast +%{tde_bindir}/cvsversion +%{tde_bindir}/cxxmetric +%{tde_bindir}/extend_dmalloc +%{tde_bindir}/extractattr +%{tde_bindir}/extractrc +%{tde_bindir}/findmissingcrystal +%{tde_bindir}/fixkdeincludes +%{tde_bindir}/fixuifiles +%{tde_bindir}/includemocs +%{tde_bindir}/kde-build +%{tde_bindir}/kdedoc +%{tde_bindir}/kdekillall +%{tde_bindir}/kdelnk2desktop.py* +%{tde_bindir}/kdemangen.pl +%{tde_bindir}/makeobj +%{tde_bindir}/noncvslist +%{tde_bindir}/package_crystalsvg +%{tde_bindir}/png2mng.pl +%{tde_bindir}/pruneemptydirs +%{tde_bindir}/qtdoc +%{tde_bindir}/zonetab2pot.py* +%{tde_bindir}/svn2dist +%{tde_bindir}/svnrevertlast +%{tde_bindir}/svnforwardport +%{tde_bindir}/nonsvnlist +%{tde_bindir}/[kt]desvn-build +%{tde_bindir}/svnlastlog +%{tde_bindir}/svnversions +%{tde_bindir}/create_svnignore +%{tde_bindir}/svnlastchange +%{tde_bindir}/colorsvn +%{tde_bindir}/svnaddcurrentdir +%{tde_bindir}/svnbackport +%{tde_bindir}/svngettags +%{tde_bindir}/svnchangesince +%{tde_bindir}/svn-clean +%{tde_datadir}/apps/katepart/syntax/[kt]desvn-buildrc.xml +%{tde_mandir}/man1/cvsblame.1 +%{tde_mandir}/man1/cvscheck.1 +%{tde_mandir}/man1/cvsversion.1 +%{tde_mandir}/man1/kde-build.1 +%{tde_mandir}/man1/includemocs.1 +%{tde_mandir}/man1/noncvslist.1 +%{tde_mandir}/man1/[kt]desvn-build.1 +%{tde_tdedocdir}/HTML/en/[kt]desvn-build/ +#scripts/kde-devel-gdb /opt/trinity/share/tdesdk-scripts +#scripts/kde-devel-vim.vim /opt/trinity/share/tdesdk-scripts +#scripts/kde-emacs/*.el /opt/trinity/share/emacs/site-lisp/tdesdk-scripts +#scripts/kde.supp /opt/trinity/lib/valgrind +#scripts/completions /opt/trinity/share/tdesdk-scripts + +#debian/desktop-i18n/createdesktop.pl /opt/trinity/lib/kubuntu-desktop-i18n/ +#debian/desktop-i18n/findfiles /opt/trinity/lib/kubuntu-desktop-i18n/ +#debian/desktop-i18n/msgsplit /opt/trinity/lib/kubuntu-desktop-i18n/ + +%if "%{?tde_prefix}" != "/usr" +%{tde_bindir}/licensecheck +%else +%exclude %{tde_bindir}/licensecheck +%endif + +########## + +%package -n trinity-kmtrace +Summary: a Trinity memory leak tracer +Group: Development/Utilities +Requires: less + +%description -n trinity-kmtrace +KMtrace is a TDE tool to assist with malloc debugging using glibc's +"mtrace" functionality. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kmtrace +%{tde_bindir}/demangle +%{tde_bindir}/kminspector +%{tde_bindir}/kmmatch +%{tde_bindir}/kmtrace +#%{tde_tdeincludedir}/ktrace.h +%{tde_libdir}/kmtrace/libktrace.la +%{tde_libdir}/kmtrace/libktrace.so +%{tde_libdir}/libktrace_s.a +%{tde_datadir}/apps/kmtrace/kde.excludes + +########## + +%package -n trinity-kompare +Summary: a Trinity GUI for viewing differences between files +Group: Development/Utilities + +%description -n trinity-kompare +Kompare is a graphical user interface for viewing the differences between +files. It can compare two documents, create a diff file, display a diff +file and/or blend a diff file back into the original documents. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kompare +%{tde_bindir}/kompare +%{tde_libdir}/libkompareinterface.la +%{tde_libdir}/libkompareinterface.so +#%{tde_libdir}/libkompareinterface.so.* +%{tde_tdelibdir}/libkomparenavtreepart.la +%{tde_tdelibdir}/libkomparenavtreepart.so +%{tde_tdelibdir}/libkomparepart.la +%{tde_tdelibdir}/libkomparepart.so +%{tde_tdeappdir}/kompare.desktop +%{tde_datadir}/apps/kompare/komparepartui.rc +%{tde_datadir}/apps/kompare/kompareui.rc +%{tde_datadir}/services/komparenavtreepart.desktop +%{tde_datadir}/services/komparepart.desktop +%{tde_datadir}/servicetypes/komparenavigationpart.desktop +%{tde_datadir}/servicetypes/kompareviewpart.desktop +%{tde_datadir}/icons/hicolor/*/apps/kompare.png +%{tde_datadir}/icons/hicolor/scalable/apps/kompare.svgz +%{tde_tdedocdir}/HTML/en/kompare/ + +%post -n trinity-kompare +/sbin/ldconfig || : +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kompare +/sbin/ldconfig || : +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kspy +Summary: examines the internal state of a Qt/TDE app +Group: Environment/Libraries +Requires: trinity-tdelibs-devel + +%description -n trinity-kspy +KSpy is a tiny library which can be used to graphically display +the QObjects in use by a Qt/TDE app. In addition to the object tree, +you can also view the properties, signals and slots of any QObject. + +Basically it provides much the same info as QObject::dumpObjectTree() and +QObject::dumpObjectInfo(), but in a much more convenient form. KSpy has +minimal overhead for the application, because the kspy library is +loaded dynamically using KLibLoader. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kspy +%{tde_tdeincludedir}/kspy.h +%{tde_libdir}/libkspy.la +%{tde_libdir}/libkspy.so +%{tde_libdir}/libkspy.so.* + +%post -n trinity-kspy +/sbin/ldconfig || : + +%postun -n trinity-kspy +/sbin/ldconfig || : + +########## + +%package -n trinity-kuiviewer +Summary: viewer for Qt Designer user interface files +Group: Development/Utilities + +%description -n trinity-kuiviewer +KUIViewer is a utility to display and test the user interface (.ui) files +generated by Qt Designer. The interfaces can be displayed in a variety of +different widget styles. + +The Qt Designer itself is in the package qt3-designer. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kuiviewer +%{tde_bindir}/kuiviewer +%{tde_tdelibdir}/libkuiviewerpart.so +%{tde_tdelibdir}/libkuiviewerpart.la +%{tde_tdelibdir}/quithumbnail.so +%{tde_tdelibdir}/quithumbnail.la +%{tde_tdeappdir}/kuiviewer.desktop +%{tde_datadir}/apps/kuiviewer/kuiviewerui.rc +%{tde_datadir}/apps/kuiviewerpart/kuiviewer_part.rc +%{tde_datadir}/icons/hicolor/*/apps/kuiviewer.png +%{tde_datadir}/icons/locolor/*/apps/kuiviewer.png +%{tde_datadir}/services/designerthumbnail.desktop +%{tde_datadir}/services/kuiviewer_part.desktop + +%post -n trinity-kuiviewer +for f in hicolor locolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done + +%postun -n trinity-kuiviewer +for f in crystalsvg hicolor locolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done + +########## + +%package -n trinity-libcvsservice0 +Summary: DCOP service for accessing CVS repositories +Group: Environment/Libraries +Requires: cvs + +%description -n trinity-libcvsservice0 +This library provides a DCOP service for accessing and working with +remote CVS repositories. Applications may link with this library to +access the DCOP service directly from C++. Alternatively, scripts may +access the service using the standard "dcop" command-line tool. + +DCOP is the Desktop Communication Protocol used throughout TDE. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-libcvsservice0 +%{tde_bindir}/cvsaskpass +%{tde_bindir}/cvsservice +%{tde_libdir}/libcvsservice.so.* +%{tde_libdir}/lib[kt]deinit_cvsaskpass.so +%{tde_libdir}/lib[kt]deinit_cvsservice.so +%{tde_tdelibdir}/cvsaskpass.la +%{tde_tdelibdir}/cvsaskpass.so +%{tde_tdelibdir}/cvsservice.la +%{tde_tdelibdir}/cvsservice.so +%{tde_datadir}/services/cvsservice.desktop + +%post -n trinity-libcvsservice0 +/sbin/ldconfig || : + +%postun -n trinity-libcvsservice0 +/sbin/ldconfig || : + +########## + +%package -n trinity-libcvsservice-devel +Summary: development files for CVS DCOP service +Group: Development/Libraries +Requires: trinity-libcvsservice0 = %{version}-%{release} + +%description -n trinity-libcvsservice-devel +The library libcvsservice provides a DCOP service for accessing and +working with remote CVS repositories. Applications may link with this +library to access the DCOP service directly from C++. Alternatively, +scripts may access the service using the standard "dcop" command-line +tool. + +Development files for libcvsservice are included in this package. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-libcvsservice-devel +%{tde_tdeincludedir}/cvsjob_stub.h +%{tde_tdeincludedir}/cvsservice_stub.h +%{tde_tdeincludedir}/repository_stub.h +%{tde_libdir}/libcvsservice.la +%{tde_libdir}/libcvsservice.so +%{tde_libdir}/lib[kt]deinit_cvsaskpass.la +%{tde_libdir}/lib[kt]deinit_cvsservice.la +%{tde_datadir}/cmake/cervisia.cmake + +%post -n trinity-libcvsservice-devel +/sbin/ldconfig || : + +%postun -n trinity-libcvsservice-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-poxml +Summary: tools for using PO-files to translate DocBook XML files +Group: Development/Utilities + +%description -n trinity-poxml +This is a collection of tools that facilitate translating DocBook XML +files using gettext message files (PO-files). + +Also included are some miscellaneous command-line utilities for +manipulating DocBook XML files, PO-files and PO-template files. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-poxml +%{tde_bindir}/po2xml +%{tde_bindir}/split2po +%{tde_bindir}/swappo +%{tde_bindir}/transxx +%{tde_bindir}/xml2pot + +########## + +%package -n trinity-umbrello +Summary: UML modelling tool and code generator +Group: Development/Utilities + +%description -n trinity-umbrello +Umbrello UML Modeller is a Unified Modelling Language editor for TDE. +With UML you can create diagrams of software and other systems in an +industry standard format. Umbrello can also generate code from your +UML diagrams in a number of programming languages. + +The program supports class diagrams, sequence diagrams, collaboration +diagrams, use case diagrams, state diagrams, activity diagrams, component +diagrams and deployment diagrams. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-umbrello +%{tde_bindir}/umbodoc +%{tde_bindir}/umbrello +%{tde_tdeappdir}/umbrello.desktop +%{tde_datadir}/apps/umbrello/ +%{tde_datadir}/icons/crystalsvg/*/actions/umbrello_*.png +%{tde_datadir}/icons/crystalsvg/*/mimetypes/umbrellofile.png +%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/umbrellofile.svgz +%{tde_datadir}/icons/hicolor/*/apps/umbrello.png +%{tde_datadir}/icons/hicolor/scalable/apps/umbrello.svgz +%{tde_datadir}/icons/hicolor/*/mimetypes/umbrellofile.png +%{tde_datadir}/mimelnk/application/x-umbrello.desktop +%{tde_tdedocdir}/HTML/en/umbrello/ + +%post -n trinity-umbrello +for f in crystalsvg hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-umbrello +for f in crystalsvg hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package kio-plugins +Summary: subversion ioslave for Trinity +Group: Environment/Libraries +Requires: subversion + +%description kio-plugins +This package provides easy access to remote SVN repositories from within +Konqueror, and TDE generally, by browsing them as if they were a +filesystem, using URLs like svn://hostname/path, or svn+ssh://, etc. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files kio-plugins +%{tde_bindir}/kio_svn_helper +%{tde_tdelibdir}/kded_ksvnd.la +%{tde_tdelibdir}/kded_ksvnd.so +%{tde_tdelibdir}/kio_svn.la +%{tde_tdelibdir}/kio_svn.so +%{tde_datadir}/apps/konqueror/servicemenus/subversion_toplevel.desktop +%{tde_datadir}/apps/konqueror/servicemenus/subversion.desktop +%{tde_datadir}/services/kded/ksvnd.desktop +%{tde_datadir}/services/svn+file.protocol_tdesdk +%{tde_datadir}/services/svn+http.protocol_tdesdk +%{tde_datadir}/services/svn+https.protocol_tdesdk +%{tde_datadir}/services/svn+ssh.protocol_tdesdk +%{tde_datadir}/services/svn.protocol_tdesdk +%{tde_datadir}/services/svn+file.protocol +%{tde_datadir}/services/svn+http.protocol +%{tde_datadir}/services/svn+https.protocol +%{tde_datadir}/services/svn+ssh.protocol +%{tde_datadir}/services/svn.protocol +%{tde_datadir}/icons/crystalsvg/*/actions/svn_switch.png +%{tde_datadir}/icons/crystalsvg/*/actions/svn_merge.png +%{tde_datadir}/icons/crystalsvg/*/actions/svn_branch.png +%{tde_datadir}/icons/crystalsvg/*/actions/svn_remove.png +%{tde_datadir}/icons/crystalsvg/*/actions/svn_add.png +%{tde_datadir}/icons/crystalsvg/*/actions/svn_status.png +%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_add.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_status.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_remove.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_switch.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_branch.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_merge.svgz + +%post kio-plugins +for f in crystalsvg ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done + +for proto in svn+file svn+http svn+https svn+ssh svn; do + alternatives --install \ + %{tde_datadir}/services/${proto}.protocol \ + ${proto}.protocol \ + %{tde_datadir}/services/${proto}.protocol_tdesdk \ + 10 +done + +%postun kio-plugins +for f in crystalsvg ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done + +%preun kio-plugins +if [ $1 -eq 0 ]; then + for proto in svn+file svn+http svn+https svn+ssh svn; do + alternatives --remove \ + ${proto}.protocol \ + %{tde_datadir}/services/${proto}.protocol_tdesdk + done +fi + +########## + +%package -n trinity-kunittest +Summary: unit testing library for Trinity +Group: Development/Utilities + +%description -n trinity-kunittest +KUnitTest is a small library that facilitates the writing of tests for +TDE developers. There are two ways to use the KUnitTest library. One is +to create dynamically loadable modules and use the kunittestmodrunner or +kunittestguimodrunner programs to run the tests. The other is to use the +libraries to create your own testing application. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kunittest +%{tde_bindir}/kunittest +%{tde_bindir}/kunittest_debughelper +%{tde_bindir}/kunittestmod +%{tde_bindir}/kunittestguimodrunner +%{tde_libdir}/libkunittestgui.la +%{tde_libdir}/libkunittestgui.so +#%{tde_libdir}/libkunittestgui.so.* +%{tde_tdeincludedir}/kunittest/runnergui.h + +%post -n trinity-kunittest +/sbin/ldconfig || : + +%postun -n trinity-kunittest +/sbin/ldconfig || : + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries + +Requires: %{name} = %{version}-%{release} +Requires: trinity-kbabel-devel = %{version}-%{release} + +Obsoletes: trinity-kdesdk-devel < %{version}-%{release} +Provides: trinity-kdesdk-devel = %{version}-%{release} + +%description devel +%{summary}. + +%files devel + +########## + + +%prep +%setup -q -n kdesdk +%patch1 -p1 -b .subversion +%patch2 -p1 -b .cmake +%patch3 -p1 -b .cmake +%patch4 -p1 -b .ftbfs +%patch5 -p1 -b .svn + +%build +unset QTDIR || :; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LD_LIBRARY_PATH="%{tde_libdir}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" + +%if 0%{?rhel} || 0%{?fedora} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DMAN_INSTALL_DIR=%{tde_mandir}/man1 \ + -DPKGCONFIG_INSTALL_DIR=%{tde_tdelibdir}/pkgconfig \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DWITH_DBSEARCHENGINE=ON \ + -DWITH_KCAL=ON \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} + +%__make install DESTDIR=%{?buildroot} -C build + +# make symlinks relative +if [ -d %{buildroot}%{tde_tdedocdir}/HTML/en ]; then + pushd %{buildroot}%{tde_tdedocdir}/HTML/en + for i in *; do + if [ -d $i -a -L $i/common ]; then + rm -f $i/common + ln -nfs ../common $i + fi + done + popd +fi + +# Installs kdepalettes +%__install -D -m 644 kdepalettes/kde_xpaintrc %{?buildroot}%{tde_datadir}/kdepalettes +%__install -D -m 644 kdepalettes/KDE_Gimp %{?buildroot}%{tde_datadir}/kdepalettes +%__install -D -m 644 kdepalettes/README %{?buildroot}%{tde_datadir}/kdepalettes + +# Installs SVN protocols as alternatives +%__mv -f %{?buildroot}%{tde_datadir}/services/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol_tdesdk +%__mv -f %{?buildroot}%{tde_datadir}/services/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol_tdesdk +%__mv -f %{?buildroot}%{tde_datadir}/services/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol_tdesdk +%__mv -f %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol_tdesdk +%__mv -f %{?buildroot}%{tde_datadir}/services/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol_tdesdk +%__ln_s /etc/alternatives/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol +%__ln_s /etc/alternatives/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol +%__ln_s /etc/alternatives/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol +%__ln_s /etc/alternatives/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol +%__ln_s /etc/alternatives/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol + +%clean +%__rm -rf %{buildroot} + + +# trick to replace a dir by a symlink -- Rex +%pre +if [ $1 -gt 0 -a ! -L %{_docdir}/HTML/en/cervisia/common ]; then + rm -rf %{tde_tdedocdir}/HTML/en/cervisia/common ||: +fi + + + +%changelog +* Sun Jul 30 2012 Francois Andriot - 3.5.13-2 +- Split into several packages +- Renames to 'trinity-tdesdk' +- Add Mageia 2 support +- cmake port [Commit #bfb0bc00] +- added forgotten files [Commit #adee843c] +- installs SVN protocols as alternative to avoid conflict with kdesvn + +* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 +- Initial release for RHEL 6, RHEL 5 and Fedora 15 + +* Mon Sep 05 2011 Francois Andriot - 3.5.13-0 +- Import to GIT diff --git a/redhat/tdesdk/tdesdk-3.5.13.2.spec b/redhat/tdesdk/tdesdk-3.5.13.2.spec new file mode 100644 index 000000000..22d097f2b --- /dev/null +++ b/redhat/tdesdk/tdesdk-3.5.13.2.spec @@ -0,0 +1,1159 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + + +Name: trinity-tdesdk +Summary: The KDE Software Development Kit (SDK) +Version: 3.5.13.2 +Release: 1%{?dist}%{?_variant} + +License: GPLv2 +Group: User Interface/Desktops +URL: http://www.trinitydesktop.org/ +Vendor: Trinity Project +Packager: Francois Andriot + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}.tar.gz + +BuildRequires: cmake >= 2.8 +BuildRequires: libtool +BuildRequires: pcre-devel +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +# for kbugbuster/libkcal +BuildRequires: trinity-tdepim-devel >= %{version} +%if 0%{?mgaversion} || 0%{?mdkversion} +#BuildRequires: %{_lib}db4.8-devel +%endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: db4-devel +%endif +%if 0%{?suse_version} +BuildRequires: libdb-4_8-devel +%endif +BuildRequires: desktop-file-utils +# kbabel, F-7+: flex >= 2.5.33-9 +BuildRequires: flex +# umbrello +BuildRequires: libxslt-devel +BuildRequires: libxml2-devel +BuildRequires: perl +BuildRequires: subversion-devel +BuildRequires: neon-devel + +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}ltdl-devel +BuildRequires: %{_lib}binutils-devel +%endif +%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5 || 0%{?suse_version} +BuildRequires: binutils-devel +%endif +%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5 || 0%{?suse_version} >= 1220 +BuildRequires: libtool-ltdl-devel +%endif + +# KIOSLAVE +# Does not build on RHEL4 +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} +%define build_kioslave 1 +%endif + +Obsoletes: trinity-kdesdk < %{version}-%{release} +Provides: trinity-kdesdk = %{version}-%{release} +Obsoletes: trinity-kdesdk-libs < %{version}-%{release} +Provides: trinity-kdesdk-libs = %{version}-%{release} + +Requires: trinity-cervisia = %{version}-%{release} +Requires: trinity-kapptemplate = %{version}-%{release} +Requires: trinity-kbabel = %{version}-%{release} +Requires: trinity-kbugbuster = %{version}-%{release} +Requires: trinity-tdecachegrind = %{version}-%{release} +Requires: trinity-tdecachegrind-converters = %{version}-%{release} +Requires: %{name}-kfile-plugins = %{version}-%{release} +Requires: %{name}-misc = %{version}-%{release} +Requires: %{name}-scripts = %{version}-%{release} +Requires: trinity-kmtrace = %{version}-%{release} +Requires: trinity-kompare = %{version}-%{release} +Requires: trinity-kspy = %{version}-%{release} +Requires: trinity-kuiviewer = %{version}-%{release} +Requires: trinity-libcvsservice0 = %{version}-%{release} +Requires: trinity-libcvsservice-devel = %{version}-%{release} +Requires: trinity-poxml = %{version}-%{release} +Requires: trinity-umbrello = %{version}-%{release} +%{?build_kioslave:Requires: %{name}-tdeio-plugins = %{version}-%{release}} +Requires: trinity-kunittest = %{version}-%{release} + + +%description +A collection of applications and tools used by developers, including: +* cervisia: a CVS frontend +* kbabel: PO file management +* kbugbuster: a tool to manage the TDE bug report system +* kcachegrind: a browser for data produced by profiling tools (e.g. cachegrind) +* kompare: diff tool +* kuiviewer: displays designer's UI files +* umbrello: UML modeller and UML diagram tool + +%files + +########## + +%package -n trinity-cervisia +Summary: A graphical CVS front end for Trinity +Group: Development/Utilities + +%description -n trinity-cervisia +Cervisia is a TDE-based graphical front end for the CVS client. + +As well as providing both common and advanced CVS operations, it offers +a variety of methods for graphically viewing information about the CVS +repository, your own sandbox and the relationships between different +versions of files. A Changelog editor is also included and is coupled +with the commit dialog. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-cervisia +%{tde_bindir}/cervisia +%{tde_libdir}/lib[kt]deinit_cervisia.la +%{tde_libdir}/lib[kt]deinit_cervisia.so +%{tde_tdelibdir}/cervisia.la +%{tde_tdelibdir}/cervisia.so +%{tde_tdelibdir}/libcervisiapart.la +%{tde_tdelibdir}/libcervisiapart.so +%{tde_tdeappdir}/cervisia.desktop +%{tde_datadir}/apps/cervisia/ +%{tde_datadir}/apps/cervisiapart/cervisiaui.rc +%{tde_datadir}/apps/kconf_update/cervisia.upd +%{tde_datadir}/apps/kconf_update/cervisia-change_repos_list.pl +%{tde_datadir}/apps/kconf_update/cervisia-normalize_cvsroot.pl +%{tde_datadir}/apps/kconf_update/move_repositories.pl +%{tde_datadir}/apps/kconf_update/change_colors.pl +%{tde_datadir}/config.kcfg/cervisiapart.kcfg +%{tde_datadir}/icons/hicolor/*/apps/cervisia.png +%{tde_datadir}/icons/crystalsvg/*/actions/vcs_*.png +%{tde_datadir}/icons/crystalsvg/scalable/actions/vcs_*.svgz +%{tde_mandir}/man1/cervisia.1* +%{tde_tdedocdir}/HTML/en/cervisia/ + +%post -n trinity-cervisia +/sbin/ldconfig || : +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-cervisia +/sbin/ldconfig || : +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kapptemplate +Summary: Creates a framework to develop a Trinity application +Group: Development/Utilities + +%description -n trinity-kapptemplate +KAppTemplate is a shell script that will create the necessary +framework to develop various TDE applications. It takes care of the +autoconf/automake code as well as providing a skeleton and example of +what the code typically looks like. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kapptemplate +%{tde_bindir}/kapptemplate +%{tde_datadir}/apps/kapptemplate/ + +%pre -n trinity-kapptemplate +if [ -d "%{tde_bindir}/kapptemplate" ]; then + rm -rf "%{tde_bindir}/kapptemplate" +fi + +########## + +%package -n trinity-kbabel +Summary: PO-file editing suite for Trinity +Group: Development/Utilities + +%description -n trinity-kbabel +This is a suite of programs for editing gettext message files (PO-files). +It is designed to help you translate fast and consistently. + +This suite includes KBabel, CatalogManager and KBabelDict. KBabel is an +advanced and easy to use PO-file editor with full navigational and editing +capabilities, syntax checking and statistics. CatalogManager is a multi +functional catalog manager which allows you to keep track of many +PO-files at once. KBabelDict is a dictionary to assist with searching +for common translations. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kbabel +%{tde_bindir}/catalogmanager +%{tde_bindir}/kbabel +%{tde_bindir}/kbabeldict +%{tde_libdir}/libkbabelcommon.so.* +%{tde_libdir}/libkbabeldictplugin.so.* +%{tde_tdelibdir}/kfile_po.la +%{tde_tdelibdir}/kfile_po.so +%{tde_tdelibdir}/pothumbnail.la +%{tde_tdelibdir}/pothumbnail.so +%{tde_tdelibdir}/kbabel_accelstool.la +%{tde_tdelibdir}/kbabel_accelstool.so +%{tde_tdelibdir}/kbabel_argstool.la +%{tde_tdelibdir}/kbabel_argstool.so +%{tde_tdelibdir}/kbabel_contexttool.la +%{tde_tdelibdir}/kbabel_contexttool.so +%{tde_tdelibdir}/kbabel_equationstool.la +%{tde_tdelibdir}/kbabel_equationstool.so +%{tde_tdelibdir}/kbabel_gettextexport.la +%{tde_tdelibdir}/kbabel_gettextexport.so +%{tde_tdelibdir}/kbabel_gettextimport.la +%{tde_tdelibdir}/kbabel_gettextimport.so +%{tde_tdelibdir}/kbabel_lengthtool.la +%{tde_tdelibdir}/kbabel_lengthtool.so +%{tde_tdelibdir}/kbabel_linguistexport.la +%{tde_tdelibdir}/kbabel_linguistexport.so +%{tde_tdelibdir}/kbabel_linguistimport.la +%{tde_tdelibdir}/kbabel_linguistimport.so +%{tde_tdelibdir}/kbabel_nottranslatedtool.la +%{tde_tdelibdir}/kbabel_nottranslatedtool.so +%{tde_tdelibdir}/kbabel_pluraltool.la +%{tde_tdelibdir}/kbabel_pluraltool.so +%{tde_tdelibdir}/kbabel_punctuationtool.la +%{tde_tdelibdir}/kbabel_punctuationtool.so +%{tde_tdelibdir}/kbabel_regexptool.la +%{tde_tdelibdir}/kbabel_regexptool.so +%{tde_tdelibdir}/kbabel_setfuzzytool.la +%{tde_tdelibdir}/kbabel_setfuzzytool.so +%{tde_tdelibdir}/kbabel_whitespacetool.la +%{tde_tdelibdir}/kbabel_whitespacetool.so +%{tde_tdelibdir}/kbabel_xliffexport.la +%{tde_tdelibdir}/kbabel_xliffexport.so +%{tde_tdelibdir}/kbabel_xliffimport.la +%{tde_tdelibdir}/kbabel_xliffimport.so +%{tde_tdelibdir}/kbabel_xmltool.la +%{tde_tdelibdir}/kbabel_xmltool.so +%{tde_tdelibdir}/kbabeldict_dbsearchengine.la +%{tde_tdelibdir}/kbabeldict_dbsearchengine.so +%{tde_tdelibdir}/kbabeldict_poauxiliary.la +%{tde_tdelibdir}/kbabeldict_poauxiliary.so +%{tde_tdelibdir}/kbabeldict_pocompendium.la +%{tde_tdelibdir}/kbabeldict_pocompendium.so +%{tde_tdelibdir}/kbabeldict_tmxcompendium.la +%{tde_tdelibdir}/kbabeldict_tmxcompendium.so +%{tde_tdeappdir}/catalogmanager.desktop +%{tde_tdeappdir}/kbabel.desktop +%{tde_tdeappdir}/kbabeldict.desktop +%{tde_datadir}/apps/catalogmanager/catalogmanagerui.rc +%{tde_datadir}/apps/kbabel/ +%{tde_datadir}/apps/kconf_update/kbabel-difftoproject.upd +%{tde_datadir}/apps/kconf_update/kbabel-project.upd +%{tde_datadir}/apps/kconf_update/kbabel-projectrename.upd +%{tde_datadir}/config.kcfg/kbabel.kcfg +%{tde_datadir}/config.kcfg/kbprojectsettings.kcfg +%{tde_tdedocdir}/HTML/en/kbabel/ +%{tde_datadir}/icons/hicolor/*/apps/catalogmanager.png +%{tde_datadir}/icons/hicolor/*/apps/kbabel.png +%{tde_datadir}/icons/hicolor/*/apps/kbabeldict.png +%{tde_datadir}/icons/locolor/*/apps/catalogmanager.png +%{tde_datadir}/icons/locolor/*/apps/kbabel.png +%{tde_datadir}/icons/locolor/*/apps/kbabeldict.png +%{tde_datadir}/services/dbsearchengine.desktop +%{tde_datadir}/services/kfile_po.desktop +%{tde_datadir}/services/pothumbnail.desktop +%{tde_datadir}/services/kbabel_accelstool.desktop +%{tde_datadir}/services/kbabel_argstool.desktop +%{tde_datadir}/services/kbabel_contexttool.desktop +%{tde_datadir}/services/kbabel_equationstool.desktop +%{tde_datadir}/services/kbabel_gettext_export.desktop +%{tde_datadir}/services/kbabel_gettext_import.desktop +%{tde_datadir}/services/kbabel_lengthtool.desktop +%{tde_datadir}/services/kbabel_linguist_export.desktop +%{tde_datadir}/services/kbabel_linguist_import.desktop +%{tde_datadir}/services/kbabel_nottranslatedtool.desktop +%{tde_datadir}/services/kbabel_pluralformstool.desktop +%{tde_datadir}/services/kbabel_punctuationtool.desktop +%{tde_datadir}/services/kbabel_regexptool.desktop +%{tde_datadir}/services/kbabel_setfuzzytool.desktop +%{tde_datadir}/services/kbabel_whitespacetool.desktop +%{tde_datadir}/services/kbabel_xliff_export.desktop +%{tde_datadir}/services/kbabel_xliff_import.desktop +%{tde_datadir}/services/kbabel_xmltool.desktop +%{tde_datadir}/services/pocompendium.desktop +%{tde_datadir}/services/poauxiliary.desktop +%{tde_datadir}/services/tmxcompendium.desktop +%{tde_datadir}/servicetypes/kbabel_tool.desktop +%{tde_datadir}/servicetypes/kbabel_validator.desktop +%{tde_datadir}/servicetypes/kbabeldict_module.desktop +%{tde_datadir}/servicetypes/kbabelfilter.desktop + +%post -n trinity-kbabel +/sbin/ldconfig || : +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kbabel +/sbin/ldconfig || : +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kbabel-devel +Summary: PO-file editing suite for Trinity (development files) +Group: Development/Libraries +Requires: trinity-kbabel = %{version}-%{release} + +%description -n trinity-kbabel-devel +This is a suite of programs for editing gettext message files (PO-files). +It is designed to help you translate fast and consistently. + +This suite includes KBabel, CatalogManager and KBabelDict. KBabel is an +advanced and easy to use PO-file editor with full navigational and editing +capabilities, syntax checking and statistics. CatalogManager is a multi +functional catalog manager which allows you to keep track of many +PO-files at once. KBabelDict is a dictionary to assist with searching +for common translations. + +This package contains the KBabel development files. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kbabel-devel +%{tde_tdeincludedir}/kbabel/ +%{tde_libdir}/libkbabelcommon.la +%{tde_libdir}/libkbabelcommon.so +%{tde_libdir}/libkbabeldictplugin.la +%{tde_libdir}/libkbabeldictplugin.so + +%post -n trinity-kbabel-devel +/sbin/ldconfig || : + +%postun -n trinity-kbabel-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-kbugbuster +Summary: a front end for the Trinity bug tracking system +Group: Development/Utilities + +%description -n trinity-kbugbuster +KBugBuster is a GUI front end for the TDE bug tracking system. +It allows the user to view and manipulate bug reports and provides a +variety of options for searching through reports. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kbugbuster +%{tde_bindir}/kbugbuster +%{tde_tdelibdir}/kcal_bugzilla.la +%{tde_tdelibdir}/kcal_bugzilla.so +%{tde_tdeappdir}/kbugbuster.desktop +%{tde_datadir}/apps/kbugbuster/ +%{tde_datadir}/icons/hicolor/*/apps/kbugbuster.png +%{tde_datadir}/icons/locolor/*/apps/kbugbuster.png +%{tde_datadir}/services/kresources/kcal/bugzilla.desktop +%{tde_tdedocdir}/HTML/en/kbugbuster/ + +%post -n trinity-kbugbuster +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kbugbuster +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-tdecachegrind +Summary: visualisation tool for valgrind profiling output +Group: Development/Utilities + +%description -n trinity-tdecachegrind +KCachegrind is a visualisation tool for the profiling data generated +by calltree, a profiling skin for valgrind. Applications can be +profiled using calltree without being recompiled, and shared libraries +and plugin architectures are supported. + +For visualising the output from other profiling tools, several converters +can be found in the tdecachegrind-converters package. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-tdecachegrind +%{tde_bindir}/kcachegrind +%{tde_tdeappdir}/kcachegrind.desktop +%{tde_datadir}/apps/kcachegrind/ +%{tde_datadir}/icons/locolor/*/apps/kcachegrind.png +%{tde_datadir}/icons/hicolor/*/apps/kcachegrind.png +%{tde_datadir}/mimelnk/application/x-kcachegrind.desktop +%{tde_tdedocdir}/HTML/en/kcachegrind/ + +%post -n trinity-tdecachegrind +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-tdecachegrind +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-tdecachegrind-converters +Summary: format converters for KCachegrind profiling visualisation tool +Group: Development/Utilities +Requires: python +%if 0%{?suse_version} || 0%{?rhel} == 4 +Requires: php +%else +Requires: php-cli +%endif + +%description -n trinity-tdecachegrind-converters +This is a collection of scripts for converting the output from +different profiling tools into a format that KCachegrind can use. + +KCachegrind is a visualisation tool for the profiling data generated +by calltree, a profiling skin for valgrind. Applications can be +profiled using calltree without being recompiled, and shared libraries +and plugin architectures are supported. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-tdecachegrind-converters +%{tde_bindir}/dprof2calltree +%{tde_bindir}/hotshot2calltree +%{tde_bindir}/memprof2calltree +%{tde_bindir}/op2calltree +%{tde_bindir}/pprof2calltree + +########## + +%package kfile-plugins +Summary: Trinity file dialog plugins for software development files +Group: Environment/Libraries + +%description kfile-plugins +This is a collection of plugins for the TDE file dialog. These plugins +extend the file dialog to offer advanced meta-information for source files, +patch files and Qt Linguist data. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files kfile-plugins +%{tde_tdelibdir}/kfile_cpp.so +%{tde_tdelibdir}/kfile_cpp.la +%{tde_tdelibdir}/kfile_diff.so +%{tde_tdelibdir}/kfile_diff.la +%{tde_tdelibdir}/kfile_ts.so +%{tde_tdelibdir}/kfile_ts.la +%{tde_datadir}/services/kfile_cpp.desktop +%{tde_datadir}/services/kfile_diff.desktop +%{tde_datadir}/services/kfile_h.desktop +%{tde_datadir}/services/kfile_ts.desktop + +########## + +%package misc +Summary: various goodies from the Trinity Software Development Kit +Group: Development/Libraries + +%description misc +This package contains miscellaneous goodies provided with the official +TDE release to assist with TDE software development. + +Included are: +- headers to assist with profiling TDE code; +- a widget style for checking conformity with the TDE/Qt style guide; +- palettes that match the KDE standard colour palette; +- a TDE address book plugin that reads the list of TDE CVS accounts. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files misc +%{tde_tdeincludedir}/kprofilemethod.h +%{tde_tdelibdir}/kabcformat_kdeaccounts.la +%{tde_tdelibdir}/kabcformat_kdeaccounts.so +%{tde_tdelibdir}/plugins/styles/scheck.so +%{tde_tdelibdir}/plugins/styles/scheck.la +%{tde_datadir}/apps/kabc/formats/kdeaccountsplugin.desktop +%{tde_datadir}/apps/kstyle/themes/scheck.themerc +%{tde_datadir}/kdepalettes/ + +%{tde_libdir}/libkstartperf.so.* +%{tde_libdir}/libkstartperf.so +%{tde_libdir}/libkstartperf.la +%{tde_bindir}/kstartperf + +%post misc +/sbin/ldconfig || : + +%postun misc +/sbin/ldconfig || : + +########## + +%package scripts +Summary: a set of useful development scripts for Trinity +Group: Development/Utilities +Requires: python + +%description scripts +This package contains a number of scripts which can be used to help in +developing TDE-based applications. Many of these scripts however are +not specific to TDE, and in particular there are several general-use +scripts to help users in working with SVN and CVS repositories. + +In addition to these scripts, this package provides: +- gdb macros for Qt/TDE programming; +- vim and emacs helper files for Qt/TDE programming; +- bash and zsh completion controls for TDE apps; +- valgrind error suppressions for TDE apps. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files scripts +%{tde_bindir}/adddebug +%{tde_bindir}/build-progress.sh +%{tde_bindir}/cheatmake +%{tde_bindir}/create_cvsignore +%{tde_bindir}/create_makefile +%{tde_bindir}/create_makefiles +%{tde_bindir}/cvs-clean +%{tde_bindir}/cvs2dist +%{tde_bindir}/cvsbackport +%{tde_bindir}/cvsblame +%{tde_bindir}/cvscheck +%{tde_bindir}/cvsforwardport +%{tde_bindir}/cvslastchange +%{tde_bindir}/cvslastlog +%{tde_bindir}/cvsrevertlast +%{tde_bindir}/cvsversion +%{tde_bindir}/cxxmetric +%{tde_bindir}/extend_dmalloc +%{tde_bindir}/extractattr +%{tde_bindir}/extractrc +%{tde_bindir}/findmissingcrystal +%{tde_bindir}/fixkdeincludes +%{tde_bindir}/fixuifiles +%{tde_bindir}/includemocs +%{tde_bindir}/kde-build +%{tde_bindir}/kdedoc +%{tde_bindir}/kdekillall +%{tde_bindir}/kdelnk2desktop.py* +%{tde_bindir}/kdemangen.pl +%{tde_bindir}/makeobj +%{tde_bindir}/noncvslist +%{tde_bindir}/package_crystalsvg +%{tde_bindir}/png2mng.pl +%{tde_bindir}/pruneemptydirs +%{tde_bindir}/qtdoc +%{tde_bindir}/zonetab2pot.py* +%{tde_bindir}/svn2dist +%{tde_bindir}/svnrevertlast +%{tde_bindir}/svnforwardport +%{tde_bindir}/nonsvnlist +%{tde_bindir}/[kt]desvn-build +%{tde_bindir}/svnlastlog +%{tde_bindir}/svnversions +%{tde_bindir}/create_svnignore +%{tde_bindir}/svnlastchange +%{tde_bindir}/colorsvn +%{tde_bindir}/svnaddcurrentdir +%{tde_bindir}/svnbackport +%{tde_bindir}/svngettags +%{tde_bindir}/svnchangesince +%{tde_bindir}/svn-clean +%{tde_datadir}/apps/katepart/syntax/[kt]desvn-buildrc.xml +%{tde_mandir}/man1/cvsblame.1 +%{tde_mandir}/man1/cvscheck.1 +%{tde_mandir}/man1/cvsversion.1 +%{tde_mandir}/man1/kde-build.1 +%{tde_mandir}/man1/includemocs.1 +%{tde_mandir}/man1/noncvslist.1 +%{tde_mandir}/man1/[kt]desvn-build.1 +%{tde_tdedocdir}/HTML/en/[kt]desvn-build/ +#scripts/kde-devel-gdb /opt/trinity/share/tdesdk-scripts +#scripts/kde-devel-vim.vim /opt/trinity/share/tdesdk-scripts +#scripts/kde-emacs/*.el /opt/trinity/share/emacs/site-lisp/tdesdk-scripts +#scripts/kde.supp /opt/trinity/lib/valgrind +#scripts/completions /opt/trinity/share/tdesdk-scripts + +#debian/desktop-i18n/createdesktop.pl /opt/trinity/lib/kubuntu-desktop-i18n/ +#debian/desktop-i18n/findfiles /opt/trinity/lib/kubuntu-desktop-i18n/ +#debian/desktop-i18n/msgsplit /opt/trinity/lib/kubuntu-desktop-i18n/ + +%if "%{?tde_prefix}" != "/usr" +%{tde_bindir}/licensecheck +%else +%exclude %{tde_bindir}/licensecheck +%endif + +########## + +%package -n trinity-kmtrace +Summary: a Trinity memory leak tracer +Group: Development/Utilities +Requires: less + +%description -n trinity-kmtrace +KMtrace is a TDE tool to assist with malloc debugging using glibc's +"mtrace" functionality. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kmtrace +%{tde_bindir}/demangle +%{tde_bindir}/kminspector +%{tde_bindir}/kmmatch +%{tde_bindir}/kmtrace +%{tde_tdeincludedir}/ktrace.h +%{tde_libdir}/kmtrace/libktrace.la +%{tde_libdir}/kmtrace/libktrace.so +%{tde_libdir}/kmtrace/libktrace_s.a +%{tde_datadir}/apps/kmtrace/kde.excludes + +########## + +%package -n trinity-kompare +Summary: a Trinity GUI for viewing differences between files +Group: Development/Utilities + +%description -n trinity-kompare +Kompare is a graphical user interface for viewing the differences between +files. It can compare two documents, create a diff file, display a diff +file and/or blend a diff file back into the original documents. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kompare +%{tde_bindir}/kompare +%{tde_libdir}/libkompareinterface.la +%{tde_libdir}/libkompareinterface.so +%{tde_libdir}/libkompareinterface.so.* +%{tde_tdelibdir}/libkomparenavtreepart.la +%{tde_tdelibdir}/libkomparenavtreepart.so +%{tde_tdelibdir}/libkomparepart.la +%{tde_tdelibdir}/libkomparepart.so +%{tde_tdeappdir}/kompare.desktop +%{tde_datadir}/apps/kompare/komparepartui.rc +%{tde_datadir}/apps/kompare/kompareui.rc +%{tde_datadir}/services/komparenavtreepart.desktop +%{tde_datadir}/services/komparepart.desktop +%{tde_datadir}/servicetypes/komparenavigationpart.desktop +%{tde_datadir}/servicetypes/kompareviewpart.desktop +%{tde_datadir}/icons/hicolor/*/apps/kompare.png +%{tde_datadir}/icons/hicolor/scalable/apps/kompare.svgz +%{tde_tdedocdir}/HTML/en/kompare/ + +%post -n trinity-kompare +/sbin/ldconfig || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kompare +/sbin/ldconfig || : +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kspy +Summary: examines the internal state of a Qt/TDE app +Group: Environment/Libraries +Requires: trinity-tdelibs-devel + +%description -n trinity-kspy +KSpy is a tiny library which can be used to graphically display +the QObjects in use by a Qt/TDE app. In addition to the object tree, +you can also view the properties, signals and slots of any QObject. + +Basically it provides much the same info as QObject::dumpObjectTree() and +QObject::dumpObjectInfo(), but in a much more convenient form. KSpy has +minimal overhead for the application, because the kspy library is +loaded dynamically using KLibLoader. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kspy +%{tde_tdeincludedir}/kspy.h +%{tde_libdir}/libkspy.la +%{tde_libdir}/libkspy.so +%{tde_libdir}/libkspy.so.* + +%post -n trinity-kspy +/sbin/ldconfig || : + +%postun -n trinity-kspy +/sbin/ldconfig || : + +########## + +%package -n trinity-kuiviewer +Summary: viewer for Qt Designer user interface files +Group: Development/Utilities + +%description -n trinity-kuiviewer +KUIViewer is a utility to display and test the user interface (.ui) files +generated by Qt Designer. The interfaces can be displayed in a variety of +different widget styles. + +The Qt Designer itself is in the package qt3-designer. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kuiviewer +%{tde_bindir}/kuiviewer +%{tde_tdelibdir}/libkuiviewerpart.so +%{tde_tdelibdir}/libkuiviewerpart.la +%{tde_tdelibdir}/quithumbnail.so +%{tde_tdelibdir}/quithumbnail.la +%{tde_tdeappdir}/kuiviewer.desktop +%{tde_datadir}/apps/kuiviewer/kuiviewerui.rc +%{tde_datadir}/apps/kuiviewerpart/kuiviewer_part.rc +%{tde_datadir}/icons/hicolor/*/apps/kuiviewer.png +%{tde_datadir}/icons/locolor/*/apps/kuiviewer.png +%{tde_datadir}/services/designerthumbnail.desktop +%{tde_datadir}/services/kuiviewer_part.desktop + +%post -n trinity-kuiviewer +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done + +%postun -n trinity-kuiviewer +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done + +########## + +%package -n trinity-libcvsservice0 +Summary: DCOP service for accessing CVS repositories +Group: Environment/Libraries +Requires: cvs + +%description -n trinity-libcvsservice0 +This library provides a DCOP service for accessing and working with +remote CVS repositories. Applications may link with this library to +access the DCOP service directly from C++. Alternatively, scripts may +access the service using the standard "dcop" command-line tool. + +DCOP is the Desktop Communication Protocol used throughout TDE. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-libcvsservice0 +%{tde_bindir}/cvsaskpass +%{tde_bindir}/cvsservice +%{tde_libdir}/libcvsservice.so.* +%{tde_libdir}/lib[kt]deinit_cvsaskpass.so +%{tde_libdir}/lib[kt]deinit_cvsservice.so +%{tde_tdelibdir}/cvsaskpass.la +%{tde_tdelibdir}/cvsaskpass.so +%{tde_tdelibdir}/cvsservice.la +%{tde_tdelibdir}/cvsservice.so +%{tde_datadir}/services/cvsservice.desktop + +%post -n trinity-libcvsservice0 +/sbin/ldconfig || : + +%postun -n trinity-libcvsservice0 +/sbin/ldconfig || : + +########## + +%package -n trinity-libcvsservice-devel +Summary: development files for CVS DCOP service +Group: Development/Libraries +Requires: trinity-libcvsservice0 = %{version}-%{release} + +%description -n trinity-libcvsservice-devel +The library libcvsservice provides a DCOP service for accessing and +working with remote CVS repositories. Applications may link with this +library to access the DCOP service directly from C++. Alternatively, +scripts may access the service using the standard "dcop" command-line +tool. + +Development files for libcvsservice are included in this package. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-libcvsservice-devel +%{tde_tdeincludedir}/cvsjob_stub.h +%{tde_tdeincludedir}/cvsservice_stub.h +%{tde_tdeincludedir}/repository_stub.h +%{tde_libdir}/libcvsservice.la +%{tde_libdir}/libcvsservice.so +%{tde_libdir}/lib[kt]deinit_cvsaskpass.la +%{tde_libdir}/lib[kt]deinit_cvsservice.la +%{tde_datadir}/cmake/cervisia.cmake + +%post -n trinity-libcvsservice-devel +/sbin/ldconfig || : + +%postun -n trinity-libcvsservice-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-poxml +Summary: tools for using PO-files to translate DocBook XML files +Group: Development/Utilities + +%description -n trinity-poxml +This is a collection of tools that facilitate translating DocBook XML +files using gettext message files (PO-files). + +Also included are some miscellaneous command-line utilities for +manipulating DocBook XML files, PO-files and PO-template files. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-poxml +%{tde_bindir}/po2xml +%{tde_bindir}/split2po +%{tde_bindir}/swappo +%{tde_bindir}/transxx +%{tde_bindir}/xml2pot + +########## + +%package -n trinity-umbrello +Summary: UML modelling tool and code generator +Group: Development/Utilities + +%description -n trinity-umbrello +Umbrello UML Modeller is a Unified Modelling Language editor for TDE. +With UML you can create diagrams of software and other systems in an +industry standard format. Umbrello can also generate code from your +UML diagrams in a number of programming languages. + +The program supports class diagrams, sequence diagrams, collaboration +diagrams, use case diagrams, state diagrams, activity diagrams, component +diagrams and deployment diagrams. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-umbrello +%{tde_bindir}/umbodoc +%{tde_bindir}/umbrello +%{tde_tdeappdir}/umbrello.desktop +%{tde_datadir}/apps/umbrello/ +%{tde_datadir}/icons/crystalsvg/*/actions/umbrello_*.png +%{tde_datadir}/icons/crystalsvg/*/mimetypes/umbrellofile.png +%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/umbrellofile.svgz +%{tde_datadir}/icons/hicolor/*/apps/umbrello.png +%{tde_datadir}/icons/hicolor/scalable/apps/umbrello.svgz +%{tde_datadir}/icons/hicolor/*/mimetypes/umbrellofile.png +%{tde_datadir}/mimelnk/application/x-umbrello.desktop +%{tde_tdedocdir}/HTML/en/umbrello/ + +%post -n trinity-umbrello +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-umbrello +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%if 0%{?build_kioslave} + +%package tdeio-plugins +Summary: subversion ioslave for Trinity +Group: Environment/Libraries +Requires: subversion + +Obsoletes: trinity-tdesdk-kio-plugins < %{version}-%{release} +Provides: trinity-tdesdk-kio-plugins = %{version}-%{release} + +%description tdeio-plugins +This package provides easy access to remote SVN repositories from within +Konqueror, and TDE generally, by browsing them as if they were a +filesystem, using URLs like svn://hostname/path, or svn+ssh://, etc. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files tdeio-plugins +%{tde_bindir}/kio_svn_helper +%{tde_tdelibdir}/kded_ksvnd.la +%{tde_tdelibdir}/kded_ksvnd.so +%{tde_tdelibdir}/kio_svn.la +%{tde_tdelibdir}/kio_svn.so +%{tde_datadir}/apps/konqueror/servicemenus/subversion_toplevel.desktop +%{tde_datadir}/apps/konqueror/servicemenus/subversion.desktop +%{tde_datadir}/services/kded/ksvnd.desktop +%{tde_datadir}/services/svn+file.protocol_tdesdk +%{tde_datadir}/services/svn+http.protocol_tdesdk +%{tde_datadir}/services/svn+https.protocol_tdesdk +%{tde_datadir}/services/svn+ssh.protocol_tdesdk +%{tde_datadir}/services/svn.protocol_tdesdk +%{tde_datadir}/services/svn+file.protocol +%{tde_datadir}/services/svn+http.protocol +%{tde_datadir}/services/svn+https.protocol +%{tde_datadir}/services/svn+ssh.protocol +%{tde_datadir}/services/svn.protocol +%{_sysconfdir}/alternatives/svn+file.protocol +%{_sysconfdir}/alternatives/svn+http.protocol +%{_sysconfdir}/alternatives/svn+https.protocol +%{_sysconfdir}/alternatives/svn+ssh.protocol +%{_sysconfdir}/alternatives/svn.protocol +%{tde_datadir}/icons/crystalsvg/*/actions/svn_switch.png +%{tde_datadir}/icons/crystalsvg/*/actions/svn_merge.png +%{tde_datadir}/icons/crystalsvg/*/actions/svn_branch.png +%{tde_datadir}/icons/crystalsvg/*/actions/svn_remove.png +%{tde_datadir}/icons/crystalsvg/*/actions/svn_add.png +%{tde_datadir}/icons/crystalsvg/*/actions/svn_status.png +%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_add.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_status.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_remove.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_switch.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_branch.svgz +%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_merge.svgz + +%post tdeio-plugins +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done + +for proto in svn+file svn+http svn+https svn+ssh svn; do + update-alternatives --install \ + %{tde_datadir}/services/${proto}.protocol \ + ${proto}.protocol \ + %{tde_datadir}/services/${proto}.protocol_tdesdk \ + 10 +done + +%postun tdeio-plugins +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done + +%preun tdeio-plugins +if [ $1 -eq 0 ]; then + for proto in svn+file svn+http svn+https svn+ssh svn; do + update-alternatives --remove \ + ${proto}.protocol \ + %{tde_datadir}/services/${proto}.protocol_tdesdk + done +fi + +%endif + +########## + +%package -n trinity-kunittest +Summary: unit testing library for Trinity +Group: Development/Utilities + +%description -n trinity-kunittest +KUnitTest is a small library that facilitates the writing of tests for +TDE developers. There are two ways to use the KUnitTest library. One is +to create dynamically loadable modules and use the kunittestmodrunner or +kunittestguimodrunner programs to run the tests. The other is to use the +libraries to create your own testing application. + +This package is part of Trinity, and a component of the TDE SDK module. + +%files -n trinity-kunittest +%{tde_bindir}/kunittest +%{tde_bindir}/kunittest_debughelper +%{tde_bindir}/kunittestmod +%{tde_bindir}/kunittestguimodrunner +%{tde_libdir}/libkunittestgui.la +%{tde_libdir}/libkunittestgui.so +%{tde_libdir}/libkunittestgui.so.* +%{tde_tdeincludedir}/kunittest/runnergui.h + +%post -n trinity-kunittest +/sbin/ldconfig || : + +%postun -n trinity-kunittest +/sbin/ldconfig || : + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries + +Requires: %{name} = %{version}-%{release} +Requires: trinity-kbabel-devel = %{version}-%{release} + +Obsoletes: trinity-kdesdk-devel < %{version}-%{release} +Provides: trinity-kdesdk-devel = %{version}-%{release} + +%description devel +%{summary}. + +%files devel + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + + +%prep +%setup -q + + +%build +unset QTDIR || :; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LD_LIBRARY_PATH="%{tde_libdir}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" + +# Specific path for RHEL4 +if [ -d /usr/X11R6 ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + + +%cmake \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DMAN_INSTALL_DIR=%{tde_mandir} \ + -DPKGCONFIG_INSTALL_DIR=%{tde_tdelibdir}/pkgconfig \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DWITH_DBSEARCHENGINE=ON \ + -DWITH_KCAL=ON \ + -DBUILD_ALL=ON \ + %{!?build_kioslave:-DBUILD_KIOSLAVE=OFF} \ + .. + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{buildroot} + +%__make install DESTDIR=%{?buildroot} -C build + +# make symlinks relative +if [ -d %{buildroot}%{tde_tdedocdir}/HTML/en ]; then + pushd %{buildroot}%{tde_tdedocdir}/HTML/en + for i in *; do + if [ -d $i -a -L $i/common ]; then + rm -f $i/common + ln -nfs ../common $i + fi + done + popd +fi + +# Installs kdepalettes +%__install -D -m 644 kdepalettes/kde_xpaintrc %{?buildroot}%{tde_datadir}/kdepalettes +%__install -D -m 644 kdepalettes/KDE_Gimp %{?buildroot}%{tde_datadir}/kdepalettes +%__install -D -m 644 kdepalettes/README %{?buildroot}%{tde_datadir}/kdepalettes + +# Installs SVN protocols as alternatives +%if 0%{?build_kioslave} +%__mv -f %{?buildroot}%{tde_datadir}/services/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol_tdesdk +%__mv -f %{?buildroot}%{tde_datadir}/services/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol_tdesdk +%__mv -f %{?buildroot}%{tde_datadir}/services/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol_tdesdk +%__mv -f %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol_tdesdk +%__mv -f %{?buildroot}%{tde_datadir}/services/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol_tdesdk + +%__ln_s -f /etc/alternatives/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol +%__ln_s -f /etc/alternatives/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol +%__ln_s -f /etc/alternatives/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol +%__ln_s -f /etc/alternatives/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol +%__ln_s -f /etc/alternatives/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol + +%__mkdir_p %{?buildroot}/etc/alternatives +%__ln_s -f %{tde_datadir}/services/svn+file.protocol %{?buildroot}/etc/alternatives/svn+file.protocol +%__ln_s -f %{tde_datadir}/services/svn+http.protocol %{?buildroot}/etc/alternatives/svn+http.protocol +%__ln_s -f %{tde_datadir}/services/svn+https.protocol %{?buildroot}/etc/alternatives/svn+https.protocol +%__ln_s -f %{tde_datadir}/services/svn+ssh.protocol %{?buildroot}/etc/alternatives/svn+ssh.protocol +%__ln_s -f %{tde_datadir}/services/svn.protocol %{?buildroot}/etc/alternatives/svn.protocol +%endif + +# Removes useless stuff +%__rm -f %{?buildroot}%{tde_datadir}/apps/kapptemplate/admin/debianrules + +%clean +%__rm -rf %{buildroot} + + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 +- Initial release for TDE 3.5.13.2 + +* Wed Nov 07 2012 Francois Andriot - 3.5.13.1-2 +- Fix various cmake issues [Bug #1262] + diff --git a/redhat/tdesdk/trinity-kdesdk-3.5.12.spec b/redhat/tdesdk/trinity-kdesdk-3.5.12.spec deleted file mode 100644 index ded3104de..000000000 --- a/redhat/tdesdk/trinity-kdesdk-3.5.12.spec +++ /dev/null @@ -1,245 +0,0 @@ -# Default version for this component -%if "%{?version}" == "" -%define version 3.5.12 -%endif -%define release 3 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_libdir %{_libdir}/kde3 - - -%define _with_subversion --with-subversion -%if 0%{?fedora} > 6 || 0%{?rhel} > 4 -%define _with_apr_config --with-apr-config=apr-1-config -%define _with_apu_config --with-apu-config=apu-1-config -%endif - - -Name: trinity-kdesdk -Summary: The KDE Software Development Kit (SDK) -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} - -License: GPLv2 -Group: User Interface/Desktops -URL: http://www.trinitydesktop.org/ -Vendor: Trinity Project -Packager: Francois Andriot - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source: kdesdk-%{version}.tar.gz - -# RedHat Legacy patches -Patch1: kdesdk-3.5.7-subversion.patch - -# Official patches from SVN -# Import of revision 66 from svn.trinitydesktop.org -Patch2: r1225998.diff - -Provides: kdesdk3 = %{version}-%{release} - -Requires: %{name}-libs = %{version}-%{release} - -BuildRequires: libtool -BuildRequires: tqtinterface-devel -BuildRequires: pcre-devel -BuildRequires: trinity-kdelibs-devel -# for kbugbuster/libkcal -BuildRequires: trinity-kdepim-devel -BuildRequires: db4-devel -BuildRequires: desktop-file-utils -# kbabel, F-7+: flex >= 2.5.33-9 -BuildRequires: flex -# umbrello -BuildRequires: libxslt-devel libxml2-devel -%if 0%{?fedora} > 5 || 0%{?rhel} > 4 -BuildRequires: binutils-devel -%endif -BuildRequires: perl -BuildRequires: subversion-devel neon-devel - -# Obsoletes/Provides -%define cervisia_ver 2.4.7 -Provides: cervisia = %{cervisia_ver}-%{release} - -%define umbrello_ver 1.5.7 -Obsoletes: umbrello < %{umbrello_ver}-%{release} -Provides: umbrello = %{umbrello_ver}-%{release} - - -%description -A collection of applications and tools used by developers, including: -* cervisia: a CVS frontend -* kbabel: PO file management -* kbugbuster: a tool to manage the KDE bug report system -* kcachegrind: a browser for data produced by profiling tools (e.g. cachegrind) -* kompare: diff tool -* kuiviewer: displays designer's UI files -* umbrello: UML modeller and UML diagram tool - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Provides: trinity-kdesdk-devel = %{version}-%{release} -Requires: %{name}-libs = %{version}-%{release} -Requires: trinity-kdelibs-devel -%description devel -%{summary}. - -%package libs -Summary: %{name} runtime libraries -Group: System Environment/Libraries -Requires: trinity-kdelibs -# helps multilib upgrades -Obsoletes: %{name} < %{version}-%{release} -# include to be paranoid, installing libs-only is still mostly untested -- Rex -Requires: %{name} = %{version}-%{release} -%description libs -%{summary}. - - -%prep -%setup -q -n kdesdk -%patch1 -p1 -b .subversion -%patch2 -p1 - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f admin/Makefile.common - - -%build -unset QTDIR || :; . /etc/profile.d/qt.sh -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -%configure \ - --includedir=%{_includedir}/kde \ - --disable-rpath \ - --enable-new-ldflags \ - --disable-debug --disable-warnings \ - --disable-dependancy-tracking --enable-final \ - %{?_with_subversion} %{?_with_apr_config} %{?_with_apu_config} \ - --with-extra-includes=%{_includedir}/tqt \ - --without-svn \ - --enable-closure - -# Do not use %{?_smp_mflags} ! -%__make - - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{buildroot} - -%__make install DESTDIR=%{?buildroot} - -desktop-file-install --vendor "" \ - --dir %{buildroot}%{_datadir}/applications/kde \ - %{buildroot}%{_datadir}/applications/kde/*.desktop \ - -# make symlinks relative -if [ -d %{buildroot}%{tde_docdir}/HTML/en ]; then - pushd %{buildroot}%{tde_docdir}/HTML/en - for i in *; do - if [ -d $i -a -L $i/common ]; then - rm -f $i/common - ln -nfs ../common $i - fi - done - popd -fi - -%__rm -f %{buildroot}/%{_datadir}/apps/kapptemplate/admin/Makefile \ - %{buildroot}/%{_datadir}/apps/kapptemplate/admin/Makefile.in - - -%clean -%__rm -rf %{buildroot} - - -# trick to replace a dir by a symlink -- Rex -%pre -if [ $1 -gt 0 -a ! -L %{_docdir}/HTML/en/cervisia/common ]; then - rm -rf %{tde_docdir}/HTML/en/cervisia/common ||: -fi - -%post -for f in crystalsvg hicolor locolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -for f in crystalsvg hicolor locolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%post libs -/sbin/ldconfig - -%postun libs -/sbin/ldconfig - - -%files -%defattr(-,root,root,-) -%{_bindir}/* -%{tde_docdir}/HTML/en/* -%{_datadir}/apps/* -%{_datadir}/mimelnk/application/* -%{_datadir}/services/* -%{_datadir}/servicetypes/* -%{_datadir}/icons/crystalsvg/*/*/* -%{_datadir}/icons/hicolor/*/*/* -%{_datadir}/icons/locolor/*/*/* -%{_datadir}/applications/kde/* -%{_datadir}/config.kcfg/* -%{tde_libdir}/* -%{_libdir}/libkdeinit_*.so -%{_mandir}/man1/* - -# Removes conflict with package 'rpmdevtool' on RHEL 6 -%if "%{_prefix}" == "/usr" -%exclude %{_bindir}/licensecheck -%endif - -%files libs -%defattr(-,root,root,-) -%{_libdir}/lib*.so.* -%{_libdir}/lib*.la - -%files devel -%defattr(-,root,root,-) -%{_includedir}/kde/* -%{_libdir}/lib*.so -%exclude %{_libdir}/libkdeinit_*.so -%{_libdir}/kmtrace/* - - -%changelog -* Mon Sep 19 2011 Francois Andriot - 3.5.12-3 -- Add support for RHEL5 - -* Mon Sep 05 2011 Francois Andriot - 3.5.12-2 -- Import to GIT - -* Mon Aug 22 2011 Francois Andriot - 3.5.12-1 -- Correct macro to install under "/opt", if desired - -* Tue Jun 21 2011 Francois Andriot - 3.5.12-0 -- Initial version for RHEL 6 -- Specfile based on Fedora 8 'kdesdk 3.5.10-1' diff --git a/redhat/tdesdk/trinity-kdesdk-3.5.13.1.spec b/redhat/tdesdk/trinity-kdesdk-3.5.13.1.spec deleted file mode 100644 index 1301a84ab..000000000 --- a/redhat/tdesdk/trinity-kdesdk-3.5.13.1.spec +++ /dev/null @@ -1,1161 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-tdesdk -Summary: The KDE Software Development Kit (SDK) -Version: 3.5.13.1 -Release: 2%{?dist}%{?_variant} - -License: GPLv2 -Group: User Interface/Desktops -URL: http://www.trinitydesktop.org/ -Vendor: Trinity Project -Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source: kdesdk-3.5.13.1.tar.gz - -# [tdesdk] Fix FTBFS on newer subversion libraries [Bug #872] [Commit #572169a2] -Patch5: kdesdk-3.5.13-fix_ftbfs_on_newer_svn.patch -# [tdesdk] Fix unknown macro 'tde_save_and_set' -Patch6: kdesdk-3.5.13.1-fix_cmake_macros.patch -# [tdesdk] Fix build of kcachegrind -Patch7: kdesdk-3.5.13.1-add_missing_files.patch -# [tdesdk] Use 'flex' instead of 'lex' -Patch8: kdesdk-3.5.13.1-use_flex_instead_of_lex.patch -# [tdesdk] Fix various cmake issues [Bug #1262] -Patch9: kdesdk-3.5.13.1-fix_various_cmake_issues.patch - -BuildRequires: cmake >= 2.8 -BuildRequires: libtool -BuildRequires: pcre-devel -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} -# for kbugbuster/libkcal -BuildRequires: trinity-tdepim-devel >= %{version} -%if 0%{?mgaversion} || 0%{?mdkversion} -#BuildRequires: %{_lib}db4.8-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: db4-devel -%endif -%if 0%{?suse_version} -BuildRequires: libdb-4_8-devel -%endif -BuildRequires: desktop-file-utils -# kbabel, F-7+: flex >= 2.5.33-9 -BuildRequires: flex -# umbrello -BuildRequires: libxslt-devel -BuildRequires: libxml2-devel -BuildRequires: perl -BuildRequires: subversion-devel -BuildRequires: neon-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}ltdl-devel -BuildRequires: %{_lib}binutils-devel -%endif -%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5 || 0%{?suse_version} -BuildRequires: libtool-ltdl-devel -BuildRequires: binutils-devel -%endif - -# KIOSLAVE -# Does not build on RHEL4 -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} -%define build_kioslave 1 -%endif - -Obsoletes: trinity-kdesdk < %{version}-%{release} -Provides: trinity-kdesdk = %{version}-%{release} -Obsoletes: trinity-kdesdk-libs < %{version}-%{release} -Provides: trinity-kdesdk-libs = %{version}-%{release} - -Requires: trinity-cervisia = %{version}-%{release} -Requires: trinity-kapptemplate = %{version}-%{release} -Requires: trinity-kbabel = %{version}-%{release} -Requires: trinity-kbugbuster = %{version}-%{release} -Requires: trinity-tdecachegrind = %{version}-%{release} -Requires: trinity-tdecachegrind-converters = %{version}-%{release} -Requires: %{name}-kfile-plugins = %{version}-%{release} -Requires: %{name}-misc = %{version}-%{release} -Requires: %{name}-scripts = %{version}-%{release} -Requires: trinity-kmtrace = %{version}-%{release} -Requires: trinity-kompare = %{version}-%{release} -Requires: trinity-kspy = %{version}-%{release} -Requires: trinity-kuiviewer = %{version}-%{release} -Requires: trinity-libcvsservice0 = %{version}-%{release} -Requires: trinity-libcvsservice-devel = %{version}-%{release} -Requires: trinity-poxml = %{version}-%{release} -Requires: trinity-umbrello = %{version}-%{release} -%{?build_kioslave:Requires: %{name}-kio-plugins = %{version}-%{release}} -Requires: trinity-kunittest = %{version}-%{release} - - -%description -A collection of applications and tools used by developers, including: -* cervisia: a CVS frontend -* kbabel: PO file management -* kbugbuster: a tool to manage the TDE bug report system -* kcachegrind: a browser for data produced by profiling tools (e.g. cachegrind) -* kompare: diff tool -* kuiviewer: displays designer's UI files -* umbrello: UML modeller and UML diagram tool - -%files - -########## - -%package -n trinity-cervisia -Summary: A graphical CVS front end for Trinity -Group: Development/Utilities - -%description -n trinity-cervisia -Cervisia is a TDE-based graphical front end for the CVS client. - -As well as providing both common and advanced CVS operations, it offers -a variety of methods for graphically viewing information about the CVS -repository, your own sandbox and the relationships between different -versions of files. A Changelog editor is also included and is coupled -with the commit dialog. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-cervisia -%{tde_bindir}/cervisia -%{tde_libdir}/lib[kt]deinit_cervisia.la -%{tde_libdir}/lib[kt]deinit_cervisia.so -%{tde_tdelibdir}/cervisia.la -%{tde_tdelibdir}/cervisia.so -%{tde_tdelibdir}/libcervisiapart.la -%{tde_tdelibdir}/libcervisiapart.so -%{tde_tdeappdir}/cervisia.desktop -%{tde_datadir}/apps/cervisia/ -%{tde_datadir}/apps/cervisiapart/cervisiaui.rc -%{tde_datadir}/apps/kconf_update/cervisia.upd -%{tde_datadir}/apps/kconf_update/cervisia-change_repos_list.pl -%{tde_datadir}/apps/kconf_update/cervisia-normalize_cvsroot.pl -%{tde_datadir}/apps/kconf_update/move_repositories.pl -%{tde_datadir}/apps/kconf_update/change_colors.pl -%{tde_datadir}/config.kcfg/cervisiapart.kcfg -%{tde_datadir}/icons/hicolor/*/apps/cervisia.png -%{tde_datadir}/icons/crystalsvg/*/actions/vcs_*.png -%{tde_datadir}/icons/crystalsvg/scalable/actions/vcs_*.svgz -%{tde_mandir}/man1/cervisia.1* -%{tde_tdedocdir}/HTML/en/cervisia/ - -%post -n trinity-cervisia -/sbin/ldconfig || : -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-cervisia -/sbin/ldconfig || : -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kapptemplate -Summary: Creates a framework to develop a Trinity application -Group: Development/Utilities - -%description -n trinity-kapptemplate -KAppTemplate is a shell script that will create the necessary -framework to develop various TDE applications. It takes care of the -autoconf/automake code as well as providing a skeleton and example of -what the code typically looks like. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kapptemplate -%{tde_bindir}/kapptemplate -%{tde_datadir}/apps/kapptemplate/ - -%pre -n trinity-kapptemplate -if [ -d "%{tde_bindir}/kapptemplate" ]; then - rm -rf "%{tde_bindir}/kapptemplate" -fi - -########## - -%package -n trinity-kbabel -Summary: PO-file editing suite for Trinity -Group: Development/Utilities - -%description -n trinity-kbabel -This is a suite of programs for editing gettext message files (PO-files). -It is designed to help you translate fast and consistently. - -This suite includes KBabel, CatalogManager and KBabelDict. KBabel is an -advanced and easy to use PO-file editor with full navigational and editing -capabilities, syntax checking and statistics. CatalogManager is a multi -functional catalog manager which allows you to keep track of many -PO-files at once. KBabelDict is a dictionary to assist with searching -for common translations. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kbabel -%{tde_bindir}/catalogmanager -%{tde_bindir}/kbabel -%{tde_bindir}/kbabeldict -%{tde_libdir}/libkbabelcommon.so.* -%{tde_libdir}/libkbabeldictplugin.so.* -%{tde_tdelibdir}/kfile_po.la -%{tde_tdelibdir}/kfile_po.so -%{tde_tdelibdir}/pothumbnail.la -%{tde_tdelibdir}/pothumbnail.so -%{tde_tdelibdir}/kbabel_accelstool.la -%{tde_tdelibdir}/kbabel_accelstool.so -%{tde_tdelibdir}/kbabel_argstool.la -%{tde_tdelibdir}/kbabel_argstool.so -%{tde_tdelibdir}/kbabel_contexttool.la -%{tde_tdelibdir}/kbabel_contexttool.so -%{tde_tdelibdir}/kbabel_equationstool.la -%{tde_tdelibdir}/kbabel_equationstool.so -%{tde_tdelibdir}/kbabel_gettextexport.la -%{tde_tdelibdir}/kbabel_gettextexport.so -%{tde_tdelibdir}/kbabel_gettextimport.la -%{tde_tdelibdir}/kbabel_gettextimport.so -%{tde_tdelibdir}/kbabel_lengthtool.la -%{tde_tdelibdir}/kbabel_lengthtool.so -%{tde_tdelibdir}/kbabel_linguistexport.la -%{tde_tdelibdir}/kbabel_linguistexport.so -%{tde_tdelibdir}/kbabel_linguistimport.la -%{tde_tdelibdir}/kbabel_linguistimport.so -%{tde_tdelibdir}/kbabel_nottranslatedtool.la -%{tde_tdelibdir}/kbabel_nottranslatedtool.so -%{tde_tdelibdir}/kbabel_pluraltool.la -%{tde_tdelibdir}/kbabel_pluraltool.so -%{tde_tdelibdir}/kbabel_punctuationtool.la -%{tde_tdelibdir}/kbabel_punctuationtool.so -%{tde_tdelibdir}/kbabel_regexptool.la -%{tde_tdelibdir}/kbabel_regexptool.so -%{tde_tdelibdir}/kbabel_setfuzzytool.la -%{tde_tdelibdir}/kbabel_setfuzzytool.so -%{tde_tdelibdir}/kbabel_whitespacetool.la -%{tde_tdelibdir}/kbabel_whitespacetool.so -%{tde_tdelibdir}/kbabel_xliffexport.la -%{tde_tdelibdir}/kbabel_xliffexport.so -%{tde_tdelibdir}/kbabel_xliffimport.la -%{tde_tdelibdir}/kbabel_xliffimport.so -%{tde_tdelibdir}/kbabel_xmltool.la -%{tde_tdelibdir}/kbabel_xmltool.so -%{tde_tdelibdir}/kbabeldict_dbsearchengine.la -%{tde_tdelibdir}/kbabeldict_dbsearchengine.so -%{tde_tdelibdir}/kbabeldict_poauxiliary.la -%{tde_tdelibdir}/kbabeldict_poauxiliary.so -%{tde_tdelibdir}/kbabeldict_pocompendium.la -%{tde_tdelibdir}/kbabeldict_pocompendium.so -%{tde_tdelibdir}/kbabeldict_tmxcompendium.la -%{tde_tdelibdir}/kbabeldict_tmxcompendium.so -%{tde_tdeappdir}/catalogmanager.desktop -%{tde_tdeappdir}/kbabel.desktop -%{tde_tdeappdir}/kbabeldict.desktop -%{tde_datadir}/apps/catalogmanager/catalogmanagerui.rc -%{tde_datadir}/apps/kbabel/ -%{tde_datadir}/apps/kconf_update/kbabel-difftoproject.upd -%{tde_datadir}/apps/kconf_update/kbabel-project.upd -%{tde_datadir}/apps/kconf_update/kbabel-projectrename.upd -%{tde_datadir}/config.kcfg/kbabel.kcfg -%{tde_datadir}/config.kcfg/kbprojectsettings.kcfg -%{tde_tdedocdir}/HTML/en/kbabel/ -%{tde_datadir}/icons/hicolor/*/apps/catalogmanager.png -%{tde_datadir}/icons/hicolor/*/apps/kbabel.png -%{tde_datadir}/icons/hicolor/*/apps/kbabeldict.png -%{tde_datadir}/icons/locolor/*/apps/catalogmanager.png -%{tde_datadir}/icons/locolor/*/apps/kbabel.png -%{tde_datadir}/icons/locolor/*/apps/kbabeldict.png -%{tde_datadir}/services/dbsearchengine.desktop -%{tde_datadir}/services/kfile_po.desktop -%{tde_datadir}/services/pothumbnail.desktop -%{tde_datadir}/services/kbabel_accelstool.desktop -%{tde_datadir}/services/kbabel_argstool.desktop -%{tde_datadir}/services/kbabel_contexttool.desktop -%{tde_datadir}/services/kbabel_equationstool.desktop -%{tde_datadir}/services/kbabel_gettext_export.desktop -%{tde_datadir}/services/kbabel_gettext_import.desktop -%{tde_datadir}/services/kbabel_lengthtool.desktop -%{tde_datadir}/services/kbabel_linguist_export.desktop -%{tde_datadir}/services/kbabel_linguist_import.desktop -%{tde_datadir}/services/kbabel_nottranslatedtool.desktop -%{tde_datadir}/services/kbabel_pluralformstool.desktop -%{tde_datadir}/services/kbabel_punctuationtool.desktop -%{tde_datadir}/services/kbabel_regexptool.desktop -%{tde_datadir}/services/kbabel_setfuzzytool.desktop -%{tde_datadir}/services/kbabel_whitespacetool.desktop -%{tde_datadir}/services/kbabel_xliff_export.desktop -%{tde_datadir}/services/kbabel_xliff_import.desktop -%{tde_datadir}/services/kbabel_xmltool.desktop -%{tde_datadir}/services/pocompendium.desktop -%{tde_datadir}/services/poauxiliary.desktop -%{tde_datadir}/services/tmxcompendium.desktop -%{tde_datadir}/servicetypes/kbabel_tool.desktop -%{tde_datadir}/servicetypes/kbabel_validator.desktop -%{tde_datadir}/servicetypes/kbabeldict_module.desktop -%{tde_datadir}/servicetypes/kbabelfilter.desktop - -%post -n trinity-kbabel -/sbin/ldconfig || : -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kbabel -/sbin/ldconfig || : -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kbabel-devel -Summary: PO-file editing suite for Trinity (development files) -Group: Development/Libraries -Requires: trinity-kbabel = %{version}-%{release} - -%description -n trinity-kbabel-devel -This is a suite of programs for editing gettext message files (PO-files). -It is designed to help you translate fast and consistently. - -This suite includes KBabel, CatalogManager and KBabelDict. KBabel is an -advanced and easy to use PO-file editor with full navigational and editing -capabilities, syntax checking and statistics. CatalogManager is a multi -functional catalog manager which allows you to keep track of many -PO-files at once. KBabelDict is a dictionary to assist with searching -for common translations. - -This package contains the KBabel development files. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kbabel-devel -%{tde_tdeincludedir}/kbabel/ -%{tde_libdir}/libkbabelcommon.la -%{tde_libdir}/libkbabelcommon.so -%{tde_libdir}/libkbabeldictplugin.la -%{tde_libdir}/libkbabeldictplugin.so - -%post -n trinity-kbabel-devel -/sbin/ldconfig || : - -%postun -n trinity-kbabel-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kbugbuster -Summary: a front end for the Trinity bug tracking system -Group: Development/Utilities - -%description -n trinity-kbugbuster -KBugBuster is a GUI front end for the TDE bug tracking system. -It allows the user to view and manipulate bug reports and provides a -variety of options for searching through reports. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kbugbuster -%{tde_bindir}/kbugbuster -%{tde_tdelibdir}/kcal_bugzilla.la -%{tde_tdelibdir}/kcal_bugzilla.so -%{tde_tdeappdir}/kbugbuster.desktop -%{tde_datadir}/apps/kbugbuster/ -%{tde_datadir}/icons/hicolor/*/apps/kbugbuster.png -%{tde_datadir}/icons/locolor/*/apps/kbugbuster.png -%{tde_datadir}/services/kresources/kcal/bugzilla.desktop -%{tde_tdedocdir}/HTML/en/kbugbuster/ - -%post -n trinity-kbugbuster -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kbugbuster -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-tdecachegrind -Summary: visualisation tool for valgrind profiling output -Group: Development/Utilities - -%description -n trinity-tdecachegrind -KCachegrind is a visualisation tool for the profiling data generated -by calltree, a profiling skin for valgrind. Applications can be -profiled using calltree without being recompiled, and shared libraries -and plugin architectures are supported. - -For visualising the output from other profiling tools, several converters -can be found in the tdecachegrind-converters package. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-tdecachegrind -%{tde_bindir}/kcachegrind -%{tde_tdeappdir}/kcachegrind.desktop -%{tde_datadir}/apps/kcachegrind/ -%{tde_datadir}/icons/locolor/*/apps/kcachegrind.png -%{tde_datadir}/icons/hicolor/*/apps/kcachegrind.png -%{tde_datadir}/mimelnk/application/x-kcachegrind.desktop -%{tde_tdedocdir}/HTML/en/kcachegrind/ - -%post -n trinity-tdecachegrind -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-tdecachegrind -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-tdecachegrind-converters -Summary: format converters for KCachegrind profiling visualisation tool -Group: Development/Utilities -Requires: python -%if 0%{?suse_version} || 0%{?rhel} == 4 -Requires: php -%else -Requires: php-cli -%endif - -%description -n trinity-tdecachegrind-converters -This is a collection of scripts for converting the output from -different profiling tools into a format that KCachegrind can use. - -KCachegrind is a visualisation tool for the profiling data generated -by calltree, a profiling skin for valgrind. Applications can be -profiled using calltree without being recompiled, and shared libraries -and plugin architectures are supported. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-tdecachegrind-converters -%{tde_bindir}/dprof2calltree -%{tde_bindir}/hotshot2calltree -%{tde_bindir}/memprof2calltree -%{tde_bindir}/op2calltree -%{tde_bindir}/pprof2calltree - -########## - -%package kfile-plugins -Summary: Trinity file dialog plugins for software development files -Group: Environment/Libraries - -%description kfile-plugins -This is a collection of plugins for the TDE file dialog. These plugins -extend the file dialog to offer advanced meta-information for source files, -patch files and Qt Linguist data. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files kfile-plugins -%{tde_tdelibdir}/kfile_cpp.so -%{tde_tdelibdir}/kfile_cpp.la -%{tde_tdelibdir}/kfile_diff.so -%{tde_tdelibdir}/kfile_diff.la -%{tde_tdelibdir}/kfile_ts.so -%{tde_tdelibdir}/kfile_ts.la -%{tde_datadir}/services/kfile_cpp.desktop -%{tde_datadir}/services/kfile_diff.desktop -%{tde_datadir}/services/kfile_h.desktop -%{tde_datadir}/services/kfile_ts.desktop - -########## - -%package misc -Summary: various goodies from the Trinity Software Development Kit -Group: Development/Libraries - -%description misc -This package contains miscellaneous goodies provided with the official -TDE release to assist with TDE software development. - -Included are: -- headers to assist with profiling TDE code; -- a widget style for checking conformity with the TDE/Qt style guide; -- palettes that match the KDE standard colour palette; -- a TDE address book plugin that reads the list of TDE CVS accounts. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files misc -%{tde_tdeincludedir}/kprofilemethod.h -%{tde_tdelibdir}/kabcformat_kdeaccounts.la -%{tde_tdelibdir}/kabcformat_kdeaccounts.so -%{tde_tdelibdir}/plugins/styles/scheck.so -%{tde_tdelibdir}/plugins/styles/scheck.la -%{tde_datadir}/apps/kabc/formats/kdeaccountsplugin.desktop -%{tde_datadir}/apps/kstyle/themes/scheck.themerc -%{tde_datadir}/kdepalettes/ - -%{tde_libdir}/libkstartperf.so.* -%{tde_libdir}/libkstartperf.so -%{tde_libdir}/libkstartperf.la -%{tde_bindir}/kstartperf - -%post misc -/sbin/ldconfig || : - -%postun misc -/sbin/ldconfig || : - -########## - -%package scripts -Summary: a set of useful development scripts for Trinity -Group: Development/Utilities -Requires: python - -%description scripts -This package contains a number of scripts which can be used to help in -developing TDE-based applications. Many of these scripts however are -not specific to TDE, and in particular there are several general-use -scripts to help users in working with SVN and CVS repositories. - -In addition to these scripts, this package provides: -- gdb macros for Qt/TDE programming; -- vim and emacs helper files for Qt/TDE programming; -- bash and zsh completion controls for TDE apps; -- valgrind error suppressions for TDE apps. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files scripts -%{tde_bindir}/adddebug -%{tde_bindir}/build-progress.sh -%{tde_bindir}/cheatmake -%{tde_bindir}/create_cvsignore -%{tde_bindir}/create_makefile -%{tde_bindir}/create_makefiles -%{tde_bindir}/cvs-clean -%{tde_bindir}/cvs2dist -%{tde_bindir}/cvsbackport -%{tde_bindir}/cvsblame -%{tde_bindir}/cvscheck -%{tde_bindir}/cvsforwardport -%{tde_bindir}/cvslastchange -%{tde_bindir}/cvslastlog -%{tde_bindir}/cvsrevertlast -%{tde_bindir}/cvsversion -%{tde_bindir}/cxxmetric -%{tde_bindir}/extend_dmalloc -%{tde_bindir}/extractattr -%{tde_bindir}/extractrc -%{tde_bindir}/findmissingcrystal -%{tde_bindir}/fixkdeincludes -%{tde_bindir}/fixuifiles -%{tde_bindir}/includemocs -%{tde_bindir}/kde-build -%{tde_bindir}/kdedoc -%{tde_bindir}/kdekillall -%{tde_bindir}/kdelnk2desktop.py* -%{tde_bindir}/kdemangen.pl -%{tde_bindir}/makeobj -%{tde_bindir}/noncvslist -%{tde_bindir}/package_crystalsvg -%{tde_bindir}/png2mng.pl -%{tde_bindir}/pruneemptydirs -%{tde_bindir}/qtdoc -%{tde_bindir}/zonetab2pot.py* -%{tde_bindir}/svn2dist -%{tde_bindir}/svnrevertlast -%{tde_bindir}/svnforwardport -%{tde_bindir}/nonsvnlist -%{tde_bindir}/[kt]desvn-build -%{tde_bindir}/svnlastlog -%{tde_bindir}/svnversions -%{tde_bindir}/create_svnignore -%{tde_bindir}/svnlastchange -%{tde_bindir}/colorsvn -%{tde_bindir}/svnaddcurrentdir -%{tde_bindir}/svnbackport -%{tde_bindir}/svngettags -%{tde_bindir}/svnchangesince -%{tde_bindir}/svn-clean -%{tde_datadir}/apps/katepart/syntax/[kt]desvn-buildrc.xml -%{tde_mandir}/man1/cvsblame.1 -%{tde_mandir}/man1/cvscheck.1 -%{tde_mandir}/man1/cvsversion.1 -%{tde_mandir}/man1/kde-build.1 -%{tde_mandir}/man1/includemocs.1 -%{tde_mandir}/man1/noncvslist.1 -%{tde_mandir}/man1/[kt]desvn-build.1 -%{tde_tdedocdir}/HTML/en/[kt]desvn-build/ -#scripts/kde-devel-gdb /opt/trinity/share/tdesdk-scripts -#scripts/kde-devel-vim.vim /opt/trinity/share/tdesdk-scripts -#scripts/kde-emacs/*.el /opt/trinity/share/emacs/site-lisp/tdesdk-scripts -#scripts/kde.supp /opt/trinity/lib/valgrind -#scripts/completions /opt/trinity/share/tdesdk-scripts - -#debian/desktop-i18n/createdesktop.pl /opt/trinity/lib/kubuntu-desktop-i18n/ -#debian/desktop-i18n/findfiles /opt/trinity/lib/kubuntu-desktop-i18n/ -#debian/desktop-i18n/msgsplit /opt/trinity/lib/kubuntu-desktop-i18n/ - -%if "%{?tde_prefix}" != "/usr" -%{tde_bindir}/licensecheck -%else -%exclude %{tde_bindir}/licensecheck -%endif - -########## - -%package -n trinity-kmtrace -Summary: a Trinity memory leak tracer -Group: Development/Utilities -Requires: less - -%description -n trinity-kmtrace -KMtrace is a TDE tool to assist with malloc debugging using glibc's -"mtrace" functionality. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kmtrace -%{tde_bindir}/demangle -%{tde_bindir}/kminspector -%{tde_bindir}/kmmatch -%{tde_bindir}/kmtrace -%{tde_tdeincludedir}/ktrace.h -%{tde_libdir}/kmtrace/libktrace.la -%{tde_libdir}/kmtrace/libktrace.so -%{tde_libdir}/kmtrace/libktrace_s.a -%{tde_datadir}/apps/kmtrace/kde.excludes - -########## - -%package -n trinity-kompare -Summary: a Trinity GUI for viewing differences between files -Group: Development/Utilities - -%description -n trinity-kompare -Kompare is a graphical user interface for viewing the differences between -files. It can compare two documents, create a diff file, display a diff -file and/or blend a diff file back into the original documents. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kompare -%{tde_bindir}/kompare -%{tde_libdir}/libkompareinterface.la -%{tde_libdir}/libkompareinterface.so -%{tde_libdir}/libkompareinterface.so.* -%{tde_tdelibdir}/libkomparenavtreepart.la -%{tde_tdelibdir}/libkomparenavtreepart.so -%{tde_tdelibdir}/libkomparepart.la -%{tde_tdelibdir}/libkomparepart.so -%{tde_tdeappdir}/kompare.desktop -%{tde_datadir}/apps/kompare/komparepartui.rc -%{tde_datadir}/apps/kompare/kompareui.rc -%{tde_datadir}/services/komparenavtreepart.desktop -%{tde_datadir}/services/komparepart.desktop -%{tde_datadir}/servicetypes/komparenavigationpart.desktop -%{tde_datadir}/servicetypes/kompareviewpart.desktop -%{tde_datadir}/icons/hicolor/*/apps/kompare.png -%{tde_datadir}/icons/hicolor/scalable/apps/kompare.svgz -%{tde_tdedocdir}/HTML/en/kompare/ - -%post -n trinity-kompare -/sbin/ldconfig || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kompare -/sbin/ldconfig || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kspy -Summary: examines the internal state of a Qt/TDE app -Group: Environment/Libraries -Requires: trinity-tdelibs-devel - -%description -n trinity-kspy -KSpy is a tiny library which can be used to graphically display -the QObjects in use by a Qt/TDE app. In addition to the object tree, -you can also view the properties, signals and slots of any QObject. - -Basically it provides much the same info as QObject::dumpObjectTree() and -QObject::dumpObjectInfo(), but in a much more convenient form. KSpy has -minimal overhead for the application, because the kspy library is -loaded dynamically using KLibLoader. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kspy -%{tde_tdeincludedir}/kspy.h -%{tde_libdir}/libkspy.la -%{tde_libdir}/libkspy.so -%{tde_libdir}/libkspy.so.* - -%post -n trinity-kspy -/sbin/ldconfig || : - -%postun -n trinity-kspy -/sbin/ldconfig || : - -########## - -%package -n trinity-kuiviewer -Summary: viewer for Qt Designer user interface files -Group: Development/Utilities - -%description -n trinity-kuiviewer -KUIViewer is a utility to display and test the user interface (.ui) files -generated by Qt Designer. The interfaces can be displayed in a variety of -different widget styles. - -The Qt Designer itself is in the package qt3-designer. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kuiviewer -%{tde_bindir}/kuiviewer -%{tde_tdelibdir}/libkuiviewerpart.so -%{tde_tdelibdir}/libkuiviewerpart.la -%{tde_tdelibdir}/quithumbnail.so -%{tde_tdelibdir}/quithumbnail.la -%{tde_tdeappdir}/kuiviewer.desktop -%{tde_datadir}/apps/kuiviewer/kuiviewerui.rc -%{tde_datadir}/apps/kuiviewerpart/kuiviewer_part.rc -%{tde_datadir}/icons/hicolor/*/apps/kuiviewer.png -%{tde_datadir}/icons/locolor/*/apps/kuiviewer.png -%{tde_datadir}/services/designerthumbnail.desktop -%{tde_datadir}/services/kuiviewer_part.desktop - -%post -n trinity-kuiviewer -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done - -%postun -n trinity-kuiviewer -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done - -########## - -%package -n trinity-libcvsservice0 -Summary: DCOP service for accessing CVS repositories -Group: Environment/Libraries -Requires: cvs - -%description -n trinity-libcvsservice0 -This library provides a DCOP service for accessing and working with -remote CVS repositories. Applications may link with this library to -access the DCOP service directly from C++. Alternatively, scripts may -access the service using the standard "dcop" command-line tool. - -DCOP is the Desktop Communication Protocol used throughout TDE. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-libcvsservice0 -%{tde_bindir}/cvsaskpass -%{tde_bindir}/cvsservice -%{tde_libdir}/libcvsservice.so.* -%{tde_libdir}/lib[kt]deinit_cvsaskpass.so -%{tde_libdir}/lib[kt]deinit_cvsservice.so -%{tde_tdelibdir}/cvsaskpass.la -%{tde_tdelibdir}/cvsaskpass.so -%{tde_tdelibdir}/cvsservice.la -%{tde_tdelibdir}/cvsservice.so -%{tde_datadir}/services/cvsservice.desktop - -%post -n trinity-libcvsservice0 -/sbin/ldconfig || : - -%postun -n trinity-libcvsservice0 -/sbin/ldconfig || : - -########## - -%package -n trinity-libcvsservice-devel -Summary: development files for CVS DCOP service -Group: Development/Libraries -Requires: trinity-libcvsservice0 = %{version}-%{release} - -%description -n trinity-libcvsservice-devel -The library libcvsservice provides a DCOP service for accessing and -working with remote CVS repositories. Applications may link with this -library to access the DCOP service directly from C++. Alternatively, -scripts may access the service using the standard "dcop" command-line -tool. - -Development files for libcvsservice are included in this package. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-libcvsservice-devel -%{tde_tdeincludedir}/cvsjob_stub.h -%{tde_tdeincludedir}/cvsservice_stub.h -%{tde_tdeincludedir}/repository_stub.h -%{tde_libdir}/libcvsservice.la -%{tde_libdir}/libcvsservice.so -%{tde_libdir}/lib[kt]deinit_cvsaskpass.la -%{tde_libdir}/lib[kt]deinit_cvsservice.la -%{tde_datadir}/cmake/cervisia.cmake - -%post -n trinity-libcvsservice-devel -/sbin/ldconfig || : - -%postun -n trinity-libcvsservice-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-poxml -Summary: tools for using PO-files to translate DocBook XML files -Group: Development/Utilities - -%description -n trinity-poxml -This is a collection of tools that facilitate translating DocBook XML -files using gettext message files (PO-files). - -Also included are some miscellaneous command-line utilities for -manipulating DocBook XML files, PO-files and PO-template files. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-poxml -%{tde_bindir}/po2xml -%{tde_bindir}/split2po -%{tde_bindir}/swappo -%{tde_bindir}/transxx -%{tde_bindir}/xml2pot - -########## - -%package -n trinity-umbrello -Summary: UML modelling tool and code generator -Group: Development/Utilities - -%description -n trinity-umbrello -Umbrello UML Modeller is a Unified Modelling Language editor for TDE. -With UML you can create diagrams of software and other systems in an -industry standard format. Umbrello can also generate code from your -UML diagrams in a number of programming languages. - -The program supports class diagrams, sequence diagrams, collaboration -diagrams, use case diagrams, state diagrams, activity diagrams, component -diagrams and deployment diagrams. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-umbrello -%{tde_bindir}/umbodoc -%{tde_bindir}/umbrello -%{tde_tdeappdir}/umbrello.desktop -%{tde_datadir}/apps/umbrello/ -%{tde_datadir}/icons/crystalsvg/*/actions/umbrello_*.png -%{tde_datadir}/icons/crystalsvg/*/mimetypes/umbrellofile.png -%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/umbrellofile.svgz -%{tde_datadir}/icons/hicolor/*/apps/umbrello.png -%{tde_datadir}/icons/hicolor/scalable/apps/umbrello.svgz -%{tde_datadir}/icons/hicolor/*/mimetypes/umbrellofile.png -%{tde_datadir}/mimelnk/application/x-umbrello.desktop -%{tde_tdedocdir}/HTML/en/umbrello/ - -%post -n trinity-umbrello -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-umbrello -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%if 0%{?build_kioslave} - -%package kio-plugins -Summary: subversion ioslave for Trinity -Group: Environment/Libraries -Requires: subversion - -%description kio-plugins -This package provides easy access to remote SVN repositories from within -Konqueror, and TDE generally, by browsing them as if they were a -filesystem, using URLs like svn://hostname/path, or svn+ssh://, etc. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files kio-plugins -%{tde_bindir}/kio_svn_helper -%{tde_tdelibdir}/kded_ksvnd.la -%{tde_tdelibdir}/kded_ksvnd.so -%{tde_tdelibdir}/kio_svn.la -%{tde_tdelibdir}/kio_svn.so -%{tde_datadir}/apps/konqueror/servicemenus/subversion_toplevel.desktop -%{tde_datadir}/apps/konqueror/servicemenus/subversion.desktop -%{tde_datadir}/services/kded/ksvnd.desktop -%{tde_datadir}/services/svn+file.protocol_tdesdk -%{tde_datadir}/services/svn+http.protocol_tdesdk -%{tde_datadir}/services/svn+https.protocol_tdesdk -%{tde_datadir}/services/svn+ssh.protocol_tdesdk -%{tde_datadir}/services/svn.protocol_tdesdk -%{tde_datadir}/services/svn+file.protocol -%{tde_datadir}/services/svn+http.protocol -%{tde_datadir}/services/svn+https.protocol -%{tde_datadir}/services/svn+ssh.protocol -%{tde_datadir}/services/svn.protocol -%{tde_datadir}/icons/crystalsvg/*/actions/svn_switch.png -%{tde_datadir}/icons/crystalsvg/*/actions/svn_merge.png -%{tde_datadir}/icons/crystalsvg/*/actions/svn_branch.png -%{tde_datadir}/icons/crystalsvg/*/actions/svn_remove.png -%{tde_datadir}/icons/crystalsvg/*/actions/svn_add.png -%{tde_datadir}/icons/crystalsvg/*/actions/svn_status.png -%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_add.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_status.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_remove.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_switch.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_branch.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_merge.svgz - -%post kio-plugins -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done - -for proto in svn+file svn+http svn+https svn+ssh svn; do -%if 0%{?suse_version} - update-alternatives --install \ -%else - alternatives --install \ -%endif - %{tde_datadir}/services/${proto}.protocol \ - ${proto}.protocol \ - %{tde_datadir}/services/${proto}.protocol_tdesdk \ - 10 -done - -%postun kio-plugins -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done - -%preun kio-plugins -if [ $1 -eq 0 ]; then - for proto in svn+file svn+http svn+https svn+ssh svn; do -%if 0%{?suse_version} - update-alternatives --remove \ -%else - alternatives --remove \ -%endif - ${proto}.protocol \ - %{tde_datadir}/services/${proto}.protocol_tdesdk - done -fi - -%endif - -########## - -%package -n trinity-kunittest -Summary: unit testing library for Trinity -Group: Development/Utilities - -%description -n trinity-kunittest -KUnitTest is a small library that facilitates the writing of tests for -TDE developers. There are two ways to use the KUnitTest library. One is -to create dynamically loadable modules and use the kunittestmodrunner or -kunittestguimodrunner programs to run the tests. The other is to use the -libraries to create your own testing application. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kunittest -%{tde_bindir}/kunittest -%{tde_bindir}/kunittest_debughelper -%{tde_bindir}/kunittestmod -%{tde_bindir}/kunittestguimodrunner -%{tde_libdir}/libkunittestgui.la -%{tde_libdir}/libkunittestgui.so -%{tde_libdir}/libkunittestgui.so.* -%{tde_tdeincludedir}/kunittest/runnergui.h - -%post -n trinity-kunittest -/sbin/ldconfig || : - -%postun -n trinity-kunittest -/sbin/ldconfig || : - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries - -Requires: %{name} = %{version}-%{release} -Requires: trinity-kbabel-devel = %{version}-%{release} - -Obsoletes: trinity-kdesdk-devel < %{version}-%{release} -Provides: trinity-kdesdk-devel = %{version}-%{release} - -%description devel -%{summary}. - -%files devel - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - - -%prep -%setup -q -n kdesdk-3.5.13.1 -%patch5 -p1 -b .svn -%patch6 -p1 -b .cmake -%patch7 -p1 -%patch8 -p1 -b .flex -%patch9 -p1 -b .cmake - - -%build -unset QTDIR || :; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LD_LIBRARY_PATH="%{tde_libdir}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" - -# Specific path for RHEL4 -if [ -d /usr/X11R6 ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - - -%cmake \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DMAN_INSTALL_DIR=%{tde_mandir} \ - -DPKGCONFIG_INSTALL_DIR=%{tde_tdelibdir}/pkgconfig \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - -DWITH_DBSEARCHENGINE=ON \ - -DWITH_KCAL=ON \ - -DBUILD_ALL=ON \ - %{!?build_kioslave:-DBUILD_KIOSLAVE=OFF} \ - .. - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} - -%__make install DESTDIR=%{?buildroot} -C build - -# make symlinks relative -if [ -d %{buildroot}%{tde_tdedocdir}/HTML/en ]; then - pushd %{buildroot}%{tde_tdedocdir}/HTML/en - for i in *; do - if [ -d $i -a -L $i/common ]; then - rm -f $i/common - ln -nfs ../common $i - fi - done - popd -fi - -# Installs kdepalettes -%__install -D -m 644 kdepalettes/kde_xpaintrc %{?buildroot}%{tde_datadir}/kdepalettes -%__install -D -m 644 kdepalettes/KDE_Gimp %{?buildroot}%{tde_datadir}/kdepalettes -%__install -D -m 644 kdepalettes/README %{?buildroot}%{tde_datadir}/kdepalettes - -# Installs SVN protocols as alternatives -%if 0%{?build_kioslave} -%__mv -f %{?buildroot}%{tde_datadir}/services/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol_tdesdk -%__mv -f %{?buildroot}%{tde_datadir}/services/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol_tdesdk -%__mv -f %{?buildroot}%{tde_datadir}/services/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol_tdesdk -%__mv -f %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol_tdesdk -%__mv -f %{?buildroot}%{tde_datadir}/services/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol_tdesdk -%__ln_s /etc/alternatives/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol -%__ln_s /etc/alternatives/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol -%__ln_s /etc/alternatives/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol -%__ln_s /etc/alternatives/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol -%__ln_s /etc/alternatives/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol -%endif - -%clean -%__rm -rf %{buildroot} - - - -%changelog -* Wed Nov 07 2012 Francois Andriot - 3.5.13.1-2 -- Fix various cmake issues [Bug #1262] - -* Sun Sep 30 2012 Francois Andriot - 3.5.13.1-1 -- Initial build for TDE 3.5.13.1 diff --git a/redhat/tdesdk/trinity-kdesdk-3.5.13.spec b/redhat/tdesdk/trinity-kdesdk-3.5.13.spec deleted file mode 100644 index 6b096fdb9..000000000 --- a/redhat/tdesdk/trinity-kdesdk-3.5.13.spec +++ /dev/null @@ -1,1130 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-tdesdk -Summary: The KDE Software Development Kit (SDK) -Version: 3.5.13 -Release: 2%{?dist}%{?_variant} - -License: GPLv2 -Group: User Interface/Desktops -URL: http://www.trinitydesktop.org/ -Vendor: Trinity Project -Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source: kdesdk-%{version}.tar.gz - -# RedHat Legacy patches -Patch1: kdesdk-3.5.7-subversion.patch -# [tdesdk] cmake port [Commit #bfb0bc00] -Patch2: kdesdk-3.5.13-cmake_port.patch -# [tdesdk/cmake] added forgotten files [Commit #adee843c] -Patch3: kdesdk-3.5.13-add_forgotten_cmake_files.patch -# [tdesdk] fixes for RHEL/Fedora/MGA2 after previous patch -Patch4: kdesdk-3.5.13-misc_ftbfs.patch -# [tdesdk] Fix FTBFS on newer subversion libraries [Bug #872] [Commit #572169a2] -Patch5: kdesdk-3.5.13-fix_ftbfs_on_newer_svn.patch - -BuildRequires: cmake >= 2.8 -BuildRequires: libtool -BuildRequires: tqtinterface-devel -BuildRequires: pcre-devel -BuildRequires: trinity-tdelibs-devel -# for kbugbuster/libkcal -BuildRequires: trinity-tdepim-devel -%if 0%{?mgaversion} || 0%{?mdkversion} -#BuildRequires: %{_lib}db4.8-devel -%else -BuildRequires: db4-devel -%endif -BuildRequires: desktop-file-utils -# kbabel, F-7+: flex >= 2.5.33-9 -BuildRequires: flex -# umbrello -BuildRequires: libxslt-devel libxml2-devel -BuildRequires: perl -BuildRequires: subversion-devel neon-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}ltdl-devel -BuildRequires: %{_lib}binutils-devel -%else -BuildRequires: libtool-ltdl-devel -%if 0%{?fedora} > 5 || 0%{?rhel} > 4 -BuildRequires: binutils-devel -%endif -%endif - -Obsoletes: trinity-kdesdk < %{version}-%{release} -Provides: trinity-kdesdk = %{version}-%{release} -Obsoletes: trinity-kdesdk-libs < %{version}-%{release} -Provides: trinity-kdesdk-libs = %{version}-%{release} - -Requires: trinity-cervisia = %{version}-%{release} -Requires: trinity-kapptemplate = %{version}-%{release} -Requires: trinity-kbabel = %{version}-%{release} -Requires: trinity-kbugbuster = %{version}-%{release} -Requires: trinity-tdecachegrind = %{version}-%{release} -Requires: trinity-tdecachegrind-converters = %{version}-%{release} -Requires: %{name}-kfile-plugins = %{version}-%{release} -Requires: %{name}-misc = %{version}-%{release} -Requires: %{name}-scripts = %{version}-%{release} -Requires: trinity-kmtrace = %{version}-%{release} -Requires: trinity-kompare = %{version}-%{release} -Requires: trinity-kspy = %{version}-%{release} -Requires: trinity-kuiviewer = %{version}-%{release} -Requires: trinity-libcvsservice0 = %{version}-%{release} -Requires: trinity-libcvsservice-devel = %{version}-%{release} -Requires: trinity-poxml = %{version}-%{release} -Requires: trinity-umbrello = %{version}-%{release} -Requires: %{name}-kio-plugins = %{version}-%{release} -Requires: trinity-kunittest = %{version}-%{release} - - -%description -A collection of applications and tools used by developers, including: -* cervisia: a CVS frontend -* kbabel: PO file management -* kbugbuster: a tool to manage the TDE bug report system -* kcachegrind: a browser for data produced by profiling tools (e.g. cachegrind) -* kompare: diff tool -* kuiviewer: displays designer's UI files -* umbrello: UML modeller and UML diagram tool - -%files - -########## - -%package -n trinity-cervisia -Summary: A graphical CVS front end for Trinity -Group: Development/Utilities - -%description -n trinity-cervisia -Cervisia is a TDE-based graphical front end for the CVS client. - -As well as providing both common and advanced CVS operations, it offers -a variety of methods for graphically viewing information about the CVS -repository, your own sandbox and the relationships between different -versions of files. A Changelog editor is also included and is coupled -with the commit dialog. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-cervisia -%{tde_bindir}/cervisia -%{tde_libdir}/lib[kt]deinit_cervisia.la -%{tde_libdir}/lib[kt]deinit_cervisia.so -%{tde_tdelibdir}/cervisia.la -%{tde_tdelibdir}/cervisia.so -%{tde_tdelibdir}/libcervisiapart.la -%{tde_tdelibdir}/libcervisiapart.so -%{tde_tdeappdir}/cervisia.desktop -%{tde_datadir}/apps/cervisia/ -%{tde_datadir}/apps/cervisiapart/cervisiaui.rc -%{tde_datadir}/apps/kconf_update/cervisia.upd -%{tde_datadir}/apps/kconf_update/cervisia-change_repos_list.pl -%{tde_datadir}/apps/kconf_update/cervisia-normalize_cvsroot.pl -%{tde_datadir}/apps/kconf_update/move_repositories.pl -%{tde_datadir}/apps/kconf_update/change_colors.pl -%{tde_datadir}/config.kcfg/cervisiapart.kcfg -%{tde_datadir}/icons/hicolor/*/apps/cervisia.png -%{tde_datadir}/icons/crystalsvg/*/actions/vcs_*.png -%{tde_datadir}/icons/crystalsvg/scalable/actions/vcs_*.svgz -#%{tde_mandir}/man1/cervisia.1* -%{tde_tdedocdir}/HTML/en/cervisia/ - -%post -n trinity-cervisia -/sbin/ldconfig || : -for f in crystalsvg hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-cervisia -/sbin/ldconfig || : -for f in crystalsvg hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kapptemplate -Summary: Creates a framework to develop a Trinity application -Group: Development/Utilities - -%description -n trinity-kapptemplate -KAppTemplate is a shell script that will create the necessary -framework to develop various TDE applications. It takes care of the -autoconf/automake code as well as providing a skeleton and example of -what the code typically looks like. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kapptemplate -%{tde_bindir}/kapptemplate -%{tde_datadir}/apps/kapptemplate/ - -########## - -%package -n trinity-kbabel -Summary: PO-file editing suite for Trinity -Group: Development/Utilities - -%description -n trinity-kbabel -This is a suite of programs for editing gettext message files (PO-files). -It is designed to help you translate fast and consistently. - -This suite includes KBabel, CatalogManager and KBabelDict. KBabel is an -advanced and easy to use PO-file editor with full navigational and editing -capabilities, syntax checking and statistics. CatalogManager is a multi -functional catalog manager which allows you to keep track of many -PO-files at once. KBabelDict is a dictionary to assist with searching -for common translations. - -This package is part of Trinity, and a component of the TDE SDK module. -See the 'kde-trinity' and 'tdesdk-trinity' packages for more information. - -%files -n trinity-kbabel -%{tde_bindir}/catalogmanager -%{tde_bindir}/kbabel -%{tde_bindir}/kbabeldict -%{tde_libdir}/libkbabelcommon.so.* -%{tde_libdir}/libkbabeldictplugin.so.* -%{tde_tdelibdir}/kfile_po.la -%{tde_tdelibdir}/kfile_po.so -%{tde_tdelibdir}/pothumbnail.la -%{tde_tdelibdir}/pothumbnail.so -%{tde_tdelibdir}/kbabel_accelstool.la -%{tde_tdelibdir}/kbabel_accelstool.so -%{tde_tdelibdir}/kbabel_argstool.la -%{tde_tdelibdir}/kbabel_argstool.so -%{tde_tdelibdir}/kbabel_contexttool.la -%{tde_tdelibdir}/kbabel_contexttool.so -%{tde_tdelibdir}/kbabel_equationstool.la -%{tde_tdelibdir}/kbabel_equationstool.so -%{tde_tdelibdir}/kbabel_gettextexport.la -%{tde_tdelibdir}/kbabel_gettextexport.so -%{tde_tdelibdir}/kbabel_gettextimport.la -%{tde_tdelibdir}/kbabel_gettextimport.so -%{tde_tdelibdir}/kbabel_lengthtool.la -%{tde_tdelibdir}/kbabel_lengthtool.so -%{tde_tdelibdir}/kbabel_linguistexport.la -%{tde_tdelibdir}/kbabel_linguistexport.so -%{tde_tdelibdir}/kbabel_linguistimport.la -%{tde_tdelibdir}/kbabel_linguistimport.so -%{tde_tdelibdir}/kbabel_nottranslatedtool.la -%{tde_tdelibdir}/kbabel_nottranslatedtool.so -%{tde_tdelibdir}/kbabel_pluraltool.la -%{tde_tdelibdir}/kbabel_pluraltool.so -%{tde_tdelibdir}/kbabel_punctuationtool.la -%{tde_tdelibdir}/kbabel_punctuationtool.so -%{tde_tdelibdir}/kbabel_regexptool.la -%{tde_tdelibdir}/kbabel_regexptool.so -%{tde_tdelibdir}/kbabel_setfuzzytool.la -%{tde_tdelibdir}/kbabel_setfuzzytool.so -%{tde_tdelibdir}/kbabel_whitespacetool.la -%{tde_tdelibdir}/kbabel_whitespacetool.so -%{tde_tdelibdir}/kbabel_xliffexport.la -%{tde_tdelibdir}/kbabel_xliffexport.so -%{tde_tdelibdir}/kbabel_xliffimport.la -%{tde_tdelibdir}/kbabel_xliffimport.so -%{tde_tdelibdir}/kbabel_xmltool.la -%{tde_tdelibdir}/kbabel_xmltool.so -%{tde_tdelibdir}/kbabeldict_dbsearchengine.la -%{tde_tdelibdir}/kbabeldict_dbsearchengine.so -%{tde_tdelibdir}/kbabeldict_poauxiliary.la -%{tde_tdelibdir}/kbabeldict_poauxiliary.so -%{tde_tdelibdir}/kbabeldict_pocompendium.la -%{tde_tdelibdir}/kbabeldict_pocompendium.so -%{tde_tdelibdir}/kbabeldict_tmxcompendium.la -%{tde_tdelibdir}/kbabeldict_tmxcompendium.so -%{tde_tdeappdir}/catalogmanager.desktop -%{tde_tdeappdir}/kbabel.desktop -%{tde_tdeappdir}/kbabeldict.desktop -%{tde_datadir}/apps/catalogmanager/catalogmanagerui.rc -%{tde_datadir}/apps/kbabel/ -%{tde_datadir}/apps/kconf_update/kbabel-difftoproject.upd -%{tde_datadir}/apps/kconf_update/kbabel-project.upd -%{tde_datadir}/apps/kconf_update/kbabel-projectrename.upd -%{tde_datadir}/config.kcfg/kbabel.kcfg -%{tde_datadir}/config.kcfg/kbprojectsettings.kcfg -%{tde_tdedocdir}/HTML/en/kbabel/ -%{tde_datadir}/icons/hicolor/*/apps/catalogmanager.png -%{tde_datadir}/icons/hicolor/*/apps/kbabel.png -%{tde_datadir}/icons/hicolor/*/apps/kbabeldict.png -%{tde_datadir}/icons/locolor/*/apps/catalogmanager.png -%{tde_datadir}/icons/locolor/*/apps/kbabel.png -%{tde_datadir}/icons/locolor/*/apps/kbabeldict.png -%{tde_datadir}/services/dbsearchengine.desktop -%{tde_datadir}/services/kfile_po.desktop -%{tde_datadir}/services/pothumbnail.desktop -%{tde_datadir}/services/kbabel_accelstool.desktop -%{tde_datadir}/services/kbabel_argstool.desktop -%{tde_datadir}/services/kbabel_contexttool.desktop -%{tde_datadir}/services/kbabel_equationstool.desktop -%{tde_datadir}/services/kbabel_gettext_export.desktop -%{tde_datadir}/services/kbabel_gettext_import.desktop -%{tde_datadir}/services/kbabel_lengthtool.desktop -%{tde_datadir}/services/kbabel_linguist_export.desktop -%{tde_datadir}/services/kbabel_linguist_import.desktop -%{tde_datadir}/services/kbabel_nottranslatedtool.desktop -%{tde_datadir}/services/kbabel_pluralformstool.desktop -%{tde_datadir}/services/kbabel_punctuationtool.desktop -%{tde_datadir}/services/kbabel_regexptool.desktop -%{tde_datadir}/services/kbabel_setfuzzytool.desktop -%{tde_datadir}/services/kbabel_whitespacetool.desktop -%{tde_datadir}/services/kbabel_xliff_export.desktop -%{tde_datadir}/services/kbabel_xliff_import.desktop -%{tde_datadir}/services/kbabel_xmltool.desktop -%{tde_datadir}/services/pocompendium.desktop -%{tde_datadir}/services/poauxiliary.desktop -%{tde_datadir}/services/tmxcompendium.desktop -%{tde_datadir}/servicetypes/kbabel_tool.desktop -%{tde_datadir}/servicetypes/kbabel_validator.desktop -%{tde_datadir}/servicetypes/kbabeldict_module.desktop -%{tde_datadir}/servicetypes/kbabelfilter.desktop - -%post -n trinity-kbabel -/sbin/ldconfig || : -for f in hicolor locolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kbabel -/sbin/ldconfig || : -for f in hicolor locolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kbabel-devel -Summary: PO-file editing suite for Trinity (development files) -Group: Development/Libraries -Requires: trinity-kbabel = %{version}-%{release} - -%description -n trinity-kbabel-devel -This is a suite of programs for editing gettext message files (PO-files). -It is designed to help you translate fast and consistently. - -This suite includes KBabel, CatalogManager and KBabelDict. KBabel is an -advanced and easy to use PO-file editor with full navigational and editing -capabilities, syntax checking and statistics. CatalogManager is a multi -functional catalog manager which allows you to keep track of many -PO-files at once. KBabelDict is a dictionary to assist with searching -for common translations. - -This package contains the KBabel development files. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kbabel-devel -%{tde_tdeincludedir}/kbabel/ -%{tde_libdir}/libkbabelcommon.la -%{tde_libdir}/libkbabelcommon.so -%{tde_libdir}/libkbabeldictplugin.la -%{tde_libdir}/libkbabeldictplugin.so - -%post -n trinity-kbabel-devel -/sbin/ldconfig || : - -%postun -n trinity-kbabel-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kbugbuster -Summary: a front end for the Trinity bug tracking system -Group: Development/Utilities - -%description -n trinity-kbugbuster -KBugBuster is a GUI front end for the TDE bug tracking system. -It allows the user to view and manipulate bug reports and provides a -variety of options for searching through reports. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kbugbuster -%{tde_bindir}/kbugbuster -%{tde_tdelibdir}/kcal_bugzilla.la -%{tde_tdelibdir}/kcal_bugzilla.so -%{tde_tdeappdir}/kbugbuster.desktop -%{tde_datadir}/apps/kbugbuster/ -%{tde_datadir}/icons/hicolor/*/apps/kbugbuster.png -%{tde_datadir}/icons/locolor/*/apps/kbugbuster.png -%{tde_datadir}/services/kresources/kcal/bugzilla.desktop -%{tde_tdedocdir}/HTML/en/kbugbuster/ - -%post -n trinity-kbugbuster -for f in hicolor locolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kbugbuster -for f in hicolor locolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-tdecachegrind -Summary: visualisation tool for valgrind profiling output -Group: Development/Utilities - -%description -n trinity-tdecachegrind -KCachegrind is a visualisation tool for the profiling data generated -by calltree, a profiling skin for valgrind. Applications can be -profiled using calltree without being recompiled, and shared libraries -and plugin architectures are supported. - -For visualising the output from other profiling tools, several converters -can be found in the tdecachegrind-converters package. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-tdecachegrind -%{tde_bindir}/kcachegrind -%{tde_tdeappdir}/kcachegrind.desktop -%{tde_datadir}/apps/kcachegrind/ -%{tde_datadir}/icons/locolor/*/apps/kcachegrind.png -%{tde_datadir}/icons/hicolor/*/apps/kcachegrind.png -%{tde_datadir}/mimelnk/application/x-kcachegrind.desktop -%{tde_tdedocdir}/HTML/en/kcachegrind/ - -%post -n trinity-tdecachegrind -for f in hicolor locolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-tdecachegrind -for f in hicolor locolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-tdecachegrind-converters -Summary: format converters for KCachegrind profiling visualisation tool -Group: Development/Utilities -Requires: php-cli -Requires: python - -%description -n trinity-tdecachegrind-converters -This is a collection of scripts for converting the output from -different profiling tools into a format that KCachegrind can use. - -KCachegrind is a visualisation tool for the profiling data generated -by calltree, a profiling skin for valgrind. Applications can be -profiled using calltree without being recompiled, and shared libraries -and plugin architectures are supported. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-tdecachegrind-converters -%{tde_bindir}/dprof2calltree -%{tde_bindir}/hotshot2calltree -%{tde_bindir}/memprof2calltree -%{tde_bindir}/op2calltree -%{tde_bindir}/pprof2calltree - -########## - -%package kfile-plugins -Summary: Trinity file dialog plugins for software development files -Group: Environment/Libraries - -%description kfile-plugins -This is a collection of plugins for the TDE file dialog. These plugins -extend the file dialog to offer advanced meta-information for source files, -patch files and Qt Linguist data. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files kfile-plugins -%{tde_tdelibdir}/kfile_cpp.so -%{tde_tdelibdir}/kfile_cpp.la -%{tde_tdelibdir}/kfile_diff.so -%{tde_tdelibdir}/kfile_diff.la -%{tde_tdelibdir}/kfile_ts.so -%{tde_tdelibdir}/kfile_ts.la -%{tde_datadir}/services/kfile_cpp.desktop -%{tde_datadir}/services/kfile_diff.desktop -%{tde_datadir}/services/kfile_h.desktop -%{tde_datadir}/services/kfile_ts.desktop - -########## - -%package misc -Summary: various goodies from the Trinity Software Development Kit -Group: Development/Libraries - -%description misc -This package contains miscellaneous goodies provided with the official -TDE release to assist with TDE software development. - -Included are: -- headers to assist with profiling TDE code; -- a widget style for checking conformity with the TDE/Qt style guide; -- palettes that match the KDE standard colour palette; -- a TDE address book plugin that reads the list of TDE CVS accounts. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files misc -%{tde_tdeincludedir}/kprofilemethod.h -%{tde_tdelibdir}/kabcformat_kdeaccounts.la -%{tde_tdelibdir}/kabcformat_kdeaccounts.so -%{tde_tdelibdir}/scheck.so -%{tde_tdelibdir}/scheck.la -%{tde_datadir}/apps/kabc/formats/kdeaccountsplugin.desktop -%{tde_datadir}/apps/kstyle/themes/scheck.themerc -%{tde_datadir}/kdepalettes/ - -%{tde_libdir}/libkstartperf.so.* -%{tde_libdir}/libkstartperf.so -%{tde_libdir}/libkstartperf.la -%{tde_bindir}/kstartperf - -%post misc -/sbin/ldconfig || : - -%postun misc -/sbin/ldconfig || : - -########## - -%package scripts -Summary: a set of useful development scripts for Trinity -Group: Development/Utilities -Requires: python - -%description scripts -This package contains a number of scripts which can be used to help in -developing TDE-based applications. Many of these scripts however are -not specific to TDE, and in particular there are several general-use -scripts to help users in working with SVN and CVS repositories. - -In addition to these scripts, this package provides: -- gdb macros for Qt/TDE programming; -- vim and emacs helper files for Qt/TDE programming; -- bash and zsh completion controls for TDE apps; -- valgrind error suppressions for TDE apps. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files scripts -%{tde_bindir}/adddebug -%{tde_bindir}/build-progress.sh -%{tde_bindir}/cheatmake -%{tde_bindir}/create_cvsignore -%{tde_bindir}/create_makefile -%{tde_bindir}/create_makefiles -%{tde_bindir}/cvs-clean -%{tde_bindir}/cvs2dist -%{tde_bindir}/cvsbackport -%{tde_bindir}/cvsblame -%{tde_bindir}/cvscheck -%{tde_bindir}/cvsforwardport -%{tde_bindir}/cvslastchange -%{tde_bindir}/cvslastlog -%{tde_bindir}/cvsrevertlast -%{tde_bindir}/cvsversion -%{tde_bindir}/cxxmetric -%{tde_bindir}/extend_dmalloc -%{tde_bindir}/extractattr -%{tde_bindir}/extractrc -%{tde_bindir}/findmissingcrystal -%{tde_bindir}/fixkdeincludes -%{tde_bindir}/fixuifiles -%{tde_bindir}/includemocs -%{tde_bindir}/kde-build -%{tde_bindir}/kdedoc -%{tde_bindir}/kdekillall -%{tde_bindir}/kdelnk2desktop.py* -%{tde_bindir}/kdemangen.pl -%{tde_bindir}/makeobj -%{tde_bindir}/noncvslist -%{tde_bindir}/package_crystalsvg -%{tde_bindir}/png2mng.pl -%{tde_bindir}/pruneemptydirs -%{tde_bindir}/qtdoc -%{tde_bindir}/zonetab2pot.py* -%{tde_bindir}/svn2dist -%{tde_bindir}/svnrevertlast -%{tde_bindir}/svnforwardport -%{tde_bindir}/nonsvnlist -%{tde_bindir}/[kt]desvn-build -%{tde_bindir}/svnlastlog -%{tde_bindir}/svnversions -%{tde_bindir}/create_svnignore -%{tde_bindir}/svnlastchange -%{tde_bindir}/colorsvn -%{tde_bindir}/svnaddcurrentdir -%{tde_bindir}/svnbackport -%{tde_bindir}/svngettags -%{tde_bindir}/svnchangesince -%{tde_bindir}/svn-clean -%{tde_datadir}/apps/katepart/syntax/[kt]desvn-buildrc.xml -%{tde_mandir}/man1/cvsblame.1 -%{tde_mandir}/man1/cvscheck.1 -%{tde_mandir}/man1/cvsversion.1 -%{tde_mandir}/man1/kde-build.1 -%{tde_mandir}/man1/includemocs.1 -%{tde_mandir}/man1/noncvslist.1 -%{tde_mandir}/man1/[kt]desvn-build.1 -%{tde_tdedocdir}/HTML/en/[kt]desvn-build/ -#scripts/kde-devel-gdb /opt/trinity/share/tdesdk-scripts -#scripts/kde-devel-vim.vim /opt/trinity/share/tdesdk-scripts -#scripts/kde-emacs/*.el /opt/trinity/share/emacs/site-lisp/tdesdk-scripts -#scripts/kde.supp /opt/trinity/lib/valgrind -#scripts/completions /opt/trinity/share/tdesdk-scripts - -#debian/desktop-i18n/createdesktop.pl /opt/trinity/lib/kubuntu-desktop-i18n/ -#debian/desktop-i18n/findfiles /opt/trinity/lib/kubuntu-desktop-i18n/ -#debian/desktop-i18n/msgsplit /opt/trinity/lib/kubuntu-desktop-i18n/ - -%if "%{?tde_prefix}" != "/usr" -%{tde_bindir}/licensecheck -%else -%exclude %{tde_bindir}/licensecheck -%endif - -########## - -%package -n trinity-kmtrace -Summary: a Trinity memory leak tracer -Group: Development/Utilities -Requires: less - -%description -n trinity-kmtrace -KMtrace is a TDE tool to assist with malloc debugging using glibc's -"mtrace" functionality. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kmtrace -%{tde_bindir}/demangle -%{tde_bindir}/kminspector -%{tde_bindir}/kmmatch -%{tde_bindir}/kmtrace -#%{tde_tdeincludedir}/ktrace.h -%{tde_libdir}/kmtrace/libktrace.la -%{tde_libdir}/kmtrace/libktrace.so -%{tde_libdir}/libktrace_s.a -%{tde_datadir}/apps/kmtrace/kde.excludes - -########## - -%package -n trinity-kompare -Summary: a Trinity GUI for viewing differences between files -Group: Development/Utilities - -%description -n trinity-kompare -Kompare is a graphical user interface for viewing the differences between -files. It can compare two documents, create a diff file, display a diff -file and/or blend a diff file back into the original documents. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kompare -%{tde_bindir}/kompare -%{tde_libdir}/libkompareinterface.la -%{tde_libdir}/libkompareinterface.so -#%{tde_libdir}/libkompareinterface.so.* -%{tde_tdelibdir}/libkomparenavtreepart.la -%{tde_tdelibdir}/libkomparenavtreepart.so -%{tde_tdelibdir}/libkomparepart.la -%{tde_tdelibdir}/libkomparepart.so -%{tde_tdeappdir}/kompare.desktop -%{tde_datadir}/apps/kompare/komparepartui.rc -%{tde_datadir}/apps/kompare/kompareui.rc -%{tde_datadir}/services/komparenavtreepart.desktop -%{tde_datadir}/services/komparepart.desktop -%{tde_datadir}/servicetypes/komparenavigationpart.desktop -%{tde_datadir}/servicetypes/kompareviewpart.desktop -%{tde_datadir}/icons/hicolor/*/apps/kompare.png -%{tde_datadir}/icons/hicolor/scalable/apps/kompare.svgz -%{tde_tdedocdir}/HTML/en/kompare/ - -%post -n trinity-kompare -/sbin/ldconfig || : -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kompare -/sbin/ldconfig || : -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kspy -Summary: examines the internal state of a Qt/TDE app -Group: Environment/Libraries -Requires: trinity-tdelibs-devel - -%description -n trinity-kspy -KSpy is a tiny library which can be used to graphically display -the QObjects in use by a Qt/TDE app. In addition to the object tree, -you can also view the properties, signals and slots of any QObject. - -Basically it provides much the same info as QObject::dumpObjectTree() and -QObject::dumpObjectInfo(), but in a much more convenient form. KSpy has -minimal overhead for the application, because the kspy library is -loaded dynamically using KLibLoader. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kspy -%{tde_tdeincludedir}/kspy.h -%{tde_libdir}/libkspy.la -%{tde_libdir}/libkspy.so -%{tde_libdir}/libkspy.so.* - -%post -n trinity-kspy -/sbin/ldconfig || : - -%postun -n trinity-kspy -/sbin/ldconfig || : - -########## - -%package -n trinity-kuiviewer -Summary: viewer for Qt Designer user interface files -Group: Development/Utilities - -%description -n trinity-kuiviewer -KUIViewer is a utility to display and test the user interface (.ui) files -generated by Qt Designer. The interfaces can be displayed in a variety of -different widget styles. - -The Qt Designer itself is in the package qt3-designer. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kuiviewer -%{tde_bindir}/kuiviewer -%{tde_tdelibdir}/libkuiviewerpart.so -%{tde_tdelibdir}/libkuiviewerpart.la -%{tde_tdelibdir}/quithumbnail.so -%{tde_tdelibdir}/quithumbnail.la -%{tde_tdeappdir}/kuiviewer.desktop -%{tde_datadir}/apps/kuiviewer/kuiviewerui.rc -%{tde_datadir}/apps/kuiviewerpart/kuiviewer_part.rc -%{tde_datadir}/icons/hicolor/*/apps/kuiviewer.png -%{tde_datadir}/icons/locolor/*/apps/kuiviewer.png -%{tde_datadir}/services/designerthumbnail.desktop -%{tde_datadir}/services/kuiviewer_part.desktop - -%post -n trinity-kuiviewer -for f in hicolor locolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done - -%postun -n trinity-kuiviewer -for f in crystalsvg hicolor locolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done - -########## - -%package -n trinity-libcvsservice0 -Summary: DCOP service for accessing CVS repositories -Group: Environment/Libraries -Requires: cvs - -%description -n trinity-libcvsservice0 -This library provides a DCOP service for accessing and working with -remote CVS repositories. Applications may link with this library to -access the DCOP service directly from C++. Alternatively, scripts may -access the service using the standard "dcop" command-line tool. - -DCOP is the Desktop Communication Protocol used throughout TDE. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-libcvsservice0 -%{tde_bindir}/cvsaskpass -%{tde_bindir}/cvsservice -%{tde_libdir}/libcvsservice.so.* -%{tde_libdir}/lib[kt]deinit_cvsaskpass.so -%{tde_libdir}/lib[kt]deinit_cvsservice.so -%{tde_tdelibdir}/cvsaskpass.la -%{tde_tdelibdir}/cvsaskpass.so -%{tde_tdelibdir}/cvsservice.la -%{tde_tdelibdir}/cvsservice.so -%{tde_datadir}/services/cvsservice.desktop - -%post -n trinity-libcvsservice0 -/sbin/ldconfig || : - -%postun -n trinity-libcvsservice0 -/sbin/ldconfig || : - -########## - -%package -n trinity-libcvsservice-devel -Summary: development files for CVS DCOP service -Group: Development/Libraries -Requires: trinity-libcvsservice0 = %{version}-%{release} - -%description -n trinity-libcvsservice-devel -The library libcvsservice provides a DCOP service for accessing and -working with remote CVS repositories. Applications may link with this -library to access the DCOP service directly from C++. Alternatively, -scripts may access the service using the standard "dcop" command-line -tool. - -Development files for libcvsservice are included in this package. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-libcvsservice-devel -%{tde_tdeincludedir}/cvsjob_stub.h -%{tde_tdeincludedir}/cvsservice_stub.h -%{tde_tdeincludedir}/repository_stub.h -%{tde_libdir}/libcvsservice.la -%{tde_libdir}/libcvsservice.so -%{tde_libdir}/lib[kt]deinit_cvsaskpass.la -%{tde_libdir}/lib[kt]deinit_cvsservice.la -%{tde_datadir}/cmake/cervisia.cmake - -%post -n trinity-libcvsservice-devel -/sbin/ldconfig || : - -%postun -n trinity-libcvsservice-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-poxml -Summary: tools for using PO-files to translate DocBook XML files -Group: Development/Utilities - -%description -n trinity-poxml -This is a collection of tools that facilitate translating DocBook XML -files using gettext message files (PO-files). - -Also included are some miscellaneous command-line utilities for -manipulating DocBook XML files, PO-files and PO-template files. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-poxml -%{tde_bindir}/po2xml -%{tde_bindir}/split2po -%{tde_bindir}/swappo -%{tde_bindir}/transxx -%{tde_bindir}/xml2pot - -########## - -%package -n trinity-umbrello -Summary: UML modelling tool and code generator -Group: Development/Utilities - -%description -n trinity-umbrello -Umbrello UML Modeller is a Unified Modelling Language editor for TDE. -With UML you can create diagrams of software and other systems in an -industry standard format. Umbrello can also generate code from your -UML diagrams in a number of programming languages. - -The program supports class diagrams, sequence diagrams, collaboration -diagrams, use case diagrams, state diagrams, activity diagrams, component -diagrams and deployment diagrams. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-umbrello -%{tde_bindir}/umbodoc -%{tde_bindir}/umbrello -%{tde_tdeappdir}/umbrello.desktop -%{tde_datadir}/apps/umbrello/ -%{tde_datadir}/icons/crystalsvg/*/actions/umbrello_*.png -%{tde_datadir}/icons/crystalsvg/*/mimetypes/umbrellofile.png -%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/umbrellofile.svgz -%{tde_datadir}/icons/hicolor/*/apps/umbrello.png -%{tde_datadir}/icons/hicolor/scalable/apps/umbrello.svgz -%{tde_datadir}/icons/hicolor/*/mimetypes/umbrellofile.png -%{tde_datadir}/mimelnk/application/x-umbrello.desktop -%{tde_tdedocdir}/HTML/en/umbrello/ - -%post -n trinity-umbrello -for f in crystalsvg hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-umbrello -for f in crystalsvg hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package kio-plugins -Summary: subversion ioslave for Trinity -Group: Environment/Libraries -Requires: subversion - -%description kio-plugins -This package provides easy access to remote SVN repositories from within -Konqueror, and TDE generally, by browsing them as if they were a -filesystem, using URLs like svn://hostname/path, or svn+ssh://, etc. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files kio-plugins -%{tde_bindir}/kio_svn_helper -%{tde_tdelibdir}/kded_ksvnd.la -%{tde_tdelibdir}/kded_ksvnd.so -%{tde_tdelibdir}/kio_svn.la -%{tde_tdelibdir}/kio_svn.so -%{tde_datadir}/apps/konqueror/servicemenus/subversion_toplevel.desktop -%{tde_datadir}/apps/konqueror/servicemenus/subversion.desktop -%{tde_datadir}/services/kded/ksvnd.desktop -%{tde_datadir}/services/svn+file.protocol_tdesdk -%{tde_datadir}/services/svn+http.protocol_tdesdk -%{tde_datadir}/services/svn+https.protocol_tdesdk -%{tde_datadir}/services/svn+ssh.protocol_tdesdk -%{tde_datadir}/services/svn.protocol_tdesdk -%{tde_datadir}/services/svn+file.protocol -%{tde_datadir}/services/svn+http.protocol -%{tde_datadir}/services/svn+https.protocol -%{tde_datadir}/services/svn+ssh.protocol -%{tde_datadir}/services/svn.protocol -%{tde_datadir}/icons/crystalsvg/*/actions/svn_switch.png -%{tde_datadir}/icons/crystalsvg/*/actions/svn_merge.png -%{tde_datadir}/icons/crystalsvg/*/actions/svn_branch.png -%{tde_datadir}/icons/crystalsvg/*/actions/svn_remove.png -%{tde_datadir}/icons/crystalsvg/*/actions/svn_add.png -%{tde_datadir}/icons/crystalsvg/*/actions/svn_status.png -%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_add.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_status.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_remove.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_switch.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_branch.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_merge.svgz - -%post kio-plugins -for f in crystalsvg ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done - -for proto in svn+file svn+http svn+https svn+ssh svn; do - alternatives --install \ - %{tde_datadir}/services/${proto}.protocol \ - ${proto}.protocol \ - %{tde_datadir}/services/${proto}.protocol_tdesdk \ - 10 -done - -%postun kio-plugins -for f in crystalsvg ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done - -%preun kio-plugins -if [ $1 -eq 0 ]; then - for proto in svn+file svn+http svn+https svn+ssh svn; do - alternatives --remove \ - ${proto}.protocol \ - %{tde_datadir}/services/${proto}.protocol_tdesdk - done -fi - -########## - -%package -n trinity-kunittest -Summary: unit testing library for Trinity -Group: Development/Utilities - -%description -n trinity-kunittest -KUnitTest is a small library that facilitates the writing of tests for -TDE developers. There are two ways to use the KUnitTest library. One is -to create dynamically loadable modules and use the kunittestmodrunner or -kunittestguimodrunner programs to run the tests. The other is to use the -libraries to create your own testing application. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kunittest -%{tde_bindir}/kunittest -%{tde_bindir}/kunittest_debughelper -%{tde_bindir}/kunittestmod -%{tde_bindir}/kunittestguimodrunner -%{tde_libdir}/libkunittestgui.la -%{tde_libdir}/libkunittestgui.so -#%{tde_libdir}/libkunittestgui.so.* -%{tde_tdeincludedir}/kunittest/runnergui.h - -%post -n trinity-kunittest -/sbin/ldconfig || : - -%postun -n trinity-kunittest -/sbin/ldconfig || : - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries - -Requires: %{name} = %{version}-%{release} -Requires: trinity-kbabel-devel = %{version}-%{release} - -Obsoletes: trinity-kdesdk-devel < %{version}-%{release} -Provides: trinity-kdesdk-devel = %{version}-%{release} - -%description devel -%{summary}. - -%files devel - -########## - - -%prep -%setup -q -n kdesdk -%patch1 -p1 -b .subversion -%patch2 -p1 -b .cmake -%patch3 -p1 -b .cmake -%patch4 -p1 -b .ftbfs -%patch5 -p1 -b .svn - -%build -unset QTDIR || :; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LD_LIBRARY_PATH="%{tde_libdir}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" - -%if 0%{?rhel} || 0%{?fedora} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DMAN_INSTALL_DIR=%{tde_mandir}/man1 \ - -DPKGCONFIG_INSTALL_DIR=%{tde_tdelibdir}/pkgconfig \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - -DWITH_DBSEARCHENGINE=ON \ - -DWITH_KCAL=ON \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} - -%__make install DESTDIR=%{?buildroot} -C build - -# make symlinks relative -if [ -d %{buildroot}%{tde_tdedocdir}/HTML/en ]; then - pushd %{buildroot}%{tde_tdedocdir}/HTML/en - for i in *; do - if [ -d $i -a -L $i/common ]; then - rm -f $i/common - ln -nfs ../common $i - fi - done - popd -fi - -# Installs kdepalettes -%__install -D -m 644 kdepalettes/kde_xpaintrc %{?buildroot}%{tde_datadir}/kdepalettes -%__install -D -m 644 kdepalettes/KDE_Gimp %{?buildroot}%{tde_datadir}/kdepalettes -%__install -D -m 644 kdepalettes/README %{?buildroot}%{tde_datadir}/kdepalettes - -# Installs SVN protocols as alternatives -%__mv -f %{?buildroot}%{tde_datadir}/services/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol_tdesdk -%__mv -f %{?buildroot}%{tde_datadir}/services/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol_tdesdk -%__mv -f %{?buildroot}%{tde_datadir}/services/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol_tdesdk -%__mv -f %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol_tdesdk -%__mv -f %{?buildroot}%{tde_datadir}/services/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol_tdesdk -%__ln_s /etc/alternatives/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol -%__ln_s /etc/alternatives/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol -%__ln_s /etc/alternatives/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol -%__ln_s /etc/alternatives/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol -%__ln_s /etc/alternatives/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol - -%clean -%__rm -rf %{buildroot} - - -# trick to replace a dir by a symlink -- Rex -%pre -if [ $1 -gt 0 -a ! -L %{_docdir}/HTML/en/cervisia/common ]; then - rm -rf %{tde_tdedocdir}/HTML/en/cervisia/common ||: -fi - - - -%changelog -* Sun Jul 30 2012 Francois Andriot - 3.5.13-2 -- Split into several packages -- Renames to 'trinity-tdesdk' -- Add Mageia 2 support -- cmake port [Commit #bfb0bc00] -- added forgotten files [Commit #adee843c] -- installs SVN protocols as alternative to avoid conflict with kdesvn - -* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 -- Initial release for RHEL 6, RHEL 5 and Fedora 15 - -* Mon Sep 05 2011 Francois Andriot - 3.5.13-0 -- Import to GIT diff --git a/redhat/tdesdk/trinity-tdesdk-3.5.13.2.spec b/redhat/tdesdk/trinity-tdesdk-3.5.13.2.spec deleted file mode 100644 index 22d097f2b..000000000 --- a/redhat/tdesdk/trinity-tdesdk-3.5.13.2.spec +++ /dev/null @@ -1,1159 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - - -Name: trinity-tdesdk -Summary: The KDE Software Development Kit (SDK) -Version: 3.5.13.2 -Release: 1%{?dist}%{?_variant} - -License: GPLv2 -Group: User Interface/Desktops -URL: http://www.trinitydesktop.org/ -Vendor: Trinity Project -Packager: Francois Andriot - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}.tar.gz - -BuildRequires: cmake >= 2.8 -BuildRequires: libtool -BuildRequires: pcre-devel -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} -# for kbugbuster/libkcal -BuildRequires: trinity-tdepim-devel >= %{version} -%if 0%{?mgaversion} || 0%{?mdkversion} -#BuildRequires: %{_lib}db4.8-devel -%endif -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: db4-devel -%endif -%if 0%{?suse_version} -BuildRequires: libdb-4_8-devel -%endif -BuildRequires: desktop-file-utils -# kbabel, F-7+: flex >= 2.5.33-9 -BuildRequires: flex -# umbrello -BuildRequires: libxslt-devel -BuildRequires: libxml2-devel -BuildRequires: perl -BuildRequires: subversion-devel -BuildRequires: neon-devel - -%if 0%{?mgaversion} || 0%{?mdkversion} -BuildRequires: %{_lib}ltdl-devel -BuildRequires: %{_lib}binutils-devel -%endif -%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5 || 0%{?suse_version} -BuildRequires: binutils-devel -%endif -%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5 || 0%{?suse_version} >= 1220 -BuildRequires: libtool-ltdl-devel -%endif - -# KIOSLAVE -# Does not build on RHEL4 -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} -%define build_kioslave 1 -%endif - -Obsoletes: trinity-kdesdk < %{version}-%{release} -Provides: trinity-kdesdk = %{version}-%{release} -Obsoletes: trinity-kdesdk-libs < %{version}-%{release} -Provides: trinity-kdesdk-libs = %{version}-%{release} - -Requires: trinity-cervisia = %{version}-%{release} -Requires: trinity-kapptemplate = %{version}-%{release} -Requires: trinity-kbabel = %{version}-%{release} -Requires: trinity-kbugbuster = %{version}-%{release} -Requires: trinity-tdecachegrind = %{version}-%{release} -Requires: trinity-tdecachegrind-converters = %{version}-%{release} -Requires: %{name}-kfile-plugins = %{version}-%{release} -Requires: %{name}-misc = %{version}-%{release} -Requires: %{name}-scripts = %{version}-%{release} -Requires: trinity-kmtrace = %{version}-%{release} -Requires: trinity-kompare = %{version}-%{release} -Requires: trinity-kspy = %{version}-%{release} -Requires: trinity-kuiviewer = %{version}-%{release} -Requires: trinity-libcvsservice0 = %{version}-%{release} -Requires: trinity-libcvsservice-devel = %{version}-%{release} -Requires: trinity-poxml = %{version}-%{release} -Requires: trinity-umbrello = %{version}-%{release} -%{?build_kioslave:Requires: %{name}-tdeio-plugins = %{version}-%{release}} -Requires: trinity-kunittest = %{version}-%{release} - - -%description -A collection of applications and tools used by developers, including: -* cervisia: a CVS frontend -* kbabel: PO file management -* kbugbuster: a tool to manage the TDE bug report system -* kcachegrind: a browser for data produced by profiling tools (e.g. cachegrind) -* kompare: diff tool -* kuiviewer: displays designer's UI files -* umbrello: UML modeller and UML diagram tool - -%files - -########## - -%package -n trinity-cervisia -Summary: A graphical CVS front end for Trinity -Group: Development/Utilities - -%description -n trinity-cervisia -Cervisia is a TDE-based graphical front end for the CVS client. - -As well as providing both common and advanced CVS operations, it offers -a variety of methods for graphically viewing information about the CVS -repository, your own sandbox and the relationships between different -versions of files. A Changelog editor is also included and is coupled -with the commit dialog. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-cervisia -%{tde_bindir}/cervisia -%{tde_libdir}/lib[kt]deinit_cervisia.la -%{tde_libdir}/lib[kt]deinit_cervisia.so -%{tde_tdelibdir}/cervisia.la -%{tde_tdelibdir}/cervisia.so -%{tde_tdelibdir}/libcervisiapart.la -%{tde_tdelibdir}/libcervisiapart.so -%{tde_tdeappdir}/cervisia.desktop -%{tde_datadir}/apps/cervisia/ -%{tde_datadir}/apps/cervisiapart/cervisiaui.rc -%{tde_datadir}/apps/kconf_update/cervisia.upd -%{tde_datadir}/apps/kconf_update/cervisia-change_repos_list.pl -%{tde_datadir}/apps/kconf_update/cervisia-normalize_cvsroot.pl -%{tde_datadir}/apps/kconf_update/move_repositories.pl -%{tde_datadir}/apps/kconf_update/change_colors.pl -%{tde_datadir}/config.kcfg/cervisiapart.kcfg -%{tde_datadir}/icons/hicolor/*/apps/cervisia.png -%{tde_datadir}/icons/crystalsvg/*/actions/vcs_*.png -%{tde_datadir}/icons/crystalsvg/scalable/actions/vcs_*.svgz -%{tde_mandir}/man1/cervisia.1* -%{tde_tdedocdir}/HTML/en/cervisia/ - -%post -n trinity-cervisia -/sbin/ldconfig || : -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-cervisia -/sbin/ldconfig || : -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kapptemplate -Summary: Creates a framework to develop a Trinity application -Group: Development/Utilities - -%description -n trinity-kapptemplate -KAppTemplate is a shell script that will create the necessary -framework to develop various TDE applications. It takes care of the -autoconf/automake code as well as providing a skeleton and example of -what the code typically looks like. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kapptemplate -%{tde_bindir}/kapptemplate -%{tde_datadir}/apps/kapptemplate/ - -%pre -n trinity-kapptemplate -if [ -d "%{tde_bindir}/kapptemplate" ]; then - rm -rf "%{tde_bindir}/kapptemplate" -fi - -########## - -%package -n trinity-kbabel -Summary: PO-file editing suite for Trinity -Group: Development/Utilities - -%description -n trinity-kbabel -This is a suite of programs for editing gettext message files (PO-files). -It is designed to help you translate fast and consistently. - -This suite includes KBabel, CatalogManager and KBabelDict. KBabel is an -advanced and easy to use PO-file editor with full navigational and editing -capabilities, syntax checking and statistics. CatalogManager is a multi -functional catalog manager which allows you to keep track of many -PO-files at once. KBabelDict is a dictionary to assist with searching -for common translations. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kbabel -%{tde_bindir}/catalogmanager -%{tde_bindir}/kbabel -%{tde_bindir}/kbabeldict -%{tde_libdir}/libkbabelcommon.so.* -%{tde_libdir}/libkbabeldictplugin.so.* -%{tde_tdelibdir}/kfile_po.la -%{tde_tdelibdir}/kfile_po.so -%{tde_tdelibdir}/pothumbnail.la -%{tde_tdelibdir}/pothumbnail.so -%{tde_tdelibdir}/kbabel_accelstool.la -%{tde_tdelibdir}/kbabel_accelstool.so -%{tde_tdelibdir}/kbabel_argstool.la -%{tde_tdelibdir}/kbabel_argstool.so -%{tde_tdelibdir}/kbabel_contexttool.la -%{tde_tdelibdir}/kbabel_contexttool.so -%{tde_tdelibdir}/kbabel_equationstool.la -%{tde_tdelibdir}/kbabel_equationstool.so -%{tde_tdelibdir}/kbabel_gettextexport.la -%{tde_tdelibdir}/kbabel_gettextexport.so -%{tde_tdelibdir}/kbabel_gettextimport.la -%{tde_tdelibdir}/kbabel_gettextimport.so -%{tde_tdelibdir}/kbabel_lengthtool.la -%{tde_tdelibdir}/kbabel_lengthtool.so -%{tde_tdelibdir}/kbabel_linguistexport.la -%{tde_tdelibdir}/kbabel_linguistexport.so -%{tde_tdelibdir}/kbabel_linguistimport.la -%{tde_tdelibdir}/kbabel_linguistimport.so -%{tde_tdelibdir}/kbabel_nottranslatedtool.la -%{tde_tdelibdir}/kbabel_nottranslatedtool.so -%{tde_tdelibdir}/kbabel_pluraltool.la -%{tde_tdelibdir}/kbabel_pluraltool.so -%{tde_tdelibdir}/kbabel_punctuationtool.la -%{tde_tdelibdir}/kbabel_punctuationtool.so -%{tde_tdelibdir}/kbabel_regexptool.la -%{tde_tdelibdir}/kbabel_regexptool.so -%{tde_tdelibdir}/kbabel_setfuzzytool.la -%{tde_tdelibdir}/kbabel_setfuzzytool.so -%{tde_tdelibdir}/kbabel_whitespacetool.la -%{tde_tdelibdir}/kbabel_whitespacetool.so -%{tde_tdelibdir}/kbabel_xliffexport.la -%{tde_tdelibdir}/kbabel_xliffexport.so -%{tde_tdelibdir}/kbabel_xliffimport.la -%{tde_tdelibdir}/kbabel_xliffimport.so -%{tde_tdelibdir}/kbabel_xmltool.la -%{tde_tdelibdir}/kbabel_xmltool.so -%{tde_tdelibdir}/kbabeldict_dbsearchengine.la -%{tde_tdelibdir}/kbabeldict_dbsearchengine.so -%{tde_tdelibdir}/kbabeldict_poauxiliary.la -%{tde_tdelibdir}/kbabeldict_poauxiliary.so -%{tde_tdelibdir}/kbabeldict_pocompendium.la -%{tde_tdelibdir}/kbabeldict_pocompendium.so -%{tde_tdelibdir}/kbabeldict_tmxcompendium.la -%{tde_tdelibdir}/kbabeldict_tmxcompendium.so -%{tde_tdeappdir}/catalogmanager.desktop -%{tde_tdeappdir}/kbabel.desktop -%{tde_tdeappdir}/kbabeldict.desktop -%{tde_datadir}/apps/catalogmanager/catalogmanagerui.rc -%{tde_datadir}/apps/kbabel/ -%{tde_datadir}/apps/kconf_update/kbabel-difftoproject.upd -%{tde_datadir}/apps/kconf_update/kbabel-project.upd -%{tde_datadir}/apps/kconf_update/kbabel-projectrename.upd -%{tde_datadir}/config.kcfg/kbabel.kcfg -%{tde_datadir}/config.kcfg/kbprojectsettings.kcfg -%{tde_tdedocdir}/HTML/en/kbabel/ -%{tde_datadir}/icons/hicolor/*/apps/catalogmanager.png -%{tde_datadir}/icons/hicolor/*/apps/kbabel.png -%{tde_datadir}/icons/hicolor/*/apps/kbabeldict.png -%{tde_datadir}/icons/locolor/*/apps/catalogmanager.png -%{tde_datadir}/icons/locolor/*/apps/kbabel.png -%{tde_datadir}/icons/locolor/*/apps/kbabeldict.png -%{tde_datadir}/services/dbsearchengine.desktop -%{tde_datadir}/services/kfile_po.desktop -%{tde_datadir}/services/pothumbnail.desktop -%{tde_datadir}/services/kbabel_accelstool.desktop -%{tde_datadir}/services/kbabel_argstool.desktop -%{tde_datadir}/services/kbabel_contexttool.desktop -%{tde_datadir}/services/kbabel_equationstool.desktop -%{tde_datadir}/services/kbabel_gettext_export.desktop -%{tde_datadir}/services/kbabel_gettext_import.desktop -%{tde_datadir}/services/kbabel_lengthtool.desktop -%{tde_datadir}/services/kbabel_linguist_export.desktop -%{tde_datadir}/services/kbabel_linguist_import.desktop -%{tde_datadir}/services/kbabel_nottranslatedtool.desktop -%{tde_datadir}/services/kbabel_pluralformstool.desktop -%{tde_datadir}/services/kbabel_punctuationtool.desktop -%{tde_datadir}/services/kbabel_regexptool.desktop -%{tde_datadir}/services/kbabel_setfuzzytool.desktop -%{tde_datadir}/services/kbabel_whitespacetool.desktop -%{tde_datadir}/services/kbabel_xliff_export.desktop -%{tde_datadir}/services/kbabel_xliff_import.desktop -%{tde_datadir}/services/kbabel_xmltool.desktop -%{tde_datadir}/services/pocompendium.desktop -%{tde_datadir}/services/poauxiliary.desktop -%{tde_datadir}/services/tmxcompendium.desktop -%{tde_datadir}/servicetypes/kbabel_tool.desktop -%{tde_datadir}/servicetypes/kbabel_validator.desktop -%{tde_datadir}/servicetypes/kbabeldict_module.desktop -%{tde_datadir}/servicetypes/kbabelfilter.desktop - -%post -n trinity-kbabel -/sbin/ldconfig || : -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kbabel -/sbin/ldconfig || : -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kbabel-devel -Summary: PO-file editing suite for Trinity (development files) -Group: Development/Libraries -Requires: trinity-kbabel = %{version}-%{release} - -%description -n trinity-kbabel-devel -This is a suite of programs for editing gettext message files (PO-files). -It is designed to help you translate fast and consistently. - -This suite includes KBabel, CatalogManager and KBabelDict. KBabel is an -advanced and easy to use PO-file editor with full navigational and editing -capabilities, syntax checking and statistics. CatalogManager is a multi -functional catalog manager which allows you to keep track of many -PO-files at once. KBabelDict is a dictionary to assist with searching -for common translations. - -This package contains the KBabel development files. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kbabel-devel -%{tde_tdeincludedir}/kbabel/ -%{tde_libdir}/libkbabelcommon.la -%{tde_libdir}/libkbabelcommon.so -%{tde_libdir}/libkbabeldictplugin.la -%{tde_libdir}/libkbabeldictplugin.so - -%post -n trinity-kbabel-devel -/sbin/ldconfig || : - -%postun -n trinity-kbabel-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kbugbuster -Summary: a front end for the Trinity bug tracking system -Group: Development/Utilities - -%description -n trinity-kbugbuster -KBugBuster is a GUI front end for the TDE bug tracking system. -It allows the user to view and manipulate bug reports and provides a -variety of options for searching through reports. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kbugbuster -%{tde_bindir}/kbugbuster -%{tde_tdelibdir}/kcal_bugzilla.la -%{tde_tdelibdir}/kcal_bugzilla.so -%{tde_tdeappdir}/kbugbuster.desktop -%{tde_datadir}/apps/kbugbuster/ -%{tde_datadir}/icons/hicolor/*/apps/kbugbuster.png -%{tde_datadir}/icons/locolor/*/apps/kbugbuster.png -%{tde_datadir}/services/kresources/kcal/bugzilla.desktop -%{tde_tdedocdir}/HTML/en/kbugbuster/ - -%post -n trinity-kbugbuster -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kbugbuster -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-tdecachegrind -Summary: visualisation tool for valgrind profiling output -Group: Development/Utilities - -%description -n trinity-tdecachegrind -KCachegrind is a visualisation tool for the profiling data generated -by calltree, a profiling skin for valgrind. Applications can be -profiled using calltree without being recompiled, and shared libraries -and plugin architectures are supported. - -For visualising the output from other profiling tools, several converters -can be found in the tdecachegrind-converters package. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-tdecachegrind -%{tde_bindir}/kcachegrind -%{tde_tdeappdir}/kcachegrind.desktop -%{tde_datadir}/apps/kcachegrind/ -%{tde_datadir}/icons/locolor/*/apps/kcachegrind.png -%{tde_datadir}/icons/hicolor/*/apps/kcachegrind.png -%{tde_datadir}/mimelnk/application/x-kcachegrind.desktop -%{tde_tdedocdir}/HTML/en/kcachegrind/ - -%post -n trinity-tdecachegrind -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-tdecachegrind -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-tdecachegrind-converters -Summary: format converters for KCachegrind profiling visualisation tool -Group: Development/Utilities -Requires: python -%if 0%{?suse_version} || 0%{?rhel} == 4 -Requires: php -%else -Requires: php-cli -%endif - -%description -n trinity-tdecachegrind-converters -This is a collection of scripts for converting the output from -different profiling tools into a format that KCachegrind can use. - -KCachegrind is a visualisation tool for the profiling data generated -by calltree, a profiling skin for valgrind. Applications can be -profiled using calltree without being recompiled, and shared libraries -and plugin architectures are supported. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-tdecachegrind-converters -%{tde_bindir}/dprof2calltree -%{tde_bindir}/hotshot2calltree -%{tde_bindir}/memprof2calltree -%{tde_bindir}/op2calltree -%{tde_bindir}/pprof2calltree - -########## - -%package kfile-plugins -Summary: Trinity file dialog plugins for software development files -Group: Environment/Libraries - -%description kfile-plugins -This is a collection of plugins for the TDE file dialog. These plugins -extend the file dialog to offer advanced meta-information for source files, -patch files and Qt Linguist data. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files kfile-plugins -%{tde_tdelibdir}/kfile_cpp.so -%{tde_tdelibdir}/kfile_cpp.la -%{tde_tdelibdir}/kfile_diff.so -%{tde_tdelibdir}/kfile_diff.la -%{tde_tdelibdir}/kfile_ts.so -%{tde_tdelibdir}/kfile_ts.la -%{tde_datadir}/services/kfile_cpp.desktop -%{tde_datadir}/services/kfile_diff.desktop -%{tde_datadir}/services/kfile_h.desktop -%{tde_datadir}/services/kfile_ts.desktop - -########## - -%package misc -Summary: various goodies from the Trinity Software Development Kit -Group: Development/Libraries - -%description misc -This package contains miscellaneous goodies provided with the official -TDE release to assist with TDE software development. - -Included are: -- headers to assist with profiling TDE code; -- a widget style for checking conformity with the TDE/Qt style guide; -- palettes that match the KDE standard colour palette; -- a TDE address book plugin that reads the list of TDE CVS accounts. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files misc -%{tde_tdeincludedir}/kprofilemethod.h -%{tde_tdelibdir}/kabcformat_kdeaccounts.la -%{tde_tdelibdir}/kabcformat_kdeaccounts.so -%{tde_tdelibdir}/plugins/styles/scheck.so -%{tde_tdelibdir}/plugins/styles/scheck.la -%{tde_datadir}/apps/kabc/formats/kdeaccountsplugin.desktop -%{tde_datadir}/apps/kstyle/themes/scheck.themerc -%{tde_datadir}/kdepalettes/ - -%{tde_libdir}/libkstartperf.so.* -%{tde_libdir}/libkstartperf.so -%{tde_libdir}/libkstartperf.la -%{tde_bindir}/kstartperf - -%post misc -/sbin/ldconfig || : - -%postun misc -/sbin/ldconfig || : - -########## - -%package scripts -Summary: a set of useful development scripts for Trinity -Group: Development/Utilities -Requires: python - -%description scripts -This package contains a number of scripts which can be used to help in -developing TDE-based applications. Many of these scripts however are -not specific to TDE, and in particular there are several general-use -scripts to help users in working with SVN and CVS repositories. - -In addition to these scripts, this package provides: -- gdb macros for Qt/TDE programming; -- vim and emacs helper files for Qt/TDE programming; -- bash and zsh completion controls for TDE apps; -- valgrind error suppressions for TDE apps. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files scripts -%{tde_bindir}/adddebug -%{tde_bindir}/build-progress.sh -%{tde_bindir}/cheatmake -%{tde_bindir}/create_cvsignore -%{tde_bindir}/create_makefile -%{tde_bindir}/create_makefiles -%{tde_bindir}/cvs-clean -%{tde_bindir}/cvs2dist -%{tde_bindir}/cvsbackport -%{tde_bindir}/cvsblame -%{tde_bindir}/cvscheck -%{tde_bindir}/cvsforwardport -%{tde_bindir}/cvslastchange -%{tde_bindir}/cvslastlog -%{tde_bindir}/cvsrevertlast -%{tde_bindir}/cvsversion -%{tde_bindir}/cxxmetric -%{tde_bindir}/extend_dmalloc -%{tde_bindir}/extractattr -%{tde_bindir}/extractrc -%{tde_bindir}/findmissingcrystal -%{tde_bindir}/fixkdeincludes -%{tde_bindir}/fixuifiles -%{tde_bindir}/includemocs -%{tde_bindir}/kde-build -%{tde_bindir}/kdedoc -%{tde_bindir}/kdekillall -%{tde_bindir}/kdelnk2desktop.py* -%{tde_bindir}/kdemangen.pl -%{tde_bindir}/makeobj -%{tde_bindir}/noncvslist -%{tde_bindir}/package_crystalsvg -%{tde_bindir}/png2mng.pl -%{tde_bindir}/pruneemptydirs -%{tde_bindir}/qtdoc -%{tde_bindir}/zonetab2pot.py* -%{tde_bindir}/svn2dist -%{tde_bindir}/svnrevertlast -%{tde_bindir}/svnforwardport -%{tde_bindir}/nonsvnlist -%{tde_bindir}/[kt]desvn-build -%{tde_bindir}/svnlastlog -%{tde_bindir}/svnversions -%{tde_bindir}/create_svnignore -%{tde_bindir}/svnlastchange -%{tde_bindir}/colorsvn -%{tde_bindir}/svnaddcurrentdir -%{tde_bindir}/svnbackport -%{tde_bindir}/svngettags -%{tde_bindir}/svnchangesince -%{tde_bindir}/svn-clean -%{tde_datadir}/apps/katepart/syntax/[kt]desvn-buildrc.xml -%{tde_mandir}/man1/cvsblame.1 -%{tde_mandir}/man1/cvscheck.1 -%{tde_mandir}/man1/cvsversion.1 -%{tde_mandir}/man1/kde-build.1 -%{tde_mandir}/man1/includemocs.1 -%{tde_mandir}/man1/noncvslist.1 -%{tde_mandir}/man1/[kt]desvn-build.1 -%{tde_tdedocdir}/HTML/en/[kt]desvn-build/ -#scripts/kde-devel-gdb /opt/trinity/share/tdesdk-scripts -#scripts/kde-devel-vim.vim /opt/trinity/share/tdesdk-scripts -#scripts/kde-emacs/*.el /opt/trinity/share/emacs/site-lisp/tdesdk-scripts -#scripts/kde.supp /opt/trinity/lib/valgrind -#scripts/completions /opt/trinity/share/tdesdk-scripts - -#debian/desktop-i18n/createdesktop.pl /opt/trinity/lib/kubuntu-desktop-i18n/ -#debian/desktop-i18n/findfiles /opt/trinity/lib/kubuntu-desktop-i18n/ -#debian/desktop-i18n/msgsplit /opt/trinity/lib/kubuntu-desktop-i18n/ - -%if "%{?tde_prefix}" != "/usr" -%{tde_bindir}/licensecheck -%else -%exclude %{tde_bindir}/licensecheck -%endif - -########## - -%package -n trinity-kmtrace -Summary: a Trinity memory leak tracer -Group: Development/Utilities -Requires: less - -%description -n trinity-kmtrace -KMtrace is a TDE tool to assist with malloc debugging using glibc's -"mtrace" functionality. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kmtrace -%{tde_bindir}/demangle -%{tde_bindir}/kminspector -%{tde_bindir}/kmmatch -%{tde_bindir}/kmtrace -%{tde_tdeincludedir}/ktrace.h -%{tde_libdir}/kmtrace/libktrace.la -%{tde_libdir}/kmtrace/libktrace.so -%{tde_libdir}/kmtrace/libktrace_s.a -%{tde_datadir}/apps/kmtrace/kde.excludes - -########## - -%package -n trinity-kompare -Summary: a Trinity GUI for viewing differences between files -Group: Development/Utilities - -%description -n trinity-kompare -Kompare is a graphical user interface for viewing the differences between -files. It can compare two documents, create a diff file, display a diff -file and/or blend a diff file back into the original documents. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kompare -%{tde_bindir}/kompare -%{tde_libdir}/libkompareinterface.la -%{tde_libdir}/libkompareinterface.so -%{tde_libdir}/libkompareinterface.so.* -%{tde_tdelibdir}/libkomparenavtreepart.la -%{tde_tdelibdir}/libkomparenavtreepart.so -%{tde_tdelibdir}/libkomparepart.la -%{tde_tdelibdir}/libkomparepart.so -%{tde_tdeappdir}/kompare.desktop -%{tde_datadir}/apps/kompare/komparepartui.rc -%{tde_datadir}/apps/kompare/kompareui.rc -%{tde_datadir}/services/komparenavtreepart.desktop -%{tde_datadir}/services/komparepart.desktop -%{tde_datadir}/servicetypes/komparenavigationpart.desktop -%{tde_datadir}/servicetypes/kompareviewpart.desktop -%{tde_datadir}/icons/hicolor/*/apps/kompare.png -%{tde_datadir}/icons/hicolor/scalable/apps/kompare.svgz -%{tde_tdedocdir}/HTML/en/kompare/ - -%post -n trinity-kompare -/sbin/ldconfig || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kompare -/sbin/ldconfig || : -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kspy -Summary: examines the internal state of a Qt/TDE app -Group: Environment/Libraries -Requires: trinity-tdelibs-devel - -%description -n trinity-kspy -KSpy is a tiny library which can be used to graphically display -the QObjects in use by a Qt/TDE app. In addition to the object tree, -you can also view the properties, signals and slots of any QObject. - -Basically it provides much the same info as QObject::dumpObjectTree() and -QObject::dumpObjectInfo(), but in a much more convenient form. KSpy has -minimal overhead for the application, because the kspy library is -loaded dynamically using KLibLoader. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kspy -%{tde_tdeincludedir}/kspy.h -%{tde_libdir}/libkspy.la -%{tde_libdir}/libkspy.so -%{tde_libdir}/libkspy.so.* - -%post -n trinity-kspy -/sbin/ldconfig || : - -%postun -n trinity-kspy -/sbin/ldconfig || : - -########## - -%package -n trinity-kuiviewer -Summary: viewer for Qt Designer user interface files -Group: Development/Utilities - -%description -n trinity-kuiviewer -KUIViewer is a utility to display and test the user interface (.ui) files -generated by Qt Designer. The interfaces can be displayed in a variety of -different widget styles. - -The Qt Designer itself is in the package qt3-designer. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kuiviewer -%{tde_bindir}/kuiviewer -%{tde_tdelibdir}/libkuiviewerpart.so -%{tde_tdelibdir}/libkuiviewerpart.la -%{tde_tdelibdir}/quithumbnail.so -%{tde_tdelibdir}/quithumbnail.la -%{tde_tdeappdir}/kuiviewer.desktop -%{tde_datadir}/apps/kuiviewer/kuiviewerui.rc -%{tde_datadir}/apps/kuiviewerpart/kuiviewer_part.rc -%{tde_datadir}/icons/hicolor/*/apps/kuiviewer.png -%{tde_datadir}/icons/locolor/*/apps/kuiviewer.png -%{tde_datadir}/services/designerthumbnail.desktop -%{tde_datadir}/services/kuiviewer_part.desktop - -%post -n trinity-kuiviewer -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done - -%postun -n trinity-kuiviewer -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done - -########## - -%package -n trinity-libcvsservice0 -Summary: DCOP service for accessing CVS repositories -Group: Environment/Libraries -Requires: cvs - -%description -n trinity-libcvsservice0 -This library provides a DCOP service for accessing and working with -remote CVS repositories. Applications may link with this library to -access the DCOP service directly from C++. Alternatively, scripts may -access the service using the standard "dcop" command-line tool. - -DCOP is the Desktop Communication Protocol used throughout TDE. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-libcvsservice0 -%{tde_bindir}/cvsaskpass -%{tde_bindir}/cvsservice -%{tde_libdir}/libcvsservice.so.* -%{tde_libdir}/lib[kt]deinit_cvsaskpass.so -%{tde_libdir}/lib[kt]deinit_cvsservice.so -%{tde_tdelibdir}/cvsaskpass.la -%{tde_tdelibdir}/cvsaskpass.so -%{tde_tdelibdir}/cvsservice.la -%{tde_tdelibdir}/cvsservice.so -%{tde_datadir}/services/cvsservice.desktop - -%post -n trinity-libcvsservice0 -/sbin/ldconfig || : - -%postun -n trinity-libcvsservice0 -/sbin/ldconfig || : - -########## - -%package -n trinity-libcvsservice-devel -Summary: development files for CVS DCOP service -Group: Development/Libraries -Requires: trinity-libcvsservice0 = %{version}-%{release} - -%description -n trinity-libcvsservice-devel -The library libcvsservice provides a DCOP service for accessing and -working with remote CVS repositories. Applications may link with this -library to access the DCOP service directly from C++. Alternatively, -scripts may access the service using the standard "dcop" command-line -tool. - -Development files for libcvsservice are included in this package. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-libcvsservice-devel -%{tde_tdeincludedir}/cvsjob_stub.h -%{tde_tdeincludedir}/cvsservice_stub.h -%{tde_tdeincludedir}/repository_stub.h -%{tde_libdir}/libcvsservice.la -%{tde_libdir}/libcvsservice.so -%{tde_libdir}/lib[kt]deinit_cvsaskpass.la -%{tde_libdir}/lib[kt]deinit_cvsservice.la -%{tde_datadir}/cmake/cervisia.cmake - -%post -n trinity-libcvsservice-devel -/sbin/ldconfig || : - -%postun -n trinity-libcvsservice-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-poxml -Summary: tools for using PO-files to translate DocBook XML files -Group: Development/Utilities - -%description -n trinity-poxml -This is a collection of tools that facilitate translating DocBook XML -files using gettext message files (PO-files). - -Also included are some miscellaneous command-line utilities for -manipulating DocBook XML files, PO-files and PO-template files. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-poxml -%{tde_bindir}/po2xml -%{tde_bindir}/split2po -%{tde_bindir}/swappo -%{tde_bindir}/transxx -%{tde_bindir}/xml2pot - -########## - -%package -n trinity-umbrello -Summary: UML modelling tool and code generator -Group: Development/Utilities - -%description -n trinity-umbrello -Umbrello UML Modeller is a Unified Modelling Language editor for TDE. -With UML you can create diagrams of software and other systems in an -industry standard format. Umbrello can also generate code from your -UML diagrams in a number of programming languages. - -The program supports class diagrams, sequence diagrams, collaboration -diagrams, use case diagrams, state diagrams, activity diagrams, component -diagrams and deployment diagrams. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-umbrello -%{tde_bindir}/umbodoc -%{tde_bindir}/umbrello -%{tde_tdeappdir}/umbrello.desktop -%{tde_datadir}/apps/umbrello/ -%{tde_datadir}/icons/crystalsvg/*/actions/umbrello_*.png -%{tde_datadir}/icons/crystalsvg/*/mimetypes/umbrellofile.png -%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/umbrellofile.svgz -%{tde_datadir}/icons/hicolor/*/apps/umbrello.png -%{tde_datadir}/icons/hicolor/scalable/apps/umbrello.svgz -%{tde_datadir}/icons/hicolor/*/mimetypes/umbrellofile.png -%{tde_datadir}/mimelnk/application/x-umbrello.desktop -%{tde_tdedocdir}/HTML/en/umbrello/ - -%post -n trinity-umbrello -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-umbrello -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%if 0%{?build_kioslave} - -%package tdeio-plugins -Summary: subversion ioslave for Trinity -Group: Environment/Libraries -Requires: subversion - -Obsoletes: trinity-tdesdk-kio-plugins < %{version}-%{release} -Provides: trinity-tdesdk-kio-plugins = %{version}-%{release} - -%description tdeio-plugins -This package provides easy access to remote SVN repositories from within -Konqueror, and TDE generally, by browsing them as if they were a -filesystem, using URLs like svn://hostname/path, or svn+ssh://, etc. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files tdeio-plugins -%{tde_bindir}/kio_svn_helper -%{tde_tdelibdir}/kded_ksvnd.la -%{tde_tdelibdir}/kded_ksvnd.so -%{tde_tdelibdir}/kio_svn.la -%{tde_tdelibdir}/kio_svn.so -%{tde_datadir}/apps/konqueror/servicemenus/subversion_toplevel.desktop -%{tde_datadir}/apps/konqueror/servicemenus/subversion.desktop -%{tde_datadir}/services/kded/ksvnd.desktop -%{tde_datadir}/services/svn+file.protocol_tdesdk -%{tde_datadir}/services/svn+http.protocol_tdesdk -%{tde_datadir}/services/svn+https.protocol_tdesdk -%{tde_datadir}/services/svn+ssh.protocol_tdesdk -%{tde_datadir}/services/svn.protocol_tdesdk -%{tde_datadir}/services/svn+file.protocol -%{tde_datadir}/services/svn+http.protocol -%{tde_datadir}/services/svn+https.protocol -%{tde_datadir}/services/svn+ssh.protocol -%{tde_datadir}/services/svn.protocol -%{_sysconfdir}/alternatives/svn+file.protocol -%{_sysconfdir}/alternatives/svn+http.protocol -%{_sysconfdir}/alternatives/svn+https.protocol -%{_sysconfdir}/alternatives/svn+ssh.protocol -%{_sysconfdir}/alternatives/svn.protocol -%{tde_datadir}/icons/crystalsvg/*/actions/svn_switch.png -%{tde_datadir}/icons/crystalsvg/*/actions/svn_merge.png -%{tde_datadir}/icons/crystalsvg/*/actions/svn_branch.png -%{tde_datadir}/icons/crystalsvg/*/actions/svn_remove.png -%{tde_datadir}/icons/crystalsvg/*/actions/svn_add.png -%{tde_datadir}/icons/crystalsvg/*/actions/svn_status.png -%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_add.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_status.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_remove.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_switch.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_branch.svgz -%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_merge.svgz - -%post tdeio-plugins -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done - -for proto in svn+file svn+http svn+https svn+ssh svn; do - update-alternatives --install \ - %{tde_datadir}/services/${proto}.protocol \ - ${proto}.protocol \ - %{tde_datadir}/services/${proto}.protocol_tdesdk \ - 10 -done - -%postun tdeio-plugins -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done - -%preun tdeio-plugins -if [ $1 -eq 0 ]; then - for proto in svn+file svn+http svn+https svn+ssh svn; do - update-alternatives --remove \ - ${proto}.protocol \ - %{tde_datadir}/services/${proto}.protocol_tdesdk - done -fi - -%endif - -########## - -%package -n trinity-kunittest -Summary: unit testing library for Trinity -Group: Development/Utilities - -%description -n trinity-kunittest -KUnitTest is a small library that facilitates the writing of tests for -TDE developers. There are two ways to use the KUnitTest library. One is -to create dynamically loadable modules and use the kunittestmodrunner or -kunittestguimodrunner programs to run the tests. The other is to use the -libraries to create your own testing application. - -This package is part of Trinity, and a component of the TDE SDK module. - -%files -n trinity-kunittest -%{tde_bindir}/kunittest -%{tde_bindir}/kunittest_debughelper -%{tde_bindir}/kunittestmod -%{tde_bindir}/kunittestguimodrunner -%{tde_libdir}/libkunittestgui.la -%{tde_libdir}/libkunittestgui.so -%{tde_libdir}/libkunittestgui.so.* -%{tde_tdeincludedir}/kunittest/runnergui.h - -%post -n trinity-kunittest -/sbin/ldconfig || : - -%postun -n trinity-kunittest -/sbin/ldconfig || : - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries - -Requires: %{name} = %{version}-%{release} -Requires: trinity-kbabel-devel = %{version}-%{release} - -Obsoletes: trinity-kdesdk-devel < %{version}-%{release} -Provides: trinity-kdesdk-devel = %{version}-%{release} - -%description devel -%{summary}. - -%files devel - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - - -%prep -%setup -q - - -%build -unset QTDIR || :; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LD_LIBRARY_PATH="%{tde_libdir}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" - -# Specific path for RHEL4 -if [ -d /usr/X11R6 ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - - -%cmake \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DMAN_INSTALL_DIR=%{tde_mandir} \ - -DPKGCONFIG_INSTALL_DIR=%{tde_tdelibdir}/pkgconfig \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - -DWITH_DBSEARCHENGINE=ON \ - -DWITH_KCAL=ON \ - -DBUILD_ALL=ON \ - %{!?build_kioslave:-DBUILD_KIOSLAVE=OFF} \ - .. - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{buildroot} - -%__make install DESTDIR=%{?buildroot} -C build - -# make symlinks relative -if [ -d %{buildroot}%{tde_tdedocdir}/HTML/en ]; then - pushd %{buildroot}%{tde_tdedocdir}/HTML/en - for i in *; do - if [ -d $i -a -L $i/common ]; then - rm -f $i/common - ln -nfs ../common $i - fi - done - popd -fi - -# Installs kdepalettes -%__install -D -m 644 kdepalettes/kde_xpaintrc %{?buildroot}%{tde_datadir}/kdepalettes -%__install -D -m 644 kdepalettes/KDE_Gimp %{?buildroot}%{tde_datadir}/kdepalettes -%__install -D -m 644 kdepalettes/README %{?buildroot}%{tde_datadir}/kdepalettes - -# Installs SVN protocols as alternatives -%if 0%{?build_kioslave} -%__mv -f %{?buildroot}%{tde_datadir}/services/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol_tdesdk -%__mv -f %{?buildroot}%{tde_datadir}/services/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol_tdesdk -%__mv -f %{?buildroot}%{tde_datadir}/services/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol_tdesdk -%__mv -f %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol_tdesdk -%__mv -f %{?buildroot}%{tde_datadir}/services/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol_tdesdk - -%__ln_s -f /etc/alternatives/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol -%__ln_s -f /etc/alternatives/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol -%__ln_s -f /etc/alternatives/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol -%__ln_s -f /etc/alternatives/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol -%__ln_s -f /etc/alternatives/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol - -%__mkdir_p %{?buildroot}/etc/alternatives -%__ln_s -f %{tde_datadir}/services/svn+file.protocol %{?buildroot}/etc/alternatives/svn+file.protocol -%__ln_s -f %{tde_datadir}/services/svn+http.protocol %{?buildroot}/etc/alternatives/svn+http.protocol -%__ln_s -f %{tde_datadir}/services/svn+https.protocol %{?buildroot}/etc/alternatives/svn+https.protocol -%__ln_s -f %{tde_datadir}/services/svn+ssh.protocol %{?buildroot}/etc/alternatives/svn+ssh.protocol -%__ln_s -f %{tde_datadir}/services/svn.protocol %{?buildroot}/etc/alternatives/svn.protocol -%endif - -# Removes useless stuff -%__rm -f %{?buildroot}%{tde_datadir}/apps/kapptemplate/admin/debianrules - -%clean -%__rm -rf %{buildroot} - - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 -- Initial release for TDE 3.5.13.2 - -* Wed Nov 07 2012 Francois Andriot - 3.5.13.1-2 -- Fix various cmake issues [Bug #1262] - diff --git a/redhat/tdetoys/kdetoys-3.5.12.spec b/redhat/tdetoys/kdetoys-3.5.12.spec new file mode 100644 index 000000000..6641945c2 --- /dev/null +++ b/redhat/tdetoys/kdetoys-3.5.12.spec @@ -0,0 +1,165 @@ +# Default version for this component +%if "%{?version}" == "" +%define version 3.5.12 +%endif +%define release 4 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_prefix}/share/doc +%endif + +# TDE 3.5.12 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir} +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/kde3 + + +Summary: K Desktop Environment - Toys and Amusements +Name: trinity-kdetoys +Group: Amusements/Graphics +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + +License: GPLv2+ +Source0: kdetoys-%{version}.tar.gz + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: desktop-file-utils +BuildRequires: tqtinterface-devel >= %{version} +BuildRequires: trinity-kdelibs-devel >= %{version} +BuildRequires: gettext + + +%description +Includes: +* amor: Amusing Misuse Of Resources put's comic figures above your windows +* eyesapplet: a kicker applet similar to XEyes +* fifteenapplet: kicker applet, order 15 pieces in a 4x4 square by moving them +* kmoon: system tray applet showing the moon phase +* kodo: mouse movement meter +* kteatime: system tray applet that makes sure your tea doesn't get too strong +* ktux: Tux-in-a-Spaceship screen saver +* kweather: kicker applet that will display the current weather outside +* kworldwatch: application and kicker applet showing daylight area on the world + globe + +NOTE: kicker applets and screen savers require kdebase to be installed, +and user to be logged-in to KDE. + + +%prep +%setup -q -n kdetoys + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%configure \ + --includedir=%{_includedir}/kde \ + --disable-rpath \ + --enable-new-ldflags \ + --disable-debug --disable-warnings \ + --disable-dependency-tracking --enable-final \ + --with-extra-includes=%{_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf "%{buildroot}" +%__make install DESTDIR=%{buildroot} + +desktop-file-install \ + --dir=%{buildroot}%{_datadir}/applnk/System/ScreenSavers \ + --vendor="" \ + %{buildroot}%{_datadir}/applnk/System/ScreenSavers/*.desktop ||: + +desktop-file-install \ + --dir=%{buildroot}%{_datadir}/applications/kde \ + --vendor="" \ + %{buildroot}%{_datadir}/applications/kde/*.desktop ||: + +# replace absolute symlink with relative +ln -nfs tips-en %{buildroot}%{_datadir}/apps/amor/tips + +## File lists +# locale's +%find_lang %{name} || touch %{name}.lang +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi +done +fi + +## Unpackaged files +# not sure the point of just one header file 'AmorIface.h', omit (for now). +%__rm -rf %{buildroot}%{_includedir} + + +%post +touch --no-create %{_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: + +%postun +touch --no-create %{_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: + + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING README +%{_bindir}/* +%{_libdir}/libkdeinit_*.* +%{tde_libdir}/* +%{_datadir}/applications/kde/*.desktop +%{_datadir}/applnk/System/ScreenSavers/*.desktop +%{_datadir}/apps/* +%{_datadir}/icons/hicolor/*/*/* +%{_datadir}/service*/*.desktop + + +%clean +%__rm -rf %{buildroot} + + +%changelog +* Mon Sep 19 2011 Francois Andriot - 3.5.12-4 +- Add support for RHEL5 + +* Sun Sep 11 2011 Francois Andriot - 3.5.12-3 +- Import to GIT + +* Mon Aug 22 2011 Francois Andriot - 3.5.12-2 +- Correct macro to install under "/opt", if desired + +* Fri Aug 05 2011 Francois Andriot - 3.5.12-1 +- Initial version +- Spec file based on Fedora 8 "kdetoys 7:3.5.10-1" + diff --git a/redhat/tdetoys/kdetoys-3.5.13.1.spec b/redhat/tdetoys/kdetoys-3.5.13.1.spec new file mode 100644 index 000000000..15373cca0 --- /dev/null +++ b/redhat/tdetoys/kdetoys-3.5.13.1.spec @@ -0,0 +1,450 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Summary: Trinity Desktop Environment - Toys and Amusements +Name: trinity-tdetoys +Group: Amusements/Graphics +Version: 3.5.13.1 +Release: 1%{?dist}%{?_variant} + +License: GPLv2+ +Source0: kdetoys-3.5.13.1.tar.gz + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: autoconf automake libtool m4 +BuildRequires: desktop-file-utils +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: gettext + +Obsoletes: trinity-kdetoys < %{version}-%{release} +Provides: trinity-kdetoys = %{version}-%{release} + +# Metapackage +Requires: trinity-amor = %{version}-%{release} +Requires: trinity-eyesapplet = %{version}-%{release} +Requires: trinity-fifteenapplet = %{version}-%{release} +Requires: trinity-kmoon = %{version}-%{release} +Requires: trinity-kodo = %{version}-%{release} +Requires: trinity-kteatime = %{version}-%{release} +Requires: trinity-ktux = %{version}-%{release} +Requires: trinity-kweather = %{version}-%{release} +Requires: trinity-kworldclock = %{version}-%{release} + + +%description +Includes: +* amor: Amusing Misuse Of Resources put's comic figures above your windows +* eyesapplet: a kicker applet similar to XEyes +* fifteenapplet: kicker applet, order 15 pieces in a 4x4 square by moving them +* kmoon: system tray applet showing the moon phase +* kodo: mouse movement meter +* kteatime: system tray applet that makes sure your tea doesn't get too strong +* ktux: Tux-in-a-Spaceship screen saver +* kweather: kicker applet that will display the current weather outside +* kworldwatch: application and kicker applet showing daylight area on the world + globe + +NOTE: kicker applets and screen savers require kdebase to be installed, +and user to be logged-in to TDE. + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING README + +########## + +%package -n trinity-amor +Summary: a Trinity creature for your desktop +Group: Amusements/Graphics + +%description -n trinity-amor +AMOR stands for Amusing Misuse Of Resources. It provides several different +characters who prance around your X screen doing tricks and giving you tips. + +Note that AMOR will only work with some window managers. Both KWin (the +KDE window manager) and Metacity (a GTK2 window manager) are supported. + +This package is part of Trinity, and a component of the TDE toys module. + +%files -n trinity-amor +%defattr(-,root,root,-) +%{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 + +%post -n trinity-amor +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-amor +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-eyesapplet +Summary: eyes applet for Trinity +Group: Amusements/Graphics + +%description -n trinity-eyesapplet +An applet for the KDE panel containing a pair of eyes that follow your mouse +around the screen. + +This package is part of Trinity, and a component of the TDE toys module. + +%files -n trinity-eyesapplet +%defattr(-,root,root,-) +%{tde_tdelibdir}/eyes_panelapplet.la +%{tde_tdelibdir}/eyes_panelapplet.so +%{tde_datadir}/apps/kicker/applets/eyesapplet.desktop +%doc AUTHORS COPYING README + +########## + +%package -n trinity-fifteenapplet +Summary: fifteen pieces puzzle for Trinity +Group: Amusements/Graphics + +%description -n trinity-fifteenapplet +An applet for the KDE panel that lets you play the Fifteen Pieces +sliding block puzzle. You have to order 15 pieces in a 4x4 square by +moving them around. + +This package is part of Trinity, and a component of the TDE toys module. + +%files -n trinity-fifteenapplet +%defattr(-,root,root,-) +%{tde_tdelibdir}/fifteen_panelapplet.la +%{tde_tdelibdir}/fifteen_panelapplet.so +%{tde_datadir}/apps/kicker/applets/kfifteenapplet.desktop +%doc AUTHORS COPYING README + +########## + +%package -n trinity-kmoon +Summary: moon phase indicator for Trinity +Group: Amusements/Graphics + +%description -n trinity-kmoon +An applet for the KDE panel that displays the current phase of the moon. + +This package is part of Trinity, and a component of the TDE toys module. + +%files -n trinity-kmoon +%defattr(-,root,root,-) +%{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 + +%post -n trinity-kmoon +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: + +%postun +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: + +########## + +%package -n trinity-kodo +Summary: mouse odometer for Trinity +Group: Amusements/Graphics + +%description -n trinity-kodo +KOdometer measures your desktop mileage. It tracks the movement of your mouse +pointer across your desktop and renders it in inches/feet/miles! It can +do cm/metres/km too. Its most exciting feature is the tripometer. + +This package is part of Trinity, and a component of the TDE toys module. + +%files -n trinity-kodo +%defattr(-,root,root,-) +%{tde_bindir}/kodo +%{tde_tdeappdir}/kodo.desktop +%{tde_datadir}/apps/kodo/numbers.png +%{tde_datadir}/icons/hicolor/*/apps/kodo.png +%{tde_tdedocdir}/HTML/en/kodo/ +%doc AUTHORS COPYING README + +%post -n trinity-kodo +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kodo +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kteatime +Summary: Trinity utility for making a fine cup of tea +Group: Amusements/Graphics + +%description -n trinity-kteatime +KTeaTime is a handy timer for steeping tea. No longer will you have to +guess at how long it takes for your tea to be ready. Simply select the +type of tea you have, and it will alert you when the tea is ready to +drink. + +KTeaTime sits in the Trinity system tray. + +Please note that KTeaTime is written explicitly for Trinity. If you are +using a non-KDE window manager or desktop environment then it is quite +possible that KTeaTime will not work on your system. + +This package is part of Trinity, and a component of the TDE toys module. + +%files -n trinity-kteatime +%defattr(-,root,root,-) +%{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 + +%post -n trinity-kteatime +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kteatime +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ktux +Summary: Tux screensaver for Trinity +Group: Amusements/Graphics + +%description -n trinity-ktux +A neat Tux-in-a-spaceship screensaver for the K Desktop Environment (KDE). + +This package is part of Trinity, and a component of the TDE toys module. + +%files -n trinity-ktux +%defattr(-,root,root,-) +%{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 + +%post -n trinity-ktux +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: + +%postun -n trinity-ktux +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: + +########## + +%package -n trinity-kweather +Summary: weather display applet for Trinity +Group: Amusements/Graphics + +%description -n trinity-kweather +An applet for the KDE panel that displays your area's current weather. +Information shown includes the temperature, wind speed, air pressure +and more. By pressing a button a full weather report can be obtained. + +KWeather also provides a weather service that can track multiple weather +stations and provide this information to other applications, including +Konqueror's sidebar and Kontact's summary page. + +This package is part of Trinity, and a component of the TDE toys module. + +%files -n trinity-kweather +%defattr(-,root,root,-) +%{tde_bindir}/kweatherservice +%{tde_bindir}/kweatherreport +%{tde_libdir}/lib[kt]deinit_kweatherreport.so +%{tde_libdir}/lib[kt]deinit_kweatherreport.la +%{tde_tdelibdir}/kcm_weather.so +%{tde_tdelibdir}/kcm_weather.la +%{tde_tdelibdir}/kcm_weatherservice.so +%{tde_tdelibdir}/kcm_weatherservice.la +%{tde_tdelibdir}/kweatherreport.so +%{tde_tdelibdir}/kweatherreport.la +%{tde_tdelibdir}/weather_panelapplet.la +%{tde_tdelibdir}/weather_panelapplet.so +%{tde_datadir}/apps/kicker/applets/kweather.desktop +%{tde_datadir}/apps/kweather/ +%{tde_datadir}/apps/kweatherservice/stations.dat +%{tde_datadir}/apps/kweatherservice/weather_stations.desktop +%{tde_datadir}/icons/hicolor/*/apps/kweather.png +%{tde_datadir}/services/kweatherservice.desktop +%{tde_datadir}/services/kcmweather.desktop +%{tde_datadir}/services/kcmweatherservice.desktop +%{tde_tdedocdir}/HTML/en/kweather/ +%doc AUTHORS COPYING README + +%post -n trinity-kweather +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kweather +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kworldclock +Summary: earth watcher for Trinity +Group: Amusements/Graphics + +%description -n trinity-kworldclock +Displays where in the world it is light and dark depending on time, as +well as offering the time in all of the major cities of the world. +This can be run standalone, as an applet in the KDE panel or as a +desktop background. + +Additional kworldclock themes are available in the tdeartwork-misc package. + +This package is part of Trinity, and a component of the TDE toys module. + +%files -n trinity-kworldclock +%defattr(-,root,root,-) +%{tde_bindir}/kworldclock +%{tde_tdelibdir}/ww_panelapplet.la +%{tde_tdelibdir}/ww_panelapplet.so +%{tde_tdeappdir}/kworldclock.desktop +%{tde_datadir}/apps/kdesktop/programs/kdeworld.desktop +%{tde_datadir}/apps/kicker/applets/kwwapplet.desktop +%{tde_datadir}/apps/kworldclock/ +%{tde_datadir}/icons/hicolor/*/apps/kworldclock.png +%{tde_tdedocdir}/HTML/en/kworldclock/ +%doc AUTHORS COPYING README + +%post -n trinity-kworldclock +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kworldclock +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n kdetoys-3.5.13.1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export KDEDIR=%{tde_prefix} + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --enable-new-ldflags \ + --enable-closure \ + --disable-debug --disable-warnings \ + --disable-dependency-tracking --enable-final \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf "%{buildroot}" +%__make install DESTDIR=%{buildroot} + +# replace absolute symlink with relative +ln -nfs tips-en %{buildroot}%{tde_datadir}/apps/amor/tips + +## File lists +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi +done +fi + +# Useless include file from Amor +%__rm -f %{buildroot}%{tde_tdeincludedir}/AmorIface.h + + +%clean +%__rm -rf %{buildroot} + + +%changelog +* Sun Sep 30 2012 Francois Andriot - 3.5.13.1-1 +- Initial build for TDE 3.5.13.1 diff --git a/redhat/tdetoys/kdetoys-3.5.13.spec b/redhat/tdetoys/kdetoys-3.5.13.spec new file mode 100644 index 000000000..57f11f2a8 --- /dev/null +++ b/redhat/tdetoys/kdetoys-3.5.13.spec @@ -0,0 +1,459 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Summary: Trinity Desktop Environment - Toys and Amusements +Name: trinity-tdetoys +Group: Amusements/Graphics +Version: 3.5.13 +Release: 3%{?dist}%{?_variant} + +License: GPLv2+ +Source0: kdetoys-%{version}.tar.gz + +# [kdetoys] Missing LDFLAGS cause FTBFS on Mageia 2 +Patch1: kdetoys-3.5.13-missing_ldflags.patch + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: autoconf automake libtool m4 +BuildRequires: desktop-file-utils +BuildRequires: tqtinterface-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: gettext + +Obsoletes: trinity-kdetoys < %{version}-%{release} +Provides: trinity-kdetoys = %{version}-%{release} + +# Metapackage +Requires: trinity-amor = %{version}-%{release} +Requires: trinity-eyesapplet = %{version}-%{release} +Requires: trinity-fifteenapplet = %{version}-%{release} +Requires: trinity-kmoon = %{version}-%{release} +Requires: trinity-kodo = %{version}-%{release} +Requires: trinity-kteatime = %{version}-%{release} +Requires: trinity-ktux = %{version}-%{release} +Requires: trinity-kweather = %{version}-%{release} +Requires: trinity-kworldclock = %{version}-%{release} + + +%description +Includes: +* amor: Amusing Misuse Of Resources put's comic figures above your windows +* eyesapplet: a kicker applet similar to XEyes +* fifteenapplet: kicker applet, order 15 pieces in a 4x4 square by moving them +* kmoon: system tray applet showing the moon phase +* kodo: mouse movement meter +* kteatime: system tray applet that makes sure your tea doesn't get too strong +* ktux: Tux-in-a-Spaceship screen saver +* kweather: kicker applet that will display the current weather outside +* kworldwatch: application and kicker applet showing daylight area on the world + globe + +NOTE: kicker applets and screen savers require kdebase to be installed, +and user to be logged-in to TDE. + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING README + +########## + +%package -n trinity-amor +Summary: a Trinity creature for your desktop +Group: Amusements/Graphics + +%description -n trinity-amor +AMOR stands for Amusing Misuse Of Resources. It provides several different +characters who prance around your X screen doing tricks and giving you tips. + +Note that AMOR will only work with some window managers. Both KWin (the +KDE window manager) and Metacity (a GTK2 window manager) are supported. + +This package is part of Trinity, and a component of the TDE toys module. + +%files -n trinity-amor +%defattr(-,root,root,-) +%{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 + +%post -n trinity-amor +touch --no-create %{_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-amor +touch --no-create %{_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-eyesapplet +Summary: eyes applet for Trinity +Group: Amusements/Graphics + +%description -n trinity-eyesapplet +An applet for the KDE panel containing a pair of eyes that follow your mouse +around the screen. + +This package is part of Trinity, and a component of the TDE toys module. + +%files -n trinity-eyesapplet +%defattr(-,root,root,-) +%{tde_tdelibdir}/eyes_panelapplet.la +%{tde_tdelibdir}/eyes_panelapplet.so +%{tde_datadir}/apps/kicker/applets/eyesapplet.desktop +%doc AUTHORS COPYING README + +########## + +%package -n trinity-fifteenapplet +Summary: fifteen pieces puzzle for Trinity +Group: Amusements/Graphics + +%description -n trinity-fifteenapplet +An applet for the KDE panel that lets you play the Fifteen Pieces +sliding block puzzle. You have to order 15 pieces in a 4x4 square by +moving them around. + +This package is part of Trinity, and a component of the TDE toys module. + +%files -n trinity-fifteenapplet +%defattr(-,root,root,-) +%{tde_tdelibdir}/fifteen_panelapplet.la +%{tde_tdelibdir}/fifteen_panelapplet.so +%{tde_datadir}/apps/kicker/applets/kfifteenapplet.desktop +%doc AUTHORS COPYING README + +########## + +%package -n trinity-kmoon +Summary: moon phase indicator for Trinity +Group: Amusements/Graphics + +%description -n trinity-kmoon +An applet for the KDE panel that displays the current phase of the moon. + +This package is part of Trinity, and a component of the TDE toys module. + +%files -n trinity-kmoon +%defattr(-,root,root,-) +%{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 + +%post -n trinity-kmoon +touch --no-create %{_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: + +%postun +touch --no-create %{_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: + +########## + +%package -n trinity-kodo +Summary: mouse odometer for Trinity +Group: Amusements/Graphics + +%description -n trinity-kodo +KOdometer measures your desktop mileage. It tracks the movement of your mouse +pointer across your desktop and renders it in inches/feet/miles! It can +do cm/metres/km too. Its most exciting feature is the tripometer. + +This package is part of Trinity, and a component of the TDE toys module. + +%files -n trinity-kodo +%defattr(-,root,root,-) +%{tde_bindir}/kodo +%{tde_tdeappdir}/kodo.desktop +%{tde_datadir}/apps/kodo/numbers.png +%{tde_datadir}/icons/hicolor/*/apps/kodo.png +%{tde_tdedocdir}/HTML/en/kodo/ +%doc AUTHORS COPYING README + +%post -n trinity-kodo +touch --no-create %{_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kodo +touch --no-create %{_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kteatime +Summary: Trinity utility for making a fine cup of tea +Group: Amusements/Graphics + +%description -n trinity-kteatime +KTeaTime is a handy timer for steeping tea. No longer will you have to +guess at how long it takes for your tea to be ready. Simply select the +type of tea you have, and it will alert you when the tea is ready to +drink. + +KTeaTime sits in the Trinity system tray. + +Please note that KTeaTime is written explicitly for Trinity. If you are +using a non-KDE window manager or desktop environment then it is quite +possible that KTeaTime will not work on your system. + +This package is part of Trinity, and a component of the TDE toys module. + +%files -n trinity-kteatime +%defattr(-,root,root,-) +%{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 + +%post -n trinity-kteatime +touch --no-create %{_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kteatime +touch --no-create %{_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ktux +Summary: Tux screensaver for Trinity +Group: Amusements/Graphics + +%description -n trinity-ktux +A neat Tux-in-a-spaceship screensaver for the K Desktop Environment (KDE). + +This package is part of Trinity, and a component of the TDE toys module. + +%files -n trinity-ktux +%defattr(-,root,root,-) +%{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 + +%post -n trinity-ktux +touch --no-create %{_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: + +%postun -n trinity-ktux +touch --no-create %{_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: + +########## + +%package -n trinity-kweather +Summary: weather display applet for Trinity +Group: Amusements/Graphics + +%description -n trinity-kweather +An applet for the KDE panel that displays your area's current weather. +Information shown includes the temperature, wind speed, air pressure +and more. By pressing a button a full weather report can be obtained. + +KWeather also provides a weather service that can track multiple weather +stations and provide this information to other applications, including +Konqueror's sidebar and Kontact's summary page. + +This package is part of Trinity, and a component of the TDE toys module. + +%files -n trinity-kweather +%defattr(-,root,root,-) +%{tde_bindir}/kweatherservice +%{tde_bindir}/kweatherreport +%{tde_libdir}/lib[kt]deinit_kweatherreport.so +%{tde_libdir}/lib[kt]deinit_kweatherreport.la +%{tde_tdelibdir}/kcm_weather.so +%{tde_tdelibdir}/kcm_weather.la +%{tde_tdelibdir}/kcm_weatherservice.so +%{tde_tdelibdir}/kcm_weatherservice.la +%{tde_tdelibdir}/kweatherreport.so +%{tde_tdelibdir}/kweatherreport.la +%{tde_tdelibdir}/weather_panelapplet.la +%{tde_tdelibdir}/weather_panelapplet.so +%{tde_datadir}/apps/kicker/applets/kweather.desktop +%{tde_datadir}/apps/kweather/ +%{tde_datadir}/apps/kweatherservice/stations.dat +%{tde_datadir}/apps/kweatherservice/weather_stations.desktop +%{tde_datadir}/icons/hicolor/*/apps/kweather.png +%{tde_datadir}/services/kweatherservice.desktop +%{tde_datadir}/services/kcmweather.desktop +%{tde_datadir}/services/kcmweatherservice.desktop +%{tde_tdedocdir}/HTML/en/kweather/ +%doc AUTHORS COPYING README + +%post -n trinity-kweather +touch --no-create %{_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kweather +touch --no-create %{_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kworldclock +Summary: earth watcher for Trinity +Group: Amusements/Graphics + +%description -n trinity-kworldclock +Displays where in the world it is light and dark depending on time, as +well as offering the time in all of the major cities of the world. +This can be run standalone, as an applet in the KDE panel or as a +desktop background. + +Additional kworldclock themes are available in the tdeartwork-misc package. + +This package is part of Trinity, and a component of the TDE toys module. + +%files -n trinity-kworldclock +%defattr(-,root,root,-) +%{tde_bindir}/kworldclock +%{tde_tdelibdir}/ww_panelapplet.la +%{tde_tdelibdir}/ww_panelapplet.so +%{tde_tdeappdir}/kworldclock.desktop +%{tde_datadir}/apps/kdesktop/programs/kdeworld.desktop +%{tde_datadir}/apps/kicker/applets/kwwapplet.desktop +%{tde_datadir}/apps/kworldclock/ +%{tde_datadir}/icons/hicolor/*/apps/kworldclock.png +%{tde_tdedocdir}/HTML/en/kworldclock/ +%doc AUTHORS COPYING README + +%post -n trinity-kworldclock +touch --no-create %{_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kworldclock +touch --no-create %{_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%prep +%setup -q -n kdetoys +%patch1 -p1 -b .ftbfs + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --enable-new-ldflags \ + --enable-closure \ + --disable-debug --disable-warnings \ + --disable-dependency-tracking --enable-final \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf "%{buildroot}" +%__make install DESTDIR=%{buildroot} + +# replace absolute symlink with relative +ln -nfs tips-en %{buildroot}%{tde_datadir}/apps/amor/tips + +## File lists +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi +done +fi + +# Useless include file from Amor +%__rm -f %{buildroot}%{tde_tdeincludedir}/AmorIface.h + + +%clean +%__rm -rf %{buildroot} + + +%changelog +* Wed Aug 01 2012 Francois Andriot - 3.5.13-3 +- Split into several packages +- Renames to 'trinity-tdetoys' +- Add support for Mageia 2 + +* Fri Nov 25 2011 Francois Andriot - 3.5.13-2 +- Fix HTML directory location + +* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 +- Initial release for RHEL 6, RHEL 5 and Fedora 15 + +* Fri Oct 28 2011 Francois Andriot - 3.5.13-0 +- Import to GIT + diff --git a/redhat/tdetoys/tdetoys-3.5.13.2.spec b/redhat/tdetoys/tdetoys-3.5.13.2.spec new file mode 100644 index 000000000..0ccf022a2 --- /dev/null +++ b/redhat/tdetoys/tdetoys-3.5.13.2.spec @@ -0,0 +1,451 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + + +Summary: Trinity Desktop Environment - Toys and Amusements +Name: trinity-tdetoys +Group: Amusements/Graphics +Version: 3.5.13.2 +Release: 1%{?dist}%{?_variant} + +License: GPLv2+ +Source0: %{name}-%{version}.tar.gz + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: autoconf automake libtool m4 +BuildRequires: desktop-file-utils +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: gettext + +Obsoletes: trinity-kdetoys < %{version}-%{release} +Provides: trinity-kdetoys = %{version}-%{release} + +# Metapackage +Requires: trinity-amor = %{version}-%{release} +Requires: trinity-eyesapplet = %{version}-%{release} +Requires: trinity-fifteenapplet = %{version}-%{release} +Requires: trinity-kmoon = %{version}-%{release} +Requires: trinity-kodo = %{version}-%{release} +Requires: trinity-kteatime = %{version}-%{release} +Requires: trinity-ktux = %{version}-%{release} +Requires: trinity-kweather = %{version}-%{release} +Requires: trinity-kworldclock = %{version}-%{release} + + +%description +Includes: +* amor: Amusing Misuse Of Resources put's comic figures above your windows +* eyesapplet: a kicker applet similar to XEyes +* fifteenapplet: kicker applet, order 15 pieces in a 4x4 square by moving them +* kmoon: system tray applet showing the moon phase +* kodo: mouse movement meter +* kteatime: system tray applet that makes sure your tea doesn't get too strong +* ktux: Tux-in-a-Spaceship screen saver +* kweather: kicker applet that will display the current weather outside +* kworldwatch: application and kicker applet showing daylight area on the world + globe + +NOTE: kicker applets and screen savers require kdebase to be installed, +and user to be logged-in to TDE. + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING README + +########## + +%package -n trinity-amor +Summary: a Trinity creature for your desktop +Group: Amusements/Graphics + +%description -n trinity-amor +AMOR stands for Amusing Misuse Of Resources. It provides several different +characters who prance around your X screen doing tricks and giving you tips. + +Note that AMOR will only work with some window managers. Both KWin (the +KDE window manager) and Metacity (a GTK2 window manager) are supported. + +This package is part of Trinity, and a component of the TDE toys module. + +%files -n trinity-amor +%defattr(-,root,root,-) +%{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 + +%post -n trinity-amor +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-amor +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-eyesapplet +Summary: eyes applet for Trinity +Group: Amusements/Graphics + +%description -n trinity-eyesapplet +An applet for the KDE panel containing a pair of eyes that follow your mouse +around the screen. + +This package is part of Trinity, and a component of the TDE toys module. + +%files -n trinity-eyesapplet +%defattr(-,root,root,-) +%{tde_tdelibdir}/eyes_panelapplet.la +%{tde_tdelibdir}/eyes_panelapplet.so +%{tde_datadir}/apps/kicker/applets/eyesapplet.desktop +%doc AUTHORS COPYING README + +########## + +%package -n trinity-fifteenapplet +Summary: fifteen pieces puzzle for Trinity +Group: Amusements/Graphics + +%description -n trinity-fifteenapplet +An applet for the KDE panel that lets you play the Fifteen Pieces +sliding block puzzle. You have to order 15 pieces in a 4x4 square by +moving them around. + +This package is part of Trinity, and a component of the TDE toys module. + +%files -n trinity-fifteenapplet +%defattr(-,root,root,-) +%{tde_tdelibdir}/fifteen_panelapplet.la +%{tde_tdelibdir}/fifteen_panelapplet.so +%{tde_datadir}/apps/kicker/applets/kfifteenapplet.desktop +%doc AUTHORS COPYING README + +########## + +%package -n trinity-kmoon +Summary: moon phase indicator for Trinity +Group: Amusements/Graphics + +%description -n trinity-kmoon +An applet for the KDE panel that displays the current phase of the moon. + +This package is part of Trinity, and a component of the TDE toys module. + +%files -n trinity-kmoon +%defattr(-,root,root,-) +%{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 + +%post -n trinity-kmoon +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: + +%postun +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: + +########## + +%package -n trinity-kodo +Summary: mouse odometer for Trinity +Group: Amusements/Graphics + +%description -n trinity-kodo +KOdometer measures your desktop mileage. It tracks the movement of your mouse +pointer across your desktop and renders it in inches/feet/miles! It can +do cm/metres/km too. Its most exciting feature is the tripometer. + +This package is part of Trinity, and a component of the TDE toys module. + +%files -n trinity-kodo +%defattr(-,root,root,-) +%{tde_bindir}/kodo +%{tde_tdeappdir}/kodo.desktop +%{tde_datadir}/apps/kodo/numbers.png +%{tde_datadir}/icons/hicolor/*/apps/kodo.png +%{tde_tdedocdir}/HTML/en/kodo/ +%doc AUTHORS COPYING README + +%post -n trinity-kodo +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kodo +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kteatime +Summary: Trinity utility for making a fine cup of tea +Group: Amusements/Graphics + +%description -n trinity-kteatime +KTeaTime is a handy timer for steeping tea. No longer will you have to +guess at how long it takes for your tea to be ready. Simply select the +type of tea you have, and it will alert you when the tea is ready to +drink. + +KTeaTime sits in the Trinity system tray. + +Please note that KTeaTime is written explicitly for Trinity. If you are +using a non-KDE window manager or desktop environment then it is quite +possible that KTeaTime will not work on your system. + +This package is part of Trinity, and a component of the TDE toys module. + +%files -n trinity-kteatime +%defattr(-,root,root,-) +%{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 + +%post -n trinity-kteatime +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kteatime +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ktux +Summary: Tux screensaver for Trinity +Group: Amusements/Graphics + +%description -n trinity-ktux +A neat Tux-in-a-spaceship screensaver for the K Desktop Environment (KDE). + +This package is part of Trinity, and a component of the TDE toys module. + +%files -n trinity-ktux +%defattr(-,root,root,-) +%{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 + +%post -n trinity-ktux +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: + +%postun -n trinity-ktux +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: + +########## + +%package -n trinity-kweather +Summary: weather display applet for Trinity +Group: Amusements/Graphics + +%description -n trinity-kweather +An applet for the KDE panel that displays your area's current weather. +Information shown includes the temperature, wind speed, air pressure +and more. By pressing a button a full weather report can be obtained. + +KWeather also provides a weather service that can track multiple weather +stations and provide this information to other applications, including +Konqueror's sidebar and Kontact's summary page. + +This package is part of Trinity, and a component of the TDE toys module. + +%files -n trinity-kweather +%defattr(-,root,root,-) +%{tde_bindir}/kweatherservice +%{tde_bindir}/kweatherreport +%{tde_libdir}/lib[kt]deinit_kweatherreport.so +%{tde_libdir}/lib[kt]deinit_kweatherreport.la +%{tde_tdelibdir}/kcm_weather.so +%{tde_tdelibdir}/kcm_weather.la +%{tde_tdelibdir}/kcm_weatherservice.so +%{tde_tdelibdir}/kcm_weatherservice.la +%{tde_tdelibdir}/kweatherreport.so +%{tde_tdelibdir}/kweatherreport.la +%{tde_tdelibdir}/weather_panelapplet.la +%{tde_tdelibdir}/weather_panelapplet.so +%{tde_datadir}/apps/kicker/applets/kweather.desktop +%{tde_datadir}/apps/kweather/ +%{tde_datadir}/apps/kweatherservice/stations.dat +%{tde_datadir}/apps/kweatherservice/weather_stations.desktop +%{tde_datadir}/icons/hicolor/*/apps/kweather.png +%{tde_datadir}/services/kweatherservice.desktop +%{tde_datadir}/services/kcmweather.desktop +%{tde_datadir}/services/kcmweatherservice.desktop +%{tde_tdedocdir}/HTML/en/kweather/ +%doc AUTHORS COPYING README + +%post -n trinity-kweather +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kweather +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kworldclock +Summary: earth watcher for Trinity +Group: Amusements/Graphics + +%description -n trinity-kworldclock +Displays where in the world it is light and dark depending on time, as +well as offering the time in all of the major cities of the world. +This can be run standalone, as an applet in the KDE panel or as a +desktop background. + +Additional kworldclock themes are available in the tdeartwork-misc package. + +This package is part of Trinity, and a component of the TDE toys module. + +%files -n trinity-kworldclock +%defattr(-,root,root,-) +%{tde_bindir}/kworldclock +%{tde_tdelibdir}/ww_panelapplet.la +%{tde_tdelibdir}/ww_panelapplet.so +%{tde_tdeappdir}/kworldclock.desktop +%{tde_datadir}/apps/kdesktop/programs/kdeworld.desktop +%{tde_datadir}/apps/kicker/applets/kwwapplet.desktop +%{tde_datadir}/apps/kworldclock/ +%{tde_datadir}/icons/hicolor/*/apps/kworldclock.png +%{tde_tdedocdir}/HTML/en/kworldclock/ +%doc AUTHORS COPYING README + +%post -n trinity-kworldclock +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kworldclock +touch --no-create %{tde_datadir}/icons/hicolor ||: +gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i admin/acinclude.m4.in \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" +export KDEDIR=%{tde_prefix} + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --enable-new-ldflags \ + --enable-closure \ + --disable-debug --disable-warnings \ + --disable-dependency-tracking --enable-final \ + --with-extra-includes=%{tde_includedir}/tqt + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf "%{buildroot}" +%__make install DESTDIR=%{buildroot} + +# replace absolute symlink with relative +ln -nfs tips-en %{buildroot}%{tde_datadir}/apps/amor/tips + +## File lists +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common + done + popd + fi +done +fi + +# Useless include file from Amor +%__rm -f %{buildroot}%{tde_tdeincludedir}/AmorIface.h + + +%clean +%__rm -rf %{buildroot} + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 +- Initial release for TDE 3.5.13.2 + diff --git a/redhat/tdetoys/trinity-kdetoys-3.5.12.spec b/redhat/tdetoys/trinity-kdetoys-3.5.12.spec deleted file mode 100644 index 6641945c2..000000000 --- a/redhat/tdetoys/trinity-kdetoys-3.5.12.spec +++ /dev/null @@ -1,165 +0,0 @@ -# Default version for this component -%if "%{?version}" == "" -%define version 3.5.12 -%endif -%define release 4 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_includedir %{_includedir}/kde -%define tde_libdir %{_libdir}/kde3 - - -Summary: K Desktop Environment - Toys and Amusements -Name: trinity-kdetoys -Group: Amusements/Graphics -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} - -License: GPLv2+ -Source0: kdetoys-%{version}.tar.gz - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: desktop-file-utils -BuildRequires: tqtinterface-devel >= %{version} -BuildRequires: trinity-kdelibs-devel >= %{version} -BuildRequires: gettext - - -%description -Includes: -* amor: Amusing Misuse Of Resources put's comic figures above your windows -* eyesapplet: a kicker applet similar to XEyes -* fifteenapplet: kicker applet, order 15 pieces in a 4x4 square by moving them -* kmoon: system tray applet showing the moon phase -* kodo: mouse movement meter -* kteatime: system tray applet that makes sure your tea doesn't get too strong -* ktux: Tux-in-a-Spaceship screen saver -* kweather: kicker applet that will display the current weather outside -* kworldwatch: application and kicker applet showing daylight area on the world - globe - -NOTE: kicker applets and screen savers require kdebase to be installed, -and user to be logged-in to KDE. - - -%prep -%setup -q -n kdetoys - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -%configure \ - --includedir=%{_includedir}/kde \ - --disable-rpath \ - --enable-new-ldflags \ - --disable-debug --disable-warnings \ - --disable-dependency-tracking --enable-final \ - --with-extra-includes=%{_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf "%{buildroot}" -%__make install DESTDIR=%{buildroot} - -desktop-file-install \ - --dir=%{buildroot}%{_datadir}/applnk/System/ScreenSavers \ - --vendor="" \ - %{buildroot}%{_datadir}/applnk/System/ScreenSavers/*.desktop ||: - -desktop-file-install \ - --dir=%{buildroot}%{_datadir}/applications/kde \ - --vendor="" \ - %{buildroot}%{_datadir}/applications/kde/*.desktop ||: - -# replace absolute symlink with relative -ln -nfs tips-en %{buildroot}%{_datadir}/apps/amor/tips - -## File lists -# locale's -%find_lang %{name} || touch %{name}.lang -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common - done - popd - fi -done -fi - -## Unpackaged files -# not sure the point of just one header file 'AmorIface.h', omit (for now). -%__rm -rf %{buildroot}%{_includedir} - - -%post -touch --no-create %{_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: - -%postun -touch --no-create %{_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: - - -%files -f %{name}.lang -%defattr(-,root,root,-) -%doc AUTHORS COPYING README -%{_bindir}/* -%{_libdir}/libkdeinit_*.* -%{tde_libdir}/* -%{_datadir}/applications/kde/*.desktop -%{_datadir}/applnk/System/ScreenSavers/*.desktop -%{_datadir}/apps/* -%{_datadir}/icons/hicolor/*/*/* -%{_datadir}/service*/*.desktop - - -%clean -%__rm -rf %{buildroot} - - -%changelog -* Mon Sep 19 2011 Francois Andriot - 3.5.12-4 -- Add support for RHEL5 - -* Sun Sep 11 2011 Francois Andriot - 3.5.12-3 -- Import to GIT - -* Mon Aug 22 2011 Francois Andriot - 3.5.12-2 -- Correct macro to install under "/opt", if desired - -* Fri Aug 05 2011 Francois Andriot - 3.5.12-1 -- Initial version -- Spec file based on Fedora 8 "kdetoys 7:3.5.10-1" - diff --git a/redhat/tdetoys/trinity-kdetoys-3.5.13.1.spec b/redhat/tdetoys/trinity-kdetoys-3.5.13.1.spec deleted file mode 100644 index 15373cca0..000000000 --- a/redhat/tdetoys/trinity-kdetoys-3.5.13.1.spec +++ /dev/null @@ -1,450 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Summary: Trinity Desktop Environment - Toys and Amusements -Name: trinity-tdetoys -Group: Amusements/Graphics -Version: 3.5.13.1 -Release: 1%{?dist}%{?_variant} - -License: GPLv2+ -Source0: kdetoys-3.5.13.1.tar.gz - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: autoconf automake libtool m4 -BuildRequires: desktop-file-utils -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} -BuildRequires: gettext - -Obsoletes: trinity-kdetoys < %{version}-%{release} -Provides: trinity-kdetoys = %{version}-%{release} - -# Metapackage -Requires: trinity-amor = %{version}-%{release} -Requires: trinity-eyesapplet = %{version}-%{release} -Requires: trinity-fifteenapplet = %{version}-%{release} -Requires: trinity-kmoon = %{version}-%{release} -Requires: trinity-kodo = %{version}-%{release} -Requires: trinity-kteatime = %{version}-%{release} -Requires: trinity-ktux = %{version}-%{release} -Requires: trinity-kweather = %{version}-%{release} -Requires: trinity-kworldclock = %{version}-%{release} - - -%description -Includes: -* amor: Amusing Misuse Of Resources put's comic figures above your windows -* eyesapplet: a kicker applet similar to XEyes -* fifteenapplet: kicker applet, order 15 pieces in a 4x4 square by moving them -* kmoon: system tray applet showing the moon phase -* kodo: mouse movement meter -* kteatime: system tray applet that makes sure your tea doesn't get too strong -* ktux: Tux-in-a-Spaceship screen saver -* kweather: kicker applet that will display the current weather outside -* kworldwatch: application and kicker applet showing daylight area on the world - globe - -NOTE: kicker applets and screen savers require kdebase to be installed, -and user to be logged-in to TDE. - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING README - -########## - -%package -n trinity-amor -Summary: a Trinity creature for your desktop -Group: Amusements/Graphics - -%description -n trinity-amor -AMOR stands for Amusing Misuse Of Resources. It provides several different -characters who prance around your X screen doing tricks and giving you tips. - -Note that AMOR will only work with some window managers. Both KWin (the -KDE window manager) and Metacity (a GTK2 window manager) are supported. - -This package is part of Trinity, and a component of the TDE toys module. - -%files -n trinity-amor -%defattr(-,root,root,-) -%{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 - -%post -n trinity-amor -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-amor -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-eyesapplet -Summary: eyes applet for Trinity -Group: Amusements/Graphics - -%description -n trinity-eyesapplet -An applet for the KDE panel containing a pair of eyes that follow your mouse -around the screen. - -This package is part of Trinity, and a component of the TDE toys module. - -%files -n trinity-eyesapplet -%defattr(-,root,root,-) -%{tde_tdelibdir}/eyes_panelapplet.la -%{tde_tdelibdir}/eyes_panelapplet.so -%{tde_datadir}/apps/kicker/applets/eyesapplet.desktop -%doc AUTHORS COPYING README - -########## - -%package -n trinity-fifteenapplet -Summary: fifteen pieces puzzle for Trinity -Group: Amusements/Graphics - -%description -n trinity-fifteenapplet -An applet for the KDE panel that lets you play the Fifteen Pieces -sliding block puzzle. You have to order 15 pieces in a 4x4 square by -moving them around. - -This package is part of Trinity, and a component of the TDE toys module. - -%files -n trinity-fifteenapplet -%defattr(-,root,root,-) -%{tde_tdelibdir}/fifteen_panelapplet.la -%{tde_tdelibdir}/fifteen_panelapplet.so -%{tde_datadir}/apps/kicker/applets/kfifteenapplet.desktop -%doc AUTHORS COPYING README - -########## - -%package -n trinity-kmoon -Summary: moon phase indicator for Trinity -Group: Amusements/Graphics - -%description -n trinity-kmoon -An applet for the KDE panel that displays the current phase of the moon. - -This package is part of Trinity, and a component of the TDE toys module. - -%files -n trinity-kmoon -%defattr(-,root,root,-) -%{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 - -%post -n trinity-kmoon -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: - -%postun -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: - -########## - -%package -n trinity-kodo -Summary: mouse odometer for Trinity -Group: Amusements/Graphics - -%description -n trinity-kodo -KOdometer measures your desktop mileage. It tracks the movement of your mouse -pointer across your desktop and renders it in inches/feet/miles! It can -do cm/metres/km too. Its most exciting feature is the tripometer. - -This package is part of Trinity, and a component of the TDE toys module. - -%files -n trinity-kodo -%defattr(-,root,root,-) -%{tde_bindir}/kodo -%{tde_tdeappdir}/kodo.desktop -%{tde_datadir}/apps/kodo/numbers.png -%{tde_datadir}/icons/hicolor/*/apps/kodo.png -%{tde_tdedocdir}/HTML/en/kodo/ -%doc AUTHORS COPYING README - -%post -n trinity-kodo -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kodo -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kteatime -Summary: Trinity utility for making a fine cup of tea -Group: Amusements/Graphics - -%description -n trinity-kteatime -KTeaTime is a handy timer for steeping tea. No longer will you have to -guess at how long it takes for your tea to be ready. Simply select the -type of tea you have, and it will alert you when the tea is ready to -drink. - -KTeaTime sits in the Trinity system tray. - -Please note that KTeaTime is written explicitly for Trinity. If you are -using a non-KDE window manager or desktop environment then it is quite -possible that KTeaTime will not work on your system. - -This package is part of Trinity, and a component of the TDE toys module. - -%files -n trinity-kteatime -%defattr(-,root,root,-) -%{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 - -%post -n trinity-kteatime -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kteatime -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ktux -Summary: Tux screensaver for Trinity -Group: Amusements/Graphics - -%description -n trinity-ktux -A neat Tux-in-a-spaceship screensaver for the K Desktop Environment (KDE). - -This package is part of Trinity, and a component of the TDE toys module. - -%files -n trinity-ktux -%defattr(-,root,root,-) -%{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 - -%post -n trinity-ktux -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: - -%postun -n trinity-ktux -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: - -########## - -%package -n trinity-kweather -Summary: weather display applet for Trinity -Group: Amusements/Graphics - -%description -n trinity-kweather -An applet for the KDE panel that displays your area's current weather. -Information shown includes the temperature, wind speed, air pressure -and more. By pressing a button a full weather report can be obtained. - -KWeather also provides a weather service that can track multiple weather -stations and provide this information to other applications, including -Konqueror's sidebar and Kontact's summary page. - -This package is part of Trinity, and a component of the TDE toys module. - -%files -n trinity-kweather -%defattr(-,root,root,-) -%{tde_bindir}/kweatherservice -%{tde_bindir}/kweatherreport -%{tde_libdir}/lib[kt]deinit_kweatherreport.so -%{tde_libdir}/lib[kt]deinit_kweatherreport.la -%{tde_tdelibdir}/kcm_weather.so -%{tde_tdelibdir}/kcm_weather.la -%{tde_tdelibdir}/kcm_weatherservice.so -%{tde_tdelibdir}/kcm_weatherservice.la -%{tde_tdelibdir}/kweatherreport.so -%{tde_tdelibdir}/kweatherreport.la -%{tde_tdelibdir}/weather_panelapplet.la -%{tde_tdelibdir}/weather_panelapplet.so -%{tde_datadir}/apps/kicker/applets/kweather.desktop -%{tde_datadir}/apps/kweather/ -%{tde_datadir}/apps/kweatherservice/stations.dat -%{tde_datadir}/apps/kweatherservice/weather_stations.desktop -%{tde_datadir}/icons/hicolor/*/apps/kweather.png -%{tde_datadir}/services/kweatherservice.desktop -%{tde_datadir}/services/kcmweather.desktop -%{tde_datadir}/services/kcmweatherservice.desktop -%{tde_tdedocdir}/HTML/en/kweather/ -%doc AUTHORS COPYING README - -%post -n trinity-kweather -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kweather -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kworldclock -Summary: earth watcher for Trinity -Group: Amusements/Graphics - -%description -n trinity-kworldclock -Displays where in the world it is light and dark depending on time, as -well as offering the time in all of the major cities of the world. -This can be run standalone, as an applet in the KDE panel or as a -desktop background. - -Additional kworldclock themes are available in the tdeartwork-misc package. - -This package is part of Trinity, and a component of the TDE toys module. - -%files -n trinity-kworldclock -%defattr(-,root,root,-) -%{tde_bindir}/kworldclock -%{tde_tdelibdir}/ww_panelapplet.la -%{tde_tdelibdir}/ww_panelapplet.so -%{tde_tdeappdir}/kworldclock.desktop -%{tde_datadir}/apps/kdesktop/programs/kdeworld.desktop -%{tde_datadir}/apps/kicker/applets/kwwapplet.desktop -%{tde_datadir}/apps/kworldclock/ -%{tde_datadir}/icons/hicolor/*/apps/kworldclock.png -%{tde_tdedocdir}/HTML/en/kworldclock/ -%doc AUTHORS COPYING README - -%post -n trinity-kworldclock -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kworldclock -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n kdetoys-3.5.13.1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export KDEDIR=%{tde_prefix} - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --enable-new-ldflags \ - --enable-closure \ - --disable-debug --disable-warnings \ - --disable-dependency-tracking --enable-final \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf "%{buildroot}" -%__make install DESTDIR=%{buildroot} - -# replace absolute symlink with relative -ln -nfs tips-en %{buildroot}%{tde_datadir}/apps/amor/tips - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common - done - popd - fi -done -fi - -# Useless include file from Amor -%__rm -f %{buildroot}%{tde_tdeincludedir}/AmorIface.h - - -%clean -%__rm -rf %{buildroot} - - -%changelog -* Sun Sep 30 2012 Francois Andriot - 3.5.13.1-1 -- Initial build for TDE 3.5.13.1 diff --git a/redhat/tdetoys/trinity-kdetoys-3.5.13.spec b/redhat/tdetoys/trinity-kdetoys-3.5.13.spec deleted file mode 100644 index 57f11f2a8..000000000 --- a/redhat/tdetoys/trinity-kdetoys-3.5.13.spec +++ /dev/null @@ -1,459 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Summary: Trinity Desktop Environment - Toys and Amusements -Name: trinity-tdetoys -Group: Amusements/Graphics -Version: 3.5.13 -Release: 3%{?dist}%{?_variant} - -License: GPLv2+ -Source0: kdetoys-%{version}.tar.gz - -# [kdetoys] Missing LDFLAGS cause FTBFS on Mageia 2 -Patch1: kdetoys-3.5.13-missing_ldflags.patch - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: autoconf automake libtool m4 -BuildRequires: desktop-file-utils -BuildRequires: tqtinterface-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: gettext - -Obsoletes: trinity-kdetoys < %{version}-%{release} -Provides: trinity-kdetoys = %{version}-%{release} - -# Metapackage -Requires: trinity-amor = %{version}-%{release} -Requires: trinity-eyesapplet = %{version}-%{release} -Requires: trinity-fifteenapplet = %{version}-%{release} -Requires: trinity-kmoon = %{version}-%{release} -Requires: trinity-kodo = %{version}-%{release} -Requires: trinity-kteatime = %{version}-%{release} -Requires: trinity-ktux = %{version}-%{release} -Requires: trinity-kweather = %{version}-%{release} -Requires: trinity-kworldclock = %{version}-%{release} - - -%description -Includes: -* amor: Amusing Misuse Of Resources put's comic figures above your windows -* eyesapplet: a kicker applet similar to XEyes -* fifteenapplet: kicker applet, order 15 pieces in a 4x4 square by moving them -* kmoon: system tray applet showing the moon phase -* kodo: mouse movement meter -* kteatime: system tray applet that makes sure your tea doesn't get too strong -* ktux: Tux-in-a-Spaceship screen saver -* kweather: kicker applet that will display the current weather outside -* kworldwatch: application and kicker applet showing daylight area on the world - globe - -NOTE: kicker applets and screen savers require kdebase to be installed, -and user to be logged-in to TDE. - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING README - -########## - -%package -n trinity-amor -Summary: a Trinity creature for your desktop -Group: Amusements/Graphics - -%description -n trinity-amor -AMOR stands for Amusing Misuse Of Resources. It provides several different -characters who prance around your X screen doing tricks and giving you tips. - -Note that AMOR will only work with some window managers. Both KWin (the -KDE window manager) and Metacity (a GTK2 window manager) are supported. - -This package is part of Trinity, and a component of the TDE toys module. - -%files -n trinity-amor -%defattr(-,root,root,-) -%{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 - -%post -n trinity-amor -touch --no-create %{_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-amor -touch --no-create %{_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-eyesapplet -Summary: eyes applet for Trinity -Group: Amusements/Graphics - -%description -n trinity-eyesapplet -An applet for the KDE panel containing a pair of eyes that follow your mouse -around the screen. - -This package is part of Trinity, and a component of the TDE toys module. - -%files -n trinity-eyesapplet -%defattr(-,root,root,-) -%{tde_tdelibdir}/eyes_panelapplet.la -%{tde_tdelibdir}/eyes_panelapplet.so -%{tde_datadir}/apps/kicker/applets/eyesapplet.desktop -%doc AUTHORS COPYING README - -########## - -%package -n trinity-fifteenapplet -Summary: fifteen pieces puzzle for Trinity -Group: Amusements/Graphics - -%description -n trinity-fifteenapplet -An applet for the KDE panel that lets you play the Fifteen Pieces -sliding block puzzle. You have to order 15 pieces in a 4x4 square by -moving them around. - -This package is part of Trinity, and a component of the TDE toys module. - -%files -n trinity-fifteenapplet -%defattr(-,root,root,-) -%{tde_tdelibdir}/fifteen_panelapplet.la -%{tde_tdelibdir}/fifteen_panelapplet.so -%{tde_datadir}/apps/kicker/applets/kfifteenapplet.desktop -%doc AUTHORS COPYING README - -########## - -%package -n trinity-kmoon -Summary: moon phase indicator for Trinity -Group: Amusements/Graphics - -%description -n trinity-kmoon -An applet for the KDE panel that displays the current phase of the moon. - -This package is part of Trinity, and a component of the TDE toys module. - -%files -n trinity-kmoon -%defattr(-,root,root,-) -%{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 - -%post -n trinity-kmoon -touch --no-create %{_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: - -%postun -touch --no-create %{_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: - -########## - -%package -n trinity-kodo -Summary: mouse odometer for Trinity -Group: Amusements/Graphics - -%description -n trinity-kodo -KOdometer measures your desktop mileage. It tracks the movement of your mouse -pointer across your desktop and renders it in inches/feet/miles! It can -do cm/metres/km too. Its most exciting feature is the tripometer. - -This package is part of Trinity, and a component of the TDE toys module. - -%files -n trinity-kodo -%defattr(-,root,root,-) -%{tde_bindir}/kodo -%{tde_tdeappdir}/kodo.desktop -%{tde_datadir}/apps/kodo/numbers.png -%{tde_datadir}/icons/hicolor/*/apps/kodo.png -%{tde_tdedocdir}/HTML/en/kodo/ -%doc AUTHORS COPYING README - -%post -n trinity-kodo -touch --no-create %{_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kodo -touch --no-create %{_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kteatime -Summary: Trinity utility for making a fine cup of tea -Group: Amusements/Graphics - -%description -n trinity-kteatime -KTeaTime is a handy timer for steeping tea. No longer will you have to -guess at how long it takes for your tea to be ready. Simply select the -type of tea you have, and it will alert you when the tea is ready to -drink. - -KTeaTime sits in the Trinity system tray. - -Please note that KTeaTime is written explicitly for Trinity. If you are -using a non-KDE window manager or desktop environment then it is quite -possible that KTeaTime will not work on your system. - -This package is part of Trinity, and a component of the TDE toys module. - -%files -n trinity-kteatime -%defattr(-,root,root,-) -%{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 - -%post -n trinity-kteatime -touch --no-create %{_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kteatime -touch --no-create %{_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ktux -Summary: Tux screensaver for Trinity -Group: Amusements/Graphics - -%description -n trinity-ktux -A neat Tux-in-a-spaceship screensaver for the K Desktop Environment (KDE). - -This package is part of Trinity, and a component of the TDE toys module. - -%files -n trinity-ktux -%defattr(-,root,root,-) -%{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 - -%post -n trinity-ktux -touch --no-create %{_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: - -%postun -n trinity-ktux -touch --no-create %{_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: - -########## - -%package -n trinity-kweather -Summary: weather display applet for Trinity -Group: Amusements/Graphics - -%description -n trinity-kweather -An applet for the KDE panel that displays your area's current weather. -Information shown includes the temperature, wind speed, air pressure -and more. By pressing a button a full weather report can be obtained. - -KWeather also provides a weather service that can track multiple weather -stations and provide this information to other applications, including -Konqueror's sidebar and Kontact's summary page. - -This package is part of Trinity, and a component of the TDE toys module. - -%files -n trinity-kweather -%defattr(-,root,root,-) -%{tde_bindir}/kweatherservice -%{tde_bindir}/kweatherreport -%{tde_libdir}/lib[kt]deinit_kweatherreport.so -%{tde_libdir}/lib[kt]deinit_kweatherreport.la -%{tde_tdelibdir}/kcm_weather.so -%{tde_tdelibdir}/kcm_weather.la -%{tde_tdelibdir}/kcm_weatherservice.so -%{tde_tdelibdir}/kcm_weatherservice.la -%{tde_tdelibdir}/kweatherreport.so -%{tde_tdelibdir}/kweatherreport.la -%{tde_tdelibdir}/weather_panelapplet.la -%{tde_tdelibdir}/weather_panelapplet.so -%{tde_datadir}/apps/kicker/applets/kweather.desktop -%{tde_datadir}/apps/kweather/ -%{tde_datadir}/apps/kweatherservice/stations.dat -%{tde_datadir}/apps/kweatherservice/weather_stations.desktop -%{tde_datadir}/icons/hicolor/*/apps/kweather.png -%{tde_datadir}/services/kweatherservice.desktop -%{tde_datadir}/services/kcmweather.desktop -%{tde_datadir}/services/kcmweatherservice.desktop -%{tde_tdedocdir}/HTML/en/kweather/ -%doc AUTHORS COPYING README - -%post -n trinity-kweather -touch --no-create %{_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kweather -touch --no-create %{_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kworldclock -Summary: earth watcher for Trinity -Group: Amusements/Graphics - -%description -n trinity-kworldclock -Displays where in the world it is light and dark depending on time, as -well as offering the time in all of the major cities of the world. -This can be run standalone, as an applet in the KDE panel or as a -desktop background. - -Additional kworldclock themes are available in the tdeartwork-misc package. - -This package is part of Trinity, and a component of the TDE toys module. - -%files -n trinity-kworldclock -%defattr(-,root,root,-) -%{tde_bindir}/kworldclock -%{tde_tdelibdir}/ww_panelapplet.la -%{tde_tdelibdir}/ww_panelapplet.so -%{tde_tdeappdir}/kworldclock.desktop -%{tde_datadir}/apps/kdesktop/programs/kdeworld.desktop -%{tde_datadir}/apps/kicker/applets/kwwapplet.desktop -%{tde_datadir}/apps/kworldclock/ -%{tde_datadir}/icons/hicolor/*/apps/kworldclock.png -%{tde_tdedocdir}/HTML/en/kworldclock/ -%doc AUTHORS COPYING README - -%post -n trinity-kworldclock -touch --no-create %{_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kworldclock -touch --no-create %{_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%prep -%setup -q -n kdetoys -%patch1 -p1 -b .ftbfs - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --enable-new-ldflags \ - --enable-closure \ - --disable-debug --disable-warnings \ - --disable-dependency-tracking --enable-final \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf "%{buildroot}" -%__make install DESTDIR=%{buildroot} - -# replace absolute symlink with relative -ln -nfs tips-en %{buildroot}%{tde_datadir}/apps/amor/tips - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common - done - popd - fi -done -fi - -# Useless include file from Amor -%__rm -f %{buildroot}%{tde_tdeincludedir}/AmorIface.h - - -%clean -%__rm -rf %{buildroot} - - -%changelog -* Wed Aug 01 2012 Francois Andriot - 3.5.13-3 -- Split into several packages -- Renames to 'trinity-tdetoys' -- Add support for Mageia 2 - -* Fri Nov 25 2011 Francois Andriot - 3.5.13-2 -- Fix HTML directory location - -* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 -- Initial release for RHEL 6, RHEL 5 and Fedora 15 - -* Fri Oct 28 2011 Francois Andriot - 3.5.13-0 -- Import to GIT - diff --git a/redhat/tdetoys/trinity-tdetoys-3.5.13.2.spec b/redhat/tdetoys/trinity-tdetoys-3.5.13.2.spec deleted file mode 100644 index 0ccf022a2..000000000 --- a/redhat/tdetoys/trinity-tdetoys-3.5.13.2.spec +++ /dev/null @@ -1,451 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - - -Summary: Trinity Desktop Environment - Toys and Amusements -Name: trinity-tdetoys -Group: Amusements/Graphics -Version: 3.5.13.2 -Release: 1%{?dist}%{?_variant} - -License: GPLv2+ -Source0: %{name}-%{version}.tar.gz - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: autoconf automake libtool m4 -BuildRequires: desktop-file-utils -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} -BuildRequires: gettext - -Obsoletes: trinity-kdetoys < %{version}-%{release} -Provides: trinity-kdetoys = %{version}-%{release} - -# Metapackage -Requires: trinity-amor = %{version}-%{release} -Requires: trinity-eyesapplet = %{version}-%{release} -Requires: trinity-fifteenapplet = %{version}-%{release} -Requires: trinity-kmoon = %{version}-%{release} -Requires: trinity-kodo = %{version}-%{release} -Requires: trinity-kteatime = %{version}-%{release} -Requires: trinity-ktux = %{version}-%{release} -Requires: trinity-kweather = %{version}-%{release} -Requires: trinity-kworldclock = %{version}-%{release} - - -%description -Includes: -* amor: Amusing Misuse Of Resources put's comic figures above your windows -* eyesapplet: a kicker applet similar to XEyes -* fifteenapplet: kicker applet, order 15 pieces in a 4x4 square by moving them -* kmoon: system tray applet showing the moon phase -* kodo: mouse movement meter -* kteatime: system tray applet that makes sure your tea doesn't get too strong -* ktux: Tux-in-a-Spaceship screen saver -* kweather: kicker applet that will display the current weather outside -* kworldwatch: application and kicker applet showing daylight area on the world - globe - -NOTE: kicker applets and screen savers require kdebase to be installed, -and user to be logged-in to TDE. - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING README - -########## - -%package -n trinity-amor -Summary: a Trinity creature for your desktop -Group: Amusements/Graphics - -%description -n trinity-amor -AMOR stands for Amusing Misuse Of Resources. It provides several different -characters who prance around your X screen doing tricks and giving you tips. - -Note that AMOR will only work with some window managers. Both KWin (the -KDE window manager) and Metacity (a GTK2 window manager) are supported. - -This package is part of Trinity, and a component of the TDE toys module. - -%files -n trinity-amor -%defattr(-,root,root,-) -%{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 - -%post -n trinity-amor -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-amor -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-eyesapplet -Summary: eyes applet for Trinity -Group: Amusements/Graphics - -%description -n trinity-eyesapplet -An applet for the KDE panel containing a pair of eyes that follow your mouse -around the screen. - -This package is part of Trinity, and a component of the TDE toys module. - -%files -n trinity-eyesapplet -%defattr(-,root,root,-) -%{tde_tdelibdir}/eyes_panelapplet.la -%{tde_tdelibdir}/eyes_panelapplet.so -%{tde_datadir}/apps/kicker/applets/eyesapplet.desktop -%doc AUTHORS COPYING README - -########## - -%package -n trinity-fifteenapplet -Summary: fifteen pieces puzzle for Trinity -Group: Amusements/Graphics - -%description -n trinity-fifteenapplet -An applet for the KDE panel that lets you play the Fifteen Pieces -sliding block puzzle. You have to order 15 pieces in a 4x4 square by -moving them around. - -This package is part of Trinity, and a component of the TDE toys module. - -%files -n trinity-fifteenapplet -%defattr(-,root,root,-) -%{tde_tdelibdir}/fifteen_panelapplet.la -%{tde_tdelibdir}/fifteen_panelapplet.so -%{tde_datadir}/apps/kicker/applets/kfifteenapplet.desktop -%doc AUTHORS COPYING README - -########## - -%package -n trinity-kmoon -Summary: moon phase indicator for Trinity -Group: Amusements/Graphics - -%description -n trinity-kmoon -An applet for the KDE panel that displays the current phase of the moon. - -This package is part of Trinity, and a component of the TDE toys module. - -%files -n trinity-kmoon -%defattr(-,root,root,-) -%{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 - -%post -n trinity-kmoon -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: - -%postun -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: - -########## - -%package -n trinity-kodo -Summary: mouse odometer for Trinity -Group: Amusements/Graphics - -%description -n trinity-kodo -KOdometer measures your desktop mileage. It tracks the movement of your mouse -pointer across your desktop and renders it in inches/feet/miles! It can -do cm/metres/km too. Its most exciting feature is the tripometer. - -This package is part of Trinity, and a component of the TDE toys module. - -%files -n trinity-kodo -%defattr(-,root,root,-) -%{tde_bindir}/kodo -%{tde_tdeappdir}/kodo.desktop -%{tde_datadir}/apps/kodo/numbers.png -%{tde_datadir}/icons/hicolor/*/apps/kodo.png -%{tde_tdedocdir}/HTML/en/kodo/ -%doc AUTHORS COPYING README - -%post -n trinity-kodo -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kodo -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kteatime -Summary: Trinity utility for making a fine cup of tea -Group: Amusements/Graphics - -%description -n trinity-kteatime -KTeaTime is a handy timer for steeping tea. No longer will you have to -guess at how long it takes for your tea to be ready. Simply select the -type of tea you have, and it will alert you when the tea is ready to -drink. - -KTeaTime sits in the Trinity system tray. - -Please note that KTeaTime is written explicitly for Trinity. If you are -using a non-KDE window manager or desktop environment then it is quite -possible that KTeaTime will not work on your system. - -This package is part of Trinity, and a component of the TDE toys module. - -%files -n trinity-kteatime -%defattr(-,root,root,-) -%{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 - -%post -n trinity-kteatime -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kteatime -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ktux -Summary: Tux screensaver for Trinity -Group: Amusements/Graphics - -%description -n trinity-ktux -A neat Tux-in-a-spaceship screensaver for the K Desktop Environment (KDE). - -This package is part of Trinity, and a component of the TDE toys module. - -%files -n trinity-ktux -%defattr(-,root,root,-) -%{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 - -%post -n trinity-ktux -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: - -%postun -n trinity-ktux -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: - -########## - -%package -n trinity-kweather -Summary: weather display applet for Trinity -Group: Amusements/Graphics - -%description -n trinity-kweather -An applet for the KDE panel that displays your area's current weather. -Information shown includes the temperature, wind speed, air pressure -and more. By pressing a button a full weather report can be obtained. - -KWeather also provides a weather service that can track multiple weather -stations and provide this information to other applications, including -Konqueror's sidebar and Kontact's summary page. - -This package is part of Trinity, and a component of the TDE toys module. - -%files -n trinity-kweather -%defattr(-,root,root,-) -%{tde_bindir}/kweatherservice -%{tde_bindir}/kweatherreport -%{tde_libdir}/lib[kt]deinit_kweatherreport.so -%{tde_libdir}/lib[kt]deinit_kweatherreport.la -%{tde_tdelibdir}/kcm_weather.so -%{tde_tdelibdir}/kcm_weather.la -%{tde_tdelibdir}/kcm_weatherservice.so -%{tde_tdelibdir}/kcm_weatherservice.la -%{tde_tdelibdir}/kweatherreport.so -%{tde_tdelibdir}/kweatherreport.la -%{tde_tdelibdir}/weather_panelapplet.la -%{tde_tdelibdir}/weather_panelapplet.so -%{tde_datadir}/apps/kicker/applets/kweather.desktop -%{tde_datadir}/apps/kweather/ -%{tde_datadir}/apps/kweatherservice/stations.dat -%{tde_datadir}/apps/kweatherservice/weather_stations.desktop -%{tde_datadir}/icons/hicolor/*/apps/kweather.png -%{tde_datadir}/services/kweatherservice.desktop -%{tde_datadir}/services/kcmweather.desktop -%{tde_datadir}/services/kcmweatherservice.desktop -%{tde_tdedocdir}/HTML/en/kweather/ -%doc AUTHORS COPYING README - -%post -n trinity-kweather -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kweather -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kworldclock -Summary: earth watcher for Trinity -Group: Amusements/Graphics - -%description -n trinity-kworldclock -Displays where in the world it is light and dark depending on time, as -well as offering the time in all of the major cities of the world. -This can be run standalone, as an applet in the KDE panel or as a -desktop background. - -Additional kworldclock themes are available in the tdeartwork-misc package. - -This package is part of Trinity, and a component of the TDE toys module. - -%files -n trinity-kworldclock -%defattr(-,root,root,-) -%{tde_bindir}/kworldclock -%{tde_tdelibdir}/ww_panelapplet.la -%{tde_tdelibdir}/ww_panelapplet.so -%{tde_tdeappdir}/kworldclock.desktop -%{tde_datadir}/apps/kdesktop/programs/kdeworld.desktop -%{tde_datadir}/apps/kicker/applets/kwwapplet.desktop -%{tde_datadir}/apps/kworldclock/ -%{tde_datadir}/icons/hicolor/*/apps/kworldclock.png -%{tde_tdedocdir}/HTML/en/kworldclock/ -%doc AUTHORS COPYING README - -%post -n trinity-kworldclock -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kworldclock -touch --no-create %{tde_datadir}/icons/hicolor ||: -gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||: -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i admin/acinclude.m4.in \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export KDEDIR=%{tde_prefix} - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --enable-new-ldflags \ - --enable-closure \ - --disable-debug --disable-warnings \ - --disable-dependency-tracking --enable-final \ - --with-extra-includes=%{tde_includedir}/tqt - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf "%{buildroot}" -%__make install DESTDIR=%{buildroot} - -# replace absolute symlink with relative -ln -nfs tips-en %{buildroot}%{tde_datadir}/apps/amor/tips - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common - done - popd - fi -done -fi - -# Useless include file from Amor -%__rm -f %{buildroot}%{tde_tdeincludedir}/AmorIface.h - - -%clean -%__rm -rf %{buildroot} - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 -- Initial release for TDE 3.5.13.2 - diff --git a/redhat/tdeutils/kdeutils-3.5.12.spec b/redhat/tdeutils/kdeutils-3.5.12.spec new file mode 100644 index 000000000..5cf187ce2 --- /dev/null +++ b/redhat/tdeutils/kdeutils-3.5.12.spec @@ -0,0 +1,361 @@ +# Default version for this component +%if "%{?version}" == "" +%define version 3.5.12 +%endif +%define release 7 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_prefix}/share/doc +%endif + +# TDE 3.5.12 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir} +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/kde3 + + +Name: trinity-kdeutils +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} +License: GPL +Summary: TDE Utilities +Group: Applications/System + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: kdeutils-%{version}.tar.gz +Source1: klaptop_acpi_helper.pam +Source2: klaptop_acpi_helper.console +Source3: kcmlaptoprc + +BuildRequires: tqtinterface +BuildRequires: trinity-arts +BuildRequires: trinity-kdelibs + +# RedHat / Fedora legacy patches +Patch1: kdf-3.0.2-label.patch + +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig + +Requires: tqtinterface +Requires: trinity-kdelibs + +BuildRequires: gettext +BuildRequires: net-snmp-devel +BuildRequires: python-devel +BuildRequires: gmp-devel +%if 0%{?fedora} > 4 || 0%{?rhel} > 4 +BuildRequires: libXScrnSaver-devel libXtst-devel +%endif +BuildRequires: xmms-devel + +%define superkaramba_ver 0.39 +Obsoletes: superkaramba < 0:%{superkaramba_ver} +Provides: superkaramba = 0:%{superkaramba_ver} + +%description +Utilities for the Trinity Desktop Environment, including: + * ark (tar/gzip archive manager) + * kcalc (scientific calculator) + * kcharselect (character selector) + * kdepasswd (change password) + * kdessh (ssh front end) + * kdf (view disk usage) + * kedit (simple text editor) + * kfloppy (floppy formatting tool) + * kgpg (gpg gui) + * khexedit (hex editor) + * kjots (note taker) + * kregexpeditor (regular expression editor) + * ktimer (task scheduler) + * kwikdisk (removable media utility) + + +# afaik, nobody BR's it, and it pulls kdeutils into multilib -- Rex +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: %{name}-extras = %{version}-%{release} +Requires: trinity-kdelibs-devel +%description devel +Development files for %{name}. + +%package extras +Summary: Extras packages from %{name} +Group: Applications/Internet +Requires: %{name} = %{version}-%{release} +%if 0%{?fedora} > 5 || 0%{?rhel} > 4 +Requires: pm-utils +%endif +Requires: usermode +%description extras +More Utilities for the K Desktop Environment: + * kmilo + * ksim (system information monitor); + * klaptopdaemon (battery monitoring and management for laptops); + + +%prep +%setup -q -n kdeutils + +%patch1 -p1 -b .label + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f admin/Makefile.common + +%build +unset QTDIR || : ; source /etc/profile.d/qt.sh +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%configure \ + --enable-new-ldflags \ + --disable-dependency-tracking \ + --disable-rpath \ + --disable-debug --disable-warnings \ + --enable-final \ + --includedir=%{tde_includedir} \ + --with-snmp \ + --with-xscreensaver \ + --with-extra-includes=%{_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{?buildroot} + +# Show only in KDE (really? -- Rex) +for i in kcalc kregexpeditor Kjots ktimer kdf kcmdf ksim KFloppy KEdit \ + KCharSelect ark kwalletmanager kwalletconfig \ + irkick kcmlirc laptop pcmcia kvaio thinkpad kwikdisk; do + if [ -f %{buildroot}%{_datadir}/applications/kde/$i.desktop ] ; then + echo "OnlyShowIn=KDE;" >> %{buildroot}%{_datadir}/applications/kde/$i.desktop + fi +done + +## File lists +# locale's +%find_lang %{name} || touch %{name}.lang +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + pushd $lang_dir/kcontrol + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../../common $i/common + done + popd + fi +done +fi + +# using pam +install -p -D -m 644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/pam.d/klaptop_acpi_helper +install -p -D -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/security/console.apps/klaptop_acpi_helper + +pushd %{buildroot}%{_bindir} + mkdir -p %{buildroot}%{_sbindir} + mv klaptop_acpi_helper ../sbin + ln -s consolehelper klaptop_acpi_helper +popd + +# klaptop setting +install -p -D -m 644 %{SOURCE3} %{buildroot}%{_datadir}/config/kcmlaptoprc + + +%clean +%__rm -rf %{?buildroot} + + +%post +/sbin/ldconfig +for f in crystalsvg hicolor locolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun +/sbin/ldconfig +for f in crystalsvg hicolor locolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%post extras +/sbin/ldconfig +for f in crystalsvg hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done + +%postun extras +/sbin/ldconfig +for f in crystalsvg hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done + + +%files extras +%defattr(-,root,root,-) +# kmilo +%{tde_libdir}/kded_kmilod.* +%{tde_libdir}/kmilo* +%{_libdir}/libkmilo.la +%{_libdir}/libkmilo.so.* +%{_datadir}/services/kded/kmilod.desktop +%{_datadir}/services/kmilo +%{_datadir}/servicetypes/kmilo + +# ksim +%{tde_docdir}/HTML/*/ksim/ +%{tde_libdir}/ksim* +%{_libdir}/libksimcore.la +%{_libdir}/libksimcore.so.* +%{_datadir}/apps/kicker/extensions/ksim.desktop +%{_datadir}/apps/ksim/ +%config %{_datadir}/config/ksim_panelextensionrc +%{_datadir}/icons/crystalsvg/??x??/apps/ksim.png +%{_datadir}/icons/crystalsvg/16x16/devices/ksim_cpu.png + +# klaptop +%{tde_docdir}/HTML/en/kcontrol +%{_sysconfdir}/pam.d/klaptop_acpi_helper +%attr(644,root,root) %{_sysconfdir}/security/console.apps/klaptop_acpi_helper +%{_bindir}/klaptop* +%{tde_libdir}/kded_klaptopdaemon.* +%{_sbindir}/klaptop_acpi_helper +%{_datadir}/apps/klaptopdaemon +%{_datadir}/services/kded/klaptopdaemon.desktop +%{tde_libdir}/kcm_laptop.* +%{_libdir}/libkcmlaptop.* +%{_datadir}/applications/kde/laptop.desktop +%config %{_datadir}/config/kcmlaptoprc +%{_datadir}/icons/crystalsvg/128x128/apps/laptop_battery.png +%{_datadir}/icons/crystalsvg/??x??/apps/laptop_battery.png +%{_datadir}/icons/crystalsvg/scalable/apps/laptop_battery.svgz + + +%files -f %{name}.lang +%defattr(-,root,root,-) + +# kmilo +%exclude %{tde_libdir}/kded_kmilod.* +%exclude %{tde_libdir}/kmilo* +%exclude %{_libdir}/libkmilo.la +%exclude %{_libdir}/libkmilo.so.* +%exclude %{_datadir}/services/kded/kmilod.desktop +%exclude %{_datadir}/services/kmilo +%exclude %{_datadir}/servicetypes/kmilo + +# ksim +%exclude %{tde_docdir}/HTML/*/ksim/ +%exclude %{tde_libdir}/ksim* +%exclude %{_libdir}/libksimcore.la +%exclude %{_libdir}/libksimcore.so.* +%exclude %{_datadir}/apps/kicker/extensions/ksim.desktop +%exclude %{_datadir}/apps/ksim/ +%exclude %{_datadir}/config/ksim_panelextensionrc +%exclude %{_datadir}/icons/crystalsvg/??x??/apps/ksim.png +%exclude %{_datadir}/icons/crystalsvg/16x16/devices/ksim_cpu.png + +# klaptop +%exclude %{_sysconfdir}/pam.d/klaptop_acpi_helper +%exclude %{_sysconfdir}/security/console.apps/klaptop_acpi_helper +%exclude %{_bindir}/klaptop* +%exclude %{tde_libdir}/kded_klaptopdaemon.* +%exclude %{_sbindir}/klaptop_acpi_helper +%exclude %{_datadir}/apps/klaptopdaemon +%exclude %{_datadir}/services/kded/klaptopdaemon.desktop +%exclude %{tde_libdir}/kcm_laptop.* +%exclude %{_libdir}/libkcmlaptop.* +%exclude %{_datadir}/applications/kde/laptop.desktop +%exclude %{_datadir}/config/kcmlaptoprc +%exclude %{tde_docdir}/HTML/en/kcontrol/ +%exclude %{_datadir}/icons/crystalsvg/128x128/apps/laptop_battery.png +%exclude %{_datadir}/icons/crystalsvg/??x??/apps/laptop_battery.png +%exclude %{_datadir}/icons/crystalsvg/scalable/apps/laptop_battery.svgz + +%{tde_docdir}/HTML/en/* +%attr(644,root,root) %{_sysconfdir}/security/console.apps/* +%attr(644,root,root) %{_sysconfdir}/pam.d/* +%{_bindir}/* +%{_sbindir}/* +%{tde_libdir}/* +%{_libdir}/*.la +%{_libdir}/libkdeinit*.so +%{_libdir}/lib*.so.* +%{_datadir}/icons/*/*/*/* +%{_datadir}/apps/* +%config %{_datadir}/config/* +%{_datadir}/config.kcfg/* +%{_datadir}/services/* +%{_datadir}/servicetypes/* +%{_datadir}/applications/kde/* +%if 0%{?rhel} >= 5 +%{_datadir}/applnk/Utilities/* +%{_datadir}/mimelnk/application/* +%endif +%{_datadir}/autostart/* + +%files devel +%defattr(-,root,root,-) +%{tde_includedir}/* +%{_libdir}/libkcmlaptop.so +%{_libdir}/libkhexeditcommon.so +%{_libdir}/libkmilo.so +%{_libdir}/libkregexpeditorcommon.so +%{_libdir}/libksimcore.so + + +%changelog +* Sun Sep 18 2011 Francois Andriot - 3.5.12-7 +- Add RHEL5 support + +* Mon Sep 12 2011 Francois Andriot - 3.5.12-6 +- Merge Spec file from Fedora8 "kdeutils-3.5.10-6" + +* Sun Sep 04 2011 Francois Andriot - 3.5.12-5 +- Import to GIT + +* Mon Aug 22 2011 Francois Andriot - 3.5.12-4 +- Correct (again) macro to install under "/opt", if desired + +* Mon Aug 22 2011 Francois Andriot - 3.5.12-3 +- Correct macro to install under "/opt", if desired + +* Sun Dec 19 2010 Francois Andriot - 3.5.12-2 +- Rebuilt + +* Fri Dec 17 2010 Francois Andriot - 3.5.12-1 +- Add macro _kde3_prefix to define custom installation prefix (ex: /opt/kde3) +- Add '--with-extra-includes=%{_includedir}/tqt' + +* Wed Dec 15 2010 Francois Andriot - 3.5.12-0 +- Initial version + diff --git a/redhat/tdeutils/kdeutils-3.5.13.1.spec b/redhat/tdeutils/kdeutils-3.5.13.1.spec new file mode 100644 index 000000000..a7465fceb --- /dev/null +++ b/redhat/tdeutils/kdeutils-3.5.13.1.spec @@ -0,0 +1,1038 @@ +# Avoids relinking, which breaks consolehelper +%define dont_relink 1 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_sbindir %{tde_prefix}/sbin + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +Name: trinity-tdeutils +Version: 3.5.13.1 +Release: 1%{?dist}%{?_variant} +License: GPL +Summary: TDE Utilities +Group: Applications/System + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: kdeutils-3.5.13.1.tar.gz +Source1: klaptop_acpi_helper.pam +Source2: klaptop_acpi_helper.console +Source3: kcmlaptoprc + +Obsoletes: trinity-kdeutils < %{version}-%{release} +Provides: trinity-kdeutils = %{version}-%{release} +Obsoletes: trinity-kdeutils-extras < %{version}-%{release} +Provides: trinity-kdeutils-extras = %{version}-%{release} +Obsoletes: tdeutils < %{version}-%{release} +Provides: tdeutils = %{version}-%{release} + +# RedHat / Fedora legacy patches +Patch1: kdf-3.0.2-label.patch + +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: autoconf automake libtool m4 +BuildRequires: gettext +BuildRequires: net-snmp-devel +BuildRequires: python-devel +BuildRequires: gmp-devel + +%if 0%{?fedora} >= 5 || 0%{?rhel} >= 5 +BuildRequires: libXScrnSaver-devel +BuildRequires: libXtst-devel +%endif + +%if 0%{?fedora} +BuildRequires: xmms-devel +%endif + +Requires: trinity-ark = %{version}-%{release} +Requires: trinity-kcalc = %{version}-%{release} +Requires: trinity-kcharselect = %{version}-%{release} +Requires: trinity-kdelirc = %{version}-%{release} +Requires: trinity-kdessh = %{version}-%{release} +Requires: trinity-kdf = %{version}-%{release} +Requires: trinity-kedit = %{version}-%{release} +Requires: trinity-kfloppy = %{version}-%{release} +Requires: trinity-kgpg = %{version}-%{release} +Requires: trinity-khexedit = %{version}-%{release} +Requires: trinity-kjots = %{version}-%{release} +Requires: trinity-klaptopdaemon = %{version}-%{release} +Requires: trinity-kmilo = %{version}-%{release} +Requires: trinity-kmilo-legacy = %{version}-%{release} +Requires: trinity-kregexpeditor = %{version}-%{release} +Requires: trinity-ksim = %{version}-%{release} +Requires: trinity-ktimer = %{version}-%{release} +Requires: trinity-kwalletmanager = %{version}-%{release} +Requires: trinity-superkaramba = %{version}-%{release} + +%files + + +%description +Utilities for the Trinity Desktop Environment, including: + * ark (tar/gzip archive manager) + * kcalc (scientific calculator) + * kcharselect (character selector) + * kdepasswd (change password) + * kdessh (ssh front end) + * kdf (view disk usage) + * kedit (simple text editor) + * kfloppy (floppy formatting tool) + * kgpg (gpg gui) + * khexedit (hex editor) + * kjots (note taker) + * klaptopdaemon (battery monitoring and management for laptops); + * kmilo + * kregexpeditor (regular expression editor) + * ksim (system information monitor); + * ktimer (task scheduler) + * kwikdisk (removable media utility) + +########## + +%package -n trinity-ark +Summary: graphical archiving tool for Trinity +Group: Applications/Utilities +#Requires: ncompress +Requires: unzip +Requires: zip +#Requires: zoo +Requires: bzip2 +#Requires: p7zip +Requires: xz +Requires: lzma +#Requires: rar, unrar + +%description -n trinity-ark +Ark is a graphical program for managing various archive formats within the +TDE environment. Archives can be viewed, extracted, created and modified +from within Ark. + +The program can handle various formats such as tar, gzip, bzip2, zip, rar and +lha (if appropriate command-line programs are installed). + +Ark can work closely with Konqueror in the KDE environment to handle archives, +if you install the Konqueror Integration plugin available in the konq-plugins +package. + +%files -n trinity-ark +%defattr(-,root,root,-) +%{tde_bindir}/ark +%{tde_tdelibdir}/ark.la +%{tde_tdelibdir}/ark.so +%{tde_tdelibdir}/libarkpart.la +%{tde_tdelibdir}/libarkpart.so +%{tde_libdir}/lib[kt]deinit_ark.so +%{tde_tdeappdir}/ark.desktop +%{tde_datadir}/apps/ark/ +%{tde_datadir}/config.kcfg/ark.kcfg +%{tde_datadir}/icons/hicolor/*/apps/ark.png +%{tde_datadir}/icons/hicolor/scalable/apps/ark.svgz +%{tde_datadir}/services/ark_part.desktop +%{tde_tdedocdir}/HTML/en/ark/ + +%post -n trinity-ark +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ark +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kcalc +Summary: calculator for Trinity +Group: Applications/Utilities + +%description -n trinity-kcalc +KCalc is TDE's scientific calculator. + +It provides: +* trigonometric functions, logic operations, and statistical calculations +* easy cut and paste of numbers from/into its display +* a results-stack which lets you conveniently recall previous results +* configurable precision, and number of digits after the period + +%files -n trinity-kcalc +%defattr(-,root,root,-) +%{tde_bindir}/kcalc +%{tde_tdelibdir}/kcalc.la +%{tde_tdelibdir}/kcalc.so +%{tde_libdir}/lib[kt]deinit_kcalc.so +%{tde_tdeappdir}/kcalc.desktop +%{tde_datadir}/apps/kcalc/ +%{tde_datadir}/apps/kconf_update/kcalcrc.upd +%{tde_datadir}/config.kcfg/kcalc.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kcalc.png +%{tde_datadir}/icons/hicolor/scalable/apps/kcalc.svgz +%{tde_tdedocdir}/HTML/en/kcalc/ + +%post -n trinity-kcalc +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kcalc +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kcharselect +Summary: character selector for Trinity +Group: Applications/Utilities + +%description -n trinity-kcharselect +A character set selector for TDE. + +%files -n trinity-kcharselect +%defattr(-,root,root,-) +%{tde_bindir}/kcharselect +%{tde_tdelibdir}/kcharselect_panelapplet.la +%{tde_tdelibdir}/kcharselect_panelapplet.so +%{tde_tdeappdir}/KCharSelect.desktop +%{tde_datadir}/apps/kcharselect/ +%{tde_datadir}/apps/kconf_update/kcharselect.upd +%{tde_datadir}/apps/kicker/applets/kcharselectapplet.desktop +%{tde_datadir}/icons/hicolor/*/apps/kcharselect.png +%{tde_tdedocdir}/HTML/en/kcharselect/ + +%post -n trinity-kcharselect +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kcharselect +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kdelirc +Summary: infrared control for Trinity +Group: Applications/Utilities + +%description -n trinity-kdelirc +This is a frontend for the LIRC suite to use infrared devices with TDE. + +%files -n trinity-kdelirc +%defattr(-,root,root,-) +%{tde_bindir}/irkick +%{tde_tdelibdir}/irkick.la +%{tde_tdelibdir}/irkick.so +%{tde_tdelibdir}/kcm_kcmlirc.la +%{tde_tdelibdir}/kcm_kcmlirc.so +%{tde_libdir}/lib[kt]deinit_irkick.so +%{tde_tdeappdir}/irkick.desktop +%{tde_tdeappdir}/kcmlirc.desktop +%{tde_datadir}/apps/irkick/ +%{tde_datadir}/apps/profiles/klauncher.profile.xml +%{tde_datadir}/apps/profiles/konqueror.profile.xml +%{tde_datadir}/apps/profiles/noatun.profile.xml +%{tde_datadir}/apps/profiles/profile.dtd +%{tde_datadir}/apps/remotes/RM-0010.remote.xml +%{tde_datadir}/apps/remotes/cimr100.remote.xml +%{tde_datadir}/apps/remotes/hauppauge.remote.xml +%{tde_datadir}/apps/remotes/remote.dtd +%{tde_datadir}/apps/remotes/sherwood.remote.xml +%{tde_datadir}/apps/remotes/sonytv.remote.xml +%{tde_datadir}/autostart/irkick.desktop +%{tde_datadir}/icons/hicolor/*/apps/irkick.png +%{tde_datadir}/icons/locolor/*/apps/irkick.png +%{tde_tdedocdir}/HTML/en/irkick/ +%{tde_tdedocdir}/HTML/en/kcmlirc/ + +%post -n trinity-kdelirc +/sbin/ldconfig +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kdelirc +/sbin/ldconfig +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kdessh +Summary: ssh frontend for Trinity +Group: Applications/Utilities +%if 0%{?suse_version} +Requires: openssh +%else +Requires: openssh-clients +%endif + +%description -n trinity-kdessh +This package contains TDE's frontend for ssh. + +%files -n trinity-kdessh +%defattr(-,root,root,-) +%{tde_bindir}/kdessh + +########## + +%package -n trinity-kdf +Summary: disk space utility for Trinity +Group: Applications/Utilities + +%description -n trinity-kdf +KDiskFree displays the available file devices (hard drive partitions, floppy +and CD drives, etc.) along with information on their capacity, free space, type +and mount point. It also allows you to mount and unmount drives and view them +in a file manager. + +%files -n trinity-kdf +%defattr(-,root,root,-) +%{tde_bindir}/kdf +%{tde_bindir}/kwikdisk +%{tde_tdelibdir}/kcm_kdf.la +%{tde_tdelibdir}/kcm_kdf.so +%{tde_tdeappdir}/kcmdf.desktop +%{tde_tdeappdir}/kdf.desktop +%{tde_tdeappdir}/kwikdisk.desktop +%{tde_datadir}/apps/kdf/ +%{tde_datadir}/icons/crystalsvg/*/apps/kcmdf.png +%{tde_datadir}/icons/hicolor/*/apps/kdf.png +%{tde_datadir}/icons/hicolor/*/apps/kwikdisk.png +%{tde_tdedocdir}/HTML/en/kdf/ +%{tde_tdedocdir}/HTML/en/kinfocenter/blockdevices/ + +%post -n trinity-kdf +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kdf +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kedit +Summary: basic text editor for Trinity +Group: Applications/Utilities + +%description -n trinity-kedit +A simple text editor for TDE. + +It can be used with Konqueror for text and configuration file browsing. +KEdit also serves well for creating small plain text documents. KEdit's +functionality will intentionally remain rather limited to ensure a +reasonably fast start. + +%files -n trinity-kedit +%defattr(-,root,root,-) +%{tde_bindir}/kedit +%{tde_tdelibdir}/kedit.la +%{tde_tdelibdir}/kedit.so +%{tde_libdir}/lib[kt]deinit_kedit.so +%{tde_tdeappdir}/KEdit.desktop +%{tde_datadir}/apps/kedit/keditui.rc +%{tde_datadir}/config.kcfg/kedit.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kedit.png +%{tde_tdedocdir}/HTML/en/kedit/ + +%post -n trinity-kedit +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kedit +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kfloppy +Summary: floppy formatter for Trinity +Group: Applications/Utilities +Requires: dosfstools + +%description -n trinity-kfloppy +Kfloppy is a utility that provides a straightforward graphical means +to format 3.5" and 5.25" floppy disks. + +%files -n trinity-kfloppy +%defattr(-,root,root,-) +%{tde_bindir}/kfloppy +%{tde_tdeappdir}/KFloppy.desktop +%{tde_datadir}/apps/konqueror/servicemenus/floppy_format.desktop +%{tde_datadir}/icons/hicolor/*/apps/kfloppy.png +%{tde_tdedocdir}/HTML/en/kfloppy/ + +%post -n trinity-kfloppy +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kfloppy +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kgpg +Summary: GnuPG frontend for Trinity +Group: Applications/Utilities +Requires: trinity-konsole +Requires: gnupg + +%description -n trinity-kgpg +Kgpg is a frontend for GNU Privacy Guard (GnuPG). It provides file +encryption, file decryption and key management. + +Features: +* an editor mode for easily and quickly encrypting or decrypting a file + or message which is typed, copied, pasted or dragged into the editor, + or which is double-clicked in the file manager +* Konqueror integration for encrypting or decrypting files +* a panel applet for encrypting / decrypting files or the clipboard + contents, etc. +* key management functions (generation, import, export, deletion and + signing) +* decrypting clipboard contents, including integration with Klipper + +%files -n trinity-kgpg +%defattr(-,root,root,-) +%{tde_bindir}/kgpg +%{tde_tdeappdir}/kgpg.desktop +%{tde_datadir}/apps/kgpg/ +%{tde_datadir}/apps/konqueror/servicemenus/encryptfile.desktop +%{tde_datadir}/apps/konqueror/servicemenus/encryptfolder.desktop +%{tde_datadir}/autostart/kgpg.desktop +%{tde_datadir}/config.kcfg/kgpg.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kgpg.png +%{tde_tdedocdir}/HTML/en/kgpg/ + +%post -n trinity-kgpg +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kgpg +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-khexedit +Summary: Trinity hex editor +Group: Applications/Utilities + +%description -n trinity-khexedit +KHexEdit is an editor for the raw data of binary files. It includes +find/replace functions, bookmarks, many configuration options, drag and drop +support and other powerful features. + +%files -n trinity-khexedit +%defattr(-,root,root,-) +%{tde_bindir}/khexedit +%{tde_tdelibdir}/libkbyteseditwidget.la +%{tde_tdelibdir}/libkbyteseditwidget.so +%{tde_tdelibdir}/libkhexedit2part.la +%{tde_tdelibdir}/libkhexedit2part.so +%{tde_libdir}/libkhexeditcommon.so.* +%{tde_tdeappdir}/khexedit.desktop +%{tde_datadir}/apps/khexedit/ +%{tde_datadir}/apps/khexedit2part/khexedit2partui.rc +%{tde_datadir}/icons/hicolor/*/apps/khexedit.png +%{tde_datadir}/services/kbyteseditwidget.desktop +%{tde_datadir}/services/khexedit2part.desktop +%{tde_tdedocdir}/HTML/en/khexedit/ + +%post -n trinity-khexedit +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-khexedit +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kjots +Summary: note taking utility for Trinity +Group: Applications/Utilities + +%description -n trinity-kjots +Kjots is a small note taker program. Name and idea are taken from the jots +program included in the tkgoodstuff package. + +%files -n trinity-kjots +%defattr(-,root,root,-) +%{tde_bindir}/kjots +%{tde_tdeappdir}/Kjots.desktop +%{tde_datadir}/apps/kjots/ +%{tde_datadir}/config.kcfg/kjots.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kjots.png +%{tde_tdedocdir}/HTML/en/kjots/ + +%post -n trinity-kjots +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kjots +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-klaptopdaemon +Summary: battery monitoring and management for laptops using Trinity +Group: Applications/Utilities +Requires: pm-utils +Requires: usermode + +%description -n trinity-klaptopdaemon +This package contains utilities to monitor batteries and configure +power management, for laptops, from within TDE. + +%files -n trinity-klaptopdaemon +%defattr(-,root,root,-) +%{tde_bindir}/klaptop_acpi_helper +%{tde_bindir}/klaptop_check +%{tde_tdelibdir}/kcm_laptop.la +%{tde_tdelibdir}/kcm_laptop.so +%{tde_tdelibdir}/kded_klaptopdaemon.la +%{tde_tdelibdir}/kded_klaptopdaemon.so +%{tde_libdir}/libkcmlaptop.so.* +%{tde_tdeappdir}/laptop.desktop +%{tde_tdeappdir}/pcmcia.desktop +%{tde_datadir}/apps/klaptopdaemon/ +%{tde_datadir}/icons/crystalsvg/*/apps/laptop_battery.png +%{tde_datadir}/icons/crystalsvg/*/apps/laptop_pcmcia.png +%{tde_datadir}/icons/crystalsvg/scalable/apps/laptop_battery.svgz +%{tde_datadir}/services/kded/klaptopdaemon.desktop +%{tde_tdedocdir}/HTML/en/kcontrol/kcmlowbatcrit/ +%{tde_tdedocdir}/HTML/en/kcontrol/kcmlowbatwarn/ +%{tde_tdedocdir}/HTML/en/kcontrol/laptop/ +%{tde_tdedocdir}/HTML/en/kcontrol/powerctrl/ + +# RHEL/Fedora specific +%{_sysconfdir}/pam.d/klaptop_acpi_helper +%attr(644,root,root) %{_sysconfdir}/security/console.apps/klaptop_acpi_helper +%{tde_sbindir}/klaptop_acpi_helper +%{_sbindir}/klaptop_acpi_helper +%config %{tde_datadir}/config/kcmlaptoprc + +%post -n trinity-klaptopdaemon +/sbin/ldconfig +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-klaptopdaemon +/sbin/ldconfig +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kmilo +Summary: laptop special keys support for Trinity +Group: Applications/Utilities + +%description -n trinity-kmilo +KMilo lets you use the special keys on some keyboards and laptops. + +Usually this includes volume keys and other features. Currently, KMilo +comes with plugins for Powerbooks, Thinkpads, Vaios and generic keyboards +with special keys. + +%files -n trinity-kmilo +%defattr(-,root,root,-) +%{tde_tdelibdir}/kded_kmilod.la +%{tde_tdelibdir}/kded_kmilod.so +%{tde_tdelibdir}/kmilo_generic.la +%{tde_tdelibdir}/kmilo_generic.so +%{tde_libdir}/libkmilo.so.* +%{tde_datadir}/services/kded/kmilod.desktop +%{tde_datadir}/services/kmilo/kmilo_generic.desktop +%{tde_datadir}/servicetypes/kmilo/kmilopluginsvc.desktop + +%post -n trinity-kmilo +/sbin/ldconfig + +%postun -n trinity-kmilo +/sbin/ldconfig + +########## + +%package -n trinity-kmilo-legacy +Summary: non-standard plugins for KMilo +Group: Applications/Utilities +Requires: trinity-kmilo = %{version}-%{release} + +%description -n trinity-kmilo-legacy +KMilo lets you use the special keys on some keyboards and laptops. + +Usually this includes volume keys and other features. Currently, KMilo +comes with plugins for Powerbooks, Thinkpads and Vaios. + +The intention is that all laptops work with the generic kmilo +plugin, if you need this package please file a bug. + +%files -n trinity-kmilo-legacy +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcm_kvaio.la +%{tde_tdelibdir}/kcm_kvaio.so +%{tde_tdelibdir}/kcm_thinkpad.la +%{tde_tdelibdir}/kcm_thinkpad.so +%{tde_tdelibdir}/kmilo_asus.la +%{tde_tdelibdir}/kmilo_asus.so +%{tde_tdelibdir}/kmilo_delli8k.la +%{tde_tdelibdir}/kmilo_delli8k.so +%{tde_tdelibdir}/kmilo_kvaio.la +%{tde_tdelibdir}/kmilo_kvaio.so +%{tde_tdelibdir}/kmilo_thinkpad.la +%{tde_tdelibdir}/kmilo_thinkpad.so +%{tde_tdeappdir}/kvaio.desktop +%{tde_tdeappdir}/thinkpad.desktop +%{tde_datadir}/services/kmilo/kmilo_asus.desktop +%{tde_datadir}/services/kmilo/kmilo_delli8k.desktop +%{tde_datadir}/services/kmilo/kmilo_kvaio.desktop +%{tde_datadir}/services/kmilo/kmilo_thinkpad.desktop + +########## + +%package -n trinity-kregexpeditor +Summary: graphical regular expression editor plugin for Trinity +Group: Applications/Utilities + +%description -n trinity-kregexpeditor +This package contains a graphical regular expression editor plugin for use +with TDE. It let you draw your regular expression in an unambiguous way. + +%files -n trinity-kregexpeditor +%defattr(-,root,root,-) +%{tde_bindir}/kregexpeditor +%{tde_tdelibdir}/libkregexpeditorgui.la +%{tde_tdelibdir}/libkregexpeditorgui.so +%{tde_libdir}/libkregexpeditorcommon.so.* +%{tde_tdeappdir}/kregexpeditor.desktop +%{tde_datadir}/apps/kregexpeditor/ +%{tde_datadir}/icons/hicolor/*/apps/kregexpeditor.png +%{tde_datadir}/services/kregexpeditorgui.desktop +%{tde_tdedocdir}/HTML/en/KRegExpEditor/ + +%post -n trinity-kregexpeditor +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kregexpeditor +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ksim +Summary: system information monitor for Trinity +Group: Applications/Utilities + +%description -n trinity-ksim +KSim is a system monitor app which has its own plugin system with support +for GKrellm skins. It allows users to follow uptime, memory usage, network +connections, power, etc. + +%files -n trinity-ksim +%defattr(-,root,root,-) +%config %{tde_datadir}/config/ksim_panelextensionrc +%{tde_tdelibdir}/ksim_*.la +%{tde_tdelibdir}/ksim_*.so +%{tde_libdir}/libksimcore.so.* +%{tde_datadir}/apps/kicker/extensions/ksim.desktop +%{tde_datadir}/apps/ksim/ +%{tde_tdedocdir}/HTML/en/ksim/ +%{tde_datadir}/icons/crystalsvg/*/apps/ksim.png +%{tde_datadir}/icons/crystalsvg/*/devices/ksim_cpu.png + +%post -n trinity-ksim +/sbin/ldconfig +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done + +%postun -n trinity-ksim +/sbin/ldconfig +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done + +########## + +%package -n trinity-ktimer +Summary: timer utility for Trinity +Group: Applications/Utilities + +%description -n trinity-ktimer +This is a timer application for TDE. It allows you to execute commands after +a certain amount of time. It supports looping commands as well as delayed +command execution. + +%files -n trinity-ktimer +%defattr(-,root,root,-) +%{tde_bindir}/ktimer +%{tde_tdeappdir}/ktimer.desktop +%{tde_datadir}/icons/hicolor/*/apps/ktimer.png +%{tde_tdedocdir}/HTML/en/ktimer/ + +%post -n trinity-ktimer +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ktimer +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kwalletmanager +Summary: wallet manager for Trinity +Group: Applications/Utilities + +%description -n trinity-kwalletmanager +This program keeps various wallets for any kind of data that the user can +store encrypted with passwords and can also serve as a password manager that +keeps a master password to all wallets. + +%files -n trinity-kwalletmanager +%defattr(-,root,root,-) +%{tde_bindir}/kwalletmanager +%{tde_tdelibdir}/kcm_kwallet.la +%{tde_tdelibdir}/kcm_kwallet.so +%{tde_tdeappdir}/kwalletconfig.desktop +%{tde_tdeappdir}/kwalletmanager.desktop +%{tde_tdeappdir}/kwalletmanager-kwalletd.desktop +%{tde_datadir}/apps/kwalletmanager/ +%{tde_datadir}/icons/hicolor/*/apps/kwalletmanager.png +%{tde_datadir}/services/kwallet_config.desktop +%{tde_datadir}/services/kwalletmanager_show.desktop +%{tde_tdedocdir}/HTML/en/kwallet/ + +%post -n trinity-kwalletmanager +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kwalletmanager +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-superkaramba +Summary: a program based on karamba improving the eyecandy of TDE +Group: Applications/Utilities + +%description -n trinity-superkaramba +SuperKaramba is a tool based on karamba that allows anyone to easily create +and run little interactive widgets on a TDE desktop. Widgets are defined in a +simple text file and can be augmented with Python code to make them +interactive. + +Here are just some examples of the things that can be done: +* Display system information such as CPU Usage, MP3 playing, etc. +* Create cool custom toolbars that work any way imaginable. +* Create little games or virtual pets that live on your desktop. +* Display information from the internet, such as weather and headlines. + +%files -n trinity-superkaramba +%defattr(-,root,root,-) +%{tde_bindir}/superkaramba +%{tde_datadir}/applnk/Utilities/superkaramba.desktop +%{tde_datadir}/apps/superkaramba/superkarambaui.rc +%{tde_datadir}/icons/crystalsvg/*/apps/superkaramba.png +%{tde_datadir}/icons/crystalsvg/*/mimetypes/superkaramba_theme.png +%{tde_datadir}/icons/crystalsvg/scalable/apps/superkaramba.svgz +%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/superkaramba_theme.svgz +%{tde_datadir}/mimelnk/application/x-superkaramba.desktop +%{tde_tdedocdir}/HTML/en/superkaramba/ + +%post -n trinity-superkaramba +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done + +%postun -n trinity-superkaramba +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done + +########## + +# afaik, nobody BR's it, and it pulls kdeutils into multilib -- Rex +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: trinity-tdelibs-devel + +Obsoletes: trinity-kdeutils-devel < %{version}-%{release} +Provides: trinity-kdeutils-devel = %{version}-%{release} +Obsoletes: tdeutils-devel < %{version}-%{release} +Provides: tdeutils-devel = %{version}-%{release} + +%description devel +Development files for %{name}. + +%files devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/* +%{tde_libdir}/libkcmlaptop.la +%{tde_libdir}/libkcmlaptop.so +%{tde_libdir}/lib[kt]deinit_ark.la +%{tde_libdir}/lib[kt]deinit_irkick.la +%{tde_libdir}/lib[kt]deinit_kcalc.la +%{tde_libdir}/lib[kt]deinit_kedit.la +%{tde_libdir}/libkmilo.la +%{tde_libdir}/libkmilo.so +%{tde_libdir}/libkregexpeditorcommon.la +%{tde_libdir}/libkregexpeditorcommon.so +%{tde_libdir}/libksimcore.la +%{tde_libdir}/libksimcore.so +%{tde_libdir}/libkhexeditcommon.la +%{tde_libdir}/libkhexeditcommon.so + +%post devel +/sbin/ldconfig + +%postun devel +/sbin/ldconfig + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n kdeutils-3.5.13.1 + +%patch1 -p1 -b .label + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + +%build +unset QTDIR || : ; source /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +# Do not build against any "/usr" installed KDE +export KDEDIR=%{tde_prefix} + +# Specific path for RHEL4 +if [ -d /usr/X11R6 ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --enable-new-ldflags \ + --disable-dependency-tracking \ + --disable-rpath \ + --disable-debug --disable-warnings \ + --enable-final \ + --includedir=%{tde_tdeincludedir} \ + --with-snmp \ +%if 0%{?fedora} + --with-xmms \ +%else + --without-xmms \ +%endif + --with-xscreensaver \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{?buildroot} + +# Show only in KDE (really? -- Rex) +for i in kcalc kregexpeditor Kjots ktimer kdf kcmdf ksim KFloppy KEdit \ + KCharSelect ark kwalletmanager kwalletconfig \ + irkick kcmlirc laptop pcmcia kvaio thinkpad kwikdisk; do + if [ -f %{buildroot}%{tde_datadir}/applications/kde/$i.desktop ] ; then + echo "OnlyShowIn=KDE;" >> %{buildroot}%{tde_datadir}/applications/kde/$i.desktop + fi +done + +## File lists +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + pushd $lang_dir/kcontrol + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../../common $i/common + done + popd + fi +done +fi + +# using pam +%__install -p -D -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/pam.d/klaptop_acpi_helper +%__install -p -D -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/security/console.apps/klaptop_acpi_helper + +# Use consolehelper for 'klaptop_acpi_helper' +%__mkdir_p %{buildroot}%{tde_sbindir} %{buildroot}%{_sbindir} +%__mv %{buildroot}%{tde_bindir}/klaptop_acpi_helper %{buildroot}%{tde_sbindir} +%__ln_s %{_bindir}/consolehelper %{buildroot}%{tde_bindir}/klaptop_acpi_helper +%if "%{tde_prefix}" != "/usr" +%__ln_s %{tde_sbindir}/klaptop_acpi_helper %{?buildroot}%{_sbindir}/klaptop_acpi_helper +%endif + +# klaptop setting +%__install -p -D -m 644 %{SOURCE3} %{buildroot}%{tde_datadir}/config/kcmlaptoprc + + +%clean +%__rm -rf %{?buildroot} + + + +%changelog +* Sun Sep 30 2012 Francois Andriot - 3.5.13.1-1 +- Initial build for TDE 3.5.13.1 diff --git a/redhat/tdeutils/kdeutils-3.5.13.spec b/redhat/tdeutils/kdeutils-3.5.13.spec new file mode 100644 index 000000000..d85cfc7d4 --- /dev/null +++ b/redhat/tdeutils/kdeutils-3.5.13.spec @@ -0,0 +1,1076 @@ +# Avoids relinking, which breaks consolehelper +%define dont_relink 1 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_sbindir %{tde_prefix}/sbin + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +Name: trinity-tdeutils +Version: 3.5.13 +Release: 7%{?dist}%{?_variant} +License: GPL +Summary: TDE Utilities +Group: Applications/System + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: kdeutils-%{version}.tar.gz +Source1: klaptop_acpi_helper.pam +Source2: klaptop_acpi_helper.console +Source3: kcmlaptoprc + +Obsoletes: trinity-kdeutils < %{version}-%{release} +Provides: trinity-kdeutils = %{version}-%{release} +Obsoletes: trinity-kdeutils-extras < %{version}-%{release} +Provides: trinity-kdeutils-extras = %{version}-%{release} +Obsoletes: tdeutils < %{version}-%{release} +Provides: tdeutils = %{version}-%{release} + +# RedHat / Fedora legacy patches +Patch1: kdf-3.0.2-label.patch + +# TDE 3.5.13 RHEL/Fedora patches +## [kdeutils/klaptodaemon] removes dpkg commands [Commit #1e1a776f] +Patch2: kdeutils-3.5.13-klaptopdaemon_dpkg_command.patch +## [tdeutils] Allow ark embedding [Bug #670] [Commit #2a1d4a67] +Patch3: kdeutils-3.5.13-fix_ark_embedding.patch +## [tdeutils] Remove "More Applications" from TDE menu. Add Utility category to KEdit. [Bug #653] [Commit #803f4752] +Patch4: kdeutils-3.5.13-remove_more_applications.patch +## [tdeutils] Reorganize KControl menu tree. [Commit #7780bb7b] +## * Move former KInfoCenter items -> Hardware/Information. +## * Move Laptop Battery -> Hardware. +Patch5: kdeutils-3.5.13-reorganize_kcontrol_menu_tree.patch +## [tdeutils] Further organize TDE Menu. [Commit #b970fc42] +Patch6: kdeutils-3.5.13-further_organise_menu.patch +## [tdeutils] [Ark] Repairs and extensions [Bug #1030] [Commit #1c84948d] +## Added support for Arj +## Added support for check archives +## Added support for password processing +## Fix show broken filenames into real UTF-8 +Patch7: kdeutils-3.5.13-ark_repairs_and_extensions.patch +# [kdeutils] Missing LDFLAGS cause FTBFS on Mageia 2 +Patch8: kdeutils-3.5.13-missing_ldflags.patch + +BuildRequires: tqtinterface-devel >= 3.5.13 +BuildRequires: trinity-arts-devel >= 3.5.13 +BuildRequires: trinity-tdelibs-devel >= 3.5.13 +BuildRequires: autoconf automake libtool m4 +BuildRequires: gettext +BuildRequires: net-snmp-devel +BuildRequires: python-devel +BuildRequires: gmp-devel + +%if 0%{?fedora} > 4 || 0%{?rhel} > 4 +BuildRequires: libXScrnSaver-devel +BuildRequires: libXtst-devel +%endif + +%if 0%{?fedora} +BuildRequires: xmms-devel +%endif + +Requires: trinity-ark = %{version}-%{release} +Requires: trinity-kcalc = %{version}-%{release} +Requires: trinity-kcharselect = %{version}-%{release} +Requires: trinity-kdelirc = %{version}-%{release} +Requires: trinity-kdessh = %{version}-%{release} +Requires: trinity-kdf = %{version}-%{release} +Requires: trinity-kedit = %{version}-%{release} +Requires: trinity-kfloppy = %{version}-%{release} +Requires: trinity-kgpg = %{version}-%{release} +Requires: trinity-khexedit = %{version}-%{release} +Requires: trinity-kjots = %{version}-%{release} +Requires: trinity-klaptopdaemon = %{version}-%{release} +Requires: trinity-kmilo = %{version}-%{release} +Requires: trinity-kmilo-legacy = %{version}-%{release} +Requires: trinity-kregexpeditor = %{version}-%{release} +Requires: trinity-ksim = %{version}-%{release} +Requires: trinity-ktimer = %{version}-%{release} +Requires: trinity-kwalletmanager = %{version}-%{release} +Requires: trinity-superkaramba = %{version}-%{release} + +%files + + +%description +Utilities for the Trinity Desktop Environment, including: + * ark (tar/gzip archive manager) + * kcalc (scientific calculator) + * kcharselect (character selector) + * kdepasswd (change password) + * kdessh (ssh front end) + * kdf (view disk usage) + * kedit (simple text editor) + * kfloppy (floppy formatting tool) + * kgpg (gpg gui) + * khexedit (hex editor) + * kjots (note taker) + * klaptopdaemon (battery monitoring and management for laptops); + * kmilo + * kregexpeditor (regular expression editor) + * ksim (system information monitor); + * ktimer (task scheduler) + * kwikdisk (removable media utility) + +########## + +%package -n trinity-ark +Summary: graphical archiving tool for Trinity +Group: Applications/Utilities +#Requires: ncompress +Requires: unzip +Requires: zip +#Requires: zoo +Requires: bzip2 +#Requires: p7zip +Requires: xz +Requires: lzma +#Requires: rar, unrar + +%description -n trinity-ark +Ark is a graphical program for managing various archive formats within the +TDE environment. Archives can be viewed, extracted, created and modified +from within Ark. + +The program can handle various formats such as tar, gzip, bzip2, zip, rar and +lha (if appropriate command-line programs are installed). + +Ark can work closely with Konqueror in the KDE environment to handle archives, +if you install the Konqueror Integration plugin available in the konq-plugins +package. + +%files -n trinity-ark +%defattr(-,root,root,-) +%{tde_bindir}/ark +%{tde_tdelibdir}/ark.la +%{tde_tdelibdir}/ark.so +%{tde_tdelibdir}/libarkpart.la +%{tde_tdelibdir}/libarkpart.so +%{tde_libdir}/lib[kt]deinit_ark.so +%{tde_tdeappdir}/ark.desktop +%{tde_datadir}/apps/ark/ +%{tde_datadir}/config.kcfg/ark.kcfg +%{tde_datadir}/icons/hicolor/*/apps/ark.png +%{tde_datadir}/icons/hicolor/scalable/apps/ark.svgz +%{tde_datadir}/services/ark_part.desktop +%{tde_tdedocdir}/HTML/en/ark/ + +%post -n trinity-ark +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ark +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kcalc +Summary: calculator for Trinity +Group: Applications/Utilities + +%description -n trinity-kcalc +KCalc is TDE's scientific calculator. + +It provides: +* trigonometric functions, logic operations, and statistical calculations +* easy cut and paste of numbers from/into its display +* a results-stack which lets you conveniently recall previous results +* configurable precision, and number of digits after the period + +%files -n trinity-kcalc +%defattr(-,root,root,-) +%{tde_bindir}/kcalc +%{tde_tdelibdir}/kcalc.la +%{tde_tdelibdir}/kcalc.so +%{tde_libdir}/lib[kt]deinit_kcalc.so +%{tde_tdeappdir}/kcalc.desktop +%{tde_datadir}/apps/kcalc/ +%{tde_datadir}/apps/kconf_update/kcalcrc.upd +%{tde_datadir}/config.kcfg/kcalc.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kcalc.png +%{tde_datadir}/icons/hicolor/scalable/apps/kcalc.svgz +%{tde_tdedocdir}/HTML/en/kcalc/ + +%post -n trinity-kcalc +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kcalc +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kcharselect +Summary: character selector for Trinity +Group: Applications/Utilities + +%description -n trinity-kcharselect +A character set selector for TDE. + +%files -n trinity-kcharselect +%defattr(-,root,root,-) +%{tde_bindir}/kcharselect +%{tde_tdelibdir}/kcharselect_panelapplet.la +%{tde_tdelibdir}/kcharselect_panelapplet.so +%{tde_tdeappdir}/KCharSelect.desktop +%{tde_datadir}/apps/kcharselect/ +%{tde_datadir}/apps/kconf_update/kcharselect.upd +%{tde_datadir}/apps/kicker/applets/kcharselectapplet.desktop +%{tde_datadir}/icons/hicolor/*/apps/kcharselect.png +%{tde_tdedocdir}/HTML/en/kcharselect/ + +%post -n trinity-kcharselect +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kcharselect +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kdelirc +Summary: infrared control for Trinity +Group: Applications/Utilities + +%description -n trinity-kdelirc +This is a frontend for the LIRC suite to use infrared devices with TDE. + +%files -n trinity-kdelirc +%defattr(-,root,root,-) +%{tde_bindir}/irkick +%{tde_tdelibdir}/irkick.la +%{tde_tdelibdir}/irkick.so +%{tde_tdelibdir}/kcm_kcmlirc.la +%{tde_tdelibdir}/kcm_kcmlirc.so +%{tde_libdir}/lib[kt]deinit_irkick.so +%{tde_tdeappdir}/irkick.desktop +%{tde_tdeappdir}/kcmlirc.desktop +%{tde_datadir}/apps/irkick/ +%{tde_datadir}/apps/profiles/klauncher.profile.xml +%{tde_datadir}/apps/profiles/konqueror.profile.xml +%{tde_datadir}/apps/profiles/noatun.profile.xml +%{tde_datadir}/apps/profiles/profile.dtd +%{tde_datadir}/apps/remotes/RM-0010.remote.xml +%{tde_datadir}/apps/remotes/cimr100.remote.xml +%{tde_datadir}/apps/remotes/hauppauge.remote.xml +%{tde_datadir}/apps/remotes/remote.dtd +%{tde_datadir}/apps/remotes/sherwood.remote.xml +%{tde_datadir}/apps/remotes/sonytv.remote.xml +%{tde_datadir}/autostart/irkick.desktop +%{tde_datadir}/icons/hicolor/*/apps/irkick.png +%{tde_datadir}/icons/locolor/*/apps/irkick.png +%{tde_tdedocdir}/HTML/en/irkick/ +%{tde_tdedocdir}/HTML/en/kcmlirc/ + +%post -n trinity-kdelirc +/sbin/ldconfig +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kdelirc +/sbin/ldconfig +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kdessh +Summary: ssh frontend for Trinity +Group: Applications/Utilities +Requires: openssh-clients + +%description -n trinity-kdessh +This package contains TDE's frontend for ssh. + +%files -n trinity-kdessh +%defattr(-,root,root,-) +%{tde_bindir}/kdessh + +########## + +%package -n trinity-kdf +Summary: disk space utility for Trinity +Group: Applications/Utilities + +%description -n trinity-kdf +KDiskFree displays the available file devices (hard drive partitions, floppy +and CD drives, etc.) along with information on their capacity, free space, type +and mount point. It also allows you to mount and unmount drives and view them +in a file manager. + +%files -n trinity-kdf +%defattr(-,root,root,-) +%{tde_bindir}/kdf +%{tde_bindir}/kwikdisk +%{tde_tdelibdir}/kcm_kdf.la +%{tde_tdelibdir}/kcm_kdf.so +%{tde_tdeappdir}/kcmdf.desktop +%{tde_tdeappdir}/kdf.desktop +%{tde_tdeappdir}/kwikdisk.desktop +%{tde_datadir}/apps/kdf/ +%{tde_datadir}/icons/crystalsvg/*/apps/kcmdf.png +%{tde_datadir}/icons/hicolor/*/apps/kdf.png +%{tde_datadir}/icons/hicolor/*/apps/kwikdisk.png +%{tde_tdedocdir}/HTML/en/kdf/ +%{tde_tdedocdir}/HTML/en/kinfocenter/blockdevices/ + +%post -n trinity-kdf +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kdf +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kedit +Summary: basic text editor for Trinity +Group: Applications/Utilities + +%description -n trinity-kedit +A simple text editor for TDE. + +It can be used with Konqueror for text and configuration file browsing. +KEdit also serves well for creating small plain text documents. KEdit's +functionality will intentionally remain rather limited to ensure a +reasonably fast start. + +%files -n trinity-kedit +%defattr(-,root,root,-) +%{tde_bindir}/kedit +%{tde_tdelibdir}/kedit.la +%{tde_tdelibdir}/kedit.so +%{tde_libdir}/lib[kt]deinit_kedit.so +%{tde_tdeappdir}/KEdit.desktop +%{tde_datadir}/apps/kedit/keditui.rc +%{tde_datadir}/config.kcfg/kedit.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kedit.png +%{tde_tdedocdir}/HTML/en/kedit/ + +%post -n trinity-kedit +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kedit +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kfloppy +Summary: floppy formatter for Trinity +Group: Applications/Utilities +Requires: dosfstools + +%description -n trinity-kfloppy +Kfloppy is a utility that provides a straightforward graphical means +to format 3.5" and 5.25" floppy disks. + +%files -n trinity-kfloppy +%defattr(-,root,root,-) +%{tde_bindir}/kfloppy +%{tde_tdeappdir}/KFloppy.desktop +%{tde_datadir}/apps/konqueror/servicemenus/floppy_format.desktop +%{tde_datadir}/icons/hicolor/*/apps/kfloppy.png +%{tde_tdedocdir}/HTML/en/kfloppy/ + +%post -n trinity-kfloppy +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kfloppy +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kgpg +Summary: GnuPG frontend for Trinity +Group: Applications/Utilities +Requires: trinity-konsole +Requires: gnupg + +%description -n trinity-kgpg +Kgpg is a frontend for GNU Privacy Guard (GnuPG). It provides file +encryption, file decryption and key management. + +Features: +* an editor mode for easily and quickly encrypting or decrypting a file + or message which is typed, copied, pasted or dragged into the editor, + or which is double-clicked in the file manager +* Konqueror integration for encrypting or decrypting files +* a panel applet for encrypting / decrypting files or the clipboard + contents, etc. +* key management functions (generation, import, export, deletion and + signing) +* decrypting clipboard contents, including integration with Klipper + +%files -n trinity-kgpg +%defattr(-,root,root,-) +%{tde_bindir}/kgpg +%{tde_tdeappdir}/kgpg.desktop +%{tde_datadir}/apps/kgpg/ +%{tde_datadir}/apps/konqueror/servicemenus/encryptfile.desktop +%{tde_datadir}/apps/konqueror/servicemenus/encryptfolder.desktop +%{tde_datadir}/autostart/kgpg.desktop +%{tde_datadir}/config.kcfg/kgpg.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kgpg.png +%{tde_tdedocdir}/HTML/en/kgpg/ + +%post -n trinity-kgpg +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kgpg +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-khexedit +Summary: Trinity hex editor +Group: Applications/Utilities + +%description -n trinity-khexedit +KHexEdit is an editor for the raw data of binary files. It includes +find/replace functions, bookmarks, many configuration options, drag and drop +support and other powerful features. + +%files -n trinity-khexedit +%defattr(-,root,root,-) +%{tde_bindir}/khexedit +%{tde_tdelibdir}/libkbyteseditwidget.la +%{tde_tdelibdir}/libkbyteseditwidget.so +%{tde_tdelibdir}/libkhexedit2part.la +%{tde_tdelibdir}/libkhexedit2part.so +%{tde_libdir}/libkhexeditcommon.so.* +%{tde_tdeappdir}/khexedit.desktop +%{tde_datadir}/apps/khexedit/ +%{tde_datadir}/apps/khexedit2part/khexedit2partui.rc +%{tde_datadir}/icons/hicolor/*/apps/khexedit.png +%{tde_datadir}/services/kbyteseditwidget.desktop +%{tde_datadir}/services/khexedit2part.desktop +%{tde_tdedocdir}/HTML/en/khexedit/ + +%post -n trinity-khexedit +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-khexedit +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kjots +Summary: note taking utility for Trinity +Group: Applications/Utilities + +%description -n trinity-kjots +Kjots is a small note taker program. Name and idea are taken from the jots +program included in the tkgoodstuff package. + +%files -n trinity-kjots +%defattr(-,root,root,-) +%{tde_bindir}/kjots +%{tde_tdeappdir}/Kjots.desktop +%{tde_datadir}/apps/kjots/ +%{tde_datadir}/config.kcfg/kjots.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kjots.png +%{tde_tdedocdir}/HTML/en/kjots/ + +%post -n trinity-kjots +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kjots +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-klaptopdaemon +Summary: battery monitoring and management for laptops using Trinity +Group: Applications/Utilities +Requires: pm-utils +Requires: usermode + +%description -n trinity-klaptopdaemon +This package contains utilities to monitor batteries and configure +power management, for laptops, from within TDE. + +%files -n trinity-klaptopdaemon +%defattr(-,root,root,-) +%{tde_bindir}/klaptop_acpi_helper +%{tde_bindir}/klaptop_check +%{tde_tdelibdir}/kcm_laptop.la +%{tde_tdelibdir}/kcm_laptop.so +%{tde_tdelibdir}/kded_klaptopdaemon.la +%{tde_tdelibdir}/kded_klaptopdaemon.so +%{tde_libdir}/libkcmlaptop.so.* +%{tde_tdeappdir}/laptop.desktop +%{tde_tdeappdir}/pcmcia.desktop +%{tde_datadir}/apps/klaptopdaemon/ +%{tde_datadir}/icons/crystalsvg/*/apps/laptop_battery.png +%{tde_datadir}/icons/crystalsvg/*/apps/laptop_pcmcia.png +%{tde_datadir}/icons/crystalsvg/scalable/apps/laptop_battery.svgz +%{tde_datadir}/services/kded/klaptopdaemon.desktop +%{tde_tdedocdir}/HTML/en/kcontrol/kcmlowbatcrit/ +%{tde_tdedocdir}/HTML/en/kcontrol/kcmlowbatwarn/ +%{tde_tdedocdir}/HTML/en/kcontrol/laptop/ +%{tde_tdedocdir}/HTML/en/kcontrol/powerctrl/ + +# RHEL/Fedora specific +%{_sysconfdir}/pam.d/klaptop_acpi_helper +%attr(644,root,root) %{_sysconfdir}/security/console.apps/klaptop_acpi_helper +%{tde_sbindir}/klaptop_acpi_helper +%{_sbindir}/klaptop_acpi_helper +%config %{tde_datadir}/config/kcmlaptoprc + +%post -n trinity-klaptopdaemon +/sbin/ldconfig +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-klaptopdaemon +/sbin/ldconfig +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kmilo +Summary: laptop special keys support for Trinity +Group: Applications/Utilities + +%description -n trinity-kmilo +KMilo lets you use the special keys on some keyboards and laptops. + +Usually this includes volume keys and other features. Currently, KMilo +comes with plugins for Powerbooks, Thinkpads, Vaios and generic keyboards +with special keys. + +%files -n trinity-kmilo +%defattr(-,root,root,-) +%{tde_tdelibdir}/kded_kmilod.la +%{tde_tdelibdir}/kded_kmilod.so +%{tde_tdelibdir}/kmilo_generic.la +%{tde_tdelibdir}/kmilo_generic.so +%{tde_libdir}/libkmilo.so.* +%{tde_datadir}/services/kded/kmilod.desktop +%{tde_datadir}/services/kmilo/kmilo_generic.desktop +%{tde_datadir}/servicetypes/kmilo/kmilopluginsvc.desktop + +%post -n trinity-kmilo +/sbin/ldconfig + +%postun -n trinity-kmilo +/sbin/ldconfig + +########## + +%package -n trinity-kmilo-legacy +Summary: non-standard plugins for KMilo +Group: Applications/Utilities +Requires: trinity-kmilo = %{version}-%{release} + +%description -n trinity-kmilo-legacy +KMilo lets you use the special keys on some keyboards and laptops. + +Usually this includes volume keys and other features. Currently, KMilo +comes with plugins for Powerbooks, Thinkpads and Vaios. + +The intention is that all laptops work with the generic kmilo +plugin, if you need this package please file a bug. + +%files -n trinity-kmilo-legacy +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcm_kvaio.la +%{tde_tdelibdir}/kcm_kvaio.so +%{tde_tdelibdir}/kcm_thinkpad.la +%{tde_tdelibdir}/kcm_thinkpad.so +%{tde_tdelibdir}/kmilo_asus.la +%{tde_tdelibdir}/kmilo_asus.so +%{tde_tdelibdir}/kmilo_delli8k.la +%{tde_tdelibdir}/kmilo_delli8k.so +%{tde_tdelibdir}/kmilo_kvaio.la +%{tde_tdelibdir}/kmilo_kvaio.so +%{tde_tdelibdir}/kmilo_thinkpad.la +%{tde_tdelibdir}/kmilo_thinkpad.so +%{tde_tdeappdir}/kvaio.desktop +%{tde_tdeappdir}/thinkpad.desktop +%{tde_datadir}/services/kmilo/kmilo_asus.desktop +%{tde_datadir}/services/kmilo/kmilo_delli8k.desktop +%{tde_datadir}/services/kmilo/kmilo_kvaio.desktop +%{tde_datadir}/services/kmilo/kmilo_thinkpad.desktop + +########## + +%package -n trinity-kregexpeditor +Summary: graphical regular expression editor plugin for Trinity +Group: Applications/Utilities + +%description -n trinity-kregexpeditor +This package contains a graphical regular expression editor plugin for use +with TDE. It let you draw your regular expression in an unambiguous way. + +%files -n trinity-kregexpeditor +%defattr(-,root,root,-) +%{tde_bindir}/kregexpeditor +%{tde_tdelibdir}/libkregexpeditorgui.la +%{tde_tdelibdir}/libkregexpeditorgui.so +%{tde_libdir}/libkregexpeditorcommon.so.* +%{tde_tdeappdir}/kregexpeditor.desktop +%{tde_datadir}/apps/kregexpeditor/ +%{tde_datadir}/icons/hicolor/*/apps/kregexpeditor.png +%{tde_datadir}/services/kregexpeditorgui.desktop +%{tde_tdedocdir}/HTML/en/KRegExpEditor/ + +%post -n trinity-kregexpeditor +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kregexpeditor +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ksim +Summary: system information monitor for Trinity +Group: Applications/Utilities + +%description -n trinity-ksim +KSim is a system monitor app which has its own plugin system with support +for GKrellm skins. It allows users to follow uptime, memory usage, network +connections, power, etc. + +%files -n trinity-ksim +%defattr(-,root,root,-) +%config %{tde_datadir}/config/ksim_panelextensionrc +%{tde_tdelibdir}/ksim_*.la +%{tde_tdelibdir}/ksim_*.so +%{tde_libdir}/libksimcore.so.* +%{tde_datadir}/apps/kicker/extensions/ksim.desktop +%{tde_datadir}/apps/ksim/ +%{tde_tdedocdir}/HTML/en/ksim/ +%{tde_datadir}/icons/crystalsvg/*/apps/ksim.png +%{tde_datadir}/icons/crystalsvg/*/devices/ksim_cpu.png + +%post -n trinity-ksim +/sbin/ldconfig +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done + +%postun -n trinity-ksim +/sbin/ldconfig +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done + +########## + +%package -n trinity-ktimer +Summary: timer utility for Trinity +Group: Applications/Utilities + +%description -n trinity-ktimer +This is a timer application for TDE. It allows you to execute commands after +a certain amount of time. It supports looping commands as well as delayed +command execution. + +%files -n trinity-ktimer +%defattr(-,root,root,-) +%{tde_bindir}/ktimer +%{tde_tdeappdir}/ktimer.desktop +%{tde_datadir}/icons/hicolor/*/apps/ktimer.png +%{tde_tdedocdir}/HTML/en/ktimer/ + +%post -n trinity-ktimer +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ktimer +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kwalletmanager +Summary: wallet manager for Trinity +Group: Applications/Utilities + +%description -n trinity-kwalletmanager +This program keeps various wallets for any kind of data that the user can +store encrypted with passwords and can also serve as a password manager that +keeps a master password to all wallets. + +%files -n trinity-kwalletmanager +%defattr(-,root,root,-) +%{tde_bindir}/kwalletmanager +%{tde_tdelibdir}/kcm_kwallet.la +%{tde_tdelibdir}/kcm_kwallet.so +%{tde_tdeappdir}/kwalletconfig.desktop +%{tde_tdeappdir}/kwalletmanager.desktop +%{tde_tdeappdir}/kwalletmanager-kwalletd.desktop +%{tde_datadir}/apps/kwalletmanager/ +%{tde_datadir}/icons/hicolor/*/apps/kwalletmanager.png +%{tde_datadir}/services/kwallet_config.desktop +%{tde_datadir}/services/kwalletmanager_show.desktop +%{tde_tdedocdir}/HTML/en/kwallet/ + +%post -n trinity-kwalletmanager +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kwalletmanager +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-superkaramba +Summary: a program based on karamba improving the eyecandy of TDE +Group: Applications/Utilities + +%description -n trinity-superkaramba +SuperKaramba is a tool based on karamba that allows anyone to easily create +and run little interactive widgets on a TDE desktop. Widgets are defined in a +simple text file and can be augmented with Python code to make them +interactive. + +Here are just some examples of the things that can be done: +* Display system information such as CPU Usage, MP3 playing, etc. +* Create cool custom toolbars that work any way imaginable. +* Create little games or virtual pets that live on your desktop. +* Display information from the internet, such as weather and headlines. + +%files -n trinity-superkaramba +%defattr(-,root,root,-) +%{tde_bindir}/superkaramba +%{tde_datadir}/applnk/Utilities/superkaramba.desktop +%{tde_datadir}/apps/superkaramba/superkarambaui.rc +%{tde_datadir}/icons/crystalsvg/*/apps/superkaramba.png +%{tde_datadir}/icons/crystalsvg/*/mimetypes/superkaramba_theme.png +%{tde_datadir}/icons/crystalsvg/scalable/apps/superkaramba.svgz +%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/superkaramba_theme.svgz +%{tde_datadir}/mimelnk/application/x-superkaramba.desktop +%{tde_tdedocdir}/HTML/en/superkaramba/ + +%post -n trinity-superkaramba +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done + +%postun -n trinity-superkaramba +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done + +########## + +# afaik, nobody BR's it, and it pulls kdeutils into multilib -- Rex +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: trinity-tdelibs-devel + +Obsoletes: trinity-kdeutils-devel < %{version}-%{release} +Provides: trinity-kdeutils-devel = %{version}-%{release} +Obsoletes: tdeutils-devel < %{version}-%{release} +Provides: tdeutils-devel = %{version}-%{release} + +%description devel +Development files for %{name}. + +%files devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/* +%{tde_libdir}/libkcmlaptop.la +%{tde_libdir}/libkcmlaptop.so +%{tde_libdir}/lib[kt]deinit_ark.la +%{tde_libdir}/lib[kt]deinit_irkick.la +%{tde_libdir}/lib[kt]deinit_kcalc.la +%{tde_libdir}/lib[kt]deinit_kedit.la +%{tde_libdir}/libkmilo.la +%{tde_libdir}/libkmilo.so +%{tde_libdir}/libkregexpeditorcommon.la +%{tde_libdir}/libkregexpeditorcommon.so +%{tde_libdir}/libksimcore.la +%{tde_libdir}/libksimcore.so +%{tde_libdir}/libkhexeditcommon.la +%{tde_libdir}/libkhexeditcommon.so + +%post devel +/sbin/ldconfig + +%postun devel +/sbin/ldconfig + +########## + +%prep +%setup -q -n kdeutils + +%patch1 -p1 -b .label +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 +%patch8 -p1 -b .ftbfs + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + +%build +unset QTDIR || : ; source /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --enable-new-ldflags \ + --disable-dependency-tracking \ + --disable-rpath \ + --disable-debug --disable-warnings \ + --enable-final \ + --includedir=%{tde_tdeincludedir} \ + --with-snmp \ +%if 0%{?fedora} + --with-xmms \ +%else + --without-xmms \ +%endif + --with-xscreensaver \ + --with-extra-includes=%{tde_includedir}/tqt \ + --enable-closure + +%__make %{?_smp_mflags} + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{?buildroot} + +# Show only in KDE (really? -- Rex) +for i in kcalc kregexpeditor Kjots ktimer kdf kcmdf ksim KFloppy KEdit \ + KCharSelect ark kwalletmanager kwalletconfig \ + irkick kcmlirc laptop pcmcia kvaio thinkpad kwikdisk; do + if [ -f %{buildroot}%{tde_datadir}/applications/kde/$i.desktop ] ; then + echo "OnlyShowIn=KDE;" >> %{buildroot}%{tde_datadir}/applications/kde/$i.desktop + fi +done + +## File lists +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + pushd $lang_dir/kcontrol + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../../common $i/common + done + popd + fi +done +fi + +# using pam +%__install -p -D -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/pam.d/klaptop_acpi_helper +%__install -p -D -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/security/console.apps/klaptop_acpi_helper + +# Use consolehelper for 'klaptop_acpi_helper' +%__mkdir_p %{buildroot}%{tde_sbindir} %{buildroot}%{_sbindir} +%__mv %{buildroot}%{tde_bindir}/klaptop_acpi_helper %{buildroot}%{tde_sbindir} +%__ln_s %{_bindir}/consolehelper %{buildroot}%{tde_bindir}/klaptop_acpi_helper +%if "%{tde_prefix}" != "/usr" +%__ln_s %{tde_sbindir}/klaptop_acpi_helper %{?buildroot}%{_sbindir}/klaptop_acpi_helper +%endif + +# klaptop setting +%__install -p -D -m 644 %{SOURCE3} %{buildroot}%{tde_datadir}/config/kcmlaptoprc + + +%clean +%__rm -rf %{?buildroot} + + + +%changelog +* Fri Jul 20 2012 Francois Andriot - 3.5.13-7 +- Renames 'tdeutils' to 'trinity-tdeutils' + +* Fri Jun 22 2012 Francois Andriot - 3.5.13-6 +- Split in several packages +- Allow ark embedding [Bug #670] [Commit #2a1d4a67] +- Remove "More Applications" from TDE menu. Add Utility category to KEdit. [Bug #653] [Commit #803f4752] +- [tdeutils] Reorganize KControl menu tree. [Commit #7780bb7b] +- Further organize TDE Menu. [Commit #b970fc42] +- [Ark] Repairs and extensions [Bug #1030] [Commit #1c84948d] + +* Fri Nov 25 2011 Francois Andriot - 3.5.13-5 +- Fix HTML directory location + +* Thu Nov 17 2011 Francois Andriot - 3.5.13-4 +- Fix symbolic link to 'consolehelper' + +* Fri Nov 11 2011 Francois Andriot - 3.5.13-3 +- Removes 'dpkg' commands inside klaptopdaemon + +* Fri Nov 04 2011 Francois Andriot - 3.5.13-2 +- Updates BuildRequires + +* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 +- Initial release for RHEL 6, RHEL 5 and Fedora 15 + +* Mon Sep 05 2011 Francois Andriot - 3.5.13-0 +- Import to GIT + diff --git a/redhat/tdeutils/tdeutils-3.5.13.2.spec b/redhat/tdeutils/tdeutils-3.5.13.2.spec new file mode 100644 index 000000000..56841ee48 --- /dev/null +++ b/redhat/tdeutils/tdeutils-3.5.13.2.spec @@ -0,0 +1,1086 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} +%define tde_sbindir %{tde_prefix}/sbin + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +Name: trinity-tdeutils +Version: 3.5.13.2 +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} +License: GPL +Summary: TDE Utilities +Group: Applications/System + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz +Source1: klaptop_acpi_helper.pam +Source2: klaptop_acpi_helper.console +Source3: kcmlaptoprc + +Patch1: kdeutils-3.5.13.2-rhel4.patch + +Obsoletes: trinity-kdeutils < %{version}-%{release} +Provides: trinity-kdeutils = %{version}-%{release} +Obsoletes: trinity-kdeutils-extras < %{version}-%{release} +Provides: trinity-kdeutils-extras = %{version}-%{release} +Obsoletes: tdeutils < %{version}-%{release} +Provides: tdeutils = %{version}-%{release} + +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: autoconf automake libtool m4 +BuildRequires: gettext +BuildRequires: net-snmp-devel +BuildRequires: python-devel +BuildRequires: gmp-devel + +%if 0%{?fedora} >= 5 || 0%{?rhel} >= 5 +BuildRequires: libXScrnSaver-devel +BuildRequires: libXtst-devel +%endif + +#%if 0%{?fedora} +#BuildRequires: xmms-devel +#%endif + +# KLAPTOPDAEMON +# Not for RHEL 4! +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define build_klaptopdaemon 1 +%endif + +# XSCREENSAVER support +# Not for RHEL 4! +%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_xscreensaver 1 +%endif + +# CONSOLEHELPER (usermode) support +%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%define with_consolehelper 1 + +# Avoids relinking, which breaks consolehelper +%define dont_relink 1 +%endif + + +Requires: trinity-ark = %{version}-%{release} +Requires: trinity-kcalc = %{version}-%{release} +Requires: trinity-kcharselect = %{version}-%{release} +Requires: trinity-kdelirc = %{version}-%{release} +Requires: trinity-kdessh = %{version}-%{release} +Requires: trinity-kdf = %{version}-%{release} +Requires: trinity-kedit = %{version}-%{release} +Requires: trinity-kfloppy = %{version}-%{release} +Requires: trinity-kgpg = %{version}-%{release} +Requires: trinity-khexedit = %{version}-%{release} +Requires: trinity-kjots = %{version}-%{release} +%{?build_klaptopdaemon:Requires: trinity-klaptopdaemon = %{version}-%{release}} +Requires: trinity-kmilo = %{version}-%{release} +Requires: trinity-kmilo-legacy = %{version}-%{release} +Requires: trinity-kregexpeditor = %{version}-%{release} +Requires: trinity-ksim = %{version}-%{release} +Requires: trinity-ktimer = %{version}-%{release} +Requires: trinity-kwalletmanager = %{version}-%{release} +Requires: trinity-superkaramba = %{version}-%{release} + + +%description +Utilities for the Trinity Desktop Environment, including: + * ark (tar/gzip archive manager) + * kcalc (scientific calculator) + * kcharselect (character selector) + * kdepasswd (change password) + * kdessh (ssh front end) + * kdf (view disk usage) + * kedit (simple text editor) + * kfloppy (floppy formatting tool) + * kgpg (gpg gui) + * khexedit (hex editor) + * kjots (note taker) +%if 0%{?build_klaptopdaemon} + * klaptopdaemon (battery monitoring and management for laptops); +%endif + * kmilo + * kregexpeditor (regular expression editor) + * ksim (system information monitor); + * ktimer (task scheduler) + * kwikdisk (removable media utility) + +%files + +########## + +%package -n trinity-ark +Summary: graphical archiving tool for Trinity +Group: Applications/Utilities +#Requires: ncompress +Requires: unzip +Requires: zip +#Requires: zoo +Requires: bzip2 +#Requires: p7zip +#Requires: xz +#Requires: lzma +#Requires: rar, unrar + +%description -n trinity-ark +Ark is a graphical program for managing various archive formats within the +TDE environment. Archives can be viewed, extracted, created and modified +from within Ark. + +The program can handle various formats such as tar, gzip, bzip2, zip, rar and +lha (if appropriate command-line programs are installed). + +Ark can work closely with Konqueror in the KDE environment to handle archives, +if you install the Konqueror Integration plugin available in the konq-plugins +package. + +%files -n trinity-ark +%defattr(-,root,root,-) +%{tde_bindir}/ark +%{tde_tdelibdir}/ark.la +%{tde_tdelibdir}/ark.so +%{tde_tdelibdir}/libarkpart.la +%{tde_tdelibdir}/libarkpart.so +%{tde_libdir}/lib[kt]deinit_ark.so +%{tde_tdeappdir}/ark.desktop +%{tde_datadir}/apps/ark/ +%{tde_datadir}/config.kcfg/ark.kcfg +%{tde_datadir}/icons/hicolor/*/apps/ark.png +%{tde_datadir}/icons/hicolor/scalable/apps/ark.svgz +%{tde_datadir}/services/ark_part.desktop +%{tde_tdedocdir}/HTML/en/ark/ + +%post -n trinity-ark +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ark +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kcalc +Summary: calculator for Trinity +Group: Applications/Utilities + +%description -n trinity-kcalc +KCalc is TDE's scientific calculator. + +It provides: +* trigonometric functions, logic operations, and statistical calculations +* easy cut and paste of numbers from/into its display +* a results-stack which lets you conveniently recall previous results +* configurable precision, and number of digits after the period + +%files -n trinity-kcalc +%defattr(-,root,root,-) +%{tde_bindir}/kcalc +%{tde_tdelibdir}/kcalc.la +%{tde_tdelibdir}/kcalc.so +%{tde_libdir}/lib[kt]deinit_kcalc.so +%{tde_tdeappdir}/kcalc.desktop +%{tde_datadir}/apps/kcalc/ +%{tde_datadir}/apps/kconf_update/kcalcrc.upd +%{tde_datadir}/config.kcfg/kcalc.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kcalc.png +%{tde_datadir}/icons/hicolor/scalable/apps/kcalc.svgz +%{tde_tdedocdir}/HTML/en/kcalc/ + +%post -n trinity-kcalc +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kcalc +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kcharselect +Summary: character selector for Trinity +Group: Applications/Utilities + +%description -n trinity-kcharselect +A character set selector for TDE. + +%files -n trinity-kcharselect +%defattr(-,root,root,-) +%{tde_bindir}/kcharselect +%{tde_tdelibdir}/kcharselect_panelapplet.la +%{tde_tdelibdir}/kcharselect_panelapplet.so +%{tde_tdeappdir}/KCharSelect.desktop +%{tde_datadir}/apps/kcharselect/ +%{tde_datadir}/apps/kconf_update/kcharselect.upd +%{tde_datadir}/apps/kicker/applets/kcharselectapplet.desktop +%{tde_datadir}/icons/hicolor/*/apps/kcharselect.png +%{tde_tdedocdir}/HTML/en/kcharselect/ + +%post -n trinity-kcharselect +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kcharselect +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kdelirc +Summary: infrared control for Trinity +Group: Applications/Utilities + +%description -n trinity-kdelirc +This is a frontend for the LIRC suite to use infrared devices with TDE. + +%files -n trinity-kdelirc +%defattr(-,root,root,-) +%{tde_bindir}/irkick +%{tde_tdelibdir}/irkick.la +%{tde_tdelibdir}/irkick.so +%{tde_tdelibdir}/kcm_kcmlirc.la +%{tde_tdelibdir}/kcm_kcmlirc.so +%{tde_libdir}/lib[kt]deinit_irkick.so +%{tde_tdeappdir}/irkick.desktop +%{tde_tdeappdir}/kcmlirc.desktop +%{tde_datadir}/apps/irkick/ +%{tde_datadir}/apps/profiles/klauncher.profile.xml +%{tde_datadir}/apps/profiles/konqueror.profile.xml +%{tde_datadir}/apps/profiles/noatun.profile.xml +%{tde_datadir}/apps/profiles/profile.dtd +%{tde_datadir}/apps/remotes/RM-0010.remote.xml +%{tde_datadir}/apps/remotes/cimr100.remote.xml +%{tde_datadir}/apps/remotes/hauppauge.remote.xml +%{tde_datadir}/apps/remotes/remote.dtd +%{tde_datadir}/apps/remotes/sherwood.remote.xml +%{tde_datadir}/apps/remotes/sonytv.remote.xml +%{tde_datadir}/autostart/irkick.desktop +%{tde_datadir}/icons/hicolor/*/apps/irkick.png +%{tde_datadir}/icons/locolor/*/apps/irkick.png +%{tde_tdedocdir}/HTML/en/irkick/ +%{tde_tdedocdir}/HTML/en/kcmlirc/ + +%post -n trinity-kdelirc +/sbin/ldconfig +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kdelirc +/sbin/ldconfig +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kdessh +Summary: ssh frontend for Trinity +Group: Applications/Utilities +%if 0%{?suse_version} +Requires: openssh +%else +Requires: openssh-clients +%endif + +%description -n trinity-kdessh +This package contains TDE's frontend for ssh. + +%files -n trinity-kdessh +%defattr(-,root,root,-) +%{tde_bindir}/kdessh + +########## + +%package -n trinity-kdf +Summary: disk space utility for Trinity +Group: Applications/Utilities + +%description -n trinity-kdf +KDiskFree displays the available file devices (hard drive partitions, floppy +and CD drives, etc.) along with information on their capacity, free space, type +and mount point. It also allows you to mount and unmount drives and view them +in a file manager. + +%files -n trinity-kdf +%defattr(-,root,root,-) +%{tde_bindir}/kdf +%{tde_bindir}/kwikdisk +%{tde_tdelibdir}/kcm_kdf.la +%{tde_tdelibdir}/kcm_kdf.so +%{tde_tdeappdir}/kcmdf.desktop +%{tde_tdeappdir}/kdf.desktop +%{tde_tdeappdir}/kwikdisk.desktop +%{tde_datadir}/apps/kdf/ +%{tde_datadir}/icons/crystalsvg/*/apps/kcmdf.png +%{tde_datadir}/icons/hicolor/*/apps/kdf.png +%{tde_datadir}/icons/hicolor/*/apps/kwikdisk.png +%{tde_tdedocdir}/HTML/en/kdf/ +%{tde_tdedocdir}/HTML/en/kinfocenter/blockdevices/ + +%post -n trinity-kdf +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kdf +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kedit +Summary: basic text editor for Trinity +Group: Applications/Utilities + +%description -n trinity-kedit +A simple text editor for TDE. + +It can be used with Konqueror for text and configuration file browsing. +KEdit also serves well for creating small plain text documents. KEdit's +functionality will intentionally remain rather limited to ensure a +reasonably fast start. + +%files -n trinity-kedit +%defattr(-,root,root,-) +%{tde_bindir}/kedit +%{tde_tdelibdir}/kedit.la +%{tde_tdelibdir}/kedit.so +%{tde_libdir}/lib[kt]deinit_kedit.so +%{tde_tdeappdir}/KEdit.desktop +%{tde_datadir}/apps/kedit/keditui.rc +%{tde_datadir}/config.kcfg/kedit.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kedit.png +%{tde_tdedocdir}/HTML/en/kedit/ + +%post -n trinity-kedit +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kedit +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kfloppy +Summary: floppy formatter for Trinity +Group: Applications/Utilities +Requires: dosfstools + +%description -n trinity-kfloppy +Kfloppy is a utility that provides a straightforward graphical means +to format 3.5" and 5.25" floppy disks. + +%files -n trinity-kfloppy +%defattr(-,root,root,-) +%{tde_bindir}/kfloppy +%{tde_tdeappdir}/KFloppy.desktop +%{tde_datadir}/apps/konqueror/servicemenus/floppy_format.desktop +%{tde_datadir}/icons/hicolor/*/apps/kfloppy.png +%{tde_tdedocdir}/HTML/en/kfloppy/ + +%post -n trinity-kfloppy +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kfloppy +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kgpg +Summary: GnuPG frontend for Trinity +Group: Applications/Utilities +Requires: trinity-konsole +Requires: gnupg + +%description -n trinity-kgpg +Kgpg is a frontend for GNU Privacy Guard (GnuPG). It provides file +encryption, file decryption and key management. + +Features: +* an editor mode for easily and quickly encrypting or decrypting a file + or message which is typed, copied, pasted or dragged into the editor, + or which is double-clicked in the file manager +* Konqueror integration for encrypting or decrypting files +* a panel applet for encrypting / decrypting files or the clipboard + contents, etc. +* key management functions (generation, import, export, deletion and + signing) +* decrypting clipboard contents, including integration with Klipper + +%files -n trinity-kgpg +%defattr(-,root,root,-) +%{tde_bindir}/kgpg +%{tde_tdeappdir}/kgpg.desktop +%{tde_datadir}/apps/kgpg/ +%{tde_datadir}/apps/konqueror/servicemenus/encryptfile.desktop +%{tde_datadir}/apps/konqueror/servicemenus/encryptfolder.desktop +%{tde_datadir}/autostart/kgpg.desktop +%{tde_datadir}/config.kcfg/kgpg.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kgpg.png +%{tde_tdedocdir}/HTML/en/kgpg/ + +%post -n trinity-kgpg +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kgpg +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-khexedit +Summary: Trinity hex editor +Group: Applications/Utilities + +%description -n trinity-khexedit +KHexEdit is an editor for the raw data of binary files. It includes +find/replace functions, bookmarks, many configuration options, drag and drop +support and other powerful features. + +%files -n trinity-khexedit +%defattr(-,root,root,-) +%{tde_bindir}/khexedit +%{tde_tdelibdir}/libkbyteseditwidget.la +%{tde_tdelibdir}/libkbyteseditwidget.so +%{tde_tdelibdir}/libkhexedit2part.la +%{tde_tdelibdir}/libkhexedit2part.so +%{tde_libdir}/libkhexeditcommon.so.* +%{tde_tdeappdir}/khexedit.desktop +%{tde_datadir}/apps/khexedit/ +%{tde_datadir}/apps/khexedit2part/khexedit2partui.rc +%{tde_datadir}/icons/hicolor/*/apps/khexedit.png +%{tde_datadir}/services/kbyteseditwidget.desktop +%{tde_datadir}/services/khexedit2part.desktop +%{tde_tdedocdir}/HTML/en/khexedit/ + +%post -n trinity-khexedit +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-khexedit +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kjots +Summary: note taking utility for Trinity +Group: Applications/Utilities + +%description -n trinity-kjots +Kjots is a small note taker program. Name and idea are taken from the jots +program included in the tkgoodstuff package. + +%files -n trinity-kjots +%defattr(-,root,root,-) +%{tde_bindir}/kjots +%{tde_tdeappdir}/Kjots.desktop +%{tde_datadir}/apps/kjots/ +%{tde_datadir}/config.kcfg/kjots.kcfg +%{tde_datadir}/icons/hicolor/*/apps/kjots.png +%{tde_tdedocdir}/HTML/en/kjots/ + +%post -n trinity-kjots +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kjots +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%if 0%{?build_klaptopdaemon} + +%package -n trinity-klaptopdaemon +Summary: battery monitoring and management for laptops using Trinity +Group: Applications/Utilities +Requires: pm-utils + +%if 0%{?with_consolehelper} +# package 'usermode' provides '/usr/bin/consolehelper-gtk' +%if 0%{?rhel} || 0%{?fedora} +Requires: usermode-gtk +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +Requires: usermode +%endif +%endif + +%description -n trinity-klaptopdaemon +This package contains utilities to monitor batteries and configure +power management, for laptops, from within TDE. + +%files -n trinity-klaptopdaemon +%defattr(-,root,root,-) +%{tde_bindir}/klaptop_acpi_helper +%{tde_bindir}/klaptop_check +%{tde_tdelibdir}/kcm_laptop.la +%{tde_tdelibdir}/kcm_laptop.so +%{tde_tdelibdir}/kded_klaptopdaemon.la +%{tde_tdelibdir}/kded_klaptopdaemon.so +%{tde_libdir}/libkcmlaptop.so.* +%{tde_tdeappdir}/laptop.desktop +%{tde_tdeappdir}/pcmcia.desktop +%{tde_datadir}/apps/klaptopdaemon/ +%{tde_datadir}/icons/crystalsvg/*/apps/laptop_battery.png +%{tde_datadir}/icons/crystalsvg/*/apps/laptop_pcmcia.png +%{tde_datadir}/icons/crystalsvg/scalable/apps/laptop_battery.svgz +%{tde_datadir}/services/kded/klaptopdaemon.desktop +%{tde_tdedocdir}/HTML/en/kcontrol/kcmlowbatcrit/ +%{tde_tdedocdir}/HTML/en/kcontrol/kcmlowbatwarn/ +%{tde_tdedocdir}/HTML/en/kcontrol/laptop/ +%{tde_tdedocdir}/HTML/en/kcontrol/powerctrl/ + +# ConsoleHelper support +%if 0%{?with_consolehelper} +%{_sysconfdir}/pam.d/klaptop_acpi_helper +%attr(644,root,root) %{_sysconfdir}/security/console.apps/klaptop_acpi_helper +%{tde_sbindir}/klaptop_acpi_helper +%{_sbindir}/klaptop_acpi_helper +%endif + +%config %{tde_datadir}/config/kcmlaptoprc + +%post -n trinity-klaptopdaemon +/sbin/ldconfig +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-klaptopdaemon +/sbin/ldconfig +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%endif + +########## + +%package -n trinity-kmilo +Summary: laptop special keys support for Trinity +Group: Applications/Utilities + +%description -n trinity-kmilo +KMilo lets you use the special keys on some keyboards and laptops. + +Usually this includes volume keys and other features. Currently, KMilo +comes with plugins for Powerbooks, Thinkpads, Vaios and generic keyboards +with special keys. + +%files -n trinity-kmilo +%defattr(-,root,root,-) +%{tde_tdelibdir}/kded_kmilod.la +%{tde_tdelibdir}/kded_kmilod.so +%{tde_tdelibdir}/kmilo_generic.la +%{tde_tdelibdir}/kmilo_generic.so +%{tde_libdir}/libkmilo.so.* +%{tde_datadir}/services/kded/kmilod.desktop +%{tde_datadir}/services/kmilo/kmilo_generic.desktop +%{tde_datadir}/servicetypes/kmilo/kmilopluginsvc.desktop + +%post -n trinity-kmilo +/sbin/ldconfig + +%postun -n trinity-kmilo +/sbin/ldconfig + +########## + +%package -n trinity-kmilo-legacy +Summary: non-standard plugins for KMilo +Group: Applications/Utilities +Requires: trinity-kmilo = %{version}-%{release} + +%description -n trinity-kmilo-legacy +KMilo lets you use the special keys on some keyboards and laptops. + +Usually this includes volume keys and other features. Currently, KMilo +comes with plugins for Powerbooks, Thinkpads and Vaios. + +The intention is that all laptops work with the generic kmilo +plugin, if you need this package please file a bug. + +%files -n trinity-kmilo-legacy +%defattr(-,root,root,-) +%{tde_tdelibdir}/kcm_kvaio.la +%{tde_tdelibdir}/kcm_kvaio.so +%{tde_tdelibdir}/kcm_thinkpad.la +%{tde_tdelibdir}/kcm_thinkpad.so +%{tde_tdelibdir}/kmilo_asus.la +%{tde_tdelibdir}/kmilo_asus.so +%{tde_tdelibdir}/kmilo_delli8k.la +%{tde_tdelibdir}/kmilo_delli8k.so +%{tde_tdelibdir}/kmilo_kvaio.la +%{tde_tdelibdir}/kmilo_kvaio.so +%{tde_tdelibdir}/kmilo_thinkpad.la +%{tde_tdelibdir}/kmilo_thinkpad.so +%{tde_tdeappdir}/kvaio.desktop +%{tde_tdeappdir}/thinkpad.desktop +%{tde_datadir}/services/kmilo/kmilo_asus.desktop +%{tde_datadir}/services/kmilo/kmilo_delli8k.desktop +%{tde_datadir}/services/kmilo/kmilo_kvaio.desktop +%{tde_datadir}/services/kmilo/kmilo_thinkpad.desktop + +########## + +%package -n trinity-kregexpeditor +Summary: graphical regular expression editor plugin for Trinity +Group: Applications/Utilities + +%description -n trinity-kregexpeditor +This package contains a graphical regular expression editor plugin for use +with TDE. It let you draw your regular expression in an unambiguous way. + +%files -n trinity-kregexpeditor +%defattr(-,root,root,-) +%{tde_bindir}/kregexpeditor +%{tde_tdelibdir}/libkregexpeditorgui.la +%{tde_tdelibdir}/libkregexpeditorgui.so +%{tde_libdir}/libkregexpeditorcommon.so.* +%{tde_tdeappdir}/kregexpeditor.desktop +%{tde_datadir}/apps/kregexpeditor/ +%{tde_datadir}/icons/hicolor/*/apps/kregexpeditor.png +%{tde_datadir}/services/kregexpeditorgui.desktop +%{tde_tdedocdir}/HTML/en/KRegExpEditor/ + +%post -n trinity-kregexpeditor +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kregexpeditor +/sbin/ldconfig +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-ksim +Summary: system information monitor for Trinity +Group: Applications/Utilities + +%description -n trinity-ksim +KSim is a system monitor app which has its own plugin system with support +for GKrellm skins. It allows users to follow uptime, memory usage, network +connections, power, etc. + +%files -n trinity-ksim +%defattr(-,root,root,-) +%config %{tde_datadir}/config/ksim_panelextensionrc +%{tde_tdelibdir}/ksim_*.la +%{tde_tdelibdir}/ksim_*.so +%{tde_libdir}/libksimcore.so.* +%{tde_datadir}/apps/kicker/extensions/ksim.desktop +%{tde_datadir}/apps/ksim/ +%{tde_tdedocdir}/HTML/en/ksim/ +%{tde_datadir}/icons/crystalsvg/*/apps/ksim.png +%{tde_datadir}/icons/crystalsvg/*/devices/ksim_cpu.png + +%post -n trinity-ksim +/sbin/ldconfig +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done + +%postun -n trinity-ksim +/sbin/ldconfig +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done + +########## + +%package -n trinity-ktimer +Summary: timer utility for Trinity +Group: Applications/Utilities + +%description -n trinity-ktimer +This is a timer application for TDE. It allows you to execute commands after +a certain amount of time. It supports looping commands as well as delayed +command execution. + +%files -n trinity-ktimer +%defattr(-,root,root,-) +%{tde_bindir}/ktimer +%{tde_tdeappdir}/ktimer.desktop +%{tde_datadir}/icons/hicolor/*/apps/ktimer.png +%{tde_tdedocdir}/HTML/en/ktimer/ + +%post -n trinity-ktimer +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-ktimer +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kwalletmanager +Summary: wallet manager for Trinity +Group: Applications/Utilities + +%description -n trinity-kwalletmanager +This program keeps various wallets for any kind of data that the user can +store encrypted with passwords and can also serve as a password manager that +keeps a master password to all wallets. + +%files -n trinity-kwalletmanager +%defattr(-,root,root,-) +%{tde_bindir}/kwalletmanager +%{tde_tdelibdir}/kcm_kwallet.la +%{tde_tdelibdir}/kcm_kwallet.so +%{tde_tdeappdir}/kwalletconfig.desktop +%{tde_tdeappdir}/kwalletmanager.desktop +%{tde_tdeappdir}/kwalletmanager-kwalletd.desktop +%{tde_datadir}/apps/kwalletmanager/ +%{tde_datadir}/icons/hicolor/*/apps/kwalletmanager.png +%{tde_datadir}/services/kwallet_config.desktop +%{tde_datadir}/services/kwalletmanager_show.desktop +%{tde_tdedocdir}/HTML/en/kwallet/ + +%post -n trinity-kwalletmanager +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kwalletmanager +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-superkaramba +Summary: a program based on karamba improving the eyecandy of TDE +Group: Applications/Utilities + +%description -n trinity-superkaramba +SuperKaramba is a tool based on karamba that allows anyone to easily create +and run little interactive widgets on a TDE desktop. Widgets are defined in a +simple text file and can be augmented with Python code to make them +interactive. + +Here are just some examples of the things that can be done: +* Display system information such as CPU Usage, MP3 playing, etc. +* Create cool custom toolbars that work any way imaginable. +* Create little games or virtual pets that live on your desktop. +* Display information from the internet, such as weather and headlines. + +%files -n trinity-superkaramba +%defattr(-,root,root,-) +%{tde_bindir}/superkaramba +%{tde_datadir}/applnk/Utilities/superkaramba.desktop +%{tde_datadir}/apps/superkaramba/superkarambaui.rc +%{tde_datadir}/icons/crystalsvg/*/apps/superkaramba.png +%{tde_datadir}/icons/crystalsvg/*/mimetypes/superkaramba_theme.png +%{tde_datadir}/icons/crystalsvg/scalable/apps/superkaramba.svgz +%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/superkaramba_theme.svgz +%{tde_datadir}/mimelnk/application/x-superkaramba.desktop +%{tde_tdedocdir}/HTML/en/superkaramba/ + +%post -n trinity-superkaramba +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done + +%postun -n trinity-superkaramba +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done + +########## + +# afaik, nobody BR's it, and it pulls kdeutils into multilib -- Rex +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: trinity-tdelibs-devel + +Obsoletes: trinity-kdeutils-devel < %{version}-%{release} +Provides: trinity-kdeutils-devel = %{version}-%{release} +Obsoletes: tdeutils-devel < %{version}-%{release} +Provides: tdeutils-devel = %{version}-%{release} + +%description devel +Development files for %{name}. + +%files devel +%defattr(-,root,root,-) +%{tde_tdeincludedir}/* +%if 0%{?build_klaptopdaemon} +%{tde_libdir}/libkcmlaptop.la +%{tde_libdir}/libkcmlaptop.so +%endif +%{tde_libdir}/lib[kt]deinit_ark.la +%{tde_libdir}/lib[kt]deinit_irkick.la +%{tde_libdir}/lib[kt]deinit_kcalc.la +%{tde_libdir}/lib[kt]deinit_kedit.la +%{tde_libdir}/libkmilo.la +%{tde_libdir}/libkmilo.so +%{tde_libdir}/libkregexpeditorcommon.la +%{tde_libdir}/libkregexpeditorcommon.so +%{tde_libdir}/libksimcore.la +%{tde_libdir}/libksimcore.so +%{tde_libdir}/libkhexeditcommon.la +%{tde_libdir}/libkhexeditcommon.so +%{tde_datadir}/cmake/libksimcore.cmake + +%post devel +/sbin/ldconfig + +%postun devel +/sbin/ldconfig + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} +%if 0%{?rhel} == 4 +%patch1 -p1 -b .rhel4 +%endif + + +%build +unset QTDIR || : ; source /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" + +# Do not build against any "/usr" installed KDE +export KDEDIR="%{tde_prefix}" + +# Shitty hack for RHEL4 ... +if [ -d "/usr/X11R6" ]; then + export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/X11R6/include:/usr/X11R6/%{_lib}" + export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ + -DBIN_INSTALL_DIR="%{tde_bindir}" \ + -DDOC_INSTALL_DIR="%{tde_docdir}" \ + -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \ + -DLIB_INSTALL_DIR="%{tde_libdir}" \ + -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \ + -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ + -DCMAKE_SKIP_RPATH=OFF \ + -DWITH_DPMS=ON \ + %{?with_xscreensaver:-DWITH_XSCREENSAVER=ON} \ + -DWITH_ASUS=ON \ + -DWITH_POWERBOOK=OFF \ + -DWITH_POWERBOOK2=OFF \ + -DWITH_VAIO=ON \ + -DWITH_THINKPAD=ON \ + -DWITH_I8K=ON \ + -DWITH_SNMP=ON \ + -DWITH_SENSORS=ON \ + -DWITH_XMMS=ON \ + -DWITH_KNEWSTUFF=ON \ + -DBUILD_ALL=ON \ + %{?!build_klaptopdaemon:-DBUILD_KLAPTOPDAEMON=OFF} \ + .. + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{?buildroot} -C build + + +## File lists +# HTML (1.0) +HTML_DIR=$(kde-config --expandvars --install html) +if [ -d %{buildroot}$HTML_DIR ]; then +for lang_dir in %{buildroot}$HTML_DIR/* ; do + if [ -d $lang_dir ]; then + lang=$(basename $lang_dir) + echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang + # replace absolute symlinks with relative ones + pushd $lang_dir + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common + done + popd + pushd $lang_dir/kcontrol + for i in *; do + [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../../common $i/common + done + popd + fi +done +fi + + +%if 0%{?build_klaptopdaemon} +### Use consolehelper for 'klaptop_acpi_helper' +%if 0%{?with_consolehelper} +# Install configuration files +%__install -p -D -m 644 "%{SOURCE1}" "%{buildroot}%{_sysconfdir}/pam.d/klaptop_acpi_helper" +%__install -p -D -m 644 "%{SOURCE2}" "%{buildroot}%{_sysconfdir}/security/console.apps/klaptop_acpi_helper" +# Moves the actual binary from 'bin' to 'sbin' +%__mkdir_p "%{buildroot}%{tde_sbindir}" "%{buildroot}%{_sbindir}" +%__mv "%{buildroot}%{tde_bindir}/klaptop_acpi_helper" "%{buildroot}%{tde_sbindir}" +# Links to consolehelper +%__ln_s "%{_bindir}/consolehelper" "%{buildroot}%{tde_bindir}/klaptop_acpi_helper" +# Put another symlink under '/usr', otherwise consolehelper does not work +%if "%{tde_prefix}" != "/usr" +%__ln_s "%{tde_sbindir}/klaptop_acpi_helper" "%{?buildroot}%{_sbindir}/klaptop_acpi_helper" +%endif +%endif + +# klaptop settings file +%__install -p -D -m 644 "%{SOURCE3}" "%{buildroot}%{tde_datadir}/config/kcmlaptoprc" + +%else + +# Klaptop's documentation is installed even if we did not build it ... +%__rm -fr %{?buildroot}%{tde_tdedocdir}/HTML/en/kcontrol/kcmlowbatcrit/ +%__rm -fr %{?buildroot}%{tde_tdedocdir}/HTML/en/kcontrol/kcmlowbatwarn/ +%__rm -fr %{?buildroot}%{tde_tdedocdir}/HTML/en/kcontrol/laptop/ +%__rm -fr %{?buildroot}%{tde_tdedocdir}/HTML/en/kcontrol/powerctrl/ + +%endif + + +%clean +%__rm -rf "%{?buildroot}" + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 +- Initial release for TDE 3.5.13.2 diff --git a/redhat/tdeutils/trinity-kdeutils-3.5.12.spec b/redhat/tdeutils/trinity-kdeutils-3.5.12.spec deleted file mode 100644 index 5cf187ce2..000000000 --- a/redhat/tdeutils/trinity-kdeutils-3.5.12.spec +++ /dev/null @@ -1,361 +0,0 @@ -# Default version for this component -%if "%{?version}" == "" -%define version 3.5.12 -%endif -%define release 7 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_includedir %{_includedir}/kde -%define tde_libdir %{_libdir}/kde3 - - -Name: trinity-kdeutils -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} -License: GPL -Summary: TDE Utilities -Group: Applications/System - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: kdeutils-%{version}.tar.gz -Source1: klaptop_acpi_helper.pam -Source2: klaptop_acpi_helper.console -Source3: kcmlaptoprc - -BuildRequires: tqtinterface -BuildRequires: trinity-arts -BuildRequires: trinity-kdelibs - -# RedHat / Fedora legacy patches -Patch1: kdf-3.0.2-label.patch - -Requires(post): /sbin/ldconfig -Requires(postun): /sbin/ldconfig - -Requires: tqtinterface -Requires: trinity-kdelibs - -BuildRequires: gettext -BuildRequires: net-snmp-devel -BuildRequires: python-devel -BuildRequires: gmp-devel -%if 0%{?fedora} > 4 || 0%{?rhel} > 4 -BuildRequires: libXScrnSaver-devel libXtst-devel -%endif -BuildRequires: xmms-devel - -%define superkaramba_ver 0.39 -Obsoletes: superkaramba < 0:%{superkaramba_ver} -Provides: superkaramba = 0:%{superkaramba_ver} - -%description -Utilities for the Trinity Desktop Environment, including: - * ark (tar/gzip archive manager) - * kcalc (scientific calculator) - * kcharselect (character selector) - * kdepasswd (change password) - * kdessh (ssh front end) - * kdf (view disk usage) - * kedit (simple text editor) - * kfloppy (floppy formatting tool) - * kgpg (gpg gui) - * khexedit (hex editor) - * kjots (note taker) - * kregexpeditor (regular expression editor) - * ktimer (task scheduler) - * kwikdisk (removable media utility) - - -# afaik, nobody BR's it, and it pulls kdeutils into multilib -- Rex -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} -Requires: %{name}-extras = %{version}-%{release} -Requires: trinity-kdelibs-devel -%description devel -Development files for %{name}. - -%package extras -Summary: Extras packages from %{name} -Group: Applications/Internet -Requires: %{name} = %{version}-%{release} -%if 0%{?fedora} > 5 || 0%{?rhel} > 4 -Requires: pm-utils -%endif -Requires: usermode -%description extras -More Utilities for the K Desktop Environment: - * kmilo - * ksim (system information monitor); - * klaptopdaemon (battery monitoring and management for laptops); - - -%prep -%setup -q -n kdeutils - -%patch1 -p1 -b .label - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f admin/Makefile.common - -%build -unset QTDIR || : ; source /etc/profile.d/qt.sh -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -%configure \ - --enable-new-ldflags \ - --disable-dependency-tracking \ - --disable-rpath \ - --disable-debug --disable-warnings \ - --enable-final \ - --includedir=%{tde_includedir} \ - --with-snmp \ - --with-xscreensaver \ - --with-extra-includes=%{_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{?buildroot} - -# Show only in KDE (really? -- Rex) -for i in kcalc kregexpeditor Kjots ktimer kdf kcmdf ksim KFloppy KEdit \ - KCharSelect ark kwalletmanager kwalletconfig \ - irkick kcmlirc laptop pcmcia kvaio thinkpad kwikdisk; do - if [ -f %{buildroot}%{_datadir}/applications/kde/$i.desktop ] ; then - echo "OnlyShowIn=KDE;" >> %{buildroot}%{_datadir}/applications/kde/$i.desktop - fi -done - -## File lists -# locale's -%find_lang %{name} || touch %{name}.lang -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - pushd $lang_dir/kcontrol - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../../common $i/common - done - popd - fi -done -fi - -# using pam -install -p -D -m 644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/pam.d/klaptop_acpi_helper -install -p -D -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/security/console.apps/klaptop_acpi_helper - -pushd %{buildroot}%{_bindir} - mkdir -p %{buildroot}%{_sbindir} - mv klaptop_acpi_helper ../sbin - ln -s consolehelper klaptop_acpi_helper -popd - -# klaptop setting -install -p -D -m 644 %{SOURCE3} %{buildroot}%{_datadir}/config/kcmlaptoprc - - -%clean -%__rm -rf %{?buildroot} - - -%post -/sbin/ldconfig -for f in crystalsvg hicolor locolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -/sbin/ldconfig -for f in crystalsvg hicolor locolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%post extras -/sbin/ldconfig -for f in crystalsvg hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done - -%postun extras -/sbin/ldconfig -for f in crystalsvg hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done - - -%files extras -%defattr(-,root,root,-) -# kmilo -%{tde_libdir}/kded_kmilod.* -%{tde_libdir}/kmilo* -%{_libdir}/libkmilo.la -%{_libdir}/libkmilo.so.* -%{_datadir}/services/kded/kmilod.desktop -%{_datadir}/services/kmilo -%{_datadir}/servicetypes/kmilo - -# ksim -%{tde_docdir}/HTML/*/ksim/ -%{tde_libdir}/ksim* -%{_libdir}/libksimcore.la -%{_libdir}/libksimcore.so.* -%{_datadir}/apps/kicker/extensions/ksim.desktop -%{_datadir}/apps/ksim/ -%config %{_datadir}/config/ksim_panelextensionrc -%{_datadir}/icons/crystalsvg/??x??/apps/ksim.png -%{_datadir}/icons/crystalsvg/16x16/devices/ksim_cpu.png - -# klaptop -%{tde_docdir}/HTML/en/kcontrol -%{_sysconfdir}/pam.d/klaptop_acpi_helper -%attr(644,root,root) %{_sysconfdir}/security/console.apps/klaptop_acpi_helper -%{_bindir}/klaptop* -%{tde_libdir}/kded_klaptopdaemon.* -%{_sbindir}/klaptop_acpi_helper -%{_datadir}/apps/klaptopdaemon -%{_datadir}/services/kded/klaptopdaemon.desktop -%{tde_libdir}/kcm_laptop.* -%{_libdir}/libkcmlaptop.* -%{_datadir}/applications/kde/laptop.desktop -%config %{_datadir}/config/kcmlaptoprc -%{_datadir}/icons/crystalsvg/128x128/apps/laptop_battery.png -%{_datadir}/icons/crystalsvg/??x??/apps/laptop_battery.png -%{_datadir}/icons/crystalsvg/scalable/apps/laptop_battery.svgz - - -%files -f %{name}.lang -%defattr(-,root,root,-) - -# kmilo -%exclude %{tde_libdir}/kded_kmilod.* -%exclude %{tde_libdir}/kmilo* -%exclude %{_libdir}/libkmilo.la -%exclude %{_libdir}/libkmilo.so.* -%exclude %{_datadir}/services/kded/kmilod.desktop -%exclude %{_datadir}/services/kmilo -%exclude %{_datadir}/servicetypes/kmilo - -# ksim -%exclude %{tde_docdir}/HTML/*/ksim/ -%exclude %{tde_libdir}/ksim* -%exclude %{_libdir}/libksimcore.la -%exclude %{_libdir}/libksimcore.so.* -%exclude %{_datadir}/apps/kicker/extensions/ksim.desktop -%exclude %{_datadir}/apps/ksim/ -%exclude %{_datadir}/config/ksim_panelextensionrc -%exclude %{_datadir}/icons/crystalsvg/??x??/apps/ksim.png -%exclude %{_datadir}/icons/crystalsvg/16x16/devices/ksim_cpu.png - -# klaptop -%exclude %{_sysconfdir}/pam.d/klaptop_acpi_helper -%exclude %{_sysconfdir}/security/console.apps/klaptop_acpi_helper -%exclude %{_bindir}/klaptop* -%exclude %{tde_libdir}/kded_klaptopdaemon.* -%exclude %{_sbindir}/klaptop_acpi_helper -%exclude %{_datadir}/apps/klaptopdaemon -%exclude %{_datadir}/services/kded/klaptopdaemon.desktop -%exclude %{tde_libdir}/kcm_laptop.* -%exclude %{_libdir}/libkcmlaptop.* -%exclude %{_datadir}/applications/kde/laptop.desktop -%exclude %{_datadir}/config/kcmlaptoprc -%exclude %{tde_docdir}/HTML/en/kcontrol/ -%exclude %{_datadir}/icons/crystalsvg/128x128/apps/laptop_battery.png -%exclude %{_datadir}/icons/crystalsvg/??x??/apps/laptop_battery.png -%exclude %{_datadir}/icons/crystalsvg/scalable/apps/laptop_battery.svgz - -%{tde_docdir}/HTML/en/* -%attr(644,root,root) %{_sysconfdir}/security/console.apps/* -%attr(644,root,root) %{_sysconfdir}/pam.d/* -%{_bindir}/* -%{_sbindir}/* -%{tde_libdir}/* -%{_libdir}/*.la -%{_libdir}/libkdeinit*.so -%{_libdir}/lib*.so.* -%{_datadir}/icons/*/*/*/* -%{_datadir}/apps/* -%config %{_datadir}/config/* -%{_datadir}/config.kcfg/* -%{_datadir}/services/* -%{_datadir}/servicetypes/* -%{_datadir}/applications/kde/* -%if 0%{?rhel} >= 5 -%{_datadir}/applnk/Utilities/* -%{_datadir}/mimelnk/application/* -%endif -%{_datadir}/autostart/* - -%files devel -%defattr(-,root,root,-) -%{tde_includedir}/* -%{_libdir}/libkcmlaptop.so -%{_libdir}/libkhexeditcommon.so -%{_libdir}/libkmilo.so -%{_libdir}/libkregexpeditorcommon.so -%{_libdir}/libksimcore.so - - -%changelog -* Sun Sep 18 2011 Francois Andriot - 3.5.12-7 -- Add RHEL5 support - -* Mon Sep 12 2011 Francois Andriot - 3.5.12-6 -- Merge Spec file from Fedora8 "kdeutils-3.5.10-6" - -* Sun Sep 04 2011 Francois Andriot - 3.5.12-5 -- Import to GIT - -* Mon Aug 22 2011 Francois Andriot - 3.5.12-4 -- Correct (again) macro to install under "/opt", if desired - -* Mon Aug 22 2011 Francois Andriot - 3.5.12-3 -- Correct macro to install under "/opt", if desired - -* Sun Dec 19 2010 Francois Andriot - 3.5.12-2 -- Rebuilt - -* Fri Dec 17 2010 Francois Andriot - 3.5.12-1 -- Add macro _kde3_prefix to define custom installation prefix (ex: /opt/kde3) -- Add '--with-extra-includes=%{_includedir}/tqt' - -* Wed Dec 15 2010 Francois Andriot - 3.5.12-0 -- Initial version - diff --git a/redhat/tdeutils/trinity-kdeutils-3.5.13.1.spec b/redhat/tdeutils/trinity-kdeutils-3.5.13.1.spec deleted file mode 100644 index a7465fceb..000000000 --- a/redhat/tdeutils/trinity-kdeutils-3.5.13.1.spec +++ /dev/null @@ -1,1038 +0,0 @@ -# Avoids relinking, which breaks consolehelper -%define dont_relink 1 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_sbindir %{tde_prefix}/sbin - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -Name: trinity-tdeutils -Version: 3.5.13.1 -Release: 1%{?dist}%{?_variant} -License: GPL -Summary: TDE Utilities -Group: Applications/System - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: kdeutils-3.5.13.1.tar.gz -Source1: klaptop_acpi_helper.pam -Source2: klaptop_acpi_helper.console -Source3: kcmlaptoprc - -Obsoletes: trinity-kdeutils < %{version}-%{release} -Provides: trinity-kdeutils = %{version}-%{release} -Obsoletes: trinity-kdeutils-extras < %{version}-%{release} -Provides: trinity-kdeutils-extras = %{version}-%{release} -Obsoletes: tdeutils < %{version}-%{release} -Provides: tdeutils = %{version}-%{release} - -# RedHat / Fedora legacy patches -Patch1: kdf-3.0.2-label.patch - -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-arts-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} -BuildRequires: autoconf automake libtool m4 -BuildRequires: gettext -BuildRequires: net-snmp-devel -BuildRequires: python-devel -BuildRequires: gmp-devel - -%if 0%{?fedora} >= 5 || 0%{?rhel} >= 5 -BuildRequires: libXScrnSaver-devel -BuildRequires: libXtst-devel -%endif - -%if 0%{?fedora} -BuildRequires: xmms-devel -%endif - -Requires: trinity-ark = %{version}-%{release} -Requires: trinity-kcalc = %{version}-%{release} -Requires: trinity-kcharselect = %{version}-%{release} -Requires: trinity-kdelirc = %{version}-%{release} -Requires: trinity-kdessh = %{version}-%{release} -Requires: trinity-kdf = %{version}-%{release} -Requires: trinity-kedit = %{version}-%{release} -Requires: trinity-kfloppy = %{version}-%{release} -Requires: trinity-kgpg = %{version}-%{release} -Requires: trinity-khexedit = %{version}-%{release} -Requires: trinity-kjots = %{version}-%{release} -Requires: trinity-klaptopdaemon = %{version}-%{release} -Requires: trinity-kmilo = %{version}-%{release} -Requires: trinity-kmilo-legacy = %{version}-%{release} -Requires: trinity-kregexpeditor = %{version}-%{release} -Requires: trinity-ksim = %{version}-%{release} -Requires: trinity-ktimer = %{version}-%{release} -Requires: trinity-kwalletmanager = %{version}-%{release} -Requires: trinity-superkaramba = %{version}-%{release} - -%files - - -%description -Utilities for the Trinity Desktop Environment, including: - * ark (tar/gzip archive manager) - * kcalc (scientific calculator) - * kcharselect (character selector) - * kdepasswd (change password) - * kdessh (ssh front end) - * kdf (view disk usage) - * kedit (simple text editor) - * kfloppy (floppy formatting tool) - * kgpg (gpg gui) - * khexedit (hex editor) - * kjots (note taker) - * klaptopdaemon (battery monitoring and management for laptops); - * kmilo - * kregexpeditor (regular expression editor) - * ksim (system information monitor); - * ktimer (task scheduler) - * kwikdisk (removable media utility) - -########## - -%package -n trinity-ark -Summary: graphical archiving tool for Trinity -Group: Applications/Utilities -#Requires: ncompress -Requires: unzip -Requires: zip -#Requires: zoo -Requires: bzip2 -#Requires: p7zip -Requires: xz -Requires: lzma -#Requires: rar, unrar - -%description -n trinity-ark -Ark is a graphical program for managing various archive formats within the -TDE environment. Archives can be viewed, extracted, created and modified -from within Ark. - -The program can handle various formats such as tar, gzip, bzip2, zip, rar and -lha (if appropriate command-line programs are installed). - -Ark can work closely with Konqueror in the KDE environment to handle archives, -if you install the Konqueror Integration plugin available in the konq-plugins -package. - -%files -n trinity-ark -%defattr(-,root,root,-) -%{tde_bindir}/ark -%{tde_tdelibdir}/ark.la -%{tde_tdelibdir}/ark.so -%{tde_tdelibdir}/libarkpart.la -%{tde_tdelibdir}/libarkpart.so -%{tde_libdir}/lib[kt]deinit_ark.so -%{tde_tdeappdir}/ark.desktop -%{tde_datadir}/apps/ark/ -%{tde_datadir}/config.kcfg/ark.kcfg -%{tde_datadir}/icons/hicolor/*/apps/ark.png -%{tde_datadir}/icons/hicolor/scalable/apps/ark.svgz -%{tde_datadir}/services/ark_part.desktop -%{tde_tdedocdir}/HTML/en/ark/ - -%post -n trinity-ark -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ark -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kcalc -Summary: calculator for Trinity -Group: Applications/Utilities - -%description -n trinity-kcalc -KCalc is TDE's scientific calculator. - -It provides: -* trigonometric functions, logic operations, and statistical calculations -* easy cut and paste of numbers from/into its display -* a results-stack which lets you conveniently recall previous results -* configurable precision, and number of digits after the period - -%files -n trinity-kcalc -%defattr(-,root,root,-) -%{tde_bindir}/kcalc -%{tde_tdelibdir}/kcalc.la -%{tde_tdelibdir}/kcalc.so -%{tde_libdir}/lib[kt]deinit_kcalc.so -%{tde_tdeappdir}/kcalc.desktop -%{tde_datadir}/apps/kcalc/ -%{tde_datadir}/apps/kconf_update/kcalcrc.upd -%{tde_datadir}/config.kcfg/kcalc.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kcalc.png -%{tde_datadir}/icons/hicolor/scalable/apps/kcalc.svgz -%{tde_tdedocdir}/HTML/en/kcalc/ - -%post -n trinity-kcalc -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kcalc -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kcharselect -Summary: character selector for Trinity -Group: Applications/Utilities - -%description -n trinity-kcharselect -A character set selector for TDE. - -%files -n trinity-kcharselect -%defattr(-,root,root,-) -%{tde_bindir}/kcharselect -%{tde_tdelibdir}/kcharselect_panelapplet.la -%{tde_tdelibdir}/kcharselect_panelapplet.so -%{tde_tdeappdir}/KCharSelect.desktop -%{tde_datadir}/apps/kcharselect/ -%{tde_datadir}/apps/kconf_update/kcharselect.upd -%{tde_datadir}/apps/kicker/applets/kcharselectapplet.desktop -%{tde_datadir}/icons/hicolor/*/apps/kcharselect.png -%{tde_tdedocdir}/HTML/en/kcharselect/ - -%post -n trinity-kcharselect -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kcharselect -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kdelirc -Summary: infrared control for Trinity -Group: Applications/Utilities - -%description -n trinity-kdelirc -This is a frontend for the LIRC suite to use infrared devices with TDE. - -%files -n trinity-kdelirc -%defattr(-,root,root,-) -%{tde_bindir}/irkick -%{tde_tdelibdir}/irkick.la -%{tde_tdelibdir}/irkick.so -%{tde_tdelibdir}/kcm_kcmlirc.la -%{tde_tdelibdir}/kcm_kcmlirc.so -%{tde_libdir}/lib[kt]deinit_irkick.so -%{tde_tdeappdir}/irkick.desktop -%{tde_tdeappdir}/kcmlirc.desktop -%{tde_datadir}/apps/irkick/ -%{tde_datadir}/apps/profiles/klauncher.profile.xml -%{tde_datadir}/apps/profiles/konqueror.profile.xml -%{tde_datadir}/apps/profiles/noatun.profile.xml -%{tde_datadir}/apps/profiles/profile.dtd -%{tde_datadir}/apps/remotes/RM-0010.remote.xml -%{tde_datadir}/apps/remotes/cimr100.remote.xml -%{tde_datadir}/apps/remotes/hauppauge.remote.xml -%{tde_datadir}/apps/remotes/remote.dtd -%{tde_datadir}/apps/remotes/sherwood.remote.xml -%{tde_datadir}/apps/remotes/sonytv.remote.xml -%{tde_datadir}/autostart/irkick.desktop -%{tde_datadir}/icons/hicolor/*/apps/irkick.png -%{tde_datadir}/icons/locolor/*/apps/irkick.png -%{tde_tdedocdir}/HTML/en/irkick/ -%{tde_tdedocdir}/HTML/en/kcmlirc/ - -%post -n trinity-kdelirc -/sbin/ldconfig -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kdelirc -/sbin/ldconfig -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kdessh -Summary: ssh frontend for Trinity -Group: Applications/Utilities -%if 0%{?suse_version} -Requires: openssh -%else -Requires: openssh-clients -%endif - -%description -n trinity-kdessh -This package contains TDE's frontend for ssh. - -%files -n trinity-kdessh -%defattr(-,root,root,-) -%{tde_bindir}/kdessh - -########## - -%package -n trinity-kdf -Summary: disk space utility for Trinity -Group: Applications/Utilities - -%description -n trinity-kdf -KDiskFree displays the available file devices (hard drive partitions, floppy -and CD drives, etc.) along with information on their capacity, free space, type -and mount point. It also allows you to mount and unmount drives and view them -in a file manager. - -%files -n trinity-kdf -%defattr(-,root,root,-) -%{tde_bindir}/kdf -%{tde_bindir}/kwikdisk -%{tde_tdelibdir}/kcm_kdf.la -%{tde_tdelibdir}/kcm_kdf.so -%{tde_tdeappdir}/kcmdf.desktop -%{tde_tdeappdir}/kdf.desktop -%{tde_tdeappdir}/kwikdisk.desktop -%{tde_datadir}/apps/kdf/ -%{tde_datadir}/icons/crystalsvg/*/apps/kcmdf.png -%{tde_datadir}/icons/hicolor/*/apps/kdf.png -%{tde_datadir}/icons/hicolor/*/apps/kwikdisk.png -%{tde_tdedocdir}/HTML/en/kdf/ -%{tde_tdedocdir}/HTML/en/kinfocenter/blockdevices/ - -%post -n trinity-kdf -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kdf -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kedit -Summary: basic text editor for Trinity -Group: Applications/Utilities - -%description -n trinity-kedit -A simple text editor for TDE. - -It can be used with Konqueror for text and configuration file browsing. -KEdit also serves well for creating small plain text documents. KEdit's -functionality will intentionally remain rather limited to ensure a -reasonably fast start. - -%files -n trinity-kedit -%defattr(-,root,root,-) -%{tde_bindir}/kedit -%{tde_tdelibdir}/kedit.la -%{tde_tdelibdir}/kedit.so -%{tde_libdir}/lib[kt]deinit_kedit.so -%{tde_tdeappdir}/KEdit.desktop -%{tde_datadir}/apps/kedit/keditui.rc -%{tde_datadir}/config.kcfg/kedit.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kedit.png -%{tde_tdedocdir}/HTML/en/kedit/ - -%post -n trinity-kedit -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kedit -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kfloppy -Summary: floppy formatter for Trinity -Group: Applications/Utilities -Requires: dosfstools - -%description -n trinity-kfloppy -Kfloppy is a utility that provides a straightforward graphical means -to format 3.5" and 5.25" floppy disks. - -%files -n trinity-kfloppy -%defattr(-,root,root,-) -%{tde_bindir}/kfloppy -%{tde_tdeappdir}/KFloppy.desktop -%{tde_datadir}/apps/konqueror/servicemenus/floppy_format.desktop -%{tde_datadir}/icons/hicolor/*/apps/kfloppy.png -%{tde_tdedocdir}/HTML/en/kfloppy/ - -%post -n trinity-kfloppy -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kfloppy -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kgpg -Summary: GnuPG frontend for Trinity -Group: Applications/Utilities -Requires: trinity-konsole -Requires: gnupg - -%description -n trinity-kgpg -Kgpg is a frontend for GNU Privacy Guard (GnuPG). It provides file -encryption, file decryption and key management. - -Features: -* an editor mode for easily and quickly encrypting or decrypting a file - or message which is typed, copied, pasted or dragged into the editor, - or which is double-clicked in the file manager -* Konqueror integration for encrypting or decrypting files -* a panel applet for encrypting / decrypting files or the clipboard - contents, etc. -* key management functions (generation, import, export, deletion and - signing) -* decrypting clipboard contents, including integration with Klipper - -%files -n trinity-kgpg -%defattr(-,root,root,-) -%{tde_bindir}/kgpg -%{tde_tdeappdir}/kgpg.desktop -%{tde_datadir}/apps/kgpg/ -%{tde_datadir}/apps/konqueror/servicemenus/encryptfile.desktop -%{tde_datadir}/apps/konqueror/servicemenus/encryptfolder.desktop -%{tde_datadir}/autostart/kgpg.desktop -%{tde_datadir}/config.kcfg/kgpg.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kgpg.png -%{tde_tdedocdir}/HTML/en/kgpg/ - -%post -n trinity-kgpg -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kgpg -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-khexedit -Summary: Trinity hex editor -Group: Applications/Utilities - -%description -n trinity-khexedit -KHexEdit is an editor for the raw data of binary files. It includes -find/replace functions, bookmarks, many configuration options, drag and drop -support and other powerful features. - -%files -n trinity-khexedit -%defattr(-,root,root,-) -%{tde_bindir}/khexedit -%{tde_tdelibdir}/libkbyteseditwidget.la -%{tde_tdelibdir}/libkbyteseditwidget.so -%{tde_tdelibdir}/libkhexedit2part.la -%{tde_tdelibdir}/libkhexedit2part.so -%{tde_libdir}/libkhexeditcommon.so.* -%{tde_tdeappdir}/khexedit.desktop -%{tde_datadir}/apps/khexedit/ -%{tde_datadir}/apps/khexedit2part/khexedit2partui.rc -%{tde_datadir}/icons/hicolor/*/apps/khexedit.png -%{tde_datadir}/services/kbyteseditwidget.desktop -%{tde_datadir}/services/khexedit2part.desktop -%{tde_tdedocdir}/HTML/en/khexedit/ - -%post -n trinity-khexedit -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-khexedit -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kjots -Summary: note taking utility for Trinity -Group: Applications/Utilities - -%description -n trinity-kjots -Kjots is a small note taker program. Name and idea are taken from the jots -program included in the tkgoodstuff package. - -%files -n trinity-kjots -%defattr(-,root,root,-) -%{tde_bindir}/kjots -%{tde_tdeappdir}/Kjots.desktop -%{tde_datadir}/apps/kjots/ -%{tde_datadir}/config.kcfg/kjots.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kjots.png -%{tde_tdedocdir}/HTML/en/kjots/ - -%post -n trinity-kjots -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kjots -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-klaptopdaemon -Summary: battery monitoring and management for laptops using Trinity -Group: Applications/Utilities -Requires: pm-utils -Requires: usermode - -%description -n trinity-klaptopdaemon -This package contains utilities to monitor batteries and configure -power management, for laptops, from within TDE. - -%files -n trinity-klaptopdaemon -%defattr(-,root,root,-) -%{tde_bindir}/klaptop_acpi_helper -%{tde_bindir}/klaptop_check -%{tde_tdelibdir}/kcm_laptop.la -%{tde_tdelibdir}/kcm_laptop.so -%{tde_tdelibdir}/kded_klaptopdaemon.la -%{tde_tdelibdir}/kded_klaptopdaemon.so -%{tde_libdir}/libkcmlaptop.so.* -%{tde_tdeappdir}/laptop.desktop -%{tde_tdeappdir}/pcmcia.desktop -%{tde_datadir}/apps/klaptopdaemon/ -%{tde_datadir}/icons/crystalsvg/*/apps/laptop_battery.png -%{tde_datadir}/icons/crystalsvg/*/apps/laptop_pcmcia.png -%{tde_datadir}/icons/crystalsvg/scalable/apps/laptop_battery.svgz -%{tde_datadir}/services/kded/klaptopdaemon.desktop -%{tde_tdedocdir}/HTML/en/kcontrol/kcmlowbatcrit/ -%{tde_tdedocdir}/HTML/en/kcontrol/kcmlowbatwarn/ -%{tde_tdedocdir}/HTML/en/kcontrol/laptop/ -%{tde_tdedocdir}/HTML/en/kcontrol/powerctrl/ - -# RHEL/Fedora specific -%{_sysconfdir}/pam.d/klaptop_acpi_helper -%attr(644,root,root) %{_sysconfdir}/security/console.apps/klaptop_acpi_helper -%{tde_sbindir}/klaptop_acpi_helper -%{_sbindir}/klaptop_acpi_helper -%config %{tde_datadir}/config/kcmlaptoprc - -%post -n trinity-klaptopdaemon -/sbin/ldconfig -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-klaptopdaemon -/sbin/ldconfig -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kmilo -Summary: laptop special keys support for Trinity -Group: Applications/Utilities - -%description -n trinity-kmilo -KMilo lets you use the special keys on some keyboards and laptops. - -Usually this includes volume keys and other features. Currently, KMilo -comes with plugins for Powerbooks, Thinkpads, Vaios and generic keyboards -with special keys. - -%files -n trinity-kmilo -%defattr(-,root,root,-) -%{tde_tdelibdir}/kded_kmilod.la -%{tde_tdelibdir}/kded_kmilod.so -%{tde_tdelibdir}/kmilo_generic.la -%{tde_tdelibdir}/kmilo_generic.so -%{tde_libdir}/libkmilo.so.* -%{tde_datadir}/services/kded/kmilod.desktop -%{tde_datadir}/services/kmilo/kmilo_generic.desktop -%{tde_datadir}/servicetypes/kmilo/kmilopluginsvc.desktop - -%post -n trinity-kmilo -/sbin/ldconfig - -%postun -n trinity-kmilo -/sbin/ldconfig - -########## - -%package -n trinity-kmilo-legacy -Summary: non-standard plugins for KMilo -Group: Applications/Utilities -Requires: trinity-kmilo = %{version}-%{release} - -%description -n trinity-kmilo-legacy -KMilo lets you use the special keys on some keyboards and laptops. - -Usually this includes volume keys and other features. Currently, KMilo -comes with plugins for Powerbooks, Thinkpads and Vaios. - -The intention is that all laptops work with the generic kmilo -plugin, if you need this package please file a bug. - -%files -n trinity-kmilo-legacy -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_kvaio.la -%{tde_tdelibdir}/kcm_kvaio.so -%{tde_tdelibdir}/kcm_thinkpad.la -%{tde_tdelibdir}/kcm_thinkpad.so -%{tde_tdelibdir}/kmilo_asus.la -%{tde_tdelibdir}/kmilo_asus.so -%{tde_tdelibdir}/kmilo_delli8k.la -%{tde_tdelibdir}/kmilo_delli8k.so -%{tde_tdelibdir}/kmilo_kvaio.la -%{tde_tdelibdir}/kmilo_kvaio.so -%{tde_tdelibdir}/kmilo_thinkpad.la -%{tde_tdelibdir}/kmilo_thinkpad.so -%{tde_tdeappdir}/kvaio.desktop -%{tde_tdeappdir}/thinkpad.desktop -%{tde_datadir}/services/kmilo/kmilo_asus.desktop -%{tde_datadir}/services/kmilo/kmilo_delli8k.desktop -%{tde_datadir}/services/kmilo/kmilo_kvaio.desktop -%{tde_datadir}/services/kmilo/kmilo_thinkpad.desktop - -########## - -%package -n trinity-kregexpeditor -Summary: graphical regular expression editor plugin for Trinity -Group: Applications/Utilities - -%description -n trinity-kregexpeditor -This package contains a graphical regular expression editor plugin for use -with TDE. It let you draw your regular expression in an unambiguous way. - -%files -n trinity-kregexpeditor -%defattr(-,root,root,-) -%{tde_bindir}/kregexpeditor -%{tde_tdelibdir}/libkregexpeditorgui.la -%{tde_tdelibdir}/libkregexpeditorgui.so -%{tde_libdir}/libkregexpeditorcommon.so.* -%{tde_tdeappdir}/kregexpeditor.desktop -%{tde_datadir}/apps/kregexpeditor/ -%{tde_datadir}/icons/hicolor/*/apps/kregexpeditor.png -%{tde_datadir}/services/kregexpeditorgui.desktop -%{tde_tdedocdir}/HTML/en/KRegExpEditor/ - -%post -n trinity-kregexpeditor -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kregexpeditor -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ksim -Summary: system information monitor for Trinity -Group: Applications/Utilities - -%description -n trinity-ksim -KSim is a system monitor app which has its own plugin system with support -for GKrellm skins. It allows users to follow uptime, memory usage, network -connections, power, etc. - -%files -n trinity-ksim -%defattr(-,root,root,-) -%config %{tde_datadir}/config/ksim_panelextensionrc -%{tde_tdelibdir}/ksim_*.la -%{tde_tdelibdir}/ksim_*.so -%{tde_libdir}/libksimcore.so.* -%{tde_datadir}/apps/kicker/extensions/ksim.desktop -%{tde_datadir}/apps/ksim/ -%{tde_tdedocdir}/HTML/en/ksim/ -%{tde_datadir}/icons/crystalsvg/*/apps/ksim.png -%{tde_datadir}/icons/crystalsvg/*/devices/ksim_cpu.png - -%post -n trinity-ksim -/sbin/ldconfig -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done - -%postun -n trinity-ksim -/sbin/ldconfig -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done - -########## - -%package -n trinity-ktimer -Summary: timer utility for Trinity -Group: Applications/Utilities - -%description -n trinity-ktimer -This is a timer application for TDE. It allows you to execute commands after -a certain amount of time. It supports looping commands as well as delayed -command execution. - -%files -n trinity-ktimer -%defattr(-,root,root,-) -%{tde_bindir}/ktimer -%{tde_tdeappdir}/ktimer.desktop -%{tde_datadir}/icons/hicolor/*/apps/ktimer.png -%{tde_tdedocdir}/HTML/en/ktimer/ - -%post -n trinity-ktimer -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ktimer -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kwalletmanager -Summary: wallet manager for Trinity -Group: Applications/Utilities - -%description -n trinity-kwalletmanager -This program keeps various wallets for any kind of data that the user can -store encrypted with passwords and can also serve as a password manager that -keeps a master password to all wallets. - -%files -n trinity-kwalletmanager -%defattr(-,root,root,-) -%{tde_bindir}/kwalletmanager -%{tde_tdelibdir}/kcm_kwallet.la -%{tde_tdelibdir}/kcm_kwallet.so -%{tde_tdeappdir}/kwalletconfig.desktop -%{tde_tdeappdir}/kwalletmanager.desktop -%{tde_tdeappdir}/kwalletmanager-kwalletd.desktop -%{tde_datadir}/apps/kwalletmanager/ -%{tde_datadir}/icons/hicolor/*/apps/kwalletmanager.png -%{tde_datadir}/services/kwallet_config.desktop -%{tde_datadir}/services/kwalletmanager_show.desktop -%{tde_tdedocdir}/HTML/en/kwallet/ - -%post -n trinity-kwalletmanager -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kwalletmanager -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-superkaramba -Summary: a program based on karamba improving the eyecandy of TDE -Group: Applications/Utilities - -%description -n trinity-superkaramba -SuperKaramba is a tool based on karamba that allows anyone to easily create -and run little interactive widgets on a TDE desktop. Widgets are defined in a -simple text file and can be augmented with Python code to make them -interactive. - -Here are just some examples of the things that can be done: -* Display system information such as CPU Usage, MP3 playing, etc. -* Create cool custom toolbars that work any way imaginable. -* Create little games or virtual pets that live on your desktop. -* Display information from the internet, such as weather and headlines. - -%files -n trinity-superkaramba -%defattr(-,root,root,-) -%{tde_bindir}/superkaramba -%{tde_datadir}/applnk/Utilities/superkaramba.desktop -%{tde_datadir}/apps/superkaramba/superkarambaui.rc -%{tde_datadir}/icons/crystalsvg/*/apps/superkaramba.png -%{tde_datadir}/icons/crystalsvg/*/mimetypes/superkaramba_theme.png -%{tde_datadir}/icons/crystalsvg/scalable/apps/superkaramba.svgz -%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/superkaramba_theme.svgz -%{tde_datadir}/mimelnk/application/x-superkaramba.desktop -%{tde_tdedocdir}/HTML/en/superkaramba/ - -%post -n trinity-superkaramba -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done - -%postun -n trinity-superkaramba -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done - -########## - -# afaik, nobody BR's it, and it pulls kdeutils into multilib -- Rex -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} -Requires: trinity-tdelibs-devel - -Obsoletes: trinity-kdeutils-devel < %{version}-%{release} -Provides: trinity-kdeutils-devel = %{version}-%{release} -Obsoletes: tdeutils-devel < %{version}-%{release} -Provides: tdeutils-devel = %{version}-%{release} - -%description devel -Development files for %{name}. - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/* -%{tde_libdir}/libkcmlaptop.la -%{tde_libdir}/libkcmlaptop.so -%{tde_libdir}/lib[kt]deinit_ark.la -%{tde_libdir}/lib[kt]deinit_irkick.la -%{tde_libdir}/lib[kt]deinit_kcalc.la -%{tde_libdir}/lib[kt]deinit_kedit.la -%{tde_libdir}/libkmilo.la -%{tde_libdir}/libkmilo.so -%{tde_libdir}/libkregexpeditorcommon.la -%{tde_libdir}/libkregexpeditorcommon.so -%{tde_libdir}/libksimcore.la -%{tde_libdir}/libksimcore.so -%{tde_libdir}/libkhexeditcommon.la -%{tde_libdir}/libkhexeditcommon.so - -%post devel -/sbin/ldconfig - -%postun devel -/sbin/ldconfig - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n kdeutils-3.5.13.1 - -%patch1 -p1 -b .label - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - -%build -unset QTDIR || : ; source /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -# Do not build against any "/usr" installed KDE -export KDEDIR=%{tde_prefix} - -# Specific path for RHEL4 -if [ -d /usr/X11R6 ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --enable-new-ldflags \ - --disable-dependency-tracking \ - --disable-rpath \ - --disable-debug --disable-warnings \ - --enable-final \ - --includedir=%{tde_tdeincludedir} \ - --with-snmp \ -%if 0%{?fedora} - --with-xmms \ -%else - --without-xmms \ -%endif - --with-xscreensaver \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{?buildroot} - -# Show only in KDE (really? -- Rex) -for i in kcalc kregexpeditor Kjots ktimer kdf kcmdf ksim KFloppy KEdit \ - KCharSelect ark kwalletmanager kwalletconfig \ - irkick kcmlirc laptop pcmcia kvaio thinkpad kwikdisk; do - if [ -f %{buildroot}%{tde_datadir}/applications/kde/$i.desktop ] ; then - echo "OnlyShowIn=KDE;" >> %{buildroot}%{tde_datadir}/applications/kde/$i.desktop - fi -done - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - pushd $lang_dir/kcontrol - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../../common $i/common - done - popd - fi -done -fi - -# using pam -%__install -p -D -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/pam.d/klaptop_acpi_helper -%__install -p -D -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/security/console.apps/klaptop_acpi_helper - -# Use consolehelper for 'klaptop_acpi_helper' -%__mkdir_p %{buildroot}%{tde_sbindir} %{buildroot}%{_sbindir} -%__mv %{buildroot}%{tde_bindir}/klaptop_acpi_helper %{buildroot}%{tde_sbindir} -%__ln_s %{_bindir}/consolehelper %{buildroot}%{tde_bindir}/klaptop_acpi_helper -%if "%{tde_prefix}" != "/usr" -%__ln_s %{tde_sbindir}/klaptop_acpi_helper %{?buildroot}%{_sbindir}/klaptop_acpi_helper -%endif - -# klaptop setting -%__install -p -D -m 644 %{SOURCE3} %{buildroot}%{tde_datadir}/config/kcmlaptoprc - - -%clean -%__rm -rf %{?buildroot} - - - -%changelog -* Sun Sep 30 2012 Francois Andriot - 3.5.13.1-1 -- Initial build for TDE 3.5.13.1 diff --git a/redhat/tdeutils/trinity-kdeutils-3.5.13.spec b/redhat/tdeutils/trinity-kdeutils-3.5.13.spec deleted file mode 100644 index d85cfc7d4..000000000 --- a/redhat/tdeutils/trinity-kdeutils-3.5.13.spec +++ /dev/null @@ -1,1076 +0,0 @@ -# Avoids relinking, which breaks consolehelper -%define dont_relink 1 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_sbindir %{tde_prefix}/sbin - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -Name: trinity-tdeutils -Version: 3.5.13 -Release: 7%{?dist}%{?_variant} -License: GPL -Summary: TDE Utilities -Group: Applications/System - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: kdeutils-%{version}.tar.gz -Source1: klaptop_acpi_helper.pam -Source2: klaptop_acpi_helper.console -Source3: kcmlaptoprc - -Obsoletes: trinity-kdeutils < %{version}-%{release} -Provides: trinity-kdeutils = %{version}-%{release} -Obsoletes: trinity-kdeutils-extras < %{version}-%{release} -Provides: trinity-kdeutils-extras = %{version}-%{release} -Obsoletes: tdeutils < %{version}-%{release} -Provides: tdeutils = %{version}-%{release} - -# RedHat / Fedora legacy patches -Patch1: kdf-3.0.2-label.patch - -# TDE 3.5.13 RHEL/Fedora patches -## [kdeutils/klaptodaemon] removes dpkg commands [Commit #1e1a776f] -Patch2: kdeutils-3.5.13-klaptopdaemon_dpkg_command.patch -## [tdeutils] Allow ark embedding [Bug #670] [Commit #2a1d4a67] -Patch3: kdeutils-3.5.13-fix_ark_embedding.patch -## [tdeutils] Remove "More Applications" from TDE menu. Add Utility category to KEdit. [Bug #653] [Commit #803f4752] -Patch4: kdeutils-3.5.13-remove_more_applications.patch -## [tdeutils] Reorganize KControl menu tree. [Commit #7780bb7b] -## * Move former KInfoCenter items -> Hardware/Information. -## * Move Laptop Battery -> Hardware. -Patch5: kdeutils-3.5.13-reorganize_kcontrol_menu_tree.patch -## [tdeutils] Further organize TDE Menu. [Commit #b970fc42] -Patch6: kdeutils-3.5.13-further_organise_menu.patch -## [tdeutils] [Ark] Repairs and extensions [Bug #1030] [Commit #1c84948d] -## Added support for Arj -## Added support for check archives -## Added support for password processing -## Fix show broken filenames into real UTF-8 -Patch7: kdeutils-3.5.13-ark_repairs_and_extensions.patch -# [kdeutils] Missing LDFLAGS cause FTBFS on Mageia 2 -Patch8: kdeutils-3.5.13-missing_ldflags.patch - -BuildRequires: tqtinterface-devel >= 3.5.13 -BuildRequires: trinity-arts-devel >= 3.5.13 -BuildRequires: trinity-tdelibs-devel >= 3.5.13 -BuildRequires: autoconf automake libtool m4 -BuildRequires: gettext -BuildRequires: net-snmp-devel -BuildRequires: python-devel -BuildRequires: gmp-devel - -%if 0%{?fedora} > 4 || 0%{?rhel} > 4 -BuildRequires: libXScrnSaver-devel -BuildRequires: libXtst-devel -%endif - -%if 0%{?fedora} -BuildRequires: xmms-devel -%endif - -Requires: trinity-ark = %{version}-%{release} -Requires: trinity-kcalc = %{version}-%{release} -Requires: trinity-kcharselect = %{version}-%{release} -Requires: trinity-kdelirc = %{version}-%{release} -Requires: trinity-kdessh = %{version}-%{release} -Requires: trinity-kdf = %{version}-%{release} -Requires: trinity-kedit = %{version}-%{release} -Requires: trinity-kfloppy = %{version}-%{release} -Requires: trinity-kgpg = %{version}-%{release} -Requires: trinity-khexedit = %{version}-%{release} -Requires: trinity-kjots = %{version}-%{release} -Requires: trinity-klaptopdaemon = %{version}-%{release} -Requires: trinity-kmilo = %{version}-%{release} -Requires: trinity-kmilo-legacy = %{version}-%{release} -Requires: trinity-kregexpeditor = %{version}-%{release} -Requires: trinity-ksim = %{version}-%{release} -Requires: trinity-ktimer = %{version}-%{release} -Requires: trinity-kwalletmanager = %{version}-%{release} -Requires: trinity-superkaramba = %{version}-%{release} - -%files - - -%description -Utilities for the Trinity Desktop Environment, including: - * ark (tar/gzip archive manager) - * kcalc (scientific calculator) - * kcharselect (character selector) - * kdepasswd (change password) - * kdessh (ssh front end) - * kdf (view disk usage) - * kedit (simple text editor) - * kfloppy (floppy formatting tool) - * kgpg (gpg gui) - * khexedit (hex editor) - * kjots (note taker) - * klaptopdaemon (battery monitoring and management for laptops); - * kmilo - * kregexpeditor (regular expression editor) - * ksim (system information monitor); - * ktimer (task scheduler) - * kwikdisk (removable media utility) - -########## - -%package -n trinity-ark -Summary: graphical archiving tool for Trinity -Group: Applications/Utilities -#Requires: ncompress -Requires: unzip -Requires: zip -#Requires: zoo -Requires: bzip2 -#Requires: p7zip -Requires: xz -Requires: lzma -#Requires: rar, unrar - -%description -n trinity-ark -Ark is a graphical program for managing various archive formats within the -TDE environment. Archives can be viewed, extracted, created and modified -from within Ark. - -The program can handle various formats such as tar, gzip, bzip2, zip, rar and -lha (if appropriate command-line programs are installed). - -Ark can work closely with Konqueror in the KDE environment to handle archives, -if you install the Konqueror Integration plugin available in the konq-plugins -package. - -%files -n trinity-ark -%defattr(-,root,root,-) -%{tde_bindir}/ark -%{tde_tdelibdir}/ark.la -%{tde_tdelibdir}/ark.so -%{tde_tdelibdir}/libarkpart.la -%{tde_tdelibdir}/libarkpart.so -%{tde_libdir}/lib[kt]deinit_ark.so -%{tde_tdeappdir}/ark.desktop -%{tde_datadir}/apps/ark/ -%{tde_datadir}/config.kcfg/ark.kcfg -%{tde_datadir}/icons/hicolor/*/apps/ark.png -%{tde_datadir}/icons/hicolor/scalable/apps/ark.svgz -%{tde_datadir}/services/ark_part.desktop -%{tde_tdedocdir}/HTML/en/ark/ - -%post -n trinity-ark -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ark -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kcalc -Summary: calculator for Trinity -Group: Applications/Utilities - -%description -n trinity-kcalc -KCalc is TDE's scientific calculator. - -It provides: -* trigonometric functions, logic operations, and statistical calculations -* easy cut and paste of numbers from/into its display -* a results-stack which lets you conveniently recall previous results -* configurable precision, and number of digits after the period - -%files -n trinity-kcalc -%defattr(-,root,root,-) -%{tde_bindir}/kcalc -%{tde_tdelibdir}/kcalc.la -%{tde_tdelibdir}/kcalc.so -%{tde_libdir}/lib[kt]deinit_kcalc.so -%{tde_tdeappdir}/kcalc.desktop -%{tde_datadir}/apps/kcalc/ -%{tde_datadir}/apps/kconf_update/kcalcrc.upd -%{tde_datadir}/config.kcfg/kcalc.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kcalc.png -%{tde_datadir}/icons/hicolor/scalable/apps/kcalc.svgz -%{tde_tdedocdir}/HTML/en/kcalc/ - -%post -n trinity-kcalc -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kcalc -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kcharselect -Summary: character selector for Trinity -Group: Applications/Utilities - -%description -n trinity-kcharselect -A character set selector for TDE. - -%files -n trinity-kcharselect -%defattr(-,root,root,-) -%{tde_bindir}/kcharselect -%{tde_tdelibdir}/kcharselect_panelapplet.la -%{tde_tdelibdir}/kcharselect_panelapplet.so -%{tde_tdeappdir}/KCharSelect.desktop -%{tde_datadir}/apps/kcharselect/ -%{tde_datadir}/apps/kconf_update/kcharselect.upd -%{tde_datadir}/apps/kicker/applets/kcharselectapplet.desktop -%{tde_datadir}/icons/hicolor/*/apps/kcharselect.png -%{tde_tdedocdir}/HTML/en/kcharselect/ - -%post -n trinity-kcharselect -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kcharselect -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kdelirc -Summary: infrared control for Trinity -Group: Applications/Utilities - -%description -n trinity-kdelirc -This is a frontend for the LIRC suite to use infrared devices with TDE. - -%files -n trinity-kdelirc -%defattr(-,root,root,-) -%{tde_bindir}/irkick -%{tde_tdelibdir}/irkick.la -%{tde_tdelibdir}/irkick.so -%{tde_tdelibdir}/kcm_kcmlirc.la -%{tde_tdelibdir}/kcm_kcmlirc.so -%{tde_libdir}/lib[kt]deinit_irkick.so -%{tde_tdeappdir}/irkick.desktop -%{tde_tdeappdir}/kcmlirc.desktop -%{tde_datadir}/apps/irkick/ -%{tde_datadir}/apps/profiles/klauncher.profile.xml -%{tde_datadir}/apps/profiles/konqueror.profile.xml -%{tde_datadir}/apps/profiles/noatun.profile.xml -%{tde_datadir}/apps/profiles/profile.dtd -%{tde_datadir}/apps/remotes/RM-0010.remote.xml -%{tde_datadir}/apps/remotes/cimr100.remote.xml -%{tde_datadir}/apps/remotes/hauppauge.remote.xml -%{tde_datadir}/apps/remotes/remote.dtd -%{tde_datadir}/apps/remotes/sherwood.remote.xml -%{tde_datadir}/apps/remotes/sonytv.remote.xml -%{tde_datadir}/autostart/irkick.desktop -%{tde_datadir}/icons/hicolor/*/apps/irkick.png -%{tde_datadir}/icons/locolor/*/apps/irkick.png -%{tde_tdedocdir}/HTML/en/irkick/ -%{tde_tdedocdir}/HTML/en/kcmlirc/ - -%post -n trinity-kdelirc -/sbin/ldconfig -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kdelirc -/sbin/ldconfig -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kdessh -Summary: ssh frontend for Trinity -Group: Applications/Utilities -Requires: openssh-clients - -%description -n trinity-kdessh -This package contains TDE's frontend for ssh. - -%files -n trinity-kdessh -%defattr(-,root,root,-) -%{tde_bindir}/kdessh - -########## - -%package -n trinity-kdf -Summary: disk space utility for Trinity -Group: Applications/Utilities - -%description -n trinity-kdf -KDiskFree displays the available file devices (hard drive partitions, floppy -and CD drives, etc.) along with information on their capacity, free space, type -and mount point. It also allows you to mount and unmount drives and view them -in a file manager. - -%files -n trinity-kdf -%defattr(-,root,root,-) -%{tde_bindir}/kdf -%{tde_bindir}/kwikdisk -%{tde_tdelibdir}/kcm_kdf.la -%{tde_tdelibdir}/kcm_kdf.so -%{tde_tdeappdir}/kcmdf.desktop -%{tde_tdeappdir}/kdf.desktop -%{tde_tdeappdir}/kwikdisk.desktop -%{tde_datadir}/apps/kdf/ -%{tde_datadir}/icons/crystalsvg/*/apps/kcmdf.png -%{tde_datadir}/icons/hicolor/*/apps/kdf.png -%{tde_datadir}/icons/hicolor/*/apps/kwikdisk.png -%{tde_tdedocdir}/HTML/en/kdf/ -%{tde_tdedocdir}/HTML/en/kinfocenter/blockdevices/ - -%post -n trinity-kdf -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kdf -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kedit -Summary: basic text editor for Trinity -Group: Applications/Utilities - -%description -n trinity-kedit -A simple text editor for TDE. - -It can be used with Konqueror for text and configuration file browsing. -KEdit also serves well for creating small plain text documents. KEdit's -functionality will intentionally remain rather limited to ensure a -reasonably fast start. - -%files -n trinity-kedit -%defattr(-,root,root,-) -%{tde_bindir}/kedit -%{tde_tdelibdir}/kedit.la -%{tde_tdelibdir}/kedit.so -%{tde_libdir}/lib[kt]deinit_kedit.so -%{tde_tdeappdir}/KEdit.desktop -%{tde_datadir}/apps/kedit/keditui.rc -%{tde_datadir}/config.kcfg/kedit.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kedit.png -%{tde_tdedocdir}/HTML/en/kedit/ - -%post -n trinity-kedit -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kedit -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kfloppy -Summary: floppy formatter for Trinity -Group: Applications/Utilities -Requires: dosfstools - -%description -n trinity-kfloppy -Kfloppy is a utility that provides a straightforward graphical means -to format 3.5" and 5.25" floppy disks. - -%files -n trinity-kfloppy -%defattr(-,root,root,-) -%{tde_bindir}/kfloppy -%{tde_tdeappdir}/KFloppy.desktop -%{tde_datadir}/apps/konqueror/servicemenus/floppy_format.desktop -%{tde_datadir}/icons/hicolor/*/apps/kfloppy.png -%{tde_tdedocdir}/HTML/en/kfloppy/ - -%post -n trinity-kfloppy -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kfloppy -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kgpg -Summary: GnuPG frontend for Trinity -Group: Applications/Utilities -Requires: trinity-konsole -Requires: gnupg - -%description -n trinity-kgpg -Kgpg is a frontend for GNU Privacy Guard (GnuPG). It provides file -encryption, file decryption and key management. - -Features: -* an editor mode for easily and quickly encrypting or decrypting a file - or message which is typed, copied, pasted or dragged into the editor, - or which is double-clicked in the file manager -* Konqueror integration for encrypting or decrypting files -* a panel applet for encrypting / decrypting files or the clipboard - contents, etc. -* key management functions (generation, import, export, deletion and - signing) -* decrypting clipboard contents, including integration with Klipper - -%files -n trinity-kgpg -%defattr(-,root,root,-) -%{tde_bindir}/kgpg -%{tde_tdeappdir}/kgpg.desktop -%{tde_datadir}/apps/kgpg/ -%{tde_datadir}/apps/konqueror/servicemenus/encryptfile.desktop -%{tde_datadir}/apps/konqueror/servicemenus/encryptfolder.desktop -%{tde_datadir}/autostart/kgpg.desktop -%{tde_datadir}/config.kcfg/kgpg.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kgpg.png -%{tde_tdedocdir}/HTML/en/kgpg/ - -%post -n trinity-kgpg -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kgpg -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-khexedit -Summary: Trinity hex editor -Group: Applications/Utilities - -%description -n trinity-khexedit -KHexEdit is an editor for the raw data of binary files. It includes -find/replace functions, bookmarks, many configuration options, drag and drop -support and other powerful features. - -%files -n trinity-khexedit -%defattr(-,root,root,-) -%{tde_bindir}/khexedit -%{tde_tdelibdir}/libkbyteseditwidget.la -%{tde_tdelibdir}/libkbyteseditwidget.so -%{tde_tdelibdir}/libkhexedit2part.la -%{tde_tdelibdir}/libkhexedit2part.so -%{tde_libdir}/libkhexeditcommon.so.* -%{tde_tdeappdir}/khexedit.desktop -%{tde_datadir}/apps/khexedit/ -%{tde_datadir}/apps/khexedit2part/khexedit2partui.rc -%{tde_datadir}/icons/hicolor/*/apps/khexedit.png -%{tde_datadir}/services/kbyteseditwidget.desktop -%{tde_datadir}/services/khexedit2part.desktop -%{tde_tdedocdir}/HTML/en/khexedit/ - -%post -n trinity-khexedit -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-khexedit -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kjots -Summary: note taking utility for Trinity -Group: Applications/Utilities - -%description -n trinity-kjots -Kjots is a small note taker program. Name and idea are taken from the jots -program included in the tkgoodstuff package. - -%files -n trinity-kjots -%defattr(-,root,root,-) -%{tde_bindir}/kjots -%{tde_tdeappdir}/Kjots.desktop -%{tde_datadir}/apps/kjots/ -%{tde_datadir}/config.kcfg/kjots.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kjots.png -%{tde_tdedocdir}/HTML/en/kjots/ - -%post -n trinity-kjots -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kjots -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-klaptopdaemon -Summary: battery monitoring and management for laptops using Trinity -Group: Applications/Utilities -Requires: pm-utils -Requires: usermode - -%description -n trinity-klaptopdaemon -This package contains utilities to monitor batteries and configure -power management, for laptops, from within TDE. - -%files -n trinity-klaptopdaemon -%defattr(-,root,root,-) -%{tde_bindir}/klaptop_acpi_helper -%{tde_bindir}/klaptop_check -%{tde_tdelibdir}/kcm_laptop.la -%{tde_tdelibdir}/kcm_laptop.so -%{tde_tdelibdir}/kded_klaptopdaemon.la -%{tde_tdelibdir}/kded_klaptopdaemon.so -%{tde_libdir}/libkcmlaptop.so.* -%{tde_tdeappdir}/laptop.desktop -%{tde_tdeappdir}/pcmcia.desktop -%{tde_datadir}/apps/klaptopdaemon/ -%{tde_datadir}/icons/crystalsvg/*/apps/laptop_battery.png -%{tde_datadir}/icons/crystalsvg/*/apps/laptop_pcmcia.png -%{tde_datadir}/icons/crystalsvg/scalable/apps/laptop_battery.svgz -%{tde_datadir}/services/kded/klaptopdaemon.desktop -%{tde_tdedocdir}/HTML/en/kcontrol/kcmlowbatcrit/ -%{tde_tdedocdir}/HTML/en/kcontrol/kcmlowbatwarn/ -%{tde_tdedocdir}/HTML/en/kcontrol/laptop/ -%{tde_tdedocdir}/HTML/en/kcontrol/powerctrl/ - -# RHEL/Fedora specific -%{_sysconfdir}/pam.d/klaptop_acpi_helper -%attr(644,root,root) %{_sysconfdir}/security/console.apps/klaptop_acpi_helper -%{tde_sbindir}/klaptop_acpi_helper -%{_sbindir}/klaptop_acpi_helper -%config %{tde_datadir}/config/kcmlaptoprc - -%post -n trinity-klaptopdaemon -/sbin/ldconfig -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-klaptopdaemon -/sbin/ldconfig -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kmilo -Summary: laptop special keys support for Trinity -Group: Applications/Utilities - -%description -n trinity-kmilo -KMilo lets you use the special keys on some keyboards and laptops. - -Usually this includes volume keys and other features. Currently, KMilo -comes with plugins for Powerbooks, Thinkpads, Vaios and generic keyboards -with special keys. - -%files -n trinity-kmilo -%defattr(-,root,root,-) -%{tde_tdelibdir}/kded_kmilod.la -%{tde_tdelibdir}/kded_kmilod.so -%{tde_tdelibdir}/kmilo_generic.la -%{tde_tdelibdir}/kmilo_generic.so -%{tde_libdir}/libkmilo.so.* -%{tde_datadir}/services/kded/kmilod.desktop -%{tde_datadir}/services/kmilo/kmilo_generic.desktop -%{tde_datadir}/servicetypes/kmilo/kmilopluginsvc.desktop - -%post -n trinity-kmilo -/sbin/ldconfig - -%postun -n trinity-kmilo -/sbin/ldconfig - -########## - -%package -n trinity-kmilo-legacy -Summary: non-standard plugins for KMilo -Group: Applications/Utilities -Requires: trinity-kmilo = %{version}-%{release} - -%description -n trinity-kmilo-legacy -KMilo lets you use the special keys on some keyboards and laptops. - -Usually this includes volume keys and other features. Currently, KMilo -comes with plugins for Powerbooks, Thinkpads and Vaios. - -The intention is that all laptops work with the generic kmilo -plugin, if you need this package please file a bug. - -%files -n trinity-kmilo-legacy -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_kvaio.la -%{tde_tdelibdir}/kcm_kvaio.so -%{tde_tdelibdir}/kcm_thinkpad.la -%{tde_tdelibdir}/kcm_thinkpad.so -%{tde_tdelibdir}/kmilo_asus.la -%{tde_tdelibdir}/kmilo_asus.so -%{tde_tdelibdir}/kmilo_delli8k.la -%{tde_tdelibdir}/kmilo_delli8k.so -%{tde_tdelibdir}/kmilo_kvaio.la -%{tde_tdelibdir}/kmilo_kvaio.so -%{tde_tdelibdir}/kmilo_thinkpad.la -%{tde_tdelibdir}/kmilo_thinkpad.so -%{tde_tdeappdir}/kvaio.desktop -%{tde_tdeappdir}/thinkpad.desktop -%{tde_datadir}/services/kmilo/kmilo_asus.desktop -%{tde_datadir}/services/kmilo/kmilo_delli8k.desktop -%{tde_datadir}/services/kmilo/kmilo_kvaio.desktop -%{tde_datadir}/services/kmilo/kmilo_thinkpad.desktop - -########## - -%package -n trinity-kregexpeditor -Summary: graphical regular expression editor plugin for Trinity -Group: Applications/Utilities - -%description -n trinity-kregexpeditor -This package contains a graphical regular expression editor plugin for use -with TDE. It let you draw your regular expression in an unambiguous way. - -%files -n trinity-kregexpeditor -%defattr(-,root,root,-) -%{tde_bindir}/kregexpeditor -%{tde_tdelibdir}/libkregexpeditorgui.la -%{tde_tdelibdir}/libkregexpeditorgui.so -%{tde_libdir}/libkregexpeditorcommon.so.* -%{tde_tdeappdir}/kregexpeditor.desktop -%{tde_datadir}/apps/kregexpeditor/ -%{tde_datadir}/icons/hicolor/*/apps/kregexpeditor.png -%{tde_datadir}/services/kregexpeditorgui.desktop -%{tde_tdedocdir}/HTML/en/KRegExpEditor/ - -%post -n trinity-kregexpeditor -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kregexpeditor -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ksim -Summary: system information monitor for Trinity -Group: Applications/Utilities - -%description -n trinity-ksim -KSim is a system monitor app which has its own plugin system with support -for GKrellm skins. It allows users to follow uptime, memory usage, network -connections, power, etc. - -%files -n trinity-ksim -%defattr(-,root,root,-) -%config %{tde_datadir}/config/ksim_panelextensionrc -%{tde_tdelibdir}/ksim_*.la -%{tde_tdelibdir}/ksim_*.so -%{tde_libdir}/libksimcore.so.* -%{tde_datadir}/apps/kicker/extensions/ksim.desktop -%{tde_datadir}/apps/ksim/ -%{tde_tdedocdir}/HTML/en/ksim/ -%{tde_datadir}/icons/crystalsvg/*/apps/ksim.png -%{tde_datadir}/icons/crystalsvg/*/devices/ksim_cpu.png - -%post -n trinity-ksim -/sbin/ldconfig -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done - -%postun -n trinity-ksim -/sbin/ldconfig -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done - -########## - -%package -n trinity-ktimer -Summary: timer utility for Trinity -Group: Applications/Utilities - -%description -n trinity-ktimer -This is a timer application for TDE. It allows you to execute commands after -a certain amount of time. It supports looping commands as well as delayed -command execution. - -%files -n trinity-ktimer -%defattr(-,root,root,-) -%{tde_bindir}/ktimer -%{tde_tdeappdir}/ktimer.desktop -%{tde_datadir}/icons/hicolor/*/apps/ktimer.png -%{tde_tdedocdir}/HTML/en/ktimer/ - -%post -n trinity-ktimer -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ktimer -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kwalletmanager -Summary: wallet manager for Trinity -Group: Applications/Utilities - -%description -n trinity-kwalletmanager -This program keeps various wallets for any kind of data that the user can -store encrypted with passwords and can also serve as a password manager that -keeps a master password to all wallets. - -%files -n trinity-kwalletmanager -%defattr(-,root,root,-) -%{tde_bindir}/kwalletmanager -%{tde_tdelibdir}/kcm_kwallet.la -%{tde_tdelibdir}/kcm_kwallet.so -%{tde_tdeappdir}/kwalletconfig.desktop -%{tde_tdeappdir}/kwalletmanager.desktop -%{tde_tdeappdir}/kwalletmanager-kwalletd.desktop -%{tde_datadir}/apps/kwalletmanager/ -%{tde_datadir}/icons/hicolor/*/apps/kwalletmanager.png -%{tde_datadir}/services/kwallet_config.desktop -%{tde_datadir}/services/kwalletmanager_show.desktop -%{tde_tdedocdir}/HTML/en/kwallet/ - -%post -n trinity-kwalletmanager -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kwalletmanager -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-superkaramba -Summary: a program based on karamba improving the eyecandy of TDE -Group: Applications/Utilities - -%description -n trinity-superkaramba -SuperKaramba is a tool based on karamba that allows anyone to easily create -and run little interactive widgets on a TDE desktop. Widgets are defined in a -simple text file and can be augmented with Python code to make them -interactive. - -Here are just some examples of the things that can be done: -* Display system information such as CPU Usage, MP3 playing, etc. -* Create cool custom toolbars that work any way imaginable. -* Create little games or virtual pets that live on your desktop. -* Display information from the internet, such as weather and headlines. - -%files -n trinity-superkaramba -%defattr(-,root,root,-) -%{tde_bindir}/superkaramba -%{tde_datadir}/applnk/Utilities/superkaramba.desktop -%{tde_datadir}/apps/superkaramba/superkarambaui.rc -%{tde_datadir}/icons/crystalsvg/*/apps/superkaramba.png -%{tde_datadir}/icons/crystalsvg/*/mimetypes/superkaramba_theme.png -%{tde_datadir}/icons/crystalsvg/scalable/apps/superkaramba.svgz -%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/superkaramba_theme.svgz -%{tde_datadir}/mimelnk/application/x-superkaramba.desktop -%{tde_tdedocdir}/HTML/en/superkaramba/ - -%post -n trinity-superkaramba -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done - -%postun -n trinity-superkaramba -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done - -########## - -# afaik, nobody BR's it, and it pulls kdeutils into multilib -- Rex -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} -Requires: trinity-tdelibs-devel - -Obsoletes: trinity-kdeutils-devel < %{version}-%{release} -Provides: trinity-kdeutils-devel = %{version}-%{release} -Obsoletes: tdeutils-devel < %{version}-%{release} -Provides: tdeutils-devel = %{version}-%{release} - -%description devel -Development files for %{name}. - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/* -%{tde_libdir}/libkcmlaptop.la -%{tde_libdir}/libkcmlaptop.so -%{tde_libdir}/lib[kt]deinit_ark.la -%{tde_libdir}/lib[kt]deinit_irkick.la -%{tde_libdir}/lib[kt]deinit_kcalc.la -%{tde_libdir}/lib[kt]deinit_kedit.la -%{tde_libdir}/libkmilo.la -%{tde_libdir}/libkmilo.so -%{tde_libdir}/libkregexpeditorcommon.la -%{tde_libdir}/libkregexpeditorcommon.so -%{tde_libdir}/libksimcore.la -%{tde_libdir}/libksimcore.so -%{tde_libdir}/libkhexeditcommon.la -%{tde_libdir}/libkhexeditcommon.so - -%post devel -/sbin/ldconfig - -%postun devel -/sbin/ldconfig - -########## - -%prep -%setup -q -n kdeutils - -%patch1 -p1 -b .label -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 -%patch8 -p1 -b .ftbfs - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - -%build -unset QTDIR || : ; source /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --enable-new-ldflags \ - --disable-dependency-tracking \ - --disable-rpath \ - --disable-debug --disable-warnings \ - --enable-final \ - --includedir=%{tde_tdeincludedir} \ - --with-snmp \ -%if 0%{?fedora} - --with-xmms \ -%else - --without-xmms \ -%endif - --with-xscreensaver \ - --with-extra-includes=%{tde_includedir}/tqt \ - --enable-closure - -%__make %{?_smp_mflags} - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{?buildroot} - -# Show only in KDE (really? -- Rex) -for i in kcalc kregexpeditor Kjots ktimer kdf kcmdf ksim KFloppy KEdit \ - KCharSelect ark kwalletmanager kwalletconfig \ - irkick kcmlirc laptop pcmcia kvaio thinkpad kwikdisk; do - if [ -f %{buildroot}%{tde_datadir}/applications/kde/$i.desktop ] ; then - echo "OnlyShowIn=KDE;" >> %{buildroot}%{tde_datadir}/applications/kde/$i.desktop - fi -done - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - pushd $lang_dir/kcontrol - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../../common $i/common - done - popd - fi -done -fi - -# using pam -%__install -p -D -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/pam.d/klaptop_acpi_helper -%__install -p -D -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/security/console.apps/klaptop_acpi_helper - -# Use consolehelper for 'klaptop_acpi_helper' -%__mkdir_p %{buildroot}%{tde_sbindir} %{buildroot}%{_sbindir} -%__mv %{buildroot}%{tde_bindir}/klaptop_acpi_helper %{buildroot}%{tde_sbindir} -%__ln_s %{_bindir}/consolehelper %{buildroot}%{tde_bindir}/klaptop_acpi_helper -%if "%{tde_prefix}" != "/usr" -%__ln_s %{tde_sbindir}/klaptop_acpi_helper %{?buildroot}%{_sbindir}/klaptop_acpi_helper -%endif - -# klaptop setting -%__install -p -D -m 644 %{SOURCE3} %{buildroot}%{tde_datadir}/config/kcmlaptoprc - - -%clean -%__rm -rf %{?buildroot} - - - -%changelog -* Fri Jul 20 2012 Francois Andriot - 3.5.13-7 -- Renames 'tdeutils' to 'trinity-tdeutils' - -* Fri Jun 22 2012 Francois Andriot - 3.5.13-6 -- Split in several packages -- Allow ark embedding [Bug #670] [Commit #2a1d4a67] -- Remove "More Applications" from TDE menu. Add Utility category to KEdit. [Bug #653] [Commit #803f4752] -- [tdeutils] Reorganize KControl menu tree. [Commit #7780bb7b] -- Further organize TDE Menu. [Commit #b970fc42] -- [Ark] Repairs and extensions [Bug #1030] [Commit #1c84948d] - -* Fri Nov 25 2011 Francois Andriot - 3.5.13-5 -- Fix HTML directory location - -* Thu Nov 17 2011 Francois Andriot - 3.5.13-4 -- Fix symbolic link to 'consolehelper' - -* Fri Nov 11 2011 Francois Andriot - 3.5.13-3 -- Removes 'dpkg' commands inside klaptopdaemon - -* Fri Nov 04 2011 Francois Andriot - 3.5.13-2 -- Updates BuildRequires - -* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 -- Initial release for RHEL 6, RHEL 5 and Fedora 15 - -* Mon Sep 05 2011 Francois Andriot - 3.5.13-0 -- Import to GIT - diff --git a/redhat/tdeutils/trinity-tdeutils-3.5.13.2.spec b/redhat/tdeutils/trinity-tdeutils-3.5.13.2.spec deleted file mode 100644 index 56841ee48..000000000 --- a/redhat/tdeutils/trinity-tdeutils-3.5.13.2.spec +++ /dev/null @@ -1,1086 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} -%define tde_sbindir %{tde_prefix}/sbin - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -Name: trinity-tdeutils -Version: 3.5.13.2 -Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} -License: GPL -Summary: TDE Utilities -Group: Applications/System - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz -Source1: klaptop_acpi_helper.pam -Source2: klaptop_acpi_helper.console -Source3: kcmlaptoprc - -Patch1: kdeutils-3.5.13.2-rhel4.patch - -Obsoletes: trinity-kdeutils < %{version}-%{release} -Provides: trinity-kdeutils = %{version}-%{release} -Obsoletes: trinity-kdeutils-extras < %{version}-%{release} -Provides: trinity-kdeutils-extras = %{version}-%{release} -Obsoletes: tdeutils < %{version}-%{release} -Provides: tdeutils = %{version}-%{release} - -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-arts-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} -BuildRequires: autoconf automake libtool m4 -BuildRequires: gettext -BuildRequires: net-snmp-devel -BuildRequires: python-devel -BuildRequires: gmp-devel - -%if 0%{?fedora} >= 5 || 0%{?rhel} >= 5 -BuildRequires: libXScrnSaver-devel -BuildRequires: libXtst-devel -%endif - -#%if 0%{?fedora} -#BuildRequires: xmms-devel -#%endif - -# KLAPTOPDAEMON -# Not for RHEL 4! -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define build_klaptopdaemon 1 -%endif - -# XSCREENSAVER support -# Not for RHEL 4! -%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%define with_xscreensaver 1 -%endif - -# CONSOLEHELPER (usermode) support -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} -%define with_consolehelper 1 - -# Avoids relinking, which breaks consolehelper -%define dont_relink 1 -%endif - - -Requires: trinity-ark = %{version}-%{release} -Requires: trinity-kcalc = %{version}-%{release} -Requires: trinity-kcharselect = %{version}-%{release} -Requires: trinity-kdelirc = %{version}-%{release} -Requires: trinity-kdessh = %{version}-%{release} -Requires: trinity-kdf = %{version}-%{release} -Requires: trinity-kedit = %{version}-%{release} -Requires: trinity-kfloppy = %{version}-%{release} -Requires: trinity-kgpg = %{version}-%{release} -Requires: trinity-khexedit = %{version}-%{release} -Requires: trinity-kjots = %{version}-%{release} -%{?build_klaptopdaemon:Requires: trinity-klaptopdaemon = %{version}-%{release}} -Requires: trinity-kmilo = %{version}-%{release} -Requires: trinity-kmilo-legacy = %{version}-%{release} -Requires: trinity-kregexpeditor = %{version}-%{release} -Requires: trinity-ksim = %{version}-%{release} -Requires: trinity-ktimer = %{version}-%{release} -Requires: trinity-kwalletmanager = %{version}-%{release} -Requires: trinity-superkaramba = %{version}-%{release} - - -%description -Utilities for the Trinity Desktop Environment, including: - * ark (tar/gzip archive manager) - * kcalc (scientific calculator) - * kcharselect (character selector) - * kdepasswd (change password) - * kdessh (ssh front end) - * kdf (view disk usage) - * kedit (simple text editor) - * kfloppy (floppy formatting tool) - * kgpg (gpg gui) - * khexedit (hex editor) - * kjots (note taker) -%if 0%{?build_klaptopdaemon} - * klaptopdaemon (battery monitoring and management for laptops); -%endif - * kmilo - * kregexpeditor (regular expression editor) - * ksim (system information monitor); - * ktimer (task scheduler) - * kwikdisk (removable media utility) - -%files - -########## - -%package -n trinity-ark -Summary: graphical archiving tool for Trinity -Group: Applications/Utilities -#Requires: ncompress -Requires: unzip -Requires: zip -#Requires: zoo -Requires: bzip2 -#Requires: p7zip -#Requires: xz -#Requires: lzma -#Requires: rar, unrar - -%description -n trinity-ark -Ark is a graphical program for managing various archive formats within the -TDE environment. Archives can be viewed, extracted, created and modified -from within Ark. - -The program can handle various formats such as tar, gzip, bzip2, zip, rar and -lha (if appropriate command-line programs are installed). - -Ark can work closely with Konqueror in the KDE environment to handle archives, -if you install the Konqueror Integration plugin available in the konq-plugins -package. - -%files -n trinity-ark -%defattr(-,root,root,-) -%{tde_bindir}/ark -%{tde_tdelibdir}/ark.la -%{tde_tdelibdir}/ark.so -%{tde_tdelibdir}/libarkpart.la -%{tde_tdelibdir}/libarkpart.so -%{tde_libdir}/lib[kt]deinit_ark.so -%{tde_tdeappdir}/ark.desktop -%{tde_datadir}/apps/ark/ -%{tde_datadir}/config.kcfg/ark.kcfg -%{tde_datadir}/icons/hicolor/*/apps/ark.png -%{tde_datadir}/icons/hicolor/scalable/apps/ark.svgz -%{tde_datadir}/services/ark_part.desktop -%{tde_tdedocdir}/HTML/en/ark/ - -%post -n trinity-ark -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ark -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kcalc -Summary: calculator for Trinity -Group: Applications/Utilities - -%description -n trinity-kcalc -KCalc is TDE's scientific calculator. - -It provides: -* trigonometric functions, logic operations, and statistical calculations -* easy cut and paste of numbers from/into its display -* a results-stack which lets you conveniently recall previous results -* configurable precision, and number of digits after the period - -%files -n trinity-kcalc -%defattr(-,root,root,-) -%{tde_bindir}/kcalc -%{tde_tdelibdir}/kcalc.la -%{tde_tdelibdir}/kcalc.so -%{tde_libdir}/lib[kt]deinit_kcalc.so -%{tde_tdeappdir}/kcalc.desktop -%{tde_datadir}/apps/kcalc/ -%{tde_datadir}/apps/kconf_update/kcalcrc.upd -%{tde_datadir}/config.kcfg/kcalc.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kcalc.png -%{tde_datadir}/icons/hicolor/scalable/apps/kcalc.svgz -%{tde_tdedocdir}/HTML/en/kcalc/ - -%post -n trinity-kcalc -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kcalc -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kcharselect -Summary: character selector for Trinity -Group: Applications/Utilities - -%description -n trinity-kcharselect -A character set selector for TDE. - -%files -n trinity-kcharselect -%defattr(-,root,root,-) -%{tde_bindir}/kcharselect -%{tde_tdelibdir}/kcharselect_panelapplet.la -%{tde_tdelibdir}/kcharselect_panelapplet.so -%{tde_tdeappdir}/KCharSelect.desktop -%{tde_datadir}/apps/kcharselect/ -%{tde_datadir}/apps/kconf_update/kcharselect.upd -%{tde_datadir}/apps/kicker/applets/kcharselectapplet.desktop -%{tde_datadir}/icons/hicolor/*/apps/kcharselect.png -%{tde_tdedocdir}/HTML/en/kcharselect/ - -%post -n trinity-kcharselect -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kcharselect -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kdelirc -Summary: infrared control for Trinity -Group: Applications/Utilities - -%description -n trinity-kdelirc -This is a frontend for the LIRC suite to use infrared devices with TDE. - -%files -n trinity-kdelirc -%defattr(-,root,root,-) -%{tde_bindir}/irkick -%{tde_tdelibdir}/irkick.la -%{tde_tdelibdir}/irkick.so -%{tde_tdelibdir}/kcm_kcmlirc.la -%{tde_tdelibdir}/kcm_kcmlirc.so -%{tde_libdir}/lib[kt]deinit_irkick.so -%{tde_tdeappdir}/irkick.desktop -%{tde_tdeappdir}/kcmlirc.desktop -%{tde_datadir}/apps/irkick/ -%{tde_datadir}/apps/profiles/klauncher.profile.xml -%{tde_datadir}/apps/profiles/konqueror.profile.xml -%{tde_datadir}/apps/profiles/noatun.profile.xml -%{tde_datadir}/apps/profiles/profile.dtd -%{tde_datadir}/apps/remotes/RM-0010.remote.xml -%{tde_datadir}/apps/remotes/cimr100.remote.xml -%{tde_datadir}/apps/remotes/hauppauge.remote.xml -%{tde_datadir}/apps/remotes/remote.dtd -%{tde_datadir}/apps/remotes/sherwood.remote.xml -%{tde_datadir}/apps/remotes/sonytv.remote.xml -%{tde_datadir}/autostart/irkick.desktop -%{tde_datadir}/icons/hicolor/*/apps/irkick.png -%{tde_datadir}/icons/locolor/*/apps/irkick.png -%{tde_tdedocdir}/HTML/en/irkick/ -%{tde_tdedocdir}/HTML/en/kcmlirc/ - -%post -n trinity-kdelirc -/sbin/ldconfig -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kdelirc -/sbin/ldconfig -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kdessh -Summary: ssh frontend for Trinity -Group: Applications/Utilities -%if 0%{?suse_version} -Requires: openssh -%else -Requires: openssh-clients -%endif - -%description -n trinity-kdessh -This package contains TDE's frontend for ssh. - -%files -n trinity-kdessh -%defattr(-,root,root,-) -%{tde_bindir}/kdessh - -########## - -%package -n trinity-kdf -Summary: disk space utility for Trinity -Group: Applications/Utilities - -%description -n trinity-kdf -KDiskFree displays the available file devices (hard drive partitions, floppy -and CD drives, etc.) along with information on their capacity, free space, type -and mount point. It also allows you to mount and unmount drives and view them -in a file manager. - -%files -n trinity-kdf -%defattr(-,root,root,-) -%{tde_bindir}/kdf -%{tde_bindir}/kwikdisk -%{tde_tdelibdir}/kcm_kdf.la -%{tde_tdelibdir}/kcm_kdf.so -%{tde_tdeappdir}/kcmdf.desktop -%{tde_tdeappdir}/kdf.desktop -%{tde_tdeappdir}/kwikdisk.desktop -%{tde_datadir}/apps/kdf/ -%{tde_datadir}/icons/crystalsvg/*/apps/kcmdf.png -%{tde_datadir}/icons/hicolor/*/apps/kdf.png -%{tde_datadir}/icons/hicolor/*/apps/kwikdisk.png -%{tde_tdedocdir}/HTML/en/kdf/ -%{tde_tdedocdir}/HTML/en/kinfocenter/blockdevices/ - -%post -n trinity-kdf -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kdf -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kedit -Summary: basic text editor for Trinity -Group: Applications/Utilities - -%description -n trinity-kedit -A simple text editor for TDE. - -It can be used with Konqueror for text and configuration file browsing. -KEdit also serves well for creating small plain text documents. KEdit's -functionality will intentionally remain rather limited to ensure a -reasonably fast start. - -%files -n trinity-kedit -%defattr(-,root,root,-) -%{tde_bindir}/kedit -%{tde_tdelibdir}/kedit.la -%{tde_tdelibdir}/kedit.so -%{tde_libdir}/lib[kt]deinit_kedit.so -%{tde_tdeappdir}/KEdit.desktop -%{tde_datadir}/apps/kedit/keditui.rc -%{tde_datadir}/config.kcfg/kedit.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kedit.png -%{tde_tdedocdir}/HTML/en/kedit/ - -%post -n trinity-kedit -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kedit -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kfloppy -Summary: floppy formatter for Trinity -Group: Applications/Utilities -Requires: dosfstools - -%description -n trinity-kfloppy -Kfloppy is a utility that provides a straightforward graphical means -to format 3.5" and 5.25" floppy disks. - -%files -n trinity-kfloppy -%defattr(-,root,root,-) -%{tde_bindir}/kfloppy -%{tde_tdeappdir}/KFloppy.desktop -%{tde_datadir}/apps/konqueror/servicemenus/floppy_format.desktop -%{tde_datadir}/icons/hicolor/*/apps/kfloppy.png -%{tde_tdedocdir}/HTML/en/kfloppy/ - -%post -n trinity-kfloppy -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kfloppy -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kgpg -Summary: GnuPG frontend for Trinity -Group: Applications/Utilities -Requires: trinity-konsole -Requires: gnupg - -%description -n trinity-kgpg -Kgpg is a frontend for GNU Privacy Guard (GnuPG). It provides file -encryption, file decryption and key management. - -Features: -* an editor mode for easily and quickly encrypting or decrypting a file - or message which is typed, copied, pasted or dragged into the editor, - or which is double-clicked in the file manager -* Konqueror integration for encrypting or decrypting files -* a panel applet for encrypting / decrypting files or the clipboard - contents, etc. -* key management functions (generation, import, export, deletion and - signing) -* decrypting clipboard contents, including integration with Klipper - -%files -n trinity-kgpg -%defattr(-,root,root,-) -%{tde_bindir}/kgpg -%{tde_tdeappdir}/kgpg.desktop -%{tde_datadir}/apps/kgpg/ -%{tde_datadir}/apps/konqueror/servicemenus/encryptfile.desktop -%{tde_datadir}/apps/konqueror/servicemenus/encryptfolder.desktop -%{tde_datadir}/autostart/kgpg.desktop -%{tde_datadir}/config.kcfg/kgpg.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kgpg.png -%{tde_tdedocdir}/HTML/en/kgpg/ - -%post -n trinity-kgpg -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kgpg -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-khexedit -Summary: Trinity hex editor -Group: Applications/Utilities - -%description -n trinity-khexedit -KHexEdit is an editor for the raw data of binary files. It includes -find/replace functions, bookmarks, many configuration options, drag and drop -support and other powerful features. - -%files -n trinity-khexedit -%defattr(-,root,root,-) -%{tde_bindir}/khexedit -%{tde_tdelibdir}/libkbyteseditwidget.la -%{tde_tdelibdir}/libkbyteseditwidget.so -%{tde_tdelibdir}/libkhexedit2part.la -%{tde_tdelibdir}/libkhexedit2part.so -%{tde_libdir}/libkhexeditcommon.so.* -%{tde_tdeappdir}/khexedit.desktop -%{tde_datadir}/apps/khexedit/ -%{tde_datadir}/apps/khexedit2part/khexedit2partui.rc -%{tde_datadir}/icons/hicolor/*/apps/khexedit.png -%{tde_datadir}/services/kbyteseditwidget.desktop -%{tde_datadir}/services/khexedit2part.desktop -%{tde_tdedocdir}/HTML/en/khexedit/ - -%post -n trinity-khexedit -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-khexedit -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kjots -Summary: note taking utility for Trinity -Group: Applications/Utilities - -%description -n trinity-kjots -Kjots is a small note taker program. Name and idea are taken from the jots -program included in the tkgoodstuff package. - -%files -n trinity-kjots -%defattr(-,root,root,-) -%{tde_bindir}/kjots -%{tde_tdeappdir}/Kjots.desktop -%{tde_datadir}/apps/kjots/ -%{tde_datadir}/config.kcfg/kjots.kcfg -%{tde_datadir}/icons/hicolor/*/apps/kjots.png -%{tde_tdedocdir}/HTML/en/kjots/ - -%post -n trinity-kjots -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kjots -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%if 0%{?build_klaptopdaemon} - -%package -n trinity-klaptopdaemon -Summary: battery monitoring and management for laptops using Trinity -Group: Applications/Utilities -Requires: pm-utils - -%if 0%{?with_consolehelper} -# package 'usermode' provides '/usr/bin/consolehelper-gtk' -%if 0%{?rhel} || 0%{?fedora} -Requires: usermode-gtk -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -Requires: usermode -%endif -%endif - -%description -n trinity-klaptopdaemon -This package contains utilities to monitor batteries and configure -power management, for laptops, from within TDE. - -%files -n trinity-klaptopdaemon -%defattr(-,root,root,-) -%{tde_bindir}/klaptop_acpi_helper -%{tde_bindir}/klaptop_check -%{tde_tdelibdir}/kcm_laptop.la -%{tde_tdelibdir}/kcm_laptop.so -%{tde_tdelibdir}/kded_klaptopdaemon.la -%{tde_tdelibdir}/kded_klaptopdaemon.so -%{tde_libdir}/libkcmlaptop.so.* -%{tde_tdeappdir}/laptop.desktop -%{tde_tdeappdir}/pcmcia.desktop -%{tde_datadir}/apps/klaptopdaemon/ -%{tde_datadir}/icons/crystalsvg/*/apps/laptop_battery.png -%{tde_datadir}/icons/crystalsvg/*/apps/laptop_pcmcia.png -%{tde_datadir}/icons/crystalsvg/scalable/apps/laptop_battery.svgz -%{tde_datadir}/services/kded/klaptopdaemon.desktop -%{tde_tdedocdir}/HTML/en/kcontrol/kcmlowbatcrit/ -%{tde_tdedocdir}/HTML/en/kcontrol/kcmlowbatwarn/ -%{tde_tdedocdir}/HTML/en/kcontrol/laptop/ -%{tde_tdedocdir}/HTML/en/kcontrol/powerctrl/ - -# ConsoleHelper support -%if 0%{?with_consolehelper} -%{_sysconfdir}/pam.d/klaptop_acpi_helper -%attr(644,root,root) %{_sysconfdir}/security/console.apps/klaptop_acpi_helper -%{tde_sbindir}/klaptop_acpi_helper -%{_sbindir}/klaptop_acpi_helper -%endif - -%config %{tde_datadir}/config/kcmlaptoprc - -%post -n trinity-klaptopdaemon -/sbin/ldconfig -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-klaptopdaemon -/sbin/ldconfig -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%endif - -########## - -%package -n trinity-kmilo -Summary: laptop special keys support for Trinity -Group: Applications/Utilities - -%description -n trinity-kmilo -KMilo lets you use the special keys on some keyboards and laptops. - -Usually this includes volume keys and other features. Currently, KMilo -comes with plugins for Powerbooks, Thinkpads, Vaios and generic keyboards -with special keys. - -%files -n trinity-kmilo -%defattr(-,root,root,-) -%{tde_tdelibdir}/kded_kmilod.la -%{tde_tdelibdir}/kded_kmilod.so -%{tde_tdelibdir}/kmilo_generic.la -%{tde_tdelibdir}/kmilo_generic.so -%{tde_libdir}/libkmilo.so.* -%{tde_datadir}/services/kded/kmilod.desktop -%{tde_datadir}/services/kmilo/kmilo_generic.desktop -%{tde_datadir}/servicetypes/kmilo/kmilopluginsvc.desktop - -%post -n trinity-kmilo -/sbin/ldconfig - -%postun -n trinity-kmilo -/sbin/ldconfig - -########## - -%package -n trinity-kmilo-legacy -Summary: non-standard plugins for KMilo -Group: Applications/Utilities -Requires: trinity-kmilo = %{version}-%{release} - -%description -n trinity-kmilo-legacy -KMilo lets you use the special keys on some keyboards and laptops. - -Usually this includes volume keys and other features. Currently, KMilo -comes with plugins for Powerbooks, Thinkpads and Vaios. - -The intention is that all laptops work with the generic kmilo -plugin, if you need this package please file a bug. - -%files -n trinity-kmilo-legacy -%defattr(-,root,root,-) -%{tde_tdelibdir}/kcm_kvaio.la -%{tde_tdelibdir}/kcm_kvaio.so -%{tde_tdelibdir}/kcm_thinkpad.la -%{tde_tdelibdir}/kcm_thinkpad.so -%{tde_tdelibdir}/kmilo_asus.la -%{tde_tdelibdir}/kmilo_asus.so -%{tde_tdelibdir}/kmilo_delli8k.la -%{tde_tdelibdir}/kmilo_delli8k.so -%{tde_tdelibdir}/kmilo_kvaio.la -%{tde_tdelibdir}/kmilo_kvaio.so -%{tde_tdelibdir}/kmilo_thinkpad.la -%{tde_tdelibdir}/kmilo_thinkpad.so -%{tde_tdeappdir}/kvaio.desktop -%{tde_tdeappdir}/thinkpad.desktop -%{tde_datadir}/services/kmilo/kmilo_asus.desktop -%{tde_datadir}/services/kmilo/kmilo_delli8k.desktop -%{tde_datadir}/services/kmilo/kmilo_kvaio.desktop -%{tde_datadir}/services/kmilo/kmilo_thinkpad.desktop - -########## - -%package -n trinity-kregexpeditor -Summary: graphical regular expression editor plugin for Trinity -Group: Applications/Utilities - -%description -n trinity-kregexpeditor -This package contains a graphical regular expression editor plugin for use -with TDE. It let you draw your regular expression in an unambiguous way. - -%files -n trinity-kregexpeditor -%defattr(-,root,root,-) -%{tde_bindir}/kregexpeditor -%{tde_tdelibdir}/libkregexpeditorgui.la -%{tde_tdelibdir}/libkregexpeditorgui.so -%{tde_libdir}/libkregexpeditorcommon.so.* -%{tde_tdeappdir}/kregexpeditor.desktop -%{tde_datadir}/apps/kregexpeditor/ -%{tde_datadir}/icons/hicolor/*/apps/kregexpeditor.png -%{tde_datadir}/services/kregexpeditorgui.desktop -%{tde_tdedocdir}/HTML/en/KRegExpEditor/ - -%post -n trinity-kregexpeditor -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kregexpeditor -/sbin/ldconfig -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-ksim -Summary: system information monitor for Trinity -Group: Applications/Utilities - -%description -n trinity-ksim -KSim is a system monitor app which has its own plugin system with support -for GKrellm skins. It allows users to follow uptime, memory usage, network -connections, power, etc. - -%files -n trinity-ksim -%defattr(-,root,root,-) -%config %{tde_datadir}/config/ksim_panelextensionrc -%{tde_tdelibdir}/ksim_*.la -%{tde_tdelibdir}/ksim_*.so -%{tde_libdir}/libksimcore.so.* -%{tde_datadir}/apps/kicker/extensions/ksim.desktop -%{tde_datadir}/apps/ksim/ -%{tde_tdedocdir}/HTML/en/ksim/ -%{tde_datadir}/icons/crystalsvg/*/apps/ksim.png -%{tde_datadir}/icons/crystalsvg/*/devices/ksim_cpu.png - -%post -n trinity-ksim -/sbin/ldconfig -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done - -%postun -n trinity-ksim -/sbin/ldconfig -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done - -########## - -%package -n trinity-ktimer -Summary: timer utility for Trinity -Group: Applications/Utilities - -%description -n trinity-ktimer -This is a timer application for TDE. It allows you to execute commands after -a certain amount of time. It supports looping commands as well as delayed -command execution. - -%files -n trinity-ktimer -%defattr(-,root,root,-) -%{tde_bindir}/ktimer -%{tde_tdeappdir}/ktimer.desktop -%{tde_datadir}/icons/hicolor/*/apps/ktimer.png -%{tde_tdedocdir}/HTML/en/ktimer/ - -%post -n trinity-ktimer -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-ktimer -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kwalletmanager -Summary: wallet manager for Trinity -Group: Applications/Utilities - -%description -n trinity-kwalletmanager -This program keeps various wallets for any kind of data that the user can -store encrypted with passwords and can also serve as a password manager that -keeps a master password to all wallets. - -%files -n trinity-kwalletmanager -%defattr(-,root,root,-) -%{tde_bindir}/kwalletmanager -%{tde_tdelibdir}/kcm_kwallet.la -%{tde_tdelibdir}/kcm_kwallet.so -%{tde_tdeappdir}/kwalletconfig.desktop -%{tde_tdeappdir}/kwalletmanager.desktop -%{tde_tdeappdir}/kwalletmanager-kwalletd.desktop -%{tde_datadir}/apps/kwalletmanager/ -%{tde_datadir}/icons/hicolor/*/apps/kwalletmanager.png -%{tde_datadir}/services/kwallet_config.desktop -%{tde_datadir}/services/kwalletmanager_show.desktop -%{tde_tdedocdir}/HTML/en/kwallet/ - -%post -n trinity-kwalletmanager -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kwalletmanager -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-superkaramba -Summary: a program based on karamba improving the eyecandy of TDE -Group: Applications/Utilities - -%description -n trinity-superkaramba -SuperKaramba is a tool based on karamba that allows anyone to easily create -and run little interactive widgets on a TDE desktop. Widgets are defined in a -simple text file and can be augmented with Python code to make them -interactive. - -Here are just some examples of the things that can be done: -* Display system information such as CPU Usage, MP3 playing, etc. -* Create cool custom toolbars that work any way imaginable. -* Create little games or virtual pets that live on your desktop. -* Display information from the internet, such as weather and headlines. - -%files -n trinity-superkaramba -%defattr(-,root,root,-) -%{tde_bindir}/superkaramba -%{tde_datadir}/applnk/Utilities/superkaramba.desktop -%{tde_datadir}/apps/superkaramba/superkarambaui.rc -%{tde_datadir}/icons/crystalsvg/*/apps/superkaramba.png -%{tde_datadir}/icons/crystalsvg/*/mimetypes/superkaramba_theme.png -%{tde_datadir}/icons/crystalsvg/scalable/apps/superkaramba.svgz -%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/superkaramba_theme.svgz -%{tde_datadir}/mimelnk/application/x-superkaramba.desktop -%{tde_tdedocdir}/HTML/en/superkaramba/ - -%post -n trinity-superkaramba -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done - -%postun -n trinity-superkaramba -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done - -########## - -# afaik, nobody BR's it, and it pulls kdeutils into multilib -- Rex -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} -Requires: trinity-tdelibs-devel - -Obsoletes: trinity-kdeutils-devel < %{version}-%{release} -Provides: trinity-kdeutils-devel = %{version}-%{release} -Obsoletes: tdeutils-devel < %{version}-%{release} -Provides: tdeutils-devel = %{version}-%{release} - -%description devel -Development files for %{name}. - -%files devel -%defattr(-,root,root,-) -%{tde_tdeincludedir}/* -%if 0%{?build_klaptopdaemon} -%{tde_libdir}/libkcmlaptop.la -%{tde_libdir}/libkcmlaptop.so -%endif -%{tde_libdir}/lib[kt]deinit_ark.la -%{tde_libdir}/lib[kt]deinit_irkick.la -%{tde_libdir}/lib[kt]deinit_kcalc.la -%{tde_libdir}/lib[kt]deinit_kedit.la -%{tde_libdir}/libkmilo.la -%{tde_libdir}/libkmilo.so -%{tde_libdir}/libkregexpeditorcommon.la -%{tde_libdir}/libkregexpeditorcommon.so -%{tde_libdir}/libksimcore.la -%{tde_libdir}/libksimcore.so -%{tde_libdir}/libkhexeditcommon.la -%{tde_libdir}/libkhexeditcommon.so -%{tde_datadir}/cmake/libksimcore.cmake - -%post devel -/sbin/ldconfig - -%postun devel -/sbin/ldconfig - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} -%if 0%{?rhel} == 4 -%patch1 -p1 -b .rhel4 -%endif - - -%build -unset QTDIR || : ; source /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" - -# Do not build against any "/usr" installed KDE -export KDEDIR="%{tde_prefix}" - -# Shitty hack for RHEL4 ... -if [ -d "/usr/X11R6" ]; then - export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/X11R6/include:/usr/X11R6/%{_lib}" - export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \ - -DBIN_INSTALL_DIR="%{tde_bindir}" \ - -DDOC_INSTALL_DIR="%{tde_docdir}" \ - -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \ - -DLIB_INSTALL_DIR="%{tde_libdir}" \ - -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \ - -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \ - -DCMAKE_SKIP_RPATH=OFF \ - -DWITH_DPMS=ON \ - %{?with_xscreensaver:-DWITH_XSCREENSAVER=ON} \ - -DWITH_ASUS=ON \ - -DWITH_POWERBOOK=OFF \ - -DWITH_POWERBOOK2=OFF \ - -DWITH_VAIO=ON \ - -DWITH_THINKPAD=ON \ - -DWITH_I8K=ON \ - -DWITH_SNMP=ON \ - -DWITH_SENSORS=ON \ - -DWITH_XMMS=ON \ - -DWITH_KNEWSTUFF=ON \ - -DBUILD_ALL=ON \ - %{?!build_klaptopdaemon:-DBUILD_KLAPTOPDAEMON=OFF} \ - .. - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{?buildroot} -C build - - -## File lists -# HTML (1.0) -HTML_DIR=$(kde-config --expandvars --install html) -if [ -d %{buildroot}$HTML_DIR ]; then -for lang_dir in %{buildroot}$HTML_DIR/* ; do - if [ -d $lang_dir ]; then - lang=$(basename $lang_dir) - echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang - # replace absolute symlinks with relative ones - pushd $lang_dir - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common - done - popd - pushd $lang_dir/kcontrol - for i in *; do - [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../../common $i/common - done - popd - fi -done -fi - - -%if 0%{?build_klaptopdaemon} -### Use consolehelper for 'klaptop_acpi_helper' -%if 0%{?with_consolehelper} -# Install configuration files -%__install -p -D -m 644 "%{SOURCE1}" "%{buildroot}%{_sysconfdir}/pam.d/klaptop_acpi_helper" -%__install -p -D -m 644 "%{SOURCE2}" "%{buildroot}%{_sysconfdir}/security/console.apps/klaptop_acpi_helper" -# Moves the actual binary from 'bin' to 'sbin' -%__mkdir_p "%{buildroot}%{tde_sbindir}" "%{buildroot}%{_sbindir}" -%__mv "%{buildroot}%{tde_bindir}/klaptop_acpi_helper" "%{buildroot}%{tde_sbindir}" -# Links to consolehelper -%__ln_s "%{_bindir}/consolehelper" "%{buildroot}%{tde_bindir}/klaptop_acpi_helper" -# Put another symlink under '/usr', otherwise consolehelper does not work -%if "%{tde_prefix}" != "/usr" -%__ln_s "%{tde_sbindir}/klaptop_acpi_helper" "%{?buildroot}%{_sbindir}/klaptop_acpi_helper" -%endif -%endif - -# klaptop settings file -%__install -p -D -m 644 "%{SOURCE3}" "%{buildroot}%{tde_datadir}/config/kcmlaptoprc" - -%else - -# Klaptop's documentation is installed even if we did not build it ... -%__rm -fr %{?buildroot}%{tde_tdedocdir}/HTML/en/kcontrol/kcmlowbatcrit/ -%__rm -fr %{?buildroot}%{tde_tdedocdir}/HTML/en/kcontrol/kcmlowbatwarn/ -%__rm -fr %{?buildroot}%{tde_tdedocdir}/HTML/en/kcontrol/laptop/ -%__rm -fr %{?buildroot}%{tde_tdedocdir}/HTML/en/kcontrol/powerctrl/ - -%endif - - -%clean -%__rm -rf "%{?buildroot}" - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 -- Initial release for TDE 3.5.13.2 diff --git a/redhat/tdevelop/kdevelop-3.5.12.spec b/redhat/tdevelop/kdevelop-3.5.12.spec new file mode 100644 index 000000000..de36a42ff --- /dev/null +++ b/redhat/tdevelop/kdevelop-3.5.12.spec @@ -0,0 +1,254 @@ +# Default version for this component +%if "%{?version}" == "" +%define version 3.5.12 +%endif +%define release 2 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_prefix}/share/doc +%endif + +# TDE 3.5.12 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir} +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/kde3 + +%define _default_patch_fuzz 2 +%define qt_version 3.3.8b +%define qt_ver %{qt_version} + +Name: trinity-kdevelop +Summary: Integrated Development Environment for C++/C +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} + + +License: GPLv2 +Group: Development/Tools + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source: kdevelop-%{version}.tar.gz +Source1: ftp://129.187.206.68/pub/unix/ide/KDevelop/c_cpp_reference-2.0.2_for_KDE_3.0.tar.bz2 + +# RedHat Legacy patches +Patch1: c_cpp_reference-2.0.2-config.patch +#Patch2: kdevelop-2.1.5_for_KDE_3.1-doc.patch +# improved integration for the KDE 4 template - no special KDE 4 build environment needed in Fedora +Patch4: kdevelop-3.5.2-kde4template.patch + +#upstream patches + +Provides: kdevelop3 = %{version}-%{release} + +Requires: %{name}-libs = %{version}-%{release} + + +Requires: trinity-kdelibs-devel +Requires: make +Requires: perl +Requires: flex >= 2.5.4 +Requires: qt3-designer +Requires: gettext +Requires: ctags + +BuildRequires: tqtinterface-devel +BuildRequires: trinity-arts-devel +BuildRequires: trinity-kdelibs-devel +BuildRequires: trinity-kdelibs-apidocs +BuildRequires: qt3-devel-docs +BuildRequires: db4-devel +BuildRequires: flex +BuildRequires: pcre-devel +BuildRequires: libacl-devel libattr-devel libidn-devel libart_lgpl-devel +BuildRequires: gcc-c++ +# FIXME: No CVS support in KDevelop? This is going to suck... +# Requires kdesdk3. +BuildRequires: trinity-kdesdk-devel +BuildRequires: subversion-devel neon-devel +# looks like this is dragged in by apr-devel (dep of subversion-devel), but not +# a dependency +BuildRequires: openldap-devel +%if 0%{?fedora} >= 15 +BuildRequires: flex-static +%endif + +%description +The KDevelop Integrated Development Environment provides many features +that developers need as well as providing a unified interface to programs +like gdb, the C/C++ compiler, and make. KDevelop manages or provides: + +All development tools needed for C++ programming like Compiler, +Linker, automake and autoconf; KAppWizard, which generates complete, +ready-to-go sample applications; Classgenerator, for creating new +classes and integrating them into the current project; File management +for sources, headers, documentation etc. to be included in the +project; The creation of User-Handbooks written with SGML and the +automatic generation of HTML-output with the KDE look and feel; +Automatic HTML-based API-documentation for your project's classes with +cross-references to the used libraries; Internationalization support +for your application, allowing translators to easily add their target +language to a project; + +KDevelop also includes WYSIWYG (What you see is what you get)-creation +of user interfaces with a built-in dialog editor; Debugging your +application by integrating KDbg; Editing of project-specific pixmaps +with KIconEdit; The inclusion of any other program you need for +development by adding it to the "Tools"-menu according to your +individual needs. + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Provides: kdevelop3-devel = %{version}-%{release} +Requires: %{name}-libs = %{version}-%{release} +Requires: trinity-kdelibs-devel +%description devel +%{summary}. + +%package libs +Summary: %{name} runtime libraries +Group: System Environment/Libraries +Requires: trinity-kdelibs +# helps multilib upgrades +Obsoletes: %{name} < %{version}-%{release} +# include to be paranoid, installing libs-only is still mostly untested -- Rex +Requires: %{name} = %{version}-%{release} +%description libs +%{summary}. + + + +%prep +%setup -q -n kdevelop -a1 +%patch1 -p0 -b .config +#patch2 -p1 -b .doc +#patch4 -p1 -b .kde4template + +%__rm -rf c_cpp_reference-2.0.2_for_KDE_3.0/admin +%__cp -a admin c_cpp_reference-2.0.2_for_KDE_3.0/ +%__make -C c_cpp_reference-2.0.2_for_KDE_3.0 -f admin/Makefile.common cvs + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +# Fix KDE detection fail in "./configure" because tqt.h cannot be found +export CXXFLAGS="${CXXFLAGS} -I%{_includedir}/tqt" + +%if 0%{?fedora} >= 15 +export CXXFLAGS="${CXXFLAGS} -fpermissive" +%endif + +# c references +pushd c_cpp_reference-2.0.2_for_KDE_3.0 +%configure \ + --with-qt-libraries=$QTDIR/lib \ + --with-qt-includes=$QTDIR/include \ + --with-extra-libs=%{_libdir} \ + --with-extra-includes=%{_includedir}/tqt +popd + +%configure \ + --enable-new-ldflags \ + --disable-dependency-tracking \ + --disable-rpath \ + --disable-debug \ + --disable-warnings \ + --enable-final \ + --with-qtdoc-dir=%{_docdir}/qt-devel-%{qt_ver}/html/ \ + --with-kdelibsdoc-dir=%{tde_docdir}/HTML/en/kdelibs-apidocs/ \ + --with-extra-libs=%{_libdir} \ + --with-extra-includes=%{_includedir}/tqt + + +# parallel make disabled because otherwise main.cpp can get built before +# profileeditorbase.h is fully generated +%__make +%__make %{?_smp_mflags} -C c_cpp_reference-2.0.2_for_KDE_3.0 + + +%install +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} +%__make install DESTDIR=%{buildroot} -C c_cpp_reference-2.0.2_for_KDE_3.0 + +# remove useless files +%__rm -rf %{buildroot}%{_prefix}/kdevbdb + + +%post +for f in hicolor locolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun +for f in hicolor locolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%post libs +/sbin/ldconfig + +%postun libs +/sbin/ldconfig + + +%clean +%__rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%{tde_docdir}/HTML/en/* +%{_bindir}/* +%{tde_libdir}/* +%{_libdir}/kconf_update_bin/* +%{_datadir}/applications/kde/* +%{_datadir}/apps/* +%{_datadir}/config/* +%{_datadir}/desktop-directories/* +%{_datadir}/icons/hicolor/*/*/* +%{_datadir}/icons/locolor/*/*/* +%{_datadir}/mimelnk/application/* +%{_datadir}/mimelnk/text/* +%{_datadir}/services/* +%{_datadir}/servicetypes/* + +%files libs +%defattr(-,root,root,-) +%{_libdir}/lib*.so.* +%{_libdir}/lib*.la + +%files devel +%defattr(-,root,root,-) +%{_libdir}/lib*.so +%{_includedir}/* + + +%changelog +* Mon Sep 19 2011 Francois Andriot - 3.5.12-2 +- Add support for RHEL5 + +* Sun Sep 11 2011 Francois Andriot - 3.5.12-1 +- Initial build for RHEL 6 +- Spec file based on Fedora 8 "kdeedu-3.5.3-1" +- Import to GIT diff --git a/redhat/tdevelop/kdevelop-3.5.13.1.spec b/redhat/tdevelop/kdevelop-3.5.13.1.spec new file mode 100644 index 000000000..2a8d59cc2 --- /dev/null +++ b/redhat/tdevelop/kdevelop-3.5.13.1.spec @@ -0,0 +1,636 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +Name: trinity-tdevelop +Summary: Integrated Development Environment for C++/C +Version: 3.5.13.1 +Release: 1%{?dist}%{?_variant} + +License: GPLv2 +Group: Development/Tools + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source: kdevelop-3.5.13.1.tar.gz +Source1: ftp://129.187.206.68/pub/unix/ide/KDevelop/c_cpp_reference-2.0.2_for_KDE_3.0.tar.bz2 + +# [c_cpp_ref] Fix library directories detection +Patch1: c_cpp_reference-2.0.2-config.patch + +# [kdevelop] fix FTBFS +Patch2: kdevelop-3.5.13-kdevdesigner-ftbfs.patch + +# [c_cpp_ref] Fix installation of 'asm' files +Patch4: c_cpp_reference-2.0.2-install.patch + +Requires: %{name}-libs = %{version}-%{release} + + +Requires: make +Requires: perl +Requires: flex >= 2.5.4 +%if 0%{?rhel} || 0%{?fedora} +Requires: qt3-designer +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +Requires: %{_lib}qt3-devel +%endif +%if 0%{?suse_version} +Requires: qt3-devel +%endif +Requires: gettext +Requires: ctags + +BuildRequires: cmake >= 2.8 +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: trinity-tdesdk-devel >= %{version} +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: db4-devel +%endif +BuildRequires: flex +# FIXME: No CVS support in KDevelop? This is going to suck... +# Requires kdesdk3. +BuildRequires: subversion-devel +BuildRequires: neon-devel +# looks like this is dragged in by apr-devel (dep of subversion-devel), but not +# a dependency +%if 0%{?suse_version} +BuildRequires: openldap2-devel +%else +BuildRequires: openldap-devel +%endif + +Obsoletes: trinity-kdevelop < %{version}-%{release} +Provides: trinity-kdevelop = %{version}-%{release} + +%description +The TDevelop Integrated Development Environment provides many features +that developers need as well as providing a unified interface to programs +like gdb, the C/C++ compiler, and make. TDevelop manages or provides: + +All development tools needed for C++ programming like Compiler, +Linker, automake and autoconf; KAppWizard, which generates complete, +ready-to-go sample applications; Classgenerator, for creating new +classes and integrating them into the current project; File management +for sources, headers, documentation etc. to be included in the +project; The creation of User-Handbooks written with SGML and the +automatic generation of HTML-output with the KDE look and feel; +Automatic HTML-based API-documentation for your project's classes with +cross-references to the used libraries; Internationalization support +for your application, allowing translators to easily add their target +language to a project; + +KDevelop also includes WYSIWYG (What you see is what you get)-creation +of user interfaces with a built-in dialog editor; Debugging your +application by integrating KDbg; Editing of project-specific pixmaps +with KIconEdit; The inclusion of any other program you need for +development by adding it to the "Tools"-menu according to your +individual needs. + +%files +%defattr(-,root,root,-) +%{tde_bindir}/kdevassistant +%{tde_bindir}/kdevdesigner +%{tde_bindir}/kdevelop +%{tde_bindir}/kdevelop-htdig +%{tde_bindir}/kdevprj2kdevelop +%{tde_bindir}/kdevprofileeditor +%{tde_libdir}/kconf_update_bin/kdev-gen-settings-kconf_update +%{tde_tdeappdir}/kdevassistant.desktop +%{tde_tdeappdir}/kdevdesigner.desktop +%{tde_tdeappdir}/kdevelop.desktop +%{tde_tdeappdir}/kdevelop_c_cpp.desktop +%{tde_tdeappdir}/kdevelop_kde_cpp.desktop +%{tde_tdeappdir}/kdevelop_ruby.desktop +%{tde_tdeappdir}/kdevelop_scripting.desktop +%{tde_tdelibdir}/kio_chm.la +%{tde_tdelibdir}/kio_chm.so +%{tde_tdelibdir}/kio_csharpdoc.la +%{tde_tdelibdir}/kio_csharpdoc.so +%{tde_tdelibdir}/kio_perldoc.la +%{tde_tdelibdir}/kio_perldoc.so +%{tde_tdelibdir}/kio_pydoc.la +%{tde_tdelibdir}/kio_pydoc.so +%{tde_tdelibdir}/libdocchmplugin.la +%{tde_tdelibdir}/libdocchmplugin.so +%{tde_tdelibdir}/libdoccustomplugin.la +%{tde_tdelibdir}/libdoccustomplugin.so +%{tde_tdelibdir}/libdocdevhelpplugin.la +%{tde_tdelibdir}/libdocdevhelpplugin.so +%{tde_tdelibdir}/libdocdoxygenplugin.la +%{tde_tdelibdir}/libdocdoxygenplugin.so +%{tde_tdelibdir}/libdockdevtocplugin.la +%{tde_tdelibdir}/libdockdevtocplugin.so +%{tde_tdelibdir}/libdocqtplugin.la +%{tde_tdelibdir}/libdocqtplugin.so +%{tde_tdelibdir}/libkchmpart.la +%{tde_tdelibdir}/libkchmpart.so +%{tde_tdelibdir}/libkdevabbrev.la +%{tde_tdelibdir}/libkdevabbrev.so +%{tde_tdelibdir}/libkdevadaproject.la +%{tde_tdelibdir}/libkdevadaproject.so +%{tde_tdelibdir}/libkdevadasupport.la +%{tde_tdelibdir}/libkdevadasupport.so +%{tde_tdelibdir}/libkdevantproject.la +%{tde_tdelibdir}/libkdevantproject.so +%{tde_tdelibdir}/libkdevappview.la +%{tde_tdelibdir}/libkdevappview.so +%{tde_tdelibdir}/libkdevappwizard.la +%{tde_tdelibdir}/libkdevappwizard.so +%{tde_tdelibdir}/libkdevastyle.la +%{tde_tdelibdir}/libkdevastyle.so +%{tde_tdelibdir}/libkdevautoproject.la +%{tde_tdelibdir}/libkdevautoproject.so +%{tde_tdelibdir}/libkdevbashsupport.la +%{tde_tdelibdir}/libkdevbashsupport.so +%{tde_tdelibdir}/libkdevbookmarks.la +%{tde_tdelibdir}/libkdevbookmarks.so +%{tde_tdelibdir}/libkdevclassview.la +%{tde_tdelibdir}/libkdevclassview.so +%{tde_tdelibdir}/libkdevcppsupport.la +%{tde_tdelibdir}/libkdevcppsupport.so +%{tde_tdelibdir}/libkdevcsharpsupport.la +%{tde_tdelibdir}/libkdevcsharpsupport.so +%{tde_tdelibdir}/libkdevctags2.la +%{tde_tdelibdir}/libkdevctags2.so +%{tde_tdelibdir}/libkdevcustompcsimporter.la +%{tde_tdelibdir}/libkdevcustompcsimporter.so +%{tde_tdelibdir}/libkdevcustomproject.la +%{tde_tdelibdir}/libkdevcustomproject.so +%{tde_tdelibdir}/libkdevdccoptions.la +%{tde_tdelibdir}/libkdevdccoptions.so +%{tde_tdelibdir}/libkdevdebugger.la +%{tde_tdelibdir}/libkdevdebugger.so +%{tde_tdelibdir}/libkdevdesignerpart.la +%{tde_tdelibdir}/libkdevdesignerpart.so +%{tde_tdelibdir}/libkdevdiff.la +%{tde_tdelibdir}/libkdevdiff.so +%{tde_tdelibdir}/libkdevdistpart.la +%{tde_tdelibdir}/libkdevdistpart.so +%{tde_tdelibdir}/libkdevdocumentation.la +%{tde_tdelibdir}/libkdevdocumentation.so +%{tde_tdelibdir}/libkdevdoxygen.la +%{tde_tdelibdir}/libkdevdoxygen.so +%{tde_tdelibdir}/libkdeveditorchooser.la +%{tde_tdelibdir}/libkdeveditorchooser.so +%{tde_tdelibdir}/libkdevfilecreate.la +%{tde_tdelibdir}/libkdevfilecreate.so +%{tde_tdelibdir}/libkdevfilegroups.la +%{tde_tdelibdir}/libkdevfilegroups.so +%{tde_tdelibdir}/libkdevfilelist.la +%{tde_tdelibdir}/libkdevfilelist.so +%{tde_tdelibdir}/libkdevfileselector.la +%{tde_tdelibdir}/libkdevfileselector.so +%{tde_tdelibdir}/libkdevfileview.la +%{tde_tdelibdir}/libkdevfileview.so +%{tde_tdelibdir}/libkdevfilter.la +%{tde_tdelibdir}/libkdevfilter.so +%{tde_tdelibdir}/libkdevfortransupport.la +%{tde_tdelibdir}/libkdevfortransupport.so +%{tde_tdelibdir}/libkdevfpcoptions.la +%{tde_tdelibdir}/libkdevfpcoptions.so +%{tde_tdelibdir}/libkdevfullscreen.la +%{tde_tdelibdir}/libkdevfullscreen.so +%{tde_tdelibdir}/libkdevgccoptions.la +%{tde_tdelibdir}/libkdevgccoptions.so +%{tde_tdelibdir}/libkdevgrepview.la +%{tde_tdelibdir}/libkdevgrepview.so +%{tde_tdelibdir}/libkdevjavasupport.la +%{tde_tdelibdir}/libkdevjavasupport.so +%{tde_tdelibdir}/libkdevkdelibsimporter.la +%{tde_tdelibdir}/libkdevkdelibsimporter.so +%{tde_tdelibdir}/libkdevkonsoleview.la +%{tde_tdelibdir}/libkdevkonsoleview.so +%{tde_tdelibdir}/libkdevmakeview.la +%{tde_tdelibdir}/libkdevmakeview.so +%{tde_tdelibdir}/libkdevopenwith.la +%{tde_tdelibdir}/libkdevopenwith.so +%{tde_tdelibdir}/libkdevpartexplorer.la +%{tde_tdelibdir}/libkdevpartexplorer.so +%{tde_tdelibdir}/libkdevpascalproject.la +%{tde_tdelibdir}/libkdevpascalproject.so +%{tde_tdelibdir}/libkdevpascalsupport.la +%{tde_tdelibdir}/libkdevpascalsupport.so +%{tde_tdelibdir}/libkdevperlsupport.la +%{tde_tdelibdir}/libkdevperlsupport.so +%{tde_tdelibdir}/libkdevpgioptions.la +%{tde_tdelibdir}/libkdevpgioptions.so +%{tde_tdelibdir}/libkdevphpsupport.la +%{tde_tdelibdir}/libkdevphpsupport.so +%{tde_tdelibdir}/libkdevpythonsupport.la +%{tde_tdelibdir}/libkdevpythonsupport.so +%{tde_tdelibdir}/libkdevqt4importer.la +%{tde_tdelibdir}/libkdevqt4importer.so +%{tde_tdelibdir}/libkdevqtimporter.la +%{tde_tdelibdir}/libkdevqtimporter.so +%{tde_tdelibdir}/libkdevquickopen.la +%{tde_tdelibdir}/libkdevquickopen.so +%{tde_tdelibdir}/libkdevrbdebugger.la +%{tde_tdelibdir}/libkdevrbdebugger.so +%{tde_tdelibdir}/libkdevregexptest.la +%{tde_tdelibdir}/libkdevregexptest.so +%{tde_tdelibdir}/libkdevreplace.la +%{tde_tdelibdir}/libkdevreplace.so +%{tde_tdelibdir}/libkdevrubysupport.la +%{tde_tdelibdir}/libkdevrubysupport.so +%{tde_tdelibdir}/libkdevscripting.la +%{tde_tdelibdir}/libkdevscripting.so +%{tde_tdelibdir}/libkdevscriptproject.la +%{tde_tdelibdir}/libkdevscriptproject.so +%{tde_tdelibdir}/libkdevsnippet.la +%{tde_tdelibdir}/libkdevsnippet.so +%{tde_tdelibdir}/libkdevsqlsupport.la +%{tde_tdelibdir}/libkdevsqlsupport.so +%{tde_tdelibdir}/libkdevtexttools.la +%{tde_tdelibdir}/libkdevtexttools.so +%{tde_tdelibdir}/libkdevtipofday.la +%{tde_tdelibdir}/libkdevtipofday.so +%{tde_tdelibdir}/libkdevtools.la +%{tde_tdelibdir}/libkdevtools.so +%{tde_tdelibdir}/libkdevtrollproject.la +%{tde_tdelibdir}/libkdevtrollproject.so +%{tde_tdelibdir}/libkdevuichooser.la +%{tde_tdelibdir}/libkdevuichooser.so +%{tde_tdelibdir}/libkdevvalgrind.la +%{tde_tdelibdir}/libkdevvalgrind.so +%{tde_tdelibdir}/libkdevvcsmanager.la +%{tde_tdelibdir}/libkdevvcsmanager.so +%{tde_datadir}/apps/kconf_update/ +%{tde_datadir}/apps/kdevabbrev/ +%{tde_datadir}/apps/kdevadaproject/kdevadaproject.rc +%{tde_datadir}/apps/kdevadasupport/kdevadasupport.rc +%{tde_datadir}/apps/kdevantproject/kdevantproject.rc +%{tde_datadir}/apps/kdevappoutputview/kdevmakeview.rc +%{tde_datadir}/apps/kdevappwizard/ +%{tde_datadir}/apps/kdevassistant/kdevassistantui.rc +%{tde_datadir}/apps/kdevastyle/kdevpart_astyle.rc +%{tde_datadir}/apps/kdevautoproject/kdevautoproject.rc +%{tde_datadir}/apps/kdevbashsupport/kdevbashsupport.rc +%{tde_datadir}/apps/kdevclassview/ +%{tde_datadir}/apps/kdevcppsupport/ +%{tde_datadir}/icons/hicolor/*/actions/breakpoint_add.png +%{tde_datadir}/icons/hicolor/*/actions/breakpoint_delete.png +%{tde_datadir}/icons/hicolor/*/actions/breakpoint_delete_all.png +%{tde_datadir}/icons/hicolor/*/actions/breakpoint_edit.png +%{tde_datadir}/icons/hicolor/*/actions/ktip.png +%{tde_datadir}/icons/hicolor/*/apps/kdevassistant.png +%{tde_datadir}/icons/hicolor/*/apps/kdevdesigner.png +%{tde_datadir}/icons/hicolor/*/apps/kdevelop.png +%{tde_datadir}/icons/locolor/*/actions/kdevelop_tip.png +%{tde_datadir}/mimelnk/application/x-kdevelop.desktop +%{tde_datadir}/mimelnk/x-fortran.desktop +%{tde_datadir}/services/chm.protocol +%{tde_datadir}/services/csharpdoc.protocol +%{tde_datadir}/services/docchmplugin.desktop +%{tde_datadir}/services/doccustomplugin.desktop +%{tde_datadir}/services/docdevhelpplugin.desktop +%{tde_datadir}/services/docdoxygenplugin.desktop +%{tde_datadir}/services/dockdevtocplugin.desktop +%{tde_datadir}/services/docqtplugin.desktop +%{tde_datadir}/services/kchmpart.desktop +%{tde_datadir}/services/kdevabbrev.desktop +%{tde_datadir}/services/kdevadaproject.desktop +%{tde_datadir}/services/kdevadasupport.desktop +%{tde_datadir}/services/kdevantproject.desktop +%{tde_datadir}/services/kdevappoutputview.desktop +%{tde_datadir}/services/kdevappwizard.desktop +%{tde_datadir}/services/kdevastyle.desktop +%{tde_datadir}/services/kdevautoproject.desktop +%{tde_datadir}/services/kdevbashsupport.desktop +%{tde_datadir}/services/kdevbookmarks.desktop +%{tde_datadir}/services/kdevclassview.desktop +%{tde_datadir}/services/kdevcppsupport.desktop +%{tde_datadir}/services/kdevcsharpsupport.desktop +%{tde_datadir}/services/kdevcsupport.desktop +%{tde_datadir}/services/kdevctags2.desktop +%{tde_datadir}/services/kdevcustomproject.desktop +%{tde_datadir}/services/kdevdccoptions.desktop +%{tde_datadir}/services/kdevdebugger.desktop +%{tde_datadir}/services/kdevdesigner_part.desktop +%{tde_datadir}/services/kdevdiff.desktop +%{tde_datadir}/services/kdevdistpart.desktop +%{tde_datadir}/services/kdevdocumentation.desktop +%{tde_datadir}/services/kdevdoxygen.desktop +%{tde_datadir}/services/kdeveditorchooser.desktop +%{tde_datadir}/services/kdevfilecreate.desktop +%{tde_datadir}/services/kdevfilegroups.desktop +%{tde_datadir}/services/kdevfilelist.desktop +%{tde_datadir}/services/kdevfileselector.desktop +%{tde_datadir}/services/kdevfileview.desktop +%{tde_datadir}/services/kdevfilter.desktop +%{tde_datadir}/services/kdevfortransupport.desktop +%{tde_datadir}/services/kdevfpcoptions.desktop +%{tde_datadir}/services/kdevfullscreen.desktop +%{tde_datadir}/services/kdevg77options.desktop +%{tde_datadir}/services/kdevgccoptions.desktop +%{tde_datadir}/services/kdevgppoptions.desktop +%{tde_datadir}/services/kdevgrepview.desktop +%{tde_datadir}/services/kdevjavasupport.desktop +%{tde_datadir}/services/kdevkdeautoproject.desktop +%{tde_datadir}/services/kdevkdelibsimporter.desktop +%{tde_datadir}/services/kdevkonsoleview.desktop +%{tde_datadir}/services/kdevmakeview.desktop +%{tde_datadir}/services/kdevopenwith.desktop +%{tde_datadir}/services/kdevpartexplorer.desktop +%{tde_datadir}/services/kdevpascalproject.desktop +%{tde_datadir}/services/kdevpascalsupport.desktop +%{tde_datadir}/services/kdevpcscustomimporter.desktop +%{tde_datadir}/services/kdevperlsupport.desktop +%{tde_datadir}/services/kdevpgf77options.desktop +%{tde_datadir}/services/kdevpghpfoptions.desktop +%{tde_datadir}/services/kdevphpsupport.desktop +%{tde_datadir}/services/kdevpythonsupport.desktop +%{tde_datadir}/services/kdevqt4importer.desktop +%{tde_datadir}/services/kdevqtimporter.desktop +%{tde_datadir}/services/kdevquickopen.desktop +%{tde_datadir}/services/kdevrbdebugger.desktop +%{tde_datadir}/services/kdevregexptest.desktop +%{tde_datadir}/services/kdevreplace.desktop +%{tde_datadir}/services/kdevrubysupport.desktop +%{tde_datadir}/services/kdevscripting.desktop +%{tde_datadir}/services/kdevscriptproject.desktop +%{tde_datadir}/services/kdevsnippet.desktop +%{tde_datadir}/services/kdevsqlsupport.desktop +%{tde_datadir}/services/kdevtexttools.desktop +%{tde_datadir}/services/kdevtipofday.desktop +%{tde_datadir}/services/kdevtmakeproject.desktop +%{tde_datadir}/services/kdevtools.desktop +%{tde_datadir}/services/kdevtrollproject.desktop +%{tde_datadir}/services/kdevuichooser.desktop +%{tde_datadir}/services/kdevvalgrind.desktop +%{tde_datadir}/services/kdevvcsmanager.desktop +%{tde_datadir}/services/perldoc.protocol +%{tde_datadir}/services/pydoc.protocol +%{tde_datadir}/servicetypes/kdevelopappfrontend.desktop +%{tde_datadir}/servicetypes/kdevelopcodebrowserfrontend.desktop +%{tde_datadir}/servicetypes/kdevelopcompileroptions.desktop +%{tde_datadir}/servicetypes/kdevelopcreatefile.desktop +%{tde_datadir}/servicetypes/kdevelopdifffrontend.desktop +%{tde_datadir}/servicetypes/kdevelopdocumentationplugins.desktop +%{tde_datadir}/servicetypes/kdeveloplanguagesupport.desktop +%{tde_datadir}/servicetypes/kdevelopmakefrontend.desktop +%{tde_datadir}/servicetypes/kdeveloppcsimporter.desktop +%{tde_datadir}/servicetypes/kdevelopplugin.desktop +%{tde_datadir}/servicetypes/kdevelopproject.desktop +%{tde_datadir}/servicetypes/kdevelopquickopen.desktop +%{tde_datadir}/servicetypes/kdevelopsourceformatter.desktop +%{tde_datadir}/servicetypes/kdevelopvcsintegrator.desktop +%{tde_datadir}/servicetypes/kdevelopversioncontrol.desktop +%{tde_datadir}/apps/kdevcsharpsupport/kdevcsharpsupport.rc +%{tde_datadir}/apps/kdevctags2/kdevpart_ctags2.rc +%{tde_datadir}/apps/kdevcustomproject/kdevcustomproject.rc +%{tde_datadir}/apps/kdevdebugger/ +%{tde_datadir}/apps/kdevdesigner/kdevdesigner_shell.rc +%{tde_datadir}/apps/kdevdesignerpart/kdevdesigner_part.rc +%{tde_datadir}/apps/kdevdesignerpart/kdevdesigner_part_sh.rc +%{tde_datadir}/apps/kdevdiff/kdevdiff.rc +%{tde_datadir}/apps/kdevdistpart/kdevpart_distpart.rc +%{tde_datadir}/apps/kdevdocumentation/ +%{tde_datadir}/apps/kdevdoxygen/kdevdoxygen.rc +%{tde_datadir}/apps/kdevelop/ +%{tde_datadir}/apps/kdevfilecreate/ +%{tde_datadir}/apps/kdevfilelist/kdevfilelist.rc +%{tde_datadir}/apps/kdevfilter/kdevfilter.rc +%{tde_datadir}/apps/kdevfortransupport/kdevfortransupport.rc +%{tde_datadir}/apps/kdevfullscreen/kdevpart_fullscreen.rc +%{tde_datadir}/apps/kdevgrepview/ +%{tde_datadir}/apps/kdevjavasupport/kdevjavasupport.rc +%{tde_datadir}/apps/kdevmakeview/kdevmakeview.rc +%{tde_datadir}/apps/kdevpartexplorer/kdevpartexplorer.rc +%{tde_datadir}/apps/kdevpascalproject/kdevpascalproject.rc +%{tde_datadir}/apps/kdevpascalsupport/kdevpascalsupport.rc +%{tde_datadir}/apps/kdevperlsupport/kdevperlsupport.rc +%{tde_datadir}/apps/kdevphpsupport/kdevphpsupport.rc +%{tde_datadir}/apps/kdevphpsupport/phpfunctions +%{tde_datadir}/apps/kdevpythonsupport/kdevpythonsupport.rc +%{tde_datadir}/apps/kdevquickopen/kdevpart_quickopen.rc +%{tde_datadir}/apps/kdevrbdebugger/ +%{tde_datadir}/apps/kdevregexptest/kdevregexptest.rc +%{tde_datadir}/apps/kdevreplace/kdevpart_replace.rc +%{tde_datadir}/apps/kdevrubysupport/kdevrubysupport.rc +%{tde_datadir}/apps/kdevrubysupport/pics/ruby_config.png +%{tde_datadir}/apps/kdevrubysupport/pics/ruby_run.png +%{tde_datadir}/apps/kdevscripting/kdevscripting.rc +%{tde_datadir}/apps/kdevscriptproject/kdevscriptproject.rc +%{tde_datadir}/apps/kdevsnippet/kdevpart_snippet.rc +%{tde_datadir}/apps/kdevsqlsupport/kdevsqlsupport.rc +%{tde_datadir}/apps/kdevtipofday/kdevpart_tipofday.rc +%{tde_datadir}/apps/kdevtipofday/tips +%{tde_datadir}/apps/kdevtools/kdevpart_tools.rc +%{tde_datadir}/apps/kdevtrollproject/kdevtrollproject.rc +%{tde_datadir}/apps/kdevvalgrind/kdevpart_valgrind.rc +%{tde_datadir}/apps/kio_pydoc/kde_pydoc.py* +%{tde_datadir}/config/kdevassistantrc +%{tde_datadir}/config/kdeveloprc +%{tde_datadir}/desktop-directories/kde-development-kdevelop.directory +%{tde_tdedocdir}/HTML/en/kdevelop/ + + +%post +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name}-libs = %{version}-%{release} + +Obsoletes: trinity-kdevelop-devel < %{version}-%{release} +Provides: trinity-kdevelop-devel = %{version}-%{release} + +%description devel +%{summary}. + +%files devel +%defattr(-,root,root,-) +%{tde_libdir}/lib*.so +%{tde_libdir}/lib*.la +%{tde_includedir}/* + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + +########## + +%package libs +Summary: %{name} runtime libraries +Group: System Environment/Libraries +Requires: trinity-kdelibs +# include to be paranoid, installing libs-only is still mostly untested -- Rex +Requires: %{name} = %{version}-%{release} + +Obsoletes: trinity-kdevelop-libs < %{version}-%{release} +Provides: trinity-kdevelop-libs = %{version}-%{release} + +%description libs +%{summary}. + +%files libs +%defattr(-,root,root,-) +%{tde_libdir}/libdesignerintegration.so.0 +%{tde_libdir}/libdesignerintegration.so.0.0.0 +%{tde_libdir}/libdocumentation_interfaces.so.0 +%{tde_libdir}/libdocumentation_interfaces.so.0.0.0 +%{tde_libdir}/libgdbmi_parser.so.0 +%{tde_libdir}/libgdbmi_parser.so.0.0.0 +%{tde_libdir}/libkdevbuildbase.so.0 +%{tde_libdir}/libkdevbuildbase.so.0.0.0 +%{tde_libdir}/libkdevbuildtoolswidgets.so.0 +%{tde_libdir}/libkdevbuildtoolswidgets.so.0.0.0 +%{tde_libdir}/libkdevcatalog.so.0 +%{tde_libdir}/libkdevcatalog.so.0.0.0 +%{tde_libdir}/libkdevcppparser.so.0 +%{tde_libdir}/libkdevcppparser.so.0.0.0 +%{tde_libdir}/libkdevelop.so.1 +%{tde_libdir}/libkdevelop.so.1.0.0 +%{tde_libdir}/libkdevextras.so.0 +%{tde_libdir}/libkdevextras.so.0.0.0 +%{tde_libdir}/libkdevpropertyeditor.so.0 +%{tde_libdir}/libkdevpropertyeditor.so.0.0.0 +%{tde_libdir}/libkdevqmakeparser.so.0 +%{tde_libdir}/libkdevqmakeparser.so.0.0.0 +%{tde_libdir}/libkdevshell.so.0 +%{tde_libdir}/libkdevshell.so.0.0.0 +%{tde_libdir}/libkdevwidgets.so.0 +%{tde_libdir}/libkdevwidgets.so.0.0.0 +%{tde_libdir}/liblang_debugger.so.0 +%{tde_libdir}/liblang_debugger.so.0.0.0 +%{tde_libdir}/liblang_interfaces.so.0 +%{tde_libdir}/liblang_interfaces.so.0.0.0 +%{tde_libdir}/libprofileengine.so.0 +%{tde_libdir}/libprofileengine.so.0.0.0 + +%post libs +/sbin/ldconfig || : + +%postun libs +/sbin/ldconfig || : + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -n kdevelop-3.5.13.1 -a1 +%patch1 -p0 -b .config +%patch2 -p1 +%patch4 -p1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" + +%__rm -rf c_cpp_reference-2.0.2_for_KDE_3.0/admin +%__cp -ar admin c_cpp_reference-2.0.2_for_KDE_3.0/ +%__make -C c_cpp_reference-2.0.2_for_KDE_3.0 -f admin/Makefile.common cvs + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" +export LD_LIBRARY_PATH="%{tde_libdir}" + +# Specific path for RHEL4 +if [ -d /usr/X11R6 ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +# c references +pushd c_cpp_reference-2.0.2_for_KDE_3.0 +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --with-qt-libraries=${QTLIB:-${QTDIR}/%{_lib}} \ + --with-qt-includes=${QTINC:-${QTDIR}/include} \ + --with-extra-libs=%{tde_libdir} +popd + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DWITH_BUILDTOOL_ALL=ON \ + -DWITH_LANGUAGE_ALL=ON \ + -DWITH_VCS_ALL=OFF \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} + +# c references +cd .. +%__make %{?_smp_mflags} -C c_cpp_reference-2.0.2_for_KDE_3.0 + +%install +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build +%__make install DESTDIR=%{buildroot} -C c_cpp_reference-2.0.2_for_KDE_3.0 + + +%clean +%__rm -rf %{buildroot} + + +%changelog +* Mon Oct 01 2012 Francois Andriot - 3.5.13.1-1 +- Initial build for TDE 3.5.13.1 diff --git a/redhat/tdevelop/kdevelop-3.5.13.spec b/redhat/tdevelop/kdevelop-3.5.13.spec new file mode 100644 index 000000000..59d57935f --- /dev/null +++ b/redhat/tdevelop/kdevelop-3.5.13.spec @@ -0,0 +1,292 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +Name: trinity-tdevelop +Summary: Integrated Development Environment for C++/C +Version: 3.5.13 +Release: 5%{?dist}%{?_variant} + +License: GPLv2 +Group: Development/Tools + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source: kdevelop-%{version}.tar.gz +Source1: ftp://129.187.206.68/pub/unix/ide/KDevelop/c_cpp_reference-2.0.2_for_KDE_3.0.tar.bz2 + +# [c_cpp_ref] Fix library directories detection +Patch1: c_cpp_reference-2.0.2-config.patch + +# [kdevelop] fix FTBFS +Patch2: kdevelop-3.5.13-kdevdesigner-ftbfs.patch + +# [kdevelop] Fix compilation with GCC 4.7 [Bug #958] +Patch3: kdevelop-3.5.13-gcc47.patch + +# [c_cpp_ref] Fix installation of 'asm' files +Patch4: c_cpp_reference-2.0.2-install.patch + +Requires: %{name}-libs = %{version}-%{release} + + +Requires: make +Requires: perl +Requires: flex >= 2.5.4 +%if 0%{?rhel} || 0%{?fedora} +Requires: qt3-designer >= 3.3.8.d +%else +Requires: %{_lib}qt3-devel >= 3.3.8.d +%endif +Requires: gettext +Requires: ctags + +BuildRequires: cmake >= 2.8 +BuildRequires: tqtinterface-devel >= 3.5.13 +BuildRequires: trinity-arts-devel >= 3.5.13 +BuildRequires: trinity-tdelibs-devel >= 3.5.13 +#BuildRequires: qt3-devel-docs >= 3.3.8.d +%if 0%{?mgaversion} || 0%{?mdkversion} +#BuildRequires: %{_lib}db5.1-devel +%else +BuildRequires: db4-devel +%endif +BuildRequires: flex +# FIXME: No CVS support in KDevelop? This is going to suck... +# Requires kdesdk3. +BuildRequires: trinity-tdesdk-devel >= 3.5.13 +BuildRequires: subversion-devel +BuildRequires: neon-devel +# looks like this is dragged in by apr-devel (dep of subversion-devel), but not +# a dependency +BuildRequires: openldap-devel + +Obsoletes: trinity-kdevelop < %{version}-%{release} +Provides: trinity-kdevelop = %{version}-%{release} + +%description +The TDevelop Integrated Development Environment provides many features +that developers need as well as providing a unified interface to programs +like gdb, the C/C++ compiler, and make. TDevelop manages or provides: + +All development tools needed for C++ programming like Compiler, +Linker, automake and autoconf; KAppWizard, which generates complete, +ready-to-go sample applications; Classgenerator, for creating new +classes and integrating them into the current project; File management +for sources, headers, documentation etc. to be included in the +project; The creation of User-Handbooks written with SGML and the +automatic generation of HTML-output with the KDE look and feel; +Automatic HTML-based API-documentation for your project's classes with +cross-references to the used libraries; Internationalization support +for your application, allowing translators to easily add their target +language to a project; + +KDevelop also includes WYSIWYG (What you see is what you get)-creation +of user interfaces with a built-in dialog editor; Debugging your +application by integrating KDbg; Editing of project-specific pixmaps +with KIconEdit; The inclusion of any other program you need for +development by adding it to the "Tools"-menu according to your +individual needs. + +%files +%defattr(-,root,root,-) +%{tde_bindir}/* +%{tde_tdelibdir}/* +%{tde_libdir}/kconf_update_bin/* +%{tde_tdeappdir}/* +%{tde_datadir}/apps/* +%{tde_datadir}/config/* +%{tde_datadir}/desktop-directories/* +%{tde_datadir}/icons/hicolor/*/*/* +%{tde_datadir}/icons/locolor/*/*/* +%{tde_datadir}/mimelnk/*.desktop +%{tde_datadir}/mimelnk/*/* +%{tde_datadir}/services/* +%{tde_datadir}/servicetypes/* +%{tde_tdedocdir}/HTML/en/* + +%post +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name}-libs = %{version}-%{release} + +Obsoletes: trinity-kdevelop-devel < %{version}-%{release} +Provides: trinity-kdevelop-devel = %{version}-%{release} + +%description devel +%{summary}. + +%files devel +%defattr(-,root,root,-) +%{tde_libdir}/lib*.so +%{tde_libdir}/lib*.la +%{tde_includedir}/* + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + +########## + +%package libs +Summary: %{name} runtime libraries +Group: System Environment/Libraries +Requires: trinity-kdelibs +# include to be paranoid, installing libs-only is still mostly untested -- Rex +Requires: %{name} = %{version}-%{release} + +Obsoletes: trinity-kdevelop-libs < %{version}-%{release} +Provides: trinity-kdevelop-libs = %{version}-%{release} + +%description libs +%{summary}. + +%files libs +%defattr(-,root,root,-) +%{tde_libdir}/lib*.so.* + +%post libs +/sbin/ldconfig || : + +%postun libs +/sbin/ldconfig || : + +########## + +%prep +%setup -q -n kdevelop -a1 +%patch1 -p0 -b .config +%patch2 -p1 +%patch3 -p1 -b .gcc47 +%patch4 -p1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" + +%__rm -rf c_cpp_reference-2.0.2_for_KDE_3.0/admin +%__cp -ar admin c_cpp_reference-2.0.2_for_KDE_3.0/ +%__make -C c_cpp_reference-2.0.2_for_KDE_3.0 -f admin/Makefile.common cvs + + +%build +unset QTDIR || : ; . /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" +export LD_LIBRARY_PATH="%{tde_libdir}" + +# c references +pushd c_cpp_reference-2.0.2_for_KDE_3.0 +%configure \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --with-qt-libraries=${QTLIB} \ + --with-qt-includes=${QTINC} \ + --with-extra-libs=%{tde_libdir} +popd + +%if 0%{?rhel} || 0%{?fedora} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DWITH_BUILDTOOL_ALL=ON \ + -DWITH_LANGUAGE_ALL=ON \ + -DWITH_VCS_ALL=OFF \ + -DBUILD_ALL=ON \ + .. + + +%__make %{?_smp_mflags} VERBOSE=1 + +# c references +cd .. +%__make %{?_smp_mflags} -C c_cpp_reference-2.0.2_for_KDE_3.0 + +%install +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build +%__make install DESTDIR=%{buildroot} -C c_cpp_reference-2.0.2_for_KDE_3.0 + +# remove useless files +#%__rm -rf %{buildroot}%{tde_prefix}/kdevbdb + + +%clean +%__rm -rf %{buildroot} + + +%changelog +* Wed Aug 01 2012 Francois Andriot - 3.5.13-5 +- Renames to 'trinity-tdevelop' +- Add support for Mageia 2 + +* Sun Jul 08 2012 Francois Andriot - 3.5.13-4 +- Removes runtime dependency to 'trinity-kdelibs' + +* Tue May 01 2012 Francois Andriot - 3.5.13-3 +- Fix installation on Fedora 17 +- Fix compilation on GCC 4.7 + +* Fri Nov 25 2011 Francois Andriot - 3.5.13-2 +- Fix HTML directory location + +* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 +- Initial release for RHEL 6, RHEL 5 and Fedora 15 + +* Sat Oct 29 2011 Francois Andriot - 3.5.13-0 +- Import to GIT +- Based on SPEC file from Fedora: kdevelop 9:3.5.3-1 diff --git a/redhat/tdevelop/tdevelop-3.5.13.2.spec b/redhat/tdevelop/tdevelop-3.5.13.2.spec new file mode 100644 index 000000000..775174d00 --- /dev/null +++ b/redhat/tdevelop/tdevelop-3.5.13.2.spec @@ -0,0 +1,646 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%define tde_docdir %{tde_datadir}/doc +%define tde_includedir %{tde_prefix}/include +%define tde_libdir %{tde_prefix}/%{_lib} + +%define tde_tdeappdir %{tde_datadir}/applications/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +Name: trinity-tdevelop +Summary: Integrated Development Environment for C++/C +Version: 3.5.13.2 +Release: 1%{?dist}%{?_variant} + +License: GPLv2 +Group: Development/Tools + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}.tar.gz +Source1: ftp://129.187.206.68/pub/unix/ide/KDevelop/c_cpp_reference-2.0.2_for_KDE_3.0.tar.bz2 + +# [c_cpp_ref] Fix library directories detection +Patch1: c_cpp_reference-2.0.2-config.patch + +# [kdevelop] fix FTBFS +Patch2: kdevelop-3.5.13-kdevdesigner-ftbfs.patch + +# [c_cpp_ref] Fix installation of 'asm' files +Patch4: c_cpp_reference-2.0.2-install.patch + +Requires: %{name}-libs = %{version}-%{release} + + +Requires: make +Requires: perl +Requires: flex >= 2.5.4 +%if 0%{?rhel} || 0%{?fedora} +Requires: qt3-designer +%endif +%if 0%{?mgaversion} || 0%{?mdkversion} +Requires: %{_lib}qt3-devel +%endif +%if 0%{?suse_version} +Requires: qt3-devel +%endif +Requires: gettext +Requires: ctags + +BuildRequires: cmake >= 2.8 +BuildRequires: trinity-tqtinterface-devel >= %{version} +BuildRequires: trinity-arts-devel >= %{version} +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: trinity-tdesdk-devel >= %{version} +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: db4-devel +%endif +BuildRequires: flex +# FIXME: No CVS support in KDevelop? This is going to suck... +# Requires kdesdk3. +BuildRequires: subversion-devel +BuildRequires: neon-devel +# looks like this is dragged in by apr-devel (dep of subversion-devel), but not +# a dependency +%if 0%{?suse_version} +BuildRequires: openldap2-devel +%else +BuildRequires: openldap-devel +%endif + +Obsoletes: trinity-kdevelop < %{version}-%{release} +Provides: trinity-kdevelop = %{version}-%{release} + +%description +The TDevelop Integrated Development Environment provides many features +that developers need as well as providing a unified interface to programs +like gdb, the C/C++ compiler, and make. TDevelop manages or provides: + +All development tools needed for C++ programming like Compiler, +Linker, automake and autoconf; KAppWizard, which generates complete, +ready-to-go sample applications; Classgenerator, for creating new +classes and integrating them into the current project; File management +for sources, headers, documentation etc. to be included in the +project; The creation of User-Handbooks written with SGML and the +automatic generation of HTML-output with the KDE look and feel; +Automatic HTML-based API-documentation for your project's classes with +cross-references to the used libraries; Internationalization support +for your application, allowing translators to easily add their target +language to a project; + +KDevelop also includes WYSIWYG (What you see is what you get)-creation +of user interfaces with a built-in dialog editor; Debugging your +application by integrating KDbg; Editing of project-specific pixmaps +with KIconEdit; The inclusion of any other program you need for +development by adding it to the "Tools"-menu according to your +individual needs. + +%files +%defattr(-,root,root,-) +%{tde_bindir}/kdevassistant +%{tde_bindir}/kdevdesigner +%{tde_bindir}/kdevelop +%{tde_bindir}/kdevelop-htdig +%{tde_bindir}/kdevprj2kdevelop +%{tde_bindir}/kdevprofileeditor +%{tde_libdir}/kconf_update_bin/kdev-gen-settings-kconf_update +%{tde_tdeappdir}/kdevassistant.desktop +%{tde_tdeappdir}/kdevdesigner.desktop +%{tde_tdeappdir}/kdevelop.desktop +%{tde_tdeappdir}/kdevelop_c_cpp.desktop +%{tde_tdeappdir}/kdevelop_kde_cpp.desktop +%{tde_tdeappdir}/kdevelop_ruby.desktop +%{tde_tdeappdir}/kdevelop_scripting.desktop +%{tde_tdelibdir}/kio_chm.la +%{tde_tdelibdir}/kio_chm.so +%{tde_tdelibdir}/kio_csharpdoc.la +%{tde_tdelibdir}/kio_csharpdoc.so +%{tde_tdelibdir}/kio_perldoc.la +%{tde_tdelibdir}/kio_perldoc.so +%{tde_tdelibdir}/kio_pydoc.la +%{tde_tdelibdir}/kio_pydoc.so +%{tde_tdelibdir}/libdocchmplugin.la +%{tde_tdelibdir}/libdocchmplugin.so +%{tde_tdelibdir}/libdoccustomplugin.la +%{tde_tdelibdir}/libdoccustomplugin.so +%{tde_tdelibdir}/libdocdevhelpplugin.la +%{tde_tdelibdir}/libdocdevhelpplugin.so +%{tde_tdelibdir}/libdocdoxygenplugin.la +%{tde_tdelibdir}/libdocdoxygenplugin.so +%{tde_tdelibdir}/libdockdevtocplugin.la +%{tde_tdelibdir}/libdockdevtocplugin.so +%{tde_tdelibdir}/libdocqtplugin.la +%{tde_tdelibdir}/libdocqtplugin.so +%{tde_tdelibdir}/libkchmpart.la +%{tde_tdelibdir}/libkchmpart.so +%{tde_tdelibdir}/libkdevabbrev.la +%{tde_tdelibdir}/libkdevabbrev.so +%{tde_tdelibdir}/libkdevadaproject.la +%{tde_tdelibdir}/libkdevadaproject.so +%{tde_tdelibdir}/libkdevadasupport.la +%{tde_tdelibdir}/libkdevadasupport.so +%{tde_tdelibdir}/libkdevantproject.la +%{tde_tdelibdir}/libkdevantproject.so +%{tde_tdelibdir}/libkdevappview.la +%{tde_tdelibdir}/libkdevappview.so +%{tde_tdelibdir}/libkdevappwizard.la +%{tde_tdelibdir}/libkdevappwizard.so +%{tde_tdelibdir}/libkdevastyle.la +%{tde_tdelibdir}/libkdevastyle.so +%{tde_tdelibdir}/libkdevautoproject.la +%{tde_tdelibdir}/libkdevautoproject.so +%{tde_tdelibdir}/libkdevbashsupport.la +%{tde_tdelibdir}/libkdevbashsupport.so +%{tde_tdelibdir}/libkdevbookmarks.la +%{tde_tdelibdir}/libkdevbookmarks.so +%{tde_tdelibdir}/libkdevclassview.la +%{tde_tdelibdir}/libkdevclassview.so +%{tde_tdelibdir}/libkdevcppsupport.la +%{tde_tdelibdir}/libkdevcppsupport.so +%{tde_tdelibdir}/libkdevcsharpsupport.la +%{tde_tdelibdir}/libkdevcsharpsupport.so +%{tde_tdelibdir}/libkdevctags2.la +%{tde_tdelibdir}/libkdevctags2.so +%{tde_tdelibdir}/libkdevcustompcsimporter.la +%{tde_tdelibdir}/libkdevcustompcsimporter.so +%{tde_tdelibdir}/libkdevcustomproject.la +%{tde_tdelibdir}/libkdevcustomproject.so +%{tde_tdelibdir}/libkdevdccoptions.la +%{tde_tdelibdir}/libkdevdccoptions.so +%{tde_tdelibdir}/libkdevdebugger.la +%{tde_tdelibdir}/libkdevdebugger.so +%{tde_tdelibdir}/libkdevdesignerpart.la +%{tde_tdelibdir}/libkdevdesignerpart.so +%{tde_tdelibdir}/libkdevdiff.la +%{tde_tdelibdir}/libkdevdiff.so +%{tde_tdelibdir}/libkdevdistpart.la +%{tde_tdelibdir}/libkdevdistpart.so +%{tde_tdelibdir}/libkdevdocumentation.la +%{tde_tdelibdir}/libkdevdocumentation.so +%{tde_tdelibdir}/libkdevdoxygen.la +%{tde_tdelibdir}/libkdevdoxygen.so +%{tde_tdelibdir}/libkdeveditorchooser.la +%{tde_tdelibdir}/libkdeveditorchooser.so +%{tde_tdelibdir}/libkdevfilecreate.la +%{tde_tdelibdir}/libkdevfilecreate.so +%{tde_tdelibdir}/libkdevfilegroups.la +%{tde_tdelibdir}/libkdevfilegroups.so +%{tde_tdelibdir}/libkdevfilelist.la +%{tde_tdelibdir}/libkdevfilelist.so +%{tde_tdelibdir}/libkdevfileselector.la +%{tde_tdelibdir}/libkdevfileselector.so +%{tde_tdelibdir}/libkdevfileview.la +%{tde_tdelibdir}/libkdevfileview.so +%{tde_tdelibdir}/libkdevfilter.la +%{tde_tdelibdir}/libkdevfilter.so +%{tde_tdelibdir}/libkdevfortransupport.la +%{tde_tdelibdir}/libkdevfortransupport.so +%{tde_tdelibdir}/libkdevfpcoptions.la +%{tde_tdelibdir}/libkdevfpcoptions.so +%{tde_tdelibdir}/libkdevfullscreen.la +%{tde_tdelibdir}/libkdevfullscreen.so +%{tde_tdelibdir}/libkdevgccoptions.la +%{tde_tdelibdir}/libkdevgccoptions.so +%{tde_tdelibdir}/libkdevgrepview.la +%{tde_tdelibdir}/libkdevgrepview.so +%{tde_tdelibdir}/libkdevjavasupport.la +%{tde_tdelibdir}/libkdevjavasupport.so +%{tde_tdelibdir}/libkdevkdelibsimporter.la +%{tde_tdelibdir}/libkdevkdelibsimporter.so +%{tde_tdelibdir}/libkdevkonsoleview.la +%{tde_tdelibdir}/libkdevkonsoleview.so +%{tde_tdelibdir}/libkdevmakeview.la +%{tde_tdelibdir}/libkdevmakeview.so +%{tde_tdelibdir}/libkdevopenwith.la +%{tde_tdelibdir}/libkdevopenwith.so +%{tde_tdelibdir}/libkdevpartexplorer.la +%{tde_tdelibdir}/libkdevpartexplorer.so +%{tde_tdelibdir}/libkdevpascalproject.la +%{tde_tdelibdir}/libkdevpascalproject.so +%{tde_tdelibdir}/libkdevpascalsupport.la +%{tde_tdelibdir}/libkdevpascalsupport.so +%{tde_tdelibdir}/libkdevperlsupport.la +%{tde_tdelibdir}/libkdevperlsupport.so +%{tde_tdelibdir}/libkdevpgioptions.la +%{tde_tdelibdir}/libkdevpgioptions.so +%{tde_tdelibdir}/libkdevphpsupport.la +%{tde_tdelibdir}/libkdevphpsupport.so +%{tde_tdelibdir}/libkdevpythonsupport.la +%{tde_tdelibdir}/libkdevpythonsupport.so +%{tde_tdelibdir}/libkdevqt4importer.la +%{tde_tdelibdir}/libkdevqt4importer.so +%{tde_tdelibdir}/libkdevqtimporter.la +%{tde_tdelibdir}/libkdevqtimporter.so +%{tde_tdelibdir}/libkdevquickopen.la +%{tde_tdelibdir}/libkdevquickopen.so +%{tde_tdelibdir}/libkdevrbdebugger.la +%{tde_tdelibdir}/libkdevrbdebugger.so +%{tde_tdelibdir}/libkdevregexptest.la +%{tde_tdelibdir}/libkdevregexptest.so +%{tde_tdelibdir}/libkdevreplace.la +%{tde_tdelibdir}/libkdevreplace.so +%{tde_tdelibdir}/libkdevrubysupport.la +%{tde_tdelibdir}/libkdevrubysupport.so +%{tde_tdelibdir}/libkdevscripting.la +%{tde_tdelibdir}/libkdevscripting.so +%{tde_tdelibdir}/libkdevscriptproject.la +%{tde_tdelibdir}/libkdevscriptproject.so +%{tde_tdelibdir}/libkdevsnippet.la +%{tde_tdelibdir}/libkdevsnippet.so +%{tde_tdelibdir}/libkdevsqlsupport.la +%{tde_tdelibdir}/libkdevsqlsupport.so +%{tde_tdelibdir}/libkdevtexttools.la +%{tde_tdelibdir}/libkdevtexttools.so +%{tde_tdelibdir}/libkdevtipofday.la +%{tde_tdelibdir}/libkdevtipofday.so +%{tde_tdelibdir}/libkdevtools.la +%{tde_tdelibdir}/libkdevtools.so +%{tde_tdelibdir}/libkdevtrollproject.la +%{tde_tdelibdir}/libkdevtrollproject.so +%{tde_tdelibdir}/libkdevuichooser.la +%{tde_tdelibdir}/libkdevuichooser.so +%{tde_tdelibdir}/libkdevvalgrind.la +%{tde_tdelibdir}/libkdevvalgrind.so +%{tde_tdelibdir}/libkdevvcsmanager.la +%{tde_tdelibdir}/libkdevvcsmanager.so +%{tde_datadir}/apps/kconf_update/ +%{tde_datadir}/apps/kdevabbrev/ +%{tde_datadir}/apps/kdevadaproject/kdevadaproject.rc +%{tde_datadir}/apps/kdevadasupport/kdevadasupport.rc +%{tde_datadir}/apps/kdevantproject/kdevantproject.rc +%{tde_datadir}/apps/kdevappoutputview/kdevmakeview.rc +%{tde_datadir}/apps/kdevappwizard/ +%{tde_datadir}/apps/kdevassistant/kdevassistantui.rc +%{tde_datadir}/apps/kdevastyle/kdevpart_astyle.rc +%{tde_datadir}/apps/kdevautoproject/kdevautoproject.rc +%{tde_datadir}/apps/kdevbashsupport/kdevbashsupport.rc +%{tde_datadir}/apps/kdevclassview/ +%{tde_datadir}/apps/kdevcppsupport/ +%{tde_datadir}/icons/hicolor/*/actions/breakpoint_add.png +%{tde_datadir}/icons/hicolor/*/actions/breakpoint_delete.png +%{tde_datadir}/icons/hicolor/*/actions/breakpoint_delete_all.png +%{tde_datadir}/icons/hicolor/*/actions/breakpoint_edit.png +%{tde_datadir}/icons/hicolor/*/actions/ktip.png +%{tde_datadir}/icons/hicolor/*/apps/kdevassistant.png +%{tde_datadir}/icons/hicolor/*/apps/kdevdesigner.png +%{tde_datadir}/icons/hicolor/*/apps/kdevelop.png +%{tde_datadir}/icons/locolor/*/actions/kdevelop_tip.png +%{tde_datadir}/mimelnk/application/x-kdevelop.desktop +%{tde_datadir}/services/chm.protocol +%{tde_datadir}/services/csharpdoc.protocol +%{tde_datadir}/services/docchmplugin.desktop +%{tde_datadir}/services/doccustomplugin.desktop +%{tde_datadir}/services/docdevhelpplugin.desktop +%{tde_datadir}/services/docdoxygenplugin.desktop +%{tde_datadir}/services/dockdevtocplugin.desktop +%{tde_datadir}/services/docqtplugin.desktop +%{tde_datadir}/services/kchmpart.desktop +%{tde_datadir}/services/kdevabbrev.desktop +%{tde_datadir}/services/kdevadaproject.desktop +%{tde_datadir}/services/kdevadasupport.desktop +%{tde_datadir}/services/kdevantproject.desktop +%{tde_datadir}/services/kdevappoutputview.desktop +%{tde_datadir}/services/kdevappwizard.desktop +%{tde_datadir}/services/kdevastyle.desktop +%{tde_datadir}/services/kdevautoproject.desktop +%{tde_datadir}/services/kdevbashsupport.desktop +%{tde_datadir}/services/kdevbookmarks.desktop +%{tde_datadir}/services/kdevclassview.desktop +%{tde_datadir}/services/kdevcppsupport.desktop +%{tde_datadir}/services/kdevcsharpsupport.desktop +%{tde_datadir}/services/kdevcsupport.desktop +%{tde_datadir}/services/kdevctags2.desktop +%{tde_datadir}/services/kdevcustomproject.desktop +%{tde_datadir}/services/kdevdccoptions.desktop +%{tde_datadir}/services/kdevdebugger.desktop +%{tde_datadir}/services/kdevdesigner_part.desktop +%{tde_datadir}/services/kdevdiff.desktop +%{tde_datadir}/services/kdevdistpart.desktop +%{tde_datadir}/services/kdevdocumentation.desktop +%{tde_datadir}/services/kdevdoxygen.desktop +%{tde_datadir}/services/kdeveditorchooser.desktop +%{tde_datadir}/services/kdevfilecreate.desktop +%{tde_datadir}/services/kdevfilegroups.desktop +%{tde_datadir}/services/kdevfilelist.desktop +%{tde_datadir}/services/kdevfileselector.desktop +%{tde_datadir}/services/kdevfileview.desktop +%{tde_datadir}/services/kdevfilter.desktop +%{tde_datadir}/services/kdevfortransupport.desktop +%{tde_datadir}/services/kdevfpcoptions.desktop +%{tde_datadir}/services/kdevfullscreen.desktop +%{tde_datadir}/services/kdevg77options.desktop +%{tde_datadir}/services/kdevgccoptions.desktop +%{tde_datadir}/services/kdevgppoptions.desktop +%{tde_datadir}/services/kdevgrepview.desktop +%{tde_datadir}/services/kdevjavasupport.desktop +%{tde_datadir}/services/kdevkdeautoproject.desktop +%{tde_datadir}/services/kdevkdelibsimporter.desktop +%{tde_datadir}/services/kdevkonsoleview.desktop +%{tde_datadir}/services/kdevmakeview.desktop +%{tde_datadir}/services/kdevopenwith.desktop +%{tde_datadir}/services/kdevpartexplorer.desktop +%{tde_datadir}/services/kdevpascalproject.desktop +%{tde_datadir}/services/kdevpascalsupport.desktop +%{tde_datadir}/services/kdevpcscustomimporter.desktop +%{tde_datadir}/services/kdevperlsupport.desktop +%{tde_datadir}/services/kdevpgf77options.desktop +%{tde_datadir}/services/kdevpghpfoptions.desktop +%{tde_datadir}/services/kdevphpsupport.desktop +%{tde_datadir}/services/kdevpythonsupport.desktop +%{tde_datadir}/services/kdevqt4importer.desktop +%{tde_datadir}/services/kdevqtimporter.desktop +%{tde_datadir}/services/kdevquickopen.desktop +%{tde_datadir}/services/kdevrbdebugger.desktop +%{tde_datadir}/services/kdevregexptest.desktop +%{tde_datadir}/services/kdevreplace.desktop +%{tde_datadir}/services/kdevrubysupport.desktop +%{tde_datadir}/services/kdevscripting.desktop +%{tde_datadir}/services/kdevscriptproject.desktop +%{tde_datadir}/services/kdevsnippet.desktop +%{tde_datadir}/services/kdevsqlsupport.desktop +%{tde_datadir}/services/kdevtexttools.desktop +%{tde_datadir}/services/kdevtipofday.desktop +%{tde_datadir}/services/kdevtmakeproject.desktop +%{tde_datadir}/services/kdevtools.desktop +%{tde_datadir}/services/kdevtrollproject.desktop +%{tde_datadir}/services/kdevuichooser.desktop +%{tde_datadir}/services/kdevvalgrind.desktop +%{tde_datadir}/services/kdevvcsmanager.desktop +%{tde_datadir}/services/perldoc.protocol +%{tde_datadir}/services/pydoc.protocol +%{tde_datadir}/servicetypes/kdevelopappfrontend.desktop +%{tde_datadir}/servicetypes/kdevelopcodebrowserfrontend.desktop +%{tde_datadir}/servicetypes/kdevelopcompileroptions.desktop +%{tde_datadir}/servicetypes/kdevelopcreatefile.desktop +%{tde_datadir}/servicetypes/kdevelopdifffrontend.desktop +%{tde_datadir}/servicetypes/kdevelopdocumentationplugins.desktop +%{tde_datadir}/servicetypes/kdeveloplanguagesupport.desktop +%{tde_datadir}/servicetypes/kdevelopmakefrontend.desktop +%{tde_datadir}/servicetypes/kdeveloppcsimporter.desktop +%{tde_datadir}/servicetypes/kdevelopplugin.desktop +%{tde_datadir}/servicetypes/kdevelopproject.desktop +%{tde_datadir}/servicetypes/kdevelopquickopen.desktop +%{tde_datadir}/servicetypes/kdevelopsourceformatter.desktop +%{tde_datadir}/servicetypes/kdevelopvcsintegrator.desktop +%{tde_datadir}/servicetypes/kdevelopversioncontrol.desktop +%{tde_datadir}/apps/kdevcsharpsupport/kdevcsharpsupport.rc +%{tde_datadir}/apps/kdevctags2/kdevpart_ctags2.rc +%{tde_datadir}/apps/kdevcustomproject/kdevcustomproject.rc +%{tde_datadir}/apps/kdevdebugger/ +%{tde_datadir}/apps/kdevdesigner/kdevdesigner_shell.rc +%{tde_datadir}/apps/kdevdesignerpart/kdevdesigner_part.rc +%{tde_datadir}/apps/kdevdesignerpart/kdevdesigner_part_sh.rc +%{tde_datadir}/apps/kdevdiff/kdevdiff.rc +%{tde_datadir}/apps/kdevdistpart/kdevpart_distpart.rc +%{tde_datadir}/apps/kdevdocumentation/ +%{tde_datadir}/apps/kdevdoxygen/kdevdoxygen.rc +%{tde_datadir}/apps/kdevelop/ +%{tde_datadir}/apps/kdevfilecreate/ +%{tde_datadir}/apps/kdevfilelist/kdevfilelist.rc +%{tde_datadir}/apps/kdevfilter/kdevfilter.rc +%{tde_datadir}/apps/kdevfortransupport/kdevfortransupport.rc +%{tde_datadir}/apps/kdevfullscreen/kdevpart_fullscreen.rc +%{tde_datadir}/apps/kdevgrepview/ +%{tde_datadir}/apps/kdevjavasupport/kdevjavasupport.rc +%{tde_datadir}/apps/kdevmakeview/kdevmakeview.rc +%{tde_datadir}/apps/kdevpartexplorer/kdevpartexplorer.rc +%{tde_datadir}/apps/kdevpascalproject/kdevpascalproject.rc +%{tde_datadir}/apps/kdevpascalsupport/kdevpascalsupport.rc +%{tde_datadir}/apps/kdevperlsupport/kdevperlsupport.rc +%{tde_datadir}/apps/kdevphpsupport/kdevphpsupport.rc +%{tde_datadir}/apps/kdevphpsupport/phpfunctions +%{tde_datadir}/apps/kdevpythonsupport/kdevpythonsupport.rc +%{tde_datadir}/apps/kdevquickopen/kdevpart_quickopen.rc +%{tde_datadir}/apps/kdevrbdebugger/ +%{tde_datadir}/apps/kdevregexptest/kdevregexptest.rc +%{tde_datadir}/apps/kdevreplace/kdevpart_replace.rc +%{tde_datadir}/apps/kdevrubysupport/kdevrubysupport.rc +%{tde_datadir}/apps/kdevrubysupport/pics/ruby_config.png +%{tde_datadir}/apps/kdevrubysupport/pics/ruby_run.png +%{tde_datadir}/apps/kdevscripting/kdevscripting.rc +%{tde_datadir}/apps/kdevscriptproject/kdevscriptproject.rc +%{tde_datadir}/apps/kdevsnippet/kdevpart_snippet.rc +%{tde_datadir}/apps/kdevsqlsupport/kdevsqlsupport.rc +%{tde_datadir}/apps/kdevtipofday/kdevpart_tipofday.rc +%{tde_datadir}/apps/kdevtipofday/tips +%{tde_datadir}/apps/kdevtools/kdevpart_tools.rc +%{tde_datadir}/apps/kdevtrollproject/kdevtrollproject.rc +%{tde_datadir}/apps/kdevvalgrind/kdevpart_valgrind.rc +%{tde_datadir}/apps/kio_pydoc/kde_pydoc.py* +%{tde_datadir}/config/kdevassistantrc +%{tde_datadir}/config/kdeveloprc +%{tde_datadir}/desktop-directories/kde-development-kdevelop.directory +%{tde_tdedocdir}/HTML/en/kdevelop/ +%{tde_libdir}/libd.so.0 +%{tde_libdir}/libd.so.0.0.0 +%{tde_libdir}/libkinterfacedesigner.so.0 +%{tde_libdir}/libkinterfacedesigner.so.0.0.0 +%{tde_tdelibdir}/libkdevvisualboyadvance.la +%{tde_tdelibdir}/libkdevvisualboyadvance.so +%{tde_datadir}/apps/kdevdesignerpart/pics/ +%{tde_datadir}/apps/kdevvisualboyadvance/kdevpart_visualboyadvance.rc +%{tde_tdedocdir}/HTML/en/kde_app_devel/ +%{tde_datadir}/mimelnk/text/x-fortran.desktop +%{tde_datadir}/services/kdevvisualboyadvance.desktop + + +%post +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name}-libs = %{version}-%{release} + +Obsoletes: trinity-kdevelop-devel < %{version}-%{release} +Provides: trinity-kdevelop-devel = %{version}-%{release} + +%description devel +%{summary}. + +%files devel +%defattr(-,root,root,-) +%{tde_libdir}/lib*.so +%{tde_libdir}/lib*.la +%{tde_includedir}/* + +%post devel +/sbin/ldconfig || : + +%postun devel +/sbin/ldconfig || : + +########## + +%package libs +Summary: %{name} runtime libraries +Group: System Environment/Libraries +Requires: trinity-kdelibs +# include to be paranoid, installing libs-only is still mostly untested -- Rex +Requires: %{name} = %{version}-%{release} + +Obsoletes: trinity-kdevelop-libs < %{version}-%{release} +Provides: trinity-kdevelop-libs = %{version}-%{release} + +%description libs +%{summary}. + +%files libs +%defattr(-,root,root,-) +%{tde_libdir}/libdesignerintegration.so.0 +%{tde_libdir}/libdesignerintegration.so.0.0.0 +%{tde_libdir}/libdocumentation_interfaces.so.0 +%{tde_libdir}/libdocumentation_interfaces.so.0.0.0 +%{tde_libdir}/libgdbmi_parser.so.0 +%{tde_libdir}/libgdbmi_parser.so.0.0.0 +%{tde_libdir}/libkdevbuildbase.so.0 +%{tde_libdir}/libkdevbuildbase.so.0.0.0 +%{tde_libdir}/libkdevbuildtoolswidgets.so.0 +%{tde_libdir}/libkdevbuildtoolswidgets.so.0.0.0 +%{tde_libdir}/libkdevcatalog.so.0 +%{tde_libdir}/libkdevcatalog.so.0.0.0 +%{tde_libdir}/libkdevcppparser.so.0 +%{tde_libdir}/libkdevcppparser.so.0.0.0 +%{tde_libdir}/libkdevelop.so.1 +%{tde_libdir}/libkdevelop.so.1.0.0 +%{tde_libdir}/libkdevextras.so.0 +%{tde_libdir}/libkdevextras.so.0.0.0 +%{tde_libdir}/libkdevpropertyeditor.so.0 +%{tde_libdir}/libkdevpropertyeditor.so.0.0.0 +%{tde_libdir}/libkdevqmakeparser.so.0 +%{tde_libdir}/libkdevqmakeparser.so.0.0.0 +%{tde_libdir}/libkdevshell.so.0 +%{tde_libdir}/libkdevshell.so.0.0.0 +%{tde_libdir}/libkdevwidgets.so.0 +%{tde_libdir}/libkdevwidgets.so.0.0.0 +%{tde_libdir}/liblang_debugger.so.0 +%{tde_libdir}/liblang_debugger.so.0.0.0 +%{tde_libdir}/liblang_interfaces.so.0 +%{tde_libdir}/liblang_interfaces.so.0.0.0 +%{tde_libdir}/libprofileengine.so.0 +%{tde_libdir}/libprofileengine.so.0.0.0 + +%post libs +/sbin/ldconfig || : + +%postun libs +/sbin/ldconfig || : + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -a1 +%patch1 -p0 -b .config +%patch2 -p1 +%patch4 -p1 + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" + +%__rm -rf c_cpp_reference-2.0.2_for_KDE_3.0/admin +%__cp -ar admin c_cpp_reference-2.0.2_for_KDE_3.0/ +%__make -C c_cpp_reference-2.0.2_for_KDE_3.0 -f admin/Makefile.common cvs + + +%build +unset QTDIR || : ; . /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" +export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" +export LD_LIBRARY_PATH="%{tde_libdir}" + +# Specific path for RHEL4 +if [ -d /usr/X11R6 ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +# c references +pushd c_cpp_reference-2.0.2_for_KDE_3.0 +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --libdir=%{tde_libdir} \ + --datadir=%{tde_datadir} \ + --includedir=%{tde_tdeincludedir} \ + --with-qt-libraries=${QTLIB:-${QTDIR}/%{_lib}} \ + --with-qt-includes=${QTINC:-${QTDIR}/include} \ + --with-extra-libs=%{tde_libdir} +popd + +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +%__mkdir_p build +cd build +%endif + +%cmake \ + -DBIN_INSTALL_DIR=%{tde_bindir} \ + -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ + -DLIB_INSTALL_DIR=%{tde_libdir} \ + -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DWITH_BUILDTOOL_ALL=ON \ + -DWITH_LANGUAGE_ALL=ON \ + -DWITH_VCS_ALL=OFF \ + -DBUILD_ALL=ON \ + .. + +%__make %{?_smp_mflags} || %__make + +# c references +cd .. +%__make %{?_smp_mflags} -C c_cpp_reference-2.0.2_for_KDE_3.0 + +%install +%__rm -rf %{buildroot} +%__make install DESTDIR=%{buildroot} -C build +%__make install DESTDIR=%{buildroot} -C c_cpp_reference-2.0.2_for_KDE_3.0 + + +%clean +%__rm -rf %{buildroot} + + +%changelog +* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 +- Initial release for TDE 3.5.13.2 diff --git a/redhat/tdevelop/trinity-kdevelop-3.5.12.spec b/redhat/tdevelop/trinity-kdevelop-3.5.12.spec deleted file mode 100644 index de36a42ff..000000000 --- a/redhat/tdevelop/trinity-kdevelop-3.5.12.spec +++ /dev/null @@ -1,254 +0,0 @@ -# Default version for this component -%if "%{?version}" == "" -%define version 3.5.12 -%endif -%define release 2 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_includedir %{_includedir}/kde -%define tde_libdir %{_libdir}/kde3 - -%define _default_patch_fuzz 2 -%define qt_version 3.3.8b -%define qt_ver %{qt_version} - -Name: trinity-kdevelop -Summary: Integrated Development Environment for C++/C -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} - - -License: GPLv2 -Group: Development/Tools - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source: kdevelop-%{version}.tar.gz -Source1: ftp://129.187.206.68/pub/unix/ide/KDevelop/c_cpp_reference-2.0.2_for_KDE_3.0.tar.bz2 - -# RedHat Legacy patches -Patch1: c_cpp_reference-2.0.2-config.patch -#Patch2: kdevelop-2.1.5_for_KDE_3.1-doc.patch -# improved integration for the KDE 4 template - no special KDE 4 build environment needed in Fedora -Patch4: kdevelop-3.5.2-kde4template.patch - -#upstream patches - -Provides: kdevelop3 = %{version}-%{release} - -Requires: %{name}-libs = %{version}-%{release} - - -Requires: trinity-kdelibs-devel -Requires: make -Requires: perl -Requires: flex >= 2.5.4 -Requires: qt3-designer -Requires: gettext -Requires: ctags - -BuildRequires: tqtinterface-devel -BuildRequires: trinity-arts-devel -BuildRequires: trinity-kdelibs-devel -BuildRequires: trinity-kdelibs-apidocs -BuildRequires: qt3-devel-docs -BuildRequires: db4-devel -BuildRequires: flex -BuildRequires: pcre-devel -BuildRequires: libacl-devel libattr-devel libidn-devel libart_lgpl-devel -BuildRequires: gcc-c++ -# FIXME: No CVS support in KDevelop? This is going to suck... -# Requires kdesdk3. -BuildRequires: trinity-kdesdk-devel -BuildRequires: subversion-devel neon-devel -# looks like this is dragged in by apr-devel (dep of subversion-devel), but not -# a dependency -BuildRequires: openldap-devel -%if 0%{?fedora} >= 15 -BuildRequires: flex-static -%endif - -%description -The KDevelop Integrated Development Environment provides many features -that developers need as well as providing a unified interface to programs -like gdb, the C/C++ compiler, and make. KDevelop manages or provides: - -All development tools needed for C++ programming like Compiler, -Linker, automake and autoconf; KAppWizard, which generates complete, -ready-to-go sample applications; Classgenerator, for creating new -classes and integrating them into the current project; File management -for sources, headers, documentation etc. to be included in the -project; The creation of User-Handbooks written with SGML and the -automatic generation of HTML-output with the KDE look and feel; -Automatic HTML-based API-documentation for your project's classes with -cross-references to the used libraries; Internationalization support -for your application, allowing translators to easily add their target -language to a project; - -KDevelop also includes WYSIWYG (What you see is what you get)-creation -of user interfaces with a built-in dialog editor; Debugging your -application by integrating KDbg; Editing of project-specific pixmaps -with KIconEdit; The inclusion of any other program you need for -development by adding it to the "Tools"-menu according to your -individual needs. - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Provides: kdevelop3-devel = %{version}-%{release} -Requires: %{name}-libs = %{version}-%{release} -Requires: trinity-kdelibs-devel -%description devel -%{summary}. - -%package libs -Summary: %{name} runtime libraries -Group: System Environment/Libraries -Requires: trinity-kdelibs -# helps multilib upgrades -Obsoletes: %{name} < %{version}-%{release} -# include to be paranoid, installing libs-only is still mostly untested -- Rex -Requires: %{name} = %{version}-%{release} -%description libs -%{summary}. - - - -%prep -%setup -q -n kdevelop -a1 -%patch1 -p0 -b .config -#patch2 -p1 -b .doc -#patch4 -p1 -b .kde4template - -%__rm -rf c_cpp_reference-2.0.2_for_KDE_3.0/admin -%__cp -a admin c_cpp_reference-2.0.2_for_KDE_3.0/ -%__make -C c_cpp_reference-2.0.2_for_KDE_3.0 -f admin/Makefile.common cvs - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -# Fix KDE detection fail in "./configure" because tqt.h cannot be found -export CXXFLAGS="${CXXFLAGS} -I%{_includedir}/tqt" - -%if 0%{?fedora} >= 15 -export CXXFLAGS="${CXXFLAGS} -fpermissive" -%endif - -# c references -pushd c_cpp_reference-2.0.2_for_KDE_3.0 -%configure \ - --with-qt-libraries=$QTDIR/lib \ - --with-qt-includes=$QTDIR/include \ - --with-extra-libs=%{_libdir} \ - --with-extra-includes=%{_includedir}/tqt -popd - -%configure \ - --enable-new-ldflags \ - --disable-dependency-tracking \ - --disable-rpath \ - --disable-debug \ - --disable-warnings \ - --enable-final \ - --with-qtdoc-dir=%{_docdir}/qt-devel-%{qt_ver}/html/ \ - --with-kdelibsdoc-dir=%{tde_docdir}/HTML/en/kdelibs-apidocs/ \ - --with-extra-libs=%{_libdir} \ - --with-extra-includes=%{_includedir}/tqt - - -# parallel make disabled because otherwise main.cpp can get built before -# profileeditorbase.h is fully generated -%__make -%__make %{?_smp_mflags} -C c_cpp_reference-2.0.2_for_KDE_3.0 - - -%install -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -%__make install DESTDIR=%{buildroot} -C c_cpp_reference-2.0.2_for_KDE_3.0 - -# remove useless files -%__rm -rf %{buildroot}%{_prefix}/kdevbdb - - -%post -for f in hicolor locolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -for f in hicolor locolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%post libs -/sbin/ldconfig - -%postun libs -/sbin/ldconfig - - -%clean -%__rm -rf %{buildroot} - - -%files -%defattr(-,root,root,-) -%{tde_docdir}/HTML/en/* -%{_bindir}/* -%{tde_libdir}/* -%{_libdir}/kconf_update_bin/* -%{_datadir}/applications/kde/* -%{_datadir}/apps/* -%{_datadir}/config/* -%{_datadir}/desktop-directories/* -%{_datadir}/icons/hicolor/*/*/* -%{_datadir}/icons/locolor/*/*/* -%{_datadir}/mimelnk/application/* -%{_datadir}/mimelnk/text/* -%{_datadir}/services/* -%{_datadir}/servicetypes/* - -%files libs -%defattr(-,root,root,-) -%{_libdir}/lib*.so.* -%{_libdir}/lib*.la - -%files devel -%defattr(-,root,root,-) -%{_libdir}/lib*.so -%{_includedir}/* - - -%changelog -* Mon Sep 19 2011 Francois Andriot - 3.5.12-2 -- Add support for RHEL5 - -* Sun Sep 11 2011 Francois Andriot - 3.5.12-1 -- Initial build for RHEL 6 -- Spec file based on Fedora 8 "kdeedu-3.5.3-1" -- Import to GIT diff --git a/redhat/tdevelop/trinity-kdevelop-3.5.13.1.spec b/redhat/tdevelop/trinity-kdevelop-3.5.13.1.spec deleted file mode 100644 index 2a8d59cc2..000000000 --- a/redhat/tdevelop/trinity-kdevelop-3.5.13.1.spec +++ /dev/null @@ -1,636 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -Name: trinity-tdevelop -Summary: Integrated Development Environment for C++/C -Version: 3.5.13.1 -Release: 1%{?dist}%{?_variant} - -License: GPLv2 -Group: Development/Tools - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source: kdevelop-3.5.13.1.tar.gz -Source1: ftp://129.187.206.68/pub/unix/ide/KDevelop/c_cpp_reference-2.0.2_for_KDE_3.0.tar.bz2 - -# [c_cpp_ref] Fix library directories detection -Patch1: c_cpp_reference-2.0.2-config.patch - -# [kdevelop] fix FTBFS -Patch2: kdevelop-3.5.13-kdevdesigner-ftbfs.patch - -# [c_cpp_ref] Fix installation of 'asm' files -Patch4: c_cpp_reference-2.0.2-install.patch - -Requires: %{name}-libs = %{version}-%{release} - - -Requires: make -Requires: perl -Requires: flex >= 2.5.4 -%if 0%{?rhel} || 0%{?fedora} -Requires: qt3-designer -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -Requires: %{_lib}qt3-devel -%endif -%if 0%{?suse_version} -Requires: qt3-devel -%endif -Requires: gettext -Requires: ctags - -BuildRequires: cmake >= 2.8 -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-arts-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} -BuildRequires: trinity-tdesdk-devel >= %{version} -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: db4-devel -%endif -BuildRequires: flex -# FIXME: No CVS support in KDevelop? This is going to suck... -# Requires kdesdk3. -BuildRequires: subversion-devel -BuildRequires: neon-devel -# looks like this is dragged in by apr-devel (dep of subversion-devel), but not -# a dependency -%if 0%{?suse_version} -BuildRequires: openldap2-devel -%else -BuildRequires: openldap-devel -%endif - -Obsoletes: trinity-kdevelop < %{version}-%{release} -Provides: trinity-kdevelop = %{version}-%{release} - -%description -The TDevelop Integrated Development Environment provides many features -that developers need as well as providing a unified interface to programs -like gdb, the C/C++ compiler, and make. TDevelop manages or provides: - -All development tools needed for C++ programming like Compiler, -Linker, automake and autoconf; KAppWizard, which generates complete, -ready-to-go sample applications; Classgenerator, for creating new -classes and integrating them into the current project; File management -for sources, headers, documentation etc. to be included in the -project; The creation of User-Handbooks written with SGML and the -automatic generation of HTML-output with the KDE look and feel; -Automatic HTML-based API-documentation for your project's classes with -cross-references to the used libraries; Internationalization support -for your application, allowing translators to easily add their target -language to a project; - -KDevelop also includes WYSIWYG (What you see is what you get)-creation -of user interfaces with a built-in dialog editor; Debugging your -application by integrating KDbg; Editing of project-specific pixmaps -with KIconEdit; The inclusion of any other program you need for -development by adding it to the "Tools"-menu according to your -individual needs. - -%files -%defattr(-,root,root,-) -%{tde_bindir}/kdevassistant -%{tde_bindir}/kdevdesigner -%{tde_bindir}/kdevelop -%{tde_bindir}/kdevelop-htdig -%{tde_bindir}/kdevprj2kdevelop -%{tde_bindir}/kdevprofileeditor -%{tde_libdir}/kconf_update_bin/kdev-gen-settings-kconf_update -%{tde_tdeappdir}/kdevassistant.desktop -%{tde_tdeappdir}/kdevdesigner.desktop -%{tde_tdeappdir}/kdevelop.desktop -%{tde_tdeappdir}/kdevelop_c_cpp.desktop -%{tde_tdeappdir}/kdevelop_kde_cpp.desktop -%{tde_tdeappdir}/kdevelop_ruby.desktop -%{tde_tdeappdir}/kdevelop_scripting.desktop -%{tde_tdelibdir}/kio_chm.la -%{tde_tdelibdir}/kio_chm.so -%{tde_tdelibdir}/kio_csharpdoc.la -%{tde_tdelibdir}/kio_csharpdoc.so -%{tde_tdelibdir}/kio_perldoc.la -%{tde_tdelibdir}/kio_perldoc.so -%{tde_tdelibdir}/kio_pydoc.la -%{tde_tdelibdir}/kio_pydoc.so -%{tde_tdelibdir}/libdocchmplugin.la -%{tde_tdelibdir}/libdocchmplugin.so -%{tde_tdelibdir}/libdoccustomplugin.la -%{tde_tdelibdir}/libdoccustomplugin.so -%{tde_tdelibdir}/libdocdevhelpplugin.la -%{tde_tdelibdir}/libdocdevhelpplugin.so -%{tde_tdelibdir}/libdocdoxygenplugin.la -%{tde_tdelibdir}/libdocdoxygenplugin.so -%{tde_tdelibdir}/libdockdevtocplugin.la -%{tde_tdelibdir}/libdockdevtocplugin.so -%{tde_tdelibdir}/libdocqtplugin.la -%{tde_tdelibdir}/libdocqtplugin.so -%{tde_tdelibdir}/libkchmpart.la -%{tde_tdelibdir}/libkchmpart.so -%{tde_tdelibdir}/libkdevabbrev.la -%{tde_tdelibdir}/libkdevabbrev.so -%{tde_tdelibdir}/libkdevadaproject.la -%{tde_tdelibdir}/libkdevadaproject.so -%{tde_tdelibdir}/libkdevadasupport.la -%{tde_tdelibdir}/libkdevadasupport.so -%{tde_tdelibdir}/libkdevantproject.la -%{tde_tdelibdir}/libkdevantproject.so -%{tde_tdelibdir}/libkdevappview.la -%{tde_tdelibdir}/libkdevappview.so -%{tde_tdelibdir}/libkdevappwizard.la -%{tde_tdelibdir}/libkdevappwizard.so -%{tde_tdelibdir}/libkdevastyle.la -%{tde_tdelibdir}/libkdevastyle.so -%{tde_tdelibdir}/libkdevautoproject.la -%{tde_tdelibdir}/libkdevautoproject.so -%{tde_tdelibdir}/libkdevbashsupport.la -%{tde_tdelibdir}/libkdevbashsupport.so -%{tde_tdelibdir}/libkdevbookmarks.la -%{tde_tdelibdir}/libkdevbookmarks.so -%{tde_tdelibdir}/libkdevclassview.la -%{tde_tdelibdir}/libkdevclassview.so -%{tde_tdelibdir}/libkdevcppsupport.la -%{tde_tdelibdir}/libkdevcppsupport.so -%{tde_tdelibdir}/libkdevcsharpsupport.la -%{tde_tdelibdir}/libkdevcsharpsupport.so -%{tde_tdelibdir}/libkdevctags2.la -%{tde_tdelibdir}/libkdevctags2.so -%{tde_tdelibdir}/libkdevcustompcsimporter.la -%{tde_tdelibdir}/libkdevcustompcsimporter.so -%{tde_tdelibdir}/libkdevcustomproject.la -%{tde_tdelibdir}/libkdevcustomproject.so -%{tde_tdelibdir}/libkdevdccoptions.la -%{tde_tdelibdir}/libkdevdccoptions.so -%{tde_tdelibdir}/libkdevdebugger.la -%{tde_tdelibdir}/libkdevdebugger.so -%{tde_tdelibdir}/libkdevdesignerpart.la -%{tde_tdelibdir}/libkdevdesignerpart.so -%{tde_tdelibdir}/libkdevdiff.la -%{tde_tdelibdir}/libkdevdiff.so -%{tde_tdelibdir}/libkdevdistpart.la -%{tde_tdelibdir}/libkdevdistpart.so -%{tde_tdelibdir}/libkdevdocumentation.la -%{tde_tdelibdir}/libkdevdocumentation.so -%{tde_tdelibdir}/libkdevdoxygen.la -%{tde_tdelibdir}/libkdevdoxygen.so -%{tde_tdelibdir}/libkdeveditorchooser.la -%{tde_tdelibdir}/libkdeveditorchooser.so -%{tde_tdelibdir}/libkdevfilecreate.la -%{tde_tdelibdir}/libkdevfilecreate.so -%{tde_tdelibdir}/libkdevfilegroups.la -%{tde_tdelibdir}/libkdevfilegroups.so -%{tde_tdelibdir}/libkdevfilelist.la -%{tde_tdelibdir}/libkdevfilelist.so -%{tde_tdelibdir}/libkdevfileselector.la -%{tde_tdelibdir}/libkdevfileselector.so -%{tde_tdelibdir}/libkdevfileview.la -%{tde_tdelibdir}/libkdevfileview.so -%{tde_tdelibdir}/libkdevfilter.la -%{tde_tdelibdir}/libkdevfilter.so -%{tde_tdelibdir}/libkdevfortransupport.la -%{tde_tdelibdir}/libkdevfortransupport.so -%{tde_tdelibdir}/libkdevfpcoptions.la -%{tde_tdelibdir}/libkdevfpcoptions.so -%{tde_tdelibdir}/libkdevfullscreen.la -%{tde_tdelibdir}/libkdevfullscreen.so -%{tde_tdelibdir}/libkdevgccoptions.la -%{tde_tdelibdir}/libkdevgccoptions.so -%{tde_tdelibdir}/libkdevgrepview.la -%{tde_tdelibdir}/libkdevgrepview.so -%{tde_tdelibdir}/libkdevjavasupport.la -%{tde_tdelibdir}/libkdevjavasupport.so -%{tde_tdelibdir}/libkdevkdelibsimporter.la -%{tde_tdelibdir}/libkdevkdelibsimporter.so -%{tde_tdelibdir}/libkdevkonsoleview.la -%{tde_tdelibdir}/libkdevkonsoleview.so -%{tde_tdelibdir}/libkdevmakeview.la -%{tde_tdelibdir}/libkdevmakeview.so -%{tde_tdelibdir}/libkdevopenwith.la -%{tde_tdelibdir}/libkdevopenwith.so -%{tde_tdelibdir}/libkdevpartexplorer.la -%{tde_tdelibdir}/libkdevpartexplorer.so -%{tde_tdelibdir}/libkdevpascalproject.la -%{tde_tdelibdir}/libkdevpascalproject.so -%{tde_tdelibdir}/libkdevpascalsupport.la -%{tde_tdelibdir}/libkdevpascalsupport.so -%{tde_tdelibdir}/libkdevperlsupport.la -%{tde_tdelibdir}/libkdevperlsupport.so -%{tde_tdelibdir}/libkdevpgioptions.la -%{tde_tdelibdir}/libkdevpgioptions.so -%{tde_tdelibdir}/libkdevphpsupport.la -%{tde_tdelibdir}/libkdevphpsupport.so -%{tde_tdelibdir}/libkdevpythonsupport.la -%{tde_tdelibdir}/libkdevpythonsupport.so -%{tde_tdelibdir}/libkdevqt4importer.la -%{tde_tdelibdir}/libkdevqt4importer.so -%{tde_tdelibdir}/libkdevqtimporter.la -%{tde_tdelibdir}/libkdevqtimporter.so -%{tde_tdelibdir}/libkdevquickopen.la -%{tde_tdelibdir}/libkdevquickopen.so -%{tde_tdelibdir}/libkdevrbdebugger.la -%{tde_tdelibdir}/libkdevrbdebugger.so -%{tde_tdelibdir}/libkdevregexptest.la -%{tde_tdelibdir}/libkdevregexptest.so -%{tde_tdelibdir}/libkdevreplace.la -%{tde_tdelibdir}/libkdevreplace.so -%{tde_tdelibdir}/libkdevrubysupport.la -%{tde_tdelibdir}/libkdevrubysupport.so -%{tde_tdelibdir}/libkdevscripting.la -%{tde_tdelibdir}/libkdevscripting.so -%{tde_tdelibdir}/libkdevscriptproject.la -%{tde_tdelibdir}/libkdevscriptproject.so -%{tde_tdelibdir}/libkdevsnippet.la -%{tde_tdelibdir}/libkdevsnippet.so -%{tde_tdelibdir}/libkdevsqlsupport.la -%{tde_tdelibdir}/libkdevsqlsupport.so -%{tde_tdelibdir}/libkdevtexttools.la -%{tde_tdelibdir}/libkdevtexttools.so -%{tde_tdelibdir}/libkdevtipofday.la -%{tde_tdelibdir}/libkdevtipofday.so -%{tde_tdelibdir}/libkdevtools.la -%{tde_tdelibdir}/libkdevtools.so -%{tde_tdelibdir}/libkdevtrollproject.la -%{tde_tdelibdir}/libkdevtrollproject.so -%{tde_tdelibdir}/libkdevuichooser.la -%{tde_tdelibdir}/libkdevuichooser.so -%{tde_tdelibdir}/libkdevvalgrind.la -%{tde_tdelibdir}/libkdevvalgrind.so -%{tde_tdelibdir}/libkdevvcsmanager.la -%{tde_tdelibdir}/libkdevvcsmanager.so -%{tde_datadir}/apps/kconf_update/ -%{tde_datadir}/apps/kdevabbrev/ -%{tde_datadir}/apps/kdevadaproject/kdevadaproject.rc -%{tde_datadir}/apps/kdevadasupport/kdevadasupport.rc -%{tde_datadir}/apps/kdevantproject/kdevantproject.rc -%{tde_datadir}/apps/kdevappoutputview/kdevmakeview.rc -%{tde_datadir}/apps/kdevappwizard/ -%{tde_datadir}/apps/kdevassistant/kdevassistantui.rc -%{tde_datadir}/apps/kdevastyle/kdevpart_astyle.rc -%{tde_datadir}/apps/kdevautoproject/kdevautoproject.rc -%{tde_datadir}/apps/kdevbashsupport/kdevbashsupport.rc -%{tde_datadir}/apps/kdevclassview/ -%{tde_datadir}/apps/kdevcppsupport/ -%{tde_datadir}/icons/hicolor/*/actions/breakpoint_add.png -%{tde_datadir}/icons/hicolor/*/actions/breakpoint_delete.png -%{tde_datadir}/icons/hicolor/*/actions/breakpoint_delete_all.png -%{tde_datadir}/icons/hicolor/*/actions/breakpoint_edit.png -%{tde_datadir}/icons/hicolor/*/actions/ktip.png -%{tde_datadir}/icons/hicolor/*/apps/kdevassistant.png -%{tde_datadir}/icons/hicolor/*/apps/kdevdesigner.png -%{tde_datadir}/icons/hicolor/*/apps/kdevelop.png -%{tde_datadir}/icons/locolor/*/actions/kdevelop_tip.png -%{tde_datadir}/mimelnk/application/x-kdevelop.desktop -%{tde_datadir}/mimelnk/x-fortran.desktop -%{tde_datadir}/services/chm.protocol -%{tde_datadir}/services/csharpdoc.protocol -%{tde_datadir}/services/docchmplugin.desktop -%{tde_datadir}/services/doccustomplugin.desktop -%{tde_datadir}/services/docdevhelpplugin.desktop -%{tde_datadir}/services/docdoxygenplugin.desktop -%{tde_datadir}/services/dockdevtocplugin.desktop -%{tde_datadir}/services/docqtplugin.desktop -%{tde_datadir}/services/kchmpart.desktop -%{tde_datadir}/services/kdevabbrev.desktop -%{tde_datadir}/services/kdevadaproject.desktop -%{tde_datadir}/services/kdevadasupport.desktop -%{tde_datadir}/services/kdevantproject.desktop -%{tde_datadir}/services/kdevappoutputview.desktop -%{tde_datadir}/services/kdevappwizard.desktop -%{tde_datadir}/services/kdevastyle.desktop -%{tde_datadir}/services/kdevautoproject.desktop -%{tde_datadir}/services/kdevbashsupport.desktop -%{tde_datadir}/services/kdevbookmarks.desktop -%{tde_datadir}/services/kdevclassview.desktop -%{tde_datadir}/services/kdevcppsupport.desktop -%{tde_datadir}/services/kdevcsharpsupport.desktop -%{tde_datadir}/services/kdevcsupport.desktop -%{tde_datadir}/services/kdevctags2.desktop -%{tde_datadir}/services/kdevcustomproject.desktop -%{tde_datadir}/services/kdevdccoptions.desktop -%{tde_datadir}/services/kdevdebugger.desktop -%{tde_datadir}/services/kdevdesigner_part.desktop -%{tde_datadir}/services/kdevdiff.desktop -%{tde_datadir}/services/kdevdistpart.desktop -%{tde_datadir}/services/kdevdocumentation.desktop -%{tde_datadir}/services/kdevdoxygen.desktop -%{tde_datadir}/services/kdeveditorchooser.desktop -%{tde_datadir}/services/kdevfilecreate.desktop -%{tde_datadir}/services/kdevfilegroups.desktop -%{tde_datadir}/services/kdevfilelist.desktop -%{tde_datadir}/services/kdevfileselector.desktop -%{tde_datadir}/services/kdevfileview.desktop -%{tde_datadir}/services/kdevfilter.desktop -%{tde_datadir}/services/kdevfortransupport.desktop -%{tde_datadir}/services/kdevfpcoptions.desktop -%{tde_datadir}/services/kdevfullscreen.desktop -%{tde_datadir}/services/kdevg77options.desktop -%{tde_datadir}/services/kdevgccoptions.desktop -%{tde_datadir}/services/kdevgppoptions.desktop -%{tde_datadir}/services/kdevgrepview.desktop -%{tde_datadir}/services/kdevjavasupport.desktop -%{tde_datadir}/services/kdevkdeautoproject.desktop -%{tde_datadir}/services/kdevkdelibsimporter.desktop -%{tde_datadir}/services/kdevkonsoleview.desktop -%{tde_datadir}/services/kdevmakeview.desktop -%{tde_datadir}/services/kdevopenwith.desktop -%{tde_datadir}/services/kdevpartexplorer.desktop -%{tde_datadir}/services/kdevpascalproject.desktop -%{tde_datadir}/services/kdevpascalsupport.desktop -%{tde_datadir}/services/kdevpcscustomimporter.desktop -%{tde_datadir}/services/kdevperlsupport.desktop -%{tde_datadir}/services/kdevpgf77options.desktop -%{tde_datadir}/services/kdevpghpfoptions.desktop -%{tde_datadir}/services/kdevphpsupport.desktop -%{tde_datadir}/services/kdevpythonsupport.desktop -%{tde_datadir}/services/kdevqt4importer.desktop -%{tde_datadir}/services/kdevqtimporter.desktop -%{tde_datadir}/services/kdevquickopen.desktop -%{tde_datadir}/services/kdevrbdebugger.desktop -%{tde_datadir}/services/kdevregexptest.desktop -%{tde_datadir}/services/kdevreplace.desktop -%{tde_datadir}/services/kdevrubysupport.desktop -%{tde_datadir}/services/kdevscripting.desktop -%{tde_datadir}/services/kdevscriptproject.desktop -%{tde_datadir}/services/kdevsnippet.desktop -%{tde_datadir}/services/kdevsqlsupport.desktop -%{tde_datadir}/services/kdevtexttools.desktop -%{tde_datadir}/services/kdevtipofday.desktop -%{tde_datadir}/services/kdevtmakeproject.desktop -%{tde_datadir}/services/kdevtools.desktop -%{tde_datadir}/services/kdevtrollproject.desktop -%{tde_datadir}/services/kdevuichooser.desktop -%{tde_datadir}/services/kdevvalgrind.desktop -%{tde_datadir}/services/kdevvcsmanager.desktop -%{tde_datadir}/services/perldoc.protocol -%{tde_datadir}/services/pydoc.protocol -%{tde_datadir}/servicetypes/kdevelopappfrontend.desktop -%{tde_datadir}/servicetypes/kdevelopcodebrowserfrontend.desktop -%{tde_datadir}/servicetypes/kdevelopcompileroptions.desktop -%{tde_datadir}/servicetypes/kdevelopcreatefile.desktop -%{tde_datadir}/servicetypes/kdevelopdifffrontend.desktop -%{tde_datadir}/servicetypes/kdevelopdocumentationplugins.desktop -%{tde_datadir}/servicetypes/kdeveloplanguagesupport.desktop -%{tde_datadir}/servicetypes/kdevelopmakefrontend.desktop -%{tde_datadir}/servicetypes/kdeveloppcsimporter.desktop -%{tde_datadir}/servicetypes/kdevelopplugin.desktop -%{tde_datadir}/servicetypes/kdevelopproject.desktop -%{tde_datadir}/servicetypes/kdevelopquickopen.desktop -%{tde_datadir}/servicetypes/kdevelopsourceformatter.desktop -%{tde_datadir}/servicetypes/kdevelopvcsintegrator.desktop -%{tde_datadir}/servicetypes/kdevelopversioncontrol.desktop -%{tde_datadir}/apps/kdevcsharpsupport/kdevcsharpsupport.rc -%{tde_datadir}/apps/kdevctags2/kdevpart_ctags2.rc -%{tde_datadir}/apps/kdevcustomproject/kdevcustomproject.rc -%{tde_datadir}/apps/kdevdebugger/ -%{tde_datadir}/apps/kdevdesigner/kdevdesigner_shell.rc -%{tde_datadir}/apps/kdevdesignerpart/kdevdesigner_part.rc -%{tde_datadir}/apps/kdevdesignerpart/kdevdesigner_part_sh.rc -%{tde_datadir}/apps/kdevdiff/kdevdiff.rc -%{tde_datadir}/apps/kdevdistpart/kdevpart_distpart.rc -%{tde_datadir}/apps/kdevdocumentation/ -%{tde_datadir}/apps/kdevdoxygen/kdevdoxygen.rc -%{tde_datadir}/apps/kdevelop/ -%{tde_datadir}/apps/kdevfilecreate/ -%{tde_datadir}/apps/kdevfilelist/kdevfilelist.rc -%{tde_datadir}/apps/kdevfilter/kdevfilter.rc -%{tde_datadir}/apps/kdevfortransupport/kdevfortransupport.rc -%{tde_datadir}/apps/kdevfullscreen/kdevpart_fullscreen.rc -%{tde_datadir}/apps/kdevgrepview/ -%{tde_datadir}/apps/kdevjavasupport/kdevjavasupport.rc -%{tde_datadir}/apps/kdevmakeview/kdevmakeview.rc -%{tde_datadir}/apps/kdevpartexplorer/kdevpartexplorer.rc -%{tde_datadir}/apps/kdevpascalproject/kdevpascalproject.rc -%{tde_datadir}/apps/kdevpascalsupport/kdevpascalsupport.rc -%{tde_datadir}/apps/kdevperlsupport/kdevperlsupport.rc -%{tde_datadir}/apps/kdevphpsupport/kdevphpsupport.rc -%{tde_datadir}/apps/kdevphpsupport/phpfunctions -%{tde_datadir}/apps/kdevpythonsupport/kdevpythonsupport.rc -%{tde_datadir}/apps/kdevquickopen/kdevpart_quickopen.rc -%{tde_datadir}/apps/kdevrbdebugger/ -%{tde_datadir}/apps/kdevregexptest/kdevregexptest.rc -%{tde_datadir}/apps/kdevreplace/kdevpart_replace.rc -%{tde_datadir}/apps/kdevrubysupport/kdevrubysupport.rc -%{tde_datadir}/apps/kdevrubysupport/pics/ruby_config.png -%{tde_datadir}/apps/kdevrubysupport/pics/ruby_run.png -%{tde_datadir}/apps/kdevscripting/kdevscripting.rc -%{tde_datadir}/apps/kdevscriptproject/kdevscriptproject.rc -%{tde_datadir}/apps/kdevsnippet/kdevpart_snippet.rc -%{tde_datadir}/apps/kdevsqlsupport/kdevsqlsupport.rc -%{tde_datadir}/apps/kdevtipofday/kdevpart_tipofday.rc -%{tde_datadir}/apps/kdevtipofday/tips -%{tde_datadir}/apps/kdevtools/kdevpart_tools.rc -%{tde_datadir}/apps/kdevtrollproject/kdevtrollproject.rc -%{tde_datadir}/apps/kdevvalgrind/kdevpart_valgrind.rc -%{tde_datadir}/apps/kio_pydoc/kde_pydoc.py* -%{tde_datadir}/config/kdevassistantrc -%{tde_datadir}/config/kdeveloprc -%{tde_datadir}/desktop-directories/kde-development-kdevelop.directory -%{tde_tdedocdir}/HTML/en/kdevelop/ - - -%post -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name}-libs = %{version}-%{release} - -Obsoletes: trinity-kdevelop-devel < %{version}-%{release} -Provides: trinity-kdevelop-devel = %{version}-%{release} - -%description devel -%{summary}. - -%files devel -%defattr(-,root,root,-) -%{tde_libdir}/lib*.so -%{tde_libdir}/lib*.la -%{tde_includedir}/* - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - -########## - -%package libs -Summary: %{name} runtime libraries -Group: System Environment/Libraries -Requires: trinity-kdelibs -# include to be paranoid, installing libs-only is still mostly untested -- Rex -Requires: %{name} = %{version}-%{release} - -Obsoletes: trinity-kdevelop-libs < %{version}-%{release} -Provides: trinity-kdevelop-libs = %{version}-%{release} - -%description libs -%{summary}. - -%files libs -%defattr(-,root,root,-) -%{tde_libdir}/libdesignerintegration.so.0 -%{tde_libdir}/libdesignerintegration.so.0.0.0 -%{tde_libdir}/libdocumentation_interfaces.so.0 -%{tde_libdir}/libdocumentation_interfaces.so.0.0.0 -%{tde_libdir}/libgdbmi_parser.so.0 -%{tde_libdir}/libgdbmi_parser.so.0.0.0 -%{tde_libdir}/libkdevbuildbase.so.0 -%{tde_libdir}/libkdevbuildbase.so.0.0.0 -%{tde_libdir}/libkdevbuildtoolswidgets.so.0 -%{tde_libdir}/libkdevbuildtoolswidgets.so.0.0.0 -%{tde_libdir}/libkdevcatalog.so.0 -%{tde_libdir}/libkdevcatalog.so.0.0.0 -%{tde_libdir}/libkdevcppparser.so.0 -%{tde_libdir}/libkdevcppparser.so.0.0.0 -%{tde_libdir}/libkdevelop.so.1 -%{tde_libdir}/libkdevelop.so.1.0.0 -%{tde_libdir}/libkdevextras.so.0 -%{tde_libdir}/libkdevextras.so.0.0.0 -%{tde_libdir}/libkdevpropertyeditor.so.0 -%{tde_libdir}/libkdevpropertyeditor.so.0.0.0 -%{tde_libdir}/libkdevqmakeparser.so.0 -%{tde_libdir}/libkdevqmakeparser.so.0.0.0 -%{tde_libdir}/libkdevshell.so.0 -%{tde_libdir}/libkdevshell.so.0.0.0 -%{tde_libdir}/libkdevwidgets.so.0 -%{tde_libdir}/libkdevwidgets.so.0.0.0 -%{tde_libdir}/liblang_debugger.so.0 -%{tde_libdir}/liblang_debugger.so.0.0.0 -%{tde_libdir}/liblang_interfaces.so.0 -%{tde_libdir}/liblang_interfaces.so.0.0.0 -%{tde_libdir}/libprofileengine.so.0 -%{tde_libdir}/libprofileengine.so.0.0.0 - -%post libs -/sbin/ldconfig || : - -%postun libs -/sbin/ldconfig || : - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -n kdevelop-3.5.13.1 -a1 -%patch1 -p0 -b .config -%patch2 -p1 -%patch4 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" - -%__rm -rf c_cpp_reference-2.0.2_for_KDE_3.0/admin -%__cp -ar admin c_cpp_reference-2.0.2_for_KDE_3.0/ -%__make -C c_cpp_reference-2.0.2_for_KDE_3.0 -f admin/Makefile.common cvs - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" -export LD_LIBRARY_PATH="%{tde_libdir}" - -# Specific path for RHEL4 -if [ -d /usr/X11R6 ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -# c references -pushd c_cpp_reference-2.0.2_for_KDE_3.0 -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --with-qt-libraries=${QTLIB:-${QTDIR}/%{_lib}} \ - --with-qt-includes=${QTINC:-${QTDIR}/include} \ - --with-extra-libs=%{tde_libdir} -popd - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - -DWITH_BUILDTOOL_ALL=ON \ - -DWITH_LANGUAGE_ALL=ON \ - -DWITH_VCS_ALL=OFF \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} - -# c references -cd .. -%__make %{?_smp_mflags} -C c_cpp_reference-2.0.2_for_KDE_3.0 - -%install -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build -%__make install DESTDIR=%{buildroot} -C c_cpp_reference-2.0.2_for_KDE_3.0 - - -%clean -%__rm -rf %{buildroot} - - -%changelog -* Mon Oct 01 2012 Francois Andriot - 3.5.13.1-1 -- Initial build for TDE 3.5.13.1 diff --git a/redhat/tdevelop/trinity-kdevelop-3.5.13.spec b/redhat/tdevelop/trinity-kdevelop-3.5.13.spec deleted file mode 100644 index 59d57935f..000000000 --- a/redhat/tdevelop/trinity-kdevelop-3.5.13.spec +++ /dev/null @@ -1,292 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -Name: trinity-tdevelop -Summary: Integrated Development Environment for C++/C -Version: 3.5.13 -Release: 5%{?dist}%{?_variant} - -License: GPLv2 -Group: Development/Tools - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source: kdevelop-%{version}.tar.gz -Source1: ftp://129.187.206.68/pub/unix/ide/KDevelop/c_cpp_reference-2.0.2_for_KDE_3.0.tar.bz2 - -# [c_cpp_ref] Fix library directories detection -Patch1: c_cpp_reference-2.0.2-config.patch - -# [kdevelop] fix FTBFS -Patch2: kdevelop-3.5.13-kdevdesigner-ftbfs.patch - -# [kdevelop] Fix compilation with GCC 4.7 [Bug #958] -Patch3: kdevelop-3.5.13-gcc47.patch - -# [c_cpp_ref] Fix installation of 'asm' files -Patch4: c_cpp_reference-2.0.2-install.patch - -Requires: %{name}-libs = %{version}-%{release} - - -Requires: make -Requires: perl -Requires: flex >= 2.5.4 -%if 0%{?rhel} || 0%{?fedora} -Requires: qt3-designer >= 3.3.8.d -%else -Requires: %{_lib}qt3-devel >= 3.3.8.d -%endif -Requires: gettext -Requires: ctags - -BuildRequires: cmake >= 2.8 -BuildRequires: tqtinterface-devel >= 3.5.13 -BuildRequires: trinity-arts-devel >= 3.5.13 -BuildRequires: trinity-tdelibs-devel >= 3.5.13 -#BuildRequires: qt3-devel-docs >= 3.3.8.d -%if 0%{?mgaversion} || 0%{?mdkversion} -#BuildRequires: %{_lib}db5.1-devel -%else -BuildRequires: db4-devel -%endif -BuildRequires: flex -# FIXME: No CVS support in KDevelop? This is going to suck... -# Requires kdesdk3. -BuildRequires: trinity-tdesdk-devel >= 3.5.13 -BuildRequires: subversion-devel -BuildRequires: neon-devel -# looks like this is dragged in by apr-devel (dep of subversion-devel), but not -# a dependency -BuildRequires: openldap-devel - -Obsoletes: trinity-kdevelop < %{version}-%{release} -Provides: trinity-kdevelop = %{version}-%{release} - -%description -The TDevelop Integrated Development Environment provides many features -that developers need as well as providing a unified interface to programs -like gdb, the C/C++ compiler, and make. TDevelop manages or provides: - -All development tools needed for C++ programming like Compiler, -Linker, automake and autoconf; KAppWizard, which generates complete, -ready-to-go sample applications; Classgenerator, for creating new -classes and integrating them into the current project; File management -for sources, headers, documentation etc. to be included in the -project; The creation of User-Handbooks written with SGML and the -automatic generation of HTML-output with the KDE look and feel; -Automatic HTML-based API-documentation for your project's classes with -cross-references to the used libraries; Internationalization support -for your application, allowing translators to easily add their target -language to a project; - -KDevelop also includes WYSIWYG (What you see is what you get)-creation -of user interfaces with a built-in dialog editor; Debugging your -application by integrating KDbg; Editing of project-specific pixmaps -with KIconEdit; The inclusion of any other program you need for -development by adding it to the "Tools"-menu according to your -individual needs. - -%files -%defattr(-,root,root,-) -%{tde_bindir}/* -%{tde_tdelibdir}/* -%{tde_libdir}/kconf_update_bin/* -%{tde_tdeappdir}/* -%{tde_datadir}/apps/* -%{tde_datadir}/config/* -%{tde_datadir}/desktop-directories/* -%{tde_datadir}/icons/hicolor/*/*/* -%{tde_datadir}/icons/locolor/*/*/* -%{tde_datadir}/mimelnk/*.desktop -%{tde_datadir}/mimelnk/*/* -%{tde_datadir}/services/* -%{tde_datadir}/servicetypes/* -%{tde_tdedocdir}/HTML/en/* - -%post -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name}-libs = %{version}-%{release} - -Obsoletes: trinity-kdevelop-devel < %{version}-%{release} -Provides: trinity-kdevelop-devel = %{version}-%{release} - -%description devel -%{summary}. - -%files devel -%defattr(-,root,root,-) -%{tde_libdir}/lib*.so -%{tde_libdir}/lib*.la -%{tde_includedir}/* - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - -########## - -%package libs -Summary: %{name} runtime libraries -Group: System Environment/Libraries -Requires: trinity-kdelibs -# include to be paranoid, installing libs-only is still mostly untested -- Rex -Requires: %{name} = %{version}-%{release} - -Obsoletes: trinity-kdevelop-libs < %{version}-%{release} -Provides: trinity-kdevelop-libs = %{version}-%{release} - -%description libs -%{summary}. - -%files libs -%defattr(-,root,root,-) -%{tde_libdir}/lib*.so.* - -%post libs -/sbin/ldconfig || : - -%postun libs -/sbin/ldconfig || : - -########## - -%prep -%setup -q -n kdevelop -a1 -%patch1 -p0 -b .config -%patch2 -p1 -%patch3 -p1 -b .gcc47 -%patch4 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" - -%__rm -rf c_cpp_reference-2.0.2_for_KDE_3.0/admin -%__cp -ar admin c_cpp_reference-2.0.2_for_KDE_3.0/ -%__make -C c_cpp_reference-2.0.2_for_KDE_3.0 -f admin/Makefile.common cvs - - -%build -unset QTDIR || : ; . /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" -export LD_LIBRARY_PATH="%{tde_libdir}" - -# c references -pushd c_cpp_reference-2.0.2_for_KDE_3.0 -%configure \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --with-qt-libraries=${QTLIB} \ - --with-qt-includes=${QTINC} \ - --with-extra-libs=%{tde_libdir} -popd - -%if 0%{?rhel} || 0%{?fedora} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - -DWITH_BUILDTOOL_ALL=ON \ - -DWITH_LANGUAGE_ALL=ON \ - -DWITH_VCS_ALL=OFF \ - -DBUILD_ALL=ON \ - .. - - -%__make %{?_smp_mflags} VERBOSE=1 - -# c references -cd .. -%__make %{?_smp_mflags} -C c_cpp_reference-2.0.2_for_KDE_3.0 - -%install -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build -%__make install DESTDIR=%{buildroot} -C c_cpp_reference-2.0.2_for_KDE_3.0 - -# remove useless files -#%__rm -rf %{buildroot}%{tde_prefix}/kdevbdb - - -%clean -%__rm -rf %{buildroot} - - -%changelog -* Wed Aug 01 2012 Francois Andriot - 3.5.13-5 -- Renames to 'trinity-tdevelop' -- Add support for Mageia 2 - -* Sun Jul 08 2012 Francois Andriot - 3.5.13-4 -- Removes runtime dependency to 'trinity-kdelibs' - -* Tue May 01 2012 Francois Andriot - 3.5.13-3 -- Fix installation on Fedora 17 -- Fix compilation on GCC 4.7 - -* Fri Nov 25 2011 Francois Andriot - 3.5.13-2 -- Fix HTML directory location - -* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 -- Initial release for RHEL 6, RHEL 5 and Fedora 15 - -* Sat Oct 29 2011 Francois Andriot - 3.5.13-0 -- Import to GIT -- Based on SPEC file from Fedora: kdevelop 9:3.5.3-1 diff --git a/redhat/tdevelop/trinity-tdevelop-3.5.13.2.spec b/redhat/tdevelop/trinity-tdevelop-3.5.13.2.spec deleted file mode 100644 index 775174d00..000000000 --- a/redhat/tdevelop/trinity-tdevelop-3.5.13.2.spec +++ /dev/null @@ -1,646 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%define tde_docdir %{tde_datadir}/doc -%define tde_includedir %{tde_prefix}/include -%define tde_libdir %{tde_prefix}/%{_lib} - -%define tde_tdeappdir %{tde_datadir}/applications/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -Name: trinity-tdevelop -Summary: Integrated Development Environment for C++/C -Version: 3.5.13.2 -Release: 1%{?dist}%{?_variant} - -License: GPLv2 -Group: Development/Tools - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}.tar.gz -Source1: ftp://129.187.206.68/pub/unix/ide/KDevelop/c_cpp_reference-2.0.2_for_KDE_3.0.tar.bz2 - -# [c_cpp_ref] Fix library directories detection -Patch1: c_cpp_reference-2.0.2-config.patch - -# [kdevelop] fix FTBFS -Patch2: kdevelop-3.5.13-kdevdesigner-ftbfs.patch - -# [c_cpp_ref] Fix installation of 'asm' files -Patch4: c_cpp_reference-2.0.2-install.patch - -Requires: %{name}-libs = %{version}-%{release} - - -Requires: make -Requires: perl -Requires: flex >= 2.5.4 -%if 0%{?rhel} || 0%{?fedora} -Requires: qt3-designer -%endif -%if 0%{?mgaversion} || 0%{?mdkversion} -Requires: %{_lib}qt3-devel -%endif -%if 0%{?suse_version} -Requires: qt3-devel -%endif -Requires: gettext -Requires: ctags - -BuildRequires: cmake >= 2.8 -BuildRequires: trinity-tqtinterface-devel >= %{version} -BuildRequires: trinity-arts-devel >= %{version} -BuildRequires: trinity-tdelibs-devel >= %{version} -BuildRequires: trinity-tdesdk-devel >= %{version} -%if 0%{?rhel} || 0%{?fedora} -BuildRequires: db4-devel -%endif -BuildRequires: flex -# FIXME: No CVS support in KDevelop? This is going to suck... -# Requires kdesdk3. -BuildRequires: subversion-devel -BuildRequires: neon-devel -# looks like this is dragged in by apr-devel (dep of subversion-devel), but not -# a dependency -%if 0%{?suse_version} -BuildRequires: openldap2-devel -%else -BuildRequires: openldap-devel -%endif - -Obsoletes: trinity-kdevelop < %{version}-%{release} -Provides: trinity-kdevelop = %{version}-%{release} - -%description -The TDevelop Integrated Development Environment provides many features -that developers need as well as providing a unified interface to programs -like gdb, the C/C++ compiler, and make. TDevelop manages or provides: - -All development tools needed for C++ programming like Compiler, -Linker, automake and autoconf; KAppWizard, which generates complete, -ready-to-go sample applications; Classgenerator, for creating new -classes and integrating them into the current project; File management -for sources, headers, documentation etc. to be included in the -project; The creation of User-Handbooks written with SGML and the -automatic generation of HTML-output with the KDE look and feel; -Automatic HTML-based API-documentation for your project's classes with -cross-references to the used libraries; Internationalization support -for your application, allowing translators to easily add their target -language to a project; - -KDevelop also includes WYSIWYG (What you see is what you get)-creation -of user interfaces with a built-in dialog editor; Debugging your -application by integrating KDbg; Editing of project-specific pixmaps -with KIconEdit; The inclusion of any other program you need for -development by adding it to the "Tools"-menu according to your -individual needs. - -%files -%defattr(-,root,root,-) -%{tde_bindir}/kdevassistant -%{tde_bindir}/kdevdesigner -%{tde_bindir}/kdevelop -%{tde_bindir}/kdevelop-htdig -%{tde_bindir}/kdevprj2kdevelop -%{tde_bindir}/kdevprofileeditor -%{tde_libdir}/kconf_update_bin/kdev-gen-settings-kconf_update -%{tde_tdeappdir}/kdevassistant.desktop -%{tde_tdeappdir}/kdevdesigner.desktop -%{tde_tdeappdir}/kdevelop.desktop -%{tde_tdeappdir}/kdevelop_c_cpp.desktop -%{tde_tdeappdir}/kdevelop_kde_cpp.desktop -%{tde_tdeappdir}/kdevelop_ruby.desktop -%{tde_tdeappdir}/kdevelop_scripting.desktop -%{tde_tdelibdir}/kio_chm.la -%{tde_tdelibdir}/kio_chm.so -%{tde_tdelibdir}/kio_csharpdoc.la -%{tde_tdelibdir}/kio_csharpdoc.so -%{tde_tdelibdir}/kio_perldoc.la -%{tde_tdelibdir}/kio_perldoc.so -%{tde_tdelibdir}/kio_pydoc.la -%{tde_tdelibdir}/kio_pydoc.so -%{tde_tdelibdir}/libdocchmplugin.la -%{tde_tdelibdir}/libdocchmplugin.so -%{tde_tdelibdir}/libdoccustomplugin.la -%{tde_tdelibdir}/libdoccustomplugin.so -%{tde_tdelibdir}/libdocdevhelpplugin.la -%{tde_tdelibdir}/libdocdevhelpplugin.so -%{tde_tdelibdir}/libdocdoxygenplugin.la -%{tde_tdelibdir}/libdocdoxygenplugin.so -%{tde_tdelibdir}/libdockdevtocplugin.la -%{tde_tdelibdir}/libdockdevtocplugin.so -%{tde_tdelibdir}/libdocqtplugin.la -%{tde_tdelibdir}/libdocqtplugin.so -%{tde_tdelibdir}/libkchmpart.la -%{tde_tdelibdir}/libkchmpart.so -%{tde_tdelibdir}/libkdevabbrev.la -%{tde_tdelibdir}/libkdevabbrev.so -%{tde_tdelibdir}/libkdevadaproject.la -%{tde_tdelibdir}/libkdevadaproject.so -%{tde_tdelibdir}/libkdevadasupport.la -%{tde_tdelibdir}/libkdevadasupport.so -%{tde_tdelibdir}/libkdevantproject.la -%{tde_tdelibdir}/libkdevantproject.so -%{tde_tdelibdir}/libkdevappview.la -%{tde_tdelibdir}/libkdevappview.so -%{tde_tdelibdir}/libkdevappwizard.la -%{tde_tdelibdir}/libkdevappwizard.so -%{tde_tdelibdir}/libkdevastyle.la -%{tde_tdelibdir}/libkdevastyle.so -%{tde_tdelibdir}/libkdevautoproject.la -%{tde_tdelibdir}/libkdevautoproject.so -%{tde_tdelibdir}/libkdevbashsupport.la -%{tde_tdelibdir}/libkdevbashsupport.so -%{tde_tdelibdir}/libkdevbookmarks.la -%{tde_tdelibdir}/libkdevbookmarks.so -%{tde_tdelibdir}/libkdevclassview.la -%{tde_tdelibdir}/libkdevclassview.so -%{tde_tdelibdir}/libkdevcppsupport.la -%{tde_tdelibdir}/libkdevcppsupport.so -%{tde_tdelibdir}/libkdevcsharpsupport.la -%{tde_tdelibdir}/libkdevcsharpsupport.so -%{tde_tdelibdir}/libkdevctags2.la -%{tde_tdelibdir}/libkdevctags2.so -%{tde_tdelibdir}/libkdevcustompcsimporter.la -%{tde_tdelibdir}/libkdevcustompcsimporter.so -%{tde_tdelibdir}/libkdevcustomproject.la -%{tde_tdelibdir}/libkdevcustomproject.so -%{tde_tdelibdir}/libkdevdccoptions.la -%{tde_tdelibdir}/libkdevdccoptions.so -%{tde_tdelibdir}/libkdevdebugger.la -%{tde_tdelibdir}/libkdevdebugger.so -%{tde_tdelibdir}/libkdevdesignerpart.la -%{tde_tdelibdir}/libkdevdesignerpart.so -%{tde_tdelibdir}/libkdevdiff.la -%{tde_tdelibdir}/libkdevdiff.so -%{tde_tdelibdir}/libkdevdistpart.la -%{tde_tdelibdir}/libkdevdistpart.so -%{tde_tdelibdir}/libkdevdocumentation.la -%{tde_tdelibdir}/libkdevdocumentation.so -%{tde_tdelibdir}/libkdevdoxygen.la -%{tde_tdelibdir}/libkdevdoxygen.so -%{tde_tdelibdir}/libkdeveditorchooser.la -%{tde_tdelibdir}/libkdeveditorchooser.so -%{tde_tdelibdir}/libkdevfilecreate.la -%{tde_tdelibdir}/libkdevfilecreate.so -%{tde_tdelibdir}/libkdevfilegroups.la -%{tde_tdelibdir}/libkdevfilegroups.so -%{tde_tdelibdir}/libkdevfilelist.la -%{tde_tdelibdir}/libkdevfilelist.so -%{tde_tdelibdir}/libkdevfileselector.la -%{tde_tdelibdir}/libkdevfileselector.so -%{tde_tdelibdir}/libkdevfileview.la -%{tde_tdelibdir}/libkdevfileview.so -%{tde_tdelibdir}/libkdevfilter.la -%{tde_tdelibdir}/libkdevfilter.so -%{tde_tdelibdir}/libkdevfortransupport.la -%{tde_tdelibdir}/libkdevfortransupport.so -%{tde_tdelibdir}/libkdevfpcoptions.la -%{tde_tdelibdir}/libkdevfpcoptions.so -%{tde_tdelibdir}/libkdevfullscreen.la -%{tde_tdelibdir}/libkdevfullscreen.so -%{tde_tdelibdir}/libkdevgccoptions.la -%{tde_tdelibdir}/libkdevgccoptions.so -%{tde_tdelibdir}/libkdevgrepview.la -%{tde_tdelibdir}/libkdevgrepview.so -%{tde_tdelibdir}/libkdevjavasupport.la -%{tde_tdelibdir}/libkdevjavasupport.so -%{tde_tdelibdir}/libkdevkdelibsimporter.la -%{tde_tdelibdir}/libkdevkdelibsimporter.so -%{tde_tdelibdir}/libkdevkonsoleview.la -%{tde_tdelibdir}/libkdevkonsoleview.so -%{tde_tdelibdir}/libkdevmakeview.la -%{tde_tdelibdir}/libkdevmakeview.so -%{tde_tdelibdir}/libkdevopenwith.la -%{tde_tdelibdir}/libkdevopenwith.so -%{tde_tdelibdir}/libkdevpartexplorer.la -%{tde_tdelibdir}/libkdevpartexplorer.so -%{tde_tdelibdir}/libkdevpascalproject.la -%{tde_tdelibdir}/libkdevpascalproject.so -%{tde_tdelibdir}/libkdevpascalsupport.la -%{tde_tdelibdir}/libkdevpascalsupport.so -%{tde_tdelibdir}/libkdevperlsupport.la -%{tde_tdelibdir}/libkdevperlsupport.so -%{tde_tdelibdir}/libkdevpgioptions.la -%{tde_tdelibdir}/libkdevpgioptions.so -%{tde_tdelibdir}/libkdevphpsupport.la -%{tde_tdelibdir}/libkdevphpsupport.so -%{tde_tdelibdir}/libkdevpythonsupport.la -%{tde_tdelibdir}/libkdevpythonsupport.so -%{tde_tdelibdir}/libkdevqt4importer.la -%{tde_tdelibdir}/libkdevqt4importer.so -%{tde_tdelibdir}/libkdevqtimporter.la -%{tde_tdelibdir}/libkdevqtimporter.so -%{tde_tdelibdir}/libkdevquickopen.la -%{tde_tdelibdir}/libkdevquickopen.so -%{tde_tdelibdir}/libkdevrbdebugger.la -%{tde_tdelibdir}/libkdevrbdebugger.so -%{tde_tdelibdir}/libkdevregexptest.la -%{tde_tdelibdir}/libkdevregexptest.so -%{tde_tdelibdir}/libkdevreplace.la -%{tde_tdelibdir}/libkdevreplace.so -%{tde_tdelibdir}/libkdevrubysupport.la -%{tde_tdelibdir}/libkdevrubysupport.so -%{tde_tdelibdir}/libkdevscripting.la -%{tde_tdelibdir}/libkdevscripting.so -%{tde_tdelibdir}/libkdevscriptproject.la -%{tde_tdelibdir}/libkdevscriptproject.so -%{tde_tdelibdir}/libkdevsnippet.la -%{tde_tdelibdir}/libkdevsnippet.so -%{tde_tdelibdir}/libkdevsqlsupport.la -%{tde_tdelibdir}/libkdevsqlsupport.so -%{tde_tdelibdir}/libkdevtexttools.la -%{tde_tdelibdir}/libkdevtexttools.so -%{tde_tdelibdir}/libkdevtipofday.la -%{tde_tdelibdir}/libkdevtipofday.so -%{tde_tdelibdir}/libkdevtools.la -%{tde_tdelibdir}/libkdevtools.so -%{tde_tdelibdir}/libkdevtrollproject.la -%{tde_tdelibdir}/libkdevtrollproject.so -%{tde_tdelibdir}/libkdevuichooser.la -%{tde_tdelibdir}/libkdevuichooser.so -%{tde_tdelibdir}/libkdevvalgrind.la -%{tde_tdelibdir}/libkdevvalgrind.so -%{tde_tdelibdir}/libkdevvcsmanager.la -%{tde_tdelibdir}/libkdevvcsmanager.so -%{tde_datadir}/apps/kconf_update/ -%{tde_datadir}/apps/kdevabbrev/ -%{tde_datadir}/apps/kdevadaproject/kdevadaproject.rc -%{tde_datadir}/apps/kdevadasupport/kdevadasupport.rc -%{tde_datadir}/apps/kdevantproject/kdevantproject.rc -%{tde_datadir}/apps/kdevappoutputview/kdevmakeview.rc -%{tde_datadir}/apps/kdevappwizard/ -%{tde_datadir}/apps/kdevassistant/kdevassistantui.rc -%{tde_datadir}/apps/kdevastyle/kdevpart_astyle.rc -%{tde_datadir}/apps/kdevautoproject/kdevautoproject.rc -%{tde_datadir}/apps/kdevbashsupport/kdevbashsupport.rc -%{tde_datadir}/apps/kdevclassview/ -%{tde_datadir}/apps/kdevcppsupport/ -%{tde_datadir}/icons/hicolor/*/actions/breakpoint_add.png -%{tde_datadir}/icons/hicolor/*/actions/breakpoint_delete.png -%{tde_datadir}/icons/hicolor/*/actions/breakpoint_delete_all.png -%{tde_datadir}/icons/hicolor/*/actions/breakpoint_edit.png -%{tde_datadir}/icons/hicolor/*/actions/ktip.png -%{tde_datadir}/icons/hicolor/*/apps/kdevassistant.png -%{tde_datadir}/icons/hicolor/*/apps/kdevdesigner.png -%{tde_datadir}/icons/hicolor/*/apps/kdevelop.png -%{tde_datadir}/icons/locolor/*/actions/kdevelop_tip.png -%{tde_datadir}/mimelnk/application/x-kdevelop.desktop -%{tde_datadir}/services/chm.protocol -%{tde_datadir}/services/csharpdoc.protocol -%{tde_datadir}/services/docchmplugin.desktop -%{tde_datadir}/services/doccustomplugin.desktop -%{tde_datadir}/services/docdevhelpplugin.desktop -%{tde_datadir}/services/docdoxygenplugin.desktop -%{tde_datadir}/services/dockdevtocplugin.desktop -%{tde_datadir}/services/docqtplugin.desktop -%{tde_datadir}/services/kchmpart.desktop -%{tde_datadir}/services/kdevabbrev.desktop -%{tde_datadir}/services/kdevadaproject.desktop -%{tde_datadir}/services/kdevadasupport.desktop -%{tde_datadir}/services/kdevantproject.desktop -%{tde_datadir}/services/kdevappoutputview.desktop -%{tde_datadir}/services/kdevappwizard.desktop -%{tde_datadir}/services/kdevastyle.desktop -%{tde_datadir}/services/kdevautoproject.desktop -%{tde_datadir}/services/kdevbashsupport.desktop -%{tde_datadir}/services/kdevbookmarks.desktop -%{tde_datadir}/services/kdevclassview.desktop -%{tde_datadir}/services/kdevcppsupport.desktop -%{tde_datadir}/services/kdevcsharpsupport.desktop -%{tde_datadir}/services/kdevcsupport.desktop -%{tde_datadir}/services/kdevctags2.desktop -%{tde_datadir}/services/kdevcustomproject.desktop -%{tde_datadir}/services/kdevdccoptions.desktop -%{tde_datadir}/services/kdevdebugger.desktop -%{tde_datadir}/services/kdevdesigner_part.desktop -%{tde_datadir}/services/kdevdiff.desktop -%{tde_datadir}/services/kdevdistpart.desktop -%{tde_datadir}/services/kdevdocumentation.desktop -%{tde_datadir}/services/kdevdoxygen.desktop -%{tde_datadir}/services/kdeveditorchooser.desktop -%{tde_datadir}/services/kdevfilecreate.desktop -%{tde_datadir}/services/kdevfilegroups.desktop -%{tde_datadir}/services/kdevfilelist.desktop -%{tde_datadir}/services/kdevfileselector.desktop -%{tde_datadir}/services/kdevfileview.desktop -%{tde_datadir}/services/kdevfilter.desktop -%{tde_datadir}/services/kdevfortransupport.desktop -%{tde_datadir}/services/kdevfpcoptions.desktop -%{tde_datadir}/services/kdevfullscreen.desktop -%{tde_datadir}/services/kdevg77options.desktop -%{tde_datadir}/services/kdevgccoptions.desktop -%{tde_datadir}/services/kdevgppoptions.desktop -%{tde_datadir}/services/kdevgrepview.desktop -%{tde_datadir}/services/kdevjavasupport.desktop -%{tde_datadir}/services/kdevkdeautoproject.desktop -%{tde_datadir}/services/kdevkdelibsimporter.desktop -%{tde_datadir}/services/kdevkonsoleview.desktop -%{tde_datadir}/services/kdevmakeview.desktop -%{tde_datadir}/services/kdevopenwith.desktop -%{tde_datadir}/services/kdevpartexplorer.desktop -%{tde_datadir}/services/kdevpascalproject.desktop -%{tde_datadir}/services/kdevpascalsupport.desktop -%{tde_datadir}/services/kdevpcscustomimporter.desktop -%{tde_datadir}/services/kdevperlsupport.desktop -%{tde_datadir}/services/kdevpgf77options.desktop -%{tde_datadir}/services/kdevpghpfoptions.desktop -%{tde_datadir}/services/kdevphpsupport.desktop -%{tde_datadir}/services/kdevpythonsupport.desktop -%{tde_datadir}/services/kdevqt4importer.desktop -%{tde_datadir}/services/kdevqtimporter.desktop -%{tde_datadir}/services/kdevquickopen.desktop -%{tde_datadir}/services/kdevrbdebugger.desktop -%{tde_datadir}/services/kdevregexptest.desktop -%{tde_datadir}/services/kdevreplace.desktop -%{tde_datadir}/services/kdevrubysupport.desktop -%{tde_datadir}/services/kdevscripting.desktop -%{tde_datadir}/services/kdevscriptproject.desktop -%{tde_datadir}/services/kdevsnippet.desktop -%{tde_datadir}/services/kdevsqlsupport.desktop -%{tde_datadir}/services/kdevtexttools.desktop -%{tde_datadir}/services/kdevtipofday.desktop -%{tde_datadir}/services/kdevtmakeproject.desktop -%{tde_datadir}/services/kdevtools.desktop -%{tde_datadir}/services/kdevtrollproject.desktop -%{tde_datadir}/services/kdevuichooser.desktop -%{tde_datadir}/services/kdevvalgrind.desktop -%{tde_datadir}/services/kdevvcsmanager.desktop -%{tde_datadir}/services/perldoc.protocol -%{tde_datadir}/services/pydoc.protocol -%{tde_datadir}/servicetypes/kdevelopappfrontend.desktop -%{tde_datadir}/servicetypes/kdevelopcodebrowserfrontend.desktop -%{tde_datadir}/servicetypes/kdevelopcompileroptions.desktop -%{tde_datadir}/servicetypes/kdevelopcreatefile.desktop -%{tde_datadir}/servicetypes/kdevelopdifffrontend.desktop -%{tde_datadir}/servicetypes/kdevelopdocumentationplugins.desktop -%{tde_datadir}/servicetypes/kdeveloplanguagesupport.desktop -%{tde_datadir}/servicetypes/kdevelopmakefrontend.desktop -%{tde_datadir}/servicetypes/kdeveloppcsimporter.desktop -%{tde_datadir}/servicetypes/kdevelopplugin.desktop -%{tde_datadir}/servicetypes/kdevelopproject.desktop -%{tde_datadir}/servicetypes/kdevelopquickopen.desktop -%{tde_datadir}/servicetypes/kdevelopsourceformatter.desktop -%{tde_datadir}/servicetypes/kdevelopvcsintegrator.desktop -%{tde_datadir}/servicetypes/kdevelopversioncontrol.desktop -%{tde_datadir}/apps/kdevcsharpsupport/kdevcsharpsupport.rc -%{tde_datadir}/apps/kdevctags2/kdevpart_ctags2.rc -%{tde_datadir}/apps/kdevcustomproject/kdevcustomproject.rc -%{tde_datadir}/apps/kdevdebugger/ -%{tde_datadir}/apps/kdevdesigner/kdevdesigner_shell.rc -%{tde_datadir}/apps/kdevdesignerpart/kdevdesigner_part.rc -%{tde_datadir}/apps/kdevdesignerpart/kdevdesigner_part_sh.rc -%{tde_datadir}/apps/kdevdiff/kdevdiff.rc -%{tde_datadir}/apps/kdevdistpart/kdevpart_distpart.rc -%{tde_datadir}/apps/kdevdocumentation/ -%{tde_datadir}/apps/kdevdoxygen/kdevdoxygen.rc -%{tde_datadir}/apps/kdevelop/ -%{tde_datadir}/apps/kdevfilecreate/ -%{tde_datadir}/apps/kdevfilelist/kdevfilelist.rc -%{tde_datadir}/apps/kdevfilter/kdevfilter.rc -%{tde_datadir}/apps/kdevfortransupport/kdevfortransupport.rc -%{tde_datadir}/apps/kdevfullscreen/kdevpart_fullscreen.rc -%{tde_datadir}/apps/kdevgrepview/ -%{tde_datadir}/apps/kdevjavasupport/kdevjavasupport.rc -%{tde_datadir}/apps/kdevmakeview/kdevmakeview.rc -%{tde_datadir}/apps/kdevpartexplorer/kdevpartexplorer.rc -%{tde_datadir}/apps/kdevpascalproject/kdevpascalproject.rc -%{tde_datadir}/apps/kdevpascalsupport/kdevpascalsupport.rc -%{tde_datadir}/apps/kdevperlsupport/kdevperlsupport.rc -%{tde_datadir}/apps/kdevphpsupport/kdevphpsupport.rc -%{tde_datadir}/apps/kdevphpsupport/phpfunctions -%{tde_datadir}/apps/kdevpythonsupport/kdevpythonsupport.rc -%{tde_datadir}/apps/kdevquickopen/kdevpart_quickopen.rc -%{tde_datadir}/apps/kdevrbdebugger/ -%{tde_datadir}/apps/kdevregexptest/kdevregexptest.rc -%{tde_datadir}/apps/kdevreplace/kdevpart_replace.rc -%{tde_datadir}/apps/kdevrubysupport/kdevrubysupport.rc -%{tde_datadir}/apps/kdevrubysupport/pics/ruby_config.png -%{tde_datadir}/apps/kdevrubysupport/pics/ruby_run.png -%{tde_datadir}/apps/kdevscripting/kdevscripting.rc -%{tde_datadir}/apps/kdevscriptproject/kdevscriptproject.rc -%{tde_datadir}/apps/kdevsnippet/kdevpart_snippet.rc -%{tde_datadir}/apps/kdevsqlsupport/kdevsqlsupport.rc -%{tde_datadir}/apps/kdevtipofday/kdevpart_tipofday.rc -%{tde_datadir}/apps/kdevtipofday/tips -%{tde_datadir}/apps/kdevtools/kdevpart_tools.rc -%{tde_datadir}/apps/kdevtrollproject/kdevtrollproject.rc -%{tde_datadir}/apps/kdevvalgrind/kdevpart_valgrind.rc -%{tde_datadir}/apps/kio_pydoc/kde_pydoc.py* -%{tde_datadir}/config/kdevassistantrc -%{tde_datadir}/config/kdeveloprc -%{tde_datadir}/desktop-directories/kde-development-kdevelop.directory -%{tde_tdedocdir}/HTML/en/kdevelop/ -%{tde_libdir}/libd.so.0 -%{tde_libdir}/libd.so.0.0.0 -%{tde_libdir}/libkinterfacedesigner.so.0 -%{tde_libdir}/libkinterfacedesigner.so.0.0.0 -%{tde_tdelibdir}/libkdevvisualboyadvance.la -%{tde_tdelibdir}/libkdevvisualboyadvance.so -%{tde_datadir}/apps/kdevdesignerpart/pics/ -%{tde_datadir}/apps/kdevvisualboyadvance/kdevpart_visualboyadvance.rc -%{tde_tdedocdir}/HTML/en/kde_app_devel/ -%{tde_datadir}/mimelnk/text/x-fortran.desktop -%{tde_datadir}/services/kdevvisualboyadvance.desktop - - -%post -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries -Requires: %{name}-libs = %{version}-%{release} - -Obsoletes: trinity-kdevelop-devel < %{version}-%{release} -Provides: trinity-kdevelop-devel = %{version}-%{release} - -%description devel -%{summary}. - -%files devel -%defattr(-,root,root,-) -%{tde_libdir}/lib*.so -%{tde_libdir}/lib*.la -%{tde_includedir}/* - -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - -########## - -%package libs -Summary: %{name} runtime libraries -Group: System Environment/Libraries -Requires: trinity-kdelibs -# include to be paranoid, installing libs-only is still mostly untested -- Rex -Requires: %{name} = %{version}-%{release} - -Obsoletes: trinity-kdevelop-libs < %{version}-%{release} -Provides: trinity-kdevelop-libs = %{version}-%{release} - -%description libs -%{summary}. - -%files libs -%defattr(-,root,root,-) -%{tde_libdir}/libdesignerintegration.so.0 -%{tde_libdir}/libdesignerintegration.so.0.0.0 -%{tde_libdir}/libdocumentation_interfaces.so.0 -%{tde_libdir}/libdocumentation_interfaces.so.0.0.0 -%{tde_libdir}/libgdbmi_parser.so.0 -%{tde_libdir}/libgdbmi_parser.so.0.0.0 -%{tde_libdir}/libkdevbuildbase.so.0 -%{tde_libdir}/libkdevbuildbase.so.0.0.0 -%{tde_libdir}/libkdevbuildtoolswidgets.so.0 -%{tde_libdir}/libkdevbuildtoolswidgets.so.0.0.0 -%{tde_libdir}/libkdevcatalog.so.0 -%{tde_libdir}/libkdevcatalog.so.0.0.0 -%{tde_libdir}/libkdevcppparser.so.0 -%{tde_libdir}/libkdevcppparser.so.0.0.0 -%{tde_libdir}/libkdevelop.so.1 -%{tde_libdir}/libkdevelop.so.1.0.0 -%{tde_libdir}/libkdevextras.so.0 -%{tde_libdir}/libkdevextras.so.0.0.0 -%{tde_libdir}/libkdevpropertyeditor.so.0 -%{tde_libdir}/libkdevpropertyeditor.so.0.0.0 -%{tde_libdir}/libkdevqmakeparser.so.0 -%{tde_libdir}/libkdevqmakeparser.so.0.0.0 -%{tde_libdir}/libkdevshell.so.0 -%{tde_libdir}/libkdevshell.so.0.0.0 -%{tde_libdir}/libkdevwidgets.so.0 -%{tde_libdir}/libkdevwidgets.so.0.0.0 -%{tde_libdir}/liblang_debugger.so.0 -%{tde_libdir}/liblang_debugger.so.0.0.0 -%{tde_libdir}/liblang_interfaces.so.0 -%{tde_libdir}/liblang_interfaces.so.0.0.0 -%{tde_libdir}/libprofileengine.so.0 -%{tde_libdir}/libprofileengine.so.0.0.0 - -%post libs -/sbin/ldconfig || : - -%postun libs -/sbin/ldconfig || : - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -a1 -%patch1 -p0 -b .config -%patch2 -p1 -%patch4 -p1 - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" - -%__rm -rf c_cpp_reference-2.0.2_for_KDE_3.0/admin -%__cp -ar admin c_cpp_reference-2.0.2_for_KDE_3.0/ -%__make -C c_cpp_reference-2.0.2_for_KDE_3.0 -f admin/Makefile.common cvs - - -%build -unset QTDIR || : ; . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" -export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt" -export LD_LIBRARY_PATH="%{tde_libdir}" - -# Specific path for RHEL4 -if [ -d /usr/X11R6 ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -# c references -pushd c_cpp_reference-2.0.2_for_KDE_3.0 -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --libdir=%{tde_libdir} \ - --datadir=%{tde_datadir} \ - --includedir=%{tde_tdeincludedir} \ - --with-qt-libraries=${QTLIB:-${QTDIR}/%{_lib}} \ - --with-qt-includes=${QTINC:-${QTDIR}/include} \ - --with-extra-libs=%{tde_libdir} -popd - -%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} -%__mkdir_p build -cd build -%endif - -%cmake \ - -DBIN_INSTALL_DIR=%{tde_bindir} \ - -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \ - -DLIB_INSTALL_DIR=%{tde_libdir} \ - -DSHARE_INSTALL_PREFIX=%{tde_datadir} \ - -DCMAKE_SKIP_RPATH="OFF" \ - -DWITH_BUILDTOOL_ALL=ON \ - -DWITH_LANGUAGE_ALL=ON \ - -DWITH_VCS_ALL=OFF \ - -DBUILD_ALL=ON \ - .. - -%__make %{?_smp_mflags} || %__make - -# c references -cd .. -%__make %{?_smp_mflags} -C c_cpp_reference-2.0.2_for_KDE_3.0 - -%install -%__rm -rf %{buildroot} -%__make install DESTDIR=%{buildroot} -C build -%__make install DESTDIR=%{buildroot} -C c_cpp_reference-2.0.2_for_KDE_3.0 - - -%clean -%__rm -rf %{buildroot} - - -%changelog -* Mon Jun 03 2013 Francois Andriot - 3.5.13.2-1 -- Initial release for TDE 3.5.13.2 diff --git a/redhat/tdewebdev/kdewebdev-3.5.12.spec b/redhat/tdewebdev/kdewebdev-3.5.12.spec new file mode 100644 index 000000000..9dcec5cd7 --- /dev/null +++ b/redhat/tdewebdev/kdewebdev-3.5.12.spec @@ -0,0 +1,228 @@ +# Default version for this component +%if "%{?version}" == "" +%define version 3.5.12 +%endif +%define release 2 + +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?_prefix}" != "/usr" +%define _variant .opt +%define _docdir %{_prefix}/share/doc +%endif + +# TDE 3.5.12 specific building variables +BuildRequires: autoconf automake libtool m4 +%define tde_docdir %{_docdir} +%define tde_includedir %{_includedir}/kde +%define tde_libdir %{_libdir}/kde3 + +Name: trinity-kdewebdev +Version: %{?version} +Release: %{?release}%{?dist}%{?_variant} +License: GPL +Summary: Web development applications +Group: Applications/Editors + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: kdewebdev-%{version}.tar.gz +Source1: http://download.sourceforge.net/quanta/css.tar.bz2 +Source2: http://download.sourceforge.net/quanta/html.tar.bz2 +Source3: http://download.sourceforge.net/quanta/php_manual_en_20030401.tar.bz2 +Source4: http://download.sourceforge.net/quanta/javascript.tar.bz2 +Source5: hi48-app-kxsldbg.png + +Patch0: javascript.patch +Patch1: kdewebdev-3.5.4-kxsldbg-icons.patch + + +BuildRequires: desktop-file-utils +BuildRequires: trinity-kdelibs-devel +BuildRequires: trinity-kdesdk-devel +BuildRequires: libxslt-devel libxml2-devel +%if 0%{?rhel} == 4 +# a bogus dep in libexslt.la file from EL-4 (WONTFIX bug http://bugzilla.redhat.com/142241) +BuildRequires: libgcrypt-devel +%endif +BuildRequires: perl + +Requires: %{name}-libs = %{version}-%{release} + +# optional +Requires: tidy + +Provides: kdewebdev3 = %{version}-%{release} + +Obsoletes: quanta < %{version}-%{release} +Provides: quanta = %{version}-%{release} + +%define kommander_ver 1.2.2 +#Obsoletes: kommander < %{kommander_ver}-%{release} +Provides: kommander = %{kommander_ver}-%{release} + +%description +%{summary}, including: +* kfilereplace: batch search and replace tool +* kimagemapeditor: HTML image map editor +* klinkstatus: link checker +* kommander: visual dialog building tool +* kxsldbg: xslt Debugger +* quanta+: web development + +%package devel +Group: Development/Libraries +Summary: Header files and documentation for %{name} +Provides: kdewebdev3-devel = %{version}-%{release} +Requires: trinity-kdelibs-devel +Requires: %{name}-libs = %{version}-%{release} +Obsoletes: quanta-devel < %{version}-%{release} +%description devel +%{summary}. + +%package libs +Summary: %{name} runtime libraries +Group: System Environment/Libraries +Requires: trinity-kdelibs +# helps multilib upgrades +%description libs +%{summary}. + + +%prep +%setup -q -a 1 -a 2 -a 3 -a 4 -n kdewebdev +%patch0 -p0 -b .javascript +%patch1 -p1 -b .kxsldbg-icons + +install -m644 -p %{SOURCE5} kxsldbg/ + +%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" +%__make -f admin/Makefile.common + + +%build +unset QTDIR || : ; source /etc/profile.d/qt.sh +export PATH="%{_bindir}:${PATH}" +export LDFLAGS="-L%{_libdir} -I%{_includedir}" + +%if 0%{?fedora} >= 15 +export CXXFLAGS="${CXXFLAGS} -fpermissive" +%endif + +%configure \ + --includedir=%{tde_includedir} \ + --disable-rpath \ + --enable-new-ldflags \ + --disable-debug --disable-warnings \ + --disable-dependancy-tracking --enable-final \ + --with-extra-includes=%{_includedir}/tqt \ + +%__make %{?_smp_mflags} + + +%install +export PATH="%{_bindir}:${PATH}" +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{?buildroot} + + +## package separately? Why doesn't upstream include this? -- Rex +# install docs +for i in css html javascript ; do + pushd $i + ./install.sh < /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun +for f in crystalsvg hicolor locolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + + +%post libs +/sbin/ldconfig + +%postun libs +/sbin/ldconfig + + +%clean +%__rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README +%doc rpmdocs/* +%{_bindir}/* +%{tde_libdir}/* +%{_datadir}/applications/kde/* +%{_datadir}/applnk/.hidden/* +%{_datadir}/apps/* +%doc %{_datadir}/apps/quanta/doc +%{_datadir}/config.kcfg/* +%{_datadir}/icons/crystalsvg/*/*/* +%{_datadir}/icons/hicolor/*/*/* +%{_datadir}/icons/locolor/*/*/* +%{_datadir}/mimelnk/application/* +%{_datadir}/services/* +%{_datadir}/servicetypes/* +%{tde_docdir}/HTML/en/* + + +%files libs +%defattr(-,root,root,-) +%{_libdir}/lib*.so.* +%{_libdir}/lib*.la + +%files devel +%defattr(-,root,root,-) +%{_libdir}/lib*.so +%{tde_includedir}/* + + +%changelog +* Mon Sep 19 2011 Francois Andriot - 3.5.12-2 +- Add support for RHEL5 + +* Thu Sep 15 2011 Francois Andriot - 3.5.12-1 +- Initial build for RHEL 6 / Fedora 15 +- Use Spec file from Fedora8 "kdewebdev-3.5.10-1" +- Import to GIT diff --git a/redhat/tdewebdev/kdewebdev-3.5.13.1.spec b/redhat/tdewebdev/kdewebdev-3.5.13.1.spec new file mode 100644 index 000000000..b415c063f --- /dev/null +++ b/redhat/tdewebdev/kdewebdev-3.5.13.1.spec @@ -0,0 +1,566 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +Name: trinity-tdewebdev +Version: 3.5.13.1 +Release: 1%{?dist}%{?_variant} +License: GPL +Summary: Web development applications +Group: Applications/Editors + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: kdewebdev-3.5.13.1.tar.gz +Source1: http://download.sourceforge.net/quanta/css.tar.bz2 +Source2: http://download.sourceforge.net/quanta/html.tar.bz2 +Source3: http://download.sourceforge.net/quanta/php_manual_en_20030401.tar.bz2 +Source4: http://download.sourceforge.net/quanta/javascript.tar.bz2 +Source5: hi48-app-kxsldbg.png + +Patch0: javascript.patch +Patch1: kdewebdev-3.5.4-kxsldbg-icons.patch + +BuildRequires: autoconf automake libtool m4 +BuildRequires: desktop-file-utils +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: trinity-tdesdk-devel >= %{version} +BuildRequires: libxslt-devel +BuildRequires: libxml2-devel +%if 0%{?rhel} == 4 +# a bogus dep in libexslt.la file from EL-4 (WONTFIX bug http://bugzilla.redhat.com/142241) +BuildRequires: libgcrypt-devel +%endif +BuildRequires: perl + + +Obsoletes: trinity-kdewebdev-libs < %{version}-%{release} +Provides: trinity-kdewebdev-libs = %{version}-%{release} +Obsoletes: trinity-kdewebdev < %{version}-%{release} +Provides: trinity-kdewebdev = %{version}-%{release} + +Requires: trinity-quanta = %{version}-%{release} +Requires: trinity-quanta-data = %{version}-%{release} +Requires: trinity-kfilereplace = %{version}-%{release} +Requires: trinity-kimagemapeditor = %{version}-%{release} +Requires: trinity-klinkstatus = %{version}-%{release} +Requires: trinity-kommander = %{version}-%{release} +Requires: trinity-kxsldbg = %{version}-%{release} + + +%description +%{summary}, including: +* kfilereplace: batch search and replace tool +* kimagemapeditor: HTML image map editor +* klinkstatus: link checker +* kommander: visual dialog building tool +* kxsldbg: xslt Debugger +* quanta+: web development + +%files + +########## + +%package -n trinity-quanta +Summary: web development environment for KDE [Trinity] +Group: Applications/Development +Requires: trinity-kfilereplace = %{version}-%{release} +Requires: trinity-klinkstatus = %{version}-%{release} +Requires: trinity-kommander = %{version}-%{release} +Requires: trinity-quanta-data = %{version}-%{release} +#Requires: trinity-kimagemapeditor = %{version}-%{release} +#Requires: trinity-kxsldbg = %{version}-%{release} +Requires: tidy + +%description -n trinity-quanta +Quanta Plus is a web development environment for working with HTML +and associated languages. It strives to be neutral and transparent +to all markup languages, while supporting popular web-based scripting +languages, CSS and other emerging W3C recommendations. + +Quanta Plus supports many external components, debuggers and other tools +for web development, several of which are shipped with the KDE web +development module. + +Quanta Plus is not in any way affiliated with any commercial versions +of Quanta. The primary coders from the original team left the GPL'd +version to produce a commercial product. + +This package is part of TDE, as a component of the TDE web development module. + +%files -n trinity-quanta +%defattr(-,root,root,-) +%{tde_bindir}/quanta +%{tde_tdelibdir}/quantadebuggerdbgp.la +%{tde_tdelibdir}/quantadebuggerdbgp.so +%{tde_tdelibdir}/quantadebuggergubed.la +%{tde_tdelibdir}/quantadebuggergubed.so +%{tde_tdeappdir}/quanta.desktop +%{tde_datadir}/apps/kafkapart +%{tde_datadir}/icons/hicolor/*/apps/quanta.png +%{tde_datadir}/mimelnk/application/x-webprj.desktop +%{tde_datadir}/services/quantadebuggerdbgp.desktop +%{tde_datadir}/services/quantadebuggergubed.desktop +%{tde_datadir}/services/quanta_preview_config.desktop +%{tde_datadir}/servicetypes/quantadebugger.desktop +%{tde_tdedocdir}/HTML/en/quanta/ + +%post -n trinity-quanta +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-quanta +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + + +########## + +%package -n trinity-quanta-data +Summary: data files for Quanta Plus web development environment [Trinity] +Group: Applications/Development + +%description -n trinity-quanta-data +This package contains architecture-independent data files for Quanta +Plus, a web development environment for working with HTML and associated +languages. + +See the quanta package for further information. + +This package is part of TDE, as a component of the TDE web development module. + +%files -n trinity-quanta-data +%defattr(-,root,root,-) +%{tde_datadir}/apps/quanta/ + +########## + +%package -n trinity-kfilereplace +Summary: batch search-and-replace component for KDE [Trinity] +Group: Applications/Development + +%description -n trinity-kfilereplace +KFileReplace is an embedded component for KDE that acts as a batch +search-and-replace tool. It allows you to replace one expression with +another in many files at once. + +Note that at the moment KFileReplace does not come as a standalone +application. An example of an application that uses the KFileReplace +component is Quanta Plus (found in the package quanta). + +This package is part of TDE, as a component of the TDE web development module. + +%files -n trinity-kfilereplace +%defattr(-,root,root,-) +%{tde_bindir}/kfilereplace +%{tde_tdelibdir}/libkfilereplacepart.la +%{tde_tdelibdir}/libkfilereplacepart.so +%{tde_tdeappdir}/kfilereplace.desktop +%{tde_datadir}/apps/kfilereplace/kfilereplaceui.rc +%{tde_datadir}/apps/kfilereplacepart +%{tde_datadir}/icons/hicolor/*/apps/kfilereplace.png +%{tde_datadir}/services/kfilereplacepart.desktop +%{tde_tdedocdir}/HTML/en/kfilereplace/ + +%post -n trinity-kfilereplace +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kfilereplace +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kimagemapeditor +Summary: HTML image map editor for KDE [Trinity] +Group: Applications/Development + +%description -n trinity-kimagemapeditor +KImageMapEditor is a tool that allows you to edit image maps in HTML +files. As well as providing a standalone application, KImageMapEditor +makes itself available as a KPart for embedding into larger applications. + +This package is part of TDE, as a component of the TDE web development module. + +%files -n trinity-kimagemapeditor +%defattr(-,root,root,-) +%{tde_bindir}/kimagemapeditor +%{tde_tdelibdir}/libkimagemapeditor.la +%{tde_tdelibdir}/libkimagemapeditor.so +%{tde_tdeappdir}/kimagemapeditor.desktop +%{tde_datadir}/apps/kimagemapeditor/ +%{tde_datadir}/icons/hicolor/*/apps/kimagemapeditor.png +%{tde_datadir}/icons/locolor/*/apps/kimagemapeditor.png +%{tde_datadir}/services/kimagemapeditorpart.desktop + +%post -n trinity-kimagemapeditor +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kimagemapeditor +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-klinkstatus +Summary: web link validity checker for KDE [Trinity] +Group: Applications/Development + +%description -n trinity-klinkstatus +KLinkStatus is KDE's web link validity checker. It allows you to +search internal and external links throughout your web site. Simply +point it to a single page and choose the depth to search. + +You can also check local files, or files over ftp:, fish: or any other +KIO protocols. For performance, links can be checked simultaneously. + +This package is part of TDE, as a component of the TDE web development module. + +%files -n trinity-klinkstatus +%defattr(-,root,root,-) +%{tde_bindir}/klinkstatus +%{tde_tdelibdir}/libklinkstatuspart.la +%{tde_tdelibdir}/libklinkstatuspart.so +%{tde_tdeappdir}/klinkstatus.desktop +%{tde_datadir}/apps/klinkstatus/ +%{tde_datadir}/apps/klinkstatuspart/ +%{tde_datadir}/config.kcfg/klinkstatus.kcfg +%{tde_datadir}/icons/crystalsvg/16x16/actions/bug.png +%{tde_datadir}/icons/hicolor/*/apps/klinkstatus.png +%{tde_datadir}/services/klinkstatus_part.desktop +%{tde_tdedocdir}/HTML/en/klinkstatus/ + +%post -n trinity-klinkstatus +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-klinkstatus +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kommander +Summary: visual dialog builder and executor tool [Trinity] +Group: Applications/Development +Requires: gettext + +%description -n trinity-kommander +Kommander is a visual dialog building tool whose primary objective is +to create as much functionality as possible without using any scripting +language. + +More specifically, Kommander is a set of tools that allow you to create +dynamic GUI dialogs that generate, based on their state, a piece of +text. The piece of text can be a command line to a program, any piece +of code, business documents that contain a lot of repetitious or +templated text and so on. + +The resulting generated text can then be executed as a command line +program (hence the name "Kommander"), written to a file, passed to a +script for extended processing, and literally anything else you can +think of. And you aren't required to write a single line of code! + +As well as building dialogs, Kommander may be expanded to create full +mainwindow applications. + +This package is part of TDE, as a component of the TDE web development module. + +%files -n trinity-kommander +%defattr(-,root,root,-) +%{tde_bindir}/kmdr-editor +%{tde_bindir}/kmdr-executor +%{tde_bindir}/kmdr-plugins +%{tde_libdir}/libkommanderplugin.so.* +%{tde_libdir}/libkommanderwidgets.la +%{tde_libdir}/libkommanderwidget.so.* +%{tde_libdir}/libkommanderwidgets.so.* +%{tde_tdeappdir}/kmdr-editor.desktop +%{tde_datadir}/applnk/.hidden/kmdr-executor.desktop +%{tde_datadir}/apps/katepart/syntax/kommander.xml +%{tde_datadir}/apps/kommander/pics/kommandersplash.png +%{tde_tdedocdir}/HTML/en/kommander/ +%{tde_datadir}/icons/crystalsvg/*/apps/kommander.png +%{tde_datadir}/mimelnk/application/x-kommander.desktop +#kommander/examples /opt/trinity/share/doc/kommander +#kommander/working/extractkmdr /opt/trinity/bin +#kommander/working/kmdr2po /opt/trinity/bin +%{tde_tdelibdir}/libkommander_part.so +%{tde_tdelibdir}/libkommander_part.la +%{tde_datadir}/apps/kommander/ +%{tde_datadir}/apps/kmdr-editor/editor/ +%{tde_datadir}/apps/katepart/syntax/kommander-new.xml +%{tde_datadir}/apps/kdevappwizard/kommanderplugin.png +%{tde_datadir}/apps/kdevappwizard/kommanderplugin.tar.gz +%{tde_datadir}/apps/kdevappwizard/templates/kommanderplugin.kdevtemplate +%{tde_datadir}/services/kommander_part.desktop + +%post -n trinity-kommander +/sbin/ldconfig || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kommander +/sbin/ldconfig || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kommander-devel +Summary: development files for Kommander [Trinity] +Group: Development/Libraries +Requires: trinity-kommander = %{version}-%{release} + +%description -n trinity-kommander-devel +This package contains the headers and other development files for +building plugins or otherwise extending Kommander. + +Kommander is a visual dialog building tool whose primary objective is +to create as much functionality as possible without using any scripting +language. + +See the kommander package for further information. + +This package is part of TDE, as a component of the TDE web development module. + +%files -n trinity-kommander-devel +%defattr(-,root,root,-) +%{tde_libdir}/libkommanderplugin.la +%{tde_libdir}/libkommanderplugin.so +%{tde_libdir}/libkommanderwidget.la +%{tde_libdir}/libkommanderwidget.so +%{tde_libdir}/libkommanderwidgets.so +%{tde_tdeincludedir}/kommander* +%{tde_tdeincludedir}/specials.h + +%post -n trinity-kommander-devel +/sbin/ldconfig || : + +%postun -n trinity-kommander-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-kxsldbg +Summary: graphical XSLT debugger for KDE [Trinity] +Group: Applications/Development + +%description -n trinity-kxsldbg +KXSLDbg is a debugger for XSLT scripts. It includes a graphical user +interface as well as a text-based debugger. KXSLDbg can be run as a +standalone application or as an embedded KDE part. + +XSLT is an XML language for defining transformations of XML files from +XML to some other arbitrary format, such as XML, HTML, plain text, etc., +using standard XSLT stylesheets. + +This package is part of TDE, as a component of the TDE web development module. + +%files -n trinity-kxsldbg +%defattr(-,root,root,-) +%{tde_bindir}/kxsldbg +%{tde_bindir}/xsldbg +%{tde_tdelibdir}/libkxsldbgpart.la +%{tde_tdelibdir}/libkxsldbgpart.so +%{tde_tdeappdir}/kxsldbg.desktop +%{tde_datadir}/apps/kxsldbg +%{tde_datadir}/apps/kxsldbgpart +%{tde_tdedocdir}/HTML/en/kxsldbg/ +%{tde_tdedocdir}/HTML/en/xsldbg/ +%{tde_datadir}/icons/hicolor/*/actions/1downarrow.png +%{tde_datadir}/icons/hicolor/*/actions/configure.png +%{tde_datadir}/icons/hicolor/*/actions/exit.png +%{tde_datadir}/icons/hicolor/*/actions/hash.png +%{tde_datadir}/icons/hicolor/*/actions/mark.png +%{tde_datadir}/icons/hicolor/*/actions/next.png +%{tde_datadir}/icons/hicolor/*/actions/run.png +%{tde_datadir}/icons/hicolor/*/actions/step.png +%{tde_datadir}/icons/hicolor/*/actions/xsldbg_*.png +%{tde_datadir}/icons/hicolor/*/apps/kxsldbg.png +%{tde_datadir}/icons/locolor/*/apps/kxsldbg.png +%{tde_datadir}/services/kxsldbg_part.desktop + +%post -n trinity-kxsldbg +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kxsldbg +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package devel +Group: Development/Libraries +Summary: Header files and documentation for %{name} + +Obsoletes: trinity-kdewebdev-devel < %{version}-%{release} +Provides: trinity-kdewebdev-devel = %{version}-%{release} + +Requires: trinity-tdelibs-devel +Requires: trinity-kommander-devel = %{version}-%{release} + +%description devel +%{summary}. + +%files devel + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -a 1 -a 2 -a 3 -a 4 -n kdewebdev-3.5.13.1 +%patch0 -p0 -b .javascript +%patch1 -p1 -b .kxsldbg-icons + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + + +%__install -m644 -p %{SOURCE5} kxsldbg/ + +%build +unset QTDIR || : ; source /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +# Do not build against any "/usr" installed KDE +export KDEDIR=%{tde_prefix} + +# Specific path for RHEL4 +if [ -d /usr/X11R6 ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --enable-new-ldflags \ + --enable-closure \ + --disable-debug --disable-warnings \ + --disable-dependancy-tracking --enable-final \ + --with-extra-includes=%{tde_includedir}/tqt \ + +# WTF hack for RHEL4 +%if 0%{?rhel} == 4 +mkdir kommander/plugin/.libs/ +ln -s . kommander/plugin/.libs/.libs +%endif + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{?buildroot} + + +## package separately? Why doesn't upstream include this? -- Rex +# install docs +for i in css html javascript ; do + pushd $i + ./install.sh < - 3.5.13.1-1 +- Initial build for TDE 3.5.13.1 diff --git a/redhat/tdewebdev/kdewebdev-3.5.13.spec b/redhat/tdewebdev/kdewebdev-3.5.13.spec new file mode 100644 index 000000000..2dec2ccc3 --- /dev/null +++ b/redhat/tdewebdev/kdewebdev-3.5.13.spec @@ -0,0 +1,556 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/kde +%define tde_tdeincludedir %{tde_includedir}/kde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +Name: trinity-tdewebdev +Version: 3.5.13 +Release: 3%{?dist}%{?_variant} +License: GPL +Summary: Web development applications +Group: Applications/Editors + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: kdewebdev-%{version}.tar.gz +Source1: http://download.sourceforge.net/quanta/css.tar.bz2 +Source2: http://download.sourceforge.net/quanta/html.tar.bz2 +Source3: http://download.sourceforge.net/quanta/php_manual_en_20030401.tar.bz2 +Source4: http://download.sourceforge.net/quanta/javascript.tar.bz2 +Source5: hi48-app-kxsldbg.png + +Patch0: javascript.patch +Patch1: kdewebdev-3.5.4-kxsldbg-icons.patch + +# [kdewebdev] Fix FTBFS due to missing linker flags +Patch2: kdewebdev-3.5.13-fix_ftbfs.patch + +BuildRequires: autoconf automake libtool m4 +BuildRequires: desktop-file-utils +BuildRequires: trinity-kdelibs-devel +BuildRequires: trinity-kdesdk-devel +BuildRequires: libxslt-devel libxml2-devel +%if 0%{?rhel} == 4 +# a bogus dep in libexslt.la file from EL-4 (WONTFIX bug http://bugzilla.redhat.com/142241) +BuildRequires: libgcrypt-devel +%endif +BuildRequires: perl + + +Obsoletes: trinity-kdewebdev-libs < %{version}-%{release} +Provides: trinity-kdewebdev-libs = %{version}-%{release} +Obsoletes: trinity-kdewebdev < %{version}-%{release} +Provides: trinity-kdewebdev = %{version}-%{release} + +Requires: trinity-quanta = %{version}-%{release} +Requires: trinity-quanta-data = %{version}-%{release} +Requires: trinity-kfilereplace = %{version}-%{release} +Requires: trinity-kimagemapeditor = %{version}-%{release} +Requires: trinity-klinkstatus = %{version}-%{release} +Requires: trinity-kommander = %{version}-%{release} +Requires: trinity-kxsldbg = %{version}-%{release} + + +%description +%{summary}, including: +* kfilereplace: batch search and replace tool +* kimagemapeditor: HTML image map editor +* klinkstatus: link checker +* kommander: visual dialog building tool +* kxsldbg: xslt Debugger +* quanta+: web development + +%files + +########## + +%package -n trinity-quanta +Summary: web development environment for KDE [Trinity] +Group: Applications/Development +Requires: trinity-kfilereplace = %{version}-%{release} +Requires: trinity-klinkstatus = %{version}-%{release} +Requires: trinity-kommander = %{version}-%{release} +Requires: trinity-quanta-data = %{version}-%{release} +#Requires: trinity-kimagemapeditor = %{version}-%{release} +#Requires: trinity-kxsldbg = %{version}-%{release} +Requires: tidy + +%description -n trinity-quanta +Quanta Plus is a web development environment for working with HTML +and associated languages. It strives to be neutral and transparent +to all markup languages, while supporting popular web-based scripting +languages, CSS and other emerging W3C recommendations. + +Quanta Plus supports many external components, debuggers and other tools +for web development, several of which are shipped with the KDE web +development module. + +Quanta Plus is not in any way affiliated with any commercial versions +of Quanta. The primary coders from the original team left the GPL'd +version to produce a commercial product. + +This package is part of TDE, as a component of the TDE web development module. + +%files -n trinity-quanta +%defattr(-,root,root,-) +%{tde_bindir}/quanta +%{tde_tdelibdir}/quantadebuggerdbgp.la +%{tde_tdelibdir}/quantadebuggerdbgp.so +%{tde_tdelibdir}/quantadebuggergubed.la +%{tde_tdelibdir}/quantadebuggergubed.so +%{tde_tdeappdir}/quanta.desktop +%{tde_datadir}/apps/kafkapart +%{tde_datadir}/icons/hicolor/*/apps/quanta.png +%{tde_datadir}/mimelnk/application/x-webprj.desktop +%{tde_datadir}/services/quantadebuggerdbgp.desktop +%{tde_datadir}/services/quantadebuggergubed.desktop +%{tde_datadir}/services/quanta_preview_config.desktop +%{tde_datadir}/servicetypes/quantadebugger.desktop +%{tde_tdedocdir}/HTML/en/quanta/ + +%post -n trinity-quanta +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-quanta +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + + +########## + +%package -n trinity-quanta-data +Summary: data files for Quanta Plus web development environment [Trinity] +Group: Applications/Development + +%description -n trinity-quanta-data +This package contains architecture-independent data files for Quanta +Plus, a web development environment for working with HTML and associated +languages. + +See the quanta package for further information. + +This package is part of TDE, as a component of the TDE web development module. + +%files -n trinity-quanta-data +%defattr(-,root,root,-) +%{tde_datadir}/apps/quanta/ + +########## + +%package -n trinity-kfilereplace +Summary: batch search-and-replace component for KDE [Trinity] +Group: Applications/Development + +%description -n trinity-kfilereplace +KFileReplace is an embedded component for KDE that acts as a batch +search-and-replace tool. It allows you to replace one expression with +another in many files at once. + +Note that at the moment KFileReplace does not come as a standalone +application. An example of an application that uses the KFileReplace +component is Quanta Plus (found in the package quanta). + +This package is part of TDE, as a component of the TDE web development module. + +%files -n trinity-kfilereplace +%defattr(-,root,root,-) +%{tde_bindir}/kfilereplace +%{tde_tdelibdir}/libkfilereplacepart.la +%{tde_tdelibdir}/libkfilereplacepart.so +%{tde_tdeappdir}/kfilereplace.desktop +%{tde_datadir}/apps/kfilereplace/kfilereplaceui.rc +%{tde_datadir}/apps/kfilereplacepart +%{tde_datadir}/icons/hicolor/*/apps/kfilereplace.png +%{tde_datadir}/services/kfilereplacepart.desktop +%{tde_tdedocdir}/HTML/en/kfilereplace/ + +%post -n trinity-kfilereplace +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kfilereplace +for f in hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kimagemapeditor +Summary: HTML image map editor for KDE [Trinity] +Group: Applications/Development + +%description -n trinity-kimagemapeditor +KImageMapEditor is a tool that allows you to edit image maps in HTML +files. As well as providing a standalone application, KImageMapEditor +makes itself available as a KPart for embedding into larger applications. + +This package is part of TDE, as a component of the TDE web development module. + +%files -n trinity-kimagemapeditor +%defattr(-,root,root,-) +%{tde_bindir}/kimagemapeditor +%{tde_tdelibdir}/libkimagemapeditor.la +%{tde_tdelibdir}/libkimagemapeditor.so +%{tde_tdeappdir}/kimagemapeditor.desktop +%{tde_datadir}/apps/kimagemapeditor/ +%{tde_datadir}/icons/hicolor/*/apps/kimagemapeditor.png +%{tde_datadir}/icons/locolor/*/apps/kimagemapeditor.png +%{tde_datadir}/services/kimagemapeditorpart.desktop + +%post -n trinity-kimagemapeditor +for f in hicolor locolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kimagemapeditor +for f in hicolor locolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-klinkstatus +Summary: web link validity checker for KDE [Trinity] +Group: Applications/Development + +%description -n trinity-klinkstatus +KLinkStatus is KDE's web link validity checker. It allows you to +search internal and external links throughout your web site. Simply +point it to a single page and choose the depth to search. + +You can also check local files, or files over ftp:, fish: or any other +KIO protocols. For performance, links can be checked simultaneously. + +This package is part of TDE, as a component of the TDE web development module. + +%files -n trinity-klinkstatus +%defattr(-,root,root,-) +%{tde_bindir}/klinkstatus +%{tde_tdelibdir}/libklinkstatuspart.la +%{tde_tdelibdir}/libklinkstatuspart.so +%{tde_tdeappdir}/klinkstatus.desktop +%{tde_datadir}/apps/klinkstatus/ +%{tde_datadir}/apps/klinkstatuspart/ +%{tde_datadir}/config.kcfg/klinkstatus.kcfg +%{tde_datadir}/icons/crystalsvg/16x16/actions/bug.png +%{tde_datadir}/icons/hicolor/*/apps/klinkstatus.png +%{tde_datadir}/services/klinkstatus_part.desktop +%{tde_tdedocdir}/HTML/en/klinkstatus/ + +%post -n trinity-klinkstatus +for f in crystalsvg hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-klinkstatus +for f in crystalsvg hicolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kommander +Summary: visual dialog builder and executor tool [Trinity] +Group: Applications/Development +Requires: gettext + +%description -n trinity-kommander +Kommander is a visual dialog building tool whose primary objective is +to create as much functionality as possible without using any scripting +language. + +More specifically, Kommander is a set of tools that allow you to create +dynamic GUI dialogs that generate, based on their state, a piece of +text. The piece of text can be a command line to a program, any piece +of code, business documents that contain a lot of repetitious or +templated text and so on. + +The resulting generated text can then be executed as a command line +program (hence the name "Kommander"), written to a file, passed to a +script for extended processing, and literally anything else you can +think of. And you aren't required to write a single line of code! + +As well as building dialogs, Kommander may be expanded to create full +mainwindow applications. + +This package is part of TDE, as a component of the TDE web development module. + +%files -n trinity-kommander +%defattr(-,root,root,-) +%{tde_bindir}/kmdr-editor +%{tde_bindir}/kmdr-executor +%{tde_bindir}/kmdr-plugins +%{tde_libdir}/libkommanderplugin.so.* +%{tde_libdir}/libkommanderwidgets.la +%{tde_libdir}/libkommanderwidget.so.* +%{tde_libdir}/libkommanderwidgets.so.* +%{tde_tdeappdir}/kmdr-editor.desktop +%{tde_datadir}/applnk/.hidden/kmdr-executor.desktop +%{tde_datadir}/apps/katepart/syntax/kommander.xml +%{tde_datadir}/apps/kommander/pics/kommandersplash.png +%{tde_tdedocdir}/HTML/en/kommander/ +%{tde_datadir}/icons/crystalsvg/*/apps/kommander.png +%{tde_datadir}/mimelnk/application/x-kommander.desktop +#kommander/examples /opt/trinity/share/doc/kommander +#kommander/working/extractkmdr /opt/trinity/bin +#kommander/working/kmdr2po /opt/trinity/bin +%{tde_tdelibdir}/libkommander_part.so +%{tde_tdelibdir}/libkommander_part.la +%{tde_datadir}/apps/kommander/ +%{tde_datadir}/apps/kmdr-editor/editor/ +%{tde_datadir}/apps/katepart/syntax/kommander-new.xml +%{tde_datadir}/apps/kdevappwizard/kommanderplugin.png +%{tde_datadir}/apps/kdevappwizard/kommanderplugin.tar.gz +%{tde_datadir}/apps/kdevappwizard/templates/kommanderplugin.kdevtemplate +%{tde_datadir}/services/kommander_part.desktop + +%post -n trinity-kommander +/sbin/ldconfig || : +for f in crystalsvg ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kommander +/sbin/ldconfig || : +for f in crystalsvg ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kommander-devel +Summary: development files for Kommander [Trinity] +Group: Development/Libraries +Requires: trinity-kommander = %{version}-%{release} + +%description -n trinity-kommander-devel +This package contains the headers and other development files for +building plugins or otherwise extending Kommander. + +Kommander is a visual dialog building tool whose primary objective is +to create as much functionality as possible without using any scripting +language. + +See the kommander package for further information. + +This package is part of TDE, as a component of the TDE web development module. + +%files -n trinity-kommander-devel +%defattr(-,root,root,-) +%{tde_libdir}/libkommanderplugin.la +%{tde_libdir}/libkommanderplugin.so +%{tde_libdir}/libkommanderwidget.la +%{tde_libdir}/libkommanderwidget.so +%{tde_libdir}/libkommanderwidgets.so +%{tde_tdeincludedir}/kommander* +%{tde_tdeincludedir}/specials.h + +%post -n trinity-kommander-devel +/sbin/ldconfig || : + +%postun -n trinity-kommander-devel +/sbin/ldconfig || : + +########## + +%package -n trinity-kxsldbg +Summary: graphical XSLT debugger for KDE [Trinity] +Group: Applications/Development + +%description -n trinity-kxsldbg +KXSLDbg is a debugger for XSLT scripts. It includes a graphical user +interface as well as a text-based debugger. KXSLDbg can be run as a +standalone application or as an embedded KDE part. + +XSLT is an XML language for defining transformations of XML files from +XML to some other arbitrary format, such as XML, HTML, plain text, etc., +using standard XSLT stylesheets. + +This package is part of TDE, as a component of the TDE web development module. + +%files -n trinity-kxsldbg +%defattr(-,root,root,-) +%{tde_bindir}/kxsldbg +%{tde_bindir}/xsldbg +%{tde_tdelibdir}/libkxsldbgpart.la +%{tde_tdelibdir}/libkxsldbgpart.so +%{tde_tdeappdir}/kxsldbg.desktop +%{tde_datadir}/apps/kxsldbg +%{tde_datadir}/apps/kxsldbgpart +%{tde_tdedocdir}/HTML/en/kxsldbg/ +%{tde_tdedocdir}/HTML/en/xsldbg/ +%{tde_datadir}/icons/hicolor/*/actions/1downarrow.png +%{tde_datadir}/icons/hicolor/*/actions/configure.png +%{tde_datadir}/icons/hicolor/*/actions/exit.png +%{tde_datadir}/icons/hicolor/*/actions/hash.png +%{tde_datadir}/icons/hicolor/*/actions/mark.png +%{tde_datadir}/icons/hicolor/*/actions/next.png +%{tde_datadir}/icons/hicolor/*/actions/run.png +%{tde_datadir}/icons/hicolor/*/actions/step.png +%{tde_datadir}/icons/hicolor/*/actions/xsldbg_*.png +%{tde_datadir}/icons/hicolor/*/apps/kxsldbg.png +%{tde_datadir}/icons/locolor/*/apps/kxsldbg.png +%{tde_datadir}/services/kxsldbg_part.desktop + +%post -n trinity-kxsldbg +for f in hicolor locolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kxsldbg +for f in hicolor locolor ; do + touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package devel +Group: Development/Libraries +Summary: Header files and documentation for %{name} + +Obsoletes: trinity-kdewebdev-devel < %{version}-%{release} +Provides: trinity-kdewebdev-devel = %{version}-%{release} + +Requires: trinity-tdelibs-devel +Requires: trinity-kommander-devel = %{version}-%{release} + +%description devel +%{summary}. + +%files devel + +########## + +%prep +%setup -q -a 1 -a 2 -a 3 -a 4 -n kdewebdev + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + +%patch0 -p0 -b .javascript +%patch1 -p1 -b .kxsldbg-icons +%patch2 -p1 -b .ftbfs + +%__install -m644 -p %{SOURCE5} kxsldbg/ + + +%build +unset QTDIR || : ; source /etc/profile.d/qt.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --enable-new-ldflags \ + --enable-closure \ + --disable-debug --disable-warnings \ + --disable-dependancy-tracking --enable-final \ + --with-extra-includes=%{tde_includedir}/tqt \ + +%__make %{?_smp_mflags} + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{?buildroot} + + +## package separately? Why doesn't upstream include this? -- Rex +# install docs +for i in css html javascript ; do + pushd $i + ./install.sh < - 3.5.13-2 +- Fix HTML directory location + +* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 +- Initial release for RHEL 6, RHEL 5 and Fedora 15 + +* Mon Sep 19 2011 Francois Andriot - 3.5.13-0 +- Import to GIT diff --git a/redhat/tdewebdev/tdewebdev-3.5.13.2.spec b/redhat/tdewebdev/tdewebdev-3.5.13.2.spec new file mode 100644 index 000000000..21a6c9401 --- /dev/null +++ b/redhat/tdewebdev/tdewebdev-3.5.13.2.spec @@ -0,0 +1,573 @@ +# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". +%if "%{?tde_prefix}" != "/usr" +%define _variant .opt +%endif + +# TDE 3.5.13 specific building variables +%define tde_bindir %{tde_prefix}/bin +%define tde_datadir %{tde_prefix}/share +%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/kde +%define tde_tdedocdir %{tde_docdir}/tde +%define tde_tdeincludedir %{tde_includedir}/tde +%define tde_tdelibdir %{tde_libdir}/trinity + +%define _docdir %{tde_docdir} + +Name: trinity-tdewebdev +Version: 3.5.13.2 +Release: 1%{?dist}%{?_variant} +License: GPL +Summary: Web development applications +Group: Applications/Editors + +Vendor: Trinity Project +Packager: Francois Andriot +URL: http://www.trinitydesktop.org/ + +Prefix: %{tde_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Source0: %{name}-%{version}.tar.gz +Source1: http://download.sourceforge.net/quanta/css.tar.bz2 +Source2: http://download.sourceforge.net/quanta/html.tar.bz2 +Source3: http://download.sourceforge.net/quanta/php_manual_en_20030401.tar.bz2 +Source4: http://download.sourceforge.net/quanta/javascript.tar.bz2 +Source5: hi48-app-kxsldbg.png + +Patch1: kdewebdev-3.5.4-kxsldbg-icons.patch + +BuildRequires: autoconf automake libtool m4 +BuildRequires: desktop-file-utils +BuildRequires: trinity-tdelibs-devel >= %{version} +BuildRequires: trinity-tdesdk-devel >= %{version} +BuildRequires: libxslt-devel +BuildRequires: libxml2-devel +%if 0%{?rhel} == 4 +# a bogus dep in libexslt.la file from EL-4 (WONTFIX bug http://bugzilla.redhat.com/142241) +BuildRequires: libgcrypt-devel +%endif +BuildRequires: perl + +# KXSLDBG requires libxml2 +#if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || ( 0%{?fedora} > 0 && %{?fedora} <= 17 ) || 0%{?suse_version} +%define build_kxsldbg 1 +#endif + + +Obsoletes: trinity-kdewebdev-libs < %{version}-%{release} +Provides: trinity-kdewebdev-libs = %{version}-%{release} +Obsoletes: trinity-kdewebdev < %{version}-%{release} +Provides: trinity-kdewebdev = %{version}-%{release} + +Requires: trinity-quanta = %{version}-%{release} +Requires: trinity-quanta-data = %{version}-%{release} +Requires: trinity-kfilereplace = %{version}-%{release} +Requires: trinity-kimagemapeditor = %{version}-%{release} +Requires: trinity-klinkstatus = %{version}-%{release} +Requires: trinity-kommander = %{version}-%{release} +%{?build_kxsldbg:Requires: trinity-kxsldbg = %{version}-%{release}} + +%description +%{summary}, including: +* kfilereplace: batch search and replace tool +* kimagemapeditor: HTML image map editor +* klinkstatus: link checker +* kommander: visual dialog building tool +* quanta+: web development +%{?build_kxsldbg:* kxsldbg: xslt Debugger} + +%files + +########## + +%package -n trinity-quanta +Summary: web development environment for KDE [Trinity] +Group: Applications/Development +Requires: trinity-kfilereplace = %{version}-%{release} +Requires: trinity-klinkstatus = %{version}-%{release} +Requires: trinity-kommander = %{version}-%{release} +Requires: trinity-quanta-data = %{version}-%{release} +#Requires: trinity-kimagemapeditor = %{version}-%{release} +#Requires: trinity-kxsldbg = %{version}-%{release} +Requires: tidy + +%description -n trinity-quanta +Quanta Plus is a web development environment for working with HTML +and associated languages. It strives to be neutral and transparent +to all markup languages, while supporting popular web-based scripting +languages, CSS and other emerging W3C recommendations. + +Quanta Plus supports many external components, debuggers and other tools +for web development, several of which are shipped with the KDE web +development module. + +Quanta Plus is not in any way affiliated with any commercial versions +of Quanta. The primary coders from the original team left the GPL'd +version to produce a commercial product. + +This package is part of TDE, as a component of the TDE web development module. + +%files -n trinity-quanta +%defattr(-,root,root,-) +%{tde_bindir}/quanta +%{tde_tdelibdir}/quantadebuggerdbgp.la +%{tde_tdelibdir}/quantadebuggerdbgp.so +%{tde_tdelibdir}/quantadebuggergubed.la +%{tde_tdelibdir}/quantadebuggergubed.so +%{tde_tdeappdir}/quanta.desktop +%{tde_datadir}/apps/kafkapart +%{tde_datadir}/icons/hicolor/*/apps/quanta.png +%{tde_datadir}/mimelnk/application/x-webprj.desktop +%{tde_datadir}/services/quantadebuggerdbgp.desktop +%{tde_datadir}/services/quantadebuggergubed.desktop +%{tde_datadir}/services/quanta_preview_config.desktop +%{tde_datadir}/servicetypes/quantadebugger.desktop +%{tde_tdedocdir}/HTML/en/quanta/ + +%post -n trinity-quanta +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-quanta +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + + +########## + +%package -n trinity-quanta-data +Summary: data files for Quanta Plus web development environment [Trinity] +Group: Applications/Development + +%description -n trinity-quanta-data +This package contains architecture-independent data files for Quanta +Plus, a web development environment for working with HTML and associated +languages. + +See the quanta package for further information. + +This package is part of TDE, as a component of the TDE web development module. + +%files -n trinity-quanta-data +%defattr(-,root,root,-) +%{tde_datadir}/apps/quanta/ + +########## + +%package -n trinity-kfilereplace +Summary: batch search-and-replace component for KDE [Trinity] +Group: Applications/Development + +%description -n trinity-kfilereplace +KFileReplace is an embedded component for KDE that acts as a batch +search-and-replace tool. It allows you to replace one expression with +another in many files at once. + +Note that at the moment KFileReplace does not come as a standalone +application. An example of an application that uses the KFileReplace +component is Quanta Plus (found in the package quanta). + +This package is part of TDE, as a component of the TDE web development module. + +%files -n trinity-kfilereplace +%defattr(-,root,root,-) +%{tde_bindir}/kfilereplace +%{tde_tdelibdir}/libkfilereplacepart.la +%{tde_tdelibdir}/libkfilereplacepart.so +%{tde_tdeappdir}/kfilereplace.desktop +%{tde_datadir}/apps/kfilereplace/kfilereplaceui.rc +%{tde_datadir}/apps/kfilereplacepart +%{tde_datadir}/icons/hicolor/*/apps/kfilereplace.png +%{tde_datadir}/services/kfilereplacepart.desktop +%{tde_tdedocdir}/HTML/en/kfilereplace/ + +%post -n trinity-kfilereplace +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kfilereplace +for f in hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kimagemapeditor +Summary: HTML image map editor for KDE [Trinity] +Group: Applications/Development + +%description -n trinity-kimagemapeditor +KImageMapEditor is a tool that allows you to edit image maps in HTML +files. As well as providing a standalone application, KImageMapEditor +makes itself available as a KPart for embedding into larger applications. + +This package is part of TDE, as a component of the TDE web development module. + +%files -n trinity-kimagemapeditor +%defattr(-,root,root,-) +%{tde_bindir}/kimagemapeditor +%{tde_tdelibdir}/libkimagemapeditor.la +%{tde_tdelibdir}/libkimagemapeditor.so +%{tde_tdeappdir}/kimagemapeditor.desktop +%{tde_datadir}/apps/kimagemapeditor/ +%{tde_datadir}/icons/hicolor/*/apps/kimagemapeditor.png +%{tde_datadir}/icons/locolor/*/apps/kimagemapeditor.png +%{tde_datadir}/services/kimagemapeditorpart.desktop + +%post -n trinity-kimagemapeditor +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kimagemapeditor +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-klinkstatus +Summary: web link validity checker for KDE [Trinity] +Group: Applications/Development + +%description -n trinity-klinkstatus +KLinkStatus is KDE's web link validity checker. It allows you to +search internal and external links throughout your web site. Simply +point it to a single page and choose the depth to search. + +You can also check local files, or files over ftp:, fish: or any other +KIO protocols. For performance, links can be checked simultaneously. + +This package is part of TDE, as a component of the TDE web development module. + +%files -n trinity-klinkstatus +%defattr(-,root,root,-) +%{tde_bindir}/klinkstatus +%{tde_tdelibdir}/libklinkstatuspart.la +%{tde_tdelibdir}/libklinkstatuspart.so +%{tde_tdeappdir}/klinkstatus.desktop +%{tde_datadir}/apps/klinkstatus/ +%{tde_datadir}/apps/klinkstatuspart/ +%{tde_datadir}/config.kcfg/klinkstatus.kcfg +%{tde_datadir}/icons/crystalsvg/16x16/actions/bug.png +%{tde_datadir}/icons/hicolor/*/apps/klinkstatus.png +%{tde_datadir}/services/klinkstatus_part.desktop +%{tde_tdedocdir}/HTML/en/klinkstatus/ + +%post -n trinity-klinkstatus +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-klinkstatus +for f in crystalsvg hicolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kommander +Summary: visual dialog builder and executor tool [Trinity] +Group: Applications/Development +Requires: gettext + +%description -n trinity-kommander +Kommander is a visual dialog building tool whose primary objective is +to create as much functionality as possible without using any scripting +language. + +More specifically, Kommander is a set of tools that allow you to create +dynamic GUI dialogs that generate, based on their state, a piece of +text. The piece of text can be a command line to a program, any piece +of code, business documents that contain a lot of repetitious or +templated text and so on. + +The resulting generated text can then be executed as a command line +program (hence the name "Kommander"), written to a file, passed to a +script for extended processing, and literally anything else you can +think of. And you aren't required to write a single line of code! + +As well as building dialogs, Kommander may be expanded to create full +mainwindow applications. + +This package is part of TDE, as a component of the TDE web development module. + +%files -n trinity-kommander +%defattr(-,root,root,-) +%{tde_bindir}/kmdr-editor +%{tde_bindir}/kmdr-executor +%{tde_bindir}/kmdr-plugins +%{tde_libdir}/libkommanderplugin.so.* +%{tde_libdir}/libkommanderwidgets.la +%{tde_libdir}/libkommanderwidget.so.* +%{tde_libdir}/libkommanderwidgets.so.* +%{tde_tdeappdir}/kmdr-editor.desktop +%{tde_datadir}/applnk/.hidden/kmdr-executor.desktop +%{tde_datadir}/apps/katepart/syntax/kommander.xml +%{tde_tdedocdir}/HTML/en/kommander/ +%{tde_datadir}/icons/crystalsvg/*/apps/kommander.png +%{tde_datadir}/mimelnk/application/x-kommander.desktop +#kommander/examples /opt/trinity/share/doc/kommander +#kommander/working/extractkmdr /opt/trinity/bin +#kommander/working/kmdr2po /opt/trinity/bin +%{tde_tdelibdir}/libkommander_part.so +%{tde_tdelibdir}/libkommander_part.la +%{tde_datadir}/apps/kommander/ +%{tde_datadir}/apps/kmdr-editor/editor/ +%{tde_datadir}/apps/katepart/syntax/kommander-new.xml +%{tde_datadir}/apps/kdevappwizard/kommanderplugin.png +%{tde_datadir}/apps/kdevappwizard/kommanderplugin.tar.gz +%{tde_datadir}/apps/kdevappwizard/templates/kommanderplugin.kdevtemplate +%{tde_datadir}/services/kommander_part.desktop + +%post -n trinity-kommander +/sbin/ldconfig || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kommander +/sbin/ldconfig || : +for f in crystalsvg ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +########## + +%package -n trinity-kommander-devel +Summary: development files for Kommander [Trinity] +Group: Development/Libraries +Requires: trinity-kommander = %{version}-%{release} + +%description -n trinity-kommander-devel +This package contains the headers and other development files for +building plugins or otherwise extending Kommander. + +Kommander is a visual dialog building tool whose primary objective is +to create as much functionality as possible without using any scripting +language. + +See the kommander package for further information. + +This package is part of TDE, as a component of the TDE web development module. + +%files -n trinity-kommander-devel +%defattr(-,root,root,-) +%{tde_libdir}/libkommanderplugin.la +%{tde_libdir}/libkommanderplugin.so +%{tde_libdir}/libkommanderwidget.la +%{tde_libdir}/libkommanderwidget.so +%{tde_libdir}/libkommanderwidgets.so +%{tde_tdeincludedir}/kommander* +%{tde_tdeincludedir}/specials.h + +%post -n trinity-kommander-devel +/sbin/ldconfig || : + +%postun -n trinity-kommander-devel +/sbin/ldconfig || : + +########## + +%if 0%{?build_kxsldbg} + +%package -n trinity-kxsldbg +Summary: graphical XSLT debugger for KDE [Trinity] +Group: Applications/Development + +%description -n trinity-kxsldbg +KXSLDbg is a debugger for XSLT scripts. It includes a graphical user +interface as well as a text-based debugger. KXSLDbg can be run as a +standalone application or as an embedded KDE part. + +XSLT is an XML language for defining transformations of XML files from +XML to some other arbitrary format, such as XML, HTML, plain text, etc., +using standard XSLT stylesheets. + +This package is part of TDE, as a component of the TDE web development module. + +%files -n trinity-kxsldbg +%defattr(-,root,root,-) +%{tde_bindir}/kxsldbg +%{tde_bindir}/xsldbg +%{tde_tdelibdir}/libkxsldbgpart.la +%{tde_tdelibdir}/libkxsldbgpart.so +%{tde_tdeappdir}/kxsldbg.desktop +%{tde_datadir}/apps/kxsldbg +%{tde_datadir}/apps/kxsldbgpart +%{tde_tdedocdir}/HTML/en/kxsldbg/ +%{tde_tdedocdir}/HTML/en/xsldbg/ +%{tde_datadir}/icons/hicolor/*/actions/1downarrow.png +%{tde_datadir}/icons/hicolor/*/actions/configure.png +%{tde_datadir}/icons/hicolor/*/actions/exit.png +%{tde_datadir}/icons/hicolor/*/actions/hash.png +%{tde_datadir}/icons/hicolor/*/actions/mark.png +%{tde_datadir}/icons/hicolor/*/actions/next.png +%{tde_datadir}/icons/hicolor/*/actions/run.png +%{tde_datadir}/icons/hicolor/*/actions/step.png +%{tde_datadir}/icons/hicolor/*/actions/xsldbg_*.png +%{tde_datadir}/icons/hicolor/*/apps/kxsldbg.png +%{tde_datadir}/icons/locolor/*/apps/kxsldbg.png +%{tde_datadir}/services/kxsldbg_part.desktop + +%post -n trinity-kxsldbg +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%postun -n trinity-kxsldbg +for f in hicolor locolor ; do + touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: + gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: +done +update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : + +%endif + +########## + +%package devel +Group: Development/Libraries +Summary: Header files and documentation for %{name} + +Obsoletes: trinity-kdewebdev-devel < %{version}-%{release} +Provides: trinity-kdewebdev-devel = %{version}-%{release} + +Requires: trinity-tdelibs-devel +Requires: trinity-kommander-devel = %{version}-%{release} + +%description devel +%{summary}. + +%files devel + +########## + +%if 0%{?suse_version} || 0%{?pclinuxos} +%debug_package +%endif + +########## + +%prep +%setup -q -a 1 -a 2 -a 3 -a 4 +%patch1 -p1 -b .kxsldbg-icons + +%__install -m644 -p %{SOURCE5} kxsldbg/ +%if 0%{?build_kxsldbg} == 0 +%__rm -rf kxsldbg/ doc/kxsldbg/ doc/xsldbg/ +%endif + +# Ugly hack to modify TQT include directory inside autoconf files. +# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! +%__sed -i "admin/acinclude.m4.in" \ + -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ + -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" + +%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" +%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" +%__make -f "admin/Makefile.common" + +%build +unset QTDIR || : ; source /etc/profile.d/qt3.sh +export PATH="%{tde_bindir}:${PATH}" +export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" + +# Do not build against any "/usr" installed KDE +export KDEDIR="%{tde_prefix}" + +# Specific path for RHEL4 +if [ -d "/usr/X11R6" ]; then + export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" +fi + +%configure \ + --prefix=%{tde_prefix} \ + --exec-prefix=%{tde_prefix} \ + --bindir=%{tde_bindir} \ + --datadir=%{tde_datadir} \ + --libdir=%{tde_libdir} \ + --includedir=%{tde_tdeincludedir} \ + --disable-rpath \ + --enable-new-ldflags \ + --enable-closure \ + --disable-debug --disable-warnings \ + --disable-dependancy-tracking --enable-final \ + --with-extra-includes=%{tde_includedir}/tqt \ + +# WTF hack for RHEL4 +%if 0%{?rhel} == 4 +mkdir kommander/plugin/.libs/ +ln -s . kommander/plugin/.libs/.libs +%endif + +%__make %{?_smp_mflags} || %__make + + +%install +export PATH="%{tde_bindir}:${PATH}" +%__rm -rf %{?buildroot} +%__make install DESTDIR=%{?buildroot} + + +## package separately? Why doesn't upstream include this? -- Rex +# install docs +for i in css html javascript ; do + pushd $i + ./install.sh < - 3.5.13.2-1 +- Initial release for TDE 3.5.13.2 diff --git a/redhat/tdewebdev/trinity-kdewebdev-3.5.12.spec b/redhat/tdewebdev/trinity-kdewebdev-3.5.12.spec deleted file mode 100644 index 9dcec5cd7..000000000 --- a/redhat/tdewebdev/trinity-kdewebdev-3.5.12.spec +++ /dev/null @@ -1,228 +0,0 @@ -# Default version for this component -%if "%{?version}" == "" -%define version 3.5.12 -%endif -%define release 2 - -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?_prefix}" != "/usr" -%define _variant .opt -%define _docdir %{_prefix}/share/doc -%endif - -# TDE 3.5.12 specific building variables -BuildRequires: autoconf automake libtool m4 -%define tde_docdir %{_docdir} -%define tde_includedir %{_includedir}/kde -%define tde_libdir %{_libdir}/kde3 - -Name: trinity-kdewebdev -Version: %{?version} -Release: %{?release}%{?dist}%{?_variant} -License: GPL -Summary: Web development applications -Group: Applications/Editors - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: kdewebdev-%{version}.tar.gz -Source1: http://download.sourceforge.net/quanta/css.tar.bz2 -Source2: http://download.sourceforge.net/quanta/html.tar.bz2 -Source3: http://download.sourceforge.net/quanta/php_manual_en_20030401.tar.bz2 -Source4: http://download.sourceforge.net/quanta/javascript.tar.bz2 -Source5: hi48-app-kxsldbg.png - -Patch0: javascript.patch -Patch1: kdewebdev-3.5.4-kxsldbg-icons.patch - - -BuildRequires: desktop-file-utils -BuildRequires: trinity-kdelibs-devel -BuildRequires: trinity-kdesdk-devel -BuildRequires: libxslt-devel libxml2-devel -%if 0%{?rhel} == 4 -# a bogus dep in libexslt.la file from EL-4 (WONTFIX bug http://bugzilla.redhat.com/142241) -BuildRequires: libgcrypt-devel -%endif -BuildRequires: perl - -Requires: %{name}-libs = %{version}-%{release} - -# optional -Requires: tidy - -Provides: kdewebdev3 = %{version}-%{release} - -Obsoletes: quanta < %{version}-%{release} -Provides: quanta = %{version}-%{release} - -%define kommander_ver 1.2.2 -#Obsoletes: kommander < %{kommander_ver}-%{release} -Provides: kommander = %{kommander_ver}-%{release} - -%description -%{summary}, including: -* kfilereplace: batch search and replace tool -* kimagemapeditor: HTML image map editor -* klinkstatus: link checker -* kommander: visual dialog building tool -* kxsldbg: xslt Debugger -* quanta+: web development - -%package devel -Group: Development/Libraries -Summary: Header files and documentation for %{name} -Provides: kdewebdev3-devel = %{version}-%{release} -Requires: trinity-kdelibs-devel -Requires: %{name}-libs = %{version}-%{release} -Obsoletes: quanta-devel < %{version}-%{release} -%description devel -%{summary}. - -%package libs -Summary: %{name} runtime libraries -Group: System Environment/Libraries -Requires: trinity-kdelibs -# helps multilib upgrades -%description libs -%{summary}. - - -%prep -%setup -q -a 1 -a 2 -a 3 -a 4 -n kdewebdev -%patch0 -p0 -b .javascript -%patch1 -p1 -b .kxsldbg-icons - -install -m644 -p %{SOURCE5} kxsldbg/ - -%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" -%__make -f admin/Makefile.common - - -%build -unset QTDIR || : ; source /etc/profile.d/qt.sh -export PATH="%{_bindir}:${PATH}" -export LDFLAGS="-L%{_libdir} -I%{_includedir}" - -%if 0%{?fedora} >= 15 -export CXXFLAGS="${CXXFLAGS} -fpermissive" -%endif - -%configure \ - --includedir=%{tde_includedir} \ - --disable-rpath \ - --enable-new-ldflags \ - --disable-debug --disable-warnings \ - --disable-dependancy-tracking --enable-final \ - --with-extra-includes=%{_includedir}/tqt \ - -%__make %{?_smp_mflags} - - -%install -export PATH="%{_bindir}:${PATH}" -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{?buildroot} - - -## package separately? Why doesn't upstream include this? -- Rex -# install docs -for i in css html javascript ; do - pushd $i - ./install.sh < /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -for f in crystalsvg hicolor locolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - - -%post libs -/sbin/ldconfig - -%postun libs -/sbin/ldconfig - - -%clean -%__rm -rf %{buildroot} - - -%files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING NEWS README -%doc rpmdocs/* -%{_bindir}/* -%{tde_libdir}/* -%{_datadir}/applications/kde/* -%{_datadir}/applnk/.hidden/* -%{_datadir}/apps/* -%doc %{_datadir}/apps/quanta/doc -%{_datadir}/config.kcfg/* -%{_datadir}/icons/crystalsvg/*/*/* -%{_datadir}/icons/hicolor/*/*/* -%{_datadir}/icons/locolor/*/*/* -%{_datadir}/mimelnk/application/* -%{_datadir}/services/* -%{_datadir}/servicetypes/* -%{tde_docdir}/HTML/en/* - - -%files libs -%defattr(-,root,root,-) -%{_libdir}/lib*.so.* -%{_libdir}/lib*.la - -%files devel -%defattr(-,root,root,-) -%{_libdir}/lib*.so -%{tde_includedir}/* - - -%changelog -* Mon Sep 19 2011 Francois Andriot - 3.5.12-2 -- Add support for RHEL5 - -* Thu Sep 15 2011 Francois Andriot - 3.5.12-1 -- Initial build for RHEL 6 / Fedora 15 -- Use Spec file from Fedora8 "kdewebdev-3.5.10-1" -- Import to GIT diff --git a/redhat/tdewebdev/trinity-kdewebdev-3.5.13.1.spec b/redhat/tdewebdev/trinity-kdewebdev-3.5.13.1.spec deleted file mode 100644 index b415c063f..000000000 --- a/redhat/tdewebdev/trinity-kdewebdev-3.5.13.1.spec +++ /dev/null @@ -1,566 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -Name: trinity-tdewebdev -Version: 3.5.13.1 -Release: 1%{?dist}%{?_variant} -License: GPL -Summary: Web development applications -Group: Applications/Editors - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: kdewebdev-3.5.13.1.tar.gz -Source1: http://download.sourceforge.net/quanta/css.tar.bz2 -Source2: http://download.sourceforge.net/quanta/html.tar.bz2 -Source3: http://download.sourceforge.net/quanta/php_manual_en_20030401.tar.bz2 -Source4: http://download.sourceforge.net/quanta/javascript.tar.bz2 -Source5: hi48-app-kxsldbg.png - -Patch0: javascript.patch -Patch1: kdewebdev-3.5.4-kxsldbg-icons.patch - -BuildRequires: autoconf automake libtool m4 -BuildRequires: desktop-file-utils -BuildRequires: trinity-tdelibs-devel >= %{version} -BuildRequires: trinity-tdesdk-devel >= %{version} -BuildRequires: libxslt-devel -BuildRequires: libxml2-devel -%if 0%{?rhel} == 4 -# a bogus dep in libexslt.la file from EL-4 (WONTFIX bug http://bugzilla.redhat.com/142241) -BuildRequires: libgcrypt-devel -%endif -BuildRequires: perl - - -Obsoletes: trinity-kdewebdev-libs < %{version}-%{release} -Provides: trinity-kdewebdev-libs = %{version}-%{release} -Obsoletes: trinity-kdewebdev < %{version}-%{release} -Provides: trinity-kdewebdev = %{version}-%{release} - -Requires: trinity-quanta = %{version}-%{release} -Requires: trinity-quanta-data = %{version}-%{release} -Requires: trinity-kfilereplace = %{version}-%{release} -Requires: trinity-kimagemapeditor = %{version}-%{release} -Requires: trinity-klinkstatus = %{version}-%{release} -Requires: trinity-kommander = %{version}-%{release} -Requires: trinity-kxsldbg = %{version}-%{release} - - -%description -%{summary}, including: -* kfilereplace: batch search and replace tool -* kimagemapeditor: HTML image map editor -* klinkstatus: link checker -* kommander: visual dialog building tool -* kxsldbg: xslt Debugger -* quanta+: web development - -%files - -########## - -%package -n trinity-quanta -Summary: web development environment for KDE [Trinity] -Group: Applications/Development -Requires: trinity-kfilereplace = %{version}-%{release} -Requires: trinity-klinkstatus = %{version}-%{release} -Requires: trinity-kommander = %{version}-%{release} -Requires: trinity-quanta-data = %{version}-%{release} -#Requires: trinity-kimagemapeditor = %{version}-%{release} -#Requires: trinity-kxsldbg = %{version}-%{release} -Requires: tidy - -%description -n trinity-quanta -Quanta Plus is a web development environment for working with HTML -and associated languages. It strives to be neutral and transparent -to all markup languages, while supporting popular web-based scripting -languages, CSS and other emerging W3C recommendations. - -Quanta Plus supports many external components, debuggers and other tools -for web development, several of which are shipped with the KDE web -development module. - -Quanta Plus is not in any way affiliated with any commercial versions -of Quanta. The primary coders from the original team left the GPL'd -version to produce a commercial product. - -This package is part of TDE, as a component of the TDE web development module. - -%files -n trinity-quanta -%defattr(-,root,root,-) -%{tde_bindir}/quanta -%{tde_tdelibdir}/quantadebuggerdbgp.la -%{tde_tdelibdir}/quantadebuggerdbgp.so -%{tde_tdelibdir}/quantadebuggergubed.la -%{tde_tdelibdir}/quantadebuggergubed.so -%{tde_tdeappdir}/quanta.desktop -%{tde_datadir}/apps/kafkapart -%{tde_datadir}/icons/hicolor/*/apps/quanta.png -%{tde_datadir}/mimelnk/application/x-webprj.desktop -%{tde_datadir}/services/quantadebuggerdbgp.desktop -%{tde_datadir}/services/quantadebuggergubed.desktop -%{tde_datadir}/services/quanta_preview_config.desktop -%{tde_datadir}/servicetypes/quantadebugger.desktop -%{tde_tdedocdir}/HTML/en/quanta/ - -%post -n trinity-quanta -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-quanta -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - - -########## - -%package -n trinity-quanta-data -Summary: data files for Quanta Plus web development environment [Trinity] -Group: Applications/Development - -%description -n trinity-quanta-data -This package contains architecture-independent data files for Quanta -Plus, a web development environment for working with HTML and associated -languages. - -See the quanta package for further information. - -This package is part of TDE, as a component of the TDE web development module. - -%files -n trinity-quanta-data -%defattr(-,root,root,-) -%{tde_datadir}/apps/quanta/ - -########## - -%package -n trinity-kfilereplace -Summary: batch search-and-replace component for KDE [Trinity] -Group: Applications/Development - -%description -n trinity-kfilereplace -KFileReplace is an embedded component for KDE that acts as a batch -search-and-replace tool. It allows you to replace one expression with -another in many files at once. - -Note that at the moment KFileReplace does not come as a standalone -application. An example of an application that uses the KFileReplace -component is Quanta Plus (found in the package quanta). - -This package is part of TDE, as a component of the TDE web development module. - -%files -n trinity-kfilereplace -%defattr(-,root,root,-) -%{tde_bindir}/kfilereplace -%{tde_tdelibdir}/libkfilereplacepart.la -%{tde_tdelibdir}/libkfilereplacepart.so -%{tde_tdeappdir}/kfilereplace.desktop -%{tde_datadir}/apps/kfilereplace/kfilereplaceui.rc -%{tde_datadir}/apps/kfilereplacepart -%{tde_datadir}/icons/hicolor/*/apps/kfilereplace.png -%{tde_datadir}/services/kfilereplacepart.desktop -%{tde_tdedocdir}/HTML/en/kfilereplace/ - -%post -n trinity-kfilereplace -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kfilereplace -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kimagemapeditor -Summary: HTML image map editor for KDE [Trinity] -Group: Applications/Development - -%description -n trinity-kimagemapeditor -KImageMapEditor is a tool that allows you to edit image maps in HTML -files. As well as providing a standalone application, KImageMapEditor -makes itself available as a KPart for embedding into larger applications. - -This package is part of TDE, as a component of the TDE web development module. - -%files -n trinity-kimagemapeditor -%defattr(-,root,root,-) -%{tde_bindir}/kimagemapeditor -%{tde_tdelibdir}/libkimagemapeditor.la -%{tde_tdelibdir}/libkimagemapeditor.so -%{tde_tdeappdir}/kimagemapeditor.desktop -%{tde_datadir}/apps/kimagemapeditor/ -%{tde_datadir}/icons/hicolor/*/apps/kimagemapeditor.png -%{tde_datadir}/icons/locolor/*/apps/kimagemapeditor.png -%{tde_datadir}/services/kimagemapeditorpart.desktop - -%post -n trinity-kimagemapeditor -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kimagemapeditor -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-klinkstatus -Summary: web link validity checker for KDE [Trinity] -Group: Applications/Development - -%description -n trinity-klinkstatus -KLinkStatus is KDE's web link validity checker. It allows you to -search internal and external links throughout your web site. Simply -point it to a single page and choose the depth to search. - -You can also check local files, or files over ftp:, fish: or any other -KIO protocols. For performance, links can be checked simultaneously. - -This package is part of TDE, as a component of the TDE web development module. - -%files -n trinity-klinkstatus -%defattr(-,root,root,-) -%{tde_bindir}/klinkstatus -%{tde_tdelibdir}/libklinkstatuspart.la -%{tde_tdelibdir}/libklinkstatuspart.so -%{tde_tdeappdir}/klinkstatus.desktop -%{tde_datadir}/apps/klinkstatus/ -%{tde_datadir}/apps/klinkstatuspart/ -%{tde_datadir}/config.kcfg/klinkstatus.kcfg -%{tde_datadir}/icons/crystalsvg/16x16/actions/bug.png -%{tde_datadir}/icons/hicolor/*/apps/klinkstatus.png -%{tde_datadir}/services/klinkstatus_part.desktop -%{tde_tdedocdir}/HTML/en/klinkstatus/ - -%post -n trinity-klinkstatus -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-klinkstatus -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kommander -Summary: visual dialog builder and executor tool [Trinity] -Group: Applications/Development -Requires: gettext - -%description -n trinity-kommander -Kommander is a visual dialog building tool whose primary objective is -to create as much functionality as possible without using any scripting -language. - -More specifically, Kommander is a set of tools that allow you to create -dynamic GUI dialogs that generate, based on their state, a piece of -text. The piece of text can be a command line to a program, any piece -of code, business documents that contain a lot of repetitious or -templated text and so on. - -The resulting generated text can then be executed as a command line -program (hence the name "Kommander"), written to a file, passed to a -script for extended processing, and literally anything else you can -think of. And you aren't required to write a single line of code! - -As well as building dialogs, Kommander may be expanded to create full -mainwindow applications. - -This package is part of TDE, as a component of the TDE web development module. - -%files -n trinity-kommander -%defattr(-,root,root,-) -%{tde_bindir}/kmdr-editor -%{tde_bindir}/kmdr-executor -%{tde_bindir}/kmdr-plugins -%{tde_libdir}/libkommanderplugin.so.* -%{tde_libdir}/libkommanderwidgets.la -%{tde_libdir}/libkommanderwidget.so.* -%{tde_libdir}/libkommanderwidgets.so.* -%{tde_tdeappdir}/kmdr-editor.desktop -%{tde_datadir}/applnk/.hidden/kmdr-executor.desktop -%{tde_datadir}/apps/katepart/syntax/kommander.xml -%{tde_datadir}/apps/kommander/pics/kommandersplash.png -%{tde_tdedocdir}/HTML/en/kommander/ -%{tde_datadir}/icons/crystalsvg/*/apps/kommander.png -%{tde_datadir}/mimelnk/application/x-kommander.desktop -#kommander/examples /opt/trinity/share/doc/kommander -#kommander/working/extractkmdr /opt/trinity/bin -#kommander/working/kmdr2po /opt/trinity/bin -%{tde_tdelibdir}/libkommander_part.so -%{tde_tdelibdir}/libkommander_part.la -%{tde_datadir}/apps/kommander/ -%{tde_datadir}/apps/kmdr-editor/editor/ -%{tde_datadir}/apps/katepart/syntax/kommander-new.xml -%{tde_datadir}/apps/kdevappwizard/kommanderplugin.png -%{tde_datadir}/apps/kdevappwizard/kommanderplugin.tar.gz -%{tde_datadir}/apps/kdevappwizard/templates/kommanderplugin.kdevtemplate -%{tde_datadir}/services/kommander_part.desktop - -%post -n trinity-kommander -/sbin/ldconfig || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kommander -/sbin/ldconfig || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kommander-devel -Summary: development files for Kommander [Trinity] -Group: Development/Libraries -Requires: trinity-kommander = %{version}-%{release} - -%description -n trinity-kommander-devel -This package contains the headers and other development files for -building plugins or otherwise extending Kommander. - -Kommander is a visual dialog building tool whose primary objective is -to create as much functionality as possible without using any scripting -language. - -See the kommander package for further information. - -This package is part of TDE, as a component of the TDE web development module. - -%files -n trinity-kommander-devel -%defattr(-,root,root,-) -%{tde_libdir}/libkommanderplugin.la -%{tde_libdir}/libkommanderplugin.so -%{tde_libdir}/libkommanderwidget.la -%{tde_libdir}/libkommanderwidget.so -%{tde_libdir}/libkommanderwidgets.so -%{tde_tdeincludedir}/kommander* -%{tde_tdeincludedir}/specials.h - -%post -n trinity-kommander-devel -/sbin/ldconfig || : - -%postun -n trinity-kommander-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kxsldbg -Summary: graphical XSLT debugger for KDE [Trinity] -Group: Applications/Development - -%description -n trinity-kxsldbg -KXSLDbg is a debugger for XSLT scripts. It includes a graphical user -interface as well as a text-based debugger. KXSLDbg can be run as a -standalone application or as an embedded KDE part. - -XSLT is an XML language for defining transformations of XML files from -XML to some other arbitrary format, such as XML, HTML, plain text, etc., -using standard XSLT stylesheets. - -This package is part of TDE, as a component of the TDE web development module. - -%files -n trinity-kxsldbg -%defattr(-,root,root,-) -%{tde_bindir}/kxsldbg -%{tde_bindir}/xsldbg -%{tde_tdelibdir}/libkxsldbgpart.la -%{tde_tdelibdir}/libkxsldbgpart.so -%{tde_tdeappdir}/kxsldbg.desktop -%{tde_datadir}/apps/kxsldbg -%{tde_datadir}/apps/kxsldbgpart -%{tde_tdedocdir}/HTML/en/kxsldbg/ -%{tde_tdedocdir}/HTML/en/xsldbg/ -%{tde_datadir}/icons/hicolor/*/actions/1downarrow.png -%{tde_datadir}/icons/hicolor/*/actions/configure.png -%{tde_datadir}/icons/hicolor/*/actions/exit.png -%{tde_datadir}/icons/hicolor/*/actions/hash.png -%{tde_datadir}/icons/hicolor/*/actions/mark.png -%{tde_datadir}/icons/hicolor/*/actions/next.png -%{tde_datadir}/icons/hicolor/*/actions/run.png -%{tde_datadir}/icons/hicolor/*/actions/step.png -%{tde_datadir}/icons/hicolor/*/actions/xsldbg_*.png -%{tde_datadir}/icons/hicolor/*/apps/kxsldbg.png -%{tde_datadir}/icons/locolor/*/apps/kxsldbg.png -%{tde_datadir}/services/kxsldbg_part.desktop - -%post -n trinity-kxsldbg -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kxsldbg -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package devel -Group: Development/Libraries -Summary: Header files and documentation for %{name} - -Obsoletes: trinity-kdewebdev-devel < %{version}-%{release} -Provides: trinity-kdewebdev-devel = %{version}-%{release} - -Requires: trinity-tdelibs-devel -Requires: trinity-kommander-devel = %{version}-%{release} - -%description devel -%{summary}. - -%files devel - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -a 1 -a 2 -a 3 -a 4 -n kdewebdev-3.5.13.1 -%patch0 -p0 -b .javascript -%patch1 -p1 -b .kxsldbg-icons - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - - -%__install -m644 -p %{SOURCE5} kxsldbg/ - -%build -unset QTDIR || : ; source /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -# Do not build against any "/usr" installed KDE -export KDEDIR=%{tde_prefix} - -# Specific path for RHEL4 -if [ -d /usr/X11R6 ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --enable-new-ldflags \ - --enable-closure \ - --disable-debug --disable-warnings \ - --disable-dependancy-tracking --enable-final \ - --with-extra-includes=%{tde_includedir}/tqt \ - -# WTF hack for RHEL4 -%if 0%{?rhel} == 4 -mkdir kommander/plugin/.libs/ -ln -s . kommander/plugin/.libs/.libs -%endif - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{?buildroot} - - -## package separately? Why doesn't upstream include this? -- Rex -# install docs -for i in css html javascript ; do - pushd $i - ./install.sh < - 3.5.13.1-1 -- Initial build for TDE 3.5.13.1 diff --git a/redhat/tdewebdev/trinity-kdewebdev-3.5.13.spec b/redhat/tdewebdev/trinity-kdewebdev-3.5.13.spec deleted file mode 100644 index 2dec2ccc3..000000000 --- a/redhat/tdewebdev/trinity-kdewebdev-3.5.13.spec +++ /dev/null @@ -1,556 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/kde -%define tde_tdeincludedir %{tde_includedir}/kde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -Name: trinity-tdewebdev -Version: 3.5.13 -Release: 3%{?dist}%{?_variant} -License: GPL -Summary: Web development applications -Group: Applications/Editors - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: kdewebdev-%{version}.tar.gz -Source1: http://download.sourceforge.net/quanta/css.tar.bz2 -Source2: http://download.sourceforge.net/quanta/html.tar.bz2 -Source3: http://download.sourceforge.net/quanta/php_manual_en_20030401.tar.bz2 -Source4: http://download.sourceforge.net/quanta/javascript.tar.bz2 -Source5: hi48-app-kxsldbg.png - -Patch0: javascript.patch -Patch1: kdewebdev-3.5.4-kxsldbg-icons.patch - -# [kdewebdev] Fix FTBFS due to missing linker flags -Patch2: kdewebdev-3.5.13-fix_ftbfs.patch - -BuildRequires: autoconf automake libtool m4 -BuildRequires: desktop-file-utils -BuildRequires: trinity-kdelibs-devel -BuildRequires: trinity-kdesdk-devel -BuildRequires: libxslt-devel libxml2-devel -%if 0%{?rhel} == 4 -# a bogus dep in libexslt.la file from EL-4 (WONTFIX bug http://bugzilla.redhat.com/142241) -BuildRequires: libgcrypt-devel -%endif -BuildRequires: perl - - -Obsoletes: trinity-kdewebdev-libs < %{version}-%{release} -Provides: trinity-kdewebdev-libs = %{version}-%{release} -Obsoletes: trinity-kdewebdev < %{version}-%{release} -Provides: trinity-kdewebdev = %{version}-%{release} - -Requires: trinity-quanta = %{version}-%{release} -Requires: trinity-quanta-data = %{version}-%{release} -Requires: trinity-kfilereplace = %{version}-%{release} -Requires: trinity-kimagemapeditor = %{version}-%{release} -Requires: trinity-klinkstatus = %{version}-%{release} -Requires: trinity-kommander = %{version}-%{release} -Requires: trinity-kxsldbg = %{version}-%{release} - - -%description -%{summary}, including: -* kfilereplace: batch search and replace tool -* kimagemapeditor: HTML image map editor -* klinkstatus: link checker -* kommander: visual dialog building tool -* kxsldbg: xslt Debugger -* quanta+: web development - -%files - -########## - -%package -n trinity-quanta -Summary: web development environment for KDE [Trinity] -Group: Applications/Development -Requires: trinity-kfilereplace = %{version}-%{release} -Requires: trinity-klinkstatus = %{version}-%{release} -Requires: trinity-kommander = %{version}-%{release} -Requires: trinity-quanta-data = %{version}-%{release} -#Requires: trinity-kimagemapeditor = %{version}-%{release} -#Requires: trinity-kxsldbg = %{version}-%{release} -Requires: tidy - -%description -n trinity-quanta -Quanta Plus is a web development environment for working with HTML -and associated languages. It strives to be neutral and transparent -to all markup languages, while supporting popular web-based scripting -languages, CSS and other emerging W3C recommendations. - -Quanta Plus supports many external components, debuggers and other tools -for web development, several of which are shipped with the KDE web -development module. - -Quanta Plus is not in any way affiliated with any commercial versions -of Quanta. The primary coders from the original team left the GPL'd -version to produce a commercial product. - -This package is part of TDE, as a component of the TDE web development module. - -%files -n trinity-quanta -%defattr(-,root,root,-) -%{tde_bindir}/quanta -%{tde_tdelibdir}/quantadebuggerdbgp.la -%{tde_tdelibdir}/quantadebuggerdbgp.so -%{tde_tdelibdir}/quantadebuggergubed.la -%{tde_tdelibdir}/quantadebuggergubed.so -%{tde_tdeappdir}/quanta.desktop -%{tde_datadir}/apps/kafkapart -%{tde_datadir}/icons/hicolor/*/apps/quanta.png -%{tde_datadir}/mimelnk/application/x-webprj.desktop -%{tde_datadir}/services/quantadebuggerdbgp.desktop -%{tde_datadir}/services/quantadebuggergubed.desktop -%{tde_datadir}/services/quanta_preview_config.desktop -%{tde_datadir}/servicetypes/quantadebugger.desktop -%{tde_tdedocdir}/HTML/en/quanta/ - -%post -n trinity-quanta -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-quanta -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - - -########## - -%package -n trinity-quanta-data -Summary: data files for Quanta Plus web development environment [Trinity] -Group: Applications/Development - -%description -n trinity-quanta-data -This package contains architecture-independent data files for Quanta -Plus, a web development environment for working with HTML and associated -languages. - -See the quanta package for further information. - -This package is part of TDE, as a component of the TDE web development module. - -%files -n trinity-quanta-data -%defattr(-,root,root,-) -%{tde_datadir}/apps/quanta/ - -########## - -%package -n trinity-kfilereplace -Summary: batch search-and-replace component for KDE [Trinity] -Group: Applications/Development - -%description -n trinity-kfilereplace -KFileReplace is an embedded component for KDE that acts as a batch -search-and-replace tool. It allows you to replace one expression with -another in many files at once. - -Note that at the moment KFileReplace does not come as a standalone -application. An example of an application that uses the KFileReplace -component is Quanta Plus (found in the package quanta). - -This package is part of TDE, as a component of the TDE web development module. - -%files -n trinity-kfilereplace -%defattr(-,root,root,-) -%{tde_bindir}/kfilereplace -%{tde_tdelibdir}/libkfilereplacepart.la -%{tde_tdelibdir}/libkfilereplacepart.so -%{tde_tdeappdir}/kfilereplace.desktop -%{tde_datadir}/apps/kfilereplace/kfilereplaceui.rc -%{tde_datadir}/apps/kfilereplacepart -%{tde_datadir}/icons/hicolor/*/apps/kfilereplace.png -%{tde_datadir}/services/kfilereplacepart.desktop -%{tde_tdedocdir}/HTML/en/kfilereplace/ - -%post -n trinity-kfilereplace -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kfilereplace -for f in hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kimagemapeditor -Summary: HTML image map editor for KDE [Trinity] -Group: Applications/Development - -%description -n trinity-kimagemapeditor -KImageMapEditor is a tool that allows you to edit image maps in HTML -files. As well as providing a standalone application, KImageMapEditor -makes itself available as a KPart for embedding into larger applications. - -This package is part of TDE, as a component of the TDE web development module. - -%files -n trinity-kimagemapeditor -%defattr(-,root,root,-) -%{tde_bindir}/kimagemapeditor -%{tde_tdelibdir}/libkimagemapeditor.la -%{tde_tdelibdir}/libkimagemapeditor.so -%{tde_tdeappdir}/kimagemapeditor.desktop -%{tde_datadir}/apps/kimagemapeditor/ -%{tde_datadir}/icons/hicolor/*/apps/kimagemapeditor.png -%{tde_datadir}/icons/locolor/*/apps/kimagemapeditor.png -%{tde_datadir}/services/kimagemapeditorpart.desktop - -%post -n trinity-kimagemapeditor -for f in hicolor locolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kimagemapeditor -for f in hicolor locolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-klinkstatus -Summary: web link validity checker for KDE [Trinity] -Group: Applications/Development - -%description -n trinity-klinkstatus -KLinkStatus is KDE's web link validity checker. It allows you to -search internal and external links throughout your web site. Simply -point it to a single page and choose the depth to search. - -You can also check local files, or files over ftp:, fish: or any other -KIO protocols. For performance, links can be checked simultaneously. - -This package is part of TDE, as a component of the TDE web development module. - -%files -n trinity-klinkstatus -%defattr(-,root,root,-) -%{tde_bindir}/klinkstatus -%{tde_tdelibdir}/libklinkstatuspart.la -%{tde_tdelibdir}/libklinkstatuspart.so -%{tde_tdeappdir}/klinkstatus.desktop -%{tde_datadir}/apps/klinkstatus/ -%{tde_datadir}/apps/klinkstatuspart/ -%{tde_datadir}/config.kcfg/klinkstatus.kcfg -%{tde_datadir}/icons/crystalsvg/16x16/actions/bug.png -%{tde_datadir}/icons/hicolor/*/apps/klinkstatus.png -%{tde_datadir}/services/klinkstatus_part.desktop -%{tde_tdedocdir}/HTML/en/klinkstatus/ - -%post -n trinity-klinkstatus -for f in crystalsvg hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-klinkstatus -for f in crystalsvg hicolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kommander -Summary: visual dialog builder and executor tool [Trinity] -Group: Applications/Development -Requires: gettext - -%description -n trinity-kommander -Kommander is a visual dialog building tool whose primary objective is -to create as much functionality as possible without using any scripting -language. - -More specifically, Kommander is a set of tools that allow you to create -dynamic GUI dialogs that generate, based on their state, a piece of -text. The piece of text can be a command line to a program, any piece -of code, business documents that contain a lot of repetitious or -templated text and so on. - -The resulting generated text can then be executed as a command line -program (hence the name "Kommander"), written to a file, passed to a -script for extended processing, and literally anything else you can -think of. And you aren't required to write a single line of code! - -As well as building dialogs, Kommander may be expanded to create full -mainwindow applications. - -This package is part of TDE, as a component of the TDE web development module. - -%files -n trinity-kommander -%defattr(-,root,root,-) -%{tde_bindir}/kmdr-editor -%{tde_bindir}/kmdr-executor -%{tde_bindir}/kmdr-plugins -%{tde_libdir}/libkommanderplugin.so.* -%{tde_libdir}/libkommanderwidgets.la -%{tde_libdir}/libkommanderwidget.so.* -%{tde_libdir}/libkommanderwidgets.so.* -%{tde_tdeappdir}/kmdr-editor.desktop -%{tde_datadir}/applnk/.hidden/kmdr-executor.desktop -%{tde_datadir}/apps/katepart/syntax/kommander.xml -%{tde_datadir}/apps/kommander/pics/kommandersplash.png -%{tde_tdedocdir}/HTML/en/kommander/ -%{tde_datadir}/icons/crystalsvg/*/apps/kommander.png -%{tde_datadir}/mimelnk/application/x-kommander.desktop -#kommander/examples /opt/trinity/share/doc/kommander -#kommander/working/extractkmdr /opt/trinity/bin -#kommander/working/kmdr2po /opt/trinity/bin -%{tde_tdelibdir}/libkommander_part.so -%{tde_tdelibdir}/libkommander_part.la -%{tde_datadir}/apps/kommander/ -%{tde_datadir}/apps/kmdr-editor/editor/ -%{tde_datadir}/apps/katepart/syntax/kommander-new.xml -%{tde_datadir}/apps/kdevappwizard/kommanderplugin.png -%{tde_datadir}/apps/kdevappwizard/kommanderplugin.tar.gz -%{tde_datadir}/apps/kdevappwizard/templates/kommanderplugin.kdevtemplate -%{tde_datadir}/services/kommander_part.desktop - -%post -n trinity-kommander -/sbin/ldconfig || : -for f in crystalsvg ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kommander -/sbin/ldconfig || : -for f in crystalsvg ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kommander-devel -Summary: development files for Kommander [Trinity] -Group: Development/Libraries -Requires: trinity-kommander = %{version}-%{release} - -%description -n trinity-kommander-devel -This package contains the headers and other development files for -building plugins or otherwise extending Kommander. - -Kommander is a visual dialog building tool whose primary objective is -to create as much functionality as possible without using any scripting -language. - -See the kommander package for further information. - -This package is part of TDE, as a component of the TDE web development module. - -%files -n trinity-kommander-devel -%defattr(-,root,root,-) -%{tde_libdir}/libkommanderplugin.la -%{tde_libdir}/libkommanderplugin.so -%{tde_libdir}/libkommanderwidget.la -%{tde_libdir}/libkommanderwidget.so -%{tde_libdir}/libkommanderwidgets.so -%{tde_tdeincludedir}/kommander* -%{tde_tdeincludedir}/specials.h - -%post -n trinity-kommander-devel -/sbin/ldconfig || : - -%postun -n trinity-kommander-devel -/sbin/ldconfig || : - -########## - -%package -n trinity-kxsldbg -Summary: graphical XSLT debugger for KDE [Trinity] -Group: Applications/Development - -%description -n trinity-kxsldbg -KXSLDbg is a debugger for XSLT scripts. It includes a graphical user -interface as well as a text-based debugger. KXSLDbg can be run as a -standalone application or as an embedded KDE part. - -XSLT is an XML language for defining transformations of XML files from -XML to some other arbitrary format, such as XML, HTML, plain text, etc., -using standard XSLT stylesheets. - -This package is part of TDE, as a component of the TDE web development module. - -%files -n trinity-kxsldbg -%defattr(-,root,root,-) -%{tde_bindir}/kxsldbg -%{tde_bindir}/xsldbg -%{tde_tdelibdir}/libkxsldbgpart.la -%{tde_tdelibdir}/libkxsldbgpart.so -%{tde_tdeappdir}/kxsldbg.desktop -%{tde_datadir}/apps/kxsldbg -%{tde_datadir}/apps/kxsldbgpart -%{tde_tdedocdir}/HTML/en/kxsldbg/ -%{tde_tdedocdir}/HTML/en/xsldbg/ -%{tde_datadir}/icons/hicolor/*/actions/1downarrow.png -%{tde_datadir}/icons/hicolor/*/actions/configure.png -%{tde_datadir}/icons/hicolor/*/actions/exit.png -%{tde_datadir}/icons/hicolor/*/actions/hash.png -%{tde_datadir}/icons/hicolor/*/actions/mark.png -%{tde_datadir}/icons/hicolor/*/actions/next.png -%{tde_datadir}/icons/hicolor/*/actions/run.png -%{tde_datadir}/icons/hicolor/*/actions/step.png -%{tde_datadir}/icons/hicolor/*/actions/xsldbg_*.png -%{tde_datadir}/icons/hicolor/*/apps/kxsldbg.png -%{tde_datadir}/icons/locolor/*/apps/kxsldbg.png -%{tde_datadir}/services/kxsldbg_part.desktop - -%post -n trinity-kxsldbg -for f in hicolor locolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kxsldbg -for f in hicolor locolor ; do - touch --no-create %{_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package devel -Group: Development/Libraries -Summary: Header files and documentation for %{name} - -Obsoletes: trinity-kdewebdev-devel < %{version}-%{release} -Provides: trinity-kdewebdev-devel = %{version}-%{release} - -Requires: trinity-tdelibs-devel -Requires: trinity-kommander-devel = %{version}-%{release} - -%description devel -%{summary}. - -%files devel - -########## - -%prep -%setup -q -a 1 -a 2 -a 3 -a 4 -n kdewebdev - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - -%patch0 -p0 -b .javascript -%patch1 -p1 -b .kxsldbg-icons -%patch2 -p1 -b .ftbfs - -%__install -m644 -p %{SOURCE5} kxsldbg/ - - -%build -unset QTDIR || : ; source /etc/profile.d/qt.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --enable-new-ldflags \ - --enable-closure \ - --disable-debug --disable-warnings \ - --disable-dependancy-tracking --enable-final \ - --with-extra-includes=%{tde_includedir}/tqt \ - -%__make %{?_smp_mflags} - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{?buildroot} - - -## package separately? Why doesn't upstream include this? -- Rex -# install docs -for i in css html javascript ; do - pushd $i - ./install.sh < - 3.5.13-2 -- Fix HTML directory location - -* Sun Oct 30 2011 Francois Andriot - 3.5.13-1 -- Initial release for RHEL 6, RHEL 5 and Fedora 15 - -* Mon Sep 19 2011 Francois Andriot - 3.5.13-0 -- Import to GIT diff --git a/redhat/tdewebdev/trinity-tdewebdev-3.5.13.2.spec b/redhat/tdewebdev/trinity-tdewebdev-3.5.13.2.spec deleted file mode 100644 index 21a6c9401..000000000 --- a/redhat/tdewebdev/trinity-tdewebdev-3.5.13.2.spec +++ /dev/null @@ -1,573 +0,0 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - -# TDE 3.5.13 specific building variables -%define tde_bindir %{tde_prefix}/bin -%define tde_datadir %{tde_prefix}/share -%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/kde -%define tde_tdedocdir %{tde_docdir}/tde -%define tde_tdeincludedir %{tde_includedir}/tde -%define tde_tdelibdir %{tde_libdir}/trinity - -%define _docdir %{tde_docdir} - -Name: trinity-tdewebdev -Version: 3.5.13.2 -Release: 1%{?dist}%{?_variant} -License: GPL -Summary: Web development applications -Group: Applications/Editors - -Vendor: Trinity Project -Packager: Francois Andriot -URL: http://www.trinitydesktop.org/ - -Prefix: %{tde_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -Source0: %{name}-%{version}.tar.gz -Source1: http://download.sourceforge.net/quanta/css.tar.bz2 -Source2: http://download.sourceforge.net/quanta/html.tar.bz2 -Source3: http://download.sourceforge.net/quanta/php_manual_en_20030401.tar.bz2 -Source4: http://download.sourceforge.net/quanta/javascript.tar.bz2 -Source5: hi48-app-kxsldbg.png - -Patch1: kdewebdev-3.5.4-kxsldbg-icons.patch - -BuildRequires: autoconf automake libtool m4 -BuildRequires: desktop-file-utils -BuildRequires: trinity-tdelibs-devel >= %{version} -BuildRequires: trinity-tdesdk-devel >= %{version} -BuildRequires: libxslt-devel -BuildRequires: libxml2-devel -%if 0%{?rhel} == 4 -# a bogus dep in libexslt.la file from EL-4 (WONTFIX bug http://bugzilla.redhat.com/142241) -BuildRequires: libgcrypt-devel -%endif -BuildRequires: perl - -# KXSLDBG requires libxml2 -#if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || ( 0%{?fedora} > 0 && %{?fedora} <= 17 ) || 0%{?suse_version} -%define build_kxsldbg 1 -#endif - - -Obsoletes: trinity-kdewebdev-libs < %{version}-%{release} -Provides: trinity-kdewebdev-libs = %{version}-%{release} -Obsoletes: trinity-kdewebdev < %{version}-%{release} -Provides: trinity-kdewebdev = %{version}-%{release} - -Requires: trinity-quanta = %{version}-%{release} -Requires: trinity-quanta-data = %{version}-%{release} -Requires: trinity-kfilereplace = %{version}-%{release} -Requires: trinity-kimagemapeditor = %{version}-%{release} -Requires: trinity-klinkstatus = %{version}-%{release} -Requires: trinity-kommander = %{version}-%{release} -%{?build_kxsldbg:Requires: trinity-kxsldbg = %{version}-%{release}} - -%description -%{summary}, including: -* kfilereplace: batch search and replace tool -* kimagemapeditor: HTML image map editor -* klinkstatus: link checker -* kommander: visual dialog building tool -* quanta+: web development -%{?build_kxsldbg:* kxsldbg: xslt Debugger} - -%files - -########## - -%package -n trinity-quanta -Summary: web development environment for KDE [Trinity] -Group: Applications/Development -Requires: trinity-kfilereplace = %{version}-%{release} -Requires: trinity-klinkstatus = %{version}-%{release} -Requires: trinity-kommander = %{version}-%{release} -Requires: trinity-quanta-data = %{version}-%{release} -#Requires: trinity-kimagemapeditor = %{version}-%{release} -#Requires: trinity-kxsldbg = %{version}-%{release} -Requires: tidy - -%description -n trinity-quanta -Quanta Plus is a web development environment for working with HTML -and associated languages. It strives to be neutral and transparent -to all markup languages, while supporting popular web-based scripting -languages, CSS and other emerging W3C recommendations. - -Quanta Plus supports many external components, debuggers and other tools -for web development, several of which are shipped with the KDE web -development module. - -Quanta Plus is not in any way affiliated with any commercial versions -of Quanta. The primary coders from the original team left the GPL'd -version to produce a commercial product. - -This package is part of TDE, as a component of the TDE web development module. - -%files -n trinity-quanta -%defattr(-,root,root,-) -%{tde_bindir}/quanta -%{tde_tdelibdir}/quantadebuggerdbgp.la -%{tde_tdelibdir}/quantadebuggerdbgp.so -%{tde_tdelibdir}/quantadebuggergubed.la -%{tde_tdelibdir}/quantadebuggergubed.so -%{tde_tdeappdir}/quanta.desktop -%{tde_datadir}/apps/kafkapart -%{tde_datadir}/icons/hicolor/*/apps/quanta.png -%{tde_datadir}/mimelnk/application/x-webprj.desktop -%{tde_datadir}/services/quantadebuggerdbgp.desktop -%{tde_datadir}/services/quantadebuggergubed.desktop -%{tde_datadir}/services/quanta_preview_config.desktop -%{tde_datadir}/servicetypes/quantadebugger.desktop -%{tde_tdedocdir}/HTML/en/quanta/ - -%post -n trinity-quanta -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-quanta -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - - -########## - -%package -n trinity-quanta-data -Summary: data files for Quanta Plus web development environment [Trinity] -Group: Applications/Development - -%description -n trinity-quanta-data -This package contains architecture-independent data files for Quanta -Plus, a web development environment for working with HTML and associated -languages. - -See the quanta package for further information. - -This package is part of TDE, as a component of the TDE web development module. - -%files -n trinity-quanta-data -%defattr(-,root,root,-) -%{tde_datadir}/apps/quanta/ - -########## - -%package -n trinity-kfilereplace -Summary: batch search-and-replace component for KDE [Trinity] -Group: Applications/Development - -%description -n trinity-kfilereplace -KFileReplace is an embedded component for KDE that acts as a batch -search-and-replace tool. It allows you to replace one expression with -another in many files at once. - -Note that at the moment KFileReplace does not come as a standalone -application. An example of an application that uses the KFileReplace -component is Quanta Plus (found in the package quanta). - -This package is part of TDE, as a component of the TDE web development module. - -%files -n trinity-kfilereplace -%defattr(-,root,root,-) -%{tde_bindir}/kfilereplace -%{tde_tdelibdir}/libkfilereplacepart.la -%{tde_tdelibdir}/libkfilereplacepart.so -%{tde_tdeappdir}/kfilereplace.desktop -%{tde_datadir}/apps/kfilereplace/kfilereplaceui.rc -%{tde_datadir}/apps/kfilereplacepart -%{tde_datadir}/icons/hicolor/*/apps/kfilereplace.png -%{tde_datadir}/services/kfilereplacepart.desktop -%{tde_tdedocdir}/HTML/en/kfilereplace/ - -%post -n trinity-kfilereplace -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kfilereplace -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kimagemapeditor -Summary: HTML image map editor for KDE [Trinity] -Group: Applications/Development - -%description -n trinity-kimagemapeditor -KImageMapEditor is a tool that allows you to edit image maps in HTML -files. As well as providing a standalone application, KImageMapEditor -makes itself available as a KPart for embedding into larger applications. - -This package is part of TDE, as a component of the TDE web development module. - -%files -n trinity-kimagemapeditor -%defattr(-,root,root,-) -%{tde_bindir}/kimagemapeditor -%{tde_tdelibdir}/libkimagemapeditor.la -%{tde_tdelibdir}/libkimagemapeditor.so -%{tde_tdeappdir}/kimagemapeditor.desktop -%{tde_datadir}/apps/kimagemapeditor/ -%{tde_datadir}/icons/hicolor/*/apps/kimagemapeditor.png -%{tde_datadir}/icons/locolor/*/apps/kimagemapeditor.png -%{tde_datadir}/services/kimagemapeditorpart.desktop - -%post -n trinity-kimagemapeditor -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kimagemapeditor -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-klinkstatus -Summary: web link validity checker for KDE [Trinity] -Group: Applications/Development - -%description -n trinity-klinkstatus -KLinkStatus is KDE's web link validity checker. It allows you to -search internal and external links throughout your web site. Simply -point it to a single page and choose the depth to search. - -You can also check local files, or files over ftp:, fish: or any other -KIO protocols. For performance, links can be checked simultaneously. - -This package is part of TDE, as a component of the TDE web development module. - -%files -n trinity-klinkstatus -%defattr(-,root,root,-) -%{tde_bindir}/klinkstatus -%{tde_tdelibdir}/libklinkstatuspart.la -%{tde_tdelibdir}/libklinkstatuspart.so -%{tde_tdeappdir}/klinkstatus.desktop -%{tde_datadir}/apps/klinkstatus/ -%{tde_datadir}/apps/klinkstatuspart/ -%{tde_datadir}/config.kcfg/klinkstatus.kcfg -%{tde_datadir}/icons/crystalsvg/16x16/actions/bug.png -%{tde_datadir}/icons/hicolor/*/apps/klinkstatus.png -%{tde_datadir}/services/klinkstatus_part.desktop -%{tde_tdedocdir}/HTML/en/klinkstatus/ - -%post -n trinity-klinkstatus -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-klinkstatus -for f in crystalsvg hicolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kommander -Summary: visual dialog builder and executor tool [Trinity] -Group: Applications/Development -Requires: gettext - -%description -n trinity-kommander -Kommander is a visual dialog building tool whose primary objective is -to create as much functionality as possible without using any scripting -language. - -More specifically, Kommander is a set of tools that allow you to create -dynamic GUI dialogs that generate, based on their state, a piece of -text. The piece of text can be a command line to a program, any piece -of code, business documents that contain a lot of repetitious or -templated text and so on. - -The resulting generated text can then be executed as a command line -program (hence the name "Kommander"), written to a file, passed to a -script for extended processing, and literally anything else you can -think of. And you aren't required to write a single line of code! - -As well as building dialogs, Kommander may be expanded to create full -mainwindow applications. - -This package is part of TDE, as a component of the TDE web development module. - -%files -n trinity-kommander -%defattr(-,root,root,-) -%{tde_bindir}/kmdr-editor -%{tde_bindir}/kmdr-executor -%{tde_bindir}/kmdr-plugins -%{tde_libdir}/libkommanderplugin.so.* -%{tde_libdir}/libkommanderwidgets.la -%{tde_libdir}/libkommanderwidget.so.* -%{tde_libdir}/libkommanderwidgets.so.* -%{tde_tdeappdir}/kmdr-editor.desktop -%{tde_datadir}/applnk/.hidden/kmdr-executor.desktop -%{tde_datadir}/apps/katepart/syntax/kommander.xml -%{tde_tdedocdir}/HTML/en/kommander/ -%{tde_datadir}/icons/crystalsvg/*/apps/kommander.png -%{tde_datadir}/mimelnk/application/x-kommander.desktop -#kommander/examples /opt/trinity/share/doc/kommander -#kommander/working/extractkmdr /opt/trinity/bin -#kommander/working/kmdr2po /opt/trinity/bin -%{tde_tdelibdir}/libkommander_part.so -%{tde_tdelibdir}/libkommander_part.la -%{tde_datadir}/apps/kommander/ -%{tde_datadir}/apps/kmdr-editor/editor/ -%{tde_datadir}/apps/katepart/syntax/kommander-new.xml -%{tde_datadir}/apps/kdevappwizard/kommanderplugin.png -%{tde_datadir}/apps/kdevappwizard/kommanderplugin.tar.gz -%{tde_datadir}/apps/kdevappwizard/templates/kommanderplugin.kdevtemplate -%{tde_datadir}/services/kommander_part.desktop - -%post -n trinity-kommander -/sbin/ldconfig || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kommander -/sbin/ldconfig || : -for f in crystalsvg ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -########## - -%package -n trinity-kommander-devel -Summary: development files for Kommander [Trinity] -Group: Development/Libraries -Requires: trinity-kommander = %{version}-%{release} - -%description -n trinity-kommander-devel -This package contains the headers and other development files for -building plugins or otherwise extending Kommander. - -Kommander is a visual dialog building tool whose primary objective is -to create as much functionality as possible without using any scripting -language. - -See the kommander package for further information. - -This package is part of TDE, as a component of the TDE web development module. - -%files -n trinity-kommander-devel -%defattr(-,root,root,-) -%{tde_libdir}/libkommanderplugin.la -%{tde_libdir}/libkommanderplugin.so -%{tde_libdir}/libkommanderwidget.la -%{tde_libdir}/libkommanderwidget.so -%{tde_libdir}/libkommanderwidgets.so -%{tde_tdeincludedir}/kommander* -%{tde_tdeincludedir}/specials.h - -%post -n trinity-kommander-devel -/sbin/ldconfig || : - -%postun -n trinity-kommander-devel -/sbin/ldconfig || : - -########## - -%if 0%{?build_kxsldbg} - -%package -n trinity-kxsldbg -Summary: graphical XSLT debugger for KDE [Trinity] -Group: Applications/Development - -%description -n trinity-kxsldbg -KXSLDbg is a debugger for XSLT scripts. It includes a graphical user -interface as well as a text-based debugger. KXSLDbg can be run as a -standalone application or as an embedded KDE part. - -XSLT is an XML language for defining transformations of XML files from -XML to some other arbitrary format, such as XML, HTML, plain text, etc., -using standard XSLT stylesheets. - -This package is part of TDE, as a component of the TDE web development module. - -%files -n trinity-kxsldbg -%defattr(-,root,root,-) -%{tde_bindir}/kxsldbg -%{tde_bindir}/xsldbg -%{tde_tdelibdir}/libkxsldbgpart.la -%{tde_tdelibdir}/libkxsldbgpart.so -%{tde_tdeappdir}/kxsldbg.desktop -%{tde_datadir}/apps/kxsldbg -%{tde_datadir}/apps/kxsldbgpart -%{tde_tdedocdir}/HTML/en/kxsldbg/ -%{tde_tdedocdir}/HTML/en/xsldbg/ -%{tde_datadir}/icons/hicolor/*/actions/1downarrow.png -%{tde_datadir}/icons/hicolor/*/actions/configure.png -%{tde_datadir}/icons/hicolor/*/actions/exit.png -%{tde_datadir}/icons/hicolor/*/actions/hash.png -%{tde_datadir}/icons/hicolor/*/actions/mark.png -%{tde_datadir}/icons/hicolor/*/actions/next.png -%{tde_datadir}/icons/hicolor/*/actions/run.png -%{tde_datadir}/icons/hicolor/*/actions/step.png -%{tde_datadir}/icons/hicolor/*/actions/xsldbg_*.png -%{tde_datadir}/icons/hicolor/*/apps/kxsldbg.png -%{tde_datadir}/icons/locolor/*/apps/kxsldbg.png -%{tde_datadir}/services/kxsldbg_part.desktop - -%post -n trinity-kxsldbg -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -n trinity-kxsldbg -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%endif - -########## - -%package devel -Group: Development/Libraries -Summary: Header files and documentation for %{name} - -Obsoletes: trinity-kdewebdev-devel < %{version}-%{release} -Provides: trinity-kdewebdev-devel = %{version}-%{release} - -Requires: trinity-tdelibs-devel -Requires: trinity-kommander-devel = %{version}-%{release} - -%description devel -%{summary}. - -%files devel - -########## - -%if 0%{?suse_version} || 0%{?pclinuxos} -%debug_package -%endif - -########## - -%prep -%setup -q -a 1 -a 2 -a 3 -a 4 -%patch1 -p1 -b .kxsldbg-icons - -%__install -m644 -p %{SOURCE5} kxsldbg/ -%if 0%{?build_kxsldbg} == 0 -%__rm -rf kxsldbg/ doc/kxsldbg/ doc/xsldbg/ -%endif - -# Ugly hack to modify TQT include directory inside autoconf files. -# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 ! -%__sed -i "admin/acinclude.m4.in" \ - -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \ - -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g" - -%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in" -%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh" -%__make -f "admin/Makefile.common" - -%build -unset QTDIR || : ; source /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" - -# Do not build against any "/usr" installed KDE -export KDEDIR="%{tde_prefix}" - -# Specific path for RHEL4 -if [ -d "/usr/X11R6" ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" -fi - -%configure \ - --prefix=%{tde_prefix} \ - --exec-prefix=%{tde_prefix} \ - --bindir=%{tde_bindir} \ - --datadir=%{tde_datadir} \ - --libdir=%{tde_libdir} \ - --includedir=%{tde_tdeincludedir} \ - --disable-rpath \ - --enable-new-ldflags \ - --enable-closure \ - --disable-debug --disable-warnings \ - --disable-dependancy-tracking --enable-final \ - --with-extra-includes=%{tde_includedir}/tqt \ - -# WTF hack for RHEL4 -%if 0%{?rhel} == 4 -mkdir kommander/plugin/.libs/ -ln -s . kommander/plugin/.libs/.libs -%endif - -%__make %{?_smp_mflags} || %__make - - -%install -export PATH="%{tde_bindir}:${PATH}" -%__rm -rf %{?buildroot} -%__make install DESTDIR=%{?buildroot} - - -## package separately? Why doesn't upstream include this? -- Rex -# install docs -for i in css html javascript ; do - pushd $i - ./install.sh < - 3.5.13.2-1 -- Initial release for TDE 3.5.13.2 -- cgit v1.2.1